@webquark/core 1.1.0-dev.6 → 1.1.0-dev.8
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/README.md +7 -5
- package/dist/cjs/{action.props-CtwTiyf6.js → action.props-N0urQtdP.js} +1 -1
- package/dist/cjs/{chevron-up-Dysp_9UJ.js → chevron-up-D4t2OSHA.js} +2 -2
- package/dist/cjs/{data-table-cell-BAv6IIYx.js → data-table-cell-8uUCk2Qz.js} +5 -0
- package/dist/cjs/{field-CiEtk37y.js → field-CsrQGhG-.js} +2 -2
- package/dist/cjs/form-field-adapter-D0CJ6poh.js +51 -0
- package/dist/cjs/form-field-state-P63wN30v.js +51 -0
- package/dist/cjs/form-submit-action-C6c4aq6C.js +227 -0
- package/dist/cjs/image-crop-BZD5Cxd7.js +53 -0
- package/dist/cjs/{index-BLlc_shC.js → index-DWXhKHCB.js} +25 -26
- package/dist/cjs/index.cjs.js +8 -3
- package/dist/cjs/leaflet-maplibre-gl-JIaCQ-7v.js +1025 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{map.types-DNrz8rJh.js → map.types-BWymIRql.js} +1 -1
- package/dist/cjs/q-accordion.cjs.entry.js +2 -2
- package/dist/cjs/q-alert.cjs.entry.js +1 -1
- package/dist/cjs/q-avatar.cjs.entry.js +2 -2
- package/dist/cjs/q-banner.cjs.entry.js +1 -1
- package/dist/cjs/q-button_2.cjs.entry.js +112 -25
- package/dist/cjs/q-card.cjs.entry.js +3 -3
- package/dist/cjs/q-carousel.cjs.entry.js +400 -13
- package/dist/cjs/q-chip.cjs.entry.js +2 -2
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
- package/dist/cjs/q-data-table.cjs.entry.js +73 -11
- package/dist/cjs/q-dialog.cjs.entry.js +4 -4
- package/dist/cjs/q-dropdown.cjs.entry.js +65 -12
- package/dist/cjs/q-form.cjs.entry.js +775 -288
- package/dist/cjs/q-grid.cjs.entry.js +3 -3
- package/dist/cjs/q-icon.cjs.entry.js +143 -89
- package/dist/cjs/q-image-comparison.cjs.entry.js +201 -0
- package/dist/cjs/q-inline.cjs.entry.js +3 -3
- package/dist/cjs/q-input_2.cjs.entry.js +91 -23
- package/dist/cjs/q-link.cjs.entry.js +2 -2
- package/dist/cjs/q-map.cjs.entry.js +141 -22
- package/dist/cjs/q-media.cjs.entry.js +3 -3
- package/dist/cjs/q-navbar.cjs.entry.js +4 -4
- package/dist/cjs/q-pagination.cjs.entry.js +2 -2
- package/dist/cjs/q-panel.cjs.entry.js +6 -6
- package/dist/cjs/q-quantity-selector.cjs.entry.js +6 -6
- package/dist/cjs/q-radio-group.cjs.entry.js +49 -12
- package/dist/cjs/q-reel.cjs.entry.js +3 -3
- package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
- package/dist/cjs/q-section.cjs.entry.js +2 -2
- package/dist/cjs/q-sidepanel.cjs.entry.js +145 -25
- package/dist/cjs/q-stack.cjs.entry.js +3 -3
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram.cjs.entry.js +3 -3
- package/dist/cjs/q-syntax-box.cjs.entry.js +418 -301
- package/dist/cjs/q-tabs.cjs.entry.js +3 -3
- package/dist/cjs/q-textarea.cjs.entry.js +67 -22
- package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
- package/dist/cjs/q-toast.cjs.entry.js +1 -1
- package/dist/cjs/q-toggle.cjs.entry.js +59 -13
- package/dist/cjs/q-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/registry-C3IYlNMp.js +323 -0
- package/dist/cjs/tokens-RMRaIOqv.js +957 -0
- package/dist/cjs/webquark.cjs.js +3 -3
- package/dist/collection/assets/icons/spinner.svg +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/actions/button/button.css +6 -6
- package/dist/collection/components/actions/button/button.js +250 -14
- package/dist/collection/components/actions/button/test/button-slots.cmp.test.js +70 -0
- package/dist/collection/components/content/card/card.css +1 -1
- package/dist/collection/components/content/carousel/carousel.css +91 -5
- package/dist/collection/components/content/carousel/carousel.js +511 -20
- package/dist/collection/components/content/carousel/internals/autoplay.js +64 -0
- package/dist/collection/components/content/carousel/internals/slide-state.js +50 -0
- package/dist/collection/components/content/carousel/test/transitions.cmp.test.js +328 -0
- package/dist/collection/components/data-display/accordion/accordion.js +1 -1
- package/dist/collection/components/data-display/data-table/data-table-cell.js +4 -0
- package/dist/collection/components/data-display/data-table/data-table.css +73 -0
- package/dist/collection/components/data-display/data-table/data-table.js +117 -3
- package/dist/collection/components/data-display/data-table/internals/render-table-body.js +15 -3
- package/dist/collection/components/data-display/data-table/internals/render-table-head.js +1 -1
- package/dist/collection/components/data-display/data-table/internals/table-model.js +9 -1
- package/dist/collection/components/data-display/data-table/test/row-gutter.cmp.test.js +104 -0
- package/dist/collection/components/data-display/data-table/test/two-line-rows.cmp.test.js +164 -0
- package/dist/collection/components/data-display/map/internals/marker-controller.js +22 -0
- package/dist/collection/components/data-display/map/internals/marker-presentation.js +51 -2
- package/dist/collection/components/data-display/map/internals/markers.js +16 -1
- package/dist/collection/components/data-display/map/map.css +31 -0
- package/dist/collection/components/data-display/map/map.js +96 -15
- package/dist/collection/components/data-display/map/map.types.js +1 -1
- package/dist/collection/components/data-display/map/test/map.cmp.test.js +213 -0
- package/dist/collection/components/data-display/pagination/pagination.js +1 -1
- package/dist/collection/components/data-display/syntax-box/internals/value-sync.js +6 -23
- package/dist/collection/components/data-display/syntax-box/internals/value-sync.unit.test.js +25 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.css +12 -5
- package/dist/collection/components/data-display/syntax-box/syntax-box.js +78 -23
- package/dist/collection/components/data-display/syntax-box/test/format-fixtures.js +20 -0
- package/dist/collection/components/data-display/syntax-box/test/syntax-box.cmp.test.js +241 -0
- package/dist/collection/components/data-display/syntax-box/test/syntax-fixtures.js +14 -0
- package/dist/collection/components/data-display/syntax-box/test/syntax-format.cmp.test.js +157 -0
- package/dist/collection/components/indicators/step-diagram/step-diagram.js +2 -2
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +1 -1
- package/dist/collection/components/inputs/dropdown/dropdown.css +11 -11
- package/dist/collection/components/inputs/dropdown/dropdown.js +64 -10
- package/dist/collection/components/inputs/form/form.css +5 -5
- package/dist/collection/components/inputs/form/form.js +203 -100
- package/dist/collection/components/inputs/form/internals/controls.js +121 -27
- package/dist/collection/components/inputs/form/internals/enter-behavior.js +14 -25
- package/dist/collection/components/inputs/form/internals/field-state.js +129 -0
- package/dist/collection/components/inputs/form/internals/reset.js +50 -0
- package/dist/collection/components/inputs/form/internals/submission.js +140 -0
- package/dist/collection/components/inputs/form/internals/values.js +176 -153
- package/dist/collection/components/inputs/form/internals/values.unit.test.js +59 -0
- package/dist/collection/components/inputs/form/test/form-reset-state.cmp.test.js +559 -0
- package/dist/collection/components/inputs/form/test/form-submit-transport.cmp.test.js +352 -0
- package/dist/collection/components/inputs/form/test/form-submit.cmp.test.js +438 -0
- package/dist/collection/components/inputs/form/test/form-values.cmp.test.js +440 -0
- package/dist/collection/components/inputs/input/input.css +10 -10
- package/dist/collection/components/inputs/input/input.js +91 -20
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +6 -6
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +4 -4
- package/dist/collection/components/inputs/radio-group/radio-group.css +10 -10
- package/dist/collection/components/inputs/radio-group/radio-group.js +51 -9
- package/dist/collection/components/inputs/textarea/textarea.css +10 -10
- package/dist/collection/components/inputs/textarea/textarea.js +70 -18
- package/dist/collection/components/inputs/toggle/toggle.css +10 -10
- package/dist/collection/components/inputs/toggle/toggle.js +57 -10
- package/dist/collection/components/layout/grid/grid.js +1 -1
- package/dist/collection/components/layout/inline/inline.js +1 -1
- package/dist/collection/components/layout/navbar/navbar.css +10 -10
- package/dist/collection/components/layout/navbar/navbar.js +2 -2
- package/dist/collection/components/layout/panel/panel.js +4 -4
- package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
- package/dist/collection/components/layout/section/section.js +1 -1
- package/dist/collection/components/layout/sidepanel/internals/drawer.js +42 -4
- package/dist/collection/components/layout/sidepanel/sidepanel.css +148 -17
- package/dist/collection/components/layout/sidepanel/sidepanel.js +99 -10
- package/dist/collection/components/layout/sidepanel/test/nav-drawer-transitions.cmp.test.js +120 -0
- package/dist/collection/components/layout/sidepanel/test/panel-transitions.cmp.test.js +180 -0
- package/dist/collection/components/layout/stack/stack.js +1 -1
- package/dist/collection/components/layout/tabs/tabs.css +9 -9
- package/dist/collection/components/layout/tabs/tabs.js +1 -1
- package/dist/collection/components/layout/toolbar/toolbar.css +6 -6
- package/dist/collection/components/layout/toolbar/toolbar.js +2 -2
- package/dist/collection/components/media/avatar/avatar.js +1 -1
- package/dist/collection/components/media/icon/internals/fetch-icon.js +33 -4
- package/dist/collection/components/media/icon/internals/fetch-icon.unit.test.js +51 -0
- package/dist/collection/components/media/icon/internals/policy.js +184 -0
- package/dist/collection/components/media/icon/internals/policy.unit.test.js +65 -0
- package/dist/collection/components/media/icon/internals/registry-lucide.unit.test.js +78 -0
- package/dist/collection/components/media/icon/internals/registry.js +33 -82
- package/dist/collection/components/media/icon/internals/sanitize-svg.js +80 -57
- package/dist/collection/components/media/icon/internals/url.js +31 -27
- package/dist/collection/components/media/icon/internals/url.unit.test.js +34 -0
- package/dist/collection/components/media/icon/test/icon-fixtures.js +47 -0
- package/dist/collection/components/media/icon/test/icon.cmp.test.js +223 -0
- package/dist/collection/components/media/image-comparison/image-comparison.css +124 -0
- package/dist/collection/components/media/image-comparison/image-comparison.js +468 -0
- package/dist/collection/components/media/image-comparison/test/image-comparison.cmp.test.js +234 -0
- package/dist/collection/components/media/media/media.js +22 -22
- package/dist/collection/components/media/reel/reel.js +2 -2
- package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/overlays/dialog/dialog.css +1 -1
- package/dist/collection/components/overlays/dialog/dialog.js +2 -2
- package/dist/collection/components/overlays/tooltip/internals/positioning.js +20 -5
- package/dist/collection/components/overlays/tooltip/tooltip.css +6 -2
- package/dist/collection/components/overlays/tooltip/tooltip.js +9 -3
- package/dist/collection/components/shared/field.js +1 -1
- package/dist/collection/index.js +2 -1
- package/dist/collection/native-content.css +24 -0
- package/dist/collection/playground/assets/comparison-after.svg +1 -0
- package/dist/collection/playground/assets/comparison-before.svg +1 -0
- package/dist/collection/playground/components/playground-header/playground-header.js +1 -1
- package/dist/collection/playground/playground.bundled.js +164 -4
- package/dist/collection/theme/test/foundation.cmp.test.js +6 -0
- package/dist/collection/theme/test/presets.cmp.test.js +129 -0
- package/dist/collection/theme/tokens.js +136 -4
- package/dist/collection/utils/form-field-adapter.js +44 -0
- package/dist/collection/utils/form-field-state.js +45 -0
- package/dist/collection/utils/form-reset-action.js +60 -0
- package/dist/collection/utils/form-submit-action.js +151 -0
- package/dist/collection/utils/form-submit-action.unit.test.js +15 -0
- package/dist/collection/utils/formatter.js +137 -158
- package/dist/collection/utils/formatter.unit.test.js +69 -51
- package/dist/collection/utils/image-crop.js +47 -0
- package/dist/collection/utils/image-crop.unit.test.js +57 -0
- package/dist/collection/utils/syntax.js +210 -81
- package/dist/collection/utils/syntax.unit.test.js +134 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-NEolaUak.js → p-6PPZ2sIO.js} +1 -1
- package/dist/components/p-B4Mg1xEw.js +1 -0
- package/dist/components/{p-BxFGkrUe.js → p-BH4gQWub.js} +1 -1
- package/dist/components/p-BOdNg0jc.js +1 -0
- package/dist/components/p-BcL0NVv0.js +1 -0
- package/dist/components/p-BofcK-7Z.js +1 -0
- package/dist/components/p-C6vxokHH.js +1 -0
- package/dist/components/p-CGml_DQ8.js +1 -0
- package/dist/components/{p-CK7avZdv.js → p-CKuPOxKN.js} +1 -1
- package/dist/components/p-CN1ut2Lb.js +1 -0
- package/dist/components/p-C_RztzNv.js +5 -0
- package/dist/components/p-CoIMrUb3.js +1 -0
- package/dist/components/{p-g9vOVxQ4.js → p-DKrPmn2y.js} +2 -2
- package/dist/components/p-DT6k8Yhx.js +1 -0
- package/dist/components/p-Dfp_If-_.js +1 -0
- package/dist/components/p-DstNl_WY.js +1 -0
- package/dist/components/p-GHhpSfZU.js +1 -0
- package/dist/components/p-SzKf4WZF.js +1 -0
- package/dist/components/p-ye27qtRo.js +1 -0
- package/dist/components/q-accordion.js +1 -1
- package/dist/components/q-alert.js +1 -1
- package/dist/components/q-avatar.js +1 -1
- package/dist/components/q-banner.js +1 -1
- package/dist/components/q-button.js +1 -1
- package/dist/components/q-card.js +1 -1
- package/dist/components/q-carousel.js +1 -1
- package/dist/components/q-chip.js +1 -1
- package/dist/components/q-conversation-bubble.js +1 -1
- package/dist/components/q-data-table.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.js +1 -1
- package/dist/components/q-grid.js +1 -1
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-image-comparison.d.ts +11 -0
- package/dist/components/q-image-comparison.js +1 -0
- package/dist/components/q-inline.js +1 -1
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-link.js +1 -1
- package/dist/components/q-map.js +1 -1
- package/dist/components/q-media.js +1 -1
- package/dist/components/q-navbar.js +1 -1
- package/dist/components/q-pagination.js +1 -1
- package/dist/components/q-panel.js +1 -1
- package/dist/components/q-progress.js +1 -1
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-radio-group.js +1 -1
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-section.js +1 -1
- package/dist/components/q-sidepanel.js +5 -5
- package/dist/components/q-stack.js +1 -1
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +5 -5
- package/dist/components/q-tabs.js +1 -1
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toast.js +1 -1
- package/dist/components/q-toggle.js +1 -1
- package/dist/components/q-toolbar.js +1 -1
- package/dist/components/q-tooltip.js +1 -1
- package/dist/esm/{action.props-GP1ameE3.js → action.props-CpnGza8z.js} +1 -1
- package/dist/esm/{chevron-up-g9vOVxQ4.js → chevron-up-DKrPmn2y.js} +2 -2
- package/dist/esm/{data-table-cell-DmqVhVoj.js → data-table-cell-SzKf4WZF.js} +5 -1
- package/dist/esm/{field-DkpyvZiX.js → field-zfD6OQ02.js} +2 -2
- package/dist/esm/form-field-adapter-CGml_DQ8.js +46 -0
- package/dist/esm/form-field-state-DstNl_WY.js +47 -0
- package/dist/esm/form-submit-action-CoEIvDqE.js +213 -0
- package/dist/esm/image-crop-BcL0NVv0.js +49 -0
- package/dist/esm/{index-DbGG9Q40.js → index-B5ElFlHv.js} +25 -26
- package/dist/esm/index.js +4 -3
- package/dist/esm/leaflet-maplibre-gl-BvKlNmWf.js +1020 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{map.types-WJHaLJS_.js → map.types-CoIMrUb3.js} +1 -1
- package/dist/esm/q-accordion.entry.js +2 -2
- package/dist/esm/q-alert.entry.js +1 -1
- package/dist/esm/q-avatar.entry.js +2 -2
- package/dist/esm/q-banner.entry.js +1 -1
- package/dist/esm/q-button_2.entry.js +112 -25
- package/dist/esm/q-card.entry.js +3 -3
- package/dist/esm/q-carousel.entry.js +400 -13
- package/dist/esm/q-chip.entry.js +2 -2
- package/dist/esm/q-conversation-bubble.entry.js +1 -1
- package/dist/esm/q-data-table.entry.js +73 -11
- package/dist/esm/q-dialog.entry.js +4 -4
- package/dist/esm/q-dropdown.entry.js +65 -12
- package/dist/esm/q-form.entry.js +775 -288
- package/dist/esm/q-grid.entry.js +3 -3
- package/dist/esm/q-icon.entry.js +143 -89
- package/dist/esm/q-image-comparison.entry.js +199 -0
- package/dist/esm/q-inline.entry.js +3 -3
- package/dist/esm/q-input_2.entry.js +91 -23
- package/dist/esm/q-link.entry.js +2 -2
- package/dist/esm/q-map.entry.js +141 -22
- package/dist/esm/q-media.entry.js +3 -3
- package/dist/esm/q-navbar.entry.js +4 -4
- package/dist/esm/q-pagination.entry.js +2 -2
- package/dist/esm/q-panel.entry.js +6 -6
- package/dist/esm/q-quantity-selector.entry.js +6 -6
- package/dist/esm/q-radio-group.entry.js +49 -12
- package/dist/esm/q-reel.entry.js +3 -3
- package/dist/esm/q-scrollable.entry.js +4 -4
- package/dist/esm/q-section.entry.js +2 -2
- package/dist/esm/q-sidepanel.entry.js +146 -26
- package/dist/esm/q-stack.entry.js +3 -3
- package/dist/esm/q-step-diagram-item.entry.js +2 -2
- package/dist/esm/q-step-diagram.entry.js +3 -3
- package/dist/esm/q-syntax-box.entry.js +418 -301
- package/dist/esm/q-tabs.entry.js +3 -3
- package/dist/esm/q-textarea.entry.js +67 -22
- package/dist/esm/q-thumbnail.entry.js +3 -3
- package/dist/esm/q-toast.entry.js +1 -1
- package/dist/esm/q-toggle.entry.js +59 -13
- package/dist/esm/q-toolbar.entry.js +5 -5
- package/dist/esm/registry-GHhpSfZU.js +308 -0
- package/dist/esm/tokens-B4Mg1xEw.js +953 -0
- package/dist/esm/webquark.js +4 -4
- package/dist/playground/assets/comparison-after.svg +1 -0
- package/dist/playground/assets/comparison-before.svg +1 -0
- package/dist/playground/assets/icons/check-preview.png +0 -0
- package/dist/playground/assets/icons/spinner.svg +1 -1
- package/dist/playground/build/index.esm.js +1 -1
- package/dist/playground/build/{p-737ca99e.entry.js → p-023f8437.entry.js} +1 -1
- package/dist/{webquark/p-989bdc1a.entry.js → playground/build/p-030ecde3.entry.js} +1 -1
- package/dist/playground/build/p-04c8cb9e.entry.js +1 -0
- package/dist/playground/build/p-059daa8a.entry.js +1 -0
- package/dist/playground/build/{p-ecbc0fee.entry.js → p-09cca7b9.entry.js} +1 -1
- package/dist/playground/build/p-0aa74ad6.entry.js +1 -0
- package/dist/playground/build/p-0ae43d6c.entry.js +1 -0
- package/dist/playground/build/p-0c3aac3f.entry.js +1 -0
- package/dist/playground/build/p-144ef339.entry.js +1 -0
- package/dist/playground/build/p-1d1f7bc3.entry.js +1 -0
- package/dist/playground/build/p-296fbdb1.entry.js +1 -0
- package/dist/playground/build/p-36118d90.entry.js +1 -0
- package/dist/playground/build/{p-742e39f1.entry.js → p-3bc4629c.entry.js} +1 -1
- package/dist/playground/build/{p-8bdababd.entry.js → p-48fb5228.entry.js} +1 -1
- package/dist/{webquark/p-abf54361.entry.js → playground/build/p-4d61b70d.entry.js} +1 -1
- package/dist/playground/build/p-5f232b44.entry.js +13 -0
- package/dist/playground/build/{p-6b63922b.entry.js → p-64096386.entry.js} +1 -1
- package/dist/playground/build/{p-15502232.entry.js → p-6bfffa79.entry.js} +1 -1
- package/dist/{webquark/p-ff1e2363.entry.js → playground/build/p-6e28cfe2.entry.js} +1 -1
- package/dist/playground/build/{p-96ef2b54.entry.js → p-70d9ffde.entry.js} +1 -1
- package/dist/playground/build/{p-97dae970.entry.js → p-8ece2c62.entry.js} +1 -1
- package/dist/playground/build/p-90b0858c.entry.js +1 -0
- package/dist/playground/build/p-91fff6b6.entry.js +1 -0
- package/dist/playground/build/p-923dac41.entry.js +1 -0
- package/dist/playground/build/p-97a89cae.entry.js +1 -0
- package/dist/playground/build/{p-f911c90f.entry.js → p-99d785ca.entry.js} +1 -1
- package/dist/playground/build/p-9e78b796.entry.js +1 -0
- package/dist/{webquark/p-d4a915e5.entry.js → playground/build/p-9ff7e5a4.entry.js} +1 -1
- package/dist/playground/build/p-B4Mg1xEw.js +1 -0
- package/dist/playground/build/p-B5ElFlHv.js +3 -0
- package/dist/playground/build/p-BOdNg0jc.js +1 -0
- package/dist/playground/build/p-BcL0NVv0.js +1 -0
- package/dist/playground/build/p-CGml_DQ8.js +1 -0
- package/dist/playground/build/p-C_RztzNv.js +5 -0
- package/dist/playground/build/p-CoIMrUb3.js +1 -0
- package/dist/{webquark/p-g9vOVxQ4.js → playground/build/p-DKrPmn2y.js} +2 -2
- package/dist/playground/build/{p-BqvCR2U8.js → p-DWO-pleQ.js} +1 -1
- package/dist/playground/build/p-Dhsn99q4.js +1 -0
- package/dist/playground/build/p-DstNl_WY.js +1 -0
- package/dist/playground/build/p-GHhpSfZU.js +1 -0
- package/dist/playground/build/p-SzKf4WZF.js +1 -0
- package/dist/playground/build/p-c523ec6f.entry.js +1 -0
- package/dist/playground/build/p-d0253d64.entry.js +1 -0
- package/dist/playground/build/p-d0fbd2b1.entry.js +1 -0
- package/dist/playground/build/{p-0d98e500.entry.js → p-dd115868.entry.js} +1 -1
- package/dist/playground/build/{p-c4fd89b8.entry.js → p-f1bac94c.entry.js} +1 -1
- package/dist/playground/build/p-f4f97e74.entry.js +1 -0
- package/dist/playground/build/p-f63b7214.entry.js +1 -0
- package/dist/{webquark/p-b465aebd.entry.js → playground/build/p-f98f9439.entry.js} +1 -1
- package/dist/playground/build/{p-de8813be.entry.js → p-f9ad63ff.entry.js} +1 -1
- package/dist/playground/build/p-fe200f68.entry.js +1 -0
- package/dist/playground/build/p-fe8c634a.entry.js +13 -0
- package/dist/playground/build/p-fec6fe0a.entry.js +1 -0
- package/dist/playground/build/webquark.css +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/native-content.css +24 -0
- package/dist/playground/playground/components.manifest.json +1 -0
- package/dist/playground/playground/specs/q-carousel.sandbox.json +15 -0
- package/dist/playground/playground/specs/q-data-table.sandbox.json +24 -0
- package/dist/playground/playground/specs/q-icon.sandbox.json +17 -1
- package/dist/playground/playground/specs/q-image-comparison.sandbox.json +24 -0
- package/dist/playground/playground/specs/q-syntax-box.sandbox.json +68 -24
- package/dist/playground/playground.js +164 -4
- package/dist/playground/presets.html +47 -0
- package/dist/types/components/actions/button/button.d.ts +26 -0
- package/dist/types/components/actions/button/test/button-slots.cmp.test.d.ts +1 -0
- package/dist/types/components/content/carousel/carousel.d.ts +71 -4
- package/dist/types/components/content/carousel/carousel.types.d.ts +5 -0
- package/dist/types/components/content/carousel/internals/autoplay.d.ts +22 -0
- package/dist/types/components/content/carousel/internals/slide-state.d.ts +8 -0
- package/dist/types/components/content/carousel/test/transitions.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/data-table/data-table-cell.d.ts +2 -0
- package/dist/types/components/data-display/data-table/data-table.d.ts +18 -1
- package/dist/types/components/data-display/data-table/data-table.types.d.ts +3 -0
- package/dist/types/components/data-display/data-table/internals/render-table-body.d.ts +1 -0
- package/dist/types/components/data-display/data-table/internals/table-model.d.ts +5 -1
- package/dist/types/components/data-display/data-table/test/row-gutter.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/data-table/test/two-line-rows.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/map/internals/marker-controller.d.ts +2 -0
- package/dist/types/components/data-display/map/map.d.ts +7 -3
- package/dist/types/components/data-display/map/map.types.d.ts +11 -1
- package/dist/types/components/data-display/syntax-box/internals/value-sync.d.ts +1 -4
- package/dist/types/components/data-display/syntax-box/internals/value-sync.unit.test.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.d.ts +9 -3
- package/dist/types/components/data-display/syntax-box/test/format-fixtures.d.ts +6 -0
- package/dist/types/components/data-display/syntax-box/test/syntax-box.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/test/syntax-fixtures.d.ts +9 -0
- package/dist/types/components/data-display/syntax-box/test/syntax-format.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/inputs/form/form.d.ts +12 -7
- package/dist/types/components/inputs/form/form.types.d.ts +2 -0
- package/dist/types/components/inputs/form/internals/controls.d.ts +3 -0
- package/dist/types/components/inputs/form/internals/field-state.d.ts +19 -0
- package/dist/types/components/inputs/form/internals/reset.d.ts +3 -0
- package/dist/types/components/inputs/form/internals/submission.d.ts +17 -0
- package/dist/types/components/inputs/form/internals/values.d.ts +6 -1
- package/dist/types/components/inputs/form/internals/values.unit.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-reset-state.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-submit-transport.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-submit.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-values.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/input/input.d.ts +7 -1
- package/dist/types/components/inputs/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/inputs/textarea/textarea.d.ts +6 -1
- package/dist/types/components/inputs/toggle/toggle.d.ts +5 -0
- package/dist/types/components/layout/sidepanel/sidepanel.d.ts +9 -0
- package/dist/types/components/layout/sidepanel/test/nav-drawer-transitions.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/sidepanel/test/panel-transitions.cmp.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/fetch-icon.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/policy.d.ts +19 -0
- package/dist/types/components/media/icon/internals/policy.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/registry-lucide.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/sanitize-svg.d.ts +1 -1
- package/dist/types/components/media/icon/internals/url.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/test/icon-fixtures.d.ts +4 -0
- package/dist/types/components/media/icon/test/icon.cmp.test.d.ts +1 -0
- package/dist/types/components/media/image-comparison/image-comparison.d.ts +63 -0
- package/dist/types/components/media/image-comparison/test/image-comparison.cmp.test.d.ts +1 -0
- package/dist/types/components/media/media/media.d.ts +1 -1
- package/dist/types/components/overlays/tooltip/internals/positioning.d.ts +1 -1
- package/dist/types/components/overlays/tooltip/tooltip.d.ts +5 -0
- package/dist/types/components.d.ts +436 -23
- package/dist/types/index.d.ts +7 -4
- package/dist/types/theme/test/presets.cmp.test.d.ts +7 -0
- package/dist/types/theme/tokens.d.ts +78 -0
- package/dist/types/utils/form-field-adapter.d.ts +17 -0
- package/dist/types/utils/form-field-state.d.ts +4 -0
- package/dist/types/utils/form-reset-action.d.ts +5 -0
- package/dist/types/utils/form-submit-action.d.ts +17 -0
- package/dist/types/utils/form-submit-action.unit.test.d.ts +1 -0
- package/dist/types/utils/formatter.d.ts +10 -19
- package/dist/types/utils/image-crop.d.ts +30 -0
- package/dist/types/utils/image-crop.unit.test.d.ts +1 -0
- package/dist/types/utils/syntax.d.ts +11 -7
- package/dist/types/utils/syntax.unit.test.d.ts +1 -0
- package/dist/webquark/index.esm.js +1 -1
- package/dist/webquark/native-content.css +24 -0
- package/dist/webquark/{p-737ca99e.entry.js → p-023f8437.entry.js} +1 -1
- package/dist/{playground/build/p-989bdc1a.entry.js → webquark/p-030ecde3.entry.js} +1 -1
- package/dist/webquark/p-04c8cb9e.entry.js +1 -0
- package/dist/webquark/p-059daa8a.entry.js +1 -0
- package/dist/webquark/{p-ecbc0fee.entry.js → p-09cca7b9.entry.js} +1 -1
- package/dist/webquark/p-0aa74ad6.entry.js +1 -0
- package/dist/webquark/p-0ae43d6c.entry.js +1 -0
- package/dist/webquark/p-0c3aac3f.entry.js +1 -0
- package/dist/webquark/p-144ef339.entry.js +1 -0
- package/dist/webquark/p-1d1f7bc3.entry.js +1 -0
- package/dist/webquark/p-296fbdb1.entry.js +1 -0
- package/dist/webquark/p-36118d90.entry.js +1 -0
- package/dist/webquark/{p-742e39f1.entry.js → p-3bc4629c.entry.js} +1 -1
- package/dist/webquark/{p-8bdababd.entry.js → p-48fb5228.entry.js} +1 -1
- package/dist/{playground/build/p-abf54361.entry.js → webquark/p-4d61b70d.entry.js} +1 -1
- package/dist/webquark/p-5f232b44.entry.js +13 -0
- package/dist/webquark/{p-6b63922b.entry.js → p-64096386.entry.js} +1 -1
- package/dist/webquark/{p-15502232.entry.js → p-6bfffa79.entry.js} +1 -1
- package/dist/{playground/build/p-ff1e2363.entry.js → webquark/p-6e28cfe2.entry.js} +1 -1
- package/dist/webquark/{p-96ef2b54.entry.js → p-70d9ffde.entry.js} +1 -1
- package/dist/webquark/{p-97dae970.entry.js → p-8ece2c62.entry.js} +1 -1
- package/dist/webquark/p-90b0858c.entry.js +1 -0
- package/dist/webquark/p-91fff6b6.entry.js +1 -0
- package/dist/webquark/p-923dac41.entry.js +1 -0
- package/dist/webquark/p-97a89cae.entry.js +1 -0
- package/dist/webquark/{p-f911c90f.entry.js → p-99d785ca.entry.js} +1 -1
- package/dist/webquark/p-9e78b796.entry.js +1 -0
- package/dist/{playground/build/p-d4a915e5.entry.js → webquark/p-9ff7e5a4.entry.js} +1 -1
- package/dist/webquark/p-B4Mg1xEw.js +1 -0
- package/dist/webquark/p-B5ElFlHv.js +3 -0
- package/dist/webquark/p-BOdNg0jc.js +1 -0
- package/dist/webquark/p-BcL0NVv0.js +1 -0
- package/dist/webquark/p-CGml_DQ8.js +1 -0
- package/dist/webquark/p-C_RztzNv.js +5 -0
- package/dist/webquark/p-CoIMrUb3.js +1 -0
- package/dist/{playground/build/p-g9vOVxQ4.js → webquark/p-DKrPmn2y.js} +2 -2
- package/dist/webquark/{p-BqvCR2U8.js → p-DWO-pleQ.js} +1 -1
- package/dist/webquark/p-Dhsn99q4.js +1 -0
- package/dist/webquark/p-DstNl_WY.js +1 -0
- package/dist/webquark/p-GHhpSfZU.js +1 -0
- package/dist/webquark/p-SzKf4WZF.js +1 -0
- package/dist/webquark/p-c523ec6f.entry.js +1 -0
- package/dist/webquark/p-d0253d64.entry.js +1 -0
- package/dist/webquark/p-d0fbd2b1.entry.js +1 -0
- package/dist/webquark/{p-0d98e500.entry.js → p-dd115868.entry.js} +1 -1
- package/dist/webquark/{p-c4fd89b8.entry.js → p-f1bac94c.entry.js} +1 -1
- package/dist/webquark/p-f4f97e74.entry.js +1 -0
- package/dist/webquark/p-f63b7214.entry.js +1 -0
- package/dist/{playground/build/p-b465aebd.entry.js → webquark/p-f98f9439.entry.js} +1 -1
- package/dist/webquark/{p-de8813be.entry.js → p-f9ad63ff.entry.js} +1 -1
- package/dist/webquark/p-fe200f68.entry.js +1 -0
- package/dist/webquark/p-fe8c634a.entry.js +13 -0
- package/dist/webquark/p-fec6fe0a.entry.js +1 -0
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +17 -19
- package/scripts/webquark-serve.js +9 -7
- package/scripts/wq-switch/README.md +115 -103
- package/scripts/wq-switch/dist/index.js +129 -82
- package/scripts/wq-switch/dist/setup.js +81 -61
- package/dist/cjs/leaflet-maplibre-gl-BJKExsns.js +0 -1031
- package/dist/cjs/registry-BhkCNgxt.js +0 -179
- package/dist/cjs/tokens-DGECOqpA.js +0 -42
- package/dist/components/p-0PieXMX9.js +0 -1
- package/dist/components/p-BOYjkCNa.js +0 -1
- package/dist/components/p-BvBRW3dl.js +0 -1
- package/dist/components/p-Bw4TVbfm.js +0 -1
- package/dist/components/p-CFuqfXuv.js +0 -9
- package/dist/components/p-Cx1vCuMp.js +0 -1
- package/dist/components/p-D0Q2vrt5.js +0 -1
- package/dist/components/p-DmqVhVoj.js +0 -1
- package/dist/components/p-GU98U1DJ.js +0 -1
- package/dist/components/p-WJHaLJS_.js +0 -1
- package/dist/components/p-f95uguY1.js +0 -1
- package/dist/esm/leaflet-maplibre-gl-BVDAAs7w.js +0 -1026
- package/dist/esm/registry-BvBRW3dl.js +0 -173
- package/dist/esm/tokens-f95uguY1.js +0 -38
- package/dist/playground/build/p-0aea8464.entry.js +0 -1
- package/dist/playground/build/p-0aecd9b1.entry.js +0 -1
- package/dist/playground/build/p-139fec38.entry.js +0 -1
- package/dist/playground/build/p-17340abf.entry.js +0 -1
- package/dist/playground/build/p-303dcac8.entry.js +0 -1
- package/dist/playground/build/p-408bf48a.entry.js +0 -1
- package/dist/playground/build/p-47253466.entry.js +0 -1
- package/dist/playground/build/p-5f6860f2.entry.js +0 -13
- package/dist/playground/build/p-6b619655.entry.js +0 -1
- package/dist/playground/build/p-71e3d582.entry.js +0 -1
- package/dist/playground/build/p-8115ec23.entry.js +0 -1
- package/dist/playground/build/p-8ad43d7f.entry.js +0 -1
- package/dist/playground/build/p-9418caa0.entry.js +0 -1
- package/dist/playground/build/p-BvBRW3dl.js +0 -1
- package/dist/playground/build/p-CFuqfXuv.js +0 -9
- package/dist/playground/build/p-DbGG9Q40.js +0 -3
- package/dist/playground/build/p-DmqVhVoj.js +0 -1
- package/dist/playground/build/p-JgeOdXyP.js +0 -1
- package/dist/playground/build/p-WJHaLJS_.js +0 -1
- package/dist/playground/build/p-a4b36120.entry.js +0 -1
- package/dist/playground/build/p-aed4b219.entry.js +0 -1
- package/dist/playground/build/p-b3a07d94.entry.js +0 -1
- package/dist/playground/build/p-c1f3dca6.entry.js +0 -1
- package/dist/playground/build/p-c4899c2b.entry.js +0 -1
- package/dist/playground/build/p-cf8f7f2a.entry.js +0 -1
- package/dist/playground/build/p-d7d436c5.entry.js +0 -13
- package/dist/playground/build/p-eb71e335.entry.js +0 -1
- package/dist/playground/build/p-ed327679.entry.js +0 -1
- package/dist/playground/build/p-f95uguY1.js +0 -1
- package/dist/webquark/p-0aea8464.entry.js +0 -1
- package/dist/webquark/p-0aecd9b1.entry.js +0 -1
- package/dist/webquark/p-139fec38.entry.js +0 -1
- package/dist/webquark/p-17340abf.entry.js +0 -1
- package/dist/webquark/p-303dcac8.entry.js +0 -1
- package/dist/webquark/p-408bf48a.entry.js +0 -1
- package/dist/webquark/p-47253466.entry.js +0 -1
- package/dist/webquark/p-5f6860f2.entry.js +0 -13
- package/dist/webquark/p-6b619655.entry.js +0 -1
- package/dist/webquark/p-71e3d582.entry.js +0 -1
- package/dist/webquark/p-8115ec23.entry.js +0 -1
- package/dist/webquark/p-8ad43d7f.entry.js +0 -1
- package/dist/webquark/p-9418caa0.entry.js +0 -1
- package/dist/webquark/p-BvBRW3dl.js +0 -1
- package/dist/webquark/p-CFuqfXuv.js +0 -9
- package/dist/webquark/p-DbGG9Q40.js +0 -3
- package/dist/webquark/p-DmqVhVoj.js +0 -1
- package/dist/webquark/p-JgeOdXyP.js +0 -1
- package/dist/webquark/p-WJHaLJS_.js +0 -1
- package/dist/webquark/p-a4b36120.entry.js +0 -1
- package/dist/webquark/p-aed4b219.entry.js +0 -1
- package/dist/webquark/p-b3a07d94.entry.js +0 -1
- package/dist/webquark/p-c1f3dca6.entry.js +0 -1
- package/dist/webquark/p-c4899c2b.entry.js +0 -1
- package/dist/webquark/p-cf8f7f2a.entry.js +0 -1
- package/dist/webquark/p-d7d436c5.entry.js +0 -13
- package/dist/webquark/p-eb71e335.entry.js +0 -1
- package/dist/webquark/p-ed327679.entry.js +0 -1
- package/dist/webquark/p-f95uguY1.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t,t as i,p as e,H as s}from"./p-GU98U1DJ.js";import{a as n,p as r,i as o}from"./p-BvBRW3dl.js";function a(i){const[e,s,n]=i;return t(e,s,n?.map(a))}const l=new Set(["script","foreignobject","iframe","object","embed","link","meta"]),h=/<\s*(script|foreignObject|iframe|object|embed|link|meta)\b[\s\S]*?(?:<\/\s*\1\s*>|\/\s*>)/gi,c=/\s+on[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,d=/\s+(style|tabindex)\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,f=/\s+(xlink:href|href)\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,u=/\s+[a-z_:.-]+\s*=\s*("[^"]*javascript:[^"]*"|'[^']*javascript:[^']*'|[^\s>]*javascript:[^\s>]*)/gi;function g(t){return/<svg[\s>]/i.test(t)?t.replace(h,"").replace(c,"").replace(d,"").replace(u,"").replace(f,((t,i,e)=>String(e).replace(/^['"]|['"]$/g,"").trim().toLowerCase().startsWith("#")?t:"")).replace(/<svg\b([^>]*)>/i,((t,i)=>`<svg${String(i).replace(/\s+aria-hidden\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/\s+focusable\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,"")} aria-hidden="true" focusable="false">`)).trim():""}const m=[".png",".jpg",".jpeg",".webp",".gif",".ico"];function p(t,i){const e=t?.trim();return e||i}const v=e(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get el(){return this}name;library;lib="lucide";localPath="/assets/icons/";libraryVersion;libVersion;fetchTimeout=8e3;definition;size="md";color="currentColor";label;svgContent="";isBinary=!1;resolvedUrl="";hasError=!1;resolvedDefinition;fetchId=0;watchHandler(){this.loadIcon()}componentWillLoad(){this.loadIcon()}componentWillRender(){this.syncHostState()}componentDidRender(){this.syncHostState()}componentDidLoad(){this.syncHostState()}componentDidUpdate(){this.syncHostState()}get accessibleLabel(){const t=this.label?.trim();return t||void 0}handleImageError=()=>{this.hasError=!0,this.syncHostState()};syncHostState(){if(!this.el)return;const t=function(t){const i=t?String(t).trim():"md";return"sm"===i?"16px":"md"===i?"24px":"lg"===i?"32px":/^\d+$/.test(i)?`${i}px`:i}(this.size),i=this.accessibleLabel;this.el.style.width=t,this.el.style.height=t,this.el.style.color=this.color,this.el.classList.toggle("q-icon-error",this.hasError),this.el.classList.toggle("q-icon-binary",!this.hasError&&this.isBinary),this.el.classList.toggle("q-icon-svg",!this.hasError&&!this.isBinary),i?(this.el.setAttribute("role","img"),this.el.setAttribute("aria-label",i),this.el.setAttribute("aria-hidden","false")):(this.el.removeAttribute("role"),this.el.removeAttribute("aria-label"),this.el.setAttribute("aria-hidden","true"))}async loadIcon(){const t=++this.fetchId;this.hasError=!1,this.resolvedDefinition=void 0,this.syncHostState();const i=this.definition??n(this.name);if(i){try{this.resolvedDefinition=this.definition?r(i,"q-icon definition"):i,this.svgContent="",this.resolvedUrl="",this.isBinary=!1}catch(t){console.error(t),this.hasError=!0}return void this.syncHostState()}if(!this.name)return this.svgContent="",this.resolvedUrl="",this.isBinary=!1,void this.syncHostState();if(o())return this.svgContent="",this.resolvedUrl="",this.isBinary=!1,this.hasError=!0,void this.syncHostState();const e=function(t){const i=t.name.trim();if("lucide"===t.library)return`https://cdn.jsdelivr.net/npm/lucide-static@${p(t.libraryVersion,"0.416.0")}/icons/${encodeURIComponent(i)}.svg`;if("font-awesome"===t.library||"fontawesome"===t.library)return`https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@${p(t.libraryVersion,"6.7.2")}/svgs/solid/${encodeURIComponent(i)}.svg`;if("local"===t.library){let e=t.localPath||"/assets/icons/";return e.endsWith("/")||(e+="/"),`${e}${i}${i.includes(".")?"":".svg"}`}if(t.library.includes("{name}"))return t.library.replace("{name}",i);let e=t.library;return e.endsWith("/")||(e+="/"),`${e}${i}`}({name:this.name,library:this.library??this.lib,localPath:this.localPath,libraryVersion:this.libraryVersion??this.libVersion});if(function(t){const i=t.toLowerCase();return m.some((t=>i.endsWith(t)))}(e))this.fetchId===t&&(this.isBinary=!0,this.resolvedUrl=e,this.svgContent="",this.syncHostState());else{this.fetchId===t&&(this.isBinary=!1,this.resolvedUrl="",this.syncHostState());try{const i=function(t,i=("undefined"!=typeof window?window.location:void 0)){if(!i||/^https?:\/\//i.test(t)||t.startsWith("data:"))return t;const e=i.origin&&"null"!==i.origin?i.origin:"http://localhost";try{return new URL(t,e).href}catch(i){return t}}(e),s=await async function(t,i){const e=Number.isFinite(i)&&i>0?i:8e3,s="undefined"!=typeof AbortController?new AbortController:void 0,n=s?setTimeout((()=>s.abort()),e):void 0;try{const i=await fetch(t,s?{signal:s.signal}:void 0);if(!i.ok)throw new Error(`Failed to load icon SVG from ${t} (status: ${i.status})`);return await i.text()}finally{void 0!==n&&clearTimeout(n)}}(i,this.fetchTimeout),n=function(t){if("undefined"==typeof DOMParser||"undefined"==typeof XMLSerializer)return g(t);const i=(new DOMParser).parseFromString(t,"image/svg+xml"),e=i.querySelector("parsererror"),s=i.documentElement;if(e||!s||"svg"!==s.tagName.toLowerCase())return g(t);const n=t=>{const i=t.tagName.toLowerCase();l.has(i)?t.remove():(Array.from(t.attributes).forEach((e=>{const s=e.name.toLowerCase(),n=e.value.trim().toLowerCase();(s.startsWith("on")||"style"===s||"tabindex"===s||n.startsWith("javascript:")||n.includes("url(javascript:")||("href"===s||"xlink:href"===s)&&"use"===i&&!n.startsWith("#"))&&t.removeAttribute(e.name)})),Array.from(t.children).forEach(n))};return n(s),s.setAttribute("aria-hidden","true"),s.setAttribute("focusable","false"),(new XMLSerializer).serializeToString(s)}(s);if(!n)throw new Error(`Failed to sanitize icon SVG from ${i}`);this.fetchId===t&&(this.svgContent=n,this.syncHostState())}catch(i){console.error(i),this.fetchId===t&&(this.hasError=!0,this.svgContent="",this.syncHostState())}}}render(){return this.hasError?t("div",{class:"icon-fallback",part:"fallback"},t("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","aria-hidden":"true",focusable:"false"},t("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),t("line",{x1:"9",y1:"9",x2:"15",y2:"15"}),t("line",{x1:"15",y1:"9",x2:"9",y2:"15"}))):this.resolvedDefinition?t("div",{class:"svg-container",part:"svg"},function(i){const e={xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${i.width??i.size??24} ${i.height??i.size??24}`,fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",...i.attributes,width:"100%",height:"100%","aria-hidden":"true",focusable:"false"};return t("svg",e,i.node.map(a))}(this.resolvedDefinition)):this.isBinary?t("img",{src:this.resolvedUrl,alt:"","aria-hidden":"true",part:"image",style:{width:"100%",height:"100%",objectFit:"contain"},onError:this.handleImageError}):t("div",{class:"svg-container",part:"svg",innerHTML:this.svgContent})}static get watchers(){return{name:[{watchHandler:0}],definition:[{watchHandler:0}],lib:[{watchHandler:0}],library:[{watchHandler:0}],localPath:[{watchHandler:0}],libVersion:[{watchHandler:0}],libraryVersion:[{watchHandler:0}]}}static get style(){return":host{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle;line-height:1}.svg-container{display:inline-flex;width:100%;height:100%;align-items:center;justify-content:center}.svg-container svg{width:100% !important;height:100% !important;stroke-width:var(--q-icon-stroke-width, 2.1) !important;display:block}.icon-fallback{display:inline-flex;align-items:center;justify-content:center;color:var(--q-color-danger, #f87171);opacity:0.8;width:100%;height:100%}.icon-fallback svg{width:100%;height:100%;stroke-width:var(--q-icon-stroke-width, 2.1);display:block}"}},[513,"q-icon",{name:[1],library:[1],lib:[1],localPath:[1,"local-path"],libraryVersion:[1,"library-version"],libVersion:[1,"lib-version"],fetchTimeout:[2,"fetch-timeout"],definition:[16],size:[8],color:[1],label:[1],svgContent:[32],isBinary:[32],resolvedUrl:[32],hasError:[32],resolvedDefinition:[32]},void 0,{name:[{watchHandler:0}],definition:[{watchHandler:0}],lib:[{watchHandler:0}],library:[{watchHandler:0}],localPath:[{watchHandler:0}],libVersion:[{watchHandler:0}],libraryVersion:[{watchHandler:0}]}]);function b(){"undefined"!=typeof customElements&&["q-icon"].forEach((t=>{"q-icon"===t&&(customElements.get(i(t))||customElements.define(i(t),v))}))}b();export{v as Q,b as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as s,H as i,h as e,d as o}from"./p-GU98U1DJ.js";let r=0;const n=s(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get el(){return this}content;position="top";delay=200;visible=!1;showTimer;parentEl=null;describedByAdded=!1;tooltipId="";connectedCallback(){this.parentEl=this.el.parentElement,this.parentEl&&(this.syncAriaDescribedBy(),this.parentEl.addEventListener("mouseenter",this.show),this.parentEl.addEventListener("mouseleave",this.hide),this.parentEl.addEventListener("focusin",this.show),this.parentEl.addEventListener("focusout",this.hide))}disconnectedCallback(){this.parentEl&&(this.parentEl.removeEventListener("mouseenter",this.show),this.parentEl.removeEventListener("mouseleave",this.hide),this.parentEl.removeEventListener("focusin",this.show),this.parentEl.removeEventListener("focusout",this.hide),this.removeAriaDescribedBy()),this.removeScrollListeners(),clearTimeout(this.showTimer)}updatePosition=()=>{if(!this.parentEl)return;const{left:t,top:s}=function(t,s,i){const e=s.getBoundingClientRect(),o=function(t){let s=t;for(;s;){let t=s.parentElement;if(!t&&s.parentNode){const i=s.parentNode;t=i.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&i.host?i.host:i}if(!t||t.nodeType!==Node.ELEMENT_NODE){s=t;continue}const i=t,e=window.getComputedStyle(i),o=e.backdropFilter||e.webkitBackdropFilter;if(e.transform&&"none"!==e.transform||e.perspective&&"none"!==e.perspective||e.filter&&"none"!==e.filter||o&&"none"!==o||e.willChange&&(e.willChange.includes("transform")||e.willChange.includes("perspective")||e.willChange.includes("filter")||e.willChange.includes("backdrop-filter"))||e.contain&&(e.contain.includes("paint")||e.contain.includes("contain")||e.contain.includes("layout")||e.contain.includes("content")||e.contain.includes("strict")))return i;s=t}return null}(t),r=o?.getBoundingClientRect(),n=r?.left||0,a=r?.top||0;switch(i){case"bottom":return{left:e.left+e.width/2-n,top:e.bottom-a};case"left":return{left:e.left-n,top:e.top+e.height/2-a};case"right":return{left:e.right-n,top:e.top+e.height/2-a};default:return{left:e.left+e.width/2-n,top:e.top-a}}}(this.el,this.parentEl,this.position);this.el.style.left=`${t}px`,this.el.style.top=`${s}px`};show=()=>{clearTimeout(this.showTimer),this.showTimer=setTimeout((()=>{this.visible=!0,this.updatePosition(),this.addScrollListeners()}),this.delay)};hide=()=>{clearTimeout(this.showTimer),this.visible&&(this.visible=!1,this.removeScrollListeners())};handleScroll=()=>{this.hide()};syncAriaDescribedBy(){if(!this.parentEl)return;const t=function(t){const s=t.host.id||t.fallbackId;t.host.id||(t.host.id=s);const i=t.trigger.getAttribute("aria-describedby"),e=i?i.split(/\s+/).filter(Boolean):[];return e.includes(s)?{tooltipId:s,added:!1}:(t.trigger.setAttribute("aria-describedby",[...e,s].join(" ")),{tooltipId:s,added:!0})}({host:this.el,trigger:this.parentEl,fallbackId:"q-tooltip-"+ ++r});this.tooltipId=t.tooltipId,this.describedByAdded=t.added}removeAriaDescribedBy(){!function(t){if(!t.trigger||!t.added||!t.tooltipId)return;const s=t.trigger.getAttribute("aria-describedby");if(!s)return;const i=s.split(/\s+/).filter((s=>s&&s!==t.tooltipId));i.length?t.trigger.setAttribute("aria-describedby",i.join(" ")):t.trigger.removeAttribute("aria-describedby")}({trigger:this.parentEl,tooltipId:this.tooltipId,added:this.describedByAdded}),this.describedByAdded=!1}addScrollListeners(){!function(t,s){window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s);let i=t;for(;i;)i.addEventListener("scroll",s,{passive:!0}),i=i.parentElement}(this.parentEl,this.handleScroll)}removeScrollListeners(){!function(t,s){window.removeEventListener("scroll",s),window.removeEventListener("resize",s);let i=t;for(;i;)i.removeEventListener("scroll",s),i=i.parentElement}(this.parentEl,this.handleScroll)}render(){return e(o,{key:"caabdb699db1cae6b1d64f6289fedb10331a23db",class:{"is-visible":this.visible},"aria-hidden":this.visible?"false":"true",role:"tooltip"},e("div",{key:"e331e10f1a300c53d4dd68874300391fe0ee5be4",class:"tooltip-bubble"},this.content||e("slot",{key:"a2cfcdc4ea2f01ad66f5302296fff3688de4d6f8"})))}static get style(){return':host{position:fixed;pointer-events:none;z-index:1000;opacity:0;display:block;transition:opacity 0.15s ease-out, transform 0.15s ease-out}:host(.is-visible){opacity:1}:host([position="top"]){transform:translate(-50%, -100%) translate(0, 4px)}:host([position="top"].is-visible){transform:translate(-50%, -100%) translate(0, -8px)}:host([position="bottom"]){transform:translate(-50%, 0) translate(0, -4px)}:host([position="bottom"].is-visible){transform:translate(-50%, 0) translate(0, 8px)}:host([position="left"]){transform:translate(-100%, -50%) translate(4px, 0)}:host([position="left"].is-visible){transform:translate(-100%, -50%) translate(-8px, 0)}:host([position="right"]){transform:translate(0, -50%) translate(-4px, 0)}:host([position="right"].is-visible){transform:translate(0, -50%) translate(8px, 0)}.tooltip-bubble{background:var(--q-bg-surface-3, #1e293b);color:var(--q-fg-base);border:1px solid var(--q-border-color, rgba(255, 255, 255, 0.08));padding:6px 10px;border-radius:var(--q-radius-sm, 4px);font-family:var(--q-font-family, system-ui, -apple-system, sans-serif);font-size:var(--q-font-size-sm);font-weight:500;white-space:nowrap;box-shadow:0 4px 12px rgba(0, 0, 0, 0.25);line-height:1.2}'}},[769,"q-tooltip",{content:[1],position:[513],delay:[2],visible:[32]}]);function a(){"undefined"!=typeof customElements&&["q-tooltip"].forEach((s=>{"q-tooltip"===s&&(customElements.get(t(s))||customElements.define(t(s),n))}))}a();export{n as Q,a as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function n(n,t){return`q-data-table-cell-${o(u(n))}-${o(u(t))}`}function t(n,t,e){if(r(n)&&Object.prototype.hasOwnProperty.call(n,e)){const t=n[e];return"string"==typeof t||"number"==typeof t?t:void 0}}function e(n,t){if(t)return t.split(".").reduce(((n,t)=>{if(r(n))return n[t]}),n)}function r(n){return"object"==typeof n&&null!==n}function u(n){return"string"==typeof n?`string:${n}`:(t=n,Number.isNaN(t)?"number:NaN":Object.is(t,-0)?"number:-0":`number:${String(t)}`);var t}function o(n){return encodeURIComponent(n).replaceAll("'","%27")}export{e as a,t as b,n as g}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=":root{--q-space-none:0rem;--q-space-xs:0.25rem;--q-space-sm:0.5rem;--q-space-md:0.75rem;--q-space-lg:1rem;--q-space-xl:1.5rem;--q-space-2xl:2rem;--q-space-3xl:3rem;--q-control-height-sm:1.75rem;--q-control-font-sm:0.75rem;--q-control-line-sm:1rem;--q-control-padding-sm:0.5rem;--q-control-icon-sm:0.875rem;--q-control-radius-sm:0.34375rem;--q-control-height-md:2.25rem;--q-control-font-md:0.875rem;--q-control-line-md:1.25rem;--q-control-padding-md:0.75rem;--q-control-icon-md:1rem;--q-control-radius-md:0.4375rem;--q-control-height-lg:2.75rem;--q-control-font-lg:1rem;--q-control-line-lg:1.5rem;--q-control-padding-lg:1rem;--q-control-icon-lg:1.25rem;--q-control-radius-lg:0.53125rem;--q-color-primary:#60a5fa;--q-color-primary-hover:#93c5fd;--q-color-secondary:#9777ea;--q-color-success:#34d399;--q-color-warning:#fbbf24;--q-color-danger:#f87171;--q-bg-base:#0b0f19;--q-bg-surface-1:#111827;--q-bg-surface-2:#19243b;--q-bg-surface-3:#22304d;--q-bg-surface-4:#2c3a58;--q-bg-surface-5:#374761;--q-bg-glass:rgba(25, 36, 59, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.85);--q-fg-base:#f9fafb;--q-fg-muted:#9ca3af;--q-border-color:#374151;--q-dialog-backdrop-bg:var(--q-bg-overlay, rgba(0, 0, 0, 0.85));--q-dialog-backdrop-solid-bg:var(--q-bg-overlay, rgba(0, 0, 0, 0.85));--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.2);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.3);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.45);--q-glow-interactive:0 0 20px rgba(96, 165, 250, 0.3);--q-border-width:1px;--q-border:var(--q-border-width) solid var(--q-border-color);--q-focus-ring:2px solid var(--q-color-primary);--q-font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;--q-font-size-sm:0.7rem;--q-font-size-base:0.9rem;--q-font-size-lg:1rem;--q-font-weight-normal:400;--q-font-weight-bold:600;--q-radius-sm:4px;--q-radius-md:7px;--q-radius-lg:11px;--q-padding-sm:var(--q-space-sm, .5rem);--q-padding-md:var(--q-space-md, .75rem);--q-padding-lg:var(--q-space-lg, 1rem);--q-transition-fast:150ms ease;--q-transition-normal:250ms cubic-bezier(0.4, 0, 0.2, 1);--q-transition-slow:400ms cubic-bezier(0.4, 0, 0.2, 1);--q-z-index-overlay:1000;--q-z-index-popover:1100;--q-z-index-toast:1200;--q-hover-transform:translateY(-4px) scale(1.02);--q-btn-hover-overlay:color-mix(in srgb, var(--q-fg-base) 8%, transparent);--q-card-border:var(--q-border);--q-card-hover-transform:var(--q-hover-transform);--q-card-transition-duration:var(--q-transition-normal);--q-step-diag-line:2px solid var(--q-border-color);--q-step-diag-border:var(--q-border);--q-step-diag-icon-size:32px;--q-step-diag-item-gap:24px;--q-thumb-aspect-ratio:16 / 9;--q-thumb-border:2px solid var(--q-thumb-border-color);--q-thumb-hover-transform:var(--q-hover-transform);--q-thumb-overlay-bg:rgba(0, 0, 0, 0.4);--q-thumb-radius:var(--q-radius-md);--q-thumb-border-color:transparent;--q-thumb-glow:var(--q-glow-interactive);--q-reel-gap:12px;--q-reel-columns-desktop:repeat(auto-fill, minmax(200px, 1fr));--q-reel-columns-mobile:1fr;--q-lightbox-max-size:90vh;--q-reel-lightbox-btn-bg:rgba(0, 0, 0, 0.5);--q-reel-lightbox-btn-border:1px solid rgba(255, 255, 255, 0.2);--q-reel-lightbox-btn-color:#ffffff;--q-reel-lightbox-btn-hover-bg:rgba(255, 255, 255, 0.2);--q-avatar-size-sm:28px;--q-avatar-size-md:40px;--q-avatar-size-lg:56px;--q-avatar-bg:var(--q-bg-surface-3);--q-avatar-fg:var(--q-fg-base);--q-avatar-border:var(--q-border);--q-conversation-incoming-bg:var(--q-bg-surface-2);--q-conversation-outgoing-bg:var(--q-color-primary);--q-conversation-outgoing-fg:#ffffff;--q-conversation-system-bg:transparent;--q-conversation-system-fg:var(--q-fg-muted);--q-carousel-gap:16px;--q-carousel-padding:24px 20px;--q-carousel-arrow-bg:var(--q-bg-overlay);--q-carousel-arrow-border:var(--q-border);--q-carousel-arrow-color:#ffffff;--q-carousel-arrow-size:40px;--q-carousel-indicator-gap:8px;--q-carousel-indicator-size:6px;--q-progress-transition:var(--q-transition-normal);--q-progress-indeterminate-duration:1.4s;--q-progress-linear-height-sm:4px;--q-progress-linear-height-md:6px;--q-progress-linear-height-lg:8px;--q-progress-linear-radius:999px;--q-progress-circular-size-sm:64px;--q-progress-circular-size-md:120px;--q-progress-circular-size-lg:180px;--q-progress-circular-stroke-width-sm:6px;--q-progress-circular-stroke-width-md:8px;--q-progress-circular-stroke-width-lg:10px;--q-progress-circular-linecap:round;--q-progress-circular-font-weight:var(--q-font-weight-bold);--q-btn-font-weight:var(--q-font-weight-bold);--q-btn-active-transform:scale(0.97);--q-btn-transition:all 150ms cubic-bezier(0.4, 0, 0.2, 1);--q-btn-icon-padding-sm:4px;--q-btn-icon-padding-md:6px;--q-btn-icon-padding-lg:9px;--q-chip-radius:999px;--q-chip-border:var(--q-border);--q-chip-font-weight:var(--q-font-weight-bold);--q-chip-padding-sm:4px 9px;--q-chip-padding-md:6px 11px;--q-chip-padding-lg:8px 14px;--q-chip-height-sm:24px;--q-chip-height-md:30px;--q-chip-height-lg:36px;--q-chip-active-transform:scale(0.97);--q-field-border:var(--q-border);--q-field-border-color-focus:var(--q-color-primary);--q-input-border:var(--q-field-border);--q-dropdown-border:var(--q-field-border);--q-panel-border:var(--q-border);--q-sidepanel-bg:var(--q-bg-surface-1);--q-sidepanel-border:var(--q-border);--q-sidepanel-shadow:var(--q-shadow-high);--q-sidepanel-panel-width:320px;--q-sidepanel-panel-padding:var(--q-padding-lg);--q-sidepanel-panel-header-padding:var(--q-padding-lg);--q-sidepanel-panel-footer-padding:var(--q-padding-lg);--q-sidepanel-panel-section-border:var(--q-border);--q-map-height:100%;--q-map-min-height:240px;--q-map-bg:var(--q-bg-surface-1);--q-map-border:var(--q-border);--q-map-radius:var(--q-radius-lg);--q-map-marker-size:20px;--q-map-marker-size-small:16px;--q-map-marker-size-medium:var(--q-map-marker-size);--q-map-marker-size-large:24px;--q-map-marker-color:var(--q-color-primary);--q-map-marker-success:var(--q-color-success);--q-map-marker-warning:var(--q-color-warning);--q-map-marker-danger:var(--q-color-danger);--q-map-marker-muted:var(--q-fg-muted);--q-map-marker-selected-color:var(--q-fg-base);--q-map-marker-selected-shadow:var(--q-shadow-medium);--q-map-attribution-bg:var(--q-bg-base);--q-map-attribution-color:var(--q-fg-muted);--q-scrollbar-width:6px;--q-scrollbar-width-thin:thin;--q-scrollbar-track-color:transparent;--q-scrollbar-thumb-color:var(--q-border-color, #374151);--q-scrollbar-thumb-color-hover:var(--q-color-primary, #60a5fa);--q-scrollbar-radius:var(--q-radius-sm, 4px)}@media (prefers-color-scheme: light){:root{--q-color-primary:#3b82f6;--q-color-primary-hover:#2563eb;--q-color-secondary:#7c3aed;--q-color-success:#10b981;--q-color-warning:#f59e0b;--q-color-danger:#ef4444;--q-bg-base:#ffffff;--q-bg-surface-1:#f0f3f9;--q-bg-surface-2:#dee5f2;--q-bg-surface-3:#c7d1e6;--q-bg-surface-4:#aab8d5;--q-bg-surface-5:#8b9dc1;--q-bg-glass:rgba(255, 255, 255, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.6);--q-fg-base:#1f2937;--q-fg-muted:#4b5563;--q-border-color:#e5e7eb;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.05);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.08);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.12);--q-glow-interactive:0 0 20px rgba(59, 130, 246, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}}[data-theme='light']{--q-color-primary:#3b82f6;--q-color-primary-hover:#2563eb;--q-color-secondary:#7c3aed;--q-color-success:#10b981;--q-color-warning:#f59e0b;--q-color-danger:#ef4444;--q-bg-base:#ffffff;--q-bg-surface-1:#f0f3f9;--q-bg-surface-2:#dee5f2;--q-bg-surface-3:#c7d1e6;--q-bg-surface-4:#aab8d5;--q-bg-surface-5:#8b9dc1;--q-bg-glass:rgba(255, 255, 255, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.6);--q-fg-base:#1f2937;--q-fg-muted:#4b5563;--q-border-color:#e5e7eb;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.05);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.08);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.12);--q-glow-interactive:0 0 20px rgba(59, 130, 246, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}[data-theme='dark']{--q-color-primary:#60a5fa;--q-color-primary-hover:#93c5fd;--q-color-secondary:#9777ea;--q-color-success:#34d399;--q-color-warning:#fbbf24;--q-color-danger:#f87171;--q-bg-base:#0b0f19;--q-bg-surface-1:#111827;--q-bg-surface-2:#19243b;--q-bg-surface-3:#22304d;--q-bg-surface-4:#2c3a58;--q-bg-surface-5:#374761;--q-bg-glass:rgba(25, 36, 59, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.85);--q-fg-base:#f9fafb;--q-fg-muted:#9ca3af;--q-border-color:#374151;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.2);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.3);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.45);--q-glow-interactive:0 0 20px rgba(96, 165, 250, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}";function r(e,r,o){const t="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;e&&e!==t;){const t=Object.getOwnPropertyDescriptor(e,r);if(t&&(!o||t.get))return t;e=Object.getPrototypeOf(e)}}var o,t=(e,o)=>{var t;Object.entries(null!=(t=o.t.o)?t:{}).map((([t,[a]])=>{if(31&a||32&a){const a=e[t],n=r(Object.getPrototypeOf(e),t,!0)||Object.getOwnPropertyDescriptor(e,t);n&&Object.defineProperty(e,t,{get(){return n.get.call(this)},set(e){n.set.call(this,e)},configurable:!0,enumerable:!0}),o.l.has(t)?e[t]=o.l.get(t):void 0!==a&&(e[t]=a)}}))},a=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,r)=>r in e,s=(e,r)=>(0,console.error)(e,r),l=new Map,i="http://www.w3.org/1999/xlink",c=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},d=f.HTMLElement||class{},q={i:0,q:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,r,o,t)=>e.addEventListener(r,o,t),rel:(e,r,o,t)=>e.removeEventListener(r,o,t),ce:(e,r)=>new CustomEvent(e,r)},u=(()=>{var e;let r=!1;try{null==(e=f.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){r=!0}}))}catch(e){}return r})(),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),b=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),g=!1,m=[],h=[],v=()=>{var e;return(null==(e=f.document)?void 0:e.hidden)?$(y):q.raf(y)},x=(e,r)=>o=>{e.push(o),g||(g=!0,r&&4&q.i?$(y):v())},w=e=>{for(let r=0;r<e.length;r++)try{e[r](performance.now())}catch(e){s(e)}e.length=0},y=()=>{w(m),w(h),(g=m.length>0)&&v()},$=e=>Promise.resolve(undefined).then(e),k=x(h,!0),j=e=>{const r=new URL(e,q.q);return r.origin!==f.location.origin?r.href:r.pathname},O=e=>q.q=e;function S(r){var t;const a={mode:"open"};a.delegatesFocus=!!(16&r.i);const n=this.attachShadow(a);if(void 0===o&&(o=null!=(t=function(e){if(!p)return;const r=new CSSStyleSheet;return r.replaceSync(e),r}(e))?t:null),o)b?n.adoptedStyleSheets.push(o):n.adoptedStyleSheets=[...n.adoptedStyleSheets,o];else if(!p){const r=document.createElement("style");r.innerHTML=e,n.prepend(r)}}var z,M=new WeakMap,C=e=>"sc-"+e.u,E=e=>"object"==(e=typeof e)||"function"===e,A=(e,r,...o)=>{let t=null,a=null,n=!1,l=!1;const i=[],c=r=>{for(let o=0;o<r.length;o++)if(t=r[o],Array.isArray(t))c(t);else if(null!=t&&"boolean"!=typeof t){if(n="function"!=typeof e&&!E(t))t=String(t);else if("function"!=typeof e&&void 0===t.i){s("Invalid vNode child");continue}n&&l?i[i.length-1].p+=t:i.push(n?R(null,t):t),l=n}};if(c(o),r){r.key&&(a=r.key);{const e=r.className||r.class;e&&(r.class="object"!=typeof e?e:Object.keys(e).filter((r=>e[r])).join(" "))}}if("function"==typeof e)return e(null===r?{}:r,i,D);const f=R(e,null);return f.m=r,i.length>0&&(f.h=i),f.v=a,f},R=(e,r)=>({i:0,$:e,p:null!=r?r:null,k:null,h:null,m:null,v:null}),N={},D={forEach:(e,r)=>e.map(H).forEach(r),map:(e,r)=>e.map(H).map(r).map(L)},H=e=>({vattrs:e.m,vchildren:e.h,vkey:e.v,vname:e.j,vtag:e.$,vtext:e.p}),L=e=>{if("function"==typeof e.vtag){const r={...e.vattrs};return e.vkey&&(r.key=e.vkey),e.vname&&(r.name=e.vname),A(e.vtag,r,...e.vchildren||[])}const r=R(e.vtag,e.vtext);return r.m=e.vattrs,r.h=e.vchildren,r.v=e.vkey,r.j=e.vname,r},U=e=>{if(!e)return;const r=Object.keys(e);if(0===r.length)return;let o=!1;for(const t of r){if(o)break;for(const r of e[t])if("string"==typeof r){o=!0;break}}if(!o)return e;const t={};for(const o of r)t[o]=e[o].map((e=>"string"==typeof e?{[e]:0}:e));return t},_=(e,r,o)=>null==e||E(e)?e:4&r?(o&&"string"==typeof e||"false"!==e)&&(""===e||!!e):2&r?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&r?String(e):e,P=(e,r)=>{const o=e;return{emit:e=>W(o,r,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},W=(e,r,o)=>{const t=q.ce(r,o);return e.dispatchEvent(t),t},F=(e,r,o,t,s,l)=>{if(o===t)return;let c=n(e,r),d=r.toLowerCase();if("class"===r){const r=e.classList,a=Y(o);let n=Y(t);r.remove(...a.filter((e=>e&&!n.includes(e)))),r.add(...n.filter((e=>e&&!a.includes(e))))}else if("style"===r){for(const r in o)t&&null!=t[r]||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in t)o&&t[r]===o[r]||(r.includes("-")?e.style.setProperty(r,t[r]):e.style[r]=t[r])}else if("key"===r);else if("ref"===r)t&&le(t,e);else if(e.__lookupSetter__(r)||"o"!==r[0]||"n"!==r[1]){if("a"===r[0]&&r.startsWith("attr:")){const o=r.slice(5);let n;{const r=a(e);if(r&&r.t&&r.t.o){const e=r.t.o[o];e&&e[1]&&(n=e[1])}}return n||(n=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==t||!1===t?!1===t&&""!==e.getAttribute(n)||e.removeAttribute(n):e.setAttribute(n,!0===t?"":t))}if("p"===r[0]&&r.startsWith("prop:")){const o=r.slice(5);try{e[o]=t}catch(e){}return}{const a=E(t);if((c||a&&null!==t)&&!s)try{if(e.tagName.includes("-"))e[r]!==t&&(e[r]=t);else{const a=null==t?"":t;"list"===r?c=!1:null!=o&&e[r]===a||("function"==typeof e.__lookupSetter__(r)?e[r]=a:e.setAttribute(r,a))}}catch(e){}let n=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(r=d,n=!0),null==t||!1===t?(!1!==t||""===e.getAttribute(r)||4&l&&!V(r))&&(n?e.removeAttributeNS(i,r):e.removeAttribute(r)):(!c||4&l||s)&&!a&&1===e.nodeType&&(t=!0===t?"":t,n?e.setAttributeNS(i,r,t):e.setAttribute(r,t))}}else if(r="-"===r[2]?r.slice(3):n(f,d)?d.slice(2):d[2]+r.slice(3),o||t){const a=r.endsWith(B);r=r.replace(Z,""),o&&q.rel(e,r,o,a),t&&q.ael(e,r,t,a)}},T=new Set(["draggable","contenteditable","spellcheck"]),V=e=>T.has(e)||e.startsWith("aria-"),I=/\s/,Y=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(I):[]),B="Capture",Z=new RegExp(B+"$"),G=(e,r,o)=>{const t=11===r.k.nodeType&&r.k.host?r.k.host:r.k,a=e&&e.m||{},n=r.m||{};for(const e of J(Object.keys(a)))e in n||F(t,e,a[e],void 0,o,r.i);for(const e of J(Object.keys(n)))F(t,e,a[e],n[e],o,r.i)};function J(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var K=!1,Q=!1,X=[],ee=[],re=(e,r,o)=>{const t=r.h[o];let a,n,s=0;if(null!=t.p)a=t.k=f.document.createTextNode(t.p);else{if(Q||(Q="svg"===t.$),!f.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(a=t.k=f.document.createElementNS(Q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",t.$),Q&&"foreignObject"===t.$&&(Q=!1),G(null,t,Q),t.h){const r="template"===t.$?a.content:a;for(s=0;s<t.h.length;++s)n=re(e,t,s),n&&r.appendChild(n)}"svg"===t.$?Q=!1:"foreignObject"===a.tagName&&(Q=!0)}return a["s-hn"]=z,a},oe=(e,r,o,t,a,n)=>{let s,l=e;for(l.shadowRoot&&l.tagName===z&&(l=l.shadowRoot),"template"===o.$&&(l=l.content);a<=n;++a)t[a]&&(s=re(null,o,a),s&&(t[a].k=s,ie(l,s,r)))},te=(e,r,o)=>{for(let t=r;t<=o;++t){const r=e[t];if(r){const e=r.k;se(r),e&&e.remove()}}},ae=(e,r,o=!1)=>e.$===r.$&&(o?(o&&!e.v&&r.v&&(e.v=r.v),!0):e.v===r.v),ne=(e,r,o=!1)=>{const t=r.k=e.k,a=e.h,n=r.h,s=r.$,l=r.p;null==l?(Q="svg"===s||"foreignObject"!==s&&Q,"slot"!==s||K||e.j!==r.j&&(r.k["s-sn"]=r.j||"",(e=>{q.i|=1;const r=e.closest(z.toLowerCase());if(null!=r){const o=Array.from(r.__childNodes||r.childNodes).find((e=>e["s-cr"])),t=Array.from(e.__childNodes||e.childNodes);for(const e of o?t.reverse():t)null!=e["s-sh"]&&(ie(r,e,null!=o?o:null),e["s-sh"]=void 0)}q.i&=-2})(r.k.parentElement)),G(e,r,Q),null!==a&&null!==n?((e,r,o,t,a=!1)=>{let n,s,l=0,i=0,c=0,f=0,d=r.length-1,q=r[0],u=r[d],p=t.length-1,b=t[0],g=t[p];const m="template"===o.$?e.content:e;for(;l<=d&&i<=p;)if(null==q)q=r[++l];else if(null==u)u=r[--d];else if(null==b)b=t[++i];else if(null==g)g=t[--p];else if(ae(q,b,a))ne(q,b,a),q=r[++l],b=t[++i];else if(ae(u,g,a))ne(u,g,a),u=r[--d],g=t[--p];else if(ae(q,g,a))ne(q,g,a),ie(m,q.k,u.k.nextSibling),q=r[++l],g=t[--p];else if(ae(u,b,a))ne(u,b,a),ie(m,u.k,q.k),u=r[--d],b=t[++i];else{for(c=-1,f=l;f<=d;++f)if(r[f]&&null!==r[f].v&&r[f].v===b.v){c=f;break}c>=0?(s=r[c],s.$!==b.$?n=re(r&&r[i],o,i):(ne(s,b,a),r[c]=void 0,n=s.k),b=t[++i]):(n=re(r&&r[i],o,i),b=t[++i]),n&&ie(q.k.parentNode,n,q.k)}l>d?oe(e,null==t[p+1]?null:t[p+1].k,o,t,i,p):i>p&&te(r,l,d)})(t,a,r,n,o):null!==n?(null!==e.p&&(t.textContent=""),oe(t,null,r,n,0,n.length-1)):!o&&null!==a&&te(a,0,a.length-1),Q&&"svg"===s&&(Q=!1)):e.p!==l&&(t.data=l)},se=e=>{e.m&&e.m.ref&&X.push((()=>e.m.ref(null))),e.h&&e.h.map(se)},le=(e,r)=>{ee.push((()=>e(r)))},ie=(e,r,o)=>null==e?void 0:e.insertBefore(r,o),ce=(e,r,o=!1)=>{const t=e.$hostElement$,a=e.t,n=e.O||R(null,null);var s;const l=(s=r)&&s.$===N?r:A(null,null,r);if(z=t.tagName,a.S&&(l.m=l.m||{},a.S.forEach((([e,r])=>{l.m[r]=t[e]}))),o&&l.m)for(const e of Object.keys(l.m))t.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(l.m[e]=t[e]);l.$=null,l.i|=4,e.O=l,l.k=n.k=t.shadowRoot||t,K=!(!(1&a.i)||128&a.i),ne(n,l,o),X.forEach((e=>e())),X.length=0,ee.forEach((e=>e())),ee.length=0},fe=(e,r)=>{if(r&&!e.M&&r["s-p"]){const o=r["s-p"].push(new Promise((t=>e.M=()=>{r["s-p"].splice(o-1,1),t()})))}},de=(e,r)=>{if(e.i|=16,4&e.i)return void(e.i|=512);fe(e,e.C);const o=()=>qe(e,r);if(!r)return k(o);queueMicrotask((()=>{o()}))},qe=(e,r)=>{const o=e.$hostElement$,t=o;if(!t)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return a=ve(t,r?"componentWillLoad":"componentWillUpdate",void 0,o),a=ue(a,(()=>ve(t,"componentWillRender",void 0,o))),ue(a,(()=>be(e,t,r)))},ue=(e,r)=>pe(e)?e.then(r).catch((e=>{console.error(e),r()})):r(),pe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,be=async(e,r,o)=>{var t;const a=e.$hostElement$,n=a["s-rc"];o&&(e=>{const r=e.t,o=e.$hostElement$,t=r.i,a=((e,r)=>{var o,t,a;const n=C(r),s=l.get(n);if(!f.document)return n;if(e=11===e.nodeType?e:f.document,s)if("string"==typeof s){let a,l=M.get(e=e.head||e);if(l||M.set(e,l=new Set),!l.has(n)){a=f.document.createElement("style"),a.textContent=s;const i=null!=(o=q.A)?o:function(){var e,r,o;return null!=(o=null==(r=null==(e=f.document.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:r.getAttribute("content"))?o:void 0}();if(null!=i&&a.setAttribute("nonce",i),!(1&r.i))if("HEAD"===e.nodeName){const r=e.querySelectorAll("link[rel=preconnect]"),o=r.length>0?r[r.length-1].nextSibling:e.querySelector("style");e.insertBefore(a,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(p){const r=new(null!=(t=e.defaultView)?t:e.ownerDocument.defaultView).CSSStyleSheet;r.replaceSync(s),b?e.adoptedStyleSheets.unshift(r):e.adoptedStyleSheets=[r,...e.adoptedStyleSheets]}else{const r=e.querySelector("style");r?r.textContent=s+r.textContent:e.prepend(a)}else e.append(a);1&r.i&&e.insertBefore(a,null),4&r.i&&(a.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(n)}}else{let r=M.get(e);if(r||M.set(e,r=new Set),!r.has(n)){const o=null!=(a=e.defaultView)?a:e.ownerDocument.defaultView;let t;if(s.constructor===o.CSSStyleSheet)t=s;else{t=new o.CSSStyleSheet;for(let e=0;e<s.cssRules.length;e++)t.insertRule(s.cssRules[e].cssText,e)}b?e.adoptedStyleSheets.push(t):e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],r.add(n)}}return n})(o.shadowRoot?o.shadowRoot:o.getRootNode(),r);10&t&&(o["s-sc"]=a,o.classList.add(a+"-h"))})(e);ge(e,r,a,o),n&&(n.map((e=>e())),a["s-rc"]=void 0);{const r=null!=(t=a["s-p"])?t:[],o=()=>me(e);0===r.length?o():(Promise.all(r).then(o).catch(o),e.i|=4,r.length=0)}},ge=(e,r,o,t)=>{try{r=r.render(),e.i&=-17,e.i|=2,ce(e,r,t)}catch(r){s(r,e.$hostElement$)}return null},me=e=>{const r=e.$hostElement$,o=r,t=e.C;ve(o,"componentDidRender",void 0,r),64&e.i?ve(o,"componentDidUpdate",void 0,r):(e.i|=64,xe(r),ve(o,"componentDidLoad",void 0,r),e.R(r),t||he()),e.M&&(e.M(),e.M=void 0),512&e.i&&$((()=>de(e,!1))),e.i&=-517},he=()=>{$((()=>W(f,"appload",{detail:{namespace:"webquark"}})))},ve=(e,r,o,t)=>{if(e&&e[r])try{return e[r](o)}catch(e){s(e,t)}},xe=e=>e.classList.add("hydrated"),we=(e,r,o,t)=>{const n=a(e);if(!n)return;const l=e,i=n.l.get(r),c=n.i,f=l;o=_(o,t.o[r][0],!!(64&t.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(r,o),t.N){const e=t.N[r];e&&e.map((e=>{try{const[[t,a]]=Object.entries(e);(128&c||1&a)&&(f?f[t](o,i,r):n.D.push((()=>{n.H[t](o,i,r)})))}catch(e){s(e,l)}}))}if(2&c){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,i,r)&&!(16&c))return;16&c||de(n,!1)}}},ye=(e,o,t)=>{var n,s;const l=e.prototype;64&o.i&&1&t&&c.forEach((e=>{const r=l[e];Object.defineProperty(l,e,{value(...o){var t;const n=a(this),s=this;s?"function"==typeof r&&r.call(s,...o):null==(t=null==n?void 0:n.L)||t.then((r=>{const t=r[e];"function"==typeof t&&t.call(r,...o)}))}})}));{e.watchers&&!o.N&&(o.N=U(e.watchers)),e.deserializers&&!o.U&&(o.U=e.deserializers),e.serializers&&!o._&&(o._=e.serializers);const t=Object.entries(null!=(n=o.o)?n:{});t.map((([e,[t]])=>{if(31&t||32&t){const{get:n,set:s}=r(l,e)||{};n&&(o.o[e][0]|=2048),s&&(o.o[e][0]|=4096),Object.defineProperty(l,e,{get(){return n?n.apply(this):(r=e,a(this).l.get(r));var r},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(r){const n=a(this);if(n){if(s)return void 0===(32&t?this[e]:n.$hostElement$[e])&&n.l.get(e)&&(r=n.l.get(e)),s.apply(this,[_(r,t,!!(64&o.i))]),void we(this,e,r=32&t?this[e]:n.$hostElement$[e],o);we(this,e,r,o)}}})}}));{const r=new Map;l.attributeChangedCallback=function(e,n,s){q.jmp((()=>{var i;const c=r.get(e),f=a(this);if(this.hasOwnProperty(c),l.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const r=null==f?void 0:f.i;if(f&&r&&!(8&r)&&s!==n){const t=this,a=null==(i=o.N)?void 0:i[e];null==a||a.forEach((o=>{const[[a,l]]=Object.entries(o);null!=t[a]&&(128&r||1&l)&&t[a].call(t,s,n,e)}))}return}const d=t.find((([e])=>e===c)),q=d?d[1][0]:0,u=4&q;if(512&q&&8&q&&!E(this[c])&&(null==(p=this[c])||!1===p?null:!0===p?"":String(p))===s)return;var p;const b=u&&null===s&&void 0===this[c];u&&(s=null!==s&&"false"!==s);const g=Object.getOwnPropertyDescriptor(l,c);b||s==this[c]||g.get&&!g.set||(this[c]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=o.N)?s:{}),...t.filter((([e,r])=>31&r[0])).map((([e,t])=>{var a;const n=t[1]||e;return r.set(n,e),512&t[0]&&(null==(a=o.S)||a.push([e,n])),n}))]))}}return e},$e=async(e,r,o)=>{let t;try{if(!(32&r.i)&&(r.i|=32,r.i&=-1025,t=e.constructor,customElements.whenDefined(e.localName).then((()=>r.i|=128)),t&&t.style)){let e;"string"==typeof t.style&&(e=t.style);const r=C(o);if(!l.has(r)){const t=()=>{};((e,r,o)=>{let t=l.get(e);p&&o?(t=t||new CSSStyleSheet,"string"==typeof t?t=r:t.replaceSync(r)):t=r,l.set(e,t)})(r,e,!!(1&o.i)),t()}}const a=r.C,n=()=>de(r,!0);a&&a["s-rc"]?a["s-rc"].push(n):n()}catch(o){s(o,e),r.M&&(r.M(),r.M=void 0),!r.R||1024&r.i||r.R(e)}},ke=(e,r)=>{const o={i:r[0],u:r[1]};try{o.o=r[2],o.P=r[3],o.N=U(e.N),o.U=e.U,o._=e._,o.S=[];const n=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,r)=>{const o={i:0,$hostElement$:e,t:r,l:new Map,W:new Map};o.L=new Promise((e=>o.R=e)),e["s-p"]=[],e["s-rc"]=[];const a=o;e.__stencil__getHostRef=()=>a,512&r.i&&t(e,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=a(this);if(!e)return;je(this,e,o.P),this.__hasHostListenerAttached=!0}(e=>{if(!(1&q.i)){const r=a(e);if(!r)return;const o=r.t,t=()=>{};if(1&r.i)je(e,r,o.P),(null==r?void 0:r.H)||(1024&r.i?setTimeout((()=>$e(e,r,o)),1e3):(null==r?void 0:r.L)&&r.L.then((()=>{})));else{r.i|=1;{let o=e;for(;o=o.parentNode||o.host;)if(o["s-p"]){fe(r,r.C=o);break}}o.o&&Object.entries(o.o).map((([r,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(e,r)){const o=e[r];delete e[r],e[r]=o}})),$e(e,r,o)}t()}})(this),n&&n.call(this)},disconnectedCallback(){(async e=>{if(!(1&q.i)){const r=a(e);(null==r?void 0:r.F)&&(r.F.map((e=>e())),r.F=void 0)}M.has(e)&&M.delete(e),e.shadowRoot&&M.has(e.shadowRoot)&&M.delete(e.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.u}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else S.call(this,o)}}),Object.defineProperty(e,"is",{value:o.u,configurable:!0}),ye(e,o,3)}catch(r){return s(r),e}},je=(e,r,o)=>{o&&f.document&&o.map((([o,t,a])=>{const n=Se(f.document,e,o),s=Oe(r,a),l=ze(o);q.ael(n,t,s,l),(r.F=r.F||[]).push((()=>q.rel(n,t,s,l)))}))},Oe=(e,r)=>o=>{try{e.$hostElement$[r](o)}catch(r){s(r,e.$hostElement$)}},Se=(e,r,o)=>8&o?f:r,ze=e=>u?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Me=globalThis.HTMLElement||class{};function Ce(...e){return e.reduceRight(((e,r)=>r(e)),Me)}var Ee=e=>q.A=e,Ae=e=>Object.assign(q,e),Re=new WeakMap;function Ne(e,r){let o=Re.get(r);o||(o={i:0,t:{i:0,u:r.tagName},$hostElement$:r},Re.set(r,o)),ce(o,e)}function De(e){return e}export{d as H,Ce as M,Ee as a,Ae as b,P as c,N as d,j as g,A as h,ke as p,Ne as r,O as s,De as t}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a="default",s=["full-batch","progressive"],e=["default","success","warning","danger","muted"],t=["dot","avatar","icon"],d=["small","medium","large"],o=["none","solid","dashed"],l=["auto","left","right","top","bottom"],c=["compact","wide"],r=["always","selected"];export{a as Q,l as a,c as b,r as c,t as d,o as e,d as f,e as g,s as h}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a={none:0,xs:4,sm:8,md:12,lg:16,xl:24,"2xl":32,"3xl":48},n={sm:{height:28,font:12,line:16,padding:8,icon:14,radius:5.5},md:{height:36,font:14,line:20,padding:12,icon:16,radius:7},lg:{height:44,font:16,line:24,padding:16,icon:20,radius:8.5}},e=a=>a/16+"rem";function r(n){return`var(--q-space-${n}, ${e(a[n]??a.lg)})`}function t(a){return Object.fromEntries(Object.keys(n.md).map((r=>[`--q-context-control-${r}`,"inherit"===a?"":`var(--q-control-${r}-${a}, ${e(n[a]?.[r]??n.md[r])})`])))}function c(a){return"transparent"===a?"transparent":`var(--q-bg-${a}, ${{canvas:"var(--q-bg-base, #0b0f19)",panel:"var(--q-bg-surface-1, #111827)",card:"var(--q-bg-surface-2, #19243b)",field:"var(--q-bg-surface-3, #22304d)",floating:"var(--q-bg-surface-4, #2c3a58)",transparent:"transparent"}[a]})`}Object.entries(a).map((([a,n])=>({name:`--q-space-${a}`,value:e(n),label:`Space ${a}`}))),Object.entries(n).flatMap((([a,n])=>Object.entries(n).map((([n,r])=>({name:`--q-control-${n}-${a}`,value:e(r),label:`${a} control ${n}`})))));export{c as a,t as c,r as s}
|