@cldemo/ui-kit 1.1.3 → 1.1.4

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.
Files changed (165) hide show
  1. package/buildLibs/all/index.cjs +8 -8
  2. package/buildLibs/all/index.js +12157 -12048
  3. package/buildLibs/common/globalConfig.cjs +1 -1
  4. package/buildLibs/common/globalConfig.js +29 -15
  5. package/buildLibs/common/i18n/en.cjs +1 -1
  6. package/buildLibs/common/i18n/en.js +3 -1
  7. package/buildLibs/common/i18n/zh_CN.cjs +1 -1
  8. package/buildLibs/common/i18n/zh_CN.js +3 -1
  9. package/buildLibs/common/index.cjs +1 -1
  10. package/buildLibs/common/index.js +26 -24
  11. package/buildLibs/mobile/index.cjs +5 -5
  12. package/buildLibs/mobile/index.js +5902 -5852
  13. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-CKoVf-v1.js → Index.vue_vue_type_script_setup_true_lang-88gNFuK4.js} +2 -2
  14. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-BQXxDHbe.js +254 -0
  15. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-D0g1xGPL.js → Index.vue_vue_type_script_setup_true_lang-BR0S3Sfl.js} +3 -3
  16. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-RRUPY9bd.js → Index.vue_vue_type_script_setup_true_lang-BrfAVhNV.js} +153 -145
  17. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DdLVG0R0.js → Index.vue_vue_type_script_setup_true_lang-Bw_jRoEX.js} +67 -59
  18. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-C6Zd584S.js +2536 -0
  19. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BOcOO9-n.js → Index.vue_vue_type_script_setup_true_lang-CD66oCaI.js} +386 -375
  20. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-CEBiLDTm.js +310 -0
  21. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-C0DgaU5I.js → Index.vue_vue_type_script_setup_true_lang-CRlBvcCg.js} +53 -47
  22. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DqZBB8fM.js → Index.vue_vue_type_script_setup_true_lang-CdYh3Pzs.js} +1 -1
  23. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-XiSSYx4X.js → Index.vue_vue_type_script_setup_true_lang-D7YeNBdk.js} +120 -113
  24. package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKMVQrVU.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-D9sq4n9i.js} +66 -60
  25. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-CRKrLCa6.js → Index.vue_vue_type_script_setup_true_lang-DFeBj9IN.js} +209 -201
  26. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-D7bJ5UAn.js → Index.vue_vue_type_script_setup_true_lang-DY3tZQZe.js} +63 -55
  27. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-D_73B6av.js +1533 -0
  28. package/buildLibs/modules/shared/{Validate.vue_vue_type_script_setup_true_lang-3s_3ut9M.js → Validate.vue_vue_type_script_setup_true_lang-hn1Tat7L.js} +102 -92
  29. package/buildLibs/types/All/index.d.ts +1 -1
  30. package/buildLibs/types/Common/globalConfig.d.ts +29 -0
  31. package/buildLibs/types/Common/globalTypes.d.ts +11 -0
  32. package/buildLibs/types/Common/i18n/en.d.ts +2 -0
  33. package/buildLibs/types/Common/i18n/zh_CN.d.ts +2 -0
  34. package/buildLibs/types/Common/index.d.ts +1 -1
  35. package/buildLibs/types/Element/CheckBox/Index.vue.d.ts +9 -0
  36. package/buildLibs/types/Element/Input/Index.vue.d.ts +9 -0
  37. package/buildLibs/types/Element/InputNumber/Index.vue.d.ts +9 -0
  38. package/buildLibs/types/Element/InputNumberStepper/Index.vue.d.ts +9 -0
  39. package/buildLibs/types/Element/InputTextarea/Index.vue.d.ts +9 -0
  40. package/buildLibs/types/Element/Radio/Index.vue.d.ts +9 -0
  41. package/buildLibs/types/Web/DateTime/Index.vue.d.ts +9 -0
  42. package/buildLibs/types/Web/FileUpload/Index.vue.d.ts +9 -0
  43. package/buildLibs/types/Web/Select/Index.vue.d.ts +9 -0
  44. package/buildLibs/types/Web/SelectCascade/Index.vue.d.ts +9 -0
  45. package/buildLibs/types/Web/SelectMove/Index.vue.d.ts +9 -0
  46. package/buildLibs/types/Web/SelectTag/Index.vue.d.ts +9 -0
  47. package/buildLibs/types/Web/SelectTree/Index.vue.d.ts +9 -0
  48. package/buildLibs/types/Web/Tree/Index.vue.d.ts +9 -0
  49. package/buildLibs/types/Web/componentsInstalls.d.ts +90 -0
  50. package/buildLibs/utils/Element/ClCheckbox.cjs +1 -1
  51. package/buildLibs/utils/Element/ClCheckbox.js +1 -1
  52. package/buildLibs/utils/Element/ClInput.cjs +1 -1
  53. package/buildLibs/utils/Element/ClInput.js +1 -1
  54. package/buildLibs/utils/Element/ClInputCaptcha.cjs +1 -1
  55. package/buildLibs/utils/Element/ClInputCaptcha.js +1 -1
  56. package/buildLibs/utils/Element/ClInputNumber.cjs +1 -1
  57. package/buildLibs/utils/Element/ClInputNumber.js +1 -1
  58. package/buildLibs/utils/Element/ClInputNumberStepper.cjs +1 -1
  59. package/buildLibs/utils/Element/ClInputNumberStepper.js +1 -1
  60. package/buildLibs/utils/Element/ClInputPassword.cjs +1 -1
  61. package/buildLibs/utils/Element/ClInputPassword.js +1 -1
  62. package/buildLibs/utils/Element/ClInputSearch.cjs +1 -1
  63. package/buildLibs/utils/Element/ClInputSearch.js +1 -1
  64. package/buildLibs/utils/Element/ClInputTextarea.cjs +1 -1
  65. package/buildLibs/utils/Element/ClInputTextarea.js +1 -1
  66. package/buildLibs/utils/Element/ClRadio.cjs +1 -1
  67. package/buildLibs/utils/Element/ClRadio.js +1 -1
  68. package/buildLibs/utils/Element/__provide__/Validate.cjs +1 -1
  69. package/buildLibs/utils/Element/__provide__/Validate.js +13 -3
  70. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C1OgPpoJ.js → Index.vue_vue_type_script_setup_true_lang-0S6ab-Lp.js} +120 -113
  71. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-neC9NxKi.js → Index.vue_vue_type_script_setup_true_lang-2Fe9SkjL.js} +209 -201
  72. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-2THK822S.js +254 -0
  73. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BO4cal3i.js → Index.vue_vue_type_script_setup_true_lang-2dwwjiTV.js} +386 -375
  74. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-5itnjwU_.js +1 -0
  75. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-ChnRq_PS.js → Index.vue_vue_type_script_setup_true_lang-B0MJO0JM.js} +2 -2
  76. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BIO6Me43.js +1 -0
  77. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BN9ybiKv.js +1 -0
  78. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BpG7AHvM.js +1 -0
  79. package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-CAe8mhTl.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-CATwJnes.js} +66 -60
  80. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CW4fM0by.js +1 -0
  81. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DxYJbPyJ.js → Index.vue_vue_type_script_setup_true_lang-C_exHzjc.js} +3 -3
  82. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CsCn637u.js +2 -0
  83. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D_XMW7K4.js → Index.vue_vue_type_script_setup_true_lang-D4a5Iaue.js} +153 -145
  84. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DXPZYc0c.js +1 -0
  85. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DY4m6Xyj.js +1 -0
  86. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DZCt32jb.js +1533 -0
  87. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DZF2gj7X.js +2536 -0
  88. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-De1eNjwC.js +1 -0
  89. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C6Evk0-z.js → Index.vue_vue_type_script_setup_true_lang-DtAy8lm9.js} +53 -47
  90. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DvN-fBNd.js +1 -0
  91. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DwBf338f.js +1 -0
  92. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cg_benGj.js → Index.vue_vue_type_script_setup_true_lang-F9tBnc_7.js} +63 -55
  93. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HfnOtuMz.js +310 -0
  94. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dwkuei2j.js → Index.vue_vue_type_script_setup_true_lang-VjIva6RM.js} +1 -1
  95. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-j7gxlOeM.js +1 -0
  96. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CgdGs-U2.js → Index.vue_vue_type_script_setup_true_lang-lKDQFZtY.js} +67 -59
  97. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dzm58mMQ.js → Index.vue_vue_type_script_setup_true_lang-nAMiORzN.js} +1 -1
  98. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CizRrQsH.js → Index.vue_vue_type_script_setup_true_lang-oovIcT38.js} +1 -1
  99. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BIFHYrzc.js → Index.vue_vue_type_script_setup_true_lang-qqnmaRnk.js} +1 -1
  100. package/buildLibs/utils/Web/ClColorPicker.cjs +1 -1
  101. package/buildLibs/utils/Web/ClColorPicker.js +1 -1
  102. package/buildLibs/utils/Web/ClCropperPreview.cjs +1 -1
  103. package/buildLibs/utils/Web/ClCropperPreview.js +1 -1
  104. package/buildLibs/utils/Web/ClDateTime.cjs +1 -1
  105. package/buildLibs/utils/Web/ClDateTime.js +1 -1
  106. package/buildLibs/utils/Web/ClFileUpload.cjs +1 -1
  107. package/buildLibs/utils/Web/ClFileUpload.js +1 -1
  108. package/buildLibs/utils/Web/ClInputTag.cjs +1 -1
  109. package/buildLibs/utils/Web/ClInputTag.js +1 -1
  110. package/buildLibs/utils/Web/ClPaginate.cjs +1 -1
  111. package/buildLibs/utils/Web/ClPaginate.js +1 -1
  112. package/buildLibs/utils/Web/ClSelect.cjs +1 -1
  113. package/buildLibs/utils/Web/ClSelect.js +1 -1
  114. package/buildLibs/utils/Web/ClSelectCascade.cjs +1 -1
  115. package/buildLibs/utils/Web/ClSelectCascade.js +1 -1
  116. package/buildLibs/utils/Web/ClSelectMove.cjs +1 -1
  117. package/buildLibs/utils/Web/ClSelectMove.js +655 -647
  118. package/buildLibs/utils/Web/ClSelectTag.cjs +1 -1
  119. package/buildLibs/utils/Web/ClSelectTag.js +1 -1
  120. package/buildLibs/utils/Web/ClSelectTree.cjs +1 -1
  121. package/buildLibs/utils/Web/ClSelectTree.js +71 -63
  122. package/buildLibs/utils/Web/ClTable.cjs +1 -1
  123. package/buildLibs/utils/Web/ClTable.js +1 -1
  124. package/buildLibs/utils/Web/ClTree.cjs +1 -1
  125. package/buildLibs/utils/Web/ClTree.js +1 -1
  126. package/buildLibs/utils/Web/ClXEditable.cjs +1 -1
  127. package/buildLibs/utils/Web/ClXEditable.js +10 -10
  128. package/buildLibs/web/index.cjs +7 -7
  129. package/buildLibs/web/index.js +10792 -10685
  130. package/docs/components/Element/Checkbox.md +2 -1
  131. package/docs/components/Element/Form.md +15 -0
  132. package/docs/components/Element/Input.md +2 -1
  133. package/docs/components/Element/InputNumber.md +2 -1
  134. package/docs/components/Element/InputNumberStepper.md +2 -1
  135. package/docs/components/Element/InputTextarea.md +2 -1
  136. package/docs/components/Element/Radio.md +2 -1
  137. package/docs/components/Web/DateTime.md +2 -1
  138. package/docs/components/Web/FileUpload.md +2 -1
  139. package/docs/components/Web/Select.md +2 -1
  140. package/docs/components/Web/SelectCascade.md +1 -0
  141. package/docs/components/Web/SelectMove.md +2 -1
  142. package/docs/components/Web/SelectTag.md +1 -0
  143. package/docs/components/Web/SelectTree.md +2 -1
  144. package/docs/components/Web/Tree.md +2 -1
  145. package/package.json +1 -1
  146. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-CiNidFJt.js +0 -246
  147. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-DC6727pS.js +0 -2528
  148. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-EXqjkKwS.js +0 -302
  149. package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-Hg16dgRQ.js +0 -1527
  150. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-5aX79Fcf.js +0 -1
  151. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BRvOcf4B.js +0 -1
  152. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ba8Z8fOP.js +0 -1
  153. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjNP5odR.js +0 -1
  154. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CQ3RGLek.js +0 -302
  155. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CY5fRV6o.js +0 -1
  156. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CYN4r-Mx.js +0 -1
  157. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C_7ArHlU.js +0 -1
  158. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CuJjJvft.js +0 -2
  159. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CwjigRBx.js +0 -2528
  160. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D6cmq0Tf.js +0 -1527
  161. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dbf-3Nik.js +0 -1
  162. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DgD_gHit.js +0 -1
  163. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-FowII7_3.js +0 -1
  164. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-c7oxeU_j.js +0 -246
  165. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-vLqCsSbV.js +0 -1
