@mittwald/flow-react-components 0.2.0-alpha.25 → 0.2.0-alpha.27

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 (245) hide show
  1. package/CHANGELOG.md +322 -9
  2. package/dist/js/{Accordion-ehDuiU7W.js → Accordion-Dpj1oFzd.js} +3 -3
  3. package/dist/js/Accordion.js +1 -1
  4. package/dist/js/{Action-C1Tw5pqL.js → Action-DfWvHbWy.js} +1 -1
  5. package/dist/js/Action.js +1 -1
  6. package/dist/js/ActionGroup-Df471PRl.js +54 -0
  7. package/dist/js/ActionGroup.js +1 -1
  8. package/dist/js/Alert.js +2 -2
  9. package/dist/js/AlertBadge.js +3 -3
  10. package/dist/js/{AlertIcon-zxc_IFxt.js → AlertIcon-DLNwOcjK.js} +4 -4
  11. package/dist/js/AlertIcon.js +1 -1
  12. package/dist/js/Align.js +1 -1
  13. package/dist/js/Avatar-BnUeBUUe.js +68 -0
  14. package/dist/js/Avatar.js +1 -1
  15. package/dist/js/{Badge-CiZ2cJPc.js → Badge-COtCTH_k.js} +3 -3
  16. package/dist/js/Badge.js +1 -1
  17. package/dist/js/Breadcrumb.js +2 -2
  18. package/dist/js/{Button-WawPguWq.js → Button-CpidnrB2.js} +4 -4
  19. package/dist/js/Button.js +1 -1
  20. package/dist/js/{ButtonView-inzXKZFE.js → ButtonView-9JIUBb3-.js} +1 -1
  21. package/dist/js/{CalendarHeader-D7_Itm72.js → CalendarHeader-FzRkroPI.js} +4 -4
  22. package/dist/js/{Checkbox-D2UcTbDY.js → Checkbox-DeFXQE8t.js} +3 -3
  23. package/dist/js/Checkbox.js +1 -1
  24. package/dist/js/CheckboxButton.js +28 -3
  25. package/dist/js/CheckboxGroup.js +22 -24
  26. package/dist/js/{CodeBlock-DyPUKUfC.js → CodeBlock-CIe3HE6_.js} +1 -1
  27. package/dist/js/CodeBlock.js +1 -1
  28. package/dist/js/ComboBox.js +93 -0
  29. package/dist/js/{Content-mlearvuR.js → Content-VZW7wYH0.js} +1 -1
  30. package/dist/js/Content.js +1 -1
  31. package/dist/js/ContextMenu.js +4 -4
  32. package/dist/js/{ContextMenuContent-N8Co_64N.js → ContextMenuContent-DQojalD_.js} +13 -15
  33. package/dist/js/{ContextMenuSection-C4JcZt6N.js → ContextMenuSection-DSFhpvV8.js} +3 -3
  34. package/dist/js/ContextualHelp.js +3 -3
  35. package/dist/js/{CopyButton-hLDhvtYv.js → CopyButton-Cxn4ZL7P.js} +4 -4
  36. package/dist/js/CopyButton.js +1 -1
  37. package/dist/js/CounterBadge.js +1 -1
  38. package/dist/js/DatePicker.js +6 -6
  39. package/dist/js/DateRangePicker.js +6 -6
  40. package/dist/js/{FieldDescription-DBKM9JJK.js → FieldDescription-6bRgUF6j.js} +2 -2
  41. package/dist/js/FieldDescription.js +1 -1
  42. package/dist/js/{FieldError-Dvter_gI.js → FieldError-x5ErhzHX.js} +2 -2
  43. package/dist/js/FieldError.js +1 -1
  44. package/dist/js/FileCard.js +9 -9
  45. package/dist/js/FileDropZone.js +41 -0
  46. package/dist/js/FileField.js +1 -1
  47. package/dist/js/{Header-6rzaR_ZQ.js → Header-CKEomWir.js} +10 -9
  48. package/dist/js/Header.js +1 -1
  49. package/dist/js/HeaderNavigation.js +1 -1
  50. package/dist/js/{Heading-CAK54nAl.js → Heading-CxJ8-gg1.js} +1 -1
  51. package/dist/js/Heading.js +1 -1
  52. package/dist/js/{Icon-BwWnkfBs.js → Icon-D1s_Nl8f.js} +1 -1
  53. package/dist/js/Icon.js +1 -1
  54. package/dist/js/{IconCalendar-Q15swPO9.js → IconCalendar-DICXvFAK.js} +2 -2
  55. package/dist/js/{IconCheck-DSJw_XKy.js → IconCheck-Bqw7XyGS.js} +2 -2
  56. package/dist/js/{IconCheckboxEmpty-CJsL0HKI.js → IconCheckboxEmpty-CdHWDs3V.js} +2 -2
  57. package/dist/js/{IconCheckboxIndeterminate-BegmYi5q.js → IconCheckboxIndeterminate-B2xz1HQB.js} +2 -2
  58. package/dist/js/{IconChevronDown-DbVQ4UKe.js → IconChevronDown-DaiVaZc2.js} +2 -2
  59. package/dist/js/{IconChevronRight-B7wLgosL.js → IconChevronRight-OYYpwzCw.js} +2 -2
  60. package/dist/js/{IconChevronUp-C7IqV12r.js → IconChevronUp-Bt9GQ5m2.js} +2 -2
  61. package/dist/js/{IconClose-B4zJVugN.js → IconClose-DE2OkcZ3.js} +2 -2
  62. package/dist/js/{IconContextMenu-DnwSrGtk.js → IconContextMenu-Ddfi5ZZF.js} +2 -2
  63. package/dist/js/{IconCopy-DlhvXpzM.js → IconCopy-DPIeCh7x.js} +2 -2
  64. package/dist/js/{IconDanger-CLQjl-bG.js → IconDanger--t2ciHuJ.js} +2 -2
  65. package/dist/js/{IconExternalLink-DmREEXln.js → IconExternalLink-gf7iLNMk.js} +2 -2
  66. package/dist/js/{IconFile-C6gwhTzA.js → IconFile-mXOcGrvi.js} +2 -2
  67. package/dist/js/{IconInfo-DOr5jJ3x.js → IconInfo-CjGNgTHe.js} +2 -2
  68. package/dist/js/{IconPending-DtrOmfTQ.js → IconPending-BMtWE5DF.js} +2 -2
  69. package/dist/js/{IconPlus-B4GbH9Av.js → IconPlus-gE84aqHi.js} +2 -2
  70. package/dist/js/{IconRadioOn-CbW3RjJ2.js → IconRadioOn-DtJlH5uD.js} +2 -2
  71. package/dist/js/{IconSearch-DEZjce1A.js → IconSearch-C-AbvN_g.js} +2 -2
  72. package/dist/js/{IconSucceeded-C9y_vsxu.js → IconSucceeded-CNEZRcRX.js} +2 -2
  73. package/dist/js/{IconView-B2Dw4XBX.js → IconView-Brtz6E06.js} +1 -1
  74. package/dist/js/{IconView-DwPoNey_.js → IconView-rHKlJeFp.js} +2 -2
  75. package/dist/js/{IconWarning-b9Fu7oJU.js → IconWarning-OHzWO61S.js} +2 -2
  76. package/dist/js/Icons.js +131 -120
  77. package/dist/js/{Image-bgRpoOYx.js → Image-CL-HtWkf.js} +1 -1
  78. package/dist/js/Image.js +1 -1
  79. package/dist/js/Initials.js +18 -3
  80. package/dist/js/{Label-BNeqtA5n.js → Label-Dd2332r2.js} +1 -1
  81. package/dist/js/Label.js +1 -1
  82. package/dist/js/LayoutCard.js +1 -1
  83. package/dist/js/LightBox.js +3 -3
  84. package/dist/js/{Link-CgqjxAXS.js → Link-Bi5EK_xM.js} +2 -2
  85. package/dist/js/Link.js +1 -1
  86. package/dist/js/List.js +762 -665
  87. package/dist/js/{LoadingSpinner-Bi3wJJYc.js → LoadingSpinner-CLdEsHVt.js} +2 -2
  88. package/dist/js/LoadingSpinner.js +1 -1
  89. package/dist/js/Markdown.js +11 -10
  90. package/dist/js/MenuItem-DuSDaivo.js +58 -0
  91. package/dist/js/MenuItem.js +1 -1
  92. package/dist/js/Message.js +2 -2
  93. package/dist/js/Modal.js +5 -5
  94. package/dist/js/Navigation.js +44 -43
  95. package/dist/js/Notification.js +5 -5
  96. package/dist/js/NotificationProvider.js +31 -31
  97. package/dist/js/NumberField.js +6 -6
  98. package/dist/js/Option-Dq2kSEMl.js +20 -0
  99. package/dist/js/Option.js +7 -0
  100. package/dist/js/Options-1UizQrjb.js +26 -0
  101. package/dist/js/{Popover-Ck5nKNR3.js → Popover-2yo5j1XN.js} +1 -1
  102. package/dist/js/Popover.js +3 -3
  103. package/dist/js/RadioGroup.js +55 -57
  104. package/dist/js/{SearchField-ONmuF9P1.js → SearchField-DVIJ25lZ.js} +5 -5
  105. package/dist/js/SearchField.js +1 -1
  106. package/dist/js/{Section-CWfvE5ls.js → Section-CT6QbDC-.js} +2 -2
  107. package/dist/js/Section.js +1 -1
  108. package/dist/js/SegmentedControl.js +3 -3
  109. package/dist/js/Select.js +63 -84
  110. package/dist/js/Slider.js +3 -3
  111. package/dist/js/{Switch-Bg5jHbFG.js → Switch-DGEFjK19.js} +4 -4
  112. package/dist/js/Switch.js +1 -1
  113. package/dist/js/Tabs.js +45 -47
  114. package/dist/js/{Text-CW_CzcoD.js → Text-CIEzKaxJ.js} +1 -1
  115. package/dist/js/Text.js +1 -1
  116. package/dist/js/TextArea.js +2 -2
  117. package/dist/js/TextField.js +2 -2
  118. package/dist/js/{TextFieldBase-BOhCwxJG.js → TextFieldBase-ByaoeeVY.js} +2 -2
  119. package/dist/js/TimeField.js +2 -2
  120. package/dist/js/all.css +1 -1
  121. package/dist/js/{flowComponent-B8dC8eRj.js → flowComponent--S4z-7r_.js} +1 -1
  122. package/dist/js/hooks.js +1 -1
  123. package/dist/js/internal.js +1 -1
  124. package/dist/js/lib-D5zMvYjy.js +12 -0
  125. package/dist/js/react-hook-form/Field.js +1 -1
  126. package/dist/js/react-hook-form/Form.js +1 -1
  127. package/dist/js/types/components/ActionGroup/ActionGroup.d.ts.map +1 -1
  128. package/dist/js/types/components/ActionGroup/stories/Default.stories.d.ts +1 -0
  129. package/dist/js/types/components/ActionGroup/stories/Default.stories.d.ts.map +1 -1
  130. package/dist/js/types/components/Align/stories/InputButton.stories.d.ts.map +1 -1
  131. package/dist/js/types/components/Avatar/Avatar.d.ts.map +1 -1
  132. package/dist/js/types/components/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
  133. package/dist/js/types/components/ComboBox/ComboBox.d.ts +11 -0
  134. package/dist/js/types/components/ComboBox/ComboBox.d.ts.map +1 -0
  135. package/dist/js/types/components/ComboBox/index.d.ts +4 -0
  136. package/dist/js/types/components/ComboBox/index.d.ts.map +1 -0
  137. package/dist/js/types/components/ComboBox/stories/Default.stories.d.ts +13 -0
  138. package/dist/js/types/components/ComboBox/stories/Default.stories.d.ts.map +1 -0
  139. package/dist/js/types/components/ContextMenu/lib.d.ts.map +1 -1
  140. package/dist/js/types/components/FileDropZone/FileDropZone.d.ts +10 -0
  141. package/dist/js/types/components/FileDropZone/FileDropZone.d.ts.map +1 -0
  142. package/dist/js/types/components/FileDropZone/index.d.ts +4 -0
  143. package/dist/js/types/components/FileDropZone/index.d.ts.map +1 -0
  144. package/dist/js/types/components/FileDropZone/stories/Default.stories.d.ts +10 -0
  145. package/dist/js/types/components/FileDropZone/stories/Default.stories.d.ts.map +1 -0
  146. package/dist/js/types/components/Icon/components/icons/IconBulb.d.ts +5 -0
  147. package/dist/js/types/components/Icon/components/icons/IconBulb.d.ts.map +1 -0
  148. package/dist/js/types/components/Icon/components/icons/IconCertificate.d.ts +5 -0
  149. package/dist/js/types/components/Icon/components/icons/IconCertificate.d.ts.map +1 -0
  150. package/dist/js/types/components/Icon/components/icons/IconDesktop.d.ts +5 -0
  151. package/dist/js/types/components/Icon/components/icons/IconDesktop.d.ts.map +1 -0
  152. package/dist/js/types/components/Icon/components/icons/IconDirectory.d.ts +5 -0
  153. package/dist/js/types/components/Icon/components/icons/IconDirectory.d.ts.map +1 -0
  154. package/dist/js/types/components/Icon/components/icons/IconLink.d.ts +5 -0
  155. package/dist/js/types/components/Icon/components/icons/IconLink.d.ts.map +1 -0
  156. package/dist/js/types/components/Icon/components/icons/IconMobile.d.ts +5 -0
  157. package/dist/js/types/components/Icon/components/icons/IconMobile.d.ts.map +1 -0
  158. package/dist/js/types/components/Icon/components/icons/IconMove.d.ts +5 -0
  159. package/dist/js/types/components/Icon/components/icons/IconMove.d.ts.map +1 -0
  160. package/dist/js/types/components/Icon/components/icons/IconPicture.d.ts +5 -0
  161. package/dist/js/types/components/Icon/components/icons/IconPicture.d.ts.map +1 -0
  162. package/dist/js/types/components/Icon/components/icons/IconSparkles.d.ts +5 -0
  163. package/dist/js/types/components/Icon/components/icons/IconSparkles.d.ts.map +1 -0
  164. package/dist/js/types/components/Icon/components/icons/IconUpload.d.ts +5 -0
  165. package/dist/js/types/components/Icon/components/icons/IconUpload.d.ts.map +1 -0
  166. package/dist/js/types/components/Icon/components/icons/IconVhost.d.ts +5 -0
  167. package/dist/js/types/components/Icon/components/icons/IconVhost.d.ts.map +1 -0
  168. package/dist/js/types/components/Icon/components/icons/index.d.ts +11 -0
  169. package/dist/js/types/components/Icon/components/icons/index.d.ts.map +1 -1
  170. package/dist/js/types/components/List/List.d.ts.map +1 -1
  171. package/dist/js/types/components/List/components/Header/Header.d.ts.map +1 -1
  172. package/dist/js/types/components/List/components/Header/components/ViewModeMenu/ViewModeMenu.d.ts.map +1 -1
  173. package/dist/js/types/components/List/components/Items/Items.d.ts.map +1 -1
  174. package/dist/js/types/components/List/components/Items/components/FallbackItems/FallbackItems.d.ts.map +1 -1
  175. package/dist/js/types/components/List/components/Items/components/Item/Item.d.ts +1 -1
  176. package/dist/js/types/components/List/components/Items/components/Item/Item.d.ts.map +1 -1
  177. package/dist/js/types/components/List/components/Items/components/Item/components/SkeletonView/SkeletonView.d.ts.map +1 -1
  178. package/dist/js/types/components/List/components/Items/views/GridListItem/GridListItem.d.ts +1 -0
  179. package/dist/js/types/components/List/components/Items/views/GridListItem/GridListItem.d.ts.map +1 -1
  180. package/dist/js/types/components/List/components/ListItemView/ListItemView.d.ts +1 -2
  181. package/dist/js/types/components/List/components/ListItemView/ListItemView.d.ts.map +1 -1
  182. package/dist/js/types/components/List/components/ListItemView/components/ListItemViewContent/ListItemViewContent.d.ts +5 -2
  183. package/dist/js/types/components/List/components/ListItemView/components/ListItemViewContent/ListItemViewContent.d.ts.map +1 -1
  184. package/dist/js/types/components/List/model/List.d.ts +3 -3
  185. package/dist/js/types/components/List/model/List.d.ts.map +1 -1
  186. package/dist/js/types/components/List/model/ReactTable.d.ts +2 -2
  187. package/dist/js/types/components/List/model/ReactTable.d.ts.map +1 -1
  188. package/dist/js/types/components/List/model/item/ItemView.d.ts +7 -1
  189. package/dist/js/types/components/List/model/item/ItemView.d.ts.map +1 -1
  190. package/dist/js/types/components/List/model/types.d.ts +1 -1
  191. package/dist/js/types/components/List/model/types.d.ts.map +1 -1
  192. package/dist/js/types/components/List/stories/ListItem.stories.d.ts +2 -2
  193. package/dist/js/types/components/List/stories/ListItem.stories.d.ts.map +1 -1
  194. package/dist/js/types/components/List/typedList.d.ts +3 -3
  195. package/dist/js/types/components/Markdown/Markdown.d.ts.map +1 -1
  196. package/dist/js/types/components/Markdown/stories/Default.stories.d.ts.map +1 -1
  197. package/dist/js/types/components/MenuItem/components/MenuItemContent/MenuItemContent.d.ts.map +1 -0
  198. package/dist/js/types/components/MenuItem/components/MenuItemContent/index.d.ts +2 -0
  199. package/dist/js/types/components/MenuItem/components/MenuItemContent/index.d.ts.map +1 -0
  200. package/dist/js/types/components/Navigation/Navigation.d.ts.map +1 -1
  201. package/dist/js/types/components/NotificationProvider/ControlledNotification.d.ts.map +1 -1
  202. package/dist/js/types/components/{Select/components/Option → Option}/Option.d.ts +1 -1
  203. package/dist/js/types/components/Option/Option.d.ts.map +1 -0
  204. package/dist/js/types/components/Option/index.d.ts.map +1 -0
  205. package/dist/js/types/components/{Select/components/Option → Option}/view.d.ts +1 -1
  206. package/dist/js/types/components/Option/view.d.ts.map +1 -0
  207. package/dist/js/types/components/Options/Options.d.ts +10 -0
  208. package/dist/js/types/components/Options/Options.d.ts.map +1 -0
  209. package/dist/js/types/components/Options/index.d.ts.map +1 -0
  210. package/dist/js/types/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  211. package/dist/js/types/components/Section/components/SectionHeader/SectionHeader.d.ts.map +1 -1
  212. package/dist/js/types/components/Section/stories/Default.stories.d.ts +1 -0
  213. package/dist/js/types/components/Section/stories/Default.stories.d.ts.map +1 -1
  214. package/dist/js/types/components/Select/Select.d.ts.map +1 -1
  215. package/dist/js/types/components/Select/index.d.ts +0 -1
  216. package/dist/js/types/components/Select/index.d.ts.map +1 -1
  217. package/dist/js/types/components/Select/stories/Default.stories.d.ts.map +1 -1
  218. package/dist/js/types/components/Select/stories/EdgeCases.stories.d.ts.map +1 -1
  219. package/dist/js/types/components/propTypes/index.d.ts +4 -1
  220. package/dist/js/types/components/propTypes/index.d.ts.map +1 -1
  221. package/dist/js/types/integrations/react-hook-form/components/Field/stories/Default.stories.d.ts.map +1 -1
  222. package/dist/js/types/integrations/react-hook-form/index.d.ts +1 -0
  223. package/dist/js/types/integrations/react-hook-form/index.d.ts.map +1 -1
  224. package/dist/js/types/lib/propsContext/propsContext.d.ts +2 -0
  225. package/dist/js/types/lib/propsContext/propsContext.d.ts.map +1 -1
  226. package/dist/js/types/views/OptionView.d.ts +1 -1
  227. package/dist/js/{useProps-BDtV5P_t.js → useProps-CBLAZpTB.js} +6 -5
  228. package/package.json +43 -31
  229. package/dist/js/ActionGroup-CSpyLctL.js +0 -50
  230. package/dist/js/Avatar-Dvl223o9.js +0 -64
  231. package/dist/js/CheckboxButton-BMt-m5ML.js +0 -31
  232. package/dist/js/Initials-ZPnhHDbb.js +0 -21
  233. package/dist/js/MenuItem-D0A7OXWd.js +0 -63
  234. package/dist/js/deepHas-KHS5X1F_.js +0 -15
  235. package/dist/js/lib-DaWC44Fk.js +0 -12
  236. package/dist/js/types/components/MenuItem/components/MenuItemContent.d.ts.map +0 -1
  237. package/dist/js/types/components/Select/components/Option/Option.d.ts.map +0 -1
  238. package/dist/js/types/components/Select/components/Option/index.d.ts.map +0 -1
  239. package/dist/js/types/components/Select/components/Option/view.d.ts.map +0 -1
  240. package/dist/js/types/components/Select/components/Options/Options.d.ts +0 -7
  241. package/dist/js/types/components/Select/components/Options/Options.d.ts.map +0 -1
  242. package/dist/js/types/components/Select/components/Options/index.d.ts.map +0 -1
  243. /package/dist/js/types/components/MenuItem/components/{MenuItemContent.d.ts → MenuItemContent/MenuItemContent.d.ts} +0 -0
  244. /package/dist/js/types/components/{Select/components/Option → Option}/index.d.ts +0 -0
  245. /package/dist/js/types/components/{Select/components/Options → Options}/index.d.ts +0 -0
