yc-pro-components 0.0.84 → 1.0.0

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 (216) hide show
  1. package/es/components/check-card/index.d.ts +38 -38
  2. package/es/components/check-card/src/index.vue.d.ts +2 -2
  3. package/es/components/check-card-group/index.d.ts +19 -19
  4. package/es/components/check-card-group/src/index.vue.d.ts +1 -1
  5. package/es/components/date-picker/index.d.ts +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +10 -10
  7. package/es/components/form/src/form-content.vue2.mjs +11 -2
  8. package/es/components/form/src/index.vue2.mjs +5 -2
  9. package/es/components/form/src/type.d.ts +5 -0
  10. package/es/components/form-item/src/index.vue2.mjs +9 -3
  11. package/es/components/header/index.d.ts +19 -19
  12. package/es/components/header/src/index.vue.d.ts +1 -1
  13. package/es/components/index.d.ts +1 -0
  14. package/es/components/index.mjs +1 -0
  15. package/es/components/input-tag/index.d.ts +9 -9
  16. package/es/components/input-tag/src/index.vue.d.ts +1 -1
  17. package/es/components/page/src/index.vue2.mjs +31 -13
  18. package/es/components/radio/index.d.ts +23 -23
  19. package/es/components/radio/src/index.vue.d.ts +23 -23
  20. package/es/components/render/index.d.ts +6 -6
  21. package/es/components/render/src/index.vue.d.ts +2 -2
  22. package/es/components/search/src/index.vue2.mjs +4 -1
  23. package/es/components/search/src/type.d.ts +5 -0
  24. package/es/components/yc-count-to/index.d.ts +1 -1
  25. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  26. package/es/components/yc-dialog/index.d.ts +24 -24
  27. package/es/components/yc-more-actions/index.d.ts +46 -46
  28. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  29. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  30. package/es/components/yc-plus-page/src/index.vue2.mjs +24 -13
  31. package/es/components/yc-plus-page/src/type.d.ts +5 -0
  32. package/es/components/yc-query-filter/index.d.ts +7 -0
  33. package/es/components/yc-query-filter/index.mjs +6 -0
  34. package/es/components/yc-query-filter/src/index.vue.d.ts +32 -0
  35. package/es/components/yc-query-filter/src/index.vue.mjs +6 -0
  36. package/es/components/yc-query-filter/src/index.vue2.mjs +662 -0
  37. package/es/components/yc-query-filter/src/serialize.d.ts +4 -0
  38. package/es/components/yc-query-filter/src/serialize.mjs +17 -0
  39. package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
  40. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  41. package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  42. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  43. package/es/constants/index.d.ts +1 -0
  44. package/es/constants/index.mjs +1 -0
  45. package/es/constants/query-filter.d.ts +69 -0
  46. package/es/constants/query-filter.mjs +3 -0
  47. package/es/hooks/index.d.ts +1 -0
  48. package/es/hooks/index.mjs +1 -0
  49. package/es/hooks/useQueryFilterConfig.d.ts +11 -0
  50. package/es/hooks/useQueryFilterConfig.mjs +38 -0
  51. package/es/index.css +10 -10
  52. package/es/index.d.ts +1 -1
  53. package/es/index.mjs +3 -0
  54. package/es/locale/lang/en.d.ts +33 -0
  55. package/es/locale/lang/en.mjs +33 -0
  56. package/es/locale/lang/ja.d.ts +33 -0
  57. package/es/locale/lang/ja.mjs +33 -0
  58. package/es/locale/lang/ko.d.ts +33 -0
  59. package/es/locale/lang/ko.mjs +33 -0
  60. package/es/locale/lang/zh-cn.d.ts +33 -0
  61. package/es/locale/lang/zh-cn.mjs +33 -0
  62. package/es/locale/lang/zh-tw.d.ts +33 -0
  63. package/es/locale/lang/zh-tw.mjs +33 -0
  64. package/es/types/form.d.ts +5 -0
  65. package/es/version.d.ts +1 -1
  66. package/es/version.mjs +1 -1
  67. package/es/yc-components/index.d.ts +1 -1
  68. package/es/yc-components/version.d.ts +1 -1
  69. package/index.css +1 -1
  70. package/index.js +1097 -221
  71. package/index.min.css +1 -1
  72. package/index.min.js +16 -12
  73. package/index.min.mjs +16 -12
  74. package/index.mjs +1093 -223
  75. package/lib/components/check-card/index.d.ts +38 -38
  76. package/lib/components/check-card/src/index.vue.d.ts +2 -2
  77. package/lib/components/check-card-group/index.d.ts +19 -19
  78. package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
  79. package/lib/components/date-picker/index.d.ts +10 -10
  80. package/lib/components/date-picker/src/index.vue.d.ts +10 -10
  81. package/lib/components/form/src/form-content.vue2.js +11 -2
  82. package/lib/components/form/src/index.vue2.js +5 -2
  83. package/lib/components/form/src/type.d.ts +5 -0
  84. package/lib/components/form-item/src/index.vue2.js +9 -3
  85. package/lib/components/header/index.d.ts +19 -19
  86. package/lib/components/header/src/index.vue.d.ts +1 -1
  87. package/lib/components/index.d.ts +1 -0
  88. package/lib/components/index.js +3 -0
  89. package/lib/components/input-tag/index.d.ts +9 -9
  90. package/lib/components/input-tag/src/index.vue.d.ts +1 -1
  91. package/lib/components/page/src/index.vue2.js +31 -13
  92. package/lib/components/radio/index.d.ts +23 -23
  93. package/lib/components/radio/src/index.vue.d.ts +23 -23
  94. package/lib/components/render/index.d.ts +6 -6
  95. package/lib/components/render/src/index.vue.d.ts +2 -2
  96. package/lib/components/search/src/index.vue2.js +4 -1
  97. package/lib/components/search/src/type.d.ts +5 -0
  98. package/lib/components/yc-count-to/index.d.ts +1 -1
  99. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  100. package/lib/components/yc-dialog/index.d.ts +24 -24
  101. package/lib/components/yc-more-actions/index.d.ts +46 -46
  102. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  103. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  104. package/lib/components/yc-plus-page/src/index.vue2.js +26 -15
  105. package/lib/components/yc-plus-page/src/type.d.ts +5 -0
  106. package/lib/components/yc-query-filter/index.d.ts +7 -0
  107. package/lib/components/yc-query-filter/index.js +9 -0
  108. package/lib/components/yc-query-filter/src/index.vue.d.ts +32 -0
  109. package/lib/components/yc-query-filter/src/index.vue.js +10 -0
  110. package/lib/components/yc-query-filter/src/index.vue2.js +666 -0
  111. package/lib/components/yc-query-filter/src/serialize.d.ts +4 -0
  112. package/lib/components/yc-query-filter/src/serialize.js +20 -0
  113. package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
  114. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  115. package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  116. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  117. package/lib/constants/index.d.ts +1 -0
  118. package/lib/constants/index.js +2 -0
  119. package/lib/constants/query-filter.d.ts +69 -0
  120. package/lib/constants/query-filter.js +5 -0
  121. package/lib/hooks/index.d.ts +1 -0
  122. package/lib/hooks/index.js +4 -0
  123. package/lib/hooks/useQueryFilterConfig.d.ts +11 -0
  124. package/lib/hooks/useQueryFilterConfig.js +42 -0
  125. package/lib/index.css +9 -9
  126. package/lib/index.d.ts +1 -1
  127. package/lib/index.js +9 -0
  128. package/lib/locale/lang/en.d.ts +33 -0
  129. package/lib/locale/lang/en.js +33 -0
  130. package/lib/locale/lang/ja.d.ts +33 -0
  131. package/lib/locale/lang/ja.js +33 -0
  132. package/lib/locale/lang/ko.d.ts +33 -0
  133. package/lib/locale/lang/ko.js +33 -0
  134. package/lib/locale/lang/zh-cn.d.ts +33 -0
  135. package/lib/locale/lang/zh-cn.js +33 -0
  136. package/lib/locale/lang/zh-tw.d.ts +33 -0
  137. package/lib/locale/lang/zh-tw.js +33 -0
  138. package/lib/types/form.d.ts +5 -0
  139. package/lib/version.d.ts +1 -1
  140. package/lib/version.js +1 -1
  141. package/lib/yc-components/index.d.ts +1 -1
  142. package/lib/yc-components/version.d.ts +1 -1
  143. package/locale/en.d.ts +33 -0
  144. package/locale/en.js +34 -1
  145. package/locale/en.min.js +1 -1
  146. package/locale/en.min.mjs +1 -1
  147. package/locale/en.mjs +34 -1
  148. package/locale/ja.d.ts +33 -0
  149. package/locale/ja.js +34 -1
  150. package/locale/ja.min.js +1 -1
  151. package/locale/ja.min.mjs +1 -1
  152. package/locale/ja.mjs +34 -1
  153. package/locale/ko.d.ts +33 -0
  154. package/locale/ko.js +34 -1
  155. package/locale/ko.min.js +1 -1
  156. package/locale/ko.min.mjs +1 -1
  157. package/locale/ko.mjs +34 -1
  158. package/locale/zh-cn.d.ts +33 -0
  159. package/locale/zh-cn.js +34 -1
  160. package/locale/zh-cn.min.js +1 -1
  161. package/locale/zh-cn.min.mjs +1 -1
  162. package/locale/zh-cn.mjs +34 -1
  163. package/locale/zh-tw.d.ts +33 -0
  164. package/locale/zh-tw.js +34 -1
  165. package/locale/zh-tw.min.js +1 -1
  166. package/locale/zh-tw.min.mjs +1 -1
  167. package/locale/zh-tw.mjs +34 -1
  168. package/package.json +1 -1
  169. package/theme-chalk/index.css +1 -1
  170. package/theme-chalk/plus-form-item.css +1 -1
  171. package/theme-chalk/plus-yc-query-filter.css +1 -0
  172. package/theme-chalk/src/form-item.scss +60 -39
  173. package/theme-chalk/src/index.scss +1 -0
  174. package/theme-chalk/src/yc-query-filter.scss +163 -0
  175. package/es/components/breadcrumb/index.d.ts +0 -6985
  176. package/es/components/breadcrumb/src/index.vue.d.ts +0 -6947
  177. package/es/components/dialog-form/index.d.ts +0 -311
  178. package/es/components/dialog-form/src/index.vue.d.ts +0 -211
  179. package/es/components/display-item/index.d.ts +0 -571
  180. package/es/components/display-item/src/index.vue.d.ts +0 -437
  181. package/es/components/drawer-form/index.d.ts +0 -1589
  182. package/es/components/drawer-form/src/index.vue.d.ts +0 -627
  183. package/es/components/form/index.d.ts +0 -845
  184. package/es/components/form/src/form-content.vue.d.ts +0 -583
  185. package/es/components/form/src/index.vue.d.ts +0 -373
  186. package/es/components/form-item/index.d.ts +0 -1469
  187. package/es/components/form-item/src/index.vue.d.ts +0 -535
  188. package/es/components/page/index.d.ts +0 -10563
  189. package/es/components/page/src/index.vue.d.ts +0 -3712
  190. package/es/components/search/index.d.ts +0 -2892
  191. package/es/components/search/src/index.vue.d.ts +0 -994
  192. package/es/components/table/src/table-column.vue.d.ts +0 -615
  193. package/es/components/yc-drawer/store.d.ts +0 -2359
  194. package/es/components/yc-plus-page/src/index.vue.d.ts +0 -8127
  195. package/es/hooks/usePlusFormReset.d.ts +0 -4483
  196. package/lib/components/breadcrumb/index.d.ts +0 -6985
  197. package/lib/components/breadcrumb/src/index.vue.d.ts +0 -6947
  198. package/lib/components/dialog-form/index.d.ts +0 -311
  199. package/lib/components/dialog-form/src/index.vue.d.ts +0 -211
  200. package/lib/components/display-item/index.d.ts +0 -571
  201. package/lib/components/display-item/src/index.vue.d.ts +0 -437
  202. package/lib/components/drawer-form/index.d.ts +0 -1589
  203. package/lib/components/drawer-form/src/index.vue.d.ts +0 -627
  204. package/lib/components/form/index.d.ts +0 -845
  205. package/lib/components/form/src/form-content.vue.d.ts +0 -583
  206. package/lib/components/form/src/index.vue.d.ts +0 -373
  207. package/lib/components/form-item/index.d.ts +0 -1469
  208. package/lib/components/form-item/src/index.vue.d.ts +0 -535
  209. package/lib/components/page/index.d.ts +0 -10563
  210. package/lib/components/page/src/index.vue.d.ts +0 -3712
  211. package/lib/components/search/index.d.ts +0 -2892
  212. package/lib/components/search/src/index.vue.d.ts +0 -994
  213. package/lib/components/table/src/table-column.vue.d.ts +0 -615
  214. package/lib/components/yc-drawer/store.d.ts +0 -2359
  215. package/lib/components/yc-plus-page/src/index.vue.d.ts +0 -8127
  216. package/lib/hooks/usePlusFormReset.d.ts +0 -4483
package/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- /*! yc-pro-components v0.0.84 */
1
+ /*! yc-pro-components v1.0.0 */
2
2
  import { unref, isRef, ref, inject, isReactive, watch, computed, shallowRef, provide, onMounted, nextTick, onBeforeUnmount, defineComponent, useAttrs, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, normalizeClass, createCommentVNode, reactive, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, withKeys, withModifiers, TransitionGroup, toHandlers, getCurrentInstance, resolveComponent, pushScopeId, popScopeId, toRefs, useSlots, onUnmounted, resolveDirective, onBeforeMount, getCurrentScope, onScopeDispose, toRef, mergeModels, useModel, vShow, createStaticVNode, hasInjectionContext, markRaw, effectScope, toRaw } from 'vue';
3
- import { dayjs, localeContextKey, ElDialog, ElButton, ElPagination, ElRadioGroup, ElRadio, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElTooltip, ElPopconfirm, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElAutocomplete, ElCascader, ElCheckboxGroup, ElCheckbox, ElColorPicker, ElInputNumber, ElRate, ElSelect, ElOption, ElSlider, ElSwitch, ElTimePicker, ElTimeSelect, ElTransfer, ElTreeSelect, ElSelectV2, ElText, ElDivider, ElFormItem, ElOptionGroup, ElRow, ElCol, ElForm, ElCard, ElMessage, ElImage, ElProgress, ElAvatar, ElPopover, ElTable, vLoading, ElDescriptions, ElDescriptionsItem, ElDrawer, TableV2FixedDir, ElAutoResizer, ElTableV2, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop, ElUpload } from 'element-plus';
3
+ import { dayjs, localeContextKey, ElDialog, ElButton, ElPagination, ElRadioGroup, ElRadio, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElTooltip, ElPopconfirm, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElAutocomplete, ElCascader, ElCheckboxGroup, ElCheckbox, ElColorPicker, ElInputNumber, ElRate, ElSelect, ElOption, ElSlider, ElSwitch, ElTimePicker, ElTimeSelect, ElTransfer, ElTreeSelect, ElSelectV2, ElText, ElDivider, ElFormItem, ElOptionGroup, ElRow, ElCol, ElForm, ElCard, ElMessage, ElImage, ElProgress, ElAvatar, ElPopover, ElTable, vLoading, ElDescriptions, ElDescriptionsItem, ElDrawer, TableV2FixedDir, ElAutoResizer, ElTableV2, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop, ElEmpty, ElUpload } from 'element-plus';
4
4
 
