@farris/ui-vue 1.2.9 → 1.3.1

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 (287) hide show
  1. package/components/accordion/index.esm.js +64 -64
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +521 -336
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.css +1 -1
  6. package/components/button-edit/index.esm.js +99 -97
  7. package/components/button-edit/index.umd.cjs +1 -1
  8. package/components/calendar/index.esm.js +496 -504
  9. package/components/calendar/index.umd.cjs +1 -1
  10. package/components/capsule/index.esm.js +251 -259
  11. package/components/capsule/index.umd.cjs +1 -1
  12. package/components/checkbox/index.esm.js +696 -519
  13. package/components/checkbox/index.umd.cjs +1 -1
  14. package/components/color-picker/index.esm.js +368 -376
  15. package/components/color-picker/index.umd.cjs +2 -2
  16. package/components/combo-list/index.css +1 -0
  17. package/components/combo-list/index.esm.js +1141 -340
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +116 -116
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +986 -798
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +463 -998
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.css +1 -0
  26. package/components/condition/index.esm.js +2233 -1057
  27. package/components/condition/index.umd.cjs +1 -1
  28. package/components/content-container/index.esm.js +335 -1002
  29. package/components/content-container/index.umd.cjs +1 -1
  30. package/components/data-grid/index.css +1 -1
  31. package/components/data-grid/index.esm.js +6193 -4702
  32. package/components/data-grid/index.umd.cjs +1 -1
  33. package/components/data-view/index.css +1 -0
  34. package/components/data-view/index.esm.js +4562 -3294
  35. package/components/data-view/index.umd.cjs +1 -1
  36. package/components/date-picker/index.css +1 -1
  37. package/components/date-picker/index.esm.js +3420 -2623
  38. package/components/date-picker/index.umd.cjs +1 -1
  39. package/components/designer-canvas/index.css +1 -1
  40. package/components/designer-canvas/index.esm.js +914 -883
  41. package/components/designer-canvas/index.umd.cjs +1 -1
  42. package/components/designer-outline/index.esm.js +14 -13
  43. package/components/designer-outline/index.umd.cjs +1 -1
  44. package/components/dropdown/index.esm.js +204 -212
  45. package/components/dropdown/index.umd.cjs +2 -2
  46. package/components/dynamic-form/index.css +1 -0
  47. package/components/dynamic-form/index.esm.js +2795 -1835
  48. package/components/dynamic-form/index.umd.cjs +1 -1
  49. package/components/dynamic-resolver/index.esm.js +180 -130
  50. package/components/dynamic-resolver/index.umd.cjs +1 -1
  51. package/components/dynamic-view/index.esm.js +303 -290
  52. package/components/dynamic-view/index.umd.cjs +1 -1
  53. package/components/events-editor/index.esm.js +328 -336
  54. package/components/events-editor/index.umd.cjs +1 -1
  55. package/components/expression-editor/index.esm.js +65 -65
  56. package/components/expression-editor/index.umd.cjs +1 -1
  57. package/components/external-container/index.css +1 -1
  58. package/components/external-container/index.esm.js +3349 -3626
  59. package/components/external-container/index.umd.cjs +1 -1
  60. package/components/field-selector/index.css +1 -1
  61. package/components/field-selector/index.esm.js +5344 -8588
  62. package/components/field-selector/index.umd.cjs +1 -1
  63. package/components/filter-bar/index.css +1 -1
  64. package/components/filter-bar/index.esm.js +2179 -2227
  65. package/components/filter-bar/index.umd.cjs +1 -1
  66. package/components/flow-canvas/index.css +1 -1
  67. package/components/flow-canvas/index.esm.js +684 -675
  68. package/components/flow-canvas/index.umd.cjs +1 -1
  69. package/components/image-cropper/index.esm.js +482 -490
  70. package/components/image-cropper/index.umd.cjs +1 -1
  71. package/components/input-group/index.esm.js +746 -569
  72. package/components/input-group/index.umd.cjs +1 -1
  73. package/components/layout/index.esm.js +409 -385
  74. package/components/layout/index.umd.cjs +1 -1
  75. package/components/list-nav/index.esm.js +348 -1019
  76. package/components/list-nav/index.umd.cjs +1 -1
  77. package/components/list-view/index.css +1 -1
  78. package/components/list-view/index.esm.js +3606 -2388
  79. package/components/list-view/index.umd.cjs +1 -1
  80. package/components/lookup/index.css +1 -1
  81. package/components/lookup/index.esm.js +10871 -8970
  82. package/components/lookup/index.umd.cjs +1 -1
  83. package/components/mapping-editor/index.css +1 -1
  84. package/components/mapping-editor/index.esm.js +6019 -5631
  85. package/components/mapping-editor/index.umd.cjs +1 -1
  86. package/components/message-box/index.css +1 -1
  87. package/components/message-box/index.esm.js +511 -471
  88. package/components/message-box/index.umd.cjs +1 -1
  89. package/components/modal/index.css +1 -1
  90. package/components/modal/index.esm.js +438 -398
  91. package/components/modal/index.umd.cjs +1 -1
  92. package/components/nav/index.esm.js +912 -1281
  93. package/components/nav/index.umd.cjs +3 -3
  94. package/components/notify/index.esm.js +59 -53
  95. package/components/notify/index.umd.cjs +1 -1
  96. package/components/number-range/index.esm.js +660 -484
  97. package/components/number-range/index.umd.cjs +1 -1
  98. package/components/number-spinner/index.esm.js +682 -506
  99. package/components/number-spinner/index.umd.cjs +1 -1
  100. package/components/order/index.css +1 -1
  101. package/components/order/index.esm.js +1848 -1658
  102. package/components/order/index.umd.cjs +1 -1
  103. package/components/page-footer/index.esm.js +100 -100
  104. package/components/page-footer/index.umd.cjs +1 -1
  105. package/components/page-header/index.esm.js +1120 -1923
  106. package/components/page-header/index.umd.cjs +1 -1
  107. package/components/pagination/index.esm.js +875 -1214
  108. package/components/pagination/index.umd.cjs +1 -1
  109. package/components/popover/index.esm.js +71 -70
  110. package/components/popover/index.umd.cjs +1 -1
  111. package/components/progress/index.esm.js +229 -237
  112. package/components/progress/index.umd.cjs +3 -3
  113. package/components/property-editor/index.css +1 -1
  114. package/components/property-editor/index.esm.js +2314 -1521
  115. package/components/property-editor/index.umd.cjs +3 -3
  116. package/components/property-panel/index.esm.js +867 -868
  117. package/components/property-panel/index.umd.cjs +1 -1
  118. package/components/query-solution/index.css +1 -1
  119. package/components/query-solution/index.esm.js +4332 -3623
  120. package/components/query-solution/index.umd.cjs +1 -1
  121. package/components/radio-button/index.esm.js +72 -72
  122. package/components/radio-button/index.umd.cjs +1 -1
  123. package/components/radio-group/index.esm.js +613 -437
  124. package/components/radio-group/index.umd.cjs +1 -1
  125. package/components/rate/index.esm.js +255 -263
  126. package/components/rate/index.umd.cjs +1 -1
  127. package/components/response-layout/index.esm.js +144 -152
  128. package/components/response-layout/index.umd.cjs +1 -1
  129. package/components/response-layout-editor/index.css +1 -1
  130. package/components/response-layout-editor/index.esm.js +1101 -1038
  131. package/components/response-layout-editor/index.umd.cjs +1 -1
  132. package/components/response-toolbar/index.esm.js +935 -1750
  133. package/components/response-toolbar/index.umd.cjs +1 -1
  134. package/components/schema-selector/index.css +1 -1
  135. package/components/schema-selector/index.esm.js +5264 -5677
  136. package/components/schema-selector/index.umd.cjs +2 -2
  137. package/components/search-box/index.esm.js +151 -154
  138. package/components/search-box/index.umd.cjs +1 -1
  139. package/components/section/index.esm.js +438 -1125
  140. package/components/section/index.umd.cjs +1 -1
  141. package/components/smoke-detector/index.esm.js +93 -101
  142. package/components/smoke-detector/index.umd.cjs +1 -1
  143. package/components/splitter/index.esm.js +563 -1202
  144. package/components/splitter/index.umd.cjs +1 -1
  145. package/components/splitter/style.js +2 -0
  146. package/components/step/index.esm.js +248 -256
  147. package/components/step/index.umd.cjs +1 -1
  148. package/components/switch/index.esm.js +549 -373
  149. package/components/switch/index.umd.cjs +1 -1
  150. package/components/tabs/index.css +1 -1
  151. package/components/tabs/index.esm.js +2436 -3110
  152. package/components/tabs/index.umd.cjs +1 -1
  153. package/components/tags/index.esm.js +328 -336
  154. package/components/tags/index.umd.cjs +1 -1
  155. package/components/text/index.esm.js +339 -347
  156. package/components/text/index.umd.cjs +1 -1
  157. package/components/textarea/index.esm.js +554 -378
  158. package/components/textarea/index.umd.cjs +1 -1
  159. package/components/time-picker/index.css +1 -1
  160. package/components/time-picker/index.esm.js +1322 -1144
  161. package/components/time-picker/index.umd.cjs +1 -1
  162. package/components/transfer/index.css +1 -1
  163. package/components/transfer/index.esm.js +537 -543
  164. package/components/transfer/index.umd.cjs +1 -1
  165. package/components/tree-grid/index.css +1 -1
  166. package/components/tree-grid/index.esm.js +5113 -9426
  167. package/components/tree-grid/index.umd.cjs +1 -1
  168. package/components/tree-view/index.css +1 -0
  169. package/components/tree-view/index.esm.js +3900 -2677
  170. package/components/tree-view/index.umd.cjs +1 -1
  171. package/components/uploader/index.esm.js +568 -570
  172. package/components/uploader/index.umd.cjs +2 -2
  173. package/components/verify-detail/index.esm.js +266 -274
  174. package/components/verify-detail/index.umd.cjs +1 -1
  175. package/components/video/index.esm.js +553 -1052
  176. package/components/video/index.umd.cjs +1 -1
  177. package/components/weather/index.esm.js +558 -566
  178. package/components/weather/index.umd.cjs +5 -5
  179. package/farris.all.esm.js +22009 -22688
  180. package/farris.all.umd.cjs +9 -9
  181. package/index.css +1 -1
  182. package/package.json +1 -1
  183. package/types/capsule/src/capsule.props.d.ts +2 -2
  184. package/types/combo-list/src/components/list-container.component.d.ts +0 -3
  185. package/types/combo-list/src/components/list-container.props.d.ts +0 -4
  186. package/types/common/directive/area-response.d.ts +10 -0
  187. package/types/common/index.d.ts +9 -0
  188. package/types/common/radio-checkbox/radio-checkbox.props.d.ts +1 -0
  189. package/types/common/types.d.ts +1 -1
  190. package/types/common/utils/encrypt.d.ts +2 -0
  191. package/types/common/utils/resolve-field.d.ts +2 -0
  192. package/types/common/utils/use-class.d.ts +7 -0
  193. package/types/component/src/component.props.d.ts +7 -0
  194. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  195. package/types/component/src/property-config/component.property-config.d.ts +9 -0
  196. package/types/components.d.ts +1 -0
  197. package/types/condition/src/types.d.ts +2 -1
  198. package/types/content-container/src/designer/use-designer-rules.d.ts +3 -3
  199. package/types/data-grid/index.d.ts +11 -5
  200. package/types/data-grid/src/data-grid.component.d.ts +4 -2
  201. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  202. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  203. package/types/data-grid/src/designer/use-designer-rules.d.ts +2 -2
  204. package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
  205. package/types/data-view/composition/data/use-tree-data.d.ts +1 -1
  206. package/types/data-view/composition/types.d.ts +19 -4
  207. package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -15
  208. package/types/designer-canvas/index.d.ts +2 -1
  209. package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
  210. package/types/designer-canvas/src/composition/rule/use-dragula-common-rule.d.ts +4 -0
  211. package/types/designer-canvas/src/composition/rule/use-template-rule.d.ts +30 -0
  212. package/types/designer-canvas/src/composition/types.d.ts +2 -3
  213. package/types/designer-canvas/src/types.d.ts +2 -1
  214. package/types/dynamic-form/src/composition/use-response-form-layout-setting.d.ts +2 -0
  215. package/types/dynamic-form/src/designer/response-form-layout-setting.component.d.ts +8 -0
  216. package/types/dynamic-form/src/designer/response-form-layout-setting.props.d.ts +4 -0
  217. package/types/dynamic-form/src/designer/response-form.design.component.d.ts +7 -1
  218. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +1 -1
  219. package/types/dynamic-form/src/property-config/form.property-config.d.ts +9 -0
  220. package/types/dynamic-form/src/schema/schema-mapper.d.ts +1 -0
  221. package/types/dynamic-form/src/schema/schema-resolver.d.ts +1 -0
  222. package/types/dynamic-form/src/types.d.ts +12 -1
  223. package/types/dynamic-resolver/index.d.ts +1 -0
  224. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +1 -1
  225. package/types/dynamic-resolver/src/event-handler-resolver.d.ts +4 -0
  226. package/types/dynamic-resolver/src/types.d.ts +9 -0
  227. package/types/dynamic-view/index.d.ts +1 -0
  228. package/types/dynamic-view/src/event-dispatcher.d.ts +1 -1
  229. package/types/external-container/src/designer/use-designer-rules.d.ts +3 -3
  230. package/types/index.d.ts +2 -0
  231. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +3 -3
  232. package/types/list-nav/src/designer/use-designer-rules.d.ts +3 -0
  233. package/types/lookup/src/components/favorite/lookup-favorite.component.d.ts +29 -0
  234. package/types/lookup/src/components/favorite/lookup-favorite.props.d.ts +15 -0
  235. package/types/lookup/src/components/modal-container.component.d.ts +25 -0
  236. package/types/lookup/src/components/modal-container.props.d.ts +29 -0
  237. package/types/lookup/src/composition/types.d.ts +8 -0
  238. package/types/lookup/src/composition/use-check-props.d.ts +9 -2
  239. package/types/lookup/src/composition/use-dialog.d.ts +5 -1
  240. package/types/lookup/src/composition/use-favorite.d.ts +12 -0
  241. package/types/lookup/src/composition/use-http.d.ts +9 -5
  242. package/types/lookup/src/composition/use-input-change.d.ts +3 -0
  243. package/types/lookup/src/composition/use-user-data.d.ts +24 -0
  244. package/types/lookup/src/property-config/lookup.property-config.d.ts +6 -4
  245. package/types/mapping-editor/src/mapping-editor.component.d.ts +3 -0
  246. package/types/mapping-editor/src/mapping-editor.props.d.ts +0 -1
  247. package/types/modal/src/composition/use-draggable.d.ts +2 -1
  248. package/types/modal/src/composition/use-shortcut.d.ts +6 -0
  249. package/types/modal/src/modal.component.d.ts +3 -0
  250. package/types/modal/src/modal.props.d.ts +4 -0
  251. package/types/page-header/src/page-header.props.d.ts +1 -0
  252. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +2 -2
  253. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +2 -2
  254. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +2 -2
  255. package/types/pagination/src/components/pages/page-list.component.d.ts +2 -2
  256. package/types/pagination/src/components/pages/page-number.component.d.ts +2 -2
  257. package/types/property-panel/index.d.ts +2 -1
  258. package/types/property-panel/src/composition/entity/base-property.d.ts +8 -0
  259. package/types/property-panel/src/composition/entity/input-base-property.d.ts +20 -1
  260. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +34 -27
  261. package/types/query-solution/src/designer/query-solution-config/composition/use-panel.d.ts +2 -16
  262. package/types/{data-grid/src/designer/use-group-column.d.ts → query-solution/src/designer/query-solution-config/composition/use-property.d.ts} +4 -5
  263. package/types/query-solution/src/designer/query-solution-config/composition/use-querysolution-rules.d.ts +3 -0
  264. package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +1 -1
  265. package/types/query-solution/src/property-config/query-solution.property-config.d.ts +60 -0
  266. package/types/query-solution/src/solutions.d.ts +108 -509
  267. package/types/response-layout-editor/index.d.ts +3 -1
  268. package/types/response-layout-editor/src/composition/converter/use-response-layout-editor-setting.d.ts +2 -0
  269. package/types/response-layout-editor/src/type.d.ts +21 -0
  270. package/types/response-toolbar/src/designer/use-designer-rules.d.ts +3 -3
  271. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -0
  272. package/types/section/src/designer/use-designer-rules.d.ts +3 -3
  273. package/types/splitter/src/components/splitter-pane.component.d.ts +1 -1
  274. package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +3 -3
  275. package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +3 -3
  276. package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +3 -3
  277. package/types/tabs/src/designer/tab-use-designer-rules.d.ts +3 -3
  278. package/types/tabs/src/tabs.props.d.ts +1 -0
  279. package/types/tree-grid/index.d.ts +8 -2
  280. package/types/tree-grid/src/tree-grid.component.d.ts +3 -1
  281. package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
  282. package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
  283. package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
  284. package/types/modal/src/composition/use-esc.d.ts +0 -1
  285. package/types/query-solution/src/designer/query-solution-config/composition/mock-data.d.ts +0 -6
  286. package/types/response-layout-editor/src/composition/converter/response-layout-editor.converter.d.ts +0 -3
  287. package/types/response-layout-editor/src/composition/converter/use-convert-property-value.d.ts +0 -20
