@farris/ui-vue 1.7.3 → 1.7.4

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 (396) hide show
  1. package/components/accordion/index.esm.js +312 -61
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +1482 -56
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +752 -8
  6. package/components/binding-selector/index.umd.cjs +1 -1
  7. package/components/button-group/index.esm.js +266 -110
  8. package/components/button-group/index.umd.cjs +1 -1
  9. package/components/calendar/index.esm.js +129 -128
  10. package/components/calendar/index.umd.cjs +2 -2
  11. package/components/code-editor/index.esm.js +237 -169
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +134 -133
  14. package/components/collection-property-editor/index.umd.cjs +2 -2
  15. package/components/color-picker/index.esm.js +812 -502
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +323 -291
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +355 -174
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/comment/index.esm.js +134 -133
  22. package/components/comment/index.umd.cjs +2 -2
  23. package/components/common/index.esm.js +1 -1
  24. package/components/common/index.umd.cjs +1 -1
  25. package/components/component/index.esm.js +3791 -2760
  26. package/components/component/index.umd.cjs +8 -1
  27. package/components/condition/index.esm.js +2482 -492
  28. package/components/condition/index.umd.cjs +8 -1
  29. package/components/data-view/index.esm.js +1815 -1789
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/date-picker/index.esm.js +1 -1
  32. package/components/date-picker/index.umd.cjs +1 -1
  33. package/components/designer-canvas/index.esm.js +2975 -2615
  34. package/components/designer-canvas/index.umd.cjs +1 -1
  35. package/components/drawer/index.esm.js +397 -387
  36. package/components/drawer/index.umd.cjs +2 -2
  37. package/components/dropdown/index.esm.js +373 -124
  38. package/components/dropdown/index.umd.cjs +2 -2
  39. package/components/dynamic-form/index.esm.js +592 -1894
  40. package/components/dynamic-form/index.umd.cjs +1 -1
  41. package/components/dynamic-resolver/index.esm.js +250 -248
  42. package/components/dynamic-resolver/index.umd.cjs +2 -2
  43. package/components/dynamic-view/index.esm.js +427 -466
  44. package/components/dynamic-view/index.umd.cjs +1 -1
  45. package/components/event-parameter/index.esm.js +1 -1
  46. package/components/event-parameter/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +1890 -1473
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.css +1 -1
  50. package/components/expression-editor/index.esm.js +7371 -2
  51. package/components/expression-editor/index.umd.cjs +427 -1
  52. package/components/fieldset/index.esm.js +1 -1
  53. package/components/fieldset/index.umd.cjs +1 -1
  54. package/components/filter-bar/index.esm.js +2 -3
  55. package/components/filter-bar/index.umd.cjs +2 -2
  56. package/components/filter-condition-editor/index.css +1 -1
  57. package/components/filter-condition-editor/index.esm.js +9044 -425
  58. package/components/filter-condition-editor/index.umd.cjs +427 -1
  59. package/components/html-template/index.esm.js +33 -36
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +615 -361
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +325 -247
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +269 -269
  66. package/components/language-textbox/index.umd.cjs +2 -2
  67. package/components/layout/index.esm.js +549 -163
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +837 -39
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +427 -646
  72. package/components/list-view/index.umd.cjs +6 -6
  73. package/components/lookup/index.esm.js +3624 -3625
  74. package/components/lookup/index.umd.cjs +1 -1
  75. package/components/menu-lookup/index.esm.js +577 -536
  76. package/components/menu-lookup/index.umd.cjs +6 -6
  77. package/components/nav/index.esm.js +311 -31
  78. package/components/nav/index.umd.cjs +1 -1
  79. package/components/number-range/index.esm.js +1634 -189
  80. package/components/number-range/index.umd.cjs +1 -1
  81. package/components/number-spinner/index.esm.js +82 -82
  82. package/components/number-spinner/index.umd.cjs +1 -1
  83. package/components/order/index.esm.js +1190 -850
  84. package/components/order/index.umd.cjs +6 -6
  85. package/components/page-footer/index.esm.js +331 -48
  86. package/components/page-footer/index.umd.cjs +1 -1
  87. package/components/page-header/index.esm.js +110 -116
  88. package/components/page-header/index.umd.cjs +1 -1
  89. package/components/pagination/index.esm.js +509 -232
  90. package/components/pagination/index.umd.cjs +1 -1
  91. package/components/progress/index.esm.js +353 -148
  92. package/components/progress/index.umd.cjs +3 -3
  93. package/components/property-editor/index.esm.js +157 -153
  94. package/components/property-editor/index.umd.cjs +1 -1
  95. package/components/property-panel/index.esm.js +1825 -871
  96. package/components/property-panel/index.umd.cjs +12 -5
  97. package/components/query-solution/index.css +1 -1
  98. package/components/query-solution/index.esm.js +6075 -3863
  99. package/components/query-solution/index.umd.cjs +13 -6
  100. package/components/response-layout/index.esm.js +1 -1
  101. package/components/response-layout/index.umd.cjs +1 -1
  102. package/components/response-layout-editor/index.esm.js +1 -1
  103. package/components/response-layout-editor/index.umd.cjs +1 -1
  104. package/components/schema-selector/index.esm.js +2447 -2221
  105. package/components/schema-selector/index.umd.cjs +7 -7
  106. package/components/search-box/index.esm.js +244 -72
  107. package/components/search-box/index.umd.cjs +1 -1
  108. package/components/section/index.esm.js +134 -133
  109. package/components/section/index.umd.cjs +2 -2
  110. package/components/smoke-detector/index.esm.js +179 -8
  111. package/components/smoke-detector/index.umd.cjs +1 -1
  112. package/components/sort-condition-editor/index.css +1 -0
  113. package/components/sort-condition-editor/index.esm.js +9488 -4
  114. package/components/sort-condition-editor/index.umd.cjs +427 -1
  115. package/components/splitter/index.esm.js +1172 -142
  116. package/components/splitter/index.umd.cjs +1 -1
  117. package/components/step/index.esm.js +47 -48
  118. package/components/step/index.umd.cjs +1 -1
  119. package/components/tabs/index.esm.js +490 -419
  120. package/components/tabs/index.umd.cjs +1 -1
  121. package/components/text/index.esm.js +217 -73
  122. package/components/text/index.umd.cjs +1 -1
  123. package/components/textarea/index.esm.js +29 -27
  124. package/components/textarea/index.umd.cjs +2 -2
  125. package/components/transfer/index.esm.js +760 -543
  126. package/components/transfer/index.umd.cjs +5 -5
  127. package/components/tree-grid/index.esm.js +105 -104
  128. package/components/tree-grid/index.umd.cjs +1 -1
  129. package/components/tree-view/index.esm.js +320 -153
  130. package/components/tree-view/index.umd.cjs +1 -1
  131. package/components/uploader/index.esm.js +1125 -634
  132. package/components/uploader/index.umd.cjs +2 -2
  133. package/components/verify-detail/index.esm.js +359 -106
  134. package/components/verify-detail/index.umd.cjs +1 -1
  135. package/components/video/index.esm.js +222 -89
  136. package/components/video/index.umd.cjs +1 -1
  137. package/components/weather/index.esm.js +290 -199
  138. package/components/weather/index.umd.cjs +1 -1
  139. package/designer/data-grid/index.esm.js +5191 -4407
  140. package/designer/data-grid/index.umd.cjs +17 -10
  141. package/designer/drawer/index.esm.js +576 -567
  142. package/designer/drawer/index.umd.cjs +2 -2
  143. package/designer/dynamic-form/index.esm.js +1418 -1154
  144. package/designer/dynamic-form/index.umd.cjs +8 -1
  145. package/designer/farris-designer.all.esm.js +12665 -12117
  146. package/designer/farris-designer.all.umd.cjs +12 -12
  147. package/designer/list-view/index.esm.js +327 -327
  148. package/designer/list-view/index.umd.cjs +3 -3
  149. package/designer/modal/index.esm.js +29 -137
  150. package/designer/modal/index.umd.cjs +1 -1
  151. package/designer/radio-group/index.esm.js +0 -1
  152. package/designer/radio-group/index.umd.cjs +1 -1
  153. package/designer/response-layout-editor/index.esm.js +1 -1
  154. package/designer/response-layout-editor/index.umd.cjs +1 -1
  155. package/designer/response-toolbar/index.esm.js +9 -9
  156. package/designer/response-toolbar/index.umd.cjs +1 -1
  157. package/designer/section/index.esm.js +1 -6
  158. package/designer/section/index.umd.cjs +1 -1
  159. package/designer/tabs/index.esm.js +2829 -2540
  160. package/designer/tabs/index.umd.cjs +2 -2
  161. package/designer/tree-grid/index.esm.js +822 -464
  162. package/designer/tree-grid/index.umd.cjs +1 -1
  163. package/farris.all.esm.js +69725 -68244
  164. package/farris.all.umd.cjs +92 -92
  165. package/index.css +1 -1
  166. package/package.json +1 -1
  167. package/types/accordion/src/accordion.props.d.ts +1 -0
  168. package/types/accordion/src/components/accordion-item.props.d.ts +1 -0
  169. package/types/avatar/src/avatar.props.d.ts +1 -0
  170. package/types/binding-selector/index.d.ts +54 -0
  171. package/types/binding-selector/src/binding-selector.props.d.ts +1 -0
  172. package/types/button-group/index.d.ts +0 -15
  173. package/types/button-group/src/button-group.props.d.ts +1 -0
  174. package/types/code-editor/index.d.ts +1 -0
  175. package/types/code-editor/src/code-textbox.component.d.ts +6 -6
  176. package/types/code-editor/src/code-textbox.props.d.ts +2 -0
  177. package/types/color-picker/index.d.ts +15 -0
  178. package/types/color-picker/src/color-picker.props.d.ts +1 -0
  179. package/types/combo-list/src/composition/use-data-source.d.ts +2 -1
  180. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +14 -2
  181. package/types/combo-tree/src/combo-tree.props.d.ts +1 -0
  182. package/types/component/index.d.ts +2 -0
  183. package/types/component/src/component.props.d.ts +8 -0
  184. package/types/components.d.ts +6 -1
  185. package/types/condition/index.d.ts +55 -0
  186. package/types/designer-toolbox/index.d.ts +3 -0
  187. package/types/designer-toolbox/src/toolbox.component.d.ts +14 -0
  188. package/types/designer-toolbox/src/toolbox.props.d.ts +29 -0
  189. package/types/designer-toolbox/src/types.d.ts +21 -0
  190. package/types/designer.d.ts +13 -0
  191. package/types/dropdown/index.d.ts +6 -27
  192. package/types/dropdown/src/dropdown.item.component.d.ts +1 -1
  193. package/types/dropdown/src/dropdown.props.d.ts +1 -0
  194. package/types/dynamic-form/designer.d.ts +1 -3
  195. package/types/dynamic-form/index.d.ts +3 -9
  196. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -3
  197. package/types/dynamic-resolver/index.d.ts +0 -3
  198. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver-design.d.ts +1 -1
  199. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver.d.ts +1 -1
  200. package/types/dynamic-resolver/src/resolver/property-config/use-property-config-resolver.d.ts +2 -2
  201. package/types/dynamic-resolver/src/resolver/schema/schema-resolver-design.d.ts +1 -1
  202. package/types/dynamic-resolver/src/resolver/schema/schema-resolver.d.ts +1 -1
  203. package/types/dynamic-view/src/components/maps.d.ts +104 -92
  204. package/types/{binding-selector/designer.d.ts → expression-editor/index.d.ts} +6 -6
  205. package/types/filter-condition-editor/index.d.ts +9 -0
  206. package/types/filter-condition-editor/src/components/filter-condition-grid.component.d.ts +12 -12
  207. package/types/filter-condition-editor/src/components/sort-editor-grid.component.d.ts +12 -12
  208. package/types/filter-condition-editor/src/filter-condition-editor.props.d.ts +1 -0
  209. package/types/flow-canvas/index.d.ts +3 -0
  210. package/types/{dynamic-form/src/component/form-control/form-control.component.d.ts → flow-canvas/src/components/flow-node-item.component.d.ts} +1 -1
  211. package/types/flow-canvas/src/components/flow-node-item.props.d.ts +3 -0
  212. package/types/flow-canvas/src/composition/types.d.ts +42 -0
  213. package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +2 -0
  214. package/types/flow-canvas/src/composition/use-connections.d.ts +2 -0
  215. package/types/flow-canvas/src/composition/use-curve.d.ts +4 -0
  216. package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +2 -0
  217. package/types/flow-canvas/src/composition/use-drawing.d.ts +4 -0
  218. package/types/flow-canvas/src/flow-canvas.component.d.ts +8 -0
  219. package/types/flow-canvas/src/flow-canvas.props.d.ts +3 -0
  220. package/types/image-cropper/src/image-cropper.props.d.ts +1 -0
  221. package/types/index.d.ts +1 -0
  222. package/types/json-editor/src/json-editor.props.d.ts +1 -0
  223. package/types/layout/index.d.ts +0 -1
  224. package/types/layout/src/components/layout-pane.props.d.ts +1 -0
  225. package/types/layout/src/layout.props.d.ts +1 -0
  226. package/types/list-nav/index.d.ts +5 -24
  227. package/types/list-nav/src/list-nav.props.d.ts +1 -0
  228. package/types/list-view/index.d.ts +0 -1
  229. package/types/list-view/src/composition/use-draggable.d.ts +1 -1
  230. package/types/lookup/index.d.ts +1 -1
  231. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  232. package/types/menu-lookup/src/menu-lookup.props.d.ts +1 -0
  233. package/types/modal/designer.d.ts +0 -2
  234. package/types/nav/index.d.ts +20 -24
  235. package/types/nav/src/nav.props.d.ts +1 -0
  236. package/types/number-range/src/number-range.props.d.ts +1 -0
  237. package/types/order/index.d.ts +5 -36
  238. package/types/order/src/designer/order.design.component.d.ts +1 -1
  239. package/types/order/src/order.props.d.ts +1 -0
  240. package/types/page-footer/index.d.ts +2 -0
  241. package/types/page-footer/src/page-footer.props.d.ts +1 -0
  242. package/types/pagination/index.d.ts +0 -15
  243. package/types/pagination/src/pagination.props.d.ts +1 -0
  244. package/types/progress/src/progress.props.d.ts +1 -0
  245. package/types/query-solution/index.d.ts +1 -1
  246. package/types/radio-group/designer.d.ts +1 -2
  247. package/types/search-box/index.d.ts +17 -1
  248. package/types/search-box/src/search-box.props.d.ts +1 -0
  249. package/types/section/designer.d.ts +0 -1
  250. package/types/smoke-detector/index.d.ts +2 -0
  251. package/types/smoke-detector/src/smoke-detector.props.d.ts +1 -0
  252. package/types/sort-condition-editor/index.d.ts +7 -2
  253. package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +1 -0
  254. package/types/splitter/index.d.ts +0 -1
  255. package/types/splitter/src/components/splitter-pane.props.d.ts +1 -0
  256. package/types/splitter/src/splitter.props.d.ts +1 -0
  257. package/types/tabs/designer.d.ts +0 -1
  258. package/types/tabs/index.d.ts +1 -0
  259. package/types/text/index.d.ts +20 -24
  260. package/types/text/src/text.props.d.ts +1 -0
  261. package/types/transfer/src/transfer.props.d.ts +1 -0
  262. package/types/tree-view/src/tree-view.props.d.ts +1 -0
  263. package/types/uploader/src/uploader.props.d.ts +1 -0
  264. package/types/verify-detail/index.d.ts +5 -58
  265. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
  266. package/types/verify-detail/src/verify-detail.props.d.ts +1 -0
  267. package/types/video/index.d.ts +20 -24
  268. package/types/video/src/video.props.d.ts +1 -0
  269. package/components/dynamic-form/index.css +0 -1
  270. package/designer/accordion/index.esm.js +0 -257
  271. package/designer/accordion/index.umd.cjs +0 -1
  272. package/designer/avatar/index.esm.js +0 -1460
  273. package/designer/avatar/index.umd.cjs +0 -1
  274. package/designer/binding-selector/index.esm.js +0 -792
  275. package/designer/binding-selector/index.umd.cjs +0 -1
  276. package/designer/button-group/index.esm.js +0 -282
  277. package/designer/button-group/index.umd.cjs +0 -1
  278. package/designer/code-editor/index.esm.js +0 -75
  279. package/designer/code-editor/index.umd.cjs +0 -1
  280. package/designer/color-picker/index.esm.js +0 -1096
  281. package/designer/color-picker/index.umd.cjs +0 -1
  282. package/designer/combo-list/index.esm.js +0 -1095
  283. package/designer/combo-list/index.umd.cjs +0 -1
  284. package/designer/combo-tree/index.esm.js +0 -186
  285. package/designer/combo-tree/index.umd.cjs +0 -1
  286. package/designer/component/index.css +0 -1
  287. package/designer/component/index.esm.js +0 -5002
  288. package/designer/component/index.umd.cjs +0 -1
  289. package/designer/condition/index.esm.js +0 -1899
  290. package/designer/condition/index.umd.cjs +0 -1
  291. package/designer/dropdown/index.esm.js +0 -261
  292. package/designer/dropdown/index.umd.cjs +0 -1
  293. package/designer/expression-editor/index.css +0 -1
  294. package/designer/expression-editor/index.esm.js +0 -7006
  295. package/designer/expression-editor/index.umd.cjs +0 -427
  296. package/designer/filter-condition-editor/index.css +0 -1
  297. package/designer/filter-condition-editor/index.esm.js +0 -4795
  298. package/designer/filter-condition-editor/index.umd.cjs +0 -1
  299. package/designer/html-template/index.esm.js +0 -718
  300. package/designer/html-template/index.umd.cjs +0 -1
  301. package/designer/image-cropper/index.esm.js +0 -765
  302. package/designer/image-cropper/index.umd.cjs +0 -1
  303. package/designer/json-editor/index.esm.js +0 -83
  304. package/designer/json-editor/index.umd.cjs +0 -1
  305. package/designer/language-textbox/index.esm.js +0 -783
  306. package/designer/language-textbox/index.umd.cjs +0 -8
  307. package/designer/layout/index.esm.js +0 -430
  308. package/designer/layout/index.umd.cjs +0 -1
  309. package/designer/list-nav/index.esm.js +0 -802
  310. package/designer/list-nav/index.umd.cjs +0 -1
  311. package/designer/lookup/index.esm.js +0 -2083
  312. package/designer/lookup/index.umd.cjs +0 -1
  313. package/designer/menu-lookup/index.esm.js +0 -46
  314. package/designer/menu-lookup/index.umd.cjs +0 -1
  315. package/designer/nav/index.esm.js +0 -284
  316. package/designer/nav/index.umd.cjs +0 -1
  317. package/designer/number-range/index.esm.js +0 -1616
  318. package/designer/number-range/index.umd.cjs +0 -1
  319. package/designer/order/index.css +0 -1
  320. package/designer/order/index.esm.js +0 -2196
  321. package/designer/order/index.umd.cjs +0 -18
  322. package/designer/page-footer/index.esm.js +0 -290
  323. package/designer/page-footer/index.umd.cjs +0 -1
  324. package/designer/page-header/index.esm.js +0 -1003
  325. package/designer/page-header/index.umd.cjs +0 -1
  326. package/designer/pagination/index.esm.js +0 -591
  327. package/designer/pagination/index.umd.cjs +0 -1
  328. package/designer/progress/index.esm.js +0 -213
  329. package/designer/progress/index.umd.cjs +0 -1
  330. package/designer/search-box/index.esm.js +0 -245
  331. package/designer/search-box/index.umd.cjs +0 -1
  332. package/designer/smoke-detector/index.css +0 -1
  333. package/designer/smoke-detector/index.esm.js +0 -178
  334. package/designer/smoke-detector/index.umd.cjs +0 -1
  335. package/designer/sort-condition-editor/index.esm.js +0 -138
  336. package/designer/sort-condition-editor/index.umd.cjs +0 -1
  337. package/designer/splitter/index.esm.js +0 -1120
  338. package/designer/splitter/index.umd.cjs +0 -1
  339. package/designer/step/index.esm.js +0 -226
  340. package/designer/step/index.umd.cjs +0 -1
  341. package/designer/text/index.esm.js +0 -147
  342. package/designer/text/index.umd.cjs +0 -1
  343. package/designer/transfer/index.esm.js +0 -254
  344. package/designer/transfer/index.umd.cjs +0 -1
  345. package/designer/tree-view/index.esm.js +0 -313
  346. package/designer/tree-view/index.umd.cjs +0 -1
  347. package/designer/uploader/index.esm.js +0 -1190
  348. package/designer/uploader/index.umd.cjs +0 -2
  349. package/designer/verify-detail/index.esm.js +0 -258
  350. package/designer/verify-detail/index.umd.cjs +0 -1
  351. package/designer/video/index.esm.js +0 -136
  352. package/designer/video/index.umd.cjs +0 -1
  353. package/designer/weather/index.css +0 -1
  354. package/designer/weather/index.esm.js +0 -6244
  355. package/designer/weather/index.umd.cjs +0 -14
  356. package/types/accordion/designer.d.ts +0 -44
  357. package/types/avatar/designer.d.ts +0 -29
  358. package/types/button-group/designer.d.ts +0 -29
  359. package/types/code-editor/designer.d.ts +0 -5
  360. package/types/color-picker/designer.d.ts +0 -29
  361. package/types/combo-list/designer.d.ts +0 -29
  362. package/types/combo-list/src/designer/combo-list.design.props.d.ts +0 -6
  363. package/types/combo-tree/designer.d.ts +0 -5
  364. package/types/component/designer.d.ts +0 -35
  365. package/types/condition/designer.d.ts +0 -56
  366. package/types/dropdown/designer.d.ts +0 -6
  367. package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +0 -11
  368. package/types/expression-editor/designer.d.ts +0 -9
  369. package/types/filter-condition-editor/designer.d.ts +0 -10
  370. package/types/html-template/designer.d.ts +0 -31
  371. package/types/html-template/src/designer/html-template.design.props.d.ts +0 -9
  372. package/types/image-cropper/designer.d.ts +0 -4
  373. package/types/json-editor/designer.d.ts +0 -5
  374. package/types/layout/designer.d.ts +0 -32
  375. package/types/list-nav/designer.d.ts +0 -6
  376. package/types/menu-lookup/designer.d.ts +0 -5
  377. package/types/nav/designer.d.ts +0 -6
  378. package/types/number-range/designer.d.ts +0 -29
  379. package/types/order/designer.d.ts +0 -6
  380. package/types/page-footer/designer.d.ts +0 -6
  381. package/types/page-header/src/designer/page-header.design.props.d.ts +0 -20
  382. package/types/pagination/designer.d.ts +0 -29
  383. package/types/progress/designer.d.ts +0 -29
  384. package/types/search-box/designer.d.ts +0 -52
  385. package/types/smoke-detector/designer.d.ts +0 -6
  386. package/types/sort-condition-editor/designer.d.ts +0 -9
  387. package/types/splitter/designer.d.ts +0 -32
  388. package/types/step/designer.d.ts +0 -6
  389. package/types/text/designer.d.ts +0 -6
  390. package/types/transfer/designer.d.ts +0 -35
  391. package/types/tree-view/designer.d.ts +0 -29
  392. package/types/uploader/designer.d.ts +0 -141
  393. package/types/verify-detail/designer.d.ts +0 -6
  394. package/types/video/designer.d.ts +0 -6
  395. /package/{designer → components}/condition/index.css +0 -0
  396. /package/{designer → components}/uploader/index.css +0 -0
