@db-ux/ngx-core-components 3.0.0 → 3.0.2-copilot-66b0168

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 (156) hide show
  1. package/README.md +11 -0
  2. package/agent/Accordion.md +52 -0
  3. package/agent/AccordionItem.md +45 -0
  4. package/agent/Badge.md +48 -0
  5. package/agent/Brand.md +29 -0
  6. package/agent/Button.md +59 -0
  7. package/agent/Card.md +39 -0
  8. package/agent/Checkbox.md +52 -0
  9. package/agent/CustomSelect.md +89 -0
  10. package/agent/Divider.md +37 -0
  11. package/agent/Drawer.md +90 -0
  12. package/agent/Header.md +45 -0
  13. package/agent/Icon.md +36 -0
  14. package/agent/Infotext.md +41 -0
  15. package/agent/Input.md +58 -0
  16. package/agent/Link.md +60 -0
  17. package/agent/Navigation.md +34 -0
  18. package/agent/NavigationItem.md +45 -0
  19. package/agent/Notification.md +52 -0
  20. package/agent/Page.md +45 -0
  21. package/agent/Popover.md +69 -0
  22. package/agent/Radio.md +39 -0
  23. package/agent/Section.md +39 -0
  24. package/agent/Select.md +80 -0
  25. package/agent/Stack.md +51 -0
  26. package/agent/Switch.md +55 -0
  27. package/agent/TabItem.md +41 -0
  28. package/agent/Tabs.md +80 -0
  29. package/agent/Tag.md +48 -0
  30. package/agent/Textarea.md +57 -0
  31. package/agent/Tooltip.md +64 -0
  32. package/agent/_instructions.md +31 -0
  33. package/package.json +7 -3
  34. package/components/accordion/accordion.d.ts +0 -31
  35. package/components/accordion/index.d.ts +0 -1
  36. package/components/accordion/model.d.ts +0 -41
  37. package/components/accordion-item/accordion-item.d.ts +0 -33
  38. package/components/accordion-item/index.d.ts +0 -1
  39. package/components/accordion-item/model.d.ts +0 -24
  40. package/components/badge/badge.d.ts +0 -27
  41. package/components/badge/index.d.ts +0 -1
  42. package/components/badge/model.d.ts +0 -16
  43. package/components/brand/brand.d.ts +0 -24
  44. package/components/brand/index.d.ts +0 -1
  45. package/components/brand/model.d.ts +0 -10
  46. package/components/button/button.d.ts +0 -38
  47. package/components/button/index.d.ts +0 -1
  48. package/components/button/model.d.ts +0 -40
  49. package/components/card/card.d.ts +0 -24
  50. package/components/card/index.d.ts +0 -1
  51. package/components/card/model.d.ts +0 -18
  52. package/components/checkbox/checkbox.d.ts +0 -64
  53. package/components/checkbox/index.d.ts +0 -1
  54. package/components/checkbox/model.d.ts +0 -10
  55. package/components/custom-select/custom-select.d.ts +0 -150
  56. package/components/custom-select/index.d.ts +0 -1
  57. package/components/custom-select/model.d.ts +0 -219
  58. package/components/custom-select-dropdown/custom-select-dropdown.d.ts +0 -19
  59. package/components/custom-select-dropdown/index.d.ts +0 -1
  60. package/components/custom-select-dropdown/model.d.ts +0 -15
  61. package/components/custom-select-form-field/custom-select-form-field.d.ts +0 -18
  62. package/components/custom-select-form-field/index.d.ts +0 -1
  63. package/components/custom-select-form-field/model.d.ts +0 -5
  64. package/components/custom-select-list/custom-select-list.d.ts +0 -20
  65. package/components/custom-select-list/index.d.ts +0 -1
  66. package/components/custom-select-list/model.d.ts +0 -8
  67. package/components/custom-select-list-item/custom-select-list-item.d.ts +0 -45
  68. package/components/custom-select-list-item/index.d.ts +0 -1
  69. package/components/custom-select-list-item/model.d.ts +0 -29
  70. package/components/divider/divider.d.ts +0 -22
  71. package/components/divider/index.d.ts +0 -1
  72. package/components/divider/model.d.ts +0 -18
  73. package/components/drawer/drawer.d.ts +0 -37
  74. package/components/drawer/index.d.ts +0 -1
  75. package/components/drawer/model.d.ts +0 -50
  76. package/components/header/MetaNavigation.directive.d.ts +0 -5
  77. package/components/header/Navigation.directive.d.ts +0 -5
  78. package/components/header/SecondaryAction.directive.d.ts +0 -5
  79. package/components/header/header.d.ts +0 -34
  80. package/components/header/index.d.ts +0 -1
  81. package/components/header/model.d.ts +0 -44
  82. package/components/icon/icon.d.ts +0 -22
  83. package/components/icon/index.d.ts +0 -1
  84. package/components/icon/model.d.ts +0 -10
  85. package/components/infotext/index.d.ts +0 -1
  86. package/components/infotext/infotext.d.ts +0 -24
  87. package/components/infotext/model.d.ts +0 -5
  88. package/components/input/index.d.ts +0 -1
  89. package/components/input/input.d.ts +0 -98
  90. package/components/input/model.d.ts +0 -43
  91. package/components/link/index.d.ts +0 -1
  92. package/components/link/link.d.ts +0 -31
  93. package/components/link/model.d.ts +0 -24
  94. package/components/navigation/index.d.ts +0 -1
  95. package/components/navigation/model.d.ts +0 -5
  96. package/components/navigation/navigation.d.ts +0 -20
  97. package/components/navigation-item/NavigationContent.directive.d.ts +0 -5
  98. package/components/navigation-item/index.d.ts +0 -1
  99. package/components/navigation-item/model.d.ts +0 -34
  100. package/components/navigation-item/navigation-item.d.ts +0 -46
  101. package/components/notification/index.d.ts +0 -1
  102. package/components/notification/model.d.ts +0 -57
  103. package/components/notification/notification.d.ts +0 -39
  104. package/components/page/index.d.ts +0 -1
  105. package/components/page/model.d.ts +0 -36
  106. package/components/page/page.d.ts +0 -26
  107. package/components/popover/index.d.ts +0 -1
  108. package/components/popover/model.d.ts +0 -17
  109. package/components/popover/popover.d.ts +0 -37
  110. package/components/radio/index.d.ts +0 -1
  111. package/components/radio/model.d.ts +0 -5
  112. package/components/radio/radio.d.ts +0 -47
  113. package/components/section/index.d.ts +0 -1
  114. package/components/section/model.d.ts +0 -5
  115. package/components/section/section.d.ts +0 -22
  116. package/components/select/index.d.ts +0 -1
  117. package/components/select/model.d.ts +0 -44
  118. package/components/select/select.d.ts +0 -84
  119. package/components/stack/index.d.ts +0 -1
  120. package/components/stack/model.d.ts +0 -34
  121. package/components/stack/stack.d.ts +0 -25
  122. package/components/switch/index.d.ts +0 -1
  123. package/components/switch/model.d.ts +0 -10
  124. package/components/switch/switch.d.ts +0 -52
  125. package/components/tab-item/index.d.ts +0 -1
  126. package/components/tab-item/model.d.ts +0 -24
  127. package/components/tab-item/tab-item.d.ts +0 -46
  128. package/components/tab-list/index.d.ts +0 -1
  129. package/components/tab-list/model.d.ts +0 -5
  130. package/components/tab-list/tab-list.d.ts +0 -20
  131. package/components/tab-panel/index.d.ts +0 -1
  132. package/components/tab-panel/model.d.ts +0 -10
  133. package/components/tab-panel/tab-panel.d.ts +0 -20
  134. package/components/tabs/index.d.ts +0 -1
  135. package/components/tabs/model.d.ts +0 -66
  136. package/components/tabs/tabs.d.ts +0 -46
  137. package/components/tag/index.d.ts +0 -1
  138. package/components/tag/model.d.ts +0 -47
  139. package/components/tag/tag.d.ts +0 -33
  140. package/components/textarea/index.d.ts +0 -1
  141. package/components/textarea/model.d.ts +0 -34
  142. package/components/textarea/textarea.d.ts +0 -84
  143. package/components/tooltip/index.d.ts +0 -1
  144. package/components/tooltip/model.d.ts +0 -20
  145. package/components/tooltip/tooltip.d.ts +0 -39
  146. package/fesm2022/db-ux-ngx-core-components.mjs +0 -7699
  147. package/fesm2022/db-ux-ngx-core-components.mjs.map +0 -1
  148. package/index.d.ts +0 -44
  149. package/shared/constants.d.ts +0 -88
  150. package/shared/model.d.ts +0 -522
  151. package/utils/document-click-listener.d.ts +0 -8
  152. package/utils/document-scroll-listener.d.ts +0 -9
  153. package/utils/floating-components.d.ts +0 -20
  154. package/utils/form-components.d.ts +0 -2
  155. package/utils/index.d.ts +0 -40
  156. package/utils/navigation.d.ts +0 -32