@@ -1,8 +1,8 @@
1
- var ge = Object.defineProperty;
2
- var ye = (t, e, l) => e in t ? ge(t, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[e] = l;
3
- var D = (t, e, l) => ye(t, typeof e != "symbol" ? e + "" : e, l);
4
- import { ref as s, createVNode as h, Fragment as we, defineComponent as be, computed as k, watch as Y, onMounted as Q, onUnmounted as Z, Teleport as xe, shallowRef as pe, createApp as Ce, nextTick as Me, render as G, h as ze, cloneVNode as Ee, mergeProps as Be } from "vue";
5
- const He = {
1
+ var pe = Object.defineProperty;
2
+ var Ce = (t, e, a) => e in t ? pe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
+ var W = (t, e, a) => Ce(t, typeof e != "symbol" ? e + "" : e, a);
4
+ import { ref as o, createVNode as h, Fragment as Me, watch as X, defineComponent as ze, computed as L, onMounted as te, onUnmounted as le, Teleport as Ee, Transition as Be, shallowRef as He, createApp as Re, nextTick as ke, render as Z, h as Ie, cloneVNode as Te, mergeProps as Le } from "vue";
5
+ const Oe = {
6
6
  /**
7
7
  * 自定义类
8
8
  */
@@ -60,28 +60,29 @@ const He = {
60
60
  render: { type: Function, default: null },
61
61
  acceptCallback: { type: Function, default: null },
62
62
  rejectCallback: { type: Function, default: null },
63
- enableEsc: { type: Boolean, default: !0 }
63
+ enableEsc: { type: Boolean, default: !0 },
64
+ enableEnter: { type: Boolean, default: !1 }
64
65
  };
65
66
  class M {
66
- constructor(e, l) {
67
- this.x = e, this.y = l;
67
+ constructor(e, a) {
68
+ this.x = e, this.y = a;
68
69
  }
69
70
  static getTransformInfo(e) {
70
- const u = window.getComputedStyle(e).getPropertyValue("transform").replace(/[^-\d,]/g, "").split(",");
71
- if (u.length >= 6) {
72
- const x = parseInt(u[4], 10), r = parseInt(u[5], 10);
73
- return { x, y: r };
71
+ const s = window.getComputedStyle(e).getPropertyValue("transform").replace(/[^-\d,]/g, "").split(",");
72
+ if (s.length >= 6) {
73
+ const b = parseInt(s[4], 10), f = parseInt(s[5], 10);
74
+ return { x: b, y: f };
74
75
  }
75
76
  return { x: 0, y: 0 };
76
77
  }
77
- static fromEvent(e, l = null) {
78
+ static fromEvent(e, a = null) {
78
79
  if (this.isMouseEvent(e))
79
80
  return new M(e.clientX, e.clientY);
80
- if (l === null || e.changedTouches.length === 1)
81
+ if (a === null || e.changedTouches.length === 1)
81
82
  return new M(e.changedTouches[0].clientX, e.changedTouches[0].clientY);
82
- for (let u = 0; u < e.changedTouches.length; u++)
83
- if (e.changedTouches[u].target === l)
84
- return new M(e.changedTouches[u].clientX, e.changedTouches[u].clientY);
83
+ for (let s = 0; s < e.changedTouches.length; s++)
84
+ if (e.changedTouches[s].target === a)
85
+ return new M(e.changedTouches[s].clientX, e.changedTouches[s].clientY);
85
86
  }
86
87
  static isMouseEvent(e) {
87
88
  return Object.prototype.toString.apply(e).indexOf("MouseEvent") === 8;
@@ -90,14 +91,14 @@ class M {
90
91
  return !!e && "x" in e && "y" in e;
91
92
  }
92
93
  static getCurrent(e) {
93
- const l = new M(0, 0);
94
+ const a = new M(0, 0);
94
95
  if (window) {
95
- const u = window.getComputedStyle(e);
96
- if (u) {
97
- const x = parseInt(u.getPropertyValue("left"), 10), r = parseInt(u.getPropertyValue("top"), 10);
98
- l.x = isNaN(x) ? 0 : x, l.y = isNaN(r) ? 0 : r;
96
+ const s = window.getComputedStyle(e);
97
+ if (s) {
98
+ const b = parseInt(s.getPropertyValue("left"), 10), f = parseInt(s.getPropertyValue("top"), 10);
99
+ a.x = isNaN(b) ? 0 : b, a.y = isNaN(f) ? 0 : f;
99
100
  }
100
- return l;
101
+ return a;
101
102
  }
102
103
  return null;
103
104
  }
@@ -126,631 +127,670 @@ class M {
126
127
  return this.x = e.x, this.y = e.y, this;
127
128
  }
128
129
  }
129
- class N {
130
- constructor(e, l) {
131
- this.width = e, this.height = l;
130
+ class D {
131
+ constructor(e, a) {
132
+ this.width = e, this.height = a;
132
133
  }
133
134
  static getCurrent(e) {
134
- const l = new N(0, 0);
135
+ const a = new D(0, 0);
135
136
  if (window) {
136
- const u = window.getComputedStyle(e);
137
- return u && (l.width = parseInt(u.getPropertyValue("width"), 10), l.height = parseInt(u.getPropertyValue("height"), 10)), l;
137
+ const s = window.getComputedStyle(e);
138
+ return s && (a.width = parseInt(s.getPropertyValue("width"), 10), a.height = parseInt(s.getPropertyValue("height"), 10)), a;
138
139
  }
139
140
  return null;
140
141
  }
141
142
  static copy(e) {
142
- return new N(0, 0).set(e);
143
+ return new D(0, 0).set(e);
143
144
  }
144
145
  set(e) {
145
146
  return this.width = e.width, this.height = e.height, this;
146
147
  }
147
148
  }
148
- function Re(t, e) {
149
- const l = s(), u = s(), x = s(), r = s(), g = s(), i = s(), d = s(), v = s(), p = s(), T = s(), H = s(), B = s(), I = s(t.draggable), O = s(!1);
149
+ function Se(t, e) {
150
+ const a = o(), s = o(), b = o(), f = o(), d = o(), r = o(), c = o(), v = o(), z = o(), C = o(), k = o(), R = o(), I = o(t.draggable), O = o(!1);
150
151
  function S() {
151
- const n = u.value || document.body, o = window.getComputedStyle(n);
152
- if (!o || !l.value)
152
+ const n = s.value || document.body, u = window.getComputedStyle(n);
153
+ if (!u || !a.value)
153
154
  return;
154
- const w = M.getTransformInfo(l.value), m = {};
155
- d.value && (m.deltaL = l.value.offsetLeft - d.value.x, m.deltaT = l.value.offsetTop - d.value.y);
156
- const z = o.getPropertyValue("position");
157
- m.width = n.clientWidth, m.height = n.clientHeight, m.pr = parseInt(o.getPropertyValue("padding-right"), 10), m.pb = parseInt(o.getPropertyValue("padding-bottom"), 10), m.position = o.getPropertyValue("position"), z === "static" && (n.style.position = "relative"), m.translateX = w.x, m.translateY = w.y, T.value = m;
155
+ const w = M.getTransformInfo(a.value), g = {};
156
+ c.value && (g.deltaL = a.value.offsetLeft - c.value.x, g.deltaT = a.value.offsetTop - c.value.y);
157
+ const E = u.getPropertyValue("position");
158
+ g.width = n.clientWidth, g.height = n.clientHeight, g.pr = parseInt(u.getPropertyValue("padding-right"), 10), g.pb = parseInt(u.getPropertyValue("padding-bottom"), 10), g.position = u.getPropertyValue("position"), E === "static" && (n.style.position = "relative"), g.translateX = w.x, g.translateY = w.y, C.value = g;
158
159
  }
159
160
  function y(n) {
160
- if (l.value) {
161
- r.value = N.getCurrent(l.value), g.value = M.getCurrent(l.value), i.value = r.value ? N.copy(r.value) : null, d.value = g.value ? M.copy(g.value) : null, S();
162
- const o = n.target.getAttribute("type") || "";
161
+ if (a.value) {
162
+ f.value = D.getCurrent(a.value), d.value = M.getCurrent(a.value), r.value = f.value ? D.copy(f.value) : null, c.value = d.value ? M.copy(d.value) : null, S();
163
+ const u = n.target.getAttribute("type") || "";
163
164
  v.value = {
164
- n: !!o.match(/n/),
165
- s: !!o.match(/s/),
166
- w: !!o.match(/w/),
167
- e: !!o.match(/e/)
165
+ n: !!u.match(/n/),
166
+ s: !!u.match(/s/),
167
+ w: !!u.match(/w/),
168
+ e: !!u.match(/e/)
168
169
  };
169
170
  }
170
171
  }
171
- function C() {
172
- var n, o, w, m;
173
- if (l.value) {
174
- const z = l.value;
175
- v.value && ((v.value.n || v.value.s) && ((n = i.value) != null && n.height) && (z.style.height = i.value.height + "px"), (v.value.w || v.value.e) && ((o = i.value) != null && o.width) && (z.style.width = i.value.width + "px"), d.value && ((w = d.value) != null && w.x && (z.style.left = d.value.x + "px"), (m = d.value) != null && m.y && (z.style.top = d.value.y + "px")));
172
+ function p() {
173
+ var n, u, w, g;
174
+ if (a.value) {
175
+ const E = a.value;
176
+ v.value && ((v.value.n || v.value.s) && ((n = r.value) != null && n.height) && (E.style.height = r.value.height + "px"), (v.value.w || v.value.e) && ((u = r.value) != null && u.width) && (E.style.width = r.value.width + "px"), c.value && ((w = c.value) != null && w.x && (E.style.left = c.value.x + "px"), (g = c.value) != null && g.y && (E.style.top = c.value.y + "px")));
176
177
  }
177
178
  }
178
- function L() {
179
- const n = t.minHeight ? t.minHeight : 1, o = t.minWidth ? t.minWidth : 1;
180
- i.value && d.value && v.value && r.value && (i.value.height < n && (i.value.height = n, v.value.n && g.value && (d.value.y = g.value.y + (r.value.height - n))), i.value.width < o && (i.value.width = o, v.value.w && g.value && (d.value.x = g.value.x + (r.value.width - o))), t.maxHeight && i.value.height > t.maxHeight && (i.value.height = t.maxHeight, g.value && v.value.n && (d.value.y = g.value.y + (r.value.height - t.maxHeight))), t.maxWidth && i.value.width > t.maxWidth && (i.value.width = t.maxWidth, v.value.w && g.value && (d.value.x = g.value.x + (r.value.width - t.maxWidth))));
181
- }
182
- function F() {
183
- if (u.value) {
184
- const n = T.value;
185
- if (d.value && i.value && v.value && r.value) {
186
- const o = n.width - n.pr - n.deltaL - n.translateX - d.value.x, w = n.height - n.pb - n.deltaT - n.translateY - d.value.y;
187
- v.value.n && d.value.y + n.translateY < 0 && g.value && (d.value.y = -n.translateY, i.value.height = r.value.height + g.value.y + n.translateY), v.value.w && d.value.x + n.translateX < 0 && g.value && (d.value.x = -n.translateX, i.value.width = r.value.width + g.value.x + n.translateX), i.value.width > o && (i.value.width = o), i.value.height > w && (i.value.height = w);
179
+ function P() {
180
+ const n = t.minHeight ? t.minHeight : 1, u = t.minWidth ? t.minWidth : 1;
181
+ r.value && c.value && v.value && f.value && (r.value.height < n && (r.value.height = n, v.value.n && d.value && (c.value.y = d.value.y + (f.value.height - n))), r.value.width < u && (r.value.width = u, v.value.w && d.value && (c.value.x = d.value.x + (f.value.width - u))), t.maxHeight && r.value.height > t.maxHeight && (r.value.height = t.maxHeight, d.value && v.value.n && (c.value.y = d.value.y + (f.value.height - t.maxHeight))), t.maxWidth && r.value.width > t.maxWidth && (r.value.width = t.maxWidth, v.value.w && d.value && (c.value.x = d.value.x + (f.value.width - t.maxWidth))));
182
+ }
183
+ function j() {
184
+ if (s.value) {
185
+ const n = C.value;
186
+ if (c.value && r.value && v.value && f.value) {
187
+ const u = n.width - n.pr - n.deltaL - n.translateX - c.value.x, w = n.height - n.pb - n.deltaT - n.translateY - c.value.y;
188
+ v.value.n && c.value.y + n.translateY < 0 && d.value && (c.value.y = -n.translateY, r.value.height = f.value.height + d.value.y + n.translateY), v.value.w && c.value.x + n.translateX < 0 && d.value && (c.value.x = -n.translateX, r.value.width = f.value.width + d.value.x + n.translateX), r.value.width > u && (r.value.width = u), r.value.height > w && (r.value.height = w);
188
189
  }
189
190
  }
190
191
  }
191
192
  function V(n) {
192
- if (!x.value || !r.value || !g.value || !v.value)
193
+ if (!b.value || !f.value || !d.value || !v.value)
193
194
  return;
194
- n.subtract(x.value);
195
- const o = n.x, w = n.y;
196
- v.value.n ? (d.value.y = g.value.y + w, i.value.height = r.value.height - w) : v.value.s && (i.value.height = r.value.height + w), v.value.e ? i.value.width = r.value.width + o : v.value.w && (i.value.width = r.value.width - o, d.value.x = g.value.x + o), F(), L(), C();
195
+ n.subtract(b.value);
196
+ const u = n.x, w = n.y;
197
+ v.value.n ? (c.value.y = d.value.y + w, r.value.height = f.value.height - w) : v.value.s && (r.value.height = f.value.height + w), v.value.e ? r.value.width = f.value.width + u : v.value.w && (r.value.width = f.value.width - u, c.value.x = d.value.x + u), j(), P(), p();
197
198
  }
198
- function c(n) {
199
- if (!p.value)
199
+ function N(n) {
200
+ if (!z.value)
200
201
  return;
201
- const o = M.fromEvent(n);
202
- o && V(o);
202
+ const u = M.fromEvent(n);
203
+ u && V(u);
203
204
  }
204
- function f() {
205
- if (l.value) {
205
+ function i() {
206
+ if (a.value) {
206
207
  const {
207
208
  width: n,
208
- height: o,
209
+ height: u,
209
210
  x: w,
210
- y: m
211
- } = l.value.getBoundingClientRect(), z = M.getTransformInfo(l.value);
211
+ y: g
212
+ } = a.value.getBoundingClientRect(), E = M.getTransformInfo(a.value);
212
213
  return {
213
214
  size: {
214
215
  width: n,
215
- height: o
216
+ height: u
216
217
  },
217
218
  position: {
218
- x: w - z.x,
219
- y: m - z.y
219
+ x: w - E.x,
220
+ y: g - E.y
220
221
  }
221
222
  };
222
223
  }
223
224
  return null;
224
225
  }
225
- function E(n) {
226
- if (l.value) {
227
- const o = f();
228
- H.value = o;
226
+ function m(n) {
227
+ if (a.value) {
228
+ const u = i();
229
+ k.value = u;
229
230
  }
230
- x.value = void 0, r.value = null, g.value = null, i.value = null, d.value = null, v.value = null, p.value = null, document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", E);
231
+ b.value = void 0, f.value = null, d.value = null, r.value = null, c.value = null, v.value = null, z.value = null, document.removeEventListener("mousemove", N), document.removeEventListener("mouseup", m);
231
232
  }
232
- function P() {
233
- document.addEventListener("mousemove", c), document.addEventListener("mouseup", E);
233
+ function H() {
234
+ document.addEventListener("mousemove", N), document.addEventListener("mouseup", m);
234
235
  }
235
- function R(n) {
236
- n instanceof MouseEvent && n.button === 2 || I.value && (n.stopPropagation(), n.preventDefault(), x.value = M.fromEvent(n), p.value = n.target, y(n), P());
236
+ function B(n) {
237
+ n instanceof MouseEvent && n.button === 2 || I.value && (n.stopPropagation(), n.preventDefault(), b.value = M.fromEvent(n), z.value = n.target, y(n), H());
237
238
  }
238
- function j(n) {
239
- return l.value = n, h(we, null, [h("div", {
240
- class: "ng-resizable-handle ng-resizable-n",
239
+ function T(n) {
240
+ return a.value = n, h(Me, null, [h("div", {
241
+ class: "fv-resizable-handle fv-resizable-n",
241
242
  type: "n",
242
- onMousedown: (o) => R(o)
243
+ onMousedown: (u) => B(u)
243
244
  }, null), h("div", {
244
- class: "ng-resizable-handle ng-resizable-e",
245
+ class: "fv-resizable-handle fv-resizable-e",
245
246
  type: "e",
246
- onMousedown: (o) => R(o)
247
+ onMousedown: (u) => B(u)
247
248
  }, null), h("div", {
248
- class: "ng-resizable-handle ng-resizable-s",
249
+ class: "fv-resizable-handle fv-resizable-s",
249
250
  type: "s",
250
- onMousedown: (o) => R(o)
251
+ onMousedown: (u) => B(u)
251
252
  }, null), h("div", {
252
- class: "ng-resizable-handle ng-resizable-w",
253
+ class: "fv-resizable-handle fv-resizable-w",
253
254
  type: "w",
254
- onMousedown: (o) => R(o)
255
+ onMousedown: (u) => B(u)
255
256
  }, null), h("div", {
256
- class: "ng-resizable-handle ng-resizable-ne",
257
+ class: "fv-resizable-handle fv-resizable-ne",
257
258
  type: "ne",
258
- onMousedown: (o) => R(o)
259
+ onMousedown: (u) => B(u)
259
260
  }, null), h("div", {
260
- class: "ng-resizable-handle ng-resizable-se ng-resizable-diagonal",
261
+ class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
261
262
  type: "se",
262
- onMousedown: (o) => R(o)
263
+ onMousedown: (u) => B(u)
263
264
  }, null), h("div", {
264
- class: "ng-resizable-handle ng-resizable-sw",
265
+ class: "fv-resizable-handle fv-resizable-sw",
265
266
  type: "sw",
266
- onMousedown: (o) => R(o)
267
+ onMousedown: (u) => B(u)
267
268
  }, null), h("div", {
268
- class: "ng-resizable-handle ng-resizable-nw",
269
+ class: "fv-resizable-handle fv-resizable-nw",
269
270
  type: "nw",
270
- onMousedown: (o) => R(o)
271
+ onMousedown: (u) => B(u)
271
272
  }, null)]);
272
273
  }
273
- function W(n = !0) {
274
- const o = u.value || document.body, w = N.getCurrent(o), m = l.value;
275
- n && (B.value = f(), B.value.transform = m.style.transform), w && m && (i.value = w, m.style.height = i.value.height - 14 + "px", m.style.width = i.value.width - 14 + "px", m.style.left = "7px", m.style.top = "7px", m.style.transform = "", H.value = {
276
- size: i.value,
274
+ function F(n = !0) {
275
+ const u = s.value || document.body, w = D.getCurrent(u), g = a.value;
276
+ n && (R.value = i(), R.value.transform = g.style.transform), w && g && (r.value = w, g.style.height = r.value.height - 14 + "px", g.style.width = r.value.width - 14 + "px", g.style.left = "7px", g.style.top = "7px", g.style.transform = "", k.value = {
277
+ size: r.value,
277
278
  position: {
278
279
  x: 0,
279
280
  y: 0
280
281
  }
281
282
  }, I.value = !1, O.value = !0);
282
283
  }
283
- function q() {
284
- var n, o;
285
- if (B.value) {
284
+ function K() {
285
+ var n, u;
286
+ if (R.value) {
286
287
  const w = {
287
- width: B.value.size.width || 0,
288
- height: B.value.size.height || 0
289
- }, m = {
288
+ width: R.value.size.width || 0,
289
+ height: R.value.size.height || 0
290
+ }, g = {
290
291
  x: (window.innerWidth - w.width) / 2,
291
292
  y: (window.innerHeight - w.height) / 2
292
293
  };
293
- (n = i.value) == null || n.set(w), (o = d.value) == null || o.set(m);
294
- const z = l.value;
295
- z.style.height = w.height + "px", z.style.width = w.width + "px", z.style.left = `${m.x}px`, z.style.top = `${m.y}px`, z.style.transform = "", H.value = {
294
+ (n = r.value) == null || n.set(w), (u = c.value) == null || u.set(g);
295
+ const E = a.value;
296
+ E.style.height = w.height + "px", E.style.width = w.width + "px", E.style.left = `${g.x}px`, E.style.top = `${g.y}px`, E.style.transform = "", k.value = {
296
297
  size: w,
297
- position: m
298
+ position: g
298
299
  }, I.value = t.draggable, O.value = !1;
299
300
  }
300
301
  }
301
- function J() {
302
- if (l.value) {
303
- const n = N.getCurrent(l.value);
302
+ function q() {
303
+ if (a.value) {
304
+ const n = D.getCurrent(a.value);
304
305
  if (n) {
305
306
  const {
306
- width: o,
307
+ width: u,
307
308
  height: w
308
309
  } = n;
309
- l.value.style.left = `${(window.innerWidth - o) / 2}px`, l.value.style.top = `${(window.innerHeight - w) / 2}px`, l.value.style.transform = "";
310
+ a.value.style.left = `${(window.innerWidth - u) / 2}px`, a.value.style.top = `${(window.innerHeight - w) / 2}px`, a.value.style.transform = "";
310
311
  }
311
312
  }
312
313
  }
313
- function K() {
314
+ function J() {
314
315
  const n = () => {
315
- O.value ? W(!1) : J();
316
+ O.value ? F(!1) : q();
316
317
  };
317
318
  return window.addEventListener("resize", n), () => {
318
319
  window.removeEventListener("resize", n);
319
320
  };
320
321
  }
321
- const A = K();
322
+ const A = J();
322
323
  return {
323
- renderResizeBar: j,
324
- boundingElement: u,
325
- resizedEventParam: H,
326
- maximize: W,
327
- restore: q,
324
+ renderResizeBar: T,
325
+ boundingElement: s,
326
+ resizedEventParam: k,
327
+ maximize: F,
328
+ restore: K,
328
329
  allowDrag: I,
329
330
  isMaximized: O,
330
331
  unWindowResizeHandle: A
331
332
  };
332
333
  }
333
- function Ie(t, e) {
334
- const l = s(), u = s(t.draggable), x = s(t.lockAxis), r = s(), g = s(), i = s(!1), d = s(new M(0, 0)), v = s(new M(0, 0)), p = s(new M(0, 0)), T = s(new M(0, 0));
335
- function H(c, f) {
336
- if (f.tagName === "BUTTON")
334
+ function Pe(t, e, a) {
335
+ const s = o(), b = o(t.draggable), f = o(t.lockAxis), d = o(), r = o(), c = o(!1), v = o(new M(0, 0)), z = o(new M(0, 0)), C = o(new M(0, 0)), k = o(new M(0, 0));
336
+ X(() => a.value, (i) => {
337
+ d.value.style.cursor = i ? "move" : "default";
338
+ });
339
+ function R(i, m) {
340
+ if (m.tagName === "BUTTON")
337
341
  return !1;
338
- if (f === c)
342
+ if (m === i)
339
343
  return !0;
340
- for (const E in f.children)
341
- if (f.children.hasOwnProperty(E) && H(c, f.children[E]))
344
+ for (const H in m.children)
345
+ if (m.children.hasOwnProperty(H) && R(i, m.children[H]))
342
346
  return !0;
343
347
  return !1;
344
348
  }
345
- function B() {
346
- var P, R;
347
- let c = p.value.x + v.value.x, f = p.value.y + v.value.y;
348
- x.value === "x" ? (c = ((P = d.value) == null ? void 0 : P.x) || 0, p.value.x = 0) : x.value === "y" && (f = ((R = d.value) == null ? void 0 : R.y) || 0, p.value.y = 0);
349
- const E = `translate3d(${Math.round(c)}px, ${Math.round(f)}px, 0px)`;
350
- l.value && (l.value.style.transform = E), T.value.x = c, T.value.y = f;
351
- }
352
349
  function I() {
353
- if (!g.value || !l.value)
350
+ var B, T;
351
+ let i = C.value.x + z.value.x, m = C.value.y + z.value.y;
352
+ f.value === "x" ? (i = ((B = v.value) == null ? void 0 : B.x) || 0, C.value.x = 0) : f.value === "y" && (m = ((T = v.value) == null ? void 0 : T.y) || 0, C.value.y = 0);
353
+ const H = `translate3d(${Math.round(i)}px, ${Math.round(m)}px, 0px)`;
354
+ s.value && (s.value.style.transform = H), k.value.x = i, k.value.y = m;
355
+ }
356
+ function O() {
357
+ if (!r.value || !s.value)
354
358
  return null;
355
- const c = g.value.getBoundingClientRect(), f = l.value.getBoundingClientRect(), E = {
356
- top: c.top < f.top,
357
- right: c.right > f.right,
358
- bottom: c.bottom > f.bottom,
359
- left: c.left < f.left
359
+ const i = r.value.getBoundingClientRect(), m = s.value.getBoundingClientRect(), H = {
360
+ top: i.top < m.top,
361
+ right: i.right > m.right,
362
+ bottom: i.bottom > m.bottom,
363
+ left: i.left < m.left
360
364
  };
361
- return E.top || (p.value.y -= f.top - c.top), E.bottom || (p.value.y -= f.bottom - c.bottom), E.right || (p.value.x -= f.right - c.right), E.left || (p.value.x -= f.left - c.left), B(), E;
365
+ return H.top || (C.value.y -= m.top - i.top), H.bottom || (C.value.y -= m.bottom - i.bottom), H.right || (C.value.x -= m.right - i.right), H.left || (C.value.x -= m.left - i.left), I(), H;
362
366
  }
363
- function O(c) {
364
- c && (d.value && c.subtract(d.value), p.value.set(c), B(), I());
367
+ function S(i) {
368
+ i && (v.value && i.subtract(v.value), C.value.set(i), I(), O());
365
369
  }
366
- function S(c) {
367
- i.value && u.value && (c.stopPropagation(), c.preventDefault(), O(M.fromEvent(c, r.value)));
370
+ function y(i) {
371
+ c.value && b.value && (i.stopPropagation(), i.preventDefault(), S(M.fromEvent(i, d.value)));
368
372
  }
369
- function y() {
370
- var c;
371
- i.value && (i.value = !1, v.value.add(p.value), p.value.reset(), (c = l.value) == null || c.classList.remove("ng-dragging"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", y));
373
+ function p() {
374
+ var i;
375
+ c.value && (c.value = !1, z.value.add(C.value), C.value.reset(), (i = s.value) == null || i.classList.remove("ng-dragging"), document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", p));
372
376
  }
373
- function C() {
374
- !i.value && r.value && (i.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", S), document.addEventListener("mouseup", y));
377
+ function P() {
378
+ !c.value && d.value && (c.value = !0, d.value.classList.add("ng-dragging"), document.addEventListener("mousemove", y), document.addEventListener("mouseup", p));
375
379
  }
376
- function L() {
377
- if (l.value) {
378
- const c = M.getTransformInfo(l.value);
379
- v.value.set(c);
380
+ function j() {
381
+ if (s.value) {
382
+ const i = M.getTransformInfo(s.value);
383
+ z.value.set(i);
380
384
  return;
381
385
  }
382
- v.value.reset();
386
+ z.value.reset();
383
387
  }
384
- function F(c) {
385
- if (c instanceof MouseEvent && c.button === 2)
388
+ function V(i) {
389
+ if (!a.value || i instanceof MouseEvent && i.button === 2)
386
390
  return;
387
- const f = c.target || c.srcElement;
388
- r.value !== void 0 && f && !H(f, r.value) || u.value !== !1 && (c.stopPropagation(), c.preventDefault(), d.value = M.fromEvent(c, l.value), L(), C());
389
- }
390
- function V(c, f, E) {
391
- if (c && u.value && f) {
392
- if (t.dragHandle) {
391
+ const m = i.target || i.srcElement;
392
+ d.value !== void 0 && m && !R(m, d.value) || b.value !== !1 && (document.body.click(), i.stopPropagation(), i.preventDefault(), v.value = M.fromEvent(i, s.value), j(), P());
393
+ }
394
+ function N(i, m, H) {
395
+ if (b.value && m) {
396
+ if (i)
397
+ d.value = i;
398
+ else if (t.dragHandle) {
393
399
  if (t.dragHandle instanceof HTMLElement)
394
- r.value = t.dragHandle;
400
+ d.value = t.dragHandle;
395
401
  else if (typeof t.dragHandle == "string") {
396
- const P = f.querySelector(t.dragHandle);
397
- P && (r.value = P);
402
+ const B = m.querySelector(t.dragHandle);
403
+ B && (d.value = B);
398
404
  }
399
- } else
400
- r.value = c;
401
- l.value = f, g.value = E, r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", F);
405
+ }
406
+ s.value = m, r.value = H, d.value.classList.add("ng-draggable"), d.value.addEventListener("mousedown", V);
402
407
  }
403
408
  }
404
409
  return {
405
- registerDraggle: V,
406
- resetTranslate: L
410
+ registerDraggle: N,
411
+ resetTranslate: j
407
412
  };
408
413
  }
409
- function ke(t, e) {
410
- const l = s(t.enableEsc);
411
- function u(x) {
412
- x.key === "Escape" && t.enableEsc && e.emit("esc", { event: x, type: "esc" });
414
+ function ae(t, e) {
415
+ if (t) {
416
+ const a = (s) => {
417
+ s.key.toLowerCase() === t.toLowerCase() && e({ event: s, key: t });
418
+ };
419
+ return document.addEventListener("keydown", a), () => {
420
+ document.removeEventListener("keydown", a);
421
+ };
413
422
  }
414
- l.value && document.addEventListener("keydown", u);
415
423
  }
416
- const $ = /* @__PURE__ */ be({
424
+ function je(t, e) {
425
+ const a = o(t.enableEsc);
426
+ let s = null;
427
+ return a.value ? (s = ae("Escape", (b) => {
428
+ e.emit("esc", { event: b.event, type: "esc" });
429
+ }), {
430
+ remove: s
431
+ }) : null;
432
+ }
433
+ function Ve(t, e) {
434
+ const a = o(t.enableEnter);
435
+ let s = null;
436
+ return a.value ? (s = ae("Enter", (b) => {
437
+ e.emit("enter", { event: b.event, type: "enter" });
438
+ }), {
439
+ remove: s
440
+ }) : null;
441
+ }
442
+ const $ = /* @__PURE__ */ ze({
417
443
  name: "FModal",
418
- props: He,
419
- emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc"],
444
+ props: Oe,
445
+ emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
420
446
  setup(t, e) {
421
- const l = s(t.width || 300), u = s(t.height || 200), x = s(t.modelValue), r = s(""), g = s(t.class), i = s(t.fitContent), d = s(t.showHeader), v = s(""), p = s(t.showCloseButton), T = s(t.showMaxButton), H = s(!1), B = s(""), I = s(""), O = s(""), S = s(t.showButtons), y = s(t.title), C = s(t.reiszeable), L = s(t.containment || null), F = s();
422
- function V(a, b) {
423
- x.value = !1, e.emit("update:modelValue", !1), b != null && e.emit(b ? "accept" : "cancel"), e.emit("closed", a);
447
+ const a = o(t.width || 300), s = o(t.height || 200), b = o(t.modelValue), f = o(""), d = o(t.class), r = o(t.fitContent), c = o(t.showHeader), v = o(""), z = o(t.showCloseButton), C = o(t.showMaxButton), k = o(!1), R = o(""), I = o(""), O = o(""), S = o(t.showButtons), y = o(t.title), p = o(t.reiszeable), P = o(t.containment || null), j = o();
448
+ function V(l, x) {
449
+ b.value = !1, e.emit("update:modelValue", !1), x != null && e.emit(x ? "accept" : "cancel"), e.emit("closed", l);
424
450
  }
425
- const c = [{
451
+ const N = [{
426
452
  name: "cancel",
427
453
  text: "取消",
428
- class: "btn btn-light",
429
- handle: (a) => {
430
- V(a, !1);
454
+ class: "btn btn-secondary",
455
+ handle: (l) => {
456
+ V(l, !1);
431
457
  }
432
458
  }, {
433
459
  name: "accept",
434
460
  text: "确定",
435
461
  class: "btn btn-primary",
436
- handle: (a) => {
437
- V(a, !0);
462
+ handle: (l) => {
463
+ V(l, !0);
438
464
  }
439
- }], f = s(t.buttons && t.buttons.length ? t.buttons : c), E = k(() => !!v.value), P = k(() => !!S.value && !!f.value), R = s(), j = s(), W = s(!1), {
440
- renderResizeBar: q,
441
- maximize: J,
442
- restore: K,
465
+ }], i = o(t.buttons && t.buttons.length ? t.buttons : N), m = L(() => !!v.value), H = L(() => !!S.value && !!i.value), B = o(), T = o(), F = o(!1), {
466
+ renderResizeBar: K,
467
+ maximize: q,
468
+ restore: J,
443
469
  boundingElement: A,
444
470
  resizedEventParam: n,
445
- allowDrag: o,
471
+ allowDrag: u,
446
472
  unWindowResizeHandle: w
447
- } = Re(t), {
448
- registerDraggle: m
449
- } = Ie(t);
450
- Y(() => t.title, (a, b) => {
451
- a !== b && (y.value = a);
452
- }), Y(() => t.modelValue, (a, b) => {
453
- a !== b && (x.value = a);
454
- }), Y(() => t.showHeader, (a, b) => {
455
- a !== b && (d.value = a);
456
- }), Y(() => t.showButtons, (a, b) => {
457
- a !== b && (S.value = a);
458
- }), Y(() => n.value, (a, b) => {
459
- const X = a || {}, U = b || {};
460
- JSON.stringify(X) !== JSON.stringify(U) && e.emit("resize", {
461
- newSize: a,
462
- oldSize: b
473
+ } = Se(t), {
474
+ registerDraggle: g
475
+ } = Pe(t, e, u);
476
+ X(() => t.title, (l, x) => {
477
+ l !== x && (y.value = l);
478
+ }), X(() => t.modelValue, (l, x) => {
479
+ l !== x && (b.value = l);
480
+ }), X(() => t.showHeader, (l, x) => {
481
+ l !== x && (c.value = l);
482
+ }), X(() => t.showButtons, (l, x) => {
483
+ l !== x && (S.value = l);
484
+ }), X(() => n.value, (l, x) => {
485
+ const Y = l || {}, U = x || {};
486
+ JSON.stringify(Y) !== JSON.stringify(U) && e.emit("resize", {
487
+ newSize: l,
488
+ oldSize: x
463
489
  });
464
490
  });
465
- function z() {
466
- const a = document.querySelectorAll(".farris-modal").length;
467
- (!a || a - 1 <= 0) && document.body.classList.remove("modal-open"), F.value && F.value.classList.remove("show");
491
+ function E() {
492
+ const l = document.querySelectorAll(".farris-modal").length;
493
+ (!l || l - 1 <= 0) && document.body.classList.remove("modal-open"), j.value && j.value.classList.remove("show");
468
494
  }
469
- const _ = k(() => (x.value ? document.body.classList.add("modal-open") : z(), x.value)), te = k(() => {
470
- const a = {
495
+ const _ = L(() => (b.value ? document.body.classList.add("modal-open") : E(), b.value)), oe = L(() => {
496
+ const l = {
471
497
  modal: !0,
472
498
  "farris-modal": !0,
473
499
  fade: !0
474
500
  };
475
- return a["f-modal-fitContent"] = !!i.value, a.show = !!_.value, a;
476
- }), le = k(() => {
477
- var X;
478
- const a = {
501
+ return l["f-modal-fitContent"] = !!r.value, l.show = !!_.value, l;
502
+ }), se = L(() => {
503
+ var Y;
504
+ const l = {
479
505
  "modal-dialog": !0
480
- }, b = (X = g.value) == null ? void 0 : X.split(" ");
481
- return b == null || b.reduce((U, me) => (U[me] = !0, U), a), a;
482
- }), ae = k(() => ({
506
+ }, x = (Y = d.value) == null ? void 0 : Y.split(" ");
507
+ return x == null || x.reduce((U, xe) => (U[xe] = !0, U), l), l;
508
+ }), ue = L(() => ({
483
509
  position: "absolute",
484
- top: `${(window.innerHeight - u.value) / 2}px`,
485
- left: `${(window.innerWidth - l.value) / 2}px`,
486
- width: `${l.value}px`,
487
- height: i.value ? "auto" : `${u.value}px`
488
- })), ne = k(() => ({
510
+ top: `${(window.innerHeight - s.value) / 2}px`,
511
+ left: `${(window.innerWidth - a.value) / 2}px`,
512
+ width: `${a.value}px`,
513
+ height: r.value ? "auto" : `${s.value}px`
514
+ })), ie = L(() => ({
489
515
  "modal-content": !0,
490
- "modal-content-has-header": d.value
491
- })), se = k(() => {
492
- const a = {
493
- display: d.value ? "" : "none"
516
+ "modal-content-has-header": c.value
517
+ })), re = L(() => {
518
+ const l = {
519
+ display: c.value ? "" : "none"
494
520
  };
495
- return a["pointer-events"] = o.value ? "auto" : "none", a;
496
- }), oe = k(() => ({
521
+ return l["pointer-events"] = u.value ? "auto" : "none", l;
522
+ }), ce = L(() => ({
497
523
  "f-icon": !0,
498
524
  modal_maximize: !0,
499
- modalrevert: W.value
500
- })), ue = k(() => ({
525
+ modalrevert: F.value
526
+ })), de = L(() => ({
501
527
  "modal-body": !0,
502
- "f-utils-flex-column": B.value === "iframe"
528
+ "f-utils-flex-column": R.value === "iframe"
503
529
  }));
504
- function ie() {
530
+ function ve() {
505
531
  return {};
506
532
  }
507
- const ce = k(() => {
508
- const a = {
533
+ const fe = L(() => {
534
+ const l = {
509
535
  textAlgin: O.value
510
- }, b = ie();
511
- return Object.assign(a, b);
536
+ }, x = ve();
537
+ return Object.assign(l, x);
512
538
  });
513
- function re(a) {
514
- if (a.stopPropagation(), W.value) {
515
- W.value = !1, K();
539
+ function ee(l) {
540
+ if (l.stopPropagation(), F.value) {
541
+ F.value = !1, J();
516
542
  return;
517
543
  }
518
- J(), W.value = !0;
544
+ q(), F.value = !0;
519
545
  }
520
- async function de(a, b) {
521
- a.handle && await a.handle(b, a) && e.emit("closed", b);
546
+ async function he(l, x) {
547
+ l.handle && await l.handle(x, l) && e.emit("closed", x);
522
548
  }
523
- function ve(a) {
524
- a.width && (l.value = a.width), a.height && (u.value = a.height), a.buttons && (f.value = a.buttons), a.title && (y.value = a.title);
549
+ function me(l) {
550
+ l.width && (a.value = l.width), l.height && (s.value = l.height), l.buttons && (i.value = l.buttons), l.title && (y.value = l.title);
525
551
  }
526
- Q(() => {
527
- j.value && !L.value && (L.value = j.value.parentElement, A.value = L.value, m(R.value, j.value, A.value)), _.value && document.body.classList.add("modal-open"), ke(t, e);
528
- }), Z(() => {
529
- z(), w && w();
552
+ let G = null, Q = null;
553
+ te(() => {
554
+ T.value && !P.value && (P.value = T.value.parentElement, A.value = P.value, g(B.value, T.value, A.value)), _.value && document.body.classList.add("modal-open"), G = je(t, e), Q = Ve(t, e);
555
+ }), le(() => {
556
+ E(), w && w(), G && G.remove(), Q && Q.remove();
530
557
  }), e.expose({
531
- modalElementRef: j,
532
- updateModalOptions: ve,
533
- close: V
558
+ modalElementRef: T,
559
+ updateModalOptions: me,
560
+ close: V,
561
+ maxDialog: ee
534
562
  });
535
- function fe() {
536
- return h("ul", null, [H.value && h("li", {
563
+ function ge() {
564
+ return h("ul", null, [k.value && h("li", {
537
565
  class: "f-btn-icon f-bare"
538
566
  }, [h("span", {
539
567
  class: "f-icon modal_minimize"
540
- }, null)]), T.value && h("li", {
541
- onClick: re,
568
+ }, null)]), C.value && h("li", {
569
+ onClick: ee,
542
570
  class: "f-btn-icon f-bare",
543
571
  style: "pointer-events: auto;"
544
572
  }, [h("span", {
545
- class: oe.value
546
- }, null)]), p.value && h("li", {
573
+ class: ce.value
574
+ }, null)]), z.value && h("li", {
547
575
  class: "f-btn-icon f-bare",
548
- onClick: (a) => V(a, !1),
576
+ onClick: (l) => V(l, !1),
549
577
  style: "pointer-events: auto;"
550
578
  }, [h("span", {
551
579
  class: "f-icon modal_close"
552
580
  }, null)])]);
553
581
  }
554
- function he() {
582
+ function ye() {
555
583
  return h("div", {
556
584
  class: "modal-footer",
557
- style: ce.value
558
- }, [f.value && f.value.map((a) => h("button", {
559
- name: a.name,
585
+ style: fe.value
586
+ }, [i.value && i.value.map((l) => h("button", {
587
+ name: l.name,
560
588
  type: "button",
561
- class: a.class + (a.iconClass ? " btn-icontext" : ""),
562
- onClick: (b) => {
563
- de(a, b);
589
+ class: l.class + (l.iconClass ? " btn-icontext" : ""),
590
+ onClick: (x) => {
591
+ he(l, x);
564
592
  }
565
- }, [!!a.iconClass && h("i", {
566
- class: a.iconClass
567
- }, null), a.text]))]);
593
+ }, [!!l.iconClass && h("i", {
594
+ class: l.iconClass
595
+ }, null), l.text]))]);
568
596
  }
569
- return () => h(xe, {
597
+ function we() {
598
+ return h("div", {
599
+ ref: B,
600
+ class: "modal-header",
601
+ style: re.value
602
+ }, [h("div", {
603
+ class: "modal-title"
604
+ }, [m.value && h("span", {
605
+ class: v.value,
606
+ style: "margin-right: 8px"
607
+ }, null), h("span", {
608
+ class: "modal-title-label"
609
+ }, [y.value])]), h("div", {
610
+ class: "actions"
611
+ }, [ge()])]);
612
+ }
613
+ function be(l) {
614
+ l.stopPropagation();
615
+ }
616
+ return () => h(Ee, {
570
617
  to: "body"
571
618
  }, {
572
- default: () => {
573
- var a, b;
574
- return [_.value && h("div", {
575
- class: te.value,
576
- style: "display: block",
577
- ref: F
578
- }, [h("div", {
579
- id: r.value,
580
- class: le.value,
581
- style: ae.value,
582
- ref: j
583
- }, [h("div", {
584
- class: ne.value
585
- }, [h("div", {
586
- ref: R,
587
- class: "modal-header",
588
- style: se.value
589
- }, [h("div", {
590
- class: "modal-title"
591
- }, [E.value && h("span", {
592
- class: v.value,
593
- style: "margin-right: 8px"
594
- }, null), h("span", {
595
- class: "modal-title-label"
596
- }, [y.value])]), h("div", {
597
- class: "actions"
598
- }, [fe()])]), h("div", {
599
- class: ue.value
600
- }, [(b = (a = e.slots).default) == null ? void 0 : b.call(a), B.value === "iframe" && h("iframe", {
601
- title: r.value,
602
- class: "f-utils-fill",
603
- width: "100%",
604
- frameborder: "0",
605
- src: I.value
606
- }, null)]), P.value && he()]), !i.value && C.value && j.value && q(j.value)])])];
607
- }
619
+ default: () => [_.value && h(Be, {
620
+ name: "fade",
621
+ appear: !0
622
+ }, {
623
+ default: () => {
624
+ var l, x;
625
+ return [h("div", {
626
+ class: oe.value,
627
+ style: "display: block",
628
+ ref: j,
629
+ onClick: be
630
+ }, [h("div", {
631
+ id: f.value,
632
+ class: se.value,
633
+ style: ue.value,
634
+ ref: T
635
+ }, [h("div", {
636
+ class: ie.value
637
+ }, [c.value && we(), h("div", {
638
+ class: de.value
639
+ }, [(x = (l = e.slots).default) == null ? void 0 : x.call(l), R.value === "iframe" && h("iframe", {
640
+ title: f.value,
641
+ class: "f-utils-fill",
642
+ width: "100%",
643
+ frameborder: "0",
644
+ src: I.value
645
+ }, null)]), H.value && ye()]), !r.value && p.value && T.value && K(T.value)])])];
646
+ }
647
+ })]
608
648
  });
609
649
  }
610
650
  });
611
- function ee(t) {
651
+ function ne(t) {
612
652
  if (t.content && t.content.render)
613
653
  return t.content.render;
614
654
  if (t.render && typeof t.render == "function")
615
655
  return t.render;
616
656
  }
617
- function Te(t) {
657
+ function Fe(t) {
618
658
  const e = document.createElement("div");
619
659
  e.style.display = "contents";
620
- const l = Ce({
621
- setup(u, x) {
622
- Z(() => {
660
+ const a = Re({
661
+ setup(s, b) {
662
+ le(() => {
623
663
  document.body.removeChild(e);
624
664
  });
625
- const r = s(), g = s(t.class || ""), i = s(!!t.showButtons), d = s(!!t.showHeader), v = s(t.showCloseButton == null ? !0 : t.showCloseButton), p = s(!0), T = s(t.title || ""), H = t.acceptCallback || (() => {
626
- }), B = t.rejectCallback || (() => {
627
- }), I = t.closedCallback || ((C) => {
628
- }), O = t.resizeHandle || ((C) => {
629
- }), S = ee(t), y = (C) => {
630
- p.value = !1, l.unmount(), I(C);
665
+ const f = o(), d = o(t.class || ""), r = o(!!t.showButtons), c = o(!!t.showHeader), v = o(t.showCloseButton == null ? !0 : t.showCloseButton), z = o(!0), C = o(t.title || ""), k = t.acceptCallback || (() => {
666
+ }), R = t.rejectCallback || (() => {
667
+ }), I = t.closedCallback || ((p) => {
668
+ }), O = t.resizeHandle || ((p) => {
669
+ }), S = ne(t), y = (p) => {
670
+ z.value = !1, a.unmount(), I(p);
631
671
  };
632
- return Q(() => {
633
- }), x.expose({
634
- modalRef: r
672
+ return te(() => {
673
+ }), b.expose({
674
+ modalRef: f
635
675
  }), () => h($, {
636
- ref: r,
637
- class: g.value,
638
- modelValue: p.value,
639
- "onUpdate:modelValue": (C) => p.value = C,
640
- title: T.value,
676
+ ref: f,
677
+ class: d.value,
678
+ modelValue: z.value,
679
+ "onUpdate:modelValue": (p) => z.value = p,
680
+ title: C.value,
641
681
  width: t.width,
642
682
  height: t.height,
643
683
  buttons: t.buttons,
644
- "show-header": d.value,
645
- "show-buttons": i.value,
684
+ "show-header": c.value,
685
+ "show-buttons": r.value,
646
686
  "show-close-button": v.value,
647
687
  "show-max-button": !1,
648
- onAccept: H,
649
- onCancel: B,
688
+ onAccept: k,
689
+ onCancel: R,
650
690
  fitContent: t.fitContent == null ? !0 : t.fitContent,
651
691
  onClosed: y,
652
692
  onResize: O
653
693
  }, {
654
- default: () => [S && S(l)]
694
+ default: () => [S && S(a)]
655
695
  });
656
696
  }
657
697
  });
658
- return document.body.appendChild(e), l.mount(e), l;
698
+ return document.body.appendChild(e), a.mount(e), a;
659
699
  }
660
- class Oe {
700
+ class We {
661
701
  constructor(e) {
662
- D(this, "appContext", null);
663
- D(this, "modalRef", s());
664
- D(this, "activeModalIndex", s(0));
665
- D(this, "modalRefs", {});
666
- D(this, "isUseEscCloseModal", s(!1));
667
- D(this, "activeModalInstance", k(() => this.modalRefs[this.activeModalIndex.value]));
702
+ W(this, "appContext", null);
703
+ W(this, "modalRef", o());
704
+ W(this, "activeModalIndex", o(0));
705
+ W(this, "modalRefs", {});
706
+ W(this, "isUseEscCloseModal", o(!1));
707
+ W(this, "activeModalInstance", L(() => this.modalRefs[this.activeModalIndex.value]));
668
708
  this.appContext = e ? e._context : null;
669
709
  }
670
710
  getCurrentModal() {
671
711
  return this.activeModalInstance.value;
672
712
  }
673
713
  static show(e) {
674
- const l = Object.assign({
714
+ const a = Object.assign({
675
715
  title: "",
676
716
  showButtons: !0,
677
717
  showHeader: !0
678
718
  }, e);
679
- return Te(l);
719
+ return Fe(a);
680
720
  }
681
721
  open(e) {
682
- const l = document.createDocumentFragment();
722
+ const a = document.createDocumentFragment();
683
723
  e.showMaxButton && e.fitContent && (e.showMaxButton = !1);
684
- const u = pe(Object.assign({
724
+ const s = He(Object.assign({
685
725
  title: "",
686
726
  showButtons: !0,
687
727
  showHeader: !0
688
- }, e)), x = s(!0), r = u.value.acceptCallback || (() => {
689
- }), g = u.value.rejectCallback || (() => {
690
- }), i = u.value.closedCallback || ((y, C) => {
691
- }), d = u.value.resizeHandle || ((y) => {
728
+ }, e)), b = o(!0), f = s.value.acceptCallback || (() => {
729
+ }), d = s.value.rejectCallback || (() => {
730
+ }), r = s.value.closedCallback || ((y, p) => {
731
+ }), c = s.value.resizeHandle || ((y) => {
692
732
  });
693
733
  let v;
694
- const p = ee(u.value), T = (y) => {
695
- var L;
696
- x.value = !1;
697
- const C = (L = y == null ? void 0 : y.target) == null ? void 0 : L.classList.contains("modal_close");
698
- i(y, this.isUseEscCloseModal.value ? "esc" : C ? "icon" : "button");
699
- }, H = (y) => {
700
- T(y), v && Me(() => {
701
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], G(null, l), v = null, this.modalRef.value = null, this.modalRefs) {
702
- const C = Object.keys(this.modalRefs);
703
- C.length > 0 ? this.activeModalIndex.value = Math.max(...C) : this.activeModalIndex.value = 0;
734
+ const z = ne(s.value), C = (y) => {
735
+ var P;
736
+ b.value = !1;
737
+ const p = (P = y == null ? void 0 : y.target) == null ? void 0 : P.classList.contains("modal_close");
738
+ r(y, this.isUseEscCloseModal.value ? "esc" : p ? "icon" : "button");
739
+ }, k = (y) => {
740
+ C(y), v && ke(() => {
741
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Z(null, a), v = null, this.modalRef.value = null, this.modalRefs) {
742
+ const p = Object.keys(this.modalRefs);
743
+ p.length > 0 ? this.activeModalIndex.value = Math.max(...p) : this.activeModalIndex.value = 0;
704
744
  }
705
745
  this.isUseEscCloseModal.value = !1;
706
746
  });
707
- }, B = (y) => {
708
- var C;
709
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((C = this.activeModalInstance.value) == null || C.close(y == null ? void 0 : y.event));
710
- }, I = () => h($, Be({
747
+ }, R = (y) => {
748
+ var p;
749
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((p = this.activeModalInstance.value) == null || p.close(y == null ? void 0 : y.event));
750
+ }, I = () => h($, Le({
711
751
  ref: this.modalRef,
712
- modelValue: x.value,
713
- "onUpdate:modelValue": (y) => x.value = y
714
- }, u.value, {
715
- onAccept: r,
716
- onCancel: g,
717
- onClosed: H,
718
- onResize: d,
719
- onEsc: B
752
+ modelValue: b.value,
753
+ "onUpdate:modelValue": (y) => b.value = y
754
+ }, s.value, {
755
+ onAccept: f,
756
+ onCancel: d,
757
+ onClosed: k,
758
+ onResize: c,
759
+ onEsc: R
720
760
  }), {
721
- default: () => [p && p()]
761
+ default: () => [z && z()]
722
762
  });
723
763
  return v = ((y) => {
724
- const C = ze(I, y);
725
- return C.appContext = this.appContext, G(C, l), C;
764
+ const p = Ie(I, y);
765
+ return p.appContext = this.appContext, Z(p, a), p;
726
766
  })({
727
- ...u.value
767
+ ...s.value
728
768
  // 'onUpdate:modelValue': onUpdateModelValue,
729
769
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
730
770
  update: (y) => {
731
- u.value = {
732
- ...u.value,
771
+ s.value = {
772
+ ...s.value,
733
773
  ...y
734
- }, v && G(Ee(v, {
735
- ...u
736
- }), l);
774
+ }, v && Z(Te(v, {
775
+ ...s
776
+ }), a);
737
777
  },
738
- destroy: H,
778
+ destroy: k,
739
779
  modalRef: this.activeModalInstance
740
780
  };
741
781
  }
742
782
  }
743
- const Se = Symbol("FModalService"), je = {
783
+ const De = Symbol("FModalService"), Ye = {
744
784
  install(t) {
745
785
  t.component($.name, $);
746
- const e = new Oe(t);
747
- t.provide(Se, e), t.provide("FModalService", e);
786
+ const e = new We(t);
787
+ t.provide(De, e), t.provide("FModalService", e);
748
788
  }
749
789
  };
750
790
  export {
751
791
  $ as FModal,
752
- Oe as FModalService,
753
- Se as F_MODAL_SERVICE_TOKEN,
754
- je as default,
755
- He as modalProps
792
+ We as FModalService,
793
+ De as F_MODAL_SERVICE_TOKEN,
794
+ Ye as default,
795
+ Oe as modalProps
756
796
  };