@farris/ui-vue 1.7.1 → 1.7.2-beta.2

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 (431) hide show
  1. package/components/accordion/index.esm.js +312 -61
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +1492 -59
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +752 -8
  6. package/components/binding-selector/index.umd.cjs +1 -1
  7. package/components/button-edit/index.esm.js +1 -1
  8. package/components/button-edit/index.umd.cjs +1 -1
  9. package/components/button-group/index.esm.js +266 -110
  10. package/components/button-group/index.umd.cjs +1 -1
  11. package/components/calendar/index.esm.js +344 -341
  12. package/components/calendar/index.umd.cjs +3 -3
  13. package/components/code-editor/index.esm.js +237 -169
  14. package/components/code-editor/index.umd.cjs +3 -3
  15. package/components/collection-property-editor/index.esm.js +302 -299
  16. package/components/collection-property-editor/index.umd.cjs +2 -2
  17. package/components/color-picker/index.esm.js +812 -502
  18. package/components/color-picker/index.umd.cjs +1 -1
  19. package/components/combo-list/index.esm.js +329 -292
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-tree/index.esm.js +355 -174
  22. package/components/combo-tree/index.umd.cjs +1 -1
  23. package/components/comment/index.esm.js +294 -291
  24. package/components/comment/index.umd.cjs +6 -6
  25. package/components/common/index.esm.js +1 -1
  26. package/components/common/index.umd.cjs +1 -1
  27. package/components/component/index.esm.js +4390 -2708
  28. package/components/component/index.umd.cjs +8 -1
  29. package/components/condition/index.esm.js +3140 -487
  30. package/components/condition/index.umd.cjs +8 -1
  31. package/components/data-grid/index.esm.js +4 -2
  32. package/components/data-grid/index.umd.cjs +1 -1
  33. package/components/data-view/index.esm.js +1859 -1832
  34. package/components/data-view/index.umd.cjs +1 -1
  35. package/components/date-picker/index.esm.js +1 -1
  36. package/components/date-picker/index.umd.cjs +1 -1
  37. package/components/designer-canvas/index.esm.js +3731 -2717
  38. package/components/designer-canvas/index.umd.cjs +1 -1
  39. package/components/drawer/index.esm.js +417 -405
  40. package/components/drawer/index.umd.cjs +2 -2
  41. package/components/dropdown/index.esm.js +373 -124
  42. package/components/dropdown/index.umd.cjs +2 -2
  43. package/components/dynamic-form/index.esm.js +1245 -1895
  44. package/components/dynamic-form/index.umd.cjs +1 -1
  45. package/components/dynamic-resolver/index.esm.js +275 -271
  46. package/components/dynamic-resolver/index.umd.cjs +2 -2
  47. package/components/dynamic-view/index.esm.js +529 -450
  48. package/components/dynamic-view/index.umd.cjs +1 -1
  49. package/components/event-parameter/index.esm.js +1 -1
  50. package/components/event-parameter/index.umd.cjs +1 -1
  51. package/components/events-editor/index.esm.js +2613 -1544
  52. package/components/events-editor/index.umd.cjs +3 -3
  53. package/components/expression-editor/index.css +1 -1
  54. package/components/expression-editor/index.esm.js +7376 -2
  55. package/components/expression-editor/index.umd.cjs +427 -1
  56. package/components/fieldset/index.esm.js +1 -1
  57. package/components/fieldset/index.umd.cjs +1 -1
  58. package/components/filter-bar/index.esm.js +423 -415
  59. package/components/filter-bar/index.umd.cjs +2 -2
  60. package/components/filter-condition-editor/index.css +1 -1
  61. package/components/filter-condition-editor/index.esm.js +9049 -425
  62. package/components/filter-condition-editor/index.umd.cjs +427 -1
  63. package/components/html-template/index.esm.js +33 -36
  64. package/components/html-template/index.umd.cjs +1 -1
  65. package/components/image/index.esm.js +364 -355
  66. package/components/image/index.umd.cjs +2 -2
  67. package/components/image-cropper/index.esm.js +615 -361
  68. package/components/image-cropper/index.umd.cjs +1 -1
  69. package/components/json-editor/index.esm.js +325 -247
  70. package/components/json-editor/index.umd.cjs +1 -1
  71. package/components/language-textbox/index.esm.js +411 -409
  72. package/components/language-textbox/index.umd.cjs +2 -2
  73. package/components/layout/index.esm.js +549 -163
  74. package/components/layout/index.umd.cjs +1 -1
  75. package/components/list-nav/index.esm.js +837 -39
  76. package/components/list-nav/index.umd.cjs +1 -1
  77. package/components/list-view/index.esm.js +427 -646
  78. package/components/list-view/index.umd.cjs +6 -6
  79. package/components/lookup/index.esm.js +3624 -3625
  80. package/components/lookup/index.umd.cjs +1 -1
  81. package/components/mapping-editor/index.esm.js +5 -3
  82. package/components/mapping-editor/index.umd.cjs +1 -1
  83. package/components/menu-lookup/index.esm.js +577 -536
  84. package/components/menu-lookup/index.umd.cjs +6 -6
  85. package/components/nav/index.esm.js +311 -31
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +1641 -189
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +82 -82
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +1196 -851
  92. package/components/order/index.umd.cjs +6 -6
  93. package/components/page-footer/index.esm.js +331 -48
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +110 -116
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +509 -232
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/progress/index.esm.js +353 -148
  100. package/components/progress/index.umd.cjs +3 -3
  101. package/components/property-editor/index.esm.js +157 -153
  102. package/components/property-editor/index.umd.cjs +1 -1
  103. package/components/property-panel/index.esm.js +1817 -854
  104. package/components/property-panel/index.umd.cjs +12 -5
  105. package/components/query-solution/index.css +1 -1
  106. package/components/query-solution/index.esm.js +6858 -3984
  107. package/components/query-solution/index.umd.cjs +13 -6
  108. package/components/response-layout/index.esm.js +1 -1
  109. package/components/response-layout/index.umd.cjs +1 -1
  110. package/components/schema-selector/index.esm.js +2448 -2222
  111. package/components/schema-selector/index.umd.cjs +7 -7
  112. package/components/search-box/index.esm.js +244 -72
  113. package/components/search-box/index.umd.cjs +1 -1
  114. package/components/section/index.esm.js +212 -209
  115. package/components/section/index.umd.cjs +2 -2
  116. package/components/smoke-detector/index.esm.js +179 -8
  117. package/components/smoke-detector/index.umd.cjs +1 -1
  118. package/components/sort-condition-editor/index.css +1 -0
  119. package/components/sort-condition-editor/index.esm.js +9493 -4
  120. package/components/sort-condition-editor/index.umd.cjs +427 -1
  121. package/components/splitter/index.esm.js +1172 -142
  122. package/components/splitter/index.umd.cjs +1 -1
  123. package/components/step/index.esm.js +47 -48
  124. package/components/step/index.umd.cjs +1 -1
  125. package/components/tabs/index.esm.js +490 -419
  126. package/components/tabs/index.umd.cjs +1 -1
  127. package/components/text/index.esm.js +217 -73
  128. package/components/text/index.umd.cjs +1 -1
  129. package/components/textarea/index.esm.js +29 -27
  130. package/components/textarea/index.umd.cjs +2 -2
  131. package/components/transfer/index.esm.js +760 -543
  132. package/components/transfer/index.umd.cjs +5 -5
  133. package/components/tree-grid/index.esm.js +129 -128
  134. package/components/tree-grid/index.umd.cjs +1 -1
  135. package/components/tree-view/index.esm.js +320 -153
  136. package/components/tree-view/index.umd.cjs +1 -1
  137. package/components/uploader/index.esm.js +1112 -607
  138. package/components/uploader/index.umd.cjs +2 -2
  139. package/components/verify-detail/index.esm.js +359 -106
  140. package/components/verify-detail/index.umd.cjs +1 -1
  141. package/components/video/index.esm.js +222 -89
  142. package/components/video/index.umd.cjs +1 -1
  143. package/components/weather/index.esm.js +290 -199
  144. package/components/weather/index.umd.cjs +1 -1
  145. package/designer/data-grid/index.esm.js +5301 -4507
  146. package/designer/data-grid/index.umd.cjs +17 -10
  147. package/designer/drawer/index.esm.js +626 -615
  148. package/designer/drawer/index.umd.cjs +2 -2
  149. package/designer/dynamic-form/index.esm.js +2043 -1290
  150. package/designer/dynamic-form/index.umd.cjs +8 -1
  151. package/designer/farris-designer.all.esm.js +14263 -12505
  152. package/designer/farris-designer.all.umd.cjs +16 -16
  153. package/designer/list-view/index.esm.js +327 -327
  154. package/designer/list-view/index.umd.cjs +3 -3
  155. package/designer/modal/index.esm.js +29 -137
  156. package/designer/modal/index.umd.cjs +1 -1
  157. package/designer/radio-group/index.esm.js +238 -232
  158. package/designer/radio-group/index.umd.cjs +1 -1
  159. package/designer/response-layout-editor/index.esm.js +178 -171
  160. package/designer/response-layout-editor/index.umd.cjs +1 -1
  161. package/designer/response-toolbar/index.esm.js +1 -1
  162. package/designer/response-toolbar/index.umd.cjs +1 -1
  163. package/designer/section/index.esm.js +1 -6
  164. package/designer/section/index.umd.cjs +1 -1
  165. package/designer/tabs/index.esm.js +3431 -2493
  166. package/designer/tabs/index.umd.cjs +2 -2
  167. package/designer/time-picker/index.esm.js +195 -188
  168. package/designer/time-picker/index.umd.cjs +1 -1
  169. package/designer/tree-grid/index.esm.js +822 -464
  170. package/designer/tree-grid/index.umd.cjs +1 -1
  171. package/farris.all.esm.js +77525 -74884
  172. package/farris.all.umd.cjs +93 -93
  173. package/index.css +1 -1
  174. package/package.json +1 -1
  175. package/types/accordion/src/accordion.props.d.ts +1 -0
  176. package/types/accordion/src/components/accordion-item.props.d.ts +1 -0
  177. package/types/avatar/src/avatar.props.d.ts +1 -0
  178. package/types/binding-selector/index.d.ts +54 -0
  179. package/types/binding-selector/src/binding-selector.props.d.ts +1 -0
  180. package/types/button-group/index.d.ts +0 -15
  181. package/types/button-group/src/button-group.props.d.ts +1 -0
  182. package/types/code-editor/index.d.ts +1 -0
  183. package/types/code-editor/src/code-textbox.component.d.ts +6 -6
  184. package/types/code-editor/src/code-textbox.props.d.ts +2 -0
  185. package/types/color-picker/index.d.ts +15 -0
  186. package/types/color-picker/src/color-picker.props.d.ts +1 -0
  187. package/types/combo-list/src/composition/use-data-source.d.ts +2 -1
  188. package/types/combo-tree/src/combo-tree.props.d.ts +1 -0
  189. package/types/component/index.d.ts +2 -0
  190. package/types/component/src/component.props.d.ts +8 -0
  191. package/types/components.d.ts +8 -1
  192. package/types/condition/index.d.ts +55 -0
  193. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +4 -0
  194. package/types/data-view/composition/types.d.ts +1 -1
  195. package/types/designer-canvas/src/composition/dg-control.d.ts +24 -0
  196. package/types/designer-toolbox/index.d.ts +3 -0
  197. package/types/designer-toolbox/src/toolbox.component.d.ts +14 -0
  198. package/types/designer-toolbox/src/toolbox.props.d.ts +29 -0
  199. package/types/designer-toolbox/src/types.d.ts +21 -0
  200. package/types/designer.d.ts +13 -0
  201. package/types/dropdown/index.d.ts +6 -27
  202. package/types/dropdown/src/dropdown.item.component.d.ts +1 -1
  203. package/types/dropdown/src/dropdown.props.d.ts +1 -0
  204. package/types/dynamic-form/designer.d.ts +1 -4
  205. package/types/dynamic-form/index.d.ts +6 -11
  206. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -3
  207. package/types/dynamic-form/src/designer/dynamic-form.design.component.d.ts +8 -0
  208. package/types/dynamic-form/src/designer/response-form.design.props.d.ts +14 -0
  209. package/types/dynamic-form/src/designer/use-dynamic-form-rules.d.ts +2 -0
  210. package/types/dynamic-form/src/dynamic-form.component.d.ts +8 -0
  211. package/types/dynamic-form/src/response-form.props.d.ts +13 -1
  212. package/types/dynamic-form/src/schema/response-form-schema-resolver.d.ts +1 -0
  213. package/types/dynamic-form/src/types.d.ts +1 -0
  214. package/types/dynamic-resolver/index.d.ts +0 -3
  215. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver-design.d.ts +1 -1
  216. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver.d.ts +1 -1
  217. package/types/dynamic-resolver/src/resolver/property-config/use-property-config-resolver.d.ts +2 -2
  218. package/types/dynamic-resolver/src/resolver/schema/schema-resolver-design.d.ts +1 -1
  219. package/types/dynamic-resolver/src/resolver/schema/schema-resolver.d.ts +1 -1
  220. package/types/dynamic-resolver/src/types.d.ts +1 -0
  221. package/types/dynamic-view/index.d.ts +43 -3
  222. package/types/dynamic-view/src/components/maps.d.ts +110 -98
  223. package/types/dynamic-view/src/composition/index.d.ts +5 -0
  224. package/types/dynamic-view/src/composition/use-utils.d.ts +12 -0
  225. package/types/dynamic-view/src/dynamic-view.component.d.ts +6 -6
  226. package/types/{binding-selector/designer.d.ts → expression-editor/index.d.ts} +6 -6
  227. package/types/filter-condition-editor/index.d.ts +9 -0
  228. package/types/filter-condition-editor/src/components/filter-condition-grid.component.d.ts +12 -12
  229. package/types/filter-condition-editor/src/components/sort-editor-grid.component.d.ts +12 -12
  230. package/types/filter-condition-editor/src/filter-condition-editor.props.d.ts +1 -0
  231. package/types/flow-canvas/index.d.ts +3 -0
  232. package/types/flow-canvas/src/components/flow-node-item.component.d.ts +8 -0
  233. package/types/flow-canvas/src/components/flow-node-item.props.d.ts +3 -0
  234. package/types/flow-canvas/src/composition/types.d.ts +42 -0
  235. package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +2 -0
  236. package/types/flow-canvas/src/composition/use-connections.d.ts +2 -0
  237. package/types/flow-canvas/src/composition/use-curve.d.ts +4 -0
  238. package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +2 -0
  239. package/types/flow-canvas/src/composition/use-drawing.d.ts +4 -0
  240. package/types/flow-canvas/src/flow-canvas.component.d.ts +8 -0
  241. package/types/flow-canvas/src/flow-canvas.props.d.ts +3 -0
  242. package/types/image-cropper/src/image-cropper.props.d.ts +1 -0
  243. package/types/index.d.ts +1 -0
  244. package/types/json-editor/src/json-editor.props.d.ts +1 -0
  245. package/types/language-textbox/index.d.ts +3 -3
  246. package/types/language-textbox/src/components/language-contents.component.d.ts +1 -1
  247. package/types/language-textbox/src/language-textbox.component.d.ts +1 -1
  248. package/types/layout/index.d.ts +0 -1
  249. package/types/layout/src/components/layout-pane.props.d.ts +1 -0
  250. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +2 -0
  251. package/types/layout/src/designer/layout-pane.design.component.d.ts +8 -0
  252. package/types/layout/src/designer/layout-use-designer-rules.d.ts +2 -0
  253. package/types/layout/src/designer/layout.design.component.d.ts +8 -0
  254. package/types/layout/src/layout.props.d.ts +1 -0
  255. package/types/layout/src/schema/schema-mapper.d.ts +2 -0
  256. package/types/layout/src/schema/schema-resolver.d.ts +2 -0
  257. package/types/list-nav/index.d.ts +5 -24
  258. package/types/list-nav/src/designer/use-designer-rules.d.ts +2 -0
  259. package/types/list-nav/src/list-nav.props.d.ts +1 -0
  260. package/types/list-nav/src/property-config/list-nav.property-config.d.ts +8 -0
  261. package/types/list-nav/src/schema/schema-mapper.d.ts +2 -0
  262. package/types/list-nav/src/schema/schema-resolver.d.ts +2 -0
  263. package/types/list-view/index.d.ts +0 -1
  264. package/types/list-view/src/composition/use-draggable.d.ts +1 -1
  265. package/types/lookup/index.d.ts +1 -1
  266. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  267. package/types/menu-lookup/src/menu-lookup.props.d.ts +1 -0
  268. package/types/modal/designer.d.ts +0 -2
  269. package/types/nav/index.d.ts +20 -24
  270. package/types/nav/src/nav.props.d.ts +1 -0
  271. package/types/number-range/src/number-range.props.d.ts +1 -0
  272. package/types/order/index.d.ts +5 -36
  273. package/types/order/src/designer/order.design.component.d.ts +1 -1
  274. package/types/order/src/order.props.d.ts +1 -0
  275. package/types/page-footer/index.d.ts +2 -0
  276. package/types/page-footer/src/page-footer.props.d.ts +1 -0
  277. package/types/pagination/index.d.ts +0 -15
  278. package/types/pagination/src/pagination.props.d.ts +1 -0
  279. package/types/progress/src/progress.props.d.ts +1 -0
  280. package/types/property-panel/src/property-panel.component.d.ts +3 -3
  281. package/types/query-solution/index.d.ts +2 -1
  282. package/types/radio-group/designer.d.ts +1 -2
  283. package/types/search-box/index.d.ts +17 -1
  284. package/types/search-box/src/search-box.props.d.ts +1 -0
  285. package/types/section/designer.d.ts +0 -1
  286. package/types/smoke-detector/index.d.ts +2 -0
  287. package/types/smoke-detector/src/smoke-detector.props.d.ts +1 -0
  288. package/types/sort-condition-editor/index.d.ts +7 -2
  289. package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +1 -0
  290. package/types/splitter/index.d.ts +0 -1
  291. package/types/splitter/src/components/splitter-pane.props.d.ts +1 -0
  292. package/types/splitter/src/splitter.props.d.ts +1 -0
  293. package/types/tabs/designer.d.ts +0 -1
  294. package/types/tabs/index.d.ts +1 -0
  295. package/types/text/index.d.ts +20 -24
  296. package/types/text/src/text.props.d.ts +1 -0
  297. package/types/transfer/src/transfer.props.d.ts +1 -0
  298. package/types/tree-view/src/tree-view.props.d.ts +1 -0
  299. package/types/uploader/src/uploader.props.d.ts +1 -0
  300. package/types/verify-detail/index.d.ts +5 -58
  301. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
  302. package/types/verify-detail/src/verify-detail.props.d.ts +1 -0
  303. package/types/video/index.d.ts +20 -24
  304. package/types/video/src/video.props.d.ts +1 -0
  305. package/components/dynamic-form/index.css +0 -1
  306. package/designer/accordion/index.esm.js +0 -257
  307. package/designer/accordion/index.umd.cjs +0 -1
  308. package/designer/avatar/index.esm.js +0 -1460
  309. package/designer/avatar/index.umd.cjs +0 -1
  310. package/designer/binding-selector/index.esm.js +0 -792
  311. package/designer/binding-selector/index.umd.cjs +0 -1
  312. package/designer/button-group/index.esm.js +0 -282
  313. package/designer/button-group/index.umd.cjs +0 -1
  314. package/designer/code-editor/index.esm.js +0 -75
  315. package/designer/code-editor/index.umd.cjs +0 -1
  316. package/designer/color-picker/index.esm.js +0 -1096
  317. package/designer/color-picker/index.umd.cjs +0 -1
  318. package/designer/combo-list/index.esm.js +0 -1095
  319. package/designer/combo-list/index.umd.cjs +0 -1
  320. package/designer/combo-tree/index.esm.js +0 -186
  321. package/designer/combo-tree/index.umd.cjs +0 -1
  322. package/designer/component/index.css +0 -1
  323. package/designer/component/index.esm.js +0 -5002
  324. package/designer/component/index.umd.cjs +0 -1
  325. package/designer/condition/index.esm.js +0 -1899
  326. package/designer/condition/index.umd.cjs +0 -1
  327. package/designer/dropdown/index.esm.js +0 -261
  328. package/designer/dropdown/index.umd.cjs +0 -1
  329. package/designer/expression-editor/index.css +0 -1
  330. package/designer/expression-editor/index.esm.js +0 -7006
  331. package/designer/expression-editor/index.umd.cjs +0 -427
  332. package/designer/filter-condition-editor/index.css +0 -1
  333. package/designer/filter-condition-editor/index.esm.js +0 -4795
  334. package/designer/filter-condition-editor/index.umd.cjs +0 -1
  335. package/designer/html-template/index.esm.js +0 -718
  336. package/designer/html-template/index.umd.cjs +0 -1
  337. package/designer/image-cropper/index.esm.js +0 -765
  338. package/designer/image-cropper/index.umd.cjs +0 -1
  339. package/designer/json-editor/index.esm.js +0 -83
  340. package/designer/json-editor/index.umd.cjs +0 -1
  341. package/designer/language-textbox/index.esm.js +0 -783
  342. package/designer/language-textbox/index.umd.cjs +0 -8
  343. package/designer/layout/index.esm.js +0 -430
  344. package/designer/layout/index.umd.cjs +0 -1
  345. package/designer/list-nav/index.esm.js +0 -802
  346. package/designer/list-nav/index.umd.cjs +0 -1
  347. package/designer/lookup/index.esm.js +0 -2083
  348. package/designer/lookup/index.umd.cjs +0 -1
  349. package/designer/menu-lookup/index.esm.js +0 -46
  350. package/designer/menu-lookup/index.umd.cjs +0 -1
  351. package/designer/nav/index.esm.js +0 -284
  352. package/designer/nav/index.umd.cjs +0 -1
  353. package/designer/number-range/index.esm.js +0 -1616
  354. package/designer/number-range/index.umd.cjs +0 -1
  355. package/designer/order/index.css +0 -1
  356. package/designer/order/index.esm.js +0 -2196
  357. package/designer/order/index.umd.cjs +0 -18
  358. package/designer/page-footer/index.esm.js +0 -290
  359. package/designer/page-footer/index.umd.cjs +0 -1
  360. package/designer/page-header/index.esm.js +0 -1003
  361. package/designer/page-header/index.umd.cjs +0 -1
  362. package/designer/pagination/index.esm.js +0 -591
  363. package/designer/pagination/index.umd.cjs +0 -1
  364. package/designer/progress/index.esm.js +0 -213
  365. package/designer/progress/index.umd.cjs +0 -1
  366. package/designer/search-box/index.esm.js +0 -245
  367. package/designer/search-box/index.umd.cjs +0 -1
  368. package/designer/smoke-detector/index.css +0 -1
  369. package/designer/smoke-detector/index.esm.js +0 -178
  370. package/designer/smoke-detector/index.umd.cjs +0 -1
  371. package/designer/sort-condition-editor/index.esm.js +0 -138
  372. package/designer/sort-condition-editor/index.umd.cjs +0 -1
  373. package/designer/splitter/index.esm.js +0 -1120
  374. package/designer/splitter/index.umd.cjs +0 -1
  375. package/designer/step/index.esm.js +0 -226
  376. package/designer/step/index.umd.cjs +0 -1
  377. package/designer/text/index.esm.js +0 -147
  378. package/designer/text/index.umd.cjs +0 -1
  379. package/designer/transfer/index.esm.js +0 -254
  380. package/designer/transfer/index.umd.cjs +0 -1
  381. package/designer/tree-view/index.esm.js +0 -313
  382. package/designer/tree-view/index.umd.cjs +0 -1
  383. package/designer/uploader/index.esm.js +0 -1190
  384. package/designer/uploader/index.umd.cjs +0 -2
  385. package/designer/verify-detail/index.esm.js +0 -258
  386. package/designer/verify-detail/index.umd.cjs +0 -1
  387. package/designer/video/index.esm.js +0 -136
  388. package/designer/video/index.umd.cjs +0 -1
  389. package/designer/weather/index.css +0 -1
  390. package/designer/weather/index.esm.js +0 -6244
  391. package/designer/weather/index.umd.cjs +0 -14
  392. package/types/accordion/designer.d.ts +0 -44
  393. package/types/avatar/designer.d.ts +0 -29
  394. package/types/button-group/designer.d.ts +0 -29
  395. package/types/code-editor/designer.d.ts +0 -5
  396. package/types/color-picker/designer.d.ts +0 -29
  397. package/types/combo-list/designer.d.ts +0 -29
  398. package/types/combo-list/src/designer/combo-list.design.props.d.ts +0 -6
  399. package/types/combo-tree/designer.d.ts +0 -5
  400. package/types/component/designer.d.ts +0 -35
  401. package/types/condition/designer.d.ts +0 -56
  402. package/types/dropdown/designer.d.ts +0 -6
  403. package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +0 -11
  404. package/types/expression-editor/designer.d.ts +0 -9
  405. package/types/filter-condition-editor/designer.d.ts +0 -10
  406. package/types/html-template/designer.d.ts +0 -31
  407. package/types/html-template/src/designer/html-template.design.props.d.ts +0 -9
  408. package/types/image-cropper/designer.d.ts +0 -4
  409. package/types/json-editor/designer.d.ts +0 -5
  410. package/types/menu-lookup/designer.d.ts +0 -5
  411. package/types/nav/designer.d.ts +0 -6
  412. package/types/number-range/designer.d.ts +0 -29
  413. package/types/order/designer.d.ts +0 -6
  414. package/types/page-footer/designer.d.ts +0 -6
  415. package/types/page-header/src/designer/page-header.design.props.d.ts +0 -20
  416. package/types/pagination/designer.d.ts +0 -29
  417. package/types/progress/designer.d.ts +0 -29
  418. package/types/search-box/designer.d.ts +0 -52
  419. package/types/smoke-detector/designer.d.ts +0 -6
  420. package/types/sort-condition-editor/designer.d.ts +0 -9
  421. package/types/splitter/designer.d.ts +0 -32
  422. package/types/step/designer.d.ts +0 -6
  423. package/types/text/designer.d.ts +0 -6
  424. package/types/transfer/designer.d.ts +0 -35
  425. package/types/tree-view/designer.d.ts +0 -29
  426. package/types/uploader/designer.d.ts +0 -141
  427. package/types/verify-detail/designer.d.ts +0 -6
  428. package/types/video/designer.d.ts +0 -6
  429. /package/{designer → components}/condition/index.css +0 -0
  430. /package/{designer → components}/uploader/index.css +0 -0
  431. /package/types/{dynamic-form/src/component/form-control/form-control.component.d.ts → list-nav/src/designer/list-nav.design.component.d.ts} +0 -0
