yc-agent-ui 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/es/components/chart/src/chart-card.vue.d.ts +21 -21
  2. package/es/components/chart/src/chart-container.vue.d.ts +2 -2
  3. package/es/components/chart/src/metric-card.vue.d.ts +1 -1
  4. package/es/components/data-table/src/data-table.vue.d.ts +8 -8
  5. package/es/components/descriptions/index.d.ts +12 -12
  6. package/es/components/descriptions/src/index.vue.d.ts +4 -4
  7. package/es/components/dialog/index.d.ts +12 -12
  8. package/es/components/dialog/src/index.vue.d.ts +4 -4
  9. package/es/components/dialog-form/index.d.ts +10 -10
  10. package/es/components/dialog-form/src/index.vue.d.ts +6 -6
  11. package/es/components/display-item/index.d.ts +15 -15
  12. package/es/components/display-item/src/index.vue.d.ts +13 -13
  13. package/es/components/drawer-form/index.d.ts +25 -25
  14. package/es/components/drawer-form/src/index.vue.d.ts +11 -11
  15. package/es/components/form/index.d.ts +52 -52
  16. package/es/components/form/src/form-content.vue.d.ts +18 -18
  17. package/es/components/form/src/index.vue.d.ts +24 -24
  18. package/es/components/form-item/index.d.ts +67 -67
  19. package/es/components/form-item/src/index.vue.d.ts +26 -26
  20. package/es/components/input-tag/index.d.ts +3 -3
  21. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  22. package/es/components/page/index.d.ts +1209 -1209
  23. package/es/components/page/src/index.vue.d.ts +407 -407
  24. package/es/components/pagination/index.d.ts +3 -3
  25. package/es/components/pagination/src/index.vue.d.ts +1 -1
  26. package/es/components/popover/index.d.ts +9 -9
  27. package/es/components/popover/src/index.vue.d.ts +3 -3
  28. package/es/components/radio/index.d.ts +5 -5
  29. package/es/components/radio/src/index.vue.d.ts +5 -5
  30. package/es/components/render/index.d.ts +1 -1
  31. package/es/components/render/src/index.vue.d.ts +1 -1
  32. package/es/components/search/index.d.ts +348 -348
  33. package/es/components/search/src/index.vue.d.ts +120 -120
  34. package/es/components/table/index.d.ts +9 -9
  35. package/es/components/table/src/index.vue.d.ts +1 -1
  36. package/es/components/table/src/table-action-bar.vue.d.ts +2 -2
  37. package/es/components/table/src/table-column.vue.d.ts +34 -34
  38. package/es/components/utils/index.d.ts +4 -4
  39. package/es/components/virtual-table/index.d.ts +3 -3
  40. package/es/components/virtual-table/src/index.vue.d.ts +1 -1
  41. package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
  42. package/es/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
  43. package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
  44. package/es/components/yc-ai-chat/src/select.vue.d.ts +5 -5
  45. package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
  46. package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
  47. package/es/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
  48. package/es/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
  49. package/es/components/yc-controls/src/segmented.vue.d.ts +1 -1
  50. package/es/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
  51. package/es/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
  52. package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  53. package/es/components/yc-display-cards/index.d.ts +20 -2
  54. package/es/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
  55. package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
  56. package/es/components/yc-display-cards/src/types.d.ts +56 -0
  57. package/es/components/yc-gradient-card/src/index.vue.d.ts +2 -2
  58. package/es/components/yc-input/src/input.vue.d.ts +5 -5
  59. package/es/components/yc-input/src/money-input.vue.d.ts +4 -4
  60. package/es/components/yc-input/src/stepper-input.vue.d.ts +3 -3
  61. package/es/components/yc-input/src/textarea.vue.d.ts +1 -1
  62. package/es/components/yc-input-otp/src/index.vue.d.ts +3 -3
  63. package/es/components/yc-pagination/src/index.vue.d.ts +2 -2
  64. package/es/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
  65. package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  66. package/es/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
  67. package/es/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
  68. package/es/components/yc-property-table/src/device-table.vue.d.ts +2 -2
  69. package/es/components/yc-property-table/src/order-table.vue.d.ts +2 -2
  70. package/es/components/yc-property-table/src/property-table.vue.d.ts +6 -6
  71. package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  72. package/es/components/yc-select-v2/src/index.vue.d.ts +4 -4
  73. package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  74. package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  75. package/es/hooks/usePlusFormReset.d.ts +204 -204
  76. package/es/index.css +14 -13
  77. package/es/index.mjs +1 -1
  78. package/es/packages/components/index.mjs +1 -1
  79. package/es/packages/components/yc-display-cards/capability.mjs +25 -3
  80. package/es/packages/components/yc-display-cards/index.mjs +3 -1
  81. package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
  82. package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +6 -0
  83. package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +907 -0
  84. package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
  85. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
  86. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +78 -22
  87. package/es/version.d.ts +1 -1
  88. package/es/version.mjs +1 -1
  89. package/index.css +4 -3
  90. package/index.js +1527 -541
  91. package/index.min.css +4 -3
  92. package/index.min.js +38 -37
  93. package/index.min.mjs +36 -35
  94. package/index.mjs +1525 -540
  95. package/lib/components/chart/src/chart-card.vue.d.ts +21 -21
  96. package/lib/components/chart/src/chart-container.vue.d.ts +2 -2
  97. package/lib/components/chart/src/metric-card.vue.d.ts +1 -1
  98. package/lib/components/data-table/src/data-table.vue.d.ts +8 -8
  99. package/lib/components/descriptions/index.d.ts +12 -12
  100. package/lib/components/descriptions/src/index.vue.d.ts +4 -4
  101. package/lib/components/dialog/index.d.ts +12 -12
  102. package/lib/components/dialog/src/index.vue.d.ts +4 -4
  103. package/lib/components/dialog-form/index.d.ts +10 -10
  104. package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
  105. package/lib/components/display-item/index.d.ts +15 -15
  106. package/lib/components/display-item/src/index.vue.d.ts +13 -13
  107. package/lib/components/drawer-form/index.d.ts +25 -25
  108. package/lib/components/drawer-form/src/index.vue.d.ts +11 -11
  109. package/lib/components/form/index.d.ts +52 -52
  110. package/lib/components/form/src/form-content.vue.d.ts +18 -18
  111. package/lib/components/form/src/index.vue.d.ts +24 -24
  112. package/lib/components/form-item/index.d.ts +67 -67
  113. package/lib/components/form-item/src/index.vue.d.ts +26 -26
  114. package/lib/components/input-tag/index.d.ts +3 -3
  115. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  116. package/lib/components/page/index.d.ts +1209 -1209
  117. package/lib/components/page/src/index.vue.d.ts +407 -407
  118. package/lib/components/pagination/index.d.ts +3 -3
  119. package/lib/components/pagination/src/index.vue.d.ts +1 -1
  120. package/lib/components/popover/index.d.ts +9 -9
  121. package/lib/components/popover/src/index.vue.d.ts +3 -3
  122. package/lib/components/radio/index.d.ts +5 -5
  123. package/lib/components/radio/src/index.vue.d.ts +5 -5
  124. package/lib/components/render/index.d.ts +1 -1
  125. package/lib/components/render/src/index.vue.d.ts +1 -1
  126. package/lib/components/search/index.d.ts +348 -348
  127. package/lib/components/search/src/index.vue.d.ts +120 -120
  128. package/lib/components/table/index.d.ts +9 -9
  129. package/lib/components/table/src/index.vue.d.ts +1 -1
  130. package/lib/components/table/src/table-action-bar.vue.d.ts +2 -2
  131. package/lib/components/table/src/table-column.vue.d.ts +34 -34
  132. package/lib/components/utils/index.d.ts +4 -4
  133. package/lib/components/virtual-table/index.d.ts +3 -3
  134. package/lib/components/virtual-table/src/index.vue.d.ts +1 -1
  135. package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
  136. package/lib/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
  137. package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
  138. package/lib/components/yc-ai-chat/src/select.vue.d.ts +5 -5
  139. package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
  140. package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
  141. package/lib/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
  142. package/lib/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
  143. package/lib/components/yc-controls/src/segmented.vue.d.ts +1 -1
  144. package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
  145. package/lib/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
  146. package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  147. package/lib/components/yc-display-cards/index.d.ts +20 -2
  148. package/lib/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
  149. package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
  150. package/lib/components/yc-display-cards/src/types.d.ts +56 -0
  151. package/lib/components/yc-gradient-card/src/index.vue.d.ts +2 -2
  152. package/lib/components/yc-input/src/input.vue.d.ts +5 -5
  153. package/lib/components/yc-input/src/money-input.vue.d.ts +4 -4
  154. package/lib/components/yc-input/src/stepper-input.vue.d.ts +3 -3
  155. package/lib/components/yc-input/src/textarea.vue.d.ts +1 -1
  156. package/lib/components/yc-input-otp/src/index.vue.d.ts +3 -3
  157. package/lib/components/yc-pagination/src/index.vue.d.ts +2 -2
  158. package/lib/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
  159. package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  160. package/lib/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
  161. package/lib/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
  162. package/lib/components/yc-property-table/src/device-table.vue.d.ts +2 -2
  163. package/lib/components/yc-property-table/src/order-table.vue.d.ts +2 -2
  164. package/lib/components/yc-property-table/src/property-table.vue.d.ts +6 -6
  165. package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  166. package/lib/components/yc-select-v2/src/index.vue.d.ts +4 -4
  167. package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  168. package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  169. package/lib/hooks/usePlusFormReset.d.ts +204 -204
  170. package/lib/index.css +13 -12
  171. package/lib/index.js +1 -0
  172. package/lib/packages/components/index.js +1 -0
  173. package/lib/packages/components/yc-display-cards/capability.js +24 -2
  174. package/lib/packages/components/yc-display-cards/index.js +3 -0
  175. package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
  176. package/lib/packages/components/yc-display-cards/src/form-card.vue.js +10 -0
  177. package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +911 -0
  178. package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
  179. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
  180. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +77 -21
  181. package/lib/version.d.ts +1 -1
  182. package/lib/version.js +1 -1
  183. package/locale/en.js +1 -1
  184. package/locale/en.min.js +1 -1
  185. package/locale/en.min.mjs +1 -1
  186. package/locale/en.mjs +1 -1
  187. package/locale/ja.js +1 -1
  188. package/locale/ja.min.js +1 -1
  189. package/locale/ja.min.mjs +1 -1
  190. package/locale/ja.mjs +1 -1
  191. package/locale/ko.js +1 -1
  192. package/locale/ko.min.js +1 -1
  193. package/locale/ko.min.mjs +1 -1
  194. package/locale/ko.mjs +1 -1
  195. package/locale/zh-cn.js +1 -1
  196. package/locale/zh-cn.min.js +1 -1
  197. package/locale/zh-cn.min.mjs +1 -1
  198. package/locale/zh-cn.mjs +1 -1
  199. package/locale/zh-tw.js +1 -1
  200. package/locale/zh-tw.min.js +1 -1
  201. package/locale/zh-tw.min.mjs +1 -1
  202. package/locale/zh-tw.mjs +1 -1
  203. package/package.json +1 -1
  204. package/theme-chalk/index.css +4 -3
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! yc-agent-ui v1.2.5 */
1
+ /*! yc-agent-ui v1.2.7 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('echarts'), require('element-plus'), require('@element-plus/icons-vue'), require('element-plus/es')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'echarts', 'element-plus', '@element-plus/icons-vue', 'element-plus/es'], factory) :
@@ -1134,13 +1134,13 @@
1134
1134
  };
1135
1135
  }
1136
1136
 
1137
- const _hoisted_1$1h = {
1137
+ const _hoisted_1$1i = {
1138
1138
  key: 0,
1139
1139
  class: "yc-chart-empty"
1140
1140
  };
1141
- const _hoisted_2$Y = { class: "yc-chart-empty__content" };
1142
- const _hoisted_3$R = { class: "yc-chart-empty__text" };
1143
- var _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
1141
+ const _hoisted_2$Z = { class: "yc-chart-empty__content" };
1142
+ const _hoisted_3$S = { class: "yc-chart-empty__text" };
1143
+ var _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
1144
1144
  ...{
1145
1145
  name: "YcChartContainer"
1146
1146
  },
@@ -1321,9 +1321,9 @@
1321
1321
  /* NEED_PATCH */
1322
1322
  ),
1323
1323
  vue.createCommentVNode(" \u7A7A\u6570\u636E\u7F3A\u7701\u5360\u4F4D "),
