yukit-web 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/.npm/_cacache/content-v2/sha512/03/98/70979fc359861d63479e1619d042ae426b2765f31a8af329a1f76a60cd26b0159ea29bb70209838d246dd6a0a5bafc6617f597733ccae24b8f25ae597d19 +1 -0
  2. package/.npm/_cacache/index-v5/64/dc/73c7a26f2e6eb0c711133d96c247da5ecf0eba708cd37c450a7b3c7cb488 +1 -1
  3. package/.npm/_logs/{2026-08-31T12_58_48_812Z-debug-0.log → 2026-09-03T11_06_22_047Z-debug-0.log} +10 -10
  4. package/.npm/_logs/{2026-08-31T12_58_49_377Z-debug-0.log → 2026-09-03T11_06_22_642Z-debug-0.log} +2 -2
  5. package/fesm2022/yukit-web-helm-accordion.mjs +12 -12
  6. package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
  7. package/fesm2022/yukit-web-helm-alert-dialog.mjs +36 -36
  8. package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
  9. package/fesm2022/yukit-web-helm-alert.mjs +12 -12
  10. package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
  11. package/fesm2022/yukit-web-helm-aspect-ratio.mjs +3 -3
  12. package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
  13. package/fesm2022/yukit-web-helm-attachment.mjs +27 -27
  14. package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
  15. package/fesm2022/yukit-web-helm-autocomplete.mjs +36 -36
  16. package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
  17. package/fesm2022/yukit-web-helm-avatar.mjs +18 -18
  18. package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
  19. package/fesm2022/yukit-web-helm-badge.mjs +3 -3
  20. package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
  21. package/fesm2022/yukit-web-helm-breadcrumb.mjs +21 -21
  22. package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
  23. package/fesm2022/yukit-web-helm-bubble.mjs +12 -12
  24. package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
  25. package/fesm2022/yukit-web-helm-button-group.mjs +9 -9
  26. package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
  27. package/fesm2022/yukit-web-helm-button.mjs +3 -3
  28. package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
  29. package/fesm2022/yukit-web-helm-calendar.mjs +12 -12
  30. package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
  31. package/fesm2022/yukit-web-helm-card.mjs +21 -21
  32. package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
  33. package/fesm2022/yukit-web-helm-carousel.mjs +18 -18
  34. package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
  35. package/fesm2022/yukit-web-helm-checkbox.mjs +3 -3
  36. package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
  37. package/fesm2022/yukit-web-helm-collapsible.mjs +9 -9
  38. package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
  39. package/fesm2022/yukit-web-helm-combobox.mjs +63 -63
  40. package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
  41. package/fesm2022/yukit-web-helm-command.mjs +33 -33
  42. package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
  43. package/fesm2022/yukit-web-helm-context-menu.mjs +3 -3
  44. package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
  45. package/fesm2022/yukit-web-helm-date-picker.mjs +30 -30
  46. package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
  47. package/fesm2022/yukit-web-helm-dialog.mjs +33 -33
  48. package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
  49. package/fesm2022/yukit-web-helm-drawer.mjs +30 -30
  50. package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
  51. package/fesm2022/yukit-web-helm-dropdown-menu.mjs +51 -51
  52. package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
  53. package/fesm2022/yukit-web-helm-empty.mjs +18 -18
  54. package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
  55. package/fesm2022/yukit-web-helm-field.mjs +30 -30
  56. package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
  57. package/fesm2022/yukit-web-helm-hover-card.mjs +12 -12
  58. package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
  59. package/fesm2022/yukit-web-helm-input-group.mjs +18 -18
  60. package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
  61. package/fesm2022/yukit-web-helm-input-otp.mjs +15 -15
  62. package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
  63. package/fesm2022/yukit-web-helm-input.mjs +3 -3
  64. package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
  65. package/fesm2022/yukit-web-helm-item.mjs +30 -30
  66. package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
  67. package/fesm2022/yukit-web-helm-kbd.mjs +6 -6
  68. package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
  69. package/fesm2022/yukit-web-helm-label.mjs +3 -3
  70. package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
  71. package/fesm2022/yukit-web-helm-marker.mjs +9 -9
  72. package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
  73. package/fesm2022/yukit-web-helm-menubar.mjs +6 -6
  74. package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
  75. package/fesm2022/yukit-web-helm-message.mjs +18 -18
  76. package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
  77. package/fesm2022/yukit-web-helm-native-select.mjs +9 -9
  78. package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
  79. package/fesm2022/yukit-web-helm-navigation-menu.mjs +21 -21
  80. package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
  81. package/fesm2022/yukit-web-helm-pagination.mjs +27 -27
  82. package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
  83. package/fesm2022/yukit-web-helm-popover.mjs +21 -21
  84. package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
  85. package/fesm2022/yukit-web-helm-progress.mjs +6 -6
  86. package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
  87. package/fesm2022/yukit-web-helm-radio-group.mjs +9 -9
  88. package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
  89. package/fesm2022/yukit-web-helm-resizable.mjs +9 -9
  90. package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
  91. package/fesm2022/yukit-web-helm-scroll-area.mjs +3 -3
  92. package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
  93. package/fesm2022/yukit-web-helm-select.mjs +48 -48
  94. package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
  95. package/fesm2022/yukit-web-helm-separator.mjs +3 -3
  96. package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
  97. package/fesm2022/yukit-web-helm-sheet.mjs +30 -30
  98. package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
  99. package/fesm2022/yukit-web-helm-sidebar.mjs +72 -72
  100. package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
  101. package/fesm2022/yukit-web-helm-skeleton.mjs +3 -3
  102. package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
  103. package/fesm2022/yukit-web-helm-slider.mjs +3 -3
  104. package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
  105. package/fesm2022/yukit-web-helm-sonner.mjs +3 -3
  106. package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
  107. package/fesm2022/yukit-web-helm-spinner.mjs +3 -3
  108. package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
  109. package/fesm2022/yukit-web-helm-switch.mjs +6 -6
  110. package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
  111. package/fesm2022/yukit-web-helm-table.mjs +27 -27
  112. package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
  113. package/fesm2022/yukit-web-helm-tabs.mjs +18 -18
  114. package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
  115. package/fesm2022/yukit-web-helm-textarea.mjs +3 -3
  116. package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
  117. package/fesm2022/yukit-web-helm-toggle-group.mjs +6 -6
  118. package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
  119. package/fesm2022/yukit-web-helm-toggle.mjs +3 -3
  120. package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
  121. package/fesm2022/yukit-web-helm-tooltip.mjs +3 -3
  122. package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
  123. package/fesm2022/yukit-web-helm-typography.mjs +36 -36
  124. package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
  125. package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
  126. package/fesm2022/yukit-web.mjs +997 -910
  127. package/fesm2022/yukit-web.mjs.map +1 -1
  128. package/package.json +2 -2
  129. package/types/yukit-web.d.ts +315 -290
  130. package/.npm/_cacache/content-v2/sha512/91/84/7c92c9dd9c293aab175752ad46bf81644f183a08e6d676883687d9582b567e12d86c1a66d285eecd45ad523581dc28033a028ee028f51693fc126121d19f +0 -1
