@db-ux/ngx-core-components 2.0.0-0-6589a60 → 2.0.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.
Files changed (178) hide show
  1. package/components/accordion/accordion.d.ts +20 -20
  2. package/components/accordion/model.d.ts +2 -2
  3. package/components/accordion-item/accordion-item.d.ts +21 -17
  4. package/components/accordion-item/model.d.ts +5 -5
  5. package/components/badge/badge.d.ts +16 -17
  6. package/components/badge/model.d.ts +2 -2
  7. package/components/brand/brand.d.ts +14 -14
  8. package/components/button/button.d.ts +30 -28
  9. package/components/button/model.d.ts +11 -7
  10. package/components/card/card.d.ts +13 -13
  11. package/components/checkbox/checkbox.d.ts +42 -44
  12. package/components/checkbox/model.d.ts +3 -3
  13. package/components/custom-select/custom-select.d.ts +135 -0
  14. package/components/custom-select/index.d.ts +1 -0
  15. package/components/custom-select/model.d.ts +193 -0
  16. package/components/custom-select-dropdown/custom-select-dropdown.d.ts +19 -0
  17. package/components/custom-select-dropdown/index.d.ts +1 -0
  18. package/components/custom-select-dropdown/model.d.ts +15 -0
  19. package/components/custom-select-form-field/custom-select-form-field.d.ts +18 -0
  20. package/components/custom-select-form-field/index.d.ts +1 -0
  21. package/components/custom-select-form-field/model.d.ts +5 -0
  22. package/components/custom-select-list/custom-select-list.d.ts +20 -0
  23. package/components/custom-select-list/index.d.ts +1 -0
  24. package/components/custom-select-list/model.d.ts +8 -0
  25. package/components/custom-select-list-item/custom-select-list-item.d.ts +46 -0
  26. package/components/custom-select-list-item/index.d.ts +1 -0
  27. package/components/custom-select-list-item/model.d.ts +29 -0
  28. package/components/divider/divider.d.ts +12 -12
  29. package/components/drawer/drawer.d.ts +23 -23
  30. package/components/drawer/model.d.ts +2 -2
  31. package/components/header/header.d.ts +20 -20
  32. package/components/header/model.d.ts +2 -2
  33. package/components/icon/icon.d.ts +12 -12
  34. package/components/infotext/infotext.d.ts +14 -14
  35. package/components/input/input.d.ts +70 -68
  36. package/components/input/model.d.ts +3 -3
  37. package/components/link/link.d.ts +26 -26
  38. package/components/navigation/navigation.d.ts +10 -10
  39. package/components/navigation-item/model.d.ts +2 -3
  40. package/components/navigation-item/navigation-item.d.ts +33 -33
  41. package/components/notification/model.d.ts +3 -3
  42. package/components/notification/notification.d.ts +28 -27
  43. package/components/page/model.d.ts +1 -1
  44. package/components/page/page.d.ts +14 -14
  45. package/components/popover/model.d.ts +1 -1
  46. package/components/popover/popover.d.ts +21 -22
  47. package/components/radio/radio.d.ts +27 -31
  48. package/components/section/section.d.ts +11 -11
  49. package/components/select/model.d.ts +5 -5
  50. package/components/select/select.d.ts +58 -58
  51. package/components/stack/model.d.ts +1 -1
  52. package/components/stack/stack.d.ts +15 -15
  53. package/components/switch/model.d.ts +2 -2
  54. package/components/switch/switch.d.ts +32 -36
  55. package/components/tab-item/model.d.ts +6 -6
  56. package/components/tab-item/tab-item.d.ts +26 -24
  57. package/components/tab-list/tab-list.d.ts +9 -9
  58. package/components/tab-panel/tab-panel.d.ts +10 -10
  59. package/components/tabs/model.d.ts +11 -3
  60. package/components/tabs/tabs.d.ts +34 -34
  61. package/components/tag/model.d.ts +11 -7
  62. package/components/tag/tag.d.ts +26 -26
  63. package/components/textarea/model.d.ts +4 -4
  64. package/components/textarea/textarea.d.ts +60 -59
  65. package/components/tooltip/model.d.ts +1 -1
  66. package/components/tooltip/tooltip.d.ts +19 -20
  67. package/fesm2022/db-ux-ngx-core-components.mjs +4429 -3371
  68. package/fesm2022/db-ux-ngx-core-components.mjs.map +1 -1
  69. package/index.d.ts +5 -0
  70. package/package.json +3 -5
  71. package/shared/constants.d.ts +5 -0
  72. package/shared/model.d.ts +83 -41
  73. package/utils/document-click-listener.d.ts +8 -0
  74. package/utils/index.d.ts +6 -27
  75. package/esm2022/components/accordion/accordion.mjs +0 -196
  76. package/esm2022/components/accordion/index.mjs +0 -2
  77. package/esm2022/components/accordion/model.mjs +0 -3
  78. package/esm2022/components/accordion-item/accordion-item.mjs +0 -136
  79. package/esm2022/components/accordion-item/index.mjs +0 -2
  80. package/esm2022/components/accordion-item/model.mjs +0 -2
  81. package/esm2022/components/badge/badge.mjs +0 -130
  82. package/esm2022/components/badge/index.mjs +0 -2
  83. package/esm2022/components/badge/model.mjs +0 -2
  84. package/esm2022/components/brand/brand.mjs +0 -99
  85. package/esm2022/components/brand/index.mjs +0 -2
  86. package/esm2022/components/brand/model.mjs +0 -2
  87. package/esm2022/components/button/button.mjs +0 -158
  88. package/esm2022/components/button/index.mjs +0 -2
  89. package/esm2022/components/button/model.mjs +0 -4
  90. package/esm2022/components/card/card.mjs +0 -107
  91. package/esm2022/components/card/index.mjs +0 -2
  92. package/esm2022/components/card/model.mjs +0 -3
  93. package/esm2022/components/checkbox/checkbox.mjs +0 -327
  94. package/esm2022/components/checkbox/index.mjs +0 -2
  95. package/esm2022/components/checkbox/model.mjs +0 -2
  96. package/esm2022/components/divider/divider.mjs +0 -93
  97. package/esm2022/components/divider/index.mjs +0 -2
  98. package/esm2022/components/divider/model.mjs +0 -3
  99. package/esm2022/components/drawer/drawer.mjs +0 -218
  100. package/esm2022/components/drawer/index.mjs +0 -2
  101. package/esm2022/components/drawer/model.mjs +0 -4
  102. package/esm2022/components/header/MetaNavigation.directive.mjs +0 -15
  103. package/esm2022/components/header/Navigation.directive.mjs +0 -15
  104. package/esm2022/components/header/SecondaryAction.directive.mjs +0 -15
  105. package/esm2022/components/header/header.mjs +0 -251
  106. package/esm2022/components/header/index.mjs +0 -2
  107. package/esm2022/components/header/model.mjs +0 -2
  108. package/esm2022/components/icon/icon.mjs +0 -100
  109. package/esm2022/components/icon/index.mjs +0 -2
  110. package/esm2022/components/icon/model.mjs +0 -3
  111. package/esm2022/components/infotext/index.mjs +0 -2
  112. package/esm2022/components/infotext/infotext.mjs +0 -103
  113. package/esm2022/components/infotext/model.mjs +0 -2
  114. package/esm2022/components/input/index.mjs +0 -2
  115. package/esm2022/components/input/input.mjs +0 -431
  116. package/esm2022/components/input/model.mjs +0 -6
  117. package/esm2022/components/link/index.mjs +0 -2
  118. package/esm2022/components/link/link.mjs +0 -152
  119. package/esm2022/components/link/model.mjs +0 -4
  120. package/esm2022/components/navigation/index.mjs +0 -2
  121. package/esm2022/components/navigation/model.mjs +0 -2
  122. package/esm2022/components/navigation/navigation.mjs +0 -92
  123. package/esm2022/components/navigation-item/NavigationContent.directive.mjs +0 -15
  124. package/esm2022/components/navigation-item/index.mjs +0 -2
  125. package/esm2022/components/navigation-item/model.mjs +0 -2
  126. package/esm2022/components/navigation-item/navigation-item.mjs +0 -255
  127. package/esm2022/components/notification/index.mjs +0 -2
  128. package/esm2022/components/notification/model.mjs +0 -4
  129. package/esm2022/components/notification/notification.mjs +0 -181
  130. package/esm2022/components/page/index.mjs +0 -2
  131. package/esm2022/components/page/model.mjs +0 -3
  132. package/esm2022/components/page/page.mjs +0 -129
  133. package/esm2022/components/popover/index.mjs +0 -2
  134. package/esm2022/components/popover/model.mjs +0 -2
  135. package/esm2022/components/popover/popover.mjs +0 -189
  136. package/esm2022/components/radio/index.mjs +0 -2
  137. package/esm2022/components/radio/model.mjs +0 -2
  138. package/esm2022/components/radio/radio.mjs +0 -227
  139. package/esm2022/components/section/index.mjs +0 -2
  140. package/esm2022/components/section/model.mjs +0 -2
  141. package/esm2022/components/section/section.mjs +0 -96
  142. package/esm2022/components/select/index.mjs +0 -2
  143. package/esm2022/components/select/model.mjs +0 -2
  144. package/esm2022/components/select/select.mjs +0 -430
  145. package/esm2022/components/stack/index.mjs +0 -2
  146. package/esm2022/components/stack/model.mjs +0 -5
  147. package/esm2022/components/stack/stack.mjs +0 -106
  148. package/esm2022/components/switch/index.mjs +0 -2
  149. package/esm2022/components/switch/model.mjs +0 -2
  150. package/esm2022/components/switch/switch.mjs +0 -247
  151. package/esm2022/components/tab-item/index.mjs +0 -2
  152. package/esm2022/components/tab-item/model.mjs +0 -2
  153. package/esm2022/components/tab-item/tab-item.mjs +0 -195
  154. package/esm2022/components/tab-list/index.mjs +0 -2
  155. package/esm2022/components/tab-list/model.mjs +0 -2
  156. package/esm2022/components/tab-list/tab-list.mjs +0 -84
  157. package/esm2022/components/tab-panel/index.mjs +0 -2
  158. package/esm2022/components/tab-panel/model.mjs +0 -2
  159. package/esm2022/components/tab-panel/tab-panel.mjs +0 -96
  160. package/esm2022/components/tabs/index.mjs +0 -2
  161. package/esm2022/components/tabs/model.mjs +0 -3
  162. package/esm2022/components/tabs/tabs.mjs +0 -348
  163. package/esm2022/components/tag/index.mjs +0 -2
  164. package/esm2022/components/tag/model.mjs +0 -2
  165. package/esm2022/components/tag/tag.mjs +0 -186
  166. package/esm2022/components/textarea/index.mjs +0 -2
  167. package/esm2022/components/textarea/model.mjs +0 -3
  168. package/esm2022/components/textarea/textarea.mjs +0 -363
  169. package/esm2022/components/tooltip/index.mjs +0 -2
  170. package/esm2022/components/tooltip/model.mjs +0 -2
  171. package/esm2022/components/tooltip/tooltip.mjs +0 -149
  172. package/esm2022/db-ux-ngx-core-components.mjs +0 -5
  173. package/esm2022/index.mjs +0 -41
  174. package/esm2022/shared/constants.mjs +0 -94
  175. package/esm2022/shared/model.mjs +0 -22
  176. package/esm2022/utils/form-components.mjs +0 -11
  177. package/esm2022/utils/index.mjs +0 -157
  178. package/esm2022/utils/navigation.mjs +0 -133
