@koi-design/uxd-ui 14.0.6 → 14.0.7

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 (143) hide show
  1. package/es/components/Card/Card.d.ts +9 -9
  2. package/es/components/Card/Card.mjs +19 -26
  3. package/es/components/Card/Card.mjs.map +1 -1
  4. package/es/components/Card/Card.type.d.ts +4 -4
  5. package/es/components/Card/Card.type.mjs +4 -4
  6. package/es/components/Card/Card.type.mjs.map +1 -1
  7. package/es/components/Card/index.d.ts +15 -15
  8. package/es/components/DatePicker/DatePicker.mjs +2 -4
  9. package/es/components/DatePicker/DatePicker.mjs.map +1 -1
  10. package/es/components/DatePicker/Panel/DatePickerPanel.mjs +1 -0
  11. package/es/components/DatePicker/Panel/DatePickerPanel.mjs.map +1 -1
  12. package/es/components/Layout/Layout.type.d.ts +2 -7
  13. package/es/components/Layout/Layout.type.mjs +2 -7
  14. package/es/components/Layout/Layout.type.mjs.map +1 -1
  15. package/es/components/Layout/Sider.mjs +20 -16
  16. package/es/components/Layout/Sider.mjs.map +1 -1
  17. package/es/components/Layout/Sider.vue.d.ts +9 -17
  18. package/es/components/Layout/index.d.ts +9 -17
  19. package/es/components/Menu/Menu.d.ts +0 -11
  20. package/es/components/Menu/Menu.mjs +1 -3
  21. package/es/components/Menu/Menu.mjs.map +1 -1
  22. package/es/components/Menu/Menu.type.d.ts +0 -6
  23. package/es/components/Menu/Menu.type.mjs +0 -5
  24. package/es/components/Menu/Menu.type.mjs.map +1 -1
  25. package/es/components/Menu/SubMenu.mjs +1 -3
  26. package/es/components/Menu/SubMenu.mjs.map +1 -1
  27. package/es/components/Menu/SubMenu.vue.d.ts +0 -1
  28. package/es/components/Menu/index.d.ts +0 -19
  29. package/es/components/Table/BaseTable.vue.d.ts +0 -19
  30. package/es/components/Table/BodyTable.vue.d.ts +0 -19
  31. package/es/components/Table/HeadTable.vue.d.ts +0 -19
  32. package/es/components/Table/Table.vue.d.ts +0 -38
  33. package/es/components/Table/TableBox.vue.d.ts +0 -38
  34. package/es/components/Table/tableUnits/FilterDropdown.vue.d.ts +0 -19
  35. package/es/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +0 -19
  36. package/es/components/Table/tableUnits/TableHeader.vue.d.ts +0 -19
  37. package/es/components/Table/tableUnits/TableHeaderRow.vue.d.ts +0 -19
  38. package/es/components/base/CollapseTransition.mjs +0 -16
  39. package/es/components/base/CollapseTransition.mjs.map +1 -1
  40. package/es/components/base/hooks/useGlobalConfig.d.ts +1 -0
  41. package/es/components/locale/default.d.ts +1 -0
  42. package/es/components/locale/default.mjs.map +1 -1
  43. package/lib/components/Card/Card.d.ts +9 -9
  44. package/lib/components/Card/Card.js +22 -29
  45. package/lib/components/Card/Card.js.map +1 -1
  46. package/lib/components/Card/Card.type.d.ts +4 -4
  47. package/lib/components/Card/Card.type.js +4 -4
  48. package/lib/components/Card/Card.type.js.map +1 -1
  49. package/lib/components/Card/index.d.ts +15 -15
  50. package/lib/components/DatePicker/DatePicker.js +2 -4
  51. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  52. package/lib/components/DatePicker/Panel/DatePickerPanel.js +1 -0
  53. package/lib/components/DatePicker/Panel/DatePickerPanel.js.map +1 -1
  54. package/lib/components/Layout/Layout.type.d.ts +2 -7
  55. package/lib/components/Layout/Layout.type.js +2 -7
  56. package/lib/components/Layout/Layout.type.js.map +1 -1
  57. package/lib/components/Layout/Sider.js +19 -15
  58. package/lib/components/Layout/Sider.js.map +1 -1
  59. package/lib/components/Layout/Sider.vue.d.ts +9 -17
  60. package/lib/components/Layout/index.d.ts +9 -17
  61. package/lib/components/Menu/Menu.d.ts +0 -11
  62. package/lib/components/Menu/Menu.js +1 -3
  63. package/lib/components/Menu/Menu.js.map +1 -1
  64. package/lib/components/Menu/Menu.type.d.ts +0 -6
  65. package/lib/components/Menu/Menu.type.js +0 -5
  66. package/lib/components/Menu/Menu.type.js.map +1 -1
  67. package/lib/components/Menu/SubMenu.js +1 -3
  68. package/lib/components/Menu/SubMenu.js.map +1 -1
  69. package/lib/components/Menu/SubMenu.vue.d.ts +0 -1
  70. package/lib/components/Menu/index.d.ts +0 -19
  71. package/lib/components/Table/BaseTable.vue.d.ts +0 -19
  72. package/lib/components/Table/BodyTable.vue.d.ts +0 -19
  73. package/lib/components/Table/HeadTable.vue.d.ts +0 -19
  74. package/lib/components/Table/Table.vue.d.ts +0 -38
  75. package/lib/components/Table/TableBox.vue.d.ts +0 -38
  76. package/lib/components/Table/tableUnits/FilterDropdown.vue.d.ts +0 -19
  77. package/lib/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +0 -19
  78. package/lib/components/Table/tableUnits/TableHeader.vue.d.ts +0 -19
  79. package/lib/components/Table/tableUnits/TableHeaderRow.vue.d.ts +0 -19
  80. package/lib/components/base/CollapseTransition.js +0 -16
  81. package/lib/components/base/CollapseTransition.js.map +1 -1
  82. package/lib/components/base/hooks/useGlobalConfig.d.ts +1 -0
  83. package/lib/components/locale/default.d.ts +1 -0
  84. package/lib/components/locale/default.js.map +1 -1
  85. package/package.json +1 -1
  86. package/styles/components/alert/index.css +1 -1
  87. package/styles/components/autoComplete/index.css +1 -1
  88. package/styles/components/avatar/index.css +1 -1
  89. package/styles/components/breadcrumb/index.css +1 -1
  90. package/styles/components/breadcrumb/index.less +5 -6
  91. package/styles/components/breadcrumb/var.less +4 -6
  92. package/styles/components/button/index.css +1 -1
  93. package/styles/components/card/index.css +1 -1
  94. package/styles/components/card/index.less +64 -70
  95. package/styles/components/card/var.less +4 -13
  96. package/styles/components/carousel/index.css +1 -1
  97. package/styles/components/cascader/index.css +1 -1
  98. package/styles/components/datePicker/index.css +1 -1
  99. package/styles/components/form/index.css +1 -1
  100. package/styles/components/icon/index.css +1 -1
  101. package/styles/components/input/index.css +1 -1
  102. package/styles/components/inputNumber/index.css +1 -1
  103. package/styles/components/layout/index.css +1 -1
  104. package/styles/components/layout/index.less +40 -55
  105. package/styles/components/layout/var.less +9 -41
  106. package/styles/components/link/index.css +1 -1
  107. package/styles/components/mentions/index.css +1 -1
  108. package/styles/components/menu/index.css +1 -1
  109. package/styles/components/menu/index.less +63 -207
  110. package/styles/components/menu/var.less +39 -69
  111. package/styles/components/modal/index.css +1 -1
  112. package/styles/components/select/index.css +1 -1
  113. package/styles/components/spin/index.css +1 -1
  114. package/styles/components/timePicker/index.css +1 -1
  115. package/styles/cssVariable.css +1 -1
  116. package/styles/cssVariable.less +8 -7
  117. package/styles/index.css +1 -1
  118. package/types/components/Card/Card.d.ts +9 -9
  119. package/types/components/Card/Card.type.d.ts +4 -4
  120. package/types/components/Card/index.d.ts +15 -15
  121. package/types/components/Layout/Layout.type.d.ts +2 -7
  122. package/types/components/Layout/Sider.vue.d.ts +9 -17
  123. package/types/components/Layout/index.d.ts +9 -17
  124. package/types/components/Menu/Menu.d.ts +0 -11
  125. package/types/components/Menu/Menu.type.d.ts +0 -6
  126. package/types/components/Menu/SubMenu.vue.d.ts +0 -1
  127. package/types/components/Menu/index.d.ts +0 -19
  128. package/types/components/Table/BaseTable.vue.d.ts +0 -19
  129. package/types/components/Table/BodyTable.vue.d.ts +0 -19
  130. package/types/components/Table/HeadTable.vue.d.ts +0 -19
  131. package/types/components/Table/Table.vue.d.ts +0 -38
  132. package/types/components/Table/TableBox.vue.d.ts +0 -38
  133. package/types/components/Table/tableUnits/FilterDropdown.vue.d.ts +0 -19
  134. package/types/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +0 -19
  135. package/types/components/Table/tableUnits/TableHeader.vue.d.ts +0 -19
  136. package/types/components/Table/tableUnits/TableHeaderRow.vue.d.ts +0 -19
  137. package/types/components/base/hooks/useGlobalConfig.d.ts +1 -0
  138. package/types/components/locale/default.d.ts +1 -0
  139. package/uxd-ui.css +1 -1
  140. package/uxd-ui.esm.min.mjs +6 -6
  141. package/uxd-ui.esm.mjs +373 -406
  142. package/uxd-ui.umd.js +372 -405
  143. package/uxd-ui.umd.min.js +6 -6
package/uxd-ui.esm.mjs CHANGED
@@ -1,7 +1,7 @@
1
- /*! @koi-design/uxd-ui@4.0.6 */
1
+ /*! @koi-design/uxd-ui@4.0.7 */
2
2
 
3
3
  import { defineComponent, reactive, watch, provide, inject, computed, onMounted, ref, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, withDirectives, vShow, createBlock, resolveDynamicComponent, createCommentVNode, toRaw, resolveComponent, Transition, withCtx, createVNode, toDisplayString, isVNode, Comment as Comment$1, Fragment, Text as Text$1, h, shallowRef, toRef, nextTick, onUpdated, onUnmounted, cloneVNode, Teleport, toRefs, withModifiers, mergeProps, renderList, onBeforeUpdate, createTextVNode, createStaticVNode, watchEffect, onActivated, onDeactivated, normalizeProps, guardReactiveProps, withKeys, TransitionGroup, createApp, onBeforeMount, unref } from 'vue';
4
- import { X, Terminal, CircleAlert, Info, CircleCheck, LoaderCircle, CircleX, Search, Eye, EyeOff, Check, CornerDownLeft, ChevronUp, ChevronDown, ChevronRight, MenuIcon, Minus, ChevronLeft, CheckCircle, ChevronsLeft, ChevronsRight, Calendar as Calendar$1, ZoomIn, ZoomOut, RotateCcw, RotateCw, PanelLeft, Image as Image$2, XCircle, Star as Star$1, CheckIcon, XIcon, FilterIcon, GripVertical, Plus, Clock, FileIcon, HelpCircle, CircleHelp, AlertCircle, SearchIcon } from 'lucide-vue-next';
4
+ import { X, Terminal, CircleAlert, Info, CircleCheck, LoaderCircle, CircleX, Search, Eye, EyeOff, Check, CornerDownLeft, ChevronUp, ChevronDown, ChevronRight, MenuIcon, Minus, ChevronLeft, CheckCircle, ChevronsLeft, ChevronsRight, Calendar as Calendar$1, ZoomIn, ZoomOut, RotateCcw, RotateCw, PanelLeft, PanelRight, Image as Image$2, XCircle, Star as Star$1, CheckIcon, XIcon, FilterIcon, GripVertical, Plus, Clock, FileIcon, HelpCircle, CircleHelp, AlertCircle, SearchIcon } from 'lucide-vue-next';
5
5
 
