@revolist/ui 4.0.1-rc → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/LICENSE +21 -0
  2. package/MIGRATION.md +36 -0
  3. package/OWNERSHIP.md +32 -32
  4. package/README.md +405 -264
  5. package/_button.scss +6 -2
  6. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  7. package/_chunks/calculator-CDWOuAcp.js +4 -0
  8. package/_chunks/calendar-DJqiFwFT.js +258 -0
  9. package/_chunks/chart-frame-hcOlnQ1K.js +145 -0
  10. package/_chunks/{chevron-right-sxHQMSkq.js → check-BwI7iCAm.js} +2 -2
  11. package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
  12. package/_chunks/choice-chips-yr6Uzmof.js +126 -0
  13. package/_chunks/clock-BOhPNlW3.js +4 -0
  14. package/_chunks/color-palette-DMJUChWC.js +92 -0
  15. package/_chunks/{color-picker-BRv-__AM.js → color-picker-CMWxQlWt.js} +61 -56
  16. package/_chunks/component-DyWiItBR.js +878 -0
  17. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BKd7U8OW.js} +0 -12
  18. package/_chunks/configurator-actions-DCodxcUw.js +155 -0
  19. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  20. package/_chunks/control-CbOYUakE.js +118 -0
  21. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  22. package/_chunks/controls-DD1qvPfE.js +650 -0
  23. package/_chunks/{date-control-CYCkb1aQ.js → date-control-XI2cpKI_.js} +21 -21
  24. package/_chunks/date-time-CGJdC1Qa.js +807 -0
  25. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-CW9vjLnk.js} +7 -7
  26. package/_chunks/dialog.parts-CJ3FVxC9.js +131 -0
  27. package/_chunks/duration-CBJWK82T.js +272 -0
  28. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  29. package/_chunks/editor-popup-ByU7qiub.js +82 -0
  30. package/_chunks/field-configurator-B-qtIwx1.js +288 -0
  31. package/_chunks/field-context-D57PnBbH.js +5 -0
  32. package/_chunks/framework-mount-Bk4O_T7T.js +54 -0
  33. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  34. package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
  35. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  36. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  37. package/_chunks/minus-BOAR3A1C.js +4 -0
  38. package/_chunks/mount-C7i5gsKI.js +267 -0
  39. package/_chunks/native-Blr3byjO.js +32 -0
  40. package/_chunks/native-control-B9MNibfa.js +649 -0
  41. package/_chunks/{number-input-NnH57J4j.js → number-input-CgbZes5B.js} +89 -89
  42. package/_chunks/picker-DqpjDC90.js +122 -0
  43. package/_chunks/plus-CbGRkIGl.js +4 -0
  44. package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
  45. package/_chunks/popup-C35Isk7p.js +378 -0
  46. package/_chunks/preact.module-BBM36DnO.js +290 -0
  47. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-WDrfiluf.js} +10 -10
  48. package/_chunks/render-m5eMMwFR.js +83 -0
  49. package/_chunks/reorder-list-C4HSda4n.js +59 -0
  50. package/_chunks/request-trail-SHynDFdM.js +762 -0
  51. package/_chunks/rich-text-CtjqRvv8.js +842 -0
  52. package/_chunks/rotate-left-BF6G883o.js +4 -0
  53. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  54. package/_chunks/selection-list-tooltips-BtWjpP6M.js +41 -0
  55. package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
  56. package/_chunks/tooltip-D4xkio5G.js +54 -0
  57. package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
  58. package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
  59. package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
  60. package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
  61. package/_dialog.scss +55 -21
  62. package/_form.scss +71 -21
  63. package/_legend.scss +25 -7
  64. package/_shared/data-query/index.d.ts +2 -2
  65. package/_shared/data-query/load-options.d.ts +2 -2
  66. package/_variables.scss +34 -32
  67. package/_vendor/preact/LICENSE +21 -0
  68. package/_vendor/preact/compat/src/index.d.ts +353 -0
  69. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  70. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  71. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  72. package/_vendor/preact/src/dom.d.ts +2548 -0
  73. package/_vendor/preact/src/index.d.ts +373 -0
  74. package/_vendor/preact/src/jsx.d.ts +2958 -0
  75. package/_view-switcher.scss +6 -0
  76. package/activity-message.d.ts +2 -2
  77. package/activity-message.js +16 -16
  78. package/ai/_chat.scss +227 -0
  79. package/ai/_style.scss +170 -39
  80. package/ai/chat.d.ts +65 -0
  81. package/ai/components.d.ts +35 -6
  82. package/ai/index.d.ts +3 -0
  83. package/ai/index.js +3 -3
  84. package/ai/mount.d.ts +59 -6
  85. package/ai/prompt-history.d.ts +13 -0
  86. package/ai/request-trail.d.ts +9 -3
  87. package/ai/results/_style.scss +83 -0
  88. package/ai/results/index.d.ts +11 -0
  89. package/ai/results/metrics.d.ts +5 -0
  90. package/ai/results/table.d.ts +5 -0
  91. package/ai/results/text.d.ts +5 -0
  92. package/ai/results/types.d.ts +29 -0
  93. package/ai/transcript.d.ts +27 -0
  94. package/ai/translation-context.d.ts +1 -1
  95. package/ai/translations.d.ts +1 -1
  96. package/alert.d.ts +2 -2
  97. package/angular/angular.d.ts +1 -1
  98. package/angular/angular.js +13 -10
  99. package/assignee/assignee.scss +28 -6
  100. package/assignee/field.d.ts +2 -2
  101. package/assignee/index.js +86 -87
  102. package/assignee/layout.d.ts +2 -2
  103. package/assignee/picker.d.ts +1 -1
  104. package/avatar/avatar.style.scss +23 -6
  105. package/avatar/index.d.ts +25 -2
  106. package/avatar/index.js +42 -41
  107. package/badge.d.ts +1 -1
  108. package/badge.view.d.ts +8 -0
  109. package/brush-range/_brush-range.scss +55 -49
  110. package/brush-range/component.d.ts +2 -4
  111. package/brush-range/component.js +19 -19
  112. package/buttons/delete-button.d.ts +2 -1
  113. package/buttons/delete-button.js +1 -1
  114. package/buttons/delete-button.style.scss +6 -2
  115. package/buttons/remove-button.d.ts +2 -2
  116. package/buttons/remove-button.js +3 -3
  117. package/buttons/remove-button.style.scss +1 -1
  118. package/buttons/svg-button.d.ts +3 -2
  119. package/buttons/svg-button.js +23 -23
  120. package/calendar/_calendar.scss +27 -26
  121. package/calendar/calendar.d.ts +1 -1
  122. package/calendar/calendar.js +1 -1
  123. package/calendar/caption.d.ts +1 -1
  124. package/calendar/day.d.ts +1 -1
  125. package/calendar/day.js +4 -4
  126. package/calendar/header.d.ts +1 -1
  127. package/calendar/header.js +34 -35
  128. package/calendar/index.js +2 -2
  129. package/calendar/month-grid.d.ts +1 -1
  130. package/calendar/month-grid.js +37 -37
  131. package/calendar/picker.d.ts +1 -1
  132. package/calendar/types.d.ts +1 -1
  133. package/calendar/year-grid.d.ts +1 -1
  134. package/calendar/year-grid.js +12 -12
  135. package/cell-input.scss +3 -7
  136. package/cell-visuals/badge.style.scss +6 -3
  137. package/cell-visuals/bar-chart.style.scss +2 -1
  138. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  139. package/cell-visuals/progress-line.style.scss +1 -4
  140. package/cell-visuals/sparkline.style.scss +2 -1
  141. package/cell-visuals/timeline.style.css +4 -2
  142. package/checkbox/checkbox.scss +6 -24
  143. package/checkbox/index.d.ts +2 -2
  144. package/checkbox/index.js +9 -9
  145. package/choice-chips/index.d.ts +4 -2
  146. package/choice-chips/index.js +1 -1
  147. package/color-palette/color-palette.d.ts +1 -1
  148. package/color-palette/color-palette.js +1 -1
  149. package/color-palette/color-palette.style.scss +88 -25
  150. package/color-palette/color-picker.d.ts +1 -1
  151. package/color-palette/color-picker.js +2 -2
  152. package/color-palette/color-picker.style.scss +23 -10
  153. package/color-palette/common-palettes.d.ts +1 -1
  154. package/color-palette/common-palettes.js +1 -1
  155. package/color-palette/native.d.ts +15 -2
  156. package/component-catalog.d.ts +42 -29
  157. package/configurator-actions.d.ts +67 -0
  158. package/configurator-actions.js +1 -0
  159. package/configurator-aggregation-list.d.ts +14 -0
  160. package/configurator-aggregation-list.js +63 -0
  161. package/configurator-drop-zone.d.ts +39 -0
  162. package/configurator-drop-zone.js +66 -0
  163. package/configurator-field-icon.d.ts +10 -0
  164. package/configurator-field-icon.js +1 -0
  165. package/configurator-focus.d.ts +4 -0
  166. package/configurator-focus.js +39 -0
  167. package/configurator-sections.d.ts +42 -0
  168. package/configurator-sections.js +71 -0
  169. package/control-attributes.js +7 -7
  170. package/control-presentation.d.ts +8 -2
  171. package/control-presentation.js +31 -26
  172. package/controls.d.ts +23 -11
  173. package/controls.js +4 -3
  174. package/core/editor-commit.d.ts +1 -1
  175. package/core/editor-popup-position.d.ts +6 -2
  176. package/core/editor-popup.d.ts +5 -1
  177. package/core/editor-popup.js +1 -1
  178. package/core/popover-controller.d.ts +35 -0
  179. package/core/popup-ownership.d.ts +2 -0
  180. package/core/selection-list-tooltips.d.ts +2 -0
  181. package/core/title-tooltip.d.ts +2 -0
  182. package/core/tooltip-session.d.ts +29 -0
  183. package/core/tooltip-surface.d.ts +13 -0
  184. package/core/tooltip-text.d.ts +6 -0
  185. package/core/tooltip.d.ts +35 -0
  186. package/core/top-layer-popup.d.ts +4 -0
  187. package/core/top-layer-popup.js +1 -23
  188. package/date-time/attach.d.ts +1 -1
  189. package/date-time/date-control.d.ts +2 -2
  190. package/date-time/field.d.ts +4 -3
  191. package/date-time/index.js +1 -1
  192. package/date-time/picker.d.ts +1 -1
  193. package/date-time/style.scss +242 -39
  194. package/date-time/time-control.d.ts +1 -1
  195. package/date-time/time-selection.d.ts +3 -1
  196. package/date-time/types.d.ts +6 -2
  197. package/dialog/dialog-action-footer.d.ts +17 -2
  198. package/dialog/dialog.dom.d.ts +15 -2
  199. package/dialog/dialog.dom.js +53 -53
  200. package/dialog/dialog.parts.d.ts +18 -18
  201. package/dialog/dialog.parts.js +1 -1
  202. package/dialog/dialog.preact.d.ts +1 -1
  203. package/dialog/dialog.preact.js +6 -6
  204. package/distribution-chart/_distribution-chart.scss +113 -77
  205. package/distribution-chart/area-chart.d.ts +1 -1
  206. package/distribution-chart/area-chart.js +25 -25
  207. package/distribution-chart/bar-chart.d.ts +6 -3
  208. package/distribution-chart/bar-chart.js +10 -6
  209. package/distribution-chart/chart-frame.d.ts +3 -2
  210. package/distribution-chart/index.d.ts +2 -2
  211. package/distribution-chart/index.js +6 -6
  212. package/distribution-chart/line-chart.d.ts +1 -1
  213. package/distribution-chart/line-chart.js +9 -9
  214. package/distribution-chart/types.d.ts +1 -1
  215. package/dropdown/content.d.ts +3 -2
  216. package/dropdown/content.js +1 -141
  217. package/dropdown/control.d.ts +14 -0
  218. package/dropdown/control.js +1 -0
  219. package/dropdown/control.view.d.ts +6 -0
  220. package/dropdown/dropdown.service.d.ts +1 -1
  221. package/dropdown/dropdown.service.js +9 -9
  222. package/dropdown/dropdown.types.d.ts +5 -1
  223. package/dropdown/editor-dropdown.style.scss +54 -16
  224. package/dropdown/index.d.ts +1 -1
  225. package/dropdown/index.js +3 -4
  226. package/dropdown/lookup-field.d.ts +6 -1
  227. package/dropdown/lookup-field.js +42 -41
  228. package/dropdown/popup.d.ts +2 -2
  229. package/dropdown/popup.js +1 -140
  230. package/duration/controls.d.ts +1 -1
  231. package/duration/index.d.ts +2 -2
  232. package/duration/index.js +1 -1
  233. package/duration/style.scss +1 -1
  234. package/editor-actions.d.ts +1 -1
  235. package/editor-actions.js +21 -20
  236. package/editor-layout/index.d.ts +5 -5
  237. package/editor-layout/index.js +43 -38
  238. package/editor-layout/style.scss +82 -18
  239. package/field-configurator.d.ts +40 -2
  240. package/field-configurator.js +4 -170
  241. package/field-expansion.d.ts +9 -0
  242. package/field-reorder.hook.js +32 -32
  243. package/fieldset.d.ts +3 -0
  244. package/filter/filters/slider/_single-slider.scss +57 -38
  245. package/filter/filters/slider/_slider.scss +41 -33
  246. package/filter/filters/slider/control.js +2 -0
  247. package/filter/filters/slider/preact.js +3 -3
  248. package/filter/filters/slider/runtime.js +49 -22
  249. package/filter/filters/slider/single.d.ts +1 -1
  250. package/filter/filters/slider/single.js +23 -23
  251. package/filter-badge.d.ts +1 -1
  252. package/filter-badge.js +23 -22
  253. package/filter-controls.d.ts +1 -2
  254. package/filter-controls.js +29 -30
  255. package/form-controls/field-context.d.ts +5 -0
  256. package/form-controls/index.d.ts +10 -2
  257. package/form-controls/index.js +17 -22
  258. package/form-controls/presentation.d.ts +2 -2
  259. package/form-controls/presentation.js +59 -51
  260. package/formatting/comparison-preview.d.ts +1 -1
  261. package/formatting/icon-controls.d.ts +1 -1
  262. package/formatting/index.d.ts +1 -1
  263. package/formatting/index.js +106 -100
  264. package/formatting/inspector-section.d.ts +1 -1
  265. package/formatting/styles.scss +14 -57
  266. package/formatting/typography-controls.d.ts +1 -1
  267. package/framework-mount.d.ts +1 -1
  268. package/framework.js +237 -226
  269. package/history-controls.d.ts +14 -0
  270. package/history-controls.js +27 -0
  271. package/icon-toolbar.d.ts +62 -0
  272. package/icon-toolbar.js +1 -0
  273. package/icons/icon.d.ts +2 -2
  274. package/icons/icon.js +1 -1
  275. package/legend.d.ts +2 -2
  276. package/legend.js +12 -12
  277. package/masked-input/index.d.ts +1 -1
  278. package/masked-input/index.js +109 -109
  279. package/native-control.d.ts +14 -13
  280. package/native-control.js +3 -26
  281. package/native-controls.d.ts +54 -2
  282. package/native-styles.css +1 -1
  283. package/native-styles.scss +6 -2
  284. package/native.d.ts +3 -3
  285. package/native.js +49 -45
  286. package/number-input/index.d.ts +2 -2
  287. package/number-input/index.js +1 -1
  288. package/package.json +88 -15
  289. package/pagination.d.ts +3 -0
  290. package/pagination.js +50 -40
  291. package/pdf-viewer/component.d.ts +1 -1
  292. package/pdf-viewer/controller.js +1 -1
  293. package/pdf-viewer/header.d.ts +2 -2
  294. package/pdf-viewer/index.d.ts +2 -2
  295. package/pdf-viewer/index.js +13 -13
  296. package/pdf-viewer/search-bar.d.ts +2 -2
  297. package/pdf-viewer/status.d.ts +2 -2
  298. package/pdf-viewer/style.scss +205 -45
  299. package/pdf-viewer/toolbar.d.ts +1 -1
  300. package/pickers.d.ts +6 -2
  301. package/preact-mount.d.ts +1 -1
  302. package/preact-mount.js +2 -2
  303. package/preact.d.ts +15 -10
  304. package/preact.js +109 -64
  305. package/progress/_bar.scss +9 -3
  306. package/progress/_circular.scss +2 -1
  307. package/rating-choice.d.ts +1 -1
  308. package/rating-choice.js +1 -1
  309. package/react-adapter.d.ts +5 -3
  310. package/react-control.d.ts +1 -0
  311. package/react.d.ts +20 -11
  312. package/react.js +72 -88
  313. package/reorder-list.d.ts +2 -2
  314. package/reorder-list.js +1 -1
  315. package/reorder-list.scss +59 -17
  316. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  317. package/resource-picker/resource-picker-avatar.js +14 -14
  318. package/resource-picker/resource-picker-option.d.ts +1 -1
  319. package/resource-picker/resource-picker-option.js +28 -28
  320. package/resource-picker/resource-picker-popup.d.ts +1 -1
  321. package/resource-picker/resource-picker-popup.js +3 -3
  322. package/resource-picker/resource-picker.d.ts +1 -1
  323. package/resource-picker/resource-picker.js +68 -66
  324. package/resource-picker/resource-picker.scss +66 -35
  325. package/rich-text/engine.d.ts +17 -19
  326. package/rich-text/format-html.d.ts +2 -0
  327. package/rich-text/index.d.ts +11 -7
  328. package/rich-text/index.js +1 -1
  329. package/rich-text/model.d.ts +6 -3
  330. package/rich-text/render-model.d.ts +4 -5
  331. package/rich-text/style.scss +295 -55
  332. package/rich-text/syntax.d.ts +5 -2
  333. package/rich-text/toolbar.d.ts +7 -7
  334. package/rich-text/translations.d.ts +5 -15
  335. package/search-input/index.js +12 -12
  336. package/search-input/native.d.ts +21 -2
  337. package/segmented-switch/index.d.ts +1 -1
  338. package/segmented-switch/index.js +1 -1
  339. package/select.d.ts +22 -0
  340. package/select.js +1 -0
  341. package/selection-list.d.ts +1 -0
  342. package/selection-list.js +3 -1
  343. package/status-feedback/exit-snapshot.js +1 -1
  344. package/status-feedback/index.js +2 -2
  345. package/status-feedback/popover.js +9 -9
  346. package/status-feedback/render.d.ts +2 -2
  347. package/status-feedback/render.js +3 -44
  348. package/status-feedback/status-feedback.scss +130 -34
  349. package/status-feedback/types.d.ts +4 -0
  350. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  351. package/styles/_activity-message.scss +24 -7
  352. package/styles/_alert.scss +78 -17
  353. package/styles/_cell-editor-frame.scss +11 -0
  354. package/styles/_compositions.scss +404 -82
  355. package/styles/_control.scss +42 -12
  356. package/styles/_disclosure.scss +15 -5
  357. package/styles/_editor-counter.scss +16 -6
  358. package/styles/_editor-slider.scss +8 -4
  359. package/styles/_field-configurator.scss +321 -23
  360. package/styles/_fields-grid.scss +49 -0
  361. package/styles/_filter-controls.scss +10 -2
  362. package/styles/_icon-action.scss +48 -15
  363. package/styles/_loading.scss +12 -3
  364. package/styles/_motion.scss +32 -9
  365. package/styles/_palette.scss +0 -24
  366. package/styles/_primitives.scss +376 -116
  367. package/styles/_theme.scss +130 -86
  368. package/styles/_thresholds.scss +28 -25
  369. package/styles/_time-grid.scss +8 -3
  370. package/styles/_tokens.scss +6 -1
  371. package/styles/configurator-actions.scss +241 -0
  372. package/styles/pagination.css +213 -0
  373. package/styles/{legacy-rating.css → rating.css} +8 -3
  374. package/styles.css +1 -1
  375. package/styles.scss +3 -5
  376. package/surfaces.d.ts +38 -2
  377. package/surfaces.js +37 -134
  378. package/svelte/UiComponent.server.js +1 -48
  379. package/svelte/UiComponent.svelte +44 -32
  380. package/svelte.d.ts +1 -1
  381. package/svelte.js +33 -68
  382. package/switch/index.js +3 -2
  383. package/time-grid.d.ts +1 -2
  384. package/time-grid.js +43 -42
  385. package/timeline-track/_style.scss +96 -24
  386. package/timeline-track/component.d.ts +5 -1
  387. package/timeline-track/index.js +91 -74
  388. package/timeline-track/model.d.ts +9 -0
  389. package/timeline-track/model.js +10 -1
  390. package/ui.css +1 -1
  391. package/view-switcher.d.ts +23 -0
  392. package/vue-adapter.d.ts +1 -1
  393. package/vue.d.ts +160 -144
  394. package/vue.js +149 -178
  395. package/_chunks/calendar-BsDxCYhI.js +0 -248
  396. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  397. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  398. package/_chunks/color-palette-BmZ7kH9R.js +0 -94
  399. package/_chunks/component-D4PH5UZT.js +0 -859
  400. package/_chunks/control-tooltip-BCNzQCXE.js +0 -100
  401. package/_chunks/controls-NEL5tDaz.js +0 -615
  402. package/_chunks/date-time-DjucJmbc.js +0 -769
  403. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  404. package/_chunks/dropdown-CkGQBm1Q.js +0 -357
  405. package/_chunks/duration-BCaktcvz.js +0 -270
  406. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  407. package/_chunks/editor-popup-B7fu_A_T.js +0 -81
  408. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  409. package/_chunks/mount-0-8opf1j.js +0 -90
  410. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  411. package/_chunks/picker-oazJ7sO_.js +0 -121
  412. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  413. package/_chunks/request-trail-D0oVzdRd.js +0 -347
  414. package/_chunks/rich-text-2Rla349o.js +0 -477
  415. package/avatar/index.view.d.ts +0 -25
  416. package/color-palette/native.view.d.ts +0 -15
  417. package/control-presentation.view.d.ts +0 -8
  418. package/dialog/dialog-action-footer.view.d.ts +0 -20
  419. package/dialog/dialog.dom.view.d.ts +0 -15
  420. package/form-controls/index.view.d.ts +0 -12
  421. package/formatting/control-tooltip.d.ts +0 -27
  422. package/native-controls.view.d.ts +0 -54
  423. package/react-native-select.d.ts +0 -6
  424. package/search-input/native.view.d.ts +0 -21
  425. package/styles/legacy-pagination.css +0 -112
  426. package/surfaces.view.d.ts +0 -63
  427. package/vue-native-select.d.ts +0 -9
