@slotted/react 0.1.0-beta.43 → 0.1.0-beta.45

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 (449) hide show
  1. package/dist/action-sheet-q1UXXruJ.js +360 -0
  2. package/dist/action-sheet.js +1 -1
  3. package/dist/{app-shell-DsWhsSMU.js → app-shell-BBPY0_KK.js} +215 -194
  4. package/dist/app-shell.js +1 -1
  5. package/dist/{attachment-TZykYNu5.js → attachment-DJDXJrCx.js} +1 -1
  6. package/dist/attachment.js +1 -1
  7. package/dist/{button-BMRInd-t.js → button-DS_HpPy0.js} +1 -1
  8. package/dist/button.js +2 -2
  9. package/dist/{calendar-YQ784o4d.js → calendar-BO5teotM.js} +1 -1
  10. package/dist/calendar.js +1 -1
  11. package/dist/{cascader-fq8fNWSr.js → cascader-BbhADVGt.js} +134 -131
  12. package/dist/cascader.js +1 -1
  13. package/dist/{chart-vedR0BDN.js → chart-C4uPgUW8.js} +2 -2
  14. package/dist/chart.js +1 -1
  15. package/dist/{checkbox-DsJhlB5c.js → checkbox-D8HZG0be.js} +3 -3
  16. package/dist/{checkbox-group-pvX9R_yS.js → checkbox-group-5zuE2Kd1.js} +2 -2
  17. package/dist/checkbox-group.js +1 -1
  18. package/dist/checkbox.js +1 -1
  19. package/dist/{clock-DzkQa57Q.js → clock-DeJgwYbZ.js} +1 -1
  20. package/dist/clock.js +1 -1
  21. package/dist/{code-block-Cy548yk7.js → code-block-H0lmVVnY.js} +1 -1
  22. package/dist/code-block.js +1 -1
  23. package/dist/{color-picker-i-MJ5VVs.js → color-picker-fiLSUBjj.js} +23 -18
  24. package/dist/color-picker.js +1 -1
  25. package/dist/{column-manager-D028QbfO.js → column-manager-Cc72e1j-.js} +143 -143
  26. package/dist/column-manager.js +1 -1
  27. package/dist/{combobox-599heRN_.js → combobox-DMtXrMYE.js} +1 -1
  28. package/dist/combobox.js +1 -1
  29. package/dist/{command-palette-Bgf5tfCI.js → command-palette-DwjkexvN.js} +15 -7
  30. package/dist/command-palette.js +1 -1
  31. package/dist/{context-menu-WM_tT9hz.js → context-menu-CRRp-PhP.js} +12 -6
  32. package/dist/context-menu.js +1 -1
  33. package/dist/{currency-field-rS36pjCO.js → currency-field-Cxr8MT75.js} +1 -1
  34. package/dist/currency-field.js +1 -1
  35. package/dist/{dashboard-grid-Dh2Q3IQv.js → dashboard-grid-_3H4G0dP.js} +339 -333
  36. package/dist/dashboard-grid.js +1 -1
  37. package/dist/{data-grid-DUft3rJb.js → data-grid-BlElqHOU.js} +19 -19
  38. package/dist/data-grid.js +1 -1
  39. package/dist/{data-list-Dv3orBtf.js → data-list-5zvM-DUz.js} +4 -3
  40. package/dist/data-list.js +1 -1
  41. package/dist/{date-field-BZ5JcvXJ.js → date-field-CjlOWVRA.js} +1 -1
  42. package/dist/date-field.js +1 -1
  43. package/dist/{date-picker-BvEbsbJC.js → date-picker-BoIHK8_U.js} +4 -4
  44. package/dist/date-picker.js +2 -2
  45. package/dist/{date-range-picker-uIr-yReE.js → date-range-picker-DzuuvudX.js} +5 -5
  46. package/dist/date-range-picker.js +1 -1
  47. package/dist/{datetime-field-DDs3mV9Z.js → datetime-field-PSEOgzfN.js} +1 -1
  48. package/dist/datetime-field.js +1 -1
  49. package/dist/{datetime-picker-DDYXqrjm.js → datetime-picker-BUhSr8yp.js} +7 -7
  50. package/dist/datetime-picker.js +1 -1
  51. package/dist/{datetime-range-picker-CFTHW771.js → datetime-range-picker-DXllehEN.js} +7 -7
  52. package/dist/datetime-range-picker.js +1 -1
  53. package/dist/{description-list-D8iTzgC0.js → description-list-1USVlDj3.js} +5 -1
  54. package/dist/description-list.js +1 -1
  55. package/dist/{detail-panel-Cke3ZFU3.js → detail-panel-Czs05E_D.js} +52 -50
  56. package/dist/detail-panel.js +1 -1
  57. package/dist/docs/action-sheet.examples.md +1 -1
  58. package/dist/docs/action-sheet.json +3 -3
  59. package/dist/docs/action-sheet.md +2 -2
  60. package/dist/docs/app-shell.examples.md +353 -301
  61. package/dist/docs/app-shell.json +14 -13
  62. package/dist/docs/app-shell.md +13 -8
  63. package/dist/docs/avatar-group.examples.md +790 -0
  64. package/dist/docs/avatar-group.json +9 -9
  65. package/dist/docs/avatar-group.md +17 -516
  66. package/dist/docs/avatar.json +6 -6
  67. package/dist/docs/avatar.md +43 -10
  68. package/dist/docs/badge.json +1 -1
  69. package/dist/docs/badge.md +15 -3
  70. package/dist/docs/button.json +2 -0
  71. package/dist/docs/button.md +1 -1
  72. package/dist/docs/calendar.json +0 -1
  73. package/dist/docs/calendar.md +1 -1
  74. package/dist/docs/carousel.json +2 -0
  75. package/dist/docs/carousel.md +1 -1
  76. package/dist/docs/clock.json +4 -4
  77. package/dist/docs/clock.md +2 -2
  78. package/dist/docs/collapsible.json +10 -1
  79. package/dist/docs/collapsible.md +1 -1
  80. package/dist/docs/color-picker.json +14 -1
  81. package/dist/docs/color-picker.md +2 -1
  82. package/dist/docs/description-list.json +7 -0
  83. package/dist/docs/description-list.md +1 -0
  84. package/dist/docs/drawer.examples.md +1 -1
  85. package/dist/docs/drawer.json +4 -4
  86. package/dist/docs/entity-picker.examples.md +123 -0
  87. package/dist/docs/entity-picker.json +9 -9
  88. package/dist/docs/entity-picker.md +15 -0
  89. package/dist/docs/event-calendar.json +7 -0
  90. package/dist/docs/event-calendar.md +1 -0
  91. package/dist/docs/filter-bar.json +1 -0
  92. package/dist/docs/filter-bar.md +1 -1
  93. package/dist/docs/floating-panel.json +7 -3
  94. package/dist/docs/floating-panel.md +23 -5
  95. package/dist/docs/hover-card.json +8 -1
  96. package/dist/docs/hover-card.md +5 -1
  97. package/dist/docs/import-export-center.examples.md +1 -1
  98. package/dist/docs/import-export-center.json +3 -13
  99. package/dist/docs/import-export-center.md +2 -3
  100. package/dist/docs/inline-message.json +8 -8
  101. package/dist/docs/inline-message.md +37 -31
  102. package/dist/docs/inline.json +1 -1
  103. package/dist/docs/inline.md +4 -1
  104. package/dist/docs/list-item.json +3 -0
  105. package/dist/docs/list-item.md +1 -1
  106. package/dist/docs/markdown.json +1 -1
  107. package/dist/docs/markdown.md +5 -1
  108. package/dist/docs/media-viewer.examples.md +1 -1
  109. package/dist/docs/media-viewer.json +1 -1
  110. package/dist/docs/menu.examples.md +14 -2
  111. package/dist/docs/menu.json +1 -1
  112. package/dist/docs/message-scroller.examples.md +230 -64
  113. package/dist/docs/message-scroller.json +11 -11
  114. package/dist/docs/message-scroller.md +18 -5
  115. package/dist/docs/message.examples.md +14 -4
  116. package/dist/docs/message.json +7 -5
  117. package/dist/docs/message.md +6 -2
  118. package/dist/docs/navigation-menu.examples.md +16 -7
  119. package/dist/docs/navigation-menu.json +6 -6
  120. package/dist/docs/navigation-menu.md +1 -1
  121. package/dist/docs/page-header.examples.md +79 -58
  122. package/dist/docs/page-header.json +10 -2
  123. package/dist/docs/page-header.md +1 -1
  124. package/dist/docs/page.examples.md +31 -13
  125. package/dist/docs/page.json +1 -1
  126. package/dist/docs/popover.json +17 -2
  127. package/dist/docs/popover.md +2 -0
  128. package/dist/docs/progress-indicator.json +10 -1
  129. package/dist/docs/progress-indicator.md +2 -1
  130. package/dist/docs/saved-views.examples.md +2 -13
  131. package/dist/docs/saved-views.json +8 -8
  132. package/dist/docs/saved-views.md +0 -1
  133. package/dist/docs/section.examples.md +25 -22
  134. package/dist/docs/section.json +1 -1
  135. package/dist/docs/segmented-control.json +2 -0
  136. package/dist/docs/segmented-control.md +1 -1
  137. package/dist/docs/side-navigation.examples.md +6 -1
  138. package/dist/docs/side-navigation.json +1 -1
  139. package/dist/docs/skeleton.json +2 -2
  140. package/dist/docs/skeleton.md +2 -2
  141. package/dist/docs/stat-card.examples.md +4 -4
  142. package/dist/docs/stat-card.json +4 -4
  143. package/dist/docs/status-indicator.json +0 -1
  144. package/dist/docs/status-indicator.md +1 -1
  145. package/dist/docs/stepper.json +1 -1
  146. package/dist/docs/stepper.md +2 -8
  147. package/dist/docs/table.json +2 -1
  148. package/dist/docs/table.md +2 -2
  149. package/dist/docs/tabs.examples.md +6 -4
  150. package/dist/docs/tabs.json +7 -5
  151. package/dist/docs/tabs.md +2 -2
  152. package/dist/docs/timeline.examples.md +6 -1
  153. package/dist/docs/timeline.json +1 -1
  154. package/dist/docs/toggle-group.json +2 -0
  155. package/dist/docs/toggle-group.md +1 -1
  156. package/dist/docs/toggle.json +2 -0
  157. package/dist/docs/toggle.md +1 -1
  158. package/dist/docs/tokens.md +8 -0
  159. package/dist/docs/toolbar.examples.md +529 -0
  160. package/dist/docs/toolbar.json +14 -14
  161. package/dist/docs/toolbar.md +29 -458
  162. package/dist/docs/tooltip.examples.md +46 -0
  163. package/dist/docs/tooltip.json +23 -0
  164. package/dist/docs/tooltip.md +2 -0
  165. package/dist/docs/top-navigation.examples.md +200 -98
  166. package/dist/docs/top-navigation.json +12 -12
  167. package/dist/docs/top-navigation.md +6 -1
  168. package/dist/docs/tree.examples.md +5 -2
  169. package/dist/docs/tree.json +2 -2
  170. package/dist/docs/typography.json +1 -1
  171. package/dist/docs/typography.md +33 -20
  172. package/dist/docs/visually-hidden.json +3 -3
  173. package/dist/docs/visually-hidden.md +68 -41
  174. package/dist/docs/wizard.json +1 -0
  175. package/dist/docs/wizard.md +1 -1
  176. package/dist/drawer-JP3p-QZB.js +879 -0
  177. package/dist/drawer.js +1 -1
  178. package/dist/{entity-picker-C78f3Z0o.js → entity-picker-BWpuo-mp.js} +334 -330
  179. package/dist/entity-picker.js +1 -1
  180. package/dist/{event-calendar-DJPoCi-O.js → event-calendar-Bxx8eoGK.js} +10 -6
  181. package/dist/event-calendar.js +1 -1
  182. package/dist/{field-C-HRhke0.js → field-N0TiMbaI.js} +2 -2
  183. package/dist/{field-group-CU0PasvW.js → field-group-BrnE6FvP.js} +1 -1
  184. package/dist/field-group.js +1 -1
  185. package/dist/field.js +1 -1
  186. package/dist/{filter-bar-D61wiQFP.js → filter-bar-nQH58RVl.js} +361 -347
  187. package/dist/filter-bar.js +1 -1
  188. package/dist/{hover-card-CTItbEfH.js → hover-card-D9-rb9ts.js} +67 -63
  189. package/dist/hover-card.js +1 -1
  190. package/dist/{icon-button-N8Madx6i.js → icon-button-DzPkQamc.js} +0 -1
  191. package/dist/import-export-center-BpGga5jr.js +869 -0
  192. package/dist/import-export-center.js +1 -1
  193. package/dist/index.js +88 -88
  194. package/dist/{listbox-ZqiJ2yer.js → listbox-3XVusnCr.js} +1 -1
  195. package/dist/listbox.js +1 -1
  196. package/dist/{loading-overlay-BxIktMtQ.js → loading-overlay-BzycGqQA.js} +1 -1
  197. package/dist/loading-overlay.js +1 -1
  198. package/dist/{markdown-8CtV4k44.js → markdown-BMda5ino.js} +13 -13
  199. package/dist/markdown.js +1 -1
  200. package/dist/{multi-select-Dc2d6dDB.js → multi-select-IpsZvoQ2.js} +1 -1
  201. package/dist/multi-select.js +1 -1
  202. package/dist/{navigation-menu-parts-CRLmigjy.js → navigation-menu-parts-D-vsDdEF.js} +5 -1
  203. package/dist/navigation-menu.js +1 -1
  204. package/dist/{notification-center-BngAw_kt.js → notification-center-CTSfrh9K.js} +3 -3
  205. package/dist/notification-center.js +1 -1
  206. package/dist/{number-field-BQ54hXmk.js → number-field-Cp33JMGB.js} +1 -1
  207. package/dist/number-field.js +1 -1
  208. package/dist/{otp-input-DRooqa3f.js → otp-input-CEP60HOi.js} +1 -1
  209. package/dist/otp-input.js +1 -1
  210. package/dist/{page-header-jeAIQSZM.js → page-header-DK896DGD.js} +2 -2
  211. package/dist/page-header.js +1 -1
  212. package/dist/{picker-frame-B6sPCP5Y.js → picker-frame-C3Fhjfaj.js} +1 -1
  213. package/dist/popover-DED1MTi-.js +615 -0
  214. package/dist/popover.js +1 -1
  215. package/dist/{progress-indicator-DRr0Gj6w.js → progress-indicator-Co8e7M5K.js} +6 -3
  216. package/dist/progress-indicator.js +1 -1
  217. package/dist/{prompt-composer-tYIs39rn.js → prompt-composer-CwjvdgBR.js} +1 -1
  218. package/dist/prompt-composer.js +1 -1
  219. package/dist/{radio-group-AW3xcYYh.js → radio-group-D6bOV_ea.js} +2 -2
  220. package/dist/radio-group.js +1 -1
  221. package/dist/{rating-h3qdHLNi.js → rating-D8BvDdjM.js} +1 -1
  222. package/dist/rating.js +1 -1
  223. package/dist/{saved-views-nqn0SDXn.js → saved-views-D-CP7JIE.js} +8 -5
  224. package/dist/saved-views.js +1 -1
  225. package/dist/{segmented-control-BSMVjukr.js → segmented-control-BLcGhQ4J.js} +2 -2
  226. package/dist/segmented-control.js +1 -1
  227. package/dist/{select-d448Wkzb.js → select-Dbc3ng0M.js} +2 -2
  228. package/dist/{select-tags-3792weoq.js → select-tags-D0SMDPBX.js} +25 -24
  229. package/dist/select.js +1 -1
  230. package/dist/{side-navigation-BQzBxz2B.js → side-navigation-Dw3-P12f.js} +3 -3
  231. package/dist/side-navigation.js +1 -1
  232. package/dist/{skeleton-DeEOmm1y.js → skeleton-DTqt2GEv.js} +27 -20
  233. package/dist/skeleton.js +1 -1
  234. package/dist/{slider-DQ2CnxTO.js → slider-COLWTaxi.js} +1 -1
  235. package/dist/slider.js +1 -1
  236. package/dist/{split-button-D4MPKSB2.js → split-button-Czr2D3HP.js} +1 -1
  237. package/dist/split-button.js +1 -1
  238. package/dist/{stat-card-BpGZiFbG.js → stat-card-D6NMjkZM.js} +1 -1
  239. package/dist/stat-card.js +1 -1
  240. package/dist/styles/accordion.css +1 -1
  241. package/dist/styles/action-bar.css +2 -2
  242. package/dist/styles/action-sheet.css +5 -3
  243. package/dist/styles/app-shell.css +3 -3
  244. package/dist/styles/attachment.css +3 -3
  245. package/dist/styles/avatar-group.css +1 -1
  246. package/dist/styles/badge.css +1 -1
  247. package/dist/styles/breadcrumb.css +1 -1
  248. package/dist/styles/button.css +2 -2
  249. package/dist/styles/calendar.css +1 -1
  250. package/dist/styles/card.css +1 -1
  251. package/dist/styles/carousel.css +1 -1
  252. package/dist/styles/cascader.css +7 -7
  253. package/dist/styles/chart.css +6 -4
  254. package/dist/styles/checkbox-group.css +6 -2
  255. package/dist/styles/checkbox.css +7 -3
  256. package/dist/styles/clock.css +1 -1
  257. package/dist/styles/code-block.css +2 -2
  258. package/dist/styles/collapsible.css +2 -2
  259. package/dist/styles/color-picker.css +9 -5
  260. package/dist/styles/column-manager.css +9 -9
  261. package/dist/styles/combobox.css +7 -3
  262. package/dist/styles/command-palette.css +5 -5
  263. package/dist/styles/context-menu.css +1 -1
  264. package/dist/styles/currency-field.css +7 -3
  265. package/dist/styles/dashboard-grid.css +7 -7
  266. package/dist/styles/data-grid.css +19 -19
  267. package/dist/styles/data-list.css +9 -9
  268. package/dist/styles/date-field.css +7 -3
  269. package/dist/styles/date-picker.css +8 -4
  270. package/dist/styles/date-range-picker.css +8 -4
  271. package/dist/styles/datetime-field.css +7 -3
  272. package/dist/styles/datetime-picker.css +10 -6
  273. package/dist/styles/datetime-range-picker.css +9 -5
  274. package/dist/styles/description-list.css +1 -1
  275. package/dist/styles/detail-panel.css +7 -7
  276. package/dist/styles/dialog.css +1 -1
  277. package/dist/styles/divider.css +1 -1
  278. package/dist/styles/drawer.css +5 -1
  279. package/dist/styles/entity-picker.css +10 -8
  280. package/dist/styles/event-calendar.css +12 -8
  281. package/dist/styles/field-group.css +6 -2
  282. package/dist/styles/field.css +6 -2
  283. package/dist/styles/filter-bar.css +20 -20
  284. package/dist/styles/floating-panel.css +1 -1
  285. package/dist/styles/hover-card.css +5 -1
  286. package/dist/styles/import-export-center.css +24 -24
  287. package/dist/styles/index.css +89 -87
  288. package/dist/styles/inline.css +1 -1
  289. package/dist/styles/kbd.css +1 -1
  290. package/dist/styles/list-item.css +1 -1
  291. package/dist/styles/listbox.css +7 -3
  292. package/dist/styles/loading-overlay.css +3 -3
  293. package/dist/styles/markdown.css +8 -8
  294. package/dist/styles/media-viewer.css +2 -2
  295. package/dist/styles/menu.css +1 -1
  296. package/dist/styles/menubar.css +2 -2
  297. package/dist/styles/message-scroller.css +1 -1
  298. package/dist/styles/message.css +1 -1
  299. package/dist/styles/multi-select.css +9 -7
  300. package/dist/styles/navigation-menu.css +1 -1
  301. package/dist/styles/notification-center.css +5 -5
  302. package/dist/styles/number-field.css +7 -3
  303. package/dist/styles/otp-input.css +7 -3
  304. package/dist/styles/page-header.css +4 -4
  305. package/dist/styles/pagination.css +1 -1
  306. package/dist/styles/popover.css +5 -1
  307. package/dist/styles/progress-indicator.css +2 -2
  308. package/dist/styles/prompt-composer.css +6 -4
  309. package/dist/styles/radio-group.css +7 -3
  310. package/dist/styles/rating.css +7 -3
  311. package/dist/styles/saved-views.css +8 -6
  312. package/dist/styles/section.css +1 -1
  313. package/dist/styles/segmented-control.css +7 -3
  314. package/dist/styles/select.css +8 -4
  315. package/dist/styles/side-navigation.css +4 -4
  316. package/dist/styles/skeleton.css +1 -1
  317. package/dist/styles/slider.css +6 -2
  318. package/dist/styles/split-button.css +3 -3
  319. package/dist/styles/stat-card.css +2 -2
  320. package/dist/styles/status-indicator.css +1 -1
  321. package/dist/styles/stepper.css +1 -1
  322. package/dist/styles/switch.css +6 -6
  323. package/dist/styles/table-of-contents.css +1 -1
  324. package/dist/styles/table.css +18 -18
  325. package/dist/styles/tabs.css +1 -1
  326. package/dist/styles/tag.css +1 -1
  327. package/dist/styles/tags-input.css +8 -4
  328. package/dist/styles/text-field.css +7 -3
  329. package/dist/styles/textarea.css +7 -3
  330. package/dist/styles/time-field.css +7 -3
  331. package/dist/styles/time-picker.css +8 -4
  332. package/dist/styles/time-range-picker.css +8 -4
  333. package/dist/styles/timeline.css +2 -2
  334. package/dist/styles/toast.css +3 -3
  335. package/dist/styles/toggle-group.css +7 -3
  336. package/dist/styles/toggle.css +1 -1
  337. package/dist/styles/toolbar.css +2 -2
  338. package/dist/styles/top-navigation.css +5 -5
  339. package/dist/styles/tour.css +3 -3
  340. package/dist/styles/transfer.css +9 -9
  341. package/dist/styles/tree.css +1 -1
  342. package/dist/styles/upload.css +10 -6
  343. package/dist/styles/wizard.css +8 -8
  344. package/dist/styles.css +1 -1
  345. package/dist/{switch-DxMukg7F.js → switch-CEbZkLlX.js} +2 -2
  346. package/dist/switch.js +1 -1
  347. package/dist/{table-BecApjeD.js → table-BU7XsbQX.js} +169 -162
  348. package/dist/{table-of-contents-kFr_3Dzs.js → table-of-contents-C410GoEC.js} +1 -1
  349. package/dist/table-of-contents.js +1 -1
  350. package/dist/table.js +1 -1
  351. package/dist/{tags-input-CqCeLtk-.js → tags-input-BdjkB19P.js} +260 -257
  352. package/dist/tags-input.js +1 -1
  353. package/dist/{text-field-CMOkJ9Z6.js → text-field-QJnu-rln.js} +1 -1
  354. package/dist/text-field.js +1 -1
  355. package/dist/{textarea-DfqPfXTr.js → textarea-DsrXI3xB.js} +1 -1
  356. package/dist/textarea.js +1 -1
  357. package/dist/{time-field-GyLQsxcc.js → time-field-DlZdMsNw.js} +1 -1
  358. package/dist/time-field.js +1 -1
  359. package/dist/{time-picker-CGHPnust.js → time-picker-WmeCIySv.js} +5 -5
  360. package/dist/time-picker.js +1 -1
  361. package/dist/{time-range-picker-BMRtAqPy.js → time-range-picker-CwSbsJPt.js} +6 -6
  362. package/dist/time-range-picker.js +1 -1
  363. package/dist/{toast-aM_ga1mc.js → toast-C3xLEFDE.js} +1 -1
  364. package/dist/toast.js +1 -1
  365. package/dist/{toggle-group-DZEWkVRo.js → toggle-group-SP_W-yeh.js} +1 -1
  366. package/dist/toggle-group.js +1 -1
  367. package/dist/toolbar-BniP4i1C.js +249 -0
  368. package/dist/toolbar.js +1 -1
  369. package/dist/tooltip-UPICnTij.js +418 -0
  370. package/dist/tooltip.js +1 -1
  371. package/dist/{top-navigation-YSEQzBhD.js → top-navigation--OcOpGCy.js} +3 -3
  372. package/dist/top-navigation.js +1 -1
  373. package/dist/{tour-ALH5CYMY.js → tour-7-TXdrMv.js} +2 -2
  374. package/dist/tour.js +1 -1
  375. package/dist/{transfer-Cv5yQuTN.js → transfer-DX6umI2M.js} +6 -6
  376. package/dist/transfer.js +1 -1
  377. package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
  378. package/dist/types/app-shell/app-shell.d.ts.map +1 -1
  379. package/dist/types/cascader/cascader-surface.d.ts +6 -1
  380. package/dist/types/cascader/cascader-surface.d.ts.map +1 -1
  381. package/dist/types/cascader/cascader.d.ts.map +1 -1
  382. package/dist/types/clock/clock.types.d.ts +5 -2
  383. package/dist/types/clock/clock.types.d.ts.map +1 -1
  384. package/dist/types/color-picker/color-picker.d.ts.map +1 -1
  385. package/dist/types/column-manager/column-manager.d.ts.map +1 -1
  386. package/dist/types/command-palette/command-palette.d.ts.map +1 -1
  387. package/dist/types/context-menu/context-menu.d.ts.map +1 -1
  388. package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +2 -1
  389. package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
  390. package/dist/types/dashboard-grid/dashboard-widget.d.ts.map +1 -1
  391. package/dist/types/data-list/data-list.d.ts.map +1 -1
  392. package/dist/types/description-list/description-list-parts.d.ts.map +1 -1
  393. package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
  394. package/dist/types/drawer/drawer-parts.d.ts +8 -3
  395. package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
  396. package/dist/types/drawer/drawer.types.d.ts +2 -1
  397. package/dist/types/drawer/drawer.types.d.ts.map +1 -1
  398. package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
  399. package/dist/types/event-calendar/event-calendar.d.ts.map +1 -1
  400. package/dist/types/filter-bar/filter-bar-rules.d.ts.map +1 -1
  401. package/dist/types/hover-card/hover-card.d.ts.map +1 -1
  402. package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
  403. package/dist/types/navigation-menu/navigation-menu-parts.d.ts.map +1 -1
  404. package/dist/types/popover/index.d.ts +1 -1
  405. package/dist/types/popover/index.d.ts.map +1 -1
  406. package/dist/types/popover/popover-defaults.d.ts.map +1 -1
  407. package/dist/types/popover/popover-parts.d.ts +2 -1
  408. package/dist/types/popover/popover-parts.d.ts.map +1 -1
  409. package/dist/types/popover/popover.d.ts +1 -1
  410. package/dist/types/popover/popover.d.ts.map +1 -1
  411. package/dist/types/popover/popover.types.d.ts +20 -0
  412. package/dist/types/popover/popover.types.d.ts.map +1 -1
  413. package/dist/types/progress-indicator/progress-bar.d.ts.map +1 -1
  414. package/dist/types/saved-views/saved-views.d.ts +1 -0
  415. package/dist/types/saved-views/saved-views.d.ts.map +1 -1
  416. package/dist/types/select/select-tags.d.ts.map +1 -1
  417. package/dist/types/skeleton/skeleton-region-context.d.ts +2 -0
  418. package/dist/types/skeleton/skeleton-region-context.d.ts.map +1 -1
  419. package/dist/types/skeleton/skeleton-region.d.ts.map +1 -1
  420. package/dist/types/skeleton/skeleton-text.d.ts.map +1 -1
  421. package/dist/types/skeleton/skeleton.d.ts.map +1 -1
  422. package/dist/types/table/table-parts.d.ts.map +1 -1
  423. package/dist/types/tags-input/tags-input.d.ts.map +1 -1
  424. package/dist/types/time-picker/time-picker.d.ts.map +1 -1
  425. package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
  426. package/dist/types/toolbar/toolbar.d.ts.map +1 -1
  427. package/dist/types/toolbar/toolbar.types.d.ts +1 -1
  428. package/dist/types/toolbar/toolbar.types.d.ts.map +1 -1
  429. package/dist/types/tooltip/tooltip-defaults.d.ts.map +1 -1
  430. package/dist/types/tooltip/tooltip-parts.d.ts.map +1 -1
  431. package/dist/types/tooltip/tooltip.d.ts +1 -1
  432. package/dist/types/tooltip/tooltip.d.ts.map +1 -1
  433. package/dist/types/tooltip/tooltip.types.d.ts +17 -0
  434. package/dist/types/tooltip/tooltip.types.d.ts.map +1 -1
  435. package/dist/types/tour/tour.d.ts.map +1 -1
  436. package/dist/{upload-CuMOaPK3.js → upload-BtD1nLHa.js} +2 -2
  437. package/dist/upload.js +1 -1
  438. package/dist/{use-date-picker-DdSX3RE4.js → use-date-picker-CwH791Jm.js} +2 -2
  439. package/dist/{use-picker-draft-I_pxqYsc.js → use-picker-draft-BnLS4lDY.js} +1 -1
  440. package/dist/wizard-6PTtBoi4.js +838 -0
  441. package/dist/wizard.js +1 -1
  442. package/package.json +6 -6
  443. package/dist/action-sheet-BouG2qh_.js +0 -360
  444. package/dist/drawer-CQagePr_.js +0 -830
  445. package/dist/import-export-center-mqvmlzwB.js +0 -875
  446. package/dist/popover-1DlOu95x.js +0 -576
  447. package/dist/toolbar-BP7ka6lN.js +0 -243
  448. package/dist/tooltip-DrFiRlH8.js +0 -411
  449. package/dist/wizard-Dfryz1id.js +0 -838
