yukit-web 0.0.11 → 0.0.13
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/.npm/_cacache/content-v2/sha512/03/98/70979fc359861d63479e1619d042ae426b2765f31a8af329a1f76a60cd26b0159ea29bb70209838d246dd6a0a5bafc6617f597733ccae24b8f25ae597d19 +1 -0
- package/.npm/_cacache/index-v5/64/dc/73c7a26f2e6eb0c711133d96c247da5ecf0eba708cd37c450a7b3c7cb488 +1 -1
- package/.npm/_logs/{2026-08-31T12_58_48_812Z-debug-0.log → 2026-09-03T11_06_22_047Z-debug-0.log} +10 -10
- package/.npm/_logs/{2026-08-31T12_58_49_377Z-debug-0.log → 2026-09-03T11_06_22_642Z-debug-0.log} +2 -2
- package/fesm2022/yukit-web-helm-accordion.mjs +12 -12
- package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert-dialog.mjs +36 -36
- package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert.mjs +12 -12
- package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs +3 -3
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-attachment.mjs +27 -27
- package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-autocomplete.mjs +36 -36
- package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-avatar.mjs +18 -18
- package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-badge.mjs +3 -3
- package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-breadcrumb.mjs +21 -21
- package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-bubble.mjs +12 -12
- package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button-group.mjs +9 -9
- package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button.mjs +3 -3
- package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-calendar.mjs +12 -12
- package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-card.mjs +21 -21
- package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-carousel.mjs +18 -18
- package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-checkbox.mjs +3 -3
- package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-collapsible.mjs +9 -9
- package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-combobox.mjs +63 -63
- package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-command.mjs +33 -33
- package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-context-menu.mjs +3 -3
- package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-date-picker.mjs +30 -30
- package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dialog.mjs +33 -33
- package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-drawer.mjs +30 -30
- package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs +51 -51
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-empty.mjs +18 -18
- package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-field.mjs +30 -30
- package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-hover-card.mjs +12 -12
- package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-group.mjs +18 -18
- package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-otp.mjs +15 -15
- package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input.mjs +3 -3
- package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-item.mjs +30 -30
- package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-kbd.mjs +6 -6
- package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-label.mjs +3 -3
- package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-marker.mjs +9 -9
- package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-menubar.mjs +6 -6
- package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-message.mjs +18 -18
- package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-native-select.mjs +9 -9
- package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-navigation-menu.mjs +21 -21
- package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-pagination.mjs +27 -27
- package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-popover.mjs +21 -21
- package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-progress.mjs +6 -6
- package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-radio-group.mjs +9 -9
- package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-resizable.mjs +9 -9
- package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-scroll-area.mjs +3 -3
- package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-select.mjs +48 -48
- package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-separator.mjs +3 -3
- package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sheet.mjs +30 -30
- package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sidebar.mjs +72 -72
- package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-skeleton.mjs +3 -3
- package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-slider.mjs +3 -3
- package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sonner.mjs +3 -3
- package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-spinner.mjs +3 -3
- package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-switch.mjs +6 -6
- package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-table.mjs +27 -27
- package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tabs.mjs +18 -18
- package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-textarea.mjs +3 -3
- package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle-group.mjs +6 -6
- package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle.mjs +3 -3
- package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tooltip.mjs +3 -3
- package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-typography.mjs +36 -36
- package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
- package/fesm2022/yukit-web.mjs +997 -910
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +2 -2
- package/types/yukit-web.d.ts +315 -290
- package/.npm/_cacache/content-v2/sha512/91/84/7c92c9dd9c293aab175752ad46bf81644f183a08e6d676883687d9582b567e12d86c1a66d285eecd45ad523581dc28033a028ee028f51693fc126121d19f +0 -1
|
@@ -7,10 +7,10 @@ class HlmEmpty {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
classes(() => 'gap-4 rounded-xl border-dashed p-6 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance');
|
|
9
9
|
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmEmpty, isStandalone: true, selector: "[hlmEmpty],hlm-empty", host: { attributes: { "data-slot": "empty" } }, ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmpty, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: '[hlmEmpty],hlm-empty',
|
|
@@ -22,10 +22,10 @@ class HlmEmptyContent {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
classes(() => 'gap-2.5 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance');
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmEmptyContent, isStandalone: true, selector: "[hlmEmptyContent],hlm-empty-content", host: { attributes: { "data-slot": "empty-content" } }, ngImport: i0 }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyContent, decorators: [{
|
|
29
29
|
type: Directive,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: '[hlmEmptyContent],hlm-empty-content',
|
|
@@ -37,10 +37,10 @@ class HlmEmptyDescription {
|
|
|
37
37
|
constructor() {
|
|
38
38
|
classes(() => 'text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4');
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
41
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
41
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmEmptyDescription, isStandalone: true, selector: "[hlmEmptyDescription]", host: { attributes: { "data-slot": "empty-description" } }, ngImport: i0 }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyDescription, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[hlmEmptyDescription]',
|
|
@@ -52,10 +52,10 @@ class HlmEmptyHeader {
|
|
|
52
52
|
constructor() {
|
|
53
53
|
classes(() => 'gap-2 flex max-w-sm flex-col items-center');
|
|
54
54
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
56
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
56
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmEmptyHeader, isStandalone: true, selector: "[hlmEmptyHeader],hlm-empty-header", host: { attributes: { "data-slot": "empty-header" } }, ngImport: i0 }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyHeader, decorators: [{
|
|
59
59
|
type: Directive,
|
|
60
60
|
args: [{
|
|
61
61
|
selector: '[hlmEmptyHeader],hlm-empty-header',
|
|
@@ -79,10 +79,10 @@ class HlmEmptyMedia {
|
|
|
79
79
|
this.variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
80
80
|
classes(() => emptyMediaVariants({ variant: this.variant() }));
|
|
81
81
|
}
|
|
82
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
83
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
83
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmEmptyMedia, isStandalone: true, selector: "[hlmEmptyMedia],hlm-empty-media", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "empty-media" }, properties: { "attr.data-variant": "variant()" } }, ngImport: i0 }); }
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyMedia, decorators: [{
|
|
86
86
|
type: Directive,
|
|
87
87
|
args: [{
|
|
88
88
|
selector: '[hlmEmptyMedia],hlm-empty-media',
|
|
@@ -97,10 +97,10 @@ class HlmEmptyTitle {
|
|
|
97
97
|
constructor() {
|
|
98
98
|
classes(() => 'text-sm font-medium tracking-tight');
|
|
99
99
|
}
|
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
101
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
101
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmEmptyTitle, isStandalone: true, selector: "[hlmEmptyTitle]", host: { attributes: { "data-slot": "empty-title" } }, ngImport: i0 }); }
|
|
102
102
|
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmEmptyTitle, decorators: [{
|
|
104
104
|
type: Directive,
|
|
105
105
|
args: [{
|
|
106
106
|
selector: '[hlmEmptyTitle]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yukit-web-helm-empty.mjs","sources":["../../../projects/yukit-web/helm/empty/src/lib/hlm-empty.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-content.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-description.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-header.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-media.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-title.ts","../../../projects/yukit-web/helm/empty/src/index.ts","../../../projects/yukit-web/helm/empty/src/yukit-web-helm-empty.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmpty],hlm-empty',\n\thost: { 'data-slot': 'empty' },\n})\nexport class HlmEmpty {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() => 'gap-4 rounded-xl border-dashed p-6 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyContent],hlm-empty-content',\n\thost: { 'data-slot': 'empty-content' },\n})\nexport class HlmEmptyContent {\n\tconstructor() {\n\t\tclasses(() => 'gap-2.5 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyDescription]',\n\thost: { 'data-slot': 'empty-description' },\n})\nexport class HlmEmptyDescription {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyHeader],hlm-empty-header',\n\thost: { 'data-slot': 'empty-header' },\n})\nexport class HlmEmptyHeader {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 flex max-w-sm flex-col items-center');\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, VariantProps } from 'class-variance-authority';\n\nconst emptyMediaVariants = cva(\n\t'mb-2 flex shrink-0 items-center justify-center [&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0',\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'bg-transparent',\n\t\t\t\ticon: \"bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)]\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: 'default',\n\t\t},\n\t},\n);\n\nexport type EmptyMediaVariants = VariantProps<typeof emptyMediaVariants>;\n\n@Directive({\n\tselector: '[hlmEmptyMedia],hlm-empty-media',\n\thost: {\n\t\t'data-slot': 'empty-media',\n\t\t'[attr.data-variant]': 'variant()',\n\t},\n})\nexport class HlmEmptyMedia {\n\tpublic readonly variant = input<EmptyMediaVariants['variant']>();\n\n\tconstructor() {\n\t\tclasses(() => emptyMediaVariants({ variant: this.variant() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyTitle]',\n\thost: { 'data-slot': 'empty-title' },\n})\nexport class HlmEmptyTitle {\n\tconstructor() {\n\t\tclasses(() => 'text-sm font-medium tracking-tight');\n\t}\n}\n","import { HlmEmpty } from './lib/hlm-empty';\nimport { HlmEmptyContent } from './lib/hlm-empty-content';\nimport { HlmEmptyDescription } from './lib/hlm-empty-description';\nimport { HlmEmptyHeader } from './lib/hlm-empty-header';\nimport { HlmEmptyMedia } from './lib/hlm-empty-media';\nimport { HlmEmptyTitle } from './lib/hlm-empty-title';\n\nexport * from './lib/hlm-empty';\nexport * from './lib/hlm-empty-content';\nexport * from './lib/hlm-empty-description';\nexport * from './lib/hlm-empty-header';\nexport * from './lib/hlm-empty-media';\nexport * from './lib/hlm-empty-title';\n\nexport const HlmEmptyImports = [\n\tHlmEmpty,\n\tHlmEmptyContent,\n\tHlmEmptyDescription,\n\tHlmEmptyHeader,\n\tHlmEmptyTitle,\n\tHlmEmptyMedia,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAOa,QAAQ,CAAA;AACpB,IAAA,WAAA,GAAA;AACC,QAAA,OAAO,CACN,MAAM,6HAA6H,CACnI;IACF
|
|
1
|
+
{"version":3,"file":"yukit-web-helm-empty.mjs","sources":["../../../projects/yukit-web/helm/empty/src/lib/hlm-empty.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-content.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-description.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-header.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-media.ts","../../../projects/yukit-web/helm/empty/src/lib/hlm-empty-title.ts","../../../projects/yukit-web/helm/empty/src/index.ts","../../../projects/yukit-web/helm/empty/src/yukit-web-helm-empty.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmpty],hlm-empty',\n\thost: { 'data-slot': 'empty' },\n})\nexport class HlmEmpty {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() => 'gap-4 rounded-xl border-dashed p-6 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyContent],hlm-empty-content',\n\thost: { 'data-slot': 'empty-content' },\n})\nexport class HlmEmptyContent {\n\tconstructor() {\n\t\tclasses(() => 'gap-2.5 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyDescription]',\n\thost: { 'data-slot': 'empty-description' },\n})\nexport class HlmEmptyDescription {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyHeader],hlm-empty-header',\n\thost: { 'data-slot': 'empty-header' },\n})\nexport class HlmEmptyHeader {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 flex max-w-sm flex-col items-center');\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, VariantProps } from 'class-variance-authority';\n\nconst emptyMediaVariants = cva(\n\t'mb-2 flex shrink-0 items-center justify-center [&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0',\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'bg-transparent',\n\t\t\t\ticon: \"bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)]\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: 'default',\n\t\t},\n\t},\n);\n\nexport type EmptyMediaVariants = VariantProps<typeof emptyMediaVariants>;\n\n@Directive({\n\tselector: '[hlmEmptyMedia],hlm-empty-media',\n\thost: {\n\t\t'data-slot': 'empty-media',\n\t\t'[attr.data-variant]': 'variant()',\n\t},\n})\nexport class HlmEmptyMedia {\n\tpublic readonly variant = input<EmptyMediaVariants['variant']>();\n\n\tconstructor() {\n\t\tclasses(() => emptyMediaVariants({ variant: this.variant() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmEmptyTitle]',\n\thost: { 'data-slot': 'empty-title' },\n})\nexport class HlmEmptyTitle {\n\tconstructor() {\n\t\tclasses(() => 'text-sm font-medium tracking-tight');\n\t}\n}\n","import { HlmEmpty } from './lib/hlm-empty';\nimport { HlmEmptyContent } from './lib/hlm-empty-content';\nimport { HlmEmptyDescription } from './lib/hlm-empty-description';\nimport { HlmEmptyHeader } from './lib/hlm-empty-header';\nimport { HlmEmptyMedia } from './lib/hlm-empty-media';\nimport { HlmEmptyTitle } from './lib/hlm-empty-title';\n\nexport * from './lib/hlm-empty';\nexport * from './lib/hlm-empty-content';\nexport * from './lib/hlm-empty-description';\nexport * from './lib/hlm-empty-header';\nexport * from './lib/hlm-empty-media';\nexport * from './lib/hlm-empty-title';\n\nexport const HlmEmptyImports = [\n\tHlmEmpty,\n\tHlmEmptyContent,\n\tHlmEmptyDescription,\n\tHlmEmptyHeader,\n\tHlmEmptyTitle,\n\tHlmEmptyMedia,\n] as const;\n","/**\n * Generated bundle index. Do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AC;IACpD;+GAHY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,IAAI,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE;AACpC,iBAAA;;;ACQM,MAAM,eAAe,GAAG;IAC9B,QAAQ;IACR,eAAe;IACf,mBAAmB;IACnB,cAAc;IACd,aAAa;IACb,aAAa;;;ACpBd;;AAEG;;"}
|
|
@@ -33,10 +33,10 @@ class HlmField {
|
|
|
33
33
|
this.orientation = input('vertical', ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
34
34
|
classes(() => fieldVariants({ orientation: this.orientation() }));
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
37
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmField, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
37
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmField, isStandalone: true, selector: "[hlmField],hlm-field", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group", "data-slot": "field" }, properties: { "attr.data-orientation": "orientation()" } }, hostDirectives: [{ directive: i1.BrnField, inputs: ["data-invalid", "data-invalid", "forceInvalid", "forceInvalid"] }], ngImport: i0 }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmField, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[hlmField],hlm-field',
|
|
@@ -53,10 +53,10 @@ class HlmFieldContent {
|
|
|
53
53
|
constructor() {
|
|
54
54
|
classes(() => 'gap-0.5 group/field-content flex flex-1 flex-col leading-snug');
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
57
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
57
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmFieldContent, isStandalone: true, selector: "[hlmFieldContent],hlm-field-content", host: { attributes: { "data-slot": "field-content" } }, ngImport: i0 }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldContent, decorators: [{
|
|
60
60
|
type: Directive,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: '[hlmFieldContent],hlm-field-content',
|
|
@@ -96,10 +96,10 @@ class HlmFieldDescription {
|
|
|
96
96
|
this._a11y?.unregisterDescription(this._registeredId);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
100
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
99
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
100
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmFieldDescription, isStandalone: true, selector: "[hlmFieldDescription],hlm-field-description", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "field-description" }, properties: { "attr.id": "id()" } }, ngImport: i0 }); }
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldDescription, decorators: [{
|
|
103
103
|
type: Directive,
|
|
104
104
|
args: [{
|
|
105
105
|
selector: '[hlmFieldDescription],hlm-field-description',
|
|
@@ -161,14 +161,14 @@ class HlmFieldError {
|
|
|
161
161
|
this._a11y?.unregisterError(this._registeredId);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
165
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldError, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
165
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HlmFieldError, isStandalone: true, selector: "hlm-field-error", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, validator: { classPropertyName: "validator", publicName: "validator", isSignal: true, isRequired: false, transformFunction: null }, forceShow: { classPropertyName: "forceShow", publicName: "forceShow", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "alert", "data-slot": "field-error" }, properties: { "attr.id": "id()", "hidden": "!_display()" } }, ngImport: i0, template: `
|
|
166
166
|
@if (_display()) {
|
|
167
167
|
<ng-content />
|
|
168
168
|
}
|
|
169
169
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
170
170
|
}
|
|
171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldError, decorators: [{
|
|
172
172
|
type: Component,
|
|
173
173
|
args: [{
|
|
174
174
|
selector: 'hlm-field-error',
|
|
@@ -191,10 +191,10 @@ class HlmFieldGroup {
|
|
|
191
191
|
constructor() {
|
|
192
192
|
classes(() => 'gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4 group/field-group @container/field-group flex w-full flex-col');
|
|
193
193
|
}
|
|
194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
195
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
195
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmFieldGroup, isStandalone: true, selector: "[hlmFieldGroup],hlm-field-group", host: { attributes: { "data-slot": "field-group" } }, ngImport: i0 }); }
|
|
196
196
|
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldGroup, decorators: [{
|
|
198
198
|
type: Directive,
|
|
199
199
|
args: [{
|
|
200
200
|
selector: '[hlmFieldGroup],hlm-field-group',
|
|
@@ -209,10 +209,10 @@ class HlmFieldLabel {
|
|
|
209
209
|
'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col',
|
|
210
210
|
]);
|
|
211
211
|
}
|
|
212
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
213
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
212
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
213
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmFieldLabel, isStandalone: true, selector: "[hlmFieldLabel],hlm-field-label", host: { attributes: { "data-slot": "field-label" } }, hostDirectives: [{ directive: i1$1.HlmLabel }], ngImport: i0 }); }
|
|
214
214
|
}
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldLabel, decorators: [{
|
|
216
216
|
type: Directive,
|
|
217
217
|
args: [{
|
|
218
218
|
selector: '[hlmFieldLabel],hlm-field-label',
|
|
@@ -226,10 +226,10 @@ class HlmFieldLegend {
|
|
|
226
226
|
this.variant = input('legend', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
227
227
|
classes(() => 'mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base');
|
|
228
228
|
}
|
|
229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
230
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
229
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldLegend, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
230
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmFieldLegend, isStandalone: true, selector: "legend[hlmFieldLegend]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "field-legend" }, properties: { "attr.data-variant": "variant()" } }, ngImport: i0 }); }
|
|
231
231
|
}
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldLegend, decorators: [{
|
|
233
233
|
type: Directive,
|
|
234
234
|
args: [{
|
|
235
235
|
selector: 'legend[hlmFieldLegend]',
|
|
@@ -244,8 +244,8 @@ class HlmFieldSeparator {
|
|
|
244
244
|
constructor() {
|
|
245
245
|
classes(() => '-my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2 relative');
|
|
246
246
|
}
|
|
247
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
248
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldSeparator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
248
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HlmFieldSeparator, isStandalone: true, selector: "hlm-field-separator", host: { attributes: { "data-slot": "field-separator" } }, ngImport: i0, template: `
|
|
249
249
|
<hlm-separator class="absolute inset-0 top-1/2" />
|
|
250
250
|
<span
|
|
251
251
|
data-slot="field-separator-content"
|
|
@@ -255,7 +255,7 @@ class HlmFieldSeparator {
|
|
|
255
255
|
</span>
|
|
256
256
|
`, isInline: true, dependencies: [{ kind: "directive", type: HlmSeparator, selector: "[hlmSeparator],hlm-separator" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
257
257
|
}
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldSeparator, decorators: [{
|
|
259
259
|
type: Component,
|
|
260
260
|
args: [{
|
|
261
261
|
selector: 'hlm-field-separator',
|
|
@@ -278,10 +278,10 @@ class HlmFieldSet {
|
|
|
278
278
|
constructor() {
|
|
279
279
|
classes(() => 'gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col');
|
|
280
280
|
}
|
|
281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
282
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
281
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldSet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
282
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmFieldSet, isStandalone: true, selector: "fieldset[hlmFieldSet]", host: { attributes: { "data-slot": "field-set" } }, ngImport: i0 }); }
|
|
283
283
|
}
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldSet, decorators: [{
|
|
285
285
|
type: Directive,
|
|
286
286
|
args: [{
|
|
287
287
|
selector: 'fieldset[hlmFieldSet]',
|
|
@@ -293,10 +293,10 @@ class HlmFieldTitle {
|
|
|
293
293
|
constructor() {
|
|
294
294
|
classes(() => 'gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center');
|
|
295
295
|
}
|
|
296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
297
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
297
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmFieldTitle, isStandalone: true, selector: "[hlmFieldTitle],hlm-field-title", host: { attributes: { "data-slot": "field-label" } }, ngImport: i0 }); }
|
|
298
298
|
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmFieldTitle, decorators: [{
|
|
300
300
|
type: Directive,
|
|
301
301
|
args: [{
|
|
302
302
|
selector: '[hlmFieldTitle],hlm-field-title',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yukit-web-helm-field.mjs","sources":["../../../projects/yukit-web/helm/field/src/lib/hlm-field.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-content.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-description.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-error.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-group.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-label.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-legend.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-separator.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-set.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-title.ts","../../../projects/yukit-web/helm/field/src/index.ts","../../../projects/yukit-web/helm/field/src/yukit-web-helm-field.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\nimport { BrnField } from '@spartan-ng/brain/field';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, VariantProps } from 'class-variance-authority';\n\nconst fieldVariants = cva('data-[matches-spartan-invalid=true]:text-destructive gap-2 group/field flex w-full', {\n\tvariants: {\n\t\torientation: {\n\t\t\tvertical: 'flex-col *:w-full [&>.sr-only]:w-auto',\n\t\t\thorizontal: [\n\t\t\t\t'flex-row items-center',\n\t\t\t\t'*:data-[slot=field-label]:flex-auto',\n\t\t\t\t'has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n\t\t\t],\n\t\t\tresponsive: [\n\t\t\t\t'flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto [&>.sr-only]:w-auto',\n\t\t\t\t'@md/field-group:*:data-[slot=field-label]:flex-auto',\n\t\t\t\t'@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n\t\t\t],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\torientation: 'vertical',\n\t},\n});\n\nexport type FieldVariants = VariantProps<typeof fieldVariants>;\n\n@Directive({\n\tselector: '[hlmField],hlm-field',\n\thostDirectives: [{ directive: BrnField, inputs: ['data-invalid', 'forceInvalid'] }],\n\thost: {\n\t\trole: 'group',\n\t\t'data-slot': 'field',\n\t\t'[attr.data-orientation]': 'orientation()',\n\t},\n})\nexport class HlmField {\n\tpublic readonly orientation = input<FieldVariants['orientation']>('vertical');\n\n\tconstructor() {\n\t\tclasses(() => fieldVariants({ orientation: this.orientation() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldContent],hlm-field-content',\n\thost: { 'data-slot': 'field-content' },\n})\nexport class HlmFieldContent {\n\tconstructor() {\n\t\tclasses(() => 'gap-0.5 group/field-content flex flex-1 flex-col leading-snug');\n\t}\n}\n","import { Directive, effect, EffectRef, inject, input, OnDestroy } from '@angular/core';\nimport { BrnFieldA11yService } from '@spartan-ng/brain/field';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldDescription],hlm-field-description',\n\thost: {\n\t\t'data-slot': 'field-description',\n\t\t'[attr.id]': 'id()',\n\t},\n})\nexport class HlmFieldDescription implements OnDestroy {\n\tprivate static _id = 0;\n\n\tprivate readonly _a11y = inject(BrnFieldA11yService, { optional: true, host: true });\n\n\tpublic readonly id = input<string>(`hlm-field-description-${HlmFieldDescription._id++}`);\n\n\tprivate _registeredId?: string;\n\n\tprivate readonly _cleanup: EffectRef | null = this._a11y\n\t\t? effect(() => {\n\t\t\tconst a11y = this._a11y;\n\t\t\tif (!a11y) return;\n\n\t\t\tconst id = this.id();\n\t\t\tif (this._registeredId && this._registeredId !== id) {\n\t\t\t\ta11y.unregisterDescription(this._registeredId);\n\t\t\t}\n\n\t\t\tif (this._registeredId !== id) {\n\t\t\t\ta11y.registerDescription(id);\n\t\t\t\tthis._registeredId = id;\n\t\t\t}\n\t\t})\n\t\t: null;\n\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'text-muted-foreground text-start text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-data-horizontal/field:text-balance',\n\t\t\t'last:mt-0 nth-last-2:-mt-1',\n\t\t\t'[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n\t\t]);\n\t}\n\n\tngOnDestroy() {\n\t\tthis._cleanup?.destroy();\n\n\t\tif (this._registeredId) {\n\t\t\tthis._a11y?.unregisterDescription(this._registeredId);\n\t\t}\n\t}\n}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport {\n\tbooleanAttribute,\n\tChangeDetectionStrategy,\n\tComponent,\n\tcomputed,\n\teffect,\n\tEffectRef,\n\tinject,\n\tinput,\n\tOnDestroy,\n} from '@angular/core';\nimport { BrnField, BrnFieldA11yService } from '@spartan-ng/brain/field';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-field-error',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\trole: 'alert',\n\t\t'data-slot': 'field-error',\n\t\t'[attr.id]': 'id()',\n\t\t'[hidden]': '!_display()',\n\t},\n\ttemplate: `\n\t\t@if (_display()) {\n\t\t\t<ng-content />\n\t\t}\n\t`,\n})\nexport class HlmFieldError implements OnDestroy {\n\tprivate static _id = 0;\n\n\tprivate readonly _field = inject(BrnField, { optional: true });\n\tprivate readonly _a11y = inject(BrnFieldA11yService, { optional: true, host: true });\n\n\tprivate _registeredId?: string | undefined;\n\n\tprivate readonly _hasParentField = !!this._field;\n\n\t/** The unique ID for the field error. If none is supplied, it will be auto-generated. */\n\tpublic readonly id = input<string>(`hlm-field-error-${HlmFieldError._id++}`);\n\n\t/**\n\t * The name of the specific validator error key to match (e.g. 'required').\n\t * When omitted, the error is shown if any validation error is present.\n\t */\n\tpublic readonly validator = input<string>();\n\n\t/** Forces the error message to be visible regardless of the control's validation state. */\n\tpublic readonly forceShow = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n\tprotected readonly _display = computed(() => !this._hasParentField || this.forceShow() || this._hasError());\n\n\tprotected readonly _hasError = computed(() => {\n\t\tconst errors = this._field?.errors();\n\t\tif (!errors) return false;\n\n\t\tconst validator = this.validator();\n\t\tconst spartanInvalid = this._field?.controlState()?.spartanInvalid;\n\n\t\tif (!spartanInvalid) return false;\n\n\t\treturn validator ? validator in errors : Object.keys(errors).length > 0;\n\t});\n\n\tprivate readonly _cleanup: EffectRef | null = this._a11y\n\t\t? effect(() => {\n\t\t\tconst a11y = this._a11y;\n\t\t\tif (!a11y) return;\n\n\t\t\tconst id = this.id();\n\t\t\tconst hasError = this._hasError();\n\n\t\t\tif (this._registeredId && (this._registeredId !== id || !hasError)) {\n\t\t\t\ta11y.unregisterError(this._registeredId);\n\t\t\t\tthis._registeredId = undefined;\n\t\t\t}\n\n\t\t\tif (hasError && this._registeredId !== id) {\n\t\t\t\ta11y.registerError(id);\n\t\t\t\tthis._registeredId = id;\n\t\t\t}\n\t\t})\n\t\t: null;\n\n\tconstructor() {\n\t\tclasses(() => 'text-destructive text-sm font-normal');\n\t}\n\n\tngOnDestroy() {\n\t\tthis._cleanup?.destroy();\n\n\t\tif (this._registeredId) {\n\t\t\tthis._a11y?.unregisterError(this._registeredId);\n\t\t}\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldGroup],hlm-field-group',\n\thost: { 'data-slot': 'field-group' },\n})\nexport class HlmFieldGroup {\n\tconstructor() {\n\t\tclasses(() => 'gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4 group/field-group @container/field-group flex w-full flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmLabel } from 'yukit-web/helm/label';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldLabel],hlm-field-label',\n\thostDirectives: [HlmLabel],\n\thost: { 'data-slot': 'field-label' },\n})\nexport class HlmFieldLabel {\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'has-data-checked:bg-primary/5 has-data-checked:border-primary/30 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5 group/field-label peer/field-label flex w-fit',\n\t\t\t'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col',\n\t\t]);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'legend[hlmFieldLegend]',\n\thost: {\n\t\t'data-slot': 'field-legend',\n\t\t'[attr.data-variant]': 'variant()',\n\t},\n})\nexport class HlmFieldLegend {\n\tpublic readonly variant = input<'label' | 'legend'>('legend');\n\n\tconstructor() {\n\t\tclasses(() => 'mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base');\n\t}\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { HlmSeparator } from 'yukit-web/helm/separator';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-field-separator',\n\timports: [HlmSeparator],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: { 'data-slot': 'field-separator' },\n\ttemplate: `\n\t\t<hlm-separator class=\"absolute inset-0 top-1/2\" />\n\t\t<span\n\t\t\tdata-slot=\"field-separator-content\"\n\t\t\tclass=\"text-muted-foreground px-2 bg-background relative mx-auto block w-fit\"\n\t\t>\n\t\t\t<ng-content />\n\t\t</span>\n\t`,\n})\nexport class HlmFieldSeparator {\n\tconstructor() {\n\t\tclasses(() => '-my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2 relative');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'fieldset[hlmFieldSet]',\n\thost: { 'data-slot': 'field-set' },\n})\nexport class HlmFieldSet {\n\tconstructor() {\n\t\tclasses(() => 'gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldTitle],hlm-field-title',\n\thost: { 'data-slot': 'field-label' },\n})\nexport class HlmFieldTitle {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center');\n\t}\n}\n","import { HlmField } from './lib/hlm-field';\nimport { HlmFieldContent } from './lib/hlm-field-content';\nimport { HlmFieldDescription } from './lib/hlm-field-description';\nimport { HlmFieldError } from './lib/hlm-field-error';\nimport { HlmFieldGroup } from './lib/hlm-field-group';\nimport { HlmFieldLabel } from './lib/hlm-field-label';\nimport { HlmFieldLegend } from './lib/hlm-field-legend';\nimport { HlmFieldSeparator } from './lib/hlm-field-separator';\nimport { HlmFieldSet } from './lib/hlm-field-set';\nimport { HlmFieldTitle } from './lib/hlm-field-title';\n\nexport * from './lib/hlm-field';\nexport * from './lib/hlm-field-content';\nexport * from './lib/hlm-field-description';\nexport * from './lib/hlm-field-error';\nexport * from './lib/hlm-field-group';\nexport * from './lib/hlm-field-label';\nexport * from './lib/hlm-field-legend';\nexport * from './lib/hlm-field-separator';\nexport * from './lib/hlm-field-set';\nexport * from './lib/hlm-field-title';\n\nexport const HlmFieldImports = [\n\tHlmField,\n\tHlmFieldContent,\n\tHlmFieldDescription,\n\tHlmFieldError,\n\tHlmFieldGroup,\n\tHlmFieldLabel,\n\tHlmFieldLegend,\n\tHlmFieldSeparator,\n\tHlmFieldSet,\n\tHlmFieldTitle,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAKA,MAAM,aAAa,GAAG,GAAG,CAAC,oFAAoF,EAAE;AAC/G,IAAA,QAAQ,EAAE;AACT,QAAA,WAAW,EAAE;AACZ,YAAA,QAAQ,EA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Aa,EAAE;AACpC,iBAAA;;;ACgBM,MAAM,eAAe,GAAG;IAC9B,QAAQ;IACR,eAAe;IACf,mBAAmB;IACnB,aAAa;IACb,aAAa;IACb,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,WAAW;IACX,aAAa;;;AChCd;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"yukit-web-helm-field.mjs","sources":["../../../projects/yukit-web/helm/field/src/lib/hlm-field.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-content.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-description.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-error.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-group.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-label.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-legend.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-separator.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-set.ts","../../../projects/yukit-web/helm/field/src/lib/hlm-field-title.ts","../../../projects/yukit-web/helm/field/src/index.ts","../../../projects/yukit-web/helm/field/src/yukit-web-helm-field.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\nimport { BrnField } from '@spartan-ng/brain/field';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, VariantProps } from 'class-variance-authority';\n\nconst fieldVariants = cva('data-[matches-spartan-invalid=true]:text-destructive gap-2 group/field flex w-full', {\n\tvariants: {\n\t\torientation: {\n\t\t\tvertical: 'flex-col *:w-full [&>.sr-only]:w-auto',\n\t\t\thorizontal: [\n\t\t\t\t'flex-row items-center',\n\t\t\t\t'*:data-[slot=field-label]:flex-auto',\n\t\t\t\t'has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n\t\t\t],\n\t\t\tresponsive: [\n\t\t\t\t'flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto [&>.sr-only]:w-auto',\n\t\t\t\t'@md/field-group:*:data-[slot=field-label]:flex-auto',\n\t\t\t\t'@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n\t\t\t],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\torientation: 'vertical',\n\t},\n});\n\nexport type FieldVariants = VariantProps<typeof fieldVariants>;\n\n@Directive({\n\tselector: '[hlmField],hlm-field',\n\thostDirectives: [{ directive: BrnField, inputs: ['data-invalid', 'forceInvalid'] }],\n\thost: {\n\t\trole: 'group',\n\t\t'data-slot': 'field',\n\t\t'[attr.data-orientation]': 'orientation()',\n\t},\n})\nexport class HlmField {\n\tpublic readonly orientation = input<FieldVariants['orientation']>('vertical');\n\n\tconstructor() {\n\t\tclasses(() => fieldVariants({ orientation: this.orientation() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldContent],hlm-field-content',\n\thost: { 'data-slot': 'field-content' },\n})\nexport class HlmFieldContent {\n\tconstructor() {\n\t\tclasses(() => 'gap-0.5 group/field-content flex flex-1 flex-col leading-snug');\n\t}\n}\n","import { Directive, effect, EffectRef, inject, input, OnDestroy } from '@angular/core';\nimport { BrnFieldA11yService } from '@spartan-ng/brain/field';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldDescription],hlm-field-description',\n\thost: {\n\t\t'data-slot': 'field-description',\n\t\t'[attr.id]': 'id()',\n\t},\n})\nexport class HlmFieldDescription implements OnDestroy {\n\tprivate static _id = 0;\n\n\tprivate readonly _a11y = inject(BrnFieldA11yService, { optional: true, host: true });\n\n\tpublic readonly id = input<string>(`hlm-field-description-${HlmFieldDescription._id++}`);\n\n\tprivate _registeredId?: string;\n\n\tprivate readonly _cleanup: EffectRef | null = this._a11y\n\t\t? effect(() => {\n\t\t\tconst a11y = this._a11y;\n\t\t\tif (!a11y) return;\n\n\t\t\tconst id = this.id();\n\t\t\tif (this._registeredId && this._registeredId !== id) {\n\t\t\t\ta11y.unregisterDescription(this._registeredId);\n\t\t\t}\n\n\t\t\tif (this._registeredId !== id) {\n\t\t\t\ta11y.registerDescription(id);\n\t\t\t\tthis._registeredId = id;\n\t\t\t}\n\t\t})\n\t\t: null;\n\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'text-muted-foreground text-start text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-data-horizontal/field:text-balance',\n\t\t\t'last:mt-0 nth-last-2:-mt-1',\n\t\t\t'[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n\t\t]);\n\t}\n\n\tngOnDestroy() {\n\t\tthis._cleanup?.destroy();\n\n\t\tif (this._registeredId) {\n\t\t\tthis._a11y?.unregisterDescription(this._registeredId);\n\t\t}\n\t}\n}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport {\n\tbooleanAttribute,\n\tChangeDetectionStrategy,\n\tComponent,\n\tcomputed,\n\teffect,\n\tEffectRef,\n\tinject,\n\tinput,\n\tOnDestroy,\n} from '@angular/core';\nimport { BrnField, BrnFieldA11yService } from '@spartan-ng/brain/field';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-field-error',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\trole: 'alert',\n\t\t'data-slot': 'field-error',\n\t\t'[attr.id]': 'id()',\n\t\t'[hidden]': '!_display()',\n\t},\n\ttemplate: `\n\t\t@if (_display()) {\n\t\t\t<ng-content />\n\t\t}\n\t`,\n})\nexport class HlmFieldError implements OnDestroy {\n\tprivate static _id = 0;\n\n\tprivate readonly _field = inject(BrnField, { optional: true });\n\tprivate readonly _a11y = inject(BrnFieldA11yService, { optional: true, host: true });\n\n\tprivate _registeredId?: string | undefined;\n\n\tprivate readonly _hasParentField = !!this._field;\n\n\t/** The unique ID for the field error. If none is supplied, it will be auto-generated. */\n\tpublic readonly id = input<string>(`hlm-field-error-${HlmFieldError._id++}`);\n\n\t/**\n\t * The name of the specific validator error key to match (e.g. 'required').\n\t * When omitted, the error is shown if any validation error is present.\n\t */\n\tpublic readonly validator = input<string>();\n\n\t/** Forces the error message to be visible regardless of the control's validation state. */\n\tpublic readonly forceShow = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n\tprotected readonly _display = computed(() => !this._hasParentField || this.forceShow() || this._hasError());\n\n\tprotected readonly _hasError = computed(() => {\n\t\tconst errors = this._field?.errors();\n\t\tif (!errors) return false;\n\n\t\tconst validator = this.validator();\n\t\tconst spartanInvalid = this._field?.controlState()?.spartanInvalid;\n\n\t\tif (!spartanInvalid) return false;\n\n\t\treturn validator ? validator in errors : Object.keys(errors).length > 0;\n\t});\n\n\tprivate readonly _cleanup: EffectRef | null = this._a11y\n\t\t? effect(() => {\n\t\t\tconst a11y = this._a11y;\n\t\t\tif (!a11y) return;\n\n\t\t\tconst id = this.id();\n\t\t\tconst hasError = this._hasError();\n\n\t\t\tif (this._registeredId && (this._registeredId !== id || !hasError)) {\n\t\t\t\ta11y.unregisterError(this._registeredId);\n\t\t\t\tthis._registeredId = undefined;\n\t\t\t}\n\n\t\t\tif (hasError && this._registeredId !== id) {\n\t\t\t\ta11y.registerError(id);\n\t\t\t\tthis._registeredId = id;\n\t\t\t}\n\t\t})\n\t\t: null;\n\n\tconstructor() {\n\t\tclasses(() => 'text-destructive text-sm font-normal');\n\t}\n\n\tngOnDestroy() {\n\t\tthis._cleanup?.destroy();\n\n\t\tif (this._registeredId) {\n\t\t\tthis._a11y?.unregisterError(this._registeredId);\n\t\t}\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldGroup],hlm-field-group',\n\thost: { 'data-slot': 'field-group' },\n})\nexport class HlmFieldGroup {\n\tconstructor() {\n\t\tclasses(() => 'gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4 group/field-group @container/field-group flex w-full flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmLabel } from 'yukit-web/helm/label';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldLabel],hlm-field-label',\n\thostDirectives: [HlmLabel],\n\thost: { 'data-slot': 'field-label' },\n})\nexport class HlmFieldLabel {\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'has-data-checked:bg-primary/5 has-data-checked:border-primary/30 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5 group/field-label peer/field-label flex w-fit',\n\t\t\t'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col',\n\t\t]);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'legend[hlmFieldLegend]',\n\thost: {\n\t\t'data-slot': 'field-legend',\n\t\t'[attr.data-variant]': 'variant()',\n\t},\n})\nexport class HlmFieldLegend {\n\tpublic readonly variant = input<'label' | 'legend'>('legend');\n\n\tconstructor() {\n\t\tclasses(() => 'mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base');\n\t}\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { HlmSeparator } from 'yukit-web/helm/separator';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-field-separator',\n\timports: [HlmSeparator],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: { 'data-slot': 'field-separator' },\n\ttemplate: `\n\t\t<hlm-separator class=\"absolute inset-0 top-1/2\" />\n\t\t<span\n\t\t\tdata-slot=\"field-separator-content\"\n\t\t\tclass=\"text-muted-foreground px-2 bg-background relative mx-auto block w-fit\"\n\t\t>\n\t\t\t<ng-content />\n\t\t</span>\n\t`,\n})\nexport class HlmFieldSeparator {\n\tconstructor() {\n\t\tclasses(() => '-my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2 relative');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'fieldset[hlmFieldSet]',\n\thost: { 'data-slot': 'field-set' },\n})\nexport class HlmFieldSet {\n\tconstructor() {\n\t\tclasses(() => 'gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmFieldTitle],hlm-field-title',\n\thost: { 'data-slot': 'field-label' },\n})\nexport class HlmFieldTitle {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center');\n\t}\n}\n","import { HlmField } from './lib/hlm-field';\nimport { HlmFieldContent } from './lib/hlm-field-content';\nimport { HlmFieldDescription } from './lib/hlm-field-description';\nimport { HlmFieldError } from './lib/hlm-field-error';\nimport { HlmFieldGroup } from './lib/hlm-field-group';\nimport { HlmFieldLabel } from './lib/hlm-field-label';\nimport { HlmFieldLegend } from './lib/hlm-field-legend';\nimport { HlmFieldSeparator } from './lib/hlm-field-separator';\nimport { HlmFieldSet } from './lib/hlm-field-set';\nimport { HlmFieldTitle } from './lib/hlm-field-title';\n\nexport * from './lib/hlm-field';\nexport * from './lib/hlm-field-content';\nexport * from './lib/hlm-field-description';\nexport * from './lib/hlm-field-error';\nexport * from './lib/hlm-field-group';\nexport * from './lib/hlm-field-label';\nexport * from './lib/hlm-field-legend';\nexport * from './lib/hlm-field-separator';\nexport * from './lib/hlm-field-set';\nexport * from './lib/hlm-field-title';\n\nexport const HlmFieldImports = [\n\tHlmField,\n\tHlmFieldContent,\n\tHlmFieldDescription,\n\tHlmFieldError,\n\tHlmFieldGroup,\n\tHlmFieldLabel,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IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iCAAiC;AAC3C,oBAAA,IAAI,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE;AACpC,iBAAA;;;ACgBM,MAAM,eAAe,GAAG;IAC9B,QAAQ;IACR,eAAe;IACf,mBAAmB;IACnB,aAAa;IACb,aAAa;IACb,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,WAAW;IACX,aAAa;;;AChCd;;AAEG;;"}
|
|
@@ -6,10 +6,10 @@ import { injectExposesStateProvider, injectExposedSideProvider } from '@spartan-
|
|
|
6
6
|
import { classes } from 'yukit-web/helm/utils';
|
|
7
7
|
|
|
8
8
|
class HlmHoverCard {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCard, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmHoverCard, isStandalone: true, selector: "[hlmHoverCard],hlm-hover-card", host: { attributes: { "data-slot": "hover-card" } }, hostDirectives: [{ directive: i1.BrnHoverCard }], ngImport: i0 }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCard, decorators: [{
|
|
13
13
|
type: Directive,
|
|
14
14
|
args: [{
|
|
15
15
|
selector: '[hlmHoverCard],hlm-hover-card',
|
|
@@ -35,10 +35,10 @@ class HlmHoverCardContent {
|
|
|
35
35
|
'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
|
|
36
36
|
]);
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
39
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCardContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
39
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmHoverCardContent, isStandalone: true, selector: "[hlmHoverCardContent],hlm-hover-card-content", host: { attributes: { "data-slot": "hover-card-content" } }, ngImport: i0 }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCardContent, decorators: [{
|
|
42
42
|
type: Directive,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: '[hlmHoverCardContent],hlm-hover-card-content',
|
|
@@ -49,10 +49,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
|
|
|
49
49
|
}], ctorParameters: () => [] });
|
|
50
50
|
|
|
51
51
|
class HlmHoverCardPortal {
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCardPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmHoverCardPortal, isStandalone: true, selector: "[hlmHoverCardPortal],hlm-hover-card-portal", hostDirectives: [{ directive: i1.BrnHoverCardContent }], ngImport: i0 }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCardPortal, decorators: [{
|
|
56
56
|
type: Directive,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: '[hlmHoverCardPortal],hlm-hover-card-portal',
|
|
@@ -61,10 +61,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
|
|
|
61
61
|
}] });
|
|
62
62
|
|
|
63
63
|
class HlmHoverCardTrigger {
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
65
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCardTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
65
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmHoverCardTrigger, isStandalone: true, selector: "[hlmHoverCardTrigger]", host: { attributes: { "data-slot": "hover-card-trigger" } }, hostDirectives: [{ directive: i1.BrnHoverCardTrigger, inputs: ["showDelay", "showDelay", "hideDelay", "hideDelay", "animationDelay", "animationDelay", "sideOffset", "sideOffset", "align", "align", "brnHoverCardTriggerFor", "hlmHoverCardTriggerFor"] }], ngImport: i0 }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmHoverCardTrigger, decorators: [{
|
|
68
68
|
type: Directive,
|
|
69
69
|
args: [{
|
|
70
70
|
selector: '[hlmHoverCardTrigger]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yukit-web-helm-hover-card.mjs","sources":["../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card.ts","../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card-content.ts","../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card-portal.ts","../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card-trigger.ts","../../../projects/yukit-web/helm/hover-card/src/index.ts","../../../projects/yukit-web/helm/hover-card/src/yukit-web-helm-hover-card.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnHoverCard } from '@spartan-ng/brain/hover-card';\n\n@Directive({\n\tselector: '[hlmHoverCard],hlm-hover-card',\n\thostDirectives: [BrnHoverCard],\n\thost: {\n\t\t'data-slot': 'hover-card',\n\t},\n})\nexport class HlmHoverCard {}\n","import { Directive, ElementRef, Renderer2, effect, inject, signal } from '@angular/core';\nimport { injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/brain/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmHoverCardContent],hlm-hover-card-content',\n\thost: {\n\t\t'data-slot': 'hover-card-content',\n\t},\n})\nexport class HlmHoverCardContent {\n\tprivate readonly _renderer = inject(Renderer2);\n\tprivate readonly _element = inject(ElementRef);\n\n\tpublic readonly state = injectExposesStateProvider({ host: true }).state ?? signal('closed').asReadonly();\n\tpublic readonly side = injectExposedSideProvider({ host: true }).side ?? signal('bottom').asReadonly();\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tthis._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());\n\t\t\tthis._renderer.setAttribute(this._element.nativeElement, 'data-side', this.side());\n\t\t});\n\n\t\tclasses(() => [\n\t\t\t'data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100 z-50 outline-none',\n\t\t\t'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n\t\t]);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnHoverCardContent } from '@spartan-ng/brain/hover-card';\n\n@Directive({\n\tselector: '[hlmHoverCardPortal],hlm-hover-card-portal',\n\thostDirectives: [BrnHoverCardContent],\n})\nexport class HlmHoverCardPortal {}\n","import { Directive } from '@angular/core';\nimport { BrnHoverCardTrigger } from '@spartan-ng/brain/hover-card';\n\n@Directive({\n\tselector: '[hlmHoverCardTrigger]',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: BrnHoverCardTrigger,\n\t\t\tinputs: [\n\t\t\t\t'showDelay',\n\t\t\t\t'hideDelay',\n\t\t\t\t'animationDelay',\n\t\t\t\t'sideOffset',\n\t\t\t\t'align',\n\t\t\t\t'brnHoverCardTriggerFor: hlmHoverCardTriggerFor',\n\t\t\t],\n\t\t},\n\t],\n\thost: {\n\t\t'data-slot': 'hover-card-trigger',\n\t},\n})\nexport class HlmHoverCardTrigger {}\n","import { HlmHoverCard } from './lib/hlm-hover-card';\nimport { HlmHoverCardContent } from './lib/hlm-hover-card-content';\nimport { HlmHoverCardPortal } from './lib/hlm-hover-card-portal';\nimport { HlmHoverCardTrigger } from './lib/hlm-hover-card-trigger';\n\nexport { HlmHoverCard } from './lib/hlm-hover-card';\nexport { HlmHoverCardContent } from './lib/hlm-hover-card-content';\nexport { HlmHoverCardPortal } from './lib/hlm-hover-card-portal';\nexport { HlmHoverCardTrigger } from './lib/hlm-hover-card-trigger';\n\nexport const HlmHoverCardImports = [\n\tHlmHoverCardContent,\n\tHlmHoverCardPortal,\n\tHlmHoverCard,\n\tHlmHoverCardTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAUa,YAAY,CAAA
|
|
1
|
+
{"version":3,"file":"yukit-web-helm-hover-card.mjs","sources":["../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card.ts","../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card-content.ts","../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card-portal.ts","../../../projects/yukit-web/helm/hover-card/src/lib/hlm-hover-card-trigger.ts","../../../projects/yukit-web/helm/hover-card/src/index.ts","../../../projects/yukit-web/helm/hover-card/src/yukit-web-helm-hover-card.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnHoverCard } from '@spartan-ng/brain/hover-card';\n\n@Directive({\n\tselector: '[hlmHoverCard],hlm-hover-card',\n\thostDirectives: [BrnHoverCard],\n\thost: {\n\t\t'data-slot': 'hover-card',\n\t},\n})\nexport class HlmHoverCard {}\n","import { Directive, ElementRef, Renderer2, effect, inject, signal } from '@angular/core';\nimport { injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/brain/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmHoverCardContent],hlm-hover-card-content',\n\thost: {\n\t\t'data-slot': 'hover-card-content',\n\t},\n})\nexport class HlmHoverCardContent {\n\tprivate readonly _renderer = inject(Renderer2);\n\tprivate readonly _element = inject(ElementRef);\n\n\tpublic readonly state = injectExposesStateProvider({ host: true }).state ?? signal('closed').asReadonly();\n\tpublic readonly side = injectExposedSideProvider({ host: true }).side ?? signal('bottom').asReadonly();\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tthis._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());\n\t\t\tthis._renderer.setAttribute(this._element.nativeElement, 'data-side', this.side());\n\t\t});\n\n\t\tclasses(() => [\n\t\t\t'data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100 z-50 outline-none',\n\t\t\t'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n\t\t]);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnHoverCardContent } from '@spartan-ng/brain/hover-card';\n\n@Directive({\n\tselector: '[hlmHoverCardPortal],hlm-hover-card-portal',\n\thostDirectives: [BrnHoverCardContent],\n})\nexport class HlmHoverCardPortal {}\n","import { Directive } from '@angular/core';\nimport { BrnHoverCardTrigger } from '@spartan-ng/brain/hover-card';\n\n@Directive({\n\tselector: '[hlmHoverCardTrigger]',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: BrnHoverCardTrigger,\n\t\t\tinputs: [\n\t\t\t\t'showDelay',\n\t\t\t\t'hideDelay',\n\t\t\t\t'animationDelay',\n\t\t\t\t'sideOffset',\n\t\t\t\t'align',\n\t\t\t\t'brnHoverCardTriggerFor: hlmHoverCardTriggerFor',\n\t\t\t],\n\t\t},\n\t],\n\thost: {\n\t\t'data-slot': 'hover-card-trigger',\n\t},\n})\nexport class HlmHoverCardTrigger {}\n","import { HlmHoverCard } from './lib/hlm-hover-card';\nimport { HlmHoverCardContent } from './lib/hlm-hover-card-content';\nimport { HlmHoverCardPortal } from './lib/hlm-hover-card-portal';\nimport { HlmHoverCardTrigger } from './lib/hlm-hover-card-trigger';\n\nexport { HlmHoverCard } from './lib/hlm-hover-card';\nexport { HlmHoverCardContent } from './lib/hlm-hover-card-content';\nexport { HlmHoverCardPortal } from './lib/hlm-hover-card-portal';\nexport { HlmHoverCardTrigger } from './lib/hlm-hover-card-trigger';\n\nexport const HlmHoverCardImports = [\n\tHlmHoverCardContent,\n\tHlmHoverCardPortal,\n\tHlmHoverCard,\n\tHlmHoverCardTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAUa,YAAY,CAAA;+GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,+BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,YAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,E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