@@ -1,22 +1,23 @@
1
- import { ElementRef, SimpleChanges } from "@angular/core";
2
- import { DBAccordionProps, DBAccordionState } from "./model";
1
+ import { AfterViewInit, ElementRef } from "@angular/core";
2
+ import { DBAccordionItemDefaultProps } from "../accordion-item/model";
3
3
  import * as i0 from "@angular/core";
4
- export declare class DBAccordion {
5
- cls: (...args: import("../../utils").ClassNameArg[]) => string;
6
- id: DBAccordionProps["id"];
7
- name: DBAccordionProps["name"];
8
- behavior: DBAccordionProps["behavior"];
9
- initOpenIndex: DBAccordionProps["initOpenIndex"];
10
- className: DBAccordionProps["className"];
11
- variant: DBAccordionProps["variant"];
12
- items: DBAccordionProps["items"];
13
- _ref: ElementRef | undefined;
14
- _id: DBAccordionState["_id"];
15
- _name: DBAccordionState["_name"];
16
- initialized: DBAccordionState["initialized"];
17
- _initOpenIndexDone: DBAccordionState["_initOpenIndexDone"];
18
- convertItems(items: unknown[] | string | undefined): ReturnType<DBAccordionState["convertItems"]>;
19
- trackByItem0(index: any, item: any): string;
4
+ export declare class DBAccordion implements AfterViewInit {
5
+ protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
6
+ id: import("@angular/core").InputSignal<string | undefined>;
7
+ name: import("@angular/core").InputSignal<string | undefined>;
8
+ behavior: import("@angular/core").InputSignal<"multiple" | "single" | undefined>;
9
+ initOpenIndex: import("@angular/core").InputSignal<number[] | undefined>;
10
+ items: import("@angular/core").InputSignal<string | DBAccordionItemDefaultProps[] | undefined>;
11
+ className: import("@angular/core").InputSignal<string | undefined>;
12
+ variant: import("@angular/core").InputSignal<"divider" | "card" | undefined>;
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();
20
21
  /**
21
22
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
22
23
  * @param element the ref for the component
@@ -25,7 +26,6 @@ export declare class DBAccordion {
25
26
  private enableAttributePassing;
26
27
  ngOnInit(): void;
27
28
  ngAfterViewInit(): void;
28
- ngAfterContentChecked(changes: SimpleChanges): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DBAccordion, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<DBAccordion, "db-accordion", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "behavior": { "alias": "behavior"; "required": false; }; "initOpenIndex": { "alias": "initOpenIndex"; "required": false; }; "className": { "alias": "className"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
30
+ 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>;
31
31
  }
@@ -35,7 +35,7 @@ export type DBAccordionDefaultProps = {
35
35
  export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps;
36
36
  export type DBAccordionDefaultState = {
37
37
  _initOpenIndexDone: boolean;
38
- _name: string;
39
- convertItems: (items?: unknown[] | string) => DBAccordionItemDefaultProps[];
38
+ _name?: string;
39
+ convertItems: () => DBAccordionItemDefaultProps[];
40
40
  };
41
41
  export type DBAccordionState = DBAccordionDefaultState & GlobalState & InitializedState;
@@ -1,21 +1,25 @@
1
- import { EventEmitter, ElementRef } from "@angular/core";
2
- import { DBAccordionItemProps, DBAccordionItemState } from "./model";
1
+ import { AfterViewInit, ElementRef } from "@angular/core";
3
2
  import { ClickEvent } from "../../shared/model";
4
3
  import * as i0 from "@angular/core";
5
- export declare class DBAccordionItem {
6
- cls: (...args: import("../../utils").ClassNameArg[]) => string;
7
- getBooleanAsString: (originBool?: boolean | undefined) => any;
8
- id: DBAccordionItemProps["id"];
9
- defaultOpen: DBAccordionItemProps["defaultOpen"];
10
- className: DBAccordionItemProps["className"];
11
- disabled: DBAccordionItemProps["disabled"];
12
- headlinePlain: DBAccordionItemProps["headlinePlain"];
13
- text: DBAccordionItemProps["text"];
14
- onToggle: EventEmitter<any>;
15
- _ref: ElementRef | undefined;
16
- _id: DBAccordionItemState["_id"];
17
- _open: DBAccordionItemState["_open"];
18
- toggle(event: ClickEvent<HTMLElement>): ReturnType<DBAccordionItemState["toggle"]>;
4
+ export declare class DBAccordionItem implements AfterViewInit {
5
+ protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
6
+ protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
7
+ id: import("@angular/core").InputSignal<string | undefined>;
8
+ defaultOpen: import("@angular/core").InputSignal<boolean | undefined>;
9
+ name: import("@angular/core").InputSignal<string | undefined>;
10
+ className: import("@angular/core").InputSignal<string | undefined>;
11
+ disabled: import("@angular/core").InputSignal<string | boolean | undefined>;
12
+ headlinePlain: import("@angular/core").InputSignal<string | undefined>;
13
+ text: import("@angular/core").InputSignal<string | undefined>;
14
+ toggle: import("@angular/core").OutputEmitterRef<any>;
15
+ _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
16
+ _id: import("@angular/core").WritableSignal<string | undefined>;
17
+ _open: import("@angular/core").WritableSignal<boolean | undefined>;
18
+ _name: import("@angular/core").WritableSignal<string | undefined>;
19
+ initialized: import("@angular/core").WritableSignal<boolean>;
20
+ handleNameAttribute(): void;
21
+ handleToggle(event: ClickEvent<HTMLElement> | any): void;
22
+ constructor();
19
23
  /**
20
24
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
21
25
  * @param element the ref for the component
@@ -25,5 +29,5 @@ export declare class DBAccordionItem {
25
29
  ngOnInit(): void;
26
30
  ngAfterViewInit(): void;
27
31
  static ɵfac: i0.ɵɵFactoryDeclaration<DBAccordionItem, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<DBAccordionItem, "db-accordion-item", never, { "id": { "alias": "id"; "required": false; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; }; "className": { "alias": "className"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "headlinePlain": { "alias": "headlinePlain"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "onToggle": "onToggle"; }, never, ["[headline]", "*"], true, 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>;
29
33
  }
@@ -1,4 +1,4 @@
1
- import { GlobalProps, GlobalState, TextProps, ToggleEventProps, ToggleEventState } from '../../shared/model';
1
+ import { GlobalProps, GlobalState, InitializedState, NameProps, NameState, TextProps, ToggleEventProps, ToggleEventState } from '../../shared/model';
2
2
  export type DBAccordionItemDefaultProps = {
3
3
  /**
4
4
  * Initial state for the accordion item
@@ -7,7 +7,7 @@ export type DBAccordionItemDefaultProps = {
7
7
  /**
8
8
  * The disabled attribute can be set to keep a user from clicking on the element.
9
9
  */
10
- disabled?: boolean;
10
+ disabled?: boolean | string;
11
11
  /**
12
12
  * Title of the accordion-item as slot
13
13
  */
@@ -17,8 +17,8 @@ export type DBAccordionItemDefaultProps = {
17
17
  */
18
18
  headlinePlain?: string;
19
19
  } & TextProps;
20
- export type DBAccordionItemProps = DBAccordionItemDefaultProps & GlobalProps & ToggleEventProps;
20
+ export type DBAccordionItemProps = DBAccordionItemDefaultProps & GlobalProps & ToggleEventProps & NameProps;
21
21
  export type DBAccordionItemDefaultState = {
22
- _open: boolean;
22
+ _open?: boolean;
23
23
  };
24
- export type DBAccordionItemState = DBAccordionItemDefaultState & GlobalState & ToggleEventState<HTMLElement>;
24
+ export type DBAccordionItemState = DBAccordionItemDefaultState & GlobalState & ToggleEventState<HTMLElement> & InitializedState & NameState;
@@ -1,19 +1,19 @@
1
- import { ElementRef, SimpleChanges } from "@angular/core";
2
- import { DBBadgeProps, DBBadgeState } from "./model";
1
+ import { AfterViewInit, ElementRef } from "@angular/core";
3
2
  import * as i0 from "@angular/core";
4
- export declare class DBBadge {
5
- cls: (...args: import("../../utils").ClassNameArg[]) => string;
6
- DEFAULT_LABEL: string;
7
- placement: DBBadgeProps["placement"];
8
- id: DBBadgeProps["id"];
9
- className: DBBadgeProps["className"];
10
- semantic: DBBadgeProps["semantic"];
11
- size: DBBadgeProps["size"];
12
- emphasis: DBBadgeProps["emphasis"];
13
- label: DBBadgeProps["label"];
14
- text: DBBadgeProps["text"];
15
- _ref: ElementRef | undefined;
16
- initialized: DBBadgeState["initialized"];
3
+ export declare class DBBadge implements AfterViewInit {
4
+ protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
5
+ protected readonly DEFAULT_LABEL: string;
6
+ placement: import("@angular/core").InputSignal<"inline" | "corner-top-left" | "corner-top-right" | "corner-center-left" | "corner-center-right" | "corner-bottom-left" | "corner-bottom-right" | undefined>;
7
+ id: import("@angular/core").InputSignal<string | undefined>;
8
+ className: import("@angular/core").InputSignal<string | undefined>;
9
+ semantic: import("@angular/core").InputSignal<"adaptive" | "neutral" | "critical" | "informational" | "warning" | "successful" | undefined>;
10
+ size: import("@angular/core").InputSignal<"medium" | "small" | undefined>;
11
+ emphasis: import("@angular/core").InputSignal<"weak" | "strong" | undefined>;
12
+ label: import("@angular/core").InputSignal<string | undefined>;
13
+ text: import("@angular/core").InputSignal<string | undefined>;
14
+ _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
15
+ initialized: import("@angular/core").WritableSignal<boolean>;
16
+ constructor();
17
17
  /**
18
18
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
19
19
  * @param element the ref for the component
@@ -22,7 +22,6 @@ export declare class DBBadge {
22
22
  private enableAttributePassing;
23
23
  ngOnInit(): void;
24
24
  ngAfterViewInit(): void;
25
- ngAfterContentChecked(changes: SimpleChanges): void;
26
25
  static ɵfac: i0.ɵɵFactoryDeclaration<DBBadge, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<DBBadge, "db-badge", never, { "placement": { "alias": "placement"; "required": false; }; "id": { "alias": "id"; "required": false; }; "className": { "alias": "className"; "required": false; }; "semantic": { "alias": "semantic"; "required": false; }; "size": { "alias": "size"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "label": { "alias": "label"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["*"], true, 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>;
28
27
  }
@@ -1,4 +1,4 @@
1
- import { GlobalProps, GlobalState, InitializedState, SemanticProps, SizeProps, TagEmphasisProps, TextProps } from '../../shared/model';
1
+ import { GlobalProps, GlobalState, InitializedState, SemanticProps, SizeProps, EmphasisProps, TextProps } from '../../shared/model';
2
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
3
  export type BadgePlacementType = (typeof BadgePlacementList)[number];
4
4
  export type DBBadgeDefaultProps = {
@@ -11,6 +11,6 @@ export type DBBadgeDefaultProps = {
11
11
  */
12
12
  label?: string;
13
13
  };
14
- export type DBBadgeProps = DBBadgeDefaultProps & GlobalProps & SemanticProps & SizeProps & TagEmphasisProps & TextProps;
14
+ export type DBBadgeProps = DBBadgeDefaultProps & GlobalProps & SemanticProps & SizeProps & EmphasisProps & TextProps;
15
15
  export type DBBadgeDefaultState = {};
16
16
  export type DBBadgeState = DBBadgeDefaultState & GlobalState & InitializedState;
@@ -1,17 +1,17 @@
1
- import { ElementRef } from "@angular/core";
2
- import { DBBrandProps } from "./model";
1
+ import { AfterViewInit, ElementRef } from "@angular/core";
3
2
  import * as i0 from "@angular/core";
4
- export declare class DBBrand {
5
- cls: (...args: import("../../utils").ClassNameArg[]) => string;
6
- getHideProp: (show?: boolean | undefined) => any;
7
- DEFAULT_ICON: string;
8
- hideLogo: DBBrandProps["hideLogo"];
9
- icon: DBBrandProps["icon"];
10
- showIcon: DBBrandProps["showIcon"];
11
- id: DBBrandProps["id"];
12
- className: DBBrandProps["className"];
13
- text: DBBrandProps["text"];
14
- _ref: ElementRef | undefined;
3
+ export declare class DBBrand implements AfterViewInit {
4
+ protected readonly DEFAULT_ICON: string;
5
+ protected readonly getHideProp: (show?: boolean | string) => any;
6
+ protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
7
+ hideLogo: import("@angular/core").InputSignal<boolean | undefined>;
8
+ icon: import("@angular/core").InputSignal<import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete | undefined>;
9
+ showIcon: import("@angular/core").InputSignal<string | boolean | undefined>;
10
+ id: import("@angular/core").InputSignal<string | undefined>;
11
+ className: import("@angular/core").InputSignal<string | undefined>;
12
+ text: import("@angular/core").InputSignal<string | undefined>;
13
+ _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
14
+ constructor();
15
15
  /**
16
16
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
17
17
  * @param element the ref for the component
@@ -20,5 +20,5 @@ export declare class DBBrand {
20
20
  private enableAttributePassing;
21
21
  ngAfterViewInit(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DBBrand, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DBBrand, "db-brand", never, { "hideLogo": { "alias": "hideLogo"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "id": { "alias": "id"; "required": false; }; "className": { "alias": "className"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["*"], true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<DBBrand, "db-brand", never, { "hideLogo": { "alias": "hideLogo"; "required": false; "isSignal": true; }; "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, ["*"], true, never>;
24
24
  }
@@ -1,32 +1,34 @@
1
- import { EventEmitter, ElementRef } from "@angular/core";
2
- import type { DBButtonProps, DBButtonState } from "./model";
1
+ import { AfterViewInit, ElementRef } from "@angular/core";
3
2
  import { ClickEvent } from "../../shared/model";
4
3
  import * as i0 from "@angular/core";
5
- export declare class DBButton {
6
- cls: (...args: import("../../utils").ClassNameArg[]) => string;
7
- getBooleanAsString: (originBool?: boolean | undefined) => any;
8
- getHideProp: (show?: boolean | undefined) => any;
9
- id: DBButtonProps["id"];
10
- className: DBButtonProps["className"];
11
- type: DBButtonProps["type"];
12
- disabled: DBButtonProps["disabled"];
13
- label: DBButtonProps["label"];
14
- icon: DBButtonProps["icon"];
15
- showIcon: DBButtonProps["showIcon"];
16
- size: DBButtonProps["size"];
17
- state: DBButtonProps["state"];
18
- width: DBButtonProps["width"];
19
- variant: DBButtonProps["variant"];
20
- noText: DBButtonProps["noText"];
21
- name: DBButtonProps["name"];
22
- value: DBButtonProps["value"];
23
- describedbyid: DBButtonProps["describedbyid"];
24
- ariaexpanded: DBButtonProps["ariaexpanded"];
25
- ariapressed: DBButtonProps["ariapressed"];
26
- text: DBButtonProps["text"];
27
- onClick: EventEmitter<any>;
28
- _ref: ElementRef | undefined;
29
- handleClick(event: ClickEvent<HTMLButtonElement>): ReturnType<DBButtonState["handleClick"]>;
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 getHideProp: (show?: boolean | string) => any;
8
+ protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
9
+ id: import("@angular/core").InputSignal<string | undefined>;
10
+ className: import("@angular/core").InputSignal<string | undefined>;
11
+ type: import("@angular/core").InputSignal<"button" | "reset" | "submit" | undefined>;
12
+ disabled: import("@angular/core").InputSignal<string | boolean | undefined>;
13
+ label: import("@angular/core").InputSignal<string | undefined>;
14
+ icon: import("@angular/core").InputSignal<import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete | undefined>;
15
+ showIcon: import("@angular/core").InputSignal<string | boolean | undefined>;
16
+ size: import("@angular/core").InputSignal<"medium" | "small" | undefined>;
17
+ state: import("@angular/core").InputSignal<"loading" | undefined>;
18
+ width: import("@angular/core").InputSignal<string | undefined>;
19
+ variant: import("@angular/core").InputSignal<string | undefined>;
20
+ noText: import("@angular/core").InputSignal<string | boolean | undefined>;
21
+ name: import("@angular/core").InputSignal<string | undefined>;
22
+ form: import("@angular/core").InputSignal<string | undefined>;
23
+ value: import("@angular/core").InputSignal<string | undefined>;
24
+ describedbyid: import("@angular/core").InputSignal<string | undefined>;
25
+ ariaexpanded: import("@angular/core").InputSignal<boolean | undefined>;
26
+ ariapressed: import("@angular/core").InputSignal<boolean | undefined>;
27
+ text: import("@angular/core").InputSignal<string | undefined>;
28
+ click: import("@angular/core").OutputEmitterRef<void | MouseEvent>;
29
+ _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
30
+ handleClick(event: ClickEvent<HTMLButtonElement>): void;
31
+ constructor();
30
32
  /**
31
33
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
32
34
  * @param element the ref for the component
@@ -35,5 +37,5 @@ export declare class DBButton {
35
37
  private enableAttributePassing;
36
38
  ngAfterViewInit(): void;
37
39
  static ɵfac: i0.ɵɵFactoryDeclaration<DBButton, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<DBButton, "db-button", never, { "id": { "alias": "id"; "required": false; }; "className": { "alias": "className"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "state": { "alias": "state"; "required": false; }; "width": { "alias": "width"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noText": { "alias": "noText"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "describedbyid": { "alias": "describedbyid"; "required": false; }; "ariaexpanded": { "alias": "ariaexpanded"; "required": false; }; "ariapressed": { "alias": "ariapressed"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<DBButton, "db-button", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "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; }; "describedbyid": { "alias": "describedbyid"; "required": false; "isSignal": true; }; "ariaexpanded": { "alias": "ariaexpanded"; "required": false; "isSignal": true; }; "ariapressed": { "alias": "ariapressed"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, ["*"], true, never>;
39
41
  }
@@ -17,11 +17,11 @@ export type DBButtonDefaultProps = {
17
17
  /**
18
18
  * 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).
19
19
  */
20
- disabled?: boolean;
20
+ disabled?: boolean | string;
21
21
  /**
22
- * Define the text next to the icon specified via the icon Property to get hidden.
22
+ * Associates the control with a form element
23
23
  */
24
- noText?: boolean;
24
+ form?: string;
25
25
  /**
26
26
  * The label represents the [aria-label attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) value of the button
27
27
  */
@@ -30,6 +30,14 @@ export type DBButtonDefaultProps = {
30
30
  * The name attribute specifies a [name attributes value](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#name) for the button.
31
31
  */
32
32
  name?: string;
33
+ /**
34
+ * Define the text next to the icon specified via the icon Property to get hidden.
35
+ */
36
+ noText?: boolean | string;
37
+ /**
38
+ * Show loading progress inside button.
39
+ */
40
+ state?: ButtonStateType;
33
41
  /**
34
42
  * The type attribute specifies the [type of button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type).
35
43
  */
@@ -38,10 +46,6 @@ export type DBButtonDefaultProps = {
38
46
  * The value attribute specifies an initial [value for the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#value).
39
47
  */
40
48
  value?: string;
41
- /**
42
- * Show loading progress inside button.
43
- */
44
- state?: ButtonStateType;
45
49
  /**
46
50
  * Variant of the button. Use only 1 primary button on a page as CTA otherwise use one of the adaptive buttons.
47
51
  */
@@ -1,17 +1,17 @@
1
- import { EventEmitter, ElementRef } from "@angular/core";
2
- import type { DBCardProps, DBCardState } from "./model";
1
+ import { AfterViewInit, ElementRef } from "@angular/core";
3
2
  import { ClickEvent } from "../../shared/model";
4
3
  import * as i0 from "@angular/core";
5
- export declare class DBCard {
6
- cls: (...args: import("../../utils").ClassNameArg[]) => string;
7
- id: DBCardProps["id"];
8
- className: DBCardProps["className"];
9
- behavior: DBCardProps["behavior"];
10
- elevationLevel: DBCardProps["elevationLevel"];
11
- spacing: DBCardProps["spacing"];
12
- onClick: EventEmitter<any>;
13
- _ref: ElementRef | undefined;
14
- handleClick(event: ClickEvent<HTMLElement>): ReturnType<DBCardState["handleClick"]>;
4
+ export declare class DBCard implements AfterViewInit {
5
+ protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
6
+ id: import("@angular/core").InputSignal<string | undefined>;
7
+ className: import("@angular/core").InputSignal<string | undefined>;
8
+ behavior: import("@angular/core").InputSignal<"static" | "interactive" | undefined>;
9
+ elevationLevel: import("@angular/core").InputSignal<"1" | "2" | "3" | undefined>;
10
+ spacing: import("@angular/core").InputSignal<string | undefined>;
11
+ click: import("@angular/core").OutputEmitterRef<void | MouseEvent>;
12
+ _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
13
+ handleClick(event: ClickEvent<HTMLElement>): void;
14
+ constructor();
15
15
  /**
16
16
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
17
17
  * @param element the ref for the component
@@ -20,5 +20,5 @@ export declare class DBCard {
20
20
  private enableAttributePassing;
21
21
  ngAfterViewInit(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DBCard, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DBCard, "db-card", never, { "id": { "alias": "id"; "required": false; }; "className": { "alias": "className"; "required": false; }; "behavior": { "alias": "behavior"; "required": false; }; "elevationLevel": { "alias": "elevationLevel"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
23
+ 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>;
24
24
  }
@@ -1,50 +1,49 @@
1
- import { EventEmitter, ElementRef, SimpleChanges, Renderer2 } from "@angular/core";
1
+ import { AfterViewInit, ElementRef, Renderer2 } from "@angular/core";
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { DBCheckboxProps, DBCheckboxState } from "./model";
4
3
  import { ChangeEvent, InteractionEvent } from "../../shared/model";
5
4
  import * as i0 from "@angular/core";
6
- export declare class DBCheckbox implements ControlValueAccessor {
5
+ export declare class DBCheckbox implements AfterViewInit, ControlValueAccessor {
7
6
  private renderer;
7
+ protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
8
+ protected readonly getHideProp: (show?: boolean | string) => any;
9
+ protected readonly getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
10
+ protected readonly stringPropVisible: (givenString?: string, showString?: boolean | string) => boolean;
11
+ protected readonly DEFAULT_VALID_MESSAGE: string;
12
+ id: import("@angular/core").InputSignal<string | undefined>;
13
+ invalidMessage: import("@angular/core").InputSignal<string | undefined>;
14
+ message: import("@angular/core").InputSignal<string | undefined>;
15
+ showMessage: import("@angular/core").InputSignal<string | boolean | undefined>;
16
+ indeterminate: import("@angular/core").InputSignal<string | boolean | undefined>;
17
+ checked: import("@angular/core").ModelSignal<string | boolean | undefined>;
18
+ validMessage: import("@angular/core").InputSignal<string | undefined>;
19
+ validation: import("@angular/core").InputSignal<"invalid" | "valid" | "no-validation" | undefined>;
20
+ required: import("@angular/core").InputSignal<string | boolean | undefined>;
21
+ className: import("@angular/core").InputSignal<string | undefined>;
22
+ size: import("@angular/core").InputSignal<"medium" | "small" | undefined>;
23
+ showLabel: import("@angular/core").InputSignal<string | boolean | undefined>;
24
+ name: import("@angular/core").InputSignal<string | undefined>;
25
+ disabled: import("@angular/core").ModelSignal<string | boolean | undefined>;
26
+ value: import("@angular/core").InputSignal<any>;
27
+ label: import("@angular/core").InputSignal<string | undefined>;
28
+ messageIcon: import("@angular/core").InputSignal<import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete | undefined>;
29
+ change: import("@angular/core").OutputEmitterRef<void | Event>;
30
+ blur: import("@angular/core").OutputEmitterRef<void | FocusEvent>;
31
+ focus: import("@angular/core").OutputEmitterRef<void | FocusEvent>;
32
+ _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
33
+ initialized: import("@angular/core").WritableSignal<boolean>;
34
+ _id: import("@angular/core").WritableSignal<string | undefined>;
35
+ _messageId: import("@angular/core").WritableSignal<string | undefined>;
36
+ _validMessageId: import("@angular/core").WritableSignal<string | undefined>;
37
+ _invalidMessageId: import("@angular/core").WritableSignal<string | undefined>;
38
+ _invalidMessage: import("@angular/core").WritableSignal<string | undefined>;
39
+ _descByIds: import("@angular/core").WritableSignal<string | undefined>;
40
+ _voiceOverFallback: import("@angular/core").WritableSignal<string | undefined>;
41
+ hasValidState(): boolean;
42
+ handleValidation(): void;
43
+ handleChange(event: ChangeEvent<HTMLInputElement>): void;
44
+ handleBlur(event: InteractionEvent<HTMLInputElement> | any): void;
45
+ handleFocus(event: InteractionEvent<HTMLInputElement> | any): void;
8
46
  constructor(renderer: Renderer2);
9
- DEFAULT_INVALID_MESSAGE: string;
10
- DEFAULT_VALID_MESSAGE: string;
11
- cls: (...args: import("../../utils").ClassNameArg[]) => string;
12
- getHideProp: (show?: boolean | undefined) => any;
13
- stringPropVisible: (givenString?: string | undefined, showString?: boolean | undefined) => string | boolean | undefined;
14
- id: DBCheckboxProps["id"];
15
- message: DBCheckboxProps["message"];
16
- showMessage: DBCheckboxProps["showMessage"];
17
- indeterminate: DBCheckboxProps["indeterminate"];
18
- checked: DBCheckboxProps["checked"];
19
- validation: DBCheckboxProps["validation"];
20
- invalidMessage: DBCheckboxProps["invalidMessage"];
21
- required: DBCheckboxProps["required"];
22
- validMessage: DBCheckboxProps["validMessage"];
23
- className: DBCheckboxProps["className"];
24
- size: DBCheckboxProps["size"];
25
- showLabel: DBCheckboxProps["showLabel"];
26
- name: DBCheckboxProps["name"];
27
- disabled: DBCheckboxProps["disabled"];
28
- value: DBCheckboxProps["value"];
29
- label: DBCheckboxProps["label"];
30
- messageIcon: DBCheckboxProps["messageIcon"];
31
- onChange: EventEmitter<any>;
32
- change: EventEmitter<any>;
33
- onBlur: EventEmitter<any>;
34
- blur: EventEmitter<any>;
35
- onFocus: EventEmitter<any>;
36
- focus: EventEmitter<any>;
37
- _ref: ElementRef | undefined;
38
- initialized: DBCheckboxState["initialized"];
39
- _id: DBCheckboxState["_id"];
40
- _messageId: DBCheckboxState["_messageId"];
41
- _validMessageId: DBCheckboxState["_validMessageId"];
42
- _invalidMessageId: DBCheckboxState["_invalidMessageId"];
43
- _descByIds: DBCheckboxState["_descByIds"];
44
- _voiceOverFallback: DBCheckboxState["_voiceOverFallback"];
45
- handleChange(event: ChangeEvent<HTMLInputElement>): ReturnType<DBCheckboxState["handleChange"]>;
46
- handleBlur(event: InteractionEvent<HTMLInputElement>): ReturnType<DBCheckboxState["handleBlur"]>;
47
- handleFocus(event: InteractionEvent<HTMLInputElement>): ReturnType<DBCheckboxState["handleFocus"]>;
48
47
  /**
49
48
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
50
49
  * @param element the ref for the component
@@ -58,7 +57,6 @@ export declare class DBCheckbox implements ControlValueAccessor {
58
57
  setDisabledState(disabled: boolean): void;
59
58
  ngOnInit(): void;
60
59
  ngAfterViewInit(): void;
61
- ngAfterContentChecked(changes: SimpleChanges): void;
62
60
  static ɵfac: i0.ɵɵFactoryDeclaration<DBCheckbox, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<DBCheckbox, "db-checkbox", never, { "id": { "alias": "id"; "required": false; }; "message": { "alias": "message"; "required": false; }; "showMessage": { "alias": "showMessage"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "validation": { "alias": "validation"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "required": { "alias": "required"; "required": false; }; "validMessage": { "alias": "validMessage"; "required": false; }; "className": { "alias": "className"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; }, { "onChange": "onChange"; "change": "change"; "onBlur": "onBlur"; "blur": "blur"; "onFocus": "onFocus"; "focus": "focus"; }, never, ["*"], true, never>;
61
+ 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; }; "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; }; "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
62
  }
@@ -1,10 +1,10 @@
1
- import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, GlobalProps, GlobalState, InitializedState, SizeProps } from '../../shared/model';
1
+ import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, FromValidState, GlobalProps, GlobalState, InitializedState, SizeProps } from '../../shared/model';
2
2
  export type DBCheckboxDefaultProps = {
3
3
  /**
4
4
  * Define an [indeterminate](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement#indeterminate) state of a checkbox
5
5
  */
6
- indeterminate?: boolean;
6
+ indeterminate?: boolean | string;
7
7
  };
8
8
  export type DBCheckboxProps = DBCheckboxDefaultProps & GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & FormMessageProps & SizeProps;
9
9
  export type DBCheckboxDefaultState = {};
10
- export type DBCheckboxState = DBCheckboxDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState;
10
+ export type DBCheckboxState = DBCheckboxDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState & FromValidState;