@odx/foundation 1.0.0-beta.21 → 1.0.0-beta.210
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 +51 -9
- package/dist/_virtual_class-decorator-runtime.js +13 -0
- package/dist/components/accordion/accordion.d.ts +11 -6
- package/dist/components/accordion-item/accordion-item.d.ts +25 -0
- package/dist/components/{accordion → accordion-panel}/accordion-panel.d.ts +4 -3
- package/dist/components/action-button/action-button.d.ts +28 -0
- package/dist/components/action-group/action-group.d.ts +6 -13
- package/dist/components/anchor-navigation/anchor-navigation.d.ts +8 -6
- package/dist/components/anchor-navigation/index.d.ts +0 -1
- package/dist/components/area-footer/area-footer.d.ts +29 -0
- package/dist/components/area-header/area-header.d.ts +20 -4
- package/dist/components/autocomplete/autocomplete.d.ts +27 -0
- package/dist/components/avatar/avatar.d.ts +34 -5
- package/dist/components/badge/badge.d.ts +32 -5
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +3 -7
- package/dist/components/button/button.d.ts +33 -23
- package/dist/components/button-group/button-group.d.ts +10 -5
- package/dist/components/card/card.d.ts +14 -3
- package/dist/components/checkbox/checkbox.d.ts +6 -6
- package/dist/components/checkbox-group/checkbox-group.d.ts +10 -5
- package/dist/components/chip/chip.d.ts +14 -5
- package/dist/components/drawer/drawer.d.ts +17 -0
- package/dist/components/dropdown/dropdown.d.ts +25 -13
- package/dist/components/empty-state/empty-state.d.ts +42 -0
- package/dist/components/form-field/form-field.d.ts +3 -4
- package/dist/components/format/base-format.d.ts +2 -2
- package/dist/components/format/format-bytes.d.ts +1 -1
- package/dist/components/format/format-number.d.ts +1 -1
- package/dist/components/format/relative-time.d.ts +2 -2
- package/dist/components/gradient-overlay/gradient-overlay.d.ts +23 -0
- package/dist/components/header/header.d.ts +12 -2
- package/dist/components/header/index.d.ts +0 -1
- package/dist/components/highlight/highlight.d.ts +27 -7
- package/dist/components/icon-button/icon-button.d.ts +15 -16
- package/dist/components/image/image.d.ts +5 -5
- package/dist/components/inline-message/inline-message.d.ts +17 -6
- package/dist/components/input/input.d.ts +15 -10
- package/dist/components/key-value/key-value.d.ts +49 -0
- package/dist/components/key-value-list/key-value-list.d.ts +15 -0
- package/dist/components/label/label.d.ts +11 -0
- package/dist/components/line-clamp/line-clamp.d.ts +3 -3
- package/dist/components/link/link.d.ts +16 -4
- package/dist/components/list/list.d.ts +10 -2
- package/dist/components/list-item/list-item.d.ts +24 -0
- package/dist/components/loader.d.ts +2 -0
- package/dist/components/loading-overlay/loading-overlay.d.ts +3 -5
- package/dist/components/loading-spinner/loading-spinner.d.ts +9 -3
- package/dist/components/logo/logo.d.ts +12 -3
- package/dist/components/main-menu/index.d.ts +1 -4
- package/dist/components/main-menu/main-menu-button.d.ts +3 -2
- package/dist/components/main-menu/main-menu.d.ts +1 -7
- package/dist/components/main.d.ts +75 -58
- package/dist/components/menu/menu.d.ts +7 -5
- package/dist/components/menu-item/menu-item.d.ts +27 -4
- package/dist/components/modal/modal.d.ts +10 -27
- package/dist/components/navigation/navigation.d.ts +18 -0
- package/dist/components/navigation-item/navigation-item.d.ts +11 -7
- package/dist/components/navigation-item-group/navigation-item-group.d.ts +20 -0
- package/dist/components/option/option.d.ts +6 -3
- package/dist/components/page/page.d.ts +20 -6
- package/dist/components/page-layout/page-layout.d.ts +9 -1
- package/dist/components/pagination/pagination.d.ts +3 -2
- package/dist/components/popover/compute-popover-placement.d.ts +13 -0
- package/dist/components/popover/popover-host.d.ts +43 -0
- package/dist/components/popover/popover-observer.d.ts +10 -0
- package/dist/{cdk → components}/popover/popover.d.ts +3 -2
- package/dist/components/progress-bar/base-progress.d.ts +14 -0
- package/dist/components/progress-bar/progress-bar.d.ts +2 -14
- package/dist/components/progress-ring/progress-ring.d.ts +33 -0
- package/dist/components/radio-button/radio-button.d.ts +5 -3
- package/dist/components/radio-group/radio-group.d.ts +12 -4
- package/dist/components/rail-navigation/rail-navigation.d.ts +5 -7
- package/dist/components/scroll-container/scroll-container.d.ts +36 -0
- package/dist/components/search-bar/search-bar.d.ts +19 -5
- package/dist/components/select/select.d.ts +11 -10
- package/dist/components/separator/separator.d.ts +10 -4
- package/dist/components/sidebar/sidebar.d.ts +30 -0
- package/dist/components/skeleton/skeleton.d.ts +13 -6
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/slider/slider-handle.d.ts +6 -6
- package/dist/components/slider/slider-marks.d.ts +2 -2
- package/dist/components/slider/slider.d.ts +2 -3
- package/dist/components/slider/slider.models.d.ts +4 -3
- package/dist/components/spinbox/spinbox.d.ts +14 -10
- package/dist/components/status/status.d.ts +24 -0
- package/dist/components/switch/switch.d.ts +12 -2
- package/dist/components/tab-bar/tab-bar.d.ts +36 -0
- package/dist/components/table/index.d.ts +3 -3
- package/dist/components/table/table-body.d.ts +1 -3
- package/dist/components/table/table-cell.d.ts +1 -3
- package/dist/components/table/table-checkbox-cell.d.ts +2 -2
- package/dist/components/table/table-header-cell.d.ts +1 -1
- package/dist/components/table/table-header.d.ts +5 -3
- package/dist/components/table/table-row.d.ts +3 -3
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/text/text.d.ts +23 -3
- package/dist/components/textarea/textarea.d.ts +21 -0
- package/dist/components/tile/tile.d.ts +33 -0
- package/dist/components/title/title.d.ts +19 -5
- package/dist/components/toast/toast.d.ts +15 -3
- package/dist/components/toggle-button/toggle-button.d.ts +32 -6
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +20 -0
- package/dist/components/toggle-content/toggle-content.d.ts +4 -4
- package/dist/components/toolbar/toolbar.d.ts +14 -0
- package/dist/components/tooltip/tooltip.d.ts +50 -3
- package/dist/components/translate/translate.d.ts +2 -2
- package/dist/components-loader.js +3 -0
- package/dist/components.js +3857 -4240
- package/dist/en.js +6 -0
- package/dist/i18n/{lib/is-localized.d.ts → is-localized.d.ts} +3 -2
- package/dist/i18n/{lib/localization.d.ts → localization.d.ts} +0 -1
- package/dist/i18n/main.d.ts +7 -6
- package/dist/i18n/translate.d.ts +6 -0
- package/dist/i18n/translations/en.json.d.ts +19 -0
- package/dist/i18n/types.d.ts +30 -0
- package/dist/i18n.js +52 -58
- package/dist/lib/behaviors/can-be-collapsed.d.ts +10 -0
- package/dist/lib/behaviors/can-be-disabled.d.ts +9 -0
- package/dist/lib/behaviors/can-be-expanded.d.ts +11 -0
- package/dist/lib/behaviors/checkbox-control-group.d.ts +21 -0
- package/dist/lib/behaviors/checkbox-control.d.ts +15 -0
- package/dist/lib/behaviors/form-associated.d.ts +22 -0
- package/dist/lib/behaviors/is-draggable.d.ts +23 -0
- package/dist/lib/behaviors/listbox-control.d.ts +26 -0
- package/dist/lib/behaviors/number-form-control.d.ts +11 -0
- package/dist/lib/behaviors/option-control.d.ts +18 -0
- package/dist/lib/behaviors/radio-group-control.d.ts +12 -0
- package/dist/lib/control-element.d.ts +40 -0
- package/dist/lib/controllers/active-descendants-controller.d.ts +29 -0
- package/dist/lib/controllers/drag.controller.d.ts +18 -0
- package/dist/lib/controllers/expandable-controller.d.ts +6 -10
- package/dist/lib/custom-element.d.ts +8 -5
- package/dist/lib/dialog-element.d.ts +183 -0
- package/dist/lib/interactive-control-element.d.ts +19 -0
- package/dist/lib/link-control-element.d.ts +19 -0
- package/dist/lib/models/appearance.d.ts +8 -0
- package/dist/lib/models/layout.d.ts +46 -0
- package/dist/lib/models/shape.d.ts +7 -0
- package/dist/lib/models/size.d.ts +11 -0
- package/dist/lib/models/variant.d.ts +20 -0
- package/dist/main.d.ts +31 -0
- package/dist/main.js +1155 -721
- package/dist/styles-native.css +1 -0
- package/dist/styles.css +1 -1
- package/dist/utils/attribute-directive.d.ts +20 -0
- package/dist/utils/command-directive.d.ts +22 -0
- package/dist/utils/dom-events.d.ts +49 -0
- package/dist/{lib/types/a11y.d.ts → utils/dom-types.d.ts} +1 -17
- package/dist/utils/dom.d.ts +17 -0
- package/dist/utils/lit.d.ts +4 -0
- package/dist/utils/main.d.ts +11 -0
- package/dist/utils/shared-event-listener.d.ts +3 -0
- package/dist/utils/shared-resize-observer.d.ts +7 -0
- package/dist/utils/types.d.ts +5 -0
- package/dist/utils/unique-id.d.ts +20 -0
- package/dist/utils.js +299 -0
- package/dist/vendor.js +1968 -0
- package/package.json +55 -32
- package/dist/cdk/control/checkbox-form-control.d.ts +0 -15
- package/dist/cdk/control/checkbox-group-form-control.d.ts +0 -21
- package/dist/cdk/control/listbox-form-control.d.ts +0 -22
- package/dist/cdk/control/option-control.d.ts +0 -24
- package/dist/cdk/control/radio-group-form-control.d.ts +0 -22
- package/dist/cdk/drag-drop/drag-events.d.ts +0 -9
- package/dist/cdk/drag-drop/drag.controller.d.ts +0 -18
- package/dist/cdk/drag-drop/is-draggable.d.ts +0 -18
- package/dist/cdk/interactive/interactive-element.d.ts +0 -28
- package/dist/cdk/interactive/interactive-link.d.ts +0 -15
- package/dist/cdk/main.d.ts +0 -14
- package/dist/cdk/popover/popover-host.d.ts +0 -25
- package/dist/cdk/popover/popover.models.d.ts +0 -34
- package/dist/cdk/popover/popover.utils.d.ts +0 -5
- package/dist/cdk.js +0 -950
- package/dist/components/accordion/accordion-header.d.ts +0 -17
- package/dist/components/accordion/index.d.ts +0 -4
- package/dist/components/action-group/index.d.ts +0 -2
- package/dist/components/anchor-navigation/anchor-observer.d.ts +0 -11
- package/dist/components/area-header/area-header.models.d.ts +0 -12
- package/dist/components/area-header/index.d.ts +0 -3
- package/dist/components/avatar/avatar.models.d.ts +0 -18
- package/dist/components/avatar/index.d.ts +0 -3
- package/dist/components/avatar-group/avatar-group.d.ts +0 -15
- package/dist/components/avatar-group/index.d.ts +0 -2
- package/dist/components/badge/badge.models.d.ts +0 -14
- package/dist/components/badge/index.d.ts +0 -3
- package/dist/components/breadcrumbs/breadcrumbs-item.d.ts +0 -17
- package/dist/components/breadcrumbs/index.d.ts +0 -3
- package/dist/components/button/button.models.d.ts +0 -27
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/button-group/index.d.ts +0 -2
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/checkbox-group/checkbox-group.models.d.ts +0 -6
- package/dist/components/checkbox-group/index.d.ts +0 -3
- package/dist/components/chip/chip.models.d.ts +0 -10
- package/dist/components/chip/index.d.ts +0 -3
- package/dist/components/circular-progress-bar/circular-progress-bar.d.ts +0 -42
- package/dist/components/circular-progress-bar/circular-progress-bar.models.d.ts +0 -7
- package/dist/components/circular-progress-bar/index.d.ts +0 -3
- package/dist/components/combobox/combobox.d.ts +0 -20
- package/dist/components/combobox/index.d.ts +0 -2
- package/dist/components/content-box/content-box.d.ts +0 -11
- package/dist/components/content-box/content-box.models.d.ts +0 -2
- package/dist/components/content-box/index.d.ts +0 -2
- package/dist/components/dropdown/dropdown.models.d.ts +0 -6
- package/dist/components/dropdown/index.d.ts +0 -3
- package/dist/components/form-field/index.d.ts +0 -2
- package/dist/components/header/header-actions.d.ts +0 -10
- package/dist/components/headline/headline.d.ts +0 -13
- package/dist/components/headline/headline.models.d.ts +0 -8
- package/dist/components/headline/index.d.ts +0 -3
- package/dist/components/highlight/index.d.ts +0 -2
- package/dist/components/icon-button/index.d.ts +0 -2
- package/dist/components/image/index.d.ts +0 -2
- package/dist/components/inline-message/index.d.ts +0 -3
- package/dist/components/inline-message/inline-message.models.d.ts +0 -12
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/input.models.d.ts +0 -7
- package/dist/components/line-clamp/index.d.ts +0 -2
- package/dist/components/link/base-link.d.ts +0 -15
- package/dist/components/link/index.d.ts +0 -3
- package/dist/components/list/index.d.ts +0 -3
- package/dist/components/list/list-item.d.ts +0 -27
- package/dist/components/loading-overlay/index.d.ts +0 -2
- package/dist/components/loading-spinner/index.d.ts +0 -2
- package/dist/components/logo/index.d.ts +0 -3
- package/dist/components/logo/logo.models.d.ts +0 -9
- package/dist/components/main-menu/main-menu-link.d.ts +0 -9
- package/dist/components/main-menu/main-menu-subtitle.d.ts +0 -12
- package/dist/components/main-menu/main-menu-title.d.ts +0 -12
- package/dist/components/menu/index.d.ts +0 -3
- package/dist/components/menu/menu-label.d.ts +0 -9
- package/dist/components/menu-item/index.d.ts +0 -2
- package/dist/components/modal/index.d.ts +0 -3
- package/dist/components/modal/modal.models.d.ts +0 -5
- package/dist/components/navigation-item/index.d.ts +0 -3
- package/dist/components/navigation-item/navigation-item.models.d.ts +0 -6
- package/dist/components/option/index.d.ts +0 -2
- package/dist/components/page/index.d.ts +0 -3
- package/dist/components/page/page.models.d.ts +0 -10
- package/dist/components/page-layout/index.d.ts +0 -2
- package/dist/components/pagination/index.d.ts +0 -2
- package/dist/components/progress-bar/index.d.ts +0 -3
- package/dist/components/progress-bar/progress-bar.models.d.ts +0 -7
- package/dist/components/radio-button/index.d.ts +0 -2
- package/dist/components/radio-group/index.d.ts +0 -3
- package/dist/components/radio-group/radio-group.models.d.ts +0 -6
- package/dist/components/rail-navigation/index.d.ts +0 -2
- package/dist/components/search-bar/index.d.ts +0 -4
- package/dist/components/search-bar/search-bar.events.d.ts +0 -7
- package/dist/components/search-bar/search-bar.models.d.ts +0 -6
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/separator/index.d.ts +0 -3
- package/dist/components/separator/separator.models.d.ts +0 -6
- package/dist/components/skeleton/index.d.ts +0 -3
- package/dist/components/skeleton/skeleton.models.d.ts +0 -13
- package/dist/components/spacer/index.d.ts +0 -2
- package/dist/components/spacer/spacer.d.ts +0 -13
- package/dist/components/spacer/spacer.models.d.ts +0 -7
- package/dist/components/spinbox/index.d.ts +0 -2
- package/dist/components/stack/index.d.ts +0 -3
- package/dist/components/stack/stack.d.ts +0 -17
- package/dist/components/stack/stack.models.d.ts +0 -25
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/text/index.d.ts +0 -3
- package/dist/components/text/text.models.d.ts +0 -14
- package/dist/components/title/index.d.ts +0 -3
- package/dist/components/title/title.models.d.ts +0 -10
- package/dist/components/toast/index.d.ts +0 -3
- package/dist/components/toast/toast.models.d.ts +0 -5
- package/dist/components/toggle-button/index.d.ts +0 -2
- package/dist/components/toggle-content/index.d.ts +0 -2
- package/dist/components/tooltip/index.d.ts +0 -3
- package/dist/components/tooltip/tooltip.models.d.ts +0 -8
- package/dist/components/translate/index.d.ts +0 -2
- package/dist/components/visually-hidden/index.d.ts +0 -2
- package/dist/components/visually-hidden/visually-hidden.d.ts +0 -11
- package/dist/i18n/lib/translate.d.ts +0 -11
- package/dist/lib/controllers/active-desendants-controller.d.ts +0 -25
- package/dist/lib/controllers/focus-trap.controller.d.ts +0 -14
- package/dist/lib/main.d.ts +0 -31
- package/dist/lib/mixins/can-be-disabled.d.ts +0 -15
- package/dist/lib/mixins/can-be-expanded.d.ts +0 -10
- package/dist/lib/mixins/can-be-highlighted.d.ts +0 -8
- package/dist/lib/mixins/can-be-readonly.d.ts +0 -7
- package/dist/lib/mixins/can-be-required.d.ts +0 -7
- package/dist/lib/mixins/can-be-selected.d.ts +0 -9
- package/dist/lib/mixins/can-be-validated.d.ts +0 -12
- package/dist/lib/mixins/form-control.d.ts +0 -17
- package/dist/lib/mixins/number-control.d.ts +0 -12
- package/dist/lib/mixins/with-loading-state.d.ts +0 -8
- package/dist/lib/utils/date.d.ts +0 -2
- package/dist/lib/utils/dedupe-mixin.d.ts +0 -3
- package/dist/lib/utils/dom.d.ts +0 -15
- package/dist/lib/utils/empty-slot-fallback-fix.d.ts +0 -8
- package/dist/lib/utils/get-unique-id.d.ts +0 -36
- package/dist/lib/utils/keyboard-events.d.ts +0 -43
- package/dist/lib/utils/lit.d.ts +0 -5
- package/dist/lib/utils/query-assigned-element.d.ts +0 -16
- package/dist/lib/utils/search-text-content.d.ts +0 -8
- package/dist/lib/utils/shared-intersection-observer.d.ts +0 -18
- package/dist/lib/utils/shared-resize-observer.d.ts +0 -18
- package/dist/lib/utils/transformers.d.ts +0 -5
- package/dist/loader/main.d.ts +0 -2
- package/dist/loader.js +0 -12
- package/dist/vendor-dJxQG085.js +0 -138
- /package/dist/i18n/{lib/config.d.ts → config.d.ts} +0 -0
- /package/dist/i18n/{lib/format.d.ts → format.d.ts} +0 -0
- /package/dist/i18n/{lib/models.d.ts → models.d.ts} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CanBeExpanded, LinkControlElement } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'odx-list-item': OdxListItem;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
declare const OdxListItem_base: import('../../utils/main.js').Constructor<CanBeExpanded> & typeof LinkControlElement;
|
|
9
|
+
export declare class OdxListItem extends OdxListItem_base {
|
|
10
|
+
#private;
|
|
11
|
+
contentElement?: HTMLElementTagNameMap['odx-toggle-content'];
|
|
12
|
+
expandControl?: HTMLElement;
|
|
13
|
+
muted: boolean;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
withExpandControl: boolean;
|
|
16
|
+
isExpandable(): boolean;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
protected render(): TemplateResult;
|
|
19
|
+
protected renderContent(): TemplateResult;
|
|
20
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
21
|
+
protected updated(props: PropertyValues<this>): void;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=list-item.d.ts.map
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-loading-overlay': OdxLoadingOverlay;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
export declare
|
|
9
|
-
declare const OdxLoadingOverlay_base: import('../../lib/main.js').Constructor<import('../../lib/main.js').HasLoadingState> & typeof CustomElement;
|
|
10
|
-
export declare class OdxLoadingOverlay extends OdxLoadingOverlay_base {
|
|
8
|
+
export declare class OdxLoadingOverlay extends CustomElement {
|
|
11
9
|
#private;
|
|
12
10
|
private readonly overlay;
|
|
13
11
|
get loadingContainer(): HTMLElement;
|
|
12
|
+
loading: boolean;
|
|
14
13
|
disconnectedCallback(): void;
|
|
15
14
|
protected updated(props: PropertyValues<this>): Promise<void>;
|
|
16
15
|
protected render(): TemplateResult;
|
|
17
16
|
protected showOverlay(): void;
|
|
18
17
|
protected hideOverlay(): void;
|
|
19
18
|
}
|
|
20
|
-
export {};
|
|
21
19
|
//# sourceMappingURL=loading-overlay.d.ts.map
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
5
6
|
'odx-loading-spinner': OdxLoadingSpinner;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
9
|
+
export type LoadingSpinnerType = ValuesOf<typeof LoadingSpinnerType>;
|
|
10
|
+
export declare const LoadingSpinnerType: {
|
|
11
|
+
readonly SPINNER: "spinner";
|
|
12
|
+
readonly DOTS: "dots";
|
|
13
|
+
readonly INLINE: "inline";
|
|
14
|
+
};
|
|
8
15
|
export declare class OdxLoadingSpinner extends CustomElement {
|
|
9
|
-
|
|
10
|
-
variant?: 'dots' | null;
|
|
16
|
+
type: LoadingSpinnerType;
|
|
11
17
|
protected render(): TemplateResult;
|
|
12
18
|
}
|
|
13
19
|
//# sourceMappingURL=loading-spinner.d.ts.map
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-logo': OdxLogo;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
+
export type LogoSize = ValuesOf<typeof LogoSize>;
|
|
9
|
+
export declare const LogoSize: Pick<{
|
|
10
|
+
readonly XS: "xs";
|
|
11
|
+
readonly SM: "sm";
|
|
12
|
+
readonly MD: "md";
|
|
13
|
+
readonly LG: "lg";
|
|
14
|
+
readonly XL: "xl";
|
|
15
|
+
readonly XXL: "xxl";
|
|
16
|
+
}, "XS" | "SM" | "MD" | "LG" | "XL">;
|
|
8
17
|
export declare class OdxLogo extends CustomElement {
|
|
9
|
-
size
|
|
18
|
+
size: LogoSize;
|
|
10
19
|
compact: boolean;
|
|
11
20
|
connectedCallback(): void;
|
|
12
21
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export * from './main-menu-button.js';
|
|
2
|
-
export * from './main-menu-link.js';
|
|
3
|
-
export * from './main-menu-subtitle.js';
|
|
4
|
-
export * from './main-menu-title.js';
|
|
5
1
|
export * from './main-menu.js';
|
|
2
|
+
export * from './main-menu-button.js';
|
|
6
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
@@ -6,7 +6,8 @@ declare global {
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxMainMenuButton extends CustomElement {
|
|
9
|
-
|
|
9
|
+
label?: string;
|
|
10
|
+
connectedCallback(): void;
|
|
10
11
|
protected render(): TemplateResult;
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=main-menu-button.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
@@ -7,12 +7,6 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxMainMenu extends CustomElement {
|
|
9
9
|
#private;
|
|
10
|
-
private links;
|
|
11
|
-
constructor();
|
|
12
|
-
connectedCallback(): void;
|
|
13
|
-
toggle(): void;
|
|
14
|
-
open(): void;
|
|
15
|
-
close(): void;
|
|
16
10
|
protected render(): TemplateResult;
|
|
17
11
|
}
|
|
18
12
|
//# sourceMappingURL=main-menu.d.ts.map
|
|
@@ -1,65 +1,82 @@
|
|
|
1
|
-
export * from './accordion/
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './accordion/accordion.js';
|
|
2
|
+
export * from './accordion-item/accordion-item.js';
|
|
3
|
+
export * from './accordion-panel/accordion-panel.js';
|
|
4
|
+
export * from './action-button/action-button.js';
|
|
5
|
+
export * from './action-group/action-group.js';
|
|
3
6
|
export * from './anchor-navigation/index.js';
|
|
4
|
-
export * from './area-
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './button/
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './checkbox/
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './form-field/
|
|
7
|
+
export * from './area-footer/area-footer.js';
|
|
8
|
+
export * from './area-header/area-header.js';
|
|
9
|
+
export * from './autocomplete/autocomplete.js';
|
|
10
|
+
export * from './avatar/avatar.js';
|
|
11
|
+
export * from './badge/badge.js';
|
|
12
|
+
export * from './breadcrumbs/breadcrumbs.js';
|
|
13
|
+
export * from './button/button.js';
|
|
14
|
+
export * from './button-group/button-group.js';
|
|
15
|
+
export * from './card/card.js';
|
|
16
|
+
export * from './checkbox/checkbox.js';
|
|
17
|
+
export * from './checkbox-group/checkbox-group.js';
|
|
18
|
+
export * from './chip/chip.js';
|
|
19
|
+
export * from './drawer/drawer.js';
|
|
20
|
+
export * from './dropdown/dropdown.js';
|
|
21
|
+
export * from './empty-state/empty-state.js';
|
|
22
|
+
export * from './form-field/form-field.js';
|
|
20
23
|
export * from './format/index.js';
|
|
24
|
+
export * from './gradient-overlay/gradient-overlay.js';
|
|
21
25
|
export * from './header/index.js';
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
26
|
+
export * from './highlight/highlight.js';
|
|
27
|
+
export * from './icon-button/icon-button.js';
|
|
28
|
+
export * from './image/image.js';
|
|
29
|
+
export * from './inline-message/inline-message.js';
|
|
30
|
+
export * from './input/input.js';
|
|
31
|
+
export * from './key-value/key-value.js';
|
|
32
|
+
export * from './key-value-list/key-value-list.js';
|
|
33
|
+
export * from './label/label.js';
|
|
34
|
+
export * from './line-clamp/line-clamp.js';
|
|
35
|
+
export * from './link/link.js';
|
|
36
|
+
export * from './list/list.js';
|
|
37
|
+
export * from './list-item/list-item.js';
|
|
38
|
+
export * from './loading-overlay/loading-overlay.js';
|
|
39
|
+
export * from './loading-spinner/loading-spinner.js';
|
|
40
|
+
export * from './logo/logo.js';
|
|
34
41
|
export * from './main-menu/index.js';
|
|
35
|
-
export * from './menu
|
|
36
|
-
export * from './menu/
|
|
37
|
-
export * from './modal/
|
|
38
|
-
export * from './navigation
|
|
39
|
-
export * from './
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './
|
|
42
|
-
export * from './
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './
|
|
45
|
-
export * from './
|
|
46
|
-
export * from './
|
|
47
|
-
export * from './
|
|
48
|
-
export * from './
|
|
49
|
-
export * from './
|
|
50
|
-
export * from './
|
|
42
|
+
export * from './menu/menu.js';
|
|
43
|
+
export * from './menu-item/menu-item.js';
|
|
44
|
+
export * from './modal/modal.js';
|
|
45
|
+
export * from './navigation/navigation.js';
|
|
46
|
+
export * from './navigation-item/navigation-item.js';
|
|
47
|
+
export * from './navigation-item-group/navigation-item-group.js';
|
|
48
|
+
export * from './option/option.js';
|
|
49
|
+
export * from './page/page.js';
|
|
50
|
+
export * from './page-layout/page-layout.js';
|
|
51
|
+
export * from './pagination/pagination.js';
|
|
52
|
+
export * from './popover/popover.js';
|
|
53
|
+
export * from './popover/popover-host.js';
|
|
54
|
+
export * from './progress-bar/progress-bar.js';
|
|
55
|
+
export * from './progress-ring/progress-ring.js';
|
|
56
|
+
export * from './radio-button/radio-button.js';
|
|
57
|
+
export * from './radio-group/radio-group.js';
|
|
58
|
+
export * from './rail-navigation/rail-navigation.js';
|
|
59
|
+
export * from './scroll-container/scroll-container.js';
|
|
60
|
+
export * from './search-bar/search-bar.js';
|
|
61
|
+
export * from './select/select.js';
|
|
62
|
+
export * from './separator/separator.js';
|
|
63
|
+
export * from './sidebar/sidebar.js';
|
|
64
|
+
export * from './skeleton/skeleton.js';
|
|
51
65
|
export * from './slider/index.js';
|
|
52
|
-
export * from './
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './
|
|
55
|
-
export * from './
|
|
66
|
+
export * from './spinbox/spinbox.js';
|
|
67
|
+
export * from './status/status.js';
|
|
68
|
+
export * from './switch/switch.js';
|
|
69
|
+
export * from './tab-bar/tab-bar.js';
|
|
56
70
|
export * from './table/index.js';
|
|
57
|
-
export * from './text/
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './
|
|
60
|
-
export * from './
|
|
61
|
-
export * from './
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './
|
|
64
|
-
export * from './
|
|
71
|
+
export * from './text/text.js';
|
|
72
|
+
export * from './textarea/textarea.js';
|
|
73
|
+
export * from './tile/tile.js';
|
|
74
|
+
export * from './title/title.js';
|
|
75
|
+
export * from './toast/toast.js';
|
|
76
|
+
export * from './toggle-button/toggle-button.js';
|
|
77
|
+
export * from './toggle-button-group/toggle-button-group.js';
|
|
78
|
+
export * from './toggle-content/toggle-content.js';
|
|
79
|
+
export * from './toolbar/toolbar.js';
|
|
80
|
+
export * from './tooltip/tooltip.js';
|
|
81
|
+
export * from './translate/translate.js';
|
|
65
82
|
//# sourceMappingURL=main.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
2
|
+
import { MenuItemSize, OdxMenuItem } from '../menu-item/menu-item.js';
|
|
3
|
+
import { PopoverHost } from '../popover/popover-host.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-menu': OdxMenu;
|
|
@@ -8,14 +8,16 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class OdxMenu extends PopoverHost {
|
|
10
10
|
#private;
|
|
11
|
+
size: MenuItemSize;
|
|
11
12
|
getItems(): OdxMenuItem[];
|
|
12
13
|
connectedCallback(): void;
|
|
13
|
-
mountPopover(referenceElement
|
|
14
|
+
mountPopover(referenceElement: HTMLElement | null): void;
|
|
14
15
|
unmountPopover(referenceElement: HTMLElement): void;
|
|
15
16
|
onBeforePopoverShow(): void;
|
|
16
17
|
onPopoverShow(): void;
|
|
17
18
|
onBeforePopoverHide(): void;
|
|
18
|
-
protected isMenuItem(element:
|
|
19
|
+
protected isMenuItem(element: HTMLElement): element is OdxMenuItem;
|
|
19
20
|
protected render(): TemplateResult;
|
|
21
|
+
protected updated(props: PropertyValues<this>): void;
|
|
20
22
|
}
|
|
21
23
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1,13 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LinkControlElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { OdxIconName } from '@odx/icons';
|
|
3
4
|
import { TemplateResult } from 'lit';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-menu-item': OdxMenuItem;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
export
|
|
10
|
-
|
|
10
|
+
export type MenuItemSize = ValuesOf<typeof MenuItemSize>;
|
|
11
|
+
export declare const MenuItemSize: Pick<Pick<{
|
|
12
|
+
readonly XS: "xs";
|
|
13
|
+
readonly SM: "sm";
|
|
14
|
+
readonly MD: "md";
|
|
15
|
+
readonly LG: "lg";
|
|
16
|
+
readonly XL: "xl";
|
|
17
|
+
readonly XXL: "xxl";
|
|
18
|
+
}, "SM" | "MD" | "LG">, "SM" | "MD">;
|
|
19
|
+
export type MenuItemVariant = ValuesOf<typeof MenuItemVariant>;
|
|
20
|
+
export declare const MenuItemVariant: Pick<{
|
|
21
|
+
readonly NEUTRAL: "neutral";
|
|
22
|
+
readonly NEUTRAL_SUBTLE: "neutral-subtle";
|
|
23
|
+
readonly PRIMARY: "primary";
|
|
24
|
+
readonly ACCENT: "accent";
|
|
25
|
+
readonly SUCCESS: "success";
|
|
26
|
+
readonly WARNING: "warning";
|
|
27
|
+
readonly DANGER: "danger";
|
|
28
|
+
}, "NEUTRAL" | "DANGER">;
|
|
29
|
+
export declare class OdxMenuItem extends LinkControlElement {
|
|
30
|
+
protected loadingSpinnerSlot: "prefix";
|
|
31
|
+
icon?: OdxIconName | null;
|
|
32
|
+
size: MenuItemSize;
|
|
33
|
+
variant: MenuItemVariant;
|
|
11
34
|
protected renderContent(): TemplateResult;
|
|
12
35
|
connectedCallback(): void;
|
|
13
36
|
}
|
|
@@ -1,35 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DialogElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { ModalVariant } from './modal.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-modal': OdxModal;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export type
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
backdropDisabled?: boolean;
|
|
18
|
-
dismissable?: boolean;
|
|
19
|
-
open: boolean;
|
|
20
|
-
variant?: ModalVariant | null;
|
|
21
|
-
constructor();
|
|
22
|
-
connectedCallback(): void;
|
|
23
|
-
canShow?: ModalGuardFn;
|
|
24
|
-
beforeShow?: ModalHookFn;
|
|
25
|
-
afterShow?: ModalHookFn;
|
|
26
|
-
canClose?: ModalGuardFn;
|
|
27
|
-
beforeClose?: ModalHookFn;
|
|
28
|
-
afterClose?: ModalHookFn;
|
|
29
|
-
show(): Promise<void>;
|
|
30
|
-
close(returnValue?: string): Promise<void>;
|
|
31
|
-
dismiss(): Promise<void>;
|
|
32
|
-
protected render(): TemplateResult;
|
|
33
|
-
protected updated(props: PropertyValues<this>): void;
|
|
9
|
+
export type ModalLayout = ValuesOf<typeof ModalLayout>;
|
|
10
|
+
export declare const ModalLayout: {
|
|
11
|
+
MODAL: string;
|
|
12
|
+
SIDESHEET: string;
|
|
13
|
+
};
|
|
14
|
+
export declare class OdxModal extends DialogElement {
|
|
15
|
+
protected renderContent(): TemplateResult;
|
|
16
|
+
protected update(props: PropertyValues<this>): void;
|
|
34
17
|
}
|
|
35
18
|
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ControlSize, CustomElement } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { OdxNavigationItem } from '../navigation-item/navigation-item.js';
|
|
4
|
+
import { OdxNavigationItemGroup } from '../navigation-item-group/navigation-item-group.js';
|
|
5
|
+
declare global {
|
|
6
|
+
interface HTMLElementTagNameMap {
|
|
7
|
+
'odx-navigation': OdxNavigation;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class OdxNavigation extends CustomElement {
|
|
11
|
+
horizontal: boolean;
|
|
12
|
+
size: ControlSize;
|
|
13
|
+
getItems(deep?: boolean): Array<OdxNavigationItemGroup | OdxNavigationItem>;
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
protected render(): TemplateResult;
|
|
16
|
+
protected updated(props: PropertyValues<this>): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { NavigationItemSize } from './navigation-item.models.js';
|
|
1
|
+
import { LinkControlElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-navigation-item': OdxNavigationItem;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
export declare
|
|
11
|
-
|
|
8
|
+
export type NavigationItemAppearance = ValuesOf<typeof NavigationItemAppearance>;
|
|
9
|
+
export declare const NavigationItemAppearance: {
|
|
10
|
+
readonly BUTTON: "button";
|
|
11
|
+
readonly LINK: "link";
|
|
12
|
+
};
|
|
13
|
+
export declare class OdxNavigationItem extends LinkControlElement {
|
|
14
|
+
appearance: NavigationItemAppearance;
|
|
15
|
+
active: boolean;
|
|
16
|
+
compact: boolean;
|
|
12
17
|
}
|
|
13
|
-
export {};
|
|
14
18
|
//# sourceMappingURL=navigation-item.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CanBeDisabled, CanBeExpanded, ControlSize, CustomElement } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { OdxNavigationItem } from '../navigation-item/navigation-item.js';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-navigation-item-group': OdxNavigationItemGroup;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
declare const OdxNavigationItemGroup_base: import('../../utils/main.js').Constructor<CanBeExpanded> & import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
|
+
export declare class OdxNavigationItemGroup extends OdxNavigationItemGroup_base {
|
|
11
|
+
active: boolean;
|
|
12
|
+
label: string;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
size: ControlSize;
|
|
15
|
+
getItems(_deep?: boolean): OdxNavigationItem[];
|
|
16
|
+
protected render(): TemplateResult;
|
|
17
|
+
protected updated(props: PropertyValues<this>): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=navigation-item-group.d.ts.map
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { OptionControl } from '../../
|
|
1
|
+
import { ControlElement, OptionControl } from '../../main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-option': OdxOption;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
declare const OdxOption_base: import('../../utils/types.js').Constructor<OptionControl> & typeof ControlElement;
|
|
9
|
+
export declare class OdxOption extends OdxOption_base {
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
protected renderContent(): TemplateResult;
|
|
10
12
|
}
|
|
13
|
+
export {};
|
|
11
14
|
//# sourceMappingURL=option.d.ts.map
|
|
@@ -1,17 +1,31 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-page': OdxPage;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
export type PageAlignment = ValuesOf<typeof PageAlignment>;
|
|
10
|
+
export declare const PageAlignment: Pick<{
|
|
11
|
+
readonly START: "start";
|
|
12
|
+
readonly CENTER: "center";
|
|
13
|
+
readonly END: "end";
|
|
14
|
+
}, "START" | "CENTER">;
|
|
15
|
+
export type PageLayout = ValuesOf<typeof PageLayout>;
|
|
16
|
+
export declare const PageLayout: {
|
|
17
|
+
readonly DEFAULT: "default";
|
|
18
|
+
readonly NARROW: "narrow";
|
|
19
|
+
readonly WIDE: "wide";
|
|
20
|
+
readonly FULL: "full";
|
|
21
|
+
};
|
|
9
22
|
export declare class OdxPage extends CustomElement {
|
|
10
23
|
headerElement: HTMLElement;
|
|
11
24
|
subheaderElement: HTMLElement;
|
|
12
|
-
alignment
|
|
13
|
-
layout
|
|
14
|
-
firstUpdated(): void;
|
|
25
|
+
alignment: PageAlignment;
|
|
26
|
+
layout: PageLayout;
|
|
27
|
+
firstUpdated(props: PropertyValues<this>): void;
|
|
28
|
+
disconnectedCallback(): void;
|
|
15
29
|
protected render(): TemplateResult;
|
|
16
30
|
}
|
|
17
31
|
//# sourceMappingURL=page.d.ts.map
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
5
6
|
'odx-page-layout': OdxPageLayout;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
9
|
+
export type PageLayoutAlignment = ValuesOf<typeof PageLayoutAlignment>;
|
|
10
|
+
export declare const PageLayoutAlignment: Pick<{
|
|
11
|
+
readonly START: "start";
|
|
12
|
+
readonly CENTER: "center";
|
|
13
|
+
readonly END: "end";
|
|
14
|
+
}, "START" | "CENTER" | "END">;
|
|
8
15
|
export declare class OdxPageLayout extends CustomElement {
|
|
16
|
+
alignment: PageLayoutAlignment;
|
|
9
17
|
protected render(): TemplateResult;
|
|
10
18
|
}
|
|
11
19
|
//# sourceMappingURL=page-layout.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
2
|
import { IsLocalized } from '../../i18n/main.js';
|
|
3
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
4
|
declare global {
|
|
@@ -6,8 +6,9 @@ declare global {
|
|
|
6
6
|
'odx-pagination': OdxPagination;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const OdxPagination_base: import('../../
|
|
9
|
+
declare const OdxPagination_base: import('../../utils/types.js').Constructor<IsLocalized> & typeof CustomElement;
|
|
10
10
|
export declare class OdxPagination extends OdxPagination_base {
|
|
11
|
+
compact: boolean;
|
|
11
12
|
page: number;
|
|
12
13
|
pageSize: number;
|
|
13
14
|
totalItems: number;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Placement, ReferenceElement } from '@floating-ui/dom';
|
|
2
|
+
export interface PopoverPlacementOptions {
|
|
3
|
+
placement: Placement;
|
|
4
|
+
arrowElement?: HTMLElement | null;
|
|
5
|
+
enableFallback: boolean;
|
|
6
|
+
fallbackAxisSideDirection: 'none' | 'start' | 'end';
|
|
7
|
+
matchReferenceWidth: boolean;
|
|
8
|
+
minHeight?: number | null;
|
|
9
|
+
offset: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function PopoverPlacementOptions(options?: Partial<PopoverPlacementOptions>): PopoverPlacementOptions;
|
|
12
|
+
export declare function computePopoverPlacement(referenceElement: ReferenceElement, floatingElement: HTMLElement, options: PopoverPlacementOptions): Promise<void>;
|
|
13
|
+
//# sourceMappingURL=compute-popover-placement.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CanBeDisabled, CustomElement, Placement } from '../../main.js';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
import { PopoverPlacementOptions } from './compute-popover-placement.js';
|
|
4
|
+
import { OdxPopover } from './popover.js';
|
|
5
|
+
export * from './compute-popover-placement.js';
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElement {
|
|
8
|
+
'odx-popover-toggle': string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const PopoverToggleCommand: import('../../utils/main.js').CommandDirective<"odx-popover-toggle">;
|
|
12
|
+
declare const PopoverHost_base: import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
13
|
+
export declare class PopoverHost extends PopoverHost_base {
|
|
14
|
+
#private;
|
|
15
|
+
private static initialized;
|
|
16
|
+
static readonly styles: import('lit').CSSResult;
|
|
17
|
+
protected popoverElement: OdxPopover;
|
|
18
|
+
open: boolean;
|
|
19
|
+
set referenceElement(value: HTMLElement | null);
|
|
20
|
+
get referenceElement(): HTMLElement | null;
|
|
21
|
+
placement: Placement;
|
|
22
|
+
fpsLimit: number;
|
|
23
|
+
get popoverPlacementOptions(): PopoverPlacementOptions;
|
|
24
|
+
constructor();
|
|
25
|
+
connectedCallback(): void;
|
|
26
|
+
disconnectedCallback(): void;
|
|
27
|
+
hasMountedPopover(element: HTMLElement): boolean;
|
|
28
|
+
mountPopover(referenceElement: HTMLElement | null): void;
|
|
29
|
+
unmountPopover(_referenceElement: HTMLElement): void;
|
|
30
|
+
hasOpenPopover(referenceElement: HTMLElement | null): boolean;
|
|
31
|
+
showPopover(): Promise<void>;
|
|
32
|
+
hidePopover(): void;
|
|
33
|
+
togglePopover(state?: boolean): boolean;
|
|
34
|
+
canPopoverShow?(): boolean;
|
|
35
|
+
onBeforePopoverShow?(): Promise<void> | void;
|
|
36
|
+
onPopoverShow?(): Promise<void> | void;
|
|
37
|
+
canPopoverHide?(): boolean;
|
|
38
|
+
onBeforePopoverHide?(): Promise<void> | void;
|
|
39
|
+
onPopoverHide?(): Promise<void> | void;
|
|
40
|
+
updateReferenceElementFromEvent(event: Event): void;
|
|
41
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=popover-host.d.ts.map
|