@threadlabs/looma 0.2.5 → 0.2.7
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.
- package/dist/chunk-3HMMDK27.js +2914 -0
- package/dist/chunk-3K45IWIJ.js +4733 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/declarative-generated.cjs +135 -0
- package/dist/declarative-generated.d.cts +10 -0
- package/dist/declarative-generated.d.ts +10 -0
- package/dist/declarative-generated.js +111 -0
- package/dist/declarative.cjs +2942 -0
- package/dist/declarative.d.cts +27 -0
- package/dist/declarative.d.ts +27 -0
- package/dist/declarative.js +13 -0
- package/dist/index.cjs +7478 -6457
- package/dist/index.d.cts +4 -58
- package/dist/index.d.ts +4 -58
- package/dist/index.js +15 -27
- package/dist/loader.cjs +7652 -0
- package/dist/loader.d.cts +4 -0
- package/dist/loader.d.ts +4 -0
- package/dist/loader.js +16 -0
- package/dist/valibot.cjs +31 -0
- package/dist/valibot.d.cts +10 -0
- package/dist/valibot.d.ts +1 -43
- package/dist/valibot.js +2 -0
- package/dist/{types/field/validation.d.ts → validation-bxcou-l-.d.cts} +13 -11
- package/dist/validation-bxcou-l-.d.ts +58 -0
- package/editor/{chunk-B5WVJOPV.js → chunk-BXICJBWS.js} +118 -8
- package/editor/{chunk-ZOUKEZ77.js → chunk-JK53ENSG.js} +8 -21
- package/editor/chunk-WI7ZA44X.js +2558 -0
- package/editor/extensions/index.d.ts +11 -2
- package/editor/extensions/index.js +9 -7
- package/editor/index.d.ts +1 -1
- package/editor/index.js +10 -8
- package/editor/ui.js +2 -2
- package/editor.css +32 -0
- package/layout/index.cjs +466 -400
- package/layout/index.d.cts +1 -2
- package/layout/index.d.ts +1 -2
- package/layout/index.js +471 -395
- package/package.json +14 -5
- package/vue/chunk-4DPYH3IT.js +3538 -0
- package/vue/editor/index.d.ts +17 -7
- package/vue/editor/index.js +53 -35
- package/vue/index.d.ts +48 -31
- package/vue/index.js +1 -1
- package/dist/chunk-24OTMNIU.js +0 -1617
- package/dist/chunk-D5WRORG6.js +0 -366
- package/dist/chunk-HNFCGIBP.js +0 -8
- package/dist/chunk-NB6DBRXQ.js +0 -323
- package/dist/chunk-OF57X5AR.js +0 -10
- package/dist/chunk-TL4FIE7X.js +0 -93
- package/dist/chunk-UL7UIUJZ.js +0 -20
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/controlled-state-BFya8rAX.js +0 -9
- package/dist/cjs/events-TcQIzpNv.js +0 -19
- package/dist/cjs/icons-BAdjrnhS.js +0 -680
- package/dist/cjs/id-CYbKpaYr.js +0 -9
- package/dist/cjs/index-BHG9Rpil.js +0 -1602
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/cjs/looma.cjs.js +0 -25
- package/dist/cjs/manager-Ce25WRtl.js +0 -95
- package/dist/cjs/positioning-CCR6ifPj.js +0 -426
- package/dist/cjs/ui-affordance-scope.cjs.entry.js +0 -43
- package/dist/cjs/ui-avatar-group.cjs.entry.js +0 -43
- package/dist/cjs/ui-avatar.cjs.entry.js +0 -50
- package/dist/cjs/ui-badge.cjs.entry.js +0 -19
- package/dist/cjs/ui-button.cjs.entry.js +0 -75
- package/dist/cjs/ui-callout.cjs.entry.js +0 -27
- package/dist/cjs/ui-checkbox.cjs.entry.js +0 -97
- package/dist/cjs/ui-chip_2.cjs.entry.js +0 -258
- package/dist/cjs/ui-combobox.cjs.entry.js +0 -708
- package/dist/cjs/ui-context-menu.cjs.entry.js +0 -239
- package/dist/cjs/ui-dialog.cjs.entry.js +0 -131
- package/dist/cjs/ui-disclosure.cjs.entry.js +0 -112
- package/dist/cjs/ui-editable.cjs.entry.js +0 -100
- package/dist/cjs/ui-floating-action-button.cjs.entry.js +0 -20
- package/dist/cjs/ui-form-field.cjs.entry.js +0 -114
- package/dist/cjs/ui-icon-button.cjs.entry.js +0 -23
- package/dist/cjs/ui-input.cjs.entry.js +0 -106
- package/dist/cjs/ui-menu-item.cjs.entry.js +0 -19
- package/dist/cjs/ui-menu.cjs.entry.js +0 -182
- package/dist/cjs/ui-popover.cjs.entry.js +0 -135
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -134
- package/dist/cjs/ui-radio.cjs.entry.js +0 -94
- package/dist/cjs/ui-search-result-row.cjs.entry.js +0 -47
- package/dist/cjs/ui-search-shell.cjs.entry.js +0 -39
- package/dist/cjs/ui-select.cjs.entry.js +0 -108
- package/dist/cjs/ui-switch.cjs.entry.js +0 -74
- package/dist/cjs/ui-tabs.cjs.entry.js +0 -118
- package/dist/cjs/ui-textarea.cjs.entry.js +0 -110
- package/dist/cjs/ui-toast-region.cjs.entry.js +0 -93
- package/dist/cjs/ui-top-bar.cjs.entry.js +0 -43
- package/dist/cjs/ui-tree-item.cjs.entry.js +0 -135
- package/dist/cjs/ui-tree.cjs.entry.js +0 -500
- package/dist/collection/collection-manifest.json +0 -45
- package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.css +0 -8
- package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.js +0 -70
- package/dist/collection/components/ui-avatar/ui-avatar.css +0 -35
- package/dist/collection/components/ui-avatar/ui-avatar.js +0 -130
- package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +0 -32
- package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +0 -95
- package/dist/collection/components/ui-badge/ui-badge.css +0 -90
- package/dist/collection/components/ui-badge/ui-badge.js +0 -62
- package/dist/collection/components/ui-button/ui-button.css +0 -121
- package/dist/collection/components/ui-button/ui-button.js +0 -141
- package/dist/collection/components/ui-callout/ui-callout.css +0 -74
- package/dist/collection/components/ui-callout/ui-callout.js +0 -59
- package/dist/collection/components/ui-checkbox/ui-checkbox.css +0 -24
- package/dist/collection/components/ui-checkbox/ui-checkbox.js +0 -228
- package/dist/collection/components/ui-chip/ui-chip.css +0 -57
- package/dist/collection/components/ui-chip/ui-chip.js +0 -67
- package/dist/collection/components/ui-combobox/ui-combobox.css +0 -47
- package/dist/collection/components/ui-combobox/ui-combobox.js +0 -1295
- package/dist/collection/components/ui-context-menu/ui-context-menu.css +0 -34
- package/dist/collection/components/ui-context-menu/ui-context-menu.js +0 -311
- package/dist/collection/components/ui-dialog/ui-dialog.css +0 -72
- package/dist/collection/components/ui-dialog/ui-dialog.js +0 -242
- package/dist/collection/components/ui-disclosure/ui-disclosure.css +0 -7
- package/dist/collection/components/ui-disclosure/ui-disclosure.js +0 -184
- package/dist/collection/components/ui-editable/ui-editable.css +0 -2
- package/dist/collection/components/ui-editable/ui-editable.js +0 -196
- package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.css +0 -73
- package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +0 -85
- package/dist/collection/components/ui-form-field/ui-form-field.css +0 -25
- package/dist/collection/components/ui-form-field/ui-form-field.js +0 -180
- package/dist/collection/components/ui-icon-button/ui-icon-button.css +0 -145
- package/dist/collection/components/ui-icon-button/ui-icon-button.js +0 -128
- package/dist/collection/components/ui-input/ui-input.css +0 -48
- package/dist/collection/components/ui-input/ui-input.js +0 -217
- package/dist/collection/components/ui-menu/ui-menu.css +0 -73
- package/dist/collection/components/ui-menu/ui-menu.js +0 -280
- package/dist/collection/components/ui-menu-item/ui-menu-item.css +0 -32
- package/dist/collection/components/ui-menu-item/ui-menu-item.js +0 -64
- package/dist/collection/components/ui-popover/ui-popover.css +0 -58
- package/dist/collection/components/ui-popover/ui-popover.js +0 -232
- package/dist/collection/components/ui-radio/ui-radio.css +0 -22
- package/dist/collection/components/ui-radio/ui-radio.js +0 -226
- package/dist/collection/components/ui-radio-group/ui-radio-group.css +0 -10
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +0 -247
- package/dist/collection/components/ui-search-result-row/ui-search-result-row.css +0 -80
- package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +0 -100
- package/dist/collection/components/ui-search-shell/ui-search-shell.css +0 -63
- package/dist/collection/components/ui-search-shell/ui-search-shell.js +0 -46
- package/dist/collection/components/ui-select/ui-select.css +0 -64
- package/dist/collection/components/ui-select/ui-select.js +0 -218
- package/dist/collection/components/ui-switch/ui-switch.css +0 -63
- package/dist/collection/components/ui-switch/ui-switch.js +0 -185
- package/dist/collection/components/ui-tabs/ui-tabs.css +0 -68
- package/dist/collection/components/ui-tabs/ui-tabs.js +0 -190
- package/dist/collection/components/ui-textarea/ui-textarea.css +0 -49
- package/dist/collection/components/ui-textarea/ui-textarea.js +0 -241
- package/dist/collection/components/ui-toast-region/ui-toast-region.css +0 -59
- package/dist/collection/components/ui-toast-region/ui-toast-region.js +0 -126
- package/dist/collection/components/ui-tooltip/ui-tooltip.css +0 -43
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +0 -430
- package/dist/collection/components/ui-top-bar/ui-top-bar.css +0 -51
- package/dist/collection/components/ui-top-bar/ui-top-bar.js +0 -52
- package/dist/collection/components/ui-tree/ui-tree.css +0 -12
- package/dist/collection/components/ui-tree/ui-tree.js +0 -515
- package/dist/collection/components/ui-tree-item/ui-tree-item.css +0 -217
- package/dist/collection/components/ui-tree-item/ui-tree-item.js +0 -406
- package/dist/collection/field/combobox.js +0 -4
- package/dist/collection/field/editable.js +0 -1
- package/dist/collection/field/multi-combobox.js +0 -1
- package/dist/collection/field/valibot.js +0 -5
- package/dist/collection/field/validation.js +0 -62
- package/dist/collection/icons.js +0 -71
- package/dist/collection/input-modality.js +0 -24
- package/dist/collection/overlay/manager.js +0 -92
- package/dist/collection/overlay/positioning.js +0 -424
- package/dist/collection/utils/controlled-state.js +0 -4
- package/dist/collection/utils/drag-drop.js +0 -51
- package/dist/collection/utils/events.js +0 -13
- package/dist/collection/utils/id.js +0 -5
- package/dist/collection/utils/initials.js +0 -11
- package/dist/components/index.d.ts +0 -102
- package/dist/components/index.js +0 -1
- package/dist/components/p-6SWSrfmW.js +0 -1
- package/dist/components/p-B_DaIVEY.js +0 -1
- package/dist/components/p-Bh_1GxOD.js +0 -1
- package/dist/components/p-BnGhGgTH.js +0 -1
- package/dist/components/p-BzaB_bXo.js +0 -1
- package/dist/components/p-C-0syqXZ.js +0 -1
- package/dist/components/p-CoFximGM.js +0 -13
- package/dist/components/p-JwSoedEO.js +0 -1
- package/dist/components/p-Vc4ExHFc.js +0 -1
- package/dist/components/p-hgBUJRDa.js +0 -1
- package/dist/components/ui-affordance-scope.d.ts +0 -11
- package/dist/components/ui-affordance-scope.js +0 -1
- package/dist/components/ui-avatar-group.d.ts +0 -11
- package/dist/components/ui-avatar-group.js +0 -1
- package/dist/components/ui-avatar.d.ts +0 -11
- package/dist/components/ui-avatar.js +0 -1
- package/dist/components/ui-badge.d.ts +0 -11
- package/dist/components/ui-badge.js +0 -1
- package/dist/components/ui-button.d.ts +0 -11
- package/dist/components/ui-button.js +0 -1
- package/dist/components/ui-callout.d.ts +0 -11
- package/dist/components/ui-callout.js +0 -1
- package/dist/components/ui-checkbox.d.ts +0 -11
- package/dist/components/ui-checkbox.js +0 -1
- package/dist/components/ui-chip.d.ts +0 -11
- package/dist/components/ui-chip.js +0 -1
- package/dist/components/ui-combobox.d.ts +0 -11
- package/dist/components/ui-combobox.js +0 -1
- package/dist/components/ui-context-menu.d.ts +0 -11
- package/dist/components/ui-context-menu.js +0 -1
- package/dist/components/ui-dialog.d.ts +0 -11
- package/dist/components/ui-dialog.js +0 -1
- package/dist/components/ui-disclosure.d.ts +0 -11
- package/dist/components/ui-disclosure.js +0 -1
- package/dist/components/ui-editable.d.ts +0 -11
- package/dist/components/ui-editable.js +0 -1
- package/dist/components/ui-floating-action-button.d.ts +0 -11
- package/dist/components/ui-floating-action-button.js +0 -1
- package/dist/components/ui-form-field.d.ts +0 -11
- package/dist/components/ui-form-field.js +0 -1
- package/dist/components/ui-icon-button.d.ts +0 -11
- package/dist/components/ui-icon-button.js +0 -1
- package/dist/components/ui-input.d.ts +0 -11
- package/dist/components/ui-input.js +0 -1
- package/dist/components/ui-menu-item.d.ts +0 -11
- package/dist/components/ui-menu-item.js +0 -1
- package/dist/components/ui-menu.d.ts +0 -11
- package/dist/components/ui-menu.js +0 -1
- package/dist/components/ui-popover.d.ts +0 -11
- package/dist/components/ui-popover.js +0 -1
- package/dist/components/ui-radio-group.d.ts +0 -11
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/components/ui-radio.d.ts +0 -11
- package/dist/components/ui-radio.js +0 -1
- package/dist/components/ui-search-result-row.d.ts +0 -11
- package/dist/components/ui-search-result-row.js +0 -1
- package/dist/components/ui-search-shell.d.ts +0 -11
- package/dist/components/ui-search-shell.js +0 -1
- package/dist/components/ui-select.d.ts +0 -11
- package/dist/components/ui-select.js +0 -1
- package/dist/components/ui-switch.d.ts +0 -11
- package/dist/components/ui-switch.js +0 -1
- package/dist/components/ui-tabs.d.ts +0 -11
- package/dist/components/ui-tabs.js +0 -1
- package/dist/components/ui-textarea.d.ts +0 -11
- package/dist/components/ui-textarea.js +0 -1
- package/dist/components/ui-toast-region.d.ts +0 -11
- package/dist/components/ui-toast-region.js +0 -1
- package/dist/components/ui-tooltip.d.ts +0 -11
- package/dist/components/ui-tooltip.js +0 -1
- package/dist/components/ui-top-bar.d.ts +0 -11
- package/dist/components/ui-top-bar.js +0 -1
- package/dist/components/ui-tree-item.d.ts +0 -11
- package/dist/components/ui-tree-item.js +0 -1
- package/dist/components/ui-tree.d.ts +0 -11
- package/dist/components/ui-tree.js +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/controlled-state-BnGhGgTH.js +0 -6
- package/dist/esm/events-JwSoedEO.js +0 -15
- package/dist/esm/icons-CoFximGM.js +0 -678
- package/dist/esm/id-hgBUJRDa.js +0 -7
- package/dist/esm/index-8BGiMGQ0.js +0 -1593
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/looma.js +0 -21
- package/dist/esm/manager-C-0syqXZ.js +0 -91
- package/dist/esm/positioning-ZOr-2PSe.js +0 -421
- package/dist/esm/ui-affordance-scope.entry.js +0 -41
- package/dist/esm/ui-avatar-group.entry.js +0 -41
- package/dist/esm/ui-avatar.entry.js +0 -48
- package/dist/esm/ui-badge.entry.js +0 -17
- package/dist/esm/ui-button.entry.js +0 -73
- package/dist/esm/ui-callout.entry.js +0 -25
- package/dist/esm/ui-checkbox.entry.js +0 -95
- package/dist/esm/ui-chip_2.entry.js +0 -255
- package/dist/esm/ui-combobox.entry.js +0 -706
- package/dist/esm/ui-context-menu.entry.js +0 -237
- package/dist/esm/ui-dialog.entry.js +0 -129
- package/dist/esm/ui-disclosure.entry.js +0 -110
- package/dist/esm/ui-editable.entry.js +0 -98
- package/dist/esm/ui-floating-action-button.entry.js +0 -18
- package/dist/esm/ui-form-field.entry.js +0 -112
- package/dist/esm/ui-icon-button.entry.js +0 -21
- package/dist/esm/ui-input.entry.js +0 -104
- package/dist/esm/ui-menu-item.entry.js +0 -17
- package/dist/esm/ui-menu.entry.js +0 -180
- package/dist/esm/ui-popover.entry.js +0 -133
- package/dist/esm/ui-radio-group.entry.js +0 -132
- package/dist/esm/ui-radio.entry.js +0 -92
- package/dist/esm/ui-search-result-row.entry.js +0 -45
- package/dist/esm/ui-search-shell.entry.js +0 -37
- package/dist/esm/ui-select.entry.js +0 -106
- package/dist/esm/ui-switch.entry.js +0 -72
- package/dist/esm/ui-tabs.entry.js +0 -116
- package/dist/esm/ui-textarea.entry.js +0 -108
- package/dist/esm/ui-toast-region.entry.js +0 -91
- package/dist/esm/ui-top-bar.entry.js +0 -41
- package/dist/esm/ui-tree-item.entry.js +0 -133
- package/dist/esm/ui-tree.entry.js +0 -498
- package/dist/index.cjs.js +0 -1
- package/dist/looma/index.esm.js +0 -0
- package/dist/looma/looma.esm.js +0 -1
- package/dist/looma/p-08f80207.entry.js +0 -1
- package/dist/looma/p-0b5b8d9e.entry.js +0 -1
- package/dist/looma/p-1249a806.entry.js +0 -1
- package/dist/looma/p-16e0669d.entry.js +0 -1
- package/dist/looma/p-1c00670f.entry.js +0 -1
- package/dist/looma/p-1c5a7522.entry.js +0 -1
- package/dist/looma/p-22842f8c.entry.js +0 -1
- package/dist/looma/p-2915d5c0.entry.js +0 -1
- package/dist/looma/p-3b2961a6.entry.js +0 -1
- package/dist/looma/p-3f60f4c8.entry.js +0 -1
- package/dist/looma/p-424d6719.entry.js +0 -1
- package/dist/looma/p-4caccfce.entry.js +0 -1
- package/dist/looma/p-5fdcee1d.entry.js +0 -1
- package/dist/looma/p-6d8b99ee.entry.js +0 -1
- package/dist/looma/p-6f20d470.entry.js +0 -1
- package/dist/looma/p-7c0b5364.entry.js +0 -1
- package/dist/looma/p-8BGiMGQ0.js +0 -2
- package/dist/looma/p-8bdd9495.entry.js +0 -1
- package/dist/looma/p-99116a72.entry.js +0 -1
- package/dist/looma/p-9cfbf722.entry.js +0 -1
- package/dist/looma/p-9d2662ca.entry.js +0 -1
- package/dist/looma/p-9ff2fa19.entry.js +0 -1
- package/dist/looma/p-BnGhGgTH.js +0 -1
- package/dist/looma/p-C-0syqXZ.js +0 -1
- package/dist/looma/p-CoFximGM.js +0 -13
- package/dist/looma/p-DQuL1Twl.js +0 -1
- package/dist/looma/p-JwSoedEO.js +0 -1
- package/dist/looma/p-ZOr-2PSe.js +0 -1
- package/dist/looma/p-a2dd4c6c.entry.js +0 -1
- package/dist/looma/p-add67e4c.entry.js +0 -1
- package/dist/looma/p-b6ede6bb.entry.js +0 -1
- package/dist/looma/p-b76e2111.entry.js +0 -1
- package/dist/looma/p-ca2a54fd.entry.js +0 -1
- package/dist/looma/p-d372b0db.entry.js +0 -1
- package/dist/looma/p-d4825822.entry.js +0 -1
- package/dist/looma/p-d56571a2.entry.js +0 -1
- package/dist/looma/p-d5c3954f.entry.js +0 -1
- package/dist/looma/p-e604e906.entry.js +0 -1
- package/dist/looma/p-f1f7c5cb.entry.js +0 -1
- package/dist/looma/p-hgBUJRDa.js +0 -1
- package/dist/types/components/ui-affordance-scope/ui-affordance-scope.d.ts +0 -11
- package/dist/types/components/ui-avatar/ui-avatar.d.ts +0 -11
- package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +0 -11
- package/dist/types/components/ui-badge/ui-badge.d.ts +0 -5
- package/dist/types/components/ui-button/ui-button.d.ts +0 -13
- package/dist/types/components/ui-callout/ui-callout.d.ts +0 -6
- package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +0 -20
- package/dist/types/components/ui-chip/ui-chip.d.ts +0 -8
- package/dist/types/components/ui-combobox/ui-combobox.d.ts +0 -128
- package/dist/types/components/ui-context-menu/ui-context-menu.d.ts +0 -43
- package/dist/types/components/ui-dialog/ui-dialog.d.ts +0 -27
- package/dist/types/components/ui-disclosure/ui-disclosure.d.ts +0 -21
- package/dist/types/components/ui-editable/ui-editable.d.ts +0 -24
- package/dist/types/components/ui-floating-action-button/ui-floating-action-button.d.ts +0 -6
- package/dist/types/components/ui-form-field/ui-form-field.d.ts +0 -18
- package/dist/types/components/ui-icon-button/ui-icon-button.d.ts +0 -9
- package/dist/types/components/ui-input/ui-input.d.ts +0 -19
- package/dist/types/components/ui-menu/ui-menu.d.ts +0 -28
- package/dist/types/components/ui-menu-item/ui-menu-item.d.ts +0 -5
- package/dist/types/components/ui-popover/ui-popover.d.ts +0 -26
- package/dist/types/components/ui-radio/ui-radio.d.ts +0 -20
- package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +0 -21
- package/dist/types/components/ui-search-result-row/ui-search-result-row.d.ts +0 -15
- package/dist/types/components/ui-search-shell/ui-search-shell.d.ts +0 -9
- package/dist/types/components/ui-select/ui-select.d.ts +0 -20
- package/dist/types/components/ui-switch/ui-switch.d.ts +0 -16
- package/dist/types/components/ui-tabs/ui-tabs.d.ts +0 -18
- package/dist/types/components/ui-textarea/ui-textarea.d.ts +0 -20
- package/dist/types/components/ui-toast-region/ui-toast-region.d.ts +0 -16
- package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +0 -57
- package/dist/types/components/ui-top-bar/ui-top-bar.d.ts +0 -12
- package/dist/types/components/ui-tree/ui-tree.d.ts +0 -53
- package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +0 -44
- package/dist/types/components.d.ts +0 -1889
- package/dist/types/field/combobox.d.ts +0 -46
- package/dist/types/field/editable.d.ts +0 -5
- package/dist/types/field/multi-combobox.d.ts +0 -11
- package/dist/types/field/valibot.d.ts +0 -7
- package/dist/types/icons.d.ts +0 -53
- package/dist/types/input-modality.d.ts +0 -6
- package/dist/types/overlay/manager.d.ts +0 -17
- package/dist/types/overlay/positioning.d.ts +0 -74
- package/dist/types/stencil-public-runtime.d.ts +0 -1860
- package/dist/types/utils/controlled-state.d.ts +0 -4
- package/dist/types/utils/drag-drop.d.ts +0 -15
- package/dist/types/utils/events.d.ts +0 -4
- package/dist/types/utils/id.d.ts +0 -1
- package/dist/types/utils/initials.d.ts +0 -1
- package/dist/ui-affordance-scope.entry-L6TIXYOP.js +0 -54
- package/dist/ui-avatar-group.entry-TCAA6P72.js +0 -51
- package/dist/ui-avatar.entry-52DQ7VXA.js +0 -51
- package/dist/ui-badge.entry-2XCAA6LL.js +0 -22
- package/dist/ui-button.entry-MNFBMNSX.js +0 -83
- package/dist/ui-callout.entry-SSHT5TH2.js +0 -32
- package/dist/ui-checkbox.entry-LOWIWIWI.js +0 -111
- package/dist/ui-chip_2.entry-BIMTSF6C.js +0 -272
- package/dist/ui-combobox.entry-25Z4MN7N.js +0 -717
- package/dist/ui-context-menu.entry-YZDL5Y4M.js +0 -248
- package/dist/ui-dialog.entry-HIXZX5AB.js +0 -146
- package/dist/ui-disclosure.entry-2JZHZNDQ.js +0 -126
- package/dist/ui-editable.entry-U3VR3XPT.js +0 -110
- package/dist/ui-floating-action-button.entry-6S3QN3KJ.js +0 -23
- package/dist/ui-form-field.entry-GQOSMLHT.js +0 -120
- package/dist/ui-icon-button.entry-QJXKVDM6.js +0 -26
- package/dist/ui-input.entry-UWMQ6JMP.js +0 -114
- package/dist/ui-menu-item.entry-NHNZKKJS.js +0 -22
- package/dist/ui-menu.entry-D53RUJND.js +0 -192
- package/dist/ui-popover.entry-7ZSIWCFQ.js +0 -152
- package/dist/ui-radio-group.entry-37MSYIH4.js +0 -142
- package/dist/ui-radio.entry-7YGCDHXT.js +0 -108
- package/dist/ui-search-result-row.entry-6FCCLGAS.js +0 -50
- package/dist/ui-search-shell.entry-HSBEXPER.js +0 -41
- package/dist/ui-select.entry-GIDIAYRD.js +0 -117
- package/dist/ui-switch.entry-MYAL6XPC.js +0 -87
- package/dist/ui-tabs.entry-R4TEXQSD.js +0 -128
- package/dist/ui-textarea.entry-FW32JNDV.js +0 -119
- package/dist/ui-toast-region.entry-BTMFPKZF.js +0 -104
- package/dist/ui-top-bar.entry-5DQGJF3B.js +0 -49
- package/dist/ui-tree-item.entry-ADT7DSOS.js +0 -145
- package/dist/ui-tree.entry-7PYQ5RIN.js +0 -470
- package/editor/chunk-64GLF274.js +0 -1271
- package/layout/index.css +0 -387
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
- package/vue/chunk-ROMBQS2L.js +0 -352
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/declarative-generated.ts
|
|
20
|
+
var declarative_generated_exports = {};
|
|
21
|
+
__export(declarative_generated_exports, {
|
|
22
|
+
manageGeneratedProps: () => se
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(declarative_generated_exports);
|
|
25
|
+
|
|
26
|
+
// ../../tools/migrate-html-next/generated/adoption/generated-runtime.js
|
|
27
|
+
var J = /* @__PURE__ */ Symbol.for("@nextwebwg/declarative-components.runtime.v1");
|
|
28
|
+
var h = /* @__PURE__ */ Symbol.for("@nextwebwg/declarative-components.lifecycle.v1");
|
|
29
|
+
function F(e) {
|
|
30
|
+
return e[J] ??= {};
|
|
31
|
+
}
|
|
32
|
+
function K(e, t) {
|
|
33
|
+
let n = F(e), r = n.mutationHub;
|
|
34
|
+
if (r === void 0) {
|
|
35
|
+
let u = e.defaultView?.MutationObserver ?? MutationObserver, d = /* @__PURE__ */ new Set(), s = new u((i) => {
|
|
36
|
+
for (let f of Array.from(d)) f(i);
|
|
37
|
+
});
|
|
38
|
+
r = { observer: s, subscribers: d }, n.mutationHub = r, s.observe(e, { childList: true, subtree: true });
|
|
39
|
+
}
|
|
40
|
+
r.subscribers.add(t);
|
|
41
|
+
let o = true;
|
|
42
|
+
return () => {
|
|
43
|
+
o && (o = false, r.subscribers.delete(t), r.subscribers.size === 0 && (r.observer.disconnect(), delete n.mutationHub));
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function W(e) {
|
|
47
|
+
let t = F(e), n = t.lifecycle;
|
|
48
|
+
if (n !== void 0) return n;
|
|
49
|
+
let r = 0, o = (s) => {
|
|
50
|
+
let i = s[h];
|
|
51
|
+
i !== void 0 && (s.isConnected && i.disconnect === void 0 ? i.disconnect = i.connect(s) : !s.isConnected && i.disconnect !== void 0 && (i.disconnect(), i.disconnect = void 0));
|
|
52
|
+
}, u = K(e, (s) => {
|
|
53
|
+
let i = [], f = (l) => {
|
|
54
|
+
if (l.nodeType !== 1) return;
|
|
55
|
+
let b = l;
|
|
56
|
+
if (b[h] !== void 0 && i.push(b), b.childElementCount !== 0) for (let k of b.querySelectorAll("[data-component-root]")) k[h] !== void 0 && i.push(k);
|
|
57
|
+
};
|
|
58
|
+
for (let l of s) {
|
|
59
|
+
for (let b of l.addedNodes) f(b);
|
|
60
|
+
for (let b of l.removedNodes) f(b);
|
|
61
|
+
}
|
|
62
|
+
for (let l of i) o(l);
|
|
63
|
+
}), d = { add(s, i) {
|
|
64
|
+
let f = s, l = f[h];
|
|
65
|
+
l !== i && (l?.disconnect?.(), l === void 0 && (r += 1), f[h] = i, o(s));
|
|
66
|
+
}, remove(s, i) {
|
|
67
|
+
let f = s;
|
|
68
|
+
f[h] === i && (i.disconnect?.(), delete f[h], r -= 1, r === 0 && (u(), delete t.lifecycle));
|
|
69
|
+
} };
|
|
70
|
+
return t.lifecycle = d, d;
|
|
71
|
+
}
|
|
72
|
+
function Y(e, t, n) {
|
|
73
|
+
let r = W(e.ownerDocument), o = { connect: () => (t(), n), disconnect: void 0 };
|
|
74
|
+
return r.add(e, o), () => r.remove(e, o);
|
|
75
|
+
}
|
|
76
|
+
function B(e, t, n = false) {
|
|
77
|
+
if (t === "string" && typeof e == "string") return e;
|
|
78
|
+
if (t === "boolean") {
|
|
79
|
+
if (n) return true;
|
|
80
|
+
if (typeof e == "boolean") return e;
|
|
81
|
+
if (e === "" || e === "true") return true;
|
|
82
|
+
if (e === "false") return false;
|
|
83
|
+
}
|
|
84
|
+
if (t === "number") {
|
|
85
|
+
let r = typeof e == "number" ? e : typeof e == "string" && e.trim() !== "" ? Number(e) : Number.NaN;
|
|
86
|
+
if (Number.isFinite(r)) return r;
|
|
87
|
+
}
|
|
88
|
+
if (Array.isArray(t) && t.includes(e)) return e;
|
|
89
|
+
throw new TypeError("HR002: A prop invocation value does not satisfy its declared type.");
|
|
90
|
+
}
|
|
91
|
+
function E(e, t, n = false) {
|
|
92
|
+
if (t !== void 0) return B(t, e.type, n);
|
|
93
|
+
if (e.required) throw new TypeError(`HC020: Required prop \`${e.name}\` was not provided.`);
|
|
94
|
+
}
|
|
95
|
+
function se(e, t, n) {
|
|
96
|
+
let r = t.map((c) => E(c, c.value)), o = new Map(t.map((c, m) => [c.attribute, m])), u = /* @__PURE__ */ new Map(), d = new Set(t.map((c, m) => m)), s = false, i = false, f = () => {
|
|
97
|
+
if (i = false, !!s) {
|
|
98
|
+
for (let c of d) {
|
|
99
|
+
let m = t[c], y = r[c], p = y === void 0 ? null : String(y);
|
|
100
|
+
u.set(m.attribute, p), p === null ? e.removeAttribute(m.attribute) : e.setAttribute(m.attribute, p), n?.(m.name, y);
|
|
101
|
+
}
|
|
102
|
+
d.clear();
|
|
103
|
+
}
|
|
104
|
+
}, l = (c) => {
|
|
105
|
+
d.add(c), s && !i && (i = true, queueMicrotask(f));
|
|
106
|
+
};
|
|
107
|
+
for (let [c, m] of t.entries()) Object.defineProperty(e, m.name, { configurable: true, enumerable: true, get: () => r[c], set: (y) => {
|
|
108
|
+
let p = E(m, y);
|
|
109
|
+
Object.is(r[c], p) || (r[c] = p, l(c));
|
|
110
|
+
} });
|
|
111
|
+
let b = e.ownerDocument.defaultView?.MutationObserver ?? MutationObserver, k = new b((c) => {
|
|
112
|
+
for (let m of c) {
|
|
113
|
+
let y = m.attributeName;
|
|
114
|
+
if (y === null) continue;
|
|
115
|
+
let p = o.get(y);
|
|
116
|
+
if (p === void 0) continue;
|
|
117
|
+
let x = e.getAttribute(y);
|
|
118
|
+
if (u.get(y) === x && u.delete(y)) continue;
|
|
119
|
+
u.delete(y);
|
|
120
|
+
let G = t[p], D = x !== null, S = E(G, D ? x : void 0, D);
|
|
121
|
+
Object.is(r[p], S) || (r[p] = S, l(p));
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
return Y(e, () => {
|
|
125
|
+
s = true;
|
|
126
|
+
for (let c = 0; c < t.length; c += 1) d.add(c);
|
|
127
|
+
f(), k.observe(e, { attributes: true, attributeFilter: t.map((c) => c.attribute) });
|
|
128
|
+
}, () => {
|
|
129
|
+
s = false, k.disconnect();
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
133
|
+
0 && (module.exports = {
|
|
134
|
+
manageGeneratedProps
|
|
135
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface GeneratedProp {
|
|
2
|
+
readonly name: string;
|
|
3
|
+
readonly attribute: string;
|
|
4
|
+
readonly value: unknown;
|
|
5
|
+
readonly type: string | readonly unknown[];
|
|
6
|
+
readonly required: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function manageGeneratedProps(element: Element, props: readonly GeneratedProp[], apply?: (name: string, value: unknown) => void): () => void;
|
|
9
|
+
|
|
10
|
+
export { type GeneratedProp, manageGeneratedProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface GeneratedProp {
|
|
2
|
+
readonly name: string;
|
|
3
|
+
readonly attribute: string;
|
|
4
|
+
readonly value: unknown;
|
|
5
|
+
readonly type: string | readonly unknown[];
|
|
6
|
+
readonly required: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function manageGeneratedProps(element: Element, props: readonly GeneratedProp[], apply?: (name: string, value: unknown) => void): () => void;
|
|
9
|
+
|
|
10
|
+
export { type GeneratedProp, manageGeneratedProps };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import "./chunk-MLKGABMK.js";
|
|
2
|
+
|
|
3
|
+
// ../../tools/migrate-html-next/generated/adoption/generated-runtime.js
|
|
4
|
+
var J = /* @__PURE__ */ Symbol.for("@nextwebwg/declarative-components.runtime.v1");
|
|
5
|
+
var h = /* @__PURE__ */ Symbol.for("@nextwebwg/declarative-components.lifecycle.v1");
|
|
6
|
+
function F(e) {
|
|
7
|
+
return e[J] ??= {};
|
|
8
|
+
}
|
|
9
|
+
function K(e, t) {
|
|
10
|
+
let n = F(e), r = n.mutationHub;
|
|
11
|
+
if (r === void 0) {
|
|
12
|
+
let u = e.defaultView?.MutationObserver ?? MutationObserver, d = /* @__PURE__ */ new Set(), s = new u((i) => {
|
|
13
|
+
for (let f of Array.from(d)) f(i);
|
|
14
|
+
});
|
|
15
|
+
r = { observer: s, subscribers: d }, n.mutationHub = r, s.observe(e, { childList: true, subtree: true });
|
|
16
|
+
}
|
|
17
|
+
r.subscribers.add(t);
|
|
18
|
+
let o = true;
|
|
19
|
+
return () => {
|
|
20
|
+
o && (o = false, r.subscribers.delete(t), r.subscribers.size === 0 && (r.observer.disconnect(), delete n.mutationHub));
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function W(e) {
|
|
24
|
+
let t = F(e), n = t.lifecycle;
|
|
25
|
+
if (n !== void 0) return n;
|
|
26
|
+
let r = 0, o = (s) => {
|
|
27
|
+
let i = s[h];
|
|
28
|
+
i !== void 0 && (s.isConnected && i.disconnect === void 0 ? i.disconnect = i.connect(s) : !s.isConnected && i.disconnect !== void 0 && (i.disconnect(), i.disconnect = void 0));
|
|
29
|
+
}, u = K(e, (s) => {
|
|
30
|
+
let i = [], f = (l) => {
|
|
31
|
+
if (l.nodeType !== 1) return;
|
|
32
|
+
let b = l;
|
|
33
|
+
if (b[h] !== void 0 && i.push(b), b.childElementCount !== 0) for (let k of b.querySelectorAll("[data-component-root]")) k[h] !== void 0 && i.push(k);
|
|
34
|
+
};
|
|
35
|
+
for (let l of s) {
|
|
36
|
+
for (let b of l.addedNodes) f(b);
|
|
37
|
+
for (let b of l.removedNodes) f(b);
|
|
38
|
+
}
|
|
39
|
+
for (let l of i) o(l);
|
|
40
|
+
}), d = { add(s, i) {
|
|
41
|
+
let f = s, l = f[h];
|
|
42
|
+
l !== i && (l?.disconnect?.(), l === void 0 && (r += 1), f[h] = i, o(s));
|
|
43
|
+
}, remove(s, i) {
|
|
44
|
+
let f = s;
|
|
45
|
+
f[h] === i && (i.disconnect?.(), delete f[h], r -= 1, r === 0 && (u(), delete t.lifecycle));
|
|
46
|
+
} };
|
|
47
|
+
return t.lifecycle = d, d;
|
|
48
|
+
}
|
|
49
|
+
function Y(e, t, n) {
|
|
50
|
+
let r = W(e.ownerDocument), o = { connect: () => (t(), n), disconnect: void 0 };
|
|
51
|
+
return r.add(e, o), () => r.remove(e, o);
|
|
52
|
+
}
|
|
53
|
+
function B(e, t, n = false) {
|
|
54
|
+
if (t === "string" && typeof e == "string") return e;
|
|
55
|
+
if (t === "boolean") {
|
|
56
|
+
if (n) return true;
|
|
57
|
+
if (typeof e == "boolean") return e;
|
|
58
|
+
if (e === "" || e === "true") return true;
|
|
59
|
+
if (e === "false") return false;
|
|
60
|
+
}
|
|
61
|
+
if (t === "number") {
|
|
62
|
+
let r = typeof e == "number" ? e : typeof e == "string" && e.trim() !== "" ? Number(e) : Number.NaN;
|
|
63
|
+
if (Number.isFinite(r)) return r;
|
|
64
|
+
}
|
|
65
|
+
if (Array.isArray(t) && t.includes(e)) return e;
|
|
66
|
+
throw new TypeError("HR002: A prop invocation value does not satisfy its declared type.");
|
|
67
|
+
}
|
|
68
|
+
function E(e, t, n = false) {
|
|
69
|
+
if (t !== void 0) return B(t, e.type, n);
|
|
70
|
+
if (e.required) throw new TypeError(`HC020: Required prop \`${e.name}\` was not provided.`);
|
|
71
|
+
}
|
|
72
|
+
function se(e, t, n) {
|
|
73
|
+
let r = t.map((c) => E(c, c.value)), o = new Map(t.map((c, m) => [c.attribute, m])), u = /* @__PURE__ */ new Map(), d = new Set(t.map((c, m) => m)), s = false, i = false, f = () => {
|
|
74
|
+
if (i = false, !!s) {
|
|
75
|
+
for (let c of d) {
|
|
76
|
+
let m = t[c], y = r[c], p = y === void 0 ? null : String(y);
|
|
77
|
+
u.set(m.attribute, p), p === null ? e.removeAttribute(m.attribute) : e.setAttribute(m.attribute, p), n?.(m.name, y);
|
|
78
|
+
}
|
|
79
|
+
d.clear();
|
|
80
|
+
}
|
|
81
|
+
}, l = (c) => {
|
|
82
|
+
d.add(c), s && !i && (i = true, queueMicrotask(f));
|
|
83
|
+
};
|
|
84
|
+
for (let [c, m] of t.entries()) Object.defineProperty(e, m.name, { configurable: true, enumerable: true, get: () => r[c], set: (y) => {
|
|
85
|
+
let p = E(m, y);
|
|
86
|
+
Object.is(r[c], p) || (r[c] = p, l(c));
|
|
87
|
+
} });
|
|
88
|
+
let b = e.ownerDocument.defaultView?.MutationObserver ?? MutationObserver, k = new b((c) => {
|
|
89
|
+
for (let m of c) {
|
|
90
|
+
let y = m.attributeName;
|
|
91
|
+
if (y === null) continue;
|
|
92
|
+
let p = o.get(y);
|
|
93
|
+
if (p === void 0) continue;
|
|
94
|
+
let x = e.getAttribute(y);
|
|
95
|
+
if (u.get(y) === x && u.delete(y)) continue;
|
|
96
|
+
u.delete(y);
|
|
97
|
+
let G = t[p], D = x !== null, S = E(G, D ? x : void 0, D);
|
|
98
|
+
Object.is(r[p], S) || (r[p] = S, l(p));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
return Y(e, () => {
|
|
102
|
+
s = true;
|
|
103
|
+
for (let c = 0; c < t.length; c += 1) d.add(c);
|
|
104
|
+
f(), k.observe(e, { attributes: true, attributeFilter: t.map((c) => c.attribute) });
|
|
105
|
+
}, () => {
|
|
106
|
+
s = false, k.disconnect();
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
export {
|
|
110
|
+
se as manageGeneratedProps
|
|
111
|
+
};
|