@element-plus/nightly 0.0.20231218 → 0.0.20231221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +15 -7
- package/dist/index.full.min.js +19 -19
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +3 -3
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +15 -7
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +96 -0
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +96 -0
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +21 -54
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +54 -21
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +192 -0
- package/es/components/cascader/src/cascader.vue.d.ts +96 -0
- package/es/components/color-picker/index.d.ts +36 -0
- package/es/components/color-picker/src/color-picker.vue.d.ts +36 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +36 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -0
- package/es/components/date-picker/src/panel-utils.d.ts +72 -0
- package/es/components/index.mjs +5 -5
- package/es/components/input/index.d.ts +36 -0
- package/es/components/input/src/input.d.ts +12 -0
- package/es/components/input/src/input.mjs +6 -0
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +36 -0
- package/es/components/input/src/input2.mjs +7 -5
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +96 -0
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.mjs +313 -58
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +96 -0
- package/es/components/input-number/src/input-number2.mjs +58 -313
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +36 -0
- package/es/components/slider/index.d.ts +96 -0
- package/es/components/slider/src/button.mjs +21 -93
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button2.mjs +93 -21
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +96 -0
- package/es/components/slider/src/slider2.mjs +1 -1
- package/es/components/tabs/index.mjs +2 -2
- package/es/components/tabs/src/tab-pane.mjs +72 -13
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane2.mjs +13 -72
- package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +36 -0
- package/es/components/timeline/index.mjs +2 -2
- package/es/components/timeline/src/timeline-item.mjs +72 -42
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +42 -72
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/transfer/index.d.ts +180 -0
- package/es/components/transfer/src/transfer-panel.vue.d.ts +36 -0
- package/es/components/transfer/src/transfer.vue.d.ts +180 -0
- package/es/components/watermark/index.mjs +2 -2
- package/es/components/watermark/src/watermark.mjs +28 -209
- package/es/components/watermark/src/watermark.mjs.map +1 -1
- package/es/components/watermark/src/watermark2.mjs +209 -28
- package/es/components/watermark/src/watermark2.mjs.map +1 -1
- package/es/index.mjs +5 -5
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +96 -0
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +96 -0
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +22 -54
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +54 -22
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +192 -0
- package/lib/components/cascader/src/cascader.vue.d.ts +96 -0
- package/lib/components/color-picker/index.d.ts +36 -0
- package/lib/components/color-picker/src/color-picker.vue.d.ts +36 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +36 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +72 -0
- package/lib/components/index.js +5 -5
- package/lib/components/input/index.d.ts +36 -0
- package/lib/components/input/src/input.d.ts +12 -0
- package/lib/components/input/src/input.js +6 -0
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +36 -0
- package/lib/components/input/src/input2.js +7 -5
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +96 -0
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.js +311 -57
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +96 -0
- package/lib/components/input-number/src/input-number2.js +57 -311
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +36 -0
- package/lib/components/slider/index.d.ts +96 -0
- package/lib/components/slider/src/button.js +22 -93
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button2.js +93 -22
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +96 -0
- package/lib/components/slider/src/slider2.js +1 -1
- package/lib/components/tabs/index.js +2 -2
- package/lib/components/tabs/src/tab-pane.js +72 -13
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tab-pane2.js +13 -72
- package/lib/components/tabs/src/tab-pane2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +36 -0
- package/lib/components/timeline/index.js +2 -2
- package/lib/components/timeline/src/timeline-item.js +72 -42
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +42 -72
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/transfer/index.d.ts +180 -0
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +36 -0
- package/lib/components/transfer/src/transfer.vue.d.ts +180 -0
- package/lib/components/watermark/index.js +2 -2
- package/lib/components/watermark/src/watermark.js +28 -209
- package/lib/components/watermark/src/watermark.js.map +1 -1
- package/lib/components/watermark/src/watermark2.js +209 -28
- package/lib/components/watermark/src/watermark2.js.map +1 -1
- package/lib/index.js +5 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-image-viewer.css +1 -1
- package/theme-chalk/el-message-box.css +1 -1
- package/theme-chalk/el-message.css +1 -1
- package/theme-chalk/el-notification.css +1 -1
- package/theme-chalk/el-popover.css +1 -1
- package/theme-chalk/el-popper.css +1 -1
- package/theme-chalk/el-step.css +1 -1
- package/theme-chalk/el-table-v2.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-text.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/date-picker/picker.scss +1 -1
- package/theme-chalk/src/image-viewer.scss +0 -1
- package/theme-chalk/src/message-box.scss +1 -1
- package/theme-chalk/src/message.scss +1 -1
- package/theme-chalk/src/notification.scss +1 -2
- package/theme-chalk/src/popover.scss +1 -2
- package/theme-chalk/src/popper.scss +1 -1
- package/theme-chalk/src/step.scss +1 -1
- package/theme-chalk/src/table-v2.scss +1 -1
- package/theme-chalk/src/table.scss +1 -1
- package/theme-chalk/src/text.scss +1 -1
- package/web-types.json +1 -1
|
@@ -512,6 +512,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
512
512
|
};
|
|
513
513
|
readonly disabled: BooleanConstructor;
|
|
514
514
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
515
|
+
readonly maxlength: {
|
|
516
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
517
|
+
readonly required: false;
|
|
518
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
519
|
+
__epPropKey: true;
|
|
520
|
+
};
|
|
521
|
+
readonly minlength: {
|
|
522
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
523
|
+
readonly required: false;
|
|
524
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
525
|
+
__epPropKey: true;
|
|
526
|
+
};
|
|
515
527
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
516
528
|
readonly resize: {
|
|
517
529
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -578,6 +590,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
578
590
|
};
|
|
579
591
|
readonly disabled: BooleanConstructor;
|
|
580
592
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
593
|
+
readonly maxlength: {
|
|
594
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
595
|
+
readonly required: false;
|
|
596
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
597
|
+
__epPropKey: true;
|
|
598
|
+
};
|
|
599
|
+
readonly minlength: {
|
|
600
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
601
|
+
readonly required: false;
|
|
602
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
603
|
+
__epPropKey: true;
|
|
604
|
+
};
|
|
581
605
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
582
606
|
readonly resize: {
|
|
583
607
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -831,6 +855,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
831
855
|
};
|
|
832
856
|
readonly disabled: BooleanConstructor;
|
|
833
857
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
858
|
+
readonly maxlength: {
|
|
859
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
860
|
+
readonly required: false;
|
|
861
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
862
|
+
__epPropKey: true;
|
|
863
|
+
};
|
|
864
|
+
readonly minlength: {
|
|
865
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
866
|
+
readonly required: false;
|
|
867
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
868
|
+
__epPropKey: true;
|
|
869
|
+
};
|
|
834
870
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
835
871
|
readonly resize: {
|
|
836
872
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -637,6 +637,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
637
637
|
};
|
|
638
638
|
readonly disabled: BooleanConstructor;
|
|
639
639
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
640
|
+
readonly maxlength: {
|
|
641
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
642
|
+
readonly required: false;
|
|
643
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
644
|
+
__epPropKey: true;
|
|
645
|
+
};
|
|
646
|
+
readonly minlength: {
|
|
647
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
648
|
+
readonly required: false;
|
|
649
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
650
|
+
__epPropKey: true;
|
|
651
|
+
};
|
|
640
652
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
641
653
|
readonly resize: {
|
|
642
654
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -703,6 +715,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
703
715
|
};
|
|
704
716
|
readonly disabled: BooleanConstructor;
|
|
705
717
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
718
|
+
readonly maxlength: {
|
|
719
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
720
|
+
readonly required: false;
|
|
721
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
722
|
+
__epPropKey: true;
|
|
723
|
+
};
|
|
724
|
+
readonly minlength: {
|
|
725
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
726
|
+
readonly required: false;
|
|
727
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
728
|
+
__epPropKey: true;
|
|
729
|
+
};
|
|
706
730
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
707
731
|
readonly resize: {
|
|
708
732
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -956,6 +980,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
956
980
|
};
|
|
957
981
|
readonly disabled: BooleanConstructor;
|
|
958
982
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
983
|
+
readonly maxlength: {
|
|
984
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
985
|
+
readonly required: false;
|
|
986
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
987
|
+
__epPropKey: true;
|
|
988
|
+
};
|
|
989
|
+
readonly minlength: {
|
|
990
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
991
|
+
readonly required: false;
|
|
992
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
993
|
+
__epPropKey: true;
|
|
994
|
+
};
|
|
959
995
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
960
996
|
readonly resize: {
|
|
961
997
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -635,6 +635,18 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
635
635
|
};
|
|
636
636
|
readonly disabled: BooleanConstructor;
|
|
637
637
|
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
638
|
+
readonly maxlength: {
|
|
639
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
640
|
+
readonly required: false;
|
|
641
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
642
|
+
__epPropKey: true;
|
|
643
|
+
};
|
|
644
|
+
readonly minlength: {
|
|
645
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
646
|
+
readonly required: false;
|
|
647
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
648
|
+
__epPropKey: true;
|
|
649
|
+
};
|
|
638
650
|
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
639
651
|
readonly resize: {
|
|
640
652
|
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -701,6 +713,18 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
701
713
|
};
|
|
702
714
|
readonly disabled: BooleanConstructor;
|
|
703
715
|
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
716
|
+
readonly maxlength: {
|
|
717
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
718
|
+
readonly required: false;
|
|
719
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
720
|
+
__epPropKey: true;
|
|
721
|
+
};
|
|
722
|
+
readonly minlength: {
|
|
723
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
724
|
+
readonly required: false;
|
|
725
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
726
|
+
__epPropKey: true;
|
|
727
|
+
};
|
|
704
728
|
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
705
729
|
readonly resize: {
|
|
706
730
|
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -954,6 +978,18 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
954
978
|
};
|
|
955
979
|
readonly disabled: BooleanConstructor;
|
|
956
980
|
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
981
|
+
readonly maxlength: {
|
|
982
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
983
|
+
readonly required: false;
|
|
984
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
985
|
+
__epPropKey: true;
|
|
986
|
+
};
|
|
987
|
+
readonly minlength: {
|
|
988
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
989
|
+
readonly required: false;
|
|
990
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
991
|
+
__epPropKey: true;
|
|
992
|
+
};
|
|
957
993
|
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
958
994
|
readonly resize: {
|
|
959
995
|
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -9272,6 +9308,18 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
9272
9308
|
};
|
|
9273
9309
|
readonly disabled: BooleanConstructor;
|
|
9274
9310
|
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
9311
|
+
readonly maxlength: {
|
|
9312
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
9313
|
+
readonly required: false;
|
|
9314
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9315
|
+
__epPropKey: true;
|
|
9316
|
+
};
|
|
9317
|
+
readonly minlength: {
|
|
9318
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
9319
|
+
readonly required: false;
|
|
9320
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9321
|
+
__epPropKey: true;
|
|
9322
|
+
};
|
|
9275
9323
|
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
9276
9324
|
readonly resize: {
|
|
9277
9325
|
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -9338,6 +9386,18 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
9338
9386
|
};
|
|
9339
9387
|
readonly disabled: BooleanConstructor;
|
|
9340
9388
|
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
9389
|
+
readonly maxlength: {
|
|
9390
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
9391
|
+
readonly required: false;
|
|
9392
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9393
|
+
__epPropKey: true;
|
|
9394
|
+
};
|
|
9395
|
+
readonly minlength: {
|
|
9396
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
9397
|
+
readonly required: false;
|
|
9398
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9399
|
+
__epPropKey: true;
|
|
9400
|
+
};
|
|
9341
9401
|
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
9342
9402
|
readonly resize: {
|
|
9343
9403
|
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -9591,6 +9651,18 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
9591
9651
|
};
|
|
9592
9652
|
readonly disabled: BooleanConstructor;
|
|
9593
9653
|
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
9654
|
+
readonly maxlength: {
|
|
9655
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
9656
|
+
readonly required: false;
|
|
9657
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9658
|
+
__epPropKey: true;
|
|
9659
|
+
};
|
|
9660
|
+
readonly minlength: {
|
|
9661
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
9662
|
+
readonly required: false;
|
|
9663
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9664
|
+
__epPropKey: true;
|
|
9665
|
+
};
|
|
9594
9666
|
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
9595
9667
|
readonly resize: {
|
|
9596
9668
|
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
package/es/components/index.mjs
CHANGED
|
@@ -80,7 +80,7 @@ export { affixEmits, affixProps } from './affix/src/affix.mjs';
|
|
|
80
80
|
export { alertEffects, alertEmits, alertProps } from './alert/src/alert.mjs';
|
|
81
81
|
export { autocompleteEmits, autocompleteProps } from './autocomplete/src/autocomplete.mjs';
|
|
82
82
|
export { avatarEmits, avatarProps } from './avatar/src/avatar.mjs';
|
|
83
|
-
export { backtopEmits, backtopProps } from './backtop/src/
|
|
83
|
+
export { backtopEmits, backtopProps } from './backtop/src/backtop.mjs';
|
|
84
84
|
export { badgeProps } from './badge/src/badge.mjs';
|
|
85
85
|
export { breadcrumbProps } from './breadcrumb/src/breadcrumb.mjs';
|
|
86
86
|
export { breadcrumbItemProps } from './breadcrumb/src/breadcrumb-item.mjs';
|
|
@@ -129,7 +129,7 @@ export { iconProps } from './icon/src/icon.mjs';
|
|
|
129
129
|
export { imageEmits, imageProps } from './image/src/image.mjs';
|
|
130
130
|
export { imageViewerEmits, imageViewerProps } from './image-viewer/src/image-viewer.mjs';
|
|
131
131
|
export { inputEmits, inputProps } from './input/src/input.mjs';
|
|
132
|
-
export { inputNumberEmits, inputNumberProps } from './input-number/src/input-
|
|
132
|
+
export { inputNumberEmits, inputNumberProps } from './input-number/src/input-number2.mjs';
|
|
133
133
|
export { linkEmits, linkProps } from './link/src/link.mjs';
|
|
134
134
|
export { menuEmits, menuProps } from './menu/src/menu.mjs';
|
|
135
135
|
export { menuItemEmits, menuItemProps } from './menu/src/menu-item.mjs';
|
|
@@ -182,7 +182,7 @@ export { tableV2RowProps } from './table-v2/src/row.mjs';
|
|
|
182
182
|
export { tabsEmits, tabsProps } from './tabs/src/tabs.mjs';
|
|
183
183
|
export { tabBarProps } from './tabs/src/tab-bar.mjs';
|
|
184
184
|
export { tabNavEmits, tabNavProps } from './tabs/src/tab-nav.mjs';
|
|
185
|
-
export { tabPaneProps } from './tabs/src/tab-
|
|
185
|
+
export { tabPaneProps } from './tabs/src/tab-pane2.mjs';
|
|
186
186
|
export { tabsRootContextKey } from './tabs/src/constants.mjs';
|
|
187
187
|
export { tagEmits, tagProps } from './tag/src/tag.mjs';
|
|
188
188
|
export { textProps } from './text/src/text.mjs';
|
|
@@ -191,7 +191,7 @@ export { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME,
|
|
|
191
191
|
export { timePickerDefaultProps } from './time-picker/src/common/props.mjs';
|
|
192
192
|
export { default as CommonPicker } from './time-picker/src/common/picker.mjs';
|
|
193
193
|
export { default as TimePickPanel } from './time-picker/src/time-picker-com/panel-time-pick.mjs';
|
|
194
|
-
export { timelineItemProps } from './timeline/src/timeline-
|
|
194
|
+
export { timelineItemProps } from './timeline/src/timeline-item2.mjs';
|
|
195
195
|
export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './tooltip/src/tooltip.mjs';
|
|
196
196
|
export { useTooltipTriggerProps } from './tooltip/src/trigger.mjs';
|
|
197
197
|
export { useTooltipContentProps } from './tooltip/src/content.mjs';
|
|
@@ -207,7 +207,7 @@ export { default as DynamicSizeList } from './virtual-list/src/components/dynami
|
|
|
207
207
|
export { default as FixedSizeGrid } from './virtual-list/src/components/fixed-size-grid.mjs';
|
|
208
208
|
export { default as DynamicSizeGrid } from './virtual-list/src/components/dynamic-size-grid.mjs';
|
|
209
209
|
export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps } from './virtual-list/src/props.mjs';
|
|
210
|
-
export { watermarkProps } from './watermark/src/
|
|
210
|
+
export { watermarkProps } from './watermark/src/watermark.mjs';
|
|
211
211
|
export { vLoading as ElLoadingDirective, vLoading } from './loading/src/directive.mjs';
|
|
212
212
|
export { Loading as ElLoadingService } from './loading/src/service.mjs';
|
|
213
213
|
export { messageDefaults, messageEmits, messageProps, messageTypes } from './message/src/message.mjs';
|
|
@@ -8,6 +8,18 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
8
8
|
};
|
|
9
9
|
readonly disabled: BooleanConstructor;
|
|
10
10
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
11
|
+
readonly maxlength: {
|
|
12
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
13
|
+
readonly required: false;
|
|
14
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
|
+
__epPropKey: true;
|
|
16
|
+
};
|
|
17
|
+
readonly minlength: {
|
|
18
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
};
|
|
11
23
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
12
24
|
readonly resize: {
|
|
13
25
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -74,6 +86,18 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
74
86
|
};
|
|
75
87
|
readonly disabled: BooleanConstructor;
|
|
76
88
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
89
|
+
readonly maxlength: {
|
|
90
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
};
|
|
95
|
+
readonly minlength: {
|
|
96
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
};
|
|
77
101
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
78
102
|
readonly resize: {
|
|
79
103
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -327,6 +351,18 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
327
351
|
};
|
|
328
352
|
readonly disabled: BooleanConstructor;
|
|
329
353
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
354
|
+
readonly maxlength: {
|
|
355
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
356
|
+
readonly required: false;
|
|
357
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
358
|
+
__epPropKey: true;
|
|
359
|
+
};
|
|
360
|
+
readonly minlength: {
|
|
361
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
362
|
+
readonly required: false;
|
|
363
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
364
|
+
__epPropKey: true;
|
|
365
|
+
};
|
|
330
366
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
331
367
|
readonly resize: {
|
|
332
368
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -14,6 +14,18 @@ export declare const inputProps: {
|
|
|
14
14
|
};
|
|
15
15
|
readonly disabled: BooleanConstructor;
|
|
16
16
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
17
|
+
readonly maxlength: {
|
|
18
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
};
|
|
23
|
+
readonly minlength: {
|
|
24
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
25
|
+
readonly required: false;
|
|
26
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
+
__epPropKey: true;
|
|
28
|
+
};
|
|
17
29
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
18
30
|
readonly resize: {
|
|
19
31
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.mjs","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { isString } from '@vue/shared'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n mutable,\n} from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { useSizeProp } from '@element-plus/hooks'\nimport type Input from './input.vue'\nimport type { ExtractPropTypes, StyleValue } from 'vue'\n\nexport type InputAutoSize = { minRows?: number; maxRows?: number } | boolean\n\nexport const inputProps = buildProps({\n /**\n * @description native input id\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description input box size\n */\n size: useSizeProp,\n /**\n * @description whether to disable\n */\n disabled: Boolean,\n /**\n * @description binding value\n */\n modelValue: {\n type: definePropType<string | number | null | undefined>([\n String,\n Number,\n Object,\n ]),\n default: '',\n },\n /**\n * @description type of input\n */\n type: {\n type: String,\n default: 'text',\n },\n /**\n * @description control the resizability\n */\n resize: {\n type: String,\n values: ['none', 'both', 'horizontal', 'vertical'],\n },\n /**\n * @description whether textarea has an adaptive height\n */\n autosize: {\n type: definePropType<InputAutoSize>([Boolean, Object]),\n default: false,\n },\n /**\n * @description native input autocomplete\n */\n autocomplete: {\n type: String,\n default: 'off',\n },\n /**\n * @description format content\n */\n formatter: {\n type: Function,\n },\n /**\n * @description parse content\n */\n parser: {\n type: Function,\n },\n /**\n * @description placeholder\n */\n placeholder: {\n type: String,\n },\n /**\n * @description native input form\n */\n form: {\n type: String,\n },\n /**\n * @description native input readonly\n */\n readonly: {\n type: Boolean,\n default: false,\n },\n /**\n * @description native input readonly\n */\n clearable: {\n type: Boolean,\n default: false,\n },\n /**\n * @description toggleable password input\n */\n showPassword: {\n type: Boolean,\n default: false,\n },\n /**\n * @description word count\n */\n showWordLimit: {\n type: Boolean,\n default: false,\n },\n /**\n * @description suffix icon\n */\n suffixIcon: {\n type: iconPropType,\n },\n /**\n * @description prefix icon\n */\n prefixIcon: {\n type: iconPropType,\n },\n /**\n * @description container role, internal properties provided for use by the picker component\n */\n containerRole: {\n type: String,\n default: undefined,\n },\n /**\n * @description native input aria-label\n */\n label: {\n type: String,\n default: undefined,\n },\n /**\n * @description input tabindex\n */\n tabindex: {\n type: [String, Number],\n default: 0,\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description input or textarea element style\n */\n inputStyle: {\n type: definePropType<StyleValue>([Object, Array, String]),\n default: () => mutable({} as const),\n },\n /**\n * @description native input autofocus\n */\n autofocus: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type InputProps = ExtractPropTypes<typeof inputProps>\n\nexport const inputEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n input: (value: string) => isString(value),\n change: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n mouseleave: (evt: MouseEvent) => evt instanceof MouseEvent,\n mouseenter: (evt: MouseEvent) => evt instanceof MouseEvent,\n // NOTE: when autofill by browser, the keydown event is instanceof Event, not KeyboardEvent\n // relative bug report https://github.com/element-plus/element-plus/issues/6665\n keydown: (evt: KeyboardEvent | Event) => evt instanceof Event,\n compositionstart: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionupdate: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionend: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n}\nexport type InputEmits = typeof inputEmits\n\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"input.mjs","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { isString } from '@vue/shared'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n mutable,\n} from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { useSizeProp } from '@element-plus/hooks'\nimport type Input from './input.vue'\nimport type { ExtractPropTypes, StyleValue } from 'vue'\n\nexport type InputAutoSize = { minRows?: number; maxRows?: number } | boolean\n\nexport const inputProps = buildProps({\n /**\n * @description native input id\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description input box size\n */\n size: useSizeProp,\n /**\n * @description whether to disable\n */\n disabled: Boolean,\n /**\n * @description binding value\n */\n modelValue: {\n type: definePropType<string | number | null | undefined>([\n String,\n Number,\n Object,\n ]),\n default: '',\n },\n /**\n * @description same as `maxlength` in native input\n */\n maxlength: {\n type: [String, Number],\n },\n /**\n * @description same as `minlength` in native input\n */\n minlength: {\n type: [String, Number],\n },\n /**\n * @description type of input\n */\n type: {\n type: String,\n default: 'text',\n },\n /**\n * @description control the resizability\n */\n resize: {\n type: String,\n values: ['none', 'both', 'horizontal', 'vertical'],\n },\n /**\n * @description whether textarea has an adaptive height\n */\n autosize: {\n type: definePropType<InputAutoSize>([Boolean, Object]),\n default: false,\n },\n /**\n * @description native input autocomplete\n */\n autocomplete: {\n type: String,\n default: 'off',\n },\n /**\n * @description format content\n */\n formatter: {\n type: Function,\n },\n /**\n * @description parse content\n */\n parser: {\n type: Function,\n },\n /**\n * @description placeholder\n */\n placeholder: {\n type: String,\n },\n /**\n * @description native input form\n */\n form: {\n type: String,\n },\n /**\n * @description native input readonly\n */\n readonly: {\n type: Boolean,\n default: false,\n },\n /**\n * @description native input readonly\n */\n clearable: {\n type: Boolean,\n default: false,\n },\n /**\n * @description toggleable password input\n */\n showPassword: {\n type: Boolean,\n default: false,\n },\n /**\n * @description word count\n */\n showWordLimit: {\n type: Boolean,\n default: false,\n },\n /**\n * @description suffix icon\n */\n suffixIcon: {\n type: iconPropType,\n },\n /**\n * @description prefix icon\n */\n prefixIcon: {\n type: iconPropType,\n },\n /**\n * @description container role, internal properties provided for use by the picker component\n */\n containerRole: {\n type: String,\n default: undefined,\n },\n /**\n * @description native input aria-label\n */\n label: {\n type: String,\n default: undefined,\n },\n /**\n * @description input tabindex\n */\n tabindex: {\n type: [String, Number],\n default: 0,\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description input or textarea element style\n */\n inputStyle: {\n type: definePropType<StyleValue>([Object, Array, String]),\n default: () => mutable({} as const),\n },\n /**\n * @description native input autofocus\n */\n autofocus: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type InputProps = ExtractPropTypes<typeof inputProps>\n\nexport const inputEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n input: (value: string) => isString(value),\n change: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n mouseleave: (evt: MouseEvent) => evt instanceof MouseEvent,\n mouseenter: (evt: MouseEvent) => evt instanceof MouseEvent,\n // NOTE: when autofill by browser, the keydown event is instanceof Event, not KeyboardEvent\n // relative bug report https://github.com/element-plus/element-plus/issues/6665\n keydown: (evt: KeyboardEvent | Event) => evt instanceof Event,\n compositionstart: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionupdate: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionend: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n}\nexport type InputEmits = typeof inputEmits\n\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":[],"mappings":"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"}
|
|
@@ -9,6 +9,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
readonly disabled: BooleanConstructor;
|
|
11
11
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
12
|
+
readonly maxlength: {
|
|
13
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
14
|
+
readonly required: false;
|
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
|
+
__epPropKey: true;
|
|
17
|
+
};
|
|
18
|
+
readonly minlength: {
|
|
19
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
};
|
|
12
24
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
13
25
|
readonly resize: {
|
|
14
26
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -75,6 +87,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
87
|
};
|
|
76
88
|
readonly disabled: BooleanConstructor;
|
|
77
89
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
90
|
+
readonly maxlength: {
|
|
91
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
92
|
+
readonly required: false;
|
|
93
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
|
+
__epPropKey: true;
|
|
95
|
+
};
|
|
96
|
+
readonly minlength: {
|
|
97
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
98
|
+
readonly required: false;
|
|
99
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
|
+
__epPropKey: true;
|
|
101
|
+
};
|
|
78
102
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
79
103
|
readonly resize: {
|
|
80
104
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -328,6 +352,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
328
352
|
};
|
|
329
353
|
readonly disabled: BooleanConstructor;
|
|
330
354
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
355
|
+
readonly maxlength: {
|
|
356
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
357
|
+
readonly required: false;
|
|
358
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
359
|
+
__epPropKey: true;
|
|
360
|
+
};
|
|
361
|
+
readonly minlength: {
|
|
362
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
363
|
+
readonly required: false;
|
|
364
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
365
|
+
__epPropKey: true;
|
|
366
|
+
};
|
|
331
367
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
332
368
|
readonly resize: {
|
|
333
369
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -23,7 +23,7 @@ import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
|
|
23
23
|
import { isKorean } from '../../../utils/i18n.mjs';
|
|
24
24
|
|
|
25
25
|
const _hoisted_1 = ["role"];
|
|
26
|
-
const _hoisted_2 = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
|
|
26
|
+
const _hoisted_2 = ["id", "minlength", "maxlength", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
|
|
27
27
|
const _hoisted_3 = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
|
|
28
28
|
const __default__ = defineComponent({
|
|
29
29
|
name: "ElInput",
|
|
@@ -112,9 +112,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
112
|
const nativeInputValue = computed(() => isNil(props.modelValue) ? "" : String(props.modelValue));
|
|
113
113
|
const showClear = computed(() => props.clearable && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (isFocused.value || hovering.value));
|
|
114
114
|
const showPwdVisible = computed(() => props.showPassword && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (!!nativeInputValue.value || isFocused.value));
|
|
115
|
-
const isWordLimitVisible = computed(() => props.showWordLimit && !!
|
|
115
|
+
const isWordLimitVisible = computed(() => props.showWordLimit && !!props.maxlength && (props.type === "text" || props.type === "textarea") && !inputDisabled.value && !props.readonly && !props.showPassword);
|
|
116
116
|
const textLength = computed(() => nativeInputValue.value.length);
|
|
117
|
-
const inputExceed = computed(() => !!isWordLimitVisible.value && textLength.value > Number(
|
|
117
|
+
const inputExceed = computed(() => !!isWordLimitVisible.value && textLength.value > Number(props.maxlength));
|
|
118
118
|
const suffixVisible = computed(() => !!slots.suffix || !!props.suffixIcon || showClear.value || props.showPassword || isWordLimitVisible.value || !!validateState.value && needStatusIcon.value);
|
|
119
119
|
const [recordCursor, setCursor] = useCursor(input);
|
|
120
120
|
useResizeObserver(textarea, (entries) => {
|
|
@@ -323,6 +323,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
323
323
|
ref: input,
|
|
324
324
|
class: unref(nsInput).e("inner")
|
|
325
325
|
}, unref(attrs), {
|
|
326
|
+
minlength: _ctx.minlength,
|
|
327
|
+
maxlength: _ctx.maxlength,
|
|
326
328
|
type: _ctx.showPassword ? passwordVisible.value ? "text" : "password" : _ctx.type,
|
|
327
329
|
disabled: unref(inputDisabled),
|
|
328
330
|
formatter: _ctx.formatter,
|
|
@@ -391,7 +393,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
391
393
|
}, [
|
|
392
394
|
createElementVNode("span", {
|
|
393
395
|
class: normalizeClass(unref(nsInput).e("count-inner"))
|
|
394
|
-
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(
|
|
396
|
+
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(_ctx.maxlength), 3)
|
|
395
397
|
], 2)) : createCommentVNode("v-if", true),
|
|
396
398
|
unref(validateState) && unref(validateIcon) && unref(needStatusIcon) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
397
399
|
key: 4,
|
|
@@ -446,7 +448,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
446
448
|
key: 0,
|
|
447
449
|
style: normalizeStyle(countStyle.value),
|
|
448
450
|
class: normalizeClass(unref(nsInput).e("count"))
|
|
449
|
-
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(
|
|
451
|
+
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(_ctx.maxlength), 7)) : createCommentVNode("v-if", true)
|
|
450
452
|
], 64))
|
|
451
453
|
], 16, _hoisted_1)), [
|
|
452
454
|
[vShow, _ctx.type !== "hidden"]
|