@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 +1 @@
1
- "use strict";const n=require("vue"),r=require("@cldemo/ui-kit/common/base"),x=require("@cldemo/ui-kit/common/Element"),d=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CFZ5jK-q.js"),c=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CY5fRV6o.js"),F=n.defineComponent({name:"ClInputPassword",components:{ClIconFont:d._sfc_main,ClInput:c._sfc_main},__name:"Index",props:{id:String,name:String,value:[String,Number],className:String,disabled:Boolean,theme:{type:String,default:"default"},width:String,placeholder:String,label:String,isFloating:{type:Boolean,default:!1},isReadonly:Boolean,isClean:{type:Boolean,default:!0}},emits:["update:value","update:modelValue","onChange","onFocus","onBlur","onChangeBlur","onKeyupEnter","onClear","onInit","onKeydown","onKeyup"],setup(t,{expose:p,emit:m}){const s=t,a=m,g=s.id,o=n.useTemplateRef("refElInput"),l=n.ref(!1),y=n.computed(()=>l.value?"text":"password"),f=n.computed(()=>{let e={"panel-input-password":!0};return e=r.getJsonMerge(e,x.getClassNameJson(s.className)),r.getStringByJson(e," ")}),h=e=>{a("update:value",e),a("update:modelValue",e),a("onChange",e)},C=e=>{h(e)},I=e=>{a("onFocus",e)},v=e=>{a("onBlur",e)},w=e=>{a("onChangeBlur",e)},b=e=>{a("onKeyupEnter",e)},B=e=>{a("onKeydown",e)},K=e=>{a("onKeyup",e)},S=()=>{a("onClear")},V=()=>{a("onInit")},u=()=>{s.disabled||(l.value=!l.value)};return p({getValue:()=>o.value?.getValue(),getValueData:()=>o.value?.getValueData(),setValue:(e,i)=>{o.value?.setValue(e,i)},focus:()=>{o.value?.focus()}}),(e,i)=>(n.openBlock(),n.createBlock(c._sfc_main,{ref_key:"refElInput",ref:o,id:n.unref(g),name:t.name,value:t.value,inputType:y.value,className:f.value,placeholder:t.placeholder,label:t.label,isFloating:t.isFloating,disabled:t.disabled,isReadonly:t.isReadonly,isClean:t.isClean,width:t.width,theme:t.theme,onOnChange:C,onOnFocus:I,onOnBlur:v,onOnChangeBlur:w,onOnKeyupEnter:b,onOnKeydown:B,onOnKeyup:K,onOnClear:S,onOnInit:V},n.createSlots({suffix:n.withCtx(()=>[n.createVNode(d._sfc_main,{class:"input-password-icon",name:l.value?"eye":"eye-no",role:"button","aria-label":l.value?"隐藏密码":"显示密码","aria-disabled":t.disabled,tabindex:t.disabled?-1:0,onClick:u,onKeydown:[n.withKeys(n.withModifiers(u,["prevent"]),["enter"]),n.withKeys(n.withModifiers(u,["prevent"]),["space"])]},null,8,["name","aria-label","aria-disabled","tabindex","onKeydown"])]),_:2},[e.$slots.prepend?{name:"prepend",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"prepend")]),key:"0"}:void 0,e.$slots.append?{name:"append",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"append")]),key:"1"}:void 0]),1032,["id","name","value","inputType","className","placeholder","label","isFloating","disabled","isReadonly","isClean","width","theme"]))}});module.exports=F;
1
+ "use strict";const n=require("vue"),r=require("@cldemo/ui-kit/common/base"),x=require("@cldemo/ui-kit/common/Element"),d=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CFZ5jK-q.js"),c=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DXPZYc0c.js"),F=n.defineComponent({name:"ClInputPassword",components:{ClIconFont:d._sfc_main,ClInput:c._sfc_main},__name:"Index",props:{id:String,name:String,value:[String,Number],className:String,disabled:Boolean,theme:{type:String,default:"default"},width:String,placeholder:String,label:String,isFloating:{type:Boolean,default:!1},isReadonly:Boolean,isClean:{type:Boolean,default:!0}},emits:["update:value","update:modelValue","onChange","onFocus","onBlur","onChangeBlur","onKeyupEnter","onClear","onInit","onKeydown","onKeyup"],setup(t,{expose:p,emit:m}){const s=t,a=m,g=s.id,o=n.useTemplateRef("refElInput"),l=n.ref(!1),y=n.computed(()=>l.value?"text":"password"),f=n.computed(()=>{let e={"panel-input-password":!0};return e=r.getJsonMerge(e,x.getClassNameJson(s.className)),r.getStringByJson(e," ")}),h=e=>{a("update:value",e),a("update:modelValue",e),a("onChange",e)},C=e=>{h(e)},I=e=>{a("onFocus",e)},v=e=>{a("onBlur",e)},w=e=>{a("onChangeBlur",e)},b=e=>{a("onKeyupEnter",e)},B=e=>{a("onKeydown",e)},K=e=>{a("onKeyup",e)},S=()=>{a("onClear")},V=()=>{a("onInit")},u=()=>{s.disabled||(l.value=!l.value)};return p({getValue:()=>o.value?.getValue(),getValueData:()=>o.value?.getValueData(),setValue:(e,i)=>{o.value?.setValue(e,i)},focus:()=>{o.value?.focus()}}),(e,i)=>(n.openBlock(),n.createBlock(c._sfc_main,{ref_key:"refElInput",ref:o,id:n.unref(g),name:t.name,value:t.value,inputType:y.value,className:f.value,placeholder:t.placeholder,label:t.label,isFloating:t.isFloating,disabled:t.disabled,isReadonly:t.isReadonly,isClean:t.isClean,width:t.width,theme:t.theme,onOnChange:C,onOnFocus:I,onOnBlur:v,onOnChangeBlur:w,onOnKeyupEnter:b,onOnKeydown:B,onOnKeyup:K,onOnClear:S,onOnInit:V},n.createSlots({suffix:n.withCtx(()=>[n.createVNode(d._sfc_main,{class:"input-password-icon",name:l.value?"eye":"eye-no",role:"button","aria-label":l.value?"隐藏密码":"显示密码","aria-disabled":t.disabled,tabindex:t.disabled?-1:0,onClick:u,onKeydown:[n.withKeys(n.withModifiers(u,["prevent"]),["enter"]),n.withKeys(n.withModifiers(u,["prevent"]),["space"])]},null,8,["name","aria-label","aria-disabled","tabindex","onKeydown"])]),_:2},[e.$slots.prepend?{name:"prepend",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"prepend")]),key:"0"}:void 0,e.$slots.append?{name:"append",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"append")]),key:"1"}:void 0]),1032,["id","name","value","inputType","className","placeholder","label","isFloating","disabled","isReadonly","isClean","width","theme"]))}});module.exports=F;
@@ -6,7 +6,7 @@ import { defineComponent as k, useTemplateRef as $, ref as x, computed as r, ope
6
6
  import m from "@cldemo/ui-kit/common/base";
7
7
  import M from "@cldemo/ui-kit/common/Element";
8
8
  import { _ as g } from "../Shared/Index.vue_vue_type_script_setup_true_lang-C2LGy18j.js";
9
- import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-D_XMW7K4.js";
9
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-D4a5Iaue.js";
10
10
  const W = /* @__PURE__ */ k({
11
11
  name: "ClInputPassword",
12
12
  components: {
@@ -1 +1 @@
1
- "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-BIFHYrzc.js");module.exports=e._sfc_main;
1
+ "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-qqnmaRnk.js");module.exports=e._sfc_main;
@@ -2,7 +2,7 @@ import '../../styles/Common/Token.css';
2
2
  import '../../styles/Common/IconFont-base.css';
3
3
  import '../../styles/Common/Input-base.css';
4
4
  import '../../styles/Element/ClInputSearch.css';
5
- import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-Dwkuei2j.js";
5
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-VjIva6RM.js";
6
6
  export {
7
7
  f as default
8
8
  };
@@ -1 +1 @@
1
- "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CuJjJvft.js");module.exports=e._sfc_main;
1
+ "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CsCn637u.js");module.exports=e._sfc_main;
@@ -2,7 +2,7 @@ import '../../styles/Common/Token.css';
2
2
  import '../../styles/Common/IconFont-base.css';
