@ds-mo/ui 0.2.4 → 0.4.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/dist/components/ds-accordion.d.ts +11 -0
- package/dist/components/ds-accordion.js +2 -0
- package/dist/components/ds-accordion.js.map +1 -0
- package/dist/components/ds-badge.d.ts +11 -0
- package/dist/components/ds-badge.js +2 -0
- package/dist/components/ds-badge.js.map +1 -0
- package/dist/components/ds-banner.d.ts +11 -0
- package/dist/components/ds-banner.js +2 -0
- package/dist/components/ds-banner.js.map +1 -0
- package/dist/components/ds-breadcrumb.d.ts +11 -0
- package/dist/components/ds-breadcrumb.js +2 -0
- package/dist/components/ds-breadcrumb.js.map +1 -0
- package/dist/components/ds-button.d.ts +11 -0
- package/dist/components/ds-button.js +2 -0
- package/dist/components/ds-button.js.map +1 -0
- package/dist/components/ds-card.d.ts +11 -0
- package/dist/components/ds-card.js +2 -0
- package/dist/components/ds-card.js.map +1 -0
- package/dist/components/ds-checkbox.d.ts +11 -0
- package/dist/components/ds-checkbox.js +2 -0
- package/dist/components/ds-checkbox.js.map +1 -0
- package/dist/components/ds-divider.d.ts +11 -0
- package/dist/components/ds-divider.js +2 -0
- package/dist/components/ds-divider.js.map +1 -0
- package/dist/components/ds-empty-state.d.ts +11 -0
- package/dist/components/ds-empty-state.js +2 -0
- package/dist/components/ds-empty-state.js.map +1 -0
- package/dist/components/ds-fade.d.ts +11 -0
- package/dist/components/ds-fade.js +2 -0
- package/dist/components/ds-fade.js.map +1 -0
- package/dist/components/ds-field.d.ts +11 -0
- package/dist/components/ds-field.js +2 -0
- package/dist/components/ds-field.js.map +1 -0
- package/dist/components/ds-header.d.ts +11 -0
- package/dist/components/ds-header.js +2 -0
- package/dist/components/ds-header.js.map +1 -0
- package/dist/components/ds-input.d.ts +11 -0
- package/dist/components/ds-input.js +2 -0
- package/dist/components/ds-input.js.map +1 -0
- package/dist/components/ds-loader.d.ts +11 -0
- package/dist/components/ds-loader.js +2 -0
- package/dist/components/ds-loader.js.map +1 -0
- package/dist/components/ds-menu.d.ts +11 -0
- package/dist/components/ds-menu.js +2 -0
- package/dist/components/ds-menu.js.map +1 -0
- package/dist/components/ds-modal.d.ts +11 -0
- package/dist/components/ds-modal.js +2 -0
- package/dist/components/ds-modal.js.map +1 -0
- package/dist/components/ds-pagination.d.ts +11 -0
- package/dist/components/ds-pagination.js +2 -0
- package/dist/components/ds-pagination.js.map +1 -0
- package/dist/components/ds-radio-group.d.ts +11 -0
- package/dist/components/ds-radio-group.js +2 -0
- package/dist/components/ds-radio-group.js.map +1 -0
- package/dist/components/ds-scrollbar.d.ts +11 -0
- package/dist/components/ds-scrollbar.js +2 -0
- package/dist/components/ds-scrollbar.js.map +1 -0
- package/dist/components/ds-sidebar.d.ts +11 -0
- package/dist/components/ds-sidebar.js +2 -0
- package/dist/components/ds-sidebar.js.map +1 -0
- package/dist/components/ds-skeleton.d.ts +11 -0
- package/dist/components/ds-skeleton.js +2 -0
- package/dist/components/ds-skeleton.js.map +1 -0
- package/dist/components/ds-slider.d.ts +11 -0
- package/dist/components/ds-slider.js +2 -0
- package/dist/components/ds-slider.js.map +1 -0
- package/dist/components/ds-surface.d.ts +11 -0
- package/dist/components/ds-surface.js +2 -0
- package/dist/components/ds-surface.js.map +1 -0
- package/dist/components/ds-tab-group.d.ts +11 -0
- package/dist/components/ds-tab-group.js +2 -0
- package/dist/components/ds-tab-group.js.map +1 -0
- package/dist/components/ds-table.d.ts +11 -0
- package/dist/components/ds-table.js +2 -0
- package/dist/components/ds-table.js.map +1 -0
- package/dist/components/ds-tag.d.ts +11 -0
- package/dist/components/ds-tag.js +2 -0
- package/dist/components/ds-tag.js.map +1 -0
- package/dist/components/ds-text.d.ts +11 -0
- package/dist/components/ds-text.js +2 -0
- package/dist/components/ds-text.js.map +1 -0
- package/dist/components/ds-toast-provider.d.ts +11 -0
- package/dist/components/ds-toast-provider.js +2 -0
- package/dist/components/ds-toast-provider.js.map +1 -0
- package/dist/components/ds-toggle.d.ts +11 -0
- package/dist/components/ds-toggle.js +2 -0
- package/dist/components/ds-toggle.js.map +1 -0
- package/dist/components/ds-tooltip.d.ts +11 -0
- package/dist/components/ds-tooltip.js +2 -0
- package/dist/components/ds-tooltip.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/p-BcuUR5Ao.js +2 -0
- package/dist/components/p-BcuUR5Ao.js.map +1 -0
- package/dist/types/.stencil/Accordion/Accordion.d.ts +28 -0
- package/dist/types/.stencil/Badge/Badge.d.ts +8 -0
- package/dist/types/.stencil/Badge/index.d.ts +2 -0
- package/dist/types/.stencil/Banner/Banner.d.ts +29 -0
- package/dist/types/.stencil/Breadcrumb/Breadcrumb.d.ts +16 -0
- package/dist/types/.stencil/Button/Button.d.ts +38 -0
- package/dist/types/.stencil/Button/index.d.ts +2 -0
- package/dist/types/.stencil/Card/Card.d.ts +8 -0
- package/dist/types/.stencil/Checkbox/Checkbox.d.ts +13 -0
- package/dist/types/.stencil/Checkbox/index.d.ts +2 -0
- package/dist/types/.stencil/Divider/Divider.d.ts +7 -0
- package/dist/types/.stencil/Divider/index.d.ts +2 -0
- package/dist/types/.stencil/EmptyState/EmptyState.d.ts +7 -0
- package/dist/types/.stencil/Fade/Fade.d.ts +10 -0
- package/dist/types/.stencil/Fade/index.d.ts +2 -0
- package/dist/types/.stencil/Field/Field.d.ts +8 -0
- package/dist/types/.stencil/Header/Header.d.ts +7 -0
- package/dist/types/.stencil/Input/Input.d.ts +26 -0
- package/dist/types/.stencil/Input/index.d.ts +2 -0
- package/dist/types/.stencil/Loader/Loader.d.ts +12 -0
- package/dist/types/.stencil/Loader/index.d.ts +2 -0
- package/dist/types/.stencil/Menu/Menu.d.ts +60 -0
- package/dist/types/.stencil/Modal/Modal.d.ts +31 -0
- package/dist/types/.stencil/Pagination/Pagination.d.ts +11 -0
- package/dist/types/.stencil/RadioGroup/RadioGroup.d.ts +21 -0
- package/dist/types/.stencil/RadioGroup/index.d.ts +2 -0
- package/dist/types/.stencil/Scrollbar/Scrollbar.d.ts +27 -0
- package/dist/types/.stencil/Sidebar/Sidebar.d.ts +29 -0
- package/dist/types/.stencil/Skeleton/Skeleton.d.ts +16 -0
- package/dist/types/.stencil/Skeleton/index.d.ts +2 -0
- package/dist/types/.stencil/Slider/Slider.d.ts +18 -0
- package/dist/types/.stencil/Slider/index.d.ts +2 -0
- package/dist/types/.stencil/Surface/Surface.d.ts +22 -0
- package/dist/types/.stencil/TabGroup/TabGroup.d.ts +29 -0
- package/dist/types/.stencil/Table/Table.d.ts +50 -0
- package/dist/types/.stencil/Tag/Tag.d.ts +32 -0
- package/dist/types/.stencil/Tag/index.d.ts +2 -0
- package/dist/types/.stencil/Text/Text.d.ts +22 -0
- package/dist/types/.stencil/Text/index.d.ts +2 -0
- package/dist/types/.stencil/Toast/Toast.d.ts +15 -0
- package/dist/types/.stencil/Toast/toast-service.d.ts +24 -0
- package/dist/types/.stencil/Toggle/Toggle.d.ts +10 -0
- package/dist/types/.stencil/Toggle/index.d.ts +2 -0
- package/dist/types/.stencil/Tooltip/Tooltip.d.ts +36 -0
- package/dist/types/components.d.ts +2024 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/package.json +33 -29
- package/src/angular/angular-component-lib/utils.ts +65 -0
- package/src/angular/index.ts +35 -0
- package/src/angular/proxies.ts +819 -0
- package/dist/index.css +0 -2
- package/dist/index.d.ts +0 -969
- package/dist/index.js +0 -2492
- package/dist/index.js.map +0 -1
- package/dist/r/accordion.json +0 -79
- package/dist/r/badge.json +0 -69
- package/dist/r/banner.json +0 -90
- package/dist/r/breadcrumb.json +0 -70
- package/dist/r/button-group.json +0 -65
- package/dist/r/button.json +0 -137
- package/dist/r/card.json +0 -82
- package/dist/r/checkbox.json +0 -91
- package/dist/r/divider.json +0 -57
- package/dist/r/empty-state.json +0 -69
- package/dist/r/error-boundary.json +0 -66
- package/dist/r/fade.json +0 -65
- package/dist/r/field.json +0 -71
- package/dist/r/header.json +0 -67
- package/dist/r/input.json +0 -77
- package/dist/r/loader.json +0 -54
- package/dist/r/menu.json +0 -130
- package/dist/r/modal.json +0 -93
- package/dist/r/pagination.json +0 -80
- package/dist/r/radio.json +0 -85
- package/dist/r/registry.json +0 -1600
- package/dist/r/scrollbar.json +0 -68
- package/dist/r/select.json +0 -93
- package/dist/r/sidebar.json +0 -105
- package/dist/r/skeleton.json +0 -72
- package/dist/r/slider.json +0 -87
- package/dist/r/surface.json +0 -97
- package/dist/r/tab-group.json +0 -72
- package/dist/r/tab.json +0 -71
- package/dist/r/table.json +0 -110
- package/dist/r/tag.json +0 -110
- package/dist/r/text.json +0 -94
- package/dist/r/toast.json +0 -77
- package/dist/r/toggle-button-group.json +0 -65
- package/dist/r/toggle-button.json +0 -94
- package/dist/r/toggle.json +0 -65
- package/dist/r/tooltip.json +0 -86
- package/src/components/Accordion/Accordion.module.css +0 -66
- package/src/components/Accordion/Accordion.stories.tsx +0 -95
- package/src/components/Accordion/Accordion.tsx +0 -122
- package/src/components/Accordion/index.ts +0 -2
- package/src/components/Badge/Badge.module.css +0 -6
- package/src/components/Badge/Badge.stories.tsx +0 -99
- package/src/components/Badge/Badge.tsx +0 -23
- package/src/components/Badge/index.ts +0 -2
- package/src/components/Banner/Banner.module.css +0 -67
- package/src/components/Banner/Banner.stories.tsx +0 -81
- package/src/components/Banner/Banner.tsx +0 -109
- package/src/components/Banner/index.ts +0 -2
- package/src/components/Breadcrumb/Breadcrumb.module.css +0 -46
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +0 -72
- package/src/components/Breadcrumb/Breadcrumb.tsx +0 -68
- package/src/components/Breadcrumb/index.ts +0 -2
- package/src/components/Button/Button.mdx +0 -143
- package/src/components/Button/Button.module.css +0 -343
- package/src/components/Button/Button.stories.tsx +0 -575
- package/src/components/Button/Button.tsx +0 -201
- package/src/components/Button/index.ts +0 -10
- package/src/components/ButtonGroup/ButtonGroup.module.css +0 -157
- package/src/components/ButtonGroup/ButtonGroup.stories.tsx +0 -384
- package/src/components/ButtonGroup/ButtonGroup.tsx +0 -122
- package/src/components/ButtonGroup/index.ts +0 -2
- package/src/components/Card/Card.module.css +0 -36
- package/src/components/Card/Card.stories.tsx +0 -78
- package/src/components/Card/Card.tsx +0 -53
- package/src/components/Card/index.ts +0 -2
- package/src/components/Checkbox/Checkbox.module.css +0 -47
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -129
- package/src/components/Checkbox/Checkbox.tsx +0 -68
- package/src/components/Checkbox/index.ts +0 -2
- package/src/components/Divider/Divider.module.css +0 -19
- package/src/components/Divider/Divider.stories.tsx +0 -55
- package/src/components/Divider/Divider.tsx +0 -28
- package/src/components/Divider/index.ts +0 -2
- package/src/components/EmptyState/EmptyState.module.css +0 -8
- package/src/components/EmptyState/EmptyState.stories.tsx +0 -53
- package/src/components/EmptyState/EmptyState.tsx +0 -31
- package/src/components/EmptyState/index.ts +0 -2
- package/src/components/ErrorBoundary/ErrorBoundary.module.css +0 -18
- package/src/components/ErrorBoundary/ErrorBoundary.stories.tsx +0 -38
- package/src/components/ErrorBoundary/ErrorBoundary.tsx +0 -50
- package/src/components/ErrorBoundary/index.ts +0 -2
- package/src/components/Fade/Fade.module.css +0 -31
- package/src/components/Fade/Fade.stories.tsx +0 -35
- package/src/components/Fade/Fade.tsx +0 -33
- package/src/components/Fade/index.ts +0 -2
- package/src/components/Field/Field.module.css +0 -5
- package/src/components/Field/Field.stories.tsx +0 -111
- package/src/components/Field/Field.tsx +0 -22
- package/src/components/Field/index.ts +0 -2
- package/src/components/Header/Header.module.css +0 -33
- package/src/components/Header/Header.stories.tsx +0 -52
- package/src/components/Header/Header.tsx +0 -42
- package/src/components/Header/index.ts +0 -2
- package/src/components/Input/Input.module.css +0 -71
- package/src/components/Input/Input.stories.tsx +0 -135
- package/src/components/Input/Input.tsx +0 -76
- package/src/components/Input/index.ts +0 -2
- package/src/components/LabelWrap/LabelWrap.module.css +0 -34
- package/src/components/LabelWrap/LabelWrap.tsx +0 -32
- package/src/components/LabelWrap/index.ts +0 -1
- package/src/components/Loader/Loader.module.css +0 -9
- package/src/components/Loader/Loader.stories.tsx +0 -44
- package/src/components/Loader/Loader.tsx +0 -43
- package/src/components/Loader/index.ts +0 -2
- package/src/components/Menu/DestructiveMenuItem.module.css +0 -57
- package/src/components/Menu/DestructiveMenuItem.tsx +0 -64
- package/src/components/Menu/Menu.module.css +0 -49
- package/src/components/Menu/Menu.stories.tsx +0 -129
- package/src/components/Menu/Menu.tsx +0 -269
- package/src/components/Menu/MenuItem.module.css +0 -84
- package/src/components/Menu/MenuItem.tsx +0 -101
- package/src/components/Menu/index.ts +0 -6
- package/src/components/Modal/Modal.module.css +0 -67
- package/src/components/Modal/Modal.stories.tsx +0 -71
- package/src/components/Modal/Modal.tsx +0 -122
- package/src/components/Modal/index.ts +0 -2
- package/src/components/Pagination/Pagination.module.css +0 -64
- package/src/components/Pagination/Pagination.stories.tsx +0 -51
- package/src/components/Pagination/Pagination.tsx +0 -103
- package/src/components/Pagination/index.ts +0 -2
- package/src/components/Radio/Radio.module.css +0 -61
- package/src/components/Radio/Radio.stories.tsx +0 -101
- package/src/components/Radio/Radio.tsx +0 -108
- package/src/components/Radio/index.ts +0 -2
- package/src/components/Scrollbar/Scrollbar.module.css +0 -81
- package/src/components/Scrollbar/Scrollbar.stories.tsx +0 -46
- package/src/components/Scrollbar/Scrollbar.tsx +0 -187
- package/src/components/Scrollbar/index.ts +0 -2
- package/src/components/Select/Select.module.css +0 -31
- package/src/components/Select/Select.stories.tsx +0 -59
- package/src/components/Select/Select.tsx +0 -92
- package/src/components/Select/index.ts +0 -2
- package/src/components/Sidebar/Sidebar.module.css +0 -161
- package/src/components/Sidebar/Sidebar.stories.tsx +0 -125
- package/src/components/Sidebar/Sidebar.tsx +0 -129
- package/src/components/Sidebar/SidebarItem.tsx +0 -57
- package/src/components/Sidebar/SidebarSection.tsx +0 -42
- package/src/components/Sidebar/index.ts +0 -6
- package/src/components/Skeleton/Skeleton.module.css +0 -53
- package/src/components/Skeleton/Skeleton.stories.tsx +0 -89
- package/src/components/Skeleton/Skeleton.tsx +0 -66
- package/src/components/Skeleton/index.ts +0 -2
- package/src/components/Slider/Slider.module.css +0 -62
- package/src/components/Slider/Slider.stories.tsx +0 -120
- package/src/components/Slider/Slider.tsx +0 -74
- package/src/components/Slider/index.ts +0 -2
- package/src/components/Surface/Surface.module.css +0 -222
- package/src/components/Surface/Surface.stories.tsx +0 -213
- package/src/components/Surface/Surface.tsx +0 -219
- package/src/components/Surface/index.ts +0 -12
- package/src/components/Tab/Tab.module.css +0 -66
- package/src/components/Tab/Tab.stories.tsx +0 -103
- package/src/components/Tab/Tab.tsx +0 -41
- package/src/components/Tab/index.ts +0 -2
- package/src/components/TabGroup/TabGroup.module.css +0 -26
- package/src/components/TabGroup/TabGroup.stories.tsx +0 -60
- package/src/components/TabGroup/TabGroup.tsx +0 -83
- package/src/components/TabGroup/index.ts +0 -2
- package/src/components/Table/Table.module.css +0 -130
- package/src/components/Table/Table.stories.tsx +0 -111
- package/src/components/Table/Table.tsx +0 -226
- package/src/components/Table/index.ts +0 -11
- package/src/components/Tag/Tag.module.css +0 -270
- package/src/components/Tag/Tag.stories.tsx +0 -399
- package/src/components/Tag/Tag.tsx +0 -162
- package/src/components/Tag/index.ts +0 -2
- package/src/components/Text/Text.module.css +0 -166
- package/src/components/Text/Text.stories.tsx +0 -212
- package/src/components/Text/Text.tsx +0 -181
- package/src/components/Text/index.ts +0 -13
- package/src/components/Toast/Toast.module.css +0 -91
- package/src/components/Toast/Toast.stories.tsx +0 -66
- package/src/components/Toast/Toast.tsx +0 -182
- package/src/components/Toast/index.ts +0 -8
- package/src/components/Toggle/Toggle.module.css +0 -87
- package/src/components/Toggle/Toggle.stories.tsx +0 -85
- package/src/components/Toggle/Toggle.tsx +0 -52
- package/src/components/Toggle/index.ts +0 -2
- package/src/components/ToggleButton/ToggleButton.module.css +0 -172
- package/src/components/ToggleButton/ToggleButton.stories.tsx +0 -299
- package/src/components/ToggleButton/ToggleButton.tsx +0 -118
- package/src/components/ToggleButton/index.ts +0 -2
- package/src/components/ToggleButtonGroup/ToggleButtonGroup.module.css +0 -163
- package/src/components/ToggleButtonGroup/ToggleButtonGroup.stories.tsx +0 -341
- package/src/components/ToggleButtonGroup/ToggleButtonGroup.tsx +0 -111
- package/src/components/ToggleButtonGroup/index.ts +0 -2
- package/src/components/Tooltip/Tooltip.module.css +0 -45
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -46
- package/src/components/Tooltip/Tooltip.tsx +0 -224
- package/src/components/Tooltip/index.ts +0 -2
- package/src/css-modules.d.ts +0 -4
- package/src/docs/ColorUsage.mdx +0 -195
- package/src/docs/ElevationUsage.mdx +0 -95
- package/src/docs/Introduction.mdx +0 -97
- package/src/docs/OpticalSizing.mdx +0 -178
- package/src/docs/TypographyUsage.mdx +0 -121
- package/src/index.ts +0 -154
- package/src/stories/Colors.stories.tsx +0 -528
- package/src/stories/Dimensions.stories.tsx +0 -200
- package/src/stories/Effects.stories.tsx +0 -231
- package/src/stories/Icons.stories.tsx +0 -159
- package/src/stories/Typography.stories.tsx +0 -157
- package/src/types/icons.ts +0 -15
- package/src/types/index.ts +0 -1
- package/src/utils/cn.ts +0 -6
- package/src/utils/css-tokens.ts +0 -22
|
@@ -0,0 +1,819 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* auto-generated angular directive proxies */
|
|
3
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Output, NgZone } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
import { ProxyCmp } from './angular-component-lib/utils';
|
|
6
|
+
|
|
7
|
+
import { Components } from '@ds-mo/ui';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@ProxyCmp({
|
|
11
|
+
inputs: ['expandedIds', 'items', 'multiple']
|
|
12
|
+
})
|
|
13
|
+
@Component({
|
|
14
|
+
selector: 'ds-accordion',
|
|
15
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
+
template: '<ng-content></ng-content>',
|
|
17
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
18
|
+
inputs: ['expandedIds', 'items', 'multiple'],
|
|
19
|
+
outputs: ['dsExpandedChange'],
|
|
20
|
+
standalone: false
|
|
21
|
+
})
|
|
22
|
+
export class DsAccordion {
|
|
23
|
+
protected el: HTMLDsAccordionElement;
|
|
24
|
+
@Output() dsExpandedChange = new EventEmitter<CustomEvent<string[]>>();
|
|
25
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
26
|
+
c.detach();
|
|
27
|
+
this.el = r.nativeElement;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export declare interface DsAccordion extends Components.DsAccordion {
|
|
33
|
+
|
|
34
|
+
dsExpandedChange: EventEmitter<CustomEvent<string[]>>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
@ProxyCmp({
|
|
39
|
+
inputs: ['count', 'isSelected', 'label']
|
|
40
|
+
})
|
|
41
|
+
@Component({
|
|
42
|
+
selector: 'ds-badge',
|
|
43
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
44
|
+
template: '<ng-content></ng-content>',
|
|
45
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
46
|
+
inputs: ['count', 'isSelected', 'label'],
|
|
47
|
+
standalone: false
|
|
48
|
+
})
|
|
49
|
+
export class DsBadge {
|
|
50
|
+
protected el: HTMLDsBadgeElement;
|
|
51
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
52
|
+
c.detach();
|
|
53
|
+
this.el = r.nativeElement;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export declare interface DsBadge extends Components.DsBadge {}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
@ProxyCmp({
|
|
62
|
+
inputs: ['contrast', 'dismissLabel', 'floating', 'header', 'intent', 'message', 'showDismiss']
|
|
63
|
+
})
|
|
64
|
+
@Component({
|
|
65
|
+
selector: 'ds-banner',
|
|
66
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
67
|
+
template: '<ng-content></ng-content>',
|
|
68
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
69
|
+
inputs: ['contrast', 'dismissLabel', 'floating', 'header', 'intent', 'message', 'showDismiss'],
|
|
70
|
+
outputs: ['dsDismiss'],
|
|
71
|
+
standalone: false
|
|
72
|
+
})
|
|
73
|
+
export class DsBanner {
|
|
74
|
+
protected el: HTMLDsBannerElement;
|
|
75
|
+
@Output() dsDismiss = new EventEmitter<CustomEvent<void>>();
|
|
76
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
77
|
+
c.detach();
|
|
78
|
+
this.el = r.nativeElement;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
export declare interface DsBanner extends Components.DsBanner {
|
|
84
|
+
|
|
85
|
+
dsDismiss: EventEmitter<CustomEvent<void>>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@ProxyCmp({
|
|
90
|
+
inputs: ['items', 'separator']
|
|
91
|
+
})
|
|
92
|
+
@Component({
|
|
93
|
+
selector: 'ds-breadcrumb',
|
|
94
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
95
|
+
template: '<ng-content></ng-content>',
|
|
96
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
97
|
+
inputs: ['items', 'separator'],
|
|
98
|
+
outputs: ['dsNavigate'],
|
|
99
|
+
standalone: false
|
|
100
|
+
})
|
|
101
|
+
export class DsBreadcrumb {
|
|
102
|
+
protected el: HTMLDsBreadcrumbElement;
|
|
103
|
+
@Output() dsNavigate = new EventEmitter<CustomEvent<{ item: IDsBreadcrumbBreadcrumbItem; index: number }>>();
|
|
104
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
105
|
+
c.detach();
|
|
106
|
+
this.el = r.nativeElement;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
import type { BreadcrumbItem as IDsBreadcrumbBreadcrumbItem } from '@ds-mo/ui';
|
|
112
|
+
|
|
113
|
+
export declare interface DsBreadcrumb extends Components.DsBreadcrumb {
|
|
114
|
+
|
|
115
|
+
dsNavigate: EventEmitter<CustomEvent<{ item: IDsBreadcrumbBreadcrumbItem; index: number }>>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
@ProxyCmp({
|
|
120
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'badgeCount', 'contrast', 'dropdown', 'elevation', 'fullWidth', 'href', 'inactive', 'intent', 'label', 'loading', 'rounded', 'size', 'target', 'type', 'variant', 'width']
|
|
121
|
+
})
|
|
122
|
+
@Component({
|
|
123
|
+
selector: 'ds-button',
|
|
124
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
125
|
+
template: '<ng-content></ng-content>',
|
|
126
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
127
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'badgeCount', 'contrast', 'dropdown', 'elevation', 'fullWidth', 'href', 'inactive', 'intent', 'label', 'loading', 'rounded', 'size', 'target', 'type', 'variant', 'width'],
|
|
128
|
+
outputs: ['dsClick', 'dsMouseEnter', 'dsMouseLeave'],
|
|
129
|
+
standalone: false
|
|
130
|
+
})
|
|
131
|
+
export class DsButton {
|
|
132
|
+
protected el: HTMLDsButtonElement;
|
|
133
|
+
@Output() dsClick = new EventEmitter<CustomEvent<MouseEvent>>();
|
|
134
|
+
@Output() dsMouseEnter = new EventEmitter<CustomEvent<MouseEvent>>();
|
|
135
|
+
@Output() dsMouseLeave = new EventEmitter<CustomEvent<MouseEvent>>();
|
|
136
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
137
|
+
c.detach();
|
|
138
|
+
this.el = r.nativeElement;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
export declare interface DsButton extends Components.DsButton {
|
|
144
|
+
|
|
145
|
+
dsClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
146
|
+
|
|
147
|
+
dsMouseEnter: EventEmitter<CustomEvent<MouseEvent>>;
|
|
148
|
+
|
|
149
|
+
dsMouseLeave: EventEmitter<CustomEvent<MouseEvent>>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
@ProxyCmp({
|
|
154
|
+
inputs: ['elevation', 'radius']
|
|
155
|
+
})
|
|
156
|
+
@Component({
|
|
157
|
+
selector: 'ds-card',
|
|
158
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
159
|
+
template: '<ng-content></ng-content>',
|
|
160
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
161
|
+
inputs: ['elevation', 'radius'],
|
|
162
|
+
standalone: false
|
|
163
|
+
})
|
|
164
|
+
export class DsCard {
|
|
165
|
+
protected el: HTMLDsCardElement;
|
|
166
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
167
|
+
c.detach();
|
|
168
|
+
this.el = r.nativeElement;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
export declare interface DsCard extends Components.DsCard {}
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
@ProxyCmp({
|
|
177
|
+
inputs: ['checked', 'inactive', 'indeterminate', 'label']
|
|
178
|
+
})
|
|
179
|
+
@Component({
|
|
180
|
+
selector: 'ds-checkbox',
|
|
181
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
182
|
+
template: '<ng-content></ng-content>',
|
|
183
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
184
|
+
inputs: ['checked', 'inactive', 'indeterminate', { name: 'label', required: true }],
|
|
185
|
+
outputs: ['dsChange'],
|
|
186
|
+
standalone: false
|
|
187
|
+
})
|
|
188
|
+
export class DsCheckbox {
|
|
189
|
+
protected el: HTMLDsCheckboxElement;
|
|
190
|
+
@Output() dsChange = new EventEmitter<CustomEvent<boolean>>();
|
|
191
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
192
|
+
c.detach();
|
|
193
|
+
this.el = r.nativeElement;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
export declare interface DsCheckbox extends Components.DsCheckbox {
|
|
199
|
+
|
|
200
|
+
dsChange: EventEmitter<CustomEvent<boolean>>;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
@ProxyCmp({
|
|
205
|
+
inputs: ['orientation']
|
|
206
|
+
})
|
|
207
|
+
@Component({
|
|
208
|
+
selector: 'ds-divider',
|
|
209
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
210
|
+
template: '<ng-content></ng-content>',
|
|
211
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
212
|
+
inputs: ['orientation'],
|
|
213
|
+
standalone: false
|
|
214
|
+
})
|
|
215
|
+
export class DsDivider {
|
|
216
|
+
protected el: HTMLDsDividerElement;
|
|
217
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
218
|
+
c.detach();
|
|
219
|
+
this.el = r.nativeElement;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
export declare interface DsDivider extends Components.DsDivider {}
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
@ProxyCmp({
|
|
228
|
+
inputs: ['message', 'type']
|
|
229
|
+
})
|
|
230
|
+
@Component({
|
|
231
|
+
selector: 'ds-empty-state',
|
|
232
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
233
|
+
template: '<ng-content></ng-content>',
|
|
234
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
235
|
+
inputs: ['message', 'type'],
|
|
236
|
+
standalone: false
|
|
237
|
+
})
|
|
238
|
+
export class DsEmptyState {
|
|
239
|
+
protected el: HTMLDsEmptyStateElement;
|
|
240
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
241
|
+
c.detach();
|
|
242
|
+
this.el = r.nativeElement;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
export declare interface DsEmptyState extends Components.DsEmptyState {}
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
@ProxyCmp({
|
|
251
|
+
inputs: ['background', 'height', 'side']
|
|
252
|
+
})
|
|
253
|
+
@Component({
|
|
254
|
+
selector: 'ds-fade',
|
|
255
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
256
|
+
template: '<ng-content></ng-content>',
|
|
257
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
258
|
+
inputs: ['background', 'height', { name: 'side', required: true }],
|
|
259
|
+
standalone: false
|
|
260
|
+
})
|
|
261
|
+
export class DsFade {
|
|
262
|
+
protected el: HTMLDsFadeElement;
|
|
263
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
264
|
+
c.detach();
|
|
265
|
+
this.el = r.nativeElement;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
export declare interface DsFade extends Components.DsFade {}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
@ProxyCmp({
|
|
274
|
+
inputs: ['fieldId', 'label']
|
|
275
|
+
})
|
|
276
|
+
@Component({
|
|
277
|
+
selector: 'ds-field',
|
|
278
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
279
|
+
template: '<ng-content></ng-content>',
|
|
280
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
281
|
+
inputs: ['fieldId', { name: 'label', required: true }],
|
|
282
|
+
standalone: false
|
|
283
|
+
})
|
|
284
|
+
export class DsField {
|
|
285
|
+
protected el: HTMLDsFieldElement;
|
|
286
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
287
|
+
c.detach();
|
|
288
|
+
this.el = r.nativeElement;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
export declare interface DsField extends Components.DsField {}
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
@ProxyCmp({
|
|
297
|
+
inputs: ['background', 'heading']
|
|
298
|
+
})
|
|
299
|
+
@Component({
|
|
300
|
+
selector: 'ds-header',
|
|
301
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
302
|
+
template: '<ng-content></ng-content>',
|
|
303
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
304
|
+
inputs: ['background', 'heading'],
|
|
305
|
+
standalone: false
|
|
306
|
+
})
|
|
307
|
+
export class DsHeader {
|
|
308
|
+
protected el: HTMLDsHeaderElement;
|
|
309
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
310
|
+
c.detach();
|
|
311
|
+
this.el = r.nativeElement;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
export declare interface DsHeader extends Components.DsHeader {}
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
@ProxyCmp({
|
|
320
|
+
inputs: ['ariaDescribedby', 'ariaLabel', 'ariaLabelledby', 'autoFocus', 'error', 'errorMessage', 'inactive', 'inputId', 'placeholder', 'type', 'value'],
|
|
321
|
+
methods: ['setFocus']
|
|
322
|
+
})
|
|
323
|
+
@Component({
|
|
324
|
+
selector: 'ds-input',
|
|
325
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
326
|
+
template: '<ng-content></ng-content>',
|
|
327
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
328
|
+
inputs: ['ariaDescribedby', 'ariaLabel', 'ariaLabelledby', 'autoFocus', 'error', 'errorMessage', 'inactive', 'inputId', 'placeholder', 'type', 'value'],
|
|
329
|
+
outputs: ['dsChange', 'dsClear'],
|
|
330
|
+
standalone: false
|
|
331
|
+
})
|
|
332
|
+
export class DsInput {
|
|
333
|
+
protected el: HTMLDsInputElement;
|
|
334
|
+
@Output() dsChange = new EventEmitter<CustomEvent<string>>();
|
|
335
|
+
@Output() dsClear = new EventEmitter<CustomEvent<void>>();
|
|
336
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
337
|
+
c.detach();
|
|
338
|
+
this.el = r.nativeElement;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
export declare interface DsInput extends Components.DsInput {
|
|
344
|
+
|
|
345
|
+
dsChange: EventEmitter<CustomEvent<string>>;
|
|
346
|
+
|
|
347
|
+
dsClear: EventEmitter<CustomEvent<void>>;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
@ProxyCmp({
|
|
352
|
+
inputs: ['label', 'size']
|
|
353
|
+
})
|
|
354
|
+
@Component({
|
|
355
|
+
selector: 'ds-loader',
|
|
356
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
357
|
+
template: '<ng-content></ng-content>',
|
|
358
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
359
|
+
inputs: ['label', 'size'],
|
|
360
|
+
standalone: false
|
|
361
|
+
})
|
|
362
|
+
export class DsLoader {
|
|
363
|
+
protected el: HTMLDsLoaderElement;
|
|
364
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
365
|
+
c.detach();
|
|
366
|
+
this.el = r.nativeElement;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
export declare interface DsLoader extends Components.DsLoader {}
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
@ProxyCmp({
|
|
375
|
+
inputs: ['align', 'alignOffset', 'anchor', 'anchorId', 'items', 'menuWidth', 'minWidth', 'open', 'sections', 'side', 'sideOffset']
|
|
376
|
+
})
|
|
377
|
+
@Component({
|
|
378
|
+
selector: 'ds-menu',
|
|
379
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
380
|
+
template: '<ng-content></ng-content>',
|
|
381
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
382
|
+
inputs: ['align', 'alignOffset', 'anchor', 'anchorId', 'items', 'menuWidth', 'minWidth', 'open', 'sections', 'side', 'sideOffset'],
|
|
383
|
+
outputs: ['dsClose', 'dsSelect'],
|
|
384
|
+
standalone: false
|
|
385
|
+
})
|
|
386
|
+
export class DsMenu {
|
|
387
|
+
protected el: HTMLDsMenuElement;
|
|
388
|
+
@Output() dsClose = new EventEmitter<CustomEvent<void>>();
|
|
389
|
+
@Output() dsSelect = new EventEmitter<CustomEvent<IDsMenuMenuItemData>>();
|
|
390
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
391
|
+
c.detach();
|
|
392
|
+
this.el = r.nativeElement;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
import type { MenuItemData as IDsMenuMenuItemData } from '@ds-mo/ui';
|
|
398
|
+
|
|
399
|
+
export declare interface DsMenu extends Components.DsMenu {
|
|
400
|
+
|
|
401
|
+
dsClose: EventEmitter<CustomEvent<void>>;
|
|
402
|
+
|
|
403
|
+
dsSelect: EventEmitter<CustomEvent<IDsMenuMenuItemData>>;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
@ProxyCmp({
|
|
408
|
+
inputs: ['heading', 'modalWidth', 'open', 'subtitle']
|
|
409
|
+
})
|
|
410
|
+
@Component({
|
|
411
|
+
selector: 'ds-modal',
|
|
412
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
413
|
+
template: '<ng-content></ng-content>',
|
|
414
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
415
|
+
inputs: [{ name: 'heading', required: true }, 'modalWidth', 'open', 'subtitle'],
|
|
416
|
+
outputs: ['dsClose'],
|
|
417
|
+
standalone: false
|
|
418
|
+
})
|
|
419
|
+
export class DsModal {
|
|
420
|
+
protected el: HTMLDsModalElement;
|
|
421
|
+
@Output() dsClose = new EventEmitter<CustomEvent<void>>();
|
|
422
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
423
|
+
c.detach();
|
|
424
|
+
this.el = r.nativeElement;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
export declare interface DsModal extends Components.DsModal {
|
|
430
|
+
|
|
431
|
+
dsClose: EventEmitter<CustomEvent<void>>;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
@ProxyCmp({
|
|
436
|
+
inputs: ['inactive', 'page', 'siblingCount', 'totalPages']
|
|
437
|
+
})
|
|
438
|
+
@Component({
|
|
439
|
+
selector: 'ds-pagination',
|
|
440
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
441
|
+
template: '<ng-content></ng-content>',
|
|
442
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
443
|
+
inputs: ['inactive', 'page', 'siblingCount', 'totalPages'],
|
|
444
|
+
outputs: ['dsPageChange'],
|
|
445
|
+
standalone: false
|
|
446
|
+
})
|
|
447
|
+
export class DsPagination {
|
|
448
|
+
protected el: HTMLDsPaginationElement;
|
|
449
|
+
@Output() dsPageChange = new EventEmitter<CustomEvent<number>>();
|
|
450
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
451
|
+
c.detach();
|
|
452
|
+
this.el = r.nativeElement;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
export declare interface DsPagination extends Components.DsPagination {
|
|
458
|
+
|
|
459
|
+
dsPageChange: EventEmitter<CustomEvent<number>>;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
@ProxyCmp({
|
|
464
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'direction', 'inactive', 'options', 'value']
|
|
465
|
+
})
|
|
466
|
+
@Component({
|
|
467
|
+
selector: 'ds-radio-group',
|
|
468
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
469
|
+
template: '<ng-content></ng-content>',
|
|
470
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
471
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'direction', 'inactive', 'options', 'value'],
|
|
472
|
+
outputs: ['dsChange'],
|
|
473
|
+
standalone: false
|
|
474
|
+
})
|
|
475
|
+
export class DsRadioGroup {
|
|
476
|
+
protected el: HTMLDsRadioGroupElement;
|
|
477
|
+
@Output() dsChange = new EventEmitter<CustomEvent<string>>();
|
|
478
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
479
|
+
c.detach();
|
|
480
|
+
this.el = r.nativeElement;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
export declare interface DsRadioGroup extends Components.DsRadioGroup {
|
|
486
|
+
|
|
487
|
+
dsChange: EventEmitter<CustomEvent<string>>;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
@ProxyCmp({
|
|
492
|
+
inputs: ['showTrackOnHover', 'variant']
|
|
493
|
+
})
|
|
494
|
+
@Component({
|
|
495
|
+
selector: 'ds-scrollbar',
|
|
496
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
497
|
+
template: '<ng-content></ng-content>',
|
|
498
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
499
|
+
inputs: ['showTrackOnHover', 'variant'],
|
|
500
|
+
standalone: false
|
|
501
|
+
})
|
|
502
|
+
export class DsScrollbar {
|
|
503
|
+
protected el: HTMLDsScrollbarElement;
|
|
504
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
505
|
+
c.detach();
|
|
506
|
+
this.el = r.nativeElement;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
export declare interface DsScrollbar extends Components.DsScrollbar {}
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
@ProxyCmp({
|
|
515
|
+
inputs: ['collapsed', 'mobile', 'resizable', 'width']
|
|
516
|
+
})
|
|
517
|
+
@Component({
|
|
518
|
+
selector: 'ds-sidebar',
|
|
519
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
520
|
+
template: '<ng-content></ng-content>',
|
|
521
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
522
|
+
inputs: ['collapsed', 'mobile', 'resizable', 'width'],
|
|
523
|
+
outputs: ['dsToggle', 'dsWidthChange'],
|
|
524
|
+
standalone: false
|
|
525
|
+
})
|
|
526
|
+
export class DsSidebar {
|
|
527
|
+
protected el: HTMLDsSidebarElement;
|
|
528
|
+
@Output() dsToggle = new EventEmitter<CustomEvent<void>>();
|
|
529
|
+
@Output() dsWidthChange = new EventEmitter<CustomEvent<IDsSidebarSidebarWidth>>();
|
|
530
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
531
|
+
c.detach();
|
|
532
|
+
this.el = r.nativeElement;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
import type { SidebarWidth as IDsSidebarSidebarWidth } from '@ds-mo/ui';
|
|
538
|
+
|
|
539
|
+
export declare interface DsSidebar extends Components.DsSidebar {
|
|
540
|
+
|
|
541
|
+
dsToggle: EventEmitter<CustomEvent<void>>;
|
|
542
|
+
|
|
543
|
+
dsWidthChange: EventEmitter<CustomEvent<IDsSidebarSidebarWidth>>;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
@ProxyCmp({
|
|
548
|
+
inputs: ['height', 'lines', 'shimmer', 'variant', 'width']
|
|
549
|
+
})
|
|
550
|
+
@Component({
|
|
551
|
+
selector: 'ds-skeleton',
|
|
552
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
553
|
+
template: '<ng-content></ng-content>',
|
|
554
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
555
|
+
inputs: ['height', 'lines', 'shimmer', 'variant', 'width'],
|
|
556
|
+
standalone: false
|
|
557
|
+
})
|
|
558
|
+
export class DsSkeleton {
|
|
559
|
+
protected el: HTMLDsSkeletonElement;
|
|
560
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
561
|
+
c.detach();
|
|
562
|
+
this.el = r.nativeElement;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
export declare interface DsSkeleton extends Components.DsSkeleton {}
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
@ProxyCmp({
|
|
571
|
+
inputs: ['inactive', 'inputId', 'label', 'max', 'min', 'step', 'value', 'valueText']
|
|
572
|
+
})
|
|
573
|
+
@Component({
|
|
574
|
+
selector: 'ds-slider',
|
|
575
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
576
|
+
template: '<ng-content></ng-content>',
|
|
577
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
578
|
+
inputs: ['inactive', 'inputId', { name: 'label', required: true }, 'max', 'min', 'step', 'value', 'valueText'],
|
|
579
|
+
outputs: ['dsChange'],
|
|
580
|
+
standalone: false
|
|
581
|
+
})
|
|
582
|
+
export class DsSlider {
|
|
583
|
+
protected el: HTMLDsSliderElement;
|
|
584
|
+
@Output() dsChange = new EventEmitter<CustomEvent<number>>();
|
|
585
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
586
|
+
c.detach();
|
|
587
|
+
this.el = r.nativeElement;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
export declare interface DsSlider extends Components.DsSlider {
|
|
593
|
+
|
|
594
|
+
dsChange: EventEmitter<CustomEvent<number>>;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
@ProxyCmp({
|
|
599
|
+
inputs: ['as', 'background', 'contrast', 'edge', 'elevation', 'inactive', 'intent', 'interactive', 'radius', 'selected']
|
|
600
|
+
})
|
|
601
|
+
@Component({
|
|
602
|
+
selector: 'ds-surface',
|
|
603
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
604
|
+
template: '<ng-content></ng-content>',
|
|
605
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
606
|
+
inputs: ['as', 'background', 'contrast', 'edge', 'elevation', 'inactive', 'intent', 'interactive', 'radius', 'selected'],
|
|
607
|
+
standalone: false
|
|
608
|
+
})
|
|
609
|
+
export class DsSurface {
|
|
610
|
+
protected el: HTMLDsSurfaceElement;
|
|
611
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
612
|
+
c.detach();
|
|
613
|
+
this.el = r.nativeElement;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
export declare interface DsSurface extends Components.DsSurface {}
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
@ProxyCmp({
|
|
622
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'tabs', 'value']
|
|
623
|
+
})
|
|
624
|
+
@Component({
|
|
625
|
+
selector: 'ds-tab-group',
|
|
626
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
627
|
+
template: '<ng-content></ng-content>',
|
|
628
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
629
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'tabs', 'value'],
|
|
630
|
+
outputs: ['dsChange'],
|
|
631
|
+
standalone: false
|
|
632
|
+
})
|
|
633
|
+
export class DsTabGroup {
|
|
634
|
+
protected el: HTMLDsTabGroupElement;
|
|
635
|
+
@Output() dsChange = new EventEmitter<CustomEvent<string>>();
|
|
636
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
637
|
+
c.detach();
|
|
638
|
+
this.el = r.nativeElement;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
export declare interface DsTabGroup extends Components.DsTabGroup {
|
|
644
|
+
|
|
645
|
+
dsChange: EventEmitter<CustomEvent<string>>;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
@ProxyCmp({
|
|
650
|
+
inputs: ['columns', 'data', 'emptyMessage', 'loading', 'pageIndex', 'pageSize', 'selectedRows', 'sortState']
|
|
651
|
+
})
|
|
652
|
+
@Component({
|
|
653
|
+
selector: 'ds-table',
|
|
654
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
655
|
+
template: '<ng-content></ng-content>',
|
|
656
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
657
|
+
inputs: ['columns', 'data', 'emptyMessage', 'loading', 'pageIndex', 'pageSize', 'selectedRows', 'sortState'],
|
|
658
|
+
outputs: ['dsSort', 'dsRowClick', 'dsPageChange'],
|
|
659
|
+
standalone: false
|
|
660
|
+
})
|
|
661
|
+
export class DsTable {
|
|
662
|
+
protected el: HTMLDsTableElement;
|
|
663
|
+
@Output() dsSort = new EventEmitter<CustomEvent<{ columnId: string }>>();
|
|
664
|
+
@Output() dsRowClick = new EventEmitter<CustomEvent<{ row: unknown; rowIndex: number }>>();
|
|
665
|
+
@Output() dsPageChange = new EventEmitter<CustomEvent<{ pageIndex: number }>>();
|
|
666
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
667
|
+
c.detach();
|
|
668
|
+
this.el = r.nativeElement;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
export declare interface DsTable extends Components.DsTable {
|
|
674
|
+
|
|
675
|
+
dsSort: EventEmitter<CustomEvent<{ columnId: string }>>;
|
|
676
|
+
|
|
677
|
+
dsRowClick: EventEmitter<CustomEvent<{ row: unknown; rowIndex: number }>>;
|
|
678
|
+
|
|
679
|
+
dsPageChange: EventEmitter<CustomEvent<{ pageIndex: number }>>;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
@ProxyCmp({
|
|
684
|
+
inputs: ['background', 'contrast', 'elevation', 'inactive', 'intent', 'interactive', 'label', 'maxWidth', 'pressed', 'removable', 'rounded', 'size']
|
|
685
|
+
})
|
|
686
|
+
@Component({
|
|
687
|
+
selector: 'ds-tag',
|
|
688
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
689
|
+
template: '<ng-content></ng-content>',
|
|
690
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
691
|
+
inputs: ['background', 'contrast', 'elevation', 'inactive', 'intent', 'interactive', { name: 'label', required: true }, 'maxWidth', 'pressed', 'removable', 'rounded', 'size'],
|
|
692
|
+
outputs: ['dsRemove', 'dsClick', 'dsPressedChange'],
|
|
693
|
+
standalone: false
|
|
694
|
+
})
|
|
695
|
+
export class DsTag {
|
|
696
|
+
protected el: HTMLDsTagElement;
|
|
697
|
+
@Output() dsRemove = new EventEmitter<CustomEvent<void>>();
|
|
698
|
+
@Output() dsClick = new EventEmitter<CustomEvent<void>>();
|
|
699
|
+
@Output() dsPressedChange = new EventEmitter<CustomEvent<boolean>>();
|
|
700
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
701
|
+
c.detach();
|
|
702
|
+
this.el = r.nativeElement;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
export declare interface DsTag extends Components.DsTag {
|
|
708
|
+
/**
|
|
709
|
+
* Fired when the remove button is clicked.
|
|
710
|
+
*/
|
|
711
|
+
dsRemove: EventEmitter<CustomEvent<void>>;
|
|
712
|
+
/**
|
|
713
|
+
* Fired when an interactive tag is clicked.
|
|
714
|
+
*/
|
|
715
|
+
dsClick: EventEmitter<CustomEvent<void>>;
|
|
716
|
+
/**
|
|
717
|
+
* Fired when the pressed state toggles.
|
|
718
|
+
*/
|
|
719
|
+
dsPressedChange: EventEmitter<CustomEvent<boolean>>;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
@ProxyCmp({
|
|
724
|
+
inputs: ['align', 'as', 'color', 'decoration', 'for', 'italic', 'lineTruncation', 'variant', 'wrap']
|
|
725
|
+
})
|
|
726
|
+
@Component({
|
|
727
|
+
selector: 'ds-text',
|
|
728
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
729
|
+
template: '<ng-content></ng-content>',
|
|
730
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
731
|
+
inputs: ['align', 'as', 'color', 'decoration', 'for', 'italic', 'lineTruncation', 'variant', 'wrap'],
|
|
732
|
+
standalone: false
|
|
733
|
+
})
|
|
734
|
+
export class DsText {
|
|
735
|
+
protected el: HTMLDsTextElement;
|
|
736
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
737
|
+
c.detach();
|
|
738
|
+
this.el = r.nativeElement;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
export declare interface DsText extends Components.DsText {}
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
@ProxyCmp({
|
|
747
|
+
inputs: ['position']
|
|
748
|
+
})
|
|
749
|
+
@Component({
|
|
750
|
+
selector: 'ds-toast-provider',
|
|
751
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
752
|
+
template: '<ng-content></ng-content>',
|
|
753
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
754
|
+
inputs: ['position'],
|
|
755
|
+
standalone: false
|
|
756
|
+
})
|
|
757
|
+
export class DsToastProvider {
|
|
758
|
+
protected el: HTMLDsToastProviderElement;
|
|
759
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
760
|
+
c.detach();
|
|
761
|
+
this.el = r.nativeElement;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
export declare interface DsToastProvider extends Components.DsToastProvider {}
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
@ProxyCmp({
|
|
770
|
+
inputs: ['checked', 'inactive']
|
|
771
|
+
})
|
|
772
|
+
@Component({
|
|
773
|
+
selector: 'ds-toggle',
|
|
774
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
775
|
+
template: '<ng-content></ng-content>',
|
|
776
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
777
|
+
inputs: ['checked', 'inactive'],
|
|
778
|
+
outputs: ['dsChange'],
|
|
779
|
+
standalone: false
|
|
780
|
+
})
|
|
781
|
+
export class DsToggle {
|
|
782
|
+
protected el: HTMLDsToggleElement;
|
|
783
|
+
@Output() dsChange = new EventEmitter<CustomEvent<boolean>>();
|
|
784
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
785
|
+
c.detach();
|
|
786
|
+
this.el = r.nativeElement;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
export declare interface DsToggle extends Components.DsToggle {
|
|
792
|
+
|
|
793
|
+
dsChange: EventEmitter<CustomEvent<boolean>>;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
@ProxyCmp({
|
|
798
|
+
inputs: ['align', 'alignOffset', 'delay', 'label', 'shortcutKey', 'shortcutKeyPosition', 'side', 'sideOffset']
|
|
799
|
+
})
|
|
800
|
+
@Component({
|
|
801
|
+
selector: 'ds-tooltip',
|
|
802
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
803
|
+
template: '<ng-content></ng-content>',
|
|
804
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
805
|
+
inputs: ['align', 'alignOffset', 'delay', { name: 'label', required: true }, 'shortcutKey', 'shortcutKeyPosition', 'side', 'sideOffset'],
|
|
806
|
+
standalone: false
|
|
807
|
+
})
|
|
808
|
+
export class DsTooltip {
|
|
809
|
+
protected el: HTMLDsTooltipElement;
|
|
810
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
811
|
+
c.detach();
|
|
812
|
+
this.el = r.nativeElement;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
export declare interface DsTooltip extends Components.DsTooltip {}
|
|
818
|
+
|
|
819
|
+
|