@@ -1,14 +1,152 @@
1
- import { useTextBox as de, useClear as fe, withInstall as Y, isMobilePhone as me } from "../common/index.esm.js";
2
- import { ref as F, computed as k, defineComponent as $, onMounted as V, createVNode as T, watch as L, withDirectives as J, vModelText as pe, resolveDirective as ve, Fragment as ge, toRefs as be, inject as _ } from "vue";
3
- import ye from "../button-edit/index.esm.js";
4
- import { createPropsResolver as xe, getPropsResolverGenerator as Te } from "../dynamic-resolver/index.esm.js";
1
+ import { defineComponent as $, ref as F, inject as H, onMounted as V, createVNode as T, computed as k, watch as O, withDirectives as Y, vModelText as ce, resolveDirective as de, Fragment as fe, toRefs as me } from "vue";
2
+ import { useDesignerComponent as pe } from "../designer-canvas/index.esm.js";
3
+ import { InputBaseProperty as ve } from "../property-panel/index.esm.js";
4
+ import ge from "../button-edit/index.esm.js";
5
+ import { createPropsResolver as be, getPropsResolverGenerator as ye } from "../dynamic-resolver/index.esm.js";
5
6
  import { isPlainObject as U, cloneDeep as Z } from "lodash-es";
6
- import { FInputGroup as he } from "../input-group/index.esm.js";
7
- import { LocaleService as Q } from "../locale/index.esm.js";
8
- import { useNumber as Ce, useFormat as Se, useSpinner as we, useTextBox as Be, getSpinnerRender as Fe, getNumberTextBoxRender as Pe } from "../number-spinner/index.esm.js";
9
- import { useDesignerComponent as ke } from "../designer-canvas/index.esm.js";
10
- import { InputBaseProperty as Oe } from "../property-panel/index.esm.js";
11
- function Le(e = {}) {
7
+ import { FInputGroup as xe } from "../input-group/index.esm.js";
8
+ import { LocaleService as J } from "../locale/index.esm.js";
9
+ import { useTextBox as Te, useClear as he, withInstall as Ce, isMobilePhone as we } from "../common/index.esm.js";
10
+ import { useNumber as Se, useFormat as Be, useSpinner as Fe, useTextBox as Pe, getSpinnerRender as ke, getNumberTextBoxRender as Le } from "../number-spinner/index.esm.js";
11
+ class Oe extends ve {
12
+ constructor(t, n) {
13
+ super(t, n);
14
+ }
15
+ getEditorProperties(t) {
16
+ return this.getComponentConfig(t, { type: "language-textbox" }, {
17
+ maxLength: {
18
+ description: "文本字数最大长度",
19
+ title: "最大长度",
20
+ type: "number",
21
+ editor: {
22
+ nullable: !0,
23
+ min: 0,
24
+ useThousands: !1,
25
+ max: t.editor.maxLength,
26
+ needValid: !0
27
+ }
28
+ }
29
+ });
30
+ }
31
+ }
32
+ function Ee(e, t) {
33
+ function n(o, c) {
34
+ const b = e.schema;
35
+ return new Oe(o, t).getPropertyConfig(b, c);
36
+ }
37
+ return { getPropsConfig: n };
38
+ }
39
+ const Me = /* @__PURE__ */ $({
40
+ name: "FLanguageTextboxDesign",
41
+ props: {
42
+ placeholder: {
43
+ type: String,
44
+ default: ""
45
+ }
46
+ },
47
+ setup(e, t) {
48
+ const n = F(), o = H("design-item-context"), c = H("designer-host-service"), b = Ee(o, c), i = pe(n, o, b);
49
+ return V(() => {
50
+ n.value.componentInstance = i;
51
+ }), t.expose(i.value), () => T("div", {
52
+ class: "f-button-edit f-cmp-inputgroup f-button-edit-nowrap",
53
+ ref: n
54
+ }, [T("div", {
55
+ class: "input-group"
56
+ }, [T("input", {
57
+ autocomplete: "off",
58
+ class: "text-left form-control f-utils-fill",
59
+ readonly: "true",
60
+ type: "text",
61
+ placeholder: e.placeholder
62
+ }, null), T("div", {
63
+ class: "input-group-append"
64
+ }, [T("span", {
65
+ class: "input-group-text input-group-append-button"
66
+ }, [T("i", {
67
+ class: "f-icon f-icon-yxs_earth"
68
+ }, null)])])])]);
69
+ }
70
+ });
71
+ function Q(e, t) {
72
+ let n;
73
+ function o(l) {
74
+ const { properties: s, title: m, ignore: r } = l, a = r && Array.isArray(r), f = Object.keys(s).reduce((g, u) => ((!a || !r.find((w) => w === u)) && (g[u] = s[u].type === "object" && s[u].properties ? o(s[u]) : Z(s[u].default)), g), {});
75
+ if (m && (!a || !r.find((g) => g === "id"))) {
76
+ const g = m.toLowerCase().replace(/-/g, "_");
77
+ f.id = `${g}_${Math.random().toString().slice(2, 6)}`;
78
+ }
79
+ return f;
80
+ }
81
+ function c(l) {
82
+ const { properties: s, title: m, required: r } = l;
83
+ if (r && Array.isArray(r)) {
84
+ const a = r.reduce((f, g) => (f[g] = s[g].type === "object" && s[g].properties ? o(s[g]) : Z(s[g].default), f), {});
85
+ if (m && r.find((f) => f === "id")) {
86
+ const f = m.toLowerCase().replace(/-/g, "_");
87
+ a.id = `${f}_${Math.random().toString().slice(2, 6)}`;
88
+ }
89
+ return a;
90
+ }
91
+ return {
92
+ type: m
93
+ };
94
+ }
95
+ function b(l, s = {}, m) {
96
+ const r = e[l];
97
+ if (r) {
98
+ let a = c(r);
99
+ const f = t[l];
100
+ return a = f ? f({ getSchemaByType: b }, a, s, m) : a, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(a), a;
101
+ }
102
+ return null;
103
+ }
104
+ function i(l, s) {
105
+ const m = o(s);
106
+ return Object.keys(m).reduce((r, a) => (Object.prototype.hasOwnProperty.call(l, a) && (r[a] && U(r[a]) && U(l[a] || !l[a]) ? Object.assign(r[a], l[a] || {}) : r[a] = l[a]), r), m), m;
107
+ }
108
+ function C(l, s) {
109
+ return Object.keys(l).filter((r) => l[r] != null).reduce((r, a) => {
110
+ if (s.has(a)) {
111
+ const f = s.get(a);
112
+ if (typeof f == "string")
113
+ r[f] = l[a];
114
+ else {
115
+ const g = f(a, l[a], l);
116
+ Object.assign(r, g);
117
+ }
118
+ } else
119
+ r[a] = l[a];
120
+ return r;
121
+ }, {});
122
+ }
123
+ function S(l, s, m = /* @__PURE__ */ new Map()) {
124
+ const r = i(l, s);
125
+ return C(r, m);
126
+ }
127
+ function d(l) {
128
+ var m;
129
+ const s = l.type;
130
+ if (s) {
131
+ const r = e[s];
132
+ if (!r)
133
+ return l;
134
+ const a = i(l, r), f = ((m = l.editor) == null ? void 0 : m.type) || "";
135
+ if (f) {
136
+ const g = e[f], u = i(l.editor, g);
137
+ a.editor = u;
138
+ }
139
+ return a;
140
+ }
141
+ return l;
142
+ }
143
+ function p(l) {
144
+ n = l;
145
+ }
146
+ return { getSchemaByType: b, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: S, mappingSchemaToProps: C, setDesignerContext: p };
147
+ }
148
+ const Ie = {}, Re = {}, { resolveSchemaWithDefaultValue: Ne } = Q(Ie, Re);
149
+ function je(e = {}) {
12
150
  function t(d, p, l, s) {
13
151
  if (typeof l == "number")
14
152
  return s[d].length === l;
@@ -46,7 +184,7 @@ function Le(e = {}) {
46
184
  return l.push(...m), l;
47
185
  }, []);
48
186
  }
49
- function u(d, p) {
187
+ function i(d, p) {
50
188
  if (o.has(d.operator)) {
51
189
  const l = o.get(d.operator);
52
190
  return l && l(d.target, d.param, d.value, p) || !1;
@@ -54,27 +192,27 @@ function Le(e = {}) {
54
192
  return !1;
55
193
  }
56
194
  function C(d, p) {
57
- return b(d).reduce((m, r) => m && u(r, p), !0);
195
+ return b(d).reduce((m, r) => m && i(r, p), !0);
58
196
  }
59
- function w(d, p) {
60
- const l = Object.keys(d), s = l.includes("allOf"), m = l.includes("anyOf"), r = s || m, g = (r ? d[r ? s ? "allOf" : "anyOf" : "allOf"] : [d]).map((S) => C(S, p));
197
+ function S(d, p) {
198
+ const l = Object.keys(d), s = l.includes("allOf"), m = l.includes("anyOf"), r = s || m, g = (r ? d[r ? s ? "allOf" : "anyOf" : "allOf"] : [d]).map((w) => C(w, p));
61
199
  return s ? !g.includes(!1) : g.includes(!0);
62
200
  }
63
- return { parseValueSchema: w };
201
+ return { parseValueSchema: S };
64
202
  }
65
- const Ee = {
203
+ const De = {
66
204
  convertTo: (e, t, n, o) => {
67
205
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
68
206
  },
69
207
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
70
- }, Me = {
208
+ }, Ve = {
71
209
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
72
- }, Ie = {
210
+ }, Ae = {
73
211
  convertTo: (e, t, n, o) => {
74
212
  e.editor && (e.editor[t] = n);
75
213
  },
76
214
  convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
77
- }, Re = {
215
+ }, $e = {
78
216
  button: { type: "button", name: "按钮" },
79
217
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
80
218
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -128,19 +266,24 @@ const Ee = {
128
266
  "discussion-list": { type: "discussion-list", name: "评论列表" },
129
267
  comment: { type: "comment", name: "评论区" },
130
268
  "rich-text-editor": { type: "rich-text-editor", name: "富文本", icon: "rich-text-box" },
131
- calendar: { type: "calendar", name: "日历", icon: "date-picker" }
132
- }, Ne = {
269
+ calendar: { type: "calendar", name: "日历", icon: "date-picker" },
270
+ wizard: { type: "wizard", name: "向导", icon: "wizard" },
271
+ "wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
272
+ "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
273
+ step: { type: "step", name: "步骤条", icon: "step" },
274
+ "dynamic-form": { type: "dynamic-form", name: "动态表单" }
275
+ }, ze = {
133
276
  convertFrom: (e, t, n) => {
134
277
  var c;
135
278
  const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
136
- return ((c = Re[o]) == null ? void 0 : c.name) || o;
279
+ return ((c = $e[o]) == null ? void 0 : c.name) || o;
137
280
  }
138
- }, je = {
281
+ }, Ge = {
139
282
  convertTo: (e, t, n, o) => {
140
283
  e[t] = e[t];
141
284
  },
142
285
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
143
- }, De = {
286
+ }, We = {
144
287
  convertTo: (e, t, n, o) => {
145
288
  (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = n : e.formatter = {
146
289
  [t]: n
@@ -168,10 +311,12 @@ const Ee = {
168
311
  return e.formatter.customFormat;
169
312
  if (t === "type")
170
313
  return e.formatter.type || "none";
314
+ if (t === "customFormat")
315
+ return e.formmater.customFormat;
171
316
  }
172
317
  return "none";
173
318
  }
174
- }, Ve = {
319
+ }, qe = {
175
320
  convertTo: (e, t, n, o) => {
176
321
  e.command ? e.command[t] = n : e.command = {
177
322
  [t]: n
@@ -189,29 +334,17 @@ const Ee = {
189
334
  ]), t === "enableType" && n === "custom" && (e.command.enable = !0, e.command.commands = [
190
335
  {
191
336
  value: "add",
192
- text: {
193
- en: "add",
194
- "zh-CHS": "增加",
195
- "zh-CHT": "增加"
196
- },
337
+ text: "增加",
197
338
  type: "link"
198
339
  },
199
340
  {
200
341
  value: "edit",
201
- text: {
202
- en: "edit",
203
- "zh-CHS": "编辑",
204
- "zh-CHT": "編輯"
205
- },
342
+ text: "编辑",
206
343
  type: "danger"
207
344
  },
208
345
  {
209
346
  value: "remove",
210
- text: {
211
- en: "remove",
212
- "zh-CHS": "删除",
213
- "zh-CHT": "刪除"
214
- },
347
+ text: "删除",
215
348
  type: "remove"
216
349
  }
217
350
  ]), t === "enableType" && n === "unable" && (e.command.enable = !1);
@@ -220,7 +353,7 @@ const Ee = {
220
353
  var o, c;
221
354
  if (e.command) {
222
355
  if (t === "enableType") {
223
- const b = (c = (o = e.command) == null ? void 0 : o.commands) == null ? void 0 : c.find((u) => u.command === "edit" && u.type === "primary");
356
+ const b = (c = (o = e.command) == null ? void 0 : o.commands) == null ? void 0 : c.find((i) => i.command === "edit" && i.type === "primary");
224
357
  return e.command.enable ? b ? "default" : "custom" : "unable";
225
358
  }
226
359
  if (t === "commands")
@@ -229,10 +362,12 @@ const Ee = {
229
362
  return e.command.formatter;
230
363
  if (t === "count")
231
364
  return e.command.count;
365
+ if (t === "columnWidth")
366
+ return e.command.columnWidth || 150;
232
367
  }
233
368
  return "";
234
369
  }
235
- }, Ae = {
370
+ }, _e = {
236
371
  convertTo: (e, t, n, o) => {
237
372
  e.column ? e.column[t] = n : e.column = {
238
373
  [t]: n
@@ -247,7 +382,7 @@ const Ee = {
247
382
  }
248
383
  return "";
249
384
  }
250
- }, $e = {
385
+ }, He = {
251
386
  convertTo: (e, t, n, o) => {
252
387
  e.summary ? e.summary[t] = n : e.summary = {
253
388
  [t]: n
@@ -256,8 +391,11 @@ const Ee = {
256
391
  groupFields: []
257
392
  });
258
393
  },
259
- convertFrom: (e, t, n) => e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : ""
260
- }, Ge = {
394
+ convertFrom: (e, t, n) => {
395
+ var o;
396
+ 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 : "";
397
+ }
398
+ }, Ue = {
261
399
  convertTo: (e, t, n, o) => {
262
400
  e.group ? e.group[t] = n : e.group = {
263
401
  [t]: n
@@ -275,7 +413,7 @@ const Ee = {
275
413
  return e.group.showSummary;
276
414
  }
277
415
  }
278
- }, ze = {
416
+ }, Ze = {
279
417
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
280
418
  convertTo: (e, t, n) => {
281
419
  if (n && n.length > 0) {
@@ -283,17 +421,17 @@ const Ee = {
283
421
  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;
284
422
  }
285
423
  }
286
- }, He = {
424
+ }, Ye = {
287
425
  convertTo: (e, t, n, o) => {
288
- e.pagination || (e.pagination = {}), e.pagination[t] = n;
426
+ e.pagination || (e.pagination = {}), t === "sizeLimits" ? e.pagination.sizeLimits = n.split(",") : e.pagination[t] = n;
289
427
  },
290
- convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
291
- }, qe = {
428
+ convertFrom: (e, t, n) => e.pagination ? t === "sizeLimits" ? e.pagination.sizeLimits.join(",") : e.pagination[t] : e[t]
429
+ }, Je = {
292
430
  convertTo: (e, t, n, o) => {
293
431
  e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = n;
294
432
  },
295
433
  convertFrom: (e, t, n) => e.rowNumber ? e.rowNumber[t] : e[t]
296
- }, We = {
434
+ }, Qe = {
297
435
  convertTo: (e, t, n, o) => {
298
436
  e.selection || (e.selection = {}), e.selection[t] = n;
299
437
  },
@@ -301,24 +439,24 @@ const Ee = {
301
439
  var o, c;
302
440
  return t === "showCheckbox" ? (o = e.selection) != null && o.multiSelect ? !0 : (c = e.selection) == null ? void 0 : c.showCheckbox : e.selection ? e.selection[t] : e[t];
303
441
  }
304
- }, _e = {
442
+ }, Xe = {
305
443
  convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
306
- }, Ue = {
444
+ }, Ke = {
307
445
  convertFrom: (e, t) => e[t] || "",
308
446
  convertTo: (e, t, n) => {
309
447
  e[t] = n;
310
448
  }
311
- }, Ze = {
449
+ }, et = {
312
450
  convertTo: (e, t, n, o) => {
313
451
  e.size || (e.size = {}), e.size[t] = n;
314
452
  },
315
453
  convertFrom: (e, t, n) => e.size ? e.size[t] : e[t]
316
- }, Ye = {
454
+ }, tt = {
317
455
  convertFrom: (e, t, n) => {
318
456
  var o, c;
319
457
  return (o = e.formatter) != null && o.data && t === "formatterEnumData" && !e.formatterEnumData ? (c = e.formatter) == null ? void 0 : c.data : e.formatterEnumData;
320
458
  }
321
- }, Je = {
459
+ }, nt = {
322
460
  convertTo: (e, t, n, o) => {
323
461
  e.sort || (e.sort = {}), e.sort[t] = n;
324
462
  },
@@ -329,7 +467,7 @@ const Ee = {
329
467
  if (t === "multiSort")
330
468
  return !!((c = e.sort) != null && c.multiSort);
331
469
  }
332
- }, Qe = {
470
+ }, ot = {
333
471
  convertTo: (e, t, n, o) => {
334
472
  e.filter || (e.filter = {}), e.filter[t] = n;
335
473
  },
@@ -338,7 +476,7 @@ const Ee = {
338
476
  if (t === "mode")
339
477
  return ((o = e.filter) == null ? void 0 : o.mode) || "client";
340
478
  }
341
- }, Xe = {
479
+ }, rt = {
342
480
  convertTo: (e, t, n, o) => {
343
481
  e.rowOption ? e.rowOption[t] = n : e.rowOption = {
344
482
  [t]: n
@@ -350,10 +488,12 @@ const Ee = {
350
488
  return e.rowOption.customRowStyle;
351
489
  if (t === "customCellStyle")
352
490
  return e.rowOption.customCellStyle;
491
+ if (t === "height")
492
+ return e.rowOption.height;
353
493
  }
354
494
  return "";
355
495
  }
356
- }, Ke = {
496
+ }, at = {
357
497
  convertTo: (e, t, n, o) => {
358
498
  (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e[t] = n, t === "columnTemplateType" && n === "hyperlink" && (e.onClickLinkCommand ? e.columnTemplate = `
359
499
  <span class="f-pretend-link f-cursor-pointer"
@@ -368,28 +508,28 @@ const Ee = {
368
508
  };
369
509
  function X(e, t, n) {
370
510
  const o = /* @__PURE__ */ new Map([
371
- ["/converter/appearance.converter", Ee],
372
- ["/converter/buttons.converter", Me],
373
- ["/converter/property-editor.converter", Ie],
374
- ["/converter/items-count.converter", _e],
375
- ["/converter/type.converter", Ne],
376
- ["/converter/change-editor.converter", je],
377
- ["/converter/change-formatter.converter", De],
378
- ["/converter/column-command.converter", Ve],
379
- ["/converter/column-option.converter", Ae],
380
- ["/converter/summary.converter", $e],
381
- ["/converter/group.converter", Ge],
382
- ["/converter/form-group-label.converter", Ue],
383
- ["/converter/field-selector.converter", ze],
384
- ["/converter/pagination.converter", He],
385
- ["/converter/row-number.converter", qe],
386
- ["/converter/grid-selection.converter", We],
387
- ["/converter/size.converter", Ze],
388
- ["/converter/change-formatter-enum.converter", Ye],
389
- ["/converter/grid-sort.converter", Je],
390
- ["/converter/grid-filter.converter", Qe],
391
- ["/converter/row-option.converter", Xe],
392
- ["/converter/change-formatter-type.converter", Ke]
511
+ ["/converter/appearance.converter", De],
512
+ ["/converter/buttons.converter", Ve],
513
+ ["/converter/property-editor.converter", Ae],
514
+ ["/converter/items-count.converter", Xe],
515
+ ["/converter/type.converter", ze],
516
+ ["/converter/change-editor.converter", Ge],
517
+ ["/converter/change-formatter.converter", We],
518
+ ["/converter/column-command.converter", qe],
519
+ ["/converter/column-option.converter", _e],
520
+ ["/converter/summary.converter", He],
521
+ ["/converter/group.converter", Ue],
522
+ ["/converter/form-group-label.converter", Ke],
523
+ ["/converter/field-selector.converter", Ze],
524
+ ["/converter/pagination.converter", Ye],
525
+ ["/converter/row-number.converter", Je],
526
+ ["/converter/grid-selection.converter", Qe],
527
+ ["/converter/size.converter", et],
528
+ ["/converter/change-formatter-enum.converter", tt],
529
+ ["/converter/grid-sort.converter", nt],
530
+ ["/converter/grid-filter.converter", ot],
531
+ ["/converter/row-option.converter", rt],
532
+ ["/converter/change-formatter-type.converter", at]
393
533
  ]), c = /* @__PURE__ */ new Map([
394
534
  ["string", { type: "input-group", enableClear: !1 }],
395
535
  ["boolean", {
@@ -414,76 +554,76 @@ function X(e, t, n) {
414
554
  ["array", { type: "button-edit" }],
415
555
  ["number", { type: "number-spinner", placeholder: "" }],
416
556
  ["events-editor", { type: "events-editor", hide: !0 }]
417
- ]), b = Le();
418
- function u(r, a) {
557
+ ]), b = je();
558
+ function i(r, a) {
419
559
  return () => b.parseValueSchema(r, a);
420
560
  }
421
561
  function C(r, a, f) {
422
- return r.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 : u(a.visible, f) : () => !0;
562
+ return r.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 : i(a.visible, f) : () => !0;
423
563
  }
424
- function w(r, a, f) {
425
- return r.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly : u(a.readonly, f) : () => !1;
564
+ function S(r, a, f) {
565
+ return r.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly : i(a.readonly, f) : () => !1;
426
566
  }
427
567
  function d(r, a) {
428
568
  const f = r.$converter || a;
429
569
  return typeof f == "string" && f && o.has(f) ? o.get(f) || null : f || null;
430
570
  }
431
- function p(r, a, f, g, i, S = "", P = "") {
571
+ function p(r, a, f, g, u, w = "", P = "") {
432
572
  return Object.keys(r).map((v) => {
433
- const y = F(1), O = v, h = r[v], x = Object.keys(h), R = h.title, E = h.type, D = c.get(E) || { type: "input-group", enableClear: !1 }, N = h.editor ? Object.assign({}, D, h.editor) : Object.assign({}, D), G = C(x, h, a), A = w(x, h, a);
573
+ const y = F(1), L = v, h = r[v], x = Object.keys(h), R = h.title, E = h.type, j = c.get(E) || { type: "input-group", enableClear: !1 }, N = h.editor ? Object.assign({}, j, h.editor) : Object.assign({}, j), z = C(x, h, a), A = S(x, h, a);
434
574
  N.readonly = N.readonly === void 0 ? A() : N.readonly;
435
- const z = h.type === "cascade" ? p(h.properties, a, f, g, i, S, P) : [], H = !0;
575
+ const G = h.type === "cascade" ? p(h.properties, a, f, g, u, w, P) : [], W = !0;
436
576
  let M = d(h, P);
437
- const ae = k({
577
+ const re = k({
438
578
  get() {
439
579
  if (y.value) {
440
- if (["class", "style"].find((ce) => ce === O) && !M && (M = o.get("/converter/appearance.converter") || null), M && M.convertFrom)
441
- return M.convertFrom(f, v, i, S);
580
+ if (["class", "style"].find((se) => se === L) && !M && (M = o.get("/converter/appearance.converter") || null), M && M.convertFrom)
581
+ return M.convertFrom(f, v, u, w);
442
582
  const I = f[v];
443
583
  return Object.prototype.hasOwnProperty.call(h, "defaultValue") && (I === void 0 || typeof I == "string" && I === "") ? h.type === "boolean" ? h.defaultValue : h.defaultValue || "" : I;
444
584
  }
445
585
  return null;
446
586
  },
447
587
  set(I) {
448
- y.value += 1, M && M.convertTo ? (M.convertTo(g, v, I, i, S), M.convertTo(f, v, I, i, S)) : (g[v] = I, f[v] = I);
588
+ y.value += 1, M && M.convertTo ? (M.convertTo(g, v, I, u, w), M.convertTo(f, v, I, u, w)) : (g[v] = I, f[v] = I);
449
589
  }
450
- }), { refreshPanelAfterChanged: le, description: ue, isExpand: ie, parentPropertyID: se } = h, W = { propertyID: O, propertyName: R, propertyType: E, propertyValue: ae, editor: N, visible: G, readonly: A, cascadeConfig: z, hideCascadeTitle: H, refreshPanelAfterChanged: le, description: ue, isExpand: ie, parentPropertyID: se };
451
- return a[O] = W, W;
590
+ }), { refreshPanelAfterChanged: ae, description: le, isExpand: ie, parentPropertyID: ue } = h, _ = { propertyID: L, propertyName: R, propertyType: E, propertyValue: re, editor: N, visible: z, readonly: A, cascadeConfig: G, hideCascadeTitle: W, refreshPanelAfterChanged: ae, description: le, isExpand: ie, parentPropertyID: ue };
591
+ return a[L] = _, _;
452
592
  });
453
593
  }
454
594
  function l(r, a, f = {}) {
455
- const g = {}, i = e[r];
456
- return i && i.categories ? Object.keys(i.categories).map((P) => {
457
- const B = i.categories[P], v = B == null ? void 0 : B.title, y = p(B.properties || {}, g, {}, f, a);
595
+ const g = {}, u = e[r];
596
+ return u && u.categories ? Object.keys(u.categories).map((P) => {
597
+ const B = u.categories[P], v = B == null ? void 0 : B.title, y = p(B.properties || {}, g, {}, f, a);
458
598
  return { categoryId: P, categoryName: v, properties: y };
459
599
  }) : [];
460
600
  }
461
- function s(r, a, f, g, i = "") {
462
- const S = a.$ref.schema, P = a.$ref.converter, B = f[S], v = B.type, y = n(B), O = {}, h = e[v];
601
+ function s(r, a, f, g, u = "") {
602
+ const w = a.$ref.schema, P = a.$ref.converter, B = f[w], v = B.type, y = n(B), L = {}, h = e[v];
463
603
  if (h && h.categories) {
464
604
  const x = h.categories[r], R = x == null ? void 0 : x.title;
465
605
  P && Object.keys(x.properties).forEach((N) => {
466
606
  x.properties[N].$converter = P;
467
607
  });
468
- const E = (x == null ? void 0 : x.properties) || {}, D = p(E, O, y, B, g, i);
469
- return { categoryId: r, categoryName: R, properties: D };
608
+ const E = (x == null ? void 0 : x.properties) || {}, j = p(E, L, y, B, g, u);
609
+ return { categoryId: r, categoryName: R, properties: j };
470
610
  }
471
611
  return { categoryId: r, categoryName: "", properties: [] };
472
612
  }
473
- function m(r, a, f, g, i) {
474
- const S = r.type, P = n(r), B = {};
475
- let v = i || e[S];
613
+ function m(r, a, f, g, u) {
614
+ const w = r.type, P = n(r), B = {};
615
+ let v = u || e[w];
476
616
  if (!(v && Object.keys(v).length > 0) && f && f.getPropConfig && (v = f.getPropConfig(g)), v && v.categories) {
477
- const O = [];
617
+ const L = [];
478
618
  return Object.keys(v.categories).map((h) => {
479
619
  const x = v.categories[h];
480
620
  if (x.$ref) {
481
- O.push(s(h, x, r, a, g));
621
+ L.push(s(h, x, r, a, g));
482
622
  return;
483
623
  }
484
- const R = x == null ? void 0 : x.title, E = x == null ? void 0 : x.tabId, D = x == null ? void 0 : x.tabName, N = x == null ? void 0 : x.hide, G = x == null ? void 0 : x.hideTitle, A = p(x.properties || {}, B, P, r, a, g, x.$converter), { setPropertyRelates: z } = x, H = x == null ? void 0 : x.parentPropertyID;
485
- O.push({ categoryId: h, categoryName: R, tabId: E, tabName: D, hide: N, properties: A, hideTitle: G, setPropertyRelates: z, parentPropertyID: H });
486
- }), O;
624
+ const R = x == null ? void 0 : x.title, E = x == null ? void 0 : x.tabId, j = x == null ? void 0 : x.tabName, N = x == null ? void 0 : x.hide, z = x == null ? void 0 : x.hideTitle, A = p(x.properties || {}, B, P, r, a, g, x.$converter), { setPropertyRelates: G } = x, W = x == null ? void 0 : x.parentPropertyID;
625
+ L.push({ categoryId: h, categoryName: R, tabId: E, tabName: j, hide: N, properties: A, hideTitle: z, setPropertyRelates: G, parentPropertyID: W });
626
+ }), L;
487
627
  }
488
628
  return [];
489
629
  }
@@ -493,93 +633,16 @@ function X(e, t, n) {
493
633
  propertyConverterMap: o
494
634
  };
495
635
  }
496
- function K(e, t) {
497
- let n;
498
- function o(l) {
499
- const { properties: s, title: m, ignore: r } = l, a = r && Array.isArray(r), f = Object.keys(s).reduce((g, i) => ((!a || !r.find((S) => S === i)) && (g[i] = s[i].type === "object" && s[i].properties ? o(s[i]) : Z(s[i].default)), g), {});
500
- if (m && (!a || !r.find((g) => g === "id"))) {
501
- const g = m.toLowerCase().replace(/-/g, "_");
502
- f.id = `${g}_${Math.random().toString().slice(2, 6)}`;
503
- }
504
- return f;
505
- }
506
- function c(l) {
507
- const { properties: s, title: m, required: r } = l;
508
- if (r && Array.isArray(r)) {
509
- const a = r.reduce((f, g) => (f[g] = s[g].type === "object" && s[g].properties ? o(s[g]) : Z(s[g].default), f), {});
510
- if (m && r.find((f) => f === "id")) {
511
- const f = m.toLowerCase().replace(/-/g, "_");
512
- a.id = `${f}_${Math.random().toString().slice(2, 6)}`;
513
- }
514
- return a;
515
- }
516
- return {
517
- type: m
518
- };
519
- }
520
- function b(l, s = {}, m) {
521
- const r = e[l];
522
- if (r) {
523
- let a = c(r);
524
- const f = t[l];
525
- return a = f ? f({ getSchemaByType: b }, a, s, m) : a, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(a), a;
526
- }
527
- return null;
528
- }
529
- function u(l, s) {
530
- const m = o(s);
531
- return Object.keys(m).reduce((r, a) => (Object.prototype.hasOwnProperty.call(l, a) && (r[a] && U(r[a]) && U(l[a] || !l[a]) ? Object.assign(r[a], l[a] || {}) : r[a] = l[a]), r), m), m;
532
- }
533
- function C(l, s) {
534
- return Object.keys(l).filter((r) => l[r] != null).reduce((r, a) => {
535
- if (s.has(a)) {
536
- const f = s.get(a);
537
- if (typeof f == "string")
538
- r[f] = l[a];
539
- else {
540
- const g = f(a, l[a], l);
541
- Object.assign(r, g);
542
- }
543
- } else
544
- r[a] = l[a];
545
- return r;
546
- }, {});
547
- }
548
- function w(l, s, m = /* @__PURE__ */ new Map()) {
549
- const r = u(l, s);
550
- return C(r, m);
551
- }
552
- function d(l) {
553
- var m;
554
- const s = l.type;
555
- if (s) {
556
- const r = e[s];
557
- if (!r)
558
- return l;
559
- const a = u(l, r), f = ((m = l.editor) == null ? void 0 : m.type) || "";
560
- if (f) {
561
- const g = e[f], i = u(l.editor, g);
562
- a.editor = i;
563
- }
564
- return a;
565
- }
566
- return l;
567
- }
568
- function p(l) {
569
- n = l;
570
- }
571
- return { getSchemaByType: b, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: w, mappingSchemaToProps: C, setDesignerContext: p };
572
- }
573
- const et = {}, tt = {}, { resolveSchemaWithDefaultValue: nt } = K(et, tt), ot = {}, rt = {};
574
- X(ot, rt, nt);
575
- const at = {}, lt = {}, { resolveSchemaWithDefaultValue: ut } = K(at, lt), it = {}, st = {};
576
- X(it, st, ut);
577
- function ct(e, t) {
636
+ const lt = {}, it = {};
637
+ X(lt, it, Ne);
638
+ const ut = {}, st = {}, { resolveSchemaWithDefaultValue: ct } = Q(ut, st), dt = {}, ft = {};
639
+ X(dt, ft, ct);
640
+ function mt(e, t) {
578
641
  return { customClass: t.class, customStyle: t.style };
579
642
  }
580
- const ee = /* @__PURE__ */ new Map([
581
- ["appearance", ct]
582
- ]), dt = "https://json-schema.org/draft/2020-12/schema", ft = "https://farris-design.gitee.io/input-group.schema.json", mt = "language-textbox", pt = "A Farris Input Component", vt = "object", gt = {
643
+ const K = /* @__PURE__ */ new Map([
644
+ ["appearance", mt]
645
+ ]), pt = "https://json-schema.org/draft/2020-12/schema", vt = "https://farris-design.gitee.io/input-group.schema.json", gt = "language-textbox", bt = "A Farris Input Component", yt = "object", xt = {
583
646
  id: {
584
647
  description: "The unique identifier for a Input Group",
585
648
  type: "string"
@@ -691,24 +754,24 @@ const ee = /* @__PURE__ */ new Map([
691
754
  type: "object",
692
755
  default: null
693
756
  }
694
- }, bt = [
757
+ }, Tt = [
695
758
  "type"
696
- ], yt = [
759
+ ], ht = [
697
760
  "id",
698
761
  "appearance",
699
762
  "binding",
700
763
  "visible"
701
- ], te = {
702
- $schema: dt,
703
- $id: ft,
704
- title: mt,
705
- description: pt,
706
- type: vt,
707
- properties: gt,
708
- required: bt,
709
- ignore: yt
764
+ ], ee = {
765
+ $schema: pt,
766
+ $id: vt,
767
+ title: gt,
768
+ description: bt,
769
+ type: yt,
770
+ properties: xt,
771
+ required: Tt,
772
+ ignore: ht
710
773
  };
711
- function ne(e, t, n) {
774
+ function te(e, t, n) {
712
775
  return t;
713
776
  }
714
777
  const q = {
@@ -724,12 +787,12 @@ const q = {
724
787
  tabIndex: { type: Number, default: -1 },
725
788
  enableTitle: { type: Boolean, default: !0 },
726
789
  maxLength: { type: Number, default: null }
727
- }, zt = xe(q, te, ee, ne), oe = Te(
790
+ }, Gt = be(q, ee, K, te), ne = ye(
728
791
  q,
729
- te,
730
792
  ee,
731
- ne
732
- ), xt = /* @__PURE__ */ $({
793
+ K,
794
+ te
795
+ ), Ct = /* @__PURE__ */ $({
733
796
  name: "LanguageContents",
734
797
  props: {
735
798
  languages: {
@@ -754,8 +817,8 @@ const q = {
754
817
  const n = F(e.languages), o = F(e.modelValue || {}), c = F();
755
818
  return V(() => {
756
819
  setTimeout(() => {
757
- var b, u;
758
- (u = (b = c.value) == null ? void 0 : b.querySelector("input")) == null || u.focus();
820
+ var b, i;
821
+ (i = (b = c.value) == null ? void 0 : b.querySelector("input")) == null || i.focus();
759
822
  }, 130);
760
823
  }), () => {
761
824
  var b;
@@ -763,7 +826,7 @@ const q = {
763
826
  class: "list-group",
764
827
  style: "background: white;",
765
828
  ref: c
766
- }, [(b = n.value) == null ? void 0 : b.map((u) => T("li", {
829
+ }, [(b = n.value) == null ? void 0 : b.map((i) => T("li", {
767
830
  class: "list-group-item border-0 p-2 px-2"
768
831
  }, [T("div", {
769
832
  class: "farris-group-wrap form-inline farris-form-inline"
@@ -774,21 +837,21 @@ const q = {
774
837
  class: "col-form-label"
775
838
  }, [T("span", {
776
839
  class: "farris-label-text",
777
- title: u.name
778
- }, [u.name])]), T("div", {
840
+ title: i.name
841
+ }, [i.name])]), T("div", {
779
842
  class: "farris-input-wrap"
780
- }, [T(he, {
781
- id: e.id + "_" + u.code,
782
- modelValue: o.value[u.code],
843
+ }, [T(xe, {
844
+ id: e.id + "_" + i.code,
845
+ modelValue: o.value[i.code],
783
846
  "onUpdate:modelValue": (C) => {
784
- o.value[u.code] = C, t.emit("update:modelValue", o.value);
847
+ o.value[i.code] = C, t.emit("update:modelValue", o.value);
785
848
  },
786
849
  updateOn: "change",
787
850
  maxLength: e.maxLength
788
851
  }, null)])])])]))]);
789
852
  };
790
853
  }
791
- }), Tt = {
854
+ }), wt = {
792
855
  id: { Type: String, default: "" },
793
856
  /** 是否自动完成 */
794
857
  autocomplete: { Type: String, default: "off" },
@@ -872,32 +935,32 @@ const q = {
872
935
  */
873
936
  keyboard: { type: Boolean, default: !0 }
874
937
  };
875
- function ht(e, t) {
938
+ function St(e, t) {
876
939
  const n = F(e.groupText), o = k(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), c = k(() => e.type === "password" || e.showType === "password" || e.enableClear || !!e.groupText || o.value);
877
940
  return { appendedButtonClass: k(() => ({
878
941
  "input-group-append": !0,
879
942
  "append-force-show": o.value
880
943
  })), appendedContent: n, shouldShowAppendedButton: c };
881
944
  }
882
- function Ct(e, t, n, o) {
883
- const { appendedContent: c } = o, b = F(e.enableViewPassword), u = k(() => e.type === "password" || e.showType === "password"), C = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', w = '<span class="f-icon f-icon-eye"></span>', d = F(!1);
884
- L(() => [e.readonly, e.disabled], ([s, m]) => {
885
- u.value && (n.value = s || m ? "password" : n.value, c.value = e.readonly || e.disabled ? "" : b.value ? w : "");
945
+ function Bt(e, t, n, o) {
946
+ const { appendedContent: c } = o, b = F(e.enableViewPassword), i = k(() => e.type === "password" || e.showType === "password"), C = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', S = '<span class="f-icon f-icon-eye"></span>', d = F(!1);
947
+ O(() => [e.readonly, e.disabled], ([s, m]) => {
948
+ i.value && (n.value = s || m ? "password" : n.value, c.value = e.readonly || e.disabled ? "" : b.value ? S : "");
886
949
  });
887
950
  function p() {
888
- return d.value = !d.value, n.value = d.value ? "text" : "password", c.value = d.value ? C : w, !1;
951
+ return d.value = !d.value, n.value = d.value ? "text" : "password", c.value = d.value ? C : S, !1;
889
952
  }
890
953
  function l() {
891
- n.value = u.value ? "password" : n.value, u.value && (c.value = e.readonly || e.disabled ? "" : b.value ? w : "");
954
+ n.value = i.value ? "password" : n.value, i.value && (c.value = e.readonly || e.disabled ? "" : b.value ? S : "");
892
955
  }
893
- return l(), { isPassword: u, onClickAppendedButton: p };
956
+ return l(), { isPassword: i, onClickAppendedButton: p };
894
957
  }
895
- function St(e, t) {
896
- const n = Ce(e, t), o = Se(e, t, n), c = we(e, t, o, n), b = Be(e, t, o, n, c), u = Fe(e, t, c), {
958
+ function Ft(e, t) {
959
+ const n = Se(e, t), o = Be(e, t, n), c = Fe(e, t, o, n), b = Pe(e, t, o, n, c), i = ke(e, t, c), {
897
960
  displayValue: C,
898
- modelValue: w,
961
+ modelValue: S,
899
962
  getRealValue: d
900
- } = n, p = Pe(e, t, b), {
963
+ } = n, p = Le(e, t, b), {
901
964
  format: l
902
965
  } = o, {
903
966
  isFocus: s
@@ -905,36 +968,36 @@ function St(e, t) {
905
968
  return V(() => {
906
969
  const r = d(e.modelValue);
907
970
  C.value = l(r);
908
- }), L(() => [e.value], ([r]) => {
971
+ }), O(() => [e.value], ([r]) => {
909
972
  const a = d(r);
910
- w.value = a, C.value = l(a);
911
- }), L(() => [e.modelValue], ([r]) => {
912
- r !== w.value && (w.value = r, !s.value && (C.value = l(d(r))));
913
- }), L(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
914
- C.value = l(w.value);
973
+ S.value = a, C.value = l(a);
974
+ }), O(() => [e.modelValue], ([r]) => {
975
+ r !== S.value && (S.value = r, !s.value && (C.value = l(d(r))));
976
+ }), O(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
977
+ C.value = l(S.value);
915
978
  }), () => T("div", {
916
979
  class: "input-group flex-row f-cmp-number-spinner",
917
980
  style: "border:none;"
918
- }, [p(), m.value && u()]);
981
+ }, [p(), m.value && i()]);
919
982
  }
920
- function wt(e) {
921
- return e ? Q.getRealPropertyValue(e, "请输入", "input-group.placeholder") : "";
983
+ function Pt(e) {
984
+ return e ? J.getRealPropertyValue(e, "请输入", "input-group.placeholder") : "";
922
985
  }
923
- function Bt(e, t, n, o) {
986
+ function kt(e, t, n, o) {
924
987
  const c = F(), {
925
988
  inputGroupClass: b,
926
- onBlur: u,
989
+ onBlur: i,
927
990
  onFocus: C
928
991
  } = o, {
929
- clearButtonClass: w,
992
+ clearButtonClass: S,
930
993
  clearButtonStyle: d
931
994
  } = n, p = k(() => e.maxLength ? e.maxLength : e.modelValue ? e.modelValue.length : 0), l = (v) => {
932
- var y, O;
933
- v.stopPropagation(), t.emit("update:modelValue", (y = v.target) == null ? void 0 : y.value), t.emit("valueChange", (O = v.target) == null ? void 0 : O.value);
995
+ var y, L;
996
+ v.stopPropagation(), t.emit("update:modelValue", (y = v.target) == null ? void 0 : y.value), t.emit("valueChange", (L = v.target) == null ? void 0 : L.value);
934
997
  }, s = k(() => ({
935
998
  "form-control": !0,
936
999
  "h-100": e.autoHeight
937
- })), m = k(() => e.enableClear && !e.readonly && !e.disabled), r = wt(e.placeholder), a = k(() => e.disabled || e.readonly ? "" : r), f = k(() => ({
1000
+ })), m = k(() => e.enableClear && !e.readonly && !e.disabled), r = Pt(e.placeholder), a = k(() => e.disabled || e.readonly ? "" : r), f = k(() => ({
938
1001
  ...d.value,
939
1002
  position: "absolute",
940
1003
  right: "5px",
@@ -953,11 +1016,11 @@ function Bt(e, t, n, o) {
953
1016
  height: "auto",
954
1017
  ...v
955
1018
  } : v;
956
- }), i = (v) => {
1019
+ }), u = (v) => {
957
1020
  v.stopPropagation(), c.value.value = "", t.emit("update:modelValue", ""), t.emit("valueChange", "");
958
1021
  };
959
- function S() {
960
- return J(T("textarea", {
1022
+ function w() {
1023
+ return Y(T("textarea", {
961
1024
  class: s.value,
962
1025
  id: e.id,
963
1026
  "onUpdate:modelValue": (v) => e.modelValue = v,
@@ -973,9 +1036,9 @@ function Bt(e, t, n, o) {
973
1036
  rows: e.rows,
974
1037
  onInput: l,
975
1038
  onFocus: C,
976
- onBlur: u,
1039
+ onBlur: i,
977
1040
  style: g.value
978
- }, null), [[pe, e.modelValue]]);
1041
+ }, null), [[ce, e.modelValue]]);
979
1042
  }
980
1043
  function P() {
981
1044
  return e.showCount && T("span", {
@@ -985,24 +1048,24 @@ function Bt(e, t, n, o) {
985
1048
  function B() {
986
1049
  return m.value && T("span", {
987
1050
  id: "clearIcon",
988
- class: w.value,
1051
+ class: S.value,
989
1052
  style: f.value,
990
- onClick: (v) => i(v)
1053
+ onClick: (v) => u(v)
991
1054
  }, [T("i", {
992
1055
  class: "f-icon modal_close",
993
1056
  style: "font-size:8px;color:#fff"
994
1057
  }, null)]);
995
1058
  }
996
1059
  return {
997
- renderTextarea: S,
1060
+ renderTextarea: w,
998
1061
  renderCount: P,
999
1062
  renderClear: B
1000
1063
  };
1001
1064
  }
1002
- function Ft(e, t, n, o) {
1003
- const c = F(), b = F(e.autocomplete), u = F(e.enableTitle), {
1065
+ function Lt(e, t, n, o) {
1066
+ const c = F(), b = F(e.autocomplete), i = F(e.enableTitle), {
1004
1067
  isPassword: C
1005
- } = n, w = F(e.minLength), d = F(e.maxLength), p = F(e.tabIndex), {
1068
+ } = n, S = F(e.minLength), d = F(e.maxLength), p = F(e.tabIndex), {
1006
1069
  disabled: l,
1007
1070
  displayText: s,
1008
1071
  inputType: m,
@@ -1010,13 +1073,13 @@ function Ft(e, t, n, o) {
1010
1073
  onFocus: a,
1011
1074
  onInput: f,
1012
1075
  onClick: g,
1013
- onKeydown: i,
1014
- onKeyup: S,
1076
+ onKeydown: u,
1077
+ onKeyup: w,
1015
1078
  onMousedown: P,
1016
1079
  onMouseup: B,
1017
1080
  onTextBoxValueChange: v,
1018
1081
  readonly: y,
1019
- placeholder: O,
1082
+ placeholder: L,
1020
1083
  textBoxClass: h,
1021
1084
  textBoxTitle: x
1022
1085
  } = o;
@@ -1033,11 +1096,11 @@ function Ft(e, t, n, o) {
1033
1096
  class: h.value,
1034
1097
  disabled: l == null ? void 0 : l.value,
1035
1098
  maxlength: d.value,
1036
- minlength: w.value,
1037
- placeholder: O.value,
1099
+ minlength: S.value,
1100
+ placeholder: L.value,
1038
1101
  readonly: y == null ? void 0 : y.value,
1039
1102
  tabindex: p.value,
1040
- title: u.value && !C.value ? x.value : "",
1103
+ title: i.value && !C.value ? x.value : "",
1041
1104
  type: m.value,
1042
1105
  value: s == null ? void 0 : s.value,
1043
1106
  onBlur: r,
@@ -1045,42 +1108,42 @@ function Ft(e, t, n, o) {
1045
1108
  onChange: v,
1046
1109
  onFocus: a,
1047
1110
  onInput: f,
1048
- onKeydown: i,
1049
- onKeyup: S,
1111
+ onKeydown: u,
1112
+ onKeyup: w,
1050
1113
  onMousedown: P,
1051
1114
  onMouseup: B
1052
1115
  }, null);
1053
1116
  }
1054
- function Pt(e, t) {
1117
+ function Ot(e, t) {
1055
1118
  const n = F(e.extendInfo), o = k(() => e.useExtendInfo && !!e.extendInfo), c = k(() => ({
1056
1119
  content: n.value
1057
1120
  }));
1058
- L(() => e.extendInfo, (u) => {
1059
- n.value = u;
1121
+ O(() => e.extendInfo, (i) => {
1122
+ n.value = i;
1060
1123
  });
1061
1124
  function b() {
1062
1125
  t.emit("updateExtendInfo");
1063
1126
  }
1064
- return () => o.value && J(T("span", {
1127
+ return () => o.value && Y(T("span", {
1065
1128
  class: "input-group-before-tips",
1066
1129
  onMouseenter: b
1067
1130
  }, [T("i", {
1068
1131
  class: "f-icon f-icon-info-circle"
1069
1132
  }, null), T("b", {
1070
1133
  class: "tips-arrow"
1071
- }, null)]), [[ve("tooltip"), c.value]]);
1134
+ }, null)]), [[de("tooltip"), c.value]]);
1072
1135
  }
1073
- function kt(e, t, n, o, c) {
1136
+ function Et(e, t, n, o, c) {
1074
1137
  const {
1075
1138
  appendedButtonClass: b,
1076
- appendedContent: u
1077
- } = n, C = k(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), w = k(() => u.value && !t.slots.groupTextTemplate), d = k(() => !!t.slots.groupTextTemplate), {
1139
+ appendedContent: i
1140
+ } = n, C = k(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), S = k(() => i.value && !t.slots.groupTextTemplate), d = k(() => !!t.slots.groupTextTemplate), {
1078
1141
  clearButtonClass: p,
1079
1142
  clearButtonStyle: l,
1080
1143
  onClearValue: s,
1081
1144
  shouldShowClearButton: m
1082
1145
  } = o, r = F(0);
1083
- L(u, (y) => {
1146
+ O(i, (y) => {
1084
1147
  r.value++;
1085
1148
  });
1086
1149
  function a() {
@@ -1099,140 +1162,140 @@ function kt(e, t, n, o, c) {
1099
1162
  function g(y) {
1100
1163
  t.emit("iconMouseLeave", y);
1101
1164
  }
1102
- function i(y) {
1165
+ function u(y) {
1103
1166
  C.value && t.emit("clickHandle", {
1104
1167
  originalEvent: y
1105
1168
  }), y.stopPropagation();
1106
1169
  }
1107
- const S = e.type === "password" || e.showType === "password" ? c.onClickAppendedButton : i;
1170
+ const w = e.type === "password" || e.showType === "password" ? c.onClickAppendedButton : u;
1108
1171
  function P() {
1109
1172
  return T("span", {
1110
1173
  class: "input-group-text",
1111
1174
  onMouseenter: (y) => f(y),
1112
1175
  onMouseleave: (y) => g(y),
1113
- innerHTML: u.value,
1114
- onClick: (y) => S(y)
1176
+ innerHTML: i.value,
1177
+ onClick: (y) => w(y)
1115
1178
  }, null);
1116
1179
  }
1117
1180
  function B() {
1118
1181
  return t.slots.groupTextTemplate && t.slots.groupTextTemplate();
1119
1182
  }
1120
1183
  function v() {
1121
- return w.value ? P() : d.value ? B() : "";
1184
+ return S.value ? P() : d.value ? B() : "";
1122
1185
  }
1123
1186
  return () => T("div", {
1124
1187
  class: b.value,
1125
1188
  key: "append-button-" + r.value
1126
1189
  }, [m.value && a(), v()]);
1127
1190
  }
1128
- const re = /* @__PURE__ */ $({
1191
+ const oe = /* @__PURE__ */ $({
1129
1192
  name: "FInputGroup",
1130
- props: Tt,
1193
+ props: wt,
1131
1194
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange", "mousedownEvent", "mouseupEvent"],
1132
1195
  setup(e, t) {
1133
- const n = F(), o = F(e.modelValue), c = F(e.modelValue), b = de(e, t, o, c, n), {
1134
- inputGroupClass: u,
1196
+ const n = F(), o = F(e.modelValue), c = F(e.modelValue), b = Te(e, t, o, c, n), {
1197
+ inputGroupClass: i,
1135
1198
  inputType: C,
1136
- inputGroupStyle: w
1137
- } = b, d = ht(e), {
1199
+ inputGroupStyle: S
1200
+ } = b, d = St(e), {
1138
1201
  shouldShowAppendedButton: p
1139
- } = d, l = fe(e, t, b), {
1202
+ } = d, l = he(e, t, b), {
1140
1203
  onMouseEnter: s,
1141
1204
  onMouseLeave: m
1142
- } = l, r = Ct(e, t, C, d), a = St(e, t), {
1205
+ } = l, r = Bt(e, t, C, d), a = Ft(e, t), {
1143
1206
  renderTextarea: f,
1144
1207
  renderCount: g,
1145
- renderClear: i
1146
- } = Bt(e, t, l, b), S = Ft(e, t, r, b), P = kt(e, t, d, l, r), B = Pt(e, t), v = k(() => C.value === "number"), y = k(() => C.value === "textarea");
1147
- L(() => [e.value], ([h]) => {
1208
+ renderClear: u
1209
+ } = kt(e, t, l, b), w = Lt(e, t, r, b), P = Et(e, t, d, l, r), B = Ot(e, t), v = k(() => C.value === "number"), y = k(() => C.value === "textarea");
1210
+ O(() => [e.value], ([h]) => {
1148
1211
  o.value = h, c.value = h;
1149
- }), L(() => [e.modelValue], ([h]) => {
1212
+ }), O(() => [e.modelValue], ([h]) => {
1150
1213
  o.value = h, c.value = h;
1151
1214
  }), V(() => {
1152
1215
  e.value && (o.value = e.value, c.value = e.value);
1153
1216
  });
1154
- const O = () => T("div", {
1217
+ const L = () => T("div", {
1155
1218
  ref: n,
1156
1219
  id: e.id,
1157
- class: u.value,
1158
- style: w.value,
1220
+ class: i.value,
1221
+ style: S.value,
1159
1222
  onMouseenter: s,
1160
1223
  onMouseleave: m
1161
- }, [v.value ? a() : y.value ? f() : T(ge, null, [B(), S()]), !y.value && !v.value && p.value && P(), y.value && i(), y.value && g()]);
1162
- return () => O();
1224
+ }, [v.value ? a() : y.value ? f() : T(fe, null, [B(), w()]), !y.value && !v.value && p.value && P(), y.value && u(), y.value && g()]);
1225
+ return () => L();
1163
1226
  }
1164
1227
  });
1165
- Y(re);
1166
- const j = /* @__PURE__ */ $({
1228
+ Ce(oe);
1229
+ const D = /* @__PURE__ */ $({
1167
1230
  name: "FLanguageTextbox",
1168
1231
  props: q,
1169
1232
  emits: ["update:modelValue"],
1170
1233
  setup(e, t) {
1171
- const n = Q.getLocale(), {
1234
+ const n = J.getLocale(), {
1172
1235
  disabled: o,
1173
1236
  readonly: c,
1174
1237
  editable: b,
1175
- modelValue: u
1176
- } = be(e), C = k(() => {
1177
- var i;
1178
- return (i = u.value) == null ? void 0 : i[n];
1179
- }), w = F();
1180
- L(() => e.modelValue, (i) => {
1181
- u.value = i;
1238
+ modelValue: i
1239
+ } = me(e), C = k(() => {
1240
+ var u;
1241
+ return (u = i.value) == null ? void 0 : u[n];
1242
+ }), S = F();
1243
+ O(() => e.modelValue, (u) => {
1244
+ i.value = u;
1182
1245
  });
1183
- const d = (i) => {
1184
- if ((i == null ? void 0 : i.length) <= 1)
1246
+ const d = (u) => {
1247
+ if ((u == null ? void 0 : u.length) <= 1)
1185
1248
  return;
1186
- let S = -1;
1187
- const P = i.find((B, v) => {
1249
+ let w = -1;
1250
+ const P = u.find((B, v) => {
1188
1251
  const y = B.code === n;
1189
- return y && (S = v), y;
1252
+ return y && (w = v), y;
1190
1253
  });
1191
1254
  if (P) {
1192
1255
  const B = Object.assign({}, P);
1193
- i.splice(S, 1), i.unshift(B);
1256
+ u.splice(w, 1), u.unshift(B);
1194
1257
  }
1195
- return i;
1258
+ return u;
1196
1259
  }, p = F();
1197
- L(() => e.languages, (i) => {
1198
- p.value = d(i) || [];
1260
+ O(() => e.languages, (u) => {
1261
+ p.value = d(u) || [];
1199
1262
  });
1200
- function l(i) {
1201
- u.value = u.value || {}, u.value[n] !== i && (u.value[n] = i, t.emit("update:modelValue", u.value));
1263
+ function l(u) {
1264
+ i.value = i.value || {}, i.value[n] !== u && (i.value[n] = u, t.emit("update:modelValue", i.value));
1202
1265
  }
1203
1266
  const s = k(() => {
1204
- var S;
1205
- const i = (S = w.value) == null ? void 0 : S.popoverRef;
1206
- return i && p.value.length > 1 ? i.shown : !1;
1267
+ var w;
1268
+ const u = (w = S.value) == null ? void 0 : w.popoverRef;
1269
+ return u && p.value.length > 1 ? u.shown : !1;
1207
1270
  });
1208
1271
  V(() => {
1209
1272
  p.value = d(e.languages) || [];
1210
1273
  });
1211
- const m = (i) => {
1212
- u.value = i, t.emit("update:modelValue", u.value);
1274
+ const m = (u) => {
1275
+ i.value = u, t.emit("update:modelValue", i.value);
1213
1276
  }, r = () => {
1214
- var i;
1215
- return !(((i = p.value) == null ? void 0 : i.length) <= 1);
1277
+ var u;
1278
+ return !(((u = p.value) == null ? void 0 : u.length) <= 1);
1216
1279
  }, a = () => {
1217
- u.value = u.value || {}, u.value[n] && (u.value[n] = "", t.emit("update:modelValue", u.value));
1280
+ i.value = i.value || {}, i.value[n] && (i.value[n] = "", t.emit("update:modelValue", i.value));
1218
1281
  };
1219
- function f(i) {
1220
- u.value = u.value || {};
1221
- const S = i.target.value;
1222
- u.value[n] !== S && (u.value[n] = S, t.emit("update:modelValue", u.value));
1282
+ function f(u) {
1283
+ i.value = i.value || {};
1284
+ const w = u.target.value;
1285
+ i.value[n] !== w && (i.value[n] = w, t.emit("update:modelValue", i.value));
1223
1286
  }
1224
1287
  function g() {
1225
- return T(re, {
1288
+ return T(oe, {
1226
1289
  disable: o.value,
1227
1290
  readonly: c.value,
1228
1291
  modelValue: C.value,
1229
- "onUpdate:modelValue": (i) => C.value = i,
1292
+ "onUpdate:modelValue": (u) => C.value = u,
1230
1293
  onInput: f,
1231
1294
  onClear: a
1232
1295
  }, null);
1233
1296
  }
1234
- return () => me() ? g() : T(ye, {
1235
- ref: w,
1297
+ return () => we() ? g() : T(ge, {
1298
+ ref: S,
1236
1299
  id: e.id,
1237
1300
  forcePlaceholder: !1,
1238
1301
  disable: o.value,
@@ -1247,7 +1310,7 @@ const j = /* @__PURE__ */ $({
1247
1310
  inputType: "text",
1248
1311
  popupOnClick: !0,
1249
1312
  modelValue: C.value,
1250
- "onUpdate:modelValue": (i) => C.value = i,
1313
+ "onUpdate:modelValue": (u) => C.value = u,
1251
1314
  onChange: l,
1252
1315
  placement: "auto",
1253
1316
  popupMinWidth: 365,
@@ -1255,90 +1318,29 @@ const j = /* @__PURE__ */ $({
1255
1318
  beforeOpen: r,
1256
1319
  onClear: a
1257
1320
  }, {
1258
- default: () => [s.value && T(xt, {
1321
+ default: () => [s.value && T(Ct, {
1259
1322
  id: e.id,
1260
1323
  languages: p.value,
1261
- modelValue: u.value,
1324
+ modelValue: i.value,
1262
1325
  maxLength: e.maxLength,
1263
1326
  "onUpdate:modelValue": m
1264
1327
  }, null)]
1265
1328
  });
1266
1329
  }
1267
1330
  });
1268
- class Ot extends Oe {
1269
- constructor(t, n) {
1270
- super(t, n);
1271
- }
1272
- getEditorProperties(t) {
1273
- return this.getComponentConfig(t, { type: "language-textbox" }, {
1274
- maxLength: {
1275
- description: "文本字数最大长度",
1276
- title: "最大长度",
1277
- type: "number",
1278
- editor: {
1279
- nullable: !0,
1280
- min: 0,
1281
- useThousands: !1,
1282
- max: t.editor.maxLength,
1283
- needValid: !0
1284
- }
1285
- }
1286
- });
1287
- }
1288
- }
1289
- function Lt(e, t) {
1290
- function n(o, c) {
1291
- const b = e.schema;
1292
- return new Ot(o, t).getPropertyConfig(b, c);
1293
- }
1294
- return { getPropsConfig: n };
1295
- }
1296
- const Et = /* @__PURE__ */ $({
1297
- name: "FLanguageTextboxDesign",
1298
- props: {
1299
- placeholder: {
1300
- type: String,
1301
- default: ""
1302
- }
1303
- },
1304
- setup(e, t) {
1305
- const n = F(), o = _("design-item-context"), c = _("designer-host-service"), b = Lt(o, c), u = ke(n, o, b);
1306
- return V(() => {
1307
- n.value.componentInstance = u;
1308
- }), t.expose(u.value), () => T("div", {
1309
- class: "f-button-edit f-cmp-inputgroup f-button-edit-nowrap",
1310
- ref: n
1311
- }, [T("div", {
1312
- class: "input-group"
1313
- }, [T("input", {
1314
- autocomplete: "off",
1315
- class: "text-left form-control f-utils-fill",
1316
- readonly: "true",
1317
- type: "text",
1318
- placeholder: e.placeholder
1319
- }, null), T("div", {
1320
- class: "input-group-append"
1321
- }, [T("span", {
1322
- class: "input-group-text input-group-append-button"
1323
- }, [T("i", {
1324
- class: "f-icon f-icon-yxs_earth"
1325
- }, null)])])])]);
1326
- }
1327
- });
1328
- j.install = (e) => {
1329
- e.component(j.name, j);
1331
+ D.install = (e) => {
1332
+ e.component(D.name, D);
1330
1333
  };
1331
- j.register = (e, t, n, o, c) => {
1332
- e["language-textbox"] = j, t["language-textbox"] = oe(c);
1334
+ D.register = (e, t, n, o, c) => {
1335
+ e["language-textbox"] = D, t["language-textbox"] = ne(c);
1333
1336
  };
1334
- j.registerDesigner = (e, t, n, o) => {
1335
- e["language-textbox"] = Et, t["language-textbox"] = oe(o);
1337
+ D.registerDesigner = (e, t, n, o) => {
1338
+ e["language-textbox"] = Me, t["language-textbox"] = ne(o);
1336
1339
  };
1337
- const Ht = Y(j);
1338
1340
  export {
1339
- j as FLanguageTextbox,
1340
- Ht as default,
1341
+ D as FLanguageTextbox,
1342
+ D as default,
1341
1343
  q as languageTextBoxProps,
1342
- zt as propsResolver,
1343
- oe as propsResolverGenerator
1344
+ Gt as propsResolver,
1345
+ ne as propsResolverGenerator
1344
1346
  };