@farris/ui-vue 1.2.4 → 1.2.6

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 (279) hide show
  1. package/components/accordion/index.esm.js +58 -58
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +1 -1
  4. package/components/avatar/index.esm.js +124 -116
  5. package/components/avatar/index.umd.cjs +1 -1
  6. package/components/avatar/package.json +1 -1
  7. package/components/border-editor/package.json +1 -1
  8. package/components/button/package.json +1 -1
  9. package/components/button-edit/index.css +1 -0
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/index.esm.js +1 -1
  15. package/components/capsule/index.umd.cjs +1 -1
  16. package/components/capsule/package.json +1 -1
  17. package/components/checkbox/index.esm.js +219 -209
  18. package/components/checkbox/index.umd.cjs +1 -1
  19. package/components/checkbox/package.json +1 -1
  20. package/components/color-picker/package.json +1 -1
  21. package/components/combo-list/index.esm.js +36 -28
  22. package/components/combo-list/index.umd.cjs +1 -1
  23. package/components/combo-list/package.json +1 -1
  24. package/components/combo-tree/index.esm.js +340 -107
  25. package/components/combo-tree/index.umd.cjs +1 -1
  26. package/components/combo-tree/package.json +1 -1
  27. package/components/common/index.esm.js +2 -2
  28. package/components/common/index.umd.cjs +1 -1
  29. package/components/common/package.json +1 -1
  30. package/components/component/index.esm.js +36 -29
  31. package/components/component/index.umd.cjs +1 -1
  32. package/components/component/package.json +1 -1
  33. package/components/condition/index.esm.js +406 -402
  34. package/components/condition/index.umd.cjs +1 -1
  35. package/components/condition/package.json +1 -1
  36. package/components/content-container/index.esm.js +9 -13
  37. package/components/content-container/index.umd.cjs +1 -1
  38. package/components/content-container/package.json +1 -1
  39. package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
  40. package/components/data-grid/index.esm.js +4439 -4273
  41. package/components/data-grid/index.umd.cjs +1 -1
  42. package/components/data-grid/package.json +1 -1
  43. package/components/data-view/index.esm.js +2904 -2892
  44. package/components/data-view/index.umd.cjs +1 -1
  45. package/components/data-view/package.json +1 -1
  46. package/components/date-picker/index.esm.js +250 -242
  47. package/components/date-picker/index.umd.cjs +1 -1
  48. package/components/date-picker/package.json +1 -1
  49. package/components/designer-canvas/index.css +1 -0
  50. package/components/designer-canvas/index.esm.js +24 -21
  51. package/components/designer-canvas/index.umd.cjs +1 -1
  52. package/components/designer-canvas/package.json +1 -1
  53. package/components/designer-outline/index.esm.js +44 -42
  54. package/components/designer-outline/index.umd.cjs +1 -1
  55. package/components/designer-outline/package.json +1 -1
  56. package/components/designer-toolbox/index.esm.js +28 -467
  57. package/components/designer-toolbox/index.umd.cjs +1 -1
  58. package/components/designer-toolbox/package.json +1 -1
  59. package/components/discussion-editor/package.json +1 -1
  60. package/components/discussion-list/package.json +1 -1
  61. package/components/drawer/package.json +1 -1
  62. package/components/dropdown/index.esm.js +86 -86
  63. package/components/dropdown/index.umd.cjs +1 -1
  64. package/components/dropdown/package.json +1 -1
  65. package/components/dynamic-form/index.esm.js +984 -928
  66. package/components/dynamic-form/index.umd.cjs +1 -1
  67. package/components/dynamic-form/package.json +1 -1
  68. package/components/dynamic-resolver/index.esm.js +56 -47
  69. package/components/dynamic-resolver/index.umd.cjs +1 -1
  70. package/components/dynamic-resolver/package.json +1 -1
  71. package/components/dynamic-view/index.esm.js +281 -277
  72. package/components/dynamic-view/index.umd.cjs +1 -1
  73. package/components/dynamic-view/package.json +1 -1
  74. package/components/enum-editor/package.json +1 -1
  75. package/components/events-editor/package.json +1 -1
  76. package/components/expression-editor/package.json +1 -1
  77. package/components/external-container/index.css +1 -0
  78. package/components/external-container/index.esm.js +1917 -1901
  79. package/components/external-container/index.umd.cjs +1 -1
  80. package/components/external-container/package.json +1 -1
  81. package/components/field-selector/index.css +1 -0
  82. package/components/field-selector/index.esm.js +4185 -4023
  83. package/components/field-selector/index.umd.cjs +1 -1
  84. package/components/field-selector/package.json +1 -1
  85. package/components/filter-bar/{style.css → index.css} +1 -1
  86. package/components/filter-bar/index.esm.js +595 -581
  87. package/components/filter-bar/index.umd.cjs +1 -1
  88. package/components/filter-bar/package.json +1 -1
  89. package/components/flow-canvas/index.css +1 -0
  90. package/components/flow-canvas/index.esm.js +38 -35
  91. package/components/flow-canvas/index.umd.cjs +1 -1
  92. package/components/flow-canvas/package.json +1 -1
  93. package/components/image-cropper/package.json +1 -1
  94. package/components/input-group/index.esm.js +256 -248
  95. package/components/input-group/index.umd.cjs +1 -1
  96. package/components/input-group/package.json +1 -1
  97. package/components/layout/package.json +1 -1
  98. package/components/list-nav/package.json +1 -1
  99. package/components/list-view/index.esm.js +1522 -1519
  100. package/components/list-view/index.umd.cjs +1 -1
  101. package/components/list-view/package.json +1 -1
  102. package/components/loading/package.json +1 -1
  103. package/components/locale/package.json +1 -1
  104. package/components/lookup/index.css +1 -0
  105. package/components/lookup/index.esm.js +4629 -4410
  106. package/components/lookup/index.umd.cjs +1 -1
  107. package/components/lookup/package.json +1 -1
  108. package/components/mapping-editor/index.css +1 -0
  109. package/components/mapping-editor/index.esm.js +4454 -4255
  110. package/components/mapping-editor/index.umd.cjs +1 -1
  111. package/components/mapping-editor/package.json +1 -1
  112. package/components/message-box/index.css +1 -0
  113. package/components/message-box/index.esm.js +397 -386
  114. package/components/message-box/index.umd.cjs +1 -1
  115. package/components/message-box/package.json +1 -1
  116. package/components/modal/index.css +1 -0
  117. package/components/modal/index.esm.js +308 -297
  118. package/components/modal/index.umd.cjs +1 -1
  119. package/components/modal/package.json +1 -1
  120. package/components/nav/index.esm.js +511 -469
  121. package/components/nav/index.umd.cjs +2 -2
  122. package/components/nav/package.json +1 -1
  123. package/components/notify/package.json +1 -1
  124. package/components/order/index.esm.js +972 -920
  125. package/components/order/index.umd.cjs +1 -1
  126. package/components/order/package.json +1 -1
  127. package/components/page-footer/package.json +1 -1
  128. package/components/page-header/index.esm.js +917 -893
  129. package/components/page-header/index.umd.cjs +1 -1
  130. package/components/page-header/package.json +1 -1
  131. package/components/pagination/index.esm.js +491 -449
  132. package/components/pagination/index.umd.cjs +1 -1
  133. package/components/pagination/package.json +1 -1
  134. package/components/popover/package.json +1 -1
  135. package/components/progress/package.json +1 -1
  136. package/components/property-editor/index.esm.js +108 -101
  137. package/components/property-editor/index.umd.cjs +2 -2
  138. package/components/property-editor/package.json +1 -1
  139. package/components/property-panel/index.esm.js +361 -349
  140. package/components/property-panel/index.umd.cjs +1 -1
  141. package/components/property-panel/package.json +1 -1
  142. package/components/radio-button/package.json +1 -1
  143. package/components/radio-group/index.esm.js +72 -64
  144. package/components/radio-group/index.umd.cjs +1 -1
  145. package/components/radio-group/package.json +1 -1
  146. package/components/rate/package.json +1 -1
  147. package/components/response-layout/package.json +1 -1
  148. package/components/response-layout-editor/{style.css → index.css} +1 -1
  149. package/components/response-layout-editor/index.esm.js +452 -439
  150. package/components/response-layout-editor/index.umd.cjs +1 -1
  151. package/components/response-layout-editor/package.json +1 -1
  152. package/components/response-toolbar/index.esm.js +610 -592
  153. package/components/response-toolbar/index.umd.cjs +1 -1
  154. package/components/response-toolbar/package.json +1 -1
  155. package/components/schema-selector/index.css +1 -0
  156. package/components/schema-selector/index.esm.js +4041 -3749
  157. package/components/schema-selector/index.umd.cjs +8 -1
  158. package/components/schema-selector/package.json +1 -1
  159. package/components/search-box/package.json +1 -1
  160. package/components/section/index.esm.js +21 -14
  161. package/components/section/index.umd.cjs +1 -1
  162. package/components/section/package.json +1 -1
  163. package/components/smoke-detector/package.json +1 -1
  164. package/components/spacing-editor/package.json +1 -1
  165. package/components/splitter/package.json +1 -1
  166. package/components/step/package.json +1 -1
  167. package/components/switch/index.esm.js +159 -178
  168. package/components/switch/index.umd.cjs +1 -1
  169. package/components/switch/package.json +1 -1
  170. package/components/tabs/index.css +1 -0
  171. package/components/tabs/index.esm.js +1450 -1408
  172. package/components/tabs/index.umd.cjs +1 -1
  173. package/components/tabs/package.json +1 -1
  174. package/components/tags/package.json +1 -1
  175. package/components/text/package.json +1 -1
  176. package/components/textarea/index.esm.js +86 -78
  177. package/components/textarea/index.umd.cjs +1 -1
  178. package/components/textarea/package.json +1 -1
  179. package/components/time-picker/index.css +1 -0
  180. package/components/time-picker/index.esm.js +387 -379
  181. package/components/time-picker/index.umd.cjs +1 -1
  182. package/components/time-picker/package.json +1 -1
  183. package/components/tooltip/package.json +1 -1
  184. package/components/transfer/index.esm.js +95 -93
  185. package/components/transfer/index.umd.cjs +1 -1
  186. package/components/transfer/package.json +1 -1
  187. package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
  188. package/components/tree-grid/index.esm.js +4437 -4271
  189. package/components/tree-grid/index.umd.cjs +1 -1
  190. package/components/tree-grid/package.json +1 -1
  191. package/components/tree-view/index.esm.js +1989 -1985
  192. package/components/tree-view/index.umd.cjs +1 -1
  193. package/components/tree-view/package.json +1 -1
  194. package/components/uploader/package.json +1 -1
  195. package/components/verify-detail/package.json +1 -1
  196. package/components/video/package.json +1 -1
  197. package/components/weather/package.json +1 -1
  198. package/farris.all.esm.js +12989 -12513
  199. package/farris.all.umd.cjs +9 -9
  200. package/index.css +1 -0
  201. package/package.json +2 -2
  202. package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
  203. package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
  204. package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
  205. package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
  206. package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
  207. package/types/components.d.ts +1 -0
  208. package/types/condition/index.d.ts +60 -1
  209. package/types/data-grid/index.d.ts +5 -5
  210. package/types/data-grid/src/data-grid.component.d.ts +2 -2
  211. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  212. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
  213. package/types/data-view/components/column-setting/column-setting.component.d.ts +2 -1
  214. package/types/data-view/composition/types.d.ts +2 -0
  215. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
  216. package/types/designer-canvas/src/composition/types.d.ts +1 -0
  217. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +3 -3
  218. package/types/dynamic-form/src/types.d.ts +1 -1
  219. package/types/dynamic-resolver/index.d.ts +1 -0
  220. package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
  221. package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
  222. package/types/list-view/src/composition/types.d.ts +1 -1
  223. package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
  224. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +8 -0
  225. package/types/lookup/src/property-config/lookup.property-config.d.ts +29 -25
  226. package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
  227. package/types/message-box/index.d.ts +84 -1
  228. package/types/modal/src/modal.component.d.ts +3 -3
  229. package/types/modal/src/modal.props.d.ts +3 -5
  230. package/types/notify/index.d.ts +84 -1
  231. package/types/page-header/src/page-header.props.d.ts +7 -0
  232. package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
  233. package/types/property-panel/src/composition/entity/base-property.d.ts +2 -0
  234. package/types/response-toolbar/index.d.ts +9 -3
  235. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
  236. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
  237. package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
  238. package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
  239. package/types/schema-selector/src/composition/types.d.ts +3 -1
  240. package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
  241. package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
  242. package/types/tabs/src/tabs.props.d.ts +8 -0
  243. package/types/tree-grid/src/schema/column-resolver.d.ts +3 -0
  244. package/components/button-edit/style.css +0 -1
  245. package/components/designer-canvas/style.css +0 -1
  246. package/components/external-container/style.css +0 -1
  247. package/components/field-selector/style.css +0 -1
  248. package/components/flow-canvas/style.css +0 -1
  249. package/components/lookup/style.css +0 -1
  250. package/components/mapping-editor/style.css +0 -1
  251. package/components/message-box/style.css +0 -1
  252. package/components/modal/style.css +0 -1
  253. package/components/schema-selector/style.css +0 -1
  254. package/components/tabs/style.css +0 -1
  255. package/components/time-picker/style.css +0 -1
  256. package/style.css +0 -1
  257. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
  258. /package/components/border-editor/{style.css → index.css} +0 -0
  259. /package/components/checkbox/{style.css → index.css} +0 -0
  260. /package/components/date-picker/{style.css → index.css} +0 -0
  261. /package/components/designer-outline/{style.css → index.css} +0 -0
  262. /package/components/designer-toolbox/{style.css → index.css} +0 -0
  263. /package/components/discussion-editor/{style.css → index.css} +0 -0
  264. /package/components/discussion-list/{style.css → index.css} +0 -0
  265. /package/components/drawer/{style.css → index.css} +0 -0
  266. /package/components/events-editor/{style.css → index.css} +0 -0
  267. /package/components/list-view/{style.css → index.css} +0 -0
  268. /package/components/order/{style.css → index.css} +0 -0
  269. /package/components/property-editor/{style.css → index.css} +0 -0
  270. /package/components/property-panel/{style.css → index.css} +0 -0
  271. /package/components/radio-button/{style.css → index.css} +0 -0
  272. /package/components/radio-group/{style.css → index.css} +0 -0
  273. /package/components/smoke-detector/{style.css → index.css} +0 -0
  274. /package/components/spacing-editor/{style.css → index.css} +0 -0
  275. /package/components/splitter/{style.css → index.css} +0 -0
  276. /package/components/switch/{style.css → index.css} +0 -0
  277. /package/components/transfer/{style.css → index.css} +0 -0
  278. /package/components/uploader/{style.css → index.css} +0 -0
  279. /package/components/weather/{style.css → index.css} +0 -0
