yukit-web 0.10.6 → 0.10.8

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 (193) 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 +24592 -9669
  126. package/fesm2022/yukit-web.mjs.map +1 -1
  127. package/package.json +9 -9
  128. package/src/lib/theme/components/button.css +14 -0
  129. package/src/lib/theme/spartan-overwrites/sonner.css +2 -2
  130. package/src/lib/theme/tokens/component-colors.css +6 -2
  131. package/types/yukit-web-chart.d.ts +184 -125
  132. package/types/yukit-web-helm-accordion.d.ts +49 -28
  133. package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
  134. package/types/yukit-web-helm-alert.d.ts +30 -32
  135. package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
  136. package/types/yukit-web-helm-attachment.d.ts +97 -69
  137. package/types/yukit-web-helm-autocomplete.d.ts +205 -79
  138. package/types/yukit-web-helm-avatar.d.ts +44 -39
  139. package/types/yukit-web-helm-badge.d.ts +18 -17
  140. package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
  141. package/types/yukit-web-helm-bubble.d.ts +54 -40
  142. package/types/yukit-web-helm-button-group.d.ts +29 -22
  143. package/types/yukit-web-helm-button.d.ts +41 -31
  144. package/types/yukit-web-helm-calendar.d.ts +157 -85
  145. package/types/yukit-web-helm-card.d.ts +38 -42
  146. package/types/yukit-web-helm-carousel.d.ts +105 -73
  147. package/types/yukit-web-helm-checkbox.d.ts +117 -58
  148. package/types/yukit-web-helm-collapsible.d.ts +34 -19
  149. package/types/yukit-web-helm-combobox.d.ts +355 -150
  150. package/types/yukit-web-helm-command.d.ts +140 -73
  151. package/types/yukit-web-helm-context-menu.d.ts +48 -27
  152. package/types/yukit-web-helm-date-picker.d.ts +852 -556
  153. package/types/yukit-web-helm-dialog.d.ts +106 -78
  154. package/types/yukit-web-helm-drawer.d.ts +90 -61
  155. package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
  156. package/types/yukit-web-helm-empty.d.ts +38 -42
  157. package/types/yukit-web-helm-field.d.ts +122 -91
  158. package/types/yukit-web-helm-hover-card.d.ts +39 -27
  159. package/types/yukit-web-helm-input-group.d.ts +63 -41
  160. package/types/yukit-web-helm-input-otp.d.ts +38 -35
  161. package/types/yukit-web-helm-input.d.ts +19 -12
  162. package/types/yukit-web-helm-item.d.ts +90 -82
  163. package/types/yukit-web-helm-kbd.d.ts +10 -15
  164. package/types/yukit-web-helm-label.d.ts +14 -11
  165. package/types/yukit-web-helm-marker.d.ts +26 -27
  166. package/types/yukit-web-helm-menubar.d.ts +61 -32
  167. package/types/yukit-web-helm-message.d.ts +34 -38
  168. package/types/yukit-web-helm-native-select.d.ts +102 -61
  169. package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
  170. package/types/yukit-web-helm-pagination.d.ts +344 -166
  171. package/types/yukit-web-helm-popover.d.ts +62 -42
  172. package/types/yukit-web-helm-progress.d.ts +27 -20
  173. package/types/yukit-web-helm-radio-group.d.ts +121 -63
  174. package/types/yukit-web-helm-resizable.d.ts +46 -24
  175. package/types/yukit-web-helm-scroll-area.d.ts +6 -10
  176. package/types/yukit-web-helm-select.d.ts +231 -114
  177. package/types/yukit-web-helm-separator.d.ts +15 -12
  178. package/types/yukit-web-helm-sheet.d.ts +94 -65
  179. package/types/yukit-web-helm-sidebar.d.ts +322 -232
  180. package/types/yukit-web-helm-skeleton.d.ts +6 -10
  181. package/types/yukit-web-helm-slider.d.ts +33 -13
  182. package/types/yukit-web-helm-sonner.d.ts +112 -51
  183. package/types/yukit-web-helm-spinner.d.ts +24 -17
  184. package/types/yukit-web-helm-switch.d.ts +89 -51
  185. package/types/yukit-web-helm-table.d.ts +38 -42
  186. package/types/yukit-web-helm-tabs.d.ts +116 -60
  187. package/types/yukit-web-helm-textarea.d.ts +19 -12
  188. package/types/yukit-web-helm-toggle-group.d.ts +81 -32
  189. package/types/yukit-web-helm-toggle.d.ts +39 -21
  190. package/types/yukit-web-helm-tooltip.d.ts +21 -16
  191. package/types/yukit-web-helm-typography.d.ts +62 -77
  192. package/types/yukit-web-helm-utils.d.ts +8 -11
  193. package/types/yukit-web.d.ts +5125 -2357