5
5
  const makeInstaller = (components = [], directives = {}) => {
6
6
  const install = (app) => {
@@ -4803,6 +4803,8 @@ const selectValueTypeList = [
4803
4803
 
4804
4804
  const DictStoreInjectionKey = Symbol("DictStore");
4805
4805
 
4806
+ const QueryFilterConfigKey = Symbol("QueryFilterConfig");
4807
+
4806
4808
  const throwError = (data) => {
4807
4809
  if (!isArray(data)) {
4808
4810
  console.error("Uncaught TypeError: ", `options expected Array but got ${toRawType(data)}`);
@@ -5024,6 +5026,39 @@ var English = {
5024
5026
  expand: "Expand",
5025
5027
  retract: "Retract"
5026
5028
  },
5029
+ queryFilter: {
5030
+ saveAs: "Save as",
5031
+ saved: "Saved filters",
5032
+ savedTitle: "Saved filters",
5033
+ panelTitle: "Filters",
5034
+ received: "Received filters",
5035
+ shared: "Shared filters",
5036
+ nameTitle: "Filter name",
5037
+ namePlaceholder: "Name this filter",
5038
+ emptyMine: "No saved filters",
5039
+ emptyReceived: "No received filters",
5040
+ emptyShared: "No shared filters",
5041
+ shareTitle: "Share filter",
5042
+ sharePlaceholder: "Search employees in this tenant",
5043
+ recipients: "Recipients",
5044
+ revoke: "Revoke",
5045
+ edit: "Edit",
5046
+ remove: "Delete",
5047
+ share: "Share",
5048
+ confirmDelete: "Delete this filter?",
5049
+ confirmRevoke: "Revoke this share?",
5050
+ saveSuccess: "Saved",
5051
+ deleteSuccess: "Deleted",
5052
+ shareSuccess: "Shared",
5053
+ revokeSuccess: "Revoked",
5054
+ applied: "Filled into the search form. Click Search to query.",
5055
+ schemaMismatch: "This filter schema is outdated. Review it before searching.",
5056
+ noSelector: "Employee selector is not configured",
5057
+ sharedBy: "{time} [{sender}] shared [{name}]",
5058
+ sharedTo: "{time} I shared [{name}] with [{recipient}] and others",
5059
+ sharedByPrefix: "{time} [{sender}] shared",
5060
+ sharedToPrefix: "{time} I shared with [{recipient}] and others"
5061
+ },
5027
5062
  table: {
5028
5063
  title: "Table",
5029
5064
  density: "Density",
@@ -8613,6 +8648,40 @@ function useDictInjection(dictStore) {
8613
8648
  provide(DictStoreInjectionKey, dictStore);
8614
8649
  }
8615
8650
 
8651
+ function unwrapResponse(res) {
8652
+ var _a;
8653
+ const payload = (res == null ? void 0 : res.data) !== void 0 && (res == null ? void 0 : res.code) !== void 0 ? res : (_a = res == null ? void 0 : res.data) != null ? _a : res;
8654
+ const code = payload == null ? void 0 : payload.code;
8655
+ if (code !== void 0 && code !== "00000" && code !== "0" && code !== 0) {
8656
+ throw new Error((payload == null ? void 0 : payload.message) || "\u8BF7\u6C42\u5931\u8D25");
8657
+ }
8658
+ if (payload && typeof payload === "object" && "data" in payload && payload.code !== void 0) {
8659
+ return payload.data;
8660
+ }
8661
+ return payload;
8662
+ }
8663
+ function provideQueryFilterConfig(config) {
8664
+ provide(QueryFilterConfigKey, config);
8665
+ }
8666
+ function useQueryFilterConfig() {
8667
+ return inject(QueryFilterConfigKey, void 0);
8668
+ }
8669
+ function createQueryFilterApi(options) {
8670
+ var _a;
8671
+ const prefix = (_a = options.prefix) != null ? _a : "/opa/api/query-filter";
8672
+ const request = async (path, body) => {
8673
+ return unwrapResponse(await options.post(`${prefix}${path}`, body));
8674
+ };
8675
+ return {
8676
+ saveAs: (body) => request("/save-as", body),
8677
+ update: (body) => request("/update", body),
8678
+ delete: (body) => request("/delete", body),
8679
+ list: (body) => request("/list", body),
8680
+ share: (body) => request("/share", body),
8681
+ revoke: (body) => request("/revoke", body)
8682
+ };
8683
+ }
8684
+
8616
8685
  const DEFAULT_RESIZE_AREA_WIDTH = 12;
8617
8686
  const DEFAULT_BORDER_COLOR = "var(--theme-color)";
8618
8687
  const DEFAULT_SCROLL_SELECTOR = ".el-scrollbar__wrap";
@@ -8930,8 +8999,8 @@ function useTableScrollbarTooltip(tableRef, options = {}) {
8930
8999
  };
8931
9000
  }
8932
9001
 
8933
- const _hoisted_1$v = { class: "plus-dialog-body" };
8934
- var _sfc_main$O = /* @__PURE__ */ defineComponent({
9002
+ const _hoisted_1$w = { class: "plus-dialog-body" };
9003
+ var _sfc_main$P = /* @__PURE__ */ defineComponent({
8935
9004
  ...{
8936
9005
  name: "PlusDialog",
8937
9006
  inheritAttrs: false
@@ -9014,7 +9083,7 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
9014
9083
  style: mergedDialogStyle.value
9015
9084
  }, filteredAttrs.value), createSlots({
9016
9085
  default: withCtx(() => [
9017
- createElementVNode("div", _hoisted_1$v, [
9086
+ createElementVNode("div", _hoisted_1$w, [
9018
9087
  renderSlot(_ctx.$slots, "default")
9019
9088
  ])
9020
9089
  ]),
@@ -9086,25 +9155,25 @@ var _export_sfc = (sfc, props) => {
9086
9155
  return target;
9087
9156
  };
9088
9157
 
9089
- var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__file", "index.vue"]]);
9158
+ var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__file", "index.vue"]]);
9090
9159
 
9091
9160
  const PlusDialog = Dialog;
9092
9161
 
9093
- const _hoisted_1$u = /* @__PURE__ */ createElementVNode(
9162
+ const _hoisted_1$v = /* @__PURE__ */ createElementVNode(
9094
9163
  "span",
9095
9164
  null,
9096
9165
  null,
9097
9166
  -1
9098
9167
  /* HOISTED */
9099
9168
  );
9100
- const _hoisted_2$k = /* @__PURE__ */ createElementVNode(
9169
+ const _hoisted_2$l = /* @__PURE__ */ createElementVNode(
9101
9170
  "span",
9102
9171
  null,
9103
9172
  null,
9104
9173
  -1
9105
9174
  /* HOISTED */
9106
9175
  );
9107
- var _sfc_main$N = /* @__PURE__ */ defineComponent({
9176
+ var _sfc_main$O = /* @__PURE__ */ defineComponent({
9108
9177
  ...{
9109
9178
  name: "PlusPagination"
9110
9179
  },
@@ -9146,7 +9215,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
9146
9215
  },
9147
9216
  [
9148
9217
  _ctx.align === "right" || _ctx.align === "center" ? renderSlot(_ctx.$slots, "pagination-left", { key: 0 }, () => [
9149
- _hoisted_1$u
9218
+ _hoisted_1$v
9150
9219
  ]) : createCommentVNode("v-if", true),
9151
9220
  createVNode(unref(ElPagination), mergeProps({
9152
9221
  layout: "total, sizes, prev, pager, next, jumper",
@@ -9160,7 +9229,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
9160
9229
  onCurrentChange: handleCurrentChange
9161
9230
  }), null, 16, ["current-page", "page-size", "total", "page-sizes"]),
9162
9231
  _ctx.align === "left" || _ctx.align === "center" ? renderSlot(_ctx.$slots, "pagination-right", { key: 1 }, () => [
9163
- _hoisted_2$k
9232
+ _hoisted_2$l
9164
9233
  ]) : createCommentVNode("v-if", true)
9165
9234
  ],
9166
9235
  2
@@ -9170,11 +9239,11 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
9170
9239
  }
9171
9240
  });
9172
9241
 
9173
- var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "index.vue"]]);
9242
+ var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__file", "index.vue"]]);
9174
9243
 
9175
9244
  const PlusPagination = Pagination;
9176
9245
 
9177
- var _sfc_main$M = /* @__PURE__ */ defineComponent({
9246
+ var _sfc_main$N = /* @__PURE__ */ defineComponent({
9178
9247
  ...{
9179
9248
  name: "PlusRadio"
9180
9249
  },
@@ -9359,7 +9428,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
9359
9428
  }
9360
9429
  });
9361
9430
 
9362
- var Radio = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "index.vue"]]);
9431
+ var Radio = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "index.vue"]]);
9363
9432
 
9364
9433
  const PlusRadio = Radio;
9365
9434
 
@@ -15421,13 +15490,13 @@ var ElementPlusIconsVue = /*#__PURE__*/Object.freeze({
15421
15490
  ZoomOut: zoom_out_default
15422
15491
  });
15423
15492
 
15424
- const _hoisted_1$t = {
15493
+ const _hoisted_1$u = {
15425
15494
  key: 0,
15426
15495
  class: "plus-table-action-bar__dropdown__link"
15427
15496
  };
15428
- const _hoisted_2$j = { class: "plus-table-action-bar__dropdown__link" };
15429
- const _hoisted_3$f = { class: "plus-table-action-bar__more-text" };
15430
- var _sfc_main$L = /* @__PURE__ */ defineComponent({
15497
+ const _hoisted_2$k = { class: "plus-table-action-bar__dropdown__link" };
15498
+ const _hoisted_3$g = { class: "plus-table-action-bar__more-text" };
15499
+ var _sfc_main$M = /* @__PURE__ */ defineComponent({
15431
15500
  ...{
15432
15501
  name: "PlusTableActionBar"
15433
15502
  },
@@ -15743,7 +15812,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
15743
15812
  )
15744
15813
  ]),
15745
15814
  default: withCtx(() => [
15746
- _ctx.moreType === "icon" ? (openBlock(), createElementBlock("span", _hoisted_1$t, [
15815
+ _ctx.moreType === "icon" ? (openBlock(), createElementBlock("span", _hoisted_1$u, [
15747
15816
  renderSlot(_ctx.$slots, "action-bar-more-icon", {}, () => [
15748
15817
  createVNode(unref(ElIcon), null, {
15749
15818
  default: withCtx(() => [
@@ -15758,10 +15827,10 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
15758
15827
  { key: 1 },
15759
15828
  [
15760
15829
  createCommentVNode(" \u9ED8\u8BA4 "),
15761
- createElementVNode("span", _hoisted_2$j, [
15830
+ createElementVNode("span", _hoisted_2$k, [
15762
15831
  createElementVNode(
15763
15832
  "span",
15764
- _hoisted_3$f,
15833
+ _hoisted_3$g,
15765
15834
  toDisplayString(unref(t)("plus.table.more")),
15766
15835
  1
15767
15836
  /* TEXT */
@@ -15792,9 +15861,9 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
15792
15861
  }
15793
15862
  });
15794
15863
 
15795
- var PlusTableActionBar = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "table-action-bar.vue"]]);
15864
+ var PlusTableActionBar = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "table-action-bar.vue"]]);
15796
15865
 
15797
- var _sfc_main$K = /* @__PURE__ */ defineComponent({
15866
+ var _sfc_main$L = /* @__PURE__ */ defineComponent({
15798
15867
  ...{
15799
15868
  name: "PlusRender"
15800
15869
  },
@@ -15862,12 +15931,12 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
15862
15931
  }
15863
15932
  });
15864
15933
 
15865
- var Render = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "index.vue"]]);
15934
+ var Render = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "index.vue"]]);
15866
15935
 
15867
15936
  const PlusRender = Render;
15868
15937
 
15869
- const _hoisted_1$s = { class: "plus-date-picker__middle" };
15870
- var _sfc_main$J = /* @__PURE__ */ defineComponent({
15938
+ const _hoisted_1$t = { class: "plus-date-picker__middle" };
15939
+ var _sfc_main$K = /* @__PURE__ */ defineComponent({
15871
15940
  ...{
15872
15941
  name: "PlusDatePicker"
15873
15942
  },
@@ -15972,7 +16041,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
15972
16041
  }), null, 16, ["modelValue", "type", "value-format", "placeholder", "disabled"]),
15973
16042
  createElementVNode(
15974
16043
  "span",
15975
- _hoisted_1$s,
16044
+ _hoisted_1$t,
15976
16045
  toDisplayString(_ctx.rangeSeparator),
15977
16046
  1
15978
16047
  /* TEXT */
@@ -16003,11 +16072,11 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
16003
16072
  }
16004
16073
  });
16005
16074
 
16006
- var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "index.vue"]]);
16075
+ var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "index.vue"]]);
16007
16076
 
16008
16077
  const PlusDatePicker = DatePicker;
16009
16078
 
16010
- var _sfc_main$I = /* @__PURE__ */ defineComponent({
16079
+ var _sfc_main$J = /* @__PURE__ */ defineComponent({
16011
16080
  ...{
16012
16081
  name: "PlusInputTag"
16013
16082
  },
@@ -16144,7 +16213,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
16144
16213
  }
16145
16214
  });
16146
16215
 
16147
- var InputTag = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "index.vue"]]);
16216
+ var InputTag = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "index.vue"]]);
16148
16217
 
16149
16218
  const PlusInputTag = InputTag;
16150
16219
 
@@ -16304,18 +16373,18 @@ const findPlaceholderOverflow = (root, target, point, measure = measureTextWidth
16304
16373
  return hovered ? hitFromInput(hovered, measure) : null;
16305
16374
  };
16306
16375
 
16307
- const _hoisted_1$r = { class: "el-form-item__error" };
16308
- const _hoisted_2$i = { class: "plus-form-item__label" };
16309
- const _hoisted_3$e = {
16376
+ const _hoisted_1$s = { class: "el-form-item__error" };
16377
+ const _hoisted_2$j = { class: "plus-form-item__label" };
16378
+ const _hoisted_3$f = {
16310
16379
  key: 0,
16311
16380
  class: "plus-form-item-field"
16312
16381
  };
16313
- const _hoisted_4$b = {
16382
+ const _hoisted_4$c = {
16314
16383
  key: 1,
16315
16384
  class: "plus-form-item-field"
16316
16385
  };
16317
16386
  const TOOLTIP_SHOW_DELAY = 300;
16318
- var _sfc_main$H = /* @__PURE__ */ defineComponent({
16387
+ var _sfc_main$I = /* @__PURE__ */ defineComponent({
16319
16388
  ...{
16320
16389
  name: "PlusFormItem"
16321
16390
  },
@@ -16338,7 +16407,8 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16338
16407
  optionsMap: { default: void 0 },
16339
16408
  autoDict: { type: [Boolean, Function, Object], default: void 0 },
16340
16409
  index: { default: 0 },
16341
- clearable: { type: Boolean, default: true }
16410
+ clearable: { type: Boolean, default: true },
16411
+ ellipsis: { type: Boolean, default: false }
16342
16412
  },
16343
16413
  emits: ["update:modelValue", "change"],
16344
16414
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -16381,6 +16451,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16381
16451
  labelOverflow.value = el.scrollWidth > el.clientWidth + 1;
16382
16452
  };
16383
16453
  const showLabelTooltip = () => {
16454
+ if (!props.ellipsis) return;
16384
16455
  syncLabelOverflow();
16385
16456
  if (labelTooltipTimer) clearTimeout(labelTooltipTimer);
16386
16457
  if (!labelOverflow.value || !labelTooltipContent.value) {
@@ -16405,6 +16476,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16405
16476
  placeholderTooltipContent.value = "";
16406
16477
  };
16407
16478
  const handlePlaceholderHover = (event) => {
16479
+ if (!props.ellipsis) return;
16408
16480
  const root = event.currentTarget;
16409
16481
  if (!(root instanceof HTMLElement)) return;
16410
16482
  const hit = findPlaceholderOverflow(root, event.target, {
@@ -16603,7 +16675,10 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16603
16675
  ref: formItemInstance,
16604
16676
  label: _ctx.hasLabel ? labelValue.value : "",
16605
16677
  prop: _ctx.prop,
16606
- class: ["plus-form-item", { "plus-form-item--no-label": !_ctx.hasLabel }]
16678
+ class: ["plus-form-item", {
16679
+ "plus-form-item--no-label": !_ctx.hasLabel,
16680
+ "plus-form-item--ellipsis": _ctx.ellipsis
16681
+ }]
16607
16682
  }, customFormItemProps.value, {
16608
16683
  "label-width": _ctx.hasLabel ? (_a = customFormItemProps.value) == null ? void 0 : _a.labelWidth : "0px"
16609
16684
  }), createSlots({
@@ -16616,7 +16691,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16616
16691
  onMouseleave: hidePlaceholderTooltip
16617
16692
  },
16618
16693
  [
16619
- _ctx.renderField && unref(isFunction)(_ctx.renderField) ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
16694
+ _ctx.renderField && unref(isFunction)(_ctx.renderField) ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
16620
16695
  valueIsReady.value ? (openBlock(), createBlock(unref(PlusRender), {
16621
16696
  key: 0,
16622
16697
  render: _ctx.renderField,
@@ -16626,7 +16701,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16626
16701
  "render-type": "form",
16627
16702
  "handle-change": handleChange
16628
16703
  }, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : createCommentVNode("v-if", true)
16629
- ])) : _ctx.$slots[unref(getFieldSlotName)(_ctx.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
16704
+ ])) : _ctx.$slots[unref(getFieldSlotName)(_ctx.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
16630
16705
  renderSlot(_ctx.$slots, unref(getFieldSlotName)(_ctx.prop), mergeProps(params.value, { column: props }))
16631
16706
  ])) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (openBlock(), createBlock(unref(ElSelect$1), mergeProps({
16632
16707
  key: 2,
@@ -16966,7 +17041,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16966
17041
  unref(isFunction)(_ctx.renderErrorMessage) ? {
16967
17042
  name: "error",
16968
17043
  fn: withCtx(({ error }) => [
16969
- createElementVNode("div", _hoisted_1$r, [
17044
+ createElementVNode("div", _hoisted_1$s, [
16970
17045
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.renderErrorMessage), mergeProps(props, {
16971
17046
  value: state.value,
16972
17047
  error,
@@ -16979,13 +17054,13 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
16979
17054
  _ctx.hasLabel ? {
16980
17055
  name: "label",
16981
17056
  fn: withCtx(({ label: currentLabel }) => [
16982
- createElementVNode("span", _hoisted_2$i, [
17057
+ createElementVNode("span", _hoisted_2$j, [
16983
17058
  createVNode(unref(ElTooltip$1), {
16984
17059
  visible: labelTooltipVisible.value,
16985
17060
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => labelTooltipVisible.value = $event),
16986
17061
  content: labelTooltipContent.value,
16987
17062
  placement: "top",
16988
- disabled: !labelOverflow.value || !labelTooltipContent.value
17063
+ disabled: !_ctx.ellipsis || !labelOverflow.value || !labelTooltipContent.value
16989
17064
  }, {
16990
17065
  default: withCtx(() => [
16991
17066
  createElementVNode(
@@ -17063,11 +17138,11 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
17063
17138
  }
17064
17139
  });
17065
17140
 
17066
- var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "index.vue"]]);
17141
+ var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "index.vue"]]);
17067
17142
 
17068
17143
  const PlusFormItem = FormItem;
17069
17144
 
17070
- var _sfc_main$G = /* @__PURE__ */ defineComponent({
17145
+ var _sfc_main$H = /* @__PURE__ */ defineComponent({
17071
17146
  ...{
17072
17147
  name: "PlusCollapseTransition"
17073
17148
  },
@@ -17118,17 +17193,17 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
17118
17193
  }
17119
17194
  });
17120
17195
 
17121
- var PlusCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "collapse-transition.vue"]]);
17196
+ var PlusCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "collapse-transition.vue"]]);
17122
17197
 
17123
- const _hoisted_1$q = {
17198
+ const _hoisted_1$r = {
17124
17199
  key: 0,
17125
17200
  class: "plus-form-item-previous"
17126
17201
  };
17127
- const _hoisted_2$h = {
17202
+ const _hoisted_2$i = {
17128
17203
  key: 1,
17129
17204
  class: "plus-form-item-extra"
17130
17205
  };
17131
- var _sfc_main$F = /* @__PURE__ */ defineComponent({
17206
+ var _sfc_main$G = /* @__PURE__ */ defineComponent({
17132
17207
  ...{
17133
17208
  name: "PlusFormContent"
17134
17209
  },
@@ -17142,7 +17217,8 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
17142
17217
  colProps: { default: () => ({}) },
17143
17218
  collapseDuration: { default: void 0 },
17144
17219
  collapseTransition: { type: Boolean, default: void 0 },
17145
- clearable: { type: Boolean, default: true }
17220
+ clearable: { type: Boolean, default: true },
17221
+ ellipsis: { type: Boolean, default: false }
17146
17222
  },
17147
17223
  emits: ["update:modelValue", "change"],
17148
17224
  setup(__props, { emit: __emit }) {
@@ -17169,6 +17245,13 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
17169
17245
  }
17170
17246
  return props.hasLabel;
17171
17247
  };
17248
+ const getEllipsis = (ellipsis) => {
17249
+ const value = unref(ellipsis);
17250
+ if (isBoolean(value)) {
17251
+ return value;
17252
+ }
17253
+ return props.ellipsis;
17254
+ };
17172
17255
  watch(
17173
17256
  () => props.modelValue,
17174
17257
  (val) => {
@@ -17209,7 +17292,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
17209
17292
  }), {
17210
17293
  default: withCtx(() => [
17211
17294
  createCommentVNode(" el-form-item\u4E0A\u4E00\u884C\u7684\u5185\u5BB9 "),
17212
- item.renderPrevious || _ctx.$slots[unref(getPreviousSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_1$q, [
17295
+ item.renderPrevious || _ctx.$slots[unref(getPreviousSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
17213
17296
  unref(isFunction)(item.renderPrevious) ? (openBlock(), createBlock(
17214
17297
  resolveDynamicComponent(item.renderPrevious),
17215
17298
  normalizeProps(mergeProps({ key: 0 }, item)),
@@ -17223,6 +17306,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
17223
17306
  }, item, {
17224
17307
  clearable: _ctx.clearable,
17225
17308
  "has-label": getHasLabel(item.hasLabel),
17309
+ ellipsis: getEllipsis(item.ellipsis),
17226
17310
  onChange: (value) => handleChange(value, item)
17227
17311
  }), createSlots({
17228
17312
  _: 2
@@ -17249,9 +17333,9 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
17249
17333
  ]),
17250
17334
  key: "2"
17251
17335
  } : void 0
17252
- ]), 1040, ["model-value", "clearable", "has-label", "onChange"]),
17336
+ ]), 1040, ["model-value", "clearable", "has-label", "ellipsis", "onChange"]),
17253
17337
  createCommentVNode(" el-form-item \u4E0B\u4E00\u884C\u989D\u5916\u7684\u5185\u5BB9 "),
17254
- item.renderExtra || _ctx.$slots[unref(getExtraSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
17338
+ item.renderExtra || _ctx.$slots[unref(getExtraSlotName)(item.prop)] ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
17255
17339
  item.renderExtra && unref(isFunction)(item.renderExtra) ? (openBlock(), createBlock(
17256
17340
  resolveDynamicComponent(item.renderExtra),
17257
17341
  normalizeProps(mergeProps({ key: 0 }, item)),
@@ -17282,10 +17366,10 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
17282
17366
  }
17283
17367
  });
17284
17368
 
17285
- var PlusFormContent = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "form-content.vue"]]);
17369
+ var PlusFormContent = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "form-content.vue"]]);
17286
17370
 
17287
- const _hoisted_1$p = { class: "plus-form__group__item__icon" };
17288
- var _sfc_main$E = /* @__PURE__ */ defineComponent({
17371
+ const _hoisted_1$q = { class: "plus-form__group__item__icon" };
17372
+ var _sfc_main$F = /* @__PURE__ */ defineComponent({
17289
17373
  ...{
17290
17374
  name: "PlusForm",
17291
17375
  inheritAttrs: false
@@ -17305,6 +17389,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17305
17389
  hasFooter: { type: Boolean, default: true },
17306
17390
  hasReset: { type: Boolean, default: true },
17307
17391
  hasLabel: { type: Boolean, default: true },
17392
+ ellipsis: { type: Boolean, default: false },
17308
17393
  submitText: { default: "" },
17309
17394
  resetText: { default: "" },
17310
17395
  submitLoading: { type: Boolean, default: false },
@@ -17450,7 +17535,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17450
17535
  icon: groupItem.icon,
17451
17536
  index
17452
17537
  }, () => [
17453
- createElementVNode("div", _hoisted_1$p, [
17538
+ createElementVNode("div", _hoisted_1$q, [
17454
17539
  groupItem.icon ? (openBlock(), createBlock(
17455
17540
  unref(ElIcon),
17456
17541
  { key: 0 },
@@ -17482,6 +17567,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17482
17567
  layout: _ctx.layout,
17483
17568
  columns: filterHide(groupItem.columns),
17484
17569
  "has-label": _ctx.hasLabel,
17570
+ ellipsis: _ctx.ellipsis,
17485
17571
  "collapse-transition": _ctx.collapseTransition,
17486
17572
  "collapse-duration": _ctx.collapseDuration,
17487
17573
  clearable: _ctx.clearable,
@@ -17498,7 +17584,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17498
17584
  ])
17499
17585
  };
17500
17586
  })
17501
- ]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"]))
17587
+ ]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "ellipsis", "collapse-transition", "collapse-duration", "clearable"]))
17502
17588
  ]),
17503
17589
  _: 2
17504
17590
  /* DYNAMIC */
@@ -17522,6 +17608,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17522
17608
  layout: _ctx.layout,
17523
17609
  columns: subColumns.value,
17524
17610
  "has-label": _ctx.hasLabel,
17611
+ ellipsis: _ctx.ellipsis,
17525
17612
  "collapse-transition": _ctx.collapseTransition,
17526
17613
  "collapse-duration": _ctx.collapseDuration,
17527
17614
  clearable: _ctx.clearable,
@@ -17538,7 +17625,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17538
17625
  ])
17539
17626
  };
17540
17627
  })
17541
- ]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"])
17628
+ ]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "ellipsis", "collapse-transition", "collapse-duration", "clearable"])
17542
17629
  ],
17543
17630
  64
17544
17631
  /* STABLE_FRAGMENT */
@@ -17597,7 +17684,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17597
17684
  }
17598
17685
  });
17599
17686
 
17600
- var Form = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "index.vue"]]);
17687
+ var Form = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "index.vue"]]);
17601
17688
 
