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.
Files changed (130) hide show
  1. package/.npm/_cacache/content-v2/sha512/03/98/70979fc359861d63479e1619d042ae426b2765f31a8af329a1f76a60cd26b0159ea29bb70209838d246dd6a0a5bafc6617f597733ccae24b8f25ae597d19 +1 -0
  2. package/.npm/_cacache/index-v5/64/dc/73c7a26f2e6eb0c711133d96c247da5ecf0eba708cd37c450a7b3c7cb488 +1 -1
  3. package/.npm/_logs/{2026-08-31T12_58_48_812Z-debug-0.log → 2026-09-03T11_06_22_047Z-debug-0.log} +10 -10
  4. package/.npm/_logs/{2026-08-31T12_58_49_377Z-debug-0.log → 2026-09-03T11_06_22_642Z-debug-0.log} +2 -2
  5. package/fesm2022/yukit-web-helm-accordion.mjs +12 -12
  6. package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
  7. package/fesm2022/yukit-web-helm-alert-dialog.mjs +36 -36
  8. package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
  9. package/fesm2022/yukit-web-helm-alert.mjs +12 -12
  10. package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
  11. package/fesm2022/yukit-web-helm-aspect-ratio.mjs +3 -3
  12. package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
  13. package/fesm2022/yukit-web-helm-attachment.mjs +27 -27
  14. package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
  15. package/fesm2022/yukit-web-helm-autocomplete.mjs +36 -36
  16. package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
  17. package/fesm2022/yukit-web-helm-avatar.mjs +18 -18
  18. package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
  19. package/fesm2022/yukit-web-helm-badge.mjs +3 -3
  20. package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
  21. package/fesm2022/yukit-web-helm-breadcrumb.mjs +21 -21
  22. package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
  23. package/fesm2022/yukit-web-helm-bubble.mjs +12 -12
  24. package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
  25. package/fesm2022/yukit-web-helm-button-group.mjs +9 -9
  26. package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
  27. package/fesm2022/yukit-web-helm-button.mjs +3 -3
  28. package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
  29. package/fesm2022/yukit-web-helm-calendar.mjs +12 -12
  30. package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
  31. package/fesm2022/yukit-web-helm-card.mjs +21 -21
  32. package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
  33. package/fesm2022/yukit-web-helm-carousel.mjs +18 -18
  34. package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
  35. package/fesm2022/yukit-web-helm-checkbox.mjs +3 -3
  36. package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
  37. package/fesm2022/yukit-web-helm-collapsible.mjs +9 -9
  38. package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
  39. package/fesm2022/yukit-web-helm-combobox.mjs +63 -63
  40. package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
  41. package/fesm2022/yukit-web-helm-command.mjs +33 -33
  42. package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
  43. package/fesm2022/yukit-web-helm-context-menu.mjs +3 -3
  44. package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
  45. package/fesm2022/yukit-web-helm-date-picker.mjs +30 -30
  46. package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
  47. package/fesm2022/yukit-web-helm-dialog.mjs +33 -33
  48. package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
  49. package/fesm2022/yukit-web-helm-drawer.mjs +30 -30
  50. package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
  51. package/fesm2022/yukit-web-helm-dropdown-menu.mjs +51 -51
  52. package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
  53. package/fesm2022/yukit-web-helm-empty.mjs +18 -18
  54. package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
  55. package/fesm2022/yukit-web-helm-field.mjs +30 -30
  56. package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
  57. package/fesm2022/yukit-web-helm-hover-card.mjs +12 -12
  58. package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
  59. package/fesm2022/yukit-web-helm-input-group.mjs +18 -18
  60. package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
  61. package/fesm2022/yukit-web-helm-input-otp.mjs +15 -15
  62. package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
  63. package/fesm2022/yukit-web-helm-input.mjs +3 -3
  64. package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
  65. package/fesm2022/yukit-web-helm-item.mjs +30 -30
  66. package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
  67. package/fesm2022/yukit-web-helm-kbd.mjs +6 -6
  68. package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
  69. package/fesm2022/yukit-web-helm-label.mjs +3 -3
  70. package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
  71. package/fesm2022/yukit-web-helm-marker.mjs +9 -9
  72. package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
  73. package/fesm2022/yukit-web-helm-menubar.mjs +6 -6
  74. package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
  75. package/fesm2022/yukit-web-helm-message.mjs +18 -18
  76. package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
  77. package/fesm2022/yukit-web-helm-native-select.mjs +9 -9
  78. package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
  79. package/fesm2022/yukit-web-helm-navigation-menu.mjs +21 -21
  80. package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
  81. package/fesm2022/yukit-web-helm-pagination.mjs +27 -27
  82. package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
  83. package/fesm2022/yukit-web-helm-popover.mjs +21 -21
  84. package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
  85. package/fesm2022/yukit-web-helm-progress.mjs +6 -6
  86. package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
  87. package/fesm2022/yukit-web-helm-radio-group.mjs +9 -9
  88. package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
  89. package/fesm2022/yukit-web-helm-resizable.mjs +9 -9
  90. package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
  91. package/fesm2022/yukit-web-helm-scroll-area.mjs +3 -3
  92. package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
  93. package/fesm2022/yukit-web-helm-select.mjs +48 -48
  94. package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
  95. package/fesm2022/yukit-web-helm-separator.mjs +3 -3
  96. package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
  97. package/fesm2022/yukit-web-helm-sheet.mjs +30 -30
  98. package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
  99. package/fesm2022/yukit-web-helm-sidebar.mjs +72 -72
  100. package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
  101. package/fesm2022/yukit-web-helm-skeleton.mjs +3 -3
  102. package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
  103. package/fesm2022/yukit-web-helm-slider.mjs +3 -3
  104. package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
  105. package/fesm2022/yukit-web-helm-sonner.mjs +3 -3
  106. package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
  107. package/fesm2022/yukit-web-helm-spinner.mjs +3 -3
  108. package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
  109. package/fesm2022/yukit-web-helm-switch.mjs +6 -6
  110. package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
  111. package/fesm2022/yukit-web-helm-table.mjs +27 -27
  112. package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
  113. package/fesm2022/yukit-web-helm-tabs.mjs +18 -18
  114. package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
  115. package/fesm2022/yukit-web-helm-textarea.mjs +3 -3
  116. package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
  117. package/fesm2022/yukit-web-helm-toggle-group.mjs +6 -6
  118. package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
  119. package/fesm2022/yukit-web-helm-toggle.mjs +3 -3
  120. package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
  121. package/fesm2022/yukit-web-helm-tooltip.mjs +3 -3
  122. package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
  123. package/fesm2022/yukit-web-helm-typography.mjs +36 -36
  124. package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
  125. package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
  126. package/fesm2022/yukit-web.mjs +997 -910
  127. package/fesm2022/yukit-web.mjs.map +1 -1
  128. package/package.json +2 -2
  129. package/types/yukit-web.d.ts +315 -290
  130. package/.npm/_cacache/content-v2/sha512/91/84/7c92c9dd9c293aab175752ad46bf81644f183a08e6d676883687d9582b567e12d86c1a66d285eecd45ad523581dc28033a028ee028f51693fc126121d19f +0 -1