@@ -1,56 +1,158 @@
1
- import * as i0 from '@angular/core';
2
- import { Directive, input, linkedSignal, booleanAttribute, computed, output, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1 from '@spartan-ng/brain/command';
4
- import { BrnCommand, BrnCommandEmpty, BrnCommandGroup, BrnCommandInput, BrnCommandItem, BrnCommandList, BrnCommandSeparator } from '@spartan-ng/brain/command';
5
- import { classes, hlm } from 'yukit-web/helm/utils';
6
- import * as i1$1 from 'yukit-web/helm/dialog';
7
- import { HlmDialogImports } from 'yukit-web/helm/dialog';
8
- import { NgIcon, provideIcons } from '@ng-icons/core';
9
- import { lucideSearch } from '@ng-icons/lucide';
10
- import * as i1$2 from 'yukit-web/helm/input-group';
11
- import { HlmInputGroupImports } from 'yukit-web/helm/input-group';
12
-
13
- class HlmCommand {
14
- constructor() {
15
- classes(() => 'bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden');
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommand, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommand, isStandalone: true, selector: "[hlmCommand],hlm-command", host: { attributes: { "data-slot": "command" } }, hostDirectives: [{ directive: i1.BrnCommand, inputs: ["id", "id", "filter", "filter", "search", "search", "disabled", "disabled"], outputs: ["valueChange", "valueChange", "searchChange", "searchChange"] }], ngImport: i0 }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommand, decorators: [{
21
- type: Directive,
22
- args: [{
23
- selector: '[hlmCommand],hlm-command',
24
- hostDirectives: [
25
- {
26
- directive: BrnCommand,
27
- inputs: ['id', 'filter', 'search', 'disabled'],
28
- outputs: ['valueChange', 'searchChange'],
29
- },
30
- ],
31
- host: {
32
- 'data-slot': 'command',
33
- },
34
- }]
35
- }], ctorParameters: () => [] });
36
-
37
- class HlmCommandDialog {
38
- constructor() {
39
- this.title = input('Command Palette', ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
40
- this.description = input('Search for a command to run...', ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
41
- this.state = input('closed', ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
42
- this._state = linkedSignal(this.state, ...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
43
- this.showCloseButton = input(false, { ...(ngDevMode ? { debugName: "showCloseButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
44
- this.dialogContentClass = input('', ...(ngDevMode ? [{ debugName: "dialogContentClass" }] : /* istanbul ignore next */ []));
45
- this._computedDialogContentClass = computed(() => hlm('w-96 p-0', this.dialogContentClass()), ...(ngDevMode ? [{ debugName: "_computedDialogContentClass" }] : /* istanbul ignore next */ []));
46
- this.stateChange = output();
47
- }
48
- stateChanged(state) {
49
- this.stateChange.emit(state);
50
- this._state.set(state);
51
- }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandDialog, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: HlmCommandDialog, isStandalone: true, selector: "hlm-command-dialog", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, showCloseButton: { classPropertyName: "showCloseButton", publicName: "showCloseButton", isSignal: true, isRequired: false, transformFunction: null }, dialogContentClass: { classPropertyName: "dialogContentClass", publicName: "dialogContentClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange" }, ngImport: i0, template: `
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, booleanAttribute, computed, input, linkedSignal, output } from "@angular/core";
3
+ import * as i1$2 from "@spartan-ng/brain/command";
4
+ import { BrnCommand, BrnCommandEmpty, BrnCommandGroup, BrnCommandInput, BrnCommandItem, BrnCommandList, BrnCommandSeparator } from "@spartan-ng/brain/command";
5
+ import { classes, hlm } from "yukit-web/helm/utils";
6
+ import * as i1$1 from "yukit-web/helm/dialog";
7
+ import { HlmDialogImports } from "yukit-web/helm/dialog";
8
+ import { NgIcon, provideIcons } from "@ng-icons/core";
9
+ import { lucideSearch } from "@ng-icons/lucide";
10
+ import * as i1 from "yukit-web/helm/input-group";
11
+ import { HlmInputGroupImports } from "yukit-web/helm/input-group";
12
+ var HlmCommand = class HlmCommand {
13
+ constructor() {
14
+ classes(() => "bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden");
15
+ }
16
+ static {
17
+ this.ɵfac = i0.ɵɵngDeclareFactory({
18
+ minVersion: "12.0.0",
19
+ version: "22.2.4",
20
+ ngImport: i0,
21
+ type: HlmCommand,
22
+ deps: [],
23
+ target: i0.ɵɵFactoryTarget.Directive
24
+ });
25
+ }
26
+ static {
27
+ this.ɵdir = i0.ɵɵngDeclareDirective({
28
+ minVersion: "14.0.0",
29
+ version: "22.2.4",
30
+ type: HlmCommand,
31
+ isStandalone: true,
32
+ selector: "[hlmCommand],hlm-command",
33
+ host: { attributes: { "data-slot": "command" } },
34
+ hostDirectives: [{
35
+ directive: i1$2.BrnCommand,
36
+ inputs: [
37
+ "id",
38
+ "id",
39
+ "filter",
40
+ "filter",
41
+ "search",
42
+ "search",
43
+ "disabled",
44
+ "disabled"
45
+ ],
46
+ outputs: [
47
+ "valueChange",
48
+ "valueChange",
49
+ "searchChange",
50
+ "searchChange"
51
+ ]
52
+ }],
53
+ ngImport: i0
54
+ });
55
+ }
56
+ };
57
+ i0.ɵɵngDeclareClassMetadata({
58
+ minVersion: "12.0.0",
59
+ version: "22.2.4",
60
+ ngImport: i0,
61
+ type: HlmCommand,
62
+ decorators: [{
63
+ type: Directive,
64
+ args: [{
65
+ selector: "[hlmCommand],hlm-command",
66
+ hostDirectives: [{
67
+ directive: BrnCommand,
68
+ inputs: [
69
+ "id",
70
+ "filter",
71
+ "search",
72
+ "disabled"
73
+ ],
74
+ outputs: ["valueChange", "searchChange"]
75
+ }],
76
+ host: { "data-slot": "command" }
77
+ }]
78
+ }],
79
+ ctorParameters: () => []
80
+ });
81
+ var HlmCommandDialog = class HlmCommandDialog {
82
+ constructor() {
83
+ this.title = input("Command Palette", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
84
+ this.description = input("Search for a command to run...", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
85
+ this.state = input("closed", ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
86
+ this._state = linkedSignal(this.state, ...ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []);
87
+ this.showCloseButton = input(false, {
88
+ ...ngDevMode ? { debugName: "showCloseButton" } : /* istanbul ignore next */ {},
89
+ transform: booleanAttribute
90
+ });
91
+ this.dialogContentClass = input("", ...ngDevMode ? [{ debugName: "dialogContentClass" }] : /* istanbul ignore next */ []);
92
+ this._computedDialogContentClass = computed(() => hlm("w-96 p-0", this.dialogContentClass()), ...ngDevMode ? [{ debugName: "_computedDialogContentClass" }] : /* istanbul ignore next */ []);
93
+ this.stateChange = output();
94
+ }
95
+ stateChanged(state) {
96
+ this.stateChange.emit(state);
97
+ this._state.set(state);
98
+ }
99
+ static {
100
+ this.ɵfac = i0.ɵɵngDeclareFactory({
101
+ minVersion: "12.0.0",
102
+ version: "22.2.4",
103
+ ngImport: i0,
104
+ type: HlmCommandDialog,
105
+ deps: [],
106
+ target: i0.ɵɵFactoryTarget.Component
107
+ });
108
+ }
109
+ static {
110
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
111
+ minVersion: "17.1.0",
112
+ version: "22.2.4",
113
+ type: HlmCommandDialog,
114
+ isStandalone: true,
115
+ selector: "hlm-command-dialog",
116
+ inputs: {
117
+ title: {
118
+ classPropertyName: "title",
119
+ publicName: "title",
120
+ isSignal: true,
121
+ isRequired: false,
122
+ transformFunction: null
123
+ },
124
+ description: {
125
+ classPropertyName: "description",
126
+ publicName: "description",
127
+ isSignal: true,
128
+ isRequired: false,
129
+ transformFunction: null
130
+ },
131
+ state: {
132
+ classPropertyName: "state",
133
+ publicName: "state",
134
+ isSignal: true,
135
+ isRequired: false,
136
+ transformFunction: null
137
+ },
138
+ showCloseButton: {
139
+ classPropertyName: "showCloseButton",
140
+ publicName: "showCloseButton",
141
+ isSignal: true,
142
+ isRequired: false,
143
+ transformFunction: null
144
+ },
145
+ dialogContentClass: {
146
+ classPropertyName: "dialogContentClass",
147
+ publicName: "dialogContentClass",
148
+ isSignal: true,
149
+ isRequired: false,
150
+ transformFunction: null
151
+ }
152
+ },
153
+ outputs: { stateChange: "stateChange" },
154
+ ngImport: i0,
155
+ template: `
54
156
  <hlm-dialog [state]="_state()" (stateChanged)="stateChanged($event)">
55
157
  <hlm-dialog-content
56
158
  *hlmDialogPortal="let ctx"
@@ -64,15 +166,58 @@ class HlmCommandDialog {
64
166
  <ng-content />
65
167
  </hlm-dialog-content>
66
168
  </hlm-dialog>
67
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.HlmDialog, selector: "hlm-dialog", exportAs: ["hlmDialog"] }, { kind: "component", type: i1$1.HlmDialogContent, selector: "hlm-dialog-content", inputs: ["showCloseButton"] }, { kind: "directive", type: i1$1.HlmDialogDescription, selector: "[hlmDialogDescription]" }, { kind: "directive", type: i1$1.HlmDialogHeader, selector: "[hlmDialogHeader],hlm-dialog-header" }, { kind: "directive", type: i1$1.HlmDialogPortal, selector: "[hlmDialogPortal]" }, { kind: "directive", type: i1$1.HlmDialogTitle, selector: "[hlmDialogTitle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
68
- }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandDialog, decorators: [{
70
- type: Component,
71
- args: [{
72
- selector: 'hlm-command-dialog',
73
- imports: [HlmDialogImports],
74
- changeDetection: ChangeDetectionStrategy.OnPush,
75
- template: `
169
+ `,
170
+ isInline: true,
171
+ dependencies: [
172
+ {
173
+ kind: "component",
174
+ type: i1$1.HlmDialog,
175
+ selector: "hlm-dialog",
176
+ exportAs: ["hlmDialog"]
177
+ },
178
+ {
179
+ kind: "component",
180
+ type: i1$1.HlmDialogContent,
181
+ selector: "hlm-dialog-content",
182
+ inputs: ["showCloseButton"]
183
+ },
184
+ {
185
+ kind: "directive",
186
+ type: i1$1.HlmDialogDescription,
187
+ selector: "[hlmDialogDescription]"
188
+ },
189
+ {
190
+ kind: "directive",
191
+ type: i1$1.HlmDialogHeader,
192
+ selector: "[hlmDialogHeader],hlm-dialog-header"
193
+ },
194
+ {
195
+ kind: "directive",
196
+ type: i1$1.HlmDialogPortal,
197
+ selector: "[hlmDialogPortal]"
198
+ },
199
+ {
200
+ kind: "directive",
201
+ type: i1$1.HlmDialogTitle,
202
+ selector: "[hlmDialogTitle]"
203
+ }
204
+ ],
205
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
206
+ });
207
+ }
208
+ };
209
+ i0.ɵɵngDeclareClassMetadata({
210
+ minVersion: "12.0.0",
211
+ version: "22.2.4",
212
+ ngImport: i0,
213
+ type: HlmCommandDialog,
214
+ decorators: [{
215
+ type: Component,
216
+ args: [{
217
+ selector: "hlm-command-dialog",
218
+ imports: [HlmDialogImports],
219
+ changeDetection: ChangeDetectionStrategy.OnPush,
220
+ template: `
76
221
  <hlm-dialog [state]="_state()" (stateChanged)="stateChanged($event)">
77
222
  <hlm-dialog-content
78
223
  *hlmDialogPortal="let ctx"
@@ -86,88 +231,269 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
86
231
  <ng-content />
87
232
  </hlm-dialog-content>
88
233
  </hlm-dialog>
89
- `,
90
- }]
91
- }], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }], showCloseButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCloseButton", required: false }] }], dialogContentClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "dialogContentClass", required: false }] }], stateChange: [{ type: i0.Output, args: ["stateChange"] }] } });
92
-
93
- class HlmCommandEmpty {
94
- constructor() {
95
- classes(() => 'py-6 text-center text-sm');
96
- }
97
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
98
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandEmpty, isStandalone: true, selector: "[hlmCommandEmpty]", host: { attributes: { "data-slot": "command-empty" } }, ngImport: i0 }); }
99
- }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandEmpty, decorators: [{
101
- type: Directive,
102
- args: [{
103
- selector: '[hlmCommandEmpty]',
104
- host: {
105
- 'data-slot': 'command-empty',
106
- },
107
- }]
108
- }], ctorParameters: () => [] });
109
-
110
- class HlmCommandEmptyState {
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandEmptyState, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
112
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandEmptyState, isStandalone: true, selector: "[hlmCommandEmptyState]", hostDirectives: [{ directive: i1.BrnCommandEmpty }], ngImport: i0 }); }
113
- }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandEmptyState, decorators: [{
115
- type: Directive,
116
- args: [{
117
- selector: '[hlmCommandEmptyState]',
118
- hostDirectives: [BrnCommandEmpty],
119
- }]
120
- }] });
121
-
122
- class HlmCommandGroup {
123
- constructor() {
124
- classes(() => 'text-foreground **:data-[slot=command-group-label]:text-muted-foreground overflow-hidden p-1 **:data-[slot=command-group-label]:px-2 **:data-[slot=command-group-label]:py-1.5 **:data-[slot=command-group-label]:text-xs **:data-[slot=command-group-label]:font-medium block data-hidden:hidden');
125
- }
126
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
127
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandGroup, isStandalone: true, selector: "[hlmCommandGroup],hlm-command-group", host: { attributes: { "data-slot": "command-group" } }, hostDirectives: [{ directive: i1.BrnCommandGroup, inputs: ["id", "id"] }], ngImport: i0 }); }
128
- }
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandGroup, decorators: [{
130
- type: Directive,
131
- args: [{
132
- selector: '[hlmCommandGroup],hlm-command-group',
133
- hostDirectives: [
134
- {
135
- directive: BrnCommandGroup,
136
- inputs: ['id'],
137
- },
138
- ],
139
- host: {
140
- 'data-slot': 'command-group',
141
- },
142
- }]
143
- }], ctorParameters: () => [] });
144
-
145
- class HlmCommandGroupLabel {
146
- constructor() {
147
- classes(() => 'inline-block');
148
- }
149
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandGroupLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
150
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandGroupLabel, isStandalone: true, selector: "[hlmCommandGroupLabel],hlm-command-group-label", host: { attributes: { "data-slot": "command-group-label", "role": "presentation" } }, ngImport: i0 }); }
151
- }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandGroupLabel, decorators: [{
153
- type: Directive,
154
- args: [{
155
- selector: '[hlmCommandGroupLabel],hlm-command-group-label',
156
- host: {
157
- 'data-slot': 'command-group-label',
158
- role: 'presentation',
159
- },
160
- }]
161
- }], ctorParameters: () => [] });
162
-
163
- class HlmCommandInput {
164
- constructor() {
165
- this.inputId = input(...(ngDevMode ? [undefined, { debugName: "inputId" }] : /* istanbul ignore next */ []));
166
- this.placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
167
- classes(() => 'p-1 pb-0');
168
- }
169
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
170
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: HlmCommandInput, isStandalone: true, selector: "hlm-command-input", inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "command-input-wrapper" } }, providers: [provideIcons({ lucideSearch })], ngImport: i0, template: `
234
+ `
235
+ }]
236
+ }],
237
+ propDecorators: {
238
+ title: [{
239
+ type: i0.Input,
240
+ args: [{
241
+ isSignal: true,
242
+ alias: "title",
243
+ required: false
244
+ }]
245
+ }],
246
+ description: [{
247
+ type: i0.Input,
248
+ args: [{
249
+ isSignal: true,
250
+ alias: "description",
251
+ required: false
252
+ }]
253
+ }],
254
+ state: [{
255
+ type: i0.Input,
256
+ args: [{
257
+ isSignal: true,
258
+ alias: "state",
259
+ required: false
260
+ }]
261
+ }],
262
+ showCloseButton: [{
263
+ type: i0.Input,
264
+ args: [{
265
+ isSignal: true,
266
+ alias: "showCloseButton",
267
+ required: false
268
+ }]
269
+ }],
270
+ dialogContentClass: [{
271
+ type: i0.Input,
272
+ args: [{
273
+ isSignal: true,
274
+ alias: "dialogContentClass",
275
+ required: false
276
+ }]
277
+ }],
278
+ stateChange: [{
279
+ type: i0.Output,
280
+ args: ["stateChange"]
281
+ }]
282
+ }
283
+ });
284
+ var HlmCommandEmpty = class HlmCommandEmpty {
285
+ constructor() {
286
+ classes(() => "py-6 text-center text-sm");
287
+ }
288
+ static {
289
+ this.ɵfac = i0.ɵɵngDeclareFactory({
290
+ minVersion: "12.0.0",
291
+ version: "22.2.4",
292
+ ngImport: i0,
293
+ type: HlmCommandEmpty,
294
+ deps: [],
295
+ target: i0.ɵɵFactoryTarget.Directive
296
+ });
297
+ }
298
+ static {
299
+ this.ɵdir = i0.ɵɵngDeclareDirective({
300
+ minVersion: "14.0.0",
301
+ version: "22.2.4",
302
+ type: HlmCommandEmpty,
303
+ isStandalone: true,
304
+ selector: "[hlmCommandEmpty]",
305
+ host: { attributes: { "data-slot": "command-empty" } },
306
+ ngImport: i0
307
+ });
308
+ }
309
+ };
310
+ i0.ɵɵngDeclareClassMetadata({
311
+ minVersion: "12.0.0",
312
+ version: "22.2.4",
313
+ ngImport: i0,
314
+ type: HlmCommandEmpty,
315
+ decorators: [{
316
+ type: Directive,
317
+ args: [{
318
+ selector: "[hlmCommandEmpty]",
319
+ host: { "data-slot": "command-empty" }
320
+ }]
321
+ }],
322
+ ctorParameters: () => []
323
+ });
324
+ var HlmCommandEmptyState = class HlmCommandEmptyState {
325
+ static {
326
+ this.ɵfac = i0.ɵɵngDeclareFactory({
327
+ minVersion: "12.0.0",
328
+ version: "22.2.4",
329
+ ngImport: i0,
330
+ type: HlmCommandEmptyState,
331
+ deps: [],
332
+ target: i0.ɵɵFactoryTarget.Directive
333
+ });
334
+ }
335
+ static {
336
+ this.ɵdir = i0.ɵɵngDeclareDirective({
337
+ minVersion: "14.0.0",
338
+ version: "22.2.4",
339
+ type: HlmCommandEmptyState,
340
+ isStandalone: true,
341
+ selector: "[hlmCommandEmptyState]",
342
+ hostDirectives: [{ directive: i1$2.BrnCommandEmpty }],
343
+ ngImport: i0
344
+ });
345
+ }
346
+ };
347
+ i0.ɵɵngDeclareClassMetadata({
348
+ minVersion: "12.0.0",
349
+ version: "22.2.4",
350
+ ngImport: i0,
351
+ type: HlmCommandEmptyState,
352
+ decorators: [{
353
+ type: Directive,
354
+ args: [{
355
+ selector: "[hlmCommandEmptyState]",
356
+ hostDirectives: [BrnCommandEmpty]
357
+ }]
358
+ }]
359
+ });
360
+ var HlmCommandGroup = class HlmCommandGroup {
361
+ constructor() {
362
+ classes(() => "text-foreground **:data-[slot=command-group-label]:text-muted-foreground overflow-hidden p-1 **:data-[slot=command-group-label]:px-2 **:data-[slot=command-group-label]:py-1.5 **:data-[slot=command-group-label]:text-xs **:data-[slot=command-group-label]:font-medium block data-hidden:hidden");
363
+ }
364
+ static {
365
+ this.ɵfac = i0.ɵɵngDeclareFactory({
366
+ minVersion: "12.0.0",
367
+ version: "22.2.4",
368
+ ngImport: i0,
369
+ type: HlmCommandGroup,
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: HlmCommandGroup,
379
+ isStandalone: true,
380
+ selector: "[hlmCommandGroup],hlm-command-group",
381
+ host: { attributes: { "data-slot": "command-group" } },
382
+ hostDirectives: [{
383
+ directive: i1$2.BrnCommandGroup,
384
+ inputs: ["id", "id"]
385
+ }],
386
+ ngImport: i0
387
+ });
388
+ }
389
+ };
390
+ i0.ɵɵngDeclareClassMetadata({
391
+ minVersion: "12.0.0",
392
+ version: "22.2.4",
393
+ ngImport: i0,
394
+ type: HlmCommandGroup,
395
+ decorators: [{
396
+ type: Directive,
397
+ args: [{
398
+ selector: "[hlmCommandGroup],hlm-command-group",
399
+ hostDirectives: [{
400
+ directive: BrnCommandGroup,
401
+ inputs: ["id"]
402
+ }],
403
+ host: { "data-slot": "command-group" }
404
+ }]
405
+ }],
406
+ ctorParameters: () => []
407
+ });
408
+ var HlmCommandGroupLabel = class HlmCommandGroupLabel {
409
+ constructor() {
410
+ classes(() => "inline-block");
411
+ }
412
+ static {
413
+ this.ɵfac = i0.ɵɵngDeclareFactory({
414
+ minVersion: "12.0.0",
415
+ version: "22.2.4",
416
+ ngImport: i0,
417
+ type: HlmCommandGroupLabel,
418
+ deps: [],
419
+ target: i0.ɵɵFactoryTarget.Directive
420
+ });
421
+ }
422
+ static {
423
+ this.ɵdir = i0.ɵɵngDeclareDirective({
424
+ minVersion: "14.0.0",
425
+ version: "22.2.4",
426
+ type: HlmCommandGroupLabel,
427
+ isStandalone: true,
428
+ selector: "[hlmCommandGroupLabel],hlm-command-group-label",
429
+ host: { attributes: {
430
+ "data-slot": "command-group-label",
431
+ "role": "presentation"
432
+ } },
433
+ ngImport: i0
434
+ });
435
+ }
436
+ };
437
+ i0.ɵɵngDeclareClassMetadata({
438
+ minVersion: "12.0.0",
439
+ version: "22.2.4",
440
+ ngImport: i0,
441
+ type: HlmCommandGroupLabel,
442
+ decorators: [{
443
+ type: Directive,
444
+ args: [{
445
+ selector: "[hlmCommandGroupLabel],hlm-command-group-label",
446
+ host: {
447
+ "data-slot": "command-group-label",
448
+ role: "presentation"
449
+ }
450
+ }]
451
+ }],
452
+ ctorParameters: () => []
453
+ });
454
+ var HlmCommandInput = class HlmCommandInput {
455
+ constructor() {
456
+ this.inputId = input(...ngDevMode ? [void 0, { debugName: "inputId" }] : /* istanbul ignore next */ []);
457
+ this.placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
458
+ classes(() => "p-1 pb-0");
459
+ }
460
+ static {
461
+ this.ɵfac = i0.ɵɵngDeclareFactory({
462
+ minVersion: "12.0.0",
463
+ version: "22.2.4",
464
+ ngImport: i0,
465
+ type: HlmCommandInput,
466
+ deps: [],
467
+ target: i0.ɵɵFactoryTarget.Component
468
+ });
469
+ }
470
+ static {
471
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
472
+ minVersion: "17.1.0",
473
+ version: "22.2.4",
474
+ type: HlmCommandInput,
475
+ isStandalone: true,
476
+ selector: "hlm-command-input",
477
+ inputs: {
478
+ inputId: {
479
+ classPropertyName: "inputId",
480
+ publicName: "inputId",
481
+ isSignal: true,
482
+ isRequired: false,
483
+ transformFunction: null
484
+ },
485
+ placeholder: {
486
+ classPropertyName: "placeholder",
487
+ publicName: "placeholder",
488
+ isSignal: true,
489
+ isRequired: false,
490
+ transformFunction: null
491
+ }
492
+ },
493
+ host: { attributes: { "data-slot": "command-input-wrapper" } },
494
+ providers: [provideIcons({ lucideSearch })],
495
+ ngImport: i0,
496
+ template: `
171
497
  <hlm-input-group class="bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!">
172
498
  <input
173
499
  brnCommandInput
@@ -181,19 +507,61 @@ class HlmCommandInput {
181
507
  <ng-icon name="lucideSearch" class="shrink-0 text-[length:--spacing(4)] opacity-50" />
182
508
  </hlm-input-group-addon>
183
509
  </hlm-input-group>
184
- `, isInline: true, dependencies: [{ kind: "directive", type: i1$2.HlmInputGroup, selector: "[hlmInputGroup],hlm-input-group" }, { kind: "directive", type: i1$2.HlmInputGroupAddon, selector: "[hlmInputGroupAddon],hlm-input-group-addon", inputs: ["align"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "directive", type: BrnCommandInput, selector: "input[brnCommandInput]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
185
- }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandInput, decorators: [{
187
- type: Component,
188
- args: [{
189
- selector: 'hlm-command-input',
190
- imports: [HlmInputGroupImports, NgIcon, BrnCommandInput],
191
- providers: [provideIcons({ lucideSearch })],
192
- changeDetection: ChangeDetectionStrategy.OnPush,
193
- host: {
194
- 'data-slot': 'command-input-wrapper',
195
- },
196
- template: `
510
+ `,
511
+ isInline: true,
512
+ dependencies: [
513
+ {
514
+ kind: "directive",
515
+ type: i1.HlmInputGroup,
516
+ selector: "[hlmInputGroup],hlm-input-group"
517
+ },
518
+ {
519
+ kind: "directive",
520
+ type: i1.HlmInputGroupAddon,
521
+ selector: "[hlmInputGroupAddon],hlm-input-group-addon",
522
+ inputs: ["align"]
523
+ },
524
+ {
525
+ kind: "component",
526
+ type: NgIcon,
527
+ selector: "ng-icon",
528
+ inputs: [
529
+ "name",
530
+ "svg",
531
+ "size",
532
+ "strokeWidth",
533
+ "color"
534
+ ]
535
+ },
536
+ {
537
+ kind: "directive",
538
+ type: BrnCommandInput,
539
+ selector: "input[brnCommandInput]",
540
+ inputs: ["id"]
541
+ }
542
+ ],
543
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
544
+ });
545
+ }
546
+ };
547
+ i0.ɵɵngDeclareClassMetadata({
548
+ minVersion: "12.0.0",
549
+ version: "22.2.4",
550
+ ngImport: i0,
551
+ type: HlmCommandInput,
552
+ decorators: [{
553
+ type: Component,
554
+ args: [{
555
+ selector: "hlm-command-input",
556
+ imports: [
557
+ HlmInputGroupImports,
558
+ NgIcon,
559
+ BrnCommandInput
560
+ ],
561
+ providers: [provideIcons({ lucideSearch })],
562
+ changeDetection: ChangeDetectionStrategy.OnPush,
563
+ host: { "data-slot": "command-input-wrapper" },
564
+ template: `
197
565
  <hlm-input-group class="bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!">
198
566
  <input
199
567
  brnCommandInput
@@ -207,109 +575,233 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
207
575
  <ng-icon name="lucideSearch" class="shrink-0 text-[length:--spacing(4)] opacity-50" />
208
576
  </hlm-input-group-addon>
209
577
  </hlm-input-group>
210
- `,
211
- }]
212
- }], ctorParameters: () => [], propDecorators: { inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }] } });
213
-
214
- class HlmCommandItem {
215
- constructor() {
216
- classes(() => "data-selected:bg-muted data-selected:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] group/command-item w-full data-disabled:pointer-events-none data-disabled:opacity-50 data-hidden:hidden [&>ng-icon]:pointer-events-none [&>ng-icon]:shrink-0");
217
- }
218
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
219
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandItem, isStandalone: true, selector: "button[hlmCommandItem],button[hlm-command-item]", host: { attributes: { "data-slot": "command-item" } }, hostDirectives: [{ directive: i1.BrnCommandItem, inputs: ["value", "value", "disabled", "disabled", "id", "id"], outputs: ["selected", "selected"] }], ngImport: i0 }); }
220
- }
221
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandItem, decorators: [{
222
- type: Directive,
223
- args: [{
224
- selector: 'button[hlmCommandItem],button[hlm-command-item]',
225
- hostDirectives: [
226
- {
227
- directive: BrnCommandItem,
228
- inputs: ['value', 'disabled', 'id'],
229
- outputs: ['selected'],
230
- },
231
- ],
232
- host: {
233
- 'data-slot': 'command-item',
234
- },
235
- }]
236
- }], ctorParameters: () => [] });
237
-
238
- class HlmCommandList {
239
- constructor() {
240
- classes(() => 'no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto');
241
- }
242
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandList, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
243
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandList, isStandalone: true, selector: "[hlmCommandList],hlm-command-list", host: { attributes: { "data-slot": "command-list" } }, hostDirectives: [{ directive: i1.BrnCommandList, inputs: ["id", "id"] }], ngImport: i0 }); }
244
- }
245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandList, decorators: [{
246
- type: Directive,
247
- args: [{
248
- selector: '[hlmCommandList],hlm-command-list',
249
- hostDirectives: [
250
- {
251
- directive: BrnCommandList,
252
- inputs: ['id'],
253
- },
254
- ],
255
- host: {
256
- 'data-slot': 'command-list',
257
- },
258
- }]
259
- }], ctorParameters: () => [] });
260
-
261
- class HlmCommandSeparator {
262
- constructor() {
263
- classes(() => 'bg-border -mx-1 h-px block data-hidden:hidden');
264
- }
265
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
266
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandSeparator, isStandalone: true, selector: "[hlmCommandSeparator],hlm-command-separator", host: { attributes: { "data-slot": "command-separator" } }, hostDirectives: [{ directive: i1.BrnCommandSeparator }], ngImport: i0 }); }
267
- }
268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandSeparator, decorators: [{
269
- type: Directive,
270
- args: [{
271
- selector: '[hlmCommandSeparator],hlm-command-separator',
272
- hostDirectives: [BrnCommandSeparator],
273
- host: {
274
- 'data-slot': 'command-separator',
275
- },
276
- }]
277
- }], ctorParameters: () => [] });
278
-
279
- class HlmCommandShortcut {
280
- constructor() {
281
- classes(() => 'text-muted-foreground group-data-[selected]/command-item:text-foreground ms-auto text-xs tracking-widest');
282
- }
283
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandShortcut, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
284
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmCommandShortcut, isStandalone: true, selector: "[hlmCommandShortcut],hlm-command-shortcut", host: { attributes: { "data-slot": "command-shortcut" } }, ngImport: i0 }); }
285
- }
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmCommandShortcut, decorators: [{
287
- type: Directive,
288
- args: [{
289
- selector: '[hlmCommandShortcut],hlm-command-shortcut',
290
- host: {
291
- 'data-slot': 'command-shortcut',
292
- },
293
- }]
294
- }], ctorParameters: () => [] });
295
-
578
+ `
579
+ }]
580
+ }],
581
+ ctorParameters: () => [],
582
+ propDecorators: {
583
+ inputId: [{
584
+ type: i0.Input,
585
+ args: [{
586
+ isSignal: true,
587
+ alias: "inputId",
588
+ required: false
589
+ }]
590
+ }],
591
+ placeholder: [{
592
+ type: i0.Input,
593
+ args: [{
594
+ isSignal: true,
595
+ alias: "placeholder",
596
+ required: false
597
+ }]
598
+ }]
599
+ }
600
+ });
601
+ var HlmCommandItem = class HlmCommandItem {
602
+ constructor() {
603
+ classes(() => "data-selected:bg-muted data-selected:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] group/command-item w-full data-disabled:pointer-events-none data-disabled:opacity-50 data-hidden:hidden [&>ng-icon]:pointer-events-none [&>ng-icon]:shrink-0");
604
+ }
605
+ static {
606
+ this.ɵfac = i0.ɵɵngDeclareFactory({
607
+ minVersion: "12.0.0",
608
+ version: "22.2.4",
609
+ ngImport: i0,
610
+ type: HlmCommandItem,
611
+ deps: [],
612
+ target: i0.ɵɵFactoryTarget.Directive
613
+ });
614
+ }
615
+ static {
616
+ this.ɵdir = i0.ɵɵngDeclareDirective({
617
+ minVersion: "14.0.0",
618
+ version: "22.2.4",
619
+ type: HlmCommandItem,
620
+ isStandalone: true,
621
+ selector: "button[hlmCommandItem],button[hlm-command-item]",
622
+ host: { attributes: { "data-slot": "command-item" } },
623
+ hostDirectives: [{
624
+ directive: i1$2.BrnCommandItem,
625
+ inputs: [
626
+ "value",
627
+ "value",
628
+ "disabled",
629
+ "disabled",
630
+ "id",
631
+ "id"
632
+ ],
633
+ outputs: ["selected", "selected"]
634
+ }],
635
+ ngImport: i0
636
+ });
637
+ }
638
+ };
639
+ i0.ɵɵngDeclareClassMetadata({
640
+ minVersion: "12.0.0",
641
+ version: "22.2.4",
642
+ ngImport: i0,
643
+ type: HlmCommandItem,
644
+ decorators: [{
645
+ type: Directive,
646
+ args: [{
647
+ selector: "button[hlmCommandItem],button[hlm-command-item]",
648
+ hostDirectives: [{
649
+ directive: BrnCommandItem,
650
+ inputs: [
651
+ "value",
652
+ "disabled",
653
+ "id"
654
+ ],
655
+ outputs: ["selected"]
656
+ }],
657
+ host: { "data-slot": "command-item" }
658
+ }]
659
+ }],
660
+ ctorParameters: () => []
661
+ });
662
+ var HlmCommandList = class HlmCommandList {
663
+ constructor() {
664
+ classes(() => "no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto");
665
+ }
666
+ static {
667
+ this.ɵfac = i0.ɵɵngDeclareFactory({
668
+ minVersion: "12.0.0",
669
+ version: "22.2.4",
670
+ ngImport: i0,
671
+ type: HlmCommandList,
672
+ deps: [],
673
+ target: i0.ɵɵFactoryTarget.Directive
674
+ });
675
+ }
676
+ static {
677
+ this.ɵdir = i0.ɵɵngDeclareDirective({
678
+ minVersion: "14.0.0",
679
+ version: "22.2.4",
680
+ type: HlmCommandList,
681
+ isStandalone: true,
682
+ selector: "[hlmCommandList],hlm-command-list",
683
+ host: { attributes: { "data-slot": "command-list" } },
684
+ hostDirectives: [{
685
+ directive: i1$2.BrnCommandList,
686
+ inputs: ["id", "id"]
687
+ }],
688
+ ngImport: i0
689
+ });
690
+ }
691
+ };
692
+ i0.ɵɵngDeclareClassMetadata({
693
+ minVersion: "12.0.0",
694
+ version: "22.2.4",
695
+ ngImport: i0,
696
+ type: HlmCommandList,
697
+ decorators: [{
698
+ type: Directive,
699
+ args: [{
700
+ selector: "[hlmCommandList],hlm-command-list",
701
+ hostDirectives: [{
702
+ directive: BrnCommandList,
703
+ inputs: ["id"]
704
+ }],
705
+ host: { "data-slot": "command-list" }
706
+ }]
707
+ }],
708
+ ctorParameters: () => []
709
+ });
710
+ var HlmCommandSeparator = class HlmCommandSeparator {
711
+ constructor() {
712
+ classes(() => "bg-border -mx-1 h-px block data-hidden:hidden");
713
+ }
714
+ static {
715
+ this.ɵfac = i0.ɵɵngDeclareFactory({
716
+ minVersion: "12.0.0",
717
+ version: "22.2.4",
718
+ ngImport: i0,
719
+ type: HlmCommandSeparator,
720
+ deps: [],
721
+ target: i0.ɵɵFactoryTarget.Directive
722
+ });
723
+ }
724
+ static {
725
+ this.ɵdir = i0.ɵɵngDeclareDirective({
726
+ minVersion: "14.0.0",
727
+ version: "22.2.4",
728
+ type: HlmCommandSeparator,
729
+ isStandalone: true,
730
+ selector: "[hlmCommandSeparator],hlm-command-separator",
731
+ host: { attributes: { "data-slot": "command-separator" } },
732
+ hostDirectives: [{ directive: i1$2.BrnCommandSeparator }],
733
+ ngImport: i0
734
+ });
735
+ }
736
+ };
737
+ i0.ɵɵngDeclareClassMetadata({
738
+ minVersion: "12.0.0",
739
+ version: "22.2.4",
740
+ ngImport: i0,
741
+ type: HlmCommandSeparator,
742
+ decorators: [{
743
+ type: Directive,
744
+ args: [{
745
+ selector: "[hlmCommandSeparator],hlm-command-separator",
746
+ hostDirectives: [BrnCommandSeparator],
747
+ host: { "data-slot": "command-separator" }
748
+ }]
749
+ }],
750
+ ctorParameters: () => []
751
+ });
752
+ var HlmCommandShortcut = class HlmCommandShortcut {
753
+ constructor() {
754
+ classes(() => "text-muted-foreground group-data-[selected]/command-item:text-foreground ms-auto text-xs tracking-widest");
755
+ }
756
+ static {
757
+ this.ɵfac = i0.ɵɵngDeclareFactory({
758
+ minVersion: "12.0.0",
759
+ version: "22.2.4",
760
+ ngImport: i0,
761
+ type: HlmCommandShortcut,
762
+ deps: [],
763
+ target: i0.ɵɵFactoryTarget.Directive
764
+ });
765
+ }
766
+ static {
767
+ this.ɵdir = i0.ɵɵngDeclareDirective({
768
+ minVersion: "14.0.0",
769
+ version: "22.2.4",
770
+ type: HlmCommandShortcut,
771
+ isStandalone: true,
772
+ selector: "[hlmCommandShortcut],hlm-command-shortcut",
773
+ host: { attributes: { "data-slot": "command-shortcut" } },
774
+ ngImport: i0
775
+ });
776
+ }
777
+ };
778
+ i0.ɵɵngDeclareClassMetadata({
779
+ minVersion: "12.0.0",
780
+ version: "22.2.4",
781
+ ngImport: i0,
782
+ type: HlmCommandShortcut,
783
+ decorators: [{
784
+ type: Directive,
785
+ args: [{
786
+ selector: "[hlmCommandShortcut],hlm-command-shortcut",
787
+ host: { "data-slot": "command-shortcut" }
788
+ }]
789
+ }],
790
+ ctorParameters: () => []
791
+ });
296
792
  const HlmCommandImports = [
297
- HlmCommand,
298
- HlmCommandDialog,
299
- HlmCommandEmpty,
300
- HlmCommandEmptyState,
301
- HlmCommandGroup,
302
- HlmCommandGroupLabel,
303
- HlmCommandInput,
304
- HlmCommandItem,
305
- HlmCommandList,
306
- HlmCommandSeparator,
307
- HlmCommandShortcut,
793
+ HlmCommand,
794
+ HlmCommandDialog,
795
+ HlmCommandEmpty,
796
+ HlmCommandEmptyState,
797
+ HlmCommandGroup,
798
+ HlmCommandGroupLabel,
799
+ HlmCommandInput,
800
+ HlmCommandItem,
801
+ HlmCommandList,
802
+ HlmCommandSeparator,
803
+ HlmCommandShortcut
308
804
  ];
309
-
310
- /**
311
- * Generated bundle index. Do not edit.
312
- */
313
-
314
805
  export { HlmCommand, HlmCommandDialog, HlmCommandEmpty, HlmCommandEmptyState, HlmCommandGroup, HlmCommandGroupLabel, HlmCommandImports, HlmCommandInput, HlmCommandItem, HlmCommandList, HlmCommandSeparator, HlmCommandShortcut };
315
- //# sourceMappingURL=yukit-web-helm-command.mjs.map
806
+
807
+ //# sourceMappingURL=yukit-web-helm-command.mjs.map