yukit-web 0.10.5 → 0.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/fesm2022/yukit-web-chart.mjs +807 -552
  2. package/fesm2022/yukit-web-chart.mjs.map +1 -1
  3. package/fesm2022/yukit-web-helm-accordion.mjs +271 -100
  4. package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
  5. package/fesm2022/yukit-web-helm-alert-dialog.mjs +675 -243
  6. package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
  7. package/fesm2022/yukit-web-helm-alert.mjs +199 -91
  8. package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
  9. package/fesm2022/yukit-web-helm-aspect-ratio.mjs +77 -43
  10. package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
  11. package/fesm2022/yukit-web-helm-attachment.mjs +552 -205
  12. package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
  13. package/fesm2022/yukit-web-helm-autocomplete.mjs +913 -288
  14. package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
  15. package/fesm2022/yukit-web-helm-avatar.mjs +298 -137
  16. package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
  17. package/fesm2022/yukit-web-helm-badge.mjs +78 -44
  18. package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
  19. package/fesm2022/yukit-web-helm-breadcrumb.mjs +466 -183
  20. package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
  21. package/fesm2022/yukit-web-helm-bubble.mjs +297 -118
  22. package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
  23. package/fesm2022/yukit-web-helm-button-group.mjs +179 -83
  24. package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
  25. package/fesm2022/yukit-web-helm-button.mjs +137 -67
  26. package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
  27. package/fesm2022/yukit-web-helm-calendar.mjs +957 -230
  28. package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
  29. package/fesm2022/yukit-web-helm-card.mjs +318 -136
  30. package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
  31. package/fesm2022/yukit-web-helm-carousel.mjs +563 -233
  32. package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
  33. package/fesm2022/yukit-web-helm-checkbox.mjs +367 -101
  34. package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
  35. package/fesm2022/yukit-web-helm-collapsible.mjs +155 -61
  36. package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
  37. package/fesm2022/yukit-web-helm-combobox.mjs +1572 -481
  38. package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
  39. package/fesm2022/yukit-web-helm-command.mjs +752 -260
  40. package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
  41. package/fesm2022/yukit-web-helm-context-menu.mjs +161 -63
  42. package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
  43. package/fesm2022/yukit-web-helm-date-picker.mjs +2322 -932
  44. package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
  45. package/fesm2022/yukit-web-helm-dialog.mjs +625 -240
  46. package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
  47. package/fesm2022/yukit-web-helm-drawer.mjs +539 -222
  48. package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
  49. package/fesm2022/yukit-web-helm-dropdown-menu.mjs +1295 -493
  50. package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
  51. package/fesm2022/yukit-web-helm-empty.mjs +280 -121
  52. package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
  53. package/fesm2022/yukit-web-helm-field.mjs +670 -301
  54. package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
  55. package/fesm2022/yukit-web-helm-hover-card.mjs +198 -99
  56. package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
  57. package/fesm2022/yukit-web-helm-input-group.mjs +357 -165
  58. package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
  59. package/fesm2022/yukit-web-helm-input-otp.mjs +306 -114
  60. package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
  61. package/fesm2022/yukit-web-helm-input.mjs +62 -30
  62. package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
  63. package/fesm2022/yukit-web-helm-item.mjs +545 -227
  64. package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
  65. package/fesm2022/yukit-web-helm-kbd.mjs +85 -44
  66. package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
  67. package/fesm2022/yukit-web-helm-label.mjs +60 -28
  68. package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
  69. package/fesm2022/yukit-web-helm-marker.mjs +165 -74
  70. package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
  71. package/fesm2022/yukit-web-helm-menubar.mjs +207 -82
  72. package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
  73. package/fesm2022/yukit-web-helm-message.mjs +277 -112
  74. package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
  75. package/fesm2022/yukit-web-helm-native-select.mjs +363 -129
  76. package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
  77. package/fesm2022/yukit-web-helm-navigation-menu.mjs +398 -166
  78. package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
  79. package/fesm2022/yukit-web-helm-pagination.mjs +1444 -460
  80. package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
  81. package/fesm2022/yukit-web-helm-popover.mjs +358 -133
  82. package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
  83. package/fesm2022/yukit-web-helm-progress.mjs +126 -58
  84. package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
  85. package/fesm2022/yukit-web-helm-radio-group.mjs +420 -144
  86. package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
  87. package/fesm2022/yukit-web-helm-resizable.mjs +210 -91
  88. package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
  89. package/fesm2022/yukit-web-helm-scroll-area.mjs +64 -34
  90. package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
  91. package/fesm2022/yukit-web-helm-select.mjs +1059 -351
  92. package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
  93. package/fesm2022/yukit-web-helm-separator.mjs +61 -31
  94. package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
  95. package/fesm2022/yukit-web-helm-sheet.mjs +590 -231
  96. package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
  97. package/fesm2022/yukit-web-helm-sidebar.mjs +1781 -757
  98. package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
  99. package/fesm2022/yukit-web-helm-skeleton.mjs +45 -27
  100. package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
  101. package/fesm2022/yukit-web-helm-slider.mjs +139 -59
  102. package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
  103. package/fesm2022/yukit-web-helm-sonner.mjs +350 -62
  104. package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
  105. package/fesm2022/yukit-web-helm-spinner.mjs +118 -44
  106. package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
  107. package/fesm2022/yukit-web-helm-switch.mjs +326 -94
  108. package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
  109. package/fesm2022/yukit-web-helm-table.mjs +374 -177
  110. package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
  111. package/fesm2022/yukit-web-helm-tabs.mjs +549 -173
  112. package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
  113. package/fesm2022/yukit-web-helm-textarea.mjs +62 -30
  114. package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
  115. package/fesm2022/yukit-web-helm-toggle-group.mjs +291 -89
  116. package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
  117. package/fesm2022/yukit-web-helm-toggle.mjs +132 -57
  118. package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
  119. package/fesm2022/yukit-web-helm-tooltip.mjs +84 -54
  120. package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
  121. package/fesm2022/yukit-web-helm-typography.mjs +461 -202
  122. package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
  123. package/fesm2022/yukit-web-helm-utils.mjs +131 -253
  124. package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
  125. package/fesm2022/yukit-web.mjs +24457 -9655
  126. package/fesm2022/yukit-web.mjs.map +1 -1
  127. package/package.json +9 -9
  128. package/types/yukit-web-chart.d.ts +184 -125
  129. package/types/yukit-web-helm-accordion.d.ts +49 -28
  130. package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
  131. package/types/yukit-web-helm-alert.d.ts +30 -32
  132. package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
  133. package/types/yukit-web-helm-attachment.d.ts +97 -69
  134. package/types/yukit-web-helm-autocomplete.d.ts +205 -79
  135. package/types/yukit-web-helm-avatar.d.ts +44 -39
  136. package/types/yukit-web-helm-badge.d.ts +18 -17
  137. package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
  138. package/types/yukit-web-helm-bubble.d.ts +54 -40
  139. package/types/yukit-web-helm-button-group.d.ts +29 -22
  140. package/types/yukit-web-helm-button.d.ts +41 -31
  141. package/types/yukit-web-helm-calendar.d.ts +157 -85
  142. package/types/yukit-web-helm-card.d.ts +38 -42
  143. package/types/yukit-web-helm-carousel.d.ts +105 -73
  144. package/types/yukit-web-helm-checkbox.d.ts +117 -58
  145. package/types/yukit-web-helm-collapsible.d.ts +34 -19
  146. package/types/yukit-web-helm-combobox.d.ts +355 -150
  147. package/types/yukit-web-helm-command.d.ts +140 -73
  148. package/types/yukit-web-helm-context-menu.d.ts +48 -27
  149. package/types/yukit-web-helm-date-picker.d.ts +852 -556
  150. package/types/yukit-web-helm-dialog.d.ts +106 -78
  151. package/types/yukit-web-helm-drawer.d.ts +90 -61
  152. package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
  153. package/types/yukit-web-helm-empty.d.ts +38 -42
  154. package/types/yukit-web-helm-field.d.ts +122 -91
  155. package/types/yukit-web-helm-hover-card.d.ts +39 -27
  156. package/types/yukit-web-helm-input-group.d.ts +63 -41
  157. package/types/yukit-web-helm-input-otp.d.ts +38 -35
  158. package/types/yukit-web-helm-input.d.ts +19 -12
  159. package/types/yukit-web-helm-item.d.ts +90 -82
  160. package/types/yukit-web-helm-kbd.d.ts +10 -15
  161. package/types/yukit-web-helm-label.d.ts +14 -11
  162. package/types/yukit-web-helm-marker.d.ts +26 -27
  163. package/types/yukit-web-helm-menubar.d.ts +61 -32
  164. package/types/yukit-web-helm-message.d.ts +34 -38
  165. package/types/yukit-web-helm-native-select.d.ts +102 -61
  166. package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
  167. package/types/yukit-web-helm-pagination.d.ts +344 -166
  168. package/types/yukit-web-helm-popover.d.ts +62 -42
  169. package/types/yukit-web-helm-progress.d.ts +27 -20
  170. package/types/yukit-web-helm-radio-group.d.ts +121 -63
  171. package/types/yukit-web-helm-resizable.d.ts +46 -24
  172. package/types/yukit-web-helm-scroll-area.d.ts +6 -10
  173. package/types/yukit-web-helm-select.d.ts +231 -114
  174. package/types/yukit-web-helm-separator.d.ts +15 -12
  175. package/types/yukit-web-helm-sheet.d.ts +94 -65
  176. package/types/yukit-web-helm-sidebar.d.ts +322 -232
  177. package/types/yukit-web-helm-skeleton.d.ts +6 -10
  178. package/types/yukit-web-helm-slider.d.ts +33 -13
  179. package/types/yukit-web-helm-sonner.d.ts +112 -51
  180. package/types/yukit-web-helm-spinner.d.ts +24 -17
  181. package/types/yukit-web-helm-switch.d.ts +89 -51
  182. package/types/yukit-web-helm-table.d.ts +38 -42
  183. package/types/yukit-web-helm-tabs.d.ts +116 -60
  184. package/types/yukit-web-helm-textarea.d.ts +19 -12
  185. package/types/yukit-web-helm-toggle-group.d.ts +81 -32
  186. package/types/yukit-web-helm-toggle.d.ts +39 -21
  187. package/types/yukit-web-helm-tooltip.d.ts +21 -16
  188. package/types/yukit-web-helm-typography.d.ts +62 -77
  189. package/types/yukit-web-helm-utils.d.ts +8 -11
  190. package/types/yukit-web.d.ts +5092 -2351
