@farris/ui-vue 1.8.5-beta.3 → 1.8.5-beta.4

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 (61) hide show
  1. package/components/batch-editor/index.esm.js +6850 -6840
  2. package/components/batch-editor/index.umd.cjs +20 -20
  3. package/components/button/index.esm.js +6852 -6842
  4. package/components/button/index.umd.cjs +20 -20
  5. package/components/button-edit/index.esm.js +140 -140
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/button-group/index.esm.js +46 -45
  8. package/components/button-group/index.umd.cjs +1 -1
  9. package/components/common/index.esm.js +16 -12
  10. package/components/common/index.umd.cjs +1 -1
  11. package/components/component/index.esm.js +411 -411
  12. package/components/component/index.umd.cjs +2 -2
  13. package/components/data-view/index.esm.js +6500 -6487
  14. package/components/data-view/index.umd.cjs +21 -21
  15. package/components/designer-canvas/index.esm.js +269 -269
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/expression-editor/index.esm.js +458 -458
  18. package/components/expression-editor/index.umd.cjs +2 -2
  19. package/components/filter-condition-editor/index.esm.js +386 -386
  20. package/components/filter-condition-editor/index.umd.cjs +1 -1
  21. package/components/flow-canvas/index.esm.js +1100 -1100
  22. package/components/flow-canvas/index.umd.cjs +7 -7
  23. package/components/mapping-editor/index.esm.js +243 -243
  24. package/components/mapping-editor/index.umd.cjs +2 -2
  25. package/components/message-box/index.esm.js +82 -82
  26. package/components/message-box/index.umd.cjs +1 -1
  27. package/components/modal/index.esm.js +76 -76
  28. package/components/modal/index.umd.cjs +1 -1
  29. package/components/order/index.esm.js +139 -138
  30. package/components/order/index.umd.cjs +1 -1
  31. package/components/query-solution/index.esm.js +891 -891
  32. package/components/query-solution/index.umd.cjs +1 -1
  33. package/components/response-toolbar/index.esm.js +151 -149
  34. package/components/response-toolbar/index.umd.cjs +1 -1
  35. package/components/schema-selector/index.esm.js +947 -941
  36. package/components/schema-selector/index.umd.cjs +6 -6
  37. package/components/section/index.esm.js +121 -121
  38. package/components/section/index.umd.cjs +2 -2
  39. package/components/sort-condition-editor/index.esm.js +539 -539
  40. package/components/sort-condition-editor/index.umd.cjs +1 -1
  41. package/components/tabs/index.esm.js +448 -442
  42. package/components/tabs/index.umd.cjs +1 -1
  43. package/designer/button-edit/index.esm.js +97 -97
  44. package/designer/button-edit/index.umd.cjs +1 -1
  45. package/designer/data-grid/index.esm.js +6483 -6470
  46. package/designer/data-grid/index.umd.cjs +21 -21
  47. package/designer/farris-designer.all.esm.js +1891 -1885
  48. package/designer/farris-designer.all.umd.cjs +14 -14
  49. package/designer/radio-group/index.esm.js +183 -183
  50. package/designer/radio-group/index.umd.cjs +2 -2
  51. package/designer/response-toolbar/index.esm.js +558 -556
  52. package/designer/response-toolbar/index.umd.cjs +1 -1
  53. package/designer/tabs/index.esm.js +416 -416
  54. package/designer/tabs/index.umd.cjs +2 -2
  55. package/farris.all.esm.js +9133 -9119
  56. package/farris.all.umd.cjs +35 -35
  57. package/package.json +1 -1
  58. package/types/common/index.d.ts +1 -0
  59. package/types/common/utils/attrs.d.ts +26 -0
  60. package/types/modal/src/composition/type.d.ts +2 -0
  61. package/types/tabs/src/composition/types.d.ts +2 -0
@@ -1,105 +1,105 @@
1
1
  var Ao = Object.defineProperty;
