yc-agent-ui 1.2.8 → 1.2.11

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 (223) hide show
  1. package/es/components/data-table/src/data-table.vue.d.ts +2 -2
  2. package/es/components/display-item/index.d.ts +3 -3
  3. package/es/components/display-item/src/index.vue.d.ts +1 -1
  4. package/es/components/drawer-form/index.d.ts +6 -6
  5. package/es/components/drawer-form/src/index.vue.d.ts +2 -2
  6. package/es/components/page/index.d.ts +100 -100
  7. package/es/components/page/src/index.vue.d.ts +33 -33
  8. package/es/components/table/index.d.ts +18 -18
  9. package/es/components/table/src/index.vue.d.ts +2 -2
  10. package/es/components/table/src/table-column.vue.d.ts +10 -10
  11. package/es/components/virtual-table/index.d.ts +7 -7
  12. package/es/components/virtual-table/src/index.vue.d.ts +2 -2
  13. package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
  14. package/es/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
  15. package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
  16. package/es/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
  17. package/es/components/yc-coss-table/src/table.vue.d.ts +1 -1
  18. package/es/components/yc-display-cards/index.d.ts +218 -3
  19. package/es/components/yc-display-cards/src/card-renderer.vue.d.ts +16 -0
  20. package/es/components/yc-display-cards/src/elements/action-bar.vue.d.ts +12 -0
  21. package/es/components/yc-display-cards/src/elements/card-shell.vue.d.ts +24 -0
  22. package/es/components/yc-display-cards/src/elements/choice-group.vue.d.ts +14 -0
  23. package/es/components/yc-display-cards/src/elements/data-table.vue.d.ts +10 -0
  24. package/es/components/yc-display-cards/src/elements/field-control.vue.d.ts +22 -0
  25. package/es/components/yc-display-cards/src/elements/field-utils.d.ts +16 -0
  26. package/es/components/yc-display-cards/src/elements/form-field.vue.d.ts +18 -0
  27. package/es/components/yc-display-cards/src/elements/inline-alert.vue.d.ts +14 -0
  28. package/es/components/yc-display-cards/src/elements/input.vue.d.ts +20 -0
  29. package/es/components/yc-display-cards/src/elements/kv-list.vue.d.ts +8 -0
  30. package/es/components/yc-display-cards/src/elements/metric-grid.vue.d.ts +7 -0
  31. package/es/components/yc-display-cards/src/elements/status-tag.vue.d.ts +6 -0
  32. package/es/components/yc-display-cards/src/elements/switch.vue.d.ts +10 -0
  33. package/es/components/yc-display-cards/src/elements/upload.vue.d.ts +17 -0
  34. package/es/components/yc-display-cards/src/elements/use-card-form.d.ts +23 -0
  35. package/es/components/yc-display-cards/src/form-card.vue.d.ts +5 -2
  36. package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -2
  37. package/es/components/yc-display-cards/src/types.d.ts +179 -10
  38. package/es/components/yc-feedback/src/banner.vue.d.ts +1 -1
  39. package/es/components/yc-feedback/src/key-value-list.vue.d.ts +1 -1
  40. package/es/components/yc-input/src/textarea.vue.d.ts +2 -2
  41. package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
  42. package/es/components/yc-plus-page/src/index.vue.d.ts +115 -115
  43. package/es/components/yc-property-table/src/property-table.vue.d.ts +2 -2
  44. package/es/hooks/usePlusFormReset.d.ts +18 -18
  45. package/es/index.css +30 -24
  46. package/es/index.mjs +3 -1
  47. package/es/packages/components/index.mjs +3 -1
  48. package/es/packages/components/yc-display-cards/capability.mjs +57 -1
  49. package/es/packages/components/yc-display-cards/index.mjs +31 -1
  50. package/es/packages/components/yc-display-cards/src/card-renderer.vue.mjs +6 -0
  51. package/es/packages/components/yc-display-cards/src/card-renderer2.vue.mjs +295 -0
  52. package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
  53. package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +28 -94
  54. package/es/packages/components/yc-display-cards/src/elements/action-bar.vue.mjs +6 -0
  55. package/es/packages/components/yc-display-cards/src/elements/action-bar2.vue.mjs +38 -0
  56. package/es/packages/components/yc-display-cards/src/elements/card-shell.vue.mjs +6 -0
  57. package/es/packages/components/yc-display-cards/src/elements/card-shell2.vue.mjs +85 -0
  58. package/es/packages/components/yc-display-cards/src/elements/choice-group.vue.mjs +6 -0
  59. package/es/packages/components/yc-display-cards/src/elements/choice-group2.vue.mjs +57 -0
  60. package/es/packages/components/yc-display-cards/src/elements/data-table.vue.mjs +6 -0
  61. package/es/packages/components/yc-display-cards/src/elements/data-table2.vue.mjs +184 -0
  62. package/es/packages/components/yc-display-cards/src/elements/field-control.vue.mjs +5 -0
  63. package/es/packages/components/yc-display-cards/src/elements/field-control2.vue.mjs +92 -0
  64. package/es/packages/components/yc-display-cards/src/elements/field-utils.mjs +121 -0
  65. package/es/packages/components/yc-display-cards/src/elements/form-field.vue.mjs +6 -0
  66. package/es/packages/components/yc-display-cards/src/elements/form-field2.vue.mjs +68 -0
  67. package/es/packages/components/yc-display-cards/src/elements/inline-alert.vue.mjs +6 -0
  68. package/es/packages/components/yc-display-cards/src/elements/inline-alert2.vue.mjs +29 -0
  69. package/es/packages/components/yc-display-cards/src/elements/input.vue.mjs +6 -0
  70. package/es/packages/components/yc-display-cards/src/elements/input2.vue.mjs +148 -0
  71. package/es/packages/components/yc-display-cards/src/elements/kv-list.vue.mjs +6 -0
  72. package/es/packages/components/yc-display-cards/src/elements/kv-list2.vue.mjs +63 -0
  73. package/es/packages/components/yc-display-cards/src/elements/metric-grid.vue.mjs +6 -0
  74. package/es/packages/components/yc-display-cards/src/elements/metric-grid2.vue.mjs +97 -0
  75. package/es/packages/components/yc-display-cards/src/elements/status-tag.vue.mjs +6 -0
  76. package/es/packages/components/yc-display-cards/src/elements/status-tag2.vue.mjs +25 -0
  77. package/es/packages/components/yc-display-cards/src/elements/switch.vue.mjs +6 -0
  78. package/es/packages/components/yc-display-cards/src/elements/switch2.vue.mjs +35 -0
  79. package/es/packages/components/yc-display-cards/src/elements/upload.vue.mjs +6 -0
  80. package/es/packages/components/yc-display-cards/src/elements/upload2.vue.mjs +196 -0
  81. package/es/packages/components/yc-display-cards/src/elements/use-card-form.mjs +80 -0
  82. package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +1 -1
  83. package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +169 -1140
  84. package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
  85. package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +19 -114
  86. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
  87. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +50 -232
  88. package/es/packages/components/yc-status-dialog/src/index.vue.mjs +1 -1
  89. package/es/version.d.ts +1 -1
  90. package/es/version.mjs +1 -1
  91. package/index.css +20 -14
  92. package/index.js +2204 -2354
  93. package/index.min.css +19 -13
  94. package/index.min.js +37 -43
  95. package/index.min.mjs +36 -42
  96. package/index.mjs +2184 -2353
  97. package/lib/components/data-table/src/data-table.vue.d.ts +2 -2
  98. package/lib/components/display-item/index.d.ts +3 -3
  99. package/lib/components/display-item/src/index.vue.d.ts +1 -1
  100. package/lib/components/drawer-form/index.d.ts +6 -6
  101. package/lib/components/drawer-form/src/index.vue.d.ts +2 -2
  102. package/lib/components/page/index.d.ts +100 -100
  103. package/lib/components/page/src/index.vue.d.ts +33 -33
  104. package/lib/components/table/index.d.ts +18 -18
  105. package/lib/components/table/src/index.vue.d.ts +2 -2
  106. package/lib/components/table/src/table-column.vue.d.ts +10 -10
  107. package/lib/components/virtual-table/index.d.ts +7 -7
  108. package/lib/components/virtual-table/src/index.vue.d.ts +2 -2
  109. package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
  110. package/lib/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
  111. package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
  112. package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
  113. package/lib/components/yc-coss-table/src/table.vue.d.ts +1 -1
  114. package/lib/components/yc-display-cards/index.d.ts +218 -3
  115. package/lib/components/yc-display-cards/src/card-renderer.vue.d.ts +16 -0
  116. package/lib/components/yc-display-cards/src/elements/action-bar.vue.d.ts +12 -0
  117. package/lib/components/yc-display-cards/src/elements/card-shell.vue.d.ts +24 -0
  118. package/lib/components/yc-display-cards/src/elements/choice-group.vue.d.ts +14 -0
  119. package/lib/components/yc-display-cards/src/elements/data-table.vue.d.ts +10 -0
  120. package/lib/components/yc-display-cards/src/elements/field-control.vue.d.ts +22 -0
  121. package/lib/components/yc-display-cards/src/elements/field-utils.d.ts +16 -0
  122. package/lib/components/yc-display-cards/src/elements/form-field.vue.d.ts +18 -0
  123. package/lib/components/yc-display-cards/src/elements/inline-alert.vue.d.ts +14 -0
  124. package/lib/components/yc-display-cards/src/elements/input.vue.d.ts +20 -0
  125. package/lib/components/yc-display-cards/src/elements/kv-list.vue.d.ts +8 -0
  126. package/lib/components/yc-display-cards/src/elements/metric-grid.vue.d.ts +7 -0
  127. package/lib/components/yc-display-cards/src/elements/status-tag.vue.d.ts +6 -0
  128. package/lib/components/yc-display-cards/src/elements/switch.vue.d.ts +10 -0
  129. package/lib/components/yc-display-cards/src/elements/upload.vue.d.ts +17 -0
  130. package/lib/components/yc-display-cards/src/elements/use-card-form.d.ts +23 -0
  131. package/lib/components/yc-display-cards/src/form-card.vue.d.ts +5 -2
  132. package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -2
  133. package/lib/components/yc-display-cards/src/types.d.ts +179 -10
  134. package/lib/components/yc-feedback/src/banner.vue.d.ts +1 -1
  135. package/lib/components/yc-feedback/src/key-value-list.vue.d.ts +1 -1
  136. package/lib/components/yc-input/src/textarea.vue.d.ts +2 -2
  137. package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
  138. package/lib/components/yc-plus-page/src/index.vue.d.ts +115 -115
  139. package/lib/components/yc-property-table/src/property-table.vue.d.ts +2 -2
  140. package/lib/hooks/usePlusFormReset.d.ts +18 -18
  141. package/lib/index.css +29 -23
  142. package/lib/index.js +28 -7
  143. package/lib/packages/components/index.js +28 -7
  144. package/lib/packages/components/yc-display-cards/capability.js +56 -0
  145. package/lib/packages/components/yc-display-cards/index.js +49 -0
  146. package/lib/packages/components/yc-display-cards/src/card-renderer.vue.js +10 -0
  147. package/lib/packages/components/yc-display-cards/src/card-renderer2.vue.js +299 -0
  148. package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
  149. package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +27 -93
  150. package/lib/packages/components/yc-display-cards/src/elements/action-bar.vue.js +10 -0
  151. package/lib/packages/components/yc-display-cards/src/elements/action-bar2.vue.js +42 -0
  152. package/lib/packages/components/yc-display-cards/src/elements/card-shell.vue.js +10 -0
  153. package/lib/packages/components/yc-display-cards/src/elements/card-shell2.vue.js +89 -0
  154. package/lib/packages/components/yc-display-cards/src/elements/choice-group.vue.js +10 -0
  155. package/lib/packages/components/yc-display-cards/src/elements/choice-group2.vue.js +61 -0
  156. package/lib/packages/components/yc-display-cards/src/elements/data-table.vue.js +10 -0
  157. package/lib/packages/components/yc-display-cards/src/elements/data-table2.vue.js +188 -0
  158. package/lib/packages/components/yc-display-cards/src/elements/field-control.vue.js +9 -0
  159. package/lib/packages/components/yc-display-cards/src/elements/field-control2.vue.js +96 -0
  160. package/lib/packages/components/yc-display-cards/src/elements/field-utils.js +134 -0
  161. package/lib/packages/components/yc-display-cards/src/elements/form-field.vue.js +10 -0
  162. package/lib/packages/components/yc-display-cards/src/elements/form-field2.vue.js +72 -0
  163. package/lib/packages/components/yc-display-cards/src/elements/inline-alert.vue.js +10 -0
  164. package/lib/packages/components/yc-display-cards/src/elements/inline-alert2.vue.js +33 -0
  165. package/lib/packages/components/yc-display-cards/src/elements/input.vue.js +10 -0
  166. package/lib/packages/components/yc-display-cards/src/elements/input2.vue.js +152 -0
  167. package/lib/packages/components/yc-display-cards/src/elements/kv-list.vue.js +10 -0
  168. package/lib/packages/components/yc-display-cards/src/elements/kv-list2.vue.js +67 -0
  169. package/lib/packages/components/yc-display-cards/src/elements/metric-grid.vue.js +10 -0
  170. package/lib/packages/components/yc-display-cards/src/elements/metric-grid2.vue.js +101 -0
  171. package/lib/packages/components/yc-display-cards/src/elements/status-tag.vue.js +10 -0
  172. package/lib/packages/components/yc-display-cards/src/elements/status-tag2.vue.js +29 -0
  173. package/lib/packages/components/yc-display-cards/src/elements/switch.vue.js +10 -0
  174. package/lib/packages/components/yc-display-cards/src/elements/switch2.vue.js +39 -0
  175. package/lib/packages/components/yc-display-cards/src/elements/upload.vue.js +10 -0
  176. package/lib/packages/components/yc-display-cards/src/elements/upload2.vue.js +200 -0
  177. package/lib/packages/components/yc-display-cards/src/elements/use-card-form.js +82 -0
  178. package/lib/packages/components/yc-display-cards/src/form-card.vue.js +1 -1
  179. package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +168 -1139
  180. package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
  181. package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +18 -113
  182. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
  183. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +49 -231
  184. package/lib/packages/components/yc-status-dialog/src/index.vue.js +1 -1
  185. package/lib/version.d.ts +1 -1
  186. package/lib/version.js +1 -1
  187. package/locale/en.js +1 -1
  188. package/locale/en.min.js +1 -1
  189. package/locale/en.min.mjs +1 -1
  190. package/locale/en.mjs +1 -1
  191. package/locale/ja.js +1 -1
  192. package/locale/ja.min.js +1 -1
  193. package/locale/ja.min.mjs +1 -1
  194. package/locale/ja.mjs +1 -1
  195. package/locale/ko.js +1 -1
  196. package/locale/ko.min.js +1 -1
  197. package/locale/ko.min.mjs +1 -1
  198. package/locale/ko.mjs +1 -1
  199. package/locale/zh-cn.js +1 -1
  200. package/locale/zh-cn.min.js +1 -1
  201. package/locale/zh-cn.min.mjs +1 -1
  202. package/locale/zh-cn.mjs +1 -1
  203. package/locale/zh-tw.js +1 -1
  204. package/locale/zh-tw.min.js +1 -1
  205. package/locale/zh-tw.min.mjs +1 -1
  206. package/locale/zh-tw.mjs +1 -1
  207. package/package.json +1 -2
  208. package/theme-chalk/index.css +20 -14
  209. package/theme-chalk/plus-dialog.css +1 -1
  210. package/theme-chalk/plus-yc-status-dialog.css +1 -1
  211. package/theme-chalk/src/dialog.scss +0 -6
  212. package/theme-chalk/src/index.scss +1 -2
  213. package/theme-chalk/src/yc-status-dialog.scss +2 -2
  214. package/es/_virtual/_commonjsHelpers.mjs +0 -7
  215. package/es/_virtual/toastify.mjs +0 -3
  216. package/es/components/yc-display-cards/src/toast.d.ts +0 -4
  217. package/es/node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.mjs +0 -456
  218. package/es/packages/components/yc-display-cards/src/toast.mjs +0 -35
  219. package/lib/_virtual/_commonjsHelpers.js +0 -10
  220. package/lib/_virtual/toastify.js +0 -5
  221. package/lib/components/yc-display-cards/src/toast.d.ts +0 -4
  222. package/lib/node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.js +0 -460
  223. package/lib/packages/components/yc-display-cards/src/toast.js +0 -37
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var actionBar_vue_vue_type_script_setup_true_lang = require('./action-bar2.vue.js');
6
+ var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ var ActionBar = /* @__PURE__ */ _pluginVue_exportHelper.default(actionBar_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-fc9f42aa"]]);
9
+
10
+ exports.default = ActionBar;
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+
7
+ const _hoisted_1 = { class: "yc-action-bar" };
8
+ const _hoisted_2 = ["disabled", "onClick"];
9
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
+ ...{ name: "YcCardActions" },
11
+ __name: "action-bar",
12
+ props: {
13
+ items: { default: () => [] },
14
+ loadingKey: { default: "" },
15
+ disabled: { type: Boolean, default: false }
16
+ },
17
+ emits: ["click"],
18
+ setup(__props, { emit: __emit }) {
19
+ const emit = __emit;
20
+ return (_ctx, _cache) => {
21
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
22
+ (vue.openBlock(true), vue.createElementBlock(
23
+ vue.Fragment,
24
+ null,
25
+ vue.renderList(__props.items, (item) => {
26
+ return vue.openBlock(), vue.createElementBlock("button", {
27
+ key: item.key,
28
+ type: "button",
29
+ class: vue.normalizeClass(["yc-action-bar__btn", item.primary ? "is-primary" : "is-default"]),
30
+ disabled: __props.disabled || item.disabled || Boolean(__props.loadingKey),
31
+ onClick: ($event) => emit("click", item.key)
32
+ }, vue.toDisplayString(__props.loadingKey === item.key ? item.loadingLabel || "\u5904\u7406\u4E2D\u2026" : item.label), 11, _hoisted_2);
33
+ }),
34
+ 128
35
+ /* KEYED_FRAGMENT */
36
+ ))
37
+ ]);
38
+ };
39
+ }
40
+ });
41
+
42
+ exports.default = _sfc_main;
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var cardShell_vue_vue_type_script_setup_true_lang = require('./card-shell2.vue.js');
6
+ var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ var CardShell = /* @__PURE__ */ _pluginVue_exportHelper.default(cardShell_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-8d644cd4"]]);
9
+
10
+ exports.default = CardShell;
@@ -0,0 +1,89 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var statusTag = require('./status-tag.vue.js');
7
+
8
+ const _hoisted_1 = {
9
+ key: 0,
10
+ class: "yc-card-shell__header"
11
+ };
12
+ const _hoisted_2 = {
13
+ key: 0,
14
+ class: "yc-card-shell__accent"
15
+ };
16
+ const _hoisted_3 = { class: "yc-card-shell__titles" };
17
+ const _hoisted_4 = {
18
+ key: 0,
19
+ class: "yc-card-shell__title"
20
+ };
21
+ const _hoisted_5 = {
22
+ key: 1,
23
+ class: "yc-card-shell__subtitle"
24
+ };
25
+ const _hoisted_6 = {
26
+ key: 1,
27
+ class: "yc-card-shell__footer"
28
+ };
29
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
30
+ ...{ name: "YcCardShell" },
31
+ __name: "card-shell",
32
+ props: {
33
+ title: { default: "" },
34
+ subtitle: { default: "" },
35
+ badge: { default: void 0 },
36
+ accent: { type: Boolean, default: false },
37
+ compact: { type: Boolean, default: false }
38
+ },
39
+ setup(__props) {
40
+ return (_ctx, _cache) => {
41
+ var _a;
42
+ return vue.openBlock(), vue.createElementBlock(
43
+ "div",
44
+ {
45
+ class: vue.normalizeClass(["yc-card-shell", { "is-accent": __props.accent, "is-compact": __props.compact }])
46
+ },
47
+ [
48
+ __props.title || __props.subtitle || ((_a = __props.badge) == null ? void 0 : _a.text) || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
49
+ __props.accent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2)) : vue.createCommentVNode("v-if", true),
50
+ vue.createElementVNode("div", _hoisted_3, [
51
+ __props.title ? (vue.openBlock(), vue.createElementBlock(
52
+ "div",
53
+ _hoisted_4,
54
+ vue.toDisplayString(__props.title),
55
+ 1
56
+ /* TEXT */
57
+ )) : vue.createCommentVNode("v-if", true),
58
+ __props.subtitle ? (vue.openBlock(), vue.createElementBlock(
59
+ "div",
60
+ _hoisted_5,
61
+ vue.toDisplayString(__props.subtitle),
62
+ 1
63
+ /* TEXT */
64
+ )) : vue.createCommentVNode("v-if", true)
65
+ ]),
66
+ vue.renderSlot(_ctx.$slots, "extra", {}, () => {
67
+ var _a2;
68
+ return [
69
+ ((_a2 = __props.badge) == null ? void 0 : _a2.text) ? (vue.openBlock(), vue.createBlock(statusTag.default, {
70
+ key: 0,
71
+ text: __props.badge.text,
72
+ tone: __props.badge.tone
73
+ }, null, 8, ["text", "tone"])) : vue.createCommentVNode("v-if", true)
74
+ ];
75
+ }, true)
76
+ ])) : vue.createCommentVNode("v-if", true),
77
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
78
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
79
+ vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
80
+ ])) : vue.createCommentVNode("v-if", true)
81
+ ],
82
+ 2
83
+ /* CLASS */
84
+ );
85
+ };
86
+ }
87
+ });
88
+
89
+ exports.default = _sfc_main;
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var choiceGroup_vue_vue_type_script_setup_true_lang = require('./choice-group2.vue.js');
6
+ var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ var ChoiceGroup = /* @__PURE__ */ _pluginVue_exportHelper.default(choiceGroup_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-1e3f5da2"]]);
9
+
10
+ exports.default = ChoiceGroup;
@@ -0,0 +1,61 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+
7
+ const _hoisted_1 = ["role"];
8
+ const _hoisted_2 = ["role", "aria-checked", "disabled", "onClick"];
9
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
+ ...{ name: "YcCardChoice" },
11
+ __name: "choice-group",
12
+ props: {
13
+ modelValue: { default: void 0 },
14
+ options: { default: () => [] },
15
+ multiple: { type: Boolean, default: false },
16
+ disabled: { type: Boolean, default: false }
17
+ },
18
+ emits: ["update:modelValue"],
19
+ setup(__props, { emit: __emit }) {
20
+ const props = __props;
21
+ const emit = __emit;
22
+ function isSelected(value) {
23
+ return props.multiple ? Array.isArray(props.modelValue) && props.modelValue.includes(value) : props.modelValue === value;
24
+ }
25
+ function toggle(value) {
26
+ if (props.disabled) return;
27
+ if (!props.multiple) return emit("update:modelValue", value);
28
+ const current = Array.isArray(props.modelValue) ? [...props.modelValue] : [];
29
+ const idx = current.indexOf(value);
30
+ if (idx >= 0) current.splice(idx, 1);
31
+ else current.push(value);
32
+ emit("update:modelValue", current.length ? current : void 0);
33
+ }
34
+ return (_ctx, _cache) => {
35
+ return vue.openBlock(), vue.createElementBlock("div", {
36
+ class: "yc-choice-group",
37
+ role: __props.multiple ? "group" : "radiogroup"
38
+ }, [
39
+ (vue.openBlock(true), vue.createElementBlock(
40
+ vue.Fragment,
41
+ null,
42
+ vue.renderList(__props.options, (opt) => {
43
+ return vue.openBlock(), vue.createElementBlock("button", {
44
+ key: String(opt.value),
45
+ type: "button",
46
+ role: __props.multiple ? "checkbox" : "radio",
47
+ "aria-checked": isSelected(opt.value),
48
+ disabled: __props.disabled,
49
+ class: vue.normalizeClass(["yc-choice-group__item", { "is-selected": isSelected(opt.value) }]),
50
+ onClick: ($event) => toggle(opt.value)
51
+ }, vue.toDisplayString(opt.label), 11, _hoisted_2);
52
+ }),
53
+ 128
54
+ /* KEYED_FRAGMENT */
55
+ ))
56
+ ], 8, _hoisted_1);
57
+ };
58
+ }
59
+ });
60
+
61
+ exports.default = _sfc_main;
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var dataTable_vue_vue_type_script_setup_true_lang = require('./data-table2.vue.js');
6
+ var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ var DataTable = /* @__PURE__ */ _pluginVue_exportHelper.default(dataTable_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-070f55c2"]]);
9
+
10
+ exports.default = DataTable;
@@ -0,0 +1,188 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+
7
+ const _hoisted_1 = {
8
+ key: 0,
9
+ class: "yc-data-table__search"
10
+ };
11
+ const _hoisted_2 = { class: "yc-data-table__scroll" };
12
+ const _hoisted_3 = {
13
+ key: 0,
14
+ class: "yc-data-table__table"
15
+ };
16
+ const _hoisted_4 = {
17
+ key: 1,
18
+ class: "yc-data-table__empty"
19
+ };
20
+ const _hoisted_5 = {
21
+ key: 1,
22
+ class: "yc-data-table__pager"
23
+ };
24
+ const _hoisted_6 = ["disabled"];
25
+ const _hoisted_7 = { class: "yc-data-table__page" };
26
+ const _hoisted_8 = ["disabled"];
27
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
28
+ ...{ name: "YcCardTable" },
29
+ __name: "data-table",
30
+ props: {
31
+ columns: { default: () => [] },
32
+ rows: { default: () => [] },
33
+ maxRows: { default: 10 },
34
+ bordered: { type: Boolean, default: false }
35
+ },
36
+ setup(__props) {
37
+ const props = __props;
38
+ const query = vue.ref("");
39
+ const page = vue.ref(1);
40
+ const normalizedColumns = vue.computed(() => {
41
+ if (props.columns.length > 0) return props.columns;
42
+ const first = props.rows[0];
43
+ if (!first || typeof first !== "object") return [];
44
+ return Object.keys(first).map((key) => ({ key, label: key }));
45
+ });
46
+ const filteredRows = vue.computed(() => {
47
+ const keyword = query.value.trim().toLowerCase();
48
+ if (!keyword) return props.rows;
49
+ return props.rows.filter(
50
+ (row) => normalizedColumns.value.some((col) => formatCell(row, col).toLowerCase().includes(keyword))
51
+ );
52
+ });
53
+ const pageCount = vue.computed(
54
+ () => Math.max(1, Math.ceil(filteredRows.value.length / props.maxRows))
55
+ );
56
+ const showControls = vue.computed(() => props.rows.length > props.maxRows);
57
+ const visibleRows = vue.computed(() => {
58
+ if (!showControls.value) return filteredRows.value;
59
+ const start = (page.value - 1) * props.maxRows;
60
+ return filteredRows.value.slice(start, start + props.maxRows);
61
+ });
62
+ vue.watch(query, () => {
63
+ page.value = 1;
64
+ });
65
+ vue.watch(pageCount, (count) => {
66
+ if (page.value > count) page.value = count;
67
+ });
68
+ function stepPage(delta) {
69
+ page.value = Math.min(pageCount.value, Math.max(1, page.value + delta));
70
+ }
71
+ function formatCell(row, col) {
72
+ const raw = row == null ? void 0 : row[col.key];
73
+ if (raw === void 0 || raw === null || raw === "") return "\u2014";
74
+ const text = typeof raw === "object" ? JSON.stringify(raw) : String(raw);
75
+ return col.unit ? `${text} ${col.unit}` : text;
76
+ }
77
+ return (_ctx, _cache) => {
78
+ return vue.openBlock(), vue.createElementBlock(
79
+ "div",
80
+ {
81
+ class: vue.normalizeClass(["yc-data-table", { "is-bordered": __props.bordered }])
82
+ },
83
+ [
84
+ showControls.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
85
+ vue.withDirectives(vue.createElementVNode(
86
+ "input",
87
+ {
88
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => query.value = $event),
89
+ type: "search",
90
+ class: "yc-data-table__search-input",
91
+ placeholder: "\u641C\u7D22\u8868\u683C",
92
+ "aria-label": "\u641C\u7D22\u8868\u683C"
93
+ },
94
+ null,
95
+ 512
96
+ /* NEED_PATCH */
97
+ ), [
98
+ [vue.vModelText, query.value]
99
+ ])
100
+ ])) : vue.createCommentVNode("v-if", true),
101
+ vue.createElementVNode("div", _hoisted_2, [
102
+ normalizedColumns.value.length && __props.rows.length ? (vue.openBlock(), vue.createElementBlock("table", _hoisted_3, [
103
+ vue.createElementVNode("thead", null, [
104
+ vue.createElementVNode("tr", null, [
105
+ (vue.openBlock(true), vue.createElementBlock(
106
+ vue.Fragment,
107
+ null,
108
+ vue.renderList(normalizedColumns.value, (col) => {
109
+ var _a;
110
+ return vue.openBlock(), vue.createElementBlock(
111
+ "th",
112
+ {
113
+ key: col.key,
114
+ style: vue.normalizeStyle({ textAlign: (_a = col.align) != null ? _a : "left" })
115
+ },
116
+ vue.toDisplayString(col.label),
117
+ 5
118
+ /* TEXT, STYLE */
119
+ );
120
+ }),
121
+ 128
122
+ /* KEYED_FRAGMENT */
123
+ ))
124
+ ])
125
+ ]),
126
+ vue.createElementVNode("tbody", null, [
127
+ (vue.openBlock(true), vue.createElementBlock(
128
+ vue.Fragment,
129
+ null,
130
+ vue.renderList(visibleRows.value, (row, idx) => {
131
+ return vue.openBlock(), vue.createElementBlock("tr", { key: idx }, [
132
+ (vue.openBlock(true), vue.createElementBlock(
133
+ vue.Fragment,
134
+ null,
135
+ vue.renderList(normalizedColumns.value, (col) => {
136
+ var _a;
137
+ return vue.openBlock(), vue.createElementBlock(
138
+ "td",
139
+ {
140
+ key: col.key,
141
+ style: vue.normalizeStyle({ textAlign: (_a = col.align) != null ? _a : "left" })
142
+ },
143
+ vue.toDisplayString(formatCell(row, col)),
144
+ 5
145
+ /* TEXT, STYLE */
146
+ );
147
+ }),
148
+ 128
149
+ /* KEYED_FRAGMENT */
150
+ ))
151
+ ]);
152
+ }),
153
+ 128
154
+ /* KEYED_FRAGMENT */
155
+ ))
156
+ ])
157
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8868\u683C\u6570\u636E"))
158
+ ]),
159
+ showControls.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
160
+ vue.createElementVNode("button", {
161
+ type: "button",
162
+ class: "yc-data-table__page-btn",
163
+ disabled: page.value <= 1,
164
+ onClick: _cache[1] || (_cache[1] = ($event) => stepPage(-1))
165
+ }, " \u4E0A\u4E00\u9875 ", 8, _hoisted_6),
166
+ vue.createElementVNode(
167
+ "span",
168
+ _hoisted_7,
169
+ vue.toDisplayString(page.value) + " / " + vue.toDisplayString(pageCount.value) + " \xB7 " + vue.toDisplayString(filteredRows.value.length) + " \u6761 ",
170
+ 1
171
+ /* TEXT */
172
+ ),
173
+ vue.createElementVNode("button", {
174
+ type: "button",
175
+ class: "yc-data-table__page-btn",
176
+ disabled: page.value >= pageCount.value,
177
+ onClick: _cache[2] || (_cache[2] = ($event) => stepPage(1))
178
+ }, " \u4E0B\u4E00\u9875 ", 8, _hoisted_8)
179
+ ])) : vue.createCommentVNode("v-if", true)
180
+ ],
181
+ 2
182
+ /* CLASS */
183
+ );
184
+ };
185
+ }
186
+ });
187
+
188
+ exports.default = _sfc_main;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var fieldControl_vue_vue_type_script_setup_true_lang = require('./field-control2.vue.js');
6
+
7
+
8
+
9
+ exports.default = fieldControl_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,96 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var choiceGroup = require('./choice-group.vue.js');
7
+ var fieldUtils = require('./field-utils.js');
8
+ var formField = require('./form-field.vue.js');
9
+ var input = require('./input.vue.js');
10
+ var _switch = require('./switch.vue.js');
11
+ var upload = require('./upload.vue.js');
12
+
13
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
+ ...{ name: "YcCardFieldControl" },
15
+ __name: "field-control",
16
+ props: {
17
+ field: {},
18
+ modelValue: { default: void 0 },
19
+ options: { default: void 0 },
20
+ loadingOptions: { type: Boolean, default: false },
21
+ disabled: { type: Boolean, default: false },
22
+ error: { default: "" },
23
+ hint: { default: "" },
24
+ uploadFile: { type: Function, default: void 0 }
25
+ },
26
+ emits: ["update:modelValue", "blur", "focus", "upload-error"],
27
+ setup(__props, { emit: __emit }) {
28
+ const props = __props;
29
+ const emit = __emit;
30
+ const kind = vue.computed(() => fieldUtils.resolveFieldKind(props.field));
31
+ const label = vue.computed(() => props.field.label || props.field.name);
32
+ const resolvedOptions = vue.computed(() => {
33
+ var _a;
34
+ return (_a = props.options) != null ? _a : fieldUtils.normalizeOptions(props.field);
35
+ });
36
+ const placeholder = vue.computed(
37
+ () => props.field.placeholder || (kind.value === "select" ? `\u8BF7\u9009\u62E9${label.value}` : `\u8BF7\u8F93\u5165${label.value}`)
38
+ );
39
+ const inputKind = vue.computed(() => {
40
+ if (kind.value === "number") return props.field.type === "integer" ? "integer" : "number";
41
+ return kind.value;
42
+ });
43
+ function update(value) {
44
+ emit("update:modelValue", value);
45
+ }
46
+ return (_ctx, _cache) => {
47
+ return vue.openBlock(), vue.createBlock(formField.default, {
48
+ label: label.value,
49
+ required: __props.field.required,
50
+ hint: __props.hint,
51
+ error: __props.error,
52
+ "full-row": kind.value === "textarea" || kind.value === "image" || kind.value === "file"
53
+ }, {
54
+ default: vue.withCtx(() => [
55
+ kind.value === "radio" || kind.value === "checkbox" ? (vue.openBlock(), vue.createBlock(choiceGroup.default, {
56
+ key: 0,
57
+ "model-value": __props.modelValue,
58
+ options: resolvedOptions.value,
59
+ multiple: kind.value === "checkbox",
60
+ disabled: __props.disabled,
61
+ "onUpdate:modelValue": update
62
+ }, null, 8, ["model-value", "options", "multiple", "disabled"])) : kind.value === "switch" ? (vue.openBlock(), vue.createBlock(_switch.default, {
63
+ key: 1,
64
+ "model-value": Boolean(__props.modelValue),
65
+ disabled: __props.disabled,
66
+ "onUpdate:modelValue": update
67
+ }, null, 8, ["model-value", "disabled"])) : kind.value === "image" || kind.value === "file" ? (vue.openBlock(), vue.createBlock(upload.default, {
68
+ key: 2,
69
+ "model-value": Array.isArray(__props.modelValue) ? __props.modelValue : [],
70
+ accept: kind.value,
71
+ disabled: __props.disabled,
72
+ "upload-file": __props.uploadFile,
73
+ "onUpdate:modelValue": update,
74
+ onError: _cache[0] || (_cache[0] = ($event) => emit("upload-error", $event))
75
+ }, null, 8, ["model-value", "accept", "disabled", "upload-file"])) : (vue.openBlock(), vue.createBlock(input.default, {
76
+ key: 3,
77
+ "model-value": __props.modelValue,
78
+ kind: inputKind.value,
79
+ placeholder: placeholder.value,
80
+ options: resolvedOptions.value,
81
+ loading: __props.loadingOptions,
82
+ disabled: __props.disabled,
83
+ invalid: Boolean(__props.error),
84
+ "onUpdate:modelValue": update,
85
+ onFocus: _cache[1] || (_cache[1] = ($event) => emit("focus")),
86
+ onBlur: _cache[2] || (_cache[2] = ($event) => emit("blur"))
87
+ }, null, 8, ["model-value", "kind", "placeholder", "options", "loading", "disabled", "invalid"]))
88
+ ]),
89
+ _: 1
90
+ /* STABLE */
91
+ }, 8, ["label", "required", "hint", "error", "full-row"]);
92
+ };
93
+ }
94
+ });
95
+
96
+ exports.default = _sfc_main;
@@ -0,0 +1,134 @@
1
+ 'use strict';
2
+
3
+ function isPlainObject(value) {
4
+ return Boolean(value) && typeof value === "object" && !Array.isArray(value);
5
+ }
6
+ function isBlankValue(value) {
7
+ if (Array.isArray(value)) return value.length === 0;
8
+ return value === void 0 || value === null || String(value).trim() === "";
9
+ }
10
+ function toOptionValue(raw) {
11
+ return typeof raw === "string" || typeof raw === "number" || typeof raw === "boolean" ? raw : String(raw);
12
+ }
13
+ function normalizeOptions(field) {
14
+ var _a;
15
+ const options = [];
16
+ if (Array.isArray(field.options)) {
17
+ for (const item of field.options) {
18
+ if (typeof item === "string" || typeof item === "number") {
19
+ options.push({ label: String(item), value: item });
20
+ } else if (isPlainObject(item) && item.value !== void 0 && item.value !== null) {
21
+ options.push({ label: String((_a = item.label) != null ? _a : item.value), value: toOptionValue(item.value) });
22
+ }
23
+ }
24
+ }
25
+ if (!options.length && Array.isArray(field.enum)) {
26
+ for (const item of field.enum) {
27
+ options.push({ label: String(item), value: toOptionValue(item) });
28
+ }
29
+ }
30
+ return options;
31
+ }
32
+ function extractOptions(data, labelKey, valueKey) {
33
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
34
+ const rows = Array.isArray(data) ? data : isPlainObject(data) ? (_a = extractRows(data)) != null ? _a : [] : [];
35
+ const options = [];
36
+ for (const row of rows) {
37
+ if (typeof row === "string" || typeof row === "number") {
38
+ options.push({ label: String(row), value: row });
39
+ continue;
40
+ }
41
+ if (!isPlainObject(row)) continue;
42
+ const rawValue = (_f = (_e = (_d = (_c = (_b = valueKey ? row[valueKey] : void 0) != null ? _b : row.id) != null ? _c : row.value) != null ? _d : row.code) != null ? _e : row.key) != null ? _f : row.name;
43
+ if (rawValue === void 0 || rawValue === null) continue;
44
+ const rawLabel = (_j = (_i = (_h = (_g = labelKey ? row[labelKey] : void 0) != null ? _g : row.name) != null ? _h : row.label) != null ? _i : row.title) != null ? _j : rawValue;
45
+ options.push({ label: String(rawLabel), value: toOptionValue(rawValue) });
46
+ }
47
+ return options;
48
+ }
49
+ function extractRows(obj) {
50
+ for (const key of ["data", "rows", "items", "list", "records"]) {
51
+ if (Array.isArray(obj[key])) return obj[key];
52
+ }
53
+ return null;
54
+ }
55
+ function resolveFieldKind(field) {
56
+ var _a, _b;
57
+ const widget = field.widget;
58
+ if (widget === "radio" || widget === "checkbox") return widget;
59
+ if (widget === "image" || widget === "file") return widget;
60
+ if (widget === "date" || widget === "datetime") return widget;
61
+ if (widget === "phone" || widget === "tel") return "phone";
62
+ if (widget === "email") return "email";
63
+ if (widget === "textarea") return "textarea";
64
+ if (widget === "switch" || field.type === "boolean") return "switch";
65
+ if (widget === "select" || field.options_operation || ((_a = field.options) == null ? void 0 : _a.length) || ((_b = field.enum) == null ? void 0 : _b.length)) {
66
+ return "select";
67
+ }
68
+ if (widget === "number" || field.type === "number" || field.type === "integer") return "number";
69
+ return "text";
70
+ }
71
+ function isUploadField(field) {
72
+ const kind = resolveFieldKind(field);
73
+ return kind === "image" || kind === "file";
74
+ }
75
+ function validateFieldValue(field, value) {
76
+ const label = field.label || field.name;
77
+ if (isBlankValue(value)) {
78
+ if (!field.required) return "";
79
+ return isUploadField(field) ? `\u8BF7\u5148\u4E0A\u4F20\u300C${label}\u300D` : `\u8BF7\u5148\u586B\u5199\u300C${label}\u300D`;
80
+ }
81
+ const kind = resolveFieldKind(field);
82
+ const text = String(value).trim();
83
+ if (kind === "phone") {
84
+ const normalized = text.replace(/[\s-]/g, "");
85
+ if (!/^1[3-9]\d{9}$/.test(normalized) && !/^0\d{2,3}\d{7,8}$/.test(normalized)) {
86
+ return `\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u300C${label}\u300D\uFF0811\u4F4D\u624B\u673A\u53F7\u6216\u56FA\u8BDD\uFF09`;
87
+ }
88
+ }
89
+ if (kind === "email" && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(text)) {
90
+ return `\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u300C${label}\u300D\u90AE\u7BB1\u683C\u5F0F`;
91
+ }
92
+ return "";
93
+ }
94
+ function attachmentsOf(value) {
95
+ return Array.isArray(value) ? value.filter((item) => isPlainObject(item) && "fileName" in item) : [];
96
+ }
97
+ function displayFieldValue(field, value, options = normalizeOptions(field)) {
98
+ if (isUploadField(field)) {
99
+ const files = attachmentsOf(value);
100
+ return files.length ? `\u5DF2\u4E0A\u4F20 ${files.length} \u4E2A\u9644\u4EF6\uFF08${files.map((file) => file.fileName).join("\u3001")}\uFF09` : "";
101
+ }
102
+ const labelOf = (raw) => {
103
+ const option = options.find((opt) => opt.value === raw);
104
+ return !option || option.label === String(raw) ? String(raw) : `${option.label}\uFF08${String(raw)}\uFF09`;
105
+ };
106
+ if (Array.isArray(value)) return value.map(labelOf).join("\u3001");
107
+ if (typeof value === "boolean") return value ? "\u662F" : "\u5426";
108
+ return labelOf(value);
109
+ }
110
+ function buildReplyText(prefix, fields, values, optionsOf = normalizeOptions) {
111
+ const lines = [];
112
+ for (const field of fields) {
113
+ const value = values[field.name];
114
+ if (isBlankValue(value)) continue;
115
+ lines.push(`${field.label || field.name}\uFF1A${displayFieldValue(field, value, optionsOf(field))}`);
116
+ }
117
+ return [`${prefix}\uFF1A`, ...lines].join("\n");
118
+ }
119
+ function collectAttachments(fields, values) {
120
+ return fields.filter(isUploadField).flatMap((field) => attachmentsOf(values[field.name]));
121
+ }
122
+
123
+ exports.attachmentsOf = attachmentsOf;
124
+ exports.buildReplyText = buildReplyText;
125
+ exports.collectAttachments = collectAttachments;
126
+ exports.displayFieldValue = displayFieldValue;
127
+ exports.extractOptions = extractOptions;
128
+ exports.extractRows = extractRows;
129
+ exports.isBlankValue = isBlankValue;
130
+ exports.isPlainObject = isPlainObject;
131
+ exports.isUploadField = isUploadField;
132
+ exports.normalizeOptions = normalizeOptions;
133
+ exports.resolveFieldKind = resolveFieldKind;
134
+ exports.validateFieldValue = validateFieldValue;