@threadlabs/looma 0.2.4 → 0.2.6

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 (428) hide show
  1. package/dist/chunk-3K45IWIJ.js +4733 -0
  2. package/dist/chunk-MLKGABMK.js +9 -0
  3. package/dist/chunk-UHHA4WT5.js +2916 -0
  4. package/dist/declarative-generated.cjs +135 -0
  5. package/dist/declarative-generated.d.cts +10 -0
  6. package/dist/declarative-generated.d.ts +10 -0
  7. package/dist/declarative-generated.js +111 -0
  8. package/dist/declarative.cjs +2944 -0
  9. package/dist/declarative.d.cts +27 -0
  10. package/dist/declarative.d.ts +27 -0
  11. package/dist/declarative.js +13 -0
  12. package/dist/index.cjs +7480 -6457
  13. package/dist/index.d.cts +4 -58
  14. package/dist/index.d.ts +4 -58
  15. package/dist/index.js +15 -27
  16. package/dist/loader.cjs +7654 -0
  17. package/dist/loader.d.cts +4 -0
  18. package/dist/loader.d.ts +4 -0
  19. package/dist/loader.js +16 -0
  20. package/dist/valibot.cjs +31 -0
  21. package/dist/valibot.d.cts +10 -0
  22. package/dist/valibot.d.ts +1 -43
  23. package/dist/valibot.js +2 -0
  24. package/dist/{types/field/validation.d.ts → validation-bxcou-l-.d.cts} +13 -11
  25. package/dist/validation-bxcou-l-.d.ts +58 -0
  26. package/editor/{chunk-B5WVJOPV.js → chunk-BXICJBWS.js} +118 -8
  27. package/editor/{chunk-ZOUKEZ77.js → chunk-JK53ENSG.js} +8 -21
  28. package/editor/chunk-WI7ZA44X.js +2558 -0
  29. package/editor/extensions/index.d.ts +11 -2
  30. package/editor/extensions/index.js +9 -7
  31. package/editor/index.d.ts +1 -1
  32. package/editor/index.js +10 -8
  33. package/editor/ui.js +2 -2
  34. package/editor.css +32 -0
  35. package/layout/index.cjs +466 -400
  36. package/layout/index.d.cts +1 -2
  37. package/layout/index.d.ts +1 -2
  38. package/layout/index.js +471 -395
  39. package/package.json +14 -5
  40. package/styles.css +8 -8
  41. package/vue/chunk-4DPYH3IT.js +3538 -0
  42. package/vue/editor/index.d.ts +17 -7
  43. package/vue/editor/index.js +53 -35
  44. package/vue/index.d.ts +48 -31
  45. package/vue/index.js +1 -1
  46. package/dist/chunk-24OTMNIU.js +0 -1617
  47. package/dist/chunk-D5WRORG6.js +0 -366
  48. package/dist/chunk-HNFCGIBP.js +0 -8
  49. package/dist/chunk-NB6DBRXQ.js +0 -323
  50. package/dist/chunk-OF57X5AR.js +0 -10
  51. package/dist/chunk-TL4FIE7X.js +0 -93
  52. package/dist/chunk-UL7UIUJZ.js +0 -20
  53. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  54. package/dist/cjs/controlled-state-BFya8rAX.js +0 -9
  55. package/dist/cjs/events-TcQIzpNv.js +0 -19
  56. package/dist/cjs/icons-BAdjrnhS.js +0 -680
  57. package/dist/cjs/id-CYbKpaYr.js +0 -9
  58. package/dist/cjs/index-BHG9Rpil.js +0 -1602
  59. package/dist/cjs/index.cjs.js +0 -2
  60. package/dist/cjs/loader.cjs.js +0 -13
  61. package/dist/cjs/looma.cjs.js +0 -25
  62. package/dist/cjs/manager-Ce25WRtl.js +0 -95
  63. package/dist/cjs/positioning-CCR6ifPj.js +0 -426
  64. package/dist/cjs/ui-affordance-scope.cjs.entry.js +0 -43
  65. package/dist/cjs/ui-avatar-group.cjs.entry.js +0 -43
  66. package/dist/cjs/ui-avatar.cjs.entry.js +0 -50
  67. package/dist/cjs/ui-badge.cjs.entry.js +0 -19
  68. package/dist/cjs/ui-button.cjs.entry.js +0 -75
  69. package/dist/cjs/ui-callout.cjs.entry.js +0 -27
  70. package/dist/cjs/ui-checkbox.cjs.entry.js +0 -97
  71. package/dist/cjs/ui-chip_2.cjs.entry.js +0 -258
  72. package/dist/cjs/ui-combobox.cjs.entry.js +0 -708
  73. package/dist/cjs/ui-context-menu.cjs.entry.js +0 -239
  74. package/dist/cjs/ui-dialog.cjs.entry.js +0 -131
  75. package/dist/cjs/ui-disclosure.cjs.entry.js +0 -112
  76. package/dist/cjs/ui-editable.cjs.entry.js +0 -100
  77. package/dist/cjs/ui-floating-action-button.cjs.entry.js +0 -20
  78. package/dist/cjs/ui-form-field.cjs.entry.js +0 -114
  79. package/dist/cjs/ui-icon-button.cjs.entry.js +0 -23
  80. package/dist/cjs/ui-input.cjs.entry.js +0 -106
  81. package/dist/cjs/ui-menu-item.cjs.entry.js +0 -19
  82. package/dist/cjs/ui-menu.cjs.entry.js +0 -182
  83. package/dist/cjs/ui-popover.cjs.entry.js +0 -135
  84. package/dist/cjs/ui-radio-group.cjs.entry.js +0 -134
  85. package/dist/cjs/ui-radio.cjs.entry.js +0 -94
  86. package/dist/cjs/ui-search-result-row.cjs.entry.js +0 -47
  87. package/dist/cjs/ui-search-shell.cjs.entry.js +0 -39
  88. package/dist/cjs/ui-select.cjs.entry.js +0 -108
  89. package/dist/cjs/ui-switch.cjs.entry.js +0 -74
  90. package/dist/cjs/ui-tabs.cjs.entry.js +0 -118
  91. package/dist/cjs/ui-textarea.cjs.entry.js +0 -110
  92. package/dist/cjs/ui-toast-region.cjs.entry.js +0 -93
  93. package/dist/cjs/ui-top-bar.cjs.entry.js +0 -43
  94. package/dist/cjs/ui-tree-item.cjs.entry.js +0 -135
  95. package/dist/cjs/ui-tree.cjs.entry.js +0 -500
  96. package/dist/collection/collection-manifest.json +0 -45
  97. package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.css +0 -8
  98. package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.js +0 -70
  99. package/dist/collection/components/ui-avatar/ui-avatar.css +0 -35
  100. package/dist/collection/components/ui-avatar/ui-avatar.js +0 -130
  101. package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +0 -32
  102. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +0 -95
  103. package/dist/collection/components/ui-badge/ui-badge.css +0 -90
  104. package/dist/collection/components/ui-badge/ui-badge.js +0 -62
  105. package/dist/collection/components/ui-button/ui-button.css +0 -121
  106. package/dist/collection/components/ui-button/ui-button.js +0 -141
  107. package/dist/collection/components/ui-callout/ui-callout.css +0 -74
  108. package/dist/collection/components/ui-callout/ui-callout.js +0 -59
  109. package/dist/collection/components/ui-checkbox/ui-checkbox.css +0 -24
  110. package/dist/collection/components/ui-checkbox/ui-checkbox.js +0 -228
  111. package/dist/collection/components/ui-chip/ui-chip.css +0 -57
  112. package/dist/collection/components/ui-chip/ui-chip.js +0 -67
  113. package/dist/collection/components/ui-combobox/ui-combobox.css +0 -47
  114. package/dist/collection/components/ui-combobox/ui-combobox.js +0 -1295
  115. package/dist/collection/components/ui-context-menu/ui-context-menu.css +0 -34
  116. package/dist/collection/components/ui-context-menu/ui-context-menu.js +0 -311
  117. package/dist/collection/components/ui-dialog/ui-dialog.css +0 -72
  118. package/dist/collection/components/ui-dialog/ui-dialog.js +0 -242
  119. package/dist/collection/components/ui-disclosure/ui-disclosure.css +0 -7
  120. package/dist/collection/components/ui-disclosure/ui-disclosure.js +0 -184
  121. package/dist/collection/components/ui-editable/ui-editable.css +0 -2
  122. package/dist/collection/components/ui-editable/ui-editable.js +0 -196
  123. package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.css +0 -73
  124. package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +0 -85
  125. package/dist/collection/components/ui-form-field/ui-form-field.css +0 -25
  126. package/dist/collection/components/ui-form-field/ui-form-field.js +0 -180
  127. package/dist/collection/components/ui-icon-button/ui-icon-button.css +0 -145
  128. package/dist/collection/components/ui-icon-button/ui-icon-button.js +0 -128
  129. package/dist/collection/components/ui-input/ui-input.css +0 -48
  130. package/dist/collection/components/ui-input/ui-input.js +0 -217
  131. package/dist/collection/components/ui-menu/ui-menu.css +0 -73
  132. package/dist/collection/components/ui-menu/ui-menu.js +0 -280
  133. package/dist/collection/components/ui-menu-item/ui-menu-item.css +0 -32
  134. package/dist/collection/components/ui-menu-item/ui-menu-item.js +0 -64
  135. package/dist/collection/components/ui-popover/ui-popover.css +0 -58
  136. package/dist/collection/components/ui-popover/ui-popover.js +0 -232
  137. package/dist/collection/components/ui-radio/ui-radio.css +0 -22
  138. package/dist/collection/components/ui-radio/ui-radio.js +0 -226
  139. package/dist/collection/components/ui-radio-group/ui-radio-group.css +0 -10
  140. package/dist/collection/components/ui-radio-group/ui-radio-group.js +0 -247
  141. package/dist/collection/components/ui-search-result-row/ui-search-result-row.css +0 -80
  142. package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +0 -100
  143. package/dist/collection/components/ui-search-shell/ui-search-shell.css +0 -63
  144. package/dist/collection/components/ui-search-shell/ui-search-shell.js +0 -46
  145. package/dist/collection/components/ui-select/ui-select.css +0 -64
  146. package/dist/collection/components/ui-select/ui-select.js +0 -218
  147. package/dist/collection/components/ui-switch/ui-switch.css +0 -63
  148. package/dist/collection/components/ui-switch/ui-switch.js +0 -185
  149. package/dist/collection/components/ui-tabs/ui-tabs.css +0 -68
  150. package/dist/collection/components/ui-tabs/ui-tabs.js +0 -190
  151. package/dist/collection/components/ui-textarea/ui-textarea.css +0 -49
  152. package/dist/collection/components/ui-textarea/ui-textarea.js +0 -241
  153. package/dist/collection/components/ui-toast-region/ui-toast-region.css +0 -59
  154. package/dist/collection/components/ui-toast-region/ui-toast-region.js +0 -126
  155. package/dist/collection/components/ui-tooltip/ui-tooltip.css +0 -43
  156. package/dist/collection/components/ui-tooltip/ui-tooltip.js +0 -430
  157. package/dist/collection/components/ui-top-bar/ui-top-bar.css +0 -51
  158. package/dist/collection/components/ui-top-bar/ui-top-bar.js +0 -52
  159. package/dist/collection/components/ui-tree/ui-tree.css +0 -12
  160. package/dist/collection/components/ui-tree/ui-tree.js +0 -515
  161. package/dist/collection/components/ui-tree-item/ui-tree-item.css +0 -217
  162. package/dist/collection/components/ui-tree-item/ui-tree-item.js +0 -406
  163. package/dist/collection/field/combobox.js +0 -4
  164. package/dist/collection/field/editable.js +0 -1
  165. package/dist/collection/field/multi-combobox.js +0 -1
  166. package/dist/collection/field/valibot.js +0 -5
  167. package/dist/collection/field/validation.js +0 -62
  168. package/dist/collection/icons.js +0 -71
  169. package/dist/collection/input-modality.js +0 -24
  170. package/dist/collection/overlay/manager.js +0 -92
  171. package/dist/collection/overlay/positioning.js +0 -424
  172. package/dist/collection/utils/controlled-state.js +0 -4
  173. package/dist/collection/utils/drag-drop.js +0 -51
  174. package/dist/collection/utils/events.js +0 -13
  175. package/dist/collection/utils/id.js +0 -5
  176. package/dist/collection/utils/initials.js +0 -11
  177. package/dist/components/index.d.ts +0 -102
  178. package/dist/components/index.js +0 -1
  179. package/dist/components/p-6SWSrfmW.js +0 -1
  180. package/dist/components/p-B_DaIVEY.js +0 -1
  181. package/dist/components/p-Bh_1GxOD.js +0 -1
  182. package/dist/components/p-BnGhGgTH.js +0 -1
  183. package/dist/components/p-BzaB_bXo.js +0 -1
  184. package/dist/components/p-C-0syqXZ.js +0 -1
  185. package/dist/components/p-CoFximGM.js +0 -13
  186. package/dist/components/p-JwSoedEO.js +0 -1
  187. package/dist/components/p-Vc4ExHFc.js +0 -1
  188. package/dist/components/p-hgBUJRDa.js +0 -1
  189. package/dist/components/ui-affordance-scope.d.ts +0 -11
  190. package/dist/components/ui-affordance-scope.js +0 -1
  191. package/dist/components/ui-avatar-group.d.ts +0 -11
  192. package/dist/components/ui-avatar-group.js +0 -1
  193. package/dist/components/ui-avatar.d.ts +0 -11
  194. package/dist/components/ui-avatar.js +0 -1
  195. package/dist/components/ui-badge.d.ts +0 -11
  196. package/dist/components/ui-badge.js +0 -1
  197. package/dist/components/ui-button.d.ts +0 -11
  198. package/dist/components/ui-button.js +0 -1
  199. package/dist/components/ui-callout.d.ts +0 -11
  200. package/dist/components/ui-callout.js +0 -1
  201. package/dist/components/ui-checkbox.d.ts +0 -11
  202. package/dist/components/ui-checkbox.js +0 -1
  203. package/dist/components/ui-chip.d.ts +0 -11
  204. package/dist/components/ui-chip.js +0 -1
  205. package/dist/components/ui-combobox.d.ts +0 -11
  206. package/dist/components/ui-combobox.js +0 -1
  207. package/dist/components/ui-context-menu.d.ts +0 -11
  208. package/dist/components/ui-context-menu.js +0 -1
  209. package/dist/components/ui-dialog.d.ts +0 -11
  210. package/dist/components/ui-dialog.js +0 -1
  211. package/dist/components/ui-disclosure.d.ts +0 -11
  212. package/dist/components/ui-disclosure.js +0 -1
  213. package/dist/components/ui-editable.d.ts +0 -11
  214. package/dist/components/ui-editable.js +0 -1
  215. package/dist/components/ui-floating-action-button.d.ts +0 -11
  216. package/dist/components/ui-floating-action-button.js +0 -1
  217. package/dist/components/ui-form-field.d.ts +0 -11
  218. package/dist/components/ui-form-field.js +0 -1
  219. package/dist/components/ui-icon-button.d.ts +0 -11
  220. package/dist/components/ui-icon-button.js +0 -1
  221. package/dist/components/ui-input.d.ts +0 -11
  222. package/dist/components/ui-input.js +0 -1
  223. package/dist/components/ui-menu-item.d.ts +0 -11
  224. package/dist/components/ui-menu-item.js +0 -1
  225. package/dist/components/ui-menu.d.ts +0 -11
  226. package/dist/components/ui-menu.js +0 -1
  227. package/dist/components/ui-popover.d.ts +0 -11
  228. package/dist/components/ui-popover.js +0 -1
  229. package/dist/components/ui-radio-group.d.ts +0 -11
  230. package/dist/components/ui-radio-group.js +0 -1
  231. package/dist/components/ui-radio.d.ts +0 -11
  232. package/dist/components/ui-radio.js +0 -1
  233. package/dist/components/ui-search-result-row.d.ts +0 -11
  234. package/dist/components/ui-search-result-row.js +0 -1
  235. package/dist/components/ui-search-shell.d.ts +0 -11
  236. package/dist/components/ui-search-shell.js +0 -1
  237. package/dist/components/ui-select.d.ts +0 -11
  238. package/dist/components/ui-select.js +0 -1
  239. package/dist/components/ui-switch.d.ts +0 -11
  240. package/dist/components/ui-switch.js +0 -1
  241. package/dist/components/ui-tabs.d.ts +0 -11
  242. package/dist/components/ui-tabs.js +0 -1
  243. package/dist/components/ui-textarea.d.ts +0 -11
  244. package/dist/components/ui-textarea.js +0 -1
  245. package/dist/components/ui-toast-region.d.ts +0 -11
  246. package/dist/components/ui-toast-region.js +0 -1
  247. package/dist/components/ui-tooltip.d.ts +0 -11
  248. package/dist/components/ui-tooltip.js +0 -1
  249. package/dist/components/ui-top-bar.d.ts +0 -11
  250. package/dist/components/ui-top-bar.js +0 -1
  251. package/dist/components/ui-tree-item.d.ts +0 -11
  252. package/dist/components/ui-tree-item.js +0 -1
  253. package/dist/components/ui-tree.d.ts +0 -11
  254. package/dist/components/ui-tree.js +0 -1
  255. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  256. package/dist/esm/controlled-state-BnGhGgTH.js +0 -6
  257. package/dist/esm/events-JwSoedEO.js +0 -15
  258. package/dist/esm/icons-CoFximGM.js +0 -678
  259. package/dist/esm/id-hgBUJRDa.js +0 -7
  260. package/dist/esm/index-8BGiMGQ0.js +0 -1593
  261. package/dist/esm/index.js +0 -1
  262. package/dist/esm/loader.js +0 -11
  263. package/dist/esm/looma.js +0 -21
  264. package/dist/esm/manager-C-0syqXZ.js +0 -91
  265. package/dist/esm/positioning-ZOr-2PSe.js +0 -421
  266. package/dist/esm/ui-affordance-scope.entry.js +0 -41
  267. package/dist/esm/ui-avatar-group.entry.js +0 -41
  268. package/dist/esm/ui-avatar.entry.js +0 -48
  269. package/dist/esm/ui-badge.entry.js +0 -17
  270. package/dist/esm/ui-button.entry.js +0 -73
  271. package/dist/esm/ui-callout.entry.js +0 -25
  272. package/dist/esm/ui-checkbox.entry.js +0 -95
  273. package/dist/esm/ui-chip_2.entry.js +0 -255
  274. package/dist/esm/ui-combobox.entry.js +0 -706
  275. package/dist/esm/ui-context-menu.entry.js +0 -237
  276. package/dist/esm/ui-dialog.entry.js +0 -129
  277. package/dist/esm/ui-disclosure.entry.js +0 -110
  278. package/dist/esm/ui-editable.entry.js +0 -98
  279. package/dist/esm/ui-floating-action-button.entry.js +0 -18
  280. package/dist/esm/ui-form-field.entry.js +0 -112
  281. package/dist/esm/ui-icon-button.entry.js +0 -21
  282. package/dist/esm/ui-input.entry.js +0 -104
  283. package/dist/esm/ui-menu-item.entry.js +0 -17
  284. package/dist/esm/ui-menu.entry.js +0 -180
  285. package/dist/esm/ui-popover.entry.js +0 -133
  286. package/dist/esm/ui-radio-group.entry.js +0 -132
  287. package/dist/esm/ui-radio.entry.js +0 -92
  288. package/dist/esm/ui-search-result-row.entry.js +0 -45
  289. package/dist/esm/ui-search-shell.entry.js +0 -37
  290. package/dist/esm/ui-select.entry.js +0 -106
  291. package/dist/esm/ui-switch.entry.js +0 -72
  292. package/dist/esm/ui-tabs.entry.js +0 -116
  293. package/dist/esm/ui-textarea.entry.js +0 -108
  294. package/dist/esm/ui-toast-region.entry.js +0 -91
  295. package/dist/esm/ui-top-bar.entry.js +0 -41
  296. package/dist/esm/ui-tree-item.entry.js +0 -133
  297. package/dist/esm/ui-tree.entry.js +0 -498
  298. package/dist/index.cjs.js +0 -1
  299. package/dist/looma/index.esm.js +0 -0
  300. package/dist/looma/looma.esm.js +0 -1
  301. package/dist/looma/p-08f80207.entry.js +0 -1
  302. package/dist/looma/p-0b5b8d9e.entry.js +0 -1
  303. package/dist/looma/p-1249a806.entry.js +0 -1
  304. package/dist/looma/p-16e0669d.entry.js +0 -1
  305. package/dist/looma/p-1c00670f.entry.js +0 -1
  306. package/dist/looma/p-1c5a7522.entry.js +0 -1
  307. package/dist/looma/p-22842f8c.entry.js +0 -1
  308. package/dist/looma/p-2915d5c0.entry.js +0 -1
  309. package/dist/looma/p-3b2961a6.entry.js +0 -1
  310. package/dist/looma/p-3f60f4c8.entry.js +0 -1
  311. package/dist/looma/p-424d6719.entry.js +0 -1
  312. package/dist/looma/p-4caccfce.entry.js +0 -1
  313. package/dist/looma/p-5fdcee1d.entry.js +0 -1
  314. package/dist/looma/p-6d8b99ee.entry.js +0 -1
  315. package/dist/looma/p-6f20d470.entry.js +0 -1
  316. package/dist/looma/p-7c0b5364.entry.js +0 -1
  317. package/dist/looma/p-8BGiMGQ0.js +0 -2
  318. package/dist/looma/p-8bdd9495.entry.js +0 -1
  319. package/dist/looma/p-99116a72.entry.js +0 -1
  320. package/dist/looma/p-9cfbf722.entry.js +0 -1
  321. package/dist/looma/p-9d2662ca.entry.js +0 -1
  322. package/dist/looma/p-9ff2fa19.entry.js +0 -1
  323. package/dist/looma/p-BnGhGgTH.js +0 -1
  324. package/dist/looma/p-C-0syqXZ.js +0 -1
  325. package/dist/looma/p-CoFximGM.js +0 -13
  326. package/dist/looma/p-DQuL1Twl.js +0 -1
  327. package/dist/looma/p-JwSoedEO.js +0 -1
  328. package/dist/looma/p-ZOr-2PSe.js +0 -1
  329. package/dist/looma/p-a2dd4c6c.entry.js +0 -1
  330. package/dist/looma/p-add67e4c.entry.js +0 -1
  331. package/dist/looma/p-b6ede6bb.entry.js +0 -1
  332. package/dist/looma/p-b76e2111.entry.js +0 -1
  333. package/dist/looma/p-ca2a54fd.entry.js +0 -1
  334. package/dist/looma/p-d372b0db.entry.js +0 -1
  335. package/dist/looma/p-d4825822.entry.js +0 -1
  336. package/dist/looma/p-d56571a2.entry.js +0 -1
  337. package/dist/looma/p-d5c3954f.entry.js +0 -1
  338. package/dist/looma/p-e604e906.entry.js +0 -1
  339. package/dist/looma/p-f1f7c5cb.entry.js +0 -1
  340. package/dist/looma/p-hgBUJRDa.js +0 -1
  341. package/dist/types/components/ui-affordance-scope/ui-affordance-scope.d.ts +0 -11
  342. package/dist/types/components/ui-avatar/ui-avatar.d.ts +0 -11
  343. package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +0 -11
  344. package/dist/types/components/ui-badge/ui-badge.d.ts +0 -5
  345. package/dist/types/components/ui-button/ui-button.d.ts +0 -13
  346. package/dist/types/components/ui-callout/ui-callout.d.ts +0 -6
  347. package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +0 -20
  348. package/dist/types/components/ui-chip/ui-chip.d.ts +0 -8
  349. package/dist/types/components/ui-combobox/ui-combobox.d.ts +0 -128
  350. package/dist/types/components/ui-context-menu/ui-context-menu.d.ts +0 -43
  351. package/dist/types/components/ui-dialog/ui-dialog.d.ts +0 -27
  352. package/dist/types/components/ui-disclosure/ui-disclosure.d.ts +0 -21
  353. package/dist/types/components/ui-editable/ui-editable.d.ts +0 -24
  354. package/dist/types/components/ui-floating-action-button/ui-floating-action-button.d.ts +0 -6
  355. package/dist/types/components/ui-form-field/ui-form-field.d.ts +0 -18
  356. package/dist/types/components/ui-icon-button/ui-icon-button.d.ts +0 -9
  357. package/dist/types/components/ui-input/ui-input.d.ts +0 -19
  358. package/dist/types/components/ui-menu/ui-menu.d.ts +0 -28
  359. package/dist/types/components/ui-menu-item/ui-menu-item.d.ts +0 -5
  360. package/dist/types/components/ui-popover/ui-popover.d.ts +0 -26
  361. package/dist/types/components/ui-radio/ui-radio.d.ts +0 -20
  362. package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +0 -21
  363. package/dist/types/components/ui-search-result-row/ui-search-result-row.d.ts +0 -15
  364. package/dist/types/components/ui-search-shell/ui-search-shell.d.ts +0 -9
  365. package/dist/types/components/ui-select/ui-select.d.ts +0 -20
  366. package/dist/types/components/ui-switch/ui-switch.d.ts +0 -16
  367. package/dist/types/components/ui-tabs/ui-tabs.d.ts +0 -18
  368. package/dist/types/components/ui-textarea/ui-textarea.d.ts +0 -20
  369. package/dist/types/components/ui-toast-region/ui-toast-region.d.ts +0 -16
  370. package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +0 -57
  371. package/dist/types/components/ui-top-bar/ui-top-bar.d.ts +0 -12
  372. package/dist/types/components/ui-tree/ui-tree.d.ts +0 -53
  373. package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +0 -44
  374. package/dist/types/components.d.ts +0 -1889
  375. package/dist/types/field/combobox.d.ts +0 -46
  376. package/dist/types/field/editable.d.ts +0 -5
  377. package/dist/types/field/multi-combobox.d.ts +0 -11
  378. package/dist/types/field/valibot.d.ts +0 -7
  379. package/dist/types/icons.d.ts +0 -53
  380. package/dist/types/input-modality.d.ts +0 -6
  381. package/dist/types/overlay/manager.d.ts +0 -17
  382. package/dist/types/overlay/positioning.d.ts +0 -74
  383. package/dist/types/stencil-public-runtime.d.ts +0 -1860
  384. package/dist/types/utils/controlled-state.d.ts +0 -4
  385. package/dist/types/utils/drag-drop.d.ts +0 -15
  386. package/dist/types/utils/events.d.ts +0 -4
  387. package/dist/types/utils/id.d.ts +0 -1
  388. package/dist/types/utils/initials.d.ts +0 -1
  389. package/dist/ui-affordance-scope.entry-L6TIXYOP.js +0 -54
  390. package/dist/ui-avatar-group.entry-TCAA6P72.js +0 -51
  391. package/dist/ui-avatar.entry-52DQ7VXA.js +0 -51
  392. package/dist/ui-badge.entry-2XCAA6LL.js +0 -22
  393. package/dist/ui-button.entry-MNFBMNSX.js +0 -83
  394. package/dist/ui-callout.entry-SSHT5TH2.js +0 -32
  395. package/dist/ui-checkbox.entry-LOWIWIWI.js +0 -111
  396. package/dist/ui-chip_2.entry-BIMTSF6C.js +0 -272
  397. package/dist/ui-combobox.entry-25Z4MN7N.js +0 -717
  398. package/dist/ui-context-menu.entry-YZDL5Y4M.js +0 -248
  399. package/dist/ui-dialog.entry-HIXZX5AB.js +0 -146
  400. package/dist/ui-disclosure.entry-2JZHZNDQ.js +0 -126
  401. package/dist/ui-editable.entry-U3VR3XPT.js +0 -110
  402. package/dist/ui-floating-action-button.entry-6S3QN3KJ.js +0 -23
  403. package/dist/ui-form-field.entry-GQOSMLHT.js +0 -120
  404. package/dist/ui-icon-button.entry-QJXKVDM6.js +0 -26
  405. package/dist/ui-input.entry-UWMQ6JMP.js +0 -114
  406. package/dist/ui-menu-item.entry-NHNZKKJS.js +0 -22
  407. package/dist/ui-menu.entry-D53RUJND.js +0 -192
  408. package/dist/ui-popover.entry-7ZSIWCFQ.js +0 -152
  409. package/dist/ui-radio-group.entry-37MSYIH4.js +0 -142
  410. package/dist/ui-radio.entry-7YGCDHXT.js +0 -108
  411. package/dist/ui-search-result-row.entry-6FCCLGAS.js +0 -50
  412. package/dist/ui-search-shell.entry-HSBEXPER.js +0 -41
  413. package/dist/ui-select.entry-GIDIAYRD.js +0 -117
  414. package/dist/ui-switch.entry-MYAL6XPC.js +0 -87
  415. package/dist/ui-tabs.entry-R4TEXQSD.js +0 -128
  416. package/dist/ui-textarea.entry-FW32JNDV.js +0 -119
  417. package/dist/ui-toast-region.entry-BTMFPKZF.js +0 -104
  418. package/dist/ui-top-bar.entry-5DQGJF3B.js +0 -49
  419. package/dist/ui-tree-item.entry-ADT7DSOS.js +0 -145
  420. package/dist/ui-tree.entry-7PYQ5RIN.js +0 -470
  421. package/editor/chunk-64GLF274.js +0 -1271
  422. package/layout/index.css +0 -387
  423. package/loader/cdn.js +0 -1
  424. package/loader/index.cjs.js +0 -1
  425. package/loader/index.d.ts +0 -24
  426. package/loader/index.es2017.js +0 -1
  427. package/loader/index.js +0 -2
  428. package/vue/chunk-ROMBQS2L.js +0 -352