package/dist/js/List.js CHANGED
@@ -1,85 +1,88 @@
1
1
  "use client"
2
2
  /* */
3
- var oe = Object.defineProperty;
4
- var ae = (s, t, e) => t in s ? oe(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
5
- var o = (s, t, e) => ae(s, typeof t != "symbol" ? t + "" : t, e);
6
- import { jsx as r, jsxs as u, Fragment as vt } from "react/jsx-runtime";
7
- import { useContext as h, createContext as le, createElement as Ft, useState as q, useEffect as D, useRef as It, useId as ce, Suspense as de, cloneElement as ue } from "react";
8
- import { f as Vt } from "./flowComponent-B8dC8eRj.js";
9
- import { TunnelProvider as Ct, TunnelExit as $ } from "@mittwald/react-tunnel";
3
+ var re = Object.defineProperty;
4
+ var ae = (s, t, e) => t in s ? re(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
5
+ var r = (s, t, e) => ae(s, typeof t != "symbol" ? t + "" : t, e);
6
+ import { jsx as n, jsxs as h, Fragment as W } from "react/jsx-runtime";
7
+ import { useContext as g, createContext as le, createElement as Ct, useState as Y, useEffect as E, useRef as Lt, useId as ce, Suspense as de, cloneElement as he, isValidElement as ue } from "react";
8
+ import { f as Pt } from "./flowComponent--S4z-7r_.js";
9
+ import { TunnelProvider as At, TunnelExit as k } from "@mittwald/react-tunnel";
10
10
  import "@react-aria/utils";
11
11
  import "./propsContext-DzAKlmhS.js";
12
- import { isShallowEqual as he, unique as me, difference as ge, times as pe } from "remeda";
13
- import { getProperty as fe } from "dot-prop";
14
- import { v as m } from "./viewComponentContext-HXEKmx_D.js";
15
- import E from "clsx";
16
- import { useLocalizedStringFormatter as P } from "react-aria";
12
+ import { isShallowEqual as me, unique as ge, difference as pe, times as fe } from "remeda";
13
+ import { getProperty as be } from "dot-prop";
14
+ import { v as f } from "./viewComponentContext-HXEKmx_D.js";
15
+ import { useLocalizedStringFormatter as A } from "react-aria";
17
16
  import "@tabler/icons-react";
18
- import * as Lt from "react-aria-components";
19
- import Pt from "invariant";
17
+ import N from "clsx";
18
+ import * as Mt from "react-aria-components";
19
+ import xt from "invariant";
20
20
  import "@chakra-ui/live-region";
21
- import { makeObservable as be, observable as bt, computed as St, action as Y } from "mobx";
21
+ import { makeObservable as Se, observable as Tt, computed as Ft, action as _ } from "mobx";
22
22
  import "./context-BaYmTa0I.js";
23
- import "./Action-C1Tw5pqL.js";
23
+ import "./Action-DfWvHbWy.js";
24
24
  import "./getActionGroupSlot-CekBnXeM.js";
25
- import "react-children-utilities";
26
- import { hash as At } from "object-code";
27
- import { PropsContextProvider as j } from "./PropsContextProvider.js";
28
- import { d as _ } from "./dynamic-ClpUSmEt.js";
29
- import { observer as Se } from "mobx-react-lite";
30
- import { T as we, a as tt } from "./Tooltip-BfOJtT5a.js";
31
- import { I as ye } from "./IconClose-B4zJVugN.js";
32
- import { b as Te, I as ve, a as Fe, c as Ie, d as Ve } from "./IconView-DwPoNey_.js";
33
- import { B as C } from "./ButtonView-inzXKZFE.js";
34
- import { D as Ce } from "./Div-kX9yKy8R.js";
35
- import { B as Le } from "./Badge-CiZ2cJPc.js";
36
- import { T as xt } from "./Text-CW_CzcoD.js";
37
- import K from "zod";
38
- import { useReactTable as Pe, getCoreRowModel as Ae, getSortedRowModel as xe, getFilteredRowModel as Be, getPaginationRowModel as Me, getFacetedUniqueValues as ke } from "@tanstack/react-table";
39
- import { getAsyncResource as wt } from "@mittwald/react-use-promise";
40
- import { u as yt } from "./useSelector-DpU7_HMO.js";
41
- import { u as De } from "./SettingsProvider-DRSFnfXN.js";
42
- import { F as Ee } from "./Fragment-DLqk6JTD.js";
43
- import { I as Ne } from "./IconContextMenu-DnwSrGtk.js";
44
- import { a as W, C as it } from "./ContextMenuContent-N8Co_64N.js";
45
- import { I as Re } from "./IllustratedMessage-bJ4rZ5O8.js";
46
- import { I as $e } from "./IconSearch-DEZjce1A.js";
47
- import { H as Bt } from "./Heading-CAK54nAl.js";
48
- import { R as Ue } from "./Render-CP9hqaf1.js";
49
- import { M as Ke } from "./MenuItem-D0A7OXWd.js";
50
- import { u as ze } from "./useOnChange-C1Quwyuz.js";
51
- import { S as Oe } from "./SearchField-ONmuF9P1.js";
52
- import { S as He } from "./Section-CWfvE5ls.js";
53
- import { S as Mt } from "./SkeletonText-C83Oqahi.js";
54
- import { I as Ge } from "./IconChevronDown-DbVQ4UKe.js";
55
- import { I as qe } from "./IconChevronUp-C7IqV12r.js";
56
- import { a as F, b as U, d as je } from "./deepHas-KHS5X1F_.js";
57
- import { ListLoaderAsyncResource as We, TypedListLoaderAsyncResource as Je } from "./List/ListLoaderAsyncResource.js";
58
- import { S as Ye } from "./Skeleton-Bgnxy2Df.js";
59
- import { a as Qe, d as Xe, b as Ze, T as _e, e as ts, c as es } from "./Table-BmKOh2Rs.js";
60
- import { A as ss } from "./ActionGroup-CSpyLctL.js";
61
- const is = "flow--list--list-summary", ns = {
62
- listSummary: is
63
- }, Hn = Vt("ListSummary", (s) => {
25
+ import { PropsContextProvider as Q } from "./PropsContextProvider.js";
26
+ import { d as U } from "./dynamic-ClpUSmEt.js";
27
+ import { observer as we } from "mobx-react-lite";
28
+ import { T as ye, a as it } from "./Tooltip-BfOJtT5a.js";
29
+ import { I as ve } from "./IconClose-DE2OkcZ3.js";
30
+ import { b as Te, I as Fe, a as Ie, c as Ve, d as Ce } from "./IconView-rHKlJeFp.js";
31
+ import { B as L } from "./ButtonView-9JIUBb3-.js";
32
+ import { D as Le } from "./Div-kX9yKy8R.js";
33
+ import { B as Pe } from "./Badge-COtCTH_k.js";
34
+ import { T as ot } from "./Text-CIEzKaxJ.js";
35
+ import { hash as Bt } from "object-code";
36
+ import H from "zod";
37
+ import { useReactTable as Ae, getCoreRowModel as Me, getSortedRowModel as xe, getFilteredRowModel as Be, getPaginationRowModel as De, getFacetedUniqueValues as ke } from "@tanstack/react-table";
38
+ import { getAsyncResource as It } from "@mittwald/react-use-promise";
39
+ import { u as Vt } from "./useSelector-DpU7_HMO.js";
40
+ import { u as Ee } from "./SettingsProvider-DRSFnfXN.js";
41
+ import { deepFind as Ne, deepForEach as Re } from "react-children-utilities";
42
+ import { F as $e } from "./Fragment-DLqk6JTD.js";
43
+ import { I as Ue } from "./IconContextMenu-Ddfi5ZZF.js";
44
+ import { a as X, C as rt } from "./ContextMenuContent-DQojalD_.js";
45
+ import { I as Ke } from "./IllustratedMessage-bJ4rZ5O8.js";
46
+ import { I as ze } from "./IconSearch-C-AbvN_g.js";
47
+ import { H as at } from "./Heading-CxJ8-gg1.js";
48
+ import { R as Oe } from "./Render-CP9hqaf1.js";
49
+ import { M as He } from "./MenuItem-DuSDaivo.js";
50
+ import { u as Ge } from "./useOnChange-C1Quwyuz.js";
51
+ import { S as qe } from "./SearchField-DVIJ25lZ.js";
52
+ import { S as We } from "./Section-CT6QbDC-.js";
53
+ import { S as j } from "./SkeletonText-C83Oqahi.js";
54
+ import { S as Dt } from "./Skeleton-Bgnxy2Df.js";
55
+ import { A as je } from "./Avatar-BnUeBUUe.js";
56
+ import { I as Je } from "./IconChevronDown-DaiVaZc2.js";
57
+ import { I as Ye } from "./IconChevronUp-Bt9GQ5m2.js";
58
+ import { ListLoaderAsyncResource as Qe, TypedListLoaderAsyncResource as Xe } from "./List/ListLoaderAsyncResource.js";
59
+ import { a as Ze, d as _e, b as ts, T as es, e as ss, c as is } from "./Table-BmKOh2Rs.js";
60
+ import { A as ns } from "./ActionGroup-Df471PRl.js";
61
+ const os = "flow--list--list-summary", rs = {
62
+ listSummary: os
63
+ }, _n = Pt("ListSummary", (s) => {
64
64
  const { children: t } = s;
65
- return /* @__PURE__ */ r("header", { className: ns.listSummary, ...s, children: t });
66
- }), rs = "flow--list--list-item-view--view", os = "flow--list--list-item-view--content", as = "flow--list--list-item-view--title", ls = "flow--list--list-item-view--avatar", cs = "flow--list--list-item-view--sub-title", ds = "flow--list--list-item-view--heading", us = "flow--list--list-item-view--text", hs = "flow--list--list-item-view--top-content", ms = "flow--list--list-item-view--action", gs = "flow--list--list-item-view--bottom-content", S = {
67
- view: rs,
68
- content: os,
69
- title: as,
70
- avatar: ls,
71
- subTitle: cs,
72
- heading: ds,
73
- text: us,
74
- topContent: hs,
75
- action: ms,
76
- bottomContent: gs
77
- }, ps = (s) => {
78
- const t = h(m).ListItemViewContent ?? Ss;
79
- return /* @__PURE__ */ r(t, { ...s });
80
- }, Q = (s) => {
81
- const t = h(m).Fragment ?? Ee;
82
- return /* @__PURE__ */ r(t, { ...s });
65
+ return /* @__PURE__ */ n("header", { className: rs.listSummary, ...s, children: t });
66
+ }), as = "flow--list--list-item-view--view", ls = "flow--list--list-item-view--content", cs = "flow--list--list-item-view--title", ds = "flow--list--list-item-view--sub-title", hs = "flow--list--list-item-view--avatar", us = "flow--list--list-item-view--heading", ms = "flow--list--list-item-view--text", gs = "flow--list--list-item-view--top-content", ps = "flow--list--list-item-view--action", fs = "flow--list--list-item-view--bottom-content", bs = "flow--list--list-item-view--tile", Ss = "flow--list--list-item-view--avatar-container", ws = "flow--list--list-item-view--badge", p = {
67
+ view: as,
68
+ content: ls,
69
+ title: cs,
70
+ subTitle: ds,
71
+ avatar: hs,
72
+ heading: us,
73
+ text: ms,
74
+ topContent: gs,
75
+ action: ps,
76
+ bottomContent: fs,
77
+ tile: bs,
78
+ avatarContainer: Ss,
79
+ badge: ws
80
+ }, ys = (s) => {
81
+ const t = g(f).ListItemViewContent ?? Fs;
82
+ return /* @__PURE__ */ n(t, { ...s });
83
+ }, z = (s) => {
84
+ const t = g(f).Fragment ?? $e;
85
+ return /* @__PURE__ */ n(t, { ...s });
83
86
  }, T = { "de-DE": {
84
87
  "list.filters.clear": "Filter entfernen",
85
88
  "list.filters.reset": "Filter zurücksetzen",
@@ -92,6 +95,7 @@ const is = "flow--list--list-summary", ns = {
92
95
  "list.settings.viewMode": "Ansicht",
93
96
  "list.settings.viewMode.list": "Liste",
94
97
  "list.settings.viewMode.table": "Tabelle",
98
+ "list.settings.viewMode.tiles": "Kacheln",
95
99
  "list.showMore": "Mehr anzeigen",
96
100
  "list.sorting": "Sortierung",
97
101
  "list.toggleExpandButton.collapse": "Weniger anzeigen",
@@ -108,31 +112,32 @@ const is = "flow--list--list-summary", ns = {
108
112
  "list.settings.viewMode": "View",
109
113
  "list.settings.viewMode.list": "List",
110
114
  "list.settings.viewMode.table": "Table",
115
+ "list.settings.viewMode.tiles": "Tiles",
111
116
  "list.showMore": "Show more",
112
117
  "list.sorting": "Sorting",
113
118
  "list.toggleExpandButton.collapse": "Show less",
114
119
  "list.toggleExpandButton.expand": "Show more"
115
- } }, fs = (s) => {
116
- const { className: t, children: e } = s, i = P(T);
117
- return /* @__PURE__ */ u(W, { children: [
118
- /* @__PURE__ */ r(
119
- C,
120
+ } }, vs = (s) => {
121
+ const { className: t, children: e } = s, i = A(T);
122
+ return /* @__PURE__ */ h(X, { children: [
123
+ /* @__PURE__ */ n(
124
+ L,
120
125
  {
121
126
  variant: "plain",
122
127
  color: "secondary",
123
128
  className: t,
124
129
  "aria-label": i.format("list.options"),
125
130
  tunnelId: null,
126
- children: /* @__PURE__ */ r(Ne, {})
131
+ children: /* @__PURE__ */ n(Ue, {})
127
132
  }
128
133
  ),
129
134
  e
130
135
  ] });
131
136
  }, kt = (s) => {
132
- const { children: t, className: e } = s, i = {
137
+ const { children: t } = s, e = S(), i = {
133
138
  ContextMenu: {
134
139
  tunnelId: "button",
135
- wrapWith: /* @__PURE__ */ r(fs, { className: S.action })
140
+ wrapWith: /* @__PURE__ */ n(vs, { className: p.action })
136
141
  },
137
142
  Button: {
138
143
  tunnelId: "button"
@@ -144,7 +149,7 @@ const is = "flow--list--list-summary", ns = {
144
149
  }
145
150
  },
146
151
  Avatar: {
147
- tunnelId: "title"
152
+ tunnelId: "avatar"
148
153
  },
149
154
  Heading: {
150
155
  tunnelId: "title"
@@ -152,119 +157,159 @@ const is = "flow--list--list-summary", ns = {
152
157
  Text: {
153
158
  tunnelId: "text"
154
159
  }
155
- }, n = E(S.view, e);
156
- return /* @__PURE__ */ r(j, { props: i, mergeInParentContext: !0, children: /* @__PURE__ */ r(Ct, { children: /* @__PURE__ */ r(
157
- ps,
160
+ };
161
+ return /* @__PURE__ */ n(Q, { props: i, mergeInParentContext: !0, children: /* @__PURE__ */ n(At, { children: /* @__PURE__ */ n(
162
+ ys,
158
163
  {
159
- title: /* @__PURE__ */ r(Q, { children: /* @__PURE__ */ r($, { id: "title" }) }),
160
- button: /* @__PURE__ */ r(Q, { children: /* @__PURE__ */ r($, { id: "button" }) }),
161
- subTitle: /* @__PURE__ */ r(Q, { children: /* @__PURE__ */ r($, { id: "text" }) }),
162
- className: n,
164
+ viewMode: e.viewMode,
165
+ title: /* @__PURE__ */ n(z, { children: /* @__PURE__ */ n(k, { id: "title" }) }),
166
+ avatar: /* @__PURE__ */ n(z, { children: /* @__PURE__ */ n(k, { id: "avatar" }) }),
167
+ button: /* @__PURE__ */ n(z, { children: /* @__PURE__ */ n(k, { id: "button" }) }),
168
+ subTitle: /* @__PURE__ */ n(z, { children: /* @__PURE__ */ n(k, { id: "text" }) }),
163
169
  children: t
164
170
  }
165
171
  ) }) });
166
- }, bs = (s) => s === "top" ? S.topContent : s === "bottom" ? S.bottomContent : S.topContent, Ss = (s) => {
167
- const { children: t, className: e, title: i, subTitle: n, button: a } = s, l = {
172
+ }, Ts = (s) => s === "top" ? p.topContent : s === "bottom" ? p.bottomContent : p.topContent, Fs = (s) => {
173
+ const { children: t, avatar: e, title: i, subTitle: o, button: a, bottom: l, viewMode: d } = s, c = {
174
+ bottom: {
175
+ onMouseDown: (u) => u.stopPropagation(),
176
+ onPointerDown: (u) => u.stopPropagation(),
177
+ className: p.bottomContent
178
+ },
179
+ top: {
180
+ className: p.topContent
181
+ }
182
+ }, m = {
168
183
  ContextMenu: {
169
184
  placement: "bottom end"
170
185
  },
171
186
  Button: {
172
- className: S.action
187
+ className: p.action
173
188
  },
174
189
  ActionGroup: {
175
- className: S.action,
190
+ className: p.action,
176
191
  ignoreBreakpoint: !0
177
192
  },
178
193
  Content: {
179
- className: _((d) => bs(d.slot))
194
+ className: U((u) => Ts(u.slot)),
195
+ onMouseDown: U((u) => {
196
+ var y;
197
+ return (y = c[u.slot ?? "top"]) == null ? void 0 : y.onMouseDown;
198
+ }),
199
+ onPointerDown: U(
200
+ (u) => {
201
+ var y;
202
+ return (y = c[u.slot ?? "top"]) == null ? void 0 : y.onPointerDown;
203
+ }
204
+ )
180
205
  },
181
206
  Avatar: {
182
- className: S.avatar
207
+ className: p.avatar
183
208
  },
184
209
  Heading: {
185
- className: S.heading,
186
- level: 5
210
+ className: p.heading,
211
+ level: 5,
212
+ Badge: { className: p.badge },
213
+ AlertBadge: { className: p.badge }
187
214
  },
188
215
  Text: {
189
- className: S.text
216
+ className: p.text
190
217
  },
191
218
  Link: {
192
219
  unstyled: !0
193
220
  }
194
- };
195
- return /* @__PURE__ */ r(j, { props: l, mergeInParentContext: !0, children: /* @__PURE__ */ u("div", { className: e, children: [
196
- /* @__PURE__ */ u("div", { className: S.content, children: [
197
- t,
198
- /* @__PURE__ */ u("div", { className: S.title, children: [
199
- i,
200
- /* @__PURE__ */ r("div", { className: S.subTitle, children: n })
201
- ] })
221
+ }, b = N(p.view, d === "tiles" && p.tile);
222
+ return /* @__PURE__ */ n(Q, { props: m, mergeInParentContext: !0, children: /* @__PURE__ */ h("div", { className: b, children: [
223
+ d === "list" && /* @__PURE__ */ h(W, { children: [
224
+ /* @__PURE__ */ h("div", { className: p.content, children: [
225
+ t,
226
+ /* @__PURE__ */ h("div", { className: p.title, children: [
227
+ e,
228
+ i,
229
+ /* @__PURE__ */ n("div", { className: p.subTitle, children: o })
230
+ ] })
231
+ ] }),
232
+ a,
233
+ l
202
234
  ] }),
203
- a
235
+ d === "tiles" && /* @__PURE__ */ h(W, { children: [
236
+ /* @__PURE__ */ n("div", { className: p.avatarContainer, children: e }),
237
+ /* @__PURE__ */ h("div", { className: p.content, children: [
238
+ /* @__PURE__ */ h("div", { className: p.title, children: [
239
+ i,
240
+ /* @__PURE__ */ n("div", { className: p.subTitle, children: o })
241
+ ] }),
242
+ a,
243
+ t,
244
+ l
245
+ ] })
246
+ ] })
204
247
  ] }) });
205
- }, Dt = () => {
206
- const s = P(T);
207
- return /* @__PURE__ */ u(Re, { children: [
208
- /* @__PURE__ */ r($e, {}),
209
- /* @__PURE__ */ r(Bt, { children: s.format("list.noResult.heading") }),
210
- /* @__PURE__ */ r(xt, { children: s.format("list.noResult.text") })
248
+ }, lt = () => {
249
+ const s = A(T);
250
+ return /* @__PURE__ */ h(Ke, { children: [
251
+ /* @__PURE__ */ n(ze, {}),
252
+ /* @__PURE__ */ n(at, { children: s.format("list.noResult.heading") }),
253
+ /* @__PURE__ */ n(ot, { children: s.format("list.noResult.text") })
211
254
  ] });
212
- }, ws = (s) => /* @__PURE__ */ r(Lt.GridList, { ...s, renderEmptyState: () => /* @__PURE__ */ r(Dt, {}) }), ys = "flow--list--items--item", Ts = "flow--list--items--item--is-selected", vs = "flow--list--items--item--has-action", z = {
213
- item: ys,
214
- isSelected: Ts,
215
- hasAction: vs
216
- }, Fs = (s) => {
217
- const { hasAction: t, ...e } = s;
218
- return /* @__PURE__ */ r(
219
- Lt.GridListItem,
255
+ }, Is = (s) => /* @__PURE__ */ n(Mt.GridList, { ...s, renderEmptyState: () => /* @__PURE__ */ n(lt, {}) }), Vs = "flow--list--items--item", Cs = "flow--list--items--item--is-selected", Ls = "flow--list--items--item--has-action", Ps = "flow--list--items--item--tile", $ = {
256
+ item: Vs,
257
+ isSelected: Cs,
258
+ hasAction: Ls,
259
+ tile: Ps
260
+ }, As = (s) => {
261
+ const { hasAction: t, isTile: e, ...i } = s;
262
+ return /* @__PURE__ */ n(
263
+ Mt.GridListItem,
220
264
  {
221
- ...e,
222
- className: (i) => E(
223
- z.item,
224
- t && z.hasAction,
225
- i.isSelected && z.isSelected
265
+ ...i,
266
+ className: (o) => N(
267
+ $.item,
268
+ t && $.hasAction,
269
+ e && $.tile,
270
+ o.isSelected && $.isSelected
226
271
  )
227
272
  }
228
273
  );
229
- }, Et = le({}), y = () => h(Et).list, Is = () => y().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ r(Ue, { children: () => {
274
+ }, Et = le({}), S = () => g(Et).list, Ms = () => S().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ n(Oe, { children: () => {
230
275
  t();
231
- } }, e)), nt = (s) => {
232
- const t = h(m).MenuItem ?? Ke;
233
- return /* @__PURE__ */ r(t, { ...s });
234
- }, Vs = (s) => {
276
+ } }, e)), ct = (s) => {
277
+ const t = g(f).MenuItem ?? He;
278
+ return /* @__PURE__ */ n(t, { ...s });
279
+ }, xs = (s) => {
235
280
  const { sorting: t } = s;
236
- return /* @__PURE__ */ r(nt, { id: t.id, children: t.name });
237
- }, O = (s) => {
281
+ return /* @__PURE__ */ n(ct, { id: t.id, children: t.name });
282
+ }, G = (s) => {
238
283
  const { children: t, locales: e, variables: i } = s;
239
- return P(e).format(t, i);
240
- }, N = (s) => {
241
- const t = h(m).Text ?? xt;
242
- return /* @__PURE__ */ r(t, { ...s });
243
- }, Cs = () => {
244
- const s = y(), t = s.visibleSorting.map((n) => /* @__PURE__ */ r(Vs, { sorting: n }, n.id));
284
+ return A(e).format(t, i);
285
+ }, K = (s) => {
286
+ const t = g(f).Text ?? ot;
287
+ return /* @__PURE__ */ n(t, { ...s });
288
+ }, Bs = () => {
289
+ const s = S(), t = s.visibleSorting.map((o) => /* @__PURE__ */ n(xs, { sorting: o }, o.id));
245
290
  if (t.length === 0)
246
291
  return null;
247
- const e = s.visibleSorting.find((n) => n.isSorted()), i = /* @__PURE__ */ r(N, { children: e ? /* @__PURE__ */ r(vt, { children: e.name ?? e.property }) : /* @__PURE__ */ r(O, { locales: T, children: "list.sorting" }) });
248
- return /* @__PURE__ */ u(W, { children: [
249
- /* @__PURE__ */ u(C, { variant: "outline", color: "secondary", children: [
292
+ const e = s.visibleSorting.find((o) => o.isSorted()), i = /* @__PURE__ */ n(K, { children: e ? /* @__PURE__ */ n(W, { children: e.name ?? e.property }) : /* @__PURE__ */ n(G, { locales: T, children: "list.sorting" }) });
293
+ return /* @__PURE__ */ h(X, { children: [
294
+ /* @__PURE__ */ h(L, { variant: "outline", color: "secondary", children: [
250
295
  i,
251
- /* @__PURE__ */ r(Te, {})
296
+ /* @__PURE__ */ n(Te, {})
252
297
  ] }),
253
- /* @__PURE__ */ r(
254
- it,
298
+ /* @__PURE__ */ n(
299
+ rt,
255
300
  {
256
301
  selectionMode: "single",
257
302
  selectedKeys: e ? [e.id] : [],
258
- onAction: (n) => {
259
- s.getSorting(String(n)).enable();
303
+ onAction: (o) => {
304
+ s.getSorting(String(o)).enable();
260
305
  },
261
306
  children: t
262
307
  }
263
308
  )
264
309
  ] });
265
- }, Ls = (s) => {
266
- const { filter: t } = s, { values: e, mode: i, name: n, property: a } = t, l = e.map((c) => /* @__PURE__ */ r(
267
- nt,
310
+ }, Ds = (s) => {
311
+ const { filter: t } = s, { values: e, mode: i, name: o, property: a } = t, l = e.map((c) => /* @__PURE__ */ n(
312
+ ct,
268
313
  {
269
314
  id: c.id,
270
315
  onAction: () => {
@@ -274,13 +319,13 @@ const is = "flow--list--list-summary", ns = {
274
319
  },
275
320
  c.id
276
321
  )), d = e.filter((c) => c.isActive).map((c) => c.id);
277
- return /* @__PURE__ */ u(W, { children: [
278
- /* @__PURE__ */ u(C, { variant: "outline", color: "secondary", children: [
279
- /* @__PURE__ */ r(N, { children: n ?? a }),
280
- /* @__PURE__ */ r(ve, {})
322
+ return /* @__PURE__ */ h(X, { children: [
323
+ /* @__PURE__ */ h(L, { variant: "outline", color: "secondary", children: [
324
+ /* @__PURE__ */ n(K, { children: o ?? a }),
325
+ /* @__PURE__ */ n(Fe, {})
281
326
  ] }),
282
- /* @__PURE__ */ r(
283
- it,
327
+ /* @__PURE__ */ n(
328
+ rt,
284
329
  {
285
330
  selectionMode: i === "one" ? "single" : "multiple",
286
331
  selectedKeys: d,
@@ -288,197 +333,199 @@ const is = "flow--list--list-summary", ns = {
288
333
  }
289
334
  )
290
335
  ] });
291
- }, Ps = "flow--list--header", As = "flow--list--header--picker-list-and-search", xs = "flow--list--header--picker-list", Bs = "flow--list--header--search-and-actions", Ms = "flow--list--header--search-field", k = {
292
- header: Ps,
293
- pickerListAndSearch: As,
294
- pickerList: xs,
295
- searchAndActions: Bs,
296
- searchField: Ms
297
- }, ks = "flow--list--header--active-filters", Ds = "flow--list--header--active-filters--clear-button", Es = {
298
- activeFilters: ks,
299
- clearButton: Ds
300
- }, X = (s) => {
301
- const t = h(m).Tooltip ?? we;
302
- return /* @__PURE__ */ r(t, { ...s });
303
- }, I = (s) => {
304
- const t = h(m).Div ?? Ce;
305
- return /* @__PURE__ */ r(t, { ...s });
306
- }, Ns = (s) => {
307
- const t = h(m).Badge ?? Le;
308
- return /* @__PURE__ */ r(t, { ...s });
309
- }, Rs = (s) => {
310
- const t = h(m).TooltipTrigger ?? tt;
311
- return /* @__PURE__ */ r(t, { ...s });
312
- }, $s = Se(() => {
313
- const s = y(), t = P(T), i = s.filters.flatMap((c) => c.values).filter((c) => c.isActive).map((c) => /* @__PURE__ */ r(Ns, { onClose: () => c.deactivate(), children: /* @__PURE__ */ r(N, { children: c.render() }) }, c.id)), n = s.filters.filter((c) => c.hasChanged()).length > 0, a = s.supportsSettingsStorage && n && /* @__PURE__ */ u(Rs, { children: [
314
- /* @__PURE__ */ r(X, { children: /* @__PURE__ */ r(O, { locales: T, children: "list.filters.store" }) }),
315
- /* @__PURE__ */ r(
316
- C,
336
+ }, ks = "flow--list--header", Es = "flow--list--header--picker-list-and-search", Ns = "flow--list--header--picker-list", Rs = "flow--list--header--search-and-actions", $s = "flow--list--header--search-field", D = {
337
+ header: ks,
338
+ pickerListAndSearch: Es,
339
+ pickerList: Ns,
340
+ searchAndActions: Rs,
341
+ searchField: $s
342
+ }, Us = "flow--list--header--active-filters", Ks = "flow--list--header--active-filters--clear-button", zs = {
343
+ activeFilters: Us,
344
+ clearButton: Ks
345
+ }, tt = (s) => {
346
+ const t = g(f).Tooltip ?? ye;
347
+ return /* @__PURE__ */ n(t, { ...s });
348
+ }, V = (s) => {
349
+ const t = g(f).Div ?? Le;
350
+ return /* @__PURE__ */ n(t, { ...s });
351
+ }, Os = (s) => {
352
+ const t = g(f).Badge ?? Pe;
353
+ return /* @__PURE__ */ n(t, { ...s });
354
+ }, Hs = (s) => {
355
+ const t = g(f).TooltipTrigger ?? it;
356
+ return /* @__PURE__ */ n(t, { ...s });
357
+ }, Gs = we(() => {
358
+ const s = S(), t = A(T), i = s.filters.flatMap((c) => c.values).filter((c) => c.isActive).map((c) => /* @__PURE__ */ n(Os, { onClose: () => c.deactivate(), children: /* @__PURE__ */ n(K, { children: c.render() }) }, c.id)), o = s.filters.filter((c) => c.hasChanged()).length > 0, a = s.supportsSettingsStorage && o && /* @__PURE__ */ h(Hs, { children: [
359
+ /* @__PURE__ */ n(tt, { children: /* @__PURE__ */ n(G, { locales: T, children: "list.filters.store" }) }),
360
+ /* @__PURE__ */ n(
361
+ L,
317
362
  {
318
363
  size: "s",
319
364
  variant: "plain",
320
365
  color: "secondary",
321
366
  onPress: () => s.storeFilterDefaultSettings(),
322
367
  "aria-label": t.format("list.filters.store"),
323
- children: /* @__PURE__ */ r(Fe, {})
368
+ children: /* @__PURE__ */ n(Ie, {})
324
369
  }
325
370
  )
326
- ] }), l = n ? /* @__PURE__ */ u(tt, { children: [
327
- /* @__PURE__ */ r(X, { children: /* @__PURE__ */ r(O, { locales: T, children: "list.filters.reset" }) }),
328
- /* @__PURE__ */ r(
329
- C,
371
+ ] }), l = o ? /* @__PURE__ */ h(it, { children: [
372
+ /* @__PURE__ */ n(tt, { children: /* @__PURE__ */ n(G, { locales: T, children: "list.filters.reset" }) }),
373
+ /* @__PURE__ */ n(
374
+ L,
330
375
  {
331
376
  size: "s",
332
377
  variant: "plain",
333
378
  color: "secondary",
334
379
  onPress: () => s.resetFilters(),
335
380
  "aria-label": t.format("list.filters.reset"),
336
- children: /* @__PURE__ */ r(Ie, {})
381
+ children: /* @__PURE__ */ n(Ve, {})
337
382
  }
338
383
  )
339
- ] }) : void 0, d = i.length > 0 ? /* @__PURE__ */ u(tt, { children: [
340
- /* @__PURE__ */ r(X, { children: /* @__PURE__ */ r(O, { locales: T, children: "list.filters.clear" }) }),
341
- /* @__PURE__ */ r(
342
- C,
384
+ ] }) : void 0, d = i.length > 0 ? /* @__PURE__ */ h(it, { children: [
385
+ /* @__PURE__ */ n(tt, { children: /* @__PURE__ */ n(G, { locales: T, children: "list.filters.clear" }) }),
386
+ /* @__PURE__ */ n(
387
+ L,
343
388
  {
344
389
  size: "s",
345
390
  variant: "plain",
346
391
  color: "secondary",
347
392
  onPress: () => s.clearFilters(),
348
- children: /* @__PURE__ */ r(ye, {})
393
+ children: /* @__PURE__ */ n(ve, {})
349
394
  }
350
395
  )
351
396
  ] }) : void 0;
352
- return i.length === 0 && !a && !l ? null : /* @__PURE__ */ u(I, { className: Es.activeFilters, children: [
397
+ return i.length === 0 && !a && !l ? null : /* @__PURE__ */ h(V, { className: zs.activeFilters, children: [
353
398
  i,
354
399
  a,
355
400
  l,
356
401
  d
357
402
  ] });
358
- }), Us = (s) => {
359
- const t = h(m).SearchField ?? Oe;
360
- return /* @__PURE__ */ r(t, { ...s });
361
- }, Ks = 800, zs = (s) => {
362
- const { className: t, onChange: e, value: i, autoSubmit: n, ...a } = s, [l, d] = q(i ?? ""), c = () => {
403
+ }), qs = (s) => {
404
+ const t = g(f).SearchField ?? qe;
405
+ return /* @__PURE__ */ n(t, { ...s });
406
+ }, Ws = 800, js = (s) => {
407
+ const { className: t, onChange: e, value: i, autoSubmit: o, ...a } = s, [l, d] = Y(i ?? ""), c = () => {
363
408
  l.trim() === "" ? e(void 0) : e(l);
364
409
  };
365
- D(() => {
366
- if (n) {
367
- const p = setTimeout(() => c(), Ks);
368
- return () => clearTimeout(p);
410
+ E(() => {
411
+ if (o) {
412
+ const u = setTimeout(() => c(), Ws);
413
+ return () => clearTimeout(u);
369
414
  }
370
- }, [l, n]), ze(i, () => {
415
+ }, [l, o]), Ge(i, () => {
371
416
  d(i ?? "");
372
417
  }, [l]);
373
- const g = () => {
418
+ const m = () => {
374
419
  e(void 0), d("");
375
420
  };
376
- return /* @__PURE__ */ r(
377
- Us,
421
+ return /* @__PURE__ */ n(
422
+ qs,
378
423
  {
379
424
  className: t,
380
425
  value: l,
381
- onKeyUp: (p) => {
382
- p.key === "Enter" ? c() : p.key === "Escape" && g();
426
+ onKeyUp: (u) => {
427
+ u.key === "Enter" ? c() : u.key === "Escape" && m();
383
428
  },
384
- onChange: (p) => d(p),
385
- onClear: g,
429
+ onChange: (u) => d(u),
430
+ onClear: m,
386
431
  ...a
387
432
  }
388
433
  );
389
- }, Os = (s) => {
390
- const { className: t, search: e } = s, i = e.render ?? zs;
391
- return Ft(i, {
434
+ }, Js = (s) => {
435
+ const { className: t, search: e } = s, i = e.render ?? js;
436
+ return Ct(i, {
392
437
  className: t,
393
438
  value: e.value,
394
439
  onChange: e.setValue.bind(e),
395
440
  ...e.textFieldProps
396
441
  });
397
- }, Hs = (s) => {
398
- const t = h(m).Section ?? He;
399
- return /* @__PURE__ */ r(t, { ...s });
400
- }, Nt = (s) => {
401
- const t = h(m).Heading ?? Bt;
402
- return /* @__PURE__ */ r(t, { ...s });
403
- }, Gs = () => {
404
- const s = P(T), t = y(), e = t.viewMode, i = [];
405
- return t.itemView && i.push("list"), t.table && i.push("table"), i.length <= 1 ? null : /* @__PURE__ */ u(W, { children: [
406
- /* @__PURE__ */ u(
407
- C,
442
+ }, Ys = (s) => {
443
+ const t = g(f).Section ?? We;
444
+ return /* @__PURE__ */ n(t, { ...s });
445
+ }, Qs = (s) => {
446
+ const t = g(f).Heading ?? at;
447
+ return /* @__PURE__ */ n(t, { ...s });
448
+ }, Xs = () => {
449
+ var o, a;
450
+ const s = A(T), t = S(), e = t.viewMode, i = [];
451
+ return (o = t.itemView) != null && o.showList && i.push("list"), t.table && i.push("table"), (a = t.itemView) != null && a.showTiles && i.push("tiles"), i.length <= 1 ? null : /* @__PURE__ */ h(X, { children: [
452
+ /* @__PURE__ */ h(
453
+ L,
408
454
  {
409
455
  variant: "outline",
410
456
  color: "secondary",
411
457
  "aria-label": s.format("list.settings"),
412
458
  children: [
413
- /* @__PURE__ */ r(N, { children: s.format(`list.settings.viewMode.${e}`) }),
414
- /* @__PURE__ */ r(Ve, {})
459
+ /* @__PURE__ */ n(K, { children: s.format(`list.settings.viewMode.${e}`) }),
460
+ /* @__PURE__ */ n(Ce, {})
415
461
  ]
416
462
  }
417
463
  ),
418
- /* @__PURE__ */ r(it, { selectionMode: "single", selectedKeys: [e], children: /* @__PURE__ */ u(Hs, { children: [
419
- /* @__PURE__ */ r(Nt, { children: s.format("list.settings.viewMode") }),
420
- i.map((n) => /* @__PURE__ */ r(
421
- nt,
464
+ /* @__PURE__ */ n(rt, { selectionMode: "single", selectedKeys: [e], children: /* @__PURE__ */ h(Ys, { children: [
465
+ /* @__PURE__ */ n(Qs, { children: s.format("list.settings.viewMode") }),
466
+ i.map((l) => /* @__PURE__ */ n(
467
+ ct,
422
468
  {
423
- id: n,
469
+ id: l,
424
470
  onAction: () => {
425
- t.setViewMode(n);
471
+ t.setViewMode(l);
426
472
  },
427
- children: s.format(`list.settings.viewMode.${n}`)
473
+ children: s.format(`list.settings.viewMode.${l}`)
428
474
  },
429
- n
475
+ l
430
476
  ))
431
477
  ] }) })
432
478
  ] });
433
- }, qs = (s) => {
434
- const { className: t, hasActionGroup: e } = s, i = y();
435
- if (i.filters.length === 0 && i.visibleSorting.length === 0 && !i.search && !i.table && !e)
479
+ }, Zs = (s) => {
480
+ var a, l;
481
+ const { className: t, hasActionGroup: e } = s, i = S();
482
+ if (i.filters.length === 0 && i.visibleSorting.length === 0 && !i.search && !i.table && !((a = i.itemView) != null && a.showTiles && ((l = i.itemView) != null && l.showList)) && !e)
436
483
  return null;
437
- const n = i.filters.map((a) => /* @__PURE__ */ r(Ls, { filter: a }, a.property));
438
- return /* @__PURE__ */ u(I, { className: E(t, k.header), children: [
439
- /* @__PURE__ */ u(I, { className: k.pickerListAndSearch, children: [
440
- /* @__PURE__ */ u(I, { className: k.pickerList, children: [
441
- /* @__PURE__ */ r(Gs, {}),
442
- /* @__PURE__ */ r(Cs, {}),
443
- n
484
+ const o = i.filters.map((d) => /* @__PURE__ */ n(Ds, { filter: d }, d.property));
485
+ return /* @__PURE__ */ h(V, { className: N(t, D.header), children: [
486
+ /* @__PURE__ */ h(V, { className: D.pickerListAndSearch, children: [
487
+ /* @__PURE__ */ h(V, { className: D.pickerList, children: [
488
+ /* @__PURE__ */ n(Xs, {}),
489
+ /* @__PURE__ */ n(Bs, {}),
490
+ o
444
491
  ] }),
445
- /* @__PURE__ */ u(I, { className: k.searchAndActions, children: [
446
- i.search && /* @__PURE__ */ r(Os, { className: k.searchField, search: i.search }),
447
- /* @__PURE__ */ r($, { id: "actions" })
492
+ /* @__PURE__ */ h(V, { className: D.searchAndActions, children: [
493
+ i.search && /* @__PURE__ */ n(Js, { className: D.searchField, search: i.search }),
494
+ /* @__PURE__ */ n(k, { id: "actions" })
448
495
  ] })
449
496
  ] }),
450
- /* @__PURE__ */ r($s, {})
497
+ /* @__PURE__ */ n(Gs, {})
451
498
  ] });
452
- }, js = "flow--list", Ws = {
453
- list: js
499
+ }, _s = "flow--list", ti = {
500
+ list: _s
454
501
  };
455
- let Js = class Rt {
502
+ let ei = class Nt {
456
503
  constructor(t, e, i) {
457
- o(this, "id");
458
- o(this, "data");
459
- o(this, "collection");
504
+ r(this, "id");
505
+ r(this, "data");
506
+ r(this, "collection");
460
507
  this.collection = t, this.id = e, this.data = i;
461
508
  }
462
509
  static fromRow(t, e) {
463
- return new Rt(t, e.id, e.original);
510
+ return new Nt(t, e.id, e.original);
464
511
  }
465
512
  };
466
- class Ys {
513
+ class si {
467
514
  constructor(t) {
468
- o(this, "list");
515
+ r(this, "list");
469
516
  this.list = t;
470
517
  }
471
518
  get entries() {
472
- return this.list.reactTable.table.getRowModel().rows.map((t) => Js.fromRow(this, t));
519
+ return this.list.reactTable.table.getRowModel().rows.map((t) => ei.fromRow(this, t));
473
520
  }
474
521
  }
475
- class Qs {
522
+ class ii {
476
523
  constructor(t, e = {}) {
477
- o(this, "batchSize");
478
- o(this, "list");
479
- var n;
524
+ r(this, "batchSize");
525
+ r(this, "list");
526
+ var o;
480
527
  const { batchSize: i = 20 } = e;
481
- this.list = t, this.batchSize = i, t.filters.forEach((a) => a.onFilterUpdated(() => this.reset())), (n = t.search) == null || n.onUpdated(() => this.reset());
528
+ this.list = t, this.batchSize = i, t.filters.forEach((a) => a.onFilterUpdated(() => this.reset())), (o = t.search) == null || o.onUpdated(() => this.reset());
482
529
  }
483
530
  get reactTable() {
484
531
  return this.list.reactTable.table;
@@ -519,22 +566,22 @@ class Qs {
519
566
  }
520
567
  }
521
568
  }
522
- const Xs = "$";
523
- class L {
569
+ const ni = "$";
570
+ class P {
524
571
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
525
572
  constructor(t, e) {
526
- o(this, "filter");
527
- o(this, "value");
528
- o(this, "id");
573
+ r(this, "filter");
574
+ r(this, "value");
575
+ r(this, "id");
529
576
  var i;
530
- this.filter = t, typeof e == "string" && e.startsWith("FilterValueId@@") ? (this.value = (i = t.values.find((n) => n.id === e)) == null ? void 0 : i.value, this.id = e) : (this.value = e, this.id = `FilterValueId@@${this.filter.property}@@${At(this.value)}`);
577
+ this.filter = t, typeof e == "string" && e.startsWith("FilterValueId@@") ? (this.value = (i = t.values.find((o) => o.id === e)) == null ? void 0 : i.value, this.id = e) : (this.value = e, this.id = `FilterValueId@@${this.filter.property}@@${Bt(this.value)}`);
531
578
  }
532
579
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
533
580
  static create(t, e) {
534
- return e instanceof L ? e : new L(t, e);
581
+ return e instanceof P ? e : new P(t, e);
535
582
  }
536
583
  equals(t) {
537
- return he(this.value, t.value);
584
+ return me(this.value, t.value);
538
585
  }
539
586
  get isActive() {
540
587
  return this.filter.isValueActive(this);
@@ -549,21 +596,21 @@ class L {
549
596
  this.filter.deactivateValue(this);
550
597
  }
551
598
  }
552
- const Z = (s) => Array.isArray(s) ? s : [s], Zs = (s, t) => s === t, _s = (s) => String(s);
553
- class H {
599
+ const et = (s) => Array.isArray(s) ? s : [s], oi = (s, t) => s === t, ri = (s) => String(s);
600
+ class q {
554
601
  constructor(t, e) {
555
- o(this, "_values");
556
- o(this, "_valuesFromTableState");
557
- o(this, "list");
558
- o(this, "property");
559
- o(this, "mode");
560
- o(this, "matcher");
561
- o(this, "renderItem");
562
- o(this, "name");
563
- o(this, "onFilterUpdateCallbacks", /* @__PURE__ */ new Set());
564
- o(this, "defaultSelectedValues");
602
+ r(this, "_values");
603
+ r(this, "_valuesFromTableState");
604
+ r(this, "list");
605
+ r(this, "property");
606
+ r(this, "mode");
607
+ r(this, "matcher");
608
+ r(this, "renderItem");
609
+ r(this, "name");
610
+ r(this, "onFilterUpdateCallbacks", /* @__PURE__ */ new Set());
611
+ r(this, "defaultSelectedValues");
565
612
  var i;
566
- this.list = t, this.property = e.property, this.mode = e.mode ?? "one", this._values = (i = e.values) == null ? void 0 : i.map((n) => L.create(this, n)), this.matcher = e.matcher ?? Zs, this.renderItem = e.renderItem ?? _s, this.name = e.name, this.defaultSelectedValues = e.defaultSelected;
613
+ this.list = t, this.property = e.property, this.mode = e.mode ?? "one", this._values = (i = e.values) == null ? void 0 : i.map((o) => P.create(this, o)), this.matcher = e.matcher ?? oi, this.renderItem = e.renderItem ?? ri, this.name = e.name, this.defaultSelectedValues = e.defaultSelected;
567
614
  }
568
615
  getStoredSelectedIds() {
569
616
  var t;
@@ -584,21 +631,21 @@ class H {
584
631
  }
585
632
  getReactTableFilterFn() {
586
633
  return (t, e, i) => {
587
- const n = this.property, a = n.startsWith(Xs) ? t.original : fe(t.original, n);
634
+ const o = this.property, a = o.startsWith(ni) ? t.original : be(t.original, o);
588
635
  return this.checkFilterMatches(a, i);
589
636
  };
590
637
  }
591
638
  checkFilterMatches(t, e) {
592
639
  if (e === null)
593
640
  return !0;
594
- const i = (a) => this.matcher(a.value, t), n = (a) => L.create(this, a);
641
+ const i = (a) => this.matcher(a.value, t), o = (a) => P.create(this, a);
595
642
  if (this.mode === "all")
596
- return Z(e).map(n).every(i);
643
+ return et(e).map(o).every(i);
597
644
  if (this.mode === "some") {
598
- const a = Z(e);
599
- return a.length === 0 || a.map(n).some(i);
645
+ const a = et(e);
646
+ return a.length === 0 || a.map(o).some(i);
600
647
  } else if (this.mode === "one")
601
- return i(n(e));
648
+ return i(o(e));
602
649
  throw new Error(`Unknown filter mode '${this.mode}'`);
603
650
  }
604
651
  getTableColumnFilter() {
@@ -612,9 +659,9 @@ class H {
612
659
  return ((t = this.getTableColumnFilter()) == null ? void 0 : t.value) ?? null;
613
660
  }
614
661
  getValuesFromTableState() {
615
- return me(
662
+ return ge(
616
663
  Array.from(this.getTableColumn().getFacetedUniqueValues().keys()).flatMap((t) => t).filter((t) => t != null)
617
- ).map((t) => L.create(this, t));
664
+ ).map((t) => P.create(this, t));
618
665
  }
619
666
  checkIfValueIsUnknown(t) {
620
667
  return !this.values.some((i) => i.id === t.id);
@@ -632,7 +679,7 @@ class H {
632
679
  }
633
680
  getArrayValue() {
634
681
  const t = this.getValue();
635
- return t === null ? [] : Z(t).map((e) => L.create(this, e));
682
+ return t === null ? [] : et(t).map((e) => P.create(this, e));
636
683
  }
637
684
  isValueActive(t) {
638
685
  return this.getArrayValue().some((e) => e.equals(t));
@@ -643,19 +690,19 @@ class H {
643
690
  deactivateValue(t) {
644
691
  const e = this.getArrayValue();
645
692
  let i;
646
- this.mode === "all" || this.mode === "some" ? i = e.filter((n) => !n.equals(t)) : i = null, this.list.reactTable.getTableColumn(this.property).setFilterValue(i), this.onFilterUpdateCallbacks.forEach((n) => n());
693
+ this.mode === "all" || this.mode === "some" ? i = e.filter((o) => !o.equals(t)) : i = null, this.list.reactTable.getTableColumn(this.property).setFilterValue(i), this.onFilterUpdateCallbacks.forEach((o) => o());
647
694
  }
648
695
  hasChanged() {
649
696
  var i;
650
- const t = this.getArrayValue().map((n) => n.value), e = ((i = this.getInitialFilterValues()) == null ? void 0 : i.map((n) => n.value)) ?? [];
651
- return t.length !== e.length || ge(t, e).length > 0;
697
+ const t = this.getArrayValue().map((o) => o.value), e = ((i = this.getInitialFilterValues()) == null ? void 0 : i.map((o) => o.value)) ?? [];
698
+ return t.length !== e.length || pe(t, e).length > 0;
652
699
  }
653
700
  getInitialValues() {
654
701
  return this.getStoredSelectedIds() ?? this.defaultSelectedValues;
655
702
  }
656
703
  getInitialFilterValues() {
657
704
  var t;
658
- return (t = this.getInitialValues()) == null ? void 0 : t.map((e) => L.create(this, e));
705
+ return (t = this.getInitialValues()) == null ? void 0 : t.map((e) => P.create(this, e));
659
706
  }
660
707
  resetValues() {
661
708
  let t;
@@ -668,20 +715,20 @@ class H {
668
715
  toggleValue(t) {
669
716
  const e = this.getArrayValue();
670
717
  let i;
671
- this.mode === "all" || this.mode === "some" ? t.isActive ? i = e.filter((n) => !n.equals(t)) : i = [...e, t] : i = t.isActive ? null : t, this.list.reactTable.getTableColumn(this.property).setFilterValue(i), this.onFilterUpdateCallbacks.forEach((n) => n());
718
+ this.mode === "all" || this.mode === "some" ? t.isActive ? i = e.filter((o) => !o.equals(t)) : i = [...e, t] : i = t.isActive ? null : t, this.list.reactTable.getTableColumn(this.property).setFilterValue(i), this.onFilterUpdateCallbacks.forEach((o) => o());
672
719
  }
673
720
  onFilterUpdated(t) {
674
721
  this.onFilterUpdateCallbacks.add(t);
675
722
  }
676
723
  }
677
- o(H, "settingsStorageSchema", K.record(K.array(K.string())).optional());
678
- class ti {
724
+ r(q, "settingsStorageSchema", H.record(H.array(H.string())).optional());
725
+ class ai {
679
726
  constructor(t, e) {
680
- o(this, "list");
681
- o(this, "property");
682
- o(this, "name");
683
- o(this, "direction");
684
- o(this, "defaultEnabled");
727
+ r(this, "list");
728
+ r(this, "property");
729
+ r(this, "name");
730
+ r(this, "direction");
731
+ r(this, "defaultEnabled");
685
732
  this.list = t, this.property = e.property, this.name = e.name, this.direction = e.direction ?? "asc", this.defaultEnabled = e.defaultEnabled ?? !1;
686
733
  }
687
734
  updateTableColumnDef(t) {
@@ -709,46 +756,53 @@ class ti {
709
756
  return `${this.getTableColumn().id}:${this.direction}`;
710
757
  }
711
758
  }
712
- class rt {
759
+ class dt {
713
760
  constructor(t, e, i = {}) {
714
- o(this, "list");
715
- o(this, "table");
716
- o(this, "sortingState");
717
- o(this, "updateSortingState");
761
+ r(this, "list");
762
+ r(this, "table");
763
+ r(this, "sortingState");
764
+ r(this, "updateSortingState");
718
765
  this.list = t;
719
- const n = this.list.sorting.filter(
766
+ const o = this.list.sorting.filter(
720
767
  (d) => d.defaultEnabled !== !1
721
- ), [a, l] = q(
722
- n.map((d) => d.getReactTableColumnSort())
768
+ ), [a, l] = Y(
769
+ o.map((d) => d.getReactTableColumnSort())
723
770
  );
724
771
  this.sortingState = a, this.updateSortingState = l, this.table = this.useReactTable(e, i);
725
772
  }
773
+ get searchString() {
774
+ return this.table.getState().globalFilter;
775
+ }
726
776
  static useNew(t, e, i = {}) {
727
- return new rt(t, e, i);
777
+ return new dt(t, e, i);
778
+ }
779
+ getTableColumn(t) {
780
+ const e = this.table.getColumn(t);
781
+ return xt(!!e, `Column #${t} is not defined`), e;
728
782
  }
729
783
  useReactTable(t, e = {}) {
730
784
  var l;
731
- const i = this.list.loader.useData(), n = {
785
+ const i = this.list.loader.useData(), o = {
732
786
  pagination: {
733
787
  pageSize: this.list.batches.batchSize
734
788
  },
735
789
  columnFilters: []
736
790
  };
737
791
  for (const d of this.list.filters)
738
- d.updateInitialState(n);
739
- (l = this.list.search) == null || l.updateInitialState(n);
740
- const a = Pe({
792
+ d.updateInitialState(o);
793
+ (l = this.list.search) == null || l.updateInitialState(o);
794
+ const a = Ae({
741
795
  data: i,
742
796
  state: {
743
797
  sorting: this.sortingState
744
798
  },
745
799
  getRowId: this.list.getItemId,
746
- initialState: n,
800
+ initialState: o,
747
801
  columns: this.getTableColumnDefs(),
748
- getCoreRowModel: Ae(),
802
+ getCoreRowModel: Me(),
749
803
  getSortedRowModel: xe(),
750
804
  getFilteredRowModel: Be(),
751
- getPaginationRowModel: Me(),
805
+ getPaginationRowModel: De(),
752
806
  getFacetedUniqueValues: ke(),
753
807
  onSortingChange: (d) => {
754
808
  this.handleSortingStateUpdate(d);
@@ -756,33 +810,27 @@ class rt {
756
810
  globalFilterFn: "auto",
757
811
  ...e
758
812
  });
759
- return D(() => {
813
+ return E(() => {
760
814
  t && t(this.list);
761
815
  }, [this.list, t, a]), a;
762
816
  }
763
817
  handleSortingStateUpdate(t) {
764
818
  const e = typeof t == "function" ? t(this.sortingState) : t, i = this.list.sorting.filter(
765
- (n) => n.defaultEnabled === "hidden" && !e.some((a) => a.id === n.property)
766
- ).map((n) => n.getReactTableColumnSort());
819
+ (o) => o.defaultEnabled === "hidden" && !e.some((a) => a.id === o.property)
820
+ ).map((o) => o.getReactTableColumnSort());
767
821
  this.updateSortingState([...i, ...e]);
768
822
  }
769
- get searchString() {
770
- return this.table.getState().globalFilter;
771
- }
772
- getTableColumn(t) {
773
- const e = this.table.getColumn(t);
774
- return Pt(!!e, `Column #${t} is not defined`), e;
775
- }
776
823
  getTableColumnDefs() {
777
824
  const t = /* @__PURE__ */ new Map(), e = (i) => {
778
- const n = t.get(i);
779
- if (n)
780
- return n;
825
+ const o = t.get(i);
826
+ if (o)
827
+ return o;
781
828
  const a = {
782
829
  id: i,
783
830
  accessorKey: i,
784
831
  enableSorting: !1,
785
- enableColumnFilter: !1
832
+ enableColumnFilter: !1,
833
+ sortingFn: "alphanumeric"
786
834
  };
787
835
  return t.set(i, a), a;
788
836
  };
@@ -795,26 +843,26 @@ class rt {
795
843
  }), Array.from(t.values());
796
844
  }
797
845
  }
798
- class ot {
846
+ class ht {
799
847
  constructor() {
800
- o(this, "dataBatches", []);
801
- o(this, "prevDataBatches", []);
802
- o(this, "batchLoadingStates", ["void"]);
803
- be(this, {
848
+ r(this, "dataBatches", []);
849
+ r(this, "prevDataBatches", []);
850
+ r(this, "batchLoadingStates", ["void"]);
851
+ Se(this, {
804
852
  prevDataBatches: !1,
805
853
  useMergedData: !1,
806
854
  useIsLoading: !1,
807
- dataBatches: bt.shallow,
808
- batchLoadingStates: bt.shallow,
809
- mergedData: St,
810
- isLoading: St,
811
- reset: Y.bound,
812
- setDataBatch: Y.bound,
813
- setBatchLoadingState: Y.bound
855
+ dataBatches: Tt.shallow,
856
+ batchLoadingStates: Tt.shallow,
857
+ mergedData: Ft,
858
+ isLoading: Ft,
859
+ reset: _.bound,
860
+ setDataBatch: _.bound,
861
+ setBatchLoadingState: _.bound
814
862
  });
815
863
  }
816
864
  static useNew() {
817
- return It(new ot()).current;
865
+ return Lt(new ht()).current;
818
866
  }
819
867
  reset() {
820
868
  this.batchLoadingStates = [], this.dataBatches = [];
@@ -829,36 +877,36 @@ class ot {
829
877
  return (this.dataBatches.length === 0 ? this.prevDataBatches : this.dataBatches).flatMap((e) => e);
830
878
  }
831
879
  useMergedData() {
832
- return yt(() => this.mergedData);
880
+ return Vt(() => this.mergedData);
833
881
  }
834
882
  get isLoading() {
835
883
  return this.batchLoadingStates.some((t) => t === "loading" || t === "void");
836
884
  }
837
885
  useIsLoading() {
838
- return yt(() => this.isLoading);
886
+ return Vt(() => this.isLoading);
839
887
  }
840
888
  isBatchLoaded(t) {
841
889
  return t in this.dataBatches;
842
890
  }
843
891
  }
844
- const ei = [];
845
- class at {
892
+ const li = [];
893
+ class ut {
846
894
  constructor(t, e = {}) {
847
- o(this, "list");
848
- o(this, "dataSource");
849
- o(this, "manualSorting");
850
- o(this, "manualFiltering");
851
- o(this, "manualPagination");
852
- o(this, "loaderState");
853
- o(this, "staticDataProperties", []);
895
+ r(this, "list");
896
+ r(this, "dataSource");
897
+ r(this, "manualSorting");
898
+ r(this, "manualFiltering");
899
+ r(this, "manualPagination");
900
+ r(this, "loaderState");
901
+ r(this, "staticDataProperties", []);
854
902
  var d;
855
903
  const { source: i } = e;
856
- this.dataSource = i ?? { staticData: ei };
857
- const n = "manualPagination" in this.dataSource ? this.dataSource.manualPagination : void 0, a = "manualFiltering" in this.dataSource ? this.dataSource.manualFiltering : void 0, l = "manualSorting" in this.dataSource ? this.dataSource.manualSorting : void 0;
858
- this.list = t, this.loaderState = ot.useNew(), this.manualPagination = n ?? !1, this.manualFiltering = a ?? this.manualPagination, this.manualSorting = l ?? this.manualPagination, this.list.filters.forEach((c) => c.onFilterUpdated(() => this.reset())), (d = this.list.search) == null || d.onUpdated(() => this.reset()), this.initStaticDataProperties();
904
+ this.dataSource = i ?? { staticData: li };
905
+ const o = "manualPagination" in this.dataSource ? this.dataSource.manualPagination : void 0, a = "manualFiltering" in this.dataSource ? this.dataSource.manualFiltering : void 0, l = "manualSorting" in this.dataSource ? this.dataSource.manualSorting : void 0;
906
+ this.list = t, this.loaderState = ht.useNew(), this.manualPagination = o ?? !1, this.manualFiltering = a ?? this.manualPagination, this.manualSorting = l ?? this.manualPagination, this.list.filters.forEach((c) => c.onFilterUpdated(() => this.reset())), (d = this.list.search) == null || d.onUpdated(() => this.reset()), this.initStaticDataProperties();
859
907
  }
860
908
  static useNew(t, e = {}) {
861
- return new at(t, e);
909
+ return new ut(t, e);
862
910
  }
863
911
  initStaticDataProperties() {
864
912
  const t = (e) => {
@@ -881,7 +929,7 @@ class at {
881
929
  return this.loaderState.useMergedData();
882
930
  }
883
931
  getLoaderInvocationHooks() {
884
- return pe(this.list.batches.getBatchIndex() + 1, (e) => e).map((e) => () => {
932
+ return fe(this.list.batches.getBatchIndex() + 1, (e) => e).map((e) => () => {
885
933
  this.useLoadBatch(e);
886
934
  });
887
935
  }
@@ -892,21 +940,21 @@ class at {
892
940
  }), this.useObserveBatchData(e, t), this.useObserveBatchLoadingState(e, t);
893
941
  }
894
942
  useObserveBatchLoadingState(t, e) {
895
- const i = (n) => {
943
+ const i = (o) => {
896
944
  this.loaderState.setBatchLoadingState(
897
945
  e,
898
- this.loaderState.isBatchLoaded(e) ? "loaded" : n
946
+ this.loaderState.isBatchLoaded(e) ? "loaded" : o
899
947
  );
900
948
  };
901
- D(() => (i(t.state.value), t.state.observe(i)), [t, e]);
949
+ E(() => (i(t.state.value), t.state.observe(i)), [t, e]);
902
950
  }
903
951
  useObserveBatchData(t, e) {
904
- const i = (n) => {
905
- const { data: a, itemTotalCount: l } = n;
952
+ const i = (o) => {
953
+ const { data: a, itemTotalCount: l } = o;
906
954
  this.loaderState.setDataBatch(e, a), l !== void 0 && this.list.batches.updateItemTotalCount(l);
907
955
  };
908
- D(() => (t.value.value.isSet && i(t.value.value.value), t.value.observe((n) => {
909
- n.isSet && i(n.value);
956
+ E(() => (t.value.value.isSet && i(t.value.value.value), t.value.observe((o) => {
957
+ o.isSet && i(o.value);
910
958
  })), [t, e]);
911
959
  }
912
960
  getDataLoaderOptions(t) {
@@ -933,33 +981,33 @@ class at {
933
981
  getBatchDataAsyncResource(t) {
934
982
  const e = this.dataSource, i = this.getDataLoaderOptions(t);
935
983
  if ("staticData" in e)
936
- return wt(
937
- async (n) => ({
938
- data: n,
939
- itemTotalCount: n.length
984
+ return It(
985
+ async (o) => ({
986
+ data: o,
987
+ itemTotalCount: o.length
940
988
  }),
941
989
  [e.staticData]
942
990
  );
943
991
  if ("asyncLoader" in e) {
944
- const n = e.asyncLoader, a = e.dependencies, l = a ? At(a).toString() : void 0;
945
- return wt(n, [i], {
992
+ const o = e.asyncLoader, a = e.dependencies, l = a ? Bt(a).toString() : void 0;
993
+ return It(o, [i], {
946
994
  loaderId: l
947
995
  });
948
996
  }
949
997
  if ("asyncResourceFactory" in e) {
950
- const n = e.asyncResourceFactory;
951
- return n(i);
998
+ const o = e.asyncResourceFactory;
999
+ return o(i);
952
1000
  }
953
1001
  throw new Error("Unknown data source");
954
1002
  }
955
1003
  }
956
- class si {
1004
+ class ci {
957
1005
  constructor(t, e) {
958
- o(this, "list");
959
- o(this, "render");
960
- o(this, "textFieldProps");
961
- o(this, "onUpdateCallbacks", /* @__PURE__ */ new Set());
962
- o(this, "defaultValue");
1006
+ r(this, "list");
1007
+ r(this, "render");
1008
+ r(this, "textFieldProps");
1009
+ r(this, "onUpdateCallbacks", /* @__PURE__ */ new Set());
1010
+ r(this, "defaultValue");
963
1011
  this.list = t, this.render = e.render, this.textFieldProps = e.textFieldProps, this.defaultValue = e.defaultValue;
964
1012
  }
965
1013
  get value() {
@@ -984,126 +1032,138 @@ class si {
984
1032
  this.onUpdateCallbacks.add(t);
985
1033
  }
986
1034
  }
987
- const G = class G {
1035
+ const J = class J {
988
1036
  constructor(t, e = {}) {
989
- o(this, "list");
990
- o(this, "textValue");
991
- o(this, "href");
992
- o(this, "defaultExpanded");
993
- o(this, "fallback");
994
- o(this, "renderFn");
995
- const { fallback: i, textValue: n, href: a, defaultExpanded: l, renderFn: d } = e;
996
- this.list = t, this.textValue = n, this.renderFn = d, this.href = a, this.defaultExpanded = l, this.fallback = i;
1037
+ r(this, "list");
1038
+ r(this, "textValue");
1039
+ r(this, "href");
1040
+ r(this, "defaultExpanded");
1041
+ r(this, "fallback");
1042
+ r(this, "showTiles");
1043
+ r(this, "showList");
1044
+ r(this, "tileMaxWidth");
1045
+ r(this, "renderFn");
1046
+ const {
1047
+ fallback: i,
1048
+ textValue: o,
1049
+ href: a,
1050
+ defaultExpanded: l,
1051
+ renderFn: d,
1052
+ showTiles: c,
1053
+ showList: m = !0,
1054
+ tileMaxWidth: b = 230
1055
+ } = e;
1056
+ this.list = t, this.textValue = o, this.renderFn = d, this.href = a, this.defaultExpanded = l, this.fallback = i, this.showTiles = c, this.showList = m, this.tileMaxWidth = b;
997
1057
  }
998
1058
  render(t) {
999
- return (this.renderFn ?? G.fallbackRenderItemFn)(t, this.list);
1059
+ return (this.renderFn ?? J.fallbackRenderItemFn)(t, this.list);
1000
1060
  }
1001
1061
  };
1002
- o(G, "fallbackRenderItemFn", (t) => Ft("pre", void 0, JSON.stringify(t)));
1003
- let et = G, ii = class {
1062
+ r(J, "fallbackRenderItemFn", (t) => Ct("pre", void 0, JSON.stringify(t)));
1063
+ let nt = J, di = class {
1004
1064
  constructor(t, e = {}) {
1005
- o(this, "tableHeader");
1006
- o(this, "componentProps");
1065
+ r(this, "tableHeader");
1066
+ r(this, "componentProps");
1007
1067
  this.tableHeader = t, this.componentProps = e;
1008
1068
  }
1009
- }, ni = class {
1069
+ }, hi = class {
1010
1070
  constructor(t, e = {}) {
1011
- o(this, "table");
1012
- o(this, "componentProps");
1013
- o(this, "columns");
1014
- const { columns: i = [], ...n } = e;
1015
- this.table = t, this.columns = i.map((a) => new ii(this, a)), this.componentProps = n;
1071
+ r(this, "table");
1072
+ r(this, "componentProps");
1073
+ r(this, "columns");
1074
+ const { columns: i = [], ...o } = e;
1075
+ this.table = t, this.columns = i.map((a) => new di(this, a)), this.componentProps = o;
1016
1076
  }
1017
- }, ri = class {
1077
+ }, ui = class {
1018
1078
  constructor(t, e = {}) {
1019
- o(this, "row");
1020
- o(this, "renderFn");
1021
- o(this, "componentProps");
1022
- const { renderFn: i, ...n } = e;
1023
- this.row = t, this.renderFn = i, this.componentProps = n;
1079
+ r(this, "row");
1080
+ r(this, "renderFn");
1081
+ r(this, "componentProps");
1082
+ const { renderFn: i, ...o } = e;
1083
+ this.row = t, this.renderFn = i, this.componentProps = o;
1024
1084
  }
1025
- }, oi = class {
1085
+ }, mi = class {
1026
1086
  constructor(t, e = {}) {
1027
- o(this, "tableBody");
1028
- o(this, "cells");
1029
- o(this, "componentProps");
1030
- const { cells: i = [], ...n } = e;
1031
- this.tableBody = t, this.cells = i.map((a) => new ri(this, a)), this.componentProps = n;
1087
+ r(this, "tableBody");
1088
+ r(this, "cells");
1089
+ r(this, "componentProps");
1090
+ const { cells: i = [], ...o } = e;
1091
+ this.tableBody = t, this.cells = i.map((a) => new ui(this, a)), this.componentProps = o;
1032
1092
  }
1033
- }, ai = class {
1093
+ }, gi = class {
1034
1094
  constructor(t, e = {}) {
1035
- o(this, "table");
1036
- o(this, "componentProps");
1037
- o(this, "row");
1038
- const { row: i, ...n } = e;
1039
- this.table = t, this.row = new oi(this, i), this.componentProps = n;
1095
+ r(this, "table");
1096
+ r(this, "componentProps");
1097
+ r(this, "row");
1098
+ const { row: i, ...o } = e;
1099
+ this.table = t, this.row = new mi(this, i), this.componentProps = o;
1040
1100
  }
1041
- }, li = class {
1101
+ }, pi = class {
1042
1102
  constructor(t, e = {}) {
1043
- o(this, "list");
1044
- o(this, "header");
1045
- o(this, "body");
1046
- o(this, "componentProps");
1047
- const { header: i, body: n, ...a } = e;
1048
- this.list = t, this.header = new ni(this, i), this.body = new ai(this, n), this.componentProps = a;
1103
+ r(this, "list");
1104
+ r(this, "header");
1105
+ r(this, "body");
1106
+ r(this, "componentProps");
1107
+ const { header: i, body: o, ...a } = e;
1108
+ this.list = t, this.header = new hi(this, i), this.body = new gi(this, o), this.componentProps = a;
1049
1109
  }
1050
1110
  };
1051
- var V;
1052
- let ci = (V = class {
1111
+ var C;
1112
+ let fi = (C = class {
1053
1113
  constructor(t) {
1054
- o(this, "filters");
1055
- o(this, "itemView");
1056
- o(this, "table");
1057
- o(this, "search");
1058
- o(this, "sorting");
1059
- o(this, "items");
1060
- o(this, "reactTable");
1061
- o(this, "batches");
1062
- o(this, "loader");
1063
- o(this, "onAction");
1064
- o(this, "accordion");
1065
- o(this, "getItemId");
1066
- o(this, "componentProps");
1067
- o(this, "viewMode");
1068
- o(this, "setViewMode");
1069
- o(this, "settingsStore");
1070
- o(this, "supportsSettingsStorage");
1071
- o(this, "settingStorageKey");
1072
- o(this, "viewModeStorageKey");
1073
- o(this, "filterSettingsStorageKey");
1114
+ r(this, "filters");
1115
+ r(this, "itemView");
1116
+ r(this, "table");
1117
+ r(this, "search");
1118
+ r(this, "sorting");
1119
+ r(this, "items");
1120
+ r(this, "reactTable");
1121
+ r(this, "batches");
1122
+ r(this, "loader");
1123
+ r(this, "onAction");
1124
+ r(this, "accordion");
1125
+ r(this, "getItemId");
1126
+ r(this, "componentProps");
1127
+ r(this, "viewMode");
1128
+ r(this, "setViewMode");
1129
+ r(this, "supportsSettingsStorage");
1130
+ r(this, "settingStorageKey");
1131
+ r(this, "settingsStore");
1132
+ r(this, "viewModeStorageKey");
1133
+ r(this, "filterSettingsStorageKey");
1074
1134
  const {
1075
1135
  settingStorageKey: e,
1076
1136
  itemView: i,
1077
- table: n,
1137
+ table: o,
1078
1138
  filters: a = [],
1079
1139
  sorting: l = [],
1080
1140
  batchesController: d,
1081
1141
  onChange: c,
1082
- loader: g,
1083
- search: f,
1084
- onAction: p,
1085
- getItemId: A,
1086
- defaultViewMode: x,
1087
- accordion: B = !1,
1088
- ...w
1142
+ loader: m,
1143
+ search: b,
1144
+ onAction: u,
1145
+ getItemId: y,
1146
+ defaultViewMode: M,
1147
+ accordion: x = !1,
1148
+ ...v
1089
1149
  } = t;
1090
- this.settingsStore = De(), this.settingStorageKey = e, this.filterSettingsStorageKey = e ? `${e}.activeFilters` : void 0, this.viewModeStorageKey = e ? `${e}.viewMode` : void 0, this.supportsSettingsStorage = !!this.settingStorageKey, this.items = new Ys(this), this.filters = a.map((b) => new H(this, b)), this.sorting = l.map((b) => new ti(this, b)), this.search = f ? new si(this, f) : void 0, this.itemView = i ? new et(this, i) : void 0, this.accordion = B, this.table = n ? new li(this, n) : void 0, this.batches = new Qs(this, d), this.componentProps = w, this.loader = at.useNew(this, g), this.onAction = p, this.getItemId = A, this.reactTable = rt.useNew(this, c, {
1150
+ this.settingsStore = Ee(), this.settingStorageKey = e, this.filterSettingsStorageKey = e ? `${e}.activeFilters` : void 0, this.viewModeStorageKey = e ? `${e}.viewMode` : void 0, this.supportsSettingsStorage = !!this.settingStorageKey, this.items = new si(this), this.filters = a.map((w) => new q(this, w)), this.sorting = l.map((w) => new ai(this, w)), this.search = b ? new ci(this, b) : void 0, this.itemView = i ? new nt(this, i) : void 0, this.accordion = x, this.table = o ? new pi(this, o) : void 0, this.batches = new ii(this, d), this.componentProps = v, this.loader = ut.useNew(this, m), this.onAction = u, this.getItemId = y, this.reactTable = dt.useNew(this, c, {
1091
1151
  manualFiltering: this.loader.manualFiltering,
1092
1152
  manualPagination: this.loader.manualPagination,
1093
1153
  manualSorting: this.loader.manualSorting
1094
1154
  });
1095
- const [M, J] = q(
1096
- x ?? this.getStoredViewModeDefaultSetting() ?? "list"
1155
+ const [B, Z] = Y(
1156
+ M ?? this.getStoredViewModeDefaultSetting() ?? "list"
1097
1157
  );
1098
- this.viewMode = M, this.setViewMode = (b) => {
1099
- J(b), this.settingsStore && this.viewModeStorageKey && this.settingsStore.set(
1158
+ this.viewMode = B, this.setViewMode = (w) => {
1159
+ Z(w), this.settingsStore && this.viewModeStorageKey && this.settingsStore.set(
1100
1160
  "List",
1101
1161
  this.viewModeStorageKey,
1102
- V.viewModeSettingsStorageSchema,
1103
- b
1162
+ C.viewModeSettingsStorageSchema,
1163
+ w
1104
1164
  );
1105
- }, D(() => {
1106
- this.filters.forEach((b) => b.deleteUnknownFilterValues());
1165
+ }, E(() => {
1166
+ this.filters.forEach((w) => w.deleteUnknownFilterValues());
1107
1167
  }, [this.filters]);
1108
1168
  }
1109
1169
  get isFiltered() {
@@ -1113,7 +1173,7 @@ let ci = (V = class {
1113
1173
  return this.sorting.filter((t) => t.defaultEnabled !== "hidden");
1114
1174
  }
1115
1175
  static useNew(t) {
1116
- return new V(t);
1176
+ return new C(t);
1117
1177
  }
1118
1178
  storeFilterDefaultSettings() {
1119
1179
  if (this.settingsStore && this.filterSettingsStorageKey) {
@@ -1126,7 +1186,7 @@ let ci = (V = class {
1126
1186
  this.settingsStore.set(
1127
1187
  "List",
1128
1188
  this.filterSettingsStorageKey,
1129
- H.settingsStorageSchema,
1189
+ q.settingsStorageSchema,
1130
1190
  t
1131
1191
  );
1132
1192
  }
@@ -1136,7 +1196,7 @@ let ci = (V = class {
1136
1196
  return this.settingsStore.get(
1137
1197
  "List",
1138
1198
  this.filterSettingsStorageKey,
1139
- H.settingsStorageSchema
1199
+ q.settingsStorageSchema
1140
1200
  );
1141
1201
  }
1142
1202
  getStoredViewModeDefaultSetting() {
@@ -1144,12 +1204,12 @@ let ci = (V = class {
1144
1204
  return this.settingsStore.get(
1145
1205
  "List",
1146
1206
  this.viewModeStorageKey,
1147
- V.viewModeSettingsStorageSchema
1207
+ C.viewModeSettingsStorageSchema
1148
1208
  );
1149
1209
  }
1150
1210
  getSorting(t) {
1151
1211
  const e = this.sorting.find((i) => i.id === t);
1152
- return Pt(!!e, `Could not get Sorting (ID: ${t})`), e;
1212
+ return xt(!!e, `Could not get Sorting (ID: ${t})`), e;
1153
1213
  }
1154
1214
  clearSorting() {
1155
1215
  return this.sorting.forEach((t) => t.clear());
@@ -1163,21 +1223,23 @@ let ci = (V = class {
1163
1223
  useIsEmpty() {
1164
1224
  return !this.loader.useIsLoading() && this.items.entries.length === 0;
1165
1225
  }
1166
- }, o(V, "viewModeSettingsStorageSchema", K.enum(["list", "table"]).optional()), V);
1167
- const di = "flow--list--items", ui = "flow--list--items--is-loading", Tt = {
1168
- items: di,
1169
- isLoading: ui
1170
- }, st = (s) => {
1171
- const t = h(m).SkeletonText ?? Mt;
1172
- return /* @__PURE__ */ r(t, { ...s });
1173
- }, $t = () => /* @__PURE__ */ u(kt, { children: [
1174
- /* @__PURE__ */ r(Nt, { children: /* @__PURE__ */ r(st, { width: "200px" }) }),
1175
- /* @__PURE__ */ r(N, { children: /* @__PURE__ */ r(st, { width: "300px" }) })
1176
- ] }), hi = (s) => {
1177
- const { isExpanded: t, toggle: e, children: i, contentElementId: n } = s, a = P(T);
1178
- return /* @__PURE__ */ u(vt, { children: [
1179
- /* @__PURE__ */ r(
1180
- C,
1226
+ }, r(C, "viewModeSettingsStorageSchema", H.enum(["list", "table", "tiles"]).optional()), C);
1227
+ const bi = "flow--list--items", Si = "flow--list--items--is-loading", wi = "flow--list--items--tiles", st = {
1228
+ items: bi,
1229
+ isLoading: Si,
1230
+ tiles: wi
1231
+ }, Rt = () => {
1232
+ const t = S().viewMode === "tiles";
1233
+ return /* @__PURE__ */ h(kt, { children: [
1234
+ t && /* @__PURE__ */ n(je, { children: /* @__PURE__ */ n(Dt, { style: { aspectRatio: 16 / 9 } }) }),
1235
+ /* @__PURE__ */ n(at, { children: /* @__PURE__ */ n(j, { width: "200px" }) }),
1236
+ /* @__PURE__ */ n(ot, { children: /* @__PURE__ */ n(j, { width: "300px" }) })
1237
+ ] });
1238
+ }, yi = (s) => {
1239
+ const { isExpanded: t, toggle: e, children: i, contentElementId: o } = s, a = A(T);
1240
+ return /* @__PURE__ */ h(W, { children: [
1241
+ /* @__PURE__ */ n(
1242
+ L,
1181
1243
  {
1182
1244
  variant: "plain",
1183
1245
  color: "secondary",
@@ -1185,41 +1247,41 @@ const di = "flow--list--items", ui = "flow--list--items--is-loading", Tt = {
1185
1247
  "aria-label": a.format(
1186
1248
  "list.toggleExpandButton." + (t ? "collapse" : "expand")
1187
1249
  ),
1188
- "aria-controls": n,
1250
+ "aria-controls": o,
1189
1251
  "aria-expanded": t,
1190
- children: t ? /* @__PURE__ */ r(qe, {}) : /* @__PURE__ */ r(Ge, {})
1252
+ children: t ? /* @__PURE__ */ n(Ye, {}) : /* @__PURE__ */ n(Je, {})
1191
1253
  }
1192
1254
  ),
1193
1255
  t && i
1194
1256
  ] });
1195
- }, mi = (s) => {
1196
- var B;
1197
- const { data: t, children: e } = s, i = y(), n = i.itemView, a = i.onAction, [l, d] = q(
1198
- ((B = n == null ? void 0 : n.defaultExpanded) == null ? void 0 : B.call(n, t)) ?? !1
1199
- ), c = ce(), g = It(null), f = i.accordion, p = e ?? (n == null ? void 0 : n.render(t));
1200
- if (D(() => {
1201
- var w, M;
1202
- f && ((w = g.current) == null || w.setAttribute("aria-expanded", String(l)), (M = g.current) == null || M.setAttribute("aria-controls", c));
1203
- }, [l, c, g.current, f]), !f)
1257
+ }, vi = (s) => {
1258
+ var x;
1259
+ const { data: t, children: e } = s, i = S(), o = i.itemView, a = i.onAction, [l, d] = Y(
1260
+ ((x = o == null ? void 0 : o.defaultExpanded) == null ? void 0 : x.call(o, t)) ?? !1
1261
+ ), c = ce(), m = Lt(null), b = i.accordion, u = e ?? (o == null ? void 0 : o.render(t));
1262
+ if (E(() => {
1263
+ var v, B;
1264
+ b && ((v = m.current) == null || v.setAttribute("aria-expanded", String(l)), (B = m.current) == null || B.setAttribute("aria-controls", c));
1265
+ }, [l, c, m.current, b]), !b)
1204
1266
  return {
1205
1267
  gridItemProps: {
1206
1268
  onAction: a ? () => {
1207
1269
  a == null || a(t);
1208
1270
  } : void 0
1209
1271
  },
1210
- children: p
1272
+ children: u
1211
1273
  };
1212
- const A = () => {
1213
- d((w) => !w), a == null || a(t);
1214
- }, x = {
1274
+ const y = () => {
1275
+ d((v) => !v), a == null || a(t);
1276
+ }, M = {
1215
1277
  Content: {
1216
- id: _((w) => w.slot === "bottom" ? c : void 0),
1217
- wrapWith: _(
1218
- (w) => w.slot === "bottom" ? /* @__PURE__ */ r(
1219
- hi,
1278
+ id: U((v) => v.slot === "bottom" ? c : void 0),
1279
+ wrapWith: U(
1280
+ (v) => v.slot === "bottom" ? /* @__PURE__ */ n(
1281
+ yi,
1220
1282
  {
1221
1283
  contentElementId: c,
1222
- toggle: A,
1284
+ toggle: y,
1223
1285
  isExpanded: l
1224
1286
  }
1225
1287
  ) : void 0
@@ -1228,71 +1290,103 @@ const di = "flow--list--items", ui = "flow--list--items--is-loading", Tt = {
1228
1290
  };
1229
1291
  return {
1230
1292
  gridItemProps: {
1231
- ref: g,
1232
- onAction: A
1293
+ ref: m,
1294
+ onAction: y
1233
1295
  },
1234
- children: /* @__PURE__ */ r(
1235
- j,
1296
+ children: /* @__PURE__ */ n(
1297
+ Q,
1236
1298
  {
1237
- props: x,
1299
+ props: M,
1238
1300
  dependencies: [c, l],
1239
- children: p
1301
+ children: u
1240
1302
  }
1241
1303
  )
1242
1304
  };
1243
- }, Ut = (s) => {
1244
- const t = h(m).ItemsGridListItem ?? Fs;
1245
- return /* @__PURE__ */ r(t, { ...s });
1246
- }, gi = (s) => {
1247
- const { id: t, data: e } = s, n = y().itemView, { gridItemProps: a, children: l } = mi(s);
1248
- if (!n)
1305
+ }, $t = (s) => {
1306
+ const t = g(f).ItemsGridListItem ?? As;
1307
+ return /* @__PURE__ */ n(t, { ...s });
1308
+ }, Ti = (s) => {
1309
+ const { id: t, data: e } = s, i = S(), o = i.itemView, { gridItemProps: a, children: l } = vi(s);
1310
+ if (!o)
1249
1311
  return null;
1250
- const d = n.textValue ? n.textValue(e) : void 0, c = n.href ? n.href(e) : void 0, g = !!a.onAction || !!c;
1251
- return /* @__PURE__ */ r(
1252
- Ut,
1312
+ const d = o.textValue ? o.textValue(e) : void 0, c = o.href ? o.href(e) : void 0, m = !!a.onAction || !!c;
1313
+ return /* @__PURE__ */ n(
1314
+ $t,
1253
1315
  {
1254
1316
  id: t,
1255
1317
  textValue: d,
1256
1318
  href: c,
1257
- hasAction: g,
1319
+ hasAction: m,
1320
+ isTile: i.viewMode === "tiles",
1258
1321
  ...a,
1259
- children: /* @__PURE__ */ r(de, { fallback: /* @__PURE__ */ r($t, {}), children: l })
1322
+ children: /* @__PURE__ */ n(de, { fallback: /* @__PURE__ */ n(Rt, {}), children: l })
1323
+ }
1324
+ );
1325
+ }, Fi = (s) => {
1326
+ const t = S();
1327
+ return /* @__PURE__ */ n(
1328
+ $t,
1329
+ {
1330
+ textValue: "-",
1331
+ className: $.item,
1332
+ isTile: t.viewMode === "tiles",
1333
+ children: s.children
1260
1334
  }
1261
1335
  );
1262
- }, pi = (s) => /* @__PURE__ */ r(Ut, { textValue: "-", className: z.item, children: s.children }), fi = () => {
1336
+ }, Ii = () => {
1263
1337
  var e;
1264
- const t = ((e = y().itemView) == null ? void 0 : e.fallback) ?? /* @__PURE__ */ r($t, {});
1265
- return Array.from(Array(5)).map((i, n) => /* @__PURE__ */ r(pi, { children: ue(t) }, n));
1266
- }, bi = (s) => {
1267
- const t = h(m).ItemsGridList ?? ws;
1268
- return /* @__PURE__ */ r(t, { ...s });
1269
- }, Si = () => {
1270
- const s = y(), t = s.loader.useIsLoading(), e = s.loader.useIsInitiallyLoading();
1338
+ const t = ((e = S().itemView) == null ? void 0 : e.fallback) ?? /* @__PURE__ */ n(Rt, {});
1339
+ return Array.from(Array(5)).map((i, o) => /* @__PURE__ */ n(Fi, { id: o, data: o, children: he(t) }, o));
1340
+ }, Vi = (s) => {
1341
+ const t = g(f).ItemsGridList ?? Is;
1342
+ return /* @__PURE__ */ n(t, { ...s });
1343
+ }, Ci = () => {
1344
+ const s = S(), t = s.viewMode === "tiles", e = s.loader.useIsLoading(), i = s.loader.useIsInitiallyLoading();
1271
1345
  if (!s.itemView)
1272
1346
  return null;
1273
- const i = s.items.entries.map((a) => /* @__PURE__ */ r(gi, { data: a.data, id: a.id }, a.id)), n = E(Tt.items, t && Tt.isLoading);
1274
- return /* @__PURE__ */ r(I, { "aria-hidden": e, "aria-busy": t, children: /* @__PURE__ */ r(bi, { className: n, ...s.componentProps, children: e ? /* @__PURE__ */ r(fi, {}) : i }) });
1275
- }, Kt = (s) => null, wi = () => Kt, zt = (s) => null, yi = () => zt, Ot = (s) => null, Ti = () => Ot, Ht = (s) => null, vi = () => Ht, Gt = (s) => null, Fi = () => Gt, Ii = "flow--list--footer", Vi = {
1276
- footer: Ii
1277
- }, Ci = (s) => {
1278
- const t = h(m).Skeleton ?? Ye;
1279
- return /* @__PURE__ */ r(t, { ...s });
1280
- }, Li = (s) => {
1281
- const t = P(T), e = y(), i = e.batches, n = e.loader.useIsInitiallyLoading(), a = e.useIsEmpty(), l = i.getTotalItemsCount(), d = i.getVisibleItemsCount();
1347
+ const o = s.items.entries.map((l) => /* @__PURE__ */ n(Ti, { data: l.data, id: l.id }, l.id)), a = N(
1348
+ st.items,
1349
+ e && st.isLoading,
1350
+ t && st.tiles
1351
+ );
1352
+ return /* @__PURE__ */ n(V, { "aria-hidden": i, "aria-busy": e, children: /* @__PURE__ */ n(
1353
+ Vi,
1354
+ {
1355
+ className: a,
1356
+ ...s.componentProps,
1357
+ renderEmptyState: () => /* @__PURE__ */ n(lt, {}),
1358
+ style: {
1359
+ gridTemplateColumns: `repeat(auto-fill, minmax(${s.itemView.tileMaxWidth}px, 1fr))`
1360
+ },
1361
+ children: i ? /* @__PURE__ */ n(Ii, {}) : o
1362
+ }
1363
+ ) });
1364
+ }, Ut = (s, t) => ue(s) ? typeof t == "string" ? typeof s.type == "string" ? s.type === t : !1 : s.type === t : !1, I = (s, t) => Ne(s, (e) => Ut(e, t)), O = (s, t) => {
1365
+ const e = [];
1366
+ return Re(s, (i) => {
1367
+ Ut(i, t) && e.push(i);
1368
+ }), e;
1369
+ }, Kt = (s) => null, Li = () => Kt, zt = (s) => null, Pi = () => zt, Ot = (s) => null, Ai = () => Ot, Ht = (s) => null, Mi = () => Ht, Gt = (s) => null, xi = () => Gt, Bi = "flow--list--footer", Di = {
1370
+ footer: Bi
1371
+ }, ki = (s) => {
1372
+ const t = g(f).Skeleton ?? Dt;
1373
+ return /* @__PURE__ */ n(t, { ...s });
1374
+ }, Ei = (s) => {
1375
+ const t = A(T), e = S(), i = e.batches, o = e.loader.useIsInitiallyLoading(), a = e.useIsEmpty(), l = i.getTotalItemsCount(), d = i.getVisibleItemsCount();
1282
1376
  if (a)
1283
1377
  return null;
1284
- const c = n ? /* @__PURE__ */ r(Ci, { width: "200px" }) : t.format("list.paginationInfo", {
1378
+ const c = o ? /* @__PURE__ */ n(ki, { width: "200px" }) : t.format("list.paginationInfo", {
1285
1379
  visibleItemsCount: d,
1286
1380
  totalItemsCount: l
1287
1381
  });
1288
- return /* @__PURE__ */ r(N, { ...s, children: c });
1289
- }, Pi = (s) => {
1290
- const t = P(T), e = y(), i = e.loader.useIsLoading(), n = e.loader.useIsInitiallyLoading();
1291
- return !e.batches.hasNextBatch() && !i ? null : /* @__PURE__ */ r(
1292
- C,
1382
+ return /* @__PURE__ */ n(K, { ...s, children: c });
1383
+ }, Ni = (s) => {
1384
+ const t = A(T), e = S(), i = e.loader.useIsLoading(), o = e.loader.useIsInitiallyLoading();
1385
+ return !e.batches.hasNextBatch() && !i ? null : /* @__PURE__ */ n(
1386
+ L,
1293
1387
  {
1294
- isPending: i && !n,
1295
- isDisabled: n,
1388
+ isPending: i && !o,
1389
+ isDisabled: o,
1296
1390
  ...s,
1297
1391
  onPress: () => e.batches.nextBatch(),
1298
1392
  variant: "plain",
@@ -1300,79 +1394,82 @@ const di = "flow--list--items", ui = "flow--list--items--is-loading", Tt = {
1300
1394
  children: t.format("list.showMore")
1301
1395
  }
1302
1396
  );
1303
- }, Ai = () => /* @__PURE__ */ u(I, { className: Vi.footer, children: [
1304
- /* @__PURE__ */ r(Li, {}),
1305
- /* @__PURE__ */ r(Pi, {})
1397
+ }, Ri = () => /* @__PURE__ */ h(V, { className: Di.footer, children: [
1398
+ /* @__PURE__ */ n(Ei, {}),
1399
+ /* @__PURE__ */ n(Ni, {})
1306
1400
  ] });
1307
1401
  function qt(s) {
1308
1402
  return null;
1309
1403
  }
1310
- const xi = () => qt, jt = (s) => null, Wt = (s) => null, Jt = (s) => null, Yt = (s) => {
1311
- const t = h(m).Table ?? Qe;
1312
- return /* @__PURE__ */ r(t, { ...s });
1404
+ const $i = () => qt, Wt = (s) => null, jt = (s) => null, Jt = (s) => null, Yt = (s) => {
1405
+ const t = g(f).Table ?? Ze;
1406
+ return /* @__PURE__ */ n(t, { ...s });
1313
1407
  }, Qt = (s) => {
1314
- const t = h(m).TableColumn ?? Xe;
1315
- return /* @__PURE__ */ r(t, { ...s });
1408
+ const t = g(f).TableColumn ?? _e;
1409
+ return /* @__PURE__ */ n(t, { ...s });
1316
1410
  }, Xt = (s) => {
1317
- const t = h(m).TableBody ?? Ze;
1318
- return /* @__PURE__ */ r(t, { ...s });
1411
+ const t = g(f).TableBody ?? ts;
1412
+ return /* @__PURE__ */ n(t, { ...s });
1319
1413
  }, Zt = (s) => {
1320
- const t = h(m).TableRow ?? _e;
1321
- return /* @__PURE__ */ r(t, { ...s });
1414
+ const t = g(f).TableRow ?? es;
1415
+ return /* @__PURE__ */ n(t, { ...s });
1416
+ }, Ui = (s) => {
1417
+ const t = g(f).SkeletonText ?? j;
1418
+ return /* @__PURE__ */ n(t, { ...s });
1322
1419
  }, _t = (s) => {
1323
- const t = h(m).TableHeader ?? ts;
1324
- return /* @__PURE__ */ r(t, { ...s });
1420
+ const t = g(f).TableHeader ?? ss;
1421
+ return /* @__PURE__ */ n(t, { ...s });
1325
1422
  }, te = (s) => {
1326
- const t = h(m).TableCell ?? es;
1327
- return /* @__PURE__ */ r(t, { ...s });
1328
- }, Bi = (s) => /* @__PURE__ */ u(Yt, { ...s, children: [
1329
- /* @__PURE__ */ r(_t, { children: /* @__PURE__ */ r(Qt, { children: /* @__PURE__ */ r(Mt, { width: "100%" }) }) }),
1330
- /* @__PURE__ */ r(Xt, { children: Array.from(Array(5)).map((t, e) => /* @__PURE__ */ r(Zt, { children: /* @__PURE__ */ r(te, { children: /* @__PURE__ */ r(st, { width: "100%" }) }) }, e)) })
1331
- ] }), Mi = "flow--list--table", ki = "flow--list--table--is-loading", Di = "flow--list--table--row", Ei = "flow--list--table--is-selected", Ni = "flow--list--table--has-action", R = {
1332
- table: Mi,
1333
- isLoading: ki,
1334
- row: Di,
1335
- isSelected: Ei,
1336
- hasAction: Ni
1337
- }, Ri = (s) => {
1338
- const t = h(m).ListEmptyView ?? Dt;
1339
- return /* @__PURE__ */ r(t, { ...s });
1340
- }, $i = () => {
1341
- const s = y(), t = s.table, e = s.useIsEmpty(), i = s.loader.useIsLoading(), n = s.loader.useIsInitiallyLoading();
1423
+ const t = g(f).TableCell ?? is;
1424
+ return /* @__PURE__ */ n(t, { ...s });
1425
+ }, Ki = (s) => /* @__PURE__ */ h(Yt, { ...s, children: [
1426
+ /* @__PURE__ */ n(_t, { children: /* @__PURE__ */ n(Qt, { children: /* @__PURE__ */ n(j, { width: "100%" }) }) }),
1427
+ /* @__PURE__ */ n(Xt, { children: Array.from(Array(5)).map((t, e) => /* @__PURE__ */ n(Zt, { children: /* @__PURE__ */ n(te, { children: /* @__PURE__ */ n(Ui, { width: "100%" }) }) }, e)) })
1428
+ ] }), zi = "flow--list--table", Oi = "flow--list--table--is-loading", Hi = "flow--list--table--row", Gi = "flow--list--table--is-selected", qi = "flow--list--table--has-action", R = {
1429
+ table: zi,
1430
+ isLoading: Oi,
1431
+ row: Hi,
1432
+ isSelected: Gi,
1433
+ hasAction: qi
1434
+ }, Wi = (s) => {
1435
+ const t = g(f).ListEmptyView ?? lt;
1436
+ return /* @__PURE__ */ n(t, { ...s });
1437
+ }, ji = () => {
1438
+ const s = S(), t = s.table, e = s.useIsEmpty(), i = s.loader.useIsLoading(), o = s.loader.useIsInitiallyLoading();
1342
1439
  if (!t)
1343
1440
  return null;
1344
- if (n)
1345
- return /* @__PURE__ */ r(Bi, { ...t.componentProps });
1441
+ if (o)
1442
+ return /* @__PURE__ */ n(Ki, { ...t.componentProps });
1346
1443
  if (e)
1347
- return /* @__PURE__ */ r(Ri, {});
1348
- const a = t.list.onAction, l = E(
1444
+ return /* @__PURE__ */ n(Wi, {});
1445
+ const a = t.list.onAction, l = N(
1349
1446
  R.table,
1350
1447
  i && R.isLoading,
1351
1448
  t.componentProps.className
1352
1449
  );
1353
- return /* @__PURE__ */ u(
1450
+ return /* @__PURE__ */ h(
1354
1451
  Yt,
1355
1452
  {
1356
1453
  ...s.componentProps,
1357
1454
  ...t.componentProps,
1358
1455
  className: l,
1359
1456
  children: [
1360
- /* @__PURE__ */ r(_t, { ...t.header.componentProps, children: t.header.columns.map((d, c) => /* @__PURE__ */ r(Qt, { ...d.componentProps }, c)) }),
1361
- /* @__PURE__ */ r(Xt, { ...t.body.componentProps, children: s.items.entries.map((d) => {
1457
+ /* @__PURE__ */ n(_t, { ...t.header.componentProps, children: t.header.columns.map((d, c) => /* @__PURE__ */ n(Qt, { ...d.componentProps }, c)) }),
1458
+ /* @__PURE__ */ n(Xt, { ...t.body.componentProps, children: s.items.entries.map((d) => {
1362
1459
  var c;
1363
- return /* @__PURE__ */ r(
1460
+ return /* @__PURE__ */ n(
1364
1461
  Zt,
1365
1462
  {
1366
- className: (g) => E(
1463
+ className: (m) => N(
1367
1464
  R.row,
1368
1465
  a && R.hasAction,
1369
1466
  t.body.row.componentProps.className,
1370
- g.isSelected && R.isSelected
1467
+ m.isSelected && R.isSelected
1371
1468
  ),
1372
1469
  id: d.id,
1373
1470
  onAction: a ? () => a(d.data) : void 0,
1374
1471
  ...t.body.row.componentProps,
1375
- children: (c = t.body.row) == null ? void 0 : c.cells.map((g, f) => /* @__PURE__ */ r(te, { ...g.componentProps, children: g.renderFn ? g.renderFn(d.data, s) : void 0 }, f))
1472
+ children: (c = t.body.row) == null ? void 0 : c.cells.map((m, b) => /* @__PURE__ */ n(te, { ...m.componentProps, children: m.renderFn ? m.renderFn(d.data, s) : void 0 }, b))
1376
1473
  },
1377
1474
  d.id
1378
1475
  );
@@ -1380,15 +1477,15 @@ const xi = () => qt, jt = (s) => null, Wt = (s) => null, Jt = (s) => null, Yt =
1380
1477
  ]
1381
1478
  }
1382
1479
  );
1383
- }, ee = (s) => null, se = (s) => null, ie = (s) => null, Ui = Vt("List", (s) => {
1384
- var lt, ct, dt, ut, ht, mt, gt, pt, ft;
1385
- const { children: t, batchSize: e, onChange: i, ref: n, ...a } = s, l = (lt = F(
1480
+ }, ee = (s) => null, se = (s) => null, ie = (s) => null, Ji = (s, t) => !!I(s, t), Yi = Pt("List", (s) => {
1481
+ var mt, gt, pt, ft, bt, St, wt, yt, vt;
1482
+ const { children: t, batchSize: e, onChange: i, ref: o, ...a } = s, l = (mt = I(
1386
1483
  t,
1387
1484
  Kt
1388
- )) == null ? void 0 : lt.props, d = (ct = F(
1485
+ )) == null ? void 0 : mt.props, d = (gt = I(
1389
1486
  t,
1390
- We
1391
- )) == null ? void 0 : ct.props, c = (dt = F(t, Gt)) == null ? void 0 : dt.props, g = {
1487
+ Qe
1488
+ )) == null ? void 0 : gt.props, c = (pt = I(t, Gt)) == null ? void 0 : pt.props, m = {
1392
1489
  source: l ? {
1393
1490
  ...l,
1394
1491
  asyncLoader: l.children
@@ -1398,48 +1495,48 @@ const xi = () => qt, jt = (s) => null, Wt = (s) => null, Jt = (s) => null, Yt =
1398
1495
  } : c ? {
1399
1496
  staticData: c.data
1400
1497
  } : void 0
1401
- }, f = (ut = F(t, qt)) == null ? void 0 : ut.props, p = (ht = F(t, Ht)) == null ? void 0 : ht.props, A = (mt = F(t, ee)) == null ? void 0 : mt.props, x = U(t, jt).map(
1402
- (v) => ({
1403
- ...v.props,
1404
- name: v.props.children
1498
+ }, b = (ft = I(t, qt)) == null ? void 0 : ft.props, u = (bt = I(t, Ht)) == null ? void 0 : bt.props, y = (St = I(t, ee)) == null ? void 0 : St.props, M = O(t, Wt).map(
1499
+ (F) => ({
1500
+ ...F.props,
1501
+ name: F.props.children
1405
1502
  })
1406
- ), B = U(t, Jt).map(
1407
- (v) => ({
1408
- ...v.props,
1409
- renderFn: v.props.children
1503
+ ), x = O(t, Jt).map(
1504
+ (F) => ({
1505
+ ...F.props,
1506
+ renderFn: F.props.children
1410
1507
  })
1411
- ), w = (gt = F(t, Wt)) == null ? void 0 : gt.props, M = (pt = F(t, se)) == null ? void 0 : pt.props, J = (ft = F(t, ie)) == null ? void 0 : ft.props, b = ci.useNew({
1508
+ ), v = (wt = I(t, jt)) == null ? void 0 : wt.props, B = (yt = I(t, se)) == null ? void 0 : yt.props, Z = (vt = I(t, ie)) == null ? void 0 : vt.props, w = fi.useNew({
1412
1509
  onChange: i,
1413
- loader: g,
1414
- filters: U(t, zt).map(
1415
- (v) => ({
1416
- ...v.props,
1417
- renderItem: v.props.children
1510
+ loader: m,
1511
+ filters: O(t, zt).map(
1512
+ (F) => ({
1513
+ ...F.props,
1514
+ renderItem: F.props.children
1418
1515
  })
1419
1516
  ),
1420
- search: f ? {
1421
- render: f.children,
1422
- textFieldProps: f,
1423
- defaultValue: f.defaultValue
1517
+ search: b ? {
1518
+ render: b.children,
1519
+ textFieldProps: b,
1520
+ defaultValue: b.defaultValue
1424
1521
  } : void 0,
1425
- sorting: U(t, Ot).map((v) => v.props),
1426
- itemView: p ? {
1427
- ...p,
1428
- renderFn: p.children
1522
+ sorting: O(t, Ot).map((F) => F.props),
1523
+ itemView: u ? {
1524
+ ...u,
1525
+ renderFn: u.children
1429
1526
  } : void 0,
1430
- table: x.length > 0 ? {
1527
+ table: M.length > 0 ? {
1431
1528
  header: {
1432
- ...M,
1433
- columns: x
1529
+ ...B,
1530
+ columns: M
1434
1531
  },
1435
1532
  body: {
1436
- ...J,
1533
+ ...Z,
1437
1534
  row: {
1438
- ...w,
1439
- cells: B
1535
+ ...v,
1536
+ cells: x
1440
1537
  }
1441
1538
  },
1442
- ...A
1539
+ ...y
1443
1540
  } : void 0,
1444
1541
  batchesController: {
1445
1542
  batchSize: e
@@ -1447,71 +1544,71 @@ const xi = () => qt, jt = (s) => null, Wt = (s) => null, Jt = (s) => null, Yt =
1447
1544
  ...a
1448
1545
  }), ne = {
1449
1546
  ActionGroup: {
1450
- className: k.actions,
1547
+ className: D.actions,
1451
1548
  tunnelId: "actions",
1452
1549
  ignoreBreakpoint: !0
1453
1550
  },
1454
1551
  ListSummary: {
1455
1552
  tunnelId: "listSummary"
1456
1553
  }
1457
- }, re = je(t, ss);
1458
- return /* @__PURE__ */ r(j, { props: ne, children: /* @__PURE__ */ r(Ct, { children: /* @__PURE__ */ u(
1554
+ }, oe = Ji(t, ns);
1555
+ return /* @__PURE__ */ n(Q, { props: ne, children: /* @__PURE__ */ n(At, { children: /* @__PURE__ */ h(
1459
1556
  Et.Provider,
1460
1557
  {
1461
1558
  value: {
1462
- list: b
1559
+ list: w
1463
1560
  },
1464
1561
  children: [
1465
- /* @__PURE__ */ r(Is, {}),
1466
- /* @__PURE__ */ u(I, { className: Ws.list, ref: n, children: [
1562
+ /* @__PURE__ */ n(Ms, {}),
1563
+ /* @__PURE__ */ h(V, { className: ti.list, ref: o, children: [
1467
1564
  t,
1468
- /* @__PURE__ */ r(qs, { hasActionGroup: re }),
1469
- /* @__PURE__ */ u(I, { children: [
1470
- b.items.entries.length > 0 && /* @__PURE__ */ r($, { id: "listSummary" }),
1471
- b.viewMode === "list" && /* @__PURE__ */ r(Si, {}),
1472
- b.viewMode === "table" && /* @__PURE__ */ r($i, {})
1565
+ /* @__PURE__ */ n(Zs, { hasActionGroup: oe }),
1566
+ /* @__PURE__ */ h(V, { children: [
1567
+ w.items.entries.length > 0 && /* @__PURE__ */ n(k, { id: "listSummary" }),
1568
+ (w.viewMode === "list" || w.viewMode === "tiles") && /* @__PURE__ */ n(Ci, {}),
1569
+ w.viewMode === "table" && /* @__PURE__ */ n(ji, {})
1473
1570
  ] }),
1474
- /* @__PURE__ */ r(Ai, {})
1571
+ /* @__PURE__ */ n(Ri, {})
1475
1572
  ] })
1476
1573
  ]
1477
1574
  }
1478
1575
  ) }) });
1479
- }), Ki = () => Ui, Qn = () => ({
1480
- List: Ki(),
1481
- Filter: yi(),
1482
- Search: xi(),
1483
- Sorting: Ti(),
1484
- Item: vi(),
1576
+ }), Qi = () => Yi, ro = () => ({
1577
+ List: Qi(),
1578
+ Filter: Pi(),
1579
+ Search: $i(),
1580
+ Sorting: Ai(),
1581
+ Item: Mi(),
1485
1582
  ItemView: kt,
1486
1583
  TableHeader: se,
1487
- TableColumn: jt,
1584
+ TableColumn: Wt,
1488
1585
  TableBody: ie,
1489
- TableRow: Wt,
1586
+ TableRow: jt,
1490
1587
  TableCell: Jt,
1491
1588
  Table: ee,
1492
- StaticData: Fi(),
1493
- LoaderAsync: wi(),
1494
- LoaderAsyncResource: Je()
1589
+ StaticData: xi(),
1590
+ LoaderAsync: Li(),
1591
+ LoaderAsyncResource: Xe()
1495
1592
  });
1496
1593
  export {
1497
- Dt as EmptyView,
1498
- ws as GridList,
1499
- Fs as GridListItem,
1500
- Ui as List,
1594
+ lt as EmptyView,
1595
+ Is as GridList,
1596
+ As as GridListItem,
1597
+ Yi as List,
1501
1598
  zt as ListFilter,
1502
1599
  Ht as ListItem,
1503
1600
  kt as ListItemView,
1504
- Ss as ListItemViewContent,
1601
+ Fs as ListItemViewContent,
1505
1602
  Kt as ListLoaderAsync,
1506
1603
  Ot as ListSorting,
1507
1604
  Gt as ListStaticData,
1508
- Hn as ListSummary,
1509
- Ki as TypedList,
1510
- yi as TypedListFilter,
1511
- vi as TypedListItem,
1512
- wi as TypedListLoaderAsync,
1513
- Ti as TypedListSorting,
1514
- Fi as TypedListStaticData,
1515
- Qn as typedList,
1516
- y as useList
1605
+ _n as ListSummary,
1606
+ Qi as TypedList,
1607
+ Pi as TypedListFilter,
1608
+ Mi as TypedListItem,
1609
+ Li as TypedListLoaderAsync,
1610
+ Ai as TypedListSorting,
1611
+ xi as TypedListStaticData,
1612
+ ro as typedList,
1613
+ S as useList
1517
1614
  };