@odx/foundation 1.0.0-beta.2 → 1.0.0-beta.200
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 +10 -5
- package/dist/components/accordion-item/accordion-item.d.ts +25 -0
- package/dist/components/{accordion → accordion-panel}/accordion-panel.d.ts +4 -2
- 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 +26 -0
- package/dist/components/avatar/avatar.d.ts +37 -5
- package/dist/components/badge/badge.d.ts +35 -5
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +3 -7
- package/dist/components/button/button.d.ts +30 -25
- package/dist/components/button-group/button-group.d.ts +8 -11
- package/dist/components/card/card.d.ts +22 -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 +20 -7
- package/dist/components/drawer/drawer.d.ts +17 -0
- package/dist/components/dropdown/dropdown.d.ts +25 -10
- package/dist/components/empty-state/empty-state.d.ts +46 -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 +32 -5
- 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 +21 -6
- package/dist/components/input/input.d.ts +17 -7
- package/dist/components/key-value/key-value.d.ts +53 -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 +15 -3
- package/dist/components/list/list.d.ts +12 -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 -57
- package/dist/components/menu/menu.d.ts +5 -8
- package/dist/components/menu-item/menu-item.d.ts +22 -6
- 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 +3 -5
- 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 +11 -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 +10 -4
- package/dist/components/rail-navigation/rail-navigation.d.ts +5 -7
- package/dist/components/scroll-container/scroll-container.d.ts +34 -0
- package/dist/components/search-bar/search-bar.d.ts +18 -4
- package/dist/components/select/select.d.ts +15 -8
- 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 +15 -10
- package/dist/components/status/status.d.ts +28 -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 +4 -4
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/text/text.d.ts +27 -3
- package/dist/components/textarea/textarea.d.ts +23 -0
- package/dist/components/tile/tile.d.ts +37 -0
- package/dist/components/title/title.d.ts +19 -5
- package/dist/components/toast/toast.d.ts +19 -3
- package/dist/components/toggle-button/toggle-button.d.ts +40 -6
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +19 -0
- package/dist/components/toggle-content/toggle-content.d.ts +3 -4
- package/dist/components/toolbar/toolbar.d.ts +14 -0
- package/dist/components/tooltip/tooltip.d.ts +55 -7
- package/dist/components/translate/translate.d.ts +2 -2
- package/dist/components-loader.js +3 -0
- package/dist/components.js +3870 -4201
- package/dist/en.js +6 -0
- package/dist/i18n/{lib/config.d.ts → config.d.ts} +4 -3
- 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 +61 -63
- package/dist/lib/behaviors/can-be-collapsed.d.ts +10 -0
- package/dist/lib/behaviors/can-be-disabled.d.ts +7 -0
- package/dist/lib/behaviors/can-be-expanded.d.ts +11 -0
- package/dist/lib/behaviors/checkbox-control-group.d.ts +22 -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/number-form-control.d.ts +11 -0
- package/dist/lib/control-element.d.ts +41 -0
- package/dist/lib/controllers/active-descendants-controller.d.ts +29 -0
- package/dist/{cdk/drag-drop → lib/controllers}/drag.controller.d.ts +3 -1
- package/dist/lib/controllers/expandable-controller.d.ts +14 -0
- package/dist/lib/custom-element.d.ts +11 -6
- 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 +20 -0
- package/dist/lib/listbox-control-element.d.ts +30 -0
- package/dist/lib/models/layout.d.ts +48 -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 +24 -0
- package/dist/lib/option-control-element.d.ts +23 -0
- package/dist/lib/radio-group-control-element.d.ts +17 -0
- package/dist/main.d.ts +30 -0
- package/dist/main.js +1153 -941
- 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/utils/a11y.d.ts → utils/dom-types.d.ts} +1 -23
- package/dist/utils/dom.d.ts +16 -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 +301 -0
- package/dist/vendor.js +1968 -0
- package/package.json +57 -34
- package/dist/cdk/drag-drop/drag-events.d.ts +0 -9
- package/dist/cdk/drag-drop/is-draggable.d.ts +0 -18
- package/dist/cdk/main.d.ts +0 -7
- package/dist/cdk/popover/popover-host.d.ts +0 -19
- 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 -356
- package/dist/components/accordion/accordion-header.d.ts +0 -19
- 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 -13
- 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/base-button.d.ts +0 -27
- package/dist/components/button/button.models.d.ts +0 -15
- package/dist/components/button/index.d.ts +0 -4
- 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/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 -25
- 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/focus-trap.controller.d.ts +0 -13
- package/dist/lib/decorators/request-update-on-aria-change.d.ts +0 -4
- package/dist/lib/directives/optional-attr.d.ts +0 -2
- package/dist/lib/directives/optional-slot.d.ts +0 -3
- package/dist/lib/directives/slot-fallback.d.ts +0 -8
- package/dist/lib/facade/checkbox-form-control.d.ts +0 -15
- package/dist/lib/facade/checkbox-group-form-control.d.ts +0 -21
- package/dist/lib/facade/option-control.d.ts +0 -16
- package/dist/lib/facade/radio-group-form-control.d.ts +0 -22
- package/dist/lib/facade/select-form-control.d.ts +0 -19
- package/dist/lib/main.d.ts +0 -34
- package/dist/lib/mixins/can-be-disabled.d.ts +0 -15
- package/dist/lib/mixins/can-be-expanded.d.ts +0 -12
- 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/dedupe-mixin.d.ts +0 -3
- 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/dom.d.ts +0 -17
- 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/object.d.ts +0 -2
- package/dist/lib/utils/search-text-content.d.ts +0 -7
- package/dist/lib/utils/shared-intersection-observer.d.ts +0 -18
- package/dist/lib/utils/shared-resize-observer.d.ts +0 -18
- package/dist/loader/main.d.ts +0 -2
- package/dist/loader.js +0 -12
- package/dist/vendor-C_WVAD3D.js +0 -3680
- package/dist/vite.config.d.ts +0 -3
- /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,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
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PopoverHost } from './popover-host.js';
|
|
2
|
+
export declare class PopoverObserver {
|
|
3
|
+
#private;
|
|
4
|
+
readonly host: PopoverHost;
|
|
5
|
+
readonly root: Document | ShadowRoot;
|
|
6
|
+
constructor(host: PopoverHost);
|
|
7
|
+
hasMountedPopover(element: HTMLElement): boolean;
|
|
8
|
+
observe(): void;
|
|
9
|
+
disconnect(): void;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=popover-observer.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 OdxPopover extends CustomElement {
|
|
9
|
-
|
|
9
|
+
arrowElement: HTMLElement;
|
|
10
|
+
withArrow: boolean;
|
|
10
11
|
protected render(): TemplateResult;
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CustomElement, ProgressVariant } from '../../main.js';
|
|
2
|
+
export declare class BaseProgress extends CustomElement {
|
|
3
|
+
label?: string;
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
value: number;
|
|
7
|
+
valueText?: string;
|
|
8
|
+
hideValue: boolean;
|
|
9
|
+
indeterminate: boolean;
|
|
10
|
+
variant: ProgressVariant;
|
|
11
|
+
get valuePercentage(): number;
|
|
12
|
+
get valueHidden(): boolean;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=base-progress.d.ts.map
|
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
1
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import {
|
|
2
|
+
import { BaseProgress } from './base-progress.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-progress-bar': OdxProgressBar;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
|
-
export declare class OdxProgressBar extends
|
|
10
|
-
readonly content: HTMLElement[];
|
|
11
|
-
indeterminate: boolean;
|
|
12
|
-
min: number;
|
|
13
|
-
max: number;
|
|
14
|
-
value: number;
|
|
8
|
+
export declare class OdxProgressBar extends BaseProgress {
|
|
15
9
|
condensed: boolean;
|
|
16
|
-
state?: ProgressState;
|
|
17
|
-
hideValue: boolean;
|
|
18
|
-
label?: string;
|
|
19
|
-
valueText?: string;
|
|
20
|
-
get valuePercentage(): number;
|
|
21
|
-
get valueHidden(): boolean;
|
|
22
10
|
protected render(): TemplateResult;
|
|
23
11
|
}
|
|
24
12
|
//# sourceMappingURL=progress-bar.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { BaseProgress } from '../progress-bar/base-progress.js';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-progress-ring': OdxProgressRing;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export type ProgressRingSize = ValuesOf<typeof ProgressRingSize>;
|
|
10
|
+
export declare const ProgressRingSize: Pick<{
|
|
11
|
+
readonly XS: "xs";
|
|
12
|
+
readonly SM: "sm";
|
|
13
|
+
readonly MD: "md";
|
|
14
|
+
readonly LG: "lg";
|
|
15
|
+
readonly XL: "xl";
|
|
16
|
+
readonly XXL: "xxl";
|
|
17
|
+
}, "SM" | "MD" | "LG">;
|
|
18
|
+
/**
|
|
19
|
+
* A progress ring that indicates the progress of a task.
|
|
20
|
+
* @summary Displays the progress of a task in a circular format
|
|
21
|
+
* @csspart inner - The inner SVG element
|
|
22
|
+
* @csspart track - The track circle element
|
|
23
|
+
* @csspart indicator - The indicator circle element
|
|
24
|
+
*/
|
|
25
|
+
export declare class OdxProgressRing extends BaseProgress {
|
|
26
|
+
size: ProgressRingSize;
|
|
27
|
+
stroke: number;
|
|
28
|
+
firstUpdated(changes: PropertyValues<this>): void;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
protected render(): TemplateResult;
|
|
31
|
+
normalizeStroke(stroke: number, viewPortSize: number): number;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=progress-ring.d.ts.map
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CheckboxControl, CustomElement } from '../../main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-radio-button': OdxRadioButton;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
declare const OdxRadioButton_base: import('../../utils/types.js').Constructor<CheckboxControl> & typeof CustomElement;
|
|
9
|
+
export declare class OdxRadioButton extends OdxRadioButton_base {
|
|
9
10
|
connectedCallback(): void;
|
|
10
11
|
protected render(): TemplateResult;
|
|
11
|
-
toggle(state?: boolean, emitEvent?: boolean):
|
|
12
|
+
toggle(state?: boolean, emitEvent?: boolean): boolean;
|
|
12
13
|
}
|
|
14
|
+
export {};
|
|
13
15
|
//# sourceMappingURL=radio-button.d.ts.map
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RadioGroupControlElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-radio-group': OdxRadioGroup;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
export
|
|
9
|
-
|
|
8
|
+
export type RadioGroupLayout = ValuesOf<typeof RadioGroupLayout>;
|
|
9
|
+
export declare const RadioGroupLayout: {
|
|
10
|
+
readonly VERTICAL: "vertical";
|
|
11
|
+
readonly HORIZONTAL: "horizontal";
|
|
12
|
+
readonly LIST: "list";
|
|
13
|
+
};
|
|
14
|
+
export declare class OdxRadioGroup extends RadioGroupControlElement {
|
|
15
|
+
layout?: RadioGroupLayout;
|
|
10
16
|
}
|
|
11
17
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CanBeCollapsed, ControlSize, CustomElement } from '../../main.js';
|
|
2
2
|
import { IsLocalized } from '../../i18n/main.js';
|
|
3
3
|
import { TemplateResult } from 'lit';
|
|
4
|
-
import {
|
|
4
|
+
import { OdxNavigation } from '../navigation/navigation.js';
|
|
5
5
|
declare global {
|
|
6
6
|
interface HTMLElementTagNameMap {
|
|
7
7
|
'odx-rail-navigation': OdxRailNavigation;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
declare const OdxRailNavigation_base: import('../../
|
|
10
|
+
declare const OdxRailNavigation_base: import('../../utils/types.js').Constructor<IsLocalized> & import('../../utils/types.js').Constructor<CanBeCollapsed> & typeof CustomElement;
|
|
11
11
|
export declare class OdxRailNavigation extends OdxRailNavigation_base {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
collapsed: boolean;
|
|
12
|
+
navigation: OdxNavigation;
|
|
13
|
+
size: ControlSize;
|
|
15
14
|
protected render(): TemplateResult;
|
|
16
|
-
getItems(): OdxNavigationItem[];
|
|
17
15
|
}
|
|
18
16
|
export {};
|
|
19
17
|
//# sourceMappingURL=rail-navigation.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'odx-scroll-container': OdxScrollContainer;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export interface ScrollContainerChangeEvent extends Event {
|
|
9
|
+
detail: {
|
|
10
|
+
scrollDirection: -1 | 1;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
|
|
15
|
+
* @slot scroll-action-left - Left action slot
|
|
16
|
+
* @slot scroll-action-right - Right action slot
|
|
17
|
+
* @slot - Default slot
|
|
18
|
+
*/
|
|
19
|
+
export declare class OdxScrollContainer extends CustomElement {
|
|
20
|
+
#private;
|
|
21
|
+
private readonly leftAction;
|
|
22
|
+
private readonly rightAction;
|
|
23
|
+
readonly scroller: HTMLElement;
|
|
24
|
+
readonly stage: HTMLElement;
|
|
25
|
+
leftOverflow: boolean;
|
|
26
|
+
rightOverflow: boolean;
|
|
27
|
+
constructor();
|
|
28
|
+
scrollToElement(element: HTMLElement): void;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
protected firstUpdated(props: PropertyValues<this>): void;
|
|
31
|
+
protected render(): TemplateResult | string;
|
|
32
|
+
protected updated(props: PropertyValues<this>): void;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=scroll-container.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CanBeDisabled, CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { SearchBarBehavior } from './search-bar.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-search-bar': OdxSearchBar;
|
|
@@ -11,13 +11,27 @@ interface SearchOptions {
|
|
|
11
11
|
updateInput: boolean;
|
|
12
12
|
forceUpdate: boolean;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type SearchBarBehavior = ValuesOf<typeof SearchBarBehavior>;
|
|
15
|
+
export declare const SearchBarBehavior: {
|
|
16
|
+
readonly INSTANT: "instant";
|
|
17
|
+
readonly SUBMIT: "submit";
|
|
18
|
+
};
|
|
19
|
+
export declare class SearchEvent extends CustomEvent<{
|
|
20
|
+
rawValue?: string;
|
|
21
|
+
value: string;
|
|
22
|
+
}> {
|
|
23
|
+
constructor(value: string, rawValue?: string);
|
|
24
|
+
}
|
|
25
|
+
declare const OdxSearchBar_base: import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
26
|
+
export declare class OdxSearchBar extends OdxSearchBar_base {
|
|
15
27
|
#private;
|
|
16
28
|
private inputElement;
|
|
17
29
|
behavior: SearchBarBehavior;
|
|
30
|
+
collapsed: boolean;
|
|
18
31
|
debounceTime?: number;
|
|
19
32
|
placeholder: string;
|
|
20
|
-
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
value: string;
|
|
21
35
|
search(value: string, options?: Partial<SearchOptions>): void;
|
|
22
36
|
connectedCallback(): void;
|
|
23
37
|
protected updated(props: PropertyValues<this>): void;
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListboxControlElement, OptionControlElement } from '../../main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { OdxDropdown } from '../dropdown/
|
|
4
|
-
import { OdxOption } from '../option/index.js';
|
|
3
|
+
import { OdxDropdown } from '../dropdown/dropdown.js';
|
|
5
4
|
declare global {
|
|
6
5
|
interface HTMLElementTagNameMap {
|
|
7
6
|
'odx-select': OdxSelect;
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
|
-
export declare class OdxSelect extends
|
|
9
|
+
export declare class OdxSelect extends ListboxControlElement {
|
|
11
10
|
#private;
|
|
12
|
-
|
|
13
|
-
protected
|
|
11
|
+
static shadowRootOptions: ShadowRootInit;
|
|
12
|
+
protected readonly dropdown: OdxDropdown;
|
|
13
|
+
block: boolean;
|
|
14
|
+
maxVisibleSelectedOptions: number;
|
|
15
|
+
constructor();
|
|
16
|
+
clear(): void;
|
|
17
|
+
isDropdownOpen(): boolean;
|
|
18
|
+
showDropdown(): void;
|
|
19
|
+
hideDropdown(): void;
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
firstUpdated(props: PropertyValues<this>): void;
|
|
22
|
+
protected canSelect(option: OptionControlElement): boolean;
|
|
14
23
|
protected render(): TemplateResult;
|
|
15
|
-
protected renderSelectedOptions(): TemplateResult;
|
|
16
|
-
protected willUpdate(changes: PropertyValues<this>): void;
|
|
17
24
|
}
|
|
18
25
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { SeparatorAlign } from './separator.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-separator': OdxSeparator;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
export type SeparatorAlignment = ValuesOf<typeof SeparatorAlignment>;
|
|
10
|
+
export declare const SeparatorAlignment: Pick<{
|
|
11
|
+
readonly START: "start";
|
|
12
|
+
readonly CENTER: "center";
|
|
13
|
+
readonly END: "end";
|
|
14
|
+
}, "START" | "CENTER" | "END">;
|
|
9
15
|
export declare class OdxSeparator extends CustomElement {
|
|
10
|
-
|
|
11
|
-
|
|
16
|
+
alignment: SeparatorAlignment;
|
|
17
|
+
strong: boolean;
|
|
12
18
|
vertical: boolean;
|
|
13
19
|
connectedCallback(): void;
|
|
14
20
|
protected render(): TemplateResult;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-sidebar': OdxSidebar;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export type SidebarPosition = ValuesOf<typeof SidebarPosition>;
|
|
10
|
+
export declare const SidebarPosition: Pick<{
|
|
11
|
+
readonly START: "start";
|
|
12
|
+
readonly CENTER: "center";
|
|
13
|
+
readonly END: "end";
|
|
14
|
+
}, "START" | "END">;
|
|
15
|
+
export type SidebarSize = ValuesOf<typeof SidebarSize>;
|
|
16
|
+
export declare const SidebarSize: Pick<{
|
|
17
|
+
readonly XS: "xs";
|
|
18
|
+
readonly SM: "sm";
|
|
19
|
+
readonly MD: "md";
|
|
20
|
+
readonly LG: "lg";
|
|
21
|
+
readonly XL: "xl";
|
|
22
|
+
readonly XXL: "xxl";
|
|
23
|
+
}, "SM" | "MD" | "LG">;
|
|
24
|
+
export declare class OdxSidebar extends CustomElement {
|
|
25
|
+
hidden: boolean;
|
|
26
|
+
size?: SidebarSize;
|
|
27
|
+
appearance?: 'default' | 'minimal';
|
|
28
|
+
protected render(): TemplateResult | string;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { ControlSize, CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { SkeletonShape, SkeletonSize } from './skeleton.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-skeleton': OdxSkeleton;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
export type SkeletonAppearance = ValuesOf<typeof SkeletonAppearance>;
|
|
10
|
+
export declare const SkeletonAppearance: {
|
|
11
|
+
readonly TEXT: "text";
|
|
12
|
+
readonly CONTROL: "button";
|
|
13
|
+
readonly ICON_BUTTON: "icon-button";
|
|
14
|
+
readonly AVATAR: "avatar";
|
|
15
|
+
};
|
|
9
16
|
export declare class OdxSkeleton extends CustomElement {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
size
|
|
17
|
+
loading: boolean;
|
|
18
|
+
strong: boolean;
|
|
19
|
+
appearance: SkeletonAppearance;
|
|
20
|
+
size: ControlSize;
|
|
14
21
|
protected render(): TemplateResult;
|
|
15
22
|
}
|
|
16
23
|
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import {
|
|
3
|
-
import { PropertyValueMap, TemplateResult } from 'lit';
|
|
1
|
+
import { CustomElement, DragEvent, IsDraggable, NumberFormControl } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
3
|
import { SliderTrackVisibility } from './slider.models.js';
|
|
5
4
|
declare global {
|
|
6
5
|
interface HTMLElementTagNameMap {
|
|
7
6
|
'odx-slider-handle': OdxSliderHandle;
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
|
-
declare const OdxSliderHandle_base: import('../../
|
|
9
|
+
declare const OdxSliderHandle_base: import('../../utils/main.js').Constructor<IsDraggable & HTMLElement> & import('../../utils/main.js').Constructor<NumberFormControl> & typeof CustomElement;
|
|
11
10
|
export declare class OdxSliderHandle extends OdxSliderHandle_base {
|
|
12
11
|
#private;
|
|
12
|
+
static shadowRootOptions: ShadowRootInit;
|
|
13
13
|
private context;
|
|
14
14
|
step: never;
|
|
15
15
|
trackVisibility?: SliderTrackVisibility;
|
|
@@ -21,8 +21,8 @@ export declare class OdxSliderHandle extends OdxSliderHandle_base {
|
|
|
21
21
|
afterDragEnd(event: DragEvent): void;
|
|
22
22
|
getDistance(containerElement: HTMLElement, event: PointerEvent): number;
|
|
23
23
|
getValueText(): string;
|
|
24
|
-
protected willUpdate(props:
|
|
25
|
-
protected updated(props:
|
|
24
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
25
|
+
protected updated(props: PropertyValues<this>): void;
|
|
26
26
|
protected render(): TemplateResult;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -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 {
|
|
@@ -9,7 +9,7 @@ export declare class OdxSliderMarks extends CustomElement {
|
|
|
9
9
|
protected context: import('./slider.models.js').SliderContext;
|
|
10
10
|
step?: number;
|
|
11
11
|
showLabels: boolean;
|
|
12
|
-
connectedCallback():
|
|
12
|
+
connectedCallback(): void;
|
|
13
13
|
protected render(): TemplateResult;
|
|
14
14
|
protected renderMark(value: number, last?: boolean): TemplateResult;
|
|
15
15
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import { DragController } from '../../cdk/main.js';
|
|
1
|
+
import { CustomElement, DragController } from '../../main.js';
|
|
3
2
|
import { TemplateResult } from 'lit';
|
|
4
|
-
import { OdxSliderHandle } from './slider-handle.js';
|
|
5
3
|
import { SliderLabelVisibility } from './slider.models.js';
|
|
4
|
+
import { OdxSliderHandle } from './slider-handle.js';
|
|
6
5
|
declare global {
|
|
7
6
|
interface HTMLElementTagNameMap {
|
|
8
7
|
'odx-slider': OdxSlider;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
|
+
export type SliderLabelVisibility = ValuesOf<typeof SliderLabelVisibility>;
|
|
2
3
|
export declare const SliderLabelVisibility: {
|
|
3
4
|
readonly AUTO: "auto";
|
|
4
5
|
readonly HIDDEN: "hidden";
|
|
5
6
|
};
|
|
6
|
-
export type SliderTrackVisibility =
|
|
7
|
+
export type SliderTrackVisibility = ValuesOf<typeof SliderTrackVisibility>;
|
|
7
8
|
export declare const SliderTrackVisibility: {
|
|
9
|
+
readonly VISIBLE: "visible";
|
|
8
10
|
readonly AUTO: "auto";
|
|
9
11
|
readonly HIDDEN: "hidden";
|
|
10
|
-
readonly VISIBLE: "visible";
|
|
11
12
|
};
|
|
12
13
|
export interface SliderContext {
|
|
13
14
|
step: number;
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
1
|
+
import { CustomElement, FormAssociated } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-spinbox': OdxSpinbox;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
declare const OdxSpinbox_base: import('../../
|
|
8
|
+
declare const OdxSpinbox_base: import('../../utils/main.js').Constructor<FormAssociated<string>> & typeof CustomElement;
|
|
9
9
|
export declare class OdxSpinbox extends OdxSpinbox_base {
|
|
10
10
|
#private;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
private get options();
|
|
12
|
+
interactive: boolean;
|
|
13
|
+
selectedIndex: number;
|
|
14
|
+
value: string;
|
|
15
|
+
constructor();
|
|
16
|
+
clear(): void;
|
|
17
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
18
|
+
protected updated(props: PropertyValues<this>): void;
|
|
19
|
+
previous(): void;
|
|
20
|
+
next(): void;
|
|
21
|
+
connectedCallback(): void;
|
|
22
|
+
protected render(): TemplateResult | string;
|
|
18
23
|
}
|
|
19
24
|
export {};
|
|
20
25
|
//# sourceMappingURL=spinbox.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-status': OdxStatus;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export type StatusVariant = ValuesOf<typeof StatusVariant>;
|
|
10
|
+
export declare const StatusVariant: Pick<{
|
|
11
|
+
readonly NEUTRAL: "neutral";
|
|
12
|
+
readonly NEUTRAL_SUBTLE: "neutral-subtle";
|
|
13
|
+
readonly PRIMARY: "primary";
|
|
14
|
+
readonly PRIMARY_SUBTLE: "primary-subtle";
|
|
15
|
+
readonly ACCENT: "accent";
|
|
16
|
+
readonly ACCENT_SUBTLE: "accent-subtle";
|
|
17
|
+
readonly SUCCESS: "success";
|
|
18
|
+
readonly WARNING: "warning";
|
|
19
|
+
readonly DANGER: "danger";
|
|
20
|
+
readonly DANGER_SUBTLE: "danger-subtle";
|
|
21
|
+
readonly GHOST: "ghost";
|
|
22
|
+
}, "NEUTRAL" | "PRIMARY" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
23
|
+
export declare class OdxStatus extends CustomElement {
|
|
24
|
+
animated: boolean;
|
|
25
|
+
variant: StatusVariant;
|
|
26
|
+
protected render(): TemplateResult;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CheckboxControl, 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-switch': OdxSwitch;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
8
|
-
export
|
|
9
|
+
export type SwitchIndicatorPosition = ValuesOf<typeof SwitchIndicatorPosition>;
|
|
10
|
+
export declare const SwitchIndicatorPosition: Pick<{
|
|
11
|
+
readonly START: "start";
|
|
12
|
+
readonly CENTER: "center";
|
|
13
|
+
readonly END: "end";
|
|
14
|
+
}, "START" | "END">;
|
|
15
|
+
declare const OdxSwitch_base: import('../../utils/main.js').Constructor<CheckboxControl> & typeof CustomElement;
|
|
16
|
+
export declare class OdxSwitch extends OdxSwitch_base {
|
|
17
|
+
indicatorPosition: SwitchIndicatorPosition;
|
|
9
18
|
connectedCallback(): void;
|
|
10
19
|
protected render(): TemplateResult;
|
|
11
20
|
}
|
|
21
|
+
export {};
|
|
12
22
|
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
|
+
import { OdxNavigationItem } from '../navigation-item/navigation-item.js';
|
|
5
|
+
declare global {
|
|
6
|
+
interface HTMLElementTagNameMap {
|
|
7
|
+
'odx-tab-bar': OdxTabBar;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export type TabBarAlignment = ValuesOf<typeof TabBarAlignment>;
|
|
11
|
+
export declare const TabBarAlignment: Pick<{
|
|
12
|
+
readonly START: "start";
|
|
13
|
+
readonly CENTER: "center";
|
|
14
|
+
readonly END: "end";
|
|
15
|
+
}, "START" | "END">;
|
|
16
|
+
export declare class OdxTabBar extends CustomElement {
|
|
17
|
+
#private;
|
|
18
|
+
private readonly containerElement?;
|
|
19
|
+
private readonly scrollContainer?;
|
|
20
|
+
alignment: TabBarAlignment;
|
|
21
|
+
autoSelect: boolean;
|
|
22
|
+
controlled: boolean;
|
|
23
|
+
indicatorDisabled: boolean;
|
|
24
|
+
set selectedIndex(value: number);
|
|
25
|
+
get selectedIndex(): number;
|
|
26
|
+
vertical: boolean;
|
|
27
|
+
get selectedItem(): OdxNavigationItem | undefined;
|
|
28
|
+
constructor();
|
|
29
|
+
getItems(): OdxNavigationItem[];
|
|
30
|
+
selectItem(item: OdxNavigationItem): void;
|
|
31
|
+
selectPreviousItem(): void;
|
|
32
|
+
selectNextItem(): void;
|
|
33
|
+
protected render(): TemplateResult;
|
|
34
|
+
protected updated(props: PropertyValues<this>): void;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=tab-bar.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
export * from './table.js';
|
|
2
|
+
export * from './table.models.js';
|
|
1
3
|
export * from './table-body.js';
|
|
2
4
|
export * from './table-cell.js';
|
|
3
5
|
export * from './table-checkbox-cell.js';
|
|
4
|
-
export * from './table-header-cell.js';
|
|
5
6
|
export * from './table-header.js';
|
|
7
|
+
export * from './table-header-cell.js';
|
|
6
8
|
export * from './table-row.js';
|
|
7
|
-
export * from './table.js';
|
|
8
|
-
export * from './table.models.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|