@3ddv/software-division-components 2.0.14 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/backoffice/datepicker/datepicker.component.css +262 -0
- package/fesm2022/3ddv-software-division-components-dvm-cart.mjs +18 -6
- package/fesm2022/3ddv-software-division-components-dvm-cart.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-dvm-loader.mjs +18 -4
- package/fesm2022/3ddv-software-division-components-dvm-loader.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-dvm-map-loader.mjs +26 -9
- package/fesm2022/3ddv-software-division-components-dvm-map-loader.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-dvm-neighbors.mjs +41 -42
- package/fesm2022/3ddv-software-division-components-dvm-neighbors.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-dvm-popover.mjs +2 -1
- package/fesm2022/3ddv-software-division-components-dvm-popover.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-generic-button.mjs +3 -2
- package/fesm2022/3ddv-software-division-components-generic-button.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-generic-dialog.mjs +173 -19
- package/fesm2022/3ddv-software-division-components-generic-dialog.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-generic-icon.mjs +45 -19
- package/fesm2022/3ddv-software-division-components-generic-icon.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-generic-select.mjs +67 -23
- package/fesm2022/3ddv-software-division-components-generic-select.mjs.map +1 -1
- package/fesm2022/3ddv-software-division-components-generic-tooltip.mjs +136 -0
- package/fesm2022/3ddv-software-division-components-generic-tooltip.mjs.map +1 -0
- package/fesm2022/3ddv-software-division-components.mjs +14 -8
- package/fesm2022/3ddv-software-division-components.mjs.map +1 -1
- package/generic/braintree/braintree.component.css +7 -0
- package/host-tailwind-layer.css +7 -0
- package/package.json +81 -6
- package/shared/themes/sdc.css +68 -0
- package/styles.css +1 -1
- package/types/3ddv-software-division-components-dvm-cart.d.ts +20 -3
- package/types/3ddv-software-division-components-dvm-loader.d.ts +12 -5
- package/types/3ddv-software-division-components-dvm-map-loader.d.ts +3 -3
- package/types/3ddv-software-division-components-dvm-neighbors.d.ts +12 -6
- package/types/3ddv-software-division-components-generic-button.d.ts +2 -1
- package/types/3ddv-software-division-components-generic-dialog.d.ts +121 -49
- package/types/3ddv-software-division-components-generic-icon.d.ts +8 -2
- package/types/3ddv-software-division-components-generic-select.d.ts +12 -5
- package/types/3ddv-software-division-components-generic-tooltip.d.ts +25 -0
- package/types/3ddv-software-division-components.d.ts +10 -0
|
@@ -1,114 +1,186 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { AfterViewInit, ComponentRef, TemplateRef, OutputEmitterRef } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ComponentRef, TemplateRef, OutputEmitterRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i1 from '@spartan-ng/brain/dialog';
|
|
4
4
|
import { BrnDialog, BrnDialogRef, BrnDialogOptions } from '@spartan-ng/brain/dialog';
|
|
5
5
|
import { ComponentType } from '@angular/cdk/portal';
|
|
6
6
|
import { ClassValue } from 'clsx';
|
|
7
7
|
|
|
8
8
|
declare class HlmDialog extends BrnDialog {
|
|
9
|
-
static ɵfac:
|
|
10
|
-
static ɵcmp:
|
|
9
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialog, never>;
|
|
10
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmDialog, "hlm-dialog", ["hlmDialog"], {}, {}, never, ["*"], true, never>;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
declare class HlmDialogClose {
|
|
14
|
-
readonly userClass:
|
|
15
|
-
protected readonly _computedClass:
|
|
16
|
-
static ɵfac:
|
|
17
|
-
static ɵdir:
|
|
14
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
15
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
16
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogClose, never>;
|
|
17
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmDialogClose, "[hlmDialogClose],[brnDialogClose][hlm]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
declare class HlmDialogContent implements AfterViewInit {
|
|
21
21
|
private readonly _dialogRef;
|
|
22
22
|
private readonly _dialogContext;
|
|
23
23
|
private readonly _outlet;
|
|
24
|
-
readonly userClass:
|
|
25
|
-
readonly fitContent:
|
|
24
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
25
|
+
readonly fitContent: _angular_core.InputSignal<boolean>;
|
|
26
|
+
/** When false, the panel close (X) control is not rendered. Default true. Overridden by dialog open context `$showCloseButton` when set. */
|
|
27
|
+
readonly showCloseButton: _angular_core.InputSignal<boolean>;
|
|
26
28
|
projectedRef: ComponentRef<unknown> | null;
|
|
27
|
-
readonly state:
|
|
28
|
-
readonly componentInputs:
|
|
29
|
-
|
|
29
|
+
readonly state: _angular_core.Signal<i1.BrnDialogState>;
|
|
30
|
+
readonly componentInputs: _angular_core.Signal<{
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
}>;
|
|
33
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
30
34
|
readonly component: any;
|
|
31
35
|
private readonly _dynamicComponentClass;
|
|
32
36
|
private readonly _fitContent;
|
|
37
|
+
readonly effectiveShowCloseButton: _angular_core.Signal<boolean>;
|
|
33
38
|
ngAfterViewInit(): void;
|
|
34
|
-
static ɵfac:
|
|
35
|
-
static ɵcmp:
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogContent, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmDialogContent, "hlm-dialog-content", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "fitContent": { "alias": "fitContent"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
declare class HlmDialogDescription {
|
|
39
|
-
readonly userClass:
|
|
40
|
-
protected readonly _computedClass:
|
|
41
|
-
static ɵfac:
|
|
42
|
-
static ɵdir:
|
|
44
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
45
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogDescription, never>;
|
|
47
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmDialogDescription, "[hlmDialogDescription]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnDialogDescription; inputs: {}; outputs: {}; }]>;
|
|
43
48
|
}
|
|
44
49
|
|
|
45
50
|
declare class HlmDialogFooter {
|
|
46
|
-
readonly userClass:
|
|
47
|
-
protected _computedClass:
|
|
48
|
-
static ɵfac:
|
|
49
|
-
static ɵcmp:
|
|
51
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
52
|
+
protected _computedClass: _angular_core.Signal<string>;
|
|
53
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogFooter, never>;
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmDialogFooter, "hlm-dialog-footer", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
50
55
|
}
|
|
51
56
|
|
|
52
57
|
declare class HlmDialogHeader {
|
|
53
|
-
readonly userClass:
|
|
54
|
-
protected _computedClass:
|
|
55
|
-
static ɵfac:
|
|
56
|
-
static ɵcmp:
|
|
58
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
59
|
+
protected _computedClass: _angular_core.Signal<string>;
|
|
60
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogHeader, never>;
|
|
61
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmDialogHeader, "hlm-dialog-header", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
57
62
|
}
|
|
58
63
|
|
|
59
64
|
declare const hlmDialogOverlayClass = "bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0";
|
|
60
65
|
declare class HlmDialogOverlay {
|
|
61
66
|
private readonly _classSettable;
|
|
62
|
-
readonly userClass:
|
|
63
|
-
protected readonly _computedClass:
|
|
67
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
68
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
64
69
|
constructor();
|
|
65
|
-
static ɵfac:
|
|
66
|
-
static ɵdir:
|
|
70
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogOverlay, never>;
|
|
71
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmDialogOverlay, "[hlmDialogOverlay],brn-dialog-overlay[hlm]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
67
72
|
}
|
|
68
73
|
|
|
69
74
|
declare class HlmDialogTitle {
|
|
70
|
-
readonly userClass:
|
|
71
|
-
protected readonly _computedClass:
|
|
72
|
-
static ɵfac:
|
|
73
|
-
static ɵdir:
|
|
75
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
76
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
77
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogTitle, never>;
|
|
78
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmDialogTitle, "[hlmDialogTitle]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnDialogTitle; inputs: {}; outputs: {}; }]>;
|
|
74
79
|
}
|
|
75
80
|
|
|
81
|
+
/**
|
|
82
|
+
* CDK overlay pane sizing (Angular CDK applies this via `OverlayRef.updateSize`).
|
|
83
|
+
* Configure from the host app using `DialogService.open({ ... })`, `sdc-dialog` inputs,
|
|
84
|
+
* or CSS custom properties on `sdc-dialog` (see `readOverlayPaneCssVars`).
|
|
85
|
+
*/
|
|
86
|
+
type HlmOverlayPaneSize = {
|
|
87
|
+
width?: string;
|
|
88
|
+
maxWidth?: string;
|
|
89
|
+
height?: string;
|
|
90
|
+
maxHeight?: string;
|
|
91
|
+
};
|
|
92
|
+
/** CSS custom properties read from `sdc-dialog` (or any host element). */
|
|
93
|
+
declare const SDC_DIALOG_PANE_CSS_VARS: {
|
|
94
|
+
readonly width: "--sdc-dialog-pane-width";
|
|
95
|
+
readonly maxWidth: "--sdc-dialog-pane-max-width";
|
|
96
|
+
readonly height: "--sdc-dialog-pane-height";
|
|
97
|
+
readonly maxHeight: "--sdc-dialog-pane-max-height";
|
|
98
|
+
};
|
|
99
|
+
declare function readOverlayPaneCssVars(host: HTMLElement): HlmOverlayPaneSize;
|
|
100
|
+
declare function pickOverlayPaneFromOptions(options?: {
|
|
101
|
+
overlayPaneWidth?: string;
|
|
102
|
+
overlayPaneMaxWidth?: string;
|
|
103
|
+
overlayPaneHeight?: string;
|
|
104
|
+
overlayPaneMaxHeight?: string;
|
|
105
|
+
}): HlmOverlayPaneSize;
|
|
106
|
+
declare function mergeOverlayPaneSizes(...layers: HlmOverlayPaneSize[]): HlmOverlayPaneSize;
|
|
107
|
+
declare function overlayPaneSizeToUpdateConfig(size: HlmOverlayPaneSize): {
|
|
108
|
+
width?: string;
|
|
109
|
+
maxWidth?: string;
|
|
110
|
+
height?: string;
|
|
111
|
+
maxHeight?: string;
|
|
112
|
+
};
|
|
113
|
+
|
|
76
114
|
type HlmDialogOptions<DialogContext = unknown> = BrnDialogOptions & {
|
|
77
115
|
contentClass?: string;
|
|
78
116
|
fitContent?: boolean;
|
|
117
|
+
showCloseButton?: boolean;
|
|
79
118
|
context?: DialogContext;
|
|
119
|
+
/**
|
|
120
|
+
* CDK overlay pane size (see `HlmOverlayPaneSize`). Overrides defaults from `sdc-dialog` inputs / CSS vars.
|
|
121
|
+
* Spartan does not forward these to CDK; applied via `OverlayRef.updateSize`.
|
|
122
|
+
*/
|
|
123
|
+
overlayPaneWidth?: string;
|
|
124
|
+
overlayPaneMaxWidth?: string;
|
|
125
|
+
overlayPaneHeight?: string;
|
|
126
|
+
overlayPaneMaxHeight?: string;
|
|
80
127
|
};
|
|
81
128
|
type OutputsOf<T> = {
|
|
82
129
|
[K in keyof T as T[K] extends OutputEmitterRef<any> ? K : never]: T[K];
|
|
83
130
|
};
|
|
84
131
|
declare class HlmDialogService {
|
|
85
|
-
ref:
|
|
86
|
-
component:
|
|
132
|
+
ref: _angular_core.WritableSignal<BrnDialogRef<any> | null>;
|
|
133
|
+
component: _angular_core.WritableSignal<BrnDialog | null>;
|
|
134
|
+
/**
|
|
135
|
+
* Host element of `sdc-dialog`; used to read `--sdc-dialog-pane-*` CSS variables on each `open()`.
|
|
136
|
+
* Registered by `DialogComponent`; expect a single dialog host per app.
|
|
137
|
+
*/
|
|
138
|
+
readonly hostElement: _angular_core.WritableSignal<HTMLElement | null>;
|
|
139
|
+
/**
|
|
140
|
+
* Default overlay pane size from `sdc-dialog` inputs. Overridden per `open()` and by CSS vars
|
|
141
|
+
* when defined on the host (merge order: CSS vars → this signal → `open()` options).
|
|
142
|
+
*/
|
|
143
|
+
readonly defaultOverlayPaneSize: _angular_core.WritableSignal<HlmOverlayPaneSize>;
|
|
87
144
|
private readonly _brnDialogService;
|
|
145
|
+
/**
|
|
146
|
+
* Clears host registration when the active `sdc-dialog` is destroyed (single-host apps).
|
|
147
|
+
*/
|
|
148
|
+
releaseHostIfMatch(host: HTMLElement): void;
|
|
88
149
|
open<T = unknown>(component: ComponentType<T> | TemplateRef<T>, options?: Partial<HlmDialogOptions>): {
|
|
89
150
|
reference: BrnDialogRef<any>;
|
|
90
151
|
outputs: OutputsOf<T> | null;
|
|
91
152
|
};
|
|
92
153
|
close(): void;
|
|
93
|
-
static ɵfac:
|
|
94
|
-
static ɵprov:
|
|
154
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogService, never>;
|
|
155
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<HlmDialogService>;
|
|
95
156
|
}
|
|
96
157
|
|
|
97
158
|
declare const HlmDialogImports: readonly [typeof HlmDialog, typeof HlmDialogClose, typeof HlmDialogContent, typeof HlmDialogDescription, typeof HlmDialogFooter, typeof HlmDialogHeader, typeof HlmDialogOverlay, typeof HlmDialogTitle];
|
|
98
159
|
declare class HlmDialogModule {
|
|
99
|
-
static ɵfac:
|
|
100
|
-
static ɵmod:
|
|
101
|
-
static ɵinj:
|
|
160
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmDialogModule, never>;
|
|
161
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<HlmDialogModule, never, never, never>;
|
|
162
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<HlmDialogModule>;
|
|
102
163
|
}
|
|
103
164
|
|
|
104
|
-
declare class DialogComponent {
|
|
165
|
+
declare class DialogComponent implements OnDestroy {
|
|
105
166
|
dialogService: HlmDialogService;
|
|
106
|
-
dialogComponent:
|
|
107
|
-
|
|
167
|
+
dialogComponent: _angular_core.Signal<BrnDialog | undefined>;
|
|
168
|
+
private readonly hostEl;
|
|
169
|
+
fitContent: _angular_core.InputSignal<boolean>;
|
|
170
|
+
showCloseButton: _angular_core.InputSignal<boolean>;
|
|
171
|
+
/**
|
|
172
|
+
* Default CDK overlay pane width (e.g. `800px`). Merge order: CSS vars on `sdc-dialog` → these inputs →
|
|
173
|
+
* `DialogService.open({ overlayPaneWidth, ... })` (strongest).
|
|
174
|
+
*/
|
|
175
|
+
overlayPaneWidth: _angular_core.InputSignal<string | undefined>;
|
|
176
|
+
overlayPaneMaxWidth: _angular_core.InputSignal<string | undefined>;
|
|
177
|
+
overlayPaneHeight: _angular_core.InputSignal<string | undefined>;
|
|
178
|
+
overlayPaneMaxHeight: _angular_core.InputSignal<string | undefined>;
|
|
108
179
|
constructor();
|
|
109
|
-
|
|
110
|
-
static
|
|
180
|
+
ngOnDestroy(): void;
|
|
181
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
182
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogComponent, "sdc-dialog", never, { "fitContent": { "alias": "fitContent"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "overlayPaneWidth": { "alias": "overlayPaneWidth"; "required": false; "isSignal": true; }; "overlayPaneMaxWidth": { "alias": "overlayPaneMaxWidth"; "required": false; "isSignal": true; }; "overlayPaneHeight": { "alias": "overlayPaneHeight"; "required": false; "isSignal": true; }; "overlayPaneMaxHeight": { "alias": "overlayPaneMaxHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
111
183
|
}
|
|
112
184
|
|
|
113
|
-
export { DialogComponent, HlmDialogService as DialogService, HlmDialog, HlmDialogClose, HlmDialogContent, HlmDialogDescription, HlmDialogFooter, HlmDialogHeader, HlmDialogImports, HlmDialogModule, HlmDialogOverlay, HlmDialogService, HlmDialogTitle, hlmDialogOverlayClass };
|
|
114
|
-
export type { HlmDialogOptions, OutputsOf };
|
|
185
|
+
export { DialogComponent, HlmDialogService as DialogService, HlmDialog, HlmDialogClose, HlmDialogContent, HlmDialogDescription, HlmDialogFooter, HlmDialogHeader, HlmDialogImports, HlmDialogModule, HlmDialogOverlay, HlmDialogService, HlmDialogTitle, SDC_DIALOG_PANE_CSS_VARS, hlmDialogOverlayClass, mergeOverlayPaneSizes, overlayPaneSizeToUpdateConfig, pickOverlayPaneFromOptions, readOverlayPaneCssVars };
|
|
186
|
+
export type { HlmDialogOptions, HlmOverlayPaneSize, OutputsOf };
|
|
@@ -3,7 +3,7 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
|
|
5
5
|
declare class SvgIconComponent {
|
|
6
|
-
private readonly
|
|
6
|
+
private readonly httpPlain;
|
|
7
7
|
private readonly cache;
|
|
8
8
|
private readonly sanitizer;
|
|
9
9
|
private readonly elementRef;
|
|
@@ -11,10 +11,16 @@ declare class SvgIconComponent {
|
|
|
11
11
|
readonly iconFolder: _angular_core.InputSignal<string | undefined>;
|
|
12
12
|
readonly className: _angular_core.InputSignal<string>;
|
|
13
13
|
readonly color: _angular_core.InputSignal<string>;
|
|
14
|
+
/** Use `> 0` when the asset relies on stroke */
|
|
14
15
|
readonly strokeWidth: _angular_core.InputSignal<number>;
|
|
15
16
|
readonly svgContent: _angular_core.WritableSignal<SafeHtml | null>;
|
|
16
17
|
constructor();
|
|
17
|
-
|
|
18
|
+
private syncHostPaintVars;
|
|
19
|
+
/**
|
|
20
|
+
* Cache key must include folder: the same `name` can exist under different paths
|
|
21
|
+
* (e.g. `assets/x.svg` vs `assets/img/x.svg`). Caching by name alone poisoned later loads.
|
|
22
|
+
*/
|
|
23
|
+
getIcon(): Observable<string>;
|
|
18
24
|
private sanitizeSvg;
|
|
19
25
|
/**
|
|
20
26
|
* Resolves the color input to a valid CSS value.
|
|
@@ -17,11 +17,12 @@ declare class HlmSelect {
|
|
|
17
17
|
declare class HlmSelectContent {
|
|
18
18
|
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
19
19
|
readonly stickyLabels: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
20
|
+
readonly variant: _angular_core.InputSignal<"light" | "dark" | "glass">;
|
|
20
21
|
protected readonly _stateProvider: _spartan_ng_brain_core.ExposesState | null;
|
|
21
22
|
protected readonly _sideProvider: _spartan_ng_brain_core.ExposesSide | null;
|
|
22
23
|
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
23
24
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSelectContent, never>;
|
|
24
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmSelectContent, "[hlmSelectContent], hlm-select-content", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "stickyLabels": { "alias": "stickyLabels"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmSelectContent, "[hlmSelectContent], hlm-select-content", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "stickyLabels": { "alias": "stickyLabels"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
declare class HlmSelectGroup {
|
|
@@ -42,10 +43,15 @@ declare class HlmSelectLabel {
|
|
|
42
43
|
|
|
43
44
|
declare class HlmSelectOption {
|
|
44
45
|
protected readonly _brnSelectOption: BrnSelectOption<any>;
|
|
46
|
+
private readonly _el;
|
|
45
47
|
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
48
|
+
readonly variant: _angular_core.InputSignal<"light" | "dark" | "glass">;
|
|
49
|
+
constructor();
|
|
50
|
+
protected onMouseEnter(): void;
|
|
51
|
+
protected onMouseLeave(): void;
|
|
46
52
|
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
47
53
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSelectOption, never>;
|
|
48
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmSelectOption, "hlm-option", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BrnSelectOption; inputs: { "disabled": "disabled"; "value": "value"; }; outputs: {}; }]>;
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmSelectOption, "hlm-option", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BrnSelectOption; inputs: { "disabled": "disabled"; "value": "value"; }; outputs: {}; }]>;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
declare class HlmSelectScrollDown {
|
|
@@ -69,7 +75,7 @@ declare class HlmSelectTrigger {
|
|
|
69
75
|
protected readonly _icon: _angular_core.Signal<HlmIcon | undefined>;
|
|
70
76
|
protected readonly _brnSelect: BrnSelect<any> | null;
|
|
71
77
|
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
72
|
-
readonly variant: _angular_core.InputSignal<"light" | "dark">;
|
|
78
|
+
readonly variant: _angular_core.InputSignal<"light" | "dark" | "glass">;
|
|
73
79
|
readonly size: _angular_core.InputSignal<"default" | "sm">;
|
|
74
80
|
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
75
81
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSelectTrigger, never>;
|
|
@@ -97,14 +103,15 @@ interface SelectOptions {
|
|
|
97
103
|
|
|
98
104
|
declare class SelectComponent {
|
|
99
105
|
placeholder: _angular_core.InputSignal<string>;
|
|
100
|
-
variant: _angular_core.InputSignal<"light" | "dark">;
|
|
106
|
+
variant: _angular_core.InputSignal<"light" | "dark" | "glass">;
|
|
101
107
|
options: _angular_core.InputSignal<SelectOptions[]>;
|
|
102
108
|
fullWidth: _angular_core.InputSignal<boolean>;
|
|
103
109
|
defaultValue: _angular_core.InputSignal<SelectOptions | undefined>;
|
|
110
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
104
111
|
readonly valueChange: _angular_core.OutputEmitterRef<unknown>;
|
|
105
112
|
protected get variantClasses(): string;
|
|
106
113
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
107
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "sdc-select", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
114
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "sdc-select", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
108
115
|
}
|
|
109
116
|
|
|
110
117
|
export { HlmSelect, HlmSelectContent, HlmSelectGroup, HlmSelectImports, HlmSelectLabel, HlmSelectModule, HlmSelectOption, HlmSelectScrollDown, HlmSelectScrollUp, HlmSelectTrigger, HlmSelectValue, SelectComponent, selectTriggerVariants };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@spartan-ng/brain/tooltip';
|
|
3
|
+
|
|
4
|
+
declare class HlmTooltip {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmTooltip, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmTooltip, "hlm-tooltip", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.BrnTooltip; inputs: {}; outputs: {}; }]>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare class SdcTooltipDirective {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdcTooltipDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SdcTooltipDirective, "[sdcTooltip]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnTooltipTrigger; inputs: { "brnTooltipTrigger": "sdcTooltip"; "position": "position"; "positionAtOrigin": "positionAtOrigin"; "hideDelay": "hideDelay"; "showDelay": "showDelay"; "exitAnimationDuration": "exitAnimationDuration"; "touchGestures": "touchGestures"; }; outputs: {}; }]>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class HlmTooltipTrigger {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmTooltipTrigger, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTooltipTrigger, "[hlmTooltipTrigger]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnTooltipTrigger; inputs: { "brnTooltipDisabled": "hlmTooltipDisabled"; "brnTooltipTrigger": "hlmTooltipTrigger"; "aria-describedby": "aria-describedby"; "position": "position"; "positionAtOrigin": "positionAtOrigin"; "hideDelay": "hideDelay"; "showDelay": "showDelay"; "exitAnimationDuration": "exitAnimationDuration"; "touchGestures": "touchGestures"; }; outputs: {}; }]>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class HlmTooltipModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmTooltipModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HlmTooltipModule, never, [typeof HlmTooltip, typeof HlmTooltipTrigger, typeof SdcTooltipDirective], [typeof HlmTooltip, typeof HlmTooltipTrigger, typeof SdcTooltipDirective]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HlmTooltipModule>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { HlmTooltip, HlmTooltipModule, HlmTooltipTrigger, SdcTooltipDirective };
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
export * from '@3ddv/software-division-components/shared';
|
|
2
2
|
export { SCREENS_TOKEN, ScreenObserver, applyGlobalCssVariables, provideScreenObserver, provideSdc } from '@3ddv/software-division-components/shared';
|
|
3
|
+
export { AddDigitalWalletComponent } from '@3ddv/software-division-components/generic/add-digital-wallet';
|
|
4
|
+
export { BraintreeComponent } from '@3ddv/software-division-components/generic/braintree';
|
|
5
|
+
export { ButtonComponent } from '@3ddv/software-division-components/generic/button';
|
|
6
|
+
export { SvgIconComponent } from '@3ddv/software-division-components/generic/icon';
|
|
7
|
+
export { SelectComponent } from '@3ddv/software-division-components/generic/select';
|
|
8
|
+
export { LoaderComponent } from '@3ddv/software-division-components/dvm/loader';
|
|
9
|
+
export { MapLoaderComponent } from '@3ddv/software-division-components/dvm/map-loader';
|
|
10
|
+
export { NeighborsComponent } from '@3ddv/software-division-components/dvm/neighbors';
|
|
11
|
+
export * from '@3ddv/software-division-components/dvm/popover';
|
|
12
|
+
export { CartItem, SeatGroup } from '@3ddv/software-division-components/dvm/cart';
|