1324
- __props.empty ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1h, [
1324
+ __props.empty ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1i, [
1325
1325
  vue.renderSlot(_ctx.$slots, "empty", {}, () => [
1326
- vue.createElementVNode("div", _hoisted_2$Y, [
1326
+ vue.createElementVNode("div", _hoisted_2$Z, [
1327
1327
  _cache[0] || (_cache[0] = vue.createElementVNode(
1328
1328
  "svg",
1329
1329
  {
@@ -1345,7 +1345,7 @@
1345
1345
  )),
1346
1346
  vue.createElementVNode(
1347
1347
  "span",
1348
- _hoisted_3$R,
1348
+ _hoisted_3$S,
1349
1349
  vue.toDisplayString(__props.emptyText),
1350
1350
  1
1351
1351
  /* TEXT */
@@ -1535,23 +1535,23 @@
1535
1535
  };
1536
1536
  }
1537
1537
 
1538
- const _hoisted_1$1g = {
1538
+ const _hoisted_1$1h = {
1539
1539
  key: 0,
1540
1540
  class: "yc-chart-card__header"
1541
1541
  };
1542
- const _hoisted_2$X = { class: "yc-chart-card__header-left" };
1543
- const _hoisted_3$Q = { class: "yc-chart-card__title-row" };
1544
- const _hoisted_4$M = {
1542
+ const _hoisted_2$Y = { class: "yc-chart-card__header-left" };
1543
+ const _hoisted_3$R = { class: "yc-chart-card__title-row" };
1544
+ const _hoisted_4$N = {
1545
1545
  key: 0,
1546
1546
  class: "yc-chart-card__actions"
1547
1547
  };
1548
- const _hoisted_5$E = { class: "yc-chart-card__body" };
1549
- const _hoisted_6$B = {
1548
+ const _hoisted_5$F = { class: "yc-chart-card__body" };
1549
+ const _hoisted_6$C = {
1550
1550
  key: 1,
1551
1551
  class: "yc-chart-card__footer"
1552
1552
  };
1553
- const _hoisted_7$x = { class: "yc-chart-trend__text" };
1554
- const _hoisted_8$s = {
1553
+ const _hoisted_7$y = { class: "yc-chart-trend__text" };
1554
+ const _hoisted_8$t = {
1555
1555
  key: 0,
1556
1556
  class: "yc-chart-trend__icon",
1557
1557
  viewBox: "0 0 24 24",
@@ -1559,11 +1559,11 @@
1559
1559
  stroke: "currentColor",
1560
1560
  "stroke-width": "2"
1561
1561
  };
1562
- const _hoisted_9$q = {
1562
+ const _hoisted_9$r = {
1563
1563
  key: 1,
1564
1564
  class: "yc-chart-card__footer-desc"
1565
1565
  };
1566
- var _sfc_main$1S = /* @__PURE__ */ vue.defineComponent({
1566
+ var _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
1567
1567
  ...{
1568
1568
  name: "YcChartCard"
1569
1569
  },
@@ -1713,12 +1713,12 @@
1713
1713
  },
1714
1714
  [
1715
1715
  vue.createCommentVNode(" \u5361\u7247\u5934\u90E8 Header "),
1716
- _ctx.$slots.header || props.title || props.description || props.badge || _ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1g, [
1716
+ _ctx.$slots.header || props.title || props.description || props.badge || _ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1h, [
1717
1717
  vue.renderSlot(_ctx.$slots, "header", {}, () => {
1718
1718
  var _a2, _b2;
1719
1719
  return [
1720
- vue.createElementVNode("div", _hoisted_2$X, [
1721
- vue.createElementVNode("div", _hoisted_3$Q, [
1720
+ vue.createElementVNode("div", _hoisted_2$Y, [
1721
+ vue.createElementVNode("div", _hoisted_3$R, [
1722
1722
  props.title ? (vue.openBlock(), vue.createElementBlock(
1723
1723
  "span",
1724
1724
  {
@@ -1761,15 +1761,15 @@
1761
1761
  /* TEXT, STYLE */
1762
1762
  )) : vue.createCommentVNode("v-if", true)
1763
1763
  ]),
1764
- _ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$M, [
1764
+ _ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$N, [
1765
1765
  vue.renderSlot(_ctx.$slots, "actions")
1766
1766
  ])) : vue.createCommentVNode("v-if", true)
1767
1767
  ];
1768
1768
  })
1769
1769
  ])) : vue.createCommentVNode("v-if", true),
1770
1770
  vue.createCommentVNode(" \u56FE\u8868\u4E3B\u4F53\u533A\u57DF Body "),
1771
- vue.createElementVNode("div", _hoisted_5$E, [
1772
- vue.createVNode(_sfc_main$1T, {
1771
+ vue.createElementVNode("div", _hoisted_5$F, [
1772
+ vue.createVNode(_sfc_main$1U, {
1773
1773
  ref_key: "containerRef",
1774
1774
  ref: containerRef,
1775
1775
  height: props.height,
@@ -1797,7 +1797,7 @@
1797
1797
  ]), 1032, ["height", "width", "options", "loading", "loading-text", "empty", "empty-text", "theme", "auto-theme", "colors"])
1798
1798
  ]),
1799
1799
  vue.createCommentVNode(" \u5361\u7247\u5E95\u90E8 Footer (\u7ECF\u5178 Shadcn \u8D8B\u52BF\u5206\u6790\u533A\u57DF) "),
1800
- _ctx.$slots.footer || trendInfo.value || props.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$B, [
1800
+ _ctx.$slots.footer || trendInfo.value || props.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$C, [
1801
1801
  vue.renderSlot(_ctx.$slots, "footer", {}, () => [
1802
1802
  vue.createCommentVNode(" \u8D8B\u52BF\u6307\u6807\u6761\u76EE "),
1803
1803
  trendInfo.value ? (vue.openBlock(), vue.createElementBlock(
@@ -1809,13 +1809,13 @@
1809
1809
  [
1810
1810
  vue.createElementVNode(
1811
1811
  "span",
1812
- _hoisted_7$x,
1812
+ _hoisted_7$y,
1813
1813
  vue.toDisplayString(trendInfo.value.label || "\u8D8B\u52BF") + " " + vue.toDisplayString(trendInfo.value.value),
1814
1814
  1
1815
1815
  /* TEXT */
1816
1816
  ),
1817
1817
  vue.createCommentVNode(" \u4E0A\u5347\u8D8B\u52BF\u7BAD\u5934 "),
1818
- trendInfo.value.direction === "up" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_8$s, [..._cache[0] || (_cache[0] = [
1818
+ trendInfo.value.direction === "up" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_8$t, [..._cache[0] || (_cache[0] = [
1819
1819
  vue.createElementVNode(
1820
1820
  "path",
1821
1821
  {
@@ -1862,7 +1862,7 @@
1862
1862
  vue.createCommentVNode(" \u603B\u7ED3\u8BF4\u660E\u6587\u6848 "),
1863
1863
  props.footer ? (vue.openBlock(), vue.createElementBlock(
1864
1864
  "div",
1865
- _hoisted_9$q,
1865
+ _hoisted_9$r,
1866
1866
  vue.toDisplayString(props.footer),
1867
1867
  1
1868
1868
  /* TEXT */
@@ -1877,19 +1877,19 @@
1877
1877
  }
1878
1878
  });
1879
1879
 
1880
- const _hoisted_1$1f = { class: "yc-metric-card__header" };
1881
- const _hoisted_2$W = { class: "yc-metric-card__extra" };
1882
- const _hoisted_3$P = {
1880
+ const _hoisted_1$1g = { class: "yc-metric-card__header" };
1881
+ const _hoisted_2$X = { class: "yc-metric-card__extra" };
1882
+ const _hoisted_3$Q = {
1883
1883
  key: 1,
1884
1884
  class: "yc-metric-card__icon"
1885
1885
  };
1886
- const _hoisted_4$L = { class: "yc-metric-card__content" };
1887
- const _hoisted_5$D = { class: "yc-metric-card__value-wrap" };
1888
- const _hoisted_6$A = {
1886
+ const _hoisted_4$M = { class: "yc-metric-card__content" };
1887
+ const _hoisted_5$E = { class: "yc-metric-card__value-wrap" };
1888
+ const _hoisted_6$B = {
1889
1889
  key: 0,
1890
1890
  class: "yc-metric-card__meta"
1891
1891
  };
1892
- const _hoisted_7$w = {
1892
+ const _hoisted_7$x = {
1893
1893
  key: 0,
1894
1894
  class: "yc-metric-card__trend-icon",
1895
1895
  viewBox: "0 0 24 24",
@@ -1897,19 +1897,19 @@
1897
1897
  stroke: "currentColor",
1898
1898
  "stroke-width": "2.5"
1899
1899
  };
1900
- const _hoisted_8$r = {
1900
+ const _hoisted_8$s = {
1901
1901
  key: 1,
1902
1902
  class: "yc-metric-card__trend-label"
1903
1903
  };
1904
- const _hoisted_9$p = {
1904
+ const _hoisted_9$q = {
1905
1905
  key: 2,
1906
1906
  class: "yc-metric-card__desc"
1907
1907
  };
1908
- const _hoisted_10$m = {
1908
+ const _hoisted_10$n = {
1909
1909
  key: 0,
1910
1910
  class: "yc-metric-card__chart"
1911
1911
  };
1912
- var _sfc_main$1R = /* @__PURE__ */ vue.defineComponent({
1912
+ var _sfc_main$1S = /* @__PURE__ */ vue.defineComponent({
1913
1913
  ...{
1914
1914
  name: "YcMetricCard"
1915
1915
  },
@@ -2059,7 +2059,7 @@
2059
2059
  },
2060
2060
  [
2061
2061
  vue.createCommentVNode(" \u5934\u90E8\uFF1A\u6807\u9898\u4E0E\u53F3\u4FA7\u56FE\u6807/\u5FBD\u7AE0 "),
2062
- vue.createElementVNode("div", _hoisted_1$1f, [
2062
+ vue.createElementVNode("div", _hoisted_1$1g, [
2063
2063
  vue.createElementVNode(
2064
2064
  "div",
2065
2065
  {
@@ -2070,7 +2070,7 @@
2070
2070
  5
2071
2071
  /* TEXT, STYLE */
2072
2072
  ),
2073
- vue.createElementVNode("div", _hoisted_2$W, [
2073
+ vue.createElementVNode("div", _hoisted_2$X, [
2074
2074
  props.badge ? (vue.openBlock(), vue.createBlock(_component_el_tag, {
2075
2075
  key: 0,
2076
2076
  type: props.badgeType || "info",
@@ -2088,7 +2088,7 @@
2088
2088
  ]),
2089
2089
  _: 1
2090
2090
  /* STABLE */
2091
- }, 8, ["type"])) : _ctx.$slots.icon || props.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$P, [
2091
+ }, 8, ["type"])) : _ctx.$slots.icon || props.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$Q, [
2092
2092
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
2093
2093
  typeof props.icon === "object" ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(props.icon), { key: 0 })) : vue.createCommentVNode("v-if", true)
2094
2094
  ])
@@ -2096,8 +2096,8 @@
2096
2096
  ])
2097
2097
  ]),
2098
2098
  vue.createCommentVNode(" \u6838\u5FC3\u6570\u503C\u533A\u57DF "),
2099
- vue.createElementVNode("div", _hoisted_4$L, [
2100
- vue.createElementVNode("div", _hoisted_5$D, [
2099
+ vue.createElementVNode("div", _hoisted_4$M, [
2100
+ vue.createElementVNode("div", _hoisted_5$E, [
2101
2101
  props.prefix ? (vue.openBlock(), vue.createElementBlock(
2102
2102
  "span",
2103
2103
  {
@@ -2132,7 +2132,7 @@
2132
2132
  )) : vue.createCommentVNode("v-if", true)
2133
2133
  ]),
2134
2134
  vue.createCommentVNode(" \u63CF\u8FF0\u4E0E\u8D8B\u52BF\u6307\u6807 "),
2135
- props.description || trendInfo.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$A, [
2135
+ props.description || trendInfo.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$B, [
2136
2136
  trendInfo.value ? (vue.openBlock(), vue.createElementBlock(
2137
2137
  "span",
2138
2138
  {
@@ -2141,7 +2141,7 @@
2141
2141
  },
2142
2142
  [
2143
2143
  vue.createCommentVNode(" \u4E0A\u5347 "),
2144
- trendInfo.value.direction === "up" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_7$w, [..._cache[0] || (_cache[0] = [
2144
+ trendInfo.value.direction === "up" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_7$x, [..._cache[0] || (_cache[0] = [
2145
2145
  vue.createElementVNode(
2146
2146
  "path",
2147
2147
  {
@@ -2192,13 +2192,13 @@
2192
2192
  )) : vue.createCommentVNode("v-if", true),
2193
2193
  ((_g = trendInfo.value) == null ? void 0 : _g.label) ? (vue.openBlock(), vue.createElementBlock(
2194
2194
  "span",
2195
- _hoisted_8$r,
2195
+ _hoisted_8$s,
2196
2196
  vue.toDisplayString(trendInfo.value.label),
2197
2197
  1
2198
2198
  /* TEXT */
2199
2199
  )) : props.description ? (vue.openBlock(), vue.createElementBlock(
2200
2200
  "span",
2201
- _hoisted_9$p,
2201
+ _hoisted_9$q,
2202
2202
  vue.toDisplayString(props.description),
2203
2203
  1
2204
2204
  /* TEXT */
@@ -2206,8 +2206,8 @@
2206
2206
  ])) : vue.createCommentVNode("v-if", true)
2207
2207
  ]),
2208
2208
  vue.createCommentVNode(" \u5E95\u90E8\u8FF7\u4F60\u706B\u82B1\u8D8B\u52BF\u56FE "),
2209
- sparklineOptions.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$m, [
2210
- vue.createVNode(_sfc_main$1T, {
2209
+ sparklineOptions.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$n, [
2210
+ vue.createVNode(_sfc_main$1U, {
2211
2211
  options: sparklineOptions.value,
2212
2212
  height: "44px",
2213
2213
  width: "100%",
@@ -2222,7 +2222,7 @@
2222
2222
  }
2223
2223
  });
2224
2224
 
2225
- var _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
2225
+ var _sfc_main$1R = /* @__PURE__ */ vue.defineComponent({
2226
2226
  ...{
2227
2227
  name: "YcChartDashboard"
2228
2228
  },
@@ -2265,7 +2265,7 @@
2265
2265
  }, [
2266
2266
  vue.createCommentVNode(" \u6307\u6807\u5361\u7247 "),
2267
2267
  card.cardKind === "metric" ? (vue.openBlock(), vue.createBlock(
2268
- _sfc_main$1R,
2268
+ _sfc_main$1S,
2269
2269
  vue.mergeProps({
2270
2270
  key: 0,
2271
2271
  ref_for: true
@@ -2279,7 +2279,7 @@
2279
2279
  [
2280
2280
  vue.createCommentVNode(" \u6570\u636E\u56FE\u8868\u5361\u7247 "),
2281
2281
  vue.createVNode(
2282
- _sfc_main$1S,
2282
+ _sfc_main$1T,
2283
2283
  vue.mergeProps({ ref_for: true }, card),
2284
2284
  null,
2285
2285
  16
@@ -2303,7 +2303,7 @@
2303
2303
  }
2304
2304
  });
2305
2305
 
2306
- var _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
2306
+ var _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
2307
2307
  ...{
2308
2308
  name: "YcAreaChart"
2309
2309
  },
@@ -2356,7 +2356,7 @@
2356
2356
  const props = __props;
2357
2357
  return (_ctx, _cache) => {
2358
2358
  return vue.openBlock(), vue.createBlock(
2359
- _sfc_main$1S,
2359
+ _sfc_main$1T,
2360
2360
  vue.mergeProps(props, { type: "area" }),
2361
2361
  vue.createSlots({
2362
2362
  _: 2
@@ -2398,7 +2398,7 @@
2398
2398
  }
2399
2399
  });
2400
2400
 
2401
- var _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
2401
+ var _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
2402
2402
  ...{
2403
2403
  name: "YcBarChart"
2404
2404
  },
@@ -2451,7 +2451,7 @@
2451
2451
  const props = __props;
2452
2452
  return (_ctx, _cache) => {
2453
2453
  return vue.openBlock(), vue.createBlock(
2454
- _sfc_main$1S,
2454
+ _sfc_main$1T,
2455
2455
  vue.mergeProps(props, { type: "bar" }),
2456
2456
  vue.createSlots({
2457
2457
  _: 2
@@ -2493,7 +2493,7 @@
2493
2493
  }
2494
2494
  });
2495
2495
 
2496
- var _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
2496
+ var _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
2497
2497
  ...{
2498
2498
  name: "YcLineChart"
2499
2499
  },
@@ -2546,7 +2546,7 @@
2546
2546
  const props = __props;
2547
2547
  return (_ctx, _cache) => {
2548
2548
  return vue.openBlock(), vue.createBlock(
2549
- _sfc_main$1S,
2549
+ _sfc_main$1T,
2550
2550
  vue.mergeProps(props, { type: "line" }),
2551
2551
  vue.createSlots({
2552
2552
  _: 2
@@ -2588,7 +2588,7 @@
2588
2588
  }
2589
2589
  });
2590
2590
 
2591
- var _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
2591
+ var _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
2592
2592
  ...{
2593
2593
  name: "YcPieChart"
2594
2594
  },
@@ -2640,7 +2640,7 @@
2640
2640
  setup(__props) {
2641
2641
  const props = __props;
2642
2642
  return (_ctx, _cache) => {
2643
- return vue.openBlock(), vue.createBlock(_sfc_main$1S, vue.mergeProps(props, {
2643
+ return vue.openBlock(), vue.createBlock(_sfc_main$1T, vue.mergeProps(props, {
2644
2644
  type: props.innerRadius ? "donut" : "pie"
2645
2645
  }), vue.createSlots({
2646
2646
  _: 2
@@ -2679,7 +2679,7 @@
2679
2679
  }
2680
2680
  });
2681
2681
 
2682
- var _sfc_main$1L = /* @__PURE__ */ vue.defineComponent({
2682
+ var _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
2683
2683
  ...{
2684
2684
  name: "YcRadarChart"
2685
2685
  },
@@ -2732,7 +2732,7 @@
2732
2732
  const props = __props;
2733
2733
  return (_ctx, _cache) => {
2734
2734
  return vue.openBlock(), vue.createBlock(
2735
- _sfc_main$1S,
2735
+ _sfc_main$1T,
2736
2736
  vue.mergeProps(props, { type: "radar" }),
2737
2737
  vue.createSlots({
2738
2738
  _: 2
@@ -2774,7 +2774,7 @@
2774
2774
  }
2775
2775
  });
2776
2776
 
2777
- var _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
2777
+ var _sfc_main$1L = /* @__PURE__ */ vue.defineComponent({
2778
2778
  ...{
2779
2779
  name: "YcGaugeChart"
2780
2780
  },
@@ -2827,7 +2827,7 @@
2827
2827
  const props = __props;
2828
2828
  return (_ctx, _cache) => {
2829
2829
  return vue.openBlock(), vue.createBlock(
2830
- _sfc_main$1S,
2830
+ _sfc_main$1T,
2831
2831
  vue.mergeProps(props, { type: "gauge" }),
2832
2832
  vue.createSlots({
2833
2833
  _: 2
@@ -2869,7 +2869,7 @@
2869
2869
  }
2870
2870
  });
2871
2871
 
2872
- var _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
2872
+ var _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
2873
2873
  ...{
2874
2874
  name: "YcScatterChart"
2875
2875
  },
@@ -2922,7 +2922,7 @@
2922
2922
  const props = __props;
2923
2923
  return (_ctx, _cache) => {
2924
2924
  return vue.openBlock(), vue.createBlock(
2925
- _sfc_main$1S,
2925
+ _sfc_main$1T,
2926
2926
  vue.mergeProps(props, { type: "scatter" }),
2927
2927
  vue.createSlots({
2928
2928
  _: 2
@@ -2964,7 +2964,7 @@
2964
2964
  }
2965
2965
  });
2966
2966
 
2967
- var _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
2967
+ var _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
2968
2968
  ...{
2969
2969
  name: "YcHeatmapChart"
2970
2970
  },
@@ -3017,7 +3017,7 @@
3017
3017
  const props = __props;
3018
3018
  return (_ctx, _cache) => {
3019
3019
  return vue.openBlock(), vue.createBlock(
3020
- _sfc_main$1S,
3020
+ _sfc_main$1T,
3021
3021
  vue.mergeProps(props, { type: "heatmap" }),
3022
3022
  vue.createSlots({
3023
3023
  _: 2
@@ -3059,7 +3059,7 @@
3059
3059
  }
3060
3060
  });
3061
3061
 
3062
- var _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
3062
+ var _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
3063
3063
  ...{
3064
3064
  name: "YcCandlestickChart"
3065
3065
  },
@@ -3112,7 +3112,7 @@
3112
3112
  const props = __props;
3113
3113
  return (_ctx, _cache) => {
3114
3114
  return vue.openBlock(), vue.createBlock(
3115
- _sfc_main$1S,
3115
+ _sfc_main$1T,
3116
3116
  vue.mergeProps(props, { type: "candlestick" }),
3117
3117
  vue.createSlots({
3118
3118
  _: 2
@@ -3154,7 +3154,7 @@
3154
3154
  }
3155
3155
  });
3156
3156
 
3157
- var _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
3157
+ var _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
3158
3158
  ...{
3159
3159
  name: "YcRoseChart"
3160
3160
  },
@@ -3207,7 +3207,7 @@
3207
3207
  const props = __props;
3208
3208
  return (_ctx, _cache) => {
3209
3209
  return vue.openBlock(), vue.createBlock(
3210
- _sfc_main$1S,
3210
+ _sfc_main$1T,
3211
3211
  vue.mergeProps(props, { type: "rose" }),
3212
3212
  vue.createSlots({
3213
3213
  _: 2
@@ -3249,7 +3249,7 @@
3249
3249
  }
3250
3250
  });
3251
3251
 
3252
- var _sfc_main$1F = /* @__PURE__ */ vue.defineComponent({
3252
+ var _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
3253
3253
  ...{
3254
3254
  name: "YcPieSimpleChart"
3255
3255
  },
@@ -3302,7 +3302,7 @@
3302
3302
  const props = __props;
3303
3303
  return (_ctx, _cache) => {
3304
3304
  return vue.openBlock(), vue.createBlock(
3305
- _sfc_main$1S,
3305
+ _sfc_main$1T,
3306
3306
  vue.mergeProps(props, { type: "pie-simple" }),
3307
3307
  vue.createSlots({
3308
3308
  _: 2
@@ -3344,7 +3344,7 @@
3344
3344
  }
3345
3345
  });
3346
3346
 
3347
- var _sfc_main$1E = /* @__PURE__ */ vue.defineComponent({
3347
+ var _sfc_main$1F = /* @__PURE__ */ vue.defineComponent({
3348
3348
  ...{
3349
3349
  name: "YcStepLineChart"
3350
3350
  },
@@ -3397,7 +3397,7 @@
3397
3397
  const props = __props;
3398
3398
  return (_ctx, _cache) => {
3399
3399
  return vue.openBlock(), vue.createBlock(
3400
- _sfc_main$1S,
3400
+ _sfc_main$1T,
3401
3401
  vue.mergeProps(props, { type: "step-line" }),
3402
3402
  vue.createSlots({
3403
3403
  _: 2
@@ -3439,7 +3439,7 @@
3439
3439
  }
3440
3440
  });
3441
3441
 
3442
- var _sfc_main$1D = /* @__PURE__ */ vue.defineComponent({
3442
+ var _sfc_main$1E = /* @__PURE__ */ vue.defineComponent({
3443
3443
  ...{
3444
3444
  name: "YcDualLineChart"
3445
3445
  },
@@ -3492,7 +3492,7 @@
3492
3492
  const props = __props;
3493
3493
  return (_ctx, _cache) => {
3494
3494
  return vue.openBlock(), vue.createBlock(
3495
- _sfc_main$1S,
3495
+ _sfc_main$1T,
3496
3496
  vue.mergeProps(props, { type: "line" }),
3497
3497
  vue.createSlots({
3498
3498
  _: 2
@@ -3534,7 +3534,7 @@
3534
3534
  }
3535
3535
  });
3536
3536
 
3537
- var _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
3537
+ var _sfc_main$1D = /* @__PURE__ */ vue.defineComponent({
3538
3538
  ...{
3539
3539
  name: "YcLineGradientChart"
3540
3540
  },
@@ -3587,7 +3587,7 @@
3587
3587
  const props = __props;
3588
3588
  return (_ctx, _cache) => {
3589
3589
  return vue.openBlock(), vue.createBlock(
3590
- _sfc_main$1S,
3590
+ _sfc_main$1T,
3591
3591
  vue.mergeProps(props, { type: "line-gradient" }),
3592
3592
  vue.createSlots({
3593
3593
  _: 2
@@ -3629,24 +3629,24 @@
3629
3629
  }
3630
3630
  });
3631
3631
 
3632
- const YcChartContainer = withInstall(_sfc_main$1T);
3633
- const YcChartCard = withInstall(_sfc_main$1S);
3634
- const YcMetricCard = withInstall(_sfc_main$1R);
3635
- const YcChartDashboard = withInstall(_sfc_main$1Q);
3636
- const YcAreaChart = withInstall(_sfc_main$1P);
3637
- const YcBarChart = withInstall(_sfc_main$1O);
3638
- const YcLineChart = withInstall(_sfc_main$1N);
3639
- const YcStepLineChart = withInstall(_sfc_main$1E);
3640
- const YcDualLineChart = withInstall(_sfc_main$1D);
3641
- const YcLineGradientChart = withInstall(_sfc_main$1C);
3642
- const YcPieChart = withInstall(_sfc_main$1M);
3643
- const YcPieSimpleChart = withInstall(_sfc_main$1F);
3644
- const YcRadarChart = withInstall(_sfc_main$1L);
3645
- const YcGaugeChart = withInstall(_sfc_main$1K);
3646
- const YcScatterChart = withInstall(_sfc_main$1J);
3647
- const YcHeatmapChart = withInstall(_sfc_main$1I);
3648
- const YcCandlestickChart = withInstall(_sfc_main$1H);
3649
- const YcRoseChart = withInstall(_sfc_main$1G);
3632
+ const YcChartContainer = withInstall(_sfc_main$1U);
3633
+ const YcChartCard = withInstall(_sfc_main$1T);
3634
+ const YcMetricCard = withInstall(_sfc_main$1S);
3635
+ const YcChartDashboard = withInstall(_sfc_main$1R);
3636
+ const YcAreaChart = withInstall(_sfc_main$1Q);
3637
+ const YcBarChart = withInstall(_sfc_main$1P);
3638
+ const YcLineChart = withInstall(_sfc_main$1O);
3639
+ const YcStepLineChart = withInstall(_sfc_main$1F);
3640
+ const YcDualLineChart = withInstall(_sfc_main$1E);
3641
+ const YcLineGradientChart = withInstall(_sfc_main$1D);
3642
+ const YcPieChart = withInstall(_sfc_main$1N);
3643
+ const YcPieSimpleChart = withInstall(_sfc_main$1G);
3644
+ const YcRadarChart = withInstall(_sfc_main$1M);
3645
+ const YcGaugeChart = withInstall(_sfc_main$1L);
3646
+ const YcScatterChart = withInstall(_sfc_main$1K);
3647
+ const YcHeatmapChart = withInstall(_sfc_main$1J);
3648
+ const YcCandlestickChart = withInstall(_sfc_main$1I);
3649
+ const YcRoseChart = withInstall(_sfc_main$1H);
3650
3650
  const ReChartContainer = YcChartContainer;
3651
3651
  const ReChartCard = YcChartCard;
3652
3652
  const ReMetricCard = YcMetricCard;
@@ -4195,49 +4195,49 @@
4195
4195
  ]
4196
4196
  };
4197
4197
 
4198
- const _hoisted_1$1e = { class: "yc-data-table-toolbar" };
4199
- const _hoisted_2$V = { class: "yc-data-table-toolbar__left" };
4200
- const _hoisted_3$O = {
4198
+ const _hoisted_1$1f = { class: "yc-data-table-toolbar" };
4199
+ const _hoisted_2$W = { class: "yc-data-table-toolbar__left" };
4200
+ const _hoisted_3$P = {
4201
4201
  key: 0,
4202
4202
  class: "yc-data-table-search"
4203
4203
  };
4204
- const _hoisted_4$K = ["placeholder"];
4205
- const _hoisted_5$C = {
4204
+ const _hoisted_4$L = ["placeholder"];
4205
+ const _hoisted_5$D = {
4206
4206
  key: 0,
4207
4207
  class: "yc-data-table-filter__badge"
4208
4208
  };
4209
- const _hoisted_6$z = { class: "yc-data-table-filter__menu" };
4210
- const _hoisted_7$v = { class: "yc-data-table-filter__header" };
4211
- const _hoisted_8$q = { class: "yc-data-table-filter__options" };
4212
- const _hoisted_9$o = ["onClick"];
4213
- const _hoisted_10$l = { class: "yc-data-table-filter__checkbox" };
4214
- const _hoisted_11$l = {
4209
+ const _hoisted_6$A = { class: "yc-data-table-filter__menu" };
4210
+ const _hoisted_7$w = { class: "yc-data-table-filter__header" };
4211
+ const _hoisted_8$r = { class: "yc-data-table-filter__options" };
4212
+ const _hoisted_9$p = ["onClick"];
4213
+ const _hoisted_10$m = { class: "yc-data-table-filter__checkbox" };
4214
+ const _hoisted_11$m = {
4215
4215
  key: 0,
4216
4216
  viewBox: "0 0 24 24",
4217
4217
  fill: "none",
4218
4218
  stroke: "currentColor",
4219
4219
  "stroke-width": "3"
4220
4220
  };
4221
- const _hoisted_12$j = { class: "yc-data-table-filter__label" };
4222
- const _hoisted_13$h = {
4221
+ const _hoisted_12$k = { class: "yc-data-table-filter__label" };
4222
+ const _hoisted_13$i = {
4223
4223
  key: 0,
4224
4224
  class: "yc-data-table-filter__count"
4225
4225
  };
4226
- const _hoisted_14$d = ["onClick"];
4227
- const _hoisted_15$c = { class: "yc-data-table-toolbar__right" };
4228
- const _hoisted_16$c = { class: "yc-data-table-column-menu" };
4229
- const _hoisted_17$b = { class: "yc-data-table-column-menu__list" };
4230
- const _hoisted_18$b = ["onClick"];
4231
- const _hoisted_19$a = { class: "yc-data-table-column-menu__checkbox" };
4232
- const _hoisted_20$a = {
4226
+ const _hoisted_14$f = ["onClick"];
4227
+ const _hoisted_15$e = { class: "yc-data-table-toolbar__right" };
4228
+ const _hoisted_16$e = { class: "yc-data-table-column-menu" };
4229
+ const _hoisted_17$d = { class: "yc-data-table-column-menu__list" };
4230
+ const _hoisted_18$c = ["onClick"];
4231
+ const _hoisted_19$b = { class: "yc-data-table-column-menu__checkbox" };
4232
+ const _hoisted_20$b = {
4233
4233
  key: 0,
4234
4234
  viewBox: "0 0 24 24",
4235
4235
  fill: "none",
4236
4236
  stroke: "currentColor",
4237
4237
  "stroke-width": "3"
4238
4238
  };
4239
- const _hoisted_21$9 = { class: "yc-data-table-column-menu__label" };
4240
- var _sfc_main$1B = /* @__PURE__ */ vue.defineComponent({
4239
+ const _hoisted_21$a = { class: "yc-data-table-column-menu__label" };
4240
+ var _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
4241
4241
  ...{
4242
4242
  name: "DataTableToolbar"
4243
4243
  },
@@ -4295,11 +4295,11 @@
4295
4295
  };
4296
4296
  return (_ctx, _cache) => {
4297
4297
  const _component_el_popover = vue.resolveComponent("el-popover");
4298
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1e, [
4298
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1f, [
4299
4299
  vue.createCommentVNode(" \u5DE6\u4FA7\u641C\u7D22\u4E0E\u7B5B\u9009 "),
4300
- vue.createElementVNode("div", _hoisted_2$V, [
4300
+ vue.createElementVNode("div", _hoisted_2$W, [
4301
4301
  vue.createCommentVNode(" \u641C\u7D22\u6846 "),
4302
- props.searchable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$O, [
4302
+ props.searchable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$P, [
4303
4303
  _cache[3] || (_cache[3] = vue.createElementVNode(
4304
4304
  "svg",
4305
4305
  {
@@ -4325,7 +4325,7 @@
4325
4325
  type: "text",
4326
4326
  class: "yc-data-table-search__input",
4327
4327
  placeholder: props.searchPlaceholder
4328
- }, null, 8, _hoisted_4$K), [
4328
+ }, null, 8, _hoisted_4$L), [
4329
4329
  [vue.vModelText, searchValue.value]
4330
4330
  ]),
4331
4331
  searchValue.value ? (vue.openBlock(), vue.createElementBlock("button", {
@@ -4409,7 +4409,7 @@
4409
4409
  vue.createCommentVNode(" \u5DF2\u9009\u6570\u91CF\u6807\u8BB0 "),
4410
4410
  ((_b = props.activeFilters[filter.prop]) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock(
4411
4411
  "span",
4412
- _hoisted_5$C,
4412
+ _hoisted_5$D,
4413
4413
  vue.toDisplayString(props.activeFilters[filter.prop].length),
4414
4414
  1
4415
4415
  /* TEXT */
@@ -4423,15 +4423,15 @@
4423
4423
  default: vue.withCtx(() => {
4424
4424
  var _a;
4425
4425
  return [
4426
- vue.createElementVNode("div", _hoisted_6$z, [
4426
+ vue.createElementVNode("div", _hoisted_6$A, [
4427
4427
  vue.createElementVNode(
4428
4428
  "div",
4429
- _hoisted_7$v,
4429
+ _hoisted_7$w,
4430
4430
  vue.toDisplayString(filter.title) + " \u7B5B\u9009",
4431
4431
  1
4432
4432
  /* TEXT */
4433
4433
  ),
4434
- vue.createElementVNode("div", _hoisted_8$q, [
4434
+ vue.createElementVNode("div", _hoisted_8$r, [
4435
4435
  (vue.openBlock(true), vue.createElementBlock(
4436
4436
  vue.Fragment,
4437
4437
  null,
@@ -4441,8 +4441,8 @@
4441
4441
  class: vue.normalizeClass(["yc-data-table-filter__item", { "is-checked": isFilterSelected(filter.prop, opt.value) }]),
4442
4442
  onClick: ($event) => toggleFilterOption(filter.prop, opt.value)
4443
4443
  }, [
4444
- vue.createElementVNode("div", _hoisted_10$l, [
4445
- isFilterSelected(filter.prop, opt.value) ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_11$l, [..._cache[5] || (_cache[5] = [
4444
+ vue.createElementVNode("div", _hoisted_10$m, [
4445
+ isFilterSelected(filter.prop, opt.value) ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_11$m, [..._cache[5] || (_cache[5] = [
4446
4446
  vue.createElementVNode(
4447
4447
  "polyline",
4448
4448
  { points: "20 6 9 17 4 12" },
@@ -4454,19 +4454,19 @@
4454
4454
  ]),
4455
4455
  vue.createElementVNode(
4456
4456
  "span",
4457
- _hoisted_12$j,
4457
+ _hoisted_12$k,
4458
4458
  vue.toDisplayString(opt.label),
4459
4459
  1
4460
4460
  /* TEXT */
4461
4461
  ),
4462
4462
  opt.count !== void 0 ? (vue.openBlock(), vue.createElementBlock(
4463
4463
  "span",
4464
- _hoisted_13$h,
4464
+ _hoisted_13$i,
4465
4465
  vue.toDisplayString(opt.count),
4466
4466
  1
4467
4467
  /* TEXT */
4468
4468
  )) : vue.createCommentVNode("v-if", true)
4469
- ], 10, _hoisted_9$o);
4469
+ ], 10, _hoisted_9$p);
4470
4470
  }),
4471
4471
  128
4472
4472
  /* KEYED_FRAGMENT */
@@ -4476,7 +4476,7 @@
4476
4476
  key: 0,
4477
4477
  class: "yc-data-table-filter__footer",
4478
4478
  onClick: ($event) => clearFilterProp(filter.prop)
4479
- }, " \u6E05\u9664\u7B5B\u9009 ", 8, _hoisted_14$d)) : vue.createCommentVNode("v-if", true)
4479
+ }, " \u6E05\u9664\u7B5B\u9009 ", 8, _hoisted_14$f)) : vue.createCommentVNode("v-if", true)
4480
4480
  ])
4481
4481
  ];
4482
4482
  }),
@@ -4522,7 +4522,7 @@
4522
4522
  ])])) : vue.createCommentVNode("v-if", true)
4523
4523
  ]),
4524
4524
  vue.createCommentVNode(" \u53F3\u4FA7\u64CD\u4F5C\u4E0E\u5217\u663E\u9690\u63A7\u5236 "),
4525
- vue.createElementVNode("div", _hoisted_15$c, [
4525
+ vue.createElementVNode("div", _hoisted_15$e, [
4526
4526
  vue.createCommentVNode(" \u5916\u90E8\u81EA\u5B9A\u4E49\u64CD\u4F5C\u680F\u63D2\u69FD "),
4527
4527
  vue.renderSlot(_ctx.$slots, "actions"),
4528
4528
  vue.createCommentVNode(" \u5217\u663E\u9690\u63A7\u5236 (View) "),
@@ -4557,7 +4557,7 @@
4557
4557
  )
4558
4558
  ])]),
4559
4559
  default: vue.withCtx(() => [
4560
- vue.createElementVNode("div", _hoisted_16$c, [
4560
+ vue.createElementVNode("div", _hoisted_16$e, [
4561
4561
  _cache[9] || (_cache[9] = vue.createElementVNode(
4562
4562
  "div",
4563
4563
  { class: "yc-data-table-column-menu__title" },
@@ -4565,7 +4565,7 @@
4565
4565
  -1
4566
4566
  /* CACHED */
4567
4567
  )),
4568
- vue.createElementVNode("div", _hoisted_17$b, [
4568
+ vue.createElementVNode("div", _hoisted_17$d, [
4569
4569
  (vue.openBlock(true), vue.createElementBlock(
4570
4570
  vue.Fragment,
4571
4571
  null,
@@ -4575,8 +4575,8 @@
4575
4575
  class: vue.normalizeClass(["yc-data-table-column-menu__item", { "is-checked": col.visible !== false }]),
4576
4576
  onClick: ($event) => toggleColumnVisibility(col)
4577
4577
  }, [
4578
- vue.createElementVNode("div", _hoisted_19$a, [
4579
- col.visible !== false ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_20$a, [..._cache[8] || (_cache[8] = [
4578
+ vue.createElementVNode("div", _hoisted_19$b, [
4579
+ col.visible !== false ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_20$b, [..._cache[8] || (_cache[8] = [
4580
4580
  vue.createElementVNode(
4581
4581
  "polyline",
4582
4582
  { points: "20 6 9 17 4 12" },
@@ -4588,12 +4588,12 @@
4588
4588
  ]),
4589
4589
  vue.createElementVNode(
4590
4590
  "span",
4591
- _hoisted_21$9,
4591
+ _hoisted_21$a,
4592
4592
  vue.toDisplayString(col.label),
4593
4593
  1
4594
4594
  /* TEXT */
4595
4595
  )
4596
- ], 10, _hoisted_18$b);
4596
+ ], 10, _hoisted_18$c);
4597
4597
  }),
4598
4598
  128
4599
4599
  /* KEYED_FRAGMENT */
@@ -4610,28 +4610,28 @@
4610
4610
  }
4611
4611
  });
4612
4612
 
4613
- const _hoisted_1$1d = { class: "yc-data-table-pagination" };
4614
- const _hoisted_2$U = { class: "yc-data-table-pagination__left" };
4615
- const _hoisted_3$N = {
4613
+ const _hoisted_1$1e = { class: "yc-data-table-pagination" };
4614
+ const _hoisted_2$V = { class: "yc-data-table-pagination__left" };
4615
+ const _hoisted_3$O = {
4616
4616
  key: 0,
4617
4617
  class: "yc-data-table-pagination__selected"
4618
4618
  };
4619
- const _hoisted_4$J = {
4619
+ const _hoisted_4$K = {
4620
4620
  key: 1,
4621
4621
  class: "yc-data-table-pagination__total"
4622
4622
  };
4623
- const _hoisted_5$B = { class: "yc-data-table-pagination__right" };
4624
- const _hoisted_6$y = {
4623
+ const _hoisted_5$C = { class: "yc-data-table-pagination__right" };
4624
+ const _hoisted_6$z = {
4625
4625
  key: 0,
4626
4626
  class: "yc-data-table-pagination__size"
4627
4627
  };
4628
- const _hoisted_7$u = { class: "yc-data-table-pagination__info" };
4629
- const _hoisted_8$p = { class: "yc-data-table-pagination__actions" };
4630
- const _hoisted_9$n = ["disabled"];
4631
- const _hoisted_10$k = ["disabled"];
4632
- const _hoisted_11$k = ["disabled"];
4633
- const _hoisted_12$i = ["disabled"];
4634
- var _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
4628
+ const _hoisted_7$v = { class: "yc-data-table-pagination__info" };
4629
+ const _hoisted_8$q = { class: "yc-data-table-pagination__actions" };
4630
+ const _hoisted_9$o = ["disabled"];
4631
+ const _hoisted_10$l = ["disabled"];
4632
+ const _hoisted_11$l = ["disabled"];
4633
+ const _hoisted_12$j = ["disabled"];
4634
+ var _sfc_main$1B = /* @__PURE__ */ vue.defineComponent({
4635
4635
  ...{
4636
4636
  name: "DataTablePagination"
4637
4637
  },
@@ -4668,27 +4668,27 @@
4668
4668
  return (_ctx, _cache) => {
4669
4669
  const _component_el_option = vue.resolveComponent("el-option");
4670
4670
  const _component_el_select = vue.resolveComponent("el-select");
4671
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1d, [
4671
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1e, [
4672
4672
  vue.createCommentVNode(" \u5DE6\u4FA7\uFF1A\u9009\u62E9\u72B6\u6001\u6216\u603B\u6570\u7EDF\u8BA1 (Classic Shadcn Selection Info) "),
4673
- vue.createElementVNode("div", _hoisted_2$U, [
4673
+ vue.createElementVNode("div", _hoisted_2$V, [
4674
4674
  props.selectable ? (vue.openBlock(), vue.createElementBlock(
4675
4675
  "span",
4676
- _hoisted_3$N,
4676
+ _hoisted_3$O,
4677
4677
  " \u5DF2\u9009\u62E9 " + vue.toDisplayString(props.selectedCount) + " / \u5171 " + vue.toDisplayString(props.totalCount) + " \u884C ",
4678
4678
  1
4679
4679
  /* TEXT */
4680
4680
  )) : (vue.openBlock(), vue.createElementBlock(
4681
4681
  "span",
4682
- _hoisted_4$J,
4682
+ _hoisted_4$K,
4683
4683
  " \u5171 " + vue.toDisplayString(props.totalCount) + " \u6761\u6570\u636E ",
4684
4684
  1
4685
4685
  /* TEXT */
4686
4686
  ))
4687
4687
  ]),
4688
4688
  vue.createCommentVNode(" \u53F3\u4FA7\uFF1A\u6BCF\u9875\u6761\u6570\u9009\u62E9\u5668\u3001\u9875\u7801\u6307\u793A\u3001\u7FFB\u9875\u5FEB\u6377\u6309\u94AE "),
4689
- vue.createElementVNode("div", _hoisted_5$B, [
4689
+ vue.createElementVNode("div", _hoisted_5$C, [
4690
4690
  vue.createCommentVNode(" \u6BCF\u9875\u6761\u6570 "),
4691
- props.showSizeChanger ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$y, [
4691
+ props.showSizeChanger ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$z, [
4692
4692
  _cache[4] || (_cache[4] = vue.createElementVNode(
4693
4693
  "span",
4694
4694
  { class: "yc-data-table-pagination__size-label" },
@@ -4724,13 +4724,13 @@
4724
4724
  vue.createCommentVNode(" \u9875\u7801\u6307\u793A (Page X of Y) "),
4725
4725
  vue.createElementVNode(
4726
4726
  "div",
4727
- _hoisted_7$u,
4727
+ _hoisted_7$v,
4728
4728
  " \u7B2C " + vue.toDisplayString(props.currentPage) + " / " + vue.toDisplayString(totalPages.value) + " \u9875 ",
4729
4729
  1
4730
4730
  /* TEXT */
4731
4731
  ),
4732
4732
  vue.createCommentVNode(" \u7FFB\u9875\u63A7\u5236\u6309\u94AE\u7EC4 "),
4733
- vue.createElementVNode("div", _hoisted_8$p, [
4733
+ vue.createElementVNode("div", _hoisted_8$q, [
4734
4734
  vue.createCommentVNode(" \u9996\u9875 << "),
4735
4735
  vue.createElementVNode("button", {
4736
4736
  type: "button",
@@ -4754,7 +4754,7 @@
4754
4754
  -1
4755
4755
  /* CACHED */
4756
4756
  )
4757
- ])], 8, _hoisted_9$n),
4757
+ ])], 8, _hoisted_9$o),
4758
4758
  vue.createCommentVNode(" \u4E0A\u4E00\u9875 < "),
4759
4759
  vue.createElementVNode("button", {
4760
4760
  type: "button",
@@ -4777,7 +4777,7 @@
4777
4777
  -1
4778
4778
  /* CACHED */
4779
4779
  )
4780
- ])], 8, _hoisted_10$k),
4780
+ ])], 8, _hoisted_10$l),
4781
4781
  vue.createCommentVNode(" \u4E0B\u4E00\u9875 > "),
4782
4782
  vue.createElementVNode("button", {
4783
4783
  type: "button",
@@ -4800,7 +4800,7 @@
4800
4800
  -1
4801
4801
  /* CACHED */
4802
4802
  )
4803
- ])], 8, _hoisted_11$k),
4803
+ ])], 8, _hoisted_11$l),
4804
4804
  vue.createCommentVNode(" \u672B\u9875 >> "),
4805
4805
  vue.createElementVNode("button", {
4806
4806
  type: "button",
@@ -4824,7 +4824,7 @@
4824
4824
  -1
4825
4825
  /* CACHED */
4826
4826
  )
4827
- ])], 8, _hoisted_12$i)
4827
+ ])], 8, _hoisted_12$j)
4828
4828
  ])
4829
4829
  ])
4830
4830
  ]);
@@ -4832,19 +4832,19 @@
4832
4832
  }
4833
4833
  });
4834
4834
 
4835
- const _hoisted_1$1c = {
4835
+ const _hoisted_1$1d = {
4836
4836
  key: 0,
4837
4837
  class: "yc-data-table-column-header__title"
4838
4838
  };
4839
- const _hoisted_2$T = { class: "yc-data-table-column-header__icon" };
4840
- const _hoisted_3$M = {
4839
+ const _hoisted_2$U = { class: "yc-data-table-column-header__icon" };
4840
+ const _hoisted_3$N = {
4841
4841
  key: 0,
4842
4842
  viewBox: "0 0 24 24",
4843
4843
  fill: "none",
4844
4844
  stroke: "currentColor",
4845
4845
  "stroke-width": "2.5"
4846
4846
  };
4847
- var _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
4847
+ var _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
4848
4848
  ...{
4849
4849
  name: "DataTableColumnHeader"
4850
4850
  },
@@ -4879,7 +4879,7 @@
4879
4879
  vue.createCommentVNode(" \u4E0D\u652F\u6301\u6392\u5E8F\uFF1A\u7EAF\u6587\u672C "),
4880
4880
  !__props.column.sortable ? (vue.openBlock(), vue.createElementBlock(
4881
4881
  "span",
4882
- _hoisted_1$1c,
4882
+ _hoisted_1$1d,
4883
4883
  vue.toDisplayString(__props.column.label),
4884
4884
  1
4885
4885
  /* TEXT */
@@ -4903,9 +4903,9 @@
4903
4903
  1
4904
4904
  /* TEXT */
4905
4905
  ),
4906
- vue.createElementVNode("span", _hoisted_2$T, [
4906
+ vue.createElementVNode("span", _hoisted_2$U, [
4907
4907
  vue.createCommentVNode(" \u5347\u5E8F "),
4908
- __props.sortOrder === "ascending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_3$M, [..._cache[0] || (_cache[0] = [
4908
+ __props.sortOrder === "ascending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_3$N, [..._cache[0] || (_cache[0] = [
4909
4909
  vue.createElementVNode(
4910
4910
  "path",
4911
4911
  { d: "m18 15-6-6-6 6" },
@@ -4975,8 +4975,8 @@
4975
4975
  }
4976
4976
  });
4977
4977
 
4978
- const _hoisted_1$1b = { class: "yc-data-table-row-actions" };
4979
- var _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
4978
+ const _hoisted_1$1c = { class: "yc-data-table-row-actions" };
4979
+ var _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
4980
4980
  ...{
4981
4981
  name: "DataTableRowActions"
4982
4982
  },
@@ -5002,7 +5002,7 @@
5002
5002
  const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
5003
5003
  const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
5004
5004
  const _component_el_dropdown = vue.resolveComponent("el-dropdown");
5005
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1b, [
5005
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1c, [
5006
5006
  vue.createVNode(_component_el_dropdown, {
5007
5007
  trigger: "click",
5008
5008
  onCommand: handleCommand
@@ -5091,27 +5091,27 @@
5091
5091
  }
5092
5092
  });
5093
5093
 
5094
- const _hoisted_1$1a = {
5094
+ const _hoisted_1$1b = {
5095
5095
  key: 0,
5096
5096
  class: "yc-data-table-header"
5097
5097
  };
5098
- const _hoisted_2$S = { class: "yc-data-table-header__left" };
5099
- const _hoisted_3$L = { class: "yc-data-table-header__title-row" };
5100
- const _hoisted_4$I = {
5098
+ const _hoisted_2$T = { class: "yc-data-table-header__left" };
5099
+ const _hoisted_3$M = { class: "yc-data-table-header__title-row" };
5100
+ const _hoisted_4$J = {
5101
5101
  key: 0,
5102
5102
  class: "yc-data-table-header__title"
5103
5103
  };
5104
- const _hoisted_5$A = {
5104
+ const _hoisted_5$B = {
5105
5105
  key: 0,
5106
5106
  class: "yc-data-table-header__desc"
5107
5107
  };
5108
- const _hoisted_6$x = { class: "yc-data-table-container" };
5109
- const _hoisted_7$t = { class: "yc-data-table__copyable-cell" };
5110
- const _hoisted_8$o = { class: "yc-data-table__copyable-text" };
5111
- const _hoisted_9$m = ["onClick"];
5112
- const _hoisted_10$j = { class: "yc-data-table__empty" };
5113
- const _hoisted_11$j = { class: "yc-data-table__empty-text" };
5114
- var _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
5108
+ const _hoisted_6$y = { class: "yc-data-table-container" };
5109
+ const _hoisted_7$u = { class: "yc-data-table__copyable-cell" };
5110
+ const _hoisted_8$p = { class: "yc-data-table__copyable-text" };
5111
+ const _hoisted_9$n = ["onClick"];
5112
+ const _hoisted_10$k = { class: "yc-data-table__empty" };
5113
+ const _hoisted_11$k = { class: "yc-data-table__empty-text" };
5114
+ var _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
5115
5115
  ...{
5116
5116
  name: "YcDataTable"
5117
5117
  },
@@ -5305,13 +5305,13 @@
5305
5305
  },
5306
5306
  [
5307
5307
  vue.createCommentVNode(" \u5361\u7247\u5934\u90E8 (\u53EF\u9009) "),
5308
- _ctx.$slots.header || props.title || props.description || props.badge ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1a, [
5308
+ _ctx.$slots.header || props.title || props.description || props.badge ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1b, [
5309
5309
  vue.renderSlot(_ctx.$slots, "header", {}, () => [
5310
- vue.createElementVNode("div", _hoisted_2$S, [
5311
- vue.createElementVNode("div", _hoisted_3$L, [
5310
+ vue.createElementVNode("div", _hoisted_2$T, [
5311
+ vue.createElementVNode("div", _hoisted_3$M, [
5312
5312
  props.title ? (vue.openBlock(), vue.createElementBlock(
5313
5313
  "span",
5314
- _hoisted_4$I,
5314
+ _hoisted_4$J,
5315
5315
  vue.toDisplayString(props.title),
5316
5316
  1
5317
5317
  /* TEXT */
@@ -5337,7 +5337,7 @@
5337
5337
  ]),
5338
5338
  props.description ? (vue.openBlock(), vue.createElementBlock(
5339
5339
  "div",
5340
- _hoisted_5$A,
5340
+ _hoisted_5$B,
5341
5341
  vue.toDisplayString(props.description),
5342
5342
  1
5343
5343
  /* TEXT */
@@ -5346,7 +5346,7 @@
5346
5346
  ])
5347
5347
  ])) : vue.createCommentVNode("v-if", true),
5348
5348
  vue.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) "),
5349
- vue.createVNode(_sfc_main$1B, {
5349
+ vue.createVNode(_sfc_main$1C, {
5350
5350
  columns: internalColumns.value,
5351
5351
  searchable: props.searchable,
5352
5352
  "search-placeholder": props.searchPlaceholder,
@@ -5365,7 +5365,7 @@
5365
5365
  /* FORWARDED */
5366
5366
  }, 8, ["columns", "searchable", "search-placeholder", "filters", "show-column-visibility", "modelValue", "active-filters"]),
5367
5367
  vue.createCommentVNode(" \u8868\u683C\u6838\u5FC3\u5BB9\u5668 (\u6781\u7B80\u5706\u89D2\u5916\u8FB9\u6846) "),
5368
- vue.createElementVNode("div", _hoisted_6$x, [
5368
+ vue.createElementVNode("div", _hoisted_6$y, [
5369
5369
  vue.withDirectives((vue.openBlock(), vue.createBlock(_component_el_table, {
5370
5370
  ref_key: "tableRef",
5371
5371
  ref: tableRef,
@@ -5384,7 +5384,7 @@
5384
5384
  onSelectionChange: handleSelectionChange
5385
5385
  }, {
5386
5386
  empty: vue.withCtx(() => [
5387
- vue.createElementVNode("div", _hoisted_10$j, [
5387
+ vue.createElementVNode("div", _hoisted_10$k, [
5388
5388
  _cache[5] || (_cache[5] = vue.createElementVNode(
5389
5389
  "svg",
5390
5390
  {
@@ -5406,7 +5406,7 @@
5406
5406
  )),
5407
5407
  vue.createElementVNode(
5408
5408
  "span",
5409
- _hoisted_11$j,
5409
+ _hoisted_11$k,
5410
5410
  vue.toDisplayString(props.emptyText),
5411
5411
  1
5412
5412
  /* TEXT */
@@ -5435,7 +5435,7 @@
5435
5435
  fixed: col.fixed
5436
5436
  }, {
5437
5437
  header: vue.withCtx(() => [
5438
- vue.createVNode(_sfc_main$1z, {
5438
+ vue.createVNode(_sfc_main$1A, {
5439
5439
  column: col,
5440
5440
  "sort-order": sortState.value.prop === col.prop ? sortState.value.order : null,
5441
5441
  onSort: (order) => handleColumnSort(col, order)
@@ -5503,10 +5503,10 @@
5503
5503
  { key: 2 },
5504
5504
  [
5505
5505
  vue.createCommentVNode(" \u53EF\u4E00\u952E\u590D\u5236\u5B57\u6BB5 (\u5982 ID\u3001UUID\u3001Token) "),
5506
- vue.createElementVNode("div", _hoisted_7$t, [
5506
+ vue.createElementVNode("div", _hoisted_7$u, [
5507
5507
  vue.createElementVNode(
5508
5508
  "span",
5509
- _hoisted_8$o,
5509
+ _hoisted_8$p,
5510
5510
  vue.toDisplayString(row[col.prop]),
5511
5511
  1
5512
5512
  /* TEXT */
@@ -5539,7 +5539,7 @@
5539
5539
  -1
5540
5540
  /* CACHED */
5541
5541
  )
5542
- ])], 8, _hoisted_9$m)
5542
+ ])], 8, _hoisted_9$n)
5543
5543
  ])
5544
5544
  ],
5545
5545
  2112
@@ -5588,7 +5588,7 @@
5588
5588
  fixed: "right"
5589
5589
  }, {
5590
5590
  default: vue.withCtx(({ row }) => [
5591
- vue.createVNode(_sfc_main$1y, {
5591
+ vue.createVNode(_sfc_main$1z, {
5592
5592
  actions: props.rowActions,
5593
5593
  row,
5594
5594
  onAction: handleRowAction
@@ -5605,7 +5605,7 @@
5605
5605
  ])
5606
5606
  ]),
5607
5607
  vue.createCommentVNode(" Shadcn \u98CE\u683C\u5E95\u90E8\u72B6\u6001\u4E0E\u5206\u9875\u680F "),
5608
- props.showPagination !== false && props.pagination !== false ? (vue.openBlock(), vue.createBlock(_sfc_main$1A, {
5608
+ props.showPagination !== false && props.pagination !== false ? (vue.openBlock(), vue.createBlock(_sfc_main$1B, {
5609
5609
  key: 1,
5610
5610
  "total-count": filteredData.value.length,
5611
5611
  "selected-count": selectedRowsList.value.length,
@@ -5626,11 +5626,11 @@
5626
5626
  }
5627
5627
  });
5628
5628
 
5629
- const YcDataTable = withInstall(_sfc_main$1x);
5630
- const DataTableToolbar = withInstall(_sfc_main$1B);
5631
- const DataTablePagination = withInstall(_sfc_main$1A);
5632
- const DataTableColumnHeader = withInstall(_sfc_main$1z);
5633
- const DataTableRowActions = withInstall(_sfc_main$1y);
5629
+ const YcDataTable = withInstall(_sfc_main$1y);
5630
+ const DataTableToolbar = withInstall(_sfc_main$1C);
5631
+ const DataTablePagination = withInstall(_sfc_main$1B);
5632
+ const DataTableColumnHeader = withInstall(_sfc_main$1A);
5633
+ const DataTableRowActions = withInstall(_sfc_main$1z);
5634
5634
  const ReDataTable = YcDataTable;
5635
5635
  const PlusDataTable = YcDataTable;
5636
5636
 
@@ -5704,7 +5704,7 @@
5704
5704
 
5705
5705
  const QueryFilterConfigKey = Symbol("QueryFilterConfig");
5706
5706
 
5707
- var _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
5707
+ var _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
5708
5708
  ...{
5709
5709
  name: "PlusPagination"
5710
5710
  },
@@ -5782,7 +5782,7 @@
5782
5782
  }
5783
5783
  });
5784
5784
 
5785
- const PlusPagination = _sfc_main$1w;
5785
+ const PlusPagination = _sfc_main$1x;
5786
5786
 
5787
5787
  //#region ../../packages/element-plus/version.ts
5788
5788
  const version$2 = "2.14.8";
@@ -10418,7 +10418,7 @@
10418
10418
  const versionIsLessThan299 = compareVersion(version$2, "2.9.9") < 0;
10419
10419
  const getLabel$1 = (label) => label ? vue.unref(label) : "";
10420
10420
 
10421
- var _sfc_main$1v = /* @__PURE__ */ vue.defineComponent({
10421
+ var _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
10422
10422
  ...{
10423
10423
  name: "PlusRadio"
10424
10424
  },
@@ -10603,7 +10603,7 @@
10603
10603
  }
10604
10604
  });
10605
10605
 
10606
- const PlusRadio = _sfc_main$1v;
10606
+ const PlusRadio = _sfc_main$1w;
10607
10607
 
10608
10608
  const DEFAULT_TOOLTIP = "\u5DE6\u53F3\u6EDA\u52A8\uFF1A\u6309\u4F4FShift\u952E\u6EDA\u52A8\u6ED1\u8F6E";
10609
10609
  const DEFAULT_HORIZONTAL_BAR_SELECTOR = ".el-scrollbar__bar.is-horizontal";
@@ -11383,13 +11383,13 @@
11383
11383
  return config.drawerForm;
11384
11384
  }
11385
11385
 
11386
- const _hoisted_1$19 = {
11386
+ const _hoisted_1$1a = {
11387
11387
  key: 0,
11388
11388
  class: "plus-table-action-bar__dropdown__link"
11389
11389
  };
11390
- const _hoisted_2$R = { class: "plus-table-action-bar__dropdown__link" };
11391
- const _hoisted_3$K = { class: "plus-table-action-bar__more-text" };
11392
- var _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
11390
+ const _hoisted_2$S = { class: "plus-table-action-bar__dropdown__link" };
11391
+ const _hoisted_3$L = { class: "plus-table-action-bar__more-text" };
11392
+ var _sfc_main$1v = /* @__PURE__ */ vue.defineComponent({
11393
11393
  ...{
11394
11394
  name: "PlusTableActionBar"
11395
11395
  },
@@ -11705,7 +11705,7 @@
11705
11705
  )
11706
11706
  ]),
11707
11707
  default: vue.withCtx(() => [
11708
- __props.moreType === "icon" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$19, [
11708
+ __props.moreType === "icon" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$1a, [
11709
11709
  vue.renderSlot(_ctx.$slots, "action-bar-more-icon", {}, () => [
11710
11710
  vue.createVNode(vue.unref(elementPlus.ElIcon), null, {
11711
11711
  default: vue.withCtx(() => [
@@ -11720,10 +11720,10 @@
11720
11720
  { key: 1 },
11721
11721
  [
11722
11722
  vue.createCommentVNode(" \u9ED8\u8BA4 "),
11723
- vue.createElementVNode("span", _hoisted_2$R, [
11723
+ vue.createElementVNode("span", _hoisted_2$S, [
11724
11724
  vue.createElementVNode(
11725
11725
  "span",
11726
- _hoisted_3$K,
11726
+ _hoisted_3$L,
11727
11727
  vue.toDisplayString(vue.unref(t)("plus.table.more")),
11728
11728
  1
11729
11729
  /* TEXT */
@@ -11754,7 +11754,7 @@
11754
11754
  }
11755
11755
  });
11756
11756
 
11757
- var _sfc_main$1t = /* @__PURE__ */ vue.defineComponent({
11757
+ var _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
11758
11758
  ...{
11759
11759
  name: "PlusRender"
11760
11760
  },
@@ -11822,10 +11822,10 @@
11822
11822
  }
11823
11823
  });
11824
11824
 
11825
- const PlusRender = _sfc_main$1t;
11825
+ const PlusRender = _sfc_main$1u;
11826
11826
 
11827
- const _hoisted_1$18 = { class: "plus-date-picker__middle" };
11828
- var _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
11827
+ const _hoisted_1$19 = { class: "plus-date-picker__middle" };
11828
+ var _sfc_main$1t = /* @__PURE__ */ vue.defineComponent({
11829
11829
  ...{
11830
11830
  name: "PlusDatePicker"
11831
11831
  },
@@ -11930,7 +11930,7 @@
11930
11930
  }), null, 16, ["modelValue", "type", "value-format", "placeholder", "disabled"]),
11931
11931
  vue.createElementVNode(
11932
11932
  "span",
11933
- _hoisted_1$18,
11933
+ _hoisted_1$19,
11934
11934
  vue.toDisplayString(__props.rangeSeparator),
11935
11935
  1
11936
11936
  /* TEXT */
@@ -11961,9 +11961,9 @@
11961
11961
  }
11962
11962
  });
11963
11963
 
11964
- const PlusDatePicker = _sfc_main$1s;
11964
+ const PlusDatePicker = _sfc_main$1t;
11965
11965
 
11966
- var _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
11966
+ var _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
11967
11967
  ...{
11968
11968
  name: "PlusInputTag"
11969
11969
  },
@@ -12100,7 +12100,7 @@
12100
12100
  }
12101
12101
  });
12102
12102
 
12103
- const PlusInputTag = _sfc_main$1r;
12103
+ const PlusInputTag = _sfc_main$1s;
12104
12104
 
12105
12105
  const FieldComponentMap = {
12106
12106
  // plus
@@ -12258,18 +12258,18 @@
12258
12258
  return hovered ? hitFromInput(hovered, measure) : null;
12259
12259
  };
12260
12260
 
12261
- const _hoisted_1$17 = { class: "el-form-item__error" };
12262
- const _hoisted_2$Q = { class: "plus-form-item__label" };
12263
- const _hoisted_3$J = {
12261
+ const _hoisted_1$18 = { class: "el-form-item__error" };
12262
+ const _hoisted_2$R = { class: "plus-form-item__label" };
12263
+ const _hoisted_3$K = {
12264
12264
  key: 0,
12265
12265
  class: "plus-form-item-field"
12266
12266
  };
12267
- const _hoisted_4$H = {
12267
+ const _hoisted_4$I = {
12268
12268
  key: 1,
12269
12269
  class: "plus-form-item-field"
12270
12270
  };
12271
12271
  const TOOLTIP_SHOW_DELAY = 300;
12272
- var _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
12272
+ var _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
12273
12273
  ...{
12274
12274
  name: "PlusFormItem"
12275
12275
  },
@@ -12576,7 +12576,7 @@
12576
12576
  onMouseleave: hidePlaceholderTooltip
12577
12577
  },
12578
12578
  [
12579
- __props.renderField && vue.unref(isFunction)(__props.renderField) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$J, [
12579
+ __props.renderField && vue.unref(isFunction)(__props.renderField) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$K, [
12580
12580
  valueIsReady.value ? (vue.openBlock(), vue.createBlock(vue.unref(PlusRender), {
12581
12581
  key: 0,
12582
12582
  render: __props.renderField,
@@ -12586,7 +12586,7 @@
12586
12586
  "render-type": "form",
12587
12587
  "handle-change": handleChange
12588
12588
  }, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : vue.createCommentVNode("v-if", true)
12589
- ])) : _ctx.$slots[vue.unref(getFieldSlotName)(__props.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$H, [
12589
+ ])) : _ctx.$slots[vue.unref(getFieldSlotName)(__props.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$I, [
12590
12590
  vue.renderSlot(_ctx.$slots, vue.unref(getFieldSlotName)(__props.prop), vue.mergeProps(params.value, { column: props }))
12591
12591
  ])) : __props.valueType === "select" && customFieldProps.value.multiple === true ? (vue.openBlock(), vue.createBlock(vue.unref(ElSelect), vue.mergeProps({
12592
12592
  key: 2,
@@ -12940,7 +12940,7 @@
12940
12940
  vue.unref(isFunction)(__props.renderErrorMessage) ? {
12941
12941
  name: "error",
12942
12942
  fn: vue.withCtx(({ error }) => [
12943
- vue.createElementVNode("div", _hoisted_1$17, [
12943
+ vue.createElementVNode("div", _hoisted_1$18, [
12944
12944
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.renderErrorMessage), vue.mergeProps(props, {
12945
12945
  value: state.value,
12946
12946
  error,
@@ -12953,7 +12953,7 @@
12953
12953
  __props.hasLabel ? {
12954
12954
  name: "label",
12955
12955
  fn: vue.withCtx(({ label: currentLabel }) => [
12956
- vue.createElementVNode("span", _hoisted_2$Q, [
12956
+ vue.createElementVNode("span", _hoisted_2$R, [
12957
12957
  vue.createVNode(vue.unref(ElTooltip), {
12958
12958
  visible: labelTooltipVisible.value,
12959
12959
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => labelTooltipVisible.value = $event),
@@ -13037,9 +13037,9 @@
13037
13037
  }
13038
13038
  });
13039
13039
 
13040
- const PlusFormItem = _sfc_main$1q;
13040
+ const PlusFormItem = _sfc_main$1r;
13041
13041
 
13042
- var _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
13042
+ var _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
13043
13043
  ...{
13044
13044
  name: "PlusCollapseTransition"
13045
13045
  },
@@ -13090,15 +13090,15 @@
13090
13090
  }
13091
13091
  });
13092
13092
 
13093
- const _hoisted_1$16 = {
13093
+ const _hoisted_1$17 = {
13094
13094
  key: 0,
13095
13095
  class: "plus-form-item-previous"
13096
13096
  };
13097
- const _hoisted_2$P = {
13097
+ const _hoisted_2$Q = {
13098
13098
  key: 1,
13099
13099
  class: "plus-form-item-extra"
13100
13100
  };
13101
- var _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
13101
+ var _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
13102
13102
  ...{
13103
13103
  name: "PlusFormContent"
13104
13104
  },
@@ -13171,7 +13171,7 @@
13171
13171
  class: ["plus-form__row", layoutRowClass.value]
13172
13172
  }), {
13173
13173
  default: vue.withCtx(() => [
13174
- vue.createVNode(_sfc_main$1p, {
13174
+ vue.createVNode(_sfc_main$1q, {
13175
13175
  "collapse-duration": __props.collapseDuration,
13176
13176
  "collapse-transition": __props.collapseTransition
13177
13177
  }, {
@@ -13187,7 +13187,7 @@
13187
13187
  }), {
13188
13188
  default: vue.withCtx(() => [
13189
13189
  vue.createCommentVNode(" el-form-item\u4E0A\u4E00\u884C\u7684\u5185\u5BB9 "),
13190
- item.renderPrevious || _ctx.$slots[vue.unref(getPreviousSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$16, [
13190
+ item.renderPrevious || _ctx.$slots[vue.unref(getPreviousSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$17, [
13191
13191
  vue.unref(isFunction)(item.renderPrevious) ? (vue.openBlock(), vue.createBlock(
13192
13192
  vue.resolveDynamicComponent(item.renderPrevious),
13193
13193
  vue.mergeProps({
@@ -13233,7 +13233,7 @@
13233
13233
  } : void 0
13234
13234
  ]), 1040, ["model-value", "clearable", "has-label", "ellipsis", "onChange"]),
13235
13235
  vue.createCommentVNode(" el-form-item \u4E0B\u4E00\u884C\u989D\u5916\u7684\u5185\u5BB9 "),
13236
- item.renderExtra || _ctx.$slots[vue.unref(getExtraSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$P, [
13236
+ item.renderExtra || _ctx.$slots[vue.unref(getExtraSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$Q, [
13237
13237
  item.renderExtra && vue.unref(isFunction)(item.renderExtra) ? (vue.openBlock(), vue.createBlock(
13238
13238
  vue.resolveDynamicComponent(item.renderExtra),
13239
13239
  vue.mergeProps({
@@ -13267,8 +13267,8 @@
13267
13267
  }
13268
13268
  });
13269
13269
 
13270
- const _hoisted_1$15 = { class: "plus-form__group__item__icon" };
13271
- var _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
13270
+ const _hoisted_1$16 = { class: "plus-form__group__item__icon" };
13271
+ var _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
13272
13272
  ...{
13273
13273
  name: "PlusForm",
13274
13274
  inheritAttrs: false
@@ -13434,7 +13434,7 @@
13434
13434
  icon: groupItem.icon,
13435
13435
  index
13436
13436
  }, () => [
13437
- vue.createElementVNode("div", _hoisted_1$15, [
13437
+ vue.createElementVNode("div", _hoisted_1$16, [
13438
13438
  groupItem.icon ? (vue.openBlock(), vue.createBlock(
13439
13439
  vue.unref(elementPlus.ElIcon),
13440
13440
  { key: 0 },
@@ -13457,7 +13457,7 @@
13457
13457
  ])
13458
13458
  ]),
13459
13459
  default: vue.withCtx(() => [
13460
- _ctx.$slots[vue.unref(getFormGroupSlotName)(groupItem.name)] ? vue.renderSlot(_ctx.$slots, vue.unref(getFormGroupSlotName)(groupItem.name), vue.mergeProps({ ref_for: true }, groupItem, { index }), void 0, void 0, 0) : (vue.openBlock(), vue.createBlock(_sfc_main$1o, {
13460
+ _ctx.$slots[vue.unref(getFormGroupSlotName)(groupItem.name)] ? vue.renderSlot(_ctx.$slots, vue.unref(getFormGroupSlotName)(groupItem.name), vue.mergeProps({ ref_for: true }, groupItem, { index }), void 0, void 0, 0) : (vue.openBlock(), vue.createBlock(_sfc_main$1p, {
13461
13461
  key: 1,
13462
13462
  modelValue: values.value,
13463
13463
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => values.value = $event),
@@ -13499,7 +13499,7 @@
13499
13499
  { key: 1 },
13500
13500
  [
13501
13501
  vue.createCommentVNode(" \u666E\u901A\u8868\u5355 "),
13502
- vue.createVNode(_sfc_main$1o, {
13502
+ vue.createVNode(_sfc_main$1p, {
13503
13503
  modelValue: values.value,
13504
13504
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => values.value = $event),
13505
13505
  "row-props": __props.rowProps,
@@ -13583,7 +13583,7 @@
13583
13583
  }
13584
13584
  });
13585
13585
 
13586
- const PlusForm = _sfc_main$1n;
13586
+ const PlusForm = _sfc_main$1o;
13587
13587
 
13588
13588
  const DisplayComponentMap = {
13589
13589
  img: {
@@ -13624,9 +13624,9 @@
13624
13624
  const hasDisplayComponent = (valueType) => Object.keys(DisplayComponentMap).includes(valueType);
13625
13625
  const getDisplayComponent = (valueType) => Reflect.get(DisplayComponentMap, valueType) || {};
13626
13626
 
13627
- const _hoisted_1$14 = ["innerHTML"];
13628
- const _hoisted_2$O = { class: "plus-display-item" };
13629
- var _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
13627
+ const _hoisted_1$15 = ["innerHTML"];
13628
+ const _hoisted_2$P = { class: "plus-display-item" };
13629
+ var _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
13630
13630
  ...{
13631
13631
  name: "PlusDisplayItem"
13632
13632
  },
@@ -14016,7 +14016,7 @@
14016
14016
  vue.createElementVNode("span", {
14017
14017
  class: "plus-display-item",
14018
14018
  innerHTML: __props.column.renderHTML(displayValue.value, renderParams.value)
14019
- }, null, 8, _hoisted_1$14)
14019
+ }, null, 8, _hoisted_1$15)
14020
14020
  ],
14021
14021
  2112
14022
14022
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
@@ -14135,7 +14135,7 @@
14135
14135
  { key: 5 },
14136
14136
  [
14137
14137
  vue.createCommentVNode(" \u590D\u5236 "),
14138
- vue.createElementVNode("span", _hoisted_2$O, [
14138
+ vue.createElementVNode("span", _hoisted_2$P, [
14139
14139
  vue.createTextVNode(
14140
14140
  vue.toDisplayString(formatterValue.value) + " ",
14141
14141
  1
@@ -14293,11 +14293,11 @@
14293
14293
  }
14294
14294
  });
14295
14295
 
14296
- const PlusDisplayItem = _sfc_main$1m;
14296
+ const PlusDisplayItem = _sfc_main$1n;
14297
14297
 
14298
- const _hoisted_1$13 = { class: "plus-table-column__header-text" };
14299
- const _hoisted_2$N = { class: "plus-table-column__header-text" };
14300
- var _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
14298
+ const _hoisted_1$14 = { class: "plus-table-column__header-text" };
14299
+ const _hoisted_2$O = { class: "plus-table-column__header-text" };
14300
+ var _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
14301
14301
  ...{
14302
14302
  name: "PlusTableColumn"
14303
14303
  },
@@ -14431,7 +14431,7 @@
14431
14431
  default: vue.withCtx(() => [
14432
14432
  vue.createElementVNode(
14433
14433
  "span",
14434
- _hoisted_1$13,
14434
+ _hoisted_1$14,
14435
14435
  vue.toDisplayString(vue.unref(getLabel$1)(item.label)),
14436
14436
  1
14437
14437
  /* TEXT */
@@ -14446,7 +14446,7 @@
14446
14446
  vue.createCommentVNode(" \u542F\u7528\u7701\u7565\u4F46\u7981\u7528 tooltip \u65F6 "),
14447
14447
  vue.createElementVNode(
14448
14448
  "span",
14449
- _hoisted_2$N,
14449
+ _hoisted_2$O,
14450
14450
  vue.toDisplayString(vue.unref(getLabel$1)(item.label)),
14451
14451
  1
14452
14452
  /* TEXT */
@@ -14575,7 +14575,7 @@
14575
14575
  }
14576
14576
  });
14577
14577
 
14578
- var _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
14578
+ var _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
14579
14579
  ...{
14580
14580
  name: "PlusTableTableColumnIndex"
14581
14581
  },
@@ -17298,8 +17298,8 @@
17298
17298
  Sortable.mount(new AutoScrollPlugin());
17299
17299
  Sortable.mount(Remove, Revert);
17300
17300
 
17301
- const _hoisted_1$12 = { class: "plus-table-column-drag-icon" };
17302
- var _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
17301
+ const _hoisted_1$13 = { class: "plus-table-column-drag-icon" };
17302
+ var _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
17303
17303
  ...{
17304
17304
  name: "PlusTableColumnDragSort"
17305
17305
  },
@@ -17350,7 +17350,7 @@
17350
17350
  "class-name": "plus-table-column-drag-sort"
17351
17351
  }, __props.dragSortableTableColumnProps), {
17352
17352
  default: vue.withCtx(() => [
17353
- vue.createElementVNode("span", _hoisted_1$12, [
17353
+ vue.createElementVNode("span", _hoisted_1$13, [
17354
17354
  vue.renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
17355
17355
  _cache[0] || (_cache[0] = vue.createTextVNode(
17356
17356
  "\u2637",
@@ -17367,11 +17367,11 @@
17367
17367
  }
17368
17368
  });
17369
17369
 
17370
- const _hoisted_1$11 = {
17370
+ const _hoisted_1$12 = {
17371
17371
  key: 0,
17372
17372
  style: { "padding-top": "12px" }
17373
17373
  };
17374
- var _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
17374
+ var _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
17375
17375
  ...{
17376
17376
  name: "PlusPopover"
17377
17377
  },
@@ -17430,7 +17430,7 @@
17430
17430
  ]),
17431
17431
  default: vue.withCtx(() => [
17432
17432
  vue.renderSlot(_ctx.$slots, "default"),
17433
- __props.hasShowBottomButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
17433
+ __props.hasShowBottomButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
17434
17434
  vue.createVNode(vue.unref(elementPlus.ElButton), {
17435
17435
  size: "small",
17436
17436
  plain: "",
@@ -17471,21 +17471,21 @@
17471
17471
  }
17472
17472
  });
17473
17473
 
17474
- const PlusPopover = _sfc_main$1i;
17474
+ const PlusPopover = _sfc_main$1j;
17475
17475
 
17476
- const _hoisted_1$10 = { class: "plus-table-title-bar" };
17477
- const _hoisted_2$M = { class: "plus-table-title-bar__title" };
17478
- const _hoisted_3$I = { class: "plus-table-title-bar__toolbar" };
17479
- const _hoisted_4$G = { class: "plus-table-title-bar__toolbar__density" };
17480
- const _hoisted_5$z = { class: "plus-table-checkbox-checkAll" };
17481
- const _hoisted_6$w = { class: "plus-table-checkbox-actions" };
17482
- const _hoisted_7$s = {
17476
+ const _hoisted_1$11 = { class: "plus-table-title-bar" };
17477
+ const _hoisted_2$N = { class: "plus-table-title-bar__title" };
17478
+ const _hoisted_3$J = { class: "plus-table-title-bar__toolbar" };
17479
+ const _hoisted_4$H = { class: "plus-table-title-bar__toolbar__density" };
17480
+ const _hoisted_5$A = { class: "plus-table-checkbox-checkAll" };
17481
+ const _hoisted_6$x = { class: "plus-table-checkbox-actions" };
17482
+ const _hoisted_7$t = {
17483
17483
  key: 0,
17484
17484
  class: "plus-table-checkbox-handle"
17485
17485
  };
17486
- const _hoisted_8$n = { key: 1 };
17487
- const _hoisted_9$l = { key: 1 };
17488
- var _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
17486
+ const _hoisted_8$o = { key: 1 };
17487
+ const _hoisted_9$m = { key: 1 };
17488
+ var _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
17489
17489
  ...{
17490
17490
  name: "PlusTableToolbar"
17491
17491
  },
@@ -17654,8 +17654,8 @@
17654
17654
  });
17655
17655
  return (_ctx, _cache) => {
17656
17656
  var _a, _b, _c;
17657
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$10, [
17658
- vue.createElementVNode("div", _hoisted_2$M, [
17657
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
17658
+ vue.createElementVNode("div", _hoisted_2$N, [
17659
17659
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
17660
17660
  vue.createTextVNode(
17661
17661
  vue.toDisplayString(titleBarConfig.value.title),
@@ -17664,7 +17664,7 @@
17664
17664
  )
17665
17665
  ], true)
17666
17666
  ]),
17667
- vue.createElementVNode("div", _hoisted_3$I, [
17667
+ vue.createElementVNode("div", _hoisted_3$J, [
17668
17668
  vue.renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
17669
17669
  ((_a = titleBarConfig.value) == null ? void 0 : _a.refresh) === true ? (vue.openBlock(), vue.createElementBlock("span", {
17670
17670
  key: 0,
@@ -17743,7 +17743,7 @@
17743
17743
  }, 8, ["content"])
17744
17744
  ]),
17745
17745
  default: vue.withCtx(() => [
17746
- vue.createElementVNode("div", _hoisted_4$G, [
17746
+ vue.createElementVNode("div", _hoisted_4$H, [
17747
17747
  (vue.openBlock(), vue.createElementBlock(
17748
17748
  vue.Fragment,
17749
17749
  null,
@@ -17810,7 +17810,7 @@
17810
17810
  default: vue.withCtx(() => {
17811
17811
  var _a2, _b2, _c2, _d;
17812
17812
  return [
17813
- vue.createElementVNode("div", _hoisted_5$z, [
17813
+ vue.createElementVNode("div", _hoisted_5$A, [
17814
17814
  vue.createVNode(vue.unref(elementPlus.ElCheckbox), {
17815
17815
  modelValue: state.checkAll,
17816
17816
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.checkAll = $event),
@@ -17827,7 +17827,7 @@
17827
17827
  _: 1
17828
17828
  /* STABLE */
17829
17829
  }, 8, ["modelValue", "indeterminate"]),
17830
- vue.createElementVNode("div", _hoisted_6$w, [
17830
+ vue.createElementVNode("div", _hoisted_6$x, [
17831
17831
  ((_a2 = columnSetting.value) == null ? void 0 : _a2.confirm) ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElLink), {
17832
17832
  key: 0,
17833
17833
  type: "primary",
@@ -17888,7 +17888,7 @@
17888
17888
  key: item.prop,
17889
17889
  class: "plus-table-checkbox-item"
17890
17890
  }, [
17891
- ((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$s, [
17891
+ ((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$t, [
17892
17892
  vue.renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
17893
17893
  _cache[3] || (_cache[3] = vue.createTextVNode(
17894
17894
  "\u2637",
@@ -17921,7 +17921,7 @@
17921
17921
  /* DYNAMIC */
17922
17922
  }, 1032, ["content"])) : (vue.openBlock(), vue.createElementBlock(
17923
17923
  "span",
17924
- _hoisted_8$n,
17924
+ _hoisted_8$o,
17925
17925
  vue.toDisplayString(item.label ? getLabelValue(item.label) : ""),
17926
17926
  1
17927
17927
  /* TEXT */
@@ -17956,7 +17956,7 @@
17956
17956
  /* DYNAMIC */
17957
17957
  }, 1032, ["content"])) : (vue.openBlock(), vue.createElementBlock(
17958
17958
  "span",
17959
- _hoisted_9$l,
17959
+ _hoisted_9$m,
17960
17960
  vue.toDisplayString(item.label ? getLabelValue(item.label) : ""),
17961
17961
  1
17962
17962
  /* TEXT */
@@ -18001,7 +18001,7 @@
18001
18001
  return target;
18002
18002
  };
18003
18003
 
18004
- var PlusTableTitleBar = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["__scopeId", "data-v-33b054bf"]]);
18004
+ var PlusTableTitleBar = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["__scopeId", "data-v-33b054bf"]]);
18005
18005
 
18006
18006
  const TABLE_DENSITY_STORAGE_KEY = "yc-table-density";
18007
18007
  const VALID_TABLE_DENSITY = ["default", "large", "small"];
@@ -18024,8 +18024,8 @@
18024
18024
  }
18025
18025
  };
18026
18026
 
18027
- const _hoisted_1$$ = { class: "plus-table-expand-col" };
18028
- var _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
18027
+ const _hoisted_1$10 = { class: "plus-table-expand-col" };
18028
+ var _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
18029
18029
  ...{
18030
18030
  name: "PlusTable",
18031
18031
  inheritAttrs: false
@@ -18383,14 +18383,14 @@
18383
18383
  /* FULL_PROPS */
18384
18384
  )) : vue.createCommentVNode("v-if", true),
18385
18385
  vue.createCommentVNode(" \u5E8F\u53F7\u680F "),
18386
- __props.hasIndexColumn ? (vue.openBlock(), vue.createBlock(_sfc_main$1k, {
18386
+ __props.hasIndexColumn ? (vue.openBlock(), vue.createBlock(_sfc_main$1l, {
18387
18387
  key: 2,
18388
18388
  "index-content-style": __props.indexContentStyle,
18389
18389
  "index-table-column-props": __props.indexTableColumnProps,
18390
18390
  "page-info": (_a2 = __props.pagination) == null ? void 0 : _a2.modelValue
18391
18391
  }, null, 8, ["index-content-style", "index-table-column-props", "page-info"])) : vue.createCommentVNode("v-if", true),
18392
18392
  vue.createCommentVNode(" \u62D6\u62FD\u884C "),
18393
- __props.dragSortable ? (vue.openBlock(), vue.createBlock(_sfc_main$1j, {
18393
+ __props.dragSortable ? (vue.openBlock(), vue.createBlock(_sfc_main$1k, {
18394
18394
  key: 3,
18395
18395
  sortable: __props.dragSortable,
18396
18396
  "drag-sortable-table-column-props": __props.dragSortableTableColumnProps,
@@ -18417,7 +18417,7 @@
18417
18417
  }, __props.expandTableColumnProps),
18418
18418
  {
18419
18419
  default: vue.withCtx((scoped) => [
18420
- vue.createElementVNode("div", _hoisted_1$$, [
18420
+ vue.createElementVNode("div", _hoisted_1$10, [
18421
18421
  vue.renderSlot(_ctx.$slots, "expand", vue.mergeProps({
18422
18422
  index: scoped.$index
18423
18423
  }, scoped))
@@ -18431,7 +18431,7 @@
18431
18431
  )) : vue.createCommentVNode("v-if", true),
18432
18432
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
18433
18433
  vue.createCommentVNode("\u914D\u7F6E\u6E32\u67D3\u680F "),
18434
- vue.createVNode(_sfc_main$1l, {
18434
+ vue.createVNode(_sfc_main$1m, {
18435
18435
  columns: subColumns.value,
18436
18436
  editable: __props.editable,
18437
18437
  "sub-page-info": vue.unref(subPageInfo),
@@ -18453,7 +18453,7 @@
18453
18453
  ]),
18454
18454
  vue.createCommentVNode(" \u64CD\u4F5C\u680F "),
18455
18455
  __props.actionBar ? (vue.openBlock(), vue.createBlock(
18456
- _sfc_main$1u,
18456
+ _sfc_main$1v,
18457
18457
  vue.mergeProps({ key: 5 }, __props.actionBar, {
18458
18458
  onClickAction: handleAction,
18459
18459
  onClickActionConfirmCancel: handleClickActionConfirmCancel
@@ -18531,7 +18531,7 @@
18531
18531
  }
18532
18532
  });
18533
18533
 
18534
- const PlusTable = _sfc_main$1g;
18534
+ const PlusTable = _sfc_main$1h;
18535
18535
  const YcPlusTable = PlusTable;
18536
18536
  const RePlusTable = PlusTable;
18537
18537
 
@@ -18584,7 +18584,7 @@
18584
18584
  }
18585
18585
  };
18586
18586
 
18587
- var _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
18587
+ var _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
18588
18588
  ...{
18589
18589
  name: "YcCard"
18590
18590
  },
@@ -18680,13 +18680,13 @@
18680
18680
  }
18681
18681
  });
18682
18682
 
18683
- const YcCardWithInstall = withInstall(_sfc_main$1f);
18683
+ const YcCardWithInstall = withInstall(_sfc_main$1g);
18684
18684
 
18685
18685
  const YcCardGalleryDemo = vue.defineComponent({
18686
18686
  name: "YcCardGalleryDemo",
18687
18687
  setup() {
18688
18688
  return () => vue.h(
18689
- _sfc_main$1f,
18689
+ _sfc_main$1g,
18690
18690
  {
18691
18691
  background: "#ffffff",
18692
18692
  padding: 14,
@@ -18763,7 +18763,7 @@
18763
18763
  }
18764
18764
  });
18765
18765
  const capability$f = {
18766
- install: [_sfc_main$1f],
18766
+ install: [_sfc_main$1g],
18767
18767
  gallery: {
18768
18768
  id: "yc-card",
18769
18769
  title: "YcCard \u5361\u7247\u5BB9\u5668",
@@ -18772,13 +18772,13 @@
18772
18772
  }
18773
18773
  };
18774
18774
 
18775
- const _hoisted_1$_ = ["aria-selected", "disabled", "onClick"];
18776
- const _hoisted_2$L = { class: "yc-segmented__label" };
18777
- const _hoisted_3$H = {
18775
+ const _hoisted_1$$ = ["aria-selected", "disabled", "onClick"];
18776
+ const _hoisted_2$M = { class: "yc-segmented__label" };
18777
+ const _hoisted_3$I = {
18778
18778
  key: 0,
18779
18779
  class: "yc-segmented__count"
18780
18780
  };
18781
- var _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
18781
+ var _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
18782
18782
  ...{
18783
18783
  name: "YcSegmented"
18784
18784
  },
@@ -18822,19 +18822,19 @@
18822
18822
  }, [
18823
18823
  vue.createElementVNode(
18824
18824
  "span",
18825
- _hoisted_2$L,
18825
+ _hoisted_2$M,
18826
18826
  vue.toDisplayString(opt.label),
18827
18827
  1
18828
18828
  /* TEXT */
18829
18829
  ),
18830
18830
  opt.count !== void 0 ? (vue.openBlock(), vue.createElementBlock(
18831
18831
  "span",
18832
- _hoisted_3$H,
18832
+ _hoisted_3$I,
18833
18833
  vue.toDisplayString(opt.count),
18834
18834
  1
18835
18835
  /* TEXT */
18836
18836
  )) : vue.createCommentVNode("v-if", true)
18837
- ], 10, _hoisted_1$_);
18837
+ ], 10, _hoisted_1$$);
18838
18838
  }),
18839
18839
  128
18840
18840
  /* KEYED_FRAGMENT */
@@ -18847,19 +18847,19 @@
18847
18847
  }
18848
18848
  });
18849
18849
 
18850
- const _hoisted_1$Z = { class: "yc-switch-row__body" };
18851
- const _hoisted_2$K = { class: "yc-switch-row__head" };
18852
- const _hoisted_3$G = { class: "yc-switch-row__title" };
18853
- const _hoisted_4$F = {
18850
+ const _hoisted_1$_ = { class: "yc-switch-row__body" };
18851
+ const _hoisted_2$L = { class: "yc-switch-row__head" };
18852
+ const _hoisted_3$H = { class: "yc-switch-row__title" };
18853
+ const _hoisted_4$G = {
18854
18854
  key: 0,
18855
18855
  class: "yc-switch-row__badge"
18856
18856
  };
18857
- const _hoisted_5$y = {
18857
+ const _hoisted_5$z = {
18858
18858
  key: 0,
18859
18859
  class: "yc-switch-row__desc"
18860
18860
  };
18861
- const _hoisted_6$v = ["aria-checked", "disabled"];
18862
- var _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
18861
+ const _hoisted_6$w = ["aria-checked", "disabled"];
18862
+ var _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
18863
18863
  ...{
18864
18864
  name: "YcSwitchRow"
18865
18865
  },
@@ -18890,18 +18890,18 @@
18890
18890
  onClick: toggle
18891
18891
  },
18892
18892
  [
18893
- vue.createElementVNode("div", _hoisted_1$Z, [
18894
- vue.createElementVNode("div", _hoisted_2$K, [
18893
+ vue.createElementVNode("div", _hoisted_1$_, [
18894
+ vue.createElementVNode("div", _hoisted_2$L, [
18895
18895
  vue.createElementVNode(
18896
18896
  "span",
18897
- _hoisted_3$G,
18897
+ _hoisted_3$H,
18898
18898
  vue.toDisplayString(__props.title),
18899
18899
  1
18900
18900
  /* TEXT */
18901
18901
  ),
18902
18902
  __props.badge ? (vue.openBlock(), vue.createElementBlock(
18903
18903
  "span",
18904
- _hoisted_4$F,
18904
+ _hoisted_4$G,
18905
18905
  vue.toDisplayString(__props.badge),
18906
18906
  1
18907
18907
  /* TEXT */
@@ -18909,7 +18909,7 @@
18909
18909
  ]),
18910
18910
  __props.description ? (vue.openBlock(), vue.createElementBlock(
18911
18911
  "p",
18912
- _hoisted_5$y,
18912
+ _hoisted_5$z,
18913
18913
  vue.toDisplayString(__props.description),
18914
18914
  1
18915
18915
  /* TEXT */
@@ -18930,7 +18930,7 @@
18930
18930
  -1
18931
18931
  /* CACHED */
18932
18932
  )
18933
- ])], 10, _hoisted_6$v)
18933
+ ])], 10, _hoisted_6$w)
18934
18934
  ],
18935
18935
  2
18936
18936
  /* CLASS */
@@ -18939,20 +18939,20 @@
18939
18939
  }
18940
18940
  });
18941
18941
 
18942
- const _hoisted_1$Y = {
18942
+ const _hoisted_1$Z = {
18943
18943
  key: 0,
18944
18944
  class: "yc-choice-cards__label"
18945
18945
  };
18946
- const _hoisted_2$J = ["role"];
18947
- const _hoisted_3$F = ["role", "aria-checked", "disabled", "onClick"];
18948
- const _hoisted_4$E = { class: "yc-choice-card__top" };
18949
- const _hoisted_5$x = { class: "yc-choice-card__title" };
18950
- const _hoisted_6$u = { class: "yc-choice-card__right" };
18951
- const _hoisted_7$r = {
18946
+ const _hoisted_2$K = ["role"];
18947
+ const _hoisted_3$G = ["role", "aria-checked", "disabled", "onClick"];
18948
+ const _hoisted_4$F = { class: "yc-choice-card__top" };
18949
+ const _hoisted_5$y = { class: "yc-choice-card__title" };
18950
+ const _hoisted_6$v = { class: "yc-choice-card__right" };
18951
+ const _hoisted_7$s = {
18952
18952
  key: 0,
18953
18953
  class: "yc-choice-card__meta"
18954
18954
  };
18955
- const _hoisted_8$m = {
18955
+ const _hoisted_8$n = {
18956
18956
  key: 0,
18957
18957
  viewBox: "0 0 24 24",
18958
18958
  width: "10",
@@ -18963,11 +18963,11 @@
18963
18963
  "stroke-linecap": "round",
18964
18964
  "stroke-linejoin": "round"
18965
18965
  };
18966
- const _hoisted_9$k = {
18966
+ const _hoisted_9$l = {
18967
18967
  key: 0,
18968
18968
  class: "yc-choice-card__desc"
18969
18969
  };
18970
- var _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
18970
+ var _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
18971
18971
  ...{
18972
18972
  name: "YcChoiceCards"
18973
18973
  },
@@ -19013,7 +19013,7 @@
19013
19013
  [
19014
19014
  __props.label ? (vue.openBlock(), vue.createElementBlock(
19015
19015
  "div",
19016
- _hoisted_1$Y,
19016
+ _hoisted_1$Z,
19017
19017
  vue.toDisplayString(__props.label),
19018
19018
  1
19019
19019
  /* TEXT */
@@ -19035,18 +19035,18 @@
19035
19035
  disabled: __props.disabled || opt.disabled,
19036
19036
  onClick: ($event) => select(opt)
19037
19037
  }, [
19038
- vue.createElementVNode("div", _hoisted_4$E, [
19038
+ vue.createElementVNode("div", _hoisted_4$F, [
19039
19039
  vue.createElementVNode(
19040
19040
  "span",
19041
- _hoisted_5$x,
19041
+ _hoisted_5$y,
19042
19042
  vue.toDisplayString(opt.title),
19043
19043
  1
19044
19044
  /* TEXT */
19045
19045
  ),
19046
- vue.createElementVNode("div", _hoisted_6$u, [
19046
+ vue.createElementVNode("div", _hoisted_6$v, [
19047
19047
  opt.meta ? (vue.openBlock(), vue.createElementBlock(
19048
19048
  "span",
19049
- _hoisted_7$r,
19049
+ _hoisted_7$s,
19050
19050
  vue.toDisplayString(opt.meta),
19051
19051
  1
19052
19052
  /* TEXT */
@@ -19057,7 +19057,7 @@
19057
19057
  class: vue.normalizeClass(["yc-choice-card__indicator", { "is-checkbox": __props.multiple }])
19058
19058
  },
19059
19059
  [
19060
- isSelected(opt.value) ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_8$m, [..._cache[0] || (_cache[0] = [
19060
+ isSelected(opt.value) ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_8$n, [..._cache[0] || (_cache[0] = [
19061
19061
  vue.createElementVNode(
19062
19062
  "path",
19063
19063
  { d: "M20 6 9 17l-5-5" },
@@ -19074,17 +19074,17 @@
19074
19074
  ]),
19075
19075
  opt.description ? (vue.openBlock(), vue.createElementBlock(
19076
19076
  "p",
19077
- _hoisted_9$k,
19077
+ _hoisted_9$l,
19078
19078
  vue.toDisplayString(opt.description),
19079
19079
  1
19080
19080
  /* TEXT */
19081
19081
  )) : vue.createCommentVNode("v-if", true)
19082
- ], 10, _hoisted_3$F);
19082
+ ], 10, _hoisted_3$G);
19083
19083
  }),
19084
19084
  128
19085
19085
  /* KEYED_FRAGMENT */
19086
19086
  ))
19087
- ], 10, _hoisted_2$J)
19087
+ ], 10, _hoisted_2$K)
19088
19088
  ],
19089
19089
  2
19090
19090
  /* CLASS */
@@ -19093,11 +19093,11 @@
19093
19093
  }
19094
19094
  });
19095
19095
 
19096
- const YcSegmented = withInstall(_sfc_main$1e);
19096
+ const YcSegmented = withInstall(_sfc_main$1f);
19097
19097
  const ReSegmented = YcSegmented;
19098
- const YcSwitchRow = withInstall(_sfc_main$1d);
19098
+ const YcSwitchRow = withInstall(_sfc_main$1e);
19099
19099
  const ReSwitchRow = YcSwitchRow;
19100
- const YcChoiceCards = withInstall(_sfc_main$1c);
19100
+ const YcChoiceCards = withInstall(_sfc_main$1d);
19101
19101
  const ReChoiceCards = YcChoiceCards;
19102
19102
 
19103
19103
  const YcSegmentedGalleryDemo = vue.defineComponent({
@@ -19198,7 +19198,7 @@
19198
19198
 
19199
19199
  const COSS_TABLE_INJECTION_KEY = Symbol("YcCossTableContext");
19200
19200
 
19201
- var _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
19201
+ var _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
19202
19202
  ...{
19203
19203
  name: "YcTable"
19204
19204
  },
@@ -19267,7 +19267,7 @@
19267
19267
  }
19268
19268
  });
19269
19269
 
19270
- var _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
19270
+ var _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
19271
19271
  ...{
19272
19272
  name: "YcTableHeader"
19273
19273
  },
@@ -19292,7 +19292,7 @@
19292
19292
  }
19293
19293
  });
19294
19294
 
19295
- var _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
19295
+ var _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
19296
19296
  ...{
19297
19297
  name: "YcTableBody"
19298
19298
  },
@@ -19317,7 +19317,7 @@
19317
19317
  }
19318
19318
  });
19319
19319
 
19320
- var _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
19320
+ var _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
19321
19321
  ...{
19322
19322
  name: "YcTableFooter"
19323
19323
  },
@@ -19342,8 +19342,8 @@
19342
19342
  }
19343
19343
  });
19344
19344
 
19345
- const _hoisted_1$X = ["data-state"];
19346
- var _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
19345
+ const _hoisted_1$Y = ["data-state"];
19346
+ var _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
19347
19347
  ...{
19348
19348
  name: "YcTableRow"
19349
19349
  },
@@ -19366,18 +19366,18 @@
19366
19366
  "data-state": __props.selected ? "selected" : void 0
19367
19367
  }, [
19368
19368
  vue.renderSlot(_ctx.$slots, "default")
19369
- ], 10, _hoisted_1$X);
19369
+ ], 10, _hoisted_1$Y);
19370
19370
  };
19371
19371
  }
19372
19372
  });
19373
19373
 
19374
- const _hoisted_1$W = { class: "yc-table-head__content" };
19375
- const _hoisted_2$I = {
19374
+ const _hoisted_1$X = { class: "yc-table-head__content" };
19375
+ const _hoisted_2$J = {
19376
19376
  key: 0,
19377
19377
  class: "yc-table-head__sorter",
19378
19378
  "aria-hidden": "true"
19379
19379
  };
19380
- const _hoisted_3$E = {
19380
+ const _hoisted_3$F = {
19381
19381
  key: 0,
19382
19382
  class: "yc-table-head__icon",
19383
19383
  viewBox: "0 0 24 24",
@@ -19389,7 +19389,7 @@
19389
19389
  "stroke-linecap": "round",
19390
19390
  "stroke-linejoin": "round"
19391
19391
  };
19392
- const _hoisted_4$D = {
19392
+ const _hoisted_4$E = {
19393
19393
  key: 1,
19394
19394
  class: "yc-table-head__icon",
19395
19395
  viewBox: "0 0 24 24",
@@ -19401,7 +19401,7 @@
19401
19401
  "stroke-linecap": "round",
19402
19402
  "stroke-linejoin": "round"
19403
19403
  };
19404
- const _hoisted_5$w = {
19404
+ const _hoisted_5$x = {
19405
19405
  key: 2,
19406
19406
  class: "yc-table-head__icon yc-table-head__icon--neutral",
19407
19407
  viewBox: "0 0 24 24",
@@ -19413,7 +19413,7 @@
19413
19413
  "stroke-linecap": "round",
19414
19414
  "stroke-linejoin": "round"
19415
19415
  };
19416
- var _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
19416
+ var _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
19417
19417
  ...{
19418
19418
  name: "YcTableHead"
19419
19419
  },
@@ -19457,10 +19457,10 @@
19457
19457
  onClick: handleClick
19458
19458
  },
19459
19459
  [
19460
- vue.createElementVNode("div", _hoisted_1$W, [
19460
+ vue.createElementVNode("div", _hoisted_1$X, [
19461
19461
  vue.renderSlot(_ctx.$slots, "default"),
19462
- __props.sortable ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$I, [
19463
- __props.sortOrder === "ascending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_3$E, [..._cache[0] || (_cache[0] = [
19462
+ __props.sortable ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$J, [
19463
+ __props.sortOrder === "ascending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_3$F, [..._cache[0] || (_cache[0] = [
19464
19464
  vue.createElementVNode(
19465
19465
  "path",
19466
19466
  { d: "m18 15-6-6-6 6" },
@@ -19468,7 +19468,7 @@
19468
19468
  -1
19469
19469
  /* CACHED */
19470
19470
  )
19471
- ])])) : __props.sortOrder === "descending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_4$D, [..._cache[1] || (_cache[1] = [
19471
+ ])])) : __props.sortOrder === "descending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_4$E, [..._cache[1] || (_cache[1] = [
19472
19472
  vue.createElementVNode(
19473
19473
  "path",
19474
19474
  { d: "m6 9 6 6 6-6" },
@@ -19476,7 +19476,7 @@
19476
19476
  -1
19477
19477
  /* CACHED */
19478
19478
  )
19479
- ])])) : (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$w, [..._cache[2] || (_cache[2] = [
19479
+ ])])) : (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$x, [..._cache[2] || (_cache[2] = [
19480
19480
  vue.createElementVNode(
19481
19481
  "path",
19482
19482
  { d: "m7 15 5 5 5-5" },
@@ -19502,8 +19502,8 @@
19502
19502
  }
19503
19503
  });
19504
19504
 
19505
- const _hoisted_1$V = ["colspan", "rowspan"];
19506
- var _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
19505
+ const _hoisted_1$W = ["colspan", "rowspan"];
19506
+ var _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
19507
19507
  ...{
19508
19508
  name: "YcTableCell"
19509
19509
  },
@@ -19533,12 +19533,12 @@
19533
19533
  style: vue.normalizeStyle(widthStyle.value)
19534
19534
  }, [
19535
19535
  vue.renderSlot(_ctx.$slots, "default")
19536
- ], 14, _hoisted_1$V);
19536
+ ], 14, _hoisted_1$W);
19537
19537
  };
19538
19538
  }
19539
19539
  });
19540
19540
 
19541
- var _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
19541
+ var _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
19542
19542
  ...{
19543
19543
  name: "YcTableCaption"
19544
19544
  },
@@ -19563,11 +19563,11 @@
19563
19563
  }
19564
19564
  });
19565
19565
 
19566
- const _hoisted_1$U = ["checked", "indeterminate"];
19567
- const _hoisted_2$H = ["checked", "aria-label", "onChange"];
19568
- const _hoisted_3$D = { class: "yc-table-empty" };
19569
- const _hoisted_4$C = { class: "yc-table-empty__text" };
19570
- var _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
19566
+ const _hoisted_1$V = ["checked", "indeterminate"];
19567
+ const _hoisted_2$I = ["checked", "aria-label", "onChange"];
19568
+ const _hoisted_3$E = { class: "yc-table-empty" };
19569
+ const _hoisted_4$D = { class: "yc-table-empty__text" };
19570
+ var _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
19571
19571
  ...{
19572
19572
  name: "YcCossTable"
19573
19573
  },
@@ -19699,7 +19699,7 @@
19699
19699
  internalSelection
19700
19700
  });
19701
19701
  return (_ctx, _cache) => {
19702
- return vue.openBlock(), vue.createBlock(_sfc_main$1b, {
19702
+ return vue.openBlock(), vue.createBlock(_sfc_main$1c, {
19703
19703
  variant: __props.variant,
19704
19704
  density: __props.density,
19705
19705
  hoverable: __props.hoverable,
@@ -19711,7 +19711,7 @@
19711
19711
  }, {
19712
19712
  default: vue.withCtx(() => [
19713
19713
  vue.renderSlot(_ctx.$slots, "caption", {}, () => [
19714
- __props.caption ? (vue.openBlock(), vue.createBlock(_sfc_main$14, { key: 0 }, {
19714
+ __props.caption ? (vue.openBlock(), vue.createBlock(_sfc_main$15, { key: 0 }, {
19715
19715
  default: vue.withCtx(() => [
19716
19716
  vue.createTextVNode(
19717
19717
  vue.toDisplayString(__props.caption),
@@ -19728,12 +19728,12 @@
19728
19728
  vue.Fragment,
19729
19729
  { key: 0 },
19730
19730
  [
19731
- vue.createVNode(_sfc_main$1a, null, {
19731
+ vue.createVNode(_sfc_main$1b, null, {
19732
19732
  default: vue.withCtx(() => [
19733
- vue.createVNode(_sfc_main$17, null, {
19733
+ vue.createVNode(_sfc_main$18, null, {
19734
19734
  default: vue.withCtx(() => [
19735
19735
  vue.createCommentVNode(" \u52FE\u9009\u5168\u9009\u5217 "),
19736
- __props.selectable ? (vue.openBlock(), vue.createBlock(_sfc_main$16, {
19736
+ __props.selectable ? (vue.openBlock(), vue.createBlock(_sfc_main$17, {
19737
19737
  key: 0,
19738
19738
  width: "48px",
19739
19739
  align: "center"
@@ -19746,7 +19746,7 @@
19746
19746
  indeterminate: isIndeterminate.value,
19747
19747
  "aria-label": "Select all rows",
19748
19748
  onChange: handleToggleSelectAll
19749
- }, null, 40, _hoisted_1$U)
19749
+ }, null, 40, _hoisted_1$V)
19750
19750
  ]),
19751
19751
  _: 1
19752
19752
  /* STABLE */
@@ -19756,7 +19756,7 @@
19756
19756
  vue.Fragment,
19757
19757
  null,
19758
19758
  vue.renderList(__props.columns, (col) => {
19759
- return vue.openBlock(), vue.createBlock(_sfc_main$16, {
19759
+ return vue.openBlock(), vue.createBlock(_sfc_main$17, {
19760
19760
  key: col.prop,
19761
19761
  align: col.align,
19762
19762
  width: col.width,
@@ -19789,13 +19789,13 @@
19789
19789
  _: 3
19790
19790
  /* FORWARDED */
19791
19791
  }),
19792
- vue.createVNode(_sfc_main$19, null, {
19792
+ vue.createVNode(_sfc_main$1a, null, {
19793
19793
  default: vue.withCtx(() => [
19794
19794
  sortedData.value.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
19795
19795
  vue.Fragment,
19796
19796
  { key: 0 },
19797
19797
  vue.renderList(sortedData.value, (row, rIdx) => {
19798
- return vue.openBlock(), vue.createBlock(_sfc_main$17, {
19798
+ return vue.openBlock(), vue.createBlock(_sfc_main$18, {
19799
19799
  key: getRowIdentity(row, rIdx),
19800
19800
  selected: isRowSelected(row),
19801
19801
  clickable: __props.hoverable,
@@ -19804,7 +19804,7 @@
19804
19804
  default: vue.withCtx(() => [
19805
19805
  vue.createCommentVNode(" \u884C\u52FE\u9009\u5217 "),
19806
19806
  __props.selectable ? (vue.openBlock(), vue.createBlock(
19807
- _sfc_main$15,
19807
+ _sfc_main$16,
19808
19808
  {
19809
19809
  key: 0,
19810
19810
  width: "48px",
@@ -19820,7 +19820,7 @@
19820
19820
  checked: isRowSelected(row),
19821
19821
  "aria-label": `Select row ${rIdx + 1}`,
19822
19822
  onChange: () => handleToggleRowSelect(row)
19823
- }, null, 40, _hoisted_2$H)
19823
+ }, null, 40, _hoisted_2$I)
19824
19824
  ]),
19825
19825
  _: 2
19826
19826
  /* DYNAMIC */
@@ -19833,7 +19833,7 @@
19833
19833
  vue.Fragment,
19834
19834
  null,
19835
19835
  vue.renderList(__props.columns, (col) => {
19836
- return vue.openBlock(), vue.createBlock(_sfc_main$15, {
19836
+ return vue.openBlock(), vue.createBlock(_sfc_main$16, {
19837
19837
  key: col.prop,
19838
19838
  align: col.align,
19839
19839
  class: vue.normalizeClass(col.className)
@@ -19871,15 +19871,15 @@
19871
19871
  { key: 1 },
19872
19872
  [
19873
19873
  vue.createCommentVNode(" \u7A7A\u6570\u636E\u5360\u4F4D\u884C "),
19874
- vue.createVNode(_sfc_main$17, { class: "yc-table-row--empty" }, {
19874
+ vue.createVNode(_sfc_main$18, { class: "yc-table-row--empty" }, {
19875
19875
  default: vue.withCtx(() => [
19876
- vue.createVNode(_sfc_main$15, {
19876
+ vue.createVNode(_sfc_main$16, {
19877
19877
  colspan: __props.columns.length + (__props.selectable ? 1 : 0),
19878
19878
  align: "center"
19879
19879
  }, {
19880
19880
  default: vue.withCtx(() => [
19881
19881
  vue.renderSlot(_ctx.$slots, "empty", {}, () => [
19882
- vue.createElementVNode("div", _hoisted_3$D, [
19882
+ vue.createElementVNode("div", _hoisted_3$E, [
19883
19883
  _cache[1] || (_cache[1] = vue.createElementVNode(
19884
19884
  "svg",
19885
19885
  {
@@ -19907,7 +19907,7 @@
19907
19907
  )),
19908
19908
  vue.createElementVNode(
19909
19909
  "p",
19910
- _hoisted_4$C,
19910
+ _hoisted_4$D,
19911
19911
  vue.toDisplayString(__props.emptyText),
19912
19912
  1
19913
19913
  /* TEXT */
@@ -19930,7 +19930,7 @@
19930
19930
  _: 3
19931
19931
  /* FORWARDED */
19932
19932
  }),
19933
- _ctx.$slots.footer ? (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: 0 }, {
19933
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createBlock(_sfc_main$19, { key: 0 }, {
19934
19934
  default: vue.withCtx(() => [
19935
19935
  vue.renderSlot(_ctx.$slots, "footer")
19936
19936
  ]),
@@ -19958,29 +19958,29 @@
19958
19958
  }
19959
19959
  });
19960
19960
 
19961
- const _hoisted_1$T = {
19961
+ const _hoisted_1$U = {
19962
19962
  key: 0,
19963
19963
  class: "yc-card-frame__header"
19964
19964
  };
19965
- const _hoisted_2$G = { class: "yc-card-frame__title-group" };
19966
- const _hoisted_3$C = {
19965
+ const _hoisted_2$H = { class: "yc-card-frame__title-group" };
19966
+ const _hoisted_3$D = {
19967
19967
  key: 0,
19968
19968
  class: "yc-card-frame__title"
19969
19969
  };
19970
- const _hoisted_4$B = {
19970
+ const _hoisted_4$C = {
19971
19971
  key: 1,
19972
19972
  class: "yc-card-frame__description"
19973
19973
  };
19974
- const _hoisted_5$v = {
19974
+ const _hoisted_5$w = {
19975
19975
  key: 0,
19976
19976
  class: "yc-card-frame__action"
19977
19977
  };
19978
- const _hoisted_6$t = { class: "yc-card-frame__content" };
19979
- const _hoisted_7$q = {
19978
+ const _hoisted_6$u = { class: "yc-card-frame__content" };
19979
+ const _hoisted_7$r = {
19980
19980
  key: 1,
19981
19981
  class: "yc-card-frame__footer"
19982
19982
  };
19983
- var _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
19983
+ var _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
19984
19984
  ...{
19985
19985
  name: "YcCardFrame"
19986
19986
  },
@@ -20000,9 +20000,9 @@
20000
20000
  style: vue.normalizeStyle(__props.customStyle)
20001
20001
  },
20002
20002
  [
20003
- _ctx.$slots.header || __props.title || __props.description || _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
20004
- vue.createElementVNode("div", _hoisted_2$G, [
20005
- __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_3$C, [
20003
+ _ctx.$slots.header || __props.title || __props.description || _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
20004
+ vue.createElementVNode("div", _hoisted_2$H, [
20005
+ __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_3$D, [
20006
20006
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
20007
20007
  vue.createTextVNode(
20008
20008
  vue.toDisplayString(__props.title),
@@ -20011,7 +20011,7 @@
20011
20011
  )
20012
20012
  ])
20013
20013
  ])) : vue.createCommentVNode("v-if", true),
20014
- __props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$B, [
20014
+ __props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$C, [
20015
20015
  vue.renderSlot(_ctx.$slots, "description", {}, () => [
20016
20016
  vue.createTextVNode(
20017
20017
  vue.toDisplayString(__props.description),
@@ -20021,14 +20021,14 @@
20021
20021
  ])
20022
20022
  ])) : vue.createCommentVNode("v-if", true)
20023
20023
  ]),
20024
- _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$v, [
20024
+ _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$w, [
20025
20025
  vue.renderSlot(_ctx.$slots, "action")
20026
20026
  ])) : vue.createCommentVNode("v-if", true)
20027
20027
  ])) : vue.createCommentVNode("v-if", true),
20028
- vue.createElementVNode("div", _hoisted_6$t, [
20028
+ vue.createElementVNode("div", _hoisted_6$u, [
20029
20029
  vue.renderSlot(_ctx.$slots, "default")
20030
20030
  ]),
20031
- _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$q, [
20031
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$r, [
20032
20032
  vue.renderSlot(_ctx.$slots, "footer")
20033
20033
  ])) : vue.createCommentVNode("v-if", true)
20034
20034
  ],
@@ -20039,16 +20039,16 @@
20039
20039
  }
20040
20040
  });
20041
20041
 
20042
- const YcCossTable = withInstall(_sfc_main$13);
20043
- const YcTable = withInstall(_sfc_main$1b);
20044
- const YcTableHeader = withInstall(_sfc_main$1a);
20045
- const YcTableBody = withInstall(_sfc_main$19);
20046
- const YcTableFooter = withInstall(_sfc_main$18);
20047
- const YcTableRow = withInstall(_sfc_main$17);
20048
- const YcTableHead = withInstall(_sfc_main$16);
20049
- const YcTableCell = withInstall(_sfc_main$15);
20050
- const YcTableCaption = withInstall(_sfc_main$14);
20051
- const YcCardFrame = withInstall(_sfc_main$12);
20042
+ const YcCossTable = withInstall(_sfc_main$14);
20043
+ const YcTable = withInstall(_sfc_main$1c);
20044
+ const YcTableHeader = withInstall(_sfc_main$1b);
20045
+ const YcTableBody = withInstall(_sfc_main$1a);
20046
+ const YcTableFooter = withInstall(_sfc_main$19);
20047
+ const YcTableRow = withInstall(_sfc_main$18);
20048
+ const YcTableHead = withInstall(_sfc_main$17);
20049
+ const YcTableCell = withInstall(_sfc_main$16);
20050
+ const YcTableCaption = withInstall(_sfc_main$15);
20051
+ const YcCardFrame = withInstall(_sfc_main$13);
20052
20052
  const CossTable = YcCossTable;
20053
20053
  const ReCossTable = YcCossTable;
20054
20054
  const Table = YcTable;
@@ -20101,21 +20101,21 @@
20101
20101
  var dayjs_minExports = dayjs_min.exports;
20102
20102
  var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
20103
20103
 
20104
- const _hoisted_1$S = { class: "yc-calendar" };
20105
- const _hoisted_2$F = { class: "yc-calendar__header" };
20106
- const _hoisted_3$B = {
20104
+ const _hoisted_1$T = { class: "yc-calendar" };
20105
+ const _hoisted_2$G = { class: "yc-calendar__header" };
20106
+ const _hoisted_3$C = {
20107
20107
  key: 1,
20108
20108
  class: "yc-calendar__nav-placeholder"
20109
20109
  };
20110
- const _hoisted_4$A = { class: "yc-calendar__title" };
20111
- const _hoisted_5$u = {
20110
+ const _hoisted_4$B = { class: "yc-calendar__title" };
20111
+ const _hoisted_5$v = {
20112
20112
  key: 3,
20113
20113
  class: "yc-calendar__nav-placeholder"
20114
20114
  };
20115
- const _hoisted_6$s = { class: "yc-calendar__weekdays" };
20116
- const _hoisted_7$p = ["onClick", "onMouseenter"];
20117
- const _hoisted_8$l = { class: "yc-calendar__day-text" };
20118
- var _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
20115
+ const _hoisted_6$t = { class: "yc-calendar__weekdays" };
20116
+ const _hoisted_7$q = ["onClick", "onMouseenter"];
20117
+ const _hoisted_8$m = { class: "yc-calendar__day-text" };
20118
+ var _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
20119
20119
  ...{
20120
20120
  name: "YcCalendarPanel"
20121
20121
  },
@@ -20215,9 +20215,9 @@
20215
20215
  emit("hover", item.date);
20216
20216
  };
20217
20217
  return (_ctx, _cache) => {
20218
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
20218
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
20219
20219
  vue.createCommentVNode(" \u65E5\u5386\u5934\u90E8\uFF1A\u5E74\u6708\u4E0E\u7FFB\u9875\u6309\u94AE "),
20220
- vue.createElementVNode("div", _hoisted_2$F, [
20220
+ vue.createElementVNode("div", _hoisted_2$G, [
20221
20221
  props.showPrevNav ? (vue.openBlock(), vue.createElementBlock("button", {
20222
20222
  key: 0,
20223
20223
  type: "button",
@@ -20239,10 +20239,10 @@
20239
20239
  -1
20240
20240
  /* CACHED */
20241
20241
  )
20242
- ])])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$B)),
20242
+ ])])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$C)),
20243
20243
  vue.createElementVNode(
20244
20244
  "span",
20245
- _hoisted_4$A,
20245
+ _hoisted_4$B,
20246
20246
  vue.toDisplayString(monthTitle.value),
20247
20247
  1
20248
20248
  /* TEXT */
@@ -20268,10 +20268,10 @@
20268
20268
  -1
20269
20269
  /* CACHED */
20270
20270
  )
20271
- ])])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$u))
20271
+ ])])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$v))
20272
20272
  ]),
20273
20273
  vue.createCommentVNode(" \u661F\u671F\u8868\u5934 "),
20274
- vue.createElementVNode("div", _hoisted_6$s, [
20274
+ vue.createElementVNode("div", _hoisted_6$t, [
20275
20275
  (vue.openBlock(), vue.createElementBlock(
20276
20276
  vue.Fragment,
20277
20277
  null,
@@ -20319,12 +20319,12 @@
20319
20319
  }, [
20320
20320
  vue.createElementVNode(
20321
20321
  "span",
20322
- _hoisted_8$l,
20322
+ _hoisted_8$m,
20323
20323
  vue.toDisplayString(day.dayNumber),
20324
20324
  1
20325
20325
  /* TEXT */
20326
20326
  )
20327
- ], 42, _hoisted_7$p);
20327
+ ], 42, _hoisted_7$q);
20328
20328
  }),
20329
20329
  128
20330
20330
  /* KEYED_FRAGMENT */
@@ -20338,16 +20338,16 @@
20338
20338
  }
20339
20339
  });
20340
20340
 
20341
- const _hoisted_1$R = { class: "yc-date-picker-wrap" };
20342
- const _hoisted_2$E = ["disabled"];
20343
- const _hoisted_3$A = { class: "yc-date-picker-trigger__text" };
20344
- const _hoisted_4$z = { class: "yc-date-picker-content" };
20345
- const _hoisted_5$t = {
20341
+ const _hoisted_1$S = { class: "yc-date-picker-wrap" };
20342
+ const _hoisted_2$F = ["disabled"];
20343
+ const _hoisted_3$B = { class: "yc-date-picker-trigger__text" };
20344
+ const _hoisted_4$A = { class: "yc-date-picker-content" };
20345
+ const _hoisted_5$u = {
20346
20346
  key: 0,
20347
20347
  class: "yc-date-picker-presets"
20348
20348
  };
20349
- const _hoisted_6$r = ["onClick"];
20350
- var _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
20349
+ const _hoisted_6$s = ["onClick"];
20350
+ var _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
20351
20351
  ...{
20352
20352
  name: "YcDatePicker"
20353
20353
  },
@@ -20586,7 +20586,7 @@
20586
20586
  });
20587
20587
  return (_ctx, _cache) => {
20588
20588
  const _component_el_popover = vue.resolveComponent("el-popover");
20589
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
20589
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
20590
20590
  vue.createVNode(_component_el_popover, {
20591
20591
  visible: visible.value,
20592
20592
  "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
@@ -20658,7 +20658,7 @@
20658
20658
  vue.createCommentVNode(" \u6587\u672C\u5C55\u793A "),
20659
20659
  vue.createElementVNode(
20660
20660
  "span",
20661
- _hoisted_3$A,
20661
+ _hoisted_3$B,
20662
20662
  vue.toDisplayString(displayValue.value || placeholderText.value),
20663
20663
  1
20664
20664
  /* TEXT */
@@ -20690,12 +20690,12 @@
20690
20690
  /* CACHED */
20691
20691
  )
20692
20692
  ])])) : vue.createCommentVNode("v-if", true)
20693
- ], 14, _hoisted_2$E)
20693
+ ], 14, _hoisted_2$F)
20694
20694
  ]),
20695
20695
  default: vue.withCtx(() => [
20696
- vue.createElementVNode("div", _hoisted_4$z, [
20696
+ vue.createElementVNode("div", _hoisted_4$A, [
20697
20697
  vue.createCommentVNode(" \u5FEB\u6377\u9884\u8BBE\u4FA7\u680F (Presets Sidebar) "),
20698
- hasPresets.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$t, [
20698
+ hasPresets.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$u, [
20699
20699
  _cache[5] || (_cache[5] = vue.createElementVNode(
20700
20700
  "div",
20701
20701
  { class: "yc-date-picker-presets__title" },
@@ -20712,7 +20712,7 @@
20712
20712
  type: "button",
20713
20713
  class: "yc-date-picker-presets__btn",
20714
20714
  onClick: ($event) => handleApplyPreset(preset)
20715
- }, vue.toDisplayString(preset.label), 9, _hoisted_6$r);
20715
+ }, vue.toDisplayString(preset.label), 9, _hoisted_6$s);
20716
20716
  }),
20717
20717
  128
20718
20718
  /* KEYED_FRAGMENT */
@@ -20726,7 +20726,7 @@
20726
20726
  },
20727
20727
  [
20728
20728
  vue.createCommentVNode(" \u5355\u65E5\u5386 \u6216 \u53CC\u65E5\u5386-\u5DE6 "),
20729
- vue.createVNode(_sfc_main$11, {
20729
+ vue.createVNode(_sfc_main$12, {
20730
20730
  "view-month": viewMonth.value,
20731
20731
  mode: props.mode,
20732
20732
  "selected-date": selectedDate.value,
@@ -20742,7 +20742,7 @@
20742
20742
  onNext: nextMonth
20743
20743
  }, null, 8, ["view-month", "mode", "selected-date", "range-start", "range-end", "hover-date", "disabled-date", "show-next-nav"]),
20744
20744
  vue.createCommentVNode(" \u53CC\u65E5\u5386-\u53F3 (Range \u6A21\u5F0F\u8054\u52A8\u53F3\u6708) "),
20745
- props.mode === "range" && props.dualCalendar ? (vue.openBlock(), vue.createBlock(_sfc_main$11, {
20745
+ props.mode === "range" && props.dualCalendar ? (vue.openBlock(), vue.createBlock(_sfc_main$12, {
20746
20746
  key: 0,
20747
20747
  "view-month": nextCalendarMonth.value,
20748
20748
  mode: props.mode,
@@ -20772,7 +20772,7 @@
20772
20772
  }
20773
20773
  });
20774
20774
 
20775
- var _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
20775
+ var _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
20776
20776
  ...{
20777
20777
  name: "YcDateRangePicker"
20778
20778
  },
@@ -20801,7 +20801,7 @@
20801
20801
  const emit = __emit;
20802
20802
  return (_ctx, _cache) => {
20803
20803
  return vue.openBlock(), vue.createBlock(
20804
- _sfc_main$10,
20804
+ _sfc_main$11,
20805
20805
  vue.mergeProps(props, {
20806
20806
  mode: "range",
20807
20807
  "onUpdate:modelValue": _cache[0] || (_cache[0] = (val) => emit("update:modelValue", val)),
@@ -20817,7 +20817,7 @@
20817
20817
  });
20818
20818
 
20819
20819
  const YcDateRangePicker = withInstall(
20820
- _sfc_main$$
20820
+ _sfc_main$10
20821
20821
  );
20822
20822
  const ReDateRangePicker = YcDateRangePicker;
20823
20823
 
@@ -20839,41 +20839,48 @@
20839
20839
  }
20840
20840
  };
20841
20841
 
20842
- const _hoisted_1$Q = { class: "yc-display-card yc-display-table-card" };
20843
- const _hoisted_2$D = {
20842
+ const _hoisted_1$R = { class: "yc-display-card yc-display-table-card" };
20843
+ const _hoisted_2$E = {
20844
20844
  key: 0,
20845
20845
  class: "yc-display-card__header"
20846
20846
  };
20847
- const _hoisted_3$z = { class: "yc-display-card__title-wrap" };
20848
- const _hoisted_4$y = {
20847
+ const _hoisted_3$A = { class: "yc-display-card__title-wrap" };
20848
+ const _hoisted_4$z = {
20849
20849
  key: 0,
20850
20850
  class: "yc-display-card__title"
20851
20851
  };
20852
- const _hoisted_5$s = {
20852
+ const _hoisted_5$t = {
20853
20853
  key: 1,
20854
20854
  class: "yc-display-card__subtitle"
20855
20855
  };
20856
- const _hoisted_6$q = { class: "yc-display-card__badge" };
20857
- const _hoisted_7$o = {
20856
+ const _hoisted_6$r = { class: "yc-display-card__badge" };
20857
+ const _hoisted_7$p = {
20858
20858
  key: 1,
20859
20859
  class: "yc-display-table-card__summary"
20860
20860
  };
20861
- const _hoisted_8$k = { class: "yc-display-table-card__summary-label" };
20862
- const _hoisted_9$j = { class: "yc-display-table-card__summary-value" };
20863
- const _hoisted_10$i = { class: "yc-display-table-card__scroll" };
20864
- const _hoisted_11$i = {
20861
+ const _hoisted_8$l = { class: "yc-display-table-card__summary-label" };
20862
+ const _hoisted_9$k = { class: "yc-display-table-card__summary-value" };
20863
+ const _hoisted_10$j = {
20864
+ key: 2,
20865
+ class: "yc-display-table-card__search"
20866
+ };
20867
+ const _hoisted_11$j = { class: "yc-display-table-card__scroll" };
20868
+ const _hoisted_12$i = {
20865
20869
  key: 0,
20866
20870
  class: "yc-display-table-card__table"
20867
20871
  };
20868
- const _hoisted_12$h = {
20872
+ const _hoisted_13$h = {
20869
20873
  key: 1,
20870
20874
  class: "yc-display-card__empty"
20871
20875
  };
20872
- const _hoisted_13$g = {
20873
- key: 2,
20876
+ const _hoisted_14$e = {
20877
+ key: 3,
20874
20878
  class: "yc-display-card__footer"
20875
20879
  };
20876
- var _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
20880
+ const _hoisted_15$d = ["disabled"];
20881
+ const _hoisted_16$d = { class: "yc-display-table-card__page" };
20882
+ const _hoisted_17$c = ["disabled"];
20883
+ var _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
20877
20884
  ...{ name: "YcDisplayTableCard" },
20878
20885
  __name: "table-card",
20879
20886
  props: {
@@ -20886,17 +20893,41 @@
20886
20893
  },
20887
20894
  setup(__props) {
20888
20895
  const props = __props;
20889
- const expanded = vue.ref(false);
20896
+ const query = vue.ref("");
20897
+ const page = vue.ref(1);
20890
20898
  const normalizedColumns = vue.computed(() => {
20891
20899
  if (props.columns.length > 0) return props.columns;
20892
20900
  const first = props.rows[0];
20893
20901
  if (!first || typeof first !== "object") return [];
20894
20902
  return Object.keys(first).map((key) => ({ key, label: key }));
20895
20903
  });
20896
- const hasMore = vue.computed(() => props.rows.length > props.maxRows);
20897
- const visibleRows = vue.computed(
20898
- () => expanded.value || !hasMore.value ? props.rows : props.rows.slice(0, props.maxRows)
20904
+ const filteredRows = vue.computed(() => {
20905
+ const keyword = query.value.trim().toLowerCase();
20906
+ if (!keyword) return props.rows;
20907
+ return props.rows.filter(
20908
+ (row) => normalizedColumns.value.some(
20909
+ (col) => formatCell(row, col).toLowerCase().includes(keyword)
20910
+ )
20911
+ );
20912
+ });
20913
+ const pageCount = vue.computed(
20914
+ () => Math.max(1, Math.ceil(filteredRows.value.length / props.maxRows))
20899
20915
  );
20916
+ const showControls = vue.computed(() => props.rows.length > props.maxRows);
20917
+ const visibleRows = vue.computed(() => {
20918
+ if (!showControls.value) return filteredRows.value;
20919
+ const start = (page.value - 1) * props.maxRows;
20920
+ return filteredRows.value.slice(start, start + props.maxRows);
20921
+ });
20922
+ vue.watch(query, () => {
20923
+ page.value = 1;
20924
+ });
20925
+ vue.watch(pageCount, (count) => {
20926
+ if (page.value > count) page.value = count;
20927
+ });
20928
+ function stepPage(delta) {
20929
+ page.value = Math.min(pageCount.value, Math.max(1, page.value + delta));
20930
+ }
20900
20931
  function formatCell(row, col) {
20901
20932
  const raw = row == null ? void 0 : row[col.key];
20902
20933
  if (raw === void 0 || raw === null || raw === "") return "\u2014";
@@ -20904,19 +20935,19 @@
20904
20935
  return col.unit ? `${text} ${col.unit}` : text;
20905
20936
  }
20906
20937
  return (_ctx, _cache) => {
20907
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
20908
- __props.title || __props.subtitle || __props.rows.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$D, [
20909
- vue.createElementVNode("div", _hoisted_3$z, [
20938
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
20939
+ __props.title || __props.subtitle || __props.rows.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$E, [
20940
+ vue.createElementVNode("div", _hoisted_3$A, [
20910
20941
  __props.title ? (vue.openBlock(), vue.createElementBlock(
20911
20942
  "div",
20912
- _hoisted_4$y,
20943
+ _hoisted_4$z,
20913
20944
  vue.toDisplayString(__props.title),
20914
20945
  1
20915
20946
  /* TEXT */
20916
20947
  )) : vue.createCommentVNode("v-if", true),
20917
20948
  __props.subtitle ? (vue.openBlock(), vue.createElementBlock(
20918
20949
  "div",
20919
- _hoisted_5$s,
20950
+ _hoisted_5$t,
20920
20951
  vue.toDisplayString(__props.subtitle),
20921
20952
  1
20922
20953
  /* TEXT */
@@ -20924,13 +20955,13 @@
20924
20955
  ]),
20925
20956
  vue.createElementVNode(
20926
20957
  "span",
20927
- _hoisted_6$q,
20958
+ _hoisted_6$r,
20928
20959
  "\u5171 " + vue.toDisplayString(__props.rows.length) + " \u6761",
20929
20960
  1
20930
20961
  /* TEXT */
20931
20962
  )
20932
20963
  ])) : vue.createCommentVNode("v-if", true),
20933
- __props.summary.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$o, [
20964
+ __props.summary.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$p, [
20934
20965
  (vue.openBlock(true), vue.createElementBlock(
20935
20966
  vue.Fragment,
20936
20967
  null,
@@ -20941,14 +20972,14 @@
20941
20972
  }, [
20942
20973
  vue.createElementVNode(
20943
20974
  "span",
20944
- _hoisted_8$k,
20975
+ _hoisted_8$l,
20945
20976
  vue.toDisplayString(item.label),
20946
20977
  1
20947
20978
  /* TEXT */
20948
20979
  ),
20949
20980
  vue.createElementVNode(
20950
20981
  "strong",
20951
- _hoisted_9$j,
20982
+ _hoisted_9$k,
20952
20983
  vue.toDisplayString(item.value),
20953
20984
  1
20954
20985
  /* TEXT */
@@ -20959,8 +20990,25 @@
20959
20990
  /* KEYED_FRAGMENT */
20960
20991
  ))
20961
20992
  ])) : vue.createCommentVNode("v-if", true),
20962
- vue.createElementVNode("div", _hoisted_10$i, [
20963
- normalizedColumns.value.length && __props.rows.length ? (vue.openBlock(), vue.createElementBlock("table", _hoisted_11$i, [
20993
+ showControls.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$j, [
20994
+ vue.withDirectives(vue.createElementVNode(
20995
+ "input",
20996
+ {
20997
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => query.value = $event),
20998
+ type: "search",
20999
+ class: "yc-display-table-card__search-input",
21000
+ placeholder: "\u641C\u7D22\u8868\u683C",
21001
+ "aria-label": "\u641C\u7D22\u8868\u683C"
21002
+ },
21003
+ null,
21004
+ 512
21005
+ /* NEED_PATCH */
21006
+ ), [
21007
+ [vue.vModelText, query.value]
21008
+ ])
21009
+ ])) : vue.createCommentVNode("v-if", true),
21010
+ vue.createElementVNode("div", _hoisted_11$j, [
21011
+ normalizedColumns.value.length && __props.rows.length ? (vue.openBlock(), vue.createElementBlock("table", _hoisted_12$i, [
20964
21012
  vue.createElementVNode("thead", null, [
20965
21013
  vue.createElementVNode("tr", null, [
20966
21014
  (vue.openBlock(true), vue.createElementBlock(
@@ -21015,66 +21063,74 @@
21015
21063
  /* KEYED_FRAGMENT */
21016
21064
  ))
21017
21065
  ])
21018
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$h, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8868\u683C\u6570\u636E"))
21066
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$h, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8868\u683C\u6570\u636E"))
21019
21067
  ]),
21020
- hasMore.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$g, [
21068
+ showControls.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$e, [
21069
+ vue.createElementVNode("button", {
21070
+ type: "button",
21071
+ class: "yc-display-card__toggle",
21072
+ disabled: page.value <= 1,
21073
+ onClick: _cache[1] || (_cache[1] = ($event) => stepPage(-1))
21074
+ }, " \u4E0A\u4E00\u9875 ", 8, _hoisted_15$d),
21021
21075
  vue.createElementVNode(
21022
- "button",
21023
- {
21024
- type: "button",
21025
- class: "yc-display-card__toggle",
21026
- onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
21027
- },
21028
- vue.toDisplayString(expanded.value ? "\u6536\u8D77\u660E\u7EC6" : `\u5C55\u5F00\u5168\u90E8 ${__props.rows.length} \u884C`),
21076
+ "span",
21077
+ _hoisted_16$d,
21078
+ vue.toDisplayString(page.value) + " / " + vue.toDisplayString(pageCount.value) + " \xB7 " + vue.toDisplayString(filteredRows.value.length) + " \u6761 ",
21029
21079
  1
21030
21080
  /* TEXT */
21031
- )
21081
+ ),
21082
+ vue.createElementVNode("button", {
21083
+ type: "button",
21084
+ class: "yc-display-card__toggle",
21085
+ disabled: page.value >= pageCount.value,
21086
+ onClick: _cache[2] || (_cache[2] = ($event) => stepPage(1))
21087
+ }, " \u4E0B\u4E00\u9875 ", 8, _hoisted_17$c)
21032
21088
  ])) : vue.createCommentVNode("v-if", true)
21033
21089
  ]);
21034
21090
  };
21035
21091
  }
21036
21092
  });
21037
21093
 
21038
- var TableCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-8a770ce3"]]);
21094
+ var TableCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-8a140e59"]]);
21039
21095
 
21040
- const _hoisted_1$P = { class: "yc-display-card yc-display-metrics-card" };
21041
- const _hoisted_2$C = {
21096
+ const _hoisted_1$Q = { class: "yc-display-card yc-display-metrics-card" };
21097
+ const _hoisted_2$D = {
21042
21098
  key: 0,
21043
21099
  class: "yc-display-card__header"
21044
21100
  };
21045
- const _hoisted_3$y = { class: "yc-display-card__title-wrap" };
21046
- const _hoisted_4$x = {
21101
+ const _hoisted_3$z = { class: "yc-display-card__title-wrap" };
21102
+ const _hoisted_4$y = {
21047
21103
  key: 0,
21048
21104
  class: "yc-display-card__title"
21049
21105
  };
21050
- const _hoisted_5$r = {
21106
+ const _hoisted_5$s = {
21051
21107
  key: 1,
21052
21108
  class: "yc-display-card__subtitle"
21053
21109
  };
21054
- const _hoisted_6$p = {
21110
+ const _hoisted_6$q = {
21055
21111
  key: 1,
21056
21112
  class: "yc-display-metrics-card__grid"
21057
21113
  };
21058
- const _hoisted_7$n = { class: "yc-display-metrics-card__label" };
21059
- const _hoisted_8$j = { class: "yc-display-metrics-card__value-row" };
21060
- const _hoisted_9$i = { class: "yc-display-metrics-card__value" };
21061
- const _hoisted_10$h = {
21114
+ const _hoisted_7$o = { class: "yc-display-metrics-card__label" };
21115
+ const _hoisted_8$k = { class: "yc-display-metrics-card__value-row" };
21116
+ const _hoisted_9$j = { class: "yc-display-metrics-card__value" };
21117
+ const _hoisted_10$i = {
21062
21118
  key: 0,
21063
21119
  class: "yc-display-metrics-card__unit"
21064
21120
  };
21065
- const _hoisted_11$h = {
21121
+ const _hoisted_11$i = {
21066
21122
  key: 0,
21067
21123
  class: "yc-display-metrics-card__meta"
21068
21124
  };
21069
- const _hoisted_12$g = {
21125
+ const _hoisted_12$h = {
21070
21126
  key: 1,
21071
21127
  class: "yc-display-metrics-card__desc"
21072
21128
  };
21073
- const _hoisted_13$f = {
21129
+ const _hoisted_13$g = {
21074
21130
  key: 2,
21075
21131
  class: "yc-display-card__empty"
21076
21132
  };
21077
- var _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
21133
+ var _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
21078
21134
  ...{ name: "YcDisplayMetricsCard" },
21079
21135
  __name: "metrics-card",
21080
21136
  props: {
@@ -21084,26 +21140,26 @@
21084
21140
  },
21085
21141
  setup(__props) {
21086
21142
  return (_ctx, _cache) => {
21087
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
21088
- __props.title || __props.subtitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, [
21089
- vue.createElementVNode("div", _hoisted_3$y, [
21143
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
21144
+ __props.title || __props.subtitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$D, [
21145
+ vue.createElementVNode("div", _hoisted_3$z, [
21090
21146
  __props.title ? (vue.openBlock(), vue.createElementBlock(
21091
21147
  "div",
21092
- _hoisted_4$x,
21148
+ _hoisted_4$y,
21093
21149
  vue.toDisplayString(__props.title),
21094
21150
  1
21095
21151
  /* TEXT */
21096
21152
  )) : vue.createCommentVNode("v-if", true),
21097
21153
  __props.subtitle ? (vue.openBlock(), vue.createElementBlock(
21098
21154
  "div",
21099
- _hoisted_5$r,
21155
+ _hoisted_5$s,
21100
21156
  vue.toDisplayString(__props.subtitle),
21101
21157
  1
21102
21158
  /* TEXT */
21103
21159
  )) : vue.createCommentVNode("v-if", true)
21104
21160
  ])
21105
21161
  ])) : vue.createCommentVNode("v-if", true),
21106
- __props.items.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$p, [
21162
+ __props.items.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$q, [
21107
21163
  (vue.openBlock(true), vue.createElementBlock(
21108
21164
  vue.Fragment,
21109
21165
  null,
@@ -21115,28 +21171,28 @@
21115
21171
  }, [
21116
21172
  vue.createElementVNode(
21117
21173
  "div",
21118
- _hoisted_7$n,
21174
+ _hoisted_7$o,
21119
21175
  vue.toDisplayString(item.label),
21120
21176
  1
21121
21177
  /* TEXT */
21122
21178
  ),
21123
- vue.createElementVNode("div", _hoisted_8$j, [
21179
+ vue.createElementVNode("div", _hoisted_8$k, [
21124
21180
  vue.createElementVNode(
21125
21181
  "span",
21126
- _hoisted_9$i,
21182
+ _hoisted_9$j,
21127
21183
  vue.toDisplayString(item.value),
21128
21184
  1
21129
21185
  /* TEXT */
21130
21186
  ),
21131
21187
  item.unit ? (vue.openBlock(), vue.createElementBlock(
21132
21188
  "span",
21133
- _hoisted_10$h,
21189
+ _hoisted_10$i,
21134
21190
  vue.toDisplayString(item.unit),
21135
21191
  1
21136
21192
  /* TEXT */
21137
21193
  )) : vue.createCommentVNode("v-if", true)
21138
21194
  ]),
21139
- item.trend || item.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$h, [
21195
+ item.trend || item.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$i, [
21140
21196
  item.trend ? (vue.openBlock(), vue.createElementBlock(
21141
21197
  "span",
21142
21198
  {
@@ -21149,7 +21205,7 @@
21149
21205
  )) : vue.createCommentVNode("v-if", true),
21150
21206
  item.description ? (vue.openBlock(), vue.createElementBlock(
21151
21207
  "span",
21152
- _hoisted_12$g,
21208
+ _hoisted_12$h,
21153
21209
  vue.toDisplayString(item.description),
21154
21210
  1
21155
21211
  /* TEXT */
@@ -21160,41 +21216,41 @@
21160
21216
  128
21161
21217
  /* KEYED_FRAGMENT */
21162
21218
  ))
21163
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$f, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u6307\u6807\u6570\u636E"))
21219
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$g, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u6307\u6807\u6570\u636E"))
21164
21220
  ]);
21165
21221
  };
21166
21222
  }
21167
21223
  });
21168
21224
 
21169
- var MetricsCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-3598faf5"]]);
21225
+ var MetricsCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-e32f55d2"]]);
21170
21226
 
21171
- const _hoisted_1$O = { class: "yc-display-card yc-display-detail-card" };
21172
- const _hoisted_2$B = {
21227
+ const _hoisted_1$P = { class: "yc-display-card yc-display-detail-card" };
21228
+ const _hoisted_2$C = {
21173
21229
  key: 0,
21174
21230
  class: "yc-display-card__header"
21175
21231
  };
21176
- const _hoisted_3$x = { class: "yc-display-card__title-wrap" };
21177
- const _hoisted_4$w = {
21232
+ const _hoisted_3$y = { class: "yc-display-card__title-wrap" };
21233
+ const _hoisted_4$x = {
21178
21234
  key: 0,
21179
21235
  class: "yc-display-card__title"
21180
21236
  };
21181
- const _hoisted_5$q = {
21237
+ const _hoisted_5$r = {
21182
21238
  key: 1,
21183
21239
  class: "yc-display-card__subtitle"
21184
21240
  };
21185
- const _hoisted_6$o = {
21241
+ const _hoisted_6$p = {
21186
21242
  key: 1,
21187
21243
  class: "yc-display-detail-card__fields"
21188
21244
  };
21189
- const _hoisted_7$m = {
21245
+ const _hoisted_7$n = {
21190
21246
  key: 2,
21191
21247
  class: "yc-display-card__empty"
21192
21248
  };
21193
- const _hoisted_8$i = {
21249
+ const _hoisted_8$j = {
21194
21250
  key: 3,
21195
21251
  class: "yc-display-detail-card__note"
21196
21252
  };
21197
- var _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
21253
+ var _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
21198
21254
  ...{ name: "YcDisplayDetailCard" },
21199
21255
  __name: "detail-card",
21200
21256
  props: {
@@ -21207,19 +21263,19 @@
21207
21263
  setup(__props) {
21208
21264
  return (_ctx, _cache) => {
21209
21265
  var _a, _b, _c;
21210
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
21211
- __props.title || __props.subtitle || ((_a = __props.status) == null ? void 0 : _a.text) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$B, [
21212
- vue.createElementVNode("div", _hoisted_3$x, [
21266
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
21267
+ __props.title || __props.subtitle || ((_a = __props.status) == null ? void 0 : _a.text) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, [
21268
+ vue.createElementVNode("div", _hoisted_3$y, [
21213
21269
  __props.title ? (vue.openBlock(), vue.createElementBlock(
21214
21270
  "div",
21215
- _hoisted_4$w,
21271
+ _hoisted_4$x,
21216
21272
  vue.toDisplayString(__props.title),
21217
21273
  1
21218
21274
  /* TEXT */
21219
21275
  )) : vue.createCommentVNode("v-if", true),
21220
21276
  __props.subtitle ? (vue.openBlock(), vue.createElementBlock(
21221
21277
  "div",
21222
- _hoisted_5$q,
21278
+ _hoisted_5$r,
21223
21279
  vue.toDisplayString(__props.subtitle),
21224
21280
  1
21225
21281
  /* TEXT */
@@ -21236,7 +21292,7 @@
21236
21292
  /* TEXT, CLASS */
21237
21293
  )) : vue.createCommentVNode("v-if", true)
21238
21294
  ])) : vue.createCommentVNode("v-if", true),
21239
- __props.fields.length ? (vue.openBlock(), vue.createElementBlock("dl", _hoisted_6$o, [
21295
+ __props.fields.length ? (vue.openBlock(), vue.createElementBlock("dl", _hoisted_6$p, [
21240
21296
  (vue.openBlock(true), vue.createElementBlock(
21241
21297
  vue.Fragment,
21242
21298
  null,
@@ -21270,10 +21326,10 @@
21270
21326
  128
21271
21327
  /* KEYED_FRAGMENT */
21272
21328
  ))
21273
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$m, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8BE6\u60C5\u5B57\u6BB5")),
21329
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$n, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8BE6\u60C5\u5B57\u6BB5")),
21274
21330
  __props.note ? (vue.openBlock(), vue.createElementBlock(
21275
21331
  "div",
21276
- _hoisted_8$i,
21332
+ _hoisted_8$j,
21277
21333
  vue.toDisplayString(__props.note),
21278
21334
  1
21279
21335
  /* TEXT */
@@ -21283,19 +21339,931 @@
21283
21339
  }
21284
21340
  });
21285
21341
 
21286
- var DetailCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-ceb0fb47"]]);
21342
+ var DetailCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-d75e2d96"]]);
21343
+
21344
+ const _hoisted_1$O = { class: "yc-display-card__header" };
21345
+ const _hoisted_2$B = { class: "yc-display-card__title-wrap yc-display-form-card__title-group" };
21346
+ const _hoisted_3$x = { class: "yc-display-form-card__titles" };
21347
+ const _hoisted_4$w = { class: "yc-display-card__title" };
21348
+ const _hoisted_5$q = {
21349
+ key: 0,
21350
+ class: "yc-display-card__subtitle"
21351
+ };
21352
+ const _hoisted_6$o = {
21353
+ key: 0,
21354
+ class: "yc-display-form-card__loading"
21355
+ };
21356
+ const _hoisted_7$m = {
21357
+ key: 1,
21358
+ class: "yc-display-form-card__body"
21359
+ };
21360
+ const _hoisted_8$i = {
21361
+ key: 0,
21362
+ class: "yc-display-form-card__grid"
21363
+ };
21364
+ const _hoisted_9$i = { class: "yc-display-form-card__label" };
21365
+ const _hoisted_10$h = {
21366
+ key: 0,
21367
+ class: "is-required"
21368
+ };
21369
+ const _hoisted_11$h = ["value", "disabled", "onFocus", "onChange"];
21370
+ const _hoisted_12$g = { value: "" };
21371
+ const _hoisted_13$f = ["value"];
21372
+ const _hoisted_14$d = ["type", "value", "disabled", "onInput"];
21373
+ const _hoisted_15$c = ["step", "inputmode", "value", "disabled", "placeholder", "onInput"];
21374
+ const _hoisted_16$c = ["aria-checked", "disabled", "onClick"];
21375
+ const _hoisted_17$b = {
21376
+ key: 4,
21377
+ class: "yc-display-form-card__upload"
21378
+ };
21379
+ const _hoisted_18$b = ["accept", "onChange"];
21380
+ const _hoisted_19$a = { class: "yc-display-form-card__upload-list" };
21381
+ const _hoisted_20$a = {
21382
+ key: 0,
21383
+ class: "yc-display-form-card__thumb"
21384
+ };
21385
+ const _hoisted_21$9 = ["src", "alt"];
21386
+ const _hoisted_22$9 = ["onClick"];
21387
+ const _hoisted_23$7 = {
21388
+ key: 1,
21389
+ class: "yc-display-form-card__file-chip"
21390
+ };
21391
+ const _hoisted_24$6 = { class: "yc-display-form-card__file-name" };
21392
+ const _hoisted_25$6 = ["onClick"];
21393
+ const _hoisted_26$6 = ["disabled", "onClick"];
21394
+ const _hoisted_27$6 = { key: 0 };
21395
+ const _hoisted_28$6 = { key: 1 };
21396
+ const _hoisted_29$6 = ["value", "disabled", "placeholder", "onInput"];
21397
+ const _hoisted_30$6 = ["value", "disabled", "placeholder", "onInput"];
21398
+ const _hoisted_31$6 = { class: "yc-display-form-card__actions" };
21399
+ const _hoisted_32$5 = ["disabled"];
21400
+ const _hoisted_33$4 = ["disabled"];
21401
+ const _hoisted_34$4 = {
21402
+ key: 1,
21403
+ class: "yc-display-form-card__alert is-error"
21404
+ };
21405
+ const _hoisted_35$4 = {
21406
+ key: 2,
21407
+ class: "yc-display-form-card__alert is-success"
21408
+ };
21409
+ const _hoisted_36$3 = {
21410
+ key: 3,
21411
+ class: "yc-display-form-card__result"
21412
+ };
21413
+ const _hoisted_37$3 = {
21414
+ key: 0,
21415
+ class: "yc-display-form-card__table-wrap"
21416
+ };
21417
+ const _hoisted_38$3 = { class: "yc-display-form-card__table" };
21418
+ const _hoisted_39$2 = {
21419
+ key: 1,
21420
+ class: "yc-display-form-card__kv"
21421
+ };
21422
+ const _hoisted_40$2 = { class: "yc-display-form-card__kv-label" };
21423
+ const _hoisted_41$2 = { class: "yc-display-form-card__kv-value" };
21424
+ var _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
21425
+ ...{ name: "YcDisplayFormCard" },
21426
+ __name: "form-card",
21427
+ props: {
21428
+ title: { default: "" },
21429
+ subtitle: { default: "" },
21430
+ operation: { default: "" },
21431
+ mode: { default: void 0 },
21432
+ submitLabel: { default: "" },
21433
+ replyPrefix: { default: "" },
21434
+ fields: { default: () => [] },
21435
+ values: { default: () => ({}) },
21436
+ compact: { type: Boolean, default: false },
21437
+ skillName: { default: "" },
21438
+ executeAction: { type: Function, default: void 0 },
21439
+ uploadFile: { type: Function, default: void 0 }
21440
+ },
21441
+ emits: ["action"],
21442
+ setup(__props, { emit: __emit }) {
21443
+ const props = __props;
21444
+ const emit = __emit;
21445
+ const schemaTitle = vue.ref("");
21446
+ const schemaReadOnly = vue.ref(null);
21447
+ const loadedFields = vue.ref([]);
21448
+ const loadingSchema = vue.ref(false);
21449
+ const executing = vue.ref(false);
21450
+ const errorMessage = vue.ref("");
21451
+ const submitReceipt = vue.ref(null);
21452
+ const resultData = vue.ref(null);
21453
+ const hasExecuted = vue.ref(false);
21454
+ const replySent = vue.ref(false);
21455
+ const formValues = vue.reactive({});
21456
+ const remoteOptions = vue.reactive({});
21457
+ const loadingOptions = vue.reactive({});
21458
+ const uploadedFiles = vue.reactive({});
21459
+ const uploadingFields = vue.reactive({});
21460
+ const fileInputRefs = /* @__PURE__ */ new Map();
21461
+ const resolvedMode = vue.computed(() => {
21462
+ if (props.mode === "reply") return "reply";
21463
+ if (props.mode === "submit") return "submit";
21464
+ if (props.mode === "query") return "query";
21465
+ return schemaReadOnly.value === false ? "submit" : "query";
21466
+ });
21467
+ const cardTitle = vue.computed(() => {
21468
+ var _a;
21469
+ if ((_a = props.title) == null ? void 0 : _a.trim()) return props.title.trim();
21470
+ if (schemaTitle.value) return schemaTitle.value;
21471
+ return props.skillName || "\u4E1A\u52A1\u8868\u5355";
21472
+ });
21473
+ const cardSubtitle = vue.computed(
21474
+ () => {
21475
+ var _a;
21476
+ return ((_a = props.subtitle) == null ? void 0 : _a.trim()) ? props.subtitle.trim() : "";
21477
+ }
21478
+ );
21479
+ const resolvedSubmitLabel = vue.computed(() => {
21480
+ var _a;
21481
+ if ((_a = props.submitLabel) == null ? void 0 : _a.trim()) return props.submitLabel.trim();
21482
+ return resolvedMode.value === "query" ? "\u67E5\u8BE2" : "\u63D0\u4EA4";
21483
+ });
21484
+ const canExecute = vue.computed(
21485
+ () => {
21486
+ var _a;
21487
+ return resolvedMode.value === "reply" ? !replySent.value : Boolean(((_a = props.operation) == null ? void 0 : _a.trim()) && props.executeAction);
21488
+ }
21489
+ );
21490
+ function isObject(value) {
21491
+ return Boolean(value) && typeof value === "object" && !Array.isArray(value);
21492
+ }
21493
+ function normalizeInlineOptions(raw) {
21494
+ var _a;
21495
+ if (!Array.isArray(raw)) return void 0;
21496
+ const options = [];
21497
+ for (const item of raw) {
21498
+ if (typeof item === "string" || typeof item === "number") {
21499
+ options.push({ label: String(item), value: item });
21500
+ } else if (isObject(item) && item.value !== void 0 && item.value !== null) {
21501
+ options.push({
21502
+ label: String((_a = item.label) != null ? _a : item.value),
21503
+ value: typeof item.value === "string" || typeof item.value === "number" || typeof item.value === "boolean" ? item.value : String(item.value)
21504
+ });
21505
+ }
21506
+ }
21507
+ return options.length ? options : void 0;
21508
+ }
21509
+ const inlineFields = vue.computed(() => {
21510
+ if (!Array.isArray(props.fields)) return [];
21511
+ return props.fields.filter((item) => Boolean(item) && typeof item === "object" && Boolean(item.name)).map((item) => {
21512
+ var _a;
21513
+ return {
21514
+ ...item,
21515
+ name: String(item.name),
21516
+ label: String((_a = item.label) != null ? _a : item.name),
21517
+ visible: item.visible !== false
21518
+ };
21519
+ });
21520
+ });
21521
+ const visibleFields = vue.computed(() => {
21522
+ const source = inlineFields.value.length > 0 ? inlineFields.value : loadedFields.value;
21523
+ return source.filter((field) => field.visible !== false);
21524
+ });
21525
+ function isSelectField(field) {
21526
+ var _a, _b;
21527
+ return Boolean(
21528
+ field.widget === "select" || field.options_operation || ((_a = field.options) == null ? void 0 : _a.length) || ((_b = field.enum) == null ? void 0 : _b.length)
21529
+ );
21530
+ }
21531
+ function isDateField(field) {
21532
+ return field.widget === "date" || field.widget === "datetime";
21533
+ }
21534
+ function isNumberField(field) {
21535
+ return field.type === "number" || field.type === "integer";
21536
+ }
21537
+ function isUploadField(field) {
21538
+ return field.widget === "image" || field.widget === "file";
21539
+ }
21540
+ function extractArray(obj) {
21541
+ for (const key of ["data", "rows", "items", "list", "records"]) {
21542
+ if (Array.isArray(obj[key])) return obj[key];
21543
+ }
21544
+ return null;
21545
+ }
21546
+ const resultRows = vue.computed(() => {
21547
+ if (!hasExecuted.value || resultData.value == null) return null;
21548
+ const raw = Array.isArray(resultData.value) ? resultData.value : isObject(resultData.value) ? extractArray(resultData.value) : null;
21549
+ if (!raw) return null;
21550
+ return raw.filter((item) => isObject(item));
21551
+ });
21552
+ const resultColumns = vue.computed(() => {
21553
+ const rows = resultRows.value;
21554
+ if (!(rows == null ? void 0 : rows.length)) return [];
21555
+ return Object.keys(rows[0]);
21556
+ });
21557
+ const resultDetailEntries = vue.computed(() => {
21558
+ if (!hasExecuted.value || resultRows.value || resultData.value == null) {
21559
+ return [];
21560
+ }
21561
+ if (!isObject(resultData.value)) {
21562
+ return [{ label: "\u7ED3\u679C", value: String(resultData.value) }];
21563
+ }
21564
+ return Object.entries(resultData.value).filter(
21565
+ ([, val]) => val === null || ["string", "number", "boolean"].includes(typeof val)
21566
+ ).map(([key, val]) => ({
21567
+ label: key,
21568
+ value: val === null ? "-" : String(val)
21569
+ }));
21570
+ });
21571
+ function initPrefilledValues() {
21572
+ if (isObject(props.values)) {
21573
+ for (const [k, v] of Object.entries(props.values)) {
21574
+ formValues[k] = v;
21575
+ }
21576
+ }
21577
+ }
21578
+ function extractSelectOptions(data, labelKey, valueKey) {
21579
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
21580
+ const rows = Array.isArray(data) ? data : isObject(data) ? (_a = extractArray(data)) != null ? _a : [] : [];
21581
+ const options = [];
21582
+ for (const row of rows) {
21583
+ if (typeof row === "string" || typeof row === "number") {
21584
+ options.push({ label: String(row), value: row });
21585
+ continue;
21586
+ }
21587
+ if (!isObject(row)) continue;
21588
+ const rawVal = (_g = (_f = (_e = (_d = (_c = (_b = valueKey && row[valueKey] !== void 0 ? row[valueKey] : void 0) != null ? _b : row.id) != null ? _c : row.value) != null ? _d : row.code) != null ? _e : row.key) != null ? _f : row.projectId) != null ? _g : row.name;
21589
+ const rawLabel = (_l = (_k = (_j = (_i = (_h = labelKey && row[labelKey] !== void 0 ? row[labelKey] : void 0) != null ? _h : row.name) != null ? _i : row.label) != null ? _j : row.title) != null ? _k : row.projectName) != null ? _l : rawVal;
21590
+ if (rawVal === void 0 || rawVal === null) continue;
21591
+ options.push({
21592
+ label: String(rawLabel != null ? rawLabel : rawVal),
21593
+ value: typeof rawVal === "string" || typeof rawVal === "number" || typeof rawVal === "boolean" ? rawVal : String(rawVal)
21594
+ });
21595
+ }
21596
+ return options;
21597
+ }
21598
+ async function loadFieldOptions(field) {
21599
+ const op = field.options_operation;
21600
+ if (!op || !props.executeAction || remoteOptions[field.name] || loadingOptions[field.name]) {
21601
+ return;
21602
+ }
21603
+ loadingOptions[field.name] = true;
21604
+ try {
21605
+ const res = await props.executeAction({ operation: op, mode: "options" });
21606
+ remoteOptions[field.name] = extractSelectOptions(
21607
+ res.data,
21608
+ field.option_label_key,
21609
+ field.option_value_key
21610
+ );
21611
+ } catch (e) {
21612
+ remoteOptions[field.name] = [];
21613
+ } finally {
21614
+ loadingOptions[field.name] = false;
21615
+ }
21616
+ }
21617
+ function fieldOptions(field) {
21618
+ var _a;
21619
+ if ((_a = remoteOptions[field.name]) == null ? void 0 : _a.length) {
21620
+ return remoteOptions[field.name];
21621
+ }
21622
+ const inline = normalizeInlineOptions(field.options);
21623
+ if (inline == null ? void 0 : inline.length) return inline;
21624
+ if (Array.isArray(field.enum) && field.enum.length > 0) {
21625
+ return field.enum.map((item) => ({
21626
+ label: String(item),
21627
+ value: typeof item === "string" || typeof item === "number" || typeof item === "boolean" ? item : String(item)
21628
+ }));
21629
+ }
21630
+ return [];
21631
+ }
21632
+ function handleSelectChange(field, event) {
21633
+ var _a;
21634
+ const select = event.target;
21635
+ const raw = (_a = select == null ? void 0 : select.value) != null ? _a : "";
21636
+ if (raw === "") {
21637
+ formValues[field.name] = void 0;
21638
+ return;
21639
+ }
21640
+ const matched = fieldOptions(field).find((opt) => String(opt.value) === raw);
21641
+ formValues[field.name] = matched ? matched.value : raw;
21642
+ }
21643
+ function handleNumberInput(field, event) {
21644
+ var _a;
21645
+ const input = event.target;
21646
+ const raw = (_a = input == null ? void 0 : input.value) != null ? _a : "";
21647
+ if (raw.trim() === "") {
21648
+ formValues[field.name] = void 0;
21649
+ return;
21650
+ }
21651
+ const num = Number(raw);
21652
+ formValues[field.name] = Number.isNaN(num) ? raw : num;
21653
+ }
21654
+ function formatDateInputValue(field, value) {
21655
+ if (value === void 0 || value === null) return "";
21656
+ const text = String(value);
21657
+ if (field.widget === "datetime") {
21658
+ return text.replace(" ", "T").slice(0, 16);
21659
+ }
21660
+ return text.slice(0, 10);
21661
+ }
21662
+ function handleDateInput(field, event) {
21663
+ var _a;
21664
+ const input = event.target;
21665
+ const raw = (_a = input == null ? void 0 : input.value) != null ? _a : "";
21666
+ if (!raw) {
21667
+ formValues[field.name] = void 0;
21668
+ return;
21669
+ }
21670
+ formValues[field.name] = field.widget === "datetime" ? raw.replace("T", " ") : raw;
21671
+ }
21672
+ async function loadSchemaIfNeeded() {
21673
+ var _a, _b, _c;
21674
+ if (inlineFields.value.length > 0) {
21675
+ for (const f of visibleFields.value) {
21676
+ if (f.options_operation) void loadFieldOptions(f);
21677
+ }
21678
+ return;
21679
+ }
21680
+ if (!((_a = props.operation) == null ? void 0 : _a.trim()) || !props.executeAction) return;
21681
+ loadingSchema.value = true;
21682
+ try {
21683
+ const res = await props.executeAction({
21684
+ operation: props.operation.trim(),
21685
+ mode: "schema",
21686
+ schema_only: true
21687
+ });
21688
+ schemaTitle.value = res.title || "";
21689
+ schemaReadOnly.value = (_b = res.read_only) != null ? _b : null;
21690
+ loadedFields.value = (_c = res.fields) != null ? _c : [];
21691
+ for (const f of loadedFields.value) {
21692
+ if (f.options_operation) void loadFieldOptions(f);
21693
+ }
21694
+ } catch (err) {
21695
+ errorMessage.value = err instanceof Error ? err.message : "\u52A0\u8F7D\u8868\u5355\u5B57\u6BB5\u5B9A\u4E49\u5931\u8D25";
21696
+ } finally {
21697
+ loadingSchema.value = false;
21698
+ }
21699
+ }
21700
+ function setFileInputRef(fieldName, el) {
21701
+ if (el instanceof HTMLInputElement) {
21702
+ fileInputRefs.set(fieldName, el);
21703
+ } else {
21704
+ fileInputRefs.delete(fieldName);
21705
+ }
21706
+ }
21707
+ function triggerFileSelect(fieldName) {
21708
+ var _a;
21709
+ if (replySent.value || uploadingFields[fieldName]) return;
21710
+ (_a = fileInputRefs.get(fieldName)) == null ? void 0 : _a.click();
21711
+ }
21712
+ function syncUploadFormValue(fieldName) {
21713
+ var _a;
21714
+ const items = (_a = uploadedFiles[fieldName]) != null ? _a : [];
21715
+ formValues[fieldName] = items.length ? items.map((item) => item.attachment.fileName) : void 0;
21716
+ }
21717
+ async function createImagePreview(file) {
21718
+ if (typeof URL !== "undefined" && typeof URL.createObjectURL === "function") {
21719
+ return { previewUrl: URL.createObjectURL(file), isObjectUrl: true };
21720
+ }
21721
+ if (typeof FileReader !== "undefined") {
21722
+ return new Promise((resolve) => {
21723
+ const reader = new FileReader();
21724
+ reader.onload = () => {
21725
+ resolve({
21726
+ previewUrl: typeof reader.result === "string" ? reader.result : void 0,
21727
+ isObjectUrl: false
21728
+ });
21729
+ };
21730
+ reader.onerror = () => resolve({});
21731
+ reader.readAsDataURL(file);
21732
+ });
21733
+ }
21734
+ return {};
21735
+ }
21736
+ async function handleFileInputChange(field, event) {
21737
+ const input = event.target;
21738
+ const files = (input == null ? void 0 : input.files) ? Array.from(input.files) : [];
21739
+ if (input) input.value = "";
21740
+ if (!files.length) return;
21741
+ if (!props.uploadFile) {
21742
+ errorMessage.value = "\u5F53\u524D\u9875\u9762\u672A\u914D\u7F6E\u8868\u5355\u4E0A\u4F20\u80FD\u529B\uFF0C\u8BF7\u5728\u4E0B\u65B9\u8F93\u5165\u6846\u76F4\u63A5\u53D1\u9001\u56FE\u7247";
21743
+ return;
21744
+ }
21745
+ errorMessage.value = "";
21746
+ uploadingFields[field.name] = true;
21747
+ if (!uploadedFiles[field.name]) uploadedFiles[field.name] = [];
21748
+ try {
21749
+ for (const file of files) {
21750
+ const attachment = await props.uploadFile(file);
21751
+ const isImage = field.widget === "image" || file.type.startsWith("image/");
21752
+ const preview = isImage ? await createImagePreview(file) : {};
21753
+ uploadedFiles[field.name].push({
21754
+ attachment,
21755
+ previewUrl: preview.previewUrl,
21756
+ isObjectUrl: preview.isObjectUrl
21757
+ });
21758
+ }
21759
+ syncUploadFormValue(field.name);
21760
+ } catch (err) {
21761
+ errorMessage.value = err instanceof Error ? err.message : `\u4E0A\u4F20\u300C${field.label || field.name}\u300D\u5931\u8D25`;
21762
+ } finally {
21763
+ uploadingFields[field.name] = false;
21764
+ }
21765
+ }
21766
+ function removeUploadedItem(fieldName, index) {
21767
+ if (replySent.value) return;
21768
+ const list = uploadedFiles[fieldName];
21769
+ if (!list) return;
21770
+ const [removed] = list.splice(index, 1);
21771
+ if ((removed == null ? void 0 : removed.previewUrl) && removed.isObjectUrl && typeof URL !== "undefined" && typeof URL.revokeObjectURL === "function") {
21772
+ URL.revokeObjectURL(removed.previewUrl);
21773
+ }
21774
+ syncUploadFormValue(fieldName);
21775
+ }
21776
+ function collectUploadedAttachments() {
21777
+ const result = [];
21778
+ for (const field of inlineFields.value) {
21779
+ if (!isUploadField(field)) continue;
21780
+ const list = uploadedFiles[field.name];
21781
+ if (list == null ? void 0 : list.length) {
21782
+ for (const item of list) result.push(item.attachment);
21783
+ }
21784
+ }
21785
+ return result;
21786
+ }
21787
+ function isBlank(value) {
21788
+ if (Array.isArray(value)) return value.length === 0;
21789
+ return value === void 0 || value === null || String(value).trim() === "";
21790
+ }
21791
+ function displayValue(field, value) {
21792
+ var _a;
21793
+ if (isUploadField(field)) {
21794
+ const items = (_a = uploadedFiles[field.name]) != null ? _a : [];
21795
+ if (items.length) {
21796
+ return `\u5DF2\u968F\u6D88\u606F\u4E0A\u4F20 ${items.length} \u4E2A\u9644\u4EF6\uFF08${items.map((item) => item.attachment.fileName).join("\u3001")}\uFF09`;
21797
+ }
21798
+ }
21799
+ const option = fieldOptions(field).find((opt) => opt.value === value);
21800
+ if (!option || option.label === String(value)) return String(value);
21801
+ return `${option.label}\uFF08${String(value)}\uFF09`;
21802
+ }
21803
+ function buildReplyText() {
21804
+ var _a;
21805
+ const prefix = ((_a = props.replyPrefix) == null ? void 0 : _a.trim()) ? props.replyPrefix.trim() : `\u8BF7\u6309\u4EE5\u4E0B\u4FE1\u606F${cardTitle.value}`;
21806
+ const lines = [];
21807
+ for (const field of inlineFields.value) {
21808
+ const value = formValues[field.name];
21809
+ if (isBlank(value)) continue;
21810
+ lines.push(`${field.label || field.name}\uFF1A${displayValue(field, value)}`);
21811
+ }
21812
+ return [`${prefix}\uFF1A`, ...lines].join("\n");
21813
+ }
21814
+ async function handleExecute() {
21815
+ if (!canExecute.value || executing.value) return;
21816
+ errorMessage.value = "";
21817
+ submitReceipt.value = null;
21818
+ if (Object.values(uploadingFields).some(Boolean)) {
21819
+ errorMessage.value = "\u9644\u4EF6\u6B63\u5728\u4E0A\u4F20\u4E2D\uFF0C\u8BF7\u7A0D\u5019\u518D\u63D0\u4EA4";
21820
+ return;
21821
+ }
21822
+ for (const field of visibleFields.value) {
21823
+ if (field.required && isBlank(formValues[field.name])) {
21824
+ const label = field.label || field.name;
21825
+ errorMessage.value = isUploadField(field) ? `\u8BF7\u5148\u4E0A\u4F20\u300C${label}\u300D` : `\u8BF7\u5148\u586B\u5199\u300C${label}\u300D`;
21826
+ return;
21827
+ }
21828
+ }
21829
+ if (resolvedMode.value === "reply") {
21830
+ const attachments = collectUploadedAttachments();
21831
+ replySent.value = true;
21832
+ submitReceipt.value = "\u5DF2\u63D0\u4EA4\uFF0CAgent \u6B63\u5728\u6309\u4F60\u586B\u5199\u7684\u4FE1\u606F\u5904\u7406";
21833
+ if (attachments.length) {
21834
+ emit("action", buildReplyText(), attachments);
21835
+ } else {
21836
+ emit("action", buildReplyText());
21837
+ }
21838
+ return;
21839
+ }
21840
+ if (!props.executeAction) return;
21841
+ executing.value = true;
21842
+ try {
21843
+ const payload = {};
21844
+ for (const [k, v] of Object.entries(formValues)) {
21845
+ if (!isBlank(v)) {
21846
+ payload[k] = v;
21847
+ }
21848
+ }
21849
+ const res = await props.executeAction({
21850
+ operation: props.operation.trim(),
21851
+ mode: resolvedMode.value,
21852
+ values: payload
21853
+ });
21854
+ hasExecuted.value = true;
21855
+ resultData.value = res.data;
21856
+ if (resolvedMode.value === "submit") {
21857
+ submitReceipt.value = `${cardTitle.value}\u5DF2\u63D0\u4EA4\u6210\u529F`;
21858
+ }
21859
+ } catch (err) {
21860
+ errorMessage.value = err instanceof Error ? err.message : "\u64CD\u4F5C\u6267\u884C\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u8F93\u5165\u6761\u4EF6";
21861
+ } finally {
21862
+ executing.value = false;
21863
+ }
21864
+ }
21865
+ function revokeAllUploadPreviews() {
21866
+ if (typeof URL === "undefined" || typeof URL.revokeObjectURL !== "function") {
21867
+ return;
21868
+ }
21869
+ for (const list of Object.values(uploadedFiles)) {
21870
+ for (const item of list) {
21871
+ if (item.previewUrl && item.isObjectUrl) URL.revokeObjectURL(item.previewUrl);
21872
+ }
21873
+ }
21874
+ }
21875
+ function handleReset() {
21876
+ for (const key of Object.keys(formValues)) {
21877
+ delete formValues[key];
21878
+ }
21879
+ revokeAllUploadPreviews();
21880
+ for (const key of Object.keys(uploadedFiles)) {
21881
+ delete uploadedFiles[key];
21882
+ }
21883
+ initPrefilledValues();
21884
+ errorMessage.value = "";
21885
+ if (!replySent.value) submitReceipt.value = null;
21886
+ }
21887
+ vue.watch(
21888
+ () => props.values,
21889
+ () => {
21890
+ initPrefilledValues();
21891
+ },
21892
+ { immediate: true, deep: true }
21893
+ );
21894
+ vue.onMounted(() => {
21895
+ void loadSchemaIfNeeded();
21896
+ });
21897
+ vue.onBeforeUnmount(() => {
21898
+ revokeAllUploadPreviews();
21899
+ });
21900
+ return (_ctx, _cache) => {
21901
+ var _a;
21902
+ return vue.openBlock(), vue.createElementBlock(
21903
+ "div",
21904
+ {
21905
+ class: vue.normalizeClass(["yc-display-card yc-display-form-card", { "is-compact": __props.compact }])
21906
+ },
21907
+ [
21908
+ vue.createElementVNode("div", _hoisted_1$O, [
21909
+ vue.createElementVNode("div", _hoisted_2$B, [
21910
+ _cache[0] || (_cache[0] = vue.createElementVNode(
21911
+ "span",
21912
+ { class: "yc-display-form-card__accent" },
21913
+ null,
21914
+ -1
21915
+ /* CACHED */
21916
+ )),
21917
+ vue.createElementVNode("div", _hoisted_3$x, [
21918
+ vue.createElementVNode(
21919
+ "div",
21920
+ _hoisted_4$w,
21921
+ vue.toDisplayString(cardTitle.value),
21922
+ 1
21923
+ /* TEXT */
21924
+ ),
21925
+ cardSubtitle.value ? (vue.openBlock(), vue.createElementBlock(
21926
+ "div",
21927
+ _hoisted_5$q,
21928
+ vue.toDisplayString(cardSubtitle.value),
21929
+ 1
21930
+ /* TEXT */
21931
+ )) : vue.createCommentVNode("v-if", true)
21932
+ ])
21933
+ ]),
21934
+ vue.createElementVNode(
21935
+ "span",
21936
+ {
21937
+ class: vue.normalizeClass(["yc-display-form-card__badge", resolvedMode.value === "query" ? "is-query" : "is-form"])
21938
+ },
21939
+ vue.toDisplayString(resolvedMode.value === "query" ? "\u7B5B\u9009\u67E5\u8BE2" : "\u4E1A\u52A1\u8868\u5355"),
21940
+ 3
21941
+ /* TEXT, CLASS */
21942
+ )
21943
+ ]),
21944
+ loadingSchema.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$o, " \u6B63\u5728\u52A0\u8F7D\u8868\u5355\u914D\u7F6E\u2026 ")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$m, [
21945
+ visibleFields.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$i, [
21946
+ (vue.openBlock(true), vue.createElementBlock(
21947
+ vue.Fragment,
21948
+ null,
21949
+ vue.renderList(visibleFields.value, (field) => {
21950
+ var _a2, _b, _c, _d, _e;
21951
+ return vue.openBlock(), vue.createElementBlock(
21952
+ "div",
21953
+ {
21954
+ key: field.name,
21955
+ class: vue.normalizeClass(["yc-display-form-card__field", {
21956
+ "is-full-row": field.widget === "textarea" || isUploadField(field)
21957
+ }])
21958
+ },
21959
+ [
21960
+ vue.createElementVNode("label", _hoisted_9$i, [
21961
+ field.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10$h, "*")) : vue.createCommentVNode("v-if", true),
21962
+ vue.createTextVNode(
21963
+ " " + vue.toDisplayString(field.label || field.name),
21964
+ 1
21965
+ /* TEXT */
21966
+ )
21967
+ ]),
21968
+ isSelectField(field) ? (vue.openBlock(), vue.createElementBlock("select", {
21969
+ key: 0,
21970
+ value: (_a2 = formValues[field.name]) != null ? _a2 : "",
21971
+ disabled: replySent.value,
21972
+ class: "yc-display-form-card__control yc-display-form-card__select",
21973
+ onFocus: ($event) => loadFieldOptions(field),
21974
+ onChange: (event) => handleSelectChange(field, event)
21975
+ }, [
21976
+ vue.createElementVNode(
21977
+ "option",
21978
+ _hoisted_12$g,
21979
+ vue.toDisplayString(loadingOptions[field.name] ? "\u52A0\u8F7D\u9009\u9879\u4E2D\u2026" : `\u8BF7\u9009\u62E9${field.label || field.name}`),
21980
+ 1
21981
+ /* TEXT */
21982
+ ),
21983
+ (vue.openBlock(true), vue.createElementBlock(
21984
+ vue.Fragment,
21985
+ null,
21986
+ vue.renderList(fieldOptions(field), (opt) => {
21987
+ return vue.openBlock(), vue.createElementBlock("option", {
21988
+ key: String(opt.value),
21989
+ value: String(opt.value)
21990
+ }, vue.toDisplayString(opt.label), 9, _hoisted_13$f);
21991
+ }),
21992
+ 128
21993
+ /* KEYED_FRAGMENT */
21994
+ ))
21995
+ ], 40, _hoisted_11$h)) : isDateField(field) ? (vue.openBlock(), vue.createElementBlock("input", {
21996
+ key: 1,
21997
+ type: field.widget === "datetime" ? "datetime-local" : "date",
21998
+ value: formatDateInputValue(field, formValues[field.name]),
21999
+ disabled: replySent.value,
22000
+ class: "yc-display-form-card__control yc-display-form-card__input",
22001
+ onInput: (event) => handleDateInput(field, event)
22002
+ }, null, 40, _hoisted_14$d)) : isNumberField(field) ? (vue.openBlock(), vue.createElementBlock("input", {
22003
+ key: 2,
22004
+ type: "number",
22005
+ step: field.type === "integer" ? "1" : "any",
22006
+ inputmode: field.type === "integer" ? "numeric" : "decimal",
22007
+ value: (_b = formValues[field.name]) != null ? _b : "",
22008
+ disabled: replySent.value,
22009
+ placeholder: `\u8BF7\u8F93\u5165${field.label || field.name}`,
22010
+ class: "yc-display-form-card__control yc-display-form-card__input",
22011
+ onInput: (event) => handleNumberInput(field, event)
22012
+ }, null, 40, _hoisted_15$c)) : field.type === "boolean" ? (vue.openBlock(), vue.createElementBlock("button", {
22013
+ key: 3,
22014
+ type: "button",
22015
+ role: "switch",
22016
+ "aria-checked": Boolean(formValues[field.name]),
22017
+ disabled: replySent.value,
22018
+ class: vue.normalizeClass(["yc-display-form-card__switch", { "is-checked": Boolean(formValues[field.name]) }]),
22019
+ onClick: ($event) => formValues[field.name] = !formValues[field.name]
22020
+ }, [..._cache[1] || (_cache[1] = [
22021
+ vue.createElementVNode(
22022
+ "span",
22023
+ { class: "yc-display-form-card__switch-thumb" },
22024
+ null,
22025
+ -1
22026
+ /* CACHED */
22027
+ )
22028
+ ])], 10, _hoisted_16$c)) : isUploadField(field) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$b, [
22029
+ vue.createElementVNode("input", {
22030
+ ref_for: true,
22031
+ ref: (el) => setFileInputRef(field.name, el),
22032
+ type: "file",
22033
+ multiple: "",
22034
+ accept: field.widget === "image" ? "image/*" : void 0,
22035
+ class: "yc-display-form-card__upload-input",
22036
+ onChange: (event) => handleFileInputChange(field, event)
22037
+ }, null, 40, _hoisted_18$b),
22038
+ vue.createElementVNode("div", _hoisted_19$a, [
22039
+ (vue.openBlock(true), vue.createElementBlock(
22040
+ vue.Fragment,
22041
+ null,
22042
+ vue.renderList((_c = uploadedFiles[field.name]) != null ? _c : [], (item, idx) => {
22043
+ return vue.openBlock(), vue.createElementBlock(
22044
+ vue.Fragment,
22045
+ {
22046
+ key: `${item.attachment.fileRef || item.attachment.fileName}-${idx}`
22047
+ },
22048
+ [
22049
+ item.previewUrl ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20$a, [
22050
+ vue.createElementVNode("img", {
22051
+ src: item.previewUrl,
22052
+ alt: item.attachment.fileName
22053
+ }, null, 8, _hoisted_21$9),
22054
+ !replySent.value ? (vue.openBlock(), vue.createElementBlock("button", {
22055
+ key: 0,
22056
+ type: "button",
22057
+ class: "yc-display-form-card__thumb-remove",
22058
+ title: "\u79FB\u9664",
22059
+ onClick: ($event) => removeUploadedItem(field.name, idx)
22060
+ }, " \xD7 ", 8, _hoisted_22$9)) : vue.createCommentVNode("v-if", true)
22061
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_23$7, [
22062
+ vue.createElementVNode(
22063
+ "span",
22064
+ _hoisted_24$6,
22065
+ vue.toDisplayString(item.attachment.fileName),
22066
+ 1
22067
+ /* TEXT */
22068
+ ),
22069
+ !replySent.value ? (vue.openBlock(), vue.createElementBlock("button", {
22070
+ key: 0,
22071
+ type: "button",
22072
+ class: "yc-display-form-card__file-remove",
22073
+ title: "\u79FB\u9664",
22074
+ onClick: ($event) => removeUploadedItem(field.name, idx)
22075
+ }, " \xD7 ", 8, _hoisted_25$6)) : vue.createCommentVNode("v-if", true)
22076
+ ]))
22077
+ ],
22078
+ 64
22079
+ /* STABLE_FRAGMENT */
22080
+ );
22081
+ }),
22082
+ 128
22083
+ /* KEYED_FRAGMENT */
22084
+ )),
22085
+ !replySent.value ? (vue.openBlock(), vue.createElementBlock("button", {
22086
+ key: 0,
22087
+ type: "button",
22088
+ class: vue.normalizeClass(["yc-display-form-card__upload-trigger", {
22089
+ "is-image": field.widget === "image",
22090
+ "is-loading": Boolean(uploadingFields[field.name])
22091
+ }]),
22092
+ disabled: Boolean(uploadingFields[field.name]),
22093
+ onClick: ($event) => triggerFileSelect(field.name)
22094
+ }, [
22095
+ uploadingFields[field.name] ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_27$6, "\u4E0A\u4F20\u4E2D\u2026")) : (vue.openBlock(), vue.createElementBlock(
22096
+ "span",
22097
+ _hoisted_28$6,
22098
+ vue.toDisplayString(field.widget === "image" ? "+ \u4E0A\u4F20\u56FE\u7247" : "+ \u4E0A\u4F20\u9644\u4EF6"),
22099
+ 1
22100
+ /* TEXT */
22101
+ ))
22102
+ ], 10, _hoisted_26$6)) : vue.createCommentVNode("v-if", true)
22103
+ ])
22104
+ ])) : field.widget === "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
22105
+ key: 5,
22106
+ rows: "3",
22107
+ value: String((_d = formValues[field.name]) != null ? _d : ""),
22108
+ disabled: replySent.value,
22109
+ placeholder: `\u8BF7\u8F93\u5165${field.label || field.name}`,
22110
+ class: "yc-display-form-card__control yc-display-form-card__textarea",
22111
+ onInput: (event) => formValues[field.name] = event.target.value
22112
+ }, null, 40, _hoisted_29$6)) : (vue.openBlock(), vue.createElementBlock("input", {
22113
+ key: 6,
22114
+ type: "text",
22115
+ value: String((_e = formValues[field.name]) != null ? _e : ""),
22116
+ disabled: replySent.value,
22117
+ placeholder: `\u8BF7\u8F93\u5165${field.label || field.name}`,
22118
+ class: "yc-display-form-card__control yc-display-form-card__input",
22119
+ onInput: (event) => formValues[field.name] = event.target.value
22120
+ }, null, 40, _hoisted_30$6))
22121
+ ],
22122
+ 2
22123
+ /* CLASS */
22124
+ );
22125
+ }),
22126
+ 128
22127
+ /* KEYED_FRAGMENT */
22128
+ ))
22129
+ ])) : vue.createCommentVNode("v-if", true),
22130
+ vue.createElementVNode("div", _hoisted_31$6, [
22131
+ vue.createElementVNode("button", {
22132
+ type: "button",
22133
+ class: "yc-display-form-card__btn is-primary",
22134
+ disabled: !canExecute.value || executing.value,
22135
+ onClick: handleExecute
22136
+ }, vue.toDisplayString(executing.value ? "\u5904\u7406\u4E2D\u2026" : resolvedSubmitLabel.value), 9, _hoisted_32$5),
22137
+ vue.createElementVNode("button", {
22138
+ type: "button",
22139
+ class: "yc-display-form-card__btn is-default",
22140
+ disabled: executing.value || replySent.value,
22141
+ onClick: handleReset
22142
+ }, " \u91CD\u7F6E ", 8, _hoisted_33$4)
22143
+ ]),
22144
+ errorMessage.value ? (vue.openBlock(), vue.createElementBlock(
22145
+ "div",
22146
+ _hoisted_34$4,
22147
+ vue.toDisplayString(errorMessage.value),
22148
+ 1
22149
+ /* TEXT */
22150
+ )) : vue.createCommentVNode("v-if", true),
22151
+ submitReceipt.value ? (vue.openBlock(), vue.createElementBlock(
22152
+ "div",
22153
+ _hoisted_35$4,
22154
+ vue.toDisplayString(submitReceipt.value),
22155
+ 1
22156
+ /* TEXT */
22157
+ )) : vue.createCommentVNode("v-if", true),
22158
+ hasExecuted.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_36$3, [
22159
+ ((_a = resultRows.value) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_37$3, [
22160
+ vue.createElementVNode("table", _hoisted_38$3, [
22161
+ vue.createElementVNode("thead", null, [
22162
+ vue.createElementVNode("tr", null, [
22163
+ (vue.openBlock(true), vue.createElementBlock(
22164
+ vue.Fragment,
22165
+ null,
22166
+ vue.renderList(resultColumns.value, (col) => {
22167
+ return vue.openBlock(), vue.createElementBlock(
22168
+ "th",
22169
+ { key: col },
22170
+ vue.toDisplayString(col),
22171
+ 1
22172
+ /* TEXT */
22173
+ );
22174
+ }),
22175
+ 128
22176
+ /* KEYED_FRAGMENT */
22177
+ ))
22178
+ ])
22179
+ ]),
22180
+ vue.createElementVNode("tbody", null, [
22181
+ (vue.openBlock(true), vue.createElementBlock(
22182
+ vue.Fragment,
22183
+ null,
22184
+ vue.renderList(resultRows.value, (row, rIdx) => {
22185
+ return vue.openBlock(), vue.createElementBlock("tr", { key: rIdx }, [
22186
+ (vue.openBlock(true), vue.createElementBlock(
22187
+ vue.Fragment,
22188
+ null,
22189
+ vue.renderList(resultColumns.value, (col) => {
22190
+ var _a2;
22191
+ return vue.openBlock(), vue.createElementBlock(
22192
+ "td",
22193
+ { key: col },
22194
+ vue.toDisplayString((_a2 = row[col]) != null ? _a2 : "\u2014"),
22195
+ 1
22196
+ /* TEXT */
22197
+ );
22198
+ }),
22199
+ 128
22200
+ /* KEYED_FRAGMENT */
22201
+ ))
22202
+ ]);
22203
+ }),
22204
+ 128
22205
+ /* KEYED_FRAGMENT */
22206
+ ))
22207
+ ])
22208
+ ])
22209
+ ])) : resultDetailEntries.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_39$2, [
22210
+ (vue.openBlock(true), vue.createElementBlock(
22211
+ vue.Fragment,
22212
+ null,
22213
+ vue.renderList(resultDetailEntries.value, (entry) => {
22214
+ return vue.openBlock(), vue.createElementBlock("div", {
22215
+ key: entry.label,
22216
+ class: "yc-display-form-card__kv-row"
22217
+ }, [
22218
+ vue.createElementVNode(
22219
+ "span",
22220
+ _hoisted_40$2,
22221
+ vue.toDisplayString(entry.label),
22222
+ 1
22223
+ /* TEXT */
22224
+ ),
22225
+ vue.createElementVNode(
22226
+ "span",
22227
+ _hoisted_41$2,
22228
+ vue.toDisplayString(entry.value),
22229
+ 1
22230
+ /* TEXT */
22231
+ )
22232
+ ]);
22233
+ }),
22234
+ 128
22235
+ /* KEYED_FRAGMENT */
22236
+ ))
22237
+ ])) : vue.createCommentVNode("v-if", true)
22238
+ ])) : vue.createCommentVNode("v-if", true)
22239
+ ]))
22240
+ ],
22241
+ 2
22242
+ /* CLASS */
22243
+ );
22244
+ };
22245
+ }
22246
+ });
22247
+
22248
+ var FormCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-4190ddf5"]]);
21287
22249
 
21288
22250
  const YcDisplayTableCard = withInstall(TableCard);
21289
22251
  const YcDisplayMetricsCard = withInstall(MetricsCard);
21290
22252
  const YcDisplayDetailCard = withInstall(DetailCard);
22253
+ const YcDisplayFormCard = withInstall(FormCard);
21291
22254
 
21292
22255
  const capability$b = {
21293
- install: [YcDisplayTableCard, YcDisplayMetricsCard, YcDisplayDetailCard],
22256
+ install: [
22257
+ YcDisplayTableCard,
22258
+ YcDisplayMetricsCard,
22259
+ YcDisplayDetailCard,
22260
+ YcDisplayFormCard
22261
+ ],
21294
22262
  gallery: [
21295
22263
  {
21296
22264
  id: "yc.common.table",
21297
22265
  title: "\u901A\u7528\u6570\u636E\u8868\u683C\u5361",
21298
- categories: ["\u5361\u7247\u4E0E\u5C55\u793A", "\u6570\u636E\u8868\u683C"],
22266
+ categories: ["\u5361\u7247\u4E0E\u5C55\u793A"],
21299
22267
  component: YcDisplayTableCard,
21300
22268
  props: {
21301
22269
  title: "\u9879\u76EE\u6570\u91CF\u6309\u57CE\u5E02\u6C47\u603B",
@@ -21357,6 +22325,23 @@
21357
22325
  ],
21358
22326
  note: "\u5982\u9700\u67E5\u8BE2\u5176\u4ED6\u697C\u5C42\u623F\u53F7\uFF0C\u53EF\u7EE7\u7EED\u8865\u5145\u697C\u5C42\u4FE1\u606F\u3002"
21359
22327
  }
22328
+ },
22329
+ {
22330
+ id: "yc.common.form",
22331
+ title: "\u4EA4\u4E92\u8868\u5355\u5361",
22332
+ categories: ["\u5361\u7247\u4E0E\u5C55\u793A"],
22333
+ component: YcDisplayFormCard,
22334
+ props: {
22335
+ title: "\u521B\u5EFA\u62A5\u4FEE\u5DE5\u5355",
22336
+ subtitle: "\u8BF7\u6838\u5BF9\u9879\u76EE\u4FE1\u606F\u5E76\u4E0A\u4F20\u73B0\u573A\u7167\u7247",
22337
+ mode: "reply",
22338
+ fields: [
22339
+ { name: "projectName", label: "\u6240\u5C5E\u9879\u76EE", required: true },
22340
+ { name: "title", label: "\u5DE5\u5355\u6807\u9898", required: true },
22341
+ { name: "attachments", label: "\u73B0\u573A\u7167\u7247", widget: "image", required: true }
22342
+ ],
22343
+ values: { projectName: "\u5B81\u5B89\u7B2C\u4E00\u82B1\u56ED", title: "1\u680B\u7535\u68AF\u5F02\u54CD" }
22344
+ }
21360
22345
  }
21361
22346
  ]
21362
22347
  };
@@ -53210,7 +54195,7 @@
53210
54195
  const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
53211
54196
  const _component_el_dropdown = vue.resolveComponent("el-dropdown");
53212
54197
  const _component_el_tree_v2 = vue.resolveComponent("el-tree-v2");
53213
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1f), {
54198
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1g), {
53214
54199
  padding: props.padding,
53215
54200
  height: "100%",
53216
54201
  radius: __props.showCardStyle ? 8 : 0,
@@ -74839,7 +75824,7 @@
74839
75824
  }
74840
75825
  });
74841
75826
 
74842
- const version = "1.2.5";
75827
+ const version = "1.2.7";
74843
75828
 
74844
75829
  const install = installer.install;
74845
75830
 
@@ -74929,7 +75914,7 @@
74929
75914
  exports.ReBarChart = ReBarChart;
74930
75915
  exports.ReBillTable = ReBillTable;
74931
75916
  exports.ReCandlestickChart = ReCandlestickChart;
74932
- exports.ReCard = _sfc_main$1f;
75917
+ exports.ReCard = _sfc_main$1g;
74933
75918
  exports.ReChartCard = ReChartCard;
74934
75919
  exports.ReChartContainer = ReChartContainer;
74935
75920
  exports.ReChartDashboard = ReChartDashboard;
@@ -75016,7 +76001,7 @@
75016
76001
  exports.YcBarChart = YcBarChart;
75017
76002
  exports.YcBillTable = YcBillTable;
75018
76003
  exports.YcCandlestickChart = YcCandlestickChart;
75019
- exports.YcCard = _sfc_main$1f;
76004
+ exports.YcCard = _sfc_main$1g;
75020
76005
  exports.YcCardFrame = YcCardFrame;
75021
76006
  exports.YcCardWithInstall = YcCardWithInstall;
75022
76007
  exports.YcChartCard = YcChartCard;
@@ -75038,6 +76023,7 @@
75038
76023
  exports.YcDateRangePicker = YcDateRangePicker;
75039
76024
  exports.YcDeviceTable = YcDeviceTable;
75040
76025
  exports.YcDisplayDetailCard = YcDisplayDetailCard;
76026
+ exports.YcDisplayFormCard = YcDisplayFormCard;
75041
76027
  exports.YcDisplayMetricsCard = YcDisplayMetricsCard;
75042
76028
  exports.YcDisplayTableCard = YcDisplayTableCard;
75043
76029
  exports.YcDrawer = YcDrawer;