6
6
  const isFunction$2 = (val) => typeof val === "function";
7
7
  const cacheStringFunction = (fn) => {
@@ -1527,7 +1527,7 @@ function contains(parent, child) {
1527
1527
  return false;
1528
1528
  }
1529
1529
 
1530
- function getComputedStyle$1(element) {
1530
+ function getComputedStyle(element) {
1531
1531
  return getWindow(element).getComputedStyle(element);
1532
1532
  }
1533
1533
 
@@ -1547,7 +1547,7 @@ function getParentNode(element) {
1547
1547
  }
1548
1548
 
1549
1549
  function getTrueOffsetParent(element) {
1550
- if (!isHTMLElement(element) || getComputedStyle$1(element).position === "fixed") {
1550
+ if (!isHTMLElement(element) || getComputedStyle(element).position === "fixed") {
1551
1551
  return null;
1552
1552
  }
1553
1553
  return element.offsetParent;
@@ -1556,7 +1556,7 @@ function getContainingBlock(element) {
1556
1556
  var isFirefox = /firefox/i.test(getUAString());
1557
1557
  var isIE = /Trident/i.test(getUAString());
1558
1558
  if (isIE && isHTMLElement(element)) {
1559
- var elementCss = getComputedStyle$1(element);
1559
+ var elementCss = getComputedStyle(element);
1560
1560
  if (elementCss.position === "fixed") {
1561
1561
  return null;
1562
1562
  }
@@ -1566,7 +1566,7 @@ function getContainingBlock(element) {
1566
1566
  currentNode = currentNode.host;
1567
1567
  }
1568
1568
  while (isHTMLElement(currentNode) && ["html", "body"].indexOf(getNodeName(currentNode)) < 0) {
1569
- var css = getComputedStyle$1(currentNode);
1569
+ var css = getComputedStyle(currentNode);
1570
1570
  if (css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || ["transform", "perspective"].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === "filter" || isFirefox && css.filter && css.filter !== "none") {
1571
1571
  return currentNode;
1572
1572
  } else {
@@ -1578,10 +1578,10 @@ function getContainingBlock(element) {
1578
1578
  function getOffsetParent(element) {
1579
1579
  var window = getWindow(element);
1580
1580
  var offsetParent = getTrueOffsetParent(element);
1581
- while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === "static") {
1581
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === "static") {
1582
1582
  offsetParent = getTrueOffsetParent(offsetParent);
1583
1583
  }
1584
- if (offsetParent && (getNodeName(offsetParent) === "html" || getNodeName(offsetParent) === "body" && getComputedStyle$1(offsetParent).position === "static")) {
1584
+ if (offsetParent && (getNodeName(offsetParent) === "html" || getNodeName(offsetParent) === "body" && getComputedStyle(offsetParent).position === "static")) {
1585
1585
  return window;
1586
1586
  }
1587
1587
  return offsetParent || getContainingBlock(element) || window;
@@ -1722,7 +1722,7 @@ function mapToStyles(_ref2) {
1722
1722
  var widthProp = "clientWidth";
1723
1723
  if (offsetParent === getWindow(popper)) {
1724
1724
  offsetParent = getDocumentElement(popper);
1725
- if (getComputedStyle$1(offsetParent).position !== "static" && position === "absolute") {
1725
+ if (getComputedStyle(offsetParent).position !== "static" && position === "absolute") {
1726
1726
  heightProp = "scrollHeight";
1727
1727
  widthProp = "scrollWidth";
1728
1728
  }
@@ -1905,7 +1905,7 @@ function getDocumentRect(element) {
1905
1905
  var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
1906
1906
  var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
1907
1907
  var y = -winScroll.scrollTop;
1908
- if (getComputedStyle$1(body || html).direction === "rtl") {
1908
+ if (getComputedStyle(body || html).direction === "rtl") {
1909
1909
  x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
1910
1910
  }
1911
1911
  return {
@@ -1917,7 +1917,7 @@ function getDocumentRect(element) {
1917
1917
  }
1918
1918
 
1919
1919
  function isScrollParent(element) {
1920
- var _getComputedStyle = getComputedStyle$1(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY;
1920
+ var _getComputedStyle = getComputedStyle(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY;
1921
1921
  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
1922
1922
  }
1923
1923
 
@@ -1970,7 +1970,7 @@ function getClientRectFromMixedType(element, clippingParent, strategy) {
1970
1970
  }
1971
1971
  function getClippingParents(element) {
1972
1972
  var clippingParents = listScrollParents(getParentNode(element));
1973
- var canEscapeClipping = ["absolute", "fixed"].indexOf(getComputedStyle$1(element).position) >= 0;
1973
+ var canEscapeClipping = ["absolute", "fixed"].indexOf(getComputedStyle(element).position) >= 0;
1974
1974
  var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
1975
1975
  if (!isElement(clipperElement)) {
1976
1976
  return [];
@@ -11133,24 +11133,14 @@ function useTriggerProps(mode) {
11133
11133
  const TransitionEvents = {
11134
11134
  onBeforeEnter(el) {
11135
11135
  addClass(el, "collapse-transition");
11136
- if (!el.dataset)
11137
- el.dataset = {};
11138
- el.dataset.oldPaddingTop = getComputedStyle(el).paddingTop || 0;
11139
- el.dataset.oldPaddingBottom = getComputedStyle(el).paddingBottom || 0;
11140
11136
  el.style.height = 0;
11141
- el.style.paddingTop = 0;
11142
- el.style.paddingBottom = 0;
11143
11137
  },
11144
11138
  onEnter(el) {
11145
11139
  el.dataset.oldOverflow = el.style.overflow;
11146
11140
  if (el.scrollHeight !== 0) {
11147
11141
  el.style.height = `${el.scrollHeight}px`;
11148
- el.style.paddingTop = el.dataset.oldPaddingTop;
11149
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
11150
11142
  } else {
11151
11143
  el.style.height = "";
11152
- el.style.paddingTop = el.dataset.oldPaddingTop;
11153
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
11154
11144
  }
11155
11145
  el.style.overflow = "hidden";
11156
11146
  },
@@ -11163,8 +11153,6 @@ const TransitionEvents = {
11163
11153
  onBeforeLeave(el) {
11164
11154
  if (!el.dataset)
11165
11155
  el.dataset = {};
11166
- el.dataset.oldPaddingTop = el.style.paddingTop;
11167
- el.dataset.oldPaddingBottom = el.style.paddingBottom;
11168
11156
  el.dataset.oldOverflow = el.style.overflow;
11169
11157
  el.style.height = `${el.scrollHeight}px`;
11170
11158
  el.style.overflow = "hidden";
@@ -11173,16 +11161,12 @@ const TransitionEvents = {
11173
11161
  if (el.scrollHeight !== 0) {
11174
11162
  addClass(el, "collapse-transition");
11175
11163
  el.style.height = 0;
11176
- el.style.paddingTop = 0;
11177
- el.style.paddingBottom = 0;
11178
11164
  }
11179
11165
  },
11180
11166
  onAfterLeave(el) {
11181
11167
  removeClass(el, "collapse-transition");
11182
11168
  el.style.height = "";
11183
11169
  el.style.overflow = el.dataset.oldOverflow || "0";
11184
- el.style.paddingTop = el.dataset.oldPaddingTop || "0";
11185
- el.style.paddingBottom = el.dataset.oldPaddingBottom || "0";
11186
11170
  }
11187
11171
  };
11188
11172
  const CollapseTransition = (props, { slots }) => {
@@ -11203,11 +11187,6 @@ const menuProps = {
11203
11187
  default: "vertical",
11204
11188
  validator: oneOf(menuMode)
11205
11189
  },
11206
- theme: {
11207
- type: String,
11208
- default: "light",
11209
- validator: oneOf(menuTheme)
11210
- },
11211
11190
  selectedKeys: {
11212
11191
  type: Array,
11213
11192
  validator: isArrayOf([Number, String])
@@ -11317,7 +11296,6 @@ const _sfc_main$22 = defineComponent({
11317
11296
  const {
11318
11297
  openKeys,
11319
11298
  mode: menuMode,
11320
- theme,
11321
11299
  subMenuOpenDelay,
11322
11300
  subMenuCloseDelay,
11323
11301
  rootPrefixCls,
@@ -11418,7 +11396,6 @@ const _sfc_main$22 = defineComponent({
11418
11396
  titleStyle,
11419
11397
  mode,
11420
11398
  subMode,
11421
- theme,
11422
11399
  isOpen,
11423
11400
  isSelected,
11424
11401
  menuId,
@@ -11497,7 +11474,7 @@ function _sfc_render$20(_ctx, _cache, $props, $setup, $data, $options) {
11497
11474
  key: 1,
11498
11475
  "aria-owns": _ctx.menuId,
11499
11476
  "aria-haspopup": "true",
11500
- "popup-class": `${_ctx.prefixCls}-popup ${_ctx.rootPrefixCls}-${_ctx.theme} ${_ctx.popupClassName || ""}`,
11477
+ "popup-class": `${_ctx.prefixCls}-popup ${_ctx.popupClassName || ""}`,
11501
11478
  prefix: _ctx.prefixCls,
11502
11479
  placement: _ctx.popupPlacement,
11503
11480
  offset: _ctx.popupOffset,
@@ -11704,7 +11681,6 @@ var Menu = defineComponent({
11704
11681
  } = useGlobalConfig(inDrop ? "dropdown-menu" : "menu");
11705
11682
  const {
11706
11683
  mode,
11707
- theme,
11708
11684
  subMenuOpenDelay,
11709
11685
  subMenuCloseDelay,
11710
11686
  inlineCollapsed
@@ -11837,7 +11813,6 @@ var Menu = defineComponent({
11837
11813
  provide("menuStore", {
11838
11814
  mode: computedMode,
11839
11815
  originalMode: mode,
11840
- theme,
11841
11816
  selectedKeys,
11842
11817
  openKeys,
11843
11818
  subMenuOpenDelay,
@@ -11868,7 +11843,7 @@ var Menu = defineComponent({
11868
11843
  return createVNode("ul", {
11869
11844
  "ref": "rootMenu",
11870
11845
  "role": this.role || "menu",
11871
- "class": [`${this.computedPrefixCls}`, `${this.computedPrefixCls}-${this.computedMode}`, `${this.computedPrefixCls}-root`, `${this.computedPrefixCls}-${this.theme}`, {
11846
+ "class": [`${this.computedPrefixCls}`, `${this.computedPrefixCls}-${this.computedMode}`, `${this.computedPrefixCls}-root`, {
11872
11847
  [`${this.computedPrefixCls}-inline-collapsed`]: this.inlineCollapsed || !!this.layoutSiderCollapsed
11873
11848
  }]
11874
11849
  }, [this.renderChild()]);
@@ -12462,7 +12437,7 @@ function _sfc_render$1X(_ctx, _cache, $props, $setup, $data, $options) {
12462
12437
  }
12463
12438
  var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["render", _sfc_render$1X], ["__file", "Dropdown.vue"]]);
12464
12439
 
12465
- function _isSlot$5(s) {
12440
+ function _isSlot$4(s) {
12466
12441
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
12467
12442
  }
12468
12443
  var DropdownMenu = defineComponent({
@@ -12526,7 +12501,7 @@ var DropdownMenu = defineComponent({
12526
12501
  let _slot;
12527
12502
  return createVNode(UMenu.ItemGroup, {
12528
12503
  "title": m.title
12529
- }, _isSlot$5(_slot = m.children.map(renderItem)) ? _slot : {
12504
+ }, _isSlot$4(_slot = m.children.map(renderItem)) ? _slot : {
12530
12505
  default: () => [_slot]
12531
12506
  });
12532
12507
  }
@@ -12572,7 +12547,7 @@ var DropdownMenu = defineComponent({
12572
12547
  [`${prefixCls}-menu-with-icon`]: this.icon
12573
12548
  },
12574
12549
  "style": this.style
12575
- }, _isSlot$5(menus) ? menus : {
12550
+ }, _isSlot$4(menus) ? menus : {
12576
12551
  default: () => [menus]
12577
12552
  });
12578
12553
  }
@@ -12984,7 +12959,7 @@ var BreadcrumbItem = defineComponent({
12984
12959
  }
12985
12960
  });
12986
12961
 
12987
- function _isSlot$4(s) {
12962
+ function _isSlot$3(s) {
12988
12963
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
12989
12964
  }
12990
12965
  const UMenuItem = UMenu.Item;
@@ -13054,11 +13029,11 @@ var Breadcrumb = defineComponent({
13054
13029
  if (routeChildren && !!routeChildren.length) {
13055
13030
  return () => {
13056
13031
  let _slot2;
13057
- return createVNode(UMenu, null, _isSlot$4(_slot2 = routeChildren.map((routeChild, index) => {
13032
+ return createVNode(UMenu, null, _isSlot$3(_slot2 = routeChildren.map((routeChild, index) => {
13058
13033
  let _slot;
13059
13034
  return createVNode(UMenuItem, {
13060
13035
  "key": index
13061
- }, _isSlot$4(_slot = renderRouteItem(routeChild)) ? _slot : {
13036
+ }, _isSlot$3(_slot = renderRouteItem(routeChild)) ? _slot : {
13062
13037
  default: () => [_slot]
13063
13038
  });
13064
13039
  })) ? _slot2 : {
@@ -16798,223 +16773,6 @@ var Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render
16798
16773
 
16799
16774
  const UCalendar = withInstall(Calendar);
16800
16775
 
16801
- function useGutter(_gutter) {
16802
- const screens = ref({});
16803
- const token = ref();
16804
- const getScreensRepsponsive = () => {
16805
- token.value = responsiveObserve.subscribe((scn) => {
16806
- if (isPlainObject$1(_gutter.value) || Array.isArray(_gutter.value) && (isPlainObject$1(_gutter.value[0]) || isPlainObject$1(_gutter.value[1]))) {
16807
- screens.value = scn;
16808
- }
16809
- });
16810
- };
16811
- onMounted(getScreensRepsponsive);
16812
- onUnmounted(() => {
16813
- responsiveObserve.unsubscribe(token.value);
16814
- });
16815
- const getGutter = () => {
16816
- const result = [0, 0];
16817
- const gutterArray = Array.isArray(_gutter.value) ? _gutter.value : [_gutter.value, 0];
16818
- if (screens.value) {
16819
- gutterArray.forEach((g, index) => {
16820
- if (isPlainObject$1(g)) {
16821
- for (let i = 0; i < responsiveArray.length; i += 1) {
16822
- const breakpoint = responsiveArray[i];
16823
- if (screens.value[breakpoint] && g[breakpoint] !== void 0) {
16824
- result[index] = g[breakpoint];
16825
- break;
16826
- }
16827
- }
16828
- } else {
16829
- result[index] = g || 0;
16830
- }
16831
- });
16832
- }
16833
- return result;
16834
- };
16835
- const styles = computed(() => {
16836
- let ret = {};
16837
- const g = getGutter();
16838
- if (g[0] > 0) {
16839
- ret = {
16840
- [`--grid-gutter-width`]: `${g[0]}px`
16841
- };
16842
- }
16843
- if (g[1] > 0) {
16844
- ret = {
16845
- ...ret,
16846
- rowGap: `${g[1]}px`
16847
- };
16848
- }
16849
- return ret;
16850
- });
16851
- return {
16852
- getGutter,
16853
- styles
16854
- };
16855
- }
16856
-
16857
- const gridAlign = ["top", "middle", "bottom", "stretch"];
16858
- const gridJustify = ["start", "end", "center", "space-around", "space-between"];
16859
- const rowProps = {
16860
- gutter: {
16861
- type: [Object, Number, Array],
16862
- default: 0
16863
- },
16864
- flex: {
16865
- type: Boolean,
16866
- default: false
16867
- },
16868
- align: {
16869
- type: String,
16870
- default: "top",
16871
- validator: oneOf(gridAlign)
16872
- },
16873
- justify: {
16874
- type: String,
16875
- default: "start",
16876
- validator: oneOf(gridJustify)
16877
- }
16878
- };
16879
- const colProps = {
16880
- span: {
16881
- type: [String, Number]
16882
- },
16883
- order: {
16884
- type: [String, Number]
16885
- },
16886
- offset: {
16887
- type: [String, Number]
16888
- },
16889
- push: {
16890
- type: [String, Number]
16891
- },
16892
- pull: {
16893
- type: [String, Number]
16894
- },
16895
- xs: {
16896
- type: [String, Number, Object]
16897
- },
16898
- sm: {
16899
- type: [String, Number, Object]
16900
- },
16901
- md: {
16902
- type: [String, Number, Object]
16903
- },
16904
- lg: {
16905
- type: [String, Number, Object]
16906
- },
16907
- xl: {
16908
- type: [String, Number, Object]
16909
- },
16910
- xxl: {
16911
- type: [String, Number, Object]
16912
- },
16913
- flex: {
16914
- type: [String, Number]
16915
- }
16916
- };
16917
-
16918
- const _sfc_main$1I = defineComponent({
16919
- name: "URow",
16920
- props: rowProps,
16921
- setup(props) {
16922
- const { gutter } = toRefs(props);
16923
- const { prefixCls } = useGlobalConfig("row");
16924
- const { getGutter, styles } = useGutter(gutter);
16925
- return {
16926
- prefixCls,
16927
- getGutter,
16928
- styles
16929
- };
16930
- }
16931
- });
16932
- function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
16933
- return openBlock(), createElementBlock("div", {
16934
- class: normalizeClass({
16935
- [`${_ctx.prefixCls}`]: true,
16936
- [`${_ctx.prefixCls}-flex-${_ctx.justify}`]: _ctx.flex && _ctx.justify,
16937
- [`${_ctx.prefixCls}-flex-${_ctx.align}`]: _ctx.flex && _ctx.align
16938
- }),
16939
- style: normalizeStyle(_ctx.styles)
16940
- }, [
16941
- renderSlot(_ctx.$slots, "default")
16942
- ], 6);
16943
- }
16944
- var Row$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1G], ["__file", "Row.vue"]]);
16945
-
16946
- const parseFlex = (flex) => {
16947
- if (typeof flex === "number") {
16948
- return `${flex} ${flex} auto`;
16949
- }
16950
- if (/^\d+(\.\d+)?(px|em|rem|%)$/.test(flex)) {
16951
- return `0 0 ${flex}`;
16952
- }
16953
- return flex;
16954
- };
16955
- const _sfc_main$1H = defineComponent({
16956
- name: "UCol",
16957
- props: colProps,
16958
- setup(props) {
16959
- const { prefixCls } = useGlobalConfig("col");
16960
- const sizeCls = computed(() => {
16961
- const ret = [];
16962
- ["xs", "sm", "md", "lg", "xl", "xxl"].forEach((size) => {
16963
- const sizeProp = props[size];
16964
- if (typeof sizeProp === "number" || typeof sizeProp === "string") {
16965
- ret.push(`${prefixCls.value}-${size}-${sizeProp}`);
16966
- } else if (typeof sizeProp === "object") {
16967
- Object.keys(sizeProp).forEach((key) => {
16968
- ret.push(key === "span" ? `${prefixCls.value}-${size}-${sizeProp[key]}` : `${prefixCls.value}-${size}-${key}-${sizeProp[key]}`);
16969
- });
16970
- }
16971
- });
16972
- return ret;
16973
- });
16974
- const styles = computed(() => {
16975
- let ret = {};
16976
- ret = {
16977
- ...ret,
16978
- flex: parseFlex(props.flex)
16979
- };
16980
- return ret;
16981
- });
16982
- return {
16983
- sizeCls,
16984
- prefixCls,
16985
- styles
16986
- };
16987
- }
16988
- });
16989
- function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
16990
- return openBlock(), createElementBlock("div", {
16991
- class: normalizeClass([
16992
- _ctx.prefixCls,
16993
- ..._ctx.sizeCls,
16994
- {
16995
- [`${_ctx.prefixCls}-${_ctx.span}`]: _ctx.span,
16996
- [`${_ctx.prefixCls}-order-${_ctx.order}`]: _ctx.order,
16997
- [`${_ctx.prefixCls}-offset-${_ctx.offset}`]: _ctx.offset,
16998
- [`${_ctx.prefixCls}-push-${_ctx.push}`]: _ctx.push,
16999
- [`${_ctx.prefixCls}-pull-${_ctx.pull}`]: _ctx.pull
17000
- }
17001
- ]),
17002
- style: normalizeStyle(_ctx.styles)
17003
- }, [
17004
- renderSlot(_ctx.$slots, "default")
17005
- ], 6);
17006
- }
17007
- var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1F], ["__file", "Col.vue"]]);
17008
-
17009
- const UGrid = {
17010
- Row: Row$1,
17011
- Col,
17012
- install: (app) => {
17013
- app.component(Row$1.name, Row$1);
17014
- app.component(Col.name, Col);
17015
- }
17016
- };
17017
-
17018
16776
  const cardProps = {
17019
16777
  bordered: {
17020
16778
  type: Boolean,
@@ -17028,14 +16786,14 @@ const cardProps = {
17028
16786
  type: Boolean,
17029
16787
  default: false
17030
16788
  },
17031
- padding: {
17032
- type: Number,
17033
- default: 16
17034
- },
17035
16789
  title: {
17036
16790
  type: String,
17037
16791
  default: ""
17038
16792
  },
16793
+ description: {
16794
+ type: String,
16795
+ default: ""
16796
+ },
17039
16797
  icon: {
17040
16798
  type: [String, Object, Function]
17041
16799
  },
@@ -17059,13 +16817,6 @@ const cardMetaProps = {
17059
16817
  }
17060
16818
  };
17061
16819
 
17062
- function _isSlot$3(s) {
17063
- return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
17064
- }
17065
- const {
17066
- Col: UCol,
17067
- Row: URow
17068
- } = UGrid;
17069
16820
  var Card = defineComponent({
17070
16821
  name: "UCard",
17071
16822
  components: {
@@ -17087,7 +16838,8 @@ var Card = defineComponent({
17087
16838
  disHover,
17088
16839
  title,
17089
16840
  icon,
17090
- grid
16841
+ grid,
16842
+ description
17091
16843
  } = props;
17092
16844
  const showHead = !!title || slots.title !== void 0;
17093
16845
  const showExtra = showHead && slots.extra !== void 0;
@@ -17107,27 +16859,29 @@ var Card = defineComponent({
17107
16859
  };
17108
16860
  const headRender = showHead ? createVNode("div", {
17109
16861
  "class": `${prefixCls.value}-head`
17110
- }, [slots.title !== void 0 ? (_a = slots.title) == null ? void 0 : _a.call(slots) : createVNode("div", {
17111
- "class": `${prefixCls.value}-head-inner`
17112
- }, [iconRender(), createVNode("span", null, [title])])]) : null;
16862
+ }, [slots.title !== void 0 ? (_a = slots.title) == null ? void 0 : _a.call(slots) : createVNode(Fragment, null, [createVNode("div", {
16863
+ "class": `${prefixCls.value}-head-title`
16864
+ }, [iconRender(), createVNode("span", null, [title])]), description && createVNode("div", {
16865
+ "class": `${prefixCls.value}-head-description`
16866
+ }, [description])])]) : null;
17113
16867
  const extraRender = showExtra ? createVNode("div", {
17114
16868
  "class": `${prefixCls.value}-extra`
17115
16869
  }, [(_b = slots.extra) == null ? void 0 : _b.call(slots)]) : null;
17116
16870
  const coverRender = slots.cover !== void 0 ? createVNode("div", {
17117
16871
  "class": `${prefixCls.value}-cover`
17118
16872
  }, [(_c = slots.cover) == null ? void 0 : _c.call(slots)]) : null;
17119
- const actionRenderer = slots.action ? createVNode("ul", {
16873
+ const actionRenderer = slots.action ? createVNode("div", {
17120
16874
  "class": `${prefixCls.value}-action`
17121
- }, [getSlot(slots, "action").map((child) => createVNode("li", null, [child]))]) : null;
16875
+ }, [getSlot(slots, "action").map((child) => createVNode("div", null, [child]))]) : null;
17122
16876
  const gridRenderer = () => {
17123
16877
  const cols = getSlot(slots).map((child) => {
17124
- let _slot;
17125
16878
  const colSpan = child.props && child.props.span ? child.props.span : grid;
17126
- return createVNode(UCol, {
17127
- "span": colSpan
17128
- }, _isSlot$3(_slot = getSlot(child.children, "default")) ? _slot : {
17129
- default: () => [_slot]
17130
- });
16879
+ return createVNode("div", {
16880
+ "class": `${prefixCls.value}-grid-item`,
16881
+ "style": {
16882
+ gridColumn: `span ${colSpan} / span ${colSpan}`
16883
+ }
16884
+ }, [getSlot(child.children, "default")]);
17131
16885
  });
17132
16886
  const classString = {
17133
16887
  [`${prefixCls.value}-grid`]: true,
@@ -17135,9 +16889,7 @@ var Card = defineComponent({
17135
16889
  };
17136
16890
  return createVNode("div", {
17137
16891
  "class": classString
17138
- }, [createVNode(URow, null, _isSlot$3(cols) ? cols : {
17139
- default: () => [cols]
17140
- })]);
16892
+ }, [cols]);
17141
16893
  };
17142
16894
  const bodyRender = getSlot(slots).length ? createVNode("div", {
17143
16895
  "class": `${prefixCls.value}-body`
@@ -17145,11 +16897,11 @@ var Card = defineComponent({
17145
16897
  return createVNode("div", {
17146
16898
  "class": [`${prefixCls.value}`, {
17147
16899
  [`${prefixCls.value}-bordered`]: bordered && !shadow,
17148
- [`${prefixCls.value}-dis-hover`]: disHover || shadow,
16900
+ [`${prefixCls.value}-dis-hover`]: disHover && !shadow,
17149
16901
  [`${prefixCls.value}-shadow`]: shadow,
17150
16902
  [`${prefixCls.value}-contain-grid`]: grid
17151
16903
  }]
17152
- }, [headRender, extraRender, coverRender, bodyRender, actionRenderer]);
16904
+ }, [extraRender, headRender, coverRender, bodyRender, actionRenderer]);
17153
16905
  };
17154
16906
  }
17155
16907
  });
@@ -17163,7 +16915,7 @@ var CardGrid = defineComponent({
17163
16915
  }
17164
16916
  });
17165
16917
 
17166
- const _sfc_main$1G = defineComponent({
16918
+ const _sfc_main$1I = defineComponent({
17167
16919
  name: "UCardMeta",
17168
16920
  components: {
17169
16921
  UAvatar
@@ -17176,7 +16928,7 @@ const _sfc_main$1G = defineComponent({
17176
16928
  };
17177
16929
  }
17178
16930
  });
17179
- function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
16931
+ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
17180
16932
  const _component_UAvatar = resolveComponent("UAvatar");
17181
16933
  return openBlock(), createElementBlock("div", {
17182
16934
  class: normalizeClass(`${_ctx.prefixCls}`)
@@ -17211,7 +16963,7 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
17211
16963
  ], 2)
17212
16964
  ], 2);
17213
16965
  }
17214
- var CardMeta = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1E], ["__file", "CardMeta.vue"]]);
16966
+ var CardMeta = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1G], ["__file", "CardMeta.vue"]]);
17215
16967
 
17216
16968
  const UCard = withInstall(Card, {
17217
16969
  UCard: CardGrid,
@@ -17279,7 +17031,7 @@ const carouselEmits = {
17279
17031
  change: (cur, pre) => typeof cur === "number" && typeof pre === "number"
17280
17032
  };
17281
17033
 
17282
- const _sfc_main$1F = defineComponent({
17034
+ const _sfc_main$1H = defineComponent({
17283
17035
  name: "UCarousel",
17284
17036
  components: {
17285
17037
  UIcon,
@@ -17578,7 +17330,7 @@ const _sfc_main$1F = defineComponent({
17578
17330
  const _hoisted_1$F = ["disabled"];
17579
17331
  const _hoisted_2$g = ["disabled"];
17580
17332
  const _hoisted_3$3 = ["onMouseenter", "onClick"];
17581
- function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
17333
+ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
17582
17334
  const _component_ChevronLeft = resolveComponent("ChevronLeft");
17583
17335
  const _component_UIcon = resolveComponent("UIcon");
17584
17336
  const _component_ChevronRight = resolveComponent("ChevronRight");
@@ -17715,10 +17467,10 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
17715
17467
  ], 2)) : createCommentVNode("v-if", true)
17716
17468
  ], 34);
17717
17469
  }
17718
- var Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1D], ["__file", "Carousel.vue"]]);
17470
+ var Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1F], ["__file", "Carousel.vue"]]);
17719
17471
 
17720
17472
  const CARD_SCALE = 0.9;
17721
- const _sfc_main$1E = defineComponent({
17473
+ const _sfc_main$1G = defineComponent({
17722
17474
  name: "UCarouselItem",
17723
17475
  setup(props, { slots }) {
17724
17476
  const { prefixCls } = useGlobalConfig("carousel");
@@ -17829,7 +17581,7 @@ const _sfc_main$1E = defineComponent({
17829
17581
  };
17830
17582
  }
17831
17583
  });
17832
- function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
17584
+ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
17833
17585
  return openBlock(), createElementBlock("div", {
17834
17586
  class: normalizeClass({
17835
17587
  [`${_ctx.prefixCls}-item`]: true,
@@ -17850,7 +17602,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
17850
17602
  renderSlot(_ctx.$slots, "default")
17851
17603
  ], 6);
17852
17604
  }
17853
- var CarouselItem = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1C], ["__file", "CarouselItem.vue"]]);
17605
+ var CarouselItem = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1E], ["__file", "CarouselItem.vue"]]);
17854
17606
 
17855
17607
  const UCarousel = withInstall(Carousel, {
17856
17608
  Item: CarouselItem
@@ -17920,7 +17672,7 @@ const collapsePanelProps = {
17920
17672
  }
17921
17673
  };
17922
17674
 
17923
- const _sfc_main$1D = defineComponent({
17675
+ const _sfc_main$1F = defineComponent({
17924
17676
  name: "UCollapse",
17925
17677
  props: collapseProps,
17926
17678
  emits: collapseEmits,
@@ -17989,7 +17741,7 @@ const _sfc_main$1D = defineComponent({
17989
17741
  };
17990
17742
  }
17991
17743
  });
17992
- function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
17744
+ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
17993
17745
  return openBlock(), createElementBlock("div", {
17994
17746
  class: normalizeClass([
17995
17747
  _ctx.prefixCls,
@@ -18000,9 +17752,9 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
18000
17752
  renderSlot(_ctx.$slots, "default")
18001
17753
  ], 2);
18002
17754
  }
18003
- var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1B], ["__file", "Collapse.vue"]]);
17755
+ var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1D], ["__file", "Collapse.vue"]]);
18004
17756
 
18005
- const _sfc_main$1C = defineComponent({
17757
+ const _sfc_main$1E = defineComponent({
18006
17758
  name: "UCollapsePanel",
18007
17759
  components: {
18008
17760
  UIcon,
@@ -18074,7 +17826,7 @@ const _sfc_main$1C = defineComponent({
18074
17826
  };
18075
17827
  }
18076
17828
  });
18077
- function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
17829
+ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
18078
17830
  const _component_UIcon = resolveComponent("UIcon");
18079
17831
  const _component_CollapseTransition = resolveComponent("CollapseTransition");
18080
17832
  return openBlock(), createElementBlock("div", {
@@ -18138,7 +17890,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
18138
17890
  })
18139
17891
  ], 2);
18140
17892
  }
18141
- var CollapsePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1A], ["__file", "Panel.vue"]]);
17893
+ var CollapsePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1C], ["__file", "Panel.vue"]]);
18142
17894
 
18143
17895
  const UCollapse = withInstall(Collapse, {
18144
17896
  Panel: CollapsePanel
@@ -19734,7 +19486,7 @@ var drag = (element, { dragStart, dragEnd, dragMove }) => {
19734
19486
  });
19735
19487
  };
19736
19488
 
19737
- const _sfc_main$1B = defineComponent({
19489
+ const _sfc_main$1D = defineComponent({
19738
19490
  name: "UColorSvPanel",
19739
19491
  props: {
19740
19492
  prefixCls: {
@@ -19798,7 +19550,7 @@ const _sfc_main$1B = defineComponent({
19798
19550
  };
19799
19551
  }
19800
19552
  });
19801
- function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
19553
+ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
19802
19554
  return openBlock(), createElementBlock("div", {
19803
19555
  ref: "hueRef",
19804
19556
  class: normalizeClass(_ctx.prefixCls)
@@ -19817,9 +19569,9 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
19817
19569
  ], 2)
19818
19570
  ], 2);
19819
19571
  }
19820
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1z], ["__file", "HueSlider.vue"]]);
19572
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1B], ["__file", "HueSlider.vue"]]);
19821
19573
 
19822
- const _sfc_main$1A = defineComponent({
19574
+ const _sfc_main$1C = defineComponent({
19823
19575
  name: "UColorSvPanel",
19824
19576
  props: {
19825
19577
  prefixCls: {
@@ -19885,7 +19637,7 @@ const _sfc_main$1A = defineComponent({
19885
19637
  };
19886
19638
  }
19887
19639
  });
19888
- function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
19640
+ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
19889
19641
  return openBlock(), createElementBlock("div", {
19890
19642
  ref: "panelRef",
19891
19643
  class: normalizeClass(_ctx.prefixCls),
@@ -19908,9 +19660,9 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
19908
19660
  }, null, 6)
19909
19661
  ], 6);
19910
19662
  }
19911
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1y], ["__file", "SvPanel.vue"]]);
19663
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1A], ["__file", "SvPanel.vue"]]);
19912
19664
 
19913
- const _sfc_main$1z = defineComponent({
19665
+ const _sfc_main$1B = defineComponent({
19914
19666
  name: "UColorAlphaSlider",
19915
19667
  props: {
19916
19668
  prefixCls: {
@@ -19984,7 +19736,7 @@ const _sfc_main$1z = defineComponent({
19984
19736
  };
19985
19737
  }
19986
19738
  });
19987
- function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
19739
+ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
19988
19740
  return openBlock(), createElementBlock("div", {
19989
19741
  ref: "rootRef",
19990
19742
  class: normalizeClass(_ctx.prefixCls)
@@ -20005,9 +19757,9 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
20005
19757
  }, null, 6)
20006
19758
  ], 2);
20007
19759
  }
20008
- var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1x], ["__file", "AlphaSlider.vue"]]);
19760
+ var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1z], ["__file", "AlphaSlider.vue"]]);
20009
19761
 
20010
- const _sfc_main$1y = defineComponent({
19762
+ const _sfc_main$1A = defineComponent({
20011
19763
  name: "UColorPrevColors",
20012
19764
  props: {
20013
19765
  prefixCls: {
@@ -20047,7 +19799,7 @@ const _sfc_main$1y = defineComponent({
20047
19799
  }
20048
19800
  });
20049
19801
  const _hoisted_1$E = ["onClick"];
20050
- function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
19802
+ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
20051
19803
  return openBlock(), createElementBlock("div", {
20052
19804
  class: normalizeClass(_ctx.prefixCls)
20053
19805
  }, [
@@ -20069,7 +19821,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
20069
19821
  }), 128))
20070
19822
  ], 2);
20071
19823
  }
20072
- var PreColors = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1w], ["__file", "PreColors.vue"]]);
19824
+ var PreColors = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1y], ["__file", "PreColors.vue"]]);
20073
19825
 
20074
19826
  const colorPickerFormat = ["hsv", "hsl", "hex", "rgb"];
20075
19827
  const colorPickerProps = {
@@ -20117,7 +19869,7 @@ const colorPickerEmits = {
20117
19869
  "open-change": (v) => typeof v === "boolean"
20118
19870
  };
20119
19871
 
20120
- const _sfc_main$1x = defineComponent({
19872
+ const _sfc_main$1z = defineComponent({
20121
19873
  name: "UColorPicker",
20122
19874
  components: {
20123
19875
  Popup,
@@ -20249,7 +20001,7 @@ const _sfc_main$1x = defineComponent({
20249
20001
  };
20250
20002
  }
20251
20003
  });
20252
- function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
20004
+ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
20253
20005
  const _component_ChevronDown = resolveComponent("ChevronDown");
20254
20006
  const _component_UIcon = resolveComponent("UIcon");
20255
20007
  const _component_SvPanel = resolveComponent("SvPanel");
@@ -20379,7 +20131,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
20379
20131
  _: 1
20380
20132
  }, 8, ["trigger", "prefix-cls", "popup-class", "popup-style", "visible", "disabled", "onPopupVisibleChange"]);
20381
20133
  }
20382
- var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1v], ["__file", "ColorPicker.vue"]]);
20134
+ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1x], ["__file", "ColorPicker.vue"]]);
20383
20135
 