3
3
  import '../../styles/Common/Input-base.css';
4
4
  import '../../styles/Element/ClInputTextarea.css';
5
- import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-Cg_benGj.js";
5
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-F9tBnc_7.js";
6
6
  export {
7
7
  f as default
8
8
  };
@@ -1 +1 @@
1
- "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DgD_gHit.js");module.exports=e._sfc_main;
1
+ "use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-De1eNjwC.js");module.exports=e._sfc_main;
@@ -3,7 +3,7 @@ import '../../styles/Common/IconFont-base.css';
3
3
  import '../../styles/Common/Input-base.css';
4
4
  import '../../styles/Common/Fade-base.css';
5
5
  import '../../styles/Element/ClRadio.css';
6
- import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-c7oxeU_j.js";
6
+ import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-2THK822S.js";
7
7
  export {
8
8
  f as default
9
9
  };
@@ -1 +1 @@
1
- "use strict";const u=require("@cldemo/ui-kit/common/base"),s={required:e=>!u.isEmpty(e),number:e=>{let t=!0;if(!u.isEmpty(e)){const F=u.removeReplace(e);t=/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i.test(F)}return t},integer:e=>{let t=!0;if(!u.isEmpty(e)){const F=u.removeReplace(e);t=/^-?\d+$/.test(F)}return t},integerPositive:e=>{let t=!0;if(!u.isEmpty(e)){const F=u.removeReplace(e);t=/^[1-9]\d*$/.test(F)}return t},alphanum:e=>{let t=!0;return u.isEmpty(e)||(t=/^\w+$/i.test(e)),t},email:e=>{let t=!0;return u.isEmpty(e)||(t=/^((([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(e)),t},minLen:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=e.length>=parseInt(t,10)),F},maxLen:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=e.length<=parseInt(t,10)),F},minByte:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=u.getByteLen(e)>=parseInt(t,10)),F},maxByte:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=u.getByteLen(e)<=parseInt(t,10)),F},minGreater:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)>parseFloat(t)}return F},maxGreater:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)<parseFloat(t)}return F},minGreaterEqual:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)>=parseFloat(t)}return F},maxGreaterEqual:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)<=parseFloat(t)}return F},phone:e=>{let t=!0;return u.isEmpty(e)||(t=/^1[3-9]\d{9}$/.test(e)),t},equalto:(e,t)=>!u.isEmpty(e)&&!u.isEmpty(t)?e===t:!0,regular:(e,t)=>{let F=!0;return!u.isEmpty(e)&&!u.isEmpty(t)&&(F=new RegExp(t,"g").test(e)),F},urlHttp:e=>{let t=!0;return u.isEmpty(e)||(t=/^(http|https):\/\/[^\s]+$/.test(e)),t}},n=(e={})=>({type:u.isEmpty(e.type)?"tip":e.type,rules:u.getJsonMerge(s,e.rules),messages:u.getJsonMergeDeep({},e.messages)});module.exports=n;
1
+ "use strict";const u=require("@cldemo/ui-kit/common/base"),s={required:e=>!u.isEmpty(e),number:e=>{let t=!0;if(!u.isEmpty(e)){const F=u.removeReplace(e);t=/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i.test(F)}return t},integer:e=>{let t=!0;if(!u.isEmpty(e)){const F=u.removeReplace(e);t=/^-?\d+$/.test(F)}return t},integerPositive:e=>{let t=!0;if(!u.isEmpty(e)){const F=u.removeReplace(e);t=/^[1-9]\d*$/.test(F)}return t},alphanum:e=>{let t=!0;return u.isEmpty(e)||(t=/^\w+$/i.test(e)),t},email:e=>{let t=!0;return u.isEmpty(e)||(t=/^((([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(e)),t},minLen:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=e.length>=parseInt(t,10)),F},maxLen:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=e.length<=parseInt(t,10)),F},minByte:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=u.getByteLen(e)>=parseInt(t,10)),F},maxByte:(e,t)=>{let F=!0;return u.isEmpty(e)||(F=u.getByteLen(e)<=parseInt(t,10)),F},minGreater:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)>parseFloat(t)}return F},maxGreater:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)<parseFloat(t)}return F},minGreaterEqual:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)>=parseFloat(t)}return F},maxGreaterEqual:(e,t)=>{let F=!0;if(!u.isEmpty(e)){const r=u.removeReplace(e);F=parseFloat(r)<=parseFloat(t)}return F},phone:e=>{let t=!0;return u.isEmpty(e)||(t=/^1[3-9]\d{9}$/.test(e)),t},equalto:(e,t)=>!u.isEmpty(e)&&!u.isEmpty(t)?e===t:!0,regular:(e,t)=>{let F=!0;return!u.isEmpty(e)&&!u.isEmpty(t)&&(F=new RegExp(t,"g").test(e)),F},urlHttp:e=>{let t=!0;return u.isEmpty(e)||(t=/^(http|https):\/\/[^\s]+$/.test(e)),t},bareDomain:e=>{let t=!0;if(!u.isEmpty(e)){const F=e.toLowerCase();t=/^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$/i.test(F)}return t}},n=(e={})=>({type:u.isEmpty(e.type)?"tip":e.type,rules:u.getJsonMerge(s,e.rules),messages:u.getJsonMergeDeep({},e.messages)});module.exports=n;
@@ -31,7 +31,9 @@ const s = {
31
31
  },
