@gpustack/core-ui 1.0.27 → 1.0.32

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 (289) hide show
  1. package/dist/{editor-wrap-LcV3ZHZv.js → editor-wrap-BYfIcvle.js} +2 -2
  2. package/dist/{epubjs-DdxSv04h.js → epubjs-DKV8rhQU.js} +24 -27
  3. package/dist/{excel-reader-CiDeab7_.js → excel-reader-Bgm6Gd2H.js} +2 -2
  4. package/dist/excel.es.js +1 -1
  5. package/dist/file-readers.es.js +2 -2
  6. package/dist/{highlight-code-C8SfAI6k.js → highlight-code-DrKwSNa-.js} +55 -14
  7. package/dist/index.es.js +882 -866
  8. package/dist/{jszip-D1TpRGO6.js → jszip-1lXK4oQn.js} +2 -2
  9. package/dist/{src/lib → lib}/components/form/config/components.d.ts +1 -0
  10. package/dist/lib/components/form/input.d.ts +9 -0
  11. package/dist/{src/lib → lib}/components/icon-font/icons.d.ts +13 -13
  12. package/dist/{src/lib → lib}/components/image-editor/tools-bar.d.ts +5 -0
  13. package/dist/{src/lib → lib}/components/overlay-scroller/index.d.ts +1 -0
  14. package/dist/{src/lib → lib}/components/progress-bar/index.d.ts +5 -0
  15. package/dist/{src/lib → lib}/hooks/use-query-data-list.d.ts +4 -0
  16. package/dist/lib-EFH8CfCi.js +2 -0
  17. package/dist/{lodash-DVkZQU_K.js → lodash-i3XVVuwG.js} +3 -4
  18. package/dist/{mammoth-B7q05pQr.js → mammoth-3bu5V8Au.js} +1157 -1205
  19. package/dist/markdown.es.js +3568 -3639
  20. package/dist/{pdfjs-dist-IXrW0F6n.js → pdfjs-dist-DwiA-2_8.js} +12 -17
  21. package/dist/{rolldown-runtime-gEudmnaM.js → rolldown-runtime-BETGA6I9.js} +1 -1
  22. package/dist/{useIntl-CQ7P5Olk.js → useIntl-ClqxSZNY.js} +1 -1
  23. package/dist/{utils-CIKJeIzI.js → utils-KsqXE63M.js} +9 -9
  24. package/dist/utils.es.js +3 -3
  25. package/dist/{word-reader-Chcn6YoS.js → word-reader-CSmNlWcx.js} +5 -5
  26. package/dist/{xlsx-DmWbdnhm.js → xlsx-DLkyLHwb.js} +2 -2
  27. package/dist/yaml-editor.es.js +2 -2
  28. package/package.json +27 -22
  29. package/dist/src/lib/components/form/input.d.ts +0 -7
  30. package/dist/{src/excel.d.ts → excel.d.ts} +0 -0
  31. package/dist/{src/file-readers.d.ts → file-readers.d.ts} +0 -0
  32. package/dist/{src/index.d.ts → index.d.ts} +0 -0
  33. package/dist/{src/lib → lib}/components/access/index.d.ts +0 -0
  34. package/dist/{src/lib → lib}/components/alert-info/block.d.ts +0 -0
  35. package/dist/{src/lib → lib}/components/alert-info/index.d.ts +0 -0
  36. package/dist/{src/lib → lib}/components/audio-animation/index.d.ts +0 -0
  37. package/dist/{src/lib → lib}/components/audio-player/audio-element.d.ts +0 -0
  38. package/dist/{src/lib → lib}/components/audio-player/config/type.d.ts +0 -0
  39. package/dist/{src/lib → lib}/components/audio-player/index.d.ts +0 -0
  40. package/dist/{src/lib → lib}/components/audio-player/raw-audio-player.d.ts +0 -0
  41. package/dist/{src/lib → lib}/components/audio-player/simple-audio.d.ts +0 -0
  42. package/dist/{src/lib → lib}/components/auto-image/index.d.ts +0 -0
  43. package/dist/{src/lib → lib}/components/auto-image/single-image.d.ts +0 -0
  44. package/dist/{src/lib → lib}/components/auto-tooltip/index.d.ts +0 -0
  45. package/dist/{src/lib → lib}/components/auto-tooltip/title-tip.d.ts +0 -0
  46. package/dist/{src/lib → lib}/components/bibtex-viewer/index.d.ts +0 -0
  47. package/dist/{src/lib → lib}/components/card-wrapper/index.d.ts +0 -0
  48. package/dist/{src/lib → lib}/components/card-wrapper/simple-card.d.ts +0 -0
  49. package/dist/{src/lib → lib}/components/check-buttons/index.d.ts +0 -0
  50. package/dist/{src/lib → lib}/components/collapse-container/headless-collapse.d.ts +0 -0
  51. package/dist/{src/lib → lib}/components/collapse-container/index.d.ts +0 -0
  52. package/dist/{src/lib → lib}/components/collapse-panel/index.d.ts +0 -0
  53. package/dist/{src/lib → lib}/components/column-settings/index.d.ts +0 -0
  54. package/dist/{src/lib → lib}/components/column-wrapper/index.d.ts +0 -0
  55. package/dist/{src/lib → lib}/components/column-wrapper/use-column-wrapper-context.d.ts +0 -0
  56. package/dist/{src/lib → lib}/components/command-viewer/index.d.ts +0 -0
  57. package/dist/{src/lib → lib}/components/content-wrapper/index.d.ts +0 -0
  58. package/dist/{src/lib → lib}/components/copy-button/index.d.ts +0 -0
  59. package/dist/{src/lib → lib}/components/delete-modal/index.d.ts +0 -0
  60. package/dist/{src/lib → lib}/components/divider-line/index.d.ts +0 -0
  61. package/dist/{src/lib → lib}/components/doc-link/index.d.ts +0 -0
  62. package/dist/{src/lib → lib}/components/drop-down-actions/index.d.ts +0 -0
  63. package/dist/{src/lib → lib}/components/drop-down-buttons/index.d.ts +0 -0
  64. package/dist/{src/lib → lib}/components/dynamic-form/components/field-item.d.ts +0 -0
  65. package/dist/{src/lib → lib}/components/dynamic-form/components/form-widget.d.ts +0 -0
  66. package/dist/{src/lib → lib}/components/dynamic-form/components/list-map.d.ts +0 -0
  67. package/dist/{src/lib → lib}/components/dynamic-form/config/types.d.ts +0 -0
  68. package/dist/{src/lib → lib}/components/dynamic-form/hooks/use-parse-fields.d.ts +0 -0
  69. package/dist/{src/lib → lib}/components/dynamic-form/hooks/use-validate-fields.d.ts +0 -0
  70. package/dist/{src/lib → lib}/components/dynamic-form/index.d.ts +0 -0
  71. package/dist/{src/lib → lib}/components/echarts/bar-chart.d.ts +0 -0
  72. package/dist/{src/lib → lib}/components/echarts/chart-tooltip.d.ts +0 -0
  73. package/dist/{src/lib → lib}/components/echarts/chart.d.ts +0 -0
  74. package/dist/{src/lib → lib}/components/echarts/config.d.ts +0 -0
  75. package/dist/{src/lib → lib}/components/echarts/gauge.d.ts +0 -0
  76. package/dist/{src/lib → lib}/components/echarts/h-bar.d.ts +0 -0
  77. package/dist/{src/lib → lib}/components/echarts/index.d.ts +0 -0
  78. package/dist/{src/lib → lib}/components/echarts/line-chart.d.ts +0 -0
  79. package/dist/{src/lib → lib}/components/echarts/mix-line-bar.d.ts +0 -0
  80. package/dist/{src/lib → lib}/components/echarts/scatter.d.ts +0 -0
  81. package/dist/{src/lib → lib}/components/echarts/types.d.ts +0 -0
  82. package/dist/{src/lib → lib}/components/editor-wrap/index.d.ts +0 -0
  83. package/dist/{src/lib → lib}/components/empty-data/index.d.ts +0 -0
  84. package/dist/{src/lib → lib}/components/error-message-content/index.d.ts +0 -0
  85. package/dist/{src/lib → lib}/components/filter-form/index.d.ts +0 -0
  86. package/dist/{src/lib → lib}/components/footer/index.d.ts +0 -0
  87. package/dist/{src/lib → lib}/components/form/auto-complete.d.ts +0 -0
  88. package/dist/{src/lib → lib}/components/form/base/select.d.ts +0 -0
  89. package/dist/{src/lib → lib}/components/form/cascader.d.ts +0 -0
  90. package/dist/{src/lib → lib}/components/form/checkbox-field.d.ts +0 -0
  91. package/dist/{src/lib → lib}/components/form/checkbox.d.ts +0 -0
  92. package/dist/{src/lib → lib}/components/form/components/label-info.d.ts +0 -0
  93. package/dist/{src/lib → lib}/components/form/components/not-found-content.d.ts +0 -0
  94. package/dist/{src/lib → lib}/components/form/config/index.d.ts +0 -0
  95. package/dist/{src/lib → lib}/components/form/field-component.d.ts +0 -0
  96. package/dist/{src/lib → lib}/components/form/hooks/use-select-render.d.ts +0 -0
  97. package/dist/{src/lib → lib}/components/form/input-number.d.ts +0 -0
  98. package/dist/{src/lib → lib}/components/form/input-search.d.ts +0 -0
  99. package/dist/{src/lib → lib}/components/form/multiple-select.d.ts +0 -0
  100. package/dist/{src/lib → lib}/components/form/password.d.ts +0 -0
  101. package/dist/{src/lib → lib}/components/form/row-textarea.d.ts +0 -0
  102. package/dist/{src/lib → lib}/components/form/select.d.ts +0 -0
  103. package/dist/{src/lib → lib}/components/form/simple-select.d.ts +0 -0
  104. package/dist/{src/lib → lib}/components/form/slider.d.ts +0 -0
  105. package/dist/{src/lib → lib}/components/form/switch-input.d.ts +0 -0
  106. package/dist/{src/lib → lib}/components/form/switch.d.ts +0 -0
  107. package/dist/{src/lib → lib}/components/form/textarea.d.ts +0 -0
  108. package/dist/{src/lib → lib}/components/form/types.d.ts +0 -0
  109. package/dist/{src/lib → lib}/components/form/wrapper/auto-complete-label.d.ts +0 -0
  110. package/dist/{src/lib → lib}/components/form/wrapper/index.d.ts +0 -0
  111. package/dist/{src/lib → lib}/components/form/wrapper/input.d.ts +0 -0
  112. package/dist/{src/lib → lib}/components/form/wrapper/select.d.ts +0 -0
  113. package/dist/{src/lib → lib}/components/form/wrapper/slider.d.ts +0 -0
  114. package/dist/{src/lib → lib}/components/form-buttons/index.d.ts +0 -0
  115. package/dist/{src/lib → lib}/components/form-drawer/index.d.ts +0 -0
  116. package/dist/{src/lib → lib}/components/grafana-icon/index.d.ts +0 -0
  117. package/dist/{src/lib → lib}/components/highlight-code/code-viewer-dark.d.ts +0 -0
  118. package/dist/{src/lib → lib}/components/highlight-code/code-viewer-light.d.ts +0 -0
  119. package/dist/{src/lib → lib}/components/highlight-code/code-viewer.d.ts +0 -0
  120. package/dist/{src/lib → lib}/components/highlight-code/index.d.ts +0 -0
  121. package/dist/{src/lib → lib}/components/highlight-code/utils.d.ts +0 -0
  122. package/dist/{src/lib → lib}/components/icon-font/index.d.ts +0 -0
  123. package/dist/{src/lib → lib}/components/image-editor/extract-image-colors.d.ts +0 -0
  124. package/dist/{src/lib → lib}/components/image-editor/hooks/use-drawing.d.ts +0 -0
  125. package/dist/{src/lib → lib}/components/image-editor/hooks/use-zoom.d.ts +0 -0
  126. package/dist/{src/lib → lib}/components/image-editor/index.d.ts +0 -0
  127. package/dist/{src/lib → lib}/components/image-editor/invert-worker.d.ts +0 -0
  128. package/dist/{src/lib → lib}/components/image-editor/offscreen-worker.d.ts +0 -0
  129. package/dist/{src/lib → lib}/components/image-url-input/index.d.ts +0 -0
  130. package/dist/{src/lib → lib}/components/index.d.ts +0 -0
  131. package/dist/{src/lib → lib}/components/infinite-scroller/index.d.ts +0 -0
  132. package/dist/{src/lib → lib}/components/infinite-scroller/infinite-scroller-provider.d.ts +0 -0
  133. package/dist/{src/lib → lib}/components/infinite-scroller/use-infinite-scroll.d.ts +0 -0
  134. package/dist/{src/lib → lib}/components/infinite-scroller/use-scroller-context.d.ts +0 -0
  135. package/dist/{src/lib → lib}/components/label-cell/index.d.ts +0 -0
  136. package/dist/{src/lib → lib}/components/label-selector/autocomplete-item.d.ts +0 -0
  137. package/dist/{src/lib → lib}/components/label-selector/context.d.ts +0 -0
  138. package/dist/{src/lib → lib}/components/label-selector/index.d.ts +0 -0
  139. package/dist/{src/lib → lib}/components/label-selector/inner.d.ts +0 -0
  140. package/dist/{src/lib → lib}/components/label-selector/label-item.d.ts +0 -0
  141. package/dist/{src/lib → lib}/components/label-selector/label-selector-provider.d.ts +0 -0
  142. package/dist/{src/lib → lib}/components/label-selector/wrapper.d.ts +0 -0
  143. package/dist/{src/lib → lib}/components/list-input/hint-input.d.ts +0 -0
  144. package/dist/{src/lib → lib}/components/list-input/index.d.ts +0 -0
  145. package/dist/{src/lib → lib}/components/list-input/list-item.d.ts +0 -0
  146. package/dist/{src/lib → lib}/components/logs-viewer/config.d.ts +0 -0
  147. package/dist/{src/lib → lib}/components/logs-viewer/index.d.ts +0 -0
  148. package/dist/{src/lib → lib}/components/logs-viewer/logs-list.d.ts +0 -0
  149. package/dist/{src/lib → lib}/components/logs-viewer/logs-pagination.d.ts +0 -0
  150. package/dist/{src/lib → lib}/components/logs-viewer/parse-worker.d.ts +0 -0
  151. package/dist/{src/lib → lib}/components/logs-viewer/parse-worker.test.d.ts +0 -0
  152. package/dist/{src/lib → lib}/components/logs-viewer/use-logs-pagination.d.ts +0 -0
  153. package/dist/{src/lib → lib}/components/logs-viewer/use-size.d.ts +0 -0
  154. package/dist/{src/lib → lib}/components/logs-viewer/xterm-viewer.d.ts +0 -0
  155. package/dist/{src/lib → lib}/components/markdown-viewer/full-markdown.d.ts +0 -0
  156. package/dist/{src/lib → lib}/components/markdown-viewer/index.d.ts +0 -0
  157. package/dist/{src/lib → lib}/components/markdown-viewer/utils.d.ts +0 -0
  158. package/dist/{src/lib → lib}/components/metadata-list/index.d.ts +0 -0
  159. package/dist/{src/lib → lib}/components/modal-footer/index.d.ts +0 -0
  160. package/dist/{src/lib → lib}/components/more-button/index.d.ts +0 -0
  161. package/dist/{src/lib → lib}/components/no-result/index.d.ts +0 -0
  162. package/dist/{src/lib → lib}/components/page-breadcrumb/index.d.ts +0 -0
  163. package/dist/{src/lib → lib}/components/page-container/index.d.ts +0 -0
  164. package/dist/{src/lib → lib}/components/page-tools/index.d.ts +0 -0
  165. package/dist/{src/lib → lib}/components/popover/index.d.ts +0 -0
  166. package/dist/{src/lib → lib}/components/radio-buttons/index.d.ts +0 -0
  167. package/dist/{src/lib → lib}/components/resize-container/index.d.ts +0 -0
  168. package/dist/{src/lib → lib}/components/scroll-spy-tabs/index.d.ts +0 -0
  169. package/dist/{src/lib → lib}/components/scroll-spy-tabs/use-field-scroll.d.ts +0 -0
  170. package/dist/{src/lib → lib}/components/scroll-spy-tabs/use-finish-failed.d.ts +0 -0
  171. package/dist/{src/lib → lib}/components/scroll-spy-tabs/use-scroll-active-change.d.ts +0 -0
  172. package/dist/{src/lib → lib}/components/scroller-modal/gs-drawer.d.ts +0 -0
  173. package/dist/{src/lib → lib}/components/scroller-modal/index.d.ts +0 -0
  174. package/dist/{src/lib → lib}/components/scroller-modal/use-scroller-context.d.ts +0 -0
  175. package/dist/{src/lib → lib}/components/segment-line/index.d.ts +0 -0
  176. package/dist/{src/lib → lib}/components/select-panel/index.d.ts +0 -0
  177. package/dist/{src/lib → lib}/components/select-panel/list.d.ts +0 -0
  178. package/dist/{src/lib → lib}/components/select-panel/selected-list.d.ts +0 -0
  179. package/dist/{src/lib → lib}/components/shortcut/index.d.ts +0 -0
  180. package/dist/{src/lib → lib}/components/shortcut/keymap.d.ts +0 -0
  181. package/dist/{src/lib → lib}/components/simple-overlay/index.d.ts +0 -0
  182. package/dist/{src/lib → lib}/components/simple-table/header.d.ts +0 -0
  183. package/dist/{src/lib → lib}/components/simple-table/index.d.ts +0 -0
  184. package/dist/{src/lib → lib}/components/simple-table/info-column.d.ts +0 -0
  185. package/dist/{src/lib → lib}/components/simple-table/row.d.ts +0 -0
  186. package/dist/{src/lib → lib}/components/small-close-button/index.d.ts +0 -0
  187. package/dist/{src/lib → lib}/components/speech-content/audio-player.d.ts +0 -0
  188. package/dist/{src/lib → lib}/components/speech-content/index.d.ts +0 -0
  189. package/dist/{src/lib → lib}/components/speech-content/speech-item.d.ts +0 -0
  190. package/dist/{src/lib → lib}/components/status-icon/error.d.ts +0 -0
  191. package/dist/{src/lib → lib}/components/status-tag/index.d.ts +0 -0
  192. package/dist/{src/lib → lib}/components/sub-drawer/index.d.ts +0 -0
  193. package/dist/{src/lib → lib}/components/switch-card/index.d.ts +0 -0
  194. package/dist/{src/lib → lib}/components/table/components/cell-content.d.ts +0 -0
  195. package/dist/{src/lib → lib}/components/table/components/header-prefix.d.ts +0 -0
  196. package/dist/{src/lib → lib}/components/table/components/header.d.ts +0 -0
  197. package/dist/{src/lib → lib}/components/table/components/layout.d.ts +0 -0
  198. package/dist/{src/lib → lib}/components/table/components/pagination.d.ts +0 -0
  199. package/dist/{src/lib → lib}/components/table/components/row-children.d.ts +0 -0
  200. package/dist/{src/lib → lib}/components/table/components/row-prefix.d.ts +0 -0
  201. package/dist/{src/lib → lib}/components/table/components/table-body.d.ts +0 -0
  202. package/dist/{src/lib → lib}/components/table/components/table-cell.d.ts +0 -0
  203. package/dist/{src/lib → lib}/components/table/components/table-header.d.ts +0 -0
  204. package/dist/{src/lib → lib}/components/table/components/table-row.d.ts +0 -0
  205. package/dist/{src/lib → lib}/components/table/components/table-skeleton.d.ts +0 -0
  206. package/dist/{src/lib → lib}/components/table/index.d.ts +0 -0
  207. package/dist/{src/lib → lib}/components/table/row-context.d.ts +0 -0
  208. package/dist/{src/lib → lib}/components/table/table-context.d.ts +0 -0
  209. package/dist/{src/lib → lib}/components/table/table-provider.d.ts +0 -0
  210. package/dist/{src/lib → lib}/components/table/table-row-provider.d.ts +0 -0
  211. package/dist/{src/lib → lib}/components/table/types.d.ts +0 -0
  212. package/dist/{src/lib → lib}/components/table/use-sorter.d.ts +0 -0
  213. package/dist/{src/lib → lib}/components/tags-wrapper/index.d.ts +0 -0
  214. package/dist/{src/lib → lib}/components/tags-wrapper/more-dropdown.d.ts +0 -0
  215. package/dist/{src/lib → lib}/components/tags-wrapper/theme-tag.d.ts +0 -0
  216. package/dist/{src/lib → lib}/components/templates/card-list.d.ts +0 -0
  217. package/dist/{src/lib → lib}/components/templates/card-skeleton.d.ts +0 -0
  218. package/dist/{src/lib → lib}/components/templates/card.d.ts +0 -0
  219. package/dist/{src/lib → lib}/components/terminal-tabs/index.d.ts +0 -0
  220. package/dist/{src/lib → lib}/components/terminal-tabs/resize-panel.d.ts +0 -0
  221. package/dist/{src/lib → lib}/components/terminal-tabs/tabs.d.ts +0 -0
  222. package/dist/{src/lib → lib}/components/terminal-tabs/types.d.ts +0 -0
  223. package/dist/{src/lib → lib}/components/thumb-image/index.d.ts +0 -0
  224. package/dist/{src/lib → lib}/components/tooltip-list/index.d.ts +0 -0
  225. package/dist/{src/lib → lib}/components/transfer/index.d.ts +0 -0
  226. package/dist/{src/lib → lib}/components/transition/index.d.ts +0 -0
  227. package/dist/{src/lib → lib}/components/upload-audio/index.d.ts +0 -0
  228. package/dist/{src/lib → lib}/components/upload-image/index.d.ts +0 -0
  229. package/dist/{src/lib → lib}/components/upload-image-button/index.d.ts +0 -0
  230. package/dist/{src/lib → lib}/components/viewer-editor/index.d.ts +0 -0
  231. package/dist/{src/lib → lib}/components/x-terminal/index.d.ts +0 -0
  232. package/dist/{src/lib → lib}/components/yaml-editor/editor.d.ts +0 -0
  233. package/dist/{src/lib → lib}/components/yaml-editor/index.d.ts +0 -0
  234. package/dist/{src/lib → lib}/config/hotkeys.d.ts +0 -0
  235. package/dist/{src/lib → lib}/config/index.d.ts +0 -0
  236. package/dist/{src/lib → lib}/constants/index.d.ts +0 -0
  237. package/dist/{src/lib → lib}/context/CoreUIContext.d.ts +0 -0
  238. package/dist/{src/lib → lib}/context/CoreUIProvider.d.ts +0 -0
  239. package/dist/{src/lib → lib}/hooks/index.d.ts +0 -0
  240. package/dist/{src/lib → lib}/hooks/json-parser-worker.d.ts +0 -0
  241. package/dist/{src/lib → lib}/hooks/use-actions.d.ts +0 -0
  242. package/dist/{src/lib → lib}/hooks/use-add-image.d.ts +0 -0
  243. package/dist/{src/lib → lib}/hooks/use-app-utils.d.ts +0 -0
  244. package/dist/{src/lib → lib}/hooks/use-body-scroll.d.ts +0 -0
  245. package/dist/{src/lib → lib}/hooks/use-chunk-fetch.d.ts +0 -0
  246. package/dist/{src/lib → lib}/hooks/use-chunk-request.d.ts +0 -0
  247. package/dist/{src/lib → lib}/hooks/use-container-scroll.d.ts +0 -0
  248. package/dist/{src/lib → lib}/hooks/use-deferred-request.d.ts +0 -0
  249. package/dist/{src/lib → lib}/hooks/use-download-logs.d.ts +0 -0
  250. package/dist/{src/lib → lib}/hooks/use-download-stream.d.ts +0 -0
  251. package/dist/{src/lib → lib}/hooks/use-esc-hint.d.ts +0 -0
  252. package/dist/{src/lib → lib}/hooks/use-expanded-row-keys.d.ts +0 -0
  253. package/dist/{src/lib → lib}/hooks/use-overlay-scroller.d.ts +0 -0
  254. package/dist/{src/lib → lib}/hooks/use-request-token.d.ts +0 -0
  255. package/dist/{src/lib → lib}/hooks/use-responsive.d.ts +0 -0
  256. package/dist/{src/lib → lib}/hooks/use-stream-core/buffer-queue.d.ts +0 -0
  257. package/dist/{src/lib → lib}/hooks/use-stream-core/fetch-stream.d.ts +0 -0
  258. package/dist/{src/lib → lib}/hooks/use-stream-core/speed-monitor.d.ts +0 -0
  259. package/dist/{src/lib → lib}/hooks/use-stream-core/stream-processor.d.ts +1 -1
  260. /package/dist/{src/lib → lib}/hooks/use-stream-core/use-chunk-fetch.d.ts +0 -0
  261. /package/dist/{src/lib → lib}/hooks/use-table-row-selection.d.ts +0 -0
  262. /package/dist/{src/lib → lib}/hooks/use-table-sort.d.ts +0 -0
  263. /package/dist/{src/lib → lib}/hooks/use-update-chunk-list.d.ts +0 -0
  264. /package/dist/{src/lib → lib}/hooks/use-watch-list.d.ts +0 -0
  265. /package/dist/{src/lib → lib}/hooks/use-window-resize.d.ts +0 -0
  266. /package/dist/{src/lib → lib}/hooks/useAccess.d.ts +0 -0
  267. /package/dist/{src/lib → lib}/hooks/useCoreUIContext.d.ts +0 -0
  268. /package/dist/{src/lib → lib}/hooks/useCoreUISlots.d.ts +0 -0
  269. /package/dist/{src/lib → lib}/hooks/useCurrentUser.d.ts +0 -0
  270. /package/dist/{src/lib → lib}/hooks/useIntl.d.ts +0 -0
  271. /package/dist/{src/lib → lib}/hooks/useTableFetch.d.ts +0 -0
  272. /package/dist/{src/lib → lib}/index.d.ts +0 -0
  273. /package/dist/{src/lib → lib}/types/index.d.ts +0 -0
  274. /package/dist/{src/lib → lib}/types/table-fetch.d.ts +0 -0
  275. /package/dist/{src/lib → lib}/utils/download-stream.d.ts +0 -0
  276. /package/dist/{src/lib → lib}/utils/epub-reader.d.ts +0 -0
  277. /package/dist/{src/lib → lib}/utils/excel-reader.d.ts +0 -0
  278. /package/dist/{src/lib → lib}/utils/fetch-chunk-data.d.ts +0 -0
  279. /package/dist/{src/lib → lib}/utils/index.d.ts +0 -0
  280. /package/dist/{src/lib → lib}/utils/load-audio-file.d.ts +0 -0
  281. /package/dist/{src/lib → lib}/utils/pcm-to-wav.d.ts +0 -0
  282. /package/dist/{src/lib → lib}/utils/pdf-reader.d.ts +0 -0
  283. /package/dist/{src/lib → lib}/utils/pptx-reader.d.ts +0 -0
  284. /package/dist/{src/lib → lib}/utils/read-html.d.ts +0 -0
  285. /package/dist/{src/lib → lib}/utils/watch-request.d.ts +0 -0
  286. /package/dist/{src/lib → lib}/utils/word-reader.d.ts +0 -0
  287. /package/dist/{src/markdown.d.ts → markdown.d.ts} +0 -0
  288. /package/dist/{src/utils.d.ts → utils.d.ts} +0 -0
  289. /package/dist/{src/yaml-editor.d.ts → yaml-editor.d.ts} +0 -0
package/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { o as e, r as t, t as n } from "./rolldown-runtime-gEudmnaM.js";
2
- import { i as r, n as i, r as a, t as o } from "./useIntl-CQ7P5Olk.js";
3
- import { t as s } from "./lodash-DVkZQU_K.js";
4
- import { a as c, i as l, n as u, o as d, r as f, t as p } from "./highlight-code-C8SfAI6k.js";
5
- import { A as m, _ as h, a as g, c as _, f as v, g as y, n as b, s as x, y as S } from "./utils-CIKJeIzI.js";
6
- import { t as C } from "./editor-wrap-LcV3ZHZv.js";
1
+ import { o as e, r as t, t as n } from "./rolldown-runtime-BETGA6I9.js";
2
+ import { i as r, n as i, r as a, t as o } from "./useIntl-ClqxSZNY.js";
3
+ import { t as s } from "./lodash-i3XVVuwG.js";
4
+ import { a as c, i as l, n as u, o as d, r as f, t as p } from "./highlight-code-DrKwSNa-.js";
5
+ import { A as m, _ as h, a as g, c as _, f as v, g as y, n as b, s as x, y as S } from "./utils-KsqXE63M.js";
6
+ import { t as C } from "./editor-wrap-BYfIcvle.js";
7
7
  import w from "axios";
8
8
  import * as T from "react";
9
9
  import E, { PureComponent as D, createContext as O, createElement as k, forwardRef as A, isValidElement as j, memo as M, useCallback as N, useContext as P, useEffect as F, useImperativeHandle as I, useLayoutEffect as L, useMemo as R, useRef as z, useState as B, version as ee } from "react";
@@ -765,7 +765,7 @@ var un = ({ children: e, ...t }) => /* @__PURE__ */ H(r.Provider, {
765
765
  });
766
766
  };
767
767
  //#endregion
768
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/extends.js
768
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/extends.js
769
769
  function Mn() {
770
770
  return Mn = Object.assign ? Object.assign.bind() : function(e) {
771
771
  for (var t = 1; t < arguments.length; t++) {
@@ -776,7 +776,7 @@ function Mn() {
776
776
  }, Mn.apply(null, arguments);
777
777
  }
778
778
  //#endregion
779
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/typeof.js
779
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/typeof.js
780
780
  function Nn(e) {
781
781
  "@babel/helpers - typeof";
782
782
  return Nn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -786,13 +786,13 @@ function Nn(e) {
786
786
  }, Nn(e);
787
787
  }
788
788
  //#endregion
789
- //#region ../../node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/React/isFragment.js
789
+ //#region node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/React/isFragment.js
790
790
  var Pn = Symbol.for("react.element"), Fn = Symbol.for("react.transitional.element"), In = Symbol.for("react.fragment");
791
791
  function Ln(e) {
792
792
  return e && Nn(e) === "object" && (e.$$typeof === Pn || e.$$typeof === Fn) && e.type === In;
793
793
  }
794
794
  //#endregion
795
- //#region ../../node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/Children/toArray.js
795
+ //#region node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/Children/toArray.js
796
796
  function Rn(e) {
797
797
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [];
798
798
  return E.Children.forEach(e, function(e) {
@@ -800,7 +800,7 @@ function Rn(e) {
800
800
  }), n;
801
801
  }
802
802
  //#endregion
803
- //#region ../../node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/warning.js
803
+ //#region node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/warning.js
804
804
  var zn = {}, Bn = [], Vn = function(e) {
805
805
  Bn.push(e);
806
806
  };
@@ -834,7 +834,7 @@ function qn(e, t) {
834
834
  }
835
835
  Kn.preMessage = Vn, Kn.resetWarned = Wn, Kn.noteOnce = qn;
836
836
  //#endregion
837
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
837
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
838
838
  function Jn(e, t) {
839
839
  if (Nn(e) != "object" || !e) return e;
840
840
  var n = e[Symbol.toPrimitive];
@@ -846,13 +846,13 @@ function Jn(e, t) {
846
846
  return (t === "string" ? String : Number)(e);
847
847
  }
848
848
  //#endregion
849
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
849
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
850
850
  function Yn(e) {
851
851
  var t = Jn(e, "string");
852
852
  return Nn(t) == "symbol" ? t : t + "";
853
853
  }
854
854
  //#endregion
855
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/defineProperty.js
855
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/defineProperty.js
856
856
  function Xn(e, t, n) {
857
857
  return (t = Yn(t)) in e ? Object.defineProperty(e, t, {
858
858
  value: n,
@@ -862,7 +862,7 @@ function Xn(e, t, n) {
862
862
  }) : e[t] = n, e;
863
863
  }
864
864
  //#endregion
865
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
865
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
866
866
  function Zn(e, t) {
867
867
  var n = Object.keys(e);
868
868
  if (Object.getOwnPropertySymbols) {
@@ -885,7 +885,7 @@ function Qn(e) {
885
885
  return e;
886
886
  }
887
887
  //#endregion
888
- //#region ../../node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/Dom/findDOMNode.js
888
+ //#region node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/Dom/findDOMNode.js
889
889
  function $n(e) {
890
890
  return e instanceof HTMLElement || e instanceof SVGElement;
891
891
  }
@@ -896,7 +896,7 @@ function tr(e) {
896
896
  return er(e) || (e instanceof E.Component ? Vt.findDOMNode?.call(Vt, e) : null);
897
897
  }
898
898
  //#endregion
899
- //#region ../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js
899
+ //#region node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js
900
900
  var nr = /* @__PURE__ */ n(((e) => {
901
901
  var t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = Symbol.for("react.module.reference");
902
902
  function g(e) {
@@ -1037,13 +1037,13 @@ var nr = /* @__PURE__ */ n(((e) => {
1037
1037
  process.env.NODE_ENV === "production" ? t.exports = nr() : t.exports = rr();
1038
1038
  }));
1039
1039
  //#endregion
1040
- //#region ../../node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useMemo.js
1040
+ //#region node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useMemo.js
1041
1041
  function ar(e, t, n) {
1042
1042
  var r = T.useRef({});
1043
1043
  return (!("value" in r.current) || n(r.current.condition, t)) && (r.current.value = e(), r.current.condition = t), r.current.value;
1044
1044
  }
1045
1045
  //#endregion
1046
- //#region ../../node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/ref.js
1046
+ //#region node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/ref.js
1047
1047
  var or = ir(), sr = Number(ee.split(".")[0]), cr = function(e, t) {
1048
1048
  typeof e == "function" ? e(t) : Nn(e) === "object" && e && "current" in e && (e.current = t);
1049
1049
  }, lr = function() {
@@ -1094,7 +1094,7 @@ function hr(e) {
1094
1094
  return /* @__PURE__ */ T.createElement(mr.Provider, { value: o }, t);
1095
1095
  }
1096
1096
  //#endregion
1097
- //#region ../../node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
1097
+ //#region node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
1098
1098
  var gr = (function() {
1099
1099
  if (typeof Map < "u") return Map;
1100
1100
  function e(e, t) {
@@ -1385,12 +1385,12 @@ function Yr(e, t) {
1385
1385
  Gr.has(e) && (Gr.get(e).delete(t), Gr.get(e).size || (qr.unobserve(e), Gr.delete(e)));
1386
1386
  }
1387
1387
  //#endregion
1388
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
1388
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
1389
1389
  function Xr(e, t) {
1390
1390
  if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1391
1391
  }
1392
1392
  //#endregion
1393
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/createClass.js
1393
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/createClass.js
1394
1394
  function Zr(e, t) {
1395
1395
  for (var n = 0; n < t.length; n++) {
1396
1396
  var r = t[n];
@@ -1401,14 +1401,14 @@ function Qr(e, t, n) {
1401
1401
  return t && Zr(e.prototype, t), n && Zr(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1402
1402
  }
1403
1403
  //#endregion
1404
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1404
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1405
1405
  function $r(e, t) {
1406
1406
  return $r = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
1407
1407
  return e.__proto__ = t, e;
1408
1408
  }, $r(e, t);
1409
1409
  }
1410
1410
  //#endregion
1411
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/inherits.js
1411
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/inherits.js
1412
1412
  function ei(e, t) {
1413
1413
  if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
1414
1414
  e.prototype = Object.create(t && t.prototype, { constructor: {
@@ -1418,14 +1418,14 @@ function ei(e, t) {
1418
1418
  } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && $r(e, t);
1419
1419
  }
1420
1420
  //#endregion
1421
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
1421
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
1422
1422
  function ti(e) {
1423
1423
  return ti = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
1424
1424
  return e.__proto__ || Object.getPrototypeOf(e);
1425
1425
  }, ti(e);
1426
1426
  }
1427
1427
  //#endregion
1428
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
1428
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
1429
1429
  function ni() {
1430
1430
  try {
1431
1431
  var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
@@ -1435,20 +1435,20 @@ function ni() {
1435
1435
  })();
1436
1436
  }
1437
1437
  //#endregion
1438
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
1438
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
1439
1439
  function ri(e) {
1440
1440
  if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1441
1441
  return e;
1442
1442
  }
1443
1443
  //#endregion
1444
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
1444
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
1445
1445
  function ii(e, t) {
1446
1446
  if (t && (Nn(t) == "object" || typeof t == "function")) return t;
1447
1447
  if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
1448
1448
  return ri(e);
1449
1449
  }
1450
1450
  //#endregion
1451
- //#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/createSuper.js
1451
+ //#region node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/createSuper.js
1452
1452
  function ai(e) {
1453
1453
  var t = ni();
1454
1454
  return function() {
@@ -1461,7 +1461,7 @@ function ai(e) {
1461
1461
  };
1462
1462
  }
1463
1463
  //#endregion
1464
- //#region ../../node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js
1464
+ //#region node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js
1465
1465
  var oi = /* @__PURE__ */ function(e) {
1466
1466
  ei(n, e);
1467
1467
  var t = ai(n);
@@ -1476,7 +1476,7 @@ var oi = /* @__PURE__ */ function(e) {
1476
1476
  }]), n;
1477
1477
  }(T.Component);
1478
1478
  //#endregion
1479
- //#region ../../node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-resize-observer/es/SingleObserver/index.js
1479
+ //#region node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-resize-observer/es/SingleObserver/index.js
1480
1480
  function si(e, t) {
1481
1481
  var n = e.children, r = e.disabled, i = T.useRef(null), a = T.useRef(null), o = T.useContext(mr), s = typeof n == "function", c = s ? n(i) : n, l = T.useRef({
1482
1482
  width: -1,
@@ -1520,7 +1520,7 @@ function si(e, t) {
1520
1520
  var ci = /* @__PURE__ */ T.forwardRef(si);
1521
1521
  process.env.NODE_ENV !== "production" && (ci.displayName = "SingleObserver");
1522
1522
  //#endregion
1523
- //#region ../../node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-resize-observer/es/index.js
1523
+ //#region node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-resize-observer/es/index.js
1524
1524
  var li = "rc-observer-key";
1525
1525
  function ui(e, t) {
1526
1526
  var n = e.children, r = typeof n == "function" ? [n] : Rn(n);
@@ -2504,7 +2504,7 @@ function Xi(e, t = 100) {
2504
2504
  }), await e(...n)), { manual: !0 });
2505
2505
  }
2506
2506
  //#endregion
2507
- //#region ../../node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/dayjs.min.js
2507
+ //#region node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/dayjs.min.js
2508
2508
  var Zi = /* @__PURE__ */ n(((e, t) => {
2509
2509
  (function(n, r) {
2510
2510
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
@@ -2931,61 +2931,61 @@ function ra(e = []) {
2931
2931
  //#endregion
2932
2932
  //#region src/lib/hooks/use-query-data-list.ts
2933
2933
  function ia(e) {
2934
- let { key: t, fetchList: n, getLabel: r, getValue: i, responseType: a = "array", errorMsg: o } = e, s = z(null), [c, l] = B([]), { runAsync: u, loading: d, cancel: f } = Bt(async (e, t) => {
2935
- s.current?.cancel(), s.current = Ki();
2936
- let o = await n(e, {
2937
- token: s.current?.token,
2934
+ let { key: t, fetchList: n, getLabel: r, getValue: i, manual: a = !0, responseType: o = "array", errorMsg: s } = e, c = z(null), [l, u] = B([]), { runAsync: d, loading: f, cancel: p } = Bt(async (e, t) => {
2935
+ c.current?.cancel(), c.current = Ki();
2936
+ let a = await n(e, {
2937
+ token: c.current?.token,
2938
2938
  ...t || {}
2939
2939
  });
2940
- return l(o?.items?.map((e) => ({
2940
+ return u(a?.items?.map((e) => ({
2941
2941
  ...e,
2942
2942
  label: r ? r(e) : e.name,
2943
2943
  value: i ? i(e) : e.id
2944
- })) || []), a === "array" ? o?.items || [] : o;
2944
+ })) || []), o === "array" ? a?.items || [] : a;
2945
2945
  }, {
2946
- manual: !0,
2946
+ manual: a,
2947
2947
  debounceWait: e.debounceWait || 300,
2948
2948
  onError: (e) => {
2949
- l([]);
2949
+ u([]);
2950
2950
  }
2951
2951
  });
2952
2952
  return F(() => () => {
2953
- f(), s.current?.cancel();
2954
- }, [f]), {
2955
- loading: d,
2956
- dataList: c,
2953
+ p(), c.current?.cancel();
2954
+ }, [p]), {
2955
+ loading: f,
2956
+ dataList: l,
2957
2957
  cancelRequest: () => {
2958
- f(), s.current?.cancel();
2958
+ p(), c.current?.cancel();
2959
2959
  },
2960
- fetchData: (e, t) => u(e, t)
2960
+ fetchData: (e, t) => d(e, t)
2961
2961
  };
2962
2962
  }
2963
2963
  function aa(e) {
2964
- let { key: t, fetchDetail: n, getData: r, errorMsg: i, delay: a } = e, o = z(null), [s, c] = B({}), { runAsync: l, loading: u, cancel: d } = Bt(async (e, t) => {
2965
- o.current?.cancel(), o.current = Ki();
2964
+ let { key: t, fetchDetail: n, getData: r, errorMsg: i, delay: a, manual: o = !0 } = e, s = z(null), [c, l] = B({}), { runAsync: u, loading: d, cancel: f } = Bt(async (e, t) => {
2965
+ s.current?.cancel(), s.current = Ki();
2966
2966
  let i = await n(e, {
2967
- token: o.current?.token,
2967
+ token: s.current?.token,
2968
2968
  ...t || {}
2969
2969
  });
2970
2970
  return a && await new Promise((e) => {
2971
2971
  setTimeout(e, a);
2972
- }), c(r ? r(i, e) : i), i;
2972
+ }), l(r ? r(i, e) : i), i;
2973
2973
  }, {
2974
- manual: !0,
2974
+ manual: o,
2975
2975
  onSuccess: () => {},
2976
2976
  onError: (e) => {
2977
- c({});
2977
+ l({});
2978
2978
  }
2979
- }), f = () => {
2980
- d(), o.current?.cancel();
2979
+ }), p = () => {
2980
+ f(), s.current?.cancel();
2981
2981
  };
2982
2982
  return F(() => () => {
2983
- f();
2983
+ p();
2984
2984
  }, []), {
2985
- loading: u,
2986
- detailData: s,
2987
- cancelRequest: f,
2988
- fetchData: l
2985
+ loading: d,
2986
+ detailData: c,
2987
+ cancelRequest: p,
2988
+ fetchData: u
2989
2989
  };
2990
2990
  }
2991
2991
  //#endregion
@@ -3558,8 +3558,20 @@ var ma = () => {
3558
3558
  display: flex;
3559
3559
  margin-top: 8px;
3560
3560
  }
3561
+ `,
3562
+ checkboxWrapper: e`
3563
+ margin-top: 20px;
3564
+ margin-left: 30px;
3565
+ display: flex;
3566
+ justify-content: flex-start;
3567
+ align-items: center;
3568
+ .check-text {
3569
+ font-weight: 700;
3570
+ color: var(--ant-color-warning);
3571
+ }
3561
3572
  `
3562
- })), Ra = Y.div`
3573
+ }));
3574
+ Y.div`
3563
3575
  margin-top: 20px;
3564
3576
  margin-left: 30px;
3565
3577
  display: flex;
@@ -3569,7 +3581,8 @@ var ma = () => {
3569
3581
  font-weight: 700;
3570
3582
  color: var(--ant-color-warning);
3571
3583
  }
3572
- `, za = A((e, t) => {
3584
+ `;
3585
+ var Ra = A((e, t) => {
3573
3586
  let n = o(), { styles: r } = La(), { saveScrollHeight: i, restoreScrollHeight: a } = ji(), [s, c] = B(!1), [l, u] = B({ checked: !1 }), [d, f] = B(!1), [p, m] = B({}), h = (e) => {
3574
3587
  i(), m(e), u({ checked: e.checkConfig?.defautlChecked || !1 }), c(!0);
3575
3588
  }, g = () => {
@@ -3630,26 +3643,36 @@ var ma = () => {
3630
3643
  name: p.name
3631
3644
  }) : "" }
3632
3645
  }),
3633
- p.checkConfig && /* @__PURE__ */ H(Ra, { children: /* @__PURE__ */ H(K, {
3634
- checked: l.checked,
3635
- onChange: (e) => u({ checked: e.target.checked }),
3646
+ p.checkConfig && /* @__PURE__ */ H("div", {
3647
+ className: r.checkboxWrapper,
3648
+ children: /* @__PURE__ */ H(K, {
3649
+ checked: l.checked,
3650
+ onChange: (e) => u({ checked: e.target.checked }),
3651
+ children: /* @__PURE__ */ H("span", {
3652
+ className: "check-text",
3653
+ children: n.formatMessage({ id: p.checkConfig?.checkText })
3654
+ })
3655
+ })
3656
+ }),
3657
+ p.tips && /* @__PURE__ */ H("div", {
3658
+ className: r.checkboxWrapper,
3636
3659
  children: /* @__PURE__ */ H("span", {
3637
3660
  className: "check-text",
3638
- children: n.formatMessage({ id: p.checkConfig?.checkText })
3661
+ children: p.tips
3639
3662
  })
3640
- }) })
3663
+ })
3641
3664
  ]
3642
3665
  });
3643
- }), Ba = { "divider-line": "index-module__divider-line___W2S2g" }, Va = () => /* @__PURE__ */ H("div", { className: Ba["divider-line"] }), Ha = Y.div`
3666
+ }), za = { "divider-line": "index-module__divider-line___W2S2g" }, Ba = () => /* @__PURE__ */ H("div", { className: za["divider-line"] }), Va = Y.div`
3644
3667
  display: flex;
3645
3668
  align-items: center;
3646
3669
  flex-wrap: wrap;
3647
3670
  .title {
3648
3671
  margin-right: 8px;
3649
3672
  }
3650
- `, Ua = ({ link: e, title: t }) => {
3673
+ `, Ha = ({ link: e, title: t }) => {
3651
3674
  let n = o();
3652
- return /* @__PURE__ */ U(Ha, { children: [t && /* @__PURE__ */ H("span", {
3675
+ return /* @__PURE__ */ U(Va, { children: [t && /* @__PURE__ */ H("span", {
3653
3676
  className: "title",
3654
3677
  children: t
3655
3678
  }), /* @__PURE__ */ U(G, {
@@ -3663,7 +3686,7 @@ var ma = () => {
3663
3686
  className: "font-size-14"
3664
3687
  })]
3665
3688
  })] });
3666
- }, Wa = (e) => {
3689
+ }, Ua = (e) => {
3667
3690
  let { menu: t, trigger: n = ["hover"], placement: r = "bottomRight", children: i, ...a } = e, s = o(), c = ma();
3668
3691
  return /* @__PURE__ */ H(dt, {
3669
3692
  menu: {
@@ -3683,7 +3706,7 @@ var ma = () => {
3683
3706
  ...a,
3684
3707
  children: i
3685
3708
  });
3686
- }, Ga = { middle: "index-module__middle___pMpZ3" }, Ka = ({ items: e, size: t = "middle", trigger: n = ["hover"], showText: r, disabled: i, variant: a, color: s, extra: c, onSelect: l }) => {
3709
+ }, Wa = { middle: "index-module__middle___pMpZ3" }, Ga = ({ items: e, size: t = "middle", trigger: n = ["hover"], showText: r, disabled: i, variant: a, color: s, extra: c, onSelect: l }) => {
3687
3710
  let u = o(), d = ma(), f = Z.default.filter(e, (e) => e?.access ? d?.[e.access] : !0), p = (e) => {
3688
3711
  let t = Z.default.find(f, { key: e.key });
3689
3712
  l(e.key, t);
@@ -3694,7 +3717,7 @@ var ma = () => {
3694
3717
  return f?.length ? /* @__PURE__ */ H(V, { children: f?.length === 1 ? /* @__PURE__ */ H(J, {
3695
3718
  title: u.formatMessage({ id: m?.label }),
3696
3719
  children: /* @__PURE__ */ H(G, {
3697
- className: Ga[t],
3720
+ className: Wa[t],
3698
3721
  icon: m?.icon,
3699
3722
  size: t,
3700
3723
  ...m?.props,
@@ -3703,7 +3726,7 @@ var ma = () => {
3703
3726
  }) : /* @__PURE__ */ U(Et.Compact, { children: [/* @__PURE__ */ H(V, { children: r ? /* @__PURE__ */ U(G, {
3704
3727
  ...m?.props,
3705
3728
  disabled: m?.disabled || i,
3706
- className: Ga[t],
3729
+ className: Wa[t],
3707
3730
  onClick: h,
3708
3731
  size: t,
3709
3732
  icon: m?.icon,
@@ -3714,7 +3737,7 @@ var ma = () => {
3714
3737
  title: u.formatMessage({ id: m?.label }),
3715
3738
  children: /* @__PURE__ */ H(G, {
3716
3739
  ...m?.props,
3717
- className: Ga[t],
3740
+ className: Wa[t],
3718
3741
  onClick: h,
3719
3742
  size: t,
3720
3743
  icon: m?.icon,
@@ -3741,15 +3764,15 @@ var ma = () => {
3741
3764
  size: t,
3742
3765
  variant: a,
3743
3766
  color: "default",
3744
- className: Ga[t]
3767
+ className: Wa[t]
3745
3768
  }, "menu")
3746
3769
  })] }) }) : /* @__PURE__ */ H("span", {});
3747
- }, qa = ({ schema: e, onSubmit: t }) => /* @__PURE__ */ H(V, { children: /* @__PURE__ */ H(q, {
3770
+ }, Ka = ({ schema: e, onSubmit: t }) => /* @__PURE__ */ H(V, { children: /* @__PURE__ */ H(q, {
3748
3771
  form: q.useFormInstance(),
3749
3772
  onFinish: (e) => {
3750
3773
  t(e);
3751
3774
  }
3752
- }) }), Ja = (e) => {
3775
+ }) }), qa = (e) => {
3753
3776
  let { required: t, description: n, label: r, labelExtra: i } = e || {};
3754
3777
  return r ? /* @__PURE__ */ U("span", {
3755
3778
  className: "label-text",
@@ -3772,7 +3795,7 @@ var ma = () => {
3772
3795
  })] })
3773
3796
  }), i]
3774
3797
  }) : null;
3775
- }, Ya = Y.div`
3798
+ }, Ja = Y.div`
3776
3799
  position: relative;
3777
3800
  padding: 14px;
3778
3801
  padding-top: 34px;
@@ -3788,16 +3811,16 @@ var ma = () => {
3788
3811
  top: 12px;
3789
3812
  color: var(--ant-color-text-tertiary);
3790
3813
  }
3791
- `, Xa = Y.div`
3814
+ `, Ya = Y.div`
3792
3815
  margin-top: 8px;
3793
- `, Za = ({ required: e, children: t, label: n, description: r, labelExtra: i, onAdd: a, btnText: s, disabled: c, button: l, styles: u }) => {
3816
+ `, Xa = ({ required: e, children: t, label: n, description: r, labelExtra: i, onAdd: a, btnText: s, disabled: c, button: l, styles: u }) => {
3794
3817
  let d = o();
3795
- return /* @__PURE__ */ U(Ya, {
3818
+ return /* @__PURE__ */ U(Ja, {
3796
3819
  style: u?.wrapper,
3797
3820
  children: [
3798
3821
  n && /* @__PURE__ */ H("span", {
3799
3822
  className: "label",
3800
- children: /* @__PURE__ */ H(Ja, {
3823
+ children: /* @__PURE__ */ H(qa, {
3801
3824
  required: e,
3802
3825
  label: n,
3803
3826
  description: r,
@@ -3805,7 +3828,7 @@ var ma = () => {
3805
3828
  })
3806
3829
  }),
3807
3830
  t,
3808
- !c && /* @__PURE__ */ H(Xa, { children: l || /* @__PURE__ */ U(G, {
3831
+ !c && /* @__PURE__ */ H(Ya, { children: l || /* @__PURE__ */ U(G, {
3809
3832
  variant: "filled",
3810
3833
  color: "default",
3811
3834
  block: !0,
@@ -3815,19 +3838,19 @@ var ma = () => {
3815
3838
  }) })
3816
3839
  ]
3817
3840
  });
3818
- }, { Link: Qa } = Nt, $a = Y.div`
3841
+ }, { Link: Za } = Nt, Qa = Y.div`
3819
3842
  display: flex;
3820
3843
  justify-content: center;
3821
3844
  align-items: center;
3822
3845
  padding-block: 12px;
3823
- `, eo = () => /* @__PURE__ */ H($a, { children: /* @__PURE__ */ H(Qa, { children: /* @__PURE__ */ H(Oe, {}) }) }), to = ({ loading: e, notFoundContent: t }) => {
3846
+ `, $a = () => /* @__PURE__ */ H(Qa, { children: /* @__PURE__ */ H(Za, { children: /* @__PURE__ */ H(Oe, {}) }) }), eo = ({ loading: e, notFoundContent: t }) => {
3824
3847
  let n = o();
3825
- return e ? /* @__PURE__ */ H(eo, {}) : /* @__PURE__ */ H($a, { children: t || /* @__PURE__ */ H(ft, {
3848
+ return e ? /* @__PURE__ */ H($a, {}) : /* @__PURE__ */ H(Qa, { children: t || /* @__PURE__ */ H(ft, {
3826
3849
  style: { marginBlock: 0 },
3827
3850
  description: n.formatMessage({ id: "common.data.empty" }),
3828
3851
  image: ft.PRESENTED_IMAGE_SIMPLE
3829
3852
  }) });
3830
- }, no = "transparent", ro = Y.div`
3853
+ }, to = "transparent", no = Y.div`
3831
3854
  position: relative;
3832
3855
  display: flex;
3833
3856
  justify-content: flex-start;
@@ -3886,7 +3909,7 @@ var ma = () => {
3886
3909
  }
3887
3910
  }
3888
3911
  }
3889
- `, io = Y.div.attrs((e) => ({ className: (0, X.default)({
3912
+ `, ro = Y.div.attrs((e) => ({ className: (0, X.default)({
3890
3913
  __wrapper__: !0,
3891
3914
  "no-wrapper-style": e.$noWrapperStyle,
3892
3915
  "no-label": e.$nolabel
@@ -3909,7 +3932,7 @@ var ma = () => {
3909
3932
  &.no-label {
3910
3933
  padding-block: 0;
3911
3934
  }
3912
- `, ao = Y.div.attrs((e) => ({ className: (0, X.default)({
3935
+ `, io = Y.div.attrs((e) => ({ className: (0, X.default)({
3913
3936
  "isfoucs-has-value": e.$isFocus,
3914
3937
  "blur-no-value": !e.$isFocus,
3915
3938
  "has-prefix": e.$hasPrefix
@@ -3937,15 +3960,15 @@ var ma = () => {
3937
3960
  &.has-prefix {
3938
3961
  top: 10px !important;
3939
3962
  }
3940
- `, oo = Y.div.attrs({ className: "__inner__" })`
3963
+ `, ao = Y.div.attrs({ className: "__inner__" })`
3941
3964
  width: 100%;
3942
3965
  display: flex;
3943
- `, so = Y.div`
3966
+ `, oo = Y.div`
3944
3967
  position: absolute;
3945
3968
  right: 12px;
3946
3969
  top: 8px;
3947
3970
  z-index: 10;
3948
- `, co = Y.div`
3971
+ `, so = Y.div`
3949
3972
  position: relative;
3950
3973
  border-radius: 0 var(--ant-border-radius) var(--ant-border-radius) 0;
3951
3974
  color: var(--ant-color-text-tertiary);
@@ -3955,9 +3978,9 @@ var ma = () => {
3955
3978
  display: flex;
3956
3979
  align-items: center;
3957
3980
  background-color: var(--ant-color-fill-secondary);
3958
- `, lo = ({ children: e, label: t, isFocus: n, status: r, className: i, disabled: a, classList: o, description: s, required: c, extra: l, variant: u, addAfter: d, hasPrefix: f, noWrapperStyle: p, labelExtra: m, onClick: h }) => {
3981
+ `, co = ({ children: e, label: t, isFocus: n, status: r, className: i, disabled: a, classList: o, description: s, required: c, extra: l, variant: u, addAfter: d, hasPrefix: f, noWrapperStyle: p, labelExtra: m, onClick: h }) => {
3959
3982
  let { token: g } = Lt.useToken();
3960
- return /* @__PURE__ */ U(ro, {
3983
+ return /* @__PURE__ */ U(no, {
3961
3984
  className: (0, X.default)(r ? `validate-status-${r}` : "", i, o, u, {
3962
3985
  "seal-input-wrapper-addafter": d,
3963
3986
  "seal-input-wrapper-disabled": a
@@ -3975,29 +3998,29 @@ var ma = () => {
3975
3998
  "--ant-input-active-shadow": `0 0 0 2px ${g.controlOutline}`,
3976
3999
  "--ant-input-active-bg": g.colorBgContainer
3977
4000
  },
3978
- children: [/* @__PURE__ */ U(io, {
4001
+ children: [/* @__PURE__ */ U(ro, {
3979
4002
  $noWrapperStyle: p,
3980
4003
  $nolabel: !t,
3981
4004
  onClick: h,
3982
4005
  children: [
3983
- t && /* @__PURE__ */ H(ao, {
4006
+ t && /* @__PURE__ */ H(io, {
3984
4007
  $isFocus: n,
3985
4008
  $hasPrefix: f,
3986
4009
  onClick: h,
3987
4010
  className: "label-wrapper",
3988
- children: /* @__PURE__ */ H(Ja, {
4011
+ children: /* @__PURE__ */ H(qa, {
3989
4012
  label: t,
3990
4013
  required: c,
3991
4014
  description: s,
3992
4015
  labelExtra: m
3993
4016
  })
3994
4017
  }),
3995
- l && /* @__PURE__ */ H(so, { children: l }),
3996
- /* @__PURE__ */ H(oo, { children: e })
4018
+ l && /* @__PURE__ */ H(oo, { children: l }),
4019
+ /* @__PURE__ */ H(ao, { children: e })
3997
4020
  ]
3998
- }), d && /* @__PURE__ */ H(co, { children: d })]
4021
+ }), d && /* @__PURE__ */ H(so, { children: d })]
3999
4022
  });
4000
- }, uo = Y.div`
4023
+ }, lo = Y.div`
4001
4024
  flex: 1;
4002
4025
  .seal-select-wrapper {
4003
4026
  border: none;
@@ -4139,6 +4162,7 @@ var ma = () => {
4139
4162
  .ant-select-content {
4140
4163
  padding-block: 20px 0;
4141
4164
  box-shadow: none !important;
4165
+ height: 100%;
4142
4166
  }
4143
4167
  &.ant-cascader {
4144
4168
  .ant-select-content-item-prefix + .ant-select-content-item-suffix {
@@ -4207,7 +4231,7 @@ var ma = () => {
4207
4231
  }
4208
4232
  }
4209
4233
  }
4210
- `, fo = Nt.Link, po = (e) => {
4234
+ `, uo = Nt.Link, fo = (e) => {
4211
4235
  let { label: t, placeholder: n, required: r, description: i, isInFormItems: a = !0, trim: o = !0, onSelect: s, onBlur: c, checkStatus: l, extra: u, style: d, addAfter: f, suffixIcon: p, loading: m, allowClear: h, clearSpaceOnBlur: g, showSearch: _, ...v } = e, [y, b] = B(!1), x = z(null), S = "", C = q?.Item?.useStatus?.();
4212
4236
  S = e.status || (a ? C?.status : "") || "", F(() => {
4213
4237
  e.value && b(!0);
@@ -4226,10 +4250,10 @@ var ma = () => {
4226
4250
  s?.(e, t);
4227
4251
  }, k = (t) => {
4228
4252
  o && (t.target.value = t.target.value?.trim()), e.onInput?.(t);
4229
- }, A = () => m ? /* @__PURE__ */ H(fo, { children: /* @__PURE__ */ H(Oe, {}) }) : p || null, j = (e) => m ? /* @__PURE__ */ H(eo, {}) : e || null;
4230
- return /* @__PURE__ */ H(uo, {
4253
+ }, A = () => m ? /* @__PURE__ */ H(uo, { children: /* @__PURE__ */ H(Oe, {}) }) : p || null, j = (e) => m ? /* @__PURE__ */ H($a, {}) : e || null;
4254
+ return /* @__PURE__ */ H(lo, {
4231
4255
  style: d,
4232
- children: /* @__PURE__ */ H(lo, {
4256
+ children: /* @__PURE__ */ H(co, {
4233
4257
  className: "seal-select-wrapper",
4234
4258
  status: l || S,
4235
4259
  extra: u,
@@ -4260,7 +4284,7 @@ var ma = () => {
4260
4284
  })
4261
4285
  })
4262
4286
  });
4263
- }, mo = Y.div`
4287
+ }, po = Y.div`
4264
4288
  .seal-input-number {
4265
4289
  padding-right: 0;
4266
4290
  .isfoucs-has-value {
@@ -4336,7 +4360,7 @@ var ma = () => {
4336
4360
  box-shadow: none;
4337
4361
  padding-block: 5px;
4338
4362
  padding-inline: ${14}px;
4339
- background-color: ${no};
4363
+ background-color: ${to};
4340
4364
  }
4341
4365
  .ant-input.seal-textarea {
4342
4366
  flex: 1;
@@ -4351,7 +4375,7 @@ var ma = () => {
4351
4375
  border: none;
4352
4376
  box-shadow: none;
4353
4377
  padding: 0;
4354
- background-color: ${no};
4378
+ background-color: ${to};
4355
4379
  flex: 1;
4356
4380
 
4357
4381
  &:hover .ant-input-number-handler-wrap,
@@ -4447,7 +4471,7 @@ var ma = () => {
4447
4471
  .ant-input-number-input:placeholder-shown {
4448
4472
  font-size: var(--ant-font-size);
4449
4473
  }
4450
- `, ho = (e) => {
4474
+ `, mo = (e) => {
4451
4475
  let { label: t, placeholder: n, required: r, description: i, isInFormItems: a = !0, ...o } = e, [s, c] = B(!1), l = z(null), u = "", d = q?.Item?.useStatus?.();
4452
4476
  u = e.status || (a ? d?.status : "") || "", F(() => {
4453
4477
  v(e.value) && c(!0);
@@ -4463,7 +4487,7 @@ var ma = () => {
4463
4487
  }, g = (t) => {
4464
4488
  e.onInput?.(t);
4465
4489
  };
4466
- return /* @__PURE__ */ H(mo, { children: /* @__PURE__ */ H(lo, {
4490
+ return /* @__PURE__ */ H(po, { children: /* @__PURE__ */ H(co, {
4467
4491
  status: u,
4468
4492
  label: t,
4469
4493
  isFocus: s,
@@ -4483,7 +4507,7 @@ var ma = () => {
4483
4507
  onChange: p
4484
4508
  })
4485
4509
  }) });
4486
- }, go = (e) => {
4510
+ }, ho = (e) => {
4487
4511
  let { label: t, placeholder: n, required: r, description: i, isInFormItems: a = !0, ...o } = e, [s, c] = B(!1), l = z(null), u = "", d = q?.Item?.useStatus?.();
4488
4512
  u = e.status || (a ? d?.status : "") || "", F(() => {
4489
4513
  e.value && c(!0);
@@ -4499,7 +4523,7 @@ var ma = () => {
4499
4523
  }, g = (...t) => {
4500
4524
  e.onSearch?.(...t);
4501
4525
  };
4502
- return /* @__PURE__ */ H(mo, { children: /* @__PURE__ */ H(lo, {
4526
+ return /* @__PURE__ */ H(po, { children: /* @__PURE__ */ H(co, {
4503
4527
  status: u,
4504
4528
  label: t,
4505
4529
  isFocus: s,
@@ -4517,7 +4541,7 @@ var ma = () => {
4517
4541
  onChange: p
4518
4542
  })
4519
4543
  }) });
4520
- }, _o = (e) => {
4544
+ }, go = (e) => {
4521
4545
  let { label: t, placeholder: n, required: r, description: i, isInFormItems: a = !0, ...o } = e, [s, c] = B(!1), l = z(null), u = "", d = q?.Item?.useStatus?.();
4522
4546
  u = e.status || (a ? d?.status : "") || "", F(() => {
4523
4547
  e.value && c(!0);
@@ -4531,7 +4555,7 @@ var ma = () => {
4531
4555
  }, h = (t) => {
4532
4556
  t.target.value = t.target.value?.trim?.(), l.current?.input?.value || c(!1), e.onBlur?.(t);
4533
4557
  };
4534
- return /* @__PURE__ */ H(mo, { children: /* @__PURE__ */ H(lo, {
4558
+ return /* @__PURE__ */ H(po, { children: /* @__PURE__ */ H(co, {
4535
4559
  status: u,
4536
4560
  label: t,
4537
4561
  isFocus: s,
@@ -4551,13 +4575,13 @@ var ma = () => {
4551
4575
  onChange: p
4552
4576
  })
4553
4577
  }) });
4554
- }, vo = Y.div.attrs({ className: "seal-textarea-label" })`
4578
+ }, _o = Y.div.attrs({ className: "seal-textarea-label" })`
4555
4579
  display: flex;
4556
4580
  align-items: center;
4557
4581
  justify-content: flex-start;
4558
4582
  padding-bottom: 2px;
4559
4583
  background-color: var(--ant-color-bg-container);
4560
- `, yo = (e) => {
4584
+ `, vo = (e) => {
4561
4585
  let { label: t, placeholder: n, onChange: r, onFocus: i, onBlur: a, onInput: o, style: s, required: c, isInFormItems: l = !0, description: u, variant: d, extra: f, addAfter: p, trim: m, scaleSize: h, alwaysFocus: g, ..._ } = e, [v, y] = B(!1), b = z(null), x = "", S = q?.Item?.useStatus?.();
4562
4586
  x = e.status || (l ? S?.status : "") || "", F(() => {
4563
4587
  e.value && y(!0);
@@ -4586,11 +4610,11 @@ var ma = () => {
4586
4610
  }, O = (e) => {
4587
4611
  o?.(e);
4588
4612
  };
4589
- return /* @__PURE__ */ H(mo, {
4613
+ return /* @__PURE__ */ H(po, {
4590
4614
  className: "textarea-input-wrapper",
4591
- children: /* @__PURE__ */ H(lo, {
4615
+ children: /* @__PURE__ */ H(co, {
4592
4616
  status: x,
4593
- label: t && /* @__PURE__ */ H(vo, { children: t }),
4617
+ label: t && /* @__PURE__ */ H(_o, { children: t }),
4594
4618
  isFocus: g || v,
4595
4619
  required: c,
4596
4620
  description: u,
@@ -4614,8 +4638,8 @@ var ma = () => {
4614
4638
  })
4615
4639
  })
4616
4640
  });
4617
- }, bo = {
4618
- TextArea: yo,
4641
+ }, yo = {
4642
+ TextArea: vo,
4619
4643
  Input: (e) => {
4620
4644
  let { label: t, placeholder: n, required: r, description: i, isInFormItems: a = !0, variant: o, addAfter: s, checkStatus: c, trim: l = !0, loading: u, labelExtra: d, style: f, ...p } = e, [m, h] = B(!1), g = z(null), _ = "", v = q?.Item?.useStatus?.();
4621
4645
  _ = e.status || (a ? v?.status : "") || "", F(() => {
@@ -4632,9 +4656,9 @@ var ma = () => {
4632
4656
  }, C = (t) => {
4633
4657
  e.onInput?.(t);
4634
4658
  };
4635
- return /* @__PURE__ */ H(mo, {
4659
+ return /* @__PURE__ */ H(po, {
4636
4660
  style: f,
4637
- children: /* @__PURE__ */ H(lo, {
4661
+ children: /* @__PURE__ */ H(co, {
4638
4662
  status: c || _,
4639
4663
  label: t,
4640
4664
  labelExtra: d,
@@ -4658,10 +4682,10 @@ var ma = () => {
4658
4682
  })
4659
4683
  });
4660
4684
  },
4661
- Password: _o,
4662
- Number: ho,
4663
- Search: go
4664
- }, xo = { footer: "styles-module__footer___OVLXu" }, So = A((e, t) => {
4685
+ Password: go,
4686
+ Number: mo,
4687
+ Search: ho
4688
+ }, bo = { footer: "styles-module__footer___OVLXu" }, xo = A((e, t) => {
4665
4689
  let { notFoundContent: n, loading: r, ...i } = e, [a, o] = E.useState(!1), s = E.useRef(null);
4666
4690
  I(t, () => ({ ...s.current || {} }));
4667
4691
  let c = (t) => {
@@ -4671,7 +4695,7 @@ var ma = () => {
4671
4695
  }, u = () => e.suffixIcon ? e.suffixIcon : e.showSearch && a ? void 0 : /* @__PURE__ */ H(Q, { type: "icon-down" });
4672
4696
  return /* @__PURE__ */ H(Ct, {
4673
4697
  ...i,
4674
- notFoundContent: /* @__PURE__ */ H(to, {
4698
+ notFoundContent: /* @__PURE__ */ H(eo, {
4675
4699
  loading: r,
4676
4700
  notFoundContent: n
4677
4701
  }),
@@ -4681,11 +4705,11 @@ var ma = () => {
4681
4705
  onBlur: l,
4682
4706
  suffixIcon: u(),
4683
4707
  popupRender: e.footer ? (t) => /* @__PURE__ */ U(V, { children: [t, e.footer && /* @__PURE__ */ H("div", {
4684
- className: xo.footer,
4708
+ className: bo.footer,
4685
4709
  children: e.footer
4686
4710
  })] }) : void 0
4687
4711
  });
4688
- }), Co = (e) => {
4712
+ }), So = (e) => {
4689
4713
  let { label: t, placeholder: n, children: r, required: i, description: a, options: s, allowNull: c, isInFormItems: l = !0, notFoundContent: u = null, loading: d, footer: f, alwaysFocus: p = !1, styles: m, ...h } = e, g = o(), [_, y] = B(!1), b = z(null), x = "", S = q?.Item?.useStatus?.();
4690
4714
  x = e.status || (l ? S?.status : "") || "";
4691
4715
  let C = R(() => s?.length ? (0, Z.cloneDeep)(s).map((e) => (e.locale && (e.label = g.formatMessage({ id: e.label })), e)) : [], [s, g]);
@@ -4701,7 +4725,7 @@ var ma = () => {
4701
4725
  }, D = (t) => {
4702
4726
  c && e.value === null ? y(!0) : e.value || y(!1), e.onBlur?.(t);
4703
4727
  };
4704
- return /* @__PURE__ */ H(uo, { children: /* @__PURE__ */ H(lo, {
4728
+ return /* @__PURE__ */ H(lo, { children: /* @__PURE__ */ H(co, {
4705
4729
  className: "seal-select-wrapper",
4706
4730
  status: x,
4707
4731
  label: t,
@@ -4710,7 +4734,7 @@ var ma = () => {
4710
4734
  description: a,
4711
4735
  disabled: e.disabled,
4712
4736
  onClick: w,
4713
- children: /* @__PURE__ */ H(So, {
4737
+ children: /* @__PURE__ */ H(xo, {
4714
4738
  ...h,
4715
4739
  styles: m,
4716
4740
  placeholder: n,
@@ -4720,19 +4744,19 @@ var ma = () => {
4720
4744
  onFocus: E,
4721
4745
  onBlur: D,
4722
4746
  onChange: T,
4723
- notFoundContent: /* @__PURE__ */ H(to, {
4747
+ notFoundContent: /* @__PURE__ */ H(eo, {
4724
4748
  loading: d,
4725
4749
  notFoundContent: u
4726
4750
  }),
4727
4751
  children: r
4728
4752
  })
4729
4753
  }) });
4730
- }, wo = {
4754
+ }, Co = {
4731
4755
  default: 500,
4732
4756
  large: 600,
4733
4757
  small: 400,
4734
4758
  mini: 300
4735
- }, To = Y.div`
4759
+ }, wo = Y.div`
4736
4760
  .__wrapper__ {
4737
4761
  height: 100%;
4738
4762
  justify-content: center;
@@ -4783,21 +4807,21 @@ var ma = () => {
4783
4807
  }
4784
4808
  }
4785
4809
  }
4786
- `, Eo = (e) => {
4810
+ `, To = (e) => {
4787
4811
  let { label: t, value: n, required: r, description: i, isInFormItems: a = !0, max: o, min: s, step: c, defaultValue: l, checkStatus: u, inputnumber: d = !1, labelWidth: f, tooltip: p = { open: !1 }, ...m } = e, h = "", g = q?.Item?.useStatus?.();
4788
4812
  h = (a ? g?.status : "") || "";
4789
4813
  let _ = (t) => {
4790
4814
  e.onChange?.(t);
4791
4815
  };
4792
- return /* @__PURE__ */ H(To, {
4816
+ return /* @__PURE__ */ H(wo, {
4793
4817
  className: "slider-wrapper",
4794
- children: /* @__PURE__ */ H(lo, {
4818
+ children: /* @__PURE__ */ H(co, {
4795
4819
  required: r,
4796
4820
  status: u || h,
4797
4821
  label: /* @__PURE__ */ U("span", {
4798
4822
  className: "slider-label",
4799
- style: { width: f || wo.mini },
4800
- children: [/* @__PURE__ */ H(Ja, {
4823
+ style: { width: f || Co.mini },
4824
+ children: [/* @__PURE__ */ H(qa, {
4801
4825
  label: t,
4802
4826
  description: i
4803
4827
  }), d ? /* @__PURE__ */ H(gt, {
@@ -4840,7 +4864,7 @@ var ma = () => {
4840
4864
  })
4841
4865
  })
4842
4866
  });
4843
- }, Do = Y.div`
4867
+ }, Eo = Y.div`
4844
4868
  display: flex;
4845
4869
  align-items: center;
4846
4870
  justify-content: space-between;
@@ -4849,18 +4873,18 @@ var ma = () => {
4849
4873
  .ant-switch {
4850
4874
  margin-top: 0 !important;
4851
4875
  }
4852
- `, Oo = (e) => {
4876
+ `, Do = (e) => {
4853
4877
  let { label: t, value: n, required: r, description: i, isInFormItems: a = !0, defaultValue: o, checkStatus: s, labelWidth: c, size: l = "small", ...u } = e, d = "", f = q?.Item?.useStatus?.();
4854
4878
  d = (a ? f?.status : "") || "";
4855
4879
  let p = (t, n) => {
4856
4880
  e.onChange?.(t, n);
4857
4881
  };
4858
- return /* @__PURE__ */ H(lo, {
4882
+ return /* @__PURE__ */ H(co, {
4859
4883
  required: r,
4860
4884
  status: s || d,
4861
4885
  className: "no-focus",
4862
4886
  disabled: e.disabled,
4863
- children: /* @__PURE__ */ U(Do, { children: [/* @__PURE__ */ H(Ja, {
4887
+ children: /* @__PURE__ */ U(Eo, { children: [/* @__PURE__ */ H(qa, {
4864
4888
  label: t,
4865
4889
  description: i
4866
4890
  }), /* @__PURE__ */ H(Ot, {
@@ -4876,17 +4900,18 @@ var ma = () => {
4876
4900
  onChange: p
4877
4901
  })] })
4878
4902
  });
4879
- }, ko = {
4880
- InputNumber: bo.Number,
4881
- Select: Co,
4882
- Slider: Eo,
4883
- TextArea: bo.TextArea,
4884
- Input: bo.Input,
4903
+ }, Oo = {
4904
+ InputNumber: yo.Number,
4905
+ Select: So,
4906
+ Slider: To,
4907
+ TextArea: yo.TextArea,
4908
+ Textarea: yo.TextArea,
4909
+ Input: yo.Input,
4885
4910
  Checkbox: K,
4886
- Switch: Oo,
4887
- AutoComplete: po
4888
- }, Ao = ({ widget: e, title: t, required: n, placeholder: r, options: i, description: a, enum: o, style: s, value: c, min: l, max: u, status: d, checked: f, isInFormItems: p, disabled: m, onChange: h }) => {
4889
- let g = ko[e], _ = o?.map((e) => ({
4911
+ Switch: Do,
4912
+ AutoComplete: fo
4913
+ }, ko = ({ widget: e, title: t, required: n, placeholder: r, options: i, description: a, enum: o, style: s, value: c, min: l, max: u, status: d, checked: f, isInFormItems: p, disabled: m, onChange: h }) => {
4914
+ let g = Oo[e], _ = o?.map((e) => ({
4890
4915
  label: e,
4891
4916
  value: e
4892
4917
  }));
@@ -4909,17 +4934,17 @@ var ma = () => {
4909
4934
  },
4910
4935
  onChange: h
4911
4936
  }) : null;
4912
- }, jo = Y.div`
4937
+ }, Ao = Y.div`
4913
4938
  display: flex;
4914
4939
  align-items: center;
4915
4940
  justify-content: space-between;
4916
4941
  margin-bottom: 8px;
4917
- `, Mo = Y.div`
4942
+ `, jo = Y.div`
4918
4943
  display: flex;
4919
4944
  align-items: center;
4920
4945
  gap: 8px;
4921
4946
  width: 100%;
4922
- `, No = ({ schemaList: e, data: t, onChange: n, validateStatus: r, disabled: i }) => {
4947
+ `, Mo = ({ schemaList: e, data: t, onChange: n, validateStatus: r, disabled: i }) => {
4923
4948
  let a = (e, t) => {
4924
4949
  if (t?.target?.type === "checkbox") {
4925
4950
  let r = t.target?.checked;
@@ -4929,7 +4954,7 @@ var ma = () => {
4929
4954
  n?.({ [e]: r });
4930
4955
  }
4931
4956
  };
4932
- return /* @__PURE__ */ H(V, { children: e.map((e) => /* @__PURE__ */ k(Ao, {
4957
+ return /* @__PURE__ */ H(V, { children: e.map((e) => /* @__PURE__ */ k(ko, {
4933
4958
  status: r?.[e.name],
4934
4959
  widget: e.type,
4935
4960
  ...e,
@@ -4940,7 +4965,7 @@ var ma = () => {
4940
4965
  isInFormItems: !1,
4941
4966
  onChange: (t) => a(e.name, t)
4942
4967
  })) });
4943
- }, Po = ({ dataList: e = [], label: t, btnText: n, properties: r = {}, requiredFields: i = [], minItems: a = 0, validateStatusList: o = [], disabled: s, onAdd: c, onDelete: l, onChange: u }) => {
4968
+ }, No = ({ dataList: e = [], label: t, btnText: n, properties: r = {}, requiredFields: i = [], minItems: a = 0, validateStatusList: o = [], disabled: s, onAdd: c, onDelete: l, onChange: u }) => {
4944
4969
  let [d, f] = E.useState(e || []), p = R(() => Object.entries(r).map(([e, t]) => ({
4945
4970
  ...t,
4946
4971
  required: i.includes(e),
@@ -4965,12 +4990,12 @@ var ma = () => {
4965
4990
  !e.length && a > 0 && m();
4966
4991
  }, []), F(() => {
4967
4992
  f(e);
4968
- }, [e]), /* @__PURE__ */ H(Za, {
4993
+ }, [e]), /* @__PURE__ */ H(Xa, {
4969
4994
  label: t,
4970
4995
  btnText: n,
4971
4996
  onAdd: m,
4972
4997
  disabled: s,
4973
- children: d.map((e, t) => /* @__PURE__ */ U(jo, { children: [/* @__PURE__ */ H(Mo, { children: /* @__PURE__ */ H(No, {
4998
+ children: d.map((e, t) => /* @__PURE__ */ U(Ao, { children: [/* @__PURE__ */ H(jo, { children: /* @__PURE__ */ H(Mo, {
4974
4999
  schemaList: p,
4975
5000
  data: e,
4976
5001
  validateStatus: o?.[t],
@@ -4992,7 +5017,7 @@ var ma = () => {
4992
5017
  };
4993
5018
  //#endregion
4994
5019
  //#region src/lib/components/dynamic-form/hooks/use-validate-fields.ts
4995
- function Fo(e) {
5020
+ function Po(e) {
4996
5021
  let { requiredFields: t, setValidateStatusList: n } = e, r = z(!1), i = (e, t) => !e, a = (e, t) => !0;
4997
5022
  return {
4998
5023
  listMapValidator: async (e, o) => {
@@ -5029,11 +5054,11 @@ nn.use([
5029
5054
  an,
5030
5055
  on
5031
5056
  ]);
5032
- var Io = nn, Lo = A(({ options: e, width: t, height: n, chartHeight: r }, i) => {
5057
+ var Fo = nn, Io = A(({ options: e, width: t, height: n, chartHeight: r }, i) => {
5033
5058
  let a = z(null), o = z(), s = z(!1), c = z(), l = z(!1);
5034
5059
  I(i, () => ({ chart: o.current }));
5035
5060
  let u = () => {
5036
- a.current && (o.current?.clear(), o.current = Io.init(a.current));
5061
+ a.current && (o.current?.clear(), o.current = Fo.init(a.current));
5037
5062
  }, d = (e) => {
5038
5063
  o.current && (o.current?.clear(), o.current?.setOption(e, {
5039
5064
  notMerge: !0,
@@ -5078,13 +5103,13 @@ var Io = nn, Lo = A(({ options: e, width: t, height: n, chartHeight: r }, i) =>
5078
5103
  }
5079
5104
  })
5080
5105
  });
5081
- }), Ro = {
5106
+ }), Lo = {
5082
5107
  left: 0,
5083
5108
  right: 0,
5084
5109
  bottom: 20,
5085
5110
  containLabel: !0
5086
5111
  };
5087
- function zo() {
5112
+ function Ro() {
5088
5113
  let { config: e } = a(), { isDarkTheme: t, theme: n } = e, { useToken: r } = Lt, { token: i } = r(), o = R(() => ({
5089
5114
  titleColor: i.colorText,
5090
5115
  splitLineColor: i.colorBorder,
@@ -5120,7 +5145,7 @@ function zo() {
5120
5145
  }), `<div class="${r >= 12 ? "tooltip-wrapper tooltip-grid" : "tooltip-wrapper"}">${n}</div>`;
5121
5146
  }
5122
5147
  },
5123
- grid: Ro,
5148
+ grid: Lo,
5124
5149
  legend: {
5125
5150
  itemWidth: 8,
5126
5151
  itemHeight: 8,
@@ -5275,7 +5300,7 @@ function zo() {
5275
5300
  }
5276
5301
  //#endregion
5277
5302
  //#region src/lib/components/empty-data/index.tsx
5278
- var Bo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5303
+ var zo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5279
5304
  style: {
5280
5305
  width: "100%",
5281
5306
  height: e || "100%"
@@ -5293,8 +5318,8 @@ var Bo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5293
5318
  style: { height: "100%" },
5294
5319
  children: /* @__PURE__ */ H(ft, { image: ft.PRESENTED_IMAGE_SIMPLE })
5295
5320
  })]
5296
- }), Vo = (e) => {
5297
- let { seriesData: t, xAxisData: n, height: r, width: i, labelFormatter: a, legendData: o, title: s, stack: c = "total" } = e, { barItemConfig: l, grid: u, legend: d, title: f, tooltip: p, xAxis: m, yAxis: h } = zo(), g = typeof s == "string" ? s : s?.text ?? "", _ = R(() => {
5321
+ }), Bo = (e) => {
5322
+ let { seriesData: t, xAxisData: n, height: r, width: i, labelFormatter: a, legendData: o, title: s, stack: c = "total" } = e, { barItemConfig: l, grid: u, legend: d, title: f, tooltip: p, xAxis: m, yAxis: h } = Ro(), g = typeof s == "string" ? s : s?.text ?? "", _ = R(() => {
5298
5323
  let e = {
5299
5324
  title: { text: "" },
5300
5325
  grid: u,
@@ -5349,23 +5374,23 @@ var Bo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5349
5374
  l,
5350
5375
  c
5351
5376
  ]);
5352
- return /* @__PURE__ */ H(V, { children: t.length ? /* @__PURE__ */ H(Lo, {
5377
+ return /* @__PURE__ */ H(V, { children: t.length ? /* @__PURE__ */ H(Io, {
5353
5378
  height: r,
5354
5379
  options: _,
5355
5380
  width: i || "100%"
5356
- }) : /* @__PURE__ */ H(Bo, {
5381
+ }) : /* @__PURE__ */ H(zo, {
5357
5382
  height: r,
5358
5383
  title: g
5359
5384
  }) });
5360
- }, Ho = (e) => e <= 50 || e === void 0 ? "rgb(84, 204, 152, 80%)" : e <= 80 ? "rgba(250, 173, 20, 80%)" : "rgba(255, 77, 79, 80%)", Uo = (e) => {
5361
- let { gaugeItemConfig: t, title: n, chartColorMap: r } = zo(), { value: i, height: a, width: o, labelFormatter: s, title: c, color: l, gaugeConfig: u } = e, d = typeof c == "string" ? c : c?.text;
5362
- return !i && i !== 0 ? /* @__PURE__ */ H(Bo, {
5385
+ }, Vo = (e) => e <= 50 || e === void 0 ? "rgb(84, 204, 152, 80%)" : e <= 80 ? "rgba(250, 173, 20, 80%)" : "rgba(255, 77, 79, 80%)", Ho = (e) => {
5386
+ let { gaugeItemConfig: t, title: n, chartColorMap: r } = Ro(), { value: i, height: a, width: o, labelFormatter: s, title: c, color: l, gaugeConfig: u } = e, d = typeof c == "string" ? c : c?.text;
5387
+ return !i && i !== 0 ? /* @__PURE__ */ H(zo, {
5363
5388
  height: a,
5364
5389
  title: d
5365
- }) : /* @__PURE__ */ H(Lo, {
5390
+ }) : /* @__PURE__ */ H(Io, {
5366
5391
  height: a,
5367
5392
  options: (() => {
5368
- let e = l || Ho(i), a = {
5393
+ let e = l || Vo(i), a = {
5369
5394
  ...t,
5370
5395
  ...u
5371
5396
  };
@@ -5406,8 +5431,8 @@ var Bo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5406
5431
  })(),
5407
5432
  width: o || "100%"
5408
5433
  });
5409
- }, Wo = (e) => {
5410
- let { seriesData: t, xAxisData: n, height: r, width: i, labelFormatter: a, legendData: o, maxItems: s, barWidth: c = 20, title: l } = e, { token: u, grid: d, legend: f, title: p, tooltip: m, xAxis: h, yAxis: g } = zo(), _ = typeof l == "string" ? l : l?.text ?? "", v = R(() => {
5434
+ }, Uo = (e) => {
5435
+ let { seriesData: t, xAxisData: n, height: r, width: i, labelFormatter: a, legendData: o, maxItems: s, barWidth: c = 20, title: l } = e, { token: u, grid: d, legend: f, title: p, tooltip: m, xAxis: h, yAxis: g } = Ro(), _ = typeof l == "string" ? l : l?.text ?? "", v = R(() => {
5411
5436
  let e = {
5412
5437
  title: {
5413
5438
  ...p,
@@ -5507,17 +5532,17 @@ var Bo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5507
5532
  c,
5508
5533
  s
5509
5534
  ]);
5510
- return /* @__PURE__ */ H(V, { children: R(() => t?.every?.((e) => !e?.data?.length), [t]) ? /* @__PURE__ */ H(Bo, {
5535
+ return /* @__PURE__ */ H(V, { children: R(() => t?.every?.((e) => !e?.data?.length), [t]) ? /* @__PURE__ */ H(zo, {
5511
5536
  height: r,
5512
5537
  title: _
5513
- }) : /* @__PURE__ */ H(Lo, {
5538
+ }) : /* @__PURE__ */ H(Io, {
5514
5539
  height: r,
5515
5540
  chartHeight: typeof r == "number" ? r - 10 : void 0,
5516
5541
  options: v,
5517
5542
  width: i || "100%"
5518
5543
  }) });
5519
- }, Go = Io.graphic.LinearGradient, Ko = (e) => {
5520
- let { seriesData: t, xAxisData: n, yAxisName: r, height: i, width: a, labelFormatter: o, tooltipValueFormatter: s = null, legendData: c = [], smooth: l, title: u, legendOptions: d, gridOptions: f, titleOptions: p, showArea: m } = e, { grid: h, legend: g, lineItemConfig: v, title: y, tooltip: b, xAxis: x, yAxis: S } = zo(), C = typeof u == "string" ? u : u?.text ?? "", w = (e, t) => o ? o(e, t) : t === n.length - 1 ? "" : e, T = {
5544
+ }, Wo = Fo.graphic.LinearGradient, Go = (e) => {
5545
+ let { seriesData: t, xAxisData: n, yAxisName: r, height: i, width: a, labelFormatter: o, tooltipValueFormatter: s = null, legendData: c = [], smooth: l, title: u, legendOptions: d, gridOptions: f, titleOptions: p, showArea: m } = e, { grid: h, legend: g, lineItemConfig: v, title: y, tooltip: b, xAxis: x, yAxis: S } = Ro(), C = typeof u == "string" ? u : u?.text ?? "", w = (e, t) => o ? o(e, t) : t === n.length - 1 ? "" : e, T = {
5521
5546
  title: { text: "" },
5522
5547
  grid: {
5523
5548
  ...h,
@@ -5565,7 +5590,7 @@ var Bo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5565
5590
  ...v.lineStyle,
5566
5591
  color: e.color
5567
5592
  },
5568
- areaStyle: m ? { color: new Go(0, 0, 0, 1, [{
5593
+ areaStyle: m ? { color: new Wo(0, 0, 0, 1, [{
5569
5594
  offset: 0,
5570
5595
  color: t[0]
5571
5596
  }, {
@@ -5606,20 +5631,20 @@ var Bo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
5606
5631
  c,
5607
5632
  T
5608
5633
  ]);
5609
- return /* @__PURE__ */ H(V, { children: t.length ? /* @__PURE__ */ H(Lo, {
5634
+ return /* @__PURE__ */ H(V, { children: t.length ? /* @__PURE__ */ H(Io, {
5610
5635
  height: i,
5611
5636
  options: E,
5612
5637
  width: a || "100%"
5613
- }) : /* @__PURE__ */ H(Bo, {
5638
+ }) : /* @__PURE__ */ H(zo, {
5614
5639
  height: i,
5615
5640
  title: C
5616
5641
  }) });
5617
5642
  };
5618
5643
  //#endregion
5619
5644
  //#region src/lib/components/echarts/mix-line-bar.tsx
5620
- Io.graphic.LinearGradient;
5621
- var qo = (e) => {
5622
- let { seriesData: t, xAxisData: n, yAxisName: r, height: i, width: a, labelFormatter: o, tooltipValueFormatter: s = null, legendData: c = [], smooth: l, title: u, chartData: d } = e, { grid: f, legend: p, lineItemConfig: m, barItemConfig: h, title: g, tooltip: v, xAxis: y, yAxis: b } = zo(), x = typeof u == "string" ? u : u?.text ?? "", { line: S, bar: C } = d, w = {
5645
+ Fo.graphic.LinearGradient;
5646
+ var Ko = (e) => {
5647
+ let { seriesData: t, xAxisData: n, yAxisName: r, height: i, width: a, labelFormatter: o, tooltipValueFormatter: s = null, legendData: c = [], smooth: l, title: u, chartData: d } = e, { grid: f, legend: p, lineItemConfig: m, barItemConfig: h, title: g, tooltip: v, xAxis: y, yAxis: b } = Ro(), x = typeof u == "string" ? u : u?.text ?? "", { line: S, bar: C } = d, w = {
5623
5648
  title: { text: "" },
5624
5649
  grid: {
5625
5650
  ...f,
@@ -5706,16 +5731,16 @@ var qo = (e) => {
5706
5731
  c,
5707
5732
  w
5708
5733
  ]);
5709
- return /* @__PURE__ */ H(V, { children: !S.length && !C.length ? /* @__PURE__ */ H(Bo, {
5734
+ return /* @__PURE__ */ H(V, { children: !S.length && !C.length ? /* @__PURE__ */ H(zo, {
5710
5735
  height: i,
5711
5736
  title: x
5712
- }) : /* @__PURE__ */ H(Lo, {
5737
+ }) : /* @__PURE__ */ H(Io, {
5713
5738
  height: i,
5714
5739
  options: T,
5715
5740
  width: a || "100%"
5716
5741
  }) });
5717
- }, Jo = (e) => {
5718
- let { grid: t, title: n, isDark: r, chartColorMap: i } = zo(), { seriesData: a, xAxisData: o, height: s, width: c, showEmpty: l, title: u, xMax: d = 1, yMax: f = 1 } = e, p = typeof u == "string" ? u : u?.text ?? "", m = z(null), h = R(() => {
5742
+ }, qo = (e) => {
5743
+ let { grid: t, title: n, isDark: r, chartColorMap: i } = Ro(), { seriesData: a, xAxisData: o, height: s, width: c, showEmpty: l, title: u, xMax: d = 1, yMax: f = 1 } = e, p = typeof u == "string" ? u : u?.text ?? "", m = z(null), h = R(() => {
5719
5744
  let e = r ? {
5720
5745
  split: i.splitLineColor,
5721
5746
  axis: i.axislabelColor,
@@ -5845,16 +5870,16 @@ var qo = (e) => {
5845
5870
  h,
5846
5871
  g
5847
5872
  ]);
5848
- return /* @__PURE__ */ H(V, { children: !a.length && l ? /* @__PURE__ */ H(Bo, {
5873
+ return /* @__PURE__ */ H(V, { children: !a.length && l ? /* @__PURE__ */ H(zo, {
5849
5874
  height: s,
5850
5875
  title: p
5851
- }) : /* @__PURE__ */ H(Lo, {
5876
+ }) : /* @__PURE__ */ H(Io, {
5852
5877
  ref: m,
5853
5878
  height: s,
5854
5879
  options: v,
5855
5880
  width: c || "100%"
5856
5881
  }) });
5857
- }, Yo = Y.div`
5882
+ }, Jo = Y.div`
5858
5883
  position: relative;
5859
5884
  .cp-btn {
5860
5885
  position: absolute;
@@ -5868,7 +5893,7 @@ var qo = (e) => {
5868
5893
  .msg {
5869
5894
  display: none;
5870
5895
  }
5871
- `, Xo = ({ errMsg: e }) => /* @__PURE__ */ U(Yo, { children: [/* @__PURE__ */ H(Nt.Text, {
5896
+ `, Yo = ({ errMsg: e }) => /* @__PURE__ */ U(Jo, { children: [/* @__PURE__ */ H(Nt.Text, {
5872
5897
  className: "cp-btn",
5873
5898
  copyable: {
5874
5899
  text: e,
@@ -5881,14 +5906,14 @@ var qo = (e) => {
5881
5906
  className: "msg",
5882
5907
  children: e
5883
5908
  })
5884
- }), e] }), Zo = {
5909
+ }), e] }), Xo = {
5885
5910
  wrapper: "style-module__wrapper___Iefxu",
5886
5911
  show: "style-module__show___DHsIc",
5887
5912
  container: "style-module__container___SWN9K",
5888
5913
  title: "style-module__title___NIE5q",
5889
5914
  "btn-wrapper": "style-module__btn-wrapper___e1BuB",
5890
5915
  buttons: "style-module__buttons___8nshx"
5891
- }, Qo = A(({ children: e, open: t, width: n = 300, contentHeight: r = 400, initialValues: i = {}, styles: a, onClose: s, onClear: c, onValuesChange: u }, d) => {
5916
+ }, Zo = A(({ children: e, open: t, width: n = 300, contentHeight: r = 400, initialValues: i = {}, styles: a, onClose: s, onClear: c, onValuesChange: u }, d) => {
5892
5917
  let f = o(), [p] = q.useForm(), m = () => {
5893
5918
  p.resetFields(Object.keys(i)), p.resetFields(), u?.({}, p.getFieldsValue());
5894
5919
  }, h = () => {
@@ -5902,7 +5927,7 @@ var qo = (e) => {
5902
5927
  getValues: () => p.getFieldsValue(),
5903
5928
  setValues: (e) => p.setFieldsValue(e)
5904
5929
  })), /* @__PURE__ */ H("div", {
5905
- className: (0, X.default)(Zo.wrapper, { [Zo.show]: t }),
5930
+ className: (0, X.default)(Xo.wrapper, { [Xo.show]: t }),
5906
5931
  style: {
5907
5932
  width: t ? n : 0,
5908
5933
  height: r,
@@ -5913,9 +5938,9 @@ var qo = (e) => {
5913
5938
  width: n,
5914
5939
  ...a?.container
5915
5940
  },
5916
- className: Zo.container,
5941
+ className: Xo.container,
5917
5942
  children: [/* @__PURE__ */ U("div", {
5918
- className: Zo.title,
5943
+ className: Xo.title,
5919
5944
  children: [/* @__PURE__ */ H("span", {
5920
5945
  style: {
5921
5946
  fontWeight: 500,
@@ -5951,7 +5976,7 @@ var qo = (e) => {
5951
5976
  })]
5952
5977
  })
5953
5978
  });
5954
- }), $o = ({ onOk: e, onCancel: t, cancelText: n, okText: r, showCancel: i = !0, showOk: a = !0, htmlType: s = "button" }) => {
5979
+ }), Qo = ({ onOk: e, onCancel: t, cancelText: n, okText: r, showCancel: i = !0, showOk: a = !0, htmlType: s = "button" }) => {
5955
5980
  let c = o();
5956
5981
  return /* @__PURE__ */ U(Et, {
5957
5982
  size: 40,
@@ -5968,14 +5993,14 @@ var qo = (e) => {
5968
5993
  children: n || c.formatMessage({ id: "common.button.cancel" })
5969
5994
  })]
5970
5995
  });
5971
- }, es = Y.div`
5996
+ }, $o = Y.div`
5972
5997
  display: flex;
5973
5998
  justify-content: space-between;
5974
5999
  align-items: center;
5975
6000
  gap: 20px;
5976
- `, ts = ({ onOk: e, onCancel: t, cancelText: n, okText: r, okBtnProps: i, cancelBtnProps: a, loading: s, htmlType: c = "button", style: l, showOkBtn: u = !0, styles: d, description: f, extra: p, showCancelBtn: m = !0, form: h }) => {
6001
+ `, es = ({ onOk: e, onCancel: t, cancelText: n, okText: r, okBtnProps: i, cancelBtnProps: a, loading: s, htmlType: c = "button", style: l, showOkBtn: u = !0, styles: d, description: f, extra: p, showCancelBtn: m = !0, form: h }) => {
5977
6002
  let g = o();
5978
- return /* @__PURE__ */ U(es, {
6003
+ return /* @__PURE__ */ U($o, {
5979
6004
  style: { ...d?.wrapper },
5980
6005
  children: [/* @__PURE__ */ H("div", { children: f }), /* @__PURE__ */ U(Et, {
5981
6006
  size: 20,
@@ -6002,23 +6027,23 @@ var qo = (e) => {
6002
6027
  });
6003
6028
  };
6004
6029
  //#endregion
6005
- //#region ../../node_modules/.pnpm/react-hotkeys-hook@4.6.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js
6006
- function ns() {
6007
- return ns = Object.assign ? Object.assign.bind() : function(e) {
6030
+ //#region node_modules/.pnpm/react-hotkeys-hook@4.6.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js
6031
+ function ts() {
6032
+ return ts = Object.assign ? Object.assign.bind() : function(e) {
6008
6033
  for (var t = 1; t < arguments.length; t++) {
6009
6034
  var n = arguments[t];
6010
6035
  for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
6011
6036
  }
6012
6037
  return e;
6013
- }, ns.apply(null, arguments);
6038
+ }, ts.apply(null, arguments);
6014
6039
  }
6015
- var rs = [
6040
+ var ns = [
6016
6041
  "shift",
6017
6042
  "alt",
6018
6043
  "meta",
6019
6044
  "mod",
6020
6045
  "ctrl"
6021
- ], is = {
6046
+ ], rs = {
6022
6047
  esc: "escape",
6023
6048
  return: "enter",
6024
6049
  ".": "period",
@@ -6039,19 +6064,19 @@ var rs = [
6039
6064
  ControlLeft: "ctrl",
6040
6065
  ControlRight: "ctrl"
6041
6066
  };
6042
- function as(e) {
6043
- return (e && is[e] || e || "").trim().toLowerCase().replace(/key|digit|numpad|arrow/, "");
6067
+ function is(e) {
6068
+ return (e && rs[e] || e || "").trim().toLowerCase().replace(/key|digit|numpad|arrow/, "");
6044
6069
  }
6045
- function os(e) {
6046
- return rs.includes(e);
6070
+ function as(e) {
6071
+ return ns.includes(e);
6047
6072
  }
6048
- function ss(e, t) {
6073
+ function os(e, t) {
6049
6074
  return t === void 0 && (t = ","), e.split(t);
6050
6075
  }
6051
- function cs(e, t, n) {
6076
+ function ss(e, t, n) {
6052
6077
  t === void 0 && (t = "+");
6053
6078
  var r = e.toLocaleLowerCase().split(t).map(function(e) {
6054
- return as(e);
6079
+ return is(e);
6055
6080
  }), i = {
6056
6081
  alt: r.includes("alt"),
6057
6082
  ctrl: r.includes("ctrl") || r.includes("control"),
@@ -6059,9 +6084,9 @@ function cs(e, t, n) {
6059
6084
  meta: r.includes("meta"),
6060
6085
  mod: r.includes("mod")
6061
6086
  }, a = r.filter(function(e) {
6062
- return !rs.includes(e);
6087
+ return !ns.includes(e);
6063
6088
  });
6064
- return ns({}, i, {
6089
+ return ts({}, i, {
6065
6090
  keys: a,
6066
6091
  description: n,
6067
6092
  hotkey: e
@@ -6069,66 +6094,66 @@ function cs(e, t, n) {
6069
6094
  }
6070
6095
  (function() {
6071
6096
  typeof document < "u" && (document.addEventListener("keydown", function(e) {
6072
- e.key !== void 0 && fs([as(e.key), as(e.code)]);
6097
+ e.key !== void 0 && ds([is(e.key), is(e.code)]);
6073
6098
  }), document.addEventListener("keyup", function(e) {
6074
- e.key !== void 0 && ps([as(e.key), as(e.code)]);
6099
+ e.key !== void 0 && fs([is(e.key), is(e.code)]);
6075
6100
  })), typeof window < "u" && window.addEventListener("blur", function() {
6076
- ls.clear();
6101
+ cs.clear();
6077
6102
  });
6078
6103
  })();
6079
- var ls = /* @__PURE__ */ new Set();
6080
- function us(e) {
6104
+ var cs = /* @__PURE__ */ new Set();
6105
+ function ls(e) {
6081
6106
  return Array.isArray(e);
6082
6107
  }
6083
- function ds(e, t) {
6084
- return t === void 0 && (t = ","), (us(e) ? e : e.split(t)).every(function(e) {
6085
- return ls.has(e.trim().toLowerCase());
6108
+ function us(e, t) {
6109
+ return t === void 0 && (t = ","), (ls(e) ? e : e.split(t)).every(function(e) {
6110
+ return cs.has(e.trim().toLowerCase());
6086
6111
  });
6087
6112
  }
6088
- function fs(e) {
6113
+ function ds(e) {
6089
6114
  var t = Array.isArray(e) ? e : [e];
6090
- ls.has("meta") && ls.forEach(function(e) {
6091
- return !os(e) && ls.delete(e.toLowerCase());
6115
+ cs.has("meta") && cs.forEach(function(e) {
6116
+ return !as(e) && cs.delete(e.toLowerCase());
6092
6117
  }), t.forEach(function(e) {
6093
- return ls.add(e.toLowerCase());
6118
+ return cs.add(e.toLowerCase());
6094
6119
  });
6095
6120
  }
6096
- function ps(e) {
6097
- e === "meta" ? ls.clear() : (Array.isArray(e) ? e : [e]).forEach(function(e) {
6098
- return ls.delete(e.toLowerCase());
6121
+ function fs(e) {
6122
+ e === "meta" ? cs.clear() : (Array.isArray(e) ? e : [e]).forEach(function(e) {
6123
+ return cs.delete(e.toLowerCase());
6099
6124
  });
6100
6125
  }
6101
- function ms(e, t, n) {
6126
+ function ps(e, t, n) {
6102
6127
  (typeof n == "function" && n(e, t) || n === !0) && e.preventDefault();
6103
6128
  }
6104
- function hs(e, t, n) {
6129
+ function ms(e, t, n) {
6105
6130
  return typeof n == "function" ? n(e, t) : n === !0 || n === void 0;
6106
6131
  }
6107
- function gs(e) {
6108
- return _s(e, [
6132
+ function hs(e) {
6133
+ return gs(e, [
6109
6134
  "input",
6110
6135
  "textarea",
6111
6136
  "select"
6112
6137
  ]);
6113
6138
  }
6114
- function _s(e, t) {
6139
+ function gs(e, t) {
6115
6140
  t === void 0 && (t = !1);
6116
6141
  var n = e.target, r = e.composed, i = null;
6117
- return i = vs(n) && r ? e.composedPath()[0] && e.composedPath()[0].tagName : n && n.tagName, us(t) ? !!(i && t && t.some(function(e) {
6142
+ return i = _s(n) && r ? e.composedPath()[0] && e.composedPath()[0].tagName : n && n.tagName, ls(t) ? !!(i && t && t.some(function(e) {
6118
6143
  return e.toLowerCase() === i?.toLowerCase();
6119
6144
  })) : !!(i && t && t);
6120
6145
  }
6121
- function vs(e) {
6146
+ function _s(e) {
6122
6147
  return !!e.tagName && !e.tagName.startsWith("-") && e.tagName.includes("-");
6123
6148
  }
6124
- function ys(e, t) {
6149
+ function vs(e, t) {
6125
6150
  return e.length === 0 && t ? (console.warn("A hotkey has the \"scopes\" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>"), !0) : t ? e.some(function(e) {
6126
6151
  return t.includes(e);
6127
6152
  }) || e.includes("*") : !0;
6128
6153
  }
6129
- var bs = function(e, t, n) {
6154
+ var ys = function(e, t, n) {
6130
6155
  n === void 0 && (n = !1);
6131
- var r = t.alt, i = t.meta, a = t.mod, o = t.shift, s = t.ctrl, c = t.keys, l = e.key, u = e.code, d = e.ctrlKey, f = e.metaKey, p = e.shiftKey, m = e.altKey, h = as(u), g = l.toLowerCase();
6156
+ var r = t.alt, i = t.meta, a = t.mod, o = t.shift, s = t.ctrl, c = t.keys, l = e.key, u = e.code, d = e.ctrlKey, f = e.metaKey, p = e.shiftKey, m = e.altKey, h = is(u), g = l.toLowerCase();
6132
6157
  if (!(c != null && c.includes(h)) && !(c != null && c.includes(g)) && ![
6133
6158
  "ctrl",
6134
6159
  "control",
@@ -6144,53 +6169,53 @@ var bs = function(e, t, n) {
6144
6169
  if (!f && !d) return !1;
6145
6170
  } else if (i === !f && g !== "meta" && g !== "os" || s === !d && g !== "ctrl" && g !== "control") return !1;
6146
6171
  }
6147
- return c && c.length === 1 && (c.includes(g) || c.includes(h)) ? !0 : c ? ds(c) : !c;
6148
- }, xs = /* @__PURE__ */ O(void 0), Ss = function() {
6149
- return P(xs);
6172
+ return c && c.length === 1 && (c.includes(g) || c.includes(h)) ? !0 : c ? us(c) : !c;
6173
+ }, bs = /* @__PURE__ */ O(void 0), xs = function() {
6174
+ return P(bs);
6150
6175
  };
6151
- function Cs(e, t) {
6176
+ function Ss(e, t) {
6152
6177
  return e && t && typeof e == "object" && typeof t == "object" ? Object.keys(e).length === Object.keys(t).length && Object.keys(e).reduce(function(n, r) {
6153
- return n && Cs(e[r], t[r]);
6178
+ return n && Ss(e[r], t[r]);
6154
6179
  }, !0) : e === t;
6155
6180
  }
6156
- var ws = /* @__PURE__ */ O({
6181
+ var Cs = /* @__PURE__ */ O({
6157
6182
  hotkeys: [],
6158
6183
  enabledScopes: [],
6159
6184
  toggleScope: function() {},
6160
6185
  enableScope: function() {},
6161
6186
  disableScope: function() {}
6162
- }), Ts = function() {
6163
- return P(ws);
6187
+ }), ws = function() {
6188
+ return P(Cs);
6164
6189
  };
6165
- function Es(e) {
6190
+ function Ts(e) {
6166
6191
  var t = z(void 0);
6167
- return Cs(t.current, e) || (t.current = e), t.current;
6192
+ return Ss(t.current, e) || (t.current = e), t.current;
6168
6193
  }
6169
- var Ds = function(e) {
6194
+ var Es = function(e) {
6170
6195
  e.stopPropagation(), e.preventDefault(), e.stopImmediatePropagation();
6171
- }, Os = typeof window < "u" ? L : F;
6172
- function ks(e, t, n, r) {
6173
- var i = B(null), a = i[0], o = i[1], s = z(!1), c = n instanceof Array ? r instanceof Array ? void 0 : r : n, l = us(e) ? e.join(c?.splitKey) : e, u = n instanceof Array ? n : r instanceof Array ? r : void 0, d = N(t, u ?? []), f = z(d);
6196
+ }, Ds = typeof window < "u" ? L : F;
6197
+ function Os(e, t, n, r) {
6198
+ var i = B(null), a = i[0], o = i[1], s = z(!1), c = n instanceof Array ? r instanceof Array ? void 0 : r : n, l = ls(e) ? e.join(c?.splitKey) : e, u = n instanceof Array ? n : r instanceof Array ? r : void 0, d = N(t, u ?? []), f = z(d);
6174
6199
  u ? f.current = d : f.current = t;
6175
- var p = Es(c), m = Ts().enabledScopes, h = Ss();
6176
- return Os(function() {
6177
- if (!(p?.enabled === !1 || !ys(m, p?.scopes))) {
6200
+ var p = Ts(c), m = ws().enabledScopes, h = xs();
6201
+ return Ds(function() {
6202
+ if (!(p?.enabled === !1 || !vs(m, p?.scopes))) {
6178
6203
  var e = function(e, t) {
6179
6204
  var n;
6180
- if (t === void 0 && (t = !1), !(gs(e) && !_s(e, p?.enableOnFormTags))) {
6205
+ if (t === void 0 && (t = !1), !(hs(e) && !gs(e, p?.enableOnFormTags))) {
6181
6206
  if (a !== null) {
6182
6207
  var r = a.getRootNode();
6183
6208
  if ((r instanceof Document || r instanceof ShadowRoot) && r.activeElement !== a && !a.contains(r.activeElement)) {
6184
- Ds(e);
6209
+ Es(e);
6185
6210
  return;
6186
6211
  }
6187
6212
  }
6188
- (n = e.target) != null && n.isContentEditable && !(p != null && p.enableOnContentEditable) || ss(l, p?.splitKey).forEach(function(n) {
6189
- var r, i = cs(n, p?.combinationKey);
6190
- if (bs(e, i, p?.ignoreModifiers) || (r = i.keys) != null && r.includes("*")) {
6213
+ (n = e.target) != null && n.isContentEditable && !(p != null && p.enableOnContentEditable) || os(l, p?.splitKey).forEach(function(n) {
6214
+ var r, i = ss(n, p?.combinationKey);
6215
+ if (ys(e, i, p?.ignoreModifiers) || (r = i.keys) != null && r.includes("*")) {
6191
6216
  if (p != null && p.ignoreEventWhen != null && p.ignoreEventWhen(e) || t && s.current) return;
6192
- if (ms(e, i, p?.preventDefault), !hs(e, i, p?.enabled)) {
6193
- Ds(e);
6217
+ if (ps(e, i, p?.preventDefault), !ms(e, i, p?.enabled)) {
6218
+ Es(e);
6194
6219
  return;
6195
6220
  }
6196
6221
  f.current(e, i), t || (s.current = !0);
@@ -6198,15 +6223,15 @@ function ks(e, t, n, r) {
6198
6223
  });
6199
6224
  }
6200
6225
  }, t = function(t) {
6201
- t.key !== void 0 && (fs(as(t.code)), (p?.keydown === void 0 && p?.keyup !== !0 || p != null && p.keydown) && e(t));
6226
+ t.key !== void 0 && (ds(is(t.code)), (p?.keydown === void 0 && p?.keyup !== !0 || p != null && p.keydown) && e(t));
6202
6227
  }, n = function(t) {
6203
- t.key !== void 0 && (ps(as(t.code)), s.current = !1, p != null && p.keyup && e(t, !0));
6228
+ t.key !== void 0 && (fs(is(t.code)), s.current = !1, p != null && p.keyup && e(t, !0));
6204
6229
  }, r = a || c?.document || document;
6205
- return r.addEventListener("keyup", n, c?.eventListenerOptions), r.addEventListener("keydown", t, c?.eventListenerOptions), h && ss(l, p?.splitKey).forEach(function(e) {
6206
- return h.addHotkey(cs(e, p?.combinationKey, p?.description));
6230
+ return r.addEventListener("keyup", n, c?.eventListenerOptions), r.addEventListener("keydown", t, c?.eventListenerOptions), h && os(l, p?.splitKey).forEach(function(e) {
6231
+ return h.addHotkey(ss(e, p?.combinationKey, p?.description));
6207
6232
  }), function() {
6208
- r.removeEventListener("keyup", n, c?.eventListenerOptions), r.removeEventListener("keydown", t, c?.eventListenerOptions), h && ss(l, p?.splitKey).forEach(function(e) {
6209
- return h.removeHotkey(cs(e, p?.combinationKey, p?.description));
6233
+ r.removeEventListener("keyup", n, c?.eventListenerOptions), r.removeEventListener("keydown", t, c?.eventListenerOptions), h && os(l, p?.splitKey).forEach(function(e) {
6234
+ return h.removeHotkey(ss(e, p?.combinationKey, p?.description));
6210
6235
  });
6211
6236
  };
6212
6237
  }
@@ -6219,7 +6244,7 @@ function ks(e, t, n, r) {
6219
6244
  }
6220
6245
  //#endregion
6221
6246
  //#region src/lib/config/hotkeys.ts
6222
- var As = h(), js = {
6247
+ var ks = h(), As = {
6223
6248
  CREATE: ["Alt+Ctrl+N", "Alt+Meta+N"],
6224
6249
  CLEAR: ["Alt+Ctrl+K", "Alt+Meta+K"],
6225
6250
  RIGHT: ["Ctrl+RIGHT", "Meta+RIGHT"],
@@ -6247,15 +6272,15 @@ var As = h(), js = {
6247
6272
  FOCUS: ["/", "/"],
6248
6273
  ADD: ["Alt+Ctrl+Enter", "Alt+Meta+Enter"],
6249
6274
  ESC: ["Esc", "Esc"]
6250
- }, Ms = Object.entries(js).map(([e, t]) => {
6251
- let n = As.isMac && t[1] || t[0];
6275
+ }, js = Object.entries(As).map(([e, t]) => {
6276
+ let n = ks.isMac && t[1] || t[0];
6252
6277
  return {
6253
6278
  keybinding: n,
6254
6279
  command: e,
6255
- textKeybinding: As.isMac ? n.replace("Meta", "Cmd").replace("Alt", "Option") : n.replace("Ctrl", "Ctrl"),
6256
- iconKeybinding: As.isMac ? n.replace("Meta", "⌘").replace("Alt", "⌥") : n.replace("Ctrl", "Ctrl")
6280
+ textKeybinding: ks.isMac ? n.replace("Meta", "Cmd").replace("Alt", "Option") : n.replace("Ctrl", "Ctrl"),
6281
+ iconKeybinding: ks.isMac ? n.replace("Meta", "⌘").replace("Alt", "⌥") : n.replace("Ctrl", "Ctrl")
6257
6282
  };
6258
- }).reduce((e, t) => (e[t.command] = t, e), {}), Ns = Rt(({ css: e, token: t }) => ({ hintOverlay: e`
6283
+ }).reduce((e, t) => (e[t.command] = t, e), {}), Ms = Rt(({ css: e, token: t }) => ({ hintOverlay: e`
6259
6284
  position: fixed;
6260
6285
  top: 50%;
6261
6286
  left: 50%;
@@ -6283,8 +6308,8 @@ var As = h(), js = {
6283
6308
  }
6284
6309
  }
6285
6310
  ` }));
6286
- function Ps(e) {
6287
- let { enabled: t = !0, message: n, throttleDelay: r = 3e3 } = e || {}, i = o(), { styles: a } = Ns(), [s, c] = B(!1), l = z(null), u = z(!1), d = R(() => (0, Z.throttle)(() => {
6311
+ function Ns(e) {
6312
+ let { enabled: t = !0, message: n, throttleDelay: r = 3e3 } = e || {}, i = o(), { styles: a } = Ms(), [s, c] = B(!1), l = z(null), u = z(!1), d = R(() => (0, Z.throttle)(() => {
6288
6313
  u.current || (u.current = !0, c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => {
6289
6314
  c(!1), u.current = !1;
6290
6315
  }, 2e3));
@@ -6292,7 +6317,7 @@ function Ps(e) {
6292
6317
  leading: !0,
6293
6318
  trailing: !1
6294
6319
  }), [r]);
6295
- return ks(js.ESC, () => {
6320
+ return Os(As.ESC, () => {
6296
6321
  t && d();
6297
6322
  }, { enabled: t }), F(() => () => {
6298
6323
  l.current && clearTimeout(l.current), d.cancel();
@@ -6303,25 +6328,25 @@ function Ps(e) {
6303
6328
  }
6304
6329
  //#endregion
6305
6330
  //#region src/lib/components/scroller-modal/gs-drawer.tsx
6306
- var Fs = (e) => {
6307
- let { title: t, closable: n = !0, mask: r, styles: i, ...a } = e, { EscHint: o } = Ps({ enabled: !e.keyboard && e.open }), s = (t) => {
6331
+ var Ps = (e) => {
6332
+ let { title: t, closable: n = !0, mask: r, styles: i, ...a } = e, o = typeof i == "function" ? void 0 : i, { EscHint: s } = Ns({ enabled: !e.keyboard && e.open }), c = (t) => {
6308
6333
  e.onClose?.(t);
6309
6334
  };
6310
6335
  return /* @__PURE__ */ H(V, { children: /* @__PURE__ */ U(ut, {
6311
6336
  ...a,
6312
6337
  styles: {
6313
- wrapper: { ...i?.wrapper },
6314
- root: { ...i?.root },
6338
+ wrapper: { ...o?.wrapper },
6339
+ root: { ...o?.root },
6315
6340
  body: {
6316
6341
  height: "calc(100vh - 57px)",
6317
6342
  paddingBlock: 16,
6318
6343
  paddingInline: 0,
6319
6344
  overflowX: "hidden",
6320
- ...i?.body
6345
+ ...o?.body
6321
6346
  },
6322
6347
  section: {
6323
6348
  borderRadius: "6px 0 0 6px",
6324
- ...i?.section
6349
+ ...o?.section
6325
6350
  }
6326
6351
  },
6327
6352
  closable: !1,
@@ -6338,17 +6363,17 @@ var Fs = (e) => {
6338
6363
  }), n && /* @__PURE__ */ H(G, {
6339
6364
  type: "text",
6340
6365
  size: "small",
6341
- onClick: s,
6366
+ onClick: c,
6342
6367
  children: /* @__PURE__ */ H(ce, {})
6343
6368
  })]
6344
6369
  }),
6345
- children: [a.children, o]
6370
+ children: [a.children, s]
6346
6371
  }) });
6347
- }, Is = {
6372
+ }, Fs = {
6348
6373
  padding: "16px 24px 8px",
6349
6374
  display: "flex",
6350
6375
  justifyContent: "flex-end"
6351
- }, Ls = ({ title: e, open: t, onCancel: n, onSubmit: r, children: i, width: a = 600, subTitle: o, footer: s, loading: c }) => /* @__PURE__ */ H(Fs, {
6376
+ }, Is = ({ title: e, open: t, onCancel: n, onSubmit: r, children: i, width: a = 600, subTitle: o, footer: s, loading: c }) => /* @__PURE__ */ H(Ps, {
6352
6377
  title: /* @__PURE__ */ U(V, { children: [e, o && /* @__PURE__ */ H(jt, {
6353
6378
  variant: "outlined",
6354
6379
  style: {
@@ -6371,15 +6396,15 @@ var Fs = (e) => {
6371
6396
  footer: !1,
6372
6397
  children: /* @__PURE__ */ H(Oa, {
6373
6398
  styles: { container: { paddingBlock: 0 } },
6374
- footer: s ?? /* @__PURE__ */ H(ts, {
6399
+ footer: s ?? /* @__PURE__ */ H(es, {
6375
6400
  onOk: r,
6376
6401
  onCancel: n,
6377
6402
  loading: c,
6378
- style: Is
6403
+ style: Fs
6379
6404
  }),
6380
6405
  children: i
6381
6406
  })
6382
- }), Rs = (e) => {
6407
+ }), Ls = (e) => {
6383
6408
  let t = o(), { data: n, optionNode: r, notFoundContent: i } = e;
6384
6409
  if (n.value === "__EMPTY__") return /* @__PURE__ */ H(ft, {
6385
6410
  image: !1,
@@ -6401,7 +6426,7 @@ var Fs = (e) => {
6401
6426
  ghost: !0,
6402
6427
  children: /* @__PURE__ */ H("span", { children: n.label })
6403
6428
  });
6404
- }, zs = (e) => {
6429
+ }, Rs = (e) => {
6405
6430
  let { label: t, placeholder: n, children: r, required: i, description: a, options: s, allowNull: c, isInFormItems: l = !0, alwaysFocus: u = !1, optionNode: d, notFoundContent: p, size: m = "middle", tagRender: h, displayRender: g, ..._ } = e, y = o(), [b, x] = B(!1), S = z(null), [C, w] = B(!1), T = "", E = q?.Item?.useStatus?.();
6406
6431
  T = e.status || (l ? E?.status : "") || "";
6407
6432
  let D = R(() => s?.length ? (0, Z.cloneDeep)(s).map((e) => (e.locale && (e.label = y.formatMessage({ id: e.label })), e)) : [], [s, y]);
@@ -6431,7 +6456,7 @@ var Fs = (e) => {
6431
6456
  filled: !0,
6432
6457
  children: N(e)
6433
6458
  });
6434
- return /* @__PURE__ */ H(uo, { children: /* @__PURE__ */ H(lo, {
6459
+ return /* @__PURE__ */ H(lo, { children: /* @__PURE__ */ H(co, {
6435
6460
  className: (0, X.default)("seal-select-wrapper", { "seal-cascader-wrapper-small": m === "small" }),
6436
6461
  classList: C ? "dropdown-visible" : "",
6437
6462
  status: T,
@@ -6446,7 +6471,7 @@ var Fs = (e) => {
6446
6471
  placeholder: n,
6447
6472
  className: m === "small" ? "seal-cascader-small" : "",
6448
6473
  suffixIcon: /* @__PURE__ */ H(Q, { type: "icon-down" }),
6449
- optionRender: (e) => /* @__PURE__ */ H(Rs, {
6474
+ optionRender: (e) => /* @__PURE__ */ H(Ls, {
6450
6475
  data: e,
6451
6476
  notFoundContent: p,
6452
6477
  optionNode: d
@@ -6454,7 +6479,7 @@ var Fs = (e) => {
6454
6479
  tagRender: h || P,
6455
6480
  displayRender: g,
6456
6481
  ref: S,
6457
- options: r ? null : D,
6482
+ options: r ? void 0 : D,
6458
6483
  onFocus: A,
6459
6484
  onBlur: j,
6460
6485
  onChange: k,
@@ -6462,7 +6487,7 @@ var Fs = (e) => {
6462
6487
  onOpenChange: M
6463
6488
  })
6464
6489
  }) });
6465
- }, Bs = Y.div`
6490
+ }, zs = Y.div`
6466
6491
  display: flex;
6467
6492
  align-items: center;
6468
6493
  justify-content: space-between;
@@ -6472,21 +6497,21 @@ var Fs = (e) => {
6472
6497
  .ant-checkbox-wrapper {
6473
6498
  margin-top: 0 !important;
6474
6499
  }
6475
- `, Vs = (e) => {
6500
+ `, Bs = (e) => {
6476
6501
  let { label: t, checked: n, required: r, description: i, isInFormItems: a = !0, defaultChecked: o, checkStatus: s, ...c } = e, l = "", u = q?.Item?.useStatus?.();
6477
6502
  l = e.checkStatus || (a ? u?.status : "") || "";
6478
6503
  let d = (t) => {
6479
6504
  e.onChange?.(t);
6480
6505
  };
6481
- return /* @__PURE__ */ H(lo, {
6506
+ return /* @__PURE__ */ H(co, {
6482
6507
  required: r,
6483
6508
  status: l,
6484
6509
  className: "no-focus",
6485
- children: /* @__PURE__ */ U(Bs, {
6510
+ children: /* @__PURE__ */ U(zs, {
6486
6511
  onClick: () => {
6487
6512
  d({ target: { checked: !n } });
6488
6513
  },
6489
- children: [/* @__PURE__ */ H(Ja, {
6514
+ children: [/* @__PURE__ */ H(qa, {
6490
6515
  label: t,
6491
6516
  description: i
6492
6517
  }), /* @__PURE__ */ H(K, {
@@ -6502,7 +6527,7 @@ var Fs = (e) => {
6502
6527
  })]
6503
6528
  })
6504
6529
  });
6505
- }, Hs = ({ description: e, label: t, checked: n, onChange: r, ...i }) => /* @__PURE__ */ H(K, {
6530
+ }, Vs = ({ description: e, label: t, checked: n, onChange: r, ...i }) => /* @__PURE__ */ H(K, {
6506
6531
  className: "p-l-6",
6507
6532
  checked: n,
6508
6533
  onChange: r,
@@ -6517,17 +6542,17 @@ var Fs = (e) => {
6517
6542
  style: { color: "var(--ant-color-text-tertiary)" }
6518
6543
  })]
6519
6544
  })
6520
- }), Us = E.memo((e) => {
6545
+ }), Hs = E.memo((e) => {
6521
6546
  let t = o(), { type: n, label: r, attrs: i, style: a, value: s, ...c } = e, l = N((n) => {
6522
6547
  switch (n) {
6523
- case "Checkbox": return /* @__PURE__ */ H(Ja, {
6548
+ case "Checkbox": return /* @__PURE__ */ H(qa, {
6524
6549
  required: e.required,
6525
6550
  label: r.isLocalized ? t.formatMessage({ id: r.text }) : r.text
6526
6551
  });
6527
6552
  default: return null;
6528
6553
  }
6529
6554
  }, [t, n]), u = R(() => n === "Checkbox" ? { checked: s } : { value: s }, [n, s]);
6530
- return E.createElement(ko[n], {
6555
+ return E.createElement(Oo[n], {
6531
6556
  ...c,
6532
6557
  ...i,
6533
6558
  ...u,
@@ -6537,11 +6562,11 @@ var Fs = (e) => {
6537
6562
  },
6538
6563
  label: r.isLocalized ? t.formatMessage({ id: r.text }) : r.text
6539
6564
  }, l(n));
6540
- }), Ws = Y.div`
6565
+ }), Us = Y.div`
6541
6566
  display: flex;
6542
6567
  align-items: center;
6543
6568
  gap: 8px;
6544
- `, Gs = Y.div`
6569
+ `, Ws = Y.div`
6545
6570
  .ant-select-item {
6546
6571
  padding-inline-start: 8px;
6547
6572
  &:hover {
@@ -6555,7 +6580,7 @@ var Fs = (e) => {
6555
6580
  background-color: var(--ant-select-option-active-bg);
6556
6581
  }
6557
6582
  }
6558
- `, Ks = Y.div`
6583
+ `, Gs = Y.div`
6559
6584
  margin-bottom: 10px;
6560
6585
  padding: 5px 8px;
6561
6586
  font-size: 12px;
@@ -6563,7 +6588,7 @@ var Fs = (e) => {
6563
6588
  .ant-checkbox-wrapper {
6564
6589
  color: var(--ant-color-text-tertiary);
6565
6590
  }
6566
- `, qs = A((e, t) => {
6591
+ `, Ks = A((e, t) => {
6567
6592
  let n = o(), { options: r = [], showTags: i, styles: a = {}, optionLabelRender: s, maxTagCount: c, ...l } = e, [u, d] = E.useState({
6568
6593
  checked: !1,
6569
6594
  indeterminate: !1
@@ -6573,7 +6598,7 @@ var Fs = (e) => {
6573
6598
  }, [r]);
6574
6599
  let _ = (e, t) => {
6575
6600
  let { value: n, label: r } = e;
6576
- return /* @__PURE__ */ U(Ws, { children: [l.value?.includes?.(n) ? /* @__PURE__ */ H(K, { checked: !0 }) : /* @__PURE__ */ H(K, {}), /* @__PURE__ */ H(f, {
6601
+ return /* @__PURE__ */ U(Us, { children: [l.value?.includes?.(n) ? /* @__PURE__ */ H(K, { checked: !0 }) : /* @__PURE__ */ H(K, {}), /* @__PURE__ */ H(f, {
6577
6602
  ghost: !0,
6578
6603
  children: s ? s(e) : r
6579
6604
  })] });
@@ -6585,7 +6610,7 @@ var Fs = (e) => {
6585
6610
  });
6586
6611
  let r = [...l.value || []];
6587
6612
  r = t ? Array.from(new Set([...r, ...n])) : r.filter((e) => !n.includes(e)), l.onChange?.(r, p || []);
6588
- }, y = (e) => /* @__PURE__ */ U(Gs, { children: [l.mode === "multiple" && /* @__PURE__ */ H(Ks, { children: /* @__PURE__ */ H(K, {
6613
+ }, y = (e) => /* @__PURE__ */ U(Ws, { children: [l.mode === "multiple" && /* @__PURE__ */ H(Gs, { children: /* @__PURE__ */ H(K, {
6589
6614
  checked: u.checked,
6590
6615
  indeterminate: u.indeterminate,
6591
6616
  onChange: v,
@@ -6626,7 +6651,8 @@ var Fs = (e) => {
6626
6651
  children: n
6627
6652
  });
6628
6653
  }, w = (e) => {
6629
- if (l.showSearch?.onSearch) l.showSearch?.onSearch?.(e);
6654
+ let t = typeof l.showSearch == "object" ? l.showSearch : void 0;
6655
+ if (t?.onSearch) t.onSearch(e);
6630
6656
  else {
6631
6657
  let t = r?.filter((t) => t.label.toLowerCase().includes(e.toLowerCase()));
6632
6658
  m(t || []), S(t || []);
@@ -6660,7 +6686,7 @@ var Fs = (e) => {
6660
6686
  flex: 1,
6661
6687
  ...a.wrapper
6662
6688
  },
6663
- children: /* @__PURE__ */ H(So, {
6689
+ children: /* @__PURE__ */ H(xo, {
6664
6690
  ...l,
6665
6691
  style: {
6666
6692
  width: l.style?.width || "100%",
@@ -6681,13 +6707,13 @@ var Fs = (e) => {
6681
6707
  onFocus: D,
6682
6708
  showSearch: {
6683
6709
  onSearch: w,
6684
- filterOption: l.showSearch?.filterOption || x
6710
+ filterOption: (typeof l.showSearch == "object" ? l.showSearch.filterOption : void 0) || x
6685
6711
  },
6686
6712
  onOpenChange: O,
6687
6713
  children: e.children
6688
6714
  })
6689
6715
  });
6690
- }), Js = (e) => {
6716
+ }), qs = (e) => {
6691
6717
  let { label: t, placeholder: n, children: r, required: i, description: a, options: s, allowNull: c, isInFormItems: l = !0, notFoundContent: u = null, ...d } = e, f = o(), [p, m] = B(!1), h = z(null), g = "", _ = q?.Item?.useStatus?.();
6692
6718
  g = e.status || (l ? _?.status : "") || "";
6693
6719
  let y = R(() => s?.length ? (0, Z.cloneDeep)(s).map((e) => (e.locale && (e.label = f.formatMessage({ id: e.label })), e)) : [], [s, f]);
@@ -6703,7 +6729,7 @@ var Fs = (e) => {
6703
6729
  }, C = (t) => {
6704
6730
  c && e.value === null ? m(!0) : e.value || m(!1), e.onBlur?.(t);
6705
6731
  };
6706
- return /* @__PURE__ */ H(uo, { children: /* @__PURE__ */ H(lo, {
6732
+ return /* @__PURE__ */ H(lo, { children: /* @__PURE__ */ H(co, {
6707
6733
  className: "seal-select-wrapper",
6708
6734
  status: g,
6709
6735
  label: t,
@@ -6712,7 +6738,7 @@ var Fs = (e) => {
6712
6738
  description: a,
6713
6739
  disabled: e.disabled,
6714
6740
  onClick: b,
6715
- children: /* @__PURE__ */ H(qs, {
6741
+ children: /* @__PURE__ */ H(Ks, {
6716
6742
  ...d,
6717
6743
  ref: h,
6718
6744
  options: r ? void 0 : y,
@@ -6723,7 +6749,7 @@ var Fs = (e) => {
6723
6749
  children: r
6724
6750
  })
6725
6751
  }) });
6726
- }, Ys = Y.div`
6752
+ }, Js = Y.div`
6727
6753
  position: relative;
6728
6754
  .del-btn {
6729
6755
  display: none;
@@ -6739,12 +6765,12 @@ var Fs = (e) => {
6739
6765
  display: flex;
6740
6766
  }
6741
6767
  }
6742
- `, Xs = A(({ open: e = !1, inputProps: t, onSubmit: n, onClose: r, onEscape: i }, a) => {
6768
+ `, Ys = A(({ open: e = !1, inputProps: t, onSubmit: n, onClose: r, onEscape: i }, a) => {
6743
6769
  let s = o();
6744
6770
  return /* @__PURE__ */ H(J, {
6745
6771
  open: e,
6746
6772
  title: s.formatMessage({ id: "playground.uploadImage.url.invalid" }),
6747
- children: /* @__PURE__ */ U(Ys, { children: [/* @__PURE__ */ H(ht, {
6773
+ children: /* @__PURE__ */ U(Js, { children: [/* @__PURE__ */ H(ht, {
6748
6774
  ...t,
6749
6775
  ref: a,
6750
6776
  status: e ? "error" : "",
@@ -6767,7 +6793,7 @@ var Fs = (e) => {
6767
6793
  })
6768
6794
  })] })
6769
6795
  });
6770
- }), Zs = Y(G)`
6796
+ }), Xs = Y(G)`
6771
6797
  background-color: transparent !important;
6772
6798
  padding: 0;
6773
6799
  .anticon {
@@ -6780,13 +6806,13 @@ var Fs = (e) => {
6780
6806
  color: var(--ant-color-text-tertiary);
6781
6807
  }
6782
6808
  }
6783
- `, Qs = ({ onClick: e }) => /* @__PURE__ */ H(Zs, {
6809
+ `, Zs = ({ onClick: e }) => /* @__PURE__ */ H(Xs, {
6784
6810
  icon: /* @__PURE__ */ H(oe, {}),
6785
6811
  shape: "circle",
6786
6812
  type: "text",
6787
6813
  onClick: e,
6788
6814
  size: "small"
6789
- }), $s = ({ layout: e = {
6815
+ }), Qs = ({ layout: e = {
6790
6816
  rows: 1,
6791
6817
  cols: 1
6792
6818
  }, column: t = 2, dataList: n, editable: r, responseable: i, gutter: a, onDelete: o, onClick: s, autoBgColor: c, autoSize: l, style: u }) => {
@@ -6911,11 +6937,11 @@ var Fs = (e) => {
6911
6937
  onClick: () => f(e)
6912
6938
  })) })
6913
6939
  }) : null });
6914
- }, ec = [
6940
+ }, $s = [
6915
6941
  "image/png",
6916
6942
  "image/jpg",
6917
6943
  "image/jpeg"
6918
- ], tc = ({ handleUpdateImgList: e, multiple: t = !0, drag: n = !1, disabled: r = !1, children: i, icon: a, title: s, accept: c = ec.join(","), size: l = "small", maxSize: u, width: d, height: f, verifySize: p = !1 }) => {
6944
+ ], ec = ({ handleUpdateImgList: e, multiple: t = !0, drag: n = !1, disabled: r = !1, children: i, icon: a, title: s, accept: c = $s.join(","), size: l = "small", maxSize: u, width: d, height: f, verifySize: p = !1 }) => {
6919
6945
  let m = o(), h = z(null), g = N((e) => {
6920
6946
  let t = c.split(",").map((e) => e.trim());
6921
6947
  return t.includes(e.type) ? u !== void 0 && e.size > u * 1024 ? (Ft.error(m.formatMessage({ id: "common.file.size.limit" }, { size: `${u}KB` })), !1) : !0 : (Ft.error(m.formatMessage({ id: "common.file.format.limit" }, { formats: t.join(", ") })), !1);
@@ -6977,13 +7003,13 @@ var Fs = (e) => {
6977
7003
  })
6978
7004
  })
6979
7005
  }) });
6980
- }, nc = ({ size: e = "middle", onOpenChange: t, onUpdateImgList: n, onAddFromUrl: r }) => {
7006
+ }, tc = ({ size: e = "middle", onOpenChange: t, onUpdateImgList: n, onAddFromUrl: r }) => {
6981
7007
  let i = o();
6982
- return /* @__PURE__ */ H(Wa, {
7008
+ return /* @__PURE__ */ H(Ua, {
6983
7009
  onOpenChange: t,
6984
7010
  placement: "topLeft",
6985
7011
  menu: { items: [{
6986
- label: /* @__PURE__ */ U(tc, {
7012
+ label: /* @__PURE__ */ U(ec, {
6987
7013
  handleUpdateImgList: n,
6988
7014
  size: "middle",
6989
7015
  children: [/* @__PURE__ */ H(Xe, { className: "m-r-8" }), i.formatMessage({ id: "playground.img.upload" })]
@@ -7004,7 +7030,7 @@ var Fs = (e) => {
7004
7030
  }
7005
7031
  })
7006
7032
  });
7007
- }, rc = (e) => {
7033
+ }, nc = (e) => {
7008
7034
  let { data: t, onDeleteImage: n, onUploadImage: r, onChange: i, onSelect: a, onDelete: s, actions: c, showUpload: l = !0, style: u, label: d, placeholder: f, height: p = 46 } = e, m = o(), h = E.useRef(null), [g, _] = B({
7009
7035
  minRows: 1,
7010
7036
  maxRows: 1,
@@ -7112,7 +7138,7 @@ var Fs = (e) => {
7112
7138
  children: [d && /* @__PURE__ */ H("span", {
7113
7139
  className: "title",
7114
7140
  children: d
7115
- }), /* @__PURE__ */ H($s, {
7141
+ }), /* @__PURE__ */ H(Qs, {
7116
7142
  editable: !0,
7117
7143
  dataList: t.imgs,
7118
7144
  onDelete: F
@@ -7122,7 +7148,7 @@ var Fs = (e) => {
7122
7148
  }),
7123
7149
  /* @__PURE__ */ U("div", {
7124
7150
  className: (0, X.default)("actions-wrapper", { show: L }),
7125
- children: [w && /* @__PURE__ */ H(Xs, {
7151
+ children: [w && /* @__PURE__ */ H(Ys, {
7126
7152
  ref: O,
7127
7153
  open: D,
7128
7154
  inputProps: { variant: "filled" },
@@ -7132,8 +7158,8 @@ var Fs = (e) => {
7132
7158
  }), /* @__PURE__ */ U("div", {
7133
7159
  className: "actions",
7134
7160
  children: [
7135
- !L && (t.content || !!t.imgs?.length) && /* @__PURE__ */ H(Qs, { onClick: P }),
7136
- l && /* @__PURE__ */ H(nc, {
7161
+ !L && (t.content || !!t.imgs?.length) && /* @__PURE__ */ H(Zs, { onClick: P }),
7162
+ l && /* @__PURE__ */ H(tc, {
7137
7163
  size: "small",
7138
7164
  onOpenChange: N,
7139
7165
  onUpdateImgList: C,
@@ -7156,7 +7182,7 @@ var Fs = (e) => {
7156
7182
  ]
7157
7183
  })
7158
7184
  });
7159
- }, ic = Y.div`
7185
+ }, rc = Y.div`
7160
7186
  display: flex;
7161
7187
  flex-direction: column;
7162
7188
  justify-content: center;
@@ -7165,15 +7191,15 @@ var Fs = (e) => {
7165
7191
  border-radius: var(--ant-border-radius);
7166
7192
  padding: 12px 14px;
7167
7193
  min-height: 54px;
7168
- `, ac = Y.div`
7194
+ `, ic = Y.div`
7169
7195
  display: flex;
7170
7196
  justify-content: space-between;
7171
7197
  align-items: center;
7172
- `, oc = (e) => {
7198
+ `, ac = (e) => {
7173
7199
  let { label: t, description: n, checked: r, defaultChecked: i, onChange: a, children: o, style: s, alwaysShowChildren: c = !0, size: l, btnTips: u } = e, [d, f] = B(i || !1);
7174
- return /* @__PURE__ */ U(ic, {
7200
+ return /* @__PURE__ */ U(rc, {
7175
7201
  style: s,
7176
- children: [/* @__PURE__ */ U(ac, { children: [/* @__PURE__ */ H(Ja, {
7202
+ children: [/* @__PURE__ */ U(ic, { children: [/* @__PURE__ */ H(qa, {
7177
7203
  label: t,
7178
7204
  description: n
7179
7205
  }), /* @__PURE__ */ H(J, {
@@ -7187,7 +7213,7 @@ var Fs = (e) => {
7187
7213
  })
7188
7214
  })] }), (c || d) && o]
7189
7215
  });
7190
- }, sc = ({ style: e }) => /* @__PURE__ */ U("svg", {
7216
+ }, oc = ({ style: e }) => /* @__PURE__ */ U("svg", {
7191
7217
  width: "23",
7192
7218
  height: "23",
7193
7219
  viewBox: "0 0 23 23",
@@ -7209,7 +7235,7 @@ var Fs = (e) => {
7209
7235
  stopColor: "#f05a28"
7210
7236
  })]
7211
7237
  }) })]
7212
- }), cc = {
7238
+ }), sc = {
7213
7239
  EditOutlined: E.createElement(he),
7214
7240
  ExperimentOutlined: E.createElement(ve),
7215
7241
  DeleteOutlined: E.createElement(ue),
@@ -7257,8 +7283,8 @@ var Fs = (e) => {
7257
7283
  Disabled: E.createElement(Q, { type: "icon-disabled" }),
7258
7284
  CopyOutlined: E.createElement(le),
7259
7285
  Metrics: E.createElement(Q, { type: "icon-metrics" })
7260
- }, lc = "rgba(0, 0, 255, 0.3)";
7261
- function uc(e) {
7286
+ }, cc = "rgba(0, 0, 255, 0.3)";
7287
+ function lc(e) {
7262
7288
  let { isDisabled: t, invertMask: n, maskUpload: r, lineWidth: i, translatePos: a, onSave: o } = e, s = z(!1), c = z(null), l = z(null), u = z(null), d = z([]), f = z([]), p = z(!1), m = z(null), h = z(1), g = z(1), _ = z({
7263
7289
  x: 0,
7264
7290
  y: 0
@@ -7330,7 +7356,7 @@ function uc(e) {
7330
7356
  lineWidth: i
7331
7357
  }, {
7332
7358
  lineWidth: i,
7333
- color: lc,
7359
+ color: cc,
7334
7360
  compositeOperation: "destination-out"
7335
7361
  }), P(o, {
7336
7362
  x: r,
@@ -7338,7 +7364,7 @@ function uc(e) {
7338
7364
  lineWidth: i
7339
7365
  }, {
7340
7366
  lineWidth: i,
7341
- color: lc,
7367
+ color: cc,
7342
7368
  compositeOperation: "source-over"
7343
7369
  }), o.restore();
7344
7370
  }, L = (e) => {
@@ -7426,7 +7452,7 @@ function uc(e) {
7426
7452
  }
7427
7453
  //#endregion
7428
7454
  //#region src/lib/components/image-editor/hooks/use-zoom.ts
7429
- function dc(e) {
7455
+ function uc(e) {
7430
7456
  let t = .2, n = .1, { overlayCanvasRef: r, canvasRef: i, offscreenCanvasRef: a, cursorRef: o, lineWidth: s, translatePos: c, autoScale: l, baseScale: u, isLoadingMaskRef: d } = e, [f, p] = B(1), m = (e) => {
7431
7457
  if (l.current <= t || l.current >= 8) return;
7432
7458
  let n = r.current.getBoundingClientRect(), o = e.clientX - n.left, s = e.clientY - n.top, c = o / n.width, u = s / n.height;
@@ -7462,33 +7488,27 @@ function dc(e) {
7462
7488
  baseScale: u
7463
7489
  };
7464
7490
  }
7465
- var fc = {
7491
+ var dc = {
7466
7492
  "editor-wrapper": "index-module__editor-wrapper___-q6TM",
7467
7493
  tools: "index-module__tools___Vs6ua",
7468
7494
  "editor-content": "index-module__editor-content___YIk-U",
7469
7495
  "overlay-canvas": "index-module__overlay-canvas___SaATc",
7470
7496
  "overlay-canvas--disabled": "index-module__overlay-canvas--disabled___5TrsB"
7471
- }, pc = (e) => {
7472
- let { disabled: t, loading: n, lineWidth: r, invertMask: i, accept: a, handleBrushSizeChange: s, undo: c, onClear: l, handleFitView: u, handleUpdateImageList: d, handleUpdateMaskList: f } = e, p = o();
7497
+ }, fc = (e) => {
7498
+ let { disabled: t, loading: n, lineWidth: r, invertMask: i, accept: a, tooltipStyles: s, handleBrushSizeChange: c, undo: l, onClear: u, handleFitView: d, handleUpdateImageList: f, handleUpdateMaskList: p } = e, m = o();
7473
7499
  return /* @__PURE__ */ U("div", {
7474
- className: fc.tools,
7500
+ className: dc.tools,
7475
7501
  children: [
7476
7502
  /* @__PURE__ */ H(J, {
7477
7503
  placement: "bottomLeft",
7478
7504
  arrow: !1,
7479
- styles: { body: {
7480
- background: "var(--color-white-1)",
7481
- display: "flex",
7482
- alignItems: "center",
7483
- justifyContent: "flex-start",
7484
- width: 160
7485
- } },
7505
+ styles: { ...s },
7486
7506
  title: /* @__PURE__ */ U("div", {
7487
7507
  className: "flex-column",
7488
7508
  style: { width: "100%" },
7489
7509
  children: [/* @__PURE__ */ H("span", {
7490
7510
  className: "text-secondary",
7491
- children: p.formatMessage({ id: "playground.image.brushSize" })
7511
+ children: m.formatMessage({ id: "playground.image.brushSize" })
7492
7512
  }), /* @__PURE__ */ H(Tt, {
7493
7513
  disabled: t,
7494
7514
  style: {
@@ -7500,7 +7520,7 @@ var fc = {
7500
7520
  defaultValue: r,
7501
7521
  min: 10,
7502
7522
  max: 100,
7503
- onChange: s
7523
+ onChange: c
7504
7524
  })]
7505
7525
  }),
7506
7526
  children: /* @__PURE__ */ H(G, {
@@ -7512,15 +7532,15 @@ var fc = {
7512
7532
  /* @__PURE__ */ H(J, {
7513
7533
  title: /* @__PURE__ */ U("span", { children: [
7514
7534
  "[",
7515
- Ms.UNDO.textKeybinding,
7535
+ js.UNDO.textKeybinding,
7516
7536
  "]",
7517
7537
  /* @__PURE__ */ H("span", {
7518
7538
  className: "m-l-5",
7519
- children: p.formatMessage({ id: "common.button.undo" })
7539
+ children: m.formatMessage({ id: "common.button.undo" })
7520
7540
  })
7521
7541
  ] }),
7522
7542
  children: /* @__PURE__ */ H(G, {
7523
- onClick: c,
7543
+ onClick: l,
7524
7544
  size: "middle",
7525
7545
  type: "text",
7526
7546
  disabled: t,
@@ -7528,33 +7548,33 @@ var fc = {
7528
7548
  })
7529
7549
  }),
7530
7550
  /* @__PURE__ */ H(J, {
7531
- title: p.formatMessage({ id: "common.button.clear" }),
7551
+ title: m.formatMessage({ id: "common.button.clear" }),
7532
7552
  children: /* @__PURE__ */ H(G, {
7533
- onClick: l,
7553
+ onClick: u,
7534
7554
  size: "middle",
7535
7555
  type: "text",
7536
7556
  disabled: t,
7537
7557
  children: /* @__PURE__ */ H(ae, { className: "font-size-14" })
7538
7558
  })
7539
7559
  }),
7540
- /* @__PURE__ */ H(tc, {
7560
+ /* @__PURE__ */ H(ec, {
7541
7561
  disabled: n || i,
7542
- handleUpdateImgList: d,
7562
+ handleUpdateImgList: f,
7543
7563
  size: "middle",
7544
7564
  accept: a
7545
7565
  }),
7546
- /* @__PURE__ */ H(tc, {
7547
- title: p.formatMessage({ id: "playground.image.mask.upload" }),
7566
+ /* @__PURE__ */ H(ec, {
7567
+ title: m.formatMessage({ id: "playground.image.mask.upload" }),
7548
7568
  icon: /* @__PURE__ */ H(Q, { type: "icon-mosaic-2" }),
7549
7569
  disabled: n || i,
7550
- handleUpdateImgList: f,
7570
+ handleUpdateImgList: p,
7551
7571
  size: "middle",
7552
7572
  accept: a
7553
7573
  }),
7554
7574
  /* @__PURE__ */ H(J, {
7555
- title: p.formatMessage({ id: "playground.image.fitview" }),
7575
+ title: m.formatMessage({ id: "playground.image.fitview" }),
7556
7576
  children: /* @__PURE__ */ H(G, {
7557
- onClick: u,
7577
+ onClick: d,
7558
7578
  size: "middle",
7559
7579
  type: "text",
7560
7580
  disabled: n,
@@ -7563,7 +7583,7 @@ var fc = {
7563
7583
  })
7564
7584
  ]
7565
7585
  });
7566
- }, mc = (e) => {
7586
+ }, pc = (e) => {
7567
7587
  let t = o(), { disabled: n, isOriginal: r, invertMask: i, handleOnChangeMask: a, downloadMask: s, download: c } = e;
7568
7588
  return /* @__PURE__ */ U("div", {
7569
7589
  className: "tools",
@@ -7603,7 +7623,7 @@ var fc = {
7603
7623
  })
7604
7624
  })]
7605
7625
  });
7606
- }, hc = Y.div`
7626
+ }, mc = Y.div`
7607
7627
  position: absolute;
7608
7628
  top: 0;
7609
7629
  bottom: 0;
@@ -7613,9 +7633,9 @@ var fc = {
7613
7633
  height: 100%;
7614
7634
  width: ${(e) => `${e.width ? `${e.width}px` : "100%"}`};
7615
7635
  z-index: 100;
7616
- `, gc = (e) => {
7636
+ `, hc = (e) => {
7617
7637
  let { width: t, height: n } = e;
7618
- return /* @__PURE__ */ H(hc, {
7638
+ return /* @__PURE__ */ H(mc, {
7619
7639
  width: t,
7620
7640
  height: n,
7621
7641
  children: /* @__PURE__ */ H(Dt, {
@@ -7623,7 +7643,7 @@ var fc = {
7623
7643
  size: "middle"
7624
7644
  })
7625
7645
  });
7626
- }, _c = "rgba(0, 0, 255, 0.3)", vc = A(({ loading: e, imageSrc: t, disabled: n, imageStatus: r, maskUpload: i, accept: a, onSave: o, onScaleImageSize: s, handleUpdateImageList: c, handleUpdateMaskList: l }, u) => {
7646
+ }, gc = "rgba(0, 0, 255, 0.3)", _c = A(({ loading: e, imageSrc: t, disabled: n, imageStatus: r, maskUpload: i, accept: a, onSave: o, onScaleImageSize: s, handleUpdateImageList: c, handleUpdateMaskList: l }, u) => {
7627
7647
  let d = z(null), f = z(null), p = z(null), [m, h] = B(60), g = z({
7628
7648
  x: 0,
7629
7649
  y: 0
@@ -7631,14 +7651,14 @@ var fc = {
7631
7651
  width: 0,
7632
7652
  height: 0,
7633
7653
  loading: !1
7634
- }), { canvasRef: C, overlayCanvasRef: w, offscreenCanvasRef: T, cursorRef: E, strokesRef: D, currentStroke: O, mouseDownState: k, autoScale: A, baseScale: j, maskStorkeRef: M, isLoadingMaskRef: P, setMaskStrokes: L, draw: ee, drawStroke: V, startDrawing: W, endDrawing: te, handleMouseMove: ne, handleMouseLeave: re, handleMouseEnter: ie, saveImage: ae, resetCanvas: oe, creatOffscreenCanvas: se, generateMask: ce, getTransformLineWidth: le, getTransformedPoint: ue, setStrokes: de, setTransform: fe, clearOverlayCanvas: pe, clearCanvas: me, fitView: he, handleMouseDown: ge, handleMouseUp: _e } = uc({
7654
+ }), { canvasRef: C, overlayCanvasRef: w, offscreenCanvasRef: T, cursorRef: E, strokesRef: D, currentStroke: O, mouseDownState: k, autoScale: A, baseScale: j, maskStorkeRef: M, isLoadingMaskRef: P, setMaskStrokes: L, draw: ee, drawStroke: V, startDrawing: W, endDrawing: te, handleMouseMove: ne, handleMouseLeave: re, handleMouseEnter: ie, saveImage: ae, resetCanvas: oe, creatOffscreenCanvas: se, generateMask: ce, getTransformLineWidth: le, getTransformedPoint: ue, setStrokes: de, setTransform: fe, clearOverlayCanvas: pe, clearCanvas: me, fitView: he, handleMouseDown: ge, handleMouseUp: _e } = lc({
7635
7655
  lineWidth: m,
7636
7656
  translatePos: g,
7637
7657
  isDisabled: n,
7638
7658
  invertMask: v,
7639
7659
  maskUpload: i,
7640
7660
  onSave: o
7641
- }), { handleOnWheel: ve, setActiveScale: ye, activeScale: be } = dc({
7661
+ }), { handleOnWheel: ve, setActiveScale: ye, activeScale: be } = uc({
7642
7662
  overlayCanvasRef: w,
7643
7663
  canvasRef: C,
7644
7664
  offscreenCanvasRef: T,
@@ -7797,10 +7817,10 @@ var fc = {
7797
7817
  }, [i]), F(() => {
7798
7818
  xe && E.current && (E.current.style.display = "none");
7799
7819
  }, [xe]), /* @__PURE__ */ U("div", {
7800
- className: fc["editor-wrapper"],
7820
+ className: dc["editor-wrapper"],
7801
7821
  children: [/* @__PURE__ */ U("div", {
7802
7822
  className: "flex-between",
7803
- children: [/* @__PURE__ */ H(pc, {
7823
+ children: [/* @__PURE__ */ H(fc, {
7804
7824
  handleBrushSizeChange: Ie,
7805
7825
  undo: De,
7806
7826
  onClear: we,
@@ -7812,7 +7832,7 @@ var fc = {
7812
7832
  invertMask: v,
7813
7833
  loading: e,
7814
7834
  accept: a
7815
- }), /* @__PURE__ */ H(mc, {
7835
+ }), /* @__PURE__ */ H(pc, {
7816
7836
  handleOnChangeMask: Le,
7817
7837
  invertMask: v,
7818
7838
  downloadMask: Ce,
@@ -7822,7 +7842,7 @@ var fc = {
7822
7842
  maskUpload: i
7823
7843
  })]
7824
7844
  }), /* @__PURE__ */ U("div", {
7825
- className: fc["editor-content"],
7845
+ className: dc["editor-content"],
7826
7846
  ref: p,
7827
7847
  style: {
7828
7848
  position: "relative",
@@ -7831,7 +7851,7 @@ var fc = {
7831
7851
  flex: 1
7832
7852
  },
7833
7853
  children: [
7834
- x.loading && /* @__PURE__ */ H(gc, {
7854
+ x.loading && /* @__PURE__ */ H(hc, {
7835
7855
  width: x.width,
7836
7856
  height: x.height
7837
7857
  }),
@@ -7844,7 +7864,7 @@ var fc = {
7844
7864
  }),
7845
7865
  /* @__PURE__ */ H("canvas", {
7846
7866
  ref: w,
7847
- className: (0, X.default)(fc["overlay-canvas"], { [fc["overlay-canvas--disabled"]]: xe }),
7867
+ className: (0, X.default)(dc["overlay-canvas"], { [dc["overlay-canvas--disabled"]]: xe }),
7848
7868
  style: {
7849
7869
  position: "absolute",
7850
7870
  zIndex: 10,
@@ -7872,7 +7892,7 @@ var fc = {
7872
7892
  position: "fixed",
7873
7893
  width: m * be,
7874
7894
  height: m * be,
7875
- backgroundColor: _c,
7895
+ backgroundColor: gc,
7876
7896
  borderRadius: "50%",
7877
7897
  pointerEvents: "none",
7878
7898
  cursor: "none",
@@ -7882,21 +7902,21 @@ var fc = {
7882
7902
  ]
7883
7903
  })]
7884
7904
  });
7885
- }), yc = E.memo(vc);
7905
+ }), vc = E.memo(_c);
7886
7906
  //#endregion
7887
7907
  //#region src/lib/components/image-editor/extract-image-colors.ts
7888
- function bc(e, t) {
7908
+ function yc(e, t) {
7889
7909
  let n = document.createElement("canvas");
7890
7910
  return n.width = e, n.height = t, {
7891
7911
  canvas: n,
7892
7912
  ctx: n.getContext("2d")
7893
7913
  };
7894
7914
  }
7895
- function xc(e, t, n, r) {
7915
+ function bc(e, t, n, r) {
7896
7916
  let i = (n * r + t) * 4;
7897
7917
  return e[i] === 255 && e[i + 1] === 255 && e[i + 2] === 255;
7898
7918
  }
7899
- function Sc(e, t, n, r, i, a, o) {
7919
+ function xc(e, t, n, r, i, a, o) {
7900
7920
  let s = [[r, i]], c = [
7901
7921
  [1, 0],
7902
7922
  [-1, 0],
@@ -7909,43 +7929,43 @@ function Sc(e, t, n, r, i, a, o) {
7909
7929
  ];
7910
7930
  for (; s.length;) {
7911
7931
  let [r, i] = s.pop();
7912
- r < 0 || i < 0 || r >= t || i >= n || a[i][r] || !xc(e, r, i, t) || (a[i][r] = !0, o.push({
7932
+ r < 0 || i < 0 || r >= t || i >= n || a[i][r] || !bc(e, r, i, t) || (a[i][r] = !0, o.push({
7913
7933
  x: r,
7914
7934
  y: i
7915
7935
  }), c.forEach(([e, t]) => s.push([r + e, i + t])));
7916
7936
  }
7917
7937
  }
7918
- function Cc(e) {
7938
+ function Sc(e) {
7919
7939
  let { data: t, width: n, height: r } = e, i = Array.from({ length: r }, () => Array(n).fill(!1)), a = [];
7920
- for (let e = 0; e < r; e++) for (let o = 0; o < n; o++) if (xc(t, o, e, n) && !i[e][o]) {
7940
+ for (let e = 0; e < r; e++) for (let o = 0; o < n; o++) if (bc(t, o, e, n) && !i[e][o]) {
7921
7941
  let s = [];
7922
- Sc(t, n, r, o, e, i, s), a.push(s);
7942
+ xc(t, n, r, o, e, i, s), a.push(s);
7923
7943
  }
7924
7944
  return a;
7925
7945
  }
7926
- function wc(e) {
7946
+ function Cc(e) {
7927
7947
  return new Promise((t, n) => {
7928
7948
  let r = new Image();
7929
7949
  r.src = e, r.onload = () => t(r), r.onerror = () => n(/* @__PURE__ */ Error("Image loading failed"));
7930
7950
  });
7931
7951
  }
7932
- async function Tc(e) {
7933
- let t = await wc(e), { canvas: n, ctx: r } = bc(t.width, t.height);
7952
+ async function wc(e) {
7953
+ let t = await Cc(e), { canvas: n, ctx: r } = yc(t.width, t.height);
7934
7954
  r.drawImage(t, 0, 0);
7935
- let i = Cc(r.getImageData(0, 0, t.width, t.height));
7955
+ let i = Sc(r.getImageData(0, 0, t.width, t.height));
7936
7956
  return URL.revokeObjectURL(t.src), i;
7937
7957
  }
7938
7958
  //#endregion
7939
- //#region ../../node_modules/.pnpm/react-intersection-observer@9.16.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-intersection-observer/dist/index.mjs
7940
- var Ec = /* @__PURE__ */ new Map(), Dc = /* @__PURE__ */ new WeakMap(), Oc = 0, kc = void 0;
7959
+ //#region node_modules/.pnpm/react-intersection-observer@9.16.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-intersection-observer/dist/index.mjs
7960
+ var Tc = /* @__PURE__ */ new Map(), Ec = /* @__PURE__ */ new WeakMap(), Dc = 0, Oc = void 0;
7961
+ function kc(e) {
7962
+ return e ? Ec.has(e) ? Ec.get(e) : (Dc += 1, Ec.set(e, Dc.toString()), Ec.get(e)) : "0";
7963
+ }
7941
7964
  function Ac(e) {
7942
- return e ? Dc.has(e) ? Dc.get(e) : (Oc += 1, Dc.set(e, Oc.toString()), Dc.get(e)) : "0";
7965
+ return Object.keys(e).sort().filter((t) => e[t] !== void 0).map((t) => `${t}_${t === "root" ? kc(e.root) : e[t]}`).toString();
7943
7966
  }
7944
7967
  function jc(e) {
7945
- return Object.keys(e).sort().filter((t) => e[t] !== void 0).map((t) => `${t}_${t === "root" ? Ac(e.root) : e[t]}`).toString();
7946
- }
7947
- function Mc(e) {
7948
- let t = jc(e), n = Ec.get(t);
7968
+ let t = Ac(e), n = Tc.get(t);
7949
7969
  if (!n) {
7950
7970
  let r = /* @__PURE__ */ new Map(), i, a = new IntersectionObserver((t) => {
7951
7971
  t.forEach((t) => {
@@ -7960,11 +7980,11 @@ function Mc(e) {
7960
7980
  id: t,
7961
7981
  observer: a,
7962
7982
  elements: r
7963
- }, Ec.set(t, n);
7983
+ }, Tc.set(t, n);
7964
7984
  }
7965
7985
  return n;
7966
7986
  }
7967
- function Nc(e, t, n = {}, r = kc) {
7987
+ function Mc(e, t, n = {}, r = Oc) {
7968
7988
  if (window.IntersectionObserver === void 0 && r !== void 0) {
7969
7989
  let i = e.getBoundingClientRect();
7970
7990
  return t(r, {
@@ -7977,13 +7997,13 @@ function Nc(e, t, n = {}, r = kc) {
7977
7997
  rootBounds: i
7978
7998
  }), () => {};
7979
7999
  }
7980
- let { id: i, observer: a, elements: o } = Mc(n), s = o.get(e) || [];
8000
+ let { id: i, observer: a, elements: o } = jc(n), s = o.get(e) || [];
7981
8001
  return o.has(e) || o.set(e, s), s.push(t), a.observe(e), function() {
7982
- s.splice(s.indexOf(t), 1), s.length === 0 && (o.delete(e), a.unobserve(e)), o.size === 0 && (a.disconnect(), Ec.delete(i));
8002
+ s.splice(s.indexOf(t), 1), s.length === 0 && (o.delete(e), a.unobserve(e)), o.size === 0 && (a.disconnect(), Tc.delete(i));
7983
8003
  };
7984
8004
  }
7985
8005
  T.Component;
7986
- function Pc({ threshold: e, delay: t, trackVisibility: n, rootMargin: r, root: i, triggerOnce: a, skip: o, initialInView: s, fallbackInView: c, onChange: l } = {}) {
8006
+ function Nc({ threshold: e, delay: t, trackVisibility: n, rootMargin: r, root: i, triggerOnce: a, skip: o, initialInView: s, fallbackInView: c, onChange: l } = {}) {
7987
8007
  let [u, d] = T.useState(null), f = T.useRef(l), [p, m] = T.useState({
7988
8008
  inView: !!s,
7989
8009
  entry: void 0
@@ -7991,7 +8011,7 @@ function Pc({ threshold: e, delay: t, trackVisibility: n, rootMargin: r, root: i
7991
8011
  f.current = l, T.useEffect(() => {
7992
8012
  if (o || !u) return;
7993
8013
  let s;
7994
- return s = Nc(u, (e, t) => {
8014
+ return s = Mc(u, (e, t) => {
7995
8015
  m({
7996
8016
  inView: e,
7997
8017
  entry: t
@@ -8030,8 +8050,8 @@ function Pc({ threshold: e, delay: t, trackVisibility: n, rootMargin: r, root: i
8030
8050
  }
8031
8051
  //#endregion
8032
8052
  //#region src/lib/components/infinite-scroller/use-infinite-scroll.ts
8033
- function Fc({ total: e, current: t, loading: n, refresh: r, onBottom: i, throttleDelay: a = 300 }) {
8034
- let { ref: o, inView: s } = Pc({ threshold: .2 }), c = z(!0), l = zt((0, Z.throttle)(() => {
8053
+ function Pc({ total: e, current: t, loading: n, refresh: r, onBottom: i, throttleDelay: a = 300 }) {
8054
+ let { ref: o, inView: s } = Nc({ threshold: .2 }), c = z(!0), l = zt((0, Z.throttle)(() => {
8035
8055
  n || t >= e || (i?.(), r(t + 1));
8036
8056
  }, a));
8037
8057
  return F(() => {
@@ -8049,8 +8069,8 @@ function Fc({ total: e, current: t, loading: n, refresh: r, onBottom: i, throttl
8049
8069
  }
8050
8070
  //#endregion
8051
8071
  //#region src/lib/components/infinite-scroller/index.tsx
8052
- var Ic = (e) => {
8053
- let { children: t, ...n } = e, r = o(), { observerRef: i, throttledLoadMore: a } = Fc(n);
8072
+ var Fc = (e) => {
8073
+ let { children: t, ...n } = e, r = o(), { observerRef: i, throttledLoadMore: a } = Pc(n);
8054
8074
  return /* @__PURE__ */ U("div", {
8055
8075
  className: "relative",
8056
8076
  style: { width: "100%" },
@@ -8078,18 +8098,18 @@ var Ic = (e) => {
8078
8098
  /* @__PURE__ */ H(pt.BackTop, { visibilityHeight: 1e3 })
8079
8099
  ]
8080
8100
  });
8081
- }, Lc = O({}), Rc = () => {
8082
- let e = P(Lc);
8101
+ }, Ic = O({}), Lc = () => {
8102
+ let e = P(Ic);
8083
8103
  if (!e) throw Error("useScrollerContext must be used within a ScrollerProvider");
8084
8104
  return e;
8085
- }, zc = ({ children: e, value: t }) => /* @__PURE__ */ H(Lc.Provider, {
8105
+ }, Rc = ({ children: e, value: t }) => /* @__PURE__ */ H(Ic.Provider, {
8086
8106
  value: t,
8087
8107
  children: e
8088
- }), Bc = Y.div`
8108
+ }), zc = Y.div`
8089
8109
  display: flex;
8090
8110
  flex-wrap: wrap;
8091
8111
  gap: 6px;
8092
- `, Vc = ({ labels: e }) => /* @__PURE__ */ H(Bc, { children: Z.default.map(e, (e, t) => /* @__PURE__ */ U(f, {
8112
+ `, Bc = ({ labels: e }) => /* @__PURE__ */ H(zc, { children: Z.default.map(e, (e, t) => /* @__PURE__ */ U(f, {
8093
8113
  className: "m-r-0",
8094
8114
  maxWidth: 155,
8095
8115
  style: {
@@ -8097,12 +8117,12 @@ var Ic = (e) => {
8097
8117
  borderRadius: 12
8098
8118
  },
8099
8119
  children: [/* @__PURE__ */ H("span", { children: t }), /* @__PURE__ */ U("span", { children: [":", e] })]
8100
- }, t)) }), Hc = E.createContext({}), Uc = () => {
8101
- let e = E.useContext(Hc);
8120
+ }, t)) }), Vc = E.createContext({}), Hc = () => {
8121
+ let e = E.useContext(Vc);
8102
8122
  if (!e) throw Error("useLabelSelectorContext must be used within a LabelSelectorProvider");
8103
8123
  return e;
8104
- }, Wc = ({ labels: e, label: t, labelList: n, seperator: r, keyAddon: i, valueAddon: a, disabled: s, onChange: c, onDelete: l, onBlur: u }) => {
8105
- let d = o(), [f, p] = B(!1), { options: m, placeholder: h = [] } = Uc(), g = m?.filter((n) => !Z.default.has(e, n.value) || n.value === t.key), _ = R(() => m?.find((e) => e.value === t.key)?.children || [], [t.key, m]), v = (e) => {
8124
+ }, Uc = ({ labels: e, label: t, labelList: n, seperator: r, keyAddon: i, valueAddon: a, disabled: s, onChange: c, onDelete: l, onBlur: u }) => {
8125
+ let d = o(), [f, p] = B(!1), { options: m, placeholder: h = [] } = Hc(), g = m?.filter((n) => !Z.default.has(e, n.value) || n.value === t.key), _ = R(() => m?.find((e) => e.value === t.key)?.children || [], [t.key, m]), v = (e) => {
8106
8126
  c?.({
8107
8127
  key: t.key,
8108
8128
  value: e
@@ -8129,7 +8149,7 @@ var Ic = (e) => {
8129
8149
  children: i ?? /* @__PURE__ */ H(J, {
8130
8150
  open: f,
8131
8151
  title: d.formatMessage({ id: "resources.table.key.tips" }),
8132
- children: /* @__PURE__ */ H(po, {
8152
+ children: /* @__PURE__ */ H(fo, {
8133
8153
  options: g,
8134
8154
  disabled: s,
8135
8155
  checkStatus: "success",
@@ -8146,7 +8166,7 @@ var Ic = (e) => {
8146
8166
  }),
8147
8167
  /* @__PURE__ */ H("div", {
8148
8168
  className: "label-value",
8149
- children: a ?? /* @__PURE__ */ H(po, {
8169
+ children: a ?? /* @__PURE__ */ H(fo, {
8150
8170
  options: _,
8151
8171
  disabled: s,
8152
8172
  checkStatus: t.value ? "success" : "",
@@ -8166,7 +8186,7 @@ var Ic = (e) => {
8166
8186
  })
8167
8187
  ]
8168
8188
  });
8169
- }, Gc = ({ label: e, labelList: t, seperator: n, keyAddon: r, valueAddon: i, disabled: a, onChange: s, onDelete: c, onPaste: l, onBlur: u }) => {
8189
+ }, Wc = ({ label: e, labelList: t, seperator: n, keyAddon: r, valueAddon: i, disabled: a, onChange: s, onDelete: c, onPaste: l, onBlur: u }) => {
8170
8190
  let d = o(), [f, p] = B(!1), m = (t) => {
8171
8191
  let n = t.target.value;
8172
8192
  s?.({
@@ -8196,7 +8216,7 @@ var Ic = (e) => {
8196
8216
  children: r ?? /* @__PURE__ */ H(J, {
8197
8217
  open: f,
8198
8218
  title: d.formatMessage({ id: "resources.table.key.tips" }),
8199
- children: /* @__PURE__ */ H("span", { children: /* @__PURE__ */ H(bo.Input, {
8219
+ children: /* @__PURE__ */ H("span", { children: /* @__PURE__ */ H(yo.Input, {
8200
8220
  disabled: a,
8201
8221
  checkStatus: "success",
8202
8222
  label: d.formatMessage({ id: "common.input.key" }),
@@ -8213,7 +8233,7 @@ var Ic = (e) => {
8213
8233
  }),
8214
8234
  /* @__PURE__ */ H("div", {
8215
8235
  className: "label-value",
8216
- children: i ?? /* @__PURE__ */ H(bo.Input, {
8236
+ children: i ?? /* @__PURE__ */ H(yo.Input, {
8217
8237
  trim: !1,
8218
8238
  disabled: a,
8219
8239
  checkStatus: e.value ? "success" : "",
@@ -8233,7 +8253,7 @@ var Ic = (e) => {
8233
8253
  })
8234
8254
  ]
8235
8255
  });
8236
- }, Kc = ({ labels: e, labelList: t, onChange: n, onLabelListChange: r, onPaste: i, onBlur: a, onDelete: o, disabled: s, label: c, btnText: l, description: u, isAutoComplete: d }) => {
8256
+ }, Gc = ({ labels: e, labelList: t, onChange: n, onLabelListChange: r, onPaste: i, onBlur: a, onDelete: o, disabled: s, label: c, btnText: l, description: u, isAutoComplete: d }) => {
8237
8257
  let f = (e) => {
8238
8258
  let t = Z.default.reduce(e, (e, t) => (t.key && (e[t.key] = t.value), e), {});
8239
8259
  n?.(t);
@@ -8250,13 +8270,13 @@ var Ic = (e) => {
8250
8270
  let n = Z.default.cloneDeep(t);
8251
8271
  n.splice(e, 1), r(n), f(n), o?.(e);
8252
8272
  };
8253
- return /* @__PURE__ */ H(Za, {
8273
+ return /* @__PURE__ */ H(Xa, {
8254
8274
  label: c,
8255
8275
  description: u,
8256
8276
  onAdd: m,
8257
8277
  disabled: s,
8258
8278
  btnText: l,
8259
- children: /* @__PURE__ */ H(V, { children: d ? t?.map((n, r) => /* @__PURE__ */ H(Wc, {
8279
+ children: /* @__PURE__ */ H(V, { children: d ? t?.map((n, r) => /* @__PURE__ */ H(Uc, {
8260
8280
  disabled: s,
8261
8281
  label: n,
8262
8282
  seperator: ":",
@@ -8266,7 +8286,7 @@ var Ic = (e) => {
8266
8286
  onChange: (e) => p(r, e),
8267
8287
  onPaste: (e) => i?.(e, r),
8268
8288
  onBlur: (e, t) => a?.(e, t, r)
8269
- }, r)) : t?.map((e, n) => /* @__PURE__ */ H(Gc, {
8289
+ }, r)) : t?.map((e, n) => /* @__PURE__ */ H(Wc, {
8270
8290
  disabled: s,
8271
8291
  label: e,
8272
8292
  seperator: ":",
@@ -8277,7 +8297,7 @@ var Ic = (e) => {
8277
8297
  onBlur: (e, t) => a?.(e, t, n)
8278
8298
  }, n)) })
8279
8299
  });
8280
- }, qc = ({ value: e, onChange: t, onBlur: n, onDelete: r, disabled: i, label: a, btnText: s, description: c, isAutoComplete: l, enablePaste: u = !0 }) => {
8300
+ }, Kc = ({ value: e, onChange: t, onBlur: n, onDelete: r, disabled: i, label: a, btnText: s, description: c, isAutoComplete: l, enablePaste: u = !0 }) => {
8281
8301
  let d = o(), [f, p] = B({}), [m, h] = B([]);
8282
8302
  F(() => {
8283
8303
  let t = e ?? {};
@@ -8294,7 +8314,7 @@ var Ic = (e) => {
8294
8314
  let n = Z.default.reduce(e, (e, t) => (t.key && (e[t.key] = t.value), e), {});
8295
8315
  t?.(n);
8296
8316
  };
8297
- return /* @__PURE__ */ H(Kc, {
8317
+ return /* @__PURE__ */ H(Gc, {
8298
8318
  disabled: i,
8299
8319
  label: a,
8300
8320
  btnText: s,
@@ -8321,16 +8341,16 @@ var Ic = (e) => {
8321
8341
  onBlur: n,
8322
8342
  onDelete: r
8323
8343
  });
8324
- }, Jc = ({ children: e, value: t }) => /* @__PURE__ */ H(Hc.Provider, {
8344
+ }, qc = ({ children: e, value: t }) => /* @__PURE__ */ H(Vc.Provider, {
8325
8345
  value: t,
8326
8346
  children: e
8327
- }), Yc = /[^=]+=[^=]*$/, Xc = (e) => {
8347
+ }), Jc = /[^=]+=[^=]*$/, Yc = (e) => {
8328
8348
  let { value: t, label: n, onChange: r, onBlur: i, onPaste: a, disabled: o, sourceOptions: s, trim: c = !0 } = e, l = E.useRef(0), u = E.useRef(""), [d, f] = E.useState([]), p = (e) => {
8329
8349
  if (!e) {
8330
8350
  f(s || []);
8331
8351
  return;
8332
8352
  }
8333
- let t = e.match(Yc);
8353
+ let t = e.match(Jc);
8334
8354
  if (!t) {
8335
8355
  f(Z.default.filter(s, (t) => t.label.includes(e)));
8336
8356
  return;
@@ -8340,14 +8360,14 @@ var Ic = (e) => {
8340
8360
  f([]);
8341
8361
  return;
8342
8362
  }
8343
- f(Z.default.filter(i.opts, (e) => e.label.includes(r)));
8363
+ f(Z.default.filter(i.opts, (e) => e.label.includes(String(r))));
8344
8364
  }, m = (e) => {
8345
- let t = u.current.match(Yc);
8365
+ let t = u.current.match(Jc);
8346
8366
  r(t ? `${Z.default.split(t[0], "=")[0]}=${e}` : e?.trim());
8347
8367
  }, h = Z.default.debounce((e) => {
8348
8368
  l.current = e.target.selectionStart, u.current = e.target.value.slice(0, l.current), p(u.current);
8349
8369
  }, 100);
8350
- return /* @__PURE__ */ H(po, {
8370
+ return /* @__PURE__ */ H(fo, {
8351
8371
  placeholder: e.placeholder,
8352
8372
  defaultActiveFirstOption: !0,
8353
8373
  value: t,
@@ -8369,7 +8389,7 @@ var Ic = (e) => {
8369
8389
  },
8370
8390
  onPaste: a
8371
8391
  });
8372
- }, Zc = (e) => {
8392
+ }, Xc = (e) => {
8373
8393
  let { onRemove: t, onChange: n, onBlur: r, onPaste: i, label: a, value: o, options: s, trim: c = !0, data: l, required: u, disabled: d, renderItem: f } = e, p = (e) => {
8374
8394
  n(e);
8375
8395
  };
@@ -8379,7 +8399,7 @@ var Ic = (e) => {
8379
8399
  onChange: p,
8380
8400
  onBlur: r,
8381
8401
  onPaste: i
8382
- }) : /* @__PURE__ */ H(Xc, {
8402
+ }) : /* @__PURE__ */ H(Yc, {
8383
8403
  value: o,
8384
8404
  onChange: p,
8385
8405
  onBlur: r,
@@ -8398,7 +8418,7 @@ var Ic = (e) => {
8398
8418
  onClick: t
8399
8419
  })]
8400
8420
  });
8401
- }, Qc = (e) => {
8421
+ }, Zc = (e) => {
8402
8422
  let { value: t, label: n, description: r, onChange: i, onBlur: a, onDelete: o, btnText: s, options: c, labelExtra: l, trim: u = !0, styles: d, required: f, disabled: p, renderItem: m } = e, [h, g] = E.useState([]), _ = E.useRef(0), v = () => {
8403
8423
  _.current += 1;
8404
8424
  }, b = (e) => {
@@ -8445,7 +8465,7 @@ var Ic = (e) => {
8445
8465
  })));
8446
8466
  }, [t]), F(() => {
8447
8467
  f && h.length === 0 && S();
8448
- }, [f]), /* @__PURE__ */ H(Za, {
8468
+ }, [f]), /* @__PURE__ */ H(Xa, {
8449
8469
  styles: d,
8450
8470
  label: n,
8451
8471
  required: f,
@@ -8454,7 +8474,7 @@ var Ic = (e) => {
8454
8474
  onAdd: S,
8455
8475
  btnText: s,
8456
8476
  disabled: p,
8457
- children: /* @__PURE__ */ H(V, { children: Z.default.map(h, (t, n) => /* @__PURE__ */ H(Zc, {
8477
+ children: /* @__PURE__ */ H(V, { children: Z.default.map(h, (t, n) => /* @__PURE__ */ H(Xc, {
8458
8478
  required: f && h.length === 1,
8459
8479
  placeholder: e.placeholder,
8460
8480
  options: c,
@@ -8469,7 +8489,7 @@ var Ic = (e) => {
8469
8489
  renderItem: m
8470
8490
  }, t.uid)) })
8471
8491
  });
8472
- }, $c = A((e, t) => {
8492
+ }, Qc = A((e, t) => {
8473
8493
  let { dataList: n, height: r, showNum: i, onScroll: a, diffHeight: o = 96 } = e, { initialize: s, updateScrollerPosition: c, updateScrollerPositionToTop: l, generateInstance: u, scrollEventElement: f, instance: p, initialized: m } = d({ options: { scrollbars: { theme: "os-theme-light" } } }), [h, g] = B(window.innerHeight - o), _ = z({}), v = z(!1), y = N(() => {
8474
8494
  c(0);
8475
8495
  }, [c]), b = Z.default.debounce(() => {
@@ -8529,7 +8549,7 @@ var Ic = (e) => {
8529
8549
  }, e.uid))
8530
8550
  })
8531
8551
  });
8532
- }), el = E.memo($c), tl = (e) => {
8552
+ }), $c = E.memo(Qc), el = (e) => {
8533
8553
  let { page: t, total: n, pageSize: r, onNext: i, onPrev: a, onBackend: s, onToFirst: c } = e, l = o();
8534
8554
  return /* @__PURE__ */ U("div", {
8535
8555
  className: "pagination",
@@ -8603,8 +8623,8 @@ var Ic = (e) => {
8603
8623
  })] })
8604
8624
  ]
8605
8625
  });
8606
- }, nl = 1e3, rl = () => {
8607
- let [e, t] = B(nl), [n, r] = B(1), [i, a] = B(1);
8626
+ }, tl = 1e3, nl = () => {
8627
+ let [e, t] = B(tl), [n, r] = B(1), [i, a] = B(1);
8608
8628
  return {
8609
8629
  nextPage: () => {
8610
8630
  r(n + 1);
@@ -8624,8 +8644,8 @@ var Ic = (e) => {
8624
8644
  page: n,
8625
8645
  totalPage: i
8626
8646
  };
8627
- }, il = A((e, t) => {
8628
- let { diffHeight: n, url: r, tail: i, enableScorllLoad: a = !0, isDownloading: o, watchable: s, params: c } = e, { pageSize: l, page: u, setPage: d, setTotalPage: f, totalPage: p } = rl(), { setChunkFetch: m } = Ii(), h = z(null), g = z([]), _ = z(null), v = z(i), [y, b] = B(!1), [x, S] = B(!1), [C, w] = B([]), T = z(null), E = z(!1), D = z(u), O = z(p), k = z(!1), [A, j] = B([]), M = z({
8647
+ }, rl = A((e, t) => {
8648
+ let { diffHeight: n, url: r, tail: i, enableScorllLoad: a = !0, isDownloading: o, watchable: s, params: c } = e, { pageSize: l, page: u, setPage: d, setTotalPage: f, totalPage: p } = nl(), { setChunkFetch: m } = Ii(), h = z(null), g = z([]), _ = z(null), v = z(i), [y, b] = B(!1), [x, S] = B(!1), [C, w] = B([]), T = z(null), E = z(!1), D = z(u), O = z(p), k = z(!1), [A, j] = B([]), M = z({
8629
8649
  pos: "bottom",
8630
8650
  page: 1
8631
8651
  }), P = z(0), L = z(!1);
@@ -8735,7 +8755,7 @@ var Ic = (e) => {
8735
8755
  children: /* @__PURE__ */ U("div", {
8736
8756
  className: "wrap",
8737
8757
  children: [
8738
- /* @__PURE__ */ H("div", { children: /* @__PURE__ */ H(el, {
8758
+ /* @__PURE__ */ H("div", { children: /* @__PURE__ */ H($c, {
8739
8759
  ref: T,
8740
8760
  dataList: A,
8741
8761
  diffHeight: n,
@@ -8750,7 +8770,7 @@ var Ic = (e) => {
8750
8770
  className: "pg",
8751
8771
  children: /* @__PURE__ */ H("div", {
8752
8772
  className: (0, X.default)("pg-inner", { "at-top": !0 }),
8753
- children: /* @__PURE__ */ H(tl, {
8773
+ children: /* @__PURE__ */ H(el, {
8754
8774
  page: u,
8755
8775
  total: p,
8756
8776
  pageSize: l,
@@ -8764,7 +8784,7 @@ var Ic = (e) => {
8764
8784
  ]
8765
8785
  })
8766
8786
  });
8767
- }), al = Y.div`
8787
+ }), il = Y.div`
8768
8788
  display: flex;
8769
8789
  margin-bottom: 12px;
8770
8790
  align-items: center;
@@ -8784,14 +8804,14 @@ var Ic = (e) => {
8784
8804
  margin-left: 10px;
8785
8805
  flex: none;
8786
8806
  }
8787
- `, ol = ({ dataList: e, label: t, description: n, disabled: r, btnText: i, children: a, onDelete: o, onAdd: s, styles: c }) => /* @__PURE__ */ H(Za, {
8807
+ `, al = ({ dataList: e, label: t, description: n, disabled: r, btnText: i, children: a, onDelete: o, onAdd: s, styles: c }) => /* @__PURE__ */ H(Xa, {
8788
8808
  styles: { wrapper: c?.wrapper },
8789
8809
  label: t,
8790
8810
  description: n,
8791
8811
  onAdd: s,
8792
8812
  disabled: r,
8793
8813
  btnText: i,
8794
- children: e.map((e, t) => /* @__PURE__ */ U(al, {
8814
+ children: e.map((e, t) => /* @__PURE__ */ U(il, {
8795
8815
  className: "item-container",
8796
8816
  style: c?.item,
8797
8817
  children: [a?.(e, t), !r && /* @__PURE__ */ H(G, {
@@ -8804,7 +8824,7 @@ var Ic = (e) => {
8804
8824
  children: /* @__PURE__ */ H(ke, {})
8805
8825
  })]
8806
8826
  }, t))
8807
- }), sl = Y.div`
8827
+ }), ol = Y.div`
8808
8828
  display: flex;
8809
8829
  justify-content: center;
8810
8830
  margin-block: 16px;
@@ -8814,9 +8834,9 @@ var Ic = (e) => {
8814
8834
  opacity: 0;
8815
8835
  transition: opacity 0.3s ease-in-out;
8816
8836
  }
8817
- `, cl = (e) => {
8837
+ `, sl = (e) => {
8818
8838
  let { show: t, loading: n, loadMore: r } = e, i = o();
8819
- return /* @__PURE__ */ H(V, { children: t ? /* @__PURE__ */ H(sl, {
8839
+ return /* @__PURE__ */ H(V, { children: t ? /* @__PURE__ */ H(ol, {
8820
8840
  className: n ? "loading" : "",
8821
8841
  children: /* @__PURE__ */ H(G, {
8822
8842
  onClick: r,
@@ -8826,7 +8846,7 @@ var Ic = (e) => {
8826
8846
  children: i.formatMessage({ id: "common.button.more" })
8827
8847
  })
8828
8848
  }) : null });
8829
- }, ll = Y(ft)`
8849
+ }, cl = Y(ft)`
8830
8850
  display: flex;
8831
8851
  flex-direction: column;
8832
8852
  justify-content: center;
@@ -8844,30 +8864,30 @@ var Ic = (e) => {
8844
8864
  .ant-empty-footer {
8845
8865
  display: flex;
8846
8866
  }
8847
- `, ul = Y.div`
8867
+ `, ll = Y.div`
8848
8868
  margin-bottom: 16px;
8849
8869
  display: flex;
8850
8870
  justify-content: center;
8851
8871
  align-items: center;
8852
- `, dl = Y.div`
8872
+ `, ul = Y.div`
8853
8873
  margin-bottom: 8px;
8854
8874
  display: flex;
8855
8875
  justify-content: center;
8856
8876
  align-items: center;
8857
- `, fl = Y.div`
8877
+ `, dl = Y.div`
8858
8878
  display: flex;
8859
8879
  flex-direction: column;
8860
8880
  gap: 12px;
8861
8881
  justify-content: center;
8862
8882
  align-items: center;
8863
- `, pl = (e) => {
8883
+ `, fl = (e) => {
8864
8884
  let { filters: t, noFoundText: n, loadend: r, loading: i, dataSource: a, buttonText: o, onClick: s } = e, c = R(() => {
8865
8885
  let e = Z.default.omit(t, ["page", "perPage"]);
8866
8886
  return Object.values(e || {}).some((e) => Array.isArray(e) ? e.length > 0 : !!e);
8867
8887
  }, [t]);
8868
- return /* @__PURE__ */ H(V, { children: !i && r && !a?.length ? /* @__PURE__ */ H(ll, {
8869
- image: c ? /* @__PURE__ */ H(dl, { children: ft.PRESENTED_IMAGE_SIMPLE }) : /* @__PURE__ */ H(ul, { children: e.image }),
8870
- description: /* @__PURE__ */ U(fl, { children: [!c && /* @__PURE__ */ H(Nt.Text, {
8888
+ return /* @__PURE__ */ H(V, { children: !i && r && !a?.length ? /* @__PURE__ */ H(cl, {
8889
+ image: c ? /* @__PURE__ */ H(ul, { children: ft.PRESENTED_IMAGE_SIMPLE }) : /* @__PURE__ */ H(ll, { children: e.image }),
8890
+ description: /* @__PURE__ */ U(dl, { children: [!c && /* @__PURE__ */ H(Nt.Text, {
8871
8891
  style: {
8872
8892
  fontSize: "16px",
8873
8893
  fontWeight: 500
@@ -8884,7 +8904,7 @@ var Ic = (e) => {
8884
8904
  children: o
8885
8905
  }))
8886
8906
  }) : /* @__PURE__ */ H("span", {}) });
8887
- }, ml = Y(it)`
8907
+ }, pl = Y(it)`
8888
8908
  .ant-breadcrumb-link {
8889
8909
  font-size: 16px;
8890
8910
  font-weight: 500;
@@ -8899,19 +8919,19 @@ var Ic = (e) => {
8899
8919
  display: flex;
8900
8920
  align-items: center;
8901
8921
  }
8902
- `, hl = ({ items: e }) => /* @__PURE__ */ H(ml, {
8922
+ `, ml = ({ items: e }) => /* @__PURE__ */ H(pl, {
8903
8923
  separator: /* @__PURE__ */ H(Q, {
8904
8924
  type: "icon-down2",
8905
8925
  rotate: -90
8906
8926
  }),
8907
8927
  items: e
8908
- }), gl = {
8928
+ }), hl = {
8909
8929
  containerWrapper: "page-box-module__containerWrapper___5T5E8",
8910
8930
  contentWrapper: "page-box-module__contentWrapper___MuoA-",
8911
8931
  title: "page-box-module__title___kmaTE",
8912
8932
  left: "page-box-module__left___Q-SL3",
8913
8933
  right: "page-box-module__right___7RXnF"
8914
- }, _l = ({ children: e, styles: t, title: n, leftContent: r, rightContent: i, paddingInlinePageContainerContent: a = 24, extraContentRender: o, ...s }) => {
8934
+ }, gl = ({ children: e, styles: t, title: n, leftContent: r, rightContent: i, paddingInlinePageContainerContent: a = 24, extraContentRender: o, ...s }) => {
8915
8935
  let { initialize: c } = d({ defer: !1 }), l = P(cn), u = z(null);
8916
8936
  return F(() => {
8917
8937
  if (u.current) {
@@ -8919,7 +8939,7 @@ var Ic = (e) => {
8919
8939
  window.__GPUSTACK_BODY_SCROLLER__ = e;
8920
8940
  }
8921
8941
  }, [c, u]), /* @__PURE__ */ H("div", {
8922
- className: gl.containerWrapper,
8942
+ className: hl.containerWrapper,
8923
8943
  children: /* @__PURE__ */ U(sn, {
8924
8944
  ...s,
8925
8945
  fixedHeader: !1,
@@ -8928,43 +8948,43 @@ var Ic = (e) => {
8928
8948
  style: { flex: 1 },
8929
8949
  token: { paddingInlinePageContainerContent: a },
8930
8950
  children: [/* @__PURE__ */ U("div", {
8931
- className: gl.title,
8951
+ className: hl.title,
8932
8952
  children: [/* @__PURE__ */ H("div", {
8933
- className: gl.left,
8953
+ className: hl.left,
8934
8954
  children: r || l.title
8935
8955
  }), /* @__PURE__ */ U("div", {
8936
- className: gl.right,
8956
+ className: hl.right,
8937
8957
  children: [i && /* @__PURE__ */ U("div", { children: [i, /* @__PURE__ */ H(lt, {
8938
8958
  orientation: "vertical",
8939
8959
  style: { margin: "0 16px" }
8940
8960
  })] }), o && o()]
8941
8961
  })]
8942
8962
  }), /* @__PURE__ */ H("div", {
8943
- className: (0, X.default)(gl.contentWrapper),
8963
+ className: (0, X.default)(hl.contentWrapper),
8944
8964
  style: t?.containerWrapper,
8945
8965
  ref: u,
8946
8966
  children: e
8947
8967
  })]
8948
8968
  })
8949
8969
  });
8950
- }, vl = ({ children: e, style: t }) => /* @__PURE__ */ H("div", {
8970
+ }, _l = ({ children: e, style: t }) => /* @__PURE__ */ H("div", {
8951
8971
  style: t,
8952
8972
  children: e
8953
- }), yl = {
8973
+ }), vl = {
8954
8974
  wrapper: "filters-button-module__wrapper___wgAvR",
8955
8975
  count: "filters-button-module__count___9Uazh",
8956
8976
  buttonWrapper: "filters-button-module__buttonWrapper___s0HOa",
8957
8977
  "close-btn": "filters-button-module__close-btn___COdze"
8958
- }, bl = {
8978
+ }, yl = {
8959
8979
  "page-tools": "index-module__page-tools___qC1VM",
8960
8980
  left: "index-module__left___RQSzE",
8961
8981
  right: "index-module__right___xVhib"
8962
- }, xl = ({ onClick: e, onClear: t, count: n }) => {
8982
+ }, bl = ({ onClick: e, onClear: t, count: n }) => {
8963
8983
  let r = (e) => {
8964
8984
  e.stopPropagation(), t();
8965
8985
  }, i = o();
8966
8986
  return /* @__PURE__ */ H("div", {
8967
- className: yl.buttonWrapper,
8987
+ className: vl.buttonWrapper,
8968
8988
  children: /* @__PURE__ */ H(G, {
8969
8989
  onClick: e,
8970
8990
  style: { color: "var(--ant-color-text-tertiary)" },
@@ -8973,15 +8993,15 @@ var Ic = (e) => {
8973
8993
  style: { fontSize: 14 }
8974
8994
  }),
8975
8995
  children: /* @__PURE__ */ U("span", {
8976
- className: yl.wrapper,
8996
+ className: vl.wrapper,
8977
8997
  children: [
8978
8998
  /* @__PURE__ */ H("span", { children: i.formatMessage({ id: "common.filter.label" }) }),
8979
8999
  !!n && /* @__PURE__ */ H("span", {
8980
- className: yl.count,
9000
+ className: vl.count,
8981
9001
  children: n
8982
9002
  }),
8983
9003
  !!n && /* @__PURE__ */ H("span", {
8984
- className: yl["close-btn"],
9004
+ className: vl["close-btn"],
8985
9005
  onClick: r,
8986
9006
  children: /* @__PURE__ */ H(oe, {})
8987
9007
  })
@@ -8989,7 +9009,7 @@ var Ic = (e) => {
8989
9009
  })
8990
9010
  })
8991
9011
  });
8992
- }, Sl = (e) => {
9012
+ }, xl = (e) => {
8993
9013
  let { left: t, right: n, marginBottom: r = 0, marginTop: i = 30, style: a } = e, o = R(() => {
8994
9014
  let e = {};
8995
9015
  return e.marginBottom = `${r}px`, e.marginTop = `${i}px`, a && Object.assign(e, a), e;
@@ -8999,23 +9019,23 @@ var Ic = (e) => {
8999
9019
  a
9000
9020
  ]);
9001
9021
  return /* @__PURE__ */ U("div", {
9002
- className: bl["page-tools"],
9022
+ className: yl["page-tools"],
9003
9023
  style: o,
9004
9024
  children: [/* @__PURE__ */ H("div", {
9005
- className: bl.left,
9025
+ className: yl.left,
9006
9026
  children: t
9007
9027
  }), /* @__PURE__ */ H("div", {
9008
- className: bl.right,
9028
+ className: yl.right,
9009
9029
  children: n
9010
9030
  })]
9011
9031
  });
9012
- }, Cl = (e) => {
9032
+ }, Sl = (e) => {
9013
9033
  let { handleInputChange: t, handleSelectChange: n, handleSearch: r, handleDeleteByBatch: i = null, handleClickPrimary: a = null, rowSelection: s, actionItems: c = [], selectOptions: l, showSelect: u, buttonText: d, buttonIcon: f, actionType: p = "button", marginBottom: m = 10, marginTop: h = 10, inputHolder: g, selectHolder: _, select: v, right: y, left: b, widths: x, filtersButtonProps: S } = e, C = o();
9014
- return /* @__PURE__ */ H(Sl, {
9034
+ return /* @__PURE__ */ H(xl, {
9015
9035
  marginBottom: m,
9016
9036
  marginTop: 0,
9017
9037
  left: b || /* @__PURE__ */ U(Et, { children: [
9018
- S?.show && /* @__PURE__ */ H(xl, {
9038
+ S?.show && /* @__PURE__ */ H(bl, {
9019
9039
  onClear: S.onClear,
9020
9040
  onClick: S.onClick,
9021
9041
  count: S.count
@@ -9027,7 +9047,7 @@ var Ic = (e) => {
9027
9047
  allowClear: !0,
9028
9048
  onChange: t
9029
9049
  }),
9030
- u && /* @__PURE__ */ H(So, {
9050
+ u && /* @__PURE__ */ H(xo, {
9031
9051
  allowClear: !0,
9032
9052
  showSearch: v?.showSearch,
9033
9053
  placeholder: _,
@@ -9045,7 +9065,7 @@ var Ic = (e) => {
9045
9065
  ] }),
9046
9066
  right: y || (!a && !i ? null : /* @__PURE__ */ U(Et, {
9047
9067
  size: 16,
9048
- children: [a ? p === "dropdown" ? /* @__PURE__ */ H(Wa, {
9068
+ children: [a ? p === "dropdown" ? /* @__PURE__ */ H(Ua, {
9049
9069
  styles: { root: { minWidth: "140px" } },
9050
9070
  menu: {
9051
9071
  items: c,
@@ -9075,7 +9095,7 @@ var Ic = (e) => {
9075
9095
  })]
9076
9096
  }))
9077
9097
  });
9078
- }, wl = { seal_custom_popover: "index-module__seal_custom_popover___IA6li" }, Tl = (e) => {
9098
+ }, Cl = { seal_custom_popover: "index-module__seal_custom_popover___IA6li" }, wl = (e) => {
9079
9099
  let { className: t, children: n, style: r, ...i } = e;
9080
9100
  return /* @__PURE__ */ H("div", {
9081
9101
  className: "popover-wrapper",
@@ -9083,16 +9103,16 @@ var Ic = (e) => {
9083
9103
  ...i,
9084
9104
  style: { ...r },
9085
9105
  "data-maxHeight": "300px",
9086
- classNames: { root: (0, X.default)(t, wl.seal_custom_popover) },
9106
+ classNames: { root: (0, X.default)(t, Cl.seal_custom_popover) },
9087
9107
  children: n
9088
9108
  })
9089
9109
  });
9090
- }, El = M((e) => {
9091
- let { defaultOpen: t, percent: n, download: r, label: i, successPercent: a } = e, [o, s] = E.useState(!1), c = R(() => r ? "var(--ant-color-primary)" : n <= 50 ? "var(--ant-color-success)" : n <= 80 ? "var(--ant-color-warning)" : "var(--ant-color-error)", [n]);
9110
+ }, Tl = M((e) => {
9111
+ let { defaultOpen: t, percent: n, download: r, label: i, successPercent: a, tooltipStyles: o } = e, [s, c] = E.useState(!1), l = R(() => r ? "var(--ant-color-primary)" : n <= 50 ? "var(--ant-color-success)" : n <= 80 ? "var(--ant-color-warning)" : "var(--ant-color-error)", [n]);
9092
9112
  F(() => {
9093
- s(t || !1);
9113
+ c(t || !1);
9094
9114
  }, [t]);
9095
- let l = R(() => /* @__PURE__ */ H(bt, {
9115
+ let u = R(() => /* @__PURE__ */ H(bt, {
9096
9116
  percentPosition: {
9097
9117
  align: "center",
9098
9118
  type: "inner"
@@ -9110,20 +9130,20 @@ var Ic = (e) => {
9110
9130
  percent: a,
9111
9131
  strokeColor: "var(--ant-geekblue-3)"
9112
9132
  },
9113
- strokeColor: c
9133
+ strokeColor: l
9114
9134
  }), [
9115
9135
  n,
9116
9136
  a,
9117
- c
9137
+ l
9118
9138
  ]);
9119
9139
  return /* @__PURE__ */ H(V, { children: i ? /* @__PURE__ */ H(J, {
9120
9140
  title: i,
9121
- open: o,
9122
- onOpenChange: s,
9123
- styles: { body: { paddingInline: 12 } },
9124
- children: l
9125
- }) : l });
9126
- }), Dl = (e) => {
9141
+ open: s,
9142
+ onOpenChange: c,
9143
+ styles: { ...o },
9144
+ children: u
9145
+ }) : u });
9146
+ }), El = (e) => {
9127
9147
  let { options: t, value: n, onChange: r, gap: i = 12 } = e;
9128
9148
  return /* @__PURE__ */ H(Et, {
9129
9149
  className: "radio-button-wrap",
@@ -9134,7 +9154,7 @@ var Ic = (e) => {
9134
9154
  children: e.label
9135
9155
  }, e.value))
9136
9156
  });
9137
- }, Ol = ({ defaultSpan: e = 8, dataList: t, renderItem: n, resizable: r = !0 }) => {
9157
+ }, Dl = ({ defaultSpan: e = 8, dataList: t, renderItem: n, resizable: r = !0 }) => {
9138
9158
  let { span: i, handleResize: a } = sa({ defaultSpan: e });
9139
9159
  return /* @__PURE__ */ H(di, {
9140
9160
  onResize: a,
@@ -9150,7 +9170,7 @@ var Ic = (e) => {
9150
9170
  };
9151
9171
  //#endregion
9152
9172
  //#region src/lib/components/scroll-spy-tabs/use-field-scroll.ts
9153
- function kl({ activeKey: e, setActiveKey: t, segmentOptions: n, defaultWait: r = 300, segmentedTop: i = {
9173
+ function Ol({ activeKey: e, setActiveKey: t, segmentOptions: n, defaultWait: r = 300, segmentedTop: i = {
9154
9174
  top: 0,
9155
9175
  offsetTop: 96
9156
9176
  }, getScrollElementScrollableHeight: a }) {
@@ -9188,15 +9208,15 @@ function kl({ activeKey: e, setActiveKey: t, segmentOptions: n, defaultWait: r =
9188
9208
  }
9189
9209
  //#endregion
9190
9210
  //#region src/lib/components/scroll-spy-tabs/index.tsx
9191
- var Al = Y.div`
9211
+ var kl = Y.div`
9192
9212
  position: sticky;
9193
9213
  top: ${(e) => e.$top || 0}px;
9194
9214
  z-index: 10;
9195
9215
  margin-bottom: 16px;
9196
9216
  border-bottom: 1px solid var(--ant-color-split);
9197
9217
  background-color: var(--ant-color-bg-elevated);
9198
- `, jl = A(({ getScrollElementScrollableHeight: e, segmentedTop: t, segmentOptions: n, defaultTarget: r, activeKey: i, setActiveKey: a, children: o }, s) => {
9199
- let [c, l] = E.useState(r || n[0]?.value || ""), { scrollToSegment: u, holderHeight: d } = kl({
9218
+ `, Al = A(({ getScrollElementScrollableHeight: e, segmentedTop: t, segmentOptions: n, defaultTarget: r, activeKey: i, setActiveKey: a, children: o }, s) => {
9219
+ let [c, l] = E.useState(r || n[0]?.value || ""), { scrollToSegment: u, holderHeight: d } = Ol({
9200
9220
  activeKey: i,
9201
9221
  setActiveKey: a,
9202
9222
  segmentOptions: n,
@@ -9208,7 +9228,7 @@ var Al = Y.div`
9208
9228
  f(e);
9209
9229
  };
9210
9230
  return I(s, () => ({ handleTargetChange: p })), /* @__PURE__ */ U("div", { children: [
9211
- n.length > 0 && /* @__PURE__ */ H(Al, {
9231
+ n.length > 0 && /* @__PURE__ */ H(kl, {
9212
9232
  $top: t.top,
9213
9233
  children: /* @__PURE__ */ H(Ma, {
9214
9234
  theme: "light",
@@ -9224,7 +9244,7 @@ var Al = Y.div`
9224
9244
  style: { height: d }
9225
9245
  })
9226
9246
  ] });
9227
- }), Ml = (e) => {
9247
+ }), jl = (e) => {
9228
9248
  let { requiredFields: t, onTargetChange: n, updateActiveKey: r } = e;
9229
9249
  return { handleOnFinishFailed: (e) => {
9230
9250
  let { errorFields: i } = e;
@@ -9238,7 +9258,7 @@ var Al = Y.div`
9238
9258
  }), e.length > 0 && (r(e.sort((e, t) => e.sort - t.sort).map((e) => e.key)), n(e[0].key));
9239
9259
  }
9240
9260
  } };
9241
- }, Nl = (e) => {
9261
+ }, Ml = (e) => {
9242
9262
  let [t, n] = B(e.initalActiveKeys), [r, i] = B(e.initialCollapseKeys || e.initalActiveKeys);
9243
9263
  return {
9244
9264
  activeKey: t,
@@ -9255,14 +9275,14 @@ var Al = Y.div`
9255
9275
  n((t) => [...new Set([...t, ...e])]), i((t) => [...new Set([...t, ...e])]);
9256
9276
  }
9257
9277
  };
9258
- }, Pl = O({ scrollToBottom: () => {} }), Fl = Y.div`
9278
+ }, Nl = O({ scrollToBottom: () => {} }), Pl = Y.div`
9259
9279
  display: flex;
9260
9280
  align-items: center;
9261
9281
  max-width: 360px;
9262
9282
  text-overflow: ellipsis;
9263
9283
  overflow: hidden;
9264
9284
  white-space: nowrap;
9265
- `, Il = (e) => {
9285
+ `, Fl = (e) => {
9266
9286
  let t = E.useRef(null), { saveScrollHeight: n, restoreScrollHeight: r } = ji(), { initialize: i, destroyInstance: a, scrollToBottom: o } = d();
9267
9287
  return E.useEffect(() => {
9268
9288
  e.open ? n() : r();
@@ -9274,7 +9294,7 @@ var Al = Y.div`
9274
9294
  n && clearTimeout(n), a();
9275
9295
  };
9276
9296
  }, [e.open, i]), /* @__PURE__ */ H(_t, {
9277
- title: /* @__PURE__ */ H(Fl, { children: e.title }),
9297
+ title: /* @__PURE__ */ H(Pl, { children: e.title }),
9278
9298
  destroyOnHidden: !0,
9279
9299
  styles: {
9280
9300
  container: { padding: 0 },
@@ -9293,7 +9313,7 @@ var Al = Y.div`
9293
9313
  } : {}
9294
9314
  },
9295
9315
  ...e,
9296
- children: /* @__PURE__ */ H(Pl.Provider, {
9316
+ children: /* @__PURE__ */ H(Nl.Provider, {
9297
9317
  value: { scrollToBottom: o },
9298
9318
  children: /* @__PURE__ */ H("div", {
9299
9319
  ref: t,
@@ -9311,11 +9331,11 @@ var Al = Y.div`
9311
9331
  })
9312
9332
  })
9313
9333
  });
9314
- }, Ll = Y.ul`
9334
+ }, Il = Y.ul`
9315
9335
  list-style: none;
9316
9336
  margin: 0;
9317
9337
  padding: 0;
9318
- `, Rl = Y.li`
9338
+ `, Ll = Y.li`
9319
9339
  display: flex;
9320
9340
  align-items: center;
9321
9341
  padding: 5px 12px;
@@ -9325,7 +9345,7 @@ var Al = Y.div`
9325
9345
  &:hover {
9326
9346
  background-color: var(--ant-control-item-bg-hover);
9327
9347
  }
9328
- `, zl = ({ maxHeight: e, dataList: t, value: n = [], onChange: r, renderTitle: i }) => {
9348
+ `, Rl = ({ maxHeight: e, dataList: t, value: n = [], onChange: r, renderTitle: i }) => {
9329
9349
  let a = (e) => {
9330
9350
  let t = e.key;
9331
9351
  r(n.includes(t) ? n.filter((e) => e !== t) : [...n, t]);
@@ -9333,7 +9353,7 @@ var Al = Y.div`
9333
9353
  return /* @__PURE__ */ H(l, {
9334
9354
  style: { paddingInline: 0 },
9335
9355
  maxHeight: e,
9336
- children: /* @__PURE__ */ H(Ll, { children: t.map((e) => /* @__PURE__ */ U(Rl, {
9356
+ children: /* @__PURE__ */ H(Il, { children: t.map((e) => /* @__PURE__ */ U(Ll, {
9337
9357
  selected: n.includes(e.key),
9338
9358
  onClick: () => a(e),
9339
9359
  children: [/* @__PURE__ */ H(K, { checked: n.includes(e.key) }), i ? i(e) : /* @__PURE__ */ H(f, {
@@ -9342,14 +9362,14 @@ var Al = Y.div`
9342
9362
  })]
9343
9363
  }, e.key)) })
9344
9364
  });
9345
- }, Bl = Y.div`
9365
+ }, zl = Y.div`
9346
9366
  border: 1px solid var(--ant-color-border);
9347
9367
  border-radius: var(--ant-border-radius);
9348
9368
  overflow-y: auto;
9349
9369
  max-height: ${({ $maxHeight: e }) => e ? `${e + 2}px` : "auto"};
9350
- `, Vl = Y.div`
9370
+ `, Bl = Y.div`
9351
9371
  padding: 0;
9352
- `, Hl = Y.div`
9372
+ `, Vl = Y.div`
9353
9373
  padding: 8px 12px 8px;
9354
9374
  display: flex;
9355
9375
  gap: 8px;
@@ -9357,7 +9377,7 @@ var Al = Y.div`
9357
9377
  justify-content: space-between;
9358
9378
  border-bottom: 1px solid var(--ant-color-split);
9359
9379
  background-color: var(--ant-color-fill-alter);
9360
- `, Ul = ({ height: e = 300, leftWidth: t = 260, options: n, value: r = [], searchPlaceholder: i, notFoundContent: a, onChange: s, styles: c }) => {
9380
+ `, Hl = ({ height: e = 300, leftWidth: t = 260, options: n, value: r = [], searchPlaceholder: i, notFoundContent: a, onChange: s, styles: c }) => {
9361
9381
  let l = o(), [u, d] = E.useState(!1), [f, p] = E.useState(!1), [m, h] = B(""), g = R(() => n.filter((e) => e.title.toLowerCase().includes(m.toLowerCase())), [n, m]), _ = (e) => {
9362
9382
  h(e.target.value);
9363
9383
  }, v = (e) => {
@@ -9379,11 +9399,11 @@ var Al = Y.div`
9379
9399
  };
9380
9400
  return F(() => {
9381
9401
  y(r);
9382
- }, [r, n]), /* @__PURE__ */ H(Bl, {
9402
+ }, [r, n]), /* @__PURE__ */ H(zl, {
9383
9403
  $maxHeight: e,
9384
9404
  $leftWidth: t,
9385
9405
  style: c?.container,
9386
- children: /* @__PURE__ */ U(Vl, { children: [/* @__PURE__ */ U(Hl, {
9406
+ children: /* @__PURE__ */ U(Bl, { children: [/* @__PURE__ */ U(Vl, {
9387
9407
  style: c?.header,
9388
9408
  children: [/* @__PURE__ */ U("span", {
9389
9409
  style: {
@@ -9411,7 +9431,7 @@ var Al = Y.div`
9411
9431
  },
9412
9432
  onChange: _
9413
9433
  })]
9414
- }), g.length > 0 ? /* @__PURE__ */ H(zl, {
9434
+ }), g.length > 0 ? /* @__PURE__ */ H(Rl, {
9415
9435
  maxHeight: e - 50,
9416
9436
  dataList: g,
9417
9437
  value: r,
@@ -9423,54 +9443,54 @@ var Al = Y.div`
9423
9443
  description: a
9424
9444
  })] })
9425
9445
  });
9426
- }, Wl = [
9446
+ }, Ul = [
9427
9447
  {
9428
9448
  scope: "playground",
9429
9449
  command: "shortcuts.playground.newmessage",
9430
- keybinding: Ms.CREATE.iconKeybinding
9450
+ keybinding: js.CREATE.iconKeybinding
9431
9451
  },
9432
9452
  {
9433
9453
  scope: "playground",
9434
9454
  command: "shortcuts.playground.clearmessage",
9435
- keybinding: Ms.CLEAR.iconKeybinding
9455
+ keybinding: js.CLEAR.iconKeybinding
9436
9456
  },
9437
9457
  {
9438
9458
  scope: "playground",
9439
9459
  command: "shortcuts.playground.toggleparams",
9440
- keybinding: Ms.RIGHT.iconKeybinding
9460
+ keybinding: js.RIGHT.iconKeybinding
9441
9461
  },
9442
9462
  {
9443
9463
  scope: "models",
9444
9464
  command: "shortcuts.models.newmodelHF",
9445
- keybinding: Ms.NEW1.iconKeybinding
9465
+ keybinding: js.NEW1.iconKeybinding
9446
9466
  },
9447
9467
  {
9448
9468
  scope: "models",
9449
9469
  command: "shortcuts.models.newmodelLM",
9450
- keybinding: Ms.NEW2.iconKeybinding
9470
+ keybinding: js.NEW2.iconKeybinding
9451
9471
  },
9452
9472
  {
9453
9473
  scope: "models",
9454
9474
  command: "shortcuts.models.search",
9455
- keybinding: Ms.SEARCH.iconKeybinding
9475
+ keybinding: js.SEARCH.iconKeybinding
9456
9476
  },
9457
9477
  {
9458
9478
  scope: "resources",
9459
9479
  command: "shortcuts.resources.addworker",
9460
- keybinding: Ms.CREATE.iconKeybinding
9480
+ keybinding: js.CREATE.iconKeybinding
9461
9481
  },
9462
9482
  {
9463
9483
  scope: "API keys",
9464
9484
  command: "shortcuts.apikeys.new",
9465
- keybinding: Ms.CREATE.iconKeybinding
9485
+ keybinding: js.CREATE.iconKeybinding
9466
9486
  },
9467
9487
  {
9468
9488
  scope: "users",
9469
9489
  command: "shortcuts.users.new",
9470
- keybinding: Ms.CREATE.iconKeybinding
9490
+ keybinding: js.CREATE.iconKeybinding
9471
9491
  }
9472
- ], Gl = ({ intl: e }) => {
9473
- let [t, n] = E.useState(Wl), r = [
9492
+ ], Wl = ({ intl: e }) => {
9493
+ let [t, n] = E.useState(Ul), r = [
9474
9494
  {
9475
9495
  title: "Scope",
9476
9496
  dataIndex: "scope",
@@ -9492,7 +9512,7 @@ var Al = Y.div`
9492
9512
  }
9493
9513
  ], i = Z.default.debounce((e) => {
9494
9514
  let t = e.target.value;
9495
- n(Z.default.filter(Wl, (e) => e.command.toLowerCase().includes(t.toLowerCase()) || e.scope.toLowerCase().includes(t.toLowerCase())));
9515
+ n(Z.default.filter(Ul, (e) => e.command.toLowerCase().includes(t.toLowerCase()) || e.scope.toLowerCase().includes(t.toLowerCase())));
9496
9516
  }, 300);
9497
9517
  return /* @__PURE__ */ U("div", {
9498
9518
  className: "short-cuts",
@@ -9525,83 +9545,83 @@ var Al = Y.div`
9525
9545
  });
9526
9546
  };
9527
9547
  //#endregion
9528
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
9529
- function Kl(e) {
9548
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
9549
+ function Gl(e) {
9530
9550
  var t = typeof e;
9531
9551
  return e != null && (t == "object" || t == "function");
9532
9552
  }
9533
9553
  //#endregion
9534
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
9535
- var ql = typeof global == "object" && global && global.Object === Object && global, Jl = typeof self == "object" && self && self.Object === Object && self, Yl = ql || Jl || Function("return this")(), Xl = function() {
9536
- return Yl.Date.now();
9537
- }, Zl = /\s/;
9538
- function Ql(e) {
9539
- for (var t = e.length; t-- && Zl.test(e.charAt(t)););
9554
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
9555
+ var Kl = typeof global == "object" && global && global.Object === Object && global, ql = typeof self == "object" && self && self.Object === Object && self, Jl = Kl || ql || Function("return this")(), Yl = function() {
9556
+ return Jl.Date.now();
9557
+ }, Xl = /\s/;
9558
+ function Zl(e) {
9559
+ for (var t = e.length; t-- && Xl.test(e.charAt(t)););
9540
9560
  return t;
9541
9561
  }
9542
9562
  //#endregion
9543
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js
9544
- var $l = /^\s+/;
9545
- function eu(e) {
9546
- return e && e.slice(0, Ql(e) + 1).replace($l, "");
9563
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js
9564
+ var Ql = /^\s+/;
9565
+ function $l(e) {
9566
+ return e && e.slice(0, Zl(e) + 1).replace(Ql, "");
9547
9567
  }
9548
9568
  //#endregion
9549
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
9550
- var tu = Yl.Symbol, nu = Object.prototype, ru = nu.hasOwnProperty, iu = nu.toString, au = tu ? tu.toStringTag : void 0;
9551
- function ou(e) {
9552
- var t = ru.call(e, au), n = e[au];
9569
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
9570
+ var eu = Jl.Symbol, tu = Object.prototype, nu = tu.hasOwnProperty, ru = tu.toString, iu = eu ? eu.toStringTag : void 0;
9571
+ function au(e) {
9572
+ var t = nu.call(e, iu), n = e[iu];
9553
9573
  try {
9554
- e[au] = void 0;
9574
+ e[iu] = void 0;
9555
9575
  var r = !0;
9556
9576
  } catch {}
9557
- var i = iu.call(e);
9558
- return r && (t ? e[au] = n : delete e[au]), i;
9577
+ var i = ru.call(e);
9578
+ return r && (t ? e[iu] = n : delete e[iu]), i;
9559
9579
  }
9560
9580
  //#endregion
9561
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
9562
- var su = Object.prototype.toString;
9563
- function cu(e) {
9564
- return su.call(e);
9581
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
9582
+ var ou = Object.prototype.toString;
9583
+ function su(e) {
9584
+ return ou.call(e);
9565
9585
  }
9566
9586
  //#endregion
9567
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
9568
- var lu = "[object Null]", uu = "[object Undefined]", du = tu ? tu.toStringTag : void 0;
9569
- function fu(e) {
9570
- return e == null ? e === void 0 ? uu : lu : du && du in Object(e) ? ou(e) : cu(e);
9587
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
9588
+ var cu = "[object Null]", lu = "[object Undefined]", uu = eu ? eu.toStringTag : void 0;
9589
+ function du(e) {
9590
+ return e == null ? e === void 0 ? lu : cu : uu && uu in Object(e) ? au(e) : su(e);
9571
9591
  }
9572
9592
  //#endregion
9573
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
9574
- function pu(e) {
9593
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
9594
+ function fu(e) {
9575
9595
  return typeof e == "object" && !!e;
9576
9596
  }
9577
9597
  //#endregion
9578
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
9579
- var mu = "[object Symbol]";
9580
- function hu(e) {
9581
- return typeof e == "symbol" || pu(e) && fu(e) == mu;
9598
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
9599
+ var pu = "[object Symbol]";
9600
+ function mu(e) {
9601
+ return typeof e == "symbol" || fu(e) && du(e) == pu;
9582
9602
  }
9583
9603
  //#endregion
9584
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
9585
- var gu = NaN, _u = /^[-+]0x[0-9a-f]+$/i, vu = /^0b[01]+$/i, yu = /^0o[0-7]+$/i, bu = parseInt;
9586
- function xu(e) {
9604
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
9605
+ var hu = NaN, gu = /^[-+]0x[0-9a-f]+$/i, _u = /^0b[01]+$/i, vu = /^0o[0-7]+$/i, yu = parseInt;
9606
+ function bu(e) {
9587
9607
  if (typeof e == "number") return e;
9588
- if (hu(e)) return gu;
9589
- if (Kl(e)) {
9608
+ if (mu(e)) return hu;
9609
+ if (Gl(e)) {
9590
9610
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
9591
- e = Kl(t) ? t + "" : t;
9611
+ e = Gl(t) ? t + "" : t;
9592
9612
  }
9593
9613
  if (typeof e != "string") return e === 0 ? e : +e;
9594
- e = eu(e);
9595
- var n = vu.test(e);
9596
- return n || yu.test(e) ? bu(e.slice(2), n ? 2 : 8) : _u.test(e) ? gu : +e;
9614
+ e = $l(e);
9615
+ var n = _u.test(e);
9616
+ return n || vu.test(e) ? yu(e.slice(2), n ? 2 : 8) : gu.test(e) ? hu : +e;
9597
9617
  }
9598
9618
  //#endregion
9599
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js
9600
- var Su = "Expected a function", Cu = Math.max, wu = Math.min;
9601
- function Tu(e, t, n) {
9619
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js
9620
+ var xu = "Expected a function", Su = Math.max, Cu = Math.min;
9621
+ function wu(e, t, n) {
9602
9622
  var r, i, a, o, s, c, l = 0, u = !1, d = !1, f = !0;
9603
- if (typeof e != "function") throw TypeError(Su);
9604
- t = xu(t) || 0, Kl(n) && (u = !!n.leading, d = "maxWait" in n, a = d ? Cu(xu(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f);
9623
+ if (typeof e != "function") throw TypeError(xu);
9624
+ t = bu(t) || 0, Gl(n) && (u = !!n.leading, d = "maxWait" in n, a = d ? Su(bu(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f);
9605
9625
  function p(t) {
9606
9626
  var n = r, a = i;
9607
9627
  return r = i = void 0, l = t, o = e.apply(a, n), o;
@@ -9611,14 +9631,14 @@ function Tu(e, t, n) {
9611
9631
  }
9612
9632
  function h(e) {
9613
9633
  var n = e - c, r = e - l, i = t - n;
9614
- return d ? wu(i, a - r) : i;
9634
+ return d ? Cu(i, a - r) : i;
9615
9635
  }
9616
9636
  function g(e) {
9617
9637
  var n = e - c, r = e - l;
9618
9638
  return c === void 0 || n >= t || n < 0 || d && r >= a;
9619
9639
  }
9620
9640
  function _() {
9621
- var e = Xl();
9641
+ var e = Yl();
9622
9642
  if (g(e)) return v(e);
9623
9643
  s = setTimeout(_, h(e));
9624
9644
  }
@@ -9629,10 +9649,10 @@ function Tu(e, t, n) {
9629
9649
  s !== void 0 && clearTimeout(s), l = 0, r = c = i = s = void 0;
9630
9650
  }
9631
9651
  function b() {
9632
- return s === void 0 ? o : v(Xl());
9652
+ return s === void 0 ? o : v(Yl());
9633
9653
  }
9634
9654
  function x() {
9635
- var e = Xl(), n = g(e);
9655
+ var e = Yl(), n = g(e);
9636
9656
  if (r = arguments, i = this, c = e, n) {
9637
9657
  if (s === void 0) return m(c);
9638
9658
  if (d) return clearTimeout(s), s = setTimeout(_, t), p(c);
@@ -9642,32 +9662,32 @@ function Tu(e, t, n) {
9642
9662
  return x.cancel = y, x.flush = b, x;
9643
9663
  }
9644
9664
  //#endregion
9645
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/throttle.js
9646
- var Eu = "Expected a function";
9647
- function Du(e, t, n) {
9665
+ //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/throttle.js
9666
+ var Tu = "Expected a function";
9667
+ function Eu(e, t, n) {
9648
9668
  var r = !0, i = !0;
9649
- if (typeof e != "function") throw TypeError(Eu);
9650
- return Kl(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Tu(e, t, {
9669
+ if (typeof e != "function") throw TypeError(Tu);
9670
+ return Gl(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), wu(e, t, {
9651
9671
  leading: r,
9652
9672
  maxWait: t,
9653
9673
  trailing: i
9654
9674
  });
9655
9675
  }
9656
9676
  //#endregion
9657
- //#region ../../node_modules/.pnpm/simplebar-core@1.3.2/node_modules/simplebar-core/dist/index.mjs
9658
- var Ou = function() {
9659
- return Ou = Object.assign || function(e) {
9677
+ //#region node_modules/.pnpm/simplebar-core@1.3.2/node_modules/simplebar-core/dist/index.mjs
9678
+ var Du = function() {
9679
+ return Du = Object.assign || function(e) {
9660
9680
  for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
9661
9681
  return e;
9662
- }, Ou.apply(this, arguments);
9682
+ }, Du.apply(this, arguments);
9663
9683
  };
9664
- function ku(e) {
9684
+ function Ou(e) {
9665
9685
  return !e || !e.ownerDocument || !e.ownerDocument.defaultView ? window : e.ownerDocument.defaultView;
9666
9686
  }
9667
- function Au(e) {
9687
+ function ku(e) {
9668
9688
  return !e || !e.ownerDocument ? document : e.ownerDocument;
9669
9689
  }
9670
- var ju = function(e) {
9690
+ var Au = function(e) {
9671
9691
  return Array.prototype.reduce.call(e, function(e, t) {
9672
9692
  var n = t.name.match(/data-simplebar-(.+)/);
9673
9693
  if (n) {
@@ -9690,58 +9710,58 @@ var ju = function(e) {
9690
9710
  return e;
9691
9711
  }, {});
9692
9712
  };
9693
- function Mu(e, t) {
9713
+ function ju(e, t) {
9694
9714
  var n;
9695
9715
  e && (n = e.classList).add.apply(n, t.split(" "));
9696
9716
  }
9697
- function Nu(e, t) {
9717
+ function Mu(e, t) {
9698
9718
  e && t.split(" ").forEach(function(t) {
9699
9719
  e.classList.remove(t);
9700
9720
  });
9701
9721
  }
9702
- function Pu(e) {
9722
+ function Nu(e) {
9703
9723
  return `.${e.split(" ").join(".")}`;
9704
9724
  }
9705
- var Fu = !!(typeof window < "u" && window.document && window.document.createElement), Iu = /* @__PURE__ */ Object.freeze({
9725
+ var Pu = !!(typeof window < "u" && window.document && window.document.createElement), Fu = /* @__PURE__ */ Object.freeze({
9706
9726
  __proto__: null,
9707
- addClasses: Mu,
9708
- canUseDOM: Fu,
9709
- classNamesToQuery: Pu,
9710
- getElementDocument: Au,
9711
- getElementWindow: ku,
9712
- getOptions: ju,
9713
- removeClasses: Nu
9714
- }), Lu = null, Ru = null;
9715
- Fu && window.addEventListener("resize", function() {
9716
- Ru !== window.devicePixelRatio && (Ru = window.devicePixelRatio, Lu = null);
9727
+ addClasses: ju,
9728
+ canUseDOM: Pu,
9729
+ classNamesToQuery: Nu,
9730
+ getElementDocument: ku,
9731
+ getElementWindow: Ou,
9732
+ getOptions: Au,
9733
+ removeClasses: Mu
9734
+ }), Iu = null, Lu = null;
9735
+ Pu && window.addEventListener("resize", function() {
9736
+ Lu !== window.devicePixelRatio && (Lu = window.devicePixelRatio, Iu = null);
9717
9737
  });
9718
- function zu() {
9719
- if (Lu === null) {
9720
- if (typeof document > "u") return Lu = 0, Lu;
9738
+ function Ru() {
9739
+ if (Iu === null) {
9740
+ if (typeof document > "u") return Iu = 0, Iu;
9721
9741
  var e = document.body, t = document.createElement("div");
9722
9742
  t.classList.add("simplebar-hide-scrollbar"), e.appendChild(t);
9723
9743
  var n = t.getBoundingClientRect().right;
9724
- e.removeChild(t), Lu = n;
9744
+ e.removeChild(t), Iu = n;
9725
9745
  }
9726
- return Lu;
9746
+ return Iu;
9727
9747
  }
9728
- var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9748
+ var zu = Ou, Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = function() {
9729
9749
  function e(t, n) {
9730
9750
  n === void 0 && (n = {});
9731
9751
  var r = this;
9732
9752
  if (this.removePreventClickId = null, this.minScrollbarWidth = 20, this.stopScrollDelay = 175, this.isScrolling = !1, this.isMouseEntering = !1, this.isDragging = !1, this.scrollXTicking = !1, this.scrollYTicking = !1, this.wrapperEl = null, this.contentWrapperEl = null, this.contentEl = null, this.offsetEl = null, this.maskEl = null, this.placeholderEl = null, this.heightAutoObserverWrapperEl = null, this.heightAutoObserverEl = null, this.rtlHelpers = null, this.scrollbarWidth = 0, this.resizeObserver = null, this.mutationObserver = null, this.elStyles = null, this.isRtl = null, this.mouseX = 0, this.mouseY = 0, this.onMouseMove = function() {}, this.onWindowResize = function() {}, this.onStopScrolling = function() {}, this.onMouseEntered = function() {}, this.onScroll = function() {
9733
- var e = Bu(r.el);
9734
- r.scrollXTicking ||= (e.requestAnimationFrame(r.scrollX), !0), r.scrollYTicking ||= (e.requestAnimationFrame(r.scrollY), !0), r.isScrolling || (r.isScrolling = !0, Uu(r.el, r.classNames.scrolling)), r.showScrollbar("x"), r.showScrollbar("y"), r.onStopScrolling();
9753
+ var e = zu(r.el);
9754
+ r.scrollXTicking ||= (e.requestAnimationFrame(r.scrollX), !0), r.scrollYTicking ||= (e.requestAnimationFrame(r.scrollY), !0), r.isScrolling || (r.isScrolling = !0, Hu(r.el, r.classNames.scrolling)), r.showScrollbar("x"), r.showScrollbar("y"), r.onStopScrolling();
9735
9755
  }, this.scrollX = function() {
9736
9756
  r.axis.x.isOverflowing && r.positionScrollbar("x"), r.scrollXTicking = !1;
9737
9757
  }, this.scrollY = function() {
9738
9758
  r.axis.y.isOverflowing && r.positionScrollbar("y"), r.scrollYTicking = !1;
9739
9759
  }, this._onStopScrolling = function() {
9740
- Wu(r.el, r.classNames.scrolling), r.options.autoHide && (r.hideScrollbar("x"), r.hideScrollbar("y")), r.isScrolling = !1;
9760
+ Uu(r.el, r.classNames.scrolling), r.options.autoHide && (r.hideScrollbar("x"), r.hideScrollbar("y")), r.isScrolling = !1;
9741
9761
  }, this.onMouseEnter = function() {
9742
- r.isMouseEntering ||= (Uu(r.el, r.classNames.mouseEntered), r.showScrollbar("x"), r.showScrollbar("y"), !0), r.onMouseEntered();
9762
+ r.isMouseEntering ||= (Hu(r.el, r.classNames.mouseEntered), r.showScrollbar("x"), r.showScrollbar("y"), !0), r.onMouseEntered();
9743
9763
  }, this._onMouseEntered = function() {
9744
- Wu(r.el, r.classNames.mouseEntered), r.options.autoHide && (r.hideScrollbar("x"), r.hideScrollbar("y")), r.isMouseEntering = !1;
9764
+ Uu(r.el, r.classNames.mouseEntered), r.options.autoHide && (r.hideScrollbar("x"), r.hideScrollbar("y")), r.isMouseEntering = !1;
9745
9765
  }, this._onMouseMove = function(e) {
9746
9766
  r.mouseX = e.clientX, r.mouseY = e.clientY, (r.axis.x.isOverflowing || r.axis.x.forceVisible) && r.onMouseMoveForAxis("x"), (r.axis.y.isOverflowing || r.axis.y.forceVisible) && r.onMouseMoveForAxis("y");
9747
9767
  }, this.onMouseLeave = function() {
@@ -9764,13 +9784,13 @@ var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9764
9784
  }
9765
9785
  }, this.onEndDrag = function(e) {
9766
9786
  r.isDragging = !1;
9767
- var t = Vu(r.el), n = Bu(r.el);
9768
- e.preventDefault(), e.stopPropagation(), Wu(r.el, r.classNames.dragging), r.onStopScrolling(), t.removeEventListener("mousemove", r.drag, !0), t.removeEventListener("mouseup", r.onEndDrag, !0), r.removePreventClickId = n.setTimeout(function() {
9787
+ var t = Bu(r.el), n = zu(r.el);
9788
+ e.preventDefault(), e.stopPropagation(), Uu(r.el, r.classNames.dragging), r.onStopScrolling(), t.removeEventListener("mousemove", r.drag, !0), t.removeEventListener("mouseup", r.onEndDrag, !0), r.removePreventClickId = n.setTimeout(function() {
9769
9789
  t.removeEventListener("click", r.preventClick, !0), t.removeEventListener("dblclick", r.preventClick, !0), r.removePreventClickId = null;
9770
9790
  });
9771
9791
  }, this.preventClick = function(e) {
9772
9792
  e.preventDefault(), e.stopPropagation();
9773
- }, this.el = t, this.options = Ou(Ou({}, e.defaultOptions), n), this.classNames = Ou(Ou({}, e.defaultOptions.classNames), n.classNames), this.axis = {
9793
+ }, this.el = t, this.options = Du(Du({}, e.defaultOptions), n), this.classNames = Du(Du({}, e.defaultOptions.classNames), n.classNames), this.axis = {
9774
9794
  x: {
9775
9795
  scrollOffsetAttr: "scrollLeft",
9776
9796
  sizeAttr: "width",
@@ -9818,7 +9838,7 @@ var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9818
9838
  }
9819
9839
  }
9820
9840
  }, typeof this.el != "object" || !this.el.nodeName) throw Error(`Argument passed to SimpleBar must be an HTML element instead of ${this.el}`);
9821
- this.onMouseMove = Du(this._onMouseMove, 64), this.onWindowResize = Tu(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = Tu(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = Tu(this._onMouseEntered, this.stopScrollDelay), this.init();
9841
+ this.onMouseMove = Eu(this._onMouseMove, 64), this.onWindowResize = wu(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = wu(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = wu(this._onMouseEntered, this.stopScrollDelay), this.init();
9822
9842
  }
9823
9843
  return e.getRtlHelpers = function() {
9824
9844
  if (e.rtlHelpers) return e.rtlHelpers;
@@ -9836,26 +9856,26 @@ var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9836
9856
  }, e.rtlHelpers;
9837
9857
  }, e.prototype.getScrollbarWidth = function() {
9838
9858
  try {
9839
- return this.contentWrapperEl && getComputedStyle(this.contentWrapperEl, "::-webkit-scrollbar").display === "none" || "scrollbarWidth" in document.documentElement.style || "-ms-overflow-style" in document.documentElement.style ? 0 : zu();
9859
+ return this.contentWrapperEl && getComputedStyle(this.contentWrapperEl, "::-webkit-scrollbar").display === "none" || "scrollbarWidth" in document.documentElement.style || "-ms-overflow-style" in document.documentElement.style ? 0 : Ru();
9840
9860
  } catch {
9841
- return zu();
9861
+ return Ru();
9842
9862
  }
9843
9863
  }, e.getOffset = function(e) {
9844
- var t = e.getBoundingClientRect(), n = Vu(e), r = Bu(e);
9864
+ var t = e.getBoundingClientRect(), n = Bu(e), r = zu(e);
9845
9865
  return {
9846
9866
  top: t.top + (r.pageYOffset || n.documentElement.scrollTop),
9847
9867
  left: t.left + (r.pageXOffset || n.documentElement.scrollLeft)
9848
9868
  };
9849
9869
  }, e.prototype.init = function() {
9850
- Fu && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
9870
+ Pu && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
9851
9871
  }, e.prototype.initDOM = function() {
9852
- this.wrapperEl = this.el.querySelector(Gu(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(Gu(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(Gu(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(Gu(this.classNames.offset)), this.maskEl = this.el.querySelector(Gu(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, Gu(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(Gu(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(Gu(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, `${Gu(this.classNames.track)}${Gu(this.classNames.horizontal)}`), this.axis.y.track.el = this.findChild(this.el, `${Gu(this.classNames.track)}${Gu(this.classNames.vertical)}`), this.axis.x.scrollbar.el = this.axis.x.track.el?.querySelector(Gu(this.classNames.scrollbar)) || null, this.axis.y.scrollbar.el = this.axis.y.track.el?.querySelector(Gu(this.classNames.scrollbar)) || null, this.options.autoHide || (Uu(this.axis.x.scrollbar.el, this.classNames.visible), Uu(this.axis.y.scrollbar.el, this.classNames.visible));
9872
+ this.wrapperEl = this.el.querySelector(Wu(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(Wu(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(Wu(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(Wu(this.classNames.offset)), this.maskEl = this.el.querySelector(Wu(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, Wu(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(Wu(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(Wu(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, `${Wu(this.classNames.track)}${Wu(this.classNames.horizontal)}`), this.axis.y.track.el = this.findChild(this.el, `${Wu(this.classNames.track)}${Wu(this.classNames.vertical)}`), this.axis.x.scrollbar.el = this.axis.x.track.el?.querySelector(Wu(this.classNames.scrollbar)) || null, this.axis.y.scrollbar.el = this.axis.y.track.el?.querySelector(Wu(this.classNames.scrollbar)) || null, this.options.autoHide || (Hu(this.axis.x.scrollbar.el, this.classNames.visible), Hu(this.axis.y.scrollbar.el, this.classNames.visible));
9853
9873
  }, e.prototype.initListeners = function() {
9854
- var e = this, t, n = Bu(this.el);
9874
+ var e = this, t, n = zu(this.el);
9855
9875
  if (this.el.addEventListener("mouseenter", this.onMouseEnter), this.el.addEventListener("pointerdown", this.onPointerEvent, !0), this.el.addEventListener("mousemove", this.onMouseMove), this.el.addEventListener("mouseleave", this.onMouseLeave), (t = this.contentWrapperEl) == null || t.addEventListener("scroll", this.onScroll), n.addEventListener("resize", this.onWindowResize), this.contentEl) {
9856
9876
  if (window.ResizeObserver) {
9857
- var r = !1, i = n.ResizeObserver || ResizeObserver;
9858
- this.resizeObserver = new i(function() {
9877
+ var r = !1;
9878
+ this.resizeObserver = new (n.ResizeObserver || ResizeObserver)(function() {
9859
9879
  r && n.requestAnimationFrame(function() {
9860
9880
  e.recalculate();
9861
9881
  });
@@ -9875,16 +9895,15 @@ var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9875
9895
  }
9876
9896
  }, e.prototype.recalculate = function() {
9877
9897
  if (!(!this.heightAutoObserverEl || !this.contentEl || !this.contentWrapperEl || !this.wrapperEl || !this.placeholderEl)) {
9878
- var e = Bu(this.el);
9879
- this.elStyles = e.getComputedStyle(this.el), this.isRtl = this.elStyles.direction === "rtl";
9880
- var t = this.contentEl.offsetWidth, n = this.heightAutoObserverEl.offsetHeight <= 1, r = this.heightAutoObserverEl.offsetWidth <= 1 || t > 0, i = this.contentWrapperEl.offsetWidth, a = this.elStyles.overflowX, o = this.elStyles.overflowY;
9898
+ this.elStyles = zu(this.el).getComputedStyle(this.el), this.isRtl = this.elStyles.direction === "rtl";
9899
+ var e = this.contentEl.offsetWidth, t = this.heightAutoObserverEl.offsetHeight <= 1, n = this.heightAutoObserverEl.offsetWidth <= 1 || e > 0, r = this.contentWrapperEl.offsetWidth, i = this.elStyles.overflowX, a = this.elStyles.overflowY;
9881
9900
  this.contentEl.style.padding = `${this.elStyles.paddingTop} ${this.elStyles.paddingRight} ${this.elStyles.paddingBottom} ${this.elStyles.paddingLeft}`, this.wrapperEl.style.margin = `-${this.elStyles.paddingTop} -${this.elStyles.paddingRight} -${this.elStyles.paddingBottom} -${this.elStyles.paddingLeft}`;
9882
- var s = this.contentEl.scrollHeight, c = this.contentEl.scrollWidth;
9883
- this.contentWrapperEl.style.height = n ? "auto" : "100%", this.placeholderEl.style.width = r ? `${t || c}px` : "auto", this.placeholderEl.style.height = `${s}px`;
9884
- var l = this.contentWrapperEl.offsetHeight;
9885
- this.axis.x.isOverflowing = t !== 0 && c > t, this.axis.y.isOverflowing = s > l, this.axis.x.isOverflowing = a === "hidden" ? !1 : this.axis.x.isOverflowing, this.axis.y.isOverflowing = o === "hidden" ? !1 : this.axis.y.isOverflowing, this.axis.x.forceVisible = this.options.forceVisible === "x" || this.options.forceVisible === !0, this.axis.y.forceVisible = this.options.forceVisible === "y" || this.options.forceVisible === !0, this.hideNativeScrollbar();
9886
- var u = this.axis.x.isOverflowing ? this.scrollbarWidth : 0, d = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;
9887
- this.axis.x.isOverflowing = this.axis.x.isOverflowing && c > i - d, this.axis.y.isOverflowing = this.axis.y.isOverflowing && s > l - u, this.axis.x.scrollbar.size = this.getScrollbarSize("x"), this.axis.y.scrollbar.size = this.getScrollbarSize("y"), this.axis.x.scrollbar.el && (this.axis.x.scrollbar.el.style.width = `${this.axis.x.scrollbar.size}px`), this.axis.y.scrollbar.el && (this.axis.y.scrollbar.el.style.height = `${this.axis.y.scrollbar.size}px`), this.positionScrollbar("x"), this.positionScrollbar("y"), this.toggleTrackVisibility("x"), this.toggleTrackVisibility("y");
9901
+ var o = this.contentEl.scrollHeight, s = this.contentEl.scrollWidth;
9902
+ this.contentWrapperEl.style.height = t ? "auto" : "100%", this.placeholderEl.style.width = n ? `${e || s}px` : "auto", this.placeholderEl.style.height = `${o}px`;
9903
+ var c = this.contentWrapperEl.offsetHeight;
9904
+ this.axis.x.isOverflowing = e !== 0 && s > e, this.axis.y.isOverflowing = o > c, this.axis.x.isOverflowing = i === "hidden" ? !1 : this.axis.x.isOverflowing, this.axis.y.isOverflowing = a === "hidden" ? !1 : this.axis.y.isOverflowing, this.axis.x.forceVisible = this.options.forceVisible === "x" || this.options.forceVisible === !0, this.axis.y.forceVisible = this.options.forceVisible === "y" || this.options.forceVisible === !0, this.hideNativeScrollbar();
9905
+ var l = this.axis.x.isOverflowing ? this.scrollbarWidth : 0, u = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;
9906
+ this.axis.x.isOverflowing = this.axis.x.isOverflowing && s > r - u, this.axis.y.isOverflowing = this.axis.y.isOverflowing && o > c - l, this.axis.x.scrollbar.size = this.getScrollbarSize("x"), this.axis.y.scrollbar.size = this.getScrollbarSize("y"), this.axis.x.scrollbar.el && (this.axis.x.scrollbar.el.style.width = `${this.axis.x.scrollbar.size}px`), this.axis.y.scrollbar.el && (this.axis.y.scrollbar.el.style.height = `${this.axis.y.scrollbar.size}px`), this.positionScrollbar("x"), this.positionScrollbar("y"), this.toggleTrackVisibility("x"), this.toggleTrackVisibility("y");
9888
9907
  }
9889
9908
  }, e.prototype.getScrollbarSize = function(e) {
9890
9909
  if (e === void 0 && (e = "y"), !this.axis[e].isOverflowing || !this.contentEl) return 0;
@@ -9904,28 +9923,28 @@ var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9904
9923
  var t = this.axis[e].track.el, n = this.axis[e].scrollbar.el;
9905
9924
  !t || !n || !this.contentWrapperEl || (this.axis[e].isOverflowing || this.axis[e].forceVisible ? (t.style.visibility = "visible", this.contentWrapperEl.style[this.axis[e].overflowAttr] = "scroll", this.el.classList.add(`${this.classNames.scrollable}-${e}`)) : (t.style.visibility = "hidden", this.contentWrapperEl.style[this.axis[e].overflowAttr] = "hidden", this.el.classList.remove(`${this.classNames.scrollable}-${e}`)), this.axis[e].isOverflowing ? n.style.display = "block" : n.style.display = "none");
9906
9925
  }, e.prototype.showScrollbar = function(e) {
9907
- e === void 0 && (e = "y"), this.axis[e].isOverflowing && !this.axis[e].scrollbar.isVisible && (Uu(this.axis[e].scrollbar.el, this.classNames.visible), this.axis[e].scrollbar.isVisible = !0);
9926
+ e === void 0 && (e = "y"), this.axis[e].isOverflowing && !this.axis[e].scrollbar.isVisible && (Hu(this.axis[e].scrollbar.el, this.classNames.visible), this.axis[e].scrollbar.isVisible = !0);
9908
9927
  }, e.prototype.hideScrollbar = function(e) {
9909
- e === void 0 && (e = "y"), !this.isDragging && this.axis[e].isOverflowing && this.axis[e].scrollbar.isVisible && (Wu(this.axis[e].scrollbar.el, this.classNames.visible), this.axis[e].scrollbar.isVisible = !1);
9928
+ e === void 0 && (e = "y"), !this.isDragging && this.axis[e].isOverflowing && this.axis[e].scrollbar.isVisible && (Uu(this.axis[e].scrollbar.el, this.classNames.visible), this.axis[e].scrollbar.isVisible = !1);
9910
9929
  }, e.prototype.hideNativeScrollbar = function() {
9911
9930
  this.offsetEl && (this.offsetEl.style[this.isRtl ? "left" : "right"] = this.axis.y.isOverflowing || this.axis.y.forceVisible ? `-${this.scrollbarWidth}px` : "0px", this.offsetEl.style.bottom = this.axis.x.isOverflowing || this.axis.x.forceVisible ? `-${this.scrollbarWidth}px` : "0px");
9912
9931
  }, e.prototype.onMouseMoveForAxis = function(e) {
9913
9932
  e === void 0 && (e = "y");
9914
9933
  var t = this.axis[e];
9915
- !t.track.el || !t.scrollbar.el || (t.track.rect = t.track.el.getBoundingClientRect(), t.scrollbar.rect = t.scrollbar.el.getBoundingClientRect(), this.isWithinBounds(t.track.rect) ? (this.showScrollbar(e), Uu(t.track.el, this.classNames.hover), this.isWithinBounds(t.scrollbar.rect) ? Uu(t.scrollbar.el, this.classNames.hover) : Wu(t.scrollbar.el, this.classNames.hover)) : (Wu(t.track.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(e)));
9934
+ !t.track.el || !t.scrollbar.el || (t.track.rect = t.track.el.getBoundingClientRect(), t.scrollbar.rect = t.scrollbar.el.getBoundingClientRect(), this.isWithinBounds(t.track.rect) ? (this.showScrollbar(e), Hu(t.track.el, this.classNames.hover), this.isWithinBounds(t.scrollbar.rect) ? Hu(t.scrollbar.el, this.classNames.hover) : Uu(t.scrollbar.el, this.classNames.hover)) : (Uu(t.track.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(e)));
9916
9935
  }, e.prototype.onMouseLeaveForAxis = function(e) {
9917
- e === void 0 && (e = "y"), Wu(this.axis[e].track.el, this.classNames.hover), Wu(this.axis[e].scrollbar.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(e);
9936
+ e === void 0 && (e = "y"), Uu(this.axis[e].track.el, this.classNames.hover), Uu(this.axis[e].scrollbar.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(e);
9918
9937
  }, e.prototype.onDragStart = function(e, t) {
9919
9938
  t === void 0 && (t = "y"), this.isDragging = !0;
9920
- var n = Vu(this.el), r = Bu(this.el), i = this.axis[t].scrollbar, a = t === "y" ? e.pageY : e.pageX;
9921
- this.axis[t].dragOffset = a - (i.rect?.[this.axis[t].offsetAttr] || 0), this.draggedAxis = t, Uu(this.el, this.classNames.dragging), n.addEventListener("mousemove", this.drag, !0), n.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (n.addEventListener("click", this.preventClick, !0), n.addEventListener("dblclick", this.preventClick, !0)) : (r.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
9939
+ var n = Bu(this.el), r = zu(this.el), i = this.axis[t].scrollbar, a = t === "y" ? e.pageY : e.pageX;
9940
+ this.axis[t].dragOffset = a - (i.rect?.[this.axis[t].offsetAttr] || 0), this.draggedAxis = t, Hu(this.el, this.classNames.dragging), n.addEventListener("mousemove", this.drag, !0), n.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (n.addEventListener("click", this.preventClick, !0), n.addEventListener("dblclick", this.preventClick, !0)) : (r.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
9922
9941
  }, e.prototype.onTrackClick = function(e, t) {
9923
9942
  var n = this;
9924
9943
  t === void 0 && (t = "y");
9925
9944
  var r = this.axis[t];
9926
9945
  if (!(!this.options.clickOnTrack || !r.scrollbar.el || !this.contentWrapperEl)) {
9927
9946
  e.preventDefault();
9928
- var i = Bu(this.el);
9947
+ var i = zu(this.el);
9929
9948
  this.axis[t].scrollbar.rect = r.scrollbar.el.getBoundingClientRect();
9930
9949
  var a = this.axis[t].scrollbar.rect?.[this.axis[t].offsetAttr] ?? 0, o = parseInt(this.elStyles?.[this.axis[t].sizeAttr] ?? "0px", 10), s = this.contentWrapperEl[this.axis[t].scrollOffsetAttr], c = (t === "y" ? this.mouseY - a : this.mouseX - a) < 0 ? -1 : 1, l = c === -1 ? s - o : s + o, u = 40, d = function() {
9931
9950
  n.contentWrapperEl && (c === -1 ? s > l && (s -= u, n.contentWrapperEl[n.axis[t].scrollOffsetAttr] = s, i.requestAnimationFrame(d)) : s < l && (s += u, n.contentWrapperEl[n.axis[t].scrollOffsetAttr] = s, i.requestAnimationFrame(d)));
@@ -9937,7 +9956,7 @@ var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9937
9956
  }, e.prototype.getScrollElement = function() {
9938
9957
  return this.contentWrapperEl;
9939
9958
  }, e.prototype.removeListeners = function() {
9940
- var e = Bu(this.el);
9959
+ var e = zu(this.el);
9941
9960
  this.el.removeEventListener("mouseenter", this.onMouseEnter), this.el.removeEventListener("pointerdown", this.onPointerEvent, !0), this.el.removeEventListener("mousemove", this.onMouseMove), this.el.removeEventListener("mouseleave", this.onMouseLeave), this.contentWrapperEl && this.contentWrapperEl.removeEventListener("scroll", this.onScroll), e.removeEventListener("resize", this.onWindowResize), this.mutationObserver && this.mutationObserver.disconnect(), this.resizeObserver && this.resizeObserver.disconnect(), this.onMouseMove.cancel(), this.onWindowResize.cancel(), this.onStopScrolling.cancel(), this.onMouseEntered.cancel();
9942
9961
  }, e.prototype.unMount = function() {
9943
9962
  this.removeListeners();
@@ -9978,52 +9997,52 @@ var Bu = ku, Vu = Au, Hu = ju, Uu = Mu, Wu = Nu, Gu = Pu, Ku = function() {
9978
9997
  scrollableNode: null,
9979
9998
  contentNode: null,
9980
9999
  autoHide: !0
9981
- }, e.getOptions = Hu, e.helpers = Iu, e;
9982
- }(), qu = function() {
9983
- return qu = Object.assign || function(e) {
10000
+ }, e.getOptions = Vu, e.helpers = Fu, e;
10001
+ }(), Ku = function() {
10002
+ return Ku = Object.assign || function(e) {
9984
10003
  for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
9985
10004
  return e;
9986
- }, qu.apply(this, arguments);
10005
+ }, Ku.apply(this, arguments);
9987
10006
  };
9988
- function Ju(e, t) {
10007
+ function qu(e, t) {
9989
10008
  var n = {};
9990
10009
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
9991
10010
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
9992
10011
  return n;
9993
10012
  }
9994
- var Yu = T.forwardRef(function(e, t) {
9995
- var n = e.children, r = e.scrollableNodeProps, i = r === void 0 ? {} : r, a = Ju(e, ["children", "scrollableNodeProps"]), o = T.useRef(), s = T.useRef(), c = T.useRef(), l = {}, u = {};
10013
+ var Ju = T.forwardRef(function(e, t) {
10014
+ var n = e.children, r = e.scrollableNodeProps, i = r === void 0 ? {} : r, a = qu(e, ["children", "scrollableNodeProps"]), o = T.useRef(), s = T.useRef(), c = T.useRef(), l = {}, u = {};
9996
10015
  Object.keys(a).forEach(function(e) {
9997
- Object.prototype.hasOwnProperty.call(Ku.defaultOptions, e) ? l[e] = a[e] : u[e] = a[e];
10016
+ Object.prototype.hasOwnProperty.call(Gu.defaultOptions, e) ? l[e] = a[e] : u[e] = a[e];
9998
10017
  });
9999
- var d = qu(qu({}, Ku.defaultOptions.classNames), l.classNames), f = qu(qu({}, i), {
10018
+ var d = Ku(Ku({}, Gu.defaultOptions.classNames), l.classNames), f = Ku(Ku({}, i), {
10000
10019
  className: `${d.contentWrapper}${i.className ? ` ${i.className}` : ""}`,
10001
- tabIndex: l.tabIndex || Ku.defaultOptions.tabIndex,
10020
+ tabIndex: l.tabIndex || Gu.defaultOptions.tabIndex,
10002
10021
  role: "region",
10003
- "aria-label": l.ariaLabel || Ku.defaultOptions.ariaLabel
10022
+ "aria-label": l.ariaLabel || Gu.defaultOptions.ariaLabel
10004
10023
  });
10005
10024
  return T.useEffect(function() {
10006
10025
  var e;
10007
- return s.current = f.ref ? f.ref.current : s.current, o.current && (e = new Ku(o.current, qu(qu(qu({}, l), s.current && { scrollableNode: s.current }), c.current && { contentNode: c.current })), typeof t == "function" ? t(e) : t && (t.current = e)), function() {
10026
+ return s.current = f.ref ? f.ref.current : s.current, o.current && (e = new Gu(o.current, Ku(Ku(Ku({}, l), s.current && { scrollableNode: s.current }), c.current && { contentNode: c.current })), typeof t == "function" ? t(e) : t && (t.current = e)), function() {
10008
10027
  e?.unMount(), e = null, typeof t == "function" && t(null);
10009
10028
  };
10010
- }, []), T.createElement("div", qu({
10029
+ }, []), T.createElement("div", Ku({
10011
10030
  "data-simplebar": "init",
10012
10031
  ref: o
10013
10032
  }, u), T.createElement("div", { className: d.wrapper }, T.createElement("div", { className: d.heightAutoObserverWrapperEl }, T.createElement("div", { className: d.heightAutoObserverEl })), T.createElement("div", { className: d.mask }, T.createElement("div", { className: d.offset }, typeof n == "function" ? n({
10014
10033
  scrollableNodeRef: s,
10015
- scrollableNodeProps: qu(qu({}, f), { ref: s }),
10034
+ scrollableNodeProps: Ku(Ku({}, f), { ref: s }),
10016
10035
  contentNodeRef: c,
10017
10036
  contentNodeProps: {
10018
10037
  className: d.contentEl,
10019
10038
  ref: c
10020
10039
  }
10021
- }) : T.createElement("div", qu({}, f), T.createElement("div", { className: d.contentEl }, n)))), T.createElement("div", { className: d.placeholder })), T.createElement("div", { className: `${d.track} ${d.horizontal}` }, T.createElement("div", { className: d.scrollbar })), T.createElement("div", { className: `${d.track} ${d.vertical}` }, T.createElement("div", { className: d.scrollbar })));
10040
+ }) : T.createElement("div", Ku({}, f), T.createElement("div", { className: d.contentEl }, n)))), T.createElement("div", { className: d.placeholder })), T.createElement("div", { className: `${d.track} ${d.horizontal}` }, T.createElement("div", { className: d.scrollbar })), T.createElement("div", { className: `${d.track} ${d.vertical}` }, T.createElement("div", { className: d.scrollbar })));
10022
10041
  });
10023
- Yu.displayName = "SimpleBar";
10042
+ Ju.displayName = "SimpleBar";
10024
10043
  //#endregion
10025
10044
  //#region src/lib/components/simple-overlay/index.tsx
10026
- var Xu = Y.div`
10045
+ var Yu = Y.div`
10027
10046
  .simplebar-scrollbar::before {
10028
10047
  width: var(--scrollbar-size);
10029
10048
  background: var(--scrollbar-handle-bg);
@@ -10034,7 +10053,7 @@ var Xu = Y.div`
10034
10053
  background: var(--scrollbar-handle-light-bg);
10035
10054
  }
10036
10055
  }
10037
- `, Zu = ({ height: e, children: t, style: n, disableTrigger: r, onScrollEnd: i }) => {
10056
+ `, Xu = ({ height: e, children: t, style: n, disableTrigger: r, onScrollEnd: i }) => {
10038
10057
  let { config: o } = a(), { isDarkTheme: s } = o, c = E.useRef(null);
10039
10058
  return F(() => {
10040
10059
  let e = (e) => {
@@ -10048,9 +10067,9 @@ var Xu = Y.div`
10048
10067
  e,
10049
10068
  r,
10050
10069
  i
10051
- ]), /* @__PURE__ */ H(Xu, {
10070
+ ]), /* @__PURE__ */ H(Yu, {
10052
10071
  className: s ? "dark" : "light",
10053
- children: /* @__PURE__ */ H(Yu, {
10072
+ children: /* @__PURE__ */ H(Ju, {
10054
10073
  ref: c,
10055
10074
  style: {
10056
10075
  height: e,
@@ -10059,13 +10078,13 @@ var Xu = Y.div`
10059
10078
  children: t
10060
10079
  })
10061
10080
  });
10062
- }, Qu = E.memo(({ columns: e }) => {
10081
+ }, Zu = E.memo(({ columns: e }) => {
10063
10082
  let t = o();
10064
10083
  return /* @__PURE__ */ H("tr", { children: e.map((e, n) => /* @__PURE__ */ H("th", { children: /* @__PURE__ */ H("span", {
10065
10084
  className: "cell-span cell-header",
10066
10085
  children: e.locale ? t.formatMessage({ id: e.title }) : e.title
10067
10086
  }) }, n)) });
10068
- }), $u = (e) => {
10087
+ }), Qu = (e) => {
10069
10088
  let { row: t, column: n, rowIndex: r, colIndex: i, dataList: a } = e;
10070
10089
  return R(() => n.render ? n.render({
10071
10090
  dataIndex: n.key,
@@ -10107,24 +10126,24 @@ var Xu = Y.div`
10107
10126
  }) : t[n.key]
10108
10127
  })
10109
10128
  }, i);
10110
- }, ed = ({ row: e, columns: t, rowIndex: n, dataList: r }) => /* @__PURE__ */ H("tr", { children: t.map((t, i) => /* @__PURE__ */ H($u, {
10129
+ }, $u = ({ row: e, columns: t, rowIndex: n, dataList: r }) => /* @__PURE__ */ H("tr", { children: t.map((t, i) => /* @__PURE__ */ H(Qu, {
10111
10130
  rowIndex: n,
10112
10131
  colIndex: i,
10113
10132
  dataList: r,
10114
10133
  row: e,
10115
10134
  column: t
10116
- }, i)) }), td = (e) => {
10135
+ }, i)) }), ed = (e) => {
10117
10136
  let { columns: t, dataSource: n, rowKey: r, theme: i, bordered: a = !0 } = e;
10118
10137
  return /* @__PURE__ */ H("div", { children: /* @__PURE__ */ U("table", {
10119
10138
  className: (0, X.default)("simple-table", i, { "simple-table-bordered": a }),
10120
- children: [/* @__PURE__ */ H("thead", { children: /* @__PURE__ */ H(Qu, { columns: t }) }), /* @__PURE__ */ H("tbody", { children: n.map((e, i) => /* @__PURE__ */ H(ed, {
10139
+ children: [/* @__PURE__ */ H("thead", { children: /* @__PURE__ */ H(Zu, { columns: t }) }), /* @__PURE__ */ H("tbody", { children: n.map((e, i) => /* @__PURE__ */ H($u, {
10121
10140
  row: e,
10122
10141
  rowIndex: i,
10123
10142
  columns: t,
10124
10143
  dataList: n
10125
10144
  }, e[r])) })]
10126
10145
  }) });
10127
- }, nd = (e) => {
10146
+ }, td = (e) => {
10128
10147
  let { data: t, fieldList: n, style: r } = e, i = o();
10129
10148
  return /* @__PURE__ */ H("span", {
10130
10149
  className: "flex",
@@ -10148,7 +10167,7 @@ var Xu = Y.div`
10148
10167
  }) : null]
10149
10168
  }, e.key || r))
10150
10169
  });
10151
- }, rd = A((e, t) => {
10170
+ }, nd = A((e, t) => {
10152
10171
  let { autoplay: n = !1 } = e, r = E.useRef(null), i = z(null), a = z(null), o = z(null), s = N(() => {
10153
10172
  i.current = new (window.AudioContext || window.webkitAudioContext)(), a.current = i.current.createAnalyser(), a.current.fftSize = 512, o.current = new Uint8Array(a.current.frequencyBinCount);
10154
10173
  }, []), c = N(() => {
@@ -10246,7 +10265,7 @@ var Xu = Y.div`
10246
10265
  },
10247
10266
  preload: "metadata"
10248
10267
  });
10249
- }), id = A((e, t) => {
10268
+ }), rd = A((e, t) => {
10250
10269
  let { isStream: n } = e;
10251
10270
  console.log("Rendering SpeechItem with props:", e.isStream, e.analyserData);
10252
10271
  let r = o(), [i, a] = B(e.autoplay || e.isPlaying), [s, c] = B(0), [l, u] = B({
@@ -10364,7 +10383,7 @@ var Xu = Y.div`
10364
10383
  width: "100%"
10365
10384
  },
10366
10385
  ref: h,
10367
- children: /* @__PURE__ */ U(V, { children: [!_ && /* @__PURE__ */ H(rd, {
10386
+ children: /* @__PURE__ */ U(V, { children: [!_ && /* @__PURE__ */ H(nd, {
10368
10387
  ...e,
10369
10388
  url: e.audioUrl,
10370
10389
  onReady: k,
@@ -10384,7 +10403,7 @@ var Xu = Y.div`
10384
10403
  })] })
10385
10404
  })
10386
10405
  }), M()] });
10387
- }), ad = (e) => /* @__PURE__ */ H("div", { children: e.dataList.map((t) => /* @__PURE__ */ H(id, {
10406
+ }), id = (e) => /* @__PURE__ */ H("div", { children: e.dataList.map((t) => /* @__PURE__ */ H(rd, {
10388
10407
  ...t,
10389
10408
  isStream: e.isStream,
10390
10409
  isPlaying: e.isPlaying,
@@ -10392,12 +10411,12 @@ var Xu = Y.div`
10392
10411
  onPause: e.onPause,
10393
10412
  ref: e.playerRef,
10394
10413
  analyserData: e.analyserData
10395
- }, t.uid)) }), od = Y.span`
10414
+ }, t.uid)) }), ad = Y.span`
10396
10415
  white-space: nowrap;
10397
10416
  overflow: hidden;
10398
10417
  text-overflow: ellipsis;
10399
- `, sd = /<a (.*?)>(.*?)<\/a>/g, cd = ({ style: e, statusValue: t, download: n, extra: r, actions: i = [], maxTooltipWidth: a = 250, suffix: o }) => {
10400
- let { text: s, status: l } = t, d = R(() => Bi[l], [l]), f = R(() => t.message ? sd.test(t.message || "") : !1, [t.message]), p = R(() => t.message ? t.message?.match(sd) ? t.message?.replace(sd, "<a $1 target=\"_blank\">$2</a>") : t.message : "", [t.message]), m = () => {
10418
+ `, od = /<a (.*?)>(.*?)<\/a>/g, sd = ({ style: e, statusValue: t, download: n, extra: r, actions: i = [], maxTooltipWidth: a = 250, suffix: o }) => {
10419
+ let { text: s, status: l } = t, d = R(() => Bi[l], [l]), f = R(() => t.message ? od.test(t.message || "") : !1, [t.message]), p = R(() => t.message ? t.message?.match(od) ? t.message?.replace(od, "<a $1 target=\"_blank\">$2</a>") : t.message : "", [t.message]), m = () => {
10401
10420
  let e = n?.percent || 0;
10402
10421
  return n && e > 0 && e <= 100 ? /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ U("span", {
10403
10422
  className: "progress",
@@ -10405,7 +10424,7 @@ var Xu = Y.div`
10405
10424
  }), /* @__PURE__ */ H("span", {
10406
10425
  className: "download",
10407
10426
  style: { width: `${Z.default.round(e, 0)}%` }
10408
- })] }) : /* @__PURE__ */ H(od, { children: s });
10427
+ })] }) : /* @__PURE__ */ H(ad, { children: s });
10409
10428
  }, h = /* @__PURE__ */ U("div", {
10410
10429
  className: "status-content-wrapper",
10411
10430
  children: [/* @__PURE__ */ U("div", {
@@ -10471,7 +10490,7 @@ var Xu = Y.div`
10471
10490
  children: [m(), o && /* @__PURE__ */ H("span", { children: o })]
10472
10491
  })
10473
10492
  });
10474
- }, ld = {
10493
+ }, cd = {
10475
10494
  mask: "styles-module__mask___fnLBF",
10476
10495
  maskOpen: "styles-module__maskOpen___KKROU",
10477
10496
  overlay: "styles-module__overlay___8EcfD",
@@ -10481,7 +10500,7 @@ var Xu = Y.div`
10481
10500
  subTitle: "styles-module__subTitle___vunlj",
10482
10501
  content: "styles-module__content___d1qHZ",
10483
10502
  footer: "styles-module__footer___wE8uH"
10484
- }, ud = ({ title: e, open: t, onCancel: n, onSubmit: r, children: i, subTitle: a, footer: o, width: s = 600, className: c, style: l, maskClosable: u = !1, styles: d, getContainer: f }) => {
10503
+ }, ld = ({ title: e, open: t, onCancel: n, onSubmit: r, children: i, subTitle: a, footer: o, width: s = 600, className: c, style: l, maskClosable: u = !1, styles: d, getContainer: f }) => {
10485
10504
  let [p, m] = E.useState(null), [h, g] = E.useState(!1), [_, v] = E.useState(!1), y = zt(() => {
10486
10505
  let e = document.querySelectorAll(".ant-layout-content");
10487
10506
  return e[e.length - 1] ?? null;
@@ -10505,11 +10524,11 @@ var Xu = Y.div`
10505
10524
  e.target !== e.currentTarget || e.propertyName !== "transform" || !t && !_ && (g(!1), m(null));
10506
10525
  };
10507
10526
  return !h || !p ? null : Ht(/* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("div", {
10508
- className: (0, X.default)(ld.mask, _ && ld.maskOpen),
10527
+ className: (0, X.default)(cd.mask, _ && cd.maskOpen),
10509
10528
  style: d?.mask,
10510
10529
  onClick: u ? n : void 0
10511
10530
  }), /* @__PURE__ */ U("div", {
10512
- className: (0, X.default)(ld.overlay, _ && ld.overlayOpen, c),
10531
+ className: (0, X.default)(cd.overlay, _ && cd.overlayOpen, c),
10513
10532
  style: {
10514
10533
  width: s,
10515
10534
  ...l,
@@ -10519,7 +10538,7 @@ var Xu = Y.div`
10519
10538
  "aria-modal": "true",
10520
10539
  onTransitionEnd: b,
10521
10540
  children: [/* @__PURE__ */ U("div", {
10522
- className: ld.header,
10541
+ className: cd.header,
10523
10542
  style: d?.header,
10524
10543
  children: [/* @__PURE__ */ H(G, {
10525
10544
  type: "text",
@@ -10534,11 +10553,11 @@ var Xu = Y.div`
10534
10553
  }),
10535
10554
  onClick: n
10536
10555
  }), /* @__PURE__ */ U("div", {
10537
- className: ld.title,
10556
+ className: cd.title,
10538
10557
  style: d?.title,
10539
10558
  children: [e, a && /* @__PURE__ */ H(jt, {
10540
10559
  variant: "outlined",
10541
- className: ld.subTitle,
10560
+ className: cd.subTitle,
10542
10561
  style: d?.subTitle,
10543
10562
  children: a
10544
10563
  })]
@@ -10552,26 +10571,26 @@ var Xu = Y.div`
10552
10571
  children: i
10553
10572
  })]
10554
10573
  })] }), p);
10555
- }, dd = {
10574
+ }, ud = {
10556
10575
  buttonWrapper: "styles-module__buttonWrapper___wwKZl",
10557
10576
  wrapper: "styles-module__wrapper___FITtv",
10558
10577
  tips: "styles-module__tips___xnrzu",
10559
10578
  button: "styles-module__button___mqt3w",
10560
10579
  label: "styles-module__label___wq9YF"
10561
- }, fd = (e) => {
10580
+ }, dd = (e) => {
10562
10581
  let { label: t, value: n, defaultValue: r, children: i, description: a, onChange: o, showSwitch: s = !0, styles: c, action: l } = e, u = n !== void 0, [d, f] = B(r ?? !1), p = u ? !!n : d, m = (e) => {
10563
10582
  u || f(e), o?.(e);
10564
10583
  };
10565
10584
  return /* @__PURE__ */ U("div", {
10566
- className: dd.wrapper,
10585
+ className: ud.wrapper,
10567
10586
  style: { ...c?.wrapper },
10568
10587
  children: [
10569
10588
  /* @__PURE__ */ U("div", {
10570
- className: dd.buttonWrapper,
10589
+ className: ud.buttonWrapper,
10571
10590
  style: { ...c?.checkboxWrapper },
10572
10591
  children: [
10573
10592
  /* @__PURE__ */ H("span", {
10574
- className: dd.label,
10593
+ className: ud.label,
10575
10594
  style: { ...c?.label },
10576
10595
  children: /* @__PURE__ */ H("span", { children: t })
10577
10596
  }),
@@ -10589,7 +10608,7 @@ var Xu = Y.div`
10589
10608
  p && /* @__PURE__ */ H("div", { children: i })
10590
10609
  ]
10591
10610
  });
10592
- }, pd = (e) => {
10611
+ }, fd = (e) => {
10593
10612
  let { title: t, style: n, align: r, firstCell: i, lastCell: a, sortOrder: s, sortDirections: c = [
10594
10613
  "ascend",
10595
10614
  "descend",
@@ -10644,7 +10663,7 @@ var Xu = Y.div`
10644
10663
  })
10645
10664
  })
10646
10665
  });
10647
- }, md = (e) => {
10666
+ }, pd = (e) => {
10648
10667
  let { onSort: t, sortDirections: n, sorterList: r, showSorterTooltip: i } = e;
10649
10668
  return /* @__PURE__ */ H(xt, {
10650
10669
  className: "row",
@@ -10652,7 +10671,7 @@ var Xu = Y.div`
10652
10671
  let { title: s, dataIndex: c, align: l, width: u, span: d, headerStyle: f, sortOrder: p, sorter: m, defaultSortOrder: h } = a;
10653
10672
  return /* @__PURE__ */ H(st, {
10654
10673
  span: d,
10655
- children: /* @__PURE__ */ H(pd, {
10674
+ children: /* @__PURE__ */ H(fd, {
10656
10675
  onSort: t,
10657
10676
  showSorterTooltip: i,
10658
10677
  sorter: m,
@@ -10671,7 +10690,7 @@ var Xu = Y.div`
10671
10690
  }, c || o);
10672
10691
  })
10673
10692
  });
10674
- }, hd = (e) => {
10693
+ }, md = (e) => {
10675
10694
  let { hasColumns: t, expandable: n, enableSelection: r, onSelectAll: i, onExpandAll: a, indeterminate: s, selectAll: c, expandAll: l, disabled: u } = e;
10676
10695
  o();
10677
10696
  let d = () => {
@@ -10724,13 +10743,13 @@ var Xu = Y.div`
10724
10743
  className: "header-row-prefix-wrapper",
10725
10744
  children: /* @__PURE__ */ H(K, { disabled: u })
10726
10745
  }) : null : null;
10727
- }, gd = (e) => {
10746
+ }, hd = (e) => {
10728
10747
  let { children: t } = e;
10729
10748
  return /* @__PURE__ */ H("div", {
10730
10749
  className: "row-children",
10731
10750
  children: t
10732
10751
  });
10733
- }, _d = E.createContext({}), vd = E.createContext({}), yd = Y.div`
10752
+ }, gd = E.createContext({}), _d = E.createContext({}), vd = Y.div`
10734
10753
  width: 30px;
10735
10754
  margin-right: 5px;
10736
10755
  &.disable-expand {
@@ -10738,11 +10757,11 @@ var Xu = Y.div`
10738
10757
  display: none;
10739
10758
  }
10740
10759
  }
10741
- `, bd = (e) => {
10760
+ `, yd = (e) => {
10742
10761
  let { expandable: t, enableSelection: n, expanded: r, checked: i, disableExpand: a, handleRowExpand: o, handleSelectChange: s } = e, c = R(() => r, [r]);
10743
10762
  return t && n ? /* @__PURE__ */ U("div", {
10744
10763
  className: "row-prefix-wrapper",
10745
- children: [/* @__PURE__ */ H(yd, {
10764
+ children: [/* @__PURE__ */ H(vd, {
10746
10765
  className: (0, X.default)({ "disable-expand": a }),
10747
10766
  children: Z.default.isBoolean(t) ? /* @__PURE__ */ H(G, {
10748
10767
  type: "text",
@@ -10760,7 +10779,7 @@ var Xu = Y.div`
10760
10779
  })]
10761
10780
  }) : t ? /* @__PURE__ */ H("div", {
10762
10781
  className: "row-prefix-wrapper",
10763
- children: /* @__PURE__ */ H(yd, {
10782
+ children: /* @__PURE__ */ H(vd, {
10764
10783
  className: (0, X.default)({ "disable-expand": a }),
10765
10784
  children: Z.default.isBoolean(t) ? /* @__PURE__ */ H(G, {
10766
10785
  type: "text",
@@ -10781,11 +10800,11 @@ var Xu = Y.div`
10781
10800
  checked: i
10782
10801
  })
10783
10802
  }) : null;
10784
- }, xd = Y.div`
10803
+ }, bd = Y.div`
10785
10804
  max-width: 100%;
10786
10805
  display: flex;
10787
10806
  align-items: center;
10788
- `, Sd = (e) => {
10807
+ `, xd = (e) => {
10789
10808
  let t = o(), { isEditing: n, editable: r, handleSubmit: i, handleUndo: a, handleEdit: s } = e;
10790
10809
  return r ? n ? /* @__PURE__ */ U("span", {
10791
10810
  className: "flex-column",
@@ -10821,7 +10840,7 @@ var Xu = Y.div`
10821
10840
  })
10822
10841
  }, "edit")
10823
10842
  }) : null;
10824
- }, Cd = (e) => {
10843
+ }, Sd = (e) => {
10825
10844
  let { editable: t, current: n, isEditing: r, row: i, render: a, onChange: o } = e;
10826
10845
  return r && t ? typeof t == "object" && t?.valueType === "number" ? /* @__PURE__ */ H(gt, {
10827
10846
  style: { width: "80px" },
@@ -10832,9 +10851,9 @@ var Xu = Y.div`
10832
10851
  value: n,
10833
10852
  onChange: (e) => o(e.target.value)
10834
10853
  }) : a ? a(n, i) : n;
10835
- }, wd = (e) => {
10836
- let { row: t, onCell: n } = P(_d), { dataIndex: r, render: i, editable: a } = e, [o, s] = E.useState(!1), [c, l] = E.useState(null);
10837
- return /* @__PURE__ */ U(xd, { children: [/* @__PURE__ */ H(Cd, {
10854
+ }, Cd = (e) => {
10855
+ let { row: t, onCell: n } = P(gd), { dataIndex: r, render: i, editable: a } = e, [o, s] = E.useState(!1), [c, l] = E.useState(null);
10856
+ return /* @__PURE__ */ U(bd, { children: [/* @__PURE__ */ H(Sd, {
10838
10857
  onChange: (e) => {
10839
10858
  l(e);
10840
10859
  },
@@ -10843,7 +10862,7 @@ var Xu = Y.div`
10843
10862
  current: o ? c : t[r],
10844
10863
  row: t,
10845
10864
  render: i
10846
- }), /* @__PURE__ */ H(Sd, {
10865
+ }), /* @__PURE__ */ H(xd, {
10847
10866
  editable: a,
10848
10867
  isEditing: o,
10849
10868
  handleEdit: () => {
@@ -10863,7 +10882,7 @@ var Xu = Y.div`
10863
10882
  s(!1);
10864
10883
  }
10865
10884
  })] });
10866
- }, Td = Y.div`
10885
+ }, wd = Y.div`
10867
10886
  padding: var(--ant-table-cell-padding-block)
10868
10887
  var(--ant-table-cell-padding-inline);
10869
10888
  display: flex;
@@ -10886,22 +10905,22 @@ var Xu = Y.div`
10886
10905
  &.center {
10887
10906
  justify-content: center;
10888
10907
  }
10889
- `, Ed = (e) => {
10908
+ `, Td = (e) => {
10890
10909
  let { dataIndex: t, render: n, align: r, editable: i, dataField: a } = e;
10891
- return /* @__PURE__ */ H(Td, {
10910
+ return /* @__PURE__ */ H(wd, {
10892
10911
  className: (0, X.default)("cell", {
10893
10912
  left: r === "left",
10894
10913
  center: r === "center",
10895
10914
  right: r === "right"
10896
10915
  }),
10897
- children: /* @__PURE__ */ H(wd, {
10916
+ children: /* @__PURE__ */ H(Cd, {
10898
10917
  dataIndex: a || t,
10899
10918
  render: n,
10900
10919
  editable: i
10901
10920
  })
10902
10921
  });
10903
- }, Dd = (e) => {
10904
- let { record: t, rowIndex: n, expandable: r, rowSelection: i, expandedRowKeys: a = [], rowKey: o, childParentKey: s, columns: c, pollingChildren: l, watchChildren: u, onCell: d, onExpand: f, renderChildren: p, loadChildren: m, loadChildrenAPI: h } = e, g = E.useContext(vd), [_, v] = B([]), [y, b] = B(!1), x = z(null), S = z(null), C = z([]);
10922
+ }, Ed = (e) => {
10923
+ let { record: t, rowIndex: n, expandable: r, rowSelection: i, expandedRowKeys: a = [], rowKey: o, childParentKey: s, columns: c, pollingChildren: l, watchChildren: u, onCell: d, onExpand: f, renderChildren: p, loadChildren: m, loadChildrenAPI: h } = e, g = E.useContext(_d), [_, v] = B([]), [y, b] = B(!1), x = z(null), S = z(null), C = z([]);
10905
10924
  C.current = _;
10906
10925
  let w = z(null), [T, D] = B(!0), [O, k] = B(!1);
10907
10926
  F(() => () => {
@@ -10952,7 +10971,7 @@ var Xu = Y.div`
10952
10971
  };
10953
10972
  }, []), F(() => (T && I(), () => {
10954
10973
  S.current?.current?.cancel?.();
10955
- }), [T, g.allChildren]), /* @__PURE__ */ H(_d.Provider, {
10974
+ }), [T, g.allChildren]), /* @__PURE__ */ H(gd.Provider, {
10956
10975
  value: {
10957
10976
  row: {
10958
10977
  ...t,
@@ -10964,7 +10983,7 @@ var Xu = Y.div`
10964
10983
  className: "row-box",
10965
10984
  children: [/* @__PURE__ */ U("div", {
10966
10985
  className: (0, X.default)("row-wrapper", { "row-wrapper-selected": j }),
10967
- children: [/* @__PURE__ */ H(bd, {
10986
+ children: [/* @__PURE__ */ H(yd, {
10968
10987
  expandable: r,
10969
10988
  enableSelection: i?.enableSelection,
10970
10989
  expanded: A,
@@ -10976,7 +10995,7 @@ var Xu = Y.div`
10976
10995
  className: "seal-table-row",
10977
10996
  children: c?.map(({ key: e, ...t }) => /* @__PURE__ */ H(st, {
10978
10997
  span: t.span,
10979
- children: /* @__PURE__ */ H(Ed, { ...t })
10998
+ children: /* @__PURE__ */ H(Td, { ...t })
10980
10999
  }, `${t.dataIndex}-${n}`))
10981
11000
  })]
10982
11001
  }), A && !V && /* @__PURE__ */ H("div", {
@@ -10989,9 +11008,9 @@ var Xu = Y.div`
10989
11008
  })]
10990
11009
  })
10991
11010
  });
10992
- }, Od = ({ dataSource: e, rowKey: t, rowSelection: n, expandable: r, expandedRowKeys: i, onExpand: a, childParentKey: o, pollingChildren: s, watchChildren: c, renderChildren: l, loadChildren: u, loadChildrenAPI: d, columns: f, onCell: p, empty: m }) => e.length ? /* @__PURE__ */ H("div", {
11011
+ }, Dd = ({ dataSource: e, rowKey: t, rowSelection: n, expandable: r, expandedRowKeys: i, onExpand: a, childParentKey: o, pollingChildren: s, watchChildren: c, renderChildren: l, loadChildren: u, loadChildrenAPI: d, columns: f, onCell: p, empty: m }) => e.length ? /* @__PURE__ */ H("div", {
10993
11012
  className: "seal-table-content",
10994
- children: e.map((e, m) => /* @__PURE__ */ H(Dd, {
11013
+ children: e.map((e, m) => /* @__PURE__ */ H(Ed, {
10995
11014
  record: e,
10996
11015
  rowIndex: m,
10997
11016
  columns: f,
@@ -11011,7 +11030,7 @@ var Xu = Y.div`
11011
11030
  }) : /* @__PURE__ */ H("div", {
11012
11031
  className: "empty-wrapper",
11013
11032
  children: m || /* @__PURE__ */ H(ft, { image: ft.PRESENTED_IMAGE_SIMPLE })
11014
- }), kd = (e) => {
11033
+ }), Od = (e) => {
11015
11034
  let t = e.filter((e) => e.defaultSortOrder);
11016
11035
  return t.length === 0 ? [] : t.map((e) => ({
11017
11036
  columnKey: e.key || e.dataIndex,
@@ -11019,8 +11038,8 @@ var Xu = Y.div`
11019
11038
  order: e.defaultSortOrder || null
11020
11039
  }));
11021
11040
  };
11022
- function Ad(e) {
11023
- let { onTableSort: t, columns: n } = e, r = z(kd(n || [])), [i, a] = B(kd(n || []));
11041
+ function kd(e) {
11042
+ let { onTableSort: t, columns: n } = e, r = z(Od(n || [])), [i, a] = B(Od(n || []));
11024
11043
  return {
11025
11044
  sorterListRef: r,
11026
11045
  sorterList: i,
@@ -11047,7 +11066,7 @@ function Ad(e) {
11047
11066
  }
11048
11067
  //#endregion
11049
11068
  //#region src/lib/components/table/index.tsx
11050
- var jd = Y.div`
11069
+ var Ad = Y.div`
11051
11070
  width: 100%;
11052
11071
  --ant-table-cell-padding-inline: ${(e) => e.$token.cellPaddingInline}px;
11053
11072
  --ant-table-cell-padding-block: ${(e) => e.$token.cellPaddingBlock}px;
@@ -11058,8 +11077,8 @@ var jd = Y.div`
11058
11077
  --ant-table-row-hover-bg: ${(e) => e.$token.rowHoverBg};
11059
11078
  --ant-table-header-icon-color: ${(e) => e.$token.tableHeaderIconColor};
11060
11079
  --ant-table-header-icon-hover-color: ${(e) => e.$token.tableHeaderIconHoverColor};
11061
- `, Md = (e) => {
11062
- let { columns: t, children: n, rowKey: r, childParentKey: i, onExpand: a, onExpandAll: o, onTableSort: s, onCell: c, expandedRowKeys: l, loading: u, loadend: d, expandable: f, pollingChildren: p, watchChildren: m, rowSelection: h, pagination: g, empty: _, sortDirections: v, showSorterTooltip: y, renderChildren: b, loadChildren: x, loadChildrenAPI: S } = e, { handleOnTableSort: C, sorterList: w } = Ad({
11080
+ `, jd = (e) => {
11081
+ let { columns: t, children: n, rowKey: r, childParentKey: i, onExpand: a, onExpandAll: o, onTableSort: s, onCell: c, expandedRowKeys: l, loading: u, loadend: d, expandable: f, pollingChildren: p, watchChildren: m, rowSelection: h, pagination: g, empty: _, sortDirections: v, showSorterTooltip: y, renderChildren: b, loadChildren: x, loadChildrenAPI: S } = e, { handleOnTableSort: C, sorterList: w } = kd({
11063
11082
  onTableSort: s,
11064
11083
  columns: t
11065
11084
  }), { token: T } = Lt.useToken(), D = R(() => t || E.Children.toArray(n).filter(E.isValidElement).map((e) => {
@@ -11111,7 +11130,7 @@ var jd = Y.div`
11111
11130
  }, F = (e, t) => {
11112
11131
  g?.onShowSizeChange?.(e, t);
11113
11132
  };
11114
- return console.log("token.table", T), /* @__PURE__ */ U(jd, {
11133
+ return console.log("token.table", T), /* @__PURE__ */ U(Ad, {
11115
11134
  $token: {
11116
11135
  ...T.Table,
11117
11136
  tableHeaderIconColor: T.colorTextQuaternary,
@@ -11122,7 +11141,7 @@ var jd = Y.div`
11122
11141
  className: "seal-table-container",
11123
11142
  children: [/* @__PURE__ */ U("div", {
11124
11143
  className: "header-row-wrapper",
11125
- children: [/* @__PURE__ */ H(hd, {
11144
+ children: [/* @__PURE__ */ H(md, {
11126
11145
  selectAll: k.selectAll,
11127
11146
  indeterminate: k.indeterminate,
11128
11147
  onSelectAll: M,
@@ -11132,7 +11151,7 @@ var jd = Y.div`
11132
11151
  enableSelection: h?.enableSelection,
11133
11152
  disabled: !e.dataSource?.length,
11134
11153
  hasColumns: D.length > 0
11135
- }), /* @__PURE__ */ H(md, {
11154
+ }), /* @__PURE__ */ H(pd, {
11136
11155
  onSort: C,
11137
11156
  columns: D,
11138
11157
  sortDirections: v,
@@ -11142,7 +11161,7 @@ var jd = Y.div`
11142
11161
  }), /* @__PURE__ */ H(Dt, {
11143
11162
  spinning: u,
11144
11163
  size: "middle",
11145
- children: /* @__PURE__ */ H(Od, {
11164
+ children: /* @__PURE__ */ H(Dd, {
11146
11165
  empty: _,
11147
11166
  dataSource: e.dataSource,
11148
11167
  columns: D,
@@ -11170,22 +11189,22 @@ var jd = Y.div`
11170
11189
  })]
11171
11190
  });
11172
11191
  };
11173
- Md.RowChildren = gd;
11192
+ jd.RowChildren = hd;
11174
11193
  //#endregion
11175
11194
  //#region src/lib/components/table/table-provider.tsx
11176
- var Nd = ({ value: e, children: t }) => /* @__PURE__ */ H(vd.Provider, {
11195
+ var Md = ({ value: e, children: t }) => /* @__PURE__ */ H(_d.Provider, {
11177
11196
  value: e,
11178
11197
  children: t
11179
- }), Pd = ({ value: e, children: t }) => /* @__PURE__ */ H(_d.Provider, {
11198
+ }), Nd = ({ value: e, children: t }) => /* @__PURE__ */ H(gd.Provider, {
11180
11199
  value: e,
11181
11200
  children: t
11182
- }), Fd = (e) => {
11201
+ }), Pd = (e) => {
11183
11202
  let { gap: t = 0, dataList: n, renderTag: r } = e, i = z(null), [a, o] = B({
11184
11203
  start: 0,
11185
11204
  end: n.length
11186
11205
  }), s = z(null), c = z(null), l = z(0), u = z([]), d = () => {
11187
11206
  let e = s.current?.offsetWidth || 0, r = i.current?.childNodes, d = u.current;
11188
- if (!d.length && r?.length && (d = Z.default.map(r, (e, n) => n === r.length - 1 ? e?.offsetWidth : e?.offsetWidth + t), u.current = d), e === 0 || !d.length) return;
11207
+ if (!d.length && r?.length && (d = Array.from(r).map((e, n) => n === r.length - 1 ? e.offsetWidth : e.offsetWidth + t), u.current = d), e === 0 || !d.length) return;
11189
11208
  c.current?.offsetWidth && (l.current = c.current?.offsetWidth + t);
11190
11209
  let f = 0, p = n.length;
11191
11210
  for (let t = 0; t < d.length; t++) {
@@ -11243,7 +11262,7 @@ var Nd = ({ value: e, children: t }) => /* @__PURE__ */ H(vd.Provider, {
11243
11262
  })]
11244
11263
  })
11245
11264
  });
11246
- }, Id = Y(jt)`
11265
+ }, Fd = Y(jt)`
11247
11266
  display: flex;
11248
11267
  align-items: center;
11249
11268
  justify-content: center;
@@ -11253,9 +11272,9 @@ var Nd = ({ value: e, children: t }) => /* @__PURE__ */ H(vd.Provider, {
11253
11272
  height: 22px;
11254
11273
  opacity: 0.7;
11255
11274
  margin: 0;
11256
- `, Ld = ({ opacity: e, style: t, children: n, ...r }) => {
11275
+ `, Id = ({ opacity: e, style: t, children: n, ...r }) => {
11257
11276
  let { config: i } = a(), { isDarkTheme: o } = i;
11258
- return /* @__PURE__ */ H(Id, {
11277
+ return /* @__PURE__ */ H(Fd, {
11259
11278
  ...r,
11260
11279
  variant: "outlined",
11261
11280
  style: {
@@ -11265,10 +11284,10 @@ var Nd = ({ value: e, children: t }) => /* @__PURE__ */ H(vd.Provider, {
11265
11284
  children: n
11266
11285
  });
11267
11286
  };
11268
- Ld.displayName = "ThemeTag";
11287
+ Id.displayName = "ThemeTag";
11269
11288
  //#endregion
11270
11289
  //#region src/lib/components/templates/card.tsx
11271
- var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
11290
+ var Ld = Y.div.attrs({ className: "template-card-wrapper" })`
11272
11291
  overflow: hidden;
11273
11292
  display: flex;
11274
11293
  padding: 16px 16px;
@@ -11305,31 +11324,31 @@ var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
11305
11324
  pointer-events: none;
11306
11325
  border-style: dashed;
11307
11326
  }
11308
- `, zd = Y.div.attrs({ className: "template-card-content" })`
11327
+ `, Rd = Y.div.attrs({ className: "template-card-content" })`
11309
11328
  width: 100%;
11310
11329
  flex: 1;
11311
11330
  color: var(--ant-color-text-tertiary);
11312
- `, Bd = Y.div.attrs({ className: "template-card-inner" })`
11331
+ `, zd = Y.div.attrs({ className: "template-card-inner" })`
11313
11332
  display: flex;
11314
11333
  width: 100%;
11315
11334
  flex-direction: column;
11316
11335
  justify-content: flex-start;
11317
11336
  gap: 8px;
11318
11337
  height: 100%;
11319
- `, Vd = Y.div.attrs({ className: "template-card-icon" })`
11338
+ `, Bd = Y.div.attrs({ className: "template-card-icon" })`
11320
11339
  display: flex;
11321
11340
  align-items: center;
11322
11341
  margin-right: 16px;
11323
11342
  font-size: 32px;
11324
- `, Hd = Y.div.attrs({ className: "template-card-header" })`
11343
+ `, Vd = Y.div.attrs({ className: "template-card-header" })`
11325
11344
  font-weight: bold;
11326
11345
  font-size: var(--font-size-base);
11327
11346
  display: flex;
11328
11347
  align-items: center;
11329
11348
  justify-content: space-between;
11330
- `, Ud = (e) => {
11349
+ `, Hd = (e) => {
11331
11350
  let { className: t, height: n, children: r, clickable: i = !0, ghost: a = !1, header: o, footer: s, icon: c, active: l, disabled: u, hoverable: d, onClick: f } = e;
11332
- return /* @__PURE__ */ U(Rd, {
11351
+ return /* @__PURE__ */ U(Ld, {
11333
11352
  className: (0, X.default)(t, {
11334
11353
  clickable: i,
11335
11354
  hoverable: d,
@@ -11341,17 +11360,17 @@ var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
11341
11360
  onClick: () => {
11342
11361
  u || !i || f?.();
11343
11362
  },
11344
- children: [c && /* @__PURE__ */ H(Vd, { children: c }), /* @__PURE__ */ U(Bd, { children: [
11345
- o && /* @__PURE__ */ H(Hd, { children: o }),
11346
- r && /* @__PURE__ */ H(zd, { children: r }),
11363
+ children: [c && /* @__PURE__ */ H(Bd, { children: c }), /* @__PURE__ */ U(zd, { children: [
11364
+ o && /* @__PURE__ */ H(Vd, { children: o }),
11365
+ r && /* @__PURE__ */ H(Rd, { children: r }),
11347
11366
  s
11348
11367
  ] })]
11349
11368
  });
11350
- }, Wd = Y.div`
11369
+ }, Ud = Y.div`
11351
11370
  .ant-skeleton-paragraph {
11352
11371
  margin-bottom: 0;
11353
11372
  }
11354
- `, Gd = (e) => /* @__PURE__ */ H(Ol, {
11373
+ `, Wd = (e) => /* @__PURE__ */ H(Dl, {
11355
11374
  dataList: [
11356
11375
  ,
11357
11376
  ,
@@ -11360,7 +11379,7 @@ var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
11360
11379
  ,
11361
11380
  ,
11362
11381
  ].fill({ label: "skeleton" }),
11363
- renderItem: () => /* @__PURE__ */ H(Wd, { children: /* @__PURE__ */ H(wt, {
11382
+ renderItem: () => /* @__PURE__ */ H(Ud, { children: /* @__PURE__ */ H(wt, {
11364
11383
  avatar: { size: 32 },
11365
11384
  paragraph: { rows: 2 },
11366
11385
  style: {
@@ -11371,7 +11390,7 @@ var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
11371
11390
  },
11372
11391
  ...e.skeletonProps || {}
11373
11392
  }) })
11374
- }), Kd = Y.div`
11393
+ }), Gd = Y.div`
11375
11394
  width: 100%;
11376
11395
  position: absolute;
11377
11396
  display: flex;
@@ -11384,30 +11403,30 @@ var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
11384
11403
  .skelton-wrapper {
11385
11404
  width: 100%;
11386
11405
  }
11387
- `, qd = ({ loading: e, isFirst: t }) => /* @__PURE__ */ H("div", { children: e && /* @__PURE__ */ H(Kd, { children: /* @__PURE__ */ H(Dt, {
11406
+ `, Kd = ({ loading: e, isFirst: t }) => /* @__PURE__ */ H("div", { children: e && /* @__PURE__ */ H(Gd, { children: /* @__PURE__ */ H(Dt, {
11388
11407
  size: "middle",
11389
11408
  spinning: e,
11390
11409
  style: { width: "100%" },
11391
11410
  classNames: { root: "skelton-wrapper" },
11392
- children: t && /* @__PURE__ */ H(Gd, {})
11393
- }) }) }), Jd = (e) => {
11394
- let { dataList: t, loading: n, isFirst: r, defaultSpan: i = 8, resizable: a = !0, renderItem: o } = e, { total: s, current: c, loading: l, refresh: u } = Rc();
11395
- return /* @__PURE__ */ U(Ic, {
11411
+ children: t && /* @__PURE__ */ H(Wd, {})
11412
+ }) }) }), qd = (e) => {
11413
+ let { dataList: t, loading: n, isFirst: r, defaultSpan: i = 8, resizable: a = !0, renderItem: o } = e, { total: s, current: c, loading: l, refresh: u } = Lc();
11414
+ return /* @__PURE__ */ U(Fc, {
11396
11415
  total: s,
11397
11416
  current: c,
11398
11417
  loading: l,
11399
11418
  refresh: u,
11400
- children: [/* @__PURE__ */ H(Ol, {
11419
+ children: [/* @__PURE__ */ H(Dl, {
11401
11420
  dataList: t,
11402
11421
  renderItem: o,
11403
11422
  defaultSpan: i,
11404
11423
  resizable: a
11405
- }), /* @__PURE__ */ H(qd, {
11424
+ }), /* @__PURE__ */ H(Kd, {
11406
11425
  loading: n,
11407
11426
  isFirst: r
11408
11427
  })]
11409
11428
  });
11410
- }, Yd = /* @__PURE__ */ n(((e, t) => {
11429
+ }, Jd = /* @__PURE__ */ n(((e, t) => {
11411
11430
  (function(n, r) {
11412
11431
  typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.FitAddon = r() : n.FitAddon = r();
11413
11432
  })(self, (() => (() => {
@@ -11438,7 +11457,7 @@ var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
11438
11457
  };
11439
11458
  })(), e;
11440
11459
  })()));
11441
- })), Xd = /* @__PURE__ */ n(((e, t) => {
11460
+ })), Yd = /* @__PURE__ */ n(((e, t) => {
11442
11461
  (function(n, r) {
11443
11462
  if (typeof e == "object" && typeof t == "object") t.exports = r();
11444
11463
  else if (typeof define == "function" && define.amd) define([], r);
@@ -18545,9 +18564,9 @@ var Rd = Y.div.attrs({ className: "template-card-wrapper" })`
18545
18564
  e.Terminal = d;
18546
18565
  })(), r;
18547
18566
  })()));
18548
- })), Zd = Yd();
18549
- Xd();
18550
- var Qd = Rt(({ token: e, css: t }) => ({
18567
+ })), Xd = Jd();
18568
+ Yd();
18569
+ var Zd = Rt(({ token: e, css: t }) => ({
18551
18570
  wrap: t`
18552
18571
  position: relative;
18553
18572
  text-align: left;
@@ -18566,16 +18585,16 @@ var Qd = Rt(({ token: e, css: t }) => ({
18566
18585
  background-color: var(--color-logs-bg);
18567
18586
  border-radius: 0 0 8px 8px;
18568
18587
  `
18569
- })), $d = [
18588
+ })), Qd = [
18570
18589
  "bash",
18571
18590
  "sh",
18572
18591
  "powershell",
18573
18592
  "pwsh",
18574
18593
  "cmd",
18575
18594
  "bash"
18576
- ], ef = "--- press Y to reconnect! ---", tf = A((e, t) => {
18577
- let { height: n, url: r, theme: i } = e, { styles: a } = Qd(), o = E.useRef(null), s = E.useRef(null), c = E.useRef(null), l = E.useRef(""), u = E.useRef(0), d = E.useRef(null), f = E.useRef(5), p = E.useRef(5), h = E.useRef(!0), g = E.useRef(!1), _ = E.useRef(null), v = E.useRef(!1), y = E.useRef(0), [b, x] = E.useState(0), S = new Zd.FitAddon(), C = (e) => {
18578
- u.current >= $d.length - 1 || (e ? u.current = 0 : u.current += 1, l.current = `${r}&${m.stringify({ shell: $d[u.current] })}`);
18595
+ ], $d = "--- press Y to reconnect! ---", ef = A((e, t) => {
18596
+ let { height: n, url: r, theme: i } = e, { styles: a } = Zd(), o = E.useRef(null), s = E.useRef(null), c = E.useRef(null), l = E.useRef(""), u = E.useRef(0), d = E.useRef(null), f = E.useRef(5), p = E.useRef(5), h = E.useRef(!0), g = E.useRef(!1), _ = E.useRef(null), v = E.useRef(!1), y = E.useRef(0), [b, x] = E.useState(0), S = new Xd.FitAddon(), C = (e) => {
18597
+ u.current >= Qd.length - 1 || (e ? u.current = 0 : u.current += 1, l.current = `${r}&${m.stringify({ shell: Qd[u.current] })}`);
18579
18598
  }, w = () => (d.current && d.current.readyState) === 1, T = () => {
18580
18599
  let { cols: e, rows: t } = c.current || {};
18581
18600
  w() && d.current?.send(`#{"width":${e},"height":${t}}#`);
@@ -18598,7 +18617,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
18598
18617
  1011,
18599
18618
  1006,
18600
18619
  1e3
18601
- ].includes(b) ? (v.current = !0, h.current && c.current?.reset?.(), g.current || (c.current?.write?.(j(`(${b})${e.reason}\r\n`)), c.current?.write?.(M(`\r${ef}`))), h.current = !0) : e.reason && c.current?.write?.(j(`(${b})${e.reason}\r\n`)), g.current = !1;
18620
+ ].includes(b) ? (v.current = !0, h.current && c.current?.reset?.(), g.current || (c.current?.write?.(j(`(${b})${e.reason}\r\n`)), c.current?.write?.(M(`\r${$d}`))), h.current = !0) : e.reason && c.current?.write?.(j(`(${b})${e.reason}\r\n`)), g.current = !1;
18602
18621
  }, R = (e) => {
18603
18622
  let { message: t } = e;
18604
18623
  t || (t = "disconnected!", v.current = !0, h.current = !0, g.current = !1), y.current = d.current.readyState, c.current?.write?.(M(`\r${t}`));
@@ -18632,55 +18651,55 @@ var Qd = Rt(({ token: e, css: t }) => ({
18632
18651
  for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
18633
18652
  return e;
18634
18653
  }, $.apply(this, arguments);
18635
- }, nf = {
18654
+ }, tf = {
18636
18655
  width: "100%",
18637
18656
  height: "10px",
18638
18657
  top: "0px",
18639
18658
  left: "0px",
18640
18659
  cursor: "row-resize"
18641
- }, rf = {
18660
+ }, nf = {
18642
18661
  width: "10px",
18643
18662
  height: "100%",
18644
18663
  top: "0px",
18645
18664
  left: "0px",
18646
18665
  cursor: "col-resize"
18647
- }, af = {
18666
+ }, rf = {
18648
18667
  width: "20px",
18649
18668
  height: "20px",
18650
18669
  position: "absolute",
18651
18670
  zIndex: 1
18652
- }, of = {
18653
- top: $($({}, nf), { top: "-5px" }),
18654
- right: $($({}, rf), {
18671
+ }, af = {
18672
+ top: $($({}, tf), { top: "-5px" }),
18673
+ right: $($({}, nf), {
18655
18674
  left: void 0,
18656
18675
  right: "-5px"
18657
18676
  }),
18658
- bottom: $($({}, nf), {
18677
+ bottom: $($({}, tf), {
18659
18678
  top: void 0,
18660
18679
  bottom: "-5px"
18661
18680
  }),
18662
- left: $($({}, rf), { left: "-5px" }),
18663
- topRight: $($({}, af), {
18681
+ left: $($({}, nf), { left: "-5px" }),
18682
+ topRight: $($({}, rf), {
18664
18683
  right: "-10px",
18665
18684
  top: "-10px",
18666
18685
  cursor: "ne-resize"
18667
18686
  }),
18668
- bottomRight: $($({}, af), {
18687
+ bottomRight: $($({}, rf), {
18669
18688
  right: "-10px",
18670
18689
  bottom: "-10px",
18671
18690
  cursor: "se-resize"
18672
18691
  }),
18673
- bottomLeft: $($({}, af), {
18692
+ bottomLeft: $($({}, rf), {
18674
18693
  left: "-10px",
18675
18694
  bottom: "-10px",
18676
18695
  cursor: "sw-resize"
18677
18696
  }),
18678
- topLeft: $($({}, af), {
18697
+ topLeft: $($({}, rf), {
18679
18698
  left: "-10px",
18680
18699
  top: "-10px",
18681
18700
  cursor: "nw-resize"
18682
18701
  })
18683
- }, sf = M(function(e) {
18702
+ }, of = M(function(e) {
18684
18703
  var t = e.onResizeStart, n = e.direction, r = e.children, i = e.replaceStyles, a = e.className, o = N(function(e) {
18685
18704
  t(e, n);
18686
18705
  }, [t, n]), s = N(function(e) {
@@ -18689,7 +18708,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
18689
18708
  return $($({
18690
18709
  position: "absolute",
18691
18710
  userSelect: "none"
18692
- }, of[n]), i ?? {});
18711
+ }, af[n]), i ?? {});
18693
18712
  }, [i, n]);
18694
18713
  return H("div", {
18695
18714
  className: a || void 0,
@@ -18698,7 +18717,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
18698
18717
  onTouchStart: s,
18699
18718
  children: r
18700
18719
  });
18701
- }), cf = (function() {
18720
+ }), sf = (function() {
18702
18721
  var e = function(t, n) {
18703
18722
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
18704
18723
  e.__proto__ = t;
@@ -18714,34 +18733,34 @@ var Qd = Rt(({ token: e, css: t }) => ({
18714
18733
  }
18715
18734
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
18716
18735
  };
18717
- })(), lf = function() {
18718
- return lf = Object.assign || function(e) {
18736
+ })(), cf = function() {
18737
+ return cf = Object.assign || function(e) {
18719
18738
  for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
18720
18739
  return e;
18721
- }, lf.apply(this, arguments);
18722
- }, uf = {
18740
+ }, cf.apply(this, arguments);
18741
+ }, lf = {
18723
18742
  width: "auto",
18724
18743
  height: "auto"
18725
- }, df = function(e, t, n) {
18744
+ }, uf = function(e, t, n) {
18726
18745
  return Math.max(Math.min(e, n), t);
18727
- }, ff = function(e, t, n) {
18746
+ }, df = function(e, t, n) {
18728
18747
  var r = Math.round(e / t);
18729
18748
  return r * t + n * (r - 1);
18730
- }, pf = function(e, t) {
18749
+ }, ff = function(e, t) {
18731
18750
  return new RegExp(e, "i").test(t);
18732
- }, mf = function(e) {
18751
+ }, pf = function(e) {
18733
18752
  return !!(e.touches && e.touches.length);
18734
- }, hf = function(e) {
18753
+ }, mf = function(e) {
18735
18754
  return !!((e.clientX || e.clientX === 0) && (e.clientY || e.clientY === 0));
18736
- }, gf = function(e, t, n) {
18755
+ }, hf = function(e, t, n) {
18737
18756
  n === void 0 && (n = 0);
18738
18757
  var r = t.reduce(function(n, r, i) {
18739
18758
  return Math.abs(r - e) < Math.abs(t[n] - e) ? i : n;
18740
18759
  }, 0), i = Math.abs(t[r] - e);
18741
18760
  return n === 0 || i < n ? t[r] : e;
18742
- }, _f = function(e) {
18761
+ }, gf = function(e) {
18743
18762
  return e = e.toString(), e === "auto" || e.endsWith("px") || e.endsWith("%") || e.endsWith("vh") || e.endsWith("vw") || e.endsWith("vmax") || e.endsWith("vmin") ? e : `${e}px`;
18744
- }, vf = function(e, t, n, r) {
18763
+ }, _f = function(e, t, n, r) {
18745
18764
  if (e && typeof e == "string") {
18746
18765
  if (e.endsWith("px")) return Number(e.replace("px", ""));
18747
18766
  if (e.endsWith("%")) {
@@ -18758,17 +18777,17 @@ var Qd = Rt(({ token: e, css: t }) => ({
18758
18777
  }
18759
18778
  }
18760
18779
  return e;
18761
- }, yf = function(e, t, n, r, i, a, o) {
18762
- return r = vf(r, e.width, t, n), i = vf(i, e.height, t, n), a = vf(a, e.width, t, n), o = vf(o, e.height, t, n), {
18780
+ }, vf = function(e, t, n, r, i, a, o) {
18781
+ return r = _f(r, e.width, t, n), i = _f(i, e.height, t, n), a = _f(a, e.width, t, n), o = _f(o, e.height, t, n), {
18763
18782
  maxWidth: r === void 0 ? void 0 : Number(r),
18764
18783
  maxHeight: i === void 0 ? void 0 : Number(i),
18765
18784
  minWidth: a === void 0 ? void 0 : Number(a),
18766
18785
  minHeight: o === void 0 ? void 0 : Number(o)
18767
18786
  };
18768
- }, bf = function(e) {
18787
+ }, yf = function(e) {
18769
18788
  return Array.isArray(e) ? e : [e, e];
18770
- }, xf = /* @__PURE__ */ "as.ref.style.className.grid.gridGap.snap.bounds.boundsByDirection.size.defaultSize.minWidth.minHeight.maxWidth.maxHeight.lockAspectRatio.lockAspectRatioExtraWidth.lockAspectRatioExtraHeight.enable.handleStyles.handleClasses.handleWrapperStyle.handleWrapperClass.children.onResizeStart.onResize.onResizeStop.handleComponent.scale.resizeRatio.snapGap".split("."), Sf = "__resizable_base__", Cf = function(e) {
18771
- cf(t, e);
18789
+ }, bf = /* @__PURE__ */ "as.ref.style.className.grid.gridGap.snap.bounds.boundsByDirection.size.defaultSize.minWidth.minHeight.maxWidth.maxHeight.lockAspectRatio.lockAspectRatioExtraWidth.lockAspectRatioExtraHeight.enable.handleStyles.handleClasses.handleWrapperStyle.handleWrapperClass.children.onResizeStart.onResize.onResizeStop.handleComponent.scale.resizeRatio.snapGap".split("."), xf = "__resizable_base__", Sf = function(e) {
18790
+ sf(t, e);
18772
18791
  function t(t) {
18773
18792
  var n = e.call(this, t) || this;
18774
18793
  return n.ratio = 1, n.resizable = null, n.parentLeft = 0, n.parentTop = 0, n.resizableLeft = 0, n.resizableRight = 0, n.resizableTop = 0, n.resizableBottom = 0, n.targetLeft = 0, n.targetTop = 0, n.delta = {
@@ -18779,7 +18798,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
18779
18798
  var e = n.parentNode;
18780
18799
  if (!e) return null;
18781
18800
  var t = n.window.document.createElement("div");
18782
- return t.style.width = "100%", t.style.height = "100%", t.style.position = "absolute", t.style.transform = "scale(0, 0)", t.style.left = "0", t.style.flex = "0 0 100%", t.classList ? t.classList.add(Sf) : t.className += Sf, e.appendChild(t), t;
18801
+ return t.style.width = "100%", t.style.height = "100%", t.style.position = "absolute", t.style.transform = "scale(0, 0)", t.style.left = "0", t.style.flex = "0 0 100%", t.classList ? t.classList.add(xf) : t.className += xf, e.appendChild(t), t;
18783
18802
  }, n.removeBase = function(e) {
18784
18803
  var t = n.parentNode;
18785
18804
  t && t.removeChild(e);
@@ -18824,7 +18843,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
18824
18843
  configurable: !0
18825
18844
  }), Object.defineProperty(t.prototype, "propsSize", {
18826
18845
  get: function() {
18827
- return this.props.size || this.props.defaultSize || uf;
18846
+ return this.props.size || this.props.defaultSize || lf;
18828
18847
  },
18829
18848
  enumerable: !1,
18830
18849
  configurable: !0
@@ -18851,11 +18870,11 @@ var Qd = Rt(({ token: e, css: t }) => ({
18851
18870
  var n = e.getParentSize();
18852
18871
  return `${Number(e.state[t].toString().replace("px", "")) / n[t] * 100}%`;
18853
18872
  }
18854
- return _f(e.state[t]);
18873
+ return gf(e.state[t]);
18855
18874
  };
18856
18875
  return {
18857
- width: t && t.width !== void 0 && !this.state.isResizing ? _f(t.width) : n("width"),
18858
- height: t && t.height !== void 0 && !this.state.isResizing ? _f(t.height) : n("height")
18876
+ width: t && t.width !== void 0 && !this.state.isResizing ? gf(t.width) : n("width"),
18877
+ height: t && t.height !== void 0 && !this.state.isResizing ? gf(t.height) : n("height")
18859
18878
  };
18860
18879
  },
18861
18880
  enumerable: !1,
@@ -18902,7 +18921,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
18902
18921
  var n = this.propsSize && this.propsSize[t];
18903
18922
  return this.state[t] === "auto" && this.state.original[t] === e && (n === void 0 || n === "auto") ? "auto" : e;
18904
18923
  }, t.prototype.calculateNewMaxFromBoundary = function(e, t) {
18905
- var n = this.props.boundsByDirection, r = this.state.direction, i = n && pf("left", r), a = n && pf("top", r), o, s;
18924
+ var n = this.props.boundsByDirection, r = this.state.direction, i = n && ff("left", r), a = n && ff("top", r), o, s;
18906
18925
  if (this.props.bounds === "parent") {
18907
18926
  var c = this.parentNode;
18908
18927
  c && (o = i ? this.resizableRight - this.parentLeft : c.offsetWidth + (this.parentLeft - this.resizableLeft), s = a ? this.resizableBottom - this.parentTop : c.offsetHeight + (this.parentTop - this.resizableTop));
@@ -18912,8 +18931,8 @@ var Qd = Rt(({ token: e, css: t }) => ({
18912
18931
  maxHeight: t
18913
18932
  };
18914
18933
  }, t.prototype.calculateNewSizeFromDirection = function(e, t) {
18915
- var n = this.props.scale || 1, r = bf(this.props.resizeRatio || 1), i = r[0], a = r[1], o = this.state, s = o.direction, c = o.original, l = this.props, u = l.lockAspectRatio, d = l.lockAspectRatioExtraHeight, f = l.lockAspectRatioExtraWidth, p = c.width, m = c.height, h = d || 0, g = f || 0;
18916
- return pf("right", s) && (p = c.width + (e - c.x) * i / n, u && (m = (p - g) / this.ratio + h)), pf("left", s) && (p = c.width - (e - c.x) * i / n, u && (m = (p - g) / this.ratio + h)), pf("bottom", s) && (m = c.height + (t - c.y) * a / n, u && (p = (m - h) * this.ratio + g)), pf("top", s) && (m = c.height - (t - c.y) * a / n, u && (p = (m - h) * this.ratio + g)), {
18934
+ var n = this.props.scale || 1, r = yf(this.props.resizeRatio || 1), i = r[0], a = r[1], o = this.state, s = o.direction, c = o.original, l = this.props, u = l.lockAspectRatio, d = l.lockAspectRatioExtraHeight, f = l.lockAspectRatioExtraWidth, p = c.width, m = c.height, h = d || 0, g = f || 0;
18935
+ return ff("right", s) && (p = c.width + (e - c.x) * i / n, u && (m = (p - g) / this.ratio + h)), ff("left", s) && (p = c.width - (e - c.x) * i / n, u && (m = (p - g) / this.ratio + h)), ff("bottom", s) && (m = c.height + (t - c.y) * a / n, u && (p = (m - h) * this.ratio + g)), ff("top", s) && (m = c.height - (t - c.y) * a / n, u && (p = (m - h) * this.ratio + g)), {
18917
18936
  newWidth: p,
18918
18937
  newHeight: m
18919
18938
  };
@@ -18921,8 +18940,8 @@ var Qd = Rt(({ token: e, css: t }) => ({
18921
18940
  var i = this.props, a = i.lockAspectRatio, o = i.lockAspectRatioExtraHeight, s = i.lockAspectRatioExtraWidth, c = r.width === void 0 ? 10 : r.width, l = n.width === void 0 || n.width < 0 ? e : n.width, u = r.height === void 0 ? 10 : r.height, d = n.height === void 0 || n.height < 0 ? t : n.height, f = o || 0, p = s || 0;
18922
18941
  if (a) {
18923
18942
  var m = (u - f) * this.ratio + p, h = (d - f) * this.ratio + p, g = (c - p) / this.ratio + f, _ = (l - p) / this.ratio + f, v = Math.max(c, m), y = Math.min(l, h), b = Math.max(u, g), x = Math.min(d, _);
18924
- e = df(e, v, y), t = df(t, b, x);
18925
- } else e = df(e, c, l), t = df(t, u, d);
18943
+ e = uf(e, v, y), t = uf(t, b, x);
18944
+ } else e = uf(e, c, l), t = uf(t, u, d);
18926
18945
  return {
18927
18946
  newWidth: e,
18928
18947
  newHeight: t
@@ -18947,18 +18966,15 @@ var Qd = Rt(({ token: e, css: t }) => ({
18947
18966
  }, t.prototype.onResizeStart = function(e, t) {
18948
18967
  if (!(!this.resizable || !this.window)) {
18949
18968
  var n = 0, r = 0;
18950
- if (e.nativeEvent && hf(e.nativeEvent) ? (n = e.nativeEvent.clientX, r = e.nativeEvent.clientY) : e.nativeEvent && mf(e.nativeEvent) && (n = e.nativeEvent.touches[0].clientX, r = e.nativeEvent.touches[0].clientY), !(this.props.onResizeStart && this.resizable && this.props.onResizeStart(e, t, this.resizable) === !1)) {
18969
+ if (e.nativeEvent && mf(e.nativeEvent) ? (n = e.nativeEvent.clientX, r = e.nativeEvent.clientY) : e.nativeEvent && pf(e.nativeEvent) && (n = e.nativeEvent.touches[0].clientX, r = e.nativeEvent.touches[0].clientY), !(this.props.onResizeStart && this.resizable && this.props.onResizeStart(e, t, this.resizable) === !1)) {
18951
18970
  this.props.size && (this.props.size.height !== void 0 && this.props.size.height !== this.state.height && this.setState({ height: this.props.size.height }), this.props.size.width !== void 0 && this.props.size.width !== this.state.width && this.setState({ width: this.props.size.width })), this.ratio = typeof this.props.lockAspectRatio == "number" ? this.props.lockAspectRatio : this.size.width / this.size.height;
18952
18971
  var i, a = this.window.getComputedStyle(this.resizable);
18953
18972
  if (a.flexBasis !== "auto") {
18954
18973
  var o = this.parentNode;
18955
- if (o) {
18956
- var s = this.window.getComputedStyle(o).flexDirection;
18957
- this.flexDir = s.startsWith("row") ? "row" : "column", i = a.flexBasis;
18958
- }
18974
+ o && (this.flexDir = this.window.getComputedStyle(o).flexDirection.startsWith("row") ? "row" : "column", i = a.flexBasis);
18959
18975
  }
18960
18976
  this.setBoundingClientRect(), this.bindEvents();
18961
- var c = {
18977
+ var s = {
18962
18978
  original: {
18963
18979
  x: n,
18964
18980
  y: r,
@@ -18966,23 +18982,23 @@ var Qd = Rt(({ token: e, css: t }) => ({
18966
18982
  height: this.size.height
18967
18983
  },
18968
18984
  isResizing: !0,
18969
- backgroundStyle: lf(lf({}, this.state.backgroundStyle), { cursor: this.window.getComputedStyle(e.target).cursor || "auto" }),
18985
+ backgroundStyle: cf(cf({}, this.state.backgroundStyle), { cursor: this.window.getComputedStyle(e.target).cursor || "auto" }),
18970
18986
  direction: t,
18971
18987
  flexBasis: i
18972
18988
  };
18973
- this.setState(c);
18989
+ this.setState(s);
18974
18990
  }
18975
18991
  }
18976
18992
  }, t.prototype.onMouseMove = function(e) {
18977
18993
  var t = this;
18978
18994
  if (!(!this.state.isResizing || !this.resizable || !this.window)) {
18979
- if (this.window.TouchEvent && mf(e)) try {
18995
+ if (this.window.TouchEvent && pf(e)) try {
18980
18996
  e.preventDefault(), e.stopPropagation();
18981
18997
  } catch {}
18982
- var n = this.props, r = n.maxWidth, i = n.maxHeight, a = n.minWidth, o = n.minHeight, s = mf(e) ? e.touches[0].clientX : e.clientX, c = mf(e) ? e.touches[0].clientY : e.clientY, l = this.state, u = l.direction, d = l.original, f = l.width, p = l.height, m = this.getParentSize(), h = yf(m, this.window.innerWidth, this.window.innerHeight, r, i, a, o);
18998
+ var n = this.props, r = n.maxWidth, i = n.maxHeight, a = n.minWidth, o = n.minHeight, s = pf(e) ? e.touches[0].clientX : e.clientX, c = pf(e) ? e.touches[0].clientY : e.clientY, l = this.state, u = l.direction, d = l.original, f = l.width, p = l.height, m = this.getParentSize(), h = vf(m, this.window.innerWidth, this.window.innerHeight, r, i, a, o);
18983
18999
  r = h.maxWidth, i = h.maxHeight, a = h.minWidth, o = h.minHeight;
18984
19000
  var g = this.calculateNewSizeFromDirection(s, c), _ = g.newHeight, v = g.newWidth, y = this.calculateNewMaxFromBoundary(r, i);
18985
- this.props.snap && this.props.snap.x && (v = gf(v, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (_ = gf(_, this.props.snap.y, this.props.snapGap));
19001
+ this.props.snap && this.props.snap.x && (v = hf(v, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (_ = hf(_, this.props.snap.y, this.props.snapGap));
18986
19002
  var b = this.calculateNewSizeFromAspectRatio(v, _, {
18987
19003
  width: y.maxWidth,
18988
19004
  height: y.maxHeight
@@ -18991,7 +19007,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
18991
19007
  height: o
18992
19008
  });
18993
19009
  if (v = b.newWidth, _ = b.newHeight, this.props.grid) {
18994
- var x = ff(v, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), S = ff(_, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), C = this.props.snapGap || 0, w = C === 0 || Math.abs(x - v) <= C ? x : v, T = C === 0 || Math.abs(S - _) <= C ? S : _;
19010
+ var x = df(v, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), S = df(_, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), C = this.props.snapGap || 0, w = C === 0 || Math.abs(x - v) <= C ? x : v, T = C === 0 || Math.abs(S - _) <= C ? S : _;
18995
19011
  v = w, _ = T;
18996
19012
  }
18997
19013
  var E = {
@@ -19039,7 +19055,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
19039
19055
  height: this.props.size.height ?? "auto"
19040
19056
  }), this.unbindEvents(), this.setState({
19041
19057
  isResizing: !1,
19042
- backgroundStyle: lf(lf({}, this.state.backgroundStyle), { cursor: "auto" })
19058
+ backgroundStyle: cf(cf({}, this.state.backgroundStyle), { cursor: "auto" })
19043
19059
  }));
19044
19060
  }, t.prototype.updateSize = function(e) {
19045
19061
  this.setState({
@@ -19052,7 +19068,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
19052
19068
  className: o,
19053
19069
  style: a,
19054
19070
  children: Object.keys(n).map(function(t) {
19055
- return n[t] === !1 ? null : H(sf, {
19071
+ return n[t] === !1 ? null : H(of, {
19056
19072
  direction: t,
19057
19073
  onResizeStart: e.onResizeStart,
19058
19074
  replaceStyles: r && r[t],
@@ -19063,8 +19079,8 @@ var Qd = Rt(({ token: e, css: t }) => ({
19063
19079
  }) : null;
19064
19080
  }, t.prototype.render = function() {
19065
19081
  var e = this, t = Object.keys(this.props).reduce(function(t, n) {
19066
- return xf.indexOf(n) === -1 && (t[n] = e.props[n]), t;
19067
- }, {}), n = lf(lf(lf({
19082
+ return bf.indexOf(n) === -1 && (t[n] = e.props[n]), t;
19083
+ }, {}), n = cf(cf(cf({
19068
19084
  position: "relative",
19069
19085
  userSelect: this.state.isResizing ? "none" : "auto"
19070
19086
  }, this.props.style), this.sizeStyle), {
@@ -19075,7 +19091,7 @@ var Qd = Rt(({ token: e, css: t }) => ({
19075
19091
  boxSizing: "border-box",
19076
19092
  flexShrink: 0
19077
19093
  });
19078
- return this.state.flexBasis && (n.flexBasis = this.state.flexBasis), U(this.props.as || "div", lf({
19094
+ return this.state.flexBasis && (n.flexBasis = this.state.flexBasis), U(this.props.as || "div", cf({
19079
19095
  style: n,
19080
19096
  className: this.props.className
19081
19097
  }, t, {
@@ -19129,11 +19145,11 @@ Y(G)`
19129
19145
  background: none !important;
19130
19146
  }
19131
19147
  `;
19132
- var wf = A((e, t) => {
19148
+ var Cf = A((e, t) => {
19133
19149
  let { defaultWidth: n, defaultHeight: r = 180, minHeight: i = 180, maxHeight: a = 400, children: s, onReSize: c, onReSizeStop: l, ...u } = e;
19134
19150
  o();
19135
19151
  let d = z(null);
19136
- return I(t, () => ({ container: d.current })), /* @__PURE__ */ H(Cf, {
19152
+ return I(t, () => ({ container: d.current })), /* @__PURE__ */ H(Sf, {
19137
19153
  ref: d,
19138
19154
  enable: { top: !0 },
19139
19155
  defaultSize: {
@@ -19148,7 +19164,7 @@ var wf = A((e, t) => {
19148
19164
  ...u,
19149
19165
  children: s
19150
19166
  });
19151
- }), Tf = Y.div`
19167
+ }), wf = Y.div`
19152
19168
  .ant-tabs {
19153
19169
  .ant-tabs-tab {
19154
19170
  positon: relative;
@@ -19208,11 +19224,11 @@ var wf = A((e, t) => {
19208
19224
  color: var(--ant-color-text);
19209
19225
  }
19210
19226
  }
19211
- `, Ef = ({ terminals: e, currentActive: t, onClose: n }) => {
19227
+ `, Tf = ({ terminals: e, currentActive: t, onClose: n }) => {
19212
19228
  let [r, i] = B(t || e[0]?.url || ""), [a, o] = B(300), s = E.useRef(null), c = R(() => e.map((e) => ({
19213
19229
  key: e.url,
19214
19230
  label: e.name,
19215
- children: /* @__PURE__ */ H(tf, {
19231
+ children: /* @__PURE__ */ H(ef, {
19216
19232
  height: a,
19217
19233
  url: e.url
19218
19234
  })
@@ -19222,10 +19238,10 @@ var wf = A((e, t) => {
19222
19238
  }, 200);
19223
19239
  return F(() => {
19224
19240
  t && i(t);
19225
- }, [t]), /* @__PURE__ */ H(wf, {
19241
+ }, [t]), /* @__PURE__ */ H(Cf, {
19226
19242
  onReSize: l,
19227
19243
  ref: s,
19228
- children: /* @__PURE__ */ H(Tf, { children: /* @__PURE__ */ H(At, {
19244
+ children: /* @__PURE__ */ H(wf, { children: /* @__PURE__ */ H(At, {
19229
19245
  type: "editable-card",
19230
19246
  hideAdd: !0,
19231
19247
  activeKey: r,
@@ -19241,11 +19257,11 @@ var wf = A((e, t) => {
19241
19257
  }) }
19242
19258
  }) })
19243
19259
  });
19244
- }, Df = ({ terminals: e, open: t, onClose: n, currentActive: r }) => /* @__PURE__ */ H(Ef, {
19260
+ }, Ef = ({ terminals: e, open: t, onClose: n, currentActive: r }) => /* @__PURE__ */ H(Tf, {
19245
19261
  terminals: e,
19246
19262
  currentActive: r,
19247
19263
  onClose: n
19248
- }), Of = Y.ul`
19264
+ }), Df = Y.ul`
19249
19265
  list-style: none;
19250
19266
  padding-left: 0;
19251
19267
  margin: 0;
@@ -19263,16 +19279,16 @@ var wf = A((e, t) => {
19263
19279
  display: inline-flex;
19264
19280
  }
19265
19281
  }
19266
- `, kf = (e) => {
19282
+ `, Of = (e) => {
19267
19283
  let t = o(), { list: n } = e;
19268
- return /* @__PURE__ */ H(Of, { children: n.map((e, n) => /* @__PURE__ */ U("li", { children: [/* @__PURE__ */ U("span", {
19284
+ return /* @__PURE__ */ H(Df, { children: n.map((e, n) => /* @__PURE__ */ U("li", { children: [/* @__PURE__ */ U("span", {
19269
19285
  className: "title",
19270
19286
  children: [e.title?.locale ? t.formatMessage({ id: e.title?.text || "" }) : e.title, ":"]
19271
19287
  }), /* @__PURE__ */ H("span", {
19272
19288
  className: "content",
19273
19289
  children: t.formatMessage({ id: e.tips })
19274
19290
  })] }, n)) });
19275
- }, Af = Y.div`
19291
+ }, kf = Y.div`
19276
19292
  .ant-transfer-section {
19277
19293
  width: 100%;
19278
19294
  height: 300px;
@@ -19329,12 +19345,12 @@ var wf = A((e, t) => {
19329
19345
  .ant-pagination {
19330
19346
  justify-content: center;
19331
19347
  }
19332
- `, jf = (e) => {
19348
+ `, Af = (e) => {
19333
19349
  let t = o(), n = (e) => e.selectedCount ? /* @__PURE__ */ H("span", {
19334
19350
  style: { color: "var(--ant-color-text-secondary)" },
19335
19351
  children: t.formatMessage({ id: "common.select.count" }, { count: e.selectedCount })
19336
19352
  }) : null;
19337
- return /* @__PURE__ */ H(Af, { children: /* @__PURE__ */ H(Mt, {
19353
+ return /* @__PURE__ */ H(kf, { children: /* @__PURE__ */ H(Mt, {
19338
19354
  ...e,
19339
19355
  selectAllLabels: e.selectAllLabels || [n, n],
19340
19356
  selectionsIcon: /* @__PURE__ */ H(Ae, { style: {
@@ -19342,7 +19358,7 @@ var wf = A((e, t) => {
19342
19358
  marginBottom: 3
19343
19359
  } })
19344
19360
  }) });
19345
- }, Mf = A((e, t) => {
19361
+ }, jf = A((e, t) => {
19346
19362
  let { minHeight: n = 50, header: r, variant: i = "bordered", children: a, setCollapsed: o } = e, [s, c] = B(!0), l = z(null);
19347
19363
  F(() => {
19348
19364
  l?.current && (l.current.style.minHeight = s ? `${l.current.scrollHeight || 0}px` : "0px");
@@ -19375,7 +19391,7 @@ var wf = A((e, t) => {
19375
19391
  })
19376
19392
  })]
19377
19393
  });
19378
- }), Nf = (e) => {
19394
+ }), Mf = (e) => {
19379
19395
  let [t, n] = Ft.useMessage(), { icon: r, accept: i, type: a, size: s = "large", shape: c = "circle" } = e, l = o(), u = (e) => !1, d = (n) => e.maxFileSize && n.size > e.maxFileSize ? (t.open({
19380
19396
  type: "warning",
19381
19397
  content: l.formatMessage({ id: "playground.uploadfile.sizeError" }, { size: `${b(e.maxFileSize)}` })
@@ -19412,7 +19428,7 @@ var wf = A((e, t) => {
19412
19428
  })
19413
19429
  }), n]
19414
19430
  });
19415
- }, Pf = A((e, t) => {
19431
+ }, Nf = A((e, t) => {
19416
19432
  let { lang: n, value: r, config: i, defaultLang: a, height: o = 380, theme: s = "vs-dark", header: c, variant: l = "borderless", placeholder: u } = e, d = z(null), f = (e) => {
19417
19433
  e.languages.typescript.javascriptDefaults.setDiagnosticsOptions({
19418
19434
  noSemanticValidation: !1,
@@ -19467,4 +19483,4 @@ var wf = A((e, t) => {
19467
19483
  });
19468
19484
  });
19469
19485
  //#endregion
19470
- export { dn as Access, gn as AlertBlockInfo, fn as AlertInfo, yn as AudioAnimation, Sn as AudioPlayer, po as AutoComplete, jn as AutoImage, f as AutoTooltip, Vo as BarChart, So as BaseSelect, mi as BibtexViewer, gi as CardWrapper, zs as Cascader, wd as CellContent, Lo as Chart, xi as CheckButtons, Vs as Checkbox, Hs as CheckboxField, wi as CollapseContainer, Di as CollapsePanel, Sa as ColumnSettings, Oa as ColumnWrapper, Pa as CommandViewer, Ia as ContentWrapper, u as CopyButton, un as CoreUIProvider, za as DeleteModal, Va as DividerLine, Ua as DocLink, Wa as DropdownActions, Ka as DropdownButtons, qa as DynamicForm, C as EditorWrap, Xo as ErrorMessage, Us as FieldComponent, Cl as FilterBar, Qo as FilterForm, xl as FiltersButton, $o as FormButtons, Ls as FormDrawer, Fs as GSDrawer, Uo as GaugeChart, sc as GrafanaIcon, Wo as HBarChart, Ti as HeadlessCollapse, p as HighlightCode, wo as INPUT_WIDTH, Q as IconFont, yc as ImageEditor, Xs as ImageURLInput, Ic as InfiniteScroller, zc as InfiniteScrollerProvider, nd as InfoColumn, bo as Input, ho as InputNumber, go as InputSearch, Vc as LabelCell, Ja as LabelInfo, qc as LabelSelector, Jc as LabelSelectorProvider, Ko as LineChart, Qc as ListInput, Po as ListMap, il as LogsViewer, ol as MetadataList, qo as MixLineBarChart, ts as ModalFooter, cl as MoreButton, Js as MultipleSelect, pl as NoResult, l as OverlayScroller, vl as PageBox, hl as PageBreadcrumb, _l as PageContainerInner, nl as PageSize, Sl as PageTools, _o as Password, Tl as Popover, El as ProgressBar, Dl as RadioButtons, Ol as ResizeContainer, wf as ResizePanel, gd as RowChildren, rc as RowTextarea, Jo as ScatterChart, jl as ScrollSpyTabs, Il as ScrollerModal, Ma as SegmentLine, Co as Select, Ul as SelectPanel, Gl as Shortcut, On as SimpleAudio, bi as SimpleCard, Zu as SimpleOverlay, qs as SimpleSelect, td as SimpleTable, fi as SingleImage, Eo as Slider, Qs as SmallCloseButton, ad as SpeechContent, cd as StatusTag, ud as SubDrawer, Oo as Switch, fd as SwitchCard, oc as SwitchInput, Md as Table, Nd as TableProvider, Pd as TableRowProvider, Fd as TagsWrapper, Ud as TemplateCard, Jd as TemplateCardList, Gd as TemplateCardSkeleton, Df as TerminalTabs, yo as Textarea, Ld as ThemeTag, $s as ThumbImage, kf as TooltipList, c as TooltipOverlayScroller, jf as Transfer, Mf as TransitionWrapper, Nf as UploadAudio, tc as UploadImage, nc as UploadImageButton, Pf as ViewerEditor, tf as XTerminal, Li as config, cc as icons, Tc as processImage, ma as useAccess, Oi as useActions, ki as useAddImage, Ai as useAppUtils, ji as useBodyScroll, Ii as useChunkFetch, Ji as useChunkRequest, wa as useColumnWrapperContext, wa as useWrapperContext, Yi as useContainerScroll, a as useCoreUIContext, ga as useCoreUISlots, _a as useCurrentUser, Xi as useDeferredRequest, na as useDownloadLogs, Qi as useDownloadStream, ra as useExpandedRowKeys, Ml as useFinishFailed, o as useIntl, d as useOverlayScroller, aa as useQueryData, aa as useRequest, ia as useQueryDataList, oa as useRequestToken, sa as useResponsive, Nl as useScrollActiveChange, Rc as useScrollerContext, va as useTableFetch, ua as useTableMultiSort, ca as useTableRowSelection, la as useTableSort, Ad as useTableSorter, da as useUpdateChunkedList, Fo as useValidateFields, fa as useWatchList, pa as useWindowResize, S as utils };
19486
+ export { dn as Access, gn as AlertBlockInfo, fn as AlertInfo, yn as AudioAnimation, Sn as AudioPlayer, fo as AutoComplete, jn as AutoImage, f as AutoTooltip, Bo as BarChart, xo as BaseSelect, mi as BibtexViewer, gi as CardWrapper, Rs as Cascader, Cd as CellContent, Io as Chart, xi as CheckButtons, Bs as Checkbox, Vs as CheckboxField, wi as CollapseContainer, Di as CollapsePanel, Sa as ColumnSettings, Oa as ColumnWrapper, Pa as CommandViewer, Ia as ContentWrapper, u as CopyButton, un as CoreUIProvider, Ra as DeleteModal, Ba as DividerLine, Ha as DocLink, Ua as DropdownActions, Ga as DropdownButtons, Ka as DynamicForm, C as EditorWrap, Yo as ErrorMessage, Hs as FieldComponent, Sl as FilterBar, Zo as FilterForm, bl as FiltersButton, Qo as FormButtons, Is as FormDrawer, Ps as GSDrawer, Ho as GaugeChart, oc as GrafanaIcon, Uo as HBarChart, Ti as HeadlessCollapse, p as HighlightCode, Co as INPUT_WIDTH, Q as IconFont, vc as ImageEditor, Ys as ImageURLInput, Fc as InfiniteScroller, Rc as InfiniteScrollerProvider, td as InfoColumn, yo as Input, mo as InputNumber, ho as InputSearch, Bc as LabelCell, qa as LabelInfo, Kc as LabelSelector, qc as LabelSelectorProvider, Go as LineChart, Zc as ListInput, No as ListMap, rl as LogsViewer, al as MetadataList, Ko as MixLineBarChart, es as ModalFooter, sl as MoreButton, qs as MultipleSelect, fl as NoResult, l as OverlayScroller, _l as PageBox, ml as PageBreadcrumb, gl as PageContainerInner, tl as PageSize, xl as PageTools, go as Password, wl as Popover, Tl as ProgressBar, El as RadioButtons, Dl as ResizeContainer, Cf as ResizePanel, hd as RowChildren, nc as RowTextarea, qo as ScatterChart, Al as ScrollSpyTabs, Fl as ScrollerModal, Ma as SegmentLine, So as Select, Hl as SelectPanel, Wl as Shortcut, On as SimpleAudio, bi as SimpleCard, Xu as SimpleOverlay, Ks as SimpleSelect, ed as SimpleTable, fi as SingleImage, To as Slider, Zs as SmallCloseButton, id as SpeechContent, sd as StatusTag, ld as SubDrawer, Do as Switch, dd as SwitchCard, ac as SwitchInput, jd as Table, Md as TableProvider, Nd as TableRowProvider, Pd as TagsWrapper, Hd as TemplateCard, qd as TemplateCardList, Wd as TemplateCardSkeleton, Ef as TerminalTabs, vo as Textarea, Id as ThemeTag, Qs as ThumbImage, Of as TooltipList, c as TooltipOverlayScroller, Af as Transfer, jf as TransitionWrapper, Mf as UploadAudio, ec as UploadImage, tc as UploadImageButton, Nf as ViewerEditor, ef as XTerminal, Li as config, sc as icons, wc as processImage, ma as useAccess, Oi as useActions, ki as useAddImage, Ai as useAppUtils, ji as useBodyScroll, Ii as useChunkFetch, Ji as useChunkRequest, wa as useColumnWrapperContext, wa as useWrapperContext, Yi as useContainerScroll, a as useCoreUIContext, ga as useCoreUISlots, _a as useCurrentUser, Xi as useDeferredRequest, na as useDownloadLogs, Qi as useDownloadStream, ra as useExpandedRowKeys, jl as useFinishFailed, o as useIntl, d as useOverlayScroller, aa as useQueryData, aa as useRequest, ia as useQueryDataList, oa as useRequestToken, sa as useResponsive, Ml as useScrollActiveChange, Lc as useScrollerContext, va as useTableFetch, ua as useTableMultiSort, ca as useTableRowSelection, la as useTableSort, kd as useTableSorter, da as useUpdateChunkedList, Po as useValidateFields, fa as useWatchList, pa as useWindowResize, S as utils };