@@ -1,36 +1,36 @@
1
1
  import { r as e } from "./i18n-D7xXDd8-.js";
2
2
  import { n as t, t as n } from "./icon-D04-_QFA.js";
3
3
  import { _ as r, a as i, c as a, d as o, h as s, m as c, n as l, t as u, u as d } from "./menu-parts-DXs5YuUA.js";
4
- import { a as f, d as p, l as m, n as h, o as g, r as ee, s as te } from "./drawer-CQagePr_.js";
4
+ import { a as f, d as p, l as m, n as h, o as g, r as ee, s as te } from "./drawer-JP3p-QZB.js";
5
+ import { n as _, t as v } from "./icon-button-DzPkQamc.js";
5
6
  import { t as ne } from "./spinner-ring-DyfaYloA.js";
6
- import { n as _, t as re } from "./icon-button-N8Madx6i.js";
7
- import { a as ie, d as ae, f as oe, l as se, p as ce, r as le } from "./popover-1DlOu95x.js";
8
- import { t as ue } from "./text-field-CMOkJ9Z6.js";
9
- import { n as de } from "./kbd-dNz8QHfL.js";
10
- import { t as fe } from "./date-picker-BvEbsbJC.js";
11
- import { t as pe } from "./datetime-picker-DDYXqrjm.js";
12
- import { a as me, i as he, n as ge, s as _e } from "./multi-select-Dc2d6dDB.js";
13
- import { t as ve } from "./number-field-BQ54hXmk.js";
14
- import { a as ye, t as v } from "./segmented-control-BSMVjukr.js";
15
- import { c as be, i as xe, n as Se, o as Ce, s as we } from "./select-d448Wkzb.js";
16
- import { t as y } from "./time-picker-CGHPnust.js";
17
- import { withSelectorKey as b } from "@slotted/core/selector-key";
18
- import { createRemovalFocus as Te, createRovingTabindex as Ee } from "@slotted/core/focus";
19
- import { createControllable as De } from "@slotted/core/state";
20
- import { Fragment as x, createContext as Oe, useCallback as ke, useContext as Ae, useEffect as S, useId as je, useImperativeHandle as Me, useLayoutEffect as Ne, useMemo as Pe, useRef as C, useState as w } from "react";
21
- import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
7
+ import { a as re, d as ie, f as ae, l as oe, p as se, r as ce } from "./popover-DED1MTi-.js";
8
+ import { t as le } from "./text-field-QJnu-rln.js";
9
+ import { n as ue } from "./kbd-dNz8QHfL.js";
10
+ import { t as de } from "./date-picker-BoIHK8_U.js";
11
+ import { t as fe } from "./datetime-picker-BUhSr8yp.js";
12
+ import { a as pe, i as me, n as he, s as ge } from "./multi-select-IpsZvoQ2.js";
13
+ import { t as _e } from "./number-field-Cp33JMGB.js";
14
+ import { a as ve, t as y } from "./segmented-control-BLcGhQ4J.js";
15
+ import { c as ye, i as be, n as xe, o as Se, s as Ce } from "./select-Dbc3ng0M.js";
16
+ import { t as b } from "./time-picker-WmeCIySv.js";
17
+ import { withSelectorKey as x } from "@slotted/core/selector-key";
18
+ import { createRemovalFocus as we, createRovingTabindex as Te } from "@slotted/core/focus";
19
+ import { createControllable as Ee } from "@slotted/core/state";
20
+ import { Fragment as S, createContext as De, useCallback as Oe, useContext as ke, useEffect as C, useId as Ae, useImperativeHandle as je, useLayoutEffect as Me, useMemo as Ne, useRef as w, useState as T } from "react";
21
+ import { Fragment as Pe, jsx as E, jsxs as D } from "react/jsx-runtime";
22
22
  import { filterBarMessages as Fe } from "@slotted/core/i18n";