20384
20136
  const UColorPicker = withInstall(ColorPicker);
20385
20137
 
@@ -20721,7 +20473,7 @@ const defineProps$9 = {
20721
20473
  default: "date"
20722
20474
  }
20723
20475
  };
20724
- const _sfc_main$1w = defineComponent({
20476
+ const _sfc_main$1y = defineComponent({
20725
20477
  name: "DatePickerInput",
20726
20478
  props: defineProps$9,
20727
20479
  emits: {
@@ -20838,7 +20590,7 @@ const _sfc_main$1w = defineComponent({
20838
20590
  }
20839
20591
  });
20840
20592
  const _hoisted_1$D = ["placeholder", "disabled", "value", "size"];
20841
- function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
20593
+ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
20842
20594
  return openBlock(), createElementBlock("input", {
20843
20595
  ref: "inputRef",
20844
20596
  class: normalizeClass([`${_ctx.prefixCls}-picker-input`]),
@@ -20853,9 +20605,9 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
20853
20605
  onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.onInputBlur && _ctx.onInputBlur(...args))
20854
20606
  }, null, 42, _hoisted_1$D);
20855
20607
  }
20856
- var DatePickerInput = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1u], ["__file", "DatePickerInput.vue"]]);
20608
+ var DatePickerInput = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1w], ["__file", "DatePickerInput.vue"]]);
20857
20609
 
