@webquark/core 1.0.2 → 1.1.0-dev.2
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/LICENSE +21 -21
- package/README.md +111 -98
- package/dist/cjs/Leaflet.GoogleMutant-BCs2oiE0.js +769 -0
- package/dist/cjs/action.props-hpMla743.js +35 -0
- package/dist/cjs/chevron-up-B76247zT.js +30 -0
- package/dist/cjs/collection-identity-CV5HLD9Z.js +141 -0
- package/dist/cjs/data-table-cell-BAv6IIYx.js +46 -0
- package/dist/cjs/{dom-CTqgGpWA.js → dom-Dk77oFF6.js} +15 -6
- package/dist/cjs/form-control-validity-D1ukC0_e.js +49 -0
- package/dist/cjs/{index-CLlvFbDw.js → index-Vzfd3Ljg.js} +58 -3
- package/dist/cjs/index.cjs.js +24 -2
- package/dist/cjs/leaflet-maplibre-gl-RCEffFEM.js +434 -0
- package/dist/cjs/leaflet-src-B0ls4IKq.js +14522 -0
- package/dist/cjs/leaflet-src-BX4jwTf5.js +33 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/map.types-DNrz8rJh.js +24 -0
- package/dist/cjs/q-alert.cjs.entry.js +52 -0
- package/dist/cjs/q-avatar.cjs.entry.js +101 -0
- package/dist/cjs/q-button_2.cjs.entry.js +375 -0
- package/dist/cjs/q-card.cjs.entry.js +31 -9
- package/dist/cjs/q-carousel.cjs.entry.js +121 -78
- package/dist/cjs/q-chip.cjs.entry.js +124 -0
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +70 -0
- package/dist/cjs/q-data-table.cjs.entry.js +470 -118
- package/dist/cjs/q-dialog.cjs.entry.js +136 -22
- package/dist/cjs/q-dropdown.cjs.entry.js +318 -64
- package/dist/cjs/q-form.cjs.entry.js +509 -0
- package/dist/cjs/q-icon.cjs.entry.js +290 -99
- package/dist/cjs/q-input_2.cjs.entry.js +363 -0
- package/dist/cjs/q-link.cjs.entry.js +80 -0
- package/dist/cjs/q-map.cjs.entry.js +3328 -0
- package/dist/cjs/q-navbar.cjs.entry.js +194 -0
- package/dist/cjs/q-pagination.cjs.entry.js +68 -0
- package/dist/cjs/q-panel.cjs.entry.js +67 -0
- package/dist/cjs/q-quantity-selector.cjs.entry.js +112 -93
- package/dist/cjs/q-radio-group.cjs.entry.js +217 -0
- package/dist/cjs/q-reel.cjs.entry.js +86 -33
- package/dist/cjs/q-scrollable.cjs.entry.js +449 -0
- package/dist/cjs/q-sidepanel.cjs.entry.js +562 -114
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +11 -17
- package/dist/cjs/q-step-diagram.cjs.entry.js +9 -10
- package/dist/cjs/q-syntax-box.cjs.entry.js +381 -173
- package/dist/cjs/q-tabs.cjs.entry.js +155 -0
- package/dist/cjs/q-textarea.cjs.entry.js +69 -9
- package/dist/cjs/q-thumbnail.cjs.entry.js +18 -11
- package/dist/cjs/q-toast.cjs.entry.js +400 -0
- package/dist/cjs/q-toggle.cjs.entry.js +57 -26
- package/dist/cjs/q-toolbar.cjs.entry.js +29 -0
- package/dist/cjs/registry-BhkCNgxt.js +179 -0
- package/dist/cjs/toast-controller-CIXagxbV.js +111 -0
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/assets/icons/braces.svg +14 -14
- package/dist/collection/assets/icons/check.svg +1 -1
- package/dist/collection/assets/icons/chevron-down.svg +1 -1
- package/dist/collection/assets/icons/chevron-left.svg +1 -1
- package/dist/collection/assets/icons/chevron-right.svg +1 -1
- package/dist/collection/assets/icons/chevron-up.svg +1 -1
- package/dist/collection/assets/icons/copy.svg +4 -4
- package/dist/collection/assets/icons/eye-off.svg +1 -1
- package/dist/collection/assets/icons/eye.svg +1 -1
- package/dist/collection/assets/icons/minus.svg +1 -1
- package/dist/collection/assets/icons/play.svg +1 -1
- package/dist/collection/assets/icons/plus.svg +1 -1
- package/dist/collection/assets/icons/search.svg +1 -1
- package/dist/collection/assets/icons/spinner.svg +1 -1
- package/dist/collection/assets/icons/trash-2.svg +1 -1
- package/dist/collection/assets/icons/x.svg +1 -1
- package/dist/collection/collection-manifest.json +37 -21
- package/dist/collection/components/actions/action.props.js +130 -0
- package/dist/collection/components/{button → actions/button}/button.css +191 -174
- package/dist/collection/components/{button → actions/button}/button.js +243 -89
- package/dist/collection/components/actions/button/button.types.js +1 -0
- package/dist/collection/components/actions/button/button.utils.js +9 -0
- package/dist/collection/components/actions/button/button.utils.unit.test.js +44 -0
- package/dist/collection/components/actions/chip/chip.css +219 -0
- package/dist/collection/components/actions/chip/chip.js +381 -0
- package/dist/collection/components/actions/chip/chip.types.js +1 -0
- package/dist/collection/components/actions/link/link.css +102 -0
- package/dist/collection/components/actions/link/link.js +313 -0
- package/dist/collection/components/actions/link/link.types.js +1 -0
- package/dist/collection/components/data-display/alert/alert.css +118 -0
- package/dist/collection/components/data-display/alert/alert.js +208 -0
- package/dist/collection/components/data-display/alert/alert.types.js +1 -0
- package/dist/collection/components/data-display/conversation-bubble/conversation-bubble.css +154 -0
- package/dist/collection/components/data-display/conversation-bubble/conversation-bubble.js +207 -0
- package/dist/collection/components/data-display/conversation-bubble/conversation-bubble.types.js +1 -0
- package/dist/collection/components/data-display/data-table/data-table-cell.js +40 -0
- package/dist/collection/components/{data-table → data-display/data-table}/data-table.css +356 -219
- package/dist/collection/components/data-display/data-table/data-table.js +748 -0
- package/dist/collection/components/data-display/data-table/data-table.types.js +1 -0
- package/dist/collection/components/data-display/data-table/internals/data-access.js +43 -0
- package/dist/collection/components/data-display/data-table/internals/render-row-actions.js +22 -0
- package/dist/collection/components/data-display/data-table/internals/render-sort-indicator.js +5 -0
- package/dist/collection/components/data-display/data-table/internals/render-table-body.js +47 -0
- package/dist/collection/components/data-display/data-table/internals/render-table-head.js +42 -0
- package/dist/collection/components/data-display/data-table/internals/render-toolbar.js +6 -0
- package/dist/collection/components/data-display/data-table/internals/row-events.js +27 -0
- package/dist/collection/components/data-display/data-table/internals/selection.js +31 -0
- package/dist/collection/components/data-display/data-table/internals/sort.js +57 -0
- package/dist/collection/components/data-display/data-table/internals/table-model.js +84 -0
- package/dist/collection/components/data-display/map/internals/base-layer.js +140 -0
- package/dist/collection/components/data-display/map/internals/bounds.js +66 -0
- package/dist/collection/components/data-display/map/internals/buffered-tile-layer.js +128 -0
- package/dist/collection/components/data-display/map/internals/cluster-collision.js +73 -0
- package/dist/collection/components/data-display/map/internals/google-maps.js +117 -0
- package/dist/collection/components/data-display/map/internals/google-mutant.js +51 -0
- package/dist/collection/components/data-display/map/internals/maplibre.js +50 -0
- package/dist/collection/components/data-display/map/internals/marker-cluster-index.js +136 -0
- package/dist/collection/components/data-display/map/internals/marker-controller.js +403 -0
- package/dist/collection/components/data-display/map/internals/marker-presentation.js +217 -0
- package/dist/collection/components/data-display/map/internals/marker-visibility.js +158 -0
- package/dist/collection/components/data-display/map/internals/markers.js +176 -0
- package/dist/collection/components/data-display/map/internals/tile-layer-readiness.js +67 -0
- package/dist/collection/components/data-display/map/internals/tile-preload-buffer.js +8 -0
- package/dist/collection/components/data-display/map/internals/vector-padding.js +8 -0
- package/dist/collection/components/data-display/map/map.css +711 -0
- package/dist/collection/components/data-display/map/map.js +1514 -0
- package/dist/collection/components/data-display/map/map.types.js +12 -0
- package/dist/collection/components/data-display/map/test/map.cmp.test.js +748 -0
- package/dist/collection/components/data-display/pagination/pagination.css +81 -0
- package/dist/collection/components/data-display/pagination/pagination.js +240 -0
- package/dist/collection/components/data-display/pagination/test/pagination.cmp.test.js +57 -0
- package/dist/collection/components/data-display/syntax-box/internals/clipboard.js +9 -0
- package/dist/collection/components/data-display/syntax-box/internals/editor-key-action.js +14 -0
- package/dist/collection/components/data-display/syntax-box/internals/value-sync.js +27 -0
- package/dist/collection/components/{syntax-box → data-display/syntax-box}/syntax-box.css +202 -206
- package/dist/collection/components/data-display/syntax-box/syntax-box.js +623 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.types.js +1 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.utils.js +1 -0
- package/dist/collection/components/indicators/progress/progress.css +223 -0
- package/dist/collection/components/indicators/progress/progress.js +275 -0
- package/dist/collection/components/indicators/progress/progress.types.js +1 -0
- package/dist/collection/components/{step-diagram → indicators/step-diagram}/step-diagram.css +21 -21
- package/dist/collection/components/{step-diagram → indicators/step-diagram}/step-diagram.js +42 -12
- package/dist/collection/components/indicators/step-diagram/step-diagram.types.js +1 -0
- package/dist/collection/components/{step-diagram-item → indicators/step-diagram-item}/step-diagram-item.css +252 -253
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +153 -0
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.types.js +1 -0
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.utils.js +3 -0
- package/dist/collection/components/{dropdown → inputs/dropdown}/dropdown.css +344 -292
- package/dist/collection/components/inputs/dropdown/dropdown.js +986 -0
- package/dist/collection/components/inputs/dropdown/dropdown.types.js +1 -0
- package/dist/collection/components/inputs/dropdown/internals/options.js +30 -0
- package/dist/collection/components/inputs/dropdown/internals/position.js +35 -0
- package/dist/collection/components/inputs/dropdown/test/dropdown.cmp.test.js +62 -0
- package/dist/collection/components/{input → inputs/input}/input.css +264 -276
- package/dist/collection/components/{input → inputs/input}/input.js +242 -83
- package/dist/collection/components/inputs/input/input.types.js +1 -0
- package/dist/collection/components/inputs/input/input.utils.js +3 -0
- package/dist/collection/components/inputs/quantity-selector/internals/number-value.js +64 -0
- package/dist/collection/components/{quantity-selector → inputs/quantity-selector}/quantity-selector.css +131 -131
- package/dist/collection/components/{quantity-selector → inputs/quantity-selector}/quantity-selector.js +75 -109
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.types.js +1 -0
- package/dist/collection/components/inputs/radio-group/radio-group.css +177 -0
- package/dist/collection/components/inputs/radio-group/radio-group.js +558 -0
- package/dist/collection/components/inputs/radio-group/radio-group.types.js +1 -0
- package/dist/collection/components/inputs/radio-group/radio-group.utils.js +18 -0
- package/dist/collection/components/{textarea → inputs/textarea}/textarea.css +88 -83
- package/dist/collection/components/{textarea → inputs/textarea}/textarea.js +162 -18
- package/dist/collection/components/inputs/textarea/textarea.types.js +1 -0
- package/dist/collection/components/{toggle → inputs/toggle}/toggle.css +220 -212
- package/dist/collection/components/{toggle → inputs/toggle}/toggle.js +158 -51
- package/dist/collection/components/inputs/toggle/toggle.types.js +1 -0
- package/dist/collection/components/inputs/toggle/toggle.utils.js +3 -0
- package/dist/collection/components/{card → layout/card}/card.css +93 -96
- package/dist/collection/components/{card → layout/card}/card.js +40 -19
- package/dist/collection/components/layout/card/card.types.js +1 -0
- package/dist/collection/components/layout/card/card.utils.js +15 -0
- package/dist/collection/components/{carousel → layout/carousel}/carousel.css +168 -177
- package/dist/collection/components/{carousel → layout/carousel}/carousel.js +103 -105
- package/dist/collection/components/layout/carousel/carousel.types.js +1 -0
- package/dist/collection/components/layout/carousel/carousel.utils.js +1 -0
- package/dist/collection/components/layout/carousel/internals/metrics.js +59 -0
- package/dist/collection/components/layout/form/form.css +49 -0
- package/dist/collection/components/layout/form/form.js +613 -0
- package/dist/collection/components/layout/form/form.types.js +1 -0
- package/dist/collection/components/layout/form/internals/controls.js +79 -0
- package/dist/collection/components/layout/form/internals/enter-behavior.js +36 -0
- package/dist/collection/components/layout/form/internals/values.js +176 -0
- package/dist/collection/components/layout/form/test/form.cmp.test.js +157 -0
- package/dist/collection/components/layout/navbar/navbar.css +465 -0
- package/dist/collection/components/layout/navbar/navbar.js +547 -0
- package/dist/collection/components/layout/navbar/navbar.types.js +1 -0
- package/dist/collection/components/layout/navbar/navbar.utils.js +13 -0
- package/dist/collection/components/layout/navbar/test/navbar.cmp.test.js +53 -0
- package/dist/collection/components/layout/panel/panel.css +113 -0
- package/dist/collection/components/layout/panel/panel.js +265 -0
- package/dist/collection/components/layout/panel/panel.types.js +1 -0
- package/dist/collection/components/layout/scrollable/internals/metrics.js +61 -0
- package/dist/collection/components/layout/scrollable/internals/native-scrollbar.js +41 -0
- package/dist/collection/components/{scrollable → layout/scrollable}/scrollable.css +123 -122
- package/dist/collection/components/{scrollable → layout/scrollable}/scrollable.js +165 -136
- package/dist/collection/components/layout/scrollable/scrollable.types.js +1 -0
- package/dist/collection/components/layout/sidepanel/internals/drawer.js +60 -0
- package/dist/collection/components/layout/sidepanel/internals/groups.js +56 -0
- package/dist/collection/components/layout/sidepanel/internals/nav-items.js +27 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.css +881 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.js +831 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.types.js +1 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.utils.js +17 -0
- package/dist/collection/components/layout/tabs/tabs.css +248 -0
- package/dist/collection/components/layout/tabs/tabs.js +322 -0
- package/dist/collection/components/layout/tabs/tabs.types.js +1 -0
- package/dist/collection/components/layout/tabs/tabs.utils.js +31 -0
- package/dist/collection/components/layout/tabs/test/tabs.cmp.test.js +165 -0
- package/dist/collection/components/layout/toolbar/toolbar.css +145 -0
- package/dist/collection/components/layout/toolbar/toolbar.js +173 -0
- package/dist/collection/components/layout/toolbar/toolbar.types.js +1 -0
- package/dist/collection/components/media/avatar/avatar.css +71 -0
- package/dist/collection/components/media/avatar/avatar.js +302 -0
- package/dist/collection/components/media/avatar/avatar.types.js +1 -0
- package/dist/collection/components/{icon → media/icon}/icon.css +42 -39
- package/dist/collection/components/media/icon/icon.js +449 -0
- package/dist/collection/components/media/icon/icon.types.js +1 -0
- package/dist/collection/components/media/icon/internals/constants.js +3 -0
- package/dist/collection/components/media/icon/internals/fetch-icon.js +18 -0
- package/dist/collection/components/media/icon/internals/registry.js +171 -0
- package/dist/collection/components/media/icon/internals/registry.unit.test.js +42 -0
- package/dist/collection/components/media/icon/internals/render-definition.js +24 -0
- package/dist/collection/components/media/icon/internals/sanitize-svg.js +63 -0
- package/dist/collection/components/media/icon/internals/size.js +12 -0
- package/dist/collection/components/media/icon/internals/url.js +48 -0
- package/dist/collection/components/{reel → media/reel}/reel.css +193 -185
- package/dist/collection/components/{reel → media/reel}/reel.js +99 -34
- package/dist/collection/components/media/reel/reel.types.js +1 -0
- package/dist/collection/components/{thumbnail → media/thumbnail}/thumbnail.css +111 -109
- package/dist/collection/components/{thumbnail → media/thumbnail}/thumbnail.js +32 -19
- package/dist/collection/components/media/thumbnail/thumbnail.types.js +1 -0
- package/dist/collection/components/{dialog → overlays/dialog}/dialog.css +248 -240
- package/dist/collection/components/{dialog → overlays/dialog}/dialog.js +190 -58
- package/dist/collection/components/overlays/dialog/dialog.types.js +1 -0
- package/dist/collection/components/overlays/dialog/internals/backdrop.js +9 -0
- package/dist/collection/components/overlays/dialog/internals/lifecycle.js +53 -0
- package/dist/collection/components/overlays/toast/internals/icons.js +25 -0
- package/dist/collection/components/overlays/toast/internals/queue.js +64 -0
- package/dist/collection/components/overlays/toast/internals/timers.js +75 -0
- package/dist/collection/components/overlays/toast/test/toast.cmp.test.js +38 -0
- package/dist/collection/components/overlays/toast/test/toast.unit.test.js +104 -0
- package/dist/collection/components/overlays/toast/toast-controller.js +105 -0
- package/dist/collection/components/overlays/toast/toast.css +141 -0
- package/dist/collection/components/overlays/toast/toast.js +556 -0
- package/dist/collection/components/overlays/toast/toast.types.js +1 -0
- package/dist/collection/components/overlays/tooltip/internals/aria.js +27 -0
- package/dist/collection/components/overlays/tooltip/internals/positioning.js +69 -0
- package/dist/collection/components/overlays/tooltip/internals/scroll-listeners.js +18 -0
- package/dist/collection/components/{tooltip → overlays/tooltip}/tooltip.css +65 -65
- package/dist/collection/components/overlays/tooltip/tooltip.js +190 -0
- package/dist/collection/components/overlays/tooltip/tooltip.types.js +1 -0
- package/dist/collection/index.js +5 -0
- package/dist/collection/playground/components/playground-event-log/playground-event-log.js +3 -3
- package/dist/collection/playground/components/playground-sidebar/playground-sidebar.js +42 -6
- package/dist/collection/playground/components/properties-panel/properties-panel.js +1 -1
- package/dist/collection/playground/components/sandbox-viewport/sandbox-panel.js +7 -3
- package/dist/collection/playground/components/sandbox-viewport/sandbox-viewport.js +4 -0
- package/dist/collection/playground/components/theme-designer/theme-designer.js +6 -4
- package/dist/collection/playground/logo.svg +8 -8
- package/dist/collection/playground/playground.bundled.js +949 -887
- package/dist/collection/utils/collection-identity.js +136 -0
- package/dist/collection/utils/collection-identity.unit.test.js +107 -0
- package/dist/collection/utils/dom.js +14 -6
- package/dist/collection/utils/form-control-validity.js +44 -0
- package/dist/collection/utils/formatter.unit.test.js +24 -24
- package/dist/components/index.js +1 -1
- package/dist/components/p-2bWqVyTo.js +1 -0
- package/dist/components/p-B6NJEaqd.js +1 -0
- package/dist/components/p-B6g9Pj3f.js +1 -0
- package/dist/components/p-BEBDDqVT.js +1 -0
- package/dist/components/p-BIIQL66b.js +1 -0
- package/dist/components/p-BJiYCN3i.js +1 -0
- package/dist/components/p-BeeM-7Ku.js +5 -0
- package/dist/components/p-Bj2RJb2E.js +1 -0
- package/dist/components/p-BnmIFx4N.js +1 -0
- package/dist/components/p-BvBRW3dl.js +1 -0
- package/dist/components/p-ByfrUWx1.js +1 -0
- package/dist/components/p-C7yQ3tON.js +1 -0
- package/dist/components/p-CDktnDug.js +13 -0
- package/dist/components/p-CGZPmEUB.js +1 -0
- package/dist/components/p-DAl7U6Ms.js +1 -0
- package/dist/components/p-DH-PVHhr.js +1 -0
- package/dist/components/p-DQhiqYeq.js +1 -0
- package/dist/components/p-DcsB8P_Y.js +1 -0
- package/dist/components/p-DmqVhVoj.js +1 -0
- package/dist/components/p-Dnud2v8F.js +1 -0
- package/dist/components/p-QHgICI4w.js +1 -0
- package/dist/components/p-WJHaLJS_.js +1 -0
- package/dist/components/{q-circular-progress.d.ts → q-alert.d.ts} +4 -4
- package/dist/components/q-alert.js +1 -0
- package/dist/components/q-avatar.d.ts +11 -0
- package/dist/components/q-avatar.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/q-chip.js +1 -0
- package/dist/components/q-conversation-bubble.d.ts +11 -0
- package/dist/components/q-conversation-bubble.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/q-form.js +1 -0
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-link.d.ts +11 -0
- package/dist/components/q-link.js +1 -0
- package/dist/components/q-map.d.ts +11 -0
- package/dist/components/q-map.js +1 -0
- package/dist/components/q-navbar.d.ts +11 -0
- package/dist/components/q-navbar.js +1 -0
- package/dist/components/q-pagination.d.ts +11 -0
- package/dist/components/q-pagination.js +1 -0
- package/dist/components/q-panel.d.ts +11 -0
- package/dist/components/q-panel.js +1 -0
- package/dist/components/q-progress.d.ts +11 -0
- package/dist/components/q-progress.js +1 -0
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-radio-group.d.ts +11 -0
- package/dist/components/q-radio-group.js +1 -0
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-sidepanel.js +13 -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 +13 -1
- package/dist/components/q-tabs.d.ts +11 -0
- package/dist/components/q-tabs.js +1 -0
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toast.d.ts +11 -0
- package/dist/components/q-toast.js +1 -0
- package/dist/components/q-toggle.js +1 -1
- package/dist/components/q-toolbar.d.ts +11 -0
- package/dist/components/q-toolbar.js +1 -0
- package/dist/components/q-tooltip.js +1 -1
- package/dist/esm/Leaflet.GoogleMutant-BlvymWLE.js +767 -0
- package/dist/esm/action.props-BJWXy1Ec.js +32 -0
- package/dist/esm/chevron-up-CDktnDug.js +27 -0
- package/dist/esm/collection-identity-CGZPmEUB.js +138 -0
- package/dist/esm/data-table-cell-DmqVhVoj.js +42 -0
- package/dist/esm/{dom-DoQvrOHk.js → dom-ByfrUWx1.js} +15 -7
- package/dist/esm/form-control-validity-Bj2RJb2E.js +46 -0
- package/dist/esm/{index-CYoQ4Zv3.js → index-DweBlExe.js} +58 -4
- package/dist/esm/index.js +6 -1
- package/dist/esm/leaflet-maplibre-gl-Cgb-1z8Q.js +432 -0
- package/dist/esm/leaflet-src-BR13bdVA.js +30 -0
- package/dist/esm/leaflet-src-BeeM-7Ku.js +14520 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/map.types-WJHaLJS_.js +14 -0
- package/dist/esm/q-alert.entry.js +50 -0
- package/dist/esm/q-avatar.entry.js +99 -0
- package/dist/esm/q-button_2.entry.js +372 -0
- package/dist/esm/q-card.entry.js +31 -9
- package/dist/esm/q-carousel.entry.js +121 -78
- package/dist/esm/q-chip.entry.js +122 -0
- package/dist/esm/q-conversation-bubble.entry.js +68 -0
- package/dist/esm/q-data-table.entry.js +470 -118
- package/dist/esm/q-dialog.entry.js +136 -22
- package/dist/esm/q-dropdown.entry.js +318 -64
- package/dist/esm/q-form.entry.js +507 -0
- package/dist/esm/q-icon.entry.js +290 -99
- package/dist/esm/q-input_2.entry.js +360 -0
- package/dist/esm/q-link.entry.js +78 -0
- package/dist/esm/q-map.entry.js +3326 -0
- package/dist/esm/q-navbar.entry.js +192 -0
- package/dist/esm/q-pagination.entry.js +66 -0
- package/dist/esm/q-panel.entry.js +65 -0
- package/dist/esm/q-quantity-selector.entry.js +112 -93
- package/dist/esm/q-radio-group.entry.js +215 -0
- package/dist/esm/q-reel.entry.js +86 -33
- package/dist/esm/q-scrollable.entry.js +447 -0
- package/dist/esm/q-sidepanel.entry.js +562 -114
- package/dist/esm/q-step-diagram-item.entry.js +11 -17
- package/dist/esm/q-step-diagram.entry.js +9 -10
- package/dist/esm/q-syntax-box.entry.js +381 -173
- package/dist/esm/q-tabs.entry.js +153 -0
- package/dist/esm/q-textarea.entry.js +69 -9
- package/dist/esm/q-thumbnail.entry.js +18 -11
- package/dist/esm/q-toast.entry.js +398 -0
- package/dist/esm/q-toggle.entry.js +57 -26
- package/dist/esm/q-toolbar.entry.js +27 -0
- package/dist/esm/registry-BvBRW3dl.js +173 -0
- package/dist/esm/toast-controller-BIIQL66b.js +107 -0
- package/dist/esm/webquark.js +3 -3
- package/dist/playground/assets/icons/braces.svg +14 -14
- package/dist/playground/assets/icons/check.svg +1 -1
- package/dist/playground/assets/icons/chevron-down.svg +1 -1
- package/dist/playground/assets/icons/chevron-left.svg +1 -1
- package/dist/playground/assets/icons/chevron-right.svg +1 -1
- package/dist/playground/assets/icons/chevron-up.svg +1 -1
- package/dist/playground/assets/icons/copy.svg +4 -4
- package/dist/playground/assets/icons/eye-off.svg +1 -1
- package/dist/playground/assets/icons/eye.svg +1 -1
- package/dist/playground/assets/icons/minus.svg +1 -1
- package/dist/playground/assets/icons/play.svg +1 -1
- package/dist/playground/assets/icons/plus.svg +1 -1
- package/dist/playground/assets/icons/search.svg +1 -1
- package/dist/playground/assets/icons/spinner.svg +1 -1
- package/dist/playground/assets/icons/trash-2.svg +1 -1
- package/dist/playground/assets/icons/x.svg +1 -1
- package/dist/playground/build/index.esm.js +1 -1
- package/dist/playground/build/p-06813183.entry.js +1 -0
- package/dist/playground/build/p-09d43469.entry.js +1 -0
- package/dist/playground/build/p-256d199a.entry.js +1 -0
- package/dist/playground/build/p-2bWqVyTo.js +1 -0
- package/dist/playground/build/p-2f0bbb67.entry.js +1 -0
- package/dist/playground/build/p-31d62bd0.entry.js +1 -0
- package/dist/playground/build/p-35c9fa4d.entry.js +1 -0
- package/dist/playground/build/p-3e4d2d19.entry.js +1 -0
- package/dist/playground/build/p-4b38c28f.entry.js +1 -0
- package/dist/playground/build/p-4f8ee3f7.entry.js +1 -0
- package/dist/playground/build/p-53a5c493.entry.js +1 -0
- package/dist/playground/build/p-721d2479.entry.js +1 -0
- package/dist/playground/build/p-7be7478a.entry.js +1 -0
- package/dist/playground/build/p-7c4e6512.entry.js +1 -0
- package/dist/playground/build/p-7c9d705e.entry.js +1 -0
- package/dist/playground/build/p-8ff218f7.entry.js +1 -0
- package/dist/playground/build/p-94eba9a9.entry.js +1 -0
- package/dist/playground/build/p-BEBDDqVT.js +1 -0
- package/dist/playground/build/p-BIIQL66b.js +1 -0
- package/dist/playground/build/p-BeeM-7Ku.js +5 -0
- package/dist/playground/build/p-Bj2RJb2E.js +1 -0
- package/dist/playground/build/p-BvBRW3dl.js +1 -0
- package/dist/playground/build/p-ByfrUWx1.js +1 -0
- package/dist/playground/build/p-CDktnDug.js +13 -0
- package/dist/playground/build/p-CGZPmEUB.js +1 -0
- package/dist/playground/build/p-DNFGt02p.js +1 -0
- package/dist/playground/build/p-DmqVhVoj.js +1 -0
- package/dist/playground/build/p-DweBlExe.js +2 -0
- package/dist/playground/build/p-Dxs6LLBG.js +1 -0
- package/dist/playground/build/p-WJHaLJS_.js +1 -0
- package/dist/playground/build/p-a0861b0e.entry.js +1 -0
- package/dist/playground/build/p-a2a3135f.entry.js +1 -0
- package/dist/playground/build/p-a7b90eef.entry.js +13 -0
- package/dist/playground/build/p-bc0a0428.entry.js +1 -0
- package/dist/playground/build/p-bc7d7cbf.entry.js +13 -0
- package/dist/playground/build/p-c4016e61.entry.js +1 -0
- package/dist/playground/build/p-c64be717.entry.js +1 -0
- package/dist/playground/build/p-d142bb86.entry.js +1 -0
- package/dist/playground/build/p-d22a876a.entry.js +1 -0
- package/dist/playground/build/p-d691a1aa.entry.js +1 -0
- package/dist/playground/build/p-dabaddcb.entry.js +1 -0
- package/dist/playground/build/p-dac913f9.entry.js +1 -0
- package/dist/playground/build/p-de7364cd.entry.js +1 -0
- package/dist/playground/build/p-e298fb31.entry.js +1 -0
- package/dist/playground/build/p-e354a398.entry.js +1 -0
- package/dist/playground/build/p-f1ab576a.entry.js +1 -0
- package/dist/playground/build/webquark.css +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/css/base.css +122 -145
- package/dist/playground/index.html +29 -29
- package/dist/playground/logo.svg +8 -8
- package/dist/playground/playground/components.manifest.json +37 -20
- package/dist/playground/playground/specs/q-avatar.sandbox.json +24 -0
- package/dist/playground/playground/specs/q-button.sandbox.json +209 -198
- package/dist/playground/playground/specs/q-card.sandbox.json +144 -144
- package/dist/playground/playground/specs/q-carousel.sandbox.json +120 -120
- package/dist/playground/playground/specs/q-chip.sandbox.json +105 -0
- package/dist/playground/playground/specs/q-conversation-bubble.sandbox.json +26 -0
- package/dist/playground/playground/specs/q-data-table.sandbox.json +161 -108
- package/dist/playground/playground/specs/q-dialog.sandbox.json +108 -108
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +121 -116
- package/dist/playground/playground/specs/q-form.sandbox.json +20 -0
- package/dist/playground/playground/specs/q-icon.sandbox.json +138 -138
- package/dist/playground/playground/specs/q-input.sandbox.json +192 -192
- package/dist/playground/playground/specs/q-link.sandbox.json +27 -0
- package/dist/playground/playground/specs/q-map.sandbox.json +203 -0
- package/dist/playground/playground/specs/q-navbar.sandbox.json +32 -0
- package/dist/playground/playground/specs/q-panel.sandbox.json +28 -0
- package/dist/playground/playground/specs/q-progress.sandbox.json +117 -0
- package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +99 -99
- package/dist/playground/playground/specs/q-radio-group.sandbox.json +58 -0
- package/dist/playground/playground/specs/q-reel.sandbox.json +70 -70
- package/dist/playground/playground/specs/q-scrollable.sandbox.json +102 -102
- package/dist/playground/playground/specs/q-sidepanel.sandbox.json +152 -147
- package/dist/playground/playground/specs/q-step-diagram.sandbox.json +56 -56
- package/dist/playground/playground/specs/q-syntax-box.sandbox.json +160 -160
- package/dist/playground/playground/specs/q-textarea.sandbox.json +133 -133
- package/dist/playground/playground/specs/q-toast.sandbox.json +32 -0
- package/dist/playground/playground/specs/q-toggle.sandbox.json +196 -196
- package/dist/playground/playground/specs/q-toolbar.sandbox.json +26 -0
- package/dist/playground/playground/specs/q-tooltip.sandbox.json +65 -65
- package/dist/playground/playground.js +949 -887
- package/dist/types/components/actions/action.props.d.ts +19 -0
- package/dist/types/components/actions/button/button.d.ts +61 -0
- package/dist/types/components/actions/button/button.types.d.ts +5 -0
- package/dist/types/components/actions/button/button.utils.d.ts +8 -0
- package/dist/types/components/actions/button/button.utils.unit.test.d.ts +1 -0
- package/dist/types/components/actions/chip/chip.d.ts +55 -0
- package/dist/types/components/actions/chip/chip.types.d.ts +13 -0
- package/dist/types/components/actions/link/link.d.ts +43 -0
- package/dist/types/components/actions/link/link.types.d.ts +3 -0
- package/dist/types/components/data-display/alert/alert.d.ts +32 -0
- package/dist/types/components/data-display/alert/alert.types.d.ts +2 -0
- package/dist/types/components/data-display/conversation-bubble/conversation-bubble.d.ts +38 -0
- package/dist/types/components/data-display/conversation-bubble/conversation-bubble.types.d.ts +1 -0
- package/dist/types/components/data-display/data-table/data-table-cell.d.ts +5 -0
- package/dist/types/components/data-display/data-table/data-table.d.ts +78 -0
- package/dist/types/components/data-display/data-table/data-table.types.d.ts +53 -0
- package/dist/types/components/data-display/data-table/internals/data-access.d.ts +9 -0
- package/dist/types/components/data-display/data-table/internals/render-row-actions.d.ts +9 -0
- package/dist/types/components/data-display/data-table/internals/render-sort-indicator.d.ts +5 -0
- package/dist/types/components/data-display/data-table/internals/render-table-body.d.ts +12 -0
- package/dist/types/components/data-display/data-table/internals/render-table-head.d.ts +8 -0
- package/dist/types/components/data-display/data-table/internals/render-toolbar.d.ts +9 -0
- package/dist/types/components/data-display/data-table/internals/row-events.d.ts +1 -0
- package/dist/types/components/data-display/data-table/internals/selection.d.ts +10 -0
- package/dist/types/components/data-display/data-table/internals/sort.d.ts +3 -0
- package/dist/types/components/data-display/data-table/internals/table-model.d.ts +52 -0
- package/dist/types/components/data-display/map/internals/base-layer.d.ts +63 -0
- package/dist/types/components/data-display/map/internals/bounds.d.ts +23 -0
- package/dist/types/components/data-display/map/internals/buffered-tile-layer.d.ts +10 -0
- package/dist/types/components/data-display/map/internals/cluster-collision.d.ts +15 -0
- package/dist/types/components/data-display/map/internals/google-maps.d.ts +9 -0
- package/dist/types/components/data-display/map/internals/google-mutant-module.d.ts +11 -0
- package/dist/types/components/data-display/map/internals/google-mutant.d.ts +18 -0
- package/dist/types/components/data-display/map/internals/maplibre.d.ts +14 -0
- package/dist/types/components/data-display/map/internals/marker-cluster-index.d.ts +36 -0
- package/dist/types/components/data-display/map/internals/marker-controller.d.ts +55 -0
- package/dist/types/components/data-display/map/internals/marker-presentation.d.ts +8 -0
- package/dist/types/components/data-display/map/internals/marker-visibility.d.ts +10 -0
- package/dist/types/components/data-display/map/internals/markers.d.ts +4 -0
- package/dist/types/components/data-display/map/internals/tile-layer-readiness.d.ts +11 -0
- package/dist/types/components/data-display/map/internals/tile-preload-buffer.d.ts +4 -0
- package/dist/types/components/data-display/map/internals/vector-padding.d.ts +4 -0
- package/dist/types/components/data-display/map/map.d.ts +171 -0
- package/dist/types/components/data-display/map/map.types.d.ts +122 -0
- package/dist/types/components/data-display/map/test/map.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/pagination/pagination.d.ts +33 -0
- package/dist/types/components/data-display/pagination/test/pagination.cmp.test.d.ts +2 -0
- package/dist/types/components/data-display/syntax-box/internals/clipboard.d.ts +2 -0
- package/dist/types/components/data-display/syntax-box/internals/editor-key-action.d.ts +12 -0
- package/dist/types/components/data-display/syntax-box/internals/value-sync.d.ts +18 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.d.ts +66 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.types.d.ts +2 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.utils.d.ts +1 -0
- package/dist/types/components/indicators/progress/progress.d.ts +30 -0
- package/dist/types/components/indicators/progress/progress.types.d.ts +3 -0
- package/dist/types/components/indicators/step-diagram/step-diagram.d.ts +16 -0
- package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +1 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +24 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +3 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.utils.d.ts +1 -0
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +90 -0
- package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +8 -0
- package/dist/types/components/inputs/dropdown/internals/options.d.ts +6 -0
- package/dist/types/components/inputs/dropdown/internals/position.d.ts +26 -0
- package/dist/types/components/inputs/dropdown/test/dropdown.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/input/input.d.ts +77 -0
- package/dist/types/components/inputs/input/input.types.d.ts +2 -0
- package/dist/types/components/inputs/input/input.utils.d.ts +1 -0
- package/dist/types/components/inputs/quantity-selector/internals/number-value.d.ts +13 -0
- package/dist/types/components/{quantity-selector → inputs/quantity-selector}/quantity-selector.d.ts +10 -9
- package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +1 -0
- package/dist/types/components/inputs/radio-group/radio-group.d.ts +60 -0
- package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +11 -0
- package/dist/types/components/inputs/radio-group/radio-group.utils.d.ts +2 -0
- package/dist/types/components/inputs/textarea/textarea.d.ts +59 -0
- package/dist/types/components/inputs/textarea/textarea.types.d.ts +1 -0
- package/dist/types/components/inputs/toggle/toggle.d.ts +56 -0
- package/dist/types/components/inputs/toggle/toggle.types.d.ts +2 -0
- package/dist/types/components/inputs/toggle/toggle.utils.d.ts +1 -0
- package/dist/types/components/layout/card/card.d.ts +24 -0
- package/dist/types/components/layout/card/card.types.d.ts +1 -0
- package/dist/types/components/layout/card/card.utils.d.ts +5 -0
- package/dist/types/components/{carousel → layout/carousel}/carousel.d.ts +19 -7
- package/dist/types/components/layout/carousel/carousel.types.d.ts +5 -0
- package/dist/types/components/layout/carousel/carousel.utils.d.ts +1 -0
- package/dist/types/components/layout/carousel/internals/metrics.d.ts +23 -0
- package/dist/types/components/layout/form/form.d.ts +69 -0
- package/dist/types/components/layout/form/form.types.d.ts +38 -0
- package/dist/types/components/layout/form/internals/controls.d.ts +5 -0
- package/dist/types/components/layout/form/internals/enter-behavior.d.ts +2 -0
- package/dist/types/components/layout/form/internals/values.d.ts +5 -0
- package/dist/types/components/layout/form/test/form.cmp.test.d.ts +4 -0
- package/dist/types/components/layout/navbar/navbar.d.ts +66 -0
- package/dist/types/components/layout/navbar/navbar.types.d.ts +31 -0
- package/dist/types/components/layout/navbar/navbar.utils.d.ts +2 -0
- package/dist/types/components/layout/navbar/test/navbar.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/panel/panel.d.ts +33 -0
- package/dist/types/components/layout/panel/panel.types.d.ts +2 -0
- package/dist/types/components/layout/scrollable/internals/metrics.d.ts +26 -0
- package/dist/types/components/layout/scrollable/internals/native-scrollbar.d.ts +4 -0
- package/dist/types/components/layout/scrollable/scrollable.d.ts +67 -0
- package/dist/types/components/layout/scrollable/scrollable.types.d.ts +6 -0
- package/dist/types/components/layout/sidepanel/internals/drawer.d.ts +2 -0
- package/dist/types/components/layout/sidepanel/internals/groups.d.ts +7 -0
- package/dist/types/components/layout/sidepanel/internals/nav-items.d.ts +2 -0
- package/dist/types/components/layout/sidepanel/sidepanel.d.ts +93 -0
- package/dist/types/components/layout/sidepanel/sidepanel.types.d.ts +39 -0
- package/dist/types/components/layout/sidepanel/sidepanel.utils.d.ts +2 -0
- package/dist/types/components/layout/tabs/tabs.d.ts +29 -0
- package/dist/types/components/layout/tabs/tabs.types.d.ts +14 -0
- package/dist/types/components/layout/tabs/tabs.utils.d.ts +4 -0
- package/dist/types/components/layout/tabs/test/tabs.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/toolbar/toolbar.d.ts +23 -0
- package/dist/types/components/layout/toolbar/toolbar.types.d.ts +1 -0
- package/dist/types/components/media/avatar/avatar.d.ts +37 -0
- package/dist/types/components/media/avatar/avatar.types.d.ts +2 -0
- package/dist/types/components/media/icon/icon.d.ts +44 -0
- package/dist/types/components/media/icon/icon.types.d.ts +30 -0
- package/dist/types/components/media/icon/internals/constants.d.ts +3 -0
- package/dist/types/components/media/icon/internals/fetch-icon.d.ts +1 -0
- package/dist/types/components/media/icon/internals/registry.d.ts +11 -0
- package/dist/types/components/media/icon/internals/registry.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/render-definition.d.ts +2 -0
- package/dist/types/components/media/icon/internals/sanitize-svg.d.ts +2 -0
- package/dist/types/components/media/icon/internals/size.d.ts +2 -0
- package/dist/types/components/media/icon/internals/url.d.ts +11 -0
- package/dist/types/components/media/reel/reel.d.ts +34 -0
- package/dist/types/components/media/reel/reel.types.d.ts +3 -0
- package/dist/types/components/media/thumbnail/thumbnail.d.ts +21 -0
- package/dist/types/components/media/thumbnail/thumbnail.types.d.ts +7 -0
- package/dist/types/components/overlays/dialog/dialog.d.ts +71 -0
- package/dist/types/components/overlays/dialog/dialog.types.d.ts +1 -0
- package/dist/types/components/overlays/dialog/internals/backdrop.d.ts +2 -0
- package/dist/types/components/overlays/dialog/internals/lifecycle.d.ts +21 -0
- package/dist/types/components/overlays/toast/internals/icons.d.ts +2 -0
- package/dist/types/components/overlays/toast/internals/queue.d.ts +19 -0
- package/dist/types/components/overlays/toast/internals/timers.d.ts +12 -0
- package/dist/types/components/overlays/toast/test/toast.cmp.test.d.ts +2 -0
- package/dist/types/components/overlays/toast/test/toast.unit.test.d.ts +1 -0
- package/dist/types/components/overlays/toast/toast-controller.d.ts +9 -0
- package/dist/types/components/overlays/toast/toast.d.ts +44 -0
- package/dist/types/components/overlays/toast/toast.types.d.ts +30 -0
- package/dist/types/components/overlays/tooltip/internals/aria.d.ts +13 -0
- package/dist/types/components/overlays/tooltip/internals/positioning.d.ts +7 -0
- package/dist/types/components/overlays/tooltip/internals/scroll-listeners.d.ts +2 -0
- package/dist/types/components/overlays/tooltip/tooltip.d.ts +28 -0
- package/dist/types/components/overlays/tooltip/tooltip.types.d.ts +1 -0
- package/dist/types/components.d.ts +3607 -568
- package/dist/types/declarations.d.ts +14 -9
- package/dist/types/index.d.ts +12 -0
- package/dist/types/playground/components/playground-sidebar/playground-sidebar.d.ts +2 -0
- package/dist/types/utils/collection-identity.d.ts +55 -0
- package/dist/types/utils/collection-identity.unit.test.d.ts +1 -0
- package/dist/types/utils/dom.d.ts +1 -1
- package/dist/types/utils/form-control-validity.d.ts +14 -0
- package/dist/webquark/index.esm.js +1 -1
- package/dist/webquark/p-06813183.entry.js +1 -0
- package/dist/webquark/p-09d43469.entry.js +1 -0
- package/dist/webquark/p-256d199a.entry.js +1 -0
- package/dist/webquark/p-2bWqVyTo.js +1 -0
- package/dist/webquark/p-2f0bbb67.entry.js +1 -0
- package/dist/webquark/p-31d62bd0.entry.js +1 -0
- package/dist/webquark/p-35c9fa4d.entry.js +1 -0
- package/dist/webquark/p-3e4d2d19.entry.js +1 -0
- package/dist/webquark/p-4b38c28f.entry.js +1 -0
- package/dist/webquark/p-4f8ee3f7.entry.js +1 -0
- package/dist/webquark/p-53a5c493.entry.js +1 -0
- package/dist/webquark/p-721d2479.entry.js +1 -0
- package/dist/webquark/p-7be7478a.entry.js +1 -0
- package/dist/webquark/p-7c4e6512.entry.js +1 -0
- package/dist/webquark/p-7c9d705e.entry.js +1 -0
- package/dist/webquark/p-8ff218f7.entry.js +1 -0
- package/dist/webquark/p-94eba9a9.entry.js +1 -0
- package/dist/webquark/p-BEBDDqVT.js +1 -0
- package/dist/webquark/p-BIIQL66b.js +1 -0
- package/dist/webquark/p-BeeM-7Ku.js +5 -0
- package/dist/webquark/p-Bj2RJb2E.js +1 -0
- package/dist/webquark/p-BvBRW3dl.js +1 -0
- package/dist/webquark/p-ByfrUWx1.js +1 -0
- package/dist/webquark/p-CDktnDug.js +13 -0
- package/dist/webquark/p-CGZPmEUB.js +1 -0
- package/dist/webquark/p-DNFGt02p.js +1 -0
- package/dist/webquark/p-DmqVhVoj.js +1 -0
- package/dist/webquark/p-DweBlExe.js +2 -0
- package/dist/webquark/p-Dxs6LLBG.js +1 -0
- package/dist/webquark/p-WJHaLJS_.js +1 -0
- package/dist/webquark/p-a0861b0e.entry.js +1 -0
- package/dist/webquark/p-a2a3135f.entry.js +1 -0
- package/dist/webquark/p-a7b90eef.entry.js +13 -0
- package/dist/webquark/p-bc0a0428.entry.js +1 -0
- package/dist/webquark/p-bc7d7cbf.entry.js +13 -0
- package/dist/webquark/p-c4016e61.entry.js +1 -0
- package/dist/webquark/p-c64be717.entry.js +1 -0
- package/dist/webquark/p-d142bb86.entry.js +1 -0
- package/dist/webquark/p-d22a876a.entry.js +1 -0
- package/dist/webquark/p-d691a1aa.entry.js +1 -0
- package/dist/webquark/p-dabaddcb.entry.js +1 -0
- package/dist/webquark/p-dac913f9.entry.js +1 -0
- package/dist/webquark/p-de7364cd.entry.js +1 -0
- package/dist/webquark/p-e298fb31.entry.js +1 -0
- package/dist/webquark/p-e354a398.entry.js +1 -0
- package/dist/webquark/p-f1ab576a.entry.js +1 -0
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +113 -84
- package/scripts/webquark-serve.js +0 -0
- package/dist/cjs/q-button_3.cjs.entry.js +0 -603
- package/dist/cjs/q-circular-progress_2.cjs.entry.js +0 -255
- package/dist/collection/components/circular-progress/circular-progress.css +0 -85
- package/dist/collection/components/circular-progress/circular-progress.js +0 -122
- package/dist/collection/components/data-table/data-table.js +0 -481
- package/dist/collection/components/dropdown/dropdown.js +0 -606
- package/dist/collection/components/icon/icon.js +0 -297
- package/dist/collection/components/sidepanel/sidepanel.css +0 -371
- package/dist/collection/components/sidepanel/sidepanel.js +0 -460
- package/dist/collection/components/step-diagram-item/step-diagram-item.js +0 -131
- package/dist/collection/components/syntax-box/syntax-box.js +0 -534
- package/dist/collection/components/tooltip/tooltip.js +0 -249
- package/dist/components/p-91lJS0-v.js +0 -1
- package/dist/components/p-B4IF9WVv.js +0 -1
- package/dist/components/p-BCSpNDGG.js +0 -1
- package/dist/components/p-DScvq41R.js +0 -1
- package/dist/components/p-DfTW9B7V.js +0 -1
- package/dist/components/p-DgaKWrjd.js +0 -1
- package/dist/components/p-Do2ppeKL.js +0 -1
- package/dist/components/p-DoQvrOHk.js +0 -1
- package/dist/components/q-circular-progress.js +0 -1
- package/dist/esm/q-button_3.entry.js +0 -599
- package/dist/esm/q-circular-progress_2.entry.js +0 -252
- package/dist/playground/build/p-095635d3.entry.js +0 -1
- package/dist/playground/build/p-1187e439.entry.js +0 -1
- package/dist/playground/build/p-389e2cd3.entry.js +0 -1
- package/dist/playground/build/p-38d9e75b.entry.js +0 -1
- package/dist/playground/build/p-4ce667f1.entry.js +0 -1
- package/dist/playground/build/p-66b0eb0f.entry.js +0 -1
- package/dist/playground/build/p-69d33f9d.entry.js +0 -1
- package/dist/playground/build/p-6dc7b987.entry.js +0 -1
- package/dist/playground/build/p-76e04a7f.entry.js +0 -1
- package/dist/playground/build/p-776a0eb6.entry.js +0 -1
- package/dist/playground/build/p-7c4532f3.entry.js +0 -1
- package/dist/playground/build/p-7d2144cf.entry.js +0 -1
- package/dist/playground/build/p-84185204.entry.js +0 -1
- package/dist/playground/build/p-938cd8a6.entry.js +0 -1
- package/dist/playground/build/p-CYoQ4Zv3.js +0 -2
- package/dist/playground/build/p-DoQvrOHk.js +0 -1
- package/dist/playground/build/p-a182b818.entry.js +0 -1
- package/dist/playground/build/p-aa017815.entry.js +0 -1
- package/dist/playground/build/p-d7607e11.entry.js +0 -1
- package/dist/playground/playground/specs/q-circular-progress.sandbox.json +0 -91
- package/dist/types/components/button/button.d.ts +0 -26
- package/dist/types/components/card/card.d.ts +0 -12
- package/dist/types/components/circular-progress/circular-progress.d.ts +0 -7
- package/dist/types/components/data-table/data-table.d.ts +0 -45
- package/dist/types/components/dialog/dialog.d.ts +0 -35
- package/dist/types/components/dropdown/dropdown.d.ts +0 -49
- package/dist/types/components/icon/icon.d.ts +0 -33
- package/dist/types/components/input/input.d.ts +0 -43
- package/dist/types/components/reel/reel.d.ts +0 -23
- package/dist/types/components/scrollable/scrollable.d.ts +0 -47
- package/dist/types/components/sidepanel/sidepanel.d.ts +0 -58
- package/dist/types/components/step-diagram/step-diagram.d.ts +0 -10
- package/dist/types/components/step-diagram-item/step-diagram-item.d.ts +0 -12
- package/dist/types/components/syntax-box/syntax-box.d.ts +0 -37
- package/dist/types/components/textarea/textarea.d.ts +0 -36
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -18
- package/dist/types/components/toggle/toggle.d.ts +0 -36
- package/dist/types/components/tooltip/tooltip.d.ts +0 -29
- package/dist/webquark/p-095635d3.entry.js +0 -1
- package/dist/webquark/p-1187e439.entry.js +0 -1
- package/dist/webquark/p-389e2cd3.entry.js +0 -1
- package/dist/webquark/p-38d9e75b.entry.js +0 -1
- package/dist/webquark/p-4ce667f1.entry.js +0 -1
- package/dist/webquark/p-66b0eb0f.entry.js +0 -1
- package/dist/webquark/p-69d33f9d.entry.js +0 -1
- package/dist/webquark/p-6dc7b987.entry.js +0 -1
- package/dist/webquark/p-76e04a7f.entry.js +0 -1
- package/dist/webquark/p-776a0eb6.entry.js +0 -1
- package/dist/webquark/p-7c4532f3.entry.js +0 -1
- package/dist/webquark/p-7d2144cf.entry.js +0 -1
- package/dist/webquark/p-84185204.entry.js +0 -1
- package/dist/webquark/p-938cd8a6.entry.js +0 -1
- package/dist/webquark/p-CYoQ4Zv3.js +0 -2
- package/dist/webquark/p-DoQvrOHk.js +0 -1
- package/dist/webquark/p-a182b818.entry.js +0 -1
- package/dist/webquark/p-aa017815.entry.js +0 -1
- package/dist/webquark/p-d7607e11.entry.js +0 -1
- /package/dist/cjs/{index-DGQOjEwT.js → utils-DGQOjEwT.js} +0 -0
- /package/dist/esm/{index-BJiYCN3i.js → utils-BJiYCN3i.js} +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
const REGISTRY_STATE_KEY = Symbol.for('@webquark/core:q-icon-registry:v1');
|
|
2
|
+
const ICON_NAME_PATTERN = /^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/;
|
|
3
|
+
const ATTRIBUTE_NAME_PATTERN = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/;
|
|
4
|
+
const MAX_ICON_NAME_LENGTH = 128;
|
|
5
|
+
const MAX_NODE_DEPTH = 16;
|
|
6
|
+
const MAX_NODE_COUNT = 512;
|
|
7
|
+
const SAFE_SVG_ELEMENTS = new Set([
|
|
8
|
+
'circle',
|
|
9
|
+
'clipPath',
|
|
10
|
+
'defs',
|
|
11
|
+
'ellipse',
|
|
12
|
+
'g',
|
|
13
|
+
'line',
|
|
14
|
+
'linearGradient',
|
|
15
|
+
'mask',
|
|
16
|
+
'path',
|
|
17
|
+
'polygon',
|
|
18
|
+
'polyline',
|
|
19
|
+
'radialGradient',
|
|
20
|
+
'rect',
|
|
21
|
+
'stop',
|
|
22
|
+
'symbol',
|
|
23
|
+
'use',
|
|
24
|
+
]);
|
|
25
|
+
function getRuntimeState() {
|
|
26
|
+
const globalRecord = globalThis;
|
|
27
|
+
const existing = globalRecord[REGISTRY_STATE_KEY];
|
|
28
|
+
if (existing?.version === 1 && existing.registry instanceof Map && typeof existing.strict === 'boolean') {
|
|
29
|
+
return existing;
|
|
30
|
+
}
|
|
31
|
+
const state = {
|
|
32
|
+
version: 1,
|
|
33
|
+
registry: new Map(),
|
|
34
|
+
strict: false,
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(globalRecord, REGISTRY_STATE_KEY, {
|
|
37
|
+
configurable: false,
|
|
38
|
+
enumerable: false,
|
|
39
|
+
writable: false,
|
|
40
|
+
value: state,
|
|
41
|
+
});
|
|
42
|
+
return state;
|
|
43
|
+
}
|
|
44
|
+
function isRecord(value) {
|
|
45
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
46
|
+
}
|
|
47
|
+
function containsExternalResourceReference(value) {
|
|
48
|
+
const references = Array.from(value.matchAll(/url\s*\(([^)]*)\)/gi));
|
|
49
|
+
return references.some(([, rawReference]) => {
|
|
50
|
+
const reference = rawReference.trim().replace(/^(['"])(.*)\1$/, '$2').trim();
|
|
51
|
+
return !reference.startsWith('#');
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function assertPositiveDimension(value, field, context) {
|
|
55
|
+
if (value !== undefined && (typeof value !== 'number' || !Number.isFinite(value) || value <= 0)) {
|
|
56
|
+
throw new TypeError(`${context}.${field} must be a positive finite number.`);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function cloneAttributes(value, context) {
|
|
60
|
+
if (!isRecord(value)) {
|
|
61
|
+
throw new TypeError(`${context} must be an object of string SVG attributes.`);
|
|
62
|
+
}
|
|
63
|
+
const attributes = {};
|
|
64
|
+
for (const [name, rawValue] of Object.entries(value)) {
|
|
65
|
+
if (!ATTRIBUTE_NAME_PATTERN.test(name) || name.toLowerCase().startsWith('on')) {
|
|
66
|
+
throw new TypeError(`${context} contains an unsafe SVG attribute name: ${name}.`);
|
|
67
|
+
}
|
|
68
|
+
if (name.toLowerCase() === 'style' || name.toLowerCase() === 'src') {
|
|
69
|
+
throw new TypeError(`${context} contains an unsupported SVG attribute: ${name}.`);
|
|
70
|
+
}
|
|
71
|
+
if (typeof rawValue !== 'string') {
|
|
72
|
+
throw new TypeError(`${context}.${name} must be a string.`);
|
|
73
|
+
}
|
|
74
|
+
const normalizedValue = rawValue.trim().toLowerCase();
|
|
75
|
+
if (normalizedValue.includes('javascript:')) {
|
|
76
|
+
throw new TypeError(`${context}.${name} contains an unsafe SVG attribute value.`);
|
|
77
|
+
}
|
|
78
|
+
if ((name.toLowerCase() === 'href' || name.toLowerCase() === 'xlink:href') && !normalizedValue.startsWith('#')) {
|
|
79
|
+
throw new TypeError(`${context}.${name} must reference an element in the same SVG.`);
|
|
80
|
+
}
|
|
81
|
+
if (containsExternalResourceReference(rawValue)) {
|
|
82
|
+
throw new TypeError(`${context}.${name} must not reference an external resource.`);
|
|
83
|
+
}
|
|
84
|
+
attributes[name] = rawValue;
|
|
85
|
+
}
|
|
86
|
+
return Object.freeze(attributes);
|
|
87
|
+
}
|
|
88
|
+
function cloneNode(value, context, depth, nodeCounter) {
|
|
89
|
+
if (!Array.isArray(value) || (value.length !== 2 && value.length !== 3)) {
|
|
90
|
+
throw new TypeError(`${context} must be a [tagName, attributes, children?] tuple.`);
|
|
91
|
+
}
|
|
92
|
+
if (depth > MAX_NODE_DEPTH) {
|
|
93
|
+
throw new TypeError(`${context} exceeds the maximum icon node depth of ${MAX_NODE_DEPTH}.`);
|
|
94
|
+
}
|
|
95
|
+
nodeCounter.value += 1;
|
|
96
|
+
if (nodeCounter.value > MAX_NODE_COUNT) {
|
|
97
|
+
throw new TypeError(`Icon definitions may contain at most ${MAX_NODE_COUNT} SVG nodes.`);
|
|
98
|
+
}
|
|
99
|
+
const [tagName, rawAttributes, rawChildren] = value;
|
|
100
|
+
if (typeof tagName !== 'string' || !SAFE_SVG_ELEMENTS.has(tagName)) {
|
|
101
|
+
throw new TypeError(`${context} contains an unsupported SVG element: ${String(tagName)}.`);
|
|
102
|
+
}
|
|
103
|
+
const attributes = cloneAttributes(rawAttributes, `${context}[1]`);
|
|
104
|
+
if (rawChildren === undefined) {
|
|
105
|
+
return Object.freeze([tagName, attributes]);
|
|
106
|
+
}
|
|
107
|
+
if (!Array.isArray(rawChildren)) {
|
|
108
|
+
throw new TypeError(`${context}[2] must be an array of SVG nodes.`);
|
|
109
|
+
}
|
|
110
|
+
const children = Object.freeze(rawChildren.map((child, index) => (cloneNode(child, `${context}[2][${index}]`, depth + 1, nodeCounter))));
|
|
111
|
+
return Object.freeze([tagName, attributes, children]);
|
|
112
|
+
}
|
|
113
|
+
function prepareQIconDefinition(value, context = 'Icon definition') {
|
|
114
|
+
if (!isRecord(value) || !Array.isArray(value.node)) {
|
|
115
|
+
throw new TypeError(`${context} must contain a node array.`);
|
|
116
|
+
}
|
|
117
|
+
assertPositiveDimension(value.size, 'size', context);
|
|
118
|
+
assertPositiveDimension(value.width, 'width', context);
|
|
119
|
+
assertPositiveDimension(value.height, 'height', context);
|
|
120
|
+
if ((value.width === undefined) !== (value.height === undefined)) {
|
|
121
|
+
throw new TypeError(`${context}.width and ${context}.height must be provided together.`);
|
|
122
|
+
}
|
|
123
|
+
if (value.name !== undefined && typeof value.name !== 'string') {
|
|
124
|
+
throw new TypeError(`${context}.name must be a string when provided.`);
|
|
125
|
+
}
|
|
126
|
+
const nodeCounter = { value: 0 };
|
|
127
|
+
const node = Object.freeze(value.node.map((child, index) => (cloneNode(child, `${context}.node[${index}]`, 1, nodeCounter))));
|
|
128
|
+
const attributes = value.attributes === undefined
|
|
129
|
+
? undefined
|
|
130
|
+
: cloneAttributes(value.attributes, `${context}.attributes`);
|
|
131
|
+
const definition = {
|
|
132
|
+
...(value.name === undefined ? {} : { name: value.name }),
|
|
133
|
+
node,
|
|
134
|
+
...(value.size === undefined ? {} : { size: value.size }),
|
|
135
|
+
...(value.width === undefined ? {} : { width: value.width, height: value.height }),
|
|
136
|
+
...(attributes === undefined ? {} : { attributes }),
|
|
137
|
+
};
|
|
138
|
+
return Object.freeze(definition);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Atomically replaces the complete icon registry. Call once with an app-owned
|
|
142
|
+
* manifest before defining or bootstrapping WebQuark components.
|
|
143
|
+
*/
|
|
144
|
+
function registerQIcons(registry) {
|
|
145
|
+
if (!isRecord(registry)) {
|
|
146
|
+
throw new TypeError('QIcon registry must be an object keyed by icon name.');
|
|
147
|
+
}
|
|
148
|
+
const nextRegistry = new Map();
|
|
149
|
+
for (const [rawName, definition] of Object.entries(registry)) {
|
|
150
|
+
const name = rawName.trim();
|
|
151
|
+
if (name !== rawName || name.length > MAX_ICON_NAME_LENGTH || !ICON_NAME_PATTERN.test(name)) {
|
|
152
|
+
throw new TypeError(`Invalid q-icon registry name: ${JSON.stringify(rawName)}.`);
|
|
153
|
+
}
|
|
154
|
+
nextRegistry.set(name, prepareQIconDefinition(definition, `Icon definition ${JSON.stringify(name)}`));
|
|
155
|
+
}
|
|
156
|
+
getRuntimeState().registry = nextRegistry;
|
|
157
|
+
}
|
|
158
|
+
/** Configures whether unknown icon names may use URL and fetch fallbacks. */
|
|
159
|
+
function configureQIcons(configuration) {
|
|
160
|
+
if (!isRecord(configuration) || typeof configuration.strict !== 'boolean') {
|
|
161
|
+
throw new TypeError('QIcon configuration must provide a boolean strict value.');
|
|
162
|
+
}
|
|
163
|
+
getRuntimeState().strict = configuration.strict;
|
|
164
|
+
}
|
|
165
|
+
function resolveRegisteredQIcon(name) {
|
|
166
|
+
const normalizedName = name?.trim();
|
|
167
|
+
return normalizedName ? getRuntimeState().registry.get(normalizedName) : undefined;
|
|
168
|
+
}
|
|
169
|
+
function isQIconStrictMode() {
|
|
170
|
+
return getRuntimeState().strict;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export { resolveRegisteredQIcon as a, configureQIcons as c, isQIconStrictMode as i, prepareQIconDefinition as p, registerQIcons as r };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
const MAX_BUFFERED_TOASTS = 50;
|
|
2
|
+
const TOAST_RUNTIME_KEY = '__webquarkToastRuntimeV1__';
|
|
3
|
+
const getRuntimeState = () => {
|
|
4
|
+
const runtime = globalThis;
|
|
5
|
+
if (!runtime[TOAST_RUNTIME_KEY]) {
|
|
6
|
+
Object.defineProperty(runtime, TOAST_RUNTIME_KEY, {
|
|
7
|
+
value: {
|
|
8
|
+
bufferedToasts: [],
|
|
9
|
+
nextId: 0,
|
|
10
|
+
},
|
|
11
|
+
configurable: false,
|
|
12
|
+
enumerable: false,
|
|
13
|
+
writable: false,
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return runtime[TOAST_RUNTIME_KEY];
|
|
17
|
+
};
|
|
18
|
+
const assertClientRuntime = () => {
|
|
19
|
+
if (typeof document === 'undefined') {
|
|
20
|
+
throw new Error('WebQuark toast methods are client-only. Call them after the document is available.');
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
const normalizeRequest = (variant, title, description, options = {}) => {
|
|
24
|
+
const normalizedTitle = title.trim();
|
|
25
|
+
const normalizedDescription = description?.trim();
|
|
26
|
+
if (!normalizedTitle) {
|
|
27
|
+
throw new TypeError('Toast title must not be empty.');
|
|
28
|
+
}
|
|
29
|
+
if (options.duration !== undefined &&
|
|
30
|
+
(!Number.isFinite(options.duration) || options.duration < 0)) {
|
|
31
|
+
throw new RangeError('Toast duration must be a finite number of milliseconds at least 0.');
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
title: normalizedTitle,
|
|
35
|
+
description: normalizedDescription || undefined,
|
|
36
|
+
variant,
|
|
37
|
+
duration: options.duration,
|
|
38
|
+
dismissible: options.dismissible,
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
const createId = () => {
|
|
42
|
+
const runtime = getRuntimeState();
|
|
43
|
+
runtime.nextId += 1;
|
|
44
|
+
return `q-toast-${Date.now().toString(36)}-${runtime.nextId.toString(36)}`;
|
|
45
|
+
};
|
|
46
|
+
const show = (variant, title, description, options) => {
|
|
47
|
+
assertClientRuntime();
|
|
48
|
+
const id = createId();
|
|
49
|
+
const request = normalizeRequest(variant, title, description, options);
|
|
50
|
+
const runtime = getRuntimeState();
|
|
51
|
+
if (runtime.activeHost) {
|
|
52
|
+
runtime.activeHost.enqueue(request, id);
|
|
53
|
+
return id;
|
|
54
|
+
}
|
|
55
|
+
if (runtime.bufferedToasts.length >= MAX_BUFFERED_TOASTS) {
|
|
56
|
+
throw new RangeError(`Cannot buffer more than ${MAX_BUFFERED_TOASTS} toasts before <q-toast> connects.`);
|
|
57
|
+
}
|
|
58
|
+
runtime.bufferedToasts = [...runtime.bufferedToasts, { id, request }];
|
|
59
|
+
return id;
|
|
60
|
+
};
|
|
61
|
+
const registerToastHost = (host) => {
|
|
62
|
+
const runtime = getRuntimeState();
|
|
63
|
+
if (runtime.activeHost && runtime.activeHost !== host) {
|
|
64
|
+
console.error('WebQuark QToast: only one global <q-toast> host may be connected at a time.');
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
runtime.activeHost = host;
|
|
68
|
+
const pending = runtime.bufferedToasts;
|
|
69
|
+
runtime.bufferedToasts = [];
|
|
70
|
+
pending.forEach(({ request, id }) => host.enqueue(request, id));
|
|
71
|
+
return true;
|
|
72
|
+
};
|
|
73
|
+
const unregisterToastHost = (host) => {
|
|
74
|
+
const runtime = getRuntimeState();
|
|
75
|
+
if (runtime.activeHost === host) {
|
|
76
|
+
runtime.activeHost = undefined;
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const toast = Object.freeze({
|
|
80
|
+
info: (title, description, options) => show('info', title, description, options),
|
|
81
|
+
success: (title, description, options) => show('success', title, description, options),
|
|
82
|
+
warning: (title, description, options) => show('warning', title, description, options),
|
|
83
|
+
danger: (title, description, options) => show('danger', title, description, options),
|
|
84
|
+
error: (title, description, options) => show('danger', title, description, options),
|
|
85
|
+
dismiss: (id) => {
|
|
86
|
+
assertClientRuntime();
|
|
87
|
+
const runtime = getRuntimeState();
|
|
88
|
+
if (runtime.activeHost) {
|
|
89
|
+
return runtime.activeHost.dismiss(id);
|
|
90
|
+
}
|
|
91
|
+
const initialLength = runtime.bufferedToasts.length;
|
|
92
|
+
runtime.bufferedToasts = runtime.bufferedToasts.filter((item) => item.id !== id);
|
|
93
|
+
return runtime.bufferedToasts.length !== initialLength;
|
|
94
|
+
},
|
|
95
|
+
clear: () => {
|
|
96
|
+
assertClientRuntime();
|
|
97
|
+
const runtime = getRuntimeState();
|
|
98
|
+
if (runtime.activeHost) {
|
|
99
|
+
return runtime.activeHost.clear();
|
|
100
|
+
}
|
|
101
|
+
const count = runtime.bufferedToasts.length;
|
|
102
|
+
runtime.bufferedToasts = [];
|
|
103
|
+
return count;
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
export { registerToastHost as r, toast as t, unregisterToastHost as u };
|
package/dist/esm/webquark.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-DweBlExe.js';
|
|
2
|
+
export { s as setNonce } from './index-DweBlExe.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Patch Browser v4.43.5 | MIT Licensed | https://stenciljs.com
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["q-syntax-box",[[849,"q-syntax-box",{"variant":[1],"language":[1],"code":[1025],"value":[1025],"heading":[1],"copyable":[4],"height":[1],"editable":[4],"disabled":[516],"required":[516],"copied":[32],"scrollToBottom":[64]},null,{"code":[{"watchCode":0}],"value":[{"watchValue":0}]}]]],["q-data-table",[[769,"q-data-table",{"columns":[1],"items":[1],"loading":[4],"selectable":[4],"selectedKeys":[1040],"keyField":[1,"key-field"],"showToolbar":[4,"show-toolbar"],"toolbarTitle":[1,"toolbar-title"],"showSearch":[4,"show-search"],"searchPlaceholder":[1,"search-placeholder"],"searchValue":[1025,"search-value"]}]]],["q-sidepanel",[[769,"q-sidepanel",{"variant":[513],"open":[516],"side":[513],"panelSize":[1,"panel-size"],"items":[16],"value":[513],"mode":[1],"expanded":[4],"accordion":[4],"isVisible":[32],"isAnimatedOpen":[32],"expandedGroups":[32]},[[8,"keydown","handleGlobalKeyDown"]],{"open":[{"handleOpenChange":0}],"items":[{"handleItemsChange":0}]}]]],["q-card",[[769,"q-card",{"elevation":[520],"interactive":[516],"glass":[516],"lift":[516],"hasHeader":[32]}]]],["q-carousel",[[769,"q-carousel",{"snapAlignment":[513,"snap-alignment"],"showArrows":[516,"show-arrows"],"showIndicators":[516,"show-indicators"],"repeat":[516],"itemWidth":[1,"item-width"],"activeIndex":[32],"maxIndex":[32],"isScrollable":[32],"isAtStart":[32],"isAtEnd":[32],"slideTo":[64],"updateLimits":[64]}]]],["q-dialog",[[769,"q-dialog",{"open":[1540],"dialogTitle":[1,"dialog-title"],"message":[1],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"loading":[4],"confirmLabel":[1,"confirm-label"],"cancelLabel":[1,"cancel-label"],"showCancel":[4,"show-cancel"],"showConfirm":[4,"show-confirm"],"isVisible":[32],"isAnimatedOpen":[32],"show":[64],"close":[64],"confirm":[64],"cancel":[64]},[[8,"keydown","handleGlobalKeyDown"]],{"open":[{"handleOpenChange":0}]}]]],["q-dropdown",[[593,"q-dropdown",{"value":[1025],"label":[1],"placeholder":[1],"options":[1],"disabled":[516],"size":[513],"searchable":[4],"isOpen":[32],"focusedIndex":[32],"searchTerm":[32],"visibleCount":[32],"isScrollingLoading":[32]},[[8,"click","handleClickOutside"]],{"value":[{"watchValue":0}]}]]],["q-quantity-selector",[[513,"q-quantity-selector",{"value":[1026],"step":[2],"min":[2],"max":[2],"variant":[513],"inputValue":[32]},null,{"value":[{"watchValue":0}]}]]],["q-reel",[[769,"q-reel",{"layout":[1],"lightbox":[4],"activeMedia":[32]},[[0,"qMaximize","handleThumbnailMaximize"],[8,"keydown","handleGlobalKeyDown"]]]]],["q-step-diagram",[[769,"q-step-diagram",{"layout":[1]},null,{"layout":[{"handleLayoutChange":0}]}]]],["q-step-diagram-item",[[769,"q-step-diagram-item",{"status":[513],"lineStyle":[513,"line-style"],"layout":[1537]}]]],["q-textarea",[[593,"q-textarea",{"value":[1025],"placeholder":[1],"label":[1],"rows":[2],"autoGrow":[4,"auto-grow"],"resizeMode":[1,"resize-mode"],"disabled":[516],"required":[516],"error":[513],"errorMessage":[1,"error-message"],"focusElement":[64],"adjustHeight":[64]},null,{"value":[{"watchValue":0}]}]]],["q-thumbnail",[[769,"q-thumbnail",{"src":[1],"video":[516],"label":[1],"alt":[1],"highlighted":[516]}]]],["q-toggle",[[833,"q-toggle",{"checked":[1540],"size":[1],"type":[1],"label":[1],"disabled":[516],"required":[516],"error":[1],"hasCheckedIcon":[32],"hasUncheckedIcon":[32],"hasDefaultSlot":[32],"toggle":[64]},null,{"checked":[{"watchChecked":0}]}]]],["q-circular-progress_2",[[513,"q-circular-progress",{"value":[2],"label":[1],"indeterminate":[4],"size":[513]}],[849,"q-input",{"value":[1025],"type":[1],"placeholder":[1],"label":[1],"disabled":[516],"required":[516],"error":[513],"errorMessage":[1,"error-message"],"size":[1],"clearable":[4],"min":[2],"max":[2],"step":[2],"hasPrefix":[32],"hasSuffix":[32],"focusElement":[64],"clearValue":[64]},null,{"value":[{"watchValue":0}]}]]],["q-icon",[[513,"q-icon",{"name":[1],"lib":[1],"size":[1],"color":[1],"localPath":[1,"local-path"],"svgContent":[32],"isBinary":[32],"resolvedUrl":[32],"hasError":[32]},null,{"name":[{"watchHandler":0}],"lib":[{"watchHandler":0}],"localPath":[{"watchHandler":0}]}]]],["q-button_3",[[785,"q-button",{"variant":[1],"size":[1],"disabled":[516],"loading":[516],"type":[1],"expand":[516],"href":[1],"target":[1],"download":[1],"iconOnly":[516,"icon-only"],"autoIconOnly":[32]}],[769,"q-scrollable",{"height":[513],"maxHeight":[513,"max-height"],"autoHide":[516,"auto-hide"],"nativeOnMobile":[516,"native-on-mobile"],"mode":[513],"target":[513],"isScrolling":[32],"isDragging":[32],"scrollToBottom":[64],"scrollToPosition":[64]},null,{"mode":[{"handleModeOrTargetChange":0}],"target":[{"handleModeOrTargetChange":0}]}],[769,"q-tooltip",{"content":[1],"position":[1],"delay":[2],"visible":[32]}]]]], options);
|
|
19
|
+
return bootstrapLazy(JSON.parse("[[\"q-data-table\",[[769,\"q-data-table\",{\"columns\":[1],\"items\":[1],\"keyField\":[1,\"key-field\"],\"rowGroup\":[16],\"rowActions\":[1,\"row-actions\"],\"rowClickable\":[4,\"row-clickable\"],\"selectable\":[4],\"selectedKeys\":[1040],\"sortable\":[4],\"sortMode\":[1,\"sort-mode\"],\"sortColumn\":[1025,\"sort-column\"],\"sortDirection\":[1025,\"sort-direction\"],\"showToolbar\":[4,\"show-toolbar\"],\"toolbarTitle\":[1,\"toolbar-title\"],\"ariaLabel\":[1,\"aria-label\"],\"showSearch\":[4,\"show-search\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"searchValue\":[1025,\"search-value\"],\"loading\":[4]}]]],[\"q-syntax-box\",[[849,\"q-syntax-box\",{\"code\":[1025],\"value\":[1025],\"heading\":[1],\"ariaLabel\":[1,\"aria-label\"],\"variant\":[1],\"height\":[1],\"copyable\":[4],\"editable\":[516],\"name\":[513],\"required\":[516],\"language\":[1],\"disabled\":[516],\"copied\":[32],\"copyFailed\":[32],\"scrollToBottom\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"code\":[{\"watchCode\":0}],\"value\":[{\"watchValue\":0}],\"editable\":[{\"watchEditable\":0}]}]]],[\"q-map\",[[769,\"q-map\",{\"attribution\":[1],\"attributionUrl\":[1,\"attribution-url\"],\"markers\":[1],\"clusterMarkers\":[4,\"cluster-markers\"],\"clusterRadius\":[2,\"cluster-radius\"],\"clusterMinPoints\":[2,\"cluster-min-points\"],\"clusterMaxZoom\":[2,\"cluster-max-zoom\"],\"centerLatitude\":[2,\"center-latitude\"],\"centerLongitude\":[2,\"center-longitude\"],\"zoom\":[2],\"zoomControls\":[4,\"zoom-controls\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"maxBounds\":[1,\"max-bounds\"],\"maxBoundsViscosity\":[2,\"max-bounds-viscosity\"],\"selectedMarkerId\":[8,\"selected-marker-id\"],\"provider\":[1],\"tileUrl\":[1,\"tile-url\"],\"tilePreloadBuffer\":[2,\"tile-preload-buffer\"],\"rasterTileLoadingPolicy\":[1,\"raster-tile-loading-policy\"],\"vectorStyleUrl\":[1,\"vector-style-url\"],\"vectorPadding\":[2,\"vector-padding\"],\"googleApiKey\":[1,\"google-api-key\"],\"googleMapType\":[1,\"google-map-type\"],\"ariaLabel\":[1,\"aria-label\"],\"providerStatus\":[32],\"activeProvider\":[32],\"usingFallback\":[32],\"errorMessage\":[32],\"ensureMarkerVisible\":[64]},null,{\"provider\":[{\"handleBaseLayerChange\":0}],\"tileUrl\":[{\"handleBaseLayerChange\":0}],\"rasterTileLoadingPolicy\":[{\"handleBaseLayerChange\":0}],\"vectorStyleUrl\":[{\"handleBaseLayerChange\":0}],\"googleApiKey\":[{\"handleBaseLayerChange\":0}],\"googleMapType\":[{\"handleBaseLayerChange\":0}],\"tilePreloadBuffer\":[{\"handleTilePreloadBufferChange\":0}],\"vectorPadding\":[{\"handleVectorPaddingChange\":0}],\"markers\":[{\"handleMarkersChange\":0}],\"clusterMarkers\":[{\"handleMarkerClusteringChange\":0}],\"clusterRadius\":[{\"handleMarkerClusteringChange\":0}],\"clusterMinPoints\":[{\"handleMarkerClusteringChange\":0}],\"clusterMaxZoom\":[{\"handleMarkerClusteringChange\":0}],\"selectedMarkerId\":[{\"handleSelectedMarkerChange\":0}],\"centerLatitude\":[{\"handleViewChange\":0}],\"centerLongitude\":[{\"handleViewChange\":0}],\"zoom\":[{\"handleViewChange\":0}],\"minZoom\":[{\"handleZoomLimitsChange\":0}],\"maxZoom\":[{\"handleZoomLimitsChange\":0}],\"maxBounds\":[{\"handleBoundsChange\":0}],\"maxBoundsViscosity\":[{\"handleBoundsChange\":0}],\"zoomControls\":[{\"handleZoomControlsChange\":0}]}]]],[\"q-navbar\",[[769,\"q-navbar\",{\"brand\":[1],\"logoSrc\":[1,\"logo-src\"],\"logoAlt\":[1,\"logo-alt\"],\"brandHref\":[1,\"brand-href\"],\"items\":[1],\"activeValue\":[1,\"active-value\"],\"edge\":[513],\"sticky\":[516],\"compact\":[516],\"transparent\":[516],\"bordered\":[516],\"mobileMode\":[513,\"mobile-mode\"],\"mobileLabel\":[1,\"mobile-label\"],\"ariaLabel\":[1,\"aria-label\"],\"menuOpen\":[32],\"hasMobileContent\":[32]}]]],[\"q-radio-group\",[[593,\"q-radio-group\",{\"label\":[1],\"options\":[1],\"value\":[1025],\"size\":[513],\"orientation\":[513],\"disabled\":[516],\"required\":[516],\"error\":[513],\"errorMessage\":[1,\"error-message\"],\"name\":[513],\"ariaLabel\":[1,\"aria-label\"],\"focusElement\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"value\":[{\"watchValue\":0}],\"options\":[{\"watchConstraints\":0}],\"disabled\":[{\"watchConstraints\":0}],\"required\":[{\"watchConstraints\":0}],\"error\":[{\"watchConstraints\":0}],\"errorMessage\":[{\"watchConstraints\":0}]}]]],[\"q-sidepanel\",[[769,\"q-sidepanel\",{\"variant\":[513],\"open\":[1540],\"side\":[513],\"panelSize\":[1,\"panel-size\"],\"items\":[16],\"value\":[513],\"mode\":[1],\"expanded\":[4],\"accordion\":[4],\"collapsible\":[516],\"collapsed\":[1540],\"collapseControl\":[1,\"collapse-control\"],\"collapseControlAppearance\":[513,\"collapse-control-appearance\"],\"collapseControlPosition\":[1,\"collapse-control-position\"],\"collapseMode\":[513,\"collapse-mode\"],\"collapseLabel\":[1,\"collapse-label\"],\"ariaLabel\":[1,\"aria-label\"],\"isVisible\":[32],\"isAnimatedOpen\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"expandedGroups\":[32],\"normalizedItems\":[32]},[[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"open\":[{\"handleOpenChange\":0}],\"items\":[{\"handleItemsChange\":0}]}]]],[\"q-tabs\",[[513,\"q-tabs\",{\"items\":[1],\"value\":[1],\"orientation\":[513],\"size\":[1],\"variant\":[1],\"stretch\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-toast\",[[513,\"q-toast\",{\"position\":[513],\"maxVisible\":[2,\"max-visible\"],\"visibleToasts\":[32],\"announcementText\":[32],\"info\":[64],\"success\":[64],\"warning\":[64],\"danger\":[64],\"error\":[64],\"dismiss\":[64],\"clear\":[64]},null,{\"maxVisible\":[{\"handleMaxVisibleChange\":0}]}]]],[\"q-avatar\",[[769,\"q-avatar\",{\"src\":[1],\"name\":[1],\"initials\":[1],\"alt\":[1],\"size\":[8],\"shape\":[513],\"loading\":[1],\"imageFailed\":[32]},null,{\"src\":[{\"handleSourceChange\":0}]}]]],[\"q-card\",[[769,\"q-card\",{\"elevation\":[520],\"glass\":[516],\"lift\":[516],\"interactive\":[516],\"hasHeader\":[32]}]]],[\"q-carousel\",[[769,\"q-carousel\",{\"snapAlignment\":[513,\"snap-alignment\"],\"itemWidth\":[513,\"item-width\"],\"showArrows\":[516,\"show-arrows\"],\"showIndicators\":[516,\"show-indicators\"],\"repeat\":[516],\"activeIndex\":[32],\"maxIndex\":[32],\"isScrollable\":[32],\"isAtStart\":[32],\"isAtEnd\":[32],\"slideTo\":[64],\"updateLimits\":[64]}]]],[\"q-chip\",[[785,\"q-chip\",{\"label\":[1],\"disabled\":[516],\"href\":[1],\"rel\":[1],\"download\":[1],\"value\":[1],\"variant\":[513],\"size\":[513],\"clickable\":[516],\"removable\":[516],\"selected\":[516],\"target\":[1]}]]],[\"q-conversation-bubble\",[[769,\"q-conversation-bubble\",{\"variant\":[513],\"sender\":[1],\"timestamp\":[1],\"ariaLabel\":[1,\"aria-label\"],\"compact\":[516],\"hasAvatar\":[32],\"hasMeta\":[32],\"hasActions\":[32]}]]],[\"q-dialog\",[[769,\"q-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"ariaLabel\":[1,\"aria-label\"],\"message\":[1],\"backdropEffect\":[513,\"backdrop-effect\"],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"showCancel\":[4,\"show-cancel\"],\"cancelLabel\":[1,\"cancel-label\"],\"showConfirm\":[4,\"show-confirm\"],\"confirmLabel\":[1,\"confirm-label\"],\"loading\":[4],\"open\":[1540],\"closeLabel\":[1,\"close-label\"],\"isVisible\":[32],\"isAnimatedOpen\":[32],\"show\":[64],\"close\":[64],\"confirm\":[64],\"cancel\":[64]},[[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"open\":[{\"handleOpenChange\":0}]}]]],[\"q-dropdown\",[[849,\"q-dropdown\",{\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"placeholder\":[1],\"options\":[1],\"value\":[1025],\"size\":[513],\"searchable\":[4],\"externalSearch\":[4,\"external-search\"],\"hasMore\":[4,\"has-more\"],\"loading\":[4],\"placement\":[1],\"collisionPadding\":[2,\"collision-padding\"],\"disabled\":[516],\"name\":[513],\"isOpen\":[32],\"focusedIndex\":[32],\"searchTerm\":[32],\"visibleCount\":[32],\"isScrollingLoading\":[32]},[[8,\"click\",\"handleClickOutside\"]],{\"value\":[{\"watchValue\":0}],\"options\":[{\"watchOptions\":0}],\"loading\":[{\"watchLoading\":0}]}]]],[\"q-form\",[[769,\"q-form\",{\"label\":[1],\"preventDefault\":[4,\"prevent-default\"],\"enterBehavior\":[1,\"enter-behavior\"],\"noValidate\":[4,\"no-validate\"],\"action\":[1],\"method\":[1],\"autocomplete\":[1],\"enctype\":[1],\"target\":[1],\"hasHeaderSlot\":[32],\"hasActionsSlot\":[32],\"getValues\":[64],\"setValues\":[64],\"resetForm\":[64],\"submitForm\":[64]},[[0,\"click\",\"handleComposedClick\"],[0,\"qClick\",\"handleButtonClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"q-link\",[[769,\"q-link\",{\"label\":[1],\"disabled\":[516],\"href\":[1],\"rel\":[1],\"download\":[1],\"variant\":[513],\"underline\":[513],\"url\":[1],\"mailto\":[1],\"tel\":[1],\"target\":[1],\"external\":[516]}]]],[\"q-pagination\",[[513,\"q-pagination\",{\"showSummary\":[4,\"show-summary\"],\"itemLabel\":[1,\"item-label\"],\"page\":[2],\"pageSize\":[2,\"page-size\"],\"totalItems\":[2,\"total-items\"],\"disabled\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-panel\",[[769,\"q-panel\",{\"variant\":[513],\"noBorders\":[516,\"no-borders\"],\"padding\":[513],\"fullHeight\":[516,\"full-height\"],\"scrollable\":[516],\"stickyHeader\":[516,\"sticky-header\"],\"stickyFooter\":[516,\"sticky-footer\"],\"ariaLabel\":[1,\"aria-label\"],\"hasHeader\":[32],\"hasFooter\":[32]}]]],[\"q-quantity-selector\",[[513,\"q-quantity-selector\",{\"value\":[1026],\"min\":[2],\"max\":[2],\"step\":[2],\"variant\":[513],\"inputValue\":[32]},null,{\"value\":[{\"watchValue\":0}]}]]],[\"q-reel\",[[769,\"q-reel\",{\"layout\":[1],\"lightbox\":[4],\"activeMedia\":[32]},[[0,\"qMaximize\",\"handleThumbnailMaximize\"],[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"lightbox\":[{\"handleLightboxChange\":0}]}]]],[\"q-step-diagram\",[[769,\"q-step-diagram\",{\"layout\":[513],\"ariaLabel\":[1,\"aria-label\"]},null,{\"layout\":[{\"handleLayoutChange\":0}]}]]],[\"q-step-diagram-item\",[[769,\"q-step-diagram-item\",{\"lineStyle\":[513,\"line-style\"],\"layout\":[1537],\"status\":[513]}]]],[\"q-textarea\",[[593,\"q-textarea\",{\"value\":[1025],\"placeholder\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"rows\":[2],\"autoGrow\":[4,\"auto-grow\"],\"resizeMode\":[1,\"resize-mode\"],\"disabled\":[516],\"required\":[516],\"error\":[513],\"errorMessage\":[1,\"error-message\"],\"name\":[513],\"focusElement\":[64],\"adjustHeight\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"value\":[{\"watchValue\":0}],\"resizeMode\":[{\"handleResizeModeChange\":0}],\"autoGrow\":[{\"handleResizeModeChange\":0}]}]]],[\"q-thumbnail\",[[769,\"q-thumbnail\",{\"src\":[1],\"video\":[516],\"label\":[1],\"alt\":[1],\"highlighted\":[516]}]]],[\"q-toggle\",[[833,\"q-toggle\",{\"label\":[1],\"size\":[1],\"type\":[1],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1],\"name\":[513],\"hasDefaultSlot\":[32],\"toggle\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"checked\":[{\"watchChecked\":0}]}]]],[\"q-toolbar\",[[769,\"q-toolbar\",{\"edge\":[513],\"sticky\":[516],\"compact\":[516],\"transparent\":[516],\"bordered\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-alert\",[[769,\"q-alert\",{\"heading\":[1],\"variant\":[513],\"dismissible\":[4],\"dismissLabel\":[1,\"dismiss-label\"],\"announcement\":[1],\"hasIcon\":[32],\"hasActions\":[32]}]]],[\"q-scrollable\",[[769,\"q-scrollable\",{\"height\":[513],\"maxHeight\":[513,\"max-height\"],\"mode\":[513],\"target\":[513],\"nativeOnMobile\":[516,\"native-on-mobile\"],\"autoHide\":[516,\"auto-hide\"],\"isScrolling\":[32],\"isDragging\":[32],\"scrollValueNow\":[32],\"scrollValueMax\":[32],\"scrollToBottom\":[64],\"scrollToPosition\":[64]},null,{\"mode\":[{\"handleModeOrTargetChange\":0}],\"target\":[{\"handleModeOrTargetChange\":0}]}]]],[\"q-input_2\",[[849,\"q-input\",{\"value\":[1025],\"placeholder\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"size\":[1],\"clearable\":[4],\"disabled\":[516],\"required\":[516],\"error\":[513],\"errorMessage\":[1,\"error-message\"],\"name\":[513],\"type\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"hasPrefix\":[32],\"hasSuffix\":[32],\"passwordVisible\":[32],\"focusElement\":[64],\"clearValue\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"value\":[{\"watchValue\":0}]}],[513,\"q-progress\",{\"value\":[2],\"label\":[1],\"indeterminate\":[516],\"ariaValueText\":[1,\"aria-valuetext\"],\"variant\":[513],\"size\":[520],\"tone\":[513],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-icon\",[[513,\"q-icon\",{\"name\":[1],\"definition\":[16],\"lib\":[1],\"localPath\":[1,\"local-path\"],\"libVersion\":[1,\"lib-version\"],\"fetchTimeout\":[2,\"fetch-timeout\"],\"size\":[8],\"color\":[1],\"label\":[1],\"svgContent\":[32],\"isBinary\":[32],\"resolvedUrl\":[32],\"hasError\":[32],\"resolvedDefinition\":[32]},null,{\"name\":[{\"watchHandler\":0}],\"definition\":[{\"watchHandler\":0}],\"lib\":[{\"watchHandler\":0}],\"localPath\":[{\"watchHandler\":0}],\"libVersion\":[{\"watchHandler\":0}]}]]],[\"q-button_2\",[[785,\"q-button\",{\"disabled\":[516],\"href\":[1],\"rel\":[1],\"download\":[1],\"icon\":[1],\"iconOnly\":[516,\"icon-only\"],\"ariaLabel\":[1,\"aria-label\"],\"variant\":[1],\"size\":[1],\"shape\":[513],\"layout\":[513],\"expand\":[516],\"loading\":[516],\"target\":[1],\"type\":[1],\"autoIconOnly\":[32]},null,{\"icon\":[{\"handleIconAccessibilityChange\":0}],\"iconOnly\":[{\"handleIconAccessibilityChange\":0}],\"ariaLabel\":[{\"handleIconAccessibilityChange\":0}]}],[769,\"q-tooltip\",{\"content\":[1],\"position\":[513],\"delay\":[2],\"visible\":[32]}]]]]"), options);
|
|
20
20
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="24"
|
|
4
|
-
height="24"
|
|
5
|
-
viewBox="0 0 24 24"
|
|
6
|
-
fill="none"
|
|
7
|
-
stroke="currentColor"
|
|
8
|
-
stroke-width="2"
|
|
9
|
-
stroke-linecap="round"
|
|
10
|
-
stroke-linejoin="round"
|
|
11
|
-
>
|
|
12
|
-
<path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/>
|
|
13
|
-
<path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/>
|
|
14
|
-
</svg>
|
|
1
|
+
<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="24"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
fill="none"
|
|
7
|
+
stroke="currentColor"
|
|
8
|
+
stroke-width="2"
|
|
9
|
+
stroke-linecap="round"
|
|
10
|
+
stroke-linejoin="round"
|
|
11
|
+
>
|
|
12
|
+
<path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/>
|
|
13
|
+
<path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/>
|
|
14
|
+
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
-
<rect width="14" height="14" x="8" y="8" rx="2" ry="2"/>
|
|
3
|
-
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<rect width="14" height="14" x="8" y="8" rx="2" ry="2"/>
|
|
3
|
+
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>
|
|
4
|
+
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5v14"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5v14"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-trash-2"><path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-trash-2"><path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{f as format}from"./p-BJiYCN3i.js";
|
|
1
|
+
export{f as format}from"./p-BJiYCN3i.js";export{i as identifyItems,r as reconcileByIdentity}from"./p-CGZPmEUB.js";export{Q as Q_MAP_DEFAULT_CLUSTER_GROUP,a as Q_MAP_MARKER_CALLOUT_PLACEMENTS,b as Q_MAP_MARKER_CALLOUT_STAT_LAYOUTS,c as Q_MAP_MARKER_CALLOUT_VISIBILITIES,d as Q_MAP_MARKER_KINDS,e as Q_MAP_MARKER_RINGS,f as Q_MAP_MARKER_SIZES,g as Q_MAP_MARKER_VARIANTS,h as Q_MAP_RASTER_TILE_LOADING_POLICIES}from"./p-WJHaLJS_.js";export{g as getDataTableCellSlotName,a as getDataTableCellValue,b as getDataTableItemKey}from"./p-DmqVhVoj.js";export{c as configureQIcons,r as registerQIcons}from"./p-BvBRW3dl.js";export{t as toast}from"./p-BIIQL66b.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,a as e,h as t}from"./p-DweBlExe.js";const n=class{constructor(e){a(this,e)}get el(){return e(this)}variant="incoming";sender;timestamp;ariaLabel=null;compact=!1;hasAvatar=!1;hasMeta=!1;hasActions=!1;componentWillLoad(){this.hasAvatar=null!==this.el.querySelector('[slot="avatar"]'),this.hasMeta=null!==this.el.querySelector('[slot="meta"]'),this.hasActions=null!==this.el.querySelector('[slot="actions"]')}handleSlotChange=a=>{const e=a.target,t=e.assignedNodes({flatten:!0}).some((a=>a.nodeType===Node.ELEMENT_NODE||Boolean(a.textContent?.trim())));"avatar"===e.name&&(this.hasAvatar=t),"meta"===e.name&&(this.hasMeta=t),"actions"===e.name&&(this.hasActions=t)};get accessibleName(){const a=this.ariaLabel?.trim();if(a)return a;const e=this.sender?.trim(),t=this.timestamp?.trim();return e&&t?`Message from ${e}, ${t}`:e?`Message from ${e}`:t?`Message, ${t}`:"system"===this.variant?"System message":"Message"}render(){const a=this.sender?.trim(),e=this.timestamp?.trim(),n=Boolean(e||this.hasMeta||this.hasActions);return t("article",{key:"d25b445816c7d0298eeb962b90b262b9ec6ea8d2",class:{conversation:!0,[`variant-${this.variant}`]:!0,"is-compact":this.compact,"has-avatar":this.hasAvatar},part:"container",role:"group","aria-label":this.accessibleName},t("div",{key:"68830d9decaed97d0c79336966c8f4de04fba714",class:"avatar",part:"avatar","aria-hidden":this.hasAvatar&&"system"!==this.variant?void 0:"true"},t("slot",{key:"5353119702bf9d2cb79ca6d5ed94f0fdfd4a3759",name:"avatar",onSlotchange:this.handleSlotChange})),t("div",{key:"a96b7119dfa92e9479e2d348f9bcae62710f854c",class:"content",part:"content"},a&&t("header",{key:"055116b9098a8226d0b71df46e574a34fb959e6a",class:"header",part:"header"},t("span",{key:"d88648c2570f7b51f2476fc1af13cbddc497a76e",class:"sender",part:"sender"},a)),t("div",{key:"bcfd39b192a1eb4165a293dfdd709568a2a976df",class:"bubble",part:"bubble"},t("div",{key:"c307088893dbe70fe959e17fabbbcb01638fa9ba",class:"body",part:"body"},t("slot",{key:"3e935f38d89b8bbcdb4280673fb3ab4c9f2010ec"})),t("footer",{key:"f73b629378290acdaef84bc0de4428e1d5943af4",class:{footer:!0,"has-content":n},part:"footer"},t("div",{key:"007b009a4f4fdd5a9c87f96511cd099f052f28ac",class:"message-meta"},e&&t("time",{key:"1aed9455f116a823cb5b5dc61038ca53158c343d",class:"timestamp",part:"timestamp"},e),t("span",{key:"1c09f634932ae73d30da2fe7c844418aae89caab",class:{meta:!0,"has-content":this.hasMeta},part:"meta"},t("slot",{key:"fca210d2090f8245631eac378a15be87285e597e",name:"meta",onSlotchange:this.handleSlotChange}))),t("span",{key:"7c9230bc65fcbf1e1bc6d4e5b013f5879636f470",class:{actions:!0,"has-content":this.hasActions},part:"actions"},t("slot",{key:"3baa4f962be639866ea542fb69e5a07482194e6c",name:"actions",onSlotchange:this.handleSlotChange}))))))}};n.style=":host{display:block;min-width:0;box-sizing:border-box;color:var(--q-conversation-fg, var(--q-fg-base, #f9fafb));font-family:var(--q-font-family, inherit)}.conversation{display:flex;align-items:flex-end;gap:var(--q-conversation-gap, 10px);width:100%;min-width:0;box-sizing:border-box}.avatar{display:none;flex:0 0 auto}.has-avatar .avatar{display:block}.content{display:flex;flex:0 1 auto;flex-direction:column;align-items:flex-start;min-width:0;max-width:var(--q-conversation-max-width, min(76ch, 82%))}.header{margin:0 0 var(--q-conversation-header-gap, 4px);padding-inline:var(--q-conversation-header-inset, 4px)}.sender{color:var(--q-conversation-sender-fg, var(--q-fg-muted, #9ca3af));font-size:var(--q-conversation-meta-size, var(--q-font-size-sm, 0.7rem));font-weight:var(--q-font-weight-bold, 600);line-height:1.3}.bubble{min-width:0;padding:var(--q-conversation-padding, 11px 13px);border:var(--q-conversation-border, var(--q-border, 1px solid var(--q-border-color, #374151)));border-radius:var(--q-conversation-radius, var(--q-radius-lg, 11px));background:var(--q-conversation-incoming-bg, var(--q-bg-surface-2, #19243b));box-shadow:var(--q-conversation-shadow, var(--q-shadow-low, 0 2px 4px rgba(0, 0, 0, 0.2)))}.body{min-width:0;overflow-wrap:anywhere;font-size:var(--q-conversation-font-size, var(--q-font-size-base, 0.9rem));line-height:var(--q-conversation-line-height, 1.55);white-space:pre-wrap}.footer{display:none;align-items:center;justify-content:space-between;gap:var(--q-conversation-footer-gap, 10px);margin-top:var(--q-conversation-footer-margin, 6px);color:var(--q-conversation-meta-fg, var(--q-fg-muted, #9ca3af));font-size:var(--q-conversation-meta-size, var(--q-font-size-sm, 0.7rem));line-height:1.3}.footer.has-content{display:flex}.message-meta,.actions.has-content{display:inline-flex;align-items:center;gap:var(--q-conversation-meta-gap, 6px)}.meta,.actions{display:none}.meta.has-content,.actions.has-content{display:inline-flex}.variant-outgoing{flex-direction:row-reverse}.variant-outgoing .content{align-items:flex-end;margin-inline-start:auto}.variant-outgoing .bubble{color:var(--q-conversation-outgoing-fg, #ffffff);border-color:var(--q-conversation-outgoing-border, transparent);background:var(--q-conversation-outgoing-bg, var(--q-color-primary, #60a5fa))}.variant-outgoing .footer{color:var(--q-conversation-outgoing-meta-fg, rgba(255, 255, 255, 0.76))}.variant-system{justify-content:center}.variant-system .avatar,.variant-system .header{display:none}.variant-system .content{align-items:center;max-width:var(--q-conversation-system-max-width, min(80ch, 94%))}.variant-system .bubble{color:var(--q-conversation-system-fg, var(--q-fg-muted, #9ca3af));border-color:var(--q-conversation-system-border, transparent);background:var(--q-conversation-system-bg, transparent);box-shadow:none;text-align:center}.is-compact .bubble{padding:var(--q-conversation-compact-padding, 7px 10px)}.is-compact .header{margin-bottom:2px}@media (max-width: 600px){.content{max-width:var(--q-conversation-mobile-max-width, 88%)}.has-avatar .content{max-width:var(--q-conversation-mobile-avatar-max-width, calc(100% - 42px))}}";export{n as q_conversation_bubble}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,a as r,h as e}from"./p-DweBlExe.js";import{g as o}from"./p-ByfrUWx1.js";const i=class{constructor(r){a(this,r)}get el(){return r(this)}elevation="medium";glass=!1;lift=!1;interactive=!1;hasHeader=!1;checkHeaderSlot=()=>{const a=this.el.shadowRoot?.querySelector(".card-header");if(a){const r=o(a);this.hasHeader=r.length>0}else this.hasHeader=!1};componentDidLoad(){this.checkHeaderSlot()}handleKeyDown=a=>{this.interactive&&a.target===a.currentTarget&&function(a){return"Enter"===a||" "===a}(a.key)&&(a.preventDefault(),a.currentTarget.click())};render(){const a=1===(r=this.elevation)?"low":2===r?"medium":3===r?"high":r;var r;return e("div",{key:"d62ed3a68c56f6858a22e6704decde705fb658e4",class:{"card-container":!0,[`elevation-${a}`]:!0,"is-interactive":this.interactive,"is-glass":this.glass,"has-lift":this.lift},tabindex:this.interactive?0:void 0,role:this.interactive?"button":void 0,onKeyDown:this.interactive?this.handleKeyDown:void 0},e("div",{key:"bb0c57733ac53b8e7118d7384b2f784a7edfb328",class:{"card-header":!0,"is-hidden":!this.hasHeader},part:"header"},e("slot",{key:"ac582ddceadbff40d250dbc15ecdc29c1a0f970f",name:"header",onSlotchange:this.checkHeaderSlot})),e("div",{key:"ed47b73b524f782ec16f02281b1484bdf4ae73ba",class:"card-body",part:"body"},e("slot",{key:"ffbe8cc195cc6e9b1b85a6bfd213928cf225217a"})))}};i.style=":host{display:block;min-width:var(--q-card-min-width, 280px);box-sizing:border-box;position:relative;z-index:1;transition:transform var(--q-card-transition-duration, 250ms ease)}:host([interactive]:hover),:host([interactive]:focus-within),:host([lift]:hover),:host([lift]:focus-within){transform:var(--q-card-hover-transform, translateY(-4px) scale(1.02));z-index:5}:host([interactive]:active){transform:scale(0.99)}.card-container{display:flex;flex-direction:column;height:100%;border-radius:var(--q-radius-lg, 11px);padding:var(--q-padding-lg, 16px);border:var(--q-card-border, 1px solid var(--q-border-color, #374151));box-sizing:border-box;background:#1f2937;background:var(--q-bg-card, var(--q-bg-surface-1, #1f2937));transition:border-color var(--q-card-transition-duration, 250ms ease), box-shadow var(--q-card-transition-duration, 250ms ease), opacity var(--q-card-transition-duration, 250ms ease)}.card-container.is-glass{background:rgba(25, 36, 59, 0.85);background:var(--q-bg-glass, rgba(25, 36, 59, 0.85))}.elevation-low{box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);box-shadow:var(--q-shadow-low, 0 2px 4px rgba(0, 0, 0, 0.2))}.elevation-medium{box-shadow:0 8px 16px rgba(0, 0, 0, 0.3);box-shadow:var(--q-shadow-medium, 0 8px 16px rgba(0, 0, 0, 0.3))}.elevation-high{box-shadow:0 16px 32px rgba(0, 0, 0, 0.45);box-shadow:var(--q-shadow-high, 0 16px 32px rgba(0, 0, 0, 0.45))}:host([interactive]:hover) .card-container,:host([interactive]:focus-within) .card-container{box-shadow:var(--q-shadow-high, 0 16px 32px rgba(0, 0, 0, 0.45)), var(--q-glow-interactive, 0 0 20px rgba(96, 165, 250, 0.3));border-color:#60a5fa;border-color:var(--q-color-primary, #60a5fa);outline:none;cursor:pointer}.card-header{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-lg, 1rem);font-weight:var(--q-font-weight-bold, 600);line-height:1.4;margin-bottom:var(--q-padding-sm, 4px)}.card-header.is-hidden{display:none}.card-body{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);line-height:1.5}";export{i as q_card}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e}from"./p-DweBlExe.js";function n(t){return null!=t}function r(t,i=0){return Number.isFinite(t)?t:i}function a(t,i){let e=t;return n(i.min)&&(e=Math.max(i.min,e)),n(i.max)&&(e=Math.min(i.max,e)),e}function o(t,i,e,n){return a(r(t)+i*e,n)}function s(t){const i=parseFloat(t);return Number.isNaN(i)?void 0:i}const h=class{constructor(e){t(this,e),this.qChange=i(this,"qChange"),this.qFocus=i(this,"qFocus"),this.qBlur=i(this,"qBlur"),this.qClick=i(this,"qClick")}value=0;min;max;step=1;variant="horizontal";qChange;qFocus;qBlur;qClick;inputValue="0";watchValue(t){t!==parseFloat(this.inputValue)&&(this.inputValue=Number.isFinite(t)?String(t):"0")}componentWillLoad(){this.inputValue=Number.isFinite(this.value)?String(this.value):"0"}getCalculatedWidth(){var t,i;return`calc(${t=this.value,n((i={min:this.min,max:this.max}).min)||n(i.max)?Math.max(3,i.min?.toString().length??0,i.max?.toString().length??0):Math.max(3,t?.toString().length??0)} * var(--q-quantity-selector-char-width, 1ch) + var(--q-quantity-selector-input-padding, 16px))`}increment=()=>{const t=o(this.value,this.step,1,{min:this.min,max:this.max});this.value=t,this.inputValue=String(t),this.qChange.emit(this.value)};decrement=()=>{const t=o(this.value,this.step,-1,{min:this.min,max:this.max});this.value=t,this.inputValue=String(t),this.qChange.emit(this.value)};handleInput=t=>{const i=t.target,e=function(t){let i=t.replace(/[^0-9.-]/g,"");i=i.startsWith("-")?"-"+i.slice(1).replace(/-/g,""):i.replace(/-/g,"");const e=i.split(".");return e.length>2&&(i=e[0]+"."+e.slice(1).join("")),i}(i.value);i.value=e,this.inputValue=e;const r=s(e);void 0!==r&&function(t,i){const e=!n(i.min)||t>=i.min,r=!n(i.max)||t<=i.max;return e&&r}(r,{min:this.min,max:this.max})&&this.value!==r&&(this.value=r,this.qChange.emit(this.value))};handleBlur=t=>{this.reconcileValue(),this.qBlur.emit(t)};handleFocus=t=>{this.qFocus.emit(t)};handleClick=t=>{this.qClick.emit(t)};handleChange=()=>{this.reconcileValue()};handleKeyDown=t=>{"ArrowUp"===t.key?(t.preventDefault(),this.increment()):"ArrowDown"===t.key?(t.preventDefault(),this.decrement()):"Home"===t.key&&n(this.min)?(t.preventDefault(),this.value=a(this.min,{min:this.min,max:this.max}),this.inputValue=String(this.value),this.qChange.emit(this.value)):"End"===t.key&&n(this.max)&&(t.preventDefault(),this.value=a(this.max,{min:this.min,max:this.max}),this.inputValue=String(this.value),this.qChange.emit(this.value))};reconcileValue(){const t=function(t,i){let e=s(t);return void 0===e&&(e=n(i.min)?i.min:n(i.max)?Math.min(0,i.max):0),a(e,i)}(this.inputValue,{min:this.min,max:this.max});this.inputValue=String(t),this.value!==t&&(this.value=t,this.qChange.emit(this.value))}render(){const t=r(this.value),i=Number.isFinite(this.value),a=i&&n(this.min)&&t<=this.min,o=i&&n(this.max)&&t>=this.max,s=e("button",{key:"a4871c4c925608d1681246b4b63f7585d3321758",type:"button",class:"quantity-btn quantity-btn-decrement",onClick:this.decrement,disabled:a,"aria-label":"Decrement quantity"},e("svg",{key:"f82b97c781dc1d756fc939ae45a9c0805267bd18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"btn-icon","aria-hidden":"true"},e("line",{key:"170ff6bd9592687baa4c561615f540ad1c7400e4",x1:"5",y1:"12",x2:"19",y2:"12"}))),h=e("button",{key:"4d2d5b6833de797e8e0a157b85901999fb066b11",type:"button",class:"quantity-btn quantity-btn-increment",onClick:this.increment,disabled:o,"aria-label":"Increment quantity"},e("svg",{key:"716c5dbff6b6b774b1df0430837b438efc6e26fa",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"btn-icon","aria-hidden":"true"},e("line",{key:"8ffa844072e376651bd583a7cd1bf1030a57825f",x1:"12",y1:"5",x2:"12",y2:"19"}),e("line",{key:"d3cd8317a8fca18d718abbc87588abece06fd38a",x1:"5",y1:"12",x2:"19",y2:"12"}))),c="horizontal"===this.variant?this.getCalculatedWidth():"100%";return e("div",{key:"8ef065bc31eda45bd9c7b347387d51bb85d70860",class:{"quantity-selector":!0,[`variant-${this.variant}`]:!0},onClick:this.handleClick},"vertical"===this.variant?h:s,e("input",{key:"cdaa539f5694171230e184d073eaf8af6d0a891b",type:"text",class:"quantity-input",value:this.inputValue,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus,onChange:this.handleChange,onKeyDown:this.handleKeyDown,role:"spinbutton","aria-valuenow":i?String(this.value):void 0,"aria-valuemin":n(this.min)?String(this.min):void 0,"aria-valuemax":n(this.max)?String(this.max):void 0,"aria-label":"Quantity",style:{width:c},part:"input"}),"vertical"===this.variant?s:h)}static get watchers(){return{value:[{watchValue:0}]}}};h.style=":host{--q-quantity-selector-height:38px;--q-quantity-selector-width-vertical:50px;--q-quantity-selector-bg:var(--q-bg-surface-2, #374151);--q-quantity-selector-border-color:var(--q-border-color, #4b5563);--q-quantity-selector-radius:var(--q-radius-md, 8px);--q-quantity-selector-input-bg:var(--q-bg-base, #111827);--q-quantity-selector-input-fg:var(--q-fg-base, #f9fafb);--q-quantity-selector-btn-bg:transparent;--q-quantity-selector-btn-bg-hover:var(--q-bg-surface-3, #4b5563);--q-quantity-selector-btn-fg:var(--q-fg-muted, #9ca3af);--q-quantity-selector-btn-fg-hover:var(--q-fg-base, #f9fafb);--q-quantity-selector-char-width:1ch;--q-quantity-selector-input-padding:16px;display:inline-block;box-sizing:border-box}.quantity-selector{display:inline-flex;border:1px solid var(--q-quantity-selector-border-color);border-radius:var(--q-quantity-selector-radius);background:var(--q-quantity-selector-bg);box-sizing:border-box;overflow:hidden}.quantity-selector.variant-horizontal{flex-direction:row;align-items:center;height:var(--q-quantity-selector-height)}.quantity-selector.variant-vertical{flex-direction:column;align-items:center;width:var(--q-quantity-selector-width-vertical)}.quantity-input{border:none;background:var(--q-quantity-selector-input-bg);color:var(--q-quantity-selector-input-fg);text-align:center;font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);margin:0;box-sizing:border-box;outline:none}.variant-horizontal .quantity-input{height:100%}.variant-vertical .quantity-input{width:100%;padding:var(--q-padding-sm, 4px) 0}.quantity-btn{display:flex;align-items:center;justify-content:center;border:none;background:var(--q-quantity-selector-btn-bg);color:var(--q-quantity-selector-btn-fg);cursor:pointer;padding:0;margin:0;box-sizing:border-box;transition:background-color var(--q-transition-fast, 150ms ease), color var(--q-transition-fast, 150ms ease)}.quantity-btn:hover:not(:disabled){background:var(--q-quantity-selector-btn-bg-hover);color:var(--q-quantity-selector-btn-fg-hover)}.quantity-btn:disabled{opacity:0.4;cursor:not-allowed}.variant-horizontal .quantity-btn{width:var(--q-quantity-selector-height);height:100%}.variant-horizontal .quantity-btn-decrement{border-right:1px solid var(--q-quantity-selector-border-color)}.variant-horizontal .quantity-btn-increment{border-left:1px solid var(--q-quantity-selector-border-color)}.variant-vertical .quantity-btn{width:100%;height:var(--q-quantity-selector-height)}.variant-vertical .quantity-btn-increment{border-bottom:1px solid var(--q-quantity-selector-border-color)}.variant-vertical .quantity-btn-decrement{border-top:1px solid var(--q-quantity-selector-border-color)}.btn-icon{width:16px;height:16px}";export{h as q_quantity_selector}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t}from"./p-BeeM-7Ku.js";function e(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(n){if("default"!==n&&!(n in t)){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}))})),Object.freeze(t)}function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var r=t(),u=e({__proto__:null,default:n(r)},[r]);export{r as a,u as l}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,c as r,a as e,h as t}from"./p-DweBlExe.js";const i=class{constructor(e){a(this,e),this.qLoad=r(this,"qLoad"),this.qError=r(this,"qError")}get el(){return e(this)}src;name;initials;alt;size="md";shape="circle";loading="lazy";qLoad;qError;imageFailed=!1;handleSourceChange(){this.imageFailed=!1}componentWillRender(){this.syncHostSize()}get accessibleName(){return void 0!==this.alt?this.alt.trim()||void 0:this.name?.trim()||void 0}get fallbackText(){const a=this.initials?.trim();if(a)return Array.from(a).slice(0,2).join("").toUpperCase();const r=this.name?.trim().split(/\s+/).filter(Boolean)??[];return 0===r.length?"?":1===r.length?Array.from(r[0]).slice(0,2).join("").toUpperCase():`${Array.from(r[0])[0]??""}${Array.from(r[r.length-1])[0]??""}`.toUpperCase()}get shouldRenderImage(){return Boolean(this.src?.trim())&&!this.imageFailed}syncHostSize(){if("number"==typeof this.size){const a=Number.isFinite(this.size)&&this.size>0?`${this.size}px`:"";return void this.el.style.setProperty("--q-avatar-resolved-size",a)}const a=String(this.size).trim();a&&!["sm","md","lg"].includes(a)?this.el.style.setProperty("--q-avatar-resolved-size",a):this.el.style.removeProperty("--q-avatar-resolved-size")}handleImageLoad=()=>{this.qLoad.emit()};handleImageError=()=>{this.imageFailed=!0,this.qError.emit()};render(){const a=this.accessibleName,r="string"==typeof this.size&&["sm","md","lg"].includes(this.size)?this.size:"custom";return t("div",{key:"9a3b53c140e794e1f9d9bf0b864f85e7852a37c5",class:{avatar:!0,[`size-${r}`]:!0,[`shape-${this.shape}`]:!0,"has-image":this.shouldRenderImage},part:"container",role:a?"img":void 0,"aria-label":a,"aria-hidden":a?void 0:"true"},this.shouldRenderImage?t("img",{class:"avatar-image",part:"image",src:this.src,alt:"","aria-hidden":"true",loading:this.loading,referrerPolicy:"no-referrer",onLoad:this.handleImageLoad,onError:this.handleImageError}):t("span",{class:"avatar-fallback",part:"fallback","aria-hidden":"true"},t("slot",{name:"fallback"},this.fallbackText)))}static get watchers(){return{src:[{handleSourceChange:0}]}}};i.style=":host{display:inline-flex;flex:0 0 auto;box-sizing:border-box;vertical-align:middle}.avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--q-avatar-resolved-size, var(--q-avatar-size-md, 40px));height:var(--q-avatar-resolved-size, var(--q-avatar-size-md, 40px));box-sizing:border-box;overflow:hidden;color:var(--q-avatar-fg, var(--q-fg-base, #f9fafb));border:var(--q-avatar-border, var(--q-border, 1px solid var(--q-border-color, #374151)));background:var(--q-avatar-bg, var(--q-bg-surface-3, #22304d));font-family:var(--q-font-family, inherit);font-size:var(--q-avatar-font-size, 0.8rem);font-weight:var(--q-avatar-font-weight, var(--q-font-weight-bold, 600));line-height:1;user-select:none}.size-sm{width:var(--q-avatar-size-sm, 28px);height:var(--q-avatar-size-sm, 28px);font-size:var(--q-avatar-font-size-sm, 0.65rem)}.size-lg{width:var(--q-avatar-size-lg, 56px);height:var(--q-avatar-size-lg, 56px);font-size:var(--q-avatar-font-size-lg, 1rem)}.size-custom{width:var(--q-avatar-resolved-size, var(--q-avatar-size-md, 40px));height:var(--q-avatar-resolved-size, var(--q-avatar-size-md, 40px))}.shape-circle{border-radius:50%}.shape-rounded{border-radius:var(--q-avatar-radius, var(--q-radius-md, 7px))}.shape-square{border-radius:0}.avatar-image{display:block;width:100%;height:100%;object-fit:cover}.avatar-fallback{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;letter-spacing:0.02em;text-transform:uppercase}";export{i as q_avatar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,c as t,a as r,h as e}from"./p-DweBlExe.js";import{i}from"./p-CGZPmEUB.js";import{s}from"./p-BJiYCN3i.js";function o(a){return a.tabId?.trim()||a.value}function b(a,t,r,e){const i=t.tabId?.trim();return i&&!e?i:`${a}-tab-${s=r,Array.from(s,(a=>a.codePointAt(0).toString(16))).join("-")}`;var s}let n=0;const l=class{constructor(r){a(this,r),this.qChange=t(this,"qChange")}get el(){return r(this)}items=[];value="";orientation="horizontal";size="md";variant="underline";stretch=!1;ariaLabel="Sections";qChange;instanceId="q-tabs-"+ ++n;get parsedItems(){return s(this.items,[],"QTabs").flatMap((a=>{if("string"==typeof a){const t=a.trim();return t?[{label:t,value:t}]:[]}if(a&&"object"==typeof a&&"string"==typeof a.label&&"string"==typeof a.value){const t=a.label.trim(),r=a.value.trim();return t&&r?[{...a,label:t,value:r}]:[]}return[]}))}getActiveIndex(a){const t=a.findIndex((a=>!a.disabled&&a.value===this.value));return t>=0?t:a.findIndex((a=>!a.disabled))}selectItem(a){a.disabled||a.value===this.value||this.qChange.emit(a.value)}handleKeyDown=(a,t)=>{const r=this.parsedItems,e="horizontal"===this.orientation;let i;if("Home"===a.key?i=d(r,0,1):"End"===a.key?i=d(r,r.length-1,-1):e&&"ArrowRight"===a.key||!e&&"ArrowDown"===a.key?i=v(r,t,1):(e&&"ArrowLeft"===a.key||!e&&"ArrowUp"===a.key)&&(i=v(r,t,-1)),void 0===i||i<0)return;a.preventDefault();const s=r[i],o=this.el.shadowRoot?.querySelectorAll('[role="tab"]')[i];!function(a){if(a)try{a.focus({preventScroll:!0})}catch{a.focus()}}(o),this.selectItem(s)};render(){const a=this.parsedItems,t=i(a,o,{warningContext:"q-tabs items"}),r=this.getActiveIndex(a);return e("div",{key:"58f8a3888c5b846f9725fa529fc24135de5798c0",class:{"tab-list":!0,[`size-${this.size}`]:!0,[`variant-${this.variant}`]:!0},part:"tablist",role:"tablist","aria-label":this.ariaLabel?.trim()||"Sections","aria-orientation":this.orientation},t.map((({item:a,index:t,key:i,usesFallback:s})=>{const o=t===r,n=Boolean(a.icon&&a.iconOnly);return e("button",{key:i,id:b(this.instanceId,a,i,s),class:{tab:!0,"has-icon":Boolean(a.icon),"is-icon-only":n,"is-selected":o},type:"button",role:"tab",part:"tab"+(o?" selected-tab":""),disabled:a.disabled,"aria-label":n?a.label:void 0,"aria-selected":o?"true":"false","aria-controls":a.panelId,tabindex:o?0:-1,title:a.label,onClick:()=>this.selectItem(a),onKeyDown:a=>this.handleKeyDown(a,t)},a.icon&&e("q-icon",{class:"tab__icon",name:a.icon,lib:"lucide",size:this.size,"aria-hidden":"true"}),!n&&e("span",{class:"tab__label"},a.label))})))}};function d(a,t,r){for(let e=t;e>=0&&e<a.length;e+=r)if(!a[e].disabled)return e;return-1}function v(a,t,r){if(0===a.length)return-1;for(let e=1;e<=a.length;e+=1){const i=(t+r*e+a.length)%a.length;if(!a[i].disabled)return i}return-1}l.style=":host{display:block;min-width:0;color:var(--q-tabs-fg, var(--q-fg-muted, #9ca3af));font-family:var(--q-font-family, inherit)}.tab-list{--_q-tabs-list-gap:0;--_q-tabs-list-padding:0;--_q-tabs-list-bg:transparent;--_q-tabs-list-radius:0;--_q-tabs-tab-bg:transparent;--_q-tabs-tab-border:0;--_q-tabs-tab-radius:0;--_q-tabs-tab-hover-bg:var(--q-tabs-hover-bg, color-mix(in srgb, currentColor 6%, transparent));--_q-tabs-tab-hover-border:transparent;--_q-tabs-tab-active-bg:transparent;--_q-tabs-tab-active-border:transparent;--_q-tabs-tab-active-fg:var(--q-tabs-active-fg, var(--q-color-primary, #60a5fa));display:flex;gap:var(--_q-tabs-list-gap);min-width:0;overflow-x:auto;overflow-y:hidden;padding:var(--_q-tabs-list-padding);border-radius:var(--_q-tabs-list-radius);background:var(--_q-tabs-list-bg);scrollbar-width:none}.tab-list::-webkit-scrollbar{display:none}.tab{position:relative;display:inline-flex;flex:0 0 auto;gap:var(--q-tabs-icon-gap, 6px);align-items:center;justify-content:center;box-sizing:border-box;min-width:0;max-width:var(--q-tabs-tab-max-width, 94px);overflow:hidden;color:inherit;border:var(--_q-tabs-tab-border);border-radius:var(--_q-tabs-tab-radius);background:var(--_q-tabs-tab-bg);font:inherit;font-weight:var(--q-tabs-font-weight, var(--q-font-weight-bold, 600));text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.tab__icon{flex:0 0 auto}.tab__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tab-list.size-sm .tab{min-height:var(--q-tabs-height-sm, var(--q-tabs-height, 34px));padding:var(--q-tabs-padding-sm, var(--q-tabs-padding, 6px 10px));font-size:var(--q-tabs-font-size-sm, var(--q-tabs-font-size, var(--q-font-size-sm, 0.7rem)))}.tab-list.size-md .tab{min-height:var(--q-tabs-height-md, var(--q-tabs-height, 42px));padding:var(--q-tabs-padding-md, var(--q-tabs-padding, 9px 16px));font-size:var(--q-tabs-font-size-md, var(--q-tabs-font-size, var(--q-font-size-base, 0.9rem)))}.tab-list.size-lg .tab{min-height:var(--q-tabs-height-lg, var(--q-tabs-height, 50px));padding:var(--q-tabs-padding-lg, var(--q-tabs-padding, 14px 18px));font-size:var(--q-tabs-font-size-lg, var(--q-tabs-font-size, var(--q-font-size-lg, 1rem)))}.tab-list.size-sm .tab.is-icon-only{width:var(--q-tabs-icon-only-width-sm, var(--q-tabs-height-sm, var(--q-tabs-height, 34px)));padding-inline:0}.tab-list.size-md .tab.is-icon-only{width:var(--q-tabs-icon-only-width-md, var(--q-tabs-height-md, var(--q-tabs-height, 42px)));padding-inline:0}.tab-list.size-lg .tab.is-icon-only{width:var(--q-tabs-icon-only-width-lg, var(--q-tabs-height-lg, var(--q-tabs-height, 50px)));padding-inline:0}.tab.is-icon-only{flex:0 0 auto;max-width:none}.tab::after{display:none;position:absolute;right:10px;bottom:0;left:10px;height:2px;border-radius:999px 999px 0 0;background:transparent;content:''}.tab:hover:not(:disabled):not(.is-selected){color:var(--q-tabs-hover-fg, var(--q-fg-base, #f9fafb));border-color:var(--_q-tabs-tab-hover-border);background:var(--_q-tabs-tab-hover-bg)}.tab.is-selected{color:var(--_q-tabs-tab-active-fg);border-color:var(--_q-tabs-tab-active-border);background:var(--_q-tabs-tab-active-bg)}.tab-list.variant-underline{--_q-tabs-tab-radius:var(--q-tabs-underline-radius, var(--q-radius-md, 7px) var(--q-radius-md, 7px) 0 0);border-bottom:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}.tab-list.variant-underline .tab::after{display:block}.tab-list.variant-underline .tab.is-selected::after{background:currentColor}.tab-list.variant-enclosed{--_q-tabs-tab-border:var(--q-tabs-enclosed-tab-border, 1px solid transparent);--_q-tabs-tab-radius:var(--q-tabs-enclosed-radius, var(--q-radius-md, 7px) var(--q-radius-md, 7px) 0 0);--_q-tabs-tab-hover-bg:var(--q-tabs-enclosed-hover-bg, var(--q-bg-surface-2, #374151));--_q-tabs-tab-hover-border:var(--q-tabs-enclosed-hover-border, var(--q-border-color, #374151));--_q-tabs-tab-active-bg:var(--q-tabs-enclosed-active-bg, var(--q-bg-surface-1, #1f2937));--_q-tabs-tab-active-border:var(--q-tabs-enclosed-active-border, var(--q-color-primary, #60a5fa));align-items:flex-end;border-bottom:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}.tab-list.variant-enclosed .tab{margin-bottom:-1px}.tab-list.variant-enclosed .tab.is-selected{border-bottom-color:var(--q-tabs-enclosed-active-bg, var(--q-bg-surface-1, #1f2937))}.tab-list.variant-pills{--_q-tabs-list-gap:var(--q-tabs-pills-gap, 4px);--_q-tabs-tab-border:var(--q-tabs-pills-border, 1px solid var(--q-border-color, #374151));--_q-tabs-tab-radius:var(--q-tabs-pills-radius, 999px);--_q-tabs-tab-hover-bg:var(--q-tabs-pills-hover-bg, var(--q-bg-surface-2, #374151));--_q-tabs-tab-hover-border:var(--q-tabs-pills-hover-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-bg:var(--q-tabs-pills-active-bg, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-border:var(--q-tabs-pills-active-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-fg:var(--q-tabs-pills-active-fg, var(--q-bg-base, #111827))}.tab-list.variant-button{--_q-tabs-list-gap:var(--q-tabs-button-gap, 4px);--_q-tabs-tab-border:var(--q-tabs-button-border, 1px solid var(--q-border-color, #374151));--_q-tabs-tab-radius:var(--q-tabs-button-radius, var(--q-radius-md, 7px));--_q-tabs-tab-bg:var(--q-tabs-button-bg, transparent);--_q-tabs-tab-hover-bg:var(--q-tabs-button-hover-bg, var(--q-bg-surface-2, #374151));--_q-tabs-tab-hover-border:var(--q-tabs-button-hover-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-bg:var(--q-tabs-button-active-bg, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-border:var(--q-tabs-button-active-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-fg:var(--q-tabs-button-active-fg, var(--q-bg-base, #111827))}.tab:focus-visible{z-index:1;outline:var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));outline-offset:-3px}.tab:disabled{opacity:0.45;cursor:not-allowed}:host([stretch]) .tab:not(.is-icon-only){flex:1 1 0}:host([stretch]) .tab.is-icon-only{flex:0 0 auto}:host([orientation='vertical']) .tab-list{flex-direction:column;overflow-x:visible;overflow-y:auto;border-bottom:0}:host([orientation='vertical']) .tab{width:100%;text-align:left}:host([orientation='vertical']) .tab-list.variant-underline{border-right:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}:host([orientation='vertical']) .tab-list.variant-underline .tab::after{top:8px;right:0;bottom:8px;left:auto;width:2px;height:auto;border-radius:999px 0 0 999px}:host([orientation='vertical']) .tab-list.variant-enclosed{align-items:stretch;border-right:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}:host([orientation='vertical']) .tab-list.variant-enclosed .tab{margin-right:-1px;margin-bottom:0;border-radius:var(--q-tabs-enclosed-radius-vertical, var(--q-radius-md, 7px) 0 0 var(--q-radius-md, 7px))}:host([orientation='vertical']) .tab-list.variant-enclosed .tab.is-selected{border-right-color:var(--q-tabs-enclosed-active-bg, var(--q-bg-surface-1, #1f2937));border-bottom-color:var(--q-tabs-enclosed-active-border, var(--q-color-primary, #60a5fa))}";export{l as q_tabs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as o,a as r,h as t}from"./p-DweBlExe.js";import{i as e}from"./p-CGZPmEUB.js";import{s}from"./p-BJiYCN3i.js";let a=0;const n=class{constructor(r){i(this,r),this.qChange=o(this,"qChange"),this.qFocus=o(this,"qFocus"),this.qBlur=o(this,"qBlur"),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals)}get el(){return r(this)}internals;label;options=[];value="";size="md";orientation="responsive";disabled=!1;required=!1;error;errorMessage;name;ariaLabel=null;qChange;qFocus;qBlur;internalName="q-radio-group-"+ ++a;initialValue="";fieldsetEl;watchValue(){this.syncFormState()}watchConstraints(){this.syncFormState()}componentWillLoad(){this.initialValue=this.value,this.syncFormState()}componentDidRender(){this.syncFormState()}formResetCallback(){this.value=this.initialValue,this.syncFormState()}async focusElement(){const i=this.getInputs();(i.find((i=>i.checked&&!i.disabled))??i.find((i=>!i.disabled)))?.focus()}async checkValidity(){return this.syncFormState(),"function"==typeof this.internals?.checkValidity?this.internals.checkValidity():this.isValid()}async reportValidity(){return this.syncFormState(),"function"==typeof this.internals?.reportValidity?this.internals.reportValidity():this.isValid()}getOptions(){return s(this.options,[],"QRadioGroup").flatMap((i=>{if("string"==typeof i){const o=i.trim();return o?[{label:o,value:o}]:[]}return i&&"object"==typeof i&&"string"==typeof i.value&&i.value.trim()?[{label:"string"==typeof i.label?i.label:i.value,value:i.value,disabled:!0===i.disabled,icon:"string"==typeof i.icon?i.icon:void 0}]:[]}))}getSelectedOption(i=this.getOptions()){return i.find((i=>i.value===this.value&&!i.disabled))}getInputs(){return Array.from(this.el.shadowRoot?.querySelectorAll('input[type="radio"]')??[])}isValid(){return!!this.disabled||!(this.error||this.errorMessage)?.trim()&&(!this.required||void 0!==this.getSelectedOption())}syncFormState(){if(!this.internals)return;const i=this.getSelectedOption();if("function"==typeof this.internals.setFormValue&&this.internals.setFormValue(this.disabled||!i?null:i.value),"function"!=typeof this.internals.setValidity)return;if(this.disabled)return void this.internals.setValidity({});const o=(this.error||this.errorMessage)?.trim();o?this.internals.setValidity({customError:!0},o,this.getValidityAnchor()):!this.required||i?this.internals.setValidity({}):this.internals.setValidity({valueMissing:!0},"Please select an option to continue.",this.getValidityAnchor())}getValidityAnchor(){return this.getInputs().find((i=>i.checked&&!i.disabled))??this.getInputs().find((i=>!i.disabled))??this.fieldsetEl}handleChange=i=>{if(this.disabled)return;const o=i.target,r=this.getOptions().find((i=>i.value===o.value));r&&!r.disabled&&r.value!==this.value&&(this.value=r.value,this.qChange.emit(r.value))};handleFocus=i=>{this.qFocus.emit(i)};handleBlur=i=>{this.qBlur.emit(i)};render(){const i=this.getOptions(),o=e(i,(i=>i.value),{warningContext:"q-radio-group options"}),r=this.error||this.errorMessage,s=!!r,a=this.ariaLabel?.trim()||void 0,n=this.name||this.internalName;return t("div",{key:"236fa9fb4f3fe76842adde7f48cd901fe85a62e8",class:{"radio-group":!0,"is-disabled":this.disabled,"has-error":s,[`size-${this.size}`]:!0,[`orientation-${this.orientation}`]:!0}},t("fieldset",{key:"962281657e44b52db9aa66d7243aa9e8e99d5bd0",ref:i=>this.fieldsetEl=i,class:"group-fieldset",part:"group",disabled:this.disabled,role:"radiogroup","aria-label":this.label?void 0:a,"aria-required":this.required?"true":"false","aria-invalid":s?"true":"false","aria-describedby":s?"q-radio-group-error":void 0},this.label&&t("legend",{key:"2e8c58a4e069b98f5e3c95f36ec6f6a40fb8507b",part:"label"},this.label),t("div",{key:"9ad389fe70610da634ef1e9f3c2c666842f393cc",class:"options",part:"options",style:{"--q-radio-group-option-count":String(Math.max(o.length,1))}},o.map((({item:i,key:o})=>t("label",{key:o,class:{option:!0,"is-selected":i.value===this.value,"is-disabled":this.disabled||!0===i.disabled},part:"option"},t("input",{type:"radio",name:n,value:i.value,checked:i.value===this.value,disabled:this.disabled||i.disabled,required:this.required,part:"input",onClick:this.handleChange,onInput:this.handleChange,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur}),i.icon&&t("q-icon",{name:i.icon,size:"sm"===this.size?"14":"lg"===this.size?"18":"16",part:"option-icon",class:"option-icon"}),t("span",{part:"option-label"},i.label)))))),s&&t("span",{key:"6ee8bc6cb91ad796b9d41ea94d7611711f9142ff",id:"q-radio-group-error",class:"error-msg",part:"error-msg"},r))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{watchValue:0}],options:[{watchConstraints:0}],disabled:[{watchConstraints:0}],required:[{watchConstraints:0}],error:[{watchConstraints:0}],errorMessage:[{watchConstraints:0}]}}};n.style=":host{--q-radio-group-bg:var(--q-field-bg, var(--q-bg-surface-2, #374151));--q-radio-group-border:var(--q-border, 1px solid var(--q-border-color, #4b5563));--q-radio-group-radius:var(--q-field-radius, var(--q-radius-md, 7px));--q-radio-group-selected-bg:rgba(96, 165, 250, 0.12);--q-radio-group-selected-bg:color-mix(in srgb, var(--q-color-primary, #60a5fa) 12%, var(--q-radio-group-bg));--q-radio-group-selected-color:var(--q-color-primary, #60a5fa);--q-radio-group-focus-ring:var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));--q-radio-group-error-color:var(--q-color-danger, #f87171);--q-radio-group-option-min-height:38px;--q-radio-group-option-padding:6px 8px;display:block;min-width:0;color:var(--q-fg-base, #f9fafb);font-family:var(--q-font-family, inherit)}:host([disabled]){cursor:not-allowed}.group-fieldset{min-width:0;margin:0;padding:0;border:0}legend{margin:0 0 6px;padding:0;color:var(--q-fg-base, #f9fafb);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-bold, 600)}.options{display:grid;grid-template-columns:repeat(var(--q-radio-group-option-count), minmax(0, 1fr));box-sizing:border-box;overflow:hidden;border:var(--q-radio-group-border);border-radius:var(--q-radio-group-radius);background:var(--q-radio-group-bg)}.option{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-width:0;min-height:var(--q-radio-group-option-min-height);padding:var(--q-radio-group-option-padding);color:var(--q-fg-muted, #9ca3af);background:var(--q-radio-group-bg);cursor:pointer;text-align:center;font-size:var(--q-font-size-base, 0.875rem);font-weight:var(--q-font-weight-bold, 600);line-height:1.2;transition:color var(--q-transition-fast, 150ms ease), background-color var(--q-transition-fast, 150ms ease)}.option-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;opacity:0.85}.option.is-selected .option-icon{opacity:1}.option+.option{border-inline-start:var(--q-radio-group-border)}.option:hover:not(.is-disabled){color:var(--q-fg-base, #f9fafb)}.option.is-selected{color:var(--q-radio-group-selected-color);background:var(--q-radio-group-selected-bg)}.option.is-disabled{cursor:not-allowed;opacity:0.6}.option:has(input:focus-visible){outline:var(--q-radio-group-focus-ring);outline-offset:-2px;z-index:1}.has-error .options{border-color:var(--q-radio-group-error-color)}input{position:absolute;width:1px;height:1px;padding:0;border:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap}.is-disabled .options{opacity:0.6}.size-sm{--q-radio-group-option-min-height:30px;--q-radio-group-option-padding:0 6px}.size-sm .options{min-height:32px;height:32px}.size-sm .option{height:100%;min-height:30px;font-size:var(--q-font-size-sm, 0.75rem)}.size-lg{--q-radio-group-option-min-height:44px;--q-radio-group-option-padding:9px 12px}.size-lg .option{font-size:var(--q-font-size-lg, 1rem)}.orientation-vertical .options{grid-template-columns:1fr}.orientation-vertical .option+.option{border-top:var(--q-radio-group-border);border-inline-start:0}.error-msg{display:block;margin-top:4px;color:var(--q-radio-group-error-color);font-size:var(--q-font-size-sm, 0.7rem)}@media (max-width: 680px){.orientation-responsive .options{grid-template-columns:1fr}.orientation-responsive .option+.option{border-top:var(--q-radio-group-border);border-inline-start:0}}";export{n as q_radio_group}
|