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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (563) hide show
  1. package/components/accordion/index.esm.js +61 -312
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +56 -1481
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +8 -752
  6. package/components/binding-selector/index.umd.cjs +1 -1
  7. package/components/button-edit/index.esm.js +358 -351
  8. package/components/button-edit/index.umd.cjs +1 -1
  9. package/components/button-group/index.esm.js +110 -266
  10. package/components/button-group/index.umd.cjs +1 -1
  11. package/components/calendar/index.esm.js +1371 -1284
  12. package/components/calendar/index.umd.cjs +30 -30
  13. package/components/code-editor/index.esm.js +169 -237
  14. package/components/code-editor/index.umd.cjs +3 -3
  15. package/components/collection-property-editor/index.esm.js +382 -351
  16. package/components/collection-property-editor/index.umd.cjs +2 -2
  17. package/components/color-picker/index.esm.js +502 -812
  18. package/components/color-picker/index.umd.cjs +1 -1
  19. package/components/combo-list/index.esm.js +197 -183
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-tree/index.esm.js +199 -364
  22. package/components/combo-tree/index.umd.cjs +1 -1
  23. package/components/comment/index.esm.js +1501 -1465
  24. package/components/comment/index.umd.cjs +6 -6
  25. package/components/common/index.esm.js +136 -100
  26. package/components/common/index.umd.cjs +1 -1
  27. package/components/component/index.css +1 -1
  28. package/components/component/index.esm.js +2662 -3647
  29. package/components/component/index.umd.cjs +1 -8
  30. package/components/condition/index.esm.js +492 -2449
  31. package/components/condition/index.umd.cjs +1 -8
  32. package/components/content-container/index.esm.js +252 -241
  33. package/components/content-container/index.umd.cjs +1 -1
  34. package/components/data-grid/index.esm.js +505 -409
  35. package/components/data-grid/index.umd.cjs +1 -1
  36. package/components/data-view/index.esm.js +3326 -3258
  37. package/components/data-view/index.umd.cjs +1 -1
  38. package/components/date-picker/index.esm.js +1709 -1634
  39. package/components/date-picker/index.umd.cjs +1 -1
  40. package/components/designer-canvas/index.css +1 -1
  41. package/components/designer-canvas/index.esm.js +2693 -3021
  42. package/components/designer-canvas/index.umd.cjs +1 -1
  43. package/components/designer-outline/index.esm.js +102 -98
  44. package/components/designer-outline/index.umd.cjs +1 -1
  45. package/components/drawer/index.esm.js +409 -358
  46. package/components/drawer/index.umd.cjs +2 -2
  47. package/components/dropdown/index.esm.js +124 -373
  48. package/components/dropdown/index.umd.cjs +2 -2
  49. package/components/dynamic-form/index.esm.js +760 -573
  50. package/components/dynamic-form/index.umd.cjs +1 -1
  51. package/components/dynamic-resolver/index.esm.js +354 -327
  52. package/components/dynamic-resolver/index.umd.cjs +2 -2
  53. package/components/dynamic-view/index.esm.js +413 -359
  54. package/components/dynamic-view/index.umd.cjs +1 -1
  55. package/components/event-parameter/index.esm.js +1 -1
  56. package/components/event-parameter/index.umd.cjs +1 -1
  57. package/components/events-editor/index.css +1 -1
  58. package/components/events-editor/index.esm.js +1535 -1941
  59. package/components/events-editor/index.umd.cjs +3 -3
  60. package/components/expression-editor/index.css +1 -1
  61. package/components/expression-editor/index.esm.js +2 -7317
  62. package/components/expression-editor/index.umd.cjs +1 -427
  63. package/components/field-selector/index.esm.js +13 -13
  64. package/components/field-selector/index.umd.cjs +1 -1
  65. package/components/fieldset/index.esm.js +140 -123
  66. package/components/fieldset/index.umd.cjs +1 -1
  67. package/components/filter-bar/index.esm.js +1021 -1012
  68. package/components/filter-bar/index.umd.cjs +2 -2
  69. package/components/filter-condition-editor/index.css +1 -1
  70. package/components/filter-condition-editor/index.esm.js +448 -9000
  71. package/components/filter-condition-editor/index.umd.cjs +1 -427
  72. package/components/html-template/index.esm.js +167 -147
  73. package/components/html-template/index.umd.cjs +1 -1
  74. package/components/image/index.esm.js +372 -352
  75. package/components/image/index.umd.cjs +2 -2
  76. package/components/image-cropper/index.esm.js +361 -615
  77. package/components/image-cropper/index.umd.cjs +1 -1
  78. package/components/json-editor/index.esm.js +247 -325
  79. package/components/json-editor/index.umd.cjs +1 -1
  80. package/components/language-textbox/index.esm.js +835 -421
  81. package/components/language-textbox/index.umd.cjs +2 -2
  82. package/components/layout/index.esm.js +163 -549
  83. package/components/layout/index.umd.cjs +1 -1
  84. package/components/list-nav/index.esm.js +39 -836
  85. package/components/list-nav/index.umd.cjs +1 -1
  86. package/components/list-view/index.esm.js +690 -474
  87. package/components/list-view/index.umd.cjs +6 -8
  88. package/components/loading/index.esm.js +128 -97
  89. package/components/loading/index.umd.cjs +2 -2
  90. package/components/locale/index.esm.js +361 -340
  91. package/components/locale/index.umd.cjs +5 -5
  92. package/components/lookup/index.css +1 -1
  93. package/components/lookup/index.esm.js +3396 -3368
  94. package/components/lookup/index.umd.cjs +1 -1
  95. package/components/mapping-editor/index.css +1 -1
  96. package/components/mapping-editor/index.esm.js +1684 -1584
  97. package/components/mapping-editor/index.umd.cjs +1 -1
  98. package/components/menu-lookup/index.esm.js +586 -609
  99. package/components/menu-lookup/index.umd.cjs +6 -6
  100. package/components/message-box/index.css +1 -1
  101. package/components/message-box/index.esm.js +357 -353
  102. package/components/message-box/index.umd.cjs +1 -1
  103. package/components/modal/index.esm.js +325 -318
  104. package/components/modal/index.umd.cjs +1 -1
  105. package/components/nav/index.esm.js +31 -311
  106. package/components/nav/index.umd.cjs +1 -1
  107. package/components/number-range/index.esm.js +189 -1633
  108. package/components/number-range/index.umd.cjs +1 -1
  109. package/components/number-spinner/index.esm.js +195 -175
  110. package/components/number-spinner/index.umd.cjs +1 -1
  111. package/components/order/index.esm.js +761 -1057
  112. package/components/order/index.umd.cjs +7 -9
  113. package/components/page-footer/index.esm.js +48 -331
  114. package/components/page-footer/index.umd.cjs +1 -1
  115. package/components/page-header/index.esm.js +92 -73
  116. package/components/page-header/index.umd.cjs +1 -1
  117. package/components/pagination/index.esm.js +195 -472
  118. package/components/pagination/index.umd.cjs +1 -1
  119. package/components/popover/index.esm.js +77 -76
  120. package/components/popover/index.umd.cjs +1 -1
  121. package/components/progress/index.esm.js +148 -353
  122. package/components/progress/index.umd.cjs +3 -3
  123. package/components/property-editor/index.esm.js +74 -68
  124. package/components/property-editor/index.umd.cjs +1 -1
  125. package/components/property-panel/index.esm.js +872 -1800
  126. package/components/property-panel/index.umd.cjs +5 -12
  127. package/components/query-solution/index.css +1 -1
  128. package/components/query-solution/index.esm.js +4223 -6205
  129. package/components/query-solution/index.umd.cjs +6 -13
  130. package/components/response-layout/index.esm.js +206 -170
  131. package/components/response-layout/index.umd.cjs +1 -1
  132. package/components/response-layout-editor/index.esm.js +1 -1
  133. package/components/response-layout-editor/index.umd.cjs +1 -1
  134. package/components/response-toolbar/index.esm.js +378 -359
  135. package/components/response-toolbar/index.umd.cjs +1 -1
  136. package/components/schema-selector/index.esm.js +2491 -2653
  137. package/components/schema-selector/index.umd.cjs +8 -10
  138. package/components/search-box/index.esm.js +79 -240
  139. package/components/search-box/index.umd.cjs +1 -1
  140. package/components/section/index.esm.js +304 -289
  141. package/components/section/index.umd.cjs +2 -2
  142. package/components/smoke-detector/index.esm.js +8 -179
  143. package/components/smoke-detector/index.umd.cjs +1 -1
  144. package/components/sort-condition-editor/index.esm.js +4 -9421
  145. package/components/sort-condition-editor/index.umd.cjs +1 -427
  146. package/components/splitter/index.esm.js +142 -1171
  147. package/components/splitter/index.umd.cjs +1 -1
  148. package/components/step/index.esm.js +48 -47
  149. package/components/step/index.umd.cjs +1 -1
  150. package/components/tabs/index.esm.js +460 -513
  151. package/components/tabs/index.umd.cjs +1 -1
  152. package/components/text/index.esm.js +73 -217
  153. package/components/text/index.umd.cjs +1 -1
  154. package/components/time-picker/index.esm.js +380 -375
  155. package/components/time-picker/index.umd.cjs +1 -1
  156. package/components/tooltip/index.esm.js +40 -40
  157. package/components/tooltip/index.umd.cjs +1 -1
  158. package/components/transfer/index.esm.js +551 -771
  159. package/components/transfer/index.umd.cjs +6 -8
  160. package/components/tree-grid/index.esm.js +250 -235
  161. package/components/tree-grid/index.umd.cjs +1 -1
  162. package/components/tree-view/index.esm.js +157 -314
  163. package/components/tree-view/index.umd.cjs +1 -1
  164. package/components/uploader/index.esm.js +634 -1125
  165. package/components/uploader/index.umd.cjs +2 -2
  166. package/components/verify-detail/index.esm.js +106 -359
  167. package/components/verify-detail/index.umd.cjs +1 -1
  168. package/components/video/index.esm.js +89 -222
  169. package/components/video/index.umd.cjs +1 -1
  170. package/components/weather/index.esm.js +199 -290
  171. package/components/weather/index.umd.cjs +1 -1
  172. package/designer/accordion/index.esm.js +257 -0
  173. package/designer/accordion/index.umd.cjs +1 -0
  174. package/designer/avatar/index.esm.js +227 -0
  175. package/designer/avatar/index.umd.cjs +1 -0
  176. package/designer/binding-selector/index.esm.js +792 -0
  177. package/designer/binding-selector/index.umd.cjs +1 -0
  178. package/designer/button-edit/index.esm.js +210 -203
  179. package/designer/button-edit/index.umd.cjs +1 -1
  180. package/designer/button-group/index.esm.js +282 -0
  181. package/designer/button-group/index.umd.cjs +1 -0
  182. package/designer/checkbox/index.esm.js +51 -45
  183. package/designer/checkbox/index.umd.cjs +1 -1
  184. package/designer/checkbox-group/index.esm.js +89 -83
  185. package/designer/checkbox-group/index.umd.cjs +1 -1
  186. package/designer/code-editor/index.esm.js +75 -0
  187. package/designer/code-editor/index.umd.cjs +1 -0
  188. package/designer/color-picker/index.esm.js +1096 -0
  189. package/designer/color-picker/index.umd.cjs +1 -0
  190. package/designer/combo-list/index.esm.js +1095 -0
  191. package/designer/combo-list/index.umd.cjs +1 -0
  192. package/designer/combo-tree/index.esm.js +186 -0
  193. package/designer/combo-tree/index.umd.cjs +1 -0
  194. package/designer/component/index.css +1 -0
  195. package/designer/component/index.esm.js +5002 -0
  196. package/designer/component/index.umd.cjs +1 -0
  197. package/designer/condition/index.esm.js +1899 -0
  198. package/designer/condition/index.umd.cjs +1 -0
  199. package/designer/data-grid/index.esm.js +5580 -6213
  200. package/designer/data-grid/index.umd.cjs +10 -17
  201. package/designer/data-view/index.esm.js +212 -191
  202. package/designer/data-view/index.umd.cjs +2 -2
  203. package/designer/date-picker/index.esm.js +621 -607
  204. package/designer/date-picker/index.umd.cjs +1 -1
  205. package/designer/drawer/index.css +1 -1
  206. package/designer/drawer/index.esm.js +869 -620
  207. package/designer/drawer/index.umd.cjs +2 -2
  208. package/designer/dropdown/index.esm.js +261 -0
  209. package/designer/dropdown/index.umd.cjs +1 -0
  210. package/designer/dynamic-form/index.esm.js +1166 -1384
  211. package/designer/dynamic-form/index.umd.cjs +1 -8
  212. package/designer/expression-editor/index.css +1 -0
  213. package/designer/expression-editor/index.esm.js +7006 -0
  214. package/designer/expression-editor/index.umd.cjs +427 -0
  215. package/designer/farris-designer.all.esm.js +10309 -10617
  216. package/designer/farris-designer.all.umd.cjs +17 -19
  217. package/designer/filter-condition-editor/index.css +1 -0
  218. package/designer/filter-condition-editor/index.esm.js +4795 -0
  219. package/designer/filter-condition-editor/index.umd.cjs +1 -0
  220. package/designer/html-template/index.esm.js +718 -0
  221. package/designer/html-template/index.umd.cjs +1 -0
  222. package/designer/image-cropper/index.esm.js +765 -0
  223. package/designer/image-cropper/index.umd.cjs +1 -0
  224. package/designer/index.css +1 -1
  225. package/designer/input-group/index.esm.js +72 -66
  226. package/designer/input-group/index.umd.cjs +1 -1
  227. package/designer/json-editor/index.esm.js +83 -0
  228. package/designer/json-editor/index.umd.cjs +1 -0
  229. package/designer/language-textbox/index.esm.js +783 -0
  230. package/designer/language-textbox/index.umd.cjs +8 -0
  231. package/designer/layout/index.esm.js +430 -0
  232. package/designer/layout/index.umd.cjs +1 -0
  233. package/designer/list-nav/index.esm.js +802 -0
  234. package/designer/list-nav/index.umd.cjs +1 -0
  235. package/designer/list-view/index.esm.js +864 -844
  236. package/designer/list-view/index.umd.cjs +7 -9
  237. package/designer/lookup/index.esm.js +2083 -0
  238. package/designer/lookup/index.umd.cjs +1 -0
  239. package/designer/menu-lookup/index.esm.js +46 -0
  240. package/designer/menu-lookup/index.umd.cjs +1 -0
  241. package/designer/modal/index.esm.js +137 -29
  242. package/designer/modal/index.umd.cjs +1 -1
  243. package/designer/nav/index.esm.js +284 -0
  244. package/designer/nav/index.umd.cjs +1 -0
  245. package/designer/number-range/index.esm.js +1616 -0
  246. package/designer/number-range/index.umd.cjs +1 -0
  247. package/designer/number-spinner/index.esm.js +19 -17
  248. package/designer/number-spinner/index.umd.cjs +1 -1
  249. package/designer/order/index.css +1 -0
  250. package/designer/order/index.esm.js +2196 -0
  251. package/designer/order/index.umd.cjs +18 -0
  252. package/designer/page-footer/index.esm.js +290 -0
  253. package/designer/page-footer/index.umd.cjs +1 -0
  254. package/designer/page-header/index.esm.js +1003 -0
  255. package/designer/page-header/index.umd.cjs +1 -0
  256. package/designer/pagination/index.esm.js +591 -0
  257. package/designer/pagination/index.umd.cjs +1 -0
  258. package/designer/progress/index.esm.js +213 -0
  259. package/designer/progress/index.umd.cjs +1 -0
  260. package/designer/radio-group/index.esm.js +978 -949
  261. package/designer/radio-group/index.umd.cjs +1 -1
  262. package/designer/response-layout-editor/index.esm.js +1 -1
  263. package/designer/response-layout-editor/index.umd.cjs +1 -1
  264. package/designer/response-toolbar/index.esm.js +1471 -1416
  265. package/designer/response-toolbar/index.umd.cjs +1 -1
  266. package/designer/search-box/index.esm.js +245 -0
  267. package/designer/search-box/index.umd.cjs +1 -0
  268. package/designer/section/index.esm.js +83 -78
  269. package/designer/section/index.umd.cjs +1 -1
  270. package/designer/smoke-detector/index.css +1 -0
  271. package/designer/smoke-detector/index.esm.js +178 -0
  272. package/designer/smoke-detector/index.umd.cjs +1 -0
  273. package/designer/sort-condition-editor/index.esm.js +138 -0
  274. package/designer/sort-condition-editor/index.umd.cjs +1 -0
  275. package/designer/splitter/index.esm.js +1120 -0
  276. package/designer/splitter/index.umd.cjs +1 -0
  277. package/designer/step/index.esm.js +226 -0
  278. package/designer/step/index.umd.cjs +1 -0
  279. package/designer/switch/index.esm.js +10 -10
  280. package/designer/switch/index.umd.cjs +1 -1
  281. package/designer/tabs/index.css +1 -1
  282. package/designer/tabs/index.esm.js +2447 -2698
  283. package/designer/tabs/index.umd.cjs +2 -2
  284. package/designer/text/index.esm.js +147 -0
  285. package/designer/text/index.umd.cjs +1 -0
  286. package/designer/time-picker/index.esm.js +101 -100
  287. package/designer/time-picker/index.umd.cjs +1 -1
  288. package/designer/transfer/index.esm.js +254 -0
  289. package/designer/transfer/index.umd.cjs +1 -0
  290. package/designer/tree-grid/index.esm.js +473 -810
  291. package/designer/tree-grid/index.umd.cjs +1 -1
  292. package/designer/tree-view/index.esm.js +313 -0
  293. package/designer/tree-view/index.umd.cjs +1 -0
  294. package/designer/uploader/index.esm.js +1190 -0
  295. package/designer/uploader/index.umd.cjs +2 -0
  296. package/designer/verify-detail/index.esm.js +258 -0
  297. package/designer/verify-detail/index.umd.cjs +1 -0
  298. package/designer/video/index.esm.js +136 -0
  299. package/designer/video/index.umd.cjs +1 -0
  300. package/designer/weather/index.css +1 -0
  301. package/designer/weather/index.esm.js +6244 -0
  302. package/designer/weather/index.umd.cjs +14 -0
  303. package/farris.all.esm.js +69941 -70514
  304. package/farris.all.umd.cjs +117 -117
  305. package/index.css +1 -1
  306. package/locales/filter-bar/ui/en.json +2 -1
  307. package/locales/filter-bar/ui/zh-CHS.json +2 -1
  308. package/locales/filter-bar/ui/zh-CHT.json +2 -1
  309. package/locales/query-solution/ui/en.json +1 -1
  310. package/locales/query-solution/ui/zh-CHS.json +1 -1
  311. package/locales/query-solution/ui/zh-CHT.json +1 -1
  312. package/locales/ui/en.json +3 -2
  313. package/locales/ui/zh-CHS.json +3 -2
  314. package/locales/ui/zh-CHT.json +3 -2
  315. package/package.json +1 -1
  316. package/types/accordion/designer.d.ts +44 -0
  317. package/types/accordion/src/accordion.props.d.ts +0 -1
  318. package/types/accordion/src/components/accordion-item.props.d.ts +0 -1
  319. package/types/avatar/designer.d.ts +29 -0
  320. package/types/avatar/src/avatar.props.d.ts +0 -1
  321. package/types/avatar/src/property-config/avatar.property-config.d.ts +1 -1
  322. package/types/{expression-editor/index.d.ts → binding-selector/designer.d.ts} +6 -6
  323. package/types/binding-selector/index.d.ts +0 -54
  324. package/types/binding-selector/src/binding-selector.props.d.ts +0 -1
  325. package/types/button-group/designer.d.ts +29 -0
  326. package/types/button-group/index.d.ts +15 -0
  327. package/types/button-group/src/button-group.props.d.ts +0 -1
  328. package/types/calendar/src/calendar.props.d.ts +1 -0
  329. package/types/calendar/src/components/month/month-view.component.d.ts +6 -6
  330. package/types/calendar/src/composition/use-calendar-events.d.ts +1 -1
  331. package/types/calendar/src/composition/use-locales.d.ts +1 -0
  332. package/types/calendar/src/property-config/calendar.property-config.d.ts +2 -0
  333. package/types/capsule/src/capsule-item.component.d.ts +6 -6
  334. package/types/checkbox/designer.d.ts +2 -0
  335. package/types/checkbox-group/designer.d.ts +2 -0
  336. package/types/code-editor/designer.d.ts +5 -0
  337. package/types/code-editor/index.d.ts +0 -1
  338. package/types/code-editor/src/code-textbox.component.d.ts +6 -6
  339. package/types/code-editor/src/code-textbox.props.d.ts +0 -2
  340. package/types/color-picker/designer.d.ts +29 -0
  341. package/types/color-picker/index.d.ts +0 -15
  342. package/types/color-picker/src/color-picker.props.d.ts +0 -1
  343. package/types/combo-list/designer.d.ts +29 -0
  344. package/types/combo-list/src/combo-list.props.d.ts +1 -0
  345. package/types/combo-list/src/designer/combo-list.design.props.d.ts +6 -0
  346. package/types/combo-tree/designer.d.ts +5 -0
  347. package/types/combo-tree/src/combo-tree.props.d.ts +0 -1
  348. package/types/combo-tree/src/components/tree-container.component.d.ts +7 -7
  349. package/types/comment/src/comment.props.d.ts +4 -0
  350. package/types/comment/src/designer/comment.design.props.d.ts +4 -0
  351. package/types/common/index.d.ts +1 -0
  352. package/types/common/utils/use-mobile.d.ts +1 -0
  353. package/types/component/designer.d.ts +35 -0
  354. package/types/component/index.d.ts +0 -2
  355. package/types/component/src/component.props.d.ts +0 -8
  356. package/types/component/src/composition/field-tree-builder.d.ts +1 -0
  357. package/types/components.d.ts +2 -6
  358. package/types/condition/designer.d.ts +56 -0
  359. package/types/condition/index.d.ts +0 -55
  360. package/types/content-container/index.d.ts +3 -2
  361. package/types/content-container/src/content-container.props.d.ts +1 -0
  362. package/types/data-grid/designer.d.ts +2 -0
  363. package/types/data-grid/index.d.ts +5 -2
  364. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  365. package/types/data-grid/src/designer/grid-field-editor.props.d.ts +1 -0
  366. package/types/data-view/composition/types.d.ts +7 -1
  367. package/types/data-view/composition/use-mobile.d.ts +3 -0
  368. package/types/data-view/designer/property-config/use-command-option.d.ts +11 -0
  369. package/types/data-view/index.d.ts +1 -0
  370. package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +3 -3
  371. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -0
  372. package/types/designer-outline/src/designer-outline.component.d.ts +3 -3
  373. package/types/designer-outline/src/types.d.ts +5 -1
  374. package/types/drawer/designer.d.ts +12 -0
  375. package/types/drawer/src/designer/drawer-toolbar.design.props.d.ts +12 -0
  376. package/types/drawer/src/designer/drawer.design.component.d.ts +8 -0
  377. package/types/drawer/src/designer/drawer.design.props.d.ts +4 -0
  378. package/types/drawer/src/schema/schema-mapper.d.ts +1 -0
  379. package/types/drawer/src/schema/schema-resolver.d.ts +1 -0
  380. package/types/dropdown/designer.d.ts +6 -0
  381. package/types/dropdown/index.d.ts +27 -6
  382. package/types/dropdown/src/dropdown.item.component.d.ts +2 -2
  383. package/types/dropdown/src/dropdown.props.d.ts +0 -1
  384. package/types/dynamic-form/designer.d.ts +3 -1
  385. package/types/dynamic-form/index.d.ts +4 -3
  386. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +6 -6
  387. package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +11 -0
  388. package/types/dynamic-resolver/index.d.ts +3 -0
  389. package/types/dynamic-resolver/src/props-resolver.d.ts +2 -0
  390. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver-design.d.ts +1 -1
  391. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver.d.ts +1 -1
  392. package/types/dynamic-resolver/src/resolver/property-config/use-property-config-resolver.d.ts +2 -2
  393. package/types/dynamic-resolver/src/resolver/schema/schema-resolver-design.d.ts +1 -1
  394. package/types/dynamic-resolver/src/resolver/schema/schema-resolver.d.ts +1 -1
  395. package/types/dynamic-view/src/components/maps.d.ts +883 -1
  396. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  397. package/types/dynamic-view/src/types.d.ts +4 -0
  398. package/types/expression-editor/designer.d.ts +9 -0
  399. package/types/field-selector/index.d.ts +2 -1
  400. package/types/fieldset/index.d.ts +3 -2
  401. package/types/fieldset/src/fieldset.props.d.ts +1 -0
  402. package/types/filter-bar/src/composition/types.d.ts +1 -1
  403. package/types/filter-bar/src/composition/use-size.d.ts +2 -2
  404. package/types/filter-bar/src/locale/locale.d.ts +1 -0
  405. package/types/filter-condition-editor/designer.d.ts +10 -0
  406. package/types/filter-condition-editor/index.d.ts +0 -9
  407. package/types/filter-condition-editor/src/components/filter-condition-grid.component.d.ts +12 -12
  408. package/types/filter-condition-editor/src/components/sort-editor-grid.component.d.ts +12 -12
  409. package/types/filter-condition-editor/src/filter-condition-editor.props.d.ts +0 -1
  410. package/types/html-template/designer.d.ts +31 -0
  411. package/types/html-template/src/designer/html-template.design.props.d.ts +9 -0
  412. package/types/html-template/src/html-template.props.d.ts +2 -0
  413. package/types/image-cropper/designer.d.ts +4 -0
  414. package/types/image-cropper/src/image-cropper.props.d.ts +0 -1
  415. package/types/index.d.ts +0 -1
  416. package/types/input-group/designer.d.ts +2 -0
  417. package/types/json-editor/designer.d.ts +5 -0
  418. package/types/json-editor/src/components/editable-combo/editable-combo.component.d.ts +3 -3
  419. package/types/json-editor/src/components/editable-combo/popup-container.component.d.ts +3 -3
  420. package/types/json-editor/src/json-editor.props.d.ts +0 -1
  421. package/types/language-textbox/index.d.ts +6 -6
  422. package/types/language-textbox/src/language-textbox.component.d.ts +2 -2
  423. package/types/language-textbox/src/language-textbox.props.d.ts +1 -0
  424. package/types/layout/index.d.ts +1 -0
  425. package/types/layout/src/components/layout-pane.props.d.ts +0 -1
  426. package/types/layout/src/layout.props.d.ts +0 -1
  427. package/types/list-nav/index.d.ts +24 -5
  428. package/types/list-nav/src/list-nav.props.d.ts +0 -1
  429. package/types/list-view/index.d.ts +1 -0
  430. package/types/list-view/src/composition/use-draggable.d.ts +1 -1
  431. package/types/list-view/src/designer/list-view.design.props.d.ts +1 -0
  432. package/types/list-view/src/list-view-table.props.d.ts +1 -0
  433. package/types/loading/index.d.ts +6 -6
  434. package/types/loading/src/loading.component.d.ts +3 -3
  435. package/types/lookup/index.d.ts +1 -1
  436. package/types/lookup/src/components/popup-container.component.d.ts +6 -6
  437. package/types/lookup/src/lookup.props.d.ts +1 -0
  438. package/types/lookup/src/property-config/external-lookup.property-config.d.ts +1 -0
  439. package/types/lookup/src/property-config/lookup.property-config.d.ts +1 -0
  440. package/types/menu-lookup/designer.d.ts +5 -0
  441. package/types/menu-lookup/src/menu-lookup.props.d.ts +0 -1
  442. package/types/message-box/index.d.ts +6 -6
  443. package/types/message-box/src/message-box.component.d.ts +3 -3
  444. package/types/modal/designer.d.ts +2 -0
  445. package/types/modal/index.d.ts +30 -24
  446. package/types/modal/src/modal.component.d.ts +15 -12
  447. package/types/modal/src/modal.props.d.ts +4 -0
  448. package/types/nav/designer.d.ts +6 -0
  449. package/types/nav/index.d.ts +24 -20
  450. package/types/nav/src/nav.props.d.ts +0 -1
  451. package/types/notify/index.d.ts +3 -3
  452. package/types/notify/src/notify.component.d.ts +2 -2
  453. package/types/number-range/designer.d.ts +29 -0
  454. package/types/number-range/src/number-range.props.d.ts +0 -1
  455. package/types/number-spinner/src/composition/types.d.ts +1 -0
  456. package/types/order/designer.d.ts +6 -0
  457. package/types/order/index.d.ts +36 -5
  458. package/types/order/src/designer/order.design.component.d.ts +1 -1
  459. package/types/order/src/order.props.d.ts +0 -1
  460. package/types/page-footer/designer.d.ts +6 -0
  461. package/types/page-footer/index.d.ts +0 -2
  462. package/types/page-footer/src/page-footer.props.d.ts +0 -1
  463. package/types/page-header/index.d.ts +3 -2
  464. package/types/page-header/src/designer/page-header.design.props.d.ts +20 -0
  465. package/types/page-header/src/page-header.props.d.ts +2 -0
  466. package/types/pagination/designer.d.ts +29 -0
  467. package/types/pagination/index.d.ts +15 -0
  468. package/types/pagination/src/pagination.props.d.ts +0 -1
  469. package/types/popover/index.d.ts +3 -3
  470. package/types/popover/src/composition/use-resize.d.ts +1 -1
  471. package/types/popover/src/popover.component.d.ts +2 -2
  472. package/types/progress/designer.d.ts +29 -0
  473. package/types/progress/src/progress.props.d.ts +0 -1
  474. package/types/property-panel/src/property-panel.component.d.ts +3 -3
  475. package/types/query-solution/index.d.ts +4 -4
  476. package/types/query-solution/src/composition/types.d.ts +8 -2
  477. package/types/query-solution/src/composition/use-header.d.ts +2 -2
  478. package/types/query-solution/src/composition/use-solution-utils.d.ts +1 -1
  479. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
  480. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -0
  481. package/types/query-solution/src/designer/solution-preset-config/solution-preset.props.d.ts +1 -0
  482. package/types/query-solution/src/query-solution.props.d.ts +1 -0
  483. package/types/radio-group/designer.d.ts +4 -1
  484. package/types/radio-group/src/designer/item-collection-editor.props.d.ts +1 -0
  485. package/types/response-layout/index.d.ts +3 -2
  486. package/types/response-layout/src/component/response-layout-item.props.d.ts +1 -0
  487. package/types/response-layout/src/property-config/response-layout-splitter/response-layout-splitter.props.d.ts +1 -0
  488. package/types/response-layout/src/response-layout.props.d.ts +1 -0
  489. package/types/response-toolbar/designer.d.ts +2 -1
  490. package/types/response-toolbar/src/designer/response-toolbar.design.props.d.ts +1 -0
  491. package/types/search-box/designer.d.ts +52 -0
  492. package/types/search-box/index.d.ts +1 -17
  493. package/types/search-box/src/components/search-box-container.component.d.ts +3 -3
  494. package/types/search-box/src/search-box.props.d.ts +0 -1
  495. package/types/section/designer.d.ts +1 -0
  496. package/types/smoke-detector/designer.d.ts +6 -0
  497. package/types/smoke-detector/index.d.ts +0 -2
  498. package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -1
  499. package/types/sort-condition-editor/designer.d.ts +9 -0
  500. package/types/sort-condition-editor/index.d.ts +2 -7
  501. package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +0 -1
  502. package/types/splitter/designer.d.ts +32 -0
  503. package/types/splitter/index.d.ts +1 -0
  504. package/types/splitter/src/components/splitter-pane.props.d.ts +0 -1
  505. package/types/splitter/src/splitter.props.d.ts +0 -1
  506. package/types/step/designer.d.ts +6 -0
  507. package/types/tabs/designer.d.ts +1 -0
  508. package/types/tabs/index.d.ts +0 -1
  509. package/types/tabs/src/composition/types.d.ts +1 -0
  510. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +1 -0
  511. package/types/tags/index.d.ts +3 -3
  512. package/types/tags/src/tags.component.d.ts +1 -1
  513. package/types/text/designer.d.ts +6 -0
  514. package/types/text/index.d.ts +24 -20
  515. package/types/text/src/text.props.d.ts +0 -1
  516. package/types/time-picker/src/components/time.component.d.ts +3 -3
  517. package/types/transfer/designer.d.ts +35 -0
  518. package/types/transfer/src/transfer.props.d.ts +0 -1
  519. package/types/tree-view/designer.d.ts +29 -0
  520. package/types/tree-view/src/tree-view.props.d.ts +0 -1
  521. package/types/uploader/designer.d.ts +141 -0
  522. package/types/uploader/index.d.ts +6 -6
  523. package/types/uploader/src/components/upload-progress.component.d.ts +3 -3
  524. package/types/uploader/src/uploader.component.d.ts +3 -3
  525. package/types/uploader/src/uploader.props.d.ts +0 -1
  526. package/types/verify-detail/designer.d.ts +6 -0
  527. package/types/verify-detail/index.d.ts +58 -5
  528. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
  529. package/types/verify-detail/src/verify-detail.props.d.ts +0 -1
  530. package/types/video/designer.d.ts +6 -0
  531. package/types/video/index.d.ts +24 -20
  532. package/types/video/src/video.props.d.ts +0 -1
  533. package/components/sort-condition-editor/index.css +0 -1
  534. package/package.zip +0 -0
  535. package/types/designer-toolbox/index.d.ts +0 -3
  536. package/types/designer-toolbox/src/toolbox.component.d.ts +0 -14
  537. package/types/designer-toolbox/src/toolbox.props.d.ts +0 -29
  538. package/types/designer-toolbox/src/types.d.ts +0 -21
  539. package/types/designer.d.ts +0 -13
  540. package/types/flow-canvas/index.d.ts +0 -3
  541. package/types/flow-canvas/src/components/flow-node-item.component.d.ts +0 -8
  542. package/types/flow-canvas/src/components/flow-node-item.props.d.ts +0 -3
  543. package/types/flow-canvas/src/composition/types.d.ts +0 -42
  544. package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +0 -2
  545. package/types/flow-canvas/src/composition/use-connections.d.ts +0 -2
  546. package/types/flow-canvas/src/composition/use-curve.d.ts +0 -4
  547. package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +0 -2
  548. package/types/flow-canvas/src/composition/use-drawing.d.ts +0 -4
  549. package/types/flow-canvas/src/flow-canvas.component.d.ts +0 -8
  550. package/types/flow-canvas/src/flow-canvas.props.d.ts +0 -3
  551. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +0 -2
  552. package/types/layout/src/designer/layout-pane.design.component.d.ts +0 -8
  553. package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -2
  554. package/types/layout/src/designer/layout.design.component.d.ts +0 -8
  555. package/types/layout/src/schema/schema-mapper.d.ts +0 -2
  556. package/types/layout/src/schema/schema-resolver.d.ts +0 -2
  557. package/types/list-nav/src/designer/use-designer-rules.d.ts +0 -2
  558. package/types/list-nav/src/property-config/list-nav.property-config.d.ts +0 -8
  559. package/types/list-nav/src/schema/schema-mapper.d.ts +0 -2
  560. package/types/list-nav/src/schema/schema-resolver.d.ts +0 -2
  561. /package/{components → designer}/condition/index.css +0 -0
  562. /package/{components → designer}/uploader/index.css +0 -0
  563. /package/types/{list-nav/src/designer/list-nav.design.component.d.ts → dynamic-form/src/component/form-control/form-control.component.d.ts} +0 -0