23
23
  import { getLiveAnnouncer as Ie } from "@slotted/core/live-announcer";
24
24
  import { isPlainDate as Le, isPlainDateTime as Re, isPlainTime as ze, parseISODate as Be, parseISODateTime as Ve, parseISOTime as He, toISODate as O, toISODateTime as Ue, toISOTime as We } from "@slotted/core/date";
25
- import { defaultOperator as k, describeFilter as Ge, describeFilterGroup as Ke, emptyFilter as qe, emptyFilterGroup as Je, firstLevelRules as Ye, insertNodeAt as Xe, isFilterActive as Ze, isFilterGroup as Qe, normalizeFilterGroup as A, operandCount as j, operatorsFor as $e, removeNodeAt as et, ruleFor as tt, serializeFilterGroup as nt, spokenOperator as rt, updateNodeAt as it, withCondition as at, withGroupJoin as ot, withRuleFor as st, withoutRuleFor as ct } from "@slotted/core/filter";
25
+ import { defaultOperator as k, describeFilter as Ge, describeFilterGroup as Ke, emptyFilter as qe, emptyFilterGroup as Je, firstLevelRules as Ye, insertNodeAt as Xe, isFilterActive as Ze, isFilterGroup as A, normalizeFilterGroup as j, operandCount as M, operatorsFor as Qe, removeNodeAt as $e, ruleFor as et, serializeFilterGroup as tt, spokenOperator as nt, updateNodeAt as rt, withCondition as it, withGroupJoin as at, withRuleFor as ot, withoutRuleFor as st } from "@slotted/core/filter";
26
26
  //#region src/filter-bar/filter-bar-defaults.tsx