20858
- const _sfc_main$1v = defineComponent({
20610
+ const _sfc_main$1x = defineComponent({
20859
20611
  name: "RangeSeparator"
20860
20612
  });
20861
20613
  const _hoisted_1$C = {
@@ -20869,7 +20621,7 @@ const _hoisted_1$C = {
20869
20621
  width: "200",
20870
20622
  height: "200"
20871
20623
  };
20872
- function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
20624
+ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
20873
20625
  return openBlock(), createElementBlock("svg", _hoisted_1$C, _cache[0] || (_cache[0] = [
20874
20626
  createElementVNode("path", {
20875
20627
  d: "M883.328 572.352l-0.149333-0.170667-181.013334-181.013333a42.666667 42.666667 0 0 0-60.330666 60.330667l108.501333 108.501333H170.666667a42.666667 42.666667 0 1 0 0 85.333333h682.666666a42.666667 42.666667 0 0 0 29.994667-72.981333z",
@@ -20878,7 +20630,7 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
20878
20630
  }, null, -1)
20879
20631
  ]));
20880
20632
  }
20881
- var RangeSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1t], ["__file", "RangeSeparator.vue"]]);
20633
+ var RangeSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1v], ["__file", "RangeSeparator.vue"]]);
20882
20634
 
20883
20635
  const defineProps$8 = {
20884
20636
  prefixCls: {
@@ -20924,7 +20676,7 @@ const defineProps$8 = {
20924
20676
  type: [Number, Object, Function]
20925
20677
  }
20926
20678
  };
20927
- const _sfc_main$1u = defineComponent({
20679
+ const _sfc_main$1w = defineComponent({
20928
20680
  name: "DateRangeInput",
20929
20681
  components: {
20930
20682
  URender: Render,
@@ -21059,7 +20811,7 @@ const _sfc_main$1u = defineComponent({
21059
20811
  });
21060
20812
  const _hoisted_1$B = ["value", "placeholder", "size"];
21061
20813
  const _hoisted_2$f = ["value", "size", "placeholder"];
21062
- function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
20814
+ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
21063
20815
  const _component_URender = resolveComponent("URender");
21064
20816
  const _component_RangeSeparator = resolveComponent("RangeSeparator");
21065
20817
  const _component_UIcon = resolveComponent("UIcon");
@@ -21105,9 +20857,9 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
21105
20857
  }, null, 42, _hoisted_2$f)
21106
20858
  ], 2);
21107
20859
  }
21108
- var DateRangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1s], ["__file", "DateRangeInput.vue"]]);
20860
+ var DateRangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1u], ["__file", "DateRangeInput.vue"]]);
21109
20861
 