@@ -1,18 +1,18 @@
1
1
  var Kt = Object.defineProperty;
2
2
  var en = (e, t, n) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Pe = (e, t, n) => en(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as P, computed as _, defineComponent as de, watch as qe, onUnmounted as tn, createVNode as u, withDirectives as nn, createTextVNode as q, resolveDirective as sn, resolveComponent as on, onMounted as $e, mergeProps as rn, inject as Ae } from "vue";
3
+ var ke = (e, t, n) => en(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { ref as P, computed as H, defineComponent as de, watch as qe, onUnmounted as tn, createVNode as d, withDirectives as nn, createTextVNode as q, resolveDirective as sn, resolveComponent as rn, onMounted as $e, mergeProps as on, inject as Ae } from "vue";
5
5
  import { isPlainObject as Ye, cloneDeep as Ce, debounce as an } from "lodash-es";
6
6
  import { getSchemaByType as ln, createPropsResolver as cn } from "../dynamic-resolver/index.esm.js";
7
7
  import { DgControl as un, useDesignerComponent as dn } from "../designer-canvas/index.esm.js";
8
- import { useGuid as mn, getCustomClass as oe, getCustomStyle as re, useDateFormat as fn, withInstall as pn } from "../common/index.esm.js";
8
+ import { useGuid as mn, getCustomClass as re, getCustomStyle as oe, useDateFormat as fn, withInstall as pn } from "../common/index.esm.js";
9
9
  import { FNotifyService as gn } from "../notify/index.esm.js";
10
10
  import { createI18n as hn, useI18n as yn } from "vue-i18n";
11
11
  import bn from "../popover/index.esm.js";
12
12
  import vn from "../input-group/index.esm.js";
13
13
  import Cn from "../pagination/index.esm.js";
14
- import { BaseControlProperty as xn } from "../property-panel/index.esm.js";
15
- const Sn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-design.gitee.io/comment.schema.json", wn = "comment", En = "A Farris Component", Dn = "object", On = {
14
+ import { BaseControlProperty as Sn } from "../property-panel/index.esm.js";
15
+ const xn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-design.gitee.io/comment.schema.json", wn = "comment", En = "A Farris Component", Dn = "object", On = {
16
16
  id: {
17
17
  description: "The unique identifier for comment",
18
18
  type: "string"
@@ -78,168 +78,90 @@ const Sn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-
78
78
  type: "boolean",
79
79
  default: !0
80
80
  }
81
- }, kn = [
81
+ }, Pn = [
82
82
  "id",
83
83
  "type"
84
- ], Pn = {
84
+ ], kn = {
85
85
  onValueChange: "提交评论事件",
86
86
  onQueryFrequentAtUsers: "加载常用@人员事件",
87
87
  onQueryComments: "获取评论"
88
88
  }, ft = {
89
- $schema: Sn,
89
+ $schema: xn,
90
90
  $id: Tn,
91
91
  title: wn,
92
92
  description: En,
93
93
  type: Dn,
94
94
  properties: On,
95
- required: kn,
96
- events: Pn
95
+ required: Pn,
96
+ events: kn
97
97
  };
