@sbb-esta/lyne-elements 4.0.0-next → 4.0.0-next.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/alert/alert/alert.component.js +5 -5
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +6 -6
- package/badge.css +3 -3
- package/breadcrumb/breadcrumb/breadcrumb.component.js +4 -4
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts +1 -0
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +5 -5
- package/button/common.js +1 -1
- package/button/mini-button/mini-button.component.js +1 -1
- package/button.js +1 -1
- package/calendar/calendar.component.d.ts +1 -0
- package/calendar/calendar.component.d.ts.map +1 -1
- package/calendar/calendar.component.js +2 -2
- package/card/card-badge/card-badge.component.js +7 -7
- package/card/card-button/card-button.component.d.ts +1 -1
- package/card/card-link/card-link.component.d.ts +1 -1
- package/card/common/card-action-common.d.ts.map +1 -1
- package/card/common/card-action-common.js +5 -10
- package/carousel/carousel/carousel.component.d.ts +2 -1
- package/carousel/carousel/carousel.component.d.ts.map +1 -1
- package/carousel/carousel/carousel.component.js +33 -28
- package/carousel/carousel-list/carousel-list.component.d.ts +1 -1
- package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
- package/carousel/carousel-list/carousel-list.component.js +17 -22
- package/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/checkbox/common.js +1 -1
- package/checkbox-common-CrwfdL9V.js +5 -0
- package/checkbox.js +1 -1
- package/chip/chip/chip.component.js +3 -3
- package/chip-label/chip-label.component.js +8 -8
- package/core/a11y/interactivity-checker.js +0 -7
- package/core/a11y/live-announcer.js +0 -7
- package/core/config/config.d.ts +5 -0
- package/core/config/config.d.ts.map +1 -1
- package/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/core/controllers/media-matchers-controller.js +27 -27
- package/core/datetime/native-date-adapter.d.ts +1 -0
- package/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/core/datetime/native-date-adapter.js +1 -1
- package/core/dom/breakpoint.d.ts +1 -0
- package/core/dom/breakpoint.d.ts.map +1 -1
- package/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
- package/core/styles/core.scss +67 -69
- package/core/styles/mixins/chip.scss +4 -4
- package/core/styles/mixins/lists.scss +3 -3
- package/core/styles/mixins/panel.scss +2 -2
- package/core/styles/mixins/typo.scss +42 -40
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss +166 -38
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +4 -4
- package/core/styles/typography.scss +6 -6
- package/core.css +92 -100
- package/custom-elements.json +1565 -1739
- package/date-input/date-input.component.d.ts +1 -0
- package/date-input/date-input.component.d.ts.map +1 -1
- package/date-input/date-input.component.js +1 -0
- package/development/alert/alert/alert.component.js +7 -5
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +3 -3
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +3 -3
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts +1 -0
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +5 -5
- package/development/button/common.js +1 -1
- package/development/button/mini-button/mini-button.component.js +2 -2
- package/development/button.js +1 -1
- package/development/calendar/calendar.component.d.ts +1 -0
- package/development/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar.component.js +17 -17
- package/development/card/card-badge/card-badge.component.js +3 -3
- package/development/card/card-button/card-button.component.d.ts +1 -1
- package/development/card/card-link/card-link.component.d.ts +1 -1
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/card/common/card-action-common.js +14 -7
- package/development/carousel/carousel/carousel.component.d.ts +2 -1
- package/development/carousel/carousel/carousel.component.d.ts.map +1 -1
- package/development/carousel/carousel/carousel.component.js +19 -8
- package/development/carousel/carousel-list/carousel-list.component.d.ts +1 -1
- package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
- package/development/carousel/carousel-list/carousel-list.component.js +7 -14
- package/development/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/development/checkbox/common.js +1 -1
- package/development/{checkbox-common-BZFJgZd7.js → checkbox-common-BKjxH3Rp.js} +12 -12
- package/development/checkbox.js +1 -1
- package/development/chip/chip/chip.component.js +3 -3
- package/development/chip-label/chip-label.component.js +6 -6
- package/development/core/a11y/interactivity-checker.js +1 -8
- package/development/core/a11y/live-announcer.js +1 -8
- package/development/core/config/config.d.ts +5 -0
- package/development/core/config/config.d.ts.map +1 -1
- package/development/core/config/config.js +1 -1
- package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/development/core/controllers/media-matchers-controller.js +5 -6
- package/development/core/datetime/native-date-adapter.d.ts +1 -0
- package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/development/core/datetime/native-date-adapter.js +2 -2
- package/development/core/dom/breakpoint.d.ts +1 -0
- package/development/core/dom/breakpoint.d.ts.map +1 -1
- package/development/core/dom/breakpoint.js +1 -1
- package/development/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-input-mixin.js +1 -1
- package/development/date-input/date-input.component.d.ts +1 -0
- package/development/date-input/date-input.component.d.ts.map +1 -1
- package/development/date-input/date-input.component.js +2 -1
- package/development/dialog/dialog/dialog.component.d.ts +3 -4
- package/development/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/development/dialog/dialog/dialog.component.js +47 -112
- package/development/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
- package/development/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
- package/development/dialog/dialog-actions/dialog-actions.component.js +3 -7
- package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts +0 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.js +5 -5
- package/development/dialog/dialog-content/dialog-content.component.d.ts +1 -0
- package/development/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
- package/development/dialog/dialog-content/dialog-content.component.js +14 -2
- package/development/dialog/dialog-title/dialog-title.component.d.ts +0 -1
- package/development/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/development/dialog/dialog-title/dialog-title.component.js +14 -7
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +3 -3
- package/development/file-selector/common.js +1 -1
- package/development/file-selector/file-selector/file-selector.component.d.ts +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +8 -8
- package/development/{file-selector-common-CsFa5XJ-.js → file-selector-common-B-9Eiig3.js} +4 -4
- package/development/file-selector.js +1 -1
- package/development/footer/footer.component.js +3 -3
- package/development/form-error/form-error.component.js +5 -5
- package/development/form-field/form-field/form-field.component.js +14 -14
- package/development/header/common/header-action-common.js +3 -3
- package/development/header/header-button/header-button.component.d.ts +1 -1
- package/development/header/header-environment/header-environment.component.js +3 -3
- package/development/header/header-link/header-link.component.d.ts +1 -1
- package/development/image/image.component.d.ts +0 -1
- package/development/image/image.component.d.ts.map +1 -1
- package/development/image/image.component.js +11 -16
- package/development/link/common/block-link-common.js +10 -10
- package/development/menu/common/menu-action-common.js +3 -3
- package/development/message/message.component.js +6 -6
- package/development/{mini-button-common-Di32bSJj.js → mini-button-common-D1dU4MgN.js} +4 -4
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +3 -3
- package/development/navigation/common/navigation-action-common.js +11 -11
- package/development/navigation/navigation-button/navigation-button.component.d.ts +1 -1
- package/development/navigation/navigation-link/navigation-link.component.d.ts +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +3 -3
- package/development/navigation/navigation-marker/navigation-marker.component.js +9 -9
- package/development/navigation/navigation-section/navigation-section.component.js +5 -5
- package/development/notification/notification.component.js +7 -7
- package/development/option/optgroup/optgroup-base-element.js +3 -3
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option/option-base-element.js +14 -4
- package/development/option/option/option.component.d.ts.map +1 -1
- package/development/option/option/option.component.js +8 -5
- package/development/option/option-hint/option-hint.component.js +3 -3
- package/development/paginator/common/paginator-common.d.ts.map +1 -1
- package/development/paginator/common/paginator-common.js +7 -24
- package/development/paginator/compact-paginator/compact-paginator.component.d.ts +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +5 -6
- package/development/paginator/paginator/paginator.component.d.ts +1 -7
- package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
- package/development/paginator/paginator/paginator.component.js +16 -31
- package/development/popover/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover/popover.component.js +63 -13
- package/development/radio-button/common.js +1 -1
- package/development/radio-button/radio-button/radio-button.component.d.ts +1 -1
- package/development/{radio-button-common-5uawgCpB.js → radio-button-common-BPrInmpg.js} +11 -11
- package/development/radio-button.js +1 -1
- package/development/sbb-tokens-DZrHvErO.js +19 -0
- package/development/select/select.component.d.ts +1 -1
- package/development/select/select.component.d.ts.map +1 -1
- package/development/select/select.component.js +8 -5
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +1 -1
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/development/status/status.component.js +4 -4
- package/development/stepper/step/step.component.js +3 -3
- package/development/stepper/step-label/step-label.component.js +15 -15
- package/development/tabs/tab-label/tab-label.component.js +18 -18
- package/development/tag/tag/tag.component.js +7 -7
- package/development/teaser/teaser.component.js +3 -3
- package/development/teaser-hero/teaser-hero.component.js +2 -2
- package/development/teaser-product/common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.d.ts +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +1 -1
- package/development/{teaser-product-common-B1KK4iNu.js → teaser-product-common-v3BvyFdH.js} +5 -5
- package/development/teaser-product.js +1 -1
- package/development/timetable-occupancy/timetable-occupancy.component.js +3 -3
- package/development/title/title-base.js +10 -10
- package/development/title/title.component.d.ts +1 -2
- package/development/title/title.component.d.ts.map +1 -1
- package/development/title/title.component.js +25 -13
- package/development/toast/toast.component.js +5 -5
- package/development/toggle/toggle/toggle.component.js +3 -3
- package/development/toggle/toggle-option/toggle-option.component.js +3 -3
- package/development/toggle-check/toggle-check.component.js +11 -11
- package/development/tooltip/tooltip.component.js +3 -3
- package/development/train/train/train.component.js +4 -4
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +3 -3
- package/development/train/train-wagon/train-wagon.component.js +9 -9
- package/dialog/dialog/dialog.component.d.ts +3 -4
- package/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/dialog/dialog/dialog.component.js +61 -58
- package/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
- package/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
- package/dialog/dialog-actions/dialog-actions.component.js +4 -7
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts +0 -1
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
- package/dialog/dialog-close-button/dialog-close-button.component.js +16 -19
- package/dialog/dialog-content/dialog-content.component.d.ts +1 -0
- package/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
- package/dialog/dialog-content/dialog-content.component.js +14 -11
- package/dialog/dialog-title/dialog-title.component.d.ts +0 -1
- package/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/dialog/dialog-title/dialog-title.component.js +11 -14
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/file-selector/common.js +1 -1
- package/file-selector/file-selector/file-selector.component.d.ts +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +9 -9
- package/{file-selector-common-CUp299VH.js → file-selector-common-DbYkpr-x.js} +1 -1
- package/file-selector.js +1 -1
- package/footer/footer.component.js +1 -1
- package/form-error/form-error.component.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/header/common/header-action-common.js +1 -1
- package/header/header-button/header-button.component.d.ts +1 -1
- package/header/header-environment/header-environment.component.js +4 -4
- package/header/header-link/header-link.component.d.ts +1 -1
- package/image/image.component.d.ts +0 -1
- package/image/image.component.d.ts.map +1 -1
- package/image/image.component.js +93 -97
- package/link/common/block-link-common.js +14 -14
- package/lists.css +9 -9
- package/menu/common/menu-action-common.js +1 -1
- package/message/message.component.js +6 -6
- package/mini-button-common-DSGLaplg.js +10 -0
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/navigation/common/navigation-action-common.js +17 -17
- package/navigation/navigation-button/navigation-button.component.d.ts +1 -1
- package/navigation/navigation-link/navigation-link.component.d.ts +1 -1
- package/navigation/navigation-list/navigation-list.component.js +3 -3
- package/navigation/navigation-marker/navigation-marker.component.js +12 -12
- package/navigation/navigation-section/navigation-section.component.js +5 -5
- package/notification/notification.component.js +1 -1
- package/off-brand-theme.css +145 -153
- package/option/optgroup/optgroup-base-element.js +1 -1
- package/option/option/option-base-element.d.ts.map +1 -1
- package/option/option/option-base-element.js +30 -20
- package/option/option/option.component.d.ts.map +1 -1
- package/option/option/option.component.js +8 -8
- package/option/option-hint/option-hint.component.js +10 -10
- package/package.json +1 -1
- package/paginator/common/paginator-common.d.ts.map +1 -1
- package/paginator/common/paginator-common.js +30 -46
- package/paginator/compact-paginator/compact-paginator.component.d.ts +1 -1
- package/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
- package/paginator/compact-paginator/compact-paginator.component.js +2 -3
- package/paginator/paginator/paginator.component.d.ts +1 -7
- package/paginator/paginator/paginator.component.d.ts.map +1 -1
- package/paginator/paginator/paginator.component.js +42 -54
- package/popover/popover/popover.component.d.ts.map +1 -1
- package/popover/popover/popover.component.js +70 -72
- package/radio-button/common.js +1 -1
- package/radio-button/radio-button/radio-button.component.d.ts +1 -1
- package/radio-button-common-chJrmIBn.js +5 -0
- package/radio-button.js +1 -1
- package/safety-theme.css +149 -157
- package/sbb-tokens-BNWpZrLn.js +11 -0
- package/select/select.component.d.ts +1 -1
- package/select/select.component.d.ts.map +1 -1
- package/select/select.component.js +22 -20
- package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +1 -1
- package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +5 -5
- package/standard-theme.css +145 -153
- package/status/status.component.js +4 -4
- package/stepper/step/step.component.js +3 -3
- package/stepper/step-label/step-label.component.js +1 -1
- package/table.css +27 -27
- package/tabs/tab-label/tab-label.component.js +10 -10
- package/tag/tag/tag.component.js +1 -1
- package/teaser/teaser.component.js +1 -1
- package/teaser-hero/teaser-hero.component.js +1 -1
- package/teaser-product/common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.d.ts +1 -1
- package/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +1 -1
- package/teaser-product-common-a4NenpSA.js +5 -0
- package/teaser-product.js +1 -1
- package/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/title/title-base.js +19 -19
- package/title/title.component.d.ts +1 -2
- package/title/title.component.d.ts.map +1 -1
- package/title/title.component.js +17 -17
- package/toast/toast.component.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +7 -7
- package/toggle-check/toggle-check.component.js +15 -15
- package/tooltip/tooltip.component.js +5 -5
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon/train-wagon.component.js +1 -1
- package/typography.css +11 -11
- package/checkbox-common-BGA_q9nc.js +0 -5
- package/development/sbb-tokens-DXgmy_b-.js +0 -21
- package/mini-button-common-DBnJfrBZ.js +0 -10
- package/radio-button-common-BT3VkZLM.js +0 -5
- package/sbb-tokens-CB1Hgctn.js +0 -12
- package/teaser-product-common-BwqWqRrK.js +0 -5
|
@@ -7,34 +7,34 @@ import { __esDecorate as o, __runInitializers as n } from "tslib";
|
|
|
7
7
|
import { MutationController as X } from "@lit-labs/observers/mutation-controller.js";
|
|
8
8
|
import { LitElement as J, html as m, nothing as G } from "lit";
|
|
9
9
|
import { property as P, state as v } from "lit/decorators.js";
|
|
10
|
-
import { isSafari as K, setOrRemoveAttribute as O, isAndroid as Q } from "../../core/dom.js";
|
|
11
|
-
import { SbbDisabledMixin as
|
|
12
|
-
import { SbbIconNameMixin as
|
|
10
|
+
import { isSafari as K, setOrRemoveAttribute as O, isAndroid as Q, isBlink as W } from "../../core/dom.js";
|
|
11
|
+
import { SbbDisabledMixin as Y, SbbElementInternalsMixin as Z, SbbHydrationMixin as B } from "../../core/mixins.js";
|
|
12
|
+
import { SbbIconNameMixin as tt } from "../../icon.js";
|
|
13
13
|
import "../../screen-reader-only.js";
|
|
14
|
-
let
|
|
15
|
-
const S = K,
|
|
14
|
+
let et = 0;
|
|
15
|
+
const S = K, it = {
|
|
16
16
|
attributeFilter: ["data-group-disabled", "data-negative"],
|
|
17
17
|
attributes: !0,
|
|
18
18
|
childList: !0,
|
|
19
19
|
subtree: !0,
|
|
20
20
|
characterData: !0
|
|
21
21
|
};
|
|
22
|
-
let
|
|
23
|
-
var c, u, b,
|
|
24
|
-
let s =
|
|
22
|
+
let ut = (() => {
|
|
23
|
+
var c, u, b, p, _, f, l;
|
|
24
|
+
let s = Y(tt(Z(B(J)))), a = [], r, A, x, L = [], y = [], H, k = [], C = [], I, $ = [], z = [], F, N = [], w = [], D, E = [], M = [], T, U = [], j = [];
|
|
25
25
|
return l = class extends s {
|
|
26
26
|
constructor() {
|
|
27
27
|
super();
|
|
28
28
|
g(this, c);
|
|
29
29
|
g(this, u);
|
|
30
30
|
g(this, b);
|
|
31
|
-
g(this, _);
|
|
32
31
|
g(this, p);
|
|
32
|
+
g(this, _);
|
|
33
33
|
g(this, f);
|
|
34
|
-
this._value = (n(this, a), null), h(this, c, n(this, L, !1)), h(this, u, (n(this, y), n(this, k, !1))), h(this, b, (n(this, C), n(this, $, void 0))), h(this,
|
|
34
|
+
this._value = (n(this, a), null), h(this, c, n(this, L, !1)), h(this, u, (n(this, y), n(this, k, !1))), h(this, b, (n(this, C), n(this, $, void 0))), h(this, p, (n(this, z), n(this, N, !1))), h(this, _, (n(this, w), n(this, E, null))), h(this, f, (n(this, M), n(this, U, !1))), n(this, j), this.addEventListener?.("click", (t) => this.selectByClick(t), {
|
|
35
35
|
passive: !0
|
|
36
36
|
}), this.addController(new X(this, {
|
|
37
|
-
config:
|
|
37
|
+
config: it,
|
|
38
38
|
callback: (t) => this.onExternalMutation(t)
|
|
39
39
|
})), S && (this.hydrationRequired ? this.hydrationComplete.then(() => this._inertAriaGroups = S) : this._inertAriaGroups = S);
|
|
40
40
|
}
|
|
@@ -79,17 +79,17 @@ let ct = (() => {
|
|
|
79
79
|
}
|
|
80
80
|
/** Disable the highlight of the label. */
|
|
81
81
|
get disableLabelHighlight() {
|
|
82
|
-
return d(this,
|
|
82
|
+
return d(this, p);
|
|
83
83
|
}
|
|
84
84
|
set disableLabelHighlight(t) {
|
|
85
|
-
h(this,
|
|
85
|
+
h(this, p, t);
|
|
86
86
|
}
|
|
87
87
|
/** The portion of the highlighted label. */
|
|
88
88
|
get _highlightString() {
|
|
89
|
-
return d(this,
|
|
89
|
+
return d(this, _);
|
|
90
90
|
}
|
|
91
91
|
set _highlightString(t) {
|
|
92
|
-
h(this,
|
|
92
|
+
h(this, _, t);
|
|
93
93
|
}
|
|
94
94
|
get _inertAriaGroups() {
|
|
95
95
|
return d(this, f);
|
|
@@ -112,7 +112,7 @@ let ct = (() => {
|
|
|
112
112
|
this.selected = t, this.selected && this.dispatchEvent(new Event("optionselected", { bubbles: !0, composed: !0 }));
|
|
113
113
|
}
|
|
114
114
|
connectedCallback() {
|
|
115
|
-
super.connectedCallback(), this.id ||= `${this.optionId}-${
|
|
115
|
+
super.connectedCallback(), this.id ||= `${this.optionId}-${et++}`, this.hydrationRequired ? this.hydrationComplete.then(() => this.init()) : this.init();
|
|
116
116
|
}
|
|
117
117
|
willUpdate(t) {
|
|
118
118
|
super.willUpdate(t), t.has("disabled") && (O(this, "tabindex", Q && !this.disabled && 0), this.updateAriaDisabled());
|
|
@@ -167,7 +167,7 @@ let ct = (() => {
|
|
|
167
167
|
`;
|
|
168
168
|
}
|
|
169
169
|
renderIcon() {
|
|
170
|
-
return m
|
|
170
|
+
return m`<span class="sbb-option__icon"> ${this.renderIconSlot()} </span>`;
|
|
171
171
|
}
|
|
172
172
|
renderLabel() {
|
|
173
173
|
return this.label && !this.disableLabelHighlight ? this.getHighlightedLabel() : G;
|
|
@@ -182,7 +182,17 @@ let ct = (() => {
|
|
|
182
182
|
${this.renderIcon()}
|
|
183
183
|
<span class="sbb-option__label">
|
|
184
184
|
<slot @slotchange=${this.handleHighlightState}></slot>
|
|
185
|
-
|
|
185
|
+
<span
|
|
186
|
+
aria-hidden=${/**
|
|
187
|
+
* Screen readers with Chromium read the option twice.
|
|
188
|
+
* We therefore have to hide the option for the screen readers.
|
|
189
|
+
* TODO: Recheck periodically if this is still necessary.
|
|
190
|
+
* https://issues.chromium.org/issues/460165741
|
|
191
|
+
*/
|
|
192
|
+
W ? "true" : G}
|
|
193
|
+
>
|
|
194
|
+
${this.renderLabel()}
|
|
195
|
+
</span>
|
|
186
196
|
${this._inertAriaGroups && this.getAttribute("data-group-label") ? m`<sbb-screen-reader-only>
|
|
187
197
|
(${this.getAttribute("data-group-label")})</sbb-screen-reader-only
|
|
188
198
|
>` : G}
|
|
@@ -192,7 +202,7 @@ let ct = (() => {
|
|
|
192
202
|
</div>
|
|
193
203
|
`;
|
|
194
204
|
}
|
|
195
|
-
}, c = new WeakMap(), u = new WeakMap(), b = new WeakMap(),
|
|
205
|
+
}, c = new WeakMap(), u = new WeakMap(), b = new WeakMap(), p = new WeakMap(), _ = new WeakMap(), f = new WeakMap(), (() => {
|
|
196
206
|
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(s[Symbol.metadata] ?? null) : void 0;
|
|
197
207
|
r = [P()], A = [P({ type: Boolean })], x = [v()], H = [v()], I = [v()], F = [v()], D = [v()], T = [v()], o(l, null, r, { kind: "setter", name: "value", static: !1, private: !1, access: { has: (e) => "value" in e, set: (e, i) => {
|
|
198
208
|
e.value = i;
|
|
@@ -216,5 +226,5 @@ let ct = (() => {
|
|
|
216
226
|
}, l;
|
|
217
227
|
})();
|
|
218
228
|
export {
|
|
219
|
-
|
|
229
|
+
ut as SbbOptionBaseElement
|
|
220
230
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/option/option/option.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAC;AAKpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,0BAA0B,CAAC;AAElC,MAAM,MAAM,gBAAgB,GAAG,cAAc,GAAG,QAAQ,GAAG,IAAI,CAAC;AAEhE;;;;;;;;GAQG;AACH,qBAEM,gBAAgB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,oBAAoB,CAAC,CAAC,CAAC;IAChE,gBAAgC,IAAI,YAAY;IAChD,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAgC,MAAM;;;MAG3B;IAEX,SAAS,CAAC,QAAQ,SAAgB;IAElC,OAAO,KAAK,QAAQ,QAInB;IACD,OAAO,KAAK,QAAQ,GAEnB;IAED,OAAO,KAAK,WAAW,QAEtB;IACD,OAAO,KAAK,WAAW,GAEtB;IAED,SAAS,CAAC,sBAAsB,IAAI,IAAI;IAgBxC,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;cAc7B,wBAAwB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;cAMjD,IAAI,IAAI,IAAI;IAS/B,OAAO,CAAC,oBAAoB;cAST,oBAAoB,IAAI,IAAI;cAS5B,UAAU,IAAI,cAAc;cAoB5B,WAAW,IAAI,cAAc,GAAG,OAAO,OAAO;
|
|
1
|
+
{"version":3,"file":"option.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/option/option/option.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAC;AAKpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,0BAA0B,CAAC;AAElC,MAAM,MAAM,gBAAgB,GAAG,cAAc,GAAG,QAAQ,GAAG,IAAI,CAAC;AAEhE;;;;;;;;GAQG;AACH,qBAEM,gBAAgB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,oBAAoB,CAAC,CAAC,CAAC;IAChE,gBAAgC,IAAI,YAAY;IAChD,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAgC,MAAM;;;MAG3B;IAEX,SAAS,CAAC,QAAQ,SAAgB;IAElC,OAAO,KAAK,QAAQ,QAInB;IACD,OAAO,KAAK,QAAQ,GAEnB;IAED,OAAO,KAAK,WAAW,QAEtB;IACD,OAAO,KAAK,WAAW,GAEtB;IAED,SAAS,CAAC,sBAAsB,IAAI,IAAI;IAgBxC,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;cAc7B,wBAAwB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;cAMjD,IAAI,IAAI,IAAI;IAS/B,OAAO,CAAC,oBAAoB;cAST,oBAAoB,IAAI,IAAI;cAS5B,UAAU,IAAI,cAAc;cAoB5B,WAAW,IAAI,cAAc,GAAG,OAAO,OAAO;cAO9C,UAAU,IAAI,cAAc,GAAG,OAAO,OAAO;CAKjE;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,YAAY,EAAE,gBAAgB,CAAC;KAChC;IAED,UAAU,2BAA2B;QACnC,qBAAqB,EAAE,KAAK,CAAC;KAC9B;CACF"}
|
|
@@ -4,11 +4,11 @@ import { customElement as p } from "lit/decorators.js";
|
|
|
4
4
|
import { boxSizingStyles as u } from "../../core/styles.js";
|
|
5
5
|
import { SbbOptionBaseElement as h } from "./option-base-element.js";
|
|
6
6
|
import "../../visual-checkbox.js";
|
|
7
|
-
const
|
|
7
|
+
const v = d`:host{--sbb-option-color: var(--sbb-color-3);--sbb-option-background-color: inherit;--sbb-option-background-color-hover: var(--sbb-background-color-3);--sbb-option-background-color-active: var(--sbb-background-color-4);--sbb-option-disabled-border-color: var(--sbb-color-graphite);--sbb-option-disabled-border-color: light-dark(var(--sbb-color-graphite), var(--sbb-color-smoke));--sbb-option-disabled-background-color: var(--sbb-background-color-3);--sbb-option-padding-inline: var(--sbb-spacing-responsive-xxxs);--sbb-option-min-height: var(--sbb-size-element-s);--sbb-option-column-gap: var(--sbb-spacing-responsive-xxxs);--sbb-option-justify-content: start;--sbb-option-cursor: var(--sbb-cursor-pointer);--sbb-option-border-radius: var(--sbb-border-radius-4x);--sbb-option-icon-color: var(--sbb-color-metal);--sbb-option-icon-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));--sbb-option-focus-outline-color: transparent;--sbb-option-focus-outline-inset: var(--sbb-spacing-fixed-1x);display:block}:host([data-negative]){--sbb-option-color: var(--sbb-color-3-negative);--sbb-option-icon-color: var(--sbb-color-5);--sbb-option-background-color-hover: var(--sbb-background-color-3-negative);--sbb-option-background-color-active: var(--sbb-background-color-4-negative);--sbb-option-disabled-border-color: var(--sbb-border-color-5);--sbb-option-disabled-background-color: var(--sbb-background-color-3-negative);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}@media(any-hover:hover){:host(:hover:not([disabled],[data-group-disabled])){--sbb-option-background-color: var(--sbb-option-background-color-hover)}}:host(:active:not([disabled],[data-group-disabled])){--sbb-option-background-color: var(--sbb-option-background-color-active)}:host(:not([data-disable-highlight])) .sbb-option__label slot{display:none}:host(:is([data-group-disabled],[disabled])){--sbb-option-cursor: var(--sbb-cursor-default)}@media(forced-colors:active){:host(:is([data-group-disabled],[disabled])){--sbb-option-color: GrayText}}:host([data-variant=select]){--sbb-option-column-gap: var(--sbb-spacing-fixed-2x);--sbb-option-justify-content: space-between}:host([data-variant=select][data-multiple]){--sbb-option-justify-content: start}:host([data-active]){--sbb-option-focus-outline-color: var(--sbb-focus-outline-color)}:host(:not(:is([disabled],[data-group-disabled]))) .sbb-option__label--highlight{font-weight:700}@media(forced-colors:active){:host(:not(:is([disabled],[data-group-disabled]))) .sbb-option__label--highlight{color:Highlight}}.sbb-option__container{background-color:var(--sbb-option-background-color)}.sbb-option{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);position:relative;display:flex;min-height:var(--sbb-option-min-height);align-items:center;column-gap:var(--sbb-option-column-gap);padding-inline:var(--sbb-option-padding-inline);justify-content:var(--sbb-option-justify-content);color:var(--sbb-option-color);cursor:var(--sbb-option-cursor);-webkit-tap-highlight-color:transparent;-webkit-text-fill-color:var(--sbb-option-color)}.sbb-option:after{content:"";display:block;position:absolute;inset:var(--sbb-option-focus-outline-inset);pointer-events:none;border:var(--sbb-focus-outline-width) solid var(--sbb-option-focus-outline-color);border-radius:var(--sbb-option-border-radius)}:host(:is([data-group-disabled],[disabled]):not([data-multiple])) .sbb-option{position:relative;z-index:0}:host(:is([data-group-disabled],[disabled]):not([data-multiple])) .sbb-option:before{content:"";display:block;position:absolute;inset:.375rem;border:var(--sbb-border-width-1x) dashed var(--sbb-option-disabled-border-color);border-radius:var(--sbb-border-radius-2x);background-color:var(--sbb-option-disabled-background-color);z-index:-1}@media(forced-colors:active){:host(:is([data-group-disabled],[disabled]):not([data-multiple])) .sbb-option:before{border-color:GrayText}}.sbb-option__icon{display:flex;min-width:var(--sbb-size-icon-ui-small);min-height:var(--sbb-size-icon-ui-small);color:var(--sbb-option-icon-color)}:host(:not(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name]))) .sbb-option__icon{display:var(--sbb-option-icon-container-display, none)}.sbb-option__label{text-overflow:var(--sbb-option-text-overflow);overflow:var(--sbb-option-overflow);white-space:var(--sbb-option-white-space, initial)}`;
|
|
8
8
|
let y = (() => {
|
|
9
9
|
var o;
|
|
10
|
-
let n = [p("sbb-option")], a,
|
|
11
|
-
return o = class extends
|
|
10
|
+
let n = [p("sbb-option")], a, r = [], i, b = h;
|
|
11
|
+
return o = class extends b {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.optionId = "sbb-option";
|
|
14
14
|
}
|
|
@@ -70,18 +70,18 @@ let y = (() => {
|
|
|
70
70
|
`;
|
|
71
71
|
}
|
|
72
72
|
renderLabel() {
|
|
73
|
-
return this._variant
|
|
73
|
+
return this._variant !== "autocomplete" ? e : super.renderLabel();
|
|
74
74
|
}
|
|
75
75
|
renderTick() {
|
|
76
76
|
return this._variant === "select" && !this._isMultiple && this.selected ? s`<sbb-icon name="tick-small"></sbb-icon>` : e;
|
|
77
77
|
}
|
|
78
78
|
}, i = o, (() => {
|
|
79
|
-
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
80
|
-
l(null, a = { value: i }, n, { kind: "class", name: i.name, metadata: t }, null,
|
|
81
|
-
})(), o.role = "option", o.styles = [u,
|
|
79
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
|
|
80
|
+
l(null, a = { value: i }, n, { kind: "class", name: i.name, metadata: t }, null, r), i = a.value, t && Object.defineProperty(i, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
81
|
+
})(), o.role = "option", o.styles = [u, v], o.events = {
|
|
82
82
|
optionselectionchange: "optionselectionchange",
|
|
83
83
|
optionselected: "optionselected"
|
|
84
|
-
}, c(i,
|
|
84
|
+
}, c(i, r), i;
|
|
85
85
|
})();
|
|
86
86
|
export {
|
|
87
87
|
y as SbbOptionElement
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __esDecorate as b, __runInitializers as l } from "tslib";
|
|
2
2
|
import { css as r, LitElement as p, html as c } from "lit";
|
|
3
|
-
import { customElement as
|
|
4
|
-
import { SbbNegativeMixin as
|
|
3
|
+
import { customElement as m } from "lit/decorators.js";
|
|
4
|
+
import { SbbNegativeMixin as d } from "../../core/mixins.js";
|
|
5
5
|
import { boxSizingStyles as v } from "../../core/styles.js";
|
|
6
|
-
const h = r`:host{display:block;--sbb-option-hint-color: var(--sbb-color-metal);--sbb-option-hint-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));--sbb-option-hint-column-gap: var(--sbb-spacing-responsive-xxxs);--sbb-option-hint-padding-block-end: var(--sbb-spacing-fixed-2x);--sbb-option-hint-padding-inline: var(--sbb-spacing-responsive-xxxs)}:host([negative]){--sbb-option-hint-color: var(--sbb-color-5)}.sbb-option-hint__wrapper{display:flex;column-gap:var(--sbb-option-hint-column-gap);padding-inline:var(--sbb-option-hint-padding-inline);padding-block-end:var(--sbb-option-hint-padding-block-end)}.sbb-optgroup__icon-space{display:var(--sbb-option-icon-container-display, none);min-width:var(--sbb-size-icon-ui-small)}.sbb-option-hint{--sbb-text-font-size: var(--sbb-font-size-
|
|
6
|
+
const h = r`:host{display:block;--sbb-option-hint-color: var(--sbb-color-metal);--sbb-option-hint-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));--sbb-option-hint-column-gap: var(--sbb-spacing-responsive-xxxs);--sbb-option-hint-padding-block-end: var(--sbb-spacing-fixed-2x);--sbb-option-hint-padding-inline: var(--sbb-spacing-responsive-xxxs)}:host([negative]){--sbb-option-hint-color: var(--sbb-color-5)}.sbb-option-hint__wrapper{display:flex;column-gap:var(--sbb-option-hint-column-gap);padding-inline:var(--sbb-option-hint-padding-inline);padding-block-end:var(--sbb-option-hint-padding-block-end)}.sbb-optgroup__icon-space{display:var(--sbb-option-icon-container-display, none);min-width:var(--sbb-size-icon-ui-small)}.sbb-option-hint{--sbb-text-font-size: var(--sbb-text-font-size-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);color:var(--sbb-option-hint-color);-webkit-text-fill-color:var(--sbb-option-hint-color)}`;
|
|
7
7
|
let _ = (() => {
|
|
8
|
-
var
|
|
9
|
-
let a = [
|
|
10
|
-
return
|
|
8
|
+
var i;
|
|
9
|
+
let a = [m("sbb-option-hint")], n, s = [], t, e = d(p);
|
|
10
|
+
return i = class extends e {
|
|
11
11
|
render() {
|
|
12
12
|
return c`
|
|
13
13
|
<div class="sbb-option-hint__wrapper">
|
|
@@ -18,10 +18,10 @@ let _ = (() => {
|
|
|
18
18
|
</div>
|
|
19
19
|
`;
|
|
20
20
|
}
|
|
21
|
-
}, t =
|
|
22
|
-
const
|
|
23
|
-
b(null, n = { value: t }, a, { kind: "class", name: t.name, metadata:
|
|
24
|
-
})(),
|
|
21
|
+
}, t = i, (() => {
|
|
22
|
+
const o = typeof Symbol == "function" && Symbol.metadata ? Object.create(e[Symbol.metadata] ?? null) : void 0;
|
|
23
|
+
b(null, n = { value: t }, a, { kind: "class", name: t.name, metadata: o }, null, s), t = n.value, o && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: o });
|
|
24
|
+
})(), i.styles = [v, h], l(t, s), t;
|
|
25
25
|
})();
|
|
26
26
|
export {
|
|
27
27
|
_ as SbbOptionHintElement
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginator-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/paginator/common/paginator-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAuB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAItF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AASlE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAIzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,6BAA6B,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,kBAAkB,CAAC;;AAE1B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,kCAAmC,SAAQ,uCAExE;IACC,SAAgB,MAAM,EAAE,MAAM,CAAC;IAC/B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,SAAgB,aAAa,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/C,SAAgB,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;IAChC,SAAgB,sBAAsB,EAAE,MAAM,CAAC;IAC/C,SAAgB,8BAA8B,EAAE,MAAM,CAAC;IACvD,SAAgB,0BAA0B,EAAE,MAAM,CAAC;IAC5C,QAAQ,IAAI,IAAI;IAChB,YAAY,IAAI,IAAI;IACpB,SAAS,IAAI,IAAI;IACjB,QAAQ,IAAI,IAAI;IAChB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAC/B,eAAe,IAAI,OAAO;IAC1B,WAAW,IAAI,OAAO;IACtB,aAAa,IAAI,MAAM;IAC9B,SAAS,CAAC,QAAQ,EAAE,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"paginator-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/paginator/common/paginator-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAuB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAItF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AASlE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAIzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,6BAA6B,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,kBAAkB,CAAC;;AAE1B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,kCAAmC,SAAQ,uCAExE;IACC,SAAgB,MAAM,EAAE,MAAM,CAAC;IAC/B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,SAAgB,aAAa,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/C,SAAgB,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;IAChC,SAAgB,sBAAsB,EAAE,MAAM,CAAC;IAC/C,SAAgB,8BAA8B,EAAE,MAAM,CAAC;IACvD,SAAgB,0BAA0B,EAAE,MAAM,CAAC;IAC5C,QAAQ,IAAI,IAAI;IAChB,YAAY,IAAI,IAAI;IACpB,SAAS,IAAI,IAAI;IACjB,QAAQ,IAAI,IAAI;IAChB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAC/B,eAAe,IAAI,OAAO;IAC1B,WAAW,IAAI,OAAO;IACtB,aAAa,IAAI,MAAM;IAC9B,SAAS,CAAC,QAAQ,EAAE,qBAAqB,CAAC;IAE1C,SAAS,CAAC,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IACpD,SAAS,CAAC,aAAa,CAAC,iBAAiB,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAC5E,SAAS,CAAC,qBAAqB,IAAI,cAAc;IACjD,SAAS,CAAC,QAAQ,CAAC,eAAe,IAAI,cAAc;CACrD;AAGD,eAAO,MAAM,8BAA8B,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EACtF,YAAY,CAAC,KACZ,mBAAmB,CAAC,kCAAkC,CAAC,GAAG,CAoP5D,CAAC;AAEF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,mBAAmB;QAC3B,IAAI,EAAE,WAAW,CAAC,4BAA4B,CAAC,CAAC;KACjD;CACF"}
|
|
@@ -2,34 +2,34 @@ var K = (a) => {
|
|
|
2
2
|
throw TypeError(a);
|
|
3
3
|
};
|
|
4
4
|
var Q = (a, n, g) => n.has(a) || K("Cannot " + g);
|
|
5
|
-
var c = (a, n, g) => (Q(a, n, "read from private field"), g ? g.call(a) : n.get(a)), h = (a, n, g) => n.has(a) ? K("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(a) : n.set(a, g), s = (a, n, g,
|
|
5
|
+
var c = (a, n, g) => (Q(a, n, "read from private field"), g ? g.call(a) : n.get(a)), h = (a, n, g) => n.has(a) ? K("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(a) : n.set(a, g), s = (a, n, g, I) => (Q(a, n, "write to private field"), I ? I.call(a, g) : n.set(a, g), g);
|
|
6
6
|
import { __runInitializers as l, __esDecorate as o } from "tslib";
|
|
7
7
|
import { html as V } from "lit";
|
|
8
8
|
import { property as b } from "lit/decorators.js";
|
|
9
9
|
import { sbbInputModalityDetector as W } from "../../core/a11y/input-modality-detector.js";
|
|
10
10
|
import { SbbLanguageController as X } from "../../core/controllers.js";
|
|
11
|
-
import { forceType as
|
|
11
|
+
import { forceType as z } from "../../core/decorators.js";
|
|
12
12
|
import { isLean as Y } from "../../core/dom.js";
|
|
13
13
|
import { i18nPage as Z, i18nPaginatorSelected as C, i18nPreviousPage as ee, i18nNextPage as te } from "../../core/i18n.js";
|
|
14
14
|
import { SbbNegativeMixin as ie, SbbDisabledMixin as ae, SbbElementInternalsMixin as se } from "../../core/mixins.js";
|
|
15
15
|
import "../../button/mini-button.js";
|
|
16
16
|
import "../../button/mini-button-group.js";
|
|
17
17
|
import "../../divider.js";
|
|
18
|
-
const
|
|
19
|
-
var p,
|
|
20
|
-
let g = ie(ae(se(a))),
|
|
18
|
+
const me = (a) => (() => {
|
|
19
|
+
var p, u, d, P, x, _, m, y, r;
|
|
20
|
+
let g = ie(ae(se(a))), I, f = [], v = [], L, S = [], N = [], k, M = [], $ = [], w, R = [], O = [], B, D = [], U = [], j, q = [], E = [], T, A = [], F = [], G, H = [], J = [];
|
|
21
21
|
return r = class extends g {
|
|
22
22
|
constructor() {
|
|
23
23
|
super(...arguments);
|
|
24
24
|
h(this, p);
|
|
25
|
-
h(this, d);
|
|
26
25
|
h(this, u);
|
|
26
|
+
h(this, d);
|
|
27
27
|
h(this, P);
|
|
28
28
|
h(this, x);
|
|
29
|
-
h(this, m);
|
|
30
29
|
h(this, _);
|
|
30
|
+
h(this, m);
|
|
31
31
|
h(this, y);
|
|
32
|
-
s(this, p, l(this,
|
|
32
|
+
s(this, p, l(this, f, 0)), s(this, u, (l(this, v), l(this, S, 10))), s(this, d, (l(this, N), l(this, M, 0))), s(this, P, (l(this, $), l(this, R, "start"))), s(this, x, (l(this, O), l(this, D, Y() ? "s" : "m"))), s(this, _, (l(this, U), l(this, q, ""))), s(this, m, (l(this, E), l(this, A, ""))), s(this, y, (l(this, F), l(this, H, ""))), this.language = (l(this, J), new X(this));
|
|
33
33
|
}
|
|
34
34
|
/** Total number of items. */
|
|
35
35
|
get length() {
|
|
@@ -40,17 +40,17 @@ const _e = (a) => (() => {
|
|
|
40
40
|
}
|
|
41
41
|
/** Number of items per page. */
|
|
42
42
|
get pageSize() {
|
|
43
|
-
return c(this,
|
|
43
|
+
return c(this, u);
|
|
44
44
|
}
|
|
45
45
|
set pageSize(t) {
|
|
46
|
-
s(this,
|
|
46
|
+
s(this, u, t);
|
|
47
47
|
}
|
|
48
48
|
/** Current page index. */
|
|
49
49
|
get pageIndex() {
|
|
50
|
-
return c(this,
|
|
50
|
+
return c(this, d);
|
|
51
51
|
}
|
|
52
52
|
set pageIndex(t) {
|
|
53
|
-
s(this,
|
|
53
|
+
s(this, d, t);
|
|
54
54
|
}
|
|
55
55
|
/** Position of the prev/next buttons. */
|
|
56
56
|
get pagerPosition() {
|
|
@@ -74,20 +74,20 @@ const _e = (a) => (() => {
|
|
|
74
74
|
* Can be set for cases like a carousel, where `slide` or `image` fits better.
|
|
75
75
|
*/
|
|
76
76
|
get accessibilityPageLabel() {
|
|
77
|
-
return c(this,
|
|
77
|
+
return c(this, _);
|
|
78
78
|
}
|
|
79
79
|
set accessibilityPageLabel(t) {
|
|
80
|
-
s(this,
|
|
80
|
+
s(this, _, t);
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* Accessibility label for the previous page. Defaults to `previous page`.
|
|
84
84
|
* Can be set for cases like a carousel, where `slide` or `image` fits better.
|
|
85
85
|
*/
|
|
86
86
|
get accessibilityPreviousPageLabel() {
|
|
87
|
-
return c(this,
|
|
87
|
+
return c(this, m);
|
|
88
88
|
}
|
|
89
89
|
set accessibilityPreviousPageLabel(t) {
|
|
90
|
-
s(this,
|
|
90
|
+
s(this, m, t);
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
93
|
* Accessibility label for the next page. Defaults to `next page`.
|
|
@@ -104,9 +104,9 @@ const _e = (a) => (() => {
|
|
|
104
104
|
let e = null;
|
|
105
105
|
if (t.has("length") && this.length !== t.get("length") && (this.length = isNaN(this.length) || this.length < 0 ? 0 : this.length, this.pageIndex = this._coercePageIndexInRange(this.pageIndex)), t.has("pageSize") && this.pageSize !== t.get("pageSize")) {
|
|
106
106
|
const i = t.get("pageSize");
|
|
107
|
-
this.pageSize = isNaN(this.pageSize) || this.pageSize < 0 ? 0 : this.pageSize, i && (this.pageIndex = Math.floor(this.pageIndex * i / this.pageSize) || 0), e = this.pageIndex;
|
|
107
|
+
this.pageSize = isNaN(this.pageSize) || this.pageSize < 0 ? 0 : this.pageSize, i && !t.has("pageIndex") && (this.pageIndex = Math.floor(this.pageIndex * i / this.pageSize) || 0), e = this.pageIndex;
|
|
108
108
|
}
|
|
109
|
-
t.has("pageIndex") && this.pageIndex !== t.get("pageIndex") && (this.pageIndex = this._coercePageIndexInRange(this.pageIndex), e = t.get("pageIndex")), e !== null && this.
|
|
109
|
+
t.has("pageIndex") && this.pageIndex !== t.get("pageIndex") && (this.pageIndex = this._coercePageIndexInRange(this.pageIndex), e = t.get("pageIndex")), e !== null && this._emitPageEvent(e);
|
|
110
110
|
}
|
|
111
111
|
updated(t) {
|
|
112
112
|
super.updated(t), this.shadowRoot.querySelector("sbb-screen-reader-only#status").textContent = this._currentPageLabel();
|
|
@@ -118,10 +118,6 @@ const _e = (a) => (() => {
|
|
|
118
118
|
_currentPageLabel() {
|
|
119
119
|
return `${this.accessibilityPageLabel ? this.accessibilityPageLabel : Z[this.language.current]} ${this.pageIndex + 1} ${C[this.language.current]}.`;
|
|
120
120
|
}
|
|
121
|
-
changeAndEmitPage(t) {
|
|
122
|
-
const e = this.pageIndex;
|
|
123
|
-
this.pageIndex = t, this.emitPageEvent(e);
|
|
124
|
-
}
|
|
125
121
|
/** Advances to the next page if it exists. */
|
|
126
122
|
nextPage() {
|
|
127
123
|
this.pageIndex = this.pageIndex + 1;
|
|
@@ -158,20 +154,8 @@ const _e = (a) => (() => {
|
|
|
158
154
|
numberOfPages() {
|
|
159
155
|
return this.pageSize ? Math.ceil(this.length / this.pageSize) : 0;
|
|
160
156
|
}
|
|
161
|
-
|
|
162
|
-
this.dispatchEvent(new CustomEvent("page", {
|
|
163
|
-
bubbles: !0,
|
|
164
|
-
composed: !0,
|
|
165
|
-
detail: {
|
|
166
|
-
previousPageIndex: t,
|
|
167
|
-
pageIndex: e ?? this.pageIndex,
|
|
168
|
-
length: this.length,
|
|
169
|
-
pageSize: this.pageSize
|
|
170
|
-
}
|
|
171
|
-
}));
|
|
172
|
-
}
|
|
173
|
-
_emitPrivatePageEvent(t) {
|
|
174
|
-
this.hasUpdated && this.dispatchEvent(new CustomEvent("ɵpage", {
|
|
157
|
+
_emitPageEvent(t) {
|
|
158
|
+
this.hasUpdated && this.dispatchEvent(new CustomEvent("page", {
|
|
175
159
|
bubbles: !0,
|
|
176
160
|
composed: !0,
|
|
177
161
|
detail: {
|
|
@@ -191,7 +175,7 @@ const _e = (a) => (() => {
|
|
|
191
175
|
icon-name="chevron-small-left-small"
|
|
192
176
|
?disabled=${this.disabled || !this.hasPreviousPage()}
|
|
193
177
|
@click=${() => {
|
|
194
|
-
this.
|
|
178
|
+
this.previousPage(), !this.hasPreviousPage() && W.mostRecentModality === "keyboard" && this.shadowRoot?.getElementById("sbb-paginator-next-page").focus();
|
|
195
179
|
}}
|
|
196
180
|
></sbb-mini-button>
|
|
197
181
|
<sbb-divider orientation="vertical"></sbb-divider>
|
|
@@ -201,7 +185,7 @@ const _e = (a) => (() => {
|
|
|
201
185
|
icon-name="chevron-small-right-small"
|
|
202
186
|
?disabled=${this.disabled || !this.hasNextPage()}
|
|
203
187
|
@click=${() => {
|
|
204
|
-
this.
|
|
188
|
+
this.nextPage(), !this.hasNextPage() && W.mostRecentModality === "keyboard" && this.shadowRoot?.getElementById("sbb-paginator-prev-page").focus();
|
|
205
189
|
}}
|
|
206
190
|
></sbb-mini-button>
|
|
207
191
|
</sbb-mini-button-group>
|
|
@@ -213,27 +197,27 @@ const _e = (a) => (() => {
|
|
|
213
197
|
<sbb-screen-reader-only id="status" role="status"></sbb-screen-reader-only>
|
|
214
198
|
`;
|
|
215
199
|
}
|
|
216
|
-
}, p = new WeakMap(),
|
|
200
|
+
}, p = new WeakMap(), u = new WeakMap(), d = new WeakMap(), P = new WeakMap(), x = new WeakMap(), _ = new WeakMap(), m = new WeakMap(), y = new WeakMap(), (() => {
|
|
217
201
|
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(g[Symbol.metadata] ?? null) : void 0;
|
|
218
|
-
|
|
202
|
+
I = [z(), b({ type: Number })], L = [z(), b({ attribute: "page-size", type: Number })], k = [z(), b({ attribute: "page-index", type: Number })], w = [b({ attribute: "pager-position", reflect: !0 })], B = [b({ reflect: !0 })], j = [z(), b({ attribute: "accessibility-page-label" })], T = [z(), b({ attribute: "accessibility-previous-page-label" })], G = [z(), b({ attribute: "accessibility-next-page-label" })], o(r, null, I, { kind: "accessor", name: "length", static: !1, private: !1, access: { has: (e) => "length" in e, get: (e) => e.length, set: (e, i) => {
|
|
219
203
|
e.length = i;
|
|
220
|
-
} }, metadata: t },
|
|
204
|
+
} }, metadata: t }, f, v), o(r, null, L, { kind: "accessor", name: "pageSize", static: !1, private: !1, access: { has: (e) => "pageSize" in e, get: (e) => e.pageSize, set: (e, i) => {
|
|
221
205
|
e.pageSize = i;
|
|
222
206
|
} }, metadata: t }, S, N), o(r, null, k, { kind: "accessor", name: "pageIndex", static: !1, private: !1, access: { has: (e) => "pageIndex" in e, get: (e) => e.pageIndex, set: (e, i) => {
|
|
223
207
|
e.pageIndex = i;
|
|
224
208
|
} }, metadata: t }, M, $), o(r, null, w, { kind: "accessor", name: "pagerPosition", static: !1, private: !1, access: { has: (e) => "pagerPosition" in e, get: (e) => e.pagerPosition, set: (e, i) => {
|
|
225
209
|
e.pagerPosition = i;
|
|
226
|
-
} }, metadata: t },
|
|
210
|
+
} }, metadata: t }, R, O), o(r, null, B, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (e) => "size" in e, get: (e) => e.size, set: (e, i) => {
|
|
227
211
|
e.size = i;
|
|
228
|
-
} }, metadata: t },
|
|
212
|
+
} }, metadata: t }, D, U), o(r, null, j, { kind: "accessor", name: "accessibilityPageLabel", static: !1, private: !1, access: { has: (e) => "accessibilityPageLabel" in e, get: (e) => e.accessibilityPageLabel, set: (e, i) => {
|
|
229
213
|
e.accessibilityPageLabel = i;
|
|
230
|
-
} }, metadata: t },
|
|
214
|
+
} }, metadata: t }, q, E), o(r, null, T, { kind: "accessor", name: "accessibilityPreviousPageLabel", static: !1, private: !1, access: { has: (e) => "accessibilityPreviousPageLabel" in e, get: (e) => e.accessibilityPreviousPageLabel, set: (e, i) => {
|
|
231
215
|
e.accessibilityPreviousPageLabel = i;
|
|
232
|
-
} }, metadata: t },
|
|
216
|
+
} }, metadata: t }, A, F), o(r, null, G, { kind: "accessor", name: "accessibilityNextPageLabel", static: !1, private: !1, access: { has: (e) => "accessibilityNextPageLabel" in e, get: (e) => e.accessibilityNextPageLabel, set: (e, i) => {
|
|
233
217
|
e.accessibilityNextPageLabel = i;
|
|
234
218
|
} }, metadata: t }, H, J), t && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
235
219
|
})(), r.role = "group", r;
|
|
236
220
|
})();
|
|
237
221
|
export {
|
|
238
|
-
|
|
222
|
+
me as SbbPaginatorCommonElementMixin
|
|
239
223
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSResultGroup, TemplateResult, LitElement } from 'lit';
|
|
2
|
-
declare const SbbCompactPaginatorElement_base: import('../../core/mixins.
|
|
2
|
+
declare const SbbCompactPaginatorElement_base: import('../../core/mixins.ts').AbstractConstructor<import('../common.js').SbbPaginatorCommonElementMixinType> & typeof LitElement;
|
|
3
3
|
/**
|
|
4
4
|
* It displays a paginator component in compact mode.
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compact-paginator.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/paginator/compact-paginator/compact-paginator.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAUvC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,6BAA6B,CAAC;;AAErC;;GAEG;AACH,qBAEM,0BAA2B,SAAQ,+BAA0C;IACjF,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAuB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"compact-paginator.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/paginator/compact-paginator/compact-paginator.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAUvC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,6BAA6B,CAAC;;AAErC;;GAEG;AACH,qBAEM,0BAA2B,SAAQ,+BAA0C;IACjF,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAuB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAE1C;IAEX,OAAO,CAAC,kBAAkB;cAiBP,eAAe,IAAI,cAAc;CASrD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,uBAAuB,EAAE,0BAA0B,CAAC;KACrD;CACF"}
|
|
@@ -7,7 +7,7 @@ import { boxSizingStyles as u } from "../../core/styles.js";
|
|
|
7
7
|
import { SbbPaginatorCommonElementMixin as v } from "../common.js";
|
|
8
8
|
import "../../divider.js";
|
|
9
9
|
import "../../screen-reader-only.js";
|
|
10
|
-
const f = l`:host{display:block;--sbb-compact-paginator-height: var(--sbb-size-element-m);--sbb-compact-paginator-color: var(--sbb-color-metal);--sbb-compact-paginator-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));--sbb-paginator-compact-justify-content: start}:host([size=s]){--sbb-compact-paginator-height: var(--sbb-size-element-xs)}:host([negative]){--sbb-compact-paginator-color: var(--sbb-color-5)}:host([pager-position=end]){--sbb-paginator-compact-justify-content: end}.sbb-compact-paginator{display:flex;gap:var(--sbb-spacing-fixed-5x);justify-content:var(--sbb-paginator-compact-justify-content);min-height:var(--sbb-compact-paginator-height)}.sbb-paginator__pages{--sbb-text-font-size: var(--sbb-font-size-
|
|
10
|
+
const f = l`:host{display:block;--sbb-compact-paginator-height: var(--sbb-size-element-m);--sbb-compact-paginator-color: var(--sbb-color-metal);--sbb-compact-paginator-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));--sbb-paginator-compact-justify-content: start}:host([size=s]){--sbb-compact-paginator-height: var(--sbb-size-element-xs)}:host([negative]){--sbb-compact-paginator-color: var(--sbb-color-5)}:host([pager-position=end]){--sbb-paginator-compact-justify-content: end}.sbb-compact-paginator{display:flex;gap:var(--sbb-spacing-fixed-5x);justify-content:var(--sbb-paginator-compact-justify-content);min-height:var(--sbb-compact-paginator-height)}.sbb-paginator__pages{--sbb-text-font-size: var(--sbb-text-font-size-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:flex;align-items:center;justify-content:center;gap:var(--sbb-spacing-fixed-2x);color:var(--sbb-compact-paginator-color)}.sbb-compact-paginator__divider{height:1rem}`;
|
|
11
11
|
let N = (() => {
|
|
12
12
|
var t;
|
|
13
13
|
let n = [m("sbb-compact-paginator")], i, r = [], e, o = v(p);
|
|
@@ -39,8 +39,7 @@ let N = (() => {
|
|
|
39
39
|
const s = typeof Symbol == "function" && Symbol.metadata ? Object.create(o[Symbol.metadata] ?? null) : void 0;
|
|
40
40
|
b(null, i = { value: e }, n, { kind: "class", name: e.name, metadata: s }, null, r), e = i.value, s && Object.defineProperty(e, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: s });
|
|
41
41
|
})(), t.styles = [u, f], t.events = {
|
|
42
|
-
page: "page"
|
|
43
|
-
ɵpage: "ɵpage"
|
|
42
|
+
page: "page"
|
|
44
43
|
}, c(e, r), e;
|
|
45
44
|
})();
|
|
46
45
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSResultGroup, LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
2
|
-
declare const SbbPaginatorElement_base: import('../../core/mixins.
|
|
2
|
+
declare const SbbPaginatorElement_base: import('../../core/mixins.ts').AbstractConstructor<import('../common.js').SbbPaginatorCommonElementMixinType> & typeof LitElement;
|
|
3
3
|
/**
|
|
4
4
|
* It displays a paginator component.
|
|
5
5
|
*/
|
|
@@ -32,12 +32,6 @@ export declare class SbbPaginatorElement extends SbbPaginatorElement_base {
|
|
|
32
32
|
/** Creates an array of consecutive numbers given the length and the starting value. */
|
|
33
33
|
private _range;
|
|
34
34
|
private _handleKeyUp;
|
|
35
|
-
/**
|
|
36
|
-
* A `pageSize` change would trigger a `pageIndex` change via `willUpdate`;
|
|
37
|
-
* this triggers a `ɵpage` event, but it's late for the `page` event,
|
|
38
|
-
* so the checks on the `pageIndex` changes are done here, and possibly the event is emitted.
|
|
39
|
-
*/
|
|
40
|
-
private _setPageSizeFromSizeOptionsSelect;
|
|
41
35
|
private _renderItemPerPageTemplate;
|
|
42
36
|
private _renderPageNumbers;
|
|
43
37
|
protected renderPaginator(): TemplateResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginator.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/paginator/paginator/paginator.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EAEV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAab,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,6BAA6B,CAAC;;AAIrC;;GAEG;AACH,qBAEM,mBAAoB,SAAQ,wBAA0C;IAC1E,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAuB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"paginator.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/paginator/paginator/paginator.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EAEV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAab,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,6BAA6B,CAAC;;AAIrC;;GAEG;AACH,qBAEM,mBAAoB,SAAQ,wBAA0C;IAC1E,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAuB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAE1C;IAEX,wCAAwC;IACxC,SACgB,eAAe,EAAE,MAAM,EAAE,CAAM;IAE/C;;;OAGG;IACH,SAAmF,aAAa,EAC5F,OAAO,GACP,KAAK,CAAW;IAEpB;;;OAGG;IACH,SAEgB,8BAA8B,EAAE,MAAM,CAAM;IAE5D,OAAO,CAAC,aAAa,CAAuB;cAEzB,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAezE,2CAA2C;IAC3C,OAAO,CAAC,gBAAgB;IAIxB;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IA2B7B,uFAAuF;IACvF,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,0BAA0B;IAkClC,OAAO,CAAC,kBAAkB;cAmCP,eAAe,IAAI,cAAc;CAiBrD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,eAAe,EAAE,mBAAmB,CAAC;KACtC;CACF"}
|