@db-ux/ngx-core-components 4.14.0-shell-52d18db → 5.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.
- package/CHANGELOG.md +28 -0
- package/agent/TabItem.md +6 -2
- package/agent/Tabs.md +30 -30
- package/agent/_instructions.md +0 -10
- package/fesm2022/db-ux-ngx-core-components.mjs +4117 -6452
- package/fesm2022/db-ux-ngx-core-components.mjs.map +1 -1
- package/package.json +3 -3
- package/types/db-ux-ngx-core-components.d.ts +306 -957
- package/agent/ControlPanelBrand.md +0 -25
- package/agent/ControlPanelDesktop.md +0 -65
- package/agent/ControlPanelMeta.md +0 -30
- package/agent/ControlPanelMobile.md +0 -57
- package/agent/ControlPanelNavigation.md +0 -40
- package/agent/ControlPanelNavigationItem.md +0 -49
- package/agent/ControlPanelPrimaryActions.md +0 -30
- package/agent/ControlPanelSecondaryActions.md +0 -36
- package/agent/Shell.md +0 -45
- package/agent/ShellSubNavigation.md +0 -6
|
@@ -109,10 +109,6 @@ type MarginProps = {
|
|
|
109
109
|
*/
|
|
110
110
|
margin?: MarginType;
|
|
111
111
|
};
|
|
112
|
-
declare const ShellControlPanelDesktopPosition: readonly ["top", "left"];
|
|
113
|
-
type ShellControlPanelDesktopPositionType = (typeof ShellControlPanelDesktopPosition)[number];
|
|
114
|
-
declare const ShellControlPanelMobilePosition: readonly ["top", "bottom"];
|
|
115
|
-
type ShellControlPanelMobilePositionType = (typeof ShellControlPanelMobilePosition)[number];
|
|
116
112
|
declare const PlacementHorizontalList: readonly ["left", "right", "left-start", "left-end", "right-start", "right-end"];
|
|
117
113
|
type PlacementHorizontalType = (typeof PlacementHorizontalList)[number];
|
|
118
114
|
declare const PlacementVerticalList: readonly ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"];
|
|
@@ -544,33 +540,11 @@ type NavigationBackButtonProps = {
|
|
|
544
540
|
*/
|
|
545
541
|
backButtonText?: string;
|
|
546
542
|
};
|
|
547
|
-
type
|
|
543
|
+
type AriaControlsProps = {
|
|
548
544
|
/**
|
|
549
|
-
*
|
|
545
|
+
* Pass `aria-controls` to inner element
|
|
550
546
|
*/
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* Slot to pass in a meta navigation.
|
|
554
|
-
* Desktop: Above the regular control-panel-desktop
|
|
555
|
-
* Mobile: Inside the drawer
|
|
556
|
-
*/
|
|
557
|
-
meta?: any;
|
|
558
|
-
/**
|
|
559
|
-
* Slot to pass one or more elements like DBButton (e.g. search) as primary action.
|
|
560
|
-
* Desktop: Shown next to the main-navigation
|
|
561
|
-
* Mobile: Shown next to the control-panel-brand
|
|
562
|
-
*/
|
|
563
|
-
primaryActions?: any;
|
|
564
|
-
/**
|
|
565
|
-
* Slot to pass one or more elements like DBButton (e.g. profile, language, etc.) as secondary action.
|
|
566
|
-
* Desktop: Shown separated by divider at the end of the control-panel-desktop
|
|
567
|
-
* Mobile: Shown inside the drawer at the bottom.
|
|
568
|
-
*/
|
|
569
|
-
secondaryActions?: any;
|
|
570
|
-
/**
|
|
571
|
-
* Slot to pass an anchor or link to skip the navigation and jump to main content.
|
|
572
|
-
*/
|
|
573
|
-
skipNavigation?: any;
|
|
547
|
+
controls?: string;
|
|
574
548
|
};
|
|
575
549
|
type NoTextProps = {
|
|
576
550
|
/**
|
|
@@ -582,67 +556,6 @@ type ValueLabelType = {
|
|
|
582
556
|
value: string;
|
|
583
557
|
label?: string;
|
|
584
558
|
};
|
|
585
|
-
type OverflowScrollButtonProps = {
|
|
586
|
-
/**
|
|
587
|
-
* Change amount of scroll distance when clicking on an overflow scroll arrow button.
|
|
588
|
-
*/
|
|
589
|
-
arrowScrollDistance?: number | string;
|
|
590
|
-
/**
|
|
591
|
-
* Set the text for the scroll left button
|
|
592
|
-
*/
|
|
593
|
-
scrollLeftText?: string;
|
|
594
|
-
/**
|
|
595
|
-
* Set the text for the scroll right button
|
|
596
|
-
*/
|
|
597
|
-
scrollRightText?: string;
|
|
598
|
-
};
|
|
599
|
-
type OverflowScrollButtonState = {
|
|
600
|
-
scroll: (left?: boolean) => void;
|
|
601
|
-
showScrollLeft?: boolean;
|
|
602
|
-
showScrollRight?: boolean;
|
|
603
|
-
evaluateScrollButtons: (tabList: Element) => void;
|
|
604
|
-
};
|
|
605
|
-
type SidebarProps = {
|
|
606
|
-
/**
|
|
607
|
-
* Set the expanded/collapsed state initially for the left sidebar
|
|
608
|
-
*/
|
|
609
|
-
expanded?: boolean | string;
|
|
610
|
-
/**
|
|
611
|
-
* Set the tooltip for the expand/collapse button
|
|
612
|
-
*/
|
|
613
|
-
expandButtonTooltip?: string;
|
|
614
|
-
/**
|
|
615
|
-
* Set the tooltip for the expand/collapse button based on the state. (only react|vue)
|
|
616
|
-
*/
|
|
617
|
-
expandButtonTooltipFn?: (open: boolean) => string;
|
|
618
|
-
/**
|
|
619
|
-
* Set the tooltip for the expand/collapse button based on the state. (only react|vue)
|
|
620
|
-
*/
|
|
621
|
-
onExpandButtonTooltipFn?: (open: boolean) => string;
|
|
622
|
-
};
|
|
623
|
-
type SidebarState = {
|
|
624
|
-
_open: boolean;
|
|
625
|
-
getToggleButtonText: () => string;
|
|
626
|
-
};
|
|
627
|
-
declare const NavigationItemGroupVariantList: readonly ["popover", "tree"];
|
|
628
|
-
type NavigationItemGroupVariantType = (typeof NavigationItemGroupVariantList)[number];
|
|
629
|
-
type NavigationItemGroupVariant = {
|
|
630
|
-
/**
|
|
631
|
-
* Selects the navigation interaction model: `popover` shows sub-items
|
|
632
|
-
* in a flyout menu, `tree` shows a collapsible tree structure.
|
|
633
|
-
* Note: This selects an interaction model, not just a visual variant.
|
|
634
|
-
*/
|
|
635
|
-
variant?: NavigationItemGroupVariantType;
|
|
636
|
-
};
|
|
637
|
-
declare const CollapsibleBehaviorList: readonly ["single", "multiple"];
|
|
638
|
-
type CollapsibleBehaviorType = (typeof CollapsibleBehaviorList)[number];
|
|
639
|
-
type CollapsibleBehaviorProps = {
|
|
640
|
-
/**
|
|
641
|
-
* To allow multiple items open at the same time or only 1 item
|
|
642
|
-
* @default 'multiple'
|
|
643
|
-
*/
|
|
644
|
-
behavior?: CollapsibleBehaviorType;
|
|
645
|
-
};
|
|
646
559
|
type DocumentScrollState = {
|
|
647
560
|
_documentScrollListenerCallbackId?: string;
|
|
648
561
|
handleDocumentScroll: (event: any, parent?: HTMLElement) => void;
|
|
@@ -726,16 +639,6 @@ declare const hasVoiceOver: () => boolean;
|
|
|
726
639
|
*/
|
|
727
640
|
declare const isIOSSafari: () => boolean;
|
|
728
641
|
declare const delay: (fn: () => void, ms: number) => Promise<unknown>;
|
|
729
|
-
/**
|
|
730
|
-
* Checks whether a CSS custom property on an element equals '1'.
|
|
731
|
-
* Useful for detecting CSS-driven boolean state (e.g. responsive breakpoints)
|
|
732
|
-
* without coupling JS to hardcoded breakpoint values.
|
|
733
|
-
*
|
|
734
|
-
* @param element - The element to read computed styles from
|
|
735
|
-
* @param property - The CSS custom property name (e.g. '--db-my-flag')
|
|
736
|
-
* @returns `true` if the trimmed property value is '1'
|
|
737
|
-
*/
|
|
738
|
-
declare const hasCssFlag: (element: Element, property: string) => boolean;
|
|
739
642
|
/**
|
|
740
643
|
* Converts boolean-like inputs to "true" or "false" strings.
|
|
741
644
|
* Handles HTML-style boolean attributes where an empty string or the
|
|
@@ -791,6 +694,15 @@ declare const getNotificationRole: ({ semantic, role, ariaLive }: {
|
|
|
791
694
|
role?: string;
|
|
792
695
|
ariaLive?: string;
|
|
793
696
|
}) => string | undefined;
|
|
697
|
+
declare const NAVIGATION_KEYS: readonly ["ArrowRight", "ArrowDown", "ArrowLeft", "ArrowUp", "Home", "End", "Enter", " "];
|
|
698
|
+
/**
|
|
699
|
+
* Checks whether the browser natively supports the `focusgroup` HTML attribute.
|
|
700
|
+
* When supported, the browser handles arrow-key navigation and roving tabindex
|
|
701
|
+
* for composite widgets (tablists, toolbars, etc.), so our JS fallback can be skipped.
|
|
702
|
+
*
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
declare const hasFocusgroupSupport: () => boolean;
|
|
794
706
|
|
|
795
707
|
type DBAccordionItemDefaultProps = {
|
|
796
708
|
/**
|
|
@@ -822,7 +734,13 @@ type DBAccordionItemState = DBAccordionItemDefaultState & ToggleEventState<HTMLE
|
|
|
822
734
|
|
|
823
735
|
declare const AccordionVariantList: readonly ["divider", "card"];
|
|
824
736
|
type AccordionVariantType = (typeof AccordionVariantList)[number];
|
|
737
|
+
declare const AccordionBehaviorList: readonly ["multiple", "single"];
|
|
738
|
+
type AccordionBehaviorType = (typeof AccordionBehaviorList)[number];
|
|
825
739
|
type DBAccordionDefaultProps = {
|
|
740
|
+
/**
|
|
741
|
+
* To allow multiple items open at the same time or only 1 item
|
|
742
|
+
*/
|
|
743
|
+
behavior?: AccordionBehaviorType;
|
|
826
744
|
/**
|
|
827
745
|
* The index of items which should be open when loading the accordion
|
|
828
746
|
*/
|
|
@@ -846,7 +764,7 @@ type DBAccordionDefaultProps = {
|
|
|
846
764
|
*/
|
|
847
765
|
variant?: AccordionVariantType;
|
|
848
766
|
};
|
|
849
|
-
type DBAccordionProps = DBAccordionDefaultProps & GlobalProps
|
|
767
|
+
type DBAccordionProps = DBAccordionDefaultProps & GlobalProps;
|
|
850
768
|
type DBAccordionDefaultState = {
|
|
851
769
|
_initOpenIndexDone: boolean;
|
|
852
770
|
_name?: string;
|
|
@@ -1173,614 +1091,69 @@ declare class DBCheckbox implements AfterViewInit, ControlValueAccessor, OnDestr
|
|
|
1173
1091
|
value: InputSignal<DBCheckboxProps["value"]>;
|
|
1174
1092
|
ariaDescribedBy: InputSignal<DBCheckboxProps["ariaDescribedBy"]>;
|
|
1175
1093
|
label: InputSignal<DBCheckboxProps["label"]>;
|
|
1176
|
-
messageIcon: InputSignal<DBCheckboxProps["messageIcon"]>;
|
|
1177
|
-
change: _angular_core.OutputEmitterRef<void | Event>;
|
|
1178
|
-
blur: _angular_core.OutputEmitterRef<void | FocusEvent>;
|
|
1179
|
-
focus: _angular_core.OutputEmitterRef<void | FocusEvent>;
|
|
1180
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1181
|
-
initialized: _angular_core.WritableSignal<boolean>;
|
|
1182
|
-
_id: _angular_core.WritableSignal<string | undefined>;
|
|
1183
|
-
_messageId: _angular_core.WritableSignal<string | undefined>;
|
|
1184
|
-
_validMessageId: _angular_core.WritableSignal<string | undefined>;
|
|
1185
|
-
_invalidMessageId: _angular_core.WritableSignal<string | undefined>;
|
|
1186
|
-
_invalidMessage: _angular_core.WritableSignal<string | undefined>;
|
|
1187
|
-
_descByIds: _angular_core.WritableSignal<string | undefined>;
|
|
1188
|
-
_voiceOverFallback: _angular_core.WritableSignal<string | undefined>;
|
|
1189
|
-
abortController: _angular_core.WritableSignal<AbortController | undefined>;
|
|
1190
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1191
|
-
hasValidState(): boolean;
|
|
1192
|
-
handleValidation(): void;
|
|
1193
|
-
handleChange(event: ChangeEvent<HTMLInputElement>, reset?: boolean): void;
|
|
1194
|
-
handleBlur(event: any): void;
|
|
1195
|
-
handleFocus(event: InteractionEvent<HTMLInputElement> | any): void;
|
|
1196
|
-
resetIds(): void;
|
|
1197
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1198
|
-
constructor(renderer: Renderer2);
|
|
1199
|
-
/**
|
|
1200
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1201
|
-
* @param element the ref for the component
|
|
1202
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1203
|
-
*/
|
|
1204
|
-
private enableAttributePassing;
|
|
1205
|
-
/** Signal Forms optional fields (Duck-Typing compatibility) */
|
|
1206
|
-
hidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1207
|
-
errors: InputSignal<readonly {
|
|
1208
|
-
message?: string;
|
|
1209
|
-
}[] | undefined>;
|
|
1210
|
-
/** @internal Signal Forms validation state */
|
|
1211
|
-
_validMessage: _angular_core.WritableSignal<string | undefined>;
|
|
1212
|
-
/** @internal Signal Forms validation state */
|
|
1213
|
-
_valid: _angular_core.WritableSignal<string | undefined>;
|
|
1214
|
-
/** Signal Forms touch output — emitted on blur to mark the control as touched */
|
|
1215
|
-
touch: _angular_core.OutputEmitterRef<void>;
|
|
1216
|
-
/**
|
|
1217
|
-
* Reflect Signal Forms hidden state to the host element.
|
|
1218
|
-
* This intentionally intercepts Angular's native [hidden] binding —
|
|
1219
|
-
* consumers using [hidden]="condition" will hide the component via
|
|
1220
|
-
* :host([hidden]) { display: none !important }.
|
|
1221
|
-
*/
|
|
1222
|
-
get isHidden(): boolean;
|
|
1223
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
1224
|
-
writeValue(value: any): void;
|
|
1225
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
1226
|
-
propagateChange(_: any): void;
|
|
1227
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
1228
|
-
registerOnChange(onChange: any): void;
|
|
1229
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
1230
|
-
registerOnTouched(onTouched: any): void;
|
|
1231
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
1232
|
-
propagateTouched(): void;
|
|
1233
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
1234
|
-
setDisabledState(disabled: boolean): void;
|
|
1235
|
-
ngAfterViewInit(): void;
|
|
1236
|
-
ngOnDestroy(): void;
|
|
1237
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBCheckbox, never>;
|
|
1238
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBCheckbox, "db-checkbox", never, { "invalidMessage": { "alias": "invalidMessage"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "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; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "disabled": "disabledChange"; "change": "change"; "blur": "blur"; "focus": "focus"; "touch": "touch"; }, never, ["*"], true, never>;
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
type DBControlPanelBrandDefaultProps = {};
|
|
1242
|
-
type DBControlPanelBrandProps = DBControlPanelBrandDefaultProps & GlobalProps;
|
|
1243
|
-
type DBControlPanelBrandDefaultState = {};
|
|
1244
|
-
type DBControlPanelBrandState = DBControlPanelBrandDefaultState & GlobalState;
|
|
1245
|
-
|
|
1246
|
-
declare class DBControlPanelBrand implements AfterViewInit, OnDestroy {
|
|
1247
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1248
|
-
id: InputSignal<DBControlPanelBrandProps["id"]>;
|
|
1249
|
-
propOverrides: InputSignal<DBControlPanelBrandProps["propOverrides"]>;
|
|
1250
|
-
className: InputSignal<DBControlPanelBrandProps["className"]>;
|
|
1251
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1252
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1253
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1254
|
-
constructor();
|
|
1255
|
-
/**
|
|
1256
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1257
|
-
* @param element the ref for the component
|
|
1258
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1259
|
-
*/
|
|
1260
|
-
private enableAttributePassing;
|
|
1261
|
-
ngAfterViewInit(): void;
|
|
1262
|
-
ngOnDestroy(): void;
|
|
1263
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelBrand, never>;
|
|
1264
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelBrand, "db-control-panel-brand", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
type DBControlPanelDesktopDefaultProps = {};
|
|
1268
|
-
type DBControlPanelDesktopProps = DBControlPanelDesktopDefaultProps & GlobalProps & ContainerWidthProps & ControlPanelProps & OrientationProps & SidebarProps;
|
|
1269
|
-
type DBControlPanelDesktopDefaultState = {};
|
|
1270
|
-
type DBControlPanelDesktopState = DBControlPanelDesktopDefaultState & GlobalState & ToggleEventState<HTMLButtonElement> & SidebarState & ResetIdState;
|
|
1271
|
-
|
|
1272
|
-
declare class DBControlPanelDesktop implements AfterViewInit, OnDestroy {
|
|
1273
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1274
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
1275
|
-
id: InputSignal<DBControlPanelDesktopProps["id"]>;
|
|
1276
|
-
propOverrides: InputSignal<DBControlPanelDesktopProps["propOverrides"]>;
|
|
1277
|
-
expanded: InputSignal<DBControlPanelDesktopProps["expanded"]>;
|
|
1278
|
-
expandButtonTooltip: InputSignal<DBControlPanelDesktopProps["expandButtonTooltip"]>;
|
|
1279
|
-
className: InputSignal<DBControlPanelDesktopProps["className"]>;
|
|
1280
|
-
width: InputSignal<DBControlPanelDesktopProps["width"]>;
|
|
1281
|
-
orientation: InputSignal<DBControlPanelDesktopProps["orientation"]>;
|
|
1282
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1283
|
-
_scrollContainerRef: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1284
|
-
_id: _angular_core.WritableSignal<string | undefined>;
|
|
1285
|
-
_open: _angular_core.WritableSignal<boolean>;
|
|
1286
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1287
|
-
handleToggle(event: any): void;
|
|
1288
|
-
getToggleButtonText(): string | undefined;
|
|
1289
|
-
resetIds(): void;
|
|
1290
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1291
|
-
constructor();
|
|
1292
|
-
/**
|
|
1293
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1294
|
-
* @param element the ref for the component
|
|
1295
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1296
|
-
*/
|
|
1297
|
-
private enableAttributePassing;
|
|
1298
|
-
ngOnInit(): void;
|
|
1299
|
-
ngAfterViewInit(): void;
|
|
1300
|
-
ngOnDestroy(): void;
|
|
1301
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelDesktop, never>;
|
|
1302
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelDesktop, "db-control-panel-desktop", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "expandButtonTooltip": { "alias": "expandButtonTooltip"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, never, ["[skip-navigation]", "[brand]", "*", "[meta]", "[primary-actions]", "[secondary-actions]"], true, never>;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
type DBControlPanelFlatIconDefaultProps = {
|
|
1306
|
-
/**
|
|
1307
|
-
* Slot to pass an anchor or link to skip the navigation and jump to main content.
|
|
1308
|
-
*/
|
|
1309
|
-
skipNavigation?: any;
|
|
1310
|
-
};
|
|
1311
|
-
type DBControlPanelFlatIconProps = DBControlPanelFlatIconDefaultProps & GlobalProps & NoTextProps;
|
|
1312
|
-
type DBControlPanelFlatIconDefaultState = {
|
|
1313
|
-
_resizeObserverCallbackId?: string;
|
|
1314
|
-
};
|
|
1315
|
-
type DBControlPanelFlatIconState = DBControlPanelFlatIconDefaultState & GlobalState;
|
|
1316
|
-
|
|
1317
|
-
declare class DBControlPanelFlatIcon implements AfterViewInit, OnDestroy {
|
|
1318
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
1319
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1320
|
-
id: InputSignal<DBControlPanelFlatIconProps["id"]>;
|
|
1321
|
-
propOverrides: InputSignal<DBControlPanelFlatIconProps["propOverrides"]>;
|
|
1322
|
-
noText: InputSignal<DBControlPanelFlatIconProps["noText"]>;
|
|
1323
|
-
className: InputSignal<DBControlPanelFlatIconProps["className"]>;
|
|
1324
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1325
|
-
_resizeObserverCallbackId: _angular_core.WritableSignal<string | undefined>;
|
|
1326
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1327
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1328
|
-
constructor();
|
|
1329
|
-
/**
|
|
1330
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1331
|
-
* @param element the ref for the component
|
|
1332
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1333
|
-
*/
|
|
1334
|
-
private enableAttributePassing;
|
|
1335
|
-
ngAfterViewInit(): void;
|
|
1336
|
-
ngOnDestroy(): void;
|
|
1337
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelFlatIcon, never>;
|
|
1338
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelFlatIcon, "db-control-panel-flat-icon", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "noText": { "alias": "noText"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["[skip-navigation]", "*"], true, never>;
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
type DBControlPanelMetaDefaultProps = {};
|
|
1342
|
-
type DBControlPanelMetaProps = DBControlPanelMetaDefaultProps & GlobalProps;
|
|
1343
|
-
type DBControlPanelMetaDefaultState = {};
|
|
1344
|
-
type DBControlPanelMetaState = DBControlPanelMetaDefaultState & GlobalState;
|
|
1345
|
-
|
|
1346
|
-
declare class DBControlPanelMeta implements AfterViewInit, OnDestroy {
|
|
1347
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1348
|
-
id: InputSignal<DBControlPanelMetaProps["id"]>;
|
|
1349
|
-
propOverrides: InputSignal<DBControlPanelMetaProps["propOverrides"]>;
|
|
1350
|
-
className: InputSignal<DBControlPanelMetaProps["className"]>;
|
|
1351
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1352
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1353
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1354
|
-
constructor();
|
|
1355
|
-
/**
|
|
1356
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1357
|
-
* @param element the ref for the component
|
|
1358
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1359
|
-
*/
|
|
1360
|
-
private enableAttributePassing;
|
|
1361
|
-
ngAfterViewInit(): void;
|
|
1362
|
-
ngOnDestroy(): void;
|
|
1363
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelMeta, never>;
|
|
1364
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelMeta, "db-control-panel-meta", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
type DBControlPanelMobileDefaultProps = {
|
|
1368
|
-
/**
|
|
1369
|
-
* Text to pass in a headline for the drawer header.
|
|
1370
|
-
*/
|
|
1371
|
-
drawerHeaderText?: string;
|
|
1372
|
-
/**
|
|
1373
|
-
* Sets the accessible label for the burger menu button of the mobile control panel.
|
|
1374
|
-
*/
|
|
1375
|
-
burgerMenuLabel?: string;
|
|
1376
|
-
/**
|
|
1377
|
-
* Change the position of the mobile content panel
|
|
1378
|
-
*/
|
|
1379
|
-
position?: ShellControlPanelMobilePositionType;
|
|
1380
|
-
};
|
|
1381
|
-
type DBControlPanelMobileProps = DBControlPanelMobileDefaultProps & GlobalProps & ToggleEventProps & ControlPanelProps;
|
|
1382
|
-
type DBControlPanelMobileDefaultState = {
|
|
1383
|
-
open: boolean;
|
|
1384
|
-
handleClose: (event: any) => void;
|
|
1385
|
-
};
|
|
1386
|
-
type DBControlPanelMobileState = DBControlPanelMobileDefaultState & GlobalState & ToggleEventState<HTMLElement> & NavigationBehaviorState;
|
|
1387
|
-
|
|
1388
|
-
declare class DBControlPanelMobile implements AfterViewInit, OnDestroy {
|
|
1389
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1390
|
-
protected readonly DEFAULT_BURGER_MENU: string;
|
|
1391
|
-
id: InputSignal<DBControlPanelMobileProps["id"]>;
|
|
1392
|
-
propOverrides: InputSignal<DBControlPanelMobileProps["propOverrides"]>;
|
|
1393
|
-
position: InputSignal<DBControlPanelMobileProps["position"]>;
|
|
1394
|
-
className: InputSignal<DBControlPanelMobileProps["className"]>;
|
|
1395
|
-
drawerHeaderText: InputSignal<DBControlPanelMobileProps["drawerHeaderText"]>;
|
|
1396
|
-
burgerMenuLabel: InputSignal<DBControlPanelMobileProps["burgerMenuLabel"]>;
|
|
1397
|
-
toggle: _angular_core.OutputEmitterRef<boolean | void>;
|
|
1398
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1399
|
-
open: _angular_core.WritableSignal<boolean>;
|
|
1400
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1401
|
-
handleToggle(event: any): void;
|
|
1402
|
-
handleClose(event: any): void;
|
|
1403
|
-
handleNavigationItemClick(event: any): void;
|
|
1404
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1405
|
-
constructor();
|
|
1406
|
-
/**
|
|
1407
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1408
|
-
* @param element the ref for the component
|
|
1409
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1410
|
-
*/
|
|
1411
|
-
private enableAttributePassing;
|
|
1412
|
-
ngAfterViewInit(): void;
|
|
1413
|
-
ngOnDestroy(): void;
|
|
1414
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelMobile, never>;
|
|
1415
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelMobile, "db-control-panel-mobile", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "drawerHeaderText": { "alias": "drawerHeaderText"; "required": false; "isSignal": true; }; "burgerMenuLabel": { "alias": "burgerMenuLabel"; "required": false; "isSignal": true; }; }, { "toggle": "toggle"; }, never, ["[skip-navigation]", "*", "[meta]", "[secondary-actions]", "[brand]", "[primary-actions]"], true, never>;
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
type DBControlPanelNavigationDefaultProps = {
|
|
1419
|
-
/**
|
|
1420
|
-
* Show or hide the tree line connecting nested navigation items in tree variant.
|
|
1421
|
-
* @default true
|
|
1422
|
-
*/
|
|
1423
|
-
showTreeLine?: boolean | string;
|
|
1424
|
-
};
|
|
1425
|
-
type DBControlPanelNavigationProps = DBControlPanelNavigationDefaultProps & GlobalProps & OverflowScrollButtonProps & NavigationItemGroupVariant & CollapsibleBehaviorProps;
|
|
1426
|
-
type DBControlPanelNavigationDefaultState = {
|
|
1427
|
-
onScroll: () => void;
|
|
1428
|
-
_shellMobile?: boolean;
|
|
1429
|
-
_shellDesktopPosition?: string | null;
|
|
1430
|
-
_handleSubNavigation: () => void;
|
|
1431
|
-
_handleTreeKeyDown: (event: any) => void;
|
|
1432
|
-
_handleTreeKeys: (event: any) => void;
|
|
1433
|
-
_handlePopoverKeys: (event: any) => void;
|
|
1434
|
-
_focusParentGroupButton: (activeElement: HTMLElement) => boolean;
|
|
1435
|
-
_closeSubMenuAndReturnToParent: (parentGroupMenu: Element) => void;
|
|
1436
|
-
_resizeObserverCallbackId?: string;
|
|
1437
|
-
_singleBehaviorObserver?: MutationObserver;
|
|
1438
|
-
_attachSingleBehaviorObserver: () => void;
|
|
1439
|
-
_setShellMobile: () => void;
|
|
1440
|
-
};
|
|
1441
|
-
type DBControlPanelNavigationState = DBControlPanelNavigationDefaultState & GlobalState & OverflowScrollButtonState & InitializedState;
|
|
1442
|
-
|
|
1443
|
-
declare class DBControlPanelNavigation implements AfterViewInit, OnDestroy {
|
|
1444
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
1445
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1446
|
-
protected readonly DEFAULT_SCROLL_LEFT: string;
|
|
1447
|
-
protected readonly DEFAULT_SCROLL_RIGHT: string;
|
|
1448
|
-
variant: InputSignal<DBControlPanelNavigationProps["variant"]>;
|
|
1449
|
-
behavior: InputSignal<DBControlPanelNavigationProps["behavior"]>;
|
|
1450
|
-
arrowScrollDistance: InputSignal<DBControlPanelNavigationProps["arrowScrollDistance"]>;
|
|
1451
|
-
id: InputSignal<DBControlPanelNavigationProps["id"]>;
|
|
1452
|
-
propOverrides: InputSignal<DBControlPanelNavigationProps["propOverrides"]>;
|
|
1453
|
-
showTreeLine: InputSignal<DBControlPanelNavigationProps["showTreeLine"]>;
|
|
1454
|
-
className: InputSignal<DBControlPanelNavigationProps["className"]>;
|
|
1455
|
-
scrollLeftText: InputSignal<DBControlPanelNavigationProps["scrollLeftText"]>;
|
|
1456
|
-
scrollRightText: InputSignal<DBControlPanelNavigationProps["scrollRightText"]>;
|
|
1457
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1458
|
-
menuRef: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1459
|
-
showScrollLeft: _angular_core.WritableSignal<boolean | undefined>;
|
|
1460
|
-
showScrollRight: _angular_core.WritableSignal<boolean | undefined>;
|
|
1461
|
-
_shellMobile: _angular_core.WritableSignal<boolean | undefined>;
|
|
1462
|
-
_shellDesktopPosition: _angular_core.WritableSignal<string | null | undefined>;
|
|
1463
|
-
initialized: _angular_core.WritableSignal<boolean>;
|
|
1464
|
-
_resizeObserverCallbackId: _angular_core.WritableSignal<string | undefined>;
|
|
1465
|
-
_singleBehaviorObserver: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1466
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1467
|
-
_setShellMobile(): void;
|
|
1468
|
-
_attachSingleBehaviorObserver(): void;
|
|
1469
|
-
evaluateScrollButtons(tList: Element): void;
|
|
1470
|
-
scroll(left?: boolean): void;
|
|
1471
|
-
onScroll(): void;
|
|
1472
|
-
_handleSubNavigation(): void;
|
|
1473
|
-
_handleTreeKeyDown(event: any): void;
|
|
1474
|
-
_focusParentGroupButton(activeElement: HTMLElement): boolean;
|
|
1475
|
-
_closeSubMenuAndReturnToParent(parentGroupMenu: Element): void;
|
|
1476
|
-
_handlePopoverKeys(event: any): void;
|
|
1477
|
-
_handleTreeKeys(event: any): void;
|
|
1478
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1479
|
-
constructor();
|
|
1480
|
-
/**
|
|
1481
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1482
|
-
* @param element the ref for the component
|
|
1483
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1484
|
-
*/
|
|
1485
|
-
private enableAttributePassing;
|
|
1486
|
-
ngAfterViewInit(): void;
|
|
1487
|
-
ngOnDestroy(): void;
|
|
1488
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelNavigation, never>;
|
|
1489
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelNavigation, "db-control-panel-navigation", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "behavior": { "alias": "behavior"; "required": false; "isSignal": true; }; "arrowScrollDistance": { "alias": "arrowScrollDistance"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "showTreeLine": { "alias": "showTreeLine"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "scrollLeftText": { "alias": "scrollLeftText"; "required": false; "isSignal": true; }; "scrollRightText": { "alias": "scrollRightText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
type DBControlPanelNavigationItemDefaultProps = {
|
|
1493
|
-
/**
|
|
1494
|
-
* Alternative indicator for active navigation item (bold font). In contrast to the use of aria-current="page" on the contained anchor, this does not guarantee correct a11y.
|
|
1495
|
-
*/
|
|
1496
|
-
active?: boolean;
|
|
1497
|
-
/**
|
|
1498
|
-
* If you use DBShell with controlPanelDesktopPosition="left" or DBControlPanelFlatIcon
|
|
1499
|
-
* you need to add a tooltip for collapsed navigation
|
|
1500
|
-
*/
|
|
1501
|
-
tooltip?: string;
|
|
1502
|
-
} & EndSlotProps & TextProps;
|
|
1503
|
-
type DBControlPanelNavigationItemProps = DBControlPanelNavigationItemDefaultProps & GlobalProps & IconProps & ShowIconProps & DisabledProps;
|
|
1504
|
-
type DBControlPanelNavigationItemDefaultState = {
|
|
1505
|
-
_tooltip?: string;
|
|
1506
|
-
_savedHref?: string;
|
|
1507
|
-
_role?: string;
|
|
1508
|
-
_attributeObserver?: MutationObserver;
|
|
1509
|
-
};
|
|
1510
|
-
type DBControlPanelNavigationItemState = DBControlPanelNavigationItemDefaultState & GlobalState & InitializedState;
|
|
1511
|
-
|
|
1512
|
-
declare class DBControlPanelNavigationItem implements AfterViewInit, OnDestroy {
|
|
1513
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1514
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
1515
|
-
tooltip: InputSignal<DBControlPanelNavigationItemProps["tooltip"]>;
|
|
1516
|
-
text: InputSignal<DBControlPanelNavigationItemProps["text"]>;
|
|
1517
|
-
disabled: InputSignal<DBControlPanelNavigationItemProps["disabled"]>;
|
|
1518
|
-
id: InputSignal<DBControlPanelNavigationItemProps["id"]>;
|
|
1519
|
-
propOverrides: InputSignal<DBControlPanelNavigationItemProps["propOverrides"]>;
|
|
1520
|
-
className: InputSignal<DBControlPanelNavigationItemProps["className"]>;
|
|
1521
|
-
icon: InputSignal<DBControlPanelNavigationItemProps["icon"]>;
|
|
1522
|
-
showIcon: InputSignal<DBControlPanelNavigationItemProps["showIcon"]>;
|
|
1523
|
-
active: InputSignal<DBControlPanelNavigationItemProps["active"]>;
|
|
1524
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1525
|
-
_tooltip: _angular_core.WritableSignal<string | undefined>;
|
|
1526
|
-
_savedHref: _angular_core.WritableSignal<string | undefined>;
|
|
1527
|
-
_role: _angular_core.WritableSignal<string | undefined>;
|
|
1528
|
-
_attributeObserver: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1529
|
-
initialized: _angular_core.WritableSignal<boolean>;
|
|
1530
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1531
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1532
|
-
constructor();
|
|
1533
|
-
/**
|
|
1534
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1535
|
-
* @param element the ref for the component
|
|
1536
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1537
|
-
*/
|
|
1538
|
-
private enableAttributePassing;
|
|
1539
|
-
ngAfterViewInit(): void;
|
|
1540
|
-
ngOnDestroy(): void;
|
|
1541
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelNavigationItem, never>;
|
|
1542
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelNavigationItem, "db-control-panel-navigation-item", never, { "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[end-slot]"], true, never>;
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
/**
|
|
1546
|
-
* Adjusts a sub-navigation's position so it stays within the viewport.
|
|
1547
|
-
* Called from _handleMouseEnter for the specific hovered item's menu.
|
|
1548
|
-
* Computes a precise pixel-based transform instead of the CSS's fixed
|
|
1549
|
-
* `translateY(-200%)` which overshoots for most menu heights.
|
|
1550
|
-
*
|
|
1551
|
-
* Only applies to menus NOT already positioned by handleFixedPopover
|
|
1552
|
-
* (i.e., nested sub-navigations that use position: absolute).
|
|
1553
|
-
*/
|
|
1554
|
-
declare const adjustNestedSubNavigationPosition: (element: HTMLElement) => void;
|
|
1555
|
-
type TriangleData = {
|
|
1556
|
-
itemRect: DOMRect;
|
|
1557
|
-
parentElementWidth: number;
|
|
1558
|
-
subNavigationHeight: number;
|
|
1559
|
-
padding: number;
|
|
1560
|
-
/**
|
|
1561
|
-
* The direction the sub-navigation opens relative to the element.
|
|
1562
|
-
* 'right' = sub-menu is to the right of the item
|
|
1563
|
-
* 'left' = sub-menu is to the left of the item
|
|
1564
|
-
* 'bottom' = sub-menu is below the item
|
|
1565
|
-
*/
|
|
1566
|
-
openDirection: 'left' | 'right' | 'bottom';
|
|
1567
|
-
};
|
|
1568
|
-
declare const isEventTargetNavigationItem: (event: unknown) => boolean;
|
|
1569
|
-
declare class NavigationItemSafeTriangle {
|
|
1570
|
-
private readonly element;
|
|
1571
|
-
private readonly subNavigation;
|
|
1572
|
-
private readonly parentSubNavigation;
|
|
1573
|
-
private triangleData?;
|
|
1574
|
-
private initialized;
|
|
1575
|
-
private mouseX;
|
|
1576
|
-
private mouseY;
|
|
1577
|
-
constructor(element: HTMLElement | null, subNavigation: HTMLElement | null);
|
|
1578
|
-
private init;
|
|
1579
|
-
enableFollow(): void;
|
|
1580
|
-
disableFollow(): void;
|
|
1581
|
-
private hasMouseEnteredSubNavigation;
|
|
1582
|
-
followByMouseEvent(event: {
|
|
1583
|
-
clientX: number;
|
|
1584
|
-
clientY: number;
|
|
1585
|
-
}): void;
|
|
1586
|
-
}
|
|
1587
|
-
declare const handleSubNavigationPosition: (element: HTMLElement, level?: number, vertical?: boolean) => void;
|
|
1588
|
-
|
|
1589
|
-
type DBControlPanelNavigationItemGroupDefaultProps = {
|
|
1590
|
-
/**
|
|
1591
|
-
* This is for mobile navigation only, if it is set the sub-navigation is a static overlay
|
|
1592
|
-
*/
|
|
1593
|
-
expanded?: boolean | string;
|
|
1594
|
-
/**
|
|
1595
|
-
* Change id for db-control-panel-navigation-item-group-menu
|
|
1596
|
-
*/
|
|
1597
|
-
menuId?: string;
|
|
1598
|
-
};
|
|
1599
|
-
type DBControlPanelNavigationItemGroupProps = DBControlPanelNavigationItemGroupDefaultProps & NavigationBackButtonProps & ClickEventProps<HTMLButtonElement> & GlobalProps & IconProps & ShowIconProps & DBControlPanelNavigationItemDefaultProps & DisabledProps;
|
|
1600
|
-
type DBControlPanelNavigationItemGroupDefaultState = {
|
|
1601
|
-
handleBackClick: (event: ClickEvent<HTMLButtonElement>) => void;
|
|
1602
|
-
isSubNavigationExpanded: boolean;
|
|
1603
|
-
_itemGroupMenuId: string;
|
|
1604
|
-
_intersectionObserverCallbackId?: string;
|
|
1605
|
-
_resizeObserverCallbackId?: string;
|
|
1606
|
-
_attributeObserver?: MutationObserver;
|
|
1607
|
-
_role?: string;
|
|
1608
|
-
_popoverListenersAttached: boolean;
|
|
1609
|
-
_isMobile: boolean;
|
|
1610
|
-
/**
|
|
1611
|
-
* Internal state property to show/hide sub-navigation button
|
|
1612
|
-
*/
|
|
1613
|
-
hasSubNavigation?: boolean;
|
|
1614
|
-
hasPopup?: boolean;
|
|
1615
|
-
navigationItemSafeTriangle?: NavigationItemSafeTriangle;
|
|
1616
|
-
autoClose?: boolean;
|
|
1617
|
-
onScroll: () => void;
|
|
1618
|
-
handleEscape: (event: any) => void;
|
|
1619
|
-
forceClose: () => void;
|
|
1620
|
-
_attachPopoverListeners: () => void;
|
|
1621
|
-
_detachPopoverListeners: () => void;
|
|
1622
|
-
_teardownPopover: () => void;
|
|
1623
|
-
_handleFocusIn: () => void;
|
|
1624
|
-
_handleFocusOut: (event: any) => void;
|
|
1625
|
-
_handleMouseEnter: () => void;
|
|
1626
|
-
_handleMouseLeave: () => void;
|
|
1627
|
-
_setSiblingsInert: (inert: boolean) => void;
|
|
1628
|
-
};
|
|
1629
|
-
type DBControlPanelNavigationItemGroupState = DBControlPanelNavigationItemGroupDefaultState & ClickEventState<HTMLButtonElement> & GlobalState & NavigationBehaviorState & InitializedState;
|
|
1630
|
-
|
|
1631
|
-
declare class DBControlPanelNavigationItemGroup implements AfterViewInit, OnDestroy {
|
|
1632
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1633
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
1634
|
-
protected readonly getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
|
|
1635
|
-
protected readonly DEFAULT_BACK: string;
|
|
1636
|
-
expanded: InputSignal<DBControlPanelNavigationItemGroupProps["expanded"]>;
|
|
1637
|
-
id: InputSignal<DBControlPanelNavigationItemGroupProps["id"]>;
|
|
1638
|
-
propOverrides: InputSignal<DBControlPanelNavigationItemGroupProps["propOverrides"]>;
|
|
1639
|
-
className: InputSignal<DBControlPanelNavigationItemGroupProps["className"]>;
|
|
1640
|
-
icon: InputSignal<DBControlPanelNavigationItemGroupProps["icon"]>;
|
|
1641
|
-
showIcon: InputSignal<DBControlPanelNavigationItemGroupProps["showIcon"]>;
|
|
1642
|
-
active: InputSignal<DBControlPanelNavigationItemGroupProps["active"]>;
|
|
1643
|
-
disabled: InputSignal<DBControlPanelNavigationItemGroupProps["disabled"]>;
|
|
1644
|
-
menuId: InputSignal<DBControlPanelNavigationItemGroupProps["menuId"]>;
|
|
1645
|
-
text: InputSignal<DBControlPanelNavigationItemGroupProps["text"]>;
|
|
1646
|
-
backButtonId: InputSignal<DBControlPanelNavigationItemGroupProps["backButtonId"]>;
|
|
1647
|
-
backButtonText: InputSignal<DBControlPanelNavigationItemGroupProps["backButtonText"]>;
|
|
1648
|
-
click: _angular_core.OutputEmitterRef<void | MouseEvent>;
|
|
1649
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1650
|
-
_buttonRef: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1651
|
-
_menuRef: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1652
|
-
hasSubNavigation: _angular_core.WritableSignal<boolean | undefined>;
|
|
1653
|
-
isSubNavigationExpanded: _angular_core.WritableSignal<boolean>;
|
|
1654
|
-
autoClose: _angular_core.WritableSignal<boolean | undefined>;
|
|
1655
|
-
hasPopup: _angular_core.WritableSignal<boolean | undefined>;
|
|
1656
|
-
initialized: _angular_core.WritableSignal<boolean>;
|
|
1657
|
-
_isMobile: _angular_core.WritableSignal<boolean>;
|
|
1658
|
-
_role: _angular_core.WritableSignal<string | undefined>;
|
|
1659
|
-
_attributeObserver: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1660
|
-
_itemGroupMenuId: _angular_core.WritableSignal<string>;
|
|
1661
|
-
_intersectionObserverCallbackId: _angular_core.WritableSignal<string | undefined>;
|
|
1662
|
-
_resizeObserverCallbackId: _angular_core.WritableSignal<string | undefined>;
|
|
1663
|
-
_popoverListenersAttached: _angular_core.WritableSignal<boolean>;
|
|
1664
|
-
navigationItemSafeTriangle: _angular_core.WritableSignal<NavigationItemSafeTriangle | undefined>;
|
|
1665
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1666
|
-
_handleFocusIn(): void;
|
|
1667
|
-
_handleFocusOut(event: any): void;
|
|
1668
|
-
_handleMouseEnter(): void;
|
|
1669
|
-
_handleMouseLeave(): void;
|
|
1670
|
-
_setSiblingsInert(inert: boolean): void;
|
|
1671
|
-
_attachPopoverListeners(): void;
|
|
1672
|
-
_detachPopoverListeners(): void;
|
|
1673
|
-
_teardownPopover(): void;
|
|
1674
|
-
onScroll(): void;
|
|
1675
|
-
handleNavigationItemClick(event: any): void;
|
|
1676
|
-
forceClose(): void;
|
|
1677
|
-
handleClick(event: ClickEvent<HTMLButtonElement> | any): void;
|
|
1678
|
-
handleBackClick(event: ClickEvent<HTMLButtonElement> | any): void;
|
|
1679
|
-
handleEscape(event: any): void;
|
|
1680
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1681
|
-
constructor();
|
|
1682
|
-
/**
|
|
1683
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1684
|
-
* @param element the ref for the component
|
|
1685
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1686
|
-
*/
|
|
1687
|
-
private enableAttributePassing;
|
|
1688
|
-
ngAfterViewInit(): void;
|
|
1689
|
-
ngOnDestroy(): void;
|
|
1690
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelNavigationItemGroup, never>;
|
|
1691
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelNavigationItemGroup, "db-control-panel-navigation-item-group", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "menuId": { "alias": "menuId"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "backButtonId": { "alias": "backButtonId"; "required": false; "isSignal": true; }; "backButtonText": { "alias": "backButtonText"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, ["[end-slot]", "*"], true, never>;
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
type DBControlPanelPrimaryActionsDefaultProps = {};
|
|
1695
|
-
type DBControlPanelPrimaryActionsProps = DBControlPanelPrimaryActionsDefaultProps & GlobalProps;
|
|
1696
|
-
type DBControlPanelPrimaryActionsDefaultState = {};
|
|
1697
|
-
type DBControlPanelPrimaryActionsState = DBControlPanelPrimaryActionsDefaultState & GlobalState;
|
|
1698
|
-
|
|
1699
|
-
declare class DBControlPanelPrimaryActions implements AfterViewInit, OnDestroy {
|
|
1700
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1701
|
-
id: InputSignal<DBControlPanelPrimaryActionsProps["id"]>;
|
|
1702
|
-
propOverrides: InputSignal<DBControlPanelPrimaryActionsProps["propOverrides"]>;
|
|
1703
|
-
className: InputSignal<DBControlPanelPrimaryActionsProps["className"]>;
|
|
1704
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1705
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1706
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1707
|
-
constructor();
|
|
1708
|
-
/**
|
|
1709
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1710
|
-
* @param element the ref for the component
|
|
1711
|
-
* @param customElementSelector the custom element like `my-component`
|
|
1712
|
-
*/
|
|
1713
|
-
private enableAttributePassing;
|
|
1714
|
-
ngAfterViewInit(): void;
|
|
1715
|
-
ngOnDestroy(): void;
|
|
1716
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBControlPanelPrimaryActions, never>;
|
|
1717
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBControlPanelPrimaryActions, "db-control-panel-primary-actions", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
type DBControlPanelSecondaryActionsDefaultProps = {};
|
|
1721
|
-
type DBControlPanelSecondaryActionsProps = DBControlPanelSecondaryActionsDefaultProps & GlobalProps;
|
|
1722
|
-
type DBControlPanelSecondaryActionsDefaultState = {};
|
|
1723
|
-
type DBControlPanelSecondaryActionsState = DBControlPanelSecondaryActionsDefaultState & GlobalState;
|
|
1724
|
-
|
|
1725
|
-
declare class DBControlPanelSecondaryActions implements AfterViewInit, OnDestroy {
|
|
1726
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1727
|
-
id: InputSignal<DBControlPanelSecondaryActionsProps["id"]>;
|
|
1728
|
-
propOverrides: InputSignal<DBControlPanelSecondaryActionsProps["propOverrides"]>;
|
|
1729
|
-
className: InputSignal<DBControlPanelSecondaryActionsProps["className"]>;
|
|
1094
|
+
messageIcon: InputSignal<DBCheckboxProps["messageIcon"]>;
|
|
1095
|
+
change: _angular_core.OutputEmitterRef<void | Event>;
|
|
1096
|
+
blur: _angular_core.OutputEmitterRef<void | FocusEvent>;
|
|
1097
|
+
focus: _angular_core.OutputEmitterRef<void | FocusEvent>;
|
|
1730
1098
|
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1099
|
+
initialized: _angular_core.WritableSignal<boolean>;
|
|
1100
|
+
_id: _angular_core.WritableSignal<string | undefined>;
|
|
1101
|
+
_messageId: _angular_core.WritableSignal<string | undefined>;
|
|
1102
|
+
_validMessageId: _angular_core.WritableSignal<string | undefined>;
|
|
1103
|
+
_invalidMessageId: _angular_core.WritableSignal<string | undefined>;
|
|
1104
|
+
_invalidMessage: _angular_core.WritableSignal<string | undefined>;
|
|
1105
|
+
_descByIds: _angular_core.WritableSignal<string | undefined>;
|
|
1106
|
+
_voiceOverFallback: _angular_core.WritableSignal<string | undefined>;
|
|
1107
|
+
abortController: _angular_core.WritableSignal<AbortController | undefined>;
|
|
1731
1108
|
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1109
|
+
hasValidState(): boolean;
|
|
1110
|
+
handleValidation(): void;
|
|
1111
|
+
handleChange(event: ChangeEvent<HTMLInputElement>, reset?: boolean): void;
|
|
1112
|
+
handleBlur(event: any): void;
|
|
1113
|
+
handleFocus(event: InteractionEvent<HTMLInputElement> | any): void;
|
|
1114
|
+
resetIds(): void;
|
|
1732
1115
|
setupObserver(element: HTMLElement | null): void;
|
|
1733
|
-
constructor();
|
|
1116
|
+
constructor(renderer: Renderer2);
|
|
1734
1117
|
/**
|
|
1735
1118
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
1736
1119
|
* @param element the ref for the component
|
|
1737
1120
|
* @param customElementSelector the custom element like `my-component`
|
|
1738
1121
|
*/
|
|
1739
1122
|
private enableAttributePassing;
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
/**
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* Target id for the skip-navigation link. Must match the `mainId` prop
|
|
1753
|
-
* on `DBShellContent` if you override it. Only one shell should exist per page.
|
|
1754
|
-
* @default 'main-content'
|
|
1755
|
-
*/
|
|
1756
|
-
target?: string;
|
|
1757
|
-
};
|
|
1758
|
-
type DBControlPanelSkipNavigationProps = DBControlPanelSkipNavigationDefaultProps & GlobalProps;
|
|
1759
|
-
type DBControlPanelSkipNavigationDefaultState = {};
|
|
1760
|
-
type DBControlPanelSkipNavigationState = DBControlPanelSkipNavigationDefaultState & GlobalState;
|
|
1761
|
-
|
|
1762
|
-
declare class DBControlPanelSkipNavigation implements AfterViewInit, OnDestroy {
|
|
1763
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
1764
|
-
id: InputSignal<DBControlPanelSkipNavigationProps["id"]>;
|
|
1765
|
-
propOverrides: InputSignal<DBControlPanelSkipNavigationProps["propOverrides"]>;
|
|
1766
|
-
className: InputSignal<DBControlPanelSkipNavigationProps["className"]>;
|
|
1767
|
-
text: InputSignal<DBControlPanelSkipNavigationProps["text"]>;
|
|
1768
|
-
target: InputSignal<DBControlPanelSkipNavigationProps["target"]>;
|
|
1769
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1770
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
1771
|
-
setupObserver(element: HTMLElement | null): void;
|
|
1772
|
-
templateStr_ggnerk(): string;
|
|
1773
|
-
constructor();
|
|
1123
|
+
/** Signal Forms optional fields (Duck-Typing compatibility) */
|
|
1124
|
+
hidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1125
|
+
errors: InputSignal<readonly {
|
|
1126
|
+
message?: string;
|
|
1127
|
+
}[] | undefined>;
|
|
1128
|
+
/** @internal Signal Forms validation state */
|
|
1129
|
+
_validMessage: _angular_core.WritableSignal<string | undefined>;
|
|
1130
|
+
/** @internal Signal Forms validation state */
|
|
1131
|
+
_valid: _angular_core.WritableSignal<string | undefined>;
|
|
1132
|
+
/** Signal Forms touch output — emitted on blur to mark the control as touched */
|
|
1133
|
+
touch: _angular_core.OutputEmitterRef<void>;
|
|
1774
1134
|
/**
|
|
1775
|
-
*
|
|
1776
|
-
*
|
|
1777
|
-
*
|
|
1135
|
+
* Reflect Signal Forms hidden state to the host element.
|
|
1136
|
+
* This intentionally intercepts Angular's native [hidden] binding —
|
|
1137
|
+
* consumers using [hidden]="condition" will hide the component via
|
|
1138
|
+
* :host([hidden]) { display: none !important }.
|
|
1778
1139
|
*/
|
|
1779
|
-
|
|
1140
|
+
get isHidden(): boolean;
|
|
1141
|
+
/** @legacy CVA - will be removed in a future major version */
|
|
1142
|
+
writeValue(value: any): void;
|
|
1143
|
+
/** @legacy CVA - will be removed in a future major version */
|
|
1144
|
+
propagateChange(_: any): void;
|
|
1145
|
+
/** @legacy CVA - will be removed in a future major version */
|
|
1146
|
+
registerOnChange(onChange: any): void;
|
|
1147
|
+
/** @legacy CVA - will be removed in a future major version */
|
|
1148
|
+
registerOnTouched(onTouched: any): void;
|
|
1149
|
+
/** @legacy CVA - will be removed in a future major version */
|
|
1150
|
+
propagateTouched(): void;
|
|
1151
|
+
/** @legacy CVA - will be removed in a future major version */
|
|
1152
|
+
setDisabledState(disabled: boolean): void;
|
|
1780
1153
|
ngAfterViewInit(): void;
|
|
1781
1154
|
ngOnDestroy(): void;
|
|
1782
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1783
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1155
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBCheckbox, never>;
|
|
1156
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBCheckbox, "db-checkbox", never, { "invalidMessage": { "alias": "invalidMessage"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "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; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "disabled": "disabledChange"; "change": "change"; "blur": "blur"; "focus": "focus"; "touch": "touch"; }, never, ["*"], true, never>;
|
|
1784
1157
|
}
|
|
1785
1158
|
|
|
1786
1159
|
type DBCustomButtonDefaultProps = {};
|
|
@@ -2075,7 +1448,7 @@ type DBCustomSelectDefaultState = {
|
|
|
2075
1448
|
searchEnabled: boolean;
|
|
2076
1449
|
amountOptions: number;
|
|
2077
1450
|
setDescById: (descId?: string) => void;
|
|
2078
|
-
handleTagRemove: (option: CustomSelectOptionType, event?: ClickEvent<HTMLButtonElement> | Event | void
|
|
1451
|
+
handleTagRemove: (option: CustomSelectOptionType, event?: ClickEvent<HTMLButtonElement> | Event | void) => void;
|
|
2079
1452
|
handleSummaryFocus: () => void;
|
|
2080
1453
|
handleSelect: (value?: string) => void;
|
|
2081
1454
|
handleSelectAll: (event: any) => void;
|
|
@@ -2503,7 +1876,7 @@ type DBDrawerDefaultProps = {
|
|
|
2503
1876
|
*/
|
|
2504
1877
|
footer?: any;
|
|
2505
1878
|
/**
|
|
2506
|
-
* Shows a spacing between
|
|
1879
|
+
* Shows a spacing between viewport frame and drawer-content to provide enough space for the backdrop
|
|
2507
1880
|
*/
|
|
2508
1881
|
showSpacing?: boolean | string;
|
|
2509
1882
|
/**
|
|
@@ -3098,6 +2471,34 @@ declare class DBNavigation implements AfterViewInit, OnDestroy {
|
|
|
3098
2471
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBNavigation, "db-navigation", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3099
2472
|
}
|
|
3100
2473
|
|
|
2474
|
+
type TriangleData = {
|
|
2475
|
+
itemRect: DOMRect;
|
|
2476
|
+
parentElementWidth: number;
|
|
2477
|
+
subNavigationHeight: number;
|
|
2478
|
+
padding: number;
|
|
2479
|
+
outsideVX: 'left' | 'right' | undefined;
|
|
2480
|
+
outsideVY: 'top' | 'bottom' | undefined;
|
|
2481
|
+
};
|
|
2482
|
+
declare const isEventTargetNavigationItem: (event: unknown) => boolean;
|
|
2483
|
+
declare class NavigationItemSafeTriangle {
|
|
2484
|
+
private readonly element;
|
|
2485
|
+
private readonly subNavigation;
|
|
2486
|
+
private readonly parentSubNavigation;
|
|
2487
|
+
private triangleData?;
|
|
2488
|
+
private initialized;
|
|
2489
|
+
private mouseX;
|
|
2490
|
+
private mouseY;
|
|
2491
|
+
constructor(element: HTMLElement | null, subNavigation: HTMLElement | null);
|
|
2492
|
+
private init;
|
|
2493
|
+
enableFollow(): void;
|
|
2494
|
+
disableFollow(): void;
|
|
2495
|
+
private getTriangleTipX;
|
|
2496
|
+
private getTriangleTipY;
|
|
2497
|
+
private hasMouseEnteredSubNavigation;
|
|
2498
|
+
private getTriangleCoordinates;
|
|
2499
|
+
followByMouseEvent(event: MouseEvent): void;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
3101
2502
|
type DBNavigationItemDefaultProps = {
|
|
3102
2503
|
/**
|
|
3103
2504
|
* Alternative indicator for active navigation item (bold font). In contrast to the use of aria-current="page" on the contained anchor, this does not guarantee correct a11y.
|
|
@@ -3696,164 +3097,13 @@ declare class DBSelect implements AfterViewInit, ControlValueAccessor, OnDestroy
|
|
|
3696
3097
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBSelect, "db-select", never, { "invalidMessage": { "alias": "invalidMessage"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "showMessage": { "alias": "showMessage"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "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; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "showEmptyOption": { "alias": "showEmptyOption"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showRequiredAsterisk": { "alias": "showRequiredAsterisk"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "click": "click"; "input": "input"; "change": "change"; "blur": "blur"; "focus": "focus"; "touch": "touch"; }, never, ["*"], true, never>;
|
|
3697
3098
|
}
|
|
3698
3099
|
|
|
3699
|
-
declare const ShellSubNavigationMobilePosition: readonly ["top", "bottom", "none"];
|
|
3700
|
-
type ShellSubNavigationMobilePositionType = (typeof ShellSubNavigationMobilePosition)[number];
|
|
3701
|
-
type DBShellDefaultProps = {
|
|
3702
|
-
/**
|
|
3703
|
-
* Change the position of the desktop content panel
|
|
3704
|
-
*/
|
|
3705
|
-
controlPanelDesktopPosition?: ShellControlPanelDesktopPositionType;
|
|
3706
|
-
/**
|
|
3707
|
-
* Change the position of the mobile content panel
|
|
3708
|
-
*/
|
|
3709
|
-
controlPanelMobilePosition?: ShellControlPanelMobilePositionType;
|
|
3710
|
-
/**
|
|
3711
|
-
* Set this to have a transition with opacity to avoid layout-shifts https://simonhearne.com/2021/layout-shifts-webfonts/
|
|
3712
|
-
*/
|
|
3713
|
-
fadeIn?: boolean | string;
|
|
3714
|
-
/**
|
|
3715
|
-
* Change the position of the optional sub navigation for desktop
|
|
3716
|
-
*/
|
|
3717
|
-
subNavigationDesktopPosition?: ShellControlPanelDesktopPositionType;
|
|
3718
|
-
/**
|
|
3719
|
-
* Change the position of the optional sub navigation for mobile
|
|
3720
|
-
*/
|
|
3721
|
-
subNavigationMobilePosition?: ShellSubNavigationMobilePositionType;
|
|
3722
|
-
/**
|
|
3723
|
-
* Shows sub-navigation
|
|
3724
|
-
*/
|
|
3725
|
-
showSubNavigation?: boolean | string;
|
|
3726
|
-
};
|
|
3727
|
-
type DBShellProps = DBShellDefaultProps & GlobalProps;
|
|
3728
|
-
type DBShellDefaultState = {
|
|
3729
|
-
fontsLoaded?: boolean;
|
|
3730
|
-
};
|
|
3731
|
-
type DBShellState = DBShellDefaultState & GlobalState;
|
|
3732
|
-
|
|
3733
|
-
declare class DBShell implements AfterViewInit, OnDestroy {
|
|
3734
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3735
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
3736
|
-
fadeIn: InputSignal<DBShellProps["fadeIn"]>;
|
|
3737
|
-
id: InputSignal<DBShellProps["id"]>;
|
|
3738
|
-
propOverrides: InputSignal<DBShellProps["propOverrides"]>;
|
|
3739
|
-
className: InputSignal<DBShellProps["className"]>;
|
|
3740
|
-
controlPanelDesktopPosition: InputSignal<DBShellProps["controlPanelDesktopPosition"]>;
|
|
3741
|
-
controlPanelMobilePosition: InputSignal<DBShellProps["controlPanelMobilePosition"]>;
|
|
3742
|
-
subNavigationDesktopPosition: InputSignal<DBShellProps["subNavigationDesktopPosition"]>;
|
|
3743
|
-
subNavigationMobilePosition: InputSignal<DBShellProps["subNavigationMobilePosition"]>;
|
|
3744
|
-
showSubNavigation: InputSignal<DBShellProps["showSubNavigation"]>;
|
|
3745
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3746
|
-
fontsLoaded: _angular_core.WritableSignal<boolean | undefined>;
|
|
3747
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
3748
|
-
setupObserver(element: HTMLElement | null): void;
|
|
3749
|
-
constructor();
|
|
3750
|
-
/**
|
|
3751
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3752
|
-
* @param element the ref for the component
|
|
3753
|
-
* @param customElementSelector the custom element like `my-component`
|
|
3754
|
-
*/
|
|
3755
|
-
private enableAttributePassing;
|
|
3756
|
-
ngAfterViewInit(): void;
|
|
3757
|
-
ngOnDestroy(): void;
|
|
3758
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBShell, never>;
|
|
3759
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBShell, "db-shell", never, { "fadeIn": { "alias": "fadeIn"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "controlPanelDesktopPosition": { "alias": "controlPanelDesktopPosition"; "required": false; "isSignal": true; }; "controlPanelMobilePosition": { "alias": "controlPanelMobilePosition"; "required": false; "isSignal": true; }; "subNavigationDesktopPosition": { "alias": "subNavigationDesktopPosition"; "required": false; "isSignal": true; }; "subNavigationMobilePosition": { "alias": "subNavigationMobilePosition"; "required": false; "isSignal": true; }; "showSubNavigation": { "alias": "showSubNavigation"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3760
|
-
}
|
|
3761
|
-
|
|
3762
|
-
declare const ShellContentVariantList: readonly ["auto", "fixed"];
|
|
3763
|
-
type ShellContentVariantType = (typeof ShellContentVariantList)[number];
|
|
3764
|
-
type DBShellContentDefaultProps = {
|
|
3765
|
-
/**
|
|
3766
|
-
* Adds `class` to `<main>` element
|
|
3767
|
-
*/
|
|
3768
|
-
mainClass?: string;
|
|
3769
|
-
/**
|
|
3770
|
-
* Overrides the default `id` on the `<main>` element.
|
|
3771
|
-
* This id is used as the target for the shell skip-navigation link.
|
|
3772
|
-
* Only one `DBShellContent` should exist per page to avoid duplicate IDs.
|
|
3773
|
-
* @default 'main-content'
|
|
3774
|
-
*/
|
|
3775
|
-
mainId?: string;
|
|
3776
|
-
/**
|
|
3777
|
-
* Adds `aria-label` to `<main>` element
|
|
3778
|
-
*/
|
|
3779
|
-
mainLabel?: string;
|
|
3780
|
-
/**
|
|
3781
|
-
* Change the scrolling behavior. `auto` scrolling on complete wrapper, `fixed` scrolling only in for main.
|
|
3782
|
-
* @default auto
|
|
3783
|
-
*/
|
|
3784
|
-
variant?: ShellContentVariantType;
|
|
3785
|
-
};
|
|
3786
|
-
type DBShellContentProps = DBShellContentDefaultProps & GlobalProps & StartSlotProps & EndSlotProps;
|
|
3787
|
-
type DBShellContentDefaultState = {};
|
|
3788
|
-
type DBShellContentState = DBShellContentDefaultState & GlobalState;
|
|
3789
|
-
|
|
3790
|
-
declare class DBShellContent implements AfterViewInit, OnDestroy {
|
|
3791
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3792
|
-
protected readonly MAIN_CONTENT_ID: string;
|
|
3793
|
-
id: InputSignal<DBShellContentProps["id"]>;
|
|
3794
|
-
propOverrides: InputSignal<DBShellContentProps["propOverrides"]>;
|
|
3795
|
-
className: InputSignal<DBShellContentProps["className"]>;
|
|
3796
|
-
variant: InputSignal<DBShellContentProps["variant"]>;
|
|
3797
|
-
mainId: InputSignal<DBShellContentProps["mainId"]>;
|
|
3798
|
-
mainClass: InputSignal<DBShellContentProps["mainClass"]>;
|
|
3799
|
-
mainLabel: InputSignal<DBShellContentProps["mainLabel"]>;
|
|
3800
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3801
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
3802
|
-
setupObserver(element: HTMLElement | null): void;
|
|
3803
|
-
constructor();
|
|
3804
|
-
/**
|
|
3805
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3806
|
-
* @param element the ref for the component
|
|
3807
|
-
* @param customElementSelector the custom element like `my-component`
|
|
3808
|
-
*/
|
|
3809
|
-
private enableAttributePassing;
|
|
3810
|
-
ngAfterViewInit(): void;
|
|
3811
|
-
ngOnDestroy(): void;
|
|
3812
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBShellContent, never>;
|
|
3813
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBShellContent, "db-shell-content", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "mainId": { "alias": "mainId"; "required": false; "isSignal": true; }; "mainClass": { "alias": "mainClass"; "required": false; "isSignal": true; }; "mainLabel": { "alias": "mainLabel"; "required": false; "isSignal": true; }; }, {}, never, ["[start-slot]", "*", "[end-slot]"], true, never>;
|
|
3814
|
-
}
|
|
3815
|
-
|
|
3816
|
-
type DBShellSubNavigationDefaultProps = {};
|
|
3817
|
-
type DBShellSubNavigationProps = DBShellSubNavigationDefaultProps & GlobalProps & SidebarProps;
|
|
3818
|
-
type DBShellSubNavigationDefaultState = {};
|
|
3819
|
-
type DBShellSubNavigationState = DBShellSubNavigationDefaultState & GlobalState & ToggleEventState<HTMLButtonElement> & SidebarState;
|
|
3820
|
-
|
|
3821
|
-
declare class DBShellSubNavigation implements AfterViewInit, OnDestroy {
|
|
3822
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
3823
|
-
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3824
|
-
expanded: InputSignal<DBShellSubNavigationProps["expanded"]>;
|
|
3825
|
-
expandButtonTooltip: InputSignal<DBShellSubNavigationProps["expandButtonTooltip"]>;
|
|
3826
|
-
id: InputSignal<DBShellSubNavigationProps["id"]>;
|
|
3827
|
-
propOverrides: InputSignal<DBShellSubNavigationProps["propOverrides"]>;
|
|
3828
|
-
className: InputSignal<DBShellSubNavigationProps["className"]>;
|
|
3829
|
-
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3830
|
-
_id: _angular_core.WritableSignal<string | undefined>;
|
|
3831
|
-
_open: _angular_core.WritableSignal<boolean>;
|
|
3832
|
-
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
3833
|
-
handleToggle(event: any): void;
|
|
3834
|
-
getToggleButtonText(): string | undefined;
|
|
3835
|
-
setupObserver(element: HTMLElement | null): void;
|
|
3836
|
-
constructor();
|
|
3837
|
-
/**
|
|
3838
|
-
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3839
|
-
* @param element the ref for the component
|
|
3840
|
-
* @param customElementSelector the custom element like `my-component`
|
|
3841
|
-
*/
|
|
3842
|
-
private enableAttributePassing;
|
|
3843
|
-
ngOnInit(): void;
|
|
3844
|
-
ngAfterViewInit(): void;
|
|
3845
|
-
ngOnDestroy(): void;
|
|
3846
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBShellSubNavigation, never>;
|
|
3847
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBShellSubNavigation, "db-shell-sub-navigation", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "expandButtonTooltip": { "alias": "expandButtonTooltip"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3848
|
-
}
|
|
3849
|
-
|
|
3850
3100
|
declare const StackVariantList: readonly ["simple", "divider"];
|
|
3851
3101
|
type StackVariantType = (typeof StackVariantList)[number];
|
|
3852
3102
|
declare const StackDirectionList: readonly ["row", "column"];
|
|
3853
3103
|
type StackDirectionType = (typeof StackDirectionList)[number];
|
|
3854
3104
|
declare const StackAlignmentList: readonly ["stretch", "start", "end", "center"];
|
|
3855
3105
|
type StackAlignmentType = (typeof StackAlignmentList)[number];
|
|
3856
|
-
declare const StackJustifyContentList: readonly ["space-between", "start", "
|
|
3106
|
+
declare const StackJustifyContentList: readonly ["space-between", "start", "center", "end"];
|
|
3857
3107
|
type StackJustifyContentType = (typeof StackJustifyContentList)[number];
|
|
3858
3108
|
type DBStackDefaultProps = {
|
|
3859
3109
|
/**
|
|
@@ -4020,11 +3270,12 @@ declare class DBSwitch implements AfterViewInit, ControlValueAccessor, OnDestroy
|
|
|
4020
3270
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBSwitch, "db-switch", never, { "invalidMessage": { "alias": "invalidMessage"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "validation": { "alias": "validation"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "showMessage": { "alias": "showMessage"; "required": false; "isSignal": true; }; "validMessage": { "alias": "validMessage"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "visualAid": { "alias": "visualAid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "showRequiredAsterisk": { "alias": "showRequiredAsterisk"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "iconLeading": { "alias": "iconLeading"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconTrailing": { "alias": "iconTrailing"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "disabled": "disabledChange"; "change": "change"; "blur": "blur"; "focus": "focus"; "touch": "touch"; }, never, ["*"], true, never>;
|
|
4021
3271
|
}
|
|
4022
3272
|
|
|
3273
|
+
/**
|
|
3274
|
+
* DBTabItem is designed to be used exclusively inside a DBTabs container.
|
|
3275
|
+
* The parent DBTabs manages selection state (aria-selected, tabindex) via direct
|
|
3276
|
+
* DOM attribute manipulation. DBTabItem itself is purely presentational.
|
|
3277
|
+
*/
|
|
4023
3278
|
type DBTabItemDefaultProps = {
|
|
4024
|
-
/**
|
|
4025
|
-
* To control the component
|
|
4026
|
-
*/
|
|
4027
|
-
checked?: boolean | string;
|
|
4028
3279
|
/**
|
|
4029
3280
|
* The disabled attribute can be set to keep a user from clicking on the tab-item.
|
|
4030
3281
|
*/
|
|
@@ -4034,52 +3285,58 @@ type DBTabItemDefaultProps = {
|
|
|
4034
3285
|
*/
|
|
4035
3286
|
label?: string;
|
|
4036
3287
|
/**
|
|
4037
|
-
*
|
|
3288
|
+
* Set the tabIndex manually (internal use for roving tabindex).
|
|
4038
3289
|
*/
|
|
4039
|
-
|
|
3290
|
+
tabIndex?: number | string;
|
|
3291
|
+
/**
|
|
3292
|
+
* Semantic value of this tab item. When set, onIndexChange will emit this value
|
|
3293
|
+
* (via the onValueChange event) instead of only the numeric index.
|
|
3294
|
+
* Useful for form binding (e.g. Angular FormControl, React useState).
|
|
3295
|
+
*/
|
|
3296
|
+
value?: string;
|
|
4040
3297
|
};
|
|
4041
|
-
type DBTabItemProps =
|
|
3298
|
+
type DBTabItemProps = DBTabItemDefaultProps & Omit<GlobalProps, 'id' | 'propOverrides'> & IconProps & ShowIconProps & IconTrailingProps & IconLeadingProps & ShowIconTrailingProps & ShowIconLeadingProps & ActiveProps & WidthProps & EndSlotProps;
|
|
4042
3299
|
type DBTabItemDefaultState = {
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
3300
|
+
_resizeObserver: ResizeObserver | null | undefined;
|
|
3301
|
+
_mutationObserver: MutationObserver | null | undefined;
|
|
3302
|
+
_setupRafId: number | null;
|
|
3303
|
+
_unmounted: boolean;
|
|
3304
|
+
isTruncated: boolean;
|
|
3305
|
+
_cleanupTooltipAria: () => void;
|
|
3306
|
+
checkTruncation: () => void;
|
|
3307
|
+
tooltipText: string;
|
|
3308
|
+
};
|
|
3309
|
+
type DBTabItemState = DBTabItemDefaultState & GlobalState & InitializedState;
|
|
3310
|
+
|
|
3311
|
+
declare class DBTabItem implements AfterViewInit, OnDestroy {
|
|
4052
3312
|
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
4053
|
-
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
4054
3313
|
protected readonly getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
|
|
4055
|
-
|
|
4056
|
-
name: InputSignal<DBTabItemProps["name"]>;
|
|
4057
|
-
className: InputSignal<DBTabItemProps["className"]>;
|
|
4058
|
-
id: InputSignal<DBTabItemProps["id"]>;
|
|
4059
|
-
propOverrides: InputSignal<DBTabItemProps["propOverrides"]>;
|
|
3314
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
4060
3315
|
iconLeading: InputSignal<DBTabItemProps["iconLeading"]>;
|
|
4061
3316
|
icon: InputSignal<DBTabItemProps["icon"]>;
|
|
4062
3317
|
iconTrailing: InputSignal<DBTabItemProps["iconTrailing"]>;
|
|
3318
|
+
label: InputSignal<DBTabItemProps["label"]>;
|
|
3319
|
+
className: InputSignal<DBTabItemProps["className"]>;
|
|
3320
|
+
disabled: ModelSignal<DBTabItemProps["disabled"]>;
|
|
3321
|
+
active: InputSignal<DBTabItemProps["active"]>;
|
|
3322
|
+
value: InputSignal<DBTabItemProps["value"]>;
|
|
4063
3323
|
showIconLeading: InputSignal<DBTabItemProps["showIconLeading"]>;
|
|
4064
3324
|
showIcon: InputSignal<DBTabItemProps["showIcon"]>;
|
|
4065
3325
|
showIconTrailing: InputSignal<DBTabItemProps["showIconTrailing"]>;
|
|
4066
|
-
noText: InputSignal<DBTabItemProps["noText"]>;
|
|
4067
|
-
disabled: ModelSignal<DBTabItemProps["disabled"]>;
|
|
4068
|
-
checked: ModelSignal<DBTabItemProps["checked"]>;
|
|
4069
|
-
label: InputSignal<DBTabItemProps["label"]>;
|
|
4070
|
-
change: _angular_core.OutputEmitterRef<void | Event>;
|
|
4071
3326
|
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
4072
|
-
|
|
4073
|
-
_name: _angular_core.WritableSignal<string | undefined>;
|
|
3327
|
+
_labelRef: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
4074
3328
|
initialized: _angular_core.WritableSignal<boolean>;
|
|
4075
|
-
|
|
4076
|
-
|
|
3329
|
+
isTruncated: _angular_core.WritableSignal<boolean>;
|
|
3330
|
+
tooltipText: _angular_core.WritableSignal<string>;
|
|
3331
|
+
_resizeObserver: _angular_core.WritableSignal<ResizeObserver | null | undefined>;
|
|
3332
|
+
_mutationObserver: _angular_core.WritableSignal<MutationObserver | null | undefined>;
|
|
3333
|
+
_setupRafId: _angular_core.WritableSignal<number | null>;
|
|
3334
|
+
_unmounted: _angular_core.WritableSignal<boolean>;
|
|
4077
3335
|
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
handleChange(event: any): void;
|
|
3336
|
+
_cleanupTooltipAria(): void;
|
|
3337
|
+
checkTruncation(): void;
|
|
4081
3338
|
setupObserver(element: HTMLElement | null): void;
|
|
4082
|
-
constructor(
|
|
3339
|
+
constructor();
|
|
4083
3340
|
/**
|
|
4084
3341
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
4085
3342
|
* @param element the ref for the component
|
|
@@ -4100,35 +3357,25 @@ declare class DBTabItem implements AfterViewInit, ControlValueAccessor, OnDestro
|
|
|
4100
3357
|
* :host([hidden]) { display: none !important }.
|
|
4101
3358
|
*/
|
|
4102
3359
|
get isHidden(): boolean;
|
|
4103
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
4104
|
-
writeValue(value: any): void;
|
|
4105
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
4106
|
-
propagateChange(_: any): void;
|
|
4107
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
4108
|
-
registerOnChange(onChange: any): void;
|
|
4109
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
4110
|
-
registerOnTouched(onTouched: any): void;
|
|
4111
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
4112
|
-
propagateTouched(): void;
|
|
4113
|
-
/** @legacy CVA - will be removed in a future major version */
|
|
4114
|
-
setDisabledState(disabled: boolean): void;
|
|
4115
3360
|
ngAfterViewInit(): void;
|
|
4116
3361
|
ngOnDestroy(): void;
|
|
4117
3362
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTabItem, never>;
|
|
4118
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabItem, "db-tab-item", never, { "
|
|
3363
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabItem, "db-tab-item", never, { "iconLeading": { "alias": "iconLeading"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconTrailing": { "alias": "iconTrailing"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "showIconLeading": { "alias": "showIconLeading"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "showIconTrailing": { "alias": "showIconTrailing"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "touch": "touch"; }, never, ["*", "[end-slot]"], true, never>;
|
|
4119
3364
|
}
|
|
4120
3365
|
|
|
4121
|
-
type
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
3366
|
+
type DBTabListProps = GlobalProps & OrientationProps;
|
|
3367
|
+
interface DBTabListState extends GlobalState {
|
|
3368
|
+
_id?: string;
|
|
3369
|
+
}
|
|
4125
3370
|
|
|
4126
3371
|
declare class DBTabList implements AfterViewInit, OnDestroy {
|
|
4127
3372
|
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
4128
3373
|
id: InputSignal<DBTabListProps["id"]>;
|
|
4129
3374
|
propOverrides: InputSignal<DBTabListProps["propOverrides"]>;
|
|
4130
3375
|
className: InputSignal<DBTabListProps["className"]>;
|
|
3376
|
+
orientation: InputSignal<DBTabListProps["orientation"]>;
|
|
4131
3377
|
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3378
|
+
_id: _angular_core.WritableSignal<string | undefined>;
|
|
4132
3379
|
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
4133
3380
|
setupObserver(element: HTMLElement | null): void;
|
|
4134
3381
|
constructor();
|
|
@@ -4141,7 +3388,7 @@ declare class DBTabList implements AfterViewInit, OnDestroy {
|
|
|
4141
3388
|
ngAfterViewInit(): void;
|
|
4142
3389
|
ngOnDestroy(): void;
|
|
4143
3390
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTabList, never>;
|
|
4144
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabList, "db-tab-list", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3391
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabList, "db-tab-list", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4145
3392
|
}
|
|
4146
3393
|
|
|
4147
3394
|
type DBTabPanelDefaultProps = {
|
|
@@ -4149,16 +3396,17 @@ type DBTabPanelDefaultProps = {
|
|
|
4149
3396
|
* The content if you don't want to use children.
|
|
4150
3397
|
*/
|
|
4151
3398
|
content?: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* If the panel is hidden.
|
|
3401
|
+
*/
|
|
3402
|
+
hidden?: boolean;
|
|
4152
3403
|
};
|
|
4153
|
-
type DBTabPanelProps = DBTabPanelDefaultProps & GlobalProps
|
|
4154
|
-
type DBTabPanelDefaultState = {};
|
|
4155
|
-
type DBTabPanelState = DBTabPanelDefaultState & GlobalState;
|
|
3404
|
+
type DBTabPanelProps = DBTabPanelDefaultProps & Omit<GlobalProps, 'id' | 'propOverrides'>;
|
|
4156
3405
|
|
|
4157
3406
|
declare class DBTabPanel implements AfterViewInit, OnDestroy {
|
|
4158
3407
|
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
4159
3408
|
className: InputSignal<DBTabPanelProps["className"]>;
|
|
4160
|
-
|
|
4161
|
-
propOverrides: InputSignal<DBTabPanelProps["propOverrides"]>;
|
|
3409
|
+
hidden: InputSignal<DBTabPanelProps["hidden"]>;
|
|
4162
3410
|
content: InputSignal<DBTabPanelProps["content"]>;
|
|
4163
3411
|
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
4164
3412
|
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
@@ -4173,7 +3421,7 @@ declare class DBTabPanel implements AfterViewInit, OnDestroy {
|
|
|
4173
3421
|
ngAfterViewInit(): void;
|
|
4174
3422
|
ngOnDestroy(): void;
|
|
4175
3423
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTabPanel, never>;
|
|
4176
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabPanel, "db-tab-panel", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "
|
|
3424
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabPanel, "db-tab-panel", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4177
3425
|
}
|
|
4178
3426
|
|
|
4179
3427
|
type DBTableDataCellDefaultProps = {};
|
|
@@ -4573,12 +3821,28 @@ declare class DBTableRow implements AfterViewInit {
|
|
|
4573
3821
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableRow, "db-table-row", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "subHeaderEmphasis": { "alias": "subHeaderEmphasis"; "required": false; "isSignal": true; }; "cells": { "alias": "cells"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4574
3822
|
}
|
|
4575
3823
|
|
|
3824
|
+
type TabItemAlignmentType = AlignmentType;
|
|
3825
|
+
type TabItemAlignmentProps = {
|
|
3826
|
+
/**
|
|
3827
|
+
* Define the tab-item alignment in full width
|
|
3828
|
+
*/
|
|
3829
|
+
tabItemAlignment?: TabItemAlignmentType | string;
|
|
3830
|
+
};
|
|
4576
3831
|
declare const TabsBehaviorList: readonly ["scrollbar", "arrows"];
|
|
4577
3832
|
type TabsBehaviorType = (typeof TabsBehaviorList)[number];
|
|
4578
3833
|
declare const TabsInitialSelectedModeList: readonly ["auto", "manually"];
|
|
4579
3834
|
type TabsInitialSelectedModeType = (typeof TabsInitialSelectedModeList)[number];
|
|
4580
|
-
type DBSimpleTabProps = DBTabItemProps & DBTabPanelProps
|
|
3835
|
+
type DBSimpleTabProps = DBTabItemProps & DBTabPanelProps & {
|
|
3836
|
+
/**
|
|
3837
|
+
* Accessible label for icon-only tabs (rendered as aria-label on the tab button).
|
|
3838
|
+
*/
|
|
3839
|
+
ariaLabel?: string;
|
|
3840
|
+
};
|
|
4581
3841
|
type DBTabsDefaultProps = {
|
|
3842
|
+
/**
|
|
3843
|
+
* Change amount of distance if you click on an arrow, only available with behavior="arrows"
|
|
3844
|
+
*/
|
|
3845
|
+
arrowScrollDistance?: number | string;
|
|
4582
3846
|
/**
|
|
4583
3847
|
* Show a scrollbar or buttons with arrows to navigate for horizontal tabs with overflow visible
|
|
4584
3848
|
*/
|
|
@@ -4587,83 +3851,172 @@ type DBTabsDefaultProps = {
|
|
|
4587
3851
|
* Default behavior is auto selecting the first tab, change selected tab by index
|
|
4588
3852
|
*/
|
|
4589
3853
|
initialSelectedIndex?: number | string;
|
|
3854
|
+
/**
|
|
3855
|
+
* Controlled active tab index. When set, the component becomes controlled:
|
|
3856
|
+
* the consumer is responsible for updating this value in the onIndexChange handler.
|
|
3857
|
+
* Takes precedence over initialSelectedIndex after mount.
|
|
3858
|
+
*/
|
|
3859
|
+
activeIndex?: number | string;
|
|
4590
3860
|
/**
|
|
4591
3861
|
* Default behavior is auto selecting the first tab, disable it with 'manually'
|
|
4592
3862
|
*/
|
|
4593
3863
|
initialSelectedMode?: TabsInitialSelectedModeType;
|
|
4594
3864
|
/**
|
|
4595
|
-
*
|
|
3865
|
+
* Accessible label for the tab bar (used as aria-label on the tablist).
|
|
4596
3866
|
*/
|
|
4597
|
-
|
|
3867
|
+
label?: string;
|
|
4598
3868
|
/**
|
|
4599
3869
|
* Provide simple tabs with label + text as content
|
|
4600
3870
|
*/
|
|
4601
3871
|
tabs?: DBSimpleTabProps[] | string;
|
|
3872
|
+
/**
|
|
3873
|
+
* Width of the tab-items. Auto width based on tab-item size, full width based on parent elements width.
|
|
3874
|
+
*/
|
|
3875
|
+
tabItemWidth?: WidthType | string;
|
|
3876
|
+
/**
|
|
3877
|
+
* Accessible label for the "scroll towards start" button (i18n). Only used with behavior="arrows".
|
|
3878
|
+
*/
|
|
3879
|
+
scrollStartLabel?: string;
|
|
3880
|
+
/**
|
|
3881
|
+
* Accessible label for the "scroll towards end" button (i18n). Only used with behavior="arrows".
|
|
3882
|
+
*/
|
|
3883
|
+
scrollEndLabel?: string;
|
|
4602
3884
|
};
|
|
4603
3885
|
type DBTabsEventProps = {
|
|
4604
3886
|
/**
|
|
4605
3887
|
* Informs the user if the current tab index has changed.
|
|
4606
3888
|
*/
|
|
4607
|
-
indexChange?: (index
|
|
3889
|
+
indexChange?: (index: number) => void;
|
|
4608
3890
|
/**
|
|
4609
3891
|
* Informs the user if the current tab index has changed.
|
|
4610
3892
|
*/
|
|
4611
|
-
onIndexChange?: (index
|
|
3893
|
+
onIndexChange?: (index: number) => void;
|
|
4612
3894
|
/**
|
|
4613
|
-
*
|
|
3895
|
+
* Fires when the active tab changes and a `value` prop is set on the tab items.
|
|
3896
|
+
* Payload is the `value` string of the newly active tab item, or undefined
|
|
3897
|
+
* if the tab item has no `value` prop set.
|
|
3898
|
+
* Use this for form binding (e.g. Angular FormControl, React controlled state).
|
|
4614
3899
|
*/
|
|
4615
|
-
|
|
3900
|
+
valueChange?: (value?: string) => void;
|
|
4616
3901
|
/**
|
|
4617
|
-
*
|
|
3902
|
+
* Fires when the active tab changes and a `value` prop is set on the tab items.
|
|
3903
|
+
* Payload is the `value` string of the newly active tab item, or undefined
|
|
3904
|
+
* if the tab item has no `value` prop set.
|
|
3905
|
+
* Use this for form binding (e.g. Angular FormControl, React controlled state).
|
|
4618
3906
|
*/
|
|
4619
|
-
|
|
3907
|
+
onValueChange?: (value?: string) => void;
|
|
4620
3908
|
};
|
|
4621
|
-
type DBTabsProps = DBTabsDefaultProps & GlobalProps & OrientationProps &
|
|
3909
|
+
type DBTabsProps = DBTabsDefaultProps & GlobalProps & OrientationProps & TabItemAlignmentProps & DBTabsEventProps;
|
|
4622
3910
|
type DBTabsDefaultState = {
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
3911
|
+
_id?: string;
|
|
3912
|
+
_appliedLabel?: string;
|
|
3913
|
+
resetIds: () => void;
|
|
3914
|
+
_getScrollContainer: () => Element | null;
|
|
3915
|
+
scroll: (toStart?: boolean) => void;
|
|
3916
|
+
showScrollStart?: boolean;
|
|
3917
|
+
showScrollEnd?: boolean;
|
|
3918
|
+
_isRtl: () => boolean;
|
|
3919
|
+
evaluateScrollButtons: (tabList: Element) => void;
|
|
3920
|
+
getTabs: () => DBSimpleTabProps[];
|
|
3921
|
+
getInitialIndex: () => number;
|
|
3922
|
+
getRenderIndex: () => number;
|
|
3923
|
+
getRenderFocusIndex: () => number;
|
|
3924
|
+
getActiveChildIndex: () => number;
|
|
3925
|
+
shouldUseActiveChild: (hashApplied: boolean) => boolean;
|
|
3926
|
+
moveRovingTabindex: (focusIndex: number) => void;
|
|
3927
|
+
_isOwnedPanel: (panel: HTMLElement) => boolean;
|
|
4626
3928
|
initTabList: () => void;
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
3929
|
+
_teardownScrollHandlers: () => void;
|
|
3930
|
+
_resolveHashIndex: () => {
|
|
3931
|
+
startIndex: number;
|
|
3932
|
+
hashApplied: boolean;
|
|
3933
|
+
};
|
|
3934
|
+
_setupObserver: () => void;
|
|
3935
|
+
initTabs: () => void;
|
|
3936
|
+
syncSelection: (activeIndex?: number) => void;
|
|
3937
|
+
_tabButtons: HTMLElement[];
|
|
3938
|
+
_tabPanels: HTMLElement[];
|
|
3939
|
+
_resizeObserver?: ResizeObserver | null;
|
|
3940
|
+
_observer?: MutationObserver | null;
|
|
3941
|
+
_pendingRafId: number | null;
|
|
3942
|
+
_scrollListener: {
|
|
3943
|
+
fn: () => void;
|
|
3944
|
+
} | null;
|
|
3945
|
+
_focusgroupSupported: boolean;
|
|
3946
|
+
_activeIndex: number;
|
|
3947
|
+
activateTab: (index: number) => void;
|
|
3948
|
+
getTabId: (index: number | string) => string | undefined;
|
|
3949
|
+
getPanelId: (index: number | string) => string | undefined;
|
|
3950
|
+
getBaseId: () => string | undefined;
|
|
3951
|
+
handleClick: (event: any) => void;
|
|
3952
|
+
handleKeyDown: (event: any) => void;
|
|
3953
|
+
};
|
|
3954
|
+
type DBTabsState = DBTabsDefaultState & InitializedState;
|
|
4632
3955
|
|
|
4633
3956
|
declare class DBTabs implements AfterViewInit, OnDestroy {
|
|
4634
3957
|
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
4635
|
-
protected readonly DEFAULT_SCROLL_LEFT: string;
|
|
4636
|
-
protected readonly DEFAULT_SCROLL_RIGHT: string;
|
|
4637
|
-
name: InputSignal<DBTabsProps["name"]>;
|
|
4638
3958
|
tabs: InputSignal<DBTabsProps["tabs"]>;
|
|
4639
|
-
|
|
3959
|
+
id: InputSignal<DBTabsProps["id"]>;
|
|
3960
|
+
propOverrides: InputSignal<DBTabsProps["propOverrides"]>;
|
|
4640
3961
|
orientation: InputSignal<DBTabsProps["orientation"]>;
|
|
3962
|
+
label: InputSignal<DBTabsProps["label"]>;
|
|
4641
3963
|
behavior: InputSignal<DBTabsProps["behavior"]>;
|
|
4642
|
-
|
|
3964
|
+
activeIndex: InputSignal<DBTabsProps["activeIndex"]>;
|
|
4643
3965
|
initialSelectedIndex: InputSignal<DBTabsProps["initialSelectedIndex"]>;
|
|
4644
|
-
|
|
4645
|
-
|
|
3966
|
+
initialSelectedMode: InputSignal<DBTabsProps["initialSelectedMode"]>;
|
|
3967
|
+
arrowScrollDistance: InputSignal<DBTabsProps["arrowScrollDistance"]>;
|
|
4646
3968
|
className: InputSignal<DBTabsProps["className"]>;
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
indexChange: _angular_core.OutputEmitterRef<number | void
|
|
4652
|
-
|
|
3969
|
+
tabItemAlignment: InputSignal<DBTabsProps["tabItemAlignment"]>;
|
|
3970
|
+
tabItemWidth: InputSignal<DBTabsProps["tabItemWidth"]>;
|
|
3971
|
+
scrollStartLabel: InputSignal<DBTabsProps["scrollStartLabel"]>;
|
|
3972
|
+
scrollEndLabel: InputSignal<DBTabsProps["scrollEndLabel"]>;
|
|
3973
|
+
indexChange: _angular_core.OutputEmitterRef<number | void>;
|
|
3974
|
+
valueChange: _angular_core.OutputEmitterRef<string | void | undefined>;
|
|
4653
3975
|
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
4654
|
-
|
|
3976
|
+
_activeIndex: _angular_core.WritableSignal<number>;
|
|
4655
3977
|
initialized: _angular_core.WritableSignal<boolean>;
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
3978
|
+
showScrollStart: _angular_core.WritableSignal<boolean | undefined>;
|
|
3979
|
+
showScrollEnd: _angular_core.WritableSignal<boolean | undefined>;
|
|
3980
|
+
_resizeObserver: _angular_core.WritableSignal<ResizeObserver | null | undefined>;
|
|
3981
|
+
_observer: _angular_core.WritableSignal<MutationObserver | null | undefined>;
|
|
3982
|
+
_pendingRafId: _angular_core.WritableSignal<number | null>;
|
|
3983
|
+
_scrollListener: _angular_core.WritableSignal<{
|
|
3984
|
+
fn: () => void;
|
|
3985
|
+
} | null>;
|
|
3986
|
+
_focusgroupSupported: _angular_core.WritableSignal<boolean>;
|
|
3987
|
+
_tabButtons: _angular_core.WritableSignal<HTMLElement[]>;
|
|
3988
|
+
_tabPanels: _angular_core.WritableSignal<HTMLElement[]>;
|
|
3989
|
+
_id: _angular_core.WritableSignal<string | undefined>;
|
|
3990
|
+
_appliedLabel: _angular_core.WritableSignal<string | undefined>;
|
|
4660
3991
|
observer: _angular_core.WritableSignal<MutationObserver | undefined>;
|
|
4661
|
-
|
|
3992
|
+
resetIds(): void;
|
|
3993
|
+
getTabId(index: number | string): string | undefined;
|
|
3994
|
+
getPanelId(index: number | string): string | undefined;
|
|
3995
|
+
getBaseId(): string | undefined;
|
|
3996
|
+
activateTab(index: number): void;
|
|
3997
|
+
syncSelection(activeIndex?: number): void;
|
|
3998
|
+
handleClick(event: any): void;
|
|
3999
|
+
handleKeyDown(event: any): void;
|
|
4000
|
+
moveRovingTabindex(focusIndex: number): void;
|
|
4001
|
+
getTabs(): any;
|
|
4002
|
+
getRenderIndex(): any;
|
|
4003
|
+
getRenderFocusIndex(): any;
|
|
4004
|
+
getInitialIndex(): any;
|
|
4005
|
+
getActiveChildIndex(): number;
|
|
4006
|
+
shouldUseActiveChild(hashApplied: boolean): boolean;
|
|
4007
|
+
_getScrollContainer(): any;
|
|
4008
|
+
_isRtl(): boolean;
|
|
4662
4009
|
evaluateScrollButtons(tList: Element): void;
|
|
4663
|
-
scroll(
|
|
4010
|
+
scroll(toStart?: boolean): void;
|
|
4664
4011
|
initTabList(): void;
|
|
4665
|
-
|
|
4666
|
-
|
|
4012
|
+
_teardownScrollHandlers(): void;
|
|
4013
|
+
_isOwnedPanel(panel: HTMLElement): boolean;
|
|
4014
|
+
_resolveHashIndex(): {
|
|
4015
|
+
startIndex: any;
|
|
4016
|
+
hashApplied: boolean;
|
|
4017
|
+
};
|
|
4018
|
+
_setupObserver(): void;
|
|
4019
|
+
initTabs(): void;
|
|
4667
4020
|
setupObserver(element: HTMLElement | null): void;
|
|
4668
4021
|
trackByTab0(index: number, tab: any): string;
|
|
4669
4022
|
trackByTab1(index: number, tab: any): string;
|
|
@@ -4677,7 +4030,7 @@ declare class DBTabs implements AfterViewInit, OnDestroy {
|
|
|
4677
4030
|
ngAfterViewInit(): void;
|
|
4678
4031
|
ngOnDestroy(): void;
|
|
4679
4032
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTabs, never>;
|
|
4680
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabs, "db-tabs", never, { "
|
|
4033
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTabs, "db-tabs", never, { "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "propOverrides": { "alias": "propOverrides"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "behavior": { "alias": "behavior"; "required": false; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "initialSelectedIndex": { "alias": "initialSelectedIndex"; "required": false; "isSignal": true; }; "initialSelectedMode": { "alias": "initialSelectedMode"; "required": false; "isSignal": true; }; "arrowScrollDistance": { "alias": "arrowScrollDistance"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "tabItemAlignment": { "alias": "tabItemAlignment"; "required": false; "isSignal": true; }; "tabItemWidth": { "alias": "tabItemWidth"; "required": false; "isSignal": true; }; "scrollStartLabel": { "alias": "scrollStartLabel"; "required": false; "isSignal": true; }; "scrollEndLabel": { "alias": "scrollEndLabel"; "required": false; "isSignal": true; }; }, { "indexChange": "indexChange"; "valueChange": "valueChange"; }, never, ["*"], true, never>;
|
|
4681
4034
|
}
|
|
4682
4035
|
|
|
4683
4036
|
declare const TagBehaviorList: readonly ["static", "removable"];
|
|
@@ -5001,15 +4354,12 @@ declare const DEFAULT_INVALID_MESSAGE: string;
|
|
|
5001
4354
|
declare const DEFAULT_REMOVE: string;
|
|
5002
4355
|
declare const DEFAULT_BACK: string;
|
|
5003
4356
|
declare const DEFAULT_SELECTED: string;
|
|
5004
|
-
declare const DEFAULT_EXPAND: string;
|
|
5005
|
-
declare const DEFAULT_COLLAPSE: string;
|
|
5006
4357
|
declare const DEFAULT_SCROLL_LEFT: string;
|
|
5007
4358
|
declare const DEFAULT_SCROLL_RIGHT: string;
|
|
5008
|
-
declare const DEFAULT_ICON: string;
|
|
5009
4359
|
declare const DEFAULT_BURGER_MENU: string;
|
|
4360
|
+
declare const DEFAULT_ICON: string;
|
|
5010
4361
|
declare const DEFAULT_ROWS: number;
|
|
5011
4362
|
declare const DEFAULT_CLOSE_BUTTON: string;
|
|
5012
|
-
declare const MAIN_CONTENT_ID: string;
|
|
5013
4363
|
declare const DENSITY_CONST: string;
|
|
5014
4364
|
declare const COLOR_CONST: string;
|
|
5015
4365
|
declare enum DENSITY {
|
|
@@ -5056,7 +4406,6 @@ declare enum COLOR {
|
|
|
5056
4406
|
declare const COLORS: COLOR[];
|
|
5057
4407
|
declare const COLORS_SIMPLE: COLOR_SIMPLE[];
|
|
5058
4408
|
declare enum SEMANTIC {
|
|
5059
|
-
NEUTRAL = "neutral",
|
|
5060
4409
|
CRITICAL = "critical",
|
|
5061
4410
|
INFORMATIONAL = "informational",
|
|
5062
4411
|
WARNING = "warning",
|
|
@@ -5162,5 +4511,5 @@ interface DBDataOutsidePair {
|
|
|
5162
4511
|
}
|
|
5163
4512
|
declare const handleDataOutside: (el: HTMLElement) => DBDataOutsidePair;
|
|
5164
4513
|
|
|
5165
|
-
export { AccordionVariantList, AlignmentList, AutoCompleteList, BadgePlacementList, ButtonTypeList, ButtonVariantList, COLOR, COLORS, COLORS_SIMPLE, COLOR_CONST, COLOR_SIMPLE, CardBehaviorList, CardElevationLevelList,
|
|
5166
|
-
export type { AccordionVariantType, ActiveProps, AlignmentProps, AlignmentType, AutoCompleteType, BadgePlacementType, BaseFormProps, ButtonTypeType, ButtonVariantType, CardBehaviorType, CardElevationLevelType, ChangeEvent, ChangeEventProps, ChangeEventState, ClassNameArg, ClickEvent, ClickEventProps, ClickEventState, CloseEventProps, CloseEventState,
|
|
4514
|
+
export { AccordionBehaviorList, AccordionVariantList, AlignmentList, AutoCompleteList, BadgePlacementList, ButtonTypeList, ButtonVariantList, COLOR, COLORS, COLORS_SIMPLE, COLOR_CONST, COLOR_SIMPLE, CardBehaviorList, CardElevationLevelList, CustomSelectDropdownWidthList, CustomSelectListItemTypeList, DBAccordion, DBAccordionItem, DBBadge, DBBrand, DBButton, DBCard, DBCheckbox, DBCustomButton, DBCustomSelect, DBCustomSelectDropdown, DBCustomSelectFormField, DBCustomSelectList, DBCustomSelectListItem, DBDivider, DBDrawer, DBDrawerFooter, DBDrawerHeader, DBHeader, DBIcon, DBInfotext, DBInput, DBLink, DBNavigation, DBNavigationItem, DBNotification, DBPage, DBPopover, DBRadio, DBSection, DBSelect, DBStack, DBSwitch, DBTabItem, DBTabList, DBTabPanel, DBTable, DBTableBody, DBTableCaption, DBTableColumnsSizeList, DBTableDataCell, DBTableDividerList, DBTableFooter, DBTableHead, DBTableHeaderCell, DBTableHeaderCellScopeList, DBTableMobileVariantList, DBTableRow, DBTableRowSizeList, DBTableRowSubHeaderEmphasisList, DBTableStickyHeaderList, DBTableVariantList, DBTabs, DBTag, DBTextarea, DBTooltip, DB_UX_LOCAL_STORAGE_FRAMEWORK, DB_UX_LOCAL_STORAGE_MODE, DEFAULT_BACK, DEFAULT_BURGER_MENU, DEFAULT_CLOSE_BUTTON, DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_ICON, DEFAULT_ID, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_LABEL_ID_SUFFIX, DEFAULT_MESSAGE, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_REMOVE, DEFAULT_ROWS, DEFAULT_SCROLL_LEFT, DEFAULT_SCROLL_RIGHT, DEFAULT_SELECTED, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, DEFAULT_VIEWPORT, DENSITIES, DENSITY, DENSITY_CONST, DESKTOP_VIEWPORT, DividerMarginList, DividerVariantList, DocumentClickListener, DocumentScrollListener, DrawerBackdropList, DrawerContainerSizeList, DrawerDirectionList, DrawerPositionList, DrawerVariantList, EmphasisList, FieldSizingList, GapSpacingList, IconWeightList, InputTypeList, LabelVariantHorizontalList, LabelVariantList, LinkContentList, LinkReferrerPolicyList, LinkSizeList, LinkTargetList, LinkVariantList, MarginList, MaxWidthList, MetaNavigationDirective, NAVIGATION_KEYS, NavigationContentDirective, NavigationDirective, NavigationItemSafeTriangle, NotificationAriaLiveList, NotificationLinkVariantList, NotificationVariantList, OrientationList, PageDocumentOverflowList, PageVariantList, PlacementHorizontalList, PlacementList, PlacementVerticalList, PopoverDelayList, PopoverWidthList, SEMANTIC, SEMANTICS, SecondaryActionDirective, SelectedTypeList, SemanticList, SizeList, SpacingList, StackAlignmentList, StackDirectionList, StackJustifyContentList, StackVariantList, TESTING_VIEWPORTS, TabsBehaviorList, TabsInitialSelectedModeList, TagBehaviorList, TextareaResizeList, TextareaWrapList, TooltipVariantList, ValidationList, WidthList, addAttributeToChildren, cls, delay, getBoolean, getBooleanAsString, getFloatingProps, getHideProp, getInputValue, getNotificationRole, getNumber, getOptionKey, getSearchInput, getStep, handleDataOutside, handleFixedDropdown, handleFixedPopover, hasFocusgroupSupport, hasVoiceOver, isArrayOfStrings, isEventTargetNavigationItem, isIOSSafari, isKeyboardEvent, stringPropVisible, uuid };
|
|
4515
|
+
export type { AccordionBehaviorType, AccordionVariantType, ActiveProps, AlignmentProps, AlignmentType, AriaControlsProps, AutoCompleteType, BadgePlacementType, BaseFormProps, ButtonTypeType, ButtonVariantType, CardBehaviorType, CardElevationLevelType, ChangeEvent, ChangeEventProps, ChangeEventState, ClassNameArg, ClickEvent, ClickEventProps, ClickEventState, CloseEventProps, CloseEventState, ContainerWidthProps, ContentSlotProps, CustomFormProps, CustomSelectDropdownWidthType, CustomSelectListItemTypeType, CustomSelectOptionType, DBAccordionDefaultProps, DBAccordionDefaultState, DBAccordionItemDefaultProps, DBAccordionItemDefaultState, DBAccordionItemProps, DBAccordionItemState, DBAccordionProps, DBAccordionState, DBBadgeDefaultProps, DBBadgeDefaultState, DBBadgeProps, DBBadgeState, DBBrandDefaultProps, DBBrandDefaultState, DBBrandProps, DBBrandState, DBButtonDefaultProps, DBButtonDefaultState, DBButtonProps, DBButtonSharedProps, DBButtonState, DBCardDefaultProps, DBCardDefaultState, DBCardProps, DBCardState, DBCheckboxDefaultProps, DBCheckboxDefaultState, DBCheckboxProps, DBCheckboxState, DBCustomButtonDefaultProps, DBCustomButtonDefaultState, DBCustomButtonProps, DBCustomButtonState, DBCustomSelectDefaultProps, DBCustomSelectDefaultState, DBCustomSelectDropdownDefaultProps, DBCustomSelectDropdownDefaultState, DBCustomSelectDropdownProps, DBCustomSelectDropdownState, DBCustomSelectEvents, DBCustomSelectFormFieldDefaultProps, DBCustomSelectFormFieldDefaultState, DBCustomSelectFormFieldProps, DBCustomSelectFormFieldState, DBCustomSelectListDefaultProps, DBCustomSelectListDefaultState, DBCustomSelectListItemDefaultProps, DBCustomSelectListItemDefaultState, DBCustomSelectListItemExtraProps, DBCustomSelectListItemProps, DBCustomSelectListItemState, DBCustomSelectListProps, DBCustomSelectListState, DBCustomSelectProps, DBCustomSelectState, DBDataOutsidePair, DBDividerDefaultProps, DBDividerDefaultState, DBDividerProps, DBDividerState, DBDrawerDefaultProps, DBDrawerDefaultState, DBDrawerFooterDefaultProps, DBDrawerFooterDefaultState, DBDrawerFooterProps, DBDrawerFooterState, DBDrawerHeaderDefaultProps, DBDrawerHeaderDefaultState, DBDrawerHeaderProps, DBDrawerHeaderState, DBDrawerProps, DBDrawerState, DBHeaderDefaultProps, DBHeaderDefaultState, DBHeaderProps, DBHeaderState, DBIconDefaultProps, DBIconDefaultState, DBIconProps, DBIconState, DBInfotextDefaultProps, DBInfotextDefaultState, DBInfotextProps, DBInfotextState, DBInputDefaultProps, DBInputDefaultState, DBInputProps, DBInputState, DBLinkDefaultProps, DBLinkDefaultState, DBLinkProps, DBLinkState, DBNavigationDefaultProps, DBNavigationDefaultState, DBNavigationItemDefaultProps, DBNavigationItemDefaultState, DBNavigationItemProps, DBNavigationItemState, DBNavigationProps, DBNavigationState, DBNotificationDefaultProps, DBNotificationDefaultState, DBNotificationProps, DBNotificationState, DBPageDefaultProps, DBPageDefaultState, DBPageProps, DBPageState, DBPopoverDefaultProps, DBPopoverDefaultState, DBPopoverProps, DBPopoverState, DBRadioDefaultProps, DBRadioDefaultState, DBRadioProps, DBRadioState, DBSectionDefaultProps, DBSectionProps, DBSelectDefaultProps, DBSelectDefaultState, DBSelectOptionType, DBSelectProps, DBSelectState, DBSimpleTabProps, DBStackDefaultProps, DBStackDefaultState, DBStackProps, DBStackState, DBSwitchDefaultProps, DBSwitchDefaultState, DBSwitchProps, DBSwitchState, DBTabItemDefaultProps, DBTabItemDefaultState, DBTabItemProps, DBTabItemState, DBTabListProps, DBTabListState, DBTabPanelDefaultProps, DBTabPanelProps, DBTableBodyDefaultProps, DBTableBodyDefaultState, DBTableBodyProps, DBTableBodyState, DBTableCaptionDefaultProps, DBTableCaptionDefaultState, DBTableCaptionProps, DBTableCaptionState, DBTableCellProps, DBTableColumnsSizeType, DBTableData, DBTableDataCellDefaultProps, DBTableDataCellDefaultState, DBTableDataCellProps, DBTableDataCellState, DBTableDefaultProps, DBTableDefaultState, DBTableDividerType, DBTableFooterDefaultProps, DBTableFooterDefaultState, DBTableFooterProps, DBTableFooterState, DBTableHeadDefaultProps, DBTableHeadDefaultState, DBTableHeadProps, DBTableHeadState, DBTableHeaderCellDefaultProps, DBTableHeaderCellDefaultState, DBTableHeaderCellProps, DBTableHeaderCellScopeType, DBTableHeaderCellState, DBTableMobileVariantType, DBTableProps, DBTableRowCell, DBTableRowDefaultProps, DBTableRowDefaultState, DBTableRowProps, DBTableRowSizeType, DBTableRowState, DBTableRowSubHeaderEmphasisType, DBTableState, DBTableStickyHeaderType, DBTableVariantType, DBTabsDefaultProps, DBTabsDefaultState, DBTabsEventProps, DBTabsProps, DBTabsState, DBTagDefaultProps, DBTagDefaultState, DBTagEventsProps, DBTagProps, DBTagState, DBTextareaDefaultProps, DBTextareaDefaultState, DBTextareaProps, DBTextareaState, DBTooltipDefaultProps, DBTooltipDefaultState, DBTooltipProps, DBTooltipState, DisabledProps, DividerMarginType, DividerVariantType, DocumentScrollState, DrawerBackdropType, DrawerContainerSizeType, DrawerDirectionType, DrawerPositionType, DrawerVariantType, EmphasisProps, EmphasisType, EndSlotProps, FieldSizingType, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormSizeProps, FormState, FormTextProps, FromValidState, GapProps, GapSpacingProps, GapSpacingType, GeneralEvent, GeneralKeyboardEvent, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, IconWeightType, InitializedState, InnerCloseButtonProps, InputEvent, InputEventProps, InputEventState, InputTypeType, InteractionEvent, LabelVariantHorizontalType, LabelVariantType, LinkContentType, LinkProps, LinkReferrerPolicyType, LinkSizeType, LinkTargetType, LinkVariantType, MarginProps, MarginType, MaxWidthType, NameProps, NameState, NavigationBackButtonProps, NavigationBehaviorState, NoTextProps, NotificationAriaLiveType, NotificationLinkVariantType, NotificationVariantType, OrientationProps, OrientationType, OverflowProps, PageDocumentOverflowType, PageVariantType, PatternhubProps, PlacementHorizontalType, PlacementProps, PlacementType, PlacementVerticalType, PopoverDelayType, PopoverProps, PopoverState, PopoverWidthType, PropOverridesType, RequiredProps, ResetIdState, RoleProps, SelectedTypeType, SemanticProps, SemanticType, ShowIconLeadingProps, ShowIconProps, ShowIconTrailingProps, ShowLabelProps, SizeProps, SizeType, SpacingProps, SpacingType, StackAlignmentType, StackDirectionType, StackJustifyContentType, StackVariantType, StartSlotProps, TabItemAlignmentProps, TabItemAlignmentType, TabsBehaviorType, TabsInitialSelectedModeType, TagBehaviorType, TextProps, TextareaResizeType, TextareaWrapType, ToggleEventProps, ToggleEventState, TooltipVariantType, TriangleData, ValidationType, ValueLabelType, ValueProps, WidthProps, WidthType, WrapProps };
|