@webquark/browser 1.1.0-dev.9 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{action.props-N0urQtdP.js → action.props-B6vl_1p5.js} +1 -1
- package/dist/cjs/{dom-Dk77oFF6.js → dom-BYrqRYna.js} +1 -1
- package/dist/cjs/{field-CsrQGhG-.js → field-B5nxD8Kc.js} +1 -1
- package/dist/cjs/{index-DWXhKHCB.js → index-BD6Jjssb.js} +5 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/q-accordion.cjs.entry.js +2 -2
- package/dist/cjs/q-alert.cjs.entry.js +1 -1
- package/dist/cjs/q-avatar.cjs.entry.js +2 -2
- package/dist/cjs/q-banner.cjs.entry.js +1 -1
- package/dist/cjs/q-button_2.cjs.entry.js +5 -5
- package/dist/cjs/q-card.cjs.entry.js +3 -3
- package/dist/cjs/q-carousel.cjs.entry.js +120 -18
- package/dist/cjs/q-chip.cjs.entry.js +2 -2
- package/dist/cjs/q-control-group.cjs.entry.js +64 -0
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
- package/dist/cjs/q-data-table.cjs.entry.js +4 -4
- package/dist/cjs/q-dialog.cjs.entry.js +4 -4
- package/dist/cjs/q-divider.cjs.entry.js +26 -0
- package/dist/cjs/q-dropdown.cjs.entry.js +320 -104
- package/dist/cjs/q-form.cjs.entry.js +16 -6
- package/dist/cjs/q-grid.cjs.entry.js +3 -3
- package/dist/cjs/q-icon.cjs.entry.js +1 -1
- package/dist/cjs/q-image-comparison.cjs.entry.js +2 -2
- package/dist/cjs/q-inline.cjs.entry.js +3 -3
- package/dist/cjs/q-input_2.cjs.entry.js +9 -7
- package/dist/cjs/q-link.cjs.entry.js +2 -2
- package/dist/cjs/q-map.cjs.entry.js +2 -2
- package/dist/cjs/q-media.cjs.entry.js +2 -2
- package/dist/cjs/q-navbar.cjs.entry.js +3 -3
- package/dist/cjs/q-pagination.cjs.entry.js +2 -2
- package/dist/cjs/q-panel.cjs.entry.js +7 -7
- package/dist/cjs/q-quantity-selector.cjs.entry.js +6 -6
- package/dist/cjs/q-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/q-reel.cjs.entry.js +4 -4
- package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
- package/dist/cjs/q-section.cjs.entry.js +2 -2
- package/dist/cjs/q-sidepanel.cjs.entry.js +2 -2
- package/dist/cjs/q-slider.cjs.entry.js +122 -0
- package/dist/cjs/q-stack.cjs.entry.js +3 -3
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram.cjs.entry.js +4 -4
- package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
- package/dist/cjs/q-tabs.cjs.entry.js +2 -2
- package/dist/cjs/q-textarea.cjs.entry.js +7 -5
- package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
- package/dist/cjs/q-toast.cjs.entry.js +1 -1
- package/dist/cjs/q-toggle.cjs.entry.js +6 -6
- package/dist/cjs/q-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/{tokens-RMRaIOqv.js → tokens-Cd7g-VMz.js} +3 -0
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/actions/button/button.css +22 -0
- package/dist/collection/components/actions/button/{button.utils.unit.test.js → test/button.utils.unit.test.js} +1 -1
- package/dist/collection/components/content/carousel/carousel.css +7 -0
- package/dist/collection/components/content/carousel/carousel.js +256 -10
- package/dist/collection/components/content/carousel/internals/autoplay.js +31 -6
- package/dist/collection/components/content/carousel/test/transitions.cmp.test.js +122 -0
- package/dist/collection/components/data-display/accordion/accordion.js +1 -1
- package/dist/collection/components/data-display/data-table/data-table.js +3 -3
- package/dist/collection/components/data-display/map/map.js +1 -1
- package/dist/collection/components/data-display/map/test/map.cmp.test.js +1 -1
- package/dist/collection/components/data-display/pagination/pagination.js +1 -1
- package/dist/collection/{utils → components/data-display/syntax-box/internals}/formatter.unit.test.js +1 -1
- package/dist/collection/{utils → components/data-display/syntax-box/internals}/syntax.unit.test.js +1 -1
- package/dist/collection/components/data-display/syntax-box/syntax-box.js +2 -2
- package/dist/collection/components/data-display/syntax-box/test/syntax-box.cmp.test.js +1 -1
- package/dist/collection/components/data-display/syntax-box/test/syntax-format.cmp.test.js +1 -1
- package/dist/collection/components/indicators/step-diagram/step-diagram.js +2 -2
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +1 -1
- package/dist/collection/components/inputs/dropdown/dropdown.css +148 -0
- package/dist/collection/components/inputs/dropdown/dropdown.js +422 -104
- package/dist/collection/components/inputs/dropdown/test/dropdown.cmp.test.js +28 -0
- package/dist/collection/components/inputs/dropdown/test/fit-options.cmp.test.js +120 -0
- package/dist/collection/components/inputs/dropdown/test/multiple.cmp.test.js +124 -0
- package/dist/collection/components/inputs/dropdown/test/search-mode.cmp.test.js +186 -0
- package/dist/collection/components/inputs/form/form.js +2 -2
- package/dist/collection/components/inputs/form/internals/controls.js +1 -1
- package/dist/collection/components/inputs/form/internals/field-state.js +6 -1
- package/dist/collection/components/inputs/form/internals/values.js +5 -0
- package/dist/collection/components/inputs/form/test/form-submit.cmp.test.js +14 -8
- package/dist/collection/components/inputs/input/input.css +42 -0
- package/dist/collection/components/inputs/input/input.js +31 -3
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +22 -0
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +4 -4
- package/dist/collection/components/inputs/radio-group/radio-group.js +2 -2
- package/dist/collection/components/inputs/slider/slider.css +44 -0
- package/dist/collection/components/inputs/slider/slider.js +383 -0
- package/dist/collection/components/inputs/slider/test/slider.cmp.test.js +45 -0
- package/dist/collection/components/inputs/textarea/textarea.css +20 -0
- package/dist/collection/components/inputs/textarea/textarea.js +30 -2
- package/dist/collection/components/inputs/toggle/test/toggle-layout.cmp.test.js +69 -0
- package/dist/collection/components/inputs/toggle/toggle.css +27 -0
- package/dist/collection/components/inputs/toggle/toggle.js +3 -3
- package/dist/collection/components/layout/control-group/control-group.css +108 -0
- package/dist/collection/components/layout/control-group/control-group.js +142 -0
- package/dist/collection/components/layout/control-group/test/control-group.cmp.test.js +163 -0
- package/dist/collection/components/layout/divider/divider.css +40 -0
- package/dist/collection/components/layout/divider/divider.js +121 -0
- package/dist/collection/components/layout/divider/test/divider.cmp.test.js +105 -0
- package/dist/collection/components/layout/grid/grid.js +1 -1
- package/dist/collection/components/layout/inline/inline.js +1 -1
- package/dist/collection/components/layout/navbar/navbar.js +2 -2
- package/dist/collection/components/layout/panel/panel.js +4 -4
- package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
- package/dist/collection/components/layout/section/section.js +1 -1
- package/dist/collection/components/layout/stack/stack.js +1 -1
- package/dist/collection/components/layout/tabs/tabs.js +1 -1
- package/dist/collection/components/layout/toolbar/toolbar.js +2 -2
- package/dist/collection/components/media/avatar/avatar.js +1 -1
- package/dist/collection/components/media/image-comparison/image-comparison.js +1 -1
- package/dist/collection/components/media/media/media.js +1 -1
- package/dist/collection/components/media/reel/reel.js +2 -2
- package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/overlays/dialog/dialog.js +2 -2
- package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
- package/dist/collection/theme/test/input-width.cmp.test.js +117 -0
- package/dist/collection/theme/test/presets.unit.test.js +58 -0
- package/dist/collection/theme/tokens.js +3 -0
- package/dist/collection/utils/dom.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-BDsIecIx.js +1 -0
- package/dist/components/{p-6PPZ2sIO.js → p-BGHNFaaC.js} +1 -1
- package/dist/components/{p-Dfp_If-_.js → p-BZXIeEKC.js} +1 -1
- package/dist/components/{p-DlIn_ZWk.js → p-Bc2_QcLn.js} +1 -1
- package/dist/components/{p-CKuPOxKN.js → p-Bp6Xr92S.js} +1 -1
- package/dist/{webquark/p-Dhsn99q4.js → components/p-BwPMm43W.js} +1 -1
- package/dist/components/p-CArIPzJU.js +1 -0
- package/dist/components/p-CpkX9YAW.js +1 -0
- package/dist/components/p-D2nxHd1b.js +1 -0
- package/dist/components/{p-DQhiqYeq.js → p-DkanItP3.js} +1 -1
- package/dist/components/p-IwIJb0Mc.js +1 -0
- package/dist/components/{p-Cg0Mv7Vb.js → p-kfrqZyfJ.js} +1 -1
- package/dist/components/{p-BH4gQWub.js → p-x3C-wjU9.js} +1 -1
- package/dist/components/q-accordion.js +1 -1
- package/dist/components/q-alert.js +1 -1
- package/dist/components/q-avatar.js +1 -1
- package/dist/components/q-banner.js +1 -1
- package/dist/components/q-button.js +1 -1
- package/dist/components/q-card.js +1 -1
- package/dist/components/q-carousel.js +1 -1
- package/dist/components/q-chip.js +1 -1
- package/dist/components/q-control-group.d.ts +11 -0
- package/dist/components/q-control-group.js +1 -0
- package/dist/components/q-conversation-bubble.js +1 -1
- package/dist/components/q-data-table.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-divider.d.ts +11 -0
- package/dist/components/q-divider.js +1 -0
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.js +1 -1
- package/dist/components/q-grid.js +1 -1
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-image-comparison.js +1 -1
- package/dist/components/q-inline.js +1 -1
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-link.js +1 -1
- package/dist/components/q-map.js +1 -1
- package/dist/components/q-media.js +1 -1
- package/dist/components/q-navbar.js +1 -1
- package/dist/components/q-pagination.js +1 -1
- package/dist/components/q-panel.js +1 -1
- package/dist/components/q-progress.js +1 -1
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-radio-group.js +1 -1
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-section.js +1 -1
- package/dist/components/q-sidepanel.js +1 -1
- package/dist/components/q-slider.d.ts +11 -0
- package/dist/components/q-slider.js +1 -0
- package/dist/components/q-stack.js +1 -1
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +2 -2
- package/dist/components/q-tabs.js +1 -1
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toast.js +1 -1
- package/dist/components/q-toggle.js +1 -1
- package/dist/components/q-toolbar.js +1 -1
- package/dist/components/q-tooltip.js +1 -1
- package/dist/esm/{action.props-CpnGza8z.js → action.props-Di_LpF5H.js} +1 -1
- package/dist/esm/{dom-ByfrUWx1.js → dom-CArIPzJU.js} +1 -1
- package/dist/esm/{field-zfD6OQ02.js → field-C4Iilew6.js} +1 -1
- package/dist/esm/{index-B5ElFlHv.js → index-DoGM9gsC.js} +5 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/q-accordion.entry.js +2 -2
- package/dist/esm/q-alert.entry.js +1 -1
- package/dist/esm/q-avatar.entry.js +2 -2
- package/dist/esm/q-banner.entry.js +1 -1
- package/dist/esm/q-button_2.entry.js +5 -5
- package/dist/esm/q-card.entry.js +3 -3
- package/dist/esm/q-carousel.entry.js +120 -18
- package/dist/esm/q-chip.entry.js +2 -2
- package/dist/esm/q-control-group.entry.js +62 -0
- package/dist/esm/q-conversation-bubble.entry.js +1 -1
- package/dist/esm/q-data-table.entry.js +4 -4
- package/dist/esm/q-dialog.entry.js +4 -4
- package/dist/esm/q-divider.entry.js +24 -0
- package/dist/esm/q-dropdown.entry.js +320 -104
- package/dist/esm/q-form.entry.js +16 -6
- package/dist/esm/q-grid.entry.js +3 -3
- package/dist/esm/q-icon.entry.js +1 -1
- package/dist/esm/q-image-comparison.entry.js +2 -2
- package/dist/esm/q-inline.entry.js +3 -3
- package/dist/esm/q-input_2.entry.js +9 -7
- package/dist/esm/q-link.entry.js +2 -2
- package/dist/esm/q-map.entry.js +2 -2
- package/dist/esm/q-media.entry.js +2 -2
- package/dist/esm/q-navbar.entry.js +3 -3
- package/dist/esm/q-pagination.entry.js +2 -2
- package/dist/esm/q-panel.entry.js +7 -7
- package/dist/esm/q-quantity-selector.entry.js +6 -6
- package/dist/esm/q-radio-group.entry.js +4 -4
- package/dist/esm/q-reel.entry.js +4 -4
- package/dist/esm/q-scrollable.entry.js +4 -4
- package/dist/esm/q-section.entry.js +2 -2
- package/dist/esm/q-sidepanel.entry.js +2 -2
- package/dist/esm/q-slider.entry.js +120 -0
- package/dist/esm/q-stack.entry.js +3 -3
- package/dist/esm/q-step-diagram-item.entry.js +2 -2
- package/dist/esm/q-step-diagram.entry.js +4 -4
- package/dist/esm/q-syntax-box.entry.js +1 -1
- package/dist/esm/q-tabs.entry.js +2 -2
- package/dist/esm/q-textarea.entry.js +7 -5
- package/dist/esm/q-thumbnail.entry.js +3 -3
- package/dist/esm/q-toast.entry.js +1 -1
- package/dist/esm/q-toggle.entry.js +6 -6
- package/dist/esm/q-toolbar.entry.js +4 -4
- package/dist/esm/{tokens-B4Mg1xEw.js → tokens-BDsIecIx.js} +3 -0
- package/dist/esm/webquark.js +3 -3
- package/dist/playground/components/theme-designer/dimension-tokens.js +9 -0
- package/dist/playground/components/theme-designer/token-row.js +89 -0
- package/dist/playground/dom-factory.js +76 -0
- package/dist/playground/utils/color.js +26 -0
- package/dist/playground/utils/dom.js +38 -0
- package/dist/playground/utils/index.js +2 -0
- package/dist/types/components/content/carousel/carousel.d.ts +23 -2
- package/dist/types/components/content/carousel/carousel.types.d.ts +6 -0
- package/dist/types/components/content/carousel/internals/autoplay.d.ts +5 -0
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +45 -1
- package/dist/types/components/inputs/dropdown/test/fit-options.cmp.test.d.ts +3 -0
- package/dist/types/components/inputs/dropdown/test/multiple.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/dropdown/test/search-mode.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/internals/field-state.d.ts +1 -1
- package/dist/types/components/inputs/input/input.d.ts +3 -0
- package/dist/types/components/inputs/slider/slider.d.ts +45 -0
- package/dist/types/components/inputs/slider/test/slider.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/textarea/textarea.d.ts +3 -1
- package/dist/types/components/inputs/toggle/test/toggle-layout.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/control-group/control-group.d.ts +20 -0
- package/dist/types/components/layout/control-group/test/control-group.cmp.test.d.ts +7 -0
- package/dist/types/components/layout/divider/divider.d.ts +15 -0
- package/dist/types/components/layout/divider/test/divider.cmp.test.d.ts +1 -0
- package/dist/types/components.d.ts +390 -6
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/dimension-tokens.d.ts +3 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/token-row.d.ts +14 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/dom-factory.d.ts +12 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/color.d.ts +8 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/dom.d.ts +15 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/index.d.ts +2 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/theme/test/input-width.cmp.test.d.ts +3 -0
- package/dist/types/theme/test/presets.unit.test.d.ts +1 -0
- package/dist/types/theme/tokens.d.ts +9 -0
- package/dist/types/utils/form-field-adapter.d.ts +3 -3
- package/dist/webquark/p-0182e114.entry.js +1 -0
- package/dist/webquark/{p-f98f9439.entry.js → p-048103e0.entry.js} +1 -1
- package/dist/webquark/{p-fe8c634a.entry.js → p-0a2c52de.entry.js} +1 -1
- package/dist/webquark/p-0baf478a.entry.js +1 -0
- package/dist/webquark/{p-9e78b796.entry.js → p-15bad9ef.entry.js} +1 -1
- package/dist/webquark/p-17b9713f.entry.js +1 -0
- package/dist/webquark/{p-fec6fe0a.entry.js → p-222405b8.entry.js} +1 -1
- package/dist/webquark/p-2eaa3a9f.entry.js +1 -0
- package/dist/webquark/{p-90b0858c.entry.js → p-3daafc56.entry.js} +1 -1
- package/dist/webquark/{p-09cca7b9.entry.js → p-44bbe12f.entry.js} +1 -1
- package/dist/webquark/{p-888e46a8.entry.js → p-4609c362.entry.js} +1 -1
- package/dist/webquark/{p-023f8437.entry.js → p-5b584d3c.entry.js} +1 -1
- package/dist/webquark/p-65fe9cac.entry.js +1 -0
- package/dist/webquark/p-846dc838.entry.js +1 -0
- package/dist/webquark/{p-030ecde3.entry.js → p-84b350a3.entry.js} +1 -1
- package/dist/webquark/p-85131314.entry.js +1 -0
- package/dist/webquark/{p-f1bac94c.entry.js → p-852e88ae.entry.js} +1 -1
- package/dist/webquark/{p-0aa74ad6.entry.js → p-86c05afd.entry.js} +1 -1
- package/dist/webquark/p-8c5b2706.entry.js +1 -0
- package/dist/webquark/p-923527f0.entry.js +1 -0
- package/dist/webquark/{p-f4f97e74.entry.js → p-9a76cd71.entry.js} +1 -1
- package/dist/webquark/p-BDsIecIx.js +1 -0
- package/dist/webquark/p-CArIPzJU.js +1 -0
- package/dist/{components/p-BofcK-7Z.js → webquark/p-DDUED8LT.js} +1 -1
- package/dist/webquark/{p-DWO-pleQ.js → p-Dnz3WmdX.js} +1 -1
- package/dist/webquark/p-DoGM9gsC.js +3 -0
- package/dist/webquark/p-a0d97367.entry.js +1 -0
- package/dist/webquark/{p-5f232b44.entry.js → p-a16bd8d5.entry.js} +1 -1
- package/dist/webquark/{p-059daa8a.entry.js → p-a2334abe.entry.js} +1 -1
- package/dist/webquark/{p-36118d90.entry.js → p-a2ff1b64.entry.js} +1 -1
- package/dist/webquark/{p-dd115868.entry.js → p-a314bc21.entry.js} +1 -1
- package/dist/webquark/p-a3e1096d.entry.js +1 -0
- package/dist/webquark/{p-f63b7214.entry.js → p-a66550da.entry.js} +1 -1
- package/dist/webquark/{p-f9ad63ff.entry.js → p-aa342e81.entry.js} +1 -1
- package/dist/webquark/{p-6e28cfe2.entry.js → p-b1c771fb.entry.js} +1 -1
- package/dist/webquark/p-b21ad707.entry.js +1 -0
- package/dist/webquark/p-b45ca926.entry.js +1 -0
- package/dist/webquark/{p-8ece2c62.entry.js → p-b8fdef4f.entry.js} +1 -1
- package/dist/webquark/{p-64096386.entry.js → p-d4788321.entry.js} +1 -1
- package/dist/webquark/p-d86bd51d.entry.js +1 -0
- package/dist/webquark/{p-48fb5228.entry.js → p-dbcf7592.entry.js} +1 -1
- package/dist/webquark/p-e0943d41.entry.js +1 -0
- package/dist/webquark/{p-6bfffa79.entry.js → p-e2721e77.entry.js} +1 -1
- package/dist/webquark/{p-3bc4629c.entry.js → p-e723a7ae.entry.js} +1 -1
- package/dist/webquark/p-eb800d1e.entry.js +1 -0
- package/dist/webquark/{p-99d785ca.entry.js → p-f4d23ffe.entry.js} +1 -1
- package/dist/webquark/{p-4d61b70d.entry.js → p-f51e1098.entry.js} +1 -1
- package/dist/webquark/{p-9ff7e5a4.entry.js → p-fe14f038.entry.js} +1 -1
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +2 -2
- package/dist/components/p-B4Mg1xEw.js +0 -1
- package/dist/components/p-ByfrUWx1.js +0 -1
- package/dist/components/p-CN1ut2Lb.js +0 -1
- package/dist/components/p-ye27qtRo.js +0 -1
- package/dist/webquark/p-04c8cb9e.entry.js +0 -1
- package/dist/webquark/p-0ae43d6c.entry.js +0 -1
- package/dist/webquark/p-0c3aac3f.entry.js +0 -1
- package/dist/webquark/p-144ef339.entry.js +0 -1
- package/dist/webquark/p-296fbdb1.entry.js +0 -1
- package/dist/webquark/p-70d9ffde.entry.js +0 -1
- package/dist/webquark/p-91fff6b6.entry.js +0 -1
- package/dist/webquark/p-923dac41.entry.js +0 -1
- package/dist/webquark/p-97a89cae.entry.js +0 -1
- package/dist/webquark/p-B4Mg1xEw.js +0 -1
- package/dist/webquark/p-B5ElFlHv.js +0 -3
- package/dist/webquark/p-ByfrUWx1.js +0 -1
- package/dist/webquark/p-c523ec6f.entry.js +0 -1
- package/dist/webquark/p-d0253d64.entry.js +0 -1
- package/dist/webquark/p-d0fbd2b1.entry.js +0 -1
- package/dist/webquark/p-fe200f68.entry.js +0 -1
- /package/dist/collection/{utils → components/data-display/syntax-box/internals}/formatter.js +0 -0
- /package/dist/collection/{utils → components/data-display/syntax-box/internals}/syntax.js +0 -0
- /package/dist/types/components/actions/button/{button.utils.unit.test.d.ts → test/button.utils.unit.test.d.ts} +0 -0
- /package/dist/types/{utils → components/data-display/syntax-box/internals}/formatter.d.ts +0 -0
- /package/dist/types/{utils → components/data-display/syntax-box/internals}/formatter.unit.test.d.ts +0 -0
- /package/dist/types/{utils → components/data-display/syntax-box/internals}/syntax.d.ts +0 -0
- /package/dist/types/{utils → components/data-display/syntax-box/internals}/syntax.unit.test.d.ts +0 -0
package/dist/esm/q-chip.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Mixin, r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { w as withActionLabel, a as withActionProps } from './action.props-
|
|
1
|
+
import { M as Mixin, r as registerInstance, c as createEvent, h } from './index-DoGM9gsC.js';
|
|
2
|
+
import { w as withActionLabel, a as withActionProps } from './action.props-Di_LpF5H.js';
|
|
3
3
|
|
|
4
4
|
const chipCss = () => `:host{display:inline-flex;max-width:100%;box-sizing:border-box}:host([hidden]){display:none}.chip{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-width:0;border:var(--q-chip-border, var(--q-border, 1px solid var(--q-border-color, #374151)));border-radius:var(--q-chip-radius, 999px);box-sizing:border-box;color:var(--q-chip-fg, var(--q-fg-muted, #9ca3af));background:var(--q-chip-bg, var(--q-bg-surface-2, #374151));font-family:var(--q-font-family, inherit);font-weight:var(--q-chip-font-weight, var(--q-font-weight-bold, 600));line-height:1.2;text-decoration:none;white-space:nowrap;outline:none;user-select:none;-webkit-user-select:none;transition:background var(--q-transition-fast, 150ms ease), border-color var(--q-transition-fast, 150ms ease), color var(--q-transition-fast, 150ms ease), opacity var(--q-transition-fast, 150ms ease), transform var(--q-transition-fast, 150ms ease)}.chip.is-interactive{cursor:pointer}.chip.is-disabled{cursor:not-allowed;opacity:var(--q-chip-disabled-opacity, 0.55);pointer-events:none}.chip.is-removable{padding-inline-end:var(--q-chip-removable-padding-end, 4px)}.chip:focus-visible,.remove-button:focus-visible{outline:var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));outline-offset:var(--q-chip-focus-offset, 2px)}.chip.is-interactive:hover:not(.is-disabled){border-color:var(--q-chip-hover-border-color, var(--q-color-primary, #60a5fa));color:var(--q-chip-hover-fg, var(--q-fg-base, #f9fafb));background:rgba(249, 250, 251, 0.08);background:var(--q-chip-hover-bg, color-mix(in srgb, var(--q-fg-base, #f9fafb) 8%, var(--q-chip-bg, transparent)))}.chip.is-interactive:active:not(.is-disabled){transform:var(--q-chip-active-transform, scale(0.97))}.size-sm{min-height:var(--q-chip-height-sm, 24px);gap:var(--q-chip-gap-sm, 5px);padding:var(--q-chip-padding-sm, 4px 9px);font-size:var(--q-chip-font-size-sm, var(--q-font-size-sm, 0.7rem))}.size-md{min-height:var(--q-chip-height-md, 30px);gap:var(--q-chip-gap-md, 7px);padding:var(--q-chip-padding-md, 6px 11px);font-size:var(--q-chip-font-size-md, var(--q-font-size-base, 0.9rem))}.size-lg{min-height:var(--q-chip-height-lg, 36px);gap:var(--q-chip-gap-lg, 9px);padding:var(--q-chip-padding-lg, 8px 14px);font-size:var(--q-chip-font-size-lg, var(--q-font-size-lg, 1rem))}.chip-label{min-width:0;overflow:hidden;text-overflow:ellipsis}::slotted([slot='icon-left']),::slotted([slot='icon-right']),::slotted(q-icon){flex:none}.variant-neutral{--q-chip-bg:var(--q-bg-surface-2, #374151);--q-chip-fg:var(--q-fg-base, #f9fafb)}.variant-filter{--q-chip-bg:var(--q-bg-surface-1, #1f2937);--q-chip-fg:var(--q-fg-muted, #9ca3af)}.variant-primary{--q-chip-bg:rgba(96, 165, 250, 0.16);--q-chip-bg:color-mix(in srgb, var(--q-color-primary, #60a5fa) 16%, transparent);--q-chip-fg:var(--q-color-primary, #60a5fa);border-color:color-mix(in srgb, var(--q-color-primary, #60a5fa) 34%, transparent)}.variant-success{--q-chip-bg:rgba(52, 211, 153, 0.14);--q-chip-bg:color-mix(in srgb, var(--q-color-success, #34d399) 14%, transparent);--q-chip-fg:var(--q-color-success, #34d399);border-color:color-mix(in srgb, var(--q-color-success, #34d399) 32%, transparent)}.variant-warning{--q-chip-bg:rgba(251, 191, 36, 0.16);--q-chip-bg:color-mix(in srgb, var(--q-color-warning, #fbbf24) 16%, transparent);--q-chip-fg:var(--q-color-warning, #fbbf24);border-color:color-mix(in srgb, var(--q-color-warning, #fbbf24) 34%, transparent)}.variant-danger{--q-chip-bg:rgba(248, 113, 113, 0.14);--q-chip-bg:color-mix(in srgb, var(--q-color-danger, #f87171) 14%, transparent);--q-chip-fg:var(--q-color-danger, #f87171);border-color:color-mix(in srgb, var(--q-color-danger, #f87171) 32%, transparent)}.chip.is-selected{border-color:var(--q-chip-selected-border-color, var(--q-color-primary, #60a5fa));color:var(--q-chip-selected-fg, var(--q-color-primary, #60a5fa));background:rgba(96, 165, 250, 0.16);background:var(--q-chip-selected-bg, color-mix(in srgb, var(--q-color-primary, #60a5fa) 16%, transparent))}.variant-primary.is-selected{color:var(--q-chip-primary-selected-fg, var(--q-bg-base, #111827));background:var(--q-color-primary, #60a5fa);border-color:var(--q-color-primary, #60a5fa)}.variant-success.is-selected{border-color:var(--q-chip-success-selected-border-color, var(--q-color-success, #34d399));color:var(--q-chip-success-selected-fg, var(--q-color-success, #34d399));background:rgba(52, 211, 153, 0.16);background:var(--q-chip-success-selected-bg, color-mix(in srgb, var(--q-color-success, #34d399) 16%, transparent))}.variant-warning.is-selected{border-color:var(--q-chip-warning-selected-border-color, var(--q-color-warning, #fbbf24));color:var(--q-chip-warning-selected-fg, var(--q-color-warning, #fbbf24));background:rgba(251, 191, 36, 0.18);background:var(--q-chip-warning-selected-bg, color-mix(in srgb, var(--q-color-warning, #fbbf24) 18%, transparent))}.variant-danger.is-selected{border-color:var(--q-chip-danger-selected-border-color, var(--q-color-danger, #f87171));color:var(--q-chip-danger-selected-fg, var(--q-color-danger, #f87171));background:rgba(248, 113, 113, 0.16);background:var(--q-chip-danger-selected-bg, color-mix(in srgb, var(--q-color-danger, #f87171) 16%, transparent))}.remove-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--q-chip-remove-size, 18px);height:var(--q-chip-remove-size, 18px);margin-inline-end:var(--q-chip-remove-offset, -2px);padding:0;border:0;border-radius:999px;color:currentColor;background:transparent;cursor:pointer;opacity:var(--q-chip-remove-opacity, 0.75);transition:background var(--q-transition-fast, 150ms ease), opacity var(--q-transition-fast, 150ms ease)}.remove-button:hover{opacity:1;background:rgba(249, 250, 251, 0.1);background:var(--q-chip-remove-hover-bg, color-mix(in srgb, currentColor 12%, transparent))}.remove-button:active{transform:scale(0.94)}.remove-icon{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round}.size-sm .remove-button{--q-chip-remove-size:16px}.size-lg .remove-button{--q-chip-remove-size:20px}`;
|
|
5
5
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { r as registerInstance, a as getElement, h, H as Host } from './index-DoGM9gsC.js';
|
|
2
|
+
import { c as controlScope } from './tokens-BDsIecIx.js';
|
|
3
|
+
|
|
4
|
+
const controlGroupCss = () => `:host{min-width:0;--_q-control-height:var(--q-context-control-height, calc(var(--_q-context-size-sm, 0) * var(--q-control-height-sm, 1.75rem) + var(--_q-context-size-md, 1) * var(--q-control-height-md, 2.25rem) + var(--_q-context-size-lg, 0) * var(--q-control-height-lg, 2.75rem)));--_q-control-font:var(--q-context-control-font, calc(var(--_q-context-size-sm, 0) * var(--q-control-font-sm, 0.75rem) + var(--_q-context-size-md, 1) * var(--q-control-font-md, 0.875rem) + var(--_q-context-size-lg, 0) * var(--q-control-font-lg, 1rem)));--_q-control-line:var(--q-context-control-line, calc(var(--_q-context-size-sm, 0) * var(--q-control-line-sm, 1rem) + var(--_q-context-size-md, 1) * var(--q-control-line-md, 1.25rem) + var(--_q-context-size-lg, 0) * var(--q-control-line-lg, 1.5rem)));--_q-control-padding:var(--q-context-control-padding, calc(var(--_q-context-size-sm, 0) * var(--q-control-padding-sm, 0.5rem) + var(--_q-context-size-md, 1) * var(--q-control-padding-md, 0.75rem) + var(--_q-context-size-lg, 0) * var(--q-control-padding-lg, 1rem)));--_q-control-icon:var(--q-context-control-icon, calc(var(--_q-context-size-sm, 0) * var(--q-control-icon-sm, 0.875rem) + var(--_q-context-size-md, 1) * var(--q-control-icon-md, 1rem) + var(--_q-context-size-lg, 0) * var(--q-control-icon-lg, 1.25rem)));--_q-control-radius:var(--q-context-control-radius, calc(var(--_q-context-size-sm, 0) * var(--q-control-radius-sm, 0.34375rem) + var(--_q-context-size-md, 1) * var(--q-control-radius-md, 0.4375rem) + var(--_q-context-size-lg, 0) * var(--q-control-radius-lg, 0.53125rem)))}.size-sm{--_q-control-height:var(--q-control-height-sm, 1.75rem);--_q-control-font:var(--q-control-font-sm, 0.75rem);--_q-control-line:var(--q-control-line-sm, 1rem);--_q-control-padding:var(--q-control-padding-sm, 0.5rem);--_q-control-icon:var(--q-control-icon-sm, 0.875rem);--_q-control-radius:var(--q-control-radius-sm, 0.34375rem)}.size-md{--_q-control-height:var(--q-control-height-md, 2.25rem);--_q-control-font:var(--q-control-font-md, 0.875rem);--_q-control-line:var(--q-control-line-md, 1.25rem);--_q-control-padding:var(--q-control-padding-md, 0.75rem);--_q-control-icon:var(--q-control-icon-md, 1rem);--_q-control-radius:var(--q-control-radius-md, 0.4375rem)}.size-lg{--_q-control-height:var(--q-control-height-lg, 2.75rem);--_q-control-font:var(--q-control-font-lg, 1rem);--_q-control-line:var(--q-control-line-lg, 1.5rem);--_q-control-padding:var(--q-control-padding-lg, 1rem);--_q-control-icon:var(--q-control-icon-lg, 1.25rem);--_q-control-radius:var(--q-control-radius-lg, 0.53125rem)}:host{display:block;min-width:0}[part='group']{display:flex;align-items:start;isolation:isolate}::slotted([hidden]){display:none !important}::slotted([data-q-control-group]){min-width:0;--_q-group-start-start:0px;--_q-group-start-end:0px;--_q-group-end-start:0px;--_q-group-end-end:0px}::slotted([data-q-control-group='first']),::slotted([data-q-control-group='only']){--_q-group-start-start:var(--q-control-group-radius, var(--_q-control-radius));--_q-group-end-start:var(--q-control-group-radius, var(--_q-control-radius))}::slotted([data-q-control-group='last']),::slotted([data-q-control-group='only']){--_q-group-start-end:var(--q-control-group-radius, var(--_q-control-radius));--_q-group-end-end:var(--q-control-group-radius, var(--_q-control-radius))}::slotted([data-q-control-group='middle']),::slotted([data-q-control-group='last']){margin-inline-start:-1px}::slotted(q-input:not([width])),::slotted(q-dropdown:not([width])),::slotted(q-dropdown[width="fit-options"]){flex:0 1 auto}::slotted(q-input[width]:not([width="full"])),::slotted(q-dropdown[width]:not([width="full"]):not([width="fit-options"])),::slotted(q-toggle),::slotted(q-button),::slotted(q-quantity-selector){flex:0 0 auto}::slotted(:focus-within){position:relative;z-index:1}:host([orientation='vertical']) [part='group']{flex-direction:column;align-items:stretch}:host([orientation='vertical']) ::slotted([data-q-control-group]){--_q-group-start-start:0px;--_q-group-start-end:0px;--_q-group-end-start:0px;--_q-group-end-end:0px;margin-inline-start:0}:host([orientation='vertical']) ::slotted([data-q-control-group='first']),:host([orientation='vertical']) ::slotted([data-q-control-group='only']){--_q-group-start-start:var(--q-control-group-radius, var(--_q-control-radius));--_q-group-start-end:var(--q-control-group-radius, var(--_q-control-radius))}:host([orientation='vertical']) ::slotted([data-q-control-group='last']),:host([orientation='vertical']) ::slotted([data-q-control-group='only']){--_q-group-end-start:var(--q-control-group-radius, var(--_q-control-radius));--_q-group-end-end:var(--q-control-group-radius, var(--_q-control-radius))}:host([orientation='vertical']) ::slotted([data-q-control-group='middle']),:host([orientation='vertical']) ::slotted([data-q-control-group='last']){margin-block-start:-1px}`;
|
|
5
|
+
|
|
6
|
+
const supportedControls = new Set(['Q-INPUT', 'Q-DROPDOWN', 'Q-TOGGLE', 'Q-QUANTITY-SELECTOR', 'Q-BUTTON']);
|
|
7
|
+
const marker = 'data-q-control-group';
|
|
8
|
+
const ownership = new WeakMap();
|
|
9
|
+
const QControlGroup = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
get el() { return getElement(this); }
|
|
14
|
+
size = 'inherit';
|
|
15
|
+
orientation = 'horizontal';
|
|
16
|
+
/** Name of the group; each child still needs its own accessible name. */
|
|
17
|
+
ariaLabel = null;
|
|
18
|
+
observer;
|
|
19
|
+
managedChildren = new Set();
|
|
20
|
+
connectedCallback() {
|
|
21
|
+
this.observer = new MutationObserver(() => this.updateChildren());
|
|
22
|
+
this.observer.observe(this.el, { childList: true, subtree: true, attributes: true, attributeFilter: ['hidden', 'slot'] });
|
|
23
|
+
this.updateChildren();
|
|
24
|
+
}
|
|
25
|
+
disconnectedCallback() {
|
|
26
|
+
this.observer?.disconnect();
|
|
27
|
+
for (const child of this.managedChildren)
|
|
28
|
+
this.restoreChild(child);
|
|
29
|
+
}
|
|
30
|
+
restoreChild(child) {
|
|
31
|
+
const previous = ownership.get(child);
|
|
32
|
+
if (previous?.owner === this.el) {
|
|
33
|
+
if (previous.original === null)
|
|
34
|
+
child.removeAttribute(marker);
|
|
35
|
+
else
|
|
36
|
+
child.setAttribute(marker, previous.original);
|
|
37
|
+
ownership.delete(child);
|
|
38
|
+
}
|
|
39
|
+
this.managedChildren.delete(child);
|
|
40
|
+
}
|
|
41
|
+
updateChildren = () => {
|
|
42
|
+
const controls = Array.from(this.el.children).filter((child) => child instanceof HTMLElement && supportedControls.has(child.tagName) && !child.hidden && !child.slot);
|
|
43
|
+
for (const child of this.managedChildren) {
|
|
44
|
+
if (!controls.includes(child))
|
|
45
|
+
this.restoreChild(child);
|
|
46
|
+
}
|
|
47
|
+
controls.forEach((child, index) => {
|
|
48
|
+
if (!this.managedChildren.has(child)) {
|
|
49
|
+
const previous = ownership.get(child);
|
|
50
|
+
ownership.set(child, { owner: this.el, original: previous ? previous.original : child.getAttribute(marker) });
|
|
51
|
+
this.managedChildren.add(child);
|
|
52
|
+
}
|
|
53
|
+
child.setAttribute(marker, controls.length === 1 ? 'only' : index === 0 ? 'first' : index === controls.length - 1 ? 'last' : 'middle');
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
render() {
|
|
57
|
+
return (h(Host, { key: '3a3eafef4761711a81b71645caa3407e00bc016f', style: controlScope(this.size) }, h("div", { key: '70c4fb37543a2a67921d4a8d8eecb4372b871fbf', part: "group", role: "group", "aria-label": this.ariaLabel || undefined }, h("slot", { key: '145ad01a8d6991b3137f642abe514051660c96e8', onSlotchange: this.updateChildren }))));
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
QControlGroup.style = controlGroupCss();
|
|
61
|
+
|
|
62
|
+
export { QControlGroup as q_control_group };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, a as getElement, h } from './index-DoGM9gsC.js';
|
|
2
2
|
|
|
3
3
|
const conversationBubbleCss = () => `: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))}}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as createEvent, a as getElement } from './index-
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, a as getElement } from './index-DoGM9gsC.js';
|
|
2
2
|
import { s as safeParseJson } from './utils-BJiYCN3i.js';
|
|
3
3
|
import { b as getDataTableItemKey, a as getDataTableCellValue, c as getDataTableRowGutterSlotName, g as getDataTableCellSlotName } from './data-table-cell-SzKf4WZF.js';
|
|
4
4
|
import { C as ChevronDown, a as ChevronUp } from './chevron-up-DKrPmn2y.js';
|
|
@@ -581,14 +581,14 @@ const QDataTable = class {
|
|
|
581
581
|
sortColumn: this.sortColumn,
|
|
582
582
|
sortDirection: this.sortDirection,
|
|
583
583
|
});
|
|
584
|
-
return (h("div", { key: '
|
|
584
|
+
return (h("div", { key: '9c73c6d30d081e5519af9ae93a465eac2181fcde', class: "table-container", role: "grid", "aria-label": this.ariaLabel?.trim() || this.toolbarTitle?.trim() || 'Data table' }, renderDataTableToolbar({
|
|
585
585
|
showToolbar: this.showToolbar,
|
|
586
586
|
toolbarTitle: this.toolbarTitle,
|
|
587
587
|
showSearch: this.showSearch,
|
|
588
588
|
searchPlaceholder: this.searchPlaceholder,
|
|
589
589
|
searchValue: this.searchValue,
|
|
590
590
|
onSearchInput: this.handleSearchInput,
|
|
591
|
-
}), h("div", { key: '
|
|
591
|
+
}), h("div", { key: '4b1b1059c2bfd59aefb048188563f3effc8dbf72', class: "table-scroll-area" }, h("table", { key: '790c6909a3ecfd66cd452e5314d1f5a2cd2b70ae', class: "table-el", style: this.twoLineRows ? { '--q-table-action-count': String(model.rowActions.length) } : undefined }, renderDataTableHead({
|
|
592
592
|
model,
|
|
593
593
|
onSelectAllChange: event => this.handleSelectAllChange(event),
|
|
594
594
|
onSortToggle: column => this.handleSortToggle(column),
|
|
@@ -601,7 +601,7 @@ const QDataTable = class {
|
|
|
601
601
|
onRowCheckboxChange: (item, index, event) => this.handleRowCheckboxChange(item, index, event),
|
|
602
602
|
onRowAction: (item, index, action, event) => this.handleRowAction(item, index, action, event),
|
|
603
603
|
renderCell: (item, column) => this.renderCell(item, column),
|
|
604
|
-
}))), h("slot", { key: '
|
|
604
|
+
}))), h("slot", { key: '570258218b4c63d2d48b29d58135e89ffee70add', name: "footer" })));
|
|
605
605
|
}
|
|
606
606
|
};
|
|
607
607
|
QDataTable.style = dataTableCss();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { w as waitForTransitionEnd, f as focusFirstElement, s as safeFocus, b as getDeepActiveElement, h as handleTabTrap } from './dom-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DoGM9gsC.js';
|
|
2
|
+
import { w as waitForTransitionEnd, f as focusFirstElement, s as safeFocus, b as getDeepActiveElement, h as handleTabTrap } from './dom-CArIPzJU.js';
|
|
3
3
|
|
|
4
4
|
function resolveDialogBackdropEffect(effect) {
|
|
5
5
|
switch (effect) {
|
|
@@ -254,9 +254,9 @@ const QDialog = class {
|
|
|
254
254
|
'dialog-backdrop': true,
|
|
255
255
|
[`effect-${backdropEffect}`]: true,
|
|
256
256
|
};
|
|
257
|
-
return (h("div", { key: '
|
|
257
|
+
return (h("div", { key: 'c0ac67222109ef770da940730d15f7b8bc7247be', class: classes, onKeyDown: this.handleKeyDown, inert: !this.open ? true : undefined }, h("div", { key: 'bae02db8240037595e49ba4a24f0500b27d9dcdf', class: backdropClasses, onClick: this.handleBackdropClick, part: "backdrop" }), h("div", { key: 'af17425f8d0e1bc49dafe666d9c784e38404e807', ref: el => (this.dialogEl = el), class: "dialog-modal", part: "modal", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": ariaLabel, "aria-labelledby": !ariaLabel && titleText ? this.titleId : undefined, "aria-describedby": this.message ? this.descriptionId : undefined, tabindex: "-1" }, h("header", { key: '040b01428317995ed761e4fe8ba8acfa9f98005a', class: "dialog-header", part: "header" }, h("slot", { key: '9fb2d093c17e214f3aee8e87506bde98cfe6e1c7', name: "header" }, titleText && h("h2", { key: 'e3ddb11d7ec13ba667beeeec46cbc939f47429fc', id: this.titleId, class: "dialog-title" }, titleText)), h("button", { key: 'd719f755f33f0a540dd842d87a23c08563afc35d', class: "dialog-close-btn", onClick: this.handleCloseButton, "aria-label": this.closeLabel, disabled: this.loading, part: "close-btn" }, h("svg", { key: '679be75b97c3cb307dc0c8e36ada30796b9b67c5', class: "close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: '40f190e8c82b440a67b2f82c5e1eb0c76092d14d', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: 'e96bc59a92ad0b1111907c899362ed05c54a2a30', x1: "6", y1: "6", x2: "18", y2: "18" })))), h("div", { key: 'a024b5365a183400ca8fda240e967eb4b6258fdf', class: "dialog-body", part: "body" }, h("slot", { key: 'c0aa788e43f7615732a291cd21d035426acf76ff' }, this.message && h("p", { key: 'cd68e2e7b245a85a0b92ed2b523b1859b65f3c9f', id: this.descriptionId, class: "dialog-message" }, this.message))), h("footer", { key: '066698d99c33dbdb3266d19c3d3b4acc69fa8570', class: { 'dialog-footer': true, 'is-hidden': !this.showCancel && !this.showConfirm && !this.hasFooter }, part: "footer" }, h("slot", { key: 'd6ee1006406316e8e822a82a20ea501825db14bd', name: "footer", onSlotchange: event => {
|
|
258
258
|
this.hasFooter = event.target.assignedNodes().some(node => node.nodeType === 1 || !!node.textContent?.trim());
|
|
259
|
-
} }, h("div", { key: '
|
|
259
|
+
} }, h("div", { key: '97dceeacd21f3d045bfc885510b3b2b71dc9264a', class: "dialog-actions" }, this.showCancel && (h("button", { key: '5e46a756f1894edb95ee746048bf8b60aa942acd', class: "btn-cancel", onClick: this.handleCancel, disabled: this.loading, part: "cancel-btn" }, this.cancelLabel)), this.showConfirm && (h("button", { key: 'f1769f0987e836ec5e02095e64a9efe9e9a88743', class: "btn-confirm", onClick: this.handleConfirm, disabled: this.loading, "aria-busy": this.loading ? 'true' : 'false', part: "confirm-btn" }, this.loading && h("span", { key: 'a8fe2b08e474ad71c07dd1a1c0f10e617a7ce2ed', class: "spinner-el" }), h("span", { key: '36f6f2690bc5043754fe2a889a132b1533249f0f', class: "btn-label" }, this.confirmLabel)))))))));
|
|
260
260
|
}
|
|
261
261
|
static get watchers() { return {
|
|
262
262
|
"open": [{
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-DoGM9gsC.js';
|
|
2
|
+
import { s as spaceValue } from './tokens-BDsIecIx.js';
|
|
3
|
+
|
|
4
|
+
const dividerCss = () => `:host{--_q-divider-inset:var(--q-divider-inset, var(--q-space-sm, .5rem));--_q-divider-usable:max(0px, calc(100% - var(--_q-divider-inset) - var(--_q-divider-inset)));--_q-divider-thickness:var(--q-divider-thickness, 1px);position:relative;display:block;box-sizing:border-box;min-width:0;min-height:0;height:var(--_q-divider-thickness);align-self:stretch;flex:0 0 auto;margin-block:var(--_q-divider-spacing, 0px)}[part='line']{position:absolute;box-sizing:border-box;top:50%;left:50%;transform:translate(-50%, -50%);width:clamp(0px, var(--_q-divider-length, 100%), var(--_q-divider-usable));height:0;border:0 solid var(--q-divider-color, var(--q-border-color, #374151));border-top-width:var(--_q-divider-thickness)}:host([orientation='vertical']){width:var(--_q-divider-thickness);height:auto;margin-block:0;margin-inline:var(--_q-divider-spacing, 0px)}:host([orientation='vertical']) [part='line']{width:0;height:clamp(0px, var(--_q-divider-length, 100%), var(--_q-divider-usable));border-top-width:0;border-left-width:var(--_q-divider-thickness)}@media (forced-colors: active){[part='line']{border-color:CanvasText}}`;
|
|
5
|
+
|
|
6
|
+
const QDivider = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
/** Physical direction of the separator. */
|
|
11
|
+
orientation = 'horizontal';
|
|
12
|
+
/** CSS length or percentage, capped to the allocated extent minus endpoint insets. */
|
|
13
|
+
length = 'auto';
|
|
14
|
+
/** Symmetric external spacing perpendicular to the line. */
|
|
15
|
+
spacing = 'lg';
|
|
16
|
+
/** Hide a purely visual separator from assistive technology. */
|
|
17
|
+
decorative = false;
|
|
18
|
+
render() {
|
|
19
|
+
return h(Host, { key: 'eadd9334a6f43375fdf364710462eef9dc0b2b22', role: this.decorative ? undefined : 'separator', "aria-orientation": this.decorative ? undefined : this.orientation, "aria-hidden": this.decorative ? 'true' : undefined, style: { '--_q-divider-length': this.length === 'auto' ? '100%' : this.length, '--_q-divider-spacing': spaceValue(this.spacing) } }, h("span", { key: '999050a927f952484de99c165f2b20132d64eec4', part: "line", "aria-hidden": "true" }));
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
QDivider.style = dividerCss();
|
|
23
|
+
|
|
24
|
+
export { QDivider as q_divider };
|