2
2
  var Ho = (e, t, n) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var be = (e, t, n) => Ho(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { getCustomClass as Dt, withInstall as xn, EVENT_PROPERTY_TAB_IDS as Fn, FormSchemaEntityField$Type as mn, FormSchemaEntityFieldTypeName as pn, useThirdComponent as In, isMobilePhone as Jt, getMaxZIndex as vn } from "../../components/common/index.esm.js";
5
- import _o, { tabsProps as Pn, tabPageProps as En, FTabPage as zo } from "../../components/tabs/index.esm.js";
6
- import nn, { schemaResolver as Uo, commonToolbarItemDesignProps as qo } from "../response-toolbar/index.esm.js";
7
- import { inject as Xe, computed as D, ref as T, watch as Ce, nextTick as Re, createVNode as g, onMounted as tt, defineComponent as $e, Fragment as Tt, reactive as Zt, createApp as Mn, onUnmounted as at, Transition as kn, mergeProps as St, createTextVNode as Rn, withDirectives as Kt, resolveDirective as en, onBeforeMount as Wo, watchEffect as Go, Teleport as Yo, shallowRef as Bn, render as Gt, h as Xo, cloneVNode as Qo, provide as gn, isVNode as Jo } from "vue";
8
- import { DgControl as Ot, canvasChanged as on, refreshCanvas as Zo, useDesignerComponent as rn, UseTemplateDragAndDropRules as On, setPositionForSelectedElement as Ko, setPositionOfButtonGroup as ei, FDesignerInnerItem as ti, useDragulaCommonRule as ni } from "../../components/designer-canvas/index.esm.js";
9
- import { resolveAppearance as jt, createPropsResolver as Qe, createTabsEventHandlerResolver as oi, schemaResolverMap as ii, propertyEffectMap as ri, propertyConfigSchemaMap as ai, schemaMap as si, getPropsResolverGenerator as li } from "../../components/dynamic-resolver/index.esm.js";
10
- import { responseToolbarProps as ci } from "../../components/response-toolbar/index.esm.js";
11
- import { isPlainObject as hn, cloneDeep as Vt, debounce as ui, isUndefined as Ye, mergeWith as di, merge as fi } from "lodash-es";
12
- import mi from "../../components/capsule/index.esm.js";
4
+ import { getCustomClass as Dt, withInstall as xn, EVENT_PROPERTY_TAB_IDS as Fn, FormSchemaEntityField$Type as mn, FormSchemaEntityFieldTypeName as pn, useThirdComponent as In, isMobilePhone as Jt, getMaxZIndex as vn, extractDataAttrs as _o } from "../../components/common/index.esm.js";
5
+ import zo, { tabsProps as Pn, tabPageProps as En, FTabPage as Uo } from "../../components/tabs/index.esm.js";
6
+ import nn, { schemaResolver as qo, commonToolbarItemDesignProps as Wo } from "../response-toolbar/index.esm.js";
7
+ import { inject as Xe, computed as D, ref as T, watch as Ce, nextTick as Re, createVNode as g, onMounted as tt, defineComponent as $e, Fragment as St, reactive as Zt, createApp as Mn, onUnmounted as at, Transition as kn, mergeProps as ft, createTextVNode as Rn, withDirectives as Kt, resolveDirective as en, onBeforeMount as Go, watchEffect as Yo, Teleport as Xo, shallowRef as Bn, render as Gt, h as Qo, cloneVNode as Jo, provide as gn, isVNode as Zo } from "vue";
8
+ import { DgControl as Ot, canvasChanged as on, refreshCanvas as Ko, useDesignerComponent as rn, UseTemplateDragAndDropRules as On, setPositionForSelectedElement as ei, setPositionOfButtonGroup as ti, FDesignerInnerItem as ni, useDragulaCommonRule as oi } from "../../components/designer-canvas/index.esm.js";
9
+ import { resolveAppearance as jt, createPropsResolver as Qe, createTabsEventHandlerResolver as ii, schemaResolverMap as ri, propertyEffectMap as ai, propertyConfigSchemaMap as si, schemaMap as li, getPropsResolverGenerator as ci } from "../../components/dynamic-resolver/index.esm.js";
10
+ import { responseToolbarProps as ui } from "../../components/response-toolbar/index.esm.js";
11
+ import { isPlainObject as hn, cloneDeep as Vt, debounce as di, isUndefined as Ye, mergeWith as fi, merge as mi } from "lodash-es";
12
+ import pi from "../../components/capsule/index.esm.js";
13
13
  import { LocaleService as De } from "../../components/locale/index.esm.js";
14
14
  import "bignumber.js";
15
- import { useResizeObserver as pi } from "@vueuse/core";
16
- import { getHierarchyRow as vi, useIdentify as gi, useGroupData as hi, useFilter as yi, useHierarchy as bi, useLoading as Ci, useDataView as wi, useSelection as Ti, useSelectHierarchyItem as Si, usePagination as xi, useDataViewContainerStyle as Fi, useCommandColumn as Ii, useSettingColumn as Pi, useColumn as Ei, useSort as Mi, useGroupColumn as ki, useRow as Ri, useEdit as Bi, useVisualDataBound as Oi, useVisualDataCell as Vi, useVisualDataRow as Ni, useVisualData as Li, useCellPosition as Di, useSidebar as ji, useVirtualScroll as $i, useFitColumn as Ai, useFilterHistory as Hi, useColumnFilter as _i, useDragColumn as zi, getColumnHeader as Ui, getSidebar as qi, getDisableMask as Wi, getHorizontalScrollbar as Gi, getVerticalScrollbar as Yi, getEmpty as Xi, getPagination as Qi, getSummary as Ji, ColumnSettingSolution as Zi, refreshScrollAfterDataSourceLoad as Ki, COMMAND_COLUMN_DATA_TYPE as Yt, SETTING_COLUMN_DATA_TYPE as Xt } from "../../components/data-view/index.esm.js";
17
- import { resolveField as er } from "../../components/common/index.esm.js/utils/resolve-field";
18
- import tr from "../../components/input-group/index.esm.js";
19
- import bt from "../../components/button/index.esm.js";
20
- import { loadRegister as nr, useComponentManager as or, useEntityState as ir, useDynamicViewUtils as rr, componentMap as Qt, resolverMap as ar, componentPropsConverter as sr } from "../../components/dynamic-view/index.esm.js";
15
+ import { useResizeObserver as vi } from "@vueuse/core";
16
+ import { getHierarchyRow as gi, useIdentify as hi, useGroupData as yi, useFilter as bi, useHierarchy as Ci, useLoading as wi, useDataView as Ti, useSelection as Si, useSelectHierarchyItem as xi, usePagination as Fi, useDataViewContainerStyle as Ii, useCommandColumn as Pi, useSettingColumn as Ei, useColumn as Mi, useSort as ki, useGroupColumn as Ri, useRow as Bi, useEdit as Oi, useVisualDataBound as Vi, useVisualDataCell as Ni, useVisualDataRow as Li, useVisualData as Di, useCellPosition as ji, useSidebar as $i, useVirtualScroll as Ai, useFitColumn as Hi, useFilterHistory as _i, useColumnFilter as zi, useDragColumn as Ui, getColumnHeader as qi, getSidebar as Wi, getDisableMask as Gi, getHorizontalScrollbar as Yi, getVerticalScrollbar as Xi, getEmpty as Qi, getPagination as Ji, getSummary as Zi, ColumnSettingSolution as Ki, refreshScrollAfterDataSourceLoad as er, COMMAND_COLUMN_DATA_TYPE as Yt, SETTING_COLUMN_DATA_TYPE as Xt } from "../../components/data-view/index.esm.js";
17
+ import { resolveField as tr } from "../../components/common/index.esm.js/utils/resolve-field";
18
+ import nr from "../../components/input-group/index.esm.js";
19
+ import Ct from "../../components/button/index.esm.js";
20
+ import { loadRegister as or, useComponentManager as ir, useEntityState as rr, useDynamicViewUtils as ar, componentMap as Qt, resolverMap as sr, componentPropsConverter as lr } from "../../components/dynamic-view/index.esm.js";
21
21
  import Vn from "../../components/section/index.esm.js";
22
- import lr from "../../components/accordion/index.esm.js";
23
- import cr from "../avatar/index.esm.js";
24
- import ur from "../approval-logs/index.esm.js";
25
- import dr from "../button-edit/index.esm.js";
26
- import fr from "../../components/button-group/index.esm.js";
27
- import mr from "../../components/calendar/index.esm.js";
28
- import pr from "../capsule/index.esm.js";
22
+ import cr from "../../components/accordion/index.esm.js";
23
+ import ur from "../avatar/index.esm.js";
24
+ import dr from "../approval-logs/index.esm.js";
25
+ import fr from "../button-edit/index.esm.js";
26
+ import mr from "../../components/button-group/index.esm.js";
27
+ import pr from "../../components/calendar/index.esm.js";
28
+ import vr from "../capsule/index.esm.js";
29
29
  import yn from "../checkbox/index.esm.js";
30
30
  import bn from "../checkbox-group/index.esm.js";
31
- import vr from "../../components/combo-list/index.esm.js";
32
- import gr from "../../components/combo-tree/index.esm.js";
33
- import hr from "../../components/component/index.esm.js";
34
- import yr from "../../components/color-picker/index.esm.js";
35
- import br from "../../components/content-container/index.esm.js";
36
- import Cr from "../../components/table/index.esm.js";
37
- import wr from "../date-picker/index.esm.js";
38
- import Tr from "../data-grid/index.esm.js";
39
- import Sr from "../../components/dropdown/index.esm.js";
40
- import xr from "../dynamic-form/index.esm.js";
41
- import Fr from "../../components/events-editor/index.esm.js";
42
- import Ir from "../../components/filter-bar/index.esm.js";
43
- import Pr from "../../components/field-selector/index.esm.js";
44
- import Er from "../../components/binding-selector/index.esm.js";
45
- import Mr from "../../components/image-cropper/index.esm.js";
46
- import kr from "../input-group/index.esm.js";
47
- import Rr from "../../components/layout/index.esm.js";
48
- import Br from "../../components/list-nav/index.esm.js";
49
- import Or from "../list-view/index.esm.js";
50
- import Vr from "../../components/lookup/index.esm.js";
51
- import Nr from "../../components/mapping-editor/index.esm.js";
52
- import Lr from "../nav/index.esm.js";
53
- import Dr from "../../components/number-range/index.esm.js";
54
- import jr from "../number-spinner/index.esm.js";
55
- import $r from "../../components/order/index.esm.js";
56
- import Ar from "../../components/page-header/index.esm.js";
57
- import Hr from "../../components/page-footer/index.esm.js";
58
- import _r from "../../components/pagination/index.esm.js";
59
- import zr from "../../components/progress/index.esm.js";
60
- import Ur from "../../components/query-solution/index.esm.js";
61
- import qr from "../radio-group/index.esm.js";
62
- import Wr from "../rate/index.esm.js";
63
- import Gr from "../../components/response-layout/index.esm.js";
64
- import Yr from "../response-layout-editor/index.esm.js";
65
- import Xr from "../../components/search-box/index.esm.js";
66
- import Qr from "../../components/field-search-box/index.esm.js";
67
- import Jr from "../section/index.esm.js";
68
- import Zr from "../../components/smoke-detector/index.esm.js";
69
- import Kr from "../../components/splitter/index.esm.js";
70
- import ea from "../../components/step/index.esm.js";
71
- import ta from "../switch/index.esm.js";
72
- import na from "../tabs/index.esm.js";
73
- import oa from "../tags/index.esm.js";
74
- import ia from "../../components/text/index.esm.js";
75
- import ra from "../time-picker/index.esm.js";
76
- import aa from "../../components/transfer/index.esm.js";
77
- import sa from "../../components/tree-view/index.esm.js";
78
- import la from "../../components/uploader/index.esm.js";
79
- import ca from "../../components/verify-detail/index.esm.js";
80
- import ua from "../../components/video/index.esm.js";
81
- import da from "../textarea/index.esm.js";
82
- import fa from "../../components/schema-selector/index.esm.js";
83
- import ma from "../tree-grid/index.esm.js";
84
- import pa from "../../components/event-parameter/index.esm.js";
85
- import va from "../../components/filter-condition-editor/index.esm.js";
86
- import ga from "../../components/fieldset/index.esm.js";
87
- import ha from "../../components/sort-condition-editor/index.esm.js";
88
- import ya from "../../components/menu-lookup/index.esm.js";
89
- import ba from "../drawer/index.esm.js";
90
- import Ca from "../../components/json-editor/index.esm.js";
91
- import wa from "../../components/property-editor/index.esm.js";
92
- import Ta from "../../components/expression-editor/index.esm.js";
93
- import Sa from "../../components/code-editor/index.esm.js";
94
- import xa from "../../components/html-template/index.esm.js";
95
- import Fa from "../../components/collection-property-editor/index.esm.js";
96
- import Ia from "../modal/index.esm.js";
97
- import Pa from "../../components/external-container/index.esm.js";
98
- import Ea from "../../components/language-textbox/index.esm.js";
99
- import Ma from "../../components/image/index.esm.js";
100
- import ka from "../../components/comment/index.esm.js";
101
- import Ra from "../wizard/index.esm.js";
102
- import Ba from "../../components/tooltip/index.esm.js";
31
+ import gr from "../../components/combo-list/index.esm.js";
32
+ import hr from "../../components/combo-tree/index.esm.js";
33
+ import yr from "../../components/component/index.esm.js";
34
+ import br from "../../components/color-picker/index.esm.js";
35
+ import Cr from "../../components/content-container/index.esm.js";
36
+ import wr from "../../components/table/index.esm.js";
37
+ import Tr from "../date-picker/index.esm.js";
38
+ import Sr from "../data-grid/index.esm.js";
39
+ import xr from "../../components/dropdown/index.esm.js";
40
+ import Fr from "../dynamic-form/index.esm.js";
41
+ import Ir from "../../components/events-editor/index.esm.js";
42
+ import Pr from "../../components/filter-bar/index.esm.js";
43
+ import Er from "../../components/field-selector/index.esm.js";
44
+ import Mr from "../../components/binding-selector/index.esm.js";
45
+ import kr from "../../components/image-cropper/index.esm.js";
46
+ import Rr from "../input-group/index.esm.js";
47
+ import Br from "../../components/layout/index.esm.js";
48
+ import Or from "../../components/list-nav/index.esm.js";
49
+ import Vr from "../list-view/index.esm.js";
50
+ import Nr from "../../components/lookup/index.esm.js";
51
+ import Lr from "../../components/mapping-editor/index.esm.js";
52
+ import Dr from "../nav/index.esm.js";
53
+ import jr from "../../components/number-range/index.esm.js";
54
+ import $r from "../number-spinner/index.esm.js";
55
+ import Ar from "../../components/order/index.esm.js";
56
+ import Hr from "../../components/page-header/index.esm.js";
57
+ import _r from "../../components/page-footer/index.esm.js";
58
+ import zr from "../../components/pagination/index.esm.js";
59
+ import Ur from "../../components/progress/index.esm.js";
60
+ import qr from "../../components/query-solution/index.esm.js";
61
+ import Wr from "../radio-group/index.esm.js";
62
+ import Gr from "../rate/index.esm.js";
63
+ import Yr from "../../components/response-layout/index.esm.js";
64
+ import Xr from "../response-layout-editor/index.esm.js";
65
+ import Qr from "../../components/search-box/index.esm.js";
66
+ import Jr from "../../components/field-search-box/index.esm.js";
67
+ import Zr from "../section/index.esm.js";
68
+ import Kr from "../../components/smoke-detector/index.esm.js";
69
+ import ea from "../../components/splitter/index.esm.js";
70
+ import ta from "../../components/step/index.esm.js";
71
+ import na from "../switch/index.esm.js";
72
+ import oa from "../tabs/index.esm.js";
73
+ import ia from "../tags/index.esm.js";
74
+ import ra from "../../components/text/index.esm.js";
75
+ import aa from "../time-picker/index.esm.js";
76
+ import sa from "../../components/transfer/index.esm.js";
77
+ import la from "../../components/tree-view/index.esm.js";
78
+ import ca from "../../components/uploader/index.esm.js";
79
+ import ua from "../../components/verify-detail/index.esm.js";
80
+ import da from "../../components/video/index.esm.js";
81
+ import fa from "../textarea/index.esm.js";
82
+ import ma from "../../components/schema-selector/index.esm.js";
83
+ import pa from "../tree-grid/index.esm.js";
84
+ import va from "../../components/event-parameter/index.esm.js";
85
+ import ga from "../../components/filter-condition-editor/index.esm.js";
86
+ import ha from "../../components/fieldset/index.esm.js";
87
+ import ya from "../../components/sort-condition-editor/index.esm.js";
88
+ import ba from "../../components/menu-lookup/index.esm.js";
89
+ import Ca from "../drawer/index.esm.js";
90
+ import wa from "../../components/json-editor/index.esm.js";
91
+ import Ta from "../../components/property-editor/index.esm.js";
92
+ import Sa from "../../components/expression-editor/index.esm.js";
93
+ import xa from "../../components/code-editor/index.esm.js";
94
+ import Fa from "../../components/html-template/index.esm.js";
95
+ import Ia from "../../components/collection-property-editor/index.esm.js";
96
+ import Pa from "../modal/index.esm.js";
97
+ import Ea from "../../components/external-container/index.esm.js";
98
+ import Ma from "../../components/language-textbox/index.esm.js";
99
+ import ka from "../../components/image/index.esm.js";
100
+ import Ra from "../../components/comment/index.esm.js";
101
+ import Ba from "../wizard/index.esm.js";
102
+ import Oa from "../../components/tooltip/index.esm.js";
103
103
  import { BaseControlProperty as Nn } from "../../components/property-panel/index.esm.js";
104
104
  import "../../components/notify/index.esm.js";
105
105
  import Ln from "../../components/drawer/index.esm.js";
@@ -107,14 +107,14 @@ import "../../components/collection-property-editor/index.esm.js/src/use-button-
107
107
  const xt = /* @__PURE__ */ new Map([
108
108
  ["appearance", jt]
109
109
  ]);
110
- function Oa(e, t) {
110
+ function Va(e, t) {
111
111
  var a, r;
112
112
  if (!(t != null && t.schema))
113
113
  return;
114
114
  const n = ((r = (a = t.schema) == null ? void 0 : a.appearance) == null ? void 0 : r.class) || "", o = t.elementRef, i = window.getComputedStyle(o);
115
115
  i && i.display === "flex" && !n.includes("f-page-child-fill") && (e.appearance.class += " d-block");
116
116
  }
117
- function Va(e, t) {
117
+ function Na(e, t) {
118
118
  var d;
119
119
  const n = Math.random().toString().slice(2, 6), o = t.parentComponentInstance, i = e.getSchemaByType("tab-page");
120
120
  i.id = `tab-page-${n}`, i.title = "标题", i.toolbar = { id: `tab-page-toolbar-${n}`, buttons: [] };
@@ -154,11 +154,11 @@ function Va(e, t) {
154
154
  case Ot["content-container"].type:
155
155
  s.isLikeCardContainer && c.includes("f-struct-like-card-child-fill") && (l.appearance.class += " f-struct-wrapper-child", r.fill = !0, a.fill = !0);
156
156
  }
157
- return Oa(l, o), l;
157
+ return Va(l, o), l;
158
158
  }
159
159
  function Dn(e, t, n) {
160
160
  if (n.parentComponentInstance)
161
- return Va(e, n);
161
+ return Na(e, n);
162
162
  {
163
163
  const i = e.getSchemaByType("tab-page");
164
164
  return t.contents = [i], t;
@@ -167,7 +167,7 @@ function Dn(e, t, n) {
167
167
  function jn(e, t, n) {
168
168
  return t;
169
169
  }
170
- const Na = "https://json-schema.org/draft/2020-12/schema", La = "https://farris-design.gitee.io/tabs.schema.json", Da = "tabs", ja = "A Farris Container Component", $a = "object", Aa = {
170
+ const La = "https://json-schema.org/draft/2020-12/schema", Da = "https://farris-design.gitee.io/tabs.schema.json", ja = "tabs", $a = "A Farris Container Component", Aa = "object", Ha = {
171
171
  id: {
172
172
  description: "The unique identifier for a Tabs",
173
173
  type: "string"
@@ -229,24 +229,24 @@ const Na = "https://json-schema.org/draft/2020-12/schema", La = "https://farris-
229
229
  type: "string",
230
230
  default: ""
231
231
  }
232
- }, Ha = [
232
+ }, _a = [
233
233
  "id",
234
234
  "type",
235
235
  "contents"
236
- ], _a = {
236
+ ], za = {
237
237
  onTabChange: "切换标签页事件",
238
238
  onTabRemove: "移除标签页事件",
239
239
  beforeTabSelect: "标签页选中前事件"
240
240
  }, $n = {
241
- $schema: Na,
242
- $id: La,
243
- title: Da,
244
- description: ja,
245
- type: $a,
246
- properties: Aa,
247
- required: Ha,
248
- events: _a
249
- }, za = "https://json-schema.org/draft/2020-12/schema", Ua = "https://farris-design.gitee.io/tab-toolbar.schema.json", qa = "tab-toolbar", Wa = "A Farris Toolbar Component", Ga = "object", Ya = {
241
+ $schema: La,
242
+ $id: Da,
243
+ title: ja,
244
+ description: $a,
245
+ type: Aa,
246
+ properties: Ha,
247
+ required: _a,
248
+ events: za
249
+ }, Ua = "https://json-schema.org/draft/2020-12/schema", qa = "https://farris-design.gitee.io/tab-toolbar.schema.json", Wa = "tab-toolbar", Ga = "A Farris Toolbar Component", Ya = "object", Xa = {
250
250
  id: {
251
251
  description: "The unique identifier for a Tab Toolbar",
252
252
  type: "string"
@@ -285,30 +285,30 @@ const Na = "https://json-schema.org/draft/2020-12/schema", La = "https://farris-
285
285
  type: "boolean",
286
286
  default: !0
287
287
  }
288
- }, Xa = [
288
+ }, Qa = [
289
289
  "id",
290
290
  "type",
291
291
  "buttons"
292
- ], Qa = {
292
+ ], Ja = {
293
293
  onClick: "点击事件"
294
- }, Ja = {
295
- $schema: za,
296
- $id: Ua,
297
- title: qa,
298
- description: Wa,
299
- type: Ga,
300
- properties: Ya,
301
- required: Xa,
302
- events: Qa
303
- }, Za = Qe(Pn, $n, xt, Dn), An = Object.assign({}, Pn, {
294
+ }, Za = {
295
+ $schema: Ua,
296
+ $id: qa,
297
+ title: Wa,
298
+ description: Ga,
299
+ type: Ya,
300
+ properties: Xa,
301
+ required: Qa,
302
+ events: Ja
303
+ }, Ka = Qe(Pn, $n, xt, Dn), An = Object.assign({}, Pn, {
304
304
  componentId: { type: String, default: "" }
305
- }), Ka = Qe(An, $n, xt, Dn), es = oi(), ts = Qe(
306
- ci,
307
- Ja,
305
+ }), es = Qe(An, $n, xt, Dn), ts = ii(), ns = Qe(
306
+ ui,
307
+ Za,
308
308
  xt,
309
- Uo
309
+ qo
310
310
  );
311
- function ns(e, t, n, o, i, a) {
311
+ function os(e, t, n, o, i, a) {
312
312
  const r = Xe("external-container-id"), {
313
313
  activeId: l,
314
314
  selectTab: s,
@@ -430,7 +430,7 @@ function ns(e, t, n, o, i, a) {
430
430
  pageId: `${t.id}-design-item`
431
431
  }, [O(), X()]);
432
432
  }
433
- function os(e, t) {
433
+ function is(e, t) {
434
434
  let n;
435
435
  function o(u) {
436
436
  const { properties: f, title: m, ignore: h } = u, y = h && Array.isArray(h), M = Object.keys(f).reduce((x, v) => ((!y || !h.find((w) => w === v)) && (x[v] = f[v].type === "object" && f[v].properties ? o(f[v]) : Vt(f[v].default)), x), {});
@@ -507,8 +507,8 @@ function os(e, t) {
507
507
  }
508
508
  return { getSchemaByType: a, resolveSchemaWithDefaultValue: c, resolveSchemaToProps: s, mappingSchemaToProps: l, setDesignerContext: d };
509
509
  }
510
- const is = {}, rs = {}, { getSchemaByType: Hn } = os(is, rs);
511
- function as(e, t, n, o, i, a, r) {
510
+ const rs = {}, as = {}, { getSchemaByType: Hn } = is(rs, as);
511
+ function ss(e, t, n, o, i, a, r) {
512
512
  const {
513
513
  tabPages: l,
514
514
  selectTab: s,
@@ -548,7 +548,7 @@ function as(e, t, n, o, i, a, r) {
548
548
  class: m.value,
549
549
  style: h.value,
550
550
  ref: t
551
- }, [l.value.map((M) => ns(e, M.props, M, o, i, a)), d ? null : g("li", {
551
+ }, [l.value.map((M) => os(e, M.props, M, o, i, a)), d ? null : g("li", {
552
552
  class: "nav-item no-drag add-nav-item"
553
553
  }, [g("a", {
554
554
  class: "nav-link tabs-text-truncate",
@@ -559,7 +559,7 @@ function as(e, t, n, o, i, a, r) {
559
559
  style: "font-size: 20px;margin: 0 auto;line-height: 24px;"
560
560
  }, null)])])])]);
561
561
  }
562
- function ss(e, t, n, o, i) {
562
+ function ls(e, t, n, o, i) {
563
563
  const a = T(), {
564
564
  shouldShowNavigationButtons: r
565
565
  } = n, {
@@ -593,7 +593,7 @@ function ss(e, t, n, o, i) {
593
593
  }), () => g("div", {
594
594
  class: f.value,
595
595
  style: m.value
596
- }, [g(mi, {
596
+ }, [g(pi, {
597
597
  items: u.value,
598
598
  modelValue: d.value,
599
599
  "onUpdate:modelValue": (y) => d.value = y,
@@ -601,7 +601,7 @@ function ss(e, t, n, o, i) {
601
601
  ref: a
602
602
  }, null)]);
603
603
  }
604
- function ls(e, t, n, o) {
604
+ function cs(e, t, n, o) {
605
605
  const i = T(!1), { selectTab: a, tabPages: r, needUpdateNavigationLayout: l, activeId: s } = o, c = 4, d = D(() => ({
606
606
  btn: !0,
607
607
  "sc-nav-btn": !0,
@@ -672,7 +672,7 @@ function ls(e, t, n, o) {
672
672
  scrollToSelectedTab: x
673
673
  };
674
674
  }
675
- function cs(e, t) {
675
+ function us(e, t) {
676
676
  const { tabPages: n } = t, o = T(""), i = T(!0), a = D(() => e.searchBoxVisible), r = D(() => a.value ? n.value.filter((s) => s.props.title.includes(o.value)) : n.value.slice());
677
677
  return Ce(i, (l) => {
678
678
  l || (o.value = "");
@@ -683,7 +683,7 @@ function cs(e, t) {
683
683
  tabsInDropdownMenu: r
684
684
  };
685
685
  }
686
- function us(e, t, n) {
686
+ function ds(e, t, n) {
687
687
  const o = ".farris-tab-page", { tabPages: i } = n;
688
688
  let a = -1;
689
689
  function r() {
@@ -711,7 +711,7 @@ function us(e, t, n) {
711
711
  }
712
712
  T(0);
713
713
  var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
714
- function ds(e) {
714
+ function fs(e) {
715
715
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
716
716
  }
717
717
  function Mt(e) {
@@ -825,7 +825,7 @@ var _n = { exports: {} };
825
825
  return;
826
826
  }
827
827
  var he = we;
828
- S(!0), L(), st(), Fe(he), s.add(Y || ie, "gu-transit"), it(), ft(), Ve = 0, ne(E);
828
+ S(!0), L(), st(), Fe(he), s.add(Y || ie, "gu-transit"), it(), mt(), Ve = 0, ne(E);
829
829
  }
830
830
  }
831
831
  }
@@ -951,7 +951,7 @@ var _n = { exports: {} };
951
951
  function Ae(E) {
952
952
  b.dragging && s.add(E, "gu-hide");
953
953
  }
954
- function ft() {
954
+ function mt() {
955
955
  J || (J = document.createElement("div"), J.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", J.innerHTML = K.getMirrorText && K.getMirrorText(ie) || "控件", s.add(J, "gu-mirror"), K.mirrorContainer.appendChild(J), h(d, "add", "mousemove", ne), s.add(K.mirrorContainer, "gu-unselectable"), b.emit("cloned", J, ie, "mirror"));
956
956
  }
957
957
  function it() {
@@ -1056,8 +1056,8 @@ var _n = { exports: {} };
1056
1056
  function _e() {
1057
1057
  var Oe = W.getBoundingClientRect();
1058
1058
  if (ye) {
1059
- var ze = te - Oe.top, He = Q - Oe.left, Le = Oe.bottom - te, mt = Oe.right - Q, pt = Math.min(He, mt, ze, Le), vt;
1060
- return ke ? vt = mt < He : vt = Le === pt || mt === pt || He === pt, Ge(vt);
1059
+ var ze = te - Oe.top, He = Q - Oe.left, Le = Oe.bottom - te, pt = Oe.right - Q, vt = Math.min(He, pt, ze, Le), gt;
1060
+ return ke ? gt = pt < He : gt = Le === vt || pt === vt || He === vt, Ge(gt);
1061
1061
  }
1062
1062
  return Ge(he ? Q > Oe.left + w(Oe) / 2 : te > Oe.top + k(Oe) / 2);
1063
1063
  }
@@ -1459,8 +1459,8 @@ var _n = { exports: {} };
1459
1459
  }, {}, [2])(2);
1460
1460
  });
1461
1461
  })(_n);
1462
- var fs = _n.exports;
1463
- const Cn = /* @__PURE__ */ ds(fs), ms = {
1462
+ var ms = _n.exports;
1463
+ const Cn = /* @__PURE__ */ fs(ms), ps = {
1464
1464
  showCloseButton: { type: Boolean, default: !0 },
1465
1465
  position: { type: String, default: "top-center" },
1466
1466
  timeout: { type: Number, default: 3e3 },
@@ -1473,13 +1473,13 @@ const Cn = /* @__PURE__ */ ds(fs), ms = {
1473
1473
  animate: { type: String, default: "fadeIn" },
1474
1474
  options: { type: Object },
1475
1475
  safeHtml: { type: Boolean, default: !0 }
1476
- }, ps = {
1476
+ }, vs = {
1477
1477
  showCloseButton: { type: Boolean, default: !0 },
1478
1478
  animate: { type: String, default: "fadeIn" },
1479
1479
  options: { type: Object }
1480
1480
  }, tn = /* @__PURE__ */ $e({
1481
1481
  name: "Toast",
1482
- props: ps,
1482
+ props: vs,
1483
1483
  emits: ["close", "click"],
1484
1484
  setup: (e, t) => {
1485
1485
  const n = T(e.animate), o = "fadeOut", i = D(() => e.options), a = T(!1), r = D(() => i.value.title && i.value.message), l = D(() => !i.value.title && i.value.message), s = D(() => {
@@ -1513,7 +1513,7 @@ const Cn = /* @__PURE__ */ ds(fs), ms = {
1513
1513
  });
1514
1514
  const x = () => {
1515
1515
  var v;
1516
- return g(Tt, null, [g("div", {
1516
+ return g(St, null, [g("div", {
1517
1517
  class: "after-toast-msg text-right"
1518
1518
  }, [!t.slots.default && ((v = i.value.buttons) == null ? void 0 : v.map((w) => g("span", {
1519
1519
  class: M(w),
@@ -1537,7 +1537,7 @@ const Cn = /* @__PURE__ */ ds(fs), ms = {
1537
1537
  class: c.value
1538
1538
  }, null)]), g("div", {
1539
1539
  class: "modal-tips-content"
1540
- }, [r.value && g(Tt, null, [g("h5", {
1540
+ }, [r.value && g(St, null, [g("h5", {
1541
1541
  class: "toast-title modal-tips-title",
1542
1542
  innerHTML: i.value.title
1543
1543
  }, null), g("p", {
@@ -1558,8 +1558,8 @@ const Cn = /* @__PURE__ */ ds(fs), ms = {
1558
1558
  innerHTML: i.value.message
1559
1559
  }, null))])])]);
1560
1560
  }
1561
- }), vs = ["moz", "ms", "webkit"];
1562
- function gs() {
1561
+ }), gs = ["moz", "ms", "webkit"];
1562
+ function hs() {
1563
1563
  let e = 0;
1564
1564
  return (t) => {
1565
1565
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), i = setTimeout(() => {
@@ -1568,15 +1568,15 @@ function gs() {
1568
1568
  return e = n + o, i;
1569
1569
  };
1570
1570
  }
1571
- function hs() {
1571
+ function ys() {
1572
1572
  if (typeof window > "u")
1573
1573
  return () => 0;
1574
1574
  if (window.requestAnimationFrame)
1575
1575
  return window.requestAnimationFrame.bind(window);
1576
- const e = vs.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1577
- return e ? window[`${e}RequestAnimationFrame`] : gs();
1576
+ const e = gs.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1577
+ return e ? window[`${e}RequestAnimationFrame`] : hs();
1578
1578
  }
1579
- hs();
1579
+ ys();
1580
1580
  T("");
1581
1581
  function zn() {
1582
1582
  if (typeof window > "u" || typeof navigator > "u")
@@ -1611,14 +1611,14 @@ function zn() {
1611
1611
  const o = "ontouchstart" in window || navigator.maxTouchPoints > 0, i = screen.width, a = screen.height, r = Math.min(i, a);
1612
1612
  return !!(o && r <= 768);
1613
1613
  }
1614
- function ys() {
1614
+ function bs() {
1615
1615
  const e = zn();
1616
1616
  return e && document.body.classList.add("f-mobile"), e;
1617
1617
  }
1618
- typeof document < "u" && ys();
1618
+ typeof document < "u" && bs();
1619
1619
  const kt = /* @__PURE__ */ $e({
1620
1620
  name: "Notify",
1621
- props: ms,
1621
+ props: ps,
1622
1622
  emits: ["close", "empty"],
1623
1623
  setup(e, t) {
1624
1624
  var y;
@@ -1671,7 +1671,7 @@ const kt = /* @__PURE__ */ $e({
1671
1671
  };
1672
1672
  }
1673
1673
  });
1674
- class bs {
1674
+ class Cs {
1675
1675
  constructor() {
1676
1676
  be(this, "notifyRefs", []);
1677
1677
  be(this, "globalConfig", Zt({}));
@@ -1717,7 +1717,7 @@ class bs {
1717
1717
  name: "fade",
1718
1718
  appear: !0
1719
1719
  }, {
1720
- default: () => [g(kt, St({
1720
+ default: () => [g(kt, ft({
1721
1721
  ref: l
1722
1722
  }, i, {
1723
1723
  onClose: s
@@ -1790,14 +1790,14 @@ class bs {
1790
1790
  }), this.notifyRefs.length = 0;
1791
1791
  }
1792
1792
  }
1793
- const Cs = Symbol("NOTIFY_SERVICE_TOKEN");
1793
+ const ws = Symbol("NOTIFY_SERVICE_TOKEN");
1794
1794
  kt.install = (e) => {
1795
1795
  e.component(kt.name, kt), e.component(tn.name, tn);
1796
- const t = new bs();
1797
- e.provide(Cs, t), e.provide("FNotifyService", t);
1796
+ const t = new Cs();
1797
+ e.provide(ws, t), e.provide("FNotifyService", t);
1798
1798
  };
1799
1799
  `${De.getLocaleValue("datagrid.loadingMessage")}`;
1800
- const ws = {
1800
+ const Ts = {
1801
1801
  /**
1802
1802
  * 自定义样式
1803
1803
  */
@@ -2070,12 +2070,12 @@ const ws = {
2070
2070
  * 编辑单元格时默认获得焦点
2071
2071
  */
2072
2072
  focusOnEditingCell: { type: Boolean, default: !0 }
2073
- }, Ts = "enum", Ss = "boolean";
2074
- function xs(e) {
2073
+ }, Ss = "enum", xs = "boolean";
2074
+ function Fs(e) {
2075
2075
  const { formatter: t } = e;
2076
2076
  return !t || typeof t == "function" ? null : t;
2077
2077
  }
2078
- function Fs(e, t) {
2078
+ function Is(e, t) {
2079
2079
  const n = t.options || t, { data: o } = n;
2080
2080
  if (!o || !o.length)
2081
2081
  return "";
@@ -2090,17 +2090,17 @@ function Fs(e, t) {
2090
2090
  const r = o.find((l) => l[i] === e);
2091
2091
  return (r == null ? void 0 : r[a]) ?? (e == null ? "" : String(e));
2092
2092
  }
2093
- function Is(e, t) {
2093
+ function Ps(e, t) {
2094
2094
  if (e == null)
2095
2095
  return "";
2096
2096
  const n = t.options || t, o = e ? n == null ? void 0 : n.trueText : n == null ? void 0 : n.falseText;
2097
2097
  return o == null ? "" : String(o);
2098
2098
  }
2099
- function Ps(e, t) {
2100
- const n = er(t, e.field), o = xs(e), i = o == null ? void 0 : o.type;
2101
- return i === Ts ? Fs(n, o) : i === Ss || e.dataType === "boolean" ? Is(n, o || {}) : n == null ? "" : String(n);
2099
+ function Es(e, t) {
2100
+ const n = tr(t, e.field), o = Fs(e), i = o == null ? void 0 : o.type;
2101
+ return i === Ss ? Is(n, o) : i === xs || e.dataType === "boolean" ? Ps(n, o || {}) : n == null ? "" : String(n);
2102
2102
  }
2103
- function Es(e, t, n, o, i, a, r, l, s, c, d, u, f, m, h, y, M, x, v) {
2103
+ function Ms(e, t, n, o, i, a, r, l, s, c, d, u, f, m, h, y, M, x, v) {
2104
2104
  const {
2105
2105
  calculateCellPositionInRow: w
2106
2106
  } = a, {
@@ -2113,7 +2113,7 @@ function Es(e, t, n, o, i, a, r, l, s, c, d, u, f, m, h, y, M, x, v) {
2113
2113
  rightFixedGridDataStyle: z
2114
2114
  } = m, {
2115
2115
  renderDataRow: N
2116
- } = vi(e, t, k, M, l, s, c, d, u, f, m, h, y, x, v), O = [N];
2116
+ } = gi(e, t, k, M, l, s, c, d, u, f, m, h, y, x, v), O = [N];
2117
2117
  function X(le, q) {
2118
2118
  const G = w(le);
2119
2119
  return M.value.filter((ee) => ee.visible !== !1).map((ee, Y) => O[ee.type](ee, G, q, Y));
@@ -2153,59 +2153,59 @@ function Es(e, t, n, o, i, a, r, l, s, c, d, u, f, m, h, y, M, x, v) {
2153
2153
  renderDataArea: ie
2154
2154
  };
2155
2155
  }
2156
- const Ms = /* @__PURE__ */ $e({
2156
+ const ks = /* @__PURE__ */ $e({
2157
2157
  name: "FTreeGrid",
2158
- props: ws,
2158
+ props: Ts,
2159
2159
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "selectItem", "filterChanged", "unSelectAll", "selectAll", "sortChanged", "selectionUpdate", "beginEditCell", "endEditCell"],
2160
2160
  setup(e, t) {
2161
2161
  var dn, fn;
2162
2162
  const n = T(!1), o = T(!1), i = 0, a = T(((dn = e.rowOption) == null ? void 0 : dn.height) || 28);
2163
2163
  let r = [], l = [];
2164
- const s = T(20), c = T(e.columns), d = gi(e), {
2164
+ const s = T(20), c = T(e.columns), d = hi(e), {
2165
2165
  idField: u
2166
- } = d, f = T(), m = T(), h = T(), y = T(), M = T(), x = T([]), v = T(!1), w = T(((fn = e.rowOption) == null ? void 0 : fn.wrapContent) || !1), k = hi(e, d), P = yi(e, t), j = bi(e), {
2166
+ } = d, f = T(), m = T(), h = T(), y = T(), M = T(), x = T([]), v = T(!1), w = T(((fn = e.rowOption) == null ? void 0 : fn.wrapContent) || !1), k = yi(e, d), P = bi(e, t), j = Ci(e), {
2167
2167
  collapseField: F
2168
2168
  } = j, {
2169
2169
  showLoading: I,
2170
2170
  renderLoading: z
2171
- } = Ci(e, f), N = wi(e, /* @__PURE__ */ new Map(), P, j, d), {
2171
+ } = wi(e, f), N = Ti(e, /* @__PURE__ */ new Map(), P, j, d), {
2172
2172
  dataView: O
2173
- } = N, X = Ti(e, N, d, x, t), {
2173
+ } = N, X = Si(e, N, d, x, t), {
2174
2174
  showSelection: V,
2175
2175
  selectedValues: J
2176
- } = X, Z = Si(e, x, N, d, X, t), ie = D(() => e.disabled), le = D(() => e.virtualized ? Math.min(N.dataView.value.length, s.value) : N.dataView.value.length), q = xi(e, N), {
2176
+ } = X, Z = xi(e, x, N, d, X, t), ie = D(() => e.disabled), le = D(() => e.virtualized ? Math.min(N.dataView.value.length, s.value) : N.dataView.value.length), q = Fi(e, N), {
2177
2177
  shouldRenderPagination: G
2178
2178
  } = q, {
2179
2179
  containerStyleObject: ee
2180
- } = Fi(e, x), Y = T(""), oe = T([]), Ie = D(() => e.searchable || !1), we = T(0), ae = D(() => oe.value.length ? `${we.value + 1}/${oe.value.length}` : ""), ke = D(() => De.getRealPropertyValue(e.searchPlaceholder, "", "datagrid.search.placeholder")), Ve = D(() => De.getLocaleValue("datagrid.search.search")), ve = D(() => De.getLocaleValue("datagrid.search.prev")), K = D(() => De.getLocaleValue("datagrid.search.next")), b = D(() => De.getLocaleValue("datagrid.search.clear")), p = Ii(e), {
2180
+ } = Ii(e, x), Y = T(""), oe = T([]), Ie = D(() => e.searchable || !1), we = T(0), ae = D(() => oe.value.length ? `${we.value + 1}/${oe.value.length}` : ""), ke = D(() => De.getRealPropertyValue(e.searchPlaceholder, "", "datagrid.search.placeholder")), Ve = D(() => De.getLocaleValue("datagrid.search.search")), ve = D(() => De.getLocaleValue("datagrid.search.prev")), K = D(() => De.getLocaleValue("datagrid.search.next")), b = D(() => De.getLocaleValue("datagrid.search.clear")), p = Pi(e), {
2181
2181
  applyCommands: C
2182
2182
  } = p;
2183
2183
  C(c);
2184
2184
  const {
2185
2185
  applyColumnSetting: S,
2186
2186
  removeColumnSetting: L
2187
- } = Pi(e);
2187
+ } = Ei(e);
2188
2188
  e.showSetting && S(c);
2189
- const se = Ei(e, t), fe = Mi(e), {
2189
+ const se = Mi(e, t), fe = ki(e), {
2190
2190
  applyColumnSorter: Te,
2191
2191
  columnContext: pe,
2192
2192
  updateColumnRenderContext: ge
2193
2193
  } = se;
2194
2194
  Te(N, fe);
2195
- const Pe = ki(e, pe), Ee = Ri(e, t, X, d), Fe = Bi(e, t, d, Ee, x), nt = Oi(e, N, a), st = Vi(e, Fe, nt), lt = Ni(e, N, Fe, j, d, nt, st, a), We = Li(e, c, N, le, i, lt), {
2195
+ const Pe = Ri(e, pe), Ee = Bi(e, t, X, d), Fe = Oi(e, t, d, Ee, x), nt = Vi(e, N, a), st = Ni(e, Fe, nt), lt = Li(e, N, Fe, j, d, nt, st, a), We = Di(e, c, N, le, i, lt), {
2196
2196
  getVisualData: Je
2197
- } = We, ct = Di(e, pe, a, n), Ke = ji(e, X), {
2197
+ } = We, ct = ji(e, pe, a, n), Ke = $i(e, X), {
2198
2198
  sidebarWidth: ot
2199
- } = Ke, Me = $i(e, N, x, pe, We, le, i, ot, a, n), {
2199
+ } = Ke, Me = Ai(e, N, x, pe, We, le, i, ot, a, n), {
2200
2200
  onWheel: B,
2201
2201
  dataGridWidth: ne,
2202
2202
  viewPortHeight: Se,
2203
2203
  viewPortWidth: xe,
2204
2204
  resetScroll: Ae,
2205
- updateVisibleRowsOnLatestVisibleScope: ft
2206
- } = Me, it = Ai(e, pe, m, xe, Pe), {
2205
+ updateVisibleRowsOnLatestVisibleScope: mt
2206
+ } = Me, it = Hi(e, pe, m, xe, Pe), {
2207
2207
  calculateColumnsSize: ut
2208
- } = it, Ft = Hi(), It = _i(m, M, N, Ft, Me), At = zi(e, t, se, N, Pe, k, Me), Ht = D(() => {
2208
+ } = it, Ft = _i(), It = zi(m, M, N, Ft, Me), At = Ui(e, t, se, N, Pe, k, Me), Ht = D(() => {
2209
2209
  const R = {
2210
2210
  "fv-grid": !0,
2211
2211
  "fv-grid-bordered": e.showBorder,
@@ -2220,7 +2220,7 @@ const Ms = /* @__PURE__ */ $e({
2220
2220
  "fv-grid-scrollbar-visible": Me.shouldShowVirticalScrollbar.value && v.value
2221
2221
  })), {
2222
2222
  renderDataArea: zt
2223
- } = Es(e, t, h, y, M, ct, se, N, Fe, j, Ee, X, Z, Me, We, nt, x, a, n), Pt = T(null);
2223
+ } = Ms(e, t, h, y, M, ct, se, N, Fe, j, Ee, X, Z, Me, We, nt, x, a, n), Pt = T(null);
2224
2224
  function Et(R, _) {
2225
2225
  var re, ce;
2226
2226
  e.enableColumnSettingSolution && ((ce = (re = Pt.value) == null ? void 0 : re.persistColumnWidths) == null || ce.call(re, _));
@@ -2229,21 +2229,21 @@ const Ms = /* @__PURE__ */ $e({
2229
2229
  renderGridHeader: Ut,
2230
2230
  renderGridColumnResizeOverlay: E,
2231
2231
  shouldShowHeader: W
2232
- } = Ui(e, t, m, y, M, se, N, At, It, P, Ft, it, Pe, X, Ke, fe, Me, xe, x, o, Et), {
2232
+ } = qi(e, t, m, y, M, se, N, At, It, P, Ft, it, Pe, X, Ke, fe, Me, xe, x, o, Et), {
2233
2233
  renderDataGridSidebar: Q
2234
- } = qi(e, Ee, X, Ke, Me), {
2234
+ } = Wi(e, Ee, X, Ke, Me), {
2235
2235
  renderDisableMask: te
2236
- } = Wi(), {
2236
+ } = Gi(), {
2237
2237
  renderHorizontalScrollbar: he
2238
- } = Gi(e, m, Me), {
2238
+ } = Yi(e, m, Me), {
2239
2239
  renderVerticalScrollbar: ye
2240
- } = Yi(e, m, Me);
2240
+ } = Xi(e, m, Me);
2241
2241
  let Ne = null;
2242
2242
  function je() {
2243
2243
  var R, _, re;
2244
2244
  if (m.value && m.value.clientHeight > 0 && ((R = m.value) == null ? void 0 : R.clientWidth) > 0) {
2245
2245
  const ce = Math.ceil(m.value.clientHeight / a.value);
2246
- ce > s.value && (s.value = ce, ft()), Se.value = ((_ = h.value) == null ? void 0 : _.clientHeight) || 0, ne.value = ((re = m.value) == null ? void 0 : re.clientWidth) || 0, h.value && (xe.value = h.value.clientWidth);
2246
+ ce > s.value && (s.value = ce, mt()), Se.value = ((_ = h.value) == null ? void 0 : _.clientHeight) || 0, ne.value = ((re = m.value) == null ? void 0 : re.clientWidth) || 0, h.value && (xe.value = h.value.clientWidth);
2247
2247
  }
2248
2248
  m.value && (m.value.clientHeight > 0 || m.value.clientWidth > 0) && ut();
2249
2249
  }
@@ -2253,7 +2253,7 @@ const Ms = /* @__PURE__ */ $e({
2253
2253
  });
2254
2254
  }
2255
2255
  tt(() => {
2256
- m.value && (s.value = Math.max(Math.ceil(m.value.clientHeight / a.value), s.value), x.value = Je(0, le.value + i - 1), pi(m.value, _e), ut(), Re(() => {
2256
+ m.value && (s.value = Math.max(Math.ceil(m.value.clientHeight / a.value), s.value), x.value = Je(0, le.value + i - 1), vi(m.value, _e), ut(), Re(() => {
2257
2257
  m.value && (ne.value = m.value.clientWidth), h.value && (xe.value = h.value.clientWidth, Se.value = h.value.clientHeight);
2258
2258
  })), I.value && z();
2259
2259
  }), at(() => {
@@ -2277,15 +2277,15 @@ const Ms = /* @__PURE__ */ $e({
2277
2277
  const R = ze();
2278
2278
  N.insertNewChildDataItem(R), x.value = Je(0, le.value + i - 1);
2279
2279
  }
2280
- function mt(R, _) {
2280
+ function pt(R, _) {
2281
2281
  const re = x.value.find((de) => de.raw[u.value] === _), ce = re ? re.dataIndex - 1 : -1;
2282
2282
  N.insertNewChildDataItems(R, ce);
2283
2283
  }
2284
- function pt() {
2284
+ function vt() {
2285
2285
  const R = ze(), _ = Z.getNextSelectableHierarchyItemId(R);
2286
2286
  N.removeHierarchyDataItem(R), x.value = Je(0, le.value + i - 1), _ && Z.selectItemById(_);
2287
2287
  }
2288
- function vt(R) {
2288
+ function gt(R) {
2289
2289
  Fe.onEditingRow(R);
2290
2290
  }
2291
2291
  function no(R) {
@@ -2294,20 +2294,20 @@ const Ms = /* @__PURE__ */ $e({
2294
2294
  function oo(R) {
2295
2295
  Fe.cancelEditingRow(R);
2296
2296
  }
2297
- function gt(R) {
2297
+ function ht(R) {
2298
2298
  R && (c.value = R, C(c), e.showSetting && S(c), ge(c.value), Te(N, fe), ut());
2299
2299
  }
2300
2300
  Ce(() => e.columns, (R) => {
2301
2301
  if (e.showSetting && e.enableColumnSettingSolution) {
2302
- gt(c.value);
2302
+ ht(c.value);
2303
2303
  return;
2304
2304
  }
2305
- gt(R);
2305
+ ht(R);
2306
2306
  });
2307
2307
  function io(R, _) {
2308
2308
  if (R) {
2309
2309
  const re = !!(_ != null && _.keepScrollTop || _ != null && _.keepScrollPosition), ce = re ? Me.offsetY.value : 0;
2310
- N.load(R), N.reOrderVisibleIndex(), Ki({
2310
+ N.load(R), N.reOrderVisibleIndex(), er({
2311
2311
  keepScroll: re,
2312
2312
  savedOffsetY: ce,
2313
2313
  resetScroll: Ae,
@@ -2341,7 +2341,7 @@ const Ms = /* @__PURE__ */ $e({
2341
2341
  }
2342
2342
  const uo = D(() => !x.value || !x.value.length), {
2343
2343
  renderEmpty: fo
2344
- } = Xi(e, t);
2344
+ } = Qi(e, t);
2345
2345
  function mo() {
2346
2346
  return X.getSelectionRow();
2347
2347
  }
@@ -2364,9 +2364,9 @@ const Ms = /* @__PURE__ */ $e({
2364
2364
  disabledField: Ue,
2365
2365
  checkedField: Ze,
2366
2366
  visibleField: qe,
2367
- hasChildren: yt
2367
+ hasChildren: bt
2368
2368
  } = re;
2369
- me && !Ye(_[me]) && (ce.__fv_collapse__ = _[me]), Ze && !Ye(_[Ze]) && (ce.__fv_checked__ = _[Ze]), Ue && !Ye(_[Ue]) && (ce.__fv_disabled__ = _[Ue]), qe && !Ye(_[qe]) && (ce.__fv_visible__ = _[qe]), Ye(yt) || (ce.__fv_hasChildren__ = yt);
2369
+ me && !Ye(_[me]) && (ce.__fv_collapse__ = _[me]), Ze && !Ye(_[Ze]) && (ce.__fv_checked__ = _[Ze]), Ue && !Ye(_[Ue]) && (ce.__fv_disabled__ = _[Ue]), qe && !Ye(_[qe]) && (ce.__fv_visible__ = _[qe]), Ye(bt) || (ce.__fv_hasChildren__ = bt);
2370
2370
  }
2371
2371
  const de = x.value.find((me) => me.raw[u.value] === R), ue = x.value.findIndex((me) => me.raw[u.value] === R);
2372
2372
  if (de) {
@@ -2378,9 +2378,9 @@ const Ms = /* @__PURE__ */ $e({
2378
2378
  disabledField: Ue,
2379
2379
  checkedField: Ze,
2380
2380
  visibleField: qe,
2381
- hasChildren: yt
2381
+ hasChildren: bt
2382
2382
  } = re;
2383
- me && !Ye(_[me]) && (de.collapse = _[me]), Ze && !Ye(_[Ze]) && (de.checked = _[Ze]), Ue && !Ye(_[Ue]) && (de.disabled = _[Ue]), qe && !Ye(_[qe]) && (de.visible = _[qe]), Ye(yt) || (de.raw.__fv_hasChildren__ = yt);
2383
+ me && !Ye(_[me]) && (de.collapse = _[me]), Ze && !Ye(_[Ze]) && (de.checked = _[Ze]), Ue && !Ye(_[Ue]) && (de.disabled = _[Ue]), qe && !Ye(_[qe]) && (de.visible = _[qe]), Ye(bt) || (de.raw.__fv_hasChildren__ = bt);
2384
2384
  }
2385
2385
  x.value = [...x.value.slice(0, ue), de, ...x.value.slice(ue + 1)], N.updateSummary();
2386
2386
  }
@@ -2397,7 +2397,7 @@ const Ms = /* @__PURE__ */ $e({
2397
2397
  return F.value;
2398
2398
  }
2399
2399
  Ce(() => e.showSetting, (R, _) => {
2400
- R !== _ && (R ? S(c) : L(c), gt(c.value));
2400
+ R !== _ && (R ? S(c) : L(c), ht(c.value));
2401
2401
  });
2402
2402
  function Co(R) {
2403
2403
  return x.value.filter((_) => R.includes(_.raw[e.idField]));
@@ -2487,7 +2487,7 @@ const Ms = /* @__PURE__ */ $e({
2487
2487
  let de = !1;
2488
2488
  e.customSearch ? de = e.customSearch(_, ce, e.columns) : e.columns.forEach((ue) => {
2489
2489
  if (!de && ue.field) {
2490
- const me = Ps(ue, ce);
2490
+ const me = Es(ue, ce);
2491
2491
  me && me.toLowerCase().includes(_) && (de = !0);
2492
2492
  }
2493
2493
  }), de && R.push(ce);
@@ -2501,37 +2501,37 @@ const Ms = /* @__PURE__ */ $e({
2501
2501
  const R = oe.value.length;
2502
2502
  we.value = (we.value - 1 + R) % R, Wt();
2503
2503
  }
2504
- const ht = ui(ko, 300);
2504
+ const yt = di(ko, 300);
2505
2505
  function un() {
2506
- ht.cancel(), Y.value = "", oe.value = [], we.value = 0;
2506
+ yt.cancel(), Y.value = "", oe.value = [], we.value = 0;
2507
2507
  }
2508
2508
  Ce(Y, (R) => {
2509
- R.trim() || (ht.cancel(), oe.value = [], we.value = 0);
2509
+ R.trim() || (yt.cancel(), oe.value = [], we.value = 0);
2510
2510
  }), at(() => {
2511
- ht.cancel();
2511
+ yt.cancel();
2512
2512
  });
2513
2513
  function Bo(R) {
2514
2514
  if (R.key === "Enter") {
2515
2515
  if (!Y.value.trim())
2516
2516
  return;
2517
- ht();
2517
+ yt();
2518
2518
  }
2519
2519
  }
2520
2520
  function Oo() {
2521
- Y.value.trim() && ht();
2521
+ Y.value.trim() && yt();
2522
2522
  }
2523
2523
  t.expose({
2524
2524
  activeRowById: qt,
2525
2525
  addNewDataItem: He,
2526
2526
  addNewChildDataItem: Le,
2527
- addChildrenToNode: mt,
2527
+ addChildrenToNode: pt,
2528
2528
  collapseTo: Ge,
2529
2529
  expandTo: Oe,
2530
- removeDataItem: pt,
2531
- editDataItem: vt,
2530
+ removeDataItem: vt,
2531
+ editDataItem: gt,
2532
2532
  acceptDataItem: no,
2533
2533
  cancelDataItem: oo,
2534
- updateColumns: gt,
2534
+ updateColumns: ht,
2535
2535
  updateDataSource: io,
2536
2536
  selectItemById: ro,
2537
2537
  selectItemByIds: so,
@@ -2561,8 +2561,8 @@ const Ms = /* @__PURE__ */ $e({
2561
2561
  ...ee.value,
2562
2562
  borderRadius: "5px"
2563
2563
  })), {
2564
- renderDataGridPagination: ac
2565
- } = Qi(e, t, N, Me, q, X), Lo = D(() => ({
2564
+ renderDataGridPagination: sc
2565
+ } = Ji(e, t, N, Me, q, X), Lo = D(() => ({
2566
2566
  "d-flex": !0,
2567
2567
  "justify-content-between": G.value && V.value,
2568
2568
  "justify-content-end": G.value && !V.value,
@@ -2581,12 +2581,12 @@ const Ms = /* @__PURE__ */ $e({
2581
2581
  r = ce.filter((ue) => !_.includes(ue.id)), de.sort((ue, me) => {
2582
2582
  const Ue = R.findIndex((qe) => qe.id === ue.id), Ze = R.findIndex((qe) => qe.id === me.id);
2583
2583
  return Ue - Ze;
2584
- }), gt(de);
2584
+ }), ht(de);
2585
2585
  }
2586
2586
  const {
2587
2587
  renderDataGridSummary: $o
2588
- } = Ji(e, N, se);
2589
- return () => e.visible && g(Tt, null, [Ie.value && g("div", {
2588
+ } = Zi(e, N, se);
2589
+ return () => e.visible && g(St, null, [Ie.value && g("div", {
2590
2590
  class: "fv-grid-search",
2591
2591
  style: {
2592
2592
  padding: "8px 12px",
@@ -2599,7 +2599,7 @@ const Ms = /* @__PURE__ */ $e({
2599
2599
  display: "flex",
2600
2600
  alignItems: "center"
2601
2601
  }
2602
- }, [g(tr, {
2602
+ }, [g(nr, {
2603
2603
  value: Y.value,
2604
2604
  onInput: (R) => Y.value = R,
2605
2605
  "onUpdate:value": (R) => Y.value = R || "",
@@ -2617,7 +2617,7 @@ const Ms = /* @__PURE__ */ $e({
2617
2617
  color: "#888",
2618
2618
  whiteSpace: "nowrap"
2619
2619
  }
2620
- }, [ae.value]), g(bt, {
2620
+ }, [ae.value]), g(Ct, {
2621
2621
  type: "link",
2622
2622
  title: ve.value,
2623
2623
  disabled: !oe.value.length,
@@ -2630,7 +2630,7 @@ const Ms = /* @__PURE__ */ $e({
2630
2630
  default: () => [g("i", {
2631
2631
  class: "f-icon f-icon-arrow-chevron-up"
2632
2632
  }, null)]
2633
- }), g(bt, {
2633
+ }), g(Ct, {
2634
2634
  type: "link",
2635
2635
  title: K.value,
2636
2636
  disabled: !oe.value.length,
@@ -2643,7 +2643,7 @@ const Ms = /* @__PURE__ */ $e({
2643
2643
  default: () => [g("i", {
2644
2644
  class: "f-icon f-icon-arrow-chevron-down"
2645
2645
  }, null)]
2646
- }), g(bt, {
2646
+ }), g(Ct, {
2647
2647
  type: "link",
2648
2648
  title: Ve.value,
2649
2649
  onClick: Oo,
@@ -2655,7 +2655,7 @@ const Ms = /* @__PURE__ */ $e({
2655
2655
  default: () => [g("i", {
2656
2656
  class: "f-icon f-icon-search"
2657
2657
  }, null)]
2658
- }), Y.value && g(bt, {
2658
+ }), Y.value && g(Ct, {
2659
2659
  type: "link",
2660
2660
  title: b.value,
2661
2661
  onClick: un,
@@ -2688,7 +2688,7 @@ const Ms = /* @__PURE__ */ $e({
2688
2688
  class: Lo.value
2689
2689
  }, [V.value && g("div", {
2690
2690
  class: Do.value
2691
- }, [g("div", null, ["已选:" + J.value.length, Rn(" 条")])])]), E(), ie.value && te()]), e.enableColumnSettingSolution && g(Zi, {
2691
+ }, [g("div", null, ["已选:" + J.value.length, Rn(" 条")])])]), E(), ie.value && te()]), e.enableColumnSettingSolution && g(Ki, {
2692
2692
  ref: Pt,
2693
2693
  columns: [...c.value, ...r],
2694
2694
  componentId: e.id,
@@ -2698,11 +2698,11 @@ const Ms = /* @__PURE__ */ $e({
2698
2698
  }, null)]);
2699
2699
  }
2700
2700
  });
2701
- xn(Ms);
2702
- const ks = /* @__PURE__ */ new Map([
2701
+ xn(ks);
2702
+ const Rs = /* @__PURE__ */ new Map([
2703
2703
  ["appearance", jt]
2704
2704
  ]);
2705
- function Rs(e, t) {
2705
+ function Bs(e, t) {
2706
2706
  const {
2707
2707
  formSchemaUtils: n,
2708
2708
  designViewModelUtils: o
@@ -2730,7 +2730,7 @@ function Rs(e, t) {
2730
2730
  }
2731
2731
  return { createComponent: r };
2732
2732
  }
2733
- function Bs(e, t, n, o) {
2733
+ function Os(e, t, n, o) {
2734
2734
  var a, r, l, s, c, d;
2735
2735
  const i = n.parentComponentInstance;
2736
2736
  if (i && o) {
@@ -2742,12 +2742,12 @@ function Bs(e, t, n, o) {
2742
2742
  parentComponentInstance: i,
2743
2743
  bindTo: ((s = n.bindingSourceContext) == null ? void 0 : s.bindTo) || "",
2744
2744
  dataSource: (d = (c = n.bindingSourceContext) == null ? void 0 : c.bindingEntity) == null ? void 0 : d.label
2745
- }, { createComponent: m } = Rs(e, o);
2745
+ }, { createComponent: m } = Bs(e, o);
2746
2746
  return m(f);
2747
2747
  } else
2748
2748
  return t;
2749
2749
  }
2750
- const Os = "https://json-schema.org/draft/2020-12/schema", Vs = "https://farris-design.gitee.io/step.schema.json", Ns = "step", Ls = "A Farris Component", Ds = "object", js = {
2750
+ const Vs = "https://json-schema.org/draft/2020-12/schema", Ns = "https://farris-design.gitee.io/step.schema.json", Ls = "step", Ds = "A Farris Component", js = "object", $s = {
2751
2751
  id: {
2752
2752
  description: "The unique identifier for step",
2753
2753
  type: "string"
@@ -2825,17 +2825,17 @@ const Os = "https://json-schema.org/draft/2020-12/schema", Vs = "https://farris-
2825
2825
  description: "步骤条模板",
2826
2826
  type: "string"
2827
2827
  }
2828
- }, $s = [
2828
+ }, As = [
2829
2829
  "id",
2830
2830
  "type"
2831
- ], As = {
2832
- $schema: Os,
2833
- $id: Vs,
2834
- title: Ns,
2835
- description: Ls,
2836
- type: Ds,
2837
- properties: js,
2838
- required: $s
2831
+ ], Hs = {
2832
+ $schema: Vs,
2833
+ $id: Ns,
2834
+ title: Ls,
2835
+ description: Ds,
2836
+ type: js,
2837
+ properties: $s,
2838
+ required: As
2839
2839
  }, an = {
2840
2840
  /**
2841
2841
  * 步骤条方向
@@ -2889,7 +2889,7 @@ const Os = "https://json-schema.org/draft/2020-12/schema", Vs = "https://farris-
2889
2889
  } },
2890
2890
  customClass: { type: String, default: "" },
2891
2891
  stepTemplate: { type: Object }
2892
- }, Un = Qe(an, As, ks, Bs), dt = /* @__PURE__ */ $e({
2892
+ }, Un = Qe(an, Hs, Rs, Os), dt = /* @__PURE__ */ $e({
2893
2893
  name: "FStep",
2894
2894
  props: an,
2895
2895
  emits: ["click"],
@@ -3025,7 +3025,7 @@ const Os = "https://json-schema.org/draft/2020-12/schema", Vs = "https://farris-
3025
3025
  section: { type: "section" },
3026
3026
  "list-view": { name: "列表" }
3027
3027
  };
3028
- class Hs {
3028
+ class _s {
3029
3029
  constructor(t) {
3030
3030
  be(this, "sessionVariables", [
3031
3031
  {
@@ -3293,7 +3293,7 @@ class Hs {
3293
3293
  };
3294
3294
  }
3295
3295
  }
3296
- function _s(e) {
3296
+ function zs(e) {
3297
3297
  const { formSchemaUtils: t, formStateMachineUtils: n } = e;
3298
3298
  function o(s, c = "") {
3299
3299
  return {
@@ -3321,8 +3321,8 @@ function _s(e) {
3321
3321
  }
3322
3322
  return { getVariables: a, getControlName: r, getStateMachines: l };
3323
3323
  }
3324
- function zs(e, t, n, o) {
3325
- const { getVariables: i, getControlName: a, getStateMachines: r } = _s(e);
3324
+ function Us(e, t, n, o) {
3325
+ const { getVariables: i, getControlName: a, getStateMachines: r } = zs(e);
3326
3326
  return (l, s = [], c = {}, d = {}, u) => {
3327
3327
  const f = s && s.length > 0 ? s : ["Const", "Variable", "StateMachine", "Expression"], m = {
3328
3328
  type: "property-editor",
@@ -3357,7 +3357,7 @@ function zs(e, t, n, o) {
3357
3357
  }), m;
3358
3358
  };
3359
3359
  }
3360
- class Us {
3360
+ class qs {
3361
3361
  constructor(t, n) {
3362
3362
  be(this, "componentId");
3363
3363
  be(this, "viewModelId");
@@ -3380,7 +3380,7 @@ class Us {
3380
3380
  });
3381
3381
  be(this, "expressionProperty");
3382
3382
  var o;
3383
- this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService, this.schemaService = n.schemaService, this.designerContext = n.designerContext, this.modalService = n.modalService, this.expressionProperty = new Hs(this.formSchemaUtils);
3383
+ this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService, this.schemaService = n.schemaService, this.designerContext = n.designerContext, this.modalService = n.modalService, this.expressionProperty = new _s(this.formSchemaUtils);
3384
3384
  }
3385
3385
  /**
3386
3386
  * 是否在响应式表单中
@@ -3485,7 +3485,7 @@ class Us {
3485
3485
  * @returns
3486
3486
  */
3487
3487
  getPropertyEditorParams(t, n = [], o = "visible", i = {}, a = {}, r = "") {
3488
- const s = zs(
3488
+ const s = Us(
3489
3489
  this.designerHostService,
3490
3490
  this.viewModelId,
3491
3491
  this.componentId,
@@ -3559,7 +3559,7 @@ class Us {
3559
3559
  if (!o)
3560
3560
  return;
3561
3561
  const i = o.contents.findIndex((r) => r.id === t), a = Vt(o.contents[i]);
3562
- o.contents.splice(i, 1), o.contents.splice(i, 0, a), Zo();
3562
+ o.contents.splice(i, 1), o.contents.splice(i, 0, a), Ko();
3563
3563
  }
3564
3564
  /**
3565
3565
  * 属性编辑器,在编辑过程中会新增变量,此处需要将新增的变量追加到ViewModel中
@@ -3638,7 +3638,7 @@ class Us {
3638
3638
  }, n;
3639
3639
  }
3640
3640
  }
3641
- class qs extends Us {
3641
+ class Ws extends qs {
3642
3642
  constructor(t, n) {
3643
3643
  super(t, n);
3644
3644
  }
@@ -3800,7 +3800,7 @@ class qs extends Us {
3800
3800
  };
3801
3801
  }
3802
3802
  }
3803
- function Ws(e, t) {
3803
+ function Gs(e, t) {
3804
3804
  const n = e.schema;
3805
3805
  function o() {
3806
3806
  return "";
@@ -3818,7 +3818,7 @@ function Ws(e, t) {
3818
3818
  return !0;
3819
3819
  }
3820
3820
  function s(d) {
3821
- return new qs(d, t).getPropertyConfig(n);
3821
+ return new Ws(d, t).getPropertyConfig(n);
3822
3822
  }
3823
3823
  function c() {
3824
3824
  var d, u, f, m;
@@ -3850,12 +3850,12 @@ function Ws(e, t) {
3850
3850
  getDesignerClass: o
3851
3851
  };
3852
3852
  }
3853
- const Gs = /* @__PURE__ */ $e({
3853
+ const Ys = /* @__PURE__ */ $e({
3854
3854
  name: "FStepDesign",
3855
3855
  props: an,
3856
3856
  emits: [],
3857
3857
  setup(e, t) {
3858
- const n = T(0), o = T(0), i = T(), a = Xe("designer-host-service"), r = Xe("design-item-context"), l = Ws(r, a), s = rn(i, r, l), c = [{
3858
+ const n = T(0), o = T(0), i = T(), a = Xe("designer-host-service"), r = Xe("design-item-context"), l = Gs(r, a), s = rn(i, r, l), c = [{
3859
3859
  id: "firstStep",
3860
3860
  title: "步骤一",
3861
3861
  description: "步骤一"
@@ -3974,7 +3974,7 @@ const Gs = /* @__PURE__ */ $e({
3974
3974
  }, [j()])]);
3975
3975
  }
3976
3976
  });
3977
- function Ys() {
3977
+ function Xs() {
3978
3978
  function e(t, n) {
3979
3979
  const o = {};
3980
3980
  return o.beforeClickStep = (i) => n.call("beforeClickStep", t, [i, t]), o;
@@ -3983,18 +3983,18 @@ function Ys() {
3983
3983
  resolve: e
3984
3984
  };
3985
3985
  }
3986
- const Xs = Ys();
3986
+ const Qs = Xs();
3987
3987
  dt.install = (e) => {
3988
3988
  e.component(dt.name, dt);
3989
3989
  };
3990
3990
  dt.register = (e, t, n, o) => {
3991
- e.step = dt, t.step = Un, o.step = { callbackResolver: Xs };
3991
+ e.step = dt, t.step = Un, o.step = { callbackResolver: Qs };
3992
3992
  };
3993
3993
  dt.registerDesigner = (e, t, n) => {
3994
- e.step = Gs, t.step = Un;
3994
+ e.step = Ys, t.step = Un;
3995
3995
  };
3996
- const Qs = "root-viewmodel";
3997
- class Js {
3996
+ const Js = "root-viewmodel";
3997
+ class Zs {
3998
3998
  constructor(t, n) {
3999
3999
  be(this, "formSchemaUtils");
4000
4000
  be(this, "controlCreatorUtils");
@@ -4102,7 +4102,7 @@ class Js {
4102
4102
  code: `${t.componentId}-component-viewmodel`,
4103
4103
  name: t.componentName,
4104
4104
  bindTo: t.bindTo,
4105
- parent: Qs,
4105
+ parent: Js,
4106
4106
  fields: this.assembleViewModelFields(t),
4107
4107
  commands: [],
4108
4108
  states: [],
@@ -4145,11 +4145,11 @@ function qn(e, t, n, o) {
4145
4145
  bindTo: ((c = n.bindingSourceContext) == null ? void 0 : c.bindTo) || "/",
4146
4146
  selectedFields: (d = n.bindingSourceContext) == null ? void 0 : d.bindingEntityFields
4147
4147
  };
4148
- return new Js(e, o).createComponent(m);
4148
+ return new Zs(e, o).createComponent(m);
4149
4149
  } else
4150
4150
  return t;
4151
4151
  }
4152
- const Zs = "https://json-schema.org/draft/2020-12/schema", Ks = "https://farris-design.gitee.io/response-form.schema.json", el = "response-form", tl = "A Farris Data Collection Component", nl = "object", ol = {
4152
+ const Ks = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-design.gitee.io/response-form.schema.json", tl = "response-form", nl = "A Farris Data Collection Component", ol = "object", il = {
4153
4153
  id: {
4154
4154
  description: "The unique identifier for a form group",
4155
4155
  type: "string"
@@ -4205,21 +4205,21 @@ const Zs = "https://json-schema.org/draft/2020-12/schema", Ks = "https://farris-
4205
4205
  description: "",
4206
4206
  type: "object"
4207
4207
  }
4208
- }, il = [
4208
+ }, rl = [
4209
4209
  "id",
4210
4210
  "type",
4211
4211
  "contents"
4212
- ], rl = {
4213
- $schema: Zs,
4214
- $id: Ks,
4215
- title: el,
4216
- description: tl,
4217
- type: nl,
4218
- properties: ol,
4219
- required: il
4212
+ ], al = {
4213
+ $schema: Ks,
4214
+ $id: el,
4215
+ title: tl,
4216
+ description: nl,
4217
+ type: ol,
4218
+ properties: il,
4219
+ required: rl
4220
4220
  }, Wn = /* @__PURE__ */ new Map([
4221
4221
  ["appearance", jt]
4222
- ]), al = "https://json-schema.org/draft/2020-12/schema", sl = "https://farris-design.gitee.io/dynamic-form.schema.json", ll = "dynamic-form", cl = "A Farris Data Collection Component", ul = "object", dl = {
4222
+ ]), sl = "https://json-schema.org/draft/2020-12/schema", ll = "https://farris-design.gitee.io/dynamic-form.schema.json", cl = "dynamic-form", ul = "A Farris Data Collection Component", dl = "object", fl = {
4223
4223
  id: {
4224
4224
  description: "The unique identifier for a form group",
4225
4225
  type: "string"
@@ -4328,26 +4328,26 @@ const Zs = "https://json-schema.org/draft/2020-12/schema", Ks = "https://farris-
4328
4328
  description: "",
4329
4329
  type: "string"
4330
4330
  }
4331
- }, fl = [
4331
+ }, ml = [
4332
4332
  "id",
4333
4333
  "type",
4334
4334
  "contents"
4335
- ], ml = {
4335
+ ], pl = {
4336
4336
  onClick: "点击事件",
4337
4337
  onChange: "ֵ值变化事件",
4338
4338
  event: "内部控件事件",
4339
4339
  callback: "内部控件属性回调事件"
4340
- }, pl = {
4341
- $schema: al,
4342
- $id: sl,
4343
- title: ll,
4344
- description: cl,
4345
- type: ul,
4346
- properties: dl,
4347
- required: fl,
4348
- events: ml
4340
+ }, vl = {
4341
+ $schema: sl,
4342
+ $id: ll,
4343
+ title: cl,
4344
+ description: ul,
4345
+ type: dl,
4346
+ properties: fl,
4347
+ required: ml,
4348
+ events: pl
4349
4349
  };
4350
- var Ct = /* @__PURE__ */ ((e) => (e.Header = "header", e.Footer = "footer", e))(Ct || {}), Nt = /* @__PURE__ */ ((e) => (e.QUICK = "quick", e.FULL = "full", e))(Nt || {});
4350
+ var wt = /* @__PURE__ */ ((e) => (e.Header = "header", e.Footer = "footer", e))(wt || {}), Nt = /* @__PURE__ */ ((e) => (e.QUICK = "quick", e.FULL = "full", e))(Nt || {});
4351
4351
  const $t = {
4352
4352
  customClass: { type: String, default: "" },
4353
4353
  customStyle: { type: String, defaut: "" },
@@ -4361,7 +4361,7 @@ const $t = {
4361
4361
  formData: { type: Object, default: null },
4362
4362
  /** 为动态字段指定样式*/
4363
4363
  layout: { type: String, default: "col-12 col-md-6 col-xl-3 col-el-2" }
4364
- }, vl = Object.assign({}, $t, {
4364
+ }, gl = Object.assign({}, $t, {
4365
4365
  // 是否渲染form层级
4366
4366
  canRenderForm: { type: Boolean, default: !0 },
4367
4367
  /**
@@ -4400,9 +4400,9 @@ const $t = {
4400
4400
  /** 更多按钮样式 */
4401
4401
  moreButtonClass: { type: String, default: "btn-link" }
4402
4402
  });
4403
- Qe($t, rl, Wn, qn);
4404
- Qe($t, pl, Wn, qn);
4405
- function gl(e, t) {
4403
+ Qe($t, al, Wn, qn);
4404
+ Qe($t, vl, Wn, qn);
4405
+ function hl(e, t) {
4406
4406
  function n(r) {
4407
4407
  return e.value && e.value[r];
4408
4408
  }
@@ -4424,20 +4424,20 @@ function gl(e, t) {
4424
4424
  }
4425
4425
  const Bt = /* @__PURE__ */ $e({
4426
4426
  name: "FDynamicForm",
4427
- props: vl,
4427
+ props: gl,
4428
4428
  emits: ["update:modelValue", "change", "event", "click"],
4429
4429
  setup(e, t) {
4430
4430
  const n = T(e.fields), o = /* @__PURE__ */ new Map(), i = T(e.callback);
4431
- nr();
4432
- const a = or(), r = T(e.formData || {}), l = gl(r, t);
4433
- ir(n.value).setup();
4431
+ or();
4432
+ const a = ir(), r = T(e.formData || {}), l = hl(r, t);
4433
+ rr(n.value).setup();
4434
4434
  const c = /* @__PURE__ */ new Map(), d = T(e.canRenderForm);
4435
4435
  let u = [], f = [], m = [];
4436
4436
  const h = e.mode === Nt.FULL ? "contents" : "fields", {
4437
4437
  mergeArray: y,
4438
4438
  resolveCallbacks: M,
4439
4439
  resolveEvents: x
4440
- } = rr(), v = D(() => {
4440
+ } = ar(), v = D(() => {
4441
4441
  const b = De.getLocale(), p = e.fields && e.fields.length > 0;
4442
4442
  let C = {
4443
4443
  "f-form-layout": p,
@@ -4490,7 +4490,7 @@ const Bt = /* @__PURE__ */ $e({
4490
4490
  }, se = {
4491
4491
  ...M(b, i, p)
4492
4492
  };
4493
- const pe = sr[p];
4493
+ const pe = lr[p];
4494
4494
  C = pe ? pe(b) : {}, S = F(C);
4495
4495
  } else {
4496
4496
  S = F(b);
@@ -4566,7 +4566,7 @@ const Bt = /* @__PURE__ */ $e({
4566
4566
  props: S,
4567
4567
  eventProps: L,
4568
4568
  callbackProps: se
4569
- } = I(b), fe = ar[p], Te = fe ? fe.editorResolver : null, {
4569
+ } = I(b), fe = sr[p], Te = fe ? fe.editorResolver : null, {
4570
4570
  componentEventProps: pe,
4571
4571
  editorEventProps: ge
4572
4572
  } = L, {
@@ -4583,7 +4583,7 @@ const Bt = /* @__PURE__ */ $e({
4583
4583
  }
4584
4584
  if (S && Object.keys(S).length > 0) {
4585
4585
  const Fe = c.get(b.id);
4586
- Fe ? fi(Fe == null ? void 0 : Fe.props, S) : c.set(b.id, Zt({
4586
+ Fe ? mi(Fe == null ? void 0 : Fe.props, S) : c.set(b.id, Zt({
4587
4587
  props: S
4588
4588
  }));
4589
4589
  }
@@ -4620,10 +4620,10 @@ const Bt = /* @__PURE__ */ $e({
4620
4620
  deep: !0
4621
4621
  });
4622
4622
  function J(b, p = "") {
4623
- return p ? b.filter((C) => C.position === p) : b.filter((C) => !C.position || [Ct.Header, Ct.Footer].indexOf(C.position) < 0);
4623
+ return p ? b.filter((C) => C.position === p) : b.filter((C) => !C.position || [wt.Header, wt.Footer].indexOf(C.position) < 0);
4624
4624
  }
4625
4625
  function Z(b) {
4626
- b && (u = J(b, Ct.Header), u.length && z(u, O), f = J(b, Ct.Footer), f.length && z(f, O), m = J(b), m.length && z(m, O));
4626
+ b && (u = J(b, wt.Header), u.length && z(u, O), f = J(b, wt.Footer), f.length && z(f, O), m = J(b), m.length && z(m, O));
4627
4627
  }
4628
4628
  Ce(() => e.fields, (b) => {
4629
4629
  o.clear(), a.clear(), r.value = e.formData || {}, c.clear(), n.value = b, Z(b);
@@ -4648,7 +4648,7 @@ const Bt = /* @__PURE__ */ $e({
4648
4648
  }
4649
4649
  function Y(b, p) {
4650
4650
  const C = c.get(b);
4651
- di(C == null ? void 0 : C.props, p, y);
4651
+ fi(C == null ? void 0 : C.props, p, y);
4652
4652
  }
4653
4653
  t.expose({
4654
4654
  componentManager: a,
@@ -4770,7 +4770,7 @@ const Bt = /* @__PURE__ */ $e({
4770
4770
  layout: e.layout
4771
4771
  }, null)]), [[en("area-response")]]);
4772
4772
  }
4773
- }), hl = {
4773
+ }), yl = {
4774
4774
  id: { type: String, default: "" },
4775
4775
  customClass: { type: String, default: "" },
4776
4776
  customStyle: { type: String, default: "" },
@@ -4794,7 +4794,7 @@ const Bt = /* @__PURE__ */ $e({
4794
4794
  enableTips: { type: Boolean, default: !1 },
4795
4795
  tipsContent: { type: [Object, String], default: "" },
4796
4796
  linkLabel: { type: String, default: !1 }
4797
- }, yl = {
4797
+ }, bl = {
4798
4798
  id: { type: String },
4799
4799
  required: { type: Boolean, default: !1 },
4800
4800
  text: { type: String, default: "" },
@@ -4806,9 +4806,9 @@ const Bt = /* @__PURE__ */ $e({
4806
4806
  */
4807
4807
  showType: { type: String, default: "visible" },
4808
4808
  isLink: { type: Boolean, default: !1 }
4809
- }, bl = /* @__PURE__ */ $e({
4809
+ }, Cl = /* @__PURE__ */ $e({
4810
4810
  name: "FDynamicFormLabel",
4811
- props: yl,
4811
+ props: bl,
4812
4812
  emits: ["clickLabel"],
4813
4813
  setup(e, t) {
4814
4814
  T(e.title || e.text);
@@ -4845,24 +4845,24 @@ const Bt = /* @__PURE__ */ $e({
4845
4845
  class: "farris-label-info text-danger"
4846
4846
  }, [Rn("*")]), e.showType === "visible" && o.value])]);
4847
4847
  }
4848
- }), { globalStorageKey: Cl } = In(), $ = {}, A = {}, H = {}, U = {};
4849
- async function wl() {
4848
+ }), { globalStorageKey: wl } = In(), $ = {}, A = {}, H = {}, U = {};
4849
+ async function Tl() {
4850
4850
  {
4851
4851
  const e = {
4852
- schemaMap: si,
4853
- propertyConfigSchemaMap: ai,
4854
- propertyEffectMap: ri,
4855
- schemaResolverMap: ii
4852
+ schemaMap: li,
4853
+ propertyConfigSchemaMap: si,
4854
+ propertyEffectMap: ai,
4855
+ schemaResolverMap: ri
4856
4856
  };
4857
- cr.register($, A, H, U), lr.register($, A, H, U), ur.register($, A, H, U, e), dr.register($, A, H, U), fr.register($, A, H, U), bt.register($, A, H, U), mr.register($, A, H, U, e), pr.register($, A, H, U), yn.register($, A, H, U, e), bn.register($, A, H, U, e), yn.register($, A, H, U, e), bn.register($, A, H, U, e), vr.register($, A, H, U, e), gr.register($, A, H, U, e), hr.register($, A, H, U), br.register($, A, H, U, e), Cr.register($, A, H, U, e), yr.register($, A, H, U, e), wr.register($, A, H, U, e), Tr.register($, A, H, U, e), Sr.register($, A, H, U), xr.register($, A, H, U, e), Fr.register($, A, H, U), Ta.register($, A, H, U), Ir.register($, A, H, U, e), Pr.register($, A, H, U), va.register($, A, H, U), Mr.register($, A, H, U, e), kr.register($, A, H, U, e), Rr.register($, A, H, U, e), Or.register($, A, H, U, e), Br.register($, A, H, U), Vr.register($, A, H, U, e), Nr.register($, A, H, U), Lr.register($, A, H, U, e), Dr.register($, A, H, U, e), jr.register($, A, H, U, e), $r.register($, A, H, U), Ar.register($, A, H, U, e), Hr.register($, A, H, U), _r.register($, A, H, U, e), zr.register($, A, H, U, e), Ur.register($, A, H, U, e), qr.register($, A, H, U, e), Wr.register($, A, H, U, e), Gr.register($, A, H, U, e), Yr.register($, A, H, U), nn.register($, A, H, U, e), fa.register($, A, H), Xr.register($, A, H, U, e), Qr.register($, A, H, U, e), Jr.register($, A, H, U, e), Zr.register($, A, H, U), Kr.register($, A, H, U, e), ea.register($, A, H, U, e), ta.register($, A, H, U, e), ha.register($, A, H, U), na.register($, A, H, U, e), oa.register($, A, H, U, e), ia.register($, A, H, U), ra.register($, A, H, U, e), aa.register($, A, H, U, e), sa.register($, A, H, U, e), ca.register($, A, H, U), la.register($, A, H, U, e), ua.register($, A, H, U), da.register($, A, H, U, e), ma.register($, A, H, U, e), Er.register($, A, H, U, e), pa.register($, A, H, U, e), ga.register($, A, H, U, e), ya.register($, A, H, U, e), ba.register($, A, H, U, e), Ca.register($, A, H, U, e), wa.register($, A, H, U, e), Sa.register($, A, H, U), xa.register($, A, H, U, e), Fa.register($, A, H, U), Ia.register($, A, H, U), Pa.register($, A, H, U), Ea.register($, A, H, U, e), Ma.register($, A, H, U, e), ka.register($, A, H, U, e), Ra.register($, A, H, U, e);
4858
- const t = window[Cl];
4857
+ ur.register($, A, H, U), cr.register($, A, H, U), dr.register($, A, H, U, e), fr.register($, A, H, U), mr.register($, A, H, U), Ct.register($, A, H, U), pr.register($, A, H, U, e), vr.register($, A, H, U), yn.register($, A, H, U, e), bn.register($, A, H, U, e), yn.register($, A, H, U, e), bn.register($, A, H, U, e), gr.register($, A, H, U, e), hr.register($, A, H, U, e), yr.register($, A, H, U), Cr.register($, A, H, U, e), wr.register($, A, H, U, e), br.register($, A, H, U, e), Tr.register($, A, H, U, e), Sr.register($, A, H, U, e), xr.register($, A, H, U), Fr.register($, A, H, U, e), Ir.register($, A, H, U), Sa.register($, A, H, U), Pr.register($, A, H, U, e), Er.register($, A, H, U), ga.register($, A, H, U), kr.register($, A, H, U, e), Rr.register($, A, H, U, e), Br.register($, A, H, U, e), Vr.register($, A, H, U, e), Or.register($, A, H, U), Nr.register($, A, H, U, e), Lr.register($, A, H, U), Dr.register($, A, H, U, e), jr.register($, A, H, U, e), $r.register($, A, H, U, e), Ar.register($, A, H, U), Hr.register($, A, H, U, e), _r.register($, A, H, U), zr.register($, A, H, U, e), Ur.register($, A, H, U, e), qr.register($, A, H, U, e), Wr.register($, A, H, U, e), Gr.register($, A, H, U, e), Yr.register($, A, H, U, e), Xr.register($, A, H, U), nn.register($, A, H, U, e), ma.register($, A, H), Qr.register($, A, H, U, e), Jr.register($, A, H, U, e), Zr.register($, A, H, U, e), Kr.register($, A, H, U), ea.register($, A, H, U, e), ta.register($, A, H, U, e), na.register($, A, H, U, e), ya.register($, A, H, U), oa.register($, A, H, U, e), ia.register($, A, H, U, e), ra.register($, A, H, U), aa.register($, A, H, U, e), sa.register($, A, H, U, e), la.register($, A, H, U, e), ua.register($, A, H, U), ca.register($, A, H, U, e), da.register($, A, H, U), fa.register($, A, H, U, e), pa.register($, A, H, U, e), Mr.register($, A, H, U, e), va.register($, A, H, U, e), ha.register($, A, H, U, e), ba.register($, A, H, U, e), Ca.register($, A, H, U, e), wa.register($, A, H, U, e), Ta.register($, A, H, U, e), xa.register($, A, H, U), Fa.register($, A, H, U, e), Ia.register($, A, H, U), Pa.register($, A, H, U), Ea.register($, A, H, U), Ma.register($, A, H, U, e), ka.register($, A, H, U, e), Ra.register($, A, H, U, e), Ba.register($, A, H, U, e);
4858
+ const t = window[wl];
4859
4859
  if (t)
4860
4860
  for (const n in t)
4861
4861
  t[n].createPropsResolver = Qe, t[n].register($, A, H);
4862
4862
  }
4863
4863
  }
4864
4864
  function Gn() {
4865
- wl();
4865
+ Tl();
4866
4866
  function e(r) {
4867
4867
  const l = $[r];
4868
4868
  if (!l)
@@ -4972,7 +4972,7 @@ function Gn() {
4972
4972
  }
4973
4973
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o, getMousedownFunctionName: i, getMouseupFunctionName: a };
4974
4974
  }
4975
- const Tl = {
4975
+ const Sl = {
4976
4976
  /**
4977
4977
  * 显示的错误信息
4978
4978
  */
@@ -4980,9 +4980,9 @@ const Tl = {
4980
4980
  type: Object,
4981
4981
  default: null
4982
4982
  }
4983
- }, Sl = /* @__PURE__ */ $e({
4983
+ }, xl = /* @__PURE__ */ $e({
4984
4984
  name: "FValidationMessage",
4985
- props: Tl,
4985
+ props: Sl,
4986
4986
  emits: [],
4987
4987
  setup(e, t) {
4988
4988
  const n = T(e.errors);
@@ -5010,7 +5010,7 @@ const Tl = {
5010
5010
  }
5011
5011
  }), Tn = /* @__PURE__ */ $e({
5012
5012
  name: "FDynamicFormGroup",
5013
- props: hl,
5013
+ props: yl,
5014
5014
  emits: ["change", "update:modelValue", "clickLabel"],
5015
5015
  setup(e, t) {
5016
5016
  var X;
@@ -5056,7 +5056,7 @@ const Tl = {
5056
5056
  }
5057
5057
  const z = D(() => {
5058
5058
  const V = i.value.type || "input-group", J = x(V), Z = M(V, i.value), ie = v(V), le = w(i.value.type);
5059
- return le && (Z[le] = F(Z[le])), ie && (Z[ie] = I(Z[ie])), (Z.id == null || Z.id === "") && (Z.id = n.value), V === "number-range" && i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" ? (i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" && (Z.onBeginValueChange = i.value.onBeginValueChange), i.value.onEndValueChange && typeof i.value.onEndValueChange == "function" && (Z.onEndValueChange = i.value.onEndValueChange)) : V === "lookup" && i.value["onUpdate:idValue"] && typeof i.value["onUpdate:idValue"] == "function" ? (Z["onUpdate:idValue"] = i.value["onUpdate:idValue"], Z.id = n.value) : V === "collection-property-editor" && i.value.onSelectionChange && typeof i.value.onSelectionChange == "function" ? Z.onSelectionChange = i.value.onSelectionChange : V === "property-editor" && (Z.onBeforeOpenVariables = i.value.onBeforeOpenVariables), (V === "lookup" || V === "combo-list" || V === "date-picker") && (Z.title = a.value), () => g(J, St({
5059
+ return le && (Z[le] = F(Z[le])), ie && (Z[ie] = I(Z[ie])), (Z.id == null || Z.id === "") && (Z.id = n.value), V === "number-range" && i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" ? (i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" && (Z.onBeginValueChange = i.value.onBeginValueChange), i.value.onEndValueChange && typeof i.value.onEndValueChange == "function" && (Z.onEndValueChange = i.value.onEndValueChange)) : V === "lookup" && i.value["onUpdate:idValue"] && typeof i.value["onUpdate:idValue"] == "function" ? (Z["onUpdate:idValue"] = i.value["onUpdate:idValue"], Z.id = n.value) : V === "collection-property-editor" && i.value.onSelectionChange && typeof i.value.onSelectionChange == "function" ? Z.onSelectionChange = i.value.onSelectionChange : V === "property-editor" && (Z.onBeforeOpenVariables = i.value.onBeforeOpenVariables), (V === "lookup" || V === "combo-list" || V === "date-picker") && (Z.title = a.value), () => g(J, ft({
5060
5060
  ref: u
5061
5061
  }, Z, {
5062
5062
  modelValue: r.value,
@@ -5064,7 +5064,7 @@ const Tl = {
5064
5064
  }), t.slots);
5065
5065
  });
5066
5066
  function N() {
5067
- return g(Sl, {
5067
+ return g(xl, {
5068
5068
  id: `${n.value}-validation-message`,
5069
5069
  errors: f.value
5070
5070
  }, null);
@@ -5087,7 +5087,7 @@ const Tl = {
5087
5087
  style: P.value
5088
5088
  }, [g("div", {
5089
5089
  class: k.value
5090
- }, [t.slots.label ? t.slots.label() : g(bl, {
5090
+ }, [t.slots.label ? t.slots.label() : g(Cl, {
5091
5091
  id: `${n.value}-lable`,
5092
5092
  showType: y.value,
5093
5093
  required: s.value,
@@ -5097,7 +5097,7 @@ const Tl = {
5097
5097
  onClickLabel: O
5098
5098
  }, null), g("div", {
5099
5099
  class: "farris-input-wrap"
5100
- }, [t.slots.content ? t.slots.content() : z.value(), N()]), !!e.enableTips && g(Ba, null, {
5100
+ }, [t.slots.content ? t.slots.content() : z.value(), N()]), !!e.enableTips && g(Oa, null, {
5101
5101
  default: () => [g("span", {
5102
5102
  class: "farris-label-tips ml-1"
5103
5103
  }, [g("i", {
@@ -5106,7 +5106,7 @@ const Tl = {
5106
5106
  contentTemplate: e.tipsContent
5107
5107
  })])])]);
5108
5108
  }
5109
- }), xl = {
5109
+ }), Fl = {
5110
5110
  id: { type: String, default: "" },
5111
5111
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
5112
5112
  editor: { type: Object, default: {} },
@@ -5122,7 +5122,7 @@ const Tl = {
5122
5122
  selectOnCreated: { type: Boolean, default: !1 }
5123
5123
  }, Sn = /* @__PURE__ */ $e({
5124
5124
  name: "FDynamicFormInput",
5125
- props: xl,
5125
+ props: Fl,
5126
5126
  emits: ["change", "update:modelValue", "mousedown", "mouseup"],
5127
5127
  setup(e, t) {
5128
5128
  const n = T(e.id), o = T(e.editor), i = T(e.modelValue), {
@@ -5167,7 +5167,7 @@ const Tl = {
5167
5167
  const j = s(o.value.type);
5168
5168
  w[j] = f;
5169
5169
  const F = c(o.value.type);
5170
- return w[F] = m, w.id = n.value, () => g(v, St(w, {
5170
+ return w[F] = m, w.id = n.value, () => g(v, ft(w, {
5171
5171
  modelValue: i.value,
5172
5172
  "onUpdate:modelValue": (I) => i.value = I
5173
5173
  }), null);
@@ -5180,7 +5180,7 @@ const Tl = {
5180
5180
  Bt.install = (e) => {
5181
5181
  e.component(wn.name, wn).component(Sn.name, Sn).component(Bt.name, Bt).component(Tn.name, Tn);
5182
5182
  };
5183
- const { globalStorageKey: od } = In(), Fl = {
5183
+ const { globalStorageKey: id } = In(), Il = {
5184
5184
  /**
5185
5185
  * 允许点击蒙层关闭对话框
5186
5186
  * @default false
@@ -5398,7 +5398,7 @@ class rt {
5398
5398
  return this.width = t.width, this.height = t.height, this;
5399
5399
  }
5400
5400
  }
5401
- function Il(e, t) {
5401
+ function Pl(e, t) {
5402
5402
  const n = T(), o = T(), i = T(), a = T(), r = T(), l = T(), s = T(), c = T(), d = T(), u = T(), f = T(), m = T(e.resizeable), h = T(), y = T(e.draggable), M = T(!1);
5403
5403
  function x() {
5404
5404
  const q = o.value || document.body, G = window.getComputedStyle(q);
@@ -5489,7 +5489,7 @@ function Il(e, t) {
5489
5489
  q instanceof MouseEvent && q.button === 2 || y.value && (document.body.click(), q.stopPropagation(), q.preventDefault(), i.value = Be.fromEvent(q), d.value = q.target, v(q), N());
5490
5490
  }
5491
5491
  function X(q) {
5492
- return n.value = q, m.value && g(Tt, null, [g("div", {
5492
+ return n.value = q, m.value && g(St, null, [g("div", {
5493
5493
  class: "fv-resizable-handle fv-resizable-n",
5494
5494
  type: "n",
5495
5495
  onMousedown: (G) => O(G)
@@ -5585,7 +5585,7 @@ function Il(e, t) {
5585
5585
  moveToCenter: Z
5586
5586
  };
5587
5587
  }
5588
- function Pl(e, t, n) {
5588
+ function El(e, t, n) {
5589
5589
  const o = T(), i = T(e.draggable), a = T(e.lockAxis), r = T(), l = T(), s = T(!1), c = T(new Be(0, 0)), d = T(new Be(0, 0)), u = T(new Be(0, 0)), f = T(new Be(0, 0));
5590
5590
  Ce(() => n.value, (F) => {
5591
5591
  r.value.style.cursor = F ? "move" : "default";
@@ -5681,7 +5681,7 @@ function Yn(e, t) {
5681
5681
  };
5682
5682
  }
5683
5683
  }
5684
- function El(e, t) {
5684
+ function Ml(e, t) {
5685
5685
  const n = T(e.enableEsc);
5686
5686
  let o = null;
5687
5687
  return n.value ? (o = Yn("Escape", (i) => {
@@ -5690,7 +5690,7 @@ function El(e, t) {
5690
5690
  remove: o
5691
5691
  }) : null;
5692
5692
  }
5693
- function Ml(e, t) {
5693
+ function kl(e, t) {
5694
5694
  const n = T(e.enableEnter);
5695
5695
  let o = null;
5696
5696
  return n.value ? (o = Yn("Enter", (i) => {
@@ -5699,9 +5699,9 @@ function Ml(e, t) {
5699
5699
  remove: o
5700
5700
  }) : null;
5701
5701
  }
5702
- const wt = /* @__PURE__ */ $e({
5702
+ const Tt = /* @__PURE__ */ $e({
5703
5703
  name: "FModal",
5704
- props: Fl,
5704
+ props: Il,
5705
5705
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
5706
5706
  setup(e, t) {
5707
5707
  const n = T(e.width || 300), o = T(e.height || 200), i = T(e.modelValue), a = T(""), r = T(e.class), l = T(e.fitContent), s = T(e.showHeader), c = T(""), d = T(e.showCloseButton), u = T(e.showMaxButton), f = T(!1), m = T(e.dialogType), h = T(e.src), y = T(""), M = T(e.showButtons), x = T(e.title), v = T(e.containment || null), w = T();
@@ -5745,9 +5745,9 @@ const wt = /* @__PURE__ */ $e({
5745
5745
  allowDrag: G,
5746
5746
  unWindowResizeHandle: ee,
5747
5747
  moveToCenter: Y
5748
- } = Il(e), {
5748
+ } = Pl(e), {
5749
5749
  registerDraggle: oe
5750
- } = Pl(e, t, G);
5750
+ } = El(e, t, G);
5751
5751
  function Ie() {
5752
5752
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
5753
5753
  }
@@ -5801,10 +5801,10 @@ const wt = /* @__PURE__ */ $e({
5801
5801
  height: "100vh",
5802
5802
  margin: "0"
5803
5803
  };
5804
- const Se = Math.min(n.value, B), xe = e.position === "right" ? "100%" : l.value ? "auto" : `${Math.min(o.value, ne - 10)}px`, Ae = `${(window.innerHeight - (xe === "100%" || xe === "auto" ? 0 : parseInt(xe))) / 2}px`, ft = e.position === "right" ? `${window.innerWidth - Se}px` : `${(window.innerWidth - Se) / 2}px`, it = {
5804
+ const Se = Math.min(n.value, B), xe = e.position === "right" ? "100%" : l.value ? "auto" : `${Math.min(o.value, ne - 10)}px`, Ae = `${(window.innerHeight - (xe === "100%" || xe === "auto" ? 0 : parseInt(xe))) / 2}px`, mt = e.position === "right" ? `${window.innerWidth - Se}px` : `${(window.innerWidth - Se) / 2}px`, it = {
5805
5805
  position: "absolute",
5806
5806
  top: Ae,
5807
- left: ft,
5807
+ left: mt,
5808
5808
  width: Jt() ? "auto" : `${Se}px`,
5809
5809
  height: xe
5810
5810
  };
@@ -5861,10 +5861,10 @@ const wt = /* @__PURE__ */ $e({
5861
5861
  B.width && (n.value = B.width), B.height && (o.value = B.height), B.buttons && (I.value = B.buttons), B.title && (x.value = B.title);
5862
5862
  }
5863
5863
  let Pe = null, Ee = null;
5864
- Wo(() => {
5864
+ Go(() => {
5865
5865
  k.value = Ie();
5866
5866
  }), tt(() => {
5867
- X.value && !v.value && (v.value = X.value.parentElement, le.value = v.value, oe(O.value, X.value, le.value)), we.value && document.body.classList.add("modal-open"), Pe = El(e, t), Ee = Ml(e, t);
5867
+ X.value && !v.value && (v.value = X.value.parentElement, le.value = v.value, oe(O.value, X.value, le.value)), we.value && document.body.classList.add("modal-open"), Pe = Ml(e, t), Ee = kl(e, t);
5868
5868
  }), at(() => {
5869
5869
  ee && ee(), Pe && Pe.remove(), Ee && Ee.remove();
5870
5870
  }), t.expose({
@@ -5922,8 +5922,8 @@ const wt = /* @__PURE__ */ $e({
5922
5922
  onWheel: st
5923
5923
  }, [I.value.map((B) => {
5924
5924
  var xe;
5925
- const ne = T(B.disabled), Se = B.class || ((xe = B.appearance) == null ? void 0 : xe.class);
5926
- return g("button", {
5925
+ const ne = T(B.disabled), Se = B.class || ((xe = B.appearance) == null ? void 0 : xe.class) || "btn btn-secondary";
5926
+ return g("button", ft(_o(B), {
5927
5927
  name: B.name,
5928
5928
  style: B.styles,
5929
5929
  type: "button",
@@ -5932,7 +5932,7 @@ const wt = /* @__PURE__ */ $e({
5932
5932
  onClick: (Ae) => {
5933
5933
  pe(B, Ae);
5934
5934
  }
5935
- }, [!!B.iconClass && g("i", {
5935
+ }), [!!B.iconClass && g("i", {
5936
5936
  class: B.iconClass
5937
5937
  }, null), B.text]);
5938
5938
  })])]);
@@ -5941,7 +5941,7 @@ const wt = /* @__PURE__ */ $e({
5941
5941
  u.value && Te();
5942
5942
  }
5943
5943
  function Je() {
5944
- return g(Tt, null, [V.value && g("div", {
5944
+ return g(St, null, [V.value && g("div", {
5945
5945
  class: "modal-header",
5946
5946
  style: "position: absolute;background: transparent;height: 45px;width: 100%;",
5947
5947
  onDblclick: (B) => We()
@@ -5993,9 +5993,9 @@ const wt = /* @__PURE__ */ $e({
5993
5993
  function Me(B) {
5994
5994
  return B || "body";
5995
5995
  }
5996
- return Go(() => {
5996
+ return Yo(() => {
5997
5997
  we.value && (K.value = vn() || 1050);
5998
- }), () => g(Yo, {
5998
+ }), () => g(Xo, {
5999
5999
  to: Me(e.host)
6000
6000
  }, {
6001
6001
  default: () => [we.value && g(kn, {
@@ -6018,7 +6018,7 @@ function Xn(e) {
6018
6018
  if (e.render && typeof e.render == "function")
6019
6019
  return e.render;
6020
6020
  }
6021
- function kl(e) {
6021
+ function Rl(e) {
6022
6022
  const t = document.createElement("div");
6023
6023
  t.style.display = "contents";
6024
6024
  const n = e.type || "modal", o = Mn({
@@ -6061,7 +6061,7 @@ function kl(e) {
6061
6061
  }), w = e.resizeHandle || ((P) => {
6062
6062
  }), k = e.stopMoveHandle || ((P) => {
6063
6063
  });
6064
- return () => g(wt, {
6064
+ return () => g(Tt, {
6065
6065
  ref: r,
6066
6066
  class: l.value,
6067
6067
  modelValue: s.value,
@@ -6088,7 +6088,7 @@ function kl(e) {
6088
6088
  });
6089
6089
  return document.body.appendChild(t), o.use(De.i18n), o.mount(t), o;
6090
6090
  }
6091
- class Rl {
6091
+ class Bl {
6092
6092
  // private activeModalInstance = computed(() => {
6093
6093
  // return this.modalRefs[this.activeModalIndex.value];
6094
6094
  // });
@@ -6122,7 +6122,7 @@ class Rl {
6122
6122
  showButtons: !0,
6123
6123
  showHeader: !0
6124
6124
  }, t);
6125
- return kl(n);
6125
+ return Rl(n);
6126
6126
  }
6127
6127
  close(t) {
6128
6128
  var n, o;
@@ -6156,7 +6156,7 @@ class Rl {
6156
6156
  }, f = T();
6157
6157
  let m;
6158
6158
  if (o === "drawer")
6159
- m = () => g(Ln, St({
6159
+ m = () => g(Ln, ft({
6160
6160
  ref: f,
6161
6161
  modelValue: a.value,
6162
6162
  "onUpdate:modelValue": (x) => a.value = x,
@@ -6178,7 +6178,7 @@ class Rl {
6178
6178
  width: j,
6179
6179
  height: F
6180
6180
  } = i.value, I = this.adaptToWindow(Number(j) || 500, Number(F) || 320);
6181
- Object.assign(i.value, I), m = () => g(wt, St({
6181
+ Object.assign(i.value, I), m = () => g(Tt, ft({
6182
6182
  ref: f,
6183
6183
  modelValue: a.value,
6184
6184
  "onUpdate:modelValue": (z) => a.value = z
@@ -6196,7 +6196,7 @@ class Rl {
6196
6196
  });
6197
6197
  }
6198
6198
  c = ((x) => {
6199
- const v = Xo(m, x);
6199
+ const v = Qo(m, x);
6200
6200
  return v.appContext = this.appContext, Gt(v, n), v;
6201
6201
  })({
6202
6202
  ...i.value
@@ -6207,7 +6207,7 @@ class Rl {
6207
6207
  i.value = {
6208
6208
  ...i.value,
6209
6209
  ...x
6210
- }, c && Gt(Qo(c, {
6210
+ }, c && Gt(Jo(c, {
6211
6211
  ...i
6212
6212
  }), n);
6213
6213
  };
@@ -6228,14 +6228,14 @@ class Rl {
6228
6228
  };
6229
6229
  }
6230
6230
  }
6231
- const Bl = Symbol("FModalService");
6232
- wt.install = (e) => {
6233
- e.component(wt.name, wt);
6234
- const t = new Rl(e);
6235
- e.provide(Bl, t), e.provide("FModalService", t);
6231
+ const Ol = Symbol("FModalService");
6232
+ Tt.install = (e) => {
6233
+ e.component(Tt.name, Tt);
6234
+ const t = new Bl(e);
6235
+ e.provide(Ol, t), e.provide("FModalService", t);
6236
6236
  };
6237
6237
  T(0);
6238
- class Ol extends Nn {
6238
+ class Vl extends Nn {
6239
6239
  constructor(t, n) {
6240
6240
  super(t, n);
6241
6241
  }
@@ -6360,7 +6360,7 @@ class Ol extends Nn {
6360
6360
  };
6361
6361
  }
6362
6362
  }
6363
- class Vl extends Nn {
6363
+ class Nl extends Nn {
6364
6364
  constructor(t, n) {
6365
6365
  super(t, n);
6366
6366
  }
@@ -6487,7 +6487,7 @@ class Vl extends Nn {
6487
6487
  };
6488
6488
  }
6489
6489
  }
6490
- function Nl(e, t) {
6490
+ function Ll(e, t) {
6491
6491
  const n = e.schema, o = new On(), { canMove: i, canAccept: a, canDelete: r } = o.getTemplateRule(e, t);
6492
6492
  function l(y) {
6493
6493
  return y.componentType === "list-view" ? !0 : a;
@@ -6507,8 +6507,8 @@ function Nl(e, t) {
6507
6507
  M || (M = e.designerItemElementRef.value.querySelector(".farris-nav-tabs .f-state-active"));
6508
6508
  const x = (M == null ? void 0 : M.id) || (M == null ? void 0 : M.getAttribute("pageid")) || "";
6509
6509
  if (x === `${n.id}-design-item`)
6510
- return new Vl(y, t).getPropertyConfig(n);
6511
- const v = new Ol(y, t), w = (k = n.contents) == null ? void 0 : k.find((P) => x === `${P.id}-design-item`);
6510
+ return new Nl(y, t).getPropertyConfig(n);
6511
+ const v = new Vl(y, t), w = (k = n.contents) == null ? void 0 : k.find((P) => x === `${P.id}-design-item`);
6512
6512
  return v.getPropertyConfig(w || n);
6513
6513
  }
6514
6514
  function f() {
@@ -6548,7 +6548,7 @@ function Nl(e, t) {
6548
6548
  setComponentBasicInfoMap: h
6549
6549
  };
6550
6550
  }
6551
- function Ll(e, t, n, o, i, a) {
6551
+ function Dl(e, t, n, o, i, a) {
6552
6552
  const r = T([]), l = T(e.activeId || ""), s = T(!0), c = T(), d = T([]), u = T(!0), f = T(0), m = D(() => {
6553
6553
  const p = r.value.find((S) => S.props.id === l.value);
6554
6554
  return (p == null ? void 0 : p.props.toolbarPosition) === "inHead";
@@ -6696,7 +6696,7 @@ function Ll(e, t, n, o, i, a) {
6696
6696
  function we(p, C) {
6697
6697
  if (p || (p = h.value.querySelector(".farris-tabs-header").querySelector(".dgComponentSelected")), C || (C = h.value.querySelector(".farris-nav-tabs")), p && C) {
6698
6698
  const S = p.querySelector(".component-btn-group");
6699
- Ie(p, C) ? Ko(p) : S && (S.style.display = "none");
6699
+ Ie(p, C) ? ei(p) : S && (S.style.display = "none");
6700
6700
  }
6701
6701
  }
6702
6702
  function ae() {
@@ -6708,7 +6708,7 @@ function Ll(e, t, n, o, i, a) {
6708
6708
  function ke(p) {
6709
6709
  if (p && p.parentElement) {
6710
6710
  let C = p.getBoundingClientRect(), S = p.parentElement.getBoundingClientRect();
6711
- (C.left < S.left || C.right > S.right) && (n.value.scrollLeft = 0, C = p.getBoundingClientRect(), S = p.parentElement.getBoundingClientRect(), n.value.scrollLeft = C.left - S.left), ei(p);
6711
+ (C.left < S.left || C.right > S.right) && (n.value.scrollLeft = 0, C = p.getBoundingClientRect(), S = p.parentElement.getBoundingClientRect(), n.value.scrollLeft = C.left - S.left), ti(p);
6712
6712
  }
6713
6713
  }
6714
6714
  function Ve(p, C, S) {
@@ -6773,7 +6773,7 @@ function Ll(e, t, n, o, i, a) {
6773
6773
  updateComponentBasicInfoMap: ve
6774
6774
  };
6775
6775
  }
6776
- function Dl(e, t, n, o, i) {
6776
+ function jl(e, t, n, o, i) {
6777
6777
  var f;
6778
6778
  const {
6779
6779
  toolbarItems: a,
@@ -6794,7 +6794,7 @@ function Dl(e, t, n, o, i) {
6794
6794
  }, [g("div", {
6795
6795
  class: "farris-tabs-inline-flex w-100",
6796
6796
  style: "flex:1"
6797
- }, [g(ti, {
6797
+ }, [g(ni, {
6798
6798
  modelValue: r.value,
6799
6799
  "onUpdate:modelValue": (m) => r.value = m,
6800
6800
  class: "w-100 position-relative",
@@ -6815,7 +6815,7 @@ function Dl(e, t, n, o, i) {
6815
6815
  }, null)]
6816
6816
  })])]);
6817
6817
  }
6818
- function jl(e, t) {
6818
+ function $l(e, t) {
6819
6819
  let n;
6820
6820
  function o(l) {
6821
6821
  var d;
@@ -6878,7 +6878,7 @@ const Lt = /* @__PURE__ */ $e({
6878
6878
  props: An,
6879
6879
  emits: ["tabChange", "tabRemove"],
6880
6880
  setup(e, t) {
6881
- const n = T(), o = Xe("designer-host-service"), i = Xe("design-item-context"), a = Nl(i, o), r = rn(n, i, a), l = T(e.tabType), s = Bn(), {
6881
+ const n = T(), o = Xe("designer-host-service"), i = Xe("design-item-context"), a = Ll(i, o), r = rn(n, i, a), l = T(e.tabType), s = Bn(), {
6882
6882
  designerContext: c
6883
6883
  } = o, d = D(() => c && c.terminalRef.value === "Mobile"), u = {
6884
6884
  updateToolbarItems: function() {
@@ -6886,7 +6886,7 @@ const Lt = /* @__PURE__ */ $e({
6886
6886
  // 与工具栏交互数据
6887
6887
  changeSelectedId: (p) => {
6888
6888
  }
6889
- }, f = Ll(e, t, s, i, u, o), {
6889
+ }, f = Dl(e, t, s, i, u, o), {
6890
6890
  activeId: m,
6891
6891
  changeTitleStyle: h,
6892
6892
  tabPages: y,
@@ -6902,11 +6902,11 @@ const Lt = /* @__PURE__ */ $e({
6902
6902
  updateComponentBasicInfoMap: z
6903
6903
  } = f;
6904
6904
  w(n);
6905
- const N = us(e, n, f), O = ls(e, s, N, f), {
6905
+ const N = ds(e, n, f), O = cs(e, s, N, f), {
6906
6906
  updateNavigationLayout: X
6907
- } = O, V = cs(e, f), {
6907
+ } = O, V = us(e, f), {
6908
6908
  hideDropDown: J
6909
- } = V, Z = as(e, s, O, N, f, r), ie = Z, le = ss(e, s, O, N, f), q = /* @__PURE__ */ new Map([["default", Z], ["one-page", ie], ["pills", le]]);
6909
+ } = V, Z = ss(e, s, O, N, f, r), ie = Z, le = ls(e, s, O, N, f), q = /* @__PURE__ */ new Map([["default", Z], ["one-page", ie], ["pills", le]]);
6910
6910
  D(() => {
6911
6911
  const p = y.value.find((C) => C.props.id === m.value);
6912
6912
  return p == null ? void 0 : p.slots;
@@ -6952,7 +6952,7 @@ const Lt = /* @__PURE__ */ $e({
6952
6952
  })), {
6953
6953
  initHeaderDragula: ae,
6954
6954
  dragulaInstance: ke
6955
- } = jl(i, y);
6955
+ } = $l(i, y);
6956
6956
  tt(() => {
6957
6957
  y.value.length && k(e.activeId || y.value[0].props.id), Re(() => {
6958
6958
  X();
@@ -6968,7 +6968,7 @@ const Lt = /* @__PURE__ */ $e({
6968
6968
  ke && ke.destroy && ke.destroy();
6969
6969
  });
6970
6970
  function Ve() {
6971
- return !!v.value.length && Dl(f, r, a, i, e.componentId);
6971
+ return !!v.value.length && jl(f, r, a, i, e.componentId);
6972
6972
  }
6973
6973
  const ve = q.get(e.tabType) || q.get("default");
6974
6974
  function K() {
@@ -7001,15 +7001,15 @@ const Lt = /* @__PURE__ */ $e({
7001
7001
  }, [K(), b()]);
7002
7002
  }
7003
7003
  });
7004
- function $l(e, t, n) {
7004
+ function Al(e, t, n) {
7005
7005
  return t && t.contents && t.contents.length && (t.contents.forEach((o) => {
7006
7006
  o.title && (o.text = o.title);
7007
7007
  }), t.buttons = t.contents, delete t.contents), t && Object.prototype.hasOwnProperty.call(t, "visible") ? { toolbar: t, toolbarVisible: t.visible } : { toolbar: t };
7008
7008
  }
7009
7009
  const Qn = /* @__PURE__ */ new Map([
7010
7010
  ["appearance", jt],
7011
- ["toolbar", $l]
7012
- ]), Al = "https://json-schema.org/draft/2020-12/schema", Hl = "https://farris-design.gitee.io/tab-page.schema.json", _l = "tab-page", zl = "A Farris Container Component", Ul = "object", ql = {
7011
+ ["toolbar", Al]
7012
+ ]), Hl = "https://json-schema.org/draft/2020-12/schema", _l = "https://farris-design.gitee.io/tab-page.schema.json", zl = "tab-page", Ul = "A Farris Container Component", ql = "object", Wl = {
7013
7013
  id: {
7014
7014
  description: "The unique identifier for a tab-page Item",
7015
7015
  type: "string"
@@ -7082,18 +7082,18 @@ const Qn = /* @__PURE__ */ new Map([
7082
7082
  type: "function",
7083
7083
  default: null
7084
7084
  }
7085
- }, Wl = [
7085
+ }, Gl = [
7086
7086
  "id",
7087
7087
  "type",
7088
7088
  "contents"
7089
7089
  ], Jn = {
7090
- $schema: Al,
7091
- $id: Hl,
7092
- title: _l,
7093
- description: zl,
7094
- type: Ul,
7095
- properties: ql,
7096
- required: Wl
7090
+ $schema: Hl,
7091
+ $id: _l,
7092
+ title: zl,
7093
+ description: Ul,
7094
+ type: ql,
7095
+ properties: Wl,
7096
+ required: Gl
7097
7097
  }, Zn = Qe(En, Jn, Qn), Kn = Object.assign(
7098
7098
  {},
7099
7099
  En,
@@ -7102,10 +7102,10 @@ const Qn = /* @__PURE__ */ new Map([
7102
7102
  }
7103
7103
  );
7104
7104
  Qe(Kn, Jn, Qn);
7105
- function Gl(e, t) {
7105
+ function Yl(e, t) {
7106
7106
  const n = new On(), { canAccept: o } = n.getTemplateRule(e, t);
7107
7107
  function i(s) {
7108
- if (!ni().basalDragulaRuleForContainer(s, t))
7108
+ if (!oi().basalDragulaRuleForContainer(s, t))
7109
7109
  return !1;
7110
7110
  const { schema: d } = e;
7111
7111
  return d.contents && d.contents.length > 0 ? !1 : o;
@@ -7140,15 +7140,15 @@ function Gl(e, t) {
7140
7140
  }
7141
7141
  return { canAccepts: i, getDraggableDesignItemElement: a, onRemoveComponent: r, setComponentBasicInfoMap: l };
7142
7142
  }
7143
- function Yl(e) {
7144
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Jo(e);
7143
+ function Xl(e) {
7144
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Zo(e);
7145
7145
  }
7146
- const Xl = /* @__PURE__ */ $e({
7146
+ const Ql = /* @__PURE__ */ $e({
7147
7147
  name: "FTabPageDesign",
7148
7148
  props: Kn,
7149
7149
  emits: [],
7150
7150
  setup(e, t) {
7151
- const n = T(), o = Xe("design-item-context"), i = Xe("designer-host-service"), a = Gl(o, i), r = rn(n, o, a);
7151
+ const n = T(), o = Xe("design-item-context"), i = Xe("designer-host-service"), a = Yl(o, i), r = rn(n, o, a);
7152
7152
  r.value.canNested = !1, r.value.canDelete = !1, r.value.canMove = !1, t.expose(r.value);
7153
7153
  const l = Xe("tabs"), s = T(!0), c = {
7154
7154
  slots: t.slots,
@@ -7178,7 +7178,7 @@ const Xl = /* @__PURE__ */ $e({
7178
7178
  return g(Vn, {
7179
7179
  "main-title": e.title,
7180
7180
  class: "farris-tab-page"
7181
- }, Yl(v) ? v : {
7181
+ }, Xl(v) ? v : {
7182
7182
  default: () => [v]
7183
7183
  });
7184
7184
  }
@@ -7201,7 +7201,7 @@ const Xl = /* @__PURE__ */ $e({
7201
7201
  const x = (/* @__PURE__ */ new Map([["default", y], ["one-page", m]])).get(d.value) || y;
7202
7202
  return () => s.value ? x() : null;
7203
7203
  }
7204
- }), Ql = "https://json-schema.org/draft/2020-12/schema", Jl = "https://farris-design.gitee.io/tab-toolbar-item.schema.json", Zl = "tab-toolbar-item", Kl = "A Farris Toolbar Item Component", ec = "object", tc = {
7204
+ }), Jl = "https://json-schema.org/draft/2020-12/schema", Zl = "https://farris-design.gitee.io/tab-toolbar-item.schema.json", Kl = "tab-toolbar-item", ec = "A Farris Toolbar Item Component", tc = "object", nc = {
7205
7205
  id: {
7206
7206
  description: "The unique identifier for a Response Toolbar",
7207
7207
  type: "string"
@@ -7266,29 +7266,29 @@ const Xl = /* @__PURE__ */ $e({
7266
7266
  type: "boolean",
7267
7267
  default: !1
7268
7268
  }
7269
- }, nc = [
7269
+ }, oc = [
7270
7270
  "id",
7271
7271
  "type",
7272
7272
  "text"
7273
- ], oc = {
7273
+ ], ic = {
7274
7274
  onClick: "点击事件"
7275
7275
  }, eo = {
7276
- $schema: Ql,
7277
- $id: Jl,
7278
- title: Zl,
7279
- description: Kl,
7280
- type: ec,
7281
- properties: tc,
7282
- required: nc,
7283
- events: oc
7284
- }, to = Object.assign({}, qo), ic = Qe(to, eo, xt, jn);
7285
- li(
7276
+ $schema: Jl,
7277
+ $id: Zl,
7278
+ title: Kl,
7279
+ description: ec,
7280
+ type: tc,
7281
+ properties: nc,
7282
+ required: oc,
7283
+ events: ic
7284
+ }, to = Object.assign({}, Wo), rc = Qe(to, eo, xt, jn);
7285
+ ci(
7286
7286
  to,
7287
7287
  eo,
7288
7288
  xt,
7289
7289
  jn
7290
7290
  );
7291
- function rc() {
7291
+ function ac() {
7292
7292
  function e(t, n, o) {
7293
7293
  const i = {};
7294
7294
  return i.beforeTabSelect = (a) => n.call("beforeTabSelect", t, [a, t], o), i;
@@ -7298,13 +7298,13 @@ function rc() {
7298
7298
  };
7299
7299
  }
7300
7300
  Lt.register = (e, t, n, o) => {
7301
- e.tabs = _o, e["tab-page"] = zo, t.tabs = Za, t["tab-page"] = Zn, o.tabs = { eventHandlerResolver: es, callbackResolver: rc() };
7301
+ e.tabs = zo, e["tab-page"] = Uo, t.tabs = Ka, t["tab-page"] = Zn, o.tabs = { eventHandlerResolver: ts, callbackResolver: ac() };
7302
7302
  };
7303
7303
  Lt.registerDesigner = (e, t, n) => {
7304
- e.tabs = Lt, e["tab-page"] = Xl, t.tabs = Ka, t["tab-page"] = Zn, t["tab-toolbar-item"] = ic, e["tab-toolbar"] = nn, t["tab-toolbar"] = ts;
7304
+ e.tabs = Lt, e["tab-page"] = Ql, t.tabs = es, t["tab-page"] = Zn, t["tab-toolbar-item"] = rc, e["tab-toolbar"] = nn, t["tab-toolbar"] = ns;
7305
7305
  };
7306
- const id = xn(Lt);
7306
+ const rd = xn(Lt);
7307
7307
  export {
7308
7308
  Lt as FTabsDesign,
7309
- id as default
7309
+ rd as default
7310
7310
  };