17602
17689
  const PlusForm = Form;
17603
17690
 
@@ -17640,9 +17727,9 @@ const DisplayComponentMap = {
17640
17727
  const hasDisplayComponent = (valueType) => Object.keys(DisplayComponentMap).includes(valueType);
17641
17728
  const getDisplayComponent = (valueType) => Reflect.get(DisplayComponentMap, valueType) || {};
17642
17729
 
17643
- const _hoisted_1$o = ["innerHTML"];
17644
- const _hoisted_2$g = { class: "plus-display-item" };
17645
- const _hoisted_3$d = /* @__PURE__ */ createElementVNode(
17730
+ const _hoisted_1$p = ["innerHTML"];
17731
+ const _hoisted_2$h = { class: "plus-display-item" };
17732
+ const _hoisted_3$e = /* @__PURE__ */ createElementVNode(
17646
17733
  "svg",
17647
17734
  {
17648
17735
  fill: "none",
@@ -17661,7 +17748,7 @@ const _hoisted_3$d = /* @__PURE__ */ createElementVNode(
17661
17748
  -1
17662
17749
  /* HOISTED */
17663
17750
  );
17664
- var _sfc_main$D = /* @__PURE__ */ defineComponent({
17751
+ var _sfc_main$E = /* @__PURE__ */ defineComponent({
17665
17752
  ...{
17666
17753
  name: "PlusDisplayItem"
17667
17754
  },
@@ -18051,7 +18138,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
18051
18138
  createElementVNode("span", {
18052
18139
  class: "plus-display-item",
18053
18140
  innerHTML: _ctx.column.renderHTML(displayValue.value, renderParams.value)
18054
- }, null, 8, _hoisted_1$o)
18141
+ }, null, 8, _hoisted_1$p)
18055
18142
  ],
18056
18143
  2112
18057
18144
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
@@ -18170,7 +18257,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
18170
18257
  { key: 5 },
18171
18258
  [
18172
18259
  createCommentVNode(" \u590D\u5236 "),
18173
- createElementVNode("span", _hoisted_2$g, [
18260
+ createElementVNode("span", _hoisted_2$h, [
18174
18261
  createTextVNode(
18175
18262
  toDisplayString(formatterValue.value) + " ",
18176
18263
  1
@@ -18296,7 +18383,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
18296
18383
  "pointer-events": "none"
18297
18384
  }, {
18298
18385
  default: withCtx(() => [
18299
- _hoisted_3$d
18386
+ _hoisted_3$e
18300
18387
  ]),
18301
18388
  _: 1
18302
18389
  /* STABLE */
@@ -18310,13 +18397,13 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
18310
18397
  }
18311
18398
  });
18312
18399
 
18313
- var DisplayItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__file", "index.vue"]]);
18400
+ var DisplayItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "index.vue"]]);
18314
18401
 
18315
18402
  const PlusDisplayItem = DisplayItem;
18316
18403
 
18317
- const _hoisted_1$n = { class: "plus-table-column__header-text" };
18318
- const _hoisted_2$f = { class: "plus-table-column__header-text" };
18319
- var _sfc_main$C = /* @__PURE__ */ defineComponent({
18404
+ const _hoisted_1$o = { class: "plus-table-column__header-text" };
18405
+ const _hoisted_2$g = { class: "plus-table-column__header-text" };
18406
+ var _sfc_main$D = /* @__PURE__ */ defineComponent({
18320
18407
  ...{
18321
18408
  name: "PlusTableColumn"
18322
18409
  },
@@ -18450,7 +18537,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
18450
18537
  default: withCtx(() => [
18451
18538
  createElementVNode(
18452
18539
  "span",
18453
- _hoisted_1$n,
18540
+ _hoisted_1$o,
18454
18541
  toDisplayString(unref(getLabel$1)(item.label)),
18455
18542
  1
18456
18543
  /* TEXT */
@@ -18465,7 +18552,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
18465
18552
  createCommentVNode(" \u542F\u7528\u7701\u7565\u4F46\u7981\u7528 tooltip \u65F6 "),
18466
18553
  createElementVNode(
18467
18554
  "span",
18468
- _hoisted_2$f,
18555
+ _hoisted_2$g,
18469
18556
  toDisplayString(unref(getLabel$1)(item.label)),
18470
18557
  1
18471
18558
  /* TEXT */
@@ -18594,9 +18681,9 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
18594
18681
  }
18595
18682
  });
18596
18683
 
18597
- var PlusTableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "table-column.vue"]]);
18684
+ var PlusTableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__file", "table-column.vue"]]);
18598
18685
 
18599
- var _sfc_main$B = /* @__PURE__ */ defineComponent({
18686
+ var _sfc_main$C = /* @__PURE__ */ defineComponent({
18600
18687
  ...{
18601
18688
  name: "PlusTableTableColumnIndex"
18602
18689
  },
@@ -18670,10 +18757,10 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
18670
18757
  }
18671
18758
  });
18672
18759
 
18673
- var PlusTableTableColumnIndex = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "table-column-index.vue"]]);
18760
+ var PlusTableTableColumnIndex = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "table-column-index.vue"]]);
18674
18761
 
18675
- const _hoisted_1$m = { class: "plus-table-column-drag-icon" };
18676
- var _sfc_main$A = /* @__PURE__ */ defineComponent({
18762
+ const _hoisted_1$n = { class: "plus-table-column-drag-icon" };
18763
+ var _sfc_main$B = /* @__PURE__ */ defineComponent({
18677
18764
  ...{
18678
18765
  name: "PlusTableColumnDragSort"
18679
18766
  },
@@ -18724,7 +18811,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
18724
18811
  "class-name": "plus-table-column-drag-sort"
18725
18812
  }, _ctx.dragSortableTableColumnProps), {
18726
18813
  default: withCtx(() => [
18727
- createElementVNode("span", _hoisted_1$m, [
18814
+ createElementVNode("span", _hoisted_1$n, [
18728
18815
  renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
18729
18816
  createTextVNode("\u2637")
18730
18817
  ])
@@ -18737,13 +18824,13 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
18737
18824
  }
18738
18825
  });
18739
18826
 
18740
- var PlusTableColumnDragSort = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "table-column-drag-sort.vue"]]);
18827
+ var PlusTableColumnDragSort = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "table-column-drag-sort.vue"]]);
18741
18828
 
18742
- const _hoisted_1$l = {
18829
+ const _hoisted_1$m = {
18743
18830
  key: 0,
18744
18831
  style: { "padding-top": "12px" }
18745
18832
  };
18746
- var _sfc_main$z = /* @__PURE__ */ defineComponent({
18833
+ var _sfc_main$A = /* @__PURE__ */ defineComponent({
18747
18834
  ...{
18748
18835
  name: "PlusPopover"
18749
18836
  },
@@ -18802,7 +18889,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
18802
18889
  ]),
18803
18890
  default: withCtx(() => [
18804
18891
  renderSlot(_ctx.$slots, "default"),
18805
- _ctx.hasShowBottomButton ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
18892
+ _ctx.hasShowBottomButton ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
18806
18893
  createVNode(unref(ElButton), {
18807
18894
  size: "small",
18808
18895
  plain: "",
@@ -18843,16 +18930,16 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
18843
18930
  }
18844
18931
  });
18845
18932
 
18846
- var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "index.vue"]]);
18933
+ var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "index.vue"]]);
18847
18934
 
18848
18935
  const PlusPopover = Popover;
18849
18936
 
18850
18937
  const _withScopeId$4 = (n) => (pushScopeId("data-v-d1506155"), n = n(), popScopeId(), n);
