@farris/ui-vue 1.8.0-alpha.0 → 1.8.0-beta.1

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 (193) hide show
  1. package/components/avatar/index.esm.js +138 -1526
  2. package/components/avatar/index.umd.cjs +1 -6
  3. package/components/button/index.css +1 -1
  4. package/components/button/index.esm.js +15951 -15410
  5. package/components/button/index.umd.cjs +27 -27
  6. package/components/calendar/index.esm.js +269 -255
  7. package/components/calendar/index.umd.cjs +3 -3
  8. package/components/collection-property-editor/index.esm.js +243 -229
  9. package/components/collection-property-editor/index.umd.cjs +2 -2
  10. package/components/combo-list/index.esm.js +32 -32
  11. package/components/combo-list/index.umd.cjs +1 -1
  12. package/components/comment/index.esm.js +473 -456
  13. package/components/comment/index.umd.cjs +6 -6
  14. package/components/component/index.css +1 -1
  15. package/components/component/index.esm.js +2503 -2239
  16. package/components/component/index.umd.cjs +2 -2
  17. package/components/condition/index.esm.js +1064 -954
  18. package/components/condition/index.umd.cjs +2 -2
  19. package/components/data-grid/index.esm.js +1 -1
  20. package/components/data-grid/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.css +1 -1
  22. package/components/designer-canvas/index.esm.js +3894 -3058
  23. package/components/designer-canvas/index.umd.cjs +1 -1
  24. package/components/drawer/index.esm.js +91 -77
  25. package/components/drawer/index.umd.cjs +2 -2
  26. package/components/dynamic-form/index.esm.js +220 -215
  27. package/components/dynamic-form/index.umd.cjs +1 -1
  28. package/components/dynamic-resolver/index.esm.js +145 -131
  29. package/components/dynamic-resolver/index.umd.cjs +2 -2
  30. package/components/dynamic-view/index.esm.js +336 -329
  31. package/components/dynamic-view/index.umd.cjs +1 -1
  32. package/components/events-editor/index.esm.js +1611 -1536
  33. package/components/events-editor/index.umd.cjs +3 -3
  34. package/components/expression-editor/index.esm.js +219 -219
  35. package/components/expression-editor/index.umd.cjs +2 -2
  36. package/components/external-container/index.esm.js +179 -178
  37. package/components/external-container/index.umd.cjs +1 -1
  38. package/components/fieldset/index.esm.js +285 -221
  39. package/components/fieldset/index.umd.cjs +1 -1
  40. package/components/filter-bar/index.css +1 -0
  41. package/components/filter-bar/index.esm.js +1512 -1290
  42. package/components/filter-bar/index.umd.cjs +7 -7
  43. package/components/filter-condition-editor/index.esm.js +851 -831
  44. package/components/filter-condition-editor/index.umd.cjs +3 -3
  45. package/components/flow-canvas/index.esm.js +520 -501
  46. package/components/flow-canvas/index.umd.cjs +8 -8
  47. package/components/image/index.esm.js +101 -79
  48. package/components/image/index.umd.cjs +3 -3
  49. package/components/language-textbox/index.esm.js +330 -251
  50. package/components/language-textbox/index.umd.cjs +2 -2
  51. package/components/list-nav/index.esm.js +399 -313
  52. package/components/list-nav/index.umd.cjs +1 -1
  53. package/components/locale/index.esm.js +3 -0
  54. package/components/locale/index.umd.cjs +1 -1
  55. package/components/lookup/index.esm.js +997 -976
  56. package/components/lookup/index.umd.cjs +2 -2
  57. package/components/mapping-editor/index.esm.js +725 -705
  58. package/components/mapping-editor/index.umd.cjs +1 -1
  59. package/components/message-box/index.esm.js +542 -522
  60. package/components/message-box/index.umd.cjs +1 -1
  61. package/components/nav/index.esm.js +95 -308
  62. package/components/nav/index.umd.cjs +1 -1
  63. package/components/number-range/index.esm.js +115 -107
  64. package/components/number-range/index.umd.cjs +2 -2
  65. package/components/order/index.esm.js +56 -54
  66. package/components/order/index.umd.cjs +1 -1
  67. package/components/page-footer/index.esm.js +135 -123
  68. package/components/page-footer/index.umd.cjs +1 -1
  69. package/components/page-header/index.esm.js +266 -222
  70. package/components/page-header/index.umd.cjs +1 -1
  71. package/components/property-panel/index.esm.js +402 -375
  72. package/components/property-panel/index.umd.cjs +4 -4
  73. package/components/query-solution/index.esm.js +3171 -3061
  74. package/components/query-solution/index.umd.cjs +7 -7
  75. package/components/response-toolbar/index.esm.js +1 -1
  76. package/components/response-toolbar/index.umd.cjs +1 -1
  77. package/components/schema-selector/index.esm.js +1620 -1608
  78. package/components/schema-selector/index.umd.cjs +5 -5
  79. package/components/scroll-navbar/index.esm.js +150 -136
  80. package/components/scroll-navbar/index.umd.cjs +2 -2
  81. package/components/section/index.esm.js +323 -311
  82. package/components/section/index.umd.cjs +2 -2
  83. package/components/sort-condition-editor/index.esm.js +850 -830
  84. package/components/sort-condition-editor/index.umd.cjs +3 -3
  85. package/components/step/index.esm.js +991 -224
  86. package/components/step/index.umd.cjs +1 -1
  87. package/components/tabs/index.esm.js +356 -334
  88. package/components/tabs/index.umd.cjs +1 -1
  89. package/components/wizard/index.esm.js +159 -162
  90. package/components/wizard/index.umd.cjs +1 -1
  91. package/designer/avatar/index.esm.js +1721 -0
  92. package/designer/avatar/index.umd.cjs +6 -0
  93. package/designer/button-edit/index.esm.js +2 -1
  94. package/designer/button-edit/index.umd.cjs +1 -1
  95. package/designer/data-grid/index.esm.js +693 -659
  96. package/designer/data-grid/index.umd.cjs +6 -6
  97. package/designer/data-view/index.esm.js +90 -78
  98. package/designer/data-view/index.umd.cjs +2 -2
  99. package/designer/date-picker/index.esm.js +203 -203
  100. package/designer/date-picker/index.umd.cjs +1 -1
  101. package/designer/drawer/index.esm.js +181 -167
  102. package/designer/drawer/index.umd.cjs +2 -2
  103. package/designer/dynamic-form/index.esm.js +228 -206
  104. package/designer/dynamic-form/index.umd.cjs +2 -2
  105. package/designer/farris-designer.all.esm.js +10014 -9692
  106. package/designer/farris-designer.all.umd.cjs +18 -18
  107. package/designer/index.css +1 -1
  108. package/designer/input-group/index.esm.js +15 -15
  109. package/designer/input-group/index.umd.cjs +1 -1
  110. package/designer/nav/index.esm.js +1719 -0
  111. package/designer/nav/index.umd.cjs +6 -0
  112. package/designer/number-spinner/index.esm.js +8 -7
  113. package/designer/number-spinner/index.umd.cjs +1 -1
  114. package/designer/radio-group/index.esm.js +133 -125
  115. package/designer/radio-group/index.umd.cjs +2 -2
  116. package/designer/response-toolbar/index.esm.js +864 -863
  117. package/designer/response-toolbar/index.umd.cjs +1 -1
  118. package/designer/section/index.esm.js +245 -183
  119. package/designer/section/index.umd.cjs +1 -1
  120. package/designer/tabs/index.css +1 -1
  121. package/designer/tabs/index.esm.js +3667 -2810
  122. package/designer/tabs/index.umd.cjs +2 -2
  123. package/designer/time-picker/index.esm.js +26 -17
  124. package/designer/time-picker/index.umd.cjs +2 -2
  125. package/designer/tree-grid/index.esm.js +69 -37
  126. package/designer/tree-grid/index.umd.cjs +1 -1
  127. package/designer/wizard/index.esm.js +110 -110
  128. package/designer/wizard/index.umd.cjs +3 -3
  129. package/farris.all.esm.js +39993 -39089
  130. package/farris.all.umd.cjs +36 -36
  131. package/index.css +1 -1
  132. package/locales/filter-bar/ui/en.json +1 -0
  133. package/locales/filter-bar/ui/zh-CHS.json +1 -0
  134. package/locales/filter-bar/ui/zh-CHT.json +1 -0
  135. package/locales/ui/en.json +1 -0
  136. package/locales/ui/zh-CHS.json +1 -0
  137. package/locales/ui/zh-CHT.json +1 -0
  138. package/package.json +1 -1
  139. package/types/avatar/designer.d.ts +28 -0
  140. package/types/avatar/index.d.ts +0 -15
  141. package/types/avatar/src/composition/types.d.ts +3 -0
  142. package/types/avatar/src/composition/use-file.d.ts +19 -0
  143. package/types/avatar/src/composition/use-image.d.ts +1 -1
  144. package/types/avatar/src/designer/avatar.design.props.d.ts +24 -0
  145. package/types/avatar/src/property-config/avatar.property-config.d.ts +11 -13
  146. package/types/avatar/src/schema/schema-mapper.d.ts +2 -0
  147. package/types/components.d.ts +3 -0
  148. package/types/condition/index.d.ts +18 -6
  149. package/types/condition/src/condition-fields.component.d.ts +9 -3
  150. package/types/condition/src/condition-fields.design.component.d.ts +9 -3
  151. package/types/condition/src/condition-list.component.d.ts +9 -3
  152. package/types/condition/src/condition.props.d.ts +11 -0
  153. package/types/data-view/designer/property-config/use-appearance.d.ts +17 -10
  154. package/types/data-view/designer/property-config/use-pagination.d.ts +0 -6
  155. package/types/designer-canvas/src/composition/dg-control.d.ts +13 -0
  156. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -0
  157. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +4 -0
  158. package/types/dynamic-resolver/src/converter/tree-auto-check.converter.d.ts +3 -0
  159. package/types/dynamic-view/src/components/maps.d.ts +130 -4
  160. package/types/filter-bar/src/composition/types.d.ts +2 -0
  161. package/types/filter-bar/src/filter-bar.props.d.ts +0 -1
  162. package/types/filter-bar/src/locale/locale.d.ts +2 -1
  163. package/types/filter-bar/src/property-config/filter-bar.property-config.d.ts +0 -1
  164. package/types/language-textbox/index.d.ts +65 -2
  165. package/types/language-textbox/src/designer/language-textbox.design.component.d.ts +36 -0
  166. package/types/language-textbox/src/language-textbox.component.d.ts +38 -1
  167. package/types/language-textbox/src/language-textbox.props.d.ts +20 -0
  168. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  169. package/types/lookup/src/composition/use-compat.d.ts +28 -0
  170. package/types/lookup/src/composition/use-state.d.ts +1 -0
  171. package/types/message-box/src/message-box.service.d.ts +2 -1
  172. package/types/nav/designer.d.ts +28 -0
  173. package/types/nav/index.d.ts +24 -20
  174. package/types/nav/src/designer/nav.design.props.d.ts +29 -0
  175. package/types/nav/src/designer/use-design-rules.d.ts +3 -0
  176. package/types/nav/src/property-config/nav.property-config.d.ts +9 -0
  177. package/types/nav/src/schema/schema-mapper.d.ts +4 -0
  178. package/types/page-footer/src/designer/use-designer-rules.d.ts +2 -2
  179. package/types/page-header/src/designer/use-designer-rules.d.ts +2 -2
  180. package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -0
  181. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
  182. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -1
  183. package/types/section/src/designer/section.design.props.d.ts +4 -0
  184. package/types/section/src/property-config/section.property-config.d.ts +39 -0
  185. package/types/section/src/schema/toolbar-resolver.d.ts +0 -1
  186. package/types/step/src/designer/use-designer-rules.d.ts +3 -0
  187. package/types/step/src/designer/use-step-creator.d.ts +6 -0
  188. package/types/step/src/property-config/step.property-config.d.ts +15 -0
  189. package/types/step/src/schema/schema-resolver.d.ts +2 -1
  190. package/types/tabs/src/composition/types.d.ts +4 -0
  191. package/types/tabs/src/tabs.props.d.ts +6 -0
  192. package/types/tooltip/index.d.ts +3 -3
  193. package/types/tooltip/src/tooltip.component.d.ts +2 -2
@@ -6,89 +6,89 @@ import { LocaleService as dt } from "../locale/index.esm.js";
6
6
  import { getMaxZIndex as _t, isMobilePhone as mn, useThirdComponent as to } from "../common/index.esm.js";
7
7
  import { cloneDeep as ot, isPlainObject as Ut, debounce as no } from "lodash-es";
8
8
  import "../property-panel/index.esm.js";
9
- import "../button/index.esm.js";
10
- import oo from "../field-selector/index.esm.js";
11
- import ro from "../accordion/index.esm.js";
12
- import so from "../avatar/index.esm.js";
13
- import io from "../../designer/button-edit/index.esm.js";
14
- import ao from "../button-group/index.esm.js";
15
- import lo from "../calendar/index.esm.js";
16
- import co from "../../designer/capsule/index.esm.js";
9
+ import oo from "../button/index.esm.js";
10
+ import ro from "../field-selector/index.esm.js";
11
+ import so from "../accordion/index.esm.js";
12
+ import io from "../../designer/avatar/index.esm.js";
13
+ import ao from "../../designer/button-edit/index.esm.js";
14
+ import lo from "../button-group/index.esm.js";
15
+ import co from "../calendar/index.esm.js";
16
+ import uo from "../../designer/capsule/index.esm.js";
17
17
  import Ht from "../../designer/checkbox/index.esm.js";
18
18
  import Vt from "../../designer/checkbox-group/index.esm.js";
