@egose/shadcn-theme-ng 0.0.26 → 0.0.28

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 (333) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +107 -2
  3. package/accordion/fesm2022/accordion.mjs +42 -37
  4. package/accordion/fesm2022/accordion.mjs.map +1 -1
  5. package/accordion/package.json +25 -0
  6. package/accordion/{index.d.ts → types/accordion.d.ts} +1 -1
  7. package/alert/fesm2022/alert.mjs +32 -27
  8. package/alert/fesm2022/alert.mjs.map +1 -1
  9. package/alert/package.json +25 -0
  10. package/alert-dialog/README.md +11 -0
  11. package/alert-dialog/fesm2022/alert-dialog.mjs +287 -0
  12. package/alert-dialog/fesm2022/alert-dialog.mjs.map +1 -0
  13. package/alert-dialog/package.json +25 -0
  14. package/alert-dialog/types/alert-dialog.d.ts +90 -0
  15. package/aspect-ratio/README.md +11 -0
  16. package/aspect-ratio/fesm2022/aspect-ratio.mjs +62 -0
  17. package/aspect-ratio/fesm2022/aspect-ratio.mjs.map +1 -0
  18. package/aspect-ratio/package.json +25 -0
  19. package/aspect-ratio/types/aspect-ratio.d.ts +21 -0
  20. package/autocomplete/fesm2022/autocomplete.mjs +323 -457
  21. package/autocomplete/fesm2022/autocomplete.mjs.map +1 -1
  22. package/autocomplete/package.json +24 -0
  23. package/autocomplete/types/autocomplete.d.ts +96 -0
  24. package/avatar/README.md +11 -0
  25. package/avatar/fesm2022/avatar.mjs +178 -0
  26. package/avatar/fesm2022/avatar.mjs.map +1 -0
  27. package/avatar/package.json +25 -0
  28. package/avatar/types/avatar.d.ts +50 -0
  29. package/badge/fesm2022/badge.mjs +16 -10
  30. package/badge/fesm2022/badge.mjs.map +1 -1
  31. package/badge/package.json +25 -0
  32. package/basic-alert/fesm2022/basic-alert.mjs +12 -8
  33. package/basic-alert/fesm2022/basic-alert.mjs.map +1 -1
  34. package/basic-alert/package.json +24 -0
  35. package/breadcrumb/README.md +11 -0
  36. package/breadcrumb/fesm2022/breadcrumb.mjs +224 -0
  37. package/breadcrumb/fesm2022/breadcrumb.mjs.map +1 -0
  38. package/breadcrumb/package.json +25 -0
  39. package/breadcrumb/types/breadcrumb.d.ts +57 -0
  40. package/button/fesm2022/button.mjs +100 -26
  41. package/button/fesm2022/button.mjs.map +1 -1
  42. package/button/package.json +25 -0
  43. package/button/{index.d.ts → types/button.d.ts} +30 -9
  44. package/button-group/README.md +11 -0
  45. package/button-group/fesm2022/button-group.mjs +102 -0
  46. package/button-group/fesm2022/button-group.mjs.map +1 -0
  47. package/button-group/package.json +25 -0
  48. package/button-group/types/button-group.d.ts +30 -0
  49. package/calendar/fesm2022/calendar.mjs +868 -546
  50. package/calendar/fesm2022/calendar.mjs.map +1 -1
  51. package/calendar/package.json +24 -0
  52. package/calendar/types/calendar.d.ts +94 -0
  53. package/card/README.md +11 -0
  54. package/card/fesm2022/card.mjs +169 -0
  55. package/card/fesm2022/card.mjs.map +1 -0
  56. package/card/package.json +25 -0
  57. package/card/types/card.d.ts +54 -0
  58. package/carousel/README.md +11 -0
  59. package/carousel/fesm2022/carousel.mjs +309 -0
  60. package/carousel/fesm2022/carousel.mjs.map +1 -0
  61. package/carousel/package.json +25 -0
  62. package/carousel/types/carousel.d.ts +84 -0
  63. package/checkbox/fesm2022/checkbox.mjs +25 -20
  64. package/checkbox/fesm2022/checkbox.mjs.map +1 -1
  65. package/checkbox/package.json +24 -0
  66. package/collapsible/README.md +11 -0
  67. package/collapsible/fesm2022/collapsible.mjs +77 -0
  68. package/collapsible/fesm2022/collapsible.mjs.map +1 -0
  69. package/collapsible/package.json +25 -0
  70. package/collapsible/types/collapsible.d.ts +27 -0
  71. package/combobox/README.md +11 -0
  72. package/combobox/fesm2022/combobox.mjs +683 -0
  73. package/combobox/fesm2022/combobox.mjs.map +1 -0
  74. package/combobox/package.json +25 -0
  75. package/combobox/types/combobox.d.ts +151 -0
  76. package/command/README.md +11 -0
  77. package/command/fesm2022/command.mjs +361 -0
  78. package/command/fesm2022/command.mjs.map +1 -0
  79. package/command/package.json +25 -0
  80. package/command/types/command.d.ts +89 -0
  81. package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +19 -8
  82. package/confirmation-dialog/fesm2022/confirmation-dialog.mjs.map +1 -1
  83. package/confirmation-dialog/package.json +24 -0
  84. package/context-menu/README.md +11 -0
  85. package/context-menu/fesm2022/context-menu.mjs +89 -0
  86. package/context-menu/fesm2022/context-menu.mjs.map +1 -0
  87. package/context-menu/package.json +25 -0
  88. package/context-menu/types/context-menu.d.ts +34 -0
  89. package/date-picker/fesm2022/date-picker.mjs +1262 -307
  90. package/date-picker/fesm2022/date-picker.mjs.map +1 -1
  91. package/date-picker/package.json +24 -0
  92. package/date-picker/types/date-picker.d.ts +551 -0
  93. package/dialog/fesm2022/dialog.mjs +137 -108
  94. package/dialog/fesm2022/dialog.mjs.map +1 -1
  95. package/dialog/package.json +24 -0
  96. package/dialog/types/dialog.d.ts +95 -0
  97. package/drawer/README.md +11 -0
  98. package/drawer/fesm2022/drawer.mjs +271 -0
  99. package/drawer/fesm2022/drawer.mjs.map +1 -0
  100. package/drawer/package.json +25 -0
  101. package/drawer/types/drawer.d.ts +76 -0
  102. package/dropdown-menu/README.md +11 -0
  103. package/dropdown-menu/fesm2022/dropdown-menu.mjs +542 -0
  104. package/dropdown-menu/fesm2022/dropdown-menu.mjs.map +1 -0
  105. package/dropdown-menu/package.json +25 -0
  106. package/dropdown-menu/types/dropdown-menu.d.ts +176 -0
  107. package/empty/README.md +11 -0
  108. package/empty/fesm2022/empty.mjs +151 -0
  109. package/empty/fesm2022/empty.mjs.map +1 -0
  110. package/empty/package.json +25 -0
  111. package/empty/types/empty.d.ts +54 -0
  112. package/field/README.md +11 -0
  113. package/field/fesm2022/field.mjs +367 -0
  114. package/field/fesm2022/field.mjs.map +1 -0
  115. package/field/package.json +25 -0
  116. package/field/types/field.d.ts +107 -0
  117. package/form-checkbox/fesm2022/form-checkbox.mjs +39 -22
  118. package/form-checkbox/fesm2022/form-checkbox.mjs.map +1 -1
  119. package/form-checkbox/package.json +24 -0
  120. package/form-date-picker/fesm2022/form-date-picker.mjs +58 -51
  121. package/form-date-picker/fesm2022/form-date-picker.mjs.map +1 -1
  122. package/form-date-picker/package.json +24 -0
  123. package/form-field/fesm2022/form-field.mjs +39 -27
  124. package/form-field/fesm2022/form-field.mjs.map +1 -1
  125. package/form-field/package.json +25 -0
  126. package/form-field/{index.d.ts → types/form-field.d.ts} +4 -3
  127. package/form-field-simple/fesm2022/form-field-simple.mjs +15 -10
  128. package/form-field-simple/fesm2022/form-field-simple.mjs.map +1 -1
  129. package/form-field-simple/package.json +24 -0
  130. package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +44 -25
  131. package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs.map +1 -1
  132. package/form-searchable-multiselect/package.json +24 -0
  133. package/form-select/fesm2022/form-select.mjs +132 -71
  134. package/form-select/fesm2022/form-select.mjs.map +1 -1
  135. package/form-select/package.json +24 -0
  136. package/form-text-input/fesm2022/form-text-input.mjs +68 -39
  137. package/form-text-input/fesm2022/form-text-input.mjs.map +1 -1
  138. package/form-text-input/package.json +24 -0
  139. package/form-textarea/fesm2022/form-textarea.mjs +54 -30
  140. package/form-textarea/fesm2022/form-textarea.mjs.map +1 -1
  141. package/form-textarea/package.json +24 -0
  142. package/hover-card/README.md +11 -0
  143. package/hover-card/fesm2022/hover-card.mjs +123 -0
  144. package/hover-card/fesm2022/hover-card.mjs.map +1 -0
  145. package/hover-card/package.json +25 -0
  146. package/hover-card/types/hover-card.d.ts +36 -0
  147. package/icon/fesm2022/icon.mjs +12 -10
  148. package/icon/fesm2022/icon.mjs.map +1 -1
  149. package/icon/package.json +25 -0
  150. package/input/fesm2022/input.mjs +20 -70
  151. package/input/fesm2022/input.mjs.map +1 -1
  152. package/input/package.json +25 -0
  153. package/input/types/input.d.ts +18 -0
  154. package/input-group/README.md +11 -0
  155. package/input-group/fesm2022/input-group.mjs +199 -0
  156. package/input-group/fesm2022/input-group.mjs.map +1 -0
  157. package/input-group/package.json +25 -0
  158. package/input-group/types/input-group.d.ts +52 -0
  159. package/input-otp/README.md +11 -0
  160. package/input-otp/fesm2022/input-otp.mjs +141 -0
  161. package/input-otp/fesm2022/input-otp.mjs.map +1 -0
  162. package/input-otp/package.json +25 -0
  163. package/input-otp/types/input-otp.d.ts +43 -0
  164. package/item/README.md +11 -0
  165. package/item/fesm2022/item.mjs +278 -0
  166. package/item/fesm2022/item.mjs.map +1 -0
  167. package/item/package.json +25 -0
  168. package/item/types/item.d.ts +101 -0
  169. package/kbd/README.md +11 -0
  170. package/kbd/fesm2022/kbd.mjs +61 -0
  171. package/kbd/fesm2022/kbd.mjs.map +1 -0
  172. package/kbd/package.json +25 -0
  173. package/kbd/types/kbd.d.ts +22 -0
  174. package/label/fesm2022/label.mjs +11 -10
  175. package/label/fesm2022/label.mjs.map +1 -1
  176. package/label/package.json +25 -0
  177. package/layout-simple/fesm2022/layout-simple.mjs +438 -325
  178. package/layout-simple/fesm2022/layout-simple.mjs.map +1 -1
  179. package/layout-simple/package.json +24 -0
  180. package/layout-simple/{index.d.ts → types/layout-simple.d.ts} +28 -17
  181. package/menubar/README.md +11 -0
  182. package/menubar/fesm2022/menubar.mjs +108 -0
  183. package/menubar/fesm2022/menubar.mjs.map +1 -0
  184. package/menubar/package.json +25 -0
  185. package/menubar/types/menubar.d.ts +40 -0
  186. package/native-select/README.md +11 -0
  187. package/native-select/fesm2022/native-select.mjs +207 -0
  188. package/native-select/fesm2022/native-select.mjs.map +1 -0
  189. package/native-select/package.json +25 -0
  190. package/native-select/types/native-select.d.ts +70 -0
  191. package/navigation-menu/README.md +11 -0
  192. package/navigation-menu/fesm2022/navigation-menu.mjs +206 -0
  193. package/navigation-menu/fesm2022/navigation-menu.mjs.map +1 -0
  194. package/navigation-menu/package.json +25 -0
  195. package/navigation-menu/types/navigation-menu.d.ts +54 -0
  196. package/package.json +223 -81
  197. package/pagination/README.md +11 -0
  198. package/pagination/fesm2022/pagination.mjs +808 -0
  199. package/pagination/fesm2022/pagination.mjs.map +1 -0
  200. package/pagination/package.json +25 -0
  201. package/pagination/types/pagination.d.ts +192 -0
  202. package/popover/fesm2022/popover.mjs +121 -27
  203. package/popover/fesm2022/popover.mjs.map +1 -1
  204. package/popover/package.json +24 -0
  205. package/popover/types/popover.d.ts +54 -0
  206. package/progress/README.md +11 -0
  207. package/progress/fesm2022/progress.mjs +77 -0
  208. package/progress/fesm2022/progress.mjs.map +1 -0
  209. package/progress/package.json +25 -0
  210. package/progress/types/progress.d.ts +27 -0
  211. package/radio-group/fesm2022/radio-group.mjs +96 -62
  212. package/radio-group/fesm2022/radio-group.mjs.map +1 -1
  213. package/radio-group/package.json +25 -0
  214. package/radio-group/{index.d.ts → types/radio-group.d.ts} +22 -14
  215. package/resizable/README.md +11 -0
  216. package/resizable/fesm2022/resizable.mjs +111 -0
  217. package/resizable/fesm2022/resizable.mjs.map +1 -0
  218. package/resizable/package.json +25 -0
  219. package/resizable/types/resizable.d.ts +32 -0
  220. package/scroll-area/README.md +11 -0
  221. package/scroll-area/fesm2022/scroll-area.mjs +51 -0
  222. package/scroll-area/fesm2022/scroll-area.mjs.map +1 -0
  223. package/scroll-area/package.json +25 -0
  224. package/scroll-area/types/scroll-area.d.ts +16 -0
  225. package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +92 -88
  226. package/searchable-multiselect/fesm2022/searchable-multiselect.mjs.map +1 -1
  227. package/searchable-multiselect/package.json +24 -0
  228. package/searchable-multiselect/{index.d.ts → types/searchable-multiselect.d.ts} +13 -24
  229. package/select/fesm2022/select.mjs +371 -189
  230. package/select/fesm2022/select.mjs.map +1 -1
  231. package/select/package.json +25 -0
  232. package/select/types/select.d.ts +119 -0
  233. package/separator/fesm2022/separator.mjs +16 -14
  234. package/separator/fesm2022/separator.mjs.map +1 -1
  235. package/separator/package.json +24 -0
  236. package/separator/{index.d.ts → types/separator.d.ts} +4 -5
  237. package/sheet/fesm2022/sheet.mjs +57 -51
  238. package/sheet/fesm2022/sheet.mjs.map +1 -1
  239. package/sheet/package.json +24 -0
  240. package/sidebar/README.md +11 -0
  241. package/sidebar/fesm2022/sidebar.mjs +948 -0
  242. package/sidebar/fesm2022/sidebar.mjs.map +1 -0
  243. package/sidebar/package.json +25 -0
  244. package/sidebar/types/sidebar.d.ts +237 -0
  245. package/skeleton/README.md +11 -0
  246. package/skeleton/fesm2022/skeleton.mjs +44 -0
  247. package/skeleton/fesm2022/skeleton.mjs.map +1 -0
  248. package/skeleton/package.json +25 -0
  249. package/skeleton/types/skeleton.d.ts +16 -0
  250. package/slider/README.md +11 -0
  251. package/slider/fesm2022/slider.mjs +144 -0
  252. package/slider/fesm2022/slider.mjs.map +1 -0
  253. package/slider/package.json +25 -0
  254. package/slider/types/slider.d.ts +19 -0
  255. package/sonner/fesm2022/sonner.mjs +30 -35
  256. package/sonner/fesm2022/sonner.mjs.map +1 -1
  257. package/sonner/package.json +25 -0
  258. package/spinner/fesm2022/spinner.mjs +18 -14
  259. package/spinner/fesm2022/spinner.mjs.map +1 -1
  260. package/spinner/package.json +25 -0
  261. package/switch/fesm2022/switch.mjs +29 -26
  262. package/switch/fesm2022/switch.mjs.map +1 -1
  263. package/switch/package.json +25 -0
  264. package/table/README.md +11 -0
  265. package/table/fesm2022/table.mjs +211 -0
  266. package/table/fesm2022/table.mjs.map +1 -0
  267. package/table/package.json +25 -0
  268. package/table/types/table.d.ts +87 -0
  269. package/tabs/fesm2022/tabs.mjs +131 -103
  270. package/tabs/fesm2022/tabs.mjs.map +1 -1
  271. package/tabs/package.json +25 -0
  272. package/tabs/types/tabs.d.ts +71 -0
  273. package/textarea/README.md +11 -0
  274. package/textarea/fesm2022/textarea.mjs +47 -0
  275. package/textarea/fesm2022/textarea.mjs.map +1 -0
  276. package/textarea/package.json +25 -0
  277. package/textarea/types/textarea.d.ts +18 -0
  278. package/toggle/README.md +11 -0
  279. package/toggle/fesm2022/toggle.mjs +78 -0
  280. package/toggle/fesm2022/toggle.mjs.map +1 -0
  281. package/toggle/package.json +25 -0
  282. package/toggle/types/toggle.d.ts +27 -0
  283. package/toggle-group/README.md +11 -0
  284. package/toggle-group/fesm2022/toggle-group.mjs +117 -0
  285. package/toggle-group/fesm2022/toggle-group.mjs.map +1 -0
  286. package/toggle-group/package.json +25 -0
  287. package/toggle-group/types/toggle-group.d.ts +39 -0
  288. package/tooltip/fesm2022/tooltip.mjs +33 -54
  289. package/tooltip/fesm2022/tooltip.mjs.map +1 -1
  290. package/tooltip/package.json +25 -0
  291. package/tooltip/types/tooltip.d.ts +22 -0
  292. package/typography/README.md +11 -0
  293. package/typography/fesm2022/typography.mjs +242 -0
  294. package/typography/fesm2022/typography.mjs.map +1 -0
  295. package/typography/package.json +25 -0
  296. package/typography/types/typography.d.ts +94 -0
  297. package/utils/fesm2022/utils.mjs +184 -1
  298. package/utils/fesm2022/utils.mjs.map +1 -1
  299. package/utils/package.json +25 -0
  300. package/utils/types/utils.d.ts +13 -0
  301. package/autocomplete/index.d.ts +0 -162
  302. package/calendar/index.d.ts +0 -111
  303. package/date-picker/index.d.ts +0 -227
  304. package/dialog/index.d.ts +0 -89
  305. package/exports.json +0 -1
  306. package/input/index.d.ts +0 -41
  307. package/menu/README.md +0 -64
  308. package/menu/fesm2022/menu.mjs +0 -449
  309. package/menu/fesm2022/menu.mjs.map +0 -1
  310. package/menu/index.d.ts +0 -137
  311. package/popover/index.d.ts +0 -30
  312. package/select/index.d.ts +0 -92
  313. package/tabs/index.d.ts +0 -71
  314. package/tooltip/index.d.ts +0 -21
  315. package/utils/index.d.ts +0 -5
  316. /package/alert/{index.d.ts → types/alert.d.ts} +0 -0
  317. /package/badge/{index.d.ts → types/badge.d.ts} +0 -0
  318. /package/basic-alert/{index.d.ts → types/basic-alert.d.ts} +0 -0
  319. /package/checkbox/{index.d.ts → types/checkbox.d.ts} +0 -0
  320. /package/confirmation-dialog/{index.d.ts → types/confirmation-dialog.d.ts} +0 -0
  321. /package/form-checkbox/{index.d.ts → types/form-checkbox.d.ts} +0 -0
  322. /package/form-date-picker/{index.d.ts → types/form-date-picker.d.ts} +0 -0
  323. /package/form-field-simple/{index.d.ts → types/form-field-simple.d.ts} +0 -0
  324. /package/form-searchable-multiselect/{index.d.ts → types/form-searchable-multiselect.d.ts} +0 -0
  325. /package/form-select/{index.d.ts → types/form-select.d.ts} +0 -0
  326. /package/form-text-input/{index.d.ts → types/form-text-input.d.ts} +0 -0
  327. /package/form-textarea/{index.d.ts → types/form-textarea.d.ts} +0 -0
  328. /package/icon/{index.d.ts → types/icon.d.ts} +0 -0
  329. /package/label/{index.d.ts → types/label.d.ts} +0 -0
  330. /package/sheet/{index.d.ts → types/sheet.d.ts} +0 -0
  331. /package/sonner/{index.d.ts → types/sonner.d.ts} +0 -0
  332. /package/spinner/{index.d.ts → types/spinner.d.ts} +0 -0
  333. /package/switch/{index.d.ts → types/switch.d.ts} +0 -0
