@educarehq/solaris-ui 0.2.0 → 0.3.1

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 (417) hide show
  1. package/fesm2022/educarehq-solaris-ui.mjs +12261 -0
  2. package/fesm2022/educarehq-solaris-ui.mjs.map +1 -0
  3. package/package.json +5 -5
  4. package/styles/_button.scss +510 -510
  5. package/styles/_dropdown-menu.scss +72 -0
  6. package/styles/_icon-button.scss +481 -481
  7. package/styles/_input.scss +255 -255
  8. package/styles/_popover.scss +73 -68
  9. package/styles/_theme.scss +46 -36
  10. package/styles/_toast.scss +9 -0
  11. package/styles/token/border/_border.scss +5 -0
  12. package/styles/token/border/_index.scss +1 -0
  13. package/styles/token/color/_dark.scss +78 -0
  14. package/styles/token/color/_high-contrast.scss +27 -0
  15. package/styles/token/color/_index.scss +3 -0
  16. package/styles/token/color/_light.scss +69 -0
  17. package/styles/token/density/_comfortable.scss +15 -0
  18. package/styles/token/density/_compact.scss +15 -0
  19. package/styles/token/density/_index.scss +2 -0
  20. package/styles/token/motion/_index.scss +2 -0
  21. package/styles/token/motion/_motion.scss +15 -0
  22. package/styles/token/motion/_reduced-motion.scss +15 -0
  23. package/styles/token/opacity/_index.scss +1 -0
  24. package/styles/token/opacity/_opacity.scss +4 -0
  25. package/styles/token/radius/_index.scss +1 -0
  26. package/styles/token/radius/_radius.scss +8 -0
  27. package/styles/token/shadow/_index.scss +1 -0
  28. package/styles/token/shadow/_shadow.scss +26 -0
  29. package/styles/token/spacing/_index.scss +1 -0
  30. package/styles/token/spacing/_spacing.scss +15 -0
  31. package/styles/token/typography/_font-family.scss +13 -0
  32. package/styles/token/typography/_index.scss +2 -0
  33. package/styles/token/typography/_typography.scss +25 -0
  34. package/styles/token/z-index/_index.scss +1 -0
  35. package/styles/token/z-index/_z-index.scss +10 -0
  36. package/types/educarehq-solaris-ui.d.ts +3201 -0
  37. package/educarehq-solaris-ui.d.ts +0 -5
  38. package/esm2022/educarehq-solaris-ui.js +0 -5
  39. package/esm2022/educarehq-solaris-ui.js.map +0 -1
  40. package/esm2022/index.js +0 -70
  41. package/esm2022/index.js.map +0 -1
  42. package/esm2022/lib/components/actions/button/directives/button-icon.directive.js +0 -17
  43. package/esm2022/lib/components/actions/button/directives/button-icon.directive.js.map +0 -1
  44. package/esm2022/lib/components/actions/button/directives/button.directive.js +0 -60
  45. package/esm2022/lib/components/actions/button/directives/button.directive.js.map +0 -1
  46. package/esm2022/lib/components/actions/button/model/button.types.js +0 -1
  47. package/esm2022/lib/components/actions/button/model/button.types.js.map +0 -1
  48. package/esm2022/lib/components/actions/button-group/component/button-group.component.js +0 -21
  49. package/esm2022/lib/components/actions/button-group/component/button-group.component.js.map +0 -1
  50. package/esm2022/lib/components/actions/button-group/model/button-group.types.js +0 -1
  51. package/esm2022/lib/components/actions/button-group/model/button-group.types.js.map +0 -1
  52. package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js +0 -17
  53. package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js.map +0 -1
  54. package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js +0 -58
  55. package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js.map +0 -1
  56. package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js +0 -1
  57. package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js.map +0 -1
  58. package/esm2022/lib/components/data-display/badge/component/badge.component.js +0 -24
  59. package/esm2022/lib/components/data-display/badge/component/badge.component.js.map +0 -1
  60. package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js +0 -17
  61. package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js.map +0 -1
  62. package/esm2022/lib/components/data-display/badge/model/badge.types.js +0 -1
  63. package/esm2022/lib/components/data-display/badge/model/badge.types.js.map +0 -1
  64. package/esm2022/lib/components/data-display/card/component/card.component.js +0 -20
  65. package/esm2022/lib/components/data-display/card/component/card.component.js.map +0 -1
  66. package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js +0 -17
  67. package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js.map +0 -1
  68. package/esm2022/lib/components/data-display/card/directives/card-content.directive.js +0 -17
  69. package/esm2022/lib/components/data-display/card/directives/card-content.directive.js.map +0 -1
  70. package/esm2022/lib/components/data-display/card/directives/card-description.directive.js +0 -17
  71. package/esm2022/lib/components/data-display/card/directives/card-description.directive.js.map +0 -1
  72. package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js +0 -19
  73. package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js.map +0 -1
  74. package/esm2022/lib/components/data-display/card/directives/card-header.directive.js +0 -17
  75. package/esm2022/lib/components/data-display/card/directives/card-header.directive.js.map +0 -1
  76. package/esm2022/lib/components/data-display/card/directives/card-media.directive.js +0 -17
  77. package/esm2022/lib/components/data-display/card/directives/card-media.directive.js.map +0 -1
  78. package/esm2022/lib/components/data-display/card/directives/card-title.directive.js +0 -17
  79. package/esm2022/lib/components/data-display/card/directives/card-title.directive.js.map +0 -1
  80. package/esm2022/lib/components/data-display/card/model/card.types.js +0 -1
  81. package/esm2022/lib/components/data-display/card/model/card.types.js.map +0 -1
  82. package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js +0 -18
  83. package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js.map +0 -1
  84. package/esm2022/lib/components/feedback/alert/component/alert.component.js +0 -90
  85. package/esm2022/lib/components/feedback/alert/component/alert.component.js.map +0 -1
  86. package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js +0 -17
  87. package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js.map +0 -1
  88. package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js +0 -17
  89. package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js.map +0 -1
  90. package/esm2022/lib/components/feedback/alert/model/alert.types.js +0 -1
  91. package/esm2022/lib/components/feedback/alert/model/alert.types.js.map +0 -1
  92. package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js +0 -69
  93. package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js.map +0 -1
  94. package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js +0 -1
  95. package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js.map +0 -1
  96. package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js +0 -227
  97. package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js.map +0 -1
  98. package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js +0 -1
  99. package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js.map +0 -1
  100. package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js +0 -441
  101. package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js.map +0 -1
  102. package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js +0 -1
  103. package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js.map +0 -1
  104. package/esm2022/lib/components/forms/email-field/component/email-field.component.js +0 -214
  105. package/esm2022/lib/components/forms/email-field/component/email-field.component.js.map +0 -1
  106. package/esm2022/lib/components/forms/email-field/model/email-field.types.js +0 -1
  107. package/esm2022/lib/components/forms/email-field/model/email-field.types.js.map +0 -1
  108. package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js +0 -69
  109. package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js.map +0 -1
  110. package/esm2022/lib/components/forms/form-field/component/form-error.component.js +0 -19
  111. package/esm2022/lib/components/forms/form-field/component/form-error.component.js.map +0 -1
  112. package/esm2022/lib/components/forms/form-field/component/form-field.component.js +0 -394
  113. package/esm2022/lib/components/forms/form-field/component/form-field.component.js.map +0 -1
  114. package/esm2022/lib/components/forms/form-field/component/form-hint.component.js +0 -18
  115. package/esm2022/lib/components/forms/form-field/component/form-hint.component.js.map +0 -1
  116. package/esm2022/lib/components/forms/form-field/component/form-label.component.js +0 -18
  117. package/esm2022/lib/components/forms/form-field/component/form-label.component.js.map +0 -1
  118. package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js +0 -14
  119. package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js.map +0 -1
  120. package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js +0 -17
  121. package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js.map +0 -1
  122. package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js +0 -17
  123. package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js.map +0 -1
  124. package/esm2022/lib/components/forms/form-field/index.js +0 -8
  125. package/esm2022/lib/components/forms/form-field/index.js.map +0 -1
  126. package/esm2022/lib/components/forms/form-field/model/form-control.contract.js +0 -3
  127. package/esm2022/lib/components/forms/form-field/model/form-control.contract.js.map +0 -1
  128. package/esm2022/lib/components/forms/form-field/model/form-field.types.js +0 -1
  129. package/esm2022/lib/components/forms/form-field/model/form-field.types.js.map +0 -1
  130. package/esm2022/lib/components/forms/input/directives/input.directive.js +0 -148
  131. package/esm2022/lib/components/forms/input/directives/input.directive.js.map +0 -1
  132. package/esm2022/lib/components/forms/input/index.js +0 -2
  133. package/esm2022/lib/components/forms/input/index.js.map +0 -1
  134. package/esm2022/lib/components/forms/input/model/input.defaults.js +0 -27
  135. package/esm2022/lib/components/forms/input/model/input.defaults.js.map +0 -1
  136. package/esm2022/lib/components/forms/input/model/input.types.js +0 -1
  137. package/esm2022/lib/components/forms/input/model/input.types.js.map +0 -1
  138. package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js +0 -1119
  139. package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js.map +0 -1
  140. package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js +0 -1
  141. package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js.map +0 -1
  142. package/esm2022/lib/components/forms/option/component/option.component.js +0 -149
  143. package/esm2022/lib/components/forms/option/component/option.component.js.map +0 -1
  144. package/esm2022/lib/components/forms/option/directives/option-slots.directive.js +0 -58
  145. package/esm2022/lib/components/forms/option/directives/option-slots.directive.js.map +0 -1
  146. package/esm2022/lib/components/forms/option/index.js +0 -3
  147. package/esm2022/lib/components/forms/option/index.js.map +0 -1
  148. package/esm2022/lib/components/forms/option/model/option.types.js +0 -1
  149. package/esm2022/lib/components/forms/option/model/option.types.js.map +0 -1
  150. package/esm2022/lib/components/forms/option-group/component/option-group.component.js +0 -103
  151. package/esm2022/lib/components/forms/option-group/component/option-group.component.js.map +0 -1
  152. package/esm2022/lib/components/forms/option-group/index.js +0 -2
  153. package/esm2022/lib/components/forms/option-group/index.js.map +0 -1
  154. package/esm2022/lib/components/forms/option-group/model/option-group.types.js +0 -1
  155. package/esm2022/lib/components/forms/option-group/model/option-group.types.js.map +0 -1
  156. package/esm2022/lib/components/forms/password-field/component/password-field.component.js +0 -299
  157. package/esm2022/lib/components/forms/password-field/component/password-field.component.js.map +0 -1
  158. package/esm2022/lib/components/forms/password-field/model/password-field-constants.js +0 -5
  159. package/esm2022/lib/components/forms/password-field/model/password-field-constants.js.map +0 -1
  160. package/esm2022/lib/components/forms/password-field/model/password-field.types.js +0 -1
  161. package/esm2022/lib/components/forms/password-field/model/password-field.types.js.map +0 -1
  162. package/esm2022/lib/components/forms/password-field/model/password-policy.types.js +0 -1
  163. package/esm2022/lib/components/forms/password-field/model/password-policy.types.js.map +0 -1
  164. package/esm2022/lib/components/forms/password-field/model/password-strength.js +0 -67
  165. package/esm2022/lib/components/forms/password-field/model/password-strength.js.map +0 -1
  166. package/esm2022/lib/components/forms/password-field/validators/password.validator.js +0 -45
  167. package/esm2022/lib/components/forms/password-field/validators/password.validator.js.map +0 -1
  168. package/esm2022/lib/components/forms/radio/component/radio.component.js +0 -219
  169. package/esm2022/lib/components/forms/radio/component/radio.component.js.map +0 -1
  170. package/esm2022/lib/components/forms/radio/model/radio.types.js +0 -1
  171. package/esm2022/lib/components/forms/radio/model/radio.types.js.map +0 -1
  172. package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js +0 -348
  173. package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js.map +0 -1
  174. package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js +0 -3
  175. package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js.map +0 -1
  176. package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js +0 -1
  177. package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js.map +0 -1
  178. package/esm2022/lib/components/forms/select/component/select.component.js +0 -819
  179. package/esm2022/lib/components/forms/select/component/select.component.js.map +0 -1
  180. package/esm2022/lib/components/forms/select/model/select.types.js +0 -1
  181. package/esm2022/lib/components/forms/select/model/select.types.js.map +0 -1
  182. package/esm2022/lib/components/forms/switch/component/switch.component.js +0 -211
  183. package/esm2022/lib/components/forms/switch/component/switch.component.js.map +0 -1
  184. package/esm2022/lib/components/forms/switch/index.js +0 -2
  185. package/esm2022/lib/components/forms/switch/index.js.map +0 -1
  186. package/esm2022/lib/components/forms/switch/model/switch.types.js +0 -1
  187. package/esm2022/lib/components/forms/switch/model/switch.types.js.map +0 -1
  188. package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js +0 -369
  189. package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js.map +0 -1
  190. package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js +0 -1
  191. package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js.map +0 -1
  192. package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js +0 -137
  193. package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js.map +0 -1
  194. package/esm2022/lib/components/forms/textarea/model/textarea.types.js +0 -1
  195. package/esm2022/lib/components/forms/textarea/model/textarea.types.js.map +0 -1
  196. package/esm2022/lib/components/icon/component/solaris-icon.component.js +0 -20
  197. package/esm2022/lib/components/icon/component/solaris-icon.component.js.map +0 -1
  198. package/esm2022/lib/components/icon/index.js +0 -2
  199. package/esm2022/lib/components/icon/index.js.map +0 -1
  200. package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js +0 -29
  201. package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js.map +0 -1
  202. package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js +0 -317
  203. package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js.map +0 -1
  204. package/esm2022/lib/components/interaction/popover/directives/popover.directive.js +0 -16
  205. package/esm2022/lib/components/interaction/popover/directives/popover.directive.js.map +0 -1
  206. package/esm2022/lib/components/interaction/popover/index.js +0 -4
  207. package/esm2022/lib/components/interaction/popover/index.js.map +0 -1
  208. package/esm2022/lib/components/interaction/popover/model/popover-position.js +0 -145
  209. package/esm2022/lib/components/interaction/popover/model/popover-position.js.map +0 -1
  210. package/esm2022/lib/components/interaction/popover/model/popover.types.js +0 -1
  211. package/esm2022/lib/components/interaction/popover/model/popover.types.js.map +0 -1
  212. package/esm2022/lib/components/interaction/popover/token/popover.tokens.js +0 -3
  213. package/esm2022/lib/components/interaction/popover/token/popover.tokens.js.map +0 -1
  214. package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js +0 -23
  215. package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js.map +0 -1
  216. package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js +0 -405
  217. package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js.map +0 -1
  218. package/esm2022/lib/components/interaction/tooltip/index.js +0 -3
  219. package/esm2022/lib/components/interaction/tooltip/index.js.map +0 -1
  220. package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js +0 -209
  221. package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js.map +0 -1
  222. package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js +0 -1
  223. package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js.map +0 -1
  224. package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js +0 -3
  225. package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js.map +0 -1
  226. package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js +0 -25
  227. package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js.map +0 -1
  228. package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js +0 -1
  229. package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js.map +0 -1
  230. package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js +0 -1
  231. package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js.map +0 -1
  232. package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js +0 -10
  233. package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js.map +0 -1
  234. package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js +0 -60
  235. package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js.map +0 -1
  236. package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js +0 -10
  237. package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js.map +0 -1
  238. package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js +0 -3
  239. package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js.map +0 -1
  240. package/esm2022/lib/services/icon/icons/index.js +0 -2
  241. package/esm2022/lib/services/icon/icons/index.js.map +0 -1
  242. package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js +0 -207
  243. package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js.map +0 -1
  244. package/esm2022/lib/services/icon/index.js +0 -5
  245. package/esm2022/lib/services/icon/index.js.map +0 -1
  246. package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js +0 -1
  247. package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js.map +0 -1
  248. package/esm2022/lib/services/icon/model/solaris-icon.types.js +0 -1
  249. package/esm2022/lib/services/icon/model/solaris-icon.types.js.map +0 -1
  250. package/esm2022/lib/services/icon/provider/provide-solaris-icons.js +0 -10
  251. package/esm2022/lib/services/icon/provider/provide-solaris-icons.js.map +0 -1
  252. package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js +0 -43
  253. package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js.map +0 -1
  254. package/esm2022/lib/services/icon/token/solaris-icon.tokens.js +0 -3
  255. package/esm2022/lib/services/icon/token/solaris-icon.tokens.js.map +0 -1
  256. package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js +0 -1
  257. package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js.map +0 -1
  258. package/esm2022/lib/services/theme/model/solaris-theme.types.js +0 -1
  259. package/esm2022/lib/services/theme/model/solaris-theme.types.js.map +0 -1
  260. package/esm2022/lib/services/theme/provider/provide-solaris-theme.js +0 -10
  261. package/esm2022/lib/services/theme/provider/provide-solaris-theme.js.map +0 -1
  262. package/esm2022/lib/services/theme/service/solaris-theme.service.js +0 -22
  263. package/esm2022/lib/services/theme/service/solaris-theme.service.js.map +0 -1
  264. package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js +0 -10
  265. package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js.map +0 -1
  266. package/esm2022/lib/services/theme/token/solaris-theme.tokens.js +0 -3
  267. package/esm2022/lib/services/theme/token/solaris-theme.tokens.js.map +0 -1
  268. package/esm2022/lib/services/translation/index.js +0 -6
  269. package/esm2022/lib/services/translation/index.js.map +0 -1
  270. package/esm2022/lib/services/translation/model/solaris-locale.types.js +0 -1
  271. package/esm2022/lib/services/translation/model/solaris-locale.types.js.map +0 -1
  272. package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js +0 -1
  273. package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js.map +0 -1
  274. package/esm2022/lib/services/translation/model/solaris-translate-defaults.js +0 -40
  275. package/esm2022/lib/services/translation/model/solaris-translate-defaults.js.map +0 -1
  276. package/esm2022/lib/services/translation/model/solaris-translation.types.js +0 -1
  277. package/esm2022/lib/services/translation/model/solaris-translation.types.js.map +0 -1
  278. package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js +0 -20
  279. package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js.map +0 -1
  280. package/esm2022/lib/services/translation/provider/provide-solaris-translate.js +0 -10
  281. package/esm2022/lib/services/translation/provider/provide-solaris-translate.js.map +0 -1
  282. package/esm2022/lib/services/translation/service/solaris-translate.service.js +0 -87
  283. package/esm2022/lib/services/translation/service/solaris-translate.service.js.map +0 -1
  284. package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js +0 -32
  285. package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js.map +0 -1
  286. package/esm2022/lib/services/translation/token/solaris-translate.tokens.js +0 -3
  287. package/esm2022/lib/services/translation/token/solaris-translate.tokens.js.map +0 -1
  288. package/esm2022/lib/testing/provide-solaris-testing.js +0 -11
  289. package/esm2022/lib/testing/provide-solaris-testing.js.map +0 -1
  290. package/esm2022/lib/testing/solaris-test-utilities.js +0 -12
  291. package/esm2022/lib/testing/solaris-test-utilities.js.map +0 -1
  292. package/index.d.ts +0 -106
  293. package/lib/components/actions/button/directives/button-icon.directive.d.ts +0 -5
  294. package/lib/components/actions/button/directives/button.directive.d.ts +0 -22
  295. package/lib/components/actions/button/model/button.types.d.ts +0 -5
  296. package/lib/components/actions/button-group/component/button-group.component.d.ts +0 -10
  297. package/lib/components/actions/button-group/model/button-group.types.d.ts +0 -2
  298. package/lib/components/actions/icon-button/directives/icon-button-badge.directive.d.ts +0 -5
  299. package/lib/components/actions/icon-button/directives/icon-button.directive.d.ts +0 -21
  300. package/lib/components/actions/icon-button/model/icon-button.types.d.ts +0 -5
  301. package/lib/components/data-display/badge/component/badge.component.d.ts +0 -12
  302. package/lib/components/data-display/badge/directives/badge-icon.directive.d.ts +0 -5
  303. package/lib/components/data-display/badge/model/badge.types.d.ts +0 -6
  304. package/lib/components/data-display/card/component/card.component.d.ts +0 -10
  305. package/lib/components/data-display/card/directives/card-actions.directive.d.ts +0 -5
  306. package/lib/components/data-display/card/directives/card-content.directive.d.ts +0 -5
  307. package/lib/components/data-display/card/directives/card-description.directive.d.ts +0 -5
  308. package/lib/components/data-display/card/directives/card-footer.directive.d.ts +0 -6
  309. package/lib/components/data-display/card/directives/card-header.directive.d.ts +0 -5
  310. package/lib/components/data-display/card/directives/card-media.directive.d.ts +0 -5
  311. package/lib/components/data-display/card/directives/card-title.directive.d.ts +0 -5
  312. package/lib/components/data-display/card/model/card.types.d.ts +0 -4
  313. package/lib/components/feedback/alert/component/alert-actions.component.d.ts +0 -5
  314. package/lib/components/feedback/alert/component/alert.component.d.ts +0 -26
  315. package/lib/components/feedback/alert/directives/alert-description.directive.d.ts +0 -5
  316. package/lib/components/feedback/alert/directives/alert-title.directive.d.ts +0 -5
  317. package/lib/components/feedback/alert/model/alert.types.d.ts +0 -5
  318. package/lib/components/feedback/skeleton/component/skeleton.component.d.ts +0 -17
  319. package/lib/components/feedback/skeleton/model/skeleton.types.d.ts +0 -5
  320. package/lib/components/forms/checkbox/component/checkbox.component.d.ts +0 -70
  321. package/lib/components/forms/checkbox/model/checkbox.types.d.ts +0 -5
  322. package/lib/components/forms/checkbox-group/component/checkbox-group.component.d.ts +0 -123
  323. package/lib/components/forms/checkbox-group/model/checkbox-group.types.d.ts +0 -5
  324. package/lib/components/forms/email-field/component/email-field.component.d.ts +0 -66
  325. package/lib/components/forms/email-field/model/email-field.types.d.ts +0 -6
  326. package/lib/components/forms/email-field/validators/email-field.validators.d.ts +0 -8
  327. package/lib/components/forms/form-field/component/form-error.component.d.ts +0 -5
  328. package/lib/components/forms/form-field/component/form-field.component.d.ts +0 -90
  329. package/lib/components/forms/form-field/component/form-hint.component.d.ts +0 -5
  330. package/lib/components/forms/form-field/component/form-label.component.d.ts +0 -5
  331. package/lib/components/forms/form-field/directives/form-field-trigger.directive.d.ts +0 -5
  332. package/lib/components/forms/form-field/directives/form-prefix.directive.d.ts +0 -5
  333. package/lib/components/forms/form-field/directives/form-suffix.directive.d.ts +0 -5
  334. package/lib/components/forms/form-field/index.d.ts +0 -8
  335. package/lib/components/forms/form-field/model/form-control.contract.d.ts +0 -11
  336. package/lib/components/forms/form-field/model/form-field.types.d.ts +0 -5
  337. package/lib/components/forms/input/directives/input.directive.d.ts +0 -37
  338. package/lib/components/forms/input/index.d.ts +0 -2
  339. package/lib/components/forms/input/model/input.defaults.d.ts +0 -2
  340. package/lib/components/forms/input/model/input.types.d.ts +0 -4
  341. package/lib/components/forms/multi-select/component/multi-select.component.d.ts +0 -202
  342. package/lib/components/forms/multi-select/model/multi-select.types.d.ts +0 -5
  343. package/lib/components/forms/option/component/option.component.d.ts +0 -58
  344. package/lib/components/forms/option/directives/option-slots.directive.d.ts +0 -21
  345. package/lib/components/forms/option/index.d.ts +0 -3
  346. package/lib/components/forms/option/model/option.types.d.ts +0 -3
  347. package/lib/components/forms/option-group/component/option-group.component.d.ts +0 -32
  348. package/lib/components/forms/option-group/index.d.ts +0 -2
  349. package/lib/components/forms/option-group/model/option-group.types.d.ts +0 -2
  350. package/lib/components/forms/password-field/component/password-field.component.d.ts +0 -81
  351. package/lib/components/forms/password-field/model/password-field-constants.d.ts +0 -4
  352. package/lib/components/forms/password-field/model/password-field.types.d.ts +0 -6
  353. package/lib/components/forms/password-field/model/password-policy.types.d.ts +0 -10
  354. package/lib/components/forms/password-field/model/password-strength.d.ts +0 -2
  355. package/lib/components/forms/password-field/validators/password.validator.d.ts +0 -3
  356. package/lib/components/forms/radio/component/radio.component.d.ts +0 -68
  357. package/lib/components/forms/radio/model/radio.types.d.ts +0 -4
  358. package/lib/components/forms/radio-group/component/radio-group.component.d.ts +0 -86
  359. package/lib/components/forms/radio-group/model/radio-group.token.d.ts +0 -2
  360. package/lib/components/forms/radio-group/model/radio-group.types.d.ts +0 -5
  361. package/lib/components/forms/select/component/select.component.d.ts +0 -158
  362. package/lib/components/forms/select/model/select.types.d.ts +0 -4
  363. package/lib/components/forms/switch/component/switch.component.d.ts +0 -66
  364. package/lib/components/forms/switch/index.d.ts +0 -2
  365. package/lib/components/forms/switch/model/switch.types.d.ts +0 -4
  366. package/lib/components/forms/switch-group/component/switch-group.component.d.ts +0 -91
  367. package/lib/components/forms/switch-group/model/switch-group.types.d.ts +0 -5
  368. package/lib/components/forms/textarea/directives/textarea.directive.d.ts +0 -37
  369. package/lib/components/forms/textarea/model/textarea.types.d.ts +0 -5
  370. package/lib/components/icon/component/solaris-icon.component.d.ts +0 -13
  371. package/lib/components/icon/index.d.ts +0 -1
  372. package/lib/components/interaction/popover/component/popover-panel.component.d.ts +0 -10
  373. package/lib/components/interaction/popover/directives/popover-trigger.directive.d.ts +0 -65
  374. package/lib/components/interaction/popover/directives/popover.directive.d.ts +0 -7
  375. package/lib/components/interaction/popover/index.d.ts +0 -4
  376. package/lib/components/interaction/popover/model/popover-position.d.ts +0 -4
  377. package/lib/components/interaction/popover/model/popover.types.d.ts +0 -7
  378. package/lib/components/interaction/popover/token/popover.tokens.d.ts +0 -12
  379. package/lib/components/interaction/tooltip/component/tooltip-panel.component.d.ts +0 -9
  380. package/lib/components/interaction/tooltip/directive/tooltip.directive.d.ts +0 -80
  381. package/lib/components/interaction/tooltip/index.d.ts +0 -3
  382. package/lib/components/interaction/tooltip/model/tooltip-position.d.ts +0 -5
  383. package/lib/components/interaction/tooltip/model/tooltip.types.d.ts +0 -22
  384. package/lib/components/interaction/tooltip/token/tooltip.tokens.d.ts +0 -21
  385. package/lib/services/accessibility/directives/visually-hidden.directive.d.ts +0 -5
  386. package/lib/services/accessibility/model/solaris-accessibility-config.interface.d.ts +0 -4
  387. package/lib/services/accessibility/model/solaris-accessibility.types.d.ts +0 -5
  388. package/lib/services/accessibility/provider/provide-solaris-accessibility.d.ts +0 -3
  389. package/lib/services/accessibility/service/solaris-accessibility.service.d.ts +0 -15
  390. package/lib/services/accessibility/testing/solaris-accessibility-testing.provider.d.ts +0 -3
  391. package/lib/services/accessibility/token/solaris-accessibility.tokens.d.ts +0 -3
  392. package/lib/services/icon/icons/index.d.ts +0 -1
  393. package/lib/services/icon/icons/solaris-built-in-icons.d.ts +0 -2
  394. package/lib/services/icon/index.d.ts +0 -8
  395. package/lib/services/icon/model/solaris-icon-definition.interface.d.ts +0 -36
  396. package/lib/services/icon/model/solaris-icon.types.d.ts +0 -4
  397. package/lib/services/icon/provider/provide-solaris-icons.d.ts +0 -3
  398. package/lib/services/icon/service/solaris-icon-registry.service.d.ts +0 -12
  399. package/lib/services/icon/token/solaris-icon.tokens.d.ts +0 -6
  400. package/lib/services/theme/model/solaris-theme-config.interface.d.ts +0 -5
  401. package/lib/services/theme/model/solaris-theme.types.d.ts +0 -3
  402. package/lib/services/theme/provider/provide-solaris-theme.d.ts +0 -3
  403. package/lib/services/theme/service/solaris-theme.service.d.ts +0 -9
  404. package/lib/services/theme/testing/solaris-theme-testing.provider.d.ts +0 -3
  405. package/lib/services/theme/token/solaris-theme.tokens.d.ts +0 -3
  406. package/lib/services/translation/index.d.ts +0 -8
  407. package/lib/services/translation/model/solaris-locale.types.d.ts +0 -4
  408. package/lib/services/translation/model/solaris-translate-config.interface.d.ts +0 -8
  409. package/lib/services/translation/model/solaris-translate-defaults.d.ts +0 -2
  410. package/lib/services/translation/model/solaris-translation.types.d.ts +0 -3
  411. package/lib/services/translation/pipe/solaris-translate.pipe.d.ts +0 -8
  412. package/lib/services/translation/provider/provide-solaris-translate.d.ts +0 -3
  413. package/lib/services/translation/service/solaris-translate.service.d.ts +0 -15
  414. package/lib/services/translation/testing/solaris-translate-testing.provider.d.ts +0 -3
  415. package/lib/services/translation/token/solaris-translate.tokens.d.ts +0 -3
  416. package/lib/testing/provide-solaris-testing.d.ts +0 -10
  417. package/lib/testing/solaris-test-utilities.d.ts +0 -3
