yc-agent-ui 1.2.4 → 1.2.5

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 (148) hide show
  1. package/es/components/descriptions/index.d.ts +3 -3
  2. package/es/components/descriptions/src/index.vue.d.ts +1 -1
  3. package/es/components/dialog/index.d.ts +6 -6
  4. package/es/components/dialog/src/index.vue.d.ts +2 -2
  5. package/es/components/dialog-form/index.d.ts +2 -2
  6. package/es/components/dialog-form/src/index.vue.d.ts +2 -2
  7. package/es/components/display-item/index.d.ts +9 -9
  8. package/es/components/display-item/src/index.vue.d.ts +7 -7
  9. package/es/components/drawer-form/index.d.ts +20 -20
  10. package/es/components/drawer-form/src/index.vue.d.ts +8 -8
  11. package/es/components/form/index.d.ts +39 -39
  12. package/es/components/form/src/form-content.vue.d.ts +11 -11
  13. package/es/components/form/src/index.vue.d.ts +17 -17
  14. package/es/components/form-item/index.d.ts +61 -61
  15. package/es/components/form-item/src/index.vue.d.ts +22 -22
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/page/index.d.ts +850 -850
  18. package/es/components/page/src/index.vue.d.ts +286 -286
  19. package/es/components/popover/index.d.ts +9 -9
  20. package/es/components/popover/src/index.vue.d.ts +3 -3
  21. package/es/components/render/index.d.ts +1 -1
  22. package/es/components/render/src/index.vue.d.ts +1 -1
  23. package/es/components/search/index.d.ts +256 -256
  24. package/es/components/search/src/index.vue.d.ts +88 -88
  25. package/es/components/table/index.d.ts +9 -9
  26. package/es/components/table/src/index.vue.d.ts +1 -1
  27. package/es/components/table/src/table-column.vue.d.ts +22 -22
  28. package/es/components/utils/index.d.ts +1 -1
  29. package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  30. package/es/components/yc-display-cards/capability.d.ts +4 -0
  31. package/es/components/yc-display-cards/index.d.ts +24 -0
  32. package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  33. package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  34. package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  35. package/es/components/yc-display-cards/src/types.d.ts +47 -0
  36. package/es/components/yc-input/src/input.vue.d.ts +1 -1
  37. package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
  38. package/es/components/yc-plus-page/src/index.vue.d.ts +858 -858
  39. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  40. package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  41. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  42. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  43. package/es/hooks/usePlusFormReset.d.ts +114 -114
  44. package/es/index.css +13 -10
  45. package/es/index.mjs +1 -0
  46. package/es/packages/components/index.mjs +1 -0
  47. package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +240 -86
  48. package/es/packages/components/yc-display-cards/capability.mjs +75 -0
  49. package/es/packages/components/yc-display-cards/index.mjs +10 -0
  50. package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
  51. package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
  52. package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
  53. package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
  54. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
  55. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
  56. package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
  57. package/es/packages/registry/load.mjs +9 -8
  58. package/es/version.d.ts +1 -1
  59. package/es/version.mjs +1 -1
  60. package/index.css +4 -1
  61. package/index.js +1274 -595
  62. package/index.min.css +3 -0
  63. package/index.min.js +20 -20
  64. package/index.min.mjs +24 -24
  65. package/index.mjs +1270 -594
  66. package/lib/components/descriptions/index.d.ts +3 -3
  67. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  68. package/lib/components/dialog/index.d.ts +6 -6
  69. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  70. package/lib/components/dialog-form/index.d.ts +2 -2
  71. package/lib/components/dialog-form/src/index.vue.d.ts +2 -2
  72. package/lib/components/display-item/index.d.ts +9 -9
  73. package/lib/components/display-item/src/index.vue.d.ts +7 -7
  74. package/lib/components/drawer-form/index.d.ts +20 -20
  75. package/lib/components/drawer-form/src/index.vue.d.ts +8 -8
  76. package/lib/components/form/index.d.ts +39 -39
  77. package/lib/components/form/src/form-content.vue.d.ts +11 -11
  78. package/lib/components/form/src/index.vue.d.ts +17 -17
  79. package/lib/components/form-item/index.d.ts +61 -61
  80. package/lib/components/form-item/src/index.vue.d.ts +22 -22
  81. package/lib/components/index.d.ts +1 -0
  82. package/lib/components/page/index.d.ts +850 -850
  83. package/lib/components/page/src/index.vue.d.ts +286 -286
  84. package/lib/components/popover/index.d.ts +9 -9
  85. package/lib/components/popover/src/index.vue.d.ts +3 -3
  86. package/lib/components/render/index.d.ts +1 -1
  87. package/lib/components/render/src/index.vue.d.ts +1 -1
  88. package/lib/components/search/index.d.ts +256 -256
  89. package/lib/components/search/src/index.vue.d.ts +88 -88
  90. package/lib/components/table/index.d.ts +9 -9
  91. package/lib/components/table/src/index.vue.d.ts +1 -1
  92. package/lib/components/table/src/table-column.vue.d.ts +22 -22
  93. package/lib/components/utils/index.d.ts +1 -1
  94. package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  95. package/lib/components/yc-display-cards/capability.d.ts +4 -0
  96. package/lib/components/yc-display-cards/index.d.ts +24 -0
  97. package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  98. package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  99. package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  100. package/lib/components/yc-display-cards/src/types.d.ts +47 -0
  101. package/lib/components/yc-input/src/input.vue.d.ts +1 -1
  102. package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
  103. package/lib/components/yc-plus-page/src/index.vue.d.ts +858 -858
  104. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  105. package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  106. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  107. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  108. package/lib/hooks/usePlusFormReset.d.ts +114 -114
  109. package/lib/index.css +12 -9
  110. package/lib/index.js +10 -6
  111. package/lib/packages/components/index.js +10 -6
  112. package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +239 -85
  113. package/lib/packages/components/yc-display-cards/capability.js +79 -0
  114. package/lib/packages/components/yc-display-cards/index.js +14 -0
  115. package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
  116. package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
  117. package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
  118. package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
  119. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
  120. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
  121. package/lib/packages/components/yc-display-cards/src/types.js +2 -0
  122. package/lib/packages/registry/load.js +9 -8
  123. package/lib/version.d.ts +1 -1
  124. package/lib/version.js +1 -1
  125. package/locale/en.js +1 -1
  126. package/locale/en.min.js +1 -1
  127. package/locale/en.min.mjs +1 -1
  128. package/locale/en.mjs +1 -1
  129. package/locale/ja.js +1 -1
  130. package/locale/ja.min.js +1 -1
  131. package/locale/ja.min.mjs +1 -1
  132. package/locale/ja.mjs +1 -1
  133. package/locale/ko.js +1 -1
  134. package/locale/ko.min.js +1 -1
  135. package/locale/ko.min.mjs +1 -1
  136. package/locale/ko.mjs +1 -1
  137. package/locale/zh-cn.js +1 -1
  138. package/locale/zh-cn.min.js +1 -1
  139. package/locale/zh-cn.min.mjs +1 -1
  140. package/locale/zh-cn.mjs +1 -1
  141. package/locale/zh-tw.js +1 -1
  142. package/locale/zh-tw.min.js +1 -1
  143. package/locale/zh-tw.min.mjs +1 -1
  144. package/locale/zh-tw.mjs +1 -1
  145. package/package.json +1 -1
  146. package/theme-chalk/index.css +4 -1
  147. package/theme-chalk/plus-yc-ai-chat.css +1 -1
  148. package/theme-chalk/src/yc-ai-chat.scss +90 -0
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! yc-agent-ui v1.2.4 */
1
+ /*! yc-agent-ui v1.2.5 */
2
2
  import { defineComponent, ref, shallowRef, computed, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, renderSlot, toDisplayString, markRaw, resolveComponent, normalizeClass, createBlock, withCtx, createTextVNode, createVNode, createSlots, Fragment, resolveDynamicComponent, renderList, mergeProps, withDirectives, vModelText, resolveDirective, withModifiers, watchEffect, unref, isRef, reactive, useAttrs, normalizeProps, guardReactiveProps, nextTick, inject, isReactive, provide, h as h$1, isVNode, withKeys, TransitionGroup, toHandlers, getCurrentInstance, toRefs, toRef, Transition, useSlots, toValue, onUpdated, triggerRef, Comment, cloneVNode, onUnmounted, createStaticVNode, Teleport, vShow, useCssVars } from 'vue';
3
3
  import * as echarts from 'echarts';
4
4
  import { ElMessage, ElPagination, dayjs as dayjs$1, ElRadioGroup, ElRadio, localeContextKey, ElTableColumn, ElDropdown, ElIcon, ElDropdownMenu, ElDropdownItem, ElTooltip, ElPopconfirm, ElButton, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElSelectV2, ElTreeSelect, ElTransfer, ElTimeSelect, ElTimePicker, ElSwitch, ElSlider, ElOption, ElSelect, ElRate, ElInputNumber, ElColorPicker, ElCheckbox, ElCheckboxGroup, ElCascader, ElAutocomplete, ElFormItem, ElOptionGroup, ElText, ElDivider, ElRow, ElCol, ElForm, ElCard, ElAvatar, ElProgress, ElImage, ElPopover, ElTable, vLoading, TableV2FixedDir, ElAutoResizer, ElTableV2, ElDescriptions, ElDescriptionsItem, ElDialog, ElDrawer, ElEmpty } from 'element-plus';
@@ -1115,13 +1115,13 @@ function buildEChartsOption(props, isDark, containerWidth) {
1115
1115
  };
1116
1116
  }
1117
1117
 