@@ -20,10 +20,10 @@ class HlmDialogOverlay {
20
20
  untracked(() => this._classSettable?.setClassToCustomElement(newClass));
21
21
  });
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
24
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: HlmDialogOverlay, isStandalone: true, selector: "[hlmDialogOverlay],hlm-dialog-overlay", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: i1.BrnDialogOverlay }], ngImport: i0 }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
24
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmDialogOverlay, isStandalone: true, selector: "[hlmDialogOverlay],hlm-dialog-overlay", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: i1.BrnDialogOverlay }], ngImport: i0 }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogOverlay, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogOverlay, decorators: [{
27
27
  type: Directive,
28
28
  args: [{
29
29
  selector: '[hlmDialogOverlay],hlm-dialog-overlay',
@@ -32,8 +32,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
32
32
  }], ctorParameters: () => [], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
33
33
 
34
34
  class HlmDialog extends BrnDialog {
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialog, isStandalone: true, selector: "hlm-dialog", providers: [
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialog, isStandalone: true, selector: "hlm-dialog", providers: [
37
37
  {
38
38
  provide: BrnDialog,
39
39
  useExisting: forwardRef(() => HlmDialog),
@@ -46,7 +46,7 @@ class HlmDialog extends BrnDialog {
46
46
  <ng-content />
47
47
  `, isInline: true, dependencies: [{ kind: "directive", type: HlmDialogOverlay, selector: "[hlmDialogOverlay],hlm-dialog-overlay", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialog, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialog, decorators: [{
50
50
  type: Component,
51
51
  args: [{
52
52
  selector: 'hlm-dialog',
@@ -70,10 +70,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
70
70
  }] });
71
71
 
72
72
  class HlmDialogClose {
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogClose, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
74
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialogClose, isStandalone: true, selector: "button[hlmDialogClose]", host: { attributes: { "data-slot": "dialog-close" } }, hostDirectives: [{ directive: i1.BrnDialogClose }], ngImport: i0 }); }
73
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogClose, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
74
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialogClose, isStandalone: true, selector: "button[hlmDialogClose]", host: { attributes: { "data-slot": "dialog-close" } }, hostDirectives: [{ directive: i1.BrnDialogClose }], ngImport: i0 }); }
75
75
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogClose, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogClose, decorators: [{
77
77
  type: Directive,
78
78
  args: [{
79
79
  selector: 'button[hlmDialogClose]',
@@ -92,8 +92,8 @@ class HlmDialogContent {
92
92
  this._dynamicComponentClass = this._dialogContext?.$dynamicComponentClass;
93
93
  classes(() => ['bg-popover text-popover-foreground 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 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-sm ring-1 duration-100 sm:max-w-sm relative mx-auto w-full outline-none sm:mx-0', this._dynamicComponentClass]);
94
94
  }
95
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
96
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: HlmDialogContent, isStandalone: true, selector: "hlm-dialog-content", inputs: { showCloseButton: { classPropertyName: "showCloseButton", publicName: "showCloseButton", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "dialog-content" }, properties: { "attr.data-state": "state()" } }, providers: [provideIcons({ lucideX })], ngImport: i0, template: `
95
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
96
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HlmDialogContent, isStandalone: true, selector: "hlm-dialog-content", inputs: { showCloseButton: { classPropertyName: "showCloseButton", publicName: "showCloseButton", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "dialog-content" }, properties: { "attr.data-state": "state()" } }, providers: [provideIcons({ lucideX })], ngImport: i0, template: `
97
97
  @if (component) {
98
98
  <ng-container [ngComponentOutlet]="component" />
99
99
  } @else {
@@ -108,7 +108,7 @@ class HlmDialogContent {
108
108
  }
109
109
  `, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: HlmButton, selector: "button[hlmBtn], a[hlmBtn]", inputs: ["variant", "size"], exportAs: ["hlmBtn"] }, { kind: "directive", type: HlmDialogClose, selector: "button[hlmDialogClose]" }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
110
110
  }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogContent, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogContent, decorators: [{
112
112
  type: Component,
113
113
  args: [{
114
114
  selector: 'hlm-dialog-content',
@@ -140,10 +140,10 @@ class HlmDialogDescription {
140
140
  constructor() {
141
141
  classes(() => 'text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3');
142
142
  }
143
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
144
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialogDescription, isStandalone: true, selector: "[hlmDialogDescription]", host: { attributes: { "data-slot": "dialog-description" } }, hostDirectives: [{ directive: i1.BrnDialogDescription }], ngImport: i0 }); }
143
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
144
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialogDescription, isStandalone: true, selector: "[hlmDialogDescription]", host: { attributes: { "data-slot": "dialog-description" } }, hostDirectives: [{ directive: i1.BrnDialogDescription }], ngImport: i0 }); }
145
145
  }
146
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogDescription, decorators: [{
146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogDescription, decorators: [{
147
147
  type: Directive,
148
148
  args: [{
149
149
  selector: '[hlmDialogDescription]',
@@ -156,10 +156,10 @@ class HlmDialogFooter {
156
156
  constructor() {
157
157
  classes(() => 'bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end');
158
158
  }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
160
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialogFooter, isStandalone: true, selector: "[hlmDialogFooter],hlm-dialog-footer", host: { attributes: { "data-slot": "dialog-footer" } }, ngImport: i0 }); }
159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
160
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialogFooter, isStandalone: true, selector: "[hlmDialogFooter],hlm-dialog-footer", host: { attributes: { "data-slot": "dialog-footer" } }, ngImport: i0 }); }
161
161
  }
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogFooter, decorators: [{
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogFooter, decorators: [{
163
163
  type: Directive,
164
164
  args: [{
165
165
  selector: '[hlmDialogFooter],hlm-dialog-footer',
@@ -171,10 +171,10 @@ class HlmDialogHeader {
171
171
  constructor() {
172
172
  classes(() => 'gap-2 flex flex-col');
173
173
  }
174
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
175
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialogHeader, isStandalone: true, selector: "[hlmDialogHeader],hlm-dialog-header", host: { attributes: { "data-slot": "dialog-header" } }, ngImport: i0 }); }
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
175
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialogHeader, isStandalone: true, selector: "[hlmDialogHeader],hlm-dialog-header", host: { attributes: { "data-slot": "dialog-header" } }, ngImport: i0 }); }
176
176
  }
177
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogHeader, decorators: [{
177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogHeader, decorators: [{
178
178
  type: Directive,
179
179
  args: [{
180
180
  selector: '[hlmDialogHeader],hlm-dialog-header',
@@ -183,10 +183,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
183
183
  }], ctorParameters: () => [] });
184
184
 
185
185
  class HlmDialogPortal {
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
187
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialogPortal, isStandalone: true, selector: "[hlmDialogPortal]", hostDirectives: [{ directive: i1.BrnDialogContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
187
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialogPortal, isStandalone: true, selector: "[hlmDialogPortal]", hostDirectives: [{ directive: i1.BrnDialogContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
188
188
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogPortal, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogPortal, decorators: [{
190
190
  type: Directive,
191
191
  args: [{
192
192
  selector: '[hlmDialogPortal]',
@@ -198,10 +198,10 @@ class HlmDialogTitle {
198
198
  constructor() {
199
199
  classes(() => 'text-base leading-none font-medium');
200
200
  }
201
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
202
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialogTitle, isStandalone: true, selector: "[hlmDialogTitle]", host: { attributes: { "data-slot": "dialog-title" } }, hostDirectives: [{ directive: i1.BrnDialogTitle }], ngImport: i0 }); }
201
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
202
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialogTitle, isStandalone: true, selector: "[hlmDialogTitle]", host: { attributes: { "data-slot": "dialog-title" } }, hostDirectives: [{ directive: i1.BrnDialogTitle }], ngImport: i0 }); }
203
203
  }
204
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogTitle, decorators: [{
204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogTitle, decorators: [{
205
205
  type: Directive,
206
206
  args: [{
207
207
  selector: '[hlmDialogTitle]',
@@ -211,10 +211,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
211
211
  }], ctorParameters: () => [] });
212
212
 
213
213
  class HlmDialogTrigger {
214
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
215
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDialogTrigger, isStandalone: true, selector: "button[hlmDialogTrigger],button[hlmDialogTriggerFor]", host: { attributes: { "data-slot": "dialog-trigger" } }, hostDirectives: [{ directive: i1.BrnDialogTrigger, inputs: ["id", "id", "brnDialogTriggerFor", "hlmDialogTriggerFor", "type", "type"] }], ngImport: i0 }); }
214
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
215
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDialogTrigger, isStandalone: true, selector: "button[hlmDialogTrigger],button[hlmDialogTriggerFor]", host: { attributes: { "data-slot": "dialog-trigger" } }, hostDirectives: [{ directive: i1.BrnDialogTrigger, inputs: ["id", "id", "brnDialogTriggerFor", "hlmDialogTriggerFor", "type", "type"] }], ngImport: i0 }); }
216
216
  }
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogTrigger, decorators: [{
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogTrigger, decorators: [{
218
218
  type: Directive,
219
219
  args: [{
220
220
  selector: 'button[hlmDialogTrigger],button[hlmDialogTriggerFor]',
@@ -240,10 +240,10 @@ class HlmDialogService {
240
240
  };
241
241
  return this._brnDialogService.open(HlmDialogContent, undefined, mergedOptions.context, mergedOptions);
242
242
  }
243
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
244
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogService, providedIn: 'root' }); }
243
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
244
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogService, providedIn: 'root' }); }
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDialogService, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDialogService, decorators: [{
247
247
  type: Injectable,
248
248
  args: [{
249
249
  providedIn: 'root',
@@ -1 +1 @@
1
- {"version":3,"file":"yukit-web-helm-dialog.mjs","sources":["../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-overlay.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-close.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-content.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-description.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-footer.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-header.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-portal.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-title.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-trigger.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog.service.ts","../../../projects/yukit-web/helm/dialog/src/index.ts","../../../projects/yukit-web/helm/dialog/src/yukit-web-helm-dialog.ts"],"sourcesContent":["import { computed, Directive, effect, input, untracked } from '@angular/core';\nimport { injectCustomClassSettable } from '@spartan-ng/brain/core';\nimport { BrnDialogOverlay } from '@spartan-ng/brain/dialog';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\n\nexport const hlmDialogOverlayClass = 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');\n\n@Directive({\n\tselector: '[hlmDialogOverlay],hlm-dialog-overlay',\n\thostDirectives: [BrnDialogOverlay],\n})\nexport class HlmDialogOverlay {\n\tprivate readonly _classSettable = injectCustomClassSettable({ optional: true, host: true });\n\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\tprotected readonly _computedClass = computed(() => hlm(hlmDialogOverlayClass, this.userClass()));\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tconst newClass = this._computedClass();\n\t\t\tuntracked(() => this._classSettable?.setClassToCustomElement(newClass));\n\t\t});\n\t}\n}\n","import { ChangeDetectionStrategy, Component, forwardRef } from '@angular/core';\nimport { BrnDialog, provideBrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';\nimport { HlmDialogOverlay } from './hlm-dialog-overlay';\n\n@Component({\n\tselector: 'hlm-dialog',\n\texportAs: 'hlmDialog',\n\timports: [HlmDialogOverlay],\n\tproviders: [\n\t\t{\n\t\t\tprovide: BrnDialog,\n\t\t\tuseExisting: forwardRef(() => HlmDialog),\n\t\t},\n\t\tprovideBrnDialogDefaultOptions({\n\t\t\t// add custom options here\n\t\t}),\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<hlm-dialog-overlay />\n\t\t<ng-content />\n\t`,\n})\nexport class HlmDialog extends BrnDialog {}\n","import { Directive } from '@angular/core';\nimport { BrnDialogClose } from '@spartan-ng/brain/dialog';\n\n@Directive({\n\tselector: 'button[hlmDialogClose]',\n\thostDirectives: [BrnDialogClose],\n\thost: { 'data-slot': 'dialog-close' },\n})\nexport class HlmDialogClose {}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport type { ComponentType } from '@angular/cdk/portal';\nimport { NgComponentOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideX } from '@ng-icons/lucide';\nimport { BrnDialogRef, injectBrnDialogContext } from '@spartan-ng/brain/dialog';\nimport { HlmButton } from 'yukit-web/helm/button';\n\nimport { classes } from 'yukit-web/helm/utils';\nimport { HlmDialogClose } from './hlm-dialog-close';\n\ntype HlmDialogContentContext = {\n\t$component?: ComponentType<unknown>;\n\t$dynamicComponentClass?: string;\n\t$showCloseButton?: boolean;\n};\n\n@Component({\n\tselector: 'hlm-dialog-content',\n\timports: [NgComponentOutlet, HlmButton, HlmDialogClose, NgIcon],\n\tproviders: [provideIcons({ lucideX })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\t'data-slot': 'dialog-content',\n\t\t'[attr.data-state]': 'state()',\n\t},\n\ttemplate: `\n\t\t@if (component) {\n\t\t\t<ng-container [ngComponentOutlet]=\"component\" />\n\t\t} @else {\n\t\t\t<ng-content />\n\t\t}\n\n\t\t@if (showCloseButton()) {\n\t\t\t<button hlmBtn variant=\"ghost\" size=\"icon-sm\" class=\"absolute end-2 top-2\" hlmDialogClose>\n\t\t\t\t<span class=\"sr-only\">close</span>\n\t\t\t\t<ng-icon name=\"lucideX\" />\n\t\t\t</button>\n\t\t}\n\t`,\n})\nexport class HlmDialogContent {\n\tprivate readonly _dialogRef = inject(BrnDialogRef);\n\tprivate readonly _dialogContext = injectBrnDialogContext<HlmDialogContentContext | null>({ optional: true });\n\n\tpublic readonly showCloseButton = input<boolean, BooleanInput>(this._dialogContext?.$showCloseButton ?? true, {\n\t\ttransform: booleanAttribute,\n\t});\n\n\tpublic readonly state = computed(() => this._dialogRef?.state() ?? 'closed');\n\n\tpublic readonly component = this._dialogContext?.$component;\n\tprivate readonly _dynamicComponentClass = this._dialogContext?.$dynamicComponentClass;\n\n\tconstructor() {\n\t\tclasses(() => ['bg-popover text-popover-foreground 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 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-sm ring-1 duration-100 sm:max-w-sm relative mx-auto w-full outline-none sm:mx-0', this._dynamicComponentClass]);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDialogDescription } from '@spartan-ng/brain/dialog';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogDescription]',\n\thostDirectives: [BrnDialogDescription],\n\thost: { 'data-slot': 'dialog-description' },\n})\nexport class HlmDialogDescription {\n\tconstructor() {\n\t\tclasses(() => 'text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogFooter],hlm-dialog-footer',\n\thost: { 'data-slot': 'dialog-footer' },\n})\nexport class HlmDialogFooter {\n\tconstructor() {\n\t\tclasses(() => 'bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogHeader],hlm-dialog-header',\n\thost: { 'data-slot': 'dialog-header' },\n})\nexport class HlmDialogHeader {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDialogContent } from '@spartan-ng/brain/dialog';\n\n@Directive({\n\tselector: '[hlmDialogPortal]',\n\thostDirectives: [{ directive: BrnDialogContent, inputs: ['context', 'class'] }],\n})\nexport class HlmDialogPortal {}\n","import { Directive } from '@angular/core';\nimport { BrnDialogTitle } from '@spartan-ng/brain/dialog';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogTitle]',\n\thostDirectives: [BrnDialogTitle],\n\thost: { 'data-slot': 'dialog-title' },\n})\nexport class HlmDialogTitle {\n\tconstructor() {\n\t\tclasses(() => 'text-base leading-none font-medium');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDialogTrigger } from '@spartan-ng/brain/dialog';\n\n@Directive({\n\tselector: 'button[hlmDialogTrigger],button[hlmDialogTriggerFor]',\n\thostDirectives: [{ directive: BrnDialogTrigger, inputs: ['id', 'brnDialogTriggerFor: hlmDialogTriggerFor', 'type'] }],\n\thost: { 'data-slot': 'dialog-trigger' },\n})\nexport class HlmDialogTrigger {}\n","import type { ComponentType } from '@angular/cdk/portal';\nimport { inject, Injectable, type TemplateRef } from '@angular/core';\nimport {\n\ttype BrnDialogOptions,\n\ttype BrnDialogRef,\n\tBrnDialogService,\n\tcssClassesToArray,\n} from '@spartan-ng/brain/dialog';\nimport { HlmDialogContent } from './hlm-dialog-content';\nimport { hlmDialogOverlayClass } from './hlm-dialog-overlay';\n\nexport type HlmDialogOptions<DialogContext = unknown> = BrnDialogOptions & {\n\tcontentClass?: string;\n\tshowCloseButton?: boolean;\n\tcontext?: DialogContext;\n};\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class HlmDialogService {\n\tprivate readonly _brnDialogService = inject(BrnDialogService);\n\n\tpublic open<TResult = unknown, TContext = unknown>(\n\t\tcomponent: ComponentType<unknown> | TemplateRef<unknown>,\n\t\toptions?: Partial<HlmDialogOptions<TContext>>,\n\t): BrnDialogRef<TResult> {\n\t\tconst mergedOptions = {\n\t\t\t...(options ?? {}),\n\t\t\tbackdropClass: cssClassesToArray(`${hlmDialogOverlayClass} ${options?.backdropClass ?? ''}`),\n\t\t\tcontext: {\n\t\t\t\t...(options?.context && typeof options.context === 'object' ? options.context : {}),\n\t\t\t\t$component: component,\n\t\t\t\t$dynamicComponentClass: options?.contentClass,\n\t\t\t\t$showCloseButton: options?.showCloseButton,\n\t\t\t},\n\t\t};\n\n\t\treturn this._brnDialogService.open<unknown, TResult>(\n\t\t\tHlmDialogContent,\n\t\t\tundefined,\n\t\t\tmergedOptions.context,\n\t\t\tmergedOptions,\n\t\t);\n\t}\n}\n","import { HlmDialog } from './lib/hlm-dialog';\nimport { HlmDialogClose } from './lib/hlm-dialog-close';\nimport { HlmDialogContent } from './lib/hlm-dialog-content';\nimport { HlmDialogDescription } from './lib/hlm-dialog-description';\nimport { HlmDialogFooter } from './lib/hlm-dialog-footer';\nimport { HlmDialogHeader } from './lib/hlm-dialog-header';\nimport { HlmDialogOverlay } from './lib/hlm-dialog-overlay';\nimport { HlmDialogPortal } from './lib/hlm-dialog-portal';\nimport { HlmDialogTitle } from './lib/hlm-dialog-title';\nimport { HlmDialogTrigger } from './lib/hlm-dialog-trigger';\n\nexport * from './lib/hlm-dialog';\nexport * from './lib/hlm-dialog-close';\nexport * from './lib/hlm-dialog-content';\nexport * from './lib/hlm-dialog-description';\nexport * from './lib/hlm-dialog-footer';\nexport * from './lib/hlm-dialog-header';\nexport * from './lib/hlm-dialog-overlay';\nexport * from './lib/hlm-dialog-portal';\nexport * from './lib/hlm-dialog-title';\nexport * from './lib/hlm-dialog-trigger';\nexport * from './lib/hlm-dialog.service';\n\nexport const HlmDialogImports = [\n\tHlmDialog,\n\tHlmDialogContent,\n\tHlmDialogDescription,\n\tHlmDialogFooter,\n\tHlmDialogHeader,\n\tHlmDialogOverlay,\n\tHlmDialogPortal,\n\tHlmDialogTitle,\n\tHlmDialogTrigger,\n\tHlmDialogClose,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAMa,qBAAqB,GAAG,GAAG,CAAC,oKAAoK;MAMhM,gBAAgB,CAAA;AAM5B,IAAA,WAAA,GAAA;AALiB,QAAA,IAAA,CAAA,cAAc,GAAG,yBAAyB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAE3E,IAAA,CAAA,SAAS,GAAG,KAAK,CAAa,EAAE,iFAAI,KAAK,EAAE,OAAO,EAAA,CAAG;AAClD,QAAA,IAAA,CAAA,cAAc,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,qBAAqB,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,qFAAC;QAG/F,MAAM,CAAC,MAAK;AACX,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE;AACtC,YAAA,SAAS,CAAC,MAAM,IAAI,CAAC,cAAc,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CAAC;AACxE,Q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A,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFhB,MAAM,EAAA,CAAA,CAAA;;2FAEN,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;AAClB,iBAAA;;;ACIM,MAAM,gBAAgB,GAAG;IAC/B,SAAS;IACT,gBAAgB;IAChB,oBAAoB;IACpB,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,gBAAgB;IAChB,cAAc;;;ACjCf;;AAEG;;;;"}
1
+ {"version":3,"file":"yukit-web-helm-dialog.mjs","sources":["../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-overlay.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-close.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-content.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-description.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-footer.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-header.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-portal.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-title.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog-trigger.ts","../../../projects/yukit-web/helm/dialog/src/lib/hlm-dialog.service.ts","../../../projects/yukit-web/helm/dialog/src/index.ts","../../../projects/yukit-web/helm/dialog/src/yukit-web-helm-dialog.ts"],"sourcesContent":["import { computed, Directive, effect, input, untracked } from '@angular/core';\nimport { injectCustomClassSettable } from '@spartan-ng/brain/core';\nimport { BrnDialogOverlay } from '@spartan-ng/brain/dialog';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\n\nexport const hlmDialogOverlayClass = 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');\n\n@Directive({\n\tselector: '[hlmDialogOverlay],hlm-dialog-overlay',\n\thostDirectives: [BrnDialogOverlay],\n})\nexport class HlmDialogOverlay {\n\tprivate readonly _classSettable = injectCustomClassSettable({ optional: true, host: true });\n\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\tprotected readonly _computedClass = computed(() => hlm(hlmDialogOverlayClass, this.userClass()));\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tconst newClass = this._computedClass();\n\t\t\tuntracked(() => this._classSettable?.setClassToCustomElement(newClass));\n\t\t});\n\t}\n}\n","import { ChangeDetectionStrategy, Component, forwardRef } from '@angular/core';\nimport { BrnDialog, provideBrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';\nimport { HlmDialogOverlay } from './hlm-dialog-overlay';\n\n@Component({\n\tselector: 'hlm-dialog',\n\texportAs: 'hlmDialog',\n\timports: [HlmDialogOverlay],\n\tproviders: [\n\t\t{\n\t\t\tprovide: BrnDialog,\n\t\t\tuseExisting: forwardRef(() => HlmDialog),\n\t\t},\n\t\tprovideBrnDialogDefaultOptions({\n\t\t\t// add custom options here\n\t\t}),\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<hlm-dialog-overlay />\n\t\t<ng-content />\n\t`,\n})\nexport class HlmDialog extends BrnDialog {}\n","import { Directive } from '@angular/core';\nimport { BrnDialogClose } from '@spartan-ng/brain/dialog';\n\n@Directive({\n\tselector: 'button[hlmDialogClose]',\n\thostDirectives: [BrnDialogClose],\n\thost: { 'data-slot': 'dialog-close' },\n})\nexport class HlmDialogClose {}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport type { ComponentType } from '@angular/cdk/portal';\nimport { NgComponentOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideX } from '@ng-icons/lucide';\nimport { BrnDialogRef, injectBrnDialogContext } from '@spartan-ng/brain/dialog';\nimport { HlmButton } from 'yukit-web/helm/button';\n\nimport { classes } from 'yukit-web/helm/utils';\nimport { HlmDialogClose } from './hlm-dialog-close';\n\ntype HlmDialogContentContext = {\n\t$component?: ComponentType<unknown>;\n\t$dynamicComponentClass?: string;\n\t$showCloseButton?: boolean;\n};\n\n@Component({\n\tselector: 'hlm-dialog-content',\n\timports: [NgComponentOutlet, HlmButton, HlmDialogClose, NgIcon],\n\tproviders: [provideIcons({ lucideX })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\t'data-slot': 'dialog-content',\n\t\t'[attr.data-state]': 'state()',\n\t},\n\ttemplate: `\n\t\t@if (component) {\n\t\t\t<ng-container [ngComponentOutlet]=\"component\" />\n\t\t} @else {\n\t\t\t<ng-content />\n\t\t}\n\n\t\t@if (showCloseButton()) {\n\t\t\t<button hlmBtn variant=\"ghost\" size=\"icon-sm\" class=\"absolute end-2 top-2\" hlmDialogClose>\n\t\t\t\t<span class=\"sr-only\">close</span>\n\t\t\t\t<ng-icon name=\"lucideX\" />\n\t\t\t</button>\n\t\t}\n\t`,\n})\nexport class HlmDialogContent {\n\tprivate readonly _dialogRef = inject(BrnDialogRef);\n\tprivate readonly _dialogContext = injectBrnDialogContext<HlmDialogContentContext | null>({ optional: true });\n\n\tpublic readonly showCloseButton = input<boolean, BooleanInput>(this._dialogContext?.$showCloseButton ?? true, {\n\t\ttransform: booleanAttribute,\n\t});\n\n\tpublic readonly state = computed(() => this._dialogRef?.state() ?? 'closed');\n\n\tpublic readonly component = this._dialogContext?.$component;\n\tprivate readonly _dynamicComponentClass = this._dialogContext?.$dynamicComponentClass;\n\n\tconstructor() {\n\t\tclasses(() => ['bg-popover text-popover-foreground 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 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-sm ring-1 duration-100 sm:max-w-sm relative mx-auto w-full outline-none sm:mx-0', this._dynamicComponentClass]);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDialogDescription } from '@spartan-ng/brain/dialog';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogDescription]',\n\thostDirectives: [BrnDialogDescription],\n\thost: { 'data-slot': 'dialog-description' },\n})\nexport class HlmDialogDescription {\n\tconstructor() {\n\t\tclasses(() => 'text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogFooter],hlm-dialog-footer',\n\thost: { 'data-slot': 'dialog-footer' },\n})\nexport class HlmDialogFooter {\n\tconstructor() {\n\t\tclasses(() => 'bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogHeader],hlm-dialog-header',\n\thost: { 'data-slot': 'dialog-header' },\n})\nexport class HlmDialogHeader {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDialogContent } from '@spartan-ng/brain/dialog';\n\n@Directive({\n\tselector: '[hlmDialogPortal]',\n\thostDirectives: [{ directive: BrnDialogContent, inputs: ['context', 'class'] }],\n})\nexport class HlmDialogPortal {}\n","import { Directive } from '@angular/core';\nimport { BrnDialogTitle } from '@spartan-ng/brain/dialog';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDialogTitle]',\n\thostDirectives: [BrnDialogTitle],\n\thost: { 'data-slot': 'dialog-title' },\n})\nexport class HlmDialogTitle {\n\tconstructor() {\n\t\tclasses(() => 'text-base leading-none font-medium');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDialogTrigger } from '@spartan-ng/brain/dialog';\n\n@Directive({\n\tselector: 'button[hlmDialogTrigger],button[hlmDialogTriggerFor]',\n\thostDirectives: [{ directive: BrnDialogTrigger, inputs: ['id', 'brnDialogTriggerFor: hlmDialogTriggerFor', 'type'] }],\n\thost: { 'data-slot': 'dialog-trigger' },\n})\nexport class HlmDialogTrigger {}\n","import type { ComponentType } from '@angular/cdk/portal';\nimport { inject, Injectable, type TemplateRef } from '@angular/core';\nimport {\n\ttype BrnDialogOptions,\n\ttype BrnDialogRef,\n\tBrnDialogService,\n\tcssClassesToArray,\n} from '@spartan-ng/brain/dialog';\nimport { HlmDialogContent } from './hlm-dialog-content';\nimport { hlmDialogOverlayClass } from './hlm-dialog-overlay';\n\nexport type HlmDialogOptions<DialogContext = unknown> = BrnDialogOptions & {\n\tcontentClass?: string;\n\tshowCloseButton?: boolean;\n\tcontext?: DialogContext;\n};\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class HlmDialogService {\n\tprivate readonly _brnDialogService = inject(BrnDialogService);\n\n\tpublic open<TResult = unknown, TContext = unknown>(\n\t\tcomponent: ComponentType<unknown> | TemplateRef<unknown>,\n\t\toptions?: Partial<HlmDialogOptions<TContext>>,\n\t): BrnDialogRef<TResult> {\n\t\tconst mergedOptions = {\n\t\t\t...(options ?? {}),\n\t\t\tbackdropClass: cssClassesToArray(`${hlmDialogOverlayClass} ${options?.backdropClass ?? ''}`),\n\t\t\tcontext: {\n\t\t\t\t...(options?.context && typeof options.context === 'object' ? options.context : {}),\n\t\t\t\t$component: component,\n\t\t\t\t$dynamicComponentClass: options?.contentClass,\n\t\t\t\t$showCloseButton: options?.showCloseButton,\n\t\t\t},\n\t\t};\n\n\t\treturn this._brnDialogService.open<unknown, TResult>(\n\t\t\tHlmDialogContent,\n\t\t\tundefined,\n\t\t\tmergedOptions.context,\n\t\t\tmergedOptions,\n\t\t);\n\t}\n}\n","import { HlmDialog } from './lib/hlm-dialog';\nimport { HlmDialogClose } from './lib/hlm-dialog-close';\nimport { HlmDialogContent } from './lib/hlm-dialog-content';\nimport { HlmDialogDescription } from './lib/hlm-dialog-description';\nimport { HlmDialogFooter } from './lib/hlm-dialog-footer';\nimport { HlmDialogHeader } from './lib/hlm-dialog-header';\nimport { HlmDialogOverlay } from './lib/hlm-dialog-overlay';\nimport { HlmDialogPortal } from './lib/hlm-dialog-portal';\nimport { HlmDialogTitle } from './lib/hlm-dialog-title';\nimport { HlmDialogTrigger } from './lib/hlm-dialog-trigger';\n\nexport * from './lib/hlm-dialog';\nexport * from './lib/hlm-dialog-close';\nexport * from './lib/hlm-dialog-content';\nexport * from './lib/hlm-dialog-description';\nexport * from './lib/hlm-dialog-footer';\nexport * from './lib/hlm-dialog-header';\nexport * from './lib/hlm-dialog-overlay';\nexport * from './lib/hlm-dialog-portal';\nexport * from './lib/hlm-dialog-title';\nexport * from './lib/hlm-dialog-trigger';\nexport * from './lib/hlm-dialog.service';\n\nexport const HlmDialogImports = [\n\tHlmDialog,\n\tHlmDialogContent,\n\tHlmDialogDescription,\n\tHlmDialogFooter,\n\tHlmDialogHeader,\n\tHlmDialogOverlay,\n\tHlmDialogPortal,\n\tHlmDialogTitle,\n\tHlmDialogTrigger,\n\tHlmDialogClose,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAMa,qBAAqB,GAAG,GAAG,CAAC,oKAAoK;MAMhM,gBAAgB,CAAA;AAM5B,IAAA,WAAA,GAAA;AALiB,QAAA,IAAA,CAAA,cAAc,GAAG,yBAAyB,CA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AC;AAC5F,YAAA,OAAO,EAAE;gBACR,IAAI,OAAO,EAAE,OAAO,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,GAAG,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC;AACnF,gBAAA,UAAU,EAAE,SAAS;gBACrB,sBAAsB,EAAE,OAAO,EAAE,YAAY;gBAC7C,gBAAgB,EAAE,OAAO,EAAE,eAAe;AAC1C,aAAA;SACD;AAED,QAAA,OAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,CACjC,gBAAgB,EAChB,SAAS,EACT,aAAa,CAAC,OAAO,EACrB,aAAa,CACb;IACF;+GAxBY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFhB,MAAM,EAAA,CAAA,CAAA;;4FAEN,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;AAClB,iBAAA;;;ACIM,MAAM,gBAAgB,GAAG;IAC/B,SAAS;IACT,gBAAgB;IAChB,oBAAoB;IACpB,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,gBAAgB;IAChB,cAAc;;;ACjCf;;AAEG;;"}
@@ -16,10 +16,10 @@ class HlmDrawerOverlay {
16
16
  untracked(() => this._classSettable?.setClassToCustomElement(classValue));
17
17
  });
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: HlmDrawerOverlay, isStandalone: true, selector: "[hlmDrawerOverlay],hlm-drawer-overlay", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: i1.BrnDrawerOverlay }], ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmDrawerOverlay, isStandalone: true, selector: "[hlmDrawerOverlay],hlm-drawer-overlay", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: i1.BrnDrawerOverlay }], ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerOverlay, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerOverlay, decorators: [{
23
23
  type: Directive,
24
24
  args: [{
25
25
  selector: '[hlmDrawerOverlay],hlm-drawer-overlay',
@@ -28,8 +28,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
28
28
  }], ctorParameters: () => [], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
29
29
 
30
30
  class HlmDrawer extends BrnDrawer {
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawer, isStandalone: true, selector: "hlm-drawer", providers: [
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawer, isStandalone: true, selector: "hlm-drawer", providers: [
33
33
  {
34
34
  provide: BrnDialog,
35
35
  useExisting: forwardRef(() => HlmDrawer),
@@ -46,7 +46,7 @@ class HlmDrawer extends BrnDrawer {
46
46
  <ng-content />
47
47
  `, isInline: true, dependencies: [{ kind: "directive", type: HlmDrawerOverlay, selector: "[hlmDrawerOverlay],hlm-drawer-overlay", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawer, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawer, decorators: [{
50
50
  type: Component,
51
51
  args: [{
52
52
  selector: 'hlm-drawer',
@@ -74,10 +74,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
74
74
  }] });
75
75
 
76
76
  class HlmDrawerClose {
77
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerClose, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
78
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerClose, isStandalone: true, selector: "button[hlmDrawerClose]", host: { attributes: { "data-slot": "drawer-close" } }, hostDirectives: [{ directive: i1.BrnDrawerClose }], ngImport: i0 }); }
77
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerClose, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
78
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerClose, isStandalone: true, selector: "button[hlmDrawerClose]", host: { attributes: { "data-slot": "drawer-close" } }, hostDirectives: [{ directive: i1.BrnDrawerClose }], ngImport: i0 }); }
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerClose, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerClose, decorators: [{
81
81
  type: Directive,
82
82
  args: [{
83
83
  selector: 'button[hlmDrawerClose]',
@@ -101,13 +101,13 @@ class HlmDrawerContent {
101
101
  'data-[vaul-drawer-direction=right]:data-closed:slide-out-to-right data-[vaul-drawer-direction=right]:data-open:slide-in-from-right',
102
102
  ]);
103
103
  }
104
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
105
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerContent, isStandalone: true, selector: "hlm-drawer-content", host: { attributes: { "data-slot": "drawer-content" }, properties: { "attr.data-vaul-drawer-direction": "_sideProvider.side()", "attr.data-state": "state()" } }, hostDirectives: [{ directive: i1.BrnDrawerHandle, inputs: ["closeThreshold", "closeThreshold"] }], ngImport: i0, template: `
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
105
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerContent, isStandalone: true, selector: "hlm-drawer-content", host: { attributes: { "data-slot": "drawer-content" }, properties: { "attr.data-vaul-drawer-direction": "_sideProvider.side()", "attr.data-state": "state()" } }, hostDirectives: [{ directive: i1.BrnDrawerHandle, inputs: ["closeThreshold", "closeThreshold"] }], ngImport: i0, template: `
106
106
  <div class="bg-muted mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"></div>
107
107
  <ng-content />
108
108
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerContent, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerContent, decorators: [{
111
111
  type: Component,
112
112
  args: [{
113
113
  selector: 'hlm-drawer-content',
@@ -129,10 +129,10 @@ class HlmDrawerDescription {
129
129
  constructor() {
130
130
  classes(() => 'text-muted-foreground text-sm');
131
131
  }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
133
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerDescription, isStandalone: true, selector: "[hlmDrawerDescription]", host: { attributes: { "data-slot": "drawer-description" } }, hostDirectives: [{ directive: i1.BrnDrawerDescription }], ngImport: i0 }); }
132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
133
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerDescription, isStandalone: true, selector: "[hlmDrawerDescription]", host: { attributes: { "data-slot": "drawer-description" } }, hostDirectives: [{ directive: i1.BrnDrawerDescription }], ngImport: i0 }); }
134
134
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerDescription, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerDescription, decorators: [{
136
136
  type: Directive,
137
137
  args: [{
138
138
  selector: '[hlmDrawerDescription]',
@@ -145,10 +145,10 @@ class HlmDrawerFooter {
145
145
  constructor() {
146
146
  classes(() => 'gap-2 p-4 mt-auto flex flex-col');
147
147
  }
148
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
149
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerFooter, isStandalone: true, selector: "[hlmDrawerFooter],hlm-drawer-footer", host: { attributes: { "data-slot": "drawer-footer" } }, ngImport: i0 }); }
148
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
149
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerFooter, isStandalone: true, selector: "[hlmDrawerFooter],hlm-drawer-footer", host: { attributes: { "data-slot": "drawer-footer" } }, ngImport: i0 }); }
150
150
  }
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerFooter, decorators: [{
151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerFooter, decorators: [{
152
152
  type: Directive,
153
153
  args: [{
154
154
  selector: '[hlmDrawerFooter],hlm-drawer-footer',
@@ -160,10 +160,10 @@ class HlmDrawerHeader {
160
160
  constructor() {
161
161
  classes(() => 'gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start flex flex-col');
162
162
  }
163
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
164
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerHeader, isStandalone: true, selector: "[hlmDrawerHeader],hlm-drawer-header", host: { attributes: { "data-slot": "drawer-header" } }, ngImport: i0 }); }
163
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
164
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerHeader, isStandalone: true, selector: "[hlmDrawerHeader],hlm-drawer-header", host: { attributes: { "data-slot": "drawer-header" } }, ngImport: i0 }); }
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerHeader, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerHeader, decorators: [{
167
167
  type: Directive,
168
168
  args: [{
169
169
  selector: '[hlmDrawerHeader],hlm-drawer-header',
@@ -172,10 +172,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
172
172
  }], ctorParameters: () => [] });
173
173
 
174
174
  class HlmDrawerPortal {
175
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
176
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerPortal, isStandalone: true, selector: "[hlmDrawerPortal]", hostDirectives: [{ directive: i1.BrnDrawerContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
175
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
176
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerPortal, isStandalone: true, selector: "[hlmDrawerPortal]", hostDirectives: [{ directive: i1.BrnDrawerContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
177
177
  }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerPortal, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerPortal, decorators: [{
179
179
  type: Directive,
180
180
  args: [{
181
181
  selector: '[hlmDrawerPortal]',
@@ -187,10 +187,10 @@ class HlmDrawerTitle {
187
187
  constructor() {
188
188
  classes(() => 'text-foreground text-base font-medium');
189
189
  }
190
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
191
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerTitle, isStandalone: true, selector: "[hlmDrawerTitle]", host: { attributes: { "data-slot": "drawer-title" } }, hostDirectives: [{ directive: i1.BrnDrawerTitle }], ngImport: i0 }); }
190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
191
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerTitle, isStandalone: true, selector: "[hlmDrawerTitle]", host: { attributes: { "data-slot": "drawer-title" } }, hostDirectives: [{ directive: i1.BrnDrawerTitle }], ngImport: i0 }); }
192
192
  }
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerTitle, decorators: [{
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerTitle, decorators: [{
194
194
  type: Directive,
195
195
  args: [{
196
196
  selector: '[hlmDrawerTitle]',
@@ -200,10 +200,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
200
200
  }], ctorParameters: () => [] });
201
201
 
202
202
  class HlmDrawerTrigger {
203
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
204
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmDrawerTrigger, isStandalone: true, selector: "button[hlmDrawerTrigger]", host: { attributes: { "data-slot": "drawer-trigger" } }, hostDirectives: [{ directive: i1.BrnDrawerTrigger, inputs: ["id", "id", "direction", "direction", "type", "type"] }], ngImport: i0 }); }
203
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
204
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmDrawerTrigger, isStandalone: true, selector: "button[hlmDrawerTrigger]", host: { attributes: { "data-slot": "drawer-trigger" } }, hostDirectives: [{ directive: i1.BrnDrawerTrigger, inputs: ["id", "id", "direction", "direction", "type", "type"] }], ngImport: i0 }); }
205
205
  }
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmDrawerTrigger, decorators: [{
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmDrawerTrigger, decorators: [{
207
207
  type: Directive,
208
208
  args: [{
209
209
  selector: 'button[hlmDrawerTrigger]',
@@ -1 +1 @@
1
- {"version":3,"file":"yukit-web-helm-drawer.mjs","sources":["../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-overlay.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-close.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-content.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-description.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-footer.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-header.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-portal.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-title.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-trigger.ts","../../../projects/yukit-web/helm/drawer/src/index.ts","../../../projects/yukit-web/helm/drawer/src/yukit-web-helm-drawer.ts"],"sourcesContent":["import { Directive, computed, effect, input, untracked } from '@angular/core';\nimport { injectCustomClassSettable } from '@spartan-ng/brain/core';\nimport { BrnDrawerOverlay } from '@spartan-ng/brain/drawer';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\n\n@Directive({\n\tselector: '[hlmDrawerOverlay],hlm-drawer-overlay',\n\thostDirectives: [BrnDrawerOverlay],\n})\nexport class HlmDrawerOverlay {\n\tprivate readonly _classSettable = injectCustomClassSettable({ optional: true, host: true });\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\tprotected readonly _computedClass = computed(() =>\n\t\thlm(\n\t\t\t'data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0',\n\t\t\tthis.userClass(),\n\t\t),\n\t);\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tconst classValue = this._computedClass();\n\t\t\tuntracked(() => this._classSettable?.setClassToCustomElement(classValue));\n\t\t});\n\t}\n}\n","import { ChangeDetectionStrategy, Component, forwardRef } from '@angular/core';\nimport { BrnDialog, provideBrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';\nimport { BrnDrawer } from '@spartan-ng/brain/drawer';\nimport { HlmDrawerOverlay } from './hlm-drawer-overlay';\n\n@Component({\n\tselector: 'hlm-drawer',\n\texportAs: 'hlmDrawer',\n\timports: [HlmDrawerOverlay],\n\tproviders: [\n\t\t{\n\t\t\tprovide: BrnDialog,\n\t\t\tuseExisting: forwardRef(() => HlmDrawer),\n\t\t},\n\t\t{\n\t\t\tprovide: BrnDrawer,\n\t\t\tuseExisting: forwardRef(() => HlmDrawer),\n\t\t},\n\t\tprovideBrnDialogDefaultOptions({\n\t\t\t// add custom options here\n\t\t}),\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<hlm-drawer-overlay />\n\t\t<ng-content />\n\t`,\n})\nexport class HlmDrawer extends BrnDrawer {}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerClose } from '@spartan-ng/brain/drawer';\n\n@Directive({\n\tselector: 'button[hlmDrawerClose]',\n\thostDirectives: [BrnDrawerClose],\n\thost: { 'data-slot': 'drawer-close' },\n})\nexport class HlmDrawerClose {}\n","import { ChangeDetectionStrategy, Component, signal } from '@angular/core';\nimport { injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/brain/core';\nimport { BrnDrawerHandle } from '@spartan-ng/brain/drawer';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-drawer-content',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thostDirectives: [{ directive: BrnDrawerHandle, inputs: ['closeThreshold'] }],\n\thost: {\n\t\t'data-slot': 'drawer-content',\n\t\t'[attr.data-vaul-drawer-direction]': '_sideProvider.side()',\n\t\t'[attr.data-state]': 'state()',\n\t},\n\ttemplate: `\n\t\t<div class=\"bg-muted mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block\"></div>\n\t\t<ng-content />\n\t`,\n})\nexport class HlmDrawerContent {\n\tprivate readonly _stateProvider = injectExposesStateProvider({ host: true });\n\tprotected readonly _sideProvider = injectExposedSideProvider({ host: true });\n\tpublic readonly state = this._stateProvider.state ?? signal('closed');\n\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'bg-background fixed z-50 flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm',\n\t\t\t'group/drawer-content',\n\t\t\t'data-open:animate-in data-closed:animate-out',\n\t\t\t'data-[vaul-drawer-direction=bottom]:data-closed:slide-out-to-bottom data-[vaul-drawer-direction=bottom]:data-open:slide-in-from-bottom',\n\t\t\t'data-[vaul-drawer-direction=top]:data-closed:slide-out-to-top data-[vaul-drawer-direction=top]:data-open:slide-in-from-top',\n\t\t\t'data-[vaul-drawer-direction=left]:data-closed:slide-out-to-left data-[vaul-drawer-direction=left]:data-open:slide-in-from-left',\n\t\t\t'data-[vaul-drawer-direction=right]:data-closed:slide-out-to-right data-[vaul-drawer-direction=right]:data-open:slide-in-from-right',\n\t\t]);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerDescription } from '@spartan-ng/brain/drawer';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerDescription]',\n\thostDirectives: [BrnDrawerDescription],\n\thost: { 'data-slot': 'drawer-description' },\n})\nexport class HlmDrawerDescription {\n\tconstructor() {\n\t\tclasses(() => 'text-muted-foreground text-sm');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerFooter],hlm-drawer-footer',\n\thost: { 'data-slot': 'drawer-footer' },\n})\nexport class HlmDrawerFooter {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 p-4 mt-auto flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerHeader],hlm-drawer-header',\n\thost: { 'data-slot': 'drawer-header' },\n})\nexport class HlmDrawerHeader {\n\tconstructor() {\n\t\tclasses(() => 'gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerContent } from '@spartan-ng/brain/drawer';\n\n@Directive({\n\tselector: '[hlmDrawerPortal]',\n\thostDirectives: [{ directive: BrnDrawerContent, inputs: ['context', 'class'] }],\n})\nexport class HlmDrawerPortal {}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerTitle } from '@spartan-ng/brain/drawer';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerTitle]',\n\thostDirectives: [BrnDrawerTitle],\n\thost: { 'data-slot': 'drawer-title' },\n})\nexport class HlmDrawerTitle {\n\tconstructor() {\n\t\tclasses(() => 'text-foreground text-base font-medium');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerTrigger } from '@spartan-ng/brain/drawer';\n\n@Directive({\n\tselector: 'button[hlmDrawerTrigger]',\n\thostDirectives: [{ directive: BrnDrawerTrigger, inputs: ['id', 'direction', 'type'] }],\n\thost: { 'data-slot': 'drawer-trigger' },\n})\nexport class HlmDrawerTrigger {}\n","import { HlmDrawer } from './lib/hlm-drawer';\nimport { HlmDrawerClose } from './lib/hlm-drawer-close';\nimport { HlmDrawerContent } from './lib/hlm-drawer-content';\nimport { HlmDrawerDescription } from './lib/hlm-drawer-description';\nimport { HlmDrawerFooter } from './lib/hlm-drawer-footer';\nimport { HlmDrawerHeader } from './lib/hlm-drawer-header';\nimport { HlmDrawerOverlay } from './lib/hlm-drawer-overlay';\nimport { HlmDrawerPortal } from './lib/hlm-drawer-portal';\nimport { HlmDrawerTitle } from './lib/hlm-drawer-title';\nimport { HlmDrawerTrigger } from './lib/hlm-drawer-trigger';\n\nexport * from './lib/hlm-drawer';\nexport * from './lib/hlm-drawer-close';\nexport * from './lib/hlm-drawer-content';\nexport * from './lib/hlm-drawer-description';\nexport * from './lib/hlm-drawer-footer';\nexport * from './lib/hlm-drawer-header';\nexport * from './lib/hlm-drawer-overlay';\nexport * from './lib/hlm-drawer-portal';\nexport * from './lib/hlm-drawer-title';\nexport * from './lib/hlm-drawer-trigger';\n\nexport const HlmDrawerImports = [\n\tHlmDrawer,\n\tHlmDrawerClose,\n\tHlmDrawerContent,\n\tHlmDrawerDescription,\n\tHlmDrawerFooter,\n\tHlmDrawerHeader,\n\tHlmDrawerOverlay,\n\tHlmDrawerPortal,\n\tHlmDrawerTitle,\n\tHlmDrawerTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAUa,gBAAgB,CAAA;AAU5B,IAAA,WAAA,GAAA;AATiB,QAAA,IAAA,CAAA,cAAc,GAAG,yBAAyB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC3E,IAAA,CAAA,SAAS,GAAG,KAAK,CAAa,EAAE,iFAAI,KAAK,EAAE,OAAO,EAAA,CAAG;AAClD,QAAA,IAAA,CAAA,cAAc,GAAG,QAAQ,CAAC,MAC5C,GAAG,CACF,yOAAyO,EACzO,IAAI,CAAC,SAAS,EAAE,CAChB,qFACD;QAGA,MAAM,CAAC,MAAK;AACX,YAAA,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE;AACxC,YAAA,SAAS,CAAC,MAAM,IAAI,CAAC,cAAc,EAAE,uBAAuB,CAAC,UAAU,CAAC,CAAC;AAC1E,QAAA,CAAC,CAAC;IACH;8GAfY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uCAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CA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EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,WAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,cAAc,EAAE,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,CAAC;AACtF,oBAAA,IAAI,EAAE,EAAE,WAAW,EAAE,gBAAgB,EAAE;AACvC,iBAAA;;;ACeM,MAAM,gBAAgB,GAAG;IAC/B,SAAS;IACT,cAAc;IACd,gBAAgB;IAChB,oBAAoB;IACpB,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,gBAAgB;;;AChCjB;;AAEG;;;;"}
1
+ {"version":3,"file":"yukit-web-helm-drawer.mjs","sources":["../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-overlay.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-close.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-content.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-description.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-footer.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-header.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-portal.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-title.ts","../../../projects/yukit-web/helm/drawer/src/lib/hlm-drawer-trigger.ts","../../../projects/yukit-web/helm/drawer/src/index.ts","../../../projects/yukit-web/helm/drawer/src/yukit-web-helm-drawer.ts"],"sourcesContent":["import { Directive, computed, effect, input, untracked } from '@angular/core';\nimport { injectCustomClassSettable } from '@spartan-ng/brain/core';\nimport { BrnDrawerOverlay } from '@spartan-ng/brain/drawer';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\n\n@Directive({\n\tselector: '[hlmDrawerOverlay],hlm-drawer-overlay',\n\thostDirectives: [BrnDrawerOverlay],\n})\nexport class HlmDrawerOverlay {\n\tprivate readonly _classSettable = injectCustomClassSettable({ optional: true, host: true });\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\tprotected readonly _computedClass = computed(() =>\n\t\thlm(\n\t\t\t'data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0',\n\t\t\tthis.userClass(),\n\t\t),\n\t);\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tconst classValue = this._computedClass();\n\t\t\tuntracked(() => this._classSettable?.setClassToCustomElement(classValue));\n\t\t});\n\t}\n}\n","import { ChangeDetectionStrategy, Component, forwardRef } from '@angular/core';\nimport { BrnDialog, provideBrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';\nimport { BrnDrawer } from '@spartan-ng/brain/drawer';\nimport { HlmDrawerOverlay } from './hlm-drawer-overlay';\n\n@Component({\n\tselector: 'hlm-drawer',\n\texportAs: 'hlmDrawer',\n\timports: [HlmDrawerOverlay],\n\tproviders: [\n\t\t{\n\t\t\tprovide: BrnDialog,\n\t\t\tuseExisting: forwardRef(() => HlmDrawer),\n\t\t},\n\t\t{\n\t\t\tprovide: BrnDrawer,\n\t\t\tuseExisting: forwardRef(() => HlmDrawer),\n\t\t},\n\t\tprovideBrnDialogDefaultOptions({\n\t\t\t// add custom options here\n\t\t}),\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<hlm-drawer-overlay />\n\t\t<ng-content />\n\t`,\n})\nexport class HlmDrawer extends BrnDrawer {}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerClose } from '@spartan-ng/brain/drawer';\n\n@Directive({\n\tselector: 'button[hlmDrawerClose]',\n\thostDirectives: [BrnDrawerClose],\n\thost: { 'data-slot': 'drawer-close' },\n})\nexport class HlmDrawerClose {}\n","import { ChangeDetectionStrategy, Component, signal } from '@angular/core';\nimport { injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/brain/core';\nimport { BrnDrawerHandle } from '@spartan-ng/brain/drawer';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-drawer-content',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thostDirectives: [{ directive: BrnDrawerHandle, inputs: ['closeThreshold'] }],\n\thost: {\n\t\t'data-slot': 'drawer-content',\n\t\t'[attr.data-vaul-drawer-direction]': '_sideProvider.side()',\n\t\t'[attr.data-state]': 'state()',\n\t},\n\ttemplate: `\n\t\t<div class=\"bg-muted mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block\"></div>\n\t\t<ng-content />\n\t`,\n})\nexport class HlmDrawerContent {\n\tprivate readonly _stateProvider = injectExposesStateProvider({ host: true });\n\tprotected readonly _sideProvider = injectExposedSideProvider({ host: true });\n\tpublic readonly state = this._stateProvider.state ?? signal('closed');\n\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'bg-background fixed z-50 flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm',\n\t\t\t'group/drawer-content',\n\t\t\t'data-open:animate-in data-closed:animate-out',\n\t\t\t'data-[vaul-drawer-direction=bottom]:data-closed:slide-out-to-bottom data-[vaul-drawer-direction=bottom]:data-open:slide-in-from-bottom',\n\t\t\t'data-[vaul-drawer-direction=top]:data-closed:slide-out-to-top data-[vaul-drawer-direction=top]:data-open:slide-in-from-top',\n\t\t\t'data-[vaul-drawer-direction=left]:data-closed:slide-out-to-left data-[vaul-drawer-direction=left]:data-open:slide-in-from-left',\n\t\t\t'data-[vaul-drawer-direction=right]:data-closed:slide-out-to-right data-[vaul-drawer-direction=right]:data-open:slide-in-from-right',\n\t\t]);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerDescription } from '@spartan-ng/brain/drawer';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerDescription]',\n\thostDirectives: [BrnDrawerDescription],\n\thost: { 'data-slot': 'drawer-description' },\n})\nexport class HlmDrawerDescription {\n\tconstructor() {\n\t\tclasses(() => 'text-muted-foreground text-sm');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerFooter],hlm-drawer-footer',\n\thost: { 'data-slot': 'drawer-footer' },\n})\nexport class HlmDrawerFooter {\n\tconstructor() {\n\t\tclasses(() => 'gap-2 p-4 mt-auto flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerHeader],hlm-drawer-header',\n\thost: { 'data-slot': 'drawer-header' },\n})\nexport class HlmDrawerHeader {\n\tconstructor() {\n\t\tclasses(() => 'gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start flex flex-col');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerContent } from '@spartan-ng/brain/drawer';\n\n@Directive({\n\tselector: '[hlmDrawerPortal]',\n\thostDirectives: [{ directive: BrnDrawerContent, inputs: ['context', 'class'] }],\n})\nexport class HlmDrawerPortal {}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerTitle } from '@spartan-ng/brain/drawer';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmDrawerTitle]',\n\thostDirectives: [BrnDrawerTitle],\n\thost: { 'data-slot': 'drawer-title' },\n})\nexport class HlmDrawerTitle {\n\tconstructor() {\n\t\tclasses(() => 'text-foreground text-base font-medium');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnDrawerTrigger } from '@spartan-ng/brain/drawer';\n\n@Directive({\n\tselector: 'button[hlmDrawerTrigger]',\n\thostDirectives: [{ directive: BrnDrawerTrigger, inputs: ['id', 'direction', 'type'] }],\n\thost: { 'data-slot': 'drawer-trigger' },\n})\nexport class HlmDrawerTrigger {}\n","import { HlmDrawer } from './lib/hlm-drawer';\nimport { HlmDrawerClose } from './lib/hlm-drawer-close';\nimport { HlmDrawerContent } from './lib/hlm-drawer-content';\nimport { HlmDrawerDescription } from './lib/hlm-drawer-description';\nimport { HlmDrawerFooter } from './lib/hlm-drawer-footer';\nimport { HlmDrawerHeader } from './lib/hlm-drawer-header';\nimport { HlmDrawerOverlay } from './lib/hlm-drawer-overlay';\nimport { HlmDrawerPortal } from './lib/hlm-drawer-portal';\nimport { HlmDrawerTitle } from './lib/hlm-drawer-title';\nimport { HlmDrawerTrigger } from './lib/hlm-drawer-trigger';\n\nexport * from './lib/hlm-drawer';\nexport * from './lib/hlm-drawer-close';\nexport * from './lib/hlm-drawer-content';\nexport * from './lib/hlm-drawer-description';\nexport * from './lib/hlm-drawer-footer';\nexport * from './lib/hlm-drawer-header';\nexport * from './lib/hlm-drawer-overlay';\nexport * from './lib/hlm-drawer-portal';\nexport * from './lib/hlm-drawer-title';\nexport * from './lib/hlm-drawer-trigger';\n\nexport const HlmDrawerImports = [\n\tHlmDrawer,\n\tHlmDrawerClose,\n\tHlmDrawerContent,\n\tHlmDrawerDescription,\n\tHlmDrawerFooter,\n\tHlmDrawerHeader,\n\tHlmDrawerOverlay,\n\tHlmDrawerPortal,\n\tHlmDrawerTitle,\n\tHlmDrawerTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAUa,gBAAgB,CAAA;AAU5B,IAAA,WAAA,GAAA;AATiB,QAAA,IAAA,CAAA,cAAc,GAAG,yBAAyB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC3E,IAAA,CAAA,SAAS,GAAG,KAAK,CAAa,EAAE,iFAAI,KAAK,EAAE,OAAO,EAAA,CAAG;AAClD,QAAA,IAAA,CAAA,cAAc,GAAG,QAAQ,CAAC,MAC5C,GAAG,CACF,yOAAyO,EACzO,IAAI,CAAC,SAAS,EAAE,CAChB,qFACD;QAGA,MAAM,CAAC,MAAK;AACX,YAAA,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE;AACxC,YAAA,SAAS,CAAC,MAAM,IAAI,CAAC,cAAc,EAAE,uBAAuB,CAAC,UAAU,CAAC,CAAC;AAC1E,QAA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