@@ -0,0 +1,378 @@
1
+ import { c as e, i as t, l as n, n as r, r as i, t as a } from "./preact.module-BBM36DnO.js";
2
+ import { c as o, i as s, r as c, t as l } from "./hooks.module-CG3gN83z.js";
3
+ import { t as u } from "./jsxRuntime.module-F6UFnpT-.js";
4
+ import { i as d, r as f, t as p } from "./top-layer-popup-CNSDdfJV.js";
5
+ import { inheritUiMotion as m } from "../core/motion.js";
6
+ //#region ../../node_modules/.pnpm/preact@10.29.1/node_modules/preact/compat/dist/compat.module.js
7
+ function h(e, t) {
8
+ for (var n in t) e[n] = t[n];
9
+ return e;
10
+ }
11
+ function g(e, t) {
12
+ for (var n in e) if (n !== "__source" && !(n in t)) return !0;
13
+ for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
14
+ return !1;
15
+ }
16
+ function _(e, t) {
17
+ this.props = e, this.context = t;
18
+ }
19
+ (_.prototype = new a()).isPureReactComponent = !0, _.prototype.shouldComponentUpdate = function(e, t) {
20
+ return g(this.props, e) || g(this.state, t);
21
+ };
22
+ var v = n.__b;
23
+ n.__b = function(e) {
24
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), v && v(e);
25
+ };
26
+ var y = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
27
+ function b(e) {
28
+ function t(t) {
29
+ var n = h({}, t);
30
+ return delete n.ref, e(n, t.ref || null);
31
+ }
32
+ return t.$$typeof = y, t.render = e, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
33
+ }
34
+ var x = n.__e;
35
+ n.__e = function(e, t, n, r) {
36
+ if (e.then) {
37
+ for (var i, a = t; a = a.__;) if ((i = a.__c) && i.__c) return t.__e ?? (t.__e = n.__e, t.__k = n.__k), i.__c(e, t);
38
+ }
39
+ x(e, t, n, r);
40
+ };
41
+ var S = n.unmount;
42
+ function C(e, t, n) {
43
+ return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(e) {
44
+ typeof e.__c == "function" && e.__c();
45
+ }), e.__c.__H = null), (e = h({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(e) {
46
+ return C(e, t, n);
47
+ })), e;
48
+ }
49
+ function w(e, t, n) {
50
+ return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(e) {
51
+ return w(e, t, n);
52
+ }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
53
+ }
54
+ function T() {
55
+ this.__u = 0, this.o = null, this.__b = null;
56
+ }
57
+ function E(e) {
58
+ var t = e.__ && e.__.__c;
59
+ return t && t.__a && t.__a(e);
60
+ }
61
+ function D() {
62
+ this.i = null, this.l = null;
63
+ }
64
+ n.unmount = function(e) {
65
+ var t = e.__c;
66
+ t && (t.__z = !0), t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), S && S(e);
67
+ }, (T.prototype = new a()).__c = function(e, t) {
68
+ var n = t.__c, r = this;
69
+ r.o ??= [], r.o.push(n);
70
+ var i = E(r.__v), a = !1, o = function() {
71
+ a || r.__z || (a = !0, n.__R = null, i ? i(c) : c());
72
+ };
73
+ n.__R = o;
74
+ var s = n.__P;
75
+ n.__P = null;
76
+ var c = function() {
77
+ if (!--r.__u) {
78
+ if (r.state.__a) {
79
+ var e = r.state.__a;
80
+ r.__v.__k[0] = w(e, e.__c.__P, e.__c.__O);
81
+ }
82
+ var t;
83
+ for (r.setState({ __a: r.__b = null }); t = r.o.pop();) t.__P = s, t.forceUpdate();
84
+ }
85
+ };
86
+ r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(o, o);
87
+ }, T.prototype.componentWillUnmount = function() {
88
+ this.o = [];
89
+ }, T.prototype.render = function(n, r) {
90
+ if (this.__b) {
91
+ if (this.__v.__k) {
92
+ var i = document.createElement("div"), a = this.__v.__k[0].__c;
93
+ this.__v.__k[0] = C(this.__b, i, a.__O = a.__P);
94
+ }
95
+ this.__b = null;
96
+ }
97
+ var o = r.__a && e(t, null, n.fallback);
98
+ return o && (o.__u &= -33), [e(t, null, r.__a ? null : n.children), o];
99
+ };
100
+ var O = function(e, t, n) {
101
+ if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n;) {
102
+ for (; n.length > 3;) n.pop()();
103
+ if (n[1] < n[0]) break;
104
+ e.i = n = n[2];
105
+ }
106
+ };
107
+ function k(e) {
108
+ return this.getChildContext = function() {
109
+ return e.context;
110
+ }, e.children;
111
+ }
112
+ function A(t) {
113
+ var n = this, r = t.h;
114
+ if (n.componentWillUnmount = function() {
115
+ i(null, n.v), n.v = null, n.h = null;
116
+ }, n.h && n.h !== r && n.componentWillUnmount(), !n.v) {
117
+ for (var a = n.__v; a !== null && !a.__m && a.__ !== null;) a = a.__;
118
+ n.h = r, n.v = {
119
+ nodeType: 1,
120
+ parentNode: r,
121
+ childNodes: [],
122
+ __k: { __m: a.__m },
123
+ contains: function() {
124
+ return !0;
125
+ },
126
+ namespaceURI: r.namespaceURI,
127
+ insertBefore: function(e, t) {
128
+ this.childNodes.push(e), n.h.insertBefore(e, t);
129
+ },
130
+ removeChild: function(e) {
131
+ this.childNodes.splice(this.childNodes.indexOf(e) >>> 1, 1), n.h.removeChild(e);
132
+ }
133
+ };
134
+ }
135
+ i(e(k, { context: n.context }, t.__v), n.v);
136
+ }
137
+ function j(t, n) {
138
+ var r = e(A, {
139
+ __v: t,
140
+ h: n
141
+ });
142
+ return r.containerInfo = n, r;
143
+ }
144
+ (D.prototype = new a()).__a = function(e) {
145
+ var t = this, n = E(t.__v), r = t.l.get(e);
146
+ return r[0]++, function(i) {
147
+ var a = function() {
148
+ t.props.revealOrder ? (r.push(i), O(t, e, r)) : i();
149
+ };
150
+ n ? n(a) : a();
151
+ };
152
+ }, D.prototype.render = function(e) {
153
+ this.i = null, this.l = /* @__PURE__ */ new Map();
154
+ var t = r(e.children);
155
+ e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
156
+ for (var n = t.length; n--;) this.l.set(t[n], this.i = [
157
+ 1,
158
+ 0,
159
+ this.i
160
+ ]);
161
+ return e.children;
162
+ }, D.prototype.componentDidUpdate = D.prototype.componentDidMount = function() {
163
+ var e = this;
164
+ this.l.forEach(function(t, n) {
165
+ O(e, n, t);
166
+ });
167
+ };
168
+ var M = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, N = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, P = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, F = /[A-Z0-9]/g, I = typeof document < "u", L = function(e) {
169
+ return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
170
+ };
171
+ a.prototype.isReactComponent = !0, [
172
+ "componentWillMount",
173
+ "componentWillReceiveProps",
174
+ "componentWillUpdate"
175
+ ].forEach(function(e) {
176
+ Object.defineProperty(a.prototype, e, {
177
+ configurable: !0,
178
+ get: function() {
179
+ return this["UNSAFE_" + e];
180
+ },
181
+ set: function(t) {
182
+ Object.defineProperty(this, e, {
183
+ configurable: !0,
184
+ writable: !0,
185
+ value: t
186
+ });
187
+ }
188
+ });
189
+ });
190
+ var R = n.event;
191
+ n.event = function(e) {
192
+ return R && (e = R(e)), e.persist = function() {}, e.isPropagationStopped = function() {
193
+ return this.cancelBubble;
194
+ }, e.isDefaultPrevented = function() {
195
+ return this.defaultPrevented;
196
+ }, e.nativeEvent = e;
197
+ };
198
+ var z = {
199
+ configurable: !0,
200
+ get: function() {
201
+ return this.class;
202
+ }
203
+ }, B = n.vnode;
204
+ n.vnode = function(e) {
205
+ typeof e.type == "string" && function(e) {
206
+ var t = e.props, n = e.type, i = {}, a = n.indexOf("-") == -1;
207
+ for (var o in t) {
208
+ var s = t[o];
209
+ if (!(o === "value" && "defaultValue" in t && s == null || I && o === "children" && n === "noscript" || o === "class" || o === "className")) {
210
+ var c = o.toLowerCase();
211
+ o === "defaultValue" && "value" in t && t.value == null ? o = "value" : o === "download" && !0 === s ? s = "" : c === "translate" && s === "no" ? s = !1 : c[0] === "o" && c[1] === "n" ? c === "ondoubleclick" ? o = "ondblclick" : c !== "onchange" || n !== "input" && n !== "textarea" || L(t.type) ? c === "onfocus" ? o = "onfocusin" : c === "onblur" ? o = "onfocusout" : P.test(o) && (o = c) : c = o = "oninput" : a && N.test(o) ? o = o.replace(F, "-$&").toLowerCase() : s === null && (s = void 0), c === "oninput" && i[o = c] && (o = "oninputCapture"), i[o] = s;
212
+ }
213
+ }
214
+ n == "select" && (i.multiple && Array.isArray(i.value) && (i.value = r(t.children).forEach(function(e) {
215
+ e.props.selected = i.value.indexOf(e.props.value) != -1;
216
+ })), i.defaultValue != null && (i.value = r(t.children).forEach(function(e) {
217
+ e.props.selected = i.multiple ? i.defaultValue.indexOf(e.props.value) != -1 : i.defaultValue == e.props.value;
218
+ }))), t.class && !t.className ? (i.class = t.class, Object.defineProperty(i, "className", z)) : t.className && (i.class = i.className = t.className), e.props = i;
219
+ }(e), e.$$typeof = M, B && B(e);
220
+ };
221
+ var V = n.__r;
222
+ n.__r = function(e) {
223
+ V && V(e), e.__c;
224
+ };
225
+ var H = n.diffed;
226
+ n.diffed = function(e) {
227
+ H && H(e);
228
+ var t = e.props, n = e.__e;
229
+ n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value);
230
+ };
231
+ //#endregion
232
+ //#region src/dropdown/popup.tsx
233
+ var U = 5, W = 4;
234
+ function G(e, t, n) {
235
+ let r = e.ownerDocument.defaultView;
236
+ if (!r) return {
237
+ top: t,
238
+ left: n,
239
+ scaleX: 1,
240
+ scaleY: 1
241
+ };
242
+ if (r.getComputedStyle(e).position === "fixed") {
243
+ let r = e.currentCSSZoom, i = Number.isFinite(r) && r > 0 ? r : 1;
244
+ return {
245
+ top: t / i,
246
+ left: n / i,
247
+ scaleX: i,
248
+ scaleY: i
249
+ };
250
+ }
251
+ let i = e.offsetParent, a = e.ownerDocument;
252
+ if (!i || i === a.body || i === a.documentElement) return {
253
+ top: t + r.scrollY,
254
+ left: n + r.scrollX,
255
+ scaleX: 1,
256
+ scaleY: 1
257
+ };
258
+ let o = i.getBoundingClientRect(), s = i, c = s.offsetWidth > 0 ? o.width / s.offsetWidth : 1, l = s.offsetHeight > 0 ? o.height / s.offsetHeight : 1, u = Number.isFinite(c) && c > 0 ? c : 1, d = Number.isFinite(l) && l > 0 ? l : 1;
259
+ return {
260
+ top: (t - o.top) / d - s.clientTop + s.scrollTop,
261
+ left: (n - o.left) / u - s.clientLeft + s.scrollLeft,
262
+ scaleX: u,
263
+ scaleY: d
264
+ };
265
+ }
266
+ function K({ onPointerRelease: e, triggerRef: t, children: n, portalTarget: r, theme: i, dropdownMenuId: a, popupClassName: h, closeOnClickOutside: g = !1, onClose: _, align: v = "start", matchTriggerWidth: y = !1, maxHeight: b, observePopupResize: x = !0, topLayer: S = !1 }) {
267
+ let C = l(null), [w, T] = s({
268
+ top: 0,
269
+ left: 0,
270
+ display: "none"
271
+ });
272
+ c(() => {
273
+ let e = t.current, n = C.current;
274
+ if (e && n) return m(e, n);
275
+ }, [r, t]), o(() => {
276
+ let e = t.current;
277
+ if (!e) return;
278
+ let n = e.ownerDocument.defaultView ?? window, r = () => {
279
+ let t = C.current;
280
+ if (!t) return;
281
+ let n = e.getBoundingClientRect(), r = G(t, n.bottom + W, n.left);
282
+ T({
283
+ top: r.top,
284
+ left: r.left,
285
+ display: "flex",
286
+ ...y ? { width: n.width / r.scaleX } : {}
287
+ });
288
+ }, i = () => {
289
+ let t = C.current;
290
+ if (!t) return;
291
+ let r = e.getBoundingClientRect(), i = t.style.maxHeight;
292
+ t.style.maxHeight = "";
293
+ let a = t.getBoundingClientRect(), o = G(t, 0, 0), s = Math.max(a.height, t.offsetHeight * o.scaleY, t.scrollHeight * o.scaleY);
294
+ t.style.maxHeight = i;
295
+ let c = Math.max(a.width, t.offsetWidth * o.scaleX), l = Math.min(s, typeof b == "number" ? Math.max(0, b * o.scaleY) : Infinity), u = n.innerHeight, d = n.innerWidth, f = Math.max(0, r.top - W - U), p = Math.max(0, u - r.bottom - W - U), m = l > p && f > p, h = Math.min(l, m ? f : p), g = m ? r.top - W - h : r.bottom + W, _ = v === "end" ? r.right - c : r.left;
296
+ g = Math.max(U, Math.min(g, u - U - h)), _ = Math.max(U, Math.min(_, d - c - U));
297
+ let x = G(t, g, _);
298
+ T({
299
+ top: x.top,
300
+ left: x.left,
301
+ display: "flex",
302
+ maxHeight: h / x.scaleY,
303
+ ...y ? { width: r.width / x.scaleX } : {}
304
+ });
305
+ }, a = (e) => {
306
+ e.target instanceof n.Node && d(C.current, e.target) || i();
307
+ };
308
+ r();
309
+ let o = n.setTimeout(i, 0);
310
+ n.addEventListener("resize", i), n.addEventListener("scroll", a, !0);
311
+ let s = n.ResizeObserver, c = s ? new s(i) : void 0;
312
+ c?.observe(e);
313
+ let l = e.closest(".rv-dialog__surface, dialog");
314
+ return l && c?.observe(l), x && C.current && c?.observe(C.current), () => {
315
+ n.clearTimeout(o), n.removeEventListener("resize", i), n.removeEventListener("scroll", a, !0), c?.disconnect();
316
+ };
317
+ }, [
318
+ v,
319
+ y,
320
+ b,
321
+ x,
322
+ r,
323
+ t
324
+ ]), c(() => {
325
+ let e = C.current;
326
+ if (!S || !e) return;
327
+ let t = f(e);
328
+ return () => {
329
+ p(e, t);
330
+ };
331
+ }, [r, S]), c(() => {
332
+ if (!g || !_) return;
333
+ let e = r?.ownerDocument ?? C.current?.ownerDocument ?? t.current?.ownerDocument ?? (typeof document < "u" ? document : void 0);
334
+ if (!e) return;
335
+ let n = (e) => {
336
+ let n = e.target;
337
+ n && (d(C.current, n) || t.current?.contains(n) || _());
338
+ };
339
+ e.addEventListener("mousedown", n);
340
+ let i = (n) => {
341
+ if (n.key !== "Escape" || C.current?.querySelector("[aria-expanded=\"true\"]")) return;
342
+ let r = e.activeElement;
343
+ r && (C.current?.contains(r) || t.current?.contains(r)) && (n.preventDefault(), n.stopPropagation(), _(), t.current?.querySelector("button, input, select")?.focus());
344
+ };
345
+ return e.addEventListener("keydown", i), () => {
346
+ e.removeEventListener("mousedown", n), e.removeEventListener("keydown", i);
347
+ };
348
+ }, [
349
+ g,
350
+ _,
351
+ r,
352
+ t
353
+ ]);
354
+ let E = /* @__PURE__ */ u("div", {
355
+ ref: C,
356
+ id: a,
357
+ className: `revo-dropdown-menu ${h || ""}`,
358
+ "data-theme": i ?? "default",
359
+ onMouseUp: e,
360
+ onTouchEnd: e,
361
+ style: {
362
+ top: `${w.top}px`,
363
+ left: `${w.left}px`,
364
+ ...S ? {
365
+ right: "auto",
366
+ bottom: "auto",
367
+ margin: "0"
368
+ } : {},
369
+ display: w.display,
370
+ maxHeight: w.maxHeight === void 0 ? void 0 : `${w.maxHeight}px`,
371
+ width: w.width === void 0 ? void 0 : `${w.width}px`
372
+ },
373
+ children: n
374
+ });
375
+ return r ? j(E, r) : E;
376
+ }
377
+ //#endregion
378
+ export { j as n, b as r, K as t };
@@ -0,0 +1,290 @@
1
+ //#region ../../node_modules/.pnpm/preact@10.29.1/node_modules/preact/dist/preact.module.js
2
+ var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g = {}, _ = [], v = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y = Array.isArray;
3
+ function b(e, t) {
4
+ for (var n in t) e[n] = t[n];
5
+ return e;
6
+ }
7
+ function x(e) {
8
+ e && e.parentNode && e.parentNode.removeChild(e);
9
+ }
10
+ function S(t, n, r) {
11
+ var i, a, o, s = {};
12
+ for (o in n) o == "key" ? i = n[o] : o == "ref" ? a = n[o] : s[o] = n[o];
13
+ if (arguments.length > 2 && (s.children = arguments.length > 3 ? e.call(arguments, 2) : r), typeof t == "function" && t.defaultProps != null) for (o in t.defaultProps) s[o] === void 0 && (s[o] = t.defaultProps[o]);
14
+ return C(t, s, i, a, null);
15
+ }
16
+ function C(e, r, i, a, o) {
17
+ var s = {
18
+ type: e,
19
+ props: r,
20
+ key: i,
21
+ ref: a,
22
+ __k: null,
23
+ __: null,
24
+ __b: 0,
25
+ __e: null,
26
+ __c: null,
27
+ constructor: void 0,
28
+ __v: o ?? ++n,
29
+ __i: -1,
30
+ __u: 0
31
+ };
32
+ return o == null && t.vnode != null && t.vnode(s), s;
33
+ }
34
+ function w(e) {
35
+ return e.children;
36
+ }
37
+ function T(e, t) {
38
+ this.props = e, this.context = t;
39
+ }
40
+ function E(e, t) {
41
+ if (t == null) return e.__ ? E(e.__, e.__i + 1) : null;
42
+ for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
43
+ return typeof e.type == "function" ? E(e) : null;
44
+ }
45
+ function D(e) {
46
+ if (e.__P && e.__d) {
47
+ var n = e.__v, r = n.__e, i = [], a = [], o = b({}, n);
48
+ o.__v = n.__v + 1, t.vnode && t.vnode(o), z(e.__P, o, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [r] : null, i, r ?? E(n), !!(32 & n.__u), a), o.__v = n.__v, o.__.__k[o.__i] = o, V(i, o, a), n.__e = n.__ = null, o.__e != r && O(o);
49
+ }
50
+ }
51
+ function O(e) {
52
+ if ((e = e.__) != null && e.__c != null) return e.__e = e.__c.base = null, e.__k.some(function(t) {
53
+ if (t != null && t.__e != null) return e.__e = e.__c.base = t.__e;
54
+ }), O(e);
55
+ }
56
+ function k(e) {
57
+ (!e.__d && (e.__d = !0) && i.push(e) && !A.__r++ || a != t.debounceRendering) && ((a = t.debounceRendering) || o)(A);
58
+ }
59
+ function A() {
60
+ try {
61
+ for (var e, t = 1; i.length;) i.length > t && i.sort(s), e = i.shift(), t = i.length, D(e);
62
+ } finally {
63
+ i.length = A.__r = 0;
64
+ }
65
+ }
66
+ function j(e, t, n, r, i, a, o, s, c, l, u) {
67
+ var d, f, p, m, h, v, y, b = r && r.__k || _, x = t.length;
68
+ for (c = M(n, t, b, c, x), d = 0; d < x; d++) (p = n.__k[d]) != null && (f = p.__i != -1 && b[p.__i] || g, p.__i = d, v = z(e, p, f, i, a, o, s, c, l, u), m = p.__e, p.ref && f.ref != p.ref && (f.ref && W(f.ref, null, p), u.push(p.ref, p.__c || m, p)), h == null && m != null && (h = m), (y = !!(4 & p.__u)) || f.__k === p.__k ? (c = N(p, c, e, y), y && f.__e && (f.__e = null)) : typeof p.type == "function" && v !== void 0 ? c = v : m && (c = m.nextSibling), p.__u &= -7);
69
+ return n.__e = h, c;
70
+ }
71
+ function M(e, t, n, r, i) {
72
+ var a, o, s, c, l, u = n.length, d = u, f = 0;
73
+ for (e.__k = Array(i), a = 0; a < i; a++) (o = t[a]) != null && typeof o != "boolean" && typeof o != "function" ? (typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? o = e.__k[a] = C(null, o, null, null, null) : y(o) ? o = e.__k[a] = C(w, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? o = e.__k[a] = C(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : e.__k[a] = o, c = a + f, o.__ = e, o.__b = e.__b + 1, s = null, (l = o.__i = F(o, n, c, d)) != -1 && (d--, (s = n[l]) && (s.__u |= 2)), s == null || s.__v == null ? (l == -1 && (i > u ? f-- : i < u && f++), typeof o.type != "function" && (o.__u |= 4)) : l != c && (l == c - 1 ? f-- : l == c + 1 ? f++ : (l > c ? f-- : f++, o.__u |= 4))) : e.__k[a] = null;
74
+ if (d) for (a = 0; a < u; a++) (s = n[a]) != null && !(2 & s.__u) && (s.__e == r && (r = E(s)), G(s, s));
75
+ return r;
76
+ }
77
+ function N(e, t, n, r) {
78
+ var i, a;
79
+ if (typeof e.type == "function") {
80
+ for (i = e.__k, a = 0; i && a < i.length; a++) i[a] && (i[a].__ = e, t = N(i[a], t, n, r));
81
+ return t;
82
+ }
83
+ e.__e != t && (r && (t && e.type && !t.parentNode && (t = E(e)), n.insertBefore(e.__e, t || null)), t = e.__e);
84
+ do
85
+ t &&= t.nextSibling;
86
+ while (t != null && t.nodeType == 8);
87
+ return t;
88
+ }
89
+ function P(e, t) {
90
+ return t ||= [], e == null || typeof e == "boolean" || (y(e) ? e.some(function(e) {
91
+ P(e, t);
92
+ }) : t.push(e)), t;
93
+ }
94
+ function F(e, t, n, r) {
95
+ var i, a, o, s = e.key, c = e.type, l = t[n], u = l != null && !(2 & l.__u);
96
+ if (l === null && s == null || u && s == l.key && c == l.type) return n;
97
+ if (r > +!!u) {
98
+ for (i = n - 1, a = n + 1; i >= 0 || a < t.length;) if ((l = t[o = i >= 0 ? i-- : a++]) != null && !(2 & l.__u) && s == l.key && c == l.type) return o;
99
+ }
100
+ return -1;
101
+ }
102
+ function I(e, t, n) {
103
+ t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || v.test(t) ? n : n + "px";
104
+ }
105
+ function L(e, t, n, r, i) {
106
+ var a, o;
107
+ n: if (t == "style") {
108
+ if (typeof n == "string") e.style.cssText = n;
109
+ else {
110
+ if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || I(e.style, t, "");
111
+ if (n) for (t in n) r && n[t] == r[t] || I(e.style, t, n[t]);
112
+ }
113
+ } else if (t[0] == "o" && t[1] == "n") a = t != (t = t.replace(d, "$1")), o = t.toLowerCase(), t = o in e || t == "onFocusOut" || t == "onFocusIn" ? o.slice(2) : t.slice(2), e.l ||= {}, e.l[t + a] = n, n ? r ? n[u] = r[u] : (n[u] = f, e.addEventListener(t, a ? m : p, a)) : e.removeEventListener(t, a ? m : p, a);
114
+ else {
115
+ if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
116
+ else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
117
+ e[t] = n ?? "";
118
+ break n;
119
+ } catch {}
120
+ typeof n == "function" || (n == null || !1 === n && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
121
+ }
122
+ }
123
+ function R(e) {
124
+ return function(n) {
125
+ if (this.l) {
126
+ var r = this.l[n.type + e];
127
+ if (n[l] == null) n[l] = f++;
128
+ else if (n[l] < r[u]) return;
129
+ return r(t.event ? t.event(n) : n);
130
+ }
131
+ };
132
+ }
133
+ function z(e, n, r, i, a, o, s, c, l, u) {
134
+ var d, f, p, m, h, g, v, S, C, E, D, O, k, A, M, N = n.type;
135
+ if (n.constructor !== void 0) return null;
136
+ 128 & r.__u && (l = !!(32 & r.__u), o = [c = n.__e = r.__e]), (d = t.__b) && d(n);
137
+ n: if (typeof N == "function") try {
138
+ if (S = n.props, C = N.prototype && N.prototype.render, E = (d = N.contextType) && i[d.__c], D = d ? E ? E.props.value : d.__ : i, r.__c ? v = (f = n.__c = r.__c).__ = f.__E : (C ? n.__c = f = new N(S, D) : (n.__c = f = new T(S, D), f.constructor = N, f.render = K), E && E.sub(f), f.state || (f.state = {}), f.__n = i, p = f.__d = !0, f.__h = [], f._sb = []), C && f.__s == null && (f.__s = f.state), C && N.getDerivedStateFromProps != null && (f.__s == f.state && (f.__s = b({}, f.__s)), b(f.__s, N.getDerivedStateFromProps(S, f.__s))), m = f.props, h = f.state, f.__v = n, p) C && N.getDerivedStateFromProps == null && f.componentWillMount != null && f.componentWillMount(), C && f.componentDidMount != null && f.__h.push(f.componentDidMount);
139
+ else {
140
+ if (C && N.getDerivedStateFromProps == null && S !== m && f.componentWillReceiveProps != null && f.componentWillReceiveProps(S, D), n.__v == r.__v || !f.__e && f.shouldComponentUpdate != null && !1 === f.shouldComponentUpdate(S, f.__s, D)) {
141
+ n.__v != r.__v && (f.props = S, f.state = f.__s, f.__d = !1), n.__e = r.__e, n.__k = r.__k, n.__k.some(function(e) {
142
+ e && (e.__ = n);
143
+ }), _.push.apply(f.__h, f._sb), f._sb = [], f.__h.length && s.push(f);
144
+ break n;
145
+ }
146
+ f.componentWillUpdate != null && f.componentWillUpdate(S, f.__s, D), C && f.componentDidUpdate != null && f.__h.push(function() {
147
+ f.componentDidUpdate(m, h, g);
148
+ });
149
+ }
150
+ if (f.context = D, f.props = S, f.__P = e, f.__e = !1, O = t.__r, k = 0, C) f.state = f.__s, f.__d = !1, O && O(n), d = f.render(f.props, f.state, f.context), _.push.apply(f.__h, f._sb), f._sb = [];
151
+ else do
152
+ f.__d = !1, O && O(n), d = f.render(f.props, f.state, f.context), f.state = f.__s;
153
+ while (f.__d && ++k < 25);
154
+ f.state = f.__s, f.getChildContext != null && (i = b(b({}, i), f.getChildContext())), C && !p && f.getSnapshotBeforeUpdate != null && (g = f.getSnapshotBeforeUpdate(m, h)), A = d != null && d.type === w && d.key == null ? H(d.props.children) : d, c = j(e, y(A) ? A : [A], n, r, i, a, o, s, c, l, u), f.base = n.__e, n.__u &= -161, f.__h.length && s.push(f), v && (f.__E = f.__ = null);
155
+ } catch (e) {
156
+ if (n.__v = null, l || o != null) {
157
+ if (e.then) {
158
+ for (n.__u |= l ? 160 : 128; c && c.nodeType == 8 && c.nextSibling;) c = c.nextSibling;
159
+ o[o.indexOf(c)] = null, n.__e = c;
160
+ } else {
161
+ for (M = o.length; M--;) x(o[M]);
162
+ B(n);
163
+ }
164
+ } else n.__e = r.__e, n.__k = r.__k, e.then || B(n);
165
+ t.__e(e, n, r);
166
+ }
167
+ else o == null && n.__v == r.__v ? (n.__k = r.__k, n.__e = r.__e) : c = n.__e = U(r.__e, n, r, i, a, o, s, l, u);
168
+ return (d = t.diffed) && d(n), 128 & n.__u ? void 0 : c;
169
+ }
170
+ function B(e) {
171
+ e && (e.__c && (e.__c.__e = !0), e.__k && e.__k.some(B));
172
+ }
173
+ function V(e, n, r) {
174
+ for (var i = 0; i < r.length; i++) W(r[i], r[++i], r[++i]);
175
+ t.__c && t.__c(n, e), e.some(function(n) {
176
+ try {
177
+ e = n.__h, n.__h = [], e.some(function(e) {
178
+ e.call(n);
179
+ });
180
+ } catch (e) {
181
+ t.__e(e, n.__v);
182
+ }
183
+ });
184
+ }
185
+ function H(e) {
186
+ return typeof e != "object" || !e || e.__b > 0 ? e : y(e) ? e.map(H) : b({}, e);
187
+ }
188
+ function U(n, r, i, a, o, s, c, l, u) {
189
+ var d, f, p, m, h, _, v, b = i.props || g, S = r.props, C = r.type;
190
+ if (C == "svg" ? o = "http://www.w3.org/2000/svg" : C == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o ||= "http://www.w3.org/1999/xhtml", s != null) {
191
+ for (d = 0; d < s.length; d++) if ((h = s[d]) && "setAttribute" in h == !!C && (C ? h.localName == C : h.nodeType == 3)) {
192
+ n = h, s[d] = null;
193
+ break;
194
+ }
195
+ }
196
+ if (n == null) {
197
+ if (C == null) return document.createTextNode(S);
198
+ n = document.createElementNS(o, C, S.is && S), l &&= (t.__m && t.__m(r, s), !1), s = null;
199
+ }
200
+ if (C == null) b === S || l && n.data == S || (n.data = S);
201
+ else {
202
+ if (s &&= e.call(n.childNodes), !l && s != null) for (b = {}, d = 0; d < n.attributes.length; d++) b[(h = n.attributes[d]).name] = h.value;
203
+ for (d in b) h = b[d], d == "dangerouslySetInnerHTML" ? p = h : d == "children" || d in S || d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S || L(n, d, null, h, o);
204
+ for (d in S) h = S[d], d == "children" ? m = h : d == "dangerouslySetInnerHTML" ? f = h : d == "value" ? _ = h : d == "checked" ? v = h : l && typeof h != "function" || b[d] === h || L(n, d, h, b[d], o);
205
+ if (f) l || p && (f.__html == p.__html || f.__html == n.innerHTML) || (n.innerHTML = f.__html), r.__k = [];
206
+ else if (p && (n.innerHTML = ""), j(r.type == "template" ? n.content : n, y(m) ? m : [m], r, i, a, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, s, c, s ? s[0] : i.__k && E(i, 0), l, u), s != null) for (d = s.length; d--;) x(s[d]);
207
+ l || (d = "value", C == "progress" && _ == null ? n.removeAttribute("value") : _ != null && (_ !== n[d] || C == "progress" && !_ || C == "option" && _ != b[d]) && L(n, d, _, b[d], o), d = "checked", v != null && v != n[d] && L(n, d, v, b[d], o));
208
+ }
209
+ return n;
210
+ }
211
+ function W(e, n, r) {
212
+ try {
213
+ if (typeof e == "function") {
214
+ var i = typeof e.__u == "function";
215
+ i && e.__u(), i && n == null || (e.__u = e(n));
216
+ } else e.current = n;
217
+ } catch (e) {
218
+ t.__e(e, r);
219
+ }
220
+ }
221
+ function G(e, n, r) {
222
+ var i, a;
223
+ if (t.unmount && t.unmount(e), (i = e.ref) && (i.current && i.current != e.__e || W(i, null, n)), (i = e.__c) != null) {
224
+ if (i.componentWillUnmount) try {
225
+ i.componentWillUnmount();
226
+ } catch (e) {
227
+ t.__e(e, n);
228
+ }
229
+ i.base = i.__P = null;
230
+ }
231
+ if (i = e.__k) for (a = 0; a < i.length; a++) i[a] && G(i[a], n, r || typeof e.type != "function");
232
+ r || x(e.__e), e.__c = e.__ = e.__e = void 0;
233
+ }
234
+ function K(e, t, n) {
235
+ return this.constructor(e, n);
236
+ }
237
+ function q(n, r, i) {
238
+ var a, o, s, c;
239
+ r == document && (r = document.documentElement), t.__ && t.__(n, r), o = (a = typeof i == "function") ? null : i && i.__k || r.__k, s = [], c = [], z(r, n = (!a && i || r).__k = S(w, null, [n]), o || g, g, r.namespaceURI, !a && i ? [i] : o ? null : r.firstChild ? e.call(r.childNodes) : null, s, !a && i ? i : o ? o.__e : r.firstChild, a, c), V(s, n, c);
240
+ }
241
+ function J(e, t) {
242
+ q(e, t, J);
243
+ }
244
+ function Y(t, n, r) {
245
+ var i, a, o, s, c = b({}, t.props);
246
+ for (o in t.type && t.type.defaultProps && (s = t.type.defaultProps), n) o == "key" ? i = n[o] : o == "ref" ? a = n[o] : c[o] = n[o] === void 0 && s != null ? s[o] : n[o];
247
+ return arguments.length > 2 && (c.children = arguments.length > 3 ? e.call(arguments, 2) : r), C(t.type, c, i || t.key, a || t.ref, null);
248
+ }
249
+ function X(e) {
250
+ function t(e) {
251
+ var n, r;
252
+ return this.getChildContext || (n = /* @__PURE__ */ new Set(), (r = {})[t.__c] = this, this.getChildContext = function() {
253
+ return r;
254
+ }, this.componentWillUnmount = function() {
255
+ n = null;
256
+ }, this.shouldComponentUpdate = function(e) {
257
+ this.props.value != e.value && n.forEach(function(e) {
258
+ e.__e = !0, k(e);
259
+ });
260
+ }, this.sub = function(e) {
261
+ n.add(e);
262
+ var t = e.componentWillUnmount;
263
+ e.componentWillUnmount = function() {
264
+ n && n.delete(e), t && t.call(e);
265
+ };
266
+ }), e.children;
267
+ }
268
+ return t.__c = "__cC" + h++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(e, t) {
269
+ return e.children(t);
270
+ }).contextType = t, t;
271
+ }
272
+ e = _.slice, t = { __e: function(e, t, n, r) {
273
+ for (var i, a, o; t = t.__;) if ((i = t.__c) && !i.__) try {
274
+ if ((a = i.constructor) && a.getDerivedStateFromError != null && (i.setState(a.getDerivedStateFromError(e)), o = i.__d), i.componentDidCatch != null && (i.componentDidCatch(e, r || {}), o = i.__d), o) return i.__E = i;
275
+ } catch (t) {
276
+ e = t;
277
+ }
278
+ throw e;
279
+ } }, n = 0, r = function(e) {
280
+ return e != null && e.constructor === void 0;
281
+ }, T.prototype.setState = function(e, t) {
282
+ var n = this.__s != null && this.__s != this.state ? this.__s : this.__s = b({}, this.state);
283
+ typeof e == "function" && (e = e(b({}, n), this.props)), e && b(n, e), e != null && this.__v && (t && this._sb.push(t), k(this));
284
+ }, T.prototype.forceUpdate = function(e) {
285
+ this.__v && (this.__e = !0, e && this.__h.push(e), k(this));
286
+ }, T.prototype.render = w, i = [], o = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, s = function(e, t) {
287
+ return e.__v.__b - t.__v.__b;
288
+ }, A.__r = 0, c = Math.random().toString(8), l = "__d" + c, u = "__a" + c, d = /(PointerCapture)$|Capture$/i, f = 0, p = R(!1), m = R(!0), h = 0;
289
+ //#endregion
290
+ export { J as a, S as c, w as i, t as l, P as n, Y as o, q as r, X as s, T as t, r as u };