1118
- const _hoisted_1$1e = {
1118
+ const _hoisted_1$1h = {
1119
1119
  key: 0,
1120
1120
  class: "yc-chart-empty"
1121
1121
  };
1122
- const _hoisted_2$V = { class: "yc-chart-empty__content" };
1123
- const _hoisted_3$O = { class: "yc-chart-empty__text" };
1124
- var _sfc_main$1Q = /* @__PURE__ */ defineComponent({
1122
+ const _hoisted_2$Y = { class: "yc-chart-empty__content" };
1123
+ const _hoisted_3$R = { class: "yc-chart-empty__text" };
1124
+ var _sfc_main$1T = /* @__PURE__ */ defineComponent({
1125
1125
  ...{
1126
1126
  name: "YcChartContainer"
1127
1127
  },
@@ -1302,9 +1302,9 @@ var _sfc_main$1Q = /* @__PURE__ */ defineComponent({
1302
1302
  /* NEED_PATCH */
1303
1303
  ),
1304
1304
  createCommentVNode(" \u7A7A\u6570\u636E\u7F3A\u7701\u5360\u4F4D "),
1305
- __props.empty ? (openBlock(), createElementBlock("div", _hoisted_1$1e, [
1305
+ __props.empty ? (openBlock(), createElementBlock("div", _hoisted_1$1h, [
1306
1306
  renderSlot(_ctx.$slots, "empty", {}, () => [
1307
- createElementVNode("div", _hoisted_2$V, [
1307
+ createElementVNode("div", _hoisted_2$Y, [
1308
1308
  _cache[0] || (_cache[0] = createElementVNode(
1309
1309
  "svg",
1310
1310
  {
@@ -1326,7 +1326,7 @@ var _sfc_main$1Q = /* @__PURE__ */ defineComponent({
1326
1326
  )),
1327
1327
  createElementVNode(
1328
1328
  "span",
1329
- _hoisted_3$O,
1329
+ _hoisted_3$R,
1330
1330
  toDisplayString(__props.emptyText),
1331
1331
  1
1332
1332
  /* TEXT */
@@ -1516,23 +1516,23 @@ function resolvePaletteStyles(key) {
1516
1516
  };
1517
1517
  }
1518
1518
 
1519
- const _hoisted_1$1d = {
1519
+ const _hoisted_1$1g = {
1520
1520
  key: 0,
1521
1521
  class: "yc-chart-card__header"
1522
1522
  };
1523
- const _hoisted_2$U = { class: "yc-chart-card__header-left" };
1524
- const _hoisted_3$N = { class: "yc-chart-card__title-row" };
1525
- const _hoisted_4$J = {
1523
+ const _hoisted_2$X = { class: "yc-chart-card__header-left" };
1524
+ const _hoisted_3$Q = { class: "yc-chart-card__title-row" };
1525
+ const _hoisted_4$M = {
1526
1526
  key: 0,
1527
1527
  class: "yc-chart-card__actions"
1528
1528
  };
1529
- const _hoisted_5$B = { class: "yc-chart-card__body" };
1530
- const _hoisted_6$y = {
1529
+ const _hoisted_5$E = { class: "yc-chart-card__body" };
1530
+ const _hoisted_6$B = {
1531
1531
  key: 1,
1532
1532
  class: "yc-chart-card__footer"
1533
1533
  };
1534
- const _hoisted_7$u = { class: "yc-chart-trend__text" };
1535
- const _hoisted_8$p = {
1534
+ const _hoisted_7$x = { class: "yc-chart-trend__text" };
1535
+ const _hoisted_8$s = {
1536
1536
  key: 0,
1537
1537
  class: "yc-chart-trend__icon",
1538
1538
  viewBox: "0 0 24 24",
@@ -1540,11 +1540,11 @@ const _hoisted_8$p = {
1540
1540
  stroke: "currentColor",
1541
1541
  "stroke-width": "2"
1542
1542
  };
1543
- const _hoisted_9$o = {
1543
+ const _hoisted_9$q = {
1544
1544
  key: 1,
1545
1545
  class: "yc-chart-card__footer-desc"
1546
1546
  };
1547
- var _sfc_main$1P = /* @__PURE__ */ defineComponent({
1547
+ var _sfc_main$1S = /* @__PURE__ */ defineComponent({
1548
1548
  ...{
1549
1549
  name: "YcChartCard"
1550
1550
  },
@@ -1694,12 +1694,12 @@ var _sfc_main$1P = /* @__PURE__ */ defineComponent({
1694
1694
  },
1695
1695
  [
1696
1696
  createCommentVNode(" \u5361\u7247\u5934\u90E8 Header "),
1697
- _ctx.$slots.header || props.title || props.description || props.badge || _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
1697
+ _ctx.$slots.header || props.title || props.description || props.badge || _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_1$1g, [
1698
1698
  renderSlot(_ctx.$slots, "header", {}, () => {
1699
1699
  var _a2, _b2;
1700
1700
  return [
1701
- createElementVNode("div", _hoisted_2$U, [
1702
- createElementVNode("div", _hoisted_3$N, [
1701
+ createElementVNode("div", _hoisted_2$X, [
1702
+ createElementVNode("div", _hoisted_3$Q, [
1703
1703
  props.title ? (openBlock(), createElementBlock(
1704
1704
  "span",
1705
1705
  {
@@ -1742,15 +1742,15 @@ var _sfc_main$1P = /* @__PURE__ */ defineComponent({
1742
1742
  /* TEXT, STYLE */
1743
1743
  )) : createCommentVNode("v-if", true)
1744
1744
  ]),
1745
- _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$J, [
1745
+ _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$M, [
1746
1746
  renderSlot(_ctx.$slots, "actions")
1747
1747
  ])) : createCommentVNode("v-if", true)
1748
1748
  ];
1749
1749
  })
1750
1750
  ])) : createCommentVNode("v-if", true),
1751
1751
  createCommentVNode(" \u56FE\u8868\u4E3B\u4F53\u533A\u57DF Body "),
1752
- createElementVNode("div", _hoisted_5$B, [
1753
- createVNode(_sfc_main$1Q, {
1752
+ createElementVNode("div", _hoisted_5$E, [
1753
+ createVNode(_sfc_main$1T, {
1754
1754
  ref_key: "containerRef",
1755
1755
  ref: containerRef,
1756
1756
  height: props.height,
@@ -1778,7 +1778,7 @@ var _sfc_main$1P = /* @__PURE__ */ defineComponent({
1778
1778
  ]), 1032, ["height", "width", "options", "loading", "loading-text", "empty", "empty-text", "theme", "auto-theme", "colors"])
1779
1779
  ]),
1780
1780
  createCommentVNode(" \u5361\u7247\u5E95\u90E8 Footer (\u7ECF\u5178 Shadcn \u8D8B\u52BF\u5206\u6790\u533A\u57DF) "),
1781
- _ctx.$slots.footer || trendInfo.value || props.footer ? (openBlock(), createElementBlock("div", _hoisted_6$y, [
1781
+ _ctx.$slots.footer || trendInfo.value || props.footer ? (openBlock(), createElementBlock("div", _hoisted_6$B, [
1782
1782
  renderSlot(_ctx.$slots, "footer", {}, () => [
1783
1783
  createCommentVNode(" \u8D8B\u52BF\u6307\u6807\u6761\u76EE "),
1784
1784
  trendInfo.value ? (openBlock(), createElementBlock(
@@ -1790,13 +1790,13 @@ var _sfc_main$1P = /* @__PURE__ */ defineComponent({
1790
1790
  [
1791
1791
  createElementVNode(
1792
1792
  "span",
1793
- _hoisted_7$u,
1793
+ _hoisted_7$x,
1794
1794
  toDisplayString(trendInfo.value.label || "\u8D8B\u52BF") + " " + toDisplayString(trendInfo.value.value),
1795
1795
  1
1796
1796
  /* TEXT */
1797
1797
  ),
1798
1798
  createCommentVNode(" \u4E0A\u5347\u8D8B\u52BF\u7BAD\u5934 "),
1799
- trendInfo.value.direction === "up" ? (openBlock(), createElementBlock("svg", _hoisted_8$p, [..._cache[0] || (_cache[0] = [
1799
+ trendInfo.value.direction === "up" ? (openBlock(), createElementBlock("svg", _hoisted_8$s, [..._cache[0] || (_cache[0] = [
1800
1800
  createElementVNode(
1801
1801
  "path",
1802
1802
  {
@@ -1843,7 +1843,7 @@ var _sfc_main$1P = /* @__PURE__ */ defineComponent({
1843
1843
  createCommentVNode(" \u603B\u7ED3\u8BF4\u660E\u6587\u6848 "),
1844
1844
  props.footer ? (openBlock(), createElementBlock(
1845
1845
  "div",
1846
- _hoisted_9$o,
1846
+ _hoisted_9$q,
1847
1847
  toDisplayString(props.footer),
1848
1848
  1
1849
1849
  /* TEXT */
@@ -1858,19 +1858,19 @@ var _sfc_main$1P = /* @__PURE__ */ defineComponent({
1858
1858
  }
1859
1859
  });
1860
1860
 
1861
- const _hoisted_1$1c = { class: "yc-metric-card__header" };
1862
- const _hoisted_2$T = { class: "yc-metric-card__extra" };
1863
- const _hoisted_3$M = {
1861
+ const _hoisted_1$1f = { class: "yc-metric-card__header" };
1862
+ const _hoisted_2$W = { class: "yc-metric-card__extra" };
1863
+ const _hoisted_3$P = {
1864
1864
  key: 1,
1865
1865
  class: "yc-metric-card__icon"
1866
1866
  };
1867
- const _hoisted_4$I = { class: "yc-metric-card__content" };
1868
- const _hoisted_5$A = { class: "yc-metric-card__value-wrap" };
1869
- const _hoisted_6$x = {
1867
+ const _hoisted_4$L = { class: "yc-metric-card__content" };
1868
+ const _hoisted_5$D = { class: "yc-metric-card__value-wrap" };
1869
+ const _hoisted_6$A = {
1870
1870
  key: 0,
1871
1871
  class: "yc-metric-card__meta"
1872
1872
  };
1873
- const _hoisted_7$t = {
1873
+ const _hoisted_7$w = {
1874
1874
  key: 0,
1875
1875
  class: "yc-metric-card__trend-icon",
1876
1876
  viewBox: "0 0 24 24",
@@ -1878,19 +1878,19 @@ const _hoisted_7$t = {
1878
1878
  stroke: "currentColor",
1879
1879
  "stroke-width": "2.5"
1880
1880
  };
1881
- const _hoisted_8$o = {
1881
+ const _hoisted_8$r = {
1882
1882
  key: 1,
1883
1883
  class: "yc-metric-card__trend-label"
1884
1884
  };
1885
- const _hoisted_9$n = {
1885
+ const _hoisted_9$p = {
1886
1886
  key: 2,
1887
1887
  class: "yc-metric-card__desc"
1888
1888
  };
1889
- const _hoisted_10$k = {
1889
+ const _hoisted_10$m = {
1890
1890
  key: 0,
1891
1891
  class: "yc-metric-card__chart"
1892
1892
  };
1893
- var _sfc_main$1O = /* @__PURE__ */ defineComponent({
1893
+ var _sfc_main$1R = /* @__PURE__ */ defineComponent({
1894
1894
  ...{
1895
1895
  name: "YcMetricCard"
1896
1896
  },
@@ -2040,7 +2040,7 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2040
2040
  },
2041
2041
  [
2042
2042
  createCommentVNode(" \u5934\u90E8\uFF1A\u6807\u9898\u4E0E\u53F3\u4FA7\u56FE\u6807/\u5FBD\u7AE0 "),
2043
- createElementVNode("div", _hoisted_1$1c, [
2043
+ createElementVNode("div", _hoisted_1$1f, [
2044
2044
  createElementVNode(
2045
2045
  "div",
2046
2046
  {
@@ -2051,7 +2051,7 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2051
2051
  5
2052
2052
  /* TEXT, STYLE */
2053
2053
  ),
2054
- createElementVNode("div", _hoisted_2$T, [
2054
+ createElementVNode("div", _hoisted_2$W, [
2055
2055
  props.badge ? (openBlock(), createBlock(_component_el_tag, {
2056
2056
  key: 0,
2057
2057
  type: props.badgeType || "info",
@@ -2069,7 +2069,7 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2069
2069
  ]),
2070
2070
  _: 1
2071
2071
  /* STABLE */
2072
- }, 8, ["type"])) : _ctx.$slots.icon || props.icon ? (openBlock(), createElementBlock("div", _hoisted_3$M, [
2072
+ }, 8, ["type"])) : _ctx.$slots.icon || props.icon ? (openBlock(), createElementBlock("div", _hoisted_3$P, [
2073
2073
  renderSlot(_ctx.$slots, "icon", {}, () => [
2074
2074
  typeof props.icon === "object" ? (openBlock(), createBlock(resolveDynamicComponent(props.icon), { key: 0 })) : createCommentVNode("v-if", true)
2075
2075
  ])
@@ -2077,8 +2077,8 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2077
2077
  ])
2078
2078
  ]),
2079
2079
  createCommentVNode(" \u6838\u5FC3\u6570\u503C\u533A\u57DF "),
2080
- createElementVNode("div", _hoisted_4$I, [
2081
- createElementVNode("div", _hoisted_5$A, [
2080
+ createElementVNode("div", _hoisted_4$L, [
2081
+ createElementVNode("div", _hoisted_5$D, [
2082
2082
  props.prefix ? (openBlock(), createElementBlock(
2083
2083
  "span",
2084
2084
  {
@@ -2113,7 +2113,7 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2113
2113
  )) : createCommentVNode("v-if", true)
2114
2114
  ]),
2115
2115
  createCommentVNode(" \u63CF\u8FF0\u4E0E\u8D8B\u52BF\u6307\u6807 "),
2116
- props.description || trendInfo.value ? (openBlock(), createElementBlock("div", _hoisted_6$x, [
2116
+ props.description || trendInfo.value ? (openBlock(), createElementBlock("div", _hoisted_6$A, [
2117
2117
  trendInfo.value ? (openBlock(), createElementBlock(
2118
2118
  "span",
2119
2119
  {
@@ -2122,7 +2122,7 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2122
2122
  },
2123
2123
  [
2124
2124
  createCommentVNode(" \u4E0A\u5347 "),
2125
- trendInfo.value.direction === "up" ? (openBlock(), createElementBlock("svg", _hoisted_7$t, [..._cache[0] || (_cache[0] = [
2125
+ trendInfo.value.direction === "up" ? (openBlock(), createElementBlock("svg", _hoisted_7$w, [..._cache[0] || (_cache[0] = [
2126
2126
  createElementVNode(
2127
2127
  "path",
2128
2128
  {
@@ -2173,13 +2173,13 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2173
2173
  )) : createCommentVNode("v-if", true),
2174
2174
  ((_g = trendInfo.value) == null ? void 0 : _g.label) ? (openBlock(), createElementBlock(
2175
2175
  "span",
2176
- _hoisted_8$o,
2176
+ _hoisted_8$r,
2177
2177
  toDisplayString(trendInfo.value.label),
2178
2178
  1
2179
2179
  /* TEXT */
2180
2180
  )) : props.description ? (openBlock(), createElementBlock(
2181
2181
  "span",
2182
- _hoisted_9$n,
2182
+ _hoisted_9$p,
2183
2183
  toDisplayString(props.description),
2184
2184
  1
2185
2185
  /* TEXT */
@@ -2187,8 +2187,8 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2187
2187
  ])) : createCommentVNode("v-if", true)
2188
2188
  ]),
2189
2189
  createCommentVNode(" \u5E95\u90E8\u8FF7\u4F60\u706B\u82B1\u8D8B\u52BF\u56FE "),
2190
- sparklineOptions.value ? (openBlock(), createElementBlock("div", _hoisted_10$k, [
2191
- createVNode(_sfc_main$1Q, {
2190
+ sparklineOptions.value ? (openBlock(), createElementBlock("div", _hoisted_10$m, [
2191
+ createVNode(_sfc_main$1T, {
2192
2192
  options: sparklineOptions.value,
2193
2193
  height: "44px",
2194
2194
  width: "100%",
@@ -2203,7 +2203,7 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2203
2203
  }
2204
2204
  });
2205
2205
 
2206
- var _sfc_main$1N = /* @__PURE__ */ defineComponent({
2206
+ var _sfc_main$1Q = /* @__PURE__ */ defineComponent({
2207
2207
  ...{
2208
2208
  name: "YcChartDashboard"
2209
2209
  },
@@ -2246,7 +2246,7 @@ var _sfc_main$1N = /* @__PURE__ */ defineComponent({
2246
2246
  }, [
2247
2247
  createCommentVNode(" \u6307\u6807\u5361\u7247 "),
2248
2248
  card.cardKind === "metric" ? (openBlock(), createBlock(
2249
- _sfc_main$1O,
2249
+ _sfc_main$1R,
2250
2250
  mergeProps({
2251
2251
  key: 0,
2252
2252
  ref_for: true
@@ -2260,7 +2260,7 @@ var _sfc_main$1N = /* @__PURE__ */ defineComponent({
2260
2260
  [
2261
2261
  createCommentVNode(" \u6570\u636E\u56FE\u8868\u5361\u7247 "),
2262
2262
  createVNode(
2263
- _sfc_main$1P,
2263
+ _sfc_main$1S,
2264
2264
  mergeProps({ ref_for: true }, card),
2265
2265
  null,
2266
2266
  16
@@ -2284,7 +2284,7 @@ var _sfc_main$1N = /* @__PURE__ */ defineComponent({
2284
2284
  }
2285
2285
  });
2286
2286
 
2287
- var _sfc_main$1M = /* @__PURE__ */ defineComponent({
2287
+ var _sfc_main$1P = /* @__PURE__ */ defineComponent({
2288
2288
  ...{
2289
2289
  name: "YcAreaChart"
2290
2290
  },
@@ -2337,7 +2337,7 @@ var _sfc_main$1M = /* @__PURE__ */ defineComponent({
2337
2337
  const props = __props;
2338
2338
  return (_ctx, _cache) => {
2339
2339
  return openBlock(), createBlock(
2340
- _sfc_main$1P,
2340
+ _sfc_main$1S,
2341
2341
  mergeProps(props, { type: "area" }),
2342
2342
  createSlots({
2343
2343
  _: 2
@@ -2379,7 +2379,7 @@ var _sfc_main$1M = /* @__PURE__ */ defineComponent({
2379
2379
  }
2380
2380
  });
2381
2381
 
2382
- var _sfc_main$1L = /* @__PURE__ */ defineComponent({
2382
+ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
2383
2383
  ...{
2384
2384
  name: "YcBarChart"
2385
2385
  },
@@ -2432,7 +2432,7 @@ var _sfc_main$1L = /* @__PURE__ */ defineComponent({
2432
2432
  const props = __props;
2433
2433
  return (_ctx, _cache) => {
2434
2434
  return openBlock(), createBlock(
2435
- _sfc_main$1P,
2435
+ _sfc_main$1S,
2436
2436
  mergeProps(props, { type: "bar" }),
2437
2437
  createSlots({
2438
2438
  _: 2
@@ -2474,7 +2474,7 @@ var _sfc_main$1L = /* @__PURE__ */ defineComponent({
2474
2474
  }
2475
2475
  });
2476
2476
 
2477
- var _sfc_main$1K = /* @__PURE__ */ defineComponent({
2477
+ var _sfc_main$1N = /* @__PURE__ */ defineComponent({
2478
2478
  ...{
2479
2479
  name: "YcLineChart"
2480
2480
  },
@@ -2527,7 +2527,7 @@ var _sfc_main$1K = /* @__PURE__ */ defineComponent({
2527
2527
  const props = __props;
2528
2528
  return (_ctx, _cache) => {
2529
2529
  return openBlock(), createBlock(
2530
- _sfc_main$1P,
2530
+ _sfc_main$1S,
2531
2531
  mergeProps(props, { type: "line" }),
2532
2532
  createSlots({
2533
2533
  _: 2
@@ -2569,7 +2569,7 @@ var _sfc_main$1K = /* @__PURE__ */ defineComponent({
2569
2569
  }
2570
2570
  });
2571
2571
 
2572
- var _sfc_main$1J = /* @__PURE__ */ defineComponent({
2572
+ var _sfc_main$1M = /* @__PURE__ */ defineComponent({
2573
2573
  ...{
2574
2574
  name: "YcPieChart"
2575
2575
  },
@@ -2621,7 +2621,7 @@ var _sfc_main$1J = /* @__PURE__ */ defineComponent({
2621
2621
  setup(__props) {
2622
2622
  const props = __props;
2623
2623
  return (_ctx, _cache) => {
2624
- return openBlock(), createBlock(_sfc_main$1P, mergeProps(props, {
2624
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, {
2625
2625
  type: props.innerRadius ? "donut" : "pie"
2626
2626
  }), createSlots({
2627
2627
  _: 2
@@ -2660,7 +2660,7 @@ var _sfc_main$1J = /* @__PURE__ */ defineComponent({
2660
2660
  }
2661
2661
  });
2662
2662
 
2663
- var _sfc_main$1I = /* @__PURE__ */ defineComponent({
2663
+ var _sfc_main$1L = /* @__PURE__ */ defineComponent({
2664
2664
  ...{
2665
2665
  name: "YcRadarChart"
2666
2666
  },
@@ -2713,7 +2713,7 @@ var _sfc_main$1I = /* @__PURE__ */ defineComponent({
2713
2713
  const props = __props;
2714
2714
  return (_ctx, _cache) => {
2715
2715
  return openBlock(), createBlock(
2716
- _sfc_main$1P,
2716
+ _sfc_main$1S,
2717
2717
  mergeProps(props, { type: "radar" }),
2718
2718
  createSlots({
2719
2719
  _: 2
@@ -2755,7 +2755,7 @@ var _sfc_main$1I = /* @__PURE__ */ defineComponent({
2755
2755
  }
2756
2756
  });
2757
2757
 
2758
- var _sfc_main$1H = /* @__PURE__ */ defineComponent({
2758
+ var _sfc_main$1K = /* @__PURE__ */ defineComponent({
2759
2759
  ...{
2760
2760
  name: "YcGaugeChart"
2761
2761
  },
@@ -2808,7 +2808,7 @@ var _sfc_main$1H = /* @__PURE__ */ defineComponent({
2808
2808
  const props = __props;
2809
2809
  return (_ctx, _cache) => {
2810
2810
  return openBlock(), createBlock(
2811
- _sfc_main$1P,
2811
+ _sfc_main$1S,
2812
2812
  mergeProps(props, { type: "gauge" }),
2813
2813
  createSlots({
2814
2814
  _: 2
@@ -2850,7 +2850,7 @@ var _sfc_main$1H = /* @__PURE__ */ defineComponent({
2850
2850
  }
2851
2851
  });
2852
2852
 
2853
- var _sfc_main$1G = /* @__PURE__ */ defineComponent({
2853
+ var _sfc_main$1J = /* @__PURE__ */ defineComponent({
2854
2854
  ...{
2855
2855
  name: "YcScatterChart"
2856
2856
  },
@@ -2903,7 +2903,7 @@ var _sfc_main$1G = /* @__PURE__ */ defineComponent({
2903
2903
  const props = __props;
2904
2904
  return (_ctx, _cache) => {
2905
2905
  return openBlock(), createBlock(
2906
- _sfc_main$1P,
2906
+ _sfc_main$1S,
2907
2907
  mergeProps(props, { type: "scatter" }),
2908
2908
  createSlots({
2909
2909
  _: 2
@@ -2945,7 +2945,7 @@ var _sfc_main$1G = /* @__PURE__ */ defineComponent({
2945
2945
  }
2946
2946
  });
2947
2947
 
2948
- var _sfc_main$1F = /* @__PURE__ */ defineComponent({
2948
+ var _sfc_main$1I = /* @__PURE__ */ defineComponent({
2949
2949
  ...{
2950
2950
  name: "YcHeatmapChart"
2951
2951
  },
@@ -2998,7 +2998,7 @@ var _sfc_main$1F = /* @__PURE__ */ defineComponent({
2998
2998
  const props = __props;
2999
2999
  return (_ctx, _cache) => {
3000
3000
  return openBlock(), createBlock(
3001
- _sfc_main$1P,
3001
+ _sfc_main$1S,
3002
3002
  mergeProps(props, { type: "heatmap" }),
3003
3003
  createSlots({
3004
3004
  _: 2
@@ -3040,7 +3040,7 @@ var _sfc_main$1F = /* @__PURE__ */ defineComponent({
3040
3040
  }
3041
3041
  });
3042
3042
 
3043
- var _sfc_main$1E = /* @__PURE__ */ defineComponent({
3043
+ var _sfc_main$1H = /* @__PURE__ */ defineComponent({
3044
3044
  ...{
3045
3045
  name: "YcCandlestickChart"
3046
3046
  },
@@ -3093,7 +3093,7 @@ var _sfc_main$1E = /* @__PURE__ */ defineComponent({
3093
3093
  const props = __props;
3094
3094
  return (_ctx, _cache) => {
3095
3095
  return openBlock(), createBlock(
3096
- _sfc_main$1P,
3096
+ _sfc_main$1S,
3097
3097
  mergeProps(props, { type: "candlestick" }),
3098
3098
  createSlots({
3099
3099
  _: 2
@@ -3135,7 +3135,7 @@ var _sfc_main$1E = /* @__PURE__ */ defineComponent({
3135
3135
  }
3136
3136
  });
3137
3137
 
3138
- var _sfc_main$1D = /* @__PURE__ */ defineComponent({
3138
+ var _sfc_main$1G = /* @__PURE__ */ defineComponent({
3139
3139
  ...{
3140
3140
  name: "YcRoseChart"
3141
3141
  },
@@ -3188,7 +3188,7 @@ var _sfc_main$1D = /* @__PURE__ */ defineComponent({
3188
3188
  const props = __props;
3189
3189
  return (_ctx, _cache) => {
3190
3190
  return openBlock(), createBlock(
3191
- _sfc_main$1P,
3191
+ _sfc_main$1S,
3192
3192
  mergeProps(props, { type: "rose" }),
3193
3193
  createSlots({
3194
3194
  _: 2
@@ -3230,7 +3230,7 @@ var _sfc_main$1D = /* @__PURE__ */ defineComponent({
3230
3230
  }
3231
3231
  });
3232
3232
 
3233
- var _sfc_main$1C = /* @__PURE__ */ defineComponent({
3233
+ var _sfc_main$1F = /* @__PURE__ */ defineComponent({
3234
3234
  ...{
3235
3235
  name: "YcPieSimpleChart"
3236
3236
  },
@@ -3283,7 +3283,7 @@ var _sfc_main$1C = /* @__PURE__ */ defineComponent({
3283
3283
  const props = __props;
3284
3284
  return (_ctx, _cache) => {
3285
3285
  return openBlock(), createBlock(
3286
- _sfc_main$1P,
3286
+ _sfc_main$1S,
3287
3287
  mergeProps(props, { type: "pie-simple" }),
3288
3288
  createSlots({
3289
3289
  _: 2
@@ -3325,7 +3325,7 @@ var _sfc_main$1C = /* @__PURE__ */ defineComponent({
3325
3325
  }
3326
3326
  });
3327
3327
 
3328
- var _sfc_main$1B = /* @__PURE__ */ defineComponent({
3328
+ var _sfc_main$1E = /* @__PURE__ */ defineComponent({
3329
3329
  ...{
3330
3330
  name: "YcStepLineChart"
3331
3331
  },
@@ -3378,7 +3378,7 @@ var _sfc_main$1B = /* @__PURE__ */ defineComponent({
3378
3378
  const props = __props;
3379
3379
  return (_ctx, _cache) => {
3380
3380
  return openBlock(), createBlock(
3381
- _sfc_main$1P,
3381
+ _sfc_main$1S,
3382
3382
  mergeProps(props, { type: "step-line" }),
3383
3383
  createSlots({
3384
3384
  _: 2
@@ -3420,7 +3420,7 @@ var _sfc_main$1B = /* @__PURE__ */ defineComponent({
3420
3420
  }
3421
3421
  });
3422
3422
 
3423
- var _sfc_main$1A = /* @__PURE__ */ defineComponent({
3423
+ var _sfc_main$1D = /* @__PURE__ */ defineComponent({
3424
3424
  ...{
3425
3425
  name: "YcDualLineChart"
3426
3426
  },
@@ -3473,7 +3473,7 @@ var _sfc_main$1A = /* @__PURE__ */ defineComponent({
3473
3473
  const props = __props;
3474
3474
  return (_ctx, _cache) => {
3475
3475
  return openBlock(), createBlock(
3476
- _sfc_main$1P,
3476
+ _sfc_main$1S,
3477
3477
  mergeProps(props, { type: "line" }),
3478
3478
  createSlots({
3479
3479
  _: 2
@@ -3515,7 +3515,7 @@ var _sfc_main$1A = /* @__PURE__ */ defineComponent({
3515
3515
  }
3516
3516
  });
3517
3517
 
3518
- var _sfc_main$1z = /* @__PURE__ */ defineComponent({
3518
+ var _sfc_main$1C = /* @__PURE__ */ defineComponent({
3519
3519
  ...{
3520
3520
  name: "YcLineGradientChart"
3521
3521
  },
@@ -3568,7 +3568,7 @@ var _sfc_main$1z = /* @__PURE__ */ defineComponent({
3568
3568
  const props = __props;
3569
3569
  return (_ctx, _cache) => {
3570
3570
  return openBlock(), createBlock(
3571
- _sfc_main$1P,
3571
+ _sfc_main$1S,
3572
3572
  mergeProps(props, { type: "line-gradient" }),
3573
3573
  createSlots({
3574
3574
  _: 2
@@ -3610,24 +3610,24 @@ var _sfc_main$1z = /* @__PURE__ */ defineComponent({
3610
3610
  }
3611
3611
  });
3612
3612
 
3613
- const YcChartContainer = withInstall(_sfc_main$1Q);
3614
- const YcChartCard = withInstall(_sfc_main$1P);
3615
- const YcMetricCard = withInstall(_sfc_main$1O);
3616
- const YcChartDashboard = withInstall(_sfc_main$1N);
3617
- const YcAreaChart = withInstall(_sfc_main$1M);
3618
- const YcBarChart = withInstall(_sfc_main$1L);
3619
- const YcLineChart = withInstall(_sfc_main$1K);
3620
- const YcStepLineChart = withInstall(_sfc_main$1B);
3621
- const YcDualLineChart = withInstall(_sfc_main$1A);
3622
- const YcLineGradientChart = withInstall(_sfc_main$1z);
3623
- const YcPieChart = withInstall(_sfc_main$1J);
3624
- const YcPieSimpleChart = withInstall(_sfc_main$1C);
3625
- const YcRadarChart = withInstall(_sfc_main$1I);
3626
- const YcGaugeChart = withInstall(_sfc_main$1H);
3627
- const YcScatterChart = withInstall(_sfc_main$1G);
3628
- const YcHeatmapChart = withInstall(_sfc_main$1F);
3629
- const YcCandlestickChart = withInstall(_sfc_main$1E);
3630
- const YcRoseChart = withInstall(_sfc_main$1D);
3613
+ const YcChartContainer = withInstall(_sfc_main$1T);
3614
+ const YcChartCard = withInstall(_sfc_main$1S);
3615
+ const YcMetricCard = withInstall(_sfc_main$1R);
3616
+ const YcChartDashboard = withInstall(_sfc_main$1Q);
3617
+ const YcAreaChart = withInstall(_sfc_main$1P);
3618
+ const YcBarChart = withInstall(_sfc_main$1O);
3619
+ const YcLineChart = withInstall(_sfc_main$1N);
3620
+ const YcStepLineChart = withInstall(_sfc_main$1E);
3621
+ const YcDualLineChart = withInstall(_sfc_main$1D);
3622
+ const YcLineGradientChart = withInstall(_sfc_main$1C);
3623
+ const YcPieChart = withInstall(_sfc_main$1M);
3624
+ const YcPieSimpleChart = withInstall(_sfc_main$1F);
3625
+ const YcRadarChart = withInstall(_sfc_main$1L);
3626
+ const YcGaugeChart = withInstall(_sfc_main$1K);
3627
+ const YcScatterChart = withInstall(_sfc_main$1J);
3628
+ const YcHeatmapChart = withInstall(_sfc_main$1I);
3629
+ const YcCandlestickChart = withInstall(_sfc_main$1H);
3630
+ const YcRoseChart = withInstall(_sfc_main$1G);
3631
3631
  const ReChartContainer = YcChartContainer;
3632
3632
  const ReChartCard = YcChartCard;
3633
3633
  const ReMetricCard = YcMetricCard;
@@ -3726,7 +3726,7 @@ const electricalLoadData = [
3726
3726
  { date: "2026-07-23", value: 55 },
3727
3727
  { date: "2026-07-24", value: 60 }
3728
3728
  ];
3729
- const capability$h = {
3729
+ const capability$i = {
3730
3730
  install: [
3731
3731
  YcChartContainer,
3732
3732
  YcChartCard,
@@ -4176,31 +4176,31 @@ const capability$h = {
4176
4176
  ]
4177
4177
  };
4178
4178
 
4179
- const _hoisted_1$1b = { class: "yc-data-table-toolbar" };
4180
- const _hoisted_2$S = { class: "yc-data-table-toolbar__left" };
4181
- const _hoisted_3$L = {
4179
+ const _hoisted_1$1e = { class: "yc-data-table-toolbar" };
4180
+ const _hoisted_2$V = { class: "yc-data-table-toolbar__left" };
4181
+ const _hoisted_3$O = {
4182
4182
  key: 0,
4183
4183
  class: "yc-data-table-search"
4184
4184
  };
4185
- const _hoisted_4$H = ["placeholder"];
4186
- const _hoisted_5$z = {
4185
+ const _hoisted_4$K = ["placeholder"];
4186
+ const _hoisted_5$C = {
4187
4187
  key: 0,
4188
4188
  class: "yc-data-table-filter__badge"
4189
4189
  };
4190
- const _hoisted_6$w = { class: "yc-data-table-filter__menu" };
4191
- const _hoisted_7$s = { class: "yc-data-table-filter__header" };
4192
- const _hoisted_8$n = { class: "yc-data-table-filter__options" };
4193
- const _hoisted_9$m = ["onClick"];
4194
- const _hoisted_10$j = { class: "yc-data-table-filter__checkbox" };
4195
- const _hoisted_11$j = {
4190
+ const _hoisted_6$z = { class: "yc-data-table-filter__menu" };
4191
+ const _hoisted_7$v = { class: "yc-data-table-filter__header" };
4192
+ const _hoisted_8$q = { class: "yc-data-table-filter__options" };
4193
+ const _hoisted_9$o = ["onClick"];
4194
+ const _hoisted_10$l = { class: "yc-data-table-filter__checkbox" };
4195
+ const _hoisted_11$l = {
4196
4196
  key: 0,
4197
4197
  viewBox: "0 0 24 24",
4198
4198
  fill: "none",
4199
4199
  stroke: "currentColor",
4200
4200
  "stroke-width": "3"
4201
4201
  };
4202
- const _hoisted_12$h = { class: "yc-data-table-filter__label" };
4203
- const _hoisted_13$f = {
4202
+ const _hoisted_12$j = { class: "yc-data-table-filter__label" };
4203
+ const _hoisted_13$h = {
4204
4204
  key: 0,
4205
4205
  class: "yc-data-table-filter__count"
4206
4206
  };
@@ -4218,7 +4218,7 @@ const _hoisted_20$a = {
4218
4218
  "stroke-width": "3"
4219
4219
  };
4220
4220
  const _hoisted_21$9 = { class: "yc-data-table-column-menu__label" };
4221
- var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4221
+ var _sfc_main$1B = /* @__PURE__ */ defineComponent({
4222
4222
  ...{
4223
4223
  name: "DataTableToolbar"
4224
4224
  },
@@ -4276,11 +4276,11 @@ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4276
4276
  };
4277
4277
  return (_ctx, _cache) => {
4278
4278
  const _component_el_popover = resolveComponent("el-popover");
4279
- return openBlock(), createElementBlock("div", _hoisted_1$1b, [
4279
+ return openBlock(), createElementBlock("div", _hoisted_1$1e, [
4280
4280
  createCommentVNode(" \u5DE6\u4FA7\u641C\u7D22\u4E0E\u7B5B\u9009 "),
4281
- createElementVNode("div", _hoisted_2$S, [
4281
+ createElementVNode("div", _hoisted_2$V, [
4282
4282
  createCommentVNode(" \u641C\u7D22\u6846 "),
4283
- props.searchable ? (openBlock(), createElementBlock("div", _hoisted_3$L, [
4283
+ props.searchable ? (openBlock(), createElementBlock("div", _hoisted_3$O, [
4284
4284
  _cache[3] || (_cache[3] = createElementVNode(
4285
4285
  "svg",
4286
4286
  {
@@ -4306,7 +4306,7 @@ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4306
4306
  type: "text",
4307
4307
  class: "yc-data-table-search__input",
4308
4308
  placeholder: props.searchPlaceholder
4309
- }, null, 8, _hoisted_4$H), [
4309
+ }, null, 8, _hoisted_4$K), [
4310
4310
  [vModelText, searchValue.value]
4311
4311
  ]),
4312
4312
  searchValue.value ? (openBlock(), createElementBlock("button", {
@@ -4390,7 +4390,7 @@ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4390
4390
  createCommentVNode(" \u5DF2\u9009\u6570\u91CF\u6807\u8BB0 "),
4391
4391
  ((_b = props.activeFilters[filter.prop]) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock(
4392
4392
  "span",
4393
- _hoisted_5$z,
4393
+ _hoisted_5$C,
4394
4394
  toDisplayString(props.activeFilters[filter.prop].length),
4395
4395
  1
4396
4396
  /* TEXT */
@@ -4404,15 +4404,15 @@ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4404
4404
  default: withCtx(() => {
4405
4405
  var _a;
4406
4406
  return [
4407
- createElementVNode("div", _hoisted_6$w, [
4407
+ createElementVNode("div", _hoisted_6$z, [
4408
4408
  createElementVNode(
4409
4409
  "div",
4410
- _hoisted_7$s,
4410
+ _hoisted_7$v,
4411
4411
  toDisplayString(filter.title) + " \u7B5B\u9009",
4412
4412
  1
4413
4413
  /* TEXT */
4414
4414
  ),
4415
- createElementVNode("div", _hoisted_8$n, [
4415
+ createElementVNode("div", _hoisted_8$q, [
4416
4416
  (openBlock(true), createElementBlock(
4417
4417
  Fragment,
4418
4418
  null,
@@ -4422,8 +4422,8 @@ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4422
4422
  class: normalizeClass(["yc-data-table-filter__item", { "is-checked": isFilterSelected(filter.prop, opt.value) }]),
4423
4423
  onClick: ($event) => toggleFilterOption(filter.prop, opt.value)
4424
4424
  }, [
4425
- createElementVNode("div", _hoisted_10$j, [
4426
- isFilterSelected(filter.prop, opt.value) ? (openBlock(), createElementBlock("svg", _hoisted_11$j, [..._cache[5] || (_cache[5] = [
4425
+ createElementVNode("div", _hoisted_10$l, [
4426
+ isFilterSelected(filter.prop, opt.value) ? (openBlock(), createElementBlock("svg", _hoisted_11$l, [..._cache[5] || (_cache[5] = [
4427
4427
  createElementVNode(
4428
4428
  "polyline",
4429
4429
  { points: "20 6 9 17 4 12" },
@@ -4435,19 +4435,19 @@ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4435
4435
  ]),
4436
4436
  createElementVNode(
4437
4437
  "span",
4438
- _hoisted_12$h,
4438
+ _hoisted_12$j,
4439
4439
  toDisplayString(opt.label),
4440
4440
  1
4441
4441
  /* TEXT */
4442
4442
  ),
4443
4443
  opt.count !== void 0 ? (openBlock(), createElementBlock(
4444
4444
  "span",
4445
- _hoisted_13$f,
4445
+ _hoisted_13$h,
4446
4446
  toDisplayString(opt.count),
4447
4447
  1
4448
4448
  /* TEXT */
4449
4449
  )) : createCommentVNode("v-if", true)
4450
- ], 10, _hoisted_9$m);
4450
+ ], 10, _hoisted_9$o);
4451
4451
  }),
4452
4452
  128
4453
4453
  /* KEYED_FRAGMENT */
@@ -4591,28 +4591,28 @@ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4591
4591
  }
4592
4592
  });
4593
4593
 
4594
- const _hoisted_1$1a = { class: "yc-data-table-pagination" };
4595
- const _hoisted_2$R = { class: "yc-data-table-pagination__left" };
4596
- const _hoisted_3$K = {
4594
+ const _hoisted_1$1d = { class: "yc-data-table-pagination" };
4595
+ const _hoisted_2$U = { class: "yc-data-table-pagination__left" };
4596
+ const _hoisted_3$N = {
4597
4597
  key: 0,
4598
4598
  class: "yc-data-table-pagination__selected"
4599
4599
  };
4600
- const _hoisted_4$G = {
4600
+ const _hoisted_4$J = {
4601
4601
  key: 1,
4602
4602
  class: "yc-data-table-pagination__total"
4603
4603
  };
4604
- const _hoisted_5$y = { class: "yc-data-table-pagination__right" };
4605
- const _hoisted_6$v = {
4604
+ const _hoisted_5$B = { class: "yc-data-table-pagination__right" };
4605
+ const _hoisted_6$y = {
4606
4606
  key: 0,
4607
4607
  class: "yc-data-table-pagination__size"
4608
4608
  };
4609
- const _hoisted_7$r = { class: "yc-data-table-pagination__info" };
4610
- const _hoisted_8$m = { class: "yc-data-table-pagination__actions" };
4611
- const _hoisted_9$l = ["disabled"];
4612
- const _hoisted_10$i = ["disabled"];
4613
- const _hoisted_11$i = ["disabled"];
4614
- const _hoisted_12$g = ["disabled"];
4615
- var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4609
+ const _hoisted_7$u = { class: "yc-data-table-pagination__info" };
4610
+ const _hoisted_8$p = { class: "yc-data-table-pagination__actions" };
4611
+ const _hoisted_9$n = ["disabled"];
4612
+ const _hoisted_10$k = ["disabled"];
4613
+ const _hoisted_11$k = ["disabled"];
4614
+ const _hoisted_12$i = ["disabled"];
4615
+ var _sfc_main$1A = /* @__PURE__ */ defineComponent({
4616
4616
  ...{
4617
4617
  name: "DataTablePagination"
4618
4618
  },
@@ -4649,27 +4649,27 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4649
4649
  return (_ctx, _cache) => {
4650
4650
  const _component_el_option = resolveComponent("el-option");
4651
4651
  const _component_el_select = resolveComponent("el-select");
4652
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
4652
+ return openBlock(), createElementBlock("div", _hoisted_1$1d, [
4653
4653
  createCommentVNode(" \u5DE6\u4FA7\uFF1A\u9009\u62E9\u72B6\u6001\u6216\u603B\u6570\u7EDF\u8BA1 (Classic Shadcn Selection Info) "),
4654
- createElementVNode("div", _hoisted_2$R, [
4654
+ createElementVNode("div", _hoisted_2$U, [
4655
4655
  props.selectable ? (openBlock(), createElementBlock(
4656
4656
  "span",
4657
- _hoisted_3$K,
4657
+ _hoisted_3$N,
4658
4658
  " \u5DF2\u9009\u62E9 " + toDisplayString(props.selectedCount) + " / \u5171 " + toDisplayString(props.totalCount) + " \u884C ",
4659
4659
  1
4660
4660
  /* TEXT */
4661
4661
  )) : (openBlock(), createElementBlock(
4662
4662
  "span",
4663
- _hoisted_4$G,
4663
+ _hoisted_4$J,
4664
4664
  " \u5171 " + toDisplayString(props.totalCount) + " \u6761\u6570\u636E ",
4665
4665
  1
4666
4666
  /* TEXT */
4667
4667
  ))
4668
4668
  ]),
4669
4669
  createCommentVNode(" \u53F3\u4FA7\uFF1A\u6BCF\u9875\u6761\u6570\u9009\u62E9\u5668\u3001\u9875\u7801\u6307\u793A\u3001\u7FFB\u9875\u5FEB\u6377\u6309\u94AE "),
4670
- createElementVNode("div", _hoisted_5$y, [
4670
+ createElementVNode("div", _hoisted_5$B, [
4671
4671
  createCommentVNode(" \u6BCF\u9875\u6761\u6570 "),
4672
- props.showSizeChanger ? (openBlock(), createElementBlock("div", _hoisted_6$v, [
4672
+ props.showSizeChanger ? (openBlock(), createElementBlock("div", _hoisted_6$y, [
4673
4673
  _cache[4] || (_cache[4] = createElementVNode(
4674
4674
  "span",
4675
4675
  { class: "yc-data-table-pagination__size-label" },
@@ -4705,13 +4705,13 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4705
4705
  createCommentVNode(" \u9875\u7801\u6307\u793A (Page X of Y) "),
4706
4706
  createElementVNode(
4707
4707
  "div",
4708
- _hoisted_7$r,
4708
+ _hoisted_7$u,
4709
4709
  " \u7B2C " + toDisplayString(props.currentPage) + " / " + toDisplayString(totalPages.value) + " \u9875 ",
4710
4710
  1
4711
4711
  /* TEXT */
4712
4712
  ),
4713
4713
  createCommentVNode(" \u7FFB\u9875\u63A7\u5236\u6309\u94AE\u7EC4 "),
4714
- createElementVNode("div", _hoisted_8$m, [
4714
+ createElementVNode("div", _hoisted_8$p, [
4715
4715
  createCommentVNode(" \u9996\u9875 << "),
4716
4716
  createElementVNode("button", {
4717
4717
  type: "button",
@@ -4735,7 +4735,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4735
4735
  -1
4736
4736
  /* CACHED */
4737
4737
  )
4738
- ])], 8, _hoisted_9$l),
4738
+ ])], 8, _hoisted_9$n),
4739
4739
  createCommentVNode(" \u4E0A\u4E00\u9875 < "),
4740
4740
  createElementVNode("button", {
4741
4741
  type: "button",
@@ -4758,7 +4758,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4758
4758
  -1
4759
4759
  /* CACHED */
4760
4760
  )
4761
- ])], 8, _hoisted_10$i),
4761
+ ])], 8, _hoisted_10$k),
4762
4762
  createCommentVNode(" \u4E0B\u4E00\u9875 > "),
4763
4763
  createElementVNode("button", {
4764
4764
  type: "button",
@@ -4781,7 +4781,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4781
4781
  -1
4782
4782
  /* CACHED */
4783
4783
  )
4784
- ])], 8, _hoisted_11$i),
4784
+ ])], 8, _hoisted_11$k),
4785
4785
  createCommentVNode(" \u672B\u9875 >> "),
4786
4786
  createElementVNode("button", {
4787
4787
  type: "button",
@@ -4805,7 +4805,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4805
4805
  -1
4806
4806
  /* CACHED */
4807
4807
  )
4808
- ])], 8, _hoisted_12$g)
4808
+ ])], 8, _hoisted_12$i)
4809
4809
  ])
4810
4810
  ])
4811
4811
  ]);
@@ -4813,19 +4813,19 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
4813
4813
  }
4814
4814
  });
4815
4815
 
4816
- const _hoisted_1$19 = {
4816
+ const _hoisted_1$1c = {
4817
4817
  key: 0,
4818
4818
  class: "yc-data-table-column-header__title"
4819
4819
  };
4820
- const _hoisted_2$Q = { class: "yc-data-table-column-header__icon" };
4821
- const _hoisted_3$J = {
4820
+ const _hoisted_2$T = { class: "yc-data-table-column-header__icon" };
4821
+ const _hoisted_3$M = {
4822
4822
  key: 0,
4823
4823
  viewBox: "0 0 24 24",
4824
4824
  fill: "none",
4825
4825
  stroke: "currentColor",
4826
4826
  "stroke-width": "2.5"
4827
4827
  };
4828
- var _sfc_main$1w = /* @__PURE__ */ defineComponent({
4828
+ var _sfc_main$1z = /* @__PURE__ */ defineComponent({
4829
4829
  ...{
4830
4830
  name: "DataTableColumnHeader"
4831
4831
  },
@@ -4860,7 +4860,7 @@ var _sfc_main$1w = /* @__PURE__ */ defineComponent({
4860
4860
  createCommentVNode(" \u4E0D\u652F\u6301\u6392\u5E8F\uFF1A\u7EAF\u6587\u672C "),
4861
4861
  !__props.column.sortable ? (openBlock(), createElementBlock(
4862
4862
  "span",
4863
- _hoisted_1$19,
4863
+ _hoisted_1$1c,
4864
4864
  toDisplayString(__props.column.label),
4865
4865
  1
4866
4866
  /* TEXT */
@@ -4884,9 +4884,9 @@ var _sfc_main$1w = /* @__PURE__ */ defineComponent({
4884
4884
  1
4885
4885
  /* TEXT */
4886
4886
  ),
4887
- createElementVNode("span", _hoisted_2$Q, [
4887
+ createElementVNode("span", _hoisted_2$T, [
4888
4888
  createCommentVNode(" \u5347\u5E8F "),
4889
- __props.sortOrder === "ascending" ? (openBlock(), createElementBlock("svg", _hoisted_3$J, [..._cache[0] || (_cache[0] = [
4889
+ __props.sortOrder === "ascending" ? (openBlock(), createElementBlock("svg", _hoisted_3$M, [..._cache[0] || (_cache[0] = [
4890
4890
  createElementVNode(
4891
4891
  "path",
4892
4892
  { d: "m18 15-6-6-6 6" },
@@ -4956,8 +4956,8 @@ var _sfc_main$1w = /* @__PURE__ */ defineComponent({
4956
4956
  }
4957
4957
  });
4958
4958
 
4959
- const _hoisted_1$18 = { class: "yc-data-table-row-actions" };
4960
- var _sfc_main$1v = /* @__PURE__ */ defineComponent({
4959
+ const _hoisted_1$1b = { class: "yc-data-table-row-actions" };
4960
+ var _sfc_main$1y = /* @__PURE__ */ defineComponent({
4961
4961
  ...{
4962
4962
  name: "DataTableRowActions"
4963
4963
  },
@@ -4983,7 +4983,7 @@ var _sfc_main$1v = /* @__PURE__ */ defineComponent({
4983
4983
  const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
4984
4984
  const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
4985
4985
  const _component_el_dropdown = resolveComponent("el-dropdown");
4986
- return openBlock(), createElementBlock("div", _hoisted_1$18, [
4986
+ return openBlock(), createElementBlock("div", _hoisted_1$1b, [
4987
4987
  createVNode(_component_el_dropdown, {
4988
4988
  trigger: "click",
4989
4989
  onCommand: handleCommand
@@ -5072,27 +5072,27 @@ var _sfc_main$1v = /* @__PURE__ */ defineComponent({
5072
5072
  }
5073
5073
  });
5074
5074
 
5075
- const _hoisted_1$17 = {
5075
+ const _hoisted_1$1a = {
5076
5076
  key: 0,
5077
5077
  class: "yc-data-table-header"
5078
5078
  };
5079
- const _hoisted_2$P = { class: "yc-data-table-header__left" };
5080
- const _hoisted_3$I = { class: "yc-data-table-header__title-row" };
5081
- const _hoisted_4$F = {
5079
+ const _hoisted_2$S = { class: "yc-data-table-header__left" };
5080
+ const _hoisted_3$L = { class: "yc-data-table-header__title-row" };
5081
+ const _hoisted_4$I = {
5082
5082
  key: 0,
5083
5083
  class: "yc-data-table-header__title"
5084
5084
  };
5085
- const _hoisted_5$x = {
5085
+ const _hoisted_5$A = {
5086
5086
  key: 0,
5087
5087
  class: "yc-data-table-header__desc"
5088
5088
  };
5089
- const _hoisted_6$u = { class: "yc-data-table-container" };
5090
- const _hoisted_7$q = { class: "yc-data-table__copyable-cell" };
5091
- const _hoisted_8$l = { class: "yc-data-table__copyable-text" };
5092
- const _hoisted_9$k = ["onClick"];
5093
- const _hoisted_10$h = { class: "yc-data-table__empty" };
5094
- const _hoisted_11$h = { class: "yc-data-table__empty-text" };
5095
- var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5089
+ const _hoisted_6$x = { class: "yc-data-table-container" };
5090
+ const _hoisted_7$t = { class: "yc-data-table__copyable-cell" };
5091
+ const _hoisted_8$o = { class: "yc-data-table__copyable-text" };
5092
+ const _hoisted_9$m = ["onClick"];
5093
+ const _hoisted_10$j = { class: "yc-data-table__empty" };
5094
+ const _hoisted_11$j = { class: "yc-data-table__empty-text" };
5095
+ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
5096
5096
  ...{
5097
5097
  name: "YcDataTable"
5098
5098
  },
@@ -5286,13 +5286,13 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5286
5286
  },
5287
5287
  [
5288
5288
  createCommentVNode(" \u5361\u7247\u5934\u90E8 (\u53EF\u9009) "),
5289
- _ctx.$slots.header || props.title || props.description || props.badge ? (openBlock(), createElementBlock("div", _hoisted_1$17, [
5289
+ _ctx.$slots.header || props.title || props.description || props.badge ? (openBlock(), createElementBlock("div", _hoisted_1$1a, [
5290
5290
  renderSlot(_ctx.$slots, "header", {}, () => [
5291
- createElementVNode("div", _hoisted_2$P, [
5292
- createElementVNode("div", _hoisted_3$I, [
5291
+ createElementVNode("div", _hoisted_2$S, [
5292
+ createElementVNode("div", _hoisted_3$L, [
5293
5293
  props.title ? (openBlock(), createElementBlock(
5294
5294
  "span",
5295
- _hoisted_4$F,
5295
+ _hoisted_4$I,
5296
5296
  toDisplayString(props.title),
5297
5297
  1
5298
5298
  /* TEXT */
@@ -5318,7 +5318,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5318
5318
  ]),
5319
5319
  props.description ? (openBlock(), createElementBlock(
5320
5320
  "div",
5321
- _hoisted_5$x,
5321
+ _hoisted_5$A,
5322
5322
  toDisplayString(props.description),
5323
5323
  1
5324
5324
  /* TEXT */
@@ -5327,7 +5327,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5327
5327
  ])
5328
5328
  ])) : createCommentVNode("v-if", true),
5329
5329
  createCommentVNode(" Shadcn \u98CE\u683C\u9876\u90E8\u5DE5\u5177\u680F (\u641C\u7D22\u3001\u5206\u9762\u7B5B\u9009\u3001\u5217\u663E\u9690\u3001\u64CD\u4F5C\u63D2\u69FD) "),
5330
- createVNode(_sfc_main$1y, {
5330
+ createVNode(_sfc_main$1B, {
5331
5331
  columns: internalColumns.value,
5332
5332
  searchable: props.searchable,
5333
5333
  "search-placeholder": props.searchPlaceholder,
@@ -5346,7 +5346,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5346
5346
  /* FORWARDED */
5347
5347
  }, 8, ["columns", "searchable", "search-placeholder", "filters", "show-column-visibility", "modelValue", "active-filters"]),
5348
5348
  createCommentVNode(" \u8868\u683C\u6838\u5FC3\u5BB9\u5668 (\u6781\u7B80\u5706\u89D2\u5916\u8FB9\u6846) "),
5349
- createElementVNode("div", _hoisted_6$u, [
5349
+ createElementVNode("div", _hoisted_6$x, [
5350
5350
  withDirectives((openBlock(), createBlock(_component_el_table, {
5351
5351
  ref_key: "tableRef",
5352
5352
  ref: tableRef,
@@ -5365,7 +5365,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5365
5365
  onSelectionChange: handleSelectionChange
5366
5366
  }, {
5367
5367
  empty: withCtx(() => [
5368
- createElementVNode("div", _hoisted_10$h, [
5368
+ createElementVNode("div", _hoisted_10$j, [
5369
5369
  _cache[5] || (_cache[5] = createElementVNode(
5370
5370
  "svg",
5371
5371
  {
@@ -5387,7 +5387,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5387
5387
  )),
5388
5388
  createElementVNode(
5389
5389
  "span",
5390
- _hoisted_11$h,
5390
+ _hoisted_11$j,
5391
5391
  toDisplayString(props.emptyText),
5392
5392
  1
5393
5393
  /* TEXT */
@@ -5416,7 +5416,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5416
5416
  fixed: col.fixed
5417
5417
  }, {
5418
5418
  header: withCtx(() => [
5419
- createVNode(_sfc_main$1w, {
5419
+ createVNode(_sfc_main$1z, {
5420
5420
  column: col,
5421
5421
  "sort-order": sortState.value.prop === col.prop ? sortState.value.order : null,
5422
5422
  onSort: (order) => handleColumnSort(col, order)
@@ -5484,10 +5484,10 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5484
5484
  { key: 2 },
5485
5485
  [
5486
5486
  createCommentVNode(" \u53EF\u4E00\u952E\u590D\u5236\u5B57\u6BB5 (\u5982 ID\u3001UUID\u3001Token) "),
5487
- createElementVNode("div", _hoisted_7$q, [
5487
+ createElementVNode("div", _hoisted_7$t, [
5488
5488
  createElementVNode(
5489
5489
  "span",
5490
- _hoisted_8$l,
5490
+ _hoisted_8$o,
5491
5491
  toDisplayString(row[col.prop]),
5492
5492
  1
5493
5493
  /* TEXT */
@@ -5520,7 +5520,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5520
5520
  -1
5521
5521
  /* CACHED */
5522
5522
  )
5523
- ])], 8, _hoisted_9$k)
5523
+ ])], 8, _hoisted_9$m)
5524
5524
  ])
5525
5525
  ],
5526
5526
  2112
@@ -5569,7 +5569,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5569
5569
  fixed: "right"
5570
5570
  }, {
5571
5571
  default: withCtx(({ row }) => [
5572
- createVNode(_sfc_main$1v, {
5572
+ createVNode(_sfc_main$1y, {
5573
5573
  actions: props.rowActions,
5574
5574
  row,
5575
5575
  onAction: handleRowAction
@@ -5586,7 +5586,7 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5586
5586
  ])
5587
5587
  ]),
5588
5588
  createCommentVNode(" Shadcn \u98CE\u683C\u5E95\u90E8\u72B6\u6001\u4E0E\u5206\u9875\u680F "),
5589
- props.showPagination !== false && props.pagination !== false ? (openBlock(), createBlock(_sfc_main$1x, {
5589
+ props.showPagination !== false && props.pagination !== false ? (openBlock(), createBlock(_sfc_main$1A, {
5590
5590
  key: 1,
5591
5591
  "total-count": filteredData.value.length,
5592
5592
  "selected-count": selectedRowsList.value.length,
@@ -5607,15 +5607,15 @@ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
5607
5607
  }
5608
5608
  });
5609
5609
 
5610
- const YcDataTable = withInstall(_sfc_main$1u);
5611
- const DataTableToolbar = withInstall(_sfc_main$1y);
5612
- const DataTablePagination = withInstall(_sfc_main$1x);
5613
- const DataTableColumnHeader = withInstall(_sfc_main$1w);
5614
- const DataTableRowActions = withInstall(_sfc_main$1v);
5610
+ const YcDataTable = withInstall(_sfc_main$1x);
5611
+ const DataTableToolbar = withInstall(_sfc_main$1B);
5612
+ const DataTablePagination = withInstall(_sfc_main$1A);
5613
+ const DataTableColumnHeader = withInstall(_sfc_main$1z);
5614
+ const DataTableRowActions = withInstall(_sfc_main$1y);
5615
5615
  const ReDataTable = YcDataTable;
5616
5616
  const PlusDataTable = YcDataTable;
5617
5617
 
5618
- const capability$g = {
5618
+ const capability$h = {
5619
5619
  gallery: {
5620
5620
  id: "yc-data-table",
5621
5621
  title: "YcDataTable \u6570\u636E\u8868\u683C",
@@ -5685,7 +5685,7 @@ const DictStoreInjectionKey = Symbol("DictStore");
5685
5685
 
5686
5686
  const QueryFilterConfigKey = Symbol("QueryFilterConfig");
5687
5687
 
5688
- var _sfc_main$1t = /* @__PURE__ */ defineComponent({
5688
+ var _sfc_main$1w = /* @__PURE__ */ defineComponent({
5689
5689
  ...{
5690
5690
  name: "PlusPagination"
5691
5691
  },
@@ -5763,7 +5763,7 @@ var _sfc_main$1t = /* @__PURE__ */ defineComponent({
5763
5763
  }
5764
5764
  });
5765
5765
 
5766
- const PlusPagination = _sfc_main$1t;
5766
+ const PlusPagination = _sfc_main$1w;
5767
5767
 
5768
5768
  //#region ../../packages/element-plus/version.ts
5769
5769
  const version$2 = "2.14.8";
@@ -10399,7 +10399,7 @@ const versionIsLessThan260 = compareVersion(version$2, "2.6.0") < 0;
10399
10399
  const versionIsLessThan299 = compareVersion(version$2, "2.9.9") < 0;
10400
10400
  const getLabel$1 = (label) => label ? unref(label) : "";
10401
10401
 
10402
- var _sfc_main$1s = /* @__PURE__ */ defineComponent({
10402
+ var _sfc_main$1v = /* @__PURE__ */ defineComponent({
10403
10403
  ...{
10404
10404
  name: "PlusRadio"
10405
10405
  },
@@ -10584,7 +10584,7 @@ var _sfc_main$1s = /* @__PURE__ */ defineComponent({
10584
10584
  }
10585
10585
  });
10586
10586
 
10587
- const PlusRadio = _sfc_main$1s;
10587
+ const PlusRadio = _sfc_main$1v;
10588
10588
 
10589
10589
  const DEFAULT_TOOLTIP = "\u5DE6\u53F3\u6EDA\u52A8\uFF1A\u6309\u4F4FShift\u952E\u6EDA\u52A8\u6ED1\u8F6E";
10590
10590
  const DEFAULT_HORIZONTAL_BAR_SELECTOR = ".el-scrollbar__bar.is-horizontal";
@@ -11364,13 +11364,13 @@ function useDrawerFormConfig() {
11364
11364
  return config.drawerForm;
11365
11365
  }
11366
11366
 
11367
- const _hoisted_1$16 = {
11367
+ const _hoisted_1$19 = {
11368
11368
  key: 0,
11369
11369
  class: "plus-table-action-bar__dropdown__link"
11370
11370
  };
11371
- const _hoisted_2$O = { class: "plus-table-action-bar__dropdown__link" };
11372
- const _hoisted_3$H = { class: "plus-table-action-bar__more-text" };
11373
- var _sfc_main$1r = /* @__PURE__ */ defineComponent({
11371
+ const _hoisted_2$R = { class: "plus-table-action-bar__dropdown__link" };
11372
+ const _hoisted_3$K = { class: "plus-table-action-bar__more-text" };
11373
+ var _sfc_main$1u = /* @__PURE__ */ defineComponent({
11374
11374
  ...{
11375
11375
  name: "PlusTableActionBar"
11376
11376
  },
@@ -11686,7 +11686,7 @@ var _sfc_main$1r = /* @__PURE__ */ defineComponent({
11686
11686
  )
11687
11687
  ]),
11688
11688
  default: withCtx(() => [
11689
- __props.moreType === "icon" ? (openBlock(), createElementBlock("span", _hoisted_1$16, [
11689
+ __props.moreType === "icon" ? (openBlock(), createElementBlock("span", _hoisted_1$19, [
11690
11690
  renderSlot(_ctx.$slots, "action-bar-more-icon", {}, () => [
11691
11691
  createVNode(unref(ElIcon), null, {
11692
11692
  default: withCtx(() => [
@@ -11701,10 +11701,10 @@ var _sfc_main$1r = /* @__PURE__ */ defineComponent({
11701
11701
  { key: 1 },
11702
11702
  [
11703
11703
  createCommentVNode(" \u9ED8\u8BA4 "),
11704
- createElementVNode("span", _hoisted_2$O, [
11704
+ createElementVNode("span", _hoisted_2$R, [
11705
11705
  createElementVNode(
11706
11706
  "span",
11707
- _hoisted_3$H,
11707
+ _hoisted_3$K,
11708
11708
  toDisplayString(unref(t)("plus.table.more")),
11709
11709
  1
11710
11710
  /* TEXT */
@@ -11735,7 +11735,7 @@ var _sfc_main$1r = /* @__PURE__ */ defineComponent({
11735
11735
  }
11736
11736
  });
11737
11737
 
11738
- var _sfc_main$1q = /* @__PURE__ */ defineComponent({
11738
+ var _sfc_main$1t = /* @__PURE__ */ defineComponent({
11739
11739
  ...{
11740
11740
  name: "PlusRender"
11741
11741
  },
@@ -11803,10 +11803,10 @@ var _sfc_main$1q = /* @__PURE__ */ defineComponent({
11803
11803
  }
11804
11804
  });
11805
11805
 
11806
- const PlusRender = _sfc_main$1q;
11806
+ const PlusRender = _sfc_main$1t;
11807
11807
 
11808
- const _hoisted_1$15 = { class: "plus-date-picker__middle" };
11809
- var _sfc_main$1p = /* @__PURE__ */ defineComponent({
11808
+ const _hoisted_1$18 = { class: "plus-date-picker__middle" };
11809
+ var _sfc_main$1s = /* @__PURE__ */ defineComponent({
11810
11810
  ...{
11811
11811
  name: "PlusDatePicker"
11812
11812
  },
@@ -11911,7 +11911,7 @@ var _sfc_main$1p = /* @__PURE__ */ defineComponent({
11911
11911
  }), null, 16, ["modelValue", "type", "value-format", "placeholder", "disabled"]),
11912
11912
  createElementVNode(
11913
11913
  "span",
11914
- _hoisted_1$15,
11914
+ _hoisted_1$18,
11915
11915
  toDisplayString(__props.rangeSeparator),
11916
11916
  1
11917
11917
  /* TEXT */
@@ -11942,9 +11942,9 @@ var _sfc_main$1p = /* @__PURE__ */ defineComponent({
11942
11942
  }
11943
11943
  });
11944
11944
 
11945
- const PlusDatePicker = _sfc_main$1p;
11945
+ const PlusDatePicker = _sfc_main$1s;
11946
11946
 
11947
- var _sfc_main$1o = /* @__PURE__ */ defineComponent({
11947
+ var _sfc_main$1r = /* @__PURE__ */ defineComponent({
11948
11948
  ...{
11949
11949
  name: "PlusInputTag"
11950
11950
  },
@@ -12081,7 +12081,7 @@ var _sfc_main$1o = /* @__PURE__ */ defineComponent({
12081
12081
  }
12082
12082
  });
12083
12083
 
12084
- const PlusInputTag = _sfc_main$1o;
12084
+ const PlusInputTag = _sfc_main$1r;
12085
12085
 
12086
12086
  const FieldComponentMap = {
12087
12087
  // plus
@@ -12239,18 +12239,18 @@ const findPlaceholderOverflow = (root, target, point, measure = measureTextWidth
12239
12239
  return hovered ? hitFromInput(hovered, measure) : null;
12240
12240
  };
12241
12241
 
12242
- const _hoisted_1$14 = { class: "el-form-item__error" };
12243
- const _hoisted_2$N = { class: "plus-form-item__label" };
12244
- const _hoisted_3$G = {
12242
+ const _hoisted_1$17 = { class: "el-form-item__error" };
12243
+ const _hoisted_2$Q = { class: "plus-form-item__label" };
12244
+ const _hoisted_3$J = {
12245
12245
  key: 0,
12246
12246
  class: "plus-form-item-field"
12247
12247
  };
12248
- const _hoisted_4$E = {
12248
+ const _hoisted_4$H = {
12249
12249
  key: 1,
12250
12250
  class: "plus-form-item-field"
12251
12251
  };
12252
12252
  const TOOLTIP_SHOW_DELAY = 300;
12253
- var _sfc_main$1n = /* @__PURE__ */ defineComponent({
12253
+ var _sfc_main$1q = /* @__PURE__ */ defineComponent({
12254
12254
  ...{
12255
12255
  name: "PlusFormItem"
12256
12256
  },
@@ -12557,7 +12557,7 @@ var _sfc_main$1n = /* @__PURE__ */ defineComponent({
12557
12557
  onMouseleave: hidePlaceholderTooltip
12558
12558
  },
12559
12559
  [
12560
- __props.renderField && unref(isFunction)(__props.renderField) ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
12560
+ __props.renderField && unref(isFunction)(__props.renderField) ? (openBlock(), createElementBlock("div", _hoisted_3$J, [
12561
12561
  valueIsReady.value ? (openBlock(), createBlock(unref(PlusRender), {
12562
12562
  key: 0,
12563
12563
  render: __props.renderField,
@@ -12567,7 +12567,7 @@ var _sfc_main$1n = /* @__PURE__ */ defineComponent({
12567
12567
  "render-type": "form",
12568
12568
  "handle-change": handleChange
12569
12569
  }, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : createCommentVNode("v-if", true)
12570
- ])) : _ctx.$slots[unref(getFieldSlotName)(__props.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4$E, [
12570
+ ])) : _ctx.$slots[unref(getFieldSlotName)(__props.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4$H, [
12571
12571
  renderSlot(_ctx.$slots, unref(getFieldSlotName)(__props.prop), mergeProps(params.value, { column: props }))
12572
12572
  ])) : __props.valueType === "select" && customFieldProps.value.multiple === true ? (openBlock(), createBlock(unref(ElSelect$1), mergeProps({
12573
12573
  key: 2,
@@ -12921,7 +12921,7 @@ var _sfc_main$1n = /* @__PURE__ */ defineComponent({
12921
12921
  unref(isFunction)(__props.renderErrorMessage) ? {
12922
12922
  name: "error",
12923
12923
  fn: withCtx(({ error }) => [
12924
- createElementVNode("div", _hoisted_1$14, [
12924
+ createElementVNode("div", _hoisted_1$17, [
12925
12925
  (openBlock(), createBlock(resolveDynamicComponent(__props.renderErrorMessage), mergeProps(props, {
12926
12926
  value: state.value,
12927
12927
  error,
@@ -12934,7 +12934,7 @@ var _sfc_main$1n = /* @__PURE__ */ defineComponent({
12934
12934
  __props.hasLabel ? {
12935
12935
  name: "label",
12936
12936
  fn: withCtx(({ label: currentLabel }) => [
12937
- createElementVNode("span", _hoisted_2$N, [
12937
+ createElementVNode("span", _hoisted_2$Q, [
12938
12938
  createVNode(unref(ElTooltip$1), {
12939
12939
  visible: labelTooltipVisible.value,
12940
12940
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => labelTooltipVisible.value = $event),
@@ -13018,9 +13018,9 @@ var _sfc_main$1n = /* @__PURE__ */ defineComponent({
13018
13018
  }
13019
13019
  });
13020
13020
 
13021
- const PlusFormItem = _sfc_main$1n;
13021
+ const PlusFormItem = _sfc_main$1q;
13022
13022
 
13023
- var _sfc_main$1m = /* @__PURE__ */ defineComponent({
13023
+ var _sfc_main$1p = /* @__PURE__ */ defineComponent({
13024
13024
  ...{
13025
13025
  name: "PlusCollapseTransition"
13026
13026
  },
@@ -13071,15 +13071,15 @@ var _sfc_main$1m = /* @__PURE__ */ defineComponent({
13071
13071
  }
13072
13072
  });
13073
13073
 
13074
- const _hoisted_1$13 = {
13074
+ const _hoisted_1$16 = {
13075
13075
  key: 0,
13076
13076
  class: "plus-form-item-previous"
13077
13077
  };
13078
- const _hoisted_2$M = {
13078
+ const _hoisted_2$P = {
13079
13079
  key: 1,
13080
13080
  class: "plus-form-item-extra"
13081
13081
  };
13082
- var _sfc_main$1l = /* @__PURE__ */ defineComponent({
13082
+ var _sfc_main$1o = /* @__PURE__ */ defineComponent({
13083
13083
  ...{
13084
13084
  name: "PlusFormContent"
13085
13085
  },
@@ -13152,7 +13152,7 @@ var _sfc_main$1l = /* @__PURE__ */ defineComponent({
13152
13152
  class: ["plus-form__row", layoutRowClass.value]
13153
13153
  }), {
13154
13154
  default: withCtx(() => [
13155
- createVNode(_sfc_main$1m, {
13155
+ createVNode(_sfc_main$1p, {
13156
13156
  "collapse-duration": __props.collapseDuration,
13157
13157
  "collapse-transition": __props.collapseTransition
13158
13158
  }, {
@@ -13168,7 +13168,7 @@ var _sfc_main$1l = /* @__PURE__ */ defineComponent({
13168
13168
  }), {
13169
13169
  default: withCtx(() => [
13170
13170
  createCommentVNode(" el-form-item\u4E0A\u4E00\u884C\u7684\u5185\u5BB9 "),
13171
- item.renderPrevious || _ctx.$slots[unref(getPreviousSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_1$13, [
13171
+ item.renderPrevious || _ctx.$slots[unref(getPreviousSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_1$16, [
13172
13172
  unref(isFunction)(item.renderPrevious) ? (openBlock(), createBlock(
13173
13173
  resolveDynamicComponent(item.renderPrevious),
13174
13174
  mergeProps({
@@ -13214,7 +13214,7 @@ var _sfc_main$1l = /* @__PURE__ */ defineComponent({
13214
13214
  } : void 0
13215
13215
  ]), 1040, ["model-value", "clearable", "has-label", "ellipsis", "onChange"]),
13216
13216
  createCommentVNode(" el-form-item \u4E0B\u4E00\u884C\u989D\u5916\u7684\u5185\u5BB9 "),
13217
- item.renderExtra || _ctx.$slots[unref(getExtraSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_2$M, [
13217
+ item.renderExtra || _ctx.$slots[unref(getExtraSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_2$P, [
13218
13218
  item.renderExtra && unref(isFunction)(item.renderExtra) ? (openBlock(), createBlock(
13219
13219
  resolveDynamicComponent(item.renderExtra),
13220
13220
  mergeProps({
@@ -13248,8 +13248,8 @@ var _sfc_main$1l = /* @__PURE__ */ defineComponent({
13248
13248
  }
13249
13249
  });
13250
13250
 
13251
- const _hoisted_1$12 = { class: "plus-form__group__item__icon" };
13252
- var _sfc_main$1k = /* @__PURE__ */ defineComponent({
13251
+ const _hoisted_1$15 = { class: "plus-form__group__item__icon" };
13252
+ var _sfc_main$1n = /* @__PURE__ */ defineComponent({
13253
13253
  ...{
13254
13254
  name: "PlusForm",
13255
13255
  inheritAttrs: false
@@ -13415,7 +13415,7 @@ var _sfc_main$1k = /* @__PURE__ */ defineComponent({
13415
13415
  icon: groupItem.icon,
13416
13416
  index
13417
13417
  }, () => [
13418
- createElementVNode("div", _hoisted_1$12, [
13418
+ createElementVNode("div", _hoisted_1$15, [
13419
13419
  groupItem.icon ? (openBlock(), createBlock(
13420
13420
  unref(ElIcon),
13421
13421
  { key: 0 },
@@ -13438,7 +13438,7 @@ var _sfc_main$1k = /* @__PURE__ */ defineComponent({
13438
13438
  ])
13439
13439
  ]),
13440
13440
  default: withCtx(() => [
13441
- _ctx.$slots[unref(getFormGroupSlotName)(groupItem.name)] ? renderSlot(_ctx.$slots, unref(getFormGroupSlotName)(groupItem.name), mergeProps({ ref_for: true }, groupItem, { index }), void 0, void 0, 0) : (openBlock(), createBlock(_sfc_main$1l, {
13441
+ _ctx.$slots[unref(getFormGroupSlotName)(groupItem.name)] ? renderSlot(_ctx.$slots, unref(getFormGroupSlotName)(groupItem.name), mergeProps({ ref_for: true }, groupItem, { index }), void 0, void 0, 0) : (openBlock(), createBlock(_sfc_main$1o, {
13442
13442
  key: 1,
13443
13443
  modelValue: values.value,
13444
13444
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => values.value = $event),
@@ -13480,7 +13480,7 @@ var _sfc_main$1k = /* @__PURE__ */ defineComponent({
13480
13480
  { key: 1 },
13481
13481
  [
13482
13482
  createCommentVNode(" \u666E\u901A\u8868\u5355 "),
13483
- createVNode(_sfc_main$1l, {
13483
+ createVNode(_sfc_main$1o, {
13484
13484
  modelValue: values.value,
13485
13485
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => values.value = $event),
13486
13486
  "row-props": __props.rowProps,
@@ -13564,7 +13564,7 @@ var _sfc_main$1k = /* @__PURE__ */ defineComponent({
13564
13564
  }
13565
13565
  });
13566
13566
 
13567
- const PlusForm = _sfc_main$1k;
13567
+ const PlusForm = _sfc_main$1n;
13568
13568
 
13569
13569
  const DisplayComponentMap = {
13570
13570
  img: {
@@ -13605,9 +13605,9 @@ const DisplayComponentMap = {
13605
13605
  const hasDisplayComponent = (valueType) => Object.keys(DisplayComponentMap).includes(valueType);
13606
13606
  const getDisplayComponent = (valueType) => Reflect.get(DisplayComponentMap, valueType) || {};
13607
13607
 
13608
- const _hoisted_1$11 = ["innerHTML"];
13609
- const _hoisted_2$L = { class: "plus-display-item" };
13610
- var _sfc_main$1j = /* @__PURE__ */ defineComponent({
13608
+ const _hoisted_1$14 = ["innerHTML"];
13609
+ const _hoisted_2$O = { class: "plus-display-item" };
13610
+ var _sfc_main$1m = /* @__PURE__ */ defineComponent({
13611
13611
  ...{
13612
13612
  name: "PlusDisplayItem"
13613
13613
  },
@@ -13997,7 +13997,7 @@ var _sfc_main$1j = /* @__PURE__ */ defineComponent({
13997
13997
  createElementVNode("span", {
13998
13998
  class: "plus-display-item",
13999
13999
  innerHTML: __props.column.renderHTML(displayValue.value, renderParams.value)
14000
- }, null, 8, _hoisted_1$11)
14000
+ }, null, 8, _hoisted_1$14)
14001
14001
  ],
14002
14002
  2112
14003
14003
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
@@ -14116,7 +14116,7 @@ var _sfc_main$1j = /* @__PURE__ */ defineComponent({
14116
14116
  { key: 5 },
14117
14117
  [
14118
14118
  createCommentVNode(" \u590D\u5236 "),
14119
- createElementVNode("span", _hoisted_2$L, [
14119
+ createElementVNode("span", _hoisted_2$O, [
14120
14120
  createTextVNode(
14121
14121
  toDisplayString(formatterValue.value) + " ",
14122
14122
  1
@@ -14274,11 +14274,11 @@ var _sfc_main$1j = /* @__PURE__ */ defineComponent({
14274
14274
  }
14275
14275
  });
14276
14276
 
14277
- const PlusDisplayItem = _sfc_main$1j;
14277
+ const PlusDisplayItem = _sfc_main$1m;
14278
14278
 
14279
- const _hoisted_1$10 = { class: "plus-table-column__header-text" };
14280
- const _hoisted_2$K = { class: "plus-table-column__header-text" };
14281
- var _sfc_main$1i = /* @__PURE__ */ defineComponent({
14279
+ const _hoisted_1$13 = { class: "plus-table-column__header-text" };
14280
+ const _hoisted_2$N = { class: "plus-table-column__header-text" };
14281
+ var _sfc_main$1l = /* @__PURE__ */ defineComponent({
14282
14282
  ...{
14283
14283
  name: "PlusTableColumn"
14284
14284
  },
@@ -14412,7 +14412,7 @@ var _sfc_main$1i = /* @__PURE__ */ defineComponent({
14412
14412
  default: withCtx(() => [
14413
14413
  createElementVNode(
14414
14414
  "span",
14415
- _hoisted_1$10,
14415
+ _hoisted_1$13,
14416
14416
  toDisplayString(unref(getLabel$1)(item.label)),
14417
14417
  1
14418
14418
  /* TEXT */
@@ -14427,7 +14427,7 @@ var _sfc_main$1i = /* @__PURE__ */ defineComponent({
14427
14427
  createCommentVNode(" \u542F\u7528\u7701\u7565\u4F46\u7981\u7528 tooltip \u65F6 "),
14428
14428
  createElementVNode(
14429
14429
  "span",
14430
- _hoisted_2$K,
14430
+ _hoisted_2$N,
14431
14431
  toDisplayString(unref(getLabel$1)(item.label)),
14432
14432
  1
14433
14433
  /* TEXT */
@@ -14556,7 +14556,7 @@ var _sfc_main$1i = /* @__PURE__ */ defineComponent({
14556
14556
  }
14557
14557
  });
14558
14558
 
14559
- var _sfc_main$1h = /* @__PURE__ */ defineComponent({
14559
+ var _sfc_main$1k = /* @__PURE__ */ defineComponent({
14560
14560
  ...{
14561
14561
  name: "PlusTableTableColumnIndex"
14562
14562
  },
@@ -17279,8 +17279,8 @@ _extends(Remove, {
17279
17279
  Sortable.mount(new AutoScrollPlugin());
17280
17280
  Sortable.mount(Remove, Revert);
17281
17281
 
17282
- const _hoisted_1$$ = { class: "plus-table-column-drag-icon" };
17283
- var _sfc_main$1g = /* @__PURE__ */ defineComponent({
17282
+ const _hoisted_1$12 = { class: "plus-table-column-drag-icon" };
17283
+ var _sfc_main$1j = /* @__PURE__ */ defineComponent({
17284
17284
  ...{
17285
17285
  name: "PlusTableColumnDragSort"
17286
17286
  },
@@ -17331,7 +17331,7 @@ var _sfc_main$1g = /* @__PURE__ */ defineComponent({
17331
17331
  "class-name": "plus-table-column-drag-sort"
17332
17332
  }, __props.dragSortableTableColumnProps), {
17333
17333
  default: withCtx(() => [
17334
- createElementVNode("span", _hoisted_1$$, [
17334
+ createElementVNode("span", _hoisted_1$12, [
17335
17335
  renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
17336
17336
  _cache[0] || (_cache[0] = createTextVNode(
17337
17337
  "\u2637",
@@ -17348,11 +17348,11 @@ var _sfc_main$1g = /* @__PURE__ */ defineComponent({
17348
17348
  }
17349
17349
  });
17350
17350
 
17351
- const _hoisted_1$_ = {
17351
+ const _hoisted_1$11 = {
17352
17352
  key: 0,
17353
17353
  style: { "padding-top": "12px" }
17354
17354
  };
17355
- var _sfc_main$1f = /* @__PURE__ */ defineComponent({
17355
+ var _sfc_main$1i = /* @__PURE__ */ defineComponent({
17356
17356
  ...{
17357
17357
  name: "PlusPopover"
17358
17358
  },
@@ -17411,7 +17411,7 @@ var _sfc_main$1f = /* @__PURE__ */ defineComponent({
17411
17411
  ]),
17412
17412
  default: withCtx(() => [
17413
17413
  renderSlot(_ctx.$slots, "default"),
17414
- __props.hasShowBottomButton ? (openBlock(), createElementBlock("div", _hoisted_1$_, [
17414
+ __props.hasShowBottomButton ? (openBlock(), createElementBlock("div", _hoisted_1$11, [
17415
17415
  createVNode(unref(ElButton), {
17416
17416
  size: "small",
17417
17417
  plain: "",
@@ -17452,21 +17452,21 @@ var _sfc_main$1f = /* @__PURE__ */ defineComponent({
17452
17452
  }
17453
17453
  });
17454
17454
 
17455
- const PlusPopover = _sfc_main$1f;
17455
+ const PlusPopover = _sfc_main$1i;
17456
17456
 
17457
- const _hoisted_1$Z = { class: "plus-table-title-bar" };
17458
- const _hoisted_2$J = { class: "plus-table-title-bar__title" };
17459
- const _hoisted_3$F = { class: "plus-table-title-bar__toolbar" };
17460
- const _hoisted_4$D = { class: "plus-table-title-bar__toolbar__density" };
17461
- const _hoisted_5$w = { class: "plus-table-checkbox-checkAll" };
17462
- const _hoisted_6$t = { class: "plus-table-checkbox-actions" };
17463
- const _hoisted_7$p = {
17457
+ const _hoisted_1$10 = { class: "plus-table-title-bar" };
17458
+ const _hoisted_2$M = { class: "plus-table-title-bar__title" };
17459
+ const _hoisted_3$I = { class: "plus-table-title-bar__toolbar" };
17460
+ const _hoisted_4$G = { class: "plus-table-title-bar__toolbar__density" };
17461
+ const _hoisted_5$z = { class: "plus-table-checkbox-checkAll" };
17462
+ const _hoisted_6$w = { class: "plus-table-checkbox-actions" };
17463
+ const _hoisted_7$s = {
17464
17464
  key: 0,
17465
17465
  class: "plus-table-checkbox-handle"
17466
17466
  };
17467
- const _hoisted_8$k = { key: 1 };
17468
- const _hoisted_9$j = { key: 1 };
17469
- var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17467
+ const _hoisted_8$n = { key: 1 };
17468
+ const _hoisted_9$l = { key: 1 };
17469
+ var _sfc_main$1h = /* @__PURE__ */ defineComponent({
17470
17470
  ...{
17471
17471
  name: "PlusTableToolbar"
17472
17472
  },
@@ -17635,8 +17635,8 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17635
17635
  });
17636
17636
  return (_ctx, _cache) => {
17637
17637
  var _a, _b, _c;
17638
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
17639
- createElementVNode("div", _hoisted_2$J, [
17638
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [
17639
+ createElementVNode("div", _hoisted_2$M, [
17640
17640
  renderSlot(_ctx.$slots, "title", {}, () => [
17641
17641
  createTextVNode(
17642
17642
  toDisplayString(titleBarConfig.value.title),
@@ -17645,7 +17645,7 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17645
17645
  )
17646
17646
  ], true)
17647
17647
  ]),
17648
- createElementVNode("div", _hoisted_3$F, [
17648
+ createElementVNode("div", _hoisted_3$I, [
17649
17649
  renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
17650
17650
  ((_a = titleBarConfig.value) == null ? void 0 : _a.refresh) === true ? (openBlock(), createElementBlock("span", {
17651
17651
  key: 0,
@@ -17724,7 +17724,7 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17724
17724
  }, 8, ["content"])
17725
17725
  ]),
17726
17726
  default: withCtx(() => [
17727
- createElementVNode("div", _hoisted_4$D, [
17727
+ createElementVNode("div", _hoisted_4$G, [
17728
17728
  (openBlock(), createElementBlock(
17729
17729
  Fragment,
17730
17730
  null,
@@ -17791,7 +17791,7 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17791
17791
  default: withCtx(() => {
17792
17792
  var _a2, _b2, _c2, _d;
17793
17793
  return [
17794
- createElementVNode("div", _hoisted_5$w, [
17794
+ createElementVNode("div", _hoisted_5$z, [
17795
17795
  createVNode(unref(ElCheckbox), {
17796
17796
  modelValue: state.checkAll,
17797
17797
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.checkAll = $event),
@@ -17808,7 +17808,7 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17808
17808
  _: 1
17809
17809
  /* STABLE */
17810
17810
  }, 8, ["modelValue", "indeterminate"]),
17811
- createElementVNode("div", _hoisted_6$t, [
17811
+ createElementVNode("div", _hoisted_6$w, [
17812
17812
  ((_a2 = columnSetting.value) == null ? void 0 : _a2.confirm) ? (openBlock(), createBlock(unref(ElLink), {
17813
17813
  key: 0,
17814
17814
  type: "primary",
@@ -17869,7 +17869,7 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17869
17869
  key: item.prop,
17870
17870
  class: "plus-table-checkbox-item"
17871
17871
  }, [
17872
- ((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (openBlock(), createElementBlock("div", _hoisted_7$p, [
17872
+ ((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (openBlock(), createElementBlock("div", _hoisted_7$s, [
17873
17873
  renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
17874
17874
  _cache[3] || (_cache[3] = createTextVNode(
17875
17875
  "\u2637",
@@ -17902,7 +17902,7 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17902
17902
  /* DYNAMIC */
17903
17903
  }, 1032, ["content"])) : (openBlock(), createElementBlock(
17904
17904
  "span",
17905
- _hoisted_8$k,
17905
+ _hoisted_8$n,
17906
17906
  toDisplayString(item.label ? getLabelValue(item.label) : ""),
17907
17907
  1
17908
17908
  /* TEXT */
@@ -17937,7 +17937,7 @@ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
17937
17937
  /* DYNAMIC */
17938
17938
  }, 1032, ["content"])) : (openBlock(), createElementBlock(
17939
17939
  "span",
17940
- _hoisted_9$j,
17940
+ _hoisted_9$l,
17941
17941
  toDisplayString(item.label ? getLabelValue(item.label) : ""),
17942
17942
  1
17943
17943
  /* TEXT */
@@ -17982,7 +17982,7 @@ var _export_sfc$1 = (sfc, props) => {
17982
17982
  return target;
17983
17983
  };
17984
17984
 
17985
- var PlusTableTitleBar = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-33b054bf"]]);
17985
+ var PlusTableTitleBar = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["__scopeId", "data-v-33b054bf"]]);
17986
17986
 
17987
17987
  const TABLE_DENSITY_STORAGE_KEY = "yc-table-density";
17988
17988
  const VALID_TABLE_DENSITY = ["default", "large", "small"];
@@ -18005,8 +18005,8 @@ const applyTableDensity = (nextSize) => {
18005
18005
  }
18006
18006
  };
18007
18007
 
18008
- const _hoisted_1$Y = { class: "plus-table-expand-col" };
18009
- var _sfc_main$1d = /* @__PURE__ */ defineComponent({
18008
+ const _hoisted_1$$ = { class: "plus-table-expand-col" };
18009
+ var _sfc_main$1g = /* @__PURE__ */ defineComponent({
18010
18010
  ...{
18011
18011
  name: "PlusTable",
18012
18012
  inheritAttrs: false
@@ -18364,14 +18364,14 @@ var _sfc_main$1d = /* @__PURE__ */ defineComponent({
18364
18364
  /* FULL_PROPS */
18365
18365
  )) : createCommentVNode("v-if", true),
18366
18366
  createCommentVNode(" \u5E8F\u53F7\u680F "),
18367
- __props.hasIndexColumn ? (openBlock(), createBlock(_sfc_main$1h, {
18367
+ __props.hasIndexColumn ? (openBlock(), createBlock(_sfc_main$1k, {
18368
18368
  key: 2,
18369
18369
  "index-content-style": __props.indexContentStyle,
18370
18370
  "index-table-column-props": __props.indexTableColumnProps,
18371
18371
  "page-info": (_a2 = __props.pagination) == null ? void 0 : _a2.modelValue
18372
18372
  }, null, 8, ["index-content-style", "index-table-column-props", "page-info"])) : createCommentVNode("v-if", true),
18373
18373
  createCommentVNode(" \u62D6\u62FD\u884C "),
18374
- __props.dragSortable ? (openBlock(), createBlock(_sfc_main$1g, {
18374
+ __props.dragSortable ? (openBlock(), createBlock(_sfc_main$1j, {
18375
18375
  key: 3,
18376
18376
  sortable: __props.dragSortable,
18377
18377
  "drag-sortable-table-column-props": __props.dragSortableTableColumnProps,
@@ -18398,7 +18398,7 @@ var _sfc_main$1d = /* @__PURE__ */ defineComponent({
18398
18398
  }, __props.expandTableColumnProps),
18399
18399
  {
18400
18400
  default: withCtx((scoped) => [
18401
- createElementVNode("div", _hoisted_1$Y, [
18401
+ createElementVNode("div", _hoisted_1$$, [
18402
18402
  renderSlot(_ctx.$slots, "expand", mergeProps({
18403
18403
  index: scoped.$index
18404
18404
  }, scoped))
@@ -18412,7 +18412,7 @@ var _sfc_main$1d = /* @__PURE__ */ defineComponent({
18412
18412
  )) : createCommentVNode("v-if", true),
18413
18413
  renderSlot(_ctx.$slots, "default", {}, () => [
18414
18414
  createCommentVNode("\u914D\u7F6E\u6E32\u67D3\u680F "),
18415
- createVNode(_sfc_main$1i, {
18415
+ createVNode(_sfc_main$1l, {
18416
18416
  columns: subColumns.value,
18417
18417
  editable: __props.editable,
18418
18418
  "sub-page-info": unref(subPageInfo),
@@ -18434,7 +18434,7 @@ var _sfc_main$1d = /* @__PURE__ */ defineComponent({
18434
18434
  ]),
18435
18435
  createCommentVNode(" \u64CD\u4F5C\u680F "),
18436
18436
  __props.actionBar ? (openBlock(), createBlock(
18437
- _sfc_main$1r,
18437
+ _sfc_main$1u,
18438
18438
  mergeProps({ key: 5 }, __props.actionBar, {
18439
18439
  onClickAction: handleAction,
18440
18440
  onClickActionConfirmCancel: handleClickActionConfirmCancel
@@ -18512,7 +18512,7 @@ var _sfc_main$1d = /* @__PURE__ */ defineComponent({
18512
18512
  }
18513
18513
  });
18514
18514
 
18515
- const PlusTable = _sfc_main$1d;
18515
+ const PlusTable = _sfc_main$1g;
18516
18516
  const YcPlusTable = PlusTable;
18517
18517
  const RePlusTable = PlusTable;
18518
18518
 
@@ -18551,7 +18551,7 @@ const tableData = [
18551
18551
  { id: 2, room: "3-202", subject: "\u4F4F\u5B85\u7269\u4E1A\u8D39", status: "pending", amount: 960 },
18552
18552
  { id: 3, room: "3-301", subject: "\u5783\u573E\u5904\u7406\u8D39", status: "paid", amount: 18 }
18553
18553
  ];
18554
- const capability$f = {
18554
+ const capability$g = {
18555
18555
  gallery: {
18556
18556
  id: "yc-plus-table",
18557
18557
  title: "YcPlusTable \u6807\u51C6\u8D26\u5355\u8868",
@@ -18565,7 +18565,7 @@ const capability$f = {
18565
18565
  }
18566
18566
  };
18567
18567
 
18568
- var _sfc_main$1c = /* @__PURE__ */ defineComponent({
18568
+ var _sfc_main$1f = /* @__PURE__ */ defineComponent({
18569
18569
  ...{
18570
18570
  name: "YcCard"
18571
18571
  },
@@ -18661,13 +18661,13 @@ var _sfc_main$1c = /* @__PURE__ */ defineComponent({
18661
18661
  }
18662
18662
  });
18663
18663
 
18664
- const YcCardWithInstall = withInstall(_sfc_main$1c);
18664
+ const YcCardWithInstall = withInstall(_sfc_main$1f);
18665
18665
 
18666
18666
  const YcCardGalleryDemo = defineComponent({
18667
18667
  name: "YcCardGalleryDemo",
18668
18668
  setup() {
18669
18669
  return () => h$1(
18670
- _sfc_main$1c,
18670
+ _sfc_main$1f,
18671
18671
  {
18672
18672
  background: "#ffffff",
18673
18673
  padding: 14,
@@ -18743,8 +18743,8 @@ const YcCardGalleryDemo = defineComponent({
18743
18743
  );
18744
18744
  }
18745
18745
  });
18746
- const capability$e = {
18747
- install: [_sfc_main$1c],
18746
+ const capability$f = {
18747
+ install: [_sfc_main$1f],
18748
18748
  gallery: {
18749
18749
  id: "yc-card",
18750
18750
  title: "YcCard \u5361\u7247\u5BB9\u5668",
@@ -18753,13 +18753,13 @@ const capability$e = {
18753
18753
  }
18754
18754
  };
18755
18755
 
18756
- const _hoisted_1$X = ["aria-selected", "disabled", "onClick"];
18757
- const _hoisted_2$I = { class: "yc-segmented__label" };
18758
- const _hoisted_3$E = {
18756
+ const _hoisted_1$_ = ["aria-selected", "disabled", "onClick"];
18757
+ const _hoisted_2$L = { class: "yc-segmented__label" };
18758
+ const _hoisted_3$H = {
18759
18759
  key: 0,
18760
18760
  class: "yc-segmented__count"
18761
18761
  };
18762
- var _sfc_main$1b = /* @__PURE__ */ defineComponent({
18762
+ var _sfc_main$1e = /* @__PURE__ */ defineComponent({
18763
18763
  ...{
18764
18764
  name: "YcSegmented"
18765
18765
  },
@@ -18803,19 +18803,19 @@ var _sfc_main$1b = /* @__PURE__ */ defineComponent({
18803
18803
  }, [
18804
18804
  createElementVNode(
18805
18805
  "span",
18806
- _hoisted_2$I,
18806
+ _hoisted_2$L,
18807
18807
  toDisplayString(opt.label),
18808
18808
  1
18809
18809
  /* TEXT */
18810
18810
  ),
18811
18811
  opt.count !== void 0 ? (openBlock(), createElementBlock(
18812
18812
  "span",
18813
- _hoisted_3$E,
18813
+ _hoisted_3$H,
18814
18814
  toDisplayString(opt.count),
18815
18815
  1
18816
18816
  /* TEXT */
18817
18817
  )) : createCommentVNode("v-if", true)
18818
- ], 10, _hoisted_1$X);
18818
+ ], 10, _hoisted_1$_);
18819
18819
  }),
18820
18820
  128
18821
18821
  /* KEYED_FRAGMENT */
@@ -18828,19 +18828,19 @@ var _sfc_main$1b = /* @__PURE__ */ defineComponent({
18828
18828
  }
18829
18829
  });
18830
18830
 
18831
- const _hoisted_1$W = { class: "yc-switch-row__body" };
18832
- const _hoisted_2$H = { class: "yc-switch-row__head" };
18833
- const _hoisted_3$D = { class: "yc-switch-row__title" };
18834
- const _hoisted_4$C = {
18831
+ const _hoisted_1$Z = { class: "yc-switch-row__body" };
18832
+ const _hoisted_2$K = { class: "yc-switch-row__head" };
18833
+ const _hoisted_3$G = { class: "yc-switch-row__title" };
18834
+ const _hoisted_4$F = {
18835
18835
  key: 0,
18836
18836
  class: "yc-switch-row__badge"
18837
18837
  };
18838
- const _hoisted_5$v = {
18838
+ const _hoisted_5$y = {
18839
18839
  key: 0,
18840
18840
  class: "yc-switch-row__desc"
18841
18841
  };
18842
- const _hoisted_6$s = ["aria-checked", "disabled"];
18843
- var _sfc_main$1a = /* @__PURE__ */ defineComponent({
18842
+ const _hoisted_6$v = ["aria-checked", "disabled"];
18843
+ var _sfc_main$1d = /* @__PURE__ */ defineComponent({
18844
18844
  ...{
18845
18845
  name: "YcSwitchRow"
18846
18846
  },
@@ -18871,18 +18871,18 @@ var _sfc_main$1a = /* @__PURE__ */ defineComponent({
18871
18871
  onClick: toggle
18872
18872
  },
18873
18873
  [
18874
- createElementVNode("div", _hoisted_1$W, [
18875
- createElementVNode("div", _hoisted_2$H, [
18874
+ createElementVNode("div", _hoisted_1$Z, [
18875
+ createElementVNode("div", _hoisted_2$K, [
18876
18876
  createElementVNode(
18877
18877
  "span",
18878
- _hoisted_3$D,
18878
+ _hoisted_3$G,
18879
18879
  toDisplayString(__props.title),
18880
18880
  1
18881
18881
  /* TEXT */
18882
18882
  ),
18883
18883
  __props.badge ? (openBlock(), createElementBlock(
18884
18884
  "span",
18885
- _hoisted_4$C,
18885
+ _hoisted_4$F,
18886
18886
  toDisplayString(__props.badge),
18887
18887
  1
18888
18888
  /* TEXT */
@@ -18890,7 +18890,7 @@ var _sfc_main$1a = /* @__PURE__ */ defineComponent({
18890
18890
  ]),
18891
18891
  __props.description ? (openBlock(), createElementBlock(
18892
18892
  "p",
18893
- _hoisted_5$v,
18893
+ _hoisted_5$y,
18894
18894
  toDisplayString(__props.description),
18895
18895
  1
18896
18896
  /* TEXT */
@@ -18911,7 +18911,7 @@ var _sfc_main$1a = /* @__PURE__ */ defineComponent({
18911
18911
  -1
18912
18912
  /* CACHED */
18913
18913
  )
18914
- ])], 10, _hoisted_6$s)
18914
+ ])], 10, _hoisted_6$v)
18915
18915
  ],
18916
18916
  2
18917
18917
  /* CLASS */
@@ -18920,20 +18920,20 @@ var _sfc_main$1a = /* @__PURE__ */ defineComponent({
18920
18920
  }
18921
18921
  });
18922
18922
 
18923
- const _hoisted_1$V = {
18923
+ const _hoisted_1$Y = {
18924
18924
  key: 0,
18925
18925
  class: "yc-choice-cards__label"
18926
18926
  };
18927
- const _hoisted_2$G = ["role"];
18928
- const _hoisted_3$C = ["role", "aria-checked", "disabled", "onClick"];
18929
- const _hoisted_4$B = { class: "yc-choice-card__top" };
18930
- const _hoisted_5$u = { class: "yc-choice-card__title" };
18931
- const _hoisted_6$r = { class: "yc-choice-card__right" };
18932
- const _hoisted_7$o = {
18927
+ const _hoisted_2$J = ["role"];
18928
+ const _hoisted_3$F = ["role", "aria-checked", "disabled", "onClick"];
18929
+ const _hoisted_4$E = { class: "yc-choice-card__top" };
18930
+ const _hoisted_5$x = { class: "yc-choice-card__title" };
18931
+ const _hoisted_6$u = { class: "yc-choice-card__right" };
18932
+ const _hoisted_7$r = {
18933
18933
  key: 0,
18934
18934
  class: "yc-choice-card__meta"
18935
18935
  };
18936
- const _hoisted_8$j = {
18936
+ const _hoisted_8$m = {
18937
18937
  key: 0,
18938
18938
  viewBox: "0 0 24 24",
18939
18939
  width: "10",
@@ -18944,11 +18944,11 @@ const _hoisted_8$j = {
18944
18944
  "stroke-linecap": "round",
18945
18945
  "stroke-linejoin": "round"
18946
18946
  };
18947
- const _hoisted_9$i = {
18947
+ const _hoisted_9$k = {
18948
18948
  key: 0,
18949
18949
  class: "yc-choice-card__desc"
18950
18950
  };
18951
- var _sfc_main$19 = /* @__PURE__ */ defineComponent({
18951
+ var _sfc_main$1c = /* @__PURE__ */ defineComponent({
18952
18952
  ...{
18953
18953
  name: "YcChoiceCards"
18954
18954
  },
@@ -18994,7 +18994,7 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
18994
18994
  [
18995
18995
  __props.label ? (openBlock(), createElementBlock(
18996
18996
  "div",
18997
- _hoisted_1$V,
18997
+ _hoisted_1$Y,
18998
18998
  toDisplayString(__props.label),
18999
18999
  1
19000
19000
  /* TEXT */
@@ -19016,18 +19016,18 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
19016
19016
  disabled: __props.disabled || opt.disabled,
19017
19017
  onClick: ($event) => select(opt)
19018
19018
  }, [
19019
- createElementVNode("div", _hoisted_4$B, [
19019
+ createElementVNode("div", _hoisted_4$E, [
19020
19020
  createElementVNode(
19021
19021
  "span",
19022
- _hoisted_5$u,
19022
+ _hoisted_5$x,
19023
19023
  toDisplayString(opt.title),
19024
19024
  1
19025
19025
  /* TEXT */
19026
19026
  ),
19027
- createElementVNode("div", _hoisted_6$r, [
19027
+ createElementVNode("div", _hoisted_6$u, [
19028
19028
  opt.meta ? (openBlock(), createElementBlock(
19029
19029
  "span",
19030
- _hoisted_7$o,
19030
+ _hoisted_7$r,
19031
19031
  toDisplayString(opt.meta),
19032
19032
  1
19033
19033
  /* TEXT */
@@ -19038,7 +19038,7 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
19038
19038
  class: normalizeClass(["yc-choice-card__indicator", { "is-checkbox": __props.multiple }])
19039
19039
  },
19040
19040
  [
19041
- isSelected(opt.value) ? (openBlock(), createElementBlock("svg", _hoisted_8$j, [..._cache[0] || (_cache[0] = [
19041
+ isSelected(opt.value) ? (openBlock(), createElementBlock("svg", _hoisted_8$m, [..._cache[0] || (_cache[0] = [
19042
19042
  createElementVNode(
19043
19043
  "path",
19044
19044
  { d: "M20 6 9 17l-5-5" },
@@ -19055,17 +19055,17 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
19055
19055
  ]),
19056
19056
  opt.description ? (openBlock(), createElementBlock(
19057
19057
  "p",
19058
- _hoisted_9$i,
19058
+ _hoisted_9$k,
19059
19059
  toDisplayString(opt.description),
19060
19060
  1
19061
19061
  /* TEXT */
19062
19062
  )) : createCommentVNode("v-if", true)
19063
- ], 10, _hoisted_3$C);
19063
+ ], 10, _hoisted_3$F);
19064
19064
  }),
19065
19065
  128
19066
19066
  /* KEYED_FRAGMENT */
19067
19067
  ))
19068
- ], 10, _hoisted_2$G)
19068
+ ], 10, _hoisted_2$J)
19069
19069
  ],
19070
19070
  2
19071
19071
  /* CLASS */
@@ -19074,11 +19074,11 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
19074
19074
  }
19075
19075
  });
19076
19076
 
19077
- const YcSegmented = withInstall(_sfc_main$1b);
19077
+ const YcSegmented = withInstall(_sfc_main$1e);
19078
19078
  const ReSegmented = YcSegmented;
19079
- const YcSwitchRow = withInstall(_sfc_main$1a);
19079
+ const YcSwitchRow = withInstall(_sfc_main$1d);
19080
19080
  const ReSwitchRow = YcSwitchRow;
19081
- const YcChoiceCards = withInstall(_sfc_main$19);
19081
+ const YcChoiceCards = withInstall(_sfc_main$1c);
19082
19082
  const ReChoiceCards = YcChoiceCards;
19083
19083
 
19084
19084
  const YcSegmentedGalleryDemo = defineComponent({
@@ -19153,7 +19153,7 @@ const YcChoiceCardsGalleryDemo = defineComponent({
19153
19153
  });
19154
19154
  }
19155
19155
  });
19156
- const capability$d = {
19156
+ const capability$e = {
19157
19157
  install: [YcSegmented, YcSwitchRow, YcChoiceCards],
19158
19158
  gallery: [
19159
19159
  {
@@ -19179,7 +19179,7 @@ const capability$d = {
19179
19179
 
19180
19180
  const COSS_TABLE_INJECTION_KEY = Symbol("YcCossTableContext");
19181
19181
 
19182
- var _sfc_main$18 = /* @__PURE__ */ defineComponent({
19182
+ var _sfc_main$1b = /* @__PURE__ */ defineComponent({
19183
19183
  ...{
19184
19184
  name: "YcTable"
19185
19185
  },
@@ -19248,7 +19248,7 @@ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
19248
19248
  }
19249
19249
  });
19250
19250
 
19251
- var _sfc_main$17 = /* @__PURE__ */ defineComponent({
19251
+ var _sfc_main$1a = /* @__PURE__ */ defineComponent({
19252
19252
  ...{
19253
19253
  name: "YcTableHeader"
19254
19254
  },
@@ -19273,7 +19273,7 @@ var _sfc_main$17 = /* @__PURE__ */ defineComponent({
19273
19273
  }
19274
19274
  });
19275
19275
 
19276
- var _sfc_main$16 = /* @__PURE__ */ defineComponent({
19276
+ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
19277
19277
  ...{
19278
19278
  name: "YcTableBody"
19279
19279
  },
@@ -19298,7 +19298,7 @@ var _sfc_main$16 = /* @__PURE__ */ defineComponent({
19298
19298
  }
19299
19299
  });
19300
19300
 
19301
- var _sfc_main$15 = /* @__PURE__ */ defineComponent({
19301
+ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
19302
19302
  ...{
19303
19303
  name: "YcTableFooter"
19304
19304
  },
@@ -19323,8 +19323,8 @@ var _sfc_main$15 = /* @__PURE__ */ defineComponent({
19323
19323
  }
19324
19324
  });
19325
19325
 
19326
- const _hoisted_1$U = ["data-state"];
19327
- var _sfc_main$14 = /* @__PURE__ */ defineComponent({
19326
+ const _hoisted_1$X = ["data-state"];
19327
+ var _sfc_main$17 = /* @__PURE__ */ defineComponent({
19328
19328
  ...{
19329
19329
  name: "YcTableRow"
19330
19330
  },
@@ -19347,18 +19347,18 @@ var _sfc_main$14 = /* @__PURE__ */ defineComponent({
19347
19347
  "data-state": __props.selected ? "selected" : void 0
19348
19348
  }, [
19349
19349
  renderSlot(_ctx.$slots, "default")
19350
- ], 10, _hoisted_1$U);
19350
+ ], 10, _hoisted_1$X);
19351
19351
  };
19352
19352
  }
19353
19353
  });
19354
19354
 
19355
- const _hoisted_1$T = { class: "yc-table-head__content" };
19356
- const _hoisted_2$F = {
19355
+ const _hoisted_1$W = { class: "yc-table-head__content" };
19356
+ const _hoisted_2$I = {
19357
19357
  key: 0,
19358
19358
  class: "yc-table-head__sorter",
19359
19359
  "aria-hidden": "true"
19360
19360
  };
19361
- const _hoisted_3$B = {
19361
+ const _hoisted_3$E = {
19362
19362
  key: 0,
19363
19363
  class: "yc-table-head__icon",
19364
19364
  viewBox: "0 0 24 24",
@@ -19370,7 +19370,7 @@ const _hoisted_3$B = {
19370
19370
  "stroke-linecap": "round",
19371
19371
  "stroke-linejoin": "round"
19372
19372
  };
19373
- const _hoisted_4$A = {
19373
+ const _hoisted_4$D = {
19374
19374
  key: 1,
19375
19375
  class: "yc-table-head__icon",
19376
19376
  viewBox: "0 0 24 24",
@@ -19382,7 +19382,7 @@ const _hoisted_4$A = {
19382
19382
  "stroke-linecap": "round",
19383
19383
  "stroke-linejoin": "round"
19384
19384
  };
19385
- const _hoisted_5$t = {
19385
+ const _hoisted_5$w = {
19386
19386
  key: 2,
19387
19387
  class: "yc-table-head__icon yc-table-head__icon--neutral",
19388
19388
  viewBox: "0 0 24 24",
@@ -19394,7 +19394,7 @@ const _hoisted_5$t = {
19394
19394
  "stroke-linecap": "round",
19395
19395
  "stroke-linejoin": "round"
19396
19396
  };
19397
- var _sfc_main$13 = /* @__PURE__ */ defineComponent({
19397
+ var _sfc_main$16 = /* @__PURE__ */ defineComponent({
19398
19398
  ...{
19399
19399
  name: "YcTableHead"
19400
19400
  },
@@ -19438,10 +19438,10 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
19438
19438
  onClick: handleClick
19439
19439
  },
19440
19440
  [
19441
- createElementVNode("div", _hoisted_1$T, [
19441
+ createElementVNode("div", _hoisted_1$W, [
19442
19442
  renderSlot(_ctx.$slots, "default"),
19443
- __props.sortable ? (openBlock(), createElementBlock("span", _hoisted_2$F, [
19444
- __props.sortOrder === "ascending" ? (openBlock(), createElementBlock("svg", _hoisted_3$B, [..._cache[0] || (_cache[0] = [
19443
+ __props.sortable ? (openBlock(), createElementBlock("span", _hoisted_2$I, [
19444
+ __props.sortOrder === "ascending" ? (openBlock(), createElementBlock("svg", _hoisted_3$E, [..._cache[0] || (_cache[0] = [
19445
19445
  createElementVNode(
19446
19446
  "path",
19447
19447
  { d: "m18 15-6-6-6 6" },
@@ -19449,7 +19449,7 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
19449
19449
  -1
19450
19450
  /* CACHED */
19451
19451
  )
19452
- ])])) : __props.sortOrder === "descending" ? (openBlock(), createElementBlock("svg", _hoisted_4$A, [..._cache[1] || (_cache[1] = [
19452
+ ])])) : __props.sortOrder === "descending" ? (openBlock(), createElementBlock("svg", _hoisted_4$D, [..._cache[1] || (_cache[1] = [
19453
19453
  createElementVNode(
19454
19454
  "path",
19455
19455
  { d: "m6 9 6 6 6-6" },
@@ -19457,7 +19457,7 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
19457
19457
  -1
19458
19458
  /* CACHED */
19459
19459
  )
19460
- ])])) : (openBlock(), createElementBlock("svg", _hoisted_5$t, [..._cache[2] || (_cache[2] = [
19460
+ ])])) : (openBlock(), createElementBlock("svg", _hoisted_5$w, [..._cache[2] || (_cache[2] = [
19461
19461
  createElementVNode(
19462
19462
  "path",
19463
19463
  { d: "m7 15 5 5 5-5" },
@@ -19483,8 +19483,8 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
19483
19483
  }
19484
19484
  });
19485
19485
 
19486
- const _hoisted_1$S = ["colspan", "rowspan"];
19487
- var _sfc_main$12 = /* @__PURE__ */ defineComponent({
19486
+ const _hoisted_1$V = ["colspan", "rowspan"];
19487
+ var _sfc_main$15 = /* @__PURE__ */ defineComponent({
19488
19488
  ...{
19489
19489
  name: "YcTableCell"
19490
19490
  },
@@ -19514,12 +19514,12 @@ var _sfc_main$12 = /* @__PURE__ */ defineComponent({
19514
19514
  style: normalizeStyle(widthStyle.value)
19515
19515
  }, [
19516
19516
  renderSlot(_ctx.$slots, "default")
19517
- ], 14, _hoisted_1$S);
19517
+ ], 14, _hoisted_1$V);
19518
19518
  };
19519
19519
  }
19520
19520
  });
19521
19521
 
19522
- var _sfc_main$11 = /* @__PURE__ */ defineComponent({
19522
+ var _sfc_main$14 = /* @__PURE__ */ defineComponent({
19523
19523
  ...{
19524
19524
  name: "YcTableCaption"
19525
19525
  },
@@ -19544,11 +19544,11 @@ var _sfc_main$11 = /* @__PURE__ */ defineComponent({
19544
19544
  }
19545
19545
  });
19546
19546
 
19547
- const _hoisted_1$R = ["checked", "indeterminate"];
19548
- const _hoisted_2$E = ["checked", "aria-label", "onChange"];
19549
- const _hoisted_3$A = { class: "yc-table-empty" };
19550
- const _hoisted_4$z = { class: "yc-table-empty__text" };
19551
- var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19547
+ const _hoisted_1$U = ["checked", "indeterminate"];
19548
+ const _hoisted_2$H = ["checked", "aria-label", "onChange"];
19549
+ const _hoisted_3$D = { class: "yc-table-empty" };
19550
+ const _hoisted_4$C = { class: "yc-table-empty__text" };
19551
+ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
19552
19552
  ...{
19553
19553
  name: "YcCossTable"
19554
19554
  },
@@ -19680,7 +19680,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19680
19680
  internalSelection
19681
19681
  });
19682
19682
  return (_ctx, _cache) => {
19683
- return openBlock(), createBlock(_sfc_main$18, {
19683
+ return openBlock(), createBlock(_sfc_main$1b, {
19684
19684
  variant: __props.variant,
19685
19685
  density: __props.density,
19686
19686
  hoverable: __props.hoverable,
@@ -19692,7 +19692,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19692
19692
  }, {
19693
19693
  default: withCtx(() => [
19694
19694
  renderSlot(_ctx.$slots, "caption", {}, () => [
19695
- __props.caption ? (openBlock(), createBlock(_sfc_main$11, { key: 0 }, {
19695
+ __props.caption ? (openBlock(), createBlock(_sfc_main$14, { key: 0 }, {
19696
19696
  default: withCtx(() => [
19697
19697
  createTextVNode(
19698
19698
  toDisplayString(__props.caption),
@@ -19709,12 +19709,12 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19709
19709
  Fragment,
19710
19710
  { key: 0 },
19711
19711
  [
19712
- createVNode(_sfc_main$17, null, {
19712
+ createVNode(_sfc_main$1a, null, {
19713
19713
  default: withCtx(() => [
19714
- createVNode(_sfc_main$14, null, {
19714
+ createVNode(_sfc_main$17, null, {
19715
19715
  default: withCtx(() => [
19716
19716
  createCommentVNode(" \u52FE\u9009\u5168\u9009\u5217 "),
19717
- __props.selectable ? (openBlock(), createBlock(_sfc_main$13, {
19717
+ __props.selectable ? (openBlock(), createBlock(_sfc_main$16, {
19718
19718
  key: 0,
19719
19719
  width: "48px",
19720
19720
  align: "center"
@@ -19727,7 +19727,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19727
19727
  indeterminate: isIndeterminate.value,
19728
19728
  "aria-label": "Select all rows",
19729
19729
  onChange: handleToggleSelectAll
19730
- }, null, 40, _hoisted_1$R)
19730
+ }, null, 40, _hoisted_1$U)
19731
19731
  ]),
19732
19732
  _: 1
19733
19733
  /* STABLE */
@@ -19737,7 +19737,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19737
19737
  Fragment,
19738
19738
  null,
19739
19739
  renderList(__props.columns, (col) => {
19740
- return openBlock(), createBlock(_sfc_main$13, {
19740
+ return openBlock(), createBlock(_sfc_main$16, {
19741
19741
  key: col.prop,
19742
19742
  align: col.align,
19743
19743
  width: col.width,
@@ -19770,13 +19770,13 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19770
19770
  _: 3
19771
19771
  /* FORWARDED */
19772
19772
  }),
19773
- createVNode(_sfc_main$16, null, {
19773
+ createVNode(_sfc_main$19, null, {
19774
19774
  default: withCtx(() => [
19775
19775
  sortedData.value.length > 0 ? (openBlock(true), createElementBlock(
19776
19776
  Fragment,
19777
19777
  { key: 0 },
19778
19778
  renderList(sortedData.value, (row, rIdx) => {
19779
- return openBlock(), createBlock(_sfc_main$14, {
19779
+ return openBlock(), createBlock(_sfc_main$17, {
19780
19780
  key: getRowIdentity(row, rIdx),
19781
19781
  selected: isRowSelected(row),
19782
19782
  clickable: __props.hoverable,
@@ -19785,7 +19785,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19785
19785
  default: withCtx(() => [
19786
19786
  createCommentVNode(" \u884C\u52FE\u9009\u5217 "),
19787
19787
  __props.selectable ? (openBlock(), createBlock(
19788
- _sfc_main$12,
19788
+ _sfc_main$15,
19789
19789
  {
19790
19790
  key: 0,
19791
19791
  width: "48px",
@@ -19801,7 +19801,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19801
19801
  checked: isRowSelected(row),
19802
19802
  "aria-label": `Select row ${rIdx + 1}`,
19803
19803
  onChange: () => handleToggleRowSelect(row)
19804
- }, null, 40, _hoisted_2$E)
19804
+ }, null, 40, _hoisted_2$H)
19805
19805
  ]),
19806
19806
  _: 2
19807
19807
  /* DYNAMIC */
@@ -19814,7 +19814,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19814
19814
  Fragment,
19815
19815
  null,
19816
19816
  renderList(__props.columns, (col) => {
19817
- return openBlock(), createBlock(_sfc_main$12, {
19817
+ return openBlock(), createBlock(_sfc_main$15, {
19818
19818
  key: col.prop,
19819
19819
  align: col.align,
19820
19820
  class: normalizeClass(col.className)
@@ -19852,15 +19852,15 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19852
19852
  { key: 1 },
19853
19853
  [
19854
19854
  createCommentVNode(" \u7A7A\u6570\u636E\u5360\u4F4D\u884C "),
19855
- createVNode(_sfc_main$14, { class: "yc-table-row--empty" }, {
19855
+ createVNode(_sfc_main$17, { class: "yc-table-row--empty" }, {
19856
19856
  default: withCtx(() => [
19857
- createVNode(_sfc_main$12, {
19857
+ createVNode(_sfc_main$15, {
19858
19858
  colspan: __props.columns.length + (__props.selectable ? 1 : 0),
19859
19859
  align: "center"
19860
19860
  }, {
19861
19861
  default: withCtx(() => [
19862
19862
  renderSlot(_ctx.$slots, "empty", {}, () => [
19863
- createElementVNode("div", _hoisted_3$A, [
19863
+ createElementVNode("div", _hoisted_3$D, [
19864
19864
  _cache[1] || (_cache[1] = createElementVNode(
19865
19865
  "svg",
19866
19866
  {
@@ -19888,7 +19888,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19888
19888
  )),
19889
19889
  createElementVNode(
19890
19890
  "p",
19891
- _hoisted_4$z,
19891
+ _hoisted_4$C,
19892
19892
  toDisplayString(__props.emptyText),
19893
19893
  1
19894
19894
  /* TEXT */
@@ -19911,7 +19911,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19911
19911
  _: 3
19912
19912
  /* FORWARDED */
19913
19913
  }),
19914
- _ctx.$slots.footer ? (openBlock(), createBlock(_sfc_main$15, { key: 0 }, {
19914
+ _ctx.$slots.footer ? (openBlock(), createBlock(_sfc_main$18, { key: 0 }, {
19915
19915
  default: withCtx(() => [
19916
19916
  renderSlot(_ctx.$slots, "footer")
19917
19917
  ]),
@@ -19939,29 +19939,29 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
19939
19939
  }
19940
19940
  });
19941
19941
 
19942
- const _hoisted_1$Q = {
19942
+ const _hoisted_1$T = {
19943
19943
  key: 0,
19944
19944
  class: "yc-card-frame__header"
19945
19945
  };
19946
- const _hoisted_2$D = { class: "yc-card-frame__title-group" };
19947
- const _hoisted_3$z = {
19946
+ const _hoisted_2$G = { class: "yc-card-frame__title-group" };
19947
+ const _hoisted_3$C = {
19948
19948
  key: 0,
19949
19949
  class: "yc-card-frame__title"
19950
19950
  };
19951
- const _hoisted_4$y = {
19951
+ const _hoisted_4$B = {
19952
19952
  key: 1,
19953
19953
  class: "yc-card-frame__description"
19954
19954
  };
19955
- const _hoisted_5$s = {
19955
+ const _hoisted_5$v = {
19956
19956
  key: 0,
19957
19957
  class: "yc-card-frame__action"
19958
19958
  };
19959
- const _hoisted_6$q = { class: "yc-card-frame__content" };
19960
- const _hoisted_7$n = {
19959
+ const _hoisted_6$t = { class: "yc-card-frame__content" };
19960
+ const _hoisted_7$q = {
19961
19961
  key: 1,
19962
19962
  class: "yc-card-frame__footer"
19963
19963
  };
19964
- var _sfc_main$$ = /* @__PURE__ */ defineComponent({
19964
+ var _sfc_main$12 = /* @__PURE__ */ defineComponent({
19965
19965
  ...{
19966
19966
  name: "YcCardFrame"
19967
19967
  },
@@ -19981,9 +19981,9 @@ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
19981
19981
  style: normalizeStyle(__props.customStyle)
19982
19982
  },
19983
19983
  [
19984
- _ctx.$slots.header || __props.title || __props.description || _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
19985
- createElementVNode("div", _hoisted_2$D, [
19986
- __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("h3", _hoisted_3$z, [
19984
+ _ctx.$slots.header || __props.title || __props.description || _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_1$T, [
19985
+ createElementVNode("div", _hoisted_2$G, [
19986
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("h3", _hoisted_3$C, [
19987
19987
  renderSlot(_ctx.$slots, "title", {}, () => [
19988
19988
  createTextVNode(
19989
19989
  toDisplayString(__props.title),
@@ -19992,7 +19992,7 @@ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
19992
19992
  )
19993
19993
  ])
19994
19994
  ])) : createCommentVNode("v-if", true),
19995
- __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_4$y, [
19995
+ __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_4$B, [
19996
19996
  renderSlot(_ctx.$slots, "description", {}, () => [
19997
19997
  createTextVNode(
19998
19998
  toDisplayString(__props.description),
@@ -20002,14 +20002,14 @@ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
20002
20002
  ])
20003
20003
  ])) : createCommentVNode("v-if", true)
20004
20004
  ]),
20005
- _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_5$s, [
20005
+ _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_5$v, [
20006
20006
  renderSlot(_ctx.$slots, "action")
20007
20007
  ])) : createCommentVNode("v-if", true)
20008
20008
  ])) : createCommentVNode("v-if", true),
20009
- createElementVNode("div", _hoisted_6$q, [
20009
+ createElementVNode("div", _hoisted_6$t, [
20010
20010
  renderSlot(_ctx.$slots, "default")
20011
20011
  ]),
20012
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_7$n, [
20012
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_7$q, [
20013
20013
  renderSlot(_ctx.$slots, "footer")
20014
20014
  ])) : createCommentVNode("v-if", true)
20015
20015
  ],
@@ -20020,16 +20020,16 @@ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
20020
20020
  }
20021
20021
  });
20022
20022
 
20023
- const YcCossTable = withInstall(_sfc_main$10);
20024
- const YcTable = withInstall(_sfc_main$18);
20025
- const YcTableHeader = withInstall(_sfc_main$17);
20026
- const YcTableBody = withInstall(_sfc_main$16);
20027
- const YcTableFooter = withInstall(_sfc_main$15);
20028
- const YcTableRow = withInstall(_sfc_main$14);
20029
- const YcTableHead = withInstall(_sfc_main$13);
20030
- const YcTableCell = withInstall(_sfc_main$12);
20031
- const YcTableCaption = withInstall(_sfc_main$11);
20032
- const YcCardFrame = withInstall(_sfc_main$$);
20023
+ const YcCossTable = withInstall(_sfc_main$13);
20024
+ const YcTable = withInstall(_sfc_main$1b);
20025
+ const YcTableHeader = withInstall(_sfc_main$1a);
20026
+ const YcTableBody = withInstall(_sfc_main$19);
20027
+ const YcTableFooter = withInstall(_sfc_main$18);
20028
+ const YcTableRow = withInstall(_sfc_main$17);
20029
+ const YcTableHead = withInstall(_sfc_main$16);
20030
+ const YcTableCell = withInstall(_sfc_main$15);
20031
+ const YcTableCaption = withInstall(_sfc_main$14);
20032
+ const YcCardFrame = withInstall(_sfc_main$12);
20033
20033
  const CossTable = YcCossTable;
20034
20034
  const ReCossTable = YcCossTable;
20035
20035
  const Table = YcTable;
@@ -20042,7 +20042,7 @@ const TableCell = YcTableCell;
20042
20042
  const TableCaption = YcTableCaption;
20043
20043
  const CardFrame = YcCardFrame;
20044
20044
 
20045
- const capability$c = {
20045
+ const capability$d = {
20046
20046
  install: [YcCossTable],
20047
20047
  gallery: {
20048
20048
  id: "yc-coss-table",
@@ -20082,21 +20082,21 @@ var dayjs_min = {exports: {}};
20082
20082
  var dayjs_minExports = dayjs_min.exports;
20083
20083
  var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
20084
20084
 
20085
- const _hoisted_1$P = { class: "yc-calendar" };
20086
- const _hoisted_2$C = { class: "yc-calendar__header" };
20087
- const _hoisted_3$y = {
20085
+ const _hoisted_1$S = { class: "yc-calendar" };
20086
+ const _hoisted_2$F = { class: "yc-calendar__header" };
20087
+ const _hoisted_3$B = {
20088
20088
  key: 1,
20089
20089
  class: "yc-calendar__nav-placeholder"
20090
20090
  };
20091
- const _hoisted_4$x = { class: "yc-calendar__title" };
20092
- const _hoisted_5$r = {
20091
+ const _hoisted_4$A = { class: "yc-calendar__title" };
20092
+ const _hoisted_5$u = {
20093
20093
  key: 3,
20094
20094
  class: "yc-calendar__nav-placeholder"
20095
20095
  };
20096
- const _hoisted_6$p = { class: "yc-calendar__weekdays" };
20097
- const _hoisted_7$m = ["onClick", "onMouseenter"];
20098
- const _hoisted_8$i = { class: "yc-calendar__day-text" };
20099
- var _sfc_main$_ = /* @__PURE__ */ defineComponent({
20096
+ const _hoisted_6$s = { class: "yc-calendar__weekdays" };
20097
+ const _hoisted_7$p = ["onClick", "onMouseenter"];
20098
+ const _hoisted_8$l = { class: "yc-calendar__day-text" };
20099
+ var _sfc_main$11 = /* @__PURE__ */ defineComponent({
20100
20100
  ...{
20101
20101
  name: "YcCalendarPanel"
20102
20102
  },
@@ -20196,9 +20196,9 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
20196
20196
  emit("hover", item.date);
20197
20197
  };
20198
20198
  return (_ctx, _cache) => {
20199
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
20199
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
20200
20200
  createCommentVNode(" \u65E5\u5386\u5934\u90E8\uFF1A\u5E74\u6708\u4E0E\u7FFB\u9875\u6309\u94AE "),
20201
- createElementVNode("div", _hoisted_2$C, [
20201
+ createElementVNode("div", _hoisted_2$F, [
20202
20202
  props.showPrevNav ? (openBlock(), createElementBlock("button", {
20203
20203
  key: 0,
20204
20204
  type: "button",
@@ -20220,10 +20220,10 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
20220
20220
  -1
20221
20221
  /* CACHED */
20222
20222
  )
20223
- ])])) : (openBlock(), createElementBlock("div", _hoisted_3$y)),
20223
+ ])])) : (openBlock(), createElementBlock("div", _hoisted_3$B)),
20224
20224
  createElementVNode(
20225
20225
  "span",
20226
- _hoisted_4$x,
20226
+ _hoisted_4$A,
20227
20227
  toDisplayString(monthTitle.value),
20228
20228
  1
20229
20229
  /* TEXT */
@@ -20249,10 +20249,10 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
20249
20249
  -1
20250
20250
  /* CACHED */
20251
20251
  )
20252
- ])])) : (openBlock(), createElementBlock("div", _hoisted_5$r))
20252
+ ])])) : (openBlock(), createElementBlock("div", _hoisted_5$u))
20253
20253
  ]),
20254
20254
  createCommentVNode(" \u661F\u671F\u8868\u5934 "),
20255
- createElementVNode("div", _hoisted_6$p, [
20255
+ createElementVNode("div", _hoisted_6$s, [
20256
20256
  (openBlock(), createElementBlock(
20257
20257
  Fragment,
20258
20258
  null,
@@ -20300,12 +20300,12 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
20300
20300
  }, [
20301
20301
  createElementVNode(
20302
20302
  "span",
20303
- _hoisted_8$i,
20303
+ _hoisted_8$l,
20304
20304
  toDisplayString(day.dayNumber),
20305
20305
  1
20306
20306
  /* TEXT */
20307
20307
  )
20308
- ], 42, _hoisted_7$m);
20308
+ ], 42, _hoisted_7$p);
20309
20309
  }),
20310
20310
  128
20311
20311
  /* KEYED_FRAGMENT */
@@ -20319,16 +20319,16 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
20319
20319
  }
20320
20320
  });
20321
20321
 
20322
- const _hoisted_1$O = { class: "yc-date-picker-wrap" };
20323
- const _hoisted_2$B = ["disabled"];
20324
- const _hoisted_3$x = { class: "yc-date-picker-trigger__text" };
20325
- const _hoisted_4$w = { class: "yc-date-picker-content" };
20326
- const _hoisted_5$q = {
20322
+ const _hoisted_1$R = { class: "yc-date-picker-wrap" };
20323
+ const _hoisted_2$E = ["disabled"];
20324
+ const _hoisted_3$A = { class: "yc-date-picker-trigger__text" };
20325
+ const _hoisted_4$z = { class: "yc-date-picker-content" };
20326
+ const _hoisted_5$t = {
20327
20327
  key: 0,
20328
20328
  class: "yc-date-picker-presets"
20329
20329
  };
20330
- const _hoisted_6$o = ["onClick"];
20331
- var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20330
+ const _hoisted_6$r = ["onClick"];
20331
+ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
20332
20332
  ...{
20333
20333
  name: "YcDatePicker"
20334
20334
  },
@@ -20567,7 +20567,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20567
20567
  });
20568
20568
  return (_ctx, _cache) => {
20569
20569
  const _component_el_popover = resolveComponent("el-popover");
20570
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
20570
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
20571
20571
  createVNode(_component_el_popover, {
20572
20572
  visible: visible.value,
20573
20573
  "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
@@ -20639,7 +20639,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20639
20639
  createCommentVNode(" \u6587\u672C\u5C55\u793A "),
20640
20640
  createElementVNode(
20641
20641
  "span",
20642
- _hoisted_3$x,
20642
+ _hoisted_3$A,
20643
20643
  toDisplayString(displayValue.value || placeholderText.value),
20644
20644
  1
20645
20645
  /* TEXT */
@@ -20671,12 +20671,12 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20671
20671
  /* CACHED */
20672
20672
  )
20673
20673
  ])])) : createCommentVNode("v-if", true)
20674
- ], 14, _hoisted_2$B)
20674
+ ], 14, _hoisted_2$E)
20675
20675
  ]),
20676
20676
  default: withCtx(() => [
20677
- createElementVNode("div", _hoisted_4$w, [
20677
+ createElementVNode("div", _hoisted_4$z, [
20678
20678
  createCommentVNode(" \u5FEB\u6377\u9884\u8BBE\u4FA7\u680F (Presets Sidebar) "),
20679
- hasPresets.value ? (openBlock(), createElementBlock("div", _hoisted_5$q, [
20679
+ hasPresets.value ? (openBlock(), createElementBlock("div", _hoisted_5$t, [
20680
20680
  _cache[5] || (_cache[5] = createElementVNode(
20681
20681
  "div",
20682
20682
  { class: "yc-date-picker-presets__title" },
@@ -20693,7 +20693,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20693
20693
  type: "button",
20694
20694
  class: "yc-date-picker-presets__btn",
20695
20695
  onClick: ($event) => handleApplyPreset(preset)
20696
- }, toDisplayString(preset.label), 9, _hoisted_6$o);
20696
+ }, toDisplayString(preset.label), 9, _hoisted_6$r);
20697
20697
  }),
20698
20698
  128
20699
20699
  /* KEYED_FRAGMENT */
@@ -20707,7 +20707,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20707
20707
  },
20708
20708
  [
20709
20709
  createCommentVNode(" \u5355\u65E5\u5386 \u6216 \u53CC\u65E5\u5386-\u5DE6 "),
20710
- createVNode(_sfc_main$_, {
20710
+ createVNode(_sfc_main$11, {
20711
20711
  "view-month": viewMonth.value,
20712
20712
  mode: props.mode,
20713
20713
  "selected-date": selectedDate.value,
@@ -20723,7 +20723,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20723
20723
  onNext: nextMonth
20724
20724
  }, null, 8, ["view-month", "mode", "selected-date", "range-start", "range-end", "hover-date", "disabled-date", "show-next-nav"]),
20725
20725
  createCommentVNode(" \u53CC\u65E5\u5386-\u53F3 (Range \u6A21\u5F0F\u8054\u52A8\u53F3\u6708) "),
20726
- props.mode === "range" && props.dualCalendar ? (openBlock(), createBlock(_sfc_main$_, {
20726
+ props.mode === "range" && props.dualCalendar ? (openBlock(), createBlock(_sfc_main$11, {
20727
20727
  key: 0,
20728
20728
  "view-month": nextCalendarMonth.value,
20729
20729
  mode: props.mode,
@@ -20753,7 +20753,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
20753
20753
  }
20754
20754
  });
20755
20755
 
20756
- var _sfc_main$Y = /* @__PURE__ */ defineComponent({
20756
+ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
20757
20757
  ...{
20758
20758
  name: "YcDateRangePicker"
20759
20759
  },
@@ -20782,7 +20782,7 @@ var _sfc_main$Y = /* @__PURE__ */ defineComponent({
20782
20782
  const emit = __emit;
20783
20783
  return (_ctx, _cache) => {
20784
20784
  return openBlock(), createBlock(
20785
- _sfc_main$Z,
20785
+ _sfc_main$10,
20786
20786
  mergeProps(props, {
20787
20787
  mode: "range",
20788
20788
  "onUpdate:modelValue": _cache[0] || (_cache[0] = (val) => emit("update:modelValue", val)),
@@ -20798,11 +20798,11 @@ var _sfc_main$Y = /* @__PURE__ */ defineComponent({
20798
20798
  });
20799
20799
 
20800
20800
  const YcDateRangePicker = withInstall(
20801
- _sfc_main$Y
20801
+ _sfc_main$$
20802
20802
  );
20803
20803
  const ReDateRangePicker = YcDateRangePicker;
20804
20804
 
20805
- const capability$b = {
20805
+ const capability$c = {
20806
20806
  install: [YcDateRangePicker],
20807
20807
  gallery: {
20808
20808
  id: "yc-date-range-picker",
@@ -20820,6 +20820,528 @@ const capability$b = {
20820
20820
  }
20821
20821
  };
20822
20822
 
20823
+ const _hoisted_1$Q = { class: "yc-display-card yc-display-table-card" };
20824
+ const _hoisted_2$D = {
20825
+ key: 0,
20826
+ class: "yc-display-card__header"
20827
+ };
20828
+ const _hoisted_3$z = { class: "yc-display-card__title-wrap" };
20829
+ const _hoisted_4$y = {
20830
+ key: 0,
20831
+ class: "yc-display-card__title"
20832
+ };
20833
+ const _hoisted_5$s = {
20834
+ key: 1,
20835
+ class: "yc-display-card__subtitle"
20836
+ };
20837
+ const _hoisted_6$q = { class: "yc-display-card__badge" };
20838
+ const _hoisted_7$o = {
20839
+ key: 1,
20840
+ class: "yc-display-table-card__summary"
20841
+ };
20842
+ const _hoisted_8$k = { class: "yc-display-table-card__summary-label" };
20843
+ const _hoisted_9$j = { class: "yc-display-table-card__summary-value" };
20844
+ const _hoisted_10$i = { class: "yc-display-table-card__scroll" };
20845
+ const _hoisted_11$i = {
20846
+ key: 0,
20847
+ class: "yc-display-table-card__table"
20848
+ };
20849
+ const _hoisted_12$h = {
20850
+ key: 1,
20851
+ class: "yc-display-card__empty"
20852
+ };
20853
+ const _hoisted_13$g = {
20854
+ key: 2,
20855
+ class: "yc-display-card__footer"
20856
+ };
20857
+ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
20858
+ ...{ name: "YcDisplayTableCard" },
20859
+ __name: "table-card",
20860
+ props: {
20861
+ title: { default: "" },
20862
+ subtitle: { default: "" },
20863
+ columns: { default: () => [] },
20864
+ rows: { default: () => [] },
20865
+ summary: { default: () => [] },
20866
+ maxRows: { default: 10 }
20867
+ },
20868
+ setup(__props) {
20869
+ const props = __props;
20870
+ const expanded = ref(false);
20871
+ const normalizedColumns = computed(() => {
20872
+ if (props.columns.length > 0) return props.columns;
20873
+ const first = props.rows[0];
20874
+ if (!first || typeof first !== "object") return [];
20875
+ return Object.keys(first).map((key) => ({ key, label: key }));
20876
+ });
20877
+ const hasMore = computed(() => props.rows.length > props.maxRows);
20878
+ const visibleRows = computed(
20879
+ () => expanded.value || !hasMore.value ? props.rows : props.rows.slice(0, props.maxRows)
20880
+ );
20881
+ function formatCell(row, col) {
20882
+ const raw = row == null ? void 0 : row[col.key];
20883
+ if (raw === void 0 || raw === null || raw === "") return "\u2014";
20884
+ const text = typeof raw === "object" ? JSON.stringify(raw) : String(raw);
20885
+ return col.unit ? `${text} ${col.unit}` : text;
20886
+ }
20887
+ return (_ctx, _cache) => {
20888
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
20889
+ __props.title || __props.subtitle || __props.rows.length ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
20890
+ createElementVNode("div", _hoisted_3$z, [
20891
+ __props.title ? (openBlock(), createElementBlock(
20892
+ "div",
20893
+ _hoisted_4$y,
20894
+ toDisplayString(__props.title),
20895
+ 1
20896
+ /* TEXT */
20897
+ )) : createCommentVNode("v-if", true),
20898
+ __props.subtitle ? (openBlock(), createElementBlock(
20899
+ "div",
20900
+ _hoisted_5$s,
20901
+ toDisplayString(__props.subtitle),
20902
+ 1
20903
+ /* TEXT */
20904
+ )) : createCommentVNode("v-if", true)
20905
+ ]),
20906
+ createElementVNode(
20907
+ "span",
20908
+ _hoisted_6$q,
20909
+ "\u5171 " + toDisplayString(__props.rows.length) + " \u6761",
20910
+ 1
20911
+ /* TEXT */
20912
+ )
20913
+ ])) : createCommentVNode("v-if", true),
20914
+ __props.summary.length ? (openBlock(), createElementBlock("div", _hoisted_7$o, [
20915
+ (openBlock(true), createElementBlock(
20916
+ Fragment,
20917
+ null,
20918
+ renderList(__props.summary, (item) => {
20919
+ return openBlock(), createElementBlock("div", {
20920
+ key: item.label,
20921
+ class: "yc-display-table-card__summary-item"
20922
+ }, [
20923
+ createElementVNode(
20924
+ "span",
20925
+ _hoisted_8$k,
20926
+ toDisplayString(item.label),
20927
+ 1
20928
+ /* TEXT */
20929
+ ),
20930
+ createElementVNode(
20931
+ "strong",
20932
+ _hoisted_9$j,
20933
+ toDisplayString(item.value),
20934
+ 1
20935
+ /* TEXT */
20936
+ )
20937
+ ]);
20938
+ }),
20939
+ 128
20940
+ /* KEYED_FRAGMENT */
20941
+ ))
20942
+ ])) : createCommentVNode("v-if", true),
20943
+ createElementVNode("div", _hoisted_10$i, [
20944
+ normalizedColumns.value.length && __props.rows.length ? (openBlock(), createElementBlock("table", _hoisted_11$i, [
20945
+ createElementVNode("thead", null, [
20946
+ createElementVNode("tr", null, [
20947
+ (openBlock(true), createElementBlock(
20948
+ Fragment,
20949
+ null,
20950
+ renderList(normalizedColumns.value, (col) => {
20951
+ var _a;
20952
+ return openBlock(), createElementBlock(
20953
+ "th",
20954
+ {
20955
+ key: col.key,
20956
+ style: normalizeStyle({ textAlign: (_a = col.align) != null ? _a : "left" })
20957
+ },
20958
+ toDisplayString(col.label),
20959
+ 5
20960
+ /* TEXT, STYLE */
20961
+ );
20962
+ }),
20963
+ 128
20964
+ /* KEYED_FRAGMENT */
20965
+ ))
20966
+ ])
20967
+ ]),
20968
+ createElementVNode("tbody", null, [
20969
+ (openBlock(true), createElementBlock(
20970
+ Fragment,
20971
+ null,
20972
+ renderList(visibleRows.value, (row, idx) => {
20973
+ return openBlock(), createElementBlock("tr", { key: idx }, [
20974
+ (openBlock(true), createElementBlock(
20975
+ Fragment,
20976
+ null,
20977
+ renderList(normalizedColumns.value, (col) => {
20978
+ var _a;
20979
+ return openBlock(), createElementBlock(
20980
+ "td",
20981
+ {
20982
+ key: col.key,
20983
+ style: normalizeStyle({ textAlign: (_a = col.align) != null ? _a : "left" })
20984
+ },
20985
+ toDisplayString(formatCell(row, col)),
20986
+ 5
20987
+ /* TEXT, STYLE */
20988
+ );
20989
+ }),
20990
+ 128
20991
+ /* KEYED_FRAGMENT */
20992
+ ))
20993
+ ]);
20994
+ }),
20995
+ 128
20996
+ /* KEYED_FRAGMENT */
20997
+ ))
20998
+ ])
20999
+ ])) : (openBlock(), createElementBlock("div", _hoisted_12$h, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8868\u683C\u6570\u636E"))
21000
+ ]),
21001
+ hasMore.value ? (openBlock(), createElementBlock("div", _hoisted_13$g, [
21002
+ createElementVNode(
21003
+ "button",
21004
+ {
21005
+ type: "button",
21006
+ class: "yc-display-card__toggle",
21007
+ onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
21008
+ },
21009
+ toDisplayString(expanded.value ? "\u6536\u8D77\u660E\u7EC6" : `\u5C55\u5F00\u5168\u90E8 ${__props.rows.length} \u884C`),
21010
+ 1
21011
+ /* TEXT */
21012
+ )
21013
+ ])) : createCommentVNode("v-if", true)
21014
+ ]);
21015
+ };
21016
+ }
21017
+ });
21018
+
21019
+ var TableCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-8a770ce3"]]);
21020
+
21021
+ const _hoisted_1$P = { class: "yc-display-card yc-display-metrics-card" };
21022
+ const _hoisted_2$C = {
21023
+ key: 0,
21024
+ class: "yc-display-card__header"
21025
+ };
21026
+ const _hoisted_3$y = { class: "yc-display-card__title-wrap" };
21027
+ const _hoisted_4$x = {
21028
+ key: 0,
21029
+ class: "yc-display-card__title"
21030
+ };
21031
+ const _hoisted_5$r = {
21032
+ key: 1,
21033
+ class: "yc-display-card__subtitle"
21034
+ };
21035
+ const _hoisted_6$p = {
21036
+ key: 1,
21037
+ class: "yc-display-metrics-card__grid"
21038
+ };
21039
+ const _hoisted_7$n = { class: "yc-display-metrics-card__label" };
21040
+ const _hoisted_8$j = { class: "yc-display-metrics-card__value-row" };
21041
+ const _hoisted_9$i = { class: "yc-display-metrics-card__value" };
21042
+ const _hoisted_10$h = {
21043
+ key: 0,
21044
+ class: "yc-display-metrics-card__unit"
21045
+ };
21046
+ const _hoisted_11$h = {
21047
+ key: 0,
21048
+ class: "yc-display-metrics-card__meta"
21049
+ };
21050
+ const _hoisted_12$g = {
21051
+ key: 1,
21052
+ class: "yc-display-metrics-card__desc"
21053
+ };
21054
+ const _hoisted_13$f = {
21055
+ key: 2,
21056
+ class: "yc-display-card__empty"
21057
+ };
21058
+ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
21059
+ ...{ name: "YcDisplayMetricsCard" },
21060
+ __name: "metrics-card",
21061
+ props: {
21062
+ title: { default: "" },
21063
+ subtitle: { default: "" },
21064
+ items: { default: () => [] }
21065
+ },
21066
+ setup(__props) {
21067
+ return (_ctx, _cache) => {
21068
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
21069
+ __props.title || __props.subtitle ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
21070
+ createElementVNode("div", _hoisted_3$y, [
21071
+ __props.title ? (openBlock(), createElementBlock(
21072
+ "div",
21073
+ _hoisted_4$x,
21074
+ toDisplayString(__props.title),
21075
+ 1
21076
+ /* TEXT */
21077
+ )) : createCommentVNode("v-if", true),
21078
+ __props.subtitle ? (openBlock(), createElementBlock(
21079
+ "div",
21080
+ _hoisted_5$r,
21081
+ toDisplayString(__props.subtitle),
21082
+ 1
21083
+ /* TEXT */
21084
+ )) : createCommentVNode("v-if", true)
21085
+ ])
21086
+ ])) : createCommentVNode("v-if", true),
21087
+ __props.items.length ? (openBlock(), createElementBlock("div", _hoisted_6$p, [
21088
+ (openBlock(true), createElementBlock(
21089
+ Fragment,
21090
+ null,
21091
+ renderList(__props.items, (item, idx) => {
21092
+ var _a;
21093
+ return openBlock(), createElementBlock("div", {
21094
+ key: `${item.label}-${idx}`,
21095
+ class: "yc-display-metrics-card__item"
21096
+ }, [
21097
+ createElementVNode(
21098
+ "div",
21099
+ _hoisted_7$n,
21100
+ toDisplayString(item.label),
21101
+ 1
21102
+ /* TEXT */
21103
+ ),
21104
+ createElementVNode("div", _hoisted_8$j, [
21105
+ createElementVNode(
21106
+ "span",
21107
+ _hoisted_9$i,
21108
+ toDisplayString(item.value),
21109
+ 1
21110
+ /* TEXT */
21111
+ ),
21112
+ item.unit ? (openBlock(), createElementBlock(
21113
+ "span",
21114
+ _hoisted_10$h,
21115
+ toDisplayString(item.unit),
21116
+ 1
21117
+ /* TEXT */
21118
+ )) : createCommentVNode("v-if", true)
21119
+ ]),
21120
+ item.trend || item.description ? (openBlock(), createElementBlock("div", _hoisted_11$h, [
21121
+ item.trend ? (openBlock(), createElementBlock(
21122
+ "span",
21123
+ {
21124
+ key: 0,
21125
+ class: normalizeClass(["yc-display-metrics-card__trend", `is-${(_a = item.trendType) != null ? _a : "neutral"}`])
21126
+ },
21127
+ toDisplayString(item.trend),
21128
+ 3
21129
+ /* TEXT, CLASS */
21130
+ )) : createCommentVNode("v-if", true),
21131
+ item.description ? (openBlock(), createElementBlock(
21132
+ "span",
21133
+ _hoisted_12$g,
21134
+ toDisplayString(item.description),
21135
+ 1
21136
+ /* TEXT */
21137
+ )) : createCommentVNode("v-if", true)
21138
+ ])) : createCommentVNode("v-if", true)
21139
+ ]);
21140
+ }),
21141
+ 128
21142
+ /* KEYED_FRAGMENT */
21143
+ ))
21144
+ ])) : (openBlock(), createElementBlock("div", _hoisted_13$f, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u6307\u6807\u6570\u636E"))
21145
+ ]);
21146
+ };
21147
+ }
21148
+ });
21149
+
21150
+ var MetricsCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-3598faf5"]]);
21151
+
21152
+ const _hoisted_1$O = { class: "yc-display-card yc-display-detail-card" };
21153
+ const _hoisted_2$B = {
21154
+ key: 0,
21155
+ class: "yc-display-card__header"
21156
+ };
21157
+ const _hoisted_3$x = { class: "yc-display-card__title-wrap" };
21158
+ const _hoisted_4$w = {
21159
+ key: 0,
21160
+ class: "yc-display-card__title"
21161
+ };
21162
+ const _hoisted_5$q = {
21163
+ key: 1,
21164
+ class: "yc-display-card__subtitle"
21165
+ };
21166
+ const _hoisted_6$o = {
21167
+ key: 1,
21168
+ class: "yc-display-detail-card__fields"
21169
+ };
21170
+ const _hoisted_7$m = {
21171
+ key: 2,
21172
+ class: "yc-display-card__empty"
21173
+ };
21174
+ const _hoisted_8$i = {
21175
+ key: 3,
21176
+ class: "yc-display-detail-card__note"
21177
+ };
21178
+ var _sfc_main$Y = /* @__PURE__ */ defineComponent({
21179
+ ...{ name: "YcDisplayDetailCard" },
21180
+ __name: "detail-card",
21181
+ props: {
21182
+ title: { default: "" },
21183
+ subtitle: { default: "" },
21184
+ status: { default: void 0 },
21185
+ fields: { default: () => [] },
21186
+ note: { default: "" }
21187
+ },
21188
+ setup(__props) {
21189
+ return (_ctx, _cache) => {
21190
+ var _a, _b, _c;
21191
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
21192
+ __props.title || __props.subtitle || ((_a = __props.status) == null ? void 0 : _a.text) ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
21193
+ createElementVNode("div", _hoisted_3$x, [
21194
+ __props.title ? (openBlock(), createElementBlock(
21195
+ "div",
21196
+ _hoisted_4$w,
21197
+ toDisplayString(__props.title),
21198
+ 1
21199
+ /* TEXT */
21200
+ )) : createCommentVNode("v-if", true),
21201
+ __props.subtitle ? (openBlock(), createElementBlock(
21202
+ "div",
21203
+ _hoisted_5$q,
21204
+ toDisplayString(__props.subtitle),
21205
+ 1
21206
+ /* TEXT */
21207
+ )) : createCommentVNode("v-if", true)
21208
+ ]),
21209
+ ((_b = __props.status) == null ? void 0 : _b.text) ? (openBlock(), createElementBlock(
21210
+ "span",
21211
+ {
21212
+ key: 0,
21213
+ class: normalizeClass(["yc-display-detail-card__status", `is-${(_c = __props.status.type) != null ? _c : "info"}`])
21214
+ },
21215
+ toDisplayString(__props.status.text),
21216
+ 3
21217
+ /* TEXT, CLASS */
21218
+ )) : createCommentVNode("v-if", true)
21219
+ ])) : createCommentVNode("v-if", true),
21220
+ __props.fields.length ? (openBlock(), createElementBlock("dl", _hoisted_6$o, [
21221
+ (openBlock(true), createElementBlock(
21222
+ Fragment,
21223
+ null,
21224
+ renderList(__props.fields, (field, idx) => {
21225
+ return openBlock(), createElementBlock(
21226
+ "div",
21227
+ {
21228
+ key: `${field.label}-${idx}`,
21229
+ class: normalizeClass(["yc-display-detail-card__field", { "is-full": field.span === 2 }])
21230
+ },
21231
+ [
21232
+ createElementVNode(
21233
+ "dt",
21234
+ null,
21235
+ toDisplayString(field.label),
21236
+ 1
21237
+ /* TEXT */
21238
+ ),
21239
+ createElementVNode(
21240
+ "dd",
21241
+ null,
21242
+ toDisplayString(field.value === void 0 || field.value === null || field.value === "" ? "\u2014" : field.value),
21243
+ 1
21244
+ /* TEXT */
21245
+ )
21246
+ ],
21247
+ 2
21248
+ /* CLASS */
21249
+ );
21250
+ }),
21251
+ 128
21252
+ /* KEYED_FRAGMENT */
21253
+ ))
21254
+ ])) : (openBlock(), createElementBlock("div", _hoisted_7$m, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8BE6\u60C5\u5B57\u6BB5")),
21255
+ __props.note ? (openBlock(), createElementBlock(
21256
+ "div",
21257
+ _hoisted_8$i,
21258
+ toDisplayString(__props.note),
21259
+ 1
21260
+ /* TEXT */
21261
+ )) : createCommentVNode("v-if", true)
21262
+ ]);
21263
+ };
21264
+ }
21265
+ });
21266
+
21267
+ var DetailCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-ceb0fb47"]]);
21268
+
21269
+ const YcDisplayTableCard = withInstall(TableCard);
21270
+ const YcDisplayMetricsCard = withInstall(MetricsCard);
21271
+ const YcDisplayDetailCard = withInstall(DetailCard);
21272
+
21273
+ const capability$b = {
21274
+ install: [YcDisplayTableCard, YcDisplayMetricsCard, YcDisplayDetailCard],
21275
+ gallery: [
21276
+ {
21277
+ id: "yc.common.table",
21278
+ title: "\u901A\u7528\u6570\u636E\u8868\u683C\u5361",
21279
+ categories: ["\u5361\u7247\u4E0E\u5C55\u793A", "\u6570\u636E\u8868\u683C"],
21280
+ component: YcDisplayTableCard,
21281
+ props: {
21282
+ title: "\u9879\u76EE\u6570\u91CF\u6309\u57CE\u5E02\u6C47\u603B",
21283
+ subtitle: "\u5171 2,141 \u4E2A\u5DF2\u6388\u6743\u9879\u76EE",
21284
+ summary: [
21285
+ { label: "\u5DF2\u8BC6\u522B\u57CE\u5E02", value: "359 \u4E2A" },
21286
+ { label: "\u672A\u8BC6\u522B", value: "185 \u4E2A" }
21287
+ ],
21288
+ columns: [
21289
+ { key: "city", label: "\u6240\u5C5E\u57CE\u5E02" },
21290
+ { key: "count", label: "\u9879\u76EE\u6570", align: "right" }
21291
+ ],
21292
+ rows: [
21293
+ { city: "\u91CD\u5E86", count: 74 },
21294
+ { city: "\u6210\u90FD", count: 72 },
21295
+ { city: "\u6C88\u9633", count: 46 }
21296
+ ]
21297
+ }
21298
+ },
21299
+ {
21300
+ id: "yc.common.metrics",
21301
+ title: "\u6838\u5FC3\u6307\u6807\u6C47\u603B\u5361",
21302
+ categories: ["\u5361\u7247\u4E0E\u5C55\u793A"],
21303
+ component: YcDisplayMetricsCard,
21304
+ props: {
21305
+ title: "\u672C\u671F\u6536\u7F34\u6982\u89C8",
21306
+ subtitle: "2026-11 \u622A\u81F3\u6628\u65E5",
21307
+ items: [
21308
+ {
21309
+ label: "\u5B9E\u6536\u91D1\u989D",
21310
+ value: "128,460.00",
21311
+ unit: "\u5143",
21312
+ trend: "+2.4%",
21313
+ trendType: "up"
21314
+ },
21315
+ {
21316
+ label: "\u5F53\u671F\u6536\u7F34\u7387",
21317
+ value: "94.6",
21318
+ unit: "%",
21319
+ description: "\u8F83\u4E0A\u6708\u63D0\u5347"
21320
+ }
21321
+ ]
21322
+ }
21323
+ },
21324
+ {
21325
+ id: "yc.common.detail",
21326
+ title: "\u7ED3\u6784\u5316\u8BE6\u60C5\u5361",
21327
+ categories: ["\u5361\u7247\u4E0E\u5C55\u793A"],
21328
+ component: YcDisplayDetailCard,
21329
+ props: {
21330
+ title: "\u91D1\u78A7\u82B1\u56ED18 \xB7 \u623F\u5C4B\u8D26\u5355\u6982\u51B5",
21331
+ subtitle: "1\u680B1\u5355\u51430603",
21332
+ status: { text: "\u5DF2\u7ED3\u6E05", type: "success" },
21333
+ fields: [
21334
+ { label: "\u7F34\u8D39\u4EBA", value: "\u5468\u5F3A\u660E" },
21335
+ { label: "\u6B20\u8D39\u672C\u91D1", value: "0.00 \u5143" },
21336
+ { label: "\u8FDD\u7EA6\u91D1", value: "0.00 \u5143" },
21337
+ { label: "\u5408\u8BA1\u6B20\u8D39", value: "0.00 \u5143" }
21338
+ ],
21339
+ note: "\u5982\u9700\u67E5\u8BE2\u5176\u4ED6\u697C\u5C42\u623F\u53F7\uFF0C\u53EF\u7EE7\u7EED\u8865\u5145\u697C\u5C42\u4FE1\u606F\u3002"
21340
+ }
21341
+ }
21342
+ ]
21343
+ };
21344
+
20823
21345
  const _hoisted_1$N = {
20824
21346
  class: "yc-banner__icon",
20825
21347
  "aria-hidden": "true"
@@ -52669,7 +53191,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
52669
53191
  const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
52670
53192
  const _component_el_dropdown = resolveComponent("el-dropdown");
52671
53193
  const _component_el_tree_v2 = resolveComponent("el-tree-v2");
52672
- return openBlock(), createBlock(unref(_sfc_main$1c), {
53194
+ return openBlock(), createBlock(unref(_sfc_main$1f), {
52673
53195
  padding: props.padding,
52674
53196
  height: "100%",
52675
53197
  radius: __props.showCardStyle ? 8 : 0,
@@ -53034,14 +53556,14 @@ const _hoisted_24$5 = {
53034
53556
  const _hoisted_25$5 = { class: "yc-property-actions" };
53035
53557
  const _hoisted_26$5 = ["disabled", "onClick"];
53036
53558
  const _hoisted_27$5 = { class: "yc-property-tr is-empty" };
53037
- const _hoisted_28$4 = ["colspan"];
53038
- const _hoisted_29$4 = { class: "yc-property-empty" };
53039
- const _hoisted_30$4 = { class: "yc-property-empty__text" };
53040
- const _hoisted_31$4 = { class: "yc-property-card-list" };
53041
- const _hoisted_32$3 = ["onClick"];
53042
- const _hoisted_33$2 = { class: "yc-property-card-header" };
53043
- const _hoisted_34$2 = { class: "yc-property-card-header__left" };
53044
- const _hoisted_35$2 = ["checked", "onChange"];
53559
+ const _hoisted_28$5 = ["colspan"];
53560
+ const _hoisted_29$5 = { class: "yc-property-empty" };
53561
+ const _hoisted_30$5 = { class: "yc-property-empty__text" };
53562
+ const _hoisted_31$5 = { class: "yc-property-card-list" };
53563
+ const _hoisted_32$4 = ["onClick"];
53564
+ const _hoisted_33$3 = { class: "yc-property-card-header" };
53565
+ const _hoisted_34$3 = { class: "yc-property-card-header__left" };
53566
+ const _hoisted_35$3 = ["checked", "onChange"];
53045
53567
  const _hoisted_36$2 = { class: "yc-property-card-title" };
53046
53568
  const _hoisted_37$2 = {
53047
53569
  key: 0,
@@ -53762,7 +54284,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
53762
54284
  class: "yc-property-td is-empty"
53763
54285
  }, [
53764
54286
  renderSlot(_ctx.$slots, "empty", {}, () => [
53765
- createElementVNode("div", _hoisted_29$4, [
54287
+ createElementVNode("div", _hoisted_29$5, [
53766
54288
  _cache[14] || (_cache[14] = createElementVNode(
53767
54289
  "svg",
53768
54290
  {
@@ -53803,14 +54325,14 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
53803
54325
  )),
53804
54326
  createElementVNode(
53805
54327
  "p",
53806
- _hoisted_30$4,
54328
+ _hoisted_30$5,
53807
54329
  toDisplayString(__props.emptyText),
53808
54330
  1
53809
54331
  /* TEXT */
53810
54332
  )
53811
54333
  ])
53812
54334
  ])
53813
- ], 8, _hoisted_28$4)
54335
+ ], 8, _hoisted_28$5)
53814
54336
  ])
53815
54337
  ],
53816
54338
  2112
@@ -53830,7 +54352,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
53830
54352
  { key: 3 },
53831
54353
  [
53832
54354
  createCommentVNode(" 2. \u79FB\u52A8\u7AEF\u4E0E H5 \u4E13\u5C5E\u81EA\u9002\u5E94\u7CBE\u81F4\u5361\u7247\u6D41\u89C6\u56FE (layout === 'card') "),
53833
- createElementVNode("div", _hoisted_31$4, [
54355
+ createElementVNode("div", _hoisted_31$5, [
53834
54356
  paginatedData.value.length > 0 ? (openBlock(true), createElementBlock(
53835
54357
  Fragment,
53836
54358
  { key: 0 },
@@ -53848,14 +54370,14 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
53848
54370
  }, () => [
53849
54371
  createCommentVNode(" \u9ED8\u8BA4\u7ED3\u6784\u5316\u5361\u7247 "),
53850
54372
  createCommentVNode(" \u5361\u7247\u5934\u90E8 (\u4E3B\u6807 + \u72B6\u6001 Badge) "),
53851
- createElementVNode("div", _hoisted_33$2, [
54373
+ createElementVNode("div", _hoisted_33$3, [
53852
54374
  renderSlot(_ctx.$slots, "card-header", {
53853
54375
  row,
53854
54376
  index: rIdx
53855
54377
  }, () => {
53856
54378
  var _a2;
53857
54379
  return [
53858
- createElementVNode("div", _hoisted_34$2, [
54380
+ createElementVNode("div", _hoisted_34$3, [
53859
54381
  createCommentVNode(" \u53EF\u9009\u591A\u9009\u6846 "),
53860
54382
  __props.selectable ? (openBlock(), createElementBlock("input", {
53861
54383
  key: 0,
@@ -53865,7 +54387,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
53865
54387
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {
53866
54388
  }, ["stop"])),
53867
54389
  onChange: ($event) => handleToggleSelectRow(row)
53868
- }, null, 40, _hoisted_35$2)) : createCommentVNode("v-if", true),
54390
+ }, null, 40, _hoisted_35$3)) : createCommentVNode("v-if", true),
53869
54391
  createCommentVNode(" \u4E3B\u6807\u9898 "),
53870
54392
  createElementVNode("div", _hoisted_36$2, [
53871
54393
  renderSlot(_ctx.$slots, (_a2 = primaryCol.value) == null ? void 0 : _a2.prop, {
@@ -54049,7 +54571,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
54049
54571
  ])
54050
54572
  ])) : createCommentVNode("v-if", true)
54051
54573
  ])
54052
- ], 10, _hoisted_32$3);
54574
+ ], 10, _hoisted_32$4);
54053
54575
  }),
54054
54576
  128
54055
54577
  /* KEYED_FRAGMENT */
@@ -54613,17 +55135,17 @@ const _hoisted_24$4 = { class: "yc-bill-card__details" };
54613
55135
  const _hoisted_25$4 = { class: "yc-bill-card__detail-row" };
54614
55136
  const _hoisted_26$4 = { class: "yc-bill-card__detail-v is-strong" };
54615
55137
  const _hoisted_27$4 = { class: "yc-bill-card__detail-row" };
54616
- const _hoisted_28$3 = { class: "yc-bill-card__detail-v" };
54617
- const _hoisted_29$3 = { class: "yc-bill-card__detail-row" };
54618
- const _hoisted_30$3 = { class: "yc-bill-card__detail-v" };
54619
- const _hoisted_31$3 = {
55138
+ const _hoisted_28$4 = { class: "yc-bill-card__detail-v" };
55139
+ const _hoisted_29$4 = { class: "yc-bill-card__detail-row" };
55140
+ const _hoisted_30$4 = { class: "yc-bill-card__detail-v" };
55141
+ const _hoisted_31$4 = {
54620
55142
  key: 0,
54621
55143
  class: "yc-bill-card__alert"
54622
55144
  };
54623
- const _hoisted_32$2 = { class: "yc-bill-card__alert-text" };
54624
- const _hoisted_33$1 = { class: "yc-bill-card__links" };
54625
- const _hoisted_34$1 = ["href"];
54626
- const _hoisted_35$1 = ["onClick"];
55145
+ const _hoisted_32$3 = { class: "yc-bill-card__alert-text" };
55146
+ const _hoisted_33$2 = { class: "yc-bill-card__links" };
55147
+ const _hoisted_34$2 = ["href"];
55148
+ const _hoisted_35$2 = ["onClick"];
54627
55149
  const _hoisted_36$1 = {
54628
55150
  key: 0,
54629
55151
  class: "yc-bill-card__btns"
@@ -55091,13 +55613,13 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
55091
55613
  )),
55092
55614
  createElementVNode(
55093
55615
  "span",
55094
- _hoisted_28$3,
55616
+ _hoisted_28$4,
55095
55617
  toDisplayString(row.period),
55096
55618
  1
55097
55619
  /* TEXT */
55098
55620
  )
55099
55621
  ]),
55100
- createElementVNode("div", _hoisted_29$3, [
55622
+ createElementVNode("div", _hoisted_29$4, [
55101
55623
  _cache[11] || (_cache[11] = createElementVNode(
55102
55624
  "span",
55103
55625
  { class: "yc-bill-card__detail-k" },
@@ -55107,14 +55629,14 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
55107
55629
  )),
55108
55630
  createElementVNode(
55109
55631
  "span",
55110
- _hoisted_30$3,
55632
+ _hoisted_30$4,
55111
55633
  toDisplayString(row.owner),
55112
55634
  1
55113
55635
  /* TEXT */
55114
55636
  )
55115
55637
  ])
55116
55638
  ]),
55117
- row.overdueDays && row.overdueDays > 0 ? (openBlock(), createElementBlock("div", _hoisted_31$3, [
55639
+ row.overdueDays && row.overdueDays > 0 ? (openBlock(), createElementBlock("div", _hoisted_31$4, [
55118
55640
  _cache[13] || (_cache[13] = createElementVNode(
55119
55641
  "svg",
55120
55642
  {
@@ -55140,7 +55662,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
55140
55662
  -1
55141
55663
  /* CACHED */
55142
55664
  )),
55143
- createElementVNode("span", _hoisted_32$2, [
55665
+ createElementVNode("span", _hoisted_32$3, [
55144
55666
  _cache[12] || (_cache[12] = createTextVNode(
55145
55667
  "\u5DF2\u903E\u671F ",
55146
55668
  -1
@@ -55165,17 +55687,17 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
55165
55687
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
55166
55688
  }, ["stop"]))
55167
55689
  }, [
55168
- createElementVNode("div", _hoisted_33$1, [
55690
+ createElementVNode("div", _hoisted_33$2, [
55169
55691
  row.phone ? (openBlock(), createElementBlock("a", {
55170
55692
  key: 0,
55171
55693
  href: `tel:${row.phone}`,
55172
55694
  class: "yc-bill-card__link"
55173
- }, "\u8054\u7CFB\u4E1A\u4E3B", 8, _hoisted_34$1)) : createCommentVNode("v-if", true),
55695
+ }, "\u8054\u7CFB\u4E1A\u4E3B", 8, _hoisted_34$2)) : createCommentVNode("v-if", true),
55174
55696
  createElementVNode("button", {
55175
55697
  type: "button",
55176
55698
  class: "yc-bill-card__link",
55177
55699
  onClick: ($event) => handleAction("history", row)
55178
- }, " \u6D41\u6C34 ", 8, _hoisted_35$1)
55700
+ }, " \u6D41\u6C34 ", 8, _hoisted_35$2)
55179
55701
  ]),
55180
55702
  row.status !== "paid" ? (openBlock(), createElementBlock("div", _hoisted_36$1, [
55181
55703
  createElementVNode("button", {
@@ -56341,7 +56863,7 @@ const _hoisted_26$3 = {
56341
56863
  class: "yc-questionnaire__options-grid"
56342
56864
  };
56343
56865
  const _hoisted_27$3 = ["onClick"];
56344
- const _hoisted_28$2 = {
56866
+ const _hoisted_28$3 = {
56345
56867
  key: 0,
56346
56868
  class: "yc-questionnaire__check-icon",
56347
56869
  viewBox: "0 0 24 24",
@@ -56349,19 +56871,19 @@ const _hoisted_28$2 = {
56349
56871
  stroke: "currentColor",
56350
56872
  "stroke-width": "3"
56351
56873
  };
56352
- const _hoisted_29$2 = { class: "yc-questionnaire__option-content" };
56353
- const _hoisted_30$2 = { class: "yc-questionnaire__option-label" };
56354
- const _hoisted_31$2 = {
56874
+ const _hoisted_29$3 = { class: "yc-questionnaire__option-content" };
56875
+ const _hoisted_30$3 = { class: "yc-questionnaire__option-label" };
56876
+ const _hoisted_31$3 = {
56355
56877
  key: 0,
56356
56878
  class: "yc-questionnaire__option-icon"
56357
56879
  };
56358
- const _hoisted_32$1 = { key: 1 };
56359
- const _hoisted_33 = {
56880
+ const _hoisted_32$2 = { key: 1 };
56881
+ const _hoisted_33$1 = {
56360
56882
  key: 0,
56361
56883
  class: "yc-questionnaire__option-desc"
56362
56884
  };
56363
- const _hoisted_34 = { class: "yc-questionnaire__text-wrapper" };
56364
- const _hoisted_35 = ["placeholder", "value", "maxlength"];
56885
+ const _hoisted_34$1 = { class: "yc-questionnaire__text-wrapper" };
56886
+ const _hoisted_35$1 = ["placeholder", "value", "maxlength"];
56365
56887
  const _hoisted_36 = {
56366
56888
  key: 0,
56367
56889
  class: "yc-questionnaire__char-count"
@@ -56875,7 +57397,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
56875
57397
  class: normalizeClass(["yc-questionnaire__option-indicator", [currentQuestion.value.type === "multiple" ? "is-checkbox" : "is-radio"]])
56876
57398
  },
56877
57399
  [
56878
- isOptionSelected(opt) ? (openBlock(), createElementBlock("svg", _hoisted_28$2, [..._cache[1] || (_cache[1] = [
57400
+ isOptionSelected(opt) ? (openBlock(), createElementBlock("svg", _hoisted_28$3, [..._cache[1] || (_cache[1] = [
56879
57401
  createElementVNode(
56880
57402
  "polyline",
56881
57403
  { points: "20 6 9 17 4 12" },
@@ -56889,12 +57411,12 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
56889
57411
  /* CLASS */
56890
57412
  ),
56891
57413
  createCommentVNode(" \u9009\u9879\u6587\u672C\u4E0E\u63CF\u8FF0 "),
56892
- createElementVNode("div", _hoisted_29$2, [
56893
- createElementVNode("div", _hoisted_30$2, [
56894
- opt.icon ? (openBlock(), createElementBlock("span", _hoisted_31$2, [
57414
+ createElementVNode("div", _hoisted_29$3, [
57415
+ createElementVNode("div", _hoisted_30$3, [
57416
+ opt.icon ? (openBlock(), createElementBlock("span", _hoisted_31$3, [
56895
57417
  typeof opt.icon === "object" ? (openBlock(), createBlock(resolveDynamicComponent(opt.icon), { key: 0 })) : (openBlock(), createElementBlock(
56896
57418
  "span",
56897
- _hoisted_32$1,
57419
+ _hoisted_32$2,
56898
57420
  toDisplayString(opt.icon),
56899
57421
  1
56900
57422
  /* TEXT */
@@ -56908,7 +57430,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
56908
57430
  ]),
56909
57431
  opt.description ? (openBlock(), createElementBlock(
56910
57432
  "div",
56911
- _hoisted_33,
57433
+ _hoisted_33$1,
56912
57434
  toDisplayString(opt.description),
56913
57435
  1
56914
57436
  /* TEXT */
@@ -56924,7 +57446,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
56924
57446
  { key: 1 },
56925
57447
  [
56926
57448
  createCommentVNode(" \u5F00\u653E\u81EA\u7531\u6587\u672C\u8F93\u5165 (Text Type) "),
56927
- createElementVNode("div", _hoisted_34, [
57449
+ createElementVNode("div", _hoisted_34$1, [
56928
57450
  createElementVNode("textarea", {
56929
57451
  class: "yc-questionnaire__textarea",
56930
57452
  rows: 4,
@@ -56932,7 +57454,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
56932
57454
  value: answers.value[currentQuestion.value.id] || "",
56933
57455
  maxlength: currentQuestion.value.maxlength,
56934
57456
  onInput: handleTextInput
56935
- }, null, 40, _hoisted_35),
57457
+ }, null, 40, _hoisted_35$1),
56936
57458
  currentQuestion.value.maxlength ? (openBlock(), createElementBlock(
56937
57459
  "div",
56938
57460
  _hoisted_36,
@@ -62682,7 +63204,7 @@ const runtime = {
62682
63204
  ]
62683
63205
  };
62684
63206
 
62685
- const modules = { "../components/chart/capability.ts": capability$h, "../components/data-table/capability.ts": capability$g, "../components/table/capability.ts": capability$f, "../components/yc-card/capability.ts": capability$e, "../components/yc-controls/capability.ts": capability$d, "../components/yc-coss-table/capability.ts": capability$c, "../components/yc-date-picker/capability.ts": capability$b, "../components/yc-feedback/capability.ts": capability$a, "../components/yc-gradient-card/capability.ts": capability$9, "../components/yc-input-otp/capability.ts": capability$8, "../components/yc-input/capability.ts": capability$7, "../components/yc-lens/capability.ts": capability$6, "../components/yc-pagination/capability.ts": capability$5, "../components/yc-plus-tree/capability.ts": capability$4, "../components/yc-property-table/capability.ts": capability$3, "../components/yc-questionnaire/capability.ts": capability$2, "../components/yc-select-v2/capability.ts": capability$1, "../components/yc-text/capability.ts": capability, "./capabilities/runtime.ts": runtime };
63207
+ const modules = { "../components/chart/capability.ts": capability$i, "../components/data-table/capability.ts": capability$h, "../components/table/capability.ts": capability$g, "../components/yc-card/capability.ts": capability$f, "../components/yc-controls/capability.ts": capability$e, "../components/yc-coss-table/capability.ts": capability$d, "../components/yc-date-picker/capability.ts": capability$c, "../components/yc-display-cards/capability.ts": capability$b, "../components/yc-feedback/capability.ts": capability$a, "../components/yc-gradient-card/capability.ts": capability$9, "../components/yc-input-otp/capability.ts": capability$8, "../components/yc-input/capability.ts": capability$7, "../components/yc-lens/capability.ts": capability$6, "../components/yc-pagination/capability.ts": capability$5, "../components/yc-plus-tree/capability.ts": capability$4, "../components/yc-property-table/capability.ts": capability$3, "../components/yc-questionnaire/capability.ts": capability$2, "../components/yc-select-v2/capability.ts": capability$1, "../components/yc-text/capability.ts": capability, "./capabilities/runtime.ts": runtime };
62686
63208
  function isCapability(value) {
62687
63209
  return !!value && typeof value === "object" && ("install" in value || "gallery" in value);
62688
63210
  }
@@ -63121,14 +63643,14 @@ const _hoisted_26$2 = {
63121
63643
  class: "yc-chat-studio__mobile-sub"
63122
63644
  };
63123
63645
  const _hoisted_27$2 = { class: "yc-chat-studio__mobile-actions" };
63124
- const _hoisted_28$1 = ["disabled"];
63125
- const _hoisted_29$1 = {
63646
+ const _hoisted_28$2 = ["disabled"];
63647
+ const _hoisted_29$2 = {
63126
63648
  key: 0,
63127
63649
  class: "yc-chat-studio__mobile-toolbar",
63128
63650
  "data-testid": "studio-context-bar"
63129
63651
  };
63130
- const _hoisted_30$1 = { class: "yc-chat-studio__mobile-composer" };
63131
- const _hoisted_31$1 = { class: "yc-chat-studio__mobile-drawer" };
63652
+ const _hoisted_30$2 = { class: "yc-chat-studio__mobile-composer" };
63653
+ const _hoisted_31$2 = { class: "yc-chat-studio__mobile-drawer" };
63132
63654
  const DEFAULT_SIDEBAR_WIDTH = 280;
63133
63655
  var _sfc_main$j = /* @__PURE__ */ defineComponent({
63134
63656
  ...{
@@ -63729,10 +64251,10 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
63729
64251
  -1
63730
64252
  /* CACHED */
63731
64253
  )
63732
- ])], 8, _hoisted_28$1)
64254
+ ])], 8, _hoisted_28$2)
63733
64255
  ])
63734
64256
  ]),
63735
- _ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_29$1, [
64257
+ _ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_29$2, [
63736
64258
  renderSlot(_ctx.$slots, "toolbar")
63737
64259
  ])) : createCommentVNode("v-if", true),
63738
64260
  createElementVNode(
@@ -63748,7 +64270,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
63748
64270
  512
63749
64271
  /* NEED_PATCH */
63750
64272
  ),
63751
- createElementVNode("div", _hoisted_30$1, [
64273
+ createElementVNode("div", _hoisted_30$2, [
63752
64274
  renderSlot(_ctx.$slots, "composer")
63753
64275
  ]),
63754
64276
  mobileDrawerOpen.value ? (openBlock(), createElementBlock("div", {
@@ -63757,7 +64279,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
63757
64279
  "data-testid": "mobile-drawer",
63758
64280
  onClick: withModifiers(closeMobileDrawer, ["self"])
63759
64281
  }, [
63760
- createElementVNode("aside", _hoisted_31$1, [
64282
+ createElementVNode("aside", _hoisted_31$2, [
63761
64283
  createElementVNode("div", { class: "yc-chat-studio__mobile-drawer-top" }, [
63762
64284
  _cache[17] || (_cache[17] = createElementVNode(
63763
64285
  "span",
@@ -63874,25 +64396,25 @@ const _hoisted_27$1 = {
63874
64396
  key: 2,
63875
64397
  class: "yc-chat-sidebar__more"
63876
64398
  };
63877
- const _hoisted_28 = ["disabled"];
63878
- const _hoisted_29 = {
64399
+ const _hoisted_28$1 = ["disabled"];
64400
+ const _hoisted_29$1 = {
63879
64401
  key: 0,
63880
64402
  viewBox: "0 0 16 16",
63881
64403
  fill: "none",
63882
64404
  "aria-hidden": "true"
63883
64405
  };
63884
- const _hoisted_30 = {
64406
+ const _hoisted_30$1 = {
63885
64407
  key: 1,
63886
64408
  viewBox: "0 0 16 16",
63887
64409
  fill: "none",
63888
64410
  "aria-hidden": "true"
63889
64411
  };
63890
- const _hoisted_31 = {
64412
+ const _hoisted_31$1 = {
63891
64413
  key: 2,
63892
64414
  class: "yc-chat-sidebar__menu-divider",
63893
64415
  role: "separator"
63894
64416
  };
63895
- const _hoisted_32 = ["disabled"];
64417
+ const _hoisted_32$1 = ["disabled"];
63896
64418
  var _sfc_main$i = /* @__PURE__ */ defineComponent({
63897
64419
  ...{
63898
64420
  name: "YcChatSidebar"
@@ -64464,7 +64986,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
64464
64986
  class: "yc-chat-sidebar__more-btn",
64465
64987
  disabled: __props.loading,
64466
64988
  onClick: _cache[6] || (_cache[6] = withModifiers(($event) => emit("load-more"), ["stop"]))
64467
- }, toDisplayString(__props.loading ? "\u52A0\u8F7D\u4E2D\u2026" : "\u52A0\u8F7D\u66F4\u591A"), 9, _hoisted_28)
64989
+ }, toDisplayString(__props.loading ? "\u52A0\u8F7D\u4E2D\u2026" : "\u52A0\u8F7D\u66F4\u591A"), 9, _hoisted_28$1)
64468
64990
  ])) : createCommentVNode("v-if", true)
64469
64991
  ]))
64470
64992
  ],
@@ -64555,7 +65077,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
64555
65077
  activeMenuSession.value
64556
65078
  ))
64557
65079
  }, [
64558
- !activeMenuSession.value.archived ? (openBlock(), createElementBlock("svg", _hoisted_29, [..._cache[19] || (_cache[19] = [
65080
+ !activeMenuSession.value.archived ? (openBlock(), createElementBlock("svg", _hoisted_29$1, [..._cache[19] || (_cache[19] = [
64559
65081
  createElementVNode(
64560
65082
  "rect",
64561
65083
  {
@@ -64584,7 +65106,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
64584
65106
  -1
64585
65107
  /* CACHED */
64586
65108
  )
64587
- ])])) : (openBlock(), createElementBlock("svg", _hoisted_30, [..._cache[20] || (_cache[20] = [
65109
+ ])])) : (openBlock(), createElementBlock("svg", _hoisted_30$1, [..._cache[20] || (_cache[20] = [
64588
65110
  createElementVNode(
64589
65111
  "rect",
64590
65112
  {
@@ -64622,7 +65144,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
64622
65144
  /* TEXT */
64623
65145
  )
64624
65146
  ])) : createCommentVNode("v-if", true),
64625
- __props.showDelete && (__props.showShare || __props.showArchive) ? (openBlock(), createElementBlock("div", _hoisted_31)) : createCommentVNode("v-if", true),
65147
+ __props.showDelete && (__props.showShare || __props.showArchive) ? (openBlock(), createElementBlock("div", _hoisted_31$1)) : createCommentVNode("v-if", true),
64626
65148
  __props.showDelete ? (openBlock(), createElementBlock("button", {
64627
65149
  key: 3,
64628
65150
  type: "button",
@@ -64658,7 +65180,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
64658
65180
  -1
64659
65181
  /* CACHED */
64660
65182
  )
64661
- ])], 8, _hoisted_32)) : createCommentVNode("v-if", true)
65183
+ ])], 8, _hoisted_32$1)) : createCommentVNode("v-if", true)
64662
65184
  ],
64663
65185
  4
64664
65186
  /* STYLE */
@@ -73692,63 +74214,95 @@ function validChatAnswersForRequest(request, answers) {
73692
74214
  const _hoisted_1 = ["data-state", "data-testid"];
73693
74215
  const _hoisted_2 = { class: "yc-chat-question-card__header question-card__header" };
73694
74216
  const _hoisted_3 = { class: "yc-chat-question-card__title-wrap" };
73695
- const _hoisted_4 = { class: "yc-chat-question-card__title" };
73696
- const _hoisted_5 = { class: "yc-chat-question-card__questions" };
73697
- const _hoisted_6 = ["disabled"];
73698
- const _hoisted_7 = { class: "yc-chat-question-card__legend" };
74217
+ const _hoisted_4 = {
74218
+ key: 0,
74219
+ viewBox: "0 0 18 18",
74220
+ fill: "none"
74221
+ };
74222
+ const _hoisted_5 = {
74223
+ key: 1,
74224
+ viewBox: "0 0 18 18",
74225
+ fill: "none"
74226
+ };
74227
+ const _hoisted_6 = { class: "yc-chat-question-card__title" };
74228
+ const _hoisted_7 = { class: "yc-chat-question-card__header-meta" };
73699
74229
  const _hoisted_8 = {
73700
74230
  key: 0,
73701
- class: "yc-chat-question-card__mode-tag"
74231
+ class: "yc-chat-question-card__summary",
74232
+ "data-testid": "question-card-summary"
74233
+ };
74234
+ const _hoisted_9 = { class: "yc-chat-question-card__summary-question" };
74235
+ const _hoisted_10 = {
74236
+ key: 0,
74237
+ class: "yc-chat-question-card__answer-chips"
73702
74238
  };
73703
- const _hoisted_9 = { class: "yc-chat-question-card__options" };
73704
- const _hoisted_10 = ["data-testid", "type", "name", "checked", "onChange"];
73705
74239
  const _hoisted_11 = {
74240
+ key: 0,
74241
+ class: "yc-chat-question-card__answer-chip is-other"
74242
+ };
74243
+ const _hoisted_12 = {
74244
+ key: 1,
74245
+ class: "yc-chat-question-card__summary-empty"
74246
+ };
74247
+ const _hoisted_13 = {
74248
+ key: 1,
74249
+ class: "yc-chat-question-card__questions"
74250
+ };
74251
+ const _hoisted_14 = ["disabled"];
74252
+ const _hoisted_15 = { class: "yc-chat-question-card__legend" };
74253
+ const _hoisted_16 = {
74254
+ key: 0,
74255
+ class: "yc-chat-question-card__mode-tag"
74256
+ };
74257
+ const _hoisted_17 = { class: "yc-chat-question-card__options" };
74258
+ const _hoisted_18 = ["data-testid", "type", "name", "checked", "onChange"];
74259
+ const _hoisted_19 = {
73706
74260
  key: 0,
73707
74261
  viewBox: "0 0 12 12",
73708
74262
  fill: "none"
73709
74263
  };
73710
- const _hoisted_12 = { class: "yc-chat-question-card__option-body" };
73711
- const _hoisted_13 = { class: "yc-chat-question-card__option-label" };
73712
- const _hoisted_14 = {
74264
+ const _hoisted_20 = { class: "yc-chat-question-card__option-body" };
74265
+ const _hoisted_21 = { class: "yc-chat-question-card__option-label" };
74266
+ const _hoisted_22 = {
73713
74267
  key: 0,
73714
74268
  class: "yc-chat-question-card__option-desc"
73715
74269
  };
73716
- const _hoisted_15 = {
74270
+ const _hoisted_23 = {
73717
74271
  key: 1,
73718
74272
  class: "yc-chat-question-card__event question-card__event"
73719
74273
  };
73720
- const _hoisted_16 = ["data-testid", "type", "name", "checked", "onChange"];
73721
- const _hoisted_17 = {
74274
+ const _hoisted_24 = ["data-testid", "type", "name", "checked", "onChange"];
74275
+ const _hoisted_25 = {
73722
74276
  key: 0,
73723
74277
  viewBox: "0 0 12 12",
73724
74278
  fill: "none"
73725
74279
  };
73726
- const _hoisted_18 = { class: "yc-chat-question-card__option-body" };
73727
- const _hoisted_19 = { class: "yc-chat-question-card__option-label" };
73728
- const _hoisted_20 = {
74280
+ const _hoisted_26 = { class: "yc-chat-question-card__option-body" };
74281
+ const _hoisted_27 = { class: "yc-chat-question-card__option-label" };
74282
+ const _hoisted_28 = {
73729
74283
  key: 0,
73730
74284
  class: "yc-chat-question-card__textarea-box"
73731
74285
  };
73732
- const _hoisted_21 = ["onUpdate:modelValue", "data-testid"];
73733
- const _hoisted_22 = {
73734
- key: 0,
74286
+ const _hoisted_29 = ["onUpdate:modelValue", "data-testid"];
74287
+ const _hoisted_30 = {
74288
+ key: 2,
73735
74289
  class: "yc-chat-question-card__notice question-card__notice"
73736
74290
  };
73737
- const _hoisted_23 = {
73738
- key: 1,
74291
+ const _hoisted_31 = {
74292
+ key: 3,
73739
74293
  class: "yc-chat-question-card__notice question-card__notice"
73740
74294
  };
73741
- const _hoisted_24 = {
73742
- key: 2,
74295
+ const _hoisted_32 = {
74296
+ key: 4,
73743
74297
  class: "yc-chat-question-card__notice question-card__notice",
73744
74298
  "data-testid": "client-event-not-executed"
73745
74299
  };
73746
- const _hoisted_25 = {
73747
- key: 3,
74300
+ const _hoisted_33 = {
74301
+ key: 5,
73748
74302
  class: "yc-chat-question-card__actions question-card__actions"
73749
74303
  };
73750
- const _hoisted_26 = ["disabled"];
73751
- const _hoisted_27 = ["disabled"];
74304
+ const _hoisted_34 = ["disabled"];
74305
+ const _hoisted_35 = ["disabled"];
73752
74306
  var _sfc_main = /* @__PURE__ */ defineComponent({
73753
74307
  ...{
73754
74308
  name: "YcChatQuestionCard"
@@ -73769,6 +74323,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73769
74323
  const selected = reactive({});
73770
74324
  const otherActive = reactive({});
73771
74325
  const otherText = reactive({});
74326
+ const showDetails = ref(false);
73772
74327
  const statusLabels = {
73773
74328
  preparing: "\u51C6\u5907\u4E2D",
73774
74329
  pending: "\u5F85\u56DE\u7B54",
@@ -73778,6 +74333,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73778
74333
  cancelled: "\u5DF2\u53D6\u6D88",
73779
74334
  superseded: "\u5DF2\u88AB\u65B0\u6D88\u606F\u66FF\u4EE3"
73780
74335
  };
74336
+ watch(
74337
+ () => [props.interaction.request.request_id, props.interaction.state],
74338
+ () => {
74339
+ showDetails.value = false;
74340
+ }
74341
+ );
73781
74342
  watch(
73782
74343
  () => [props.interaction.request.request_id, props.interaction.answers],
73783
74344
  () => {
@@ -73796,6 +74357,30 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73796
74357
  const requestIsValid = computed(
73797
74358
  () => validChatQuestionRequest(props.interaction.request)
73798
74359
  );
74360
+ const isPending = computed(() => props.interaction.state === "pending");
74361
+ const showForm = computed(() => isPending.value || showDetails.value);
74362
+ const answerSummaries = computed(
74363
+ () => props.interaction.request.questions.map((question) => {
74364
+ var _a, _b, _c, _d;
74365
+ const answer = props.interaction.answers.find(
74366
+ (item) => item.question_id === question.id
74367
+ );
74368
+ const optionIds = (_b = (_a = answer == null ? void 0 : answer.selected_option_ids) != null ? _a : selected[question.id]) != null ? _b : [];
74369
+ const labels = optionIds.map(
74370
+ (id) => {
74371
+ var _a2, _b2;
74372
+ return (_b2 = (_a2 = question.options.find((option) => option.id === id)) == null ? void 0 : _a2.label) != null ? _b2 : id;
74373
+ }
74374
+ );
74375
+ const customText = ((_d = (_c = answer == null ? void 0 : answer.other_text) != null ? _c : otherActive[question.id] ? otherText[question.id] : "") != null ? _d : "").trim();
74376
+ return {
74377
+ id: question.id,
74378
+ title: question.title,
74379
+ labels,
74380
+ customText
74381
+ };
74382
+ })
74383
+ );
73799
74384
  const canAnswer = computed(
73800
74385
  () => props.answerEnabled && props.interaction.state === "pending" && requestIsValid.value
73801
74386
  );
@@ -73851,58 +74436,149 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73851
74436
  return (_ctx, _cache) => {
73852
74437
  var _a;
73853
74438
  return openBlock(), createElementBlock("section", {
73854
- class: normalizeClass(["yc-chat-question-card question-card", { "is-compact": __props.compact, "is-readonly": !canAnswer.value }]),
74439
+ class: normalizeClass(["yc-chat-question-card question-card", {
74440
+ "is-compact": __props.compact,
74441
+ "is-readonly": !canAnswer.value,
74442
+ "is-summary": !showForm.value
74443
+ }]),
73855
74444
  "data-state": __props.interaction.state,
73856
74445
  "data-testid": `question-card-${__props.interaction.request.request_id}`
73857
74446
  }, [
73858
74447
  createElementVNode("header", _hoisted_2, [
73859
74448
  createElementVNode("div", _hoisted_3, [
73860
- _cache[1] || (_cache[1] = createElementVNode(
74449
+ createElementVNode(
73861
74450
  "span",
73862
74451
  {
73863
- class: "yc-chat-question-card__badge-icon",
74452
+ class: normalizeClass(["yc-chat-question-card__badge-icon", { "is-answered": __props.interaction.state === "answered" }]),
73864
74453
  "aria-hidden": "true"
73865
74454
  },
73866
74455
  [
73867
- createElementVNode("svg", {
73868
- viewBox: "0 0 18 18",
73869
- fill: "none"
73870
- }, [
73871
- createElementVNode("path", {
73872
- d: "M9 2.25C9.42 5.45 10.75 6.78 13.95 7.2C10.75 7.62 9.42 8.95 9 12.15C8.58 8.95 7.25 7.62 4.05 7.2C7.25 6.78 8.58 5.45 9 2.25Z",
73873
- fill: "currentColor"
73874
- }),
73875
- createElementVNode("circle", {
73876
- cx: "14.2",
73877
- cy: "13.2",
73878
- r: "1.35",
73879
- fill: "currentColor",
73880
- opacity: "0.7"
73881
- })
73882
- ])
74456
+ __props.interaction.state === "answered" ? (openBlock(), createElementBlock("svg", _hoisted_4, [..._cache[2] || (_cache[2] = [
74457
+ createElementVNode(
74458
+ "path",
74459
+ {
74460
+ d: "M4.2 9.4L7.4 12.6L13.8 5.8",
74461
+ stroke: "currentColor",
74462
+ "stroke-width": "2",
74463
+ "stroke-linecap": "round",
74464
+ "stroke-linejoin": "round"
74465
+ },
74466
+ null,
74467
+ -1
74468
+ /* CACHED */
74469
+ )
74470
+ ])])) : (openBlock(), createElementBlock("svg", _hoisted_5, [..._cache[3] || (_cache[3] = [
74471
+ createElementVNode(
74472
+ "path",
74473
+ {
74474
+ d: "M9 2.25C9.42 5.45 10.75 6.78 13.95 7.2C10.75 7.62 9.42 8.95 9 12.15C8.58 8.95 7.25 7.62 4.05 7.2C7.25 6.78 8.58 5.45 9 2.25Z",
74475
+ fill: "currentColor"
74476
+ },
74477
+ null,
74478
+ -1
74479
+ /* CACHED */
74480
+ ),
74481
+ createElementVNode(
74482
+ "circle",
74483
+ {
74484
+ cx: "14.2",
74485
+ cy: "13.2",
74486
+ r: "1.35",
74487
+ fill: "currentColor",
74488
+ opacity: "0.7"
74489
+ },
74490
+ null,
74491
+ -1
74492
+ /* CACHED */
74493
+ )
74494
+ ])]))
73883
74495
  ],
73884
- -1
73885
- /* CACHED */
73886
- )),
74496
+ 2
74497
+ /* CLASS */
74498
+ ),
73887
74499
  createElementVNode(
73888
74500
  "strong",
73889
- _hoisted_4,
74501
+ _hoisted_6,
73890
74502
  toDisplayString(__props.title),
73891
74503
  1
73892
74504
  /* TEXT */
73893
74505
  )
73894
74506
  ]),
73895
- createElementVNode(
73896
- "span",
73897
- {
73898
- class: normalizeClass(["yc-chat-question-card__status question-card__status", `is-${__props.interaction.state}`])
73899
- },
73900
- toDisplayString(statusLabels[__props.interaction.state]),
73901
- 3
73902
- /* TEXT, CLASS */
73903
- )
74507
+ createElementVNode("div", _hoisted_7, [
74508
+ !isPending.value ? (openBlock(), createElementBlock(
74509
+ "button",
74510
+ {
74511
+ key: 0,
74512
+ type: "button",
74513
+ class: "yc-chat-question-card__toggle-btn",
74514
+ "data-testid": "toggle-question-details",
74515
+ onClick: _cache[0] || (_cache[0] = ($event) => showDetails.value = !showDetails.value)
74516
+ },
74517
+ toDisplayString(showDetails.value ? "\u6536\u8D77\u9009\u9879" : "\u67E5\u770B\u9009\u9879"),
74518
+ 1
74519
+ /* TEXT */
74520
+ )) : createCommentVNode("v-if", true),
74521
+ createElementVNode(
74522
+ "span",
74523
+ {
74524
+ class: normalizeClass(["yc-chat-question-card__status question-card__status", `is-${__props.interaction.state}`])
74525
+ },
74526
+ toDisplayString(statusLabels[__props.interaction.state]),
74527
+ 3
74528
+ /* TEXT, CLASS */
74529
+ )
74530
+ ])
73904
74531
  ]),
73905
- createElementVNode("div", _hoisted_5, [
74532
+ !showForm.value ? (openBlock(), createElementBlock("div", _hoisted_8, [
74533
+ (openBlock(true), createElementBlock(
74534
+ Fragment,
74535
+ null,
74536
+ renderList(answerSummaries.value, (item) => {
74537
+ return openBlock(), createElementBlock("div", {
74538
+ key: item.id,
74539
+ class: "yc-chat-question-card__summary-item"
74540
+ }, [
74541
+ createElementVNode(
74542
+ "p",
74543
+ _hoisted_9,
74544
+ toDisplayString(item.title),
74545
+ 1
74546
+ /* TEXT */
74547
+ ),
74548
+ __props.interaction.state === "answered" ? (openBlock(), createElementBlock("div", _hoisted_10, [
74549
+ (openBlock(true), createElementBlock(
74550
+ Fragment,
74551
+ null,
74552
+ renderList(item.labels, (label, idx) => {
74553
+ return openBlock(), createElementBlock(
74554
+ "span",
74555
+ {
74556
+ key: `${item.id}-opt-${idx}`,
74557
+ class: "yc-chat-question-card__answer-chip"
74558
+ },
74559
+ toDisplayString(label),
74560
+ 1
74561
+ /* TEXT */
74562
+ );
74563
+ }),
74564
+ 128
74565
+ /* KEYED_FRAGMENT */
74566
+ )),
74567
+ item.customText ? (openBlock(), createElementBlock(
74568
+ "span",
74569
+ _hoisted_11,
74570
+ toDisplayString(item.customText),
74571
+ 1
74572
+ /* TEXT */
74573
+ )) : createCommentVNode("v-if", true),
74574
+ item.labels.length === 0 && !item.customText ? (openBlock(), createElementBlock("span", _hoisted_12, " \u5DF2\u63D0\u4EA4\u56DE\u7B54 ")) : createCommentVNode("v-if", true)
74575
+ ])) : createCommentVNode("v-if", true)
74576
+ ]);
74577
+ }),
74578
+ 128
74579
+ /* KEYED_FRAGMENT */
74580
+ ))
74581
+ ])) : (openBlock(), createElementBlock("div", _hoisted_13, [
73906
74582
  (openBlock(true), createElementBlock(
73907
74583
  Fragment,
73908
74584
  null,
@@ -73912,7 +74588,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73912
74588
  class: "yc-chat-question-card__question question-card__question",
73913
74589
  disabled: !canAnswer.value
73914
74590
  }, [
73915
- createElementVNode("legend", _hoisted_7, [
74591
+ createElementVNode("legend", _hoisted_15, [
73916
74592
  createElementVNode(
73917
74593
  "span",
73918
74594
  null,
@@ -73920,9 +74596,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73920
74596
  1
73921
74597
  /* TEXT */
73922
74598
  ),
73923
- question.selection_mode === "multiple" ? (openBlock(), createElementBlock("span", _hoisted_8, " \u53EF\u591A\u9009 ")) : createCommentVNode("v-if", true)
74599
+ question.selection_mode === "multiple" ? (openBlock(), createElementBlock("span", _hoisted_16, " \u53EF\u591A\u9009 ")) : createCommentVNode("v-if", true)
73924
74600
  ]),
73925
- createElementVNode("div", _hoisted_9, [
74601
+ createElementVNode("div", _hoisted_17, [
73926
74602
  (openBlock(true), createElementBlock(
73927
74603
  Fragment,
73928
74604
  null,
@@ -73944,7 +74620,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73944
74620
  name: `question-${__props.interaction.request.request_id}-${question.id}`,
73945
74621
  checked: optionChecked(question, option.id),
73946
74622
  onChange: ($event) => selectOption(question, option.id)
73947
- }, null, 40, _hoisted_10),
74623
+ }, null, 40, _hoisted_18),
73948
74624
  createElementVNode(
73949
74625
  "span",
73950
74626
  {
@@ -73955,7 +74631,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73955
74631
  "aria-hidden": "true"
73956
74632
  },
73957
74633
  [
73958
- question.selection_mode === "multiple" && optionChecked(question, option.id) ? (openBlock(), createElementBlock("svg", _hoisted_11, [..._cache[2] || (_cache[2] = [
74634
+ question.selection_mode === "multiple" && optionChecked(question, option.id) ? (openBlock(), createElementBlock("svg", _hoisted_19, [..._cache[4] || (_cache[4] = [
73959
74635
  createElementVNode(
73960
74636
  "path",
73961
74637
  {
@@ -73974,22 +74650,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73974
74650
  2
73975
74651
  /* CLASS */
73976
74652
  ),
73977
- createElementVNode("span", _hoisted_12, [
74653
+ createElementVNode("span", _hoisted_20, [
73978
74654
  createElementVNode(
73979
74655
  "strong",
73980
- _hoisted_13,
74656
+ _hoisted_21,
73981
74657
  toDisplayString(option.label),
73982
74658
  1
73983
74659
  /* TEXT */
73984
74660
  ),
73985
74661
  option.description ? (openBlock(), createElementBlock(
73986
74662
  "small",
73987
- _hoisted_14,
74663
+ _hoisted_22,
73988
74664
  toDisplayString(option.description),
73989
74665
  1
73990
74666
  /* TEXT */
73991
74667
  )) : createCommentVNode("v-if", true),
73992
- option.event ? (openBlock(), createElementBlock("span", _hoisted_15, [
74668
+ option.event ? (openBlock(), createElementBlock("span", _hoisted_23, [
73993
74669
  createElementVNode(
73994
74670
  "span",
73995
74671
  null,
@@ -74004,7 +74680,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
74004
74680
  1
74005
74681
  /* TEXT */
74006
74682
  ),
74007
- _cache[3] || (_cache[3] = createElementVNode(
74683
+ _cache[5] || (_cache[5] = createElementVNode(
74008
74684
  "em",
74009
74685
  null,
74010
74686
  "Admin \u4E0D\u652F\u6301\u6267\u884C\u5BA2\u6237\u7AEF\u4E8B\u4EF6",
@@ -74043,7 +74719,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
74043
74719
  name: `question-${__props.interaction.request.request_id}-${question.id}`,
74044
74720
  checked: otherActive[question.id],
74045
74721
  onChange: ($event) => selectOther(question, $event.target.checked)
74046
- }, null, 40, _hoisted_16),
74722
+ }, null, 40, _hoisted_24),
74047
74723
  createElementVNode(
74048
74724
  "span",
74049
74725
  {
@@ -74054,7 +74730,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
74054
74730
  "aria-hidden": "true"
74055
74731
  },
74056
74732
  [
74057
- question.selection_mode === "multiple" && otherActive[question.id] ? (openBlock(), createElementBlock("svg", _hoisted_17, [..._cache[4] || (_cache[4] = [
74733
+ question.selection_mode === "multiple" && otherActive[question.id] ? (openBlock(), createElementBlock("svg", _hoisted_25, [..._cache[6] || (_cache[6] = [
74058
74734
  createElementVNode(
74059
74735
  "path",
74060
74736
  {
@@ -74073,10 +74749,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
74073
74749
  2
74074
74750
  /* CLASS */
74075
74751
  ),
74076
- createElementVNode("span", _hoisted_18, [
74752
+ createElementVNode("span", _hoisted_26, [
74077
74753
  createElementVNode(
74078
74754
  "strong",
74079
- _hoisted_19,
74755
+ _hoisted_27,
74080
74756
  toDisplayString(question.other.label),
74081
74757
  1
74082
74758
  /* TEXT */
@@ -74086,14 +74762,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
74086
74762
  2
74087
74763
  /* CLASS */
74088
74764
  ),
74089
- otherActive[question.id] ? (openBlock(), createElementBlock("div", _hoisted_20, [
74765
+ otherActive[question.id] ? (openBlock(), createElementBlock("div", _hoisted_28, [
74090
74766
  withDirectives(createElementVNode("textarea", {
74091
74767
  "onUpdate:modelValue": ($event) => otherText[question.id] = $event,
74092
74768
  class: "yc-chat-question-card__textarea",
74093
74769
  "data-testid": `other-text-${question.id}`,
74094
74770
  rows: "2",
74095
74771
  placeholder: "\u8BF7\u8F93\u5165\u4F60\u7684\u8865\u5145\u8BF4\u660E\u6216\u81EA\u5B9A\u4E49\u7B54\u6848\u2026"
74096
- }, null, 8, _hoisted_21), [
74772
+ }, null, 8, _hoisted_29), [
74097
74773
  [vModelText, otherText[question.id]]
74098
74774
  ])
74099
74775
  ])) : createCommentVNode("v-if", true)
@@ -74102,50 +74778,50 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
74102
74778
  /* CLASS */
74103
74779
  )
74104
74780
  ])
74105
- ], 8, _hoisted_6);
74781
+ ], 8, _hoisted_14);
74106
74782
  }),
74107
74783
  128
74108
74784
  /* KEYED_FRAGMENT */
74109
74785
  ))
74110
- ]),
74111
- !requestIsValid.value ? (openBlock(), createElementBlock("p", _hoisted_22, " \u4EA4\u4E92\u8BF7\u6C42\u4E0D\u7B26\u5408\u5BA2\u6237\u7AEF\u4E8B\u4EF6\u7EA6\u675F\uFF0C\u65E0\u6CD5\u63D0\u4EA4\u56DE\u7B54\u3002 ")) : createCommentVNode("v-if", true),
74786
+ ])),
74787
+ !requestIsValid.value ? (openBlock(), createElementBlock("p", _hoisted_30, " \u4EA4\u4E92\u8BF7\u6C42\u4E0D\u7B26\u5408\u5BA2\u6237\u7AEF\u4E8B\u4EF6\u7EA6\u675F\uFF0C\u65E0\u6CD5\u63D0\u4EA4\u56DE\u7B54\u3002 ")) : createCommentVNode("v-if", true),
74112
74788
  !__props.answerEnabled && __props.interaction.state === "pending" ? (openBlock(), createElementBlock(
74113
74789
  "p",
74114
- _hoisted_23,
74790
+ _hoisted_31,
74115
74791
  toDisplayString(__props.unavailableReason || "\u5F53\u524D\u754C\u9762\u6682\u4E0D\u652F\u6301\u63D0\u4EA4\u56DE\u7B54"),
74116
74792
  1
74117
74793
  /* TEXT */
74118
74794
  )) : createCommentVNode("v-if", true),
74119
74795
  ((_a = __props.interaction.receipt) == null ? void 0 : _a.clientEvent) ? (openBlock(), createElementBlock(
74120
74796
  "p",
74121
- _hoisted_24,
74797
+ _hoisted_32,
74122
74798
  " \u5BA2\u6237\u7AEF\u4E8B\u4EF6 " + toDisplayString(__props.interaction.receipt.clientEvent.type) + " \u672A\u5728 Admin \u6267\u884C\u3002 ",
74123
74799
  1
74124
74800
  /* TEXT */
74125
74801
  )) : createCommentVNode("v-if", true),
74126
- __props.interaction.state === "pending" ? (openBlock(), createElementBlock("div", _hoisted_25, [
74802
+ __props.interaction.state === "pending" ? (openBlock(), createElementBlock("div", _hoisted_33, [
74127
74803
  createElementVNode("button", {
74128
74804
  type: "button",
74129
74805
  class: "yc-chat-question-card__btn yc-chat-question-card__btn--cancel question-card__cancel",
74130
74806
  "data-testid": "cancel-interaction",
74131
74807
  disabled: !__props.answerEnabled || __props.submitting,
74132
- onClick: _cache[0] || (_cache[0] = ($event) => emit("cancel"))
74133
- }, " \u53D6\u6D88 ", 8, _hoisted_26),
74808
+ onClick: _cache[1] || (_cache[1] = ($event) => emit("cancel"))
74809
+ }, " \u53D6\u6D88 ", 8, _hoisted_34),
74134
74810
  createElementVNode("button", {
74135
74811
  type: "button",
74136
74812
  class: "yc-chat-question-card__btn yc-chat-question-card__btn--submit",
74137
74813
  "data-testid": "submit-answers",
74138
74814
  disabled: !canAnswer.value || !complete.value || __props.submitting,
74139
74815
  onClick: submit
74140
- }, toDisplayString(__props.submitting ? "\u63D0\u4EA4\u4E2D\u2026" : "\u63D0\u4EA4\u56DE\u7B54"), 9, _hoisted_27)
74816
+ }, toDisplayString(__props.submitting ? "\u63D0\u4EA4\u4E2D\u2026" : "\u63D0\u4EA4\u56DE\u7B54"), 9, _hoisted_35)
74141
74817
  ])) : createCommentVNode("v-if", true)
74142
74818
  ], 10, _hoisted_1);
74143
74819
  };
74144
74820
  }
74145
74821
  });
74146
74822
 
74147
- const version = "1.2.4";
74823
+ const version = "1.2.5";
74148
74824
 
74149
74825
  const install = installer.install;
74150
74826
 
74151
- export { AnimatedPagination, AreaChart, AssetTable, Attachments, BarChart, BillTable, Bubble, BubbleList, COSS_TABLE_INJECTION_KEY, CandlestickChart, CardFrame, ChartCard, ChartContainer, ChartDashboard, Conversations, CossTable, DEFAULT_CDN_CONFIG, DEFAULT_OPERATORS, DEFAULT_YC_CONFIG, DataTableColumnHeader, DataTablePagination, DataTableRowActions, DataTableToolbar, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, DeviceTable, DictStoreInjectionKey, DualLineChart, ECHARTS_LINE_GRADIENTS, FilesCard, GALLERY_CATEGORIES, GALLERY_CATEGORY_ORDER, GALLERY_ITEMS, GRADIENT_PALETTES, GaugeChart, GradientCard, GradientLineChart, HeatmapChart, INPUT_OTP_INJECTION_KEY, INSTALLABLE_COMPONENTS, InputOTP, InputOtp, InputOtpGroup, InputOtpSeparator, InputOtpSlot, Lens, LineChart, LineGradientChart, MetricCard, NO_VALUE_OPERATORS, OPERATOR_CATALOG, OPERATOR_LABELS, OrderTable, Pagination, PieChart, PieSimpleChart, PlusDataTable, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusInputTag, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusTable, PlusVirtualTable, Prompts, PropertyTable, QueryFilterConfigKey, Questionnaire, RadarChart, ReAreaChart, ReAssetTable, YcAuth as ReAuth, ReBanner, ReBarChart, ReBillTable, ReCandlestickChart, _sfc_main$1c as ReCard, ReChartCard, ReChartContainer, ReChartDashboard, ReChoiceCards, YcConfigProvider as ReConfigProvider, ReCossTable, ReDataTable, ReDateRangePicker, ReDeviceTable, ReDrawer, ReDualLineChart, ReEmptyState, ReGaugeChart, ReGradientCard, ReHeatmapChart, ReInput, ReInputOtp, ReInputOtpGroup, ReInputOtpSeparator, ReInputOtpSlot, ReKeyValueList, ReLens, ReLineChart, ReLineGradientChart, _sfc_main$I as ReLineTree, ReMetricCard, ReMoneyInput, ReOrderTable, RePagination, YcPerms as RePerms, RePieChart, RePieSimpleChart, RePlusPage, RePlusTable, RePlusTree, RePropertyTable, ReQueryFilterManager, ReQuestionnaire, ReRadarChart, ReRoseChart, ReScatterChart, ReSegmented, _sfc_main$H as ReSelectV2, YcStatusDialog as ReStatusDialog, ReStepLineChart, ReStepperInput, YcSvgIcon as ReSvgIcon, ReSwitchRow, _sfc_main$x as ReText, ReTextarea, ReTimeline, RoseChart, SHADCN_CHART_COLORS, STATUS_CONFIG_MAP, ScatterChart, SimplePieChart, StepLineChart, Table, TableBody, TableCaption, TableCell, TableColumnsEmptyTextInjectionKey, TableFooter, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, TableHead, TableHeader, TableRow, Thinking, ThoughtChain, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, Welcome, XSender2 as XSender, YC_CONFIG_KEY, YC_MOBILE_DEVICE_PRESETS, YcAreaChart, YcAssetTable, YcAuth, YcAuthWithInstall, YcBanner, YcBarChart, YcBillTable, YcCandlestickChart, _sfc_main$1c as YcCard, YcCardFrame, YcCardWithInstall, YcChartCard, YcChartContainer, YcChartDashboard, _sfc_main$5 as YcChatBubble, _sfc_main$3 as YcChatFileCard, _sfc_main as YcChatQuestionCard, _sfc_main$1 as YcChatSelect, _sfc_main$2 as YcChatSender, _sfc_main$i as YcChatSidebar, _sfc_main$j as YcChatStudio, _sfc_main$4 as YcChatThinking, _sfc_main$6 as YcChatWelcome, YcChoiceCards, YcConfigProvider, YcCossTable, YcDataTable, YcDateRangePicker, YcDeviceTable, YcDrawer, YcDualLineChart, YcEmptyState, YcGaugeChart, YcGradientCard, YcHeatmapChart, YcInput, YcInputOtp, YcInputOtpGroup, YcInputOtpSeparator, YcInputOtpSlot, YcKeyValueList, YcLens, YcLineChart, YcLineGradientChart, _sfc_main$I as YcLineTree, YcLineTreeWithInstall, YcMetricCard, _sfc_main$k as YcMobileDeviceFrame, YcMoneyInput, YcOrderTable, YcPagination, YcPerms, YcPermsWithInstall, YcPieChart, YcPieSimpleChart, YcPlusPage, YcPlusTable, YcPlusTree, YcPropertyTable, YcQueryFilterManager, YcQuestionnaire, YcRadarChart, YcRoseChart, YcScatterChart, YcSegmented, _sfc_main$H as YcSelectV2, YcStatusDialog, YcStepLineChart, YcStepperInput, YcSvgIcon, YcSwitchRow, YcTable, YcTableBody, YcTableCaption, YcTableCell, YcTableFooter, YcTableHead, YcTableHeader, YcTableHeaderFilterCell, YcTableRow, _sfc_main$x as YcText, YcTextWithInstall, YcTextarea, YcTimeline, addDrawer, buildEChartsOption, buildShadcnTooltipFormatter, closeAllDrawer, closeDrawer, installer as default, defineCapability, detectDarkMode, drawerStore, filterGallery, findNodeById, findNodeByPath, findNodePosition, formatChartValue, formatChatFileSize, formatChatSessionTime, getGalleryCategories, getGalleryItems, getGradientPalette, getInstallableComponents, getSeriesColor, groupChatSessionByDate, hexToRgba, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, resolvePaletteStyles, selectValueTypeList, updateDrawer, useColumnAdapter, useDialogFormConfig, useDictInjection, useDrawerFormConfig, useGetOptions, useHeaderFilter, useLocalHeaderFilter, useLocale, usePlusFormReset, usePlusProConfig, useQueryFilterConfig, useTable, useTableDragScroll, useVirtualScroll, useVirtualSelection, useYcAuth, useYcCdn, useYcCdnUrl, useYcComponentConfig, useYcConfig, useYcPerms, useYcShowPageSearch, useYcTranslate, version };
74827
+ export { AnimatedPagination, AreaChart, AssetTable, Attachments, BarChart, BillTable, Bubble, BubbleList, COSS_TABLE_INJECTION_KEY, CandlestickChart, CardFrame, ChartCard, ChartContainer, ChartDashboard, Conversations, CossTable, DEFAULT_CDN_CONFIG, DEFAULT_OPERATORS, DEFAULT_YC_CONFIG, DataTableColumnHeader, DataTablePagination, DataTableRowActions, DataTableToolbar, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, DeviceTable, DictStoreInjectionKey, DualLineChart, ECHARTS_LINE_GRADIENTS, FilesCard, GALLERY_CATEGORIES, GALLERY_CATEGORY_ORDER, GALLERY_ITEMS, GRADIENT_PALETTES, GaugeChart, GradientCard, GradientLineChart, HeatmapChart, INPUT_OTP_INJECTION_KEY, INSTALLABLE_COMPONENTS, InputOTP, InputOtp, InputOtpGroup, InputOtpSeparator, InputOtpSlot, Lens, LineChart, LineGradientChart, MetricCard, NO_VALUE_OPERATORS, OPERATOR_CATALOG, OPERATOR_LABELS, OrderTable, Pagination, PieChart, PieSimpleChart, PlusDataTable, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusInputTag, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusTable, PlusVirtualTable, Prompts, PropertyTable, QueryFilterConfigKey, Questionnaire, RadarChart, ReAreaChart, ReAssetTable, YcAuth as ReAuth, ReBanner, ReBarChart, ReBillTable, ReCandlestickChart, _sfc_main$1f as ReCard, ReChartCard, ReChartContainer, ReChartDashboard, ReChoiceCards, YcConfigProvider as ReConfigProvider, ReCossTable, ReDataTable, ReDateRangePicker, ReDeviceTable, ReDrawer, ReDualLineChart, ReEmptyState, ReGaugeChart, ReGradientCard, ReHeatmapChart, ReInput, ReInputOtp, ReInputOtpGroup, ReInputOtpSeparator, ReInputOtpSlot, ReKeyValueList, ReLens, ReLineChart, ReLineGradientChart, _sfc_main$I as ReLineTree, ReMetricCard, ReMoneyInput, ReOrderTable, RePagination, YcPerms as RePerms, RePieChart, RePieSimpleChart, RePlusPage, RePlusTable, RePlusTree, RePropertyTable, ReQueryFilterManager, ReQuestionnaire, ReRadarChart, ReRoseChart, ReScatterChart, ReSegmented, _sfc_main$H as ReSelectV2, YcStatusDialog as ReStatusDialog, ReStepLineChart, ReStepperInput, YcSvgIcon as ReSvgIcon, ReSwitchRow, _sfc_main$x as ReText, ReTextarea, ReTimeline, RoseChart, SHADCN_CHART_COLORS, STATUS_CONFIG_MAP, ScatterChart, SimplePieChart, StepLineChart, Table, TableBody, TableCaption, TableCell, TableColumnsEmptyTextInjectionKey, TableFooter, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, TableHead, TableHeader, TableRow, Thinking, ThoughtChain, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, Welcome, XSender2 as XSender, YC_CONFIG_KEY, YC_MOBILE_DEVICE_PRESETS, YcAreaChart, YcAssetTable, YcAuth, YcAuthWithInstall, YcBanner, YcBarChart, YcBillTable, YcCandlestickChart, _sfc_main$1f as YcCard, YcCardFrame, YcCardWithInstall, YcChartCard, YcChartContainer, YcChartDashboard, _sfc_main$5 as YcChatBubble, _sfc_main$3 as YcChatFileCard, _sfc_main as YcChatQuestionCard, _sfc_main$1 as YcChatSelect, _sfc_main$2 as YcChatSender, _sfc_main$i as YcChatSidebar, _sfc_main$j as YcChatStudio, _sfc_main$4 as YcChatThinking, _sfc_main$6 as YcChatWelcome, YcChoiceCards, YcConfigProvider, YcCossTable, YcDataTable, YcDateRangePicker, YcDeviceTable, YcDisplayDetailCard, YcDisplayMetricsCard, YcDisplayTableCard, YcDrawer, YcDualLineChart, YcEmptyState, YcGaugeChart, YcGradientCard, YcHeatmapChart, YcInput, YcInputOtp, YcInputOtpGroup, YcInputOtpSeparator, YcInputOtpSlot, YcKeyValueList, YcLens, YcLineChart, YcLineGradientChart, _sfc_main$I as YcLineTree, YcLineTreeWithInstall, YcMetricCard, _sfc_main$k as YcMobileDeviceFrame, YcMoneyInput, YcOrderTable, YcPagination, YcPerms, YcPermsWithInstall, YcPieChart, YcPieSimpleChart, YcPlusPage, YcPlusTable, YcPlusTree, YcPropertyTable, YcQueryFilterManager, YcQuestionnaire, YcRadarChart, YcRoseChart, YcScatterChart, YcSegmented, _sfc_main$H as YcSelectV2, YcStatusDialog, YcStepLineChart, YcStepperInput, YcSvgIcon, YcSwitchRow, YcTable, YcTableBody, YcTableCaption, YcTableCell, YcTableFooter, YcTableHead, YcTableHeader, YcTableHeaderFilterCell, YcTableRow, _sfc_main$x as YcText, YcTextWithInstall, YcTextarea, YcTimeline, addDrawer, buildEChartsOption, buildShadcnTooltipFormatter, closeAllDrawer, closeDrawer, installer as default, defineCapability, detectDarkMode, drawerStore, filterGallery, findNodeById, findNodeByPath, findNodePosition, formatChartValue, formatChatFileSize, formatChatSessionTime, getGalleryCategories, getGalleryItems, getGradientPalette, getInstallableComponents, getSeriesColor, groupChatSessionByDate, hexToRgba, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, resolvePaletteStyles, selectValueTypeList, updateDrawer, useColumnAdapter, useDialogFormConfig, useDictInjection, useDrawerFormConfig, useGetOptions, useHeaderFilter, useLocalHeaderFilter, useLocale, usePlusFormReset, usePlusProConfig, useQueryFilterConfig, useTable, useTableDragScroll, useVirtualScroll, useVirtualSelection, useYcAuth, useYcCdn, useYcCdnUrl, useYcComponentConfig, useYcConfig, useYcPerms, useYcShowPageSearch, useYcTranslate, version };