27
- var lt = Oe({});
28
- function ut() {
29
- return Ae(lt);
27
+ var ct = De({});
28
+ function lt() {
29
+ return ke(ct);
30
30
  }
31
- function dt({ children: e, ...t }) {
32
- let n = ut();
33
- return /* @__PURE__ */ E(lt.Provider, {
31
+ function ut({ children: e, ...t }) {
32
+ let n = lt();
33
+ return /* @__PURE__ */ E(ct.Provider, {
34
34
  value: {
35
35
  apply: t.apply ?? n.apply,
36
36
  chipLimit: t.chipLimit ?? n.chipLimit,
@@ -43,23 +43,23 @@ function dt({ children: e, ...t }) {
43
43
  }
44
44
  //#endregion
45
45
  //#region src/filter-bar/filter-bar-rules.tsx
46
- function M(e, t) {
46
+ function N(e, t) {
47
47
  return e.find((e) => e.key === t);
48
48
  }
49
- function ft(e, t) {
49
+ function dt(e, t) {
50
50
  return t in Fe.base.operators ? e(`operators.${t}`) : t;
51
51
  }
52
- function pt(e) {
52
+ function ft(e) {
53
53
  let [t = "", n = ""] = e("\0").split("\0");
54
54
  return [t.trim(), n.trim()];
55
55
  }
56
- function N(e) {
56
+ function P(e) {
57
57
  if (e.defaultValue) return e.defaultValue;
58
58
  let t = e.defaultOperator ?? k(e.kind);
59
59
  return qe(e.kind, t);
60
60
  }
61
- function mt(e, t, n) {
62
- let r = n?.kind ?? t?.kind ?? "text", i = n?.conditions[0] ?? { operator: t ? t.defaultOperator ?? k(t.kind) : "contains" }, a = j(i.operator), o = ft(e, rt(r, i)), s = (e) => t?.options?.find((t) => t.value === e)?.label ?? String(e), c = (e) => e != null && e !== "" && !(Array.isArray(e) && e.length === 0);
61
+ function pt(e, t, n) {
62
+ let r = n?.kind ?? t?.kind ?? "text", i = n?.conditions[0] ?? { operator: t ? t.defaultOperator ?? k(t.kind) : "contains" }, a = M(i.operator), o = dt(e, nt(r, i)), s = (e) => t?.options?.find((t) => t.value === e)?.label ?? String(e), c = (e) => e != null && e !== "" && !(Array.isArray(e) && e.length === 0);
63
63
  if (a === 0) return {
64
64
  operator: o,
65
65
  value: "",
@@ -101,10 +101,10 @@ function mt(e, t, n) {
101
101
  operands: a
102
102
  };
103
103
  }
104
- function ht({ icon: e }) {
104
+ function mt({ icon: e }) {
105
105
  return e == null || e === !1 ? null : /* @__PURE__ */ E(n, { children: typeof e == "string" ? /* @__PURE__ */ E(t, { name: e }) : e });
106
106
  }
107
- function P(e) {
107
+ function ht(e) {
108
108
  return (t) => {
109
109
  t.key === "Enter" && !t.defaultPrevented && e();
110
110
  };
@@ -112,15 +112,15 @@ function P(e) {
112
112
  var F = (e) => e ? Be(String(e)) : null, I = (e) => e ? He(String(e)) : null, L = (e) => e ? Ve(String(e)) : null;
113
113
  function gt(e) {
114
114
  let { apply: t, field: n, label: r, onValueChange: i, render: a, size: o, value: s } = e, c = a?.(e);
115
- if (c != null) return /* @__PURE__ */ E(T, { children: c });
115
+ if (c != null) return /* @__PURE__ */ E(Pe, { children: c });
116
116
  let l = {
117
117
  ...n.min === void 0 ? {} : { min: n.min },
118
118
  ...n.max === void 0 ? {} : { max: n.max }
119
119
  };
120
120
  switch (n.kind) {
121
- case "number": return /* @__PURE__ */ E(ve, {
121
+ case "number": return /* @__PURE__ */ E(_e, {
122
122
  "aria-label": r,
123
- onKeyDown: P(t),
123
+ onKeyDown: ht(t),
124
124
  onValueChange: (e) => i(e),
125
125
  placeholder: r,
126
126
  size: o,
@@ -129,32 +129,32 @@ function gt(e) {
129
129
  ...typeof n.max == "number" ? { max: n.max } : {},
130
130
  ...n.step === void 0 ? {} : { step: n.step }
131
131
  });
132
- case "date": return /* @__PURE__ */ E(fe, {
132
+ case "date": return /* @__PURE__ */ E(de, {
133
133
  "aria-label": r,
134
- onKeyDown: P(t),
134
+ onKeyDown: ht(t),
135
135
  onValueChange: (e) => i(Le(e) ? O(e) : null),
136
136
  size: o,
137
137
  value: F(s),
138
138
  ...F(l.min) ? { min: F(l.min) } : {},
139
139
  ...F(l.max) ? { max: F(l.max) } : {}
140
140
  });
141
- case "time": return /* @__PURE__ */ E(y, {
141
+ case "time": return /* @__PURE__ */ E(b, {
142
142
  confirm: !1,
143
143
  "aria-label": r,
144
- onKeyDown: P(t),
144
+ onKeyDown: ht(t),
145
145
  onValueChange: (e) => i(ze(e) ? We(e, "minute") : null),
146
146
  size: o,
147
147
  value: I(s)
148
148
  });
149
- case "datetime": return /* @__PURE__ */ E(pe, {
149
+ case "datetime": return /* @__PURE__ */ E(fe, {
150
150
  confirm: !1,
151
151
  "aria-label": r,
152
- onKeyDown: P(t),
152
+ onKeyDown: ht(t),
153
153
  onValueChange: (e) => i(Re(e) ? Ue(e) : null),
154
154
  size: o,
155
155
  value: L(s)
156
156
  });
157
- case "boolean": return /* @__PURE__ */ D(be, {
157
+ case "boolean": return /* @__PURE__ */ D(ye, {
158
158
  fullWidth: !0,
159
159
  items: [{
160
160
  label: "true",
@@ -166,39 +166,39 @@ function gt(e) {
166
166
  onValueChange: (e) => i(e === "true"),
167
167
  size: o,
168
168
  value: s === !0 ? "true" : s === !1 ? "false" : null,
169
- children: [/* @__PURE__ */ E(Ce, {
169
+ children: [/* @__PURE__ */ E(Se, {
170
170
  "aria-label": r,
171
- children: /* @__PURE__ */ E(we, {})
172
- }), /* @__PURE__ */ D(xe, { children: [/* @__PURE__ */ E(Se, {
171
+ children: /* @__PURE__ */ E(Ce, {})
172
+ }), /* @__PURE__ */ D(be, { children: [/* @__PURE__ */ E(xe, {
173
173
  value: "true",
174
174
  children: "true"
175
- }), /* @__PURE__ */ E(Se, {
175
+ }), /* @__PURE__ */ E(xe, {
176
176
  value: "false",
177
177
  children: "false"
178
178
  })] })]
179
179
  });
180
180
  case "set": {
181
181
  let e = n.options ?? [];
182
- return /* @__PURE__ */ D(_e, {
182
+ return /* @__PURE__ */ D(ge, {
183
183
  items: e,
184
184
  onValueChange: (e) => i([...e]),
185
185
  size: o,
186
186
  value: s ?? [],
187
- children: [/* @__PURE__ */ E(me, {
187
+ children: [/* @__PURE__ */ E(pe, {
188
188
  "aria-label": r,
189
189
  placeholder: r
190
- }), /* @__PURE__ */ E(he, {
190
+ }), /* @__PURE__ */ E(me, {
191
191
  "aria-label": r,
192
- children: e.map((e) => /* @__PURE__ */ E(ge, {
192
+ children: e.map((e) => /* @__PURE__ */ E(he, {
193
193
  value: e.value,
194
194
  children: e.label
195
195
  }, e.value))
196
196
  })]
197
197
  });
198
198
  }
199
- default: return /* @__PURE__ */ E(ue, {
199
+ default: return /* @__PURE__ */ E(le, {
200
200
  "aria-label": r,
201
- onKeyDown: P(t),
201
+ onKeyDown: ht(t),
202
202
  onValueChange: (e) => i(e),
203
203
  placeholder: r,
204
204
  size: o,
@@ -207,9 +207,9 @@ function gt(e) {
207
207
  }
208
208
  }
209
209
  function _t({ condition: e, environment: t, field: n, ids: r, invalid: i, onConditionChange: a, withOperator: o = !0 }) {
210
- let { apply: s, renderOperand: c, size: l, t: u } = t, d = n.operators ?? $e(n.kind), f = j(e.operator);
210
+ let { apply: s, renderOperand: c, size: l, t: u } = t, d = n.operators ?? Qe(n.kind), f = M(e.operator);
211
211
  function p(t) {
212
- let n = j(e.operator), r = j(t);
212
+ let n = M(e.operator), r = M(t);
213
213
  a({
214
214
  operator: t,
215
215
  ...r >= 1 && n >= 1 ? { value: e.value } : {},
@@ -232,26 +232,26 @@ function _t({ condition: e, environment: t, field: n, ids: r, invalid: i, onCond
232
232
  size: l,
233
233
  value: (t === 0 ? e.value : e.end) ?? null
234
234
  });
235
- return /* @__PURE__ */ D(T, { children: [o ? /* @__PURE__ */ E("div", {
235
+ return /* @__PURE__ */ D(Pe, { children: [o ? /* @__PURE__ */ E("div", {
236
236
  "data-part": "operator",
237
237
  "data-part-operator": "",
238
238
  id: r?.operator,
239
- children: /* @__PURE__ */ D(be, {
239
+ children: /* @__PURE__ */ D(ye, {
240
240
  fullWidth: !0,
241
241
  ...i ? { invalid: !0 } : {},
242
242
  items: d.map((e) => ({
243
- label: ft(u, e),
243
+ label: dt(u, e),
244
244
  value: e
245
245
  })),
246
246
  onValueChange: (e) => p(e),
247
247
  size: l,
248
248
  value: e.operator,
249
- children: [/* @__PURE__ */ E(Ce, {
249
+ children: [/* @__PURE__ */ E(Se, {
250
250
  "aria-label": u("operator"),
251
- children: /* @__PURE__ */ E(we, {})
252
- }), /* @__PURE__ */ E(xe, { children: d.map((e) => /* @__PURE__ */ E(Se, {
251
+ children: /* @__PURE__ */ E(Ce, {})
252
+ }), /* @__PURE__ */ E(be, { children: d.map((e) => /* @__PURE__ */ E(xe, {
253
253
  value: e,
254
- children: ft(u, e)
254
+ children: dt(u, e)
255
255
  }, e)) })]
256
256
  })
257
257
  }) : null, /* @__PURE__ */ E("div", {
@@ -264,16 +264,16 @@ function _t({ condition: e, environment: t, field: n, ids: r, invalid: i, onCond
264
264
  }, t))
265
265
  })] });
266
266
  }
267
- function R({ choices: e, environment: r, invalid: i, onRemove: a, onRuleChange: o, path: s, rule: c }) {
268
- let { fields: l, size: u, t: d } = r, f = je(), p = s.join("."), m = r.expanded === p, h = M(l, c.field), g = c.filter.conditions[0] ?? { operator: h ? h.defaultOperator ?? k(h.kind) : "contains" }, ee = h ? j(g.operator) : 0, te = e ?? l;
269
- function ne(e) {
270
- let t = M(l, e);
267
+ function vt({ choices: e, environment: r, invalid: i, onRemove: a, onRuleChange: o, path: s, rule: c }) {
268
+ let { fields: l, size: u, t: d } = r, f = Ae(), p = s.join("."), m = r.expanded === p, h = N(l, c.field), g = c.filter.conditions[0] ?? { operator: h ? h.defaultOperator ?? k(h.kind) : "contains" }, ee = h ? M(g.operator) : 0, te = e ?? l;
269
+ function _(e) {
270
+ let t = N(l, e);
271
271
  t && o({
272
272
  field: e,
273
- filter: N(t)
273
+ filter: P(t)
274
274
  });
275
275
  }
276
- let _ = mt(d, h, c.filter), re = h?.label ?? d("unknownField", { field: c.field });
276
+ let v = pt(d, h, c.filter), ne = h?.label ?? d("unknownField", { field: c.field });
277
277
  return /* @__PURE__ */ D("div", {
278
278
  "data-kind": h?.kind,
279
279
  "data-operands": ee,
@@ -294,16 +294,16 @@ function R({ choices: e, environment: r, invalid: i, onRemove: a, onRuleChange:
294
294
  children: [
295
295
  /* @__PURE__ */ E("span", {
296
296
  "data-field": "",
297
- children: re
297
+ children: ne
298
298
  }),
299
299
  " ",
300
300
  /* @__PURE__ */ E("span", {
301
301
  "data-operator": "",
302
- children: _.operator
302
+ children: v.operator
303
303
  }),
304
- _.operands > 0 ? /* @__PURE__ */ D(T, { children: [" ", /* @__PURE__ */ E("span", {
304
+ v.operands > 0 ? /* @__PURE__ */ D(Pe, { children: [" ", /* @__PURE__ */ E("span", {
305
305
  "data-value": "",
306
- children: _.value || d("noValue")
306
+ children: v.value || d("noValue")
307
307
  })] }) : null
308
308
  ]
309
309
  }), /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "chevron-down" }) })]
@@ -312,20 +312,20 @@ function R({ choices: e, environment: r, invalid: i, onRemove: a, onRuleChange:
312
312
  "data-part": "field",
313
313
  "data-part-field": "",
314
314
  id: `${f}field`,
315
- children: /* @__PURE__ */ D(be, {
315
+ children: /* @__PURE__ */ D(ye, {
316
316
  fullWidth: !0,
317
317
  ...i || !h ? { invalid: !0 } : {},
318
318
  items: te.map((e) => ({
319
319
  label: e.label,
320
320
  value: e.key
321
321
  })),
322
- onValueChange: (e) => ne(e),
322
+ onValueChange: (e) => _(e),
323
323
  size: u,
324
324
  value: c.field,
325
- children: [/* @__PURE__ */ E(Ce, {
325
+ children: [/* @__PURE__ */ E(Se, {
326
326
  "aria-label": d("field"),
327
- children: /* @__PURE__ */ E(we, { placeholder: h ? void 0 : d("unknownField", { field: c.field }) })
328
- }), /* @__PURE__ */ E(xe, { children: te.map((e) => /* @__PURE__ */ E(Se, {
327
+ children: /* @__PURE__ */ E(Ce, { placeholder: h ? void 0 : d("unknownField", { field: c.field }) })
328
+ }), /* @__PURE__ */ E(be, { children: te.map((e) => /* @__PURE__ */ E(xe, {
329
329
  value: e.key,
330
330
  children: e.label
331
331
  }, e.key)) })]
@@ -342,9 +342,9 @@ function R({ choices: e, environment: r, invalid: i, onRemove: a, onRuleChange:
342
342
  invalid: i,
343
343
  onConditionChange: (e) => o({
344
344
  field: c.field,
345
- filter: at(c.filter, 0, e)
345
+ filter: it(c.filter, 0, e)
346
346
  })
347
- }) : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("div", {
347
+ }) : /* @__PURE__ */ D(Pe, { children: [/* @__PURE__ */ E("div", {
348
348
  "data-part": "operator",
349
349
  "data-part-operator": "",
350
350
  id: `${f}operator`
@@ -364,23 +364,23 @@ function R({ choices: e, environment: r, invalid: i, onRemove: a, onRuleChange:
364
364
  ]
365
365
  });
366
366
  }
367
- function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o, path: s, root: c }) {
368
- let { size: l, t: u } = e, d = s.length, f = /* @__PURE__ */ D(v, {
367
+ function yt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o, path: s, root: c }) {
368
+ let { size: l, t: u } = e, d = s.length, f = /* @__PURE__ */ D(y, {
369
369
  "aria-label": u("match"),
370
- onValueChange: (e) => o(ot(c, s, e)),
370
+ onValueChange: (e) => o(at(c, s, e)),
371
371
  size: "sm",
372
372
  value: a.join,
373
- children: [/* @__PURE__ */ E(ye, {
373
+ children: [/* @__PURE__ */ E(ve, {
374
374
  value: "and",
375
375
  children: u("matchAll")
376
- }), /* @__PURE__ */ E(ye, {
376
+ }), /* @__PURE__ */ E(ve, {
377
377
  value: "or",
378
378
  children: u("matchAny")
379
379
  })]
380
- }), [p, m] = pt((e) => u("matches", { join: e })), h = a.join === "and" ? u("matchAll") : u("matchAny"), g = d > 0 ? /* @__PURE__ */ E(re, {
380
+ }), [p, m] = ft((e) => u("matches", { join: e })), h = a.join === "and" ? u("matchAll") : u("matchAny"), g = d > 0 ? /* @__PURE__ */ E(v, {
381
381
  "aria-label": u("removeGroup"),
382
- onClick: () => o(et(c, s)),
383
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "remove-group") }),
382
+ onClick: () => o($e(c, s)),
383
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "remove-group") }),
384
384
  size: l === "lg" ? "md" : "sm",
385
385
  title: u("removeGroup"),
386
386
  tone: "secondary",
@@ -390,7 +390,7 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
390
390
  function ee() {
391
391
  i && (o(Xe(c, s, {
392
392
  field: i.key,
393
- filter: N(i)
393
+ filter: P(i)
394
394
  })), e.onExpandedChange?.([...s, a.rules.length].join(".")));
395
395
  }
396
396
  function te() {
@@ -398,7 +398,7 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
398
398
  join: a.join === "and" ? "or" : "and",
399
399
  rules: [{
400
400
  field: i.key,
401
- filter: N(i)
401
+ filter: P(i)
402
402
  }]
403
403
  })), e.onExpandedChange?.([
404
404
  ...s,
@@ -416,9 +416,23 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
416
416
  "data-part": "join",
417
417
  "data-part-join": "",
418
418
  children: [
419
- p ? /* @__PURE__ */ E("span", { children: p }) : null,
419
+ /* @__PURE__ */ E("span", {
420
+ "aria-hidden": "true",
421
+ "data-part": "join-label",
422
+ "data-part-join-label": "",
423
+ children: u("matches", { join: h })
424
+ }),
425
+ p ? /* @__PURE__ */ E("span", {
426
+ "data-part": "join-word",
427
+ "data-part-join-word": "",
428
+ children: p
429
+ }) : null,
420
430
  f,
421
- m ? /* @__PURE__ */ E("span", { children: m }) : null,
431
+ m ? /* @__PURE__ */ E("span", {
432
+ "data-part": "join-word",
433
+ "data-part-join-word": "",
434
+ children: m
435
+ }) : null,
422
436
  g
423
437
  ]
424
438
  }),
@@ -431,7 +445,7 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
431
445
  "data-part-conjunction": "",
432
446
  children: u(n === 0 ? "where" : `joins.${a.join}`)
433
447
  });
434
- if (Qe(t)) return /* @__PURE__ */ D(x, { children: [l, /* @__PURE__ */ E(vt, {
448
+ if (A(t)) return /* @__PURE__ */ D(S, { children: [l, /* @__PURE__ */ E(yt, {
435
449
  environment: e,
436
450
  firstField: i,
437
451
  group: t,
@@ -439,12 +453,12 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
439
453
  path: r,
440
454
  root: c
441
455
  })] }, n);
442
- let d = M(e.fields, t.field);
443
- return /* @__PURE__ */ D(x, { children: [l, /* @__PURE__ */ E(R, {
456
+ let d = N(e.fields, t.field);
457
+ return /* @__PURE__ */ D(S, { children: [l, /* @__PURE__ */ E(vt, {
444
458
  environment: e,
445
459
  path: r,
446
- onRemove: d?.required ? void 0 : () => o(et(c, r)),
447
- onRuleChange: (e) => o(it(c, r, e)),
460
+ onRemove: d?.required ? void 0 : () => o($e(c, r)),
461
+ onRuleChange: (e) => o(rt(c, r, e)),
448
462
  rule: t
449
463
  })] }, n);
450
464
  })
@@ -456,7 +470,7 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
456
470
  /* @__PURE__ */ E(_, {
457
471
  disabled: !i,
458
472
  onClick: ee,
459
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "add-rule") }),
473
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "add-rule") }),
460
474
  size: l === "lg" ? "md" : "sm",
461
475
  start: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "plus" }) }),
462
476
  tone: "secondary",
@@ -466,7 +480,7 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
466
480
  /* @__PURE__ */ E(_, {
467
481
  disabled: !i,
468
482
  onClick: te,
469
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "add-group") }),
483
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "add-group") }),
470
484
  size: l === "lg" ? "md" : "sm",
471
485
  start: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "plus" }) }),
472
486
  tone: "secondary",
@@ -481,13 +495,13 @@ function vt({ environment: e, extra: r, firstField: i, group: a, onRootChange: o
481
495
  }
482
496
  //#endregion
483
497
  //#region src/filter-bar/filter-bar.tsx
484
- var z = {
498
+ var bt = {
485
499
  apply: "live",
486
500
  chipLimit: 6,
487
501
  queryDelay: 320,
488
502
  shortcut: null,
489
503
  size: "md"
490
- }, yt = [
504
+ }, xt = [
491
505
  "summary",
492
506
  "pill",
493
507
  "chip-operator",
@@ -498,108 +512,108 @@ var z = {
498
512
  "clear",
499
513
  "reset",
500
514
  "apply"
501
- ].map((e) => `[data-part='${e}']`).join(", "), B = 36;
502
- function bt(e, t) {
515
+ ].map((e) => `[data-part='${e}']`).join(", "), R = 36;
516
+ function St(e, t) {
503
517
  let n = parseFloat(e.ownerDocument.defaultView?.getComputedStyle(e.ownerDocument.documentElement).fontSize ?? "16");
504
518
  return t * (Number.isFinite(n) ? n : 16);
505
519
  }
506
- function xt(e, t) {
507
- return nt(e) === nt(t);
520
+ function Ct(e, t) {
521
+ return tt(e) === tt(t);
508
522
  }
509
- function St(e) {
523
+ function wt(e) {
510
524
  if (!e) return !1;
511
525
  let t = e.tagName;
512
526
  return t === "INPUT" || t === "TEXTAREA" || t === "SELECT" || e.isContentEditable;
513
527
  }
514
- var V = "--slotted-page-sticky-top", Ct = typeof document > "u" ? S : Ne;
515
- function wt(e) {
516
- let [t, n] = w(!1);
517
- return S(() => {
528
+ var z = "--slotted-page-sticky-top", Tt = typeof document > "u" ? C : Me;
529
+ function Et(e) {
530
+ let [t, n] = T(!1);
531
+ return C(() => {
518
532
  let t = e.current;
519
533
  if (!t || typeof ResizeObserver > "u") return;
520
534
  let r = new ResizeObserver(() => {
521
535
  let e = t.getBoundingClientRect().width;
522
- n(e > 0 && e < bt(t, B));
536
+ n(e > 0 && e < St(t, R));
523
537
  });
524
538
  return r.observe(t), () => r.disconnect();
525
539
  }, []), t;
526
540
  }
527
- function Tt() {
528
- let [e, t] = w(!1);
529
- return S(() => {
541
+ function Dt() {
542
+ let [e, t] = T(!1);
543
+ return C(() => {
530
544
  let e = typeof window > "u" ? void 0 : window;
531
545
  if (!e?.matchMedia) return;
532
- let n = e.matchMedia(`(max-width: ${B}rem)`), r = () => t(n.matches);
546
+ let n = e.matchMedia(`(max-width: ${R}rem)`), r = () => t(n.matches);
533
547
  return r(), n.addEventListener?.("change", r), () => n.removeEventListener?.("change", r);
534
548
  }, []), e;
535
549
  }
536
- function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he, defaultPreset: ge, defaultQuery: _e, defaultRevealed: ve, defaultValue: ye, disabled: v = !1, fields: y, loading: x = !1, messages: Oe, onOpenChange: Ae, onPresetChange: Ne, onPresetSave: Le, onQueryChange: Re, onRevealedChange: ze, onValueChange: Be, open: Ve, preset: He, presets: O, query: Ue, queryDelay: We, readOnly: k = !1, ref: qe, renderOperand: Xe, revealed: nt, shortcut: rt, size: it, sticky: ot = !1, container: lt, total: dt, value: pt, ...P }) {
537
- let F = ut(), I = e(Fe, Oe), L = ce ?? F.apply ?? z.apply, gt = pe ?? F.chipLimit ?? z.chipLimit, _t = We ?? F.queryDelay ?? z.queryDelay, R = rt === void 0 ? F.shortcut ?? z.shortcut : rt, B = it ?? F.size ?? z.size, bt = je(), H = C(null), kt = C(null), At = C(null), jt = wt(H), Mt = Tt(), [Nt, Pt] = w(ye ?? null), U = pt === void 0 ? Nt : pt, [Ft, It] = w(_e ?? ""), Lt = Ue === void 0 ? Ft : Ue, [Rt, zt] = w(ge ?? null), Bt = He === void 0 ? Rt : He, [Vt, Ht] = w(he ?? !1), Ut = Ve === void 0 ? Vt : Ve, [Wt, Gt] = w(ve ?? !1), Kt = nt === void 0 ? Wt : nt;
538
- function W(e) {
539
- Ie(H.current?.ownerDocument).announce(e);
550
+ function B({ apply: se, children: de, chipLimit: fe, count: pe, defaultOpen: me, defaultPreset: he, defaultQuery: ge, defaultRevealed: _e, defaultValue: ve, disabled: y = !1, fields: b, loading: S = !1, messages: De, onOpenChange: ke, onPresetChange: Me, onPresetSave: Le, onQueryChange: Re, onRevealedChange: ze, onValueChange: Be, open: Ve, preset: He, presets: O, query: Ue, queryDelay: We, readOnly: k = !1, ref: qe, renderOperand: Xe, revealed: tt, shortcut: nt, size: rt, sticky: at = !1, container: ct, total: ut, value: ft, ...ht }) {
551
+ let F = lt(), I = e(Fe, De), L = se ?? F.apply ?? bt.apply, gt = fe ?? F.chipLimit ?? bt.chipLimit, _t = We ?? F.queryDelay ?? bt.queryDelay, vt = nt === void 0 ? F.shortcut ?? bt.shortcut : nt, R = rt ?? F.size ?? bt.size, St = Ae(), B = w(null), jt = w(null), Mt = w(null), Nt = Et(B), Pt = Dt(), [Ft, It] = T(ve ?? null), V = ft === void 0 ? Ft : ft, [Lt, Rt] = T(ge ?? ""), H = Ue === void 0 ? Lt : Ue, [zt, Bt] = T(he ?? null), Vt = He === void 0 ? zt : He, [Ht, Ut] = T(me ?? !1), Wt = Ve === void 0 ? Ht : Ve, [Gt, Kt] = T(_e ?? !1), qt = tt === void 0 ? Gt : tt;
552
+ function U(e) {
553
+ Ie(B.current?.ownerDocument).announce(e);
540
554
  }
541
- let qt = Pe(() => ({
542
- field: (e) => M(y, e)?.label ?? e,
555
+ let W = Ne(() => ({
556
+ field: (e) => N(b, e)?.label ?? e,
543
557
  join: (e) => I(`joins.${e}`),
544
- operator: (e) => ft(I, e)
545
- }), [y, I]), Jt = ke((e, t) => Ge(t, {
546
- ...qt,
558
+ operator: (e) => dt(I, e)
559
+ }), [b, I]), Jt = Oe((e, t) => Ge(t, {
560
+ ...W,
547
561
  value: (t) => e?.options?.find((e) => e.value === t)?.label ?? String(t)
548
- }), [qt]), Yt = ke((e, t, n) => {
549
- let r = A(e);
550
- De({
551
- controlled: pt,
552
- equals: xt,
553
- initial: U,
562
+ }), [W]), Yt = Oe((e, t, n) => {
563
+ let r = j(e);
564
+ Ee({
565
+ controlled: ft,
566
+ equals: Ct,
567
+ initial: V,
554
568
  onRequest: (e) => Be?.(e.value, e)
555
- }).request(r, t, n) && Pt(r);
569
+ }).request(r, t, n) && It(r);
556
570
  }, [
557
571
  Be,
558
- U,
559
- pt
560
- ]), Xt = ke((e, t, n) => {
561
- De({
572
+ V,
573
+ ft
574
+ ]), Xt = Oe((e, t, n) => {
575
+ Ee({
562
576
  controlled: Ue,
563
- initial: Lt,
577
+ initial: H,
564
578
  onRequest: (e) => Re?.(e.value, e)
565
- }).request(e, t, n) && It(e);
579
+ }).request(e, t, n) && Rt(e);
566
580
  }, [
567
581
  Re,
568
- Lt,
582
+ H,
569
583
  Ue
570
584
  ]);
571
585
  function Zt(e, t, n) {
572
- De({
586
+ Ee({
573
587
  controlled: He,
574
- initial: Bt,
575
- onRequest: (e) => Ne?.(e.value, e)
576
- }).request(e, t, n) && zt(e);
588
+ initial: Vt,
589
+ onRequest: (e) => Me?.(e.value, e)
590
+ }).request(e, t, n) && Bt(e);
577
591
  }
578
592
  function Qt(e, t, n) {
579
- De({
593
+ Ee({
580
594
  controlled: Ve,
581
- initial: Ut,
582
- onRequest: (e) => Ae?.(e.value, e)
583
- }).request(e, t, n) && Ht(e);
595
+ initial: Wt,
596
+ onRequest: (e) => ke?.(e.value, e)
597
+ }).request(e, t, n) && Ut(e);
584
598
  }
585
599
  function $t(e, t, n) {
586
- De({
587
- controlled: nt,
588
- initial: Kt,
600
+ Ee({
601
+ controlled: tt,
602
+ initial: qt,
589
603
  onRequest: (e) => ze?.(e.value, e)
590
- }).request(e, t, n) && Gt(e);
604
+ }).request(e, t, n) && Kt(e);
591
605
  }
592
- let [G, K] = w(null), q = L === "manual" && G ? G.value : U, en = L === "manual" && G ? G.query : Lt, tn = L === "manual" && G !== null && (!xt(G.value, U) || G.query !== Lt), nn = C(U);
593
- S(() => {
594
- xt(nn.current, U) || (nn.current = U, K(null));
595
- }, [U]);
596
- let rn = Pe(() => {
597
- let e = O?.find((e) => e.key === Bt);
598
- return e !== void 0 && !xt(A(e.value), U);
606
+ let [G, K] = T(null), q = L === "manual" && G ? G.value : V, en = L === "manual" && G ? G.query : H, tn = L === "manual" && G !== null && (!Ct(G.value, V) || G.query !== H), nn = w(V);
607
+ C(() => {
608
+ Ct(nn.current, V) || (nn.current = V, K(null));
609
+ }, [V]);
610
+ let rn = Ne(() => {
611
+ let e = O?.find((e) => e.key === Vt);
612
+ return e !== void 0 && !Ct(j(e.value), V);
599
613
  }, [
600
- Bt,
614
+ Vt,
601
615
  O,
602
- U
616
+ V
603
617
  ]);
604
618
  function J(e, t, n) {
605
619
  if (L === "manual") {
@@ -611,28 +625,28 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
611
625
  }
612
626
  Yt(e, t, n);
613
627
  }
614
- let an = Pe(() => y.filter((e) => e.required), [y]);
628
+ let an = Ne(() => b.filter((e) => e.required), [b]);
615
629
  function on() {
616
630
  let e = null;
617
- for (let t of an) t.defaultValue && (e = st(e, t.key, t.defaultValue));
618
- return A(e);
631
+ for (let t of an) t.defaultValue && (e = ot(e, t.key, t.defaultValue));
632
+ return j(e);
619
633
  }
620
634
  function sn(e) {
621
- return an.filter((t) => !Ze(tt(e, t.key) ?? null));
635
+ return an.filter((t) => !Ze(et(e, t.key) ?? null));
622
636
  }
623
637
  function cn(e) {
624
638
  if (!G) return;
625
639
  let t = sn(G.value);
626
640
  if (t.length > 0) {
627
641
  let e = t[0];
628
- Y(e.key), W(I("required", { field: e.label })), H.current?.querySelector(`[data-part='pill'][data-field='${CSS.escape(e.key)}']`)?.focus();
642
+ Y(e.key), U(I("required", { field: e.label })), B.current?.querySelector(`[data-part='pill'][data-field='${CSS.escape(e.key)}']`)?.focus();
629
643
  return;
630
644
  }
631
- Y(null), Yt(G.value, "submit", e), G.query !== Lt && Xt(G.query, "submit", e), K(null);
632
- let n = A(G.value);
633
- W(n ? I("appliedCount", {
645
+ Y(null), Yt(G.value, "submit", e), G.query !== H && Xt(G.query, "submit", e), K(null);
646
+ let n = j(G.value);
647
+ U(n ? I("appliedCount", {
634
648
  count: Ye(n).length,
635
- filters: Ke(n, qt)
649
+ filters: Ke(n, W)
636
650
  }) : I("cleared"));
637
651
  }
638
652
  function ln() {
@@ -643,25 +657,25 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
643
657
  Y(null), Z(null), L === "manual" ? K({
644
658
  value: t,
645
659
  query: ""
646
- }) : (Yt(t, "clear", e), Lt !== "" && Xt("", "clear", e)), W(t ? I("clearedTo", { filters: Ke(t, qt) }) : I("cleared"));
660
+ }) : (Yt(t, "clear", e), H !== "" && Xt("", "clear", e)), U(t ? I("clearedTo", { filters: Ke(t, W) }) : I("cleared"));
647
661
  }
648
662
  function dn(e, t) {
649
- let n = M(y, e);
663
+ let n = N(b, e);
650
664
  if (n?.required) {
651
- Y(e), W(I("required", { field: n.label }));
665
+ Y(e), U(I("required", { field: n.label }));
652
666
  return;
653
667
  }
654
- X?.key === e && (Z(null), tt(q, e) === void 0) || (J(ct(q, e), "remove", t), W(I("removed", { field: n?.label ?? e })));
668
+ X?.key === e && (Z(null), et(q, e) === void 0) || (J(st(q, e), "remove", t), U(I("removed", { field: n?.label ?? e })));
655
669
  }
656
670
  function fn(e, t) {
657
- q && J(et(q, e), "remove", t);
671
+ q && J($e(q, e), "remove", t);
658
672
  }
659
673
  function pn(e, t) {
660
674
  Zt(e, e === null ? "clear" : "select", t);
661
675
  let n = O?.find((t) => t.key === e);
662
- n && (K(null), Yt(n.value, "select", t), W(n.label));
676
+ n && (K(null), Yt(n.value, "select", t), U(n.label));
663
677
  }
664
- let [mn, Y] = w(null), [X, Z] = w(null), [hn, gn] = w(null), _n = C(null);
678
+ let [mn, Y] = T(null), [X, Z] = T(null), [hn, gn] = T(null), _n = w(null);
665
679
  function vn(e, t, n) {
666
680
  if (L === "manual") {
667
681
  K({
@@ -678,135 +692,135 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
678
692
  _n.current = null, gn(null), Xt(e, t, n);
679
693
  }, _t);
680
694
  }
681
- S(() => () => {
695
+ C(() => () => {
682
696
  _n.current && clearTimeout(_n.current);
683
697
  }, []);
684
698
  function yn(e) {
685
699
  e.defaultPrevented || (e.key === "Escape" && (hn ?? en) !== "" && (e.preventDefault(), vn("", "clear", e)), e.key === "Enter" && L === "manual" && cn(e));
686
700
  }
687
- S(() => {
688
- if (!R || v) return;
689
- let e = H.current?.ownerDocument;
701
+ C(() => {
702
+ if (!vt || y) return;
703
+ let e = B.current?.ownerDocument;
690
704
  if (!e) return;
691
705
  let t = (t) => {
692
- t.defaultPrevented || t.metaKey || t.ctrlKey || t.altKey || t.key === R && (St(e.activeElement) || (t.preventDefault(), kt.current?.focus()));
706
+ t.defaultPrevented || t.metaKey || t.ctrlKey || t.altKey || t.key === vt && (wt(e.activeElement) || (t.preventDefault(), jt.current?.focus()));
693
707
  };
694
708
  return e.addEventListener("keydown", t), () => e.removeEventListener("keydown", t);
695
- }, [v, R]);
696
- let bn = C(null);
697
- S(() => {
698
- let e = At.current;
709
+ }, [y, vt]);
710
+ let bn = w(null);
711
+ C(() => {
712
+ let e = Mt.current;
699
713
  if (!e) return;
700
- let t = Ee(e, {
714
+ let t = Te(e, {
701
715
  includeAriaDisabled: !0,
702
- itemSelector: yt
703
- }), n = Te(e, {
716
+ itemSelector: xt
717
+ }), n = we(e, {
704
718
  fallback: () => e.querySelector("[data-part='add']") ?? null,
705
- itemSelector: yt
719
+ itemSelector: xt
706
720
  });
707
721
  return bn.current = t, () => {
708
722
  t.destroy(), n.destroy(), bn.current = null;
709
723
  };
710
- }, []), S(() => {
724
+ }, []), C(() => {
711
725
  bn.current?.refresh();
712
726
  });
713
- let xn = C(null);
714
- Ct(() => {
727
+ let xn = w(null);
728
+ Tt(() => {
715
729
  let e = xn.current;
716
- e && (xn.current = null, (e.isConnected ? e : At.current?.querySelector("[data-part='add']"))?.focus());
717
- }), S(() => {
718
- let e = H.current;
719
- if (!ot || !e || typeof ResizeObserver > "u") return;
730
+ e && (xn.current = null, (e.isConnected ? e : Mt.current?.querySelector("[data-part='add']"))?.focus());
731
+ }), C(() => {
732
+ let e = B.current;
733
+ if (!at || !e || typeof ResizeObserver > "u") return;
720
734
  let t = e.parentElement, n = e.ownerDocument.defaultView;
721
735
  if (!t || !n) return;
722
- let r = t.style.getPropertyValue(V), i = () => r ? t.style.setProperty(V, r) : t.style.removeProperty(V), a = new ResizeObserver(() => {
736
+ let r = t.style.getPropertyValue(z), i = () => r ? t.style.setProperty(z, r) : t.style.removeProperty(z), a = new ResizeObserver(() => {
723
737
  i();
724
- let r = n.getComputedStyle(t).getPropertyValue(V).trim() || "0px", a = e.getBoundingClientRect().height;
725
- e.style.setProperty(V, r), t.style.setProperty(V, `calc(${r} + ${a}px)`);
738
+ let r = n.getComputedStyle(t).getPropertyValue(z).trim() || "0px", a = e.getBoundingClientRect().height;
739
+ e.style.setProperty(z, r), t.style.setProperty(z, `calc(${r} + ${a}px)`);
726
740
  });
727
741
  return a.observe(e), () => {
728
- a.disconnect(), e.style.removeProperty(V), i();
742
+ a.disconnect(), e.style.removeProperty(z), i();
729
743
  };
730
- }, [ot]);
731
- let Sn = me === void 0 ? null : dt === void 0 ? I("countOnly", { count: me }) : I("count", {
732
- count: me,
733
- total: dt
734
- }), [Cn, wn] = w(null), Tn = C(null), Q = Et(Ut, q, Tn);
744
+ }, [at]);
745
+ let Sn = pe === void 0 ? null : ut === void 0 ? I("countOnly", { count: pe }) : I("count", {
746
+ count: pe,
747
+ total: ut
748
+ }), [Cn, wn] = T(null), Tn = w(null), Q = Ot(Wt, q, Tn);
735
749
  function En(e, t, n) {
736
750
  n?.tree !== void 0 && (Tn.current = n.tree), wn(n ? n.path.join(".") : null), Qt(!0, e, t);
737
751
  }
738
752
  function Dn(e, t) {
739
- let n = M(y, e), r = q ? q.rules.findIndex((t) => !Qe(t) && t.field === e) : -1;
753
+ let n = N(b, e), r = q ? q.rules.findIndex((t) => !A(t) && t.field === e) : -1;
740
754
  if (r !== -1 && X?.key !== e) {
741
755
  En("pointer", t, { path: [r] });
742
756
  return;
743
757
  }
744
- let i = X?.key === e ? X.filter : n ? N(n) : null;
758
+ let i = X?.key === e ? X.filter : n ? P(n) : null;
745
759
  if (!i) return;
746
- let a = st(q, e, i);
760
+ let a = ot(q, e, i);
747
761
  Z(null), En("pointer", t, {
748
- path: [a.rules.findIndex((t) => !Qe(t) && t.field === e)],
762
+ path: [a.rules.findIndex((t) => !A(t) && t.field === e)],
749
763
  tree: a
750
764
  });
751
765
  }
752
- Me(qe, () => ({
753
- focusSearch: () => kt.current?.focus(),
766
+ je(qe, () => ({
767
+ focusSearch: () => jt.current?.focus(),
754
768
  open: (e) => En("programmatic", void 0, e ? { path: e } : void 0),
755
769
  get root() {
756
- return H.current;
770
+ return B.current;
757
771
  }
758
772
  }), []);
759
773
  let On = {
760
774
  apply: () => L === "manual" ? cn() : void 0,
761
- fields: y,
775
+ fields: b,
762
776
  renderOperand: Xe,
763
- size: B,
777
+ size: R,
764
778
  t: I
765
- }, kn = v || k, An = y.filter((e) => e.pinned || e.required), jn = new Set(An.map((e) => e.key)), Mn = q ? Dt(q) : 0, [Nn, Pn] = w(null), Fn = y.filter((e) => !jn.has(e.key) && tt(q, e.key) === void 0 && e.key !== X?.key), In = /* @__PURE__ */ new Map();
779
+ }, kn = y || k, An = b.filter((e) => e.pinned || e.required), jn = new Set(An.map((e) => e.key)), Mn = q ? kt(q) : 0, [Nn, Pn] = T(null), Fn = b.filter((e) => !jn.has(e.key) && et(q, e.key) === void 0 && e.key !== X?.key), In = /* @__PURE__ */ new Map();
766
780
  for (let e of Fn) {
767
781
  let t = In.get(e.section) ?? [];
768
782
  t.push(e), In.set(e.section, t);
769
783
  }
770
784
  function Ln(e, t) {
771
- let n = M(y, e);
785
+ let n = N(b, e);
772
786
  if (!n || kn) return;
773
- if (jt) {
787
+ if (Nt) {
774
788
  Dn(e, t);
775
789
  return;
776
790
  }
777
- let r = N(n);
778
- Ze(r) ? J(st(q, e, r), "pointer", t) : Z({
791
+ let r = P(n);
792
+ Ze(r) ? J(ot(q, e, r), "pointer", t) : Z({
779
793
  key: e,
780
794
  filter: r
781
795
  }), Pn(e);
782
796
  }
783
797
  function Rn(e, t, n) {
784
- let r = M(y, e);
798
+ let r = N(b, e);
785
799
  if (t === null) {
786
800
  if (r?.required) {
787
- Y(e), W(I("required", { field: r.label }));
801
+ Y(e), U(I("required", { field: r.label }));
788
802
  return;
789
803
  }
790
- X?.key === e && Z(null), J(ct(q, e), "clear");
804
+ X?.key === e && Z(null), J(st(q, e), "clear");
791
805
  return;
792
806
  }
793
807
  if (Y(null), !Ze(t)) {
794
808
  if (L === "manual") {
795
- J(st(q, e, t), n);
809
+ J(ot(q, e, t), n);
796
810
  return;
797
811
  }
798
- let r = q ? q.rules.findIndex((t) => !Qe(t) && t.field === e) : -1;
812
+ let r = q ? q.rules.findIndex((t) => !A(t) && t.field === e) : -1;
799
813
  Z({
800
814
  key: e,
801
815
  filter: t,
802
816
  ...r === -1 ? {} : { at: r }
803
- }), r !== -1 && J(ct(q, e), n);
817
+ }), r !== -1 && J(st(q, e), n);
804
818
  return;
805
819
  }
806
- X?.key === e && Z(null), J(st(q, e, t), n);
820
+ X?.key === e && Z(null), J(ot(q, e, t), n);
807
821
  }
808
822
  function zn(e, t, n, r) {
809
- let i = t.conditions[0] ?? { operator: n }, a = j(i.operator), o = j(n), s = at(t, 0, {
823
+ let i = t.conditions[0] ?? { operator: n }, a = M(i.operator), o = M(n), s = it(t, 0, {
810
824
  operator: n,
811
825
  ...o >= 1 && a >= 1 ? { value: i.value } : {},
812
826
  ...o === 2 && a === 2 ? { end: i.end } : {}
@@ -817,77 +831,77 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
817
831
  if (e.key !== "Delete" && e.key !== "Backspace") return;
818
832
  let n = e.target.closest("[data-part='chip-operator'], [data-part='chip-value'], [data-part='chip-remove']");
819
833
  if (!n || kn || e.defaultPrevented) return;
820
- if (e.preventDefault(), M(y, t)?.required) {
834
+ if (e.preventDefault(), N(b, t)?.required) {
821
835
  dn(t, e);
822
836
  return;
823
837
  }
824
- let r = [...At.current?.querySelectorAll("[data-part='chip']") ?? []].filter((e) => e.checkVisibility?.() ?? !0), i = n.closest("[data-part='chip']"), a = i ? r.indexOf(i) : -1, o = n.getAttribute("data-part"), s = r[a + 1] ?? r[a - 1];
825
- xn.current = s?.querySelector(`[data-part='${o}']`) ?? s?.querySelector("button") ?? At.current?.querySelector("[data-part='add']") ?? null, dn(t, e);
838
+ let r = [...Mt.current?.querySelectorAll("[data-part='chip']") ?? []].filter((e) => e.checkVisibility?.() ?? !0), i = n.closest("[data-part='chip']"), a = i ? r.indexOf(i) : -1, o = n.getAttribute("data-part"), s = r[a + 1] ?? r[a - 1];
839
+ xn.current = s?.querySelector(`[data-part='${o}']`) ?? s?.querySelector("button") ?? Mt.current?.querySelector("[data-part='add']") ?? null, dn(t, e);
826
840
  }
827
841
  function Vn(e, i, a) {
828
- let o = M(y, e), d = o === void 0, f = o?.label ?? e, p = mt(I, o, i), m = a.incomplete === !0 || !Ze(i), h = p.value || I("noValue"), g = I("rule", {
842
+ let o = N(b, e), d = o === void 0, f = o?.label ?? e, p = pt(I, o, i), m = a.incomplete === !0 || !Ze(i), h = p.value || I("noValue"), g = I("rule", {
829
843
  condition: p.operands > 0 ? I("condition", {
830
844
  operator: p.operator,
831
845
  value: h
832
846
  }) : p.operator,
833
847
  field: d ? I("unknownField", { field: e }) : f
834
- }), ee = m ? I("incomplete", { rule: g }) : g, te = i.conditions[0], ne = o?.operators ?? (o ? $e(o.kind) : []), _ = k ? { "aria-disabled": !0 } : {}, re = v || d, ce = k || d ? /* @__PURE__ */ E("button", {
848
+ }), ee = m ? I("incomplete", { rule: g }) : g, te = i.conditions[0], _ = o?.operators ?? (o ? Qe(o.kind) : []), v = k ? { "aria-disabled": !0 } : {}, ne = y || d, se = k || d ? /* @__PURE__ */ E("button", {
835
849
  "data-part": "chip-operator",
836
850
  "data-part-chip-operator": "",
837
- disabled: v,
851
+ disabled: y,
838
852
  type: "button",
839
- ...d ? { "aria-disabled": !0 } : _,
840
- children: p.operator
853
+ ...d ? { "aria-disabled": !0 } : v,
854
+ children: /* @__PURE__ */ E("span", { children: p.operator })
841
855
  }) : /* @__PURE__ */ D(r, { children: [/* @__PURE__ */ E(l, { render: (e) => /* @__PURE__ */ E("button", {
842
- ...b(e, "part", "chip-operator"),
843
- disabled: re,
856
+ ...x(e, "part", "chip-operator"),
857
+ disabled: ne,
844
858
  type: "button",
845
- children: p.operator
859
+ children: /* @__PURE__ */ E("span", { children: p.operator })
846
860
  }) }), /* @__PURE__ */ E(u, {
847
861
  "aria-label": I("operator"),
848
862
  children: /* @__PURE__ */ E(c, {
849
863
  onValueChange: (t, n) => zn(e, i, t, n.source),
850
864
  value: te?.operator ?? "",
851
- children: ne.map((e) => /* @__PURE__ */ E(s, {
865
+ children: _.map((e) => /* @__PURE__ */ E(s, {
852
866
  value: e,
853
- children: ft(I, e)
867
+ children: dt(I, e)
854
868
  }, e))
855
869
  })
856
- })] }), ue = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
870
+ })] }), le = /* @__PURE__ */ D(Pe, { children: [/* @__PURE__ */ E("span", {
857
871
  "data-operator": "",
858
872
  children: p.operator
859
873
  }), /* @__PURE__ */ E("span", {
860
874
  "data-value": "",
861
875
  children: h
862
- })] }), de = I("condition", {
876
+ })] }), ue = I("condition", {
863
877
  operator: p.operator,
864
878
  value: p.full || h
865
- }), fe = p.full && p.full !== p.value ? p.full : void 0, pe = null;
866
- return (p.operands > 0 || m) && (pe = k || !o || jt ? /* @__PURE__ */ E("button", {
867
- "aria-haspopup": jt && !k && !d ? "dialog" : void 0,
868
- "aria-label": de,
879
+ }), de = p.full && p.full !== p.value ? p.full : void 0, fe = null;
880
+ return (p.operands > 0 || m) && (fe = k || !o || Nt ? /* @__PURE__ */ E("button", {
881
+ "aria-haspopup": Nt && !k && !d ? "dialog" : void 0,
882
+ "aria-label": ue,
869
883
  "data-part": "chip-value",
870
884
  "data-part-chip-value": "",
871
- disabled: v,
872
- onClick: (t) => jt && !k && !d ? Dn(e, t) : void 0,
873
- title: fe,
885
+ disabled: y,
886
+ onClick: (t) => Nt && !k && !d ? Dn(e, t) : void 0,
887
+ title: de,
874
888
  type: "button",
875
889
  ...k || d ? { "aria-disabled": !0 } : {},
876
- children: ue
877
- }) : /* @__PURE__ */ D(oe, {
890
+ children: le
891
+ }) : /* @__PURE__ */ D(ae, {
878
892
  onOpenChange: (t) => Pn(t ? e : Nn === e ? null : Nn),
879
893
  open: Nn === e,
880
- children: [/* @__PURE__ */ E(ae, { render: (e) => /* @__PURE__ */ E("button", {
881
- ...b(e, "part", "chip-value"),
894
+ children: [/* @__PURE__ */ E(ie, { render: (e) => /* @__PURE__ */ E("button", {
895
+ ...x(e, "part", "chip-value"),
882
896
  "aria-haspopup": "dialog",
883
- "aria-label": de,
884
- disabled: v,
885
- title: fe,
897
+ "aria-label": ue,
898
+ disabled: y,
899
+ title: de,
886
900
  type: "button",
887
- children: ue
888
- }) }), /* @__PURE__ */ E(se, { children: /* @__PURE__ */ E(ie, {
901
+ children: le
902
+ }) }), /* @__PURE__ */ E(oe, { children: /* @__PURE__ */ E(re, {
889
903
  "aria-label": f,
890
- children: /* @__PURE__ */ E(le, { children: /* @__PURE__ */ E(Ot, {
904
+ children: /* @__PURE__ */ E(ce, { children: /* @__PURE__ */ E(At, {
891
905
  apply: L,
892
906
  current: i,
893
907
  environment: On,
@@ -895,8 +909,8 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
895
909
  invalid: mn === e,
896
910
  onChange: (t) => Rn(e, t, "keyboard"),
897
911
  onDone: () => {
898
- let t = tt(q, e);
899
- t && Ze(t) && W(I("rule", {
912
+ let t = et(q, e);
913
+ t && Ze(t) && U(I("rule", {
900
914
  condition: Jt(o, t),
901
915
  field: f
902
916
  }));
@@ -921,15 +935,15 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
921
935
  /* @__PURE__ */ D("span", {
922
936
  "data-part": "chip-field",
923
937
  "data-part-chip-field": "",
924
- children: [/* @__PURE__ */ E(ht, { icon: o?.icon }), /* @__PURE__ */ E("span", { children: f })]
938
+ children: [/* @__PURE__ */ E(mt, { icon: o?.icon }), /* @__PURE__ */ E("span", { children: f })]
925
939
  }),
926
- ce,
927
- pe,
940
+ se,
941
+ fe,
928
942
  o?.required || k ? null : /* @__PURE__ */ E("button", {
929
943
  "aria-label": I("remove", { name: f }),
930
944
  "data-part": "chip-remove",
931
945
  "data-part-chip-remove": "",
932
- disabled: v,
946
+ disabled: y,
933
947
  onClick: (t) => dn(e, t),
934
948
  type: "button",
935
949
  children: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "x" }) })
@@ -938,7 +952,7 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
938
952
  }, e);
939
953
  }
940
954
  function Hn(e, r, i) {
941
- let a = `(${Ke(e, qt)})`;
955
+ let a = `(${Ke(e, W)})`;
942
956
  return /* @__PURE__ */ D("div", {
943
957
  "aria-label": a,
944
958
  "data-operands": 1,
@@ -953,7 +967,7 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
953
967
  "aria-haspopup": "dialog",
954
968
  "data-part": "chip-value",
955
969
  "data-part-chip-value": "",
956
- disabled: v,
970
+ disabled: y,
957
971
  onClick: (e) => k ? void 0 : En("pointer", e, { path: r }),
958
972
  title: a,
959
973
  type: "button",
@@ -966,7 +980,7 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
966
980
  "aria-label": I("remove", { name: a }),
967
981
  "data-part": "chip-remove",
968
982
  "data-part-chip-remove": "",
969
- disabled: v,
983
+ disabled: y,
970
984
  onClick: (e) => fn(r, e),
971
985
  type: "button",
972
986
  children: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "x" }) })
@@ -975,7 +989,7 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
975
989
  }
976
990
  let $ = [], Un = 0, Wn = () => Un++ >= gt;
977
991
  for (let e of An) {
978
- let r = tt(q, e.key);
992
+ let r = et(q, e.key);
979
993
  r === void 0 ? X?.key === e.key ? $.push(Vn(e.key, X.filter, {
980
994
  pinned: !0,
981
995
  incomplete: !0,
@@ -985,7 +999,7 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
985
999
  "data-field": e.key,
986
1000
  "data-part": "pill",
987
1001
  "data-part-pill": "",
988
- disabled: v,
1002
+ disabled: y,
989
1003
  onClick: (t) => Ln(e.key, t),
990
1004
  type: "button",
991
1005
  ...mn === e.key ? {
@@ -998,29 +1012,29 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
998
1012
  folded: Wn()
999
1013
  }));
1000
1014
  }
1001
- let Gn = X && !jn.has(X.key) && tt(q, X.key) === void 0 ? X : null, Kn = () => Gn ? Vn(Gn.key, Gn.filter, {
1015
+ let Gn = X && !jn.has(X.key) && et(q, X.key) === void 0 ? X : null, Kn = () => Gn ? Vn(Gn.key, Gn.filter, {
1002
1016
  incomplete: !0,
1003
1017
  folded: Wn()
1004
1018
  }) : null, qn = !1;
1005
1019
  (q?.rules ?? []).forEach((e, t) => {
1006
- Gn?.at === t && ($.push(Kn()), qn = !0), Qe(e) ? $.push(Hn(e, [t], Wn())) : jn.has(e.field) || $.push(Vn(e.field, e.filter, { folded: Wn() }));
1020
+ Gn?.at === t && ($.push(Kn()), qn = !0), A(e) ? $.push(Hn(e, [t], Wn())) : jn.has(e.field) || $.push(Vn(e.field, e.filter, { folded: Wn() }));
1007
1021
  }), Gn && !qn && $.push(Kn());
1008
1022
  let Jn = Un, Yn = Math.max(0, Jn - gt);
1009
1023
  return /* @__PURE__ */ D("div", {
1010
1024
  "aria-label": I("bar"),
1011
1025
  role: "search",
1012
- ...b(P, "part", "root"),
1026
+ ...x(ht, "part", "root"),
1013
1027
  "data-apply": L,
1014
- "data-size": B,
1028
+ "data-size": R,
1015
1029
  "data-ui": "filter-bar",
1016
1030
  "data-ui-filter-bar": "",
1017
- ref: H,
1018
- ...v ? { "data-disabled": "" } : {},
1031
+ ref: B,
1032
+ ...y ? { "data-disabled": "" } : {},
1019
1033
  ...k ? { "data-readonly": "" } : {},
1020
- ...x ? { "data-loading": "" } : {},
1034
+ ...S ? { "data-loading": "" } : {},
1021
1035
  ...tn || rn ? { "data-dirty": "" } : {},
1022
- ...Ut ? { "data-open": "" } : {},
1023
- ...ot ? { "data-sticky": "" } : {},
1036
+ ...Wt ? { "data-open": "" } : {},
1037
+ ...at ? { "data-sticky": "" } : {},
1024
1038
  children: [/* @__PURE__ */ D("div", {
1025
1039
  "data-part": "frame",
1026
1040
  "data-part-frame": "",
@@ -1028,19 +1042,19 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1028
1042
  /* @__PURE__ */ E("div", {
1029
1043
  "data-part": "search",
1030
1044
  "data-part-search": "",
1031
- children: /* @__PURE__ */ E(ue, {
1045
+ children: /* @__PURE__ */ E(le, {
1032
1046
  "aria-label": I("search"),
1033
1047
  clearable: !0,
1034
- disabled: v,
1035
- end: R ? /* @__PURE__ */ E(de, {
1048
+ disabled: y,
1049
+ end: vt ? /* @__PURE__ */ E(ue, {
1036
1050
  size: "sm",
1037
- children: R
1051
+ children: vt
1038
1052
  }) : void 0,
1039
1053
  onKeyDown: yn,
1040
1054
  onValueChange: (e, t) => vn(e, t.reason === "clear" ? "clear" : "keyboard", t.source),
1041
1055
  placeholder: I("search"),
1042
- ref: kt,
1043
- size: B,
1056
+ ref: jt,
1057
+ size: R,
1044
1058
  start: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "search" }) }),
1045
1059
  type: "search",
1046
1060
  value: hn ?? en
@@ -1050,17 +1064,17 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1050
1064
  "aria-label": I("filters"),
1051
1065
  "data-part": "bar",
1052
1066
  "data-part-bar": "",
1053
- ref: At,
1067
+ ref: Mt,
1054
1068
  role: "toolbar",
1055
1069
  ...k ? { "aria-description": I("readOnly") } : {},
1056
- ...Kt ? { "data-revealed": "" } : {},
1070
+ ...qt ? { "data-revealed": "" } : {},
1057
1071
  children: [
1058
1072
  /* @__PURE__ */ E(_, {
1059
1073
  "aria-haspopup": "dialog",
1060
- disabled: v,
1074
+ disabled: y,
1061
1075
  onClick: (e) => En("pointer", e),
1062
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "summary") }),
1063
- size: B,
1076
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "summary") }),
1077
+ size: R,
1064
1078
  start: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "funnel" }) }),
1065
1079
  tone: "secondary",
1066
1080
  variant: "outline",
@@ -1068,33 +1082,33 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1068
1082
  }),
1069
1083
  $,
1070
1084
  Yn > 0 ? /* @__PURE__ */ E("button", {
1071
- "aria-expanded": Kt,
1085
+ "aria-expanded": qt,
1072
1086
  "data-part": "more",
1073
1087
  "data-part-more": "",
1074
- disabled: v,
1075
- onClick: (e) => $t(!Kt, "pointer", e),
1088
+ disabled: y,
1089
+ onClick: (e) => $t(!qt, "pointer", e),
1076
1090
  type: "button",
1077
- children: Kt ? I("less") : I("more", { count: Yn })
1091
+ children: qt ? I("less") : I("more", { count: Yn })
1078
1092
  }) : null,
1079
- k ? null : /* @__PURE__ */ D(r, { children: [/* @__PURE__ */ E(l, { render: (e) => Jn > 0 ? /* @__PURE__ */ E(re, {
1093
+ k ? null : /* @__PURE__ */ D(r, { children: [/* @__PURE__ */ E(l, { render: (e) => Jn > 0 ? /* @__PURE__ */ E(v, {
1080
1094
  ...e,
1081
1095
  "aria-label": I("add"),
1082
- disabled: v || Fn.length === 0,
1096
+ disabled: y || Fn.length === 0,
1083
1097
  render: (e) => /* @__PURE__ */ E("button", {
1084
- ...b(e, "part", "add"),
1098
+ ...x(e, "part", "add"),
1085
1099
  "data-compact": ""
1086
1100
  }),
1087
1101
  shape: "circle",
1088
- size: B,
1102
+ size: R,
1089
1103
  title: I("add"),
1090
1104
  tone: "secondary",
1091
1105
  variant: "outline",
1092
1106
  children: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "plus" }) })
1093
1107
  }) : /* @__PURE__ */ E(_, {
1094
1108
  ...e,
1095
- disabled: v || Fn.length === 0,
1096
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "add") }),
1097
- size: B,
1109
+ disabled: y || Fn.length === 0,
1110
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "add") }),
1111
+ size: R,
1098
1112
  start: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(t, { name: "plus" }) }),
1099
1113
  tone: "secondary",
1100
1114
  variant: "ghost",
@@ -1104,7 +1118,7 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1104
1118
  children: [...In.entries()].map(([e, t]) => {
1105
1119
  let n = t.map((e) => /* @__PURE__ */ D(a, {
1106
1120
  onSelect: (t) => Ln(e.key, t),
1107
- children: [e.icon ? /* @__PURE__ */ E(d, { children: /* @__PURE__ */ E(ht, { icon: e.icon }) }) : null, /* @__PURE__ */ E(o, { children: e.label })]
1121
+ children: [e.icon ? /* @__PURE__ */ E(d, { children: /* @__PURE__ */ E(mt, { icon: e.icon }) }) : null, /* @__PURE__ */ E(o, { children: e.label })]
1108
1122
  }, e.key));
1109
1123
  return e === void 0 ? n : /* @__PURE__ */ E(i, {
1110
1124
  label: e,
@@ -1113,10 +1127,10 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1113
1127
  })
1114
1128
  })] }),
1115
1129
  !k && (Mn > 0 || en !== "" || X) ? /* @__PURE__ */ E(_, {
1116
- disabled: v,
1130
+ disabled: y,
1117
1131
  onClick: (e) => un(e),
1118
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "clear") }),
1119
- size: B,
1132
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "clear") }),
1133
+ size: R,
1120
1134
  tone: "secondary",
1121
1135
  variant: "ghost",
1122
1136
  children: I("clear")
@@ -1125,18 +1139,18 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1125
1139
  "data-part": "actions",
1126
1140
  "data-part-actions": "",
1127
1141
  children: [/* @__PURE__ */ E(_, {
1128
- disabled: v || !tn,
1142
+ disabled: y || !tn,
1129
1143
  onClick: ln,
1130
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "reset") }),
1131
- size: B,
1144
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "reset") }),
1145
+ size: R,
1132
1146
  tone: "secondary",
1133
1147
  variant: "ghost",
1134
1148
  children: I("reset")
1135
1149
  }), /* @__PURE__ */ E(_, {
1136
- disabled: v || x || !tn,
1150
+ disabled: y || S || !tn,
1137
1151
  onClick: (e) => cn(e),
1138
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "apply") }),
1139
- size: B,
1152
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "apply") }),
1153
+ size: R,
1140
1154
  children: I("apply")
1141
1155
  })]
1142
1156
  }) : null
@@ -1148,32 +1162,32 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1148
1162
  children: [O && O.length > 0 ? /* @__PURE__ */ E("div", {
1149
1163
  "data-part": "preset",
1150
1164
  "data-part-preset": "",
1151
- children: /* @__PURE__ */ D(be, {
1165
+ children: /* @__PURE__ */ D(ye, {
1152
1166
  clearable: !0,
1153
- disabled: v || k,
1167
+ disabled: y || k,
1154
1168
  items: O.map((e) => ({
1155
1169
  label: e.label,
1156
1170
  value: e.key
1157
1171
  })),
1158
1172
  onValueChange: (e, t) => pn(e ?? null, t.source),
1159
- size: B,
1160
- value: Bt,
1161
- children: [/* @__PURE__ */ E(Ce, {
1173
+ size: R,
1174
+ value: Vt,
1175
+ children: [/* @__PURE__ */ E(Se, {
1162
1176
  "aria-label": I("preset"),
1163
- children: /* @__PURE__ */ E(we, { placeholder: I("presetNone") })
1164
- }), /* @__PURE__ */ E(xe, { children: O.map((e) => /* @__PURE__ */ E(Se, {
1177
+ children: /* @__PURE__ */ E(Ce, { placeholder: I("presetNone") })
1178
+ }), /* @__PURE__ */ E(be, { children: O.map((e) => /* @__PURE__ */ E(xe, {
1165
1179
  value: e.key,
1166
1180
  children: e.label
1167
1181
  }, e.key)) })]
1168
1182
  })
1169
- }) : null, fe]
1183
+ }) : null, de]
1170
1184
  }),
1171
- Sn !== null || x ? /* @__PURE__ */ D("p", {
1185
+ Sn !== null || S ? /* @__PURE__ */ D("p", {
1172
1186
  "aria-live": "polite",
1173
1187
  "data-part": "count",
1174
1188
  "data-part-count": "",
1175
- ...x ? { "aria-busy": !0 } : {},
1176
- children: [x ? /* @__PURE__ */ E("span", {
1189
+ ...S ? { "aria-busy": !0 } : {},
1190
+ children: [S ? /* @__PURE__ */ E("span", {
1177
1191
  "data-ui": "spinner",
1178
1192
  "data-ui-spinner": "",
1179
1193
  "data-part": "root",
@@ -1186,13 +1200,13 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1186
1200
  }) : null
1187
1201
  ]
1188
1202
  }), /* @__PURE__ */ E(p, {
1189
- container: lt,
1203
+ container: ct,
1190
1204
  onOpenChange: (e, t) => {
1191
1205
  Qt(e, t.reason, t.source);
1192
1206
  },
1193
- open: Ut,
1194
- side: Mt ? "bottom" : "end",
1195
- size: Mt ? "content" : "xl",
1207
+ open: Wt,
1208
+ side: Pt ? "bottom" : "end",
1209
+ size: Pt ? "content" : "xl",
1196
1210
  children: /* @__PURE__ */ D(te, { children: [
1197
1211
  /* @__PURE__ */ D(g, { children: [/* @__PURE__ */ E(m, { children: I("builder") }), /* @__PURE__ */ E(ee, {})] }),
1198
1212
  /* @__PURE__ */ E(h, { children: /* @__PURE__ */ E("div", {
@@ -1200,30 +1214,30 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1200
1214
  "data-part-builder": "",
1201
1215
  "data-ui": "filter-bar",
1202
1216
  "data-ui-filter-bar": "",
1203
- id: `${bt}builder`,
1204
- children: /* @__PURE__ */ E(vt, {
1217
+ id: `${St}builder`,
1218
+ children: /* @__PURE__ */ E(yt, {
1205
1219
  environment: {
1206
1220
  ...On,
1207
1221
  apply: () => Xn(),
1208
1222
  expanded: Cn,
1209
1223
  onExpandedChange: wn
1210
1224
  },
1211
- extra: /* @__PURE__ */ D(T, { children: [Q.value && Dt(Q.value) > 0 ? /* @__PURE__ */ E(_, {
1225
+ extra: /* @__PURE__ */ D(Pe, { children: [Q.value && kt(Q.value) > 0 ? /* @__PURE__ */ E(_, {
1212
1226
  onClick: () => Q.set(on()),
1213
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "clear") }),
1227
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "clear") }),
1214
1228
  size: "sm",
1215
1229
  tone: "secondary",
1216
1230
  variant: "ghost",
1217
1231
  children: I("clear")
1218
1232
  }) : null, Le ? /* @__PURE__ */ E(_, {
1219
- onClick: () => Le(A(Q.value)),
1220
- render: (e) => /* @__PURE__ */ E("button", { ...b(e, "part", "save-preset") }),
1233
+ onClick: () => Le(j(Q.value)),
1234
+ render: (e) => /* @__PURE__ */ E("button", { ...x(e, "part", "save-preset") }),
1221
1235
  size: "sm",
1222
1236
  tone: "secondary",
1223
1237
  variant: "ghost",
1224
1238
  children: I("savePreset")
1225
1239
  }) : null] }),
1226
- firstField: y[0],
1240
+ firstField: b[0],
1227
1241
  group: Q.value ?? Je(),
1228
1242
  onRootChange: (e) => Q.set(e),
1229
1243
  path: [],
@@ -1248,20 +1262,20 @@ function H({ apply: ce, children: fe, chipLimit: pe, count: me, defaultOpen: he,
1248
1262
  let e = Q.value, t = sn(e);
1249
1263
  if (t.length > 0) {
1250
1264
  let e = t[0];
1251
- Y(e.key), W(I("required", { field: e.label }));
1265
+ Y(e.key), U(I("required", { field: e.label }));
1252
1266
  return;
1253
1267
  }
1254
1268
  Y(null), J(e, "submit");
1255
- let n = A(e);
1256
- W(n ? I("appliedCount", {
1257
- count: Dt(n),
1258
- filters: Ke(n, qt)
1269
+ let n = j(e);
1270
+ U(n ? I("appliedCount", {
1271
+ count: kt(n),
1272
+ filters: Ke(n, W)
1259
1273
  }) : I("cleared")), Qt(!1, "submit");
1260
1274
  }
1261
1275
  }
1262
- function Et(e, t, n) {
1263
- let [r, i] = w(t), a = C(!1);
1264
- return S(() => {
1276
+ function Ot(e, t, n) {
1277
+ let [r, i] = T(t), a = w(!1);
1278
+ return C(() => {
1265
1279
  e && !a.current && (i(n.current ?? t), n.current = null), a.current = e;
1266
1280
  }, [
1267
1281
  e,
@@ -1272,19 +1286,19 @@ function Et(e, t, n) {
1272
1286
  value: r
1273
1287
  };
1274
1288
  }
1275
- function Dt(e) {
1276
- let t = A(e);
1289
+ function kt(e) {
1290
+ let t = j(e);
1277
1291
  if (!t) return 0;
1278
1292
  let n = 0, r = (e) => {
1279
- Qe(e) ? e.rules.forEach(r) : n += 1;
1293
+ A(e) ? e.rules.forEach(r) : n += 1;
1280
1294
  };
1281
1295
  return r(t), n;
1282
1296
  }
1283
- function Ot({ current: e, environment: t, field: n, invalid: r, onChange: i, onDone: a, queryDelay: o, withOperator: s = !0 }) {
1284
- let c = ce(), l = () => c.toggle(!1, "dismiss"), [u, d] = w(e ?? N(n)), f = C(null), p = JSON.stringify(e ?? null);
1285
- S(() => {
1297
+ function At({ current: e, environment: t, field: n, invalid: r, onChange: i, onDone: a, queryDelay: o, withOperator: s = !0 }) {
1298
+ let c = se(), l = () => c.toggle(!1, "dismiss"), [u, d] = T(e ?? P(n)), f = w(null), p = JSON.stringify(e ?? null);
1299
+ C(() => {
1286
1300
  !f.current && e && d(e);
1287
- }, [p]), S(() => () => {
1301
+ }, [p]), C(() => () => {
1288
1302
  f.current && clearTimeout(f.current);
1289
1303
  }, []);
1290
1304
  function m(e) {
@@ -1326,7 +1340,7 @@ function Ot({ current: e, environment: t, field: n, invalid: r, onChange: i, onD
1326
1340
  children: [/* @__PURE__ */ E(_, {
1327
1341
  disabled: n.required === !0,
1328
1342
  onClick: () => {
1329
- f.current && clearTimeout(f.current), d(N(n)), i(null), l();
1343
+ f.current && clearTimeout(f.current), d(P(n)), i(null), l();
1330
1344
  },
1331
1345
  size: "sm",
1332
1346
  tone: "secondary",
@@ -1341,4 +1355,4 @@ function Ot({ current: e, environment: t, field: n, invalid: r, onChange: i, onD
1341
1355
  });
1342
1356
  }
1343
1357
  //#endregion
1344
- export { ut as i, H as n, dt as r, z as t };
1358
+ export { lt as i, B as n, ut as r, bt as t };