@egose/shadcn-theme-ng 0.0.27 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/README.md +130 -13
  2. package/accordion/README.md +3 -0
  3. package/accordion/fesm2022/accordion.mjs +148 -0
  4. package/accordion/package.json +25 -0
  5. package/accordion/types/accordion.d.ts +49 -0
  6. package/alert/README.md +2 -63
  7. package/alert/fesm2022/alert.mjs +58 -53
  8. package/alert/package.json +25 -0
  9. package/alert-dialog/README.md +11 -0
  10. package/alert-dialog/fesm2022/alert-dialog.mjs +287 -0
  11. package/alert-dialog/package.json +25 -0
  12. package/alert-dialog/types/alert-dialog.d.ts +90 -0
  13. package/aspect-ratio/README.md +11 -0
  14. package/aspect-ratio/fesm2022/aspect-ratio.mjs +62 -0
  15. package/aspect-ratio/package.json +25 -0
  16. package/aspect-ratio/types/aspect-ratio.d.ts +21 -0
  17. package/autocomplete/README.md +3 -0
  18. package/autocomplete/fesm2022/autocomplete.mjs +391 -0
  19. package/autocomplete/package.json +24 -0
  20. package/autocomplete/types/autocomplete.d.ts +96 -0
  21. package/avatar/README.md +11 -0
  22. package/avatar/fesm2022/avatar.mjs +178 -0
  23. package/avatar/package.json +25 -0
  24. package/avatar/types/avatar.d.ts +50 -0
  25. package/badge/README.md +2 -63
  26. package/badge/fesm2022/badge.mjs +69 -63
  27. package/badge/package.json +25 -0
  28. package/basic-alert/README.md +2 -63
  29. package/basic-alert/fesm2022/basic-alert.mjs +14 -22
  30. package/basic-alert/package.json +24 -0
  31. package/breadcrumb/README.md +11 -0
  32. package/breadcrumb/fesm2022/breadcrumb.mjs +218 -0
  33. package/breadcrumb/package.json +25 -0
  34. package/breadcrumb/types/breadcrumb.d.ts +57 -0
  35. package/button/README.md +2 -63
  36. package/button/fesm2022/button.mjs +201 -177
  37. package/button/package.json +25 -0
  38. package/button/{index.d.ts → types/button.d.ts} +31 -10
  39. package/button-group/README.md +11 -0
  40. package/button-group/fesm2022/button-group.mjs +102 -0
  41. package/button-group/package.json +25 -0
  42. package/button-group/types/button-group.d.ts +30 -0
  43. package/calendar/README.md +2 -63
  44. package/calendar/fesm2022/calendar.mjs +178 -570
  45. package/calendar/package.json +24 -0
  46. package/calendar/types/calendar.d.ts +94 -0
  47. package/card/README.md +11 -0
  48. package/card/fesm2022/card.mjs +169 -0
  49. package/card/package.json +25 -0
  50. package/card/types/card.d.ts +54 -0
  51. package/carousel/README.md +11 -0
  52. package/carousel/fesm2022/carousel.mjs +267 -0
  53. package/carousel/package.json +25 -0
  54. package/carousel/types/carousel.d.ts +84 -0
  55. package/checkbox/README.md +3 -0
  56. package/checkbox/fesm2022/checkbox.mjs +113 -0
  57. package/checkbox/package.json +24 -0
  58. package/checkbox/types/checkbox.d.ts +56 -0
  59. package/collapsible/README.md +11 -0
  60. package/collapsible/fesm2022/collapsible.mjs +77 -0
  61. package/collapsible/package.json +25 -0
  62. package/collapsible/types/collapsible.d.ts +27 -0
  63. package/combobox/README.md +11 -0
  64. package/combobox/fesm2022/combobox.mjs +547 -0
  65. package/combobox/package.json +25 -0
  66. package/combobox/types/combobox.d.ts +151 -0
  67. package/command/README.md +11 -0
  68. package/command/fesm2022/command.mjs +301 -0
  69. package/command/package.json +25 -0
  70. package/command/types/command.d.ts +89 -0
  71. package/confirmation-dialog/README.md +3 -0
  72. package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +79 -0
  73. package/confirmation-dialog/package.json +24 -0
  74. package/confirmation-dialog/types/confirmation-dialog.d.ts +28 -0
  75. package/context-menu/README.md +11 -0
  76. package/context-menu/fesm2022/context-menu.mjs +89 -0
  77. package/context-menu/package.json +25 -0
  78. package/context-menu/types/context-menu.d.ts +34 -0
  79. package/date-picker/README.md +2 -63
  80. package/date-picker/fesm2022/date-picker.mjs +1104 -352
  81. package/date-picker/package.json +24 -0
  82. package/date-picker/types/date-picker.d.ts +555 -0
  83. package/dialog/README.md +3 -0
  84. package/dialog/fesm2022/dialog.mjs +281 -0
  85. package/dialog/package.json +24 -0
  86. package/dialog/types/dialog.d.ts +95 -0
  87. package/drawer/README.md +11 -0
  88. package/drawer/fesm2022/drawer.mjs +261 -0
  89. package/drawer/package.json +25 -0
  90. package/drawer/types/drawer.d.ts +76 -0
  91. package/dropdown-menu/README.md +11 -0
  92. package/dropdown-menu/fesm2022/dropdown-menu.mjs +554 -0
  93. package/dropdown-menu/package.json +25 -0
  94. package/dropdown-menu/types/dropdown-menu.d.ts +180 -0
  95. package/empty/README.md +11 -0
  96. package/empty/fesm2022/empty.mjs +151 -0
  97. package/empty/package.json +25 -0
  98. package/empty/types/empty.d.ts +54 -0
  99. package/field/README.md +11 -0
  100. package/field/fesm2022/field.mjs +351 -0
  101. package/field/package.json +25 -0
  102. package/field/types/field.d.ts +107 -0
  103. package/form-checkbox/README.md +3 -0
  104. package/form-checkbox/fesm2022/form-checkbox.mjs +94 -0
  105. package/form-checkbox/package.json +24 -0
  106. package/form-checkbox/types/form-checkbox.d.ts +33 -0
  107. package/form-date-picker/README.md +2 -63
  108. package/form-date-picker/fesm2022/form-date-picker.mjs +74 -120
  109. package/form-date-picker/package.json +24 -0
  110. package/form-date-picker/{index.d.ts → types/form-date-picker.d.ts} +7 -1
  111. package/form-field/README.md +2 -63
  112. package/form-field/fesm2022/form-field.mjs +54 -28
  113. package/form-field/package.json +25 -0
  114. package/form-field/types/form-field.d.ts +46 -0
  115. package/form-field-simple/README.md +2 -63
  116. package/form-field-simple/fesm2022/form-field-simple.mjs +15 -10
  117. package/form-field-simple/package.json +24 -0
  118. package/form-searchable-multiselect/README.md +3 -0
  119. package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +98 -0
  120. package/form-searchable-multiselect/package.json +24 -0
  121. package/form-searchable-multiselect/types/form-searchable-multiselect.d.ts +36 -0
  122. package/form-select/README.md +2 -63
  123. package/form-select/fesm2022/form-select.mjs +85 -141
  124. package/form-select/package.json +24 -0
  125. package/form-select/{index.d.ts → types/form-select.d.ts} +7 -1
  126. package/form-text-input/README.md +2 -63
  127. package/form-text-input/fesm2022/form-text-input.mjs +86 -171
  128. package/form-text-input/package.json +24 -0
  129. package/form-text-input/{index.d.ts → types/form-text-input.d.ts} +9 -12
  130. package/form-textarea/README.md +2 -63
  131. package/form-textarea/fesm2022/form-textarea.mjs +77 -128
  132. package/form-textarea/package.json +24 -0
  133. package/form-textarea/{index.d.ts → types/form-textarea.d.ts} +8 -1
  134. package/hover-card/README.md +11 -0
  135. package/hover-card/fesm2022/hover-card.mjs +123 -0
  136. package/hover-card/package.json +25 -0
  137. package/hover-card/types/hover-card.d.ts +36 -0
  138. package/icon/README.md +2 -63
  139. package/icon/fesm2022/icon.mjs +12 -10
  140. package/icon/package.json +25 -0
  141. package/input/README.md +2 -63
  142. package/input/fesm2022/input.mjs +25 -70
  143. package/input/package.json +25 -0
  144. package/input/types/input.d.ts +19 -0
  145. package/input-group/README.md +11 -0
  146. package/input-group/fesm2022/input-group.mjs +199 -0
  147. package/input-group/package.json +25 -0
  148. package/input-group/types/input-group.d.ts +52 -0
  149. package/input-otp/README.md +11 -0
  150. package/input-otp/fesm2022/input-otp.mjs +141 -0
  151. package/input-otp/package.json +25 -0
  152. package/input-otp/types/input-otp.d.ts +43 -0
  153. package/item/README.md +11 -0
  154. package/item/fesm2022/item.mjs +278 -0
  155. package/item/package.json +25 -0
  156. package/item/types/item.d.ts +101 -0
  157. package/kbd/README.md +11 -0
  158. package/kbd/fesm2022/kbd.mjs +61 -0
  159. package/kbd/package.json +25 -0
  160. package/kbd/types/kbd.d.ts +22 -0
  161. package/label/README.md +2 -63
  162. package/label/fesm2022/label.mjs +12 -11
  163. package/label/package.json +25 -0
  164. package/label/{index.d.ts → types/label.d.ts} +1 -1
  165. package/layout-simple/README.md +3 -0
  166. package/layout-simple/fesm2022/layout-simple.mjs +388 -0
  167. package/layout-simple/package.json +24 -0
  168. package/layout-simple/types/layout-simple.d.ts +167 -0
  169. package/menu/README.md +3 -0
  170. package/menu/fesm2022/menu.mjs +455 -0
  171. package/menu/package.json +24 -0
  172. package/menu/types/menu.d.ts +137 -0
  173. package/menubar/README.md +11 -0
  174. package/menubar/fesm2022/menubar.mjs +108 -0
  175. package/menubar/package.json +25 -0
  176. package/menubar/types/menubar.d.ts +40 -0
  177. package/native-select/README.md +11 -0
  178. package/native-select/fesm2022/native-select.mjs +207 -0
  179. package/native-select/package.json +25 -0
  180. package/native-select/types/native-select.d.ts +70 -0
  181. package/navigation-menu/README.md +11 -0
  182. package/navigation-menu/fesm2022/navigation-menu.mjs +194 -0
  183. package/navigation-menu/package.json +25 -0
  184. package/navigation-menu/types/navigation-menu.d.ts +54 -0
  185. package/package.json +284 -63
  186. package/pagination/README.md +11 -0
  187. package/pagination/fesm2022/pagination.mjs +522 -0
  188. package/pagination/package.json +25 -0
  189. package/pagination/types/pagination.d.ts +192 -0
  190. package/popover/README.md +2 -63
  191. package/popover/fesm2022/popover.mjs +124 -30
  192. package/popover/package.json +24 -0
  193. package/popover/types/popover.d.ts +54 -0
  194. package/progress/README.md +11 -0
  195. package/progress/fesm2022/progress.mjs +77 -0
  196. package/progress/package.json +25 -0
  197. package/progress/types/progress.d.ts +27 -0
  198. package/radio-group/README.md +3 -0
  199. package/radio-group/fesm2022/radio-group.mjs +207 -0
  200. package/radio-group/package.json +25 -0
  201. package/radio-group/types/radio-group.d.ts +71 -0
  202. package/resizable/README.md +11 -0
  203. package/resizable/fesm2022/resizable.mjs +103 -0
  204. package/resizable/package.json +25 -0
  205. package/resizable/types/resizable.d.ts +32 -0
  206. package/scroll-area/README.md +11 -0
  207. package/scroll-area/fesm2022/scroll-area.mjs +51 -0
  208. package/scroll-area/package.json +25 -0
  209. package/scroll-area/types/scroll-area.d.ts +16 -0
  210. package/searchable-multiselect/README.md +3 -0
  211. package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +136 -0
  212. package/searchable-multiselect/package.json +24 -0
  213. package/searchable-multiselect/types/searchable-multiselect.d.ts +45 -0
  214. package/select/README.md +2 -63
  215. package/select/fesm2022/select.mjs +340 -198
  216. package/select/package.json +25 -0
  217. package/select/types/select.d.ts +121 -0
  218. package/separator/README.md +2 -63
  219. package/separator/fesm2022/separator.mjs +17 -15
  220. package/separator/package.json +24 -0
  221. package/separator/{index.d.ts → types/separator.d.ts} +4 -5
  222. package/sheet/README.md +2 -63
  223. package/sheet/fesm2022/sheet.mjs +56 -61
  224. package/sheet/package.json +24 -0
  225. package/sidebar/README.md +11 -0
  226. package/sidebar/fesm2022/sidebar.mjs +846 -0
  227. package/sidebar/package.json +25 -0
  228. package/sidebar/types/sidebar.d.ts +237 -0
  229. package/skeleton/README.md +11 -0
  230. package/skeleton/fesm2022/skeleton.mjs +44 -0
  231. package/skeleton/package.json +25 -0
  232. package/skeleton/types/skeleton.d.ts +16 -0
  233. package/slider/README.md +11 -0
  234. package/slider/fesm2022/slider.mjs +74 -0
  235. package/slider/package.json +25 -0
  236. package/slider/types/slider.d.ts +19 -0
  237. package/sonner/README.md +2 -63
  238. package/sonner/fesm2022/sonner.mjs +34 -39
  239. package/sonner/package.json +25 -0
  240. package/spinner/README.md +2 -63
  241. package/spinner/fesm2022/spinner.mjs +20 -16
  242. package/spinner/package.json +25 -0
  243. package/switch/README.md +2 -63
  244. package/switch/fesm2022/switch.mjs +28 -27
  245. package/switch/package.json +25 -0
  246. package/table/README.md +11 -0
  247. package/table/fesm2022/table.mjs +211 -0
  248. package/table/package.json +25 -0
  249. package/table/types/table.d.ts +87 -0
  250. package/tabs/README.md +3 -0
  251. package/tabs/fesm2022/tabs.mjs +210 -0
  252. package/tabs/package.json +25 -0
  253. package/tabs/types/tabs.d.ts +71 -0
  254. package/textarea/README.md +11 -0
  255. package/textarea/fesm2022/textarea.mjs +47 -0
  256. package/textarea/package.json +25 -0
  257. package/textarea/types/textarea.d.ts +18 -0
  258. package/toggle/README.md +11 -0
  259. package/toggle/fesm2022/toggle.mjs +78 -0
  260. package/toggle/package.json +25 -0
  261. package/toggle/types/toggle.d.ts +27 -0
  262. package/toggle-group/README.md +11 -0
  263. package/toggle-group/fesm2022/toggle-group.mjs +117 -0
  264. package/toggle-group/package.json +25 -0
  265. package/toggle-group/types/toggle-group.d.ts +45 -0
  266. package/tooltip/README.md +3 -0
  267. package/tooltip/fesm2022/tooltip.mjs +72 -0
  268. package/tooltip/package.json +25 -0
  269. package/tooltip/types/tooltip.d.ts +22 -0
  270. package/typography/README.md +11 -0
  271. package/typography/fesm2022/typography.mjs +242 -0
  272. package/typography/package.json +25 -0
  273. package/typography/types/typography.d.ts +94 -0
  274. package/utils/README.md +2 -63
  275. package/utils/fesm2022/utils.mjs +209 -2
  276. package/utils/package.json +25 -0
  277. package/utils/types/utils.d.ts +13 -0
  278. package/alert/fesm2022/alert.mjs.map +0 -1
  279. package/badge/fesm2022/badge.mjs.map +0 -1
  280. package/basic-alert/fesm2022/basic-alert.mjs.map +0 -1
  281. package/button/fesm2022/button.mjs.map +0 -1
  282. package/calendar/fesm2022/calendar.mjs.map +0 -1
  283. package/calendar/index.d.ts +0 -111
  284. package/date-picker/fesm2022/date-picker.mjs.map +0 -1
  285. package/date-picker/index.d.ts +0 -227
  286. package/form-date-picker/fesm2022/form-date-picker.mjs.map +0 -1
  287. package/form-field/fesm2022/form-field.mjs.map +0 -1
  288. package/form-field/index.d.ts +0 -37
  289. package/form-field-simple/fesm2022/form-field-simple.mjs.map +0 -1
  290. package/form-select/fesm2022/form-select.mjs.map +0 -1
  291. package/form-text-input/fesm2022/form-text-input.mjs.map +0 -1
  292. package/form-textarea/fesm2022/form-textarea.mjs.map +0 -1
  293. package/icon/fesm2022/icon.mjs.map +0 -1
  294. package/input/fesm2022/input.mjs.map +0 -1
  295. package/input/index.d.ts +0 -41
  296. package/label/fesm2022/label.mjs.map +0 -1
  297. package/popover/fesm2022/popover.mjs.map +0 -1
  298. package/popover/index.d.ts +0 -30
  299. package/select/fesm2022/select.mjs.map +0 -1
  300. package/select/index.d.ts +0 -92
  301. package/separator/fesm2022/separator.mjs.map +0 -1
  302. package/sheet/fesm2022/sheet.mjs.map +0 -1
  303. package/sonner/fesm2022/sonner.mjs.map +0 -1
  304. package/spinner/fesm2022/spinner.mjs.map +0 -1
  305. package/switch/fesm2022/switch.mjs.map +0 -1
  306. package/utils/fesm2022/utils.mjs.map +0 -1
  307. package/utils/index.d.ts +0 -5
  308. /package/alert/{index.d.ts → types/alert.d.ts} +0 -0
  309. /package/badge/{index.d.ts → types/badge.d.ts} +0 -0
  310. /package/basic-alert/{index.d.ts → types/basic-alert.d.ts} +0 -0
  311. /package/form-field-simple/{index.d.ts → types/form-field-simple.d.ts} +0 -0
  312. /package/icon/{index.d.ts → types/icon.d.ts} +0 -0
  313. /package/sheet/{index.d.ts → types/sheet.d.ts} +0 -0
  314. /package/sonner/{index.d.ts → types/sonner.d.ts} +0 -0
  315. /package/spinner/{index.d.ts → types/spinner.d.ts} +0 -0
  316. /package/switch/{index.d.ts → types/switch.d.ts} +0 -0
