@db-ux/ngx-core-components 3.0.2-copilot2-e7bf98b → 3.0.2-shell2-badc28f
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 +0 -11
- package/components/accordion/accordion.d.ts +30 -0
- package/components/accordion/index.d.ts +1 -0
- package/components/accordion/model.d.ts +41 -0
- package/components/accordion-item/accordion-item.d.ts +33 -0
- package/components/accordion-item/index.d.ts +1 -0
- package/components/accordion-item/model.d.ts +24 -0
- package/components/badge/badge.d.ts +27 -0
- package/components/badge/index.d.ts +1 -0
- package/components/badge/model.d.ts +16 -0
- package/components/button/button.d.ts +39 -0
- package/components/button/index.d.ts +1 -0
- package/components/button/model.d.ts +40 -0
- package/components/card/card.d.ts +25 -0
- package/components/card/index.d.ts +1 -0
- package/components/card/model.d.ts +18 -0
- package/components/checkbox/checkbox.d.ts +64 -0
- package/components/checkbox/index.d.ts +1 -0
- package/components/checkbox/model.d.ts +10 -0
- package/components/control-panel-brand/control-panel-brand.d.ts +24 -0
- package/components/control-panel-brand/index.d.ts +1 -0
- package/components/control-panel-brand/model.d.ts +5 -0
- package/components/control-panel-desktop/control-panel-desktop.d.ts +32 -0
- package/components/control-panel-desktop/index.d.ts +1 -0
- package/components/control-panel-desktop/model.d.ts +7 -0
- package/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.d.ts +22 -0
- package/components/control-panel-flat-icon-navigation/index.d.ts +1 -0
- package/components/control-panel-flat-icon-navigation/model.d.ts +7 -0
- package/components/control-panel-meta-navigation/control-panel-meta-navigation.d.ts +19 -0
- package/components/control-panel-meta-navigation/index.d.ts +1 -0
- package/components/control-panel-meta-navigation/model.d.ts +5 -0
- package/components/control-panel-mobile/control-panel-mobile.d.ts +29 -0
- package/components/control-panel-mobile/index.d.ts +1 -0
- package/components/control-panel-mobile/model.d.ts +30 -0
- package/components/control-panel-primary-actions/control-panel-primary-actions.d.ts +19 -0
- package/components/control-panel-primary-actions/index.d.ts +1 -0
- package/components/control-panel-primary-actions/model.d.ts +5 -0
- package/components/control-panel-secondary-actions/control-panel-secondary-actions.d.ts +19 -0
- package/components/control-panel-secondary-actions/index.d.ts +1 -0
- package/components/control-panel-secondary-actions/model.d.ts +5 -0
- package/components/custom-select/custom-select.d.ts +150 -0
- package/components/custom-select/index.d.ts +1 -0
- package/components/custom-select/model.d.ts +223 -0
- package/components/custom-select-dropdown/custom-select-dropdown.d.ts +20 -0
- package/components/custom-select-dropdown/index.d.ts +1 -0
- package/components/custom-select-dropdown/model.d.ts +15 -0
- package/components/custom-select-form-field/custom-select-form-field.d.ts +19 -0
- package/components/custom-select-form-field/index.d.ts +1 -0
- package/components/custom-select-form-field/model.d.ts +5 -0
- package/components/custom-select-list/custom-select-list.d.ts +21 -0
- package/components/custom-select-list/index.d.ts +1 -0
- package/components/custom-select-list/model.d.ts +8 -0
- package/components/custom-select-list-item/custom-select-list-item.d.ts +45 -0
- package/components/custom-select-list-item/index.d.ts +1 -0
- package/components/custom-select-list-item/model.d.ts +29 -0
- package/components/divider/divider.d.ts +23 -0
- package/components/divider/index.d.ts +1 -0
- package/components/divider/model.d.ts +18 -0
- package/components/drawer/drawer.d.ts +38 -0
- package/components/drawer/index.d.ts +1 -0
- package/components/drawer/model.d.ts +54 -0
- package/components/icon/icon.d.ts +23 -0
- package/components/icon/index.d.ts +1 -0
- package/components/icon/model.d.ts +10 -0
- package/components/infotext/index.d.ts +1 -0
- package/components/infotext/infotext.d.ts +25 -0
- package/components/infotext/model.d.ts +5 -0
- package/components/input/index.d.ts +1 -0
- package/components/input/input.d.ts +98 -0
- package/components/input/model.d.ts +43 -0
- package/components/link/index.d.ts +1 -0
- package/components/link/link.d.ts +32 -0
- package/components/link/model.d.ts +24 -0
- package/components/navigation/index.d.ts +1 -0
- package/components/navigation/model.d.ts +14 -0
- package/components/navigation/navigation.d.ts +35 -0
- package/components/navigation-item/index.d.ts +1 -0
- package/components/navigation-item/model.d.ts +19 -0
- package/components/navigation-item/navigation-item.d.ts +26 -0
- package/components/navigation-item-group/index.d.ts +1 -0
- package/components/navigation-item-group/model.d.ts +26 -0
- package/components/navigation-item-group/navigation-item-group.d.ts +49 -0
- package/components/notification/index.d.ts +1 -0
- package/components/notification/model.d.ts +57 -0
- package/components/notification/notification.d.ts +40 -0
- package/components/popover/index.d.ts +1 -0
- package/components/popover/model.d.ts +17 -0
- package/components/popover/popover.d.ts +37 -0
- package/components/radio/index.d.ts +1 -0
- package/components/radio/model.d.ts +5 -0
- package/components/radio/radio.d.ts +47 -0
- package/components/section/index.d.ts +1 -0
- package/components/section/model.d.ts +5 -0
- package/components/section/section.d.ts +22 -0
- package/components/select/index.d.ts +1 -0
- package/components/select/model.d.ts +44 -0
- package/components/select/select.d.ts +83 -0
- package/components/shell/index.d.ts +1 -0
- package/components/shell/model.d.ts +50 -0
- package/components/shell/shell.d.ts +28 -0
- package/components/shell-sub-navigation/index.d.ts +1 -0
- package/components/shell-sub-navigation/model.d.ts +5 -0
- package/components/shell-sub-navigation/shell-sub-navigation.d.ts +27 -0
- package/components/stack/index.d.ts +1 -0
- package/components/stack/model.d.ts +34 -0
- package/components/stack/stack.d.ts +26 -0
- package/components/switch/index.d.ts +1 -0
- package/components/switch/model.d.ts +10 -0
- package/components/switch/switch.d.ts +52 -0
- package/components/tab-item/index.d.ts +1 -0
- package/components/tab-item/model.d.ts +24 -0
- package/components/tab-item/tab-item.d.ts +46 -0
- package/components/tab-list/index.d.ts +1 -0
- package/components/tab-list/model.d.ts +5 -0
- package/components/tab-list/tab-list.d.ts +20 -0
- package/components/tab-panel/index.d.ts +1 -0
- package/components/tab-panel/model.d.ts +10 -0
- package/components/tab-panel/tab-panel.d.ts +20 -0
- package/components/tabs/index.d.ts +1 -0
- package/components/tabs/model.d.ts +58 -0
- package/components/tabs/tabs.d.ts +45 -0
- package/components/tag/index.d.ts +1 -0
- package/components/tag/model.d.ts +47 -0
- package/components/tag/tag.d.ts +34 -0
- package/components/textarea/index.d.ts +1 -0
- package/components/textarea/model.d.ts +34 -0
- package/components/textarea/textarea.d.ts +84 -0
- package/components/tooltip/index.d.ts +1 -0
- package/components/tooltip/model.d.ts +20 -0
- package/components/tooltip/tooltip.d.ts +39 -0
- package/fesm2022/db-ux-ngx-core-components.mjs +8583 -0
- package/fesm2022/db-ux-ngx-core-components.mjs.map +1 -0
- package/index.d.ts +92 -0
- package/package.json +3 -7
- package/shared/constants.d.ts +91 -0
- package/shared/model.d.ts +601 -0
- package/utils/document-click-listener.d.ts +8 -0
- package/utils/document-scroll-listener.d.ts +9 -0
- package/utils/floating-components.d.ts +36 -0
- package/utils/form-components.d.ts +2 -0
- package/utils/index.d.ts +40 -0
- package/utils/navigation.d.ts +28 -0
- package/agent/Accordion.md +0 -52
- package/agent/AccordionItem.md +0 -45
- package/agent/Badge.md +0 -48
- package/agent/Brand.md +0 -29
- package/agent/Button.md +0 -59
- package/agent/Card.md +0 -39
- package/agent/Checkbox.md +0 -52
- package/agent/CustomSelect.md +0 -89
- package/agent/Divider.md +0 -37
- package/agent/Drawer.md +0 -90
- package/agent/Header.md +0 -45
- package/agent/Icon.md +0 -36
- package/agent/Infotext.md +0 -41
- package/agent/Input.md +0 -58
- package/agent/Link.md +0 -60
- package/agent/Navigation.md +0 -34
- package/agent/NavigationItem.md +0 -45
- package/agent/Notification.md +0 -52
- package/agent/Page.md +0 -45
- package/agent/Popover.md +0 -69
- package/agent/Radio.md +0 -39
- package/agent/Section.md +0 -39
- package/agent/Select.md +0 -80
- package/agent/Stack.md +0 -51
- package/agent/Switch.md +0 -55
- package/agent/TabItem.md +0 -41
- package/agent/Tabs.md +0 -80
- package/agent/Tag.md +0 -48
- package/agent/Textarea.md +0 -57
- package/agent/Tooltip.md +0 -64
- package/agent/_instructions.md +0 -31
package/README.md
CHANGED
|
@@ -113,17 +113,6 @@ There are 3 ways to use Events in Angular:
|
|
|
113
113
|
></db-input>
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
## Documentation for AI Agents
|
|
117
|
-
|
|
118
|
-
We provide a documentation for every component in the DB UX Design System via `docs` folder.
|
|
119
|
-
To consume those documentation for AI Agents the best way is to copy the `docs` folder into your project.
|
|
120
|
-
|
|
121
|
-
We provide a CLI tool to do this automatically, which you can run with:
|
|
122
|
-
|
|
123
|
-
```shell
|
|
124
|
-
npx @db-ux/agent-cli
|
|
125
|
-
```
|
|
126
|
-
|
|
127
116
|
## Deutsche Bahn brand
|
|
128
117
|
|
|
129
118
|
As we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound of clear guidelines and restrictions even if being used with the code that we're providing with this product; Deutsche Bahn fully reserves all rights regarding the Deutsche Bahn brand, even though that we're providing the code of DB UX Design System products free to use and release it under the Apache 2.0 license.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { DBAccordionProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBAccordion implements AfterViewInit {
|
|
5
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
6
|
+
id: InputSignal<DBAccordionProps["id"]>;
|
|
7
|
+
name: InputSignal<DBAccordionProps["name"]>;
|
|
8
|
+
behavior: InputSignal<DBAccordionProps["behavior"]>;
|
|
9
|
+
initOpenIndex: InputSignal<DBAccordionProps["initOpenIndex"]>;
|
|
10
|
+
items: InputSignal<DBAccordionProps["items"]>;
|
|
11
|
+
className: InputSignal<DBAccordionProps["className"]>;
|
|
12
|
+
variant: InputSignal<DBAccordionProps["variant"]>;
|
|
13
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
_id: import("@angular/core").WritableSignal<string | undefined>;
|
|
15
|
+
_name: import("@angular/core").WritableSignal<string | undefined>;
|
|
16
|
+
initialized: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
_initOpenIndexDone: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
convertItems(): any;
|
|
19
|
+
trackByItem0(index: number, item: any): string;
|
|
20
|
+
constructor();
|
|
21
|
+
/**
|
|
22
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
23
|
+
* @param element the ref for the component
|
|
24
|
+
* @param customElementSelector the custom element like `my-component`
|
|
25
|
+
*/
|
|
26
|
+
private enableAttributePassing;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBAccordion, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBAccordion, "db-accordion", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "behavior": { "alias": "behavior"; "required": false; "isSignal": true; }; "initOpenIndex": { "alias": "initOpenIndex"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBAccordion } from './accordion';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { GlobalProps, GlobalState, InitializedState } from '../../shared/model';
|
|
2
|
+
import { DBAccordionItemDefaultProps } from '../accordion-item/model';
|
|
3
|
+
export declare const AccordionVariantList: readonly ["divider", "card"];
|
|
4
|
+
export type AccordionVariantType = (typeof AccordionVariantList)[number];
|
|
5
|
+
export declare const AccordionBehaviorList: readonly ["multiple", "single"];
|
|
6
|
+
export type AccordionBehaviorType = (typeof AccordionBehaviorList)[number];
|
|
7
|
+
export type DBAccordionDefaultProps = {
|
|
8
|
+
/**
|
|
9
|
+
* To allow multiple items open at the same time or only 1 item
|
|
10
|
+
*/
|
|
11
|
+
behavior?: AccordionBehaviorType;
|
|
12
|
+
/**
|
|
13
|
+
* The index of items which should be open when loading the accordion
|
|
14
|
+
*/
|
|
15
|
+
initOpenIndex?: number[];
|
|
16
|
+
/**
|
|
17
|
+
* Alternative to pass in a simple representation of accordion items
|
|
18
|
+
*/
|
|
19
|
+
items?: DBAccordionItemDefaultProps[] | string;
|
|
20
|
+
/**
|
|
21
|
+
* Set details name for exclusive accordions, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#name
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Informs about the changes in the internal state, which item is open
|
|
26
|
+
*/
|
|
27
|
+
onChange?: (openAccordionItemIds: string[]) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Defines the display of the accordion and the items:
|
|
30
|
+
* "divider": with a dividing line between the items
|
|
31
|
+
* "card": w/o dividing line, but items are shown in the card variant
|
|
32
|
+
*/
|
|
33
|
+
variant?: AccordionVariantType;
|
|
34
|
+
};
|
|
35
|
+
export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps;
|
|
36
|
+
export type DBAccordionDefaultState = {
|
|
37
|
+
_initOpenIndexDone: boolean;
|
|
38
|
+
_name?: string;
|
|
39
|
+
convertItems: () => DBAccordionItemDefaultProps[];
|
|
40
|
+
};
|
|
41
|
+
export type DBAccordionState = DBAccordionDefaultState & GlobalState & InitializedState;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { ClickEvent } from "../../shared/model";
|
|
3
|
+
import { DBAccordionItemProps } from "./model";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DBAccordionItem implements AfterViewInit {
|
|
6
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
7
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
8
|
+
id: InputSignal<DBAccordionItemProps["id"]>;
|
|
9
|
+
defaultOpen: InputSignal<DBAccordionItemProps["defaultOpen"]>;
|
|
10
|
+
name: InputSignal<DBAccordionItemProps["name"]>;
|
|
11
|
+
className: InputSignal<DBAccordionItemProps["className"]>;
|
|
12
|
+
disabled: InputSignal<DBAccordionItemProps["disabled"]>;
|
|
13
|
+
headlinePlain: InputSignal<DBAccordionItemProps["headlinePlain"]>;
|
|
14
|
+
text: InputSignal<DBAccordionItemProps["text"]>;
|
|
15
|
+
toggle: import("@angular/core").OutputEmitterRef<boolean | void>;
|
|
16
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
17
|
+
_id: import("@angular/core").WritableSignal<string | undefined>;
|
|
18
|
+
_open: import("@angular/core").WritableSignal<boolean | undefined>;
|
|
19
|
+
_name: import("@angular/core").WritableSignal<string | undefined>;
|
|
20
|
+
initialized: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
handleNameAttribute(): void;
|
|
22
|
+
handleToggle(event: ClickEvent<HTMLElement> | any): void;
|
|
23
|
+
constructor();
|
|
24
|
+
/**
|
|
25
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
26
|
+
* @param element the ref for the component
|
|
27
|
+
* @param customElementSelector the custom element like `my-component`
|
|
28
|
+
*/
|
|
29
|
+
private enableAttributePassing;
|
|
30
|
+
ngAfterViewInit(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBAccordionItem, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBAccordionItem, "db-accordion-item", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "headlinePlain": { "alias": "headlinePlain"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "toggle": "toggle"; }, never, ["[headline]", "*"], true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBAccordionItem } from './accordion-item';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GlobalProps, GlobalState, InitializedState, NameProps, NameState, TextProps, ToggleEventProps, ToggleEventState } from '../../shared/model';
|
|
2
|
+
export type DBAccordionItemDefaultProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Initial state for the accordion item
|
|
5
|
+
*/
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* The disabled attribute can be set to keep a user from clicking on the element.
|
|
9
|
+
*/
|
|
10
|
+
disabled?: boolean | string;
|
|
11
|
+
/**
|
|
12
|
+
* Title of the accordion-item as slot
|
|
13
|
+
*/
|
|
14
|
+
headline?: any;
|
|
15
|
+
/**
|
|
16
|
+
* Title of the accordion-item as plain text
|
|
17
|
+
*/
|
|
18
|
+
headlinePlain?: string;
|
|
19
|
+
} & TextProps;
|
|
20
|
+
export type DBAccordionItemProps = DBAccordionItemDefaultProps & GlobalProps & ToggleEventProps & NameProps;
|
|
21
|
+
export type DBAccordionItemDefaultState = {
|
|
22
|
+
_open?: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type DBAccordionItemState = DBAccordionItemDefaultState & GlobalState & ToggleEventState<HTMLElement> & InitializedState & NameState;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { DBBadgeProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBBadge implements AfterViewInit {
|
|
5
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
6
|
+
protected readonly DEFAULT_LABEL: string;
|
|
7
|
+
placement: InputSignal<DBBadgeProps["placement"]>;
|
|
8
|
+
id: InputSignal<DBBadgeProps["id"]>;
|
|
9
|
+
className: InputSignal<DBBadgeProps["className"]>;
|
|
10
|
+
semantic: InputSignal<DBBadgeProps["semantic"]>;
|
|
11
|
+
size: InputSignal<DBBadgeProps["size"]>;
|
|
12
|
+
emphasis: InputSignal<DBBadgeProps["emphasis"]>;
|
|
13
|
+
label: InputSignal<DBBadgeProps["label"]>;
|
|
14
|
+
text: InputSignal<DBBadgeProps["text"]>;
|
|
15
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
16
|
+
initialized: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
20
|
+
* @param element the ref for the component
|
|
21
|
+
* @param customElementSelector the custom element like `my-component`
|
|
22
|
+
*/
|
|
23
|
+
private enableAttributePassing;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBBadge, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBBadge, "db-badge", never, { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "semantic": { "alias": "semantic"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "emphasis": { "alias": "emphasis"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBBadge } from './badge';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EmphasisProps, GlobalProps, GlobalState, InitializedState, SemanticProps, SizeProps, TextProps } from '../../shared/model';
|
|
2
|
+
export declare const BadgePlacementList: readonly ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"];
|
|
3
|
+
export type BadgePlacementType = (typeof BadgePlacementList)[number];
|
|
4
|
+
export type DBBadgeDefaultProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The `placement` attributes `corner-*` values change the position to absolute and adds a transform based on the placement.
|
|
7
|
+
*/
|
|
8
|
+
placement?: BadgePlacementType;
|
|
9
|
+
/**
|
|
10
|
+
* Describes the badge for a11y if you use placement attribute with `corner-*`
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
};
|
|
14
|
+
export type DBBadgeProps = DBBadgeDefaultProps & GlobalProps & SemanticProps & SizeProps & EmphasisProps & TextProps;
|
|
15
|
+
export type DBBadgeDefaultState = {};
|
|
16
|
+
export type DBBadgeState = DBBadgeDefaultState & GlobalState & InitializedState;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import type { DBButtonProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBButton implements AfterViewInit {
|
|
5
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
6
|
+
protected readonly getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
|
|
7
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
8
|
+
type: InputSignal<DBButtonProps["type"]>;
|
|
9
|
+
id: InputSignal<DBButtonProps["id"]>;
|
|
10
|
+
className: InputSignal<DBButtonProps["className"]>;
|
|
11
|
+
disabled: InputSignal<DBButtonProps["disabled"]>;
|
|
12
|
+
iconLeading: InputSignal<DBButtonProps["iconLeading"]>;
|
|
13
|
+
icon: InputSignal<DBButtonProps["icon"]>;
|
|
14
|
+
showIconLeading: InputSignal<DBButtonProps["showIconLeading"]>;
|
|
15
|
+
showIcon: InputSignal<DBButtonProps["showIcon"]>;
|
|
16
|
+
iconTrailing: InputSignal<DBButtonProps["iconTrailing"]>;
|
|
17
|
+
showIconTrailing: InputSignal<DBButtonProps["showIconTrailing"]>;
|
|
18
|
+
size: InputSignal<DBButtonProps["size"]>;
|
|
19
|
+
width: InputSignal<DBButtonProps["width"]>;
|
|
20
|
+
variant: InputSignal<DBButtonProps["variant"]>;
|
|
21
|
+
noText: InputSignal<DBButtonProps["noText"]>;
|
|
22
|
+
name: InputSignal<DBButtonProps["name"]>;
|
|
23
|
+
form: InputSignal<DBButtonProps["form"]>;
|
|
24
|
+
value: InputSignal<DBButtonProps["value"]>;
|
|
25
|
+
text: InputSignal<DBButtonProps["text"]>;
|
|
26
|
+
click: import("@angular/core").OutputEmitterRef<void | MouseEvent>;
|
|
27
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
28
|
+
getButtonType(): "button" | "reset" | "submit" | undefined;
|
|
29
|
+
constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
32
|
+
* @param element the ref for the component
|
|
33
|
+
* @param customElementSelector the custom element like `my-component`
|
|
34
|
+
*/
|
|
35
|
+
private enableAttributePassing;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBButton, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBButton, "db-button", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "iconLeading": { "alias": "iconLeading"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIconLeading": { "alias": "showIconLeading"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "iconTrailing": { "alias": "iconTrailing"; "required": false; "isSignal": true; }; "showIconTrailing": { "alias": "showIconTrailing"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "noText": { "alias": "noText"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, ["*"], true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBButton } from './button';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ClickEventProps, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, ShowIconLeadingProps, ShowIconProps, ShowIconTrailingProps, SizeProps, TextProps, WidthProps } from '../../shared/model';
|
|
2
|
+
export declare const ButtonVariantList: readonly ["outlined", "brand", "filled", "ghost"];
|
|
3
|
+
export type ButtonVariantType = (typeof ButtonVariantList)[number];
|
|
4
|
+
export declare const ButtonTypeList: readonly ["button", "reset", "submit"];
|
|
5
|
+
export type ButtonTypeType = (typeof ButtonTypeList)[number];
|
|
6
|
+
export type DBButtonDefaultProps = {
|
|
7
|
+
/**
|
|
8
|
+
* The disabled attribute can be set to [keep a user from clicking on the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled).
|
|
9
|
+
*/
|
|
10
|
+
disabled?: boolean | string;
|
|
11
|
+
/**
|
|
12
|
+
* Associates the control with a form element
|
|
13
|
+
*/
|
|
14
|
+
form?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The name attribute specifies a [name attributes value](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#name) for the button.
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Define the text next to the icon specified via the icon Property to get hidden.
|
|
21
|
+
*/
|
|
22
|
+
noText?: boolean | string;
|
|
23
|
+
/**
|
|
24
|
+
* The type attribute specifies the [type of button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type).
|
|
25
|
+
*/
|
|
26
|
+
type?: ButtonTypeType;
|
|
27
|
+
/**
|
|
28
|
+
* The value attribute specifies an initial [value for the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#value).
|
|
29
|
+
*/
|
|
30
|
+
value?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Variant of the button. Use only 1 primary button on a page as CTA otherwise use one of the adaptive buttons.
|
|
33
|
+
*/
|
|
34
|
+
variant?: ButtonVariantType | string;
|
|
35
|
+
};
|
|
36
|
+
export type DBButtonProps = DBButtonDefaultProps & GlobalProps & ClickEventProps<HTMLButtonElement> & IconProps & WidthProps & SizeProps & ShowIconProps & TextProps & ShowIconLeadingProps & ShowIconTrailingProps & IconLeadingProps & IconTrailingProps;
|
|
37
|
+
export type DBButtonDefaultState = {
|
|
38
|
+
getButtonType: () => ButtonTypeType;
|
|
39
|
+
};
|
|
40
|
+
export type DBButtonState = DBButtonDefaultState & GlobalState;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { ClickEvent } from "../../shared/model";
|
|
3
|
+
import type { DBCardProps } from "./model";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DBCard implements AfterViewInit {
|
|
6
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
7
|
+
id: InputSignal<DBCardProps["id"]>;
|
|
8
|
+
className: InputSignal<DBCardProps["className"]>;
|
|
9
|
+
behavior: InputSignal<DBCardProps["behavior"]>;
|
|
10
|
+
elevationLevel: InputSignal<DBCardProps["elevationLevel"]>;
|
|
11
|
+
spacing: InputSignal<DBCardProps["spacing"]>;
|
|
12
|
+
click: import("@angular/core").OutputEmitterRef<void | MouseEvent>;
|
|
13
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
handleClick(event: ClickEvent<HTMLElement>): void;
|
|
15
|
+
constructor();
|
|
16
|
+
/**
|
|
17
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
18
|
+
* @param element the ref for the component
|
|
19
|
+
* @param customElementSelector the custom element like `my-component`
|
|
20
|
+
*/
|
|
21
|
+
private enableAttributePassing;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBCard, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBCard, "db-card", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "behavior": { "alias": "behavior"; "required": false; "isSignal": true; }; "elevationLevel": { "alias": "elevationLevel"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, ["*"], true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBCard } from './card';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ClickEventProps, ClickEventState, GlobalProps, GlobalState, SpacingProps } from '../../shared/model';
|
|
2
|
+
export declare const CardBehaviorList: readonly ["static", "interactive"];
|
|
3
|
+
export type CardBehaviorType = (typeof CardBehaviorList)[number];
|
|
4
|
+
export declare const CardElevationLevelList: readonly ["1", "2", "3"];
|
|
5
|
+
export type CardElevationLevelType = (typeof CardElevationLevelList)[number];
|
|
6
|
+
export type DBCardDefaultProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Makes the card interactive
|
|
9
|
+
*/
|
|
10
|
+
behavior?: CardBehaviorType;
|
|
11
|
+
/**
|
|
12
|
+
* Changes the elevation of the card which is equal to `basic-background-level`
|
|
13
|
+
*/
|
|
14
|
+
elevationLevel?: CardElevationLevelType;
|
|
15
|
+
};
|
|
16
|
+
export type DBCardProps = DBCardDefaultProps & GlobalProps & ClickEventProps<HTMLElement> & SpacingProps;
|
|
17
|
+
export type DBCardDefaultState = {};
|
|
18
|
+
export type DBCardState = DBCardDefaultState & GlobalState & ClickEventState<HTMLElement>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal, ModelSignal, Renderer2 } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ChangeEvent, InteractionEvent } from "../../shared/model";
|
|
4
|
+
import { DBCheckboxProps } from "./model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DBCheckbox implements AfterViewInit, ControlValueAccessor {
|
|
7
|
+
private renderer;
|
|
8
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
9
|
+
protected readonly getHideProp: (show?: boolean | string) => any;
|
|
10
|
+
protected readonly getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
|
|
11
|
+
protected readonly stringPropVisible: (givenString?: string, showString?: boolean | string) => boolean;
|
|
12
|
+
protected readonly DEFAULT_VALID_MESSAGE: string;
|
|
13
|
+
id: InputSignal<DBCheckboxProps["id"]>;
|
|
14
|
+
invalidMessage: InputSignal<DBCheckboxProps["invalidMessage"]>;
|
|
15
|
+
message: InputSignal<DBCheckboxProps["message"]>;
|
|
16
|
+
showMessage: InputSignal<DBCheckboxProps["showMessage"]>;
|
|
17
|
+
indeterminate: InputSignal<DBCheckboxProps["indeterminate"]>;
|
|
18
|
+
checked: ModelSignal<DBCheckboxProps["checked"]>;
|
|
19
|
+
validMessage: InputSignal<DBCheckboxProps["validMessage"]>;
|
|
20
|
+
validation: InputSignal<DBCheckboxProps["validation"]>;
|
|
21
|
+
required: InputSignal<DBCheckboxProps["required"]>;
|
|
22
|
+
className: InputSignal<DBCheckboxProps["className"]>;
|
|
23
|
+
size: InputSignal<DBCheckboxProps["size"]>;
|
|
24
|
+
showRequiredAsterisk: InputSignal<DBCheckboxProps["showRequiredAsterisk"]>;
|
|
25
|
+
showLabel: InputSignal<DBCheckboxProps["showLabel"]>;
|
|
26
|
+
name: InputSignal<DBCheckboxProps["name"]>;
|
|
27
|
+
disabled: ModelSignal<DBCheckboxProps["disabled"]>;
|
|
28
|
+
value: InputSignal<DBCheckboxProps["value"]>;
|
|
29
|
+
ariaDescribedBy: InputSignal<DBCheckboxProps["ariaDescribedBy"]>;
|
|
30
|
+
label: InputSignal<DBCheckboxProps["label"]>;
|
|
31
|
+
messageIcon: InputSignal<DBCheckboxProps["messageIcon"]>;
|
|
32
|
+
change: import("@angular/core").OutputEmitterRef<void | Event>;
|
|
33
|
+
blur: import("@angular/core").OutputEmitterRef<void | FocusEvent>;
|
|
34
|
+
focus: import("@angular/core").OutputEmitterRef<void | FocusEvent>;
|
|
35
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
36
|
+
initialized: import("@angular/core").WritableSignal<boolean>;
|
|
37
|
+
_id: import("@angular/core").WritableSignal<string | undefined>;
|
|
38
|
+
_messageId: import("@angular/core").WritableSignal<string | undefined>;
|
|
39
|
+
_validMessageId: import("@angular/core").WritableSignal<string | undefined>;
|
|
40
|
+
_invalidMessageId: import("@angular/core").WritableSignal<string | undefined>;
|
|
41
|
+
_invalidMessage: import("@angular/core").WritableSignal<string | undefined>;
|
|
42
|
+
_descByIds: import("@angular/core").WritableSignal<string | undefined>;
|
|
43
|
+
_voiceOverFallback: import("@angular/core").WritableSignal<string | undefined>;
|
|
44
|
+
hasValidState(): boolean;
|
|
45
|
+
handleValidation(): void;
|
|
46
|
+
handleChange(event: ChangeEvent<HTMLInputElement>): void;
|
|
47
|
+
handleBlur(event: InteractionEvent<HTMLInputElement> | any): void;
|
|
48
|
+
handleFocus(event: InteractionEvent<HTMLInputElement> | any): void;
|
|
49
|
+
constructor(renderer: Renderer2);
|
|
50
|
+
/**
|
|
51
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
52
|
+
* @param element the ref for the component
|
|
53
|
+
* @param customElementSelector the custom element like `my-component`
|
|
54
|
+
*/
|
|
55
|
+
private enableAttributePassing;
|
|
56
|
+
writeValue(value: any): void;
|
|
57
|
+
propagateChange(_: any): void;
|
|
58
|
+
registerOnChange(onChange: any): void;
|
|
59
|
+
registerOnTouched(onTouched: any): void;
|
|
60
|
+
setDisabledState(disabled: boolean): void;
|
|
61
|
+
ngAfterViewInit(): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBCheckbox, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBCheckbox, "db-checkbox", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "showMessage": { "alias": "showMessage"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "validMessage": { "alias": "validMessage"; "required": false; "isSignal": true; }; "validation": { "alias": "validation"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showRequiredAsterisk": { "alias": "showRequiredAsterisk"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "disabled": "disabledChange"; "change": "change"; "blur": "blur"; "focus": "focus"; }, never, ["*"], true, never>;
|
|
64
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBCheckbox } from './checkbox';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, FromValidState, GlobalProps, GlobalState, InitializedState, SizeProps } from '../../shared/model';
|
|
2
|
+
export type DBCheckboxDefaultProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Define an [indeterminate](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement#indeterminate) state of a checkbox
|
|
5
|
+
*/
|
|
6
|
+
indeterminate?: boolean | string;
|
|
7
|
+
};
|
|
8
|
+
export type DBCheckboxProps = DBCheckboxDefaultProps & GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & FormMessageProps & SizeProps;
|
|
9
|
+
export type DBCheckboxDefaultState = {};
|
|
10
|
+
export type DBCheckboxState = DBCheckboxDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState & FromValidState;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { DBControlPanelBrandProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBControlPanelBrand implements AfterViewInit {
|
|
5
|
+
protected readonly DEFAULT_ICON: string;
|
|
6
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
7
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
8
|
+
icon: InputSignal<DBControlPanelBrandProps["icon"]>;
|
|
9
|
+
showIcon: InputSignal<DBControlPanelBrandProps["showIcon"]>;
|
|
10
|
+
id: InputSignal<DBControlPanelBrandProps["id"]>;
|
|
11
|
+
className: InputSignal<DBControlPanelBrandProps["className"]>;
|
|
12
|
+
text: InputSignal<DBControlPanelBrandProps["text"]>;
|
|
13
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
constructor();
|
|
15
|
+
/**
|
|
16
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
17
|
+
* @param element the ref for the component
|
|
18
|
+
* @param customElementSelector the custom element like `my-component`
|
|
19
|
+
*/
|
|
20
|
+
private enableAttributePassing;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBControlPanelBrand, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBControlPanelBrand, "db-control-panel-brand", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[additional-information]"], true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBControlPanelBrand } from './control-panel-brand';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AdditionalInformationSlotProps, GlobalProps, GlobalState, IconProps, ShowIconProps, TextProps } from '../../shared/model';
|
|
2
|
+
export type DBControlPanelBrandDefaultProps = {};
|
|
3
|
+
export type DBControlPanelBrandProps = DBControlPanelBrandDefaultProps & GlobalProps & IconProps & ShowIconProps & TextProps & AdditionalInformationSlotProps;
|
|
4
|
+
export type DBControlPanelBrandDefaultState = {};
|
|
5
|
+
export type DBControlPanelBrandState = DBControlPanelBrandDefaultState & GlobalState;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { DBControlPanelDesktopProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBControlPanelDesktop implements AfterViewInit {
|
|
5
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
6
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
7
|
+
expanded: InputSignal<DBControlPanelDesktopProps["expanded"]>;
|
|
8
|
+
expandButtonTooltip: InputSignal<DBControlPanelDesktopProps["expandButtonTooltip"]>;
|
|
9
|
+
className: InputSignal<DBControlPanelDesktopProps["className"]>;
|
|
10
|
+
id: InputSignal<DBControlPanelDesktopProps["id"]>;
|
|
11
|
+
width: InputSignal<DBControlPanelDesktopProps["width"]>;
|
|
12
|
+
orientation: InputSignal<DBControlPanelDesktopProps["orientation"]>;
|
|
13
|
+
expandButtonTooltipFn: import("@angular/core").OutputEmitterRef<boolean | void>;
|
|
14
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
15
|
+
_scrollContainerRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
16
|
+
_id: import("@angular/core").WritableSignal<string | undefined>;
|
|
17
|
+
_open: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
handleToggle(event: any): void;
|
|
19
|
+
getToggleButtonText(): string | void;
|
|
20
|
+
onScroll(): void;
|
|
21
|
+
constructor();
|
|
22
|
+
/**
|
|
23
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
24
|
+
* @param element the ref for the component
|
|
25
|
+
* @param customElementSelector the custom element like `my-component`
|
|
26
|
+
*/
|
|
27
|
+
private enableAttributePassing;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBControlPanelDesktop, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBControlPanelDesktop, "db-control-panel-desktop", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "expandButtonTooltip": { "alias": "expandButtonTooltip"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, { "expandButtonTooltipFn": "expandButtonTooltipFn"; }, never, ["[brand]", "*", "[meta-navigation]", "[primary-actions]", "[secondary-actions]"], true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBControlPanelDesktop } from './control-panel-desktop';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ContainerWidthProps, ControlPanelProps, GlobalProps, GlobalState, OrientationProps, SidebarProps, SidebarState, ToggleEventState } from '../../shared/model';
|
|
2
|
+
export type DBControlPanelDesktopDefaultProps = {};
|
|
3
|
+
export type DBControlPanelDesktopProps = DBControlPanelDesktopDefaultProps & GlobalProps & ContainerWidthProps & ControlPanelProps & OrientationProps & SidebarProps;
|
|
4
|
+
export type DBControlPanelDesktopDefaultState = {
|
|
5
|
+
onScroll: () => void;
|
|
6
|
+
};
|
|
7
|
+
export type DBControlPanelDesktopState = DBControlPanelDesktopDefaultState & GlobalState & ToggleEventState<HTMLButtonElement> & SidebarState;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { DBControlPanelFlatIconNavigationProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBControlPanelFlatIconNavigation implements AfterViewInit {
|
|
5
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
6
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
7
|
+
id: InputSignal<DBControlPanelFlatIconNavigationProps["id"]>;
|
|
8
|
+
noText: InputSignal<DBControlPanelFlatIconNavigationProps["noText"]>;
|
|
9
|
+
className: InputSignal<DBControlPanelFlatIconNavigationProps["className"]>;
|
|
10
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
11
|
+
initialized: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
constructor();
|
|
13
|
+
/**
|
|
14
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
15
|
+
* @param element the ref for the component
|
|
16
|
+
* @param customElementSelector the custom element like `my-component`
|
|
17
|
+
*/
|
|
18
|
+
private enableAttributePassing;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBControlPanelFlatIconNavigation, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBControlPanelFlatIconNavigation, "db-control-panel-flat-icon-navigation", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "noText": { "alias": "noText"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBControlPanelFlatIconNavigation } from "./control-panel-flat-icon-navigation";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GlobalProps, GlobalState, InitializedState } from '../../shared/model';
|
|
2
|
+
export type DBControlPanelFlatIconNavigationDefaultProps = {
|
|
3
|
+
noText?: string | boolean;
|
|
4
|
+
};
|
|
5
|
+
export type DBControlPanelFlatIconNavigationProps = DBControlPanelFlatIconNavigationDefaultProps & GlobalProps;
|
|
6
|
+
export type DBControlPanelFlatIconNavigationDefaultState = {};
|
|
7
|
+
export type DBControlPanelFlatIconNavigationState = DBControlPanelFlatIconNavigationDefaultState & GlobalState & InitializedState;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { DBControlPanelMetaNavigationProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBControlPanelMetaNavigation implements AfterViewInit {
|
|
5
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
6
|
+
id: InputSignal<DBControlPanelMetaNavigationProps["id"]>;
|
|
7
|
+
className: InputSignal<DBControlPanelMetaNavigationProps["className"]>;
|
|
8
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
9
|
+
constructor();
|
|
10
|
+
/**
|
|
11
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
12
|
+
* @param element the ref for the component
|
|
13
|
+
* @param customElementSelector the custom element like `my-component`
|
|
14
|
+
*/
|
|
15
|
+
private enableAttributePassing;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBControlPanelMetaNavigation, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBControlPanelMetaNavigation, "db-control-panel-meta-navigation", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DBControlPanelMetaNavigation } from './control-panel-meta-navigation';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GlobalProps, GlobalState } from '../../shared/model';
|
|
2
|
+
export type DBControlPanelMetaNavigationDefaultProps = {};
|
|
3
|
+
export type DBControlPanelMetaNavigationProps = DBControlPanelMetaNavigationDefaultProps & GlobalProps;
|
|
4
|
+
export type DBControlPanelMetaNavigationDefaultState = {};
|
|
5
|
+
export type DBControlPanelMetaNavigationState = DBControlPanelMetaNavigationDefaultState & GlobalState;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit, InputSignal } from "@angular/core";
|
|
2
|
+
import { DBControlPanelMobileProps } from "./model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DBControlPanelMobile implements AfterViewInit {
|
|
5
|
+
protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
|
|
6
|
+
protected readonly DEFAULT_BURGER_MENU: string;
|
|
7
|
+
id: InputSignal<DBControlPanelMobileProps["id"]>;
|
|
8
|
+
width: InputSignal<DBControlPanelMobileProps["width"]>;
|
|
9
|
+
position: InputSignal<DBControlPanelMobileProps["position"]>;
|
|
10
|
+
variant: InputSignal<DBControlPanelMobileProps["variant"]>;
|
|
11
|
+
className: InputSignal<DBControlPanelMobileProps["className"]>;
|
|
12
|
+
drawerHeadlinePlain: InputSignal<DBControlPanelMobileProps["drawerHeadlinePlain"]>;
|
|
13
|
+
burgerMenuLabel: InputSignal<DBControlPanelMobileProps["burgerMenuLabel"]>;
|
|
14
|
+
toggle: import("@angular/core").OutputEmitterRef<boolean | void>;
|
|
15
|
+
_ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
16
|
+
open: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
handleToggle(event: any): void;
|
|
18
|
+
handleNavigationItemClick(event: any): void;
|
|
19
|
+
constructor();
|
|
20
|
+
/**
|
|
21
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
22
|
+
* @param element the ref for the component
|
|
23
|
+
* @param customElementSelector the custom element like `my-component`
|
|
24
|
+
*/
|
|
25
|
+
private enableAttributePassing;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DBControlPanelMobile, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DBControlPanelMobile, "db-control-panel-mobile", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "drawerHeadlinePlain": { "alias": "drawerHeadlinePlain"; "required": false; "isSignal": true; }; "burgerMenuLabel": { "alias": "burgerMenuLabel"; "required": false; "isSignal": true; }; }, { "toggle": "toggle"; }, never, ["*", "[meta-navigation]", "[secondary-actions]", "[flat-icon-navigation]", "[brand]", "[primary-actions]"], true, never>;
|
|
29
|
+
}
|