21110
- const _sfc_main$1t = defineComponent({
20862
+ const _sfc_main$1v = defineComponent({
21111
20863
  name: "DatePanelHeader",
21112
20864
  components: { UIcon, ChevronsLeft, ChevronsRight, ChevronLeft, ChevronRight },
21113
20865
  props: {
@@ -21187,7 +20939,7 @@ const _hoisted_1$A = ["title"];
21187
20939
  const _hoisted_2$e = ["title"];
21188
20940
  const _hoisted_3$2 = ["title"];
21189
20941
  const _hoisted_4 = ["title"];
21190
- function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
20942
+ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
21191
20943
  const _component_ChevronsLeft = resolveComponent("ChevronsLeft");
21192
20944
  const _component_UIcon = resolveComponent("UIcon");
21193
20945
  const _component_ChevronLeft = resolveComponent("ChevronLeft");
@@ -21297,7 +21049,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
21297
21049
  ], 10, _hoisted_4)) : createCommentVNode("v-if", true)
21298
21050
  ], 2);
21299
21051
  }
21300
- var DatePanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1r], ["__file", "DatePanelHeader.vue"]]);
21052
+ var DatePanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1t], ["__file", "DatePanelHeader.vue"]]);
21301
21053
 
21302
21054
  const scrollbarContextKey = Symbol("scrollbarContextKey");
21303
21055
  const scrollbarProps = {
@@ -21694,7 +21446,7 @@ var Scrollbar = defineComponent({
21694
21446
 
21695
21447
  const UScrollbar = withInstall(Scrollbar);
21696
21448
 
21697
- const _sfc_main$1s = defineComponent({
21449
+ const _sfc_main$1u = defineComponent({
21698
21450
  name: "TimePickerSelect",
21699
21451
  components: { Scrollbar: UScrollbar },
21700
21452
  props: {
@@ -21763,7 +21515,7 @@ const _sfc_main$1s = defineComponent({
21763
21515
  });
21764
21516
  const _hoisted_1$z = { ref: "listRef" };
21765
21517
  const _hoisted_2$d = ["disabled", "onClick"];
21766
- function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
21518
+ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
21767
21519
  const _component_Scrollbar = resolveComponent("Scrollbar");
21768
21520
  return openBlock(), createBlock(_component_Scrollbar, {
21769
21521
  ref: "selectRef",
@@ -21793,7 +21545,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
21793
21545
  _: 1
21794
21546
  }, 8, ["class", "onMouseenter"]);
21795
21547
  }
21796
- var SelectList = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1q], ["__file", "SelectList.vue"]]);
21548
+ var SelectList = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1s], ["__file", "SelectList.vue"]]);
21797
21549
 
21798
21550
  const generateShowWhat = (format) => {
21799
21551
  return {
@@ -21900,7 +21652,7 @@ const fixTime = (time, disabledTime, step, invert = false) => {
21900
21652
  return time.second(fixSecond);
21901
21653
  };
21902
21654
 
21903
- const _sfc_main$1r = defineComponent({
21655
+ const _sfc_main$1t = defineComponent({
21904
21656
  name: "TimePickerPanel",
21905
21657
  components: {
21906
21658
  SelectList
@@ -22117,7 +21869,7 @@ const _sfc_main$1r = defineComponent({
22117
21869
  };
22118
21870
  }
22119
21871
  });
22120
- function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
21872
+ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
22121
21873
  const _component_SelectList = resolveComponent("SelectList");
22122
21874
  return openBlock(), createElementBlock("div", {
22123
21875
  class: normalizeClass([`${_ctx.prefixCls}-inner`, `${_ctx.prefixCls}-column-${_ctx.columns}`])
@@ -22156,9 +21908,9 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
22156
21908
  }, null, 8, ["prefix-cls", "options", "selected", "onSelect"])) : createCommentVNode("v-if", true)
22157
21909
  ], 2);
22158
21910
  }
22159
- var TimePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1p], ["__file", "TimePanel.vue"]]);
21911
+ var TimePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1r], ["__file", "TimePanel.vue"]]);
22160
21912
 