18851
- const _hoisted_1$k = { class: "plus-table-title-bar" };
18852
- const _hoisted_2$e = { class: "plus-table-title-bar__title" };
18853
- const _hoisted_3$c = { class: "plus-table-title-bar__toolbar" };
18854
- const _hoisted_4$a = { class: "plus-table-title-bar__toolbar__density" };
18855
- const _hoisted_5$9 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode(
18938
+ const _hoisted_1$l = { class: "plus-table-title-bar" };
18939
+ const _hoisted_2$f = { class: "plus-table-title-bar__title" };
18940
+ const _hoisted_3$d = { class: "plus-table-title-bar__toolbar" };
18941
+ const _hoisted_4$b = { class: "plus-table-title-bar__toolbar__density" };
18942
+ const _hoisted_5$a = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode(
18856
18943
  "svg",
18857
18944
  {
18858
18945
  viewBox: "0 0 1024 1024",
@@ -18867,15 +18954,15 @@ const _hoisted_5$9 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ create
18867
18954
  -1
18868
18955
  /* HOISTED */
18869
18956
  ));
18870
- const _hoisted_6$7 = { class: "plus-table-checkbox-checkAll" };
18871
- const _hoisted_7$5 = { class: "plus-table-checkbox-actions" };
18872
- const _hoisted_8$4 = {
18957
+ const _hoisted_6$8 = { class: "plus-table-checkbox-checkAll" };
18958
+ const _hoisted_7$6 = { class: "plus-table-checkbox-actions" };
18959
+ const _hoisted_8$5 = {
18873
18960
  key: 0,
18874
18961
  class: "plus-table-checkbox-handle"
18875
18962
  };
18876
- const _hoisted_9$4 = { key: 1 };
18877
- const _hoisted_10$3 = { key: 1 };
18878
- var _sfc_main$y = /* @__PURE__ */ defineComponent({
18963
+ const _hoisted_9$5 = { key: 1 };
18964
+ const _hoisted_10$4 = { key: 1 };
18965
+ var _sfc_main$z = /* @__PURE__ */ defineComponent({
18879
18966
  ...{
18880
18967
  name: "PlusTableToolbar"
18881
18968
  },
@@ -19044,8 +19131,8 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19044
19131
  });
19045
19132
  return (_ctx, _cache) => {
19046
19133
  var _a, _b, _c;
19047
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
19048
- createElementVNode("div", _hoisted_2$e, [
19134
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
19135
+ createElementVNode("div", _hoisted_2$f, [
19049
19136
  renderSlot(_ctx.$slots, "title", {}, () => [
19050
19137
  createTextVNode(
19051
19138
  toDisplayString(titleBarConfig.value.title),
@@ -19054,7 +19141,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19054
19141
  )
19055
19142
  ], true)
19056
19143
  ]),
19057
- createElementVNode("div", _hoisted_3$c, [
19144
+ createElementVNode("div", _hoisted_3$d, [
19058
19145
  renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
19059
19146
  ((_a = titleBarConfig.value) == null ? void 0 : _a.refresh) === true ? (openBlock(), createElementBlock("span", {
19060
19147
  key: 0,
@@ -19107,7 +19194,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19107
19194
  class: "plus-table-title-bar__toolbar__icon"
19108
19195
  }, {
19109
19196
  default: withCtx(() => [
19110
- _hoisted_5$9
19197
+ _hoisted_5$a
19111
19198
  ]),
19112
19199
  _: 1
19113
19200
  /* STABLE */
@@ -19119,7 +19206,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19119
19206
  }, 8, ["content"])
19120
19207
  ]),
19121
19208
  default: withCtx(() => [
19122
- createElementVNode("div", _hoisted_4$a, [
19209
+ createElementVNode("div", _hoisted_4$b, [
19123
19210
  (openBlock(), createElementBlock(
19124
19211
  Fragment,
19125
19212
  null,
@@ -19186,7 +19273,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19186
19273
  default: withCtx(() => {
19187
19274
  var _a2, _b2, _c2, _d;
19188
19275
  return [
19189
- createElementVNode("div", _hoisted_6$7, [
19276
+ createElementVNode("div", _hoisted_6$8, [
19190
19277
  createVNode(unref(ElCheckbox), {
19191
19278
  modelValue: state.checkAll,
19192
19279
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.checkAll = $event),
@@ -19203,7 +19290,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19203
19290
  _: 1
19204
19291
  /* STABLE */
19205
19292
  }, 8, ["modelValue", "indeterminate"]),
19206
- createElementVNode("div", _hoisted_7$5, [
19293
+ createElementVNode("div", _hoisted_7$6, [
19207
19294
  ((_a2 = columnSetting.value) == null ? void 0 : _a2.confirm) ? (openBlock(), createBlock(unref(ElLink), {
19208
19295
  key: 0,
19209
19296
  type: "primary",
@@ -19264,7 +19351,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19264
19351
  key: item.prop,
19265
19352
  class: "plus-table-checkbox-item"
19266
19353
  }, [
19267
- ((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
19354
+ ((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
19268
19355
  renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
19269
19356
  createTextVNode("\u2637")
19270
19357
  ], true)
@@ -19293,7 +19380,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19293
19380
  /* DYNAMIC */
19294
19381
  }, 1032, ["content"])) : (openBlock(), createElementBlock(
19295
19382
  "span",
19296
- _hoisted_9$4,
19383
+ _hoisted_9$5,
19297
19384
  toDisplayString(item.label ? getLabelValue(item.label) : ""),
19298
19385
  1
19299
19386
  /* TEXT */
@@ -19328,7 +19415,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19328
19415
  /* DYNAMIC */
19329
19416
  }, 1032, ["content"])) : (openBlock(), createElementBlock(
19330
19417
  "span",
19331
- _hoisted_10$3,
19418
+ _hoisted_10$4,
19332
19419
  toDisplayString(item.label ? getLabelValue(item.label) : ""),
19333
19420
  1
19334
19421
  /* TEXT */
@@ -19365,7 +19452,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19365
19452
  }
19366
19453
  });
19367
19454
 
19368
- var PlusTableTitleBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-d1506155"], ["__file", "table-title-bar.vue"]]);
19455
+ var PlusTableTitleBar = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-d1506155"], ["__file", "table-title-bar.vue"]]);
19369
19456
 
19370
19457
  const TABLE_DENSITY_STORAGE_KEY = "yc-table-density";
19371
19458
  const VALID_TABLE_DENSITY = ["default", "large", "small"];
@@ -19388,8 +19475,8 @@ const applyTableDensity = (nextSize) => {
19388
19475
  }
19389
19476
  };
19390
19477
 
19391
- const _hoisted_1$j = { class: "plus-table-expand-col" };
19392
- var _sfc_main$x = /* @__PURE__ */ defineComponent({
19478
+ const _hoisted_1$k = { class: "plus-table-expand-col" };
19479
+ var _sfc_main$y = /* @__PURE__ */ defineComponent({
19393
19480
  ...{
19394
19481
  name: "PlusTable",
19395
19482
  inheritAttrs: false
@@ -19781,7 +19868,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
19781
19868
  }, _ctx.expandTableColumnProps),
19782
19869
  {
19783
19870
  default: withCtx((scoped) => [
19784
- createElementVNode("div", _hoisted_1$j, [
19871
+ createElementVNode("div", _hoisted_1$k, [
19785
19872
  renderSlot(_ctx.$slots, "expand", mergeProps({
19786
19873
  index: scoped.$index
19787
19874
  }, scoped))
@@ -19895,11 +19982,11 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
19895
19982
  }
19896
19983
  });
19897
19984
 
19898
- var _Table = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "index.vue"]]);
19985
+ var _Table = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "index.vue"]]);
19899
19986
 
19900
19987
  const PlusTable = _Table;
19901
19988
 
19902
- var _sfc_main$w = /* @__PURE__ */ defineComponent({
19989
+ var _sfc_main$x = /* @__PURE__ */ defineComponent({
19903
19990
  ...{
19904
19991
  name: "PlusDescriptions"
19905
19992
  },
@@ -20107,7 +20194,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
20107
20194
  }
20108
20195
  });
20109
20196
 
20110
- var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "index.vue"]]);
20197
+ var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "index.vue"]]);
20111
20198
 
20112
20199
  const PlusDescriptions = Descriptions;
20113
20200
 
@@ -29378,7 +29465,7 @@ const DEFAULT_YC_CONFIG = {
29378
29465
  }
29379
29466
  };
29380
29467
 
29381
- var _sfc_main$v = /* @__PURE__ */ defineComponent({
29468
+ var _sfc_main$w = /* @__PURE__ */ defineComponent({
29382
29469
  ...{
29383
29470
  name: "YcConfigProvider"
29384
29471
  },
@@ -29428,7 +29515,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
29428
29515
  }
29429
29516
  });
29430
29517
 
29431
- var ConfigProvider = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "index.vue"]]);
29518
+ var ConfigProvider = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "index.vue"]]);
29432
29519
 
29433
29520
  function useYcConfig() {
29434
29521
  const config = inject(YC_CONFIG_KEY, DEFAULT_YC_CONFIG);
@@ -29480,7 +29567,7 @@ function useYcComponentConfig(componentName) {
29480
29567
 
29481
29568
  const YcConfigProvider = l(ConfigProvider);
29482
29569
 
29483
- var _sfc_main$u = /* @__PURE__ */ defineComponent({
29570
+ var _sfc_main$v = /* @__PURE__ */ defineComponent({
29484
29571
  ...{
29485
29572
  name: "PlusSearch"
29486
29573
  },
@@ -29502,6 +29589,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
29502
29589
  inline: { type: Boolean, default: true },
29503
29590
  showNumber: { default: 2 },
29504
29591
  labelPosition: { default: void 0 },
29592
+ ellipsis: { type: Boolean, default: false },
29505
29593
  rowProps: { default: () => ({
29506
29594
  gutter: 20
29507
29595
  }) },
@@ -29606,6 +29694,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
29606
29694
  "col-props": _ctx.colProps,
29607
29695
  columns: subColumns.value,
29608
29696
  layout: _ctx.layout,
29697
+ ellipsis: _ctx.ellipsis,
29609
29698
  class: "plus-search",
29610
29699
  "has-footer": false,
29611
29700
  onChange: handleChange
@@ -29624,6 +29713,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
29624
29713
  handleUnfold,
29625
29714
  searchLoading: _ctx.searchLoading
29626
29715
  }, () => [
29716
+ renderSlot(_ctx.$slots, "search-actions-after"),
29627
29717
  createCommentVNode(' :icon="computedResetIcon" '),
29628
29718
  _ctx.hasReset ? (openBlock(), createBlock(unref(ElButton), {
29629
29719
  key: 0,
@@ -29697,16 +29787,16 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
29697
29787
  ])
29698
29788
  };
29699
29789
  })
29700
- ]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout"]);
29790
+ ]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout", "ellipsis"]);
29701
29791
  };
29702
29792
  }
29703
29793
  });
29704
29794
 
29705
- var Search = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "index.vue"]]);
29795
+ var Search = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "index.vue"]]);
29706
29796
 
29707
29797
  const PlusSearch = Search;
29708
29798
 
29709
- var _sfc_main$t = /* @__PURE__ */ defineComponent({
29799
+ var _sfc_main$u = /* @__PURE__ */ defineComponent({
29710
29800
  ...{
29711
29801
  name: "PlusDialogForm"
29712
29802
  },
@@ -29868,12 +29958,12 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
29868
29958
  }
29869
29959
  });
29870
29960
 
29871
- var DialogForm = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "index.vue"]]);
29961
+ var DialogForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "index.vue"]]);
29872
29962
 
29873
29963
  const PlusDialogForm = DialogForm;
29874
29964
 
29875
- const _hoisted_1$i = { class: "plus-drawer-form__footer" };
29876
- var _sfc_main$s = /* @__PURE__ */ defineComponent({
29965
+ const _hoisted_1$j = { class: "plus-drawer-form__footer" };
29966
+ var _sfc_main$t = /* @__PURE__ */ defineComponent({
29877
29967
  ...{
29878
29968
  name: "PlusDrawerForm"
29879
29969
  },
@@ -30028,7 +30118,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
30028
30118
  _ctx.hasFooter ? {
30029
30119
  name: "footer",
30030
30120
  fn: withCtx(() => [
30031
- createElementVNode("div", _hoisted_1$i, [
30121
+ createElementVNode("div", _hoisted_1$j, [
30032
30122
  renderSlot(_ctx.$slots, "drawer-footer", normalizeProps(guardReactiveProps({ handleConfirm, handleCancel })), () => [
30033
30123
  createVNode(unref(ElButton), { onClick: handleCancel }, {
30034
30124
  default: withCtx(() => [
@@ -30066,7 +30156,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
30066
30156
  }
30067
30157
  });
30068
30158
 
30069
- var DrawerForm = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "index.vue"]]);
30159
+ var DrawerForm = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "index.vue"]]);
30070
30160
 
30071
30161
  const PlusDrawerForm = DrawerForm;
30072
30162
 
@@ -30648,17 +30738,17 @@ function useVirtualScroll(options = {}) {
30648
30738
  };
30649
30739
  }
30650
30740
 
30651
- const _hoisted_1$h = {
30741
+ const _hoisted_1$i = {
30652
30742
  key: 0,
30653
30743
  class: "plus-virtual-table__title-bar"
30654
30744
  };
30655
- const _hoisted_2$d = { class: "plus-virtual-table__title-bar__left" };
30656
- const _hoisted_3$b = {
30745
+ const _hoisted_2$e = { class: "plus-virtual-table__title-bar__left" };
30746
+ const _hoisted_3$c = {
30657
30747
  key: 0,
30658
30748
  class: "plus-virtual-table__title-bar__text"
30659
30749
  };
30660
- const _hoisted_4$9 = { class: "plus-virtual-table__title-bar__right" };
30661
- var _sfc_main$r = /* @__PURE__ */ defineComponent({
30750
+ const _hoisted_4$a = { class: "plus-virtual-table__title-bar__right" };
30751
+ var _sfc_main$s = /* @__PURE__ */ defineComponent({
30662
30752
  ...{
30663
30753
  name: "PlusVirtualTable",
30664
30754
  inheritAttrs: false
@@ -30841,19 +30931,19 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
30841
30931
  },
30842
30932
  [
30843
30933
  createCommentVNode(" \u6807\u9898\u680F\uFF08\u7B80\u5316\u7248\uFF09 "),
30844
- showTitleBar.value ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
30845
- createElementVNode("div", _hoisted_2$d, [
30934
+ showTitleBar.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
30935
+ createElementVNode("div", _hoisted_2$e, [
30846
30936
  renderSlot(_ctx.$slots, "title", {}, () => [
30847
30937
  titleBarConfig.value.title ? (openBlock(), createElementBlock(
30848
30938
  "span",
30849
- _hoisted_3$b,
30939
+ _hoisted_3$c,
30850
30940
  toDisplayString(titleBarConfig.value.title),
30851
30941
  1
30852
30942
  /* TEXT */
30853
30943
  )) : createCommentVNode("v-if", true)
30854
30944
  ])
30855
30945
  ]),
30856
- createElementVNode("div", _hoisted_4$9, [
30946
+ createElementVNode("div", _hoisted_4$a, [
30857
30947
  renderSlot(_ctx.$slots, "toolbar"),
30858
30948
  titleBarConfig.value.refresh ? (openBlock(), createBlock(unref(ElIcon), {
30859
30949
  key: 0,
@@ -30965,12 +31055,12 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
30965
31055
  }
30966
31056
  });
30967
31057
 
30968
- var _VirtualTable = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "index.vue"]]);
31058
+ var _VirtualTable = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "index.vue"]]);
30969
31059
 
30970
31060
  const PlusVirtualTable = _VirtualTable;
30971
31061
 
30972
- const _hoisted_1$g = { class: "plus-page" };
30973
- var _sfc_main$q = /* @__PURE__ */ defineComponent({
31062
+ const _hoisted_1$h = { class: "plus-page" };
31063
+ var _sfc_main$r = /* @__PURE__ */ defineComponent({
30974
31064
  ...{
30975
31065
  name: "PlusPage"
30976
31066
  },
@@ -31031,14 +31121,19 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31031
31121
  const plusSearchInstance = ref(null);
31032
31122
  const plusTableInstance = ref(null);
31033
31123
  const plusVirtualTableInstance = ref(null);
31034
- const values = ref({ ...(_a = props.search) == null ? void 0 : _a.defaultValues });
31124
+ const defaultSearchValues = {
31125
+ ...(_a = props.search) == null ? void 0 : _a.defaultValues
31126
+ };
31127
+ const searchFormValues = ref({ ...defaultSearchValues });
31128
+ const submittedSearchValues = ref({ ...defaultSearchValues });
31035
31129
  const isVirtualMode = computed(() => {
31036
31130
  var _a2;
31037
31131
  return !!((_a2 = props.table) == null ? void 0 : _a2.useVirtual);
31038
31132
  });
31039
31133
  const virtualTableProps = computed(() => {
31040
31134
  if (!isVirtualMode.value) return {};
31041
- const { useVirtual: _, ...rest } = props.table || {};
31135
+ const rest = { ...props.table || {} };
31136
+ delete rest.useVirtual;
31042
31137
  return rest;
31043
31138
  });
31044
31139
  const virtualColumns = computed(() => {
@@ -31074,7 +31169,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31074
31169
  try {
31075
31170
  loadingStatus.value = true;
31076
31171
  const payload = {
31077
- ...values.value,
31172
+ ...submittedSearchValues.value,
31078
31173
  // eslint-disabled no-useless-spread
31079
31174
  ...{
31080
31175
  [((_a2 = props.pageInfoMap) == null ? void 0 : _a2.page) || "page"]: pageInfo.value.page,
@@ -31102,16 +31197,18 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31102
31197
  };
31103
31198
  const handleSearch = (val) => {
31104
31199
  const data = props.beforeSearchSubmit && props.beforeSearchSubmit(val) || val;
31105
- values.value = data;
31200
+ searchFormValues.value = data;
31201
+ submittedSearchValues.value = { ...data };
31106
31202
  pageInfo.value.page = 1;
31107
31203
  getList();
31108
- emit("search", values.value);
31204
+ emit("search", submittedSearchValues.value);
31109
31205
  };
31110
31206
  const handleReset = (val) => {
31111
- values.value = { ...val };
31207
+ searchFormValues.value = { ...val };
31208
+ submittedSearchValues.value = { ...val };
31112
31209
  pageInfo.value.page = 1;
31113
31210
  getList();
31114
- emit("reset", values.value);
31211
+ emit("reset", submittedSearchValues.value);
31115
31212
  };
31116
31213
  const handleRefresh = () => {
31117
31214
  getList();
@@ -31119,19 +31216,22 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31119
31216
  const setSearchFieldsValue = (val) => {
31120
31217
  if (isPlainObject$1(val)) {
31121
31218
  Object.keys(val).forEach((key) => {
31122
- Reflect.set(values.value, key, val[key]);
31219
+ Reflect.set(searchFormValues.value, key, val[key]);
31123
31220
  });
31124
31221
  }
31125
31222
  };
31223
+ const replaceSearchFormValues = (val) => {
31224
+ searchFormValues.value = isPlainObject$1(val) ? { ...val } : {};
31225
+ };
31126
31226
  const getSearchFieldsValue = (key) => {
31127
31227
  if (key !== void 0 && key !== null) {
31128
- return Reflect.get(values.value, key);
31228
+ return Reflect.get(searchFormValues.value, key);
31129
31229
  } else {
31130
- return { ...values.value };
31230
+ return { ...searchFormValues.value };
31131
31231
  }
31132
31232
  };
31133
31233
  const clearSearchFieldsValue = () => {
31134
- values.value = {};
31234
+ searchFormValues.value = {};
31135
31235
  };
31136
31236
  const setTableData = (data, _total) => {
31137
31237
  tableData.value = data || [];
@@ -31148,6 +31248,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31148
31248
  */
31149
31249
  handleRest: handleReset,
31150
31250
  setSearchFieldsValue,
31251
+ replaceSearchFormValues,
31151
31252
  getSearchFieldsValue,
31152
31253
  clearSearchFieldsValue,
31153
31254
  /**
@@ -31156,15 +31257,15 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31156
31257
  setTableData
31157
31258
  });
31158
31259
  return (_ctx, _cache) => {
31159
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
31260
+ return openBlock(), createElementBlock("div", _hoisted_1$h, [
31160
31261
  _ctx.search ? (openBlock(), createBlock(resolveDynamicComponent(renderWrapper().search), { key: 0 }, {
31161
31262
  default: withCtx(() => [
31162
31263
  createVNode(unref(PlusSearch), mergeProps({
31163
31264
  ref_key: "plusSearchInstance",
31164
31265
  ref: plusSearchInstance
31165
31266
  }, _ctx.search, {
31166
- modelValue: values.value,
31167
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => values.value = $event),
31267
+ modelValue: searchFormValues.value,
31268
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchFormValues.value = $event),
31168
31269
  columns: _ctx.columns,
31169
31270
  "search-loading": unref(loadingStatus),
31170
31271
  onSearch: handleSearch,
@@ -31180,6 +31281,13 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31180
31281
  ]),
31181
31282
  key: "0"
31182
31283
  } : void 0,
31284
+ _ctx.$slots["search-actions-after"] ? {
31285
+ name: "search-actions-after",
31286
+ fn: withCtx(() => [
31287
+ renderSlot(_ctx.$slots, "search-actions-after")
31288
+ ]),
31289
+ key: "1"
31290
+ } : void 0,
31183
31291
  renderList(searchSlots.value, (_, key) => {
31184
31292
  return {
31185
31293
  name: key,
@@ -31339,11 +31447,11 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31339
31447
  }
31340
31448
  });
31341
31449
 
31342
- var Page = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "index.vue"]]);
31450
+ var Page = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "index.vue"]]);
31343
31451
 
31344
31452
  const PlusPage = Page;
31345
31453
 
31346
- var _sfc_main$p = /* @__PURE__ */ defineComponent({
31454
+ var _sfc_main$q = /* @__PURE__ */ defineComponent({
31347
31455
  ...{
31348
31456
  name: "PlusStepsForm"
31349
31457
  },
@@ -31484,11 +31592,11 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
31484
31592
  }
31485
31593
  });
31486
31594
 
31487
- var StepsForm = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "index.vue"]]);
31595
+ var StepsForm = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "index.vue"]]);
31488
31596
 
31489
31597
  const PlusStepsForm = StepsForm;
31490
31598
 
31491
- var _sfc_main$o = /* @__PURE__ */ defineComponent({
31599
+ var _sfc_main$p = /* @__PURE__ */ defineComponent({
31492
31600
  ...{
31493
31601
  name: "PlusBreadcrumb"
31494
31602
  },
@@ -31578,13 +31686,13 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
31578
31686
  }
31579
31687
  });
31580
31688
 
31581
- var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "index.vue"]]);
31689
+ var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "index.vue"]]);
31582
31690
 
31583
31691
  const PlusBreadcrumb = Breadcrumb;
31584
31692
 
31585
- const _hoisted_1$f = { class: "plus-sidebar__item-title" };
31586
- const _hoisted_2$c = { class: "plus-sidebar__item-title" };
31587
- var _sfc_main$n = /* @__PURE__ */ defineComponent({
31693
+ const _hoisted_1$g = { class: "plus-sidebar__item-title" };
31694
+ const _hoisted_2$d = { class: "plus-sidebar__item-title" };
31695
+ var _sfc_main$o = /* @__PURE__ */ defineComponent({
31588
31696
  ...{
31589
31697
  name: "PlusSidebarItem",
31590
31698
  inheritAttrs: false
@@ -31649,7 +31757,7 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
31649
31757
  title: withCtx(() => {
31650
31758
  var _a2;
31651
31759
  return [
31652
- createElementVNode("span", _hoisted_1$f, [
31760
+ createElementVNode("span", _hoisted_1$g, [
31653
31761
  _ctx.renderTitle && unref(isFunction)(_ctx.renderTitle) ? (openBlock(), createBlock(
31654
31762
  resolveDynamicComponent(_ctx.renderTitle),
31655
31763
  normalizeProps(mergeProps({ key: 0 }, unref(removeChildrenField)(_ctx.item))),
@@ -31764,7 +31872,7 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
31764
31872
  _: 1
31765
31873
  /* STABLE */
31766
31874
  })) : createCommentVNode("v-if", true),
31767
- createElementVNode("span", _hoisted_2$c, [
31875
+ createElementVNode("span", _hoisted_2$d, [
31768
31876
  _ctx.renderTitle && unref(isFunction)(_ctx.renderTitle) ? (openBlock(), createBlock(
31769
31877
  resolveDynamicComponent(_ctx.renderTitle),
31770
31878
  normalizeProps(mergeProps({ key: 0 }, unref(removeChildrenField)(_ctx.item))),
@@ -31856,9 +31964,9 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
31856
31964
  }
31857
31965
  });
31858
31966
 
31859
- var SidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "sidebar-item.vue"]]);
31967
+ var SidebarItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "sidebar-item.vue"]]);
31860
31968
 
31861
- var _sfc_main$m = /* @__PURE__ */ defineComponent({
31969
+ var _sfc_main$n = /* @__PURE__ */ defineComponent({
31862
31970
  ...{
31863
31971
  name: "PlusSidebar"
31864
31972
  },
@@ -32024,33 +32132,33 @@ var _sfc_main$m = /* @__PURE__ */ defineComponent({
32024
32132
  }
32025
32133
  });
32026
32134
 
32027
- var Sidebar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "index.vue"]]);
32135
+ var Sidebar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "index.vue"]]);
32028
32136
 
32029
32137
  const PlusSidebar = Sidebar;
32030
32138
  const PlusSidebarItem = SidebarItem;
32031
32139
 
32032
- const _hoisted_1$e = { class: "plus-header__left" };
32033
- const _hoisted_2$b = ["src"];
32034
- const _hoisted_3$a = {
32140
+ const _hoisted_1$f = { class: "plus-header__left" };
32141
+ const _hoisted_2$c = ["src"];
32142
+ const _hoisted_3$b = {
32035
32143
  key: 1,
32036
32144
  class: "plus-header__title"
32037
32145
  };
32038
- const _hoisted_4$8 = /* @__PURE__ */ createElementVNode(
32146
+ const _hoisted_4$9 = /* @__PURE__ */ createElementVNode(
32039
32147
  "div",
32040
32148
  { class: "plus-header__placeholder" },
32041
32149
  null,
32042
32150
  -1
32043
32151
  /* HOISTED */
32044
32152
  );
32045
- const _hoisted_5$8 = { class: "plus-header__right" };
32046
- const _hoisted_6$6 = { class: "plus-header__dropdown-area" };
32047
- const _hoisted_7$4 = ["src"];
32048
- const _hoisted_8$3 = { class: "plus-header__username" };
32049
- const _hoisted_9$3 = {
32153
+ const _hoisted_5$9 = { class: "plus-header__right" };
32154
+ const _hoisted_6$7 = { class: "plus-header__dropdown-area" };
32155
+ const _hoisted_7$5 = ["src"];
32156
+ const _hoisted_8$4 = { class: "plus-header__username" };
32157
+ const _hoisted_9$4 = {
32050
32158
  key: 0,
32051
32159
  class: "plus-header-placeholder"
32052
32160
  };
32053
- var _sfc_main$l = /* @__PURE__ */ defineComponent({
32161
+ var _sfc_main$m = /* @__PURE__ */ defineComponent({
32054
32162
  ...{
32055
32163
  name: "PlusHeader"
32056
32164
  },
@@ -32088,7 +32196,7 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32088
32196
  class: normalizeClass(["plus-header", { "is-fixed": _ctx.fixed }])
32089
32197
  }, {
32090
32198
  default: withCtx(() => [
32091
- createElementVNode("div", _hoisted_1$e, [
32199
+ createElementVNode("div", _hoisted_1$f, [
32092
32200
  _ctx.renderHeaderLeft && unref(isFunction)(_ctx.renderHeaderLeft) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.renderHeaderLeft), {
32093
32201
  key: 0,
32094
32202
  logo: _ctx.logo,
@@ -32106,10 +32214,10 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32106
32214
  src: _ctx.logo,
32107
32215
  alt: "",
32108
32216
  class: "plus-header__logo"
32109
- }, null, 8, _hoisted_2$b)) : createCommentVNode("v-if", true),
32217
+ }, null, 8, _hoisted_2$c)) : createCommentVNode("v-if", true),
32110
32218
  _ctx.title ? (openBlock(), createElementBlock(
32111
32219
  "h2",
32112
- _hoisted_3$a,
32220
+ _hoisted_3$b,
32113
32221
  toDisplayString(_ctx.title),
32114
32222
  1
32115
32223
  /* TEXT */
@@ -32119,8 +32227,8 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32119
32227
  /* STABLE_FRAGMENT */
32120
32228
  ))
32121
32229
  ]),
32122
- _hoisted_4$8,
32123
- createElementVNode("div", _hoisted_5$8, [
32230
+ _hoisted_4$9,
32231
+ createElementVNode("div", _hoisted_5$9, [
32124
32232
  _ctx.renderHeaderRight && unref(isFunction)(_ctx.renderHeaderRight) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.renderHeaderRight), {
32125
32233
  key: 0,
32126
32234
  "user-info": _ctx.userInfo,
@@ -32179,14 +32287,14 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32179
32287
  })
32180
32288
  ]),
32181
32289
  default: withCtx(() => [
32182
- createElementVNode("span", _hoisted_6$6, [
32290
+ createElementVNode("span", _hoisted_6$7, [
32183
32291
  createCommentVNode(" avatar "),
32184
32292
  _ctx.userInfo.avatar ? (openBlock(), createElementBlock("img", {
32185
32293
  key: 0,
32186
32294
  src: _ctx.userInfo.avatar,
32187
32295
  alt: "",
32188
32296
  class: "plus-header__avatar"
32189
- }, null, 8, _hoisted_7$4)) : (openBlock(), createBlock(unref(ElIcon), {
32297
+ }, null, 8, _hoisted_7$5)) : (openBlock(), createBlock(unref(ElIcon), {
32190
32298
  key: 1,
32191
32299
  size: 20,
32192
32300
  class: "plus-header__avatar"
@@ -32200,7 +32308,7 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32200
32308
  createCommentVNode(" username "),
32201
32309
  createElementVNode(
32202
32310
  "p",
32203
- _hoisted_8$3,
32311
+ _hoisted_8$4,
32204
32312
  toDisplayString(_ctx.userInfo.username || "admin"),
32205
32313
  1
32206
32314
  /* TEXT */
@@ -32222,7 +32330,7 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32222
32330
  _: 3
32223
32331
  /* FORWARDED */
32224
32332
  }, 8, ["class"]),
32225
- _ctx.fixed ? (openBlock(), createElementBlock("div", _hoisted_9$3)) : createCommentVNode("v-if", true)
32333
+ _ctx.fixed ? (openBlock(), createElementBlock("div", _hoisted_9$4)) : createCommentVNode("v-if", true)
32226
32334
  ],
32227
32335
  64
32228
32336
  /* STABLE_FRAGMENT */
@@ -32231,16 +32339,16 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32231
32339
  }
32232
32340
  });
32233
32341
 
32234
- var Header = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "index.vue"]]);
32342
+ var Header = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "index.vue"]]);
32235
32343
 
32236
32344
  const PlusHeader = Header;
32237
32345
 
32238
- const _hoisted_1$d = { class: "plus-layout-main" };
32239
- const _hoisted_2$a = {
32346
+ const _hoisted_1$e = { class: "plus-layout-main" };
32347
+ const _hoisted_2$b = {
32240
32348
  key: 0,
32241
32349
  class: "plus-layout-extra"
32242
32350
  };
32243
- var _sfc_main$k = /* @__PURE__ */ defineComponent({
32351
+ var _sfc_main$l = /* @__PURE__ */ defineComponent({
32244
32352
  ...{
32245
32353
  name: "PlusLayout"
32246
32354
  },
@@ -32359,9 +32467,9 @@ var _sfc_main$k = /* @__PURE__ */ defineComponent({
32359
32467
  } : void 0
32360
32468
  ]), 1040, ["collapse"])) : createCommentVNode("v-if", true),
32361
32469
  createCommentVNode(" \u4E3B\u5185\u5BB9 "),
32362
- createElementVNode("main", _hoisted_1$d, [
32470
+ createElementVNode("main", _hoisted_1$e, [
32363
32471
  createCommentVNode(" \u9762\u5305\u5C51\u4E0A\u65B9 "),
32364
- _ctx.$slots["layout-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
32472
+ _ctx.$slots["layout-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
32365
32473
  renderSlot(_ctx.$slots, "layout-extra")
32366
32474
  ])) : createCommentVNode("v-if", true),
32367
32475
  createCommentVNode(" \u9762\u5305\u5C51 "),
@@ -32434,22 +32542,22 @@ var _sfc_main$k = /* @__PURE__ */ defineComponent({
32434
32542
  }
32435
32543
  });
32436
32544
 
32437
- var Layout = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "index.vue"]]);
32545
+ var Layout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "index.vue"]]);
32438
32546
 
32439
32547
  const PlusLayout = Layout;
32440
32548
 
32441
- const _hoisted_1$c = { class: "plus-check-card__avatar-wrapper" };
32442
- const _hoisted_2$9 = { class: "plus-check-card__right-content" };
32443
- const _hoisted_3$9 = {
32549
+ const _hoisted_1$d = { class: "plus-check-card__avatar-wrapper" };
32550
+ const _hoisted_2$a = { class: "plus-check-card__right-content" };
32551
+ const _hoisted_3$a = {
32444
32552
  key: 0,
32445
32553
  class: "plus-check-card__title"
32446
32554
  };
32447
- const _hoisted_4$7 = { class: "plus-check-card__title-left" };
32448
- const _hoisted_5$7 = {
32555
+ const _hoisted_4$8 = { class: "plus-check-card__title-left" };
32556
+ const _hoisted_5$8 = {
32449
32557
  key: 1,
32450
32558
  class: "plus-check-card__description"
32451
32559
  };
32452
- var _sfc_main$j = /* @__PURE__ */ defineComponent({
32560
+ var _sfc_main$k = /* @__PURE__ */ defineComponent({
32453
32561
  ...{
32454
32562
  name: "PlusCheckCard"
32455
32563
  },
@@ -32504,7 +32612,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
32504
32612
  onClick: handleClick
32505
32613
  },
32506
32614
  [
32507
- createElementVNode("div", _hoisted_1$c, [
32615
+ createElementVNode("div", _hoisted_1$d, [
32508
32616
  unref(isFunction)(_ctx.avatar) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.avatar), {
32509
32617
  key: 0,
32510
32618
  avatar: _ctx.avatar,
@@ -32520,9 +32628,9 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
32520
32628
  src: _ctx.avatar
32521
32629
  }, _ctx.avatarProps), null, 16, ["src"])) : createCommentVNode("v-if", true)
32522
32630
  ]),
32523
- createElementVNode("div", _hoisted_2$9, [
32524
- _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
32525
- createElementVNode("div", _hoisted_4$7, [
32631
+ createElementVNode("div", _hoisted_2$a, [
32632
+ _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
32633
+ createElementVNode("div", _hoisted_4$8, [
32526
32634
  unref(isFunction)(_ctx.title) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.title), {
32527
32635
  key: 0,
32528
32636
  avatar: _ctx.avatar,
@@ -32564,7 +32672,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
32564
32672
  }) : createCommentVNode("v-if", true)
32565
32673
  ])
32566
32674
  ])) : createCommentVNode("v-if", true),
32567
- _ctx.description || _ctx.$slots.description ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
32675
+ _ctx.description || _ctx.$slots.description ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
32568
32676
  unref(isFunction)(_ctx.description) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.description), {
32569
32677
  key: 0,
32570
32678
  title: _ctx.title,
@@ -32598,12 +32706,12 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
32598
32706
  }
32599
32707
  });
32600
32708
 
32601
- var CheckCard = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "index.vue"]]);
32709
+ var CheckCard = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "index.vue"]]);
32602
32710
 
32603
32711
  const PlusCheckCard = CheckCard;
32604
32712
 
32605
- const _hoisted_1$b = { class: "plus-check-card-group" };
32606
- var _sfc_main$i = /* @__PURE__ */ defineComponent({
32713
+ const _hoisted_1$c = { class: "plus-check-card-group" };
32714
+ var _sfc_main$j = /* @__PURE__ */ defineComponent({
32607
32715
  ...{
32608
32716
  name: "PlusCheckCardGroup"
32609
32717
  },
@@ -32657,7 +32765,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
32657
32765
  emit("extra", item);
32658
32766
  };
32659
32767
  return (_ctx, _cache) => {
32660
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
32768
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
32661
32769
  (openBlock(true), createElementBlock(
32662
32770
  Fragment,
32663
32771
  null,
@@ -32716,12 +32824,12 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
32716
32824
  }
32717
32825
  });
32718
32826
 
32719
- var CheckCardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "index.vue"]]);
32827
+ var CheckCardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "index.vue"]]);
32720
32828
 
32721
32829
  const PlusCheckCardGroup = CheckCardGroup;
32722
32830
 
32723
- const _hoisted_1$a = ["src"];
32724
- var _sfc_main$h = /* @__PURE__ */ defineComponent({
32831
+ const _hoisted_1$b = ["src"];
32832
+ var _sfc_main$i = /* @__PURE__ */ defineComponent({
32725
32833
  ...{
32726
32834
  name: "YcSvgIcon",
32727
32835
  inheritAttrs: false
@@ -32768,7 +32876,7 @@ var _sfc_main$h = /* @__PURE__ */ defineComponent({
32768
32876
  opacity: _ctx.opacity
32769
32877
  },
32770
32878
  alt: ""
32771
- }), null, 16, _hoisted_1$a)) : (openBlock(), createElementBlock(
32879
+ }), null, 16, _hoisted_1$b)) : (openBlock(), createElementBlock(
32772
32880
  Fragment,
32773
32881
  { key: 1 },
32774
32882
  [
@@ -32802,7 +32910,759 @@ var _sfc_main$h = /* @__PURE__ */ defineComponent({
32802
32910
  }
32803
32911
  });
32804
32912
 
32805
- var YcSvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-34e1f2f7"], ["__file", "index.vue"]]);
32913
+ var YcSvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-34e1f2f7"], ["__file", "index.vue"]]);
32914
+
32915
+ /*!
32916
+ * vue-router v4.2.0
32917
+ * (c) 2023 Eduardo San Martin Morote
32918
+ * @license MIT
32919
+ */
32920
+
32921
+ var NavigationType;
32922
+ (function (NavigationType) {
32923
+ NavigationType["pop"] = "pop";
32924
+ NavigationType["push"] = "push";
32925
+ })(NavigationType || (NavigationType = {}));
32926
+ var NavigationDirection;
32927
+ (function (NavigationDirection) {
32928
+ NavigationDirection["back"] = "back";
32929
+ NavigationDirection["forward"] = "forward";
32930
+ NavigationDirection["unknown"] = "";
32931
+ })(NavigationDirection || (NavigationDirection = {}));
32932
+
32933
+ Symbol((process.env.NODE_ENV !== 'production') ? 'navigation failure' : '');
32934
+ /**
32935
+ * Enumeration with all possible types for navigation failures. Can be passed to
32936
+ * {@link isNavigationFailure} to check for specific failures.
32937
+ */
32938
+ var NavigationFailureType;
32939
+ (function (NavigationFailureType) {
32940
+ /**
32941
+ * An aborted navigation is a navigation that failed because a navigation
32942
+ * guard returned `false` or called `next(false)`
32943
+ */
32944
+ NavigationFailureType[NavigationFailureType["aborted"] = 4] = "aborted";
32945
+ /**
32946
+ * A cancelled navigation is a navigation that failed because a more recent
32947
+ * navigation finished started (not necessarily finished).
32948
+ */
32949
+ NavigationFailureType[NavigationFailureType["cancelled"] = 8] = "cancelled";
32950
+ /**
32951
+ * A duplicated navigation is a navigation that failed because it was
32952
+ * initiated while already being at the exact same location.
32953
+ */
32954
+ NavigationFailureType[NavigationFailureType["duplicated"] = 16] = "duplicated";
32955
+ })(NavigationFailureType || (NavigationFailureType = {}));
32956
+
32957
+ /**
32958
+ * RouteRecord being rendered by the closest ancestor Router View. Used for
32959
+ * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
32960
+ * Location Matched
32961
+ *
32962
+ * @internal
32963
+ */
32964
+ Symbol((process.env.NODE_ENV !== 'production') ? 'router view location matched' : '');
32965
+ /**
32966
+ * Allows overriding the router view depth to control which component in
32967
+ * `matched` is rendered. rvd stands for Router View Depth
32968
+ *
32969
+ * @internal
32970
+ */
32971
+ Symbol((process.env.NODE_ENV !== 'production') ? 'router view depth' : '');
32972
+ /**
32973
+ * Allows overriding the router instance returned by `useRouter` in tests. r
32974
+ * stands for router
32975
+ *
32976
+ * @internal
32977
+ */
32978
+ Symbol((process.env.NODE_ENV !== 'production') ? 'router' : '');
32979
+ /**
32980
+ * Allows overriding the current route returned by `useRoute` in tests. rl
32981
+ * stands for route location
32982
+ *
32983
+ * @internal
32984
+ */
32985
+ const routeLocationKey = Symbol((process.env.NODE_ENV !== 'production') ? 'route location' : '');
32986
+ /**
32987
+ * Allows overriding the current route used by router-view. Internally this is
32988
+ * used when the `route` prop is passed.
32989
+ *
32990
+ * @internal
32991
+ */
32992
+ Symbol((process.env.NODE_ENV !== 'production') ? 'router view location' : '');
32993
+
32994
+ function serializeQueryFilter(fields, schemaVersion) {
32995
+ return {
32996
+ schemaVersion,
32997
+ fields: { ...fields || {} }
32998
+ };
32999
+ }
33000
+ function extractQueryFilterFields(conditions) {
33001
+ if (!conditions || typeof conditions !== "object") return {};
33002
+ if (conditions.fields && typeof conditions.fields === "object") {
33003
+ return { ...conditions.fields };
33004
+ }
33005
+ const rest = { ...conditions };
33006
+ delete rest.schemaVersion;
33007
+ return rest;
33008
+ }
33009
+
33010
+ const _hoisted_1$a = {
33011
+ key: 0,
33012
+ class: "yc-query-filter"
33013
+ };
33014
+ const _hoisted_2$9 = { class: "yc-query-filter__panel" };
33015
+ const _hoisted_3$9 = {
33016
+ key: 0,
33017
+ class: "yc-query-filter__loading"
33018
+ };
33019
+ const _hoisted_4$7 = { class: "yc-query-filter__col" };
33020
+ const _hoisted_5$7 = { class: "yc-query-filter__title" };
33021
+ const _hoisted_6$6 = {
33022
+ key: 0,
33023
+ class: "yc-query-filter__empty"
33024
+ };
33025
+ const _hoisted_7$4 = {
33026
+ key: 1,
33027
+ class: "yc-query-filter__list"
33028
+ };
33029
+ const _hoisted_8$3 = ["onClick"];
33030
+ const _hoisted_9$3 = { class: "yc-query-filter__ops" };
33031
+ const _hoisted_10$3 = { class: "yc-query-filter__col yc-query-filter__col--right" };
33032
+ const _hoisted_11$3 = { class: "yc-query-filter__title" };
33033
+ const _hoisted_12$3 = { class: "yc-query-filter__tabs" };
33034
+ const _hoisted_13$3 = {
33035
+ key: 1,
33036
+ class: "yc-query-filter__list"
33037
+ };
33038
+ const _hoisted_14$3 = ["onClick"];
33039
+ const _hoisted_15$1 = { class: "yc-query-filter__meta" };
33040
+ const _hoisted_16$1 = { class: "yc-query-filter__highlight" };
33041
+ const _hoisted_17$1 = { class: "yc-query-filter__ops" };
33042
+ const _hoisted_18$1 = {
33043
+ key: 1,
33044
+ class: "yc-query-filter__list"
33045
+ };
33046
+ const _hoisted_19$1 = ["onClick"];
33047
+ const _hoisted_20$1 = { class: "yc-query-filter__meta" };
33048
+ const _hoisted_21$1 = { class: "yc-query-filter__highlight" };
33049
+ const _hoisted_22$1 = { class: "yc-query-filter__ops" };
33050
+ var _sfc_main$h = /* @__PURE__ */ defineComponent({
33051
+ ...{
33052
+ name: "YcQueryFilterManager"
33053
+ },
33054
+ __name: "index",
33055
+ props: {
33056
+ pageInstance: {},
33057
+ queryFilterKey: { default: "main" }
33058
+ },
33059
+ setup(__props) {
33060
+ const props = __props;
33061
+ const { t } = useLocale();
33062
+ const config = useQueryFilterConfig();
33063
+ const enabled = computed(
33064
+ () => !!((config == null ? void 0 : config.enabled) && config.api && config.appCode && pageEnabled.value)
33065
+ );
33066
+ const route = inject(routeLocationKey, null);
33067
+ const pageCode = computed(() => {
33068
+ const custom = config == null ? void 0 : config.pageCode;
33069
+ if (typeof custom === "function") return custom();
33070
+ if (custom) return custom;
33071
+ const routeName = String((route == null ? void 0 : route.name) || (route == null ? void 0 : route.path) || "unnamed");
33072
+ return `${config == null ? void 0 : config.appCode}:${routeName}:${props.queryFilterKey}`;
33073
+ });
33074
+ const schemaVersion = ref(1);
33075
+ const pageEnabled = ref(true);
33076
+ const mine = ref([]);
33077
+ const received = ref([]);
33078
+ const shared = ref([]);
33079
+ const rightTab = ref("received");
33080
+ const panelVisible = ref(false);
33081
+ const loading = ref(false);
33082
+ const saveVisible = ref(false);
33083
+ const saveName = ref("");
33084
+ const editingId = ref(null);
33085
+ const editingItem = ref(null);
33086
+ const saving = ref(false);
33087
+ const shareVisible = ref(false);
33088
+ const sharingId = ref(null);
33089
+ const shareUserIds = ref([]);
33090
+ const userOptions = ref([]);
33091
+ function getPage() {
33092
+ return unref(props.pageInstance);
33093
+ }
33094
+ function getFormValues() {
33095
+ var _a;
33096
+ const page = getPage();
33097
+ const values = (_a = page == null ? void 0 : page.getSearchFieldsValue) == null ? void 0 : _a.call(page);
33098
+ return values && typeof values === "object" ? { ...values } : {};
33099
+ }
33100
+ function displayTime(value) {
33101
+ if (!value) return "";
33102
+ const matched = value.match(/^(\d{4}-\d{2}-\d{2} \d{2}:\d{2})/);
33103
+ return matched ? matched[1] : value;
33104
+ }
33105
+ function applyItem(item) {
33106
+ var _a, _b;
33107
+ const fields = extractQueryFilterFields(item.conditions);
33108
+ const page = getPage();
33109
+ if (page == null ? void 0 : page.replaceSearchFormValues) {
33110
+ page.replaceSearchFormValues(fields);
33111
+ } else {
33112
+ (_a = page == null ? void 0 : page.clearSearchFieldsValue) == null ? void 0 : _a.call(page);
33113
+ (_b = page == null ? void 0 : page.setSearchFieldsValue) == null ? void 0 : _b.call(page, fields);
33114
+ }
33115
+ if (schemaVersion.value && item.schemaVersion && item.schemaVersion !== schemaVersion.value) {
33116
+ ElMessage.warning(t("plus.queryFilter.schemaMismatch"));
33117
+ } else {
33118
+ ElMessage.success(t("plus.queryFilter.applied"));
33119
+ }
33120
+ panelVisible.value = false;
33121
+ }
33122
+ async function refreshList() {
33123
+ if (!(config == null ? void 0 : config.api)) return;
33124
+ loading.value = true;
33125
+ try {
33126
+ const data = await config.api.list({
33127
+ appCode: config.appCode,
33128
+ pageCode: pageCode.value
33129
+ });
33130
+ schemaVersion.value = (data == null ? void 0 : data.schemaVersion) || 1;
33131
+ pageEnabled.value = (data == null ? void 0 : data.enabled) !== false;
33132
+ mine.value = (data == null ? void 0 : data.mine) || [];
33133
+ received.value = (data == null ? void 0 : data.received) || [];
33134
+ shared.value = (data == null ? void 0 : data.shared) || [];
33135
+ } finally {
33136
+ loading.value = false;
33137
+ }
33138
+ }
33139
+ function openSaveAs() {
33140
+ editingId.value = null;
33141
+ editingItem.value = null;
33142
+ saveName.value = "";
33143
+ saveVisible.value = true;
33144
+ }
33145
+ function openEdit(item) {
33146
+ editingId.value = item.id;
33147
+ editingItem.value = item;
33148
+ saveName.value = item.name;
33149
+ saveVisible.value = true;
33150
+ }
33151
+ async function confirmSave() {
33152
+ const name = saveName.value.trim();
33153
+ if (!name) {
33154
+ ElMessage.warning(t("plus.queryFilter.namePlaceholder"));
33155
+ return;
33156
+ }
33157
+ if (!(config == null ? void 0 : config.api)) return;
33158
+ saving.value = true;
33159
+ try {
33160
+ const owned = mine.value.some((item) => item.id === editingId.value);
33161
+ if (editingId.value && owned) {
33162
+ await config.api.update({ id: editingId.value, name });
33163
+ } else {
33164
+ const fields = editingItem.value ? extractQueryFilterFields(editingItem.value.conditions) : getFormValues();
33165
+ await config.api.saveAs({
33166
+ appCode: config.appCode,
33167
+ pageCode: pageCode.value,
33168
+ name,
33169
+ conditions: serializeQueryFilter(fields, schemaVersion.value)
33170
+ });
33171
+ }
33172
+ ElMessage.success(t("plus.queryFilter.saveSuccess"));
33173
+ saveVisible.value = false;
33174
+ await refreshList();
33175
+ } catch (error) {
33176
+ ElMessage.error(error instanceof Error ? error.message : t("plus.queryFilter.saveSuccess"));
33177
+ } finally {
33178
+ saving.value = false;
33179
+ }
33180
+ }
33181
+ function confirmOptions() {
33182
+ return {
33183
+ type: "warning",
33184
+ confirmButtonText: t("plus.dialog.confirmText"),
33185
+ cancelButtonText: t("plus.dialog.cancelText")
33186
+ };
33187
+ }
33188
+ async function removeItem(item) {
33189
+ if (!(config == null ? void 0 : config.api)) return;
33190
+ try {
33191
+ await ElMessageBox.confirm(
33192
+ t("plus.queryFilter.confirmDelete"),
33193
+ t("plus.table.prompt"),
33194
+ confirmOptions()
33195
+ );
33196
+ await config.api.delete({ id: item.id });
33197
+ ElMessage.success(t("plus.queryFilter.deleteSuccess"));
33198
+ await refreshList();
33199
+ } catch (e) {
33200
+ }
33201
+ }
33202
+ async function openShare(item) {
33203
+ sharingId.value = item.id;
33204
+ shareUserIds.value = [...item.recipientUserIds || []];
33205
+ if (config == null ? void 0 : config.openUserSelector) {
33206
+ try {
33207
+ const ids = await config.openUserSelector();
33208
+ if (ids == null ? void 0 : ids.length) {
33209
+ await config.api.share({ id: item.id, recipientUserIds: ids });
33210
+ ElMessage.success(t("plus.queryFilter.shareSuccess"));
33211
+ await refreshList();
33212
+ }
33213
+ } catch (error) {
33214
+ if (error instanceof Error && error.message) ElMessage.error(error.message);
33215
+ }
33216
+ return;
33217
+ }
33218
+ if (!(config == null ? void 0 : config.searchUsers)) {
33219
+ ElMessage.warning(t("plus.queryFilter.noSelector"));
33220
+ return;
33221
+ }
33222
+ userOptions.value = await config.searchUsers("");
33223
+ shareVisible.value = true;
33224
+ }
33225
+ async function remoteSearchUsers(keyword) {
33226
+ if (!(config == null ? void 0 : config.searchUsers)) return;
33227
+ userOptions.value = await config.searchUsers(keyword);
33228
+ }
33229
+ async function confirmShare() {
33230
+ if (!(config == null ? void 0 : config.api) || !sharingId.value) return;
33231
+ if (!shareUserIds.value.length) {
33232
+ ElMessage.warning(t("plus.queryFilter.sharePlaceholder"));
33233
+ return;
33234
+ }
33235
+ try {
33236
+ await config.api.share({ id: sharingId.value, recipientUserIds: shareUserIds.value });
33237
+ ElMessage.success(t("plus.queryFilter.shareSuccess"));
33238
+ shareVisible.value = false;
33239
+ await refreshList();
33240
+ } catch (error) {
33241
+ ElMessage.error(error instanceof Error ? error.message : t("plus.queryFilter.shareSuccess"));
33242
+ }
33243
+ }
33244
+ async function revokeShare(item, recipientUserIds) {
33245
+ if (!(config == null ? void 0 : config.api)) return;
33246
+ try {
33247
+ await ElMessageBox.confirm(
33248
+ t("plus.queryFilter.confirmRevoke"),
33249
+ t("plus.table.prompt"),
33250
+ confirmOptions()
33251
+ );
33252
+ await config.api.revoke({ id: item.id, recipientUserIds });
33253
+ ElMessage.success(t("plus.queryFilter.revokeSuccess"));
33254
+ await refreshList();
33255
+ } catch (e) {
33256
+ }
33257
+ }
33258
+ function receivedPrefix(item) {
33259
+ return t("plus.queryFilter.sharedByPrefix", {
33260
+ time: displayTime(item.sharedTime || item.createdTime),
33261
+ sender: item.ownerUserName || item.ownerUserId
33262
+ });
33263
+ }
33264
+ function sharedPrefix(item) {
33265
+ var _a, _b;
33266
+ const recipient = ((_a = item.recipientNames) == null ? void 0 : _a[0]) || (((_b = item.recipientUserIds) == null ? void 0 : _b.length) ? `${item.recipientUserIds.length}` : "");
33267
+ return t("plus.queryFilter.sharedToPrefix", {
33268
+ time: displayTime(item.sharedTime || item.updatedTime || item.createdTime),
33269
+ recipient
33270
+ });
33271
+ }
33272
+ return (_ctx, _cache) => {
33273
+ return enabled.value ? (openBlock(), createElementBlock("span", _hoisted_1$a, [
33274
+ createVNode(unref(ElButton), { onClick: openSaveAs }, {
33275
+ default: withCtx(() => [
33276
+ createTextVNode(
33277
+ toDisplayString(unref(t)("plus.queryFilter.saveAs")),
33278
+ 1
33279
+ /* TEXT */
33280
+ )
33281
+ ]),
33282
+ _: 1
33283
+ /* STABLE */
33284
+ }),
33285
+ createVNode(unref(ElPopover), {
33286
+ visible: panelVisible.value,
33287
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => panelVisible.value = $event),
33288
+ placement: "bottom-end",
33289
+ width: 720,
33290
+ trigger: "click",
33291
+ teleported: "",
33292
+ onShow: refreshList
33293
+ }, {
33294
+ reference: withCtx(() => [
33295
+ createVNode(unref(ElButton), null, {
33296
+ default: withCtx(() => [
33297
+ createTextVNode(
33298
+ toDisplayString(unref(t)("plus.queryFilter.saved")),
33299
+ 1
33300
+ /* TEXT */
33301
+ )
33302
+ ]),
33303
+ _: 1
33304
+ /* STABLE */
33305
+ })
33306
+ ]),
33307
+ default: withCtx(() => [
33308
+ createElementVNode("div", _hoisted_2$9, [
33309
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_3$9, "...")) : createCommentVNode("v-if", true),
33310
+ createElementVNode("div", _hoisted_4$7, [
33311
+ createElementVNode(
33312
+ "div",
33313
+ _hoisted_5$7,
33314
+ toDisplayString(unref(t)("plus.queryFilter.savedTitle")),
33315
+ 1
33316
+ /* TEXT */
33317
+ ),
33318
+ !mine.value.length ? (openBlock(), createElementBlock(
33319
+ "div",
33320
+ _hoisted_6$6,
33321
+ toDisplayString(unref(t)("plus.queryFilter.emptyMine")),
33322
+ 1
33323
+ /* TEXT */
33324
+ )) : (openBlock(), createElementBlock("ul", _hoisted_7$4, [
33325
+ (openBlock(true), createElementBlock(
33326
+ Fragment,
33327
+ null,
33328
+ renderList(mine.value, (item) => {
33329
+ return openBlock(), createElementBlock("li", {
33330
+ key: item.id,
33331
+ class: "yc-query-filter__item"
33332
+ }, [
33333
+ createElementVNode("button", {
33334
+ type: "button",
33335
+ class: "yc-query-filter__name",
33336
+ onClick: ($event) => applyItem(item)
33337
+ }, toDisplayString(item.name), 9, _hoisted_8$3),
33338
+ createElementVNode("span", _hoisted_9$3, [
33339
+ createVNode(unref(ElButton), {
33340
+ link: "",
33341
+ type: "danger",
33342
+ icon: unref(delete_default),
33343
+ title: unref(t)("plus.queryFilter.remove"),
33344
+ onClick: withModifiers(($event) => removeItem(item), ["stop"])
33345
+ }, null, 8, ["icon", "title", "onClick"]),
33346
+ createVNode(unref(ElButton), {
33347
+ link: "",
33348
+ icon: unref(edit_pen_default),
33349
+ title: unref(t)("plus.queryFilter.edit"),
33350
+ onClick: withModifiers(($event) => openEdit(item), ["stop"])
33351
+ }, null, 8, ["icon", "title", "onClick"]),
33352
+ createVNode(unref(ElButton), {
33353
+ link: "",
33354
+ icon: unref(share_default),
33355
+ title: unref(t)("plus.queryFilter.share"),
33356
+ onClick: withModifiers(($event) => openShare(item), ["stop"])
33357
+ }, null, 8, ["icon", "title", "onClick"])
33358
+ ])
33359
+ ]);
33360
+ }),
33361
+ 128
33362
+ /* KEYED_FRAGMENT */
33363
+ ))
33364
+ ]))
33365
+ ]),
33366
+ createElementVNode("div", _hoisted_10$3, [
33367
+ createElementVNode(
33368
+ "div",
33369
+ _hoisted_11$3,
33370
+ toDisplayString(unref(t)("plus.queryFilter.panelTitle")),
33371
+ 1
33372
+ /* TEXT */
33373
+ ),
33374
+ createElementVNode("div", _hoisted_12$3, [
33375
+ createElementVNode(
33376
+ "button",
33377
+ {
33378
+ type: "button",
33379
+ class: normalizeClass({ "is-active": rightTab.value === "received" }),
33380
+ onClick: _cache[0] || (_cache[0] = ($event) => rightTab.value = "received")
33381
+ },
33382
+ toDisplayString(unref(t)("plus.queryFilter.received")),
33383
+ 3
33384
+ /* TEXT, CLASS */
33385
+ ),
33386
+ createElementVNode(
33387
+ "button",
33388
+ {
33389
+ type: "button",
33390
+ class: normalizeClass({ "is-active": rightTab.value === "shared" }),
33391
+ onClick: _cache[1] || (_cache[1] = ($event) => rightTab.value = "shared")
33392
+ },
33393
+ toDisplayString(unref(t)("plus.queryFilter.shared")),
33394
+ 3
33395
+ /* TEXT, CLASS */
33396
+ )
33397
+ ]),
33398
+ rightTab.value === "received" ? (openBlock(), createElementBlock(
33399
+ Fragment,
33400
+ { key: 0 },
33401
+ [
33402
+ !received.value.length ? (openBlock(), createBlock(unref(ElEmpty), {
33403
+ key: 0,
33404
+ description: unref(t)("plus.queryFilter.emptyReceived"),
33405
+ "image-size": 48
33406
+ }, null, 8, ["description"])) : (openBlock(), createElementBlock("ul", _hoisted_13$3, [
33407
+ (openBlock(true), createElementBlock(
33408
+ Fragment,
33409
+ null,
33410
+ renderList(received.value, (item) => {
33411
+ return openBlock(), createElementBlock("li", {
33412
+ key: item.id,
33413
+ class: "yc-query-filter__item"
33414
+ }, [
33415
+ createElementVNode("button", {
33416
+ type: "button",
33417
+ class: "yc-query-filter__line",
33418
+ onClick: ($event) => applyItem(item)
33419
+ }, [
33420
+ createElementVNode(
33421
+ "span",
33422
+ _hoisted_15$1,
33423
+ toDisplayString(receivedPrefix(item)),
33424
+ 1
33425
+ /* TEXT */
33426
+ ),
33427
+ createElementVNode(
33428
+ "span",
33429
+ _hoisted_16$1,
33430
+ "\u3010" + toDisplayString(item.name) + "\u3011",
33431
+ 1
33432
+ /* TEXT */
33433
+ )
33434
+ ], 8, _hoisted_14$3),
33435
+ createElementVNode("span", _hoisted_17$1, [
33436
+ createVNode(unref(ElButton), {
33437
+ link: "",
33438
+ type: "danger",
33439
+ icon: unref(delete_default),
33440
+ title: unref(t)("plus.queryFilter.remove"),
33441
+ onClick: withModifiers(($event) => removeItem(item), ["stop"])
33442
+ }, null, 8, ["icon", "title", "onClick"]),
33443
+ createVNode(unref(ElButton), {
33444
+ link: "",
33445
+ icon: unref(edit_pen_default),
33446
+ title: unref(t)("plus.queryFilter.edit"),
33447
+ onClick: withModifiers(($event) => openEdit(item), ["stop"])
33448
+ }, null, 8, ["icon", "title", "onClick"])
33449
+ ])
33450
+ ]);
33451
+ }),
33452
+ 128
33453
+ /* KEYED_FRAGMENT */
33454
+ ))
33455
+ ]))
33456
+ ],
33457
+ 64
33458
+ /* STABLE_FRAGMENT */
33459
+ )) : (openBlock(), createElementBlock(
33460
+ Fragment,
33461
+ { key: 1 },
33462
+ [
33463
+ !shared.value.length ? (openBlock(), createBlock(unref(ElEmpty), {
33464
+ key: 0,
33465
+ description: unref(t)("plus.queryFilter.emptyShared"),
33466
+ "image-size": 48
33467
+ }, null, 8, ["description"])) : (openBlock(), createElementBlock("ul", _hoisted_18$1, [
33468
+ (openBlock(true), createElementBlock(
33469
+ Fragment,
33470
+ null,
33471
+ renderList(shared.value, (item) => {
33472
+ return openBlock(), createElementBlock("li", {
33473
+ key: item.id,
33474
+ class: "yc-query-filter__item"
33475
+ }, [
33476
+ createElementVNode("button", {
33477
+ type: "button",
33478
+ class: "yc-query-filter__line",
33479
+ onClick: ($event) => applyItem(item)
33480
+ }, [
33481
+ createElementVNode(
33482
+ "span",
33483
+ _hoisted_20$1,
33484
+ toDisplayString(sharedPrefix(item)),
33485
+ 1
33486
+ /* TEXT */
33487
+ ),
33488
+ createElementVNode(
33489
+ "span",
33490
+ _hoisted_21$1,
33491
+ "\u3010" + toDisplayString(item.name) + "\u3011",
33492
+ 1
33493
+ /* TEXT */
33494
+ )
33495
+ ], 8, _hoisted_19$1),
33496
+ createElementVNode("span", _hoisted_22$1, [
33497
+ createVNode(unref(ElButton), {
33498
+ link: "",
33499
+ type: "danger",
33500
+ icon: unref(refresh_left_default),
33501
+ title: unref(t)("plus.queryFilter.revoke"),
33502
+ onClick: withModifiers(($event) => revokeShare(item), ["stop"])
33503
+ }, null, 8, ["icon", "title", "onClick"])
33504
+ ])
33505
+ ]);
33506
+ }),
33507
+ 128
33508
+ /* KEYED_FRAGMENT */
33509
+ ))
33510
+ ]))
33511
+ ],
33512
+ 64
33513
+ /* STABLE_FRAGMENT */
33514
+ ))
33515
+ ])
33516
+ ])
33517
+ ]),
33518
+ _: 1
33519
+ /* STABLE */
33520
+ }, 8, ["visible"]),
33521
+ createVNode(unref(ElDialog), {
33522
+ modelValue: saveVisible.value,
33523
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => saveVisible.value = $event),
33524
+ title: unref(t)("plus.queryFilter.nameTitle"),
33525
+ width: "420px",
33526
+ "append-to-body": "",
33527
+ "append-to": "body"
33528
+ }, {
33529
+ footer: withCtx(() => [
33530
+ createVNode(unref(ElButton), {
33531
+ type: "primary",
33532
+ loading: saving.value,
33533
+ onClick: confirmSave
33534
+ }, {
33535
+ default: withCtx(() => [
33536
+ createTextVNode(
33537
+ toDisplayString(unref(t)("plus.dialog.confirmText")),
33538
+ 1
33539
+ /* TEXT */
33540
+ )
33541
+ ]),
33542
+ _: 1
33543
+ /* STABLE */
33544
+ }, 8, ["loading"]),
33545
+ createVNode(unref(ElButton), {
33546
+ onClick: _cache[4] || (_cache[4] = ($event) => saveVisible.value = false)
33547
+ }, {
33548
+ default: withCtx(() => [
33549
+ createTextVNode(
33550
+ toDisplayString(unref(t)("plus.dialog.cancelText")),
33551
+ 1
33552
+ /* TEXT */
33553
+ )
33554
+ ]),
33555
+ _: 1
33556
+ /* STABLE */
33557
+ })
33558
+ ]),
33559
+ default: withCtx(() => [
33560
+ createVNode(unref(ElForm), {
33561
+ onSubmit: withModifiers(confirmSave, ["prevent"])
33562
+ }, {
33563
+ default: withCtx(() => [
33564
+ createVNode(unref(ElFormItem), {
33565
+ label: unref(t)("plus.queryFilter.nameTitle"),
33566
+ required: ""
33567
+ }, {
33568
+ default: withCtx(() => [
33569
+ createVNode(unref(ElInput), {
33570
+ modelValue: saveName.value,
33571
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => saveName.value = $event),
33572
+ maxlength: "30",
33573
+ placeholder: unref(t)("plus.queryFilter.namePlaceholder")
33574
+ }, null, 8, ["modelValue", "placeholder"])
33575
+ ]),
33576
+ _: 1
33577
+ /* STABLE */
33578
+ }, 8, ["label"])
33579
+ ]),
33580
+ _: 1
33581
+ /* STABLE */
33582
+ })
33583
+ ]),
33584
+ _: 1
33585
+ /* STABLE */
33586
+ }, 8, ["modelValue", "title"]),
33587
+ createVNode(unref(ElDialog), {
33588
+ modelValue: shareVisible.value,
33589
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => shareVisible.value = $event),
33590
+ title: unref(t)("plus.queryFilter.shareTitle"),
33591
+ width: "480px",
33592
+ "append-to-body": "",
33593
+ "append-to": "body"
33594
+ }, {
33595
+ footer: withCtx(() => [
33596
+ createVNode(unref(ElButton), {
33597
+ onClick: _cache[7] || (_cache[7] = ($event) => shareVisible.value = false)
33598
+ }, {
33599
+ default: withCtx(() => [
33600
+ createTextVNode(
33601
+ toDisplayString(unref(t)("plus.dialog.cancelText")),
33602
+ 1
33603
+ /* TEXT */
33604
+ )
33605
+ ]),
33606
+ _: 1
33607
+ /* STABLE */
33608
+ }),
33609
+ createVNode(unref(ElButton), {
33610
+ type: "primary",
33611
+ onClick: confirmShare
33612
+ }, {
33613
+ default: withCtx(() => [
33614
+ createTextVNode(
33615
+ toDisplayString(unref(t)("plus.dialog.confirmText")),
33616
+ 1
33617
+ /* TEXT */
33618
+ )
33619
+ ]),
33620
+ _: 1
33621
+ /* STABLE */
33622
+ })
33623
+ ]),
33624
+ default: withCtx(() => [
33625
+ createVNode(unref(ElSelect), {
33626
+ modelValue: shareUserIds.value,
33627
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => shareUserIds.value = $event),
33628
+ multiple: "",
33629
+ filterable: "",
33630
+ remote: "",
33631
+ "remote-method": remoteSearchUsers,
33632
+ placeholder: unref(t)("plus.queryFilter.sharePlaceholder"),
33633
+ style: { "width": "100%" }
33634
+ }, {
33635
+ default: withCtx(() => [
33636
+ (openBlock(true), createElementBlock(
33637
+ Fragment,
33638
+ null,
33639
+ renderList(userOptions.value, (user) => {
33640
+ return openBlock(), createBlock(unref(ElOption), {
33641
+ key: user.userId,
33642
+ label: user.name,
33643
+ value: user.userId
33644
+ }, null, 8, ["label", "value"]);
33645
+ }),
33646
+ 128
33647
+ /* KEYED_FRAGMENT */
33648
+ ))
33649
+ ]),
33650
+ _: 1
33651
+ /* STABLE */
33652
+ }, 8, ["modelValue", "placeholder"])
33653
+ ]),
33654
+ _: 1
33655
+ /* STABLE */
33656
+ }, 8, ["modelValue", "title"])
33657
+ ])) : createCommentVNode("v-if", true);
33658
+ };
33659
+ }
33660
+ });
33661
+
33662
+ var QueryFilterManagerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "index.vue"]]);
33663
+
33664
+ const YcQueryFilterManager = QueryFilterManagerComponent;
33665
+ const ReQueryFilterManager = YcQueryFilterManager;
32806
33666
 
32807
33667
  const OPERATOR_CATALOG = {
32808
33668
  string: ["=", "!=", "like", "not like", "in", "not in"],
@@ -33805,7 +34665,8 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33805
34665
  columnCacheKey: { default: void 0 },
33806
34666
  disableColumnCache: { type: Boolean, default: false },
33807
34667
  columnSettingsText: { default: void 0 },
33808
- dragScroll: { type: [Boolean, Object], default: false }
34668
+ dragScroll: { type: [Boolean, Object], default: false },
34669
+ queryFilterKey: { default: "main" }
33809
34670
  },
33810
34671
  emits: ["header-filter-confirm", "header-filter-reset"],
33811
34672
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -33817,20 +34678,18 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33817
34678
  const plusPageRef = ref();
33818
34679
  const rootRef = ref();
33819
34680
  const dragScrollWrapperRef = ref(null);
33820
- const dragScrollEnabled = computed(() => props.dragScroll !== false && props.dragScroll != null);
34681
+ const dragScrollEnabled = computed(
34682
+ () => props.dragScroll !== false && props.dragScroll !== null && props.dragScroll !== void 0
34683
+ );
33821
34684
  const dragScrollOptions = computed(() => {
33822
34685
  const value = props.dragScroll;
33823
34686
  if (value && typeof value === "object") return value;
33824
34687
  return {};
33825
34688
  });
33826
- const { onMouseDown: onDragScrollMouseDown } = useTableDragScroll(
33827
- dragScrollWrapperRef,
33828
- void 0,
33829
- {
33830
- ...dragScrollOptions.value,
33831
- enabled: dragScrollEnabled
33832
- }
33833
- );
34689
+ const { onMouseDown: onDragScrollMouseDown } = useTableDragScroll(dragScrollWrapperRef, void 0, {
34690
+ ...dragScrollOptions.value,
34691
+ enabled: dragScrollEnabled
34692
+ });
33834
34693
  const plusTableInstance = computed(() => {
33835
34694
  var _a;
33836
34695
  return (_a = plusPageRef.value) == null ? void 0 : _a.plusTableInstance;
@@ -33887,7 +34746,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33887
34746
  const handleFilterConfirm = (payload) => {
33888
34747
  var _a;
33889
34748
  const field = String(((_a = payload.column) == null ? void 0 : _a.prop) || "");
33890
- const isEmpty = payload.value == null || String(payload.value).trim() === "";
34749
+ const isEmpty = payload.value === null || payload.value === void 0 || String(payload.value).trim() === "";
33891
34750
  if (isEmpty) {
33892
34751
  removeHeaderFilter(field);
33893
34752
  } else {
@@ -34193,7 +35052,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
34193
35052
  });
34194
35053
  return sorted;
34195
35054
  };
34196
- const handleFilterTableHeader = (columns, eventType) => {
35055
+ const handleFilterTableHeader = (columns, _eventType) => {
34197
35056
  const order = columns.map((col) => String(col.prop || "")).filter(Boolean);
34198
35057
  const checked = columns.filter((col) => col.headerIsChecked !== false).map((col) => String(col.prop || "")).filter(Boolean);
34199
35058
  const existingCache = loadColumnCache();
@@ -34295,6 +35154,10 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
34295
35154
  clearSearchFieldsValue: () => {
34296
35155
  var _a, _b;
34297
35156
  return (_b = (_a = plusPageRef.value) == null ? void 0 : _a.clearSearchFieldsValue) == null ? void 0 : _b.call(_a);
35157
+ },
35158
+ replaceSearchFormValues: (values) => {
35159
+ var _a, _b;
35160
+ return (_b = (_a = plusPageRef.value) == null ? void 0 : _a.replaceSearchFormValues) == null ? void 0 : _b.call(_a, values);
34298
35161
  }
34299
35162
  });
34300
35163
  return (_ctx, _cache) => {
@@ -34332,6 +35195,13 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
34332
35195
  onFilterTableHeader: handleFilterTableHeader,
34333
35196
  onHeaderDragend: handleHeaderDragend
34334
35197
  }), createSlots({
35198
+ "search-actions-after": withCtx(() => [
35199
+ createVNode(unref(YcQueryFilterManager), {
35200
+ "page-instance": plusPageRef.value,
35201
+ "query-filter-key": props.queryFilterKey
35202
+ }, null, 8, ["page-instance", "query-filter-key"]),
35203
+ renderSlot(_ctx.$slots, "search-actions-after", {}, void 0, true)
35204
+ ]),
34335
35205
  default: withCtx(() => [
34336
35206
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
34337
35207
  ]),
@@ -34367,7 +35237,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
34367
35237
  return {
34368
35238
  name,
34369
35239
  fn: withCtx((slotProps) => [
34370
- name !== "column-settings-icon" && name !== "default" ? renderSlot(_ctx.$slots, name, normalizeProps(mergeProps({ key: 0 }, slotProps)), void 0, true) : createCommentVNode("v-if", true)
35240
+ name !== "column-settings-icon" && name !== "default" && name !== "search-actions-after" ? renderSlot(_ctx.$slots, name, normalizeProps(mergeProps({ key: 0 }, slotProps)), void 0, true) : createCommentVNode("v-if", true)
34371
35241
  ])
34372
35242
  };
34373
35243
  })
@@ -34384,7 +35254,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
34384
35254
  }
34385
35255
  });
34386
35256
 
34387
- var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-3ce473db"], ["__file", "index.vue"]]);
35257
+ var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-4b8729a9"], ["__file", "index.vue"]]);
34388
35258
 
34389
35259
  function compareValues(a, b) {
34390
35260
  if (a == null && b == null) return 0;
@@ -64929,8 +65799,8 @@ function createDictStore(config) {
64929
65799
  });
64930
65800
  }
64931
65801
 
64932
- const version = "0.0.84";
65802
+ const version = "1.0.0";
64933
65803
 
64934
65804
  const install = installer.install;
64935
65805
 
64936
- export { DEFAULT_CDN_CONFIG, DEFAULT_OPERATORS, DEFAULT_YC_CONFIG, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, DictStoreInjectionKey, NO_VALUE_OPERATORS, OPERATOR_CATALOG, OPERATOR_LABELS, PlusBreadcrumb, PlusCheckCard, PlusCheckCardGroup, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusHeader, PlusInputTag, PlusLayout, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusSidebar, PlusSidebarItem, PlusStepsForm, PlusTable, PlusVirtualTable, YcAnimateSelector as ReAnimateSelector, YcAuth as ReAuth, YcBatchImportDialog as ReBatchImportDialog, YcCard as ReCard, YcCol as ReCol, YcConfigProvider as ReConfigProvider, ReDialog, YcDownloadDialog as ReDownloadDialog, ReDrawer, ReFormContainerHeader, YcLineTree as ReLineTree, ReMoreActions, YcCountTo as ReNormalCountTo, YcPerms as RePerms, RePlusPage, RePlusTree, YcSegmented as ReSegmented, YcSelectV2 as ReSelectV2, YcStatusDialog as ReStatusDialog, YcSvgIcon as ReSvgIcon, YcTabsWithFilter as ReTabsWithFilter, YcText as ReText, YcReboundCountTo as ReboundCountTo, SIZE_MAP, STATUS_CONFIG_MAP, TableColumnsEmptyTextInjectionKey, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, YC_CONFIG_KEY, YcAnimateSelector, YcAnimateSelectorWithInstall, YcAuth, YcAuthWithInstall, YcBatchImportDialog, YcBatchImportDialogWithInstall, YcCard, YcCardWithInstall, YcCol, YcConfigProvider, YcCountTo, YcDialog, YcDownloadDialog, YcDownloadDialogWithInstall, YcDrawer, YcFlicker, YcFormContainerHeader, YcLineTree, YcLineTreeWithInstall, YcMoreActions, YcPerms, YcPermsWithInstall, YcPlusPage, YcPlusTree, YcReboundCountTo, YcReboundCountToWithInstall, YcSegmented, YcSegmentedWithInstall, YcSelectV2, YcStatusDialog, YcSvgIcon, YcTableHeaderFilterCell, YcTabsWithFilter, YcTabsWithFilterWithInstall, YcText, YcTextWithInstall, addDrawer, animates, closeAllDrawer, closeDrawer, createDictStore, installer as default, drawerStore, findNodeById, findNodeByPath, findNodePosition, fnPerm, n as hasFunctionPermission, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, selectValueTypeList, updateDrawer, useColumnAdapter, useDialogFormConfig, useDictInjection, useDrawerFormConfig, a as useFunctionPermission, useGetOptions, useHeaderFilter, useLocalHeaderFilter, useLocale, usePlusFormReset, usePlusProConfig, useRenderFlicker, useRenderFlicker as useRenderReFlicker, useSelectWithMapping, useSelectWithPagination, useSortableDrag$1 as useSortableDrag, useTable, useTableDragScroll, useVirtualScroll, useVirtualSelection, useYcAuth, useYcCdn, useYcCdnUrl, useYcComponentConfig, useYcConfig, useYcPerms, useYcShowPageSearch, useYcTranslate, version };
65806
+ export { DEFAULT_CDN_CONFIG, DEFAULT_OPERATORS, DEFAULT_YC_CONFIG, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, DictStoreInjectionKey, NO_VALUE_OPERATORS, OPERATOR_CATALOG, OPERATOR_LABELS, PlusBreadcrumb, PlusCheckCard, PlusCheckCardGroup, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusHeader, PlusInputTag, PlusLayout, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusSidebar, PlusSidebarItem, PlusStepsForm, PlusTable, PlusVirtualTable, QueryFilterConfigKey, YcAnimateSelector as ReAnimateSelector, YcAuth as ReAuth, YcBatchImportDialog as ReBatchImportDialog, YcCard as ReCard, YcCol as ReCol, YcConfigProvider as ReConfigProvider, ReDialog, YcDownloadDialog as ReDownloadDialog, ReDrawer, ReFormContainerHeader, YcLineTree as ReLineTree, ReMoreActions, YcCountTo as ReNormalCountTo, YcPerms as RePerms, RePlusPage, RePlusTree, ReQueryFilterManager, YcSegmented as ReSegmented, YcSelectV2 as ReSelectV2, YcStatusDialog as ReStatusDialog, YcSvgIcon as ReSvgIcon, YcTabsWithFilter as ReTabsWithFilter, YcText as ReText, YcReboundCountTo as ReboundCountTo, SIZE_MAP, STATUS_CONFIG_MAP, TableColumnsEmptyTextInjectionKey, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, YC_CONFIG_KEY, YcAnimateSelector, YcAnimateSelectorWithInstall, YcAuth, YcAuthWithInstall, YcBatchImportDialog, YcBatchImportDialogWithInstall, YcCard, YcCardWithInstall, YcCol, YcConfigProvider, YcCountTo, YcDialog, YcDownloadDialog, YcDownloadDialogWithInstall, YcDrawer, YcFlicker, YcFormContainerHeader, YcLineTree, YcLineTreeWithInstall, YcMoreActions, YcPerms, YcPermsWithInstall, YcPlusPage, YcPlusTree, YcQueryFilterManager, YcReboundCountTo, YcReboundCountToWithInstall, YcSegmented, YcSegmentedWithInstall, YcSelectV2, YcStatusDialog, YcSvgIcon, YcTableHeaderFilterCell, YcTabsWithFilter, YcTabsWithFilterWithInstall, YcText, YcTextWithInstall, addDrawer, animates, closeAllDrawer, closeDrawer, createDictStore, createQueryFilterApi, installer as default, drawerStore, findNodeById, findNodeByPath, findNodePosition, fnPerm, n as hasFunctionPermission, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, provideQueryFilterConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, selectValueTypeList, updateDrawer, useColumnAdapter, useDialogFormConfig, useDictInjection, useDrawerFormConfig, a as useFunctionPermission, useGetOptions, useHeaderFilter, useLocalHeaderFilter, useLocale, usePlusFormReset, usePlusProConfig, useQueryFilterConfig, useRenderFlicker, useRenderFlicker as useRenderReFlicker, useSelectWithMapping, useSelectWithPagination, useSortableDrag$1 as useSortableDrag, useTable, useTableDragScroll, useVirtualScroll, useVirtualSelection, useYcAuth, useYcCdn, useYcCdnUrl, useYcComponentConfig, useYcConfig, useYcPerms, useYcShowPageSearch, useYcTranslate, version };