@@ -1,84 +0,0 @@
1
- import { AfterViewInit, ElementRef, Renderer2 } from "@angular/core";
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { ChangeEvent, InputEvent, InteractionEvent } from "../../shared/model";
4
- import * as i0 from "@angular/core";
5
- export declare class DBTextarea implements AfterViewInit, ControlValueAccessor {
6
- private renderer;
7
- protected readonly cls: (...args: import("../../utils").ClassNameArg[]) => string;
8
- protected readonly getHideProp: (show?: boolean | string) => any;
9
- protected readonly DEFAULT_LABEL: string;
10
- protected readonly getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
11
- protected readonly getNumber: (originNumber?: number | string, alternativeNumber?: number | string) => number | undefined;
12
- protected readonly DEFAULT_PLACEHOLDER: string;
13
- protected readonly DEFAULT_ROWS: number;
14
- protected readonly stringPropVisible: (givenString?: string, showString?: boolean | string) => boolean;
15
- protected readonly DEFAULT_VALID_MESSAGE: string;
16
- id: import("@angular/core").InputSignal<string | undefined>;
17
- invalidMessage: import("@angular/core").InputSignal<string | undefined>;
18
- message: import("@angular/core").InputSignal<string | undefined>;
19
- showMessage: import("@angular/core").InputSignal<string | boolean | undefined>;
20
- value: import("@angular/core").ModelSignal<any>;
21
- validMessage: import("@angular/core").InputSignal<string | undefined>;
22
- validation: import("@angular/core").InputSignal<"invalid" | "valid" | "no-validation" | undefined>;
23
- required: import("@angular/core").InputSignal<string | boolean | undefined>;
24
- minLength: import("@angular/core").InputSignal<string | number | undefined>;
25
- maxLength: import("@angular/core").InputSignal<string | number | undefined>;
26
- className: import("@angular/core").InputSignal<string | undefined>;
27
- variant: import("@angular/core").InputSignal<"above" | "floating" | undefined>;
28
- showRequiredAsterisk: import("@angular/core").InputSignal<string | boolean | undefined>;
29
- showLabel: import("@angular/core").InputSignal<string | boolean | undefined>;
30
- label: import("@angular/core").InputSignal<string | undefined>;
31
- fieldSizing: import("@angular/core").InputSignal<"fixed" | "content" | undefined>;
32
- resize: import("@angular/core").InputSignal<"none" | "horizontal" | "vertical" | "both" | undefined>;
33
- showResizer: import("@angular/core").InputSignal<string | boolean | undefined>;
34
- disabled: import("@angular/core").ModelSignal<string | boolean | undefined>;
35
- readOnly: import("@angular/core").InputSignal<string | boolean | undefined>;
36
- readonly: import("@angular/core").InputSignal<string | boolean | undefined>;
37
- form: import("@angular/core").InputSignal<string | undefined>;
38
- maxlength: import("@angular/core").InputSignal<string | number | undefined>;
39
- minlength: import("@angular/core").InputSignal<string | number | undefined>;
40
- name: import("@angular/core").InputSignal<string | undefined>;
41
- wrap: import("@angular/core").InputSignal<"off" | "hard" | "soft" | undefined>;
42
- spellCheck: import("@angular/core").InputSignal<boolean | undefined>;
43
- autocomplete: import("@angular/core").InputSignal<string | undefined>;
44
- ariaDescribedBy: import("@angular/core").InputSignal<string | undefined>;
45
- placeholder: import("@angular/core").InputSignal<string | undefined>;
46
- rows: import("@angular/core").InputSignal<string | number | undefined>;
47
- cols: import("@angular/core").InputSignal<string | number | undefined>;
48
- messageIcon: import("@angular/core").InputSignal<import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete | undefined>;
49
- input: import("@angular/core").OutputEmitterRef<void | Event>;
50
- change: import("@angular/core").OutputEmitterRef<void | Event>;
51
- blur: import("@angular/core").OutputEmitterRef<void | FocusEvent>;
52
- focus: import("@angular/core").OutputEmitterRef<void | FocusEvent>;
53
- _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
54
- _id: import("@angular/core").WritableSignal<string | undefined>;
55
- _messageId: import("@angular/core").WritableSignal<string | undefined>;
56
- _validMessageId: import("@angular/core").WritableSignal<string | undefined>;
57
- _invalidMessageId: import("@angular/core").WritableSignal<string | undefined>;
58
- _invalidMessage: import("@angular/core").WritableSignal<string | undefined>;
59
- _descByIds: import("@angular/core").WritableSignal<string | undefined>;
60
- _value: import("@angular/core").WritableSignal<string | undefined>;
61
- _voiceOverFallback: import("@angular/core").WritableSignal<string | undefined>;
62
- hasValidState(): boolean;
63
- handleValidation(): void;
64
- handleInput(event: InputEvent<HTMLTextAreaElement>): void;
65
- handleChange(event: ChangeEvent<HTMLTextAreaElement>): void;
66
- handleBlur(event: InteractionEvent<HTMLTextAreaElement> | any): void;
67
- handleFocus(event: InteractionEvent<HTMLTextAreaElement> | any): void;
68
- constructor(renderer: Renderer2);
69
- /**
70
- * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
71
- * @param element the ref for the component
72
- * @param customElementSelector the custom element like `my-component`
73
- */
74
- private enableAttributePassing;
75
- writeValue(value: any): void;
76
- propagateChange(_: any): void;
77
- registerOnChange(onChange: any): void;
78
- registerOnTouched(onTouched: any): void;
79
- setDisabledState(disabled: boolean): void;
80
- ngOnInit(): void;
81
- ngAfterViewInit(): void;
82
- static ɵfac: i0.ɵɵFactoryDeclaration<DBTextarea, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<DBTextarea, "db-textarea", 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; }; "value": { "alias": "value"; "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; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "showRequiredAsterisk": { "alias": "showRequiredAsterisk"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "fieldSizing": { "alias": "fieldSizing"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "showResizer": { "alias": "showResizer"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minlength": { "alias": "minlength"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "spellCheck": { "alias": "spellCheck"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "input": "input"; "change": "change"; "blur": "blur"; "focus": "focus"; }, never, never, true, never>;
84
- }
@@ -1 +0,0 @@
1
- export { DBTooltip } from './tooltip';
@@ -1,20 +0,0 @@
1
- import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } from '../../shared/model';
2
- export declare const TooltipVariantList: readonly ["description", "label"];
3
- export type TooltipVariantType = (typeof TooltipVariantList)[number];
4
- export type DBTooltipDefaultProps = {
5
- /**
6
- * Show/Hides arrow
7
- */
8
- showArrow?: boolean | string;
9
- /**
10
- * Change the behavior of the tooltip:
11
- * - description: Adds `aria-describedby` to parent
12
- * - label: Adds `aria-labelledby` to parent
13
- */
14
- variant?: TooltipVariantType;
15
- };
16
- export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps;
17
- export type DBTooltipDefaultState = {
18
- getParent: () => HTMLElement;
19
- };
20
- export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState & DocumentScrollState;
@@ -1,39 +0,0 @@
1
- import { AfterViewInit, ElementRef } from "@angular/core";
2
- import { ClickEvent } from "../../shared/model";
3
- import * as i0 from "@angular/core";
4
- export declare class DBTooltip 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
- variant: import("@angular/core").InputSignal<"label" | "description" | undefined>;
9
- placement: import("@angular/core").InputSignal<"left" | "right" | "left-start" | "left-end" | "right-start" | "right-end" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | undefined>;
10
- className: import("@angular/core").InputSignal<string | undefined>;
11
- emphasis: import("@angular/core").InputSignal<"weak" | "strong" | undefined>;
12
- animation: import("@angular/core").InputSignal<string | boolean | undefined>;
13
- delay: import("@angular/core").InputSignal<"none" | "slow" | "fast" | undefined>;
14
- width: import("@angular/core").InputSignal<"auto" | "fixed" | undefined>;
15
- showArrow: import("@angular/core").InputSignal<string | boolean | undefined>;
16
- _ref: import("@angular/core").Signal<ElementRef<any> | undefined>;
17
- _id: import("@angular/core").WritableSignal<string | undefined>;
18
- initialized: import("@angular/core").WritableSignal<boolean>;
19
- _documentScrollListenerCallbackId: import("@angular/core").WritableSignal<string | undefined>;
20
- _observer: import("@angular/core").WritableSignal<IntersectionObserver | undefined>;
21
- handleClick(event: ClickEvent<HTMLElement>): void;
22
- handleEscape(event: any): void;
23
- getParent(): any;
24
- handleAutoPlacement(parent?: HTMLElement): void;
25
- handleDocumentScroll(event: any, parent?: HTMLElement): void;
26
- handleLeave(): void;
27
- handleEnter(parent?: HTMLElement): void;
28
- constructor();
29
- /**
30
- * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
31
- * @param element the ref for the component
32
- * @param customElementSelector the custom element like `my-component`
33
- */
34
- private enableAttributePassing;
35
- ngOnInit(): void;
36
- ngAfterViewInit(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<DBTooltip, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<DBTooltip, "db-tooltip", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "emphasis": { "alias": "emphasis"; "required": false; "isSignal": true; }; "animation": { "alias": "animation"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "showArrow": { "alias": "showArrow"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
39
- }