@farris/ui-vue 1.3.0 → 1.3.3

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 (305) hide show
  1. package/components/accordion/index.esm.js +103 -99
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +454 -398
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +444 -0
  6. package/components/binding-selector/index.umd.cjs +1 -0
  7. package/components/binding-selector/package.json +8 -0
  8. package/components/border-editor/index.esm.js +5 -3
  9. package/components/border-editor/index.umd.cjs +1 -1
  10. package/components/button-edit/index.esm.js +143 -139
  11. package/components/button-edit/index.umd.cjs +1 -1
  12. package/components/calendar/index.esm.js +479 -476
  13. package/components/calendar/index.umd.cjs +1 -1
  14. package/components/capsule/index.esm.js +255 -252
  15. package/components/capsule/index.umd.cjs +1 -1
  16. package/components/checkbox/index.esm.js +652 -567
  17. package/components/checkbox/index.umd.cjs +1 -1
  18. package/components/color-picker/index.esm.js +518 -521
  19. package/components/color-picker/index.umd.cjs +2 -2
  20. package/components/combo-list/index.esm.js +659 -553
  21. package/components/combo-list/index.umd.cjs +1 -1
  22. package/components/combo-tree/index.esm.js +162 -155
  23. package/components/combo-tree/index.umd.cjs +1 -1
  24. package/components/common/index.esm.js +866 -747
  25. package/components/common/index.umd.cjs +1 -1
  26. package/components/component/index.esm.js +371 -998
  27. package/components/component/index.umd.cjs +1 -1
  28. package/components/condition/index.esm.js +1174 -1280
  29. package/components/condition/index.umd.cjs +1 -1
  30. package/components/content-container/index.esm.js +340 -991
  31. package/components/content-container/index.umd.cjs +1 -1
  32. package/components/data-grid/index.esm.js +6066 -5847
  33. package/components/data-grid/index.umd.cjs +1 -1
  34. package/components/data-view/index.esm.js +3400 -3486
  35. package/components/data-view/index.umd.cjs +1 -1
  36. package/components/date-picker/index.esm.js +2328 -2446
  37. package/components/date-picker/index.umd.cjs +1 -1
  38. package/components/designer-canvas/index.css +1 -1
  39. package/components/designer-canvas/index.esm.js +9551 -1200
  40. package/components/designer-canvas/index.umd.cjs +1 -1
  41. package/components/designer-outline/index.esm.js +2 -1
  42. package/components/designer-outline/index.umd.cjs +1 -1
  43. package/components/drawer/index.esm.js +34 -38
  44. package/components/drawer/index.umd.cjs +1 -1
  45. package/components/dropdown/index.esm.js +234 -231
  46. package/components/dropdown/index.umd.cjs +2 -2
  47. package/components/dynamic-form/index.esm.js +1996 -2630
  48. package/components/dynamic-form/index.umd.cjs +1 -1
  49. package/components/dynamic-resolver/index.esm.js +138 -123
  50. package/components/dynamic-resolver/index.umd.cjs +1 -1
  51. package/components/dynamic-view/index.esm.js +218 -218
  52. package/components/dynamic-view/index.umd.cjs +1 -1
  53. package/components/event-parameter/index.esm.js +311 -0
  54. package/components/event-parameter/index.umd.cjs +1 -0
  55. package/components/event-parameter/package.json +8 -0
  56. package/components/events-editor/index.css +1 -1
  57. package/components/events-editor/index.esm.js +548 -586
  58. package/components/events-editor/index.umd.cjs +1 -1
  59. package/components/expression-editor/index.esm.js +95 -91
  60. package/components/expression-editor/index.umd.cjs +1 -1
  61. package/components/external-container/index.esm.js +2871 -3736
  62. package/components/external-container/index.umd.cjs +1 -1
  63. package/components/field-selector/index.esm.js +3380 -3645
  64. package/components/field-selector/index.umd.cjs +1 -1
  65. package/components/filter-bar/index.css +1 -1
  66. package/components/filter-bar/index.esm.js +10543 -3207
  67. package/components/filter-bar/index.umd.cjs +1 -1
  68. package/components/flow-canvas/index.css +1 -1
  69. package/components/flow-canvas/index.esm.js +9775 -1312
  70. package/components/flow-canvas/index.umd.cjs +1 -1
  71. package/components/image-cropper/index.esm.js +442 -438
  72. package/components/image-cropper/index.umd.cjs +1 -1
  73. package/components/input-group/index.esm.js +587 -807
  74. package/components/input-group/index.umd.cjs +1 -1
  75. package/components/layout/index.esm.js +415 -381
  76. package/components/layout/index.umd.cjs +1 -1
  77. package/components/list-nav/index.esm.js +361 -1024
  78. package/components/list-nav/index.umd.cjs +1 -1
  79. package/components/list-view/index.esm.js +2265 -2371
  80. package/components/list-view/index.umd.cjs +1 -1
  81. package/components/lookup/index.esm.js +6425 -6257
  82. package/components/lookup/index.umd.cjs +1 -1
  83. package/components/mapping-editor/index.esm.js +6164 -5946
  84. package/components/mapping-editor/index.umd.cjs +1 -1
  85. package/components/message-box/index.esm.js +252 -252
  86. package/components/message-box/index.umd.cjs +1 -1
  87. package/components/modal/index.esm.js +70 -70
  88. package/components/modal/index.umd.cjs +1 -1
  89. package/components/nav/index.esm.js +524 -1474
  90. package/components/nav/index.umd.cjs +3 -3
  91. package/components/number-range/index.esm.js +547 -502
  92. package/components/number-range/index.umd.cjs +1 -1
  93. package/components/number-spinner/index.esm.js +646 -574
  94. package/components/number-spinner/index.umd.cjs +1 -1
  95. package/components/order/index.esm.js +1181 -2028
  96. package/components/order/index.umd.cjs +1 -1
  97. package/components/page-footer/index.esm.js +134 -131
  98. package/components/page-footer/index.umd.cjs +1 -1
  99. package/components/page-header/index.esm.js +1185 -2027
  100. package/components/page-header/index.umd.cjs +1 -1
  101. package/components/pagination/index.esm.js +442 -1368
  102. package/components/pagination/index.umd.cjs +1 -1
  103. package/components/progress/index.esm.js +238 -235
  104. package/components/progress/index.umd.cjs +3 -3
  105. package/components/property-editor/index.esm.js +1635 -1713
  106. package/components/property-editor/index.umd.cjs +2 -2
  107. package/components/property-panel/index.esm.js +791 -716
  108. package/components/property-panel/index.umd.cjs +1 -1
  109. package/components/query-solution/index.css +1 -1
  110. package/components/query-solution/index.esm.js +12203 -5274
  111. package/components/query-solution/index.umd.cjs +6 -1
  112. package/components/radio-button/index.esm.js +97 -97
  113. package/components/radio-button/index.umd.cjs +1 -1
  114. package/components/radio-group/index.css +1 -1
  115. package/components/radio-group/index.esm.js +1873 -520
  116. package/components/radio-group/index.umd.cjs +1 -1
  117. package/components/rate/index.esm.js +299 -300
  118. package/components/rate/index.umd.cjs +1 -1
  119. package/components/response-layout/index.esm.js +176 -173
  120. package/components/response-layout/index.umd.cjs +1 -1
  121. package/components/response-layout-editor/index.esm.js +715 -659
  122. package/components/response-layout-editor/index.umd.cjs +1 -1
  123. package/components/response-toolbar/index.esm.js +1032 -1883
  124. package/components/response-toolbar/index.umd.cjs +1 -1
  125. package/components/schema-selector/index.esm.js +4767 -5693
  126. package/components/schema-selector/index.umd.cjs +2 -2
  127. package/components/search-box/index.esm.js +169 -161
  128. package/components/search-box/index.umd.cjs +1 -1
  129. package/components/section/index.esm.js +490 -1167
  130. package/components/section/index.umd.cjs +1 -1
  131. package/components/smoke-detector/index.esm.js +154 -151
  132. package/components/smoke-detector/index.umd.cjs +1 -1
  133. package/components/splitter/index.esm.js +575 -1204
  134. package/components/splitter/index.umd.cjs +1 -1
  135. package/components/splitter/style.js +2 -0
  136. package/components/step/index.esm.js +279 -276
  137. package/components/step/index.umd.cjs +1 -1
  138. package/components/switch/index.esm.js +478 -428
  139. package/components/switch/index.umd.cjs +1 -1
  140. package/components/tabs/index.esm.js +2591 -3326
  141. package/components/tabs/index.umd.cjs +1 -1
  142. package/components/tags/index.esm.js +442 -439
  143. package/components/tags/index.umd.cjs +1 -1
  144. package/components/text/index.esm.js +309 -307
  145. package/components/text/index.umd.cjs +1 -1
  146. package/components/textarea/index.esm.js +500 -430
  147. package/components/textarea/index.umd.cjs +1 -1
  148. package/components/time-picker/index.esm.js +1391 -1341
  149. package/components/time-picker/index.umd.cjs +1 -1
  150. package/components/transfer/index.esm.js +574 -575
  151. package/components/transfer/index.umd.cjs +1 -1
  152. package/components/tree-grid/index.esm.js +3422 -3536
  153. package/components/tree-grid/index.umd.cjs +1 -1
  154. package/components/tree-view/index.esm.js +2661 -2764
  155. package/components/tree-view/index.umd.cjs +1 -1
  156. package/components/uploader/index.esm.js +675 -674
  157. package/components/uploader/index.umd.cjs +2 -2
  158. package/components/verify-detail/index.esm.js +300 -297
  159. package/components/verify-detail/index.umd.cjs +1 -1
  160. package/components/video/index.esm.js +454 -1089
  161. package/components/video/index.umd.cjs +1 -1
  162. package/components/weather/index.esm.js +709 -706
  163. package/components/weather/index.umd.cjs +5 -5
  164. package/farris.all.esm.js +54780 -52757
  165. package/farris.all.umd.cjs +14 -9
  166. package/index.css +1 -1
  167. package/package.json +1 -1
  168. package/types/binding-selector/index.d.ts +55 -0
  169. package/types/binding-selector/src/binding-selector.component.d.ts +11 -0
  170. package/types/binding-selector/src/binding-selector.props.d.ts +52 -0
  171. package/types/binding-selector/src/components/binding-selector-container.component.d.ts +13 -0
  172. package/types/binding-selector/src/composition/use-field-selection.d.ts +9 -0
  173. package/types/combo-list/src/components/list-container.component.d.ts +6 -6
  174. package/types/combo-list/src/components/list-container.props.d.ts +1 -1
  175. package/types/combo-tree/src/components/tree-container.component.d.ts +5 -5
  176. package/types/common/directive/area-response.d.ts +10 -0
  177. package/types/common/entity/entity-schema.d.ts +26 -11
  178. package/types/common/index.d.ts +9 -0
  179. package/types/common/radio-checkbox/radio-checkbox.props.d.ts +1 -0
  180. package/types/common/types.d.ts +2 -2
  181. package/types/common/utils/resolve-field.d.ts +2 -0
  182. package/types/common/utils/use-class.d.ts +7 -0
  183. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  184. package/types/condition/src/condition-fields.design.component.d.ts +18 -0
  185. package/types/condition/src/types.d.ts +5 -4
  186. package/types/content-container/src/designer/use-designer-rules.d.ts +3 -3
  187. package/types/data-grid/index.d.ts +8 -5
  188. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +20 -0
  189. package/types/data-grid/src/{designer/data-grid-column.props.d.ts → data-grid-column.props.d.ts} +1 -1
  190. package/types/data-grid/src/data-grid.component.d.ts +3 -2
  191. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  192. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  193. package/types/data-grid/src/designer/grid-field-editor.component.d.ts +14 -14
  194. package/types/data-grid/src/designer/use-designer-rules.d.ts +2 -2
  195. package/types/data-grid/src/schema/schema-resolver.d.ts +1 -1
  196. package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
  197. package/types/data-view/composition/data/use-tree-data.d.ts +1 -1
  198. package/types/data-view/composition/types.d.ts +9 -11
  199. package/types/date-picker/src/components/calendar/calendar.component.d.ts +3 -3
  200. package/types/date-picker/src/components/month/month.component.d.ts +3 -3
  201. package/types/date-picker/src/components/year/year.component.d.ts +3 -3
  202. package/types/designer-canvas/index.d.ts +3 -1
  203. package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
  204. package/types/designer-canvas/src/composition/function/drag-resolve.d.ts +5 -0
  205. package/types/designer-canvas/src/composition/rule/use-dragula-common-rule.d.ts +4 -0
  206. package/types/designer-canvas/src/composition/rule/use-template-rule.d.ts +30 -0
  207. package/types/designer-canvas/src/composition/types.d.ts +49 -41
  208. package/types/designer-canvas/src/types.d.ts +10 -21
  209. package/types/dynamic-form/index.d.ts +1 -1
  210. package/types/dynamic-form/src/designer/form-group-use-designer-rules.d.ts +3 -0
  211. package/types/dynamic-form/src/designer/response-form-use-designer-rules.d.ts +3 -0
  212. package/types/dynamic-form/src/designer/response-form.design.component.d.ts +7 -1
  213. package/types/dynamic-form/src/property-config/{form.property-config.d.ts → response-form.property-config.d.ts} +1 -1
  214. package/types/dynamic-form/src/schema/{schema-resolver.d.ts → response-form-schema-resolver.d.ts} +1 -1
  215. package/types/dynamic-form/src/types.d.ts +1 -1
  216. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +6 -1
  217. package/types/dynamic-resolver/src/converter/row-number.converter.d.ts +3 -0
  218. package/types/entity-binding-selector/composition/use-entity-tree.d.ts +7 -0
  219. package/types/entity-binding-selector/entity-binding-selector.component.d.ts +11 -0
  220. package/types/entity-binding-selector/entity-binding-selector.props.d.ts +3 -0
  221. package/types/enum-editor/src/components/enum-editor-container.component.d.ts +3 -3
  222. package/types/enum-editor/src/enum-editor.component.d.ts +3 -3
  223. package/types/event-parameter/index.d.ts +31 -0
  224. package/types/event-parameter/src/composition/type.d.ts +77 -0
  225. package/types/event-parameter/src/composition/use-editor-combotree.d.ts +3 -0
  226. package/types/event-parameter/src/composition/use-editor-input.d.ts +3 -0
  227. package/types/event-parameter/src/composition/use-editor-select.d.ts +3 -0
  228. package/types/event-parameter/src/composition/use-editor-switch.d.ts +3 -0
  229. package/types/event-parameter/src/composition/use-editor.d.ts +3 -0
  230. package/types/event-parameter/src/event-parameter.component.d.ts +8 -0
  231. package/types/event-parameter/src/event-parameter.props.d.ts +34 -0
  232. package/types/external-container/src/designer/import-external-schema.component.d.ts +1 -1
  233. package/types/external-container/src/designer/use-designer-rules.d.ts +3 -3
  234. package/types/field-selector/src/field-selector.component.d.ts +1 -2
  235. package/types/field-selector/src/field-selector.props.d.ts +0 -9
  236. package/types/input-group/src/designer/use-input-group-rules.d.ts +1 -2
  237. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +3 -3
  238. package/types/list-nav/src/designer/use-designer-rules.d.ts +3 -0
  239. package/types/list-view/src/designer/list-view-table.design.component.d.ts +15 -0
  240. package/types/list-view/src/list-view-table.component.d.ts +15 -0
  241. package/types/lookup/src/composition/use-user-data.d.ts +2 -2
  242. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -6
  243. package/types/modal/src/composition/modal.service.d.ts +2 -1
  244. package/types/page-header/src/designer/page-header.design.component.d.ts +1 -1
  245. package/types/page-header/src/page-header.component.d.ts +1 -1
  246. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +2 -2
  247. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +2 -2
  248. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +2 -2
  249. package/types/pagination/src/components/pages/page-list.component.d.ts +2 -2
  250. package/types/pagination/src/components/pages/page-number.component.d.ts +2 -2
  251. package/types/property-panel/index.d.ts +3 -1
  252. package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -1
  253. package/types/property-panel/src/composition/entity/property-entity.d.ts +1 -1
  254. package/types/property-panel/src/composition/type.d.ts +0 -13
  255. package/types/query-solution/src/composition/types.d.ts +35 -4
  256. package/types/query-solution/src/composition/use-header.d.ts +21 -0
  257. package/types/query-solution/src/composition/{use-filter.d.ts → use-http.d.ts} +2 -2
  258. package/types/query-solution/src/composition/use-solution.d.ts +20 -0
  259. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +43 -35
  260. package/types/query-solution/src/designer/query-solution-config/composition/use-panel.d.ts +2 -16
  261. package/types/query-solution/src/designer/query-solution-config/composition/use-property.d.ts +19 -0
  262. package/types/query-solution/src/designer/query-solution-config/composition/use-querysolution-rules.d.ts +3 -0
  263. package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +1 -1
  264. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +14 -14
  265. package/types/query-solution/src/property-config/query-solution.property-config.d.ts +12 -0
  266. package/types/query-solution/src/query-solution.d.ts +10 -2
  267. package/types/query-solution/src/solutions.d.ts +108 -509
  268. package/types/radio-group/src/designer/item-collection-editor-inner.component.d.ts +29 -0
  269. package/types/radio-group/src/designer/item-collection-editor.component.d.ts +29 -0
  270. package/types/radio-group/src/designer/item-collection-editor.props.d.ts +21 -0
  271. package/types/radio-group/src/schema/schema-mapper.d.ts +1 -0
  272. package/types/radio-group/src/schema/schema-resolver.d.ts +1 -0
  273. package/types/response-layout-editor/index.d.ts +3 -1
  274. package/types/response-toolbar/src/designer/use-designer-rules.d.ts +3 -3
  275. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -0
  276. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -0
  277. package/types/section/src/designer/use-designer-rules.d.ts +3 -3
  278. package/types/section/src/property-config/section.property-config.d.ts +17 -17
  279. package/types/section/src/schema/schema-resolver.d.ts +1 -2
  280. package/types/section/src/schema/toolbar-resolver.d.ts +1 -1
  281. package/types/splitter/src/components/splitter-pane.component.d.ts +1 -1
  282. package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +3 -3
  283. package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +3 -3
  284. package/types/tabs/src/composition/types.d.ts +4 -1
  285. package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +3 -3
  286. package/types/tabs/src/designer/tab-use-designer-rules.d.ts +3 -3
  287. package/types/tabs/src/property-config/tab-page.property-config.d.ts +9 -59
  288. package/types/tabs/src/property-config/tabs.property-config.d.ts +8 -71
  289. package/types/tabs/src/schema/schema-resolver.d.ts +1 -2
  290. package/types/text/src/composition/types.d.ts +4 -4
  291. package/types/textarea/src/property-config/textarea.property-config.d.ts +23 -0
  292. package/types/tree-grid/index.d.ts +3 -3
  293. package/types/tree-grid/src/tree-grid.component.d.ts +1 -1
  294. package/types/weather/src/composition/use-weather-charts.d.ts +15 -0
  295. package/types/weather/src/composition/use-weather-color.d.ts +15 -0
  296. package/types/weather/src/composition/use-weather-data.d.ts +15 -0
  297. package/types/weather/src/composition/use-weather-format-number.d.ts +15 -0
  298. package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
  299. package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
  300. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +0 -3
  301. package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
  302. package/types/property-panel/src/composition/entity/use-input-rules.d.ts +0 -3
  303. package/types/query-solution/src/designer/query-solution-config/composition/mock-data.d.ts +0 -6
  304. package/types/tree-grid/src/schema/column-resolver.d.ts +0 -3
  305. package/types/weather/src/composition/types.d.ts +0 -2