22161
- const _sfc_main$1q = defineComponent({
21913
+ const _sfc_main$1s = defineComponent({
22162
21914
  name: "DatePanel",
22163
21915
  components: {
22164
21916
  DatePanelHeader,
@@ -22275,7 +22027,7 @@ const _sfc_main$1q = defineComponent({
22275
22027
  };
22276
22028
  }
22277
22029
  });
22278
- function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
22030
+ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
22279
22031
  var _a, _b, _c, _d, _e;
22280
22032
  const _component_DatePanelHeader = resolveComponent("DatePanelHeader");
22281
22033
  const _component_DateTable = resolveComponent("DateTable");
@@ -22339,9 +22091,9 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
22339
22091
  ], 2)) : createCommentVNode("v-if", true)
22340
22092
  ], 2);
22341
22093
  }
22342
- var DatePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1o], ["__file", "DatePanel.vue"]]);
22094
+ var DatePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1q], ["__file", "DatePanel.vue"]]);
22343
22095
 
22344
- const _sfc_main$1p = defineComponent({
22096
+ const _sfc_main$1r = defineComponent({
22345
22097
  name: "MonthPanelHeader",
22346
22098
  components: { UIcon, ChevronsLeft, ChevronsRight },
22347
22099
  props: {
@@ -22394,7 +22146,7 @@ const _sfc_main$1p = defineComponent({
22394
22146
  });
22395
22147
  const _hoisted_1$y = ["title"];
22396
22148
  const _hoisted_2$c = ["title"];
22397
- function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
22149
+ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
22398
22150
  const _component_ChevronsLeft = resolveComponent("ChevronsLeft");
22399
22151
  const _component_UIcon = resolveComponent("UIcon");
22400
22152
  const _component_ChevronsRight = resolveComponent("ChevronsRight");
@@ -22445,9 +22197,9 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
22445
22197
  ], 10, _hoisted_2$c)
22446
22198
  ], 2);
22447
22199
  }
22448
- var MonthPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1n], ["__file", "MonthPanelHeader.vue"]]);
22200
+ var MonthPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1p], ["__file", "MonthPanelHeader.vue"]]);
22449
22201
 
22450
- const _sfc_main$1o = defineComponent({
22202
+ const _sfc_main$1q = defineComponent({
22451
22203
  name: "MonthPanel",
22452
22204
  components: {
22453
22205
  MonthPanelHeader,
@@ -22525,7 +22277,7 @@ const _sfc_main$1o = defineComponent({
22525
22277
  };
22526
22278
  }
22527
22279
  });
22528
- function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
22280
+ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
22529
22281
  const _component_MonthPanelHeader = resolveComponent("MonthPanelHeader");
22530
22282
  const _component_MonthTable = resolveComponent("MonthTable");
22531
22283
  return openBlock(), createElementBlock("div", {
@@ -22557,9 +22309,9 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
22557
22309
  ], 2)
22558
22310
  ], 2);
22559
22311
  }
22560
- var MonthPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1m], ["__file", "MonthPanel.vue"]]);
22312
+ var MonthPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1o], ["__file", "MonthPanel.vue"]]);
22561
22313
 
22562
- const _sfc_main$1n = defineComponent({
22314
+ const _sfc_main$1p = defineComponent({
22563
22315
  name: "YearPanelHeader",
22564
22316
  components: { UIcon, ChevronsLeft, ChevronsRight },
22565
22317
  props: {
@@ -22609,7 +22361,7 @@ const _sfc_main$1n = defineComponent({
22609
22361
  });
22610
22362
  const _hoisted_1$x = ["title"];
22611
22363
  const _hoisted_2$b = ["title"];
22612
- function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
22364
+ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
22613
22365
  const _component_ChevronsLeft = resolveComponent("ChevronsLeft");
22614
22366
  const _component_UIcon = resolveComponent("UIcon");
22615
22367
  const _component_ChevronsRight = resolveComponent("ChevronsRight");
@@ -22655,9 +22407,9 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
22655
22407
  ], 10, _hoisted_2$b)
22656
22408
  ], 2);
22657
22409
  }
22658
- var YearPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1l], ["__file", "YearPanelHeader.vue"]]);
22410
+ var YearPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1n], ["__file", "YearPanelHeader.vue"]]);
22659
22411
 
22660
- const _sfc_main$1m = defineComponent({
22412
+ const _sfc_main$1o = defineComponent({
22661
22413
  name: "YearTable",
22662
22414
  props: {
22663
22415
  prefixCls: {
@@ -22802,7 +22554,7 @@ const _sfc_main$1m = defineComponent({
22802
22554
  }
22803
22555
  });
22804
22556
  const _hoisted_1$w = ["onClick", "onMouseenter"];
22805
- function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
22557
+ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
22806
22558
  return openBlock(), createElementBlock("table", {
22807
22559
  class: normalizeClass(`${_ctx.prefixCls}-table`)
22808
22560
  }, [
@@ -22826,9 +22578,9 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
22826
22578
  ])
22827
22579
  ], 2);
22828
22580
  }
22829
- var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1k], ["__file", "YearTable.vue"]]);
22581
+ var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1m], ["__file", "YearTable.vue"]]);
22830
22582
 
22831
- const _sfc_main$1l = defineComponent({
22583
+ const _sfc_main$1n = defineComponent({
22832
22584
  name: "YearPanel",
22833
22585
  components: {
22834
22586
  YearPanelHeader,
@@ -22906,7 +22658,7 @@ const _sfc_main$1l = defineComponent({
22906
22658
  };
22907
22659
  }
22908
22660
  });
22909
- function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
22661
+ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
22910
22662
  const _component_YearPanelHeader = resolveComponent("YearPanelHeader");
22911
22663
  const _component_YearTable = resolveComponent("YearTable");
22912
22664
  return openBlock(), createElementBlock("div", {
@@ -22938,9 +22690,9 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
22938
22690
  ], 2)
22939
22691
  ], 2);
22940
22692
  }
22941
- var YearPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1j], ["__file", "YearPanel.vue"]]);
22693
+ var YearPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1l], ["__file", "YearPanel.vue"]]);
22942
22694
 
22943
- const _sfc_main$1k = defineComponent({
22695
+ const _sfc_main$1m = defineComponent({
22944
22696
  name: "QuarterPanelHeader",
22945
22697
  components: { UIcon, ChevronsLeft, ChevronsRight },
22946
22698
  props: {
@@ -22993,7 +22745,7 @@ const _sfc_main$1k = defineComponent({
22993
22745
  });
22994
22746
  const _hoisted_1$v = ["title"];
22995
22747
  const _hoisted_2$a = ["title"];
22996
- function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
22748
+ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
22997
22749
  const _component_ChevronsLeft = resolveComponent("ChevronsLeft");
22998
22750
  const _component_UIcon = resolveComponent("UIcon");
22999
22751
  const _component_ChevronsRight = resolveComponent("ChevronsRight");
@@ -23044,7 +22796,7 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
23044
22796
  ], 10, _hoisted_2$a)
23045
22797
  ], 2);
23046
22798
  }
23047
- var QuarterPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1i], ["__file", "QuarterPanelHeader.vue"]]);
22799
+ var QuarterPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1k], ["__file", "QuarterPanelHeader.vue"]]);
23048
22800
 
23049
22801
  var quarterOfYear = createCommonjsModule(function(module, exports) {
23050
22802
  !function(t, n) {
@@ -23074,7 +22826,7 @@ var quarterOfYear = createCommonjsModule(function(module, exports) {
23074
22826
  });
23075
22827
 
23076
22828
  dayjs_min.extend(quarterOfYear);
23077
- const _sfc_main$1j = defineComponent({
22829
+ const _sfc_main$1l = defineComponent({
23078
22830
  name: "QuarterTable",
23079
22831
  props: {
23080
22832
  prefixCls: {
@@ -23214,7 +22966,7 @@ const _sfc_main$1j = defineComponent({
23214
22966
  }
23215
22967
  });
23216
22968
  const _hoisted_1$u = ["onClick", "onMouseenter"];
23217
- function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
22969
+ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
23218
22970
  return openBlock(), createElementBlock("table", {
23219
22971
  class: normalizeClass(`${_ctx.prefixCls}-table`)
23220
22972
  }, [
@@ -23240,9 +22992,9 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
23240
22992
  ])
23241
22993
  ], 2);
23242
22994
  }
23243
- var QuarterTable = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1h], ["__file", "QuarterTable.vue"]]);
22995
+ var QuarterTable = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1j], ["__file", "QuarterTable.vue"]]);
23244
22996
 
23245
- const _sfc_main$1i = defineComponent({
22997
+ const _sfc_main$1k = defineComponent({
23246
22998
  name: "QuarterPanel",
23247
22999
  components: {
23248
23000
  QuarterPanelHeader,
@@ -23320,7 +23072,7 @@ const _sfc_main$1i = defineComponent({
23320
23072
  };
23321
23073
  }
23322
23074
  });
23323
- function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
23075
+ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
23324
23076
  const _component_QuarterPanelHeader = resolveComponent("QuarterPanelHeader");
23325
23077
  const _component_QuarterTable = resolveComponent("QuarterTable");
23326
23078
  return openBlock(), createElementBlock("div", {
@@ -23352,9 +23104,9 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
23352
23104
  ], 2)
23353
23105
  ], 2);
23354
23106
  }
23355
- var QuarterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1g], ["__file", "QuarterPanel.vue"]]);
23107
+ var QuarterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1i], ["__file", "QuarterPanel.vue"]]);
23356
23108
 
23357
- const _sfc_main$1h = defineComponent({
23109
+ const _sfc_main$1j = defineComponent({
23358
23110
  name: "DatePickerPanel",
23359
23111
  components: {
23360
23112
  DatePanel,
@@ -23535,7 +23287,7 @@ const _sfc_main$1h = defineComponent({
23535
23287
  };
23536
23288
  }
23537
23289
  });
23538
- function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
23290
+ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
23539
23291
  const _component_USelect = resolveComponent("USelect");
23540
23292
  const _component_DatePanel = resolveComponent("DatePanel");
23541
23293
  const _component_QuarterPanel = resolveComponent("QuarterPanel");
@@ -23563,6 +23315,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
23563
23315
  options: _ctx.shortcuts.map((shortcut) => ({ label: shortcut.text, value: shortcut.text, func: shortcut.value })),
23564
23316
  placeholder: _ctx.locale.shortcutsPlaceholder,
23565
23317
  onChange: _cache[1] || (_cache[1] = (value, option) => _ctx.onShortcutClick({
23318
+ text: value,
23566
23319
  value: option.func
23567
23320
  }))
23568
23321
  }, null, 8, ["modelValue", "options", "placeholder"])
@@ -23617,7 +23370,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
23617
23370
  ])
23618
23371
  ], 2);
23619
23372
  }
23620
- var DatePickerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1f], ["__file", "DatePickerPanel.vue"]]);
23373
+ var DatePickerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1h], ["__file", "DatePickerPanel.vue"]]);
23621
23374
 
23622
23375
  const rangeDirection = ["left", "right"];
23623
23376
  const datePickerProps = {
@@ -23829,7 +23582,7 @@ const defineProps$7 = {
23829
23582
  type: Object
23830
23583
  }
23831
23584
  };
