@webquark/browser 1.1.0-dev.11 → 1.1.0-dev.13
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-DmLaQuU2.js → action.props-B6vl_1p5.js} +1 -1
- package/dist/cjs/{dom-Dk77oFF6.js → dom-BYrqRYna.js} +1 -1
- package/dist/cjs/{field-CEZ9NsWK.js → field-B5nxD8Kc.js} +1 -1
- package/dist/cjs/{index-CMAcJ6t1.js → index-BD6Jjssb.js} +4 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/q-dropdown.cjs.entry.js +218 -21
- package/dist/cjs/q-form.cjs.entry.js +15 -5
- package/dist/cjs/q-grid.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/q-input_2.cjs.entry.js +7 -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 +6 -6
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/actions/button/button.css +22 -0
- 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/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 +115 -0
- package/dist/collection/components/inputs/dropdown/dropdown.js +274 -23
- 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/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/input/input.css +22 -0
- package/dist/collection/components/inputs/input/input.js +3 -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.js +2 -2
- package/dist/collection/components/inputs/toggle/toggle.css +22 -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.js +1 -1
- 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/utils/dom.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-iXEnb5d5.js → p-BGHNFaaC.js} +1 -1
- package/dist/components/{p--r63tfQH.js → p-BZXIeEKC.js} +1 -1
- package/dist/components/{p-DbI_F3z0.js → p-Bc2_QcLn.js} +1 -1
- package/dist/components/{p-DBbiaYqQ.js → p-Bp6Xr92S.js} +1 -1
- package/dist/components/{p-CSucjZb7.js → 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-CLErjC1f.js → p-D2nxHd1b.js} +1 -1
- package/dist/components/{p-DQhiqYeq.js → p-DkanItP3.js} +1 -1
- package/dist/components/p-IwIJb0Mc.js +1 -0
- package/dist/components/{p-0feRVg70.js → p-kfrqZyfJ.js} +1 -1
- package/dist/components/{p-CYG3Oakz.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.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.js +1 -1
- package/dist/components/q-grid.js +1 -1
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-image-comparison.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-DhnvhbLl.js → action.props-Di_LpF5H.js} +1 -1
- package/dist/esm/{dom-ByfrUWx1.js → dom-CArIPzJU.js} +1 -1
- package/dist/esm/{field-u-k7C7Rf.js → field-C4Iilew6.js} +1 -1
- package/dist/esm/{index-DaJmsCb7.js → index-DoGM9gsC.js} +4 -1
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/q-dropdown.entry.js +218 -21
- package/dist/esm/q-form.entry.js +15 -5
- package/dist/esm/q-grid.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/q-input_2.entry.js +7 -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 +6 -6
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- package/dist/esm/webquark.js +3 -3
- 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 +29 -2
- 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/form/internals/field-state.d.ts +1 -1
- 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/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.d.ts +284 -9
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/form-field-adapter.d.ts +3 -3
- package/dist/webquark/{p-b8f4994a.entry.js → p-0182e114.entry.js} +1 -1
- package/dist/webquark/{p-4d611b93.entry.js → p-048103e0.entry.js} +1 -1
- package/dist/webquark/{p-a30d212f.entry.js → p-0a2c52de.entry.js} +1 -1
- package/dist/webquark/p-0baf478a.entry.js +1 -0
- package/dist/webquark/{p-5d6fb0d1.entry.js → p-15bad9ef.entry.js} +1 -1
- package/dist/webquark/p-17b9713f.entry.js +1 -0
- package/dist/webquark/{p-32055acd.entry.js → p-222405b8.entry.js} +1 -1
- package/dist/webquark/{p-7723e966.entry.js → p-2eaa3a9f.entry.js} +1 -1
- package/dist/webquark/{p-e7384b6e.entry.js → p-3daafc56.entry.js} +1 -1
- package/dist/webquark/{p-220ec9cf.entry.js → p-44bbe12f.entry.js} +1 -1
- package/dist/webquark/{p-dee50f0a.entry.js → p-4609c362.entry.js} +1 -1
- package/dist/webquark/{p-0f04ceab.entry.js → p-5b584d3c.entry.js} +1 -1
- package/dist/webquark/p-65fe9cac.entry.js +1 -0
- package/dist/webquark/{p-1e8797d1.entry.js → p-846dc838.entry.js} +1 -1
- package/dist/webquark/{p-d2c4696f.entry.js → p-84b350a3.entry.js} +1 -1
- package/dist/webquark/p-85131314.entry.js +1 -0
- package/dist/webquark/{p-a87f0bde.entry.js → p-852e88ae.entry.js} +1 -1
- package/dist/webquark/{p-596737cc.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-687be7d4.entry.js → p-9a76cd71.entry.js} +1 -1
- package/dist/webquark/p-CArIPzJU.js +1 -0
- package/dist/webquark/{p-BuctNczf.js → p-DDUED8LT.js} +1 -1
- package/dist/webquark/{p-Bk4FnOfb.js → p-Dnz3WmdX.js} +1 -1
- package/dist/webquark/{p-DaJmsCb7.js → p-DoGM9gsC.js} +1 -1
- package/dist/webquark/p-a0d97367.entry.js +1 -0
- package/dist/webquark/{p-3af50215.entry.js → p-a16bd8d5.entry.js} +2 -2
- package/dist/webquark/{p-6d2d016a.entry.js → p-a2334abe.entry.js} +1 -1
- package/dist/webquark/{p-5cccb6bc.entry.js → p-a2ff1b64.entry.js} +1 -1
- package/dist/webquark/{p-a199de7d.entry.js → p-a314bc21.entry.js} +1 -1
- package/dist/webquark/p-a3e1096d.entry.js +1 -0
- package/dist/webquark/{p-b9c8c081.entry.js → p-a66550da.entry.js} +1 -1
- package/dist/webquark/{p-b75ec829.entry.js → p-aa342e81.entry.js} +1 -1
- package/dist/webquark/{p-c662904e.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-e3c18c0e.entry.js → p-b8fdef4f.entry.js} +1 -1
- package/dist/webquark/{p-78c56cd3.entry.js → p-d4788321.entry.js} +1 -1
- package/dist/webquark/{p-191a7063.entry.js → p-d86bd51d.entry.js} +1 -1
- package/dist/webquark/{p-b82aaf4c.entry.js → p-dbcf7592.entry.js} +1 -1
- package/dist/webquark/p-e0943d41.entry.js +1 -0
- package/dist/webquark/{p-41deb44c.entry.js → p-e2721e77.entry.js} +1 -1
- package/dist/webquark/{p-ddeb2d4c.entry.js → p-e723a7ae.entry.js} +1 -1
- package/dist/webquark/p-eb800d1e.entry.js +1 -0
- package/dist/webquark/{p-fbd1cbbe.entry.js → p-f4d23ffe.entry.js} +1 -1
- package/dist/webquark/{p-cab898c2.entry.js → p-f51e1098.entry.js} +1 -1
- package/dist/webquark/{p-44eda084.entry.js → p-fe14f038.entry.js} +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +2 -2
- package/dist/components/p-ByfrUWx1.js +0 -1
- package/dist/components/p-cSh-5xis.js +0 -1
- package/dist/webquark/p-10dc5cce.entry.js +0 -1
- package/dist/webquark/p-2291095e.entry.js +0 -1
- package/dist/webquark/p-473a1810.entry.js +0 -1
- package/dist/webquark/p-4cf40080.entry.js +0 -1
- package/dist/webquark/p-6a5033da.entry.js +0 -1
- package/dist/webquark/p-70e3a23a.entry.js +0 -1
- package/dist/webquark/p-8a0733a1.entry.js +0 -1
- package/dist/webquark/p-ByfrUWx1.js +0 -1
- package/dist/webquark/p-bf568cda.entry.js +0 -1
- package/dist/webquark/p-f63fd66f.entry.js +0 -1
- package/dist/webquark/p-f95aeb8d.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import type { QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition } from './carousel.types';
|
|
2
|
+
import type { QCarouselAutoplayBehavior, QCarouselSlideTiming, QCarouselPlaybackChangeDetail, QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition } from './carousel.types';
|
|
3
3
|
/**
|
|
4
4
|
* A carousel with sliding, crossfade or instant transitions and shared navigation.
|
|
5
5
|
*
|
|
@@ -18,6 +18,8 @@ export declare class QCarousel {
|
|
|
18
18
|
snapAlignment: QCarouselSnapAlignment;
|
|
19
19
|
/** `auto` preserves each slotted item's natural width. */
|
|
20
20
|
itemWidth: string;
|
|
21
|
+
/** Overlay keeps playback separate from the indicators/extra-controls panel. */
|
|
22
|
+
rotationPlacement: 'controls' | 'overlay';
|
|
21
23
|
/** Omitted controls are enabled for navigable slideshows and disabled for strips. */
|
|
22
24
|
showArrows?: boolean;
|
|
23
25
|
/** Shows clickable slide indicator dots when the carousel can scroll. */
|
|
@@ -28,12 +30,18 @@ export declare class QCarousel {
|
|
|
28
30
|
transition: QCarouselTransition;
|
|
29
31
|
/** Crossfade duration in milliseconds; native sliding keeps browser-controlled timing. */
|
|
30
32
|
transitionDuration: number;
|
|
31
|
-
/** Enables rotation
|
|
33
|
+
/** Enables rotation with the configured interaction behavior. */
|
|
32
34
|
autoplay: boolean;
|
|
35
|
+
/** Continuous rotation ignores hover and interaction; explicit pause remains available. */
|
|
36
|
+
autoplayBehavior: QCarouselAutoplayBehavior;
|
|
33
37
|
/** Finite positive interval in milliseconds; invalid values use 5000. */
|
|
34
38
|
autoplayInterval: number;
|
|
35
39
|
/** Temporarily suspends requested playback without changing the button action. */
|
|
36
40
|
autoplaySuspended: boolean;
|
|
41
|
+
/** Finish-videos delegates each active visit's timing to setSlidePlayback(). */
|
|
42
|
+
slideTiming: QCarouselSlideTiming;
|
|
43
|
+
/** Holds advancement for loading without pausing the active media. */
|
|
44
|
+
autoplayAdvanceSuspended: boolean;
|
|
37
45
|
/** Accessible name forwarded to the slide viewport. */
|
|
38
46
|
ariaLabel: string;
|
|
39
47
|
hasExtraControls: boolean;
|
|
@@ -47,12 +55,15 @@ export declare class QCarousel {
|
|
|
47
55
|
qSlideChange: EventEmitter<QCarouselSlideChangeDetail>;
|
|
48
56
|
/** Actual running state, including temporary suspension. */
|
|
49
57
|
qAutoplayChange: EventEmitter<QCarouselAutoplayChangeDetail>;
|
|
58
|
+
/** Playback intent and eligibility, independent of an image-readiness advance hold. */
|
|
59
|
+
qPlaybackChange: EventEmitter<QCarouselPlaybackChangeDetail>;
|
|
50
60
|
el: HTMLElement;
|
|
51
61
|
private slideState;
|
|
52
62
|
private touchStart?;
|
|
53
63
|
private get stacked();
|
|
54
64
|
private get managesSlides();
|
|
55
65
|
private get navigable();
|
|
66
|
+
private get rotationVisible();
|
|
56
67
|
private get arrowsVisible();
|
|
57
68
|
private get indicatorsVisible();
|
|
58
69
|
private get viewportFocusable();
|
|
@@ -72,6 +83,10 @@ export declare class QCarousel {
|
|
|
72
83
|
private programmaticScrollToken;
|
|
73
84
|
private connected;
|
|
74
85
|
private hovered;
|
|
86
|
+
private selectedElement?;
|
|
87
|
+
private selectionGeneration;
|
|
88
|
+
private slidePlayback?;
|
|
89
|
+
private playbackState;
|
|
75
90
|
private reducedMotion;
|
|
76
91
|
private motionPreference?;
|
|
77
92
|
private rotationButton?;
|
|
@@ -88,6 +103,10 @@ export declare class QCarousel {
|
|
|
88
103
|
play(): Promise<void>;
|
|
89
104
|
/** Stops rotation until play() or the playback control explicitly restarts it. */
|
|
90
105
|
pause(): Promise<void>;
|
|
106
|
+
/** Registers timing for the current slide and responsive-media visit only. */
|
|
107
|
+
setSlidePlayback(element: HTMLElement, key: string, mode: 'interval' | 'completion'): Promise<void>;
|
|
108
|
+
/** Completes the registered visit; stale or duplicate media events are ignored. */
|
|
109
|
+
completeSlide(key: string): Promise<void>;
|
|
91
110
|
/** Recalculates slide offsets, scroll bounds, and navigation states. */
|
|
92
111
|
updateLimits(): Promise<void>;
|
|
93
112
|
private syncAutoplay;
|
|
@@ -95,6 +114,7 @@ export declare class QCarousel {
|
|
|
95
114
|
private handleHover;
|
|
96
115
|
private isRotationEvent;
|
|
97
116
|
private handleInteraction;
|
|
117
|
+
private pauseOnInteraction;
|
|
98
118
|
private handleFocus;
|
|
99
119
|
private handleRotationClick;
|
|
100
120
|
private updateSlideState;
|
|
@@ -119,5 +139,6 @@ export declare class QCarousel {
|
|
|
119
139
|
private handlePointerUp;
|
|
120
140
|
private handlePointerCancel;
|
|
121
141
|
private handleExtraControlsChange;
|
|
142
|
+
private renderRotationButton;
|
|
122
143
|
render(): any;
|
|
123
144
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export type QCarouselSnapAlignment = 'start' | 'center' | 'end' | 'none';
|
|
2
2
|
export type QCarouselLayout = 'strip' | 'slideshow';
|
|
3
|
+
export type QCarouselAutoplayBehavior = 'pauseOnInteraction' | 'continuous';
|
|
4
|
+
export type QCarouselSlideTiming = 'fixedInterval' | 'finishVideos';
|
|
5
|
+
export interface QCarouselPlaybackChangeDetail {
|
|
6
|
+
playing: boolean;
|
|
7
|
+
requested: boolean;
|
|
8
|
+
}
|
|
3
9
|
export interface QCarouselAutoplayChangeDetail {
|
|
4
10
|
playing: boolean;
|
|
5
11
|
}
|
|
@@ -4,6 +4,9 @@ export interface CarouselAutoplayConfig {
|
|
|
4
4
|
suspended: boolean;
|
|
5
5
|
reducedMotion: boolean;
|
|
6
6
|
interval: number;
|
|
7
|
+
timing?: 'interval' | 'completion' | 'pending';
|
|
8
|
+
visitKey?: string;
|
|
9
|
+
advanceSuspended?: boolean;
|
|
7
10
|
}
|
|
8
11
|
/** Separates persistent playback intent from temporary hover/visibility suspension. */
|
|
9
12
|
export declare class CarouselAutoplay {
|
|
@@ -12,11 +15,13 @@ export declare class CarouselAutoplay {
|
|
|
12
15
|
private config;
|
|
13
16
|
private requested;
|
|
14
17
|
private timer?;
|
|
18
|
+
private completed;
|
|
15
19
|
constructor(advance: () => boolean, changed: (playing: boolean, requested: boolean) => void);
|
|
16
20
|
configure(config: CarouselAutoplayConfig): void;
|
|
17
21
|
play(): void;
|
|
18
22
|
pause(): void;
|
|
19
23
|
disconnect(): void;
|
|
24
|
+
complete(visitKey: string): void;
|
|
20
25
|
private sync;
|
|
21
26
|
private clearTimer;
|
|
22
27
|
}
|
|
@@ -19,13 +19,17 @@ export declare class QDropdown {
|
|
|
19
19
|
/** Options to render; strings use the same text for label and value, while objects allow separate values. */
|
|
20
20
|
options: DropdownOptionInput[] | string;
|
|
21
21
|
value: string;
|
|
22
|
+
/** Select several options. Uses values/qValuesChange instead of value/qChange. */
|
|
23
|
+
multiple: boolean;
|
|
24
|
+
/** Selected identities in multiple mode. Replace the array to update selections. */
|
|
25
|
+
values: string[];
|
|
22
26
|
/** Keep the label accessible without displaying it. */
|
|
23
27
|
labelHidden: boolean;
|
|
24
28
|
/** Omitted inherits the enclosing form; false cancels reservation. */
|
|
25
29
|
reserveFeedback?: boolean;
|
|
26
30
|
size: QDropdownSize;
|
|
27
|
-
/** Opt-in horizontal width;
|
|
28
|
-
width?: QInputWidth;
|
|
31
|
+
/** Opt-in horizontal width; fit-options sizes to loaded option labels. Omitted keeps the full-width layout. */
|
|
32
|
+
width?: QInputWidth | 'fit-options';
|
|
29
33
|
searchable: boolean;
|
|
30
34
|
/** Search in the main editable control (default) or a separate menu field. Applies only when searchable. */
|
|
31
35
|
searchMode: 'default' | 'menu';
|
|
@@ -52,6 +56,8 @@ export declare class QDropdown {
|
|
|
52
56
|
internals: ElementInternals;
|
|
53
57
|
/** Emitted with the selected option value when selection changes. */
|
|
54
58
|
qChange: EventEmitter<string>;
|
|
59
|
+
/** Complete selected identities after an add or removal in multiple mode. */
|
|
60
|
+
qValuesChange: EventEmitter<string[]>;
|
|
55
61
|
/** Emitted with the selected option object when selection changes. */
|
|
56
62
|
qSelect: EventEmitter<Option>;
|
|
57
63
|
/** Emitted with the current search term when a searchable dropdown uses external search. */
|
|
@@ -73,19 +79,34 @@ export declare class QDropdown {
|
|
|
73
79
|
private positionFrame;
|
|
74
80
|
private floatingCleanup?;
|
|
75
81
|
private floatingResizeObserver?;
|
|
82
|
+
private fitOptionsMeasure?;
|
|
83
|
+
private fitOptionsObserver?;
|
|
76
84
|
private draftEdited;
|
|
77
85
|
private selectedLabelCache?;
|
|
78
86
|
private composing;
|
|
79
87
|
private lastSearchValue?;
|
|
88
|
+
private initialValues;
|
|
89
|
+
private multipleLabels;
|
|
90
|
+
private multipleFrame?;
|
|
91
|
+
private chipMeasure?;
|
|
92
|
+
private multipleObserver?;
|
|
93
|
+
private visibleChips;
|
|
94
|
+
private selectedPanel;
|
|
80
95
|
private get editableSearch();
|
|
96
|
+
private get selectedValues();
|
|
81
97
|
private reconcileSelectedLabel;
|
|
82
98
|
private closeMenu;
|
|
83
99
|
watchSearchMode(): void;
|
|
100
|
+
connectedCallback(): void;
|
|
84
101
|
disconnectedCallback(): void;
|
|
85
102
|
formDisabledCallback(): void;
|
|
86
103
|
componentDidLoad(): void;
|
|
87
104
|
componentDidRender(): void;
|
|
105
|
+
private observeFitOptions;
|
|
106
|
+
private updateFitOptionsWidth;
|
|
88
107
|
watchValue(newValue: string): void;
|
|
108
|
+
watchValues(): void;
|
|
109
|
+
watchMultiple(): void;
|
|
89
110
|
syncValidity(): void;
|
|
90
111
|
checkValidity(): Promise<boolean>;
|
|
91
112
|
reportValidity(): Promise<boolean>;
|
|
@@ -95,6 +116,12 @@ export declare class QDropdown {
|
|
|
95
116
|
componentWillLoad(): void;
|
|
96
117
|
formResetCallback(): void;
|
|
97
118
|
private getFormSelection;
|
|
119
|
+
private getMultipleFormSelection;
|
|
120
|
+
private reconcileMultipleLabels;
|
|
121
|
+
private removeValue;
|
|
122
|
+
private observeMultipleLayout;
|
|
123
|
+
private measureMultipleLayout;
|
|
124
|
+
private openSelectedPanel;
|
|
98
125
|
private clearScrollLoading;
|
|
99
126
|
private getOptionLabel;
|
|
100
127
|
private getAllOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../../../../../packages/browser/components/dist/webquark/webquark.css';
|
|
@@ -9,7 +9,7 @@ export interface FieldState {
|
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
active: boolean;
|
|
11
11
|
entries: SuccessfulEntry[];
|
|
12
|
-
model: string | boolean | null;
|
|
12
|
+
model: string | string[] | boolean | null;
|
|
13
13
|
custom?: CustomFormField;
|
|
14
14
|
}
|
|
15
15
|
/** Radio exclusivity belongs to the native owner, tree and name, not q-form. */
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* Single-value range input with a themed track, glowing thumb and optional value badge.
|
|
4
|
+
* @part label - Label and value row.
|
|
5
|
+
* @part value - Current-value badge.
|
|
6
|
+
* @part input - Native range control.
|
|
7
|
+
*/
|
|
8
|
+
export declare class QSlider {
|
|
9
|
+
el: HTMLElement;
|
|
10
|
+
/** Current value. Defaults to the minimum when omitted. */
|
|
11
|
+
value?: number;
|
|
12
|
+
label?: string;
|
|
13
|
+
/** Suffix for the displayed value, such as px or %. */
|
|
14
|
+
suffix: string;
|
|
15
|
+
showValue: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
|
+
step: number;
|
|
20
|
+
name?: string;
|
|
21
|
+
ariaLabel: string | null;
|
|
22
|
+
internals: ElementInternals;
|
|
23
|
+
/** Numeric value emitted continuously while dragging or using the keyboard. */
|
|
24
|
+
qInput: EventEmitter<number>;
|
|
25
|
+
/** Numeric value emitted when the interaction is committed. */
|
|
26
|
+
qChange: EventEmitter<number>;
|
|
27
|
+
private fieldDisabled;
|
|
28
|
+
private inputEl?;
|
|
29
|
+
private initialValue?;
|
|
30
|
+
componentWillLoad(): void;
|
|
31
|
+
constraintsChanged(): void;
|
|
32
|
+
disabledChanged(): void;
|
|
33
|
+
private get lower();
|
|
34
|
+
private get upper();
|
|
35
|
+
private get increment();
|
|
36
|
+
private normalize;
|
|
37
|
+
private syncForm;
|
|
38
|
+
componentDidLoad(): void;
|
|
39
|
+
formDisabledCallback(): void;
|
|
40
|
+
formResetCallback(): void;
|
|
41
|
+
formStateRestoreCallback(state: string | File | FormData | null): void;
|
|
42
|
+
focusElement(): Promise<void>;
|
|
43
|
+
private onValue;
|
|
44
|
+
render(): any;
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type QControlSize } from '../../../theme/tokens';
|
|
2
|
+
/**
|
|
3
|
+
* Visually joined controls with consumer-owned values and interactions.
|
|
4
|
+
* @slot - Direct input, dropdown, toggle, quantity selector or button children.
|
|
5
|
+
* @part group - Layout container; each child retains its own control surface.
|
|
6
|
+
*/
|
|
7
|
+
export declare class QControlGroup {
|
|
8
|
+
el: HTMLElement;
|
|
9
|
+
size: QControlSize;
|
|
10
|
+
orientation: 'horizontal' | 'vertical';
|
|
11
|
+
/** Name of the group; each child still needs its own accessible name. */
|
|
12
|
+
ariaLabel: string | null;
|
|
13
|
+
private observer?;
|
|
14
|
+
private managedChildren;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
private restoreChild;
|
|
18
|
+
private updateChildren;
|
|
19
|
+
render(): any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import '../../../../../../packages/browser/components/dist/components/q-control-group.js';
|
|
2
|
+
import '../../../../../../packages/browser/components/dist/components/q-input.js';
|
|
3
|
+
import '../../../../../../packages/browser/components/dist/components/q-dropdown.js';
|
|
4
|
+
import '../../../../../../packages/browser/components/dist/components/q-toggle.js';
|
|
5
|
+
import '../../../../../../packages/browser/components/dist/components/q-quantity-selector.js';
|
|
6
|
+
import '../../../../../../packages/browser/components/dist/components/q-button.js';
|
|
7
|
+
import '../../../../../../packages/browser/components/dist/components/q-form.js';
|