@cldemo/ui-kit 1.1.5 → 1.1.6

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 (137) hide show
  1. package/buildLibs/all/index.cjs +6 -6
  2. package/buildLibs/all/index.css +1 -1
  3. package/buildLibs/all/index.js +77 -75
  4. package/buildLibs/mobile/index.cjs +4 -4
  5. package/buildLibs/mobile/index.css +1 -1
  6. package/buildLibs/mobile/index.js +81 -79
  7. package/buildLibs/modules/ui-kit.css +1 -1
  8. package/buildLibs/styles/Common/Btn-base.css +4 -4
  9. package/buildLibs/styles/Common/Input-base.css +6 -6
  10. package/buildLibs/styles/Common/Token.css +23 -2
  11. package/buildLibs/styles/Element/ClBadge.css +23 -5
  12. package/buildLibs/styles/Element/ClButton.css +1 -1
  13. package/buildLibs/styles/Element/ClCard.css +1 -1
  14. package/buildLibs/styles/Element/ClCheckbox.css +4 -4
  15. package/buildLibs/styles/Element/ClCheckboxOne.css +4 -4
  16. package/buildLibs/styles/Element/ClClipboard.css +1 -1
  17. package/buildLibs/styles/Element/ClEllipsis.css +1 -1
  18. package/buildLibs/styles/Element/ClForm.css +3 -3
  19. package/buildLibs/styles/Element/ClFormValidate.css +1 -1
  20. package/buildLibs/styles/Element/ClInputCaptcha.css +3 -3
  21. package/buildLibs/styles/Element/ClInputNumberStepper.css +11 -11
  22. package/buildLibs/styles/Element/ClInputTextarea.css +2 -1
  23. package/buildLibs/styles/Element/ClLoadScreen.css +1 -1
  24. package/buildLibs/styles/Element/ClModal.css +1 -1
  25. package/buildLibs/styles/Element/ClProgress.css +2 -2
  26. package/buildLibs/styles/Element/ClRadio.css +3 -3
  27. package/buildLibs/styles/Element/ClRadioOne.css +3 -3
  28. package/buildLibs/styles/Element/ClSlider.css +1 -1
  29. package/buildLibs/styles/Element/ClSwitchery.css +2 -2
  30. package/buildLibs/styles/Element/ClTags.css +3 -3
  31. package/buildLibs/styles/Element/__provide__/LoadScreen.css +1 -1
  32. package/buildLibs/styles/Mobile/ClBanner.css +1 -1
  33. package/buildLibs/styles/Mobile/ClCalendarM.css +3 -3
  34. package/buildLibs/styles/Mobile/ClCell.css +1 -1
  35. package/buildLibs/styles/Mobile/ClCellSwipe.css +2 -2
  36. package/buildLibs/styles/Mobile/ClCodeLegendM.css +1 -1
  37. package/buildLibs/styles/Mobile/ClCropperM.css +3 -3
  38. package/buildLibs/styles/Mobile/ClGrid.css +1 -1
  39. package/buildLibs/styles/Mobile/ClInputPin.css +3 -3
  40. package/buildLibs/styles/Mobile/ClNotifyM.css +4 -4
  41. package/buildLibs/styles/Mobile/ClNumberKeyboard.css +3 -3
  42. package/buildLibs/styles/Mobile/ClPicker.css +1 -1
  43. package/buildLibs/styles/Mobile/ClPickerArea.css +1 -1
  44. package/buildLibs/styles/Mobile/ClPickerDate.css +1 -1
  45. package/buildLibs/styles/Mobile/ClPickerTime.css +1 -1
  46. package/buildLibs/styles/Mobile/ClSharePanel.css +1 -1
  47. package/buildLibs/styles/Mobile/ClSidebar.css +2 -2
  48. package/buildLibs/styles/Mobile/ClSignature.css +1 -1
  49. package/buildLibs/styles/Mobile/ClSteps.css +1 -1
  50. package/buildLibs/styles/Mobile/ClTabbar.css +23 -5
  51. package/buildLibs/styles/Mobile/ClToast.css +1 -1
  52. package/buildLibs/styles/Mobile/__provide__/NotifyM.css +4 -4
  53. package/buildLibs/styles/Mobile/__provide__/Toast.css +1 -1
  54. package/buildLibs/styles/Web/ClAnchorNav.css +1 -1
  55. package/buildLibs/styles/Web/ClCalendar.css +1 -1
  56. package/buildLibs/styles/Web/ClCodeLegend.css +2 -2
  57. package/buildLibs/styles/Web/ClColorpicker.css +11 -11
  58. package/buildLibs/styles/Web/ClCropper.css +1 -1
  59. package/buildLibs/styles/Web/ClCropperPreview.css +12 -12
  60. package/buildLibs/styles/Web/ClDatetime.css +26 -26
  61. package/buildLibs/styles/Web/ClDropdownMenu.css +5 -5
  62. package/buildLibs/styles/Web/ClDropdownPopup.css +5 -5
  63. package/buildLibs/styles/Web/ClEchartsLineAxisTag.css +1 -1
  64. package/buildLibs/styles/Web/ClFileUpload.css +9 -9
  65. package/buildLibs/styles/Web/ClInputTag.css +40 -21
  66. package/buildLibs/styles/Web/ClPaginate.css +39 -21
  67. package/buildLibs/styles/Web/ClPreviewExample.css +3 -3
  68. package/buildLibs/styles/Web/ClSelect.css +37 -19
  69. package/buildLibs/styles/Web/ClSelectCascade.css +37 -19
  70. package/buildLibs/styles/Web/ClSelectTag.css +2 -2
  71. package/buildLibs/styles/Web/ClSelectTree.css +27 -9
  72. package/buildLibs/styles/Web/ClSelectmove.css +36 -18
  73. package/buildLibs/styles/Web/ClTable.css +43 -25
  74. package/buildLibs/styles/Web/ClTableEdit.css +1 -1
  75. package/buildLibs/styles/Web/ClXeditable.css +79 -60
  76. package/buildLibs/styles/Web/__directive__/Tooltip.css +1 -1
  77. package/buildLibs/styles/Web/__provide__/Alert.css +1 -1
  78. package/buildLibs/styles/Web/__provide__/Notify.css +3 -3
  79. package/buildLibs/styles/Web/__provide__/Preview.css +3 -3
  80. package/buildLibs/utils/Element/ClDarg.cjs +1 -1
  81. package/buildLibs/utils/Element/ClDarg.js +48 -46
  82. package/buildLibs/utils/Element/ClInputCaptcha.css +1 -1
  83. package/buildLibs/utils/Element/ClInputPin.css +1 -1
  84. package/buildLibs/utils/Element/ClProgress.css +1 -1
  85. package/buildLibs/utils/Element/ClSwitchery.css +1 -1
  86. package/buildLibs/utils/Mobile/ClBanner.css +1 -1
  87. package/buildLibs/utils/Mobile/ClCell.css +1 -1
  88. package/buildLibs/utils/Mobile/ClCellSwipe.css +1 -1
  89. package/buildLibs/utils/Mobile/ClGrid.css +1 -1
  90. package/buildLibs/utils/Mobile/ClNumberKeyboard.css +1 -1
  91. package/buildLibs/utils/Mobile/ClSharePanel.css +1 -1
  92. package/buildLibs/utils/Mobile/ClSidebar.css +1 -1
  93. package/buildLibs/utils/Mobile/ClSignature.css +1 -1
  94. package/buildLibs/utils/Mobile/ClSteps.css +1 -1
  95. package/buildLibs/utils/Shared/Column.css +1 -1
  96. package/buildLibs/utils/Shared/Index11.css +1 -1
  97. package/buildLibs/utils/Shared/Index12.css +1 -1
  98. package/buildLibs/utils/Shared/Index13.css +1 -1
  99. package/buildLibs/utils/Shared/Index14.css +1 -1
  100. package/buildLibs/utils/Shared/Index17.css +1 -1
  101. package/buildLibs/utils/Shared/Index19.css +1 -1
  102. package/buildLibs/utils/Shared/Index20.css +1 -1
  103. package/buildLibs/utils/Shared/Index22.css +1 -1
  104. package/buildLibs/utils/Shared/Index24.css +1 -1
  105. package/buildLibs/utils/Shared/Index26.css +1 -1
  106. package/buildLibs/utils/Shared/Index31.css +1 -1
  107. package/buildLibs/utils/Shared/Index32.css +1 -1
  108. package/buildLibs/utils/Shared/Index33.css +1 -1
  109. package/buildLibs/utils/Shared/Index35.css +1 -1
  110. package/buildLibs/utils/Shared/Index36.css +1 -1
  111. package/buildLibs/utils/Shared/Index37.css +1 -1
  112. package/buildLibs/utils/Shared/Index4.css +1 -1
  113. package/buildLibs/utils/Shared/Index40.css +1 -1
  114. package/buildLibs/utils/Shared/Index5.css +1 -1
  115. package/buildLibs/utils/Shared/Index6.css +1 -1
  116. package/buildLibs/utils/Shared/Index7.css +1 -1
  117. package/buildLibs/utils/Shared/Input.css +1 -1
  118. package/buildLibs/utils/Shared/List.css +1 -1
  119. package/buildLibs/utils/Shared/Notify.css +1 -1
  120. package/buildLibs/utils/Shared/Popup.css +1 -1
  121. package/buildLibs/utils/Shared/btn.css +1 -1
  122. package/buildLibs/utils/Shared/index3.css +1 -1
  123. package/buildLibs/utils/Shared/index42.css +1 -1
  124. package/buildLibs/utils/Web/ClCalendar.css +1 -1
  125. package/buildLibs/utils/Web/ClCalendarM.css +1 -1
  126. package/buildLibs/utils/Web/ClCodeLegend.css +1 -1
  127. package/buildLibs/utils/Web/ClColorPicker.css +1 -1
  128. package/buildLibs/utils/Web/ClCropperM.css +1 -1
  129. package/buildLibs/utils/Web/ClSelectMove.css +1 -1
  130. package/buildLibs/utils/Web/ClSelectTree.css +1 -1
  131. package/buildLibs/utils/Web/ClTable.css +1 -1
  132. package/buildLibs/utils/Web/ClTableEdit.css +1 -1
  133. package/buildLibs/web/index.cjs +5 -5
  134. package/buildLibs/web/index.css +1 -1
  135. package/buildLibs/web/index.js +76 -74
  136. package/docs/tokens/design-token.md +25 -4
  137. package/package.json +1 -1
