@farris/ui-vue 1.7.0-beta.4 → 1.7.0

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 (563) hide show
  1. package/components/accordion/index.esm.js +61 -312
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +56 -1481
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +8 -752
  6. package/components/binding-selector/index.umd.cjs +1 -1
  7. package/components/button-edit/index.esm.js +358 -351
  8. package/components/button-edit/index.umd.cjs +1 -1
  9. package/components/button-group/index.esm.js +110 -266
  10. package/components/button-group/index.umd.cjs +1 -1
  11. package/components/calendar/index.esm.js +1371 -1284
  12. package/components/calendar/index.umd.cjs +30 -30
  13. package/components/code-editor/index.esm.js +169 -237
  14. package/components/code-editor/index.umd.cjs +3 -3
  15. package/components/collection-property-editor/index.esm.js +382 -351
  16. package/components/collection-property-editor/index.umd.cjs +2 -2
  17. package/components/color-picker/index.esm.js +502 -812
  18. package/components/color-picker/index.umd.cjs +1 -1
  19. package/components/combo-list/index.esm.js +197 -183
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-tree/index.esm.js +199 -364
  22. package/components/combo-tree/index.umd.cjs +1 -1
  23. package/components/comment/index.esm.js +1501 -1465
  24. package/components/comment/index.umd.cjs +6 -6
  25. package/components/common/index.esm.js +136 -100
  26. package/components/common/index.umd.cjs +1 -1
  27. package/components/component/index.css +1 -1
  28. package/components/component/index.esm.js +2662 -3647
  29. package/components/component/index.umd.cjs +1 -8
  30. package/components/condition/index.esm.js +492 -2449
  31. package/components/condition/index.umd.cjs +1 -8
  32. package/components/content-container/index.esm.js +252 -241
  33. package/components/content-container/index.umd.cjs +1 -1
  34. package/components/data-grid/index.esm.js +505 -409
  35. package/components/data-grid/index.umd.cjs +1 -1
  36. package/components/data-view/index.esm.js +3326 -3258
  37. package/components/data-view/index.umd.cjs +1 -1
  38. package/components/date-picker/index.esm.js +1709 -1634
  39. package/components/date-picker/index.umd.cjs +1 -1
  40. package/components/designer-canvas/index.css +1 -1
  41. package/components/designer-canvas/index.esm.js +2693 -3021
  42. package/components/designer-canvas/index.umd.cjs +1 -1
  43. package/components/designer-outline/index.esm.js +102 -98
  44. package/components/designer-outline/index.umd.cjs +1 -1
  45. package/components/drawer/index.esm.js +409 -358
  46. package/components/drawer/index.umd.cjs +2 -2
  47. package/components/dropdown/index.esm.js +124 -373
  48. package/components/dropdown/index.umd.cjs +2 -2
  49. package/components/dynamic-form/index.esm.js +760 -573
  50. package/components/dynamic-form/index.umd.cjs +1 -1
  51. package/components/dynamic-resolver/index.esm.js +354 -327
  52. package/components/dynamic-resolver/index.umd.cjs +2 -2
  53. package/components/dynamic-view/index.esm.js +413 -359
  54. package/components/dynamic-view/index.umd.cjs +1 -1
  55. package/components/event-parameter/index.esm.js +1 -1
  56. package/components/event-parameter/index.umd.cjs +1 -1
  57. package/components/events-editor/index.css +1 -1
  58. package/components/events-editor/index.esm.js +1535 -1941
  59. package/components/events-editor/index.umd.cjs +3 -3
  60. package/components/expression-editor/index.css +1 -1
  61. package/components/expression-editor/index.esm.js +2 -7317
  62. package/components/expression-editor/index.umd.cjs +1 -427
  63. package/components/field-selector/index.esm.js +13 -13
  64. package/components/field-selector/index.umd.cjs +1 -1
  65. package/components/fieldset/index.esm.js +140 -123
  66. package/components/fieldset/index.umd.cjs +1 -1
  67. package/components/filter-bar/index.esm.js +1021 -1012
  68. package/components/filter-bar/index.umd.cjs +2 -2
  69. package/components/filter-condition-editor/index.css +1 -1
  70. package/components/filter-condition-editor/index.esm.js +448 -9000
  71. package/components/filter-condition-editor/index.umd.cjs +1 -427
  72. package/components/html-template/index.esm.js +167 -147
  73. package/components/html-template/index.umd.cjs +1 -1
  74. package/components/image/index.esm.js +372 -352
  75. package/components/image/index.umd.cjs +2 -2
  76. package/components/image-cropper/index.esm.js +361 -615
  77. package/components/image-cropper/index.umd.cjs +1 -1
  78. package/components/json-editor/index.esm.js +247 -325
  79. package/components/json-editor/index.umd.cjs +1 -1
  80. package/components/language-textbox/index.esm.js +835 -421
  81. package/components/language-textbox/index.umd.cjs +2 -2
  82. package/components/layout/index.esm.js +163 -549
  83. package/components/layout/index.umd.cjs +1 -1
  84. package/components/list-nav/index.esm.js +39 -836
  85. package/components/list-nav/index.umd.cjs +1 -1
  86. package/components/list-view/index.esm.js +690 -474
  87. package/components/list-view/index.umd.cjs +6 -8
  88. package/components/loading/index.esm.js +128 -97
  89. package/components/loading/index.umd.cjs +2 -2
  90. package/components/locale/index.esm.js +361 -340
  91. package/components/locale/index.umd.cjs +5 -5
  92. package/components/lookup/index.css +1 -1
  93. package/components/lookup/index.esm.js +3396 -3368
  94. package/components/lookup/index.umd.cjs +1 -1
  95. package/components/mapping-editor/index.css +1 -1
  96. package/components/mapping-editor/index.esm.js +1684 -1584
  97. package/components/mapping-editor/index.umd.cjs +1 -1
  98. package/components/menu-lookup/index.esm.js +586 -609
  99. package/components/menu-lookup/index.umd.cjs +6 -6
  100. package/components/message-box/index.css +1 -1
  101. package/components/message-box/index.esm.js +357 -353
  102. package/components/message-box/index.umd.cjs +1 -1
  103. package/components/modal/index.esm.js +325 -318
  104. package/components/modal/index.umd.cjs +1 -1
  105. package/components/nav/index.esm.js +31 -311
  106. package/components/nav/index.umd.cjs +1 -1
  107. package/components/number-range/index.esm.js +189 -1633
  108. package/components/number-range/index.umd.cjs +1 -1
  109. package/components/number-spinner/index.esm.js +195 -175
  110. package/components/number-spinner/index.umd.cjs +1 -1
  111. package/components/order/index.esm.js +761 -1057
  112. package/components/order/index.umd.cjs +7 -9
  113. package/components/page-footer/index.esm.js +48 -331
  114. package/components/page-footer/index.umd.cjs +1 -1
  115. package/components/page-header/index.esm.js +92 -73
  116. package/components/page-header/index.umd.cjs +1 -1
  117. package/components/pagination/index.esm.js +195 -472
  118. package/components/pagination/index.umd.cjs +1 -1
  119. package/components/popover/index.esm.js +77 -76
  120. package/components/popover/index.umd.cjs +1 -1
  121. package/components/progress/index.esm.js +148 -353
  122. package/components/progress/index.umd.cjs +3 -3
  123. package/components/property-editor/index.esm.js +74 -68
  124. package/components/property-editor/index.umd.cjs +1 -1
  125. package/components/property-panel/index.esm.js +872 -1800
  126. package/components/property-panel/index.umd.cjs +5 -12
  127. package/components/query-solution/index.css +1 -1
  128. package/components/query-solution/index.esm.js +4223 -6205
  129. package/components/query-solution/index.umd.cjs +6 -13
  130. package/components/response-layout/index.esm.js +206 -170
  131. package/components/response-layout/index.umd.cjs +1 -1
  132. package/components/response-layout-editor/index.esm.js +1 -1
  133. package/components/response-layout-editor/index.umd.cjs +1 -1
  134. package/components/response-toolbar/index.esm.js +378 -359
  135. package/components/response-toolbar/index.umd.cjs +1 -1
  136. package/components/schema-selector/index.esm.js +2491 -2653
  137. package/components/schema-selector/index.umd.cjs +8 -10
  138. package/components/search-box/index.esm.js +79 -240
  139. package/components/search-box/index.umd.cjs +1 -1
  140. package/components/section/index.esm.js +304 -289
  141. package/components/section/index.umd.cjs +2 -2
  142. package/components/smoke-detector/index.esm.js +8 -179
  143. package/components/smoke-detector/index.umd.cjs +1 -1
  144. package/components/sort-condition-editor/index.esm.js +4 -9421
  145. package/components/sort-condition-editor/index.umd.cjs +1 -427
  146. package/components/splitter/index.esm.js +142 -1171
  147. package/components/splitter/index.umd.cjs +1 -1
  148. package/components/step/index.esm.js +48 -47
  149. package/components/step/index.umd.cjs +1 -1
  150. package/components/tabs/index.esm.js +460 -513
  151. package/components/tabs/index.umd.cjs +1 -1
  152. package/components/text/index.esm.js +73 -217
  153. package/components/text/index.umd.cjs +1 -1
  154. package/components/time-picker/index.esm.js +380 -375
  155. package/components/time-picker/index.umd.cjs +1 -1
  156. package/components/tooltip/index.esm.js +40 -40
  157. package/components/tooltip/index.umd.cjs +1 -1
  158. package/components/transfer/index.esm.js +551 -771
  159. package/components/transfer/index.umd.cjs +6 -8
  160. package/components/tree-grid/index.esm.js +250 -235
  161. package/components/tree-grid/index.umd.cjs +1 -1
  162. package/components/tree-view/index.esm.js +157 -314
  163. package/components/tree-view/index.umd.cjs +1 -1
  164. package/components/uploader/index.esm.js +634 -1125
  165. package/components/uploader/index.umd.cjs +2 -2
  166. package/components/verify-detail/index.esm.js +106 -359
  167. package/components/verify-detail/index.umd.cjs +1 -1
  168. package/components/video/index.esm.js +89 -222
  169. package/components/video/index.umd.cjs +1 -1
  170. package/components/weather/index.esm.js +199 -290
  171. package/components/weather/index.umd.cjs +1 -1
  172. package/designer/accordion/index.esm.js +257 -0
  173. package/designer/accordion/index.umd.cjs +1 -0
  174. package/designer/avatar/index.esm.js +227 -0
  175. package/designer/avatar/index.umd.cjs +1 -0
  176. package/designer/binding-selector/index.esm.js +792 -0
  177. package/designer/binding-selector/index.umd.cjs +1 -0
  178. package/designer/button-edit/index.esm.js +210 -203
  179. package/designer/button-edit/index.umd.cjs +1 -1
  180. package/designer/button-group/index.esm.js +282 -0
  181. package/designer/button-group/index.umd.cjs +1 -0
  182. package/designer/checkbox/index.esm.js +51 -45
  183. package/designer/checkbox/index.umd.cjs +1 -1
  184. package/designer/checkbox-group/index.esm.js +89 -83
  185. package/designer/checkbox-group/index.umd.cjs +1 -1
  186. package/designer/code-editor/index.esm.js +75 -0
  187. package/designer/code-editor/index.umd.cjs +1 -0
  188. package/designer/color-picker/index.esm.js +1096 -0
  189. package/designer/color-picker/index.umd.cjs +1 -0
  190. package/designer/combo-list/index.esm.js +1095 -0
  191. package/designer/combo-list/index.umd.cjs +1 -0
  192. package/designer/combo-tree/index.esm.js +186 -0
  193. package/designer/combo-tree/index.umd.cjs +1 -0
  194. package/designer/component/index.css +1 -0
  195. package/designer/component/index.esm.js +5002 -0
  196. package/designer/component/index.umd.cjs +1 -0
  197. package/designer/condition/index.esm.js +1899 -0
  198. package/designer/condition/index.umd.cjs +1 -0
  199. package/designer/data-grid/index.esm.js +5580 -6213
  200. package/designer/data-grid/index.umd.cjs +10 -17
  201. package/designer/data-view/index.esm.js +212 -191
  202. package/designer/data-view/index.umd.cjs +2 -2
  203. package/designer/date-picker/index.esm.js +621 -607
  204. package/designer/date-picker/index.umd.cjs +1 -1
  205. package/designer/drawer/index.css +1 -1
  206. package/designer/drawer/index.esm.js +869 -620
  207. package/designer/drawer/index.umd.cjs +2 -2
  208. package/designer/dropdown/index.esm.js +261 -0
  209. package/designer/dropdown/index.umd.cjs +1 -0
  210. package/designer/dynamic-form/index.esm.js +1166 -1384
  211. package/designer/dynamic-form/index.umd.cjs +1 -8
  212. package/designer/expression-editor/index.css +1 -0
  213. package/designer/expression-editor/index.esm.js +7006 -0
  214. package/designer/expression-editor/index.umd.cjs +427 -0
  215. package/designer/farris-designer.all.esm.js +10309 -10617
  216. package/designer/farris-designer.all.umd.cjs +17 -19
  217. package/designer/filter-condition-editor/index.css +1 -0
  218. package/designer/filter-condition-editor/index.esm.js +4795 -0
  219. package/designer/filter-condition-editor/index.umd.cjs +1 -0
  220. package/designer/html-template/index.esm.js +718 -0
  221. package/designer/html-template/index.umd.cjs +1 -0
  222. package/designer/image-cropper/index.esm.js +765 -0
  223. package/designer/image-cropper/index.umd.cjs +1 -0
  224. package/designer/index.css +1 -1
  225. package/designer/input-group/index.esm.js +72 -66
  226. package/designer/input-group/index.umd.cjs +1 -1
  227. package/designer/json-editor/index.esm.js +83 -0
  228. package/designer/json-editor/index.umd.cjs +1 -0
  229. package/designer/language-textbox/index.esm.js +783 -0
  230. package/designer/language-textbox/index.umd.cjs +8 -0
  231. package/designer/layout/index.esm.js +430 -0
  232. package/designer/layout/index.umd.cjs +1 -0
  233. package/designer/list-nav/index.esm.js +802 -0
  234. package/designer/list-nav/index.umd.cjs +1 -0
  235. package/designer/list-view/index.esm.js +864 -844
  236. package/designer/list-view/index.umd.cjs +7 -9
  237. package/designer/lookup/index.esm.js +2083 -0
  238. package/designer/lookup/index.umd.cjs +1 -0
  239. package/designer/menu-lookup/index.esm.js +46 -0
  240. package/designer/menu-lookup/index.umd.cjs +1 -0
  241. package/designer/modal/index.esm.js +137 -29
  242. package/designer/modal/index.umd.cjs +1 -1
  243. package/designer/nav/index.esm.js +284 -0
  244. package/designer/nav/index.umd.cjs +1 -0
  245. package/designer/number-range/index.esm.js +1616 -0
  246. package/designer/number-range/index.umd.cjs +1 -0
  247. package/designer/number-spinner/index.esm.js +19 -17
  248. package/designer/number-spinner/index.umd.cjs +1 -1
  249. package/designer/order/index.css +1 -0
  250. package/designer/order/index.esm.js +2196 -0
  251. package/designer/order/index.umd.cjs +18 -0
  252. package/designer/page-footer/index.esm.js +290 -0
  253. package/designer/page-footer/index.umd.cjs +1 -0
  254. package/designer/page-header/index.esm.js +1003 -0
  255. package/designer/page-header/index.umd.cjs +1 -0
  256. package/designer/pagination/index.esm.js +591 -0
  257. package/designer/pagination/index.umd.cjs +1 -0
  258. package/designer/progress/index.esm.js +213 -0
  259. package/designer/progress/index.umd.cjs +1 -0
  260. package/designer/radio-group/index.esm.js +978 -949
  261. package/designer/radio-group/index.umd.cjs +1 -1
  262. package/designer/response-layout-editor/index.esm.js +1 -1
  263. package/designer/response-layout-editor/index.umd.cjs +1 -1
  264. package/designer/response-toolbar/index.esm.js +1471 -1416
  265. package/designer/response-toolbar/index.umd.cjs +1 -1
  266. package/designer/search-box/index.esm.js +245 -0
  267. package/designer/search-box/index.umd.cjs +1 -0
  268. package/designer/section/index.esm.js +83 -78
  269. package/designer/section/index.umd.cjs +1 -1
  270. package/designer/smoke-detector/index.css +1 -0
  271. package/designer/smoke-detector/index.esm.js +178 -0
  272. package/designer/smoke-detector/index.umd.cjs +1 -0
  273. package/designer/sort-condition-editor/index.esm.js +138 -0
  274. package/designer/sort-condition-editor/index.umd.cjs +1 -0
  275. package/designer/splitter/index.esm.js +1120 -0
  276. package/designer/splitter/index.umd.cjs +1 -0
  277. package/designer/step/index.esm.js +226 -0
  278. package/designer/step/index.umd.cjs +1 -0
  279. package/designer/switch/index.esm.js +10 -10
  280. package/designer/switch/index.umd.cjs +1 -1
  281. package/designer/tabs/index.css +1 -1
  282. package/designer/tabs/index.esm.js +2447 -2698
  283. package/designer/tabs/index.umd.cjs +2 -2
  284. package/designer/text/index.esm.js +147 -0
  285. package/designer/text/index.umd.cjs +1 -0
  286. package/designer/time-picker/index.esm.js +101 -100
  287. package/designer/time-picker/index.umd.cjs +1 -1
  288. package/designer/transfer/index.esm.js +254 -0
  289. package/designer/transfer/index.umd.cjs +1 -0
  290. package/designer/tree-grid/index.esm.js +473 -810
  291. package/designer/tree-grid/index.umd.cjs +1 -1
  292. package/designer/tree-view/index.esm.js +313 -0
  293. package/designer/tree-view/index.umd.cjs +1 -0
  294. package/designer/uploader/index.esm.js +1190 -0
  295. package/designer/uploader/index.umd.cjs +2 -0
  296. package/designer/verify-detail/index.esm.js +258 -0
  297. package/designer/verify-detail/index.umd.cjs +1 -0
  298. package/designer/video/index.esm.js +136 -0
  299. package/designer/video/index.umd.cjs +1 -0
  300. package/designer/weather/index.css +1 -0
  301. package/designer/weather/index.esm.js +6244 -0
  302. package/designer/weather/index.umd.cjs +14 -0
  303. package/farris.all.esm.js +69941 -70514
  304. package/farris.all.umd.cjs +117 -117
  305. package/index.css +1 -1
  306. package/locales/filter-bar/ui/en.json +2 -1
  307. package/locales/filter-bar/ui/zh-CHS.json +2 -1
  308. package/locales/filter-bar/ui/zh-CHT.json +2 -1
  309. package/locales/query-solution/ui/en.json +1 -1
  310. package/locales/query-solution/ui/zh-CHS.json +1 -1
  311. package/locales/query-solution/ui/zh-CHT.json +1 -1
  312. package/locales/ui/en.json +3 -2
  313. package/locales/ui/zh-CHS.json +3 -2
  314. package/locales/ui/zh-CHT.json +3 -2
  315. package/package.json +1 -1
  316. package/types/accordion/designer.d.ts +44 -0
  317. package/types/accordion/src/accordion.props.d.ts +0 -1
  318. package/types/accordion/src/components/accordion-item.props.d.ts +0 -1
  319. package/types/avatar/designer.d.ts +29 -0
  320. package/types/avatar/src/avatar.props.d.ts +0 -1
  321. package/types/avatar/src/property-config/avatar.property-config.d.ts +1 -1
  322. package/types/{expression-editor/index.d.ts → binding-selector/designer.d.ts} +6 -6
  323. package/types/binding-selector/index.d.ts +0 -54
  324. package/types/binding-selector/src/binding-selector.props.d.ts +0 -1
  325. package/types/button-group/designer.d.ts +29 -0
  326. package/types/button-group/index.d.ts +15 -0
  327. package/types/button-group/src/button-group.props.d.ts +0 -1
  328. package/types/calendar/src/calendar.props.d.ts +1 -0
  329. package/types/calendar/src/components/month/month-view.component.d.ts +6 -6
  330. package/types/calendar/src/composition/use-calendar-events.d.ts +1 -1
  331. package/types/calendar/src/composition/use-locales.d.ts +1 -0
  332. package/types/calendar/src/property-config/calendar.property-config.d.ts +2 -0
  333. package/types/capsule/src/capsule-item.component.d.ts +6 -6
  334. package/types/checkbox/designer.d.ts +2 -0
  335. package/types/checkbox-group/designer.d.ts +2 -0
  336. package/types/code-editor/designer.d.ts +5 -0
  337. package/types/code-editor/index.d.ts +0 -1
  338. package/types/code-editor/src/code-textbox.component.d.ts +6 -6
  339. package/types/code-editor/src/code-textbox.props.d.ts +0 -2
  340. package/types/color-picker/designer.d.ts +29 -0
  341. package/types/color-picker/index.d.ts +0 -15
  342. package/types/color-picker/src/color-picker.props.d.ts +0 -1
  343. package/types/combo-list/designer.d.ts +29 -0
  344. package/types/combo-list/src/combo-list.props.d.ts +1 -0
  345. package/types/combo-list/src/designer/combo-list.design.props.d.ts +6 -0
  346. package/types/combo-tree/designer.d.ts +5 -0
  347. package/types/combo-tree/src/combo-tree.props.d.ts +0 -1
  348. package/types/combo-tree/src/components/tree-container.component.d.ts +7 -7
  349. package/types/comment/src/comment.props.d.ts +4 -0
  350. package/types/comment/src/designer/comment.design.props.d.ts +4 -0
  351. package/types/common/index.d.ts +1 -0
  352. package/types/common/utils/use-mobile.d.ts +1 -0
  353. package/types/component/designer.d.ts +35 -0
  354. package/types/component/index.d.ts +0 -2
  355. package/types/component/src/component.props.d.ts +0 -8
  356. package/types/component/src/composition/field-tree-builder.d.ts +1 -0
  357. package/types/components.d.ts +2 -6
  358. package/types/condition/designer.d.ts +56 -0
  359. package/types/condition/index.d.ts +0 -55
  360. package/types/content-container/index.d.ts +3 -2
  361. package/types/content-container/src/content-container.props.d.ts +1 -0
  362. package/types/data-grid/designer.d.ts +2 -0
  363. package/types/data-grid/index.d.ts +5 -2
  364. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  365. package/types/data-grid/src/designer/grid-field-editor.props.d.ts +1 -0
  366. package/types/data-view/composition/types.d.ts +7 -1
  367. package/types/data-view/composition/use-mobile.d.ts +3 -0
  368. package/types/data-view/designer/property-config/use-command-option.d.ts +11 -0
  369. package/types/data-view/index.d.ts +1 -0
  370. package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +3 -3
  371. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -0
  372. package/types/designer-outline/src/designer-outline.component.d.ts +3 -3
  373. package/types/designer-outline/src/types.d.ts +5 -1
  374. package/types/drawer/designer.d.ts +12 -0
  375. package/types/drawer/src/designer/drawer-toolbar.design.props.d.ts +12 -0
  376. package/types/drawer/src/designer/drawer.design.component.d.ts +8 -0
  377. package/types/drawer/src/designer/drawer.design.props.d.ts +4 -0
  378. package/types/drawer/src/schema/schema-mapper.d.ts +1 -0
  379. package/types/drawer/src/schema/schema-resolver.d.ts +1 -0
  380. package/types/dropdown/designer.d.ts +6 -0
  381. package/types/dropdown/index.d.ts +27 -6
  382. package/types/dropdown/src/dropdown.item.component.d.ts +2 -2
  383. package/types/dropdown/src/dropdown.props.d.ts +0 -1
  384. package/types/dynamic-form/designer.d.ts +3 -1
  385. package/types/dynamic-form/index.d.ts +4 -3
  386. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +6 -6
  387. package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +11 -0
  388. package/types/dynamic-resolver/index.d.ts +3 -0
  389. package/types/dynamic-resolver/src/props-resolver.d.ts +2 -0
  390. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver-design.d.ts +1 -1
  391. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver.d.ts +1 -1
  392. package/types/dynamic-resolver/src/resolver/property-config/use-property-config-resolver.d.ts +2 -2
  393. package/types/dynamic-resolver/src/resolver/schema/schema-resolver-design.d.ts +1 -1
  394. package/types/dynamic-resolver/src/resolver/schema/schema-resolver.d.ts +1 -1
  395. package/types/dynamic-view/src/components/maps.d.ts +883 -1
  396. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  397. package/types/dynamic-view/src/types.d.ts +4 -0
  398. package/types/expression-editor/designer.d.ts +9 -0
  399. package/types/field-selector/index.d.ts +2 -1
  400. package/types/fieldset/index.d.ts +3 -2
  401. package/types/fieldset/src/fieldset.props.d.ts +1 -0
  402. package/types/filter-bar/src/composition/types.d.ts +1 -1
  403. package/types/filter-bar/src/composition/use-size.d.ts +2 -2
  404. package/types/filter-bar/src/locale/locale.d.ts +1 -0
  405. package/types/filter-condition-editor/designer.d.ts +10 -0
  406. package/types/filter-condition-editor/index.d.ts +0 -9
  407. package/types/filter-condition-editor/src/components/filter-condition-grid.component.d.ts +12 -12
  408. package/types/filter-condition-editor/src/components/sort-editor-grid.component.d.ts +12 -12
  409. package/types/filter-condition-editor/src/filter-condition-editor.props.d.ts +0 -1
  410. package/types/html-template/designer.d.ts +31 -0
  411. package/types/html-template/src/designer/html-template.design.props.d.ts +9 -0
  412. package/types/html-template/src/html-template.props.d.ts +2 -0
  413. package/types/image-cropper/designer.d.ts +4 -0
  414. package/types/image-cropper/src/image-cropper.props.d.ts +0 -1
  415. package/types/index.d.ts +0 -1
  416. package/types/input-group/designer.d.ts +2 -0
  417. package/types/json-editor/designer.d.ts +5 -0
  418. package/types/json-editor/src/components/editable-combo/editable-combo.component.d.ts +3 -3
  419. package/types/json-editor/src/components/editable-combo/popup-container.component.d.ts +3 -3
  420. package/types/json-editor/src/json-editor.props.d.ts +0 -1
  421. package/types/language-textbox/index.d.ts +6 -6
  422. package/types/language-textbox/src/language-textbox.component.d.ts +2 -2
  423. package/types/language-textbox/src/language-textbox.props.d.ts +1 -0
  424. package/types/layout/index.d.ts +1 -0
  425. package/types/layout/src/components/layout-pane.props.d.ts +0 -1
  426. package/types/layout/src/layout.props.d.ts +0 -1
  427. package/types/list-nav/index.d.ts +24 -5
  428. package/types/list-nav/src/list-nav.props.d.ts +0 -1
  429. package/types/list-view/index.d.ts +1 -0
  430. package/types/list-view/src/composition/use-draggable.d.ts +1 -1
  431. package/types/list-view/src/designer/list-view.design.props.d.ts +1 -0
  432. package/types/list-view/src/list-view-table.props.d.ts +1 -0
  433. package/types/loading/index.d.ts +6 -6
  434. package/types/loading/src/loading.component.d.ts +3 -3
  435. package/types/lookup/index.d.ts +1 -1
  436. package/types/lookup/src/components/popup-container.component.d.ts +6 -6
  437. package/types/lookup/src/lookup.props.d.ts +1 -0
  438. package/types/lookup/src/property-config/external-lookup.property-config.d.ts +1 -0
  439. package/types/lookup/src/property-config/lookup.property-config.d.ts +1 -0
  440. package/types/menu-lookup/designer.d.ts +5 -0
  441. package/types/menu-lookup/src/menu-lookup.props.d.ts +0 -1
  442. package/types/message-box/index.d.ts +6 -6
  443. package/types/message-box/src/message-box.component.d.ts +3 -3
  444. package/types/modal/designer.d.ts +2 -0
  445. package/types/modal/index.d.ts +30 -24
  446. package/types/modal/src/modal.component.d.ts +15 -12
  447. package/types/modal/src/modal.props.d.ts +4 -0
  448. package/types/nav/designer.d.ts +6 -0
  449. package/types/nav/index.d.ts +24 -20
  450. package/types/nav/src/nav.props.d.ts +0 -1
  451. package/types/notify/index.d.ts +3 -3
  452. package/types/notify/src/notify.component.d.ts +2 -2
  453. package/types/number-range/designer.d.ts +29 -0
  454. package/types/number-range/src/number-range.props.d.ts +0 -1
  455. package/types/number-spinner/src/composition/types.d.ts +1 -0
  456. package/types/order/designer.d.ts +6 -0
  457. package/types/order/index.d.ts +36 -5
  458. package/types/order/src/designer/order.design.component.d.ts +1 -1
  459. package/types/order/src/order.props.d.ts +0 -1
  460. package/types/page-footer/designer.d.ts +6 -0
  461. package/types/page-footer/index.d.ts +0 -2
  462. package/types/page-footer/src/page-footer.props.d.ts +0 -1
  463. package/types/page-header/index.d.ts +3 -2
  464. package/types/page-header/src/designer/page-header.design.props.d.ts +20 -0
  465. package/types/page-header/src/page-header.props.d.ts +2 -0
  466. package/types/pagination/designer.d.ts +29 -0
  467. package/types/pagination/index.d.ts +15 -0
  468. package/types/pagination/src/pagination.props.d.ts +0 -1
  469. package/types/popover/index.d.ts +3 -3
  470. package/types/popover/src/composition/use-resize.d.ts +1 -1
  471. package/types/popover/src/popover.component.d.ts +2 -2
  472. package/types/progress/designer.d.ts +29 -0
  473. package/types/progress/src/progress.props.d.ts +0 -1
  474. package/types/property-panel/src/property-panel.component.d.ts +3 -3
  475. package/types/query-solution/index.d.ts +4 -4
  476. package/types/query-solution/src/composition/types.d.ts +8 -2
  477. package/types/query-solution/src/composition/use-header.d.ts +2 -2
  478. package/types/query-solution/src/composition/use-solution-utils.d.ts +1 -1
  479. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
  480. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -0
  481. package/types/query-solution/src/designer/solution-preset-config/solution-preset.props.d.ts +1 -0
  482. package/types/query-solution/src/query-solution.props.d.ts +1 -0
  483. package/types/radio-group/designer.d.ts +4 -1
  484. package/types/radio-group/src/designer/item-collection-editor.props.d.ts +1 -0
  485. package/types/response-layout/index.d.ts +3 -2
  486. package/types/response-layout/src/component/response-layout-item.props.d.ts +1 -0
  487. package/types/response-layout/src/property-config/response-layout-splitter/response-layout-splitter.props.d.ts +1 -0
  488. package/types/response-layout/src/response-layout.props.d.ts +1 -0
  489. package/types/response-toolbar/designer.d.ts +2 -1
  490. package/types/response-toolbar/src/designer/response-toolbar.design.props.d.ts +1 -0
  491. package/types/search-box/designer.d.ts +52 -0
  492. package/types/search-box/index.d.ts +1 -17
  493. package/types/search-box/src/components/search-box-container.component.d.ts +3 -3
  494. package/types/search-box/src/search-box.props.d.ts +0 -1
  495. package/types/section/designer.d.ts +1 -0
  496. package/types/smoke-detector/designer.d.ts +6 -0
  497. package/types/smoke-detector/index.d.ts +0 -2
  498. package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -1
  499. package/types/sort-condition-editor/designer.d.ts +9 -0
  500. package/types/sort-condition-editor/index.d.ts +2 -7
  501. package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +0 -1
  502. package/types/splitter/designer.d.ts +32 -0
  503. package/types/splitter/index.d.ts +1 -0
  504. package/types/splitter/src/components/splitter-pane.props.d.ts +0 -1
  505. package/types/splitter/src/splitter.props.d.ts +0 -1
  506. package/types/step/designer.d.ts +6 -0
  507. package/types/tabs/designer.d.ts +1 -0
  508. package/types/tabs/index.d.ts +0 -1
  509. package/types/tabs/src/composition/types.d.ts +1 -0
  510. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +1 -0
  511. package/types/tags/index.d.ts +3 -3
  512. package/types/tags/src/tags.component.d.ts +1 -1
  513. package/types/text/designer.d.ts +6 -0
  514. package/types/text/index.d.ts +24 -20
  515. package/types/text/src/text.props.d.ts +0 -1
  516. package/types/time-picker/src/components/time.component.d.ts +3 -3
  517. package/types/transfer/designer.d.ts +35 -0
  518. package/types/transfer/src/transfer.props.d.ts +0 -1
  519. package/types/tree-view/designer.d.ts +29 -0
  520. package/types/tree-view/src/tree-view.props.d.ts +0 -1
  521. package/types/uploader/designer.d.ts +141 -0
  522. package/types/uploader/index.d.ts +6 -6
  523. package/types/uploader/src/components/upload-progress.component.d.ts +3 -3
  524. package/types/uploader/src/uploader.component.d.ts +3 -3
  525. package/types/uploader/src/uploader.props.d.ts +0 -1
  526. package/types/verify-detail/designer.d.ts +6 -0
  527. package/types/verify-detail/index.d.ts +58 -5
  528. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
  529. package/types/verify-detail/src/verify-detail.props.d.ts +0 -1
  530. package/types/video/designer.d.ts +6 -0
  531. package/types/video/index.d.ts +24 -20
  532. package/types/video/src/video.props.d.ts +0 -1
  533. package/components/sort-condition-editor/index.css +0 -1
  534. package/package.zip +0 -0
  535. package/types/designer-toolbox/index.d.ts +0 -3
  536. package/types/designer-toolbox/src/toolbox.component.d.ts +0 -14
  537. package/types/designer-toolbox/src/toolbox.props.d.ts +0 -29
  538. package/types/designer-toolbox/src/types.d.ts +0 -21
  539. package/types/designer.d.ts +0 -13
  540. package/types/flow-canvas/index.d.ts +0 -3
  541. package/types/flow-canvas/src/components/flow-node-item.component.d.ts +0 -8
  542. package/types/flow-canvas/src/components/flow-node-item.props.d.ts +0 -3
  543. package/types/flow-canvas/src/composition/types.d.ts +0 -42
  544. package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +0 -2
  545. package/types/flow-canvas/src/composition/use-connections.d.ts +0 -2
  546. package/types/flow-canvas/src/composition/use-curve.d.ts +0 -4
  547. package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +0 -2
  548. package/types/flow-canvas/src/composition/use-drawing.d.ts +0 -4
  549. package/types/flow-canvas/src/flow-canvas.component.d.ts +0 -8
  550. package/types/flow-canvas/src/flow-canvas.props.d.ts +0 -3
  551. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +0 -2
  552. package/types/layout/src/designer/layout-pane.design.component.d.ts +0 -8
  553. package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -2
  554. package/types/layout/src/designer/layout.design.component.d.ts +0 -8
  555. package/types/layout/src/schema/schema-mapper.d.ts +0 -2
  556. package/types/layout/src/schema/schema-resolver.d.ts +0 -2
  557. package/types/list-nav/src/designer/use-designer-rules.d.ts +0 -2
  558. package/types/list-nav/src/property-config/list-nav.property-config.d.ts +0 -8
  559. package/types/list-nav/src/schema/schema-mapper.d.ts +0 -2
  560. package/types/list-nav/src/schema/schema-resolver.d.ts +0 -2
  561. /package/{components → designer}/condition/index.css +0 -0
  562. /package/{components → designer}/uploader/index.css +0 -0
  563. /package/types/{list-nav/src/designer/list-nav.design.component.d.ts → dynamic-form/src/component/form-control/form-control.component.d.ts} +0 -0
