@db-ux/ngx-core-components 2.0.9 → 2.0.10-popover-d7e8b9a
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/components/custom-select/custom-select.d.ts +5 -2
- package/components/custom-select/model.d.ts +3 -2
- package/components/icon/icon.d.ts +1 -1
- package/components/icon/model.d.ts +1 -3
- package/components/popover/model.d.ts +0 -1
- package/components/popover/popover.d.ts +8 -3
- package/components/select/model.d.ts +2 -1
- package/components/stack/stack.d.ts +1 -1
- package/components/tooltip/model.d.ts +5 -3
- package/components/tooltip/tooltip.d.ts +10 -3
- package/fesm2022/db-ux-ngx-core-components.mjs +594 -233
- package/fesm2022/db-ux-ngx-core-components.mjs.map +1 -1
- package/package.json +3 -3
- package/shared/model.d.ts +11 -3
- package/utils/document-scroll-listener.d.ts +9 -0
- package/utils/floating-components.d.ts +7 -0
- package/utils/index.d.ts +0 -13
- package/utils/navigation.d.ts +1 -1
|
@@ -42,78 +42,6 @@ const cls = (...args) => {
|
|
|
42
42
|
}
|
|
43
43
|
return result.trim();
|
|
44
44
|
};
|
|
45
|
-
const visibleInVX = (el) => {
|
|
46
|
-
const { left, right } = el.getBoundingClientRect();
|
|
47
|
-
const { innerWidth } = window;
|
|
48
|
-
return left >= 0 && right <= innerWidth;
|
|
49
|
-
};
|
|
50
|
-
const visibleInVY = (el) => {
|
|
51
|
-
const { top, bottom } = el.getBoundingClientRect();
|
|
52
|
-
const { innerHeight } = window;
|
|
53
|
-
return top >= 0 && bottom <= innerHeight;
|
|
54
|
-
};
|
|
55
|
-
const isInView = (el) => {
|
|
56
|
-
const { top, bottom, left, right } = el.getBoundingClientRect();
|
|
57
|
-
const { innerHeight, innerWidth } = window;
|
|
58
|
-
let outTop = top < 0;
|
|
59
|
-
let outBottom = bottom > innerHeight;
|
|
60
|
-
let outLeft = left < 0;
|
|
61
|
-
let outRight = right > innerWidth;
|
|
62
|
-
// We need to check if it was already outside
|
|
63
|
-
const outsideY = el.hasAttribute('data-outside-vy');
|
|
64
|
-
const outsideX = el.hasAttribute('data-outside-vx');
|
|
65
|
-
const parentRect = el?.parentElement?.getBoundingClientRect();
|
|
66
|
-
if (parentRect) {
|
|
67
|
-
if (outsideY) {
|
|
68
|
-
const position = el.getAttribute('data-outside-vy');
|
|
69
|
-
if (position === 'top') {
|
|
70
|
-
outTop = parentRect.top - (bottom - parentRect.bottom) < 0;
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
outBottom = parentRect.bottom + (parentRect.top - top) > innerHeight;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
if (outsideX) {
|
|
77
|
-
const position = el.getAttribute('data-outside-vx');
|
|
78
|
-
if (position === 'left') {
|
|
79
|
-
outLeft = parentRect.left - (right - parentRect.right) < 0;
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
outRight = parentRect.right + (parentRect.left - left) > innerWidth;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
outTop,
|
|
88
|
-
outBottom,
|
|
89
|
-
outLeft,
|
|
90
|
-
outRight
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
const handleDataOutside = (el) => {
|
|
94
|
-
const { outTop, outBottom, outLeft, outRight } = isInView(el);
|
|
95
|
-
let dataOutsidePair = {};
|
|
96
|
-
if (outTop || outBottom) {
|
|
97
|
-
dataOutsidePair = {
|
|
98
|
-
vy: outTop ? 'top' : 'bottom'
|
|
99
|
-
};
|
|
100
|
-
el.setAttribute('data-outside-vy', dataOutsidePair.vy);
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
el.removeAttribute('data-outside-vy');
|
|
104
|
-
}
|
|
105
|
-
if (outLeft || outRight) {
|
|
106
|
-
dataOutsidePair = {
|
|
107
|
-
...dataOutsidePair,
|
|
108
|
-
vx: outRight ? 'right' : 'left'
|
|
109
|
-
};
|
|
110
|
-
el.setAttribute('data-outside-vx', dataOutsidePair.vx);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
el.removeAttribute('data-outside-vx');
|
|
114
|
-
}
|
|
115
|
-
return dataOutsidePair;
|
|
116
|
-
};
|
|
117
45
|
const isArrayOfStrings = (value) => Array.isArray(value) && value.every(item => typeof item === 'string');
|
|
118
46
|
const appleOs = ['Mac', 'iPhone', 'iPad', 'iPod'];
|
|
119
47
|
const hasVoiceOver = () => typeof window !== 'undefined' && appleOs.some(os => window.navigator.userAgent.includes(os));
|
|
@@ -247,8 +175,8 @@ class DBButton {
|
|
|
247
175
|
const element = this._ref()?.nativeElement;
|
|
248
176
|
this.enableAttributePassing(element, "db-button");
|
|
249
177
|
}
|
|
250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
179
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBButton, isStandalone: true, selector: "db-button", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, noText: { classPropertyName: "noText", publicName: "noText", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, describedbyid: { classPropertyName: "describedbyid", publicName: "describedbyid", isSignal: true, isRequired: false, transformFunction: null }, ariaexpanded: { classPropertyName: "ariaexpanded", publicName: "ariaexpanded", isSignal: true, isRequired: false, transformFunction: null }, ariapressed: { classPropertyName: "ariapressed", publicName: "ariapressed", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { click: "click" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
252
180
|
<button
|
|
253
181
|
#_ref
|
|
254
182
|
[attr.id]="id()"
|
|
@@ -277,7 +205,7 @@ class DBButton {
|
|
|
277
205
|
</button>
|
|
278
206
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
279
207
|
}
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBButton, decorators: [{
|
|
281
209
|
type: Component,
|
|
282
210
|
args: [{ selector: "db-button", standalone: true, imports: [CommonModule], template: `
|
|
283
211
|
<button
|
|
@@ -477,8 +405,8 @@ class DBNotification {
|
|
|
477
405
|
const element = this._ref()?.nativeElement;
|
|
478
406
|
this.enableAttributePassing(element, "db-notification");
|
|
479
407
|
}
|
|
480
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
481
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
408
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBNotification, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
409
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBNotification, isStandalone: true, selector: "db-notification", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, ariaLive: { classPropertyName: "ariaLive", publicName: "ariaLive", isSignal: true, isRequired: false, transformFunction: null }, semantic: { classPropertyName: "semantic", publicName: "semantic", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, linkVariant: { classPropertyName: "linkVariant", publicName: "linkVariant", isSignal: true, isRequired: false, transformFunction: null }, headline: { classPropertyName: "headline", publicName: "headline", isSignal: true, isRequired: false, transformFunction: null }, showHeadline: { classPropertyName: "showHeadline", publicName: "showHeadline", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, timestamp: { classPropertyName: "timestamp", publicName: "timestamp", isSignal: true, isRequired: false, transformFunction: null }, showTimestamp: { classPropertyName: "showTimestamp", publicName: "showTimestamp", isSignal: true, isRequired: false, transformFunction: null }, closeable: { classPropertyName: "closeable", publicName: "closeable", isSignal: true, isRequired: false, transformFunction: null }, closeButtonId: { classPropertyName: "closeButtonId", publicName: "closeButtonId", isSignal: true, isRequired: false, transformFunction: null }, closeButtonText: { classPropertyName: "closeButtonText", publicName: "closeButtonText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
482
410
|
<article
|
|
483
411
|
#_ref
|
|
484
412
|
[attr.id]="id()"
|
|
@@ -518,7 +446,7 @@ class DBNotification {
|
|
|
518
446
|
</article>
|
|
519
447
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBButton, selector: "db-button", inputs: ["id", "className", "type", "disabled", "label", "icon", "showIcon", "size", "state", "width", "variant", "noText", "name", "form", "value", "describedbyid", "ariaexpanded", "ariapressed", "text"], outputs: ["click"] }] }); }
|
|
520
448
|
}
|
|
521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBNotification, decorators: [{
|
|
522
450
|
type: Component,
|
|
523
451
|
args: [{ selector: "db-notification", standalone: true, imports: [CommonModule, DBButton], template: `
|
|
524
452
|
<article
|
|
@@ -636,8 +564,8 @@ class DBBadge {
|
|
|
636
564
|
const element = this._ref()?.nativeElement;
|
|
637
565
|
this.enableAttributePassing(element, "db-badge");
|
|
638
566
|
}
|
|
639
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
640
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
567
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBBadge, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
568
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBBadge, isStandalone: true, selector: "db-badge", inputs: { placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, semantic: { classPropertyName: "semantic", publicName: "semantic", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
641
569
|
<span
|
|
642
570
|
#_ref
|
|
643
571
|
[attr.id]="id()"
|
|
@@ -654,7 +582,7 @@ class DBBadge {
|
|
|
654
582
|
</span>
|
|
655
583
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
656
584
|
}
|
|
657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBBadge, decorators: [{
|
|
658
586
|
type: Component,
|
|
659
587
|
args: [{ selector: "db-badge", standalone: true, imports: [CommonModule], template: `
|
|
660
588
|
<span
|
|
@@ -724,8 +652,8 @@ class DBBrand {
|
|
|
724
652
|
const element = this._ref()?.nativeElement;
|
|
725
653
|
this.enableAttributePassing(element, "db-brand");
|
|
726
654
|
}
|
|
727
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
728
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBBrand, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
656
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBBrand, isStandalone: true, selector: "db-brand", inputs: { hideLogo: { classPropertyName: "hideLogo", publicName: "hideLogo", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
729
657
|
<div
|
|
730
658
|
#_ref
|
|
731
659
|
[attr.data-icon]="hideLogo() ? 'none' : icon() ?? DEFAULT_ICON"
|
|
@@ -739,7 +667,7 @@ class DBBrand {
|
|
|
739
667
|
</div>
|
|
740
668
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
741
669
|
}
|
|
742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBBrand, decorators: [{
|
|
743
671
|
type: Component,
|
|
744
672
|
args: [{ selector: "db-brand", standalone: true, imports: [CommonModule], template: `
|
|
745
673
|
<div
|
|
@@ -810,8 +738,8 @@ class DBCard {
|
|
|
810
738
|
const element = this._ref()?.nativeElement;
|
|
811
739
|
this.enableAttributePassing(element, "db-card");
|
|
812
740
|
}
|
|
813
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
814
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
741
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
742
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBCard, isStandalone: true, selector: "db-card", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null }, elevationLevel: { classPropertyName: "elevationLevel", publicName: "elevationLevel", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { click: "click" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
815
743
|
<div
|
|
816
744
|
#_ref
|
|
817
745
|
[attr.id]="id()"
|
|
@@ -827,7 +755,7 @@ class DBCard {
|
|
|
827
755
|
</div>
|
|
828
756
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
829
757
|
}
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCard, decorators: [{
|
|
831
759
|
type: Component,
|
|
832
760
|
args: [{ selector: "db-card", standalone: true, imports: [CommonModule], template: `
|
|
833
761
|
<div
|
|
@@ -907,8 +835,8 @@ class DBInfotext {
|
|
|
907
835
|
const element = this._ref()?.nativeElement;
|
|
908
836
|
this.enableAttributePassing(element, "db-infotext");
|
|
909
837
|
}
|
|
910
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
911
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
838
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBInfotext, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
839
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBInfotext, isStandalone: true, selector: "db-infotext", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, semantic: { classPropertyName: "semantic", publicName: "semantic", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
912
840
|
<span
|
|
913
841
|
#_ref
|
|
914
842
|
[attr.id]="id()"
|
|
@@ -924,7 +852,7 @@ class DBInfotext {
|
|
|
924
852
|
</span>
|
|
925
853
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
926
854
|
}
|
|
927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBInfotext, decorators: [{
|
|
928
856
|
type: Component,
|
|
929
857
|
args: [{ selector: "db-infotext", standalone: true, imports: [CommonModule], template: `
|
|
930
858
|
<span
|
|
@@ -1154,8 +1082,8 @@ class DBCheckbox {
|
|
|
1154
1082
|
const element = this._ref()?.nativeElement;
|
|
1155
1083
|
this.enableAttributePassing(element, "db-checkbox");
|
|
1156
1084
|
}
|
|
1157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1158
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
1085
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCheckbox, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1086
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBCheckbox, isStandalone: true, selector: "db-checkbox", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, invalidMessage: { classPropertyName: "invalidMessage", publicName: "invalidMessage", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, showMessage: { classPropertyName: "showMessage", publicName: "showMessage", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, validMessage: { classPropertyName: "validMessage", publicName: "validMessage", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, messageIcon: { classPropertyName: "messageIcon", publicName: "messageIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checked: "checkedChange", disabled: "disabledChange", change: "change", blur: "blur", focus: "focus" }, providers: [{
|
|
1159
1087
|
provide: NG_VALUE_ACCESSOR,
|
|
1160
1088
|
useExisting: DBCheckbox,
|
|
1161
1089
|
multi: true
|
|
@@ -1204,7 +1132,7 @@ class DBCheckbox {
|
|
|
1204
1132
|
</div>
|
|
1205
1133
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBInfotext, selector: "db-infotext", inputs: ["id", "className", "icon", "semantic", "size", "showIcon", "text"] }] }); }
|
|
1206
1134
|
}
|
|
1207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCheckbox, decorators: [{
|
|
1208
1136
|
type: Component,
|
|
1209
1137
|
args: [{ providers: [{
|
|
1210
1138
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -1304,8 +1232,8 @@ class DBDivider {
|
|
|
1304
1232
|
const element = this._ref()?.nativeElement;
|
|
1305
1233
|
this.enableAttributePassing(element, "db-divider");
|
|
1306
1234
|
}
|
|
1307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1308
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
1235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBDivider, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1236
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBDivider, isStandalone: true, selector: "db-divider", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, margin: { classPropertyName: "margin", publicName: "margin", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1309
1237
|
<div
|
|
1310
1238
|
#_ref
|
|
1311
1239
|
[attr.id]="id()"
|
|
@@ -1317,7 +1245,7 @@ class DBDivider {
|
|
|
1317
1245
|
></div>
|
|
1318
1246
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
1319
1247
|
}
|
|
1320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBDivider, decorators: [{
|
|
1321
1249
|
type: Component,
|
|
1322
1250
|
args: [{ selector: "db-divider", standalone: true, imports: [CommonModule], template: `
|
|
1323
1251
|
<div
|
|
@@ -1441,8 +1369,8 @@ class DBDrawer {
|
|
|
1441
1369
|
const element = this._ref()?.nativeElement;
|
|
1442
1370
|
this.enableAttributePassing(element, "db-drawer");
|
|
1443
1371
|
}
|
|
1444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1445
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
1372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1373
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBDrawer, isStandalone: true, selector: "db-drawer", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, closeButtonId: { classPropertyName: "closeButtonId", publicName: "closeButtonId", isSignal: true, isRequired: false, transformFunction: null }, closeButtonText: { classPropertyName: "closeButtonText", publicName: "closeButtonText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }, { propertyName: "dialogContainerRef", first: true, predicate: ["dialogContainerRef"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1446
1374
|
<dialog
|
|
1447
1375
|
class="db-drawer"
|
|
1448
1376
|
[attr.id]="id()"
|
|
@@ -1480,7 +1408,7 @@ class DBDrawer {
|
|
|
1480
1408
|
</dialog>
|
|
1481
1409
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBButton, selector: "db-button", inputs: ["id", "className", "type", "disabled", "label", "icon", "showIcon", "size", "state", "width", "variant", "noText", "name", "form", "value", "describedbyid", "ariaexpanded", "ariapressed", "text"], outputs: ["click"] }] }); }
|
|
1482
1410
|
}
|
|
1483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBDrawer, decorators: [{
|
|
1484
1412
|
type: Component,
|
|
1485
1413
|
args: [{ selector: "db-drawer", standalone: true, imports: [CommonModule, DBButton], template: `
|
|
1486
1414
|
<dialog
|
|
@@ -1521,6 +1449,298 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1521
1449
|
`, styles: [":host{display:contents}\n"] }]
|
|
1522
1450
|
}], ctorParameters: () => [] });
|
|
1523
1451
|
|
|
1452
|
+
// TODO: We should reevaluate this as soon as CSS Anchor Positioning is supported in all relevant browsers
|
|
1453
|
+
const isInView = (el) => {
|
|
1454
|
+
const { top, bottom, left, right } = el.getBoundingClientRect();
|
|
1455
|
+
const { innerHeight, innerWidth } = window;
|
|
1456
|
+
let outTop = top < 0;
|
|
1457
|
+
let outBottom = bottom > innerHeight;
|
|
1458
|
+
let outLeft = left < 0;
|
|
1459
|
+
let outRight = right > innerWidth;
|
|
1460
|
+
// We need to check if it was already outside
|
|
1461
|
+
const outsideY = el.dataset['outsideVy'];
|
|
1462
|
+
const outsideX = el.dataset['outsideVx'];
|
|
1463
|
+
const parentRect = el?.parentElement?.getBoundingClientRect();
|
|
1464
|
+
if (parentRect) {
|
|
1465
|
+
if (outsideY) {
|
|
1466
|
+
const position = el.dataset['outsideVy'];
|
|
1467
|
+
if (position === 'top') {
|
|
1468
|
+
outTop = parentRect.top - (bottom - parentRect.bottom) < 0;
|
|
1469
|
+
}
|
|
1470
|
+
else {
|
|
1471
|
+
outBottom = parentRect.bottom + (parentRect.top - top) > innerHeight;
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
if (outsideX) {
|
|
1475
|
+
const position = el.dataset['outsideVx'];
|
|
1476
|
+
if (position === 'left') {
|
|
1477
|
+
outLeft = parentRect.left - (right - parentRect.right) < 0;
|
|
1478
|
+
}
|
|
1479
|
+
else {
|
|
1480
|
+
outRight = parentRect.right + (parentRect.left - left) > innerWidth;
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
return {
|
|
1485
|
+
outTop,
|
|
1486
|
+
outBottom,
|
|
1487
|
+
outLeft,
|
|
1488
|
+
outRight
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
const handleDataOutside = (el) => {
|
|
1492
|
+
const { outTop, outBottom, outLeft, outRight } = isInView(el);
|
|
1493
|
+
let dataOutsidePair = {};
|
|
1494
|
+
if (outTop || outBottom) {
|
|
1495
|
+
dataOutsidePair = {
|
|
1496
|
+
vy: outTop ? 'top' : 'bottom'
|
|
1497
|
+
};
|
|
1498
|
+
el.dataset['outsideVy'] = dataOutsidePair.vy;
|
|
1499
|
+
}
|
|
1500
|
+
else {
|
|
1501
|
+
delete el.dataset['outsideVy'];
|
|
1502
|
+
}
|
|
1503
|
+
if (outLeft || outRight) {
|
|
1504
|
+
dataOutsidePair = {
|
|
1505
|
+
...dataOutsidePair,
|
|
1506
|
+
vx: outRight ? 'right' : 'left'
|
|
1507
|
+
};
|
|
1508
|
+
el.dataset['outsideVx'] = dataOutsidePair.vx;
|
|
1509
|
+
}
|
|
1510
|
+
else {
|
|
1511
|
+
delete el.dataset['outsideVx'];
|
|
1512
|
+
}
|
|
1513
|
+
return dataOutsidePair;
|
|
1514
|
+
};
|
|
1515
|
+
const handleFixedDropdown = (element, parent, placement) => {
|
|
1516
|
+
// We skip this if we are in mobile it's already fixed
|
|
1517
|
+
if (getComputedStyle(element).zIndex === '9999')
|
|
1518
|
+
return;
|
|
1519
|
+
const { top, bottom, childHeight, childWidth, width, right, left, correctedPlacement } = getFloatingProps(element, parent, placement);
|
|
1520
|
+
const fullWidth = element.dataset['width'] === 'full';
|
|
1521
|
+
if (fullWidth) {
|
|
1522
|
+
element.style.inlineSize = `${width}px`;
|
|
1523
|
+
}
|
|
1524
|
+
if (correctedPlacement === 'top' || correctedPlacement === 'bottom' || correctedPlacement === 'top-start' || correctedPlacement === 'bottom-start') {
|
|
1525
|
+
element.style.insetInlineStart = `${left}px`;
|
|
1526
|
+
}
|
|
1527
|
+
else if (correctedPlacement === 'top-end' || correctedPlacement === 'bottom-end') {
|
|
1528
|
+
element.style.insetInlineStart = `${right - childWidth}px`;
|
|
1529
|
+
}
|
|
1530
|
+
if (correctedPlacement?.startsWith('top')) {
|
|
1531
|
+
element.style.insetBlockStart = `${top - childHeight}px`;
|
|
1532
|
+
}
|
|
1533
|
+
else if (correctedPlacement?.startsWith('bottom')) {
|
|
1534
|
+
element.style.insetBlockStart = `${bottom}px`;
|
|
1535
|
+
}
|
|
1536
|
+
element.style.position = 'fixed';
|
|
1537
|
+
};
|
|
1538
|
+
const getFloatingProps = (element, parent, placement) => {
|
|
1539
|
+
const childRect = element.getBoundingClientRect();
|
|
1540
|
+
const { top, height, bottom, right, left, width } = parent.getBoundingClientRect();
|
|
1541
|
+
const { innerHeight, innerWidth } = window;
|
|
1542
|
+
let childHeight = childRect.height;
|
|
1543
|
+
let childWidth = childRect.width;
|
|
1544
|
+
if (placement === 'bottom' || placement === 'top') {
|
|
1545
|
+
childWidth = childWidth / 2;
|
|
1546
|
+
}
|
|
1547
|
+
if (placement === 'left' || placement === 'right') {
|
|
1548
|
+
childHeight = childHeight / 2;
|
|
1549
|
+
}
|
|
1550
|
+
const outsideBottom = bottom + childHeight > innerHeight;
|
|
1551
|
+
const outsideTop = top - childHeight < 0;
|
|
1552
|
+
const outsideLeft = left - childWidth < 0;
|
|
1553
|
+
const outsideRight = right + childWidth > innerWidth;
|
|
1554
|
+
let correctedPlacement = placement;
|
|
1555
|
+
if (placement.startsWith('bottom')) {
|
|
1556
|
+
if (outsideBottom) {
|
|
1557
|
+
correctedPlacement = placement?.replace('bottom', 'top');
|
|
1558
|
+
if (outsideLeft && outsideRight) {
|
|
1559
|
+
correctedPlacement = 'top';
|
|
1560
|
+
}
|
|
1561
|
+
else if (outsideLeft) {
|
|
1562
|
+
correctedPlacement = 'top-start';
|
|
1563
|
+
}
|
|
1564
|
+
else if (outsideRight) {
|
|
1565
|
+
correctedPlacement = 'top-end';
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
else {
|
|
1569
|
+
if (outsideLeft && outsideRight) {
|
|
1570
|
+
correctedPlacement = 'bottom';
|
|
1571
|
+
}
|
|
1572
|
+
else if (outsideLeft) {
|
|
1573
|
+
correctedPlacement = 'bottom-start';
|
|
1574
|
+
}
|
|
1575
|
+
else if (outsideRight) {
|
|
1576
|
+
correctedPlacement = 'bottom-end';
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
else if (placement.startsWith('top')) {
|
|
1581
|
+
if (outsideTop) {
|
|
1582
|
+
correctedPlacement = placement?.replace('top', 'bottom');
|
|
1583
|
+
if (outsideLeft && outsideRight) {
|
|
1584
|
+
correctedPlacement = 'bottom';
|
|
1585
|
+
}
|
|
1586
|
+
else if (outsideLeft) {
|
|
1587
|
+
correctedPlacement = 'bottom-start';
|
|
1588
|
+
}
|
|
1589
|
+
else if (outsideRight) {
|
|
1590
|
+
correctedPlacement = 'bottom-end';
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
else {
|
|
1594
|
+
if (outsideLeft && outsideRight) {
|
|
1595
|
+
correctedPlacement = 'top';
|
|
1596
|
+
}
|
|
1597
|
+
else if (outsideLeft) {
|
|
1598
|
+
correctedPlacement = 'top-start';
|
|
1599
|
+
}
|
|
1600
|
+
else if (outsideRight) {
|
|
1601
|
+
correctedPlacement = 'top-end';
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
else if (placement.startsWith('left')) {
|
|
1606
|
+
if (outsideLeft) {
|
|
1607
|
+
correctedPlacement = placement?.replace('left', 'right');
|
|
1608
|
+
if (outsideBottom && outsideTop) {
|
|
1609
|
+
correctedPlacement = 'right';
|
|
1610
|
+
}
|
|
1611
|
+
else if (outsideBottom) {
|
|
1612
|
+
correctedPlacement = 'right-end';
|
|
1613
|
+
}
|
|
1614
|
+
else if (outsideTop) {
|
|
1615
|
+
correctedPlacement = 'right-start';
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
else {
|
|
1619
|
+
if (outsideBottom && outsideTop) {
|
|
1620
|
+
correctedPlacement = 'left';
|
|
1621
|
+
}
|
|
1622
|
+
else if (outsideBottom) {
|
|
1623
|
+
correctedPlacement = 'left-end';
|
|
1624
|
+
}
|
|
1625
|
+
else if (outsideTop) {
|
|
1626
|
+
correctedPlacement = 'left-start';
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
else if (correctedPlacement.startsWith('right')) {
|
|
1631
|
+
if (outsideRight) {
|
|
1632
|
+
correctedPlacement = placement?.replace('right', 'left');
|
|
1633
|
+
if (outsideBottom && outsideTop) {
|
|
1634
|
+
correctedPlacement = 'left';
|
|
1635
|
+
}
|
|
1636
|
+
else if (outsideBottom) {
|
|
1637
|
+
correctedPlacement = 'left-end';
|
|
1638
|
+
}
|
|
1639
|
+
else if (outsideTop) {
|
|
1640
|
+
correctedPlacement = 'left-start';
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
else {
|
|
1644
|
+
if (outsideBottom && outsideTop) {
|
|
1645
|
+
correctedPlacement = 'right';
|
|
1646
|
+
}
|
|
1647
|
+
else if (outsideBottom) {
|
|
1648
|
+
correctedPlacement = 'right-end';
|
|
1649
|
+
}
|
|
1650
|
+
else if (outsideTop) {
|
|
1651
|
+
correctedPlacement = 'right-start';
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
return {
|
|
1656
|
+
top,
|
|
1657
|
+
bottom,
|
|
1658
|
+
right,
|
|
1659
|
+
height,
|
|
1660
|
+
width,
|
|
1661
|
+
left,
|
|
1662
|
+
childHeight: childRect.height,
|
|
1663
|
+
childWidth: childRect.width,
|
|
1664
|
+
correctedPlacement,
|
|
1665
|
+
innerWidth,
|
|
1666
|
+
innerHeight
|
|
1667
|
+
};
|
|
1668
|
+
};
|
|
1669
|
+
const handleFixedPopover = (element, parent, placement) => {
|
|
1670
|
+
const distance = getComputedStyle(element).getPropertyValue('--db-popover-distance') ?? '0px';
|
|
1671
|
+
const { top, height, width, childHeight, childWidth, right, left, bottom, correctedPlacement, innerWidth, innerHeight } = getFloatingProps(element, parent, placement);
|
|
1672
|
+
// Tooltip arrow position
|
|
1673
|
+
if (childWidth > width && (correctedPlacement.startsWith('bottom') || correctedPlacement.startsWith('top'))) {
|
|
1674
|
+
const diff = width / 2 / childWidth * 100;
|
|
1675
|
+
if (correctedPlacement.endsWith('start')) {
|
|
1676
|
+
element.style.setProperty('--db-tooltip-arrow-inline-start', `${diff}%`);
|
|
1677
|
+
}
|
|
1678
|
+
else if (correctedPlacement.endsWith('end')) {
|
|
1679
|
+
element.style.setProperty('--db-tooltip-arrow-inline-start', `${100 - diff}%`);
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
if (childHeight > height && (correctedPlacement.startsWith('left') || correctedPlacement.startsWith('bottom'))) {
|
|
1683
|
+
const diff = height / 2 / childHeight * 100;
|
|
1684
|
+
if (correctedPlacement.endsWith('start')) {
|
|
1685
|
+
element.style.setProperty('--db-tooltip-arrow-block-start', `${diff}%`);
|
|
1686
|
+
}
|
|
1687
|
+
else if (correctedPlacement.endsWith('end')) {
|
|
1688
|
+
element.style.setProperty('--db-tooltip-arrow-block-start', `${100 - diff}%`);
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
// Popover position
|
|
1692
|
+
if (correctedPlacement === 'right' || correctedPlacement === 'left') {
|
|
1693
|
+
// center horizontally
|
|
1694
|
+
element.style.insetBlockStart = `${top + height / 2}px`;
|
|
1695
|
+
}
|
|
1696
|
+
else if (correctedPlacement === 'right-start' || correctedPlacement === 'left-start') {
|
|
1697
|
+
const end = top + childHeight;
|
|
1698
|
+
element.style.insetBlockStart = `${top}px`;
|
|
1699
|
+
element.style.insetBlockEnd = `${end > innerHeight ? innerHeight : end}px`;
|
|
1700
|
+
}
|
|
1701
|
+
else if (correctedPlacement === 'right-end' || correctedPlacement === 'left-end') {
|
|
1702
|
+
const start = bottom - childHeight;
|
|
1703
|
+
element.style.insetBlockStart = `${start < 0 ? 0 : start}px`;
|
|
1704
|
+
element.style.insetBlockEnd = `${bottom}px`;
|
|
1705
|
+
}
|
|
1706
|
+
else if (correctedPlacement === 'top' || correctedPlacement === 'bottom') {
|
|
1707
|
+
// center vertically
|
|
1708
|
+
element.style.insetInlineStart = `${left + width / 2}px`;
|
|
1709
|
+
}
|
|
1710
|
+
else if (correctedPlacement === 'top-start' || correctedPlacement === 'bottom-start') {
|
|
1711
|
+
const end = left + childWidth;
|
|
1712
|
+
element.style.insetInlineStart = `${left}px`;
|
|
1713
|
+
element.style.insetInlineEnd = `${end > innerWidth ? innerWidth : end}px`;
|
|
1714
|
+
}
|
|
1715
|
+
else if (correctedPlacement === 'top-end' || correctedPlacement === 'bottom-end') {
|
|
1716
|
+
const start = left - childWidth;
|
|
1717
|
+
element.style.insetInlineStart = `${right - childWidth}px`;
|
|
1718
|
+
element.style.insetInlineEnd = `${start < 0 ? 0 : start}px`;
|
|
1719
|
+
}
|
|
1720
|
+
if (correctedPlacement?.startsWith('right')) {
|
|
1721
|
+
const end = right + childWidth;
|
|
1722
|
+
element.style.insetInlineStart = `calc(${right}px + ${distance})`;
|
|
1723
|
+
element.style.insetInlineEnd = `calc(${end > innerWidth ? innerWidth : end}px + ${distance})`;
|
|
1724
|
+
}
|
|
1725
|
+
else if (correctedPlacement?.startsWith('left')) {
|
|
1726
|
+
const start = left - childWidth;
|
|
1727
|
+
element.style.insetInlineStart = `calc(${start < 0 ? 0 : start}px - ${distance})`;
|
|
1728
|
+
element.style.insetInlineEnd = `calc(${right}px - ${distance})`;
|
|
1729
|
+
}
|
|
1730
|
+
else if (correctedPlacement?.startsWith('top')) {
|
|
1731
|
+
const start = top - childHeight;
|
|
1732
|
+
element.style.insetBlockStart = `calc(${start < 0 ? 0 : start}px - ${distance})`;
|
|
1733
|
+
element.style.insetBlockEnd = `calc(${bottom}px - ${distance})`;
|
|
1734
|
+
}
|
|
1735
|
+
else if (correctedPlacement?.startsWith('bottom')) {
|
|
1736
|
+
const end = bottom + childHeight;
|
|
1737
|
+
element.style.insetBlockStart = `calc(${bottom}px + ${distance})`;
|
|
1738
|
+
element.style.insetBlockEnd = `calc(${end > innerHeight ? innerHeight : end}px + ${distance})`;
|
|
1739
|
+
}
|
|
1740
|
+
element.style.position = 'fixed';
|
|
1741
|
+
element.setAttribute('data-corrected-placement', correctedPlacement);
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1524
1744
|
const isEventTargetNavigationItem = (event) => {
|
|
1525
1745
|
const { target } = event;
|
|
1526
1746
|
return Boolean(!target?.classList?.contains('db-navigation-item-expand-button') && target?.parentElement?.classList.contains('db-navigation-item'));
|
|
@@ -1655,10 +1875,10 @@ var navigation = {
|
|
|
1655
1875
|
|
|
1656
1876
|
/* Angular cannot handle multiple slots with the same name, we need to use Directives for this. */
|
|
1657
1877
|
class SecondaryActionDirective {
|
|
1658
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1659
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
1878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: SecondaryActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1879
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: SecondaryActionDirective, isStandalone: true, selector: "[dbSecondaryAction]", ngImport: i0 }); }
|
|
1660
1880
|
}
|
|
1661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: SecondaryActionDirective, decorators: [{
|
|
1662
1882
|
type: Directive,
|
|
1663
1883
|
args: [{
|
|
1664
1884
|
selector: '[dbSecondaryAction]',
|
|
@@ -1668,10 +1888,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1668
1888
|
|
|
1669
1889
|
/* Angular cannot handle multiple slots with the same name, we need to use Directives for this. */
|
|
1670
1890
|
class MetaNavigationDirective {
|
|
1671
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1672
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
1891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MetaNavigationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1892
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: MetaNavigationDirective, isStandalone: true, selector: "[dbMetaNavigation]", ngImport: i0 }); }
|
|
1673
1893
|
}
|
|
1674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MetaNavigationDirective, decorators: [{
|
|
1675
1895
|
type: Directive,
|
|
1676
1896
|
args: [{
|
|
1677
1897
|
selector: '[dbMetaNavigation]',
|
|
@@ -1681,10 +1901,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1681
1901
|
|
|
1682
1902
|
/* Angular cannot handle multiple slots with the same name, we need to use Directives for this. */
|
|
1683
1903
|
class NavigationDirective {
|
|
1684
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1685
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
1904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: NavigationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1905
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: NavigationDirective, isStandalone: true, selector: "[dbNavigation]", ngImport: i0 }); }
|
|
1686
1906
|
}
|
|
1687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: NavigationDirective, decorators: [{
|
|
1688
1908
|
type: Directive,
|
|
1689
1909
|
args: [{
|
|
1690
1910
|
selector: '[dbNavigation]',
|
|
@@ -1783,8 +2003,8 @@ class DBHeader {
|
|
|
1783
2003
|
const element = this._ref()?.nativeElement;
|
|
1784
2004
|
this.enableAttributePassing(element, "db-header");
|
|
1785
2005
|
}
|
|
1786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1787
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
2006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2007
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBHeader, isStandalone: true, selector: "db-header", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, forceMobile: { classPropertyName: "forceMobile", publicName: "forceMobile", isSignal: true, isRequired: false, transformFunction: null }, drawerOpen: { classPropertyName: "drawerOpen", publicName: "drawerOpen", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, burgerMenuLabel: { classPropertyName: "burgerMenuLabel", publicName: "burgerMenuLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { toggle: "toggle" }, queries: [{ propertyName: "dbNavigation", first: true, predicate: NavigationDirective, descendants: true, read: TemplateRef }, { propertyName: "dbMetaNavigation", first: true, predicate: MetaNavigationDirective, descendants: true, read: TemplateRef }, { propertyName: "dbSecondaryAction", first: true, predicate: SecondaryActionDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1788
2008
|
<header
|
|
1789
2009
|
#_ref
|
|
1790
2010
|
[class]="cls('db-header', className())"
|
|
@@ -1847,7 +2067,7 @@ class DBHeader {
|
|
|
1847
2067
|
</header>
|
|
1848
2068
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DBDrawer, selector: "db-drawer", inputs: ["open", "backdrop", "variant", "id", "className", "spacing", "width", "direction", "rounded", "closeButtonId", "closeButtonText"], outputs: ["close"] }, { kind: "component", type: DBButton, selector: "db-button", inputs: ["id", "className", "type", "disabled", "label", "icon", "showIcon", "size", "state", "width", "variant", "noText", "name", "form", "value", "describedbyid", "ariaexpanded", "ariapressed", "text"], outputs: ["click"] }] }); }
|
|
1849
2069
|
}
|
|
1850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBHeader, decorators: [{
|
|
1851
2071
|
type: Component,
|
|
1852
2072
|
args: [{ selector: "db-header", standalone: true, imports: [CommonModule, DBDrawer, DBButton], template: `
|
|
1853
2073
|
<header
|
|
@@ -1970,8 +2190,8 @@ class DBIcon {
|
|
|
1970
2190
|
const element = this._ref()?.nativeElement;
|
|
1971
2191
|
this.enableAttributePassing(element, "db-icon");
|
|
1972
2192
|
}
|
|
1973
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1974
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
2193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBIcon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2194
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBIcon, isStandalone: true, selector: "db-icon", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1975
2195
|
<span
|
|
1976
2196
|
aria-hidden="true"
|
|
1977
2197
|
#_ref
|
|
@@ -1987,7 +2207,7 @@ class DBIcon {
|
|
|
1987
2207
|
</span>
|
|
1988
2208
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
1989
2209
|
}
|
|
1990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBIcon, decorators: [{
|
|
1991
2211
|
type: Component,
|
|
1992
2212
|
args: [{ selector: "db-icon", standalone: true, imports: [CommonModule], template: `
|
|
1993
2213
|
<span
|
|
@@ -2248,8 +2468,8 @@ class DBInput {
|
|
|
2248
2468
|
const element = this._ref()?.nativeElement;
|
|
2249
2469
|
this.enableAttributePassing(element, "db-input");
|
|
2250
2470
|
}
|
|
2251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2252
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
2471
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBInput, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2472
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBInput, isStandalone: true, selector: "db-input", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, invalidMessage: { classPropertyName: "invalidMessage", publicName: "invalidMessage", isSignal: true, isRequired: false, transformFunction: null }, dataListId: { classPropertyName: "dataListId", publicName: "dataListId", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, showMessage: { classPropertyName: "showMessage", publicName: "showMessage", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, validMessage: { classPropertyName: "validMessage", publicName: "validMessage", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, dataList: { classPropertyName: "dataList", publicName: "dataList", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconAfter: { classPropertyName: "iconAfter", publicName: "iconAfter", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, messageIcon: { classPropertyName: "messageIcon", publicName: "messageIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", disabled: "disabledChange", input: "input", change: "change", blur: "blur", focus: "focus" }, providers: [{
|
|
2253
2473
|
provide: NG_VALUE_ACCESSOR,
|
|
2254
2474
|
useExisting: DBInput,
|
|
2255
2475
|
multi: true
|
|
@@ -2319,7 +2539,7 @@ class DBInput {
|
|
|
2319
2539
|
</div>
|
|
2320
2540
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBInfotext, selector: "db-infotext", inputs: ["id", "className", "icon", "semantic", "size", "showIcon", "text"] }] }); }
|
|
2321
2541
|
}
|
|
2322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBInput, decorators: [{
|
|
2323
2543
|
type: Component,
|
|
2324
2544
|
args: [{ providers: [{
|
|
2325
2545
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -2459,8 +2679,8 @@ class DBLink {
|
|
|
2459
2679
|
const element = this._ref()?.nativeElement;
|
|
2460
2680
|
this.enableAttributePassing(element, "db-link");
|
|
2461
2681
|
}
|
|
2462
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2463
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
2682
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBLink, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2683
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBLink, isStandalone: true, selector: "db-link", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, rel: { classPropertyName: "rel", publicName: "rel", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, hreflang: { classPropertyName: "hreflang", publicName: "hreflang", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { click: "click" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
2464
2684
|
<a
|
|
2465
2685
|
#_ref
|
|
2466
2686
|
[attr.id]="id()"
|
|
@@ -2487,7 +2707,7 @@ class DBLink {
|
|
|
2487
2707
|
</a>
|
|
2488
2708
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
2489
2709
|
}
|
|
2490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBLink, decorators: [{
|
|
2491
2711
|
type: Component,
|
|
2492
2712
|
args: [{ selector: "db-link", standalone: true, imports: [CommonModule], template: `
|
|
2493
2713
|
<a
|
|
@@ -2593,8 +2813,8 @@ class DBPage {
|
|
|
2593
2813
|
document.documentElement.classList.remove("db-page-document");
|
|
2594
2814
|
}
|
|
2595
2815
|
}
|
|
2596
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2597
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
2816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2817
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBPage, isStandalone: true, selector: "db-page", inputs: { fadeIn: { classPropertyName: "fadeIn", publicName: "fadeIn", isSignal: true, isRequired: false, transformFunction: null }, documentOverflow: { classPropertyName: "documentOverflow", publicName: "documentOverflow", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, mainClass: { classPropertyName: "mainClass", publicName: "mainClass", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
2598
2818
|
<div
|
|
2599
2819
|
#_ref
|
|
2600
2820
|
[attr.id]="id()"
|
|
@@ -2611,7 +2831,7 @@ class DBPage {
|
|
|
2611
2831
|
</div>
|
|
2612
2832
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
2613
2833
|
}
|
|
2614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBPage, decorators: [{
|
|
2615
2835
|
type: Component,
|
|
2616
2836
|
args: [{ selector: "db-page", standalone: true, imports: [CommonModule], template: `
|
|
2617
2837
|
<div
|
|
@@ -2748,8 +2968,8 @@ class DBRadio {
|
|
|
2748
2968
|
const element = this._ref()?.nativeElement;
|
|
2749
2969
|
this.enableAttributePassing(element, "db-radio");
|
|
2750
2970
|
}
|
|
2751
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2752
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
2971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBRadio, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2972
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBRadio, isStandalone: true, selector: "db-radio", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, describedbyid: { classPropertyName: "describedbyid", publicName: "describedbyid", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { disabled: "disabledChange", value: "valueChange", change: "change", blur: "blur", focus: "focus" }, providers: [{
|
|
2753
2973
|
provide: NG_VALUE_ACCESSOR,
|
|
2754
2974
|
useExisting: DBRadio,
|
|
2755
2975
|
multi: true
|
|
@@ -2782,7 +3002,7 @@ class DBRadio {
|
|
|
2782
3002
|
</label>
|
|
2783
3003
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
2784
3004
|
}
|
|
2785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBRadio, decorators: [{
|
|
2786
3006
|
type: Component,
|
|
2787
3007
|
args: [{ providers: [{
|
|
2788
3008
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -2868,8 +3088,8 @@ class DBSection {
|
|
|
2868
3088
|
const element = this._ref()?.nativeElement;
|
|
2869
3089
|
this.enableAttributePassing(element, "db-section");
|
|
2870
3090
|
}
|
|
2871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2872
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
3091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBSection, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3092
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBSection, isStandalone: true, selector: "db-section", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
2873
3093
|
<section
|
|
2874
3094
|
#_ref
|
|
2875
3095
|
[attr.id]="_id()"
|
|
@@ -2881,7 +3101,7 @@ class DBSection {
|
|
|
2881
3101
|
</section>
|
|
2882
3102
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
2883
3103
|
}
|
|
2884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBSection, decorators: [{
|
|
2885
3105
|
type: Component,
|
|
2886
3106
|
args: [{ selector: "db-section", standalone: true, imports: [CommonModule], template: `
|
|
2887
3107
|
<section
|
|
@@ -3123,8 +3343,8 @@ class DBSelect {
|
|
|
3123
3343
|
const element = this._ref()?.nativeElement;
|
|
3124
3344
|
this.enableAttributePassing(element, "db-select");
|
|
3125
3345
|
}
|
|
3126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3127
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
3346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBSelect, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3347
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBSelect, isStandalone: true, selector: "db-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, invalidMessage: { classPropertyName: "invalidMessage", publicName: "invalidMessage", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, showMessage: { classPropertyName: "showMessage", publicName: "showMessage", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, validMessage: { classPropertyName: "validMessage", publicName: "validMessage", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, messageIcon: { classPropertyName: "messageIcon", publicName: "messageIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", disabled: "disabledChange", click: "click", input: "input", change: "change", blur: "blur", focus: "focus" }, providers: [{
|
|
3128
3348
|
provide: NG_VALUE_ACCESSOR,
|
|
3129
3349
|
useExisting: DBSelect,
|
|
3130
3350
|
multi: true
|
|
@@ -3205,7 +3425,7 @@ class DBSelect {
|
|
|
3205
3425
|
</div>
|
|
3206
3426
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBInfotext, selector: "db-infotext", inputs: ["id", "className", "icon", "semantic", "size", "showIcon", "text"] }] }); }
|
|
3207
3427
|
}
|
|
3208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBSelect, decorators: [{
|
|
3209
3429
|
type: Component,
|
|
3210
3430
|
args: [{ providers: [{
|
|
3211
3431
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -3406,8 +3626,8 @@ class DBSwitch {
|
|
|
3406
3626
|
const element = this._ref()?.nativeElement;
|
|
3407
3627
|
this.enableAttributePassing(element, "db-switch");
|
|
3408
3628
|
}
|
|
3409
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3410
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
3629
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBSwitch, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3630
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBSwitch, isStandalone: true, selector: "db-switch", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, visualAid: { classPropertyName: "visualAid", publicName: "visualAid", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, describedbyid: { classPropertyName: "describedbyid", publicName: "describedbyid", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconAfter: { classPropertyName: "iconAfter", publicName: "iconAfter", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checked: "checkedChange", disabled: "disabledChange", change: "change", blur: "blur", focus: "focus" }, providers: [{
|
|
3411
3631
|
provide: NG_VALUE_ACCESSOR,
|
|
3412
3632
|
useExisting: DBSwitch,
|
|
3413
3633
|
multi: true
|
|
@@ -3446,7 +3666,7 @@ class DBSwitch {
|
|
|
3446
3666
|
</label>
|
|
3447
3667
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
3448
3668
|
}
|
|
3449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBSwitch, decorators: [{
|
|
3450
3670
|
type: Component,
|
|
3451
3671
|
args: [{ providers: [{
|
|
3452
3672
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -3612,8 +3832,8 @@ class DBTabItem {
|
|
|
3612
3832
|
const element = this._ref()?.nativeElement;
|
|
3613
3833
|
this.enableAttributePassing(element, "db-tab-item");
|
|
3614
3834
|
}
|
|
3615
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3616
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
3835
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabItem, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3836
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBTabItem, isStandalone: true, selector: "db-tab-item", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconAfter: { classPropertyName: "iconAfter", publicName: "iconAfter", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, noText: { classPropertyName: "noText", publicName: "noText", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { disabled: "disabledChange", checked: "checkedChange", change: "change" }, providers: [{
|
|
3617
3837
|
provide: NG_VALUE_ACCESSOR,
|
|
3618
3838
|
useExisting: DBTabItem,
|
|
3619
3839
|
multi: true
|
|
@@ -3645,7 +3865,7 @@ class DBTabItem {
|
|
|
3645
3865
|
</li>
|
|
3646
3866
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
3647
3867
|
}
|
|
3648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabItem, decorators: [{
|
|
3649
3869
|
type: Component,
|
|
3650
3870
|
args: [{ providers: [{
|
|
3651
3871
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -3775,8 +3995,8 @@ class DBTag {
|
|
|
3775
3995
|
const element = this._ref()?.nativeElement;
|
|
3776
3996
|
this.enableAttributePassing(element, "db-tag");
|
|
3777
3997
|
}
|
|
3778
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3779
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
3998
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTag, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3999
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBTag, isStandalone: true, selector: "db-tag", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, removeButton: { classPropertyName: "removeButton", publicName: "removeButton", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, semantic: { classPropertyName: "semantic", publicName: "semantic", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showCheckState: { classPropertyName: "showCheckState", publicName: "showCheckState", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, noText: { classPropertyName: "noText", publicName: "noText", isSignal: true, isRequired: false, transformFunction: null }, overflow: { classPropertyName: "overflow", publicName: "overflow", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { remove: "remove" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
3780
4000
|
<div
|
|
3781
4001
|
#_ref
|
|
3782
4002
|
[attr.id]="id()"
|
|
@@ -3808,7 +4028,7 @@ class DBTag {
|
|
|
3808
4028
|
</div>
|
|
3809
4029
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
3810
4030
|
}
|
|
3811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTag, decorators: [{
|
|
3812
4032
|
type: Component,
|
|
3813
4033
|
args: [{ selector: "db-tag", standalone: true, imports: [CommonModule], template: `
|
|
3814
4034
|
<div
|
|
@@ -4054,8 +4274,8 @@ class DBTextarea {
|
|
|
4054
4274
|
const element = this._ref()?.nativeElement;
|
|
4055
4275
|
this.enableAttributePassing(element, "db-textarea");
|
|
4056
4276
|
}
|
|
4057
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4058
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
4277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTextarea, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4278
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBTextarea, isStandalone: true, selector: "db-textarea", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, invalidMessage: { classPropertyName: "invalidMessage", publicName: "invalidMessage", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, showMessage: { classPropertyName: "showMessage", publicName: "showMessage", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, validMessage: { classPropertyName: "validMessage", publicName: "validMessage", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, resize: { classPropertyName: "resize", publicName: "resize", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, spellCheck: { classPropertyName: "spellCheck", publicName: "spellCheck", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, cols: { classPropertyName: "cols", publicName: "cols", isSignal: true, isRequired: false, transformFunction: null }, messageIcon: { classPropertyName: "messageIcon", publicName: "messageIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", disabled: "disabledChange", input: "input", change: "change", blur: "blur", focus: "focus" }, providers: [{
|
|
4059
4279
|
provide: NG_VALUE_ACCESSOR,
|
|
4060
4280
|
useExisting: DBTextarea,
|
|
4061
4281
|
multi: true
|
|
@@ -4110,7 +4330,7 @@ class DBTextarea {
|
|
|
4110
4330
|
</div>
|
|
4111
4331
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBInfotext, selector: "db-infotext", inputs: ["id", "className", "icon", "semantic", "size", "showIcon", "text"] }] }); }
|
|
4112
4332
|
}
|
|
4113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTextarea, decorators: [{
|
|
4114
4334
|
type: Component,
|
|
4115
4335
|
args: [{ providers: [{
|
|
4116
4336
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -4170,10 +4390,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
4170
4390
|
|
|
4171
4391
|
/* Angular cannot handle multiple slots with the same name, we need to use Directives for this. */
|
|
4172
4392
|
class NavigationContentDirective {
|
|
4173
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4174
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
4393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: NavigationContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4394
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: NavigationContentDirective, isStandalone: true, selector: "[dbNavigationContent]", ngImport: i0 }); }
|
|
4175
4395
|
}
|
|
4176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: NavigationContentDirective, decorators: [{
|
|
4177
4397
|
type: Directive,
|
|
4178
4398
|
args: [{
|
|
4179
4399
|
selector: '[dbNavigationContent]',
|
|
@@ -4303,8 +4523,8 @@ class DBNavigationItem {
|
|
|
4303
4523
|
const element = this._ref()?.nativeElement;
|
|
4304
4524
|
this.enableAttributePassing(element, "db-navigation-item");
|
|
4305
4525
|
}
|
|
4306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4307
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
4526
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBNavigationItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4527
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBNavigationItem, isStandalone: true, selector: "db-navigation-item", inputs: { subNavigationExpanded: { classPropertyName: "subNavigationExpanded", publicName: "subNavigationExpanded", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, backButtonId: { classPropertyName: "backButtonId", publicName: "backButtonId", isSignal: true, isRequired: false, transformFunction: null }, backButtonText: { classPropertyName: "backButtonText", publicName: "backButtonText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { click: "click" }, queries: [{ propertyName: "dbNavigationContent", first: true, predicate: NavigationContentDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
4308
4528
|
<li
|
|
4309
4529
|
#_ref
|
|
4310
4530
|
[attr.id]="id()"
|
|
@@ -4357,7 +4577,7 @@ class DBNavigationItem {
|
|
|
4357
4577
|
</li>
|
|
4358
4578
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DBButton, selector: "db-button", inputs: ["id", "className", "type", "disabled", "label", "icon", "showIcon", "size", "state", "width", "variant", "noText", "name", "form", "value", "describedbyid", "ariaexpanded", "ariapressed", "text"], outputs: ["click"] }] }); }
|
|
4359
4579
|
}
|
|
4360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBNavigationItem, decorators: [{
|
|
4361
4581
|
type: Component,
|
|
4362
4582
|
args: [{ selector: "db-navigation-item", standalone: true, imports: [CommonModule, DBButton], template: `
|
|
4363
4583
|
<li
|
|
@@ -4518,8 +4738,8 @@ class DBAccordionItem {
|
|
|
4518
4738
|
const element = this._ref()?.nativeElement;
|
|
4519
4739
|
this.enableAttributePassing(element, "db-accordion-item");
|
|
4520
4740
|
}
|
|
4521
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4522
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
4741
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBAccordionItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4742
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBAccordionItem, isStandalone: true, selector: "db-accordion-item", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, headlinePlain: { classPropertyName: "headlinePlain", publicName: "headlinePlain", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { toggle: "toggle" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
4523
4743
|
<li [attr.id]="_id()" [class]="cls('db-accordion-item', className())">
|
|
4524
4744
|
<details
|
|
4525
4745
|
[attr.aria-disabled]="getBooleanAsString(disabled())"
|
|
@@ -4541,7 +4761,7 @@ class DBAccordionItem {
|
|
|
4541
4761
|
</li>
|
|
4542
4762
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
4543
4763
|
}
|
|
4544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBAccordionItem, decorators: [{
|
|
4545
4765
|
type: Component,
|
|
4546
4766
|
args: [{ selector: "db-accordion-item", standalone: true, imports: [CommonModule], template: `
|
|
4547
4767
|
<li [attr.id]="_id()" [class]="cls('db-accordion-item', className())">
|
|
@@ -4714,8 +4934,8 @@ class DBAccordion {
|
|
|
4714
4934
|
const element = this._ref()?.nativeElement;
|
|
4715
4935
|
this.enableAttributePassing(element, "db-accordion");
|
|
4716
4936
|
}
|
|
4717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4718
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
4937
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBAccordion, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4938
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBAccordion, isStandalone: true, selector: "db-accordion", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null }, initOpenIndex: { classPropertyName: "initOpenIndex", publicName: "initOpenIndex", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
4719
4939
|
<ul
|
|
4720
4940
|
#_ref
|
|
4721
4941
|
[attr.id]="_id()"
|
|
@@ -4735,7 +4955,7 @@ class DBAccordion {
|
|
|
4735
4955
|
</ul>
|
|
4736
4956
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBAccordionItem, selector: "db-accordion-item", inputs: ["id", "defaultOpen", "name", "className", "disabled", "headlinePlain", "text"], outputs: ["toggle"] }] }); }
|
|
4737
4957
|
}
|
|
4738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBAccordion, decorators: [{
|
|
4739
4959
|
type: Component,
|
|
4740
4960
|
args: [{ selector: "db-accordion", standalone: true, imports: [CommonModule, DBAccordionItem], template: `
|
|
4741
4961
|
<ul
|
|
@@ -4807,8 +5027,8 @@ class DBNavigation {
|
|
|
4807
5027
|
const element = this._ref()?.nativeElement;
|
|
4808
5028
|
this.enableAttributePassing(element, "db-navigation");
|
|
4809
5029
|
}
|
|
4810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4811
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
5030
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBNavigation, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5031
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBNavigation, isStandalone: true, selector: "db-navigation", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, labelledBy: { classPropertyName: "labelledBy", publicName: "labelledBy", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
4812
5032
|
<nav
|
|
4813
5033
|
#_ref
|
|
4814
5034
|
[attr.id]="_id()"
|
|
@@ -4819,7 +5039,7 @@ class DBNavigation {
|
|
|
4819
5039
|
</nav>
|
|
4820
5040
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
4821
5041
|
}
|
|
4822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBNavigation, decorators: [{
|
|
4823
5043
|
type: Component,
|
|
4824
5044
|
args: [{ selector: "db-navigation", standalone: true, imports: [CommonModule], template: `
|
|
4825
5045
|
<nav
|
|
@@ -4833,25 +5053,95 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
4833
5053
|
`, styles: [":host{display:contents}\n"] }]
|
|
4834
5054
|
}], ctorParameters: () => [] });
|
|
4835
5055
|
|
|
5056
|
+
class DocumentScrollListener {
|
|
5057
|
+
static { this.callbacks = {}; }
|
|
5058
|
+
static { this._instance = null; }
|
|
5059
|
+
static runCallbacks(event) {
|
|
5060
|
+
for (const callback of Object.values(DocumentScrollListener.callbacks)) {
|
|
5061
|
+
if (typeof callback === 'function') {
|
|
5062
|
+
callback(event);
|
|
5063
|
+
}
|
|
5064
|
+
}
|
|
5065
|
+
}
|
|
5066
|
+
constructor() {
|
|
5067
|
+
this.ticking = false;
|
|
5068
|
+
if (DocumentScrollListener._instance) {
|
|
5069
|
+
return DocumentScrollListener._instance;
|
|
5070
|
+
}
|
|
5071
|
+
DocumentScrollListener._instance = this;
|
|
5072
|
+
if (self.document) {
|
|
5073
|
+
self.document.addEventListener('scroll', event => {
|
|
5074
|
+
if (!this.ticking) {
|
|
5075
|
+
window.requestAnimationFrame(() => {
|
|
5076
|
+
DocumentScrollListener.runCallbacks(event);
|
|
5077
|
+
this.ticking = false;
|
|
5078
|
+
});
|
|
5079
|
+
this.ticking = true;
|
|
5080
|
+
}
|
|
5081
|
+
}, true);
|
|
5082
|
+
}
|
|
5083
|
+
}
|
|
5084
|
+
addCallback(callback) {
|
|
5085
|
+
const callbackID = uuid();
|
|
5086
|
+
DocumentScrollListener.callbacks[callbackID] = callback;
|
|
5087
|
+
return callbackID;
|
|
5088
|
+
}
|
|
5089
|
+
removeCallback(id) {
|
|
5090
|
+
delete DocumentScrollListener.callbacks[id];
|
|
5091
|
+
}
|
|
5092
|
+
}
|
|
5093
|
+
|
|
4836
5094
|
const defaultProps$a = {};
|
|
4837
5095
|
class DBPopover {
|
|
5096
|
+
handleEscape(event) {
|
|
5097
|
+
if (!event || event.key === "Escape") {
|
|
5098
|
+
// TODO: Recursive for any child
|
|
5099
|
+
for (const child of Array.from(this._ref()?.nativeElement.children)) {
|
|
5100
|
+
child.blur();
|
|
5101
|
+
}
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
4838
5104
|
handleAutoPlacement() {
|
|
4839
|
-
this.isExpanded.set(true);
|
|
4840
5105
|
if (!this._ref()?.nativeElement)
|
|
4841
5106
|
return;
|
|
4842
5107
|
const article = this._ref()?.nativeElement.querySelector("article");
|
|
4843
|
-
if (
|
|
4844
|
-
|
|
4845
|
-
|
|
5108
|
+
if (article) {
|
|
5109
|
+
// This is a workaround for angular
|
|
5110
|
+
delay(() => {
|
|
5111
|
+
handleFixedPopover(article, this._ref()?.nativeElement, this.placement() ?? "bottom");
|
|
5112
|
+
}, 1);
|
|
5113
|
+
}
|
|
5114
|
+
}
|
|
5115
|
+
handleDocumentScroll(event) {
|
|
5116
|
+
if (event?.target?.contains &&
|
|
5117
|
+
event?.target?.contains(this._ref()?.nativeElement)) {
|
|
5118
|
+
this.handleAutoPlacement();
|
|
5119
|
+
}
|
|
5120
|
+
}
|
|
5121
|
+
handleEnter() {
|
|
5122
|
+
this.isExpanded.set(true);
|
|
5123
|
+
this._documentScrollListenerCallbackId.set(new DocumentScrollListener().addCallback((event) => this.handleDocumentScroll(event)));
|
|
5124
|
+
this.handleAutoPlacement();
|
|
5125
|
+
const child = this.getTrigger();
|
|
5126
|
+
if (child) {
|
|
5127
|
+
this._observer()?.observe(child);
|
|
5128
|
+
}
|
|
4846
5129
|
}
|
|
4847
5130
|
handleLeave(event) {
|
|
4848
|
-
const element = event
|
|
4849
|
-
const parent = element
|
|
5131
|
+
const element = event?.target;
|
|
5132
|
+
const parent = element?.parentNode;
|
|
4850
5133
|
if (!parent ||
|
|
4851
5134
|
(element.parentNode.querySelector(":focus") !== element &&
|
|
4852
5135
|
element.parentNode.querySelector(":focus-within") !== element &&
|
|
4853
5136
|
element.parentNode.querySelector(":hover") !== element)) {
|
|
4854
5137
|
this.isExpanded.set(false);
|
|
5138
|
+
if (this._documentScrollListenerCallbackId()) {
|
|
5139
|
+
new DocumentScrollListener().removeCallback(this._documentScrollListenerCallbackId());
|
|
5140
|
+
}
|
|
5141
|
+
const child = this.getTrigger();
|
|
5142
|
+
if (child) {
|
|
5143
|
+
this._observer()?.unobserve(child);
|
|
5144
|
+
}
|
|
4855
5145
|
}
|
|
4856
5146
|
}
|
|
4857
5147
|
getTrigger() {
|
|
@@ -4875,6 +5165,7 @@ class DBPopover {
|
|
|
4875
5165
|
constructor() {
|
|
4876
5166
|
this.cls = cls;
|
|
4877
5167
|
this.getBooleanAsString = getBooleanAsString;
|
|
5168
|
+
this.placement = input();
|
|
4878
5169
|
this.id = input();
|
|
4879
5170
|
this.className = input();
|
|
4880
5171
|
this.spacing = input();
|
|
@@ -4883,21 +5174,36 @@ class DBPopover {
|
|
|
4883
5174
|
this.open = input();
|
|
4884
5175
|
this.delay = input();
|
|
4885
5176
|
this.width = input();
|
|
4886
|
-
this.placement = input();
|
|
4887
5177
|
this._ref = viewChild("_ref");
|
|
4888
5178
|
this.initialized = signal(false);
|
|
4889
5179
|
this.isExpanded = signal(false);
|
|
5180
|
+
this._documentScrollListenerCallbackId = signal(undefined);
|
|
5181
|
+
this._observer = signal(undefined);
|
|
4890
5182
|
effect(() => {
|
|
4891
5183
|
// --- Mitosis: Workaround to make sure the effect() is triggered ---
|
|
4892
5184
|
this._ref();
|
|
4893
5185
|
this.initialized();
|
|
4894
5186
|
// ---
|
|
4895
5187
|
if (this._ref()?.nativeElement && this.initialized()) {
|
|
5188
|
+
this.initialized.set(false);
|
|
4896
5189
|
const child = this.getTrigger();
|
|
4897
5190
|
if (child) {
|
|
4898
5191
|
child.ariaHasPopup = "true";
|
|
4899
5192
|
}
|
|
4900
|
-
this.
|
|
5193
|
+
this.handleAutoPlacement();
|
|
5194
|
+
this._ref()?.nativeElement.addEventListener("keydown", (event) => this.handleEscape(event));
|
|
5195
|
+
["mouseenter", "focusin"].forEach((event) => {
|
|
5196
|
+
this._ref()?.nativeElement.addEventListener(event, () => this.handleEnter());
|
|
5197
|
+
});
|
|
5198
|
+
["mouseleave", "focusout"].forEach((event) => {
|
|
5199
|
+
this._ref()?.nativeElement.addEventListener(event, () => this.handleLeave());
|
|
5200
|
+
});
|
|
5201
|
+
this._observer.set(new IntersectionObserver((payload) => {
|
|
5202
|
+
const entry = payload.find(({ target }) => target === this.getTrigger());
|
|
5203
|
+
if (entry && !entry.isIntersecting) {
|
|
5204
|
+
this.handleEscape(false);
|
|
5205
|
+
}
|
|
5206
|
+
}));
|
|
4901
5207
|
}
|
|
4902
5208
|
}, {
|
|
4903
5209
|
// Enable writing to signals inside effects
|
|
@@ -4956,17 +5262,9 @@ class DBPopover {
|
|
|
4956
5262
|
const element = this._ref()?.nativeElement;
|
|
4957
5263
|
this.enableAttributePassing(element, "db-popover");
|
|
4958
5264
|
}
|
|
4959
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4960
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
4961
|
-
<div
|
|
4962
|
-
#_ref
|
|
4963
|
-
[attr.id]="id()"
|
|
4964
|
-
[class]="cls('db-popover', className())"
|
|
4965
|
-
(focus)="handleAutoPlacement()"
|
|
4966
|
-
(blur)="handleLeave($event)"
|
|
4967
|
-
(mouseenter)="handleAutoPlacement()"
|
|
4968
|
-
(mouseleave)="handleLeave($event)"
|
|
4969
|
-
>
|
|
5265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBPopover, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5266
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBPopover, isStandalone: true, selector: "db-popover", inputs: { placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null }, animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5267
|
+
<div #_ref [attr.id]="id()" [class]="cls('db-popover', className())">
|
|
4970
5268
|
<ng-content select="[trigger]"></ng-content>
|
|
4971
5269
|
<article
|
|
4972
5270
|
class="db-popover-content"
|
|
@@ -4983,18 +5281,10 @@ class DBPopover {
|
|
|
4983
5281
|
</div>
|
|
4984
5282
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
4985
5283
|
}
|
|
4986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBPopover, decorators: [{
|
|
4987
5285
|
type: Component,
|
|
4988
5286
|
args: [{ selector: "db-popover", standalone: true, imports: [CommonModule], template: `
|
|
4989
|
-
<div
|
|
4990
|
-
#_ref
|
|
4991
|
-
[attr.id]="id()"
|
|
4992
|
-
[class]="cls('db-popover', className())"
|
|
4993
|
-
(focus)="handleAutoPlacement()"
|
|
4994
|
-
(blur)="handleLeave($event)"
|
|
4995
|
-
(mouseenter)="handleAutoPlacement()"
|
|
4996
|
-
(mouseleave)="handleLeave($event)"
|
|
4997
|
-
>
|
|
5287
|
+
<div #_ref [attr.id]="id()" [class]="cls('db-popover', className())">
|
|
4998
5288
|
<ng-content select="[trigger]"></ng-content>
|
|
4999
5289
|
<article
|
|
5000
5290
|
class="db-popover-content"
|
|
@@ -5017,42 +5307,88 @@ class DBTooltip {
|
|
|
5017
5307
|
handleClick(event) {
|
|
5018
5308
|
event.stopPropagation();
|
|
5019
5309
|
}
|
|
5020
|
-
|
|
5021
|
-
if (
|
|
5022
|
-
|
|
5310
|
+
handleEscape(event) {
|
|
5311
|
+
if ((!event || event.key === "Escape") &&
|
|
5312
|
+
this._ref()?.nativeElement &&
|
|
5313
|
+
getComputedStyle(this._ref()?.nativeElement).visibility === "visible") {
|
|
5314
|
+
this.getParent().blur();
|
|
5315
|
+
}
|
|
5316
|
+
}
|
|
5317
|
+
getParent() {
|
|
5318
|
+
let parent = this._ref()?.nativeElement.parentElement;
|
|
5319
|
+
if (parent && parent.localName.includes("tooltip")) {
|
|
5320
|
+
// Angular workaround
|
|
5321
|
+
parent = parent.parentElement;
|
|
5322
|
+
}
|
|
5323
|
+
return parent;
|
|
5324
|
+
}
|
|
5325
|
+
handleAutoPlacement(parent) {
|
|
5326
|
+
if (!parent)
|
|
5327
|
+
return;
|
|
5328
|
+
if (this._ref()?.nativeElement) {
|
|
5329
|
+
// This is a workaround for angular
|
|
5330
|
+
delay(() => {
|
|
5331
|
+
handleFixedPopover(this._ref()?.nativeElement, parent, this.placement() ?? "bottom");
|
|
5332
|
+
}, 1);
|
|
5333
|
+
}
|
|
5334
|
+
}
|
|
5335
|
+
handleDocumentScroll(event, parent) {
|
|
5336
|
+
if (event?.target?.contains &&
|
|
5337
|
+
event?.target?.contains(this._ref()?.nativeElement)) {
|
|
5338
|
+
this.handleAutoPlacement(parent);
|
|
5339
|
+
}
|
|
5340
|
+
}
|
|
5341
|
+
handleLeave() {
|
|
5342
|
+
if (this._documentScrollListenerCallbackId()) {
|
|
5343
|
+
new DocumentScrollListener().removeCallback(this._documentScrollListenerCallbackId());
|
|
5344
|
+
}
|
|
5345
|
+
this._observer()?.unobserve(this.getParent());
|
|
5346
|
+
}
|
|
5347
|
+
handleEnter(parent) {
|
|
5348
|
+
this._documentScrollListenerCallbackId.set(new DocumentScrollListener().addCallback((event) => this.handleDocumentScroll(event, parent)));
|
|
5349
|
+
this.handleAutoPlacement(parent);
|
|
5350
|
+
this._observer()?.observe(this.getParent());
|
|
5023
5351
|
}
|
|
5024
5352
|
constructor() {
|
|
5025
5353
|
this.cls = cls;
|
|
5026
5354
|
this.getBooleanAsString = getBooleanAsString;
|
|
5027
5355
|
this.id = input();
|
|
5356
|
+
this.placement = input();
|
|
5028
5357
|
this.className = input();
|
|
5029
5358
|
this.emphasis = input();
|
|
5030
5359
|
this.animation = input();
|
|
5031
5360
|
this.delay = input();
|
|
5032
5361
|
this.width = input();
|
|
5033
5362
|
this.showArrow = input();
|
|
5034
|
-
this.placement = input();
|
|
5035
5363
|
this._ref = viewChild("_ref");
|
|
5036
5364
|
this._id = signal(DEFAULT_ID);
|
|
5037
5365
|
this.initialized = signal(false);
|
|
5366
|
+
this._documentScrollListenerCallbackId = signal(undefined);
|
|
5367
|
+
this._observer = signal(undefined);
|
|
5038
5368
|
effect(() => {
|
|
5039
5369
|
// --- Mitosis: Workaround to make sure the effect() is triggered ---
|
|
5040
5370
|
this._ref();
|
|
5041
5371
|
this.initialized();
|
|
5042
5372
|
// ---
|
|
5043
5373
|
if (this._ref()?.nativeElement && this.initialized() && this._id()) {
|
|
5044
|
-
|
|
5045
|
-
if (parent && parent.localName.includes("tooltip")) {
|
|
5046
|
-
// Angular workaround
|
|
5047
|
-
parent = parent.parentElement;
|
|
5048
|
-
}
|
|
5374
|
+
const parent = this.getParent();
|
|
5049
5375
|
if (parent) {
|
|
5050
|
-
["mouseenter", "
|
|
5051
|
-
parent.addEventListener(event, () => this.
|
|
5376
|
+
["mouseenter", "focusin"].forEach((event) => {
|
|
5377
|
+
parent.addEventListener(event, () => this.handleEnter(parent));
|
|
5378
|
+
});
|
|
5379
|
+
parent.addEventListener("keydown", (event) => this.handleEscape(event));
|
|
5380
|
+
["mouseleave", "focusout"].forEach((event) => {
|
|
5381
|
+
parent.addEventListener(event, () => this.handleLeave());
|
|
5052
5382
|
});
|
|
5053
5383
|
parent.setAttribute("data-has-tooltip", "true");
|
|
5054
5384
|
parent.setAttribute("aria-describedby", this._id());
|
|
5055
5385
|
}
|
|
5386
|
+
this._observer.set(new IntersectionObserver((payload) => {
|
|
5387
|
+
const entry = payload.find(({ target }) => target === this.getParent());
|
|
5388
|
+
if (entry && !entry.isIntersecting) {
|
|
5389
|
+
this.handleEscape(false);
|
|
5390
|
+
}
|
|
5391
|
+
}));
|
|
5056
5392
|
this.initialized.set(false);
|
|
5057
5393
|
}
|
|
5058
5394
|
}, {
|
|
@@ -5099,8 +5435,8 @@ class DBTooltip {
|
|
|
5099
5435
|
const element = this._ref()?.nativeElement;
|
|
5100
5436
|
this.enableAttributePassing(element, "db-tooltip");
|
|
5101
5437
|
}
|
|
5102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5103
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
5438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTooltip, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5439
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBTooltip, isStandalone: true, selector: "db-tooltip", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, showArrow: { classPropertyName: "showArrow", publicName: "showArrow", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5104
5440
|
<i
|
|
5105
5441
|
role="tooltip"
|
|
5106
5442
|
aria-hidden="true"
|
|
@@ -5120,7 +5456,7 @@ class DBTooltip {
|
|
|
5120
5456
|
</i>
|
|
5121
5457
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
5122
5458
|
}
|
|
5123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTooltip, decorators: [{
|
|
5124
5460
|
type: Component,
|
|
5125
5461
|
args: [{ selector: "db-tooltip", standalone: true, imports: [CommonModule], template: `
|
|
5126
5462
|
<i
|
|
@@ -5191,8 +5527,8 @@ class DBTabList {
|
|
|
5191
5527
|
const element = this._ref()?.nativeElement;
|
|
5192
5528
|
this.enableAttributePassing(element, "db-tab-list");
|
|
5193
5529
|
}
|
|
5194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5195
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
5530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5531
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBTabList, isStandalone: true, selector: "db-tab-list", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5196
5532
|
<div #_ref [attr.id]="_id()" [class]="cls('db-tab-list', className())">
|
|
5197
5533
|
<ul role="tablist">
|
|
5198
5534
|
<ng-content></ng-content>
|
|
@@ -5200,7 +5536,7 @@ class DBTabList {
|
|
|
5200
5536
|
</div>
|
|
5201
5537
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
5202
5538
|
}
|
|
5203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabList, decorators: [{
|
|
5204
5540
|
type: Component,
|
|
5205
5541
|
args: [{ selector: "db-tab-list", standalone: true, imports: [CommonModule], template: `
|
|
5206
5542
|
<div #_ref [attr.id]="_id()" [class]="cls('db-tab-list', className())">
|
|
@@ -5258,8 +5594,8 @@ class DBTabPanel {
|
|
|
5258
5594
|
const element = this._ref()?.nativeElement;
|
|
5259
5595
|
this.enableAttributePassing(element, "db-tab-panel");
|
|
5260
5596
|
}
|
|
5261
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5262
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
5597
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5598
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBTabPanel, isStandalone: true, selector: "db-tab-panel", inputs: { className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, labelledBy: { classPropertyName: "labelledBy", publicName: "labelledBy", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5263
5599
|
<section
|
|
5264
5600
|
role="tabpanel"
|
|
5265
5601
|
#_ref
|
|
@@ -5272,7 +5608,7 @@ class DBTabPanel {
|
|
|
5272
5608
|
</section>
|
|
5273
5609
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
5274
5610
|
}
|
|
5275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabPanel, decorators: [{
|
|
5276
5612
|
type: Component,
|
|
5277
5613
|
args: [{ selector: "db-tab-panel", standalone: true, imports: [CommonModule], template: `
|
|
5278
5614
|
<section
|
|
@@ -5488,8 +5824,8 @@ class DBTabs {
|
|
|
5488
5824
|
const element = this._ref()?.nativeElement;
|
|
5489
5825
|
this.enableAttributePassing(element, "db-tabs");
|
|
5490
5826
|
}
|
|
5491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5492
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
5827
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabs, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5828
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBTabs, isStandalone: true, selector: "db-tabs", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, arrowScrollDistance: { classPropertyName: "arrowScrollDistance", publicName: "arrowScrollDistance", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null }, initialSelectedMode: { classPropertyName: "initialSelectedMode", publicName: "initialSelectedMode", isSignal: true, isRequired: false, transformFunction: null }, initialSelectedIndex: { classPropertyName: "initialSelectedIndex", publicName: "initialSelectedIndex", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { indexChange: "indexChange", tabSelect: "tabSelect" }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5493
5829
|
<div
|
|
5494
5830
|
#_ref
|
|
5495
5831
|
[attr.id]="_id()"
|
|
@@ -5542,7 +5878,7 @@ class DBTabs {
|
|
|
5542
5878
|
</div>
|
|
5543
5879
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBButton, selector: "db-button", inputs: ["id", "className", "type", "disabled", "label", "icon", "showIcon", "size", "state", "width", "variant", "noText", "name", "form", "value", "describedbyid", "ariaexpanded", "ariapressed", "text"], outputs: ["click"] }, { kind: "component", type: DBTabList, selector: "db-tab-list", inputs: ["id", "className"] }, { kind: "component", type: DBTabItem, selector: "db-tab-item", inputs: ["active", "name", "className", "id", "icon", "iconAfter", "showIcon", "noText", "disabled", "controls", "checked", "label"], outputs: ["disabledChange", "checkedChange", "change"] }, { kind: "component", type: DBTabPanel, selector: "db-tab-panel", inputs: ["className", "id", "labelledBy", "content"] }] }); }
|
|
5544
5880
|
}
|
|
5545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBTabs, decorators: [{
|
|
5546
5882
|
type: Component,
|
|
5547
5883
|
args: [{ selector: "db-tabs", standalone: true, imports: [CommonModule, DBButton, DBTabList, DBTabItem, DBTabPanel], template: `
|
|
5548
5884
|
<div
|
|
@@ -5672,8 +6008,8 @@ class DBStack {
|
|
|
5672
6008
|
const element = this._ref()?.nativeElement;
|
|
5673
6009
|
this.enableAttributePassing(element, "db-stack");
|
|
5674
6010
|
}
|
|
5675
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5676
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
6011
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBStack, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6012
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBStack, isStandalone: true, selector: "db-stack", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null }, justifyContent: { classPropertyName: "justifyContent", publicName: "justifyContent", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5677
6013
|
<div
|
|
5678
6014
|
#_ref
|
|
5679
6015
|
[attr.id]="id()"
|
|
@@ -5689,7 +6025,7 @@ class DBStack {
|
|
|
5689
6025
|
</div>
|
|
5690
6026
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
5691
6027
|
}
|
|
5692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
6028
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBStack, decorators: [{
|
|
5693
6029
|
type: Component,
|
|
5694
6030
|
args: [{ selector: "db-stack", standalone: true, imports: [CommonModule], template: `
|
|
5695
6031
|
<div
|
|
@@ -5754,8 +6090,8 @@ class DBCustomSelectList {
|
|
|
5754
6090
|
const element = this._ref()?.nativeElement;
|
|
5755
6091
|
this.enableAttributePassing(element, "db-custom-select-list");
|
|
5756
6092
|
}
|
|
5757
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5758
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
6093
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6094
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBCustomSelectList, isStandalone: true, selector: "db-custom-select-list", inputs: { multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5759
6095
|
<div
|
|
5760
6096
|
[attr.role]="multiple() ? 'group' : 'radiogroup'"
|
|
5761
6097
|
[attr.aria-label]="label()"
|
|
@@ -5769,7 +6105,7 @@ class DBCustomSelectList {
|
|
|
5769
6105
|
</div>
|
|
5770
6106
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
5771
6107
|
}
|
|
5772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
6108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectList, decorators: [{
|
|
5773
6109
|
type: Component,
|
|
5774
6110
|
args: [{ selector: "db-custom-select-list", standalone: true, imports: [CommonModule], template: `
|
|
5775
6111
|
<div
|
|
@@ -5888,8 +6224,8 @@ class DBCustomSelectListItem {
|
|
|
5888
6224
|
const element = this._ref()?.nativeElement;
|
|
5889
6225
|
this.enableAttributePassing(element, "db-custom-select-list-item");
|
|
5890
6226
|
}
|
|
5891
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5892
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
6227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectListItem, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6228
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBCustomSelectListItem, isStandalone: true, selector: "db-custom-select-list-item", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, isGroupTitle: { classPropertyName: "isGroupTitle", publicName: "isGroupTitle", isSignal: true, isRequired: false, transformFunction: null }, showDivider: { classPropertyName: "showDivider", publicName: "showDivider", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, groupTitle: { classPropertyName: "groupTitle", publicName: "groupTitle", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checked: "checkedChange", disabled: "disabledChange", change: "change" }, providers: [{
|
|
5893
6229
|
provide: NG_VALUE_ACCESSOR,
|
|
5894
6230
|
useExisting: DBCustomSelectListItem,
|
|
5895
6231
|
multi: true
|
|
@@ -5930,7 +6266,7 @@ class DBCustomSelectListItem {
|
|
|
5930
6266
|
</li>
|
|
5931
6267
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
5932
6268
|
}
|
|
5933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
6269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectListItem, decorators: [{
|
|
5934
6270
|
type: Component,
|
|
5935
6271
|
args: [{ providers: [{
|
|
5936
6272
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -6019,8 +6355,8 @@ class DBCustomSelectDropdown {
|
|
|
6019
6355
|
const element = this._ref()?.nativeElement;
|
|
6020
6356
|
this.enableAttributePassing(element, "db-custom-select-dropdown");
|
|
6021
6357
|
}
|
|
6022
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
6023
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
6358
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectDropdown, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6359
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBCustomSelectDropdown, isStandalone: true, selector: "db-custom-select-dropdown", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
6024
6360
|
<article
|
|
6025
6361
|
data-spacing="none"
|
|
6026
6362
|
#_ref
|
|
@@ -6032,7 +6368,7 @@ class DBCustomSelectDropdown {
|
|
|
6032
6368
|
</article>
|
|
6033
6369
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
6034
6370
|
}
|
|
6035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
6371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectDropdown, decorators: [{
|
|
6036
6372
|
type: Component,
|
|
6037
6373
|
args: [{ selector: "db-custom-select-dropdown", standalone: true, imports: [CommonModule], template: `
|
|
6038
6374
|
<article
|
|
@@ -6081,6 +6417,12 @@ const defaultProps$1 = {
|
|
|
6081
6417
|
showClearSelection: true,
|
|
6082
6418
|
};
|
|
6083
6419
|
class DBCustomSelect {
|
|
6420
|
+
handleDocumentScroll(event) {
|
|
6421
|
+
if (event?.target?.contains &&
|
|
6422
|
+
event?.target?.contains(this.detailsRef()?.nativeElement)) {
|
|
6423
|
+
this.handleAutoPlacement();
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6084
6426
|
hasValidState() {
|
|
6085
6427
|
return !!(this.validMessage() ?? this.validation() === "valid");
|
|
6086
6428
|
}
|
|
@@ -6127,7 +6469,9 @@ class DBCustomSelect {
|
|
|
6127
6469
|
}
|
|
6128
6470
|
if (event.target.open) {
|
|
6129
6471
|
this._documentClickListenerCallbackId.set(new DocumentClickListener().addCallback((event) => this.handleDocumentClose(event)));
|
|
6472
|
+
this._documentScrollListenerCallbackId.set(new DocumentScrollListener().addCallback((event) => this.handleDocumentScroll(event)));
|
|
6130
6473
|
this.handleAutoPlacement();
|
|
6474
|
+
this._observer()?.observe(this.detailsRef()?.nativeElement);
|
|
6131
6475
|
if (!event.target.dataset.test) {
|
|
6132
6476
|
// We need this workaround for snapshot testing
|
|
6133
6477
|
this.handleOpenByKeyboardFocus();
|
|
@@ -6137,6 +6481,10 @@ class DBCustomSelect {
|
|
|
6137
6481
|
if (this._documentClickListenerCallbackId()) {
|
|
6138
6482
|
new DocumentClickListener().removeCallback(this._documentClickListenerCallbackId());
|
|
6139
6483
|
}
|
|
6484
|
+
if (this._documentScrollListenerCallbackId()) {
|
|
6485
|
+
new DocumentScrollListener().removeCallback(this._documentScrollListenerCallbackId());
|
|
6486
|
+
}
|
|
6487
|
+
this._observer()?.unobserve(this.detailsRef()?.nativeElement);
|
|
6140
6488
|
}
|
|
6141
6489
|
}
|
|
6142
6490
|
getNativeSelectValue() {
|
|
@@ -6189,8 +6537,9 @@ class DBCustomSelect {
|
|
|
6189
6537
|
if (this.detailsRef()?.nativeElement) {
|
|
6190
6538
|
const dropdown = this.detailsRef()?.nativeElement.querySelector("article");
|
|
6191
6539
|
if (dropdown) {
|
|
6540
|
+
// This is a workaround for Angular
|
|
6192
6541
|
delay(() => {
|
|
6193
|
-
|
|
6542
|
+
handleFixedDropdown(dropdown, this.detailsRef()?.nativeElement, this.placement() ?? "bottom");
|
|
6194
6543
|
}, 1);
|
|
6195
6544
|
}
|
|
6196
6545
|
}
|
|
@@ -6461,10 +6810,10 @@ class DBCustomSelect {
|
|
|
6461
6810
|
this.required = input();
|
|
6462
6811
|
this.selectAllLabel = input();
|
|
6463
6812
|
this.removeTagsTexts = input();
|
|
6813
|
+
this.placement = input();
|
|
6464
6814
|
this.className = input();
|
|
6465
6815
|
this.formFieldWidth = input();
|
|
6466
6816
|
this.variant = input();
|
|
6467
|
-
this.placement = input();
|
|
6468
6817
|
this.showLabel = input();
|
|
6469
6818
|
this.icon = input();
|
|
6470
6819
|
this.showIcon = input();
|
|
@@ -6517,6 +6866,8 @@ class DBCustomSelect {
|
|
|
6517
6866
|
this._hasNoOptions = signal(false);
|
|
6518
6867
|
this._documentClickListenerCallbackId = signal(undefined);
|
|
6519
6868
|
this._internalChangeTimestamp = signal(0);
|
|
6869
|
+
this._documentScrollListenerCallbackId = signal(undefined);
|
|
6870
|
+
this._observer = signal(undefined);
|
|
6520
6871
|
this.selectAllChecked = signal(false);
|
|
6521
6872
|
this.selectAllIndeterminate = signal(false);
|
|
6522
6873
|
effect(() => {
|
|
@@ -6787,13 +7138,23 @@ class DBCustomSelect {
|
|
|
6787
7138
|
this._selectedLabelsId.set(mId + "-selected-labels");
|
|
6788
7139
|
this._infoTextId.set(mId + "-info");
|
|
6789
7140
|
this._invalidMessage.set(this.invalidMessage() || DEFAULT_INVALID_MESSAGE);
|
|
7141
|
+
this._observer.set(new IntersectionObserver((payload) => {
|
|
7142
|
+
if (this.detailsRef()?.nativeElement) {
|
|
7143
|
+
const entry = payload.find(({ target }) => target === this.detailsRef()?.nativeElement);
|
|
7144
|
+
if (entry &&
|
|
7145
|
+
!entry.isIntersecting &&
|
|
7146
|
+
this.detailsRef()?.nativeElement.open) {
|
|
7147
|
+
this.detailsRef().nativeElement.open = false;
|
|
7148
|
+
}
|
|
7149
|
+
}
|
|
7150
|
+
}));
|
|
6790
7151
|
}
|
|
6791
7152
|
ngAfterViewInit() {
|
|
6792
7153
|
const element = this._ref()?.nativeElement;
|
|
6793
7154
|
this.enableAttributePassing(element, "db-custom-select");
|
|
6794
7155
|
}
|
|
6795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
6796
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
7156
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelect, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7157
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.12", type: DBCustomSelect, isStandalone: true, selector: "db-custom-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, invalidMessage: { classPropertyName: "invalidMessage", publicName: "invalidMessage", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, showMessage: { classPropertyName: "showMessage", publicName: "showMessage", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, showNoResults: { classPropertyName: "showNoResults", publicName: "showNoResults", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, showSelectAll: { classPropertyName: "showSelectAll", publicName: "showSelectAll", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, selectedType: { classPropertyName: "selectedType", publicName: "selectedType", isSignal: true, isRequired: false, transformFunction: null }, amountText: { classPropertyName: "amountText", publicName: "amountText", isSignal: true, isRequired: false, transformFunction: null }, validMessage: { classPropertyName: "validMessage", publicName: "validMessage", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, selectAllLabel: { classPropertyName: "selectAllLabel", publicName: "selectAllLabel", isSignal: true, isRequired: false, transformFunction: null }, removeTagsTexts: { classPropertyName: "removeTagsTexts", publicName: "removeTagsTexts", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, formFieldWidth: { classPropertyName: "formFieldWidth", publicName: "formFieldWidth", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, dropdownWidth: { classPropertyName: "dropdownWidth", publicName: "dropdownWidth", isSignal: true, isRequired: false, transformFunction: null }, searchLabel: { classPropertyName: "searchLabel", publicName: "searchLabel", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, showLoading: { classPropertyName: "showLoading", publicName: "showLoading", isSignal: true, isRequired: false, transformFunction: null }, ariaListLabel: { classPropertyName: "ariaListLabel", publicName: "ariaListLabel", isSignal: true, isRequired: false, transformFunction: null }, noResultsText: { classPropertyName: "noResultsText", publicName: "noResultsText", isSignal: true, isRequired: false, transformFunction: null }, loadingText: { classPropertyName: "loadingText", publicName: "loadingText", isSignal: true, isRequired: false, transformFunction: null }, mobileCloseButtonText: { classPropertyName: "mobileCloseButtonText", publicName: "mobileCloseButtonText", isSignal: true, isRequired: false, transformFunction: null }, showClearSelection: { classPropertyName: "showClearSelection", publicName: "showClearSelection", isSignal: true, isRequired: false, transformFunction: null }, clearSelectionText: { classPropertyName: "clearSelectionText", publicName: "clearSelectionText", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, messageIcon: { classPropertyName: "messageIcon", publicName: "messageIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { values: "valuesChange", disabled: "disabledChange", amountChange: "amountChange", dropdownToggle: "dropdownToggle", optionSelected: "optionSelected" }, providers: [{
|
|
6797
7158
|
provide: NG_VALUE_ACCESSOR,
|
|
6798
7159
|
useExisting: DBCustomSelect,
|
|
6799
7160
|
multi: true
|
|
@@ -6989,9 +7350,9 @@ class DBCustomSelect {
|
|
|
6989
7350
|
{{_voiceOverFallback()}}
|
|
6990
7351
|
</span>
|
|
6991
7352
|
</div>
|
|
6992
|
-
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBTag, selector: "db-tag", inputs: ["disabled", "removeButton", "id", "className", "semantic", "emphasis", "icon", "showCheckState", "showIcon", "noText", "overflow", "text", "behavior"], outputs: ["remove"] }, { kind: "component", type: DBCustomSelectDropdown, selector: "db-custom-select-dropdown", inputs: ["id", "className", "width"] }, { kind: "component", type: DBInput, selector: "db-input", inputs: ["id", "invalidMessage", "dataListId", "message", "showMessage", "value", "validMessage", "validation", "required", "minLength", "maxLength", "pattern", "dataList", "className", "variant", "showLabel", "showIcon", "icon", "iconAfter", "label", "name", "type", "placeholder", "disabled", "step", "maxlength", "minlength", "max", "min", "readOnly", "readonly", "form", "size", "autocomplete", "autofocus", "ariaDescribedBy", "messageIcon"], outputs: ["valueChange", "disabledChange", "input", "change", "blur", "focus"] }, { kind: "component", type: DBCustomSelectList, selector: "db-custom-select-list", inputs: ["multiple", "label", "id", "className"] }, { kind: "component", type: DBCustomSelectListItem, selector: "db-custom-select-list-item", inputs: ["id", "isGroupTitle", "showDivider", "type", "checked", "className", "groupTitle", "icon", "showIcon", "name", "disabled", "value", "label"], outputs: ["checkedChange", "disabledChange", "change"] }, { kind: "component", type: DBInfotext, selector: "db-infotext", inputs: ["id", "className", "icon", "semantic", "size", "showIcon", "text"] }, { kind: "component", type: DBButton, selector: "db-button", inputs: ["id", "className", "type", "disabled", "label", "icon", "showIcon", "size", "state", "width", "variant", "noText", "name", "form", "value", "describedbyid", "ariaexpanded", "ariapressed", "text"], outputs: ["click"] }, { kind: "component", type: DBTooltip, selector: "db-tooltip", inputs: ["id", "className", "emphasis", "animation", "delay", "width", "showArrow"
|
|
7353
|
+
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DBTag, selector: "db-tag", inputs: ["disabled", "removeButton", "id", "className", "semantic", "emphasis", "icon", "showCheckState", "showIcon", "noText", "overflow", "text", "behavior"], outputs: ["remove"] }, { kind: "component", type: DBCustomSelectDropdown, selector: "db-custom-select-dropdown", inputs: ["id", "className", "width"] }, { kind: "component", type: DBInput, selector: "db-input", inputs: ["id", "invalidMessage", "dataListId", "message", "showMessage", "value", "validMessage", "validation", "required", "minLength", "maxLength", "pattern", "dataList", "className", "variant", "showLabel", "showIcon", "icon", "iconAfter", "label", "name", "type", "placeholder", "disabled", "step", "maxlength", "minlength", "max", "min", "readOnly", "readonly", "form", "size", "autocomplete", "autofocus", "ariaDescribedBy", "messageIcon"], outputs: ["valueChange", "disabledChange", "input", "change", "blur", "focus"] }, { kind: "component", type: DBCustomSelectList, selector: "db-custom-select-list", inputs: ["multiple", "label", "id", "className"] }, { kind: "component", type: DBCustomSelectListItem, selector: "db-custom-select-list-item", inputs: ["id", "isGroupTitle", "showDivider", "type", "checked", "className", "groupTitle", "icon", "showIcon", "name", "disabled", "value", "label"], outputs: ["checkedChange", "disabledChange", "change"] }, { kind: "component", type: DBInfotext, selector: "db-infotext", inputs: ["id", "className", "icon", "semantic", "size", "showIcon", "text"] }, { kind: "component", type: DBButton, selector: "db-button", inputs: ["id", "className", "type", "disabled", "label", "icon", "showIcon", "size", "state", "width", "variant", "noText", "name", "form", "value", "describedbyid", "ariaexpanded", "ariapressed", "text"], outputs: ["click"] }, { kind: "component", type: DBTooltip, selector: "db-tooltip", inputs: ["id", "placement", "className", "emphasis", "animation", "delay", "width", "showArrow"] }] }); }
|
|
6993
7354
|
}
|
|
6994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
7355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelect, decorators: [{
|
|
6995
7356
|
type: Component,
|
|
6996
7357
|
args: [{ providers: [{
|
|
6997
7358
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -7246,8 +7607,8 @@ class DBCustomSelectFormField {
|
|
|
7246
7607
|
const element = this._ref()?.nativeElement;
|
|
7247
7608
|
this.enableAttributePassing(element, "db-custom-select-form-field");
|
|
7248
7609
|
}
|
|
7249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
7250
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
7610
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectFormField, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7611
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.12", type: DBCustomSelectFormField, isStandalone: true, selector: "db-custom-select-form-field", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
7251
7612
|
<summary
|
|
7252
7613
|
#_ref
|
|
7253
7614
|
[attr.id]="id()"
|
|
@@ -7257,7 +7618,7 @@ class DBCustomSelectFormField {
|
|
|
7257
7618
|
</summary>
|
|
7258
7619
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
7259
7620
|
}
|
|
7260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
7621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DBCustomSelectFormField, decorators: [{
|
|
7261
7622
|
type: Component,
|
|
7262
7623
|
args: [{ selector: "db-custom-select-form-field", standalone: true, imports: [CommonModule], template: `
|
|
7263
7624
|
<summary
|
|
@@ -7274,5 +7635,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
7274
7635
|
* Generated bundle index. Do not edit.
|
|
7275
7636
|
*/
|
|
7276
7637
|
|
|
7277
|
-
export { AlignmentList, AutoCompleteList, COLOR, COLORS, COLORS_SIMPLE, COLOR_CONST, COLOR_SIMPLE, DBAccordion, DBAccordionItem, DBBadge, DBBrand, DBButton, DBCard, DBCheckbox, DBCustomSelect, DBCustomSelectDropdown, DBCustomSelectFormField, DBCustomSelectList, DBCustomSelectListItem, DBDivider, DBDrawer, DBHeader, DBIcon, DBInfotext, DBInput, DBLink, DBNavigation, DBNavigationItem, DBNotification, DBPage, DBPopover, DBRadio, DBSection, DBSelect, DBStack, DBSwitch, DBTabItem, DBTabList, DBTabPanel, DBTabs, DBTag, DBTextarea, DBTooltip, 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_SELECTED, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, DEFAULT_VIEWPORT, DENSITIES, DENSITY, DENSITY_CONST, DESKTOP_VIEWPORT, EmphasisList, GapSpacingList, LabelVariantList, LinkCurrentList, LinkReferrerPolicyList, LinkTargetList, MarginList, MaxWidthList, MetaNavigationDirective, NavigationContentDirective, NavigationDirective, NavigationItemSafeTriangle, OrientationList, PlacementHorizontalList, PlacementList, PlacementVerticalList, PopoverDelayList, PopoverWidthList, SEMANTIC, SEMANTICS, SecondaryActionDirective, SemanticList, SizeList, SpacingList, TESTING_VIEWPORTS, ValidationList, WidthList, addAttributeToChildren, cls, delay, getBoolean, getBooleanAsString, getHideProp, getInputValue, getNumber, getSearchInput,
|
|
7638
|
+
export { AlignmentList, AutoCompleteList, COLOR, COLORS, COLORS_SIMPLE, COLOR_CONST, COLOR_SIMPLE, DBAccordion, DBAccordionItem, DBBadge, DBBrand, DBButton, DBCard, DBCheckbox, DBCustomSelect, DBCustomSelectDropdown, DBCustomSelectFormField, DBCustomSelectList, DBCustomSelectListItem, DBDivider, DBDrawer, DBHeader, DBIcon, DBInfotext, DBInput, DBLink, DBNavigation, DBNavigationItem, DBNotification, DBPage, DBPopover, DBRadio, DBSection, DBSelect, DBStack, DBSwitch, DBTabItem, DBTabList, DBTabPanel, DBTabs, DBTag, DBTextarea, DBTooltip, 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_SELECTED, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, DEFAULT_VIEWPORT, DENSITIES, DENSITY, DENSITY_CONST, DESKTOP_VIEWPORT, EmphasisList, GapSpacingList, LabelVariantList, LinkCurrentList, LinkReferrerPolicyList, LinkTargetList, MarginList, MaxWidthList, MetaNavigationDirective, NavigationContentDirective, NavigationDirective, NavigationItemSafeTriangle, OrientationList, PlacementHorizontalList, PlacementList, PlacementVerticalList, PopoverDelayList, PopoverWidthList, SEMANTIC, SEMANTICS, SecondaryActionDirective, SemanticList, SizeList, SpacingList, TESTING_VIEWPORTS, ValidationList, WidthList, addAttributeToChildren, cls, delay, getBoolean, getBooleanAsString, getHideProp, getInputValue, getNumber, getSearchInput, hasVoiceOver, isArrayOfStrings, isEventTargetNavigationItem, stringPropVisible, uuid };
|
|
7278
7639
|
//# sourceMappingURL=db-ux-ngx-core-components.mjs.map
|