@lion/ui 0.16.0 → 0.17.0-menu-system.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collapsible.js +1 -0
- package/components/button/src/LionButton.js +5 -0
- package/components/button/test-suites/LionButton.suite.js +1 -0
- package/components/calendar/src/LionCalendar.js +2 -0
- package/components/collapsible/src/DisclosureMixin.js +313 -0
- package/components/collapsible/types/DisclosureMixinTypes.ts +48 -0
- package/components/combobox/src/utils/makeMatchingTextBold.js +3 -1
- package/components/combobox/test/lion-combobox.test.js +105 -0
- package/components/form-core/src/form-group/FormGroupMixin.js +7 -0
- package/components/form-core/src/registration/FormRegistrarMixin.js +11 -0
- package/components/form-core/test/FormControlMixin.test.js +1 -0
- package/components/form-core/test/validate/Validator.test.js +2 -0
- package/components/form-core/test-suites/ValidateMixin.suite.js +2 -0
- package/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.js +1 -0
- package/components/input-datepicker/src/LionInputDatepicker.js +6 -2
- package/components/input-datepicker/src/localizeNamespaceLoader.js +1 -0
- package/components/input-datepicker/test/lion-input-datepicker.test.js +17 -2
- package/components/input-datepicker/translations/bg.js +1 -1
- package/components/input-datepicker/translations/cs.js +1 -1
- package/components/input-datepicker/translations/de.js +1 -1
- package/components/input-datepicker/translations/en.js +1 -1
- package/components/input-datepicker/translations/es.js +1 -1
- package/components/input-datepicker/translations/fr.js +1 -1
- package/components/input-datepicker/translations/hu.js +1 -1
- package/components/input-datepicker/translations/it.js +1 -1
- package/components/input-datepicker/translations/nl.js +1 -1
- package/components/input-datepicker/translations/pl.js +1 -1
- package/components/input-datepicker/translations/ro.js +1 -1
- package/components/input-datepicker/translations/ru.js +1 -1
- package/components/input-datepicker/translations/sk.js +1 -1
- package/components/input-datepicker/translations/tr.js +1 -1
- package/components/input-datepicker/translations/uk.js +1 -1
- package/components/input-datepicker/translations/zh.js +1 -1
- package/components/input-stepper/src/LionInputStepper.js +15 -7
- package/components/input-stepper/test-suites/lion-input-stepper.suite.js +28 -4
- package/components/localize/test/date/formatDate.test.js +1 -0
- package/components/menu/CHANGELOG.md +37 -0
- package/components/menu/README.md +335 -0
- package/components/menu/index.js +2 -0
- package/components/menu/lion-menu-overlay.js +3 -0
- package/components/menu/lion-menu.js +3 -0
- package/components/menu/lion-spinbutton.js +3 -0
- package/components/menu/lion-toolbar.js +3 -0
- package/components/menu/lion-tree.js +3 -0
- package/components/menu/package.json +46 -0
- package/components/menu/requirements.temp.md +12 -0
- package/components/menu/src/InteractiveListMixin.js +796 -0
- package/components/menu/src/LionMenu.js +250 -0
- package/components/menu/src/LionMenuHybrid.js +46 -0
- package/components/menu/src/LionMenuOverlay.js +155 -0
- package/components/menu/src/LionSpinbutton.js +213 -0
- package/components/menu/src/LionToolbar.js +94 -0
- package/components/menu/src/LionTree.js +52 -0
- package/components/menu/src/MultiLevelListMixin.js +275 -0
- package/components/menu/src/utils/isInView.js +26 -0
- package/components/menu/src/utils/listItemInteractions.js +104 -0
- package/components/menu/src/utils/uuid.js +3 -0
- package/components/menu/test/lion-menu.test.js +3 -0
- package/components/menu/test-suites/InteractiveListMixin.suite.js +142 -0
- package/components/menu/types/InteractiveListMixinTypes.d.ts +82 -0
- package/components/navigation-bar/README.md +1 -0
- package/components/navigation-bar/src/LionNavigationBar.js +449 -0
- package/components/navigation-bar/src/types.js +41 -0
- package/components/overlays/NEXT.md +49 -0
- package/components/overlays/src/OverlayController.js +165 -115
- package/components/overlays/src/OverlayMixin.js +75 -12
- package/components/overlays/src/OverlaysManager.js +102 -4
- package/components/overlays/src/overlayShadowDomStyle.js +2 -2
- package/components/overlays/src/utils/adopt-styles.js +2 -1
- package/components/overlays/src/utils/get-focusable-elements.js +4 -0
- package/components/overlays/src/utils/is-equal-config.js +4 -1
- package/components/overlays/test/OverlayController.test.js +117 -6
- package/components/overlays/test/OverlaysManager.test.js +1 -1
- package/components/overlays/types/OverlayConfig.ts +19 -4
- package/components/select-rich/test/lion-select-rich.test.js +3 -0
- package/custom-elements.json +12958 -2510
- package/dist-types/components/button/src/LionButton.d.ts +1 -0
- package/dist-types/components/button/src/LionButton.d.ts.map +1 -1
- package/dist-types/components/button/test-suites/LionButton.suite.d.ts.map +1 -1
- package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
- package/dist-types/components/collapsible/src/DisclosureMixin.d.ts +3 -0
- package/dist-types/components/collapsible/src/DisclosureMixin.d.ts.map +1 -0
- package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts +24 -0
- package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts.map +1 -0
- package/dist-types/components/combobox/src/utils/makeMatchingTextBold.d.ts.map +1 -1
- package/dist-types/components/dialog/src/LionDialog.d.ts +2 -1
- package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
- package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/src/registration/FormRegistrarMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
- package/dist-types/components/input-stepper/src/LionInputStepper.d.ts +4 -2
- package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
- package/dist-types/components/input-stepper/test-suites/lion-input-stepper.suite.d.ts.map +1 -1
- package/dist-types/components/menu/index.d.ts +3 -0
- package/dist-types/components/menu/index.d.ts.map +1 -0
- package/dist-types/components/menu/lion-menu-overlay.d.ts +2 -0
- package/dist-types/components/menu/lion-menu-overlay.d.ts.map +1 -0
- package/dist-types/components/menu/lion-menu.d.ts +2 -0
- package/dist-types/components/menu/lion-menu.d.ts.map +1 -0
- package/dist-types/components/menu/lion-spinbutton.d.ts +2 -0
- package/dist-types/components/menu/lion-spinbutton.d.ts.map +1 -0
- package/dist-types/components/menu/lion-toolbar.d.ts +2 -0
- package/dist-types/components/menu/lion-toolbar.d.ts.map +1 -0
- package/dist-types/components/menu/lion-tree.d.ts +2 -0
- package/dist-types/components/menu/lion-tree.d.ts.map +1 -0
- package/dist-types/components/menu/src/InteractiveListMixin.d.ts +611 -0
- package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +1 -0
- package/dist-types/components/menu/src/LionMenu.d.ts +563 -0
- package/dist-types/components/menu/src/LionMenu.d.ts.map +1 -0
- package/dist-types/components/menu/src/LionMenuHybrid.d.ts +19 -0
- package/dist-types/components/menu/src/LionMenuHybrid.d.ts.map +1 -0
- package/dist-types/components/menu/src/LionMenuOverlay.d.ts +1006 -0
- package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +1 -0
- package/dist-types/components/menu/src/LionSpinbutton.d.ts +58 -0
- package/dist-types/components/menu/src/LionSpinbutton.d.ts.map +1 -0
- package/dist-types/components/menu/src/LionToolbar.d.ts +8 -0
- package/dist-types/components/menu/src/LionToolbar.d.ts.map +1 -0
- package/dist-types/components/menu/src/LionTree.d.ts +445 -0
- package/dist-types/components/menu/src/LionTree.d.ts.map +1 -0
- package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +493 -0
- package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +1 -0
- package/dist-types/components/menu/src/utils/isInView.d.ts +9 -0
- package/dist-types/components/menu/src/utils/isInView.d.ts.map +1 -0
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +42 -0
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +1 -0
- package/dist-types/components/menu/src/utils/uuid.d.ts +2 -0
- package/dist-types/components/menu/src/utils/uuid.d.ts.map +1 -0
- package/dist-types/components/menu/test/lion-menu.test.d.ts +2 -0
- package/dist-types/components/menu/test/lion-menu.test.d.ts.map +1 -0
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +13 -0
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +1 -0
- package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +226 -0
- package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts.map +1 -0
- package/dist-types/components/navigation-bar/src/types.d.ts +85 -0
- package/dist-types/components/navigation-bar/src/types.d.ts.map +1 -0
- package/dist-types/components/overlays/src/OverlayController.d.ts +7 -13
- package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayMixin.d.ts +3 -0
- package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlaysManager.d.ts +33 -2
- package/dist-types/components/overlays/src/OverlaysManager.d.ts.map +1 -1
- package/dist-types/components/overlays/src/utils/get-focusable-elements.d.ts.map +1 -1
- package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
- package/dist-types/components/overlays/types/OverlayConfig.d.ts +6 -2
- package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts +11 -2
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
- package/dist-types/exports/define/lion-item.d.ts +2 -0
- package/dist-types/exports/define/lion-item.d.ts.map +1 -0
- package/dist-types/exports/define/lion-menu-overlay.d.ts +2 -0
- package/dist-types/exports/define/lion-menu-overlay.d.ts.map +1 -0
- package/dist-types/exports/define/lion-menu.d.ts +2 -0
- package/dist-types/exports/define/lion-menu.d.ts.map +1 -0
- package/dist-types/exports/define/lion-navigation-bar.d.ts +2 -0
- package/dist-types/exports/define/lion-navigation-bar.d.ts.map +1 -0
- package/dist-types/exports/define/lion-toolbar.d.ts +2 -0
- package/dist-types/exports/define/lion-toolbar.d.ts.map +1 -0
- package/dist-types/exports/define/lion-tree.d.ts +2 -0
- package/dist-types/exports/define/lion-tree.d.ts.map +1 -0
- package/dist-types/exports/menu.d.ts +7 -0
- package/dist-types/exports/menu.d.ts.map +1 -0
- package/dist-types/exports/navigation-bar.d.ts +2 -0
- package/dist-types/exports/navigation-bar.d.ts.map +1 -0
- package/dist-types/exports/overlays.d.ts +2 -0
- package/dist-types/exports/types/overlays.d.ts +1 -0
- package/dist-types/exports/types/overlays.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/form/use-cases.md +2 -2
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/index.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-datepicker/use-cases.md +16 -1
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/api-table.md +1 -1
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/api-table.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-stepper/use-cases.md +26 -0
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/menu/api-table.md +450 -0
- package/docs/components/menu/applyMenuDemoStyles.js +173 -0
- package/docs/components/menu/extensions.md +216 -0
- package/docs/components/menu/index.md +13 -0
- package/docs/components/menu/overview.md +422 -0
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/api-table.md +1 -1
- package/docs/components/select-rich/use-cases.md +2 -2
- package/docs/components/tabs/examples.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +18 -18
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/interaction-states.md +0 -1
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +2 -2
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/localize/text.md +1 -1
- package/docs/fundamentals/systems/overlays/api-table.md +98 -50
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/how-to/index.md +14 -0
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -2
- package/exports/collapsible.js +1 -0
- package/exports/define/lion-item.js +3 -0
- package/exports/define/lion-menu-overlay.js +3 -0
- package/exports/define/lion-menu.js +3 -0
- package/exports/define/lion-navigation-bar.js +3 -0
- package/exports/define/lion-toolbar.js +3 -0
- package/exports/define/lion-tree.js +3 -0
- package/exports/menu.js +6 -0
- package/exports/navigation-bar.js +1 -0
- package/exports/overlays.js +2 -0
- package/exports/types/overlays.ts +1 -0
- package/menu.js +6 -0
- package/navigation-bar.js +1 -0
- package/overlays.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {import('./InteractiveListMixin.js').LionItem} LionItem
|
|
3
|
+
* @typedef {import('../types/InteractiveListMixinTypes.js').InteractiveListHost} InteractiveList
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* All logic that is needed for interactive lists that are allowed to have multiple nested, collapsible levels
|
|
7
|
+
* Applies to [role=menu] and [role=tree]
|
|
8
|
+
*/
|
|
9
|
+
export function MultiLevelListMixin(superclass: any): {
|
|
10
|
+
new (): {
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
/**
|
|
13
|
+
* @configure DisclosureMixin
|
|
14
|
+
*/
|
|
15
|
+
readonly _invokerNode: any;
|
|
16
|
+
/**
|
|
17
|
+
* @configure DisclosureMixin
|
|
18
|
+
* This will be compatible with DisclosureMixin and OverlayMixin. It contains the invoked
|
|
19
|
+
* InteractiveList widget (like menu|tree).
|
|
20
|
+
*/
|
|
21
|
+
readonly _contentNode: HTMLElement;
|
|
22
|
+
/**
|
|
23
|
+
* When an invokerNode is supplied (usually by a parent level menu), it will take precedence
|
|
24
|
+
* over [slot=invoker] and previousElementSibling with [data-invoker] attribute
|
|
25
|
+
* @type {HTMLElement}
|
|
26
|
+
*/
|
|
27
|
+
invokerNode: HTMLElement;
|
|
28
|
+
/**
|
|
29
|
+
* @configure DisclosureMixin
|
|
30
|
+
*/
|
|
31
|
+
handleFocus: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The parent list if level > 1
|
|
34
|
+
* @type {InteractiveList}
|
|
35
|
+
*/
|
|
36
|
+
parentList: InteractiveList;
|
|
37
|
+
/**
|
|
38
|
+
* When true, will have a maximum of one submenu open at a time
|
|
39
|
+
*/
|
|
40
|
+
behaveAsAccordion: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The level of nested menus. Will be reflected as attribute for styling purposes
|
|
43
|
+
*/
|
|
44
|
+
level: number;
|
|
45
|
+
/**
|
|
46
|
+
* @configure InteractiveListMixin
|
|
47
|
+
*/
|
|
48
|
+
noPreselect: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @configure InteractiveListMixin
|
|
51
|
+
*/
|
|
52
|
+
_activeMode: string;
|
|
53
|
+
/**
|
|
54
|
+
* @type {Map<HTMLElement|LionItem,InteractiveList>}
|
|
55
|
+
*/
|
|
56
|
+
_subListMap: Map<HTMLElement | LionItem, InteractiveList>;
|
|
57
|
+
/**
|
|
58
|
+
* @param {*} newItems
|
|
59
|
+
*/
|
|
60
|
+
_initListItems(newItems: any): void;
|
|
61
|
+
/**
|
|
62
|
+
* @enhance DisclosureMixin
|
|
63
|
+
* @param {Event} [ev]
|
|
64
|
+
*/
|
|
65
|
+
toggle(ev?: Event | undefined): void;
|
|
66
|
+
/**
|
|
67
|
+
* @enhance InteractiveListMixin
|
|
68
|
+
* @param {*} ev
|
|
69
|
+
*/
|
|
70
|
+
_onListKeyDown(ev: any): void;
|
|
71
|
+
readonly slots: {
|
|
72
|
+
list: () => HTMLDivElement;
|
|
73
|
+
};
|
|
74
|
+
readonly _listNode: HTMLElement;
|
|
75
|
+
readonly _scrollTargetNode: any;
|
|
76
|
+
readonly _listItemsSlot: HTMLSlotElement;
|
|
77
|
+
readonly listItems: HTMLElement[];
|
|
78
|
+
readonly _childrenRoles: import("../types/InteractiveListMixinTypes.js").InteractiveListItemRole[];
|
|
79
|
+
readonly _interactiveChildrenRoles: string[];
|
|
80
|
+
activeIndex: number;
|
|
81
|
+
readonly activeItem: HTMLElement;
|
|
82
|
+
checkedIndex: number | number[];
|
|
83
|
+
setCheckedIndex(index: number): void;
|
|
84
|
+
readonly isInteractiveList: boolean;
|
|
85
|
+
orientation: string;
|
|
86
|
+
multipleChoice: boolean;
|
|
87
|
+
selectionFollowsFocus: boolean;
|
|
88
|
+
rotateKeyboardNavigation: boolean;
|
|
89
|
+
_hasSmartChildren: boolean;
|
|
90
|
+
_listRole: "menu" | "listbox" | "tree" | "menubar" | "toolbar";
|
|
91
|
+
__listItems: HTMLElement[];
|
|
92
|
+
_activateOnTypedChars: boolean;
|
|
93
|
+
_activateOnCharTimeout: number;
|
|
94
|
+
__typedChars: string[];
|
|
95
|
+
_onListClick(ev: MouseEvent): void;
|
|
96
|
+
_onListKeyUp(ev: KeyboardEvent): void;
|
|
97
|
+
_onListFocusIn(ev: FocusEvent): void;
|
|
98
|
+
firstUpdated(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
99
|
+
"__#6@#identifyNewItemsAndInitListItems"(nodes: Node[]): void;
|
|
100
|
+
_setupList(): void;
|
|
101
|
+
__onKeydownActivateTypedChars(ev: KeyboardEvent): boolean;
|
|
102
|
+
__clearCharTimeout: NodeJS.Timeout | undefined;
|
|
103
|
+
_matchCharsAgainstItem({ chars, item }: {
|
|
104
|
+
chars: string[];
|
|
105
|
+
item: HTMLElement;
|
|
106
|
+
}): any;
|
|
107
|
+
__preventScrollingWithArrowKeys(ev: KeyboardEvent): void;
|
|
108
|
+
__getNextOption(currentIndex: number, offset: number): number;
|
|
109
|
+
_getNextEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
110
|
+
_getPreviousEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
111
|
+
readonly renderOptions: import("lit-html").RenderOptions;
|
|
112
|
+
__childPart: any;
|
|
113
|
+
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
114
|
+
update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
115
|
+
connectedCallback: (() => void) & (() => void);
|
|
116
|
+
disconnectedCallback(): void;
|
|
117
|
+
__instanceProperties?: any;
|
|
118
|
+
readonly renderRoot: HTMLElement | DocumentFragment;
|
|
119
|
+
__updatePromise: any;
|
|
120
|
+
isUpdatePending: boolean;
|
|
121
|
+
hasUpdated: boolean;
|
|
122
|
+
__defaultValues?: any;
|
|
123
|
+
__reflectingProperties?: any;
|
|
124
|
+
__reflectingProperty: any;
|
|
125
|
+
__controllers?: any;
|
|
126
|
+
__initialize: any;
|
|
127
|
+
addController(controller: import("lit").ReactiveController): void;
|
|
128
|
+
removeController(controller: import("lit").ReactiveController): void;
|
|
129
|
+
__saveInstanceProperties: any;
|
|
130
|
+
enableUpdating(_requestedUpdate: boolean): void;
|
|
131
|
+
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
132
|
+
__propertyToAttribute: any;
|
|
133
|
+
requestUpdate(name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined, useNewValue?: boolean | undefined, newValue?: unknown): void;
|
|
134
|
+
__enqueueUpdate: any;
|
|
135
|
+
scheduleUpdate(): void | Promise<unknown>;
|
|
136
|
+
performUpdate(): void;
|
|
137
|
+
willUpdate(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
138
|
+
__markUpdated: any;
|
|
139
|
+
readonly updateComplete: Promise<boolean>;
|
|
140
|
+
getUpdateComplete(): Promise<boolean>;
|
|
141
|
+
shouldUpdate(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): boolean;
|
|
142
|
+
updated(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
143
|
+
accessKey: string;
|
|
144
|
+
readonly accessKeyLabel: string;
|
|
145
|
+
autocapitalize: string;
|
|
146
|
+
dir: string;
|
|
147
|
+
draggable: boolean;
|
|
148
|
+
hidden: boolean;
|
|
149
|
+
inert: boolean;
|
|
150
|
+
innerText: string;
|
|
151
|
+
lang: string;
|
|
152
|
+
readonly offsetHeight: number;
|
|
153
|
+
readonly offsetLeft: number;
|
|
154
|
+
readonly offsetParent: Element | null;
|
|
155
|
+
readonly offsetTop: number;
|
|
156
|
+
readonly offsetWidth: number;
|
|
157
|
+
outerText: string;
|
|
158
|
+
spellcheck: boolean;
|
|
159
|
+
title: string;
|
|
160
|
+
translate: boolean;
|
|
161
|
+
attachInternals(): ElementInternals;
|
|
162
|
+
click(): void;
|
|
163
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
164
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
165
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
166
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
167
|
+
readonly attributes: NamedNodeMap;
|
|
168
|
+
readonly classList: DOMTokenList;
|
|
169
|
+
className: string;
|
|
170
|
+
readonly clientHeight: number;
|
|
171
|
+
readonly clientLeft: number;
|
|
172
|
+
readonly clientTop: number;
|
|
173
|
+
readonly clientWidth: number;
|
|
174
|
+
id: string;
|
|
175
|
+
readonly localName: string;
|
|
176
|
+
readonly namespaceURI: string | null;
|
|
177
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
178
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
179
|
+
outerHTML: string;
|
|
180
|
+
readonly ownerDocument: Document;
|
|
181
|
+
readonly part: DOMTokenList;
|
|
182
|
+
readonly prefix: string | null;
|
|
183
|
+
readonly scrollHeight: number;
|
|
184
|
+
scrollLeft: number;
|
|
185
|
+
scrollTop: number;
|
|
186
|
+
readonly scrollWidth: number;
|
|
187
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
188
|
+
slot: string;
|
|
189
|
+
readonly tagName: string;
|
|
190
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
191
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
192
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
193
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
194
|
+
getAttribute(qualifiedName: string): string | null;
|
|
195
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
196
|
+
getAttributeNames(): string[];
|
|
197
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
198
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
199
|
+
getBoundingClientRect(): DOMRect;
|
|
200
|
+
getClientRects(): DOMRectList;
|
|
201
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
202
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
203
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
204
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
205
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
206
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
207
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
208
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
209
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
210
|
+
hasAttributes(): boolean;
|
|
211
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
212
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
213
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
214
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
215
|
+
matches(selectors: string): boolean;
|
|
216
|
+
releasePointerCapture(pointerId: number): void;
|
|
217
|
+
removeAttribute(qualifiedName: string): void;
|
|
218
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
219
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
220
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
221
|
+
requestPointerLock(): void;
|
|
222
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
223
|
+
scroll(x: number, y: number): void;
|
|
224
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
225
|
+
scrollBy(x: number, y: number): void;
|
|
226
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
227
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
228
|
+
scrollTo(x: number, y: number): void;
|
|
229
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
230
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
231
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
232
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
233
|
+
setPointerCapture(pointerId: number): void;
|
|
234
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
235
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
236
|
+
setHTMLUnsafe(html: string): void;
|
|
237
|
+
readonly baseURI: string;
|
|
238
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
239
|
+
readonly firstChild: ChildNode | null;
|
|
240
|
+
readonly isConnected: boolean;
|
|
241
|
+
readonly lastChild: ChildNode | null;
|
|
242
|
+
readonly nextSibling: ChildNode | null;
|
|
243
|
+
readonly nodeName: string;
|
|
244
|
+
readonly nodeType: number;
|
|
245
|
+
nodeValue: string | null;
|
|
246
|
+
readonly parentElement: HTMLElement | null;
|
|
247
|
+
readonly parentNode: ParentNode | null;
|
|
248
|
+
readonly previousSibling: ChildNode | null;
|
|
249
|
+
textContent: string | null;
|
|
250
|
+
appendChild<T extends Node>(node: T): T;
|
|
251
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
252
|
+
compareDocumentPosition(other: Node): number;
|
|
253
|
+
contains(other: Node | null): boolean;
|
|
254
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
255
|
+
hasChildNodes(): boolean;
|
|
256
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
257
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
258
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
259
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
260
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
261
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
262
|
+
normalize(): void;
|
|
263
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
264
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
265
|
+
readonly ATTRIBUTE_NODE: number;
|
|
266
|
+
readonly CDATA_SECTION_NODE: number;
|
|
267
|
+
readonly COMMENT_NODE: number;
|
|
268
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
269
|
+
readonly DOCUMENT_NODE: number;
|
|
270
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
271
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
272
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
273
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
274
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
275
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
276
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
277
|
+
readonly ELEMENT_NODE: number;
|
|
278
|
+
readonly ENTITY_NODE: number;
|
|
279
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
280
|
+
readonly NOTATION_NODE: number;
|
|
281
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
282
|
+
readonly TEXT_NODE: number;
|
|
283
|
+
dispatchEvent(event: Event): boolean;
|
|
284
|
+
ariaAtomic: string | null;
|
|
285
|
+
ariaAutoComplete: string | null;
|
|
286
|
+
ariaBusy: string | null;
|
|
287
|
+
ariaChecked: string | null;
|
|
288
|
+
ariaColCount: string | null;
|
|
289
|
+
ariaColIndex: string | null;
|
|
290
|
+
ariaColIndexText: string | null;
|
|
291
|
+
ariaColSpan: string | null;
|
|
292
|
+
ariaCurrent: string | null;
|
|
293
|
+
ariaDisabled: string | null;
|
|
294
|
+
ariaExpanded: string | null;
|
|
295
|
+
ariaHasPopup: string | null;
|
|
296
|
+
ariaHidden: string | null;
|
|
297
|
+
ariaInvalid: string | null;
|
|
298
|
+
ariaKeyShortcuts: string | null;
|
|
299
|
+
ariaLabel: string | null;
|
|
300
|
+
ariaLevel: string | null;
|
|
301
|
+
ariaLive: string | null;
|
|
302
|
+
ariaModal: string | null;
|
|
303
|
+
ariaMultiLine: string | null;
|
|
304
|
+
ariaMultiSelectable: string | null;
|
|
305
|
+
ariaOrientation: string | null;
|
|
306
|
+
ariaPlaceholder: string | null;
|
|
307
|
+
ariaPosInSet: string | null;
|
|
308
|
+
ariaPressed: string | null;
|
|
309
|
+
ariaReadOnly: string | null;
|
|
310
|
+
ariaRequired: string | null;
|
|
311
|
+
ariaRoleDescription: string | null;
|
|
312
|
+
ariaRowCount: string | null;
|
|
313
|
+
ariaRowIndex: string | null;
|
|
314
|
+
ariaRowIndexText: string | null;
|
|
315
|
+
ariaRowSpan: string | null;
|
|
316
|
+
ariaSelected: string | null;
|
|
317
|
+
ariaSetSize: string | null;
|
|
318
|
+
ariaSort: string | null;
|
|
319
|
+
ariaValueMax: string | null;
|
|
320
|
+
ariaValueMin: string | null;
|
|
321
|
+
ariaValueNow: string | null;
|
|
322
|
+
ariaValueText: string | null;
|
|
323
|
+
role: string | null;
|
|
324
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
325
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
326
|
+
after(...nodes: (string | Node)[]): void;
|
|
327
|
+
before(...nodes: (string | Node)[]): void;
|
|
328
|
+
remove(): void;
|
|
329
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
330
|
+
innerHTML: string;
|
|
331
|
+
readonly nextElementSibling: Element | null;
|
|
332
|
+
readonly previousElementSibling: Element | null;
|
|
333
|
+
readonly childElementCount: number;
|
|
334
|
+
readonly children: HTMLCollection;
|
|
335
|
+
readonly firstElementChild: Element | null;
|
|
336
|
+
readonly lastElementChild: Element | null;
|
|
337
|
+
append(...nodes: (string | Node)[]): void;
|
|
338
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
339
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
|
|
340
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
|
|
341
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
342
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
343
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
344
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
345
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
346
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
347
|
+
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
348
|
+
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
349
|
+
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
350
|
+
readonly style: CSSStyleDeclaration;
|
|
351
|
+
contentEditable: string;
|
|
352
|
+
enterKeyHint: string;
|
|
353
|
+
inputMode: string;
|
|
354
|
+
readonly isContentEditable: boolean;
|
|
355
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
356
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
357
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
358
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
359
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
360
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
361
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
362
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
363
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
364
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
365
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
366
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
367
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
368
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
369
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
370
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
371
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
372
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
373
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
374
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
375
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
376
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
377
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
378
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
379
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
380
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
381
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
382
|
+
onerror: OnErrorEventHandler;
|
|
383
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
384
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
385
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
386
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
387
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
388
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
389
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
390
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
391
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
392
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
393
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
394
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
395
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
396
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
397
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
398
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
399
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
400
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
401
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
402
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
403
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
404
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
405
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
406
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
407
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
408
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
409
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
410
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
411
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
412
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
413
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
414
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
415
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
416
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
417
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
418
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
419
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
420
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
421
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
422
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
423
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
424
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
425
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
426
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
427
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
428
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
429
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
430
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
431
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
432
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
433
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
434
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
435
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
436
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
437
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
438
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
439
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
440
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
441
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
442
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
443
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
444
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
445
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
446
|
+
autofocus: boolean;
|
|
447
|
+
readonly dataset: DOMStringMap;
|
|
448
|
+
nonce?: string | undefined;
|
|
449
|
+
tabIndex: number;
|
|
450
|
+
blur(): void;
|
|
451
|
+
focus(options?: FocusOptions | undefined): void;
|
|
452
|
+
_connectSlotMixin(): void;
|
|
453
|
+
_isPrivateSlot(slotName: string): boolean;
|
|
454
|
+
disabled: boolean;
|
|
455
|
+
makeRequestToBeDisabled(): void;
|
|
456
|
+
retractRequestToBeDisabled(): void;
|
|
457
|
+
__internalSetDisabled(value: boolean): void;
|
|
458
|
+
_requestedToBeDisabled: boolean;
|
|
459
|
+
};
|
|
460
|
+
readonly properties: {
|
|
461
|
+
invokerNode: ObjectConstructor;
|
|
462
|
+
behaveAsAccordion: {
|
|
463
|
+
type: BooleanConstructor;
|
|
464
|
+
attribute: string;
|
|
465
|
+
};
|
|
466
|
+
level: {
|
|
467
|
+
type: NumberConstructor;
|
|
468
|
+
reflect: boolean;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
/**
|
|
472
|
+
* Gets the child InteractiveList, based on item
|
|
473
|
+
* @param {LionItem|HTMLElement} item can be sibling of or parent of InteractiveList
|
|
474
|
+
*/
|
|
475
|
+
_getSubInteractiveList(item: LionItem | HTMLElement): Element | undefined;
|
|
476
|
+
styles: any;
|
|
477
|
+
[Symbol.metadata]: object & Record<PropertyKey, unknown>;
|
|
478
|
+
_$litElement$: boolean;
|
|
479
|
+
enabledWarnings?: import("lit").WarningKind[] | undefined;
|
|
480
|
+
enableWarning?: ((warningKind: import("lit").WarningKind) => void) | undefined;
|
|
481
|
+
disableWarning?: ((warningKind: import("lit").WarningKind) => void) | undefined;
|
|
482
|
+
addInitializer: typeof import("lit").ReactiveElement.addInitializer;
|
|
483
|
+
_initializers?: import("lit").Initializer[] | undefined;
|
|
484
|
+
elementProperties: Map<PropertyKey, import("lit").PropertyDeclaration<unknown, unknown>>;
|
|
485
|
+
elementStyles: import("lit").CSSResultOrNative[];
|
|
486
|
+
readonly observedAttributes: string[];
|
|
487
|
+
createProperty: typeof import("lit").ReactiveElement.createProperty;
|
|
488
|
+
getPropertyOptions: typeof import("lit").ReactiveElement.getPropertyOptions;
|
|
489
|
+
shadowRootOptions: ShadowRootInit;
|
|
490
|
+
};
|
|
491
|
+
export type LionItem = import('./InteractiveListMixin.js').LionItem;
|
|
492
|
+
export type InteractiveList = import('../types/InteractiveListMixinTypes.js').InteractiveListHost;
|
|
493
|
+
//# sourceMappingURL=MultiLevelListMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiLevelListMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/MultiLevelListMixin.js"],"names":[],"mappings":"AAMA;;;GAGG;AAEH;;;GAGG;AAEH;;;QAmBI;;WAEG;;QAMH;;;;WAIG;;QAQD;;;;WAIG;qBADO,WAAW;QAIrB;;WAEG;;QAEH;;;WAGG;oBADO,eAAe;QAIzB;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;qBADO,IAAI,WAAW,GAAC,QAAQ,EAAC,eAAe,CAAC;QAuDrD;;WAEG;;QAqBH;;;WAGG;;QAWH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA/EH;;;OAGG;iCADQ,QAAQ,GAAC,WAAW;;;;;;;;;;;;;;;EAsKhC;uBA1QU,OAAO,2BAA2B,EAAE,QAAQ;8BAC5C,OAAO,uCAAuC,EAAE,mBAAmB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Determines whether element is visible within container
|
|
3
|
+
*
|
|
4
|
+
* @param {HTMLElement} container
|
|
5
|
+
* @param {HTMLElement} element
|
|
6
|
+
* @param {Boolean} [partial]
|
|
7
|
+
*/
|
|
8
|
+
export function isInView(container: HTMLElement, element: HTMLElement, partial?: boolean | undefined): boolean | undefined;
|
|
9
|
+
//# sourceMappingURL=isInView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isInView.d.ts","sourceRoot":"","sources":["../../../../../components/menu/src/utils/isInView.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oCAJW,WAAW,WACX,WAAW,sDAqBrB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Set of universal interactive list item state methods that are both compatible with
|
|
3
|
+
* 'smart' (LionOption) and 'regular' items
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {HTMLElement} item
|
|
7
|
+
*/
|
|
8
|
+
export function isDisabled(item: HTMLElement): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @param {HTMLElement} item
|
|
11
|
+
*/
|
|
12
|
+
export function setDisabled(item: HTMLElement, unset?: boolean): void;
|
|
13
|
+
/**
|
|
14
|
+
* @param {HTMLElement} item
|
|
15
|
+
*/
|
|
16
|
+
export function toggleDisabled(item: HTMLElement): void;
|
|
17
|
+
/**
|
|
18
|
+
* @param {HTMLElement} item
|
|
19
|
+
*/
|
|
20
|
+
export function isChecked(item: HTMLElement): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @param {HTMLElement} item
|
|
23
|
+
* @param {boolean} [shouldSet=false]
|
|
24
|
+
*/
|
|
25
|
+
export function setChecked(item: HTMLElement, shouldSet?: boolean | undefined): void;
|
|
26
|
+
/**
|
|
27
|
+
* @param {HTMLElement} item
|
|
28
|
+
*/
|
|
29
|
+
export function toggleChecked(item: HTMLElement): void;
|
|
30
|
+
/**
|
|
31
|
+
* @param {HTMLElement} item
|
|
32
|
+
*/
|
|
33
|
+
export function isActive(item: HTMLElement): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* @param {HTMLElement} item
|
|
36
|
+
*/
|
|
37
|
+
export function setActive(item: HTMLElement, unset?: boolean): void;
|
|
38
|
+
/**
|
|
39
|
+
* @param {HTMLElement} item
|
|
40
|
+
*/
|
|
41
|
+
export function getValue(item: HTMLElement): any;
|
|
42
|
+
//# sourceMappingURL=listItemInteractions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listItemInteractions.d.ts","sourceRoot":"","sources":["../../../../../components/menu/src/utils/listItemInteractions.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,iCAFW,WAAW,WAIrB;AAED;;GAEG;AACH,kCAFW,WAAW,yBAUrB;AAED;;GAEG;AACH,qCAFW,WAAW,QAIrB;AAED;;GAEG;AACH,gCAFW,WAAW,WAIrB;AAED;;;GAGG;AACH,iCAHW,WAAW,yCAYrB;AAED;;GAEG;AACH,oCAFW,WAAW,QAIrB;AAED;;GAEG;AACH,+BAFW,WAAW,WAIrB;AAED;;GAEG;AACH,gCAFW,WAAW,yBAQrB;AAaD;;GAEG;AACH,+BAFW,WAAW,OAYrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../../../../components/menu/src/utils/uuid.js"],"names":[],"mappings":"AAAA,+BAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lion-menu.test.d.ts","sourceRoot":"","sources":["../../../../components/menu/test/lion-menu.test.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} TestConfig
|
|
3
|
+
* @property {string} tagString
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {TestConfig} [customConfig]
|
|
7
|
+
*/
|
|
8
|
+
export function runInteractiveListMixinSuite(customConfig?: TestConfig | undefined): void;
|
|
9
|
+
export type TestConfig = {
|
|
10
|
+
tagString: string;
|
|
11
|
+
};
|
|
12
|
+
export type InteractiveListItemRole = import('../types/InteractiveListMixinTypes.js').InteractiveListItemRole;
|
|
13
|
+
//# sourceMappingURL=InteractiveListMixin.suite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractiveListMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/menu/test-suites/InteractiveListMixin.suite.js"],"names":[],"mappings":"AAqBA;;;GAGG;AAEH;;GAEG;AACH,0FAgHC;;eAtHa,MAAM;;sCAhBP,OAAO,uCAAuC,EAAE,uBAAuB"}
|