@@ -0,0 +1,141 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, ChangeDetectionStrategy, Component, input, numberAttribute, NgModule } from '@angular/core';
3
+ import { classes } from '@egose/shadcn-theme-ng/utils';
4
+ import { NgIcon, provideIcons } from '@ng-icons/core';
5
+ import { lucideMinus } from '@ng-icons/lucide';
6
+ import { BrnInputOtpSlot } from '@spartan-ng/brain/input-otp';
7
+
8
+ class HlmInputOtp {
9
+ constructor() {
10
+ classes(() => 'gap-2 flex items-center has-disabled:opacity-50');
11
+ }
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtp, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmInputOtp, isStandalone: true, selector: "brn-input-otp[hlmInputOtp], brn-input-otp[hlm]", host: { attributes: { "data-slot": "input-otp" } }, ngImport: i0 });
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtp, decorators: [{
16
+ type: Directive,
17
+ args: [{
18
+ selector: 'brn-input-otp[hlmInputOtp], brn-input-otp[hlm]',
19
+ host: { 'data-slot': 'input-otp' },
20
+ }]
21
+ }], ctorParameters: () => [] });
22
+
23
+ class HlmInputOtpFakeCaret {
24
+ constructor() {
25
+ classes(() => 'pointer-events-none absolute inset-0 flex items-center justify-center');
26
+ }
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpFakeCaret, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: HlmInputOtpFakeCaret, isStandalone: true, selector: "hlm-input-otp-fake-caret", ngImport: i0, template: ` <div class="animate-caret-blink bg-foreground h-4 w-px duration-1000"></div> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpFakeCaret, decorators: [{
31
+ type: Component,
32
+ args: [{
33
+ selector: 'hlm-input-otp-fake-caret',
34
+ changeDetection: ChangeDetectionStrategy.OnPush,
35
+ template: ` <div class="animate-caret-blink bg-foreground h-4 w-px duration-1000"></div> `,
36
+ }]
37
+ }], ctorParameters: () => [] });
38
+
39
+ class HlmInputOtpGroup {
40
+ constructor() {
41
+ classes(() => 'data-[matches-spartan-invalid=true]:ring-destructive/20 dark:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive rounded-md data-[matches-spartan-invalid=true]:ring-3 flex items-center');
42
+ }
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
44
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmInputOtpGroup, isStandalone: true, selector: "[hlmInputOtpGroup],hlm-input-otp-group", host: { attributes: { "data-slot": "input-otp-group" } }, ngImport: i0 });
45
+ }
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpGroup, decorators: [{
47
+ type: Directive,
48
+ args: [{
49
+ selector: '[hlmInputOtpGroup],hlm-input-otp-group',
50
+ host: { 'data-slot': 'input-otp-group' },
51
+ }]
52
+ }], ctorParameters: () => [] });
53
+
54
+ class HlmInputOtpSeparator {
55
+ constructor() {
56
+ classes(() => "[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center");
57
+ }
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpSeparator, deps: [], target: i0.ɵɵFactoryTarget.Component });
59
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: HlmInputOtpSeparator, isStandalone: true, selector: "hlm-input-otp-separator", host: { attributes: { "role": "separator", "data-slot": "input-otp-separator" } }, providers: [provideIcons({ lucideMinus })], ngImport: i0, template: ` <ng-icon name="lucideMinus" /> `, isInline: true, dependencies: [{ kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpSeparator, decorators: [{
62
+ type: Component,
63
+ args: [{
64
+ selector: 'hlm-input-otp-separator',
65
+ imports: [NgIcon],
66
+ providers: [provideIcons({ lucideMinus })],
67
+ changeDetection: ChangeDetectionStrategy.OnPush,
68
+ host: {
69
+ role: 'separator',
70
+ 'data-slot': 'input-otp-separator',
71
+ },
72
+ template: ` <ng-icon name="lucideMinus" /> `,
73
+ }]
74
+ }], ctorParameters: () => [] });
75
+
76
+ class HlmInputOtpSlot {
77
+ /** The index of the slot to render the char or a fake caret */
78
+ index = input.required({ ...(ngDevMode ? { debugName: "index" } : /* istanbul ignore next */ {}), transform: numberAttribute });
79
+ constructor() {
80
+ classes(() => 'dark:bg-input/30 border-input has-[brn-input-otp-slot[data-active="true"]]:border-ring has-[brn-input-otp-slot[data-active="true"]]:ring-ring/50 has-[brn-input-otp-slot[data-active="true"]]:data-[matches-spartan-invalid=true]:ring-destructive/20 dark:has-[brn-input-otp-slot[data-active="true"]]:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive has-[brn-input-otp-slot[data-active="true"]]:data-[matches-spartan-invalid=true]:border-destructive size-9 border-y border-e text-sm shadow-xs transition-all outline-none first:rounded-s-md first:border-s last:rounded-e-md has-[brn-input-otp-slot[data-active="true"]]:ring-3 relative flex items-center justify-center has-[brn-input-otp-slot[data-active="true"]]:z-10');
81
+ }
82
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpSlot, deps: [], target: i0.ɵɵFactoryTarget.Component });
83
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: HlmInputOtpSlot, isStandalone: true, selector: "hlm-input-otp-slot", inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "data-slot": "input-otp-slot" } }, ngImport: i0, template: `
84
+ <brn-input-otp-slot [index]="index()">
85
+ <hlm-input-otp-fake-caret />
86
+ </brn-input-otp-slot>
87
+ `, isInline: true, dependencies: [{ kind: "component", type: BrnInputOtpSlot, selector: "brn-input-otp-slot", inputs: ["index"] }, { kind: "component", type: HlmInputOtpFakeCaret, selector: "hlm-input-otp-fake-caret" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
88
+ }
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpSlot, decorators: [{
90
+ type: Component,
91
+ args: [{
92
+ selector: 'hlm-input-otp-slot',
93
+ imports: [BrnInputOtpSlot, HlmInputOtpFakeCaret],
94
+ changeDetection: ChangeDetectionStrategy.OnPush,
95
+ host: { 'data-slot': 'input-otp-slot' },
96
+ template: `
97
+ <brn-input-otp-slot [index]="index()">
98
+ <hlm-input-otp-fake-caret />
99
+ </brn-input-otp-slot>
100
+ `,
101
+ }]
102
+ }], ctorParameters: () => [], propDecorators: { index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: true }] }] } });
103
+
104
+ /*
105
+ * Public API Surface of input-otp
106
+ */
107
+ const HlmInputOtpImports = [
108
+ HlmInputOtp,
109
+ HlmInputOtpGroup,
110
+ HlmInputOtpSeparator,
111
+ HlmInputOtpSlot,
112
+ HlmInputOtpFakeCaret,
113
+ ];
114
+ class HlmInputOtpModule {
115
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
116
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpModule, imports: [HlmInputOtp,
117
+ HlmInputOtpGroup,
118
+ HlmInputOtpSeparator,
119
+ HlmInputOtpSlot,
120
+ HlmInputOtpFakeCaret], exports: [HlmInputOtp,
121
+ HlmInputOtpGroup,
122
+ HlmInputOtpSeparator,
123
+ HlmInputOtpSlot,
124
+ HlmInputOtpFakeCaret] });
125
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpModule, imports: [HlmInputOtpSeparator,
126
+ HlmInputOtpSlot] });
127
+ }
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmInputOtpModule, decorators: [{
129
+ type: NgModule,
130
+ args: [{
131
+ imports: [...HlmInputOtpImports],
132
+ exports: [...HlmInputOtpImports],
133
+ }]
134
+ }] });
135
+
136
+ /**
137
+ * Generated bundle index. Do not edit.
138
+ */
139
+
140
+ export { HlmInputOtp, HlmInputOtpFakeCaret, HlmInputOtpGroup, HlmInputOtpImports, HlmInputOtpModule, HlmInputOtpSeparator, HlmInputOtpSlot };
141
+ //# sourceMappingURL=input-otp.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-otp.mjs","sources":["../../../projects/input-otp/src/lib/hlm-input-otp.ts","../../../projects/input-otp/src/lib/hlm-input-otp-fake-caret.ts","../../../projects/input-otp/src/lib/hlm-input-otp-group.ts","../../../projects/input-otp/src/lib/hlm-input-otp-separator.ts","../../../projects/input-otp/src/lib/hlm-input-otp-slot.ts","../../../projects/input-otp/src/public-api.ts","../../../projects/input-otp/src/input-otp.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: 'brn-input-otp[hlmInputOtp], brn-input-otp[hlm]',\n host: { 'data-slot': 'input-otp' },\n})\nexport class HlmInputOtp {\n constructor() {\n classes(() => 'gap-2 flex items-center has-disabled:opacity-50');\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Component({\n selector: 'hlm-input-otp-fake-caret',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: ` <div class=\"animate-caret-blink bg-foreground h-4 w-px duration-1000\"></div> `,\n})\nexport class HlmInputOtpFakeCaret {\n constructor() {\n classes(() => 'pointer-events-none absolute inset-0 flex items-center justify-center');\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmInputOtpGroup],hlm-input-otp-group',\n host: { 'data-slot': 'input-otp-group' },\n})\nexport class HlmInputOtpGroup {\n constructor() {\n classes(\n () =>\n 'data-[matches-spartan-invalid=true]:ring-destructive/20 dark:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive rounded-md data-[matches-spartan-invalid=true]:ring-3 flex items-center',\n );\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideMinus } from '@ng-icons/lucide';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Component({\n selector: 'hlm-input-otp-separator',\n imports: [NgIcon],\n providers: [provideIcons({ lucideMinus })],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n role: 'separator',\n 'data-slot': 'input-otp-separator',\n },\n template: ` <ng-icon name=\"lucideMinus\" /> `,\n})\nexport class HlmInputOtpSeparator {\n constructor() {\n classes(() => \"[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center\");\n }\n}\n","import type { NumberInput } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, input, numberAttribute } from '@angular/core';\nimport { BrnInputOtpSlot } from '@spartan-ng/brain/input-otp';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\nimport { HlmInputOtpFakeCaret } from './hlm-input-otp-fake-caret';\n\n@Component({\n selector: 'hlm-input-otp-slot',\n imports: [BrnInputOtpSlot, HlmInputOtpFakeCaret],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { 'data-slot': 'input-otp-slot' },\n template: `\n <brn-input-otp-slot [index]=\"index()\">\n <hlm-input-otp-fake-caret />\n </brn-input-otp-slot>\n `,\n})\nexport class HlmInputOtpSlot {\n /** The index of the slot to render the char or a fake caret */\n public readonly index = input.required<number, NumberInput>({ transform: numberAttribute });\n\n constructor() {\n classes(\n () =>\n 'dark:bg-input/30 border-input has-[brn-input-otp-slot[data-active=\"true\"]]:border-ring has-[brn-input-otp-slot[data-active=\"true\"]]:ring-ring/50 has-[brn-input-otp-slot[data-active=\"true\"]]:data-[matches-spartan-invalid=true]:ring-destructive/20 dark:has-[brn-input-otp-slot[data-active=\"true\"]]:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive has-[brn-input-otp-slot[data-active=\"true\"]]:data-[matches-spartan-invalid=true]:border-destructive size-9 border-y border-e text-sm shadow-xs transition-all outline-none first:rounded-s-md first:border-s last:rounded-e-md has-[brn-input-otp-slot[data-active=\"true\"]]:ring-3 relative flex items-center justify-center has-[brn-input-otp-slot[data-active=\"true\"]]:z-10',\n );\n }\n}\n","/*\n * Public API Surface of input-otp\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { HlmInputOtp } from './lib/hlm-input-otp';\nimport { HlmInputOtpFakeCaret } from './lib/hlm-input-otp-fake-caret';\nimport { HlmInputOtpGroup } from './lib/hlm-input-otp-group';\nimport { HlmInputOtpSeparator } from './lib/hlm-input-otp-separator';\nimport { HlmInputOtpSlot } from './lib/hlm-input-otp-slot';\n\nexport * from './lib/hlm-input-otp';\nexport * from './lib/hlm-input-otp-fake-caret';\nexport * from './lib/hlm-input-otp-group';\nexport * from './lib/hlm-input-otp-separator';\nexport * from './lib/hlm-input-otp-slot';\n\nexport const HlmInputOtpImports = [\n HlmInputOtp,\n HlmInputOtpGroup,\n HlmInputOtpSeparator,\n HlmInputOtpSlot,\n HlmInputOtpFakeCaret,\n] as const;\n\n@NgModule({\n imports: [...HlmInputOtpImports],\n exports: [...HlmInputOtpImports],\n})\nexport class HlmInputOtpModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAOa,WAAW,CAAA;AACtB,IAAA,WAAA,GAAA;AACE,QAAA,OAAO,CAAC,MAAM,iDAAiD,CAAC;IAClE;uGAHW,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gDAAA,EAAA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AA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;AAChC,oBAAA,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;AACjC,iBAAA;;;AC7BD;;AAEG;;;;"}
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "input-otp",
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/input-otp.mjs",
14
+ "typings": "types/input-otp.d.ts",
15
+ "exports": {
16
+ "./package.json": {
17
+ "default": "./package.json"
18
+ },
19
+ ".": {
20
+ "types": "./types/input-otp.d.ts",
21
+ "default": "./fesm2022/input-otp.mjs"
22
+ }
23
+ },
24
+ "type": "module"
25
+ }
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { NumberInput } from '@angular/cdk/coercion';
3
+
4
+ declare class HlmInputOtp {
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmInputOtp, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmInputOtp, "brn-input-otp[hlmInputOtp], brn-input-otp[hlm]", never, {}, {}, never, never, true, never>;
8
+ }
9
+
10
+ declare class HlmInputOtpFakeCaret {
11
+ constructor();
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmInputOtpFakeCaret, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmInputOtpFakeCaret, "hlm-input-otp-fake-caret", never, {}, {}, never, never, true, never>;
14
+ }
15
+
16
+ declare class HlmInputOtpGroup {
17
+ constructor();
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmInputOtpGroup, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmInputOtpGroup, "[hlmInputOtpGroup],hlm-input-otp-group", never, {}, {}, never, never, true, never>;
20
+ }
21
+
22
+ declare class HlmInputOtpSeparator {
23
+ constructor();
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmInputOtpSeparator, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmInputOtpSeparator, "hlm-input-otp-separator", never, {}, {}, never, never, true, never>;
26
+ }
27
+
28
+ declare class HlmInputOtpSlot {
29
+ /** The index of the slot to render the char or a fake caret */
30
+ readonly index: i0.InputSignalWithTransform<number, NumberInput>;
31
+ constructor();
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmInputOtpSlot, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmInputOtpSlot, "hlm-input-otp-slot", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
34
+ }
35
+
36
+ declare const HlmInputOtpImports: readonly [typeof HlmInputOtp, typeof HlmInputOtpGroup, typeof HlmInputOtpSeparator, typeof HlmInputOtpSlot, typeof HlmInputOtpFakeCaret];
37
+ declare class HlmInputOtpModule {
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmInputOtpModule, never>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HlmInputOtpModule, never, [typeof HlmInputOtp, typeof HlmInputOtpGroup, typeof HlmInputOtpSeparator, typeof HlmInputOtpSlot, typeof HlmInputOtpFakeCaret], [typeof HlmInputOtp, typeof HlmInputOtpGroup, typeof HlmInputOtpSeparator, typeof HlmInputOtpSlot, typeof HlmInputOtpFakeCaret]>;
40
+ static ɵinj: i0.ɵɵInjectorDeclaration<HlmInputOtpModule>;
41
+ }
42
+
43
+ export { HlmInputOtp, HlmInputOtpFakeCaret, HlmInputOtpGroup, HlmInputOtpImports, HlmInputOtpModule, HlmInputOtpSeparator, HlmInputOtpSlot };
package/item/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # Item
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 item
11
+ ```
@@ -0,0 +1,278 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, inject, input, Directive, NgModule } from '@angular/core';
3
+ import { classes } from '@egose/shadcn-theme-ng/utils';
4
+ import { cva } from 'class-variance-authority';
5
+ import * as i1 from '@spartan-ng/brain/separator';
6
+ import { BrnSeparator } from '@spartan-ng/brain/separator';
7
+ import { hlmSeparatorClass } from '@egose/shadcn-theme-ng/separator';
8
+
9
+ const defaultConfig = {
10
+ variant: 'default',
11
+ size: 'default',
12
+ };
13
+ const HlmItemConfigToken = new InjectionToken('HlmItemConfig');
14
+ function provideHlmItemConfig(config) {
15
+ return { provide: HlmItemConfigToken, useValue: { ...defaultConfig, ...config } };
16
+ }
17
+ function injectHlmItemConfig() {
18
+ return inject(HlmItemConfigToken, { optional: true }) ?? defaultConfig;
19
+ }
20
+ const defaultMediaConfig = {
21
+ variant: 'default',
22
+ };
23
+ const HlmItemMediaConfigToken = new InjectionToken('HlmItemMediaConfig');
24
+ function provideHlmItemMediaConfig(config) {
25
+ return { provide: HlmItemMediaConfigToken, useValue: { ...defaultMediaConfig, ...config } };
26
+ }
27
+ function injectHlmItemMediaConfig() {
28
+ return inject(HlmItemMediaConfigToken, { optional: true }) ?? defaultMediaConfig;
29
+ }
30
+
31
+ const itemVariants = cva('[a]:hover:bg-muted rounded-md border text-sm group/item focus-visible:border-ring focus-visible:ring-ring/50 flex w-full flex-wrap items-center transition-colors duration-100 outline-none focus-visible:ring-[3px] [a]:transition-colors', {
32
+ variants: {
33
+ variant: {
34
+ default: 'border-transparent',
35
+ outline: 'border-border',
36
+ muted: 'bg-muted/50 border-transparent',
37
+ },
38
+ size: {
39
+ default: 'gap-3.5 px-4 py-3.5',
40
+ sm: 'gap-2.5 px-3 py-2.5',
41
+ xs: 'gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0',
42
+ },
43
+ },
44
+ defaultVariants: {
45
+ variant: 'default',
46
+ size: 'default',
47
+ },
48
+ });
49
+ class HlmItem {
50
+ _config = injectHlmItemConfig();
51
+ variant = input(this._config.variant, /* @ts-ignore */
52
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
53
+ size = input(this._config.size, /* @ts-ignore */
54
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
55
+ constructor() {
56
+ classes(() => itemVariants({ variant: this.variant(), size: this.size() }));
57
+ }
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
59
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.7", type: HlmItem, isStandalone: true, selector: "[hlmItem],hlm-item", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item" }, properties: { "attr.data-variant": "variant()", "attr.data-size": "size()" } }, ngImport: i0 });
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItem, decorators: [{
62
+ type: Directive,
63
+ args: [{
64
+ selector: '[hlmItem],hlm-item',
65
+ host: {
66
+ 'data-slot': 'item',
67
+ '[attr.data-variant]': 'variant()',
68
+ '[attr.data-size]': 'size()',
69
+ },
70
+ }]
71
+ }], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
72
+
73
+ class HlmItemActions {
74
+ constructor() {
75
+ classes(() => 'gap-2 flex items-center');
76
+ }
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemActions, isStandalone: true, selector: "[hlmItemActions],hlm-item-actions", host: { attributes: { "data-slot": "item-actions" } }, ngImport: i0 });
79
+ }
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemActions, decorators: [{
81
+ type: Directive,
82
+ args: [{
83
+ selector: '[hlmItemActions],hlm-item-actions',
84
+ host: { 'data-slot': 'item-actions' },
85
+ }]
86
+ }], ctorParameters: () => [] });
87
+
88
+ class HlmItemContent {
89
+ constructor() {
90
+ classes(() => 'gap-1 group-data-[size=xs]/item:gap-0 flex flex-1 flex-col [&+[data-slot=item-content]]:flex-none');
91
+ }
92
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
93
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemContent, isStandalone: true, selector: "[hlmItemContent],hlm-item-content", host: { attributes: { "data-slot": "item-content" } }, ngImport: i0 });
94
+ }
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemContent, decorators: [{
96
+ type: Directive,
97
+ args: [{
98
+ selector: '[hlmItemContent],hlm-item-content',
99
+ host: { 'data-slot': 'item-content' },
100
+ }]
101
+ }], ctorParameters: () => [] });
102
+
103
+ class HlmItemDescription {
104
+ constructor() {
105
+ classes(() => 'text-muted-foreground text-start text-sm leading-normal group-data-[size=xs]/item:text-xs [&>a:hover]:text-primary line-clamp-2 flex font-normal [&>a]:underline [&>a]:underline-offset-4');
106
+ }
107
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive });
108
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemDescription, isStandalone: true, selector: "[hlmItemDescription],hlm-item-description", host: { attributes: { "data-slot": "item-description" } }, ngImport: i0 });
109
+ }
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemDescription, decorators: [{
111
+ type: Directive,
112
+ args: [{
113
+ selector: '[hlmItemDescription],hlm-item-description',
114
+ host: { 'data-slot': 'item-description' },
115
+ }]
116
+ }], ctorParameters: () => [] });
117
+
118
+ class HlmItemFooter {
119
+ constructor() {
120
+ classes(() => 'gap-2 flex basis-full items-center justify-between');
121
+ }
122
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
123
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemFooter, isStandalone: true, selector: "[hlmItemFooter],hlm-item-footer", host: { attributes: { "data-slot": "item-footer" } }, ngImport: i0 });
124
+ }
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemFooter, decorators: [{
126
+ type: Directive,
127
+ args: [{
128
+ selector: '[hlmItemFooter],hlm-item-footer',
129
+ host: { 'data-slot': 'item-footer' },
130
+ }]
131
+ }], ctorParameters: () => [] });
132
+
133
+ class HlmItemGroup {
134
+ constructor() {
135
+ classes(() => 'gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2 group/item-group flex w-full flex-col');
136
+ }
137
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
138
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemGroup, isStandalone: true, selector: "[hlmItemGroup],hlm-item-group", host: { attributes: { "data-slot": "item-group" } }, ngImport: i0 });
139
+ }
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemGroup, decorators: [{
141
+ type: Directive,
142
+ args: [{
143
+ selector: '[hlmItemGroup],hlm-item-group',
144
+ host: { 'data-slot': 'item-group' },
145
+ }]
146
+ }], ctorParameters: () => [] });
147
+
148
+ class HlmItemHeader {
149
+ constructor() {
150
+ classes(() => 'gap-2 flex basis-full items-center justify-between');
151
+ }
152
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
153
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemHeader, isStandalone: true, selector: "[hlmItemHeader],hlm-item-header", host: { attributes: { "data-slot": "item-header" } }, ngImport: i0 });
154
+ }
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemHeader, decorators: [{
156
+ type: Directive,
157
+ args: [{
158
+ selector: '[hlmItemHeader],hlm-item-header',
159
+ host: { 'data-slot': 'item-header' },
160
+ }]
161
+ }], ctorParameters: () => [] });
162
+
163
+ const itemMediaVariants = cva('gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start flex shrink-0 items-center justify-center [&_ng-icon]:pointer-events-none', {
164
+ variants: {
165
+ variant: {
166
+ default: 'bg-transparent',
167
+ icon: "[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)]",
168
+ image: 'size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover',
169
+ },
170
+ },
171
+ defaultVariants: {
172
+ variant: 'default',
173
+ },
174
+ });
175
+ class HlmItemMedia {
176
+ _config = injectHlmItemMediaConfig();
177
+ variant = input(this._config.variant, /* @ts-ignore */
178
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
179
+ constructor() {
180
+ classes(() => itemMediaVariants({ variant: this.variant() }));
181
+ }
182
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive });
183
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.7", type: HlmItemMedia, isStandalone: true, selector: "[hlmItemMedia],hlm-item-media", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item-media" }, properties: { "attr.data-variant": "variant()" } }, ngImport: i0 });
184
+ }
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemMedia, decorators: [{
186
+ type: Directive,
187
+ args: [{
188
+ selector: '[hlmItemMedia],hlm-item-media',
189
+ host: {
190
+ 'data-slot': 'item-media',
191
+ '[attr.data-variant]': 'variant()',
192
+ },
193
+ }]
194
+ }], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
195
+
196
+ class HlmItemSeparator {
197
+ constructor() {
198
+ classes(() => [hlmSeparatorClass, 'my-2']);
199
+ }
200
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
201
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemSeparator, isStandalone: true, selector: "[hlmItemSeparator],hlm-item-separator", host: { attributes: { "data-slot": "item-separator" } }, hostDirectives: [{ directive: i1.BrnSeparator, inputs: ["orientation", "orientation"] }], ngImport: i0 });
202
+ }
203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemSeparator, decorators: [{
204
+ type: Directive,
205
+ args: [{
206
+ selector: '[hlmItemSeparator],hlm-item-separator',
207
+ hostDirectives: [{ directive: BrnSeparator, inputs: ['orientation'] }],
208
+ host: { 'data-slot': 'item-separator' },
209
+ }]
210
+ }], ctorParameters: () => [] });
211
+
212
+ class HlmItemTitle {
213
+ constructor() {
214
+ classes(() => 'gap-2 text-sm leading-snug font-medium underline-offset-4 line-clamp-1 flex w-fit items-center');
215
+ }
216
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
217
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmItemTitle, isStandalone: true, selector: "[hlmItemTitle],hlm-item-title", host: { attributes: { "data-slot": "item-title" } }, ngImport: i0 });
218
+ }
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemTitle, decorators: [{
220
+ type: Directive,
221
+ args: [{
222
+ selector: '[hlmItemTitle],hlm-item-title',
223
+ host: { 'data-slot': 'item-title' },
224
+ }]
225
+ }], ctorParameters: () => [] });
226
+
227
+ /*
228
+ * Public API Surface of item
229
+ */
230
+ const HlmItemImports = [
231
+ HlmItem,
232
+ HlmItemActions,
233
+ HlmItemContent,
234
+ HlmItemDescription,
235
+ HlmItemFooter,
236
+ HlmItemGroup,
237
+ HlmItemHeader,
238
+ HlmItemMedia,
239
+ HlmItemSeparator,
240
+ HlmItemTitle,
241
+ ];
242
+ class HlmItemModule {
243
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
244
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: HlmItemModule, imports: [HlmItem,
245
+ HlmItemActions,
246
+ HlmItemContent,
247
+ HlmItemDescription,
248
+ HlmItemFooter,
249
+ HlmItemGroup,
250
+ HlmItemHeader,
251
+ HlmItemMedia,
252
+ HlmItemSeparator,
253
+ HlmItemTitle], exports: [HlmItem,
254
+ HlmItemActions,
255
+ HlmItemContent,
256
+ HlmItemDescription,
257
+ HlmItemFooter,
258
+ HlmItemGroup,
259
+ HlmItemHeader,
260
+ HlmItemMedia,
261
+ HlmItemSeparator,
262
+ HlmItemTitle] });
263
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemModule });
264
+ }
265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmItemModule, decorators: [{
266
+ type: NgModule,
267
+ args: [{
268
+ imports: [...HlmItemImports],
269
+ exports: [...HlmItemImports],
270
+ }]
271
+ }] });
272
+
273
+ /**
274
+ * Generated bundle index. Do not edit.
275
+ */
276
+
277
+ export { HlmItem, HlmItemActions, HlmItemContent, HlmItemDescription, HlmItemFooter, HlmItemGroup, HlmItemHeader, HlmItemImports, HlmItemMedia, HlmItemModule, HlmItemSeparator, HlmItemTitle, injectHlmItemConfig, injectHlmItemMediaConfig, provideHlmItemConfig, provideHlmItemMediaConfig };
278
+ //# sourceMappingURL=item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.mjs","sources":["../../../projects/item/src/lib/hlm-item-token.ts","../../../projects/item/src/lib/hlm-item.ts","../../../projects/item/src/lib/hlm-item-actions.ts","../../../projects/item/src/lib/hlm-item-content.ts","../../../projects/item/src/lib/hlm-item-description.ts","../../../projects/item/src/lib/hlm-item-footer.ts","../../../projects/item/src/lib/hlm-item-group.ts","../../../projects/item/src/lib/hlm-item-header.ts","../../../projects/item/src/lib/hlm-item-media.ts","../../../projects/item/src/lib/hlm-item-separator.ts","../../../projects/item/src/lib/hlm-item-title.ts","../../../projects/item/src/public-api.ts","../../../projects/item/src/item.ts"],"sourcesContent":["import { InjectionToken, type ValueProvider, inject } from '@angular/core';\nimport type { ItemVariants } from './hlm-item';\nimport type { ItemMediaVariants } from './hlm-item-media';\n\nexport interface HlmItemConfig {\n variant: ItemVariants['variant'];\n size: ItemVariants['size'];\n}\n\nconst defaultConfig: HlmItemConfig = {\n variant: 'default',\n size: 'default',\n};\n\nconst HlmItemConfigToken = new InjectionToken<HlmItemConfig>('HlmItemConfig');\n\nexport function provideHlmItemConfig(config: Partial<HlmItemConfig>): ValueProvider {\n return { provide: HlmItemConfigToken, useValue: { ...defaultConfig, ...config } };\n}\n\nexport function injectHlmItemConfig(): HlmItemConfig {\n return inject(HlmItemConfigToken, { optional: true }) ?? defaultConfig;\n}\n\nexport interface HlmItemMediaConfig {\n variant: ItemMediaVariants['variant'];\n}\n\nconst defaultMediaConfig: HlmItemMediaConfig = {\n variant: 'default',\n};\n\nconst HlmItemMediaConfigToken = new InjectionToken<HlmItemMediaConfig>('HlmItemMediaConfig');\n\nexport function provideHlmItemMediaConfig(config: Partial<HlmItemMediaConfig>): ValueProvider {\n return { provide: HlmItemMediaConfigToken, useValue: { ...defaultMediaConfig, ...config } };\n}\n\nexport function injectHlmItemMediaConfig(): HlmItemMediaConfig {\n return inject(HlmItemMediaConfigToken, { optional: true }) ?? defaultMediaConfig;\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { injectHlmItemConfig } from './hlm-item-token';\n\nconst itemVariants = cva(\n '[a]:hover:bg-muted rounded-md border text-sm group/item focus-visible:border-ring focus-visible:ring-ring/50 flex w-full flex-wrap items-center transition-colors duration-100 outline-none focus-visible:ring-[3px] [a]:transition-colors',\n {\n variants: {\n variant: {\n default: 'border-transparent',\n outline: 'border-border',\n muted: 'bg-muted/50 border-transparent',\n },\n size: {\n default: 'gap-3.5 px-4 py-3.5',\n sm: 'gap-2.5 px-3 py-2.5',\n xs: 'gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n);\n\nexport type ItemVariants = VariantProps<typeof itemVariants>;\n\n@Directive({\n selector: '[hlmItem],hlm-item',\n host: {\n 'data-slot': 'item',\n '[attr.data-variant]': 'variant()',\n '[attr.data-size]': 'size()',\n },\n})\nexport class HlmItem {\n private readonly _config = injectHlmItemConfig();\n public readonly variant = input<ItemVariants['variant']>(this._config.variant);\n public readonly size = input<ItemVariants['size']>(this._config.size);\n\n constructor() {\n classes(() => itemVariants({ variant: this.variant(), size: this.size() }));\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemActions],hlm-item-actions',\n host: { 'data-slot': 'item-actions' },\n})\nexport class HlmItemActions {\n constructor() {\n classes(() => 'gap-2 flex items-center');\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemContent],hlm-item-content',\n host: { 'data-slot': 'item-content' },\n})\nexport class HlmItemContent {\n constructor() {\n classes(() => 'gap-1 group-data-[size=xs]/item:gap-0 flex flex-1 flex-col [&+[data-slot=item-content]]:flex-none');\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemDescription],hlm-item-description',\n host: { 'data-slot': 'item-description' },\n})\nexport class HlmItemDescription {\n constructor() {\n classes(\n () =>\n 'text-muted-foreground text-start text-sm leading-normal group-data-[size=xs]/item:text-xs [&>a:hover]:text-primary line-clamp-2 flex font-normal [&>a]:underline [&>a]:underline-offset-4',\n );\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemFooter],hlm-item-footer',\n host: { 'data-slot': 'item-footer' },\n})\nexport class HlmItemFooter {\n constructor() {\n classes(() => 'gap-2 flex basis-full items-center justify-between');\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemGroup],hlm-item-group',\n host: { 'data-slot': 'item-group' },\n})\nexport class HlmItemGroup {\n constructor() {\n classes(() => 'gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2 group/item-group flex w-full flex-col');\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemHeader],hlm-item-header',\n host: { 'data-slot': 'item-header' },\n})\nexport class HlmItemHeader {\n constructor() {\n classes(() => 'gap-2 flex basis-full items-center justify-between');\n }\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { injectHlmItemMediaConfig } from './hlm-item-token';\n\nconst itemMediaVariants = cva(\n 'gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start flex shrink-0 items-center justify-center [&_ng-icon]:pointer-events-none',\n {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)]\",\n image:\n 'size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n },\n);\nexport type ItemMediaVariants = VariantProps<typeof itemMediaVariants>;\n\n@Directive({\n selector: '[hlmItemMedia],hlm-item-media',\n host: {\n 'data-slot': 'item-media',\n '[attr.data-variant]': 'variant()',\n },\n})\nexport class HlmItemMedia {\n private readonly _config = injectHlmItemMediaConfig();\n public readonly variant = input<ItemMediaVariants['variant']>(this._config.variant);\n\n constructor() {\n classes(() => itemMediaVariants({ variant: this.variant() }));\n }\n}\n","import { Directive } from '@angular/core';\nimport { BrnSeparator } from '@spartan-ng/brain/separator';\nimport { hlmSeparatorClass } from '@egose/shadcn-theme-ng/separator';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemSeparator],hlm-item-separator',\n hostDirectives: [{ directive: BrnSeparator, inputs: ['orientation'] }],\n host: { 'data-slot': 'item-separator' },\n})\nexport class HlmItemSeparator {\n constructor() {\n classes(() => [hlmSeparatorClass, 'my-2']);\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmItemTitle],hlm-item-title',\n host: { 'data-slot': 'item-title' },\n})\nexport class HlmItemTitle {\n constructor() {\n classes(() => 'gap-2 text-sm leading-snug font-medium underline-offset-4 line-clamp-1 flex w-fit items-center');\n }\n}\n","/*\n * Public API Surface of item\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { HlmItem } from './lib/hlm-item';\nimport { HlmItemActions } from './lib/hlm-item-actions';\nimport { HlmItemContent } from './lib/hlm-item-content';\nimport { HlmItemDescription } from './lib/hlm-item-description';\nimport { HlmItemFooter } from './lib/hlm-item-footer';\nimport { HlmItemGroup } from './lib/hlm-item-group';\nimport { HlmItemHeader } from './lib/hlm-item-header';\nimport { HlmItemMedia } from './lib/hlm-item-media';\nimport { HlmItemSeparator } from './lib/hlm-item-separator';\nimport { HlmItemTitle } from './lib/hlm-item-title';\n\nexport * from './lib/hlm-item';\nexport * from './lib/hlm-item-actions';\nexport * from './lib/hlm-item-content';\nexport * from './lib/hlm-item-description';\nexport * from './lib/hlm-item-footer';\nexport * from './lib/hlm-item-group';\nexport * from './lib/hlm-item-header';\nexport * from './lib/hlm-item-media';\nexport * from './lib/hlm-item-separator';\nexport * from './lib/hlm-item-title';\nexport * from './lib/hlm-item-token';\n\nexport const HlmItemImports = [\n HlmItem,\n HlmItemActions,\n HlmItemContent,\n HlmItemDescription,\n HlmItemFooter,\n HlmItemGroup,\n HlmItemHeader,\n HlmItemMedia,\n HlmItemSeparator,\n HlmItemTitle,\n] as const;\n\n@NgModule({\n imports: [...HlmItemImports],\n exports: [...HlmItemImports],\n})\nexport class HlmItemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AASA,MAAM,aAAa,GAAkB;AACnC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,IAAI,EAAE,SAAS;CAChB;AAED,MAAM,kBAAkB,GAAG,IAAI,cAAc,CAAgB,eAAe,CAAC;AAEvE,SAAU,oBAAoB,CAAC,MAA8B,EAAA;AACjE,IAAA,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE,GAAG,aAAa,EAAE,GAAG,MAAM,EAAE,EAAE;AACnF;SAEgB,mBAAmB,GAAA;AACjC,IAAA,OAAO,MAAM,CAAC,kBAAkB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,aAAa;AACxE;AAMA,MAAM,kBAAkB,GAAuB;AAC7C,IAAA,OAAO,EAAE,SAAS;CACnB;AAED,MAAM,uBAAuB,GAAG,IAAI,cAAc,CAAqB,oBAAoB,CAAC;AAEtF,SAAU,yBAAyB,CAAC,MAAmC,EAAA;AAC3E,IAAA,OAAO,EAAE,OAAO,EAAE,uBAAuB,EAAE,QAAQ,EAAE,EAAE,GAAG,kBAAkB,EAAE,GAAG,MAAM,EAAE,EAAE;AAC7F;SAEgB,wBAAwB,GAAA;AACtC,IAAA,OAAO,MAAM,CAAC,uBAAuB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,kBAAkB;AAClF;;ACnCA,MAAM,YAAY,GAAG,GAAG,CACtB,4OAA4O,EAC5O;AACE,IAAA,QAAQ,EAAE;AACR,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,oBAAoB;AAC7B,YAAA,OAAO,EAAE,eAAe;AACxB,YAAA,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1.1"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "sideEffects": false,
13
+ "module": "fesm2022/item.mjs",
14
+ "typings": "types/item.d.ts",
15
+ "exports": {
16
+ "./package.json": {
17
+ "default": "./package.json"
18
+ },
19
+ ".": {
20
+ "types": "./types/item.d.ts",
21
+ "default": "./fesm2022/item.mjs"
22
+ }
23
+ },
24
+ "type": "module"
25
+ }