@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 Ve = Object.defineProperty;
2
- var Ne = (e, t, n) => t in e ? Ve(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 { getMaxZIndex as Ae, withInstall as $e } from "../../components/common/index.esm.js";
5
- import { resolveAppearance as Xe, createPropsResolver as Ye } from "../../components/dynamic-resolver/index.esm.js";
6
- import qe, { buttonEditProps as Ge } from "../../components/button-edit/index.esm.js";
7
- import { defineComponent as ue, ref as o, computed as O, createVNode as h, Teleport as ce, createApp as de, onUnmounted as se, Fragment as Ue, watch as A, nextTick as U, onBeforeMount as Ke, onMounted as ie, Transition as Je, shallowRef as _e, render as oe, h as Ze, cloneVNode as Qe, mergeProps as fe, inject as ve } from "vue";
8
- import { LocaleService as Z } from "../../components/locale/index.esm.js";
1
+ var Ae = Object.defineProperty;
2
+ var $e = (e, t, n) => t in e ? Ae(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var X = (e, t, n) => $e(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { isMobilePhone as Xe, getMaxZIndex as fe, withInstall as Ye } from "../../components/common/index.esm.js";
5
+ import { resolveAppearance as qe, createPropsResolver as Ge } from "../../components/dynamic-resolver/index.esm.js";
6
+ import Ue, { buttonEditProps as Ke } from "../../components/button-edit/index.esm.js";
7
+ import { defineComponent as ue, ref as o, computed as z, createVNode as h, Teleport as ve, createApp as pe, onUnmounted as se, Fragment as Je, watch as $, nextTick as U, onBeforeMount as _e, onMounted as ie, watchEffect as Ze, Transition as Qe, shallowRef as et, render as oe, h as tt, cloneVNode as nt, mergeProps as he, inject as me } from "vue";
8
+ import { LocaleService as Q } from "../../components/locale/index.esm.js";
9
9
  import "../../components/property-panel/index.esm.js";
10
- import { useDesignerComponent as et } from "../../components/designer-canvas/index.esm.js";
11
- const tt = {
10
+ import { useDesignerComponent as lt } from "../../components/designer-canvas/index.esm.js";
11
+ const at = {
12
12
  /**
13
13
  * 组件标识
14
14
  */
@@ -128,23 +128,23 @@ const tt = {
128
128
  */
129
129
  limitContentBySpace: { type: Boolean, default: !1 },
130
130
  beforeClosePopup: { type: Function, default: null }
131
- }, nt = {
131
+ }, ot = {
132
132
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
133
133
  host: { type: Object },
134
134
  backgroundColor: { type: String, default: "" }
135
- }, lt = /* @__PURE__ */ ue({
135
+ }, ut = /* @__PURE__ */ ue({
136
136
  name: "FOverlay",
137
- props: nt,
137
+ props: ot,
138
138
  emits: ["click"],
139
139
  setup(e, t) {
140
- const n = o(e.popupContentPosition), a = o(e.host), c = O(() => ({
140
+ const n = o(e.popupContentPosition), a = o(e.host), c = z(() => ({
141
141
  backgroundColor: e.backgroundColor || "",
142
142
  pointerEvents: "auto"
143
143
  }));
144
144
  function i(s) {
145
145
  t.emit("click"), s.preventDefault(), s.stopPropagation();
146
146
  }
147
- O(() => {
147
+ z(() => {
148
148
  const s = a.value;
149
149
  if (s) {
150
150
  const f = s.getBoundingClientRect(), {
@@ -159,12 +159,12 @@ const tt = {
159
159
  }
160
160
  return n.value;
161
161
  });
162
- const v = O(() => ({
162
+ const v = z(() => ({
163
163
  // position: 'relative',
164
164
  // left: `${position.value.left}px`,
165
165
  // top: `${position.value.top}px`
166
166
  }));
167
- return () => h(ce, {
167
+ return () => h(ve, {
168
168
  to: "body"
169
169
  }, {
170
170
  default: () => {
@@ -180,13 +180,13 @@ const tt = {
180
180
  });
181
181
  }
182
182
  });
183
- function at(e) {
183
+ function st(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 ot(e) {
189
+ function it(e) {
190
190
  const t = document.createElement("div");
191
191
  t.style.display = "contents";
192
192
  let n;
@@ -194,13 +194,13 @@ function ot(e) {
194
194
  }), c = () => {
195
195
  a(), n && n.unmount();
196
196
  };
197
- return n = de({
197
+ return n = pe({
198
198
  setup() {
199
199
  se(() => {
200
200
  document.body.removeChild(t);
201
201
  });
202
- const i = at(e);
203
- return () => h(lt, {
202
+ const i = st(e);
203
+ return () => h(ut, {
204
204
  "popup-content-position": e.popupPosition,
205
205
  host: e.host,
206
206
  onClick: c,
@@ -211,12 +211,12 @@ function ot(e) {
211
211
  }
212
212
  }), document.body.appendChild(t), n.mount(t), n;
213
213
  }
214
- class ut {
214
+ class rt {
215
215
  static show(t) {
216
- return ot(t);
216
+ return it(t);
217
217
  }
218
218
  }
219
- const st = {
219
+ const ct = {
220
220
  /**
221
221
  * 允许点击遮罩关闭对话框
222
222
  */
@@ -295,7 +295,8 @@ const st = {
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 S {
301
302
  constructor(t, n) {
@@ -361,12 +362,12 @@ class S {
361
362
  return this.x = t.x, this.y = t.y, this;
362
363
  }
363
364
  }
364
- class X {
365
+ class Y {
365
366
  constructor(t, n) {
366
367
  this.width = t, this.height = n;
367
368
  }
368
369
  static getCurrent(t) {
369
- const n = new X(0, 0);
370
+ const n = new Y(0, 0);
370
371
  if (window) {
371
372
  const a = window.getComputedStyle(t);
372
373
  return a && (n.width = parseInt(a.getPropertyValue("width"), 10), n.height = parseInt(a.getPropertyValue("height"), 10)), n;
@@ -374,13 +375,13 @@ class X {
374
375
  return null;
375
376
  }
376
377
  static copy(t) {
377
- return new X(0, 0).set(t);
378
+ return new Y(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 it(e, t) {
384
+ function dt(e, t) {
384
385
  const n = o(), a = o(), c = o(), i = o(), v = o(), s = o(), f = o(), p = o(), g = o(), b = o(), I = o(), w = o(e.resizeable), B = o(), k = o(e.draggable), j = o(!1);
385
386
  function P() {
386
387
  const u = a.value || document.body, r = window.getComputedStyle(u);
@@ -391,9 +392,9 @@ function it(e, t) {
391
392
  const T = r.getPropertyValue("position");
392
393
  y.width = u.clientWidth, y.height = u.clientHeight, y.pr = parseInt(r.getPropertyValue("padding-right"), 10), y.pb = parseInt(r.getPropertyValue("padding-bottom"), 10), y.position = r.getPropertyValue("position"), T === "static" && (u.style.position = "relative"), y.translateX = M.x, y.translateY = M.y, b.value = y;
393
394
  }
394
- function z(u) {
395
+ function O(u) {
395
396
  if (n.value) {
396
- i.value = X.getCurrent(n.value), v.value = S.getCurrent(n.value), s.value = i.value ? X.copy(i.value) : null, f.value = v.value ? S.copy(v.value) : null, P();
397
+ i.value = Y.getCurrent(n.value), v.value = S.getCurrent(n.value), s.value = i.value ? Y.copy(i.value) : null, f.value = v.value ? S.copy(v.value) : null, P();
397
398
  const r = u.target.getAttribute("type") || "";
398
399
  p.value = {
399
400
  n: !!r.match(/n/),
@@ -410,7 +411,7 @@ function it(e, t) {
410
411
  p.value && ((p.value.n || p.value.s) && ((u = s.value) != null && u.height) && (T.style.height = s.value.height + "px"), (p.value.w || p.value.e) && ((r = s.value) != null && r.width) && (T.style.width = s.value.width + "px"), f.value && ((M = f.value) != null && M.x && (T.style.left = f.value.x + "px"), (y = f.value) != null && y.y && (T.style.top = f.value.y + "px")));
411
412
  }
412
413
  }
413
- function N() {
414
+ function A() {
414
415
  const u = e.minHeight ? e.minHeight : 1, r = e.minWidth ? e.minWidth : 1;
415
416
  s.value && f.value && p.value && i.value && (s.value.height < u && (s.value.height = u, p.value.n && v.value && (f.value.y = v.value.y + (i.value.height - u))), s.value.width < r && (s.value.width = r, p.value.w && v.value && (f.value.x = v.value.x + (i.value.width - r))), e.maxHeight && s.value.height > e.maxHeight && (s.value.height = e.maxHeight, v.value && p.value.n && (f.value.y = v.value.y + (i.value.height - e.maxHeight))), e.maxWidth && s.value.width > e.maxWidth && (s.value.width = e.maxWidth, p.value.w && v.value && (f.value.x = v.value.x + (i.value.width - e.maxWidth))));
416
417
  }
@@ -428,7 +429,7 @@ function it(e, t) {
428
429
  return;
429
430
  u.subtract(c.value);
430
431
  const r = u.x, M = u.y;
431
- p.value.n ? (f.value.y = v.value.y + M, s.value.height = i.value.height - M) : p.value.s && (s.value.height = i.value.height + M), p.value.e ? s.value.width = i.value.width + r : p.value.w && (s.value.width = i.value.width - r, f.value.x = v.value.x + r), x(), N(), L();
432
+ p.value.n ? (f.value.y = v.value.y + M, s.value.height = i.value.height - M) : p.value.s && (s.value.height = i.value.height + M), p.value.e ? s.value.width = i.value.width + r : p.value.w && (s.value.width = i.value.width - r, f.value.x = v.value.x + r), x(), A(), L();
432
433
  }
433
434
  function d(u) {
434
435
  if (!g.value)
@@ -468,10 +469,10 @@ function it(e, t) {
468
469
  document.addEventListener("mousemove", d), document.addEventListener("mouseup", R);
469
470
  }
470
471
  function E(u) {
471
- u instanceof MouseEvent && u.button === 2 || k.value && (document.body.click(), u.stopPropagation(), u.preventDefault(), c.value = S.fromEvent(u), g.value = u.target, z(u), D());
472
+ u instanceof MouseEvent && u.button === 2 || k.value && (document.body.click(), u.stopPropagation(), u.preventDefault(), c.value = S.fromEvent(u), g.value = u.target, O(u), D());
472
473
  }
473
474
  function V(u) {
474
- return n.value = u, w.value && h(Ue, null, [h("div", {
475
+ return n.value = u, w.value && h(Je, null, [h("div", {
475
476
  class: "fv-resizable-handle fv-resizable-n",
476
477
  type: "n",
477
478
  onMousedown: (r) => E(r)
@@ -507,7 +508,7 @@ function it(e, t) {
507
508
  }
508
509
  function J(u = !0) {
509
510
  document.body.click();
510
- const r = a.value || document.body, M = X.getCurrent(r), y = n.value;
511
+ const r = a.value || document.body, M = Y.getCurrent(r), y = n.value;
511
512
  u && y && (B.value = C(), B.value.transform = y.style.transform), M && y && (s.value = M, s.value.height -= 14, s.value.width -= 14, y.style.height = s.value.height + "px", y.style.width = s.value.width + "px", y.style.left = "7px", y.style.top = "7px", y.style.transform = "", I.value = {
512
513
  size: s.value,
513
514
  position: {
@@ -516,7 +517,7 @@ function it(e, t) {
516
517
  }
517
518
  }, k.value = !1, j.value = !0);
518
519
  }
519
- function ee() {
520
+ function te() {
520
521
  var u, r;
521
522
  if (document.body.click(), B.value) {
522
523
  const M = {
@@ -536,7 +537,7 @@ function it(e, t) {
536
537
  }
537
538
  function _() {
538
539
  if (n.value) {
539
- const u = X.getCurrent(n.value);
540
+ const u = Y.getCurrent(n.value);
540
541
  if (u) {
541
542
  const {
542
543
  width: r,
@@ -546,7 +547,7 @@ function it(e, t) {
546
547
  }
547
548
  }
548
549
  }
549
- function Y() {
550
+ function q() {
550
551
  const u = () => {
551
552
  j.value ? J(!1) : _(), document.body.click();
552
553
  };
@@ -554,22 +555,22 @@ function it(e, t) {
554
555
  window.removeEventListener("resize", u);
555
556
  };
556
557
  }
557
- const te = Y();
558
+ const ne = q();
558
559
  return {
559
560
  renderResizeBar: V,
560
561
  boundingElement: a,
561
562
  resizedEventParam: I,
562
563
  maximize: J,
563
- restore: ee,
564
+ restore: te,
564
565
  allowDrag: k,
565
566
  isMaximized: j,
566
- unWindowResizeHandle: te,
567
+ unWindowResizeHandle: ne,
567
568
  moveToCenter: _
568
569
  };
569
570
  }
570
- function rt(e, t, n) {
571
+ function ft(e, t, n) {
571
572
  const a = o(), c = o(e.draggable), i = o(e.lockAxis), v = o(), s = o(), f = o(!1), p = o(new S(0, 0)), g = o(new S(0, 0)), b = o(new S(0, 0)), I = o(new S(0, 0));
572
- A(() => n.value, (d) => {
573
+ $(() => n.value, (d) => {
573
574
  v.value.style.cursor = d ? "move" : "default";
574
575
  });
575
576
  function w(d, C) {
@@ -606,14 +607,14 @@ function rt(e, t, n) {
606
607
  function P(d) {
607
608
  f.value && c.value && (d.stopPropagation(), d.preventDefault(), j(S.fromEvent(d, v.value)));
608
609
  }
609
- function z() {
610
+ function O() {
610
611
  var d;
611
- f.value && (f.value = !1, g.value.add(b.value), b.value.reset(), (d = a.value) == null || d.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", P), document.removeEventListener("mouseup", z));
612
+ f.value && (f.value = !1, g.value.add(b.value), b.value.reset(), (d = a.value) == null || d.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", P), document.removeEventListener("mouseup", O));
612
613
  }
613
614
  function L() {
614
- !f.value && v.value && (f.value = !0, v.value.classList.add("ng-dragging"), document.addEventListener("mousemove", P), document.addEventListener("mouseup", z));
615
+ !f.value && v.value && (f.value = !0, v.value.classList.add("ng-dragging"), document.addEventListener("mousemove", P), document.addEventListener("mouseup", O));
615
616
  }
616
- function N() {
617
+ function A() {
617
618
  if (a.value) {
618
619
  const d = S.getTransformInfo(a.value);
619
620
  g.value.set(d);
@@ -625,7 +626,7 @@ function rt(e, t, n) {
625
626
  if (!n.value || d instanceof MouseEvent && d.button === 2)
626
627
  return;
627
628
  const C = d.target || d.srcElement;
628
- v.value !== void 0 && C && !w(C, v.value) || c.value !== !1 && (document.body.click(), d.stopPropagation(), d.preventDefault(), p.value = S.fromEvent(d, a.value), N(), L());
629
+ v.value !== void 0 && C && !w(C, v.value) || c.value !== !1 && (document.body.click(), d.stopPropagation(), d.preventDefault(), p.value = S.fromEvent(d, a.value), A(), L());
629
630
  }
630
631
  function H(d, C, R) {
631
632
  if (c.value && C) {
@@ -644,10 +645,10 @@ function rt(e, t, n) {
644
645
  }
645
646
  return {
646
647
  registerDraggle: H,
647
- resetTranslate: N
648
+ resetTranslate: A
648
649
  };
649
650
  }
650
- function pe(e, t) {
651
+ function ye(e, t) {
651
652
  if (e) {
652
653
  const n = (a) => {
653
654
  a.key.toLowerCase() === e.toLowerCase() && t({ event: a, key: e });
@@ -657,19 +658,19 @@ function pe(e, t) {
657
658
  };
658
659
  }
659
660
  }
660
- function ct(e, t) {
661
+ function vt(e, t) {
661
662
  const n = o(e.enableEsc);
662
663
  let a = null;
663
- return n.value ? (a = pe("Escape", (c) => {
664
+ return n.value ? (a = ye("Escape", (c) => {
664
665
  t.emit("esc", { event: c.event, type: "esc" });
665
666
  }), {
666
667
  remove: a
667
668
  }) : null;
668
669
  }
669
- function dt(e, t) {
670
+ function pt(e, t) {
670
671
  const n = o(e.enableEnter);
671
672
  let a = null;
672
- return n.value ? (a = pe("Enter", (c) => {
673
+ return n.value ? (a = ye("Enter", (c) => {
673
674
  t.emit("enter", { event: c.event, type: "enter" });
674
675
  }), {
675
676
  remove: a
@@ -677,12 +678,12 @@ function dt(e, t) {
677
678
  }
678
679
  const K = /* @__PURE__ */ ue({
679
680
  name: "FModal",
680
- props: st,
681
+ props: ct,
681
682
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
682
683
  setup(e, t) {
683
- const n = o(e.width || 300), a = o(e.height || 200), c = o(e.modelValue), i = o(""), v = o(e.class), s = o(e.fitContent), f = o(e.showHeader), p = o(""), g = o(e.showCloseButton), b = o(e.showMaxButton), I = o(!1), w = o(e.dialogType), B = o(e.src), k = o(""), j = o(e.showButtons), P = o(e.title), z = o(e.containment || null), L = o();
684
- P.value === "错误提示" && (P.value = Z.getLocaleValue("messageBox.errorTitle"));
685
- const N = o(!1);
684
+ const n = o(e.width || 300), a = o(e.height || 200), c = o(e.modelValue), i = o(""), v = o(e.class), s = o(e.fitContent), f = o(e.showHeader), p = o(""), g = o(e.showCloseButton), b = o(e.showMaxButton), I = o(!1), w = o(e.dialogType), B = o(e.src), k = o(""), j = o(e.showButtons), P = o(e.title), O = o(e.containment || null), L = o();
685
+ P.value === "错误提示" && (P.value = Q.getLocaleValue("messageBox.errorTitle"));
686
+ const A = o(!1);
686
687
  function x(l, m) {
687
688
  const F = m ? "accept" : "cancel";
688
689
  Promise.resolve().then(() => {
@@ -696,154 +697,157 @@ const K = /* @__PURE__ */ ue({
696
697
  }
697
698
  const H = [{
698
699
  name: "cancel",
699
- text: Z.getLocaleValue("messageBox.cancel") || "取消",
700
+ text: Q.getLocaleValue("messageBox.cancel") || "取消",
700
701
  class: "btn btn-secondary",
701
702
  handle: (l) => {
702
703
  x(l, !1);
703
704
  }
704
705
  }, {
705
706
  name: "accept",
706
- text: Z.getLocaleValue("messageBox.ok") || "确定",
707
+ text: Q.getLocaleValue("messageBox.ok") || "确定",
707
708
  class: "btn btn-primary",
708
709
  handle: (l) => {
709
710
  x(l, !0);
710
711
  }
711
- }], d = o(e.buttons && e.buttons.length ? e.buttons : H), C = O(() => !!p.value), R = O(() => !!j.value && !!d.value), D = o(), E = o(), V = o(!1), {
712
+ }], d = o(e.buttons && e.buttons.length ? e.buttons : H), C = z(() => !!p.value), R = z(() => !!j.value && !!d.value), D = o(), E = o(), V = o(!1), {
712
713
  renderResizeBar: J,
713
- maximize: ee,
714
+ maximize: te,
714
715
  restore: _,
715
- boundingElement: Y,
716
- resizedEventParam: te,
716
+ boundingElement: q,
717
+ resizedEventParam: ne,
717
718
  allowDrag: u,
718
719
  unWindowResizeHandle: r,
719
720
  moveToCenter: M
720
- } = it(e), {
721
+ } = dt(e), {
721
722
  registerDraggle: y
722
- } = rt(e, t, u);
723
+ } = ft(e, t, u);
723
724
  function T() {
724
725
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
725
726
  }
726
- function be() {
727
+ function xe() {
727
728
  const l = document.querySelectorAll(".farris-modal").length;
728
729
  (!l || l - 1 <= 0) && document.body.classList.remove("modal-open"), L.value && L.value.classList.remove("show");
729
730
  }
730
- A(() => e.title, (l, m) => {
731
+ $(() => e.title, (l, m) => {
731
732
  l !== m && (P.value = l);
732
- }), A(() => e.modelValue, (l, m) => {
733
+ }), $(() => e.modelValue, (l, m) => {
733
734
  l !== m && (c.value = l, c.value && e.draggable && U(() => {
734
- E.value && !z.value && (z.value = E.value.parentElement, Y.value = z.value, y(D.value, E.value, Y.value), M());
735
- }), l || (z.value && (z.value = null), be())), c.value ? N.value = T() : (V.value = !1, u.value = e.draggable);
736
- }), A(() => e.showHeader, (l, m) => {
735
+ E.value && !O.value && (O.value = E.value.parentElement, q.value = O.value, y(D.value, E.value, q.value), M());
736
+ }), l || (O.value && (O.value = null), xe())), c.value ? A.value = T() : (V.value = !1, u.value = e.draggable);
737
+ }), $(() => e.showHeader, (l, m) => {
737
738
  l !== m && (f.value = l);
738
- }), A(() => e.showButtons, (l, m) => {
739
+ }), $(() => e.showButtons, (l, m) => {
739
740
  l !== m && (j.value = l);
740
- }), A(() => te.value, (l, m) => {
741
+ }), $(() => ne.value, (l, m) => {
741
742
  const F = l || {}, W = m || {};
742
743
  JSON.stringify(F) !== JSON.stringify(W) && t.emit("resize", {
743
744
  newSize: l,
744
745
  oldSize: m,
745
746
  isMaximized: V.value
746
747
  });
747
- }), A([() => e.width, () => e.height], (l, m) => {
748
+ }), $([() => e.width, () => e.height], (l, m) => {
748
749
  (l[0] !== m[0] || l[1] !== m[1]) && (n.value = l[0] || 500, a.value = l[1] || 600);
750
+ }), $(() => e.class, (l, m) => {
751
+ v.value = l;
749
752
  });
750
- const ne = O(() => (c.value && document.body.classList.add("modal-open"), c.value)), we = O(() => {
753
+ const Z = z(() => (c.value && document.body.classList.add("modal-open"), c.value)), Me = z(() => {
751
754
  var F;
752
755
  const l = {
753
756
  modal: !0,
754
757
  "farris-modal": !0,
755
758
  fade: !0
756
759
  };
757
- l["f-modal-fitContent"] = !!s.value, l.show = !!ne.value;
760
+ l["f-modal-fitContent"] = !!s.value, l.show = !!Z.value;
758
761
  const m = (F = e.maskClass) == null ? void 0 : F.split(" ");
759
- return m == null || m.reduce((W, q) => (W[q] = !0, W), l), l;
760
- }), Ce = O(() => {
762
+ return m == null || m.reduce((W, N) => (W[N] = !0, W), l), l;
763
+ }), Be = z(() => {
761
764
  var F;
762
765
  const l = {
763
766
  "modal-dialog": !0
764
767
  }, m = (F = v.value) == null ? void 0 : F.split(" ");
765
- return m == null || m.reduce((W, q) => (W[q] = !0, W), l), l;
766
- }), xe = O(() => {
767
- const l = document.documentElement.clientWidth, m = document.documentElement.clientHeight, F = Math.min(n.value, l), W = s.value ? "auto" : `${Math.min(a.value, m - 10)}px`, q = {
768
+ return m == null || m.reduce((W, N) => (W[N] = !0, W), l), l;
769
+ }), re = () => Xe() && !e.isMessager, ke = z(() => {
770
+ const l = document.documentElement.clientWidth, m = document.documentElement.clientHeight, F = Math.min(n.value, l), W = s.value ? "auto" : `${Math.min(a.value, m - 10)}px`, N = {
768
771
  position: "absolute",
769
772
  top: `${(window.innerHeight - parseInt(W === "auto" ? "0" : W)) / 2}px`,
770
773
  left: `${(window.innerWidth - F) / 2}px`,
771
774
  width: `${F}px`,
772
775
  height: W
773
776
  };
774
- return e.mask || (q.pointerEvents = "auto"), q;
775
- }), Me = () => Ae() || 1040, Be = O(() => {
777
+ return re() && (N.top = "0px", N.left = "0px", N.width = `${window.innerWidth}px`, N.height = `${window.innerHeight}px`), e.mask || (N.pointerEvents = "auto"), N;
778
+ }), ce = o(fe() || 1050), Ee = z(() => {
776
779
  const l = {
777
780
  display: "block",
778
- zIndex: Me()
781
+ overflow: "hidden"
779
782
  };
780
- return e.mask || (l.pointerEvents = "none", l.backgroundColor = "transparent"), N.value && (l.backgroundColor = "transparent"), l;
781
- }), ke = O(() => ({
783
+ return e.mask || (l.pointerEvents = "none", l.backgroundColor = "transparent"), A.value && (l.backgroundColor = "transparent"), l.zIndex = ce.value, l;
784
+ }), Oe = z(() => ({
782
785
  "modal-content": !0,
783
- "modal-content-has-header": f.value
784
- })), Ee = O(() => {
786
+ "modal-content-has-header": f.value,
787
+ "is-mobile": re()
788
+ })), ze = z(() => {
785
789
  const l = {
786
790
  display: f.value ? "" : "none"
787
791
  };
788
792
  return l["pointer-events"] = u.value ? "auto" : "none", l;
789
- }), ze = O(() => ({
793
+ }), Ie = z(() => ({
790
794
  "f-icon": !0,
791
795
  modal_maximize: !0,
792
796
  modalrevert: V.value
793
- })), Oe = O(() => ({
797
+ })), Se = z(() => ({
794
798
  "modal-body": !0,
795
799
  "f-utils-flex-column": w.value === "iframe",
796
800
  "f-utils-fill": !0
797
801
  }));
798
- function Ie() {
802
+ function He() {
799
803
  return {
800
804
  height: `${e.footerHeight || 60}px`
801
805
  };
802
806
  }
803
- const Se = O(() => {
807
+ const Te = z(() => {
804
808
  const l = {
805
809
  textAlgin: k.value
806
- }, m = Ie();
810
+ }, m = He();
807
811
  return Object.assign(l, m);
808
812
  });
809
- function re(l) {
813
+ function de(l) {
810
814
  if (l == null || l.stopPropagation(), V.value) {
811
815
  V.value = !1, _();
812
816
  return;
813
817
  }
814
- ee(), V.value = !0;
818
+ te(), V.value = !0;
815
819
  }
816
- async function He(l, m) {
820
+ async function Pe(l, m) {
817
821
  l.handle && await l.handle(m, l) && t.emit("closed", m);
818
822
  }
819
- function Te(l) {
823
+ function Re(l) {
820
824
  l.width && (n.value = l.width), l.height && (a.value = l.height), l.buttons && (d.value = l.buttons), l.title && (P.value = l.title);
821
825
  }
822
826
  let le = null, ae = null;
823
- Ke(() => {
824
- N.value = T();
827
+ _e(() => {
828
+ A.value = T();
825
829
  }), ie(() => {
826
- E.value && !z.value && (z.value = E.value.parentElement, Y.value = z.value, y(D.value, E.value, Y.value)), ne.value && document.body.classList.add("modal-open"), le = ct(e, t), ae = dt(e, t);
830
+ E.value && !O.value && (O.value = E.value.parentElement, q.value = O.value, y(D.value, E.value, q.value)), Z.value && document.body.classList.add("modal-open"), le = vt(e, t), ae = pt(e, t);
827
831
  }), se(() => {
828
832
  r && r(), le && le.remove(), ae && ae.remove();
829
833
  }), t.expose({
830
834
  modalElementRef: E,
831
- updateModalOptions: Te,
835
+ updateModalOptions: Re,
832
836
  close: x,
833
- maxDialog: re,
837
+ maxDialog: de,
834
838
  isMaximized: V
835
839
  });
836
- function Pe() {
840
+ function je() {
837
841
  return h("ul", null, [I.value && h("li", {
838
842
  class: "f-btn-icon f-bare"
839
843
  }, [h("span", {
840
844
  class: "f-icon modal_minimize"
841
845
  }, null)]), b.value && h("li", {
842
- onClick: re,
846
+ onClick: de,
843
847
  class: "f-btn-icon f-bare",
844
848
  style: "pointer-events: auto;"
845
849
  }, [h("span", {
846
- class: ze.value
850
+ class: Ie.value
847
851
  }, null)]), g.value && h("li", {
848
852
  class: "f-btn-icon f-bare",
849
853
  onClick: (l) => x(l, !1),
@@ -852,10 +856,10 @@ const K = /* @__PURE__ */ ue({
852
856
  class: "f-icon modal_close"
853
857
  }, null)])]);
854
858
  }
855
- function Re() {
859
+ function Le() {
856
860
  return h("div", {
857
861
  class: "modal-footer",
858
- style: Se.value
862
+ style: Te.value
859
863
  }, [d.value && d.value.map((l) => {
860
864
  const m = o(l.disabled);
861
865
  return h("button", {
@@ -864,18 +868,18 @@ const K = /* @__PURE__ */ ue({
864
868
  disabled: m.value,
865
869
  class: l.class + (l.iconClass ? " btn-icontext" : ""),
866
870
  onClick: (F) => {
867
- He(l, F);
871
+ Pe(l, F);
868
872
  }
869
873
  }, [!!l.iconClass && h("i", {
870
874
  class: l.iconClass
871
875
  }, null), l.text]);
872
876
  })]);
873
877
  }
874
- function je() {
878
+ function We() {
875
879
  return h("div", {
876
880
  ref: D,
877
881
  class: "modal-header",
878
- style: Ee.value
882
+ style: ze.value
879
883
  }, [t.slots.headerTemplate ? t.slots.headerTemplate() : h("div", {
880
884
  class: "modal-title"
881
885
  }, [C.value && h("span", {
@@ -885,67 +889,69 @@ const K = /* @__PURE__ */ ue({
885
889
  class: "modal-title-label"
886
890
  }, [P.value])]), h("div", {
887
891
  class: "actions"
888
- }, [Pe()])]);
892
+ }, [je()])]);
889
893
  }
890
- function Le() {
891
- return t.slots.footerTemplate ? t.slots.footerTemplate() : R.value && Re();
894
+ function Fe() {
895
+ return t.slots.footerTemplate ? t.slots.footerTemplate() : R.value && Le();
892
896
  }
893
- function We(l) {
897
+ function De(l) {
894
898
  if (l.stopPropagation(), e.allowClickMaskToClose) {
895
899
  if (l.target !== L.value)
896
900
  return;
897
901
  x(l, !1);
898
902
  }
899
903
  }
900
- function Fe() {
904
+ function Ve() {
901
905
  var l, m;
902
906
  return h("div", {
903
907
  id: i.value,
904
- class: Ce.value,
905
- style: xe.value,
908
+ class: Be.value,
909
+ style: ke.value,
906
910
  ref: E
907
911
  }, [h("div", {
908
- class: ke.value
909
- }, [f.value && je(), h("div", {
910
912
  class: Oe.value
913
+ }, [f.value && We(), h("div", {
914
+ class: Se.value
911
915
  }, [(m = (l = t.slots).default) == null ? void 0 : m.call(l), w.value === "iframe" && h("iframe", {
912
916
  title: i.value,
913
917
  class: "f-utils-fill",
914
918
  width: "100%",
915
919
  frameborder: "0",
916
920
  src: B.value
917
- }, null)]), Le()]), !s.value && E.value && !V.value && J(E.value)]);
921
+ }, null)]), Fe()]), !s.value && E.value && !V.value && J(E.value)]);
918
922
  }
919
- function De(l) {
923
+ function Ne(l) {
920
924
  return l || "body";
921
925
  }
922
- return () => h(ce, {
923
- to: De(e.host)
926
+ return Ze(() => {
927
+ Z.value && (ce.value = fe() || 1050);
928
+ }), () => h(ve, {
929
+ to: Ne(e.host)
924
930
  }, {
925
- default: () => [ne.value && h(Je, {
931
+ default: () => [Z.value && h(Qe, {
926
932
  name: "fade",
927
933
  appear: !0
928
934
  }, {
929
935
  default: () => [h("div", {
930
936
  ref: L,
931
- class: we.value,
932
- style: Be.value,
933
- onClick: We
934
- }, [Fe()])]
937
+ class: Me.value,
938
+ style: Ee.value,
939
+ onClick: De
940
+ }, [Ve()])]
935
941
  })]
936
942
  });
937
943
  }
938
944
  });
939
- function he(e) {
945
+ function ge(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 ft(e) {
951
+ function ht(e) {
946
952
  const t = document.createElement("div");
947
953
  t.style.display = "contents";
948
- const n = de({
954
+ const n = pe({
949
955
  setup(a, c) {
950
956
  se(() => {
951
957
  document.body.removeChild(t);
@@ -955,7 +961,7 @@ function ft(e) {
955
961
  }), B = e.closedCallback || ((L) => {
956
962
  }), k = e.resizeHandle || ((L) => {
957
963
  }), j = e.stopMoveHandle || ((L) => {
958
- }), P = he(e), z = (L) => {
964
+ }), P = ge(e), O = (L) => {
959
965
  g.value = !1, n.unmount(), B(L);
960
966
  };
961
967
  return ie(() => {
@@ -977,7 +983,7 @@ function ft(e) {
977
983
  onAccept: I,
978
984
  onCancel: w,
979
985
  fitContent: e.fitContent == null ? !0 : e.fitContent,
980
- onClosed: z,
986
+ onClosed: O,
981
987
  onResize: k,
982
988
  onStopMove: j
983
989
  }, {
@@ -985,16 +991,16 @@ function ft(e) {
985
991
  });
986
992
  }
987
993
  });
988
- return document.body.appendChild(t), n.use(Z.i18n), n.mount(t), n;
994
+ return document.body.appendChild(t), n.use(Q.i18n), n.mount(t), n;
989
995
  }
990
- class vt {
996
+ class mt {
991
997
  constructor(t) {
992
- $(this, "appContext", null);
993
- $(this, "modalRef", o());
994
- $(this, "activeModalIndex", o(0));
995
- $(this, "modalRefs", {});
996
- $(this, "isUseEscCloseModal", o(!1));
997
- $(this, "activeModalInstance", O(() => this.modalRefs[this.activeModalIndex.value]));
998
+ X(this, "appContext", null);
999
+ X(this, "modalRef", o());
1000
+ X(this, "activeModalIndex", o(0));
1001
+ X(this, "modalRefs", {});
1002
+ X(this, "isUseEscCloseModal", o(!1));
1003
+ X(this, "activeModalInstance", z(() => 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 vt {
1019
1025
  showButtons: !0,
1020
1026
  showHeader: !0
1021
1027
  }, t);
1022
- return ft(n);
1028
+ return ht(n);
1023
1029
  }
1024
1030
  close(t) {
1025
1031
  var n, a;
@@ -1028,7 +1034,7 @@ class vt {
1028
1034
  open(t) {
1029
1035
  const n = document.createDocumentFragment();
1030
1036
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
1031
- const a = _e(Object.assign({
1037
+ const a = et(Object.assign({
1032
1038
  title: "",
1033
1039
  showButtons: !0,
1034
1040
  showHeader: !0
@@ -1039,7 +1045,7 @@ class vt {
1039
1045
  }), p = t.stopMoveHandle || ((x) => {
1040
1046
  });
1041
1047
  let g;
1042
- const b = he(a.value), I = (x) => {
1048
+ const b = ge(a.value), I = (x) => {
1043
1049
  var d;
1044
1050
  c.value = !1;
1045
1051
  const H = (d = x == null ? void 0 : x.target) == null ? void 0 : d.classList.contains("modal_close");
@@ -1060,11 +1066,12 @@ class vt {
1060
1066
  height: j
1061
1067
  } = a.value, P = this.adaptToWindow(k || 500, j || 320);
1062
1068
  Object.assign(a.value, P);
1063
- const z = () => h(K, fe({
1069
+ const O = () => h(K, he({
1064
1070
  ref: this.modalRef,
1065
1071
  modelValue: c.value,
1066
1072
  "onUpdate:modelValue": (x) => c.value = x
1067
1073
  }, a.value, {
1074
+ isMessager: a.value.class && a.value.class.indexOf("modal-message") > -1,
1068
1075
  onAccept: i,
1069
1076
  onCancel: v,
1070
1077
  onClosed: w,
@@ -1075,7 +1082,7 @@ class vt {
1075
1082
  default: () => [b && b(this.app)]
1076
1083
  });
1077
1084
  return g = ((x) => {
1078
- const H = Ze(z, x);
1085
+ const H = tt(O, x);
1079
1086
  return H.appContext = this.appContext, oe(H, n), H;
1080
1087
  })({
1081
1088
  ...a.value
@@ -1085,7 +1092,7 @@ class vt {
1085
1092
  a.value = {
1086
1093
  ...a.value,
1087
1094
  ...x
1088
- }, g && oe(Qe(g, {
1095
+ }, g && oe(nt(g, {
1089
1096
  ...a
1090
1097
  }), n);
1091
1098
  },
@@ -1095,13 +1102,13 @@ class vt {
1095
1102
  };
1096
1103
  }
1097
1104
  }
1098
- const me = Symbol("FModalService");
1105
+ const be = Symbol("FModalService");
1099
1106
  K.install = (e) => {
1100
1107
  e.component(K.name, K);
1101
- const t = new vt(e);
1102
- e.provide(me, t), e.provide("FModalService", t);
1108
+ const t = new mt(e);
1109
+ e.provide(be, t), e.provide("FModalService", t);
1103
1110
  };
1104
- function ye(e, t) {
1111
+ function we(e, t) {
1105
1112
  function n() {
1106
1113
  const a = e.beforeOpen || e.beforeClickButton || null;
1107
1114
  let c = Promise.resolve(!0);
@@ -1115,22 +1122,22 @@ function ye(e, t) {
1115
1122
  }
1116
1123
  return { judgeCanOpen: n };
1117
1124
  }
1118
- function pt(e, t, n, a, c) {
1119
- const i = o(e.buttonBehavior), v = o(e.popupOnInput), s = O(() => ({
1125
+ function yt(e, t, n, a, c) {
1126
+ const i = o(e.buttonBehavior), v = o(e.popupOnInput), s = z(() => ({
1120
1127
  "input-group-append": !0,
1121
1128
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
1122
- })), { judgeCanOpen: f } = ye(e, c), p = O(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), g = ve(me, null), b = o();
1129
+ })), { judgeCanOpen: f } = we(e, c), p = z(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), g = me(be, null), b = o();
1123
1130
  async function I(k) {
1124
1131
  if (await f() && p.value) {
1125
1132
  const j = !!t.slots.default;
1126
1133
  if (i.value === "Modal") {
1127
- const P = e.modalOptions, z = g == null ? void 0 : g.open({
1134
+ const P = e.modalOptions, O = g == null ? void 0 : g.open({
1128
1135
  ...P,
1129
1136
  render: () => t.slots.default && t.slots.default()
1130
1137
  });
1131
- b.value = z == null ? void 0 : z.modalRef;
1138
+ b.value = O == null ? void 0 : O.modalRef;
1132
1139
  }
1133
- i.value === "Overlay" && ut.show({
1140
+ i.value === "Overlay" && rt.show({
1134
1141
  // host: buttonEditRef.value,
1135
1142
  host: document.body,
1136
1143
  backgroundColor: "rgba(0,0,0,.15)",
@@ -1153,9 +1160,9 @@ function pt(e, t, n, a, c) {
1153
1160
  };
1154
1161
  }
1155
1162
  const G = "FarrisVue_PopoverInstancesKey";
1156
- function ht(e, t, n, a) {
1157
- const c = o(), i = o(!1), { judgeCanOpen: v } = ye(e, a);
1158
- A(() => c.value, (w, B) => {
1163
+ function gt(e, t, n, a) {
1164
+ const c = o(), i = o(!1), { judgeCanOpen: v } = we(e, a);
1165
+ $(() => c.value, (w, B) => {
1159
1166
  window[G] = window[G] || /* @__PURE__ */ new WeakMap(), w ? window[G].set(n.value, w) : window[G].delete(n.value);
1160
1167
  });
1161
1168
  function s() {
@@ -1195,7 +1202,7 @@ function ht(e, t, n, a) {
1195
1202
  }
1196
1203
  return { hidePopup: b, showPopup: I, popup: g, shouldPopupContent: i, togglePopup: p, popoverRef: c, closeAllPopover: s };
1197
1204
  }
1198
- function mt(e, t, n) {
1205
+ function bt(e, t, n) {
1199
1206
  const {
1200
1207
  buttonGroupClass: a
1201
1208
  } = n, c = o();
@@ -1213,12 +1220,12 @@ function mt(e, t, n) {
1213
1220
  buttonHandleElement: c
1214
1221
  };
1215
1222
  }
1216
- const Q = /* @__PURE__ */ ue({
1223
+ const ee = /* @__PURE__ */ ue({
1217
1224
  name: "FButtonEdit",
1218
- props: tt,
1225
+ props: at,
1219
1226
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
1220
1227
  setup(e, t) {
1221
- const n = o(), a = ve("design-item-context"), c = et(n, a), i = o(e.customClass), v = o(e.modelValue), s = ht(e, t, n, v), f = pt(e, t, n, s, v), p = o(), g = O(() => ({
1228
+ const n = o(), a = me("design-item-context"), c = lt(n, a), i = o(e.customClass), v = o(e.modelValue), s = gt(e, t, n, v), f = yt(e, t, n, s, v), p = o(), g = z(() => ({
1222
1229
  "f-cmp-inputgroup": !0,
1223
1230
  "input-group": !0,
1224
1231
  "f-state-disabled": !0,
@@ -1228,7 +1235,7 @@ const Q = /* @__PURE__ */ ue({
1228
1235
  ie(() => {
1229
1236
  n.value.componentInstance = c;
1230
1237
  }), t.expose(c.value);
1231
- const b = O(() => {
1238
+ const b = z(() => {
1232
1239
  const w = {
1233
1240
  "f-button-edit": !0,
1234
1241
  "f-cmp-inputgroup": !0,
@@ -1237,8 +1244,8 @@ const Q = /* @__PURE__ */ ue({
1237
1244
  return i.value && i.value.split(" ").reduce((B, k) => (B[k] = !0, B), w), w;
1238
1245
  }), {
1239
1246
  renderButtonGroup: I
1240
- } = mt(e, t, f);
1241
- return () => h("div", fe(t.attrs, {
1247
+ } = bt(e, t, f);
1248
+ return () => h("div", he(t.attrs, {
1242
1249
  ref: n,
1243
1250
  class: b.value,
1244
1251
  id: e.id ? e.id : void 0
@@ -1251,13 +1258,13 @@ const Q = /* @__PURE__ */ ue({
1251
1258
  placeholder: e.placeholder
1252
1259
  }, null), I()])]);
1253
1260
  }
1254
- }), yt = /* @__PURE__ */ new Map([
1255
- ["appearance", Xe]
1261
+ }), wt = /* @__PURE__ */ new Map([
1262
+ ["appearance", qe]
1256
1263
  ]);
1257
- function gt(e, t, n) {
1264
+ function Ct(e, t, n) {
1258
1265
  return t;
1259
1266
  }
1260
- const bt = "https://json-schema.org/draft/2020-12/schema", wt = "https://farris-design.gitee.io/button-edit.schema.json", Ct = "button-edit", xt = "A Farris Input Component", Mt = "object", Bt = {
1267
+ const xt = "https://json-schema.org/draft/2020-12/schema", Mt = "https://farris-design.gitee.io/button-edit.schema.json", Bt = "button-edit", kt = "A Farris Input Component", Et = "object", Ot = {
1261
1268
  id: {
1262
1269
  description: "The unique identifier for a Input Group",
1263
1270
  type: "string"
@@ -1451,18 +1458,18 @@ const bt = "https://json-schema.org/draft/2020-12/schema", wt = "https://farris-
1451
1458
  type: "string",
1452
1459
  default: ""
1453
1460
  }
1454
- }, kt = [
1461
+ }, zt = [
1455
1462
  "id",
1456
1463
  "type"
1457
- ], Et = {
1458
- $schema: bt,
1459
- $id: wt,
1460
- title: Ct,
1461
- description: xt,
1462
- type: Mt,
1463
- properties: Bt,
1464
- required: kt
1465
- }, zt = "buttonEdit", Ot = "A Farris Component", It = "object", St = {
1464
+ ], It = {
1465
+ $schema: xt,
1466
+ $id: Mt,
1467
+ title: Bt,
1468
+ description: kt,
1469
+ type: Et,
1470
+ properties: Ot,
1471
+ required: zt
1472
+ }, St = "buttonEdit", Ht = "A Farris Component", Tt = "object", Pt = {
1466
1473
  basic: {
1467
1474
  description: "Basic Infomation",
1468
1475
  title: "基本信息",
@@ -1544,27 +1551,27 @@ const bt = "https://json-schema.org/draft/2020-12/schema", wt = "https://farris-
1544
1551
  }
1545
1552
  }
1546
1553
  }
1547
- }, Ht = {
1548
- title: zt,
1549
- description: Ot,
1550
- type: It,
1551
- categories: St
1552
- }, ge = Ye(
1553
- Ge,
1554
- Et,
1555
- yt,
1556
- gt,
1557
- Ht
1554
+ }, Rt = {
1555
+ title: St,
1556
+ description: Ht,
1557
+ type: Tt,
1558
+ categories: Pt
1559
+ }, Ce = Ge(
1560
+ Ke,
1561
+ It,
1562
+ wt,
1563
+ Ct,
1564
+ Rt
1558
1565
  );
1559
- Q.register = (e, t, n, a) => {
1560
- e["button-edit"] = qe, t["button-edit"] = ge;
1566
+ ee.register = (e, t, n, a) => {
1567
+ e["button-edit"] = Ue, t["button-edit"] = Ce;
1561
1568
  };
1562
- Q.registerDesigner = (e, t, n) => {
1563
- e["button-edit"] = Q, t["button-edit"] = ge;
1569
+ ee.registerDesigner = (e, t, n) => {
1570
+ e["button-edit"] = ee, t["button-edit"] = Ce;
1564
1571
  };
1565
- const Vt = $e(Q);
1572
+ const $t = Ye(ee);
1566
1573
  export {
1567
- Q as FButtonEditDesign,
1568
- Vt as default,
1569
- ge as propsResolver
1574
+ ee as FButtonEditDesign,
1575
+ $t as default,
1576
+ Ce as propsResolver
1570
1577
  };