package/dist/esm/index.js DELETED
@@ -1 +0,0 @@
1
-
@@ -1,11 +0,0 @@
1
- import { b as bootstrapLazy } from './index-8BGiMGQ0.js';
2
- export { s as setNonce } from './index-8BGiMGQ0.js';
3
- import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
-
5
- const defineCustomElements = async (win, options) => {
6
- if (typeof window === 'undefined') return undefined;
7
- await globalScripts();
8
- return bootstrapLazy([["ui-combobox",[[769,"ui-combobox",{"label":[1],"placeholder":[1],"name":[1],"value":[1],"defaultValue":[1,"default-value"],"multiple":[516],"tokenSeparators":[16],"query":[1],"defaultQuery":[1,"default-query"],"config":[16],"disabled":[4],"readOnly":[4,"readonly"],"required":[4],"size":[1],"labelVisibility":[1,"label-visibility"],"disclosure":[4],"clearable":[4],"help":[1],"raw":[32],"display":[32],"selected":[32],"expanded":[32],"rows":[32],"active":[32],"loading":[32],"helpOpen":[32],"lookupError":[32],"validation":[32],"validate":[64],"focusInput":[64]},null,{"value":[{"syncValue":0}],"query":[{"syncQuery":0}],"disabled":[{"syncDisabled":0}],"readOnly":[{"syncDisabled":0}],"config":[{"syncConfig":0}]}]]],["ui-context-menu",[[769,"ui-context-menu",{"open":[4],"defaultOpen":[4,"default-open"],"for":[1],"internalOpen":[32],"focusTrigger":[32]},null,{"open":[{"syncFromProp":0}],"for":[{"syncTarget":0}],"internalOpen":[{"syncOverlay":0}]}]]],["ui-affordance-scope",[[769,"ui-affordance-scope",{"nearRadius":[514,"near-radius"]},null,{"nearRadius":[{"connectCoordinator":0}]}]]],["ui-avatar",[[513,"ui-avatar",{"src":[1],"alt":[1],"name":[1],"fallback":[1],"hasImage":[32]},null,{"src":[{"watchSrc":0}]}]]],["ui-avatar-group",[[769,"ui-avatar-group",{"max":[2],"label":[1],"overflowCount":[32]},null,{"max":[{"syncOverflow":0}]}]]],["ui-badge",[[769,"ui-badge",{"variant":[1],"tone":[1]}]]],["ui-button",[[769,"ui-button",{"variant":[1],"size":[1],"disabled":[516]},null,{"variant":[{"syncToButton":0}],"size":[{"syncToButton":0}],"disabled":[{"syncToButton":0}]}]]],["ui-callout",[[769,"ui-callout",{"tone":[1]}]]],["ui-checkbox",[[769,"ui-checkbox",{"checked":[4],"defaultChecked":[4,"default-checked"],"disabled":[4],"indeterminate":[4],"required":[4],"value":[1],"internalChecked":[32]},null,{"checked":[{"syncFromProp":0}],"internalChecked":[{"syncToInput":0}],"indeterminate":[{"syncToInput":0}],"disabled":[{"syncToInput":0}],"required":[{"syncToInput":0}]}]]],["ui-dialog",[[769,"ui-dialog",{"open":[4],"defaultOpen":[4,"default-open"],"modal":[4],"dismissible":[4],"label":[1],"internalOpen":[32],"accessibleLabel":[32]},null,{"open":[{"syncFromProp":0}],"label":[{"syncLabelFromProp":0}],"internalOpen":[{"syncOpen":0}]}]]],["ui-disclosure",[[769,"ui-disclosure",{"open":[4],"defaultOpen":[4,"default-open"],"disabled":[4],"internalOpen":[32],"contentId":[32]},null,{"open":[{"syncFromProp":0}],"internalOpen":[{"syncState":0}]}]]],["ui-editable",[[769,"ui-editable",{"edit":[4],"defaultEdit":[4,"default-edit"],"disabled":[4],"internalEdit":[32]},null,{"edit":[{"syncFromProp":0}]}]]],["ui-floating-action-button",[[769,"ui-floating-action-button",{"disabled":[516],"mobileOnly":[516,"mobile-only"],"label":[1]}]]],["ui-form-field",[[769,"ui-form-field",{"invalid":[4],"disabled":[4],"required":[4]}]]],["ui-icon-button",[[769,"ui-icon-button",{"disabled":[516],"label":[1],"size":[513],"variant":[513],"anticipatory":[516]}]]],["ui-input",[[769,"ui-input",{"value":[1],"defaultValue":[1,"default-value"],"disabled":[4],"invalid":[4],"readOnly":[4,"readonly"],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToInput":0}],"defaultValue":[{"syncToInput":0}],"disabled":[{"syncToInput":0}],"invalid":[{"syncToInput":0}],"readOnly":[{"syncToInput":0}]}]]],["ui-menu-item",[[769,"ui-menu-item",{"disabled":[516],"value":[1]}]]],["ui-popover",[[769,"ui-popover",{"open":[4],"defaultOpen":[4,"default-open"],"for":[1],"placement":[1],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"internalOpen":[{"onOpenChange":0}],"for":[{"resetSurface":0}],"placement":[{"resetSurface":0}]}]]],["ui-radio",[[769,"ui-radio",{"checked":[4],"defaultChecked":[4,"default-checked"],"disabled":[4],"name":[1],"required":[4],"value":[1],"internalChecked":[32]},null,{"checked":[{"syncFromProp":0}],"disabled":[{"syncToInput":0}],"name":[{"syncToInput":0}],"required":[{"syncToInput":0}],"value":[{"syncToInput":0}]}]]],["ui-radio-group",[[769,"ui-radio-group",{"value":[1],"name":[1],"orientation":[1],"disabled":[4],"required":[4],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToRadios":0}],"name":[{"syncToRadios":0}],"orientation":[{"syncToRadios":0}],"disabled":[{"syncToRadios":0}]}]]],["ui-search-result-row",[[769,"ui-search-result-row",{"disabled":[516],"selected":[516],"hasLeading":[32],"hasMeta":[32],"hasExcerpt":[32],"hasTrailing":[32]}]]],["ui-search-shell",[[769,"ui-search-shell",{"hasStatus":[32],"hasFooter":[32]}]]],["ui-select",[[769,"ui-select",{"value":[1],"defaultValue":[1,"default-value"],"disabled":[4],"invalid":[4],"required":[4],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToSelect":0}],"defaultValue":[{"syncToSelect":0}],"disabled":[{"syncToSelect":0}],"invalid":[{"syncToSelect":0}],"required":[{"syncToSelect":0}]}]]],["ui-switch",[[769,"ui-switch",{"checked":[4],"defaultChecked":[4,"default-checked"],"disabled":[4],"required":[4],"value":[1],"internalChecked":[32]},null,{"checked":[{"syncFromProp":0}]}]]],["ui-tabs",[[769,"ui-tabs",{"value":[1],"defaultValue":[1,"default-value"],"orientation":[1],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncState":0}],"orientation":[{"syncState":0}]}]]],["ui-textarea",[[769,"ui-textarea",{"value":[1],"defaultValue":[1,"default-value"],"disabled":[4],"invalid":[4],"readOnly":[4,"readonly"],"rows":[2],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToTextarea":0}],"defaultValue":[{"syncToTextarea":0}],"disabled":[{"syncToTextarea":0}],"invalid":[{"syncToTextarea":0}],"readOnly":[{"syncToTextarea":0}],"rows":[{"syncToTextarea":0}]}]]],["ui-toast-region",[[769,"ui-toast-region",{"open":[4],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"internalOpen":[{"syncSurface":0}]}]]],["ui-top-bar",[[769,"ui-top-bar",{"hasLeading":[32],"hasSearch":[32],"hasActions":[32]}]]],["ui-tree",[[769,"ui-tree",{"label":[1],"hoverExpandDelay":[2,"hover-expand-delay"],"maxDepth":[2,"max-depth"]}]]],["ui-tree-item",[[769,"ui-tree-item",{"itemId":[1,"item-id"],"label":[1],"dropDepth":[2,"drop-depth"],"subtreeDepth":[2,"subtree-depth"],"container":[4],"sortable":[4],"dragType":[1,"drag-type"],"dropScope":[1,"drop-scope"],"accepts":[1],"expanded":[4],"defaultExpanded":[4,"default-expanded"],"selected":[4],"disabled":[4],"internalExpanded":[32],"structuralLevel":[32],"tabStop":[32]},null,{"expanded":[{"syncExpandedFromProp":0}]}]]],["ui-menu",[[769,"ui-menu",{"open":[4],"defaultOpen":[4,"default-open"],"for":[1],"placement":[1],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"for":[{"resetSurface":0}],"placement":[{"resetSurface":0}],"internalOpen":[{"syncSurface":0}]}]]],["ui-chip_2",[[769,"ui-chip",{"appearance":[1],"size":[1]}],[769,"ui-tooltip",{"for":[1],"open":[4],"defaultOpen":[4,"default-open"],"placement":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"toggleOnClick":[4,"toggle-on-click"],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"for":[{"resetSurface":0}],"placement":[{"resetSurface":0}],"internalOpen":[{"syncOverlay":0}]}]]]], options);
9
- };
10
-
11
- export { defineCustomElements };
package/dist/esm/looma.js DELETED
@@ -1,21 +0,0 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-8BGiMGQ0.js';
2
- export { s as setNonce } from './index-8BGiMGQ0.js';
3
- import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
-
5
- /*
6
- Stencil Client Patch Browser v4.43.2 | MIT Licensed | https://stenciljs.com
7
- */
8
-
9
- var patchBrowser = () => {
10
- const importMeta = import.meta.url;
11
- const opts = {};
12
- if (importMeta !== "") {
13
- opts.resourcesUrl = new URL(".", importMeta).href;
14
- }
15
- return promiseResolve(opts);
16
- };
17
-
18
- patchBrowser().then(async (options) => {
19
- await globalScripts();
20
- return bootstrapLazy([["ui-combobox",[[769,"ui-combobox",{"label":[1],"placeholder":[1],"name":[1],"value":[1],"defaultValue":[1,"default-value"],"multiple":[516],"tokenSeparators":[16],"query":[1],"defaultQuery":[1,"default-query"],"config":[16],"disabled":[4],"readOnly":[4,"readonly"],"required":[4],"size":[1],"labelVisibility":[1,"label-visibility"],"disclosure":[4],"clearable":[4],"help":[1],"raw":[32],"display":[32],"selected":[32],"expanded":[32],"rows":[32],"active":[32],"loading":[32],"helpOpen":[32],"lookupError":[32],"validation":[32],"validate":[64],"focusInput":[64]},null,{"value":[{"syncValue":0}],"query":[{"syncQuery":0}],"disabled":[{"syncDisabled":0}],"readOnly":[{"syncDisabled":0}],"config":[{"syncConfig":0}]}]]],["ui-context-menu",[[769,"ui-context-menu",{"open":[4],"defaultOpen":[4,"default-open"],"for":[1],"internalOpen":[32],"focusTrigger":[32]},null,{"open":[{"syncFromProp":0}],"for":[{"syncTarget":0}],"internalOpen":[{"syncOverlay":0}]}]]],["ui-affordance-scope",[[769,"ui-affordance-scope",{"nearRadius":[514,"near-radius"]},null,{"nearRadius":[{"connectCoordinator":0}]}]]],["ui-avatar",[[513,"ui-avatar",{"src":[1],"alt":[1],"name":[1],"fallback":[1],"hasImage":[32]},null,{"src":[{"watchSrc":0}]}]]],["ui-avatar-group",[[769,"ui-avatar-group",{"max":[2],"label":[1],"overflowCount":[32]},null,{"max":[{"syncOverflow":0}]}]]],["ui-badge",[[769,"ui-badge",{"variant":[1],"tone":[1]}]]],["ui-button",[[769,"ui-button",{"variant":[1],"size":[1],"disabled":[516]},null,{"variant":[{"syncToButton":0}],"size":[{"syncToButton":0}],"disabled":[{"syncToButton":0}]}]]],["ui-callout",[[769,"ui-callout",{"tone":[1]}]]],["ui-checkbox",[[769,"ui-checkbox",{"checked":[4],"defaultChecked":[4,"default-checked"],"disabled":[4],"indeterminate":[4],"required":[4],"value":[1],"internalChecked":[32]},null,{"checked":[{"syncFromProp":0}],"internalChecked":[{"syncToInput":0}],"indeterminate":[{"syncToInput":0}],"disabled":[{"syncToInput":0}],"required":[{"syncToInput":0}]}]]],["ui-dialog",[[769,"ui-dialog",{"open":[4],"defaultOpen":[4,"default-open"],"modal":[4],"dismissible":[4],"label":[1],"internalOpen":[32],"accessibleLabel":[32]},null,{"open":[{"syncFromProp":0}],"label":[{"syncLabelFromProp":0}],"internalOpen":[{"syncOpen":0}]}]]],["ui-disclosure",[[769,"ui-disclosure",{"open":[4],"defaultOpen":[4,"default-open"],"disabled":[4],"internalOpen":[32],"contentId":[32]},null,{"open":[{"syncFromProp":0}],"internalOpen":[{"syncState":0}]}]]],["ui-editable",[[769,"ui-editable",{"edit":[4],"defaultEdit":[4,"default-edit"],"disabled":[4],"internalEdit":[32]},null,{"edit":[{"syncFromProp":0}]}]]],["ui-floating-action-button",[[769,"ui-floating-action-button",{"disabled":[516],"mobileOnly":[516,"mobile-only"],"label":[1]}]]],["ui-form-field",[[769,"ui-form-field",{"invalid":[4],"disabled":[4],"required":[4]}]]],["ui-icon-button",[[769,"ui-icon-button",{"disabled":[516],"label":[1],"size":[513],"variant":[513],"anticipatory":[516]}]]],["ui-input",[[769,"ui-input",{"value":[1],"defaultValue":[1,"default-value"],"disabled":[4],"invalid":[4],"readOnly":[4,"readonly"],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToInput":0}],"defaultValue":[{"syncToInput":0}],"disabled":[{"syncToInput":0}],"invalid":[{"syncToInput":0}],"readOnly":[{"syncToInput":0}]}]]],["ui-menu-item",[[769,"ui-menu-item",{"disabled":[516],"value":[1]}]]],["ui-popover",[[769,"ui-popover",{"open":[4],"defaultOpen":[4,"default-open"],"for":[1],"placement":[1],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"internalOpen":[{"onOpenChange":0}],"for":[{"resetSurface":0}],"placement":[{"resetSurface":0}]}]]],["ui-radio",[[769,"ui-radio",{"checked":[4],"defaultChecked":[4,"default-checked"],"disabled":[4],"name":[1],"required":[4],"value":[1],"internalChecked":[32]},null,{"checked":[{"syncFromProp":0}],"disabled":[{"syncToInput":0}],"name":[{"syncToInput":0}],"required":[{"syncToInput":0}],"value":[{"syncToInput":0}]}]]],["ui-radio-group",[[769,"ui-radio-group",{"value":[1],"name":[1],"orientation":[1],"disabled":[4],"required":[4],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToRadios":0}],"name":[{"syncToRadios":0}],"orientation":[{"syncToRadios":0}],"disabled":[{"syncToRadios":0}]}]]],["ui-search-result-row",[[769,"ui-search-result-row",{"disabled":[516],"selected":[516],"hasLeading":[32],"hasMeta":[32],"hasExcerpt":[32],"hasTrailing":[32]}]]],["ui-search-shell",[[769,"ui-search-shell",{"hasStatus":[32],"hasFooter":[32]}]]],["ui-select",[[769,"ui-select",{"value":[1],"defaultValue":[1,"default-value"],"disabled":[4],"invalid":[4],"required":[4],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToSelect":0}],"defaultValue":[{"syncToSelect":0}],"disabled":[{"syncToSelect":0}],"invalid":[{"syncToSelect":0}],"required":[{"syncToSelect":0}]}]]],["ui-switch",[[769,"ui-switch",{"checked":[4],"defaultChecked":[4,"default-checked"],"disabled":[4],"required":[4],"value":[1],"internalChecked":[32]},null,{"checked":[{"syncFromProp":0}]}]]],["ui-tabs",[[769,"ui-tabs",{"value":[1],"defaultValue":[1,"default-value"],"orientation":[1],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncState":0}],"orientation":[{"syncState":0}]}]]],["ui-textarea",[[769,"ui-textarea",{"value":[1],"defaultValue":[1,"default-value"],"disabled":[4],"invalid":[4],"readOnly":[4,"readonly"],"rows":[2],"internalValue":[32]},null,{"value":[{"syncFromProp":0}],"internalValue":[{"syncToTextarea":0}],"defaultValue":[{"syncToTextarea":0}],"disabled":[{"syncToTextarea":0}],"invalid":[{"syncToTextarea":0}],"readOnly":[{"syncToTextarea":0}],"rows":[{"syncToTextarea":0}]}]]],["ui-toast-region",[[769,"ui-toast-region",{"open":[4],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"internalOpen":[{"syncSurface":0}]}]]],["ui-top-bar",[[769,"ui-top-bar",{"hasLeading":[32],"hasSearch":[32],"hasActions":[32]}]]],["ui-tree",[[769,"ui-tree",{"label":[1],"hoverExpandDelay":[2,"hover-expand-delay"],"maxDepth":[2,"max-depth"]}]]],["ui-tree-item",[[769,"ui-tree-item",{"itemId":[1,"item-id"],"label":[1],"dropDepth":[2,"drop-depth"],"subtreeDepth":[2,"subtree-depth"],"container":[4],"sortable":[4],"dragType":[1,"drag-type"],"dropScope":[1,"drop-scope"],"accepts":[1],"expanded":[4],"defaultExpanded":[4,"default-expanded"],"selected":[4],"disabled":[4],"internalExpanded":[32],"structuralLevel":[32],"tabStop":[32]},null,{"expanded":[{"syncExpandedFromProp":0}]}]]],["ui-menu",[[769,"ui-menu",{"open":[4],"defaultOpen":[4,"default-open"],"for":[1],"placement":[1],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"for":[{"resetSurface":0}],"placement":[{"resetSurface":0}],"internalOpen":[{"syncSurface":0}]}]]],["ui-chip_2",[[769,"ui-chip",{"appearance":[1],"size":[1]}],[769,"ui-tooltip",{"for":[1],"open":[4],"defaultOpen":[4,"default-open"],"placement":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"toggleOnClick":[4,"toggle-on-click"],"internalOpen":[32]},null,{"open":[{"syncFromProp":0}],"for":[{"resetSurface":0}],"placement":[{"resetSurface":0}],"internalOpen":[{"syncOverlay":0}]}]]]], options);
21
- });
@@ -1,91 +0,0 @@
1
- const stack = [];
2
- const scrollLockAttribute = "data-ui-scroll-lock";
3
- let modalCount = 0;
4
- let listenersAttached = false;
5
- function syncScrollLock() {
6
- if (typeof document === "undefined") {
7
- return;
8
- }
9
- const root = document.documentElement;
10
- if (modalCount > 0) {
11
- root.setAttribute(scrollLockAttribute, "true");
12
- root.style.overflow = "hidden";
13
- return;
14
- }
15
- root.removeAttribute(scrollLockAttribute);
16
- root.style.removeProperty("overflow");
17
- }
18
- function getOverlayDismissible(record) {
19
- return record.dismissible ?? true;
20
- }
21
- function handleEscape(event) {
22
- if (event.key !== "Escape") {
23
- return;
24
- }
25
- requestTopOverlayClose("escape", "keyboard");
26
- }
27
- function handleLightDismiss(event) {
28
- const top = getTopOverlay();
29
- if (!top || !getOverlayDismissible(top)) {
30
- return;
31
- }
32
- // A document listener sees a shadow host as event.target. Use the composed
33
- // path so connected controls inside a field remain inside the overlay boundary.
34
- const boundary = [top.element, ...(top.relatedElements ?? [])];
35
- if (event.composedPath().some(target => target instanceof Node
36
- && boundary.some(element => element.contains(target))))
37
- return;
38
- requestTopOverlayClose("light-dismiss", "pointer");
39
- }
40
- function ensureListeners() {
41
- if (listenersAttached || typeof document === "undefined") {
42
- return;
43
- }
44
- document.addEventListener("keydown", handleEscape);
45
- document.addEventListener("pointerdown", handleLightDismiss, { capture: true });
46
- listenersAttached = true;
47
- }
48
- function removeListenersIfIdle() {
49
- if (!listenersAttached || stack.length > 0 || typeof document === "undefined") {
50
- return;
51
- }
52
- document.removeEventListener("keydown", handleEscape);
53
- document.removeEventListener("pointerdown", handleLightDismiss, { capture: true });
54
- listenersAttached = false;
55
- }
56
- function openOverlay(record) {
57
- closeOverlay(record.id);
58
- stack.push(record);
59
- if (record.modal) {
60
- modalCount += 1;
61
- syncScrollLock();
62
- }
63
- ensureListeners();
64
- }
65
- function closeOverlay(id) {
66
- const index = stack.findIndex((record) => record.id === id);
67
- if (index >= 0) {
68
- const [record] = stack.splice(index, 1);
69
- if (record?.modal) {
70
- modalCount = Math.max(0, modalCount - 1);
71
- syncScrollLock();
72
- }
73
- }
74
- removeListenersIfIdle();
75
- }
76
- function getTopOverlay() {
77
- return stack.at(-1);
78
- }
79
- function requestTopOverlayClose(reason, trigger) {
80
- const top = getTopOverlay();
81
- if (!top) {
82
- return false;
83
- }
84
- if (!getOverlayDismissible(top) && (reason === "escape" || reason === "light-dismiss")) {
85
- return false;
86
- }
87
- top.requestClose(reason, trigger);
88
- return true;
89
- }
90
-
91
- export { closeOverlay as c, openOverlay as o, requestTopOverlayClose as r };
@@ -1,421 +0,0 @@
1
- const DEFAULT_AFFORDANCE_NEAR_RADIUS = 16;
2
- let anchorSequence = 0;
3
- const anchorBindings = new WeakMap();
4
- function bindAnchorName(anchor, name) {
5
- const binding = anchorBindings.get(anchor) ?? {
6
- original: anchor.style.getPropertyValue("anchor-name"),
7
- names: new Set(),
8
- };
9
- binding.names.add(name);
10
- anchorBindings.set(anchor, binding);
11
- const values = [binding.original, ...binding.names].filter(Boolean);
12
- anchor.style.setProperty("anchor-name", values.join(", "));
13
- }
14
- function unbindAnchorName(anchor, name) {
15
- const binding = anchorBindings.get(anchor);
16
- if (!binding)
17
- return;
18
- binding.names.delete(name);
19
- if (binding.names.size) {
20
- const values = [binding.original, ...binding.names].filter(Boolean);
21
- anchor.style.setProperty("anchor-name", values.join(", "));
22
- return;
23
- }
24
- if (binding.original)
25
- anchor.style.setProperty("anchor-name", binding.original);
26
- else
27
- anchor.style.removeProperty("anchor-name");
28
- anchorBindings.delete(anchor);
29
- }
30
- function supportsAnchorPositioning(owner) {
31
- const css = owner.CSS;
32
- return typeof css?.supports === "function"
33
- && css.supports("anchor-name: --ui-anchor-test")
34
- && css.supports("position-anchor: --ui-anchor-test")
35
- && css.supports("top: anchor(bottom)");
36
- }
37
- function topLayerOpen(surface) {
38
- try {
39
- return surface.matches(":popover-open");
40
- }
41
- catch {
42
- return !surface.hidden;
43
- }
44
- }
45
- function showInTopLayer(surface) {
46
- surface.setAttribute("popover", "manual");
47
- surface.hidden = false;
48
- if (typeof surface.showPopover === "function" && !topLayerOpen(surface)) {
49
- try {
50
- surface.showPopover();
51
- }
52
- catch {
53
- // A disconnected or already-transitioning surface still receives the
54
- // fixed-position fallback below and will be retried on the next sync.
55
- }
56
- }
57
- }
58
- function hideFromTopLayer(surface) {
59
- if (typeof surface.hidePopover === "function" && topLayerOpen(surface)) {
60
- try {
61
- surface.hidePopover();
62
- }
63
- catch {
64
- // The surface may have been disconnected between state and DOM updates.
65
- }
66
- }
67
- surface.hidden = true;
68
- }
69
- /**
70
- * Places unanchored floating UI, such as a toast region, in the browser top
71
- * layer. Its viewport position remains CSS-owned; the controller only provides
72
- * the native Popover API boundary and its no-Popover fallback.
73
- */
74
- function createViewportSurface(surface) {
75
- surface.setAttribute("popover", "manual");
76
- surface.dataset.uiPositioning = "viewport";
77
- return {
78
- show() {
79
- showInTopLayer(surface);
80
- },
81
- hide() {
82
- hideFromTopLayer(surface);
83
- },
84
- destroy() {
85
- hideFromTopLayer(surface);
86
- },
87
- };
88
- }
89
- function fallbackPosition(surface, anchor, placement, gap, viewportGap, surfaceRect = surface.getBoundingClientRect()) {
90
- const owner = surface.ownerDocument.defaultView ?? window;
91
- const viewport = getVisualViewportRect(owner);
92
- const preferTop = placement.startsWith("top");
93
- const preferEnd = placement.endsWith("end");
94
- const spaceBelow = viewport.bottom - anchor.bottom - viewportGap;
95
- const spaceAbove = anchor.top - viewport.top - viewportGap;
96
- const useTop = preferTop
97
- ? !(spaceAbove < surfaceRect.height + gap && spaceBelow > spaceAbove)
98
- : spaceBelow < surfaceRect.height + gap && spaceAbove > spaceBelow;
99
- const unclampedTop = useTop
100
- ? anchor.top - surfaceRect.height - gap
101
- : anchor.bottom + gap;
102
- const unclampedLeft = preferEnd
103
- ? anchor.right - surfaceRect.width
104
- : anchor.left;
105
- const shifted = clampRectToViewport({
106
- left: unclampedLeft,
107
- top: unclampedTop,
108
- width: surfaceRect.width,
109
- height: surfaceRect.height,
110
- }, viewport, viewportGap);
111
- surface.style.left = `${Math.round(unclampedLeft + shifted.x)}px`;
112
- surface.style.top = `${Math.round(unclampedTop + shifted.y)}px`;
113
- surface.style.right = "auto";
114
- surface.style.bottom = "auto";
115
- }
116
- /**
117
- * One lightweight positioning controller for Looma floating UI. Native
118
- * Popover provides the top layer and CSS Anchor Positioning follows a named
119
- * element. Browsers without Anchor Positioning use the same flip/shift
120
- * geometry through scroll/resize listeners that exist only while open.
121
- */
122
- function createAnchoredSurface(surface, options = {}) {
123
- const owner = surface.ownerDocument.defaultView ?? window;
124
- const placement = options.placement ?? "bottom-start";
125
- const gap = Math.max(0, options.gap ?? 4);
126
- const viewportGap = Math.max(0, options.viewportGap ?? 8);
127
- const nativeAnchor = supportsAnchorPositioning(owner);
128
- const anchorName = `--ui-anchor-${++anchorSequence}`;
129
- let anchor = options.anchor ?? null;
130
- let point = null;
131
- let open = false;
132
- let frame = null;
133
- let listenerAbort = null;
134
- let sizeObserver = null;
135
- // The surface can enter the top layer before its content has laid out (a
136
- // menu's items, a tooltip's text), so its measured size is briefly zero or
137
- // stale and the viewport clamp would run against the wrong geometry. Re-run
138
- // positioning whenever the surface's own size settles.
139
- const ResizeObserverImpl = owner.ResizeObserver;
140
- const observeSurfaceSize = () => {
141
- if (sizeObserver || typeof ResizeObserverImpl !== "function")
142
- return;
143
- sizeObserver = new ResizeObserverImpl(() => schedule());
144
- sizeObserver.observe(surface);
145
- };
146
- const stopObservingSurfaceSize = () => {
147
- sizeObserver?.disconnect();
148
- sizeObserver = null;
149
- };
150
- surface.setAttribute("popover", "manual");
151
- surface.dataset.uiPositioning = nativeAnchor ? "anchor" : "fallback";
152
- surface.style.position = "fixed";
153
- surface.style.margin = "0";
154
- const bindAnchor = (next) => {
155
- if (anchor)
156
- unbindAnchorName(anchor, anchorName);
157
- anchor = next;
158
- if (!anchor) {
159
- surface.style.removeProperty("position-anchor");
160
- return;
161
- }
162
- bindAnchorName(anchor, anchorName);
163
- surface.style.setProperty("position-anchor", anchorName);
164
- };
165
- const positionNative = () => {
166
- const blockEnd = placement.startsWith("bottom");
167
- const inlineEnd = placement.endsWith("end");
168
- surface.style.top = blockEnd ? `calc(anchor(bottom) + ${gap}px)` : "auto";
169
- surface.style.bottom = blockEnd ? "auto" : `calc(anchor(top) + ${gap}px)`;
170
- surface.style.left = inlineEnd ? "auto" : "anchor(left)";
171
- surface.style.right = inlineEnd ? "anchor(right)" : "auto";
172
- surface.style.setProperty("position-try-fallbacks", "flip-block, flip-inline");
173
- };
174
- const position = () => {
175
- frame = null;
176
- if (!open)
177
- return;
178
- if (point) {
179
- fallbackPosition(surface, {
180
- left: point.x,
181
- right: point.x,
182
- top: point.y,
183
- bottom: point.y}, "bottom-start", gap, viewportGap);
184
- return;
185
- }
186
- if (!anchor)
187
- return;
188
- let surfaceRect;
189
- if (nativeAnchor) {
190
- positionNative();
191
- const viewport = getVisualViewportRect(owner);
192
- surfaceRect = surface.getBoundingClientRect();
193
- // The surface can be measured before it paints (its first frames in the
194
- // top layer, or while slow content/fonts settle), reporting a zero size.
195
- // The pixel fallback below would then place it at `anchor - 0`, i.e. off
196
- // the anchored edge, and leave it stranded there. Trust native anchor
197
- // placement — which does not depend on our measurement — until the
198
- // surface has real geometry; the scheduled re-run and ResizeObserver
199
- // re-position once it does.
200
- if (surfaceRect.width === 0 || surfaceRect.height === 0)
201
- return;
202
- const shift = clampRectToViewport(surfaceRect, viewport, viewportGap);
203
- if (shift.x === 0 && shift.y === 0)
204
- return;
205
- }
206
- fallbackPosition(surface, anchor.getBoundingClientRect(), placement, gap, viewportGap, surfaceRect);
207
- };
208
- const schedule = () => {
209
- if (!open || frame !== null)
210
- return;
211
- frame = owner.requestAnimationFrame(position);
212
- };
213
- const syncFallbackListeners = () => {
214
- // Native anchor positioning handles ordinary placement, but the shared
215
- // controller still owns viewport containment when neither side can fit.
216
- const needsListeners = open && (point !== null || anchor !== null);
217
- if (!needsListeners) {
218
- listenerAbort?.abort();
219
- listenerAbort = null;
220
- return;
221
- }
222
- if (listenerAbort)
223
- return;
224
- listenerAbort = new AbortController();
225
- const signal = listenerAbort.signal;
226
- owner.addEventListener("resize", schedule, { passive: true, signal });
227
- owner.addEventListener("scroll", schedule, { passive: true, capture: true, signal });
228
- owner.visualViewport?.addEventListener("resize", schedule, { passive: true, signal });
229
- owner.visualViewport?.addEventListener("scroll", schedule, { passive: true, signal });
230
- };
231
- bindAnchor(anchor);
232
- return {
233
- setAnchor(next) {
234
- point = null;
235
- bindAnchor(next);
236
- syncFallbackListeners();
237
- schedule();
238
- },
239
- show() {
240
- point = null;
241
- open = true;
242
- syncFallbackListeners();
243
- showInTopLayer(surface);
244
- position();
245
- // The surface has just entered the top layer and may not be laid out yet,
246
- // so the first position() can measure a zero/stale size and skip the
247
- // viewport clamp. Re-position on the next frame, and keep re-positioning
248
- // while the surface's own size settles as its content renders.
249
- schedule();
250
- observeSurfaceSize();
251
- },
252
- showAtPoint(nextPoint) {
253
- point = nextPoint;
254
- open = true;
255
- syncFallbackListeners();
256
- showInTopLayer(surface);
257
- position();
258
- schedule();
259
- observeSurfaceSize();
260
- },
261
- hide() {
262
- open = false;
263
- point = null;
264
- syncFallbackListeners();
265
- stopObservingSurfaceSize();
266
- if (frame !== null)
267
- owner.cancelAnimationFrame(frame);
268
- frame = null;
269
- hideFromTopLayer(surface);
270
- },
271
- refresh: schedule,
272
- destroy() {
273
- open = false;
274
- listenerAbort?.abort();
275
- listenerAbort = null;
276
- stopObservingSurfaceSize();
277
- if (frame !== null)
278
- owner.cancelAnimationFrame(frame);
279
- frame = null;
280
- hideFromTopLayer(surface);
281
- bindAnchor(null);
282
- },
283
- };
284
- }
285
- function getVisualViewportRect(owner = window) {
286
- const viewport = owner.visualViewport;
287
- const left = viewport?.offsetLeft ?? 0;
288
- const top = viewport?.offsetTop ?? 0;
289
- const width = viewport?.width ?? owner.innerWidth;
290
- const height = viewport?.height ?? owner.innerHeight;
291
- return {
292
- left,
293
- top,
294
- right: left + width,
295
- bottom: top + height,
296
- width,
297
- height,
298
- };
299
- }
300
- function clampRectToViewport(rect, viewport = getVisualViewportRect(), gutter = 0) {
301
- const availableWidth = Math.max(0, viewport.width - (gutter * 2));
302
- const availableHeight = Math.max(0, viewport.height - (gutter * 2));
303
- const targetLeft = rect.width > availableWidth
304
- ? viewport.left + gutter
305
- : Math.min(Math.max(rect.left, viewport.left + gutter), viewport.right - gutter - rect.width);
306
- const targetTop = rect.height > availableHeight
307
- ? viewport.top + gutter
308
- : Math.min(Math.max(rect.top, viewport.top + gutter), viewport.bottom - gutter - rect.height);
309
- return { x: targetLeft - rect.left, y: targetTop - rect.top };
310
- }
311
- function distanceFromPointToRect(point, rect) {
312
- const dx = Math.max(rect.left - point.x, 0, point.x - rect.right);
313
- const dy = Math.max(rect.top - point.y, 0, point.y - rect.bottom);
314
- return Math.hypot(dx, dy);
315
- }
316
- /**
317
- * Coordinates anticipatory UI within one interaction scope.
318
- *
319
- * The coordinator deliberately owns one pointer listener and one animation-frame
320
- * update for the whole scope. Anchors remain the only hit-testable controls; the
321
- * reflected state is presentation-only, so overlapping near regions do not steal
322
- * pointer input from each other or from surrounding content.
323
- */
324
- function createProximityCoordinator(scope, options = {}) {
325
- const owner = scope.ownerDocument.defaultView ?? window;
326
- const pointerTarget = options.pointerTarget ?? scope;
327
- const anchorSelector = options.anchorSelector ?? "[data-ui-affordance]";
328
- const configuredRadius = options.nearRadius ?? DEFAULT_AFFORDANCE_NEAR_RADIUS;
329
- const nearRadius = Number.isFinite(configuredRadius)
330
- ? Math.max(0, configuredRadius)
331
- : DEFAULT_AFFORDANCE_NEAR_RADIUS;
332
- const abort = new AbortController();
333
- let anchors = [];
334
- let frame = null;
335
- let point = null;
336
- let geometryDirty = false;
337
- const clear = () => {
338
- for (const { element } of anchors) {
339
- if (element.hasAttribute("data-ui-proximity")) {
340
- element.removeAttribute("data-ui-proximity");
341
- }
342
- }
343
- if (scope.hasAttribute("data-ui-interaction")) {
344
- scope.removeAttribute("data-ui-interaction");
345
- }
346
- };
347
- const measure = () => {
348
- anchors = Array.from(scope.querySelectorAll(anchorSelector))
349
- .filter((element) => !element.hasAttribute("disabled") && element.getAttribute("aria-disabled") !== "true")
350
- .map((element) => ({ element, rect: element.getBoundingClientRect() }));
351
- geometryDirty = false;
352
- };
353
- const update = () => {
354
- frame = null;
355
- if (geometryDirty)
356
- measure();
357
- if (!point) {
358
- clear();
359
- return;
360
- }
361
- let engaged = false;
362
- for (const anchor of anchors) {
363
- const near = distanceFromPointToRect(point, anchor.rect) <= nearRadius;
364
- if (near && anchor.element.getAttribute("data-ui-proximity") !== "near") {
365
- anchor.element.setAttribute("data-ui-proximity", "near");
366
- }
367
- else if (!near && anchor.element.hasAttribute("data-ui-proximity")) {
368
- anchor.element.removeAttribute("data-ui-proximity");
369
- }
370
- engaged ||= near;
371
- }
372
- if (engaged && scope.getAttribute("data-ui-interaction") !== "engaged") {
373
- scope.setAttribute("data-ui-interaction", "engaged");
374
- }
375
- else if (!engaged && scope.hasAttribute("data-ui-interaction")) {
376
- scope.removeAttribute("data-ui-interaction");
377
- }
378
- };
379
- const schedule = () => {
380
- if (frame !== null)
381
- return;
382
- frame = owner.requestAnimationFrame(update);
383
- };
384
- const onPointerMove = (event) => {
385
- const pointer = event;
386
- if (pointer.pointerType === "touch") {
387
- point = null;
388
- }
389
- else {
390
- point = { x: pointer.clientX, y: pointer.clientY };
391
- }
392
- schedule();
393
- };
394
- const invalidate = () => {
395
- geometryDirty = true;
396
- schedule();
397
- };
398
- pointerTarget.addEventListener("pointermove", onPointerMove, {
399
- passive: true,
400
- signal: abort.signal,
401
- });
402
- owner.addEventListener("resize", invalidate, { passive: true, signal: abort.signal });
403
- owner.addEventListener("scroll", invalidate, { passive: true, capture: true, signal: abort.signal });
404
- owner.visualViewport?.addEventListener("resize", invalidate, { passive: true, signal: abort.signal });
405
- owner.visualViewport?.addEventListener("scroll", invalidate, { passive: true, signal: abort.signal });
406
- measure();
407
- return {
408
- refresh: invalidate,
409
- destroy() {
410
- abort.abort();
411
- if (frame !== null)
412
- owner.cancelAnimationFrame(frame);
413
- frame = null;
414
- point = null;
415
- clear();
416
- anchors = [];
417
- },
418
- };
419
- }
420
-
421
- export { DEFAULT_AFFORDANCE_NEAR_RADIUS as D, createAnchoredSurface as a, createViewportSurface as b, createProximityCoordinator as c };
@@ -1,41 +0,0 @@
1
- import { r as registerInstance, g as getElement, h, H as Host } from './index-8BGiMGQ0.js';
2
- import { D as DEFAULT_AFFORDANCE_NEAR_RADIUS, c as createProximityCoordinator } from './positioning-ZOr-2PSe.js';
3
-
4
- const uiAffordanceScopeCss = () => `:host{display:contents;--ui-affordance-scope-engaged:0}:host([data-ui-interaction='engaged']){--ui-affordance-scope-engaged:1}`;
5
-
6
- const UIAffordanceScope = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- }
10
- get host() { return getElement(this); }
11
- /** Distance outside each registered affordance that reveals its near state. */
12
- nearRadius = DEFAULT_AFFORDANCE_NEAR_RADIUS;
13
- coordinator = null;
14
- componentDidLoad() {
15
- this.connectCoordinator();
16
- }
17
- disconnectedCallback() {
18
- this.coordinator?.destroy();
19
- this.coordinator = null;
20
- }
21
- connectCoordinator() {
22
- this.coordinator?.destroy();
23
- this.coordinator = createProximityCoordinator(this.host, {
24
- nearRadius: this.nearRadius,
25
- });
26
- }
27
- onSlotChange = () => {
28
- this.coordinator?.refresh();
29
- };
30
- render() {
31
- return (h(Host, { key: 'f500fa48554ed6224efd2dbe9632880bf0a15a19' }, h("slot", { key: '37c5c5b7925b260ff8f9edd411ee6c90a12a4909', onSlotchange: this.onSlotChange })));
32
- }
33
- static get watchers() { return {
34
- "nearRadius": [{
35
- "connectCoordinator": 0
36
- }]
37
- }; }
38
- };
39
- UIAffordanceScope.style = uiAffordanceScopeCss();
40
-
41
- export { UIAffordanceScope as ui_affordance_scope };
@@ -1,41 +0,0 @@
1
- import { r as registerInstance, g as getElement, h, H as Host } from './index-8BGiMGQ0.js';
2
-
3
- const uiAvatarGroupCss = () => `:host{display:flex;align-items:center;flex-direction:row-reverse;gap:0}::slotted(*){margin-inline-end:-0.5rem;flex-shrink:0}::slotted(*:last-of-type){margin-inline-end:0}.overflow{margin-inline-end:-0.5rem;display:inline-flex;align-items:center;justify-content:center;inline-size:2.5rem;block-size:2.5rem;border-radius:999px;border:1px solid var(--ui-border-default);background:var(--ui-surface-muted);color:var(--ui-text-secondary);font:inherit;font-size:0.75rem;font-weight:600;flex-shrink:0}`;
4
-
5
- const UIAvatarGroup = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- get host() { return getElement(this); }
10
- max = 5;
11
- label = 'People';
12
- overflowCount = 0;
13
- syncOverflow() {
14
- this.updateOverflow();
15
- }
16
- componentDidLoad() {
17
- this.updateOverflow();
18
- }
19
- visibleLimit() {
20
- return Number.isFinite(this.max) ? Math.max(0, Math.floor(this.max)) : 0;
21
- }
22
- updateOverflow() {
23
- const children = Array.from(this.host.children);
24
- const total = children.length;
25
- const visibleLimit = this.visibleLimit();
26
- const overflowCount = total > visibleLimit ? total - visibleLimit : 0;
27
- if (this.overflowCount !== overflowCount)
28
- this.overflowCount = overflowCount;
29
- }
30
- render() {
31
- return (h(Host, { key: '9ba6693cabc379bbbe6f5698160481f27fe02f31', role: "group", "aria-label": this.label || undefined }, h("style", { key: 'ed231fe96c16a3cdd5a66d4828664c75c6959a9e' }, `::slotted(:nth-child(n + ${this.visibleLimit() + 1})) { display: none !important; }`), h("slot", { key: '463005a7f3c498c80c768151ab32c873ff1abf86', onSlotchange: () => this.updateOverflow() }), this.overflowCount > 0 && (h("span", { key: 'dc1ba88fd97ca461e6518d223f00a93416e6d0f0', class: "overflow", role: "img", "aria-label": `${this.overflowCount} more ${this.overflowCount === 1 ? 'person' : 'people'}`, "data-ui-avatar-group-overflow": true }, "+", this.overflowCount))));
32
- }
33
- static get watchers() { return {
34
- "max": [{
35
- "syncOverflow": 0
36
- }]
37
- }; }
38
- };
39
- UIAvatarGroup.style = uiAvatarGroupCss();
40
-
41
- export { UIAvatarGroup as ui_avatar_group };