@@ -1,13 +1,14 @@
1
- import { defineComponent as Y, useTemplateRef as Z, computed as d, openBlock as s, createElementBlock as r, normalizeClass as O, unref as _, createElementVNode as P, mergeProps as ie, toDisplayString as ee, createCommentVNode as re, createBlock as ne, withKeys as Q, withModifiers as R, Fragment as k, renderSlot as I, ref as B, onMounted as ce, onBeforeUnmount as de, watch as pe, normalizeStyle as fe, createVNode as me, createSlots as W, withCtx as V, nextTick as ye } from "vue";
1
+ import { defineComponent as Y, useTemplateRef as Z, computed as p, openBlock as i, createElementBlock as r, normalizeClass as O, unref as _, createElementVNode as P, mergeProps as re, toDisplayString as ee, createCommentVNode as ce, createBlock as te, withKeys as Q, withModifiers as R, Fragment as k, renderSlot as I, ref as w, onMounted as pe, onBeforeUnmount as de, watch as fe, normalizeStyle as me, createVNode as ye, createSlots as W, withCtx as B, nextTick as ve } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import u from "@cldemo/ui-kit/common/base";
5
5
  import ge from "@cldemo/ui-kit/common/Element";
6
+ import { getPlaintextOutText as he } from "@cldemo/ui-kit/common/globalConfig";
6
7
  import { _ as X } from "./Index.vue_vue_type_script_setup_true_lang-C2LGy18j.js";