@@ -2665,16 +2665,16 @@ function dr(t, s, a, e) {
2665
2665
  Math.pow(s.top - a.top, 2) + Math.pow(s.left - a.left, 2)
2666
2666
  ) * e.animation;
2667
2667
  }
2668
- var En = [], Ya = {
2668
+ var In = [], Ya = {
2669
2669
  initializeByDefault: !0
2670
2670
  }, Qn = {
2671
2671
  mount: function(s) {
2672
2672
  for (var a in Ya)
2673
2673
  Ya.hasOwnProperty(a) && !(a in s) && (s[a] = Ya[a]);
2674
- En.forEach(function(e) {
2674
+ In.forEach(function(e) {
2675
2675
  if (e.pluginName === s.pluginName)
2676
2676
  throw "Sortable: Cannot mount plugin ".concat(s.pluginName, " more than once");
2677
- }), En.push(s);
2677
+ }), In.push(s);
2678
2678
  },
2679
2679
  pluginEvent: function(s, a, e) {
2680
2680
  var i = this;
@@ -2682,7 +2682,7 @@ var En = [], Ya = {
2682
2682
  i.eventCanceled = !0;
2683
2683
  };
2684
2684
  var l = s + "Global";
2685
- En.forEach(function(u) {
2685
+ In.forEach(function(u) {
2686
2686
  a[u.pluginName] && (a[u.pluginName][l] && a[u.pluginName][l](
2687
2687
  qt(
2688
2688
  {
@@ -2701,7 +2701,7 @@ var En = [], Ya = {
2701
2701
  });
2702
2702
  },
2703
2703
  initializePlugins: function(s, a, e, i) {
2704
- En.forEach(function(c) {
2704
+ In.forEach(function(c) {
2705
2705
  var o = c.pluginName;
2706
2706
  if (!(!s.options[o] && !c.initializeByDefault)) {
2707
2707
  var r = new c(s, a, s.options);
@@ -2716,13 +2716,13 @@ var En = [], Ya = {
2716
2716
  },
2717
2717
  getEventProperties: function(s, a) {
2718
2718
  var e = {};
2719
- return En.forEach(function(i) {
2719
+ return In.forEach(function(i) {
2720
2720
  typeof i.eventProperties == "function" && an(e, i.eventProperties.call(a[i.pluginName], s));
2721
2721
  }), e;
2722
2722
  },
2723
2723
  modifyOption: function(s, a, e) {
2724
2724
  var i;
2725
- return En.forEach(function(l) {
2725
+ return In.forEach(function(l) {
2726
2726
  s[l.pluginName] && l.optionListeners && typeof l.optionListeners[a] == "function" && (i = l.optionListeners[a].call(s[l.pluginName], e));
2727
2727
  }), i;
2728
2728
  }
@@ -2804,7 +2804,7 @@ function Tt(t) {
2804
2804
  )
2805
2805
  );
2806
2806
  }
2807
- var Oe, On, vt, Qe, Hn, Fn, dt, Sn, ha, mt, un, An, Nt, zn, cn, In, Et, _n = !1, ka = !1, xa = [], Pt, Ut, qa, Xa, Zs, ei, Un, Dn, Yn, qn = !1, ra = !1, ga, pt, Ga = [], vs = !1, Ea = [], Rn = null, Wt = null, Qa = null, en = null, Aa = typeof document < "u", Tn = Ii, ti = Gn || on ? "cssFloat" : "float", mr = Aa && !Di && !Ii && "draggable" in document.createElement("div"), Li = (function() {
2807
+ var Oe, _n, vt, Qe, Hn, Fn, dt, Sn, ha, mt, un, An, Nt, zn, cn, Dn, Et, bn = !1, ka = !1, xa = [], Pt, Ut, qa, Xa, Zs, ei, Un, Tn, Yn, qn = !1, ra = !1, ga, pt, Ga = [], vs = !1, Ea = [], Rn = null, Wt = null, Qa = null, en = null, Aa = typeof document < "u", On = Ii, ti = Gn || on ? "cssFloat" : "float", mr = Aa && !Di && !Ii && "draggable" in document.createElement("div"), Li = (function() {
2808
2808
  if (Aa) {
2809
2809
  if (on)
2810
2810
  return !1;
@@ -2973,7 +2973,7 @@ qe.prototype = /** @lends Sortable.prototype */
2973
2973
  {
2974
2974
  constructor: qe,
2975
2975
  _isOutsideThisEl: function(s) {
2976
- !this.el.contains(s) && s !== this.el && (Dn = null);
2976
+ !this.el.contains(s) && s !== this.el && (Tn = null);
2977
2977
  },
2978
2978
  _getDirection: function(s, a) {
2979
2979
  return typeof this.options.direction == "function" ? this.options.direction.call(this, s, a, Oe) : this.options.direction;
@@ -3035,7 +3035,7 @@ qe.prototype = /** @lends Sortable.prototype */
3035
3035
  }
3036
3036
  if (f) {
3037
3037
  var v = wt(e);
3038
- if (dt = l, Oe = e, vt = Oe.parentNode, Sn = Oe.nextSibling, ha = e, In = u.group, qe.dragged = Oe, Pt = {
3038
+ if (dt = l, Oe = e, vt = Oe.parentNode, Sn = Oe.nextSibling, ha = e, Dn = u.group, qe.dragged = Oe, Pt = {
3039
3039
  target: Oe,
3040
3040
  clientX: (a || s).clientX,
3041
3041
  clientY: (a || s).clientY
@@ -3097,7 +3097,7 @@ qe.prototype = /** @lends Sortable.prototype */
3097
3097
  }
3098
3098
  },
3099
3099
  _dragStarted: function(s, a) {
3100
- if (_n = !1, dt && Oe) {
3100
+ if (bn = !1, dt && Oe) {
3101
3101
  At("dragStarted", this, {
3102
3102
  evt: a
3103
3103
  }), this.nativeDraggable && lt(document, "dragover", vr);
@@ -3138,15 +3138,15 @@ qe.prototype = /** @lends Sortable.prototype */
3138
3138
  },
3139
3139
  _onTouchMove: function(s) {
3140
3140
  if (Pt) {
3141
- var a = this.options, e = a.fallbackTolerance, i = a.fallbackOffset, l = s.touches ? s.touches[0] : s, u = Qe && (Qa || (Qa = Mn(Qe, !0))), c = Qe && u && u.a, o = Qe && u && u.d, r, f = Tn && pt ? Vt() : null, p, v;
3142
- if (Tn && pt && (en && en.el === pt && en.scrollLeft === pt.scrollLeft && en.scrollTop === pt.scrollTop && en.winTop === f.scrollTop && en.winLeft === f.scrollLeft ? r = en.offset : (r = Qs(pt), en = {
3141
+ var a = this.options, e = a.fallbackTolerance, i = a.fallbackOffset, l = s.touches ? s.touches[0] : s, u = Qe && (Qa || (Qa = Mn(Qe, !0))), c = Qe && u && u.a, o = Qe && u && u.d, r, f = On && pt ? Vt() : null, p, v;
3142
+ if (On && pt && (en && en.el === pt && en.scrollLeft === pt.scrollLeft && en.scrollTop === pt.scrollTop && en.winTop === f.scrollTop && en.winLeft === f.scrollLeft ? r = en.offset : (r = Qs(pt), en = {
3143
3143
  el: pt,
3144
3144
  scrollLeft: pt.scrollLeft,
3145
3145
  scrollTop: pt.scrollTop,
3146
3146
  winTop: f.scrollTop,
3147
3147
  winLeft: f.scrollLeft,
3148
3148
  offset: r
3149
- })), p = (l.clientX - Pt.clientX + i.x) / (c || 1) + (r ? r[0] - Ga[0] : 0) / (c || 1), v = (l.clientY - Pt.clientY + i.y) / (o || 1) + (r ? r[1] - Ga[1] : 0) / (o || 1), !qe.active && !_n) {
3149
+ })), p = (l.clientX - Pt.clientX + i.x) / (c || 1) + (r ? r[0] - Ga[0] : 0) / (c || 1), v = (l.clientY - Pt.clientY + i.y) / (o || 1) + (r ? r[1] - Ga[1] : 0) / (o || 1), !qe.active && !bn) {
3150
3150
  if (e && Math.max(Math.abs(l.clientX - this._lastX), Math.abs(l.clientY - this._lastY)) < e)
3151
3151
  return;
3152
3152
  this._onDragStart(s, !0);
@@ -3169,7 +3169,7 @@ qe.prototype = /** @lends Sortable.prototype */
3169
3169
  );
3170
3170
  if (V.isOut) {
3171
3171
  var S = 0;
3172
- Tn || (Rn == null && (Rn = Vt().scrollTop), S = Vt().scrollTop - Rn), Fn ? (u.e = Fn.e, u.f = Fn.f - S) : (V.top && (u.f = V.x * -1 - S), V.right && (u.e = V.y), V.bottom && (u.f = V.x - S), V.left && (u.e = V.y * -1));
3172
+ On || (Rn == null && (Rn = Vt().scrollTop), S = Vt().scrollTop - Rn), Fn ? (u.e = Fn.e, u.f = Fn.f - S) : (V.top && (u.f = V.x * -1 - S), V.right && (u.e = V.y), V.bottom && (u.f = V.x - S), V.left && (u.e = V.y * -1));
3173
3173
  var k = "matrix(".concat(u.a, ",").concat(u.b, ",").concat(u.c, ",").concat(u.d, ",").concat(u.e, ",").concat(u.f, ")");
3174
3174
  Ze(Qe, "transform", k);
3175
3175
  } else
@@ -3187,13 +3187,13 @@ qe.prototype = /** @lends Sortable.prototype */
3187
3187
  },
3188
3188
  _appendGhost: function() {
3189
3189
  if (!Qe) {
3190
- var s = this.options.fallbackOnBody ? document.body : dt, a = wt(Oe, !0, Tn, !0, s), e = this.options;
3191
- if (Tn) {
3190
+ var s = this.options.fallbackOnBody ? document.body : dt, a = wt(Oe, !0, On, !0, s), e = this.options;
3191
+ if (On) {
3192
3192
  for (pt = s; Ze(pt, "position") === "static" && Ze(pt, "transform") === "none" && pt !== document; )
3193
3193
  pt = pt.parentNode;
3194
3194
  pt !== document.body && pt !== document.documentElement ? (pt === document && (pt = Vt()), a.top += pt.scrollTop, a.left += pt.scrollLeft) : pt = Vt(), Ga = Qs(pt);
3195
3195
  }
3196
- Hn = Oe.cloneNode(!0), Qe = Oe.cloneNode(!0), Qe = Be.setWrapBody(Qe, this.el, this.options), $t(Qe, e.ghostClass, !1), $t(Qe, e.fallbackClass, !0), $t(Qe, e.dragClass, !0), Ze(Qe, "transition", ""), Ze(Qe, "transform", ""), Ze(Qe, "box-sizing", "border-box"), Ze(Qe, "margin", 0), Ze(Qe, "top", a.top), Ze(Qe, "left", a.left), Ze(Qe, "width", a.width), Ze(Qe, "height", a.height), Ze(Qe, "opacity", "0.8"), Ze(Qe, "position", Tn ? "absolute" : "fixed"), Ze(Qe, "zIndex", "100000"), Ze(Qe, "pointerEvents", "none"), qe.ghost = Qe, qe.ghostClone = Hn, s.appendChild(Qe), Ze(
3196
+ Hn = Oe.cloneNode(!0), Qe = Oe.cloneNode(!0), Qe = Be.setWrapBody(Qe, this.el, this.options), $t(Qe, e.ghostClass, !1), $t(Qe, e.fallbackClass, !0), $t(Qe, e.dragClass, !0), Ze(Qe, "transition", ""), Ze(Qe, "transform", ""), Ze(Qe, "box-sizing", "border-box"), Ze(Qe, "margin", 0), Ze(Qe, "top", a.top), Ze(Qe, "left", a.left), Ze(Qe, "width", a.width), Ze(Qe, "height", a.height), Ze(Qe, "opacity", "0.8"), Ze(Qe, "position", On ? "absolute" : "fixed"), Ze(Qe, "zIndex", "100000"), Ze(Qe, "pointerEvents", "none"), qe.ghost = Qe, qe.ghostClone = Hn, s.appendChild(Qe), Ze(
3197
3197
  Qe,
3198
3198
  "transform-origin",
3199
3199
  Zs / parseInt(Qe.style.width) * 100 + "% " + ei / parseInt(Qe.style.height) * 100 + "%"
@@ -3213,16 +3213,16 @@ qe.prototype = /** @lends Sortable.prototype */
3213
3213
  sortable: e,
3214
3214
  name: "clone"
3215
3215
  }));
3216
- }), !a && $t(Oe, l.dragClass, !0), a ? (ka = !0, e._loopId = setInterval(e._emulateDragOver, 50)) : (st(document, "mouseup", e._onDrop), st(document, "touchend", e._onDrop), st(document, "touchcancel", e._onDrop), i && (i.effectAllowed = "move", l.setData && l.setData.call(e, i, Oe)), lt(document, "drop", e), Ze(Oe, "transform", "translateZ(0)")), _n = !0, e._dragStartId = va(e._dragStarted.bind(e, a, s)), lt(document, "selectstart", e), Un = !0, Wn && Ze(document.body, "user-select", "none");
3216
+ }), !a && $t(Oe, l.dragClass, !0), a ? (ka = !0, e._loopId = setInterval(e._emulateDragOver, 50)) : (st(document, "mouseup", e._onDrop), st(document, "touchend", e._onDrop), st(document, "touchcancel", e._onDrop), i && (i.effectAllowed = "move", l.setData && l.setData.call(e, i, Oe)), lt(document, "drop", e), Ze(Oe, "transform", "translateZ(0)")), bn = !0, e._dragStartId = va(e._dragStarted.bind(e, a, s)), lt(document, "selectstart", e), Un = !0, Wn && Ze(document.body, "user-select", "none");
3217
3217
  },
3218
3218
  // Returns true - if no further action is needed (either inserted or another condition)
3219
3219
  _onDragOver: function(s) {
3220
- var a = this.el, e = s.target, i, l, u, c = this.options, o = c.group, r = qe.active, f = In === o, p = c.sort, v = Et || r, g, S = this, k = !1;
3220
+ var a = this.el, e = s.target, i, l, u, c = this.options, o = c.group, r = qe.active, f = Dn === o, p = c.sort, v = Et || r, g, S = this, k = !1;
3221
3221
  if (vs) return;
3222
3222
  if (Be.isTreeMode(c)) {
3223
3223
  var V = f;
3224
- if (!V && o && In) {
3225
- var D = !!o.name && o.name === In.name;
3224
+ if (!V && o && Dn) {
3225
+ var D = !!o.name && o.name === Dn.name;
3226
3226
  D && (V = typeof o.checkPut == "function" ? !!o.checkPut(this, r, Oe, s) : !0);
3227
3227
  }
3228
3228
  if (!V) {
@@ -3269,7 +3269,7 @@ qe.prototype = /** @lends Sortable.prototype */
3269
3269
  !1
3270
3270
  ), $t(Oe, c.ghostClass, !0)), Et !== S && S !== qe.active ? Et = S : S === qe.active && Et && (Et = null), v === S && (S._ignoreWhileAnimating = e), S.animateAll(function() {
3271
3271
  T("dragOverAnimationComplete"), S._ignoreWhileAnimating = null;
3272
- }), S !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (e === Oe && !Oe.animated || e === a && !e.animated) && (Dn = null), !c.dragoverBubble && !s.rootEl && e !== document) {
3272
+ }), S !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (e === Oe && !Oe.animated || e === a && !e.animated) && (Tn = null), !c.dragoverBubble && !s.rootEl && e !== document) {
3273
3273
  var F = Be._findOwnerSortable(Oe.parentNode);
3274
3274
  F && F._isOutsideThisEl(s.target), !y && vn(s);
3275
3275
  }
@@ -3288,7 +3288,7 @@ qe.prototype = /** @lends Sortable.prototype */
3288
3288
  if (s.preventDefault !== void 0 && s.cancelable && s.preventDefault(), e = jt(e, c.draggable, a, !0), T("dragOver"), qe.eventCanceled) return k;
3289
3289
  if (Oe.contains(s.target) || e.animated && e.animatingX && e.animatingY || S._ignoreWhileAnimating === e)
3290
3290
  return A(!1);
3291
- if (ka = !1, r && !c.disabled && (f ? p || (u = vt !== dt) : Et === this || (this.lastPutMode = In.checkPull(this, r, Oe, s)) && o.checkPut(this, r, Oe, s))) {
3291
+ if (ka = !1, r && !c.disabled && (f ? p || (u = vt !== dt) : Et === this || (this.lastPutMode = Dn.checkPull(this, r, Oe, s)) && o.checkPut(this, r, Oe, s))) {
3292
3292
  if (g = this._getDirection(s, e) === "vertical", i = wt(Oe), T("dragOverValid"), qe.eventCanceled) return k;
3293
3293
  if (u)
3294
3294
  return vt = dt, L(), this._hideClone(), T("revert"), qe.eventCanceled || (Be.setCrossEl(e, this.options), Sn ? dt.insertBefore(Oe, Sn) : dt.appendChild(Oe)), A(!0);
@@ -3311,7 +3311,7 @@ qe.prototype = /** @lends Sortable.prototype */
3311
3311
  e.animated && e.toRect || l,
3312
3312
  g
3313
3313
  ), ie = g ? "top" : "left", Y = Gs(e, "top", "top") || Gs(Oe, "top", "top"), U = Y ? Y.scrollTop : void 0;
3314
- Dn !== e && (x = l[ie], qn = !1, ra = !z && c.invertSwap || O), _ = Cr(
3314
+ Tn !== e && (x = l[ie], qn = !1, ra = !z && c.invertSwap || O), _ = Cr(
3315
3315
  s,
3316
3316
  e,
3317
3317
  l,
@@ -3319,7 +3319,7 @@ qe.prototype = /** @lends Sortable.prototype */
3319
3319
  z ? 1 : c.swapThreshold,
3320
3320
  c.invertedSwapThreshold == null ? c.swapThreshold : c.invertedSwapThreshold,
3321
3321
  ra,
3322
- Dn === e
3322
+ Tn === e
3323
3323
  );
3324
3324
  var I;
3325
3325
  if (_ !== 0) {
@@ -3330,7 +3330,7 @@ qe.prototype = /** @lends Sortable.prototype */
3330
3330
  }
3331
3331
  if (_ === 0 || I === e)
3332
3332
  return A(!1);
3333
- Dn = e, Yn = _;
3333
+ Tn = e, Yn = _;
3334
3334
  var h = e.nextElementSibling, w = !1;
3335
3335
  w = _ === 1;
3336
3336
  var b = ca(dt, a, Oe, i, e, l, s, w);
@@ -3364,7 +3364,7 @@ qe.prototype = /** @lends Sortable.prototype */
3364
3364
  this._nulling();
3365
3365
  return;
3366
3366
  }
3367
- _n = !1, ra = !1, qn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ys(this.cloneId), ys(this._dragStartId), this.nativeDraggable && (st(document, "drop", this), st(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Wn && Ze(document.body, "user-select", ""), Ze(Oe, "transform", ""), s && (Un && (s.cancelable && s.preventDefault(), !i.dropBubble && s.stopPropagation()), Qe && Qe.parentNode && Qe.parentNode.removeChild(Qe), (dt === vt || Et && Et.lastPutMode !== "clone") && mt && mt.parentNode && mt.parentNode.removeChild(mt), Oe && (this.nativeDraggable && st(Oe, "dragend", this), Za(Oe), Oe.style["will-change"] = "", Un && !_n && $t(
3367
+ bn = !1, ra = !1, qn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ys(this.cloneId), ys(this._dragStartId), this.nativeDraggable && (st(document, "drop", this), st(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Wn && Ze(document.body, "user-select", ""), Ze(Oe, "transform", ""), s && (Un && (s.cancelable && s.preventDefault(), !i.dropBubble && s.stopPropagation()), Qe && Qe.parentNode && Qe.parentNode.removeChild(Qe), (dt === vt || Et && Et.lastPutMode !== "clone") && mt && mt.parentNode && mt.parentNode.removeChild(mt), Oe && (this.nativeDraggable && st(Oe, "dragend", this), Za(Oe), Oe.style["will-change"] = "", Un && !bn && $t(
3368
3368
  Oe,
3369
3369
  Et ? Et.options.ghostClass : this.options.ghostClass,
3370
3370
  !1
@@ -3417,7 +3417,7 @@ qe.prototype = /** @lends Sortable.prototype */
3417
3417
  });
3418
3418
  },
3419
3419
  _nulling: function() {
3420
- At("nulling", this), dt = Oe = On = vt = Qe = Hn = Sn = mt = ha = un = Pt = Ut = Un = Nt = cn = An = zn = Dn = Yn = Et = In = qe.dragged = qe.ghost = qe.ghostClone = qe.clone = qe.active = Fn = Rn = Qa = en = null, Be._clearHiddenBox(), Be.resetTreeState(), Ea.forEach(function(s) {
3420
+ At("nulling", this), dt = Oe = _n = vt = Qe = Hn = Sn = mt = ha = un = Pt = Ut = Un = Nt = cn = An = zn = Tn = Yn = Et = Dn = qe.dragged = qe.ghost = qe.ghostClone = qe.clone = qe.active = Fn = Rn = Qa = en = null, Be._clearHiddenBox(), Be.resetTreeState(), Ea.forEach(function(s) {
3421
3421
  s.checked = !0;
3422
3422
  }), Ea.length = qa = Xa = 0;
3423
3423
  },
@@ -3491,11 +3491,13 @@ qe.prototype = /** @lends Sortable.prototype */
3491
3491
  * Destroy
3492
3492
  */
3493
3493
  destroy: function() {
3494
- At("destroy", this);
3495
- var s = this.el;
3496
- s[It] = null, st(s, "mousedown", this._onTapStart), st(s, "touchstart", this._onTapStart), st(s, "pointerdown", this._onTapStart), this.nativeDraggable && (st(s, "dragover", this), st(s, "dragenter", this)), Array.prototype.forEach.call(s.querySelectorAll("[draggable]"), function(a) {
3497
- a.removeAttribute("draggable");
3498
- }), this._offMoveEvents(), this._offUpEvents(), this._onDrop(), Qe && Qe.parentNode && (Qe.parentNode.removeChild(Qe), Qe = null), this._disableDelayedDragEvents(), xa.splice(xa.indexOf(this.el), 1), this.el = s = null;
3494
+ if (this.el) {
3495
+ At("destroy", this);
3496
+ var s = this.el;
3497
+ s[It] = null, st(s, "mousedown", this._onTapStart), st(s, "touchstart", this._onTapStart), st(s, "pointerdown", this._onTapStart), this.nativeDraggable && (st(s, "dragover", this), st(s, "dragenter", this)), Array.prototype.forEach.call(s.querySelectorAll("[draggable]"), function(a) {
3498
+ a.removeAttribute("draggable");
3499
+ }), this._offMoveEvents(), this._offUpEvents(), this._disableDelayedDragEvents(), clearTimeout(this._dragStartTimer), bn = !1, this._onDrop(), Qe && Qe.parentNode && (Qe.parentNode.removeChild(Qe), Qe = null), xa.splice(xa.indexOf(this.el), 1), this.el = s = null;
3500
+ }
3499
3501
  },
3500
3502
  _hideClone: function() {
3501
3503
  if (!un) {
@@ -3573,7 +3575,7 @@ function ys(t) {
3573
3575
  return clearTimeout(t);
3574
3576
  }
3575
3577
  Aa && lt(document, "touchmove", function(t) {
3576
- (qe.active || _n) && t.cancelable && t.preventDefault();
3578
+ (qe.active || bn) && t.cancelable && t.preventDefault();
3577
3579
  });
3578
3580
  qe.utils = {
3579
3581
  on: lt,
@@ -3876,7 +3878,7 @@ const Be = {
3876
3878
  var a = Be.checkCross(Oe, t, s);
3877
3879
  if (!a.isSameStruct) {
3878
3880
  const e = Oe.cloneNode(!0);
3879
- Be._moveToHiddenBox(Oe), On ? (Oe = On, On = null) : Oe = a.newEl, On || (On = e);
3881
+ Be._moveToHiddenBox(Oe), _n ? (Oe = _n, _n = null) : Oe = a.newEl, _n || (_n = e);
3880
3882
  }
3881
3883
  },
3882
3884
  crossDropEnd: (t, s) => new Promise((a, e) => {
@@ -6148,7 +6150,7 @@ const Ji = (t, s, a) => {
6148
6150
  ], 64))
6149
6151
  ], 14, lc));
6150
6152
  }
6151
- }), wn = /* @__PURE__ */ xe({
6153
+ }), Cn = /* @__PURE__ */ xe({
6152
6154
  name: "ClInputNumber",
6153
6155
  components: {
6154
6156
  ClInput: ht
@@ -6502,7 +6504,7 @@ const Ji = (t, s, a) => {
6502
6504
  }, ss = 120, is = 1e3, hc = /* @__PURE__ */ xe({
6503
6505
  name: "ClInputCaptcha",
6504
6506
  components: {
6505
- ClInputNumber: wn
6507
+ ClInputNumber: Cn
6506
6508
  },
6507
6509
  __name: "Index",
6508
6510
  props: {
@@ -6591,7 +6593,7 @@ const Ji = (t, s, a) => {
6591
6593
  id: he(l),
6592
6594
  class: ge(o.value)
6593
6595
  }, [
6594
- ve(wn, {
6596
+ ve(Cn, {
6595
6597
  theme: t.theme,
6596
6598
  isNumber: !0,
6597
6599
  decimal: 0,
@@ -6733,7 +6735,7 @@ const Ji = (t, s, a) => {
6733
6735
  }), vc = ["id"], Sa = /* @__PURE__ */ xe({
6734
6736
  name: "ClInputNumberStepper",
6735
6737
  components: {
6736
- ClInputNumber: wn,
6738
+ ClInputNumber: Cn,
6737
6739
  ClInputnumberstepperButton: os,
6738
6740
  ClIconFont: Ne
6739
6741
  },
@@ -6978,7 +6980,7 @@ const Ji = (t, s, a) => {
6978
6980
  id: he(o),
6979
6981
  class: ge(V.value)
6980
6982
  }, [
6981
- ve(wn, {
6983
+ ve(Cn, {
6982
6984
  ref_key: "refElInput",
6983
6985
  ref: i,
6984
6986
  value: u.value,
@@ -7551,7 +7553,7 @@ const Ji = (t, s, a) => {
7551
7553
  ], 64))
7552
7554
  ], 14, wc));
7553
7555
  }
7554
- }), kc = ["id"], xc = ["id", "href", "target", "rel"], Ec = ["id", "href"], Ic = ["id"], bn = /* @__PURE__ */ xe({
7556
+ }), kc = ["id"], xc = ["id", "href", "target", "rel"], Ec = ["id", "href"], Ic = ["id"], wn = /* @__PURE__ */ xe({
7555
7557
  name: "ClLink",
7556
7558
  __name: "Index",
7557
7559
  props: {
@@ -18542,7 +18544,7 @@ const wd = /* @__PURE__ */ xe({
18542
18544
  ref: u,
18543
18545
  onFocus: p
18544
18546
  }, [
18545
- ve(bn, {
18547
+ ve(wn, {
18546
18548
  url: t.url,
18547
18549
  disabled: t.disabled,
18548
18550
  isHideUnderline: !0,
@@ -19862,15 +19864,15 @@ const wd = /* @__PURE__ */ xe({
19862
19864
  const Gt = ft.id.toString();
19863
19865
  if (Le.has(Gt)) return;
19864
19866
  Le.add(Gt);
19865
- const Cn = me[Gt] || [];
19867
+ const kn = me[Gt] || [];
19866
19868
  we.push({
19867
19869
  ...ft,
19868
19870
  _level: Ke,
19869
19871
  _parentName: ut,
19870
- _hasChildren: Cn.length > 0,
19872
+ _hasChildren: kn.length > 0,
19871
19873
  // parentSelectable 契约:级联父级(有子级项)不可选中时置为禁用
19872
- isDisabled: ft.isDisabled || Cn.length > 0 && !e.parentSelectable
19873
- }), Cn.length > 0 && He(Cn, Ke + 1, ft.name);
19874
+ isDisabled: ft.isDisabled || kn.length > 0 && !e.parentSelectable
19875
+ }), kn.length > 0 && He(kn, Ke + 1, ft.name);
19874
19876
  });
19875
19877
  };
19876
19878
  return He(Ee, 0, ""), we;
@@ -25033,7 +25035,7 @@ const wd = /* @__PURE__ */ xe({
25033
25035
  "sideNav-menu-parent-active": i(o) && t.activePId.includes(o.id)
25034
25036
  })
25035
25037
  }, [
25036
- ve(bn, {
25038
+ ve(wn, {
25037
25039
  "aria-haspopup": i(o) ? "true" : void 0,
25038
25040
  "aria-expanded": i(o) ? String(t.openId.includes(o.id)) : void 0,
25039
25041
  "aria-current": i(o) ? void 0 : t.activeId === o.id ? "page" : void 0,
@@ -25187,7 +25189,7 @@ const wd = /* @__PURE__ */ xe({
25187
25189
  }, null, 8, ["list", "activeId", "activePId", "openId"])
25188
25190
  ], 2),
25189
25191
  R("div", Mg, [
25190
- ve(bn, {
25192
+ ve(wn, {
25191
25193
  className: "sideNav-menu-footer-bar",
25192
25194
  "aria-label": "展开或收起菜单",
25193
25195
  "aria-expanded": String(!l.isMenushrink),
@@ -26710,7 +26712,7 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
26710
26712
  if (n.isEmpty(fe) || n.isEmpty(fe.id))
26711
26713
  return;
26712
26714
  const We = fe.id.toString(), Ye = n.getArrClone(U.open), ot = Ye.indexOf(We), xt = ot === -1;
26713
- xt ? (Ye.push(We), Ke(We)) : (Ye.splice(ot, 1), ut(We), (W.value || te.value) && E.value && E.value.removeElasticAbsolute(We)), Cn(Ie, xt);
26715
+ xt ? (Ye.push(We), Ke(We)) : (Ye.splice(ot, 1), ut(We), (W.value || te.value) && E.value && E.value.removeElasticAbsolute(We)), kn(Ie, xt);
26714
26716
  const St = n.isBoolean(Re) ? Re : !0;
26715
26717
  U.open = Ye, St && ue(We, fe, ke, xt, Ie), He();
26716
26718
  }, Gt = () => {
@@ -26731,7 +26733,7 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
26731
26733
  });
26732
26734
  }
26733
26735
  fe.length > 0 && (_.value = fe);
26734
- }, Cn = (fe, ke = !1) => {
26736
+ }, kn = (fe, ke = !1) => {
26735
26737
  if (fe) {
26736
26738
  const Ie = [], Re = ["elastic-expand", "elastic-retract"];
26737
26739
  ke ? Ie.push("elastic-expand") : Ie.push("elastic-retract");
@@ -27092,9 +27094,9 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
27092
27094
  }
27093
27095
  re(ke, Ie, We);
27094
27096
  }
27095
- }, kn = (fe, ke = -1) => {
27097
+ }, xn = (fe, ke = -1) => {
27096
27098
  C.hoverTrIndex = fe, C.hoverTrElasticIndex = ke;
27097
- }, xn = () => {
27099
+ }, En = () => {
27098
27100
  C.hoverTrIndex = -1, C.hoverTrElasticIndex = -1;
27099
27101
  }, xo = (fe, ke) => {
27100
27102
  e.disabled || C.isRunLoading || e.isPaginate && (r.changeNewPaginate.pages = fe, r.changeNewPaginate.limit = ke, !e.isServer && e.isParamTriggerServer ? X() : ln({ isChangePage: !0 }));
@@ -27189,8 +27191,8 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
27189
27191
  widthMinClassPrefix: t.widthMinClassPrefix,
27190
27192
  onOnClickAll: Ha,
27191
27193
  onOnClickOrderBy: Ua,
27192
- onOnHoverIn: kn,
27193
- onOnHoverOut: xn,
27194
+ onOnHoverIn: xn,
27195
+ onOnHoverOut: En,
27194
27196
  ref_key: "refElHeadTable",
27195
27197
  ref: V
27196
27198
  }, Jt({ _: 2 }, [
@@ -27239,8 +27241,8 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
27239
27241
  widthMinClassPrefix: t.widthMinClassPrefix,
27240
27242
  onOnClickAll: Ha,
27241
27243
  onOnClickOrderBy: Ua,
27242
- onOnHoverIn: kn,
27243
- onOnHoverOut: xn
27244
+ onOnHoverIn: xn,
27245
+ onOnHoverOut: En
27244
27246
  }, Jt({ _: 2 }, [
27245
27247
  ze($.value, (Ie) => ({
27246
27248
  name: Ie,
@@ -27288,8 +27290,8 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
27288
27290
  widthMinClassPrefix: t.widthMinClassPrefix,
27289
27291
  onOnClickAll: Ha,
27290
27292
  onOnClickOrderBy: Ua,
27291
- onOnHoverIn: kn,
27292
- onOnHoverOut: xn
27293
+ onOnHoverIn: xn,
27294
+ onOnHoverOut: En
27293
27295
  }, Jt({ _: 2 }, [
27294
27296
  ze($.value, (Ie) => ({
27295
27297
  name: Ie,
@@ -27390,8 +27392,8 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
27390
27392
  widthClassPrefix: t.widthClassPrefix,
27391
27393
  widthMinClassPrefix: t.widthMinClassPrefix,
27392
27394
  onOnClickTr: Ja,
27393
- onOnHoverIn: kn,
27394
- onOnHoverOut: xn,
27395
+ onOnHoverIn: xn,
27396
+ onOnHoverOut: En,
27395
27397
  ref_key: "refElBodyTable",
27396
27398
  ref: E
27397
27399
  }, Jt({ _: 2 }, [
@@ -27450,8 +27452,8 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
27450
27452
  widthClassPrefix: t.widthClassPrefix,
27451
27453
  widthMinClassPrefix: t.widthMinClassPrefix,
27452
27454
  onOnClickTr: Ja,
27453
- onOnHoverIn: kn,
27454
- onOnHoverOut: xn
27455
+ onOnHoverIn: xn,
27456
+ onOnHoverOut: En
27455
27457
  }, Jt({ _: 2 }, [
27456
27458
  ze(Q.value, (Ie) => ({
27457
27459
  name: Ie,
@@ -27509,8 +27511,8 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
27509
27511
  widthClassPrefix: t.widthClassPrefix,
27510
27512
  widthMinClassPrefix: t.widthMinClassPrefix,
27511
27513
  onOnClickTr: Ja,
27512
- onOnHoverIn: kn,
27513
- onOnHoverOut: xn
27514
+ onOnHoverIn: xn,
27515
+ onOnHoverOut: En
27514
27516
  }, Jt({ _: 2 }, [
27515
27517
  ze(Q.value, (Ie) => ({
27516
27518
  name: Ie,
@@ -28146,7 +28148,7 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
28146
28148
  };
28147
28149
  return (T, L) => (d(), m("div", $v, [
28148
28150
  R("div", null, [
28149
- (d(!0), m(oe, null, ze(c.value, (A) => (d(), De(bn, {
28151
+ (d(!0), m(oe, null, ze(c.value, (A) => (d(), De(wn, {
28150
28152
  key: `${u}-${A.id}`,
28151
28153
  disabled: t.disabled,
28152
28154
  isLight: !0,
@@ -28162,7 +28164,7 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
28162
28164
  }, 1032, ["disabled", "onOnClick", "onOnHoverIn", "onOnHoverOut"]))), 128))
28163
28165
  ]),
28164
28166
  R("div", null, [
28165
- ve(bn, {
28167
+ ve(wn, {
28166
28168
  disabled: t.disabled,
28167
28169
  isLight: !0,
28168
28170
  isHideUnderline: !1,
@@ -28173,7 +28175,7 @@ const iv = ["id"], ov = { class: "table-wrapper" }, lv = {
28173
28175
  ]),
28174
28176
  _: 1
28175
28177
  }, 8, ["disabled"]),
28176
- ve(bn, {
28178
+ ve(wn, {
28177
28179
  disabled: t.disabled,
28178
28180
  isLight: !0,
28179
28181
  isHideUnderline: !1,
@@ -29454,13 +29456,13 @@ const Xv = { class: "xeditable-body" }, Gv = { class: "xeditable-form" }, Qv = {
29454
29456
  msgElementId: M.value ? `#${D.keyIndex}_errmsg` : ""
29455
29457
  }, {
29456
29458
  default: Pe(() => [
29457
- t.type === "inputNumber" ? (d(), De(wn, gt({
29459
+ t.type === "inputNumber" ? (d(), De(Cn, gt({
29458
29460
  key: 0,
29459
29461
  ref_key: "refElFormEdit",
29460
29462
  ref: p,
29461
29463
  value: D.subUnitValue,
29462
29464
  "onUpdate:value": j[1] || (j[1] = (pe) => D.subUnitValue = pe)
29463
- }, T.value, { onOnInit: te }), null, 16, ["value"])) : t.type === "input" && T.value.isNumber ? (d(), De(wn, gt({
29465
+ }, T.value, { onOnInit: te }), null, 16, ["value"])) : t.type === "input" && T.value.isNumber ? (d(), De(Cn, gt({
29464
29466
  key: 1,
29465
29467
  ref_key: "refElFormEdit",
29466
29468
  ref: p,
@@ -30689,7 +30691,7 @@ const go = {
30689
30691
  Cl,
30690
30692
  ql,
30691
30693
  pl,
30692
- bn,
30694
+ wn,
30693
30695
  ji,
30694
30696
  _a,
30695
30697
  zi,
@@ -30710,7 +30712,7 @@ const go = {
30710
30712
  As,
30711
30713
  Cs,
30712
30714
  hc,
30713
- wn,
30715
+ Cn,
30714
30716
  Sa,
30715
30717
  yc,
30716
30718
  Zn,
@@ -30816,13 +30818,13 @@ export {
30816
30818
  Cs as ClImage,
30817
30819
  ht as ClInput,
30818
30820
  hc as ClInputCaptcha,
30819
- wn as ClInputNumber,
30821
+ Cn as ClInputNumber,
30820
30822
  Sa as ClInputNumberStepper,
30821
30823
  yc as ClInputPassword,
30822
30824
  Zn as ClInputSearch,
30823
30825
  oo as ClInputTag,
30824
30826
  Ms as ClInputTextarea,
30825
- bn as ClLink,
30827
+ wn as ClLink,
30826
30828
  Ft as ClLoad,
30827
30829
  Tc as ClLoadFullCenter,
30828
30830
  ea as ClLoadIng,
@@ -139,7 +139,7 @@ Token 遵循 CSS 自定义属性的作用域规则,**在任意容器上覆盖
139
139
 
140
140
  ## 五、Token 速查表
141
141
 
142
- 共 **212** 个 token。
142
+ 共 **233** 个 token。
143
143
 
144
144
  ### 5.1 日常最常用
145
145
 
@@ -274,12 +274,16 @@ Token 遵循 CSS 自定义属性的作用域规则,**在任意容器上覆盖
274
274
  | `--cl-text-tertiary` | `#aaaaaa` | 占位符、辅助信息、时间戳 |
275
275
  | `--cl-text-disabled` | `#c8c9cc` | 禁用态 |
276
276
  | `--cl-text-inverse` | `#ffffff` | 深色底上的文字 |
277
+ | `--cl-text-on-accent` | `#1a1a1a` | 彩色强调面(主色/成功/警告徽标)上的文字:亮色下强调色偏亮,需深字 |
278
+ | `--cl-bg-badge-yellow` | `#8a6a00` | 黄色徽标底色:原 #fbe300 与白/深字均不达标(1.31:1),改深琥珀保证白字 5.07:1 |
277
279
 
278
280
  **边框**
279
281
 
280
282
  | Token | 值 | 用途 |
281
283
  |-------|-----|------|
282
- | `--cl-border` | `#cfcfcf` | 通用边框 |
284
+ | `--cl-border` | `#cfcfcf` | 通用边框(展示型:容器、浮层、分隔) |
285
+ | `--cl-border-control` | `rgba(255, 255, 255, 0.16)` | 控件型:可交互控件骨架(输入/下拉/文本域等),默认继承展示型,消费方可单独调深 |
286
+ | `--cl-border-disabled` | `rgba(255, 255, 255, 0.16)` | 禁用态控件边框:默认继承展示型而非控件型,避免消费方调深 control 后"禁用比可用更深"的语义反转 |
283
287
  | `--cl-border-light` | `#dcdcdc` | 表格分隔线 |
284
288
  | `--cl-border-strong` | `#b8b8b8` | 强调边框 |
285
289
  | `--cl-border-focus` | `#8c8c8c` | 聚焦边框(对白底 3.36:1,达 WCAG 非文本 3:1) |
@@ -291,8 +295,11 @@ Token 遵循 CSS 自定义属性的作用域规则,**在任意容器上覆盖
291
295
  | `--cl-bg` | `#ffffff` | 映射自 `var(--cl-white)` |
292
296
  | `--cl-bg-subtle` | `#fafafa` | 映射自 `var(--cl-neutral-50)` |
293
297
  | `--cl-bg-muted` | `#f5f5f5` | 映射自 `var(--cl-neutral-100)` |
294
- | `--cl-bg-active` | `#f2f3f5` | 按下态背景 |
298
+ | `--cl-bg-active` | `#f2f3f5` | 按下态背景(轻反馈,与键盘等浅底容器同层) |
295
299
  | `--cl-bg-hover` | `#f0f0f0` | 大面积元素的悬停/聚焦底色(浅于 neutral-150,避免观感过重) |
300
+ | `--cl-bg-press` | `#cfcfcf` | 按压反馈底色:用于 :active 需明显区别于 --cl-bg-active 底色的场合(如键盘按键、列表项) |
301
+ | `--cl-bg-inverse` | `#323233` | 反色底(深色小块,如 bg-black 徽标):承载白字,不随主题翻转 |
302
+ | `--cl-bg-badge-gray` | `#5c6672` | 灰徽标底色:原 #848D98 白字仅 3.36:1,调深至 5.84:1 |
296
303
 
297
304
  #### alpha / 遮罩层 —— rgba() 值的落点
298
305
 
@@ -459,12 +466,15 @@ Token 遵循 CSS 自定义属性的作用域规则,**在任意容器上覆盖
459
466
  | `--cl-text-tertiary` | `rgba(255, 255, 255, 0.45)` | |
460
467
  | `--cl-text-disabled` | `rgba(255, 255, 255, 0.3)` | |
461
468
  | `--cl-text-inverse` | `#1a1a1a` | |
469
+ | `--cl-text-on-accent` | `#1a1a1a` | 暗色下主色/成功色反而更亮(#3d9ef5 / #34c77b),同样需深字 |
462
470
 
463
471
  **边框 / 背景**
464
472
 
465
473
  | Token | 值 | 用途 |
466
474
  |-------|-----|------|
467
475
  | `--cl-border` | `rgba(255, 255, 255, 0.16)` | |
476
+ | `--cl-border-control` | `rgba(255, 255, 255, 0.16)` | 映射自 `var(--cl-border)` |
477
+ | `--cl-border-disabled` | `rgba(255, 255, 255, 0.16)` | 映射自 `var(--cl-border)` |
468
478
  | `--cl-border-light` | `rgba(255, 255, 255, 0.1)` | |
469
479
  | `--cl-border-strong` | `rgba(255, 255, 255, 0.28)` | |
470
480
  | `--cl-border-focus` | `rgba(255, 255, 255, 0.4)` | |
@@ -473,6 +483,10 @@ Token 遵循 CSS 自定义属性的作用域规则,**在任意容器上覆盖
473
483
  | `--cl-bg-muted` | `#262626` | |
474
484
  | `--cl-bg-active` | `#303030` | |
475
485
  | `--cl-bg-hover` | `#2e2e2e` | |
486
+ | `--cl-bg-press` | `#4a4a4a` | |
487
+ | `--cl-bg-inverse` | `#323233` | |
488
+ | `--cl-bg-badge-gray` | `#5c6672` | |
489
+ | `--cl-bg-badge-yellow` | `#8a6a00` | |
476
490
 
477
491
  **遮罩:暗底上要更重,否则浮层与背景分不开**
478
492
 
@@ -527,7 +541,10 @@ Token 遵循 CSS 自定义属性的作用域规则,**在任意容器上覆盖
527
541
  | `--cl-text-tertiary` | `rgba(255, 255, 255, 0.45)` | |
528
542
  | `--cl-text-disabled` | `rgba(255, 255, 255, 0.3)` | |
529
543
  | `--cl-text-inverse` | `#1a1a1a` | |
544
+ | `--cl-text-on-accent` | `#1a1a1a` | |
530
545
  | `--cl-border` | `rgba(255, 255, 255, 0.16)` | |
546
+ | `--cl-border-control` | `rgba(255, 255, 255, 0.16)` | 映射自 `var(--cl-border)` |
547
+ | `--cl-border-disabled` | `rgba(255, 255, 255, 0.16)` | 映射自 `var(--cl-border)` |
531
548
  | `--cl-border-light` | `rgba(255, 255, 255, 0.1)` | |
532
549
  | `--cl-border-strong` | `rgba(255, 255, 255, 0.28)` | |
533
550
  | `--cl-border-focus` | `rgba(255, 255, 255, 0.4)` | |
@@ -536,6 +553,10 @@ Token 遵循 CSS 自定义属性的作用域规则,**在任意容器上覆盖
536
553
  | `--cl-bg-muted` | `#262626` | |
537
554
  | `--cl-bg-active` | `#303030` | |
538
555
  | `--cl-bg-hover` | `#2e2e2e` | |
556
+ | `--cl-bg-press` | `#4a4a4a` | |
557
+ | `--cl-bg-inverse` | `#323233` | |
558
+ | `--cl-bg-badge-gray` | `#5c6672` | |
559
+ | `--cl-bg-badge-yellow` | `#8a6a00` | |
539
560
  | `--cl-mask-light` | `rgba(0, 0, 0, 0.45)` | |
540
561
  | `--cl-mask` | `rgba(0, 0, 0, 0.6)` | |
541
562
  | `--cl-overlay` | `rgba(0, 0, 0, 0.75)` | |
@@ -598,4 +619,4 @@ Token 是 CSS 自定义属性,遵循**就近生效**原则:
598
619
 
599
620
  ### Q6:Token 会影响打包体积吗?
600
621
 
601
- Token 定义约 13.4 KB(未压缩),且全站只加载一次。
622
+ Token 定义约 15.0 KB(未压缩),且全站只加载一次。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cldemo/ui-kit",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "type": "module",
5
5
  "preview": false,
6
6
  "author": "lei.che Email: chelei_714@126.com",