@@ -1,23 +1,23 @@
1
1
  var Kt = Object.defineProperty;
2
2
  var Jt = (e, n, t) => n in e ? Kt(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var L = (e, n, t) => Jt(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { ref as y, defineComponent as q, watch as N, computed as V, createVNode as S, inject as Z, onMounted as G, nextTick as Ie, reactive as en, withDirectives as ve, resolveDirective as tn, Fragment as me, vModelText as Oe } from "vue";
4
+ import { ref as y, defineComponent as q, watch as I, computed as V, createVNode as S, inject as Z, onMounted as H, nextTick as Ne, reactive as en, withDirectives as ve, resolveDirective as tn, Fragment as me, vModelText as Oe } from "vue";
5
5
  import { cloneDeep as F } from "lodash-es";
6
6
  import nn from "@farris/ui-vue/components/list-view";
7
7
  import _e from "@farris/ui-vue/components/button-edit";
8
8
  import { useDesignerComponent as on } from "@farris/ui-vue/components/designer-canvas/src/composition/function/use-designer-component";
9
9
  import j from "bignumber.js";
10
10
  import { useNumber as rn, useFormat as an, useSpinner as ln, useTextBox as un } from "@farris/ui-vue/components/number-spinner";
11
- const He = {}, Ge = {};
11
+ const Ge = {}, He = {};
12
12
  function ge(e) {
13
13
  const { properties: n, title: t } = e, o = Object.keys(n).reduce((r, a) => (r[a] = n[a].type === "object" && n[a].properties ? ge(n[a]) : F(n[a].default), r), {});
14
14
  return o.id = `${t}-${Date.now()}`, o;
15
15
  }
16
16
  function ye(e, n = {}) {
17
- const t = He[e];
17
+ const t = Ge[e];
18
18
  if (t) {
19
19
  let o = ge(t);
20
- const r = Ge[e];
20
+ const r = He[e];
21
21
  return o = r ? r({ getSchemaByType: ye }, o, n) : o, o;
22
22
  }
23
23
  return null;
@@ -102,9 +102,9 @@ function pn(e = {}) {
102
102
  const g = {
103
103
  Button: { type: "Button", name: "按钮", icon: "Button" },
104
104
  ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
105
- ToolBar: { type: "ToolBar", name: "工具栏", icon: "ButtonGroup" },
106
- ToolBarItem: { type: "ToolBarItem", name: "工具栏项", icon: "Button" },
107
- ContentContainer: { type: "ContentContainer", name: "容器", icon: "ContentContainer" },
105
+ "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
106
+ "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
107
+ "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
108
108
  DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
109
109
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
110
110
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
@@ -131,15 +131,15 @@ const g = {
131
131
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
132
132
  Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
133
133
  Module: { type: "Module", name: "模块", icon: "Module" },
134
- Component: { type: "Component", name: "组件", icon: "Component" },
134
+ component: { type: "component", name: "组件", icon: "Component" },
135
135
  ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
136
136
  Image: { type: "Image", name: "图像", icon: "Image" },
137
137
  ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
138
138
  HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
139
139
  ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
140
140
  RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
141
- Tab: { type: "Tab", name: "标签页", icon: "Tab" },
142
- TabPage: { type: "TabPage", name: "标签页项", dependentParentControl: "Tab" },
141
+ tabs: { type: "tabs", name: "标签页", icon: "Tab" },
142
+ "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
143
143
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
144
144
  Tag: { type: "Tag", name: "Tag", icon: "Tag" },
145
145
  Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
@@ -148,7 +148,7 @@ const g = {
148
148
  RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
149
149
  TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
150
150
  TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
151
- Section: { type: "Section", name: "分组面板", icon: "Section" },
151
+ section: { type: "section", name: "分组面板", icon: "Section" },
152
152
  SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
153
153
  SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
154
154
  QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
@@ -178,7 +178,7 @@ const g = {
178
178
  NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
179
179
  Tags: { type: "Tags", name: "标记组", icon: "Tags" },
180
180
  Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
181
- Header: { type: "Header", name: "页头", icon: "Header" },
181
+ "page-header": { type: "page-header", name: "页头", icon: "Header" },
182
182
  ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
183
183
  ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
184
184
  PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
@@ -213,7 +213,7 @@ const g = {
213
213
  }, fn = {}, vn = {};
214
214
  pn();
215
215
  function ue(e, n, t = /* @__PURE__ */ new Map(), o = (l, u, d) => u, r = {}, a = (l) => l) {
216
- return He[n.title] = n, Ge[n.title] = o, fn[n.title] = r, vn[n.title] = a, (l = {}) => {
216
+ return Ge[n.title] = n, He[n.title] = o, fn[n.title] = r, vn[n.title] = a, (l = {}) => {
217
217
  const u = dn(l, n, t), d = Object.keys(e).reduce((i, c) => (i[c] = e[c].default, i), {});
218
218
  return Object.assign(d, u);
219
219
  };
@@ -515,9 +515,9 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
515
515
  },
516
516
  /** 状态机是否有前缀viewModel.stateMachine && */
517
517
  hasPrefix: 2
518
- }, Nn = /* @__PURE__ */ new Map([
518
+ }, In = /* @__PURE__ */ new Map([
519
519
  ["appearance", se]
520
- ]), In = "https://json-schema.org/draft/2020-12/schema", On = "https://farris-design.gitee.io/combo-list.schema.json", Dn = "combo-list", Ln = "A Farris Input Component", jn = "object", $n = {
520
+ ]), Nn = "https://json-schema.org/draft/2020-12/schema", On = "https://farris-design.gitee.io/combo-list.schema.json", Dn = "combo-list", Ln = "A Farris Input Component", jn = "object", $n = {
521
521
  id: {
522
522
  description: "The unique identifier for a combo list",
523
523
  type: "string"
@@ -572,7 +572,7 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
572
572
  valueField: {
573
573
  description: "",
574
574
  type: "string",
575
- default: "id"
575
+ default: "value"
576
576
  },
577
577
  titleField: {
578
578
  description: "",
@@ -632,7 +632,7 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
632
632
  "id",
633
633
  "type"
634
634
  ], Rn = {
635
- $schema: In,
635
+ $schema: Nn,
636
636
  $id: On,
637
637
  title: Dn,
638
638
  description: Ln,
@@ -803,7 +803,7 @@ const Se = {
803
803
  * 打开前
804
804
  */
805
805
  beforeOpen: { type: Function, default: null }
806
- }, ze = ue(Se, Rn, Nn, _n), Hn = {
806
+ }, ze = ue(Se, Rn, In, _n), Gn = {
807
807
  dataSource: { type: Array, default: [] },
808
808
  enableSearch: { type: Boolean, default: !1 },
809
809
  idField: { type: String, default: "id" },
@@ -818,13 +818,13 @@ const Se = {
818
818
  /** 值变化事件 */
819
819
  onSelectionChange: { type: Function, default: () => {
820
820
  } }
821
- }, Gn = /* @__PURE__ */ q({
821
+ }, Hn = /* @__PURE__ */ q({
822
822
  name: "FComboListContainer",
823
- props: Hn,
823
+ props: Gn,
824
824
  emits: ["selectionChange"],
825
825
  setup(e, n) {
826
826
  const t = y(e.dataSource), o = y([]), r = y(e.separator), a = y(e.width), l = y(e.maxHeight), u = y(String(e.selectedValues).split(r.value));
827
- N(e.dataSource, () => {
827
+ I(e.dataSource, () => {
828
828
  t.value = e.dataSource;
829
829
  });
830
830
  const d = V(() => e.enableSearch ? "SearchBar" : "ContentHeader"), i = V(() => {
@@ -834,7 +834,7 @@ const Se = {
834
834
  function c(s) {
835
835
  o.value = s.map((f) => Object.assign({}, f)), u.value = s.map((f) => f[e.idField]), n.emit("selectionChange", o.value);
836
836
  }
837
- return N([() => e.selectedValues], ([s]) => {
837
+ return I([() => e.selectedValues], ([s]) => {
838
838
  u.value = s.split(r.value);
839
839
  }), () => S("div", {
840
840
  class: "f-combo-list-container pl-3",
@@ -892,18 +892,18 @@ function qn(e) {
892
892
  console.error(x);
893
893
  });
894
894
  }
895
- return e.remote && c(), N(() => e.data, () => {
895
+ return e.remote && c(), I(() => e.data, () => {
896
896
  o.value = e.data;
897
- }), N([o], ([s]) => {
897
+ }), I([o], ([s]) => {
898
898
  if (e.modelValue) {
899
899
  const f = s.find((p) => p[e.valueField] === e.modelValue);
900
900
  f && (n.value = f[e.textField]);
901
901
  }
902
- }), N(() => e.modelValue, (s) => {
902
+ }), I(() => e.modelValue, (s) => {
903
903
  t.value = s, l(s);
904
904
  }), l(e.modelValue), { dataSource: o, displayText: n, editable: r, modelValue: t, getItemsByDisplayText: u, getItemsByValue: a, getSelectedItemsByDisplayText: i };
905
905
  }
906
- const H = /* @__PURE__ */ q({
906
+ const G = /* @__PURE__ */ q({
907
907
  name: "FComboList",
908
908
  props: Se,
909
909
  emits: ["clear", "update:modelValue", "change", "input"],
@@ -939,7 +939,7 @@ const H = /* @__PURE__ */ q({
939
939
  }
940
940
  return n.expose({
941
941
  getDisplayText: E
942
- }), N([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([B, b, T, P, $]) => {
942
+ }), I([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([B, b, T, P, $]) => {
943
943
  o.value = B, i.value = b, r.value = T, a.value = P, l.value = $;
944
944
  }), () => S(_e, {
945
945
  ref: t,
@@ -966,7 +966,7 @@ const H = /* @__PURE__ */ q({
966
966
  onInput: w,
967
967
  beforeOpen: e.beforeOpen
968
968
  }, {
969
- default: () => [S(Gn, {
969
+ default: () => [S(Hn, {
970
970
  idField: e.idField,
971
971
  valueField: e.valueField,
972
972
  textField: e.textField,
@@ -1018,7 +1018,8 @@ function Ce(e, n) {
1018
1018
  }
1019
1019
  class We {
1020
1020
  static getEditorTypesByMDataType(n) {
1021
- return this.fieldControlTypeMapping[n];
1021
+ const t = this.fieldControlTypeMapping[n];
1022
+ return t || [{ key: "", value: "" }];
1022
1023
  }
1023
1024
  }
1024
1025
  /**
@@ -1090,13 +1091,18 @@ class zn {
1090
1091
  L(this, "designViewModelField");
1091
1092
  L(this, "controlCreatorUtils");
1092
1093
  L(this, "designerHostService");
1094
+ L(this, "schemaService", null);
1093
1095
  L(this, "metadataService", null);
1094
1096
  L(this, "propertyConfig", {
1095
1097
  type: "object",
1096
1098
  categories: {}
1097
1099
  });
1098
1100
  var o;
1099
- this.componentId = n, this.designerHostService = t, this.eventsEditorUtils = t.eventsEditorUtils, this.formSchemaUtils = t.formSchemaUtils, this.formMetadataConverter = t.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = t.designViewModelUtils, this.controlCreatorUtils = t.controlCreatorUtils, this.metadataService = t.metadataService;
1101
+ this.componentId = n, this.designerHostService = t, this.eventsEditorUtils = t.eventsEditorUtils, this.formSchemaUtils = t.formSchemaUtils, this.formMetadataConverter = t.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = t.designViewModelUtils, this.controlCreatorUtils = t.controlCreatorUtils, this.metadataService = t.metadataService, this.schemaService = t.schemaService;
1102
+ }
1103
+ getTableInfo() {
1104
+ var n;
1105
+ return (n = this.schemaService) == null ? void 0 : n.getTableInfoByViewModelId(this.viewModelId);
1100
1106
  }
1101
1107
  setDesignViewModelField(n) {
1102
1108
  const t = n.binding && n.binding.type === "Form" && n.binding.field;
@@ -1111,6 +1117,7 @@ class zn {
1111
1117
  changeFieldEditorType(n, t) {
1112
1118
  }
1113
1119
  getBasicPropConfig(n) {
1120
+ var o, r;
1114
1121
  var t = this;
1115
1122
  return this.setDesignViewModelField(n), {
1116
1123
  description: "Basic Information",
@@ -1132,7 +1139,8 @@ class zn {
1132
1139
  type: "combo-list",
1133
1140
  textField: "value",
1134
1141
  valueField: "key",
1135
- data: We.getEditorTypesByMDataType(t.designViewModelField.type.name)
1142
+ data: We.getEditorTypesByMDataType(((r = (o = t.designViewModelField) == null ? void 0 : o.type) == null ? void 0 : r.name) || ""),
1143
+ editable: !1
1136
1144
  }
1137
1145
  },
1138
1146
  label: {
@@ -1141,11 +1149,11 @@ class zn {
1141
1149
  $converter: "/converter/form-group-label.converter"
1142
1150
  }
1143
1151
  },
1144
- setPropertyRelates(o, r) {
1145
- if (o)
1146
- switch (o && o.propertyID) {
1152
+ setPropertyRelates(a, l) {
1153
+ if (a)
1154
+ switch (a && a.propertyID) {
1147
1155
  case "type": {
1148
- t.changeControlType(n, o);
1156
+ t.changeControlType(n, a);
1149
1157
  break;
1150
1158
  }
1151
1159
  }
@@ -1381,7 +1389,7 @@ const Yn = /* @__PURE__ */ q({
1381
1389
  emits: ["clear", "update:modelValue", "change"],
1382
1390
  setup(e, n) {
1383
1391
  const t = y(), o = Z("designer-host-service"), r = Z("design-item-context"), a = Qn(r, o), l = on(t, r, a);
1384
- return G(() => {
1392
+ return H(() => {
1385
1393
  t.value.componentInstance = l;
1386
1394
  }), n.expose(l.value), () => S(_e, {
1387
1395
  ref: t,
@@ -1406,13 +1414,13 @@ const Yn = /* @__PURE__ */ q({
1406
1414
  t.component(n.name, e);
1407
1415
  }, e;
1408
1416
  };
1409
- H.register = (e, n, t, o) => {
1410
- e["combo-list"] = H, n["combo-list"] = ze;
1417
+ G.register = (e, n, t, o) => {
1418
+ e["combo-list"] = G, n["combo-list"] = ze;
1411
1419
  };
1412
- H.registerDesigner = (e, n, t) => {
1420
+ G.registerDesigner = (e, n, t) => {
1413
1421
  e["combo-list"] = Yn, n["combo-list"] = ze;
1414
1422
  };
1415
- xe(H);
1423
+ xe(G);
1416
1424
  const Zn = /* @__PURE__ */ new Map([
1417
1425
  ["appearance", se]
1418
1426
  ]);
@@ -1720,12 +1728,12 @@ function io(e, n, t, o) {
1720
1728
  function w(M, D = !0) {
1721
1729
  t.value = M, o.value !== M && (o.value = M), D && n.emit("change", M), n.emit("update:modelValue", M), n.emit("update:value", M);
1722
1730
  }
1723
- N(
1731
+ I(
1724
1732
  () => e.modelValue,
1725
1733
  (M, D) => {
1726
1734
  M !== D && (t.value = M, o.value = M);
1727
1735
  }
1728
- ), N(() => e.disabled, (M, D) => {
1736
+ ), I(() => e.disabled, (M, D) => {
1729
1737
  M !== D && (r.value = M);
1730
1738
  });
1731
1739
  function B(M) {
@@ -1829,7 +1837,7 @@ function Ye(e, n, t) {
1829
1837
  function i(h) {
1830
1838
  o.value = h;
1831
1839
  }
1832
- N(l, () => {
1840
+ I(l, () => {
1833
1841
  u != null && u.value ? i(!!(l != null && l.value)) : i(!1);
1834
1842
  });
1835
1843
  const c = V(() => ({
@@ -1878,7 +1886,7 @@ function Ze(e, n) {
1878
1886
  }
1879
1887
  function Xe(e, n, t, o) {
1880
1888
  const { appendedContent: r } = o, a = y(e.enableViewPassword), l = V(() => e.type === "password"), u = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', d = '<span class="f-icon f-icon-eye"></span>', i = y(!1);
1881
- N(() => [e.readonly, e.disabled], ([f, p]) => {
1889
+ I(() => [e.readonly, e.disabled], ([f, p]) => {
1882
1890
  l.value && (t.value = f || p ? "password" : t.value, r.value = f || p ? d : r.value);
1883
1891
  });
1884
1892
  function c() {
@@ -1909,10 +1917,10 @@ function Ke(e, n, t) {
1909
1917
  e.selectOnCreated, e.focusOnCreated;
1910
1918
  }
1911
1919
  async function v(h) {
1912
- a(h), await Ie, p();
1920
+ a(h), await Ne, p();
1913
1921
  }
1914
- return G(async () => {
1915
- await Ie, p();
1922
+ return H(async () => {
1923
+ await Ne, p();
1916
1924
  }), () => S("input", {
1917
1925
  ref: o,
1918
1926
  class: c.value,
@@ -1980,15 +1988,15 @@ function po(e, n) {
1980
1988
  } = o, {
1981
1989
  isFocus: f
1982
1990
  } = a, p = V(() => !e.disabled && !e.readonly);
1983
- return G(() => {
1991
+ return H(() => {
1984
1992
  const v = i(e.modelValue);
1985
1993
  u.value = s(v);
1986
- }), N(() => [e.value], ([v]) => {
1994
+ }), I(() => [e.value], ([v]) => {
1987
1995
  const h = i(v);
1988
1996
  d.value = h, u.value = s(h);
1989
- }), N(() => [e.modelValue], ([v]) => {
1997
+ }), I(() => [e.modelValue], ([v]) => {
1990
1998
  v !== d.value && (d.value = v, !f.value && (u.value = s(i(v))));
1991
- }), N(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1999
+ }), I(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1992
2000
  u.value = s(d.value);
1993
2001
  }), () => S("div", {
1994
2002
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
@@ -2014,7 +2022,7 @@ function fo(e, n, t, o) {
2014
2022
  textBoxClass: P,
2015
2023
  textBoxTitle: $
2016
2024
  } = o;
2017
- return G(() => {
2025
+ return H(() => {
2018
2026
  e.selectOnCreated, e.focusOnCreated;
2019
2027
  }), () => S("input", {
2020
2028
  ref: r,
@@ -2123,11 +2131,11 @@ const J = /* @__PURE__ */ q({
2123
2131
  onMouseEnter: s,
2124
2132
  onMouseLeave: f
2125
2133
  } = c, p = Xe(e, n, l, d), v = po(e, n), h = fo(e, n, p, r), C = Je(e, n, d, c, p), x = vo(e, n), A = V(() => e.type === "number");
2126
- N(() => [e.value], ([w]) => {
2134
+ I(() => [e.value], ([w]) => {
2127
2135
  t.value = w, o.value = w;
2128
- }), N(() => [e.modelValue], ([w]) => {
2136
+ }), I(() => [e.modelValue], ([w]) => {
2129
2137
  t.value = w, o.value = w;
2130
- }), G(() => {
2138
+ }), H(() => {
2131
2139
  e.value && (t.value = e.value, o.value = e.value);
2132
2140
  });
2133
2141
  const E = () => S(me, null, [S("div", {
@@ -2275,7 +2283,7 @@ const ho = /* @__PURE__ */ q({
2275
2283
  onMouseEnter: s,
2276
2284
  onMouseLeave: f
2277
2285
  } = c, p = Xe(e, n, l, d), v = y(), h = Z("designer-host-service"), C = Z("design-item-context"), x = yo(C, h), A = et(v, C, x);
2278
- G(() => {
2286
+ H(() => {
2279
2287
  v.value.componentInstance = A;
2280
2288
  }), n.expose(A.value);
2281
2289
  const E = Je(e, n, d, c, p), w = y();
@@ -2392,8 +2400,7 @@ const bo = /* @__PURE__ */ new Map([
2392
2400
  },
2393
2401
  max: {
2394
2402
  description: "",
2395
- type: "number",
2396
- default: 0
2403
+ type: "number"
2397
2404
  },
2398
2405
  onBlur: {
2399
2406
  description: "",
@@ -2654,15 +2661,15 @@ const ee = /* @__PURE__ */ q({
2654
2661
  } = o, {
2655
2662
  isFocus: f
2656
2663
  } = a, p = V(() => !e.disabled && !e.readonly && e.showButton);
2657
- return G(() => {
2664
+ return H(() => {
2658
2665
  const v = i(e.modelValue);
2659
2666
  u.value = s(v);
2660
- }), N(() => [e.value], ([v]) => {
2667
+ }), I(() => [e.value], ([v]) => {
2661
2668
  const h = i(v);
2662
2669
  d.value = h, u.value = s(h);
2663
- }), N(() => [e.modelValue], ([v]) => {
2670
+ }), I(() => [e.modelValue], ([v]) => {
2664
2671
  v !== d.value && (d.value = v, !f.value && (u.value = s(i(v))));
2665
- }), N(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2672
+ }), I(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2666
2673
  u.value = s(d.value);
2667
2674
  }), () => S("div", {
2668
2675
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
@@ -2734,7 +2741,7 @@ const Ao = /* @__PURE__ */ q({
2734
2741
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
2735
2742
  setup(e, n) {
2736
2743
  const t = rt(e, n), o = ot(e, n, t), r = nt(e, n, o, t), a = Te(e, n, r), l = y(), u = Z("designer-host-service"), d = Z("design-item-context"), i = Eo(d, u), c = et(l, d, i);
2737
- G(() => {
2744
+ H(() => {
2738
2745
  l.value.componentInstance = c, e.readonly = !0;
2739
2746
  }), n.expose(c.value);
2740
2747
  const s = y();
@@ -2798,7 +2805,7 @@ function ko(e, n, t, o, r, a, l) {
2798
2805
  setValue: E
2799
2806
  };
2800
2807
  }
2801
- function No(e, n, t, o, r, a, l, u, d, i, c, s) {
2808
+ function Io(e, n, t, o, r, a, l, u, d, i, c, s) {
2802
2809
  const f = y(!1), p = y({
2803
2810
  propertyName: "",
2804
2811
  /** 属性类型:boolean, string, number, enum */
@@ -2886,7 +2893,7 @@ function z(e, n) {
2886
2893
  }
2887
2894
  e.prototype = n === null ? Object.create(n) : (t.prototype = n.prototype, new t());
2888
2895
  }
2889
- function Io(e, n, t, o) {
2896
+ function No(e, n, t, o) {
2890
2897
  function r(a) {
2891
2898
  return a instanceof t ? a : new t(function(l) {
2892
2899
  l(a);
@@ -3065,7 +3072,7 @@ function Do(e) {
3065
3072
  }, l);
3066
3073
  }
3067
3074
  }
3068
- function I(e) {
3075
+ function N(e) {
3069
3076
  return typeof e == "function";
3070
3077
  }
3071
3078
  function it(e) {
@@ -3117,7 +3124,7 @@ var te = function() {
3117
3124
  else
3118
3125
  l.remove(this);
3119
3126
  var c = this.initialTeardown;
3120
- if (I(c))
3127
+ if (N(c))
3121
3128
  try {
3122
3129
  c();
3123
3130
  } catch (h) {
@@ -3179,10 +3186,10 @@ var te = function() {
3179
3186
  }(), e;
3180
3187
  }(), lt = te.EMPTY;
3181
3188
  function ut(e) {
3182
- return e instanceof te || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
3189
+ return e instanceof te || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
3183
3190
  }
3184
3191
  function De(e) {
3185
- I(e) ? e() : e.unsubscribe();
3192
+ N(e) ? e() : e.unsubscribe();
3186
3193
  }
3187
3194
  var st = {
3188
3195
  onUnhandledError: null,
@@ -3281,7 +3288,7 @@ var $o = function() {
3281
3288
  z(n, e);
3282
3289
  function n(t, o, r) {
3283
3290
  var a = e.call(this) || this, l;
3284
- if (I(t) || !t)
3291
+ if (N(t) || !t)
3285
3292
  l = {
3286
3293
  next: t ?? void 0,
3287
3294
  error: o ?? void 0,
@@ -3318,7 +3325,7 @@ var Ro = {
3318
3325
  function _o(e) {
3319
3326
  return e;
3320
3327
  }
3321
- function Ho(e) {
3328
+ function Go(e) {
3322
3329
  return e.length === 0 ? _o : e.length === 1 ? e[0] : function(t) {
3323
3330
  return e.reduce(function(o, r) {
3324
3331
  return r(o);
@@ -3368,7 +3375,7 @@ var _ = function() {
3368
3375
  }, e.prototype.pipe = function() {
3369
3376
  for (var n = [], t = 0; t < arguments.length; t++)
3370
3377
  n[t] = arguments[t];
3371
- return Ho(n)(this);
3378
+ return Go(n)(this);
3372
3379
  }, e.prototype.toPromise = function(n) {
3373
3380
  var t = this;
3374
3381
  return n = je(n), new n(function(o, r) {
@@ -3389,14 +3396,14 @@ function je(e) {
3389
3396
  var n;
3390
3397
  return (n = e ?? st.Promise) !== null && n !== void 0 ? n : Promise;
3391
3398
  }
3392
- function Go(e) {
3393
- return e && I(e.next) && I(e.error) && I(e.complete);
3399
+ function Ho(e) {
3400
+ return e && N(e.next) && N(e.error) && N(e.complete);
3394
3401
  }
3395
3402
  function qo(e) {
3396
- return e && e instanceof Fe || Go(e) && ut(e);
3403
+ return e && e instanceof Fe || Ho(e) && ut(e);
3397
3404
  }
3398
3405
  function zo(e) {
3399
- return I(e == null ? void 0 : e.lift);
3406
+ return N(e == null ? void 0 : e.lift);
3400
3407
  }
3401
3408
  function Pe(e) {
3402
3409
  return function(n) {
@@ -3650,7 +3657,7 @@ var Wo = function(e) {
3650
3657
  }, n;
3651
3658
  }(Re), Jo = new Ko(Xo);
3652
3659
  function er(e) {
3653
- return e && I(e.schedule);
3660
+ return e && N(e.schedule);
3654
3661
  }
3655
3662
  function tr(e) {
3656
3663
  return e[e.length - 1];
@@ -3662,13 +3669,13 @@ var ft = function(e) {
3662
3669
  return e && typeof e.length == "number" && typeof e != "function";
3663
3670
  };
3664
3671
  function vt(e) {
3665
- return I(e == null ? void 0 : e.then);
3672
+ return N(e == null ? void 0 : e.then);
3666
3673
  }
3667
3674
  function mt(e) {
3668
- return I(e[Me]);
3675
+ return N(e[Me]);
3669
3676
  }
3670
3677
  function yt(e) {
3671
- return Symbol.asyncIterator && I(e == null ? void 0 : e[Symbol.asyncIterator]);
3678
+ return Symbol.asyncIterator && N(e == null ? void 0 : e[Symbol.asyncIterator]);
3672
3679
  }
3673
3680
  function ht(e) {
3674
3681
  return new TypeError("You provided " + (e !== null && typeof e == "object" ? "an invalid object" : "'" + e + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
@@ -3678,7 +3685,7 @@ function or() {
3678
3685
  }
3679
3686
  var bt = or();
3680
3687
  function gt(e) {
3681
- return I(e == null ? void 0 : e[bt]);
3688
+ return N(e == null ? void 0 : e[bt]);
3682
3689
  }
3683
3690
  function St(e) {
3684
3691
  return Oo(this, arguments, function() {
@@ -3712,7 +3719,7 @@ function St(e) {
3712
3719
  });
3713
3720
  }
3714
3721
  function Ct(e) {
3715
- return I(e == null ? void 0 : e.getReader);
3722
+ return N(e == null ? void 0 : e.getReader);
3716
3723
  }
3717
3724
  function Ee(e) {
3718
3725
  if (e instanceof _)
@@ -3736,7 +3743,7 @@ function Ee(e) {
3736
3743
  function rr(e) {
3737
3744
  return new _(function(n) {
3738
3745
  var t = e[Me]();
3739
- if (I(t.subscribe))
3746
+ if (N(t.subscribe))
3740
3747
  return t.subscribe(n);
3741
3748
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
3742
3749
  });
@@ -3790,7 +3797,7 @@ function ur(e) {
3790
3797
  }
3791
3798
  function sr(e, n) {
3792
3799
  var t, o, r, a;
3793
- return Io(this, void 0, void 0, function() {
3800
+ return No(this, void 0, void 0, function() {
3794
3801
  var l, u;
3795
3802
  return at(this, function(d) {
3796
3803
  switch (d.label) {
@@ -3887,7 +3894,7 @@ function fr(e, n) {
3887
3894
  l ? t.complete() : t.next(a);
3888
3895
  }, 0, !0);
3889
3896
  }), function() {
3890
- return I(o == null ? void 0 : o.return) && o.return();
3897
+ return N(o == null ? void 0 : o.return) && o.return();
3891
3898
  };
3892
3899
  });
3893
3900
  }
@@ -3983,7 +3990,7 @@ const fe = /* @__PURE__ */ q({
3983
3990
  changeState: $,
3984
3991
  prefix: Q,
3985
3992
  propertyEditorValueChange: R
3986
- } = No(n, t, b, a, k, f, s, p, B, o, C, r);
3993
+ } = Io(n, t, b, a, k, f, s, p, B, o, C, r);
3987
3994
  function K() {
3988
3995
  x.value = An.value.filter((m) => t.value.editorOptions.types.includes(m.id));
3989
3996
  }
@@ -4006,8 +4013,8 @@ const fe = /* @__PURE__ */ q({
4006
4013
  k.value.constValue.value = m, P();
4007
4014
  }
4008
4015
  function Mt() {
4009
- const m = t.value.propertyName, O = m[0].toUpperCase() + m.substr(1), U = t.value.controlName, Ne = t.value.editorOptions.newVariablePrefix || "", Xt = Ne ? U[0].toUpperCase() + U.substr(1) : U[0].toLowerCase() + U.substr(1);
4010
- u = `${Ne}${Xt}${O}`, Pt();
4016
+ const m = t.value.propertyName, O = m[0].toUpperCase() + m.substr(1), U = t.value.controlName, Ie = t.value.editorOptions.newVariablePrefix || "", Xt = Ie ? U[0].toUpperCase() + U.substr(1) : U[0].toLowerCase() + U.substr(1);
4017
+ u = `${Ie}${Xt}${O}`, Pt();
4011
4018
  }
4012
4019
  function Pt() {
4013
4020
  Et(), r.value.id === "variable" && (E.value = t.value.propertyValue.value.path), Ae(), i.value !== t.value.propertyValue.value.path && P();
@@ -4026,13 +4033,13 @@ const fe = /* @__PURE__ */ q({
4026
4033
  function kt(m) {
4027
4034
  !m || !m.selections || m.selections.length < 1 || (k.value.variableValue.value.category = F(m.selections[0].category), k.value.variableValue.value.path = F(m.selections[0].path), k.value.variableValue.value.fullPath = F(m.selections[0].fullPath), k.value.variableValue.value.field = F(m.selections[0].field), E.value = F(m.value), P());
4028
4035
  }
4029
- function Nt() {
4036
+ function It() {
4030
4037
  t.value.propertyValue.value.category = "", t.value.propertyValue.value.path = "", t.value.propertyValue.value.field = "", t.value.propertyValue.value.fullPath = "", r.value.id === "variable" && (E.value = t.value.propertyValue.value.path), P();
4031
4038
  }
4032
4039
  function Ae() {
4033
4040
  c.value = F(t.value.editorOptions.variables);
4034
4041
  }
4035
- const It = (m) => {
4042
+ const Nt = (m) => {
4036
4043
  const O = t.value.editorOptions.getVariables, U = {
4037
4044
  showDialog: !0
4038
4045
  };
@@ -4068,7 +4075,7 @@ const fe = /* @__PURE__ */ q({
4068
4075
  function Rt() {
4069
4076
  return S("div", {
4070
4077
  class: "f-page-single-property-editor-component-right-variable"
4071
- }, [S(H, {
4078
+ }, [S(G, {
4072
4079
  class: [{
4073
4080
  "form-control-select-show": l.value
4074
4081
  }, {
@@ -4082,11 +4089,11 @@ const fe = /* @__PURE__ */ q({
4082
4089
  valueField: "path",
4083
4090
  textField: "fullPath",
4084
4091
  data: c.value,
4085
- beforeShow: It,
4092
+ beforeShow: Nt,
4086
4093
  readonly: C.value,
4087
4094
  editable: !1,
4088
4095
  onValueChange: (m) => kt(m),
4089
- onClear: Nt
4096
+ onClear: It
4090
4097
  }, null), l.value ? S("div", {
4091
4098
  class: "f-page-single-property-editor-component-variable-button"
4092
4099
  }, [S("button", {
@@ -4109,7 +4116,7 @@ const fe = /* @__PURE__ */ q({
4109
4116
  disabled: C.value
4110
4117
  }, null), [[Oe, k.value.customValue.value]])]);
4111
4118
  }
4112
- function Ht() {
4119
+ function Gt() {
4113
4120
  return S("div", {
4114
4121
  class: "f-page-single-property-editor-component-right-expression"
4115
4122
  }, [S(J, {
@@ -4122,7 +4129,7 @@ const fe = /* @__PURE__ */ q({
4122
4129
  onClickHandle: $t
4123
4130
  }, null)]);
4124
4131
  }
4125
- function Gt() {
4132
+ function Ht() {
4126
4133
  return S("div", {
4127
4134
  class: "f-page-single-property-editor-component-right-stateMachine"
4128
4135
  }, [S("div", {
@@ -4131,7 +4138,7 @@ const fe = /* @__PURE__ */ q({
4131
4138
  }, [p.value]), S("div", {
4132
4139
  class: "f-stateMachine-combo",
4133
4140
  style: "border:unset"
4134
- }, [S(H, {
4141
+ }, [S(G, {
4135
4142
  modelValue: s,
4136
4143
  "onUpdate:modelValue": (m) => s = m,
4137
4144
  placeholder: "",
@@ -4150,7 +4157,7 @@ const fe = /* @__PURE__ */ q({
4150
4157
  function qt() {
4151
4158
  return S("div", {
4152
4159
  class: "f-page-single-property-editor-component-right-dataStates"
4153
- }, [S(H, {
4160
+ }, [S(G, {
4154
4161
  modelValue: w.value,
4155
4162
  "onUpdate:modelValue": (m) => w.value = m,
4156
4163
  placeholder: "",
@@ -4179,7 +4186,7 @@ const fe = /* @__PURE__ */ q({
4179
4186
  }, null), [[Oe, k.value.constValue.value]]);
4180
4187
  }
4181
4188
  function Wt() {
4182
- return S(H, {
4189
+ return S(G, {
4183
4190
  modelValue: b.value,
4184
4191
  "onUpdate:modelValue": (m) => b.value = m,
4185
4192
  placeholder: "",
@@ -4208,7 +4215,7 @@ const fe = /* @__PURE__ */ q({
4208
4215
  function Yt() {
4209
4216
  return S("div", {
4210
4217
  class: "f-page-single-property-editor-component-left-controller"
4211
- }, [S(H, {
4218
+ }, [S(G, {
4212
4219
  modelValue: r.value.id,
4213
4220
  "onUpdate:modelValue": (m) => r.value.id = m,
4214
4221
  placeholder: "",
@@ -4226,9 +4233,9 @@ const fe = /* @__PURE__ */ q({
4226
4233
  class: "f-page-single-property-editor-component-right-controller"
4227
4234
  }, [r.value.id === "const" ? S("div", {
4228
4235
  class: "f-page-single-property-editor-component-right-const"
4229
- }, [t.value.propertyType === "string" ? zt() : "", t.value.propertyType === "enum" ? Wt() : "", t.value.propertyType === "number" ? Qt() : ""]) : "", r.value.id === "variable" ? Rt() : "", r.value.id === "custom" ? _t() : "", r.value.id === "expression" && v.value ? Ht() : "", r.value.id === "stateMachine" ? Gt() : "", r.value.id === "dataStates" ? qt() : ""]);
4236
+ }, [t.value.propertyType === "string" ? zt() : "", t.value.propertyType === "enum" ? Wt() : "", t.value.propertyType === "number" ? Qt() : ""]) : "", r.value.id === "variable" ? Rt() : "", r.value.id === "custom" ? _t() : "", r.value.id === "expression" && v.value ? Gt() : "", r.value.id === "stateMachine" ? Ht() : "", r.value.id === "dataStates" ? qt() : ""]);
4230
4237
  }
4231
- return G(() => {
4238
+ return H(() => {
4232
4239
  K(), D(), Ae(), Dt(), t.value.hasPrefix && t.value.hasPrefix === 2 && (Q.value = !0), t.value.controlName !== void 0 && (l.value = !0);
4233
4240
  }), () => S(me, null, [S("div", {
4234
4241
  class: "f-page-single-property-editor-component clearfix"