@@ -23,10 +23,10 @@ class HlmAspectRatio {
23
23
  } });
24
24
  classes(() => 'relative aspect-(--ratio)');
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAspectRatio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: HlmAspectRatio, isStandalone: true, selector: "[hlmAspectRatio]", inputs: { ratio: { classPropertyName: "ratio", publicName: "hlmAspectRatio", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "aspect-ratio" }, properties: { "style.--ratio": "ratio()" } }, ngImport: i0 }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAspectRatio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAspectRatio, isStandalone: true, selector: "[hlmAspectRatio]", inputs: { ratio: { classPropertyName: "ratio", publicName: "hlmAspectRatio", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "aspect-ratio" }, properties: { "style.--ratio": "ratio()" } }, ngImport: i0 }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAspectRatio, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAspectRatio, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  selector: '[hlmAspectRatio]',
@@ -1 +1 @@
1
- {"version":3,"file":"yukit-web-helm-aspect-ratio.mjs","sources":["../../../projects/yukit-web/helm/aspect-ratio/src/lib/hlm-aspect-ratio.ts","../../../projects/yukit-web/helm/aspect-ratio/src/index.ts","../../../projects/yukit-web/helm/aspect-ratio/src/yukit-web-helm-aspect-ratio.ts"],"sourcesContent":["import { type NumberInput, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\nconst parseDividedString = (value: NumberInput): NumberInput => {\n\tif (typeof value !== 'string' || !value.includes('/')) return value;\n\treturn value\n\t\t.split('/')\n\t\t.map((v) => Number.parseInt(v, 10))\n\t\t.reduce((a, b) => a / b);\n};\n\n@Directive({\n\tselector: '[hlmAspectRatio]',\n\thost: {\n\t\t'data-slot': 'aspect-ratio',\n\t\t'[style.--ratio]': 'ratio()',\n\t},\n})\nexport class HlmAspectRatio {\n\t/**\n\t * Aspect ratio of the element, defined as width / height.\n\t */\n\tpublic readonly ratio = input<number, NumberInput>(1, {\n\t\talias: 'hlmAspectRatio',\n\t\ttransform: (value: NumberInput) => {\n\t\t\tconst coerced = coerceNumberProperty(parseDividedString(value));\n\t\t\treturn coerced <= 0 ? 1 : coerced;\n\t\t},\n\t});\n\n\tconstructor() {\n\t\tclasses(() => 'relative aspect-(--ratio)');\n\t}\n}\n","import { HlmAspectRatio } from './lib/hlm-aspect-ratio';\n\nexport * from './lib/hlm-aspect-ratio';\n\nexport const HlmAspectRatioImports = [HlmAspectRatio] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA,MAAM,kBAAkB,GAAG,CAAC,KAAkB,KAAiB;IAC9D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC;AAAE,QAAA,OAAO,KAAK;AACnE,IAAA,OAAO;SACL,KAAK,CAAC,GAAG;AACT,SAAA,GAAG,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC;AACjC,SAAA,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC1B,CAAC;MASY,cAAc,CAAA;AAY1B,IAAA,WAAA,GAAA;AAXA;;AAEG;AACa,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAsB,CAAC,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,OAAA,EAAA,8BAAA,EAAA,CAAA,EACnD,KAAK,EAAE,gBAAgB;AACvB,YAAA,SAAS,EAAE,CAAC,KAAkB,KAAI;gBACjC,MAAM,OAAO,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;gBAC/D,OAAO,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO;AAClC,YAAA,CAAC,GACA;AAGD,QAAA,OAAO,CAAC,MAAM,2BAA2B,CAAC;IAC3C;8GAdY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,cAAA,EAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,SAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,IAAI,EAAE;AACL,wBAAA,WAAW,EAAE,cAAc;AAC3B,wBAAA,iBAAiB,EAAE,SAAS;AAC5B,qBAAA;AACD,iBAAA;;;ACdM,MAAM,qBAAqB,GAAG,CAAC,cAAc;;ACJpD;;AAEG;;;;"}
1
+ {"version":3,"file":"yukit-web-helm-aspect-ratio.mjs","sources":["../../../projects/yukit-web/helm/aspect-ratio/src/lib/hlm-aspect-ratio.ts","../../../projects/yukit-web/helm/aspect-ratio/src/index.ts","../../../projects/yukit-web/helm/aspect-ratio/src/yukit-web-helm-aspect-ratio.ts"],"sourcesContent":["import { type NumberInput, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\nconst parseDividedString = (value: NumberInput): NumberInput => {\n\tif (typeof value !== 'string' || !value.includes('/')) return value;\n\treturn value\n\t\t.split('/')\n\t\t.map((v) => Number.parseInt(v, 10))\n\t\t.reduce((a, b) => a / b);\n};\n\n@Directive({\n\tselector: '[hlmAspectRatio]',\n\thost: {\n\t\t'data-slot': 'aspect-ratio',\n\t\t'[style.--ratio]': 'ratio()',\n\t},\n})\nexport class HlmAspectRatio {\n\t/**\n\t * Aspect ratio of the element, defined as width / height.\n\t */\n\tpublic readonly ratio = input<number, NumberInput>(1, {\n\t\talias: 'hlmAspectRatio',\n\t\ttransform: (value: NumberInput) => {\n\t\t\tconst coerced = coerceNumberProperty(parseDividedString(value));\n\t\t\treturn coerced <= 0 ? 1 : coerced;\n\t\t},\n\t});\n\n\tconstructor() {\n\t\tclasses(() => 'relative aspect-(--ratio)');\n\t}\n}\n","import { HlmAspectRatio } from './lib/hlm-aspect-ratio';\n\nexport * from './lib/hlm-aspect-ratio';\n\nexport const HlmAspectRatioImports = [HlmAspectRatio] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA,MAAM,kBAAkB,GAAG,CAAC,KAAkB,KAAiB;IAC9D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC;AAAE,QAAA,OAAO,KAAK;AACnE,IAAA,OAAO;SACL,KAAK,CAAC,GAAG;AACT,SAAA,GAAG,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC;AACjC,SAAA,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC1B,CAAC;MASY,cAAc,CAAA;AAY1B,IAAA,WAAA,GAAA;AAXA;;AAEG;AACa,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAsB,CAAC,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,OAAA,EAAA,8BAAA,EAAA,CAAA,EACnD,KAAK,EAAE,gBAAgB;AACvB,YAAA,SAAS,EAAE,CAAC,KAAkB,KAAI;gBACjC,MAAM,OAAO,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;gBAC/D,OAAO,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO;AAClC,YAAA,CAAC,GACA;AAGD,QAAA,OAAO,CAAC,MAAM,2BAA2B,CAAC;IAC3C;+GAdY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,cAAA,EAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,SAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,IAAI,EAAE;AACL,wBAAA,WAAW,EAAE,cAAc;AAC3B,wBAAA,iBAAiB,EAAE,SAAS;AAC5B,qBAAA;AACD,iBAAA;;;ACdM,MAAM,qBAAqB,GAAG,CAAC,cAAc;;ACJpD;;AAEG;;"}
@@ -29,10 +29,10 @@ class HlmAttachment {
29
29
  this.orientation = input('horizontal', ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
30
30
  classes(() => attachmentVariants({ size: this.size(), orientation: this.orientation() }));
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachment, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: HlmAttachment, isStandalone: true, selector: "[hlmAttachment],hlm-attachment", inputs: { state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment" }, properties: { "attr.data-state": "state()", "attr.data-size": "size()", "attr.data-orientation": "orientation()" } }, ngImport: i0 }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachment, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
33
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAttachment, isStandalone: true, selector: "[hlmAttachment],hlm-attachment", inputs: { state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment" }, properties: { "attr.data-state": "state()", "attr.data-size": "size()", "attr.data-orientation": "orientation()" } }, ngImport: i0 }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachment, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachment, decorators: [{
36
36
  type: Directive,
37
37
  args: [{
38
38
  selector: '[hlmAttachment],hlm-attachment',
@@ -49,10 +49,10 @@ class HlmAttachmentAction {
49
49
  constructor() {
50
50
  this.type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
51
51
  }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentAction, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: HlmAttachmentAction, isStandalone: true, selector: "button[hlmAttachmentAction]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment-action" }, properties: { "type": "type()" } }, providers: [provideBrnButtonConfig({ variant: 'ghost', size: 'icon-xs' })], hostDirectives: [{ directive: i1.HlmButton, inputs: ["variant", "variant", "size", "size"] }], ngImport: i0 }); }
52
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentAction, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAttachmentAction, isStandalone: true, selector: "button[hlmAttachmentAction]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment-action" }, properties: { "type": "type()" } }, providers: [provideBrnButtonConfig({ variant: 'ghost', size: 'icon-xs' })], hostDirectives: [{ directive: i1.HlmButton, inputs: ["variant", "variant", "size", "size"] }], ngImport: i0 }); }
54
54
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentAction, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentAction, decorators: [{
56
56
  type: Directive,
57
57
  args: [{
58
58
  selector: 'button[hlmAttachmentAction]',
@@ -69,10 +69,10 @@ class HlmAttachmentActions {
69
69
  constructor() {
70
70
  classes(() => 'shrink-0 items-center relative z-20 flex group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:end-3 group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:gap-1');
71
71
  }
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAttachmentActions, isStandalone: true, selector: "[hlmAttachmentActions],hlm-attachment-actions", host: { attributes: { "data-slot": "attachment-actions" } }, ngImport: i0 }); }
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAttachmentActions, isStandalone: true, selector: "[hlmAttachmentActions],hlm-attachment-actions", host: { attributes: { "data-slot": "attachment-actions" } }, ngImport: i0 }); }
74
74
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentActions, decorators: [{
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentActions, decorators: [{
76
76
  type: Directive,
77
77
  args: [{
78
78
  selector: '[hlmAttachmentActions],hlm-attachment-actions',
@@ -84,10 +84,10 @@ class HlmAttachmentContent {
84
84
  constructor() {
85
85
  classes(() => 'min-w-0 flex-1 leading-tight max-w-full group-data-[orientation=vertical]/attachment:px-1');
86
86
  }
87
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
88
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAttachmentContent, isStandalone: true, selector: "[hlmAttachmentContent],hlm-attachment-content", host: { attributes: { "data-slot": "attachment-content" } }, ngImport: i0 }); }
87
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
88
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAttachmentContent, isStandalone: true, selector: "[hlmAttachmentContent],hlm-attachment-content", host: { attributes: { "data-slot": "attachment-content" } }, ngImport: i0 }); }
89
89
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentContent, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentContent, decorators: [{
91
91
  type: Directive,
92
92
  args: [{
93
93
  selector: '[hlmAttachmentContent],hlm-attachment-content',
@@ -99,10 +99,10 @@ class HlmAttachmentDescription {
99
99
  constructor() {
100
100
  classes(() => 'text-muted-foreground mt-0.5 truncate text-xs group-data-[state=error]/attachment:text-destructive/80 block max-w-full min-w-0');
101
101
  }
102
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
103
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAttachmentDescription, isStandalone: true, selector: "[hlmAttachmentDescription],hlm-attachment-description", host: { attributes: { "data-slot": "attachment-description" } }, ngImport: i0 }); }
102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
103
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAttachmentDescription, isStandalone: true, selector: "[hlmAttachmentDescription],hlm-attachment-description", host: { attributes: { "data-slot": "attachment-description" } }, ngImport: i0 }); }
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentDescription, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentDescription, decorators: [{
106
106
  type: Directive,
107
107
  args: [{
108
108
  selector: '[hlmAttachmentDescription],hlm-attachment-description',
@@ -114,10 +114,10 @@ class HlmAttachmentGroup {
114
114
  constructor() {
115
115
  classes(() => 'scroll-fade-x no-scrollbar flex min-w-0 snap-x snap-mandatory scroll-px-1 gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start');
116
116
  }
117
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
118
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAttachmentGroup, isStandalone: true, selector: "[hlmAttachmentGroup],hlm-attachment-group", host: { attributes: { "data-slot": "attachment-group" } }, ngImport: i0 }); }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
118
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAttachmentGroup, isStandalone: true, selector: "[hlmAttachmentGroup],hlm-attachment-group", host: { attributes: { "data-slot": "attachment-group" } }, ngImport: i0 }); }
119
119
  }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentGroup, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentGroup, decorators: [{
121
121
  type: Directive,
122
122
  args: [{
123
123
  selector: '[hlmAttachmentGroup],hlm-attachment-group',
@@ -141,10 +141,10 @@ class HlmAttachmentMedia {
141
141
  this.variant = input('icon', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
142
142
  classes(() => attachmentMediaVariants({ variant: this.variant() }));
143
143
  }
144
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
145
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: HlmAttachmentMedia, isStandalone: true, selector: "[hlmAttachmentMedia],hlm-attachment-media", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment-media" }, properties: { "attr.data-variant": "variant()" } }, ngImport: i0 }); }
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
145
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAttachmentMedia, isStandalone: true, selector: "[hlmAttachmentMedia],hlm-attachment-media", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment-media" }, properties: { "attr.data-variant": "variant()" } }, ngImport: i0 }); }
146
146
  }
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentMedia, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentMedia, decorators: [{
148
148
  type: Directive,
149
149
  args: [{
150
150
  selector: '[hlmAttachmentMedia],hlm-attachment-media',
@@ -159,10 +159,10 @@ class HlmAttachmentTitle {
159
159
  constructor() {
160
160
  classes(() => 'truncate text-sm font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer block max-w-full min-w-0');
161
161
  }
162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
163
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAttachmentTitle, isStandalone: true, selector: "[hlmAttachmentTitle],hlm-attachment-title", host: { attributes: { "data-slot": "attachment-title" } }, ngImport: i0 }); }
162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
163
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAttachmentTitle, isStandalone: true, selector: "[hlmAttachmentTitle],hlm-attachment-title", host: { attributes: { "data-slot": "attachment-title" } }, ngImport: i0 }); }
164
164
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentTitle, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentTitle, decorators: [{
166
166
  type: Directive,
167
167
  args: [{
168
168
  selector: '[hlmAttachmentTitle],hlm-attachment-title',
@@ -177,10 +177,10 @@ class HlmAttachmentTrigger {
177
177
  this._hostType = computed(() => this._elementRef.nativeElement.localName === 'button' ? this.type() : null, ...(ngDevMode ? [{ debugName: "_hostType" }] : /* istanbul ignore next */ []));
178
178
  classes(() => 'absolute inset-0 z-10 outline-none');
179
179
  }
180
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
181
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: HlmAttachmentTrigger, isStandalone: true, selector: "button[hlmAttachmentTrigger],a[hlmAttachmentTrigger]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment-trigger" }, properties: { "attr.type": "_hostType()" } }, ngImport: i0 }); }
180
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
181
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmAttachmentTrigger, isStandalone: true, selector: "button[hlmAttachmentTrigger],a[hlmAttachmentTrigger]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "attachment-trigger" }, properties: { "attr.type": "_hostType()" } }, ngImport: i0 }); }
182
182
  }
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAttachmentTrigger, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAttachmentTrigger, decorators: [{
184
184
  type: Directive,
185
185
  args: [{
186
186
  selector: 'button[hlmAttachmentTrigger],a[hlmAttachmentTrigger]',
@@ -1 +1 @@
1
- {"version":3,"file":"yukit-web-helm-attachment.mjs","sources":["../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-action.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-actions.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-content.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-description.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-group.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-media.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-title.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-trigger.ts","../../../projects/yukit-web/helm/attachment/src/index.ts","../../../projects/yukit-web/helm/attachment/src/yukit-web-helm-attachment.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst attachmentVariants = cva(\n\t'bg-card text-card-foreground rounded-xl border group/attachment focus-within:ring-ring/50 has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap transition-colors focus-within:ring-1 data-[state=idle]:border-dashed',\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tdefault:\n\t\t\t\t\t'gap-2 text-sm has-data-[slot=attachment-content]:px-2.5 has-data-[slot=attachment-content]:py-2 has-data-[slot=attachment-media]:p-2',\n\t\t\t\tsm: 'gap-2.5 text-xs has-data-[slot=attachment-content]:px-2 has-data-[slot=attachment-content]:py-1.5 has-data-[slot=attachment-media]:p-1.5',\n\t\t\t\txs: 'rounded-lg gap-1.5 text-xs has-data-[slot=attachment-content]:px-1.5 has-data-[slot=attachment-content]:py-1 has-data-[slot=attachment-media]:p-1',\n\t\t\t},\n\t\t\torientation: {\n\t\t\t\thorizontal: 'min-w-40 items-center',\n\t\t\t\tvertical: 'w-24 flex-col has-data-[slot=attachment-content]:w-30',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tsize: 'default',\n\t\t\torientation: 'horizontal',\n\t\t},\n\t},\n);\n\nexport type AttachmentVariants = VariantProps<typeof attachmentVariants>;\nexport type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';\n\n@Directive({\n\tselector: '[hlmAttachment],hlm-attachment',\n\thost: {\n\t\t'data-slot': 'attachment',\n\t\t'[attr.data-state]': 'state()',\n\t\t'[attr.data-size]': 'size()',\n\t\t'[attr.data-orientation]': 'orientation()',\n\t},\n})\nexport class HlmAttachment {\n\tpublic readonly state = input<AttachmentState>('done');\n\tpublic readonly size = input<AttachmentVariants['size']>('default');\n\tpublic readonly orientation = input<AttachmentVariants['orientation']>('horizontal');\n\n\tconstructor() {\n\t\tclasses(() => attachmentVariants({ size: this.size(), orientation: this.orientation() }));\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { HlmButton, provideBrnButtonConfig } from 'yukit-web/helm/button';\n\n@Directive({\n\tselector: 'button[hlmAttachmentAction]',\n\tproviders: [provideBrnButtonConfig({ variant: 'ghost', size: 'icon-xs' })],\n\thostDirectives: [{ directive: HlmButton, inputs: ['variant', 'size'] }],\n\thost: {\n\t\t'data-slot': 'attachment-action',\n\t\t'[type]': 'type()',\n\t},\n})\nexport class HlmAttachmentAction {\n\tpublic readonly type = input<'button' | 'submit' | 'reset'>('button');\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentActions],hlm-attachment-actions',\n\thost: { 'data-slot': 'attachment-actions' },\n})\nexport class HlmAttachmentActions {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'shrink-0 items-center relative z-20 flex group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:end-3 group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:gap-1',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentContent],hlm-attachment-content',\n\thost: { 'data-slot': 'attachment-content' },\n})\nexport class HlmAttachmentContent {\n\tconstructor() {\n\t\tclasses(() => 'min-w-0 flex-1 leading-tight max-w-full group-data-[orientation=vertical]/attachment:px-1');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentDescription],hlm-attachment-description',\n\thost: { 'data-slot': 'attachment-description' },\n})\nexport class HlmAttachmentDescription {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'text-muted-foreground mt-0.5 truncate text-xs group-data-[state=error]/attachment:text-destructive/80 block max-w-full min-w-0',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentGroup],hlm-attachment-group',\n\thost: { 'data-slot': 'attachment-group' },\n})\nexport class HlmAttachmentGroup {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'scroll-fade-x no-scrollbar flex min-w-0 snap-x snap-mandatory scroll-px-1 gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start',\n\t\t);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst attachmentMediaVariants = cva(\n\t\"bg-muted text-foreground w-10 rounded-lg group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive relative flex aspect-square shrink-0 items-center justify-center overflow-hidden group-data-[orientation=vertical]/attachment:w-full group-data-[size=sm]/attachment:w-8 group-data-[size=xs]/attachment:w-7 [&_ng-icon]:pointer-events-none [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] group-data-[orientation=vertical]/attachment:[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(6)] group-data-[size=xs]/attachment:[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]\",\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\ticon: 'bg-muted',\n\t\t\t\timage: 'opacity-60 group-data-[state=done]/attachment:opacity-100 group-data-[state=idle]/attachment:opacity-100 *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: 'icon',\n\t\t},\n\t},\n);\n\nexport type AttachmentMediaVariants = VariantProps<typeof attachmentMediaVariants>;\n\n@Directive({\n\tselector: '[hlmAttachmentMedia],hlm-attachment-media',\n\thost: {\n\t\t'data-slot': 'attachment-media',\n\t\t'[attr.data-variant]': 'variant()',\n\t},\n})\nexport class HlmAttachmentMedia {\n\tpublic readonly variant = input<AttachmentMediaVariants['variant']>('icon');\n\n\tconstructor() {\n\t\tclasses(() => attachmentMediaVariants({ variant: this.variant() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentTitle],hlm-attachment-title',\n\thost: { 'data-slot': 'attachment-title' },\n})\nexport class HlmAttachmentTitle {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'truncate text-sm font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer block max-w-full min-w-0',\n\t\t);\n\t}\n}\n","import { computed, Directive, ElementRef, inject, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'button[hlmAttachmentTrigger],a[hlmAttachmentTrigger]',\n\thost: {\n\t\t'data-slot': 'attachment-trigger',\n\t\t'[attr.type]': '_hostType()',\n\t},\n})\nexport class HlmAttachmentTrigger {\n\tprivate readonly _elementRef = inject(ElementRef<HTMLElement>);\n\n\tpublic readonly type = input<'button' | 'submit' | 'reset' | null>('button');\n\n\tprotected readonly _hostType = computed(() =>\n\t\tthis._elementRef.nativeElement.localName === 'button' ? this.type() : null,\n\t);\n\n\tconstructor() {\n\t\tclasses(() => 'absolute inset-0 z-10 outline-none');\n\t}\n}\n","import { HlmAttachment } from './lib/hlm-attachment';\nimport { HlmAttachmentAction } from './lib/hlm-attachment-action';\nimport { HlmAttachmentActions } from './lib/hlm-attachment-actions';\nimport { HlmAttachmentContent } from './lib/hlm-attachment-content';\nimport { HlmAttachmentDescription } from './lib/hlm-attachment-description';\nimport { HlmAttachmentGroup } from './lib/hlm-attachment-group';\nimport { HlmAttachmentMedia } from './lib/hlm-attachment-media';\nimport { HlmAttachmentTitle } from './lib/hlm-attachment-title';\nimport { HlmAttachmentTrigger } from './lib/hlm-attachment-trigger';\n\nexport * from './lib/hlm-attachment';\nexport * from './lib/hlm-attachment-action';\nexport * from './lib/hlm-attachment-actions';\nexport * from './lib/hlm-attachment-content';\nexport * from './lib/hlm-attachment-description';\nexport * from './lib/hlm-attachment-group';\nexport * from './lib/hlm-attachment-media';\nexport * from './lib/hlm-attachment-title';\nexport * from './lib/hlm-attachment-trigger';\n\nexport const HlmAttachmentImports = [\n\tHlmAttachment,\n\tHlmAttachmentAction,\n\tHlmAttachmentActions,\n\tHlmAttachmentContent,\n\tHlmAttachmentDescription,\n\tHlmAttachmentGroup,\n\tHlmAttachmentMedia,\n\tHlmAttachmentTitle,\n\tHlmAttachmentTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAIA,MAAM,kBAAkB,GAAG,GAAG,CAC7B,uSAAuS,EACvS;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,IAAI,EAAE;AACL,YAAA,OAAO,EACN,sIAAsI;AACvI,YAAA,EAAE,EAAE,0IAA0I;AAC9I,YAAA,EAAE,EAAE,mJAAmJ;AACvJ,SAAA;AACD,QAAA,WAAW,EAAE;AACZ,YAAA,UAAU,EAAE,uBAAuB;AACnC,YAAA,QAAQ,EAAE,uDAAuD;AACjE,SAAA;AACD,KAAA;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m-attachment.mjs","sources":["../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-action.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-actions.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-content.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-description.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-group.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-media.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-title.ts","../../../projects/yukit-web/helm/attachment/src/lib/hlm-attachment-trigger.ts","../../../projects/yukit-web/helm/attachment/src/index.ts","../../../projects/yukit-web/helm/attachment/src/yukit-web-helm-attachment.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst attachmentVariants = cva(\n\t'bg-card text-card-foreground rounded-xl border group/attachment focus-within:ring-ring/50 has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap transition-colors focus-within:ring-1 data-[state=idle]:border-dashed',\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tdefault:\n\t\t\t\t\t'gap-2 text-sm has-data-[slot=attachment-content]:px-2.5 has-data-[slot=attachment-content]:py-2 has-data-[slot=attachment-media]:p-2',\n\t\t\t\tsm: 'gap-2.5 text-xs has-data-[slot=attachment-content]:px-2 has-data-[slot=attachment-content]:py-1.5 has-data-[slot=attachment-media]:p-1.5',\n\t\t\t\txs: 'rounded-lg gap-1.5 text-xs has-data-[slot=attachment-content]:px-1.5 has-data-[slot=attachment-content]:py-1 has-data-[slot=attachment-media]:p-1',\n\t\t\t},\n\t\t\torientation: {\n\t\t\t\thorizontal: 'min-w-40 items-center',\n\t\t\t\tvertical: 'w-24 flex-col has-data-[slot=attachment-content]:w-30',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tsize: 'default',\n\t\t\torientation: 'horizontal',\n\t\t},\n\t},\n);\n\nexport type AttachmentVariants = VariantProps<typeof attachmentVariants>;\nexport type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';\n\n@Directive({\n\tselector: '[hlmAttachment],hlm-attachment',\n\thost: {\n\t\t'data-slot': 'attachment',\n\t\t'[attr.data-state]': 'state()',\n\t\t'[attr.data-size]': 'size()',\n\t\t'[attr.data-orientation]': 'orientation()',\n\t},\n})\nexport class HlmAttachment {\n\tpublic readonly state = input<AttachmentState>('done');\n\tpublic readonly size = input<AttachmentVariants['size']>('default');\n\tpublic readonly orientation = input<AttachmentVariants['orientation']>('horizontal');\n\n\tconstructor() {\n\t\tclasses(() => attachmentVariants({ size: this.size(), orientation: this.orientation() }));\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { HlmButton, provideBrnButtonConfig } from 'yukit-web/helm/button';\n\n@Directive({\n\tselector: 'button[hlmAttachmentAction]',\n\tproviders: [provideBrnButtonConfig({ variant: 'ghost', size: 'icon-xs' })],\n\thostDirectives: [{ directive: HlmButton, inputs: ['variant', 'size'] }],\n\thost: {\n\t\t'data-slot': 'attachment-action',\n\t\t'[type]': 'type()',\n\t},\n})\nexport class HlmAttachmentAction {\n\tpublic readonly type = input<'button' | 'submit' | 'reset'>('button');\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentActions],hlm-attachment-actions',\n\thost: { 'data-slot': 'attachment-actions' },\n})\nexport class HlmAttachmentActions {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'shrink-0 items-center relative z-20 flex group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:end-3 group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:gap-1',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentContent],hlm-attachment-content',\n\thost: { 'data-slot': 'attachment-content' },\n})\nexport class HlmAttachmentContent {\n\tconstructor() {\n\t\tclasses(() => 'min-w-0 flex-1 leading-tight max-w-full group-data-[orientation=vertical]/attachment:px-1');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentDescription],hlm-attachment-description',\n\thost: { 'data-slot': 'attachment-description' },\n})\nexport class HlmAttachmentDescription {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'text-muted-foreground mt-0.5 truncate text-xs group-data-[state=error]/attachment:text-destructive/80 block max-w-full min-w-0',\n\t\t);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentGroup],hlm-attachment-group',\n\thost: { 'data-slot': 'attachment-group' },\n})\nexport class HlmAttachmentGroup {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'scroll-fade-x no-scrollbar flex min-w-0 snap-x snap-mandatory scroll-px-1 gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start',\n\t\t);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst attachmentMediaVariants = cva(\n\t\"bg-muted text-foreground w-10 rounded-lg group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive relative flex aspect-square shrink-0 items-center justify-center overflow-hidden group-data-[orientation=vertical]/attachment:w-full group-data-[size=sm]/attachment:w-8 group-data-[size=xs]/attachment:w-7 [&_ng-icon]:pointer-events-none [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] group-data-[orientation=vertical]/attachment:[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(6)] group-data-[size=xs]/attachment:[&_ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]\",\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\ticon: 'bg-muted',\n\t\t\t\timage: 'opacity-60 group-data-[state=done]/attachment:opacity-100 group-data-[state=idle]/attachment:opacity-100 *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: 'icon',\n\t\t},\n\t},\n);\n\nexport type AttachmentMediaVariants = VariantProps<typeof attachmentMediaVariants>;\n\n@Directive({\n\tselector: '[hlmAttachmentMedia],hlm-attachment-media',\n\thost: {\n\t\t'data-slot': 'attachment-media',\n\t\t'[attr.data-variant]': 'variant()',\n\t},\n})\nexport class HlmAttachmentMedia {\n\tpublic readonly variant = input<AttachmentMediaVariants['variant']>('icon');\n\n\tconstructor() {\n\t\tclasses(() => attachmentMediaVariants({ variant: this.variant() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmAttachmentTitle],hlm-attachment-title',\n\thost: { 'data-slot': 'attachment-title' },\n})\nexport class HlmAttachmentTitle {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'truncate text-sm font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer block max-w-full min-w-0',\n\t\t);\n\t}\n}\n","import { computed, Directive, ElementRef, inject, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'button[hlmAttachmentTrigger],a[hlmAttachmentTrigger]',\n\thost: {\n\t\t'data-slot': 'attachment-trigger',\n\t\t'[attr.type]': '_hostType()',\n\t},\n})\nexport class HlmAttachmentTrigger {\n\tprivate readonly _elementRef = inject(ElementRef<HTMLElement>);\n\n\tpublic readonly type = input<'button' | 'submit' | 'reset' | null>('button');\n\n\tprotected readonly _hostType = computed(() =>\n\t\tthis._elementRef.nativeElement.localName === 'button' ? this.type() : null,\n\t);\n\n\tconstructor() {\n\t\tclasses(() => 'absolute inset-0 z-10 outline-none');\n\t}\n}\n","import { HlmAttachment } from './lib/hlm-attachment';\nimport { HlmAttachmentAction } from './lib/hlm-attachment-action';\nimport { HlmAttachmentActions } from './lib/hlm-attachment-actions';\nimport { HlmAttachmentContent } from './lib/hlm-attachment-content';\nimport { HlmAttachmentDescription } from './lib/hlm-attachment-description';\nimport { HlmAttachmentGroup } from './lib/hlm-attachment-group';\nimport { HlmAttachmentMedia } from './lib/hlm-attachment-media';\nimport { HlmAttachmentTitle } from './lib/hlm-attachment-title';\nimport { HlmAttachmentTrigger } from './lib/hlm-attachment-trigger';\n\nexport * from './lib/hlm-attachment';\nexport * from './lib/hlm-attachment-action';\nexport * from './lib/hlm-attachment-actions';\nexport * from './lib/hlm-attachment-content';\nexport * from './lib/hlm-attachment-description';\nexport * from './lib/hlm-attachment-group';\nexport * from './lib/hlm-attachment-media';\nexport * from './lib/hlm-attachment-title';\nexport * from './lib/hlm-attachment-trigger';\n\nexport const HlmAttachmentImports = [\n\tHlmAttachment,\n\tHlmAttachmentAction,\n\tHlmAttachmentActions,\n\tHlmAttachmentContent,\n\tHlmAttachmentDescription,\n\tHlmAttachmentGroup,\n\tHlmAttachmentMedia,\n\tHlmAttachmentTitle,\n\tHlmAttachmentTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAIA,MAAM,kBAAkB,GAAG,GAAG,CAC7B,uSAAuS,EACvS;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,IAAI,EAAE;AACL,YAAA,OAAO,EACN,sIAAsI;AACvI,YAAA,EAAE,EAAE,0IAA0I;AAC9I,YAAA,EAAE,EAAE,mJAAmJ;AACvJ,SAAA;AACD,QAAA,WAAW,EAAE;AACZ,YAAA,UAAU,EAAE,uBAAuB;AACnC,Y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;AC7BrB;;AAEG;;"}
@@ -14,8 +14,8 @@ class HlmAutocomplete {
14
14
  constructor() {
15
15
  classes(() => 'block');
16
16
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocomplete, isStandalone: true, selector: "[hlmAutocomplete],hlm-autocomplete", host: { attributes: { "data-slot": "autocomplete" } }, providers: [
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocomplete, isStandalone: true, selector: "[hlmAutocomplete],hlm-autocomplete", host: { attributes: { "data-slot": "autocomplete" } }, providers: [
19
19
  provideBrnPopoverConfig({
20
20
  align: 'start',
21
21
  sideOffset: 6,
@@ -23,7 +23,7 @@ class HlmAutocomplete {
23
23
  provideBrnPopoverDefaultOptions({ role: null }),
24
24
  ], hostDirectives: [{ directive: i1.BrnAutocomplete, inputs: ["autoHighlight", "autoHighlight", "disabled", "disabled", "value", "value", "search", "search", "itemToString", "itemToString", "isItemEqualToValue", "isItemEqualToValue"], outputs: ["valueChange", "valueChange", "searchChange", "searchChange"] }, { directive: i2.BrnPopover, inputs: ["align", "align", "closeOnOutsidePointerEvents", "closeOnOutsidePointerEvents", "sideOffset", "sideOffset", "state", "state", "offsetX", "offsetX"], outputs: ["stateChanged", "stateChanged", "closed", "closed"] }], ngImport: i0 }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocomplete, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocomplete, decorators: [{
27
27
  type: Directive,
28
28
  args: [{
29
29
  selector: '[hlmAutocomplete],hlm-autocomplete',
@@ -54,10 +54,10 @@ class HlmAutocompleteContent {
54
54
  constructor() {
55
55
  classes(() => 'bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 max-h-72 min-w-36 overflow-hidden rounded-lg shadow-md ring-1 duration-100 group/autocomplete-content flex w-(--brn-autocomplete-width) flex-col p-0');
56
56
  }
57
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
58
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteContent, isStandalone: true, selector: "[hlmAutocompleteContent],hlm-autocomplete-content", hostDirectives: [{ directive: i1.BrnAutocompleteContent }], ngImport: i0 }); }
57
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
58
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteContent, isStandalone: true, selector: "[hlmAutocompleteContent],hlm-autocomplete-content", hostDirectives: [{ directive: i1.BrnAutocompleteContent }], ngImport: i0 }); }
59
59
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteContent, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteContent, decorators: [{
61
61
  type: Directive,
62
62
  args: [{
63
63
  selector: '[hlmAutocompleteContent],hlm-autocomplete-content',
@@ -69,10 +69,10 @@ class HlmAutocompleteEmpty {
69
69
  constructor() {
70
70
  classes(() => 'text-muted-foreground hidden w-full items-center justify-center py-2 text-center text-sm group-data-empty/autocomplete-content:flex');
71
71
  }
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteEmpty, isStandalone: true, selector: "[hlmAutocompleteEmpty],hlm-autocomplete-empty", host: { attributes: { "data-slot": "autocomplete-empty" } }, hostDirectives: [{ directive: i1.BrnAutocompleteEmpty }], ngImport: i0 }); }
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteEmpty, isStandalone: true, selector: "[hlmAutocompleteEmpty],hlm-autocomplete-empty", host: { attributes: { "data-slot": "autocomplete-empty" } }, hostDirectives: [{ directive: i1.BrnAutocompleteEmpty }], ngImport: i0 }); }
74
74
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteEmpty, decorators: [{
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteEmpty, decorators: [{
76
76
  type: Directive,
77
77
  args: [{
78
78
  selector: '[hlmAutocompleteEmpty],hlm-autocomplete-empty',
@@ -85,10 +85,10 @@ class HlmAutocompleteGroup {
85
85
  constructor() {
86
86
  classes(() => 'data-hidden:hidden');
87
87
  }
88
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
89
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteGroup, isStandalone: true, selector: "[hlmAutocompleteGroup]", host: { attributes: { "data-slot": "autocomplete-group" } }, hostDirectives: [{ directive: i1.BrnAutocompleteGroup }], ngImport: i0 }); }
88
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
89
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteGroup, isStandalone: true, selector: "[hlmAutocompleteGroup]", host: { attributes: { "data-slot": "autocomplete-group" } }, hostDirectives: [{ directive: i1.BrnAutocompleteGroup }], ngImport: i0 }); }
90
90
  }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteGroup, decorators: [{
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteGroup, decorators: [{
92
92
  type: Directive,
93
93
  args: [{
94
94
  selector: '[hlmAutocompleteGroup]',
@@ -111,8 +111,8 @@ class HlmAutocompleteInput {
111
111
  alias: 'aria-invalid' });
112
112
  classes(() => 'w-auto');
113
113
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: HlmAutocompleteInput, isStandalone: true, selector: "hlm-autocomplete-input", inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, forceInvalid: { classPropertyName: "forceInvalid", publicName: "forceInvalid", isSignal: true, isRequired: false, transformFunction: null }, ariaInvalidOverride: { classPropertyName: "ariaInvalidOverride", publicName: "aria-invalid", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ lucideSearch, lucideX })], hostDirectives: [{ directive: i1.BrnAutocompleteAnchor }, { directive: i2$1.HlmInputGroup }], ngImport: i0, template: `
114
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
115
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HlmAutocompleteInput, isStandalone: true, selector: "hlm-autocomplete-input", inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, forceInvalid: { classPropertyName: "forceInvalid", publicName: "forceInvalid", isSignal: true, isRequired: false, transformFunction: null }, ariaInvalidOverride: { classPropertyName: "ariaInvalidOverride", publicName: "aria-invalid", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ lucideSearch, lucideX })], hostDirectives: [{ directive: i1.BrnAutocompleteAnchor }, { directive: i2$1.HlmInputGroup }], ngImport: i0, template: `
116
116
  <input
117
117
  brnAutocompleteInput
118
118
  #autocompleteInput="brnAutocompleteInput"
@@ -146,7 +146,7 @@ class HlmAutocompleteInput {
146
146
  <ng-content />
147
147
  `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.HlmInputGroupAddon, selector: "[hlmInputGroupAddon],hlm-input-group-addon", inputs: ["align"] }, { kind: "directive", type: i2$1.HlmInputGroupButton, selector: "button[hlmInputGroupButton]", inputs: ["size", "type"] }, { kind: "directive", type: i2$1.HlmInputGroupInput, selector: "input[hlmInputGroupInput]" }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "directive", type: BrnAutocompleteClear, selector: "[brnAutocompleteClear]" }, { kind: "directive", type: BrnAutocompleteInput, selector: "input[brnAutocompleteInput]", inputs: ["id", "aria-invalid", "forceInvalid"], exportAs: ["brnAutocompleteInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
148
148
  }
149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteInput, decorators: [{
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteInput, decorators: [{
150
150
  type: Component,
151
151
  args: [{
152
152
  selector: 'hlm-autocomplete-input',
@@ -196,15 +196,15 @@ class HlmAutocompleteItem {
196
196
  this._active = this._brnAutocompleteItem.active;
197
197
  classes(() => 'data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-md py-1 ps-1.5 pe-8 text-sm relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-hidden:hidden [&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0');
198
198
  }
199
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
200
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: HlmAutocompleteItem, isStandalone: true, selector: "hlm-autocomplete-item", host: { attributes: { "data-slot": "autocomplete-item" } }, providers: [provideIcons({ lucideCheck })], hostDirectives: [{ directive: i1.BrnAutocompleteItem, inputs: ["id", "id", "disabled", "disabled", "value", "value"] }], ngImport: i0, template: `
199
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
200
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HlmAutocompleteItem, isStandalone: true, selector: "hlm-autocomplete-item", host: { attributes: { "data-slot": "autocomplete-item" } }, providers: [provideIcons({ lucideCheck })], hostDirectives: [{ directive: i1.BrnAutocompleteItem, inputs: ["id", "id", "disabled", "disabled", "value", "value"] }], ngImport: i0, template: `
201
201
  <ng-content />
202
202
  @if (_active()) {
203
203
  <ng-icon name="lucideCheck" class="absolute end-2 flex items-center justify-center text-[length:--spacing(4)]" aria-hidden="true" />
204
204
  }
205
205
  `, isInline: true, dependencies: [{ kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
206
206
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteItem, decorators: [{
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteItem, decorators: [{
208
208
  type: Component,
209
209
  args: [{
210
210
  selector: 'hlm-autocomplete-item',
@@ -226,10 +226,10 @@ class HlmAutocompleteLabel {
226
226
  constructor() {
227
227
  classes(() => 'text-muted-foreground px-2 py-1.5 text-xs');
228
228
  }
229
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
230
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteLabel, isStandalone: true, selector: "[hlmAutocompleteLabel]", host: { attributes: { "data-slot": "autocomplete-label" } }, hostDirectives: [{ directive: i1.BrnAutocompleteLabel, inputs: ["id", "id"] }], ngImport: i0 }); }
229
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
230
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteLabel, isStandalone: true, selector: "[hlmAutocompleteLabel]", host: { attributes: { "data-slot": "autocomplete-label" } }, hostDirectives: [{ directive: i1.BrnAutocompleteLabel, inputs: ["id", "id"] }], ngImport: i0 }); }
231
231
  }
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteLabel, decorators: [{
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteLabel, decorators: [{
233
233
  type: Directive,
234
234
  args: [{
235
235
  selector: '[hlmAutocompleteLabel]',
@@ -242,10 +242,10 @@ class HlmAutocompleteList {
242
242
  constructor() {
243
243
  classes(() => 'no-scrollbar max-h-[calc(--spacing(72)---spacing(9))] scroll-py-1 p-1 data-empty:p-0 overflow-y-auto overscroll-contain');
244
244
  }
245
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteList, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
246
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteList, isStandalone: true, selector: "[hlmAutocompleteList]", host: { attributes: { "data-slot": "autocomplete-list" } }, hostDirectives: [{ directive: i1.BrnAutocompleteList, inputs: ["id", "id"] }], ngImport: i0 }); }
245
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteList, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
246
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteList, isStandalone: true, selector: "[hlmAutocompleteList]", host: { attributes: { "data-slot": "autocomplete-list" } }, hostDirectives: [{ directive: i1.BrnAutocompleteList, inputs: ["id", "id"] }], ngImport: i0 }); }
247
247
  }
248
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteList, decorators: [{
248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteList, decorators: [{
249
249
  type: Directive,
250
250
  args: [{
251
251
  selector: '[hlmAutocompleteList]',
@@ -255,10 +255,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
255
255
  }], ctorParameters: () => [] });
256
256
 
257
257
  class HlmAutocompletePortal {
258
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompletePortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
259
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompletePortal, isStandalone: true, selector: "[hlmAutocompletePortal]", hostDirectives: [{ directive: i2.BrnPopoverContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
258
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompletePortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
259
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompletePortal, isStandalone: true, selector: "[hlmAutocompletePortal]", hostDirectives: [{ directive: i2.BrnPopoverContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
260
260
  }
261
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompletePortal, decorators: [{
261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompletePortal, decorators: [{
262
262
  type: Directive,
263
263
  args: [{
264
264
  selector: '[hlmAutocompletePortal]',
@@ -270,8 +270,8 @@ class HlmAutocompleteSearch {
270
270
  constructor() {
271
271
  classes(() => 'block');
272
272
  }
273
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteSearch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
274
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteSearch, isStandalone: true, selector: "[hlmAutocompleteSearch],hlm-autocomplete-search", host: { attributes: { "data-slot": "autocomplete" } }, providers: [
273
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteSearch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
274
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteSearch, isStandalone: true, selector: "[hlmAutocompleteSearch],hlm-autocomplete-search", host: { attributes: { "data-slot": "autocomplete" } }, providers: [
275
275
  provideBrnPopoverConfig({
276
276
  align: 'start',
277
277
  sideOffset: 6,
@@ -279,7 +279,7 @@ class HlmAutocompleteSearch {
279
279
  provideBrnPopoverDefaultOptions({ role: null }),
280
280
  ], hostDirectives: [{ directive: i1.BrnAutocompleteSearch, inputs: ["autoHighlight", "autoHighlight", "disabled", "disabled", "value", "value", "search", "search", "itemToString", "itemToString"], outputs: ["valueChange", "valueChange", "searchChange", "searchChange"] }, { directive: i2.BrnPopover, inputs: ["align", "align", "closeOnOutsidePointerEvents", "closeOnOutsidePointerEvents", "sideOffset", "sideOffset", "state", "state", "offsetX", "offsetX"], outputs: ["stateChanged", "stateChanged", "closed", "closed"] }], ngImport: i0 }); }
281
281
  }
282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteSearch, decorators: [{
282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteSearch, decorators: [{
283
283
  type: Directive,
284
284
  args: [{
285
285
  selector: '[hlmAutocompleteSearch],hlm-autocomplete-search',
@@ -310,10 +310,10 @@ class HlmAutocompleteSeparator {
310
310
  constructor() {
311
311
  classes(() => 'bg-border -mx-1 my-1 h-px');
312
312
  }
313
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
314
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteSeparator, isStandalone: true, selector: "[hlmAutocompleteSeparator]", host: { attributes: { "data-slot": "autocomplete-separator" } }, hostDirectives: [{ directive: i1.BrnAutocompleteSeparator, inputs: ["orientation", "orientation"] }], ngImport: i0 }); }
313
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
314
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteSeparator, isStandalone: true, selector: "[hlmAutocompleteSeparator]", host: { attributes: { "data-slot": "autocomplete-separator" } }, hostDirectives: [{ directive: i1.BrnAutocompleteSeparator, inputs: ["orientation", "orientation"] }], ngImport: i0 }); }
315
315
  }
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteSeparator, decorators: [{
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteSeparator, decorators: [{
317
317
  type: Directive,
318
318
  args: [{
319
319
  selector: '[hlmAutocompleteSeparator]',
@@ -326,10 +326,10 @@ class HlmAutocompleteStatus {
326
326
  constructor() {
327
327
  classes(() => 'text-muted-foreground gap-2 px-2.5 py-2 text-sm flex w-full items-center justify-center text-center');
328
328
  }
329
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteStatus, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
330
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: HlmAutocompleteStatus, isStandalone: true, selector: "[hlmAutocompleteStatus],hlm-autocomplete-status", host: { attributes: { "data-slot": "autocomplete-status" } }, hostDirectives: [{ directive: i1.BrnAutocompleteStatus }], ngImport: i0 }); }
329
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteStatus, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
330
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmAutocompleteStatus, isStandalone: true, selector: "[hlmAutocompleteStatus],hlm-autocomplete-status", host: { attributes: { "data-slot": "autocomplete-status" } }, hostDirectives: [{ directive: i1.BrnAutocompleteStatus }], ngImport: i0 }); }
331
331
  }
332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: HlmAutocompleteStatus, decorators: [{
332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmAutocompleteStatus, decorators: [{
333
333
  type: Directive,
334
334
  args: [{
335
335
  selector: '[hlmAutocompleteStatus],hlm-autocomplete-status',