From 5bc8f2a8e36354168bd0c14b5bda3462f4a7d04b Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 20 Sep 2024 15:53:30 +0300 Subject: [PATCH] Refactor #6435 - pcInput --- packages/primevue/src/autocomplete/AutoComplete.d.ts | 2 +- packages/primevue/src/autocomplete/AutoComplete.vue | 4 ++-- packages/primevue/src/autocomplete/style/AutoCompleteStyle.js | 2 +- packages/primevue/src/datepicker/DatePicker.d.ts | 2 +- packages/primevue/src/datepicker/DatePicker.vue | 4 ++-- packages/primevue/src/datepicker/style/DatePickerStyle.js | 2 +- packages/primevue/src/inputnumber/InputNumber.d.ts | 2 +- packages/primevue/src/inputnumber/InputNumber.vue | 4 ++-- packages/primevue/src/inputnumber/style/InputNumberStyle.js | 2 +- packages/primevue/src/inputotp/InputOtp.d.ts | 2 +- packages/primevue/src/inputotp/InputOtp.vue | 4 ++-- packages/primevue/src/inputotp/style/InputOtpStyle.js | 2 +- packages/primevue/src/password/Password.d.ts | 2 +- packages/primevue/src/password/Password.vue | 4 ++-- packages/primevue/src/password/style/PasswordStyle.js | 2 +- 15 files changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/primevue/src/autocomplete/AutoComplete.d.ts b/packages/primevue/src/autocomplete/AutoComplete.d.ts index 5d480acb1..2265ed9fb 100755 --- a/packages/primevue/src/autocomplete/AutoComplete.d.ts +++ b/packages/primevue/src/autocomplete/AutoComplete.d.ts @@ -147,7 +147,7 @@ export interface AutoCompletePassThroughOptions { * Used to pass attributes to the InputText component. * @see {@link InputTextPassThroughOptions} */ - pcInput?: InputTextPassThroughOptions; + pcInputText?: InputTextPassThroughOptions; /** * Used to pass attributes to the input multiple's DOM element. */ diff --git a/packages/primevue/src/autocomplete/AutoComplete.vue b/packages/primevue/src/autocomplete/AutoComplete.vue index 40cad385d..302aaea5a 100755 --- a/packages/primevue/src/autocomplete/AutoComplete.vue +++ b/packages/primevue/src/autocomplete/AutoComplete.vue @@ -5,7 +5,7 @@ ref="focusInput" :id="inputId" type="text" - :class="[cx('pcInput'), inputClass]" + :class="[cx('pcInputText'), inputClass]" :style="inputStyle" :value="inputValue" :placeholder="placeholder" @@ -29,7 +29,7 @@ @input="onInput" @change="onChange" :unstyled="unstyled" - :pt="ptm('pcInput')" + :pt="ptm('pcInputText')" />
    [ 'p-autocomplete-input-multiple', { diff --git a/packages/primevue/src/datepicker/DatePicker.d.ts b/packages/primevue/src/datepicker/DatePicker.d.ts index ae258ceaf..6a2739bca 100755 --- a/packages/primevue/src/datepicker/DatePicker.d.ts +++ b/packages/primevue/src/datepicker/DatePicker.d.ts @@ -138,7 +138,7 @@ export interface DatePickerPassThroughOptions { * Used to pass attributes to the InputText component. * @see {@link InputTextPassThroughOptions} */ - pcInput?: InputTextPassThroughOptions; + pcInputText?: InputTextPassThroughOptions; /** * Used to pass attributes to the dropdown's DOM element. */ diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index 9c04e5ae4..740dbc687 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -5,7 +5,7 @@ :ref="inputRef" :id="inputId" role="combobox" - :class="[inputClass, cx('pcInput')]" + :class="[inputClass, cx('pcInputText')]" :style="inputStyle" :value="inputFieldValue" :placeholder="placeholder" @@ -30,7 +30,7 @@ @focus="onFocus" @blur="onBlur" @keydown="onKeyDown" - :pt="ptm('pcInput')" + :pt="ptm('pcInputText')" />