32
32
  email: (e) => {
33
33
  let t = !0;
34
- return u.isEmpty(e) || (t = /^((([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(e)), t;
34
+ return u.isEmpty(e) || (t = /^((([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(
35
+ e
36
+ )), t;
35
37
  },
36
38
  minLen: (e, t) => {
37
39
  let F = !0;
@@ -93,12 +95,20 @@ const s = {
93
95
  urlHttp: (e) => {
94
96
  let t = !0;
95
97
  return u.isEmpty(e) || (t = /^(http|https):\/\/[^\s]+$/.test(e)), t;
98
+ },
99
+ bareDomain: (e) => {
100
+ let t = !0;
101
+ if (!u.isEmpty(e)) {
102
+ const F = e.toLowerCase();
103
+ t = /^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$/i.test(F);
104
+ }
105
+ return t;
96
106
  }
97
- }, i = (e = {}) => ({
107
+ }, n = (e = {}) => ({
98
108
  type: u.isEmpty(e.type) ? "tip" : e.type,
99
109
  rules: u.getJsonMerge(s, e.rules),
100
110
  messages: u.getJsonMergeDeep({}, e.messages)
101
111
  });
102
112
  export {
103
- i as default
113
+ n as default
104
114
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as re, reactive as ce, ref as x, computed as A, onMounted as ue, nextTick as O, watch as Q, openBlock as p, createElementBlock as f, normalizeClass as M, unref as R, toDisplayString as F, Fragment as J, withKeys as w, withModifiers as V, normalizeStyle as U, createElementVNode as de, renderList as pe, renderSlot as fe, createCommentVNode as me } from "vue";
2
- import s from "@cldemo/ui-kit/common/base";
3
- import ye from "@cldemo/ui-kit/common/Element";
4
- import { getGlobalConfig as ge } from "@cldemo/ui-kit/common/globalConfig";
5
- import { a as he } from "./language-CZZEj4e3.js";
1
+ import { defineComponent as ce, reactive as ue, ref as A, computed as b, onMounted as de, nextTick as G, watch as Q, openBlock as p, createElementBlock as f, normalizeClass as M, unref as P, toDisplayString as R, Fragment as F, withKeys as w, withModifiers as V, normalizeStyle as U, createElementVNode as pe, renderList as fe, renderSlot as me, createCommentVNode as ye } from "vue";
2
+ import l from "@cldemo/ui-kit/common/base";
3
+ import ge from "@cldemo/ui-kit/common/Element";
4
+ import { getPlaintextOutText as he, getGlobalConfig as ve } from "@cldemo/ui-kit/common/globalConfig";
5
+ import { a as Ee } from "./language-CZZEj4e3.js";
6
6
  /* empty css */
7
- const ve = ["id"], Ee = {
7
+ const be = ["id"], Se = {
8
8
  key: 0,
9
9
  class: "cl-plaintext-value"
10
- }, be = {
10
+ }, xe = {
11
11
  key: 2,
12
12
  class: "selectTag-container"
13
- }, Se = ["aria-selected", "aria-disabled", "tabindex"], Ce = ["aria-selected", "aria-disabled", "tabindex", "onClick", "onKeydown"], ke = ["innerHTML"], xe = { key: 1 }, $e = /* @__PURE__ */ re({
13
+ }, Ce = ["aria-selected", "aria-disabled", "tabindex"], ke = ["aria-selected", "aria-disabled", "tabindex", "onClick", "onKeydown"], Ae = ["innerHTML"], we = { key: 1 }, Me = /* @__PURE__ */ ce({
14
14
  name: "ClSelectTag",
15
15
  __name: "Index",
16
16
  props: {
@@ -55,6 +55,11 @@ const ve = ["id"], Ee = {
55
55
  default: !1
56
56
  // desc: 是否纯文本只读模式,只渲染选中项文本不挂载选项列表
57
57
  },
58
+ plaintextEmptyText: {
59
+ type: String,
60
+ default: void 0
61
+ // desc: 纯文本只读模式下值为空时的显示文本(默认 "-",显式传空串则显示空白;未显式传时依次读取组件配置段与 plaintextGlobal 段)
62
+ },
58
63
  plaintextSeparator: {
59
64
  type: String,
60
65
  default: ","
@@ -66,84 +71,86 @@ const ve = ["id"], Ee = {
66
71
  // desc: 选中值更新时触发(v-model 绑定,回传为逗号分隔字符串)
67
72
  "update:modelValue": (c) => !0,
68
73
  // desc: 标准 v-model 支持(等价 update:value)
69
- onChange: (c, I, _, l) => !0,
74
+ onChange: (c, T, I, s) => !0,
70
75
  // desc: 选中值变更时触发(radio 模式 info 为单对象,checkbox 模式为数组;changeInfo 为变更前旧值快照)
71
- onInit: (c, I, _) => !0,
76
+ onInit: (c, T, I) => !0,
72
77
  // desc: 组件初始化完成时触发(info 形态同 onChange)
73
78
  onError: (c) => !0
74
79
  // desc: 选中变更前异步校验执行异常时触发
75
80
  },
76
- setup(c, { expose: I, emit: _ }) {
77
- const l = c, h = _, { optPageLanguage: W, getPageLanguage: X } = he();
81
+ setup(c, { expose: T, emit: I }) {
82
+ const s = c, h = I, { optPageLanguage: W, getPageLanguage: X } = Ee();
78
83
  X("common");
79
- const Y = `s-${s.getRandom(5)}`, Z = l.id, K = ce({
84
+ const Y = `s-${l.getRandom(5)}`, Z = s.id, J = ue({
80
85
  theme: ""
81
- }), v = x(!1), N = (e) => {
86
+ }), v = A(!1), N = (e) => {
82
87
  let t = [];
83
- return s.isEmpty(e) || (t = e.toString().split(",")), t;
84
- }, r = x(N(l.value));
88
+ return l.isEmpty(e) || (t = e.toString().split(",")), t;
89
+ }, r = A(N(s.value));
85
90
  let E = [], d = {};
86
- const P = x(0), g = x(!1);
87
- let b = 0;
88
- const ee = A(() => {
89
- const e = l.list;
90
- return s.isArray(e) ? e.filter((t) => !s.isEmpty(t)) : [];
91
- }), te = A(() => {
92
- const e = s.isString(l.plaintextSeparator) ? l.plaintextSeparator : ",";
93
- l.list, P.value;
91
+ const K = A(0), g = A(!1);
92
+ let S = 0;
93
+ const ee = b(() => {
94
+ const e = s.list;
95
+ return l.isArray(e) ? e.filter((t) => !l.isEmpty(t)) : [];
96
+ }), te = b(() => {
97
+ const e = l.isString(s.plaintextSeparator) ? s.plaintextSeparator : ",";
98
+ s.list, K.value;
94
99
  const t = [];
95
100
  return r.value.forEach((i) => {
96
- const n = s.isExistJsonKey(d, i) ? d[i] : void 0;
97
- n && s.isNonEmptyString(n.name) && t.push(n.name);
98
- }), t.join(e);
99
- }), ie = A(() => {
100
- const { theme: e } = l, t = {
101
+ const n = l.isExistJsonKey(d, i) ? d[i] : void 0;
102
+ t.push(n && l.isNonEmptyString(n.name) ? n.name : i);
103
+ }), t.filter((i) => l.isNonEmptyString(i)).join(e);
104
+ }), ie = b(
105
+ () => he("selectTag", s.plaintextEmptyText, te.value, s.value)
106
+ ), le = b(() => {
107
+ const { theme: e } = s, t = {
101
108
  "panel-select-tag": !0
102
109
  };
103
- let i = K.theme;
104
- return e && (i = e), s.isEmpty(i) || (t[`selectTag-${i}`] = !0), s.getJsonMerge(t, ye.getClassNameJson(l.className));
105
- }), se = A(() => {
110
+ let i = J.theme;
111
+ return e && (i = e), l.isEmpty(i) || (t[`selectTag-${i}`] = !0), l.getJsonMerge(t, ge.getClassNameJson(s.className));
112
+ }), se = b(() => {
106
113
  const e = {};
107
- return s.isEmpty(l.width) || (e.width = l.width), e;
108
- }), S = (e) => {
114
+ return l.isEmpty(s.width) || (e.width = s.width), e;
115
+ }), x = (e) => {
109
116
  h("update:value", e), h("update:modelValue", e);
110
117
  }, j = (e) => {
111
- if (!s.isEqualArr(r.value, e)) {
112
- const t = s.getArrClone(r.value), i = y(t);
113
- r.value = s.getArrClone(e);
118
+ if (!l.isEqualArr(r.value, e)) {
119
+ const t = l.getArrClone(r.value), i = y(t);
120
+ r.value = l.getArrClone(e);
114
121
  const { value: n, isAll: a, info: o } = y(e);
115
- l.isShowAll && (v.value = a), S(n), h("onChange", n, o, a, {
122
+ s.isShowAll && (v.value = a), x(n), h("onChange", n, o, a, {
116
123
  value: i.value,
117
124
  info: i.info
118
125
  });
119
126
  }
120
- }, le = () => {
121
- O(() => {
127
+ }, ae = () => {
128
+ G(() => {
122
129
  const { value: e, isAll: t, info: i } = y(r.value);
123
130
  h("onInit", e, i, t);
124
131
  });
125
132
  }, y = (e) => {
126
133
  const t = [];
127
- s.isEmpty(e) || e.forEach((o) => {
128
- s.isExistJsonKey(d, o) && t.push(s.getJsonClone(d[o]));
134
+ l.isEmpty(e) || e.forEach((o) => {
135
+ l.isExistJsonKey(d, o) && t.push(l.getJsonClone(d[o]));
129
136
  });
130
137
  const i = e.join(","), n = t.length > 0 && t.length === E.length;
131
138
  let a;
132
- return l.type === "radio" ? (a = {}, t.length > 0 && (a = t[0])) : a = t, { value: i, info: a, isAll: n };
133
- }, H = (e) => !s.isEmpty(e.id) && r.value.includes(e.id.toString()), ae = (e) => {
139
+ return s.type === "radio" ? (a = {}, t.length > 0 && (a = t[0])) : a = t, { value: i, info: a, isAll: n };
140
+ }, H = (e) => !l.isEmpty(e.id) && r.value.includes(e.id.toString()), ne = (e) => {
134
141
  const t = {};
135
- return e.isHtml ? t.width = "auto" : s.isEmpty(e.width) ? s.isEmpty(l.width) || (t.width = l.width) : t.width = e.width, t;
136
- }, ne = () => {
137
- const e = ge("selectTag");
138
- e?.theme && (K.theme = e.theme);
139
- }, T = (e) => {
142
+ return e.isHtml ? t.width = "auto" : l.isEmpty(e.width) ? l.isEmpty(s.width) || (t.width = s.width) : t.width = e.width, t;
143
+ }, oe = () => {
144
+ const e = ve("selectTag");
145
+ e?.theme && (J.theme = e.theme);
146
+ }, _ = (e) => {
140
147
  const t = [];
141
148
  if (e.length > 0) {
142
- const i = d[e[0]], n = i && !s.isEmpty(i.type) ? i.type : l.type;
149
+ const i = d[e[0]], n = i && !l.isEmpty(i.type) ? i.type : s.type;
143
150
  e.forEach((a) => {
144
- if (s.isExistJsonKey(d, a)) {
151
+ if (l.isExistJsonKey(d, a)) {
145
152
  const o = d[a];
146
- if ((s.isEmpty(o.type) ? l.type : o.type) === n)
153
+ if ((l.isEmpty(o.type) ? s.type : o.type) === n)
147
154
  switch (n) {
148
155
  case "radio":
149
156
  t.length === 0 && t.push(a);
@@ -157,118 +164,118 @@ const ve = ["id"], Ee = {
157
164
  }
158
165
  return t;
159
166
  }, C = (e) => {
160
- if (d = {}, E = [], !s.isEmpty(e)) {
161
- const t = s.getArrClone(r.value);
167
+ if (d = {}, E = [], !l.isEmpty(e)) {
168
+ const t = l.getArrClone(r.value);
162
169
  e.forEach((i) => {
163
- if (s.isEmpty(i?.id))
170
+ if (l.isEmpty(i?.id))
164
171
  return;
165
172
  const n = i.id.toString();
166
- d[n] = i, i.isDisabled ? s.isExistValue(t, n) && E.push(n) : E.push(n);
173
+ d[n] = i, i.isDisabled ? l.isExistValue(t, n) && E.push(n) : E.push(n);
167
174
  });
168
175
  }
169
- P.value += 1;
176
+ K.value += 1;
170
177
  }, k = () => {
171
178
  if (g.value) {
172
179
  let e = [];
173
- s.isEmpty(r.value) || (e = T(r.value), s.isEqualArr(r.value, e) || (r.value = e, S(e.join(",")))), l.isShowAll && (v.value = e.length > 0 && e.length === E.length);
180
+ l.isEmpty(r.value) || (e = _(r.value), l.isEqualArr(r.value, e) || (r.value = e, x(e.join(",")))), s.isShowAll && (v.value = e.length > 0 && e.length === E.length);
174
181
  }
175
182
  }, B = () => {
176
- if (l.type === "radio" && l.isInitRadioValue && s.isEmpty(r.value) && !s.isEmpty(l.list)) {
177
- const e = l.list.find((t) => !t.isDisabled);
178
- if (e && !s.isEmpty(e.id)) {
183
+ if (s.type === "radio" && s.isInitRadioValue && l.isEmpty(r.value) && !l.isEmpty(s.list)) {
184
+ const e = s.list.find((t) => !t.isDisabled);
185
+ if (e && !l.isEmpty(e.id)) {
179
186
  const t = e.id.toString();
180
- r.value = [t], S(t);
187
+ r.value = [t], x(t);
181
188
  }
182
189
  }
183
190
  }, D = (e) => {
184
191
  const t = N(e);
185
- s.isEqualArr(r.value, t) || (r.value = t, S(t.join(",")));
186
- }, oe = () => {
187
- ne(), g.value = !s.isEmpty(l.list), C(l.list), B(), k();
192
+ l.isEqualArr(r.value, t) || (r.value = t, x(t.join(",")));
193
+ }, re = () => {
194
+ oe(), g.value = !l.isEmpty(s.list), C(s.list), B(), k();
188
195
  };
189
- ue(() => {
190
- O(() => {
191
- oe();
196
+ de(() => {
197
+ G(() => {
198
+ re();
192
199
  });
193
200
  }), Q(g, (e) => {
194
- e && le();
201
+ e && ae();
195
202
  }), Q(
196
- [() => l.list, () => l.value, () => l.type],
203
+ [() => s.list, () => s.value, () => s.type],
197
204
  ([e, t], [i, n]) => {
198
205
  const a = e;
199
206
  !g.value && a !== i && (g.value = !0), t !== n && D(t), C(a), t === n && B(), k();
200
207
  }
201
208
  );
202
209
  const L = async () => {
203
- if (!l.disabled && !s.isEmpty(l.list)) {
204
- const e = ++b;
205
- if (!l.list.some((o) => !o.isDisabled))
210
+ if (!s.disabled && !l.isEmpty(s.list)) {
211
+ const e = ++S;
212
+ if (!s.list.some((o) => !o.isDisabled))
206
213
  return;
207
214
  const i = [];
208
- l.list.forEach((o) => {
209
- if (s.isEmpty(o.id))
215
+ s.list.forEach((o) => {
216
+ if (l.isEmpty(o.id))
210
217
  return;
211
218
  const u = o.id.toString();
212
- o.isDisabled ? s.isExistValue(r.value, u) && i.push(u) : v.value || i.push(u);
219
+ o.isDisabled ? l.isExistValue(r.value, u) && i.push(u) : v.value || i.push(u);
213
220
  });
214
- const n = T(i);
221
+ const n = _(i);
215
222
  let a = !0;
216
- if (l.checkChangeBefore) {
217
- const { value: o } = y(n), u = y(s.getArrClone(r.value));
223
+ if (s.checkChangeBefore) {
224
+ const { value: o } = y(n), u = y(l.getArrClone(r.value));
218
225
  try {
219
- a = await l.checkChangeBefore(o, u.value), a = s.isBoolean(a) ? a : !0;
226
+ a = await s.checkChangeBefore(o, u.value), a = l.isBoolean(a) ? a : !0;
220
227
  } catch (m) {
221
228
  a = !1, h("onError", m instanceof Error ? m.message : String(m));
222
229
  }
223
230
  }
224
- a && e === b && j(n);
231
+ a && e === S && j(n);
225
232
  }
226
233
  }, $ = async (e) => {
227
- if (!e.isDisabled && !l.disabled && !s.isEmpty(e.id)) {
228
- const t = ++b;
229
- let i = l.type;
230
- i = s.isEmpty(e.type) ? i : e.type;
231
- const n = s.getArrClone(r.value);
234
+ if (!e.isDisabled && !s.disabled && !l.isEmpty(e.id)) {
235
+ const t = ++S;
236
+ let i = s.type;
237
+ i = l.isEmpty(e.type) ? i : e.type;
238
+ const n = l.getArrClone(r.value);
232
239
  let a = [];
233
240
  const o = e.id.toString();
234
241
  if (n.length === 0)
235
242
  a = [o];
236
243
  else if (i === "radio")
237
- s.isEqualArr(n, [o]) ? a = l.isRadioClickCancel ? [] : n : a = [o];
244
+ l.isEqualArr(n, [o]) ? a = s.isRadioClickCancel ? [] : n : a = [o];
238
245
  else {
239
246
  const m = d[n[0]];
240
- (m && !s.isEmpty(m.type) ? m.type : l.type) === "radio" ? a = [o] : s.isExistValue(n, o) ? a = s.getArrRemoveById(n, o) : (a = s.getArrClone(n), a.push(o));
247
+ (m && !l.isEmpty(m.type) ? m.type : s.type) === "radio" ? a = [o] : l.isExistValue(n, o) ? a = l.getArrRemoveById(n, o) : (a = l.getArrClone(n), a.push(o));
241
248
  }
242
249
  let u = !0;
243
- if (l.checkChangeBefore) {
244
- const { value: m } = y(a), G = y(n);
250
+ if (s.checkChangeBefore) {
251
+ const { value: m } = y(a), z = y(n);
245
252
  try {
246
- u = await l.checkChangeBefore(m, G.value), u = s.isBoolean(u) ? u : !0;
253
+ u = await s.checkChangeBefore(m, z.value), u = l.isBoolean(u) ? u : !0;
247
254
  } catch (q) {
248
255
  u = !1, h("onError", q instanceof Error ? q.message : String(q));
249
256
  }
250
257
  }
251
- u && t === b && j(a);
258
+ u && t === S && j(a);
252
259
  }
253
- }, z = () => T(r.value).join(",");
254
- return I({
255
- getValue: z,
260
+ }, O = () => _(r.value).join(",");
261
+ return T({
262
+ getValue: O,
256
263
  getValueData: () => {
257
- const { value: e, info: t } = y(z().split(","));
258
- return l.type === "radio" && s.isEmpty(e) ? null : t;
264
+ const { value: e, info: t } = y(O().split(","));
265
+ return s.type === "radio" && l.isEmpty(e) ? null : t;
259
266
  },
260
267
  setValue: (e) => {
261
- D(e), C(l.list), k();
268
+ D(e), C(s.list), k();
262
269
  },
263
270
  runInitComplete: () => {
264
- g.value || (g.value = !0, D(l.value), C(l.list), B(), k());
271
+ g.value || (g.value = !0, D(s.value), C(s.list), B(), k());
265
272
  }
266
273
  }), (e, t) => (p(), f("div", {
267
- id: R(Z),
268
- class: M(ie.value)
274
+ id: P(Z),
275
+ class: M(le.value)
269
276
  }, [
270
- c.isPlaintext ? (p(), f("div", Ee, F(te.value), 1)) : (p(), f(J, { key: 1 }, [], 64)),
271
- c.isPlaintext ? me("", !0) : (p(), f("ul", be, [
277
+ c.isPlaintext ? (p(), f("div", Se, R(ie.value), 1)) : (p(), f(F, { key: 1 }, [], 64)),
278
+ c.isPlaintext ? ye("", !0) : (p(), f("ul", xe, [
272
279
  c.isShowAll ? (p(), f("li", {
273
280
  key: 0,
274
281
  role: "option",
@@ -287,9 +294,9 @@ const ve = ["id"], Ee = {
287
294
  t[2] || (t[2] = w(V((i) => L(), ["prevent"]), ["space"]))
288
295
  ]
289
296
  }, [
290
- de("span", null, F(c.showAllLabel || R(W).checkboxAll), 1)
291
- ], 46, Se)) : (p(), f(J, { key: 1 }, [], 64)),
292
- (p(!0), f(J, null, pe(ee.value, (i, n) => (p(), f("li", {
297
+ pe("span", null, R(c.showAllLabel || P(W).checkboxAll), 1)
298
+ ], 46, Ce)) : (p(), f(F, { key: 1 }, [], 64)),
299
+ (p(!0), f(F, null, fe(ee.value, (i, n) => (p(), f("li", {
293
300
  key: `${Y}-${i.id}-${n}`,
294
301
  role: "option",
295
302
  "aria-selected": H(i),
@@ -300,24 +307,24 @@ const ve = ["id"], Ee = {
300
307
  "selectTag-active": H(i),
301
308
  "selectTag-disabled": i.isDisabled || c.disabled
302
309
  }),
303
- style: U(ae(i)),
310
+ style: U(ne(i)),
304
311
  onClick: (a) => $(i),
305
312
  onKeydown: [
306
313
  w(V((a) => $(i), ["prevent"]), ["enter"]),
307
314
  w(V((a) => $(i), ["prevent"]), ["space"])
308
315
  ]
309
316
  }, [
310
- fe(e.$slots, "default", { data: i }, () => [
317
+ me(e.$slots, "default", { data: i }, () => [
311
318
  i.isHtml ? (p(), f("span", {
312
319
  key: 0,
313
- innerHTML: R(s).encodeHTML(i.name)
314
- }, null, 8, ke)) : (p(), f("span", xe, F(i.name), 1))
320
+ innerHTML: P(l).encodeHTML(i.name)
321
+ }, null, 8, Ae)) : (p(), f("span", we, R(i.name), 1))
315
322
  ])
316
- ], 46, Ce))), 128))
323
+ ], 46, ke))), 128))
317
324
  ]))
318
- ], 10, ve));
325
+ ], 10, be));
319
326
  }
320
327
  });
321
328
  export {
322
- $e as _
329
+ Me as _
323
330
  };