@@ -0,0 +1,151 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from '@spartan-ng/brain/combobox';
3
+ import * as i2 from '@spartan-ng/brain/popover';
4
+ import { BooleanInput } from '@angular/cdk/coercion';
5
+ import * as i2$1 from '@egose/shadcn-theme-ng/input-group';
6
+ import { ClassValue } from 'clsx';
7
+
8
+ declare class HlmCombobox {
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCombobox, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCombobox, "[hlmCombobox],hlm-combobox", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnCombobox; inputs: { "autoHighlight": "autoHighlight"; "disabled": "disabled"; "filter": "filter"; "search": "search"; "value": "value"; "itemToString": "itemToString"; "filterOptions": "filterOptions"; "isItemEqualToValue": "isItemEqualToValue"; }; outputs: { "searchChange": "searchChange"; "valueChange": "valueChange"; }; }, { directive: typeof i2.BrnPopover; inputs: { "align": "align"; "closeOnOutsidePointerEvents": "closeOnOutsidePointerEvents"; "sideOffset": "sideOffset"; "state": "state"; "offsetX": "offsetX"; }; outputs: { "stateChanged": "stateChanged"; "closed": "closed"; }; }]>;
12
+ }
13
+
14
+ declare class HlmComboboxChip {
15
+ readonly showRemove: i0.InputSignalWithTransform<boolean, BooleanInput>;
16
+ constructor();
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxChip, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmComboboxChip, "hlm-combobox-chip", never, { "showRemove": { "alias": "showRemove"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BrnComboboxChip; inputs: { "value": "value"; }; outputs: {}; }]>;
19
+ }
20
+
21
+ declare class HlmComboboxChipInput {
22
+ constructor();
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxChipInput, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxChipInput, "input[hlmComboboxChipInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxChipInput; inputs: { "id": "id"; "aria-invalid": "aria-invalid"; }; outputs: {}; }]>;
25
+ }
26
+
27
+ declare class HlmComboboxChips {
28
+ private readonly _combobox;
29
+ readonly forceInvalid: i0.InputSignalWithTransform<boolean, BooleanInput>;
30
+ protected readonly _spartanInvalid: i0.Signal<boolean | undefined>;
31
+ constructor();
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxChips, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxChips, "[hlmComboboxChips],hlm-combobox-chips", never, { "forceInvalid": { "alias": "forceInvalid"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnComboboxAnchor; inputs: {}; outputs: {}; }, { directive: typeof i1.BrnComboboxPopoverTrigger; inputs: {}; outputs: {}; }]>;
34
+ }
35
+
36
+ declare class HlmComboboxContent {
37
+ constructor();
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxContent, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxContent, "[hlmComboboxContent],hlm-combobox-content", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxContent; inputs: {}; outputs: {}; }]>;
40
+ }
41
+
42
+ declare class HlmComboboxEmpty {
43
+ constructor();
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxEmpty, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxEmpty, "[hlmComboboxEmpty],hlm-combobox-empty", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxEmpty; inputs: {}; outputs: {}; }]>;
46
+ }
47
+
48
+ declare class HlmComboboxGroup {
49
+ constructor();
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxGroup, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxGroup, "[hlmComboboxGroup]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxGroup; inputs: {}; outputs: {}; }]>;
52
+ }
53
+
54
+ declare class HlmComboboxInput {
55
+ private static _id;
56
+ readonly inputId: i0.InputSignal<string>;
57
+ readonly placeholder: i0.InputSignal<string>;
58
+ readonly showTrigger: i0.InputSignalWithTransform<boolean, BooleanInput>;
59
+ readonly showClear: i0.InputSignalWithTransform<boolean, BooleanInput>;
60
+ readonly forceInvalid: i0.InputSignalWithTransform<boolean, BooleanInput>;
61
+ /** Manual override for aria-invalid. When not set, auto-detects from the parent combobox error state. */
62
+ readonly ariaInvalidOverride: i0.InputSignalWithTransform<boolean | undefined, BooleanInput>;
63
+ constructor();
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxInput, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmComboboxInput, "hlm-combobox-input", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showTrigger": { "alias": "showTrigger"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "forceInvalid": { "alias": "forceInvalid"; "required": false; "isSignal": true; }; "ariaInvalidOverride": { "alias": "aria-invalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BrnComboboxAnchor; inputs: {}; outputs: {}; }, { directive: typeof i2$1.HlmInputGroup; inputs: {}; outputs: {}; }]>;
66
+ }
67
+
68
+ declare class HlmComboboxItem {
69
+ private readonly _brnComboboxItem;
70
+ protected readonly _active: i0.Signal<boolean>;
71
+ constructor();
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxItem, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmComboboxItem, "hlm-combobox-item", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.BrnComboboxItem; inputs: { "id": "id"; "disabled": "disabled"; "value": "value"; }; outputs: {}; }]>;
74
+ }
75
+
76
+ declare class HlmComboboxLabel {
77
+ constructor();
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxLabel, never>;
79
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxLabel, "[hlmComboboxLabel]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxLabel; inputs: { "id": "id"; }; outputs: {}; }]>;
80
+ }
81
+
82
+ declare class HlmComboboxList {
83
+ constructor();
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxList, never>;
85
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxList, "[hlmComboboxList]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxList; inputs: { "id": "id"; }; outputs: {}; }]>;
86
+ }
87
+
88
+ declare class HlmComboboxMultiple {
89
+ constructor();
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxMultiple, never>;
91
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxMultiple, "[hlmComboboxMultiple],hlm-combobox-multiple", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxMultiple; inputs: { "autoHighlight": "autoHighlight"; "disabled": "disabled"; "filter": "filter"; "search": "search"; "value": "value"; "itemToString": "itemToString"; "filterOptions": "filterOptions"; "isItemEqualToValue": "isItemEqualToValue"; }; outputs: { "searchChange": "searchChange"; "valueChange": "valueChange"; }; }, { directive: typeof i2.BrnPopover; inputs: { "align": "align"; "closeOnOutsidePointerEvents": "closeOnOutsidePointerEvents"; "sideOffset": "sideOffset"; "state": "state"; "offsetX": "offsetX"; }; outputs: { "stateChanged": "stateChanged"; "closed": "closed"; }; }]>;
92
+ }
93
+
94
+ declare class HlmComboboxPlaceholder {
95
+ constructor();
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxPlaceholder, never>;
97
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxPlaceholder, "[hlmComboboxPlaceholder],hlm-combobox-placeholder", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxPlaceholder; inputs: {}; outputs: {}; }]>;
98
+ }
99
+
100
+ declare class HlmComboboxPortal {
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxPortal, never>;
102
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxPortal, "[hlmComboboxPortal]", never, {}, {}, never, never, true, [{ directive: typeof i2.BrnPopoverContent; inputs: { "context": "context"; "class": "class"; }; outputs: {}; }]>;
103
+ }
104
+
105
+ declare class HlmComboboxSeparator {
106
+ constructor();
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxSeparator, never>;
108
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxSeparator, "[hlmComboboxSeparator]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxSeparator; inputs: { "orientation": "orientation"; }; outputs: {}; }]>;
109
+ }
110
+
111
+ declare class HlmComboboxStatus {
112
+ constructor();
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxStatus, never>;
114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxStatus, "[hlmComboboxStatus],hlm-combobox-status", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxStatus; inputs: {}; outputs: {}; }]>;
115
+ }
116
+
117
+ declare class HlmComboboxTrigger {
118
+ private static _id;
119
+ readonly userClass: i0.InputSignal<ClassValue>;
120
+ protected readonly _computedClass: i0.Signal<string>;
121
+ readonly buttonId: i0.InputSignal<string>;
122
+ readonly variant: i0.InputSignal<"default" | "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "outline" | "link" | "ghost" | null | undefined>;
123
+ readonly forceInvalid: i0.InputSignalWithTransform<boolean, BooleanInput>;
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxTrigger, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmComboboxTrigger, "hlm-combobox-trigger", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "forceInvalid": { "alias": "forceInvalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
126
+ }
127
+
128
+ declare class HlmComboboxValue {
129
+ constructor();
130
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxValue, never>;
131
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxValue, "[hlmComboboxValue],hlm-combobox-value", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxValue; inputs: { "placeholder": "placeholder"; }; outputs: {}; }]>;
132
+ }
133
+
134
+ declare class HlmComboboxValueTemplate {
135
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxValueTemplate, never>;
136
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxValueTemplate, "[hlmComboboxValueTemplate]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxValueTemplate; inputs: {}; outputs: {}; }]>;
137
+ }
138
+
139
+ declare class HlmComboboxValues {
140
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxValues, never>;
141
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmComboboxValues, "[hlmComboboxValues]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnComboboxValues; inputs: {}; outputs: {}; }]>;
142
+ }
143
+
144
+ declare const HlmComboboxImports: readonly [typeof HlmCombobox, typeof HlmComboboxChip, typeof HlmComboboxChipInput, typeof HlmComboboxChips, typeof HlmComboboxContent, typeof HlmComboboxEmpty, typeof HlmComboboxGroup, typeof HlmComboboxInput, typeof HlmComboboxItem, typeof HlmComboboxLabel, typeof HlmComboboxList, typeof HlmComboboxMultiple, typeof HlmComboboxPlaceholder, typeof HlmComboboxPortal, typeof HlmComboboxSeparator, typeof HlmComboboxStatus, typeof HlmComboboxTrigger, typeof HlmComboboxValue, typeof HlmComboboxValueTemplate, typeof HlmComboboxValues];
145
+ declare class HlmComboboxModule {
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmComboboxModule, never>;
147
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HlmComboboxModule, never, [typeof HlmCombobox, typeof HlmComboboxChip, typeof HlmComboboxChipInput, typeof HlmComboboxChips, typeof HlmComboboxContent, typeof HlmComboboxEmpty, typeof HlmComboboxGroup, typeof HlmComboboxInput, typeof HlmComboboxItem, typeof HlmComboboxLabel, typeof HlmComboboxList, typeof HlmComboboxMultiple, typeof HlmComboboxPlaceholder, typeof HlmComboboxPortal, typeof HlmComboboxSeparator, typeof HlmComboboxStatus, typeof HlmComboboxTrigger, typeof HlmComboboxValue, typeof HlmComboboxValueTemplate, typeof HlmComboboxValues], [typeof HlmCombobox, typeof HlmComboboxChip, typeof HlmComboboxChipInput, typeof HlmComboboxChips, typeof HlmComboboxContent, typeof HlmComboboxEmpty, typeof HlmComboboxGroup, typeof HlmComboboxInput, typeof HlmComboboxItem, typeof HlmComboboxLabel, typeof HlmComboboxList, typeof HlmComboboxMultiple, typeof HlmComboboxPlaceholder, typeof HlmComboboxPortal, typeof HlmComboboxSeparator, typeof HlmComboboxStatus, typeof HlmComboboxTrigger, typeof HlmComboboxValue, typeof HlmComboboxValueTemplate, typeof HlmComboboxValues]>;
148
+ static ɵinj: i0.ɵɵInjectorDeclaration<HlmComboboxModule>;
149
+ }
150
+
151
+ export { HlmCombobox, HlmComboboxChip, HlmComboboxChipInput, HlmComboboxChips, HlmComboboxContent, HlmComboboxEmpty, HlmComboboxGroup, HlmComboboxImports, HlmComboboxInput, HlmComboboxItem, HlmComboboxLabel, HlmComboboxList, HlmComboboxModule, HlmComboboxMultiple, HlmComboboxPlaceholder, HlmComboboxPortal, HlmComboboxSeparator, HlmComboboxStatus, HlmComboboxTrigger, HlmComboboxValue, HlmComboboxValueTemplate, HlmComboboxValues };
@@ -0,0 +1,11 @@
1
+ # Command
2
+
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli).
4
+
5
+ ## Building
6
+
7
+ To build the library, run:
8
+
9
+ ```bash
10
+ ng build command
11
+ ```
@@ -0,0 +1,301 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, input, linkedSignal, booleanAttribute, computed, output, ChangeDetectionStrategy, Component, NgModule } 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 '@egose/shadcn-theme-ng/utils';
6
+ import * as i1$1 from '@egose/shadcn-theme-ng/dialog';
7
+ import { HlmDialogImports } from '@egose/shadcn-theme-ng/dialog';
8
+ import { NgIcon, provideIcons } from '@ng-icons/core';
9
+ import { lucideSearch } from '@ng-icons/lucide';
10
+ import * as i1$2 from '@egose/shadcn-theme-ng/input-group';
11
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/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 ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommand, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", 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: "22.1.3", 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
+ title = input('Command Palette', /* @ts-ignore */
39
+ ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
40
+ description = input('Search for a command to run...', /* @ts-ignore */
41
+ ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
42
+ state = input('closed', /* @ts-ignore */
43
+ ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
44
+ _state = linkedSignal(this.state, /* @ts-ignore */
45
+ ...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
46
+ showCloseButton = input(false, { ...(ngDevMode ? { debugName: "showCloseButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
47
+ dialogContentClass = input('', /* @ts-ignore */
48
+ ...(ngDevMode ? [{ debugName: "dialogContentClass" }] : /* istanbul ignore next */ []));
49
+ _computedDialogContentClass = computed(() => hlm("w-96 p-0", this.dialogContentClass()), /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "_computedDialogContentClass" }] : /* istanbul ignore next */ []));
51
+ stateChange = output();
52
+ stateChanged(state) {
53
+ this.stateChange.emit(state);
54
+ this._state.set(state);
55
+ }
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", 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: "\n <hlm-dialog [state]=\"_state()\" (stateChanged)=\"stateChanged($event)\">\n <hlm-dialog-content\n *hlmDialogPortal=\"let ctx\"\n [class]=\"_computedDialogContentClass()\"\n [showCloseButton]=\"showCloseButton()\"\n >\n <hlm-dialog-header class=\"sr-only\">\n <h2 hlmDialogTitle>{{ title() }}</h2>\n <p hlmDialogDescription>{{ description() }}</p>\n </hlm-dialog-header>\n <ng-content />\n </hlm-dialog-content>\n </hlm-dialog>\n ", 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 });
58
+ }
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandDialog, decorators: [{
60
+ type: Component,
61
+ args: [{
62
+ selector: 'hlm-command-dialog',
63
+ imports: [HlmDialogImports],
64
+ changeDetection: ChangeDetectionStrategy.OnPush,
65
+ template: "\n <hlm-dialog [state]=\"_state()\" (stateChanged)=\"stateChanged($event)\">\n <hlm-dialog-content\n *hlmDialogPortal=\"let ctx\"\n [class]=\"_computedDialogContentClass()\"\n [showCloseButton]=\"showCloseButton()\"\n >\n <hlm-dialog-header class=\"sr-only\">\n <h2 hlmDialogTitle>{{ title() }}</h2>\n <p hlmDialogDescription>{{ description() }}</p>\n </hlm-dialog-header>\n <ng-content />\n </hlm-dialog-content>\n </hlm-dialog>\n ",
66
+ }]
67
+ }], 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"] }] } });
68
+
69
+ class HlmCommandEmpty {
70
+ constructor() {
71
+ classes(() => "py-6 text-center text-sm");
72
+ }
73
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive });
74
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmCommandEmpty, isStandalone: true, selector: "[hlmCommandEmpty]", host: { attributes: { "data-slot": "command-empty" } }, ngImport: i0 });
75
+ }
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandEmpty, decorators: [{
77
+ type: Directive,
78
+ args: [{
79
+ selector: '[hlmCommandEmpty]',
80
+ host: {
81
+ 'data-slot': 'command-empty',
82
+ },
83
+ }]
84
+ }], ctorParameters: () => [] });
85
+
86
+ class HlmCommandEmptyState {
87
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandEmptyState, deps: [], target: i0.ɵɵFactoryTarget.Directive });
88
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmCommandEmptyState, isStandalone: true, selector: "[hlmCommandEmptyState]", hostDirectives: [{ directive: i1.BrnCommandEmpty }], ngImport: i0 });
89
+ }
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandEmptyState, decorators: [{
91
+ type: Directive,
92
+ args: [{
93
+ selector: '[hlmCommandEmptyState]',
94
+ hostDirectives: [BrnCommandEmpty],
95
+ }]
96
+ }] });
97
+
98
+ class HlmCommandGroup {
99
+ constructor() {
100
+ 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");
101
+ }
102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
103
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmCommandGroup, isStandalone: true, selector: "[hlmCommandGroup],hlm-command-group", host: { attributes: { "data-slot": "command-group" } }, hostDirectives: [{ directive: i1.BrnCommandGroup, inputs: ["id", "id"] }], ngImport: i0 });
104
+ }
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandGroup, decorators: [{
106
+ type: Directive,
107
+ args: [{
108
+ selector: '[hlmCommandGroup],hlm-command-group',
109
+ hostDirectives: [
110
+ {
111
+ directive: BrnCommandGroup,
112
+ inputs: ['id'],
113
+ },
114
+ ],
115
+ host: {
116
+ 'data-slot': 'command-group',
117
+ },
118
+ }]
119
+ }], ctorParameters: () => [] });
120
+
121
+ class HlmCommandGroupLabel {
122
+ constructor() {
123
+ classes(() => "inline-block");
124
+ }
125
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandGroupLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
126
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmCommandGroupLabel, isStandalone: true, selector: "[hlmCommandGroupLabel],hlm-command-group-label", host: { attributes: { "data-slot": "command-group-label", "role": "presentation" } }, ngImport: i0 });
127
+ }
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandGroupLabel, decorators: [{
129
+ type: Directive,
130
+ args: [{
131
+ selector: '[hlmCommandGroupLabel],hlm-command-group-label',
132
+ host: {
133
+ 'data-slot': 'command-group-label',
134
+ role: 'presentation',
135
+ },
136
+ }]
137
+ }], ctorParameters: () => [] });
138
+
139
+ class HlmCommandInput {
140
+ inputId = input(/* @ts-ignore */
141
+ ...(ngDevMode ? [undefined, { debugName: "inputId" }] : /* istanbul ignore next */ []));
142
+ placeholder = input('', /* @ts-ignore */
143
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
144
+ constructor() {
145
+ classes(() => "p-1 pb-0");
146
+ }
147
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
148
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", 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: "\n <hlm-input-group\n class=\"bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2!\"\n >\n <input\n brnCommandInput\n data-slot=\"command-input\"\n class=\"w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50\"\n [id]=\"inputId()\"\n [placeholder]=\"placeholder()\"\n />\n\n <hlm-input-group-addon>\n <ng-icon name=\"lucideSearch\" class=\"shrink-0 text-[length:--spacing(4)] opacity-50\" />\n </hlm-input-group-addon>\n </hlm-input-group>\n ", 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 });
149
+ }
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandInput, decorators: [{
151
+ type: Component,
152
+ args: [{
153
+ selector: 'hlm-command-input',
154
+ imports: [HlmInputGroupImports, NgIcon, BrnCommandInput],
155
+ providers: [provideIcons({ lucideSearch })],
156
+ changeDetection: ChangeDetectionStrategy.OnPush,
157
+ host: {
158
+ 'data-slot': 'command-input-wrapper',
159
+ },
160
+ template: "\n <hlm-input-group\n class=\"bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2!\"\n >\n <input\n brnCommandInput\n data-slot=\"command-input\"\n class=\"w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50\"\n [id]=\"inputId()\"\n [placeholder]=\"placeholder()\"\n />\n\n <hlm-input-group-addon>\n <ng-icon name=\"lucideSearch\" class=\"shrink-0 text-[length:--spacing(4)] opacity-50\" />\n </hlm-input-group-addon>\n </hlm-input-group>\n ",
161
+ }]
162
+ }], ctorParameters: () => [], propDecorators: { inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }] } });
163
+
164
+ class HlmCommandItem {
165
+ constructor() {
166
+ 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");
167
+ }
168
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
169
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", 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 });
170
+ }
171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandItem, decorators: [{
172
+ type: Directive,
173
+ args: [{
174
+ selector: 'button[hlmCommandItem],button[hlm-command-item]',
175
+ hostDirectives: [
176
+ {
177
+ directive: BrnCommandItem,
178
+ inputs: ['value', 'disabled', 'id'],
179
+ outputs: ['selected'],
180
+ },
181
+ ],
182
+ host: {
183
+ 'data-slot': 'command-item',
184
+ },
185
+ }]
186
+ }], ctorParameters: () => [] });
187
+
188
+ class HlmCommandList {
189
+ constructor() {
190
+ classes(() => "no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto");
191
+ }
192
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandList, deps: [], target: i0.ɵɵFactoryTarget.Directive });
193
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmCommandList, isStandalone: true, selector: "[hlmCommandList],hlm-command-list", host: { attributes: { "data-slot": "command-list" } }, hostDirectives: [{ directive: i1.BrnCommandList, inputs: ["id", "id"] }], ngImport: i0 });
194
+ }
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandList, decorators: [{
196
+ type: Directive,
197
+ args: [{
198
+ selector: '[hlmCommandList],hlm-command-list',
199
+ hostDirectives: [
200
+ {
201
+ directive: BrnCommandList,
202
+ inputs: ['id'],
203
+ },
204
+ ],
205
+ host: {
206
+ 'data-slot': 'command-list',
207
+ },
208
+ }]
209
+ }], ctorParameters: () => [] });
210
+
211
+ class HlmCommandSeparator {
212
+ constructor() {
213
+ classes(() => "bg-border -mx-1 h-px w-auto block data-hidden:hidden");
214
+ }
215
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
216
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmCommandSeparator, isStandalone: true, selector: "[hlmCommandSeparator],hlm-command-separator", host: { attributes: { "data-slot": "command-separator" } }, hostDirectives: [{ directive: i1.BrnCommandSeparator }], ngImport: i0 });
217
+ }
218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandSeparator, decorators: [{
219
+ type: Directive,
220
+ args: [{
221
+ selector: '[hlmCommandSeparator],hlm-command-separator',
222
+ hostDirectives: [BrnCommandSeparator],
223
+ host: {
224
+ 'data-slot': 'command-separator',
225
+ },
226
+ }]
227
+ }], ctorParameters: () => [] });
228
+
229
+ class HlmCommandShortcut {
230
+ constructor() {
231
+ classes(() => "text-muted-foreground group-data-[selected]/command-item:text-foreground ms-auto text-xs tracking-widest");
232
+ }
233
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandShortcut, deps: [], target: i0.ɵɵFactoryTarget.Directive });
234
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmCommandShortcut, isStandalone: true, selector: "[hlmCommandShortcut],hlm-command-shortcut", host: { attributes: { "data-slot": "command-shortcut" } }, ngImport: i0 });
235
+ }
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandShortcut, decorators: [{
237
+ type: Directive,
238
+ args: [{
239
+ selector: '[hlmCommandShortcut],hlm-command-shortcut',
240
+ host: {
241
+ 'data-slot': 'command-shortcut',
242
+ },
243
+ }]
244
+ }], ctorParameters: () => [] });
245
+
246
+ /*
247
+ * Public API Surface of command
248
+ */
249
+ const HlmCommandImports = [
250
+ HlmCommand,
251
+ HlmCommandDialog,
252
+ HlmCommandEmpty,
253
+ HlmCommandEmptyState,
254
+ HlmCommandGroup,
255
+ HlmCommandGroupLabel,
256
+ HlmCommandInput,
257
+ HlmCommandItem,
258
+ HlmCommandList,
259
+ HlmCommandSeparator,
260
+ HlmCommandShortcut,
261
+ ];
262
+ class HlmCommandModule {
263
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
264
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandModule, imports: [HlmCommand,
265
+ HlmCommandDialog,
266
+ HlmCommandEmpty,
267
+ HlmCommandEmptyState,
268
+ HlmCommandGroup,
269
+ HlmCommandGroupLabel,
270
+ HlmCommandInput,
271
+ HlmCommandItem,
272
+ HlmCommandList,
273
+ HlmCommandSeparator,
274
+ HlmCommandShortcut], exports: [HlmCommand,
275
+ HlmCommandDialog,
276
+ HlmCommandEmpty,
277
+ HlmCommandEmptyState,
278
+ HlmCommandGroup,
279
+ HlmCommandGroupLabel,
280
+ HlmCommandInput,
281
+ HlmCommandItem,
282
+ HlmCommandList,
283
+ HlmCommandSeparator,
284
+ HlmCommandShortcut] });
285
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandModule, imports: [HlmCommandDialog,
286
+ HlmCommandInput] });
287
+ }
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmCommandModule, decorators: [{
289
+ type: NgModule,
290
+ args: [{
291
+ imports: [...HlmCommandImports],
292
+ exports: [...HlmCommandImports],
293
+ }]
294
+ }] });
295
+
296
+ /**
297
+ * Generated bundle index. Do not edit.
298
+ */
299
+
300
+ export { HlmCommand, HlmCommandDialog, HlmCommandEmpty, HlmCommandEmptyState, HlmCommandGroup, HlmCommandGroupLabel, HlmCommandImports, HlmCommandInput, HlmCommandItem, HlmCommandList, HlmCommandModule, HlmCommandSeparator, HlmCommandShortcut };
301
+
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "command",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^22.0.0",
6
+ "@angular/core": "^22.0.0",
7
+ "@spartan-ng/brain": "^1.1.1"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "sideEffects": false,
13
+ "module": "fesm2022/command.mjs",
14
+ "typings": "types/command.d.ts",
15
+ "exports": {
16
+ "./package.json": {
17
+ "default": "./package.json"
18
+ },
19
+ ".": {
20
+ "types": "./types/command.d.ts",
21
+ "default": "./fesm2022/command.mjs"
22
+ }
23
+ },
24
+ "type": "module"
25
+ }
@@ -0,0 +1,89 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from '@spartan-ng/brain/command';
3
+ import { BooleanInput } from '@angular/cdk/coercion';
4
+ import { BrnDialogState } from '@spartan-ng/brain/dialog';
5
+ import { ClassValue } from 'clsx';
6
+
7
+ declare class HlmCommand {
8
+ constructor();
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommand, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommand, "[hlmCommand],hlm-command", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnCommand; inputs: { "id": "id"; "filter": "filter"; "search": "search"; "disabled": "disabled"; }; outputs: { "valueChange": "valueChange"; "searchChange": "searchChange"; }; }]>;
11
+ }
12
+
13
+ declare class HlmCommandDialog {
14
+ readonly title: i0.InputSignal<string>;
15
+ readonly description: i0.InputSignal<string>;
16
+ readonly state: i0.InputSignal<BrnDialogState>;
17
+ protected readonly _state: i0.WritableSignal<BrnDialogState>;
18
+ readonly showCloseButton: i0.InputSignalWithTransform<boolean, BooleanInput>;
19
+ readonly dialogContentClass: i0.InputSignal<ClassValue>;
20
+ protected readonly _computedDialogContentClass: i0.Signal<string>;
21
+ readonly stateChange: i0.OutputEmitterRef<BrnDialogState>;
22
+ protected stateChanged(state: BrnDialogState): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandDialog, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmCommandDialog, "hlm-command-dialog", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "dialogContentClass": { "alias": "dialogContentClass"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; }, never, ["*"], true, never>;
25
+ }
26
+
27
+ declare class HlmCommandEmpty {
28
+ constructor();
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandEmpty, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandEmpty, "[hlmCommandEmpty]", never, {}, {}, never, never, true, never>;
31
+ }
32
+
33
+ declare class HlmCommandEmptyState {
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandEmptyState, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandEmptyState, "[hlmCommandEmptyState]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnCommandEmpty; inputs: {}; outputs: {}; }]>;
36
+ }
37
+
38
+ declare class HlmCommandGroup {
39
+ constructor();
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandGroup, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandGroup, "[hlmCommandGroup],hlm-command-group", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnCommandGroup; inputs: { "id": "id"; }; outputs: {}; }]>;
42
+ }
43
+
44
+ declare class HlmCommandGroupLabel {
45
+ constructor();
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandGroupLabel, never>;
47
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandGroupLabel, "[hlmCommandGroupLabel],hlm-command-group-label", never, {}, {}, never, never, true, never>;
48
+ }
49
+
50
+ declare class HlmCommandInput {
51
+ readonly inputId: i0.InputSignal<string | undefined>;
52
+ readonly placeholder: i0.InputSignal<string>;
53
+ constructor();
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandInput, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmCommandInput, "hlm-command-input", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
56
+ }
57
+
58
+ declare class HlmCommandItem {
59
+ constructor();
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandItem, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandItem, "button[hlmCommandItem],button[hlm-command-item]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnCommandItem; inputs: { "value": "value"; "disabled": "disabled"; "id": "id"; }; outputs: { "selected": "selected"; }; }]>;
62
+ }
63
+
64
+ declare class HlmCommandList {
65
+ constructor();
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandList, never>;
67
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandList, "[hlmCommandList],hlm-command-list", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnCommandList; inputs: { "id": "id"; }; outputs: {}; }]>;
68
+ }
69
+
70
+ declare class HlmCommandSeparator {
71
+ constructor();
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandSeparator, never>;
73
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandSeparator, "[hlmCommandSeparator],hlm-command-separator", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnCommandSeparator; inputs: {}; outputs: {}; }]>;
74
+ }
75
+
76
+ declare class HlmCommandShortcut {
77
+ constructor();
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandShortcut, never>;
79
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCommandShortcut, "[hlmCommandShortcut],hlm-command-shortcut", never, {}, {}, never, never, true, never>;
80
+ }
81
+
82
+ declare const HlmCommandImports: readonly [typeof HlmCommand, typeof HlmCommandDialog, typeof HlmCommandEmpty, typeof HlmCommandEmptyState, typeof HlmCommandGroup, typeof HlmCommandGroupLabel, typeof HlmCommandInput, typeof HlmCommandItem, typeof HlmCommandList, typeof HlmCommandSeparator, typeof HlmCommandShortcut];
83
+ declare class HlmCommandModule {
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCommandModule, never>;
85
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HlmCommandModule, never, [typeof HlmCommand, typeof HlmCommandDialog, typeof HlmCommandEmpty, typeof HlmCommandEmptyState, typeof HlmCommandGroup, typeof HlmCommandGroupLabel, typeof HlmCommandInput, typeof HlmCommandItem, typeof HlmCommandList, typeof HlmCommandSeparator, typeof HlmCommandShortcut], [typeof HlmCommand, typeof HlmCommandDialog, typeof HlmCommandEmpty, typeof HlmCommandEmptyState, typeof HlmCommandGroup, typeof HlmCommandGroupLabel, typeof HlmCommandInput, typeof HlmCommandItem, typeof HlmCommandList, typeof HlmCommandSeparator, typeof HlmCommandShortcut]>;
86
+ static ɵinj: i0.ɵɵInjectorDeclaration<HlmCommandModule>;
87
+ }
88
+
89
+ export { HlmCommand, HlmCommandDialog, HlmCommandEmpty, HlmCommandEmptyState, HlmCommandGroup, HlmCommandGroupLabel, HlmCommandImports, HlmCommandInput, HlmCommandItem, HlmCommandList, HlmCommandModule, HlmCommandSeparator, HlmCommandShortcut };
@@ -0,0 +1,3 @@
1
+ # Confirmation Dialog Subpath
2
+
3
+ This project ships only as `@egose/shadcn-theme-ng/confirmation-dialog` or `@egose/shadcn-theme-ng-tw/confirmation-dialog`. See the [package README](../../README.md) for installation, compatibility, Tailwind variant, test, and release guidance. Do not publish this project directory independently.