98
- function pt(e, t) {
99
- let n;
100
- function s(c) {
101
- const { properties: h, title: b, ignore: a } = c, g = a && Array.isArray(a), p = Object.keys(h).reduce((v, T) => ((!g || !a.find((w) => w === T)) && (v[T] = h[T].type === "object" && h[T].properties ? s(h[T]) : Ce(h[T].default)), v), {});
102
- if (b && (!g || !a.find((v) => v === "id"))) {
103
- const v = b.toLowerCase().replace(/-/g, "_");
104
- p.id = `${v}_${Math.random().toString().slice(2, 6)}`;
105
- }
106
- return p;
107
- }
108
- function o(c) {
109
- const { properties: h, title: b, required: a } = c;
110
- if (a && Array.isArray(a)) {
111
- const g = a.reduce((p, v) => (p[v] = h[v].type === "object" && h[v].properties ? s(h[v]) : Ce(h[v].default), p), {});
112
- if (b && a.find((p) => p === "id")) {
113
- const p = b.toLowerCase().replace(/-/g, "_");
114
- g.id = `${p}_${Math.random().toString().slice(2, 6)}`;
115
- }
116
- return g;
117
- }
118
- return {
119
- type: b
120
- };
121
- }
122
- function i(c, h = {}, b) {
123
- const a = e[c];
124
- if (a) {
125
- let g = o(a);
126
- const p = t[c];
127
- return g = p ? p({ getSchemaByType: i }, g, h, b) : g, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(g), g;
128
- }
129
- return null;
130
- }
131
- function r(c, h) {
132
- const b = s(h);
133
- return Object.keys(b).reduce((a, g) => (Object.prototype.hasOwnProperty.call(c, g) && (a[g] && Ye(a[g]) && Ye(c[g] || !c[g]) ? Object.assign(a[g], c[g] || {}) : a[g] = c[g]), a), b), b;
134
- }
135
- function d(c, h) {
136
- return Object.keys(c).filter((a) => c[a] != null).reduce((a, g) => {
137
- if (h.has(g)) {
138
- const p = h.get(g);
139
- if (typeof p == "string")
140
- a[p] = c[g];
141
- else {
142
- const v = p(g, c[g], c);
143
- Object.assign(a, v);
144
- }
145
- } else
146
- a[g] = c[g];
147
- return a;
148
- }, {});
149
- }
150
- function y(c, h, b = /* @__PURE__ */ new Map()) {
151
- const a = r(c, h);
152
- return d(a, b);
153
- }
154
- function m(c) {
155
- var b;
156
- const h = c.type;
157
- if (h) {
158
- const a = e[h];
159
- if (!a)
160
- return c;
161
- const g = r(c, a), p = ((b = c.editor) == null ? void 0 : b.type) || "";
162
- if (p) {
163
- const v = e[p], T = r(c.editor, v);
164
- g.editor = T;
165
- }
166
- return g;
167
- }
168
- return c;
169
- }
170
- function l(c) {
171
- n = c;
172
- }
173
- return { getSchemaByType: i, resolveSchemaWithDefaultValue: m, resolveSchemaToProps: y, mappingSchemaToProps: d, setDesignerContext: l };
174
- }
175
- const gt = {}, ht = {}, { resolveSchemaWithDefaultValue: Fn, resolveSchemaToProps: Rn, mappingSchemaToProps: Ln } = pt(gt, ht);
176
- function An(e = {}) {
177
- function t(m, l, c, h) {
178
- if (typeof c == "number")
179
- return h[m].length === c;
180
- if (typeof c == "object") {
181
- const b = Object.keys(c)[0], a = c[b];
98
+ function Fn(e = {}) {
99
+ function t(f, l, u, h) {
100
+ if (typeof u == "number")
101
+ return h[f].length === u;
102
+ if (typeof u == "object") {
103
+ const b = Object.keys(u)[0], a = u[b];
182
104
  if (b === "not")
183
- return Number(h[m].length) !== Number(a);
105
+ return Number(h[f].length) !== Number(a);
184
106
  if (b === "moreThan")
185
- return Number(h[m].length) >= Number(a);
107
+ return Number(h[f].length) >= Number(a);
186
108
  if (b === "lessThan")
187
- return Number(h[m].length) <= Number(a);
109
+ return Number(h[f].length) <= Number(a);
188
110
  }
189
111
  return !1;
190
112
  }
191
- function n(m, l, c, h) {
192
- return h[m] && h[m].propertyValue && String(h[m].propertyValue.value) === String(c);
113
+ function n(f, l, u, h) {
114
+ return h[f] && h[f].propertyValue && String(h[f].propertyValue.value) === String(u);
193
115
  }
194
116
  const s = /* @__PURE__ */ new Map([
195
117
  ["length", t],
196
118
  ["getProperty", n]
197
119
  ]);
198
- Object.keys(e).reduce((m, l) => (m.set(l, e[l]), m), s);
199
- function o(m, l) {
200
- const c = m;
201
- return typeof l == "number" ? [{ target: c, operator: "length", param: null, value: Number(l) }] : typeof l == "boolean" ? [{ target: c, operator: "getProperty", param: m, value: !!l }] : typeof l == "object" ? Object.keys(l).map((h) => {
120
+ Object.keys(e).reduce((f, l) => (f.set(l, e[l]), f), s);
121
+ function r(f, l) {
122
+ const u = f;
123
+ return typeof l == "number" ? [{ target: u, operator: "length", param: null, value: Number(l) }] : typeof l == "boolean" ? [{ target: u, operator: "getProperty", param: f, value: !!l }] : typeof l == "object" ? Object.keys(l).map((h) => {
202
124
  if (h === "length")
203
- return { target: c, operator: "length", param: null, value: l[h] };
125
+ return { target: u, operator: "length", param: null, value: l[h] };
204
126
  const b = h, a = l[h];
205
- return { target: c, operator: "getProperty", param: b, value: a };
127
+ return { target: u, operator: "getProperty", param: b, value: a };
206
128
  }) : [];
207
129
  }
208
- function i(m) {
209
- return Object.keys(m).reduce((c, h) => {
210
- const b = o(h, m[h]);
211
- return c.push(...b), c;
130
+ function i(f) {
131
+ return Object.keys(f).reduce((u, h) => {
132
+ const b = r(h, f[h]);
133
+ return u.push(...b), u;
212
134
  }, []);
213
135
  }
214
- function r(m, l) {
215
- if (s.has(m.operator)) {
216
- const c = s.get(m.operator);
217
- return c && c(m.target, m.param, m.value, l) || !1;
136
+ function o(f, l) {
137
+ if (s.has(f.operator)) {
138
+ const u = s.get(f.operator);
139
+ return u && u(f.target, f.param, f.value, l) || !1;
218
140
  }
219
141
  return !1;
220
142
  }
221
- function d(m, l) {
222
- return i(m).reduce((b, a) => b && r(a, l), !0);
143
+ function c(f, l) {
144
+ return i(f).reduce((b, a) => b && o(a, l), !0);
223
145
  }
224
- function y(m, l) {
225
- const c = Object.keys(m), h = c.includes("allOf"), b = c.includes("anyOf"), a = h || b, v = (a ? m[a ? h ? "allOf" : "anyOf" : "allOf"] : [m]).map((w) => d(w, l));
226
- return h ? !v.includes(!1) : v.includes(!0);
146
+ function y(f, l) {
147
+ const u = Object.keys(f), h = u.includes("allOf"), b = u.includes("anyOf"), a = h || b, C = (a ? f[a ? h ? "allOf" : "anyOf" : "allOf"] : [f]).map((w) => c(w, l));
148
+ return h ? !C.includes(!1) : C.includes(!0);
227
149
  }
228
150
  return { parseValueSchema: y };
229
151
  }
230
- const Mn = {
152
+ const Rn = {
231
153
  convertTo: (e, t, n, s) => {
232
154
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
233
155
  },
234
156
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
235
- }, Nn = {
157
+ }, Ln = {
236
158
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
237
- }, Bn = {
159
+ }, An = {
238
160
  convertTo: (e, t, n, s) => {
239
161
  e.editor && (e.editor[t] = n);
240
162
  },
241
163
  convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
242
- }, In = {
164
+ }, Mn = {
243
165
  button: { type: "button", name: "按钮" },
244
166
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
245
167
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -266,6 +188,7 @@ const Mn = {
266
188
  tabs: { type: "tabs", name: "标签页" },
267
189
  "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
268
190
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮" },
191
+ "drawer-toolbar-item": { type: "drawer-toolbar-item", name: "抽屉工具栏按钮" },
269
192
  "html-template": { type: "html-template", name: "模板容器" },
270
193
  "time-picker": { type: "time-picker", name: "时间选择" },
271
194
  section: { type: "section", name: "分组面板" },
@@ -278,6 +201,7 @@ const Mn = {
278
201
  "page-header": { type: "page-header", name: "页头" },
279
202
  "page-footer": { type: "page-footer", name: "页脚" },
280
203
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏" },
204
+ "drawer-toolbar": { type: "drawer-toolbar", name: "抽屉工具栏" },
281
205
  fieldset: { type: "fieldset", name: "分组" },
282
206
  "query-solution": { type: "query-solution", name: "筛选方案" },
283
207
  drawer: { type: "drawer", name: "抽屉" },
@@ -290,20 +214,20 @@ const Mn = {
290
214
  "discussion-editor": { type: "discussion-editor", name: "评论编辑区" },
291
215
  "discussion-list": { type: "discussion-list", name: "评论列表" },
292
216
  comment: { type: "comment", name: "评论区" },
293
- "rich-text-editor": { type: "rich-text-editor", name: "富文本编辑器", icon: "rich-text-box" },
217
+ "rich-text-editor": { type: "rich-text-editor", name: "富文本", icon: "rich-text-box" },
294
218
  calendar: { type: "calendar", name: "日历", icon: "date-picker" }
295
- }, Un = {
219
+ }, Nn = {
296
220
  convertFrom: (e, t, n) => {
297
- var o;
221
+ var r;
298
222
  const s = e.editor && e.editor[t] ? e.editor[t] : e[t];
299
- return ((o = In[s]) == null ? void 0 : o.name) || s;
223
+ return ((r = Mn[s]) == null ? void 0 : r.name) || s;
300
224
  }
301
- }, jn = {
225
+ }, Bn = {
302
226
  convertTo: (e, t, n, s) => {
303
227
  e[t] = e[t];
304
228
  },
305
229
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
306
- }, qn = {
230
+ }, In = {
307
231
  convertTo: (e, t, n, s) => {
308
232
  (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = n : e.formatter = {
309
233
  [t]: n
@@ -334,7 +258,7 @@ const Mn = {
334
258
  }
335
259
  return "none";
336
260
  }
337
- }, $n = {
261
+ }, Un = {
338
262
  convertTo: (e, t, n, s) => {
339
263
  e.command ? e.command[t] = n : e.command = {
340
264
  [t]: n
@@ -352,36 +276,50 @@ const Mn = {
352
276
  ]), t === "enableType" && n === "custom" && (e.command.enable = !0, e.command.commands = [
353
277
  {
354
278
  value: "add",
355
- text: "增加",
279
+ text: {
280
+ en: "add",
281
+ "zh-CHS": "增加",
282
+ "zh-CHT": "增加"
283
+ },
356
284
  type: "link"
357
285
  },
358
286
  {
359
287
  value: "edit",
360
- text: "编辑",
288
+ text: {
289
+ en: "edit",
290
+ "zh-CHS": "编辑",
291
+ "zh-CHT": "編輯"
292
+ },
361
293
  type: "danger"
362
294
  },
363
295
  {
364
296
  value: "remove",
365
- text: "删除",
297
+ text: {
298
+ en: "remove",
299
+ "zh-CHS": "删除",
300
+ "zh-CHT": "刪除"
301
+ },
366
302
  type: "remove"
367
303
  }
368
304
  ]), t === "enableType" && n === "unable" && (e.command.enable = !1);
369
305
  },
370
306
  convertFrom: (e, t, n) => {
371
- var s, o;
307
+ var s, r;
372
308
  if (e.command) {
373
309
  if (t === "enableType") {
374
- const i = (o = (s = e.command) == null ? void 0 : s.commands) == null ? void 0 : o.find((r) => r.command === "edit" && r.type === "primary");
310
+ const i = (r = (s = e.command) == null ? void 0 : s.commands) == null ? void 0 : r.find((o) => o.command === "edit" && o.type === "primary");
375
311
  return e.command.enable ? i ? "default" : "custom" : "unable";
376
312
  }
377
313
  if (t === "commands")
378
314
  return e.command.enableType === "custom" ? e.command.commands : [];
379
315
  if (t === "formatter")
380
316
  return e.command.formatter;
317
+ if (t === "count")
318
+ return e.command.count;
381
319
  }
382
320
  return "";
383
321
  }
384
- }, Vn = {
322
+ }, qn = {
385
323
  convertTo: (e, t, n, s) => {
386
324
  e.column ? e.column[t] = n : e.column = {
387
325
  [t]: n
@@ -396,7 +334,7 @@ const Mn = {
396
334
  }
397
335
  return "";
398
336
  }
399
- }, _n = {
337
+ }, $n = {
400
338
  convertTo: (e, t, n, s) => {
401
339
  e.summary ? e.summary[t] = n : e.summary = {
402
340
  [t]: n
@@ -406,7 +344,7 @@ const Mn = {
406
344
  });
407
345
  },
408
346
  convertFrom: (e, t, n) => e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : ""
409
- }, Hn = {
347
+ }, jn = {
410
348
  convertTo: (e, t, n, s) => {
411
349
  e.group ? e.group[t] = n : e.group = {
412
350
  [t]: n
@@ -424,7 +362,7 @@ const Mn = {
424
362
  return e.group.showSummary;
425
363
  }
426
364
  }
427
- }, Wn = {
365
+ }, Vn = {
428
366
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
429
367
  convertTo: (e, t, n) => {
430
368
  if (n && n.length > 0) {
@@ -432,53 +370,53 @@ const Mn = {
432
370
  e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = s.bindingField, e.binding.field = s.id, e.binding.fullPath = s.path, e.path = s.bindingPath;
433
371
  }
434
372
  }
435
- }, zn = {
373
+ }, Hn = {
436
374
  convertTo: (e, t, n, s) => {
437
375
  e.pagination || (e.pagination = {}), e.pagination[t] = n;
438
376
  },
439
377
  convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
440
- }, Jn = {
378
+ }, _n = {
441
379
  convertTo: (e, t, n, s) => {
442
380
  e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = n;
443
381
  },
444
382
  convertFrom: (e, t, n) => e.rowNumber ? e.rowNumber[t] : e[t]
445
- }, Yn = {
383
+ }, Wn = {
446
384
  convertTo: (e, t, n, s) => {
447
385
  e.selection || (e.selection = {}), e.selection[t] = n;
448
386
  },
449
387
  convertFrom: (e, t, n) => {
450
- var s, o;
451
- return t === "showCheckbox" ? (s = e.selection) != null && s.multiSelect ? !0 : (o = e.selection) == null ? void 0 : o.showCheckbox : e.selection ? e.selection[t] : e[t];
388
+ var s, r;
389
+ return t === "showCheckbox" ? (s = e.selection) != null && s.multiSelect ? !0 : (r = e.selection) == null ? void 0 : r.showCheckbox : e.selection ? e.selection[t] : e[t];
452
390
  }
453
- }, Gn = {
391
+ }, zn = {
454
392
  convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
455
- }, Qn = {
393
+ }, Jn = {
456
394
  convertFrom: (e, t) => e[t] || "",
457
395
  convertTo: (e, t, n) => {
458
396
  e[t] = n;
459
397
  }
460
- }, Xn = {
398
+ }, Yn = {
461
399
  convertTo: (e, t, n, s) => {
462
400
  e.size || (e.size = {}), e.size[t] = n;
463
401
  },
464
402
  convertFrom: (e, t, n) => e.size ? e.size[t] : e[t]
465
- }, Zn = {
403
+ }, Gn = {
466
404
  convertFrom: (e, t, n) => {
467
- var s, o;
468
- return (s = e.formatter) != null && s.data && t === "formatterEnumData" && !e.formatterEnumData ? (o = e.formatter) == null ? void 0 : o.data : e.formatterEnumData;
405
+ var s, r;
406
+ return (s = e.formatter) != null && s.data && t === "formatterEnumData" && !e.formatterEnumData ? (r = e.formatter) == null ? void 0 : r.data : e.formatterEnumData;
469
407
  }
470
- }, Kn = {
408
+ }, Qn = {
471
409
  convertTo: (e, t, n, s) => {
472
410
  e.sort || (e.sort = {}), e.sort[t] = n;
473
411
  },
474
412
  convertFrom: (e, t, n) => {
475
- var s, o;
413
+ var s, r;
476
414
  if (t === "mode")
477
415
  return ((s = e.sort) == null ? void 0 : s.mode) || "client";
478
416
  if (t === "multiSort")
479
- return !!((o = e.sort) != null && o.multiSort);
417
+ return !!((r = e.sort) != null && r.multiSort);
480
418
  }
481
- }, es = {
419
+ }, Xn = {
482
420
  convertTo: (e, t, n, s) => {
483
421
  e.filter || (e.filter = {}), e.filter[t] = n;
484
422
  },
@@ -487,7 +425,7 @@ const Mn = {
487
425
  if (t === "mode")
488
426
  return ((s = e.filter) == null ? void 0 : s.mode) || "client";
489
427
  }
490
- }, ts = {
428
+ }, Zn = {
491
429
  convertTo: (e, t, n, s) => {
492
430
  e.rowOption ? e.rowOption[t] = n : e.rowOption = {
493
431
  [t]: n
@@ -502,7 +440,7 @@ const Mn = {
502
440
  }
503
441
  return "";
504
442
  }
505
- }, ns = {
443
+ }, Kn = {
506
444
  convertTo: (e, t, n, s) => {
507
445
  (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e[t] = n, t === "columnTemplateType" && n === "hyperlink" && (e.onClickLinkCommand ? e.columnTemplate = `
508
446
  <span class="f-pretend-link f-cursor-pointer"
@@ -515,31 +453,31 @@ const Mn = {
515
453
  },
516
454
  convertFrom: (e, t, n) => t === "columnTemplate" ? e.columnTemplate : t === "columnTemplateType" ? e.columnTemplateType ? e.columnTemplateType || "default" : e.columnTemplate && !e.onClickLinkCommand ? "custom" : e.columnTemplate && e.onClickLinkCommand ? "hyperlink" : "default" : ""
517
455
  };
518
- function yt(e, t, n) {
456
+ function pt(e, t, n) {
519
457
  const s = /* @__PURE__ */ new Map([
520
- ["/converter/appearance.converter", Mn],
521
- ["/converter/buttons.converter", Nn],
522
- ["/converter/property-editor.converter", Bn],
523
- ["/converter/items-count.converter", Gn],
524
- ["/converter/type.converter", Un],
525
- ["/converter/change-editor.converter", jn],
526
- ["/converter/change-formatter.converter", qn],
527
- ["/converter/column-command.converter", $n],
528
- ["/converter/column-option.converter", Vn],
529
- ["/converter/summary.converter", _n],
530
- ["/converter/group.converter", Hn],
531
- ["/converter/form-group-label.converter", Qn],
532
- ["/converter/field-selector.converter", Wn],
533
- ["/converter/pagination.converter", zn],
534
- ["/converter/row-number.converter", Jn],
535
- ["/converter/grid-selection.converter", Yn],
536
- ["/converter/size.converter", Xn],
537
- ["/converter/change-formatter-enum.converter", Zn],
538
- ["/converter/grid-sort.converter", Kn],
539
- ["/converter/grid-filter.converter", es],
540
- ["/converter/row-option.converter", ts],
541
- ["/converter/change-formatter-type.converter", ns]
542
- ]), o = /* @__PURE__ */ new Map([
458
+ ["/converter/appearance.converter", Rn],
459
+ ["/converter/buttons.converter", Ln],
460
+ ["/converter/property-editor.converter", An],
461
+ ["/converter/items-count.converter", zn],
462
+ ["/converter/type.converter", Nn],
463
+ ["/converter/change-editor.converter", Bn],
464
+ ["/converter/change-formatter.converter", In],
465
+ ["/converter/column-command.converter", Un],
466
+ ["/converter/column-option.converter", qn],
467
+ ["/converter/summary.converter", $n],
468
+ ["/converter/group.converter", jn],
469
+ ["/converter/form-group-label.converter", Jn],
470
+ ["/converter/field-selector.converter", Vn],
471
+ ["/converter/pagination.converter", Hn],
472
+ ["/converter/row-number.converter", _n],
473
+ ["/converter/grid-selection.converter", Wn],
474
+ ["/converter/size.converter", Yn],
475
+ ["/converter/change-formatter-enum.converter", Gn],
476
+ ["/converter/grid-sort.converter", Qn],
477
+ ["/converter/grid-filter.converter", Xn],
478
+ ["/converter/row-option.converter", Zn],
479
+ ["/converter/change-formatter-type.converter", Kn]
480
+ ]), r = /* @__PURE__ */ new Map([
543
481
  ["string", { type: "input-group", enableClear: !1 }],
544
482
  ["boolean", {
545
483
  type: "combo-list",
@@ -563,149 +501,226 @@ function yt(e, t, n) {
563
501
  ["array", { type: "button-edit" }],
564
502
  ["number", { type: "number-spinner", placeholder: "" }],
565
503
  ["events-editor", { type: "events-editor", hide: !0 }]
566
- ]), i = An();
567
- function r(a, g) {
504
+ ]), i = Fn();
505
+ function o(a, g) {
568
506
  return () => i.parseValueSchema(a, g);
569
507
  }
570
- function d(a, g, p) {
571
- return a.includes("visible") && g.visible !== void 0 ? typeof g.visible == "boolean" ? () => !!g.visible : g.visible === void 0 ? !0 : r(g.visible, p) : () => !0;
508
+ function c(a, g, p) {
509
+ return a.includes("visible") && g.visible !== void 0 ? typeof g.visible == "boolean" ? () => !!g.visible : g.visible === void 0 ? !0 : o(g.visible, p) : () => !0;
572
510
  }
573
511
  function y(a, g, p) {
574
- return a.includes("readonly") && g.readonly !== void 0 ? typeof g.readonly == "boolean" ? () => !!g.readonly : r(g.readonly, p) : () => !1;
512
+ return a.includes("readonly") && g.readonly !== void 0 ? typeof g.readonly == "boolean" ? () => !!g.readonly : o(g.readonly, p) : () => !1;
575
513
  }
576
- function m(a, g) {
514
+ function f(a, g) {
577
515
  const p = a.$converter || g;
578
516
  return typeof p == "string" && p && s.has(p) ? s.get(p) || null : p || null;
579
517
  }
580
- function l(a, g, p, v, T, w = "", k = "") {
581
- return Object.keys(a).map((O) => {
582
- const F = P(1), L = O, S = a[O], x = Object.keys(S), N = S.title, I = S.type, B = o.get(I) || { type: "input-group", enableClear: !1 }, A = S.editor ? Object.assign({}, B, S.editor) : Object.assign({}, B), Q = d(x, S, g), U = y(x, S, g);
583
- A.readonly = A.readonly === void 0 ? U() : A.readonly;
584
- const X = S.type === "cascade" ? l(S.properties, g, p, v, T, w, k) : [], H = !0;
585
- let W = m(S, k);
586
- const D = _({
518
+ function l(a, g, p, C, x, w = "", O = "") {
519
+ return Object.keys(a).map((D) => {
520
+ const F = P(1), U = D, k = a[D], v = Object.keys(k), L = k.title, N = k.type, B = r.get(N) || { type: "input-group", enableClear: !1 }, M = k.editor ? Object.assign({}, B, k.editor) : Object.assign({}, B), Y = c(v, k, g), I = y(v, k, g);
521
+ M.readonly = M.readonly === void 0 ? I() : M.readonly;
522
+ const X = k.type === "cascade" ? l(k.properties, g, p, C, x, w, O) : [], $ = !0;
523
+ let _ = f(k, O);
524
+ const ce = H({
587
525
  get() {
588
526
  if (F.value) {
589
- if (["class", "style"].find((Zt) => Zt === L) && !W && (W = s.get("/converter/appearance.converter") || null), W && W.convertFrom)
590
- return W.convertFrom(p, O, T, w);
591
- const K = p[O];
592
- return Object.prototype.hasOwnProperty.call(S, "defaultValue") && (K === void 0 || typeof K == "string" && K === "") ? S.type === "boolean" ? S.defaultValue : S.defaultValue || "" : K;
527
+ if (["class", "style"].find((Zt) => Zt === U) && !_ && (_ = s.get("/converter/appearance.converter") || null), _ && _.convertFrom)
528
+ return _.convertFrom(p, D, x, w);
529
+ const K = p[D];
530
+ return Object.prototype.hasOwnProperty.call(k, "defaultValue") && (K === void 0 || typeof K == "string" && K === "") ? k.type === "boolean" ? k.defaultValue : k.defaultValue || "" : K;
593
531
  }
594
532
  return null;
595
533
  },
596
534
  set(K) {
597
- F.value += 1, W && W.convertTo ? (W.convertTo(v, O, K, T, w), W.convertTo(p, O, K, T, w)) : (v[O] = K, p[O] = K);
535
+ F.value += 1, _ && _.convertTo ? (_.convertTo(C, D, K, x, w), _.convertTo(p, D, K, x, w)) : (C[D] = K, p[D] = K);
598
536
  }
599
- }), { refreshPanelAfterChanged: j, description: $, isExpand: Y, parentPropertyID: ee } = S, ce = { propertyID: L, propertyName: N, propertyType: I, propertyValue: D, editor: A, visible: Q, readonly: U, cascadeConfig: X, hideCascadeTitle: H, refreshPanelAfterChanged: j, description: $, isExpand: Y, parentPropertyID: ee };
600
- return g[L] = ce, ce;
537
+ }), { refreshPanelAfterChanged: T, description: j, isExpand: W, parentPropertyID: G } = k, se = { propertyID: U, propertyName: L, propertyType: N, propertyValue: ce, editor: M, visible: Y, readonly: I, cascadeConfig: X, hideCascadeTitle: $, refreshPanelAfterChanged: T, description: j, isExpand: W, parentPropertyID: G };
538
+ return g[U] = se, se;
601
539
  });
602
540
  }
603
- function c(a, g, p = {}) {
604
- const v = {}, T = e[a];
605
- return T && T.categories ? Object.keys(T.categories).map((k) => {
606
- const C = T.categories[k], O = C == null ? void 0 : C.title, F = l(C.properties || {}, v, {}, p, g);
607
- return { categoryId: k, categoryName: O, properties: F };
541
+ function u(a, g, p = {}) {
542
+ const C = {}, x = e[a];
543
+ return x && x.categories ? Object.keys(x.categories).map((O) => {
544
+ const S = x.categories[O], D = S == null ? void 0 : S.title, F = l(S.properties || {}, C, {}, p, g);
545
+ return { categoryId: O, categoryName: D, properties: F };
608
546
  }) : [];
609
547
  }
610
- function h(a, g, p, v, T = "") {
611
- const w = g.$ref.schema, k = g.$ref.converter, C = p[w], O = C.type, F = n(C), L = {}, S = e[O];
612
- if (S && S.categories) {
613
- const x = S.categories[a], N = x == null ? void 0 : x.title;
614
- k && Object.keys(x.properties).forEach((A) => {
615
- x.properties[A].$converter = k;
548
+ function h(a, g, p, C, x = "") {
549
+ const w = g.$ref.schema, O = g.$ref.converter, S = p[w], D = S.type, F = n(S), U = {}, k = e[D];
550
+ if (k && k.categories) {
551
+ const v = k.categories[a], L = v == null ? void 0 : v.title;
552
+ O && Object.keys(v.properties).forEach((M) => {
553
+ v.properties[M].$converter = O;
616
554
  });
617
- const I = (x == null ? void 0 : x.properties) || {}, B = l(I, L, F, C, v, T);
618
- return { categoryId: a, categoryName: N, properties: B };
555
+ const N = (v == null ? void 0 : v.properties) || {}, B = l(N, U, F, S, C, x);
556
+ return { categoryId: a, categoryName: L, properties: B };
619
557
  }
620
558
  return { categoryId: a, categoryName: "", properties: [] };
621
559
  }
622
- function b(a, g, p, v, T) {
623
- const w = a.type, k = n(a), C = {};
624
- let O = T || e[w];
625
- if (O && Object.keys(O).length === 0 && p && p.getPropConfig && (O = p.getPropConfig(v)), O && O.categories) {
626
- const F = [];
627
- return Object.keys(O.categories).map((L) => {
628
- const S = O.categories[L];
629
- if (S.$ref) {
630
- F.push(h(L, S, a, g, v));
560
+ function b(a, g, p, C, x) {
561
+ const w = a.type, O = n(a), S = {};
562
+ let D = x || e[w];
563
+ if (!(D && Object.keys(D).length > 0) && p && p.getPropConfig && (D = p.getPropConfig(C)), D && D.categories) {
564
+ const U = [];
565
+ return Object.keys(D.categories).map((k) => {
566
+ const v = D.categories[k];
567
+ if (v.$ref) {
568
+ U.push(h(k, v, a, g, C));
631
569
  return;
632
570
  }
633
- const x = S == null ? void 0 : S.title, N = S == null ? void 0 : S.tabId, I = S == null ? void 0 : S.tabName, B = S == null ? void 0 : S.hide, A = S == null ? void 0 : S.hideTitle, Q = l(S.properties || {}, C, k, a, g, v, S.$converter), { setPropertyRelates: U } = S, X = S == null ? void 0 : S.parentPropertyID;
634
- F.push({ categoryId: L, categoryName: x, tabId: N, tabName: I, hide: B, properties: Q, hideTitle: A, setPropertyRelates: U, parentPropertyID: X });
635
- }), F;
571
+ const L = v == null ? void 0 : v.title, N = v == null ? void 0 : v.tabId, B = v == null ? void 0 : v.tabName, M = v == null ? void 0 : v.hide, Y = v == null ? void 0 : v.hideTitle, I = l(v.properties || {}, S, O, a, g, C, v.$converter), { setPropertyRelates: X } = v, $ = v == null ? void 0 : v.parentPropertyID;
572
+ U.push({ categoryId: k, categoryName: L, tabId: N, tabName: B, hide: M, properties: I, hideTitle: Y, setPropertyRelates: X, parentPropertyID: $ });
573
+ }), U;
636
574
  }
637
575
  return [];
638
576
  }
639
577
  return {
640
578
  getPropertyConfigBySchema: b,
641
- getPropertyConfigByType: c,
579
+ getPropertyConfigByType: u,
642
580
  propertyConverterMap: s
643
581
  };
644
582
  }
645
- const bt = {}, vt = {};
646
- yt(bt, vt, Fn);
647
- const Ct = {}, xt = {}, { resolveSchemaWithDefaultValue: ss } = pt(Ct, xt), St = {}, Tt = {};
648
- yt(St, Tt, ss);
649
- function os(e, t, n = /* @__PURE__ */ new Map(), s = (r, d, y, m) => d, o = {}, i = (r) => r) {
650
- return gt[t.title] = t, ht[t.title] = s, bt[t.title] = o, vt[t.title] = i, Ct[t.title] = t, xt[t.title] = s, St[t.title] = o, Tt[t.title] = i, (r = {}, d = !0) => {
651
- if (!d)
652
- return Ln(r, n);
653
- const y = Rn(r, t, n), m = Object.keys(e).reduce((l, c) => (l[c] = e[c].default, l), {});
654
- return Object.assign(m, y);
583
+ function gt(e, t) {
584
+ let n;
585
+ function s(u) {
586
+ const { properties: h, title: b, ignore: a } = u, g = a && Array.isArray(a), p = Object.keys(h).reduce((C, x) => ((!g || !a.find((w) => w === x)) && (C[x] = h[x].type === "object" && h[x].properties ? s(h[x]) : Ce(h[x].default)), C), {});
587
+ if (b && (!g || !a.find((C) => C === "id"))) {
588
+ const C = b.toLowerCase().replace(/-/g, "_");
589
+ p.id = `${C}_${Math.random().toString().slice(2, 6)}`;
590
+ }
591
+ return p;
592
+ }
593
+ function r(u) {
594
+ const { properties: h, title: b, required: a } = u;
595
+ if (a && Array.isArray(a)) {
596
+ const g = a.reduce((p, C) => (p[C] = h[C].type === "object" && h[C].properties ? s(h[C]) : Ce(h[C].default), p), {});
597
+ if (b && a.find((p) => p === "id")) {
598
+ const p = b.toLowerCase().replace(/-/g, "_");
599
+ g.id = `${p}_${Math.random().toString().slice(2, 6)}`;
600
+ }
601
+ return g;
602
+ }
603
+ return {
604
+ type: b
605
+ };
606
+ }
607
+ function i(u, h = {}, b) {
608
+ const a = e[u];
609
+ if (a) {
610
+ let g = r(a);
611
+ const p = t[u];
612
+ return g = p ? p({ getSchemaByType: i }, g, h, b) : g, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(g), g;
613
+ }
614
+ return null;
615
+ }
616
+ function o(u, h) {
617
+ const b = s(h);
618
+ return Object.keys(b).reduce((a, g) => (Object.prototype.hasOwnProperty.call(u, g) && (a[g] && Ye(a[g]) && Ye(u[g] || !u[g]) ? Object.assign(a[g], u[g] || {}) : a[g] = u[g]), a), b), b;
619
+ }
620
+ function c(u, h) {
621
+ return Object.keys(u).filter((a) => u[a] != null).reduce((a, g) => {
622
+ if (h.has(g)) {
623
+ const p = h.get(g);
624
+ if (typeof p == "string")
625
+ a[p] = u[g];
626
+ else {
627
+ const C = p(g, u[g], u);
628
+ Object.assign(a, C);
629
+ }
630
+ } else
631
+ a[g] = u[g];
632
+ return a;
633
+ }, {});
634
+ }
635
+ function y(u, h, b = /* @__PURE__ */ new Map()) {
636
+ const a = o(u, h);
637
+ return c(a, b);
638
+ }
639
+ function f(u) {
640
+ var b;
641
+ const h = u.type;
642
+ if (h) {
643
+ const a = e[h];
644
+ if (!a)
645
+ return u;
646
+ const g = o(u, a), p = ((b = u.editor) == null ? void 0 : b.type) || "";
647
+ if (p) {
648
+ const C = e[p], x = o(u.editor, C);
649
+ g.editor = x;
650
+ }
651
+ return g;
652
+ }
653
+ return u;
654
+ }
655
+ function l(u) {
656
+ n = u;
657
+ }
658
+ return { getSchemaByType: i, resolveSchemaWithDefaultValue: f, resolveSchemaToProps: y, mappingSchemaToProps: c, setDesignerContext: l };
659
+ }
660
+ const ht = {}, yt = {}, { resolveSchemaWithDefaultValue: es } = gt(ht, yt), bt = {}, vt = {};
661
+ pt(bt, vt, es);
662
+ const Ct = {}, St = {}, { resolveSchemaWithDefaultValue: ts, resolveSchemaToProps: ns, mappingSchemaToProps: ss } = gt(Ct, St), xt = {}, Tt = {};
663
+ pt(xt, Tt, ts);
664
+ function rs(e, t, n = /* @__PURE__ */ new Map(), s = (o, c, y, f) => c, r = {}, i = (o) => o) {
665
+ return Ct[t.title] = t, St[t.title] = s, xt[t.title] = r, Tt[t.title] = i, ht[t.title] = t, yt[t.title] = s, bt[t.title] = r, vt[t.title] = i, (o = {}, c = !0) => {
666
+ if (!c)
667
+ return ss(o, n);
668
+ const y = ns(o, t, n), f = Object.keys(e).reduce((l, u) => (l[u] = e[u].default, l), {});
669
+ return Object.assign(f, y);
655
670
  };
656
671
  }
657
- function rs(e, t) {
672
+ function os(e, t) {
658
673
  return { customClass: t.class, customStyle: t.style };
659
674
  }
660
675
  const wt = /* @__PURE__ */ new Map([
661
- ["appearance", rs]
676
+ ["appearance", os]
662
677
  ]);
663
678
  function is(e, t) {
664
- const n = t == null ? void 0 : t.formSchemaUtils, s = e.parentComponentInstance, o = "7690ac62-f2fd-43aa-96a2-973f0d450f82";
679
+ const n = t == null ? void 0 : t.formSchemaUtils, s = e.parentComponentInstance, r = "7690ac62-f2fd-43aa-96a2-973f0d450f82";
665
680
  function i() {
666
681
  const l = ln(un.comment.type);
667
682
  if (!l)
668
683
  return;
669
- const c = Math.random().toString(36).substr(2, 4);
684
+ const u = Math.random().toString(36).substr(2, 4);
670
685
  return Object.assign(l, {
671
- id: "comment-" + c,
686
+ id: "comment-" + u,
672
687
  personSearchUrl: "/api/runtime/comment/v1.0/bill-comment/atUser"
673
688
  }), { comment: l };
674
689
  }
675
- function r(l, c) {
690
+ function o(l, u) {
676
691
  let h;
677
692
  if (l && l.commands) {
678
- let b = l.commands.find((a) => a.handlerName === c.handlerName && a.cmpId === o);
693
+ let b = l.commands.find((a) => a.handlerName === u.handlerName && a.cmpId === r);
679
694
  return b ? b.params && b.params.length && b.params.forEach((a) => a.value = "") : (h = mn().guid(), b = {
680
695
  id: h,
681
- code: `${l.id.replace(/-/g, "").replace("component", "").replace("viewmodel", "")}${c.handlerName}1`,
682
- name: c.name,
683
- params: c.params,
684
- handlerName: c.handlerName,
685
- cmpId: o
696
+ code: `${l.id.replace(/-/g, "").replace("component", "").replace("viewmodel", "")}${u.handlerName}1`,
697
+ name: u.name,
698
+ params: u.params,
699
+ handlerName: u.handlerName,
700
+ cmpId: r
686
701
  }, l.commands.push(b)), { commandId: h, commandCode: b.code };
687
702
  }
688
703
  return { commandId: "", commandCode: "" };
689
704
  }
690
- function d(l, c) {
705
+ function c(l, u) {
691
706
  const h = n.getCommands();
692
707
  if (h) {
693
- let b = h.find((a) => a.id === o);
708
+ let b = h.find((a) => a.id === r);
694
709
  b || (b = {
695
- id: o,
710
+ id: r,
696
711
  path: "Gsp/Web/WebCmp/bo-webcmp/metadata/webcmd-vue",
697
712
  name: "DiscussionController.webcmd",
698
713
  refedHandlers: []
699
714
  }, n.getCommands().push(b)), l && b.refedHandlers.push(
700
715
  {
701
716
  host: l,
702
- handler: c
717
+ handler: u
703
718
  }
704
719
  );
705
720
  }
706
721
  }
707
722
  function y(l) {
708
- const c = s.belongedComponentId, h = n.getViewModelIdByComponentId(c), b = n.getViewModelById(h);
723
+ const u = s.belongedComponentId, h = n.getViewModelIdByComponentId(u), b = n.getViewModelById(h);
709
724
  [
710
725
  {
711
726
  handlerName: "createComment",
@@ -758,27 +773,27 @@ function is(e, t) {
758
773
  emitEvent: "onQueryComments"
759
774
  }
760
775
  ].forEach((g) => {
761
- const { commandId: p, commandCode: v } = r(b, g);
762
- v && (l[g.emitEvent] = v), p && d(p, g.handlerName);
776
+ const { commandId: p, commandCode: C } = o(b, g);
777
+ C && (l[g.emitEvent] = C), p && c(p, g.handlerName);
763
778
  });
764
779
  }
765
- function m() {
780
+ function f() {
766
781
  const { comment: l } = i();
767
782
  y(l);
768
- const c = t == null ? void 0 : t.useFormCommand;
769
- return c && c.checkCommands(), l;
783
+ const u = t == null ? void 0 : t.useFormCommand;
784
+ return u && u.checkCommands(), l;
770
785
  }
771
- return { createComment: m };
786
+ return { createComment: f };
772
787
  }
773
788
  function Et(e, t, n, s) {
774
789
  if (n.parentComponentInstance && s) {
775
- const r = is(n, s).createComment();
776
- if (r)
777
- return r;
790
+ const o = is(n, s).createComment();
791
+ if (o)
792
+ return o;
778
793
  }
779
794
  return t;
780
795
  }
781
- const Ve = {
796
+ const je = {
782
797
  /** 发表评论的取消按钮是否可见 */
783
798
  cancelVisible: { Type: Boolean, default: !0 },
784
799
  /** @人员时,区分人员的标识 */
@@ -832,7 +847,7 @@ const Ve = {
832
847
  customStyle: { type: String, default: "" },
833
848
  /** 控制是否可见 */
834
849
  visible: { type: Boolean, default: !0 }
835
- }, _e = Object.assign({}, Ve, Dt, {
850
+ }, Ve = Object.assign({}, je, Dt, {
836
851
  customClass: { type: String, default: "" },
837
852
  /** 讨论区编辑器样式 */
838
853
  editorClass: { type: String, default: "" },
@@ -841,8 +856,9 @@ const Ve = {
841
856
  /** 讨论区列表样式 */
842
857
  listClass: { type: String, default: "" },
843
858
  listStyle: { type: String, default: "" },
844
- listVisible: { type: Boolean, default: !0 }
845
- }), as = cn(_e, ft, wt, Et);
859
+ listVisible: { type: Boolean, default: !0 },
860
+ visible: { type: Boolean, default: !0 }
861
+ }), as = cn(Ve, ft, wt, Et);
846
862
  var Me = /* @__PURE__ */ ((e) => (e[e.Cancel = 0] = "Cancel", e[e.Confirm = 1] = "Confirm", e))(Me || {});
847
863
  const ls = "F_COMMENT_LIST_SERVICE_TOKEN", Ge = "zh-CHS", cs = {
848
864
  locale: Ge,
@@ -854,23 +870,23 @@ function Ot(e, t) {
854
870
  return e.apply(t, arguments);
855
871
  };
856
872
  }
857
- const { toString: us } = Object.prototype, { getPrototypeOf: He } = Object, { iterator: we, toStringTag: kt } = Symbol, Ee = /* @__PURE__ */ ((e) => (t) => {
873
+ const { toString: us } = Object.prototype, { getPrototypeOf: He } = Object, { iterator: we, toStringTag: Pt } = Symbol, Ee = /* @__PURE__ */ ((e) => (t) => {
858
874
  const n = us.call(t);
859
875
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
860
- })(/* @__PURE__ */ Object.create(null)), G = (e) => (e = e.toLowerCase(), (t) => Ee(t) === e), De = (e) => (t) => typeof t === e, { isArray: ae } = Array, ie = De("undefined");
876
+ })(/* @__PURE__ */ Object.create(null)), Q = (e) => (e = e.toLowerCase(), (t) => Ee(t) === e), De = (e) => (t) => typeof t === e, { isArray: ae } = Array, ie = De("undefined");
861
877
  function me(e) {
862
878
  return e !== null && !ie(e) && e.constructor !== null && !ie(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
863
879
  }
864
- const Pt = G("ArrayBuffer");
880
+ const kt = Q("ArrayBuffer");
865
881
  function ds(e) {
866
882
  let t;
867
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Pt(e.buffer), t;
883
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && kt(e.buffer), t;
868
884
  }
869
885
  const ms = De("string"), z = De("function"), Ft = De("number"), fe = (e) => e !== null && typeof e == "object", fs = (e) => e === !0 || e === !1, ye = (e) => {
870
886
  if (Ee(e) !== "object")
871
887
  return !1;
872
888
  const t = He(e);
873
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(kt in e) && !(we in e);
889
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Pt in e) && !(we in e);
874
890
  }, ps = (e) => {
875
891
  if (!fe(e) || me(e))
876
892
  return !1;
@@ -879,25 +895,25 @@ const ms = De("string"), z = De("function"), Ft = De("number"), fe = (e) => e !=
879
895
  } catch {
880
896
  return !1;
881
897
  }
882
- }, gs = G("Date"), hs = G("File"), ys = G("Blob"), bs = G("FileList"), vs = (e) => fe(e) && z(e.pipe), Cs = (e) => {
898
+ }, gs = Q("Date"), hs = Q("File"), ys = Q("Blob"), bs = Q("FileList"), vs = (e) => fe(e) && z(e.pipe), Cs = (e) => {
883
899
  let t;
884
900
  return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((t = Ee(e)) === "formdata" || // detect form-data instance
885
901
  t === "object" && z(e.toString) && e.toString() === "[object FormData]"));
886
- }, xs = G("URLSearchParams"), [Ss, Ts, ws, Es] = ["ReadableStream", "Request", "Response", "Headers"].map(G), Ds = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
902
+ }, Ss = Q("URLSearchParams"), [xs, Ts, ws, Es] = ["ReadableStream", "Request", "Response", "Headers"].map(Q), Ds = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
887
903
  function pe(e, t, { allOwnKeys: n = !1 } = {}) {
888
904
  if (e === null || typeof e > "u")
889
905
  return;
890
- let s, o;
906
+ let s, r;
891
907
  if (typeof e != "object" && (e = [e]), ae(e))
892
- for (s = 0, o = e.length; s < o; s++)
908
+ for (s = 0, r = e.length; s < r; s++)
893
909
  t.call(null, e[s], s, e);
894
910
  else {
895
911
  if (me(e))
896
912
  return;
897
- const i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), r = i.length;
898
- let d;
899
- for (s = 0; s < r; s++)
900
- d = i[s], t.call(null, e[d], d, e);
913
+ const i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), o = i.length;
914
+ let c;
915
+ for (s = 0; s < o; s++)
916
+ c = i[s], t.call(null, e[c], c, e);
901
917
  }
902
918
  }
903
919
  function Rt(e, t) {
@@ -905,35 +921,35 @@ function Rt(e, t) {
905
921
  return null;
906
922
  t = t.toLowerCase();
907
923
  const n = Object.keys(e);
908
- let s = n.length, o;
924
+ let s = n.length, r;
909
925
  for (; s-- > 0; )
910
- if (o = n[s], t === o.toLowerCase())
911
- return o;
926
+ if (r = n[s], t === r.toLowerCase())
927
+ return r;
912
928
  return null;
913
929
  }
914
- const te = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Lt = (e) => !ie(e) && e !== te;
930
+ const ee = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Lt = (e) => !ie(e) && e !== ee;
915
931
  function Ne() {
916
- const { caseless: e, skipUndefined: t } = Lt(this) && this || {}, n = {}, s = (o, i) => {
917
- const r = e && Rt(n, i) || i;
918
- ye(n[r]) && ye(o) ? n[r] = Ne(n[r], o) : ye(o) ? n[r] = Ne({}, o) : ae(o) ? n[r] = o.slice() : (!t || !ie(o)) && (n[r] = o);
932
+ const { caseless: e, skipUndefined: t } = Lt(this) && this || {}, n = {}, s = (r, i) => {
933
+ const o = e && Rt(n, i) || i;
934
+ ye(n[o]) && ye(r) ? n[o] = Ne(n[o], r) : ye(r) ? n[o] = Ne({}, r) : ae(r) ? n[o] = r.slice() : (!t || !ie(r)) && (n[o] = r);
919
935
  };
920
- for (let o = 0, i = arguments.length; o < i; o++)
921
- arguments[o] && pe(arguments[o], s);
936
+ for (let r = 0, i = arguments.length; r < i; r++)
937
+ arguments[r] && pe(arguments[r], s);
922
938
  return n;
923
939
  }
924
- const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (o, i) => {
925
- n && z(o) ? e[i] = Ot(o, n) : e[i] = o;
926
- }, { allOwnKeys: s }), e), ks = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ps = (e, t, n, s) => {
940
+ const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (r, i) => {
941
+ n && z(r) ? e[i] = Ot(r, n) : e[i] = r;
942
+ }, { allOwnKeys: s }), e), Ps = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ks = (e, t, n, s) => {
927
943
  e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
928
944
  value: t.prototype
929
945
  }), n && Object.assign(e.prototype, n);
930
946
  }, Fs = (e, t, n, s) => {
931
- let o, i, r;
932
- const d = {};
947
+ let r, i, o;
948
+ const c = {};
933
949
  if (t = t || {}, e == null) return t;
934
950
  do {
935
- for (o = Object.getOwnPropertyNames(e), i = o.length; i-- > 0; )
936
- r = o[i], (!s || s(r, e, t)) && !d[r] && (t[r] = e[r], d[r] = !0);
951
+ for (r = Object.getOwnPropertyNames(e), i = r.length; i-- > 0; )
952
+ o = r[i], (!s || s(o, e, t)) && !c[o] && (t[o] = e[o], c[o] = !0);
937
953
  e = n !== !1 && He(e);
938
954
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
939
955
  return t;
@@ -952,9 +968,9 @@ const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (o, i) => {
952
968
  return n;
953
969
  }, As = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && He(Uint8Array)), Ms = (e, t) => {
954
970
  const s = (e && e[we]).call(e);
955
- let o;
956
- for (; (o = s.next()) && !o.done; ) {
957
- const i = o.value;
971
+ let r;
972
+ for (; (r = s.next()) && !r.done; ) {
973
+ const i = r.value;
958
974
  t.call(e, i[0], i[1]);
959
975
  }
960
976
  }, Ns = (e, t) => {
@@ -963,18 +979,18 @@ const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (o, i) => {
963
979
  for (; (n = e.exec(t)) !== null; )
964
980
  s.push(n);
965
981
  return s;
966
- }, Bs = G("HTMLFormElement"), Is = (e) => e.toLowerCase().replace(
982
+ }, Bs = Q("HTMLFormElement"), Is = (e) => e.toLowerCase().replace(
967
983
  /[-_\s]([a-z\d])(\w*)/g,
968
- function(n, s, o) {
969
- return s.toUpperCase() + o;
984
+ function(n, s, r) {
985
+ return s.toUpperCase() + r;
970
986
  }
971
- ), Qe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Us = G("RegExp"), At = (e, t) => {
987
+ ), Qe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Us = Q("RegExp"), At = (e, t) => {
972
988
  const n = Object.getOwnPropertyDescriptors(e), s = {};
973
- pe(n, (o, i) => {
974
- let r;
975
- (r = t(o, i, e)) !== !1 && (s[i] = r || o);
989
+ pe(n, (r, i) => {
990
+ let o;
991
+ (o = t(r, i, e)) !== !1 && (s[i] = o || r);
976
992
  }), Object.defineProperties(e, s);
977
- }, js = (e) => {
993
+ }, qs = (e) => {
978
994
  At(e, (t, n) => {
979
995
  if (z(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
980
996
  return !1;
@@ -989,47 +1005,47 @@ const Os = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (o, i) => {
989
1005
  });
990
1006
  }
991
1007
  });
992
- }, qs = (e, t) => {
993
- const n = {}, s = (o) => {
994
- o.forEach((i) => {
1008
+ }, $s = (e, t) => {
1009
+ const n = {}, s = (r) => {
1010
+ r.forEach((i) => {
995
1011
  n[i] = !0;
996
1012
  });
997
1013
  };
998
1014
  return ae(e) ? s(e) : s(String(e).split(t)), n;
999
- }, $s = () => {
1015
+ }, js = () => {
1000
1016
  }, Vs = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1001
- function _s(e) {
1002
- return !!(e && z(e.append) && e[kt] === "FormData" && e[we]);
1017
+ function Hs(e) {
1018
+ return !!(e && z(e.append) && e[Pt] === "FormData" && e[we]);
1003
1019
  }
1004
- const Hs = (e) => {
1005
- const t = new Array(10), n = (s, o) => {
1020
+ const _s = (e) => {
1021
+ const t = new Array(10), n = (s, r) => {
1006
1022
  if (fe(s)) {
1007
1023
  if (t.indexOf(s) >= 0)
1008
1024
  return;
1009
1025
  if (me(s))
1010
1026
  return s;
1011
1027
  if (!("toJSON" in s)) {
1012
- t[o] = s;
1028
+ t[r] = s;
1013
1029
  const i = ae(s) ? [] : {};
1014
- return pe(s, (r, d) => {
1015
- const y = n(r, o + 1);
1016
- !ie(y) && (i[d] = y);
1017
- }), t[o] = void 0, i;
1030
+ return pe(s, (o, c) => {
1031
+ const y = n(o, r + 1);
1032
+ !ie(y) && (i[c] = y);
1033
+ }), t[r] = void 0, i;
1018
1034
  }
1019
1035
  }
1020
1036
  return s;
1021
1037
  };
1022
1038
  return n(e, 0);
1023
- }, Ws = G("AsyncFunction"), zs = (e) => e && (fe(e) || z(e)) && z(e.then) && z(e.catch), Mt = ((e, t) => e ? setImmediate : t ? ((n, s) => (te.addEventListener("message", ({ source: o, data: i }) => {
1024
- o === te && i === n && s.length && s.shift()();
1025
- }, !1), (o) => {
1026
- s.push(o), te.postMessage(n, "*");
1039
+ }, Ws = Q("AsyncFunction"), zs = (e) => e && (fe(e) || z(e)) && z(e.then) && z(e.catch), Mt = ((e, t) => e ? setImmediate : t ? ((n, s) => (ee.addEventListener("message", ({ source: r, data: i }) => {
1040
+ r === ee && i === n && s.length && s.shift()();
1041
+ }, !1), (r) => {
1042
+ s.push(r), ee.postMessage(n, "*");
1027
1043
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
1028
1044
  typeof setImmediate == "function",
1029
- z(te.postMessage)
1030
- ), Js = typeof queueMicrotask < "u" ? queueMicrotask.bind(te) : typeof process < "u" && process.nextTick || Mt, Ys = (e) => e != null && z(e[we]), f = {
1045
+ z(ee.postMessage)
1046
+ ), Js = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || Mt, Ys = (e) => e != null && z(e[we]), m = {
1031
1047
  isArray: ae,
1032
- isArrayBuffer: Pt,
1048
+ isArrayBuffer: kt,
1033
1049
  isBuffer: me,
1034
1050
  isFormData: Cs,
1035
1051
  isArrayBufferView: ds,
@@ -1039,7 +1055,7 @@ const Hs = (e) => {
1039
1055
  isObject: fe,
1040
1056
  isPlainObject: ye,
1041
1057
  isEmptyObject: ps,
1042
- isReadableStream: Ss,
1058
+ isReadableStream: xs,
1043
1059
  isRequest: Ts,
1044
1060
  isResponse: ws,
1045
1061
  isHeaders: Es,
@@ -1050,18 +1066,18 @@ const Hs = (e) => {
1050
1066
  isRegExp: Us,
1051
1067
  isFunction: z,
1052
1068
  isStream: vs,
1053
- isURLSearchParams: xs,
1069
+ isURLSearchParams: Ss,
1054
1070
  isTypedArray: As,
1055
1071
  isFileList: bs,
1056
1072
  forEach: pe,
1057
1073
  merge: Ne,
1058
1074
  extend: Os,
1059
1075
  trim: Ds,
1060
- stripBOM: ks,
1061
- inherits: Ps,
1076
+ stripBOM: Ps,
1077
+ inherits: ks,
1062
1078
  toFlatObject: Fs,
1063
1079
  kindOf: Ee,
1064
- kindOfTest: G,
1080
+ kindOfTest: Q,
1065
1081
  endsWith: Rs,
1066
1082
  toArray: Ls,
1067
1083
  forEachEntry: Ms,
@@ -1071,26 +1087,26 @@ const Hs = (e) => {
1071
1087
  hasOwnProp: Qe,
1072
1088
  // an alias to avoid ESLint no-prototype-builtins detection
1073
1089
  reduceDescriptors: At,
1074
- freezeMethods: js,
1075
- toObjectSet: qs,
1090
+ freezeMethods: qs,
1091
+ toObjectSet: $s,
1076
1092
  toCamelCase: Is,
1077
- noop: $s,
1093
+ noop: js,
1078
1094
  toFiniteNumber: Vs,
1079
1095
  findKey: Rt,
1080
- global: te,
1096
+ global: ee,
1081
1097
  isContextDefined: Lt,
1082
- isSpecCompliantForm: _s,
1083
- toJSONObject: Hs,
1098
+ isSpecCompliantForm: Hs,
1099
+ toJSONObject: _s,
1084
1100
  isAsyncFn: Ws,
1085
1101
  isThenable: zs,
1086
1102
  setImmediate: Mt,
1087
1103
  asap: Js,
1088
1104
  isIterable: Ys
1089
1105
  };
1090
- function E(e, t, n, s, o) {
1091
- 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), s && (this.request = s), o && (this.response = o, this.status = o.status ? o.status : null);
1106
+ function E(e, t, n, s, r) {
1107
+ 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), s && (this.request = s), r && (this.response = r, this.status = r.status ? r.status : null);
1092
1108
  }
1093
- f.inherits(E, Error, {
1109
+ m.inherits(E, Error, {
1094
1110
  toJSON: function() {
1095
1111
  return {
1096
1112
  // Standard
@@ -1105,7 +1121,7 @@ f.inherits(E, Error, {
1105
1121
  columnNumber: this.columnNumber,
1106
1122
  stack: this.stack,
1107
1123
  // Axios
1108
- config: f.toJSONObject(this.config),
1124
+ config: m.toJSONObject(this.config),
1109
1125
  code: this.code,
1110
1126
  status: this.status
1111
1127
  };
@@ -1131,92 +1147,92 @@ const Nt = E.prototype, Bt = {};
1131
1147
  });
1132
1148
  Object.defineProperties(E, Bt);
1133
1149
  Object.defineProperty(Nt, "isAxiosError", { value: !0 });
1134
- E.from = (e, t, n, s, o, i) => {
1135
- const r = Object.create(Nt);
1136
- f.toFlatObject(e, r, function(l) {
1150
+ E.from = (e, t, n, s, r, i) => {
1151
+ const o = Object.create(Nt);
1152
+ m.toFlatObject(e, o, function(l) {
1137
1153
  return l !== Error.prototype;
1138
- }, (m) => m !== "isAxiosError");
1139
- const d = e && e.message ? e.message : "Error", y = t == null && e ? e.code : t;
1140
- return E.call(r, d, y, n, s, o), e && r.cause == null && Object.defineProperty(r, "cause", { value: e, configurable: !0 }), r.name = e && e.name || "Error", i && Object.assign(r, i), r;
1154
+ }, (f) => f !== "isAxiosError");
1155
+ const c = e && e.message ? e.message : "Error", y = t == null && e ? e.code : t;
1156
+ return E.call(o, c, y, n, s, r), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
1141
1157
  };
1142
1158
  const Gs = null;
1143
1159
  function Be(e) {
1144
- return f.isPlainObject(e) || f.isArray(e);
1160
+ return m.isPlainObject(e) || m.isArray(e);
1145
1161
  }
1146
1162
  function It(e) {
1147
- return f.endsWith(e, "[]") ? e.slice(0, -2) : e;
1163
+ return m.endsWith(e, "[]") ? e.slice(0, -2) : e;
1148
1164
  }
1149
1165
  function Xe(e, t, n) {
1150
- return e ? e.concat(t).map(function(o, i) {
1151
- return o = It(o), !n && i ? "[" + o + "]" : o;
1166
+ return e ? e.concat(t).map(function(r, i) {
1167
+ return r = It(r), !n && i ? "[" + r + "]" : r;
1152
1168
  }).join(n ? "." : "") : t;
1153
1169
  }
1154
1170
  function Qs(e) {
1155
- return f.isArray(e) && !e.some(Be);
1171
+ return m.isArray(e) && !e.some(Be);
1156
1172
  }
1157
- const Xs = f.toFlatObject(f, {}, null, function(t) {
1173
+ const Xs = m.toFlatObject(m, {}, null, function(t) {
1158
1174
  return /^is[A-Z]/.test(t);
1159
1175
  });
1160
1176
  function Oe(e, t, n) {
1161
- if (!f.isObject(e))
1177
+ if (!m.isObject(e))
1162
1178
  throw new TypeError("target must be an object");
1163
- t = t || new FormData(), n = f.toFlatObject(n, {
1179
+ t = t || new FormData(), n = m.toFlatObject(n, {
1164
1180
  metaTokens: !0,
1165
1181
  dots: !1,
1166
1182
  indexes: !1
1167
1183
  }, !1, function(g, p) {
1168
- return !f.isUndefined(p[g]);
1184
+ return !m.isUndefined(p[g]);
1169
1185
  });
1170
- const s = n.metaTokens, o = n.visitor || l, i = n.dots, r = n.indexes, y = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(t);
1171
- if (!f.isFunction(o))
1186
+ const s = n.metaTokens, r = n.visitor || l, i = n.dots, o = n.indexes, y = (n.Blob || typeof Blob < "u" && Blob) && m.isSpecCompliantForm(t);
1187
+ if (!m.isFunction(r))
1172
1188
  throw new TypeError("visitor must be a function");
1173
- function m(a) {
1189
+ function f(a) {
1174
1190
  if (a === null) return "";
1175
- if (f.isDate(a))
1191
+ if (m.isDate(a))
1176
1192
  return a.toISOString();
1177
- if (f.isBoolean(a))
1193
+ if (m.isBoolean(a))
1178
1194
  return a.toString();
1179
- if (!y && f.isBlob(a))
1195
+ if (!y && m.isBlob(a))
1180
1196
  throw new E("Blob is not supported. Use a Buffer instead.");
1181
- return f.isArrayBuffer(a) || f.isTypedArray(a) ? y && typeof Blob == "function" ? new Blob([a]) : Buffer.from(a) : a;
1197
+ return m.isArrayBuffer(a) || m.isTypedArray(a) ? y && typeof Blob == "function" ? new Blob([a]) : Buffer.from(a) : a;
1182
1198
  }
1183
1199
  function l(a, g, p) {
1184
- let v = a;
1200
+ let C = a;
1185
1201
  if (a && !p && typeof a == "object") {
1186
- if (f.endsWith(g, "{}"))
1202
+ if (m.endsWith(g, "{}"))
1187
1203
  g = s ? g : g.slice(0, -2), a = JSON.stringify(a);
1188
- else if (f.isArray(a) && Qs(a) || (f.isFileList(a) || f.endsWith(g, "[]")) && (v = f.toArray(a)))
1189
- return g = It(g), v.forEach(function(w, k) {
1190
- !(f.isUndefined(w) || w === null) && t.append(
1204
+ else if (m.isArray(a) && Qs(a) || (m.isFileList(a) || m.endsWith(g, "[]")) && (C = m.toArray(a)))
1205
+ return g = It(g), C.forEach(function(w, O) {
1206
+ !(m.isUndefined(w) || w === null) && t.append(
1191
1207
  // eslint-disable-next-line no-nested-ternary
1192
- r === !0 ? Xe([g], k, i) : r === null ? g : g + "[]",
1193
- m(w)
1208
+ o === !0 ? Xe([g], O, i) : o === null ? g : g + "[]",
1209
+ f(w)
1194
1210
  );
1195
1211
  }), !1;
1196
1212
  }
1197
- return Be(a) ? !0 : (t.append(Xe(p, g, i), m(a)), !1);
1213
+ return Be(a) ? !0 : (t.append(Xe(p, g, i), f(a)), !1);
1198
1214
  }
1199
- const c = [], h = Object.assign(Xs, {
1215
+ const u = [], h = Object.assign(Xs, {
1200
1216
  defaultVisitor: l,
1201
- convertValue: m,
1217
+ convertValue: f,
1202
1218
  isVisitable: Be
1203
1219
  });
1204
1220
  function b(a, g) {
1205
- if (!f.isUndefined(a)) {
1206
- if (c.indexOf(a) !== -1)
1221
+ if (!m.isUndefined(a)) {
1222
+ if (u.indexOf(a) !== -1)
1207
1223
  throw Error("Circular reference detected in " + g.join("."));
1208
- c.push(a), f.forEach(a, function(v, T) {
1209
- (!(f.isUndefined(v) || v === null) && o.call(
1224
+ u.push(a), m.forEach(a, function(C, x) {
1225
+ (!(m.isUndefined(C) || C === null) && r.call(
1210
1226
  t,
1211
- v,
1212
- f.isString(T) ? T.trim() : T,
1227
+ C,
1228
+ m.isString(x) ? x.trim() : x,
1213
1229
  g,
1214
1230
  h
1215
- )) === !0 && b(v, g ? g.concat(T) : [T]);
1216
- }), c.pop();
1231
+ )) === !0 && b(C, g ? g.concat(x) : [x]);
1232
+ }), u.pop();
1217
1233
  }
1218
1234
  }
1219
- if (!f.isObject(e))
1235
+ if (!m.isObject(e))
1220
1236
  throw new TypeError("data must be an object");
1221
1237
  return b(e), t;
1222
1238
  }
@@ -1234,10 +1250,10 @@ function Ze(e) {
1234
1250
  return t[s];
1235
1251
  });
1236
1252
  }
1237
- function We(e, t) {
1253
+ function _e(e, t) {
1238
1254
  this._pairs = [], e && Oe(e, this, t);
1239
1255
  }
1240
- const Ut = We.prototype;
1256
+ const Ut = _e.prototype;
1241
1257
  Ut.append = function(t, n) {
1242
1258
  this._pairs.push([t, n]);
1243
1259
  };
@@ -1245,25 +1261,25 @@ Ut.toString = function(t) {
1245
1261
  const n = t ? function(s) {
1246
1262
  return t.call(this, s, Ze);
1247
1263
  } : Ze;
1248
- return this._pairs.map(function(o) {
1249
- return n(o[0]) + "=" + n(o[1]);
1264
+ return this._pairs.map(function(r) {
1265
+ return n(r[0]) + "=" + n(r[1]);
1250
1266
  }, "").join("&");
1251
1267
  };
1252
1268
  function Zs(e) {
1253
1269
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
1254
1270
  }
1255
- function jt(e, t, n) {
1271
+ function qt(e, t, n) {
1256
1272
  if (!t)
1257
1273
  return e;
1258
1274
  const s = n && n.encode || Zs;
1259
- f.isFunction(n) && (n = {
1275
+ m.isFunction(n) && (n = {
1260
1276
  serialize: n
1261
1277
  });
1262
- const o = n && n.serialize;
1278
+ const r = n && n.serialize;
1263
1279
  let i;
1264
- if (o ? i = o(t, n) : i = f.isURLSearchParams(t) ? t.toString() : new We(t, n).toString(s), i) {
1265
- const r = e.indexOf("#");
1266
- r !== -1 && (e = e.slice(0, r)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
1280
+ if (r ? i = r(t, n) : i = m.isURLSearchParams(t) ? t.toString() : new _e(t, n).toString(s), i) {
1281
+ const o = e.indexOf("#");
1282
+ o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
1267
1283
  }
1268
1284
  return e;
1269
1285
  }
@@ -1292,7 +1308,7 @@ class Ke {
1292
1308
  *
1293
1309
  * @param {Number} id The ID that was returned by `use`
1294
1310
  *
1295
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
1311
+ * @returns {void}
1296
1312
  */
1297
1313
  eject(t) {
1298
1314
  this.handlers[t] && (this.handlers[t] = null);
@@ -1316,74 +1332,74 @@ class Ke {
1316
1332
  * @returns {void}
1317
1333
  */
1318
1334
  forEach(t) {
1319
- f.forEach(this.handlers, function(s) {
1335
+ m.forEach(this.handlers, function(s) {
1320
1336
  s !== null && t(s);
1321
1337
  });
1322
1338
  }
1323
1339
  }
1324
- const qt = {
1340
+ const $t = {
1325
1341
  silentJSONParsing: !0,
1326
1342
  forcedJSONParsing: !0,
1327
1343
  clarifyTimeoutError: !1
1328
- }, Ks = typeof URLSearchParams < "u" ? URLSearchParams : We, eo = typeof FormData < "u" ? FormData : null, to = typeof Blob < "u" ? Blob : null, no = {
1344
+ }, Ks = typeof URLSearchParams < "u" ? URLSearchParams : _e, er = typeof FormData < "u" ? FormData : null, tr = typeof Blob < "u" ? Blob : null, nr = {
1329
1345
  isBrowser: !0,
1330
1346
  classes: {
1331
1347
  URLSearchParams: Ks,
1332
- FormData: eo,
1333
- Blob: to
1348
+ FormData: er,
1349
+ Blob: tr
1334
1350
  },
1335
1351
  protocols: ["http", "https", "file", "blob", "url", "data"]
1336
- }, ze = typeof window < "u" && typeof document < "u", Ie = typeof navigator == "object" && navigator || void 0, so = ze && (!Ie || ["ReactNative", "NativeScript", "NS"].indexOf(Ie.product) < 0), oo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1337
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ro = ze && window.location.href || "http://localhost", io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1352
+ }, We = typeof window < "u" && typeof document < "u", Ie = typeof navigator == "object" && navigator || void 0, sr = We && (!Ie || ["ReactNative", "NativeScript", "NS"].indexOf(Ie.product) < 0), rr = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1353
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", or = We && window.location.href || "http://localhost", ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1338
1354
  __proto__: null,
1339
- hasBrowserEnv: ze,
1340
- hasStandardBrowserEnv: so,
1341
- hasStandardBrowserWebWorkerEnv: oo,
1355
+ hasBrowserEnv: We,
1356
+ hasStandardBrowserEnv: sr,
1357
+ hasStandardBrowserWebWorkerEnv: rr,
1342
1358
  navigator: Ie,
1343
- origin: ro
1359
+ origin: or
1344
1360
  }, Symbol.toStringTag, { value: "Module" })), V = {
1345
- ...io,
1346
- ...no
1361
+ ...ir,
1362
+ ...nr
1347
1363
  };
1348
- function ao(e, t) {
1364
+ function ar(e, t) {
1349
1365
  return Oe(e, new V.classes.URLSearchParams(), {
1350
- visitor: function(n, s, o, i) {
1351
- return V.isNode && f.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
1366
+ visitor: function(n, s, r, i) {
1367
+ return V.isNode && m.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
1352
1368
  },
1353
1369
  ...t
1354
1370
  });
1355
1371
  }
1356
- function lo(e) {
1357
- return f.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1372
+ function lr(e) {
1373
+ return m.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1358
1374
  }
1359
- function co(e) {
1375
+ function cr(e) {
1360
1376
  const t = {}, n = Object.keys(e);
1361
1377
  let s;
1362
- const o = n.length;
1378
+ const r = n.length;
1363
1379
  let i;
1364
- for (s = 0; s < o; s++)
1380
+ for (s = 0; s < r; s++)
1365
1381
  i = n[s], t[i] = e[i];
1366
1382
  return t;
1367
1383
  }
1368
- function $t(e) {
1369
- function t(n, s, o, i) {
1370
- let r = n[i++];
1371
- if (r === "__proto__") return !0;
1372
- const d = Number.isFinite(+r), y = i >= n.length;
1373
- return r = !r && f.isArray(o) ? o.length : r, y ? (f.hasOwnProp(o, r) ? o[r] = [o[r], s] : o[r] = s, !d) : ((!o[r] || !f.isObject(o[r])) && (o[r] = []), t(n, s, o[r], i) && f.isArray(o[r]) && (o[r] = co(o[r])), !d);
1374
- }
1375
- if (f.isFormData(e) && f.isFunction(e.entries)) {
1384
+ function jt(e) {
1385
+ function t(n, s, r, i) {
1386
+ let o = n[i++];
1387
+ if (o === "__proto__") return !0;
1388
+ const c = Number.isFinite(+o), y = i >= n.length;
1389
+ return o = !o && m.isArray(r) ? r.length : o, y ? (m.hasOwnProp(r, o) ? r[o] = [r[o], s] : r[o] = s, !c) : ((!r[o] || !m.isObject(r[o])) && (r[o] = []), t(n, s, r[o], i) && m.isArray(r[o]) && (r[o] = cr(r[o])), !c);
1390
+ }
1391
+ if (m.isFormData(e) && m.isFunction(e.entries)) {
1376
1392
  const n = {};
1377
- return f.forEachEntry(e, (s, o) => {
1378
- t(lo(s), o, n, 0);
1393
+ return m.forEachEntry(e, (s, r) => {
1394
+ t(lr(s), r, n, 0);
1379
1395
  }), n;
1380
1396
  }
1381
1397
  return null;
1382
1398
  }
1383
- function uo(e, t, n) {
1384
- if (f.isString(e))
1399
+ function ur(e, t, n) {
1400
+ if (m.isString(e))
1385
1401
  try {
1386
- return (t || JSON.parse)(e), f.trim(e);
1402
+ return (t || JSON.parse)(e), m.trim(e);
1387
1403
  } catch (s) {
1388
1404
  if (s.name !== "SyntaxError")
1389
1405
  throw s;
@@ -1391,44 +1407,44 @@ function uo(e, t, n) {
1391
1407
  return (n || JSON.stringify)(e);
1392
1408
  }
1393
1409
  const ge = {
1394
- transitional: qt,
1410
+ transitional: $t,
1395
1411
  adapter: ["xhr", "http", "fetch"],
1396
1412
  transformRequest: [function(t, n) {
1397
- const s = n.getContentType() || "", o = s.indexOf("application/json") > -1, i = f.isObject(t);
1398
- if (i && f.isHTMLForm(t) && (t = new FormData(t)), f.isFormData(t))
1399
- return o ? JSON.stringify($t(t)) : t;
1400
- if (f.isArrayBuffer(t) || f.isBuffer(t) || f.isStream(t) || f.isFile(t) || f.isBlob(t) || f.isReadableStream(t))
1413
+ const s = n.getContentType() || "", r = s.indexOf("application/json") > -1, i = m.isObject(t);
1414
+ if (i && m.isHTMLForm(t) && (t = new FormData(t)), m.isFormData(t))
1415
+ return r ? JSON.stringify(jt(t)) : t;
1416
+ if (m.isArrayBuffer(t) || m.isBuffer(t) || m.isStream(t) || m.isFile(t) || m.isBlob(t) || m.isReadableStream(t))
1401
1417
  return t;
1402
- if (f.isArrayBufferView(t))
1418
+ if (m.isArrayBufferView(t))
1403
1419
  return t.buffer;
1404
- if (f.isURLSearchParams(t))
1420
+ if (m.isURLSearchParams(t))
1405
1421
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
1406
- let d;
1422
+ let c;
1407
1423
  if (i) {
1408
1424
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
1409
- return ao(t, this.formSerializer).toString();
1410
- if ((d = f.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
1425
+ return ar(t, this.formSerializer).toString();
1426
+ if ((c = m.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
1411
1427
  const y = this.env && this.env.FormData;
1412
1428
  return Oe(
1413
- d ? { "files[]": t } : t,
1429
+ c ? { "files[]": t } : t,
1414
1430
  y && new y(),
1415
1431
  this.formSerializer
1416
1432
  );
1417
1433
  }
1418
1434
  }
1419
- return i || o ? (n.setContentType("application/json", !1), uo(t)) : t;
1435
+ return i || r ? (n.setContentType("application/json", !1), ur(t)) : t;
1420
1436
  }],
1421
1437
  transformResponse: [function(t) {
1422
- const n = this.transitional || ge.transitional, s = n && n.forcedJSONParsing, o = this.responseType === "json";
1423
- if (f.isResponse(t) || f.isReadableStream(t))
1438
+ const n = this.transitional || ge.transitional, s = n && n.forcedJSONParsing, r = this.responseType === "json";
1439
+ if (m.isResponse(t) || m.isReadableStream(t))
1424
1440
  return t;
1425
- if (t && f.isString(t) && (s && !this.responseType || o)) {
1426
- const r = !(n && n.silentJSONParsing) && o;
1441
+ if (t && m.isString(t) && (s && !this.responseType || r)) {
1442
+ const o = !(n && n.silentJSONParsing) && r;
1427
1443
  try {
1428
1444
  return JSON.parse(t, this.parseReviver);
1429
- } catch (d) {
1430
- if (r)
1431
- throw d.name === "SyntaxError" ? E.from(d, E.ERR_BAD_RESPONSE, this, null, this.response) : d;
1445
+ } catch (c) {
1446
+ if (o)
1447
+ throw c.name === "SyntaxError" ? E.from(c, E.ERR_BAD_RESPONSE, this, null, this.response) : c;
1432
1448
  }
1433
1449
  }
1434
1450
  return t;
@@ -1456,10 +1472,10 @@ const ge = {
1456
1472
  }
1457
1473
  }
1458
1474
  };
1459
- f.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
1475
+ m.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
1460
1476
  ge.headers[e] = {};
1461
1477
  });
1462
- const mo = f.toObjectSet([
1478
+ const dr = m.toObjectSet([
1463
1479
  "age",
1464
1480
  "authorization",
1465
1481
  "content-length",
@@ -1477,47 +1493,47 @@ const mo = f.toObjectSet([
1477
1493
  "referer",
1478
1494
  "retry-after",
1479
1495
  "user-agent"
1480
- ]), fo = (e) => {
1496
+ ]), mr = (e) => {
1481
1497
  const t = {};
1482
- let n, s, o;
1498
+ let n, s, r;
1483
1499
  return e && e.split(`
1484
- `).forEach(function(r) {
1485
- o = r.indexOf(":"), n = r.substring(0, o).trim().toLowerCase(), s = r.substring(o + 1).trim(), !(!n || t[n] && mo[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
1500
+ `).forEach(function(o) {
1501
+ r = o.indexOf(":"), n = o.substring(0, r).trim().toLowerCase(), s = o.substring(r + 1).trim(), !(!n || t[n] && dr[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
1486
1502
  }), t;
1487
1503
  }, et = Symbol("internals");
1488
1504
  function ue(e) {
1489
1505
  return e && String(e).trim().toLowerCase();
1490
1506
  }
1491
1507
  function be(e) {
1492
- return e === !1 || e == null ? e : f.isArray(e) ? e.map(be) : String(e);
1508
+ return e === !1 || e == null ? e : m.isArray(e) ? e.map(be) : String(e);
1493
1509
  }
1494
- function po(e) {
1510
+ function fr(e) {
1495
1511
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1496
1512
  let s;
1497
1513
  for (; s = n.exec(e); )
1498
1514
  t[s[1]] = s[2];
1499
1515
  return t;
1500
1516
  }
1501
- const go = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1502
- function Fe(e, t, n, s, o) {
1503
- if (f.isFunction(s))
1517
+ const pr = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1518
+ function Fe(e, t, n, s, r) {
1519
+ if (m.isFunction(s))
1504
1520
  return s.call(this, t, n);
1505
- if (o && (t = n), !!f.isString(t)) {
1506
- if (f.isString(s))
1521
+ if (r && (t = n), !!m.isString(t)) {
1522
+ if (m.isString(s))
1507
1523
  return t.indexOf(s) !== -1;
1508
- if (f.isRegExp(s))
1524
+ if (m.isRegExp(s))
1509
1525
  return s.test(t);
1510
1526
  }
1511
1527
  }
1512
- function ho(e) {
1528
+ function gr(e) {
1513
1529
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, s) => n.toUpperCase() + s);
1514
1530
  }
1515
- function yo(e, t) {
1516
- const n = f.toCamelCase(" " + t);
1531
+ function hr(e, t) {
1532
+ const n = m.toCamelCase(" " + t);
1517
1533
  ["get", "set", "has"].forEach((s) => {
1518
1534
  Object.defineProperty(e, s + n, {
1519
- value: function(o, i, r) {
1520
- return this[s].call(this, t, o, i, r);
1535
+ value: function(r, i, o) {
1536
+ return this[s].call(this, t, r, i, o);
1521
1537
  },
1522
1538
  configurable: !0
1523
1539
  });
@@ -1528,85 +1544,85 @@ let J = class {
1528
1544
  t && this.set(t);
1529
1545
  }
1530
1546
  set(t, n, s) {
1531
- const o = this;
1532
- function i(d, y, m) {
1547
+ const r = this;
1548
+ function i(c, y, f) {
1533
1549
  const l = ue(y);
1534
1550
  if (!l)
1535
1551
  throw new Error("header name must be a non-empty string");
1536
- const c = f.findKey(o, l);
1537
- (!c || o[c] === void 0 || m === !0 || m === void 0 && o[c] !== !1) && (o[c || y] = be(d));
1552
+ const u = m.findKey(r, l);
1553
+ (!u || r[u] === void 0 || f === !0 || f === void 0 && r[u] !== !1) && (r[u || y] = be(c));
1538
1554
  }
1539
- const r = (d, y) => f.forEach(d, (m, l) => i(m, l, y));
1540
- if (f.isPlainObject(t) || t instanceof this.constructor)
1541
- r(t, n);
1542
- else if (f.isString(t) && (t = t.trim()) && !go(t))
1543
- r(fo(t), n);
1544
- else if (f.isObject(t) && f.isIterable(t)) {
1545
- let d = {}, y, m;
1555
+ const o = (c, y) => m.forEach(c, (f, l) => i(f, l, y));
1556
+ if (m.isPlainObject(t) || t instanceof this.constructor)
1557
+ o(t, n);
1558
+ else if (m.isString(t) && (t = t.trim()) && !pr(t))
1559
+ o(mr(t), n);
1560
+ else if (m.isObject(t) && m.isIterable(t)) {
1561
+ let c = {}, y, f;
1546
1562
  for (const l of t) {
1547
- if (!f.isArray(l))
1563
+ if (!m.isArray(l))
1548
1564
  throw TypeError("Object iterator must return a key-value pair");
1549
- d[m = l[0]] = (y = d[m]) ? f.isArray(y) ? [...y, l[1]] : [y, l[1]] : l[1];
1565
+ c[f = l[0]] = (y = c[f]) ? m.isArray(y) ? [...y, l[1]] : [y, l[1]] : l[1];
1550
1566
  }
1551
- r(d, n);
1567
+ o(c, n);
1552
1568
  } else
1553
1569
  t != null && i(n, t, s);
1554
1570
  return this;
1555
1571
  }
1556
1572
  get(t, n) {
1557
1573
  if (t = ue(t), t) {
1558
- const s = f.findKey(this, t);
1574
+ const s = m.findKey(this, t);
1559
1575
  if (s) {
1560
- const o = this[s];
1576
+ const r = this[s];
1561
1577
  if (!n)
1562
- return o;
1578
+ return r;
1563
1579
  if (n === !0)
1564
- return po(o);
1565
- if (f.isFunction(n))
1566
- return n.call(this, o, s);
1567
- if (f.isRegExp(n))
1568
- return n.exec(o);
1580
+ return fr(r);
1581
+ if (m.isFunction(n))
1582
+ return n.call(this, r, s);
1583
+ if (m.isRegExp(n))
1584
+ return n.exec(r);
1569
1585
  throw new TypeError("parser must be boolean|regexp|function");
1570
1586
  }
1571
1587
  }
1572
1588
  }
1573
1589
  has(t, n) {
1574
1590
  if (t = ue(t), t) {
1575
- const s = f.findKey(this, t);
1591
+ const s = m.findKey(this, t);
1576
1592
  return !!(s && this[s] !== void 0 && (!n || Fe(this, this[s], s, n)));
1577
1593
  }
1578
1594
  return !1;
1579
1595
  }
1580
1596
  delete(t, n) {
1581
1597
  const s = this;
1582
- let o = !1;
1583
- function i(r) {
1584
- if (r = ue(r), r) {
1585
- const d = f.findKey(s, r);
1586
- d && (!n || Fe(s, s[d], d, n)) && (delete s[d], o = !0);
1598
+ let r = !1;
1599
+ function i(o) {
1600
+ if (o = ue(o), o) {
1601
+ const c = m.findKey(s, o);
1602
+ c && (!n || Fe(s, s[c], c, n)) && (delete s[c], r = !0);
1587
1603
  }
1588
1604
  }
1589
- return f.isArray(t) ? t.forEach(i) : i(t), o;
1605
+ return m.isArray(t) ? t.forEach(i) : i(t), r;
1590
1606
  }
1591
1607
  clear(t) {
1592
1608
  const n = Object.keys(this);
1593
- let s = n.length, o = !1;
1609
+ let s = n.length, r = !1;
1594
1610
  for (; s--; ) {
1595
1611
  const i = n[s];
1596
- (!t || Fe(this, this[i], i, t, !0)) && (delete this[i], o = !0);
1612
+ (!t || Fe(this, this[i], i, t, !0)) && (delete this[i], r = !0);
1597
1613
  }
1598
- return o;
1614
+ return r;
1599
1615
  }
1600
1616
  normalize(t) {
1601
1617
  const n = this, s = {};
1602
- return f.forEach(this, (o, i) => {
1603
- const r = f.findKey(s, i);
1604
- if (r) {
1605
- n[r] = be(o), delete n[i];
1618
+ return m.forEach(this, (r, i) => {
1619
+ const o = m.findKey(s, i);
1620
+ if (o) {
1621
+ n[o] = be(r), delete n[i];
1606
1622
  return;
1607
1623
  }
1608
- const d = t ? ho(i) : String(i).trim();
1609
- d !== i && delete n[i], n[d] = be(o), s[d] = !0;
1624
+ const c = t ? gr(i) : String(i).trim();
1625
+ c !== i && delete n[i], n[c] = be(r), s[c] = !0;
1610
1626
  }), this;
1611
1627
  }
1612
1628
  concat(...t) {
@@ -1614,8 +1630,8 @@ let J = class {
1614
1630
  }
1615
1631
  toJSON(t) {
1616
1632
  const n = /* @__PURE__ */ Object.create(null);
1617
- return f.forEach(this, (s, o) => {
1618
- s != null && s !== !1 && (n[o] = t && f.isArray(s) ? s.join(", ") : s);
1633
+ return m.forEach(this, (s, r) => {
1634
+ s != null && s !== !1 && (n[r] = t && m.isArray(s) ? s.join(", ") : s);
1619
1635
  }), n;
1620
1636
  }
1621
1637
  [Symbol.iterator]() {
@@ -1636,21 +1652,21 @@ let J = class {
1636
1652
  }
1637
1653
  static concat(t, ...n) {
1638
1654
  const s = new this(t);
1639
- return n.forEach((o) => s.set(o)), s;
1655
+ return n.forEach((r) => s.set(r)), s;
1640
1656
  }
1641
1657
  static accessor(t) {
1642
1658
  const s = (this[et] = this[et] = {
1643
1659
  accessors: {}
1644
- }).accessors, o = this.prototype;
1645
- function i(r) {
1646
- const d = ue(r);
1647
- s[d] || (yo(o, r), s[d] = !0);
1660
+ }).accessors, r = this.prototype;
1661
+ function i(o) {
1662
+ const c = ue(o);
1663
+ s[c] || (hr(r, o), s[c] = !0);
1648
1664
  }
1649
- return f.isArray(t) ? t.forEach(i) : i(t), this;
1665
+ return m.isArray(t) ? t.forEach(i) : i(t), this;
1650
1666
  }
1651
1667
  };
1652
1668
  J.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
1653
- f.reduceDescriptors(J.prototype, ({ value: e }, t) => {
1669
+ m.reduceDescriptors(J.prototype, ({ value: e }, t) => {
1654
1670
  let n = t[0].toUpperCase() + t.slice(1);
1655
1671
  return {
1656
1672
  get: () => e,
@@ -1659,13 +1675,13 @@ f.reduceDescriptors(J.prototype, ({ value: e }, t) => {
1659
1675
  }
1660
1676
  };
1661
1677
  });
1662
- f.freezeMethods(J);
1678
+ m.freezeMethods(J);
1663
1679
  function Re(e, t) {
1664
- const n = this || ge, s = t || n, o = J.from(s.headers);
1680
+ const n = this || ge, s = t || n, r = J.from(s.headers);
1665
1681
  let i = s.data;
1666
- return f.forEach(e, function(d) {
1667
- i = d.call(n, i, o.normalize(), t ? t.status : void 0);
1668
- }), o.normalize(), i;
1682
+ return m.forEach(e, function(c) {
1683
+ i = c.call(n, i, r.normalize(), t ? t.status : void 0);
1684
+ }), r.normalize(), i;
1669
1685
  }
1670
1686
  function Vt(e) {
1671
1687
  return !!(e && e.__CANCEL__);
@@ -1673,10 +1689,10 @@ function Vt(e) {
1673
1689
  function le(e, t, n) {
1674
1690
  E.call(this, e ?? "canceled", E.ERR_CANCELED, t, n), this.name = "CanceledError";
1675
1691
  }
1676
- f.inherits(le, E, {
1692
+ m.inherits(le, E, {
1677
1693
  __CANCEL__: !0
1678
1694
  });
1679
- function _t(e, t, n) {
1695
+ function Ht(e, t, n) {
1680
1696
  const s = n.config.validateStatus;
1681
1697
  !n.status || !s || s(n.status) ? e(n) : t(new E(
1682
1698
  "Request failed with status code " + n.status,
@@ -1686,56 +1702,56 @@ function _t(e, t, n) {
1686
1702
  n
1687
1703
  ));
1688
1704
  }
1689
- function bo(e) {
1705
+ function yr(e) {
1690
1706
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
1691
1707
  return t && t[1] || "";
1692
1708
  }
1693
- function vo(e, t) {
1709
+ function br(e, t) {
1694
1710
  e = e || 10;
1695
1711
  const n = new Array(e), s = new Array(e);
1696
- let o = 0, i = 0, r;
1712
+ let r = 0, i = 0, o;
1697
1713
  return t = t !== void 0 ? t : 1e3, function(y) {
1698
- const m = Date.now(), l = s[i];
1699
- r || (r = m), n[o] = y, s[o] = m;
1700
- let c = i, h = 0;
1701
- for (; c !== o; )
1702
- h += n[c++], c = c % e;
1703
- if (o = (o + 1) % e, o === i && (i = (i + 1) % e), m - r < t)
1714
+ const f = Date.now(), l = s[i];
1715
+ o || (o = f), n[r] = y, s[r] = f;
1716
+ let u = i, h = 0;
1717
+ for (; u !== r; )
1718
+ h += n[u++], u = u % e;
1719
+ if (r = (r + 1) % e, r === i && (i = (i + 1) % e), f - o < t)
1704
1720
  return;
1705
- const b = l && m - l;
1721
+ const b = l && f - l;
1706
1722
  return b ? Math.round(h * 1e3 / b) : void 0;
1707
1723
  };
1708
1724
  }
1709
- function Co(e, t) {
1710
- let n = 0, s = 1e3 / t, o, i;
1711
- const r = (m, l = Date.now()) => {
1712
- n = l, o = null, i && (clearTimeout(i), i = null), e(...m);
1725
+ function vr(e, t) {
1726
+ let n = 0, s = 1e3 / t, r, i;
1727
+ const o = (f, l = Date.now()) => {
1728
+ n = l, r = null, i && (clearTimeout(i), i = null), e(...f);
1713
1729
  };
1714
- return [(...m) => {
1715
- const l = Date.now(), c = l - n;
1716
- c >= s ? r(m, l) : (o = m, i || (i = setTimeout(() => {
1717
- i = null, r(o);
1718
- }, s - c)));
1719
- }, () => o && r(o)];
1730
+ return [(...f) => {
1731
+ const l = Date.now(), u = l - n;
1732
+ u >= s ? o(f, l) : (r = f, i || (i = setTimeout(() => {
1733
+ i = null, o(r);
1734
+ }, s - u)));
1735
+ }, () => r && o(r)];
1720
1736
  }
1721
- const xe = (e, t, n = 3) => {
1737
+ const Se = (e, t, n = 3) => {
1722
1738
  let s = 0;
1723
- const o = vo(50, 250);
1724
- return Co((i) => {
1725
- const r = i.loaded, d = i.lengthComputable ? i.total : void 0, y = r - s, m = o(y), l = r <= d;
1726
- s = r;
1727
- const c = {
1728
- loaded: r,
1729
- total: d,
1730
- progress: d ? r / d : void 0,
1739
+ const r = br(50, 250);
1740
+ return vr((i) => {
1741
+ const o = i.loaded, c = i.lengthComputable ? i.total : void 0, y = o - s, f = r(y), l = o <= c;
1742
+ s = o;
1743
+ const u = {
1744
+ loaded: o,
1745
+ total: c,
1746
+ progress: c ? o / c : void 0,
1731
1747
  bytes: y,
1732
- rate: m || void 0,
1733
- estimated: m && d && l ? (d - r) / m : void 0,
1748
+ rate: f || void 0,
1749
+ estimated: f && c && l ? (c - o) / f : void 0,
1734
1750
  event: i,
1735
- lengthComputable: d != null,
1751
+ lengthComputable: c != null,
1736
1752
  [t ? "download" : "upload"]: !0
1737
1753
  };
1738
- e(c);
1754
+ e(u);
1739
1755
  }, n);
1740
1756
  }, tt = (e, t) => {
1741
1757
  const n = e != null;
@@ -1744,22 +1760,24 @@ const xe = (e, t, n = 3) => {
1744
1760
  total: e,
1745
1761
  loaded: s
1746
1762
  }), t[1]];
1747
- }, nt = (e) => (...t) => f.asap(() => e(...t)), xo = V.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, V.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1763
+ }, nt = (e) => (...t) => m.asap(() => e(...t)), Cr = V.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, V.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1748
1764
  new URL(V.origin),
1749
1765
  V.navigator && /(msie|trident)/i.test(V.navigator.userAgent)
1750
- ) : () => !0, So = V.hasStandardBrowserEnv ? (
1766
+ ) : () => !0, Sr = V.hasStandardBrowserEnv ? (
1751
1767
  // Standard browser envs support document.cookie
1752
1768
  {
1753
- write(e, t, n, s, o, i) {
1754
- const r = [e + "=" + encodeURIComponent(t)];
1755
- f.isNumber(n) && r.push("expires=" + new Date(n).toGMTString()), f.isString(s) && r.push("path=" + s), f.isString(o) && r.push("domain=" + o), i === !0 && r.push("secure"), document.cookie = r.join("; ");
1769
+ write(e, t, n, s, r, i, o) {
1770
+ if (typeof document > "u") return;
1771
+ const c = [`${e}=${encodeURIComponent(t)}`];
1772
+ m.isNumber(n) && c.push(`expires=${new Date(n).toUTCString()}`), m.isString(s) && c.push(`path=${s}`), m.isString(r) && c.push(`domain=${r}`), i === !0 && c.push("secure"), m.isString(o) && c.push(`SameSite=${o}`), document.cookie = c.join("; ");
1756
1773
  },
1757
1774
  read(e) {
1758
- const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
1759
- return t ? decodeURIComponent(t[3]) : null;
1775
+ if (typeof document > "u") return null;
1776
+ const t = document.cookie.match(new RegExp("(?:^|; )" + e + "=([^;]*)"));
1777
+ return t ? decodeURIComponent(t[1]) : null;
1760
1778
  },
1761
1779
  remove(e) {
1762
- this.write(e, "", Date.now() - 864e5);
1780
+ this.write(e, "", Date.now() - 864e5, "/");
1763
1781
  }
1764
1782
  }
1765
1783
  ) : (
@@ -1774,196 +1792,196 @@ const xe = (e, t, n = 3) => {
1774
1792
  }
1775
1793
  }
1776
1794
  );
1777
- function To(e) {
1795
+ function xr(e) {
1778
1796
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
1779
1797
  }
1780
- function wo(e, t) {
1798
+ function Tr(e, t) {
1781
1799
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1782
1800
  }
1783
- function Ht(e, t, n) {
1784
- let s = !To(t);
1785
- return e && (s || n == !1) ? wo(e, t) : t;
1801
+ function _t(e, t, n) {
1802
+ let s = !xr(t);
1803
+ return e && (s || n == !1) ? Tr(e, t) : t;
1786
1804
  }
1787
1805
  const st = (e) => e instanceof J ? { ...e } : e;
1788
- function se(e, t) {
1806
+ function ne(e, t) {
1789
1807
  t = t || {};
1790
1808
  const n = {};
1791
- function s(m, l, c, h) {
1792
- return f.isPlainObject(m) && f.isPlainObject(l) ? f.merge.call({ caseless: h }, m, l) : f.isPlainObject(l) ? f.merge({}, l) : f.isArray(l) ? l.slice() : l;
1809
+ function s(f, l, u, h) {
1810
+ return m.isPlainObject(f) && m.isPlainObject(l) ? m.merge.call({ caseless: h }, f, l) : m.isPlainObject(l) ? m.merge({}, l) : m.isArray(l) ? l.slice() : l;
1793
1811
  }
1794
- function o(m, l, c, h) {
1795
- if (f.isUndefined(l)) {
1796
- if (!f.isUndefined(m))
1797
- return s(void 0, m, c, h);
1798
- } else return s(m, l, c, h);
1812
+ function r(f, l, u, h) {
1813
+ if (m.isUndefined(l)) {
1814
+ if (!m.isUndefined(f))
1815
+ return s(void 0, f, u, h);
1816
+ } else return s(f, l, u, h);
1799
1817
  }
1800
- function i(m, l) {
1801
- if (!f.isUndefined(l))
1818
+ function i(f, l) {
1819
+ if (!m.isUndefined(l))
1802
1820
  return s(void 0, l);
1803
1821
  }
1804
- function r(m, l) {
1805
- if (f.isUndefined(l)) {
1806
- if (!f.isUndefined(m))
1807
- return s(void 0, m);
1822
+ function o(f, l) {
1823
+ if (m.isUndefined(l)) {
1824
+ if (!m.isUndefined(f))
1825
+ return s(void 0, f);
1808
1826
  } else return s(void 0, l);
1809
1827
  }
1810
- function d(m, l, c) {
1811
- if (c in t)
1812
- return s(m, l);
1813
- if (c in e)
1814
- return s(void 0, m);
1828
+ function c(f, l, u) {
1829
+ if (u in t)
1830
+ return s(f, l);
1831
+ if (u in e)
1832
+ return s(void 0, f);
1815
1833
  }
1816
1834
  const y = {
1817
1835
  url: i,
1818
1836
  method: i,
1819
1837
  data: i,
1820
- baseURL: r,
1821
- transformRequest: r,
1822
- transformResponse: r,
1823
- paramsSerializer: r,
1824
- timeout: r,
1825
- timeoutMessage: r,
1826
- withCredentials: r,
1827
- withXSRFToken: r,
1828
- adapter: r,
1829
- responseType: r,
1830
- xsrfCookieName: r,
1831
- xsrfHeaderName: r,
1832
- onUploadProgress: r,
1833
- onDownloadProgress: r,
1834
- decompress: r,
1835
- maxContentLength: r,
1836
- maxBodyLength: r,
1837
- beforeRedirect: r,
1838
- transport: r,
1839
- httpAgent: r,
1840
- httpsAgent: r,
1841
- cancelToken: r,
1842
- socketPath: r,
1843
- responseEncoding: r,
1844
- validateStatus: d,
1845
- headers: (m, l, c) => o(st(m), st(l), c, !0)
1838
+ baseURL: o,
1839
+ transformRequest: o,
1840
+ transformResponse: o,
1841
+ paramsSerializer: o,
1842
+ timeout: o,
1843
+ timeoutMessage: o,
1844
+ withCredentials: o,
1845
+ withXSRFToken: o,
1846
+ adapter: o,
1847
+ responseType: o,
1848
+ xsrfCookieName: o,
1849
+ xsrfHeaderName: o,
1850
+ onUploadProgress: o,
1851
+ onDownloadProgress: o,
1852
+ decompress: o,
1853
+ maxContentLength: o,
1854
+ maxBodyLength: o,
1855
+ beforeRedirect: o,
1856
+ transport: o,
1857
+ httpAgent: o,
1858
+ httpsAgent: o,
1859
+ cancelToken: o,
1860
+ socketPath: o,
1861
+ responseEncoding: o,
1862
+ validateStatus: c,
1863
+ headers: (f, l, u) => r(st(f), st(l), u, !0)
1846
1864
  };
1847
- return f.forEach(Object.keys({ ...e, ...t }), function(l) {
1848
- const c = y[l] || o, h = c(e[l], t[l], l);
1849
- f.isUndefined(h) && c !== d || (n[l] = h);
1865
+ return m.forEach(Object.keys({ ...e, ...t }), function(l) {
1866
+ const u = y[l] || r, h = u(e[l], t[l], l);
1867
+ m.isUndefined(h) && u !== c || (n[l] = h);
1850
1868
  }), n;
1851
1869
  }
1852
1870
  const Wt = (e) => {
1853
- const t = se({}, e);
1854
- let { data: n, withXSRFToken: s, xsrfHeaderName: o, xsrfCookieName: i, headers: r, auth: d } = t;
1855
- if (t.headers = r = J.from(r), t.url = jt(Ht(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), d && r.set(
1871
+ const t = ne({}, e);
1872
+ let { data: n, withXSRFToken: s, xsrfHeaderName: r, xsrfCookieName: i, headers: o, auth: c } = t;
1873
+ if (t.headers = o = J.from(o), t.url = qt(_t(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && o.set(
1856
1874
  "Authorization",
1857
- "Basic " + btoa((d.username || "") + ":" + (d.password ? unescape(encodeURIComponent(d.password)) : ""))
1858
- ), f.isFormData(n)) {
1875
+ "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
1876
+ ), m.isFormData(n)) {
1859
1877
  if (V.hasStandardBrowserEnv || V.hasStandardBrowserWebWorkerEnv)
1860
- r.setContentType(void 0);
1861
- else if (f.isFunction(n.getHeaders)) {
1862
- const y = n.getHeaders(), m = ["content-type", "content-length"];
1863
- Object.entries(y).forEach(([l, c]) => {
1864
- m.includes(l.toLowerCase()) && r.set(l, c);
1878
+ o.setContentType(void 0);
1879
+ else if (m.isFunction(n.getHeaders)) {
1880
+ const y = n.getHeaders(), f = ["content-type", "content-length"];
1881
+ Object.entries(y).forEach(([l, u]) => {
1882
+ f.includes(l.toLowerCase()) && o.set(l, u);
1865
1883
  });
1866
1884
  }
1867
1885
  }
1868
- if (V.hasStandardBrowserEnv && (s && f.isFunction(s) && (s = s(t)), s || s !== !1 && xo(t.url))) {
1869
- const y = o && i && So.read(i);
1870
- y && r.set(o, y);
1886
+ if (V.hasStandardBrowserEnv && (s && m.isFunction(s) && (s = s(t)), s || s !== !1 && Cr(t.url))) {
1887
+ const y = r && i && Sr.read(i);
1888
+ y && o.set(r, y);
1871
1889
  }
1872
1890
  return t;
1873
- }, Eo = typeof XMLHttpRequest < "u", Do = Eo && function(e) {
1891
+ }, wr = typeof XMLHttpRequest < "u", Er = wr && function(e) {
1874
1892
  return new Promise(function(n, s) {
1875
- const o = Wt(e);
1876
- let i = o.data;
1877
- const r = J.from(o.headers).normalize();
1878
- let { responseType: d, onUploadProgress: y, onDownloadProgress: m } = o, l, c, h, b, a;
1893
+ const r = Wt(e);
1894
+ let i = r.data;
1895
+ const o = J.from(r.headers).normalize();
1896
+ let { responseType: c, onUploadProgress: y, onDownloadProgress: f } = r, l, u, h, b, a;
1879
1897
  function g() {
1880
- b && b(), a && a(), o.cancelToken && o.cancelToken.unsubscribe(l), o.signal && o.signal.removeEventListener("abort", l);
1898
+ b && b(), a && a(), r.cancelToken && r.cancelToken.unsubscribe(l), r.signal && r.signal.removeEventListener("abort", l);
1881
1899
  }
1882
1900
  let p = new XMLHttpRequest();
1883
- p.open(o.method.toUpperCase(), o.url, !0), p.timeout = o.timeout;
1884
- function v() {
1901
+ p.open(r.method.toUpperCase(), r.url, !0), p.timeout = r.timeout;
1902
+ function C() {
1885
1903
  if (!p)
1886
1904
  return;
1887
1905
  const w = J.from(
1888
1906
  "getAllResponseHeaders" in p && p.getAllResponseHeaders()
1889
- ), C = {
1890
- data: !d || d === "text" || d === "json" ? p.responseText : p.response,
1907
+ ), S = {
1908
+ data: !c || c === "text" || c === "json" ? p.responseText : p.response,
1891
1909
  status: p.status,
1892
1910
  statusText: p.statusText,
1893
1911
  headers: w,
1894
1912
  config: e,
1895
1913
  request: p
1896
1914
  };
1897
- _t(function(F) {
1915
+ Ht(function(F) {
1898
1916
  n(F), g();
1899
1917
  }, function(F) {
1900
1918
  s(F), g();
1901
- }, C), p = null;
1919
+ }, S), p = null;
1902
1920
  }
1903
- "onloadend" in p ? p.onloadend = v : p.onreadystatechange = function() {
1904
- !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(v);
1921
+ "onloadend" in p ? p.onloadend = C : p.onreadystatechange = function() {
1922
+ !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(C);
1905
1923
  }, p.onabort = function() {
1906
1924
  p && (s(new E("Request aborted", E.ECONNABORTED, e, p)), p = null);
1907
- }, p.onerror = function(k) {
1908
- const C = k && k.message ? k.message : "Network Error", O = new E(C, E.ERR_NETWORK, e, p);
1909
- O.event = k || null, s(O), p = null;
1925
+ }, p.onerror = function(O) {
1926
+ const S = O && O.message ? O.message : "Network Error", D = new E(S, E.ERR_NETWORK, e, p);
1927
+ D.event = O || null, s(D), p = null;
1910
1928
  }, p.ontimeout = function() {
1911
- let k = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1912
- const C = o.transitional || qt;
1913
- o.timeoutErrorMessage && (k = o.timeoutErrorMessage), s(new E(
1914
- k,
1915
- C.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
1929
+ let O = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
1930
+ const S = r.transitional || $t;
1931
+ r.timeoutErrorMessage && (O = r.timeoutErrorMessage), s(new E(
1932
+ O,
1933
+ S.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
1916
1934
  e,
1917
1935
  p
1918
1936
  )), p = null;
1919
- }, i === void 0 && r.setContentType(null), "setRequestHeader" in p && f.forEach(r.toJSON(), function(k, C) {
1920
- p.setRequestHeader(C, k);
1921
- }), f.isUndefined(o.withCredentials) || (p.withCredentials = !!o.withCredentials), d && d !== "json" && (p.responseType = o.responseType), m && ([h, a] = xe(m, !0), p.addEventListener("progress", h)), y && p.upload && ([c, b] = xe(y), p.upload.addEventListener("progress", c), p.upload.addEventListener("loadend", b)), (o.cancelToken || o.signal) && (l = (w) => {
1937
+ }, i === void 0 && o.setContentType(null), "setRequestHeader" in p && m.forEach(o.toJSON(), function(O, S) {
1938
+ p.setRequestHeader(S, O);
1939
+ }), m.isUndefined(r.withCredentials) || (p.withCredentials = !!r.withCredentials), c && c !== "json" && (p.responseType = r.responseType), f && ([h, a] = Se(f, !0), p.addEventListener("progress", h)), y && p.upload && ([u, b] = Se(y), p.upload.addEventListener("progress", u), p.upload.addEventListener("loadend", b)), (r.cancelToken || r.signal) && (l = (w) => {
1922
1940
  p && (s(!w || w.type ? new le(null, e, p) : w), p.abort(), p = null);
1923
- }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1924
- const T = bo(o.url);
1925
- if (T && V.protocols.indexOf(T) === -1) {
1926
- s(new E("Unsupported protocol " + T + ":", E.ERR_BAD_REQUEST, e));
1941
+ }, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
1942
+ const x = yr(r.url);
1943
+ if (x && V.protocols.indexOf(x) === -1) {
1944
+ s(new E("Unsupported protocol " + x + ":", E.ERR_BAD_REQUEST, e));
1927
1945
  return;
1928
1946
  }
1929
1947
  p.send(i || null);
1930
1948
  });
1931
- }, Oo = (e, t) => {
1949
+ }, Dr = (e, t) => {
1932
1950
  const { length: n } = e = e ? e.filter(Boolean) : [];
1933
1951
  if (t || n) {
1934
- let s = new AbortController(), o;
1935
- const i = function(m) {
1936
- if (!o) {
1937
- o = !0, d();
1938
- const l = m instanceof Error ? m : this.reason;
1952
+ let s = new AbortController(), r;
1953
+ const i = function(f) {
1954
+ if (!r) {
1955
+ r = !0, c();
1956
+ const l = f instanceof Error ? f : this.reason;
1939
1957
  s.abort(l instanceof E ? l : new le(l instanceof Error ? l.message : l));
1940
1958
  }
1941
1959
  };
1942
- let r = t && setTimeout(() => {
1943
- r = null, i(new E(`timeout ${t} of ms exceeded`, E.ETIMEDOUT));
1960
+ let o = t && setTimeout(() => {
1961
+ o = null, i(new E(`timeout ${t} of ms exceeded`, E.ETIMEDOUT));
1944
1962
  }, t);
1945
- const d = () => {
1946
- e && (r && clearTimeout(r), r = null, e.forEach((m) => {
1947
- m.unsubscribe ? m.unsubscribe(i) : m.removeEventListener("abort", i);
1963
+ const c = () => {
1964
+ e && (o && clearTimeout(o), o = null, e.forEach((f) => {
1965
+ f.unsubscribe ? f.unsubscribe(i) : f.removeEventListener("abort", i);
1948
1966
  }), e = null);
1949
1967
  };
1950
- e.forEach((m) => m.addEventListener("abort", i));
1968
+ e.forEach((f) => f.addEventListener("abort", i));
1951
1969
  const { signal: y } = s;
1952
- return y.unsubscribe = () => f.asap(d), y;
1970
+ return y.unsubscribe = () => m.asap(c), y;
1953
1971
  }
1954
- }, ko = function* (e, t) {
1972
+ }, Or = function* (e, t) {
1955
1973
  let n = e.byteLength;
1956
1974
  if (n < t) {
1957
1975
  yield e;
1958
1976
  return;
1959
1977
  }
1960
- let s = 0, o;
1978
+ let s = 0, r;
1961
1979
  for (; s < n; )
1962
- o = s + t, yield e.slice(s, o), s = o;
1963
- }, Po = async function* (e, t) {
1964
- for await (const n of Fo(e))
1965
- yield* ko(n, t);
1966
- }, Fo = async function* (e) {
1980
+ r = s + t, yield e.slice(s, r), s = r;
1981
+ }, Pr = async function* (e, t) {
1982
+ for await (const n of kr(e))
1983
+ yield* Or(n, t);
1984
+ }, kr = async function* (e) {
1967
1985
  if (e[Symbol.asyncIterator]) {
1968
1986
  yield* e;
1969
1987
  return;
@@ -1979,55 +1997,55 @@ const Wt = (e) => {
1979
1997
  } finally {
1980
1998
  await t.cancel();
1981
1999
  }
1982
- }, ot = (e, t, n, s) => {
1983
- const o = Po(e, t);
1984
- let i = 0, r, d = (y) => {
1985
- r || (r = !0, s && s(y));
2000
+ }, rt = (e, t, n, s) => {
2001
+ const r = Pr(e, t);
2002
+ let i = 0, o, c = (y) => {
2003
+ o || (o = !0, s && s(y));
1986
2004
  };
1987
2005
  return new ReadableStream({
1988
2006
  async pull(y) {
1989
2007
  try {
1990
- const { done: m, value: l } = await o.next();
1991
- if (m) {
1992
- d(), y.close();
2008
+ const { done: f, value: l } = await r.next();
2009
+ if (f) {
2010
+ c(), y.close();
1993
2011
  return;
1994
2012
  }
1995
- let c = l.byteLength;
2013
+ let u = l.byteLength;
1996
2014
  if (n) {
1997
- let h = i += c;
2015
+ let h = i += u;
1998
2016
  n(h);
1999
2017
  }
2000
2018
  y.enqueue(new Uint8Array(l));
2001
- } catch (m) {
2002
- throw d(m), m;
2019
+ } catch (f) {
2020
+ throw c(f), f;
2003
2021
  }
2004
2022
  },
2005
2023
  cancel(y) {
2006
- return d(y), o.return();
2024
+ return c(y), r.return();
2007
2025
  }
2008
2026
  }, {
2009
2027
  highWaterMark: 2
2010
2028
  });
2011
- }, rt = 64 * 1024, { isFunction: he } = f, Ro = (({ Request: e, Response: t }) => ({
2029
+ }, ot = 64 * 1024, { isFunction: he } = m, Fr = (({ Request: e, Response: t }) => ({
2012
2030
  Request: e,
2013
2031
  Response: t
2014
- }))(f.global), {
2032
+ }))(m.global), {
2015
2033
  ReadableStream: it,
2016
2034
  TextEncoder: at
2017
- } = f.global, lt = (e, ...t) => {
2035
+ } = m.global, lt = (e, ...t) => {
2018
2036
  try {
2019
2037
  return !!e(...t);
2020
2038
  } catch {
2021
2039
  return !1;
2022
2040
  }
2023
- }, Lo = (e) => {
2024
- e = f.merge.call({
2041
+ }, Rr = (e) => {
2042
+ e = m.merge.call({
2025
2043
  skipUndefined: !0
2026
- }, Ro, e);
2027
- const { fetch: t, Request: n, Response: s } = e, o = t ? he(t) : typeof fetch == "function", i = he(n), r = he(s);
2028
- if (!o)
2044
+ }, Fr, e);
2045
+ const { fetch: t, Request: n, Response: s } = e, r = t ? he(t) : typeof fetch == "function", i = he(n), o = he(s);
2046
+ if (!r)
2029
2047
  return !1;
2030
- const d = o && he(it), y = o && (typeof at == "function" ? /* @__PURE__ */ ((a) => (g) => a.encode(g))(new at()) : async (a) => new Uint8Array(await new n(a).arrayBuffer())), m = i && d && lt(() => {
2048
+ const c = r && he(it), y = r && (typeof at == "function" ? /* @__PURE__ */ ((a) => (g) => a.encode(g))(new at()) : async (a) => new Uint8Array(await new n(a).arrayBuffer())), f = i && c && lt(() => {
2031
2049
  let a = !1;
2032
2050
  const g = new n(V.origin, {
2033
2051
  body: new it(),
@@ -2037,142 +2055,142 @@ const Wt = (e) => {
2037
2055
  }
2038
2056
  }).headers.has("Content-Type");
2039
2057
  return a && !g;
2040
- }), l = r && d && lt(() => f.isReadableStream(new s("").body)), c = {
2058
+ }), l = o && c && lt(() => m.isReadableStream(new s("").body)), u = {
2041
2059
  stream: l && ((a) => a.body)
2042
2060
  };
2043
- o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((a) => {
2044
- !c[a] && (c[a] = (g, p) => {
2045
- let v = g && g[a];
2046
- if (v)
2047
- return v.call(g);
2061
+ r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((a) => {
2062
+ !u[a] && (u[a] = (g, p) => {
2063
+ let C = g && g[a];
2064
+ if (C)
2065
+ return C.call(g);
2048
2066
  throw new E(`Response type '${a}' is not supported`, E.ERR_NOT_SUPPORT, p);
2049
2067
  });
2050
2068
  });
2051
2069
  const h = async (a) => {
2052
2070
  if (a == null)
2053
2071
  return 0;
2054
- if (f.isBlob(a))
2072
+ if (m.isBlob(a))
2055
2073
  return a.size;
2056
- if (f.isSpecCompliantForm(a))
2074
+ if (m.isSpecCompliantForm(a))
2057
2075
  return (await new n(V.origin, {
2058
2076
  method: "POST",
2059
2077
  body: a
2060
2078
  }).arrayBuffer()).byteLength;
2061
- if (f.isArrayBufferView(a) || f.isArrayBuffer(a))
2079
+ if (m.isArrayBufferView(a) || m.isArrayBuffer(a))
2062
2080
  return a.byteLength;
2063
- if (f.isURLSearchParams(a) && (a = a + ""), f.isString(a))
2081
+ if (m.isURLSearchParams(a) && (a = a + ""), m.isString(a))
2064
2082
  return (await y(a)).byteLength;
2065
2083
  }, b = async (a, g) => {
2066
- const p = f.toFiniteNumber(a.getContentLength());
2084
+ const p = m.toFiniteNumber(a.getContentLength());
2067
2085
  return p ?? h(g);
2068
2086
  };
2069
2087
  return async (a) => {
2070
2088
  let {
2071
2089
  url: g,
2072
2090
  method: p,
2073
- data: v,
2074
- signal: T,
2091
+ data: C,
2092
+ signal: x,
2075
2093
  cancelToken: w,
2076
- timeout: k,
2077
- onDownloadProgress: C,
2078
- onUploadProgress: O,
2094
+ timeout: O,
2095
+ onDownloadProgress: S,
2096
+ onUploadProgress: D,
2079
2097
  responseType: F,
2080
- headers: L,
2081
- withCredentials: S = "same-origin",
2082
- fetchOptions: x
2083
- } = Wt(a), N = t || fetch;
2098
+ headers: U,
2099
+ withCredentials: k = "same-origin",
2100
+ fetchOptions: v
2101
+ } = Wt(a), L = t || fetch;
2084
2102
  F = F ? (F + "").toLowerCase() : "text";
2085
- let I = Oo([T, w && w.toAbortSignal()], k), B = null;
2086
- const A = I && I.unsubscribe && (() => {
2087
- I.unsubscribe();
2103
+ let N = Dr([x, w && w.toAbortSignal()], O), B = null;
2104
+ const M = N && N.unsubscribe && (() => {
2105
+ N.unsubscribe();
2088
2106
  });
2089
- let Q;
2107
+ let Y;
2090
2108
  try {
2091
- if (O && m && p !== "get" && p !== "head" && (Q = await b(L, v)) !== 0) {
2092
- let j = new n(g, {
2109
+ if (D && f && p !== "get" && p !== "head" && (Y = await b(U, C)) !== 0) {
2110
+ let T = new n(g, {
2093
2111
  method: "POST",
2094
- body: v,
2112
+ body: C,
2095
2113
  duplex: "half"
2096
- }), $;
2097
- if (f.isFormData(v) && ($ = j.headers.get("content-type")) && L.setContentType($), j.body) {
2098
- const [Y, ee] = tt(
2099
- Q,
2100
- xe(nt(O))
2114
+ }), j;
2115
+ if (m.isFormData(C) && (j = T.headers.get("content-type")) && U.setContentType(j), T.body) {
2116
+ const [W, G] = tt(
2117
+ Y,
2118
+ Se(nt(D))
2101
2119
  );
2102
- v = ot(j.body, rt, Y, ee);
2120
+ C = rt(T.body, ot, W, G);
2103
2121
  }
2104
2122
  }
2105
- f.isString(S) || (S = S ? "include" : "omit");
2106
- const U = i && "credentials" in n.prototype, X = {
2107
- ...x,
2108
- signal: I,
2123
+ m.isString(k) || (k = k ? "include" : "omit");
2124
+ const I = i && "credentials" in n.prototype, X = {
2125
+ ...v,
2126
+ signal: N,
2109
2127
  method: p.toUpperCase(),
2110
- headers: L.normalize().toJSON(),
2111
- body: v,
2128
+ headers: U.normalize().toJSON(),
2129
+ body: C,
2112
2130
  duplex: "half",
2113
- credentials: U ? S : void 0
2131
+ credentials: I ? k : void 0
2114
2132
  };
2115
2133
  B = i && new n(g, X);
2116
- let H = await (i ? N(B, x) : N(g, X));
2117
- const W = l && (F === "stream" || F === "response");
2118
- if (l && (C || W && A)) {
2119
- const j = {};
2120
- ["status", "statusText", "headers"].forEach((ce) => {
2121
- j[ce] = H[ce];
2134
+ let $ = await (i ? L(B, v) : L(g, X));
2135
+ const _ = l && (F === "stream" || F === "response");
2136
+ if (l && (S || _ && M)) {
2137
+ const T = {};
2138
+ ["status", "statusText", "headers"].forEach((se) => {
2139
+ T[se] = $[se];
2122
2140
  });
2123
- const $ = f.toFiniteNumber(H.headers.get("content-length")), [Y, ee] = C && tt(
2124
- $,
2125
- xe(nt(C), !0)
2141
+ const j = m.toFiniteNumber($.headers.get("content-length")), [W, G] = S && tt(
2142
+ j,
2143
+ Se(nt(S), !0)
2126
2144
  ) || [];
2127
- H = new s(
2128
- ot(H.body, rt, Y, () => {
2129
- ee && ee(), A && A();
2145
+ $ = new s(
2146
+ rt($.body, ot, W, () => {
2147
+ G && G(), M && M();
2130
2148
  }),
2131
- j
2149
+ T
2132
2150
  );
2133
2151
  }
2134
2152
  F = F || "text";
2135
- let D = await c[f.findKey(c, F) || "text"](H, a);
2136
- return !W && A && A(), await new Promise((j, $) => {
2137
- _t(j, $, {
2138
- data: D,
2139
- headers: J.from(H.headers),
2140
- status: H.status,
2141
- statusText: H.statusText,
2153
+ let ce = await u[m.findKey(u, F) || "text"]($, a);
2154
+ return !_ && M && M(), await new Promise((T, j) => {
2155
+ Ht(T, j, {
2156
+ data: ce,
2157
+ headers: J.from($.headers),
2158
+ status: $.status,
2159
+ statusText: $.statusText,
2142
2160
  config: a,
2143
2161
  request: B
2144
2162
  });
2145
2163
  });
2146
- } catch (U) {
2147
- throw A && A(), U && U.name === "TypeError" && /Load failed|fetch/i.test(U.message) ? Object.assign(
2164
+ } catch (I) {
2165
+ throw M && M(), I && I.name === "TypeError" && /Load failed|fetch/i.test(I.message) ? Object.assign(
2148
2166
  new E("Network Error", E.ERR_NETWORK, a, B),
2149
2167
  {
2150
- cause: U.cause || U
2168
+ cause: I.cause || I
2151
2169
  }
2152
- ) : E.from(U, U && U.code, a, B);
2170
+ ) : E.from(I, I && I.code, a, B);
2153
2171
  }
2154
2172
  };
2155
- }, Ao = /* @__PURE__ */ new Map(), zt = (e) => {
2156
- let t = e ? e.env : {};
2157
- const { fetch: n, Request: s, Response: o } = t, i = [
2173
+ }, Lr = /* @__PURE__ */ new Map(), zt = (e) => {
2174
+ let t = e && e.env || {};
2175
+ const { fetch: n, Request: s, Response: r } = t, i = [
2158
2176
  s,
2159
- o,
2177
+ r,
2160
2178
  n
2161
2179
  ];
2162
- let r = i.length, d = r, y, m, l = Ao;
2163
- for (; d--; )
2164
- y = i[d], m = l.get(y), m === void 0 && l.set(y, m = d ? /* @__PURE__ */ new Map() : Lo(t)), l = m;
2165
- return m;
2180
+ let o = i.length, c = o, y, f, l = Lr;
2181
+ for (; c--; )
2182
+ y = i[c], f = l.get(y), f === void 0 && l.set(y, f = c ? /* @__PURE__ */ new Map() : Rr(t)), l = f;
2183
+ return f;
2166
2184
  };
2167
2185
  zt();
2168
- const Ue = {
2186
+ const ze = {
2169
2187
  http: Gs,
2170
- xhr: Do,
2188
+ xhr: Er,
2171
2189
  fetch: {
2172
2190
  get: zt
2173
2191
  }
2174
2192
  };
2175
- f.forEach(Ue, (e, t) => {
2193
+ m.forEach(ze, (e, t) => {
2176
2194
  if (e) {
2177
2195
  try {
2178
2196
  Object.defineProperty(e, "name", { value: t });
@@ -2181,36 +2199,46 @@ f.forEach(Ue, (e, t) => {
2181
2199
  Object.defineProperty(e, "adapterName", { value: t });
2182
2200
  }
2183
2201
  });
2184
- const ct = (e) => `- ${e}`, Mo = (e) => f.isFunction(e) || e === null || e === !1, Jt = {
2185
- getAdapter: (e, t) => {
2186
- e = f.isArray(e) ? e : [e];
2187
- const { length: n } = e;
2188
- let s, o;
2189
- const i = {};
2190
- for (let r = 0; r < n; r++) {
2191
- s = e[r];
2192
- let d;
2193
- if (o = s, !Mo(s) && (o = Ue[(d = String(s)).toLowerCase()], o === void 0))
2194
- throw new E(`Unknown adapter '${d}'`);
2195
- if (o && (f.isFunction(o) || (o = o.get(t))))
2196
- break;
2197
- i[d || "#" + r] = o;
2198
- }
2199
- if (!o) {
2200
- const r = Object.entries(i).map(
2201
- ([y, m]) => `adapter ${y} ` + (m === !1 ? "is not supported by the environment" : "is not available in the build")
2202
- );
2203
- let d = n ? r.length > 1 ? `since :
2204
- ` + r.map(ct).join(`
2205
- `) : " " + ct(r[0]) : "as no adapter specified";
2206
- throw new E(
2207
- "There is no suitable adapter to dispatch the request " + d,
2208
- "ERR_NOT_SUPPORT"
2209
- );
2210
- }
2211
- return o;
2212
- },
2213
- adapters: Ue
2202
+ const ct = (e) => `- ${e}`, Ar = (e) => m.isFunction(e) || e === null || e === !1;
2203
+ function Mr(e, t) {
2204
+ e = m.isArray(e) ? e : [e];
2205
+ const { length: n } = e;
2206
+ let s, r;
2207
+ const i = {};
2208
+ for (let o = 0; o < n; o++) {
2209
+ s = e[o];
2210
+ let c;
2211
+ if (r = s, !Ar(s) && (r = ze[(c = String(s)).toLowerCase()], r === void 0))
2212
+ throw new E(`Unknown adapter '${c}'`);
2213
+ if (r && (m.isFunction(r) || (r = r.get(t))))
2214
+ break;
2215
+ i[c || "#" + o] = r;
2216
+ }
2217
+ if (!r) {
2218
+ const o = Object.entries(i).map(
2219
+ ([y, f]) => `adapter ${y} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
2220
+ );
2221
+ let c = n ? o.length > 1 ? `since :
2222
+ ` + o.map(ct).join(`
2223
+ `) : " " + ct(o[0]) : "as no adapter specified";
2224
+ throw new E(
2225
+ "There is no suitable adapter to dispatch the request " + c,
2226
+ "ERR_NOT_SUPPORT"
2227
+ );
2228
+ }
2229
+ return r;
2230
+ }
2231
+ const Jt = {
2232
+ /**
2233
+ * Resolve an adapter from a list of adapter names or functions.
2234
+ * @type {Function}
2235
+ */
2236
+ getAdapter: Mr,
2237
+ /**
2238
+ * Exposes all known adapters
2239
+ * @type {Object<string, Function|Object>}
2240
+ */
2241
+ adapters: ze
2214
2242
  };
2215
2243
  function Le(e) {
2216
2244
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
@@ -2234,43 +2262,43 @@ function ut(e) {
2234
2262
  ), s.response.headers = J.from(s.response.headers))), Promise.reject(s);
2235
2263
  });
2236
2264
  }
2237
- const Yt = "1.12.2", ke = {};
2265
+ const Yt = "1.13.2", Pe = {};
2238
2266
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
2239
- ke[e] = function(s) {
2267
+ Pe[e] = function(s) {
2240
2268
  return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
2241
2269
  };
2242
2270
  });
2243
2271
  const dt = {};
2244
- ke.transitional = function(t, n, s) {
2245
- function o(i, r) {
2246
- return "[Axios v" + Yt + "] Transitional option '" + i + "'" + r + (s ? ". " + s : "");
2272
+ Pe.transitional = function(t, n, s) {
2273
+ function r(i, o) {
2274
+ return "[Axios v" + Yt + "] Transitional option '" + i + "'" + o + (s ? ". " + s : "");
2247
2275
  }
2248
- return (i, r, d) => {
2276
+ return (i, o, c) => {
2249
2277
  if (t === !1)
2250
2278
  throw new E(
2251
- o(r, " has been removed" + (n ? " in " + n : "")),
2279
+ r(o, " has been removed" + (n ? " in " + n : "")),
2252
2280
  E.ERR_DEPRECATED
2253
2281
  );
2254
- return n && !dt[r] && (dt[r] = !0, console.warn(
2255
- o(
2256
- r,
2282
+ return n && !dt[o] && (dt[o] = !0, console.warn(
2283
+ r(
2284
+ o,
2257
2285
  " has been deprecated since v" + n + " and will be removed in the near future"
2258
2286
  )
2259
- )), t ? t(i, r, d) : !0;
2287
+ )), t ? t(i, o, c) : !0;
2260
2288
  };
2261
2289
  };
2262
- ke.spelling = function(t) {
2290
+ Pe.spelling = function(t) {
2263
2291
  return (n, s) => (console.warn(`${s} is likely a misspelling of ${t}`), !0);
2264
2292
  };
2265
- function No(e, t, n) {
2293
+ function Nr(e, t, n) {
2266
2294
  if (typeof e != "object")
2267
2295
  throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
2268
2296
  const s = Object.keys(e);
2269
- let o = s.length;
2270
- for (; o-- > 0; ) {
2271
- const i = s[o], r = t[i];
2272
- if (r) {
2273
- const d = e[i], y = d === void 0 || r(d, i, e);
2297
+ let r = s.length;
2298
+ for (; r-- > 0; ) {
2299
+ const i = s[r], o = t[i];
2300
+ if (o) {
2301
+ const c = e[i], y = c === void 0 || o(c, i, e);
2274
2302
  if (y !== !0)
2275
2303
  throw new E("option " + i + " must be " + y, E.ERR_BAD_OPTION_VALUE);
2276
2304
  continue;
@@ -2280,10 +2308,10 @@ function No(e, t, n) {
2280
2308
  }
2281
2309
  }
2282
2310
  const ve = {
2283
- assertOptions: No,
2284
- validators: ke
2311
+ assertOptions: Nr,
2312
+ validators: Pe
2285
2313
  }, Z = ve.validators;
2286
- let ne = class {
2314
+ let te = class {
2287
2315
  constructor(t) {
2288
2316
  this.defaults = t || {}, this.interceptors = {
2289
2317
  request: new Ke(),
@@ -2303,9 +2331,9 @@ let ne = class {
2303
2331
  return await this._request(t, n);
2304
2332
  } catch (s) {
2305
2333
  if (s instanceof Error) {
2306
- let o = {};
2307
- Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
2308
- const i = o.stack ? o.stack.replace(/^.+\n/, "") : "";
2334
+ let r = {};
2335
+ Error.captureStackTrace ? Error.captureStackTrace(r) : r = new Error();
2336
+ const i = r.stack ? r.stack.replace(/^.+\n/, "") : "";
2309
2337
  try {
2310
2338
  s.stack ? i && !String(s.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (s.stack += `
2311
2339
  ` + i) : s.stack = i;
@@ -2316,51 +2344,51 @@ let ne = class {
2316
2344
  }
2317
2345
  }
2318
2346
  _request(t, n) {
2319
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = se(this.defaults, n);
2320
- const { transitional: s, paramsSerializer: o, headers: i } = n;
2347
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = ne(this.defaults, n);
2348
+ const { transitional: s, paramsSerializer: r, headers: i } = n;
2321
2349
  s !== void 0 && ve.assertOptions(s, {
2322
2350
  silentJSONParsing: Z.transitional(Z.boolean),
2323
2351
  forcedJSONParsing: Z.transitional(Z.boolean),
2324
2352
  clarifyTimeoutError: Z.transitional(Z.boolean)
2325
- }, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
2326
- serialize: o
2327
- } : ve.assertOptions(o, {
2353
+ }, !1), r != null && (m.isFunction(r) ? n.paramsSerializer = {
2354
+ serialize: r
2355
+ } : ve.assertOptions(r, {
2328
2356
  encode: Z.function,
2329
2357
  serialize: Z.function
2330
2358
  }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), ve.assertOptions(n, {
2331
2359
  baseUrl: Z.spelling("baseURL"),
2332
2360
  withXsrfToken: Z.spelling("withXSRFToken")
2333
2361
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
2334
- let r = i && f.merge(
2362
+ let o = i && m.merge(
2335
2363
  i.common,
2336
2364
  i[n.method]
2337
2365
  );
2338
- i && f.forEach(
2366
+ i && m.forEach(
2339
2367
  ["delete", "get", "head", "post", "put", "patch", "common"],
2340
2368
  (a) => {
2341
2369
  delete i[a];
2342
2370
  }
2343
- ), n.headers = J.concat(r, i);
2344
- const d = [];
2371
+ ), n.headers = J.concat(o, i);
2372
+ const c = [];
2345
2373
  let y = !0;
2346
2374
  this.interceptors.request.forEach(function(g) {
2347
- typeof g.runWhen == "function" && g.runWhen(n) === !1 || (y = y && g.synchronous, d.unshift(g.fulfilled, g.rejected));
2375
+ typeof g.runWhen == "function" && g.runWhen(n) === !1 || (y = y && g.synchronous, c.unshift(g.fulfilled, g.rejected));
2348
2376
  });
2349
- const m = [];
2377
+ const f = [];
2350
2378
  this.interceptors.response.forEach(function(g) {
2351
- m.push(g.fulfilled, g.rejected);
2379
+ f.push(g.fulfilled, g.rejected);
2352
2380
  });
2353
- let l, c = 0, h;
2381
+ let l, u = 0, h;
2354
2382
  if (!y) {
2355
2383
  const a = [ut.bind(this), void 0];
2356
- for (a.unshift(...d), a.push(...m), h = a.length, l = Promise.resolve(n); c < h; )
2357
- l = l.then(a[c++], a[c++]);
2384
+ for (a.unshift(...c), a.push(...f), h = a.length, l = Promise.resolve(n); u < h; )
2385
+ l = l.then(a[u++], a[u++]);
2358
2386
  return l;
2359
2387
  }
2360
- h = d.length;
2388
+ h = c.length;
2361
2389
  let b = n;
2362
- for (; c < h; ) {
2363
- const a = d[c++], g = d[c++];
2390
+ for (; u < h; ) {
2391
+ const a = c[u++], g = c[u++];
2364
2392
  try {
2365
2393
  b = a(b);
2366
2394
  } catch (p) {
@@ -2373,41 +2401,41 @@ let ne = class {
2373
2401
  } catch (a) {
2374
2402
  return Promise.reject(a);
2375
2403
  }
2376
- for (c = 0, h = m.length; c < h; )
2377
- l = l.then(m[c++], m[c++]);
2404
+ for (u = 0, h = f.length; u < h; )
2405
+ l = l.then(f[u++], f[u++]);
2378
2406
  return l;
2379
2407
  }
2380
2408
  getUri(t) {
2381
- t = se(this.defaults, t);
2382
- const n = Ht(t.baseURL, t.url, t.allowAbsoluteUrls);
2383
- return jt(n, t.params, t.paramsSerializer);
2409
+ t = ne(this.defaults, t);
2410
+ const n = _t(t.baseURL, t.url, t.allowAbsoluteUrls);
2411
+ return qt(n, t.params, t.paramsSerializer);
2384
2412
  }
2385
2413
  };
2386
- f.forEach(["delete", "get", "head", "options"], function(t) {
2387
- ne.prototype[t] = function(n, s) {
2388
- return this.request(se(s || {}, {
2414
+ m.forEach(["delete", "get", "head", "options"], function(t) {
2415
+ te.prototype[t] = function(n, s) {
2416
+ return this.request(ne(s || {}, {
2389
2417
  method: t,
2390
2418
  url: n,
2391
2419
  data: (s || {}).data
2392
2420
  }));
2393
2421
  };
2394
2422
  });
2395
- f.forEach(["post", "put", "patch"], function(t) {
2423
+ m.forEach(["post", "put", "patch"], function(t) {
2396
2424
  function n(s) {
2397
- return function(i, r, d) {
2398
- return this.request(se(d || {}, {
2425
+ return function(i, o, c) {
2426
+ return this.request(ne(c || {}, {
2399
2427
  method: t,
2400
2428
  headers: s ? {
2401
2429
  "Content-Type": "multipart/form-data"
2402
2430
  } : {},
2403
2431
  url: i,
2404
- data: r
2432
+ data: o
2405
2433
  }));
2406
2434
  };
2407
2435
  }
2408
- ne.prototype[t] = n(), ne.prototype[t + "Form"] = n(!0);
2436
+ te.prototype[t] = n(), te.prototype[t + "Form"] = n(!0);
2409
2437
  });
2410
- let Bo = class Gt {
2438
+ let Br = class Gt {
2411
2439
  constructor(t) {
2412
2440
  if (typeof t != "function")
2413
2441
  throw new TypeError("executor must be a function.");
@@ -2416,22 +2444,22 @@ let Bo = class Gt {
2416
2444
  n = i;
2417
2445
  });
2418
2446
  const s = this;
2419
- this.promise.then((o) => {
2447
+ this.promise.then((r) => {
2420
2448
  if (!s._listeners) return;
2421
2449
  let i = s._listeners.length;
2422
2450
  for (; i-- > 0; )
2423
- s._listeners[i](o);
2451
+ s._listeners[i](r);
2424
2452
  s._listeners = null;
2425
- }), this.promise.then = (o) => {
2453
+ }), this.promise.then = (r) => {
2426
2454
  let i;
2427
- const r = new Promise((d) => {
2428
- s.subscribe(d), i = d;
2429
- }).then(o);
2430
- return r.cancel = function() {
2455
+ const o = new Promise((c) => {
2456
+ s.subscribe(c), i = c;
2457
+ }).then(r);
2458
+ return o.cancel = function() {
2431
2459
  s.unsubscribe(i);
2432
- }, r;
2433
- }, t(function(i, r, d) {
2434
- s.reason || (s.reason = new le(i, r, d), n(s.reason));
2460
+ }, o;
2461
+ }, t(function(i, o, c) {
2462
+ s.reason || (s.reason = new le(i, o, c), n(s.reason));
2435
2463
  });
2436
2464
  }
2437
2465
  /**
@@ -2473,22 +2501,22 @@ let Bo = class Gt {
2473
2501
  static source() {
2474
2502
  let t;
2475
2503
  return {
2476
- token: new Gt(function(o) {
2477
- t = o;
2504
+ token: new Gt(function(r) {
2505
+ t = r;
2478
2506
  }),
2479
2507
  cancel: t
2480
2508
  };
2481
2509
  }
2482
2510
  };
2483
- function Io(e) {
2511
+ function Ir(e) {
2484
2512
  return function(n) {
2485
2513
  return e.apply(null, n);
2486
2514
  };
2487
2515
  }
2488
- function Uo(e) {
2489
- return f.isObject(e) && e.isAxiosError === !0;
2516
+ function Ur(e) {
2517
+ return m.isObject(e) && e.isAxiosError === !0;
2490
2518
  }
2491
- const je = {
2519
+ const Ue = {
2492
2520
  Continue: 100,
2493
2521
  SwitchingProtocols: 101,
2494
2522
  Processing: 102,
@@ -2551,89 +2579,95 @@ const je = {
2551
2579
  InsufficientStorage: 507,
2552
2580
  LoopDetected: 508,
2553
2581
  NotExtended: 510,
2554
- NetworkAuthenticationRequired: 511
2582
+ NetworkAuthenticationRequired: 511,
2583
+ WebServerIsDown: 521,
2584
+ ConnectionTimedOut: 522,
2585
+ OriginIsUnreachable: 523,
2586
+ TimeoutOccurred: 524,
2587
+ SslHandshakeFailed: 525,
2588
+ InvalidSslCertificate: 526
2555
2589
  };
2556
- Object.entries(je).forEach(([e, t]) => {
2557
- je[t] = e;
2590
+ Object.entries(Ue).forEach(([e, t]) => {
2591
+ Ue[t] = e;
2558
2592
  });
2559
2593
  function Qt(e) {
2560
- const t = new ne(e), n = Ot(ne.prototype.request, t);
2561
- return f.extend(n, ne.prototype, t, { allOwnKeys: !0 }), f.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
2562
- return Qt(se(e, o));
2594
+ const t = new te(e), n = Ot(te.prototype.request, t);
2595
+ return m.extend(n, te.prototype, t, { allOwnKeys: !0 }), m.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
2596
+ return Qt(ne(e, r));
2563
2597
  }, n;
2564
2598
  }
2565
- const M = Qt(ge);
2566
- M.Axios = ne;
2567
- M.CanceledError = le;
2568
- M.CancelToken = Bo;
2569
- M.isCancel = Vt;
2570
- M.VERSION = Yt;
2571
- M.toFormData = Oe;
2572
- M.AxiosError = E;
2573
- M.Cancel = M.CanceledError;
2574
- M.all = function(t) {
2599
+ const A = Qt(ge);
2600
+ A.Axios = te;
2601
+ A.CanceledError = le;
2602
+ A.CancelToken = Br;
2603
+ A.isCancel = Vt;
2604
+ A.VERSION = Yt;
2605
+ A.toFormData = Oe;
2606
+ A.AxiosError = E;
2607
+ A.Cancel = A.CanceledError;
2608
+ A.all = function(t) {
2575
2609
  return Promise.all(t);
2576
2610
  };
2577
- M.spread = Io;
2578
- M.isAxiosError = Uo;
2579
- M.mergeConfig = se;
2580
- M.AxiosHeaders = J;
2581
- M.formToJSON = (e) => $t(f.isHTMLForm(e) ? new FormData(e) : e);
2582
- M.getAdapter = Jt.getAdapter;
2583
- M.HttpStatusCode = je;
2584
- M.default = M;
2611
+ A.spread = Ir;
2612
+ A.isAxiosError = Ur;
2613
+ A.mergeConfig = ne;
2614
+ A.AxiosHeaders = J;
2615
+ A.formToJSON = (e) => jt(m.isHTMLForm(e) ? new FormData(e) : e);
2616
+ A.getAdapter = Jt.getAdapter;
2617
+ A.HttpStatusCode = Ue;
2618
+ A.default = A;
2585
2619
  const {
2586
- Axios: Fi,
2587
- AxiosError: Ri,
2588
- CanceledError: Li,
2589
- isCancel: Ai,
2590
- CancelToken: Mi,
2591
- VERSION: Ni,
2592
- all: Bi,
2593
- Cancel: Ii,
2594
- isAxiosError: Ui,
2595
- spread: ji,
2596
- toFormData: qi,
2597
- AxiosHeaders: $i,
2598
- HttpStatusCode: Vi,
2620
+ Axios: Ri,
2621
+ AxiosError: Li,
2622
+ CanceledError: Ai,
2623
+ isCancel: Mi,
2624
+ CancelToken: Ni,
2625
+ VERSION: Bi,
2626
+ all: Ii,
2627
+ Cancel: Ui,
2628
+ isAxiosError: qi,
2629
+ spread: $i,
2630
+ toFormData: ji,
2631
+ AxiosHeaders: Vi,
2632
+ HttpStatusCode: Hi,
2599
2633
  formToJSON: _i,
2600
- getAdapter: Hi,
2601
- mergeConfig: Wi
2602
- } = M;
2603
- function jo() {
2634
+ getAdapter: Wi,
2635
+ mergeConfig: zi
2636
+ } = A;
2637
+ function qr() {
2604
2638
  function e(t, n = {}) {
2605
2639
  return n = { ...{
2606
2640
  timeout: 5e3,
2607
2641
  headers: {
2608
2642
  "Cache-Control": "no-cache"
2609
2643
  }
2610
- }, ...n }, M.get(t, n).then((i) => i.data);
2644
+ }, ...n }, A.get(t, n).then((i) => i.data);
2611
2645
  }
2612
2646
  return {
2613
2647
  loadResource: e
2614
2648
  };
2615
2649
  }
2616
- const qo = {
2650
+ const $r = {
2617
2651
  selectedStart: "已选:",
2618
2652
  selectedEnd: "项数据"
2619
- }, $o = {
2653
+ }, jr = {
2620
2654
  placeholder: "请选择时间",
2621
2655
  time: {
2622
2656
  hour: "时",
2623
2657
  minute: "分",
2624
2658
  seconds: "秒"
2625
2659
  }
2626
- }, Vo = {
2660
+ }, Vr = {
2627
2661
  more: "更多",
2628
2662
  leftButton: "向左",
2629
2663
  rightButton: "向左",
2630
2664
  noData: "没有相关数据"
2631
- }, _o = {
2665
+ }, Hr = {
2632
2666
  expandLabel: "展开",
2633
2667
  collapseLabel: "收起"
2634
- }, Ho = {
2668
+ }, _r = {
2635
2669
  more: "更多"
2636
- }, Wo = {
2670
+ }, Wr = {
2637
2671
  saveAsDialog: {
2638
2672
  queryPlanName: "方案名称",
2639
2673
  setAsDefault: "设为默认",
@@ -2669,9 +2703,9 @@ const qo = {
2669
2703
  filter: "筛选",
2670
2704
  default: "默认筛选方案",
2671
2705
  clear: "清空",
2672
- require: "请填写{fields}再进行筛选"
2706
+ require: "请填写[fields]再进行筛选"
2673
2707
  }
2674
- }, zo = {
2708
+ }, zr = {
2675
2709
  message: "共 <b>{1}</b> 条",
2676
2710
  totalInfo: {
2677
2711
  firstText: "共",
@@ -2688,13 +2722,13 @@ const qo = {
2688
2722
  suffix: "页"
2689
2723
  },
2690
2724
  show: "显示"
2691
- }, Jo = {
2725
+ }, Jr = {
2692
2726
  placeholder: "请输入数字",
2693
2727
  range: {
2694
2728
  begin: "开始数字",
2695
2729
  end: "结束数字"
2696
2730
  }
2697
- }, Yo = {
2731
+ }, Yr = {
2698
2732
  yes: "是",
2699
2733
  no: "否",
2700
2734
  ok: "确定",
@@ -2726,7 +2760,7 @@ const qo = {
2726
2760
  copyFailed: "复制失败",
2727
2761
  roger: "知道了"
2728
2762
  }
2729
- }, Go = {
2763
+ }, Gr = {
2730
2764
  exact: "精确",
2731
2765
  placeholder: "请选择",
2732
2766
  favorites: "收藏夹",
@@ -2781,11 +2815,11 @@ const qo = {
2781
2815
  },
2782
2816
  clearAllConditions: "清除所有查询条件",
2783
2817
  anyFields: "全部"
2784
- }, Qo = {
2818
+ }, Qr = {
2785
2819
  message: "正在加载,请稍候..."
2786
- }, Xo = {
2820
+ }, Xr = {
2787
2821
  emptyMessage: "暂无数据"
2788
- }, Zo = {
2822
+ }, Zr = {
2789
2823
  cancelButton: "取消",
2790
2824
  okButton: "确定",
2791
2825
  addWhere: "添加子句",
@@ -2820,15 +2854,16 @@ const qo = {
2820
2854
  relation: "条件关系不完整,请检查",
2821
2855
  field: "条件字段未设置,请检查"
2822
2856
  }
2823
- }, Ko = {
2857
+ }, Kr = {
2824
2858
  confirm: "确定",
2825
2859
  cancel: "取消",
2826
2860
  advancedFilter: "更多筛选",
2827
2861
  clearAll: "清空筛选",
2828
2862
  reset: "清空筛选",
2829
2863
  expand: "展开",
2830
- fold: "收起"
2831
- }, er = {
2864
+ fold: "收起",
2865
+ require: "请填写[fields]再进行筛选"
2866
+ }, eo = {
2832
2867
  title: "参数编辑器",
2833
2868
  ok: "确定",
2834
2869
  cancel: "取消",
@@ -2851,10 +2886,10 @@ const qo = {
2851
2886
  comboTree: {
2852
2887
  placeholder: "请选择"
2853
2888
  }
2854
- }, tr = {
2889
+ }, to = {
2855
2890
  cancel: "取消",
2856
2891
  confirm: "确定"
2857
- }, nr = {
2892
+ }, no = {
2858
2893
  dayLabels: {
2859
2894
  Sun: "日",
2860
2895
  Mon: "一",
@@ -2937,7 +2972,7 @@ const qo = {
2937
2972
  recent6Months: "最近6个月",
2938
2973
  nextYear: "明年"
2939
2974
  }
2940
- }, sr = {
2975
+ }, so = {
2941
2976
  lineNumberTitle: "序号",
2942
2977
  emptyMessage: "暂无数据",
2943
2978
  pagination: {
@@ -3057,13 +3092,13 @@ const qo = {
3057
3092
  cancel: "取消",
3058
3093
  accept: "确定"
3059
3094
  }
3060
- }, or = {
3095
+ }, ro = {
3061
3096
  add: "添加条件",
3062
3097
  create: "生成条件组",
3063
3098
  reset: "重置",
3064
3099
  and: "与",
3065
3100
  or: "或"
3066
- }, rr = {
3101
+ }, oo = {
3067
3102
  equal: "等于",
3068
3103
  notEqual: "不等于",
3069
3104
  greater: "大于",
@@ -3084,7 +3119,7 @@ const qo = {
3084
3119
  endWith: "结束是",
3085
3120
  and: "与",
3086
3121
  or: "或"
3087
- }, ir = {
3122
+ }, io = {
3088
3123
  reply: "回复",
3089
3124
  cancel: "取消",
3090
3125
  submit: "提交",
@@ -3092,10 +3127,10 @@ const qo = {
3092
3127
  colleague: "同事",
3093
3128
  searchPlaceholder: "请输入姓名搜索",
3094
3129
  submitEmpty: "提交内容不能为空"
3095
- }, ar = {
3130
+ }, ao = {
3096
3131
  remoteError: "请求方法类型不正确",
3097
3132
  placeholder: "请选择"
3098
- }, lr = {
3133
+ }, lo = {
3099
3134
  dayLabels: {
3100
3135
  Sun: "星期日",
3101
3136
  Mon: "星期一",
@@ -3136,62 +3171,62 @@ const qo = {
3136
3171
  prevYear: "上一年",
3137
3172
  nextYear: "下一年",
3138
3173
  more: "还有 #count# 项..."
3139
- }, cr = {
3174
+ }, co = {
3140
3175
  imgtitle: "点击修改",
3141
3176
  typeError: "上传图片类型不正确",
3142
3177
  sizeError: "上传图片不能大于",
3143
3178
  uploadError: "图片上传失败,请重试!",
3144
3179
  loadError: "加载错误",
3145
3180
  loading: "加载中"
3146
- }, ur = {
3147
- transfer: qo,
3148
- timePicker: $o,
3149
- tabs: Vo,
3150
- section: _o,
3151
- responseToolbar: Ho,
3152
- querySolution: Wo,
3153
- pagination: zo,
3154
- numberSpinner: Jo,
3155
- messageBox: Yo,
3156
- lookup: Go,
3157
- loading: Qo,
3158
- listView: Xo,
3181
+ }, uo = {
3182
+ transfer: $r,
3183
+ timePicker: jr,
3184
+ tabs: Vr,
3185
+ section: Hr,
3186
+ responseToolbar: _r,
3187
+ querySolution: Wr,
3188
+ pagination: zr,
3189
+ numberSpinner: Jr,
3190
+ messageBox: Yr,
3191
+ lookup: Gr,
3192
+ loading: Qr,
3193
+ listView: Xr,
3159
3194
  "input-group": {
3160
3195
  placeholder: "请输入"
3161
3196
  },
3162
- filterConditionEditor: Zo,
3163
- filterBar: Ko,
3164
- eventParameter: er,
3165
- drawer: tr,
3166
- datepicker: nr,
3167
- datagrid: sr,
3168
- condition: or,
3169
- operators: rr,
3170
- comment: ir,
3171
- comboList: ar,
3172
- calendar: lr,
3173
- avatar: cr
3174
- }, dr = {
3197
+ filterConditionEditor: Zr,
3198
+ filterBar: Kr,
3199
+ eventParameter: eo,
3200
+ drawer: to,
3201
+ datepicker: no,
3202
+ datagrid: so,
3203
+ condition: ro,
3204
+ operators: oo,
3205
+ comment: io,
3206
+ comboList: ao,
3207
+ calendar: lo,
3208
+ avatar: co
3209
+ }, mo = {
3175
3210
  selectedStart: "Selected: ",
3176
3211
  selectedEnd: " Items"
3177
- }, mr = {
3212
+ }, fo = {
3178
3213
  placeholder: "Please select a time",
3179
3214
  time: {
3180
3215
  hour: "Hour",
3181
3216
  minute: "Minute",
3182
3217
  seconds: "Second"
3183
3218
  }
3184
- }, fr = {
3219
+ }, po = {
3185
3220
  more: "More",
3186
3221
  leftButton: "Left",
3187
3222
  rightButton: "Right",
3188
3223
  noData: "No data available"
3189
- }, pr = {
3224
+ }, go = {
3190
3225
  expandLabel: "Expand",
3191
3226
  collapseLabel: "Collapse"
3192
- }, gr = {
3227
+ }, ho = {
3193
3228
  more: "More"
3194
- }, hr = {
3229
+ }, yo = {
3195
3230
  saveAsDialog: {
3196
3231
  queryPlanName: "Solution Name",
3197
3232
  setAsDefault: "Set as default",
@@ -3227,9 +3262,9 @@ const qo = {
3227
3262
  filter: "Filter",
3228
3263
  default: "Default Filter Solution",
3229
3264
  clear: "Clear",
3230
- require: "Please fill in {fields} before filtering"
3265
+ require: "Please fill in [fields] before filtering"
3231
3266
  }
3232
- }, yr = {
3267
+ }, bo = {
3233
3268
  message: "Total <b>{1}</b> Items ",
3234
3269
  totalInfo: {
3235
3270
  firstText: "Total",
@@ -3246,13 +3281,13 @@ const qo = {
3246
3281
  suffix: ""
3247
3282
  },
3248
3283
  show: "Display"
3249
- }, br = {
3284
+ }, vo = {
3250
3285
  placeholder: "Please enter the number",
3251
3286
  range: {
3252
3287
  begin: "Begin number",
3253
3288
  end: "End number"
3254
3289
  }
3255
- }, vr = {
3290
+ }, Co = {
3256
3291
  yes: "Yes",
3257
3292
  no: "No",
3258
3293
  ok: "OK",
@@ -3284,7 +3319,7 @@ const qo = {
3284
3319
  copyFailed: "Copy Failed.",
3285
3320
  roger: "OK"
3286
3321
  }
3287
- }, Cr = {
3322
+ }, So = {
3288
3323
  exact: "Exact",
3289
3324
  placeholder: "Please select",
3290
3325
  favorites: "Favorites",
@@ -3339,11 +3374,11 @@ const qo = {
3339
3374
  },
3340
3375
  clearAllConditions: "Clear All Conditions",
3341
3376
  anyFields: "All"
3342
- }, xr = {
3377
+ }, xo = {
3343
3378
  message: "Loading ..."
3344
- }, Sr = {
3379
+ }, To = {
3345
3380
  emptyMessage: "Empty Data"
3346
- }, Tr = {
3381
+ }, wo = {
3347
3382
  cancelButton: "Cancel",
3348
3383
  okButton: "OK",
3349
3384
  addWhere: "Add",
@@ -3378,15 +3413,16 @@ const qo = {
3378
3413
  relation: "The condition relationship is incomplete, please check",
3379
3414
  field: "Condition field is not set, please check"
3380
3415
  }
3381
- }, wr = {
3416
+ }, Eo = {
3382
3417
  confirm: "OK",
3383
3418
  cancel: "Cancel",
3384
3419
  advancedFilter: "More Conditions",
3385
3420
  clearAll: "Clear",
3386
3421
  reset: "Clear",
3387
3422
  expand: "Expand",
3388
- fold: "Fold"
3389
- }, Er = {
3423
+ fold: "Fold",
3424
+ require: "Please fill in [fields] before filtering"
3425
+ }, Do = {
3390
3426
  title: "Parameter Editor",
3391
3427
  ok: "confirm",
3392
3428
  cancel: "cancel",
@@ -3409,10 +3445,10 @@ const qo = {
3409
3445
  comboTree: {
3410
3446
  placeholder: "Please select"
3411
3447
  }
3412
- }, Dr = {
3448
+ }, Oo = {
3413
3449
  cancel: "Cancel",
3414
3450
  confirm: "Confirm"
3415
- }, Or = {
3451
+ }, Po = {
3416
3452
  dayLabels: {
3417
3453
  Sun: "Sun",
3418
3454
  Mon: "Mon",
@@ -3495,7 +3531,7 @@ const qo = {
3495
3531
  recent6Months: "Recent 6 Months",
3496
3532
  nextYear: "Next Year"
3497
3533
  }
3498
- }, kr = {
3534
+ }, ko = {
3499
3535
  lineNumberTitle: "NO.",
3500
3536
  emptyMessage: "Empty Data",
3501
3537
  pagination: {
@@ -3615,13 +3651,13 @@ const qo = {
3615
3651
  cancel: "Cancel",
3616
3652
  accept: "Accept"
3617
3653
  }
3618
- }, Pr = {
3654
+ }, Fo = {
3619
3655
  add: "Add condition",
3620
3656
  create: "Create condition group",
3621
3657
  reset: "Reset",
3622
3658
  and: "And",
3623
3659
  or: "Or"
3624
- }, Fr = {
3660
+ }, Ro = {
3625
3661
  equal: "Equal",
3626
3662
  notEqual: "Not equal",
3627
3663
  greater: "Greater than",
@@ -3642,7 +3678,7 @@ const qo = {
3642
3678
  endWith: "Ends with",
3643
3679
  and: "And",
3644
3680
  or: "Or"
3645
- }, Rr = {
3681
+ }, Lo = {
3646
3682
  reply: "Reply",
3647
3683
  cancel: "Cancel",
3648
3684
  submit: "Submit",
@@ -3650,10 +3686,10 @@ const qo = {
3650
3686
  colleague: "Colleague",
3651
3687
  searchPlaceholder: "Enter name to search",
3652
3688
  submitEmpty: "Submission content cannot be empty"
3653
- }, Lr = {
3689
+ }, Ao = {
3654
3690
  remoteError: "The request method type is incorrect",
3655
3691
  placeholder: "Please select"
3656
- }, Ar = {
3692
+ }, Mo = {
3657
3693
  dayLabels: {
3658
3694
  Sun: "Sun",
3659
3695
  Mon: "Mon",
@@ -3694,62 +3730,62 @@ const qo = {
3694
3730
  prevYear: "Prev Year",
3695
3731
  nextYear: "Next Year",
3696
3732
  more: "Still #count# more items..."
3697
- }, Mr = {
3733
+ }, No = {
3698
3734
  imgtitle: "Amend",
3699
3735
  typeError: "Type error",
3700
3736
  sizeError: "Can not be larger than",
3701
3737
  uploadError: "Upload Fail!",
3702
3738
  loadError: "Load error.",
3703
3739
  loading: "Loading"
3704
- }, Nr = {
3705
- transfer: dr,
3706
- timePicker: mr,
3707
- tabs: fr,
3708
- section: pr,
3709
- responseToolbar: gr,
3710
- querySolution: hr,
3711
- pagination: yr,
3712
- numberSpinner: br,
3713
- messageBox: vr,
3714
- lookup: Cr,
3715
- loading: xr,
3716
- listView: Sr,
3740
+ }, Bo = {
3741
+ transfer: mo,
3742
+ timePicker: fo,
3743
+ tabs: po,
3744
+ section: go,
3745
+ responseToolbar: ho,
3746
+ querySolution: yo,
3747
+ pagination: bo,
3748
+ numberSpinner: vo,
3749
+ messageBox: Co,
3750
+ lookup: So,
3751
+ loading: xo,
3752
+ listView: To,
3717
3753
  "input-group": {
3718
3754
  placeholder: "Enter"
3719
3755
  },
3720
- filterConditionEditor: Tr,
3721
- filterBar: wr,
3722
- eventParameter: Er,
3723
- drawer: Dr,
3724
- datepicker: Or,
3725
- datagrid: kr,
3726
- condition: Pr,
3727
- operators: Fr,
3728
- comment: Rr,
3729
- comboList: Lr,
3730
- calendar: Ar,
3731
- avatar: Mr
3732
- }, Br = {
3756
+ filterConditionEditor: wo,
3757
+ filterBar: Eo,
3758
+ eventParameter: Do,
3759
+ drawer: Oo,
3760
+ datepicker: Po,
3761
+ datagrid: ko,
3762
+ condition: Fo,
3763
+ operators: Ro,
3764
+ comment: Lo,
3765
+ comboList: Ao,
3766
+ calendar: Mo,
3767
+ avatar: No
3768
+ }, Io = {
3733
3769
  selectedStart: "已選:",
3734
3770
  selectedEnd: "項數據"
3735
- }, Ir = {
3771
+ }, Uo = {
3736
3772
  placeholder: "請選擇時間",
3737
3773
  time: {
3738
3774
  hour: "時",
3739
3775
  minute: "分",
3740
3776
  seconds: "秒"
3741
3777
  }
3742
- }, Ur = {
3778
+ }, qo = {
3743
3779
  more: "更多",
3744
3780
  leftButton: "向左",
3745
3781
  rightButton: "向左",
3746
3782
  noData: "沒有相關數據"
3747
- }, jr = {
3783
+ }, $o = {
3748
3784
  expandLabel: "展開",
3749
3785
  collapseLabel: "收起"
3750
- }, qr = {
3786
+ }, jo = {
3751
3787
  more: "更多"
3752
- }, $r = {
3788
+ }, Vo = {
3753
3789
  saveAsDialog: {
3754
3790
  queryPlanName: "方案名稱",
3755
3791
  setAsDefault: "設為預設",
@@ -3785,9 +3821,9 @@ const qo = {
3785
3821
  filter: "篩選",
3786
3822
  default: "默認篩選方案",
3787
3823
  clear: "清空",
3788
- require: "請填寫{fields}再進行篩選"
3824
+ require: "請填寫[fields]再進行篩選"
3789
3825
  }
3790
- }, Vr = {
3826
+ }, Ho = {
3791
3827
  message: "共 <b>{1}</b> 條 ",
3792
3828
  totalInfo: {
3793
3829
  firstText: "共",
@@ -3804,13 +3840,13 @@ const qo = {
3804
3840
  suffix: "頁"
3805
3841
  },
3806
3842
  show: "顯示"
3807
- }, _r = {
3843
+ }, _o = {
3808
3844
  placeholder: "請輸入數字",
3809
3845
  range: {
3810
3846
  begin: "開始數字",
3811
3847
  end: "結束數字"
3812
3848
  }
3813
- }, Hr = {
3849
+ }, Wo = {
3814
3850
  yes: "是",
3815
3851
  no: "否",
3816
3852
  ok: "確定",
@@ -3838,7 +3874,7 @@ const qo = {
3838
3874
  copyFailed: "複制失敗",
3839
3875
  roger: "知道了"
3840
3876
  }
3841
- }, Wr = {
3877
+ }, zo = {
3842
3878
  exact: "精確",
3843
3879
  placeholder: "請選擇",
3844
3880
  favorites: "收藏夾",
@@ -3893,11 +3929,11 @@ const qo = {
3893
3929
  },
3894
3930
  clearAllConditions: "清除所有查詢條件",
3895
3931
  anyFields: "全部"
3896
- }, zr = {
3932
+ }, Jo = {
3897
3933
  message: "正在加載,請稍候..."
3898
- }, Jr = {
3934
+ }, Yo = {
3899
3935
  emptyMessage: "暫無數據"
3900
- }, Yr = {
3936
+ }, Go = {
3901
3937
  cancelButton: "取消",
3902
3938
  okButton: "確定",
3903
3939
  addWhere: "添加子句",
@@ -3932,15 +3968,16 @@ const qo = {
3932
3968
  relation: "條件關系不完整,請檢查",
3933
3969
  field: "條件字段未設置,請檢查"
3934
3970
  }
3935
- }, Gr = {
3971
+ }, Qo = {
3936
3972
  confirm: "確定",
3937
3973
  cancel: "取消",
3938
3974
  advancedFilter: "更多篩選",
3939
3975
  clearAll: "清空篩選",
3940
3976
  reset: "清空篩選",
3941
3977
  expand: "展開",
3942
- fold: "收起"
3943
- }, Qr = {
3978
+ fold: "收起",
3979
+ require: "請填寫[fields]再進行篩選"
3980
+ }, Xo = {
3944
3981
  title: "參數編輯器",
3945
3982
  ok: "確定",
3946
3983
  cancel: "取消",
@@ -3963,10 +4000,10 @@ const qo = {
3963
4000
  comboTree: {
3964
4001
  placeholder: "請選擇"
3965
4002
  }
3966
- }, Xr = {
4003
+ }, Zo = {
3967
4004
  cancel: "取消",
3968
4005
  confirm: "確定"
3969
- }, Zr = {
4006
+ }, Ko = {
3970
4007
  dayLabels: {
3971
4008
  Sun: "日",
3972
4009
  Mon: "一",
@@ -4049,7 +4086,7 @@ const qo = {
4049
4086
  recent6Months: "最近6個月",
4050
4087
  nextYear: "明年"
4051
4088
  }
4052
- }, Kr = {
4089
+ }, ei = {
4053
4090
  lineNumberTitle: "序號",
4054
4091
  emptyMessage: "暫無數據",
4055
4092
  pagination: {
@@ -4169,13 +4206,13 @@ const qo = {
4169
4206
  cancel: "取消",
4170
4207
  accept: "確定"
4171
4208
  }
4172
- }, ei = {
4209
+ }, ti = {
4173
4210
  add: "新增條件",
4174
4211
  create: "建立條件群組",
4175
4212
  reset: "重設",
4176
4213
  and: "且",
4177
4214
  or: "或"
4178
- }, ti = {
4215
+ }, ni = {
4179
4216
  equal: "等於",
4180
4217
  notEqual: "不等於",
4181
4218
  greater: "大於",
@@ -4196,7 +4233,7 @@ const qo = {
4196
4233
  endWith: "結束於",
4197
4234
  and: "且",
4198
4235
  or: "或"
4199
- }, ni = {
4236
+ }, si = {
4200
4237
  reply: "回覆",
4201
4238
  cancel: "取消",
4202
4239
  submit: "提交",
@@ -4204,7 +4241,7 @@ const qo = {
4204
4241
  colleague: "同事",
4205
4242
  searchPlaceholder: "請輸入姓名搜尋",
4206
4243
  submitEmpty: "提交內容不能為空"
4207
- }, si = {
4244
+ }, ri = {
4208
4245
  remoteError: "請求方法類型不正確",
4209
4246
  placeholder: "請選擇"
4210
4247
  }, oi = {
@@ -4248,45 +4285,45 @@ const qo = {
4248
4285
  prevYear: "上一年",
4249
4286
  nextYear: "下一年",
4250
4287
  more: "還有 #count# 項..."
4251
- }, ri = {
4288
+ }, ii = {
4252
4289
  imgtitle: "點擊修改",
4253
4290
  typeError: "上傳圖片類型不正確",
4254
4291
  sizeError: "上傳圖片不能大於",
4255
4292
  uploadError: "圖片上傳失敗,請重試!",
4256
4293
  loadError: "加載錯誤",
4257
4294
  loading: "加載中"
4258
- }, ii = {
4259
- transfer: Br,
4260
- timePicker: Ir,
4261
- tabs: Ur,
4262
- section: jr,
4263
- responseToolbar: qr,
4264
- querySolution: $r,
4265
- pagination: Vr,
4266
- numberSpinner: _r,
4267
- messageBox: Hr,
4268
- lookup: Wr,
4269
- loading: zr,
4270
- listView: Jr,
4295
+ }, ai = {
4296
+ transfer: Io,
4297
+ timePicker: Uo,
4298
+ tabs: qo,
4299
+ section: $o,
4300
+ responseToolbar: jo,
4301
+ querySolution: Vo,
4302
+ pagination: Ho,
4303
+ numberSpinner: _o,
4304
+ messageBox: Wo,
4305
+ lookup: zo,
4306
+ loading: Jo,
4307
+ listView: Yo,
4271
4308
  "input-group": {
4272
4309
  placeholder: "請輸入"
4273
4310
  },
4274
- filterConditionEditor: Yr,
4275
- filterBar: Gr,
4276
- eventParameter: Qr,
4277
- drawer: Xr,
4278
- datepicker: Zr,
4279
- datagrid: Kr,
4280
- condition: ei,
4281
- operators: ti,
4282
- comment: ni,
4283
- comboList: si,
4311
+ filterConditionEditor: Go,
4312
+ filterBar: Qo,
4313
+ eventParameter: Xo,
4314
+ drawer: Zo,
4315
+ datepicker: Ko,
4316
+ datagrid: ei,
4317
+ condition: ti,
4318
+ operators: ni,
4319
+ comment: si,
4320
+ comboList: ri,
4284
4321
  calendar: oi,
4285
- avatar: ri
4322
+ avatar: ii
4286
4323
  }, mt = {
4287
- "zh-CHS": ur,
4288
- en: Nr,
4289
- "zh-CHT": ii
4324
+ "zh-CHS": uo,
4325
+ en: Bo,
4326
+ "zh-CHT": ai
4290
4327
  }, R = class R {
4291
4328
  static async setup(t, n = {}) {
4292
4329
  R.config = { ...cs, ...n };
@@ -4299,7 +4336,7 @@ const qo = {
4299
4336
  globalInjection: !0,
4300
4337
  silentTranslationWarn: !0,
4301
4338
  silentFallbackWarn: !0,
4302
- missing: (o, i) => R.getDefaultLocaleValue(s, i)
4339
+ missing: (r, i) => R.getDefaultLocaleValue(s, i)
4303
4340
  }), t.use(R.i18n), await this.loadResources();
4304
4341
  }
4305
4342
  /**
@@ -4316,7 +4353,7 @@ const qo = {
4316
4353
  */
4317
4354
  static getDefaultLocaleValue(t, n) {
4318
4355
  const s = mt[t] || mt["zh-CHS"];
4319
- return n.split(".").reduce((r, d) => r[d], s);
4356
+ return n.split(".").reduce((o, c) => o[c], s);
4320
4357
  }
4321
4358
  static getLocaleValue(t, n) {
4322
4359
  if (R.i18n)
@@ -4335,37 +4372,37 @@ const qo = {
4335
4372
  return !t || t === n ? R.getLocaleValue(s) : t;
4336
4373
  }
4337
4374
  static async loadResources(t = {}) {
4338
- const n = {}, s = R.config.locale, o = R.config.fallbackLocale;
4339
- return n[s] = await R.loadLocaleResources(s), o && s !== o && (n[o] = await R.loadLocaleResources(o), R.i18n.global.setLocaleMessage(o, n[o])), R.i18n.global.setLocaleMessage(s, n[s]), n;
4375
+ const n = {}, s = R.config.locale, r = R.config.fallbackLocale;
4376
+ return n[s] = await R.loadLocaleResources(s), r && s !== r && (n[r] = await R.loadLocaleResources(r), R.i18n.global.setLocaleMessage(r, n[r])), R.i18n.global.setLocaleMessage(s, n[s]), n;
4340
4377
  }
4341
4378
  static async loadLocaleResources(t) {
4342
4379
  var n, s;
4343
4380
  try {
4344
- let o = {};
4345
- const { loadResource: i } = jo();
4381
+ let r = {};
4382
+ const { loadResource: i } = qr();
4346
4383
  if (R.config.uri) {
4347
- const r = `${R.config.uri}/${t}.json?version=${(/* @__PURE__ */ new Date()).valueOf()}`;
4348
- o = await i(r);
4384
+ const o = `${R.config.uri}/${t}.json?version=${(/* @__PURE__ */ new Date()).valueOf()}`;
4385
+ r = await i(o);
4349
4386
  }
4350
- return (n = R.config.localResources) != null && n[t] && (o = { ...o, ...R.config.localResources[t] }), o;
4351
- } catch (o) {
4352
- return console.warn(`Failed to load locale ${t}:`, o), ((s = R.config.localResources) == null ? void 0 : s[t]) || {};
4387
+ return (n = R.config.localResources) != null && n[t] && (r = { ...r, ...R.config.localResources[t] }), r;
4388
+ } catch (r) {
4389
+ return console.warn(`Failed to load locale ${t}:`, r), ((s = R.config.localResources) == null ? void 0 : s[t]) || {};
4353
4390
  }
4354
4391
  }
4355
4392
  };
4356
- Pe(R, "i18n"), Pe(R, "config");
4357
- let Se = R;
4358
- function ai(e, t) {
4359
- const n = P(), s = P(e.personnelsDisplayKey), o = P(!1), i = P(!1);
4360
- function r(c) {
4361
- c && c.stopPropagation && c.stopPropagation();
4393
+ ke(R, "i18n"), ke(R, "config");
4394
+ let xe = R;
4395
+ function li(e, t) {
4396
+ const n = P(), s = P(e.personnelsDisplayKey), r = P(!1), i = P(!1);
4397
+ function o(u) {
4398
+ u && u.stopPropagation && u.stopPropagation();
4362
4399
  }
4363
- function d(c, h, b) {
4364
- return !c || !h ? !1 : b.findIndex((a) => c === a[h]) !== -1;
4400
+ function c(u, h, b) {
4401
+ return !u || !h ? !1 : b.findIndex((a) => u === a[h]) !== -1;
4365
4402
  }
4366
- async function y(c, h) {
4403
+ async function y(u, h) {
4367
4404
  if (e.personSearchUrl) {
4368
- const b = `${e.personSearchUrl}?param=${c}&pageSize=20&pageIndex=${h}`;
4405
+ const b = `${e.personSearchUrl}?param=${u}&pageSize=20&pageIndex=${h}`;
4369
4406
  return fetch(b).then((a) => {
4370
4407
  if (!a.ok)
4371
4408
  throw new Error("获取数据异常");
@@ -4376,9 +4413,9 @@ function ai(e, t) {
4376
4413
  b([]);
4377
4414
  });
4378
4415
  }
4379
- function m(c) {
4380
- if (c && c[s.value]) {
4381
- const h = c[s.value];
4416
+ function f(u) {
4417
+ if (u && u[s.value]) {
4418
+ const h = u[s.value];
4382
4419
  return h.substring(h.length - 2, h.length);
4383
4420
  }
4384
4421
  return "";
@@ -4390,11 +4427,11 @@ function ai(e, t) {
4390
4427
  personnelsDisplayKey: s,
4391
4428
  /** 搜索人事管理弹窗 */
4392
4429
  personModalVisible: i,
4393
- relativeVisible: o,
4394
- stopBubble: r,
4395
- judgeIsInArray: d,
4430
+ relativeVisible: r,
4431
+ stopBubble: o,
4432
+ judgeIsInArray: c,
4396
4433
  getSearchData: y,
4397
- getAvatar: m,
4434
+ getAvatar: f,
4398
4435
  setRelativeValue: l
4399
4436
  };
4400
4437
  }
@@ -4410,26 +4447,26 @@ function Je() {
4410
4447
  submitEmpty: e("comment.submitEmpty")
4411
4448
  };
4412
4449
  }
4413
- const li = /* @__PURE__ */ de({
4450
+ const ci = /* @__PURE__ */ de({
4414
4451
  name: "FColleaguePanel",
4415
- props: Ve,
4452
+ props: je,
4416
4453
  emits: ["submit", "cancel"],
4417
4454
  setup(e, t) {
4418
- const n = P(), s = _(() => n), o = Je(), {
4455
+ const n = P(), s = H(() => n), r = Je(), {
4419
4456
  judgeIsInArray: i,
4420
- personnelsDisplayKey: r,
4421
- stopBubble: d,
4457
+ personnelsDisplayKey: o,
4458
+ stopBubble: c,
4422
4459
  getSearchData: y,
4423
- getAvatar: m
4424
- } = ai(e);
4460
+ getAvatar: f
4461
+ } = li(e);
4425
4462
  let l = [];
4426
- const c = o.searchPlaceholder, h = '<span class="f-icon f-icon-search"></span>';
4463
+ const u = r.searchPlaceholder, h = '<span class="f-icon f-icon-search"></span>';
4427
4464
  let b = {};
4428
- const a = P(""), g = P(""), p = P(0), v = P("");
4429
- let T = e.personnels.length ? Ce(e.personnels) : [], w = e.personnels.length ? Ce(e.personnels) : [];
4430
- const k = P();
4465
+ const a = P(""), g = P(""), p = P(0), C = P("");
4466
+ let x = e.personnels.length ? Ce(e.personnels) : [], w = e.personnels.length ? Ce(e.personnels) : [];
4467
+ const O = P();
4431
4468
  P("");
4432
- const C = P(e.personnelsPrimaryKey), O = {
4469
+ const S = P(0), D = P(e.personnelsPrimaryKey), F = {
4433
4470
  total: e.personnels.length,
4434
4471
  enable: !1,
4435
4472
  mode: "server",
@@ -4437,107 +4474,108 @@ const li = /* @__PURE__ */ de({
4437
4474
  size: 20,
4438
4475
  showPageInfo: !1,
4439
4476
  showLimits: !1
4440
- }, F = P(O);
4441
- function L(D = null) {
4442
- a.value ? T = b.users : D ? T = D : T = w, p.value++;
4477
+ }, U = P(F);
4478
+ function k(T = null) {
4479
+ a.value ? x = b.users : T ? x = T : x = w, p.value++;
4443
4480
  }
4444
4481
  qe(() => e.personnels, () => {
4445
- L();
4482
+ k();
4446
4483
  });
4447
- const S = an(() => {
4448
- a.value ? y(a.value, 0).then((D) => {
4449
- "users" in D && (b = D, F.value = Object.assign({}, O, {
4484
+ const v = an(() => {
4485
+ a.value ? y(a.value, 0).then((T) => {
4486
+ "users" in T && (b = T, U.value = Object.assign({}, F, {
4450
4487
  enable: b.pageCount > 1,
4451
- total: D.pageCount
4452
- }), L());
4453
- }) : L();
4488
+ total: T.pageCount
4489
+ }), k());
4490
+ }) : k();
4454
4491
  }, 300);
4455
4492
  tn(() => {
4456
- S.cancel();
4493
+ v.cancel();
4457
4494
  });
4458
- function x(D) {
4459
- a.value = D, S();
4495
+ function L(T) {
4496
+ a.value = T, v();
4460
4497
  }
4461
- function N(D) {
4462
- y(a.value, D.pageIndex).then((j) => {
4498
+ function N(T) {
4499
+ y(a.value, T.pageIndex).then((j) => {
4463
4500
  "users" in j && (b.pageIndex = j.pageIndex, b.users = j.users);
4464
4501
  });
4465
4502
  }
4466
- function I(D, j = !1) {
4467
- D.forEach(($) => {
4468
- (l.length === 0 || !i($[C.value], C.value, l)) && (v.value += '<a name="personnel" contenteditable="false" class="at-user" id="' + $[C.value] + '" userid="' + $[C.value] + '">@' + $[r.value] + "</a>&nbsp;", l.push($));
4503
+ function B(T, j = !1) {
4504
+ T.forEach((W) => {
4505
+ (l.length === 0 || !i(W[D.value], D.value, l)) && (C.value += '<a name="personnel" contenteditable="false" class="at-user" id="' + W[D.value] + '" userid="' + W[D.value] + '">@' + W[o.value] + "</a>&nbsp;", l.push(W));
4469
4506
  });
4470
4507
  }
4471
- function B() {
4508
+ function M() {
4472
4509
  document.body.click();
4473
4510
  }
4474
- function A() {
4475
- a.value = "", g.value = "", k.value.clearSelection(), L(), B();
4511
+ function Y() {
4512
+ a.value = "", g.value = "", S.value++, O.value.clearSelection(), k(), M();
4476
4513
  }
4477
- function Q() {
4478
- const D = k.value.getSelections();
4479
- D.length && I(D), A(), B(), t.emit("submit", {
4514
+ function I() {
4515
+ const T = O.value.getSelections();
4516
+ T.length && B(T), Y(), t.emit("submit", {
4480
4517
  selectedPersonnels: l,
4481
- newAddedText: v.value
4482
- }), v.value = "";
4518
+ newAddedText: C.value
4519
+ }), C.value = "";
4483
4520
  }
4484
- function U(D) {
4521
+ function X(T) {
4485
4522
  const {
4486
4523
  children: j
4487
- } = D.target, $ = [];
4488
- for (let Y = 0; Y < j.length; Y++)
4489
- $.push(j[Y].id);
4490
- l = l.filter((Y, ee) => $.includes(Y[C.value]));
4524
+ } = T.target, W = [];
4525
+ for (let G = 0; G < j.length; G++)
4526
+ W.push(j[G].id);
4527
+ l = l.filter((G, se) => W.includes(G[D.value]));
4491
4528
  }
4492
- function X(D) {
4493
- w = D || [], L(D);
4529
+ function $(T) {
4530
+ w = T || [], k(T);
4494
4531
  }
4495
- function H() {
4532
+ function _() {
4496
4533
  return l;
4497
4534
  }
4498
- function W() {
4535
+ function ce() {
4499
4536
  l = [];
4500
4537
  }
4501
4538
  return t.expose({
4502
- keyUpChangeValueHandler: U,
4503
- updatePersonnels: X,
4504
- getSelectedPersonnels: H,
4505
- resetSelectedPersonnels: W
4506
- }), () => u("div", {
4539
+ keyUpChangeValueHandler: X,
4540
+ updatePersonnels: $,
4541
+ getSelectedPersonnels: _,
4542
+ resetSelectedPersonnels: ce
4543
+ }), () => d("div", {
4544
+ class: "f-discussion-group-edit-toolbar"
4545
+ }, [nn(d("div", {
4507
4546
  class: "f-discussion-group-edit-toolbar-item"
4508
- }, [nn(u("div", {
4547
+ }, [d("div", {
4509
4548
  class: "toolbar-item-text"
4510
- }, [u("span", {
4549
+ }, [d("span", {
4511
4550
  class: "toolbar-icon"
4512
- }, [q("@")])]), [[sn("popover"), s.value, "toggle"]]), u(bn, {
4551
+ }, [q("@")])])]), [[sn("popover"), s.value, "toggle"]]), d(bn, {
4513
4552
  id: `${e.id}-popover`,
4514
4553
  ref: n,
4515
4554
  fitContent: !0,
4516
4555
  class: "f-discussion-group-edit-toolbar-about " + e.popupClass,
4517
- limitContentBySpace: !0
4556
+ limitContentBySpace: !0,
4557
+ onHidden: Y
4518
4558
  }, {
4519
- default: () => [u("div", {
4559
+ default: () => [d("div", {
4520
4560
  class: "f-discussion-group-about-dropdown",
4521
- onClick: (D) => {
4522
- d(D);
4561
+ onClick: (T) => {
4562
+ c(T);
4523
4563
  }
4524
- }, [u("div", {
4564
+ }, [d("div", {
4525
4565
  class: "f-discussion-group-about-search"
4526
- }, [u(vn, {
4527
- placeholder: c,
4566
+ }, [d(vn, {
4567
+ placeholder: u,
4528
4568
  groupText: h,
4529
4569
  modelValue: g.value,
4530
- "onUpdate:modelValue": (D) => g.value = D,
4531
- onInput: (D) => x(D),
4532
- onClear: () => x("")
4533
- }, null)]), u("div", {
4534
- class: "f-discussion-group-about-content"
4535
- }, [u("div", {
4536
- class: "f-discussion-group-about-used",
4570
+ "onUpdate:modelValue": (T) => g.value = T,
4571
+ onInput: (T) => L(T),
4572
+ onClear: () => L("")
4573
+ }, null)]), d("div", {
4574
+ class: "f-discussion-group-about-content",
4537
4575
  key: p.value
4538
- }, [u(on("f-list-view"), {
4539
- ref: k,
4540
- data: T,
4576
+ }, [d(rn("f-list-view"), {
4577
+ ref: O,
4578
+ data: x,
4541
4579
  multiSelect: !0,
4542
4580
  selection: {
4543
4581
  enableSelectRow: !0,
@@ -4548,80 +4586,80 @@ const li = /* @__PURE__ */ de({
4548
4586
  showSelection: !0
4549
4587
  },
4550
4588
  customClass: "f-discussion-group-about-dropdown-list",
4551
- pagination: F,
4552
- onPageIndexChanged: (D) => N(D)
4589
+ pagination: U,
4590
+ onPageIndexChanged: (T) => N(T)
4553
4591
  }, {
4554
- content: (D) => u("div", {
4592
+ content: (T) => d("div", {
4555
4593
  class: "d-flex f-discussion-group-about-dropdown-list-item"
4556
- }, [D.item.imgData && u("img", {
4594
+ }, [T.item.imgData && d("img", {
4557
4595
  src: "item.imgData",
4558
4596
  class: "about-list-item-avatar"
4559
- }, null), !D.item.imgData && u("div", {
4597
+ }, null), !T.item.imgData && d("div", {
4560
4598
  class: "about-list-item-avatar-tip",
4561
- innerHTML: m(D.item)
4562
- }, null), u("div", {
4599
+ innerHTML: f(T.item)
4600
+ }, null), d("div", {
4563
4601
  class: "f-discussion-group-about-dropdown-list-detail f-utils-fill"
4564
- }, [u("div", {
4602
+ }, [d("div", {
4565
4603
  class: "about-list-detail-text"
4566
- }, [D.item[r.value]]), u("div", {
4604
+ }, [T.item[o.value]]), d("div", {
4567
4605
  class: "about-list-detail-subtext"
4568
- }, [D.item.email])])])
4569
- })])]), u("div", {
4606
+ }, [T.item.email])])])
4607
+ })]), d("div", {
4570
4608
  class: "f-about-list-btns d-flex"
4571
- }, [u("div", {
4609
+ }, [d("div", {
4572
4610
  class: "f-about-list-btns-right ml-auto"
4573
- }, [u("button", {
4611
+ }, [d("button", {
4574
4612
  class: "btn btn-secondary",
4575
- onClick: A
4576
- }, [o.cancel]), u("button", {
4613
+ onClick: Y
4614
+ }, [r.cancel]), d("button", {
4577
4615
  class: "btn btn-primary",
4578
- onClick: Q
4579
- }, [o.confirm])])])])]
4616
+ onClick: I
4617
+ }, [r.confirm])])])])]
4580
4618
  })]);
4581
4619
  }
4582
- }), ci = /* @__PURE__ */ de({
4620
+ }), ui = /* @__PURE__ */ de({
4583
4621
  name: "FCommentEditor",
4584
- props: Ve,
4622
+ props: je,
4585
4623
  emits: ["selections", "lineData", "valueChange", "filePreview", "fileRemove", "fileUploadDone", "personnelSearch", "getOutUsers"],
4586
4624
  setup(e, t) {
4587
4625
  const n = new gn();
4588
4626
  P(e.personnelsPrimaryKey);
4589
4627
  const s = Je();
4590
4628
  P(e.type), P(e.orgUrl), P(e.sectionData);
4591
- const o = P(), i = _(() => oe({
4629
+ const r = P(), i = H(() => re({
4592
4630
  "f-discussion-editor": !0
4593
- }, e.customClass)), r = _(() => re({}, e == null ? void 0 : e.customStyle)), d = P(e.replyUser), y = P(e.attachFiles), m = _({
4631
+ }, e.customClass)), o = H(() => oe({}, e == null ? void 0 : e.customStyle)), c = P(e.replyUser), y = P(e.attachFiles), f = H({
4594
4632
  get() {
4595
4633
  return y.value;
4596
4634
  },
4597
- set(x) {
4598
- x && (y.value = x);
4635
+ set(v) {
4636
+ v && (y.value = v);
4599
4637
  }
4600
- }), l = P(""), c = P("");
4638
+ }), l = P(""), u = P("");
4601
4639
  let h = [];
4602
4640
  P(!1);
4603
4641
  const b = [{
4604
4642
  value: "ALL",
4605
- text: Se.getLocaleValue("comment.all")
4643
+ text: xe.getLocaleValue("comment.all")
4606
4644
  }, {
4607
4645
  value: "RELATED",
4608
- text: Se.getLocaleValue("comment.related")
4646
+ text: xe.getLocaleValue("comment.related")
4609
4647
  }], a = P(e.permissionType);
4610
4648
  $e(() => {
4611
4649
  });
4612
4650
  function g() {
4613
- const x = b.find((N) => N.value === a.value);
4614
- return x ? x.value : b[0].value;
4651
+ const v = b.find((L) => L.value === a.value);
4652
+ return v ? v.value : b[0].value;
4615
4653
  }
4616
- function p(x) {
4617
- x && (l.value = x.target.innerHTML), c.value && (l.value += c.value), c.value = "";
4654
+ function p(v) {
4655
+ v && (l.value = v.target.innerHTML), u.value && (l.value += u.value), u.value = "";
4618
4656
  }
4619
- function v(x) {
4620
- var N;
4621
- (N = o.value) == null || N.keyUpChangeValueHandler(x);
4657
+ function C(v) {
4658
+ var L;
4659
+ (L = r.value) == null || L.keyUpChangeValueHandler(v);
4622
4660
  }
4623
- function T() {
4624
- var N, I;
4661
+ function x() {
4662
+ var L, N;
4625
4663
  if (!l.value) {
4626
4664
  n.error({
4627
4665
  message: s.submitEmpty,
@@ -4629,36 +4667,36 @@ const li = /* @__PURE__ */ de({
4629
4667
  });
4630
4668
  return;
4631
4669
  }
4632
- const x = [];
4633
- m.value && m.value.length && m.value.forEach((B) => {
4670
+ const v = [];
4671
+ f.value && f.value.length && f.value.forEach((B) => {
4634
4672
  const {
4635
- id: A
4673
+ id: M
4636
4674
  } = B, {
4637
- name: Q
4675
+ name: Y
4638
4676
  } = B, {
4639
- size: U
4677
+ size: I
4640
4678
  } = B, {
4641
4679
  metadataId: X
4642
- } = B.extend, H = {
4643
- id: A,
4644
- name: Q,
4645
- size: U,
4680
+ } = B.extend, $ = {
4681
+ id: M,
4682
+ name: Y,
4683
+ size: I,
4646
4684
  metadataId: X
4647
4685
  };
4648
- x.push(H);
4686
+ v.push($);
4649
4687
  }), t.emit("valueChange", {
4650
4688
  editorId: e.id,
4651
4689
  msgInfo: Me.Confirm,
4652
4690
  text: l.value,
4653
- mailTos: ((N = o.value) == null ? void 0 : N.getSelectedPersonnels()) || [],
4691
+ mailTos: ((L = r.value) == null ? void 0 : L.getSelectedPersonnels()) || [],
4654
4692
  mailToSections: h,
4655
4693
  visibility: g(),
4656
- parentId: d.value && "id" in d.value ? d.value.id : null,
4657
- attachFiles: x.length ? x : null
4658
- }), l.value = "", (I = o.value) == null || I.resetSelectedPersonnels(), h = [], m.value = [], d.value = {};
4694
+ parentId: c.value && "id" in c.value ? c.value.id : null,
4695
+ attachFiles: v.length ? v : null
4696
+ }), l.value = "", (N = r.value) == null || N.resetSelectedPersonnels(), h = [], f.value = [], c.value = {};
4659
4697
  }
4660
4698
  function w() {
4661
- var x;
4699
+ var v;
4662
4700
  t.emit("value", {
4663
4701
  msgInfo: Me.Cancel,
4664
4702
  text: null,
@@ -4667,123 +4705,121 @@ const li = /* @__PURE__ */ de({
4667
4705
  visibility: null,
4668
4706
  parentId: null,
4669
4707
  attachFiles: null
4670
- }), l.value = "", (x = o.value) == null || x.resetSelectedPersonnels(), h = [], m.value = [], d.value = {};
4708
+ }), l.value = "", (v = r.value) == null || v.resetSelectedPersonnels(), h = [], f.value = [], c.value = {};
4671
4709
  }
4672
- const k = P(null);
4673
- function C() {
4674
- var x;
4675
- (x = k.value) == null || x.focus();
4710
+ const O = P(null);
4711
+ function S() {
4712
+ var v;
4713
+ (v = O.value) == null || v.focus();
4676
4714
  }
4677
- function O(x) {
4678
- d.value = x || {}, x && x.id && C();
4715
+ function D(v) {
4716
+ c.value = v || {}, v && v.id && S();
4679
4717
  }
4680
- qe(() => e.replyUser, (x) => {
4681
- O(x);
4718
+ qe(() => e.replyUser, (v) => {
4719
+ D(v);
4682
4720
  });
4683
- function F(x) {
4684
- var I;
4721
+ function F(v) {
4722
+ var N;
4685
4723
  const {
4686
- newAddedText: N
4687
- } = x;
4688
- l.value = ((I = k.value) == null ? void 0 : I.innerHTML) + N;
4724
+ newAddedText: L
4725
+ } = v;
4726
+ l.value = ((N = O.value) == null ? void 0 : N.innerHTML) + L;
4689
4727
  }
4690
- function L(x) {
4691
- o == null || o.value.updatePersonnels(x);
4728
+ function U(v) {
4729
+ r == null || r.value.updatePersonnels(v);
4692
4730
  }
4693
- function S(x) {
4694
- O(x);
4731
+ function k(v) {
4732
+ D(v);
4695
4733
  }
4696
4734
  return t.expose({
4697
- updatePersonnels: L,
4698
- updateReplyUser: S
4699
- }), () => e.visible ? u("div", {
4735
+ updatePersonnels: U,
4736
+ updateReplyUser: k
4737
+ }), () => e.visible ? d("div", {
4700
4738
  class: i.value,
4701
- style: r.value
4702
- }, [d.value && d.value.id && u("div", {
4739
+ style: o.value
4740
+ }, [c.value && c.value.id && d("div", {
4703
4741
  class: "farris-discussion-group-reply-tip"
4704
- }, [s.reply, u("span", {
4742
+ }, [s.reply, d("span", {
4705
4743
  class: "farris-discussion-group-reply-tip-name"
4706
- }, [d.value[e.replyPersonnelsDisplayKey]]), q(":")]), u("div", {
4744
+ }, [c.value[e.replyPersonnelsDisplayKey]]), q(":")]), d("div", {
4707
4745
  class: "f-discussion-group-edit"
4708
- }, [u("div", {
4746
+ }, [d("div", {
4709
4747
  class: "f-discussion-group-edit-container",
4710
4748
  style: {
4711
4749
  height: (e.editorHeight ? e.editorHeight : 130) + "px"
4712
4750
  }
4713
- }, [u("div", {
4751
+ }, [d("div", {
4714
4752
  class: "textarea-editor",
4715
- onKeyup: (x) => v(x),
4716
- onBlur: (x) => p(x),
4717
- ref: k,
4753
+ onKeyup: (v) => C(v),
4754
+ onBlur: (v) => p(v),
4755
+ ref: O,
4718
4756
  contenteditable: !0,
4719
4757
  innerHTML: l.value
4720
- }, null)]), u("div", {
4758
+ }, null)]), d("div", {
4721
4759
  class: "f-discussion-group-edit-footer"
4722
- }, [u("div", {
4723
- class: "f-discussion-group-edit-toolbar"
4724
- }, [u(li, rn({
4725
- ref: o
4760
+ }, [d(ci, on({
4761
+ ref: r
4726
4762
  }, e, {
4727
- onSubmit: (x) => F(x)
4728
- }), null)]), u("div", {
4763
+ onSubmit: (v) => F(v)
4764
+ }), null), d("div", {
4729
4765
  class: "f-discussion-group-edit-btns"
4730
- }, [e.cancelVisible && u("button", {
4766
+ }, [e.cancelVisible && d("button", {
4731
4767
  class: "btn btn-link f-discussion-cancel",
4732
4768
  onClick: w
4733
- }, [s.cancel]), u("button", {
4769
+ }, [s.cancel]), d("button", {
4734
4770
  class: "btn btn-primary",
4735
- onClick: T
4771
+ onClick: x
4736
4772
  }, [s.submit])])])])]) : null;
4737
4773
  }
4738
4774
  });
4739
- function ui(e) {
4775
+ function di(e) {
4740
4776
  function t(s) {
4741
- const o = [];
4777
+ const r = [];
4742
4778
  return s && s.commentIds && s.commentIds.length && s.commentIds.forEach((i) => {
4743
- const r = s.comments.find((d) => d.id === i);
4744
- if (r) {
4745
- const { id: d, userId: y, commentDate: m, text: l } = r, c = r.user.name, h = Object.prototype.hasOwnProperty.call(r.user, "imgData") ? r.user.imgData : "", b = Object.prototype.hasOwnProperty.call(r, "attachFiles") ? r.attachFiles : [];
4779
+ const o = s.comments.find((c) => c.id === i);
4780
+ if (o) {
4781
+ const { id: c, userId: y, commentDate: f, text: l } = o, u = o.user.name, h = Object.prototype.hasOwnProperty.call(o.user, "imgData") ? o.user.imgData : "", b = Object.prototype.hasOwnProperty.call(o, "attachFiles") ? o.attachFiles : [];
4746
4782
  let a;
4747
- if (Object.prototype.hasOwnProperty.call(r, "parentId")) {
4748
- const p = s.comments.find((v) => v.id === r.parentId);
4783
+ if (Object.prototype.hasOwnProperty.call(o, "parentId")) {
4784
+ const p = s.comments.find((C) => C.id === o.parentId);
4749
4785
  if (p) {
4750
- const v = p.id, T = p.userId, w = p.user.name, k = Object.prototype.hasOwnProperty.call(p.user, "imgData") ? p.user.imgData : "", C = p.commentDate, O = p.text, F = Object.prototype.hasOwnProperty.call(p.user, "attachFiles") ? p.attachFiles : [];
4786
+ const C = p.id, x = p.userId, w = p.user.name, O = Object.prototype.hasOwnProperty.call(p.user, "imgData") ? p.user.imgData : "", S = p.commentDate, D = p.text, F = Object.prototype.hasOwnProperty.call(p.user, "attachFiles") ? p.attachFiles : [];
4751
4787
  a = {
4752
- id: v,
4753
- userId: T,
4788
+ id: C,
4789
+ userId: x,
4754
4790
  userName: w,
4755
- imgData: k,
4756
- commentDate: C,
4757
- text: O,
4791
+ imgData: O,
4792
+ commentDate: S,
4793
+ text: D,
4758
4794
  attachFiles: F
4759
4795
  };
4760
4796
  }
4761
4797
  }
4762
4798
  const g = {
4763
- id: d,
4799
+ id: c,
4764
4800
  userId: y,
4765
- userName: c,
4801
+ userName: u,
4766
4802
  imgData: h,
4767
- commentDate: m,
4803
+ commentDate: f,
4768
4804
  text: l,
4769
4805
  attachFiles: b,
4770
4806
  parentData: a
4771
4807
  };
4772
- o.push(g);
4808
+ r.push(g);
4773
4809
  } else
4774
4810
  return;
4775
- }), o;
4811
+ }), r;
4776
4812
  }
4777
4813
  function n(s) {
4778
4814
  if (s && s[e.replyPersonnelsDisplayKey]) {
4779
- const o = s[e.replyPersonnelsDisplayKey];
4780
- return o.substring(o.length - 2, o.length);
4815
+ const r = s[e.replyPersonnelsDisplayKey];
4816
+ return r.substring(r.length - 2, r.length);
4781
4817
  }
4782
4818
  return "";
4783
4819
  }
4784
4820
  return { formatServerData: t, getAvatar: n };
4785
4821
  }
4786
- const di = /* @__PURE__ */ de({
4822
+ const mi = /* @__PURE__ */ de({
4787
4823
  name: "FDiscussionList",
4788
4824
  props: Dt,
4789
4825
  emits: ["replyMessage", "pageChanged", "pageSize", "filePreview", "fileDownload"],
@@ -4792,103 +4828,103 @@ const di = /* @__PURE__ */ de({
4792
4828
  getData: n
4793
4829
  } = Ae(ls, {}), {
4794
4830
  formatServerData: s,
4795
- getAvatar: o
4796
- } = ui(e), i = P(e.replyPersonnelsDisplayKey), r = Je();
4831
+ getAvatar: r
4832
+ } = di(e), i = P(e.replyPersonnelsDisplayKey), o = Je();
4797
4833
  P(e.pagerOnServer);
4798
- const d = P(e.pageIndex), y = P(e.total), m = P(e.pageSize), l = P(0), c = _(() => oe({
4834
+ const c = P(e.pageIndex), y = P(e.total), f = P(e.pageSize), l = P(0), u = H(() => re({
4799
4835
  "f-discussion-group-content": !0
4800
- }, e.customClass)), h = _(() => re({}, e == null ? void 0 : e.customStyle));
4836
+ }, e.customClass)), h = H(() => oe({}, e == null ? void 0 : e.customStyle));
4801
4837
  let b = e.discussionData;
4802
4838
  const {
4803
4839
  formatTo: a
4804
4840
  } = fn();
4805
4841
  function g() {
4806
- n && n().then((C) => {
4807
- b = s(C), l.value++;
4842
+ n && n().then((S) => {
4843
+ b = s(S), l.value++;
4808
4844
  });
4809
4845
  }
4810
4846
  const p = [20, 50, 100];
4811
4847
  g(), $e(() => {
4812
4848
  });
4813
- function v(C) {
4814
- t.emit("replyMessage", C);
4849
+ function C(S) {
4850
+ t.emit("replyMessage", S);
4815
4851
  }
4816
- function T(C) {
4817
- return C ? a(C, "yyyy-MM-dd HH:mm") : "";
4852
+ function x(S) {
4853
+ return S ? a(S, "yyyy-MM-dd HH:mm") : "";
4818
4854
  }
4819
- function w(C) {
4855
+ function w(S) {
4820
4856
  const {
4821
- pageIndex: O,
4857
+ pageIndex: D,
4822
4858
  pageSize: F
4823
- } = C;
4859
+ } = S;
4824
4860
  t.emit("pageChanged", {
4825
- pageIndex: O,
4861
+ pageIndex: D,
4826
4862
  pageSize: F
4827
4863
  });
4828
4864
  }
4829
- function k(C) {
4830
- b = s(C), e.supportPaging && (m.value = C.pageSize, d.value = C.pageIndex, y.value = C.totalCount, p.indexOf(m.value) < 0 && p.unshift(m.value)), l.value++;
4865
+ function O(S) {
4866
+ b = s(S), e.supportPaging && (f.value = S.pageSize, c.value = S.pageIndex, y.value = S.totalCount, p.indexOf(f.value) < 0 && p.unshift(f.value)), l.value++;
4831
4867
  }
4832
4868
  return t.expose({
4833
- updateComments: k
4834
- }), () => e.visible ? u("div", {
4835
- class: c.value,
4869
+ updateComments: O
4870
+ }), () => e.visible ? d("div", {
4871
+ class: u.value,
4836
4872
  style: h.value,
4837
4873
  key: `f-disussion-list-${e.id}-${l.value}`
4838
- }, [b.map((C) => u("div", {
4874
+ }, [b.map((S) => d("div", {
4839
4875
  class: "f-discussion-group-content-item"
4840
- }, [u("div", {
4876
+ }, [d("div", {
4841
4877
  class: "discussion-item-avatar"
4842
- }, [u("div", null, [C.imgData && u("div", null, [u("img", {
4843
- src: C.imgData,
4878
+ }, [d("div", null, [S.imgData && d("div", null, [d("img", {
4879
+ src: S.imgData,
4844
4880
  alt: "",
4845
4881
  class: "discussion-item-avatar-img"
4846
- }, null)])]), u("div", null, [!C.imgData && u("div", {
4882
+ }, null)])]), d("div", null, [!S.imgData && d("div", {
4847
4883
  class: "discussion-item-avatar-tip",
4848
- innerHTML: o(C)
4849
- }, null)])]), u("div", {
4884
+ innerHTML: r(S)
4885
+ }, null)])]), d("div", {
4850
4886
  class: "discussion-item-inner"
4851
- }, [u("div", {
4887
+ }, [d("div", {
4852
4888
  class: "discussion-item-username"
4853
- }, [C[i.value]]), u("div", {
4889
+ }, [S[i.value]]), d("div", {
4854
4890
  class: "discussion-item-text"
4855
- }, [u("span", {
4891
+ }, [d("span", {
4856
4892
  class: "discussion-item-text-message",
4857
- innerHTML: C.text
4858
- }, null)]), C.parentData && u("div", {
4893
+ innerHTML: S.text
4894
+ }, null)]), S.parentData && d("div", {
4859
4895
  class: "discussion-item-text-reply"
4860
- }, [u("span", {
4896
+ }, [d("span", {
4861
4897
  class: "discussion-item-text-reply-title"
4862
- }, [r.reply, u("span", {
4898
+ }, [o.reply, d("span", {
4863
4899
  class: "discussion-item-text-reply-name"
4864
- }, [C.parentData[i.value]])]), u("span", {
4900
+ }, [S.parentData[i.value]])]), d("span", {
4865
4901
  class: "discussion-item-text-reply-content",
4866
- innerHTML: C.parentData.text
4867
- }, null)]), u("div", {
4902
+ innerHTML: S.parentData.text
4903
+ }, null)]), d("div", {
4868
4904
  class: "discussion-item-footer"
4869
- }, [u("div", {
4905
+ }, [d("div", {
4870
4906
  class: "discussion-item-time"
4871
- }, [u("span", {
4907
+ }, [d("span", {
4872
4908
  class: "discussion-item-time-text"
4873
- }, [T(C.commentDate)])]), u("div", {
4909
+ }, [x(S.commentDate)])]), d("div", {
4874
4910
  class: "discussion-item-btns"
4875
- }, [u("span", {
4911
+ }, [d("span", {
4876
4912
  class: "discussion-item-btns-start",
4877
4913
  onClick: () => {
4878
- v(C);
4914
+ C(S);
4879
4915
  }
4880
- }, [u("span", {
4916
+ }, [d("span", {
4881
4917
  class: "f-icon f-icon-message"
4882
- }, null), u("span", {
4918
+ }, null), d("span", {
4883
4919
  class: "discussion-item-btns-start-text"
4884
- }, [r.reply])])])])])])), e.supportPaging && b.length > 0 && u("div", {
4920
+ }, [o.reply])])])])])])), e.supportPaging && b.length > 0 && d("div", {
4885
4921
  class: "f-discussion-group-footer",
4886
4922
  key: `f-disussion-pagination-${e.id}-${l.value}`
4887
- }, [u(Cn, {
4923
+ }, [d(Cn, {
4888
4924
  mode: "default",
4889
4925
  disabled: !1,
4890
- currentPage: d.value,
4891
- pageSize: m.value,
4926
+ currentPage: c.value,
4927
+ pageSize: f.value,
4892
4928
  showPageInfo: !0,
4893
4929
  showGoButton: !1,
4894
4930
  showPageList: !1,
@@ -4902,46 +4938,46 @@ const di = /* @__PURE__ */ de({
4902
4938
  }
4903
4939
  }), Te = /* @__PURE__ */ de({
4904
4940
  name: "FComment",
4905
- props: _e,
4941
+ props: Ve,
4906
4942
  emits: ["valueChange", "replyMessage", "pageChanged"],
4907
4943
  setup(e, t) {
4908
- const n = P(), s = P(), o = P(e.replyUser);
4944
+ const n = P(), s = P(), r = P(e.replyUser);
4909
4945
  qe(() => e.replyUser, (h) => {
4910
- o.value = h;
4946
+ r.value = h;
4911
4947
  });
4912
- const i = _(() => oe({
4948
+ const i = H(() => re({
4913
4949
  "f-comment": !0
4914
4950
  }, e.customClass));
4915
- function r(h) {
4951
+ function o(h) {
4916
4952
  t.emit("valueChange", h);
4917
4953
  }
4918
- function d(h) {
4954
+ function c(h) {
4919
4955
  t.emit("pageChanged", h);
4920
4956
  }
4921
4957
  function y(h) {
4922
- o.value = h;
4958
+ n == null || n.value.updateReplyUser(h);
4923
4959
  }
4924
- const m = _(() => re({}, e == null ? void 0 : e.customStyle));
4960
+ const f = H(() => oe({}, e == null ? void 0 : e.customStyle));
4925
4961
  function l(h) {
4926
4962
  n == null || n.value.updatePersonnels(h);
4927
4963
  }
4928
- function c(h) {
4964
+ function u(h) {
4929
4965
  s == null || s.value.updateComments(h);
4930
4966
  }
4931
4967
  return t.expose({
4932
4968
  updatePersonnels: l,
4933
- updateComments: c
4934
- }), () => u("div", {
4969
+ updateComments: u
4970
+ }), () => d("div", {
4935
4971
  class: i.value,
4936
- style: m.value
4937
- }, [u(ci, {
4972
+ style: f.value
4973
+ }, [d(ui, {
4938
4974
  ref: n,
4939
- onValueChange: r,
4975
+ onValueChange: o,
4940
4976
  id: e.id + "--editor",
4941
4977
  customClass: e.editorClass,
4942
4978
  permissionType: e.permissionType,
4943
4979
  personnels: e.personnels,
4944
- replyUser: o.value,
4980
+ replyUser: r.value,
4945
4981
  personSearchUrl: e.personSearchUrl,
4946
4982
  editorHeight: e.editorHeight,
4947
4983
  personnelsDisplayKey: e.personnelsDisplayKey,
@@ -4950,9 +4986,9 @@ const di = /* @__PURE__ */ de({
4950
4986
  cancelVisible: e.cancelVisible,
4951
4987
  customStyle: e.editorStyle,
4952
4988
  visible: e.editorVisible
4953
- }, null), u(di, {
4989
+ }, null), d(mi, {
4954
4990
  ref: s,
4955
- onPageChanged: d,
4991
+ onPageChanged: c,
4956
4992
  onReplyMessage: y,
4957
4993
  pagerOnServer: e.pagerOnServer,
4958
4994
  customClass: e.listClass,
@@ -4967,10 +5003,10 @@ const di = /* @__PURE__ */ de({
4967
5003
  visible: e.listVisible
4968
5004
  }, null)]);
4969
5005
  }
4970
- }), Xt = Object.assign({}, _e, {
5006
+ }), Xt = Object.assign({}, Ve, {
4971
5007
  componentId: { type: String, default: "" }
4972
- }), mi = os(Xt, ft, wt, Et);
4973
- class fi extends xn {
5008
+ }), fi = rs(Xt, ft, wt, Et);
5009
+ class pi extends Sn {
4974
5010
  constructor(t, n) {
4975
5011
  super(t, n);
4976
5012
  }
@@ -5017,11 +5053,11 @@ class fi extends xn {
5017
5053
  type: "string"
5018
5054
  }
5019
5055
  },
5020
- setPropertyRelates(o, i) {
5021
- if (o)
5022
- switch (o.propertyID) {
5056
+ setPropertyRelates(r, i) {
5057
+ if (r)
5058
+ switch (r.propertyID) {
5023
5059
  case "editorVisible":
5024
- n.afterMutilEditorChanged(t, o);
5060
+ n.afterMutilEditorChanged(t, r);
5025
5061
  break;
5026
5062
  }
5027
5063
  }
@@ -5050,11 +5086,11 @@ class fi extends xn {
5050
5086
  editor: s
5051
5087
  }
5052
5088
  },
5053
- setPropertyRelates(o, i) {
5054
- if (o)
5055
- switch (o.propertyID) {
5089
+ setPropertyRelates(r, i) {
5090
+ if (r)
5091
+ switch (r.propertyID) {
5056
5092
  case "listVisible":
5057
- n.afterMutilEditorChanged(t, o);
5093
+ n.afterMutilEditorChanged(t, r);
5058
5094
  break;
5059
5095
  }
5060
5096
  }
@@ -5082,7 +5118,7 @@ class fi extends xn {
5082
5118
  label: "onQueryComments",
5083
5119
  name: "获取评论"
5084
5120
  }
5085
- ], s = this, o = s.eventsEditorUtils.formProperties(t, s.viewModelId, n), i = s.createBaseEventProperty(o);
5121
+ ], s = this, r = s.eventsEditorUtils.formProperties(t, s.viewModelId, n), i = s.createBaseEventProperty(r);
5086
5122
  this.propertyConfig.categories.eventsEditor = {
5087
5123
  title: "事件",
5088
5124
  hideTitle: !0,
@@ -5091,22 +5127,22 @@ class fi extends xn {
5091
5127
  refreshPanelAfterChanged: !0,
5092
5128
  tabId: "commands",
5093
5129
  tabName: "交互",
5094
- setPropertyRelates(r, d) {
5095
- const y = r.propertyValue;
5130
+ setPropertyRelates(o, c) {
5131
+ const y = o.propertyValue;
5096
5132
  delete t[s.viewModelId], y && (y.setPropertyRelates = this.setPropertyRelates, s.eventsEditorUtils.saveRelatedParameters(t, s.viewModelId, y.events, y));
5097
5133
  }
5098
5134
  };
5099
5135
  }
5100
5136
  }
5101
- function pi(e, t) {
5102
- function n(r) {
5103
- const d = e.schema;
5104
- return new fi(r, t).getPropertyConfig(d);
5137
+ function gi(e, t) {
5138
+ function n(o) {
5139
+ const c = e.schema;
5140
+ return new pi(o, t).getPropertyConfig(c);
5105
5141
  }
5106
5142
  function s() {
5107
5143
  return !1;
5108
5144
  }
5109
- function o() {
5145
+ function r() {
5110
5146
  return !0;
5111
5147
  }
5112
5148
  function i() {
@@ -5115,226 +5151,226 @@ function pi(e, t) {
5115
5151
  return {
5116
5152
  getPropsConfig: n,
5117
5153
  canAccepts: s,
5118
- checkCanDeleteComponent: o,
5154
+ checkCanDeleteComponent: r,
5119
5155
  checkCanMoveComponent: i
5120
5156
  };
5121
5157
  }
5122
- const gi = /* @__PURE__ */ de({
5158
+ const hi = /* @__PURE__ */ de({
5123
5159
  name: "FCommentDesign",
5124
5160
  props: Xt,
5125
5161
  emits: [],
5126
5162
  setup(e, t) {
5127
- const n = P(), s = Ae("design-item-context"), o = Ae("designer-host-service"), i = pi(s, o), r = dn(n, s, i), d = _(() => oe({
5163
+ const n = P(), s = Ae("design-item-context"), r = Ae("designer-host-service"), i = gi(s, r), o = dn(n, s, i), c = H(() => re({
5128
5164
  "f-discussion-group": !0
5129
- }, e.customClass)), y = _(() => oe({
5165
+ }, e.customClass)), y = H(() => re({
5130
5166
  "f-discussion-group-edit": !0,
5131
5167
  "ide-discussion-editor": !0
5132
- }, e.editorClass)), m = _(() => oe({
5168
+ }, e.editorClass)), f = H(() => re({
5133
5169
  "f-discussion-group-content": !0,
5134
5170
  "ide-discussion-list": !0
5135
- }, e.listClass)), l = _(() => re({}, e == null ? void 0 : e.editorStyle)), c = _(() => re({}, e.listStyle)), h = _(() => re({}, e.customStyle));
5171
+ }, e.listClass)), l = H(() => oe({}, e == null ? void 0 : e.editorStyle)), u = H(() => oe({}, e.listStyle)), h = H(() => oe({}, e.customStyle));
5136
5172
  return $e(() => {
5137
- n.value.componentInstance = r;
5138
- }), t.expose(r.value), () => u("div", {
5139
- class: d,
5173
+ n.value.componentInstance = o;
5174
+ }), t.expose(o.value), () => d("div", {
5175
+ class: c,
5140
5176
  style: h.value,
5141
5177
  ref: n
5142
- }, [u("div", {
5178
+ }, [d("div", {
5143
5179
  class: y.value,
5144
5180
  style: l.value
5145
- }, [u("div", {
5181
+ }, [d("div", {
5146
5182
  class: "f-discussion-group-edit-container",
5147
5183
  style: {
5148
5184
  height: (e.editorHeight ? e.editorHeight : 130) + "px"
5149
5185
  }
5150
- }, [u("div", {
5186
+ }, [d("div", {
5151
5187
  class: "textarea-editor"
5152
- }, [u("span", {
5188
+ }, [d("span", {
5153
5189
  class: "fishbone-line d-inline-block align-middle",
5154
5190
  style: "width:200px;margin-right:8px;"
5155
- }, null), u("span", {
5191
+ }, null), d("span", {
5156
5192
  class: "fishbone-line d-inline-block align-middle",
5157
5193
  style: "width:30px;"
5158
- }, null)])]), u("div", {
5194
+ }, null)])]), d("div", {
5159
5195
  class: "f-discussion-group-edit-footer"
5160
- }, [u("div", {
5196
+ }, [d("div", {
5161
5197
  class: "f-discussion-group-edit-toolbar"
5162
- }, [u("div", {
5198
+ }, [d("div", {
5163
5199
  class: "f-discussion-group-edit-toolbar-item f-discussion-group-edit-toolbar-about"
5164
- }, [u("div", {
5200
+ }, [d("div", {
5165
5201
  class: "toolbar-item-text"
5166
- }, [u("span", {
5202
+ }, [d("span", {
5167
5203
  class: "toolbar-icon"
5168
- }, [q("@")])])])]), u("div", {
5204
+ }, [q("@")])])])]), d("div", {
5169
5205
  class: "f-discussion-group-edit-btns"
5170
- }, [u("button", {
5206
+ }, [d("button", {
5171
5207
  class: "btn btn-link f-discussion-cancel"
5172
- }, [q("取消")]), u("button", {
5208
+ }, [q("取消")]), d("button", {
5173
5209
  class: "btn btn-primary"
5174
- }, [q("提交")])])])]), u("div", {
5175
- class: m.value,
5176
- style: c.value
5177
- }, [u("div", {
5210
+ }, [q("提交")])])])]), d("div", {
5211
+ class: f.value,
5212
+ style: u.value
5213
+ }, [d("div", {
5178
5214
  class: "f-discussion-group-content-item"
5179
- }, [u("div", {
5215
+ }, [d("div", {
5180
5216
  class: "discussion-item-avatar"
5181
- }, [u("img", {
5217
+ }, [d("img", {
5182
5218
  alt: "",
5183
5219
  class: "discussion-item-avatar-img",
5184
5220
  src: "/platform/common/web/assets/farris-design-control/images/discussion/list/avatar-1.png"
5185
- }, null)]), u("div", {
5221
+ }, null)]), d("div", {
5186
5222
  class: "discussion-item-inner"
5187
- }, [u("div", {
5223
+ }, [d("div", {
5188
5224
  class: "discussion-item-username fishbone-line",
5189
5225
  style: "width:30px;height:20px;"
5190
- }, [q(" ")]), u("div", {
5226
+ }, [q(" ")]), d("div", {
5191
5227
  class: "discussion-item-text"
5192
- }, [u("span", {
5228
+ }, [d("span", {
5193
5229
  class: "discussion-item-text-message fishbone-line d-block",
5194
5230
  style: "width:200px"
5195
- }, null)]), u("div", {
5231
+ }, null)]), d("div", {
5196
5232
  class: "discussion-item-text-reply",
5197
5233
  style: "height:16px;"
5198
- }, null), u("div", {
5234
+ }, null), d("div", {
5199
5235
  class: "discussion-item-footer"
5200
- }, [u("div", {
5236
+ }, [d("div", {
5201
5237
  class: "discussion-item-time"
5202
- }, [u("span", {
5238
+ }, [d("span", {
5203
5239
  class: "discussion-item-time-text"
5204
- }, [q("2020-08-04 09:49")])]), u("div", {
5240
+ }, [q("2020-08-04 09:49")])]), d("div", {
5205
5241
  class: "discussion-item-btns"
5206
- }, [u("span", {
5242
+ }, [d("span", {
5207
5243
  class: "discussion-item-btns-start"
5208
- }, [u("span", {
5244
+ }, [d("span", {
5209
5245
  class: "f-icon f-icon-message"
5210
- }, null), u("span", {
5246
+ }, null), d("span", {
5211
5247
  class: "discussion-item-btns-start-text"
5212
- }, [q("回复")])])])])])]), u("div", {
5248
+ }, [q("回复")])])])])])]), d("div", {
5213
5249
  class: "f-discussion-group-content-item"
5214
- }, [u("div", {
5250
+ }, [d("div", {
5215
5251
  class: "discussion-item-avatar"
5216
- }, [u("img", {
5252
+ }, [d("img", {
5217
5253
  alt: "",
5218
5254
  class: "discussion-item-avatar-img",
5219
5255
  src: "/platform/common/web/assets/farris-design-control/images/discussion/list/avatar-2.png"
5220
- }, null)]), u("div", {
5256
+ }, null)]), d("div", {
5221
5257
  class: "discussion-item-inner"
5222
- }, [u("div", {
5258
+ }, [d("div", {
5223
5259
  class: "discussion-item-username fishbone-line",
5224
5260
  style: "width:80px;height:20px;"
5225
- }, null), u("div", {
5261
+ }, null), d("div", {
5226
5262
  class: "discussion-item-text"
5227
- }, [u("span", {
5263
+ }, [d("span", {
5228
5264
  class: "discussion-item-text-message"
5229
- }, [u("span", {
5265
+ }, [d("span", {
5230
5266
  class: "fishbone-line d-inline-block align-middle",
5231
5267
  style: "width:30px;margin-right:8px"
5232
- }, null), u("span", {
5268
+ }, null), d("span", {
5233
5269
  class: "fishbone-line d-inline-block align-middle",
5234
5270
  style: "width:200px;"
5235
- }, null)])]), u("div", {
5271
+ }, null)])]), d("div", {
5236
5272
  class: "discussion-item-footer"
5237
- }, [u("div", {
5273
+ }, [d("div", {
5238
5274
  class: "discussion-item-time"
5239
- }, [u("span", {
5275
+ }, [d("span", {
5240
5276
  class: "discussion-item-time-text"
5241
- }, [q("2020-08-04 09:48")])]), u("div", {
5277
+ }, [q("2020-08-04 09:48")])]), d("div", {
5242
5278
  class: "discussion-item-btns"
5243
- }, [u("span", {
5279
+ }, [d("span", {
5244
5280
  class: "discussion-item-btns-start"
5245
- }, [u("span", {
5281
+ }, [d("span", {
5246
5282
  class: "f-icon f-icon-message"
5247
- }, null), u("span", {
5283
+ }, null), d("span", {
5248
5284
  class: "discussion-item-btns-start-text"
5249
- }, [q("回复")])])])])])]), u("div", {
5285
+ }, [q("回复")])])])])])]), d("div", {
5250
5286
  class: "f-discussion-group-content-item"
5251
- }, [u("div", {
5287
+ }, [d("div", {
5252
5288
  class: "discussion-item-avatar"
5253
- }, [u("img", {
5289
+ }, [d("img", {
5254
5290
  alt: "",
5255
5291
  class: "discussion-item-avatar-img",
5256
5292
  src: "/platform/common/web/assets/farris-design-control/images/discussion/list/avatar-1.png"
5257
- }, null)]), u("div", {
5293
+ }, null)]), d("div", {
5258
5294
  class: "discussion-item-inner"
5259
- }, [u("div", {
5295
+ }, [d("div", {
5260
5296
  class: "discussion-item-username fishbone-line",
5261
5297
  style: "width:80px;height:20px;"
5262
- }, null), u("div", {
5298
+ }, null), d("div", {
5263
5299
  class: "discussion-item-text"
5264
- }, [u("span", {
5300
+ }, [d("span", {
5265
5301
  class: "discussion-item-text-message"
5266
- }, [u("span", {
5302
+ }, [d("span", {
5267
5303
  class: "fishbone-line d-inline-block align-middle",
5268
5304
  style: "width:30px;margin-right:8px"
5269
- }, null), u("span", {
5305
+ }, null), d("span", {
5270
5306
  class: "fishbone-line d-inline-block align-middle",
5271
5307
  style: "width:200px;"
5272
- }, null)])]), u("div", {
5308
+ }, null)])]), d("div", {
5273
5309
  class: "discussion-item-footer"
5274
- }, [u("div", {
5310
+ }, [d("div", {
5275
5311
  class: "discussion-item-time"
5276
- }, [u("span", {
5312
+ }, [d("span", {
5277
5313
  class: "discussion-item-time-text"
5278
- }, [q("2020-08-04 09:47")])]), u("div", {
5314
+ }, [q("2020-08-04 09:47")])]), d("div", {
5279
5315
  class: "discussion-item-btns"
5280
- }, [u("span", {
5316
+ }, [d("span", {
5281
5317
  class: "discussion-item-btns-start"
5282
- }, [u("span", {
5318
+ }, [d("span", {
5283
5319
  class: "f-icon f-icon-message"
5284
- }, null), u("span", {
5320
+ }, null), d("span", {
5285
5321
  class: "discussion-item-btns-start-text"
5286
- }, [q(" 回复")])])])])])]), u("div", {
5322
+ }, [q(" 回复")])])])])])]), d("div", {
5287
5323
  class: "f-discussion-group-footer"
5288
- }, [u("div", {
5324
+ }, [d("div", {
5289
5325
  class: "pagination-container"
5290
- }, [u("ul", {
5326
+ }, [d("ul", {
5291
5327
  class: "ngx-pagination pagination responsive pager-viewmode-default",
5292
5328
  style: "position: relative;"
5293
- }, [u("li", {
5329
+ }, [d("li", {
5294
5330
  class: "pagination-message text-truncate ml-auto"
5295
- }, [u("div", {
5331
+ }, [d("div", {
5296
5332
  class: "text-truncate "
5297
- }, [u("span", {
5333
+ }, [d("span", {
5298
5334
  class: "pg-message-text"
5299
- }, [q("共")]), u("b", {
5335
+ }, [q("共")]), d("b", {
5300
5336
  class: "pg-message-total"
5301
- }, [q("25")]), u("span", {
5337
+ }, [q("25")]), d("span", {
5302
5338
  class: "pg-message-text"
5303
- }, [q("条")])])]), u("li", {
5339
+ }, [q("条")])])]), d("li", {
5304
5340
  class: "page-item disabled"
5305
- }, [u("span", {
5341
+ }, [d("span", {
5306
5342
  class: "page-link"
5307
- }, [u("span", {
5343
+ }, [d("span", {
5308
5344
  class: "f-icon f-page-first"
5309
- }, null)])]), u("li", {
5345
+ }, null)])]), d("li", {
5310
5346
  class: "page-item disabled"
5311
- }, [u("span", {
5347
+ }, [d("span", {
5312
5348
  class: "page-link"
5313
- }, [u("span", {
5349
+ }, [d("span", {
5314
5350
  class: "f-icon f-page-pre"
5315
- }, null)])]), u("li", {
5351
+ }, null)])]), d("li", {
5316
5352
  class: "page-item current"
5317
- }, [u("span", {
5353
+ }, [d("span", {
5318
5354
  class: "page-link"
5319
- }, [q("1")])]), u("li", {
5355
+ }, [q("1")])]), d("li", {
5320
5356
  class: "page-item"
5321
- }, [u("a", {
5357
+ }, [d("a", {
5322
5358
  class: "page-link"
5323
- }, [u("span", null, [q("2")])])]), u("li", {
5359
+ }, [d("span", null, [q("2")])])]), d("li", {
5324
5360
  class: "page-item"
5325
- }, [u("a", {
5361
+ }, [d("a", {
5326
5362
  class: "page-link"
5327
- }, [u("span", null, [q("3")])])]), u("li", {
5363
+ }, [d("span", null, [q("3")])])]), d("li", {
5328
5364
  class: "page-item"
5329
- }, [u("span", {
5365
+ }, [d("span", {
5330
5366
  class: "page-link"
5331
- }, [u("span", {
5367
+ }, [d("span", {
5332
5368
  class: "f-icon f-page-next"
5333
- }, null)])]), u("li", {
5369
+ }, null)])]), d("li", {
5334
5370
  class: "page-item"
5335
- }, [u("span", {
5371
+ }, [d("span", {
5336
5372
  class: "page-link"
5337
- }, [u("span", {
5373
+ }, [d("span", {
5338
5374
  class: "f-icon f-page-last"
5339
5375
  }, null)])])])])])])]);
5340
5376
  }
@@ -5343,16 +5379,16 @@ Te.register = (e, t, n, s) => {
5343
5379
  e.comment = Te, t.comment = as;
5344
5380
  };
5345
5381
  Te.registerDesigner = (e, t, n) => {
5346
- e.comment = gi, t.comment = mi;
5382
+ e.comment = hi, t.comment = fi;
5347
5383
  };
5348
- const zi = pn(Te);
5384
+ const Ji = pn(Te);
5349
5385
  export {
5350
5386
  Te as FComment,
5351
5387
  ls as F_COMMENT_LIST_SERVICE_TOKEN,
5352
5388
  Me as MsgInfo,
5353
- Ve as commentEditorProps,
5389
+ je as commentEditorProps,
5354
5390
  Dt as commentListProps,
5355
- _e as commentProps,
5356
- zi as default,
5391
+ Ve as commentProps,
5392
+ Ji as default,
5357
5393
  as as propsResolver
5358
5394
  };