@@ -1 +0,0 @@
1
- {"version":3,"file":"multi-select.component.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/multi-select/component/multi-select.component.ts","../../../../../../../../../packages/angular/src/lib/components/forms/multi-select/component/multi-select.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,QAAQ,EACR,MAAM,EACN,MAAM,EACN,MAAM,EACN,UAAU,EACV,MAAM,EACN,eAA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\r\n effect,\r\n forwardRef,\r\n inject,\r\n ContentChildren,\r\n QueryList,\r\n ElementRef,\r\n ViewChild,\r\n AfterContentInit,\r\n AfterViewInit,\r\n OnDestroy,\r\n DestroyRef,\r\n isDevMode,\r\n} from '@angular/core';\r\nimport { NG_VALUE_ACCESSOR, type ControlValueAccessor } from '@angular/forms';\r\n\r\nimport { SolarisFormControl } from '../../form-field/model/form-control.contract';\r\nimport { SolarisFormFieldComponent } from '../../form-field/component/form-field.component';\r\nimport { SolarisFormFieldTriggerDirective } from '../../form-field/directives/form-field-trigger.directive';\r\nimport { SolarisFormPrefixDirective } from '../../form-field/directives/form-prefix.directive';\r\nimport { SolarisFormSuffixDirective } from '../../form-field/directives/form-suffix.directive';\r\nimport { SolarisTranslateService } from '../../../../services/translation';\r\nimport { SolarisOptionComponent } from '../../option';\r\nimport { SolarisOptionGroupComponent } from '../../option-group';\r\nimport { SolarisIconComponent } from '../../../icon';\r\nimport {\r\n SolarisPopoverDirective,\r\n SolarisPopoverTriggerDirective,\r\n} from '../../../interaction/popover';\r\nimport { SolarisTooltipDirective } from '../../../interaction/tooltip';\r\n\r\nimport type {\r\n SolarisMultiSelectAppearance,\r\n SolarisMultiSelectSize,\r\n SolarisMultiSelectDensity,\r\n SolarisMultiSelectRadius,\r\n SolarisMultiSelectDisplayMode,\r\n} from '../model/multi-select.types';\r\n\r\nlet nextId = 0;\r\n\r\nfunction generateId(): string {\r\n return `solaris-multi-select-${++nextId}`;\r\n}\r\n\r\nfunction normalizeArray(value: unknown): unknown[] {\r\n if (value === null || value === undefined) return [];\r\n if (Array.isArray(value)) return value;\r\n return [];\r\n}\r\n\r\n@Component({\r\n selector: 'solaris-multi-select',\r\n standalone: true,\r\n imports: [\r\n SolarisFormFieldComponent,\r\n SolarisFormFieldTriggerDirective,\r\n SolarisFormPrefixDirective,\r\n SolarisFormSuffixDirective,\r\n SolarisIconComponent,\r\n SolarisPopoverDirective,\r\n SolarisPopoverTriggerDirective,\r\n SolarisTooltipDirective,\r\n ],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => SolarisMultiSelectComponent),\r\n multi: true,\r\n },\r\n {\r\n provide: SolarisFormControl,\r\n useExisting: forwardRef(() => SolarisMultiSelectComponent),\r\n },\r\n ],\r\n templateUrl: './multi-select.component.html',\r\n styleUrls: ['./multi-select.component.scss'],\r\n host: {\r\n 'solaris-multi-select': '',\r\n '[attr.id]': 'elementId()',\r\n '[attr.data-size]': 'size()',\r\n '[attr.data-open]': 'panelOpen() ? \"\" : null',\r\n '[attr.aria-label]': 'ariaLabelText() ?? null',\r\n '[attr.data-has-value]': 'hasValue() ? \"\" : null',\r\n },\r\n})\r\nexport class SolarisMultiSelectComponent\r\n extends SolarisFormControl\r\n implements ControlValueAccessor, AfterContentInit, AfterViewInit, OnDestroy\r\n{\r\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n private readonly translateService = inject(SolarisTranslateService);\r\n protected readonly parentFormField = inject(SolarisFormFieldComponent, {\r\n optional: true,\r\n });\r\n\r\n @ViewChild(SolarisPopoverTriggerDirective)\r\n protected popoverTrigger?: SolarisPopoverTriggerDirective;\r\n\r\n @ViewChild('searchInput', { read: ElementRef })\r\n protected searchInputRef?: ElementRef<HTMLInputElement>;\r\n\r\n @ViewChild('triggerEl', { read: ElementRef })\r\n protected triggerElement?: ElementRef<HTMLElement>;\r\n\r\n @ViewChild('formFieldRef', { read: ElementRef })\r\n protected formFieldElement?: ElementRef<HTMLElement>;\r\n\r\n @ContentChildren(SolarisOptionComponent, { descendants: true })\r\n protected options!: QueryList<SolarisOptionComponent>;\r\n\r\n @ContentChildren(SolarisOptionGroupComponent, { descendants: true })\r\n protected optionGroups!: QueryList<SolarisOptionGroupComponent>;\r\n\r\n readonly hint = input<string>();\r\n readonly label = input<string>();\r\n readonly error = input<string>();\r\n readonly hintKey = input<string>();\r\n readonly labelKey = input<string>();\r\n readonly errorKey = input<string>();\r\n readonly emptyText = input<string>();\r\n readonly ariaLabel = input<string>();\r\n readonly placeholder = input<string>();\r\n readonly loadingText = input<string>();\r\n readonly emptyTextKey = input<string>();\r\n readonly ariaLabelKey = input<string>();\r\n readonly placeholderKey = input<string>();\r\n readonly loadingTextKey = input<string>();\r\n readonly ariaLabelledby = input<string>();\r\n readonly loading = input<boolean>(false);\r\n readonly searchPlaceholder = input<string>();\r\n readonly clearable = input<boolean>(false);\r\n readonly clearLabel = input<string>();\r\n readonly clearLabelKey = input<string>();\r\n readonly removeChipLabel = input<string>();\r\n readonly removeChipLabelKey = input<string>();\r\n readonly noResultsText = input<string>();\r\n readonly noResultsTextKey = input<string>();\r\n readonly value = input<unknown[]>([]);\r\n readonly searchable = input<boolean>(false);\r\n readonly searchPlaceholderKey = input<string>();\r\n readonly panelMinWidth = input<string | number>();\r\n readonly panelMaxWidth = input<string | number>();\r\n readonly density = input<SolarisMultiSelectDensity>();\r\n readonly size = input<SolarisMultiSelectSize>('md');\r\n readonly panelMatchTriggerWidth = input<boolean>(true);\r\n readonly radius = input<SolarisMultiSelectRadius>('md');\r\n readonly disabledInput = input(false, { alias: 'disabled' });\r\n readonly readonlyInput = input(false, { alias: 'readonly' });\r\n readonly requiredInput = input(false, { alias: 'required' });\r\n readonly panelMaxHeight = input<string | number>('20rem');\r\n readonly icon = input<string>();\r\n readonly displayWith = input<(value: unknown) => string | undefined>();\r\n readonly appearance = input<SolarisMultiSelectAppearance>('outline');\r\n readonly compareWith = input<(a: unknown, b: unknown) => boolean>(Object.is);\r\n readonly manualInvalid = input<boolean | undefined>(undefined, {\r\n alias: 'invalid',\r\n });\r\n readonly selectAll = input<boolean>(false);\r\n readonly selectAllLabel = input<string>();\r\n readonly selectAllLabelKey = input<string>();\r\n readonly displayMode = input<SolarisMultiSelectDisplayMode>('auto');\r\n readonly maxVisibleChips = input<number>(3);\r\n readonly selectedCountLabel = input<string>();\r\n readonly selectedCountLabelKey = input<string>();\r\n readonly overflowLabel = input<string>();\r\n readonly overflowLabelKey = input<string>();\r\n readonly minSelected = input<number | undefined>(undefined);\r\n readonly maxSelected = input<number | undefined>(undefined);\r\n readonly showSelectionTooltip = input<boolean>(false);\r\n readonly name = input<string>();\r\n\r\n readonly opened = output<void>();\r\n readonly closed = output<void>();\r\n readonly cleared = output<void>();\r\n readonly openChange = output<boolean>();\r\n readonly searchChange = output<string>();\r\n readonly valueChange = output<unknown[]>();\r\n readonly selectionChange = output<SolarisOptionComponent>();\r\n\r\n protected readonly panelId = `solaris-multi-select-panel-${generateId()}`;\r\n protected readonly panelOpen = signal(false);\r\n protected readonly internalValue = signal<unknown[]>([]);\r\n protected readonly internalFocused = signal(false);\r\n protected readonly internalDisabled = signal(false);\r\n protected readonly searchQuery = signal('');\r\n protected readonly activeOptionIndex = signal(-1);\r\n protected readonly touched = signal(false);\r\n protected readonly optionsInitialized = signal(false);\r\n\r\n @ViewChild('triggerContent', { read: ElementRef })\r\n protected triggerContentRef?: ElementRef<HTMLElement>;\r\n\r\n private onChange: (value: unknown[]) => void = () => undefined;\r\n private onTouched: () => void = () => undefined;\r\n private optionsSubscription: (() => void) | undefined;\r\n private optionInteractionSubscriptions: (() => void)[] = [];\r\n private readonly popoverSubscriptions: (() => void)[] = [];\r\n private readonly triggerWidth = signal(0);\r\n private resizeObserver: ResizeObserver | null = null;\r\n private readonly destroyRef = inject(DestroyRef);\r\n\r\n protected readonly elementId = computed(() => {\r\n // SECURITY_EXCEPTION: nativeElement.getAttribute('id') is standard DOM API to check existing ID before generating one. Same approach used by Solaris Select and Option.\r\n const existing = this.elementRef.nativeElement.getAttribute('id');\r\n return existing ?? generateId();\r\n });\r\n\r\n protected readonly effectiveDensity = computed<SolarisMultiSelectDensity>(\r\n () => {\r\n return this.density() ?? 'comfortable';\r\n },\r\n );\r\n\r\n protected readonly isEffectivelyDisabled = computed(() => {\r\n return this.disabledInput() || this.internalDisabled();\r\n });\r\n\r\n protected readonly isEffectivelyReadonly = computed(() => {\r\n return this.readonlyInput();\r\n });\r\n\r\n protected readonly isEffectivelyInvalid = computed(() => {\r\n const manual = this.manualInvalid();\r\n if (manual !== undefined) {\r\n return manual;\r\n }\r\n if (this.touched()) {\r\n const min = this.minSelected();\r\n const max = this.maxSelected();\r\n const count = this.internalValue().length;\r\n if (min !== undefined && count < min) return true;\r\n if (max !== undefined && count > max) return true;\r\n if (this.requiredInput() && !this.hasValue()) return true;\r\n }\r\n return false;\r\n });\r\n\r\n protected readonly popoverAppearance = computed(() => {\r\n const a = this.appearance();\r\n return a === 'filled' ? 'surface' : a;\r\n });\r\n\r\n protected readonly canOpen = computed(() => {\r\n return !this.isEffectivelyDisabled() && !this.isEffectivelyReadonly();\r\n });\r\n\r\n protected readonly hasValue = computed(() => {\r\n return this.internalValue().length > 0;\r\n });\r\n\r\n protected readonly canClear = computed(() => {\r\n return (\r\n this.clearable() &&\r\n this.hasValue() &&\r\n !this.isEffectivelyDisabled() &&\r\n !this.isEffectivelyReadonly()\r\n );\r\n });\r\n\r\n protected readonly selectedOptions = computed<SolarisOptionComponent[]>(\r\n () => {\r\n const value = this.internalValue();\r\n const comp = this.compareWith();\r\n const opts = this.options;\r\n if (!opts || value.length === 0) {\r\n return [];\r\n }\r\n return opts.filter((opt) => value.some((v) => comp(opt.value(), v)));\r\n },\r\n );\r\n\r\n protected readonly selectedCount = computed(() => {\r\n return this.internalValue().length;\r\n });\r\n\r\n protected readonly selectedLabels = computed(() => {\r\n const dw = this.displayWith();\r\n const selected = this.selectedOptions();\r\n return selected\r\n .map((opt) => {\r\n if (dw) {\r\n const result = dw(opt.value());\r\n if (result !== undefined) return result;\r\n }\r\n const label = opt.labelText();\r\n if (label) return label;\r\n const native = this.getOptionNativeText(opt);\r\n if (native) return native;\r\n return '';\r\n })\r\n .filter(Boolean);\r\n });\r\n\r\n protected readonly summaryText = computed(() => {\r\n const count = this.selectedCount();\r\n if (count === 0) return '';\r\n\r\n const key = this.selectedCountLabelKey();\r\n if (key) {\r\n return this.translateService.translate(key, { count: String(count) });\r\n }\r\n const text = this.selectedCountLabel();\r\n if (text) return text;\r\n\r\n if (count === 1) {\r\n return this.translateService.translate(\r\n 'solaris.multiSelect.selectedCount.singular',\r\n { count: '1' },\r\n );\r\n }\r\n return this.translateService.translate(\r\n 'solaris.multiSelect.selectedCount.plural',\r\n { count: String(count) },\r\n );\r\n });\r\n\r\n private readonly availableContentWidth = computed(() => {\r\n const tw = this.triggerWidth();\r\n if (tw <= 0) return 0;\r\n const searchWidth = this.searchable() && this.panelOpen() ? 80 : 0;\r\n return Math.max(0, tw - searchWidth);\r\n });\r\n\r\n protected readonly autoChipCount = computed(() => {\r\n if (this.displayMode() !== 'auto') return 0;\r\n const selected = this.selectedOptions();\r\n if (selected.length === 0) return 0;\r\n const avail = this.availableContentWidth();\r\n if (avail <= 0) return 0;\r\n let remaining = avail;\r\n let count = 0;\r\n for (const opt of selected) {\r\n const label = this.getOptionDisplayLabel(opt);\r\n const canRemove =\r\n !this.isEffectivelyDisabled() && !this.isEffectivelyReadonly();\r\n const labelWidth = label.length * 9;\r\n const chipPaddingX = 16;\r\n const removeWidth = canRemove ? 20 : 0;\r\n const chipWidth = labelWidth + chipPaddingX + removeWidth + 4;\r\n if (chipWidth <= remaining) {\r\n remaining -= chipWidth;\r\n count++;\r\n } else {\r\n break;\r\n }\r\n }\r\n return count;\r\n });\r\n\r\n protected readonly autoOverflowCount = computed(() => {\r\n return Math.max(0, this.selectedOptions().length - this.autoChipCount());\r\n });\r\n\r\n protected readonly autoShowOverflow = computed(() => {\r\n return this.autoOverflowCount() > 0;\r\n });\r\n\r\n protected readonly showCountOnly = computed(() => {\r\n return (\r\n this.displayMode() === 'auto' &&\r\n this.autoChipCount() === 0 &&\r\n this.selectedCount() > 0\r\n );\r\n });\r\n\r\n protected readonly autoVisibleChips = computed(() => {\r\n return this.selectedOptions().slice(0, this.autoChipCount());\r\n });\r\n\r\n protected readonly autoOverflowTooltipText = computed(() => {\r\n const selected = this.selectedOptions();\r\n const count = this.autoChipCount();\r\n return selected\r\n .slice(count)\r\n .map((opt) => this.getOptionDisplayLabel(opt))\r\n .join(', ');\r\n });\r\n\r\n protected readonly countTooltipText = computed(() => {\r\n return this.selectedLabels().join(', ');\r\n });\r\n\r\n protected readonly overflowCount = computed(() => {\r\n return Math.max(0, this.selectedOptions().length - this.maxVisibleChips());\r\n });\r\n\r\n protected readonly overflowText = computed(() => {\r\n const count = this.overflowCount();\r\n if (count <= 0) return '';\r\n\r\n const key = this.overflowLabelKey();\r\n if (key) {\r\n return this.translateService.translate(key, { count: String(count) });\r\n }\r\n const text = this.overflowLabel();\r\n if (text) return text;\r\n\r\n return `+${count}`;\r\n });\r\n\r\n protected readonly commaText = computed(() => {\r\n return this.selectedLabels().join(', ');\r\n });\r\n\r\n protected readonly displayText = computed(() => {\r\n const mode = this.displayMode();\r\n if (mode === 'summary') return this.summaryText();\r\n if (mode === 'comma') return this.commaText();\r\n return '';\r\n });\r\n\r\n protected readonly placeholderText = computed(() => {\r\n const key = this.placeholderKey();\r\n if (key) {\r\n return this.translateService.translate(key) || this.placeholder() || '';\r\n }\r\n return this.placeholder() ?? '';\r\n });\r\n\r\n protected readonly searchPlaceholderText = computed(() => {\r\n const key = this.searchPlaceholderKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n const text = this.searchPlaceholder();\r\n if (text) {\r\n return text;\r\n }\r\n return this.translateService.translate(\r\n 'solaris.multiSelect.search.placeholder',\r\n );\r\n });\r\n\r\n protected readonly loadingTextValue = computed(() => {\r\n const key = this.loadingTextKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n const text = this.loadingText();\r\n if (text) {\r\n return text;\r\n }\r\n return this.translateService.translate('solaris.multiSelect.loading');\r\n });\r\n\r\n protected readonly emptyTextValue = computed(() => {\r\n const key = this.emptyTextKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n const text = this.emptyText();\r\n if (text) {\r\n return text;\r\n }\r\n return this.translateService.translate('solaris.multiSelect.empty');\r\n });\r\n\r\n protected readonly noResultsTextValue = computed(() => {\r\n const key = this.noResultsTextKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n const text = this.noResultsText();\r\n if (text) {\r\n return text;\r\n }\r\n return this.translateService.translate('solaris.multiSelect.noResults');\r\n });\r\n\r\n protected readonly clearAriaLabel = computed(() => {\r\n const key = this.clearLabelKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n const text = this.clearLabel();\r\n if (text) {\r\n return text;\r\n }\r\n return this.translateService.translate('solaris.multiSelect.clear');\r\n });\r\n\r\n protected readonly selectAllLabelText = computed(() => {\r\n const key = this.selectAllLabelKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n const text = this.selectAllLabel();\r\n if (text) {\r\n return text;\r\n }\r\n return this.translateService.translate('solaris.multiSelect.selectAll');\r\n });\r\n\r\n protected readonly removeChipAriaLabel = computed(() => {\r\n const key = this.removeChipLabelKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n const text = this.removeChipLabel();\r\n if (text) {\r\n return text;\r\n }\r\n return this.translateService.translate('solaris.multiSelect.removeChip');\r\n });\r\n\r\n protected readonly ariaLabelText = computed(() => {\r\n const key = this.ariaLabelKey();\r\n if (key) {\r\n return this.translateService.translate(key);\r\n }\r\n return this.ariaLabel();\r\n });\r\n\r\n protected readonly ariaLabelledbyText = computed(() => {\r\n return this.ariaLabelledby();\r\n });\r\n\r\n protected readonly labelText = computed(() => {\r\n const key = this.labelKey();\r\n if (key) {\r\n return this.translateService.translate(key) || this.label() || '';\r\n }\r\n return this.label() ?? '';\r\n });\r\n\r\n protected readonly hintText = computed(() => {\r\n const key = this.hintKey();\r\n if (key) {\r\n return this.translateService.translate(key) || this.hint() || '';\r\n }\r\n return this.hint() ?? '';\r\n });\r\n\r\n protected readonly errorText = computed(() => {\r\n const key = this.errorKey();\r\n if (key) {\r\n return this.translateService.translate(key) || this.error() || '';\r\n }\r\n return this.error() ?? '';\r\n });\r\n\r\n protected readonly activeDescendantId = computed(() => {\r\n if (!this.panelOpen()) return null;\r\n const idx = this.activeOptionIndex();\r\n const opts = this.visibleOptions();\r\n if (idx >= 0 && idx < opts.length) {\r\n return (opts[idx] as unknown as { elementId: () => string }).elementId();\r\n }\r\n return null;\r\n });\r\n\r\n protected readonly _describedByIds = signal<string[]>([]);\r\n\r\n protected readonly ariaDescribedBy = computed(() => {\r\n const ids = this._describedByIds();\r\n return ids.length > 0 ? ids.join(' ') : null;\r\n });\r\n\r\n protected readonly visibleOptions = computed(() => {\r\n const opts = this.options;\r\n if (!opts) return [];\r\n if (!this.panelOpen()) return [];\r\n const query = this.searchQuery().toLowerCase().trim();\r\n if (!query) return opts.toArray();\r\n return opts.toArray().filter((opt) => {\r\n if (opt.isEffectivelyDisabled()) return false;\r\n return this.optionMatchesSearch(opt, query);\r\n });\r\n });\r\n\r\n protected readonly showNoResults = computed(() => {\r\n return (\r\n this.searchQuery().trim().length > 0 &&\r\n this.visibleOptions().length === 0 &&\r\n !this.loading()\r\n );\r\n });\r\n\r\n protected readonly showEmpty = computed(() => {\r\n const opts = this.options;\r\n return (\r\n (!opts || opts.length === 0) &&\r\n !this.loading() &&\r\n this.searchQuery().trim().length === 0\r\n );\r\n });\r\n\r\n protected readonly allSelectedCount = computed(() => {\r\n const value = this.internalValue();\r\n const comp = this.compareWith();\r\n const opts = this.selectableOptions();\r\n return opts.filter((opt) => value.some((v) => comp(opt.value(), v))).length;\r\n });\r\n\r\n protected readonly selectableOptions = computed(() => {\r\n const opts = this.options;\r\n if (!opts) return [];\r\n const query = this.searchQuery().trim();\r\n let filtered: SolarisOptionComponent[];\r\n if (query) {\r\n filtered = opts\r\n .toArray()\r\n .filter(\r\n (o) =>\r\n !o.isEffectivelyDisabled() && this.optionMatchesSearch(o, query),\r\n );\r\n } else {\r\n filtered = opts.toArray().filter((o) => !o.isEffectivelyDisabled());\r\n }\r\n return filtered;\r\n });\r\n\r\n protected readonly isAllSelected = computed(() => {\r\n const selectable = this.selectableOptions();\r\n if (selectable.length === 0) return false;\r\n return this.allSelectedCount() === selectable.length;\r\n });\r\n\r\n protected readonly isPartialSelected = computed(() => {\r\n const selectable = this.selectableOptions();\r\n if (selectable.length === 0) return false;\r\n return (\r\n this.allSelectedCount() > 0 && this.allSelectedCount() < selectable.length\r\n );\r\n });\r\n\r\n protected readonly effectiveDisplayMode = computed(() => {\r\n if (this.hasValue() && this.displayMode() === 'chips') return 'chips';\r\n return this.displayMode();\r\n });\r\n\r\n get id(): string {\r\n return this.elementId();\r\n }\r\n\r\n get focused(): boolean {\r\n return this.internalFocused();\r\n }\r\n\r\n get disabled(): boolean {\r\n return this.isEffectivelyDisabled();\r\n }\r\n\r\n get readonly(): boolean {\r\n return this.isEffectivelyReadonly();\r\n }\r\n\r\n get invalid(): boolean {\r\n return this.isEffectivelyInvalid();\r\n }\r\n\r\n get required(): boolean {\r\n return this.requiredInput();\r\n }\r\n\r\n get describedByIds(): string[] {\r\n return this._describedByIds();\r\n }\r\n\r\n setDescribedByIds(ids: string[]): void {\r\n this._describedByIds.set([...ids]);\r\n }\r\n\r\n focus(): void {\r\n // SECURITY_EXCEPTION: nativeElement.focus() required to programmatically focus the multi-select trigger. Standard DOM method used by Angular CDK.\r\n if (this.triggerElement) {\r\n this.triggerElement.nativeElement.focus();\r\n } else {\r\n // SECURITY_EXCEPTION: nativeElement.focus() required as fallback when no triggerElement ref. Standard DOM method.\r\n this.elementRef.nativeElement.focus();\r\n }\r\n }\r\n\r\n writeValue(safe: unknown): void {\r\n const arr = normalizeArray(safe);\r\n this.internalValue.set([...arr]);\r\n }\r\n\r\n registerOnChange(fn: (value: unknown[]) => void): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: () => void): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState(isDisabled: boolean): void {\r\n this.internalDisabled.set(isDisabled);\r\n }\r\n\r\n constructor() {\r\n super();\r\n effect(() => {\r\n if (!this.optionsInitialized()) return;\r\n this.internalValue();\r\n this.setOptionsSelectedState();\r\n });\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.optionsInitialized.set(true);\r\n this.setOptionsMultiSelectMode();\r\n this.setOptionsSelectedState();\r\n this.setOptionGroupDisabledState();\r\n this.syncActiveStates();\r\n this.syncVisibility();\r\n this.subscribeToOptionInteractions();\r\n\r\n const optionsSub = this.options.changes.subscribe(() => {\r\n this.setOptionsMultiSelectMode();\r\n this.setOptionsSelectedState();\r\n this.setOptionGroupDisabledState();\r\n this.syncVisibility();\r\n this.subscribeToOptionInteractions();\r\n });\r\n this.optionsSubscription = () => optionsSub.unsubscribe();\r\n\r\n if (isDevMode() && this.parentFormField) {\r\n console.warn(\r\n 'SolarisMultiSelectComponent already includes SolarisFormField internally. ' +\r\n 'Do not wrap it with <solaris-form-field>; pass label, hint, error, prefix and suffix directly to <solaris-multi-select>.',\r\n );\r\n }\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n if (this.popoverTrigger) {\r\n const openedSub = this.popoverTrigger.solarisPopoverOpened.subscribe(\r\n () => {\r\n this.onPanelOpened();\r\n },\r\n );\r\n const closedSub = this.popoverTrigger.solarisPopoverClosed.subscribe(\r\n () => {\r\n this.onPanelClosed();\r\n },\r\n );\r\n this.popoverSubscriptions.push(\r\n () => openedSub.unsubscribe(),\r\n () => closedSub.unsubscribe(),\r\n );\r\n }\r\n this.setupResizeObserver();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.optionsSubscription?.();\r\n this.optionInteractionSubscriptions.forEach((fn) => fn());\r\n this.popoverSubscriptions.forEach((fn) => fn());\r\n this.resizeObserver?.disconnect();\r\n this.resizeObserver = null;\r\n }\r\n\r\n private setupResizeObserver(): void {\r\n // SECURITY_EXCEPTION: nativeElement access needed to measure trigger content width for auto display mode. ResizeObserver is SSR-safe (guarded by typeof check). offsetWidth is read-only, no XSS risk.\r\n const el = this.triggerContentRef?.nativeElement;\r\n if (!el) return;\r\n\r\n this.triggerWidth.set(el.offsetWidth);\r\n\r\n if (typeof ResizeObserver !== 'undefined') {\r\n this.resizeObserver?.disconnect();\r\n this.resizeObserver = new ResizeObserver((entries) => {\r\n for (const entry of entries) {\r\n this.triggerWidth.set(entry.contentRect.width);\r\n }\r\n });\r\n this.resizeObserver.observe(el);\r\n }\r\n }\r\n\r\n protected onPanelOpened(): void {\r\n this.searchQuery.set('');\r\n this.panelOpen.set(true);\r\n this.setOptionsSelectedState();\r\n this.syncActiveStates();\r\n this.syncVisibility();\r\n this.opened.emit();\r\n this.openChange.emit(true);\r\n this.setConnectedSide('bottom');\r\n\r\n if (this.searchable()) {\r\n requestAnimationFrame(() => {\r\n // SECURITY_EXCEPTION: nativeElement.focus() required to focus search input when panel opens. Standard DOM method.\r\n this.searchInputRef?.nativeElement.focus();\r\n });\r\n }\r\n }\r\n\r\n protected onPanelClosed(): void {\r\n this.panelOpen.set(false);\r\n this.searchQuery.set('');\r\n this.syncVisibility();\r\n this.closed.emit();\r\n this.openChange.emit(false);\r\n this.markAsTouched();\r\n this.clearConnectedSide();\r\n }\r\n\r\n private setConnectedSide(side: 'bottom' | 'top'): void {\r\n // SECURITY_EXCEPTION: nativeElement required to access form-field DOM for connected-side sync. ElementRef SSR-safe.\r\n const el = this.formFieldElement?.nativeElement;\r\n if (el) {\r\n // SECURITY_EXCEPTION: nativeElement.querySelector required to find control-wrapper for connected-side sync.\r\n const wrapper = el.querySelector<HTMLElement>(\r\n '.solaris-form-field__control-wrapper',\r\n );\r\n if (wrapper) {\r\n wrapper.dataset['connectedSide'] = side;\r\n }\r\n }\r\n }\r\n\r\n private clearConnectedSide(): void {\r\n // SECURITY_EXCEPTION: nativeElement required to access form-field DOM for connected-side cleanup. ElementRef SSR-safe.\r\n const el = this.formFieldElement?.nativeElement;\r\n if (el) {\r\n const wrapper = el.querySelector<HTMLElement>(\r\n '.solaris-form-field__control-wrapper',\r\n );\r\n if (wrapper) {\r\n delete wrapper.dataset['connectedSide'];\r\n }\r\n }\r\n }\r\n\r\n protected toggleOption(option: SolarisOptionComponent): void {\r\n if (option.isEffectivelyDisabled()) return;\r\n\r\n const value = this.internalValue();\r\n const optValue = option.value();\r\n const comp = this.compareWith();\r\n const idx = value.findIndex((v) => comp(v, optValue));\r\n\r\n let newValue: unknown[];\r\n if (idx >= 0) {\r\n newValue = [...value.slice(0, idx), ...value.slice(idx + 1)];\r\n } else {\r\n newValue = [...value, optValue];\r\n }\r\n\r\n this.internalValue.set(newValue);\r\n this.onChange(newValue);\r\n this.valueChange.emit(newValue);\r\n this.selectionChange.emit(option);\r\n this.setOptionsSelectedState();\r\n\r\n if (this.searchable() && this.panelOpen()) {\r\n requestAnimationFrame(() => {\r\n // SECURITY_EXCEPTION: nativeElement.focus() required to restore focus to search input after selection. ElementRef SSR-safe.\r\n this.searchInputRef?.nativeElement.focus();\r\n });\r\n }\r\n }\r\n\r\n protected clearValue(): void {\r\n this.internalValue.set([]);\r\n this.onChange([]);\r\n this.valueChange.emit([]);\r\n this.selectionChange.emit(undefined as unknown as SolarisOptionComponent);\r\n this.cleared.emit();\r\n this.setOptionsSelectedState();\r\n this.markAsTouched();\r\n }\r\n\r\n protected handleSelectAll(): void {\r\n if (this.isEffectivelyReadonly() || this.isEffectivelyDisabled()) return;\r\n const selectable = this.selectableOptions();\r\n if (selectable.length === 0) return;\r\n\r\n const value = this.internalValue();\r\n const comp = this.compareWith();\r\n\r\n if (this.isAllSelected()) {\r\n const selectableValues = new Set(selectable.map((o) => o.value()));\r\n const newValue = value.filter((v) => {\r\n for (const sv of selectableValues) {\r\n if (comp(v, sv)) return false;\r\n }\r\n return true;\r\n });\r\n this.internalValue.set(newValue);\r\n this.onChange(newValue);\r\n this.valueChange.emit(newValue);\r\n } else {\r\n const existingValues = new Set(value);\r\n const newValues: unknown[] = [...value];\r\n selectable.forEach((opt) => {\r\n const ov = opt.value();\r\n let found = false;\r\n for (const ev of existingValues) {\r\n if (comp(ev, ov)) {\r\n found = true;\r\n break;\r\n }\r\n }\r\n if (!found) {\r\n newValues.push(ov);\r\n }\r\n });\r\n this.internalValue.set(newValues);\r\n this.onChange(newValues);\r\n this.valueChange.emit(newValues);\r\n }\r\n\r\n this.setOptionsSelectedState();\r\n }\r\n\r\n protected removeChip(option: SolarisOptionComponent, event: Event): void {\r\n event.stopPropagation();\r\n this.toggleOption(option);\r\n }\r\n\r\n protected onTriggerKeydown(event: KeyboardEvent): void {\r\n if (!this.canOpen()) {\r\n event.preventDefault();\r\n return;\r\n }\r\n\r\n if (this.maybeClosePanel(event)) return;\r\n if (this.maybeNavigateToBound(event)) return;\r\n\r\n switch (event.key) {\r\n case 'Enter':\r\n case ' ':\r\n event.preventDefault();\r\n this.handleToggleOpen();\r\n break;\r\n case 'ArrowDown':\r\n event.preventDefault();\r\n this.handleArrow(1);\r\n break;\r\n case 'ArrowUp':\r\n event.preventDefault();\r\n this.handleArrow(-1);\r\n break;\r\n }\r\n }\r\n\r\n private handleToggleOpen(): void {\r\n if (this.panelOpen()) {\r\n this.selectActiveOption();\r\n } else {\r\n this.popoverTrigger?.open();\r\n }\r\n }\r\n\r\n private handleArrow(direction: 1 | -1): void {\r\n if (this.panelOpen()) {\r\n this.focusNextOption(direction);\r\n } else {\r\n this.popoverTrigger?.open();\r\n requestAnimationFrame(() => this.focusNextOption(direction));\r\n }\r\n }\r\n\r\n private maybeClosePanel(event: KeyboardEvent): boolean {\r\n if (!this.panelOpen()) return false;\r\n if (event.key === 'Escape') {\r\n event.preventDefault();\r\n this.popoverTrigger?.close();\r\n return true;\r\n }\r\n if (event.key === 'Tab') {\r\n this.popoverTrigger?.close();\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n private maybeNavigateToBound(event: KeyboardEvent): boolean {\r\n if (!this.panelOpen()) return false;\r\n if (event.key === 'Home') {\r\n event.preventDefault();\r\n this.activeOptionIndex.set(this.getFirstEnabledOptionIndex());\r\n this.syncActiveStates();\r\n return true;\r\n }\r\n if (event.key === 'End') {\r\n event.preventDefault();\r\n this.activeOptionIndex.set(this.getLastEnabledOptionIndex());\r\n this.syncActiveStates();\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n protected onSearchInput(event: Event): void {\r\n const target = event.target as HTMLInputElement;\r\n const value = target.value;\r\n this.searchQuery.set(value);\r\n this.searchChange.emit(value);\r\n this.activeOptionIndex.set(-1);\r\n this.syncActiveStates();\r\n this.syncVisibility();\r\n }\r\n\r\n protected onSearchKeydown(event: KeyboardEvent): void {\r\n switch (event.key) {\r\n case 'ArrowDown':\r\n event.preventDefault();\r\n event.stopPropagation();\r\n this.focusNextOption(1);\r\n break;\r\n case 'ArrowUp':\r\n event.preventDefault();\r\n event.stopPropagation();\r\n this.focusNextOption(-1);\r\n break;\r\n case 'Enter':\r\n event.preventDefault();\r\n event.stopPropagation();\r\n this.selectActiveOption();\r\n break;\r\n case 'Escape':\r\n event.preventDefault();\r\n event.stopPropagation();\r\n if (this.searchQuery()) {\r\n this.searchQuery.set('');\r\n this.searchChange.emit('');\r\n this.syncVisibility();\r\n this.syncActiveStates();\r\n } else {\r\n this.popoverTrigger?.close();\r\n }\r\n break;\r\n case 'Tab':\r\n this.popoverTrigger?.close();\r\n break;\r\n case 'Backspace':\r\n if (\r\n !this.searchQuery() &&\r\n !this.isEffectivelyDisabled() &&\r\n !this.isEffectivelyReadonly()\r\n ) {\r\n event.preventDefault();\r\n const selected = this.selectedOptions();\r\n if (selected.length > 0) {\r\n this.toggleOption(selected[selected.length - 1]);\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n\r\n protected onPanelClick(event: MouseEvent): void {\r\n event.stopPropagation();\r\n }\r\n\r\n protected onPanelKeydown(event: KeyboardEvent): void {\r\n event.stopPropagation();\r\n switch (event.key) {\r\n case 'ArrowDown':\r\n event.preventDefault();\r\n this.focusNextOption(1);\r\n break;\r\n case 'ArrowUp':\r\n event.preventDefault();\r\n this.focusNextOption(-1);\r\n break;\r\n case 'Enter':\r\n case ' ':\r\n event.preventDefault();\r\n this.selectActiveOption();\r\n break;\r\n case 'Escape':\r\n event.preventDefault();\r\n this.popoverTrigger?.close();\r\n break;\r\n case 'Home':\r\n event.preventDefault();\r\n this.activeOptionIndex.set(this.getFirstEnabledOptionIndex());\r\n break;\r\n case 'End':\r\n event.preventDefault();\r\n this.activeOptionIndex.set(this.getLastEnabledOptionIndex());\r\n break;\r\n }\r\n }\r\n\r\n protected onTriggerFocus(): void {\r\n this.internalFocused.set(true);\r\n }\r\n\r\n protected onTriggerBlur(): void {\r\n this.internalFocused.set(false);\r\n }\r\n\r\n private subscribeToOptionInteractions(): void {\r\n this.optionInteractionSubscriptions.forEach((fn) => fn());\r\n this.optionInteractionSubscriptions = [];\r\n this.options.forEach((opt) => {\r\n const sub = opt.optionInteraction.subscribe(({ option }) => {\r\n this.toggleOption(option);\r\n });\r\n this.optionInteractionSubscriptions.push(() => sub.unsubscribe());\r\n });\r\n }\r\n\r\n protected setOptionsMultiSelectMode(): void {\r\n this.options.forEach((opt) => {\r\n opt.setSelectionMode('multiple');\r\n opt.setShowSelectionIndicator(true);\r\n });\r\n }\r\n\r\n protected setOptionsSelectedState(): void {\r\n const value = this.internalValue();\r\n const comp = this.compareWith();\r\n this.options.forEach((opt) => {\r\n const isSelected = value.some((v) => comp(opt.value(), v));\r\n opt.setSelected(isSelected);\r\n });\r\n }\r\n\r\n private setOptionGroupDisabledState(): void {\r\n this.optionGroups.forEach((group) => {\r\n group.options.forEach((opt) => {\r\n opt.setGroupDisabledState(group.isEffectivelyDisabled());\r\n });\r\n });\r\n }\r\n\r\n private syncActiveStates(): void {\r\n const idx = this.activeOptionIndex();\r\n const opts = this.visibleOptions();\r\n this.options.forEach((opt) => opt.setActive(false));\r\n if (idx >= 0 && idx < opts.length) {\r\n opts[idx].setActive(true);\r\n }\r\n }\r\n\r\n private syncVisibility(): void {\r\n const query = this.searchQuery().trim();\r\n if (!query) {\r\n this.options.forEach((o) => o.setHidden(false));\r\n this.optionGroups.forEach((g) => g.setHidden(false));\r\n return;\r\n }\r\n const visible = new Set(this.visibleOptions());\r\n this.options.forEach((o) => o.setHidden(!visible.has(o)));\r\n this.optionGroups.forEach((g) => {\r\n const anyVisible = g.options.some((o) => visible.has(o));\r\n g.setHidden(!anyVisible);\r\n });\r\n }\r\n\r\n protected getOptionDisplayLabel(option: SolarisOptionComponent): string {\r\n const dw = this.displayWith();\r\n if (dw) {\r\n const result = dw(option.value());\r\n if (result !== undefined) return result;\r\n }\r\n const label = option.labelText();\r\n if (label) return label;\r\n const native = this.getOptionNativeText(option);\r\n if (native) return native;\r\n return '';\r\n }\r\n\r\n private getOptionNativeText(option: SolarisOptionComponent): string {\r\n const nativeEl = (\r\n option as unknown as { elementRef: ElementRef<HTMLElement> }\r\n ).elementRef;\r\n // SECURITY_EXCEPTION: nativeElement access needed to read option text for search filtering. Read-only, SSR-safe.\r\n if (nativeEl?.nativeElement) {\r\n // SECURITY_EXCEPTION: nativeElement.textContent needed to read option text for search filtering. Read-only, SSR-safe.\r\n return nativeEl.nativeElement.textContent?.trim() || '';\r\n }\r\n return '';\r\n }\r\n\r\n protected optionMatchesSearch(\r\n option: SolarisOptionComponent,\r\n query: string,\r\n ): boolean {\r\n const label = (option.labelText() || '').toLowerCase();\r\n const desc = (option.descriptionText() || '').toLowerCase();\r\n const native = this.getOptionNativeText(option).toLowerCase();\r\n const normalizedQuery = query\r\n .normalize('NFD')\r\n .replace(/[\\u0300-\\u036f]/g, '');\r\n const normalizedLabel = label\r\n .normalize('NFD')\r\n .replace(/[\\u0300-\\u036f]/g, '');\r\n const normalizedDesc = desc\r\n .normalize('NFD')\r\n .replace(/[\\u0300-\\u036f]/g, '');\r\n const normalizedNative = native\r\n .normalize('NFD')\r\n .replace(/[\\u0300-\\u036f]/g, '');\r\n\r\n return (\r\n normalizedLabel.includes(normalizedQuery) ||\r\n normalizedDesc.includes(normalizedQuery) ||\r\n normalizedNative.includes(normalizedQuery)\r\n );\r\n }\r\n\r\n private markAsTouched(): void {\r\n if (!this.touched()) {\r\n this.touched.set(true);\r\n this.onTouched();\r\n }\r\n }\r\n\r\n private selectActiveOption(): void {\r\n const idx = this.activeOptionIndex();\r\n const opts = this.visibleOptions();\r\n if (idx >= 0 && idx < opts.length) {\r\n this.toggleOption(opts[idx]);\r\n }\r\n }\r\n\r\n private focusNextOption(direction: 1 | -1): void {\r\n const opts = this.visibleOptions();\r\n if (opts.length === 0) return;\r\n\r\n let current = this.activeOptionIndex();\r\n\r\n if (current < 0 || current >= opts.length) {\r\n current = direction === 1 ? -1 : opts.length;\r\n }\r\n\r\n let next = current + direction;\r\n\r\n while (next >= 0 && next < opts.length) {\r\n if (!opts[next].isEffectivelyDisabled()) {\r\n this.activeOptionIndex.set(next);\r\n this.syncActiveStates();\r\n return;\r\n }\r\n next += direction;\r\n }\r\n\r\n if (direction === 1 && next >= opts.length) {\r\n this.activeOptionIndex.set(this.getFirstEnabledOptionIndex());\r\n this.syncActiveStates();\r\n } else if (direction === -1 && next < 0) {\r\n this.activeOptionIndex.set(this.getLastEnabledOptionIndex());\r\n this.syncActiveStates();\r\n }\r\n }\r\n\r\n private getFirstEnabledOptionIndex(): number {\r\n const opts = this.visibleOptions();\r\n for (let i = 0; i < opts.length; i++) {\r\n if (!opts[i].isEffectivelyDisabled()) return i;\r\n }\r\n return -1;\r\n }\r\n\r\n private getLastEnabledOptionIndex(): number {\r\n const opts = this.visibleOptions();\r\n for (let i = opts.length - 1; i >= 0; i--) {\r\n if (!opts[i].isEffectivelyDisabled()) return i;\r\n }\r\n return -1;\r\n }\r\n}\r\n","<solaris-form-field\r\n #formFieldRef\r\n [control]=\"this\"\r\n [label]=\"labelText()\"\r\n [hint]=\"hintText()\"\r\n [error]=\"errorText()\"\r\n [appearance]=\"appearance()\"\r\n [size]=\"size()\"\r\n [density]=\"effectiveDensity()\"\r\n [radius]=\"radius()\"\r\n [invalid]=\"isEffectivelyInvalid()\"\r\n [required]=\"requiredInput()\"\r\n solaris-popover-trigger\r\n [solarisPopoverDisabled]=\"!canOpen()\"\r\n [solarisPopoverTriggerFor]=\"matchWidthPopover\"\r\n [class.solaris-multi-select--panel-open]=\"panelOpen()\"\r\n [solarisPopoverMatchTriggerWidth]=\"panelMatchTriggerWidth()\"\r\n [solarisPopoverAppearance]=\"popoverAppearance()\"\r\n [solarisPopoverPlacement]=\"'bottom'\"\r\n [solarisPopoverAlign]=\"'start'\"\r\n [solarisPopoverOffset]=\"0\"\r\n [solarisPopoverPadding]=\"'none'\"\r\n [solarisPopoverRadius]=\"radius()\"\r\n [solarisPopoverTopConnected]=\"true\"\r\n [solarisPopoverMinWidth]=\"panelMinWidth()\"\r\n [solarisPopoverMaxWidth]=\"panelMaxWidth()\"\r\n [solarisPopoverScrollStrategy]=\"'reposition'\"\r\n [solarisPopoverCloseOnEscape]=\"false\"\r\n [solarisPopoverAriaHasPopup]=\"'listbox'\"\r\n>\r\n @if (icon(); as iconName) {\r\n <solaris-icon solaris-form-prefix [name]=\"iconName\" [decorative]=\"true\" />\r\n }\r\n <ng-content select=\"[solaris-form-prefix]\" />\r\n\r\n <div\r\n #triggerEl\r\n class=\"solaris-multi-select__trigger\"\r\n [id]=\"elementId() + '--trigger'\"\r\n solaris-form-field-trigger\r\n role=\"combobox\"\r\n tabindex=\"0\"\r\n [attr.aria-expanded]=\"panelOpen() ? 'true' : 'false'\"\r\n [attr.aria-controls]=\"panelOpen() ? panelId : null\"\r\n [attr.aria-haspopup]=\"'listbox'\"\r\n [attr.aria-activedescendant]=\"activeDescendantId()\"\r\n (keydown)=\"onTriggerKeydown($event)\"\r\n (focus)=\"onTriggerFocus()\"\r\n (blur)=\"onTriggerBlur()\"\r\n >\r\n <div class=\"solaris-multi-select__trigger-content\" #triggerContent>\r\n @if (displayMode() === 'auto') {\r\n @if (hasValue()) {\r\n @if (showCountOnly()) {\r\n <span\r\n class=\"solaris-multi-select__chip\"\r\n [solarisTooltip]=\"countTooltipText()\"\r\n [solarisTooltipTrigger]=\"'hover'\"\r\n tabindex=\"0\"\r\n >\r\n <span class=\"solaris-multi-select__chip-label\">{{\r\n summaryText()\r\n }}</span>\r\n </span>\r\n } @else {\r\n <div\r\n class=\"solaris-multi-select__chips solaris-multi-select__chips--auto\"\r\n >\r\n @for (opt of autoVisibleChips(); track opt) {\r\n <span class=\"solaris-multi-select__chip\" role=\"listitem\">\r\n <span class=\"solaris-multi-select__chip-label\">{{\r\n getOptionDisplayLabel(opt)\r\n }}</span>\r\n @if (!isEffectivelyDisabled() && !isEffectivelyReadonly()) {\r\n <button\r\n type=\"button\"\r\n class=\"solaris-multi-select__chip-remove\"\r\n [attr.aria-label]=\"removeChipAriaLabel()\"\r\n (click)=\"removeChip(opt, $event)\"\r\n tabindex=\"-1\"\r\n >\r\n <solaris-icon name=\"x\" [decorative]=\"true\" />\r\n </button>\r\n }\r\n </span>\r\n }\r\n @if (autoShowOverflow()) {\r\n <span\r\n class=\"solaris-multi-select__chip-overflow\"\r\n [solarisTooltip]=\"autoOverflowTooltipText()\"\r\n [solarisTooltipTrigger]=\"'hover'\"\r\n tabindex=\"0\"\r\n [attr.aria-label]=\"\r\n '+ ' +\r\n autoOverflowCount() +\r\n ' ' +\r\n selectedLabels().join(', ')\r\n \"\r\n >+{{ autoOverflowCount() }}</span\r\n >\r\n }\r\n </div>\r\n }\r\n }\r\n @if (searchable() && panelOpen()) {\r\n <input\r\n #searchInput\r\n type=\"text\"\r\n class=\"solaris-multi-select__search-input\"\r\n [attr.placeholder]=\"searchPlaceholderText()\"\r\n [value]=\"searchQuery()\"\r\n (input)=\"onSearchInput($event)\"\r\n (keydown)=\"onSearchKeydown($event)\"\r\n (click)=\"$event.stopPropagation()\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n />\r\n }\r\n @if (!hasValue() && !(searchable() && panelOpen())) {\r\n <span class=\"solaris-multi-select__value\">\r\n <span class=\"solaris-multi-select__placeholder\">{{\r\n placeholderText()\r\n }}</span>\r\n </span>\r\n }\r\n } @else {\r\n @if (searchable() && panelOpen()) {\r\n <input\r\n #searchInput\r\n type=\"text\"\r\n class=\"solaris-multi-select__search-input\"\r\n [attr.placeholder]=\"searchPlaceholderText()\"\r\n [value]=\"searchQuery()\"\r\n (input)=\"onSearchInput($event)\"\r\n (keydown)=\"onSearchKeydown($event)\"\r\n (click)=\"$event.stopPropagation()\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n />\r\n } @else {\r\n @if (hasValue()) {\r\n @if (displayMode() === 'chips') {\r\n <div class=\"solaris-multi-select__chips\">\r\n @for (\r\n opt of selectedOptions().slice(0, maxVisibleChips());\r\n track opt\r\n ) {\r\n <span class=\"solaris-multi-select__chip\" role=\"listitem\">\r\n <span class=\"solaris-multi-select__chip-label\">{{\r\n getOptionDisplayLabel(opt)\r\n }}</span>\r\n @if (!isEffectivelyDisabled() && !isEffectivelyReadonly()) {\r\n <button\r\n type=\"button\"\r\n class=\"solaris-multi-select__chip-remove\"\r\n [attr.aria-label]=\"removeChipAriaLabel()\"\r\n (click)=\"removeChip(opt, $event)\"\r\n tabindex=\"-1\"\r\n >\r\n <solaris-icon name=\"x\" [decorative]=\"true\" />\r\n </button>\r\n }\r\n </span>\r\n }\r\n @if (overflowCount() > 0) {\r\n <span\r\n class=\"solaris-multi-select__chip-overflow\"\r\n [attr.aria-label]=\"\r\n '+ ' + overflowCount() + ' ' + selectedLabels().join(', ')\r\n \"\r\n >\r\n {{ overflowText() }}\r\n </span>\r\n }\r\n </div>\r\n } @else if (displayMode() === 'comma') {\r\n <span class=\"solaris-multi-select__value\">\r\n <span class=\"solaris-multi-select__value-text\">{{\r\n commaText()\r\n }}</span>\r\n </span>\r\n } @else {\r\n <span\r\n class=\"solaris-multi-select__chip\"\r\n [solarisTooltip]=\"countTooltipText()\"\r\n [solarisTooltipTrigger]=\"'hover'\"\r\n tabindex=\"0\"\r\n >\r\n <span class=\"solaris-multi-select__chip-label\">{{\r\n summaryText()\r\n }}</span>\r\n </span>\r\n }\r\n } @else {\r\n <span class=\"solaris-multi-select__value\">\r\n <span class=\"solaris-multi-select__placeholder\">{{\r\n placeholderText()\r\n }}</span>\r\n </span>\r\n }\r\n }\r\n }\r\n </div>\r\n\r\n <span class=\"solaris-multi-select__actions\">\r\n @if (canClear()) {\r\n <button\r\n type=\"button\"\r\n class=\"solaris-multi-select__clear\"\r\n [attr.aria-label]=\"clearAriaLabel()\"\r\n (click)=\"clearValue(); $event.stopPropagation()\"\r\n tabindex=\"-1\"\r\n >\r\n <solaris-icon name=\"x\" [decorative]=\"true\" />\r\n </button>\r\n }\r\n\r\n <solaris-icon\r\n class=\"solaris-multi-select__dropdown-icon\"\r\n name=\"chevron-down\"\r\n [decorative]=\"true\"\r\n size=\"sm\"\r\n />\r\n </span>\r\n </div>\r\n\r\n <ng-content select=\"[solaris-form-suffix]\" />\r\n</solaris-form-field>\r\n\r\n<ng-template #matchWidthPopover=\"solarisPopover\" solaris-popover>\r\n <div\r\n class=\"solaris-multi-select__panel\"\r\n role=\"listbox\"\r\n [attr.aria-multiselectable]=\"'true'\"\r\n [attr.id]=\"panelId\"\r\n tabindex=\"-1\"\r\n (click)=\"onPanelClick($event)\"\r\n (keydown)=\"onPanelKeydown($event)\"\r\n >\r\n @if (selectAll() && !loading()) {\r\n <div\r\n class=\"solaris-multi-select__select-all\"\r\n role=\"option\"\r\n aria-selected=\"false\"\r\n tabindex=\"-1\"\r\n (click)=\"handleSelectAll()\"\r\n (keydown.enter)=\"handleSelectAll()\"\r\n (keydown.space)=\"handleSelectAll(); $event.preventDefault()\"\r\n [class.solaris-multi-select__select-all--readonly]=\"\r\n isEffectivelyReadonly()\r\n \"\r\n >\r\n <span\r\n class=\"solaris-multi-select__select-all-checkbox\"\r\n [class.solaris-multi-select__select-all-checkbox--checked]=\"\r\n isAllSelected()\r\n \"\r\n [class.solaris-multi-select__select-all-checkbox--partial]=\"\r\n isPartialSelected()\r\n \"\r\n >\r\n @if (isAllSelected()) {\r\n <span class=\"solaris-multi-select__select-all-checkbox-icon\">\r\n <solaris-icon name=\"check\" [decorative]=\"true\" />\r\n </span>\r\n } @else if (isPartialSelected()) {\r\n <span class=\"solaris-multi-select__select-all-checkbox-icon\">\r\n <solaris-icon name=\"minus\" [decorative]=\"true\" />\r\n </span>\r\n }\r\n </span>\r\n <span class=\"solaris-multi-select__select-all-label\">{{\r\n selectAllLabelText()\r\n }}</span>\r\n </div>\r\n }\r\n\r\n @if (loading()) {\r\n <div class=\"solaris-multi-select__loading\">\r\n <span class=\"solaris-multi-select__loading-text\">{{\r\n loadingTextValue()\r\n }}</span>\r\n </div>\r\n } @else if (showNoResults()) {\r\n <div class=\"solaris-multi-select__no-results\">\r\n <span class=\"solaris-multi-select__no-results-text\">{{\r\n noResultsTextValue()\r\n }}</span>\r\n </div>\r\n } @else if (showEmpty()) {\r\n <div class=\"solaris-multi-select__empty\">\r\n <span class=\"solaris-multi-select__empty-text\">{{\r\n emptyTextValue()\r\n }}</span>\r\n </div>\r\n } @else {\r\n <div\r\n class=\"solaris-multi-select__options\"\r\n [style.max-height]=\"panelMaxHeight()\"\r\n >\r\n <ng-content select=\"solaris-option, solaris-option-group\" />\r\n </div>\r\n }\r\n </div>\r\n</ng-template>\r\n"]}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=multi-select.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"multi-select.types.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/multi-select/model/multi-select.types.ts"],"names":[],"mappings":"","sourcesContent":["export type SolarisMultiSelectAppearance = 'outline' | 'surface' | 'filled';\r\n\r\nexport type SolarisMultiSelectSize = 'sm' | 'md' | 'lg';\r\n\r\nexport type SolarisMultiSelectDensity = 'compact' | 'comfortable';\r\n\r\nexport type SolarisMultiSelectRadius = 'none' | 'sm' | 'md' | 'lg';\r\n\r\nexport type SolarisMultiSelectDisplayMode =\r\n | 'auto'\r\n | 'summary'\r\n | 'chips'\r\n | 'comma';\r\n"]}
@@ -1,149 +0,0 @@
1
- import { Component, input, output, computed, signal, inject, ElementRef, contentChild, HostListener, } from '@angular/core';
2
- import { SolarisTranslateService } from '../../../../services/translation';
3
- import { SolarisIconComponent } from '../../../icon';
4
- import { SolarisOptionLeadingDirective, SolarisOptionLabelDirective, SolarisOptionDescriptionDirective, SolarisOptionMetaDirective, SolarisOptionTrailingDirective, } from '../directives/option-slots.directive';
5
- import * as i0 from "@angular/core";
6
- let nextId = 0;
7
- function generateId() {
8
- return `solaris-option-${++nextId}`;
9
- }
10
- export class SolarisOptionComponent {
11
- elementRef = inject(ElementRef);
12
- translateService = inject(SolarisTranslateService);
13
- groupDisabled = signal(false, ...(ngDevMode ? [{ debugName: "groupDisabled" }] : /* istanbul ignore next */ []));
14
- internalSelected = signal(undefined, ...(ngDevMode ? [{ debugName: "internalSelected" }] : /* istanbul ignore next */ []));
15
- internalActive = signal(undefined, ...(ngDevMode ? [{ debugName: "internalActive" }] : /* istanbul ignore next */ []));
16
- internalHidden = signal(false, ...(ngDevMode ? [{ debugName: "internalHidden" }] : /* istanbul ignore next */ []));
17
- internalSelectionMode = signal(undefined, ...(ngDevMode ? [{ debugName: "internalSelectionMode" }] : /* istanbul ignore next */ []));
18
- internalShowSelectionIndicator = signal(undefined, ...(ngDevMode ? [{ debugName: "internalShowSelectionIndicator" }] : /* istanbul ignore next */ []));
19
- leadingSlot = contentChild(SolarisOptionLeadingDirective, ...(ngDevMode ? [{ debugName: "leadingSlot" }] : /* istanbul ignore next */ []));
20
- labelSlot = contentChild(SolarisOptionLabelDirective, ...(ngDevMode ? [{ debugName: "labelSlot" }] : /* istanbul ignore next */ []));
21
- descriptionSlot = contentChild(SolarisOptionDescriptionDirective, ...(ngDevMode ? [{ debugName: "descriptionSlot" }] : /* istanbul ignore next */ []));
22
- metaSlot = contentChild(SolarisOptionMetaDirective, ...(ngDevMode ? [{ debugName: "metaSlot" }] : /* istanbul ignore next */ []));
23
- trailingSlot = contentChild(SolarisOptionTrailingDirective, ...(ngDevMode ? [{ debugName: "trailingSlot" }] : /* istanbul ignore next */ []));
24
- value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
25
- optionLabel = input(undefined, { ...(ngDevMode ? { debugName: "optionLabel" } : /* istanbul ignore next */ {}), alias: 'label' });
26
- labelKey = input(...(ngDevMode ? [undefined, { debugName: "labelKey" }] : /* istanbul ignore next */ []));
27
- description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : /* istanbul ignore next */ []));
28
- descriptionKey = input(...(ngDevMode ? [undefined, { debugName: "descriptionKey" }] : /* istanbul ignore next */ []));
29
- disabledInput = input(false, { ...(ngDevMode ? { debugName: "disabledInput" } : /* istanbul ignore next */ {}), alias: 'disabled',
30
- transform: (v) => v ?? false });
31
- selectedInput = input(false, { ...(ngDevMode ? { debugName: "selectedInput" } : /* istanbul ignore next */ {}), alias: 'selected',
32
- transform: (v) => v ?? false });
33
- selected = computed(() => this.internalSelected() ?? this.selectedInput(), ...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
34
- setSelected(isSelected) {
35
- this.internalSelected.set(isSelected);
36
- }
37
- setActive(v) {
38
- this.internalActive.set(v);
39
- }
40
- setHidden(v) {
41
- this.internalHidden.set(v);
42
- }
43
- setSelectionMode(mode) {
44
- this.internalSelectionMode.set(mode);
45
- }
46
- setShowSelectionIndicator(show) {
47
- this.internalShowSelectionIndicator.set(show);
48
- }
49
- effectiveSelectionMode = computed(() => {
50
- return this.internalSelectionMode() ?? this.selectionMode();
51
- }, ...(ngDevMode ? [{ debugName: "effectiveSelectionMode" }] : /* istanbul ignore next */ []));
52
- effectiveShowSelectionIndicator = computed(() => {
53
- const internal = this.internalShowSelectionIndicator();
54
- return internal !== undefined ? internal : this.showSelectionIndicator();
55
- }, ...(ngDevMode ? [{ debugName: "effectiveShowSelectionIndicator" }] : /* istanbul ignore next */ []));
56
- effectiveActive = computed(() => this.internalActive() ?? this.active(), ...(ngDevMode ? [{ debugName: "effectiveActive" }] : /* istanbul ignore next */ []));
57
- active = input(false, { ...(ngDevMode ? { debugName: "active" } : /* istanbul ignore next */ {}), transform: (v) => v ?? false });
58
- highlighted = input(false, { ...(ngDevMode ? { debugName: "highlighted" } : /* istanbul ignore next */ {}), transform: (v) => v ?? false });
59
- selectionMode = input('none', ...(ngDevMode ? [{ debugName: "selectionMode" }] : /* istanbul ignore next */ []));
60
- showSelectionIndicator = input(false, { ...(ngDevMode ? { debugName: "showSelectionIndicator" } : /* istanbul ignore next */ {}), transform: (v) => v ?? false });
61
- size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
62
- density = input(...(ngDevMode ? [undefined, { debugName: "density" }] : /* istanbul ignore next */ []));
63
- optionId = input(undefined, { ...(ngDevMode ? { debugName: "optionId" } : /* istanbul ignore next */ {}), alias: 'id' });
64
- optionInteraction = output();
65
- elementId = computed(() => {
66
- return (this.optionId() ||
67
- // SECURITY_EXCEPTION: nativeElement.getAttribute('id') is the standard DOM API to check existing ID before generating one. Same approach used by Angular CDK form controls and Solaris Checkbox.
68
- this.elementRef.nativeElement.getAttribute('id') ||
69
- generateId());
70
- }, ...(ngDevMode ? [{ debugName: "elementId" }] : /* istanbul ignore next */ []));
71
- effectiveDensity = computed(() => {
72
- return this.density() ?? 'comfortable';
73
- }, ...(ngDevMode ? [{ debugName: "effectiveDensity" }] : /* istanbul ignore next */ []));
74
- isEffectivelyDisabled = computed(() => {
75
- return this.disabledInput() || this.groupDisabled();
76
- }, ...(ngDevMode ? [{ debugName: "isEffectivelyDisabled" }] : /* istanbul ignore next */ []));
77
- ariaSelected = computed(() => {
78
- if (this.effectiveSelectionMode() === 'none' ||
79
- !this.effectiveShowSelectionIndicator()) {
80
- return null;
81
- }
82
- return this.selected() ? 'true' : 'false';
83
- }, ...(ngDevMode ? [{ debugName: "ariaSelected" }] : /* istanbul ignore next */ []));
84
- labelText = computed(() => {
85
- const key = this.labelKey();
86
- if (key) {
87
- const translated = this.translateService.translate(key);
88
- if (translated !== key)
89
- return translated;
90
- return this.optionLabel() ?? key;
91
- }
92
- return this.optionLabel();
93
- }, ...(ngDevMode ? [{ debugName: "labelText" }] : /* istanbul ignore next */ []));
94
- descriptionText = computed(() => {
95
- const key = this.descriptionKey();
96
- if (key) {
97
- const translated = this.translateService.translate(key);
98
- if (translated !== key)
99
- return translated;
100
- return this.description() ?? key;
101
- }
102
- return this.description();
103
- }, ...(ngDevMode ? [{ debugName: "descriptionText" }] : /* istanbul ignore next */ []));
104
- showSelectionVisual = computed(() => {
105
- return (this.effectiveShowSelectionIndicator() &&
106
- this.effectiveSelectionMode() !== 'none');
107
- }, ...(ngDevMode ? [{ debugName: "showSelectionVisual" }] : /* istanbul ignore next */ []));
108
- isCheckSelection = computed(() => {
109
- return (this.effectiveSelectionMode() === 'single' && this.showSelectionVisual());
110
- }, ...(ngDevMode ? [{ debugName: "isCheckSelection" }] : /* istanbul ignore next */ []));
111
- isMultiCheckSelection = computed(() => {
112
- return (this.effectiveSelectionMode() === 'multiple' && this.showSelectionVisual());
113
- }, ...(ngDevMode ? [{ debugName: "isMultiCheckSelection" }] : /* istanbul ignore next */ []));
114
- setGroupDisabledState(isDisabled) {
115
- this.groupDisabled.set(isDisabled);
116
- }
117
- onClick(event) {
118
- if (this.isEffectivelyDisabled()) {
119
- event.preventDefault();
120
- event.stopPropagation();
121
- return;
122
- }
123
- this.optionInteraction.emit({ option: this, event });
124
- }
125
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
126
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: SolarisOptionComponent, isStandalone: true, selector: "solaris-option", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelKey: { classPropertyName: "labelKey", publicName: "labelKey", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, descriptionKey: { classPropertyName: "descriptionKey", publicName: "descriptionKey", isSignal: true, isRequired: false, transformFunction: null }, disabledInput: { classPropertyName: "disabledInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selectedInput: { classPropertyName: "selectedInput", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, highlighted: { classPropertyName: "highlighted", publicName: "highlighted", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showSelectionIndicator: { classPropertyName: "showSelectionIndicator", publicName: "showSelectionIndicator", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null }, optionId: { classPropertyName: "optionId", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { optionInteraction: "optionInteraction" }, host: { attributes: { "role": "option" }, listeners: { "click": "onClick($event)" }, properties: { "attr.aria-selected": "ariaSelected()", "attr.aria-disabled": "isEffectivelyDisabled() ? \"true\" : null", "attr.data-size": "size()", "attr.data-density": "effectiveDensity()", "attr.data-selected": "selected() ? \"\" : null", "attr.data-active": "effectiveActive() ? \"\" : null", "attr.data-highlighted": "highlighted() ? \"\" : null", "attr.data-disabled": "isEffectivelyDisabled() ? \"\" : null", "attr.data-selection-mode": "effectiveSelectionMode()", "attr.data-show-indicator": "effectiveShowSelectionIndicator() ? \"\" : null", "attr.id": "elementId()", "style.display": "internalHidden() ? \"none\" : \"\"" } }, queries: [{ propertyName: "leadingSlot", first: true, predicate: SolarisOptionLeadingDirective, descendants: true, isSignal: true }, { propertyName: "labelSlot", first: true, predicate: SolarisOptionLabelDirective, descendants: true, isSignal: true }, { propertyName: "descriptionSlot", first: true, predicate: SolarisOptionDescriptionDirective, descendants: true, isSignal: true }, { propertyName: "metaSlot", first: true, predicate: SolarisOptionMetaDirective, descendants: true, isSignal: true }, { propertyName: "trailingSlot", first: true, predicate: SolarisOptionTrailingDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"solaris-option\">\n @if (leadingSlot()) {\n <div class=\"solaris-option__leading\">\n <ng-content select=\"[solaris-option-leading]\" />\n </div>\n }\n\n @if (showSelectionVisual()) {\n <div class=\"solaris-option__selection-indicator\" aria-hidden=\"true\">\n @if (isMultiCheckSelection()) {\n <span\n class=\"solaris-option__checkbox\"\n [class.solaris-option__checkbox--checked]=\"selected()\"\n >\n @if (selected()) {\n <span class=\"solaris-option__checkbox-icon\">\n <solaris-icon name=\"check\" [decorative]=\"true\" />\n </span>\n }\n </span>\n }\n </div>\n }\n\n <div class=\"solaris-option__content\">\n <div class=\"solaris-option__label\">\n @if (labelSlot()) {\n <ng-content select=\"[solaris-option-label]\" />\n }\n <ng-content />\n @if (!labelSlot() && labelText(); as text) {\n <span class=\"solaris-option__label-text\">{{ text }}</span>\n }\n </div>\n\n @if (descriptionSlot()) {\n <div class=\"solaris-option__description\">\n <ng-content select=\"[solaris-option-description]\" />\n </div>\n } @else if (descriptionText(); as desc) {\n <div class=\"solaris-option__description\">\n <span class=\"solaris-option__description-text\">{{ desc }}</span>\n </div>\n }\n </div>\n\n @if (metaSlot()) {\n <div class=\"solaris-option__meta\">\n <ng-content select=\"[solaris-option-meta]\" />\n </div>\n }\n\n @if (trailingSlot() || selected()) {\n <div class=\"solaris-option__trailing\">\n <ng-content select=\"[solaris-option-trailing]\" />\n @if (selected()) {\n <span class=\"solaris-option__trailing-check\">\n <solaris-icon name=\"check\" [decorative]=\"true\" />\n </span>\n }\n </div>\n }\n</div>\n", styles: [":host{--solaris-option-gap: initial;--solaris-option-radius: initial;--solaris-option-padding-y: initial;--solaris-option-padding-x: initial;--solaris-option-min-height: initial;--solaris-option-meta-color: initial;--solaris-option-background: initial;--solaris-option-label-color: initial;--solaris-option-indicator-size: initial;--solaris-option-selected-color: initial;--solaris-option-description-font-size: initial;--solaris-option-meta-font-size: initial;--solaris-option-indicator-color: initial;--solaris-option-disabled-opacity: initial;--solaris-option-hover-background: initial;--solaris-option-active-background: initial;--solaris-option-description-color: initial;--solaris-option-selected-background: initial;outline:none;display:block}.solaris-option{display:flex;color:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;box-sizing:border-box;gap:var(--solaris-option-gap);border-radius:var(--solaris-option-radius);background:var(--solaris-option-background);min-height:var(--solaris-option-min-height);padding:var(--solaris-option-padding-y) var(--solaris-option-padding-x);transition:background-color .12s ease,color .12s ease}.solaris-option__leading,.solaris-option__selection-indicator{display:flex;flex-shrink:0;align-items:center;justify-content:center}.solaris-option__check,.solaris-option__checkbox{display:flex;align-items:center;box-sizing:border-box;justify-content:center;border-radius:var(--solaris-radius-sm);width:var(--solaris-option-indicator-size);height:var(--solaris-option-indicator-size)}.solaris-option__check-icon,.solaris-option__checkbox-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:calc(var(--solaris-spacing-1) / 2)}.solaris-option__checkbox{background:transparent;border:var(--solaris-border-width-sm) solid var(--solaris-option-indicator-color)}.solaris-option__checkbox--checked{color:var(--solaris-primary-text);background:var(--solaris-option-indicator-color);border-color:var(--solaris-option-indicator-color)}.solaris-option__content{flex:1;min-width:0;display:flex;gap:var(--solaris-spacing-1);flex-direction:column}.solaris-option__label{min-width:0;display:flex;align-items:center}.solaris-option__label-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--solaris-option-label-color)}.solaris-option__description{min-width:0;display:flex;align-items:center}.solaris-option__description-text{color:var(--solaris-option-description-color);overflow:hidden;font-size:var(--solaris-option-description-font-size);white-space:nowrap;text-overflow:ellipsis}.solaris-option__meta{display:flex;flex-shrink:0;font-size:var(--solaris-option-meta-font-size);align-items:center;color:var(--solaris-option-meta-color)}.solaris-option__trailing{display:flex;flex-shrink:0;align-items:center;gap:var(--solaris-option-gap)}.solaris-option__trailing-check{display:flex;align-items:center;justify-content:center;width:var(--solaris-option-indicator-size);height:var(--solaris-option-indicator-size);color:var(--solaris-success-base)}:host([data-selection-mode=single]) .solaris-option__check{border-radius:50%}:host([data-selection-mode=single]) .solaris-option__check-icon{padding:calc(var(--solaris-spacing-1) / 2)}:host([data-size=sm]){--solaris-option-min-height: 2rem;--solaris-option-disabled-opacity: .35;--solaris-option-background: transparent;--solaris-option-gap: var(--solaris-spacing-1);--solaris-option-radius: var(--solaris-radius-sm);--solaris-option-padding-y: var(--solaris-spacing-2);--solaris-option-padding-x: var(--solaris-spacing-3);--solaris-option-meta-color: var(--solaris-text-muted);--solaris-option-label-color: var(--solaris-text-default);--solaris-option-indicator-size: var(--solaris-spacing-4);--solaris-option-selected-color: var(--solaris-primary-text);--solaris-option-meta-font-size: var(--solaris-font-size-xs);--solaris-option-description-color: var(--solaris-text-muted);--solaris-option-indicator-color: var(--solaris-primary-base);--solaris-option-active-background: var(--solaris-surface-muted);--solaris-option-hover-background: var(--solaris-surface-subtle);--solaris-option-description-font-size: var(--solaris-font-size-xs);--solaris-option-selected-background: var(--solaris-primary-surface)}:host([data-size=sm]) .solaris-option__label-text{font-size:var(--solaris-font-size-sm);line-height:var(--solaris-line-height-sm)}:host([data-size=md]){--solaris-option-min-height: 2.5rem;--solaris-option-disabled-opacity: .35;--solaris-option-background: transparent;--solaris-option-gap: var(--solaris-spacing-2);--solaris-option-radius: var(--solaris-radius-sm);--solaris-option-padding-x: var(--solaris-spacing-4);--solaris-option-padding-y: var(--solaris-spacing-2);--solaris-option-meta-color: var(--solaris-text-muted);--solaris-option-label-color: var(--solaris-text-default);--solaris-option-indicator-size: var(--solaris-spacing-5);--solaris-option-selected-color: var(--solaris-primary-text);--solaris-option-meta-font-size: var(--solaris-font-size-sm);--solaris-option-indicator-color: var(--solaris-primary-base);--solaris-option-description-color: var(--solaris-text-muted);--solaris-option-hover-background: var(--solaris-surface-subtle);--solaris-option-active-background: var(--solaris-surface-muted);--solaris-option-description-font-size: var(--solaris-font-size-sm);--solaris-option-selected-background: var(--solaris-primary-surface)}:host([data-size=md]) .solaris-option__label-text{font-size:var(--solaris-font-size-md);line-height:var(--solaris-line-height-md)}:host([data-size=lg]){--solaris-option-min-height: 3rem;--solaris-option-disabled-opacity: .35;--solaris-option-background: transparent;--solaris-option-gap: var(--solaris-spacing-3);--solaris-option-radius: var(--solaris-radius-md);--solaris-option-padding-y: var(--solaris-spacing-3);--solaris-option-padding-x: var(--solaris-spacing-5);--solaris-option-meta-color: var(--solaris-text-muted);--solaris-option-label-color: var(--solaris-text-default);--solaris-option-meta-font-size: var(--solaris-font-size-sm);--solaris-option-indicator-size: var(--solaris-spacing-6);--solaris-option-selected-color: var(--solaris-primary-text);--solaris-option-description-color: var(--solaris-text-muted);--solaris-option-indicator-color: var(--solaris-primary-base);--solaris-option-hover-background: var(--solaris-surface-subtle);--solaris-option-active-background: var(--solaris-surface-muted);--solaris-option-selected-background: var(--solaris-primary-surface);--solaris-option-description-font-size: var(--solaris-font-size-sm)}:host([data-size=lg]) .solaris-option__label-text{font-size:var(--solaris-font-size-lg);line-height:var(--solaris-line-height-lg)}:host([data-density=compact]){--solaris-option-min-height: auto;--solaris-option-gap: var(--solaris-spacing-2);--solaris-option-padding-x: var(--solaris-spacing-3);--solaris-option-padding-y: var(--solaris-density-padding-sm)}:host([data-density=comfortable]){--solaris-option-gap: var(--solaris-spacing-4)}:host(:not([data-disabled])) .solaris-option:hover{background:var(--solaris-option-hover-background)}:host(:not([data-disabled])) .solaris-option:active{background:var(--solaris-option-active-background)}:host([data-selected]:not([data-disabled])) .solaris-option{background:var(--solaris-option-selected-background);color:var(--solaris-option-selected-color)}:host([data-active]:not([data-disabled])) .solaris-option{background:var(--solaris-option-active-background)}:host([data-active][data-selected]:not([data-disabled])) .solaris-option{background:var(--solaris-option-selected-background);color:var(--solaris-option-selected-color)}:host([data-highlighted]) .solaris-option{outline:var(--solaris-border-width-sm) solid var(--solaris-primary-base);outline-offset:calc(-1 * var(--solaris-spacing-1) / 2)}:host([data-disabled]) .solaris-option{opacity:var(--solaris-option-disabled-opacity);cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: SolarisIconComponent, selector: "solaris-icon", inputs: ["name", "ariaLabel", "decorative"] }] });
127
- }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionComponent, decorators: [{
129
- type: Component,
130
- args: [{ selector: 'solaris-option', standalone: true, imports: [SolarisIconComponent], host: {
131
- role: 'option',
132
- '[attr.aria-selected]': 'ariaSelected()',
133
- '[attr.aria-disabled]': 'isEffectivelyDisabled() ? "true" : null',
134
- '[attr.data-size]': 'size()',
135
- '[attr.data-density]': 'effectiveDensity()',
136
- '[attr.data-selected]': 'selected() ? "" : null',
137
- '[attr.data-active]': 'effectiveActive() ? "" : null',
138
- '[attr.data-highlighted]': 'highlighted() ? "" : null',
139
- '[attr.data-disabled]': 'isEffectivelyDisabled() ? "" : null',
140
- '[attr.data-selection-mode]': 'effectiveSelectionMode()',
141
- '[attr.data-show-indicator]': 'effectiveShowSelectionIndicator() ? "" : null',
142
- '[attr.id]': 'elementId()',
143
- '[style.display]': 'internalHidden() ? "none" : ""',
144
- }, template: "<div class=\"solaris-option\">\n @if (leadingSlot()) {\n <div class=\"solaris-option__leading\">\n <ng-content select=\"[solaris-option-leading]\" />\n </div>\n }\n\n @if (showSelectionVisual()) {\n <div class=\"solaris-option__selection-indicator\" aria-hidden=\"true\">\n @if (isMultiCheckSelection()) {\n <span\n class=\"solaris-option__checkbox\"\n [class.solaris-option__checkbox--checked]=\"selected()\"\n >\n @if (selected()) {\n <span class=\"solaris-option__checkbox-icon\">\n <solaris-icon name=\"check\" [decorative]=\"true\" />\n </span>\n }\n </span>\n }\n </div>\n }\n\n <div class=\"solaris-option__content\">\n <div class=\"solaris-option__label\">\n @if (labelSlot()) {\n <ng-content select=\"[solaris-option-label]\" />\n }\n <ng-content />\n @if (!labelSlot() && labelText(); as text) {\n <span class=\"solaris-option__label-text\">{{ text }}</span>\n }\n </div>\n\n @if (descriptionSlot()) {\n <div class=\"solaris-option__description\">\n <ng-content select=\"[solaris-option-description]\" />\n </div>\n } @else if (descriptionText(); as desc) {\n <div class=\"solaris-option__description\">\n <span class=\"solaris-option__description-text\">{{ desc }}</span>\n </div>\n }\n </div>\n\n @if (metaSlot()) {\n <div class=\"solaris-option__meta\">\n <ng-content select=\"[solaris-option-meta]\" />\n </div>\n }\n\n @if (trailingSlot() || selected()) {\n <div class=\"solaris-option__trailing\">\n <ng-content select=\"[solaris-option-trailing]\" />\n @if (selected()) {\n <span class=\"solaris-option__trailing-check\">\n <solaris-icon name=\"check\" [decorative]=\"true\" />\n </span>\n }\n </div>\n }\n</div>\n", styles: [":host{--solaris-option-gap: initial;--solaris-option-radius: initial;--solaris-option-padding-y: initial;--solaris-option-padding-x: initial;--solaris-option-min-height: initial;--solaris-option-meta-color: initial;--solaris-option-background: initial;--solaris-option-label-color: initial;--solaris-option-indicator-size: initial;--solaris-option-selected-color: initial;--solaris-option-description-font-size: initial;--solaris-option-meta-font-size: initial;--solaris-option-indicator-color: initial;--solaris-option-disabled-opacity: initial;--solaris-option-hover-background: initial;--solaris-option-active-background: initial;--solaris-option-description-color: initial;--solaris-option-selected-background: initial;outline:none;display:block}.solaris-option{display:flex;color:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;box-sizing:border-box;gap:var(--solaris-option-gap);border-radius:var(--solaris-option-radius);background:var(--solaris-option-background);min-height:var(--solaris-option-min-height);padding:var(--solaris-option-padding-y) var(--solaris-option-padding-x);transition:background-color .12s ease,color .12s ease}.solaris-option__leading,.solaris-option__selection-indicator{display:flex;flex-shrink:0;align-items:center;justify-content:center}.solaris-option__check,.solaris-option__checkbox{display:flex;align-items:center;box-sizing:border-box;justify-content:center;border-radius:var(--solaris-radius-sm);width:var(--solaris-option-indicator-size);height:var(--solaris-option-indicator-size)}.solaris-option__check-icon,.solaris-option__checkbox-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:calc(var(--solaris-spacing-1) / 2)}.solaris-option__checkbox{background:transparent;border:var(--solaris-border-width-sm) solid var(--solaris-option-indicator-color)}.solaris-option__checkbox--checked{color:var(--solaris-primary-text);background:var(--solaris-option-indicator-color);border-color:var(--solaris-option-indicator-color)}.solaris-option__content{flex:1;min-width:0;display:flex;gap:var(--solaris-spacing-1);flex-direction:column}.solaris-option__label{min-width:0;display:flex;align-items:center}.solaris-option__label-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--solaris-option-label-color)}.solaris-option__description{min-width:0;display:flex;align-items:center}.solaris-option__description-text{color:var(--solaris-option-description-color);overflow:hidden;font-size:var(--solaris-option-description-font-size);white-space:nowrap;text-overflow:ellipsis}.solaris-option__meta{display:flex;flex-shrink:0;font-size:var(--solaris-option-meta-font-size);align-items:center;color:var(--solaris-option-meta-color)}.solaris-option__trailing{display:flex;flex-shrink:0;align-items:center;gap:var(--solaris-option-gap)}.solaris-option__trailing-check{display:flex;align-items:center;justify-content:center;width:var(--solaris-option-indicator-size);height:var(--solaris-option-indicator-size);color:var(--solaris-success-base)}:host([data-selection-mode=single]) .solaris-option__check{border-radius:50%}:host([data-selection-mode=single]) .solaris-option__check-icon{padding:calc(var(--solaris-spacing-1) / 2)}:host([data-size=sm]){--solaris-option-min-height: 2rem;--solaris-option-disabled-opacity: .35;--solaris-option-background: transparent;--solaris-option-gap: var(--solaris-spacing-1);--solaris-option-radius: var(--solaris-radius-sm);--solaris-option-padding-y: var(--solaris-spacing-2);--solaris-option-padding-x: var(--solaris-spacing-3);--solaris-option-meta-color: var(--solaris-text-muted);--solaris-option-label-color: var(--solaris-text-default);--solaris-option-indicator-size: var(--solaris-spacing-4);--solaris-option-selected-color: var(--solaris-primary-text);--solaris-option-meta-font-size: var(--solaris-font-size-xs);--solaris-option-description-color: var(--solaris-text-muted);--solaris-option-indicator-color: var(--solaris-primary-base);--solaris-option-active-background: var(--solaris-surface-muted);--solaris-option-hover-background: var(--solaris-surface-subtle);--solaris-option-description-font-size: var(--solaris-font-size-xs);--solaris-option-selected-background: var(--solaris-primary-surface)}:host([data-size=sm]) .solaris-option__label-text{font-size:var(--solaris-font-size-sm);line-height:var(--solaris-line-height-sm)}:host([data-size=md]){--solaris-option-min-height: 2.5rem;--solaris-option-disabled-opacity: .35;--solaris-option-background: transparent;--solaris-option-gap: var(--solaris-spacing-2);--solaris-option-radius: var(--solaris-radius-sm);--solaris-option-padding-x: var(--solaris-spacing-4);--solaris-option-padding-y: var(--solaris-spacing-2);--solaris-option-meta-color: var(--solaris-text-muted);--solaris-option-label-color: var(--solaris-text-default);--solaris-option-indicator-size: var(--solaris-spacing-5);--solaris-option-selected-color: var(--solaris-primary-text);--solaris-option-meta-font-size: var(--solaris-font-size-sm);--solaris-option-indicator-color: var(--solaris-primary-base);--solaris-option-description-color: var(--solaris-text-muted);--solaris-option-hover-background: var(--solaris-surface-subtle);--solaris-option-active-background: var(--solaris-surface-muted);--solaris-option-description-font-size: var(--solaris-font-size-sm);--solaris-option-selected-background: var(--solaris-primary-surface)}:host([data-size=md]) .solaris-option__label-text{font-size:var(--solaris-font-size-md);line-height:var(--solaris-line-height-md)}:host([data-size=lg]){--solaris-option-min-height: 3rem;--solaris-option-disabled-opacity: .35;--solaris-option-background: transparent;--solaris-option-gap: var(--solaris-spacing-3);--solaris-option-radius: var(--solaris-radius-md);--solaris-option-padding-y: var(--solaris-spacing-3);--solaris-option-padding-x: var(--solaris-spacing-5);--solaris-option-meta-color: var(--solaris-text-muted);--solaris-option-label-color: var(--solaris-text-default);--solaris-option-meta-font-size: var(--solaris-font-size-sm);--solaris-option-indicator-size: var(--solaris-spacing-6);--solaris-option-selected-color: var(--solaris-primary-text);--solaris-option-description-color: var(--solaris-text-muted);--solaris-option-indicator-color: var(--solaris-primary-base);--solaris-option-hover-background: var(--solaris-surface-subtle);--solaris-option-active-background: var(--solaris-surface-muted);--solaris-option-selected-background: var(--solaris-primary-surface);--solaris-option-description-font-size: var(--solaris-font-size-sm)}:host([data-size=lg]) .solaris-option__label-text{font-size:var(--solaris-font-size-lg);line-height:var(--solaris-line-height-lg)}:host([data-density=compact]){--solaris-option-min-height: auto;--solaris-option-gap: var(--solaris-spacing-2);--solaris-option-padding-x: var(--solaris-spacing-3);--solaris-option-padding-y: var(--solaris-density-padding-sm)}:host([data-density=comfortable]){--solaris-option-gap: var(--solaris-spacing-4)}:host(:not([data-disabled])) .solaris-option:hover{background:var(--solaris-option-hover-background)}:host(:not([data-disabled])) .solaris-option:active{background:var(--solaris-option-active-background)}:host([data-selected]:not([data-disabled])) .solaris-option{background:var(--solaris-option-selected-background);color:var(--solaris-option-selected-color)}:host([data-active]:not([data-disabled])) .solaris-option{background:var(--solaris-option-active-background)}:host([data-active][data-selected]:not([data-disabled])) .solaris-option{background:var(--solaris-option-selected-background);color:var(--solaris-option-selected-color)}:host([data-highlighted]) .solaris-option{outline:var(--solaris-border-width-sm) solid var(--solaris-primary-base);outline-offset:calc(-1 * var(--solaris-spacing-1) / 2)}:host([data-disabled]) .solaris-option{opacity:var(--solaris-option-disabled-opacity);cursor:not-allowed}\n"] }]
145
- }], propDecorators: { leadingSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SolarisOptionLeadingDirective), { isSignal: true }] }], labelSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SolarisOptionLabelDirective), { isSignal: true }] }], descriptionSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SolarisOptionDescriptionDirective), { isSignal: true }] }], metaSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SolarisOptionMetaDirective), { isSignal: true }] }], trailingSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SolarisOptionTrailingDirective), { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], labelKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelKey", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], descriptionKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "descriptionKey", required: false }] }], disabledInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], selectedInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], highlighted: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlighted", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], showSelectionIndicator: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSelectionIndicator", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }], optionId: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], optionInteraction: [{ type: i0.Output, args: ["optionInteraction"] }], onClick: [{
146
- type: HostListener,
147
- args: ['click', ['$event']]
148
- }] } });
149
- //# sourceMappingURL=option.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"option.component.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/option/component/option.component.ts","../../../../../../../../../packages/angular/src/lib/components/forms/option/component/option.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,EACN,UAAU,EACV,YAAY,EACZ,YAAY,GACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAQ3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC1B,8BAA8B,GAC/B,MAA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iBAAiB,EAAE,gCAAgC;qBACpD;gGAiB6C,6BAA6B,2FAC/B,2BAA2B,iGAErE,iCAAiC,0FAEQ,0BAA0B,8FAEnE,8BAA8B;sBA+I/B,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC","sourcesContent":["import {\r\n Component,\r\n input,\r\n output,\r\n computed,\r\n signal,\r\n inject,\r\n ElementRef,\r\n contentChild,\r\n HostListener,\r\n} from '@angular/core';\r\n\r\nimport { SolarisTranslateService } from '../../../../services/translation';\r\n\r\nimport type {\r\n SolarisOptionSize,\r\n SolarisOptionDensity,\r\n SolarisOptionSelectionMode,\r\n} from '../model/option.types';\r\n\r\nimport { SolarisIconComponent } from '../../../icon';\r\n\r\nimport {\r\n SolarisOptionLeadingDirective,\r\n SolarisOptionLabelDirective,\r\n SolarisOptionDescriptionDirective,\r\n SolarisOptionMetaDirective,\r\n SolarisOptionTrailingDirective,\r\n} from '../directives/option-slots.directive';\r\n\r\nlet nextId = 0;\r\n\r\nfunction generateId(): string {\r\n return `solaris-option-${++nextId}`;\r\n}\r\n\r\n@Component({\r\n selector: 'solaris-option',\r\n standalone: true,\r\n imports: [SolarisIconComponent],\r\n templateUrl: './option.component.html',\r\n styleUrls: ['./option.component.scss'],\r\n host: {\r\n role: 'option',\r\n '[attr.aria-selected]': 'ariaSelected()',\r\n '[attr.aria-disabled]': 'isEffectivelyDisabled() ? \"true\" : null',\r\n '[attr.data-size]': 'size()',\r\n '[attr.data-density]': 'effectiveDensity()',\r\n '[attr.data-selected]': 'selected() ? \"\" : null',\r\n '[attr.data-active]': 'effectiveActive() ? \"\" : null',\r\n '[attr.data-highlighted]': 'highlighted() ? \"\" : null',\r\n '[attr.data-disabled]': 'isEffectivelyDisabled() ? \"\" : null',\r\n '[attr.data-selection-mode]': 'effectiveSelectionMode()',\r\n '[attr.data-show-indicator]':\r\n 'effectiveShowSelectionIndicator() ? \"\" : null',\r\n '[attr.id]': 'elementId()',\r\n '[style.display]': 'internalHidden() ? \"none\" : \"\"',\r\n },\r\n})\r\nexport class SolarisOptionComponent {\r\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n private readonly translateService = inject(SolarisTranslateService);\r\n\r\n protected readonly groupDisabled = signal(false);\r\n private readonly internalSelected = signal<boolean | undefined>(undefined);\r\n private readonly internalActive = signal<boolean | undefined>(undefined);\r\n protected readonly internalHidden = signal(false);\r\n private readonly internalSelectionMode = signal<\r\n SolarisOptionSelectionMode | undefined\r\n >(undefined);\r\n private readonly internalShowSelectionIndicator = signal<boolean | undefined>(\r\n undefined,\r\n );\r\n\r\n protected readonly leadingSlot = contentChild(SolarisOptionLeadingDirective);\r\n protected readonly labelSlot = contentChild(SolarisOptionLabelDirective);\r\n protected readonly descriptionSlot = contentChild(\r\n SolarisOptionDescriptionDirective,\r\n );\r\n protected readonly metaSlot = contentChild(SolarisOptionMetaDirective);\r\n protected readonly trailingSlot = contentChild(\r\n SolarisOptionTrailingDirective,\r\n );\r\n\r\n readonly value = input<unknown>();\r\n readonly optionLabel = input<string>(undefined, { alias: 'label' });\r\n readonly labelKey = input<string>();\r\n readonly description = input<string>();\r\n readonly descriptionKey = input<string>();\r\n readonly disabledInput = input<boolean, boolean>(false, {\r\n alias: 'disabled',\r\n transform: (v: boolean) => v ?? false,\r\n });\r\n readonly selectedInput = input<boolean, boolean>(false, {\r\n alias: 'selected',\r\n transform: (v: boolean) => v ?? false,\r\n });\r\n\r\n protected readonly selected = computed(\r\n () => this.internalSelected() ?? this.selectedInput(),\r\n );\r\n\r\n setSelected(isSelected: boolean): void {\r\n this.internalSelected.set(isSelected);\r\n }\r\n\r\n setActive(v: boolean): void {\r\n this.internalActive.set(v);\r\n }\r\n\r\n setHidden(v: boolean): void {\r\n this.internalHidden.set(v);\r\n }\r\n\r\n setSelectionMode(mode: SolarisOptionSelectionMode): void {\r\n this.internalSelectionMode.set(mode);\r\n }\r\n\r\n setShowSelectionIndicator(show: boolean): void {\r\n this.internalShowSelectionIndicator.set(show);\r\n }\r\n\r\n protected readonly effectiveSelectionMode = computed(() => {\r\n return this.internalSelectionMode() ?? this.selectionMode();\r\n });\r\n\r\n protected readonly effectiveShowSelectionIndicator = computed(() => {\r\n const internal = this.internalShowSelectionIndicator();\r\n return internal !== undefined ? internal : this.showSelectionIndicator();\r\n });\r\n\r\n protected readonly effectiveActive = computed(\r\n () => this.internalActive() ?? this.active(),\r\n );\r\n\r\n readonly active = input<boolean, boolean>(false, {\r\n transform: (v: boolean) => v ?? false,\r\n });\r\n readonly highlighted = input<boolean, boolean>(false, {\r\n transform: (v: boolean) => v ?? false,\r\n });\r\n readonly selectionMode = input<SolarisOptionSelectionMode>('none');\r\n readonly showSelectionIndicator = input<boolean, boolean>(false, {\r\n transform: (v: boolean) => v ?? false,\r\n });\r\n readonly size = input<SolarisOptionSize>('md');\r\n readonly density = input<SolarisOptionDensity>();\r\n readonly optionId = input<string>(undefined, { alias: 'id' });\r\n\r\n readonly optionInteraction = output<{\r\n option: SolarisOptionComponent;\r\n event: MouseEvent;\r\n }>();\r\n\r\n protected readonly elementId = computed(() => {\r\n return (\r\n this.optionId() ||\r\n // SECURITY_EXCEPTION: nativeElement.getAttribute('id') is the standard DOM API to check existing ID before generating one. Same approach used by Angular CDK form controls and Solaris Checkbox.\r\n this.elementRef.nativeElement.getAttribute('id') ||\r\n generateId()\r\n );\r\n });\r\n\r\n protected readonly effectiveDensity = computed<SolarisOptionDensity>(() => {\r\n return this.density() ?? 'comfortable';\r\n });\r\n\r\n readonly isEffectivelyDisabled = computed(() => {\r\n return this.disabledInput() || this.groupDisabled();\r\n });\r\n\r\n protected readonly ariaSelected = computed(() => {\r\n if (\r\n this.effectiveSelectionMode() === 'none' ||\r\n !this.effectiveShowSelectionIndicator()\r\n ) {\r\n return null;\r\n }\r\n return this.selected() ? 'true' : 'false';\r\n });\r\n\r\n readonly labelText = computed(() => {\r\n const key = this.labelKey();\r\n if (key) {\r\n const translated = this.translateService.translate(key);\r\n if (translated !== key) return translated;\r\n return this.optionLabel() ?? key;\r\n }\r\n return this.optionLabel();\r\n });\r\n\r\n readonly descriptionText = computed(() => {\r\n const key = this.descriptionKey();\r\n if (key) {\r\n const translated = this.translateService.translate(key);\r\n if (translated !== key) return translated;\r\n return this.description() ?? key;\r\n }\r\n return this.description();\r\n });\r\n\r\n protected readonly showSelectionVisual = computed(() => {\r\n return (\r\n this.effectiveShowSelectionIndicator() &&\r\n this.effectiveSelectionMode() !== 'none'\r\n );\r\n });\r\n\r\n protected readonly isCheckSelection = computed(() => {\r\n return (\r\n this.effectiveSelectionMode() === 'single' && this.showSelectionVisual()\r\n );\r\n });\r\n\r\n protected readonly isMultiCheckSelection = computed(() => {\r\n return (\r\n this.effectiveSelectionMode() === 'multiple' && this.showSelectionVisual()\r\n );\r\n });\r\n\r\n setGroupDisabledState(isDisabled: boolean): void {\r\n this.groupDisabled.set(isDisabled);\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n protected onClick(event: MouseEvent): void {\r\n if (this.isEffectivelyDisabled()) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n return;\r\n }\r\n this.optionInteraction.emit({ option: this, event });\r\n }\r\n}\r\n","<div class=\"solaris-option\">\n @if (leadingSlot()) {\n <div class=\"solaris-option__leading\">\n <ng-content select=\"[solaris-option-leading]\" />\n </div>\n }\n\n @if (showSelectionVisual()) {\n <div class=\"solaris-option__selection-indicator\" aria-hidden=\"true\">\n @if (isMultiCheckSelection()) {\n <span\n class=\"solaris-option__checkbox\"\n [class.solaris-option__checkbox--checked]=\"selected()\"\n >\n @if (selected()) {\n <span class=\"solaris-option__checkbox-icon\">\n <solaris-icon name=\"check\" [decorative]=\"true\" />\n </span>\n }\n </span>\n }\n </div>\n }\n\n <div class=\"solaris-option__content\">\n <div class=\"solaris-option__label\">\n @if (labelSlot()) {\n <ng-content select=\"[solaris-option-label]\" />\n }\n <ng-content />\n @if (!labelSlot() && labelText(); as text) {\n <span class=\"solaris-option__label-text\">{{ text }}</span>\n }\n </div>\n\n @if (descriptionSlot()) {\n <div class=\"solaris-option__description\">\n <ng-content select=\"[solaris-option-description]\" />\n </div>\n } @else if (descriptionText(); as desc) {\n <div class=\"solaris-option__description\">\n <span class=\"solaris-option__description-text\">{{ desc }}</span>\n </div>\n }\n </div>\n\n @if (metaSlot()) {\n <div class=\"solaris-option__meta\">\n <ng-content select=\"[solaris-option-meta]\" />\n </div>\n }\n\n @if (trailingSlot() || selected()) {\n <div class=\"solaris-option__trailing\">\n <ng-content select=\"[solaris-option-trailing]\" />\n @if (selected()) {\n <span class=\"solaris-option__trailing-check\">\n <solaris-icon name=\"check\" [decorative]=\"true\" />\n </span>\n }\n </div>\n }\n</div>\n"]}
@@ -1,58 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class SolarisOptionLeadingDirective {
4
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionLeadingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: SolarisOptionLeadingDirective, isStandalone: true, selector: "[solaris-option-leading]", ngImport: i0 });
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionLeadingDirective, decorators: [{
8
- type: Directive,
9
- args: [{
10
- selector: '[solaris-option-leading]',
11
- standalone: true,
12
- }]
13
- }] });
14
- export class SolarisOptionLabelDirective {
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: SolarisOptionLabelDirective, isStandalone: true, selector: "[solaris-option-label]", ngImport: i0 });
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionLabelDirective, decorators: [{
19
- type: Directive,
20
- args: [{
21
- selector: '[solaris-option-label]',
22
- standalone: true,
23
- }]
24
- }] });
25
- export class SolarisOptionDescriptionDirective {
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: SolarisOptionDescriptionDirective, isStandalone: true, selector: "[solaris-option-description]", ngImport: i0 });
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionDescriptionDirective, decorators: [{
30
- type: Directive,
31
- args: [{
32
- selector: '[solaris-option-description]',
33
- standalone: true,
34
- }]
35
- }] });
36
- export class SolarisOptionMetaDirective {
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionMetaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: SolarisOptionMetaDirective, isStandalone: true, selector: "[solaris-option-meta]", ngImport: i0 });
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionMetaDirective, decorators: [{
41
- type: Directive,
42
- args: [{
43
- selector: '[solaris-option-meta]',
44
- standalone: true,
45
- }]
46
- }] });
47
- export class SolarisOptionTrailingDirective {
48
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionTrailingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
49
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: SolarisOptionTrailingDirective, isStandalone: true, selector: "[solaris-option-trailing]", ngImport: i0 });
50
- }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisOptionTrailingDirective, decorators: [{
52
- type: Directive,
53
- args: [{
54
- selector: '[solaris-option-trailing]',
55
- standalone: true,
56
- }]
57
- }] });
58
- //# sourceMappingURL=option-slots.directive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"option-slots.directive.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/option/directives/option-slots.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAM1C,MAAM,OAAO,6BAA6B;wGAA7B,6BAA6B;4FAA7B,6BAA6B;;4FAA7B,6BAA6B;kBAJzC,SAAS;mBAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,UAAU,EAAE,IAAI;iBACjB;;AAOD,MAAM,OAAO,2BAA2B;wGAA3B,2BAA2B;4FAA3B,2BAA2B;;4FAA3B,2BAA2B;kBAJvC,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,UAAU,EAAE,IAAI;iBACjB;;AAOD,MAAM,OAAO,iCAAiC;wGAAjC,iCAAiC;4FAAjC,iCAAiC;;4FAAjC,iCAAiC;kBAJ7C,SAAS;mBAAC;oBACT,QAAQ,EAAE,8BAA8B;oBACxC,UAAU,EAAE,IAAI;iBACjB;;AAOD,MAAM,OAAO,0BAA0B;wGAA1B,0BAA0B;4FAA1B,0BAA0B;;4FAA1B,0BAA0B;kBAJtC,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,UAAU,EAAE,IAAI;iBACjB;;AAOD,MAAM,OAAO,8BAA8B;wGAA9B,8BAA8B;4FAA9B,8BAA8B;;4FAA9B,8BAA8B;kBAJ1C,SAAS;mBAAC;oBACT,QAAQ,EAAE,2BAA2B;oBACrC,UAAU,EAAE,IAAI;iBACjB","sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[solaris-option-leading]',\n standalone: true,\n})\nexport class SolarisOptionLeadingDirective {}\n\n@Directive({\n selector: '[solaris-option-label]',\n standalone: true,\n})\nexport class SolarisOptionLabelDirective {}\n\n@Directive({\n selector: '[solaris-option-description]',\n standalone: true,\n})\nexport class SolarisOptionDescriptionDirective {}\n\n@Directive({\n selector: '[solaris-option-meta]',\n standalone: true,\n})\nexport class SolarisOptionMetaDirective {}\n\n@Directive({\n selector: '[solaris-option-trailing]',\n standalone: true,\n})\nexport class SolarisOptionTrailingDirective {}\n"]}
@@ -1,3 +0,0 @@
1
- export { SolarisOptionComponent } from './component/option.component';
2
- export { SolarisOptionLeadingDirective, SolarisOptionLabelDirective, SolarisOptionDescriptionDirective, SolarisOptionMetaDirective, SolarisOptionTrailingDirective, } from './directives/option-slots.directive';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/components/forms/option/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,qCAAqC,CAAC","sourcesContent":["export { SolarisOptionComponent } from './component/option.component';\nexport {\n SolarisOptionLeadingDirective,\n SolarisOptionLabelDirective,\n SolarisOptionDescriptionDirective,\n SolarisOptionMetaDirective,\n SolarisOptionTrailingDirective,\n} from './directives/option-slots.directive';\nexport type {\n SolarisOptionSize,\n SolarisOptionDensity,\n SolarisOptionSelectionMode,\n} from './model/option.types';\n"]}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=option.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"option.types.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/option/model/option.types.ts"],"names":[],"mappings":"","sourcesContent":["export type SolarisOptionSize = 'sm' | 'md' | 'lg';\n\nexport type SolarisOptionDensity = 'compact' | 'comfortable';\n\nexport type SolarisOptionSelectionMode = 'none' | 'single' | 'multiple';\n"]}