@@ -1,250 +1,682 @@
1
- import * as i0 from '@angular/core';
2
- import { input, computed, effect, untracked, Directive, forwardRef, ChangeDetectionStrategy, Component, signal } from '@angular/core';
3
- import * as i1 from '@spartan-ng/brain/alert-dialog';
4
- import { BrnAlertDialogOverlay, BrnAlertDialog, BRN_ALERT_DIALOG_DEFAULT_OPTIONS, BrnAlertDialogDescription, BrnAlertDialogContent, BrnAlertDialogTitle, BrnAlertDialogTrigger } from '@spartan-ng/brain/alert-dialog';
5
- import * as i1$2 from '@spartan-ng/brain/dialog';
6
- import { BrnDialog, provideBrnDialogDefaultOptions, BrnDialogClose } from '@spartan-ng/brain/dialog';
7
- import { injectCustomClassSettable, injectExposesStateProvider } from '@spartan-ng/brain/core';
8
- import { hlm, classes } from 'yukit-web/helm/utils';
9
- import * as i1$1 from 'yukit-web/helm/button';
10
- import { HlmButton, provideBrnButtonConfig } from 'yukit-web/helm/button';
11
-
12
- class HlmAlertDialogOverlay {
13
- constructor() {
14
- this._classSettable = injectCustomClassSettable({ optional: true, host: true });
15
- this.userClass = input('', { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: 'class' });
16
- this._computedClass = computed(() => hlm('data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 isolate bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs', this.userClass()), ...(ngDevMode ? [{ debugName: "_computedClass" }] : /* istanbul ignore next */ []));
17
- effect(() => {
18
- const classValue = this._computedClass();
19
- untracked(() => this._classSettable?.setClassToCustomElement(classValue));
20
- });
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
23
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAlertDialogOverlay, isStandalone: true, selector: "[hlmAlertDialogOverlay],hlm-alert-dialog-overlay", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: i1.BrnAlertDialogOverlay }], ngImport: i0 }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogOverlay, decorators: [{
26
- type: Directive,
27
- args: [{
28
- selector: '[hlmAlertDialogOverlay],hlm-alert-dialog-overlay',
29
- hostDirectives: [BrnAlertDialogOverlay],
30
- }]
31
- }], ctorParameters: () => [], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
32
-
33
- class HlmAlertDialog extends BrnAlertDialog {
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
35
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialog, isStandalone: true, selector: "hlm-alert-dialog", providers: [
36
- {
37
- provide: BrnDialog,
38
- useExisting: forwardRef(() => HlmAlertDialog),
39
- },
40
- provideBrnDialogDefaultOptions({
41
- ...BRN_ALERT_DIALOG_DEFAULT_OPTIONS,
42
- }),
43
- ], exportAs: ["hlmAlertDialog"], usesInheritance: true, ngImport: i0, template: `
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, computed, effect, forwardRef, input, signal, untracked } from "@angular/core";
3
+ import * as i1$2 from "@spartan-ng/brain/alert-dialog";
4
+ import { BRN_ALERT_DIALOG_DEFAULT_OPTIONS, BrnAlertDialog, BrnAlertDialogContent, BrnAlertDialogDescription, BrnAlertDialogOverlay, BrnAlertDialogTitle, BrnAlertDialogTrigger } from "@spartan-ng/brain/alert-dialog";
5
+ import * as i1 from "@spartan-ng/brain/dialog";
6
+ import { BrnDialog, BrnDialogClose, provideBrnDialogDefaultOptions } from "@spartan-ng/brain/dialog";
7
+ import { injectCustomClassSettable, injectExposesStateProvider } from "@spartan-ng/brain/core";
8
+ import { classes, hlm } from "yukit-web/helm/utils";
9
+ import * as i1$1 from "yukit-web/helm/button";
10
+ import { HlmButton, provideBrnButtonConfig } from "yukit-web/helm/button";
11
+ var HlmAlertDialogOverlay = class HlmAlertDialogOverlay {
12
+ constructor() {
13
+ this._classSettable = injectCustomClassSettable({
14
+ optional: true,
15
+ host: true
16
+ });
17
+ this.userClass = input("", {
18
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
19
+ alias: "class"
20
+ });
21
+ this._computedClass = computed(() => hlm("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 isolate bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs", this.userClass()), ...ngDevMode ? [{ debugName: "_computedClass" }] : /* istanbul ignore next */ []);
22
+ effect(() => {
23
+ const classValue = this._computedClass();
24
+ untracked(() => this._classSettable?.setClassToCustomElement(classValue));
25
+ });
26
+ }
27
+ static {
28
+ this.ɵfac = i0.ɵɵngDeclareFactory({
29
+ minVersion: "12.0.0",
30
+ version: "22.2.4",
31
+ ngImport: i0,
32
+ type: HlmAlertDialogOverlay,
33
+ deps: [],
34
+ target: i0.ɵɵFactoryTarget.Directive
35
+ });
36
+ }
37
+ static {
38
+ this.ɵdir = i0.ɵɵngDeclareDirective({
39
+ minVersion: "17.1.0",
40
+ version: "22.2.4",
41
+ type: HlmAlertDialogOverlay,
42
+ isStandalone: true,
43
+ selector: "[hlmAlertDialogOverlay],hlm-alert-dialog-overlay",
44
+ inputs: { userClass: {
45
+ classPropertyName: "userClass",
46
+ publicName: "class",
47
+ isSignal: true,
48
+ isRequired: false,
49
+ transformFunction: null
50
+ } },
51
+ hostDirectives: [{ directive: i1$2.BrnAlertDialogOverlay }],
52
+ ngImport: i0
53
+ });
54
+ }
55
+ };
56
+ i0.ɵɵngDeclareClassMetadata({
57
+ minVersion: "12.0.0",
58
+ version: "22.2.4",
59
+ ngImport: i0,
60
+ type: HlmAlertDialogOverlay,
61
+ decorators: [{
62
+ type: Directive,
63
+ args: [{
64
+ selector: "[hlmAlertDialogOverlay],hlm-alert-dialog-overlay",
65
+ hostDirectives: [BrnAlertDialogOverlay]
66
+ }]
67
+ }],
68
+ ctorParameters: () => [],
69
+ propDecorators: { userClass: [{
70
+ type: i0.Input,
71
+ args: [{
72
+ isSignal: true,
73
+ alias: "class",
74
+ required: false
75
+ }]
76
+ }] }
77
+ });
78
+ var HlmAlertDialog = class HlmAlertDialog extends BrnAlertDialog {
79
+ static {
80
+ this.ɵfac = i0.ɵɵngDeclareFactory({
81
+ minVersion: "12.0.0",
82
+ version: "22.2.4",
83
+ ngImport: i0,
84
+ type: HlmAlertDialog,
85
+ deps: null,
86
+ target: i0.ɵɵFactoryTarget.Component
87
+ });
88
+ }
89
+ static {
90
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
91
+ minVersion: "14.0.0",
92
+ version: "22.2.4",
93
+ type: HlmAlertDialog,
94
+ isStandalone: true,
95
+ selector: "hlm-alert-dialog",
96
+ providers: [{
97
+ provide: BrnDialog,
98
+ useExisting: forwardRef(() => HlmAlertDialog)
99
+ }, provideBrnDialogDefaultOptions({ ...BRN_ALERT_DIALOG_DEFAULT_OPTIONS })],
100
+ exportAs: ["hlmAlertDialog"],
101
+ usesInheritance: true,
102
+ ngImport: i0,
103
+ template: `
44
104
  <hlm-alert-dialog-overlay />
45
105
  <ng-content />
46
- `, isInline: true, dependencies: [{ kind: "directive", type: HlmAlertDialogOverlay, selector: "[hlmAlertDialogOverlay],hlm-alert-dialog-overlay", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
47
- }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialog, decorators: [{
49
- type: Component,
50
- args: [{
51
- selector: 'hlm-alert-dialog',
52
- exportAs: 'hlmAlertDialog',
53
- imports: [HlmAlertDialogOverlay],
54
- providers: [
55
- {
56
- provide: BrnDialog,
57
- useExisting: forwardRef(() => HlmAlertDialog),
58
- },
59
- provideBrnDialogDefaultOptions({
60
- ...BRN_ALERT_DIALOG_DEFAULT_OPTIONS,
61
- }),
62
- ],
63
- changeDetection: ChangeDetectionStrategy.OnPush,
64
- template: `
106
+ `,
107
+ isInline: true,
108
+ dependencies: [{
109
+ kind: "directive",
110
+ type: HlmAlertDialogOverlay,
111
+ selector: "[hlmAlertDialogOverlay],hlm-alert-dialog-overlay",
112
+ inputs: ["class"]
113
+ }],
114
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
115
+ });
116
+ }
117
+ };
118
+ i0.ɵɵngDeclareClassMetadata({
119
+ minVersion: "12.0.0",
120
+ version: "22.2.4",
121
+ ngImport: i0,
122
+ type: HlmAlertDialog,
123
+ decorators: [{
124
+ type: Component,
125
+ args: [{
126
+ selector: "hlm-alert-dialog",
127
+ exportAs: "hlmAlertDialog",
128
+ imports: [HlmAlertDialogOverlay],
129
+ providers: [{
130
+ provide: BrnDialog,
131
+ useExisting: forwardRef(() => HlmAlertDialog)
132
+ }, provideBrnDialogDefaultOptions({ ...BRN_ALERT_DIALOG_DEFAULT_OPTIONS })],
133
+ changeDetection: ChangeDetectionStrategy.OnPush,
134
+ template: `
65
135
  <hlm-alert-dialog-overlay />
66
136
  <ng-content />
67
- `,
68
- }]
69
- }] });
70
-
71
- class HlmAlertDialogAction {
72
- constructor() {
73
- this.type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
74
- }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogAction, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
76
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAlertDialogAction, isStandalone: true, selector: "button[hlmAlertDialogAction]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "alert-dialog-action" }, properties: { "type": "type()" } }, hostDirectives: [{ directive: i1$1.HlmButton, inputs: ["variant", "variant", "size", "size"] }], ngImport: i0 }); }
77
- }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogAction, decorators: [{
79
- type: Directive,
80
- args: [{
81
- selector: 'button[hlmAlertDialogAction]',
82
- hostDirectives: [{ directive: HlmButton, inputs: ['variant', 'size'] }],
83
- host: { 'data-slot': 'alert-dialog-action', '[type]': 'type()' },
84
- }]
85
- }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
86
-
87
- class HlmAlertDialogCancel {
88
- constructor() {
89
- this.type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
90
- }
91
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogCancel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
92
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAlertDialogCancel, isStandalone: true, selector: "button[hlmAlertDialogCancel]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "alert-dialog-cancel" }, properties: { "type": "type()" } }, providers: [provideBrnButtonConfig({ variant: 'outline' })], hostDirectives: [{ directive: i1$2.BrnDialogClose }, { directive: i1$1.HlmButton, inputs: ["variant", "variant", "size", "size"] }], ngImport: i0 }); }
93
- }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogCancel, decorators: [{
95
- type: Directive,
96
- args: [{
97
- selector: 'button[hlmAlertDialogCancel]',
98
- providers: [provideBrnButtonConfig({ variant: 'outline' })],
99
- hostDirectives: [BrnDialogClose, { directive: HlmButton, inputs: ['variant', 'size'] }],
100
- host: { 'data-slot': 'alert-dialog-cancel', '[type]': 'type()' },
101
- }]
102
- }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
103
-
104
- class HlmAlertDialogContent {
105
- constructor() {
106
- this._stateProvider = injectExposesStateProvider({ optional: true, host: true });
107
- this.state = this._stateProvider?.state ?? signal('closed');
108
- this.size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
109
- classes(() => '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 bg-popover text-popover-foreground ring-foreground/10 gap-4 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content grid w-full outline-none');
110
- }
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
112
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAlertDialogContent, isStandalone: true, selector: "[hlmAlertDialogContent],hlm-alert-dialog-content", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "alert-dialog-content" }, properties: { "attr.data-state": "state()", "attr.data-size": "size()" } }, ngImport: i0 }); }
113
- }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogContent, decorators: [{
115
- type: Directive,
116
- args: [{
117
- selector: '[hlmAlertDialogContent],hlm-alert-dialog-content',
118
- host: {
119
- 'data-slot': 'alert-dialog-content',
120
- '[attr.data-state]': 'state()',
121
- '[attr.data-size]': 'size()',
122
- },
123
- }]
124
- }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
125
-
126
- class HlmAlertDialogDescription {
127
- constructor() {
128
- classes(() => 'text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3');
129
- }
130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
131
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialogDescription, isStandalone: true, selector: "[hlmAlertDialogDescription]", host: { attributes: { "data-slot": "alert-dialog-description" } }, hostDirectives: [{ directive: i1.BrnAlertDialogDescription }], ngImport: i0 }); }
132
- }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogDescription, decorators: [{
134
- type: Directive,
135
- args: [{
136
- selector: '[hlmAlertDialogDescription]',
137
- hostDirectives: [BrnAlertDialogDescription],
138
- host: { 'data-slot': 'alert-dialog-description' },
139
- }]
140
- }], ctorParameters: () => [] });
141
-
142
- class HlmAlertDialogFooter {
143
- constructor() {
144
- classes(() => 'bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end');
145
- }
146
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
147
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialogFooter, isStandalone: true, selector: "[hlmAlertDialogFooter],hlm-alert-dialog-footer", host: { attributes: { "data-slot": "alert-dialog-footer" } }, ngImport: i0 }); }
148
- }
149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogFooter, decorators: [{
150
- type: Directive,
151
- args: [{
152
- selector: '[hlmAlertDialogFooter],hlm-alert-dialog-footer',
153
- host: { 'data-slot': 'alert-dialog-footer' },
154
- }]
155
- }], ctorParameters: () => [] });
156
-
157
- class HlmAlertDialogHeader {
158
- constructor() {
159
- classes(() => 'grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]');
160
- }
161
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
162
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialogHeader, isStandalone: true, selector: "[hlmAlertDialogHeader],hlm-alert-dialog-header", host: { attributes: { "data-slot": "alert-dialog-header" } }, ngImport: i0 }); }
163
- }
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogHeader, decorators: [{
165
- type: Directive,
166
- args: [{
167
- selector: '[hlmAlertDialogHeader],hlm-alert-dialog-header',
168
- host: { 'data-slot': 'alert-dialog-header' },
169
- }]
170
- }], ctorParameters: () => [] });
171
-
172
- class HlmAlertDialogMedia {
173
- constructor() {
174
- classes(() => "bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[ng-icon:not([class*='text-'])]:text-[length:--spacing(6)]");
175
- }
176
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
177
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialogMedia, isStandalone: true, selector: "[hlmAlertDialogMedia],hlm-alert-dialog-media", host: { attributes: { "data-slot": "alert-dialog-media" } }, ngImport: i0 }); }
178
- }
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogMedia, decorators: [{
180
- type: Directive,
181
- args: [{
182
- selector: '[hlmAlertDialogMedia],hlm-alert-dialog-media',
183
- host: { 'data-slot': 'alert-dialog-media' },
184
- }]
185
- }], ctorParameters: () => [] });
186
-
187
- class HlmAlertDialogPortal {
188
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
189
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialogPortal, isStandalone: true, selector: "[hlmAlertDialogPortal]", hostDirectives: [{ directive: i1.BrnAlertDialogContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
190
- }
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogPortal, decorators: [{
192
- type: Directive,
193
- args: [{
194
- selector: '[hlmAlertDialogPortal]',
195
- hostDirectives: [{ directive: BrnAlertDialogContent, inputs: ['context', 'class'] }],
196
- }]
197
- }] });
198
-
199
- class HlmAlertDialogTitle {
200
- constructor() {
201
- classes(() => 'text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2');
202
- }
203
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
204
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialogTitle, isStandalone: true, selector: "[hlmAlertDialogTitle]", host: { attributes: { "data-slot": "alert-dialog-title" } }, hostDirectives: [{ directive: i1.BrnAlertDialogTitle }], ngImport: i0 }); }
205
- }
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogTitle, decorators: [{
207
- type: Directive,
208
- args: [{
209
- selector: '[hlmAlertDialogTitle]',
210
- hostDirectives: [BrnAlertDialogTitle],
211
- host: { 'data-slot': 'alert-dialog-title' },
212
- }]
213
- }], ctorParameters: () => [] });
214
-
215
- class HlmAlertDialogTrigger {
216
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
217
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAlertDialogTrigger, isStandalone: true, selector: "button[hlmAlertDialogTrigger],button[hlmAlertDialogTriggerFor]", host: { attributes: { "data-slot": "alert-dialog-trigger" } }, hostDirectives: [{ directive: i1.BrnAlertDialogTrigger, inputs: ["id", "id", "brnAlertDialogTriggerFor", "hlmAlertDialogTriggerFor", "type", "type"] }], ngImport: i0 }); }
218
- }
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAlertDialogTrigger, decorators: [{
220
- type: Directive,
221
- args: [{
222
- selector: 'button[hlmAlertDialogTrigger],button[hlmAlertDialogTriggerFor]',
223
- hostDirectives: [
224
- { directive: BrnAlertDialogTrigger, inputs: ['id', 'brnAlertDialogTriggerFor: hlmAlertDialogTriggerFor', 'type'] },
225
- ],
226
- host: { 'data-slot': 'alert-dialog-trigger' },
227
- }]
228
- }] });
229
-
137
+ `
138
+ }]
139
+ }]
140
+ });
141
+ var HlmAlertDialogAction = class HlmAlertDialogAction {
142
+ constructor() {
143
+ this.type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
144
+ }
145
+ static {
146
+ this.ɵfac = i0.ɵɵngDeclareFactory({
147
+ minVersion: "12.0.0",
148
+ version: "22.2.4",
149
+ ngImport: i0,
150
+ type: HlmAlertDialogAction,
151
+ deps: [],
152
+ target: i0.ɵɵFactoryTarget.Directive
153
+ });
154
+ }
155
+ static {
156
+ this.ɵdir = i0.ɵɵngDeclareDirective({
157
+ minVersion: "17.1.0",
158
+ version: "22.2.4",
159
+ type: HlmAlertDialogAction,
160
+ isStandalone: true,
161
+ selector: "button[hlmAlertDialogAction]",
162
+ inputs: { type: {
163
+ classPropertyName: "type",
164
+ publicName: "type",
165
+ isSignal: true,
166
+ isRequired: false,
167
+ transformFunction: null
168
+ } },
169
+ host: {
170
+ attributes: { "data-slot": "alert-dialog-action" },
171
+ properties: { "type": "type()" }
172
+ },
173
+ hostDirectives: [{
174
+ directive: i1$1.HlmButton,
175
+ inputs: [
176
+ "variant",
177
+ "variant",
178
+ "size",
179
+ "size"
180
+ ]
181
+ }],
182
+ ngImport: i0
183
+ });
184
+ }
185
+ };
186
+ i0.ɵɵngDeclareClassMetadata({
187
+ minVersion: "12.0.0",
188
+ version: "22.2.4",
189
+ ngImport: i0,
190
+ type: HlmAlertDialogAction,
191
+ decorators: [{
192
+ type: Directive,
193
+ args: [{
194
+ selector: "button[hlmAlertDialogAction]",
195
+ hostDirectives: [{
196
+ directive: HlmButton,
197
+ inputs: ["variant", "size"]
198
+ }],
199
+ host: {
200
+ "data-slot": "alert-dialog-action",
201
+ "[type]": "type()"
202
+ }
203
+ }]
204
+ }],
205
+ propDecorators: { type: [{
206
+ type: i0.Input,
207
+ args: [{
208
+ isSignal: true,
209
+ alias: "type",
210
+ required: false
211
+ }]
212
+ }] }
213
+ });
214
+ var HlmAlertDialogCancel = class HlmAlertDialogCancel {
215
+ constructor() {
216
+ this.type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
217
+ }
218
+ static {
219
+ this.ɵfac = i0.ɵɵngDeclareFactory({
220
+ minVersion: "12.0.0",
221
+ version: "22.2.4",
222
+ ngImport: i0,
223
+ type: HlmAlertDialogCancel,
224
+ deps: [],
225
+ target: i0.ɵɵFactoryTarget.Directive
226
+ });
227
+ }
228
+ static {
229
+ this.ɵdir = i0.ɵɵngDeclareDirective({
230
+ minVersion: "17.1.0",
231
+ version: "22.2.4",
232
+ type: HlmAlertDialogCancel,
233
+ isStandalone: true,
234
+ selector: "button[hlmAlertDialogCancel]",
235
+ inputs: { type: {
236
+ classPropertyName: "type",
237
+ publicName: "type",
238
+ isSignal: true,
239
+ isRequired: false,
240
+ transformFunction: null
241
+ } },
242
+ host: {
243
+ attributes: { "data-slot": "alert-dialog-cancel" },
244
+ properties: { "type": "type()" }
245
+ },
246
+ providers: [provideBrnButtonConfig({ variant: "outline" })],
247
+ hostDirectives: [{ directive: i1.BrnDialogClose }, {
248
+ directive: i1$1.HlmButton,
249
+ inputs: [
250
+ "variant",
251
+ "variant",
252
+ "size",
253
+ "size"
254
+ ]
255
+ }],
256
+ ngImport: i0
257
+ });
258
+ }
259
+ };
260
+ i0.ɵɵngDeclareClassMetadata({
261
+ minVersion: "12.0.0",
262
+ version: "22.2.4",
263
+ ngImport: i0,
264
+ type: HlmAlertDialogCancel,
265
+ decorators: [{
266
+ type: Directive,
267
+ args: [{
268
+ selector: "button[hlmAlertDialogCancel]",
269
+ providers: [provideBrnButtonConfig({ variant: "outline" })],
270
+ hostDirectives: [BrnDialogClose, {
271
+ directive: HlmButton,
272
+ inputs: ["variant", "size"]
273
+ }],
274
+ host: {
275
+ "data-slot": "alert-dialog-cancel",
276
+ "[type]": "type()"
277
+ }
278
+ }]
279
+ }],
280
+ propDecorators: { type: [{
281
+ type: i0.Input,
282
+ args: [{
283
+ isSignal: true,
284
+ alias: "type",
285
+ required: false
286
+ }]
287
+ }] }
288
+ });
289
+ var HlmAlertDialogContent = class HlmAlertDialogContent {
290
+ constructor() {
291
+ this._stateProvider = injectExposesStateProvider({
292
+ optional: true,
293
+ host: true
294
+ });
295
+ this.state = this._stateProvider?.state ?? signal("closed");
296
+ this.size = input("default", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
297
+ classes(() => "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 bg-popover text-popover-foreground ring-foreground/10 gap-4 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content grid w-full outline-none");
298
+ }
299
+ static {
300
+ this.ɵfac = i0.ɵɵngDeclareFactory({
301
+ minVersion: "12.0.0",
302
+ version: "22.2.4",
303
+ ngImport: i0,
304
+ type: HlmAlertDialogContent,
305
+ deps: [],
306
+ target: i0.ɵɵFactoryTarget.Directive
307
+ });
308
+ }
309
+ static {
310
+ this.ɵdir = i0.ɵɵngDeclareDirective({
311
+ minVersion: "17.1.0",
312
+ version: "22.2.4",
313
+ type: HlmAlertDialogContent,
314
+ isStandalone: true,
315
+ selector: "[hlmAlertDialogContent],hlm-alert-dialog-content",
316
+ inputs: { size: {
317
+ classPropertyName: "size",
318
+ publicName: "size",
319
+ isSignal: true,
320
+ isRequired: false,
321
+ transformFunction: null
322
+ } },
323
+ host: {
324
+ attributes: { "data-slot": "alert-dialog-content" },
325
+ properties: {
326
+ "attr.data-state": "state()",
327
+ "attr.data-size": "size()"
328
+ }
329
+ },
330
+ ngImport: i0
331
+ });
332
+ }
333
+ };
334
+ i0.ɵɵngDeclareClassMetadata({
335
+ minVersion: "12.0.0",
336
+ version: "22.2.4",
337
+ ngImport: i0,
338
+ type: HlmAlertDialogContent,
339
+ decorators: [{
340
+ type: Directive,
341
+ args: [{
342
+ selector: "[hlmAlertDialogContent],hlm-alert-dialog-content",
343
+ host: {
344
+ "data-slot": "alert-dialog-content",
345
+ "[attr.data-state]": "state()",
346
+ "[attr.data-size]": "size()"
347
+ }
348
+ }]
349
+ }],
350
+ ctorParameters: () => [],
351
+ propDecorators: { size: [{
352
+ type: i0.Input,
353
+ args: [{
354
+ isSignal: true,
355
+ alias: "size",
356
+ required: false
357
+ }]
358
+ }] }
359
+ });
360
+ var HlmAlertDialogDescription = class HlmAlertDialogDescription {
361
+ constructor() {
362
+ classes(() => "text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3");
363
+ }
364
+ static {
365
+ this.ɵfac = i0.ɵɵngDeclareFactory({
366
+ minVersion: "12.0.0",
367
+ version: "22.2.4",
368
+ ngImport: i0,
369
+ type: HlmAlertDialogDescription,
370
+ deps: [],
371
+ target: i0.ɵɵFactoryTarget.Directive
372
+ });
373
+ }
374
+ static {
375
+ this.ɵdir = i0.ɵɵngDeclareDirective({
376
+ minVersion: "14.0.0",
377
+ version: "22.2.4",
378
+ type: HlmAlertDialogDescription,
379
+ isStandalone: true,
380
+ selector: "[hlmAlertDialogDescription]",
381
+ host: { attributes: { "data-slot": "alert-dialog-description" } },
382
+ hostDirectives: [{ directive: i1$2.BrnAlertDialogDescription }],
383
+ ngImport: i0
384
+ });
385
+ }
386
+ };
387
+ i0.ɵɵngDeclareClassMetadata({
388
+ minVersion: "12.0.0",
389
+ version: "22.2.4",
390
+ ngImport: i0,
391
+ type: HlmAlertDialogDescription,
392
+ decorators: [{
393
+ type: Directive,
394
+ args: [{
395
+ selector: "[hlmAlertDialogDescription]",
396
+ hostDirectives: [BrnAlertDialogDescription],
397
+ host: { "data-slot": "alert-dialog-description" }
398
+ }]
399
+ }],
400
+ ctorParameters: () => []
401
+ });
402
+ var HlmAlertDialogFooter = class HlmAlertDialogFooter {
403
+ constructor() {
404
+ classes(() => "bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end");
405
+ }
406
+ static {
407
+ this.ɵfac = i0.ɵɵngDeclareFactory({
408
+ minVersion: "12.0.0",
409
+ version: "22.2.4",
410
+ ngImport: i0,
411
+ type: HlmAlertDialogFooter,
412
+ deps: [],
413
+ target: i0.ɵɵFactoryTarget.Directive
414
+ });
415
+ }
416
+ static {
417
+ this.ɵdir = i0.ɵɵngDeclareDirective({
418
+ minVersion: "14.0.0",
419
+ version: "22.2.4",
420
+ type: HlmAlertDialogFooter,
421
+ isStandalone: true,
422
+ selector: "[hlmAlertDialogFooter],hlm-alert-dialog-footer",
423
+ host: { attributes: { "data-slot": "alert-dialog-footer" } },
424
+ ngImport: i0
425
+ });
426
+ }
427
+ };
428
+ i0.ɵɵngDeclareClassMetadata({
429
+ minVersion: "12.0.0",
430
+ version: "22.2.4",
431
+ ngImport: i0,
432
+ type: HlmAlertDialogFooter,
433
+ decorators: [{
434
+ type: Directive,
435
+ args: [{
436
+ selector: "[hlmAlertDialogFooter],hlm-alert-dialog-footer",
437
+ host: { "data-slot": "alert-dialog-footer" }
438
+ }]
439
+ }],
440
+ ctorParameters: () => []
441
+ });
442
+ var HlmAlertDialogHeader = class HlmAlertDialogHeader {
443
+ constructor() {
444
+ classes(() => "grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]");
445
+ }
446
+ static {
447
+ this.ɵfac = i0.ɵɵngDeclareFactory({
448
+ minVersion: "12.0.0",
449
+ version: "22.2.4",
450
+ ngImport: i0,
451
+ type: HlmAlertDialogHeader,
452
+ deps: [],
453
+ target: i0.ɵɵFactoryTarget.Directive
454
+ });
455
+ }
456
+ static {
457
+ this.ɵdir = i0.ɵɵngDeclareDirective({
458
+ minVersion: "14.0.0",
459
+ version: "22.2.4",
460
+ type: HlmAlertDialogHeader,
461
+ isStandalone: true,
462
+ selector: "[hlmAlertDialogHeader],hlm-alert-dialog-header",
463
+ host: { attributes: { "data-slot": "alert-dialog-header" } },
464
+ ngImport: i0
465
+ });
466
+ }
467
+ };
468
+ i0.ɵɵngDeclareClassMetadata({
469
+ minVersion: "12.0.0",
470
+ version: "22.2.4",
471
+ ngImport: i0,
472
+ type: HlmAlertDialogHeader,
473
+ decorators: [{
474
+ type: Directive,
475
+ args: [{
476
+ selector: "[hlmAlertDialogHeader],hlm-alert-dialog-header",
477
+ host: { "data-slot": "alert-dialog-header" }
478
+ }]
479
+ }],
480
+ ctorParameters: () => []
481
+ });
482
+ var HlmAlertDialogMedia = class HlmAlertDialogMedia {
483
+ constructor() {
484
+ classes(() => "bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[ng-icon:not([class*='text-'])]:text-[length:--spacing(6)]");
485
+ }
486
+ static {
487
+ this.ɵfac = i0.ɵɵngDeclareFactory({
488
+ minVersion: "12.0.0",
489
+ version: "22.2.4",
490
+ ngImport: i0,
491
+ type: HlmAlertDialogMedia,
492
+ deps: [],
493
+ target: i0.ɵɵFactoryTarget.Directive
494
+ });
495
+ }
496
+ static {
497
+ this.ɵdir = i0.ɵɵngDeclareDirective({
498
+ minVersion: "14.0.0",
499
+ version: "22.2.4",
500
+ type: HlmAlertDialogMedia,
501
+ isStandalone: true,
502
+ selector: "[hlmAlertDialogMedia],hlm-alert-dialog-media",
503
+ host: { attributes: { "data-slot": "alert-dialog-media" } },
504
+ ngImport: i0
505
+ });
506
+ }
507
+ };
508
+ i0.ɵɵngDeclareClassMetadata({
509
+ minVersion: "12.0.0",
510
+ version: "22.2.4",
511
+ ngImport: i0,
512
+ type: HlmAlertDialogMedia,
513
+ decorators: [{
514
+ type: Directive,
515
+ args: [{
516
+ selector: "[hlmAlertDialogMedia],hlm-alert-dialog-media",
517
+ host: { "data-slot": "alert-dialog-media" }
518
+ }]
519
+ }],
520
+ ctorParameters: () => []
521
+ });
522
+ var HlmAlertDialogPortal = class HlmAlertDialogPortal {
523
+ static {
524
+ this.ɵfac = i0.ɵɵngDeclareFactory({
525
+ minVersion: "12.0.0",
526
+ version: "22.2.4",
527
+ ngImport: i0,
528
+ type: HlmAlertDialogPortal,
529
+ deps: [],
530
+ target: i0.ɵɵFactoryTarget.Directive
531
+ });
532
+ }
533
+ static {
534
+ this.ɵdir = i0.ɵɵngDeclareDirective({
535
+ minVersion: "14.0.0",
536
+ version: "22.2.4",
537
+ type: HlmAlertDialogPortal,
538
+ isStandalone: true,
539
+ selector: "[hlmAlertDialogPortal]",
540
+ hostDirectives: [{
541
+ directive: i1$2.BrnAlertDialogContent,
542
+ inputs: [
543
+ "context",
544
+ "context",
545
+ "class",
546
+ "class"
547
+ ]
548
+ }],
549
+ ngImport: i0
550
+ });
551
+ }
552
+ };
553
+ i0.ɵɵngDeclareClassMetadata({
554
+ minVersion: "12.0.0",
555
+ version: "22.2.4",
556
+ ngImport: i0,
557
+ type: HlmAlertDialogPortal,
558
+ decorators: [{
559
+ type: Directive,
560
+ args: [{
561
+ selector: "[hlmAlertDialogPortal]",
562
+ hostDirectives: [{
563
+ directive: BrnAlertDialogContent,
564
+ inputs: ["context", "class"]
565
+ }]
566
+ }]
567
+ }]
568
+ });
569
+ var HlmAlertDialogTitle = class HlmAlertDialogTitle {
570
+ constructor() {
571
+ classes(() => "text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2");
572
+ }
573
+ static {
574
+ this.ɵfac = i0.ɵɵngDeclareFactory({
575
+ minVersion: "12.0.0",
576
+ version: "22.2.4",
577
+ ngImport: i0,
578
+ type: HlmAlertDialogTitle,
579
+ deps: [],
580
+ target: i0.ɵɵFactoryTarget.Directive
581
+ });
582
+ }
583
+ static {
584
+ this.ɵdir = i0.ɵɵngDeclareDirective({
585
+ minVersion: "14.0.0",
586
+ version: "22.2.4",
587
+ type: HlmAlertDialogTitle,
588
+ isStandalone: true,
589
+ selector: "[hlmAlertDialogTitle]",
590
+ host: { attributes: { "data-slot": "alert-dialog-title" } },
591
+ hostDirectives: [{ directive: i1$2.BrnAlertDialogTitle }],
592
+ ngImport: i0
593
+ });
594
+ }
595
+ };
596
+ i0.ɵɵngDeclareClassMetadata({
597
+ minVersion: "12.0.0",
598
+ version: "22.2.4",
599
+ ngImport: i0,
600
+ type: HlmAlertDialogTitle,
601
+ decorators: [{
602
+ type: Directive,
603
+ args: [{
604
+ selector: "[hlmAlertDialogTitle]",
605
+ hostDirectives: [BrnAlertDialogTitle],
606
+ host: { "data-slot": "alert-dialog-title" }
607
+ }]
608
+ }],
609
+ ctorParameters: () => []
610
+ });
611
+ var HlmAlertDialogTrigger = class HlmAlertDialogTrigger {
612
+ static {
613
+ this.ɵfac = i0.ɵɵngDeclareFactory({
614
+ minVersion: "12.0.0",
615
+ version: "22.2.4",
616
+ ngImport: i0,
617
+ type: HlmAlertDialogTrigger,
618
+ deps: [],
619
+ target: i0.ɵɵFactoryTarget.Directive
620
+ });
621
+ }
622
+ static {
623
+ this.ɵdir = i0.ɵɵngDeclareDirective({
624
+ minVersion: "14.0.0",
625
+ version: "22.2.4",
626
+ type: HlmAlertDialogTrigger,
627
+ isStandalone: true,
628
+ selector: "button[hlmAlertDialogTrigger],button[hlmAlertDialogTriggerFor]",
629
+ host: { attributes: { "data-slot": "alert-dialog-trigger" } },
630
+ hostDirectives: [{
631
+ directive: i1$2.BrnAlertDialogTrigger,
632
+ inputs: [
633
+ "id",
634
+ "id",
635
+ "brnAlertDialogTriggerFor",
636
+ "hlmAlertDialogTriggerFor",
637
+ "type",
638
+ "type"
639
+ ]
640
+ }],
641
+ ngImport: i0
642
+ });
643
+ }
644
+ };
645
+ i0.ɵɵngDeclareClassMetadata({
646
+ minVersion: "12.0.0",
647
+ version: "22.2.4",
648
+ ngImport: i0,
649
+ type: HlmAlertDialogTrigger,
650
+ decorators: [{
651
+ type: Directive,
652
+ args: [{
653
+ selector: "button[hlmAlertDialogTrigger],button[hlmAlertDialogTriggerFor]",
654
+ hostDirectives: [{
655
+ directive: BrnAlertDialogTrigger,
656
+ inputs: [
657
+ "id",
658
+ "brnAlertDialogTriggerFor: hlmAlertDialogTriggerFor",
659
+ "type"
660
+ ]
661
+ }],
662
+ host: { "data-slot": "alert-dialog-trigger" }
663
+ }]
664
+ }]
665
+ });
230
666
  const HlmAlertDialogImports = [
231
- HlmAlertDialog,
232
- HlmAlertDialogAction,
233
- HlmAlertDialogCancel,
234
- HlmAlertDialogContent,
235
- HlmAlertDialogDescription,
236
- HlmAlertDialogFooter,
237
- HlmAlertDialogHeader,
238
- HlmAlertDialogMedia,
239
- HlmAlertDialogOverlay,
240
- HlmAlertDialogPortal,
241
- HlmAlertDialogTitle,
242
- HlmAlertDialogTrigger,
667
+ HlmAlertDialog,
668
+ HlmAlertDialogAction,
669
+ HlmAlertDialogCancel,
670
+ HlmAlertDialogContent,
671
+ HlmAlertDialogDescription,
672
+ HlmAlertDialogFooter,
673
+ HlmAlertDialogHeader,
674
+ HlmAlertDialogMedia,
675
+ HlmAlertDialogOverlay,
676
+ HlmAlertDialogPortal,
677
+ HlmAlertDialogTitle,
678
+ HlmAlertDialogTrigger
243
679
  ];
244
-
245
- /**
246
- * Generated bundle index. Do not edit.
247
- */
248
-
249
680
  export { HlmAlertDialog, HlmAlertDialogAction, HlmAlertDialogCancel, HlmAlertDialogContent, HlmAlertDialogDescription, HlmAlertDialogFooter, HlmAlertDialogHeader, HlmAlertDialogImports, HlmAlertDialogMedia, HlmAlertDialogOverlay, HlmAlertDialogPortal, HlmAlertDialogTitle, HlmAlertDialogTrigger };
250
- //# sourceMappingURL=yukit-web-helm-alert-dialog.mjs.map
681
+
682
+ //# sourceMappingURL=yukit-web-helm-alert-dialog.mjs.map