@@ -1,4 +1,4 @@
1
- import { defineComponent as j, ref as y, computed as h, createVNode as v, Teleport as U, createApp as _, onUnmounted as X, inject as D, watch as R, nextTick as S, onMounted as F, withDirectives as z, vShow as J, Fragment as Q, mergeProps as A } from "vue";
1
+ import { defineComponent as j, ref as y, computed as h, createVNode as v, Teleport as q, createApp as U, onUnmounted as X, inject as D, watch as R, nextTick as L, onMounted as F, withDirectives as z, vShow as J, Fragment as Q, mergeProps as A } from "vue";
2
2
  import { isPlainObject as V, cloneDeep as Y } from "lodash-es";
3
3
  import { resolveAppearance as Z } from "../dynamic-resolver/index.esm.js";
4
4
  import K from "../tags/index.esm.js";
@@ -7,34 +7,38 @@ import { useDesignerComponent as te } from "../designer-canvas/index.esm.js";
7
7
  import { withInstall as ne } from "../common/index.esm.js";
8
8
  const oe = {}, ue = {};
9
9
  function N(e) {
10
- const { properties: t, title: u, ignore: o } = e, n = o && Array.isArray(o), l = Object.keys(t).reduce((c, r) => ((!n || !o.find((b) => b == r)) && (c[r] = t[r].type === "object" && t[r].properties ? N(t[r]) : Y(t[r].default)), c), {});
11
- return (!n || !o.find((c) => c == "id")) && (l.id = `${u}-${Date.now()}`), l;
10
+ const { properties: t, title: o, ignore: u } = e, n = u && Array.isArray(u), l = Object.keys(t).reduce((s, r) => ((!n || !u.find((b) => b === r)) && (s[r] = t[r].type === "object" && t[r].properties ? N(t[r]) : Y(t[r].default)), s), {});
11
+ if (o && (!n || !u.find((s) => s === "id"))) {
12
+ const s = o.toLowerCase().replace(/-/g, "_");
13
+ l.id = `${s}_${Math.random().toString().slice(2, 6)}`;
14
+ }
15
+ return l;
12
16
  }