19
- import uo from "../combo-list/index.esm.js";
20
- import fo from "../combo-tree/index.esm.js";
21
- import po from "../component/index.esm.js";
22
- import mo from "../color-picker/index.esm.js";
23
- import vo from "../content-container/index.esm.js";
24
- import ho from "../../designer/date-picker/index.esm.js";
25
- import yo from "../../designer/data-grid/index.esm.js";
26
- import go from "../dropdown/index.esm.js";
27
- import bo from "../../designer/dynamic-form/index.esm.js";
28
- import Co from "../events-editor/index.esm.js";
29
- import wo from "../filter-bar/index.esm.js";
30
- import xo from "../binding-selector/index.esm.js";
31
- import So from "../image-cropper/index.esm.js";
32
- import Po from "../../designer/input-group/index.esm.js";
33
- import Eo from "../layout/index.esm.js";
34
- import Fo from "../list-nav/index.esm.js";
35
- import To from "../../designer/list-view/index.esm.js";
36
- import ko from "../lookup/index.esm.js";
37
- import Oo from "../mapping-editor/index.esm.js";
38
- import No from "../nav/index.esm.js";
39
- import Ro from "../number-range/index.esm.js";
40
- import Mo from "../../designer/number-spinner/index.esm.js";
41
- import Bo from "../order/index.esm.js";
42
- import Ao from "../page-header/index.esm.js";
43
- import Io from "../page-footer/index.esm.js";
44
- import Lo from "../pagination/index.esm.js";
45
- import $o from "../progress/index.esm.js";
46
- import jo from "../query-solution/index.esm.js";
47
- import zo from "../../designer/radio-group/index.esm.js";
48
- import Do from "../../designer/rate/index.esm.js";
49
- import _o from "../../designer/response-toolbar/index.esm.js";
50
- import Uo from "../response-layout/index.esm.js";
51
- import Ho from "../../designer/response-layout-editor/index.esm.js";
52
- import Vo from "../search-box/index.esm.js";
53
- import qo from "../../designer/section/index.esm.js";
54
- import Wo from "../smoke-detector/index.esm.js";
55
- import Xo from "../splitter/index.esm.js";
56
- import Yo from "../step/index.esm.js";
57
- import Jo from "../../designer/switch/index.esm.js";
58
- import Go from "../../designer/tabs/index.esm.js";
59
- import Qo from "../../designer/tags/index.esm.js";
60
- import Zo from "../text/index.esm.js";
61
- import Ko from "../../designer/time-picker/index.esm.js";
62
- import er from "../transfer/index.esm.js";
63
- import tr from "../tree-view/index.esm.js";
64
- import nr from "../uploader/index.esm.js";
65
- import or from "../verify-detail/index.esm.js";
66
- import rr from "../video/index.esm.js";
67
- import sr from "../../designer/textarea/index.esm.js";
68
- import ir from "../schema-selector/index.esm.js";
69
- import ar from "../../designer/tree-grid/index.esm.js";
70
- import lr from "../event-parameter/index.esm.js";
71
- import cr from "../filter-condition-editor/index.esm.js";
72
- import ur from "../fieldset/index.esm.js";
73
- import dr from "../sort-condition-editor/index.esm.js";
74
- import fr from "../menu-lookup/index.esm.js";
75
- import pr from "../../designer/drawer/index.esm.js";
76
- import mr from "../json-editor/index.esm.js";
77
- import vr from "../property-editor/index.esm.js";
78
- import hr from "../expression-editor/index.esm.js";
79
- import yr from "../code-editor/index.esm.js";
80
- import gr from "../html-template/index.esm.js";
81
- import br from "../collection-property-editor/index.esm.js";
82
- import Cr from "../../designer/modal/index.esm.js";
83
- import wr from "../external-container/index.esm.js";
84
- import xr from "../language-textbox/index.esm.js";
85
- import Sr from "../image/index.esm.js";
86
- import Pr from "../comment/index.esm.js";
87
- import Er from "../../designer/wizard/index.esm.js";
88
- import { schemaResolverMap as Fr, propertyEffectMap as Tr, propertyConfigSchemaMap as kr, schemaMap as Or, createPropsResolver as Nr, propertyConfigSchemaMapForDesigner as Rr, propertyEffectMapForDesigner as Mr } from "../dynamic-resolver/index.esm.js";
89
- import Br from "../tooltip/index.esm.js";
90
- import { DgControl as $ } from "../designer-canvas/index.esm.js";
91
- const Ar = {
19
+ import fo from "../combo-list/index.esm.js";
20
+ import po from "../combo-tree/index.esm.js";
21
+ import mo from "../component/index.esm.js";
22
+ import vo from "../color-picker/index.esm.js";
23
+ import ho from "../content-container/index.esm.js";
24
+ import yo from "../../designer/date-picker/index.esm.js";
25
+ import go from "../../designer/data-grid/index.esm.js";
26
+ import bo from "../dropdown/index.esm.js";
27
+ import Co from "../../designer/dynamic-form/index.esm.js";
28
+ import wo from "../events-editor/index.esm.js";
29
+ import xo from "../filter-bar/index.esm.js";
30
+ import So from "../binding-selector/index.esm.js";
31
+ import Po from "../image-cropper/index.esm.js";
32
+ import Eo from "../../designer/input-group/index.esm.js";
33
+ import Fo from "../layout/index.esm.js";
34
+ import To from "../list-nav/index.esm.js";
35
+ import ko from "../../designer/list-view/index.esm.js";
36
+ import Oo from "../lookup/index.esm.js";
37
+ import No from "../mapping-editor/index.esm.js";
38
+ import Ro from "../../designer/nav/index.esm.js";
39
+ import Mo from "../number-range/index.esm.js";
40
+ import Bo from "../../designer/number-spinner/index.esm.js";
41
+ import Ao from "../order/index.esm.js";
42
+ import Io from "../page-header/index.esm.js";
43
+ import Lo from "../page-footer/index.esm.js";
44
+ import $o from "../pagination/index.esm.js";
45
+ import jo from "../progress/index.esm.js";
46
+ import zo from "../query-solution/index.esm.js";
47
+ import Do from "../../designer/radio-group/index.esm.js";
48
+ import _o from "../../designer/rate/index.esm.js";
49
+ import Uo from "../../designer/response-toolbar/index.esm.js";
50
+ import Ho from "../response-layout/index.esm.js";
51
+ import Vo from "../../designer/response-layout-editor/index.esm.js";
52
+ import qo from "../search-box/index.esm.js";
53
+ import Wo from "../../designer/section/index.esm.js";
54
+ import Xo from "../smoke-detector/index.esm.js";
55
+ import Yo from "../splitter/index.esm.js";
56
+ import Jo from "../step/index.esm.js";
57
+ import Go from "../../designer/switch/index.esm.js";
58
+ import Qo from "../../designer/tabs/index.esm.js";
59
+ import Zo from "../../designer/tags/index.esm.js";
60
+ import Ko from "../text/index.esm.js";
61
+ import er from "../../designer/time-picker/index.esm.js";
62
+ import tr from "../transfer/index.esm.js";
63
+ import nr from "../tree-view/index.esm.js";
64
+ import or from "../uploader/index.esm.js";
65
+ import rr from "../verify-detail/index.esm.js";
66
+ import sr from "../video/index.esm.js";
67
+ import ir from "../../designer/textarea/index.esm.js";
68
+ import ar from "../schema-selector/index.esm.js";
69
+ import lr from "../../designer/tree-grid/index.esm.js";
70
+ import cr from "../event-parameter/index.esm.js";
71
+ import ur from "../filter-condition-editor/index.esm.js";
72
+ import dr from "../fieldset/index.esm.js";
73
+ import fr from "../sort-condition-editor/index.esm.js";
74
+ import pr from "../menu-lookup/index.esm.js";
75
+ import mr from "../../designer/drawer/index.esm.js";
76
+ import vr from "../json-editor/index.esm.js";
77
+ import hr from "../property-editor/index.esm.js";
78
+ import yr from "../expression-editor/index.esm.js";
79
+ import gr from "../code-editor/index.esm.js";
80
+ import br from "../html-template/index.esm.js";
81
+ import Cr from "../collection-property-editor/index.esm.js";
82
+ import wr from "../../designer/modal/index.esm.js";
83
+ import xr from "../external-container/index.esm.js";
84
+ import Sr from "../language-textbox/index.esm.js";
85
+ import Pr from "../image/index.esm.js";
86
+ import Er from "../comment/index.esm.js";
87
+ import Fr from "../../designer/wizard/index.esm.js";
88
+ import { schemaResolverMap as Tr, propertyEffectMap as kr, propertyConfigSchemaMap as Or, schemaMap as Nr, createPropsResolver as Rr, propertyConfigSchemaMapForDesigner as Mr, propertyEffectMapForDesigner as Br } from "../dynamic-resolver/index.esm.js";
89
+ import Ar from "../tooltip/index.esm.js";
90
+ import { DgControl as L } from "../designer-canvas/index.esm.js";
91
+ const Ir = {
92
92
  /**
93
93
  * 允许点击遮罩关闭对话框
94
94
  */
@@ -259,7 +259,7 @@ class Ve {
259
259
  return this.width = t.width, this.height = t.height, this;
260
260
  }
261
261
  }
262
- function Ir(e, t) {
262
+ function Lr(e, t) {
263
263
  const n = w(), o = w(), r = w(), i = w(), s = w(), a = w(), m = w(), c = w(), u = w(), f = w(), C = w(), b = w(e.resizeable), l = w(), y = w(e.draggable), h = w(!1);
264
264
  function O() {
265
265
  const R = o.value || document.body, I = window.getComputedStyle(R);
@@ -395,7 +395,7 @@ function Ir(e, t) {
395
395
  }
396
396
  }, y.value = !1, h.value = !0);
397
397
  }
398
- function L() {
398
+ function $() {
399
399
  var R, I;
400
400
  if (document.body.click(), l.value) {
401
401
  const ae = {
@@ -439,14 +439,14 @@ function Ir(e, t) {
439
439
  boundingElement: o,
440
440
  resizedEventParam: C,
441
441
  maximize: oe,
442
- restore: L,
442
+ restore: $,
443
443
  allowDrag: y,
444
444
  isMaximized: h,
445
445
  unWindowResizeHandle: he,
446
446
  moveToCenter: re
447
447
  };
448
448
  }
449
- function Lr(e, t, n) {
449
+ function $r(e, t, n) {
450
450
  const o = w(), r = w(e.draggable), i = w(e.lockAxis), s = w(), a = w(), m = w(!1), c = w(new Te(0, 0)), u = w(new Te(0, 0)), f = w(new Te(0, 0)), C = w(new Te(0, 0));
451
451
  Fe(() => n.value, (T) => {
452
452
  s.value.style.cursor = T ? "move" : "default";
@@ -536,7 +536,7 @@ function vn(e, t) {
536
536
  };
537
537
  }
538
538
  }
539
- function $r(e, t) {
539
+ function jr(e, t) {
540
540
  const n = w(e.enableEsc);
541
541
  let o = null;
542
542
  return n.value ? (o = vn("Escape", (r) => {
@@ -545,7 +545,7 @@ function $r(e, t) {
545
545
  remove: o
546
546
  }) : null;
547
547
  }
548
- function jr(e, t) {
548
+ function zr(e, t) {
549
549
  const n = w(e.enableEnter);
550
550
  let o = null;
551
551
  return n.value ? (o = vn("Enter", (r) => {
@@ -556,7 +556,7 @@ function jr(e, t) {
556
556
  }
557
557
  const Je = /* @__PURE__ */ Re({
558
558
  name: "FModal",
559
- props: Ar,
559
+ props: Ir,
560
560
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
561
561
  setup(e, t) {
562
562
  const n = w(e.width || 300), o = w(e.height || 200), r = w(e.modelValue), i = w(""), s = w(e.class), a = w(e.fitContent), m = w(e.showHeader), c = w(""), u = w(e.showCloseButton), f = w(e.showMaxButton), C = w(!1), b = w(e.dialogType), l = w(e.src), y = w(""), h = w(e.showButtons), O = w(e.title), M = w(e.containment || null), q = w();
@@ -589,16 +589,16 @@ const Je = /* @__PURE__ */ Re({
589
589
  }
590
590
  }], T = w(e.buttons && e.buttons.length ? e.buttons : W), K = fe(() => !!c.value), ee = fe(() => !!h.value && !!T.value), X = w(), _ = w(), G = w(!1), {
591
591
  renderResizeBar: oe,
592
- maximize: L,
592
+ maximize: $,
593
593
  restore: re,
594
594
  boundingElement: Q,
595
595
  resizedEventParam: he,
596
596
  allowDrag: R,
597
597
  unWindowResizeHandle: I,
598
598
  moveToCenter: ae
599
- } = Ir(e), {
599
+ } = Lr(e), {
600
600
  registerDraggle: te
601
- } = Lr(e, t, R);
601
+ } = $r(e, t, R);
602
602
  function le() {
603
603
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
604
604
  }
@@ -694,7 +694,7 @@ const Je = /* @__PURE__ */ Re({
694
694
  G.value = !1, re();
695
695
  return;
696
696
  }
697
- L(), G.value = !0;
697
+ $(), G.value = !0;
698
698
  }
699
699
  async function pe(d, S) {
700
700
  d.handle ? await d.handle(S, d) && t.emit("closed", S) : (typeof d.onClick == "string" && (d.onButtonClick = ot(d.onClick || ""), delete d.onClick), t.emit("buttonClick", {
@@ -709,7 +709,7 @@ const Je = /* @__PURE__ */ Re({
709
709
  un(() => {
710
710
  Y.value = le();
711
711
  }), Ge(() => {
712
- _.value && !M.value && (M.value = _.value.parentElement, Q.value = M.value, te(X.value, _.value, Q.value)), be.value && document.body.classList.add("modal-open"), ue = $r(e, t), k = jr(e, t);
712
+ _.value && !M.value && (M.value = _.value.parentElement, Q.value = M.value, te(X.value, _.value, Q.value)), be.value && document.body.classList.add("modal-open"), ue = jr(e, t), k = zr(e, t);
713
713
  }), dn(() => {
714
714
  I && I(), ue && ue.remove(), k && k.remove();
715
715
  }), t.expose({
@@ -841,7 +841,7 @@ function hn(e) {
841
841
  if (e.render && typeof e.render == "function")
842
842
  return e.render;
843
843
  }
844
- function zr(e) {
844
+ function Dr(e) {
845
845
  const t = document.createElement("div");
846
846
  t.style.display = "contents";
847
847
  const n = Qn({
@@ -887,7 +887,7 @@ function zr(e) {
887
887
  });
888
888
  return document.body.appendChild(t), n.use(dt.i18n), n.mount(t), n;
889
889
  }
890
- class Dr {
890
+ class _r {
891
891
  constructor(t) {
892
892
  He(this, "appContext", null);
893
893
  He(this, "modalRef", w());
@@ -919,7 +919,7 @@ class Dr {
919
919
  showButtons: !0,
920
920
  showHeader: !0
921
921
  }, t);
922
- return zr(n);
922
+ return Dr(n);
923
923
  }
924
924
  close(t) {
925
925
  var n, o;
@@ -996,13 +996,13 @@ class Dr {
996
996
  };
997
997
  }
998
998
  }
999
- const _r = Symbol("FModalService");
999
+ const Ur = Symbol("FModalService");
1000
1000
  Je.install = (e) => {
1001
1001
  e.component(Je.name, Je);
1002
- const t = new Dr(e);
1003
- e.provide(_r, t), e.provide("FModalService", t);
1002
+ const t = new _r(e);
1003
+ e.provide(Ur, t), e.provide("FModalService", t);
1004
1004
  };
1005
- const Ur = {
1005
+ const Hr = {
1006
1006
  width: { type: String, default: "300px" },
1007
1007
  height: { type: Number, default: 10 },
1008
1008
  isWidePanel: { type: Boolean, default: !1 },
@@ -1033,7 +1033,7 @@ const Ur = {
1033
1033
  /** 允许折叠面板 */
1034
1034
  allowCollapse: { type: Boolean, default: !0 }
1035
1035
  };
1036
- function Hr(e = {}) {
1036
+ function Vr(e = {}) {
1037
1037
  function t(c, u, f, C) {
1038
1038
  if (typeof f == "number")
1039
1039
  return C[c].length === f;
@@ -1087,19 +1087,19 @@ function Hr(e = {}) {
1087
1087
  }
1088
1088
  return { parseValueSchema: m };
1089
1089
  }
1090
- const Vr = {
1090
+ const qr = {
1091
1091
  convertTo: (e, t, n, o) => {
1092
1092
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
1093
1093
  },
1094
1094
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
1095
- }, qr = {
1096
- convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
1097
1095
  }, Wr = {
1096
+ convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
1097
+ }, Xr = {
1098
1098
  convertTo: (e, t, n, o) => {
1099
1099
  e.editor && (e.editor[t] = n);
1100
1100
  },
1101
1101
  convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
1102
- }, Xr = {
1102
+ }, Yr = {
1103
1103
  button: { type: "button", name: "按钮" },
1104
1104
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
1105
1105
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -1145,10 +1145,12 @@ const Vr = {
1145
1145
  drawer: { type: "drawer", name: "抽屉" },
1146
1146
  "external-container": { type: "external-container", name: "外部容器", icon: "content-container" },
1147
1147
  "list-nav": { type: "list-nav", name: "列表导航" },
1148
+ nav: { type: "nav", name: "标签类导航" },
1148
1149
  "list-view": { type: "list-view", name: "列表" },
1149
1150
  "filter-bar": { type: "filter-bar", name: "筛选条" },
1150
1151
  "language-textbox": { type: "language-textbox", name: "多语输入框" },
1151
1152
  image: { type: "image", name: "图像" },
1153
+ avatar: { type: "avatar", name: "头像" },
1152
1154
  "discussion-editor": { type: "discussion-editor", name: "评论编辑区" },
1153
1155
  "discussion-list": { type: "discussion-list", name: "评论列表" },
1154
1156
  comment: { type: "comment", name: "评论区" },
@@ -1156,19 +1158,20 @@ const Vr = {
1156
1158
  calendar: { type: "calendar", name: "日历", icon: "date-picker" },
1157
1159
  wizard: { type: "wizard", name: "向导", icon: "wizard" },
1158
1160
  "wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
1159
- "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" }
1160
- }, Yr = {
1161
+ "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
1162
+ step: { type: "step", name: "步骤条", icon: "step" }
1163
+ }, Jr = {
1161
1164
  convertFrom: (e, t, n) => {
1162
1165
  var r;
1163
1166
  const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
1164
- return ((r = Xr[o]) == null ? void 0 : r.name) || o;
1167
+ return ((r = Yr[o]) == null ? void 0 : r.name) || o;
1165
1168
  }
1166
- }, Jr = {
1169
+ }, Gr = {
1167
1170
  convertTo: (e, t, n, o) => {
1168
1171
  e[t] = e[t];
1169
1172
  },
1170
1173
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
1171
- }, Gr = {
1174
+ }, Qr = {
1172
1175
  convertTo: (e, t, n, o) => {
1173
1176
  (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = n : e.formatter = {
1174
1177
  [t]: n
@@ -1201,7 +1204,7 @@ const Vr = {
1201
1204
  }
1202
1205
  return "none";
1203
1206
  }
1204
- }, Qr = {
1207
+ }, Zr = {
1205
1208
  convertTo: (e, t, n, o) => {
1206
1209
  e.command ? e.command[t] = n : e.command = {
1207
1210
  [t]: n
@@ -1262,7 +1265,7 @@ const Vr = {
1262
1265
  }
1263
1266
  return "";
1264
1267
  }
1265
- }, Zr = {
1268
+ }, Kr = {
1266
1269
  convertTo: (e, t, n, o) => {
1267
1270
  e.column ? e.column[t] = n : e.column = {
1268
1271
  [t]: n
@@ -1277,7 +1280,7 @@ const Vr = {
1277
1280
  }
1278
1281
  return "";
1279
1282
  }
1280
- }, Kr = {
1283
+ }, es = {
1281
1284
  convertTo: (e, t, n, o) => {
1282
1285
  e.summary ? e.summary[t] = n : e.summary = {
1283
1286
  [t]: n
@@ -1290,7 +1293,7 @@ const Vr = {
1290
1293
  var o;
1291
1294
  return t === "customSummaryStyle" ? e.summary.customSummaryStyle : t === "position" ? ((o = e.summary) == null ? void 0 : o[t]) || "bottom" : e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : "";
1292
1295
  }
1293
- }, es = {
1296
+ }, ts = {
1294
1297
  convertTo: (e, t, n, o) => {
1295
1298
  e.group ? e.group[t] = n : e.group = {
1296
1299
  [t]: n
@@ -1308,7 +1311,7 @@ const Vr = {
1308
1311
  return e.group.showSummary;
1309
1312
  }
1310
1313
  }
1311
- }, ts = {
1314
+ }, ns = {
1312
1315
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
1313
1316
  convertTo: (e, t, n) => {
1314
1317
  if (n && n.length > 0) {
@@ -1316,17 +1319,17 @@ const Vr = {
1316
1319
  e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.bindingField, e.binding.field = o.id, e.binding.fullPath = o.path, e.path = o.bindingPath;
1317
1320
  }
1318
1321
  }
1319
- }, ns = {
1322
+ }, os = {
1320
1323
  convertTo: (e, t, n, o) => {
1321
1324
  e.pagination || (e.pagination = {}), t === "sizeLimits" ? e.pagination.sizeLimits = n.split(",") : e.pagination[t] = n;
1322
1325
  },
1323
1326
  convertFrom: (e, t, n) => e.pagination ? t === "sizeLimits" ? e.pagination.sizeLimits.join(",") : e.pagination[t] : e[t]
1324
- }, os = {
1327
+ }, rs = {
1325
1328
  convertTo: (e, t, n, o) => {
1326
1329
  e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = n;
1327
1330
  },
1328
1331
  convertFrom: (e, t, n) => e.rowNumber ? e.rowNumber[t] : e[t]
1329
- }, rs = {
1332
+ }, ss = {
1330
1333
  convertTo: (e, t, n, o) => {
1331
1334
  e.selection || (e.selection = {}), e.selection[t] = n;
1332
1335
  },
@@ -1334,24 +1337,24 @@ const Vr = {
1334
1337
  var o, r;
1335
1338
  return t === "showCheckbox" ? (o = e.selection) != null && o.multiSelect ? !0 : (r = e.selection) == null ? void 0 : r.showCheckbox : e.selection ? e.selection[t] : e[t];
1336
1339
  }
1337
- }, ss = {
1338
- convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
1339
1340
  }, is = {
1341
+ convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
1342
+ }, as = {
1340
1343
  convertFrom: (e, t) => e[t] || "",
1341
1344
  convertTo: (e, t, n) => {
1342
1345
  e[t] = n;
1343
1346
  }
1344
- }, as = {
1347
+ }, ls = {
1345
1348
  convertTo: (e, t, n, o) => {
1346
1349
  e.size || (e.size = {}), e.size[t] = n;
1347
1350
  },
1348
1351
  convertFrom: (e, t, n) => e.size ? e.size[t] : e[t]
1349
- }, ls = {
1352
+ }, cs = {
1350
1353
  convertFrom: (e, t, n) => {
1351
1354
  var o, r;
1352
1355
  return (o = e.formatter) != null && o.data && t === "formatterEnumData" && !e.formatterEnumData ? (r = e.formatter) == null ? void 0 : r.data : e.formatterEnumData;
1353
1356
  }
1354
- }, cs = {
1357
+ }, us = {
1355
1358
  convertTo: (e, t, n, o) => {
1356
1359
  e.sort || (e.sort = {}), e.sort[t] = n;
1357
1360
  },
@@ -1362,7 +1365,7 @@ const Vr = {
1362
1365
  if (t === "multiSort")
1363
1366
  return !!((r = e.sort) != null && r.multiSort);
1364
1367
  }
1365
- }, us = {
1368
+ }, ds = {
1366
1369
  convertTo: (e, t, n, o) => {
1367
1370
  e.filter || (e.filter = {}), e.filter[t] = n;
1368
1371
  },
@@ -1371,7 +1374,7 @@ const Vr = {
1371
1374
  if (t === "mode")
1372
1375
  return ((o = e.filter) == null ? void 0 : o.mode) || "client";
1373
1376
  }
1374
- }, ds = {
1377
+ }, fs = {
1375
1378
  convertTo: (e, t, n, o) => {
1376
1379
  e.rowOption ? e.rowOption[t] = n : e.rowOption = {
1377
1380
  [t]: n
@@ -1388,7 +1391,7 @@ const Vr = {
1388
1391
  }
1389
1392
  return "";
1390
1393
  }
1391
- }, fs = {
1394
+ }, ps = {
1392
1395
  convertTo: (e, t, n, o) => {
1393
1396
  (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e[t] = n, t === "columnTemplateType" && n === "hyperlink" && (e.onClickLinkCommand ? e.columnTemplate = `
1394
1397
  <span class="f-pretend-link f-cursor-pointer"
@@ -1400,31 +1403,42 @@ const Vr = {
1400
1403
  </span>`), t === "columnTemplateType" && n === "default" && (e.columnTemplate = ""), t === "columnTemplateType" && n === "custom" && (e.columnTemplate = ""));
1401
1404
  },
1402
1405
  convertFrom: (e, t, n) => t === "columnTemplate" ? e.columnTemplate : t === "columnTemplateType" ? e.columnTemplateType ? e.columnTemplateType || "default" : e.columnTemplate && !e.onClickLinkCommand ? "custom" : e.columnTemplate && e.onClickLinkCommand ? "hyperlink" : "default" : ""
1406
+ }, ms = {
1407
+ convertTo: (e, t, n, o) => {
1408
+ e.hierarchy || (e.hierarchy = {
1409
+ cascadeOption: {}
1410
+ }), e.hierarchy.cascadeOption || (e.hierarchy.cascadeOption = {}), e.hierarchy.cascadeOption[t] = n;
1411
+ },
1412
+ convertFrom: (e, t, n) => {
1413
+ var o, r;
1414
+ return !!((r = (o = e.hierarchy) == null ? void 0 : o.cascadeOption) != null && r[t]);
1415
+ }
1403
1416
  };
1404
- function ps(e, t, n) {
1417
+ function vs(e, t, n) {
1405
1418
  const o = /* @__PURE__ */ new Map([
1406
- ["/converter/appearance.converter", Vr],
1407
- ["/converter/buttons.converter", qr],
1408
- ["/converter/property-editor.converter", Wr],
1409
- ["/converter/items-count.converter", ss],
1410
- ["/converter/type.converter", Yr],
1411
- ["/converter/change-editor.converter", Jr],
1412
- ["/converter/change-formatter.converter", Gr],
1413
- ["/converter/column-command.converter", Qr],
1414
- ["/converter/column-option.converter", Zr],
1415
- ["/converter/summary.converter", Kr],
1416
- ["/converter/group.converter", es],
1417
- ["/converter/form-group-label.converter", is],
1418
- ["/converter/field-selector.converter", ts],
1419
- ["/converter/pagination.converter", ns],
1420
- ["/converter/row-number.converter", os],
1421
- ["/converter/grid-selection.converter", rs],
1422
- ["/converter/size.converter", as],
1423
- ["/converter/change-formatter-enum.converter", ls],
1424
- ["/converter/grid-sort.converter", cs],
1425
- ["/converter/grid-filter.converter", us],
1426
- ["/converter/row-option.converter", ds],
1427
- ["/converter/change-formatter-type.converter", fs]
1419
+ ["/converter/appearance.converter", qr],
1420
+ ["/converter/buttons.converter", Wr],
1421
+ ["/converter/property-editor.converter", Xr],
1422
+ ["/converter/items-count.converter", is],
1423
+ ["/converter/type.converter", Jr],
1424
+ ["/converter/change-editor.converter", Gr],
1425
+ ["/converter/change-formatter.converter", Qr],
1426
+ ["/converter/column-command.converter", Zr],
1427
+ ["/converter/column-option.converter", Kr],
1428
+ ["/converter/summary.converter", es],
1429
+ ["/converter/group.converter", ts],
1430
+ ["/converter/form-group-label.converter", as],
1431
+ ["/converter/field-selector.converter", ns],
1432
+ ["/converter/pagination.converter", os],
1433
+ ["/converter/row-number.converter", rs],
1434
+ ["/converter/grid-selection.converter", ss],
1435
+ ["/converter/size.converter", ls],
1436
+ ["/converter/change-formatter-enum.converter", cs],
1437
+ ["/converter/grid-sort.converter", us],
1438
+ ["/converter/grid-filter.converter", ds],
1439
+ ["/converter/row-option.converter", fs],
1440
+ ["/converter/change-formatter-type.converter", ps],
1441
+ ["/converter/tree-auto-check.converter", ms]
1428
1442
  ]), r = /* @__PURE__ */ new Map([
1429
1443
  ["string", { type: "input-group", enableClear: !1 }],
1430
1444
  ["boolean", {
@@ -1449,7 +1463,7 @@ function ps(e, t, n) {
1449
1463
  ["array", { type: "button-edit" }],
1450
1464
  ["number", { type: "number-spinner", placeholder: "" }],
1451
1465
  ["events-editor", { type: "events-editor", hide: !0 }]
1452
- ]), i = Hr();
1466
+ ]), i = Vr();
1453
1467
  function s(l, y) {
1454
1468
  return () => i.parseValueSchema(l, y);
1455
1469
  }
@@ -1465,8 +1479,8 @@ function ps(e, t, n) {
1465
1479
  }
1466
1480
  function u(l, y, h, O, M, q = "", Y = "") {
1467
1481
  return Object.keys(l).map((W) => {
1468
- const T = w(1), K = W, ee = l[W], X = Object.keys(ee), _ = ee.title, G = ee.type, oe = r.get(G) || { type: "input-group", enableClear: !1 }, L = ee.editor ? Object.assign({}, oe, ee.editor) : Object.assign({}, oe), re = a(X, ee, y), Q = m(X, ee, y);
1469
- L.readonly = L.readonly === void 0 ? Q() : L.readonly;
1482
+ const T = w(1), K = W, ee = l[W], X = Object.keys(ee), _ = ee.title, G = ee.type, oe = r.get(G) || { type: "input-group", enableClear: !1 }, $ = ee.editor ? Object.assign({}, oe, ee.editor) : Object.assign({}, oe), re = a(X, ee, y), Q = m(X, ee, y);
1483
+ $.readonly = $.readonly === void 0 ? Q() : $.readonly;
1470
1484
  const he = ee.type === "cascade" ? u(ee.properties, y, h, O, M, q, Y) : [], R = !0;
1471
1485
  let I = c(ee, Y);
1472
1486
  const ae = fe({
@@ -1482,7 +1496,7 @@ function ps(e, t, n) {
1482
1496
  set(p) {
1483
1497
  T.value += 1, I && I.convertTo ? (I.convertTo(O, W, p, M, q), I.convertTo(h, W, p, M, q)) : (O[W] = p, h[W] = p);
1484
1498
  }
1485
- }), { refreshPanelAfterChanged: te, description: le, isExpand: ke, parentPropertyID: be } = ee, v = { propertyID: K, propertyName: _, propertyType: G, propertyValue: ae, editor: L, visible: re, readonly: Q, cascadeConfig: he, hideCascadeTitle: R, refreshPanelAfterChanged: te, description: le, isExpand: ke, parentPropertyID: be };
1499
+ }), { refreshPanelAfterChanged: te, description: le, isExpand: ke, parentPropertyID: be } = ee, v = { propertyID: K, propertyName: _, propertyType: G, propertyValue: ae, editor: $, visible: re, readonly: Q, cascadeConfig: he, hideCascadeTitle: R, refreshPanelAfterChanged: te, description: le, isExpand: ke, parentPropertyID: be };
1486
1500
  return y[K] = v, v;
1487
1501
  });
1488
1502
  }
@@ -1497,8 +1511,8 @@ function ps(e, t, n) {
1497
1511
  const q = y.$ref.schema, Y = y.$ref.converter, H = h[q], W = H.type, T = n(H), K = {}, ee = e[W];
1498
1512
  if (ee && ee.categories) {
1499
1513
  const X = ee.categories[l], _ = X == null ? void 0 : X.title;
1500
- Y && Object.keys(X.properties).forEach((L) => {
1501
- X.properties[L].$converter = Y;
1514
+ Y && Object.keys(X.properties).forEach(($) => {
1515
+ X.properties[$].$converter = Y;
1502
1516
  });
1503
1517
  const G = (X == null ? void 0 : X.properties) || {}, oe = u(G, K, T, H, O, M);
1504
1518
  return { categoryId: l, categoryName: _, properties: oe };
@@ -1516,8 +1530,8 @@ function ps(e, t, n) {
1516
1530
  K.push(C(ee, X, l, y, O));
1517
1531
  return;
1518
1532
  }
1519
- const _ = X == null ? void 0 : X.title, G = X == null ? void 0 : X.tabId, oe = X == null ? void 0 : X.tabName, L = X == null ? void 0 : X.hide, re = X == null ? void 0 : X.hideTitle, Q = u(X.properties || {}, H, Y, l, y, O, X.$converter), { setPropertyRelates: he } = X, R = X == null ? void 0 : X.parentPropertyID;
1520
- K.push({ categoryId: ee, categoryName: _, tabId: G, tabName: oe, hide: L, properties: Q, hideTitle: re, setPropertyRelates: he, parentPropertyID: R });
1533
+ const _ = X == null ? void 0 : X.title, G = X == null ? void 0 : X.tabId, oe = X == null ? void 0 : X.tabName, $ = X == null ? void 0 : X.hide, re = X == null ? void 0 : X.hideTitle, Q = u(X.properties || {}, H, Y, l, y, O, X.$converter), { setPropertyRelates: he } = X, R = X == null ? void 0 : X.parentPropertyID;
1534
+ K.push({ categoryId: ee, categoryName: _, tabId: G, tabName: oe, hide: $, properties: Q, hideTitle: re, setPropertyRelates: he, parentPropertyID: R });
1521
1535
  }), K;
1522
1536
  }
1523
1537
  return [];
@@ -1528,7 +1542,7 @@ function ps(e, t, n) {
1528
1542
  propertyConverterMap: o
1529
1543
  };
1530
1544
  }
1531
- function ms(e, t) {
1545
+ function hs(e, t) {
1532
1546
  let n;
1533
1547
  function o(f) {
1534
1548
  const { properties: C, title: b, ignore: l } = f, y = l && Array.isArray(l), h = Object.keys(C).reduce((O, M) => ((!y || !l.find((q) => q === M)) && (O[M] = C[M].type === "object" && C[M].properties ? o(C[M]) : ot(C[M].default)), O), {});
@@ -1605,7 +1619,7 @@ function ms(e, t) {
1605
1619
  }
1606
1620
  return { getSchemaByType: i, resolveSchemaWithDefaultValue: c, resolveSchemaToProps: m, mappingSchemaToProps: a, setDesignerContext: u };
1607
1621
  }
1608
- const vs = {}, hs = {}, { resolveSchemaWithDefaultValue: ys } = ms(vs, hs), gs = {}, bs = {}, { getPropertyConfigBySchema: ft } = ps(gs, bs, ys), Cs = {
1622
+ const ys = {}, gs = {}, { resolveSchemaWithDefaultValue: bs } = hs(ys, gs), Cs = {}, ws = {}, { getPropertyConfigBySchema: ft } = vs(Cs, ws, bs), xs = {
1609
1623
  /** 某一分类下的属性配置 */
1610
1624
  // as PropType<ElementPropertyConfig>
1611
1625
  category: { type: Object, default: {} },
@@ -1614,10 +1628,10 @@ const vs = {}, hs = {}, { resolveSchemaWithDefaultValue: ys } = ms(vs, hs), gs =
1614
1628
  propertyData: { type: Object, default: {} },
1615
1629
  valueChanged: { type: Function },
1616
1630
  triggerRefreshPanel: { type: Function }
1617
- }, ws = {
1631
+ }, Ss = {
1618
1632
  elementConfig: { type: Object, default: {} },
1619
1633
  category: { type: Object, default: {} }
1620
- }, xs = {
1634
+ }, Ps = {
1621
1635
  id: { type: String, default: "" },
1622
1636
  customClass: { type: String, default: "" },
1623
1637
  customStyle: { type: String, default: "" },
@@ -1639,8 +1653,9 @@ const vs = {}, hs = {}, { resolveSchemaWithDefaultValue: ys } = ms(vs, hs), gs =
1639
1653
  errors: { type: Object, default: null },
1640
1654
  fill: { type: Boolean, default: !1 },
1641
1655
  enableTips: { type: Boolean, default: !1 },
1642
- tipsContent: { type: Object, default: "" }
1643
- }, Ss = {
1656
+ tipsContent: { type: Object, default: "" },
1657
+ linkLabel: { type: String, default: !1 }
1658
+ }, Es = {
1644
1659
  id: { type: String },
1645
1660
  required: { type: Boolean, default: !1 },
1646
1661
  text: { type: String, default: "" },
@@ -1650,10 +1665,11 @@ const vs = {}, hs = {}, { resolveSchemaWithDefaultValue: ys } = ms(vs, hs), gs =
1650
1665
  /**
1651
1666
  * 实际支持 'visible'可见 | 'reserve-space' 占位不显示
1652
1667
  */
1653
- showType: { type: String, default: "visible" }
1654
- }, Ps = /* @__PURE__ */ Re({
1668
+ showType: { type: String, default: "visible" },
1669
+ isLink: { type: Boolean, default: !1 }
1670
+ }, Fs = /* @__PURE__ */ Re({
1655
1671
  name: "FDynamicFormLabel",
1656
- props: Ss,
1672
+ props: Es,
1657
1673
  emits: ["clickLabel"],
1658
1674
  setup(e, t) {
1659
1675
  w(e.title || e.text);
@@ -1668,7 +1684,8 @@ const vs = {}, hs = {}, { resolveSchemaWithDefaultValue: ys } = ms(vs, hs), gs =
1668
1684
  const s = fe(() => r.value ? o.value : i.value), a = fe(() => r.value ? "" : "color:red"), m = fe(() => ({
1669
1685
  "col-form-label": !0,
1670
1686
  // 指定必填,当显示模式是隐藏或者没有指定标签名时,宽度不限定
1671
- "f-width-auto": n.value && (e.showType === "none" || !o.value)
1687
+ "f-width-auto": n.value && (e.showType === "none" || !o.value),
1688
+ "f-pretend-link": e.isLink
1672
1689
  })), c = fe(() => e.showType === "force-none" ? !1 : e.showType === "reserve-space" || n.value || !!o.value && e.showType !== "none");
1673
1690
  return () => c.value && g("label", {
1674
1691
  class: m.value,
@@ -1685,24 +1702,24 @@ const vs = {}, hs = {}, { resolveSchemaWithDefaultValue: ys } = ms(vs, hs), gs =
1685
1702
  class: "farris-label-info text-danger"
1686
1703
  }, [Ne("*")]), e.showType === "visible" && o.value])]);
1687
1704
  }
1688
- }), { globalStorageKey: Es } = to(), j = {}, z = {}, D = {}, U = {};
1689
- async function Fs() {
1705
+ }), { globalStorageKey: Ts } = to(), j = {}, z = {}, D = {}, U = {};
1706
+ async function ks() {
1690
1707
  {
1691
1708
  const e = {
1692
- schemaMap: Or,
1693
- propertyConfigSchemaMap: kr,
1694
- propertyEffectMap: Tr,
1695
- schemaResolverMap: Fr
1709
+ schemaMap: Nr,
1710
+ propertyConfigSchemaMap: Or,
1711
+ propertyEffectMap: kr,
1712
+ schemaResolverMap: Tr
1696
1713
  };
1697
- so.register(j, z, D, U), ro.register(j, z, D, U), io.register(j, z, D, U), ao.register(j, z, D, U), lo.register(j, z, D, U, e), co.register(j, z, D, U), Ht.register(j, z, D, U, e), Vt.register(j, z, D, U, e), Ht.register(j, z, D, U, e), Vt.register(j, z, D, U, e), uo.register(j, z, D, U, e), fo.register(j, z, D, U), po.register(j, z, D, U), vo.register(j, z, D, U, e), mo.register(j, z, D, U), ho.register(j, z, D, U, e), yo.register(j, z, D, U, e), go.register(j, z, D, U), bo.register(j, z, D, U, e), Co.register(j, z, D, U), hr.register(j, z, D, U), wo.register(j, z, D, U), oo.register(j, z, D, U), cr.register(j, z, D, U), So.register(j, z, D, U), Po.register(j, z, D, U, e), Eo.register(j, z, D, U, e), To.register(j, z, D, U, e), Fo.register(j, z, D, U), ko.register(j, z, D, U, e), Oo.register(j, z, D, U), No.register(j, z, D, U), Ro.register(j, z, D, U), Mo.register(j, z, D, U, e), Bo.register(j, z, D, U), Ao.register(j, z, D, U, e), Io.register(j, z, D, U), Lo.register(j, z, D, U), $o.register(j, z, D, U), jo.register(j, z, D, U, e), zo.register(j, z, D, U, e), Do.register(j, z, D, U), Uo.register(j, z, D, U, e), Ho.register(j, z, D, U), _o.register(j, z, D, U), ir.register(j, z, D), Vo.register(j, z, D, U), qo.register(j, z, D, U, e), Wo.register(j, z, D, U), Xo.register(j, z, D, U), Yo.register(j, z, D, U), Jo.register(j, z, D, U, e), dr.register(j, z, D, U), Go.register(j, z, D, U, e), Qo.register(j, z, D, U), Zo.register(j, z, D, U), Ko.register(j, z, D, U, e), er.register(j, z, D, U), tr.register(j, z, D, U), or.register(j, z, D, U), nr.register(j, z, D, U), rr.register(j, z, D, U), sr.register(j, z, D, U, e), ar.register(j, z, D, U), xo.register(j, z, D, U), lr.register(j, z, D, U), ur.register(j, z, D, U, e), fr.register(j, z, D, U), pr.register(j, z, D, U), mr.register(j, z, D, U), vr.register(j, z, D, U), yr.register(j, z, D, U), gr.register(j, z, D, U, e), br.register(j, z, D, U), Cr.register(j, z, D, U), wr.register(j, z, D, U), xr.register(j, z, D, U, e), Sr.register(j, z, D, U, e), Pr.register(j, z, D, U), Er.register(j, z, D, U);
1698
- const t = window[Es];
1714
+ io.register(j, z, D, U), so.register(j, z, D, U), ao.register(j, z, D, U), lo.register(j, z, D, U), oo.register(j, z, D, U), co.register(j, z, D, U, e), uo.register(j, z, D, U), Ht.register(j, z, D, U, e), Vt.register(j, z, D, U, e), Ht.register(j, z, D, U, e), Vt.register(j, z, D, U, e), fo.register(j, z, D, U, e), po.register(j, z, D, U), mo.register(j, z, D, U), ho.register(j, z, D, U, e), vo.register(j, z, D, U), yo.register(j, z, D, U, e), go.register(j, z, D, U, e), bo.register(j, z, D, U), Co.register(j, z, D, U, e), wo.register(j, z, D, U), yr.register(j, z, D, U), xo.register(j, z, D, U), ro.register(j, z, D, U), ur.register(j, z, D, U), Po.register(j, z, D, U), Eo.register(j, z, D, U, e), Fo.register(j, z, D, U, e), ko.register(j, z, D, U, e), To.register(j, z, D, U), Oo.register(j, z, D, U, e), No.register(j, z, D, U), Ro.register(j, z, D, U), Mo.register(j, z, D, U), Bo.register(j, z, D, U, e), Ao.register(j, z, D, U), Io.register(j, z, D, U, e), Lo.register(j, z, D, U), $o.register(j, z, D, U), jo.register(j, z, D, U), zo.register(j, z, D, U, e), Do.register(j, z, D, U, e), _o.register(j, z, D, U), Ho.register(j, z, D, U, e), Vo.register(j, z, D, U), Uo.register(j, z, D, U), ar.register(j, z, D), qo.register(j, z, D, U), Wo.register(j, z, D, U, e), Xo.register(j, z, D, U), Yo.register(j, z, D, U), Jo.register(j, z, D, U), Go.register(j, z, D, U, e), fr.register(j, z, D, U), Qo.register(j, z, D, U, e), Zo.register(j, z, D, U), Ko.register(j, z, D, U), er.register(j, z, D, U, e), tr.register(j, z, D, U), nr.register(j, z, D, U), rr.register(j, z, D, U), or.register(j, z, D, U), sr.register(j, z, D, U), ir.register(j, z, D, U, e), lr.register(j, z, D, U), So.register(j, z, D, U), cr.register(j, z, D, U), dr.register(j, z, D, U, e), pr.register(j, z, D, U), mr.register(j, z, D, U), vr.register(j, z, D, U), hr.register(j, z, D, U), gr.register(j, z, D, U), br.register(j, z, D, U, e), Cr.register(j, z, D, U), wr.register(j, z, D, U), xr.register(j, z, D, U), Sr.register(j, z, D, U, e), Pr.register(j, z, D, U, e), Er.register(j, z, D, U), Fr.register(j, z, D, U);
1715
+ const t = window[Ts];
1699
1716
  if (t)
1700
1717
  for (const n in t)
1701
- t[n].createPropsResolver = Nr, t[n].register(j, z, D);
1718
+ t[n].createPropsResolver = Rr, t[n].register(j, z, D);
1702
1719
  }
1703
1720
  }
1704
- function Ts() {
1705
- Fs();
1721
+ function Os() {
1722
+ ks();
1706
1723
  function e(s) {
1707
1724
  const a = j[s];
1708
1725
  if (!a)
@@ -1812,7 +1829,7 @@ function Ts() {
1812
1829
  }
1813
1830
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o, getMousedownFunctionName: r, getMouseupFunctionName: i };
1814
1831
  }
1815
- const ks = {
1832
+ const Ns = {
1816
1833
  /**
1817
1834
  * 显示的错误信息
1818
1835
  */
@@ -1820,9 +1837,9 @@ const ks = {
1820
1837
  type: Object,
1821
1838
  default: null
1822
1839
  }
1823
- }, Os = /* @__PURE__ */ Re({
1840
+ }, Rs = /* @__PURE__ */ Re({
1824
1841
  name: "FValidationMessage",
1825
- props: ks,
1842
+ props: Ns,
1826
1843
  emits: [],
1827
1844
  setup(e, t) {
1828
1845
  const n = w(e.errors);
@@ -1848,9 +1865,9 @@ const ks = {
1848
1865
  class: "f-feedback-message"
1849
1866
  }, [r.value])]);
1850
1867
  }
1851
- }), Ns = /* @__PURE__ */ Re({
1868
+ }), Ms = /* @__PURE__ */ Re({
1852
1869
  name: "FDynamicFormGroup",
1853
- props: xs,
1870
+ props: Ps,
1854
1871
  emits: ["change", "update:modelValue", "clickLabel"],
1855
1872
  setup(e, t) {
1856
1873
  var oe;
@@ -1861,8 +1878,8 @@ const ks = {
1861
1878
  resolveEditorType: O,
1862
1879
  getChangeFunctionName: M,
1863
1880
  getClearFunctionName: q
1864
- } = Ts(), Y = fe(() => {
1865
- const L = {
1881
+ } = Os(), Y = fe(() => {
1882
+ const $ = {
1866
1883
  "form-group": !0,
1867
1884
  "farris-form-group": !0,
1868
1885
  "common-group": !0,
@@ -1870,16 +1887,16 @@ const ks = {
1870
1887
  "align-items-start": r.value.type === "textarea" || r.value.type === "rich-text-editor",
1871
1888
  "form-group--in-mobile": b
1872
1889
  };
1873
- return L["form-group--has-" + l.value] = !0, L;
1890
+ return $["form-group--has-" + l.value] = !0, $;
1874
1891
  }), H = fe(() => {
1875
1892
  if (e.fill)
1876
1893
  return {
1877
1894
  maxWidth: "none"
1878
1895
  };
1879
1896
  });
1880
- function W(L, re, Q) {
1881
- s.value = re !== void 0 ? re : L, t.emit("update:modelValue", s.value), t.emit("change", s.value, {
1882
- newValue: L,
1897
+ function W($, re, Q) {
1898
+ s.value = re !== void 0 ? re : $, t.emit("update:modelValue", s.value), t.emit("change", s.value, {
1899
+ newValue: $,
1883
1900
  newModelValue: re,
1884
1901
  parameters: Q
1885
1902
  });
@@ -1887,19 +1904,19 @@ const ks = {
1887
1904
  function T() {
1888
1905
  t.emit("update:modelValue", "");
1889
1906
  }
1890
- function K(L) {
1907
+ function K($) {
1891
1908
  return (...re) => {
1892
- T(), typeof L == "function" && L(...re);
1909
+ T(), typeof $ == "function" && $(...re);
1893
1910
  };
1894
1911
  }
1895
- function ee(L) {
1912
+ function ee($) {
1896
1913
  return (re, Q, he) => {
1897
- W(re, Q, he), typeof L == "function" && L(re, Q, he);
1914
+ W(re, Q, he), typeof $ == "function" && $(re, Q, he);
1898
1915
  };
1899
1916
  }
1900
1917
  const X = fe(() => {
1901
- const L = r.value.type || "input-group", re = O(L), Q = h(L, r.value), he = M(L), R = q(r.value.type);
1902
- return R && (Q[R] = K(Q[R])), he && (Q[he] = ee(Q[he])), (Q.id == null || Q.id === "") && (Q.id = n.value), L === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (Q.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (Q.onEndValueChange = r.value.onEndValueChange)) : L === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? (Q["onUpdate:idValue"] = r.value["onUpdate:idValue"], Q.id = n.value) : L === "collection-property-editor" && r.value.onSelectionChange && typeof r.value.onSelectionChange == "function" ? Q.onSelectionChange = r.value.onSelectionChange : L === "property-editor" && (Q.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => g(re, Lt({
1918
+ const $ = r.value.type || "input-group", re = O($), Q = h($, r.value), he = M($), R = q(r.value.type);
1919
+ return R && (Q[R] = K(Q[R])), he && (Q[he] = ee(Q[he])), (Q.id == null || Q.id === "") && (Q.id = n.value), $ === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (Q.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (Q.onEndValueChange = r.value.onEndValueChange)) : $ === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? (Q["onUpdate:idValue"] = r.value["onUpdate:idValue"], Q.id = n.value) : $ === "collection-property-editor" && r.value.onSelectionChange && typeof r.value.onSelectionChange == "function" ? Q.onSelectionChange = r.value.onSelectionChange : $ === "property-editor" && (Q.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => g(re, Lt({
1903
1920
  ref: f
1904
1921
  }, Q, {
1905
1922
  modelValue: s.value,
@@ -1907,17 +1924,17 @@ const ks = {
1907
1924
  }), t.slots);
1908
1925
  });
1909
1926
  function _() {
1910
- return g(Os, {
1927
+ return g(Rs, {
1911
1928
  id: `${n.value}-validation-message`,
1912
1929
  errors: C.value
1913
1930
  }, null);
1914
1931
  }
1915
- Fe([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible, () => e.errors], ([L, re, Q, he, R, I, ae, te, le, ke]) => {
1932
+ Fe([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible, () => e.errors], ([$, re, Q, he, R, I, ae, te, le, ke]) => {
1916
1933
  var be;
1917
- n.value = L, o.value = re, r.value = Q, i.value = he, s.value = R, a.value = I, m.value = ((be = r.value) == null ? void 0 : be.required) || ae, c.value = te, u.value = le, C.value = ke;
1934
+ n.value = $, o.value = re, r.value = Q, i.value = he, s.value = R, a.value = I, m.value = ((be = r.value) == null ? void 0 : be.required) || ae, c.value = te, u.value = le, C.value = ke;
1918
1935
  });
1919
- function G(L) {
1920
- t.emit("clickLabel", L);
1936
+ function G($) {
1937
+ t.emit("clickLabel", $);
1921
1938
  }
1922
1939
  return t.expose({
1923
1940
  editorRef: f
@@ -1930,16 +1947,17 @@ const ks = {
1930
1947
  style: H.value
1931
1948
  }, [g("div", {
1932
1949
  class: Y.value
1933
- }, [g(Ps, {
1950
+ }, [g(Fs, {
1934
1951
  id: `${n.value}-lable`,
1935
1952
  showType: y.value,
1936
1953
  required: m.value,
1937
1954
  text: i.value,
1938
1955
  title: i.value,
1956
+ isLink: !!e.linkLabel,
1939
1957
  onClickLabel: G
1940
1958
  }, null), g("div", {
1941
1959
  class: "farris-input-wrap"
1942
- }, [X.value(), _()]), e.enableTips && g(Br, {
1960
+ }, [X.value(), _()]), e.enableTips && g(Ar, {
1943
1961
  content: e.tipsContent
1944
1962
  }, {
1945
1963
  default: () => [g("span", {
@@ -1949,9 +1967,9 @@ const ks = {
1949
1967
  }, null)])]
1950
1968
  })])])]);
1951
1969
  }
1952
- }), Rs = /* @__PURE__ */ Re({
1970
+ }), Bs = /* @__PURE__ */ Re({
1953
1971
  name: "FPropertyPanelItem",
1954
- props: ws,
1972
+ props: Ss,
1955
1973
  emits: ["propertyChange", "triggerRefreshPanel"],
1956
1974
  setup(e, t) {
1957
1975
  var f;
@@ -2002,7 +2020,7 @@ const ks = {
2002
2020
  class: `col-form-label ${u.value}`
2003
2021
  }, [g("span", {
2004
2022
  class: "farris-label-text"
2005
- }, [r.value])]), [[Kn("tooltip"), c]]), g(Ns, {
2023
+ }, [r.value])]), [[Kn("tooltip"), c]]), g(Ms, {
2006
2024
  id: u.value,
2007
2025
  showLabel: !1,
2008
2026
  editor: e.elementConfig.editor,
@@ -2011,9 +2029,9 @@ const ks = {
2011
2029
  editorParams: e.elementConfig.editorParams
2012
2030
  }, null)]);
2013
2031
  }
2014
- }), Ms = /* @__PURE__ */ Re({
2032
+ }), As = /* @__PURE__ */ Re({
2015
2033
  name: "FPropertyPanelItemList",
2016
- props: Cs,
2034
+ props: xs,
2017
2035
  emits: ["valueChanged", "submitModal", "triggerRefreshPanel"],
2018
2036
  setup(e, t) {
2019
2037
  const n = w(e.category);
@@ -2074,7 +2092,7 @@ const ks = {
2074
2092
  function u(b) {
2075
2093
  return g("div", {
2076
2094
  class: "px-2 mb-2"
2077
- }, [g(Rs, {
2095
+ }, [g(Bs, {
2078
2096
  key: a(b),
2079
2097
  elementConfig: b,
2080
2098
  category: n.value,
@@ -2111,9 +2129,9 @@ const ks = {
2111
2129
  }
2112
2130
  return () => g(It, null, [n.value.properties.map((b) => C(b)(b))]);
2113
2131
  }
2114
- }), Bs = /* @__PURE__ */ Re({
2132
+ }), Is = /* @__PURE__ */ Re({
2115
2133
  name: "FPropertyPanel",
2116
- props: Ur,
2134
+ props: Hr,
2117
2135
  emits: ["propertyChanged"],
2118
2136
  setup(e, t) {
2119
2137
  const n = w(e.width), o = w(e.isWidePanel), r = w(e.enableSearch), i = w(e.mode), s = w(e.isPersitOpenState), a = w(e.isShowPanel), m = w(), c = w(), u = w(e.showCloseBtn), f = w(e.selectedTabId), C = w(!0), b = w(e.isWhiteTheme);
@@ -2144,7 +2162,7 @@ const ks = {
2144
2162
  (de = k.style) == null || de.setProperty(A, ie);
2145
2163
  });
2146
2164
  }
2147
- function L() {
2165
+ function $() {
2148
2166
  return y.filter((V) => {
2149
2167
  if (typeof V.visible == "function" && !V.visible() || typeof V.visible == "boolean" && !V.visible)
2150
2168
  return !1;
@@ -2169,7 +2187,7 @@ const ks = {
2169
2187
  if (!h.value)
2170
2188
  O.value && V && (V.scrollTop = 0);
2171
2189
  else if (_(), y && y.length > 0) {
2172
- const A = L();
2190
+ const A = $();
2173
2191
  A && A.length > 0 && setTimeout(() => {
2174
2192
  let ie = null, de = -1, Se = !1;
2175
2193
  A.forEach((ve, Be) => {
@@ -2341,7 +2359,7 @@ const ks = {
2341
2359
  }]
2342
2360
  }, null), A.categoryName]), g("div", {
2343
2361
  hidden: A.status === "closed"
2344
- }, [g(Ms, {
2362
+ }, [g(As, {
2345
2363
  key: `${A == null ? void 0 : A.categoryId}-${K.value}`,
2346
2364
  category: A,
2347
2365
  propertyData: c.value,
@@ -2427,10 +2445,10 @@ const ks = {
2427
2445
  */
2428
2446
  static getEditorTypesByMDataType(t, n = !1, o = "") {
2429
2447
  if (n)
2430
- return [{ key: $["language-textbox"].type, value: $["language-textbox"].name }];
2448
+ return [{ key: L["language-textbox"].type, value: L["language-textbox"].name }];
2431
2449
  let r = Ye.fieldControlTypeMapping[t];
2432
2450
  if (o === "data-grid-column" && (r != null && r.length)) {
2433
- const i = [$["check-group"].type, $["radio-group"].type, $.image.type, $["rich-text-editor"].type];
2451
+ const i = [L["check-group"].type, L["radio-group"].type, L.image.type, L["rich-text-editor"].type];
2434
2452
  r = r.filter((s) => !i.includes(s.key));
2435
2453
  }
2436
2454
  return r;
@@ -2453,7 +2471,7 @@ const ks = {
2453
2471
  static mappingDomPropAndSchemaProp(t, n) {
2454
2472
  var i;
2455
2473
  const o = (i = t.editor) == null ? void 0 : i.type, r = [];
2456
- return (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && r.push({ domField: "title", schemaField: "name" }), r.push({ domField: "label", schemaField: "name" }), r.push({ domField: "editor.required", schemaField: "require" }), r.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === $["input-group"].type || o === $.textarea.type || o === $["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === $["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === $["combo-list"].type || o === $["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === $["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === $["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === $.lookup.type && (r.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), r.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), r.push({ domField: "editor.textField", schemaField: "editor.textField" }), r.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), r.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), r.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), r.push({ domField: "path", schemaField: "bindingPath" }), r.push({ domField: "binding.path", schemaField: "bindingField" }), r.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
2474
+ return (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && r.push({ domField: "title", schemaField: "name" }), r.push({ domField: "label", schemaField: "name" }), r.push({ domField: "editor.required", schemaField: "require" }), r.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === L["input-group"].type || o === L.textarea.type || o === L["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === L["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === L["combo-list"].type || o === L["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === L["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === L["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === L.lookup.type && (r.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), r.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), r.push({ domField: "editor.textField", schemaField: "editor.textField" }), r.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), r.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), r.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), r.push({ domField: "path", schemaField: "bindingPath" }), r.push({ domField: "binding.path", schemaField: "bindingField" }), r.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
2457
2475
  }
2458
2476
  };
2459
2477
  /**
@@ -2461,63 +2479,64 @@ const ks = {
2461
2479
  */
2462
2480
  He(Ye, "fieldControlTypeMapping", {
2463
2481
  String: [
2464
- { key: $["input-group"].type, value: $["input-group"].name },
2465
- { key: $.lookup.type, value: $.lookup.name },
2466
- { key: $.image.type, value: $.image.name },
2467
- { key: $["date-picker"].type, value: $["date-picker"].name },
2468
- { key: $.switch.type, value: $.switch.name },
2469
- { key: $["check-box"].type, value: $["check-box"].name },
2470
- { key: $["check-group"].type, value: $["check-group"].name },
2471
- { key: $["radio-group"].type, value: $["radio-group"].name },
2472
- { key: $["combo-list"].type, value: $["combo-list"].name },
2473
- { key: $.textarea.type, value: $.textarea.name },
2474
- { key: $["time-picker"].type, value: $["time-picker"].name }
2482
+ { key: L["input-group"].type, value: L["input-group"].name },
2483
+ { key: L.lookup.type, value: L.lookup.name },
2484
+ { key: L.image.type, value: L.image.name },
2485
+ { key: L["date-picker"].type, value: L["date-picker"].name },
2486
+ { key: L.switch.type, value: L.switch.name },
2487
+ { key: L["check-box"].type, value: L["check-box"].name },
2488
+ { key: L["check-group"].type, value: L["check-group"].name },
2489
+ { key: L["radio-group"].type, value: L["radio-group"].name },
2490
+ { key: L["combo-list"].type, value: L["combo-list"].name },
2491
+ { key: L.textarea.type, value: L.textarea.name },
2492
+ { key: L["time-picker"].type, value: L["time-picker"].name }
2475
2493
  ],
2476
2494
  Text: [
2477
- { key: $.textarea.type, value: $.textarea.name },
2478
- { key: $.lookup.type, value: $.lookup.name },
2479
- { key: $.image.type, value: $.image.name },
2480
- { key: $["rich-text-editor"].type, value: $["rich-text-editor"].name }
2495
+ { key: L.textarea.type, value: L.textarea.name },
2496
+ { key: L.lookup.type, value: L.lookup.name },
2497
+ { key: L.image.type, value: L.image.name },
2498
+ { key: L.avatar.type, value: L.avatar.name },
2499
+ { key: L["rich-text-editor"].type, value: L["rich-text-editor"].name }
2481
2500
  ],
2482
2501
  Decimal: [
2483
- { key: $["number-spinner"].type, value: $["number-spinner"].name }
2502
+ { key: L["number-spinner"].type, value: L["number-spinner"].name }
2484
2503
  ],
2485
2504
  Integer: [
2486
- { key: $["number-spinner"].type, value: $["number-spinner"].name }
2505
+ { key: L["number-spinner"].type, value: L["number-spinner"].name }
2487
2506
  ],
2488
2507
  Number: [
2489
- { key: $["number-spinner"].type, value: $["number-spinner"].name },
2490
- { key: $.switch.type, value: $.switch.name },
2491
- { key: $["check-box"].type, value: $["check-box"].name }
2508
+ { key: L["number-spinner"].type, value: L["number-spinner"].name },
2509
+ { key: L.switch.type, value: L.switch.name },
2510
+ { key: L["check-box"].type, value: L["check-box"].name }
2492
2511
  ],
2493
2512
  BigNumber: [
2494
- { key: $["number-spinner"].type, value: $["number-spinner"].name }
2513
+ { key: L["number-spinner"].type, value: L["number-spinner"].name }
2495
2514
  ],
2496
2515
  Date: [
2497
- { key: $["date-picker"].type, value: $["date-picker"].name }
2516
+ { key: L["date-picker"].type, value: L["date-picker"].name }
2498
2517
  ],
2499
2518
  DateTime: [
2500
- { key: $["date-picker"].type, value: $["date-picker"].name }
2519
+ { key: L["date-picker"].type, value: L["date-picker"].name }
2501
2520
  ],
2502
2521
  Boolean: [
2503
- { key: $.switch.type, value: $.switch.name },
2504
- { key: $["check-box"].type, value: $["check-box"].name }
2522
+ { key: L.switch.type, value: L.switch.name },
2523
+ { key: L["check-box"].type, value: L["check-box"].name }
2505
2524
  ],
2506
2525
  Enum: [
2507
- { key: $["combo-list"].type, value: $["combo-list"].name },
2508
- { key: $["radio-group"].type, value: $["radio-group"].name }
2526
+ { key: L["combo-list"].type, value: L["combo-list"].name },
2527
+ { key: L["radio-group"].type, value: L["radio-group"].name }
2509
2528
  ],
2510
2529
  Object: [
2511
- { key: $.lookup.type, value: $.lookup.name },
2512
- { key: $["combo-list"].type, value: $["combo-list"].name },
2513
- { key: $["radio-group"].type, value: $["radio-group"].name }
2530
+ { key: L.lookup.type, value: L.lookup.name },
2531
+ { key: L["combo-list"].type, value: L["combo-list"].name },
2532
+ { key: L["radio-group"].type, value: L["radio-group"].name }
2514
2533
  ]
2515
2534
  });
2516
2535
  let qt = Ye;
2517
- const As = {
2536
+ const Ls = {
2518
2537
  modelValue: { type: Object, default: {} }
2519
2538
  };
2520
- function Is() {
2539
+ function $s() {
2521
2540
  const o = {
2522
2541
  aroundDirection: "none",
2523
2542
  left: 2,
@@ -2789,7 +2808,7 @@ function Is() {
2789
2808
  bottom: 100
2790
2809
  } : p;
2791
2810
  }
2792
- function L(v, p) {
2811
+ function $(v, p) {
2793
2812
  return p;
2794
2813
  }
2795
2814
  const re = /* @__PURE__ */ new Map([
@@ -2797,7 +2816,7 @@ function Is() {
2797
2816
  ["west", _],
2798
2817
  ["north", G],
2799
2818
  ["south", oe],
2800
- ["center", L]
2819
+ ["center", $]
2801
2820
  ]);
2802
2821
  function Q(v, p, E, B) {
2803
2822
  const N = p.x - v.x, P = p.y - v.y, ne = N >= 0 ? "east" : "west", Z = P >= 0 ? "south" : "north", ge = `${Z}_${ne}`, ye = (ee.get(E) || []).includes(ge), xe = re.get(E), se = ye ? xe(ge, o) : o, pe = Math.abs(N), Ee = Math.abs(P), ue = K.get(`${Z}_${ne}`), [k, V, A] = ue(
@@ -2886,7 +2905,7 @@ function Is() {
2886
2905
  status: r
2887
2906
  };
2888
2907
  }
2889
- function Ls(e, t) {
2908
+ function js(e, t) {
2890
2909
  const n = w(), o = w(0), r = w(0), i = w({ x: 0, y: 0 }), s = w(), { drawing: a, status: m } = e, c = w(null), u = w(!1), f = w({ x: 0, y: 0 });
2891
2910
  function C(_) {
2892
2911
  return (_ && _.className && _.className.split ? _.className.split(" ") : []).includes("f-flow-ancher");
@@ -2908,9 +2927,9 @@ function Ls(e, t) {
2908
2927
  default:
2909
2928
  return "center";
2910
2929
  }
2911
- const L = G.find((Q) => Q.startsWith("port-")) || "";
2912
- if (L)
2913
- switch (L) {
2930
+ const $ = G.find((Q) => Q.startsWith("port-")) || "";
2931
+ if ($)
2932
+ switch ($) {
2914
2933
  case "port-left":
2915
2934
  return "west";
2916
2935
  case "port-right":
@@ -2944,10 +2963,10 @@ function Ls(e, t) {
2944
2963
  const oe = G || document.getElementById("svg-container");
2945
2964
  if (!oe)
2946
2965
  return { x: 0, y: 0 };
2947
- const L = _.getBoundingClientRect(), re = oe.getBoundingClientRect();
2966
+ const $ = _.getBoundingClientRect(), re = oe.getBoundingClientRect();
2948
2967
  return {
2949
- x: L.left + L.width / 2 - re.left,
2950
- y: L.top + L.height / 2 - re.top
2968
+ x: $.left + $.width / 2 - re.left,
2969
+ y: $.top + $.height / 2 - re.top
2951
2970
  };
2952
2971
  }
2953
2972
  function y(_) {
@@ -2955,13 +2974,13 @@ function Ls(e, t) {
2955
2974
  const G = document.getElementById("svg-container");
2956
2975
  if (!G)
2957
2976
  return;
2958
- const oe = G.getBoundingClientRect(), L = _.clientX - oe.left, re = _.clientY - oe.top;
2959
- c.value && (c.value.mousePosition = { x: L, y: re });
2977
+ const oe = G.getBoundingClientRect(), $ = _.clientX - oe.left, re = _.clientY - oe.top;
2978
+ c.value && (c.value.mousePosition = { x: $, y: re });
2960
2979
  const Q = _.target, he = Q && typeof Q.className == "string" && C(Q) ? b(Q) : "center";
2961
2980
  a(
2962
2981
  `${(R = s.value) == null ? void 0 : R.id}_curve_to`,
2963
2982
  { x: i.value.x, y: i.value.y },
2964
- { x: L, y: re },
2983
+ { x: $, y: re },
2965
2984
  n.value,
2966
2985
  he
2967
2986
  );
@@ -2980,7 +2999,7 @@ function Ls(e, t) {
2980
2999
  const G = document.elementsFromPoint(_.clientX, _.clientY);
2981
3000
  if (G && G.length) {
2982
3001
  const oe = G.filter(
2983
- (L) => L && L.classList.contains("f-flow-ancher") && L.classList.contains("input-port")
3002
+ ($) => $ && $.classList.contains("f-flow-ancher") && $.classList.contains("input-port")
2984
3003
  );
2985
3004
  if (oe && oe.length)
2986
3005
  return oe[0];
@@ -2990,8 +3009,8 @@ function Ls(e, t) {
2990
3009
  function Y(_) {
2991
3010
  const G = q(_);
2992
3011
  if (G && s.value) {
2993
- const oe = K(s.value.id), L = s.value.id, re = K(G.id), Q = G.id;
2994
- re && Q && t.createConnection(L, Q, oe, re), s.value && h(`${s.value.id}_curve_to`), ee();
3012
+ const oe = K(s.value.id), $ = s.value.id, re = K(G.id), Q = G.id;
3013
+ re && Q && t.createConnection($, Q, oe, re), s.value && h(`${s.value.id}_curve_to`), ee();
2995
3014
  return;
2996
3015
  }
2997
3016
  s.value && H(_);
@@ -3029,8 +3048,8 @@ function Ls(e, t) {
3029
3048
  const oe = _.match(/^(.+?)-condition-\d+-output$/);
3030
3049
  if (oe)
3031
3050
  return oe[1];
3032
- const L = _.match(/^(.+?)-(input|output)$/);
3033
- return L ? L[1] : _;
3051
+ const $ = _.match(/^(.+?)-(input|output)$/);
3052
+ return $ ? $[1] : _;
3034
3053
  }
3035
3054
  function ee(_) {
3036
3055
  s.value = void 0, M();
@@ -3041,8 +3060,8 @@ function Ls(e, t) {
3041
3060
  const oe = document.getElementById("svg-container");
3042
3061
  if (!oe)
3043
3062
  return;
3044
- const L = l(s.value, oe);
3045
- o.value = L.x, r.value = L.y, i.value = L, n.value = b(s.value), O();
3063
+ const $ = l(s.value, oe);
3064
+ o.value = $.x, r.value = $.y, i.value = $, n.value = b(s.value), O();
3046
3065
  }
3047
3066
  return {
3048
3067
  drawFrom: X,
@@ -3058,7 +3077,7 @@ function Ls(e, t) {
3058
3077
  completeNodeSelection: T
3059
3078
  };
3060
3079
  }
3061
- function $s(e) {
3080
+ function zs(e) {
3062
3081
  const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
3063
3082
  function r(u, f) {
3064
3083
  const C = n.get(u) || [];
@@ -3135,7 +3154,7 @@ const ct = (e) => {
3135
3154
  }
3136
3155
  return "center";
3137
3156
  };
3138
- function js(e) {
3157
+ function Ds(e) {
3139
3158
  const { schema: t, useBezierCurveComposition: n, useConnectionsComposition: o, onSchemaUpdate: r } = e, i = (b) => {
3140
3159
  const l = b.match(/^(.+?)-option-\d+-output$/);
3141
3160
  if (l)
@@ -3225,24 +3244,24 @@ function yn(e, t) {
3225
3244
  return e.apply(t, arguments);
3226
3245
  };
3227
3246
  }
3228
- const { toString: zs } = Object.prototype, { getPrototypeOf: $t } = Object, { iterator: gt, toStringTag: gn } = Symbol, bt = /* @__PURE__ */ ((e) => (t) => {
3229
- const n = zs.call(t);
3247
+ const { toString: _s } = Object.prototype, { getPrototypeOf: $t } = Object, { iterator: gt, toStringTag: gn } = Symbol, bt = /* @__PURE__ */ ((e) => (t) => {
3248
+ const n = _s.call(t);
3230
3249
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
3231
3250
  })(/* @__PURE__ */ Object.create(null)), ze = (e) => (e = e.toLowerCase(), (t) => bt(t) === e), Ct = (e) => (t) => typeof t === e, { isArray: Ze } = Array, Qe = Ct("undefined");
3232
3251
  function st(e) {
3233
3252
  return e !== null && !Qe(e) && e.constructor !== null && !Qe(e.constructor) && Ie(e.constructor.isBuffer) && e.constructor.isBuffer(e);
3234
3253
  }
3235
3254
  const bn = ze("ArrayBuffer");
3236
- function Ds(e) {
3255
+ function Us(e) {
3237
3256
  let t;
3238
3257
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && bn(e.buffer), t;
3239
3258
  }
3240
- const _s = Ct("string"), Ie = Ct("function"), Cn = Ct("number"), it = (e) => e !== null && typeof e == "object", Us = (e) => e === !0 || e === !1, pt = (e) => {
3259
+ const Hs = Ct("string"), Ie = Ct("function"), Cn = Ct("number"), it = (e) => e !== null && typeof e == "object", Vs = (e) => e === !0 || e === !1, pt = (e) => {
3241
3260
  if (bt(e) !== "object")
3242
3261
  return !1;
3243
3262
  const t = $t(e);
3244
3263
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(gn in e) && !(gt in e);
3245
- }, Hs = (e) => {
3264
+ }, qs = (e) => {
3246
3265
  if (!it(e) || st(e))
3247
3266
  return !1;
3248
3267
  try {
@@ -3250,11 +3269,11 @@ const _s = Ct("string"), Ie = Ct("function"), Cn = Ct("number"), it = (e) => e !
3250
3269
  } catch {
3251
3270
  return !1;
3252
3271
  }
3253
- }, Vs = ze("Date"), qs = ze("File"), Ws = ze("Blob"), Xs = ze("FileList"), Ys = (e) => it(e) && Ie(e.pipe), Js = (e) => {
3272
+ }, Ws = ze("Date"), Xs = ze("File"), Ys = ze("Blob"), Js = ze("FileList"), Gs = (e) => it(e) && Ie(e.pipe), Qs = (e) => {
3254
3273
  let t;
3255
3274
  return e && (typeof FormData == "function" && e instanceof FormData || Ie(e.append) && ((t = bt(e)) === "formdata" || // detect form-data instance
3256
3275
  t === "object" && Ie(e.toString) && e.toString() === "[object FormData]"));
3257
- }, Gs = ze("URLSearchParams"), [Qs, Zs, Ks, ei] = ["ReadableStream", "Request", "Response", "Headers"].map(ze), ti = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3276
+ }, Zs = ze("URLSearchParams"), [Ks, ei, ti, ni] = ["ReadableStream", "Request", "Response", "Headers"].map(ze), oi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3258
3277
  function at(e, t, { allOwnKeys: n = !1 } = {}) {
3259
3278
  if (e === null || typeof e > "u")
3260
3279
  return;
@@ -3292,13 +3311,13 @@ function Nt() {
3292
3311
  arguments[r] && at(arguments[r], o);
3293
3312
  return n;
3294
3313
  }
3295
- const ni = (e, t, n, { allOwnKeys: o } = {}) => (at(t, (r, i) => {
3314
+ const ri = (e, t, n, { allOwnKeys: o } = {}) => (at(t, (r, i) => {
3296
3315
  n && Ie(r) ? e[i] = yn(r, n) : e[i] = r;
3297
- }, { allOwnKeys: o }), e), oi = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ri = (e, t, n, o) => {
3316
+ }, { allOwnKeys: o }), e), si = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ii = (e, t, n, o) => {
3298
3317
  e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
3299
3318
  value: t.prototype
3300
3319
  }), n && Object.assign(e.prototype, n);
3301
- }, si = (e, t, n, o) => {
3320
+ }, ai = (e, t, n, o) => {
3302
3321
  let r, i, s;
3303
3322
  const a = {};
3304
3323
  if (t = t || {}, e == null) return t;
@@ -3308,11 +3327,11 @@ const ni = (e, t, n, { allOwnKeys: o } = {}) => (at(t, (r, i) => {
3308
3327
  e = n !== !1 && $t(e);
3309
3328
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
3310
3329
  return t;
3311
- }, ii = (e, t, n) => {
3330
+ }, li = (e, t, n) => {
3312
3331
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
3313
3332
  const o = e.indexOf(t, n);
3314
3333
  return o !== -1 && o === n;
3315
- }, ai = (e) => {
3334
+ }, ci = (e) => {
3316
3335
  if (!e) return null;
3317
3336
  if (Ze(e)) return e;
3318
3337
  let t = e.length;
@@ -3321,31 +3340,31 @@ const ni = (e, t, n, { allOwnKeys: o } = {}) => (at(t, (r, i) => {
3321
3340
  for (; t-- > 0; )
3322
3341
  n[t] = e[t];
3323
3342
  return n;
3324
- }, li = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && $t(Uint8Array)), ci = (e, t) => {
3343
+ }, ui = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && $t(Uint8Array)), di = (e, t) => {
3325
3344
  const o = (e && e[gt]).call(e);
3326
3345
  let r;
3327
3346
  for (; (r = o.next()) && !r.done; ) {
3328
3347
  const i = r.value;
3329
3348
  t.call(e, i[0], i[1]);
3330
3349
  }
3331
- }, ui = (e, t) => {
3350
+ }, fi = (e, t) => {
3332
3351
  let n;
3333
3352
  const o = [];
3334
3353
  for (; (n = e.exec(t)) !== null; )
3335
3354
  o.push(n);
3336
3355
  return o;
3337
- }, di = ze("HTMLFormElement"), fi = (e) => e.toLowerCase().replace(
3356
+ }, pi = ze("HTMLFormElement"), mi = (e) => e.toLowerCase().replace(
3338
3357
  /[-_\s]([a-z\d])(\w*)/g,
3339
3358
  function(n, o, r) {
3340
3359
  return o.toUpperCase() + r;
3341
3360
  }
3342
- ), Wt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), pi = ze("RegExp"), Sn = (e, t) => {
3361
+ ), Wt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vi = ze("RegExp"), Sn = (e, t) => {
3343
3362
  const n = Object.getOwnPropertyDescriptors(e), o = {};
3344
3363
  at(n, (r, i) => {
3345
3364
  let s;
3346
3365
  (s = t(r, i, e)) !== !1 && (o[i] = s || r);
3347
3366
  }), Object.defineProperties(e, o);
3348
- }, mi = (e) => {
3367
+ }, hi = (e) => {
3349
3368
  Sn(e, (t, n) => {
3350
3369
  if (Ie(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
3351
3370
  return !1;
@@ -3360,19 +3379,19 @@ const ni = (e, t, n, { allOwnKeys: o } = {}) => (at(t, (r, i) => {
3360
3379
  });
3361
3380
  }
3362
3381
  });
3363
- }, vi = (e, t) => {
3382
+ }, yi = (e, t) => {
3364
3383
  const n = {}, o = (r) => {
3365
3384
  r.forEach((i) => {
3366
3385
  n[i] = !0;
3367
3386
  });
3368
3387
  };
3369
3388
  return Ze(e) ? o(e) : o(String(e).split(t)), n;
3370
- }, hi = () => {
3371
- }, yi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
3372
- function gi(e) {
3389
+ }, gi = () => {
3390
+ }, bi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
3391
+ function Ci(e) {
3373
3392
  return !!(e && Ie(e.append) && e[gn] === "FormData" && e[gt]);
3374
3393
  }
3375
- const bi = (e) => {
3394
+ const wi = (e) => {
3376
3395
  const t = new Array(10), n = (o, r) => {
3377
3396
  if (it(o)) {
3378
3397
  if (t.indexOf(o) >= 0)
@@ -3391,72 +3410,72 @@ const bi = (e) => {
3391
3410
  return o;
3392
3411
  };
3393
3412
  return n(e, 0);
3394
- }, Ci = ze("AsyncFunction"), wi = (e) => e && (it(e) || Ie(e)) && Ie(e.then) && Ie(e.catch), Pn = ((e, t) => e ? setImmediate : t ? ((n, o) => (qe.addEventListener("message", ({ source: r, data: i }) => {
3413
+ }, xi = ze("AsyncFunction"), Si = (e) => e && (it(e) || Ie(e)) && Ie(e.then) && Ie(e.catch), Pn = ((e, t) => e ? setImmediate : t ? ((n, o) => (qe.addEventListener("message", ({ source: r, data: i }) => {
3395
3414
  r === qe && i === n && o.length && o.shift()();
3396
3415
  }, !1), (r) => {
3397
3416
  o.push(r), qe.postMessage(n, "*");
3398
3417
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
3399
3418
  typeof setImmediate == "function",
3400
3419
  Ie(qe.postMessage)
3401
- ), xi = typeof queueMicrotask < "u" ? queueMicrotask.bind(qe) : typeof process < "u" && process.nextTick || Pn, Si = (e) => e != null && Ie(e[gt]), x = {
3420
+ ), Pi = typeof queueMicrotask < "u" ? queueMicrotask.bind(qe) : typeof process < "u" && process.nextTick || Pn, Ei = (e) => e != null && Ie(e[gt]), x = {
3402
3421
  isArray: Ze,
3403
3422
  isArrayBuffer: bn,
3404
3423
  isBuffer: st,
3405
- isFormData: Js,
3406
- isArrayBufferView: Ds,
3407
- isString: _s,
3424
+ isFormData: Qs,
3425
+ isArrayBufferView: Us,
3426
+ isString: Hs,
3408
3427
  isNumber: Cn,
3409
- isBoolean: Us,
3428
+ isBoolean: Vs,
3410
3429
  isObject: it,
3411
3430
  isPlainObject: pt,
3412
- isEmptyObject: Hs,
3413
- isReadableStream: Qs,
3414
- isRequest: Zs,
3415
- isResponse: Ks,
3416
- isHeaders: ei,
3431
+ isEmptyObject: qs,
3432
+ isReadableStream: Ks,
3433
+ isRequest: ei,
3434
+ isResponse: ti,
3435
+ isHeaders: ni,
3417
3436
  isUndefined: Qe,
3418
- isDate: Vs,
3419
- isFile: qs,
3420
- isBlob: Ws,
3421
- isRegExp: pi,
3437
+ isDate: Ws,
3438
+ isFile: Xs,
3439
+ isBlob: Ys,
3440
+ isRegExp: vi,
3422
3441
  isFunction: Ie,
3423
- isStream: Ys,
3424
- isURLSearchParams: Gs,
3425
- isTypedArray: li,
3426
- isFileList: Xs,
3442
+ isStream: Gs,
3443
+ isURLSearchParams: Zs,
3444
+ isTypedArray: ui,
3445
+ isFileList: Js,
3427
3446
  forEach: at,
3428
3447
  merge: Nt,
3429
- extend: ni,
3430
- trim: ti,
3431
- stripBOM: oi,
3432
- inherits: ri,
3433
- toFlatObject: si,
3448
+ extend: ri,
3449
+ trim: oi,
3450
+ stripBOM: si,
3451
+ inherits: ii,
3452
+ toFlatObject: ai,
3434
3453
  kindOf: bt,
3435
3454
  kindOfTest: ze,
3436
- endsWith: ii,
3437
- toArray: ai,
3438
- forEachEntry: ci,
3439
- matchAll: ui,
3440
- isHTMLForm: di,
3455
+ endsWith: li,
3456
+ toArray: ci,
3457
+ forEachEntry: di,
3458
+ matchAll: fi,
3459
+ isHTMLForm: pi,
3441
3460
  hasOwnProperty: Wt,
3442
3461
  hasOwnProp: Wt,
3443
3462
  // an alias to avoid ESLint no-prototype-builtins detection
3444
3463
  reduceDescriptors: Sn,
3445
- freezeMethods: mi,
3446
- toObjectSet: vi,
3447
- toCamelCase: fi,
3448
- noop: hi,
3449
- toFiniteNumber: yi,
3464
+ freezeMethods: hi,
3465
+ toObjectSet: yi,
3466
+ toCamelCase: mi,
3467
+ noop: gi,
3468
+ toFiniteNumber: bi,
3450
3469
  findKey: wn,
3451
3470
  global: qe,
3452
3471
  isContextDefined: xn,
3453
- isSpecCompliantForm: gi,
3454
- toJSONObject: bi,
3455
- isAsyncFn: Ci,
3456
- isThenable: wi,
3472
+ isSpecCompliantForm: Ci,
3473
+ toJSONObject: wi,
3474
+ isAsyncFn: xi,
3475
+ isThenable: Si,
3457
3476
  setImmediate: Pn,
3458
- asap: xi,
3459
- isIterable: Si
3477
+ asap: Pi,
3478
+ isIterable: Ei
3460
3479
  };
3461
3480
  function ce(e, t, n, o, r) {
3462
3481
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), o && (this.request = o), r && (this.response = r, this.status = r.status ? r.status : null);
@@ -3510,7 +3529,7 @@ ce.from = (e, t, n, o, r, i) => {
3510
3529
  const a = e && e.message ? e.message : "Error", m = t == null && e ? e.code : t;
3511
3530
  return ce.call(s, a, m, n, o, r), e && s.cause == null && Object.defineProperty(s, "cause", { value: e, configurable: !0 }), s.name = e && e.name || "Error", i && Object.assign(s, i), s;
3512
3531
  };
3513
- const Pi = null;
3532
+ const Fi = null;
3514
3533
  function Rt(e) {
3515
3534
  return x.isPlainObject(e) || x.isArray(e);
3516
3535
  }
@@ -3522,10 +3541,10 @@ function Xt(e, t, n) {
3522
3541
  return r = Tn(r), !n && i ? "[" + r + "]" : r;
3523
3542
  }).join(n ? "." : "") : t;
3524
3543
  }
3525
- function Ei(e) {
3544
+ function Ti(e) {
3526
3545
  return x.isArray(e) && !e.some(Rt);
3527
3546
  }
3528
- const Fi = x.toFlatObject(x, {}, null, function(t) {
3547
+ const ki = x.toFlatObject(x, {}, null, function(t) {
3529
3548
  return /^is[A-Z]/.test(t);
3530
3549
  });
3531
3550
  function wt(e, t, n) {
@@ -3556,7 +3575,7 @@ function wt(e, t, n) {
3556
3575
  if (l && !h && typeof l == "object") {
3557
3576
  if (x.endsWith(y, "{}"))
3558
3577
  y = o ? y : y.slice(0, -2), l = JSON.stringify(l);
3559
- else if (x.isArray(l) && Ei(l) || (x.isFileList(l) || x.endsWith(y, "[]")) && (O = x.toArray(l)))
3578
+ else if (x.isArray(l) && Ti(l) || (x.isFileList(l) || x.endsWith(y, "[]")) && (O = x.toArray(l)))
3560
3579
  return y = Tn(y), O.forEach(function(q, Y) {
3561
3580
  !(x.isUndefined(q) || q === null) && t.append(
3562
3581
  // eslint-disable-next-line no-nested-ternary
@@ -3567,7 +3586,7 @@ function wt(e, t, n) {
3567
3586
  }
3568
3587
  return Rt(l) ? !0 : (t.append(Xt(h, y, i), c(l)), !1);
3569
3588
  }
3570
- const f = [], C = Object.assign(Fi, {
3589
+ const f = [], C = Object.assign(ki, {
3571
3590
  defaultVisitor: u,
3572
3591
  convertValue: c,
3573
3592
  isVisitable: Rt
@@ -3620,13 +3639,13 @@ kn.toString = function(t) {
3620
3639
  return n(r[0]) + "=" + n(r[1]);
3621
3640
  }, "").join("&");
3622
3641
  };
3623
- function Ti(e) {
3642
+ function Oi(e) {
3624
3643
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
3625
3644
  }
3626
3645
  function On(e, t, n) {
3627
3646
  if (!t)
3628
3647
  return e;
3629
- const o = n && n.encode || Ti;
3648
+ const o = n && n.encode || Oi;
3630
3649
  x.isFunction(n) && (n = {
3631
3650
  serialize: n
3632
3651
  });
@@ -3696,27 +3715,27 @@ const Nn = {
3696
3715
  silentJSONParsing: !0,
3697
3716
  forcedJSONParsing: !0,
3698
3717
  clarifyTimeoutError: !1
3699
- }, ki = typeof URLSearchParams < "u" ? URLSearchParams : jt, Oi = typeof FormData < "u" ? FormData : null, Ni = typeof Blob < "u" ? Blob : null, Ri = {
3718
+ }, Ni = typeof URLSearchParams < "u" ? URLSearchParams : jt, Ri = typeof FormData < "u" ? FormData : null, Mi = typeof Blob < "u" ? Blob : null, Bi = {
3700
3719
  isBrowser: !0,
3701
3720
  classes: {
3702
- URLSearchParams: ki,
3703
- FormData: Oi,
3704
- Blob: Ni
3721
+ URLSearchParams: Ni,
3722
+ FormData: Ri,
3723
+ Blob: Mi
3705
3724
  },
3706
3725
  protocols: ["http", "https", "file", "blob", "url", "data"]
3707
- }, zt = typeof window < "u" && typeof document < "u", Mt = typeof navigator == "object" && navigator || void 0, Mi = zt && (!Mt || ["ReactNative", "NativeScript", "NS"].indexOf(Mt.product) < 0), Bi = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3708
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ai = zt && window.location.href || "http://localhost", Ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3726
+ }, zt = typeof window < "u" && typeof document < "u", Mt = typeof navigator == "object" && navigator || void 0, Ai = zt && (!Mt || ["ReactNative", "NativeScript", "NS"].indexOf(Mt.product) < 0), Ii = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3727
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Li = zt && window.location.href || "http://localhost", $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3709
3728
  __proto__: null,
3710
3729
  hasBrowserEnv: zt,
3711
- hasStandardBrowserEnv: Mi,
3712
- hasStandardBrowserWebWorkerEnv: Bi,
3730
+ hasStandardBrowserEnv: Ai,
3731
+ hasStandardBrowserWebWorkerEnv: Ii,
3713
3732
  navigator: Mt,
3714
- origin: Ai
3733
+ origin: Li
3715
3734
  }, Symbol.toStringTag, { value: "Module" })), Me = {
3716
- ...Ii,
3717
- ...Ri
3735
+ ...$i,
3736
+ ...Bi
3718
3737
  };
3719
- function Li(e, t) {
3738
+ function ji(e, t) {
3720
3739
  return wt(e, new Me.classes.URLSearchParams(), {
3721
3740
  visitor: function(n, o, r, i) {
3722
3741
  return Me.isNode && x.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
@@ -3724,10 +3743,10 @@ function Li(e, t) {
3724
3743
  ...t
3725
3744
  });
3726
3745
  }
3727
- function $i(e) {
3746
+ function zi(e) {
3728
3747
  return x.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
3729
3748
  }
3730
- function ji(e) {
3749
+ function Di(e) {
3731
3750
  const t = {}, n = Object.keys(e);
3732
3751
  let o;
3733
3752
  const r = n.length;
@@ -3741,17 +3760,17 @@ function Rn(e) {
3741
3760
  let s = n[i++];
3742
3761
  if (s === "__proto__") return !0;
3743
3762
  const a = Number.isFinite(+s), m = i >= n.length;
3744
- return s = !s && x.isArray(r) ? r.length : s, m ? (x.hasOwnProp(r, s) ? r[s] = [r[s], o] : r[s] = o, !a) : ((!r[s] || !x.isObject(r[s])) && (r[s] = []), t(n, o, r[s], i) && x.isArray(r[s]) && (r[s] = ji(r[s])), !a);
3763
+ return s = !s && x.isArray(r) ? r.length : s, m ? (x.hasOwnProp(r, s) ? r[s] = [r[s], o] : r[s] = o, !a) : ((!r[s] || !x.isObject(r[s])) && (r[s] = []), t(n, o, r[s], i) && x.isArray(r[s]) && (r[s] = Di(r[s])), !a);
3745
3764
  }
3746
3765
  if (x.isFormData(e) && x.isFunction(e.entries)) {
3747
3766
  const n = {};
3748
3767
  return x.forEachEntry(e, (o, r) => {
3749
- t($i(o), r, n, 0);
3768
+ t(zi(o), r, n, 0);
3750
3769
  }), n;
3751
3770
  }
3752
3771
  return null;
3753
3772
  }
3754
- function zi(e, t, n) {
3773
+ function _i(e, t, n) {
3755
3774
  if (x.isString(e))
3756
3775
  try {
3757
3776
  return (t || JSON.parse)(e), x.trim(e);
@@ -3777,7 +3796,7 @@ const lt = {
3777
3796
  let a;
3778
3797
  if (i) {
3779
3798
  if (o.indexOf("application/x-www-form-urlencoded") > -1)
3780
- return Li(t, this.formSerializer).toString();
3799
+ return ji(t, this.formSerializer).toString();
3781
3800
  if ((a = x.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
3782
3801
  const m = this.env && this.env.FormData;
3783
3802
  return wt(
@@ -3787,7 +3806,7 @@ const lt = {
3787
3806
  );
3788
3807
  }
3789
3808
  }
3790
- return i || r ? (n.setContentType("application/json", !1), zi(t)) : t;
3809
+ return i || r ? (n.setContentType("application/json", !1), _i(t)) : t;
3791
3810
  }],
3792
3811
  transformResponse: [function(t) {
3793
3812
  const n = this.transitional || lt.transitional, o = n && n.forcedJSONParsing, r = this.responseType === "json";
@@ -3830,7 +3849,7 @@ const lt = {
3830
3849
  x.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
3831
3850
  lt.headers[e] = {};
3832
3851
  });
3833
- const Di = x.toObjectSet([
3852
+ const Ui = x.toObjectSet([
3834
3853
  "age",
3835
3854
  "authorization",
3836
3855
  "content-length",
@@ -3848,12 +3867,12 @@ const Di = x.toObjectSet([
3848
3867
  "referer",
3849
3868
  "retry-after",
3850
3869
  "user-agent"
3851
- ]), _i = (e) => {
3870
+ ]), Hi = (e) => {
3852
3871
  const t = {};
3853
3872
  let n, o, r;
3854
3873
  return e && e.split(`
3855
3874
  `).forEach(function(s) {
3856
- r = s.indexOf(":"), n = s.substring(0, r).trim().toLowerCase(), o = s.substring(r + 1).trim(), !(!n || t[n] && Di[n]) && (n === "set-cookie" ? t[n] ? t[n].push(o) : t[n] = [o] : t[n] = t[n] ? t[n] + ", " + o : o);
3875
+ r = s.indexOf(":"), n = s.substring(0, r).trim().toLowerCase(), o = s.substring(r + 1).trim(), !(!n || t[n] && Ui[n]) && (n === "set-cookie" ? t[n] ? t[n].push(o) : t[n] = [o] : t[n] = t[n] ? t[n] + ", " + o : o);
3857
3876
  }), t;
3858
3877
  }, Gt = Symbol("internals");
3859
3878
  function tt(e) {
@@ -3862,14 +3881,14 @@ function tt(e) {
3862
3881
  function mt(e) {
3863
3882
  return e === !1 || e == null ? e : x.isArray(e) ? e.map(mt) : String(e);
3864
3883
  }
3865
- function Ui(e) {
3884
+ function Vi(e) {
3866
3885
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
3867
3886
  let o;
3868
3887
  for (; o = n.exec(e); )
3869
3888
  t[o[1]] = o[2];
3870
3889
  return t;
3871
3890
  }
3872
- const Hi = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
3891
+ const qi = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
3873
3892
  function Tt(e, t, n, o, r) {
3874
3893
  if (x.isFunction(o))
3875
3894
  return o.call(this, t, n);
@@ -3880,10 +3899,10 @@ function Tt(e, t, n, o, r) {
3880
3899
  return o.test(t);
3881
3900
  }
3882
3901
  }
3883
- function Vi(e) {
3902
+ function Wi(e) {
3884
3903
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, o) => n.toUpperCase() + o);
3885
3904
  }
3886
- function qi(e, t) {
3905
+ function Xi(e, t) {
3887
3906
  const n = x.toCamelCase(" " + t);
3888
3907
  ["get", "set", "has"].forEach((o) => {
3889
3908
  Object.defineProperty(e, o + n, {
@@ -3910,8 +3929,8 @@ let Le = class {
3910
3929
  const s = (a, m) => x.forEach(a, (c, u) => i(c, u, m));
3911
3930
  if (x.isPlainObject(t) || t instanceof this.constructor)
3912
3931
  s(t, n);
3913
- else if (x.isString(t) && (t = t.trim()) && !Hi(t))
3914
- s(_i(t), n);
3932
+ else if (x.isString(t) && (t = t.trim()) && !qi(t))
3933
+ s(Hi(t), n);
3915
3934
  else if (x.isObject(t) && x.isIterable(t)) {
3916
3935
  let a = {}, m, c;
3917
3936
  for (const u of t) {
@@ -3932,7 +3951,7 @@ let Le = class {
3932
3951
  if (!n)
3933
3952
  return r;
3934
3953
  if (n === !0)
3935
- return Ui(r);
3954
+ return Vi(r);
3936
3955
  if (x.isFunction(n))
3937
3956
  return n.call(this, r, o);
3938
3957
  if (x.isRegExp(n))
@@ -3976,7 +3995,7 @@ let Le = class {
3976
3995
  n[s] = mt(r), delete n[i];
3977
3996
  return;
3978
3997
  }
3979
- const a = t ? Vi(i) : String(i).trim();
3998
+ const a = t ? Wi(i) : String(i).trim();
3980
3999
  a !== i && delete n[i], n[a] = mt(r), o[a] = !0;
3981
4000
  }), this;
3982
4001
  }
@@ -4015,7 +4034,7 @@ let Le = class {
4015
4034
  }).accessors, r = this.prototype;
4016
4035
  function i(s) {
4017
4036
  const a = tt(s);
4018
- o[a] || (qi(r, s), o[a] = !0);
4037
+ o[a] || (Xi(r, s), o[a] = !0);
4019
4038
  }
4020
4039
  return x.isArray(t) ? t.forEach(i) : i(t), this;
4021
4040
  }
@@ -4057,11 +4076,11 @@ function Bn(e, t, n) {
4057
4076
  n
4058
4077
  ));
4059
4078
  }
4060
- function Wi(e) {
4079
+ function Yi(e) {
4061
4080
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
4062
4081
  return t && t[1] || "";
4063
4082
  }
4064
- function Xi(e, t) {
4083
+ function Ji(e, t) {
4065
4084
  e = e || 10;
4066
4085
  const n = new Array(e), o = new Array(e);
4067
4086
  let r = 0, i = 0, s;
@@ -4077,7 +4096,7 @@ function Xi(e, t) {
4077
4096
  return b ? Math.round(C * 1e3 / b) : void 0;
4078
4097
  };
4079
4098
  }
4080
- function Yi(e, t) {
4099
+ function Gi(e, t) {
4081
4100
  let n = 0, o = 1e3 / t, r, i;
4082
4101
  const s = (c, u = Date.now()) => {
4083
4102
  n = u, r = null, i && (clearTimeout(i), i = null), e(...c);
@@ -4091,8 +4110,8 @@ function Yi(e, t) {
4091
4110
  }
4092
4111
  const ht = (e, t, n = 3) => {
4093
4112
  let o = 0;
4094
- const r = Xi(50, 250);
4095
- return Yi((i) => {
4113
+ const r = Ji(50, 250);
4114
+ return Gi((i) => {
4096
4115
  const s = i.loaded, a = i.lengthComputable ? i.total : void 0, m = s - o, c = r(m), u = s <= a;
4097
4116
  o = s;
4098
4117
  const f = {
@@ -4115,10 +4134,10 @@ const ht = (e, t, n = 3) => {
4115
4134
  total: e,
4116
4135
  loaded: o
4117
4136
  }), t[1]];
4118
- }, Zt = (e) => (...t) => x.asap(() => e(...t)), Ji = Me.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, Me.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
4137
+ }, Zt = (e) => (...t) => x.asap(() => e(...t)), Qi = Me.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, Me.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
4119
4138
  new URL(Me.origin),
4120
4139
  Me.navigator && /(msie|trident)/i.test(Me.navigator.userAgent)
4121
- ) : () => !0, Gi = Me.hasStandardBrowserEnv ? (
4140
+ ) : () => !0, Zi = Me.hasStandardBrowserEnv ? (
4122
4141
  // Standard browser envs support document.cookie
4123
4142
  {
4124
4143
  write(e, t, n, o, r, i, s) {
@@ -4147,15 +4166,15 @@ const ht = (e, t, n = 3) => {
4147
4166
  }
4148
4167
  }
4149
4168
  );
4150
- function Qi(e) {
4169
+ function Ki(e) {
4151
4170
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
4152
4171
  }
4153
- function Zi(e, t) {
4172
+ function ea(e, t) {
4154
4173
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
4155
4174
  }
4156
4175
  function An(e, t, n) {
4157
- let o = !Qi(t);
4158
- return e && (o || n == !1) ? Zi(e, t) : t;
4176
+ let o = !Ki(t);
4177
+ return e && (o || n == !1) ? ea(e, t) : t;
4159
4178
  }
4160
4179
  const Kt = (e) => e instanceof Le ? { ...e } : e;
4161
4180
  function Xe(e, t) {
@@ -4238,12 +4257,12 @@ const In = (e) => {
4238
4257
  });
4239
4258
  }
4240
4259
  }
4241
- if (Me.hasStandardBrowserEnv && (o && x.isFunction(o) && (o = o(t)), o || o !== !1 && Ji(t.url))) {
4242
- const m = r && i && Gi.read(i);
4260
+ if (Me.hasStandardBrowserEnv && (o && x.isFunction(o) && (o = o(t)), o || o !== !1 && Qi(t.url))) {
4261
+ const m = r && i && Zi.read(i);
4243
4262
  m && s.set(r, m);
4244
4263
  }
4245
4264
  return t;
4246
- }, Ki = typeof XMLHttpRequest < "u", ea = Ki && function(e) {
4265
+ }, ta = typeof XMLHttpRequest < "u", na = ta && function(e) {
4247
4266
  return new Promise(function(n, o) {
4248
4267
  const r = In(e);
4249
4268
  let i = r.data;
@@ -4294,14 +4313,14 @@ const In = (e) => {
4294
4313
  }), x.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), a && a !== "json" && (h.responseType = r.responseType), c && ([C, l] = ht(c, !0), h.addEventListener("progress", C)), m && h.upload && ([f, b] = ht(m), h.upload.addEventListener("progress", f), h.upload.addEventListener("loadend", b)), (r.cancelToken || r.signal) && (u = (q) => {
4295
4314
  h && (o(!q || q.type ? new Ke(null, e, h) : q), h.abort(), h = null);
4296
4315
  }, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
4297
- const M = Wi(r.url);
4316
+ const M = Yi(r.url);
4298
4317
  if (M && Me.protocols.indexOf(M) === -1) {
4299
4318
  o(new ce("Unsupported protocol " + M + ":", ce.ERR_BAD_REQUEST, e));
4300
4319
  return;
4301
4320
  }
4302
4321
  h.send(i || null);
4303
4322
  });
4304
- }, ta = (e, t) => {
4323
+ }, oa = (e, t) => {
4305
4324
  const { length: n } = e = e ? e.filter(Boolean) : [];
4306
4325
  if (t || n) {
4307
4326
  let o = new AbortController(), r;
@@ -4324,7 +4343,7 @@ const In = (e) => {
4324
4343
  const { signal: m } = o;
4325
4344
  return m.unsubscribe = () => x.asap(a), m;
4326
4345
  }
4327
- }, na = function* (e, t) {
4346
+ }, ra = function* (e, t) {
4328
4347
  let n = e.byteLength;
4329
4348
  if (n < t) {
4330
4349
  yield e;
@@ -4333,10 +4352,10 @@ const In = (e) => {
4333
4352
  let o = 0, r;
4334
4353
  for (; o < n; )
4335
4354
  r = o + t, yield e.slice(o, r), o = r;
4336
- }, oa = async function* (e, t) {
4337
- for await (const n of ra(e))
4338
- yield* na(n, t);
4339
- }, ra = async function* (e) {
4355
+ }, sa = async function* (e, t) {
4356
+ for await (const n of ia(e))
4357
+ yield* ra(n, t);
4358
+ }, ia = async function* (e) {
4340
4359
  if (e[Symbol.asyncIterator]) {
4341
4360
  yield* e;
4342
4361
  return;
@@ -4353,7 +4372,7 @@ const In = (e) => {
4353
4372
  await t.cancel();
4354
4373
  }
4355
4374
  }, en = (e, t, n, o) => {
4356
- const r = oa(e, t);
4375
+ const r = sa(e, t);
4357
4376
  let i = 0, s, a = (m) => {
4358
4377
  s || (s = !0, o && o(m));
4359
4378
  };
@@ -4381,7 +4400,7 @@ const In = (e) => {
4381
4400
  }, {
4382
4401
  highWaterMark: 2
4383
4402
  });
4384
- }, tn = 64 * 1024, { isFunction: ut } = x, sa = (({ Request: e, Response: t }) => ({
4403
+ }, tn = 64 * 1024, { isFunction: ut } = x, aa = (({ Request: e, Response: t }) => ({
4385
4404
  Request: e,
4386
4405
  Response: t
4387
4406
  }))(x.global), {
@@ -4393,10 +4412,10 @@ const In = (e) => {
4393
4412
  } catch {
4394
4413
  return !1;
4395
4414
  }
4396
- }, ia = (e) => {
4415
+ }, la = (e) => {
4397
4416
  e = x.merge.call({
4398
4417
  skipUndefined: !0
4399
- }, sa, e);
4418
+ }, aa, e);
4400
4419
  const { fetch: t, Request: n, Response: o } = e, r = t ? ut(t) : typeof fetch == "function", i = ut(n), s = ut(o);
4401
4420
  if (!r)
4402
4421
  return !1;
@@ -4455,8 +4474,8 @@ const In = (e) => {
4455
4474
  fetchOptions: X
4456
4475
  } = In(l), _ = t || fetch;
4457
4476
  T = T ? (T + "").toLowerCase() : "text";
4458
- let G = ta([M, q && q.toAbortSignal()], Y), oe = null;
4459
- const L = G && G.unsubscribe && (() => {
4477
+ let G = oa([M, q && q.toAbortSignal()], Y), oe = null;
4478
+ const $ = G && G.unsubscribe && (() => {
4460
4479
  G.unsubscribe();
4461
4480
  });
4462
4481
  let re;
@@ -4488,7 +4507,7 @@ const In = (e) => {
4488
4507
  oe = i && new n(y, he);
4489
4508
  let R = await (i ? _(oe, X) : _(y, he));
4490
4509
  const I = u && (T === "stream" || T === "response");
4491
- if (u && (H || I && L)) {
4510
+ if (u && (H || I && $)) {
4492
4511
  const te = {};
4493
4512
  ["status", "statusText", "headers"].forEach((v) => {
4494
4513
  te[v] = R[v];
@@ -4499,14 +4518,14 @@ const In = (e) => {
4499
4518
  ) || [];
4500
4519
  R = new o(
4501
4520
  en(R.body, tn, ke, () => {
4502
- be && be(), L && L();
4521
+ be && be(), $ && $();
4503
4522
  }),
4504
4523
  te
4505
4524
  );
4506
4525
  }
4507
4526
  T = T || "text";
4508
4527
  let ae = await f[x.findKey(f, T) || "text"](R, l);
4509
- return !I && L && L(), await new Promise((te, le) => {
4528
+ return !I && $ && $(), await new Promise((te, le) => {
4510
4529
  Bn(te, le, {
4511
4530
  data: ae,
4512
4531
  headers: Le.from(R.headers),
@@ -4517,7 +4536,7 @@ const In = (e) => {
4517
4536
  });
4518
4537
  });
4519
4538
  } catch (Q) {
4520
- throw L && L(), Q && Q.name === "TypeError" && /Load failed|fetch/i.test(Q.message) ? Object.assign(
4539
+ throw $ && $(), Q && Q.name === "TypeError" && /Load failed|fetch/i.test(Q.message) ? Object.assign(
4521
4540
  new ce("Network Error", ce.ERR_NETWORK, l, oe),
4522
4541
  {
4523
4542
  cause: Q.cause || Q
@@ -4525,22 +4544,22 @@ const In = (e) => {
4525
4544
  ) : ce.from(Q, Q && Q.code, l, oe);
4526
4545
  }
4527
4546
  };
4528
- }, aa = /* @__PURE__ */ new Map(), Ln = (e) => {
4547
+ }, ca = /* @__PURE__ */ new Map(), Ln = (e) => {
4529
4548
  let t = e && e.env || {};
4530
4549
  const { fetch: n, Request: o, Response: r } = t, i = [
4531
4550
  o,
4532
4551
  r,
4533
4552
  n
4534
4553
  ];
4535
- let s = i.length, a = s, m, c, u = aa;
4554
+ let s = i.length, a = s, m, c, u = ca;
4536
4555
  for (; a--; )
4537
- m = i[a], c = u.get(m), c === void 0 && u.set(m, c = a ? /* @__PURE__ */ new Map() : ia(t)), u = c;
4556
+ m = i[a], c = u.get(m), c === void 0 && u.set(m, c = a ? /* @__PURE__ */ new Map() : la(t)), u = c;
4538
4557
  return c;
4539
4558
  };
4540
4559
  Ln();
4541
4560
  const Dt = {
4542
- http: Pi,
4543
- xhr: ea,
4561
+ http: Fi,
4562
+ xhr: na,
4544
4563
  fetch: {
4545
4564
  get: Ln
4546
4565
  }
@@ -4554,8 +4573,8 @@ x.forEach(Dt, (e, t) => {
4554
4573
  Object.defineProperty(e, "adapterName", { value: t });
4555
4574
  }
4556
4575
  });
4557
- const sn = (e) => `- ${e}`, la = (e) => x.isFunction(e) || e === null || e === !1;
4558
- function ca(e, t) {
4576
+ const sn = (e) => `- ${e}`, ua = (e) => x.isFunction(e) || e === null || e === !1;
4577
+ function da(e, t) {
4559
4578
  e = x.isArray(e) ? e : [e];
4560
4579
  const { length: n } = e;
4561
4580
  let o, r;
@@ -4563,7 +4582,7 @@ function ca(e, t) {
4563
4582
  for (let s = 0; s < n; s++) {
4564
4583
  o = e[s];
4565
4584
  let a;
4566
- if (r = o, !la(o) && (r = Dt[(a = String(o)).toLowerCase()], r === void 0))
4585
+ if (r = o, !ua(o) && (r = Dt[(a = String(o)).toLowerCase()], r === void 0))
4567
4586
  throw new ce(`Unknown adapter '${a}'`);
4568
4587
  if (r && (x.isFunction(r) || (r = r.get(t))))
4569
4588
  break;
@@ -4588,7 +4607,7 @@ const $n = {
4588
4607
  * Resolve an adapter from a list of adapter names or functions.
4589
4608
  * @type {Function}
4590
4609
  */
4591
- getAdapter: ca,
4610
+ getAdapter: da,
4592
4611
  /**
4593
4612
  * Exposes all known adapters
4594
4613
  * @type {Object<string, Function|Object>}
@@ -4645,7 +4664,7 @@ xt.transitional = function(t, n, o) {
4645
4664
  xt.spelling = function(t) {
4646
4665
  return (n, o) => (console.warn(`${o} is likely a misspelling of ${t}`), !0);
4647
4666
  };
4648
- function ua(e, t, n) {
4667
+ function fa(e, t, n) {
4649
4668
  if (typeof e != "object")
4650
4669
  throw new ce("options must be an object", ce.ERR_BAD_OPTION_VALUE);
4651
4670
  const o = Object.keys(e);
@@ -4663,7 +4682,7 @@ function ua(e, t, n) {
4663
4682
  }
4664
4683
  }
4665
4684
  const vt = {
4666
- assertOptions: ua,
4685
+ assertOptions: fa,
4667
4686
  validators: xt
4668
4687
  }, _e = vt.validators;
4669
4688
  let We = class {
@@ -4790,7 +4809,7 @@ x.forEach(["post", "put", "patch"], function(t) {
4790
4809
  }
4791
4810
  We.prototype[t] = n(), We.prototype[t + "Form"] = n(!0);
4792
4811
  });
4793
- let da = class zn {
4812
+ let pa = class zn {
4794
4813
  constructor(t) {
4795
4814
  if (typeof t != "function")
4796
4815
  throw new TypeError("executor must be a function.");
@@ -4863,12 +4882,12 @@ let da = class zn {
4863
4882
  };
4864
4883
  }
4865
4884
  };
4866
- function fa(e) {
4885
+ function ma(e) {
4867
4886
  return function(n) {
4868
4887
  return e.apply(null, n);
4869
4888
  };
4870
4889
  }
4871
- function pa(e) {
4890
+ function va(e) {
4872
4891
  return x.isObject(e) && e.isAxiosError === !0;
4873
4892
  }
4874
4893
  const Bt = {
@@ -4954,7 +4973,7 @@ function Dn(e) {
4954
4973
  const Ce = Dn(lt);
4955
4974
  Ce.Axios = We;
4956
4975
  Ce.CanceledError = Ke;
4957
- Ce.CancelToken = da;
4976
+ Ce.CancelToken = pa;
4958
4977
  Ce.isCancel = Mn;
4959
4978
  Ce.VERSION = jn;
4960
4979
  Ce.toFormData = wt;
@@ -4963,8 +4982,8 @@ Ce.Cancel = Ce.CanceledError;
4963
4982
  Ce.all = function(t) {
4964
4983
  return Promise.all(t);
4965
4984
  };
4966
- Ce.spread = fa;
4967
- Ce.isAxiosError = pa;
4985
+ Ce.spread = ma;
4986
+ Ce.isAxiosError = va;
4968
4987
  Ce.mergeConfig = Xe;
4969
4988
  Ce.AxiosHeaders = Le;
4970
4989
  Ce.formToJSON = (e) => Rn(x.isHTMLForm(e) ? new FormData(e) : e);
@@ -4972,27 +4991,27 @@ Ce.getAdapter = $n.getAdapter;
4972
4991
  Ce.HttpStatusCode = Bt;
4973
4992
  Ce.default = Ce;
4974
4993
  const {
4975
- Axios: Sc,
4976
- AxiosError: Pc,
4977
- CanceledError: Ec,
4978
- isCancel: Fc,
4979
- CancelToken: Tc,
4980
- VERSION: kc,
4981
- all: Oc,
4982
- Cancel: Nc,
4983
- isAxiosError: Rc,
4984
- spread: Mc,
4985
- toFormData: Bc,
4986
- AxiosHeaders: Ac,
4987
- HttpStatusCode: Ic,
4988
- formToJSON: Lc,
4989
- getAdapter: $c,
4990
- mergeConfig: jc
4994
+ Axios: Ec,
4995
+ AxiosError: Fc,
4996
+ CanceledError: Tc,
4997
+ isCancel: kc,
4998
+ CancelToken: Oc,
4999
+ VERSION: Nc,
5000
+ all: Rc,
5001
+ Cancel: Mc,
5002
+ isAxiosError: Bc,
5003
+ spread: Ac,
5004
+ toFormData: Ic,
5005
+ AxiosHeaders: Lc,
5006
+ HttpStatusCode: $c,
5007
+ formToJSON: jc,
5008
+ getAdapter: zc,
5009
+ mergeConfig: Dc
4991
5010
  } = Ce, _n = {}, Un = {};
4992
- function ma(e, t) {
5011
+ function ha(e, t) {
4993
5012
  _n[e.title] = e, Un[e.title] = t;
4994
5013
  }
4995
- function va(e) {
5014
+ function ya(e) {
4996
5015
  function t(i) {
4997
5016
  return new Promise((s, a) => {
4998
5017
  Ce.get(i).then((m) => {
@@ -5010,7 +5029,7 @@ function va(e) {
5010
5029
  });
5011
5030
  Promise.all(c).then((u) => {
5012
5031
  u && Array.isArray(u) && u.length && u.forEach((f) => {
5013
- ma(f);
5032
+ ha(f);
5014
5033
  }), i(u);
5015
5034
  });
5016
5035
  }
@@ -5029,15 +5048,15 @@ function va(e) {
5029
5048
  loadNodeSchema: n
5030
5049
  };
5031
5050
  }
5032
- const ha = {
5051
+ const ga = {
5033
5052
  id: { type: String, default: "" },
5034
5053
  type: { type: String, default: "" },
5035
5054
  modelValue: { type: Object },
5036
5055
  x: { type: Number, default: 0 },
5037
5056
  y: { type: Number, default: 0 }
5038
- }, ya = /* @__PURE__ */ Re({
5057
+ }, ba = /* @__PURE__ */ Re({
5039
5058
  name: "FStartNode",
5040
- props: ha,
5059
+ props: ga,
5041
5060
  emits: [],
5042
5061
  setup(e, t) {
5043
5062
  var i;
@@ -5058,15 +5077,15 @@ const ha = {
5058
5077
  class: "start-node-label"
5059
5078
  }, [o.value || "开始"])]);
5060
5079
  }
5061
- }), ga = {
5080
+ }), Ca = {
5062
5081
  id: { type: String, default: "" },
5063
5082
  type: { type: String, default: "" },
5064
5083
  modelValue: { type: Object },
5065
5084
  x: { type: Number, default: 0 },
5066
5085
  y: { type: Number, default: 0 }
5067
- }, ba = /* @__PURE__ */ Re({
5086
+ }, wa = /* @__PURE__ */ Re({
5068
5087
  name: "FEndNode",
5069
- props: ga,
5088
+ props: Ca,
5070
5089
  emits: [],
5071
5090
  setup(e, t) {
5072
5091
  var r, i;
@@ -5080,14 +5099,14 @@ const ha = {
5080
5099
  class: "node-label"
5081
5100
  }, [o.value || "结束"])]);
5082
5101
  }
5083
- }), Ca = {
5102
+ }), xa = {
5084
5103
  id: { type: String, default: "" },
5085
5104
  type: { type: String, default: "" },
5086
5105
  modelValue: { type: Object },
5087
5106
  x: { type: Number, default: 0 },
5088
5107
  y: { type: Number, default: 0 }
5089
5108
  };
5090
- function wa(e, t = {}, n) {
5109
+ function Sa(e, t = {}, n) {
5091
5110
  const { onInputMouseUp: o, customStyles: r } = t, i = e.offset || 4, s = {
5092
5111
  position: "absolute",
5093
5112
  [e.position]: `${i * -1}px`,
@@ -5108,7 +5127,7 @@ function wa(e, t = {}, n) {
5108
5127
  style: { ...s, ...r }
5109
5128
  });
5110
5129
  }
5111
- function xa(e, t = {}, n) {
5130
+ function Pa(e, t = {}, n) {
5112
5131
  const { onOutputMouseDown: o, customStyles: r } = t, i = e.offset || 4, s = {
5113
5132
  position: "absolute",
5114
5133
  [e.position]: `${i * -1}px`,
@@ -5155,17 +5174,17 @@ function Hn(e, t = {}, n) {
5155
5174
  style: { ...s, ...r }
5156
5175
  });
5157
5176
  }
5158
- function Sa(e = [], t = [], n = {}, o) {
5177
+ function Ea(e = [], t = [], n = {}, o) {
5159
5178
  const r = [];
5160
5179
  return e.forEach((i) => {
5161
- r.push(wa(i, n));
5180
+ r.push(Sa(i, n));
5162
5181
  }), t.forEach((i) => {
5163
- r.push(xa(i, n));
5182
+ r.push(Pa(i, n));
5164
5183
  }), r;
5165
5184
  }
5166
- const Pa = /* @__PURE__ */ Re({
5185
+ const Fa = /* @__PURE__ */ Re({
5167
5186
  name: "FIfNode",
5168
- props: Ca,
5187
+ props: xa,
5169
5188
  emits: ["connection-start", "node-select", "node-mouse-down"],
5170
5189
  setup(e, t) {
5171
5190
  var f;
@@ -5242,15 +5261,15 @@ const Pa = /* @__PURE__ */ Re({
5242
5261
  onClick: i
5243
5262
  }, [a(), o.value && o.value.length > 0 ? c() : u()]);
5244
5263
  }
5245
- }), Ea = {
5264
+ }), Ta = {
5246
5265
  id: { type: String, default: "" },
5247
5266
  type: { type: String, default: "" },
5248
5267
  modelValue: { type: Object },
5249
5268
  x: { type: Number, default: 0 },
5250
5269
  y: { type: Number, default: 0 }
5251
- }, Fa = /* @__PURE__ */ Re({
5270
+ }, ka = /* @__PURE__ */ Re({
5252
5271
  name: "FSelectorNode",
5253
- props: Ea,
5272
+ props: Ta,
5254
5273
  emits: ["connection-start", "node-select"],
5255
5274
  setup(e, t) {
5256
5275
  w(e.id), w(e.modelValue);
@@ -5336,15 +5355,15 @@ const Pa = /* @__PURE__ */ Re({
5336
5355
  id: "cutout"
5337
5356
  }])]);
5338
5357
  }
5339
- }), Ta = {
5358
+ }), Oa = {
5340
5359
  id: { type: String, default: "" },
5341
5360
  type: { type: String, default: "" },
5342
5361
  modelValue: { type: Object },
5343
5362
  x: { type: Number, default: 0 },
5344
5363
  y: { type: Number, default: 0 }
5345
- }, ka = /* @__PURE__ */ Re({
5364
+ }, Na = /* @__PURE__ */ Re({
5346
5365
  name: "FEmptyNode",
5347
- props: Ta,
5366
+ props: Oa,
5348
5367
  emits: [],
5349
5368
  setup(e) {
5350
5369
  var o, r;
@@ -5358,7 +5377,7 @@ const Pa = /* @__PURE__ */ Re({
5358
5377
  class: "empty-node-text"
5359
5378
  }, [n.value || e.type || "Node"])]);
5360
5379
  }
5361
- }), Oa = {
5380
+ }), Ra = {
5362
5381
  id: {
5363
5382
  type: String,
5364
5383
  default: ""
@@ -5381,7 +5400,7 @@ const Pa = /* @__PURE__ */ Re({
5381
5400
  }
5382
5401
  }, At = /* @__PURE__ */ Re({
5383
5402
  name: "FDynamicNode",
5384
- props: Oa,
5403
+ props: Ra,
5385
5404
  emits: [],
5386
5405
  setup(e) {
5387
5406
  const t = w(e.modelValue), n = fe(() => {
@@ -5441,16 +5460,16 @@ const Pa = /* @__PURE__ */ Re({
5441
5460
  return () => a();
5442
5461
  }
5443
5462
  }), nt = {
5444
- "Start Node": ya,
5445
- "End Node": ba,
5446
- "If Node": Pa,
5447
- "Selector Node": Fa,
5448
- "Empty Node": ka,
5463
+ "Start Node": ba,
5464
+ "End Node": wa,
5465
+ "If Node": Fa,
5466
+ "Selector Node": ka,
5467
+ "Empty Node": Na,
5449
5468
  "Test Node": At,
5450
5469
  // Test Node使用动态组件渲染
5451
5470
  "Dynamic Node": At
5452
5471
  };
5453
- function Na(e) {
5472
+ function Ma(e) {
5454
5473
  if (nt[e])
5455
5474
  return nt[e];
5456
5475
  const t = e.toLowerCase(), o = {
@@ -5470,7 +5489,7 @@ function Na(e) {
5470
5489
  }[t];
5471
5490
  return o && nt[o] ? nt[o] : At;
5472
5491
  }
5473
- function Ra(e, t) {
5492
+ function Ba(e, t) {
5474
5493
  const { getNodeSchema: n, getNodeSchemaResolver: o } = t;
5475
5494
  function r(f, C) {
5476
5495
  if (Array.isArray(f))
@@ -5545,7 +5564,7 @@ function Ra(e, t) {
5545
5564
  loadNodeComponent: u
5546
5565
  };
5547
5566
  }
5548
- const Ma = {
5567
+ const Aa = {
5549
5568
  id: { type: String, default: "" },
5550
5569
  type: { type: String, default: "" },
5551
5570
  modelValue: { type: Object },
@@ -5561,7 +5580,7 @@ const Ma = {
5561
5580
  icon: { type: String, default: "" },
5562
5581
  class: { type: String, default: "" }
5563
5582
  };
5564
- function Ba() {
5583
+ function Ia() {
5565
5584
  const e = Ue("use-drawing-bezier-composition"), { drawFrom: t } = e, n = w(!1), o = w(null);
5566
5585
  function r(c) {
5567
5586
  const u = c.match(/^(.+?)-option-\d+-output$/);
@@ -5597,9 +5616,9 @@ function Ba() {
5597
5616
  resetDragState: i
5598
5617
  };
5599
5618
  }
5600
- const Aa = /* @__PURE__ */ Re({
5619
+ const La = /* @__PURE__ */ Re({
5601
5620
  name: "FFlowNodeItem",
5602
- props: Ma,
5621
+ props: Aa,
5603
5622
  emits: ["connection-start", "connection-end", "node-drag", "node-select", "contextmenu", "click"],
5604
5623
  setup(e, t) {
5605
5624
  var be;
@@ -5625,12 +5644,12 @@ const Aa = /* @__PURE__ */ Re({
5625
5644
  addConnection: M
5626
5645
  } = O, {
5627
5646
  handleOutputPortMouseDown: q
5628
- } = Ba(), Y = Ue("use-selection-composition"), {
5647
+ } = Ia(), Y = Ue("use-selection-composition"), {
5629
5648
  selectNode: H,
5630
5649
  selectedNodeId: W,
5631
5650
  selectedConnectionId: T,
5632
5651
  clearSelection: K
5633
- } = Y, ee = fe(() => W.value === n.value), X = w(!1), _ = w(0), G = w(0), oe = w(e.x), L = w(e.y), re = fe(() => ({
5652
+ } = Y, ee = fe(() => W.value === n.value), X = w(!1), _ = w(0), G = w(0), oe = w(e.x), $ = w(e.y), re = fe(() => ({
5634
5653
  left: `${i.value}px`,
5635
5654
  top: `${s.value}px`,
5636
5655
  position: "absolute",
@@ -5640,11 +5659,11 @@ const Aa = /* @__PURE__ */ Re({
5640
5659
  }, he = (v) => {
5641
5660
  if (v.target.classList.contains("f-flow-ancher"))
5642
5661
  return;
5643
- X.value = !0, _.value = v.clientX, G.value = v.clientY, oe.value = i.value, L.value = s.value;
5662
+ X.value = !0, _.value = v.clientX, G.value = v.clientY, oe.value = i.value, $.value = s.value;
5644
5663
  const E = (N) => {
5645
5664
  if (!X.value)
5646
5665
  return;
5647
- const P = N.clientX - _.value, ne = N.clientY - G.value, Z = oe.value + P, ge = L.value + ne;
5666
+ const P = N.clientX - _.value, ne = N.clientY - G.value, Z = oe.value + P, ge = $.value + ne;
5648
5667
  t.emit("node-drag", {
5649
5668
  id: n.value,
5650
5669
  x: Z,
@@ -5692,7 +5711,7 @@ const Aa = /* @__PURE__ */ Re({
5692
5711
  return ee.value ? `${v} selected` : v;
5693
5712
  });
5694
5713
  function le() {
5695
- const v = a.value || "empty", p = Na(v);
5714
+ const v = a.value || "empty", p = Ma(v);
5696
5715
  return g(p, Lt({
5697
5716
  ref: r
5698
5717
  }, e, {
@@ -5707,7 +5726,7 @@ const Aa = /* @__PURE__ */ Re({
5707
5726
  function ke() {
5708
5727
  var E, B;
5709
5728
  const v = ((E = o.value) == null ? void 0 : E.input) || [], p = ((B = o.value) == null ? void 0 : B.output) || [];
5710
- return Sa(v, p, {
5729
+ return Ea(v, p, {
5711
5730
  onInputMouseUp: (N, P) => {
5712
5731
  if (P.stopPropagation(), c.value) {
5713
5732
  const ne = c.value;
@@ -5816,7 +5835,7 @@ const Aa = /* @__PURE__ */ Re({
5816
5835
  style: "background: none; border: none; font-size: 18px; cursor: pointer; color: #666;"
5817
5836
  }, [Ne("×")])]), n.value.map((s) => i(s))])])]) : null;
5818
5837
  }
5819
- }), Ia = {
5838
+ }), $a = {
5820
5839
  visible: {
5821
5840
  type: Boolean,
5822
5841
  default: !1
@@ -5836,9 +5855,9 @@ const Aa = /* @__PURE__ */ Re({
5836
5855
  type: Function,
5837
5856
  required: !0
5838
5857
  }
5839
- }, La = /* @__PURE__ */ Re({
5858
+ }, ja = /* @__PURE__ */ Re({
5840
5859
  name: "ContextMenu",
5841
- props: Ia,
5860
+ props: $a,
5842
5861
  setup(e) {
5843
5862
  const t = w(), n = w({
5844
5863
  x: 0,
@@ -5903,7 +5922,7 @@ const Aa = /* @__PURE__ */ Re({
5903
5922
  }, [a.label])]))])]) : null;
5904
5923
  }
5905
5924
  });
5906
- function $a() {
5925
+ function za() {
5907
5926
  const e = "./assets/flow-canvas/config-default.json", t = {
5908
5927
  /** 节点组件集合 */
5909
5928
  nodeUrl: "",
@@ -5926,7 +5945,7 @@ function $a() {
5926
5945
  }
5927
5946
  return { options: t, initialize: n };
5928
5947
  }
5929
- function ja(e) {
5948
+ function Da(e) {
5930
5949
  const t = w([]);
5931
5950
  function n() {
5932
5951
  return new Promise((o, r) => {
@@ -5940,7 +5959,7 @@ function ja(e) {
5940
5959
  nodeTypes: t
5941
5960
  };
5942
5961
  }
5943
- function za(e, t) {
5962
+ function _a(e, t) {
5944
5963
  const n = w(null), o = w(null);
5945
5964
  function r() {
5946
5965
  o.value && t.updateConnectionSelection(o.value, !1), n.value = null, o.value = null;
@@ -5961,9 +5980,9 @@ function za(e, t) {
5961
5980
  clearSelection: r
5962
5981
  };
5963
5982
  }
5964
- function Da(e) {
5983
+ function Ua(e) {
5965
5984
  function t(r, i = {}, s = (a) => a) {
5966
- Rr[r] = i, Mr[r] = s;
5985
+ Mr[r] = i, Br[r] = s;
5967
5986
  }
5968
5987
  function n(r) {
5969
5988
  return new Promise((i, s) => {
@@ -5993,16 +6012,16 @@ function Da(e) {
5993
6012
  loadPropertyConfig: o
5994
6013
  };
5995
6014
  }
5996
- const zc = /* @__PURE__ */ Re({
6015
+ const _c = /* @__PURE__ */ Re({
5997
6016
  name: "FFlowCanvas",
5998
- props: As,
6017
+ props: Ls,
5999
6018
  emits: ["update:modelValue", "selectionChange"],
6000
6019
  setup(e, t) {
6001
- const n = w(e.modelValue), o = w(), r = w(), i = w(), s = w(!1), a = w(), m = Is(), c = $s(), u = $a(), f = u.initialize(), C = va(u), b = ja(u), l = Ra(u, C), y = Da(u);
6020
+ const n = w(e.modelValue), o = w(), r = w(), i = w(), s = w(!1), a = w(), m = $s(), c = zs(), u = za(), f = u.initialize(), C = ya(u), b = Da(u), l = Ba(u, C), y = Ua(u);
6002
6021
  f.then((d) => {
6003
6022
  C.loadNodeSchema(), b.loadToolbox(), l.loadNodeComponent(), y.loadPropertyConfig();
6004
6023
  });
6005
- const h = za(t, m), {
6024
+ const h = _a(t, m), {
6006
6025
  selectedNodeId: O,
6007
6026
  selectedConnectionId: M,
6008
6027
  selectNode: q,
@@ -6012,12 +6031,12 @@ const zc = /* @__PURE__ */ Re({
6012
6031
  et("FlowCanvasToolboxService", b);
6013
6032
  const X = Ue("SchemaService", {}), {
6014
6033
  createNodeModelByType: _
6015
- } = l, G = js({
6034
+ } = l, G = Ds({
6016
6035
  schema: n,
6017
6036
  useBezierCurveComposition: m,
6018
6037
  useConnectionsComposition: c,
6019
6038
  onSchemaUpdate: (d) => t.emit("update:modelValue", d)
6020
- }), oe = Ls(m, G), L = w({
6039
+ }), oe = js(m, G), $ = w({
6021
6040
  visible: !1,
6022
6041
  position: {
6023
6042
  x: 0,
@@ -6052,7 +6071,7 @@ const zc = /* @__PURE__ */ Re({
6052
6071
  const F = R(d);
6053
6072
  return F >= 0 && ((Oe = (Pe = n.value) == null ? void 0 : Pe.diagram) != null && Oe.nodes) && (($e = (je = n.value) == null ? void 0 : je.diagram) == null || $e.nodes.splice(F, 1)), S >= 0 || F >= 0;
6054
6073
  }, te = () => {
6055
- L.value = {
6074
+ $.value = {
6056
6075
  visible: !1,
6057
6076
  position: {
6058
6077
  x: 0,
@@ -6210,13 +6229,13 @@ const zc = /* @__PURE__ */ Re({
6210
6229
  };
6211
6230
  }, ge = () => {
6212
6231
  const d = [];
6213
- return L.value.type === "node" ? d.push({
6232
+ return $.value.type === "node" ? d.push({
6214
6233
  id: "delete-node",
6215
6234
  label: "删除节点",
6216
6235
  onClick: () => {
6217
6236
  v(), te();
6218
6237
  }
6219
- }) : L.value.type === "connection" && d.push({
6238
+ }) : $.value.type === "connection" && d.push({
6220
6239
  id: "delete-connection",
6221
6240
  label: "删除连接",
6222
6241
  onClick: () => {
@@ -6224,7 +6243,7 @@ const zc = /* @__PURE__ */ Re({
6224
6243
  }
6225
6244
  }), d;
6226
6245
  }, we = (d, S) => {
6227
- S.preventDefault(), S.stopPropagation(), L.value = {
6246
+ S.preventDefault(), S.stopPropagation(), $.value = {
6228
6247
  visible: !0,
6229
6248
  position: {
6230
6249
  x: S.clientX,
@@ -6242,7 +6261,7 @@ const zc = /* @__PURE__ */ Re({
6242
6261
  }, xe = (d) => {
6243
6262
  te(), Y(d);
6244
6263
  }, se = (d, S) => {
6245
- S.preventDefault(), S.stopPropagation(), L.value = {
6264
+ S.preventDefault(), S.stopPropagation(), $.value = {
6246
6265
  visible: !0,
6247
6266
  position: {
6248
6267
  x: S.clientX,
@@ -6339,7 +6358,7 @@ const zc = /* @__PURE__ */ Re({
6339
6358
  x: 0,
6340
6359
  y: 0
6341
6360
  }, Pe = w();
6342
- return g(Aa, {
6361
+ return g(La, {
6343
6362
  ref: Pe,
6344
6363
  modelValue: F,
6345
6364
  key: F.id,
@@ -6383,15 +6402,15 @@ const zc = /* @__PURE__ */ Re({
6383
6402
  showButtons: !1,
6384
6403
  position: "right"
6385
6404
  }, {
6386
- default: () => [g(Bs, {
6405
+ default: () => [g(Is, {
6387
6406
  ref: a,
6388
6407
  propertyConfig: o.value,
6389
6408
  propertyName: r.value,
6390
6409
  schema: i.value
6391
6410
  }, null)]
6392
- }), g(La, {
6393
- visible: L.value.visible,
6394
- position: L.value.position,
6411
+ }), g(ja, {
6412
+ visible: $.value.visible,
6413
+ position: $.value.position,
6395
6414
  options: ge(),
6396
6415
  onClose: te
6397
6416
  }, null)])]);
@@ -6399,6 +6418,6 @@ const zc = /* @__PURE__ */ Re({
6399
6418
  }
6400
6419
  });
6401
6420
  export {
6402
- zc as FFlowCanvas,
6403
- As as flowCanvasProps
6421
+ _c as FFlowCanvas,
6422
+ Ls as flowCanvasProps
6404
6423
  };