@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";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),l=require("./base.cjs"),o=i.reactive({}),s=e=>{l.default.isObject(e)&&Object.keys(e).forEach(t=>{const n=e[t],r=o[t];if(l.default.isUndefined(n)){delete o[t];return}if(l.default.isObject(n)){o[t]=l.default.getJsonMergeDeep(r||{},n);return}l.default.isObject(r)||(o[t]=n)})},u=e=>o[e],a={setGlobalConfig:s,getGlobalConfig:u};exports.default=a;exports.getGlobalConfig=u;exports.setGlobalConfig=s;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("vue"),t=require("./base.cjs"),r=c.reactive({}),f=l=>{t.default.isObject(l)&&Object.keys(l).forEach(i=>{const e=l[i],n=r[i];if(t.default.isUndefined(e)){delete r[i];return}if(t.default.isObject(e)){r[i]=t.default.getJsonMergeDeep(n||{},e);return}t.default.isObject(n)||(r[i]=e)})},o=l=>r[l],d="plaintextGlobal",g="-",u=(l,i)=>{if(t.default.isString(i))return i;const e=o(l),n=e&&t.default.isExistJsonKey(e,"plaintextEmptyText")?e.plaintextEmptyText:void 0;if(t.default.isString(n))return n;const s=o(d),a=s&&t.default.isExistJsonKey(s,"plaintextEmptyText")?s.plaintextEmptyText:void 0;return t.default.isString(a)?a:g},T=(l,i,e,n)=>t.default.isNonEmptyString(e)?e:t.default.isNumber(e)&&t.default.isFinite(e)?e.toString():t.default.isNonEmptyString(n)?n:t.default.isNumber(n)&&t.default.isFinite(n)?n.toString():u(l,i),E={setGlobalConfig:f,getGlobalConfig:o,getPlaintextEmptyText:u,getPlaintextOutText:T};exports.PLAINTEXT_EMPTY_TEXT_DEFAULT=g;exports.PLAINTEXT_GLOBAL_CONFIG_KEY=d;exports.default=E;exports.getGlobalConfig=o;exports.getPlaintextEmptyText=u;exports.getPlaintextOutText=T;exports.setGlobalConfig=f;
@@ -1,24 +1,38 @@
1
- import { reactive as i } from "vue";
2
- import o from "./base.js";
3
- const r = i({}), c = (e) => {
4
- o.isObject(e) && Object.keys(e).forEach((t) => {
5
- const n = e[t], s = r[t];
6
- if (o.isUndefined(n)) {
7
- delete r[t];
1
+ import { reactive as g } from "vue";
2
+ import t from "./base.js";
3
+ const o = g({}), a = (r) => {
4
+ t.isObject(r) && Object.keys(r).forEach((e) => {
5
+ const n = r[e], i = o[e];
6
+ if (t.isUndefined(n)) {
7
+ delete o[e];
8
8
  return;
9
9
  }
10
- if (o.isObject(n)) {
11
- r[t] = o.getJsonMergeDeep(s || {}, n);
10
+ if (t.isObject(n)) {
11
+ o[e] = t.getJsonMergeDeep(i || {}, n);
12
12
  return;
13
13
  }
14
- o.isObject(s) || (r[t] = n);
14
+ t.isObject(i) || (o[e] = n);
15
15
  });
16
- }, f = (e) => r[e], b = {
17
- setGlobalConfig: c,
18
- getGlobalConfig: f
16
+ }, l = (r) => o[r], u = "plaintextGlobal", E = "-", f = (r, e) => {
17
+ if (t.isString(e))
18
+ return e;
19
+ const n = l(r), i = n && t.isExistJsonKey(n, "plaintextEmptyText") ? n.plaintextEmptyText : void 0;
20
+ if (t.isString(i))
21
+ return i;
22
+ const s = l(u), c = s && t.isExistJsonKey(s, "plaintextEmptyText") ? s.plaintextEmptyText : void 0;
23
+ return t.isString(c) ? c : E;
24
+ }, m = (r, e, n, i) => t.isNonEmptyString(n) ? n : t.isNumber(n) && t.isFinite(n) ? n.toString() : t.isNonEmptyString(i) ? i : t.isNumber(i) && t.isFinite(i) ? i.toString() : f(r, e), b = {
25
+ setGlobalConfig: a,
26
+ getGlobalConfig: l,
27
+ getPlaintextEmptyText: f,
28
+ getPlaintextOutText: m
19
29
  };
20
30
  export {
31
+ E as PLAINTEXT_EMPTY_TEXT_DEFAULT,
32
+ u as PLAINTEXT_GLOBAL_CONFIG_KEY,
21
33
  b as default,
22
- f as getGlobalConfig,
23
- c as setGlobalConfig
34
+ l as getGlobalConfig,
35
+ f as getPlaintextEmptyText,
36
+ m as getPlaintextOutText,
37
+ a as setGlobalConfig
24
38
  };
@@ -1 +1 @@
1
- "use strict";const e={common:{submit:"Submit",save:"Save",cancel:"Cancel",update:"Modify",close:"Close",delete:"Delete",deleteAll:"Delete All",upload:"Upload",download:"Download",preview:"Preview",restore:"Restore",clear:"Clear",clearEmpty:"Clear All",clearAll:"Clear All",copy:"Copy",custom:"Custom",loading:"Loading",noDataText:"No Data",noResultsText:"No Result",checkboxAll:"Select All",selected:"Selected",count:"Count",add:"Add",checkAddMax:"Add Maximum",checkAddMin:"Add Minimum",pleaseSelect:"Select"},validate:{required:"Required",number:"Please enter number",integer:"Please enter integer",integerPositive:"Please enter positive integer",alphanum:"Please enter number or letter",email:"Error Email",minLen:"Cannot less than %s characters",maxLen:"Cannot more than %s characters",minByte:"Cannot less than %s Bytes",maxByte:"Cannot more than %s Bytes",minGreater:"Must more than %s",maxGreater:"Must less than %s",minGreaterEqual:"Cannot less than %s",maxGreaterEqual:"Cannot more than %s",phone:"Error phone number",equalto:"Different Value"},dataTime:{am:"am",pm:"pm",year:"year",prevYear:"Last Year",prevMonth:"Last Month",nextYear:"Next Year",nextMonth:"Next Month",prevYear10:"Last Decade",nextYear10:"Next Decade",today:"Today",yesterDay:"Yesterday",pastDays7:"Last 7 Days",pastDays30:"Last 30 Days",montCurrent:"This Month",montLast:"Last Month",montLately6:"Last Half Year",yearCurrent:"This Year",yearLast:"Last Year",rangeStartLabel:"Start",checkEndMinLabel:"Error end time",checkStartMaxLabel:"Error end time",checkStartMinLabel:"Error start time",checkStartEndLabel:"End time cannot before start time",checkRangeEmptyLabel:"Select start and end time"},fileUpload:{checkImageWHLabel:"Error image dimension",checkSuffixMimeLabel:"Error type",checkSizeLabel:"Error file size",uploadFile:"Upload File"},weekHour:{daily:"Daily",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday",weekday:"Weekday",weekend:"Weekend",restDay:"Rest day",dawn:"Midnight",morning:"AM",noon:"Noon",afternoon:"PM",evening:"Evenfall",night:"Evening",selected:"Include",selectedNot:"Exclude"},paginate:{page:"Page",pageStrip:"Lines/Page",jumpTo:"Page to",statistic:"Records ${s} to ${e} , ${_total} Records in Total"},xEditable:{required:"Required",submitCallback:"Error SubmitCallback"}};module.exports=e;
1
+ "use strict";const e={common:{submit:"Submit",save:"Save",cancel:"Cancel",update:"Modify",close:"Close",delete:"Delete",deleteAll:"Delete All",upload:"Upload",download:"Download",preview:"Preview",restore:"Restore",clear:"Clear",clearEmpty:"Clear All",clearAll:"Clear All",copy:"Copy",custom:"Custom",loading:"Loading",noDataText:"No Data",noResultsText:"No Result",checkboxAll:"Select All",selected:"Selected",count:"Count",add:"Add",checkAddMax:"Add Maximum",checkAddMin:"Add Minimum",pleaseSelect:"Select"},validate:{required:"Required",number:"Please enter number",integer:"Please enter integer",integerPositive:"Please enter positive integer",alphanum:"Please enter number or letter",email:"Error Email",minLen:"Cannot less than %s characters",maxLen:"Cannot more than %s characters",minByte:"Cannot less than %s Bytes",maxByte:"Cannot more than %s Bytes",minGreater:"Must more than %s",maxGreater:"Must less than %s",minGreaterEqual:"Cannot less than %s",maxGreaterEqual:"Cannot more than %s",phone:"Error phone number",equalto:"Different Value",urlHttp:"The URL format is incorrect, please start with http or https",bareDomain:"Please enter the correct domain, without http:// or https://"},dataTime:{am:"am",pm:"pm",year:"year",prevYear:"Last Year",prevMonth:"Last Month",nextYear:"Next Year",nextMonth:"Next Month",prevYear10:"Last Decade",nextYear10:"Next Decade",today:"Today",yesterDay:"Yesterday",pastDays7:"Last 7 Days",pastDays30:"Last 30 Days",montCurrent:"This Month",montLast:"Last Month",montLately6:"Last Half Year",yearCurrent:"This Year",yearLast:"Last Year",rangeStartLabel:"Start",checkEndMinLabel:"Error end time",checkStartMaxLabel:"Error end time",checkStartMinLabel:"Error start time",checkStartEndLabel:"End time cannot before start time",checkRangeEmptyLabel:"Select start and end time"},fileUpload:{checkImageWHLabel:"Error image dimension",checkSuffixMimeLabel:"Error type",checkSizeLabel:"Error file size",uploadFile:"Upload File"},weekHour:{daily:"Daily",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday",weekday:"Weekday",weekend:"Weekend",restDay:"Rest day",dawn:"Midnight",morning:"AM",noon:"Noon",afternoon:"PM",evening:"Evenfall",night:"Evening",selected:"Include",selectedNot:"Exclude"},paginate:{page:"Page",pageStrip:"Lines/Page",jumpTo:"Page to",statistic:"Records ${s} to ${e} , ${_total} Records in Total"},xEditable:{required:"Required",submitCallback:"Error SubmitCallback"}};module.exports=e;
@@ -43,7 +43,9 @@ const e = {
43
43
  minGreaterEqual: "Cannot less than %s",
44
44
  maxGreaterEqual: "Cannot more than %s",
45
45
  phone: "Error phone number",
46
- equalto: "Different Value"
46
+ equalto: "Different Value",
47
+ urlHttp: "The URL format is incorrect, please start with http or https",
48
+ bareDomain: "Please enter the correct domain, without http:// or https://"
47
49
  },
48
50
  dataTime: {
49
51
  am: "am",
@@ -1 +1 @@
1
- "use strict";const e={common:{submit:"确定",save:"保存",cancel:"取消",update:"修改",close:"关闭",delete:"删除",deleteAll:"全部删除",upload:"上传",download:"下载",preview:"预览",restore:"还原",clear:"清除",clearEmpty:"清空",clearAll:"全部清除",copy:"复制",custom:"自定义",loading:"加载中",noDataText:"暂无数据",noResultsText:"未找到结果",checkboxAll:"全选",selected:"已选",count:"个",add:"添加",checkAddMax:"最多添加",checkAddMin:"最少保留",pleaseSelect:"请选择"},validate:{required:"此项不能为空",number:"请输入数字",integer:"请输入整数",integerPositive:"请输入正整数",alphanum:"请输入数字或字母",email:"邮箱格式不正确",minLen:"输入值的长度不能小于 %s 个字",maxLen:"输入值的长度不能大于 %s 个字",minByte:"输入值的长度不能小于 %s 个字节",maxByte:"输入值的长度不能大于 %s 个字节",minGreater:"输入值请大于 %s",maxGreater:"输入值请小于 %s",minGreaterEqual:"输入值请大于或等于 %s",maxGreaterEqual:"输入值请小于或等于 %s",phone:"手机号不正确",equalto:"两次输入值不同"},dataTime:{am:"上午",pm:"下午",year:"年",prevYear:"上一年",prevMonth:"上一月",nextYear:"下一年",nextMonth:"下一月",prevYear10:"前十年",nextYear10:"后十年",today:"今天",yesterDay:"昨天",pastDays7:"过去7天",pastDays30:"过去30天",montCurrent:"本月",montLast:"上月",montLately6:"最近半年",yearCurrent:"今年",yearLast:"去年",rangeStartLabel:"开始",checkEndMinLabel:"结束时间不能小于设置的最小时间",checkStartMaxLabel:"时间不能大于设置的最大时间",checkStartMinLabel:"时间不能小于设置的最小时间",checkStartEndLabel:" ",checkRangeEmptyLabel:"请选择完整的开始时间,结束时间"},fileUpload:{checkImageWHLabel:"图片宽高不匹配",checkSuffixMimeLabel:"类型不匹配",checkSizeLabel:"大小不匹配",uploadFile:"上传文件"},weekHour:{daily:"每日",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日",weekday:"工作日",weekend:"周末",restDay:"休息日",dawn:"凌晨",morning:"上午",noon:"中午",afternoon:"下午",evening:"傍晚",night:"晚上",selected:"已定向",selectedNot:"未定向"},paginate:{page:"页",pageStrip:"页/条",jumpTo:"跳转至",statistic:"显示第 ${s} 至 ${e} 项结果,共 ${_total} 项"},xEditable:{required:"此项不能为空",submitCallback:"submitCallback的返回格式不正确"}};module.exports=e;
1
+ "use strict";const e={common:{submit:"确定",save:"保存",cancel:"取消",update:"修改",close:"关闭",delete:"删除",deleteAll:"全部删除",upload:"上传",download:"下载",preview:"预览",restore:"还原",clear:"清除",clearEmpty:"清空",clearAll:"全部清除",copy:"复制",custom:"自定义",loading:"加载中",noDataText:"暂无数据",noResultsText:"未找到结果",checkboxAll:"全选",selected:"已选",count:"个",add:"添加",checkAddMax:"最多添加",checkAddMin:"最少保留",pleaseSelect:"请选择"},validate:{required:"此项不能为空",number:"请输入数字",integer:"请输入整数",integerPositive:"请输入正整数",alphanum:"请输入数字或字母",email:"邮箱格式不正确",minLen:"输入值的长度不能小于 %s 个字",maxLen:"输入值的长度不能大于 %s 个字",minByte:"输入值的长度不能小于 %s 个字节",maxByte:"输入值的长度不能大于 %s 个字节",minGreater:"输入值请大于 %s",maxGreater:"输入值请小于 %s",minGreaterEqual:"输入值请大于或等于 %s",maxGreaterEqual:"输入值请小于或等于 %s",phone:"手机号不正确",equalto:"两次输入值不同",urlHttp:"url格式不正确,请以http或https开头",bareDomain:"请输入正确的域名,不带 http://"},dataTime:{am:"上午",pm:"下午",year:"年",prevYear:"上一年",prevMonth:"上一月",nextYear:"下一年",nextMonth:"下一月",prevYear10:"前十年",nextYear10:"后十年",today:"今天",yesterDay:"昨天",pastDays7:"过去7天",pastDays30:"过去30天",montCurrent:"本月",montLast:"上月",montLately6:"最近半年",yearCurrent:"今年",yearLast:"去年",rangeStartLabel:"开始",checkEndMinLabel:"结束时间不能小于设置的最小时间",checkStartMaxLabel:"时间不能大于设置的最大时间",checkStartMinLabel:"时间不能小于设置的最小时间",checkStartEndLabel:" ",checkRangeEmptyLabel:"请选择完整的开始时间,结束时间"},fileUpload:{checkImageWHLabel:"图片宽高不匹配",checkSuffixMimeLabel:"类型不匹配",checkSizeLabel:"大小不匹配",uploadFile:"上传文件"},weekHour:{daily:"每日",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日",weekday:"工作日",weekend:"周末",restDay:"休息日",dawn:"凌晨",morning:"上午",noon:"中午",afternoon:"下午",evening:"傍晚",night:"晚上",selected:"已定向",selectedNot:"未定向"},paginate:{page:"页",pageStrip:"页/条",jumpTo:"跳转至",statistic:"显示第 ${s} 至 ${e} 项结果,共 ${_total} 项"},xEditable:{required:"此项不能为空",submitCallback:"submitCallback的返回格式不正确"}};module.exports=e;
@@ -43,7 +43,9 @@ const e = {
43
43
  minGreaterEqual: "输入值请大于或等于 %s",
44
44
  maxGreaterEqual: "输入值请小于或等于 %s",
45
45
  phone: "手机号不正确",
46
- equalto: "两次输入值不同"
46
+ equalto: "两次输入值不同",
47
+ urlHttp: "url格式不正确,请以http或https开头",
48
+ bareDomain: "请输入正确的域名,不带 http://"
47
49
  },
48
50
  dataTime: {
49
51
  am: "上午",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./base.cjs"),g=require("./Tools.cjs"),a=require("./Element.cjs"),u=require("./Element/Event.cjs"),m=require("./day.cjs"),C=require("./axios.cjs"),f=require("./browserProgress.cjs"),L=require("./promise.cjs"),q=require("./tooltip.cjs"),E=require("./i18n.cjs"),i=require("./globalConfig.cjs"),p=require("./log.cjs");require("vue");const n=require("@cldemo/ui-kit/common/i18n"),b=require("@cldemo/ui-kit/common/i18n/a11y"),s=require("@cldemo/ui-kit/common/globalConfig");n.initMerge({packageData:b});const r="locale",l="zh_cn";function y(){const o=s.getGlobalConfig(r);if(typeof o=="string"&&o.length>0)return o;const e=n.getType();if(typeof e=="string"&&e.length>0)return e;if(e&&typeof e=="object"&&"type"in e){const t=e.type;if(typeof t=="string"&&t.length>0)return t}return l}function A(o){n.setType(o),s.setGlobalConfig({[r]:o})}exports.CommonBase=c.default;exports.CommonTools=g.default;exports.CommonElement=a;exports.CommonElementEvent=u.default;exports.CommonDay=m;exports.CommonAxios=C;exports.CommonBrowserProgress=f;exports.CommonPromise=L;exports.CommonTooltip=q;exports.CommonI18n=E;exports.getGlobalConfig=i.getGlobalConfig;exports.setGlobalConfig=i.setGlobalConfig;exports.clLog=p.clLog;exports.DEFAULT_LOCALE=l;exports.LOCALE_CONFIG_KEY=r;exports.readLocale=y;exports.setLocale=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./base.cjs"),a=require("./Tools.cjs"),c=require("./Element.cjs"),u=require("./Element/Event.cjs"),m=require("./day.cjs"),C=require("./axios.cjs"),f=require("./browserProgress.cjs"),L=require("./promise.cjs"),E=require("./tooltip.cjs"),p=require("./i18n.cjs"),t=require("./globalConfig.cjs"),q=require("./log.cjs");require("vue");const r=require("@cldemo/ui-kit/common/i18n"),y=require("@cldemo/ui-kit/common/i18n/a11y"),s=require("@cldemo/ui-kit/common/globalConfig");r.initMerge({packageData:y});const i="locale",l="zh_cn";function b(){const o=s.getGlobalConfig(i);if(typeof o=="string"&&o.length>0)return o;const e=r.getType();if(typeof e=="string"&&e.length>0)return e;if(e&&typeof e=="object"&&"type"in e){const n=e.type;if(typeof n=="string"&&n.length>0)return n}return l}function T(o){r.setType(o),s.setGlobalConfig({[i]:o})}exports.CommonBase=g.default;exports.CommonTools=a.default;exports.CommonElement=c;exports.CommonElementEvent=u.default;exports.CommonDay=m;exports.CommonAxios=C;exports.CommonBrowserProgress=f;exports.CommonPromise=L;exports.CommonTooltip=E;exports.CommonI18n=p;exports.getGlobalConfig=t.getGlobalConfig;exports.getPlaintextEmptyText=t.getPlaintextEmptyText;exports.getPlaintextOutText=t.getPlaintextOutText;exports.setGlobalConfig=t.setGlobalConfig;exports.clLog=q.clLog;exports.DEFAULT_LOCALE=l;exports.LOCALE_CONFIG_KEY=i;exports.readLocale=b;exports.setLocale=T;
@@ -1,51 +1,53 @@
1
1
  import { default as d } from "./base.js";
2
- import { default as y } from "./Tools.js";
3
- import { default as A } from "./Element.js";
2
+ import { default as L } from "./Tools.js";
3
+ import { default as T } from "./Element.js";
4
4
  import { default as _ } from "./Element/Event.js";
5
5
  import { default as G } from "./day.js";
6
- import { default as O } from "./axios.js";
7
- import { default as P } from "./browserProgress.js";
6
+ import { default as P } from "./axios.js";
7
+ import { default as D } from "./browserProgress.js";
8
8
  import { default as F } from "./promise.js";
9
9
  import { default as Y } from "./tooltip.js";
10
10
  import { default as k } from "./i18n.js";
11
- import { getGlobalConfig as w, setGlobalConfig as z } from "./globalConfig.js";
12
- import { clLog as K } from "./log.js";
11
+ import { getGlobalConfig as w, getPlaintextEmptyText as z, getPlaintextOutText as H, setGlobalConfig as K } from "./globalConfig.js";
12
+ import { clLog as N } from "./log.js";
13
13
  import "vue";
14
14
  import r from "@cldemo/ui-kit/common/i18n";
15
15
  import m from "@cldemo/ui-kit/common/i18n/a11y";
16
16
  import { getGlobalConfig as f, setGlobalConfig as a } from "@cldemo/ui-kit/common/globalConfig";
17
17
  r.initMerge({ packageData: m });
18
- const n = "locale", s = "zh_cn";
19
- function C() {
20
- const e = f(n);
21
- if (typeof e == "string" && e.length > 0) return e;
18
+ const n = "locale", l = "zh_cn";
19
+ function u() {
20
+ const t = f(n);
21
+ if (typeof t == "string" && t.length > 0) return t;
22
22
  const o = r.getType();
23
23
  if (typeof o == "string" && o.length > 0) return o;
24
24
  if (o && typeof o == "object" && "type" in o) {
25
- const t = o.type;
26
- if (typeof t == "string" && t.length > 0) return t;
25
+ const e = o.type;
26
+ if (typeof e == "string" && e.length > 0) return e;
27
27
  }
28
- return s;
28
+ return l;
29
29
  }
30
- function u(e) {
31
- r.setType(e), a({ [n]: e });
30
+ function C(t) {
31
+ r.setType(t), a({ [n]: t });
32
32
  }
33
33
  export {
34
- O as CommonAxios,
34
+ P as CommonAxios,
35
35
  d as CommonBase,
36
- P as CommonBrowserProgress,
36
+ D as CommonBrowserProgress,
37
37
  G as CommonDay,
38
- A as CommonElement,
38
+ T as CommonElement,
39
39
  _ as CommonElementEvent,
40
40
  k as CommonI18n,
41
41
  F as CommonPromise,
42
- y as CommonTools,
42
+ L as CommonTools,
43
43
  Y as CommonTooltip,
44
- s as DEFAULT_LOCALE,
44
+ l as DEFAULT_LOCALE,
45
45
  n as LOCALE_CONFIG_KEY,
46
- K as clLog,
46
+ N as clLog,
47
47
  w as getGlobalConfig,
48
- C as readLocale,
49
- z as setGlobalConfig,
50
- u as setLocale
48
+ z as getPlaintextEmptyText,
49
+ H as getPlaintextOutText,
50
+ u as readLocale,
51
+ K as setGlobalConfig,
52
+ C as setLocale
51
53
  };