13
17
  function ae(e, t) {
14
- const u = N(t);
15
- return Object.keys(e).reduce((o, n) => (o[n] && V(o[n]) && V(e[n]) ? Object.assign(o[n], e[n]) : o[n] = e[n], o), u), u;
18
+ const o = N(t);
19
+ return Object.keys(o).reduce((u, n) => (u[n] && V(u[n]) && V(e[n] || !e[n]) ? Object.assign(u[n], e[n] || {}) : u[n] = e[n], u), o), o;
16
20
  }
17
21
  function le(e, t) {
18
- return Object.keys(e).filter((o) => e[o] != null).reduce((o, n) => {
22
+ return Object.keys(e).filter((u) => e[u] != null).reduce((u, n) => {
19
23
  if (t.has(n)) {
20
24
  const l = t.get(n);
21
25
  if (typeof l == "string")
22
- o[l] = e[n];
26
+ u[l] = e[n];
23
27
  else {
24
- const c = l(n, e[n], e);
25
- Object.assign(o, c);
28
+ const s = l(n, e[n], e);
29
+ Object.assign(u, s);
26
30
  }
27
31
  } else
28
- o[n] = e[n];
29
- return o;
32
+ u[n] = e[n];
33
+ return u;
30
34
  }, {});
31
35
  }
32
- function ie(e, t, u = /* @__PURE__ */ new Map()) {
33
- const o = ae(e, t);
34
- return le(o, u);
36
+ function ie(e, t, o = /* @__PURE__ */ new Map()) {
37
+ const u = ae(e, t);
38
+ return le(u, o);
35
39
  }
36
40
  function re(e = {}) {
37
- function t(a, s, i, p) {
41
+ function t(a, c, i, p) {
38
42
  if (typeof i == "number")
39
43
  return p[a].length === i;
40
44
  if (typeof i == "object") {
@@ -48,20 +52,20 @@ function re(e = {}) {
48
52
  }
49
53
  return !1;
50
54
  }
51
- function u(a, s, i, p) {
55
+ function o(a, c, i, p) {
52
56
  return p[a] && p[a].propertyValue && String(p[a].propertyValue.value) === String(i);
53
57
  }
54
- const o = /* @__PURE__ */ new Map([
58
+ const u = /* @__PURE__ */ new Map([
55
59
  ["length", t],
56
- ["getProperty", u]
60
+ ["getProperty", o]
57
61
  ]);
58
- Object.keys(e).reduce((a, s) => (a.set(s, e[s]), a), o);
59
- function n(a, s) {
62
+ Object.keys(e).reduce((a, c) => (a.set(c, e[c]), a), u);
63
+ function n(a, c) {
60
64
  const i = a;
61
- return typeof s == "number" ? [{ target: i, operator: "length", param: null, value: Number(s) }] : typeof s == "boolean" ? [{ target: i, operator: "getProperty", param: a, value: !!s }] : typeof s == "object" ? Object.keys(s).map((p) => {
65
+ return typeof c == "number" ? [{ target: i, operator: "length", param: null, value: Number(c) }] : typeof c == "boolean" ? [{ target: i, operator: "getProperty", param: a, value: !!c }] : typeof c == "object" ? Object.keys(c).map((p) => {
62
66
  if (p === "length")
63
- return { target: i, operator: "length", param: null, value: s[p] };
64
- const f = p, g = s[p];
67
+ return { target: i, operator: "length", param: null, value: c[p] };
68
+ const f = p, g = c[p];
65
69
  return { target: i, operator: "getProperty", param: f, value: g };
66
70
  }) : [];
67
71
  }
@@ -71,34 +75,34 @@ function re(e = {}) {
71
75
  return i.push(...f), i;
72
76
  }, []);
73
77
  }
74
- function c(a, s) {
75
- if (o.has(a.operator)) {
76
- const i = o.get(a.operator);
77
- return i && i(a.target, a.param, a.value, s) || !1;
78
+ function s(a, c) {
79
+ if (u.has(a.operator)) {
80
+ const i = u.get(a.operator);
81
+ return i && i(a.target, a.param, a.value, c) || !1;
78
82
  }
79
83
  return !1;
80
84
  }
81
- function r(a, s) {
82
- return l(a).reduce((f, g) => f && c(g, s), !0);
85
+ function r(a, c) {
86
+ return l(a).reduce((f, g) => f && s(g, c), !0);
83
87
  }
84
- function b(a, s) {
85
- const i = Object.keys(a), p = i.includes("allOf"), f = i.includes("anyOf"), g = p || f, C = (g ? a[g ? p ? "allOf" : "anyOf" : "allOf"] : [a]).map((T) => r(T, s));
88
+ function b(a, c) {
89
+ const i = Object.keys(a), p = i.includes("allOf"), f = i.includes("anyOf"), g = p || f, C = (g ? a[g ? p ? "allOf" : "anyOf" : "allOf"] : [a]).map((T) => r(T, c));
86
90
  return p ? !C.includes(!1) : C.includes(!0);
87
91
  }
88
92
  return { parseValueSchema: b };
89
93
  }
90
94
  const se = {}, ce = {};
91
95
  re();
92
- function de(e, t, u = /* @__PURE__ */ new Map(), o = (c, r, b) => r, n = {}, l = (c) => c) {
93
- return oe[t.title] = t, ue[t.title] = o, se[t.title] = n, ce[t.title] = l, (c = {}) => {
94
- const r = ie(c, t, u), b = Object.keys(e).reduce((a, s) => (a[s] = e[s].default, a), {});
96
+ function de(e, t, o = /* @__PURE__ */ new Map(), u = (s, r, b, a) => r, n = {}, l = (s) => s) {
97
+ return oe[t.title] = t, ue[t.title] = u, se[t.title] = n, ce[t.title] = l, (s = {}) => {
98
+ const r = ie(s, t, o), b = Object.keys(e).reduce((a, c) => (a[c] = e[c].default, a), {});
95
99
  return Object.assign(b, r);
96
100
  };
97
101
  }
98
102
  const pe = /* @__PURE__ */ new Map([
99
103
  ["appearance", Z]
100
104
  ]);
101
- function fe(e, t, u) {
105
+ function fe(e, t, o) {
102
106
  return t;
103
107
  }
104
108
  const be = "https://json-schema.org/draft/2020-12/schema", ge = "https://farris-design.gitee.io/button-edit.schema.json", ye = "button-edit", me = "A Farris Input Component", ve = "object", he = {
@@ -367,7 +371,7 @@ const be = "https://json-schema.org/draft/2020-12/schema", ge = "https://farris-
367
371
  },
368
372
  {
369
373
  value: "center",
370
- name: "居中对齐"
374
+ name: "居中"
371
375
  },
372
376
  {
373
377
  value: "right",
@@ -383,7 +387,7 @@ const be = "https://json-schema.org/draft/2020-12/schema", ge = "https://farris-
383
387
  description: Oe,
384
388
  type: Te,
385
389
  categories: ke
386
- }, L = {
390
+ }, S = {
387
391
  /**
388
392
  * 组件标识
389
393
  */
@@ -491,7 +495,7 @@ const be = "https://json-schema.org/draft/2020-12/schema", ge = "https://farris-
491
495
  beforeOpen: { type: Function, default: null },
492
496
  /** 更新方式 blur | change */
493
497
  updateOn: { type: String, default: "change" }
494
- }, G = de(L, Be, pe, fe, we), Ee = {
498
+ }, G = de(S, Be, pe, fe, we), Ee = {
495
499
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
496
500
  host: { type: Object },
497
501
  backgroundColor: { type: String, default: "" }
@@ -500,7 +504,7 @@ const be = "https://json-schema.org/draft/2020-12/schema", ge = "https://farris-
500
504
  props: Ee,
501
505
  emits: ["click"],
502
506
  setup(e, t) {
503
- const u = y(e.popupContentPosition), o = y(e.host), n = h(() => ({
507
+ const o = y(e.popupContentPosition), u = y(e.host), n = h(() => ({
504
508
  backgroundColor: e.backgroundColor || "",
505
509
  pointerEvents: "auto"
506
510
  }));
@@ -508,26 +512,26 @@ const be = "https://json-schema.org/draft/2020-12/schema", ge = "https://farris-
508
512
  t.emit("click"), r.preventDefault(), r.stopPropagation();
509
513
  }
510
514
  h(() => {
511
- const r = o.value;
515
+ const r = u.value;
512
516
  if (r) {
513
517
  const b = r.getBoundingClientRect(), {
514
518
  left: a,
515
- top: s,
519
+ top: c,
516
520
  height: i
517
521
  } = b;
518
522
  return {
519
523
  left: a,
520
- top: s + i
524
+ top: c + i
521
525
  };
522
526
  }
523
- return u.value;
527
+ return o.value;
524
528
  });
525
- const c = h(() => ({
529
+ const s = h(() => ({
526
530
  // position: 'relative',
527
531
  // left: `${position.value.left}px`,
528
532
  // top: `${position.value.top}px`
529
533
  }));
530
- return () => v(U, {
534
+ return () => v(q, {
531
535
  to: "body"
532
536
  }, {
533
537
  default: () => {
@@ -537,7 +541,7 @@ const be = "https://json-schema.org/draft/2020-12/schema", ge = "https://farris-
537
541
  onClick: (a) => l(a),
538
542
  style: n.value
539
543
  }, [v("div", {
540
- style: c.value
544
+ style: s.value
541
545
  }, [(b = (r = t.slots).default) == null ? void 0 : b.call(r)])])];
542
546
  }
543
547
  });
@@ -552,12 +556,12 @@ function Me(e) {
552
556
  function Ie(e) {
553
557
  const t = document.createElement("div");
554
558
  t.style.display = "contents";
555
- let u;
556
- const o = e.onClickCallback || (() => {
559
+ let o;
560
+ const u = e.onClickCallback || (() => {
557
561
  }), n = () => {
558
- o(), u && u.unmount();
562
+ u(), o && o.unmount();
559
563
  };
560
- return u = _({
564
+ return o = U({
561
565
  setup() {
562
566
  X(() => {
563
567
  document.body.removeChild(t);
@@ -572,7 +576,7 @@ function Ie(e) {
572
576
  default: () => [l && l()]
573
577
  });
574
578
  }
575
- }), document.body.appendChild(t), u.mount(t), u;
579
+ }), document.body.appendChild(t), o.mount(t), o;
576
580
  }
577
581
  class je {
578
582
  static show(t) {
@@ -581,29 +585,29 @@ class je {
581
585
  }
582
586
  const Re = Symbol("FModalService");
583
587
  function $(e, t) {
584
- function u() {
585
- const o = e.beforeOpen || e.beforeClickButton || null;
588
+ function o() {
589
+ const u = e.beforeOpen || e.beforeClickButton || null;
586
590
  let n = Promise.resolve(!0);
587
- if (o) {
588
- const l = o(t.value);
591
+ if (u) {
592
+ const l = u(t.value);
589
593
  if (typeof l > "u")
590
594
  return n;
591
595
  typeof l == "boolean" ? n = Promise.resolve(l) : n = l;
592
596
  }
593
597
  return n;
594
598
  }
595
- return { judgeCanOpen: u };
599
+ return { judgeCanOpen: o };
596
600
  }
597
- function W(e, t, u, o, n) {
598
- const l = y(e.buttonBehavior), c = y(e.popupOnInput), r = h(() => ({
601
+ function H(e, t, o, u, n) {
602
+ const l = y(e.buttonBehavior), s = y(e.popupOnInput), r = h(() => ({
599
603
  "input-group-append": !0,
600
604
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
601
- })), { judgeCanOpen: b } = $(e, n), a = h(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), s = D(Re, null), i = y();
605
+ })), { judgeCanOpen: b } = $(e, n), a = h(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), c = D(Re, null), i = y();
602
606
  async function p(m) {
603
607
  if (await b() && a.value) {
604
608
  const x = !!t.slots.default;
605
609
  if (l.value === "Modal") {
606
- const C = e.modalOptions, O = s == null ? void 0 : s.open({
610
+ const C = e.modalOptions, O = c == null ? void 0 : c.open({
607
611
  ...C,
608
612
  render: () => t.slots.default && t.slots.default()
609
613
  });
@@ -614,7 +618,7 @@ function W(e, t, u, o, n) {
614
618
  host: document.body,
615
619
  backgroundColor: "rgba(0,0,0,.15)",
616
620
  render: () => t.slots.default && t.slots.default()
617
- }), x && l.value === "Popup" && o.togglePopup(!0), x && c.value && o.hidePopup(), t.emit("clickButton", { origin: m, value: e.modelValue });
621
+ }), x && l.value === "Popup" && u.togglePopup(!0), x && s.value && u.hidePopup(), t.emit("clickButton", { origin: m, value: e.modelValue });
618
622
  }
619
623
  }
620
624
  function f(m) {
@@ -631,21 +635,21 @@ function W(e, t, u, o, n) {
631
635
  modalRef: i
632
636
  };
633
637
  }
634
- function Fe(e, t, u, o, n, l) {
635
- const c = y(!1), r = h(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: b } = l;
638
+ function Fe(e, t, o, u, n, l) {
639
+ const s = y(!1), r = h(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: b } = l;
636
640
  function a(f) {
637
- c.value = f;
641
+ s.value = f;
638
642
  }
639
643
  R(n, () => {
640
644
  a(!!n.value);
641
645
  });
642
- function s(f) {
646
+ function c(f) {
643
647
  const g = !e.readonly && !e.disable && e.editable, m = !e.editable;
644
- f.stopPropagation(), (g || m) && (b("", !1), a(!c.value), t.emit("clear"));
648
+ f.stopPropagation(), (g || m) && (b("", !1), a(!s.value), t.emit("clear"));
645
649
  }
646
650
  function i(f) {
647
651
  if (r.value) {
648
- if (!u.value) {
652
+ if (!o.value) {
649
653
  a(!1);
650
654
  return;
651
655
  }
@@ -657,14 +661,14 @@ function Fe(e, t, u, o, n, l) {
657
661
  }
658
662
  return {
659
663
  enableClearButton: r,
660
- showClearButton: c,
661
- onClearValue: s,
664
+ showClearButton: s,
665
+ onClearValue: c,
662
666
  onMouseEnterTextBox: i,
663
667
  onMouseLeaveTextBox: p
664
668
  };
665
669
  }
666
- function Le(e, t, u, o, n) {
667
- const l = h(() => e.popupOnInput), c = h(() => e.popupOnFocus), { shouldPopupContent: r } = n, b = h(() => e.enableTitle ? u.value : ""), a = h(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), s = h(() => e.readonly || !e.editable), i = y(!1), p = h(() => !e.disable && i.value), f = h(() => ({
670
+ function Se(e, t, o, u, n) {
671
+ const l = h(() => e.popupOnInput), s = h(() => e.popupOnFocus), { shouldPopupContent: r } = n, b = h(() => e.enableTitle ? o.value : ""), a = h(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), c = h(() => e.readonly || !e.editable), i = y(!1), p = h(() => !e.disable && i.value), f = h(() => ({
668
672
  "text-left": e.textAlign === "left",
669
673
  "text-center": e.textAlign === "center",
670
674
  "text-right": e.textAlign === "right",
@@ -678,7 +682,7 @@ function Le(e, t, u, o, n) {
678
682
  "f-state-focus": p.value
679
683
  }));
680
684
  function m(d, B = !0) {
681
- u.value !== d && (u.value = d, B && (t.emit("change", d), t.emit("update:modelValue", d)));
685
+ o.value !== d && (o.value = d, B && (t.emit("change", d), t.emit("update:modelValue", d)));
682
686
  }
683
687
  function x(d) {
684
688
  r.value = !1, m(d, !0);
@@ -686,7 +690,7 @@ function Le(e, t, u, o, n) {
686
690
  R(
687
691
  () => e.modelValue,
688
692
  (d) => {
689
- u.value = d;
693
+ o.value = d;
690
694
  }
691
695
  );
692
696
  function C(d) {
@@ -696,12 +700,12 @@ function Le(e, t, u, o, n) {
696
700
  t.emit("click", d);
697
701
  }
698
702
  function T(d) {
699
- e.disable || (i.value = !0, s.value || (t.emit("focus", d), c.value && !r.value && n.popup()));
703
+ e.disable || (i.value = !0, c.value || (t.emit("focus", d), s.value && !r.value && n.popup()));
700
704
  }
701
705
  function k(d) {
702
706
  t.emit("input", d.target.value);
703
707
  const B = d.target.value;
704
- o.value = B, u.value !== B && m(B, e.updateOn === "change"), l.value && !r.value && n.popup();
708
+ u.value = B, o.value !== B && m(B, e.updateOn === "change"), l.value && !r.value && n.popup();
705
709
  }
706
710
  function M(d) {
707
711
  d.target.tagName !== "INPUT" && d.preventDefault(), d.stopPropagation();
@@ -710,7 +714,7 @@ function Le(e, t, u, o, n) {
710
714
  t.emit("keydown", d);
711
715
  }
712
716
  function I(d) {
713
- d.key === "Enter" && (l.value || c.value) && n.hidePopup(), t.emit("keyup", d);
717
+ d.key === "Enter" && (l.value || s.value) && n.hidePopup(), t.emit("keyup", d);
714
718
  }
715
719
  function E(d) {
716
720
  const B = d.target.value;
@@ -718,7 +722,7 @@ function Le(e, t, u, o, n) {
718
722
  }
719
723
  return {
720
724
  hasFocusedTextBox: p,
721
- isTextBoxReadonly: s,
725
+ isTextBoxReadonly: c,
722
726
  textBoxClass: f,
723
727
  textBoxPlaceholder: a,
724
728
  textBoxTitle: b,
@@ -735,58 +739,58 @@ function Le(e, t, u, o, n) {
735
739
  onTextBoxValueChange: E
736
740
  };
737
741
  }
738
- function H(e, t, u, o) {
739
- const n = y(), l = y(!1), { judgeCanOpen: c } = $(e, o);
742
+ function W(e, t, o, u) {
743
+ const n = y(), l = y(!1), { judgeCanOpen: s } = $(e, u);
740
744
  function r() {
741
745
  const i = n.value;
742
- i && i.show(u.value);
746
+ i && i.show(o.value);
743
747
  }
744
748
  async function b(i = !1) {
745
749
  if (!!t.slots.default) {
746
- if (!i && !l.value && !await c())
750
+ if (!i && !l.value && !await s())
747
751
  return;
748
- l.value = !l.value, await S(), r();
752
+ l.value = !l.value, await L(), r();
749
753
  }
750
754
  }
751
755
  async function a(i = !1) {
752
756
  if (!!t.slots.default) {
753
- if (!i && !await c())
757
+ if (!i && !await s())
754
758
  return;
755
- l.value = !0, await S(), r();
759
+ l.value = !0, await L(), r();
756
760
  }
757
761
  }
758
- function s() {
762
+ function c() {
759
763
  l.value = !1;
760
764
  }
761
- return { hidePopup: s, popup: a, shouldPopupContent: l, togglePopup: b, popoverRef: n };
765
+ return { hidePopup: c, popup: a, shouldPopupContent: l, togglePopup: b, popoverRef: n };
762
766
  }
763
- function Se(e, t, u) {
764
- const o = y(), {
767
+ function Le(e, t, o) {
768
+ const u = y(), {
765
769
  isTextBoxReadonly: n,
766
770
  textBoxClass: l,
767
- textBoxPlaceholder: c,
771
+ textBoxPlaceholder: s,
768
772
  textBoxTitle: r,
769
773
  onBlurTextBox: b,
770
774
  onClickTextBox: a,
771
- onFocusTextBox: s,
775
+ onFocusTextBox: c,
772
776
  onInput: i,
773
777
  onKeyDownTextBox: p,
774
778
  onKeyUpTextBox: f,
775
779
  onMouseDownTextBox: g,
776
780
  onTextBoxValueChange: m
777
- } = u;
781
+ } = o;
778
782
  return F(() => {
779
783
  var x, C;
780
- e.selectOnCreated && ((x = o.value) == null || x.select()), e.focusOnCreated && ((C = o.value) == null || C.focus());
784
+ e.selectOnCreated && ((x = u.value) == null || x.select()), e.focusOnCreated && ((C = u.value) == null || C.focus());
781
785
  }), () => v("input", {
782
- ref: o,
786
+ ref: u,
783
787
  name: "input-group-value",
784
788
  autocomplete: e.autoComplete ? "on" : "off",
785
789
  class: l.value,
786
790
  disabled: e.disable,
787
791
  maxlength: e.maxLength,
788
792
  minlength: e.minLength,
789
- placeholder: c.value,
793
+ placeholder: s.value,
790
794
  readonly: n.value,
791
795
  tabindex: e.tabIndex,
792
796
  title: r.value,
@@ -795,22 +799,22 @@ function Se(e, t, u) {
795
799
  onBlur: b,
796
800
  onChange: m,
797
801
  onClick: a,
798
- onFocus: s,
802
+ onFocus: c,
799
803
  onInput: i,
800
804
  onKeydown: p,
801
805
  onKeyup: f,
802
806
  onMousedown: g
803
807
  }, null);
804
808
  }
805
- function Ve(e, t, u) {
806
- const o = y(e.separator), {
809
+ function Ve(e, t, o) {
810
+ const u = y(e.separator), {
807
811
  changeTextBoxValue: n
808
- } = u, l = h(() => t.value ? t.value.split(o.value).map((r) => ({
812
+ } = o, l = h(() => t.value ? t.value.split(u.value).map((r) => ({
809
813
  name: r,
810
814
  selectable: !0
811
815
  })) : []);
812
- function c(r) {
813
- n(r.map((b) => b.name).join(o.value), !0);
816
+ function s(r) {
817
+ n(r.map((b) => b.name).join(u.value), !0);
814
818
  }
815
819
  return () => v(K, {
816
820
  id: `${e.id}-tag-editor`,
@@ -818,50 +822,50 @@ function Ve(e, t, u) {
818
822
  data: l.value,
819
823
  showClose: !0,
820
824
  showInput: !0,
821
- onChange: c
825
+ onChange: s
822
826
  }, null);
823
827
  }
824
- function De(e, t, u, o) {
828
+ function De(e, t, o, u) {
825
829
  const {
826
830
  buttonGroupClass: n,
827
831
  onClickButton: l,
828
- onMouseEnterButton: c,
832
+ onMouseEnterButton: s,
829
833
  onMouseLeaveButton: r
830
- } = u, {
834
+ } = o, {
831
835
  enableClearButton: b,
832
836
  showClearButton: a,
833
- onClearValue: s
834
- } = o, i = y();
837
+ onClearValue: c
838
+ } = u, i = y();
835
839
  return {
836
840
  renderButtonGroup: () => v("div", {
837
841
  id: `${e.id}-button-group`,
838
842
  class: n.value
839
843
  }, [b.value && z(v("span", {
840
844
  class: "input-group-text input-group-clear",
841
- onClick: s
845
+ onClick: c
842
846
  }, [v("i", {
843
847
  class: "f-icon modal_close"
844
848
  }, null)]), [[J, a.value]]), t.slots.buttonContent ? v("span", {
845
849
  class: "input-group-text input-group-append-button",
846
850
  onClick: l,
847
- onMouseenter: c,
851
+ onMouseenter: s,
848
852
  onMouseleave: r
849
853
  }, [t.slots.buttonContent()]) : e.buttonContent ? v("span", {
850
854
  class: "input-group-text input-group-append-button",
851
855
  innerHTML: e.buttonContent,
852
856
  ref: i,
853
857
  onClick: l,
854
- onMouseenter: c,
858
+ onMouseenter: s,
855
859
  onMouseleave: r
856
860
  }, null) : null]),
857
861
  buttonHandleElement: i
858
862
  };
859
863
  }
860
- function Ae(e, t, u) {
861
- const o = y(e.popupMinWidth), {
864
+ function Ae(e, t, o) {
865
+ const u = y(e.popupMinWidth), {
862
866
  hidePopup: n,
863
867
  popoverRef: l
864
- } = u;
868
+ } = o;
865
869
  return () => v(ee, {
866
870
  id: `${e.id}-popover`,
867
871
  ref: l,
@@ -871,30 +875,30 @@ function Ae(e, t, u) {
871
875
  "keep-width-with-reference": !0,
872
876
  fitContent: !0,
873
877
  "right-boundary": e.popupRightBoundary,
874
- minWidth: o.value,
878
+ minWidth: u.value,
875
879
  offsetX: e.popupOffsetX,
876
880
  onHidden: n
877
881
  }, {
878
882
  default: () => {
879
- var c, r;
880
- return [(r = (c = t.slots).default) == null ? void 0 : r.call(c)];
883
+ var s, r;
884
+ return [(r = (s = t.slots).default) == null ? void 0 : r.call(s)];
881
885
  }
882
886
  });
883
887
  }
884
888
  const P = /* @__PURE__ */ j({
885
889
  name: "FButtonEdit",
886
- props: L,
890
+ props: S,
887
891
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
888
892
  setup(e, t) {
889
- const u = y(), o = y(e.customClass), n = y(e.modelValue), l = H(e, t, u, n), {
890
- shouldPopupContent: c,
893
+ const o = y(), u = y(e.customClass), n = y(e.modelValue), l = W(e, t, o, n), {
894
+ shouldPopupContent: s,
891
895
  hidePopup: r,
892
896
  togglePopup: b
893
- } = l, a = W(e, t, u, l, n), s = y(""), i = Le(e, t, n, s, l), {
897
+ } = l, a = H(e, t, o, l, n), c = y(""), i = Se(e, t, n, c, l), {
894
898
  hasFocusedTextBox: p,
895
899
  commitValue: f,
896
900
  inputGroupClass: g
897
- } = i, m = Fe(e, t, n, p, s, i), {
901
+ } = i, m = Fe(e, t, n, p, c, i), {
898
902
  onMouseEnterTextBox: x,
899
903
  onMouseLeaveTextBox: C
900
904
  } = m, O = h(() => {
@@ -903,10 +907,10 @@ const P = /* @__PURE__ */ j({
903
907
  "f-cmp-inputgroup": !0,
904
908
  "f-button-edit-nowrap": !e.wrapText
905
909
  };
906
- return o.value && o.value.split(" ").reduce((B, q) => (B[q] = !0, B), d), d;
910
+ return u.value && u.value.split(" ").reduce((B, _) => (B[_] = !0, B), d), d;
907
911
  });
908
912
  function T() {
909
- return e.multiSelect && e.inputType === "tag" ? Ve(e, n, i) : Se(e, n, i);
913
+ return e.multiSelect && e.inputType === "tag" ? Ve(e, n, i) : Le(e, n, i);
910
914
  }
911
915
  let k = T();
912
916
  R([() => e.multiSelect, () => e.inputType], () => {
@@ -917,9 +921,9 @@ const P = /* @__PURE__ */ j({
917
921
  buttonHandleElement: w
918
922
  } = De(e, t, a, m), I = Ae(e, t, l), E = {
919
923
  commitValue: f,
920
- elementRef: u,
924
+ elementRef: o,
921
925
  hidePopup: r,
922
- shouldPopupContent: c,
926
+ shouldPopupContent: s,
923
927
  togglePopup: b,
924
928
  openDialog: () => {
925
929
  w.value && e.buttonBehavior === "Modal" && w.value.click();
@@ -930,11 +934,11 @@ const P = /* @__PURE__ */ j({
930
934
  }
931
935
  };
932
936
  return F(() => {
933
- u.value.componentInstance = E, window.onresize = () => {
937
+ o.value.componentInstance = E, window.onresize = () => {
934
938
  document.body.click();
935
939
  };
936
940
  }), t.expose(E), () => v(Q, null, [v("div", A(t.attrs, {
937
- ref: u,
941
+ ref: o,
938
942
  class: O.value,
939
943
  id: e.id
940
944
  }), [v("div", {
@@ -942,17 +946,17 @@ const P = /* @__PURE__ */ j({
942
946
  class: g.value,
943
947
  onMouseenter: x,
944
948
  onMouseleave: C
945
- }, [k(), M()])]), c.value && I()]);
949
+ }, [k(), M()])]), s.value && I()]);
946
950
  }
947
951
  });
948
- function Ne(e, t, u) {
952
+ function Ne(e, t, o) {
949
953
  const {
950
- buttonGroupClass: o
951
- } = u, n = y();
954
+ buttonGroupClass: u
955
+ } = o, n = y();
952
956
  return {
953
957
  renderButtonGroup: () => v("div", {
954
958
  id: `${e.id}-button-group`,
955
- class: o.value
959
+ class: u.value
956
960
  }, [t.slots.buttonContent ? v("span", {
957
961
  class: "input-group-text input-group-append-button"
958
962
  }, [t.slots.buttonContent()]) : e.buttonContent ? v("span", {
@@ -965,10 +969,10 @@ function Ne(e, t, u) {
965
969
  }
966
970
  const Ge = /* @__PURE__ */ j({
967
971
  name: "FButtonEdit",
968
- props: L,
972
+ props: S,
969
973
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
970
974
  setup(e, t) {
971
- const u = y(), o = D("design-item-context"), n = te(u, o), l = y(e.customClass), c = y(e.modelValue), r = H(e, t, u, c), b = W(e, t, u, r, c), a = y(), s = h(() => ({
975
+ const o = y(), u = D("design-item-context"), n = te(o, u), l = y(e.customClass), s = y(e.modelValue), r = W(e, t, o, s), b = H(e, t, o, r, s), a = y(), c = h(() => ({
972
976
  "f-cmp-inputgroup": !0,
973
977
  "input-group": !0,
974
978
  "f-state-disable": !0,
@@ -976,7 +980,7 @@ const Ge = /* @__PURE__ */ j({
976
980
  "f-state-readonly": !0
977
981
  }));
978
982
  F(() => {
979
- u.value.componentInstance = n;
983
+ o.value.componentInstance = n;
980
984
  }), t.expose(n.value);
981
985
  const i = h(() => {
982
986
  const f = {
@@ -989,11 +993,11 @@ const Ge = /* @__PURE__ */ j({
989
993
  renderButtonGroup: p
990
994
  } = Ne(e, t, b);
991
995
  return () => v("div", A(t.attrs, {
992
- ref: u,
996
+ ref: o,
993
997
  class: i.value,
994
998
  id: e.id
995
999
  }), [v("div", {
996
- class: s.value
1000
+ class: c.value
997
1001
  }, [v("input", {
998
1002
  ref: a,
999
1003
  class: "form-control",
@@ -1002,16 +1006,16 @@ const Ge = /* @__PURE__ */ j({
1002
1006
  }, null), p()])]);
1003
1007
  }
1004
1008
  });
1005
- P.register = (e, t, u, o) => {
1009
+ P.register = (e, t, o, u) => {
1006
1010
  e["button-edit"] = P, t["button-edit"] = G;
1007
1011
  };
1008
- P.registerDesigner = (e, t, u) => {
1012
+ P.registerDesigner = (e, t, o) => {
1009
1013
  e["button-edit"] = Ge, t["button-edit"] = G;
1010
1014
  };
1011
1015
  const ze = ne(P);
1012
1016
  export {
1013
1017
  P as FButtonEdit,
1014
- L as buttonEditProps,
1018
+ S as buttonEditProps,
1015
1019
  ze as default,
1016
1020
  G as propsResolver
1017
1021
  };