7
- const ve = ["id"], he = ["type", "inputmode", "name", "value", "placeholder", "disabled", "readonly"], Ce = {
8
+ const Ce = ["id"], Se = ["type", "inputmode", "name", "value", "placeholder", "disabled", "readonly"], xe = {
8
9
  key: 0,
9
10
  class: "input-floating-label"
10
- }, Se = {
11
+ }, be = {
11
12
  key: 3,
12
13
  class: "input-suffix"
13
14
  }, N = /* @__PURE__ */ Y({
@@ -69,90 +70,90 @@ const ve = ["id"], he = ["type", "inputmode", "name", "value", "placeholder", "d
69
70
  }
70
71
  },
71
72
  emits: ["onInputText", "onKeydown", "onKeyup", "onFocus", "onBlur", "onClear"],
72
- setup(t, { expose: E, emit: F }) {
73
- const n = t, o = F, T = n.id, p = Z("refElInput"), C = d(() => {
74
- let l = n.name;
73
+ setup(n, { expose: E, emit: T }) {
74
+ const t = n, o = T, V = t.id, d = Z("refElInput"), x = p(() => {
75
+ let l = t.name;
75
76
  return u.isEmpty(l) && (l = `input_${u.getRandom(8)}`), l;
76
- }), v = d(() => u.isEmpty(n.inputmode) ? void 0 : n.inputmode), a = d(() => {
77
+ }), g = p(() => u.isEmpty(t.inputmode) ? void 0 : t.inputmode), a = p(() => {
77
78
  const l = {};
78
- return u.isNonEmptyString(n.autocomplete) && (l.autocomplete = n.autocomplete), l;
79
- }), f = d(() => n.isClean && !n.disabled && !n.isReadonly), S = d(() => f.value && !u.isEmpty(n.value)), c = d(() => n.isFloating ? n.label || n.placeholder : ""), y = d(() => ({
79
+ return u.isNonEmptyString(t.autocomplete) && (l.autocomplete = t.autocomplete), l;
80
+ }), F = p(() => t.isClean && !t.disabled && !t.isReadonly), f = p(() => F.value && !u.isEmpty(t.value)), h = p(() => t.isFloating ? t.label || t.placeholder : ""), c = p(() => ({
80
81
  "input-container": !0,
81
82
  // input-clean 与 disabled 解耦:类只决定清除按钮占位 padding(恒定 24px),
82
83
  // disabled 时按钮显示由 optIsShowClean 单独控制 → 文字/数字位置不随禁用态跳动
83
- "input-clean": n.isClean,
84
- "input-suffix": n.isShowSuffix,
85
- "input-floating": n.isFloating
86
- })), K = (l) => {
87
- const x = l.target;
88
- x && o("onInputText", x.value);
89
- }, D = (l) => {
84
+ "input-clean": t.isClean,
85
+ "input-suffix": t.isShowSuffix,
86
+ "input-floating": t.isFloating
87
+ })), y = (l) => {
88
+ const b = l.target;
89
+ b && o("onInputText", b.value);
90
+ }, K = (l) => {
90
91
  o("onKeydown", l);
91
- }, $ = (l) => {
92
+ }, D = (l) => {
92
93
  o("onKeyup", l);
93
- }, h = () => {
94
+ }, $ = () => {
94
95
  o("onFocus");
95
- }, w = () => {
96
+ }, C = () => {
96
97
  o("onBlur");
97
- }, b = () => {
98
+ }, S = () => {
98
99
  o("onClear");
99
100
  };
100
101
  return E({
101
- getInputElement: () => p.value,
102
+ getInputElement: () => d.value,
102
103
  focus: () => {
103
- p.value?.focus();
104
+ d.value?.focus();
104
105
  }
105
- }), (l, x) => (s(), r("div", {
106
- id: _(T),
107
- class: O(y.value)
106
+ }), (l, b) => (i(), r("div", {
107
+ id: _(V),
108
+ class: O(c.value)
108
109
  }, [
109
- P("input", ie({
110
+ P("input", re({
110
111
  ref_key: "refElInput",
111
- ref: p,
112
- type: t.inputType,
113
- inputmode: v.value,
114
- name: C.value
112
+ ref: d,
113
+ type: n.inputType,
114
+ inputmode: g.value,
115
+ name: x.value
115
116
  }, a.value, {
116
117
  class: "form-control",
117
- value: t.value,
118
- placeholder: t.placeholder,
119
- disabled: t.disabled,
120
- readonly: t.isReadonly,
121
- onInput: K,
122
- onKeydown: D,
123
- onKeyup: $,
124
- onFocus: h,
125
- onBlur: w
126
- }), null, 16, he),
127
- c.value ? (s(), r("label", Ce, ee(c.value), 1)) : re("", !0),
128
- S.value ? (s(), ne(X, {
118
+ value: n.value,
119
+ placeholder: n.placeholder,
120
+ disabled: n.disabled,
121
+ readonly: n.isReadonly,
122
+ onInput: y,
123
+ onKeydown: K,
124
+ onKeyup: D,
125
+ onFocus: $,
126
+ onBlur: C
127
+ }), null, 16, Se),
128
+ h.value ? (i(), r("label", xe, ee(h.value), 1)) : ce("", !0),
129
+ f.value ? (i(), te(X, {
129
130
  key: 1,
130
131
  name: "close-circle-fill",
131
132
  class: "input-clear-icon",
132
133
  "aria-label": "清除输入内容",
133
134
  role: "button",
134
135
  tabindex: "-1",
135
- onClick: R(b, ["stop"]),
136
+ onClick: R(S, ["stop"]),
136
137
  onKeydown: [
137
- Q(R(b, ["stop"]), ["enter"]),
138
- Q(R(b, ["stop", "prevent"]), ["space"])
138
+ Q(R(S, ["stop"]), ["enter"]),
139
+ Q(R(S, ["stop", "prevent"]), ["space"])
139
140
  ]
140
- }, null, 8, ["onKeydown"])) : (s(), r(k, { key: 2 }, [], 64)),
141
- t.isShowSuffix ? (s(), r("div", Se, [
141
+ }, null, 8, ["onKeydown"])) : (i(), r(k, { key: 2 }, [], 64)),
142
+ n.isShowSuffix ? (i(), r("div", be, [
142
143
  I(l.$slots, "suffix")
143
- ])) : (s(), r(k, { key: 4 }, [], 64))
144
- ], 10, ve));
144
+ ])) : (i(), r(k, { key: 4 }, [], 64))
145
+ ], 10, Ce));
145
146
  }
146
- }), be = ["id"], xe = {
147
+ }), Ie = ["id"], ke = {
147
148
  key: 0,
148
149
  class: "cl-plaintext-value"
149
- }, Ie = {
150
+ }, we = {
150
151
  key: 0,
151
152
  class: "input-group-prepend"
152
- }, ke = { class: "input-group-text" }, we = {
153
+ }, Be = { class: "input-group-text" }, Ee = {
153
154
  key: 2,
154
155
  class: "input-group-append"
155
- }, Be = { class: "input-group-text" }, Oe = /* @__PURE__ */ Y({
156
+ }, Te = { class: "input-group-text" }, ze = /* @__PURE__ */ Y({
156
157
  name: "ClInput",
157
158
  components: {
158
159
  ClInputContainer: N
@@ -215,6 +216,11 @@ const ve = ["id"], he = ["type", "inputmode", "name", "value", "placeholder", "d
215
216
  default: !1
216
217
  // desc: 是否纯文本只读模式,只渲染文本不挂载输入控件(不渲染 prepend/append/suffix 插槽)
217
218
  },
219
+ plaintextEmptyText: {
220
+ type: String,
221
+ default: void 0
222
+ // desc: 纯文本只读模式下值为空时的显示文本(默认 "-",显式传空串则显示空白;未显式传时依次读取组件配置段与 plaintextGlobal 段)
223
+ },
218
224
  changeDelayTime: {
219
225
  type: Number,
220
226
  default: 200
@@ -222,131 +228,133 @@ const ve = ["id"], he = ["type", "inputmode", "name", "value", "placeholder", "d
222
228
  }
223
229
  },
224
230
  emits: ["update:value", "update:modelValue", "onChange", "onFocus", "onBlur", "onChangeBlur", "onKeyupEnter", "onClear", "onInit", "onKeydown", "onKeyup", "onChangeDelay"],
225
- setup(t, { expose: E, emit: F }) {
226
- const n = t, o = F, T = n.id, p = Z("refElContainer"), C = B(!1), v = u.isString(n.value) ? n.value : n.value !== void 0 && u.isNumber(n.value) && u.isFinite(n.value) ? n.value.toString() : "", a = B(v), f = B(v), S = B(v), c = {
227
- prevDelayValue: v,
231
+ setup(n, { expose: E, emit: T }) {
232
+ const t = n, o = T, V = t.id, d = Z("refElContainer"), x = w(!1), g = u.isString(t.value) ? t.value : t.value !== void 0 && u.isNumber(t.value) && u.isFinite(t.value) ? t.value.toString() : "", a = w(g), F = p(
233
+ () => he("input", t.plaintextEmptyText, a.value, t.value)
234
+ ), f = w(g), h = w(g), c = {
235
+ prevDelayValue: g,
228
236
  valueDelayRun: !1
229
237
  };
230
238
  let y = null;
231
- const K = d(() => {
239
+ const K = p(() => {
232
240
  let e = {
233
241
  "panel-input": !0,
234
- "input-disabled": n.disabled,
235
- "input-readonly": n.isReadonly
242
+ "input-disabled": t.disabled,
243
+ "input-readonly": t.isReadonly
236
244
  };
237
- return e = u.getJsonMerge(e, ge.getClassNameJson(n.className)), u.isEmpty(n.theme, "default") || (e[`input-${n.theme}`] = !0), e;
238
- }), D = d(() => {
245
+ return e = u.getJsonMerge(e, ge.getClassNameJson(t.className)), u.isEmpty(t.theme, "default") || (e[`input-${t.theme}`] = !0), e;
246
+ }), D = p(() => {
239
247
  const e = {};
240
- return u.isNonEmptyString(n.width) && (e.width = n.width), e;
248
+ return u.isNonEmptyString(t.width) && (e.width = t.width), e;
241
249
  }), $ = (e) => {
242
- h(), c.valueDelayRun = !0, y = setTimeout(() => {
250
+ C(), c.valueDelayRun = !0, y = setTimeout(() => {
243
251
  y = null, f.value === e && (c.valueDelayRun = !1, c.prevDelayValue !== e && (c.prevDelayValue = e, o("onChangeDelay", e)));
244
- }, n.changeDelayTime);
245
- }, h = () => {
252
+ }, t.changeDelayTime);
253
+ }, C = () => {
246
254
  y && (clearTimeout(y), y = null), c.valueDelayRun = !1;
247
- }, w = (e) => {
255
+ }, S = (e) => {
248
256
  if (e !== f.value) {
249
257
  f.value = e;
250
- const i = m(e);
251
- o("update:value", i), o("update:modelValue", i), o("onChange", i), $(i);
258
+ const s = m(e);
259
+ o("update:value", s), o("update:modelValue", s), o("onChange", s), $(s);
252
260
  }
253
- }, b = (e) => {
254
- C.value = !0, S.value = e, o("onFocus", e);
255
261
  }, M = (e) => {
256
- C.value = !1, o("onBlur", e), e !== S.value && (S.value = e, o("onChangeBlur", e));
262
+ x.value = !0, h.value = e, o("onFocus", e);
257
263
  }, z = (e) => {
258
- o("onKeyupEnter", e);
264
+ x.value = !1, o("onBlur", e), e !== h.value && (h.value = e, o("onChangeBlur", e));
259
265
  }, l = (e) => {
266
+ o("onKeyupEnter", e);
267
+ }, b = (e) => {
260
268
  o("onKeydown", e);
261
- }, x = (e) => {
269
+ }, ne = (e) => {
262
270
  o("onKeyup", e);
263
- }, te = () => {
264
- o("onClear");
265
271
  }, oe = () => {
266
- ye(() => {
272
+ o("onClear");
273
+ }, le = () => {
274
+ ve(() => {
267
275
  o("onInit");
268
276
  });
269
277
  }, m = (e) => u.isString(e) || u.isNumber(e) && u.isFinite(e) ? e.toString() : "", J = () => {
270
- p.value?.focus();
271
- }, le = () => {
272
- const e = m(n.value);
273
- u.isEmpty(e) || (a.value = e, f.value = e), oe();
278
+ d.value?.focus();
279
+ }, ae = () => {
280
+ const e = m(t.value);
281
+ u.isEmpty(e) || (a.value = e, f.value = e), le();
274
282
  };
275
- ce(() => {
276
- le();
283
+ pe(() => {
284
+ ae();
277
285
  }), de(() => {
278
- h();
279
- }), pe(
280
- () => n.value,
286
+ C();
287
+ }), fe(
288
+ () => t.value,
281
289
  (e) => {
282
- const i = m(e);
283
- i !== a.value && (a.value = i, f.value = i, c.prevDelayValue = i, c.valueDelayRun && h());
290
+ const s = m(e);
291
+ s !== a.value && (a.value = s, f.value = s, c.prevDelayValue = s, c.valueDelayRun && C());
284
292
  }
285
293
  );
286
294
  const L = (e) => {
287
- a.value = e, w(e);
295
+ a.value = e, S(e);
288
296
  }, U = (e) => {
289
- l(e);
297
+ b(e);
290
298
  }, A = (e) => {
291
- const i = e.key, g = e.keyCode;
292
- if (i === "Enter" || g === 13) {
293
- const ue = e.target, se = m(ue.value);
294
- z(se);
299
+ const s = e.key, v = e.keyCode;
300
+ if (s === "Enter" || v === 13) {
301
+ const ie = e.target, se = m(ie.value);
302
+ l(se);
295
303
  } else
296
- x(e);
304
+ ne(e);
297
305
  }, j = () => {
298
306
  const e = m(a.value);
299
- b(e);
307
+ M(e);
300
308
  }, q = () => {
301
309
  const e = m(a.value);
302
- M(e);
310
+ z(e);
303
311
  }, G = () => {
304
- a.value = "", w(""), te(), J();
305
- }, ae = () => {
306
- const e = p.value;
312
+ a.value = "", S(""), oe(), J();
313
+ }, ue = () => {
314
+ const e = d.value;
307
315
  return e ? e.getInputElement() : null;
308
316
  }, H = () => m(a.value);
309
317
  return E({
310
318
  getValue: H,
311
319
  getValueData: () => ({ value: H(), show: a.value }),
312
- setValue: (e, i) => {
313
- const g = m(e);
314
- a.value = g, f.value = g, c.prevDelayValue = g, c.valueDelayRun && h(), i && (o("update:value", g), o("update:modelValue", g));
320
+ setValue: (e, s) => {
321
+ const v = m(e);
322
+ a.value = v, f.value = v, c.prevDelayValue = v, c.valueDelayRun && C(), s && (o("update:value", v), o("update:modelValue", v));
315
323
  },
316
324
  focus: () => {
317
325
  J();
318
326
  },
319
- getInputElement: ae
320
- }), (e, i) => (s(), r("div", {
321
- id: _(T),
327
+ getInputElement: ue
328
+ }), (e, s) => (i(), r("div", {
329
+ id: _(V),
322
330
  class: O(K.value),
323
- style: fe(D.value)
331
+ style: me(D.value)
324
332
  }, [
325
- t.isPlaintext ? (s(), r("div", xe, ee(a.value), 1)) : (s(), r(k, { key: 1 }, [
326
- e.$slots.prepend || e.$slots.append ? (s(), r("div", {
333
+ n.isPlaintext ? (i(), r("div", ke, ee(F.value), 1)) : (i(), r(k, { key: 1 }, [
334
+ e.$slots.prepend || e.$slots.append ? (i(), r("div", {
327
335
  key: 0,
328
- class: O({ "input-group": !0, "input-group-focus": C.value })
336
+ class: O({ "input-group": !0, "input-group-focus": x.value })
329
337
  }, [
330
- e.$slots.prepend ? (s(), r("div", Ie, [
331
- P("span", ke, [
338
+ e.$slots.prepend ? (i(), r("div", we, [
339
+ P("span", Be, [
332
340
  I(e.$slots, "prepend")
333
341
  ])
334
- ])) : (s(), r(k, { key: 1 }, [], 64)),
335
- me(N, {
342
+ ])) : (i(), r(k, { key: 1 }, [], 64)),
343
+ ye(N, {
336
344
  ref_key: "refElContainer",
337
- ref: p,
345
+ ref: d,
338
346
  value: a.value,
339
- inputType: t.inputType,
340
- inputmode: t.inputmode,
341
- autocomplete: t.autocomplete,
342
- name: t.name,
343
- placeholder: t.placeholder,
344
- disabled: t.disabled,
345
- isReadonly: t.isReadonly,
346
- isClean: t.isClean,
347
+ inputType: n.inputType,
348
+ inputmode: n.inputmode,
349
+ autocomplete: n.autocomplete,
350
+ name: n.name,
351
+ placeholder: n.placeholder,
352
+ disabled: n.disabled,
353
+ isReadonly: n.isReadonly,
354
+ isClean: n.isClean,
347
355
  isShowSuffix: !!e.$slots.suffix,
348
- label: t.label,
349
- isFloating: t.isFloating,
356
+ label: n.label,
357
+ isFloating: n.isFloating,
350
358
  onOnInputText: L,
351
359
  onOnKeydown: U,
352
360
  onOnKeyup: A,
@@ -356,37 +364,37 @@ const ve = ["id"], he = ["type", "inputmode", "name", "value", "placeholder", "d
356
364
  }, W({ _: 2 }, [
357
365
  e.$slots.suffix ? {
358
366
  name: "suffix",
359
- fn: V(() => [
367
+ fn: B(() => [
360
368
  I(e.$slots, "suffix")
361
369
  ]),
362
370
  key: "0"
363
371
  } : {
364
372
  name: "suffix",
365
- fn: V(() => []),
373
+ fn: B(() => []),
366
374
  key: "1"
367
375
  }
368
376
  ]), 1032, ["value", "inputType", "inputmode", "autocomplete", "name", "placeholder", "disabled", "isReadonly", "isClean", "isShowSuffix", "label", "isFloating"]),
369
- e.$slots.append ? (s(), r("div", we, [
370
- P("span", Be, [
377
+ e.$slots.append ? (i(), r("div", Ee, [
378
+ P("span", Te, [
371
379
  I(e.$slots, "append")
372
380
  ])
373
- ])) : (s(), r(k, { key: 3 }, [], 64))
374
- ], 2)) : (s(), ne(N, {
381
+ ])) : (i(), r(k, { key: 3 }, [], 64))
382
+ ], 2)) : (i(), te(N, {
375
383
  key: 1,
376
384
  ref_key: "refElContainer",
377
- ref: p,
385
+ ref: d,
378
386
  value: a.value,
379
- inputType: t.inputType,
380
- inputmode: t.inputmode,
381
- autocomplete: t.autocomplete,
382
- name: t.name,
383
- placeholder: t.placeholder,
384
- disabled: t.disabled,
385
- isReadonly: t.isReadonly,
386
- isClean: t.isClean,
387
+ inputType: n.inputType,
388
+ inputmode: n.inputmode,
389
+ autocomplete: n.autocomplete,
390
+ name: n.name,
391
+ placeholder: n.placeholder,
392
+ disabled: n.disabled,
393
+ isReadonly: n.isReadonly,
394
+ isClean: n.isClean,
387
395
  isShowSuffix: !!e.$slots.suffix,
388
- label: t.label,
389
- isFloating: t.isFloating,
396
+ label: n.label,
397
+ isFloating: n.isFloating,
390
398
  onOnInputText: L,
391
399
  onOnKeydown: U,
392
400
  onOnKeyup: A,
@@ -396,20 +404,20 @@ const ve = ["id"], he = ["type", "inputmode", "name", "value", "placeholder", "d
396
404
  }, W({ _: 2 }, [
397
405
  e.$slots.suffix ? {
398
406
  name: "suffix",
399
- fn: V(() => [
407
+ fn: B(() => [
400
408
  I(e.$slots, "suffix")
401
409
  ]),
402
410
  key: "0"
403
411
  } : {
404
412
  name: "suffix",
405
- fn: V(() => []),
413
+ fn: B(() => []),
406
414
  key: "1"
407
415
  }
408
416
  ]), 1032, ["value", "inputType", "inputmode", "autocomplete", "name", "placeholder", "disabled", "isReadonly", "isClean", "isShowSuffix", "label", "isFloating"]))
409
417
  ], 64))
410
- ], 14, be));
418
+ ], 14, Ie));
411
419
  }
412
420
  });
413
421
  export {
414
- Oe as _
422
+ ze as _
415
423
  };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue");;/* empty css */;/* empty css */const i=require("@cldemo/ui-kit/common/base"),H=require("@cldemo/ui-kit/common/Element"),Q=require("@cldemo/ui-kit/common/globalConfig"),M=require("./Index.vue_vue_type_script_setup_true_lang-CFZ5jK-q.js"),W=["id"],X=["type","inputmode","name","value","placeholder","disabled","readonly"],Y={key:0,class:"input-floating-label"},Z={key:3,class:"input-suffix"},F=e.defineComponent({name:"ClInputContainer",components:{ClIconFont:M._sfc_main},__name:"Container",props:{id:String,name:String,value:[String,Number],inputType:{type:String,default:"text"},inputmode:{type:String,default:""},autocomplete:{type:String,default:"off"},placeholder:String,label:String,isFloating:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isClean:{type:Boolean,default:!0},isShowSuffix:{type:Boolean,default:!1}},emits:["onInputText","onKeydown","onKeyup","onFocus","onBlur","onClear"],setup(o,{expose:B,emit:S}){const n=o,l=S,E=n.id,r=e.useTemplateRef("refElInput"),C=e.computed(()=>{let a=n.name;return i.isEmpty(a)&&(a=`input_${i.getRandom(8)}`),a}),y=e.computed(()=>i.isEmpty(n.inputmode)?void 0:n.inputmode),u=e.computed(()=>{const a={};return i.isNonEmptyString(n.autocomplete)&&(a.autocomplete=n.autocomplete),a}),x=e.computed(()=>n.isClean&&!n.disabled&&!n.isReadonly),p=e.computed(()=>x.value&&!i.isEmpty(n.value)),g=e.computed(()=>n.isFloating?n.label||n.placeholder:""),c=e.computed(()=>({"input-container":!0,"input-clean":n.isClean,"input-suffix":n.isShowSuffix,"input-floating":n.isFloating})),m=a=>{const k=a.target;k&&l("onInputText",k.value)},w=a=>{l("onKeydown",a)},b=a=>{l("onKeyup",a)},I=()=>{l("onFocus")},v=()=>{l("onBlur")},h=()=>{l("onClear")};return B({getInputElement:()=>r.value,focus:()=>{r.value?.focus()}}),(a,k)=>(e.openBlock(),e.createElementBlock("div",{id:e.unref(E),class:e.normalizeClass(c.value)},[e.createElementVNode("input",e.mergeProps({ref_key:"refElInput",ref:r,type:o.inputType,inputmode:y.value,name:C.value},u.value,{class:"form-control",value:o.value,placeholder:o.placeholder,disabled:o.disabled,readonly:o.isReadonly,onInput:m,onKeydown:w,onKeyup:b,onFocus:I,onBlur:v}),null,16,X),g.value?(e.openBlock(),e.createElementBlock("label",Y,e.toDisplayString(g.value),1)):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createBlock(M._sfc_main,{key:1,name:"close-circle-fill",class:"input-clear-icon","aria-label":"清除输入内容",role:"button",tabindex:"-1",onClick:e.withModifiers(h,["stop"]),onKeydown:[e.withKeys(e.withModifiers(h,["stop"]),["enter"]),e.withKeys(e.withModifiers(h,["stop","prevent"]),["space"])]},null,8,["onKeydown"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[],64)),o.isShowSuffix?(e.openBlock(),e.createElementBlock("div",Z,[e.renderSlot(a.$slots,"suffix")])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[],64))],10,W))}}),_=["id"],ee={key:0,class:"cl-plaintext-value"},te={key:0,class:"input-group-prepend"},ne={class:"input-group-text"},oe={key:2,class:"input-group-append"},le={class:"input-group-text"},ae=e.defineComponent({name:"ClInput",components:{ClInputContainer:F},__name:"Index",props:{id:String,name:String,value:[String,Number],className:String,disabled:{type:Boolean,default:!1},theme:{type:String,default:"default"},inputType:String,inputmode:{type:String,default:""},autocomplete:{type:String,default:"off"},width:String,placeholder:String,label:String,isFloating:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isClean:{type:Boolean,default:!0},isPlaintext:{type:Boolean,default:!1},plaintextEmptyText:{type:String,default:void 0},changeDelayTime:{type:Number,default:200}},emits:["update:value","update:modelValue","onChange","onFocus","onBlur","onChangeBlur","onKeyupEnter","onClear","onInit","onKeydown","onKeyup","onChangeDelay"],setup(o,{expose:B,emit:S}){const n=o,l=S,E=n.id,r=e.useTemplateRef("refElContainer"),C=e.ref(!1),y=i.isString(n.value)?n.value:n.value!==void 0&&i.isNumber(n.value)&&i.isFinite(n.value)?n.value.toString():"",u=e.ref(y),x=e.computed(()=>Q.getPlaintextOutText("input",n.plaintextEmptyText,u.value,n.value)),p=e.ref(y),g=e.ref(y),c={prevDelayValue:y,valueDelayRun:!1};let m=null;const w=e.computed(()=>{let t={"panel-input":!0,"input-disabled":n.disabled,"input-readonly":n.isReadonly};return t=i.getJsonMerge(t,H.getClassNameJson(n.className)),i.isEmpty(n.theme,"default")||(t[`input-${n.theme}`]=!0),t}),b=e.computed(()=>{const t={};return i.isNonEmptyString(n.width)&&(t.width=n.width),t}),I=t=>{v(),c.valueDelayRun=!0,m=setTimeout(()=>{m=null,p.value===t&&(c.valueDelayRun=!1,c.prevDelayValue!==t&&(c.prevDelayValue=t,l("onChangeDelay",t)))},n.changeDelayTime)},v=()=>{m&&(clearTimeout(m),m=null),c.valueDelayRun=!1},h=t=>{if(t!==p.value){p.value=t;const s=d(t);l("update:value",s),l("update:modelValue",s),l("onChange",s),I(s)}},T=t=>{C.value=!0,g.value=t,l("onFocus",t)},V=t=>{C.value=!1,l("onBlur",t),t!==g.value&&(g.value=t,l("onChangeBlur",t))},a=t=>{l("onKeyupEnter",t)},k=t=>{l("onKeydown",t)},z=t=>{l("onKeyup",t)},J=()=>{l("onClear")},L=()=>{e.nextTick(()=>{l("onInit")})},d=t=>i.isString(t)||i.isNumber(t)&&i.isFinite(t)?t.toString():"",K=()=>{r.value?.focus()},U=()=>{const t=d(n.value);i.isEmpty(t)||(u.value=t,p.value=t),L()};e.onMounted(()=>{U()}),e.onBeforeUnmount(()=>{v()}),e.watch(()=>n.value,t=>{const s=d(t);s!==u.value&&(u.value=s,p.value=s,c.prevDelayValue=s,c.valueDelayRun&&v())});const D=t=>{u.value=t,h(t)},R=t=>{k(t)},$=t=>{const s=t.key,f=t.keyCode;if(s==="Enter"||f===13){const j=t.target,G=d(j.value);a(G)}else z(t)},N=()=>{const t=d(u.value);T(t)},O=()=>{const t=d(u.value);V(t)},q=()=>{u.value="",h(""),J(),K()},A=()=>{const t=r.value;return t?t.getInputElement():null},P=()=>d(u.value);return B({getValue:P,getValueData:()=>({value:P(),show:u.value}),setValue:(t,s)=>{const f=d(t);u.value=f,p.value=f,c.prevDelayValue=f,c.valueDelayRun&&v(),s&&(l("update:value",f),l("update:modelValue",f))},focus:()=>{K()},getInputElement:A}),(t,s)=>(e.openBlock(),e.createElementBlock("div",{id:e.unref(E),class:e.normalizeClass(w.value),style:e.normalizeStyle(b.value)},[o.isPlaintext?(e.openBlock(),e.createElementBlock("div",ee,e.toDisplayString(x.value),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.$slots.prepend||t.$slots.append?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"input-group":!0,"input-group-focus":C.value})},[t.$slots.prepend?(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("span",ne,[e.renderSlot(t.$slots,"prepend")])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createVNode(F,{ref_key:"refElContainer",ref:r,value:u.value,inputType:o.inputType,inputmode:o.inputmode,autocomplete:o.autocomplete,name:o.name,placeholder:o.placeholder,disabled:o.disabled,isReadonly:o.isReadonly,isClean:o.isClean,isShowSuffix:!!t.$slots.suffix,label:o.label,isFloating:o.isFloating,onOnInputText:D,onOnKeydown:R,onOnKeyup:$,onOnFocus:N,onOnBlur:O,onOnClear:q},e.createSlots({_:2},[t.$slots.suffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"suffix")]),key:"0"}:{name:"suffix",fn:e.withCtx(()=>[]),key:"1"}]),1032,["value","inputType","inputmode","autocomplete","name","placeholder","disabled","isReadonly","isClean","isShowSuffix","label","isFloating"]),t.$slots.append?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("span",le,[e.renderSlot(t.$slots,"append")])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))],2)):(e.openBlock(),e.createBlock(F,{key:1,ref_key:"refElContainer",ref:r,value:u.value,inputType:o.inputType,inputmode:o.inputmode,autocomplete:o.autocomplete,name:o.name,placeholder:o.placeholder,disabled:o.disabled,isReadonly:o.isReadonly,isClean:o.isClean,isShowSuffix:!!t.$slots.suffix,label:o.label,isFloating:o.isFloating,onOnInputText:D,onOnKeydown:R,onOnKeyup:$,onOnFocus:N,onOnBlur:O,onOnClear:q},e.createSlots({_:2},[t.$slots.suffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"suffix")]),key:"0"}:{name:"suffix",fn:e.withCtx(()=>[]),key:"1"}]),1032,["value","inputType","inputmode","autocomplete","name","placeholder","disabled","isReadonly","isClean","isShowSuffix","label","isFloating"]))],64))],14,_))}});exports._sfc_main=ae;