@m3e/web 2.1.3 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/all.js +2916 -391
- package/dist/all.js.map +1 -1
- package/dist/all.min.js +77 -41
- package/dist/all.min.js.map +1 -1
- package/dist/app-bar.js +14 -7
- package/dist/app-bar.js.map +1 -1
- package/dist/app-bar.min.js +1 -1
- package/dist/app-bar.min.js.map +1 -1
- package/dist/autocomplete.js +59 -23
- package/dist/autocomplete.js.map +1 -1
- package/dist/autocomplete.min.js +1 -1
- package/dist/autocomplete.min.js.map +1 -1
- package/dist/bottom-sheet.js +8 -27
- package/dist/bottom-sheet.js.map +1 -1
- package/dist/bottom-sheet.min.js +1 -1
- package/dist/bottom-sheet.min.js.map +1 -1
- package/dist/calendar.js +1082 -0
- package/dist/calendar.js.map +1 -0
- package/dist/calendar.min.js +43 -0
- package/dist/calendar.min.js.map +1 -0
- package/dist/chips.js +2 -6
- package/dist/chips.js.map +1 -1
- package/dist/chips.min.js +1 -1
- package/dist/chips.min.js.map +1 -1
- package/dist/core-a11y.js +23 -9
- package/dist/core-a11y.js.map +1 -1
- package/dist/core-a11y.min.js +4 -4
- package/dist/core-a11y.min.js.map +1 -1
- package/dist/core-anchoring.js +135 -15
- package/dist/core-anchoring.js.map +1 -1
- package/dist/core-anchoring.min.js +1 -1
- package/dist/core-anchoring.min.js.map +1 -1
- package/dist/core.js +101 -1
- package/dist/core.js.map +1 -1
- package/dist/core.min.js +1 -1
- package/dist/core.min.js.map +1 -1
- package/dist/css-custom-data.json +1146 -646
- package/dist/custom-elements.json +31433 -26898
- package/dist/datepicker.js +573 -0
- package/dist/datepicker.js.map +1 -0
- package/dist/datepicker.min.js +7 -0
- package/dist/datepicker.min.js.map +1 -0
- package/dist/drawer-container.js +10 -4
- package/dist/drawer-container.js.map +1 -1
- package/dist/drawer-container.min.js +1 -1
- package/dist/drawer-container.min.js.map +1 -1
- package/dist/fab-menu.js +1 -1
- package/dist/fab-menu.js.map +1 -1
- package/dist/fab-menu.min.js +1 -1
- package/dist/fab-menu.min.js.map +1 -1
- package/dist/form-field.js +2 -6
- package/dist/form-field.js.map +1 -1
- package/dist/form-field.min.js +3 -3
- package/dist/form-field.min.js.map +1 -1
- package/dist/html-custom-data.json +553 -187
- package/dist/menu.js +3 -7
- package/dist/menu.js.map +1 -1
- package/dist/menu.min.js +1 -1
- package/dist/menu.min.js.map +1 -1
- package/dist/nav-bar.js +17 -7
- package/dist/nav-bar.js.map +1 -1
- package/dist/nav-bar.min.js +1 -1
- package/dist/nav-bar.min.js.map +1 -1
- package/dist/nav-menu.js +3 -11
- package/dist/nav-menu.js.map +1 -1
- package/dist/nav-menu.min.js +1 -1
- package/dist/nav-menu.min.js.map +1 -1
- package/dist/nav-rail.js +2 -6
- package/dist/nav-rail.js.map +1 -1
- package/dist/nav-rail.min.js +1 -1
- package/dist/nav-rail.min.js.map +1 -1
- package/dist/option.js +4 -8
- package/dist/option.js.map +1 -1
- package/dist/option.min.js +1 -1
- package/dist/option.min.js.map +1 -1
- package/dist/paginator.js.map +1 -1
- package/dist/paginator.min.js.map +1 -1
- package/dist/search.js +821 -0
- package/dist/search.js.map +1 -0
- package/dist/search.min.js +7 -0
- package/dist/search.min.js.map +1 -0
- package/dist/segmented-button.js +2 -2
- package/dist/segmented-button.js.map +1 -1
- package/dist/segmented-button.min.js.map +1 -1
- package/dist/select.js +4 -15
- package/dist/select.js.map +1 -1
- package/dist/select.min.js +1 -1
- package/dist/select.min.js.map +1 -1
- package/dist/snackbar.js +2 -6
- package/dist/snackbar.js.map +1 -1
- package/dist/snackbar.min.js +1 -1
- package/dist/snackbar.min.js.map +1 -1
- package/dist/split-button.js +1 -1
- package/dist/split-button.js.map +1 -1
- package/dist/split-button.min.js.map +1 -1
- package/dist/src/all.d.ts +3 -0
- package/dist/src/all.d.ts.map +1 -1
- package/dist/src/app-bar/AppBarElement.d.ts +6 -4
- package/dist/src/app-bar/AppBarElement.d.ts.map +1 -1
- package/dist/src/autocomplete/AutocompleteElement.d.ts +7 -2
- package/dist/src/autocomplete/AutocompleteElement.d.ts.map +1 -1
- package/dist/src/autocomplete/AutocompleteQueryEventDetail.d.ts +12 -0
- package/dist/src/autocomplete/AutocompleteQueryEventDetail.d.ts.map +1 -0
- package/dist/src/autocomplete/QueryEventDetail.d.ts +3 -8
- package/dist/src/autocomplete/QueryEventDetail.d.ts.map +1 -1
- package/dist/src/autocomplete/index.d.ts +1 -0
- package/dist/src/autocomplete/index.d.ts.map +1 -1
- package/dist/src/bottom-sheet/BottomSheetElement.d.ts.map +1 -1
- package/dist/src/calendar/CalendarElement.d.ts +213 -0
- package/dist/src/calendar/CalendarElement.d.ts.map +1 -0
- package/dist/src/calendar/CalendarView.d.ts +3 -0
- package/dist/src/calendar/CalendarView.d.ts.map +1 -0
- package/dist/src/calendar/CalendarViewElementBase.d.ts +28 -0
- package/dist/src/calendar/CalendarViewElementBase.d.ts.map +1 -0
- package/dist/src/calendar/MonthViewElement.d.ts +36 -0
- package/dist/src/calendar/MonthViewElement.d.ts.map +1 -0
- package/dist/src/calendar/MultiYearViewElement.d.ts +27 -0
- package/dist/src/calendar/MultiYearViewElement.d.ts.map +1 -0
- package/dist/src/calendar/YearViewElement.d.ts +27 -0
- package/dist/src/calendar/YearViewElement.d.ts.map +1 -0
- package/dist/src/calendar/index.d.ts +7 -0
- package/dist/src/calendar/index.d.ts.map +1 -0
- package/dist/src/calendar/utils.d.ts +24 -0
- package/dist/src/calendar/utils.d.ts.map +1 -0
- package/dist/src/chips/InputChipSetElement.d.ts.map +1 -1
- package/dist/src/core/a11y/FocusTrapElement.d.ts.map +1 -1
- package/dist/src/core/a11y/InteractivityChecker.d.ts.map +1 -1
- package/dist/src/core/anchoring/AnchorOptions.d.ts +1 -1
- package/dist/src/core/anchoring/AnchorOptions.d.ts.map +1 -1
- package/dist/src/core/anchoring/FloatingPanelElement.d.ts +18 -3
- package/dist/src/core/anchoring/FloatingPanelElement.d.ts.map +1 -1
- package/dist/src/core/anchoring/positionAnchor.d.ts.map +1 -1
- package/dist/src/core/shared/controllers/InertController.d.ts +19 -0
- package/dist/src/core/shared/controllers/InertController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/index.d.ts +1 -0
- package/dist/src/core/shared/controllers/index.d.ts.map +1 -1
- package/dist/src/core/shared/converters/dateConverter.d.ts +4 -0
- package/dist/src/core/shared/converters/dateConverter.d.ts.map +1 -0
- package/dist/src/core/shared/converters/index.d.ts +1 -0
- package/dist/src/core/shared/converters/index.d.ts.map +1 -1
- package/dist/src/core/shared/utils/index.d.ts +1 -0
- package/dist/src/core/shared/utils/index.d.ts.map +1 -1
- package/dist/src/core/shared/utils/registerStyleSheet.d.ts +7 -0
- package/dist/src/core/shared/utils/registerStyleSheet.d.ts.map +1 -0
- package/dist/src/datepicker/DatepickerElement.d.ts +239 -0
- package/dist/src/datepicker/DatepickerElement.d.ts.map +1 -0
- package/dist/src/datepicker/DatepickerToggleElement.d.ts +21 -0
- package/dist/src/datepicker/DatepickerToggleElement.d.ts.map +1 -0
- package/dist/src/datepicker/DatepickerVariant.d.ts +3 -0
- package/dist/src/datepicker/DatepickerVariant.d.ts.map +1 -0
- package/dist/src/datepicker/index.d.ts +4 -0
- package/dist/src/datepicker/index.d.ts.map +1 -0
- package/dist/src/drawer-container/DrawerContainerElement.d.ts +2 -2
- package/dist/src/drawer-container/DrawerContainerElement.d.ts.map +1 -1
- package/dist/src/form-field/FormFieldElement.d.ts.map +1 -1
- package/dist/src/menu/MenuElement.d.ts.map +1 -1
- package/dist/src/nav-bar/NavBarElement.d.ts +3 -1
- package/dist/src/nav-bar/NavBarElement.d.ts.map +1 -1
- package/dist/src/nav-menu/NavMenuElement.d.ts.map +1 -1
- package/dist/src/nav-menu/NavMenuItemElement.d.ts.map +1 -1
- package/dist/src/nav-rail/NavRailElement.d.ts.map +1 -1
- package/dist/src/option/OptionPanelElement.d.ts.map +1 -1
- package/dist/src/paginator/PageEventDetail.d.ts +6 -11
- package/dist/src/paginator/PageEventDetail.d.ts.map +1 -1
- package/dist/src/paginator/PaginatorElement.d.ts +2 -2
- package/dist/src/paginator/PaginatorElement.d.ts.map +1 -1
- package/dist/src/paginator/PaginatorPageEventDetail.d.ts +12 -0
- package/dist/src/paginator/PaginatorPageEventDetail.d.ts.map +1 -0
- package/dist/src/paginator/index.d.ts +1 -0
- package/dist/src/paginator/index.d.ts.map +1 -1
- package/dist/src/search/SearchBarElement.d.ts +92 -0
- package/dist/src/search/SearchBarElement.d.ts.map +1 -0
- package/dist/src/search/SearchViewElement.d.ts +150 -0
- package/dist/src/search/SearchViewElement.d.ts.map +1 -0
- package/dist/src/search/SearchViewMode.d.ts +3 -0
- package/dist/src/search/SearchViewMode.d.ts.map +1 -0
- package/dist/src/search/SearchViewQueryEventDetail.d.ts +12 -0
- package/dist/src/search/SearchViewQueryEventDetail.d.ts.map +1 -0
- package/dist/src/search/index.d.ts +5 -0
- package/dist/src/search/index.d.ts.map +1 -0
- package/dist/src/search/styles/SearchBarStyle.d.ts +12 -0
- package/dist/src/search/styles/SearchBarStyle.d.ts.map +1 -0
- package/dist/src/search/styles/SearchBarToken.d.ts +27 -0
- package/dist/src/search/styles/SearchBarToken.d.ts.map +1 -0
- package/dist/src/search/styles/SearchViewStyle.d.ts +12 -0
- package/dist/src/search/styles/SearchViewStyle.d.ts.map +1 -0
- package/dist/src/search/styles/SearchViewToken.d.ts +26 -0
- package/dist/src/search/styles/SearchViewToken.d.ts.map +1 -0
- package/dist/src/search/styles/index.d.ts +3 -0
- package/dist/src/search/styles/index.d.ts.map +1 -0
- package/dist/src/segmented-button/ButtonSegmentElement.d.ts +2 -2
- package/dist/src/select/SelectElement.d.ts.map +1 -1
- package/dist/src/snackbar/SnackbarElement.d.ts.map +1 -1
- package/dist/src/split-button/SplitButtonElement.d.ts +1 -1
- package/dist/src/stepper/StepperElement.d.ts +3 -1
- package/dist/src/stepper/StepperElement.d.ts.map +1 -1
- package/dist/src/switch/SwitchElement.d.ts +2 -2
- package/dist/stepper.js +18 -12
- package/dist/stepper.js.map +1 -1
- package/dist/stepper.min.js +1 -1
- package/dist/stepper.min.js.map +1 -1
- package/dist/switch.js +2 -2
- package/dist/switch.js.map +1 -1
- package/dist/switch.min.js.map +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/tooltip.js.map +1 -1
- package/dist/tooltip.min.js +1 -1
- package/dist/tooltip.min.js.map +1 -1
- package/package.json +16 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuElement.d.ts","sourceRoot":"","sources":["../../../src/menu/MenuElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuElement.d.ts","sourceRoot":"","sources":["../../../src/menu/MenuElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAqBvE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,qBACa,cAAe,SAAQ,mBAAmE;;IASrG,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAyIpC;IAEF,eAAe,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,cAAc,CAAC;IAgCrD;;;OAGG;IACoC,SAAS,EAAE,aAAa,CAAW;IAE1E;;;OAGG;IACoC,SAAS,EAAE,aAAa,CAAW;IAE1E;;;OAGG;IAC0B,OAAO,EAAE,WAAW,CAAc;IAE/D,6BAA6B;IAC7B,IAAI,KAAK,IAAI,aAAa,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EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IAER,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,cAAc,CAAC;KAC5B;CACF"}
|
|
@@ -3,7 +3,7 @@ import { SelectionManager, selectionManager } from "@m3e/web/core/a11y";
|
|
|
3
3
|
import { M3eNavItemElement } from "./NavItemElement";
|
|
4
4
|
import { NavItemOrientation } from "./NavItemOrientation";
|
|
5
5
|
import { NavBarMode } from "./NavBarMode";
|
|
6
|
-
declare const M3eNavBarElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").AttachInternalsMixin> & import("../core/shared/mixins/Constructor").Constructor & typeof LitElement;
|
|
6
|
+
declare const M3eNavBarElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").ReconnectedCallbackMixin> & import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").AttachInternalsMixin> & import("../core/shared/mixins/Constructor").Constructor & typeof LitElement;
|
|
7
7
|
/**
|
|
8
8
|
* A horizontal bar, typically used on smaller devices, that allows a user to switch between 3-5 views.
|
|
9
9
|
*
|
|
@@ -56,6 +56,8 @@ export declare class M3eNavBarElement extends M3eNavBarElement_base {
|
|
|
56
56
|
/** @inheritdoc */
|
|
57
57
|
disconnectedCallback(): void;
|
|
58
58
|
/** @inheritdoc */
|
|
59
|
+
reconnectedCallback(): void;
|
|
60
|
+
/** @inheritdoc */
|
|
59
61
|
protected willUpdate(changedProperties: PropertyValues): void;
|
|
60
62
|
/** @inheritdoc */
|
|
61
63
|
protected render(): unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarElement.d.ts","sourceRoot":"","sources":["../../../src/nav-bar/NavBarElement.ts"],"names":[],"mapp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WAAW,IAAI,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAE7C;IACD,IAAI,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,EAEjD;IAED,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IAOrC,kBAAkB;IACT,mBAAmB,IAAI,IAAI;IAQpC,kBAAkB;cACC,UAAU,CAAC,iBAAiB,EAAE,cAAc,GAAG,IAAI;IA0BtE,kBAAkB;cACC,MAAM,IAAI,OAAO;IAkBpC,gBAAgB;IAChB,SAAS,CAAC,YAAY,IAAI,IAAI;IAM9B,gBAAgB;IAChB,SAAS,CAAC,kBAAkB,CAAC,WAAW,EAAE,kBAAkB,GAAG,IAAI;CAGpE;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,gBAAgB,CAAC;KACjC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenuElement.d.ts","sourceRoot":"","sources":["../../../src/nav-menu/NavMenuElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"NavMenuElement.d.ts","sourceRoot":"","sources":["../../../src/nav-menu/NavMenuElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAY5D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,qBACa,iBAAkB,SAAQ,sBAAwB;;IAU7D,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAsBpC;IAEF,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAK;IAI5C,eAAe;IACf,QAAQ,CAAC,CAAC,gBAAgB,CAAC,0CAsBtB;;IAmBL,qCAAqC;IACrC,IAAI,QAAQ,IAAI,qBAAqB,GAAG,IAAI,CAE3C;IAED,iCAAiC;IACjC,IAAI,KAAK,IAAI,SAAS,qBAAqB,EAAE,CAE5C;IAED;;;OAGG;IACH,MAAM,CAAC,KAAK,CAAC,EAAE,qBAAqB,EAAE,GAAG,IAAI;IAI7C;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,qBAAqB,EAAE,GAAG,IAAI;IAc/C,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAUlC,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IAQrC,kBAAkB;cACC,MAAM,IAAI,OAAO;CA4JrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,iBAAiB,CAAC;KACnC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenuItemElement.d.ts","sourceRoot":"","sources":["../../../src/nav-menu/NavMenuItemElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;AAIvF,OAAO,EAQL,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"NavMenuItemElement.d.ts","sourceRoot":"","sources":["../../../src/nav-menu/NavMenuItemElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;AAIvF,OAAO,EAQL,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EAKrB,MAAM,eAAe,CAAC;;AAMvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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Root":"","sources":["../../../src/nav-rail/NavRailElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,qBACa,iBAAkB,SAAQ,gBAAgB;;
|
|
1
|
+
{"version":3,"file":"NavRailElement.d.ts","sourceRoot":"","sources":["../../../src/nav-rail/NavRailElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,qBACa,iBAAkB,SAAQ,gBAAgB;;IAarD,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAoDpC;;IAaF,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAKlC,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IAUrC,4BAA4B;cACT,YAAY,IAAI,IAAI;IAavC,4BAA4B;cACT,kBAAkB,CAAC,WAAW,EAAE,kBAAkB,GAAG,IAAI;CAI7E;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,iBAAiB,CAAC;KACnC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionPanelElement.d.ts","sourceRoot":"","sources":["../../../src/option/OptionPanelElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"OptionPanelElement.d.ts","sourceRoot":"","sources":["../../../src/option/OptionPanelElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,MAAM,KAAK,CAAC;AAchD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAKlE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBACa,qBAAsB,SAAQ,0BAAwC;;IAajF,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CA+FpC;;IAcF;;;OAGG;IAC0B,KAAK,EAAE,gBAAgB,CAAa;IAEjE,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAKlC,kBAAkB;cACC,MAAM,IAAI,OAAO;CAsDrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,qBAAqB,CAAC;KAC3C;CACF"}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/** The current page size. */
|
|
8
|
-
pageSize: number | "all";
|
|
9
|
-
/** The current total number of items being paged. */
|
|
10
|
-
length: number;
|
|
11
|
-
}
|
|
1
|
+
import { PaginatorPageEventDetail } from "./PaginatorPageEventDetail";
|
|
2
|
+
/**
|
|
3
|
+
* Emitted when a user selects a different page size or navigates to another page.
|
|
4
|
+
* @deprecated Use `PaginatorPageEventDetail`.
|
|
5
|
+
*/
|
|
6
|
+
export type PageEventDetail = PaginatorPageEventDetail;
|
|
12
7
|
//# sourceMappingURL=PageEventDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageEventDetail.d.ts","sourceRoot":"","sources":["../../../src/paginator/PageEventDetail.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"PageEventDetail.d.ts","sourceRoot":"","sources":["../../../src/paginator/PageEventDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,wBAAwB,CAAC"}
|
|
@@ -13,7 +13,7 @@ import "@m3e/web/select";
|
|
|
13
13
|
import "@m3e/web/option";
|
|
14
14
|
import "@m3e/web/icon-button";
|
|
15
15
|
import "@m3e/web/tooltip";
|
|
16
|
-
import {
|
|
16
|
+
import { PaginatorPageEventDetail } from "./PaginatorPageEventDetail";
|
|
17
17
|
declare const M3ePaginatorElement_base: import("../core/shared/mixins/Constructor").Constructor & typeof LitElement;
|
|
18
18
|
/**
|
|
19
19
|
* Provides navigation for paged information, typically used with a table.
|
|
@@ -157,7 +157,7 @@ export declare class M3ePaginatorElement extends M3ePaginatorElement_base {
|
|
|
157
157
|
protected render(): unknown;
|
|
158
158
|
}
|
|
159
159
|
interface M3ePaginatorElementEventMap extends HTMLElementEventMap {
|
|
160
|
-
page: CustomEvent<
|
|
160
|
+
page: CustomEvent<PaginatorPageEventDetail>;
|
|
161
161
|
}
|
|
162
162
|
export interface M3ePaginatorElement {
|
|
163
163
|
addEventListener<K extends keyof M3ePaginatorElementEventMap>(type: K, listener: (this: M3ePaginatorElement, ev: M3ePaginatorElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginatorElement.d.ts","sourceRoot":"","sources":["../../../src/paginator/PaginatorElement.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAE,MAAM,KAAK,CAAC;AAKrF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PaginatorElement.d.ts","sourceRoot":"","sources":["../../../src/paginator/Pa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E,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,mBAAmB,CAAC;KACtC;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Emitted when a user selects a different page size or navigates to another page. */
|
|
2
|
+
export interface PaginatorPageEventDetail {
|
|
3
|
+
/** The zero-based index of the current page index. */
|
|
4
|
+
pageIndex: number;
|
|
5
|
+
/** The zero-based index of the page which was previously selected. */
|
|
6
|
+
previousPageIndex?: number;
|
|
7
|
+
/** The current page size. */
|
|
8
|
+
pageSize: number | "all";
|
|
9
|
+
/** The current total number of items being paged. */
|
|
10
|
+
length: number;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=PaginatorPageEventDetail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginatorPageEventDetail.d.ts","sourceRoot":"","sources":["../../../src/paginator/PaginatorPageEventDetail.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,MAAM,WAAW,wBAAwB;IACvC,sDAAsD;IACtD,SAAS,EAAE,MAAM,CAAC;IAElB,sEAAsE;IACtE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC;IAEzB,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/paginator/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/paginator/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "@m3e/web/icon-button";
|
|
3
|
+
declare const M3eSearchBarElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").AttachInternalsMixin> & typeof LitElement;
|
|
4
|
+
/**
|
|
5
|
+
* A bar that provides a prominent entry point for search.
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* The `m3e-search-bar` component provides a prominent entry point for search,
|
|
9
|
+
* capturing user input and emitting `query` and `clear` events as the text
|
|
10
|
+
* changes. It reflects focus and interaction states through customizable CSS
|
|
11
|
+
* properties for container, icons, and text styling.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* The following example illustrates typical usage with a leading icon and the
|
|
15
|
+
* ability to clear the current search text.
|
|
16
|
+
* ```html
|
|
17
|
+
* <m3e-search-bar clearable>
|
|
18
|
+
* <m3e-icon name="search" slot="leading"></m3e-icon>
|
|
19
|
+
* <input slot="input" placeholder="Search..." />
|
|
20
|
+
* </m3e-search-bar>
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @tag m3e-search-bar
|
|
24
|
+
*
|
|
25
|
+
* @attr clearable - Whether the bar presents a button used to clear the search term.
|
|
26
|
+
* @attr clear-label - The accessible label given to the button used to clear the search term.
|
|
27
|
+
*
|
|
28
|
+
* @slot leading - Renders content before the input of the bar.
|
|
29
|
+
* @slot input - Renders the input of the bar.
|
|
30
|
+
* @slot trailing - Renders content after the input of the bar.
|
|
31
|
+
*
|
|
32
|
+
* @fires clear - Dispatched when the search term is cleared.
|
|
33
|
+
*
|
|
34
|
+
* @cssprop --m3e-search-bar-container-color - Background color of the search bar container.
|
|
35
|
+
* @cssprop --m3e-search-bar-leading-icon-color - Color of the leading icon.
|
|
36
|
+
* @cssprop --m3e-search-bar-trailing-icon-color - Color of the trailing icon.
|
|
37
|
+
* @cssprop --m3e-search-bar-container-height - Height of the search bar container.
|
|
38
|
+
* @cssprop --m3e-search-bar-container-shape - Shape (border radius) of the search bar container.
|
|
39
|
+
* @cssprop --m3e-search-bar-icon-size - Size of icons inside the search bar.
|
|
40
|
+
* @cssprop --m3e-search-bar-supporting-text-color - Color of the supporting text.
|
|
41
|
+
* @cssprop --m3e-search-bar-supporting-text-font-size - Font size of the supporting text.
|
|
42
|
+
* @cssprop --m3e-search-bar-supporting-text-font-weight - Font weight of the supporting text.
|
|
43
|
+
* @cssprop --m3e-search-bar-supporting-text-line-height - Line height of the supporting text.
|
|
44
|
+
* @cssprop --m3e-search-bar-supporting-text-tracking - Letter spacing of the supporting text.
|
|
45
|
+
* @cssprop --m3e-search-bar-input-color - Color of the input text.
|
|
46
|
+
* @cssprop --m3e-search-bar-input-text-font-size - Font size of the input text.
|
|
47
|
+
* @cssprop --m3e-search-bar-input-text-font-weight - Font weight of the input text.
|
|
48
|
+
* @cssprop --m3e-search-bar-input-text-line-height - Line height of the input text.
|
|
49
|
+
* @cssprop --m3e-search-bar-input-text-tracking - Letter spacing of the input text.
|
|
50
|
+
* @cssprop --m3e-search-bar-leading-space - Space before the leading icon.
|
|
51
|
+
* @cssprop --m3e-search-bar-trailing-space - Space after the trailing icon.
|
|
52
|
+
* @cssprop --m3e-search-bar-no-actions-leading-space - Leading padding when no actions are present.
|
|
53
|
+
* @cssprop --m3e-search-bar-no-actions-trailing-space - Trailing padding when no actions are present.
|
|
54
|
+
* @cssprop --m3e-search-bar-leading-actions-trailing-space - Space between leading actions and the input.
|
|
55
|
+
* @cssprop --m3e-search-bar-trailing-actions-leading-space - Space between the input and trailing actions.
|
|
56
|
+
* @cssprop --m3e-search-bar-actions-gap - Gap between action icons.
|
|
57
|
+
*/
|
|
58
|
+
export declare class M3eSearchBarElement extends M3eSearchBarElement_base {
|
|
59
|
+
#private;
|
|
60
|
+
/** The styles of the element. */
|
|
61
|
+
static styles: import("lit").CSSResultGroup;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the bar presents a button used to clear the search term.
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
clearable: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* The accessible label given to the button used to clear the search term.
|
|
69
|
+
* @default "Clear"
|
|
70
|
+
*/
|
|
71
|
+
clearLabel: string;
|
|
72
|
+
/** Clears the search term. */
|
|
73
|
+
clear(): void;
|
|
74
|
+
/** @inheritdoc */
|
|
75
|
+
protected render(): unknown;
|
|
76
|
+
}
|
|
77
|
+
interface M3eSearchBarElementEventMap extends HTMLElementEventMap {
|
|
78
|
+
clear: Event;
|
|
79
|
+
}
|
|
80
|
+
export interface M3eSearchBarElement {
|
|
81
|
+
addEventListener<K extends keyof M3eSearchBarElementEventMap>(type: K, listener: (this: M3eSearchBarElement, ev: M3eSearchBarElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
|
|
82
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
83
|
+
removeEventListener<K extends keyof M3eSearchBarElementEventMap>(type: K, listener: (this: M3eSearchBarElement, ev: M3eSearchBarElementEventMap[K]) => void, options?: boolean | EventListenerOptions): void;
|
|
84
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
85
|
+
}
|
|
86
|
+
declare global {
|
|
87
|
+
interface HTMLElementTagNameMap {
|
|
88
|
+
"m3e-search-bar": M3eSearchBarElement;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
export {};
|
|
92
|
+
//# sourceMappingURL=SearchBarElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBarElement.d.ts","sourceRoot":"","sources":["../../../src/search/SearchBarElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAYhD,OAAO,sBAAsB,CAAC;;AAI9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,qBACa,m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web/core/a11y";
|
|
3
|
+
import { SearchViewMode } from "./SearchViewMode";
|
|
4
|
+
import { SearchViewQueryEventDetail } from "./SearchViewQueryEventDetail";
|
|
5
|
+
import "./SearchBarElement";
|
|
6
|
+
declare const M3eSearchViewElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").ReconnectedCallbackMixin> & import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").AttachInternalsMixin> & typeof LitElement;
|
|
7
|
+
/**
|
|
8
|
+
* A surface that presents suggestions and results for a search.
|
|
9
|
+
*
|
|
10
|
+
* @description
|
|
11
|
+
* The `m3e-search-view` component presents the surface for suggestions,
|
|
12
|
+
* history, and results, managing the open and close lifecycle around an
|
|
13
|
+
* embedded search bar. It emits `query`, `clear`, and `toggle`, events to
|
|
14
|
+
* support application driven search logic, and exposes CSS properties for
|
|
15
|
+
* container, shape, spacing, and layout across contained, docked, and full
|
|
16
|
+
* screen configurations.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* The following example shows a contained view in docked mode with a simple set of search results.
|
|
20
|
+
* ```html
|
|
21
|
+
* <m3e-search-view mode="docked" contained>
|
|
22
|
+
* <input slot="input" placeholder="Search..." />
|
|
23
|
+
* <m3e-list>
|
|
24
|
+
* <m3e-list-item>Result One</m3e-list-item>
|
|
25
|
+
* <m3e-list-item>Result Two</m3e-list-item>
|
|
26
|
+
* <m3e-list-item>Result Three</m3e-list-item>
|
|
27
|
+
* </m3e-list>
|
|
28
|
+
* </m3e-search-view>
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @tag m3e-search-view
|
|
32
|
+
*
|
|
33
|
+
* @attr contained - Whether the view features a persistent, filled search container.
|
|
34
|
+
* @attr mode - The behavior mode of the view.
|
|
35
|
+
* @attr open - Whether the view is expanded to show results.
|
|
36
|
+
* @attr clear-label - The accessible label given to the button used to clear the search term.
|
|
37
|
+
* @attr close-label - The accessible label given to the button used to collapse the view.
|
|
38
|
+
* @attr hide-search-icon - Whether to hide the search icon.
|
|
39
|
+
*
|
|
40
|
+
* @slot - When open, renders the results content of the view.
|
|
41
|
+
* @slot input - Renders the input of the view.
|
|
42
|
+
* @slot open-leading - When open, renders content before the input of the view.
|
|
43
|
+
* @slot open-trailing - When open, renders content after the input of the view.
|
|
44
|
+
* @slot closed-leading - When closed, renders content before the input of the view.
|
|
45
|
+
* @slot closed-trailing - When closed, renders content after the input of the view.
|
|
46
|
+
*
|
|
47
|
+
* @fires clear - Dispatched when the search term is cleared.
|
|
48
|
+
* @fires query - Dispatched when the view is opened or when the user modifies the search term.
|
|
49
|
+
* @fires beforetoggle - Dispatched before the toggle state changes.
|
|
50
|
+
* @fires toggle - Dispatched after the toggle state has changed.
|
|
51
|
+
*
|
|
52
|
+
* @cssprop --m3e-search-view-container-color - Background color of the view container.
|
|
53
|
+
* @cssprop --m3e-search-view-contained-container-color - Background color of the contained view container.
|
|
54
|
+
* @cssprop --m3e-search-view-divider-color - Color of the divider separating header and results.
|
|
55
|
+
* @cssprop --m3e-search-view-divider-thickness - Thickness of the divider separating header and results.
|
|
56
|
+
* @cssprop --m3e-search-view-full-screen-container-shape - Shape of the fullscreen view container.
|
|
57
|
+
* @cssprop --m3e-search-view-full-screen-header-container-height - Height of the header container in fullscreen mode.
|
|
58
|
+
* @cssprop --m3e-search-view-docked-container-shape - Shape of the docked view container.
|
|
59
|
+
* @cssprop --m3e-search-view-docked-header-container-height - Height of the header container in docked mode.
|
|
60
|
+
* @cssprop --m3e-search-view-contained-leading-margin - Leading margin for the contained view.
|
|
61
|
+
* @cssprop --m3e-search-view-contained-trailing-margin - Trailing margin for the contained view.
|
|
62
|
+
* @cssprop --m3e-search-view-contained-focused-leading-margin - Leading margin when the contained view is focused.
|
|
63
|
+
* @cssprop --m3e-search-view-contained-focused-trailing-margin - Trailing margin when the contained view is focused.
|
|
64
|
+
* @cssprop --m3e-search-view-contained-docked-bar-results-gap - Gap between the contained docked bar and results.
|
|
65
|
+
* @cssprop --m3e-search-view-contained-docked-results-shape - Shape of the results container in contained docked mode.
|
|
66
|
+
* @cssprop --m3e-search-view-contained-docked-bar-shape - Shape of the bar in contained docked mode.
|
|
67
|
+
* @cssprop --m3e-search-view-contained-full-screen-bar-container-height - Height of the bar container in contained fullscreen mode.
|
|
68
|
+
* @cssprop --m3e-search-view-docked-container-min-height - Minimum height of the docked view container.
|
|
69
|
+
* @cssprop --m3e-search-view-docked-container-max-height - Maximum height of the docked view container.
|
|
70
|
+
* @cssprop --m3e-search-view-contained-docked-results-space - Space above the results in contained docked mode.
|
|
71
|
+
* @cssprop --m3e-search-view-docked-results-bottom-space - Space below the results in docked mode.
|
|
72
|
+
* @cssprop --m3e-search-view-docked-scrim-color - Color of the scrim behind the docked view.
|
|
73
|
+
* @cssprop --m3e-search-view-docked-scrim-opacity - Opacity of the scrim behind the docked view.
|
|
74
|
+
*/
|
|
75
|
+
export declare class M3eSearchViewElement extends M3eSearchViewElement_base {
|
|
76
|
+
#private;
|
|
77
|
+
/** The styles of the element. */
|
|
78
|
+
static styles: import("lit").CSSResultGroup;
|
|
79
|
+
/** @private */ private _clearable;
|
|
80
|
+
/** @private */ private _mode?;
|
|
81
|
+
/** @private */ private readonly _anchor;
|
|
82
|
+
/** @private */ private readonly _view;
|
|
83
|
+
constructor();
|
|
84
|
+
/**
|
|
85
|
+
* Whether the view features a persistent, filled search container.
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
contained: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* The behavior mode of the view.
|
|
91
|
+
* @default "docked"
|
|
92
|
+
*/
|
|
93
|
+
mode: SearchViewMode;
|
|
94
|
+
/**
|
|
95
|
+
* Whether the view is expanded to show results.
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
open: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* The accessible label given to the button used to clear the search term.
|
|
101
|
+
* @default "Clear"
|
|
102
|
+
*/
|
|
103
|
+
clearLabel: string;
|
|
104
|
+
/**
|
|
105
|
+
* The accessible label given to the button used to collapse the view.
|
|
106
|
+
* @default "Close"
|
|
107
|
+
*/
|
|
108
|
+
closeLabel: string;
|
|
109
|
+
/**
|
|
110
|
+
* Whether to hide the search icon.
|
|
111
|
+
* @default false;
|
|
112
|
+
*/
|
|
113
|
+
hideSearchIcon: boolean;
|
|
114
|
+
/** The current mode applied to the view. */
|
|
115
|
+
get currentMode(): Exclude<SearchViewMode, "auto">;
|
|
116
|
+
set currentMode(value: Exclude<SearchViewMode, "auto">);
|
|
117
|
+
/** Clears the search term. */
|
|
118
|
+
clear(): void;
|
|
119
|
+
/** @inheritdoc */
|
|
120
|
+
disconnectedCallback(): void;
|
|
121
|
+
/** @inheritdoc */
|
|
122
|
+
reconnectedCallback(): void;
|
|
123
|
+
/** @inheritdoc */
|
|
124
|
+
protected willUpdate(changedProperties: PropertyValues): void;
|
|
125
|
+
/** @inheritdoc */
|
|
126
|
+
protected updated(_changedProperties: PropertyValues<this>): void;
|
|
127
|
+
/** @inheritdoc */
|
|
128
|
+
protected render(): unknown;
|
|
129
|
+
/** @private */
|
|
130
|
+
private _handleFocusChange;
|
|
131
|
+
}
|
|
132
|
+
interface M3eSearchViewElementEventMap extends HTMLElementEventMap {
|
|
133
|
+
clear: Event;
|
|
134
|
+
query: CustomEvent<SearchViewQueryEventDetail>;
|
|
135
|
+
beforetoggle: ToggleEvent;
|
|
136
|
+
toggle: ToggleEvent;
|
|
137
|
+
}
|
|
138
|
+
export interface M3eSearchViewElement {
|
|
139
|
+
addEventListener<K extends keyof M3eSearchViewElementEventMap>(type: K, listener: (this: M3eSearchViewElement, ev: M3eSearchViewElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
|
|
140
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
141
|
+
removeEventListener<K extends keyof M3eSearchViewElementEventMap>(type: K, listener: (this: M3eSearchViewElement, ev: M3eSearchViewElementEventMap[K]) => void, options?: boolean | EventListenerOptions): void;
|
|
142
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
143
|
+
}
|
|
144
|
+
declare global {
|
|
145
|
+
interface HTMLElementTagNameMap {
|
|
146
|
+
"m3e-search-view": M3eSearchViewElement;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
export {};
|
|
150
|
+
//# sourceMappingURL=SearchViewElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewElement.d.ts","sourceRoot":"","sources":["../../../src/search/SearchViewElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,UAAU,EAAW,cAAc,EAAO,MAAM,KAAK,CAAC;AAsBrE,OAAO,oBAAoB,CAAC;AAG5B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,oBAAoB,CAAC;;AAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBACa,oBAAqB,SAAQ,yBAIzC;;IAKC,iCAAiC;IACjC,OAAgB,MAAM,+BAAmB;IAYzC,eAAe,CAAU,OAAO,CAAC,UAAU,CAAS;IACpD,eAAe,CAAU,OAAO,CAAC,KAAK,CAAC,CAAkC;IAKzE,eAAe,CAAmB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAe;IACzE,eAAe,CAAiB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAe;;IAUrE;;;OAGG;IACyC,SAAS,UAAS;IAE9D;;;OAGG;IAC0B,IAAI,EAAE,cAAc,CAAY;IAE7D;;;OAGG;IACyC,IAAI,UAAS;IAEzD;;;OAGG;IACqC,UAAU,SAAW;IAE7D;;;OAGG;IACqC,UAAU,SAAW;IAE7D;;;OAGG;IACyD,cAAc,UAAS;IAEnF,4CAA4C;IAC5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,KAAK,IAAI,EACnF,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IAER,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,oBAAoB,CAAC;KACzC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewMode.d.ts","sourceRoot":"","sources":["../../../src/search/SearchViewMode.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,QAAQ,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emitted when the search view needs data for the current term.
|
|
3
|
+
*
|
|
4
|
+
* This event fires in two situations:
|
|
5
|
+
* - When the search view opened
|
|
6
|
+
* - When the user changes the input value (the term)
|
|
7
|
+
*/
|
|
8
|
+
export interface SearchViewQueryEventDetail {
|
|
9
|
+
/** The term for which the component is requesting data. */
|
|
10
|
+
term: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=SearchViewQueryEventDetail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewQueryEventDetail.d.ts","sourceRoot":"","sources":["../../../src/search/SearchViewQueryEventDetail.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/search/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSResultGroup } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Light DOM styles for `M3eSearchBarElement`.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const SearchBarLightDomStyle: import("lit").CSSResult;
|
|
7
|
+
/**
|
|
8
|
+
* Styles for `M3eSearchBarElement`.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare const SearchBarStyle: CSSResultGroup;
|
|
12
|
+
//# sourceMappingURL=SearchBarStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBarStyle.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchBarStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C;;;GAGG;AACH,eAAO,MAAM,sBAAsB,yBASlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,cAkG5B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @internal */
|
|
2
|
+
export declare const SearchBarToken: {
|
|
3
|
+
readonly containerColor: import("lit").CSSResult;
|
|
4
|
+
readonly leadingIconColor: import("lit").CSSResult;
|
|
5
|
+
readonly trailingIconColor: import("lit").CSSResult;
|
|
6
|
+
readonly containerHeight: import("lit").CSSResult;
|
|
7
|
+
readonly containerShape: import("lit").CSSResult;
|
|
8
|
+
readonly iconSize: import("lit").CSSResult;
|
|
9
|
+
readonly supportingTextColor: import("lit").CSSResult;
|
|
10
|
+
readonly supportingTextFontSize: import("lit").CSSResult;
|
|
11
|
+
readonly supportingTextFontWeight: import("lit").CSSResult;
|
|
12
|
+
readonly supportingTextLineHeight: import("lit").CSSResult;
|
|
13
|
+
readonly supportingTextTracking: import("lit").CSSResult;
|
|
14
|
+
readonly inputColor: import("lit").CSSResult;
|
|
15
|
+
readonly inputTextFontSize: import("lit").CSSResult;
|
|
16
|
+
readonly inputTextFontWeight: import("lit").CSSResult;
|
|
17
|
+
readonly inputTextLineHeight: import("lit").CSSResult;
|
|
18
|
+
readonly inputTextTracking: import("lit").CSSResult;
|
|
19
|
+
readonly leadingSpace: import("lit").CSSResult;
|
|
20
|
+
readonly trailingSpace: import("lit").CSSResult;
|
|
21
|
+
readonly noActionsLeadingSpace: import("lit").CSSResult;
|
|
22
|
+
readonly noActionsTrailingSpace: import("lit").CSSResult;
|
|
23
|
+
readonly leadingActionsTrailingSpace: import("lit").CSSResult;
|
|
24
|
+
readonly trailingActionsLeadingSpace: import("lit").CSSResult;
|
|
25
|
+
readonly actionsGap: import("lit").CSSResult;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=SearchBarToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBarToken.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchBarToken.ts"],"names":[],"mappings":"AAIA,gBAAgB;AAChB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;CAwCjB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSResultGroup } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Light DOM styles for `M3eSearchViewElement`.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const SearchViewLightDomStyle: import("lit").CSSResult;
|
|
7
|
+
/**
|
|
8
|
+
* Styles for `M3eSearchViewElement`.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare const SearchViewStyle: CSSResultGroup;
|
|
12
|
+
//# sourceMappingURL=SearchViewStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewStyle.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchViewStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAa,MAAM,KAAK,CAAC;AAOrD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,yBASnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,cAsO7B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** @internal */
|
|
2
|
+
export declare const SearchViewToken: {
|
|
3
|
+
readonly containerColor: import("lit").CSSResult;
|
|
4
|
+
readonly containedContainerColor: import("lit").CSSResult;
|
|
5
|
+
readonly dividerColor: import("lit").CSSResult;
|
|
6
|
+
readonly dividerThickness: import("lit").CSSResult;
|
|
7
|
+
readonly fullScreenContainerShape: import("lit").CSSResult;
|
|
8
|
+
readonly fullScreenHeaderContainerHeight: import("lit").CSSResult;
|
|
9
|
+
readonly dockedContainerShape: import("lit").CSSResult;
|
|
10
|
+
readonly dockedHeaderContainerHeight: import("lit").CSSResult;
|
|
11
|
+
readonly containedLeadingMargin: import("lit").CSSResult;
|
|
12
|
+
readonly containedTrailingMargin: import("lit").CSSResult;
|
|
13
|
+
readonly containedFocusedLeadingMargin: import("lit").CSSResult;
|
|
14
|
+
readonly containedFocusedTrailingMargin: import("lit").CSSResult;
|
|
15
|
+
readonly containedDockedBarResultsGap: import("lit").CSSResult;
|
|
16
|
+
readonly containedDockedResultsShape: import("lit").CSSResult;
|
|
17
|
+
readonly containedDockedBarShape: import("lit").CSSResult;
|
|
18
|
+
readonly containedFullScreenBarContainerHeight: import("lit").CSSResult;
|
|
19
|
+
readonly dockedContainerMinHeight: import("lit").CSSResult;
|
|
20
|
+
readonly dockedContainerMaxHeight: import("lit").CSSResult;
|
|
21
|
+
readonly containedDockedResultsSpace: import("lit").CSSResult;
|
|
22
|
+
readonly dockedResultsBottomSpace: import("lit").CSSResult;
|
|
23
|
+
readonly dockedScrimColor: import("lit").CSSResult;
|
|
24
|
+
readonly dockedScrimOpacity: import("lit").CSSResult;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=SearchViewToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewToken.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchViewToken.ts"],"names":[],"mappings":"AAIA,gBAAgB;AAChB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAmClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
|
@@ -44,8 +44,8 @@ declare const M3eButtonSegmentElement_base: import("../core/shared/mixins/Constr
|
|
|
44
44
|
* @fires click - Emitted when the element is clicked.
|
|
45
45
|
*
|
|
46
46
|
* @cssprop --m3e-segmented-button-height - Total height of the segmented button.
|
|
47
|
-
* @cssprop --m3e-segmented-button-outline-thickness - Thickness of the button
|
|
48
|
-
* @cssprop --m3e-segmented-button-outline-color - Color of the button
|
|
47
|
+
* @cssprop --m3e-segmented-button-outline-thickness - Thickness of the button's border.
|
|
48
|
+
* @cssprop --m3e-segmented-button-outline-color - Color of the button's border.
|
|
49
49
|
* @cssprop --m3e-segmented-button-padding-start - Padding on the leading edge of the button content.
|
|
50
50
|
* @cssprop --m3e-segmented-button-padding-end - Padding on the trailing edge of the button content.
|
|
51
51
|
* @cssprop --m3e-segmented-button-spacing - Horizontal gap between icon and label.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectElement.d.ts","sourceRoot":"","sources":["../../../src/select/SelectElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAG5E,OAAO,
|
|
1
|
+
{"version":3,"file":"SelectElement.d.ts","sourceRoot":"","sources":["../../../src/select/SelectElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAA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,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC,KAAK,IAAI,EAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,gBAAgB,CACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,mBAAmB,CAAC,CAAC,SAAS,MAAM,0BAA0B,EAC5D,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC,KAAK,IAAI,EAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IAER,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,kBAAkB,CAAC;KACpC;CACF"}
|
|
@@ -12,7 +12,7 @@ declare const M3eSplitButtonElement_base: import("../core/shared/mixins/Construc
|
|
|
12
12
|
* `filled`, `tonal`, and `outlined` variants, and adapts to all button sizes. The leading button triggers
|
|
13
13
|
* the main action, while the trailing icon button reveals additional options, enabling efficient workflows
|
|
14
14
|
* and clear visual hierarchy. The split button ensures accessible, adaptive, and visually harmonious
|
|
15
|
-
* interactions, reflecting Material 3
|
|
15
|
+
* interactions, reflecting Material 3's principles of clarity, flexibility, and expressive design.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* The following example illustrates use of the `m3e-split-button` to combine the `m3e-button`,
|