23832
- const _sfc_main$1g = defineComponent({
23585
+ const _sfc_main$1i = defineComponent({
23833
23586
  name: "DatePickerRangePart",
23834
23587
  components: {
23835
23588
  DatePanel,
@@ -24121,7 +23874,7 @@ const _sfc_main$1g = defineComponent({
24121
23874
  };
24122
23875
  }
24123
23876
  });
24124
- function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
23877
+ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
24125
23878
  const _component_DatePanel = resolveComponent("DatePanel");
24126
23879
  const _component_MonthPanel = resolveComponent("MonthPanel");
24127
23880
  const _component_YearPanel = resolveComponent("YearPanel");
@@ -24212,9 +23965,9 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
24212
23965
  }, null, 8, ["prefix-cls", "locale", "current-date", "selected-date", "hovered-date", "disabled-date", "disabled-year", "disabled-quarter", "disabled-next", "disabled-prev", "range", "onSelectedChange", "onPanelChange", "onHoverDate"])) : createCommentVNode("v-if", true)
24213
23966
  ], 2);
24214
23967
  }
24215
- var RangePart = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1e], ["__file", "RangePart.vue"]]);
23968
+ var RangePart = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1g], ["__file", "RangePart.vue"]]);
24216
23969
 
24217
- const _sfc_main$1f = defineComponent({
23970
+ const _sfc_main$1h = defineComponent({
24218
23971
  name: "DateRangePanel",
24219
23972
  components: {
24220
23973
  RangePart
@@ -24486,7 +24239,7 @@ const _sfc_main$1f = defineComponent({
24486
24239
  }
24487
24240
  });
24488
24241
  const _hoisted_1$t = ["onClick"];
24489
- function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
24242
+ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
24490
24243
  const _component_RangePart = resolveComponent("RangePart");
24491
24244
  return openBlock(), createElementBlock("div", {
24492
24245
  class: normalizeClass([
@@ -24561,9 +24314,9 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
24561
24314
  ], 2)
24562
24315
  ], 34);
24563
24316
  }
24564
- var DateRangePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1d], ["__file", "DateRangePanel.vue"]]);
24317
+ var DateRangePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1f], ["__file", "DateRangePanel.vue"]]);
24565
24318
 
24566
- const _sfc_main$1e = defineComponent({
24319
+ const _sfc_main$1g = defineComponent({
24567
24320
  name: "UDatePicker",
24568
24321
  components: {
24569
24322
  Popup,
@@ -24737,7 +24490,7 @@ const _sfc_main$1e = defineComponent({
24737
24490
  };
24738
24491
  }
24739
24492
  });
24740
- function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
24493
+ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
24741
24494
  const _component_DateRangeInput = resolveComponent("DateRangeInput");
24742
24495
  const _component_DatePickerInput = resolveComponent("DatePickerInput");
24743
24496
  const _component_CircleX = resolveComponent("CircleX");
@@ -24768,13 +24521,12 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
24768
24521
  "disabled-date": _ctx.disabledDate,
24769
24522
  "disabled-time": _ctx.disabledTime,
24770
24523
  "time-options": _ctx.timeOptions,
24771
- "show-confirm": _ctx.showConfirm,
24772
24524
  shortcuts: _ctx.shortcuts,
24773
24525
  "show-time-clear": _ctx.showTimeClear,
24774
24526
  direction: _ctx.computedDirection,
24775
24527
  onSelect: _ctx.onSelected,
24776
24528
  onPanelChange: _ctx.onPanelChange
24777
- }, null, 8, ["prefix-cls", "locale", "value", "open", "mode", "disabled-date", "disabled-time", "time-options", "show-confirm", "shortcuts", "show-time-clear", "direction", "onSelect", "onPanelChange"])) : (openBlock(), createBlock(_component_DateRangePanel, {
24529
+ }, null, 8, ["prefix-cls", "locale", "value", "open", "mode", "disabled-date", "disabled-time", "time-options", "shortcuts", "show-time-clear", "direction", "onSelect", "onPanelChange"])) : (openBlock(), createBlock(_component_DateRangePanel, {
24778
24530
  key: 1,
24779
24531
  ref: "panelRef",
24780
24532
  "prefix-cls": _ctx.prefixCls,
@@ -24785,7 +24537,6 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
24785
24537
  "disabled-time": _ctx.disabledTime,
24786
24538
  "time-options": _ctx.timeOptions,
24787
24539
  "default-time": _ctx.defaultTime,
24788
- "show-confirm": _ctx.showConfirm,
24789
24540
  mode: _ctx.singeType,
24790
24541
  shortcuts: _ctx.shortcuts,
24791
24542
  "limit-duration": _ctx.limitDuration,
@@ -24793,7 +24544,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
24793
24544
  direction: _ctx.computedDirection,
24794
24545
  onSelect: _ctx.onSelected,
24795
24546
  onPanelChange: _ctx.onPanelChange
24796
- }, null, 8, ["prefix-cls", "locale", "value", "open", "disabled-date", "disabled-time", "time-options", "default-time", "show-confirm", "mode", "shortcuts", "limit-duration", "show-time-clear", "direction", "onSelect", "onPanelChange"]))
24547
+ }, null, 8, ["prefix-cls", "locale", "value", "open", "disabled-date", "disabled-time", "time-options", "default-time", "mode", "shortcuts", "limit-duration", "show-time-clear", "direction", "onSelect", "onPanelChange"]))
24797
24548
  ]),
24798
24549
  default: withCtx(() => [
24799
24550
  createElementVNode("div", mergeProps({
@@ -24892,7 +24643,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
24892
24643
  _: 3
24893
24644
  }, 8, ["visible", "prefix-cls", "placement", "popup-class", "click-outside", "get-popup-container", "modifiers"]);
24894
24645
  }
24895
- var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1c], ["__file", "DatePicker.vue"]]);
24646
+ var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1e], ["__file", "DatePicker.vue"]]);
24896
24647
 
24897
24648
  const UDatePicker = withInstall(DatePicker);
24898
24649
 
@@ -24921,7 +24672,7 @@ const dividerProps = {
24921
24672
  }
24922
24673
  };
24923
24674
 
24924
- const _sfc_main$1d = defineComponent({
24675
+ const _sfc_main$1f = defineComponent({
24925
24676
  name: "UDivider",
24926
24677
  props: dividerProps,
24927
24678
  setup(props, { slots }) {
@@ -24935,7 +24686,7 @@ const _sfc_main$1d = defineComponent({
24935
24686
  };
24936
24687
  }
24937
24688
  });
24938
- function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
24689
+ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
24939
24690
  return openBlock(), createElementBlock("div", {
24940
24691
  class: normalizeClass([
24941
24692
  _ctx.prefixCls,
@@ -24955,7 +24706,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
24955
24706
  ], 2)) : createCommentVNode("v-if", true)
24956
24707
  ], 2);
24957
24708
  }
24958
- var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1b], ["__file", "Divider.vue"]]);
24709
+ var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1d], ["__file", "Divider.vue"]]);
24959
24710
 
24960
24711
  const UDivider = withInstall(Divider);
24961
24712
 