@@ -1,39 +1,75 @@
1
- import { defineComponent as Ke, ref as k, watch as ye, onMounted as Tt, createVNode as P, isVNode as Ct, computed as ne, inject as Ot, reactive as Nt } from "vue";
2
- import { FButtonEdit as At } from "../button-edit/index.esm.js";
3
- import xt, { FLayoutPane as Le } from "../layout/index.esm.js";
4
- import Ft from "../tree-view/index.esm.js";
5
- import Dt from "../data-grid/index.esm.js";
6
- import { FLoadingService as Lt } from "../loading/index.esm.js";
7
- import { F_NOTIFY_SERVICE_TOKEN as Pt } from "../notify/index.esm.js";
8
- import { withInstall as _t } from "../common/index.esm.js";
9
- const Ut = {
1
+ import { defineComponent as Xe, ref as B, watch as ye, onMounted as Ot, createVNode as P, isVNode as Nt, computed as ne, inject as At, reactive as xt } from "vue";
2
+ import { createPropsResolver as Ft } from "../dynamic-resolver/index.esm.js";
3
+ import { FButtonEdit as Lt } from "../button-edit/index.esm.js";
4
+ import Dt, { FLayoutPane as Pe } from "../layout/index.esm.js";
5
+ import Pt from "../tree-view/index.esm.js";
6
+ import _t from "../data-grid/index.esm.js";
7
+ import { FLoadingService as Ut } from "../loading/index.esm.js";
8
+ import { F_NOTIFY_SERVICE_TOKEN as kt } from "../notify/index.esm.js";
9
+ import { withInstall as Bt } from "../common/index.esm.js";
10
+ const jt = "https://json-schema.org/draft/2020-12/schema", vt = "https://farris-design.gitee.io/menu-lookup.schema.json", Mt = "menu-lookup", qt = "A Farris Component", It = "object", Ht = {
11
+ type: {
12
+ description: "The type string of menu-lookup",
13
+ type: "string",
14
+ default: "menu-lookup"
15
+ },
16
+ targetType: {
17
+ description: "",
18
+ type: "string",
19
+ enum: [
20
+ "menu",
21
+ "app"
22
+ ],
23
+ default: "menu"
24
+ },
25
+ fetchNodeApi: {
26
+ description: "",
27
+ type: "function"
28
+ }
29
+ }, $t = [
30
+ "type",
31
+ "fetchNodeApi"
32
+ ], zt = [], Vt = {
33
+ $schema: jt,
34
+ $id: vt,
35
+ title: Mt,
36
+ description: qt,
37
+ type: It,
38
+ properties: Ht,
39
+ required: $t,
40
+ ignore: zt
41
+ }, Jt = /* @__PURE__ */ new Map([]);
42
+ function Gt(e, t, n) {
43
+ return t;
44
+ }
45
+ const Qe = {
10
46
  /** 选择的目标类型 */
11
47
  targetType: { type: String, default: "menu" },
12
48
  /** 获取“菜单树”或“应用树”数据的接口地址 */
13
49
  fetchNodeApi: { type: [String, Function], require: !0 },
14
50
  /** 组件值 */
15
51
  modelValue: { type: String, default: "" }
16
- }, Bt = {
52
+ }, Wt = Ft(Qe, Vt, Jt, Gt), Kt = {
17
53
  targetType: { type: String, default: "menu" },
18
54
  useTreeGridCoordinatorComposition: { type: Object, default: {} }
19
55
  };
20
- function Pe(e) {
21
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ct(e);
56
+ function _e(e) {
57
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Nt(e);
22
58
  }
23
- const kt = /* @__PURE__ */ Ke({
59
+ const Xt = /* @__PURE__ */ Xe({
24
60
  name: "FMenuLookupModalContainer",
25
- props: Bt,
61
+ props: Kt,
26
62
  emits: [],
27
63
  setup(e) {
28
- const t = k(), n = k(), {
64
+ const t = B(), n = B(), {
29
65
  treeData: r,
30
66
  gridData: o,
31
67
  onNavTreeExpandNode: i,
32
68
  onNavTreeSelectionChange: s,
33
69
  onDataGridSelectionChange: c,
34
70
  onDataGridUnSelectItem: d,
35
- initialize: u
36
- } = e.useTreeGridCoordinatorComposition, l = {
71
+ initialize: l
72
+ } = e.useTreeGridCoordinatorComposition, u = {
37
73
  parentIdField: "parentId",
38
74
  collapseField: "collapse",
39
75
  hasChildrenField: "hasChildren"
@@ -44,7 +80,7 @@ const kt = /* @__PURE__ */ Ke({
44
80
  keepSelectingOnPaging: !1,
45
81
  multiSelect: !1,
46
82
  showCheckbox: !1
47
- }, g = [{
83
+ }, b = [{
48
84
  field: "code",
49
85
  title: "编号",
50
86
  dataType: "string",
@@ -69,7 +105,7 @@ const kt = /* @__PURE__ */ Ke({
69
105
  title: "入口",
70
106
  dataType: "string",
71
107
  resizable: !0
72
- }], f = e.targetType === "app" ? w : g;
108
+ }], f = e.targetType === "app" ? w : b;
73
109
  function m() {
74
110
  t.value && t.value.updateDataSource(r.value);
75
111
  }
@@ -79,10 +115,10 @@ const kt = /* @__PURE__ */ Ke({
79
115
  }
80
116
  ye(o, h);
81
117
  function R() {
82
- return P(Ft, {
118
+ return P(Pt, {
83
119
  ref: t,
84
120
  data: r.value,
85
- hierarchy: l,
121
+ hierarchy: u,
86
122
  virtualized: !1,
87
123
  onSelectionChange: s,
88
124
  onExpandNode: i
@@ -96,7 +132,7 @@ const kt = /* @__PURE__ */ Ke({
96
132
  }, [S.data]);
97
133
  }
98
134
  function E() {
99
- return P(Dt, {
135
+ return P(_t, {
100
136
  ref: n,
101
137
  columns: f,
102
138
  data: o.value,
@@ -116,52 +152,52 @@ const kt = /* @__PURE__ */ Ke({
116
152
  cellTemplate: y
117
153
  });
118
154
  }
119
- return Tt(() => {
120
- u();
155
+ return Ot(() => {
156
+ l();
121
157
  }), () => {
122
158
  let S, C;
123
- return P(xt, {
159
+ return P(Dt, {
124
160
  class: "h-100"
125
161
  }, {
126
- default: () => [P(Le, {
162
+ default: () => [P(Pe, {
127
163
  position: "left",
128
164
  width: 300,
129
165
  "min-width": 200
130
- }, Pe(S = R()) ? S : {
166
+ }, _e(S = R()) ? S : {
131
167
  default: () => [S]
132
- }), P(Le, {
168
+ }), P(Pe, {
133
169
  position: "center",
134
170
  "min-width": 400
135
- }, Pe(C = E()) ? C : {
171
+ }, _e(C = E()) ? C : {
136
172
  default: () => [C]
137
173
  })]
138
174
  });
139
175
  };
140
176
  }
141
177
  });
142
- function Xe(e, t) {
178
+ function Ze(e, t) {
143
179
  return function() {
144
180
  return e.apply(t, arguments);
145
181
  };
146
182
  }
147
- const { toString: jt } = Object.prototype, { getPrototypeOf: Se } = Object, { iterator: ae, toStringTag: Qe } = Symbol, ce = /* @__PURE__ */ ((e) => (t) => {
148
- const n = jt.call(t);
183
+ const { toString: Qt } = Object.prototype, { getPrototypeOf: Re } = Object, { iterator: ae, toStringTag: Ye } = Symbol, ce = /* @__PURE__ */ ((e) => (t) => {
184
+ const n = Qt.call(t);
149
185
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
150
- })(/* @__PURE__ */ Object.create(null)), F = (e) => (e = e.toLowerCase(), (t) => ce(t) === e), le = (e) => (t) => typeof t === e, { isArray: $ } = Array, z = le("undefined");
186
+ })(/* @__PURE__ */ Object.create(null)), F = (e) => (e = e.toLowerCase(), (t) => ce(t) === e), ue = (e) => (t) => typeof t === e, { isArray: z } = Array, $ = ue("undefined");
151
187
  function W(e) {
152
- return e !== null && !z(e) && e.constructor !== null && !z(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
188
+ return e !== null && !$(e) && e.constructor !== null && !$(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
153
189
  }
154
- const Ze = F("ArrayBuffer");
155
- function vt(e) {
190
+ const et = F("ArrayBuffer");
191
+ function Zt(e) {
156
192
  let t;
157
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ze(e.buffer), t;
193
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && et(e.buffer), t;
158
194
  }
159
- const Mt = le("string"), A = le("function"), Ye = le("number"), K = (e) => e !== null && typeof e == "object", It = (e) => e === !0 || e === !1, re = (e) => {
195
+ const Yt = ue("string"), A = ue("function"), tt = ue("number"), K = (e) => e !== null && typeof e == "object", en = (e) => e === !0 || e === !1, re = (e) => {
160
196
  if (ce(e) !== "object")
161
197
  return !1;
162
- const t = Se(e);
163
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Qe in e) && !(ae in e);
164
- }, qt = (e) => {
198
+ const t = Re(e);
199
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ye in e) && !(ae in e);
200
+ }, tn = (e) => {
165
201
  if (!K(e) || W(e))
166
202
  return !1;
167
203
  try {
@@ -169,16 +205,16 @@ const Mt = le("string"), A = le("function"), Ye = le("number"), K = (e) => e !==
169
205
  } catch {
170
206
  return !1;
171
207
  }
172
- }, Ht = F("Date"), zt = F("File"), $t = F("Blob"), Vt = F("FileList"), Jt = (e) => K(e) && A(e.pipe), Gt = (e) => {
208
+ }, nn = F("Date"), rn = F("File"), on = F("Blob"), sn = F("FileList"), an = (e) => K(e) && A(e.pipe), cn = (e) => {
173
209
  let t;
174
210
  return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t = ce(e)) === "formdata" || // detect form-data instance
175
211
  t === "object" && A(e.toString) && e.toString() === "[object FormData]"));
176
- }, Wt = F("URLSearchParams"), [Kt, Xt, Qt, Zt] = ["ReadableStream", "Request", "Response", "Headers"].map(F), Yt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
212
+ }, un = F("URLSearchParams"), [ln, fn, dn, pn] = ["ReadableStream", "Request", "Response", "Headers"].map(F), hn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
177
213
  function X(e, t, { allOwnKeys: n = !1 } = {}) {
178
214
  if (e === null || typeof e > "u")
179
215
  return;
180
216
  let r, o;
181
- if (typeof e != "object" && (e = [e]), $(e))
217
+ if (typeof e != "object" && (e = [e]), z(e))
182
218
  for (r = 0, o = e.length; r < o; r++)
183
219
  t.call(null, e[r], r, e);
184
220
  else {
@@ -190,7 +226,7 @@ function X(e, t, { allOwnKeys: n = !1 } = {}) {
190
226
  c = i[r], t.call(null, e[c], c, e);
191
227
  }
192
228
  }
193
- function et(e, t) {
229
+ function nt(e, t) {
194
230
  if (W(e))
195
231
  return null;
196
232
  t = t.toLowerCase();
@@ -201,71 +237,71 @@ function et(e, t) {
201
237
  return o;
202
238
  return null;
203
239
  }
204
- const M = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, tt = (e) => !z(e) && e !== M;
205
- function be() {
206
- const { caseless: e, skipUndefined: t } = tt(this) && this || {}, n = {}, r = (o, i) => {
207
- const s = e && et(n, i) || i;
208
- re(n[s]) && re(o) ? n[s] = be(n[s], o) : re(o) ? n[s] = be({}, o) : $(o) ? n[s] = o.slice() : (!t || !z(o)) && (n[s] = o);
240
+ const M = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, rt = (e) => !$(e) && e !== M;
241
+ function ge() {
242
+ const { caseless: e, skipUndefined: t } = rt(this) && this || {}, n = {}, r = (o, i) => {
243
+ const s = e && nt(n, i) || i;
244
+ re(n[s]) && re(o) ? n[s] = ge(n[s], o) : re(o) ? n[s] = ge({}, o) : z(o) ? n[s] = o.slice() : (!t || !$(o)) && (n[s] = o);
209
245
  };
210
246
  for (let o = 0, i = arguments.length; o < i; o++)
211
247
  arguments[o] && X(arguments[o], r);
212
248
  return n;
213
249
  }
214
- const en = (e, t, n, { allOwnKeys: r } = {}) => (X(t, (o, i) => {
215
- n && A(o) ? e[i] = Xe(o, n) : e[i] = o;
216
- }, { allOwnKeys: r }), e), tn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), nn = (e, t, n, r) => {
250
+ const mn = (e, t, n, { allOwnKeys: r } = {}) => (X(t, (o, i) => {
251
+ n && A(o) ? e[i] = Ze(o, n) : e[i] = o;
252
+ }, { allOwnKeys: r }), e), yn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), gn = (e, t, n, r) => {
217
253
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
218
254
  value: t.prototype
219
255
  }), n && Object.assign(e.prototype, n);
220
- }, rn = (e, t, n, r) => {
256
+ }, bn = (e, t, n, r) => {
221
257
  let o, i, s;
222
258
  const c = {};
223
259
  if (t = t || {}, e == null) return t;
224
260
  do {
225
261
  for (o = Object.getOwnPropertyNames(e), i = o.length; i-- > 0; )
226
262
  s = o[i], (!r || r(s, e, t)) && !c[s] && (t[s] = e[s], c[s] = !0);
227
- e = n !== !1 && Se(e);
263
+ e = n !== !1 && Re(e);
228
264
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
229
265
  return t;
230
- }, on = (e, t, n) => {
266
+ }, wn = (e, t, n) => {
231
267
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
232
268
  const r = e.indexOf(t, n);
233
269
  return r !== -1 && r === n;
234
- }, sn = (e) => {
270
+ }, En = (e) => {
235
271
  if (!e) return null;
236
- if ($(e)) return e;
272
+ if (z(e)) return e;
237
273
  let t = e.length;
238
- if (!Ye(t)) return null;
274
+ if (!tt(t)) return null;
239
275
  const n = new Array(t);
240
276
  for (; t-- > 0; )
241
277
  n[t] = e[t];
242
278
  return n;
243
- }, an = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Se(Uint8Array)), cn = (e, t) => {
279
+ }, Sn = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Re(Uint8Array)), Rn = (e, t) => {
244
280
  const r = (e && e[ae]).call(e);
245
281
  let o;
246
282
  for (; (o = r.next()) && !o.done; ) {
247
283
  const i = o.value;
248
284
  t.call(e, i[0], i[1]);
249
285
  }
250
- }, ln = (e, t) => {
286
+ }, Tn = (e, t) => {
251
287
  let n;
252
288
  const r = [];
253
289
  for (; (n = e.exec(t)) !== null; )
254
290
  r.push(n);
255
291
  return r;
256
- }, un = F("HTMLFormElement"), fn = (e) => e.toLowerCase().replace(
292
+ }, Cn = F("HTMLFormElement"), On = (e) => e.toLowerCase().replace(
257
293
  /[-_\s]([a-z\d])(\w*)/g,
258
294
  function(n, r, o) {
259
295
  return r.toUpperCase() + o;
260
296
  }
261
- ), _e = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), dn = F("RegExp"), nt = (e, t) => {
297
+ ), Ue = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Nn = F("RegExp"), ot = (e, t) => {
262
298
  const n = Object.getOwnPropertyDescriptors(e), r = {};
263
299
  X(n, (o, i) => {
264
300
  let s;
265
301
  (s = t(o, i, e)) !== !1 && (r[i] = s || o);
266
302
  }), Object.defineProperties(e, r);
267
- }, pn = (e) => {
268
- nt(e, (t, n) => {
303
+ }, An = (e) => {
304
+ ot(e, (t, n) => {
269
305
  if (A(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
270
306
  return !1;
271
307
  const r = e[n];
@@ -279,19 +315,19 @@ const en = (e, t, n, { allOwnKeys: r } = {}) => (X(t, (o, i) => {
279
315
  });
280
316
  }
281
317
  });
282
- }, hn = (e, t) => {
318
+ }, xn = (e, t) => {
283
319
  const n = {}, r = (o) => {
284
320
  o.forEach((i) => {
285
321
  n[i] = !0;
286
322
  });
287
323
  };
288
- return $(e) ? r(e) : r(String(e).split(t)), n;
289
- }, mn = () => {
290
- }, yn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
291
- function bn(e) {
292
- return !!(e && A(e.append) && e[Qe] === "FormData" && e[ae]);
324
+ return z(e) ? r(e) : r(String(e).split(t)), n;
325
+ }, Fn = () => {
326
+ }, Ln = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
327
+ function Dn(e) {
328
+ return !!(e && A(e.append) && e[Ye] === "FormData" && e[ae]);
293
329
  }
294
- const gn = (e) => {
330
+ const Pn = (e) => {
295
331
  const t = new Array(10), n = (r, o) => {
296
332
  if (K(r)) {
297
333
  if (t.indexOf(r) >= 0)
@@ -300,87 +336,87 @@ const gn = (e) => {
300
336
  return r;
301
337
  if (!("toJSON" in r)) {
302
338
  t[o] = r;
303
- const i = $(r) ? [] : {};
339
+ const i = z(r) ? [] : {};
304
340
  return X(r, (s, c) => {
305
341
  const d = n(s, o + 1);
306
- !z(d) && (i[c] = d);
342
+ !$(d) && (i[c] = d);
307
343
  }), t[o] = void 0, i;
308
344
  }
309
345
  }
310
346
  return r;
311
347
  };
312
348
  return n(e, 0);
313
- }, wn = F("AsyncFunction"), En = (e) => e && (K(e) || A(e)) && A(e.then) && A(e.catch), rt = ((e, t) => e ? setImmediate : t ? ((n, r) => (M.addEventListener("message", ({ source: o, data: i }) => {
349
+ }, _n = F("AsyncFunction"), Un = (e) => e && (K(e) || A(e)) && A(e.then) && A(e.catch), st = ((e, t) => e ? setImmediate : t ? ((n, r) => (M.addEventListener("message", ({ source: o, data: i }) => {
314
350
  o === M && i === n && r.length && r.shift()();
315
351
  }, !1), (o) => {
316
352
  r.push(o), M.postMessage(n, "*");
317
353
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
318
354
  typeof setImmediate == "function",
319
355
  A(M.postMessage)
320
- ), Sn = typeof queueMicrotask < "u" ? queueMicrotask.bind(M) : typeof process < "u" && process.nextTick || rt, Rn = (e) => e != null && A(e[ae]), a = {
321
- isArray: $,
322
- isArrayBuffer: Ze,
356
+ ), kn = typeof queueMicrotask < "u" ? queueMicrotask.bind(M) : typeof process < "u" && process.nextTick || st, Bn = (e) => e != null && A(e[ae]), a = {
357
+ isArray: z,
358
+ isArrayBuffer: et,
323
359
  isBuffer: W,
324
- isFormData: Gt,
325
- isArrayBufferView: vt,
326
- isString: Mt,
327
- isNumber: Ye,
328
- isBoolean: It,
360
+ isFormData: cn,
361
+ isArrayBufferView: Zt,
362
+ isString: Yt,
363
+ isNumber: tt,
364
+ isBoolean: en,
329
365
  isObject: K,
330
366
  isPlainObject: re,
331
- isEmptyObject: qt,
332
- isReadableStream: Kt,
333
- isRequest: Xt,
334
- isResponse: Qt,
335
- isHeaders: Zt,
336
- isUndefined: z,
337
- isDate: Ht,
338
- isFile: zt,
339
- isBlob: $t,
340
- isRegExp: dn,
367
+ isEmptyObject: tn,
368
+ isReadableStream: ln,
369
+ isRequest: fn,
370
+ isResponse: dn,
371
+ isHeaders: pn,
372
+ isUndefined: $,
373
+ isDate: nn,
374
+ isFile: rn,
375
+ isBlob: on,
376
+ isRegExp: Nn,
341
377
  isFunction: A,
342
- isStream: Jt,
343
- isURLSearchParams: Wt,
344
- isTypedArray: an,
345
- isFileList: Vt,
378
+ isStream: an,
379
+ isURLSearchParams: un,
380
+ isTypedArray: Sn,
381
+ isFileList: sn,
346
382
  forEach: X,
347
- merge: be,
348
- extend: en,
349
- trim: Yt,
350
- stripBOM: tn,
351
- inherits: nn,
352
- toFlatObject: rn,
383
+ merge: ge,
384
+ extend: mn,
385
+ trim: hn,
386
+ stripBOM: yn,
387
+ inherits: gn,
388
+ toFlatObject: bn,
353
389
  kindOf: ce,
354
390
  kindOfTest: F,
355
- endsWith: on,
356
- toArray: sn,
357
- forEachEntry: cn,
358
- matchAll: ln,
359
- isHTMLForm: un,
360
- hasOwnProperty: _e,
361
- hasOwnProp: _e,
391
+ endsWith: wn,
392
+ toArray: En,
393
+ forEachEntry: Rn,
394
+ matchAll: Tn,
395
+ isHTMLForm: Cn,
396
+ hasOwnProperty: Ue,
397
+ hasOwnProp: Ue,
362
398
  // an alias to avoid ESLint no-prototype-builtins detection
363
- reduceDescriptors: nt,
364
- freezeMethods: pn,
365
- toObjectSet: hn,
366
- toCamelCase: fn,
367
- noop: mn,
368
- toFiniteNumber: yn,
369
- findKey: et,
399
+ reduceDescriptors: ot,
400
+ freezeMethods: An,
401
+ toObjectSet: xn,
402
+ toCamelCase: On,
403
+ noop: Fn,
404
+ toFiniteNumber: Ln,
405
+ findKey: nt,
370
406
  global: M,
371
- isContextDefined: tt,
372
- isSpecCompliantForm: bn,
373
- toJSONObject: gn,
374
- isAsyncFn: wn,
375
- isThenable: En,
376
- setImmediate: rt,
377
- asap: Sn,
378
- isIterable: Rn
407
+ isContextDefined: rt,
408
+ isSpecCompliantForm: Dn,
409
+ toJSONObject: Pn,
410
+ isAsyncFn: _n,
411
+ isThenable: Un,
412
+ setImmediate: st,
413
+ asap: kn,
414
+ isIterable: Bn
379
415
  };
380
- function b(e, t, n, r, o) {
416
+ function g(e, t, n, r, o) {
381
417
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
382
418
  }
383
- a.inherits(b, Error, {
419
+ a.inherits(g, Error, {
384
420
  toJSON: function() {
385
421
  return {
386
422
  // Standard
@@ -401,7 +437,7 @@ a.inherits(b, Error, {
401
437
  };
402
438
  }
403
439
  });
404
- const ot = b.prototype, st = {};
440
+ const it = g.prototype, at = {};
405
441
  [
406
442
  "ERR_BAD_OPTION_VALUE",
407
443
  "ERR_BAD_OPTION",
@@ -417,37 +453,37 @@ const ot = b.prototype, st = {};
417
453
  "ERR_INVALID_URL"
418
454
  // eslint-disable-next-line func-names
419
455
  ].forEach((e) => {
420
- st[e] = { value: e };
456
+ at[e] = { value: e };
421
457
  });
422
- Object.defineProperties(b, st);
423
- Object.defineProperty(ot, "isAxiosError", { value: !0 });
424
- b.from = (e, t, n, r, o, i) => {
425
- const s = Object.create(ot);
426
- a.toFlatObject(e, s, function(l) {
427
- return l !== Error.prototype;
428
- }, (u) => u !== "isAxiosError");
458
+ Object.defineProperties(g, at);
459
+ Object.defineProperty(it, "isAxiosError", { value: !0 });
460
+ g.from = (e, t, n, r, o, i) => {
461
+ const s = Object.create(it);
462
+ a.toFlatObject(e, s, function(u) {
463
+ return u !== Error.prototype;
464
+ }, (l) => l !== "isAxiosError");
429
465
  const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
430
- return b.call(s, c, d, n, r, o), e && s.cause == null && Object.defineProperty(s, "cause", { value: e, configurable: !0 }), s.name = e && e.name || "Error", i && Object.assign(s, i), s;
466
+ return g.call(s, c, d, n, r, o), e && s.cause == null && Object.defineProperty(s, "cause", { value: e, configurable: !0 }), s.name = e && e.name || "Error", i && Object.assign(s, i), s;
431
467
  };
432
- const Tn = null;
433
- function ge(e) {
468
+ const jn = null;
469
+ function be(e) {
434
470
  return a.isPlainObject(e) || a.isArray(e);
435
471
  }
436
- function it(e) {
472
+ function ct(e) {
437
473
  return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
438
474
  }
439
- function Ue(e, t, n) {
475
+ function ke(e, t, n) {
440
476
  return e ? e.concat(t).map(function(o, i) {
441
- return o = it(o), !n && i ? "[" + o + "]" : o;
477
+ return o = ct(o), !n && i ? "[" + o + "]" : o;
442
478
  }).join(n ? "." : "") : t;
443
479
  }
444
- function Cn(e) {
445
- return a.isArray(e) && !e.some(ge);
480
+ function vn(e) {
481
+ return a.isArray(e) && !e.some(be);
446
482
  }
447
- const On = a.toFlatObject(a, {}, null, function(t) {
483
+ const Mn = a.toFlatObject(a, {}, null, function(t) {
448
484
  return /^is[A-Z]/.test(t);
449
485
  });
450
- function ue(e, t, n) {
486
+ function le(e, t, n) {
451
487
  if (!a.isObject(e))
452
488
  throw new TypeError("target must be an object");
453
489
  t = t || new FormData(), n = a.toFlatObject(n, {
@@ -457,39 +493,39 @@ function ue(e, t, n) {
457
493
  }, !1, function(m, h) {
458
494
  return !a.isUndefined(h[m]);
459
495
  });
460
- const r = n.metaTokens, o = n.visitor || l, i = n.dots, s = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
496
+ const r = n.metaTokens, o = n.visitor || u, i = n.dots, s = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
461
497
  if (!a.isFunction(o))
462
498
  throw new TypeError("visitor must be a function");
463
- function u(f) {
499
+ function l(f) {
464
500
  if (f === null) return "";
465
501
  if (a.isDate(f))
466
502
  return f.toISOString();
467
503
  if (a.isBoolean(f))
468
504
  return f.toString();
469
505
  if (!d && a.isBlob(f))
470
- throw new b("Blob is not supported. Use a Buffer instead.");
506
+ throw new g("Blob is not supported. Use a Buffer instead.");
471
507
  return a.isArrayBuffer(f) || a.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
472
508
  }
473
- function l(f, m, h) {
509
+ function u(f, m, h) {
474
510
  let R = f;
475
511
  if (f && !h && typeof f == "object") {
476
512
  if (a.endsWith(m, "{}"))
477
513
  m = r ? m : m.slice(0, -2), f = JSON.stringify(f);
478
- else if (a.isArray(f) && Cn(f) || (a.isFileList(f) || a.endsWith(m, "[]")) && (R = a.toArray(f)))
479
- return m = it(m), R.forEach(function(E, S) {
514
+ else if (a.isArray(f) && vn(f) || (a.isFileList(f) || a.endsWith(m, "[]")) && (R = a.toArray(f)))
515
+ return m = ct(m), R.forEach(function(E, S) {
480
516
  !(a.isUndefined(E) || E === null) && t.append(
481
517
  // eslint-disable-next-line no-nested-ternary
482
- s === !0 ? Ue([m], S, i) : s === null ? m : m + "[]",
483
- u(E)
518
+ s === !0 ? ke([m], S, i) : s === null ? m : m + "[]",
519
+ l(E)
484
520
  );
485
521
  }), !1;
486
522
  }
487
- return ge(f) ? !0 : (t.append(Ue(h, m, i), u(f)), !1);
523
+ return be(f) ? !0 : (t.append(ke(h, m, i), l(f)), !1);
488
524
  }
489
- const p = [], g = Object.assign(On, {
490
- defaultVisitor: l,
491
- convertValue: u,
492
- isVisitable: ge
525
+ const p = [], b = Object.assign(Mn, {
526
+ defaultVisitor: u,
527
+ convertValue: l,
528
+ isVisitable: be
493
529
  });
494
530
  function w(f, m) {
495
531
  if (!a.isUndefined(f)) {
@@ -501,7 +537,7 @@ function ue(e, t, n) {
501
537
  R,
502
538
  a.isString(y) ? y.trim() : y,
503
539
  m,
504
- g
540
+ b
505
541
  )) === !0 && w(R, m ? m.concat(y) : [y]);
506
542
  }), p.pop();
507
543
  }
@@ -524,14 +560,14 @@ function Be(e) {
524
560
  return t[r];
525
561
  });
526
562
  }
527
- function Re(e, t) {
528
- this._pairs = [], e && ue(e, this, t);
563
+ function Te(e, t) {
564
+ this._pairs = [], e && le(e, this, t);
529
565
  }
530
- const at = Re.prototype;
531
- at.append = function(t, n) {
566
+ const ut = Te.prototype;
567
+ ut.append = function(t, n) {
532
568
  this._pairs.push([t, n]);
533
569
  };
534
- at.toString = function(t) {
570
+ ut.toString = function(t) {
535
571
  const n = t ? function(r) {
536
572
  return t.call(this, r, Be);
537
573
  } : Be;
@@ -539,25 +575,25 @@ at.toString = function(t) {
539
575
  return n(o[0]) + "=" + n(o[1]);
540
576
  }, "").join("&");
541
577
  };
542
- function Nn(e) {
578
+ function qn(e) {
543
579
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
544
580
  }
545
- function ct(e, t, n) {
581
+ function lt(e, t, n) {
546
582
  if (!t)
547
583
  return e;
548
- const r = n && n.encode || Nn;
584
+ const r = n && n.encode || qn;
549
585
  a.isFunction(n) && (n = {
550
586
  serialize: n
551
587
  });
552
588
  const o = n && n.serialize;
553
589
  let i;
554
- if (o ? i = o(t, n) : i = a.isURLSearchParams(t) ? t.toString() : new Re(t, n).toString(r), i) {
590
+ if (o ? i = o(t, n) : i = a.isURLSearchParams(t) ? t.toString() : new Te(t, n).toString(r), i) {
555
591
  const s = e.indexOf("#");
556
592
  s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
557
593
  }
558
594
  return e;
559
595
  }
560
- class ke {
596
+ class je {
561
597
  constructor() {
562
598
  this.handlers = [];
563
599
  }
@@ -611,42 +647,42 @@ class ke {
611
647
  });
612
648
  }
613
649
  }
614
- const lt = {
650
+ const ft = {
615
651
  silentJSONParsing: !0,
616
652
  forcedJSONParsing: !0,
617
653
  clarifyTimeoutError: !1
618
- }, An = typeof URLSearchParams < "u" ? URLSearchParams : Re, xn = typeof FormData < "u" ? FormData : null, Fn = typeof Blob < "u" ? Blob : null, Dn = {
654
+ }, In = typeof URLSearchParams < "u" ? URLSearchParams : Te, Hn = typeof FormData < "u" ? FormData : null, $n = typeof Blob < "u" ? Blob : null, zn = {
619
655
  isBrowser: !0,
620
656
  classes: {
621
- URLSearchParams: An,
622
- FormData: xn,
623
- Blob: Fn
657
+ URLSearchParams: In,
658
+ FormData: Hn,
659
+ Blob: $n
624
660
  },
625
661
  protocols: ["http", "https", "file", "blob", "url", "data"]
626
- }, Te = typeof window < "u" && typeof document < "u", we = typeof navigator == "object" && navigator || void 0, Ln = Te && (!we || ["ReactNative", "NativeScript", "NS"].indexOf(we.product) < 0), Pn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
627
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", _n = Te && window.location.href || "http://localhost", Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
662
+ }, Ce = typeof window < "u" && typeof document < "u", we = typeof navigator == "object" && navigator || void 0, Vn = Ce && (!we || ["ReactNative", "NativeScript", "NS"].indexOf(we.product) < 0), Jn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
663
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Gn = Ce && window.location.href || "http://localhost", Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
628
664
  __proto__: null,
629
- hasBrowserEnv: Te,
630
- hasStandardBrowserEnv: Ln,
631
- hasStandardBrowserWebWorkerEnv: Pn,
665
+ hasBrowserEnv: Ce,
666
+ hasStandardBrowserEnv: Vn,
667
+ hasStandardBrowserWebWorkerEnv: Jn,
632
668
  navigator: we,
633
- origin: _n
669
+ origin: Gn
634
670
  }, Symbol.toStringTag, { value: "Module" })), O = {
635
- ...Un,
636
- ...Dn
671
+ ...Wn,
672
+ ...zn
637
673
  };
638
- function Bn(e, t) {
639
- return ue(e, new O.classes.URLSearchParams(), {
674
+ function Kn(e, t) {
675
+ return le(e, new O.classes.URLSearchParams(), {
640
676
  visitor: function(n, r, o, i) {
641
677
  return O.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
642
678
  },
643
679
  ...t
644
680
  });
645
681
  }
646
- function kn(e) {
682
+ function Xn(e) {
647
683
  return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
648
684
  }
649
- function jn(e) {
685
+ function Qn(e) {
650
686
  const t = {}, n = Object.keys(e);
651
687
  let r;
652
688
  const o = n.length;
@@ -655,22 +691,22 @@ function jn(e) {
655
691
  i = n[r], t[i] = e[i];
656
692
  return t;
657
693
  }
658
- function ut(e) {
694
+ function dt(e) {
659
695
  function t(n, r, o, i) {
660
696
  let s = n[i++];
661
697
  if (s === "__proto__") return !0;
662
698
  const c = Number.isFinite(+s), d = i >= n.length;
663
- return s = !s && a.isArray(o) ? o.length : s, d ? (a.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !c) : ((!o[s] || !a.isObject(o[s])) && (o[s] = []), t(n, r, o[s], i) && a.isArray(o[s]) && (o[s] = jn(o[s])), !c);
699
+ return s = !s && a.isArray(o) ? o.length : s, d ? (a.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !c) : ((!o[s] || !a.isObject(o[s])) && (o[s] = []), t(n, r, o[s], i) && a.isArray(o[s]) && (o[s] = Qn(o[s])), !c);
664
700
  }
665
701
  if (a.isFormData(e) && a.isFunction(e.entries)) {
666
702
  const n = {};
667
703
  return a.forEachEntry(e, (r, o) => {
668
- t(kn(r), o, n, 0);
704
+ t(Xn(r), o, n, 0);
669
705
  }), n;
670
706
  }
671
707
  return null;
672
708
  }
673
- function vn(e, t, n) {
709
+ function Zn(e, t, n) {
674
710
  if (a.isString(e))
675
711
  try {
676
712
  return (t || JSON.parse)(e), a.trim(e);
@@ -681,12 +717,12 @@ function vn(e, t, n) {
681
717
  return (n || JSON.stringify)(e);
682
718
  }
683
719
  const Q = {
684
- transitional: lt,
720
+ transitional: ft,
685
721
  adapter: ["xhr", "http", "fetch"],
686
722
  transformRequest: [function(t, n) {
687
723
  const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, i = a.isObject(t);
688
724
  if (i && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
689
- return o ? JSON.stringify(ut(t)) : t;
725
+ return o ? JSON.stringify(dt(t)) : t;
690
726
  if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
691
727
  return t;
692
728
  if (a.isArrayBufferView(t))
@@ -696,17 +732,17 @@ const Q = {
696
732
  let c;
697
733
  if (i) {
698
734
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
699
- return Bn(t, this.formSerializer).toString();
735
+ return Kn(t, this.formSerializer).toString();
700
736
  if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
701
737
  const d = this.env && this.env.FormData;
702
- return ue(
738
+ return le(
703
739
  c ? { "files[]": t } : t,
704
740
  d && new d(),
705
741
  this.formSerializer
706
742
  );
707
743
  }
708
744
  }
709
- return i || o ? (n.setContentType("application/json", !1), vn(t)) : t;
745
+ return i || o ? (n.setContentType("application/json", !1), Zn(t)) : t;
710
746
  }],
711
747
  transformResponse: [function(t) {
712
748
  const n = this.transitional || Q.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
@@ -718,7 +754,7 @@ const Q = {
718
754
  return JSON.parse(t, this.parseReviver);
719
755
  } catch (c) {
720
756
  if (s)
721
- throw c.name === "SyntaxError" ? b.from(c, b.ERR_BAD_RESPONSE, this, null, this.response) : c;
757
+ throw c.name === "SyntaxError" ? g.from(c, g.ERR_BAD_RESPONSE, this, null, this.response) : c;
722
758
  }
723
759
  }
724
760
  return t;
@@ -749,7 +785,7 @@ const Q = {
749
785
  a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
750
786
  Q.headers[e] = {};
751
787
  });
752
- const Mn = a.toObjectSet([
788
+ const Yn = a.toObjectSet([
753
789
  "age",
754
790
  "authorization",
755
791
  "content-length",
@@ -767,28 +803,28 @@ const Mn = a.toObjectSet([
767
803
  "referer",
768
804
  "retry-after",
769
805
  "user-agent"
770
- ]), In = (e) => {
806
+ ]), er = (e) => {
771
807
  const t = {};
772
808
  let n, r, o;
773
809
  return e && e.split(`
774
810
  `).forEach(function(s) {
775
- o = s.indexOf(":"), n = s.substring(0, o).trim().toLowerCase(), r = s.substring(o + 1).trim(), !(!n || t[n] && Mn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
811
+ o = s.indexOf(":"), n = s.substring(0, o).trim().toLowerCase(), r = s.substring(o + 1).trim(), !(!n || t[n] && Yn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
776
812
  }), t;
777
- }, je = Symbol("internals");
813
+ }, ve = Symbol("internals");
778
814
  function G(e) {
779
815
  return e && String(e).trim().toLowerCase();
780
816
  }
781
817
  function oe(e) {
782
818
  return e === !1 || e == null ? e : a.isArray(e) ? e.map(oe) : String(e);
783
819
  }
784
- function qn(e) {
820
+ function tr(e) {
785
821
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
786
822
  let r;
787
823
  for (; r = n.exec(e); )
788
824
  t[r[1]] = r[2];
789
825
  return t;
790
826
  }
791
- const Hn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
827
+ const nr = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
792
828
  function pe(e, t, n, r, o) {
793
829
  if (a.isFunction(r))
794
830
  return r.call(this, t, n);
@@ -799,10 +835,10 @@ function pe(e, t, n, r, o) {
799
835
  return r.test(t);
800
836
  }
801
837
  }
802
- function zn(e) {
838
+ function rr(e) {
803
839
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
804
840
  }
805
- function $n(e, t) {
841
+ function or(e, t) {
806
842
  const n = a.toCamelCase(" " + t);
807
843
  ["get", "set", "has"].forEach((r) => {
808
844
  Object.defineProperty(e, r + n, {
@@ -819,24 +855,24 @@ let x = class {
819
855
  }
820
856
  set(t, n, r) {
821
857
  const o = this;
822
- function i(c, d, u) {
823
- const l = G(d);
824
- if (!l)
858
+ function i(c, d, l) {
859
+ const u = G(d);
860
+ if (!u)
825
861
  throw new Error("header name must be a non-empty string");
826
- const p = a.findKey(o, l);
827
- (!p || o[p] === void 0 || u === !0 || u === void 0 && o[p] !== !1) && (o[p || d] = oe(c));
862
+ const p = a.findKey(o, u);
863
+ (!p || o[p] === void 0 || l === !0 || l === void 0 && o[p] !== !1) && (o[p || d] = oe(c));
828
864
  }
829
- const s = (c, d) => a.forEach(c, (u, l) => i(u, l, d));
865
+ const s = (c, d) => a.forEach(c, (l, u) => i(l, u, d));
830
866
  if (a.isPlainObject(t) || t instanceof this.constructor)
831
867
  s(t, n);
832
- else if (a.isString(t) && (t = t.trim()) && !Hn(t))
833
- s(In(t), n);
868
+ else if (a.isString(t) && (t = t.trim()) && !nr(t))
869
+ s(er(t), n);
834
870
  else if (a.isObject(t) && a.isIterable(t)) {
835
- let c = {}, d, u;
836
- for (const l of t) {
837
- if (!a.isArray(l))
871
+ let c = {}, d, l;
872
+ for (const u of t) {
873
+ if (!a.isArray(u))
838
874
  throw TypeError("Object iterator must return a key-value pair");
839
- c[u = l[0]] = (d = c[u]) ? a.isArray(d) ? [...d, l[1]] : [d, l[1]] : l[1];
875
+ c[l = u[0]] = (d = c[l]) ? a.isArray(d) ? [...d, u[1]] : [d, u[1]] : u[1];
840
876
  }
841
877
  s(c, n);
842
878
  } else
@@ -851,7 +887,7 @@ let x = class {
851
887
  if (!n)
852
888
  return o;
853
889
  if (n === !0)
854
- return qn(o);
890
+ return tr(o);
855
891
  if (a.isFunction(n))
856
892
  return n.call(this, o, r);
857
893
  if (a.isRegExp(n))
@@ -895,7 +931,7 @@ let x = class {
895
931
  n[s] = oe(o), delete n[i];
896
932
  return;
897
933
  }
898
- const c = t ? zn(i) : String(i).trim();
934
+ const c = t ? rr(i) : String(i).trim();
899
935
  c !== i && delete n[i], n[c] = oe(o), r[c] = !0;
900
936
  }), this;
901
937
  }
@@ -929,12 +965,12 @@ let x = class {
929
965
  return n.forEach((o) => r.set(o)), r;
930
966
  }
931
967
  static accessor(t) {
932
- const r = (this[je] = this[je] = {
968
+ const r = (this[ve] = this[ve] = {
933
969
  accessors: {}
934
970
  }).accessors, o = this.prototype;
935
971
  function i(s) {
936
972
  const c = G(s);
937
- r[c] || ($n(o, s), r[c] = !0);
973
+ r[c] || (or(o, s), r[c] = !0);
938
974
  }
939
975
  return a.isArray(t) ? t.forEach(i) : i(t), this;
940
976
  }
@@ -957,87 +993,87 @@ function he(e, t) {
957
993
  i = c.call(n, i, o.normalize(), t ? t.status : void 0);
958
994
  }), o.normalize(), i;
959
995
  }
960
- function ft(e) {
996
+ function pt(e) {
961
997
  return !!(e && e.__CANCEL__);
962
998
  }
963
999
  function V(e, t, n) {
964
- b.call(this, e ?? "canceled", b.ERR_CANCELED, t, n), this.name = "CanceledError";
1000
+ g.call(this, e ?? "canceled", g.ERR_CANCELED, t, n), this.name = "CanceledError";
965
1001
  }
966
- a.inherits(V, b, {
1002
+ a.inherits(V, g, {
967
1003
  __CANCEL__: !0
968
1004
  });
969
- function dt(e, t, n) {
1005
+ function ht(e, t, n) {
970
1006
  const r = n.config.validateStatus;
971
- !n.status || !r || r(n.status) ? e(n) : t(new b(
1007
+ !n.status || !r || r(n.status) ? e(n) : t(new g(
972
1008
  "Request failed with status code " + n.status,
973
- [b.ERR_BAD_REQUEST, b.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
1009
+ [g.ERR_BAD_REQUEST, g.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
974
1010
  n.config,
975
1011
  n.request,
976
1012
  n
977
1013
  ));
978
1014
  }
979
- function Vn(e) {
1015
+ function sr(e) {
980
1016
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
981
1017
  return t && t[1] || "";
982
1018
  }
983
- function Jn(e, t) {
1019
+ function ir(e, t) {
984
1020
  e = e || 10;
985
1021
  const n = new Array(e), r = new Array(e);
986
1022
  let o = 0, i = 0, s;
987
1023
  return t = t !== void 0 ? t : 1e3, function(d) {
988
- const u = Date.now(), l = r[i];
989
- s || (s = u), n[o] = d, r[o] = u;
990
- let p = i, g = 0;
1024
+ const l = Date.now(), u = r[i];
1025
+ s || (s = l), n[o] = d, r[o] = l;
1026
+ let p = i, b = 0;
991
1027
  for (; p !== o; )
992
- g += n[p++], p = p % e;
993
- if (o = (o + 1) % e, o === i && (i = (i + 1) % e), u - s < t)
1028
+ b += n[p++], p = p % e;
1029
+ if (o = (o + 1) % e, o === i && (i = (i + 1) % e), l - s < t)
994
1030
  return;
995
- const w = l && u - l;
996
- return w ? Math.round(g * 1e3 / w) : void 0;
1031
+ const w = u && l - u;
1032
+ return w ? Math.round(b * 1e3 / w) : void 0;
997
1033
  };
998
1034
  }
999
- function Gn(e, t) {
1035
+ function ar(e, t) {
1000
1036
  let n = 0, r = 1e3 / t, o, i;
1001
- const s = (u, l = Date.now()) => {
1002
- n = l, o = null, i && (clearTimeout(i), i = null), e(...u);
1037
+ const s = (l, u = Date.now()) => {
1038
+ n = u, o = null, i && (clearTimeout(i), i = null), e(...l);
1003
1039
  };
1004
- return [(...u) => {
1005
- const l = Date.now(), p = l - n;
1006
- p >= r ? s(u, l) : (o = u, i || (i = setTimeout(() => {
1040
+ return [(...l) => {
1041
+ const u = Date.now(), p = u - n;
1042
+ p >= r ? s(l, u) : (o = l, i || (i = setTimeout(() => {
1007
1043
  i = null, s(o);
1008
1044
  }, r - p)));
1009
1045
  }, () => o && s(o)];
1010
1046
  }
1011
1047
  const ie = (e, t, n = 3) => {
1012
1048
  let r = 0;
1013
- const o = Jn(50, 250);
1014
- return Gn((i) => {
1015
- const s = i.loaded, c = i.lengthComputable ? i.total : void 0, d = s - r, u = o(d), l = s <= c;
1049
+ const o = ir(50, 250);
1050
+ return ar((i) => {
1051
+ const s = i.loaded, c = i.lengthComputable ? i.total : void 0, d = s - r, l = o(d), u = s <= c;
1016
1052
  r = s;
1017
1053
  const p = {
1018
1054
  loaded: s,
1019
1055
  total: c,
1020
1056
  progress: c ? s / c : void 0,
1021
1057
  bytes: d,
1022
- rate: u || void 0,
1023
- estimated: u && c && l ? (c - s) / u : void 0,
1058
+ rate: l || void 0,
1059
+ estimated: l && c && u ? (c - s) / l : void 0,
1024
1060
  event: i,
1025
1061
  lengthComputable: c != null,
1026
1062
  [t ? "download" : "upload"]: !0
1027
1063
  };
1028
1064
  e(p);
1029
1065
  }, n);
1030
- }, ve = (e, t) => {
1066
+ }, Me = (e, t) => {
1031
1067
  const n = e != null;
1032
1068
  return [(r) => t[0]({
1033
1069
  lengthComputable: n,
1034
1070
  total: e,
1035
1071
  loaded: r
1036
1072
  }), t[1]];
1037
- }, Me = (e) => (...t) => a.asap(() => e(...t)), Wn = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1073
+ }, qe = (e) => (...t) => a.asap(() => e(...t)), cr = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1038
1074
  new URL(O.origin),
1039
1075
  O.navigator && /(msie|trident)/i.test(O.navigator.userAgent)
1040
- ) : () => !0, Kn = O.hasStandardBrowserEnv ? (
1076
+ ) : () => !0, ur = O.hasStandardBrowserEnv ? (
1041
1077
  // Standard browser envs support document.cookie
1042
1078
  {
1043
1079
  write(e, t, n, r, o, i, s) {
@@ -1066,44 +1102,44 @@ const ie = (e, t, n = 3) => {
1066
1102
  }
1067
1103
  }
1068
1104
  );
1069
- function Xn(e) {
1105
+ function lr(e) {
1070
1106
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
1071
1107
  }
1072
- function Qn(e, t) {
1108
+ function fr(e, t) {
1073
1109
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1074
1110
  }
1075
- function pt(e, t, n) {
1076
- let r = !Xn(t);
1077
- return e && (r || n == !1) ? Qn(e, t) : t;
1111
+ function mt(e, t, n) {
1112
+ let r = !lr(t);
1113
+ return e && (r || n == !1) ? fr(e, t) : t;
1078
1114
  }
1079
1115
  const Ie = (e) => e instanceof x ? { ...e } : e;
1080
- function q(e, t) {
1116
+ function I(e, t) {
1081
1117
  t = t || {};
1082
1118
  const n = {};
1083
- function r(u, l, p, g) {
1084
- return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: g }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
1119
+ function r(l, u, p, b) {
1120
+ return a.isPlainObject(l) && a.isPlainObject(u) ? a.merge.call({ caseless: b }, l, u) : a.isPlainObject(u) ? a.merge({}, u) : a.isArray(u) ? u.slice() : u;
1085
1121
  }
1086
- function o(u, l, p, g) {
1087
- if (a.isUndefined(l)) {
1088
- if (!a.isUndefined(u))
1089
- return r(void 0, u, p, g);
1090
- } else return r(u, l, p, g);
1122
+ function o(l, u, p, b) {
1123
+ if (a.isUndefined(u)) {
1124
+ if (!a.isUndefined(l))
1125
+ return r(void 0, l, p, b);
1126
+ } else return r(l, u, p, b);
1091
1127
  }
1092
- function i(u, l) {
1093
- if (!a.isUndefined(l))
1094
- return r(void 0, l);
1128
+ function i(l, u) {
1129
+ if (!a.isUndefined(u))
1130
+ return r(void 0, u);
1095
1131
  }
1096
- function s(u, l) {
1097
- if (a.isUndefined(l)) {
1098
- if (!a.isUndefined(u))
1099
- return r(void 0, u);
1100
- } else return r(void 0, l);
1132
+ function s(l, u) {
1133
+ if (a.isUndefined(u)) {
1134
+ if (!a.isUndefined(l))
1135
+ return r(void 0, l);
1136
+ } else return r(void 0, u);
1101
1137
  }
1102
- function c(u, l, p) {
1138
+ function c(l, u, p) {
1103
1139
  if (p in t)
1104
- return r(u, l);
1140
+ return r(l, u);
1105
1141
  if (p in e)
1106
- return r(void 0, u);
1142
+ return r(void 0, l);
1107
1143
  }
1108
1144
  const d = {
1109
1145
  url: i,
@@ -1134,42 +1170,42 @@ function q(e, t) {
1134
1170
  socketPath: s,
1135
1171
  responseEncoding: s,
1136
1172
  validateStatus: c,
1137
- headers: (u, l, p) => o(Ie(u), Ie(l), p, !0)
1173
+ headers: (l, u, p) => o(Ie(l), Ie(u), p, !0)
1138
1174
  };
1139
- return a.forEach(Object.keys({ ...e, ...t }), function(l) {
1140
- const p = d[l] || o, g = p(e[l], t[l], l);
1141
- a.isUndefined(g) && p !== c || (n[l] = g);
1175
+ return a.forEach(Object.keys({ ...e, ...t }), function(u) {
1176
+ const p = d[u] || o, b = p(e[u], t[u], u);
1177
+ a.isUndefined(b) && p !== c || (n[u] = b);
1142
1178
  }), n;
1143
1179
  }
1144
- const ht = (e) => {
1145
- const t = q({}, e);
1180
+ const yt = (e) => {
1181
+ const t = I({}, e);
1146
1182
  let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: i, headers: s, auth: c } = t;
1147
- if (t.headers = s = x.from(s), t.url = ct(pt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && s.set(
1183
+ if (t.headers = s = x.from(s), t.url = lt(mt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && s.set(
1148
1184
  "Authorization",
1149
1185
  "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
1150
1186
  ), a.isFormData(n)) {
1151
1187
  if (O.hasStandardBrowserEnv || O.hasStandardBrowserWebWorkerEnv)
1152
1188
  s.setContentType(void 0);
1153
1189
  else if (a.isFunction(n.getHeaders)) {
1154
- const d = n.getHeaders(), u = ["content-type", "content-length"];
1155
- Object.entries(d).forEach(([l, p]) => {
1156
- u.includes(l.toLowerCase()) && s.set(l, p);
1190
+ const d = n.getHeaders(), l = ["content-type", "content-length"];
1191
+ Object.entries(d).forEach(([u, p]) => {
1192
+ l.includes(u.toLowerCase()) && s.set(u, p);
1157
1193
  });
1158
1194
  }
1159
1195
  }
1160
- if (O.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && Wn(t.url))) {
1161
- const d = o && i && Kn.read(i);
1196
+ if (O.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && cr(t.url))) {
1197
+ const d = o && i && ur.read(i);
1162
1198
  d && s.set(o, d);
1163
1199
  }
1164
1200
  return t;
1165
- }, Zn = typeof XMLHttpRequest < "u", Yn = Zn && function(e) {
1201
+ }, dr = typeof XMLHttpRequest < "u", pr = dr && function(e) {
1166
1202
  return new Promise(function(n, r) {
1167
- const o = ht(e);
1203
+ const o = yt(e);
1168
1204
  let i = o.data;
1169
1205
  const s = x.from(o.headers).normalize();
1170
- let { responseType: c, onUploadProgress: d, onDownloadProgress: u } = o, l, p, g, w, f;
1206
+ let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, p, b, w, f;
1171
1207
  function m() {
1172
- w && w(), f && f(), o.cancelToken && o.cancelToken.unsubscribe(l), o.signal && o.signal.removeEventListener("abort", l);
1208
+ w && w(), f && f(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
1173
1209
  }
1174
1210
  let h = new XMLHttpRequest();
1175
1211
  h.open(o.method.toUpperCase(), o.url, !0), h.timeout = o.timeout;
@@ -1186,7 +1222,7 @@ const ht = (e) => {
1186
1222
  config: e,
1187
1223
  request: h
1188
1224
  };
1189
- dt(function(N) {
1225
+ ht(function(N) {
1190
1226
  n(N), m();
1191
1227
  }, function(N) {
1192
1228
  r(N), m();
@@ -1195,55 +1231,55 @@ const ht = (e) => {
1195
1231
  "onloadend" in h ? h.onloadend = R : h.onreadystatechange = function() {
1196
1232
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(R);
1197
1233
  }, h.onabort = function() {
1198
- h && (r(new b("Request aborted", b.ECONNABORTED, e, h)), h = null);
1234
+ h && (r(new g("Request aborted", g.ECONNABORTED, e, h)), h = null);
1199
1235
  }, h.onerror = function(S) {
1200
- const C = S && S.message ? S.message : "Network Error", _ = new b(C, b.ERR_NETWORK, e, h);
1236
+ const C = S && S.message ? S.message : "Network Error", _ = new g(C, g.ERR_NETWORK, e, h);
1201
1237
  _.event = S || null, r(_), h = null;
1202
1238
  }, h.ontimeout = function() {
1203
1239
  let S = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1204
- const C = o.transitional || lt;
1205
- o.timeoutErrorMessage && (S = o.timeoutErrorMessage), r(new b(
1240
+ const C = o.transitional || ft;
1241
+ o.timeoutErrorMessage && (S = o.timeoutErrorMessage), r(new g(
1206
1242
  S,
1207
- C.clarifyTimeoutError ? b.ETIMEDOUT : b.ECONNABORTED,
1243
+ C.clarifyTimeoutError ? g.ETIMEDOUT : g.ECONNABORTED,
1208
1244
  e,
1209
1245
  h
1210
1246
  )), h = null;
1211
1247
  }, i === void 0 && s.setContentType(null), "setRequestHeader" in h && a.forEach(s.toJSON(), function(S, C) {
1212
1248
  h.setRequestHeader(C, S);
1213
- }), a.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), c && c !== "json" && (h.responseType = o.responseType), u && ([g, f] = ie(u, !0), h.addEventListener("progress", g)), d && h.upload && ([p, w] = ie(d), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", w)), (o.cancelToken || o.signal) && (l = (E) => {
1249
+ }), a.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), c && c !== "json" && (h.responseType = o.responseType), l && ([b, f] = ie(l, !0), h.addEventListener("progress", b)), d && h.upload && ([p, w] = ie(d), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", w)), (o.cancelToken || o.signal) && (u = (E) => {
1214
1250
  h && (r(!E || E.type ? new V(null, e, h) : E), h.abort(), h = null);
1215
- }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1216
- const y = Vn(o.url);
1251
+ }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
1252
+ const y = sr(o.url);
1217
1253
  if (y && O.protocols.indexOf(y) === -1) {
1218
- r(new b("Unsupported protocol " + y + ":", b.ERR_BAD_REQUEST, e));
1254
+ r(new g("Unsupported protocol " + y + ":", g.ERR_BAD_REQUEST, e));
1219
1255
  return;
1220
1256
  }
1221
1257
  h.send(i || null);
1222
1258
  });
1223
- }, er = (e, t) => {
1259
+ }, hr = (e, t) => {
1224
1260
  const { length: n } = e = e ? e.filter(Boolean) : [];
1225
1261
  if (t || n) {
1226
1262
  let r = new AbortController(), o;
1227
- const i = function(u) {
1263
+ const i = function(l) {
1228
1264
  if (!o) {
1229
1265
  o = !0, c();
1230
- const l = u instanceof Error ? u : this.reason;
1231
- r.abort(l instanceof b ? l : new V(l instanceof Error ? l.message : l));
1266
+ const u = l instanceof Error ? l : this.reason;
1267
+ r.abort(u instanceof g ? u : new V(u instanceof Error ? u.message : u));
1232
1268
  }
1233
1269
  };
1234
1270
  let s = t && setTimeout(() => {
1235
- s = null, i(new b(`timeout ${t} of ms exceeded`, b.ETIMEDOUT));
1271
+ s = null, i(new g(`timeout ${t} of ms exceeded`, g.ETIMEDOUT));
1236
1272
  }, t);
1237
1273
  const c = () => {
1238
- e && (s && clearTimeout(s), s = null, e.forEach((u) => {
1239
- u.unsubscribe ? u.unsubscribe(i) : u.removeEventListener("abort", i);
1274
+ e && (s && clearTimeout(s), s = null, e.forEach((l) => {
1275
+ l.unsubscribe ? l.unsubscribe(i) : l.removeEventListener("abort", i);
1240
1276
  }), e = null);
1241
1277
  };
1242
- e.forEach((u) => u.addEventListener("abort", i));
1278
+ e.forEach((l) => l.addEventListener("abort", i));
1243
1279
  const { signal: d } = r;
1244
1280
  return d.unsubscribe = () => a.asap(c), d;
1245
1281
  }
1246
- }, tr = function* (e, t) {
1282
+ }, mr = function* (e, t) {
1247
1283
  let n = e.byteLength;
1248
1284
  if (n < t) {
1249
1285
  yield e;
@@ -1252,10 +1288,10 @@ const ht = (e) => {
1252
1288
  let r = 0, o;
1253
1289
  for (; r < n; )
1254
1290
  o = r + t, yield e.slice(r, o), r = o;
1255
- }, nr = async function* (e, t) {
1256
- for await (const n of rr(e))
1257
- yield* tr(n, t);
1258
- }, rr = async function* (e) {
1291
+ }, yr = async function* (e, t) {
1292
+ for await (const n of gr(e))
1293
+ yield* mr(n, t);
1294
+ }, gr = async function* (e) {
1259
1295
  if (e[Symbol.asyncIterator]) {
1260
1296
  yield* e;
1261
1297
  return;
@@ -1271,27 +1307,27 @@ const ht = (e) => {
1271
1307
  } finally {
1272
1308
  await t.cancel();
1273
1309
  }
1274
- }, qe = (e, t, n, r) => {
1275
- const o = nr(e, t);
1310
+ }, He = (e, t, n, r) => {
1311
+ const o = yr(e, t);
1276
1312
  let i = 0, s, c = (d) => {
1277
1313
  s || (s = !0, r && r(d));
1278
1314
  };
1279
1315
  return new ReadableStream({
1280
1316
  async pull(d) {
1281
1317
  try {
1282
- const { done: u, value: l } = await o.next();
1283
- if (u) {
1318
+ const { done: l, value: u } = await o.next();
1319
+ if (l) {
1284
1320
  c(), d.close();
1285
1321
  return;
1286
1322
  }
1287
- let p = l.byteLength;
1323
+ let p = u.byteLength;
1288
1324
  if (n) {
1289
- let g = i += p;
1290
- n(g);
1325
+ let b = i += p;
1326
+ n(b);
1291
1327
  }
1292
- d.enqueue(new Uint8Array(l));
1293
- } catch (u) {
1294
- throw c(u), u;
1328
+ d.enqueue(new Uint8Array(u));
1329
+ } catch (l) {
1330
+ throw c(l), l;
1295
1331
  }
1296
1332
  },
1297
1333
  cancel(d) {
@@ -1300,26 +1336,26 @@ const ht = (e) => {
1300
1336
  }, {
1301
1337
  highWaterMark: 2
1302
1338
  });
1303
- }, He = 64 * 1024, { isFunction: te } = a, or = (({ Request: e, Response: t }) => ({
1339
+ }, $e = 64 * 1024, { isFunction: te } = a, br = (({ Request: e, Response: t }) => ({
1304
1340
  Request: e,
1305
1341
  Response: t
1306
1342
  }))(a.global), {
1307
1343
  ReadableStream: ze,
1308
- TextEncoder: $e
1309
- } = a.global, Ve = (e, ...t) => {
1344
+ TextEncoder: Ve
1345
+ } = a.global, Je = (e, ...t) => {
1310
1346
  try {
1311
1347
  return !!e(...t);
1312
1348
  } catch {
1313
1349
  return !1;
1314
1350
  }
1315
- }, sr = (e) => {
1351
+ }, wr = (e) => {
1316
1352
  e = a.merge.call({
1317
1353
  skipUndefined: !0
1318
- }, or, e);
1354
+ }, br, e);
1319
1355
  const { fetch: t, Request: n, Response: r } = e, o = t ? te(t) : typeof fetch == "function", i = te(n), s = te(r);
1320
1356
  if (!o)
1321
1357
  return !1;
1322
- const c = o && te(ze), d = o && (typeof $e == "function" ? /* @__PURE__ */ ((f) => (m) => f.encode(m))(new $e()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), u = i && c && Ve(() => {
1358
+ const c = o && te(ze), d = o && (typeof Ve == "function" ? /* @__PURE__ */ ((f) => (m) => f.encode(m))(new Ve()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), l = i && c && Je(() => {
1323
1359
  let f = !1;
1324
1360
  const m = new n(O.origin, {
1325
1361
  body: new ze(),
@@ -1329,18 +1365,18 @@ const ht = (e) => {
1329
1365
  }
1330
1366
  }).headers.has("Content-Type");
1331
1367
  return f && !m;
1332
- }), l = s && c && Ve(() => a.isReadableStream(new r("").body)), p = {
1333
- stream: l && ((f) => f.body)
1368
+ }), u = s && c && Je(() => a.isReadableStream(new r("").body)), p = {
1369
+ stream: u && ((f) => f.body)
1334
1370
  };
1335
1371
  o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
1336
1372
  !p[f] && (p[f] = (m, h) => {
1337
1373
  let R = m && m[f];
1338
1374
  if (R)
1339
1375
  return R.call(m);
1340
- throw new b(`Response type '${f}' is not supported`, b.ERR_NOT_SUPPORT, h);
1376
+ throw new g(`Response type '${f}' is not supported`, g.ERR_NOT_SUPPORT, h);
1341
1377
  });
1342
1378
  });
1343
- const g = async (f) => {
1379
+ const b = async (f) => {
1344
1380
  if (f == null)
1345
1381
  return 0;
1346
1382
  if (a.isBlob(f))
@@ -1356,7 +1392,7 @@ const ht = (e) => {
1356
1392
  return (await d(f)).byteLength;
1357
1393
  }, w = async (f, m) => {
1358
1394
  const h = a.toFiniteNumber(f.getContentLength());
1359
- return h ?? g(m);
1395
+ return h ?? b(m);
1360
1396
  };
1361
1397
  return async (f) => {
1362
1398
  let {
@@ -1371,63 +1407,63 @@ const ht = (e) => {
1371
1407
  responseType: N,
1372
1408
  headers: j,
1373
1409
  withCredentials: Z = "same-origin",
1374
- fetchOptions: Oe
1375
- } = ht(f), Ne = t || fetch;
1410
+ fetchOptions: Ne
1411
+ } = yt(f), Ae = t || fetch;
1376
1412
  N = N ? (N + "").toLowerCase() : "text";
1377
- let Y = er([y, E && E.toAbortSignal()], S), J = null;
1413
+ let Y = hr([y, E && E.toAbortSignal()], S), J = null;
1378
1414
  const v = Y && Y.unsubscribe && (() => {
1379
1415
  Y.unsubscribe();
1380
1416
  });
1381
- let Ae;
1417
+ let xe;
1382
1418
  try {
1383
- if (_ && u && h !== "get" && h !== "head" && (Ae = await w(j, R)) !== 0) {
1384
- let B = new n(m, {
1419
+ if (_ && l && h !== "get" && h !== "head" && (xe = await w(j, R)) !== 0) {
1420
+ let k = new n(m, {
1385
1421
  method: "POST",
1386
1422
  body: R,
1387
1423
  duplex: "half"
1388
1424
  }), H;
1389
- if (a.isFormData(R) && (H = B.headers.get("content-type")) && j.setContentType(H), B.body) {
1390
- const [de, ee] = ve(
1391
- Ae,
1392
- ie(Me(_))
1425
+ if (a.isFormData(R) && (H = k.headers.get("content-type")) && j.setContentType(H), k.body) {
1426
+ const [de, ee] = Me(
1427
+ xe,
1428
+ ie(qe(_))
1393
1429
  );
1394
- R = qe(B.body, He, de, ee);
1430
+ R = He(k.body, $e, de, ee);
1395
1431
  }
1396
1432
  }
1397
1433
  a.isString(Z) || (Z = Z ? "include" : "omit");
1398
- const D = i && "credentials" in n.prototype, xe = {
1399
- ...Oe,
1434
+ const L = i && "credentials" in n.prototype, Fe = {
1435
+ ...Ne,
1400
1436
  signal: Y,
1401
1437
  method: h.toUpperCase(),
1402
1438
  headers: j.normalize().toJSON(),
1403
1439
  body: R,
1404
1440
  duplex: "half",
1405
- credentials: D ? Z : void 0
1441
+ credentials: L ? Z : void 0
1406
1442
  };
1407
- J = i && new n(m, xe);
1408
- let U = await (i ? Ne(J, Oe) : Ne(m, xe));
1409
- const Fe = l && (N === "stream" || N === "response");
1410
- if (l && (C || Fe && v)) {
1411
- const B = {};
1443
+ J = i && new n(m, Fe);
1444
+ let U = await (i ? Ae(J, Ne) : Ae(m, Fe));
1445
+ const Le = u && (N === "stream" || N === "response");
1446
+ if (u && (C || Le && v)) {
1447
+ const k = {};
1412
1448
  ["status", "statusText", "headers"].forEach((De) => {
1413
- B[De] = U[De];
1449
+ k[De] = U[De];
1414
1450
  });
1415
- const H = a.toFiniteNumber(U.headers.get("content-length")), [de, ee] = C && ve(
1451
+ const H = a.toFiniteNumber(U.headers.get("content-length")), [de, ee] = C && Me(
1416
1452
  H,
1417
- ie(Me(C), !0)
1453
+ ie(qe(C), !0)
1418
1454
  ) || [];
1419
1455
  U = new r(
1420
- qe(U.body, He, de, () => {
1456
+ He(U.body, $e, de, () => {
1421
1457
  ee && ee(), v && v();
1422
1458
  }),
1423
- B
1459
+ k
1424
1460
  );
1425
1461
  }
1426
1462
  N = N || "text";
1427
- let Rt = await p[a.findKey(p, N) || "text"](U, f);
1428
- return !Fe && v && v(), await new Promise((B, H) => {
1429
- dt(B, H, {
1430
- data: Rt,
1463
+ let Ct = await p[a.findKey(p, N) || "text"](U, f);
1464
+ return !Le && v && v(), await new Promise((k, H) => {
1465
+ ht(k, H, {
1466
+ data: Ct,
1431
1467
  headers: x.from(U.headers),
1432
1468
  status: U.status,
1433
1469
  statusText: U.statusText,
@@ -1435,36 +1471,36 @@ const ht = (e) => {
1435
1471
  request: J
1436
1472
  });
1437
1473
  });
1438
- } catch (D) {
1439
- throw v && v(), D && D.name === "TypeError" && /Load failed|fetch/i.test(D.message) ? Object.assign(
1440
- new b("Network Error", b.ERR_NETWORK, f, J),
1474
+ } catch (L) {
1475
+ throw v && v(), L && L.name === "TypeError" && /Load failed|fetch/i.test(L.message) ? Object.assign(
1476
+ new g("Network Error", g.ERR_NETWORK, f, J),
1441
1477
  {
1442
- cause: D.cause || D
1478
+ cause: L.cause || L
1443
1479
  }
1444
- ) : b.from(D, D && D.code, f, J);
1480
+ ) : g.from(L, L && L.code, f, J);
1445
1481
  }
1446
1482
  };
1447
- }, ir = /* @__PURE__ */ new Map(), mt = (e) => {
1483
+ }, Er = /* @__PURE__ */ new Map(), gt = (e) => {
1448
1484
  let t = e && e.env || {};
1449
1485
  const { fetch: n, Request: r, Response: o } = t, i = [
1450
1486
  r,
1451
1487
  o,
1452
1488
  n
1453
1489
  ];
1454
- let s = i.length, c = s, d, u, l = ir;
1490
+ let s = i.length, c = s, d, l, u = Er;
1455
1491
  for (; c--; )
1456
- d = i[c], u = l.get(d), u === void 0 && l.set(d, u = c ? /* @__PURE__ */ new Map() : sr(t)), l = u;
1457
- return u;
1492
+ d = i[c], l = u.get(d), l === void 0 && u.set(d, l = c ? /* @__PURE__ */ new Map() : wr(t)), u = l;
1493
+ return l;
1458
1494
  };
1459
- mt();
1460
- const Ce = {
1461
- http: Tn,
1462
- xhr: Yn,
1495
+ gt();
1496
+ const Oe = {
1497
+ http: jn,
1498
+ xhr: pr,
1463
1499
  fetch: {
1464
- get: mt
1500
+ get: gt
1465
1501
  }
1466
1502
  };
1467
- a.forEach(Ce, (e, t) => {
1503
+ a.forEach(Oe, (e, t) => {
1468
1504
  if (e) {
1469
1505
  try {
1470
1506
  Object.defineProperty(e, "name", { value: t });
@@ -1473,8 +1509,8 @@ a.forEach(Ce, (e, t) => {
1473
1509
  Object.defineProperty(e, "adapterName", { value: t });
1474
1510
  }
1475
1511
  });
1476
- const Je = (e) => `- ${e}`, ar = (e) => a.isFunction(e) || e === null || e === !1;
1477
- function cr(e, t) {
1512
+ const Ge = (e) => `- ${e}`, Sr = (e) => a.isFunction(e) || e === null || e === !1;
1513
+ function Rr(e, t) {
1478
1514
  e = a.isArray(e) ? e : [e];
1479
1515
  const { length: n } = e;
1480
1516
  let r, o;
@@ -1482,78 +1518,78 @@ function cr(e, t) {
1482
1518
  for (let s = 0; s < n; s++) {
1483
1519
  r = e[s];
1484
1520
  let c;
1485
- if (o = r, !ar(r) && (o = Ce[(c = String(r)).toLowerCase()], o === void 0))
1486
- throw new b(`Unknown adapter '${c}'`);
1521
+ if (o = r, !Sr(r) && (o = Oe[(c = String(r)).toLowerCase()], o === void 0))
1522
+ throw new g(`Unknown adapter '${c}'`);
1487
1523
  if (o && (a.isFunction(o) || (o = o.get(t))))
1488
1524
  break;
1489
1525
  i[c || "#" + s] = o;
1490
1526
  }
1491
1527
  if (!o) {
1492
1528
  const s = Object.entries(i).map(
1493
- ([d, u]) => `adapter ${d} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1529
+ ([d, l]) => `adapter ${d} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1494
1530
  );
1495
1531
  let c = n ? s.length > 1 ? `since :
1496
- ` + s.map(Je).join(`
1497
- `) : " " + Je(s[0]) : "as no adapter specified";
1498
- throw new b(
1532
+ ` + s.map(Ge).join(`
1533
+ `) : " " + Ge(s[0]) : "as no adapter specified";
1534
+ throw new g(
1499
1535
  "There is no suitable adapter to dispatch the request " + c,
1500
1536
  "ERR_NOT_SUPPORT"
1501
1537
  );
1502
1538
  }
1503
1539
  return o;
1504
1540
  }
1505
- const yt = {
1541
+ const bt = {
1506
1542
  /**
1507
1543
  * Resolve an adapter from a list of adapter names or functions.
1508
1544
  * @type {Function}
1509
1545
  */
1510
- getAdapter: cr,
1546
+ getAdapter: Rr,
1511
1547
  /**
1512
1548
  * Exposes all known adapters
1513
1549
  * @type {Object<string, Function|Object>}
1514
1550
  */
1515
- adapters: Ce
1551
+ adapters: Oe
1516
1552
  };
1517
1553
  function me(e) {
1518
1554
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1519
1555
  throw new V(null, e);
1520
1556
  }
1521
- function Ge(e) {
1557
+ function We(e) {
1522
1558
  return me(e), e.headers = x.from(e.headers), e.data = he.call(
1523
1559
  e,
1524
1560
  e.transformRequest
1525
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), yt.getAdapter(e.adapter || Q.adapter, e)(e).then(function(r) {
1561
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), bt.getAdapter(e.adapter || Q.adapter, e)(e).then(function(r) {
1526
1562
  return me(e), r.data = he.call(
1527
1563
  e,
1528
1564
  e.transformResponse,
1529
1565
  r
1530
1566
  ), r.headers = x.from(r.headers), r;
1531
1567
  }, function(r) {
1532
- return ft(r) || (me(e), r && r.response && (r.response.data = he.call(
1568
+ return pt(r) || (me(e), r && r.response && (r.response.data = he.call(
1533
1569
  e,
1534
1570
  e.transformResponse,
1535
1571
  r.response
1536
1572
  ), r.response.headers = x.from(r.response.headers))), Promise.reject(r);
1537
1573
  });
1538
1574
  }
1539
- const bt = "1.13.2", fe = {};
1575
+ const wt = "1.13.2", fe = {};
1540
1576
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1541
1577
  fe[e] = function(r) {
1542
1578
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1543
1579
  };
1544
1580
  });
1545
- const We = {};
1581
+ const Ke = {};
1546
1582
  fe.transitional = function(t, n, r) {
1547
1583
  function o(i, s) {
1548
- return "[Axios v" + bt + "] Transitional option '" + i + "'" + s + (r ? ". " + r : "");
1584
+ return "[Axios v" + wt + "] Transitional option '" + i + "'" + s + (r ? ". " + r : "");
1549
1585
  }
1550
1586
  return (i, s, c) => {
1551
1587
  if (t === !1)
1552
- throw new b(
1588
+ throw new g(
1553
1589
  o(s, " has been removed" + (n ? " in " + n : "")),
1554
- b.ERR_DEPRECATED
1590
+ g.ERR_DEPRECATED
1555
1591
  );
1556
- return n && !We[s] && (We[s] = !0, console.warn(
1592
+ return n && !Ke[s] && (Ke[s] = !0, console.warn(
1557
1593
  o(
1558
1594
  s,
1559
1595
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1564,9 +1600,9 @@ fe.transitional = function(t, n, r) {
1564
1600
  fe.spelling = function(t) {
1565
1601
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1566
1602
  };
1567
- function lr(e, t, n) {
1603
+ function Tr(e, t, n) {
1568
1604
  if (typeof e != "object")
1569
- throw new b("options must be an object", b.ERR_BAD_OPTION_VALUE);
1605
+ throw new g("options must be an object", g.ERR_BAD_OPTION_VALUE);
1570
1606
  const r = Object.keys(e);
1571
1607
  let o = r.length;
1572
1608
  for (; o-- > 0; ) {
@@ -1574,22 +1610,22 @@ function lr(e, t, n) {
1574
1610
  if (s) {
1575
1611
  const c = e[i], d = c === void 0 || s(c, i, e);
1576
1612
  if (d !== !0)
1577
- throw new b("option " + i + " must be " + d, b.ERR_BAD_OPTION_VALUE);
1613
+ throw new g("option " + i + " must be " + d, g.ERR_BAD_OPTION_VALUE);
1578
1614
  continue;
1579
1615
  }
1580
1616
  if (n !== !0)
1581
- throw new b("Unknown option " + i, b.ERR_BAD_OPTION);
1617
+ throw new g("Unknown option " + i, g.ERR_BAD_OPTION);
1582
1618
  }
1583
1619
  }
1584
1620
  const se = {
1585
- assertOptions: lr,
1621
+ assertOptions: Tr,
1586
1622
  validators: fe
1587
- }, L = se.validators;
1588
- let I = class {
1623
+ }, D = se.validators;
1624
+ let q = class {
1589
1625
  constructor(t) {
1590
1626
  this.defaults = t || {}, this.interceptors = {
1591
- request: new ke(),
1592
- response: new ke()
1627
+ request: new je(),
1628
+ response: new je()
1593
1629
  };
1594
1630
  }
1595
1631
  /**
@@ -1618,20 +1654,20 @@ let I = class {
1618
1654
  }
1619
1655
  }
1620
1656
  _request(t, n) {
1621
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = q(this.defaults, n);
1657
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = I(this.defaults, n);
1622
1658
  const { transitional: r, paramsSerializer: o, headers: i } = n;
1623
1659
  r !== void 0 && se.assertOptions(r, {
1624
- silentJSONParsing: L.transitional(L.boolean),
1625
- forcedJSONParsing: L.transitional(L.boolean),
1626
- clarifyTimeoutError: L.transitional(L.boolean)
1660
+ silentJSONParsing: D.transitional(D.boolean),
1661
+ forcedJSONParsing: D.transitional(D.boolean),
1662
+ clarifyTimeoutError: D.transitional(D.boolean)
1627
1663
  }, !1), o != null && (a.isFunction(o) ? n.paramsSerializer = {
1628
1664
  serialize: o
1629
1665
  } : se.assertOptions(o, {
1630
- encode: L.function,
1631
- serialize: L.function
1666
+ encode: D.function,
1667
+ serialize: D.function
1632
1668
  }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), se.assertOptions(n, {
1633
- baseUrl: L.spelling("baseURL"),
1634
- withXsrfToken: L.spelling("withXSRFToken")
1669
+ baseUrl: D.spelling("baseURL"),
1670
+ withXsrfToken: D.spelling("withXSRFToken")
1635
1671
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1636
1672
  let s = i && a.merge(
1637
1673
  i.common,
@@ -1648,20 +1684,20 @@ let I = class {
1648
1684
  this.interceptors.request.forEach(function(m) {
1649
1685
  typeof m.runWhen == "function" && m.runWhen(n) === !1 || (d = d && m.synchronous, c.unshift(m.fulfilled, m.rejected));
1650
1686
  });
1651
- const u = [];
1687
+ const l = [];
1652
1688
  this.interceptors.response.forEach(function(m) {
1653
- u.push(m.fulfilled, m.rejected);
1689
+ l.push(m.fulfilled, m.rejected);
1654
1690
  });
1655
- let l, p = 0, g;
1691
+ let u, p = 0, b;
1656
1692
  if (!d) {
1657
- const f = [Ge.bind(this), void 0];
1658
- for (f.unshift(...c), f.push(...u), g = f.length, l = Promise.resolve(n); p < g; )
1659
- l = l.then(f[p++], f[p++]);
1660
- return l;
1693
+ const f = [We.bind(this), void 0];
1694
+ for (f.unshift(...c), f.push(...l), b = f.length, u = Promise.resolve(n); p < b; )
1695
+ u = u.then(f[p++], f[p++]);
1696
+ return u;
1661
1697
  }
1662
- g = c.length;
1698
+ b = c.length;
1663
1699
  let w = n;
1664
- for (; p < g; ) {
1700
+ for (; p < b; ) {
1665
1701
  const f = c[p++], m = c[p++];
1666
1702
  try {
1667
1703
  w = f(w);
@@ -1671,23 +1707,23 @@ let I = class {
1671
1707
  }
1672
1708
  }
1673
1709
  try {
1674
- l = Ge.call(this, w);
1710
+ u = We.call(this, w);
1675
1711
  } catch (f) {
1676
1712
  return Promise.reject(f);
1677
1713
  }
1678
- for (p = 0, g = u.length; p < g; )
1679
- l = l.then(u[p++], u[p++]);
1680
- return l;
1714
+ for (p = 0, b = l.length; p < b; )
1715
+ u = u.then(l[p++], l[p++]);
1716
+ return u;
1681
1717
  }
1682
1718
  getUri(t) {
1683
- t = q(this.defaults, t);
1684
- const n = pt(t.baseURL, t.url, t.allowAbsoluteUrls);
1685
- return ct(n, t.params, t.paramsSerializer);
1719
+ t = I(this.defaults, t);
1720
+ const n = mt(t.baseURL, t.url, t.allowAbsoluteUrls);
1721
+ return lt(n, t.params, t.paramsSerializer);
1686
1722
  }
1687
1723
  };
1688
1724
  a.forEach(["delete", "get", "head", "options"], function(t) {
1689
- I.prototype[t] = function(n, r) {
1690
- return this.request(q(r || {}, {
1725
+ q.prototype[t] = function(n, r) {
1726
+ return this.request(I(r || {}, {
1691
1727
  method: t,
1692
1728
  url: n,
1693
1729
  data: (r || {}).data
@@ -1697,7 +1733,7 @@ a.forEach(["delete", "get", "head", "options"], function(t) {
1697
1733
  a.forEach(["post", "put", "patch"], function(t) {
1698
1734
  function n(r) {
1699
1735
  return function(i, s, c) {
1700
- return this.request(q(c || {}, {
1736
+ return this.request(I(c || {}, {
1701
1737
  method: t,
1702
1738
  headers: r ? {
1703
1739
  "Content-Type": "multipart/form-data"
@@ -1707,9 +1743,9 @@ a.forEach(["post", "put", "patch"], function(t) {
1707
1743
  }));
1708
1744
  };
1709
1745
  }
1710
- I.prototype[t] = n(), I.prototype[t + "Form"] = n(!0);
1746
+ q.prototype[t] = n(), q.prototype[t + "Form"] = n(!0);
1711
1747
  });
1712
- let ur = class gt {
1748
+ let Cr = class Et {
1713
1749
  constructor(t) {
1714
1750
  if (typeof t != "function")
1715
1751
  throw new TypeError("executor must be a function.");
@@ -1775,19 +1811,19 @@ let ur = class gt {
1775
1811
  static source() {
1776
1812
  let t;
1777
1813
  return {
1778
- token: new gt(function(o) {
1814
+ token: new Et(function(o) {
1779
1815
  t = o;
1780
1816
  }),
1781
1817
  cancel: t
1782
1818
  };
1783
1819
  }
1784
1820
  };
1785
- function fr(e) {
1821
+ function Or(e) {
1786
1822
  return function(n) {
1787
1823
  return e.apply(null, n);
1788
1824
  };
1789
1825
  }
1790
- function dr(e) {
1826
+ function Nr(e) {
1791
1827
  return a.isObject(e) && e.isAxiosError === !0;
1792
1828
  }
1793
1829
  const Ee = {
@@ -1864,73 +1900,73 @@ const Ee = {
1864
1900
  Object.entries(Ee).forEach(([e, t]) => {
1865
1901
  Ee[t] = e;
1866
1902
  });
1867
- function wt(e) {
1868
- const t = new I(e), n = Xe(I.prototype.request, t);
1869
- return a.extend(n, I.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
1870
- return wt(q(e, o));
1903
+ function St(e) {
1904
+ const t = new q(e), n = Ze(q.prototype.request, t);
1905
+ return a.extend(n, q.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
1906
+ return St(I(e, o));
1871
1907
  }, n;
1872
1908
  }
1873
- const T = wt(Q);
1874
- T.Axios = I;
1909
+ const T = St(Q);
1910
+ T.Axios = q;
1875
1911
  T.CanceledError = V;
1876
- T.CancelToken = ur;
1877
- T.isCancel = ft;
1878
- T.VERSION = bt;
1879
- T.toFormData = ue;
1880
- T.AxiosError = b;
1912
+ T.CancelToken = Cr;
1913
+ T.isCancel = pt;
1914
+ T.VERSION = wt;
1915
+ T.toFormData = le;
1916
+ T.AxiosError = g;
1881
1917
  T.Cancel = T.CanceledError;
1882
1918
  T.all = function(t) {
1883
1919
  return Promise.all(t);
1884
1920
  };
1885
- T.spread = fr;
1886
- T.isAxiosError = dr;
1887
- T.mergeConfig = q;
1921
+ T.spread = Or;
1922
+ T.isAxiosError = Nr;
1923
+ T.mergeConfig = I;
1888
1924
  T.AxiosHeaders = x;
1889
- T.formToJSON = (e) => ut(a.isHTMLForm(e) ? new FormData(e) : e);
1890
- T.getAdapter = yt.getAdapter;
1925
+ T.formToJSON = (e) => dt(a.isHTMLForm(e) ? new FormData(e) : e);
1926
+ T.getAdapter = bt.getAdapter;
1891
1927
  T.HttpStatusCode = Ee;
1892
1928
  T.default = T;
1893
1929
  const {
1894
- Axios: Dr,
1895
- AxiosError: Lr,
1896
- CanceledError: Pr,
1897
- isCancel: _r,
1898
- CancelToken: Ur,
1899
- VERSION: Br,
1900
- all: kr,
1901
- Cancel: jr,
1902
- isAxiosError: vr,
1903
- spread: Mr,
1904
- toFormData: Ir,
1905
- AxiosHeaders: qr,
1906
- HttpStatusCode: Hr,
1907
- formToJSON: zr,
1908
- getAdapter: $r,
1909
- mergeConfig: Vr
1930
+ Axios: zr,
1931
+ AxiosError: Vr,
1932
+ CanceledError: Jr,
1933
+ isCancel: Gr,
1934
+ CancelToken: Wr,
1935
+ VERSION: Kr,
1936
+ all: Xr,
1937
+ Cancel: Qr,
1938
+ isAxiosError: Zr,
1939
+ spread: Yr,
1940
+ toFormData: eo,
1941
+ AxiosHeaders: to,
1942
+ HttpStatusCode: no,
1943
+ formToJSON: ro,
1944
+ getAdapter: oo,
1945
+ mergeConfig: so
1910
1946
  } = T;
1911
- var Et = /* @__PURE__ */ ((e) => (e.KeyApp = "1", e.Module = "2", e.MenuGroup = "3", e.Menu = "4", e))(Et || {});
1912
- function pr(e) {
1947
+ var Rt = /* @__PURE__ */ ((e) => (e.KeyApp = "1", e.Module = "2", e.MenuGroup = "3", e.Menu = "4", e))(Rt || {});
1948
+ function Ar(e) {
1913
1949
  const t = ne(() => {
1914
1950
  const d = /* @__PURE__ */ new Map();
1915
- return e.value.forEach((u) => {
1916
- d.set(u.id, u);
1951
+ return e.value.forEach((l) => {
1952
+ d.set(l.id, l);
1917
1953
  }), d;
1918
1954
  }), n = ne(() => {
1919
1955
  const d = /* @__PURE__ */ new Map();
1920
- return e.value.forEach((u) => {
1921
- const { parentId: l } = u;
1922
- l && (d.has(l) || d.set(l, []), d.get(l).push(u));
1956
+ return e.value.forEach((l) => {
1957
+ const { parentId: u } = l;
1958
+ u && (d.has(u) || d.set(u, []), d.get(u).push(l));
1923
1959
  }), d;
1924
1960
  }), r = ne(() => e.value.filter((d) => {
1925
- const { parentId: u } = d;
1926
- return !u || !t.value.get(u);
1927
- })), o = k([]);
1961
+ const { parentId: l } = d;
1962
+ return !l || !t.value.get(l);
1963
+ })), o = B([]);
1928
1964
  function i() {
1929
- const d = [], u = [];
1930
- for ([...r.value].reverse().forEach((l) => u.push(l.id)); u.length > 0; ) {
1931
- const l = u.pop(), p = t.value.get(l);
1932
- d.push(p), [...n.value.get(l) || []].reverse().forEach((w) => {
1933
- u.push(w.id);
1965
+ const d = [], l = [];
1966
+ for ([...r.value].reverse().forEach((u) => l.push(u.id)); l.length > 0; ) {
1967
+ const u = l.pop(), p = t.value.get(u);
1968
+ d.push(p), [...n.value.get(u) || []].reverse().forEach((w) => {
1969
+ l.push(w.id);
1934
1970
  });
1935
1971
  }
1936
1972
  return d;
@@ -1941,17 +1977,17 @@ function pr(e) {
1941
1977
  o.value = i();
1942
1978
  }
1943
1979
  );
1944
- function s(d, u) {
1945
- const l = [], p = [d];
1980
+ function s(d, l) {
1981
+ const u = [], p = [d];
1946
1982
  for (; p.length > 0; ) {
1947
- const g = p.shift();
1948
- if (!g)
1983
+ const b = p.shift();
1984
+ if (!b)
1949
1985
  continue;
1950
- const w = n.value.get(g.id) || [];
1986
+ const w = n.value.get(b.id) || [];
1951
1987
  for (const f of w)
1952
- u(f) && l.push(f), p.push(f);
1988
+ l(f) && u.push(f), p.push(f);
1953
1989
  }
1954
- return l;
1990
+ return u;
1955
1991
  }
1956
1992
  function c(d) {
1957
1993
  return n.value.get(d == null ? void 0 : d.id) || [];
@@ -1962,27 +1998,27 @@ function pr(e) {
1962
1998
  getChildNodes: c
1963
1999
  };
1964
2000
  }
1965
- function hr(e, t) {
1966
- const n = k([]), r = /* @__PURE__ */ new Set(), o = pr(n), {
2001
+ function xr(e, t) {
2002
+ const n = B([]), r = /* @__PURE__ */ new Set(), o = Ar(n), {
1967
2003
  orderedTreeNodes: i
1968
- } = o, s = ne(() => i.value.filter(u));
2004
+ } = o, s = ne(() => i.value.filter(l));
1969
2005
  function c(y) {
1970
2006
  return r.has(y);
1971
2007
  }
1972
2008
  function d(y) {
1973
2009
  const E = y;
1974
- return (E == null ? void 0 : E.funcType) === Et.Menu;
2010
+ return (E == null ? void 0 : E.funcType) === Rt.Menu;
1975
2011
  }
1976
- function u(y) {
2012
+ function l(y) {
1977
2013
  return !d(y);
1978
2014
  }
1979
- function l(y) {
2015
+ function u(y) {
1980
2016
  y && (y.layer = Number(y.layer) - 1, y.collapse = typeof y.collapse == "boolean" ? y.collapse : !0);
1981
2017
  }
1982
2018
  function p(y) {
1983
2019
  return typeof e.fetchNodeApi == "function" ? e.fetchNodeApi(y) : !y && typeof e.fetchNodeApi == "string" ? e.fetchNodeApi : "";
1984
2020
  }
1985
- async function g(y) {
2021
+ async function b(y) {
1986
2022
  const E = p(y);
1987
2023
  if (!E)
1988
2024
  return Promise.resolve([]);
@@ -1990,12 +2026,12 @@ function hr(e, t) {
1990
2026
  headers: {
1991
2027
  "Content-Type": "application/json"
1992
2028
  }
1993
- }, C = Lt.show({ target: t.value }), N = (await T.get(E, S).then((j) => (C.value.close(), j)).catch((j) => (console.error(j), C.value.close(), { data: [] }))).data || [];
1994
- return N.forEach(l), N;
2029
+ }, C = Ut.show({ target: t.value }), N = (await T.get(E, S).then((j) => (C.value.close(), j)).catch((j) => (console.error(j), C.value.close(), { data: [] }))).data || [];
2030
+ return N.forEach(u), N;
1995
2031
  }
1996
2032
  function w() {
1997
2033
  n.value.forEach((y) => {
1998
- const C = !!o.getChildNodes(y).find(u);
2034
+ const C = !!o.getChildNodes(y).find(l);
1999
2035
  y.hasChildren = C;
2000
2036
  }), n.value = [...n.value];
2001
2037
  }
@@ -2004,7 +2040,7 @@ function hr(e, t) {
2004
2040
  }
2005
2041
  function m(y) {
2006
2042
  const E = (y == null ? void 0 : y.id) || "";
2007
- c(E) || g(y).then((S) => {
2043
+ c(E) || b(y).then((S) => {
2008
2044
  c(E) || (r.add(E), f(S));
2009
2045
  });
2010
2046
  }
@@ -2021,8 +2057,8 @@ function hr(e, t) {
2021
2057
  clearCache: R
2022
2058
  };
2023
2059
  }
2024
- function mr(e, t) {
2025
- const n = k([]);
2060
+ function Fr(e, t) {
2061
+ const n = B([]);
2026
2062
  function r(s) {
2027
2063
  }
2028
2064
  function o(s) {
@@ -2037,18 +2073,18 @@ function mr(e, t) {
2037
2073
  clearCache: i
2038
2074
  };
2039
2075
  }
2040
- function yr(e, t) {
2041
- return St(hr(e, t));
2076
+ function Lr(e, t) {
2077
+ return Tt(xr(e, t));
2042
2078
  }
2043
- function br(e, t) {
2044
- return St(mr());
2079
+ function Dr(e, t) {
2080
+ return Tt(Fr());
2045
2081
  }
2046
- function St(e) {
2082
+ function Tt(e) {
2047
2083
  const {
2048
2084
  treeData: t,
2049
2085
  loadNodesByLevel: n,
2050
2086
  getLeafDescendants: r
2051
- } = e, o = k([]), i = k();
2087
+ } = e, o = B([]), i = B();
2052
2088
  function s(w) {
2053
2089
  const f = w == null ? void 0 : w[0];
2054
2090
  if (!f)
@@ -2063,18 +2099,18 @@ function St(e) {
2063
2099
  function d() {
2064
2100
  i.value = void 0;
2065
2101
  }
2066
- function u(w) {
2102
+ function l(w) {
2067
2103
  var f;
2068
2104
  return (f = w == null ? void 0 : w.row) == null ? void 0 : f.raw;
2069
2105
  }
2070
- function l(w) {
2071
- const f = u(w);
2106
+ function u(w) {
2107
+ const f = l(w);
2072
2108
  n(f);
2073
2109
  }
2074
2110
  function p() {
2075
2111
  i.value = void 0, o.value = [], e.clearCache();
2076
2112
  }
2077
- function g() {
2113
+ function b() {
2078
2114
  p(), n();
2079
2115
  }
2080
2116
  return {
@@ -2082,32 +2118,32 @@ function St(e) {
2082
2118
  gridData: o,
2083
2119
  selectedData: i,
2084
2120
  onNavTreeSelectionChange: s,
2085
- onNavTreeExpandNode: l,
2121
+ onNavTreeExpandNode: u,
2086
2122
  onDataGridSelectionChange: c,
2087
2123
  onDataGridUnSelectItem: d,
2088
- initialize: g,
2124
+ initialize: b,
2089
2125
  clearCache: p
2090
2126
  };
2091
2127
  }
2092
- function gr(e, t, n) {
2093
- const r = Ot(Pt, null), o = e.targetType === "app" ? "选择应用" : "选择功能菜单", {
2128
+ function Pr(e, t, n) {
2129
+ const r = At(kt, null), o = e.targetType === "app" ? "选择应用" : "选择功能菜单", {
2094
2130
  selectedData: i,
2095
2131
  clearCache: s
2096
2132
  } = n;
2097
- function c(p, g) {
2098
- t.emit("change", p, p, g), t.emit("update:modelValue", p);
2133
+ function c(p, b) {
2134
+ t.emit("change", p, p, b), t.emit("update:modelValue", p);
2099
2135
  }
2100
2136
  function d() {
2101
2137
  if (!i.value)
2102
2138
  return r == null || r.warning({ message: "请选择数据!", position: "top-center" }), !1;
2103
- const p = i.value.id, g = i.value;
2104
- return c(p, g), !0;
2139
+ const p = i.value.id, b = i.value;
2140
+ return c(p, b), !0;
2105
2141
  }
2106
- function u() {
2142
+ function l() {
2107
2143
  c("");
2108
2144
  }
2109
2145
  return {
2110
- modalConfigs: Nt({
2146
+ modalConfigs: xt({
2111
2147
  title: o,
2112
2148
  width: 800,
2113
2149
  height: 550,
@@ -2134,20 +2170,20 @@ function gr(e, t, n) {
2134
2170
  ]
2135
2171
  }),
2136
2172
  changeValue: c,
2137
- onClear: u
2173
+ onClear: l
2138
2174
  };
2139
2175
  }
2140
- const wr = /* @__PURE__ */ Ke({
2176
+ const Se = /* @__PURE__ */ Xe({
2141
2177
  name: "FMenuLookup",
2142
- props: Ut,
2178
+ props: Qe,
2143
2179
  emits: ["change", "update:modelValue"],
2144
2180
  setup(e, t) {
2145
- const n = k(), r = e.targetType === "app" ? br() : yr(e, n), {
2181
+ const n = B(), r = e.targetType === "app" ? Dr() : Lr(e, n), {
2146
2182
  modalConfigs: o,
2147
2183
  changeValue: i,
2148
2184
  onClear: s
2149
- } = gr(e, t, r);
2150
- return () => P(At, {
2185
+ } = Pr(e, t, r);
2186
+ return () => P(Lt, {
2151
2187
  modelValue: e.modelValue,
2152
2188
  enableClear: !0,
2153
2189
  buttonBehavior: "Modal",
@@ -2158,15 +2194,20 @@ const wr = /* @__PURE__ */ Ke({
2158
2194
  default: () => [P("div", {
2159
2195
  ref: n,
2160
2196
  class: "fv-menu-lookup-container"
2161
- }, [P(kt, {
2197
+ }, [P(Xt, {
2162
2198
  targetType: e.targetType,
2163
2199
  useTreeGridCoordinatorComposition: r
2164
2200
  }, null)])]
2165
2201
  });
2166
2202
  }
2167
- }), Jr = _t(wr);
2203
+ });
2204
+ Se.register = (e, t, n, r) => {
2205
+ e["menu-lookup"] = Se, t["menu-lookup"] = Wt;
2206
+ };
2207
+ const io = Bt(Se);
2168
2208
  export {
2169
- wr as FMenuLookup,
2170
- Jr as default,
2171
- Ut as menuLookupProps
2209
+ Se as FMenuLookup,
2210
+ io as default,
2211
+ Qe as menuLookupProps,
2212
+ Wt as propsResolver
2172
2213
  };