@@ -1,14 +1,14 @@
1
- var We = Object.defineProperty;
2
- var De = (e, t, n) => t in e ? We(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var G = (e, t, n) => De(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as ie, ref as o, computed as T, createVNode as g, Teleport as ce, createApp as de, onUnmounted as se, Fragment as ue, watch as U, nextTick as Z, onBeforeMount as Ve, onMounted as te, Transition as Ne, shallowRef as Ae, render as oe, h as Xe, cloneVNode as Ue, mergeProps as fe, inject as Ke, withDirectives as Ye, vShow as Ge, onUpdated as qe, onBeforeUnmount as $e, createTextVNode as _e } from "vue";
5
- import { LocaleService as ee } from "../locale/index.esm.js";
6
- import { getMaxZIndex as Je, useGuid as Ze, withInstall as Qe } from "../common/index.esm.js";
1
+ var De = Object.defineProperty;
2
+ var Ne = (e, t, n) => t in e ? De(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var $ = (e, t, n) => Ne(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { defineComponent as ie, ref as o, computed as T, createVNode as g, Teleport as ve, createApp as he, onUnmounted as se, Fragment as ue, watch as U, nextTick as Z, onBeforeMount as Ae, onMounted as ne, watchEffect as Xe, Transition as Ue, shallowRef as Ke, render as oe, h as Ye, cloneVNode as Ge, mergeProps as me, inject as $e, withDirectives as qe, vShow as _e, onUpdated as Je, onBeforeUnmount as Ze, createTextVNode as Qe } from "vue";
5
+ import { LocaleService as te } from "../locale/index.esm.js";
6
+ import { isMobilePhone as et, getMaxZIndex as fe, useGuid as tt, withInstall as nt } from "../common/index.esm.js";
7
7
  import "../property-panel/index.esm.js";
8
- import et from "../tags/index.esm.js";
9
- import { debounce as tt } from "lodash-es";
10
- import nt from "../popover/index.esm.js";
11
- const lt = {
8
+ import lt from "../tags/index.esm.js";
9
+ import { debounce as at } from "lodash-es";
10
+ import ot from "../popover/index.esm.js";
11
+ const ut = {
12
12
  /**
13
13
  * 组件标识
14
14
  */
@@ -128,13 +128,13 @@ const lt = {
128
128
  */
129
129
  limitContentBySpace: { type: Boolean, default: !1 },
130
130
  beforeClosePopup: { type: Function, default: null }
131
- }, at = {
131
+ }, it = {
132
132
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
133
133
  host: { type: Object },
134
134
  backgroundColor: { type: String, default: "" }
135
- }, ot = /* @__PURE__ */ ie({
135
+ }, st = /* @__PURE__ */ ie({
136
136
  name: "FOverlay",
137
- props: at,
137
+ props: it,
138
138
  emits: ["click"],
139
139
  setup(e, t) {
140
140
  const n = o(e.popupContentPosition), l = o(e.host), i = T(() => ({
@@ -159,12 +159,12 @@ const lt = {
159
159
  }
160
160
  return n.value;
161
161
  });
162
- const d = T(() => ({
162
+ const c = T(() => ({
163
163
  // position: 'relative',
164
164
  // left: `${position.value.left}px`,
165
165
  // top: `${position.value.top}px`
166
166
  }));
167
- return () => g(ce, {
167
+ return () => g(ve, {
168
168
  to: "body"
169
169
  }, {
170
170
  default: () => {
@@ -174,19 +174,19 @@ const lt = {
174
174
  onClick: (m) => s(m),
175
175
  style: i.value
176
176
  }, [g("div", {
177
- style: d.value
177
+ style: c.value
178
178
  }, [(f = (u = t.slots).default) == null ? void 0 : f.call(u)])])];
179
179
  }
180
180
  });
181
181
  }
182
182
  });
183
- function ut(e) {
183
+ function rt(e) {
184
184
  if (e.content && e.content.render)
185
185
  return e.content.render;
186
186
  if (e.render && typeof e.render == "function")
187
187
  return e.render;
188
188
  }
189
- function it(e) {
189
+ function ct(e) {
190
190
  const t = document.createElement("div");
191
191
  t.style.display = "contents";
192
192
  let n;
@@ -194,13 +194,13 @@ function it(e) {
194
194
  }), i = () => {
195
195
  l(), n && n.unmount();
196
196
  };
197
- return n = de({
197
+ return n = he({
198
198
  setup() {
199
199
  se(() => {
200
200
  document.body.removeChild(t);
201
201
  });
202
- const s = ut(e);
203
- return () => g(ot, {
202
+ const s = rt(e);
203
+ return () => g(st, {
204
204
  "popup-content-position": e.popupPosition,
205
205
  host: e.host,
206
206
  onClick: i,
@@ -211,12 +211,12 @@ function it(e) {
211
211
  }
212
212
  }), document.body.appendChild(t), n.mount(t), n;
213
213
  }
214
- class st {
214
+ class dt {
215
215
  static show(t) {
216
- return it(t);
216
+ return ct(t);
217
217
  }
218
218
  }
219
- const rt = {
219
+ const ft = {
220
220
  /**
221
221
  * 允许点击遮罩关闭对话框
222
222
  */
@@ -295,7 +295,8 @@ const rt = {
295
295
  dialogType: { type: String, default: "" },
296
296
  src: { type: String, default: "" },
297
297
  footerHeight: { type: Number, default: 60 },
298
- host: { type: Object, default: "body" }
298
+ host: { type: Object, default: "body" },
299
+ isMessager: { type: Boolean, default: !1 }
299
300
  };
300
301
  class F {
301
302
  constructor(t, n) {
@@ -361,12 +362,12 @@ class F {
361
362
  return this.x = t.x, this.y = t.y, this;
362
363
  }
363
364
  }
364
- class $ {
365
+ class _ {
365
366
  constructor(t, n) {
366
367
  this.width = t, this.height = n;
367
368
  }
368
369
  static getCurrent(t) {
369
- const n = new $(0, 0);
370
+ const n = new _(0, 0);
370
371
  if (window) {
371
372
  const l = window.getComputedStyle(t);
372
373
  return l && (n.width = parseInt(l.getPropertyValue("width"), 10), n.height = parseInt(l.getPropertyValue("height"), 10)), n;
@@ -374,26 +375,26 @@ class $ {
374
375
  return null;
375
376
  }
376
377
  static copy(t) {
377
- return new $(0, 0).set(t);
378
+ return new _(0, 0).set(t);
378
379
  }
379
380
  set(t) {
380
381
  return this.width = t.width, this.height = t.height, this;
381
382
  }
382
383
  }
383
- function ct(e, t) {
384
- const n = o(), l = o(), i = o(), s = o(), d = o(), u = o(), f = o(), m = o(), b = o(), p = o(), k = o(), C = o(e.resizeable), y = o(), B = o(e.draggable), O = o(!1);
385
- function S() {
384
+ function vt(e, t) {
385
+ const n = o(), l = o(), i = o(), s = o(), c = o(), u = o(), f = o(), m = o(), b = o(), p = o(), k = o(), w = o(e.resizeable), y = o(), B = o(e.draggable), O = o(!1);
386
+ function z() {
386
387
  const r = l.value || document.body, v = window.getComputedStyle(r);
387
388
  if (!v || !n.value)
388
389
  return;
389
- const z = F.getTransformInfo(n.value), E = {};
390
+ const S = F.getTransformInfo(n.value), E = {};
390
391
  f.value && (E.deltaL = n.value.offsetLeft - f.value.x, E.deltaT = n.value.offsetTop - f.value.y);
391
392
  const W = v.getPropertyValue("position");
392
- E.width = r.clientWidth, E.height = r.clientHeight, E.pr = parseInt(v.getPropertyValue("padding-right"), 10), E.pb = parseInt(v.getPropertyValue("padding-bottom"), 10), E.position = v.getPropertyValue("position"), W === "static" && (r.style.position = "relative"), E.translateX = z.x, E.translateY = z.y, p.value = E;
393
+ E.width = r.clientWidth, E.height = r.clientHeight, E.pr = parseInt(v.getPropertyValue("padding-right"), 10), E.pb = parseInt(v.getPropertyValue("padding-bottom"), 10), E.position = v.getPropertyValue("position"), W === "static" && (r.style.position = "relative"), E.translateX = S.x, E.translateY = S.y, p.value = E;
393
394
  }
394
395
  function I(r) {
395
396
  if (n.value) {
396
- s.value = $.getCurrent(n.value), d.value = F.getCurrent(n.value), u.value = s.value ? $.copy(s.value) : null, f.value = d.value ? F.copy(d.value) : null, S();
397
+ s.value = _.getCurrent(n.value), c.value = F.getCurrent(n.value), u.value = s.value ? _.copy(s.value) : null, f.value = c.value ? F.copy(c.value) : null, z();
397
398
  const v = r.target.getAttribute("type") || "";
398
399
  m.value = {
399
400
  n: !!v.match(/n/),
@@ -404,44 +405,44 @@ function ct(e, t) {
404
405
  }
405
406
  }
406
407
  function H() {
407
- var r, v, z, E;
408
+ var r, v, S, E;
408
409
  if (n.value) {
409
410
  const W = n.value;
410
- m.value && ((m.value.n || m.value.s) && ((r = u.value) != null && r.height) && (W.style.height = u.value.height + "px"), (m.value.w || m.value.e) && ((v = u.value) != null && v.width) && (W.style.width = u.value.width + "px"), f.value && ((z = f.value) != null && z.x && (W.style.left = f.value.x + "px"), (E = f.value) != null && E.y && (W.style.top = f.value.y + "px")));
411
+ m.value && ((m.value.n || m.value.s) && ((r = u.value) != null && r.height) && (W.style.height = u.value.height + "px"), (m.value.w || m.value.e) && ((v = u.value) != null && v.width) && (W.style.width = u.value.width + "px"), f.value && ((S = f.value) != null && S.x && (W.style.left = f.value.x + "px"), (E = f.value) != null && E.y && (W.style.top = f.value.y + "px")));
411
412
  }
412
413
  }
413
414
  function A() {
414
415
  const r = e.minHeight ? e.minHeight : 1, v = e.minWidth ? e.minWidth : 1;
415
- u.value && f.value && m.value && s.value && (u.value.height < r && (u.value.height = r, m.value.n && d.value && (f.value.y = d.value.y + (s.value.height - r))), u.value.width < v && (u.value.width = v, m.value.w && d.value && (f.value.x = d.value.x + (s.value.width - v))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, d.value && m.value.n && (f.value.y = d.value.y + (s.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, m.value.w && d.value && (f.value.x = d.value.x + (s.value.width - e.maxWidth))));
416
+ u.value && f.value && m.value && s.value && (u.value.height < r && (u.value.height = r, m.value.n && c.value && (f.value.y = c.value.y + (s.value.height - r))), u.value.width < v && (u.value.width = v, m.value.w && c.value && (f.value.x = c.value.x + (s.value.width - v))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, c.value && m.value.n && (f.value.y = c.value.y + (s.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, m.value.w && c.value && (f.value.x = c.value.x + (s.value.width - e.maxWidth))));
416
417
  }
417
418
  function M() {
418
419
  if (l.value) {
419
420
  const r = p.value;
420
421
  if (f.value && u.value && m.value && s.value) {
421
- const v = r.width - r.pr - r.deltaL - r.translateX - f.value.x, z = r.height - r.pb - r.deltaT - r.translateY - f.value.y;
422
- m.value.n && f.value.y + r.translateY < 0 && d.value && (f.value.y = -r.translateY, u.value.height = s.value.height + d.value.y + r.translateY), m.value.w && f.value.x + r.translateX < 0 && d.value && (f.value.x = -r.translateX, u.value.width = s.value.width + d.value.x + r.translateX), u.value.width > v && (u.value.width = v), u.value.height > z && (u.value.height = z);
422
+ const v = r.width - r.pr - r.deltaL - r.translateX - f.value.x, S = r.height - r.pb - r.deltaT - r.translateY - f.value.y;
423
+ m.value.n && f.value.y + r.translateY < 0 && c.value && (f.value.y = -r.translateY, u.value.height = s.value.height + c.value.y + r.translateY), m.value.w && f.value.x + r.translateX < 0 && c.value && (f.value.x = -r.translateX, u.value.width = s.value.width + c.value.x + r.translateX), u.value.width > v && (u.value.width = v), u.value.height > S && (u.value.height = S);
423
424
  }
424
425
  }
425
426
  }
426
427
  function R(r) {
427
- if (!i.value || !s.value || !d.value || !m.value)
428
+ if (!i.value || !s.value || !c.value || !m.value)
428
429
  return;
429
430
  r.subtract(i.value);
430
- const v = r.x, z = r.y;
431
- m.value.n ? (f.value.y = d.value.y + z, u.value.height = s.value.height - z) : m.value.s && (u.value.height = s.value.height + z), m.value.e ? u.value.width = s.value.width + v : m.value.w && (u.value.width = s.value.width - v, f.value.x = d.value.x + v), M(), A(), H();
431
+ const v = r.x, S = r.y;
432
+ m.value.n ? (f.value.y = c.value.y + S, u.value.height = s.value.height - S) : m.value.s && (u.value.height = s.value.height + S), m.value.e ? u.value.width = s.value.width + v : m.value.w && (u.value.width = s.value.width - v, f.value.x = c.value.x + v), M(), A(), H();
432
433
  }
433
- function c(r) {
434
+ function d(r) {
434
435
  if (!b.value)
435
436
  return;
436
437
  const v = F.fromEvent(r);
437
438
  v && R(v);
438
439
  }
439
- function w() {
440
+ function C() {
440
441
  if (n.value) {
441
442
  const {
442
443
  width: r,
443
444
  height: v,
444
- x: z,
445
+ x: S,
445
446
  y: E
446
447
  } = n.value.getBoundingClientRect(), W = F.getTransformInfo(n.value);
447
448
  return {
@@ -450,7 +451,7 @@ function ct(e, t) {
450
451
  height: v
451
452
  },
452
453
  position: {
453
- x: z - W.x,
454
+ x: S - W.x,
454
455
  y: E - W.y
455
456
  }
456
457
  };
@@ -459,19 +460,19 @@ function ct(e, t) {
459
460
  }
460
461
  function L(r) {
461
462
  if (n.value) {
462
- const v = w();
463
+ const v = C();
463
464
  k.value = v;
464
465
  }
465
- i.value = void 0, s.value = null, d.value = null, u.value = null, f.value = null, m.value = null, b.value = null, document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", L);
466
+ i.value = void 0, s.value = null, c.value = null, u.value = null, f.value = null, m.value = null, b.value = null, document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", L);
466
467
  }
467
- function D() {
468
- document.addEventListener("mousemove", c), document.addEventListener("mouseup", L);
468
+ function V() {
469
+ document.addEventListener("mousemove", d), document.addEventListener("mouseup", L);
469
470
  }
470
471
  function h(r) {
471
- r instanceof MouseEvent && r.button === 2 || B.value && (document.body.click(), r.stopPropagation(), r.preventDefault(), i.value = F.fromEvent(r), b.value = r.target, I(r), D());
472
+ r instanceof MouseEvent && r.button === 2 || B.value && (document.body.click(), r.stopPropagation(), r.preventDefault(), i.value = F.fromEvent(r), b.value = r.target, I(r), V());
472
473
  }
473
474
  function j(r) {
474
- return n.value = r, C.value && g(ue, null, [g("div", {
475
+ return n.value = r, w.value && g(ue, null, [g("div", {
475
476
  class: "fv-resizable-handle fv-resizable-n",
476
477
  type: "n",
477
478
  onMousedown: (v) => h(v)
@@ -505,10 +506,10 @@ function ct(e, t) {
505
506
  onMousedown: (v) => h(v)
506
507
  }, null)]);
507
508
  }
508
- function _(r = !0) {
509
+ function J(r = !0) {
509
510
  document.body.click();
510
- const v = l.value || document.body, z = $.getCurrent(v), E = n.value;
511
- r && E && (y.value = w(), y.value.transform = E.style.transform), z && E && (u.value = z, u.value.height -= 14, u.value.width -= 14, E.style.height = u.value.height + "px", E.style.width = u.value.width + "px", E.style.left = "7px", E.style.top = "7px", E.style.transform = "", k.value = {
511
+ const v = l.value || document.body, S = _.getCurrent(v), E = n.value;
512
+ r && E && (y.value = C(), y.value.transform = E.style.transform), S && E && (u.value = S, u.value.height -= 14, u.value.width -= 14, E.style.height = u.value.height + "px", E.style.width = u.value.width + "px", E.style.left = "7px", E.style.top = "7px", E.style.transform = "", k.value = {
512
513
  size: u.value,
513
514
  position: {
514
515
  x: 0,
@@ -519,127 +520,127 @@ function ct(e, t) {
519
520
  function K() {
520
521
  var r, v;
521
522
  if (document.body.click(), y.value) {
522
- const z = {
523
+ const S = {
523
524
  width: y.value.size.width || 0,
524
525
  height: y.value.size.height || 0
525
526
  }, E = {
526
- x: (window.innerWidth - z.width) / 2,
527
- y: (window.innerHeight - z.height) / 2
527
+ x: (window.innerWidth - S.width) / 2,
528
+ y: (window.innerHeight - S.height) / 2
528
529
  };
529
- (r = u.value) == null || r.set(z), (v = f.value) == null || v.set(E);
530
+ (r = u.value) == null || r.set(S), (v = f.value) == null || v.set(E);
530
531
  const W = n.value;
531
- W.style.height = z.height + "px", W.style.width = z.width + "px", W.style.left = `${E.x}px`, W.style.top = `${E.y}px`, W.style.transform = "", k.value = {
532
- size: z,
532
+ W.style.height = S.height + "px", W.style.width = S.width + "px", W.style.left = `${E.x}px`, W.style.top = `${E.y}px`, W.style.transform = "", k.value = {
533
+ size: S,
533
534
  position: E
534
535
  }, B.value = e.draggable, O.value = !1;
535
536
  }
536
537
  }
537
- function Y() {
538
+ function G() {
538
539
  if (n.value) {
539
- const r = $.getCurrent(n.value);
540
+ const r = _.getCurrent(n.value);
540
541
  if (r) {
541
542
  const {
542
543
  width: v,
543
- height: z
544
+ height: S
544
545
  } = r;
545
- n.value.style.left = `${(window.innerWidth - v) / 2}px`, n.value.style.top = `${(window.innerHeight - z) / 2}px`, n.value.style.transform = "";
546
+ n.value.style.left = `${(window.innerWidth - v) / 2}px`, n.value.style.top = `${(window.innerHeight - S) / 2}px`, n.value.style.transform = "";
546
547
  }
547
548
  }
548
549
  }
549
550
  function P() {
550
551
  const r = () => {
551
- O.value ? _(!1) : Y(), document.body.click();
552
+ O.value ? J(!1) : G(), document.body.click();
552
553
  };
553
554
  return window.addEventListener("resize", r), () => {
554
555
  window.removeEventListener("resize", r);
555
556
  };
556
557
  }
557
- const V = P();
558
+ const D = P();
558
559
  return {
559
560
  renderResizeBar: j,
560
561
  boundingElement: l,
561
562
  resizedEventParam: k,
562
- maximize: _,
563
+ maximize: J,
563
564
  restore: K,
564
565
  allowDrag: B,
565
566
  isMaximized: O,
566
- unWindowResizeHandle: V,
567
- moveToCenter: Y
567
+ unWindowResizeHandle: D,
568
+ moveToCenter: G
568
569
  };
569
570
  }
570
- function dt(e, t, n) {
571
- const l = o(), i = o(e.draggable), s = o(e.lockAxis), d = o(), u = o(), f = o(!1), m = o(new F(0, 0)), b = o(new F(0, 0)), p = o(new F(0, 0)), k = o(new F(0, 0));
572
- U(() => n.value, (c) => {
573
- d.value.style.cursor = c ? "move" : "default";
571
+ function ht(e, t, n) {
572
+ const l = o(), i = o(e.draggable), s = o(e.lockAxis), c = o(), u = o(), f = o(!1), m = o(new F(0, 0)), b = o(new F(0, 0)), p = o(new F(0, 0)), k = o(new F(0, 0));
573
+ U(() => n.value, (d) => {
574
+ c.value.style.cursor = d ? "move" : "default";
574
575
  });
575
- function C(c, w) {
576
- if (w.tagName === "BUTTON")
576
+ function w(d, C) {
577
+ if (C.tagName === "BUTTON")
577
578
  return !1;
578
- if (w === c)
579
+ if (C === d)
579
580
  return !0;
580
- for (const L in w.children)
581
- if (Object.prototype.hasOwnProperty.call(w.children, L) && C(c, w.children[L]))
581
+ for (const L in C.children)
582
+ if (Object.prototype.hasOwnProperty.call(C.children, L) && w(d, C.children[L]))
582
583
  return !0;
583
584
  return !1;
584
585
  }
585
586
  function y() {
586
- var D, h;
587
- let c = p.value.x + b.value.x, w = p.value.y + b.value.y;
588
- s.value === "x" ? (c = ((D = m.value) == null ? void 0 : D.x) || 0, p.value.x = 0) : s.value === "y" && (w = ((h = m.value) == null ? void 0 : h.y) || 0, p.value.y = 0);
589
- const L = `translate3d(${Math.round(c)}px, ${Math.round(w)}px, 0px)`;
590
- l.value && (l.value.style.transform = L), k.value.x = c, k.value.y = w;
587
+ var V, h;
588
+ let d = p.value.x + b.value.x, C = p.value.y + b.value.y;
589
+ s.value === "x" ? (d = ((V = m.value) == null ? void 0 : V.x) || 0, p.value.x = 0) : s.value === "y" && (C = ((h = m.value) == null ? void 0 : h.y) || 0, p.value.y = 0);
590
+ const L = `translate3d(${Math.round(d)}px, ${Math.round(C)}px, 0px)`;
591
+ l.value && (l.value.style.transform = L), k.value.x = d, k.value.y = C;
591
592
  }
592
593
  function B() {
593
594
  if (!u.value || !l.value)
594
595
  return null;
595
- const c = u.value.getBoundingClientRect(), w = l.value.getBoundingClientRect(), L = {
596
- top: c.top < w.top,
597
- right: c.right > w.right,
598
- bottom: c.bottom > w.bottom,
599
- left: c.left < w.left
596
+ const d = u.value.getBoundingClientRect(), C = l.value.getBoundingClientRect(), L = {
597
+ top: d.top < C.top,
598
+ right: d.right > C.right,
599
+ bottom: d.bottom > C.bottom,
600
+ left: d.left < C.left
600
601
  };
601
- return L.top || (p.value.y -= w.top - c.top), L.bottom || (p.value.y -= w.bottom - c.bottom), L.right || (p.value.x -= w.right - c.right), L.left || (p.value.x -= w.left - c.left), y(), L;
602
+ return L.top || (p.value.y -= C.top - d.top), L.bottom || (p.value.y -= C.bottom - d.bottom), L.right || (p.value.x -= C.right - d.right), L.left || (p.value.x -= C.left - d.left), y(), L;
602
603
  }
603
- function O(c) {
604
- c && (m.value && c.subtract(m.value), p.value.set(c), y(), B());
604
+ function O(d) {
605
+ d && (m.value && d.subtract(m.value), p.value.set(d), y(), B());
605
606
  }
606
- function S(c) {
607
- f.value && i.value && (c.stopPropagation(), c.preventDefault(), O(F.fromEvent(c, d.value)));
607
+ function z(d) {
608
+ f.value && i.value && (d.stopPropagation(), d.preventDefault(), O(F.fromEvent(d, c.value)));
608
609
  }
609
610
  function I() {
610
- var c;
611
- f.value && (f.value = !1, b.value.add(p.value), p.value.reset(), (c = l.value) == null || c.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", I));
611
+ var d;
612
+ f.value && (f.value = !1, b.value.add(p.value), p.value.reset(), (d = l.value) == null || d.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", z), document.removeEventListener("mouseup", I));
612
613
  }
613
614
  function H() {
614
- !f.value && d.value && (f.value = !0, d.value.classList.add("ng-dragging"), document.addEventListener("mousemove", S), document.addEventListener("mouseup", I));
615
+ !f.value && c.value && (f.value = !0, c.value.classList.add("ng-dragging"), document.addEventListener("mousemove", z), document.addEventListener("mouseup", I));
615
616
  }
616
617
  function A() {
617
618
  if (l.value) {
618
- const c = F.getTransformInfo(l.value);
619
- b.value.set(c);
619
+ const d = F.getTransformInfo(l.value);
620
+ b.value.set(d);
620
621
  return;
621
622
  }
622
623
  b.value.reset();
623
624
  }
624
- function M(c) {
625
- if (!n.value || c instanceof MouseEvent && c.button === 2)
625
+ function M(d) {
626
+ if (!n.value || d instanceof MouseEvent && d.button === 2)
626
627
  return;
627
- const w = c.target || c.srcElement;
628
- d.value !== void 0 && w && !C(w, d.value) || i.value !== !1 && (document.body.click(), c.stopPropagation(), c.preventDefault(), m.value = F.fromEvent(c, l.value), A(), H());
628
+ const C = d.target || d.srcElement;
629
+ c.value !== void 0 && C && !w(C, c.value) || i.value !== !1 && (document.body.click(), d.stopPropagation(), d.preventDefault(), m.value = F.fromEvent(d, l.value), A(), H());
629
630
  }
630
- function R(c, w, L) {
631
- if (i.value && w) {
632
- if (c)
633
- d.value = c;
631
+ function R(d, C, L) {
632
+ if (i.value && C) {
633
+ if (d)
634
+ c.value = d;
634
635
  else if (e.dragHandle) {
635
636
  if (e.dragHandle instanceof HTMLElement)
636
- d.value = e.dragHandle;
637
+ c.value = e.dragHandle;
637
638
  else if (typeof e.dragHandle == "string") {
638
- const D = w.querySelector(e.dragHandle);
639
- D && (d.value = D);
639
+ const V = C.querySelector(e.dragHandle);
640
+ V && (c.value = V);
640
641
  }
641
642
  }
642
- l.value = w, u.value = L, d.value ? (d.value.classList.add("ng-draggable"), d.value.addEventListener("mousedown", M)) : i.value = !1;
643
+ l.value = C, u.value = L, c.value ? (c.value.classList.add("ng-draggable"), c.value.addEventListener("mousedown", M)) : i.value = !1;
643
644
  }
644
645
  }
645
646
  return {
@@ -647,7 +648,7 @@ function dt(e, t, n) {
647
648
  resetTranslate: A
648
649
  };
649
650
  }
650
- function ve(e, t) {
651
+ function ge(e, t) {
651
652
  if (e) {
652
653
  const n = (l) => {
653
654
  l.key.toLowerCase() === e.toLowerCase() && t({ event: l, key: e });
@@ -657,19 +658,19 @@ function ve(e, t) {
657
658
  };
658
659
  }
659
660
  }
660
- function ft(e, t) {
661
+ function mt(e, t) {
661
662
  const n = o(e.enableEsc);
662
663
  let l = null;
663
- return n.value ? (l = ve("Escape", (i) => {
664
+ return n.value ? (l = ge("Escape", (i) => {
664
665
  t.emit("esc", { event: i.event, type: "esc" });
665
666
  }), {
666
667
  remove: l
667
668
  }) : null;
668
669
  }
669
- function vt(e, t) {
670
+ function gt(e, t) {
670
671
  const n = o(e.enableEnter);
671
672
  let l = null;
672
- return n.value ? (l = ve("Enter", (i) => {
673
+ return n.value ? (l = ge("Enter", (i) => {
673
674
  t.emit("enter", { event: i.event, type: "enter" });
674
675
  }), {
675
676
  remove: l
@@ -677,11 +678,11 @@ function vt(e, t) {
677
678
  }
678
679
  const Q = /* @__PURE__ */ ie({
679
680
  name: "FModal",
680
- props: rt,
681
+ props: ft,
681
682
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
682
683
  setup(e, t) {
683
- const n = o(e.width || 300), l = o(e.height || 200), i = o(e.modelValue), s = o(""), d = o(e.class), u = o(e.fitContent), f = o(e.showHeader), m = o(""), b = o(e.showCloseButton), p = o(e.showMaxButton), k = o(!1), C = o(e.dialogType), y = o(e.src), B = o(""), O = o(e.showButtons), S = o(e.title), I = o(e.containment || null), H = o();
684
- S.value === "错误提示" && (S.value = ee.getLocaleValue("messageBox.errorTitle"));
684
+ const n = o(e.width || 300), l = o(e.height || 200), i = o(e.modelValue), s = o(""), c = o(e.class), u = o(e.fitContent), f = o(e.showHeader), m = o(""), b = o(e.showCloseButton), p = o(e.showMaxButton), k = o(!1), w = o(e.dialogType), y = o(e.src), B = o(""), O = o(e.showButtons), z = o(e.title), I = o(e.containment || null), H = o();
685
+ z.value === "错误提示" && (z.value = te.getLocaleValue("messageBox.errorTitle"));
685
686
  const A = o(!1);
686
687
  function M(a, x) {
687
688
  const X = x ? "accept" : "cancel";
@@ -696,48 +697,48 @@ const Q = /* @__PURE__ */ ie({
696
697
  }
697
698
  const R = [{
698
699
  name: "cancel",
699
- text: ee.getLocaleValue("messageBox.cancel") || "取消",
700
+ text: te.getLocaleValue("messageBox.cancel") || "取消",
700
701
  class: "btn btn-secondary",
701
702
  handle: (a) => {
702
703
  M(a, !1);
703
704
  }
704
705
  }, {
705
706
  name: "accept",
706
- text: ee.getLocaleValue("messageBox.ok") || "确定",
707
+ text: te.getLocaleValue("messageBox.ok") || "确定",
707
708
  class: "btn btn-primary",
708
709
  handle: (a) => {
709
710
  M(a, !0);
710
711
  }
711
- }], c = o(e.buttons && e.buttons.length ? e.buttons : R), w = T(() => !!m.value), L = T(() => !!O.value && !!c.value), D = o(), h = o(), j = o(!1), {
712
- renderResizeBar: _,
712
+ }], d = o(e.buttons && e.buttons.length ? e.buttons : R), C = T(() => !!m.value), L = T(() => !!O.value && !!d.value), V = o(), h = o(), j = o(!1), {
713
+ renderResizeBar: J,
713
714
  maximize: K,
714
- restore: Y,
715
+ restore: G,
715
716
  boundingElement: P,
716
- resizedEventParam: V,
717
+ resizedEventParam: D,
717
718
  allowDrag: r,
718
719
  unWindowResizeHandle: v,
719
- moveToCenter: z
720
- } = ct(e), {
720
+ moveToCenter: S
721
+ } = vt(e), {
721
722
  registerDraggle: E
722
- } = dt(e, t, r);
723
+ } = ht(e, t, r);
723
724
  function W() {
724
725
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
725
726
  }
726
- function ye() {
727
+ function we() {
727
728
  const a = document.querySelectorAll(".farris-modal").length;
728
729
  (!a || a - 1 <= 0) && document.body.classList.remove("modal-open"), H.value && H.value.classList.remove("show");
729
730
  }
730
731
  U(() => e.title, (a, x) => {
731
- a !== x && (S.value = a);
732
+ a !== x && (z.value = a);
732
733
  }), U(() => e.modelValue, (a, x) => {
733
734
  a !== x && (i.value = a, i.value && e.draggable && Z(() => {
734
- h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(D.value, h.value, P.value), z());
735
- }), a || (I.value && (I.value = null), ye())), i.value ? A.value = W() : (j.value = !1, r.value = e.draggable);
735
+ h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(V.value, h.value, P.value), S());
736
+ }), a || (I.value && (I.value = null), we())), i.value ? A.value = W() : (j.value = !1, r.value = e.draggable);
736
737
  }), U(() => e.showHeader, (a, x) => {
737
738
  a !== x && (f.value = a);
738
739
  }), U(() => e.showButtons, (a, x) => {
739
740
  a !== x && (O.value = a);
740
- }), U(() => V.value, (a, x) => {
741
+ }), U(() => D.value, (a, x) => {
741
742
  const X = a || {}, N = x || {};
742
743
  JSON.stringify(X) !== JSON.stringify(N) && t.emit("resize", {
743
744
  newSize: a,
@@ -746,104 +747,107 @@ const Q = /* @__PURE__ */ ie({
746
747
  });
747
748
  }), U([() => e.width, () => e.height], (a, x) => {
748
749
  (a[0] !== x[0] || a[1] !== x[1]) && (n.value = a[0] || 500, l.value = a[1] || 600);
750
+ }), U(() => e.class, (a, x) => {
751
+ c.value = a;
749
752
  });
750
- const ne = T(() => (i.value && document.body.classList.add("modal-open"), i.value)), be = T(() => {
753
+ const ee = T(() => (i.value && document.body.classList.add("modal-open"), i.value)), Ce = T(() => {
751
754
  var X;
752
755
  const a = {
753
756
  modal: !0,
754
757
  "farris-modal": !0,
755
758
  fade: !0
756
759
  };
757
- a["f-modal-fitContent"] = !!u.value, a.show = !!ne.value;
760
+ a["f-modal-fitContent"] = !!u.value, a.show = !!ee.value;
758
761
  const x = (X = e.maskClass) == null ? void 0 : X.split(" ");
759
- return x == null || x.reduce((N, J) => (N[J] = !0, N), a), a;
760
- }), pe = T(() => {
762
+ return x == null || x.reduce((N, Y) => (N[Y] = !0, N), a), a;
763
+ }), xe = T(() => {
761
764
  var X;
762
765
  const a = {
763
766
  "modal-dialog": !0
764
- }, x = (X = d.value) == null ? void 0 : X.split(" ");
765
- return x == null || x.reduce((N, J) => (N[J] = !0, N), a), a;
766
- }), Ce = T(() => {
767
- const a = document.documentElement.clientWidth, x = document.documentElement.clientHeight, X = Math.min(n.value, a), N = u.value ? "auto" : `${Math.min(l.value, x - 10)}px`, J = {
767
+ }, x = (X = c.value) == null ? void 0 : X.split(" ");
768
+ return x == null || x.reduce((N, Y) => (N[Y] = !0, N), a), a;
769
+ }), re = () => et() && !e.isMessager, Be = T(() => {
770
+ const a = document.documentElement.clientWidth, x = document.documentElement.clientHeight, X = Math.min(n.value, a), N = u.value ? "auto" : `${Math.min(l.value, x - 10)}px`, Y = {
768
771
  position: "absolute",
769
772
  top: `${(window.innerHeight - parseInt(N === "auto" ? "0" : N)) / 2}px`,
770
773
  left: `${(window.innerWidth - X) / 2}px`,
771
774
  width: `${X}px`,
772
775
  height: N
773
776
  };
774
- return e.mask || (J.pointerEvents = "auto"), J;
775
- }), we = () => Je() || 1040, xe = T(() => {
777
+ return re() && (Y.top = "0px", Y.left = "0px", Y.width = `${window.innerWidth}px`, Y.height = `${window.innerHeight}px`), e.mask || (Y.pointerEvents = "auto"), Y;
778
+ }), ce = o(fe() || 1050), Me = T(() => {
776
779
  const a = {
777
780
  display: "block",
778
- zIndex: we()
781
+ overflow: "hidden"
779
782
  };
780
- return e.mask || (a.pointerEvents = "none", a.backgroundColor = "transparent"), A.value && (a.backgroundColor = "transparent"), a;
781
- }), Be = T(() => ({
783
+ return e.mask || (a.pointerEvents = "none", a.backgroundColor = "transparent"), A.value && (a.backgroundColor = "transparent"), a.zIndex = ce.value, a;
784
+ }), ke = T(() => ({
782
785
  "modal-content": !0,
783
- "modal-content-has-header": f.value
784
- })), Me = T(() => {
786
+ "modal-content-has-header": f.value,
787
+ "is-mobile": re()
788
+ })), Te = T(() => {
785
789
  const a = {
786
790
  display: f.value ? "" : "none"
787
791
  };
788
792
  return a["pointer-events"] = r.value ? "auto" : "none", a;
789
- }), ke = T(() => ({
793
+ }), Ee = T(() => ({
790
794
  "f-icon": !0,
791
795
  modal_maximize: !0,
792
796
  modalrevert: j.value
793
- })), Te = T(() => ({
797
+ })), Oe = T(() => ({
794
798
  "modal-body": !0,
795
- "f-utils-flex-column": C.value === "iframe",
799
+ "f-utils-flex-column": w.value === "iframe",
796
800
  "f-utils-fill": !0
797
801
  }));
798
- function Ee() {
802
+ function Pe() {
799
803
  return {
800
804
  height: `${e.footerHeight || 60}px`
801
805
  };
802
806
  }
803
- const Oe = T(() => {
807
+ const Se = T(() => {
804
808
  const a = {
805
809
  textAlgin: B.value
806
- }, x = Ee();
810
+ }, x = Pe();
807
811
  return Object.assign(a, x);
808
812
  });
809
- function re(a) {
813
+ function de(a) {
810
814
  if (a == null || a.stopPropagation(), j.value) {
811
- j.value = !1, Y();
815
+ j.value = !1, G();
812
816
  return;
813
817
  }
814
818
  K(), j.value = !0;
815
819
  }
816
- async function Pe(a, x) {
820
+ async function ze(a, x) {
817
821
  a.handle && await a.handle(x, a) && t.emit("closed", x);
818
822
  }
819
- function ze(a) {
820
- a.width && (n.value = a.width), a.height && (l.value = a.height), a.buttons && (c.value = a.buttons), a.title && (S.value = a.title);
823
+ function Ie(a) {
824
+ a.width && (n.value = a.width), a.height && (l.value = a.height), a.buttons && (d.value = a.buttons), a.title && (z.value = a.title);
821
825
  }
822
826
  let le = null, ae = null;
823
- Ve(() => {
827
+ Ae(() => {
824
828
  A.value = W();
825
- }), te(() => {
826
- h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(D.value, h.value, P.value)), ne.value && document.body.classList.add("modal-open"), le = ft(e, t), ae = vt(e, t);
829
+ }), ne(() => {
830
+ h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(V.value, h.value, P.value)), ee.value && document.body.classList.add("modal-open"), le = mt(e, t), ae = gt(e, t);
827
831
  }), se(() => {
828
832
  v && v(), le && le.remove(), ae && ae.remove();
829
833
  }), t.expose({
830
834
  modalElementRef: h,
831
- updateModalOptions: ze,
835
+ updateModalOptions: Ie,
832
836
  close: M,
833
- maxDialog: re,
837
+ maxDialog: de,
834
838
  isMaximized: j
835
839
  });
836
- function Se() {
840
+ function He() {
837
841
  return g("ul", null, [k.value && g("li", {
838
842
  class: "f-btn-icon f-bare"
839
843
  }, [g("span", {
840
844
  class: "f-icon modal_minimize"
841
845
  }, null)]), p.value && g("li", {
842
- onClick: re,
846
+ onClick: de,
843
847
  class: "f-btn-icon f-bare",
844
848
  style: "pointer-events: auto;"
845
849
  }, [g("span", {
846
- class: ke.value
850
+ class: Ee.value
847
851
  }, null)]), b.value && g("li", {
848
852
  class: "f-btn-icon f-bare",
849
853
  onClick: (a) => M(a, !1),
@@ -852,11 +856,11 @@ const Q = /* @__PURE__ */ ie({
852
856
  class: "f-icon modal_close"
853
857
  }, null)])]);
854
858
  }
855
- function Ie() {
859
+ function Re() {
856
860
  return g("div", {
857
861
  class: "modal-footer",
858
- style: Oe.value
859
- }, [c.value && c.value.map((a) => {
862
+ style: Se.value
863
+ }, [d.value && d.value.map((a) => {
860
864
  const x = o(a.disabled);
861
865
  return g("button", {
862
866
  name: a.name,
@@ -864,106 +868,108 @@ const Q = /* @__PURE__ */ ie({
864
868
  disabled: x.value,
865
869
  class: a.class + (a.iconClass ? " btn-icontext" : ""),
866
870
  onClick: (X) => {
867
- Pe(a, X);
871
+ ze(a, X);
868
872
  }
869
873
  }, [!!a.iconClass && g("i", {
870
874
  class: a.iconClass
871
875
  }, null), a.text]);
872
876
  })]);
873
877
  }
874
- function He() {
878
+ function Le() {
875
879
  return g("div", {
876
- ref: D,
880
+ ref: V,
877
881
  class: "modal-header",
878
- style: Me.value
882
+ style: Te.value
879
883
  }, [t.slots.headerTemplate ? t.slots.headerTemplate() : g("div", {
880
884
  class: "modal-title"
881
- }, [w.value && g("span", {
885
+ }, [C.value && g("span", {
882
886
  class: m.value,
883
887
  style: "margin-right: 8px"
884
888
  }, null), g("span", {
885
889
  class: "modal-title-label"
886
- }, [S.value])]), g("div", {
890
+ }, [z.value])]), g("div", {
887
891
  class: "actions"
888
- }, [Se()])]);
892
+ }, [He()])]);
889
893
  }
890
- function Re() {
891
- return t.slots.footerTemplate ? t.slots.footerTemplate() : L.value && Ie();
894
+ function je() {
895
+ return t.slots.footerTemplate ? t.slots.footerTemplate() : L.value && Re();
892
896
  }
893
- function Le(a) {
897
+ function Fe(a) {
894
898
  if (a.stopPropagation(), e.allowClickMaskToClose) {
895
899
  if (a.target !== H.value)
896
900
  return;
897
901
  M(a, !1);
898
902
  }
899
903
  }
900
- function je() {
904
+ function We() {
901
905
  var a, x;
902
906
  return g("div", {
903
907
  id: s.value,
904
- class: pe.value,
905
- style: Ce.value,
908
+ class: xe.value,
909
+ style: Be.value,
906
910
  ref: h
907
911
  }, [g("div", {
908
- class: Be.value
909
- }, [f.value && He(), g("div", {
910
- class: Te.value
911
- }, [(x = (a = t.slots).default) == null ? void 0 : x.call(a), C.value === "iframe" && g("iframe", {
912
+ class: ke.value
913
+ }, [f.value && Le(), g("div", {
914
+ class: Oe.value
915
+ }, [(x = (a = t.slots).default) == null ? void 0 : x.call(a), w.value === "iframe" && g("iframe", {
912
916
  title: s.value,
913
917
  class: "f-utils-fill",
914
918
  width: "100%",
915
919
  frameborder: "0",
916
920
  src: y.value
917
- }, null)]), Re()]), !u.value && h.value && !j.value && _(h.value)]);
921
+ }, null)]), je()]), !u.value && h.value && !j.value && J(h.value)]);
918
922
  }
919
- function Fe(a) {
923
+ function Ve(a) {
920
924
  return a || "body";
921
925
  }
922
- return () => g(ce, {
923
- to: Fe(e.host)
926
+ return Xe(() => {
927
+ ee.value && (ce.value = fe() || 1050);
928
+ }), () => g(ve, {
929
+ to: Ve(e.host)
924
930
  }, {
925
- default: () => [ne.value && g(Ne, {
931
+ default: () => [ee.value && g(Ue, {
926
932
  name: "fade",
927
933
  appear: !0
928
934
  }, {
929
935
  default: () => [g("div", {
930
936
  ref: H,
931
- class: be.value,
932
- style: xe.value,
933
- onClick: Le
934
- }, [je()])]
937
+ class: Ce.value,
938
+ style: Me.value,
939
+ onClick: Fe
940
+ }, [We()])]
935
941
  })]
936
942
  });
937
943
  }
938
944
  });
939
- function he(e) {
945
+ function ye(e) {
940
946
  if (e.content && e.content.render)
941
947
  return e.content.render;
942
948
  if (e.render && typeof e.render == "function")
943
949
  return e.render;
944
950
  }
945
- function ht(e) {
951
+ function yt(e) {
946
952
  const t = document.createElement("div");
947
953
  t.style.display = "contents";
948
- const n = de({
954
+ const n = he({
949
955
  setup(l, i) {
950
956
  se(() => {
951
957
  document.body.removeChild(t);
952
958
  });
953
- const s = o(), d = o(e.class || ""), u = o(!!e.showButtons), f = o(!!e.showHeader), m = o(e.showCloseButton == null ? !0 : e.showCloseButton), b = o(!0), p = o(e.title || ""), k = e.acceptCallback || (() => {
954
- }), C = e.rejectCallback || (() => {
959
+ const s = o(), c = o(e.class || ""), u = o(!!e.showButtons), f = o(!!e.showHeader), m = o(e.showCloseButton == null ? !0 : e.showCloseButton), b = o(!0), p = o(e.title || ""), k = e.acceptCallback || (() => {
960
+ }), w = e.rejectCallback || (() => {
955
961
  }), y = e.closedCallback || ((H) => {
956
962
  }), B = e.resizeHandle || ((H) => {
957
963
  }), O = e.stopMoveHandle || ((H) => {
958
- }), S = he(e), I = (H) => {
964
+ }), z = ye(e), I = (H) => {
959
965
  b.value = !1, n.unmount(), y(H);
960
966
  };
961
- return te(() => {
967
+ return ne(() => {
962
968
  }), i.expose({
963
969
  modalRef: s
964
970
  }), () => g(Q, {
965
971
  ref: s,
966
- class: d.value,
972
+ class: c.value,
967
973
  modelValue: b.value,
968
974
  "onUpdate:modelValue": (H) => b.value = H,
969
975
  title: p.value,
@@ -975,26 +981,26 @@ function ht(e) {
975
981
  "show-close-button": m.value,
976
982
  "show-max-button": !1,
977
983
  onAccept: k,
978
- onCancel: C,
984
+ onCancel: w,
979
985
  fitContent: e.fitContent == null ? !0 : e.fitContent,
980
986
  onClosed: I,
981
987
  onResize: B,
982
988
  onStopMove: O
983
989
  }, {
984
- default: () => [S && S(n)]
990
+ default: () => [z && z(n)]
985
991
  });
986
992
  }
987
993
  });
988
- return document.body.appendChild(t), n.use(ee.i18n), n.mount(t), n;
994
+ return document.body.appendChild(t), n.use(te.i18n), n.mount(t), n;
989
995
  }
990
- class mt {
996
+ class bt {
991
997
  constructor(t) {
992
- G(this, "appContext", null);
993
- G(this, "modalRef", o());
994
- G(this, "activeModalIndex", o(0));
995
- G(this, "modalRefs", {});
996
- G(this, "isUseEscCloseModal", o(!1));
997
- G(this, "activeModalInstance", T(() => this.modalRefs[this.activeModalIndex.value]));
998
+ $(this, "appContext", null);
999
+ $(this, "modalRef", o());
1000
+ $(this, "activeModalIndex", o(0));
1001
+ $(this, "modalRefs", {});
1002
+ $(this, "isUseEscCloseModal", o(!1));
1003
+ $(this, "activeModalInstance", T(() => this.modalRefs[this.activeModalIndex.value]));
998
1004
  this.app = t, this.appContext = t ? t._context : null;
999
1005
  }
1000
1006
  getCurrentModal() {
@@ -1019,7 +1025,7 @@ class mt {
1019
1025
  showButtons: !0,
1020
1026
  showHeader: !0
1021
1027
  }, t);
1022
- return ht(n);
1028
+ return yt(n);
1023
1029
  }
1024
1030
  close(t) {
1025
1031
  var n, l;
@@ -1028,26 +1034,26 @@ class mt {
1028
1034
  open(t) {
1029
1035
  const n = document.createDocumentFragment();
1030
1036
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
1031
- const l = Ae(Object.assign({
1037
+ const l = Ke(Object.assign({
1032
1038
  title: "",
1033
1039
  showButtons: !0,
1034
1040
  showHeader: !0
1035
1041
  }, t)), i = o(!0), s = l.value.acceptCallback || (() => {
1036
- }), d = l.value.rejectCallback || (() => {
1042
+ }), c = l.value.rejectCallback || (() => {
1037
1043
  }), u = l.value.closedCallback || ((M, R) => {
1038
1044
  }), f = l.value.resizeHandle || ((M) => {
1039
1045
  }), m = t.stopMoveHandle || ((M) => {
1040
1046
  });
1041
1047
  let b;
1042
- const p = he(l.value), k = (M) => {
1043
- var c;
1048
+ const p = ye(l.value), k = (M) => {
1049
+ var d;
1044
1050
  i.value = !1;
1045
- const R = (c = M == null ? void 0 : M.target) == null ? void 0 : c.classList.contains("modal_close");
1051
+ const R = (d = M == null ? void 0 : M.target) == null ? void 0 : d.classList.contains("modal_close");
1046
1052
  u(M, this.isUseEscCloseModal.value ? "esc" : R ? "icon" : "button");
1047
- }, C = (M) => {
1053
+ }, w = (M) => {
1048
1054
  k(M), b && Z(() => {
1049
1055
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], oe(null, n), b = null, this.modalRef.value = null, this.modalRefs) {
1050
- const R = Object.keys(this.modalRefs).map((c) => Number(c));
1056
+ const R = Object.keys(this.modalRefs).map((d) => Number(d));
1051
1057
  R.length > 0 ? this.activeModalIndex.value = Math.max(...R) : this.activeModalIndex.value = 0;
1052
1058
  }
1053
1059
  this.isUseEscCloseModal.value = !1;
@@ -1058,16 +1064,17 @@ class mt {
1058
1064
  }, {
1059
1065
  width: B,
1060
1066
  height: O
1061
- } = l.value, S = this.adaptToWindow(B || 500, O || 320);
1062
- Object.assign(l.value, S);
1063
- const I = () => g(Q, fe({
1067
+ } = l.value, z = this.adaptToWindow(B || 500, O || 320);
1068
+ Object.assign(l.value, z);
1069
+ const I = () => g(Q, me({
1064
1070
  ref: this.modalRef,
1065
1071
  modelValue: i.value,
1066
1072
  "onUpdate:modelValue": (M) => i.value = M
1067
1073
  }, l.value, {
1074
+ isMessager: l.value.class && l.value.class.indexOf("modal-message") > -1,
1068
1075
  onAccept: s,
1069
- onCancel: d,
1070
- onClosed: C,
1076
+ onCancel: c,
1077
+ onClosed: w,
1071
1078
  onResize: f,
1072
1079
  onEsc: y,
1073
1080
  onStopMove: m
@@ -1075,7 +1082,7 @@ class mt {
1075
1082
  default: () => [p && p(this.app)]
1076
1083
  });
1077
1084
  return b = ((M) => {
1078
- const R = Xe(I, M);
1085
+ const R = Ye(I, M);
1079
1086
  return R.appContext = this.appContext, oe(R, n), R;
1080
1087
  })({
1081
1088
  ...l.value
@@ -1085,23 +1092,23 @@ class mt {
1085
1092
  l.value = {
1086
1093
  ...l.value,
1087
1094
  ...M
1088
- }, b && oe(Ue(b, {
1095
+ }, b && oe(Ge(b, {
1089
1096
  ...l
1090
1097
  }), n);
1091
1098
  },
1092
- destroy: C,
1099
+ destroy: w,
1093
1100
  modalRef: this.activeModalInstance,
1094
1101
  close: () => this.close()
1095
1102
  };
1096
1103
  }
1097
1104
  }
1098
- const me = Symbol("FModalService");
1105
+ const be = Symbol("FModalService");
1099
1106
  Q.install = (e) => {
1100
1107
  e.component(Q.name, Q);
1101
- const t = new mt(e);
1102
- e.provide(me, t), e.provide("FModalService", t);
1108
+ const t = new bt(e);
1109
+ e.provide(be, t), e.provide("FModalService", t);
1103
1110
  };
1104
- function ge(e, t) {
1111
+ function pe(e, t) {
1105
1112
  function n() {
1106
1113
  const l = e.beforeOpen || e.beforeClickButton || null;
1107
1114
  let i = Promise.resolve(!0);
@@ -1115,30 +1122,30 @@ function ge(e, t) {
1115
1122
  }
1116
1123
  return { judgeCanOpen: n };
1117
1124
  }
1118
- function gt(e, t, n, l, i) {
1119
- const s = o(e.buttonBehavior), d = o(e.popupOnInput), u = T(() => ({
1125
+ function pt(e, t, n, l, i) {
1126
+ const s = o(e.buttonBehavior), c = o(e.popupOnInput), u = T(() => ({
1120
1127
  "input-group-append": !0,
1121
1128
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
1122
- })), { judgeCanOpen: f } = ge(e, i), m = T(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), b = Ke(me, null), p = o();
1129
+ })), { judgeCanOpen: f } = pe(e, i), m = T(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), b = $e(be, null), p = o();
1123
1130
  async function k(B) {
1124
1131
  if (await f() && m.value) {
1125
1132
  const O = !!t.slots.default;
1126
1133
  if (s.value === "Modal") {
1127
- const S = e.modalOptions, I = b == null ? void 0 : b.open({
1128
- ...S,
1134
+ const z = e.modalOptions, I = b == null ? void 0 : b.open({
1135
+ ...z,
1129
1136
  render: () => t.slots.default && t.slots.default()
1130
1137
  });
1131
1138
  p.value = I == null ? void 0 : I.modalRef;
1132
1139
  }
1133
- s.value === "Overlay" && st.show({
1140
+ s.value === "Overlay" && dt.show({
1134
1141
  // host: buttonEditRef.value,
1135
1142
  host: document.body,
1136
1143
  backgroundColor: "rgba(0,0,0,.15)",
1137
1144
  render: () => t.slots.default && t.slots.default()
1138
- }), O && s.value === "Popup" && l.togglePopup(!0), O && d.value && l.hidePopup(), t.emit("clickButton", { origin: B, value: e.modelValue });
1145
+ }), O && s.value === "Popup" && l.togglePopup(!0), O && c.value && l.hidePopup(), t.emit("clickButton", { origin: B, value: e.modelValue });
1139
1146
  }
1140
1147
  }
1141
- function C(B) {
1148
+ function w(B) {
1142
1149
  t.emit("mouseEnterIcon", B);
1143
1150
  }
1144
1151
  function y(B) {
@@ -1147,22 +1154,22 @@ function gt(e, t, n, l, i) {
1147
1154
  return {
1148
1155
  buttonGroupClass: u,
1149
1156
  onClickButton: k,
1150
- onMouseEnterButton: C,
1157
+ onMouseEnterButton: w,
1151
1158
  onMouseLeaveButton: y,
1152
1159
  modalRef: p
1153
1160
  };
1154
1161
  }
1155
- function yt(e, t, n, l, i, s) {
1156
- const d = o(!1), u = T(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: f, hasClearClass: m } = s;
1162
+ function wt(e, t, n, l, i, s) {
1163
+ const c = o(!1), u = T(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: f, hasClearClass: m } = s;
1157
1164
  function b(y) {
1158
- d.value = y, m.value = y;
1165
+ c.value = y, m.value = y;
1159
1166
  }
1160
1167
  U(i, () => {
1161
1168
  b(!!i.value);
1162
1169
  });
1163
1170
  function p(y) {
1164
1171
  const B = !e.readonly && !e.disable && e.editable, O = !e.editable;
1165
- y.stopPropagation(), (B || O) && (f(""), i.value = "", b(!d.value), t.emit("clear"));
1172
+ y.stopPropagation(), (B || O) && (f(""), i.value = "", b(!c.value), t.emit("clear"));
1166
1173
  }
1167
1174
  function k(y) {
1168
1175
  if (u.value) {
@@ -1173,19 +1180,19 @@ function yt(e, t, n, l, i, s) {
1173
1180
  !e.disable && !e.readonly && b(!0);
1174
1181
  }
1175
1182
  }
1176
- function C(y) {
1183
+ function w(y) {
1177
1184
  u.value && b(!1);
1178
1185
  }
1179
1186
  return {
1180
1187
  enableClearButton: u,
1181
- showClearButton: d,
1188
+ showClearButton: c,
1182
1189
  onClearValue: p,
1183
1190
  onMouseEnterTextBox: k,
1184
- onMouseLeaveTextBox: C
1191
+ onMouseLeaveTextBox: w
1185
1192
  };
1186
1193
  }
1187
- function bt(e, t, n, l, i) {
1188
- const s = T(() => e.popupOnInput), d = T(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: f } = i, m = o(!1), b = T(() => e.enableTitle ? n.value : ""), p = T(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), k = T(() => e.readonly || !e.editable), C = o(!1), y = T(() => !e.disable && C.value), B = T(() => ({
1194
+ function Ct(e, t, n, l, i) {
1195
+ const s = T(() => e.popupOnInput), c = T(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: f } = i, m = o(!1), b = T(() => e.enableTitle ? n.value : ""), p = T(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), k = T(() => e.readonly || !e.editable), w = o(!1), y = T(() => !e.disable && w.value), B = T(() => ({
1189
1196
  "text-left": e.textAlign === "left",
1190
1197
  "text-center": e.textAlign === "center",
1191
1198
  "text-right": e.textAlign === "right",
@@ -1199,11 +1206,11 @@ function bt(e, t, n, l, i) {
1199
1206
  "f-state-focus": y.value,
1200
1207
  "input-group--has-clear": e.enableClear && m.value
1201
1208
  }));
1202
- function S(h, j = !0) {
1209
+ function z(h, j = !0) {
1203
1210
  n.value = h, j && (t.emit("change", h), t.emit("update:modelValue", h));
1204
1211
  }
1205
1212
  function I(h) {
1206
- u.value = !1, S(h, !0);
1213
+ u.value = !1, z(h, !0);
1207
1214
  }
1208
1215
  U(
1209
1216
  () => e.modelValue,
@@ -1212,31 +1219,31 @@ function bt(e, t, n, l, i) {
1212
1219
  }
1213
1220
  );
1214
1221
  function H(h) {
1215
- C.value = !1, t.emit("blur", h), h.stopPropagation();
1222
+ w.value = !1, t.emit("blur", h), h.stopPropagation();
1216
1223
  }
1217
1224
  function A(h) {
1218
1225
  t.emit("click", h), f(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && i.togglePopup();
1219
1226
  }
1220
1227
  function M(h) {
1221
- !e.disable && !e.readonly && (C.value = !0, k.value || (t.emit("focus", h), d.value && !u.value && i.popup()));
1228
+ !e.disable && !e.readonly && (w.value = !0, k.value || (t.emit("focus", h), c.value && !u.value && i.popup()));
1222
1229
  }
1223
1230
  function R(h) {
1224
1231
  t.emit("input", h);
1225
1232
  const j = h.target.value;
1226
- l.value = j, n.value !== j && S(j, e.updateOn === "change"), s.value && !u.value && i.popup();
1233
+ l.value = j, n.value !== j && z(j, e.updateOn === "change"), s.value && !u.value && i.popup();
1227
1234
  }
1228
- function c(h) {
1235
+ function d(h) {
1229
1236
  h.target.tagName !== "INPUT" && h.preventDefault(), h.stopPropagation();
1230
1237
  }
1231
- function w(h) {
1238
+ function C(h) {
1232
1239
  t.emit("keydown", h);
1233
1240
  }
1234
1241
  function L(h) {
1235
- h.key === "Enter" && (s.value || d.value) && i.hidePopup(), t.emit("keyup", h);
1242
+ h.key === "Enter" && (s.value || c.value) && i.hidePopup(), t.emit("keyup", h);
1236
1243
  }
1237
- function D(h) {
1244
+ function V(h) {
1238
1245
  const j = h.target.value;
1239
- h.stopPropagation(), S(j);
1246
+ h.stopPropagation(), z(j);
1240
1247
  }
1241
1248
  return {
1242
1249
  hasFocusedTextBox: y,
@@ -1246,47 +1253,47 @@ function bt(e, t, n, l, i) {
1246
1253
  textBoxTitle: b,
1247
1254
  inputGroupClass: O,
1248
1255
  hasClearClass: m,
1249
- changeTextBoxValue: S,
1256
+ changeTextBoxValue: z,
1250
1257
  commitValue: I,
1251
1258
  onBlurTextBox: H,
1252
1259
  onClickTextBox: A,
1253
1260
  onFocusTextBox: M,
1254
1261
  onInput: R,
1255
- onKeyDownTextBox: w,
1262
+ onKeyDownTextBox: C,
1256
1263
  onKeyUpTextBox: L,
1257
- onMouseDownTextBox: c,
1258
- onTextBoxValueChange: D
1264
+ onMouseDownTextBox: d,
1265
+ onTextBoxValueChange: V
1259
1266
  };
1260
1267
  }
1261
1268
  const q = "FarrisVue_PopoverInstancesKey";
1262
- function pt(e, t, n, l) {
1263
- const i = o(), s = o(!1), { judgeCanOpen: d } = ge(e, l);
1264
- U(() => i.value, (C, y) => {
1265
- window[q] = window[q] || /* @__PURE__ */ new WeakMap(), C ? window[q].set(n.value, C) : window[q].delete(n.value);
1269
+ function xt(e, t, n, l) {
1270
+ const i = o(), s = o(!1), { judgeCanOpen: c } = pe(e, l);
1271
+ U(() => i.value, (w, y) => {
1272
+ window[q] = window[q] || /* @__PURE__ */ new WeakMap(), w ? window[q].set(n.value, w) : window[q].delete(n.value);
1266
1273
  });
1267
1274
  function u() {
1268
1275
  if (window[q]) {
1269
- const C = window[q];
1276
+ const w = window[q];
1270
1277
  document.querySelectorAll(".f-button-edit,.v-popover").forEach((y) => {
1271
- const B = C.get(y);
1278
+ const B = w.get(y);
1272
1279
  B && y !== n.value && !n.value.closest(".popover-fitcontent") && B.hide();
1273
1280
  });
1274
1281
  }
1275
1282
  }
1276
1283
  function f() {
1277
- const C = i.value;
1278
- C && C.show(n.value);
1284
+ const w = i.value;
1285
+ w && w.show(n.value);
1279
1286
  }
1280
- async function m(C = !1) {
1287
+ async function m(w = !1) {
1281
1288
  if (!!t.slots.default) {
1282
- if (!C && !s.value && !await d())
1289
+ if (!w && !s.value && !await c())
1283
1290
  return;
1284
1291
  s.value = !s.value, s.value && (await Z(), f());
1285
1292
  }
1286
1293
  }
1287
- async function b(C = !1) {
1294
+ async function b(w = !1) {
1288
1295
  if (!!t.slots.default) {
1289
- if (!C && !await d())
1296
+ if (!w && !await c())
1290
1297
  return;
1291
1298
  s.value = !0, await Z(), f();
1292
1299
  }
@@ -1301,39 +1308,39 @@ function pt(e, t, n, l) {
1301
1308
  }
1302
1309
  return { hidePopup: p, showPopup: k, popup: b, shouldPopupContent: s, togglePopup: m, popoverRef: i, closeAllPopover: u };
1303
1310
  }
1304
- function Ct(e, t, n) {
1311
+ function Bt(e, t, n) {
1305
1312
  const l = o(), {
1306
1313
  isTextBoxReadonly: i,
1307
1314
  textBoxClass: s,
1308
- textBoxPlaceholder: d,
1315
+ textBoxPlaceholder: c,
1309
1316
  textBoxTitle: u,
1310
1317
  onBlurTextBox: f,
1311
1318
  onClickTextBox: m,
1312
1319
  onFocusTextBox: b,
1313
1320
  onInput: p,
1314
1321
  onKeyDownTextBox: k,
1315
- onKeyUpTextBox: C,
1322
+ onKeyUpTextBox: w,
1316
1323
  onMouseDownTextBox: y,
1317
1324
  onTextBoxValueChange: B
1318
1325
  } = n, O = o(e.id), {
1319
- uuid: S
1320
- } = Ze(), I = T(() => ({
1326
+ uuid: z
1327
+ } = tt(), I = T(() => ({
1321
1328
  // 'border-top-right-radius': '6px',
1322
1329
  // 'border-bottom-right-radius': '6px'
1323
1330
  }));
1324
- te(() => {
1325
- var c, w;
1326
- e.selectOnCreated && ((c = l.value) == null || c.select()), e.focusOnCreated && ((w = l.value) == null || w.focus({
1331
+ ne(() => {
1332
+ var d, C;
1333
+ e.selectOnCreated && ((d = l.value) == null || d.select()), e.focusOnCreated && ((C = l.value) == null || C.focus({
1327
1334
  preventScroll: !0
1328
- })), O.value || (O.value = "button-edit_" + S(8)), O.value = O.value + "-textbox";
1335
+ })), O.value || (O.value = "button-edit_" + z(8)), O.value = O.value + "-textbox";
1329
1336
  });
1330
- const H = o(!1), A = (c) => {
1331
- c.preventDefault(), H.value = !0;
1332
- }, M = (c) => {
1333
- c.preventDefault(), H.value = !1, p(c);
1337
+ const H = o(!1), A = (d) => {
1338
+ d.preventDefault(), H.value = !0;
1339
+ }, M = (d) => {
1340
+ d.preventDefault(), H.value = !1, p(d);
1334
1341
  };
1335
- function R(c) {
1336
- H.value || p(c);
1342
+ function R(d) {
1343
+ H.value || p(d);
1337
1344
  }
1338
1345
  return () => g("input", {
1339
1346
  id: e.id ? e.id + "-textbox" : void 0,
@@ -1345,7 +1352,7 @@ function Ct(e, t, n) {
1345
1352
  disabled: e.disable,
1346
1353
  maxlength: e.maxLength,
1347
1354
  minlength: e.minLength,
1348
- placeholder: d.value,
1355
+ placeholder: c.value,
1349
1356
  readonly: i.value,
1350
1357
  tabindex: e.tabIndex,
1351
1358
  title: u.value,
@@ -1357,16 +1364,16 @@ function Ct(e, t, n) {
1357
1364
  onFocus: b,
1358
1365
  onInput: R,
1359
1366
  onKeydown: k,
1360
- onKeyup: C,
1367
+ onKeyup: w,
1361
1368
  onMousedown: y,
1362
1369
  onCompositionend: M,
1363
1370
  onCompositionstart: A
1364
1371
  }, null);
1365
1372
  }
1366
- function wt(e, t, n) {
1373
+ function Mt(e, t, n) {
1367
1374
  const l = o(e.separator), i = T(() => e.readonly || e.disable), {
1368
1375
  changeTextBoxValue: s,
1369
- onFocusTextBox: d,
1376
+ onFocusTextBox: c,
1370
1377
  onBlurTextBox: u,
1371
1378
  onClickTextBox: f,
1372
1379
  textBoxPlaceholder: m
@@ -1381,15 +1388,15 @@ function wt(e, t, n) {
1381
1388
  l.value = y;
1382
1389
  });
1383
1390
  const k = o(!e.disable && !e.readonly);
1384
- U([() => e.disable, () => e.readonly], ([y, B], [O, S]) => {
1391
+ U([() => e.disable, () => e.readonly], ([y, B], [O, z]) => {
1385
1392
  k.value = !y && !B;
1386
1393
  });
1387
- function C(y) {
1394
+ function w(y) {
1388
1395
  f(y);
1389
1396
  }
1390
- return () => g(et, {
1397
+ return () => g(lt, {
1391
1398
  tabindex: e.tabIndex,
1392
- onFocus: d,
1399
+ onFocus: c,
1393
1400
  onBlur: u,
1394
1401
  id: `${e.id}-tag-editor`,
1395
1402
  class: "form-control",
@@ -1399,58 +1406,58 @@ function wt(e, t, n) {
1399
1406
  showInput: !0,
1400
1407
  disable: i.value,
1401
1408
  onChange: p,
1402
- onClick: C
1409
+ onClick: w
1403
1410
  }, null);
1404
1411
  }
1405
- function xt(e, t, n, l) {
1412
+ function kt(e, t, n, l) {
1406
1413
  const {
1407
1414
  buttonGroupClass: i,
1408
1415
  onClickButton: s,
1409
- onMouseEnterButton: d,
1416
+ onMouseEnterButton: c,
1410
1417
  onMouseLeaveButton: u
1411
1418
  } = n, {
1412
1419
  enableClearButton: f,
1413
1420
  showClearButton: m,
1414
1421
  onClearValue: b
1415
- } = l, p = o(), k = tt((y) => {
1422
+ } = l, p = o(), k = at((y) => {
1416
1423
  s(y);
1417
- }, e.buttonBehavior === "Modal" ? 0 : 200), C = () => {
1424
+ }, e.buttonBehavior === "Modal" ? 0 : 200), w = () => {
1418
1425
  t.emit("beforeClearValue");
1419
1426
  };
1420
1427
  return {
1421
1428
  renderButtonGroup: () => g("div", {
1422
1429
  id: e.id ? `${e.id}-button-group` : void 0,
1423
1430
  class: i.value
1424
- }, [f.value && Ye(g("span", {
1431
+ }, [f.value && qe(g("span", {
1425
1432
  class: "input-group-text input-group-clear",
1426
1433
  onClick: b,
1427
- onMousedown: C
1434
+ onMousedown: w
1428
1435
  }, [g("i", {
1429
1436
  class: "f-icon modal_close"
1430
- }, null)]), [[Ge, m.value]]), t.slots.buttonContent ? g("span", {
1437
+ }, null)]), [[_e, m.value]]), t.slots.buttonContent ? g("span", {
1431
1438
  class: "input-group-text input-group-append-button",
1432
1439
  onClick: k,
1433
- onMouseenter: d,
1440
+ onMouseenter: c,
1434
1441
  onMouseleave: u
1435
1442
  }, [t.slots.buttonContent()]) : e.buttonContent ? g("span", {
1436
1443
  class: "input-group-text input-group-append-button",
1437
1444
  innerHTML: e.buttonContent,
1438
1445
  ref: p,
1439
1446
  onClick: (y) => k(y),
1440
- onMouseenter: d,
1447
+ onMouseenter: c,
1441
1448
  onMouseleave: u
1442
1449
  }, null) : null]),
1443
1450
  buttonHandleElement: p
1444
1451
  };
1445
1452
  }
1446
- function Bt(e, t, n) {
1453
+ function Tt(e, t, n) {
1447
1454
  const l = o(e.popupMinWidth), {
1448
1455
  hidePopup: i,
1449
1456
  popoverRef: s
1450
- } = n, d = () => {
1457
+ } = n, c = () => {
1451
1458
  t.emit("shown");
1452
1459
  };
1453
- return () => g(nt, {
1460
+ return () => g(ot, {
1454
1461
  id: `${e.id}-popover`,
1455
1462
  ref: s,
1456
1463
  placement: e.placement,
@@ -1462,7 +1469,7 @@ function Bt(e, t, n) {
1462
1469
  class: e.popupClass,
1463
1470
  offsetX: e.popupOffsetX,
1464
1471
  onHidden: i,
1465
- onShown: d,
1472
+ onShown: c,
1466
1473
  beforeClose: e.beforeClosePopup,
1467
1474
  limitContentBySpace: e.limitContentBySpace
1468
1475
  }, {
@@ -1472,22 +1479,22 @@ function Bt(e, t, n) {
1472
1479
  }
1473
1480
  });
1474
1481
  }
1475
- const Mt = /* @__PURE__ */ ie({
1482
+ const Et = /* @__PURE__ */ ie({
1476
1483
  name: "FButtonEdit",
1477
- props: lt,
1484
+ props: ut,
1478
1485
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue"],
1479
1486
  setup(e, t) {
1480
- const n = o(), l = o(e.customClass), i = o(e.modelValue), s = pt(e, t, n, i), {
1481
- shouldPopupContent: d,
1487
+ const n = o(), l = o(e.customClass), i = o(e.modelValue), s = xt(e, t, n, i), {
1488
+ shouldPopupContent: c,
1482
1489
  hidePopup: u,
1483
1490
  showPopup: f,
1484
1491
  togglePopup: m
1485
- } = s, b = gt(e, t, n, s, i), p = o(""), k = bt(e, t, i, p, s), {
1486
- hasFocusedTextBox: C,
1492
+ } = s, b = pt(e, t, n, s, i), p = o(""), k = Ct(e, t, i, p, s), {
1493
+ hasFocusedTextBox: w,
1487
1494
  commitValue: y,
1488
1495
  inputGroupClass: B
1489
- } = k, O = yt(e, t, i, C, p, k), {
1490
- onMouseEnterTextBox: S,
1496
+ } = k, O = wt(e, t, i, w, p, k), {
1497
+ onMouseEnterTextBox: z,
1491
1498
  onMouseLeaveTextBox: I
1492
1499
  } = O, H = o(!1), A = T(() => {
1493
1500
  const P = {
@@ -1495,47 +1502,47 @@ const Mt = /* @__PURE__ */ ie({
1495
1502
  "f-cmp-inputgroup": !0,
1496
1503
  "f-button-edit-nowrap": !e.wrapText
1497
1504
  };
1498
- return l.value && l.value.split(" ").reduce((V, r) => (V[r] = !0, V), P), P;
1505
+ return l.value && l.value.split(" ").reduce((D, r) => (D[r] = !0, D), P), P;
1499
1506
  }), M = T(() => ({
1500
1507
  overflow: e.wrapText ? "hidden" : ""
1501
1508
  })), R = T(() => ({
1502
1509
  // paddingLeft: '3px',
1503
1510
  // backgroundColor: '#fff'
1504
1511
  }));
1505
- function c() {
1512
+ function d() {
1506
1513
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
1507
1514
  return 0;
1508
1515
  let P = 0;
1509
- const V = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1510
- return V && V.length && (P = V.map((r) => r.offsetTop).filter((r) => r > 20).length), P;
1516
+ const D = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1517
+ return D && D.length && (P = D.map((r) => r.offsetTop).filter((r) => r > 20).length), P;
1511
1518
  }
1512
- const w = o(c());
1513
- qe(() => {
1514
- w.value = c();
1519
+ const C = o(d());
1520
+ Je(() => {
1521
+ C.value = d();
1515
1522
  });
1516
1523
  function L() {
1517
- return e.multiSelect && e.inputType === "tag" ? () => g(ue, null, [wt(e, i, k)(), !!w.value && g("div", {
1524
+ return e.multiSelect && e.inputType === "tag" ? () => g(ue, null, [Mt(e, i, k)(), !!C.value && g("div", {
1518
1525
  class: "d-flex flex-row mr-2 more-tags",
1519
1526
  "more-tags": !0
1520
1527
  }, [g("span", {
1521
1528
  class: "multi--more-text"
1522
- }, [_e("+"), w.value])])]) : Ct(e, i, k);
1529
+ }, [Qe("+"), C.value])])]) : Bt(e, i, k);
1523
1530
  }
1524
- let D = L();
1531
+ let V = L();
1525
1532
  U([() => e.multiSelect, () => e.inputType], () => {
1526
- D = L();
1533
+ V = L();
1527
1534
  });
1528
1535
  const {
1529
1536
  renderButtonGroup: h,
1530
1537
  buttonHandleElement: j
1531
- } = xt(e, t, b, O), _ = Bt(e, t, s), K = o(d.value), Y = {
1538
+ } = kt(e, t, b, O), J = Tt(e, t, s), K = o(c.value), G = {
1532
1539
  displayText: p,
1533
1540
  commitValue: y,
1534
1541
  elementRef: n,
1535
1542
  hidePopup: u,
1536
1543
  showPopup: f,
1537
1544
  popoverRef: s.popoverRef,
1538
- shouldPopupContent: d,
1545
+ shouldPopupContent: c,
1539
1546
  togglePopup: m,
1540
1547
  openDialog: () => {
1541
1548
  j.value && e.buttonBehavior === "Modal" && j.value.click();
@@ -1549,17 +1556,17 @@ const Mt = /* @__PURE__ */ ie({
1549
1556
  return (P = n.value) == null ? void 0 : P.querySelector("input");
1550
1557
  },
1551
1558
  forceClosePopup: () => {
1552
- K.value = !1, H.value = !0, d.value = !1;
1559
+ K.value = !1, H.value = !0, c.value = !1;
1553
1560
  }
1554
1561
  };
1555
- return te(() => {
1556
- n.value.componentInstance = Y, window.onresize = () => {
1562
+ return ne(() => {
1563
+ n.value.componentInstance = G, window.onresize = () => {
1557
1564
  document.body.click();
1558
1565
  };
1559
- }), $e(() => {
1566
+ }), Ze(() => {
1560
1567
  var P;
1561
1568
  window.onresize = null, (P = window[q]) == null || P.delete(n.value);
1562
- }), t.expose(Y), U(() => d.value, async (P, V) => {
1569
+ }), t.expose(G), U(() => c.value, async (P, D) => {
1563
1570
  if (H.value) {
1564
1571
  K.value = P, H.value = !1;
1565
1572
  return;
@@ -1567,16 +1574,16 @@ const Mt = /* @__PURE__ */ ie({
1567
1574
  if (!P && e.beforeClosePopup && typeof e.beforeClosePopup == "function") {
1568
1575
  try {
1569
1576
  const r = await e.beforeClosePopup();
1570
- K.value = !r, (!r || e.readonly) && (d.value = !0);
1577
+ K.value = !r, (!r || e.readonly) && (c.value = !0);
1571
1578
  } catch (r) {
1572
- console.error("Error in beforeClosePopup:", r), K.value = V, d.value = V;
1579
+ console.error("Error in beforeClosePopup:", r), K.value = D, c.value = D;
1573
1580
  }
1574
1581
  return;
1575
1582
  }
1576
1583
  K.value = P;
1577
1584
  }), () => {
1578
- var P, V;
1579
- return g(ue, null, [g("div", fe(t.attrs, {
1585
+ var P, D;
1586
+ return g(ue, null, [g("div", me(t.attrs, {
1580
1587
  ref: n,
1581
1588
  class: A.value,
1582
1589
  id: e.id ? e.id : void 0,
@@ -1585,14 +1592,14 @@ const Mt = /* @__PURE__ */ ie({
1585
1592
  id: e.id ? `${e.id}-input-group` : void 0,
1586
1593
  class: B.value,
1587
1594
  style: R.value,
1588
- onMouseenter: S,
1595
+ onMouseenter: z,
1589
1596
  onMouseleave: I
1590
- }, [(V = (P = t.slots).precontent) == null ? void 0 : V.call(P), D(), h()])]), K.value && _()]);
1597
+ }, [(D = (P = t.slots).precontent) == null ? void 0 : D.call(P), V(), h()])]), K.value && J()]);
1591
1598
  };
1592
1599
  }
1593
- }), Ht = Qe(Mt);
1600
+ }), jt = nt(Et);
1594
1601
  export {
1595
- Mt as FButtonEdit,
1596
- lt as buttonEditProps,
1597
- Ht as default
1602
+ Et as FButtonEdit,
1603
+ ut as buttonEditProps,
1604
+ jt as default
1598
1605
  };