@@ -25456,6 +25207,223 @@ const Empty = defineComponent({
25456
25207
 
25457
25208
  const UEmpty = withInstall(Empty);
25458
25209
 
25210
+ function useGutter(_gutter) {
25211
+ const screens = ref({});
25212
+ const token = ref();
25213
+ const getScreensRepsponsive = () => {
25214
+ token.value = responsiveObserve.subscribe((scn) => {
25215
+ if (isPlainObject$1(_gutter.value) || Array.isArray(_gutter.value) && (isPlainObject$1(_gutter.value[0]) || isPlainObject$1(_gutter.value[1]))) {
25216
+ screens.value = scn;
25217
+ }
25218
+ });
25219
+ };
25220
+ onMounted(getScreensRepsponsive);
25221
+ onUnmounted(() => {
25222
+ responsiveObserve.unsubscribe(token.value);
25223
+ });
25224
+ const getGutter = () => {
25225
+ const result = [0, 0];
25226
+ const gutterArray = Array.isArray(_gutter.value) ? _gutter.value : [_gutter.value, 0];
25227
+ if (screens.value) {
25228
+ gutterArray.forEach((g, index) => {
25229
+ if (isPlainObject$1(g)) {
25230
+ for (let i = 0; i < responsiveArray.length; i += 1) {
25231
+ const breakpoint = responsiveArray[i];
25232
+ if (screens.value[breakpoint] && g[breakpoint] !== void 0) {
25233
+ result[index] = g[breakpoint];
25234
+ break;
25235
+ }
25236
+ }
25237
+ } else {
25238
+ result[index] = g || 0;
25239
+ }
25240
+ });
25241
+ }
25242
+ return result;
25243
+ };
25244
+ const styles = computed(() => {
25245
+ let ret = {};
25246
+ const g = getGutter();
25247
+ if (g[0] > 0) {
25248
+ ret = {
25249
+ [`--grid-gutter-width`]: `${g[0]}px`
25250
+ };
25251
+ }
25252
+ if (g[1] > 0) {
25253
+ ret = {
25254
+ ...ret,
25255
+ rowGap: `${g[1]}px`
25256
+ };
25257
+ }
25258
+ return ret;
25259
+ });
25260
+ return {
25261
+ getGutter,
25262
+ styles
25263
+ };
25264
+ }
25265
+
25266
+ const gridAlign = ["top", "middle", "bottom", "stretch"];
25267
+ const gridJustify = ["start", "end", "center", "space-around", "space-between"];
25268
+ const rowProps = {
25269
+ gutter: {
25270
+ type: [Object, Number, Array],
25271
+ default: 0
25272
+ },
25273
+ flex: {
25274
+ type: Boolean,
25275
+ default: false
25276
+ },
25277
+ align: {
25278
+ type: String,
25279
+ default: "top",
25280
+ validator: oneOf(gridAlign)
25281
+ },
25282
+ justify: {
25283
+ type: String,
25284
+ default: "start",
25285
+ validator: oneOf(gridJustify)
25286
+ }
25287
+ };
25288
+ const colProps = {
25289
+ span: {
25290
+ type: [String, Number]
25291
+ },
25292
+ order: {
25293
+ type: [String, Number]
25294
+ },
25295
+ offset: {
25296
+ type: [String, Number]
25297
+ },
25298
+ push: {
25299
+ type: [String, Number]
25300
+ },
25301
+ pull: {
25302
+ type: [String, Number]
25303
+ },
25304
+ xs: {
25305
+ type: [String, Number, Object]
25306
+ },
25307
+ sm: {
25308
+ type: [String, Number, Object]
25309
+ },
25310
+ md: {
25311
+ type: [String, Number, Object]
25312
+ },
25313
+ lg: {
25314
+ type: [String, Number, Object]
25315
+ },
25316
+ xl: {
25317
+ type: [String, Number, Object]
25318
+ },
25319
+ xxl: {
25320
+ type: [String, Number, Object]
25321
+ },
25322
+ flex: {
25323
+ type: [String, Number]
25324
+ }
25325
+ };
25326
+
25327
+ const _sfc_main$1e = defineComponent({
25328
+ name: "URow",
25329
+ props: rowProps,
25330
+ setup(props) {
25331
+ const { gutter } = toRefs(props);
25332
+ const { prefixCls } = useGlobalConfig("row");
25333
+ const { getGutter, styles } = useGutter(gutter);
25334
+ return {
25335
+ prefixCls,
25336
+ getGutter,
25337
+ styles
25338
+ };
25339
+ }
25340
+ });
25341
+ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
25342
+ return openBlock(), createElementBlock("div", {
25343
+ class: normalizeClass({
25344
+ [`${_ctx.prefixCls}`]: true,
25345
+ [`${_ctx.prefixCls}-flex-${_ctx.justify}`]: _ctx.flex && _ctx.justify,
25346
+ [`${_ctx.prefixCls}-flex-${_ctx.align}`]: _ctx.flex && _ctx.align
25347
+ }),
25348
+ style: normalizeStyle(_ctx.styles)
25349
+ }, [
25350
+ renderSlot(_ctx.$slots, "default")
25351
+ ], 6);
25352
+ }
25353
+ var Row$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1c], ["__file", "Row.vue"]]);
25354
+
25355
+ const parseFlex = (flex) => {
25356
+ if (typeof flex === "number") {
25357
+ return `${flex} ${flex} auto`;
25358
+ }
25359
+ if (/^\d+(\.\d+)?(px|em|rem|%)$/.test(flex)) {
25360
+ return `0 0 ${flex}`;
25361
+ }
25362
+ return flex;
25363
+ };
25364
+ const _sfc_main$1d = defineComponent({
25365
+ name: "UCol",
25366
+ props: colProps,
25367
+ setup(props) {
25368
+ const { prefixCls } = useGlobalConfig("col");
25369
+ const sizeCls = computed(() => {
25370
+ const ret = [];
25371
+ ["xs", "sm", "md", "lg", "xl", "xxl"].forEach((size) => {
25372
+ const sizeProp = props[size];
25373
+ if (typeof sizeProp === "number" || typeof sizeProp === "string") {
25374
+ ret.push(`${prefixCls.value}-${size}-${sizeProp}`);
25375
+ } else if (typeof sizeProp === "object") {
25376
+ Object.keys(sizeProp).forEach((key) => {
25377
+ ret.push(key === "span" ? `${prefixCls.value}-${size}-${sizeProp[key]}` : `${prefixCls.value}-${size}-${key}-${sizeProp[key]}`);
25378
+ });
25379
+ }
25380
+ });
25381
+ return ret;
25382
+ });
25383
+ const styles = computed(() => {
25384
+ let ret = {};
25385
+ ret = {
25386
+ ...ret,
25387
+ flex: parseFlex(props.flex)
25388
+ };
25389
+ return ret;
25390
+ });
25391
+ return {
25392
+ sizeCls,
25393
+ prefixCls,
25394
+ styles
25395
+ };
25396
+ }
25397
+ });
25398
+ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
25399
+ return openBlock(), createElementBlock("div", {
25400
+ class: normalizeClass([
25401
+ _ctx.prefixCls,
25402
+ ..._ctx.sizeCls,
25403
+ {
25404
+ [`${_ctx.prefixCls}-${_ctx.span}`]: _ctx.span,
25405
+ [`${_ctx.prefixCls}-order-${_ctx.order}`]: _ctx.order,
25406
+ [`${_ctx.prefixCls}-offset-${_ctx.offset}`]: _ctx.offset,
25407
+ [`${_ctx.prefixCls}-push-${_ctx.push}`]: _ctx.push,
25408
+ [`${_ctx.prefixCls}-pull-${_ctx.pull}`]: _ctx.pull
25409
+ }
25410
+ ]),
25411
+ style: normalizeStyle(_ctx.styles)
25412
+ }, [
25413
+ renderSlot(_ctx.$slots, "default")
25414
+ ], 6);
25415
+ }
25416
+ var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1b], ["__file", "Col.vue"]]);
25417
+
25418
+ const UGrid = {
25419
+ Row: Row$1,
25420
+ Col,
25421
+ install: (app) => {
25422
+ app.component(Row$1.name, Row$1);
25423
+ app.component(Col.name, Col);
25424
+ }
25425
+ };
25426
+
25459
25427
  const fitList = {
25460
25428
  none: "none",
25461
25429
  contain: "contain",
@@ -27807,7 +27775,7 @@ const siderProps = {
27807
27775
  type: Boolean,
27808
27776
  default: void 0
27809
27777
  },
27810
- reverseArrow: {
27778
+ isRight: {
27811
27779
  type: Boolean,
27812
27780
  default: false
27813
27781
  },
@@ -27825,7 +27793,7 @@ const siderProps = {
27825
27793
  type: [Number, String],
27826
27794
  default: 200
27827
27795
  },
27828
- collapseWidth: {
27796
+ collapsedWidth: {
27829
27797
  type: [Number, String],
27830
27798
  default: 80
27831
27799
  },
@@ -27833,11 +27801,6 @@ const siderProps = {
27833
27801
  type: String,
27834
27802
  validator: oneOf(responsiveArray)
27835
27803
  },
27836
- theme: {
27837
- type: String,
27838
- default: "dark",
27839
- validator: oneOf(siderTheme)
27840
- },
27841
27804
  background: {
27842
27805
  type: String
27843
27806
  }
@@ -27860,7 +27823,10 @@ const _sfc_main$17 = defineComponent({
27860
27823
  name: "USider",
27861
27824
  components: {
27862
27825
  UIcon,
27863
- PanelLeft
27826
+ PanelLeft,
27827
+ PanelRight,
27828
+ ChevronLeft,
27829
+ ChevronRight
27864
27830
  },
27865
27831
  props: siderProps,
27866
27832
  emits: siderEmits,
@@ -27887,7 +27853,6 @@ const _sfc_main$17 = defineComponent({
27887
27853
  const isBreakpoint = ref(false);
27888
27854
  let mql;
27889
27855
  const responsiveHandler = ({ matches }) => {
27890
- emit("breakpoint", matches);
27891
27856
  isBreakpoint.value = matches;
27892
27857
  if (matches !== stateCollapse.value) {
27893
27858
  setCollapsed(matches, "responsive");
@@ -27895,7 +27860,7 @@ const _sfc_main$17 = defineComponent({
27895
27860
  };
27896
27861
  onMounted(() => {
27897
27862
  nextTick(() => {
27898
- if (typeof window === "undefined") {
27863
+ if (typeof window !== "undefined") {
27899
27864
  if (!!matchMedia && props.breakpoint) {
27900
27865
  mql = matchMedia(breakpointMap[props.breakpoint]);
27901
27866
  }
@@ -27904,7 +27869,9 @@ const _sfc_main$17 = defineComponent({
27904
27869
  } catch (error) {
27905
27870
  mql == null ? void 0 : mql.addListener(responsiveHandler);
27906
27871
  }
27907
- responsiveHandler(mql);
27872
+ if (mql) {
27873
+ responsiveHandler(mql);
27874
+ }
27908
27875
  }
27909
27876
  if (siderHook.attachSider) {
27910
27877
  siderHook.attachSider(uniqueId);
@@ -27926,12 +27893,12 @@ const _sfc_main$17 = defineComponent({
27926
27893
  const siderWidth = computed(() => {
27927
27894
  let ret = getPixer(props.width);
27928
27895
  if (stateCollapse.value) {
27929
- ret = getPixer(props.collapseWidth);
27896
+ ret = getPixer(props.collapsedWidth);
27930
27897
  }
27931
27898
  return ret;
27932
27899
  });
27933
27900
  const isZeroCollapse = computed(() => {
27934
- return parseFloat(String(props.collapseWidth)) === 0 || props.zeroTrigger;
27901
+ return parseFloat(String(props.collapsedWidth)) === 0 || props.zeroTrigger;
27935
27902
  });
27936
27903
  const showZeroTrigger = computed(() => {
27937
27904
  return (props.collapsible || isBreakpoint.value) && !props.hideTrigger && isZeroCollapse.value;
@@ -27943,16 +27910,16 @@ const _sfc_main$17 = defineComponent({
27943
27910
  if (props.triggerIcon) {
27944
27911
  return props.triggerIcon;
27945
27912
  }
27946
- return props.reverseArrow ? PanelLeft : PanelLeft;
27913
+ return props.isRight ? PanelLeft : PanelRight;
27947
27914
  });
27948
27915
  const handleToggle = () => {
27949
27916
  const collapsed = !stateCollapse.value;
27950
27917
  setCollapsed(collapsed, "triggerClick");
27951
27918
  };
27952
- const { collapseWidth } = toRefs(props);
27919
+ const { collapsedWidth } = toRefs(props);
27953
27920
  provide("layoutSiderContext", {
27954
27921
  collapsed: stateCollapse,
27955
- collapseWidth
27922
+ collapsedWidth
27956
27923
  });
27957
27924
  return {
27958
27925
  prefixCls,
@@ -27968,7 +27935,8 @@ const _sfc_main$17 = defineComponent({
27968
27935
  });
27969
27936
  function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
27970
27937
  var _a;
27971
- const _component_PanelLeft = resolveComponent("PanelLeft");
27938
+ const _component_ChevronRight = resolveComponent("ChevronRight");
27939
+ const _component_ChevronLeft = resolveComponent("ChevronLeft");
27972
27940
  const _component_UIcon = resolveComponent("UIcon");
27973
27941
  return openBlock(), createElementBlock("aside", {
27974
27942
  style: normalizeStyle({
@@ -27980,8 +27948,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
27980
27948
  }),
27981
27949
  class: normalizeClass([
27982
27950
  _ctx.prefixCls,
27983
- `${_ctx.prefixCls}-${_ctx.theme}`,
27984
- `${_ctx.prefixCls}-${_ctx.reverseArrow ? "right" : "left"}`,
27951
+ `${_ctx.prefixCls}-${_ctx.isRight ? "right" : "left"}`,
27985
27952
  {
27986
27953
  [`${_ctx.prefixCls}-collapsed`]: !!_ctx.stateCollapse,
27987
27954
  [`${_ctx.prefixCls}-has-trigger`]: _ctx.collapsible && !_ctx.hideTrigger && !_ctx.isZeroCollapse,
@@ -27991,12 +27958,12 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
27991
27958
  }, [
27992
27959
  _ctx.showZeroTrigger ? (openBlock(), createElementBlock("span", {
27993
27960
  key: 0,
27994
- class: normalizeClass([`${_ctx.prefixCls}-zero-trigger`, `${_ctx.prefixCls}-zero-trigger-${_ctx.reverseArrow ? "right" : "left"}`]),
27961
+ class: normalizeClass([`${_ctx.prefixCls}-zero-trigger`, `${_ctx.prefixCls}-zero-trigger-${_ctx.isRight ? "right" : "left"}`]),
27995
27962
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleToggle && _ctx.handleToggle(...args))
27996
27963
  }, [
27997
27964
  createVNode(_component_UIcon, null, {
27998
27965
  default: withCtx(() => [
27999
- _ctx.reverseArrow ? (openBlock(), createBlock(_component_PanelLeft, { key: 0 })) : (openBlock(), createBlock(_component_PanelLeft, { key: 1 }))
27966
+ _ctx.isRight ? (openBlock(), createBlock(_component_ChevronRight, { key: 0 })) : (openBlock(), createBlock(_component_ChevronLeft, { key: 1 }))
28000
27967
  ]),
28001
27968
  _: 1
28002
27969
  })
@@ -28011,7 +27978,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
28011
27978
  ], 2),
28012
27979
  _ctx.showBottomTrigger ? renderSlot(_ctx.$slots, "trigger", { key: 1 }, () => [
28013
27980
  createElementVNode("div", {
28014
- class: normalizeClass([`${_ctx.prefixCls}-trigger`, `${_ctx.prefixCls}-trigger-${_ctx.reverseArrow ? "right" : "left"}`]),
27981
+ class: normalizeClass([`${_ctx.prefixCls}-trigger`, `${_ctx.prefixCls}-trigger-${_ctx.isRight ? "right" : "left"}`]),
28015
27982
  style: normalizeStyle({ width: _ctx.siderWidth }),
28016
27983
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleToggle && _ctx.handleToggle(...args))
28017
27984
  }, [