@qualcomm-ui/angular-core 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1517) hide show
  1. package/accordion/accordion-context.service.d.ts +9 -0
  2. package/accordion/accordion-context.service.d.ts.map +1 -0
  3. package/accordion/accordion-item-context.service.d.ts +9 -0
  4. package/accordion/accordion-item-context.service.d.ts.map +1 -0
  5. package/accordion/core-accordion-item-content.directive.d.ts +21 -0
  6. package/accordion/core-accordion-item-content.directive.d.ts.map +1 -0
  7. package/accordion/core-accordion-item-trigger-indicator.directive.d.ts +11 -0
  8. package/accordion/core-accordion-item-trigger-indicator.directive.d.ts.map +1 -0
  9. package/accordion/core-accordion-item-trigger-secondary.directive.d.ts +11 -0
  10. package/accordion/core-accordion-item-trigger-secondary.directive.d.ts.map +1 -0
  11. package/accordion/core-accordion-item-trigger-title.directive.d.ts +11 -0
  12. package/accordion/core-accordion-item-trigger-title.directive.d.ts.map +1 -0
  13. package/accordion/core-accordion-item-trigger.directive.d.ts +17 -0
  14. package/accordion/core-accordion-item-trigger.directive.d.ts.map +1 -0
  15. package/accordion/core-accordion-item.directive.d.ts +23 -0
  16. package/accordion/core-accordion-item.directive.d.ts.map +1 -0
  17. package/accordion/core-accordion-root.directive.d.ts +58 -0
  18. package/accordion/core-accordion-root.directive.d.ts.map +1 -0
  19. package/accordion/index.d.ts +10 -0
  20. package/accordion/index.d.ts.map +1 -0
  21. package/accordion/qualcomm-ui-angular-core-accordion.d.ts +6 -0
  22. package/accordion/qualcomm-ui-angular-core-accordion.d.ts.map +1 -0
  23. package/attributes/index.d.ts +3 -0
  24. package/attributes/index.d.ts.map +1 -0
  25. package/attributes/number-attributes.d.ts +11 -0
  26. package/attributes/number-attributes.d.ts.map +1 -0
  27. package/attributes/pixel-attribute.d.ts +6 -0
  28. package/attributes/pixel-attribute.d.ts.map +1 -0
  29. package/attributes/qualcomm-ui-angular-core-attributes.d.ts +6 -0
  30. package/attributes/qualcomm-ui-angular-core-attributes.d.ts.map +1 -0
  31. package/avatar/avatar-context.service.d.ts +9 -0
  32. package/avatar/avatar-context.service.d.ts.map +1 -0
  33. package/avatar/core-avatar-content.directive.d.ts +20 -0
  34. package/avatar/core-avatar-content.directive.d.ts.map +1 -0
  35. package/avatar/core-avatar-image.directive.d.ts +20 -0
  36. package/avatar/core-avatar-image.directive.d.ts.map +1 -0
  37. package/avatar/core-avatar-root.directive.d.ts +36 -0
  38. package/avatar/core-avatar-root.directive.d.ts.map +1 -0
  39. package/avatar/core-avatar-status.directive.d.ts +20 -0
  40. package/avatar/core-avatar-status.directive.d.ts.map +1 -0
  41. package/avatar/index.d.ts +6 -0
  42. package/avatar/index.d.ts.map +1 -0
  43. package/avatar/qualcomm-ui-angular-core-avatar.d.ts +6 -0
  44. package/avatar/qualcomm-ui-angular-core-avatar.d.ts.map +1 -0
  45. package/checkbox/abstract-checkbox-form-control.directive.d.ts +79 -0
  46. package/checkbox/abstract-checkbox-form-control.directive.d.ts.map +1 -0
  47. package/checkbox/checkbox-context.service.d.ts +9 -0
  48. package/checkbox/checkbox-context.service.d.ts.map +1 -0
  49. package/checkbox/core-checkbox-control.directive.d.ts +20 -0
  50. package/checkbox/core-checkbox-control.directive.d.ts.map +1 -0
  51. package/checkbox/core-checkbox-error-text.directive.d.ts +20 -0
  52. package/checkbox/core-checkbox-error-text.directive.d.ts.map +1 -0
  53. package/checkbox/core-checkbox-hidden-input.directive.d.ts +20 -0
  54. package/checkbox/core-checkbox-hidden-input.directive.d.ts.map +1 -0
  55. package/checkbox/core-checkbox-indicator.directive.d.ts +13 -0
  56. package/checkbox/core-checkbox-indicator.directive.d.ts.map +1 -0
  57. package/checkbox/core-checkbox-label.directive.d.ts +20 -0
  58. package/checkbox/core-checkbox-label.directive.d.ts.map +1 -0
  59. package/checkbox/core-checkbox-root.directive.d.ts +48 -0
  60. package/checkbox/core-checkbox-root.directive.d.ts.map +1 -0
  61. package/checkbox/index.d.ts +10 -0
  62. package/checkbox/index.d.ts.map +1 -0
  63. package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts +6 -0
  64. package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts.map +1 -0
  65. package/checkbox/use-checkbox-group.d.ts +32 -0
  66. package/checkbox/use-checkbox-group.d.ts.map +1 -0
  67. package/collapsible/collapsible-context.service.d.ts +9 -0
  68. package/collapsible/collapsible-context.service.d.ts.map +1 -0
  69. package/collapsible/core-collapsible-content.directive.d.ts +20 -0
  70. package/collapsible/core-collapsible-content.directive.d.ts.map +1 -0
  71. package/collapsible/core-collapsible-root.directive.d.ts +52 -0
  72. package/collapsible/core-collapsible-root.directive.d.ts.map +1 -0
  73. package/collapsible/core-collapsible-trigger.directive.d.ts +20 -0
  74. package/collapsible/core-collapsible-trigger.directive.d.ts.map +1 -0
  75. package/collapsible/index.d.ts +5 -0
  76. package/collapsible/index.d.ts.map +1 -0
  77. package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts +6 -0
  78. package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts.map +1 -0
  79. package/collection/index.d.ts +2 -0
  80. package/collection/index.d.ts.map +1 -0
  81. package/collection/qualcomm-ui-angular-core-collection.d.ts +6 -0
  82. package/collection/qualcomm-ui-angular-core-collection.d.ts.map +1 -0
  83. package/collection/use-list-collection.d.ts +44 -0
  84. package/collection/use-list-collection.d.ts.map +1 -0
  85. package/combobox/combobox-context.service.d.ts +12 -0
  86. package/combobox/combobox-context.service.d.ts.map +1 -0
  87. package/combobox/combobox-item-context.service.d.ts +9 -0
  88. package/combobox/combobox-item-context.service.d.ts.map +1 -0
  89. package/combobox/combobox-item-group-context.service.d.ts +9 -0
  90. package/combobox/combobox-item-group-context.service.d.ts.map +1 -0
  91. package/combobox/core-combobox-clear-trigger.directive.d.ts +20 -0
  92. package/combobox/core-combobox-clear-trigger.directive.d.ts.map +1 -0
  93. package/combobox/core-combobox-content.directive.d.ts +23 -0
  94. package/combobox/core-combobox-content.directive.d.ts.map +1 -0
  95. package/combobox/core-combobox-control.directive.d.ts +20 -0
  96. package/combobox/core-combobox-control.directive.d.ts.map +1 -0
  97. package/combobox/core-combobox-empty.directive.d.ts +13 -0
  98. package/combobox/core-combobox-empty.directive.d.ts.map +1 -0
  99. package/combobox/core-combobox-error-indicator.directive.d.ts +13 -0
  100. package/combobox/core-combobox-error-indicator.directive.d.ts.map +1 -0
  101. package/combobox/core-combobox-error-text.directive.d.ts +20 -0
  102. package/combobox/core-combobox-error-text.directive.d.ts.map +1 -0
  103. package/combobox/core-combobox-hint.directive.d.ts +20 -0
  104. package/combobox/core-combobox-hint.directive.d.ts.map +1 -0
  105. package/combobox/core-combobox-input.directive.d.ts +20 -0
  106. package/combobox/core-combobox-input.directive.d.ts.map +1 -0
  107. package/combobox/core-combobox-item-group-label.directive.d.ts +14 -0
  108. package/combobox/core-combobox-item-group-label.directive.d.ts.map +1 -0
  109. package/combobox/core-combobox-item-group.directive.d.ts +21 -0
  110. package/combobox/core-combobox-item-group.directive.d.ts.map +1 -0
  111. package/combobox/core-combobox-item-indicator.directive.d.ts +14 -0
  112. package/combobox/core-combobox-item-indicator.directive.d.ts.map +1 -0
  113. package/combobox/core-combobox-item-text.directive.d.ts +14 -0
  114. package/combobox/core-combobox-item-text.directive.d.ts.map +1 -0
  115. package/combobox/core-combobox-item.directive.d.ts +27 -0
  116. package/combobox/core-combobox-item.directive.d.ts.map +1 -0
  117. package/combobox/core-combobox-label.directive.d.ts +20 -0
  118. package/combobox/core-combobox-label.directive.d.ts.map +1 -0
  119. package/combobox/core-combobox-positioner.directive.d.ts +21 -0
  120. package/combobox/core-combobox-positioner.directive.d.ts.map +1 -0
  121. package/combobox/core-combobox-root.directive.d.ts +234 -0
  122. package/combobox/core-combobox-root.directive.d.ts.map +1 -0
  123. package/combobox/core-combobox-trigger.directive.d.ts +27 -0
  124. package/combobox/core-combobox-trigger.directive.d.ts.map +1 -0
  125. package/combobox/index.d.ts +21 -0
  126. package/combobox/index.d.ts.map +1 -0
  127. package/combobox/qualcomm-ui-angular-core-combobox.d.ts +6 -0
  128. package/combobox/qualcomm-ui-angular-core-combobox.d.ts.map +1 -0
  129. package/common/boolean.d.ts +6 -0
  130. package/common/boolean.d.ts.map +1 -0
  131. package/common/index.d.ts +10 -0
  132. package/common/index.d.ts.map +1 -0
  133. package/common/ng-changes.d.ts +18 -0
  134. package/common/ng-changes.d.ts.map +1 -0
  135. package/common/qualcomm-ui-angular-core-common.d.ts +6 -0
  136. package/common/qualcomm-ui-angular-core-common.d.ts.map +1 -0
  137. package/common/template-content.d.ts +6 -0
  138. package/common/template-content.d.ts.map +1 -0
  139. package/common/use-csr-check.d.ts +13 -0
  140. package/common/use-csr-check.d.ts.map +1 -0
  141. package/common/use-id.d.ts +2 -0
  142. package/common/use-id.d.ts.map +1 -0
  143. package/common/use-is-destroyed.d.ts +8 -0
  144. package/common/use-is-destroyed.d.ts.map +1 -0
  145. package/common/use-is-mounted.d.ts +7 -0
  146. package/common/use-is-mounted.d.ts.map +1 -0
  147. package/common/use-on-destroy.d.ts +8 -0
  148. package/common/use-on-destroy.d.ts.map +1 -0
  149. package/common/use-ssr-check.d.ts +13 -0
  150. package/common/use-ssr-check.d.ts.map +1 -0
  151. package/dialog/core-dialog-backdrop.directive.d.ts +24 -0
  152. package/dialog/core-dialog-backdrop.directive.d.ts.map +1 -0
  153. package/dialog/core-dialog-body.directive.d.ts +13 -0
  154. package/dialog/core-dialog-body.directive.d.ts.map +1 -0
  155. package/dialog/core-dialog-close-trigger.directive.d.ts +20 -0
  156. package/dialog/core-dialog-close-trigger.directive.d.ts.map +1 -0
  157. package/dialog/core-dialog-content.directive.d.ts +25 -0
  158. package/dialog/core-dialog-content.directive.d.ts.map +1 -0
  159. package/dialog/core-dialog-description.directive.d.ts +20 -0
  160. package/dialog/core-dialog-description.directive.d.ts.map +1 -0
  161. package/dialog/core-dialog-footer.directive.d.ts +13 -0
  162. package/dialog/core-dialog-footer.directive.d.ts.map +1 -0
  163. package/dialog/core-dialog-heading.directive.d.ts +20 -0
  164. package/dialog/core-dialog-heading.directive.d.ts.map +1 -0
  165. package/dialog/core-dialog-positioner.directive.d.ts +21 -0
  166. package/dialog/core-dialog-positioner.directive.d.ts.map +1 -0
  167. package/dialog/core-dialog-root.directive.d.ts +129 -0
  168. package/dialog/core-dialog-root.directive.d.ts.map +1 -0
  169. package/dialog/core-dialog-trigger.directive.d.ts +20 -0
  170. package/dialog/core-dialog-trigger.directive.d.ts.map +1 -0
  171. package/dialog/dialog-context.service.d.ts +12 -0
  172. package/dialog/dialog-context.service.d.ts.map +1 -0
  173. package/dialog/index.d.ts +12 -0
  174. package/dialog/index.d.ts.map +1 -0
  175. package/dialog/qualcomm-ui-angular-core-dialog.d.ts +6 -0
  176. package/dialog/qualcomm-ui-angular-core-dialog.d.ts.map +1 -0
  177. package/dom/clipboard.service.d.ts +20 -0
  178. package/dom/clipboard.service.d.ts.map +1 -0
  179. package/dom/context-id-signal.d.ts +42 -0
  180. package/dom/context-id-signal.d.ts.map +1 -0
  181. package/dom/descendants-manager.service.d.ts +12 -0
  182. package/dom/descendants-manager.service.d.ts.map +1 -0
  183. package/dom/element-id-signal.d.ts +42 -0
  184. package/dom/element-id-signal.d.ts.map +1 -0
  185. package/dom/id.service.d.ts +11 -0
  186. package/dom/id.service.d.ts.map +1 -0
  187. package/dom/index.d.ts +8 -0
  188. package/dom/index.d.ts.map +1 -0
  189. package/dom/portal-config.service.d.ts +8 -0
  190. package/dom/portal-config.service.d.ts.map +1 -0
  191. package/dom/qualcomm-ui-angular-core-dom.d.ts +6 -0
  192. package/dom/qualcomm-ui-angular-core-dom.d.ts.map +1 -0
  193. package/dom/tokens/caches.d.ts +3 -0
  194. package/dom/tokens/caches.d.ts.map +1 -0
  195. package/dom/tokens/css.d.ts +12 -0
  196. package/dom/tokens/css.d.ts.map +1 -0
  197. package/dom/tokens/index.d.ts +11 -0
  198. package/dom/tokens/index.d.ts.map +1 -0
  199. package/dom/tokens/local-storage.d.ts +3 -0
  200. package/dom/tokens/local-storage.d.ts.map +1 -0
  201. package/dom/tokens/location.d.ts +3 -0
  202. package/dom/tokens/location.d.ts.map +1 -0
  203. package/dom/tokens/media-devices.d.ts +3 -0
  204. package/dom/tokens/media-devices.d.ts.map +1 -0
  205. package/dom/tokens/navigator.d.ts +3 -0
  206. package/dom/tokens/navigator.d.ts.map +1 -0
  207. package/dom/tokens/performance.d.ts +3 -0
  208. package/dom/tokens/performance.d.ts.map +1 -0
  209. package/dom/tokens/screen.d.ts +3 -0
  210. package/dom/tokens/screen.d.ts.map +1 -0
  211. package/dom/tokens/user-agent.d.ts +3 -0
  212. package/dom/tokens/user-agent.d.ts.map +1 -0
  213. package/dom/tokens/window.d.ts +3 -0
  214. package/dom/tokens/window.d.ts.map +1 -0
  215. package/esm2022/accordion/accordion-context.service.js +14 -0
  216. package/esm2022/accordion/accordion-context.service.js.map +1 -0
  217. package/esm2022/accordion/accordion-item-context.service.js +14 -0
  218. package/esm2022/accordion/accordion-item-context.service.js.map +1 -0
  219. package/esm2022/accordion/core-accordion-item-content.directive.js +34 -0
  220. package/esm2022/accordion/core-accordion-item-content.directive.js.map +1 -0
  221. package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js +24 -0
  222. package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js.map +1 -0
  223. package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js +24 -0
  224. package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js.map +1 -0
  225. package/esm2022/accordion/core-accordion-item-trigger-title.directive.js +24 -0
  226. package/esm2022/accordion/core-accordion-item-trigger-title.directive.js.map +1 -0
  227. package/esm2022/accordion/core-accordion-item-trigger.directive.js +32 -0
  228. package/esm2022/accordion/core-accordion-item-trigger.directive.js.map +1 -0
  229. package/esm2022/accordion/core-accordion-item.directive.js +45 -0
  230. package/esm2022/accordion/core-accordion-item.directive.js.map +1 -0
  231. package/esm2022/accordion/core-accordion-root.directive.js +91 -0
  232. package/esm2022/accordion/core-accordion-root.directive.js.map +1 -0
  233. package/esm2022/accordion/index.js +10 -0
  234. package/esm2022/accordion/index.js.map +1 -0
  235. package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js +5 -0
  236. package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js.map +1 -0
  237. package/esm2022/attributes/index.js +3 -0
  238. package/esm2022/attributes/index.js.map +1 -0
  239. package/esm2022/attributes/number-attributes.js +22 -0
  240. package/esm2022/attributes/number-attributes.js.map +1 -0
  241. package/esm2022/attributes/pixel-attribute.js +10 -0
  242. package/esm2022/attributes/pixel-attribute.js.map +1 -0
  243. package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js +5 -0
  244. package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js.map +1 -0
  245. package/esm2022/avatar/avatar-context.service.js +14 -0
  246. package/esm2022/avatar/avatar-context.service.js.map +1 -0
  247. package/esm2022/avatar/core-avatar-content.directive.js +30 -0
  248. package/esm2022/avatar/core-avatar-content.directive.js.map +1 -0
  249. package/esm2022/avatar/core-avatar-image.directive.js +30 -0
  250. package/esm2022/avatar/core-avatar-image.directive.js.map +1 -0
  251. package/esm2022/avatar/core-avatar-root.directive.js +51 -0
  252. package/esm2022/avatar/core-avatar-root.directive.js.map +1 -0
  253. package/esm2022/avatar/core-avatar-status.directive.js +30 -0
  254. package/esm2022/avatar/core-avatar-status.directive.js.map +1 -0
  255. package/esm2022/avatar/index.js +6 -0
  256. package/esm2022/avatar/index.js.map +1 -0
  257. package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js +5 -0
  258. package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js.map +1 -0
  259. package/esm2022/checkbox/abstract-checkbox-form-control.directive.js +265 -0
  260. package/esm2022/checkbox/abstract-checkbox-form-control.directive.js.map +1 -0
  261. package/esm2022/checkbox/checkbox-context.service.js +14 -0
  262. package/esm2022/checkbox/checkbox-context.service.js.map +1 -0
  263. package/esm2022/checkbox/core-checkbox-control.directive.js +30 -0
  264. package/esm2022/checkbox/core-checkbox-control.directive.js.map +1 -0
  265. package/esm2022/checkbox/core-checkbox-error-text.directive.js +30 -0
  266. package/esm2022/checkbox/core-checkbox-error-text.directive.js.map +1 -0
  267. package/esm2022/checkbox/core-checkbox-hidden-input.directive.js +30 -0
  268. package/esm2022/checkbox/core-checkbox-hidden-input.directive.js.map +1 -0
  269. package/esm2022/checkbox/core-checkbox-indicator.directive.js +19 -0
  270. package/esm2022/checkbox/core-checkbox-indicator.directive.js.map +1 -0
  271. package/esm2022/checkbox/core-checkbox-label.directive.js +30 -0
  272. package/esm2022/checkbox/core-checkbox-label.directive.js.map +1 -0
  273. package/esm2022/checkbox/core-checkbox-root.directive.js +88 -0
  274. package/esm2022/checkbox/core-checkbox-root.directive.js.map +1 -0
  275. package/esm2022/checkbox/index.js +10 -0
  276. package/esm2022/checkbox/index.js.map +1 -0
  277. package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js +5 -0
  278. package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js.map +1 -0
  279. package/esm2022/checkbox/use-checkbox-group.js +62 -0
  280. package/esm2022/checkbox/use-checkbox-group.js.map +1 -0
  281. package/esm2022/collapsible/collapsible-context.service.js +14 -0
  282. package/esm2022/collapsible/collapsible-context.service.js.map +1 -0
  283. package/esm2022/collapsible/core-collapsible-content.directive.js +32 -0
  284. package/esm2022/collapsible/core-collapsible-content.directive.js.map +1 -0
  285. package/esm2022/collapsible/core-collapsible-root.directive.js +71 -0
  286. package/esm2022/collapsible/core-collapsible-root.directive.js.map +1 -0
  287. package/esm2022/collapsible/core-collapsible-trigger.directive.js +32 -0
  288. package/esm2022/collapsible/core-collapsible-trigger.directive.js.map +1 -0
  289. package/esm2022/collapsible/index.js +5 -0
  290. package/esm2022/collapsible/index.js.map +1 -0
  291. package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js +5 -0
  292. package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js.map +1 -0
  293. package/esm2022/collection/index.js +2 -0
  294. package/esm2022/collection/index.js.map +1 -0
  295. package/esm2022/collection/qualcomm-ui-angular-core-collection.js +5 -0
  296. package/esm2022/collection/qualcomm-ui-angular-core-collection.js.map +1 -0
  297. package/esm2022/collection/use-list-collection.js +50 -0
  298. package/esm2022/collection/use-list-collection.js.map +1 -0
  299. package/esm2022/combobox/combobox-context.service.js +14 -0
  300. package/esm2022/combobox/combobox-context.service.js.map +1 -0
  301. package/esm2022/combobox/combobox-item-context.service.js +14 -0
  302. package/esm2022/combobox/combobox-item-context.service.js.map +1 -0
  303. package/esm2022/combobox/combobox-item-group-context.service.js +14 -0
  304. package/esm2022/combobox/combobox-item-group-context.service.js.map +1 -0
  305. package/esm2022/combobox/core-combobox-clear-trigger.directive.js +30 -0
  306. package/esm2022/combobox/core-combobox-clear-trigger.directive.js.map +1 -0
  307. package/esm2022/combobox/core-combobox-content.directive.js +34 -0
  308. package/esm2022/combobox/core-combobox-content.directive.js.map +1 -0
  309. package/esm2022/combobox/core-combobox-control.directive.js +30 -0
  310. package/esm2022/combobox/core-combobox-control.directive.js.map +1 -0
  311. package/esm2022/combobox/core-combobox-empty.directive.js +19 -0
  312. package/esm2022/combobox/core-combobox-empty.directive.js.map +1 -0
  313. package/esm2022/combobox/core-combobox-error-indicator.directive.js +19 -0
  314. package/esm2022/combobox/core-combobox-error-indicator.directive.js.map +1 -0
  315. package/esm2022/combobox/core-combobox-error-text.directive.js +30 -0
  316. package/esm2022/combobox/core-combobox-error-text.directive.js.map +1 -0
  317. package/esm2022/combobox/core-combobox-hint.directive.js +30 -0
  318. package/esm2022/combobox/core-combobox-hint.directive.js.map +1 -0
  319. package/esm2022/combobox/core-combobox-input.directive.js +30 -0
  320. package/esm2022/combobox/core-combobox-input.directive.js.map +1 -0
  321. package/esm2022/combobox/core-combobox-item-group-label.directive.js +23 -0
  322. package/esm2022/combobox/core-combobox-item-group-label.directive.js.map +1 -0
  323. package/esm2022/combobox/core-combobox-item-group.directive.js +31 -0
  324. package/esm2022/combobox/core-combobox-item-group.directive.js.map +1 -0
  325. package/esm2022/combobox/core-combobox-item-indicator.directive.js +21 -0
  326. package/esm2022/combobox/core-combobox-item-indicator.directive.js.map +1 -0
  327. package/esm2022/combobox/core-combobox-item-text.directive.js +21 -0
  328. package/esm2022/combobox/core-combobox-item-text.directive.js.map +1 -0
  329. package/esm2022/combobox/core-combobox-item.directive.js +35 -0
  330. package/esm2022/combobox/core-combobox-item.directive.js.map +1 -0
  331. package/esm2022/combobox/core-combobox-label.directive.js +30 -0
  332. package/esm2022/combobox/core-combobox-label.directive.js.map +1 -0
  333. package/esm2022/combobox/core-combobox-positioner.directive.js +32 -0
  334. package/esm2022/combobox/core-combobox-positioner.directive.js.map +1 -0
  335. package/esm2022/combobox/core-combobox-root.directive.js +387 -0
  336. package/esm2022/combobox/core-combobox-root.directive.js.map +1 -0
  337. package/esm2022/combobox/core-combobox-trigger.directive.js +37 -0
  338. package/esm2022/combobox/core-combobox-trigger.directive.js.map +1 -0
  339. package/esm2022/combobox/index.js +21 -0
  340. package/esm2022/combobox/index.js.map +1 -0
  341. package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js +5 -0
  342. package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js.map +1 -0
  343. package/esm2022/common/boolean.js +4 -0
  344. package/esm2022/common/boolean.js.map +1 -0
  345. package/esm2022/common/index.js +7 -0
  346. package/esm2022/common/index.js.map +1 -0
  347. package/esm2022/common/ng-changes.js +4 -0
  348. package/esm2022/common/ng-changes.js.map +1 -0
  349. package/esm2022/common/qualcomm-ui-angular-core-common.js +5 -0
  350. package/esm2022/common/qualcomm-ui-angular-core-common.js.map +1 -0
  351. package/esm2022/common/template-content.js +4 -0
  352. package/esm2022/common/template-content.js.map +1 -0
  353. package/esm2022/common/use-csr-check.js +22 -0
  354. package/esm2022/common/use-csr-check.js.map +1 -0
  355. package/esm2022/common/use-id.js +24 -0
  356. package/esm2022/common/use-id.js.map +1 -0
  357. package/esm2022/common/use-is-destroyed.js +20 -0
  358. package/esm2022/common/use-is-destroyed.js.map +1 -0
  359. package/esm2022/common/use-is-mounted.js +15 -0
  360. package/esm2022/common/use-is-mounted.js.map +1 -0
  361. package/esm2022/common/use-on-destroy.js +16 -0
  362. package/esm2022/common/use-on-destroy.js.map +1 -0
  363. package/esm2022/common/use-ssr-check.js +22 -0
  364. package/esm2022/common/use-ssr-check.js.map +1 -0
  365. package/esm2022/dialog/core-dialog-backdrop.directive.js +46 -0
  366. package/esm2022/dialog/core-dialog-backdrop.directive.js.map +1 -0
  367. package/esm2022/dialog/core-dialog-body.directive.js +21 -0
  368. package/esm2022/dialog/core-dialog-body.directive.js.map +1 -0
  369. package/esm2022/dialog/core-dialog-close-trigger.directive.js +30 -0
  370. package/esm2022/dialog/core-dialog-close-trigger.directive.js.map +1 -0
  371. package/esm2022/dialog/core-dialog-content.directive.js +50 -0
  372. package/esm2022/dialog/core-dialog-content.directive.js.map +1 -0
  373. package/esm2022/dialog/core-dialog-description.directive.js +30 -0
  374. package/esm2022/dialog/core-dialog-description.directive.js.map +1 -0
  375. package/esm2022/dialog/core-dialog-footer.directive.js +19 -0
  376. package/esm2022/dialog/core-dialog-footer.directive.js.map +1 -0
  377. package/esm2022/dialog/core-dialog-heading.directive.js +30 -0
  378. package/esm2022/dialog/core-dialog-heading.directive.js.map +1 -0
  379. package/esm2022/dialog/core-dialog-positioner.directive.js +32 -0
  380. package/esm2022/dialog/core-dialog-positioner.directive.js.map +1 -0
  381. package/esm2022/dialog/core-dialog-root.directive.js +225 -0
  382. package/esm2022/dialog/core-dialog-root.directive.js.map +1 -0
  383. package/esm2022/dialog/core-dialog-trigger.directive.js +30 -0
  384. package/esm2022/dialog/core-dialog-trigger.directive.js.map +1 -0
  385. package/esm2022/dialog/dialog-context.service.js +24 -0
  386. package/esm2022/dialog/dialog-context.service.js.map +1 -0
  387. package/esm2022/dialog/index.js +12 -0
  388. package/esm2022/dialog/index.js.map +1 -0
  389. package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js +5 -0
  390. package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js.map +1 -0
  391. package/esm2022/dom/clipboard.service.js +42 -0
  392. package/esm2022/dom/clipboard.service.js.map +1 -0
  393. package/esm2022/dom/context-id-signal.js +23 -0
  394. package/esm2022/dom/context-id-signal.js.map +1 -0
  395. package/esm2022/dom/descendants-manager.service.js +29 -0
  396. package/esm2022/dom/descendants-manager.service.js.map +1 -0
  397. package/esm2022/dom/element-id-signal.js +25 -0
  398. package/esm2022/dom/element-id-signal.js.map +1 -0
  399. package/esm2022/dom/id.service.js +33 -0
  400. package/esm2022/dom/id.service.js.map +1 -0
  401. package/esm2022/dom/index.js +8 -0
  402. package/esm2022/dom/index.js.map +1 -0
  403. package/esm2022/dom/portal-config.service.js +17 -0
  404. package/esm2022/dom/portal-config.service.js.map +1 -0
  405. package/esm2022/dom/qualcomm-ui-angular-core-dom.js +5 -0
  406. package/esm2022/dom/qualcomm-ui-angular-core-dom.js.map +1 -0
  407. package/esm2022/dom/tokens/caches.js +8 -0
  408. package/esm2022/dom/tokens/caches.js.map +1 -0
  409. package/esm2022/dom/tokens/css.js +11 -0
  410. package/esm2022/dom/tokens/css.js.map +1 -0
  411. package/esm2022/dom/tokens/index.js +11 -0
  412. package/esm2022/dom/tokens/index.js.map +1 -0
  413. package/esm2022/dom/tokens/local-storage.js +8 -0
  414. package/esm2022/dom/tokens/local-storage.js.map +1 -0
  415. package/esm2022/dom/tokens/location.js +8 -0
  416. package/esm2022/dom/tokens/location.js.map +1 -0
  417. package/esm2022/dom/tokens/media-devices.js +8 -0
  418. package/esm2022/dom/tokens/media-devices.js.map +1 -0
  419. package/esm2022/dom/tokens/navigator.js +8 -0
  420. package/esm2022/dom/tokens/navigator.js.map +1 -0
  421. package/esm2022/dom/tokens/performance.js +8 -0
  422. package/esm2022/dom/tokens/performance.js.map +1 -0
  423. package/esm2022/dom/tokens/screen.js +8 -0
  424. package/esm2022/dom/tokens/screen.js.map +1 -0
  425. package/esm2022/dom/tokens/user-agent.js +8 -0
  426. package/esm2022/dom/tokens/user-agent.js.map +1 -0
  427. package/esm2022/dom/tokens/window.js +14 -0
  428. package/esm2022/dom/tokens/window.js.map +1 -0
  429. package/esm2022/events/index.js +3 -0
  430. package/esm2022/events/index.js.map +1 -0
  431. package/esm2022/events/listener.service.js +67 -0
  432. package/esm2022/events/listener.service.js.map +1 -0
  433. package/esm2022/events/qualcomm-ui-angular-core-events.js +5 -0
  434. package/esm2022/events/qualcomm-ui-angular-core-events.js.map +1 -0
  435. package/esm2022/events/use-copy-to-clipboard.js +48 -0
  436. package/esm2022/events/use-copy-to-clipboard.js.map +1 -0
  437. package/esm2022/forms/form-utils.js +80 -0
  438. package/esm2022/forms/form-utils.js.map +1 -0
  439. package/esm2022/forms/index.js +3 -0
  440. package/esm2022/forms/index.js.map +1 -0
  441. package/esm2022/forms/qualcomm-ui-angular-core-forms.js +5 -0
  442. package/esm2022/forms/qualcomm-ui-angular-core-forms.js.map +1 -0
  443. package/esm2022/forms/use-forbidden-form-control-warning.js +24 -0
  444. package/esm2022/forms/use-forbidden-form-control-warning.js.map +1 -0
  445. package/esm2022/highlight/highlight.directive.js +69 -0
  446. package/esm2022/highlight/highlight.directive.js.map +1 -0
  447. package/esm2022/highlight/index.js +2 -0
  448. package/esm2022/highlight/index.js.map +1 -0
  449. package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js +5 -0
  450. package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js.map +1 -0
  451. package/esm2022/index.js +4 -0
  452. package/esm2022/index.js.map +1 -0
  453. package/esm2022/inline-notification/core-inline-notification-action.directive.js +21 -0
  454. package/esm2022/inline-notification/core-inline-notification-action.directive.js.map +1 -0
  455. package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js +32 -0
  456. package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js.map +1 -0
  457. package/esm2022/inline-notification/core-inline-notification-description.directive.js +32 -0
  458. package/esm2022/inline-notification/core-inline-notification-description.directive.js.map +1 -0
  459. package/esm2022/inline-notification/core-inline-notification-icon.directive.js +21 -0
  460. package/esm2022/inline-notification/core-inline-notification-icon.directive.js.map +1 -0
  461. package/esm2022/inline-notification/core-inline-notification-label.directive.js +32 -0
  462. package/esm2022/inline-notification/core-inline-notification-label.directive.js.map +1 -0
  463. package/esm2022/inline-notification/core-inline-notification-root.directive.js +71 -0
  464. package/esm2022/inline-notification/core-inline-notification-root.directive.js.map +1 -0
  465. package/esm2022/inline-notification/index.js +8 -0
  466. package/esm2022/inline-notification/index.js.map +1 -0
  467. package/esm2022/inline-notification/inline-notification-context.service.js +14 -0
  468. package/esm2022/inline-notification/inline-notification-context.service.js.map +1 -0
  469. package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js +5 -0
  470. package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js.map +1 -0
  471. package/esm2022/input/abstract-input-form-control.directive.js +254 -0
  472. package/esm2022/input/abstract-input-form-control.directive.js.map +1 -0
  473. package/esm2022/input/abstract-list-collection-form-control.directive.js +278 -0
  474. package/esm2022/input/abstract-list-collection-form-control.directive.js.map +1 -0
  475. package/esm2022/input/index.js +4 -0
  476. package/esm2022/input/index.js.map +1 -0
  477. package/esm2022/input/input-form-control-provider.js +70 -0
  478. package/esm2022/input/input-form-control-provider.js.map +1 -0
  479. package/esm2022/input/qualcomm-ui-angular-core-input.js +5 -0
  480. package/esm2022/input/qualcomm-ui-angular-core-input.js.map +1 -0
  481. package/esm2022/locale/index.js +3 -0
  482. package/esm2022/locale/index.js.map +1 -0
  483. package/esm2022/locale/locale-context.service.js +14 -0
  484. package/esm2022/locale/locale-context.service.js.map +1 -0
  485. package/esm2022/locale/qualcomm-ui-angular-core-locale.js +5 -0
  486. package/esm2022/locale/qualcomm-ui-angular-core-locale.js.map +1 -0
  487. package/esm2022/locale/use-filter.js +16 -0
  488. package/esm2022/locale/use-filter.js.map +1 -0
  489. package/esm2022/lorem-ipsum/index.js +2 -0
  490. package/esm2022/lorem-ipsum/index.js.map +1 -0
  491. package/esm2022/lorem-ipsum/lorem-ipsum.directive.js +83 -0
  492. package/esm2022/lorem-ipsum/lorem-ipsum.directive.js.map +1 -0
  493. package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js +5 -0
  494. package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js.map +1 -0
  495. package/esm2022/lucide/index.js +3 -0
  496. package/esm2022/lucide/index.js.map +1 -0
  497. package/esm2022/lucide/lucide.types.js +4 -0
  498. package/esm2022/lucide/lucide.types.js.map +1 -0
  499. package/esm2022/lucide/provide-icons.js +20 -0
  500. package/esm2022/lucide/provide-icons.js.map +1 -0
  501. package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js +5 -0
  502. package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js.map +1 -0
  503. package/esm2022/machine/api-context.directive.js +44 -0
  504. package/esm2022/machine/api-context.directive.js.map +1 -0
  505. package/esm2022/machine/api-context.service.js +58 -0
  506. package/esm2022/machine/api-context.service.js.map +1 -0
  507. package/esm2022/machine/bindable-id-collection.js +51 -0
  508. package/esm2022/machine/bindable-id-collection.js.map +1 -0
  509. package/esm2022/machine/bindable-id.js +21 -0
  510. package/esm2022/machine/bindable-id.js.map +1 -0
  511. package/esm2022/machine/bindable.js +47 -0
  512. package/esm2022/machine/bindable.js.map +1 -0
  513. package/esm2022/machine/index.js +13 -0
  514. package/esm2022/machine/index.js.map +1 -0
  515. package/esm2022/machine/machine.types.js +4 -0
  516. package/esm2022/machine/machine.types.js.map +1 -0
  517. package/esm2022/machine/merge-props.js +68 -0
  518. package/esm2022/machine/merge-props.js.map +1 -0
  519. package/esm2022/machine/normalize-props.js +108 -0
  520. package/esm2022/machine/normalize-props.js.map +1 -0
  521. package/esm2022/machine/q-bind.directive.js +162 -0
  522. package/esm2022/machine/q-bind.directive.js.map +1 -0
  523. package/esm2022/machine/qualcomm-ui-angular-core-machine.js +5 -0
  524. package/esm2022/machine/qualcomm-ui-angular-core-machine.js.map +1 -0
  525. package/esm2022/machine/refs.js +18 -0
  526. package/esm2022/machine/refs.js.map +1 -0
  527. package/esm2022/machine/track.js +46 -0
  528. package/esm2022/machine/track.js.map +1 -0
  529. package/esm2022/machine/use-machine.js +312 -0
  530. package/esm2022/machine/use-machine.js.map +1 -0
  531. package/esm2022/machine/use-track-bindings.js +270 -0
  532. package/esm2022/machine/use-track-bindings.js.map +1 -0
  533. package/esm2022/menu/base-menu-item.directive.js +53 -0
  534. package/esm2022/menu/base-menu-item.directive.js.map +1 -0
  535. package/esm2022/menu/core-menu-checkbox-item.directive.js +51 -0
  536. package/esm2022/menu/core-menu-checkbox-item.directive.js.map +1 -0
  537. package/esm2022/menu/core-menu-content.directive.js +50 -0
  538. package/esm2022/menu/core-menu-content.directive.js.map +1 -0
  539. package/esm2022/menu/core-menu-context-trigger.directive.js +32 -0
  540. package/esm2022/menu/core-menu-context-trigger.directive.js.map +1 -0
  541. package/esm2022/menu/core-menu-item-group-label.directive.js +32 -0
  542. package/esm2022/menu/core-menu-item-group-label.directive.js.map +1 -0
  543. package/esm2022/menu/core-menu-item-group.directive.js +33 -0
  544. package/esm2022/menu/core-menu-item-group.directive.js.map +1 -0
  545. package/esm2022/menu/core-menu-item-indicator.directive.js +31 -0
  546. package/esm2022/menu/core-menu-item-indicator.directive.js.map +1 -0
  547. package/esm2022/menu/core-menu-item-label.directive.js +32 -0
  548. package/esm2022/menu/core-menu-item-label.directive.js.map +1 -0
  549. package/esm2022/menu/core-menu-item-root.directive.js +50 -0
  550. package/esm2022/menu/core-menu-item-root.directive.js.map +1 -0
  551. package/esm2022/menu/core-menu-positioner.directive.js +34 -0
  552. package/esm2022/menu/core-menu-positioner.directive.js.map +1 -0
  553. package/esm2022/menu/core-menu-radio-item-group.directive.js +52 -0
  554. package/esm2022/menu/core-menu-radio-item-group.directive.js.map +1 -0
  555. package/esm2022/menu/core-menu-radio-item.directive.js +41 -0
  556. package/esm2022/menu/core-menu-radio-item.directive.js.map +1 -0
  557. package/esm2022/menu/core-menu-root.directive.js +242 -0
  558. package/esm2022/menu/core-menu-root.directive.js.map +1 -0
  559. package/esm2022/menu/core-menu-separator.directive.js +21 -0
  560. package/esm2022/menu/core-menu-separator.directive.js.map +1 -0
  561. package/esm2022/menu/core-menu-trigger-item.directive.js +33 -0
  562. package/esm2022/menu/core-menu-trigger-item.directive.js.map +1 -0
  563. package/esm2022/menu/core-menu-trigger.directive.js +34 -0
  564. package/esm2022/menu/core-menu-trigger.directive.js.map +1 -0
  565. package/esm2022/menu/index.js +24 -0
  566. package/esm2022/menu/index.js.map +1 -0
  567. package/esm2022/menu/menu-context.service.js +14 -0
  568. package/esm2022/menu/menu-context.service.js.map +1 -0
  569. package/esm2022/menu/menu-item-context.service.js +14 -0
  570. package/esm2022/menu/menu-item-context.service.js.map +1 -0
  571. package/esm2022/menu/menu-item-group-context.service.js +14 -0
  572. package/esm2022/menu/menu-item-group-context.service.js.map +1 -0
  573. package/esm2022/menu/menu-machine-context.service.js +14 -0
  574. package/esm2022/menu/menu-machine-context.service.js.map +1 -0
  575. package/esm2022/menu/menu-option-item-context.service.js +14 -0
  576. package/esm2022/menu/menu-option-item-context.service.js.map +1 -0
  577. package/esm2022/menu/menu-radio-item-group-context.service.js +14 -0
  578. package/esm2022/menu/menu-radio-item-group-context.service.js.map +1 -0
  579. package/esm2022/menu/menu-trigger-context.service.js +14 -0
  580. package/esm2022/menu/menu-trigger-context.service.js.map +1 -0
  581. package/esm2022/menu/qualcomm-ui-angular-core-menu.js +5 -0
  582. package/esm2022/menu/qualcomm-ui-angular-core-menu.js.map +1 -0
  583. package/esm2022/number-input/abstract-number-input-form-control.directive.js +294 -0
  584. package/esm2022/number-input/abstract-number-input-form-control.directive.js.map +1 -0
  585. package/esm2022/number-input/core-number-input-control.directive.js +21 -0
  586. package/esm2022/number-input/core-number-input-control.directive.js.map +1 -0
  587. package/esm2022/number-input/core-number-input-decrement-trigger.directive.js +28 -0
  588. package/esm2022/number-input/core-number-input-decrement-trigger.directive.js.map +1 -0
  589. package/esm2022/number-input/core-number-input-error-indicator.directive.js +21 -0
  590. package/esm2022/number-input/core-number-input-error-indicator.directive.js.map +1 -0
  591. package/esm2022/number-input/core-number-input-error-text.directive.js +28 -0
  592. package/esm2022/number-input/core-number-input-error-text.directive.js.map +1 -0
  593. package/esm2022/number-input/core-number-input-hint.directive.js +28 -0
  594. package/esm2022/number-input/core-number-input-hint.directive.js.map +1 -0
  595. package/esm2022/number-input/core-number-input-increment-trigger.directive.js +28 -0
  596. package/esm2022/number-input/core-number-input-increment-trigger.directive.js.map +1 -0
  597. package/esm2022/number-input/core-number-input-input-group.directive.js +21 -0
  598. package/esm2022/number-input/core-number-input-input-group.directive.js.map +1 -0
  599. package/esm2022/number-input/core-number-input-input.directive.js +28 -0
  600. package/esm2022/number-input/core-number-input-input.directive.js.map +1 -0
  601. package/esm2022/number-input/core-number-input-label.directive.js +28 -0
  602. package/esm2022/number-input/core-number-input-label.directive.js.map +1 -0
  603. package/esm2022/number-input/core-number-input-root.directive.js +193 -0
  604. package/esm2022/number-input/core-number-input-root.directive.js.map +1 -0
  605. package/esm2022/number-input/index.js +14 -0
  606. package/esm2022/number-input/index.js.map +1 -0
  607. package/esm2022/number-input/number-input-context.service.js +14 -0
  608. package/esm2022/number-input/number-input-context.service.js.map +1 -0
  609. package/esm2022/number-input/number-input.validators.js +15 -0
  610. package/esm2022/number-input/number-input.validators.js.map +1 -0
  611. package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js +5 -0
  612. package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js.map +1 -0
  613. package/esm2022/observers/index.js +2 -0
  614. package/esm2022/observers/index.js.map +1 -0
  615. package/esm2022/observers/intersection-observer.directive.js +37 -0
  616. package/esm2022/observers/intersection-observer.directive.js.map +1 -0
  617. package/esm2022/observers/qualcomm-ui-angular-core-observers.js +5 -0
  618. package/esm2022/observers/qualcomm-ui-angular-core-observers.js.map +1 -0
  619. package/esm2022/pagination/core-pagination-next-trigger.directive.js +19 -0
  620. package/esm2022/pagination/core-pagination-next-trigger.directive.js.map +1 -0
  621. package/esm2022/pagination/core-pagination-page-item.directive.js +24 -0
  622. package/esm2022/pagination/core-pagination-page-item.directive.js.map +1 -0
  623. package/esm2022/pagination/core-pagination-page-items.directive.js +22 -0
  624. package/esm2022/pagination/core-pagination-page-items.directive.js.map +1 -0
  625. package/esm2022/pagination/core-pagination-page-metadata.directive.js +19 -0
  626. package/esm2022/pagination/core-pagination-page-metadata.directive.js.map +1 -0
  627. package/esm2022/pagination/core-pagination-page-size-label.directive.js +26 -0
  628. package/esm2022/pagination/core-pagination-page-size-label.directive.js.map +1 -0
  629. package/esm2022/pagination/core-pagination-page-size.directive.js +37 -0
  630. package/esm2022/pagination/core-pagination-page-size.directive.js.map +1 -0
  631. package/esm2022/pagination/core-pagination-prev-trigger.directive.js +19 -0
  632. package/esm2022/pagination/core-pagination-prev-trigger.directive.js.map +1 -0
  633. package/esm2022/pagination/core-pagination-root.directive.js +121 -0
  634. package/esm2022/pagination/core-pagination-root.directive.js.map +1 -0
  635. package/esm2022/pagination/index.js +10 -0
  636. package/esm2022/pagination/index.js.map +1 -0
  637. package/esm2022/pagination/pagination-context.service.js +14 -0
  638. package/esm2022/pagination/pagination-context.service.js.map +1 -0
  639. package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js +5 -0
  640. package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js.map +1 -0
  641. package/esm2022/password-input/core-password-input-clear-trigger.directive.js +21 -0
  642. package/esm2022/password-input/core-password-input-clear-trigger.directive.js.map +1 -0
  643. package/esm2022/password-input/core-password-input-error-indicator.directive.js +21 -0
  644. package/esm2022/password-input/core-password-input-error-indicator.directive.js.map +1 -0
  645. package/esm2022/password-input/core-password-input-error-text.directive.js +32 -0
  646. package/esm2022/password-input/core-password-input-error-text.directive.js.map +1 -0
  647. package/esm2022/password-input/core-password-input-hint.directive.js +32 -0
  648. package/esm2022/password-input/core-password-input-hint.directive.js.map +1 -0
  649. package/esm2022/password-input/core-password-input-input-group.directive.js +21 -0
  650. package/esm2022/password-input/core-password-input-input-group.directive.js.map +1 -0
  651. package/esm2022/password-input/core-password-input-input.directive.js +32 -0
  652. package/esm2022/password-input/core-password-input-input.directive.js.map +1 -0
  653. package/esm2022/password-input/core-password-input-label.directive.js +32 -0
  654. package/esm2022/password-input/core-password-input-label.directive.js.map +1 -0
  655. package/esm2022/password-input/core-password-input-root.directive.js +120 -0
  656. package/esm2022/password-input/core-password-input-root.directive.js.map +1 -0
  657. package/esm2022/password-input/core-password-input-visibility-trigger.directive.js +32 -0
  658. package/esm2022/password-input/core-password-input-visibility-trigger.directive.js.map +1 -0
  659. package/esm2022/password-input/index.js +11 -0
  660. package/esm2022/password-input/index.js.map +1 -0
  661. package/esm2022/password-input/password-input-context.service.js +14 -0
  662. package/esm2022/password-input/password-input-context.service.js.map +1 -0
  663. package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js +5 -0
  664. package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js.map +1 -0
  665. package/esm2022/popover/core-popover-anchor.directive.js +30 -0
  666. package/esm2022/popover/core-popover-anchor.directive.js.map +1 -0
  667. package/esm2022/popover/core-popover-arrow-tip.directive.js +19 -0
  668. package/esm2022/popover/core-popover-arrow-tip.directive.js.map +1 -0
  669. package/esm2022/popover/core-popover-arrow.directive.js +30 -0
  670. package/esm2022/popover/core-popover-arrow.directive.js.map +1 -0
  671. package/esm2022/popover/core-popover-close-trigger.directive.js +30 -0
  672. package/esm2022/popover/core-popover-close-trigger.directive.js.map +1 -0
  673. package/esm2022/popover/core-popover-content.directive.js +30 -0
  674. package/esm2022/popover/core-popover-content.directive.js.map +1 -0
  675. package/esm2022/popover/core-popover-description.directive.js +30 -0
  676. package/esm2022/popover/core-popover-description.directive.js.map +1 -0
  677. package/esm2022/popover/core-popover-label.directive.js +30 -0
  678. package/esm2022/popover/core-popover-label.directive.js.map +1 -0
  679. package/esm2022/popover/core-popover-positioner.directive.js +30 -0
  680. package/esm2022/popover/core-popover-positioner.directive.js.map +1 -0
  681. package/esm2022/popover/core-popover-root.directive.js +178 -0
  682. package/esm2022/popover/core-popover-root.directive.js.map +1 -0
  683. package/esm2022/popover/core-popover-trigger.directive.js +30 -0
  684. package/esm2022/popover/core-popover-trigger.directive.js.map +1 -0
  685. package/esm2022/popover/index.js +12 -0
  686. package/esm2022/popover/index.js.map +1 -0
  687. package/esm2022/popover/popover-context.service.js +14 -0
  688. package/esm2022/popover/popover-context.service.js.map +1 -0
  689. package/esm2022/popover/qualcomm-ui-angular-core-popover.js +5 -0
  690. package/esm2022/popover/qualcomm-ui-angular-core-popover.js.map +1 -0
  691. package/esm2022/portal/index.js +4 -0
  692. package/esm2022/portal/index.js.map +1 -0
  693. package/esm2022/portal/portal-context.service.js +16 -0
  694. package/esm2022/portal/portal-context.service.js.map +1 -0
  695. package/esm2022/portal/portal.component.js +125 -0
  696. package/esm2022/portal/portal.component.js.map +1 -0
  697. package/esm2022/portal/portal.directive.js +116 -0
  698. package/esm2022/portal/portal.directive.js.map +1 -0
  699. package/esm2022/portal/qualcomm-ui-angular-core-portal.js +5 -0
  700. package/esm2022/portal/qualcomm-ui-angular-core-portal.js.map +1 -0
  701. package/esm2022/presence/core-presence.directive.js +53 -0
  702. package/esm2022/presence/core-presence.directive.js.map +1 -0
  703. package/esm2022/presence/index.js +5 -0
  704. package/esm2022/presence/index.js.map +1 -0
  705. package/esm2022/presence/presence-context.service.js +59 -0
  706. package/esm2022/presence/presence-context.service.js.map +1 -0
  707. package/esm2022/presence/qualcomm-ui-angular-core-presence.js +5 -0
  708. package/esm2022/presence/qualcomm-ui-angular-core-presence.js.map +1 -0
  709. package/esm2022/presence/render-strategy-context.service.js +14 -0
  710. package/esm2022/presence/render-strategy-context.service.js.map +1 -0
  711. package/esm2022/presence/use-presence-renderer.js +30 -0
  712. package/esm2022/presence/use-presence-renderer.js.map +1 -0
  713. package/esm2022/progress/core-base-progress.directive.js +59 -0
  714. package/esm2022/progress/core-base-progress.directive.js.map +1 -0
  715. package/esm2022/progress/core-progress-bar.directive.js +19 -0
  716. package/esm2022/progress/core-progress-bar.directive.js.map +1 -0
  717. package/esm2022/progress/core-progress-error-text.directive.js +32 -0
  718. package/esm2022/progress/core-progress-error-text.directive.js.map +1 -0
  719. package/esm2022/progress/core-progress-hint.directive.js +32 -0
  720. package/esm2022/progress/core-progress-hint.directive.js.map +1 -0
  721. package/esm2022/progress/core-progress-label.directive.js +32 -0
  722. package/esm2022/progress/core-progress-label.directive.js.map +1 -0
  723. package/esm2022/progress/core-progress-root.directive.js +33 -0
  724. package/esm2022/progress/core-progress-root.directive.js.map +1 -0
  725. package/esm2022/progress/core-progress-track.directive.js +30 -0
  726. package/esm2022/progress/core-progress-track.directive.js.map +1 -0
  727. package/esm2022/progress/core-progress-value-text.directive.js +19 -0
  728. package/esm2022/progress/core-progress-value-text.directive.js.map +1 -0
  729. package/esm2022/progress/index.js +10 -0
  730. package/esm2022/progress/index.js.map +1 -0
  731. package/esm2022/progress/progress-context.service.js +15 -0
  732. package/esm2022/progress/progress-context.service.js.map +1 -0
  733. package/esm2022/progress/qualcomm-ui-angular-core-progress.js +5 -0
  734. package/esm2022/progress/qualcomm-ui-angular-core-progress.js.map +1 -0
  735. package/esm2022/progress-ring/core-progress-ring-bar.directive.js +21 -0
  736. package/esm2022/progress-ring/core-progress-ring-bar.directive.js.map +1 -0
  737. package/esm2022/progress-ring/core-progress-ring-circle.directive.js +32 -0
  738. package/esm2022/progress-ring/core-progress-ring-circle.directive.js.map +1 -0
  739. package/esm2022/progress-ring/core-progress-ring-error-text.directive.js +32 -0
  740. package/esm2022/progress-ring/core-progress-ring-error-text.directive.js.map +1 -0
  741. package/esm2022/progress-ring/core-progress-ring-label.directive.js +32 -0
  742. package/esm2022/progress-ring/core-progress-ring-label.directive.js.map +1 -0
  743. package/esm2022/progress-ring/core-progress-ring-root.directive.js +33 -0
  744. package/esm2022/progress-ring/core-progress-ring-root.directive.js.map +1 -0
  745. package/esm2022/progress-ring/core-progress-ring-track.directive.js +21 -0
  746. package/esm2022/progress-ring/core-progress-ring-track.directive.js.map +1 -0
  747. package/esm2022/progress-ring/core-progress-ring-value-text.directive.js +21 -0
  748. package/esm2022/progress-ring/core-progress-ring-value-text.directive.js.map +1 -0
  749. package/esm2022/progress-ring/index.js +9 -0
  750. package/esm2022/progress-ring/index.js.map +1 -0
  751. package/esm2022/progress-ring/progress-ring-context.service.js +14 -0
  752. package/esm2022/progress-ring/progress-ring-context.service.js.map +1 -0
  753. package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js +5 -0
  754. package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js.map +1 -0
  755. package/esm2022/qualcomm-ui-angular-core.js +5 -0
  756. package/esm2022/qualcomm-ui-angular-core.js.map +1 -0
  757. package/esm2022/radio/abstract-radio-form-control.directive.js +261 -0
  758. package/esm2022/radio/abstract-radio-form-control.directive.js.map +1 -0
  759. package/esm2022/radio/core-radio-group-error-text.directive.js +30 -0
  760. package/esm2022/radio/core-radio-group-error-text.directive.js.map +1 -0
  761. package/esm2022/radio/core-radio-group-items.directive.js +19 -0
  762. package/esm2022/radio/core-radio-group-items.directive.js.map +1 -0
  763. package/esm2022/radio/core-radio-group-label.directive.js +30 -0
  764. package/esm2022/radio/core-radio-group-label.directive.js.map +1 -0
  765. package/esm2022/radio/core-radio-group.directive.js +87 -0
  766. package/esm2022/radio/core-radio-group.directive.js.map +1 -0
  767. package/esm2022/radio/core-radio-item-control.directive.js +21 -0
  768. package/esm2022/radio/core-radio-item-control.directive.js.map +1 -0
  769. package/esm2022/radio/core-radio-item-hidden-input.directive.js +33 -0
  770. package/esm2022/radio/core-radio-item-hidden-input.directive.js.map +1 -0
  771. package/esm2022/radio/core-radio-item-label.directive.js +33 -0
  772. package/esm2022/radio/core-radio-item-label.directive.js.map +1 -0
  773. package/esm2022/radio/core-radio-root.directive.js +62 -0
  774. package/esm2022/radio/core-radio-root.directive.js.map +1 -0
  775. package/esm2022/radio/index.js +12 -0
  776. package/esm2022/radio/index.js.map +1 -0
  777. package/esm2022/radio/qualcomm-ui-angular-core-radio.js +5 -0
  778. package/esm2022/radio/qualcomm-ui-angular-core-radio.js.map +1 -0
  779. package/esm2022/radio/radio-context.service.js +14 -0
  780. package/esm2022/radio/radio-context.service.js.map +1 -0
  781. package/esm2022/radio/radio-item-context.service.js +14 -0
  782. package/esm2022/radio/radio-item-context.service.js.map +1 -0
  783. package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js +29 -0
  784. package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js.map +1 -0
  785. package/esm2022/segmented-control/core-segmented-control-item-text.directive.js +29 -0
  786. package/esm2022/segmented-control/core-segmented-control-item-text.directive.js.map +1 -0
  787. package/esm2022/segmented-control/core-segmented-control-item.directive.js +53 -0
  788. package/esm2022/segmented-control/core-segmented-control-item.directive.js.map +1 -0
  789. package/esm2022/segmented-control/core-segmented-control-root.directive.js +80 -0
  790. package/esm2022/segmented-control/core-segmented-control-root.directive.js.map +1 -0
  791. package/esm2022/segmented-control/index.js +6 -0
  792. package/esm2022/segmented-control/index.js.map +1 -0
  793. package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js +5 -0
  794. package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js.map +1 -0
  795. package/esm2022/segmented-control/segmented-control-context.service.js +14 -0
  796. package/esm2022/segmented-control/segmented-control-context.service.js.map +1 -0
  797. package/esm2022/select/core-select-clear-trigger.directive.js +30 -0
  798. package/esm2022/select/core-select-clear-trigger.directive.js.map +1 -0
  799. package/esm2022/select/core-select-content.directive.js +30 -0
  800. package/esm2022/select/core-select-content.directive.js.map +1 -0
  801. package/esm2022/select/core-select-control.directive.js +30 -0
  802. package/esm2022/select/core-select-control.directive.js.map +1 -0
  803. package/esm2022/select/core-select-error-indicator.directive.js +21 -0
  804. package/esm2022/select/core-select-error-indicator.directive.js.map +1 -0
  805. package/esm2022/select/core-select-error-text.directive.js +32 -0
  806. package/esm2022/select/core-select-error-text.directive.js.map +1 -0
  807. package/esm2022/select/core-select-hidden-select.directive.js +30 -0
  808. package/esm2022/select/core-select-hidden-select.directive.js.map +1 -0
  809. package/esm2022/select/core-select-hint.directive.js +32 -0
  810. package/esm2022/select/core-select-hint.directive.js.map +1 -0
  811. package/esm2022/select/core-select-indicator.directive.js +21 -0
  812. package/esm2022/select/core-select-indicator.directive.js.map +1 -0
  813. package/esm2022/select/core-select-item-indicator.directive.js +21 -0
  814. package/esm2022/select/core-select-item-indicator.directive.js.map +1 -0
  815. package/esm2022/select/core-select-item-text.directive.js +21 -0
  816. package/esm2022/select/core-select-item-text.directive.js.map +1 -0
  817. package/esm2022/select/core-select-item.directive.js +35 -0
  818. package/esm2022/select/core-select-item.directive.js.map +1 -0
  819. package/esm2022/select/core-select-label.directive.js +30 -0
  820. package/esm2022/select/core-select-label.directive.js.map +1 -0
  821. package/esm2022/select/core-select-positioner.directive.js +30 -0
  822. package/esm2022/select/core-select-positioner.directive.js.map +1 -0
  823. package/esm2022/select/core-select-root.directive.js +231 -0
  824. package/esm2022/select/core-select-root.directive.js.map +1 -0
  825. package/esm2022/select/core-select-value-text.directive.js +23 -0
  826. package/esm2022/select/core-select-value-text.directive.js.map +1 -0
  827. package/esm2022/select/index.js +18 -0
  828. package/esm2022/select/index.js.map +1 -0
  829. package/esm2022/select/qualcomm-ui-angular-core-select.js +5 -0
  830. package/esm2022/select/qualcomm-ui-angular-core-select.js.map +1 -0
  831. package/esm2022/select/select-context.service.js +15 -0
  832. package/esm2022/select/select-context.service.js.map +1 -0
  833. package/esm2022/select/select-item-context.service.js +14 -0
  834. package/esm2022/select/select-item-context.service.js.map +1 -0
  835. package/esm2022/signals/access-signal.js +17 -0
  836. package/esm2022/signals/access-signal.js.map +1 -0
  837. package/esm2022/signals/host-binding.js +84 -0
  838. package/esm2022/signals/host-binding.js.map +1 -0
  839. package/esm2022/signals/index.js +4 -0
  840. package/esm2022/signals/index.js.map +1 -0
  841. package/esm2022/signals/qualcomm-ui-angular-core-signals.js +5 -0
  842. package/esm2022/signals/qualcomm-ui-angular-core-signals.js.map +1 -0
  843. package/esm2022/signals/signalify-input.js +4 -0
  844. package/esm2022/signals/signalify-input.js.map +1 -0
  845. package/esm2022/signals/signalify-object.js +73 -0
  846. package/esm2022/signals/signalify-object.js.map +1 -0
  847. package/esm2022/signals/signals.types.js +4 -0
  848. package/esm2022/signals/signals.types.js.map +1 -0
  849. package/esm2022/state/controlled-state-legacy.js +80 -0
  850. package/esm2022/state/controlled-state-legacy.js.map +1 -0
  851. package/esm2022/state/controlled-state.service.js +84 -0
  852. package/esm2022/state/controlled-state.service.js.map +1 -0
  853. package/esm2022/state/index.js +4 -0
  854. package/esm2022/state/index.js.map +1 -0
  855. package/esm2022/state/qualcomm-ui-angular-core-state.js +5 -0
  856. package/esm2022/state/qualcomm-ui-angular-core-state.js.map +1 -0
  857. package/esm2022/state/use-controlled-state.js +28 -0
  858. package/esm2022/state/use-controlled-state.js.map +1 -0
  859. package/esm2022/switch/core-switch-control.directive.js +19 -0
  860. package/esm2022/switch/core-switch-control.directive.js.map +1 -0
  861. package/esm2022/switch/core-switch-error-text.directive.js +30 -0
  862. package/esm2022/switch/core-switch-error-text.directive.js.map +1 -0
  863. package/esm2022/switch/core-switch-hidden-input.directive.js +30 -0
  864. package/esm2022/switch/core-switch-hidden-input.directive.js.map +1 -0
  865. package/esm2022/switch/core-switch-label.directive.js +30 -0
  866. package/esm2022/switch/core-switch-label.directive.js.map +1 -0
  867. package/esm2022/switch/core-switch-root.directive.js +89 -0
  868. package/esm2022/switch/core-switch-root.directive.js.map +1 -0
  869. package/esm2022/switch/core-switch-thumb.directive.js +19 -0
  870. package/esm2022/switch/core-switch-thumb.directive.js.map +1 -0
  871. package/esm2022/switch/index.js +8 -0
  872. package/esm2022/switch/index.js.map +1 -0
  873. package/esm2022/switch/qualcomm-ui-angular-core-switch.js +5 -0
  874. package/esm2022/switch/qualcomm-ui-angular-core-switch.js.map +1 -0
  875. package/esm2022/switch/switch-context.service.js +14 -0
  876. package/esm2022/switch/switch-context.service.js.map +1 -0
  877. package/esm2022/tabs/core-tab-button.directive.js +35 -0
  878. package/esm2022/tabs/core-tab-button.directive.js.map +1 -0
  879. package/esm2022/tabs/core-tab-dismiss-button.directive.js +26 -0
  880. package/esm2022/tabs/core-tab-dismiss-button.directive.js.map +1 -0
  881. package/esm2022/tabs/core-tab-root.directive.js +37 -0
  882. package/esm2022/tabs/core-tab-root.directive.js.map +1 -0
  883. package/esm2022/tabs/core-tabs-indicator.directive.js +32 -0
  884. package/esm2022/tabs/core-tabs-indicator.directive.js.map +1 -0
  885. package/esm2022/tabs/core-tabs-list.directive.js +32 -0
  886. package/esm2022/tabs/core-tabs-list.directive.js.map +1 -0
  887. package/esm2022/tabs/core-tabs-panel.directive.js +61 -0
  888. package/esm2022/tabs/core-tabs-panel.directive.js.map +1 -0
  889. package/esm2022/tabs/core-tabs-root.directive.js +144 -0
  890. package/esm2022/tabs/core-tabs-root.directive.js.map +1 -0
  891. package/esm2022/tabs/index.js +10 -0
  892. package/esm2022/tabs/index.js.map +1 -0
  893. package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js +5 -0
  894. package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js.map +1 -0
  895. package/esm2022/tabs/tab-context.service.js +14 -0
  896. package/esm2022/tabs/tab-context.service.js.map +1 -0
  897. package/esm2022/tabs/tabs-context.service.js +14 -0
  898. package/esm2022/tabs/tabs-context.service.js.map +1 -0
  899. package/esm2022/text-area/index.js +2 -0
  900. package/esm2022/text-area/index.js.map +1 -0
  901. package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js +5 -0
  902. package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js.map +1 -0
  903. package/esm2022/text-input/core-text-input-clear-trigger.directive.js +19 -0
  904. package/esm2022/text-input/core-text-input-clear-trigger.directive.js.map +1 -0
  905. package/esm2022/text-input/core-text-input-error-indicator.directive.js +21 -0
  906. package/esm2022/text-input/core-text-input-error-indicator.directive.js.map +1 -0
  907. package/esm2022/text-input/core-text-input-error-text.directive.js +26 -0
  908. package/esm2022/text-input/core-text-input-error-text.directive.js.map +1 -0
  909. package/esm2022/text-input/core-text-input-hint.directive.js +26 -0
  910. package/esm2022/text-input/core-text-input-hint.directive.js.map +1 -0
  911. package/esm2022/text-input/core-text-input-input-group.directive.js +21 -0
  912. package/esm2022/text-input/core-text-input-input-group.directive.js.map +1 -0
  913. package/esm2022/text-input/core-text-input-input.directive.js +28 -0
  914. package/esm2022/text-input/core-text-input-input.directive.js.map +1 -0
  915. package/esm2022/text-input/core-text-input-label.directive.js +26 -0
  916. package/esm2022/text-input/core-text-input-label.directive.js.map +1 -0
  917. package/esm2022/text-input/core-text-input-root.directive.js +82 -0
  918. package/esm2022/text-input/core-text-input-root.directive.js.map +1 -0
  919. package/esm2022/text-input/index.js +10 -0
  920. package/esm2022/text-input/index.js.map +1 -0
  921. package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js +5 -0
  922. package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js.map +1 -0
  923. package/esm2022/text-input/text-input-context.service.js +14 -0
  924. package/esm2022/text-input/text-input-context.service.js.map +1 -0
  925. package/esm2022/toast/core-toast-action.directive.js +21 -0
  926. package/esm2022/toast/core-toast-action.directive.js.map +1 -0
  927. package/esm2022/toast/core-toast-close-trigger.directive.js +21 -0
  928. package/esm2022/toast/core-toast-close-trigger.directive.js.map +1 -0
  929. package/esm2022/toast/core-toast-description.directive.js +23 -0
  930. package/esm2022/toast/core-toast-description.directive.js.map +1 -0
  931. package/esm2022/toast/core-toast-label.directive.js +21 -0
  932. package/esm2022/toast/core-toast-label.directive.js.map +1 -0
  933. package/esm2022/toast/core-toast-root.directive.js +21 -0
  934. package/esm2022/toast/core-toast-root.directive.js.map +1 -0
  935. package/esm2022/toast/core-toaster.directive.js +55 -0
  936. package/esm2022/toast/core-toaster.directive.js.map +1 -0
  937. package/esm2022/toast/index.js +9 -0
  938. package/esm2022/toast/index.js.map +1 -0
  939. package/esm2022/toast/qualcomm-ui-angular-core-toast.js +5 -0
  940. package/esm2022/toast/qualcomm-ui-angular-core-toast.js.map +1 -0
  941. package/esm2022/toast/toast-context.service.js +14 -0
  942. package/esm2022/toast/toast-context.service.js.map +1 -0
  943. package/esm2022/toast/toast-group-context.service.js +14 -0
  944. package/esm2022/toast/toast-group-context.service.js.map +1 -0
  945. package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js +19 -0
  946. package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js.map +1 -0
  947. package/esm2022/tooltip/core-tooltip-arrow.directive.js +30 -0
  948. package/esm2022/tooltip/core-tooltip-arrow.directive.js.map +1 -0
  949. package/esm2022/tooltip/core-tooltip-content.directive.js +30 -0
  950. package/esm2022/tooltip/core-tooltip-content.directive.js.map +1 -0
  951. package/esm2022/tooltip/core-tooltip-positioner.directive.js +30 -0
  952. package/esm2022/tooltip/core-tooltip-positioner.directive.js.map +1 -0
  953. package/esm2022/tooltip/core-tooltip-root.directive.js +82 -0
  954. package/esm2022/tooltip/core-tooltip-root.directive.js.map +1 -0
  955. package/esm2022/tooltip/core-tooltip-trigger.directive.js +30 -0
  956. package/esm2022/tooltip/core-tooltip-trigger.directive.js.map +1 -0
  957. package/esm2022/tooltip/index.js +8 -0
  958. package/esm2022/tooltip/index.js.map +1 -0
  959. package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js +5 -0
  960. package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js.map +1 -0
  961. package/esm2022/tooltip/tooltip-context.service.js +14 -0
  962. package/esm2022/tooltip/tooltip-context.service.js.map +1 -0
  963. package/esm2022/virtual/index.js +3 -0
  964. package/esm2022/virtual/index.js.map +1 -0
  965. package/esm2022/virtual/proxy.js +95 -0
  966. package/esm2022/virtual/proxy.js.map +1 -0
  967. package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js +5 -0
  968. package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js.map +1 -0
  969. package/esm2022/virtual/types.js +4 -0
  970. package/esm2022/virtual/types.js.map +1 -0
  971. package/esm2022/virtual/virtual.js +89 -0
  972. package/esm2022/virtual/virtual.js.map +1 -0
  973. package/events/index.d.ts +3 -0
  974. package/events/index.d.ts.map +1 -0
  975. package/events/listener.service.d.ts +27 -0
  976. package/events/listener.service.d.ts.map +1 -0
  977. package/events/qualcomm-ui-angular-core-events.d.ts +6 -0
  978. package/events/qualcomm-ui-angular-core-events.d.ts.map +1 -0
  979. package/events/use-copy-to-clipboard.d.ts +9 -0
  980. package/events/use-copy-to-clipboard.d.ts.map +1 -0
  981. package/forms/form-utils.d.ts +17 -0
  982. package/forms/form-utils.d.ts.map +1 -0
  983. package/forms/index.d.ts +3 -0
  984. package/forms/index.d.ts.map +1 -0
  985. package/forms/qualcomm-ui-angular-core-forms.d.ts +6 -0
  986. package/forms/qualcomm-ui-angular-core-forms.d.ts.map +1 -0
  987. package/forms/use-forbidden-form-control-warning.d.ts +16 -0
  988. package/forms/use-forbidden-form-control-warning.d.ts.map +1 -0
  989. package/highlight/highlight.directive.d.ts +28 -0
  990. package/highlight/highlight.directive.d.ts.map +1 -0
  991. package/highlight/index.d.ts +2 -0
  992. package/highlight/index.d.ts.map +1 -0
  993. package/highlight/qualcomm-ui-angular-core-highlight.d.ts +6 -0
  994. package/highlight/qualcomm-ui-angular-core-highlight.d.ts.map +1 -0
  995. package/index.d.ts +2 -0
  996. package/index.d.ts.map +1 -0
  997. package/inline-notification/core-inline-notification-action.directive.d.ts +13 -0
  998. package/inline-notification/core-inline-notification-action.directive.d.ts.map +1 -0
  999. package/inline-notification/core-inline-notification-close-trigger.directive.d.ts +20 -0
  1000. package/inline-notification/core-inline-notification-close-trigger.directive.d.ts.map +1 -0
  1001. package/inline-notification/core-inline-notification-description.directive.d.ts +20 -0
  1002. package/inline-notification/core-inline-notification-description.directive.d.ts.map +1 -0
  1003. package/inline-notification/core-inline-notification-icon.directive.d.ts +13 -0
  1004. package/inline-notification/core-inline-notification-icon.directive.d.ts.map +1 -0
  1005. package/inline-notification/core-inline-notification-label.directive.d.ts +20 -0
  1006. package/inline-notification/core-inline-notification-label.directive.d.ts.map +1 -0
  1007. package/inline-notification/core-inline-notification-root.directive.d.ts +50 -0
  1008. package/inline-notification/core-inline-notification-root.directive.d.ts.map +1 -0
  1009. package/inline-notification/index.d.ts +8 -0
  1010. package/inline-notification/index.d.ts.map +1 -0
  1011. package/inline-notification/inline-notification-context.service.d.ts +9 -0
  1012. package/inline-notification/inline-notification-context.service.d.ts.map +1 -0
  1013. package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts +6 -0
  1014. package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts.map +1 -0
  1015. package/input/abstract-input-form-control.directive.d.ts +72 -0
  1016. package/input/abstract-input-form-control.directive.d.ts.map +1 -0
  1017. package/input/abstract-list-collection-form-control.directive.d.ts +81 -0
  1018. package/input/abstract-list-collection-form-control.directive.d.ts.map +1 -0
  1019. package/input/index.d.ts +4 -0
  1020. package/input/index.d.ts.map +1 -0
  1021. package/input/input-form-control-provider.d.ts +38 -0
  1022. package/input/input-form-control-provider.d.ts.map +1 -0
  1023. package/input/qualcomm-ui-angular-core-input.d.ts +6 -0
  1024. package/input/qualcomm-ui-angular-core-input.d.ts.map +1 -0
  1025. package/locale/index.d.ts +3 -0
  1026. package/locale/index.d.ts.map +1 -0
  1027. package/locale/locale-context.service.d.ts +9 -0
  1028. package/locale/locale-context.service.d.ts.map +1 -0
  1029. package/locale/qualcomm-ui-angular-core-locale.d.ts +6 -0
  1030. package/locale/qualcomm-ui-angular-core-locale.d.ts.map +1 -0
  1031. package/locale/use-filter.d.ts +8 -0
  1032. package/locale/use-filter.d.ts.map +1 -0
  1033. package/lorem-ipsum/index.d.ts +2 -0
  1034. package/lorem-ipsum/index.d.ts.map +1 -0
  1035. package/lorem-ipsum/lorem-ipsum.directive.d.ts +44 -0
  1036. package/lorem-ipsum/lorem-ipsum.directive.d.ts.map +1 -0
  1037. package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts +6 -0
  1038. package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts.map +1 -0
  1039. package/lucide/index.d.ts +3 -0
  1040. package/lucide/index.d.ts.map +1 -0
  1041. package/lucide/lucide.types.d.ts +40 -0
  1042. package/lucide/lucide.types.d.ts.map +1 -0
  1043. package/lucide/provide-icons.d.ts +11 -0
  1044. package/lucide/provide-icons.d.ts.map +1 -0
  1045. package/lucide/qualcomm-ui-angular-core-lucide.d.ts +6 -0
  1046. package/lucide/qualcomm-ui-angular-core-lucide.d.ts.map +1 -0
  1047. package/machine/api-context.directive.d.ts +20 -0
  1048. package/machine/api-context.directive.d.ts.map +1 -0
  1049. package/machine/api-context.service.d.ts +32 -0
  1050. package/machine/api-context.service.d.ts.map +1 -0
  1051. package/machine/bindable-id-collection.d.ts +3 -0
  1052. package/machine/bindable-id-collection.d.ts.map +1 -0
  1053. package/machine/bindable-id.d.ts +3 -0
  1054. package/machine/bindable-id.d.ts.map +1 -0
  1055. package/machine/bindable.d.ts +10 -0
  1056. package/machine/bindable.d.ts.map +1 -0
  1057. package/machine/index.d.ts +14 -0
  1058. package/machine/index.d.ts.map +1 -0
  1059. package/machine/machine.types.d.ts +8 -0
  1060. package/machine/machine.types.d.ts.map +1 -0
  1061. package/machine/merge-props.d.ts +20 -0
  1062. package/machine/merge-props.d.ts.map +1 -0
  1063. package/machine/normalize-props.d.ts +4 -0
  1064. package/machine/normalize-props.d.ts.map +1 -0
  1065. package/machine/q-bind.directive.d.ts +44 -0
  1066. package/machine/q-bind.directive.d.ts.map +1 -0
  1067. package/machine/qualcomm-ui-angular-core-machine.d.ts +6 -0
  1068. package/machine/qualcomm-ui-angular-core-machine.d.ts.map +1 -0
  1069. package/machine/refs.d.ts +5 -0
  1070. package/machine/refs.d.ts.map +1 -0
  1071. package/machine/track.d.ts +3 -0
  1072. package/machine/track.d.ts.map +1 -0
  1073. package/machine/use-machine.d.ts +12 -0
  1074. package/machine/use-machine.d.ts.map +1 -0
  1075. package/machine/use-track-bindings.d.ts +60 -0
  1076. package/machine/use-track-bindings.d.ts.map +1 -0
  1077. package/menu/base-menu-item.directive.d.ts +40 -0
  1078. package/menu/base-menu-item.directive.d.ts.map +1 -0
  1079. package/menu/core-menu-checkbox-item.directive.d.ts +35 -0
  1080. package/menu/core-menu-checkbox-item.directive.d.ts.map +1 -0
  1081. package/menu/core-menu-content.directive.d.ts +25 -0
  1082. package/menu/core-menu-content.directive.d.ts.map +1 -0
  1083. package/menu/core-menu-context-trigger.directive.d.ts +20 -0
  1084. package/menu/core-menu-context-trigger.directive.d.ts.map +1 -0
  1085. package/menu/core-menu-item-group-label.directive.d.ts +15 -0
  1086. package/menu/core-menu-item-group-label.directive.d.ts.map +1 -0
  1087. package/menu/core-menu-item-group.directive.d.ts +21 -0
  1088. package/menu/core-menu-item-group.directive.d.ts.map +1 -0
  1089. package/menu/core-menu-item-indicator.directive.d.ts +15 -0
  1090. package/menu/core-menu-item-indicator.directive.d.ts.map +1 -0
  1091. package/menu/core-menu-item-label.directive.d.ts +15 -0
  1092. package/menu/core-menu-item-label.directive.d.ts.map +1 -0
  1093. package/menu/core-menu-item-root.directive.d.ts +16 -0
  1094. package/menu/core-menu-item-root.directive.d.ts.map +1 -0
  1095. package/menu/core-menu-positioner.directive.d.ts +22 -0
  1096. package/menu/core-menu-positioner.directive.d.ts.map +1 -0
  1097. package/menu/core-menu-radio-item-group.directive.d.ts +33 -0
  1098. package/menu/core-menu-radio-item-group.directive.d.ts.map +1 -0
  1099. package/menu/core-menu-radio-item.directive.d.ts +18 -0
  1100. package/menu/core-menu-radio-item.directive.d.ts.map +1 -0
  1101. package/menu/core-menu-root.directive.d.ts +131 -0
  1102. package/menu/core-menu-root.directive.d.ts.map +1 -0
  1103. package/menu/core-menu-separator.directive.d.ts +13 -0
  1104. package/menu/core-menu-separator.directive.d.ts.map +1 -0
  1105. package/menu/core-menu-trigger-item.directive.d.ts +21 -0
  1106. package/menu/core-menu-trigger-item.directive.d.ts.map +1 -0
  1107. package/menu/core-menu-trigger.directive.d.ts +22 -0
  1108. package/menu/core-menu-trigger.directive.d.ts.map +1 -0
  1109. package/menu/index.d.ts +24 -0
  1110. package/menu/index.d.ts.map +1 -0
  1111. package/menu/menu-context.service.d.ts +9 -0
  1112. package/menu/menu-context.service.d.ts.map +1 -0
  1113. package/menu/menu-item-context.service.d.ts +11 -0
  1114. package/menu/menu-item-context.service.d.ts.map +1 -0
  1115. package/menu/menu-item-group-context.service.d.ts +9 -0
  1116. package/menu/menu-item-group-context.service.d.ts.map +1 -0
  1117. package/menu/menu-machine-context.service.d.ts +10 -0
  1118. package/menu/menu-machine-context.service.d.ts.map +1 -0
  1119. package/menu/menu-option-item-context.service.d.ts +11 -0
  1120. package/menu/menu-option-item-context.service.d.ts.map +1 -0
  1121. package/menu/menu-radio-item-group-context.service.d.ts +9 -0
  1122. package/menu/menu-radio-item-group-context.service.d.ts.map +1 -0
  1123. package/menu/menu-trigger-context.service.d.ts +9 -0
  1124. package/menu/menu-trigger-context.service.d.ts.map +1 -0
  1125. package/menu/qualcomm-ui-angular-core-menu.d.ts +6 -0
  1126. package/menu/qualcomm-ui-angular-core-menu.d.ts.map +1 -0
  1127. package/number-input/abstract-number-input-form-control.directive.d.ts +80 -0
  1128. package/number-input/abstract-number-input-form-control.directive.d.ts.map +1 -0
  1129. package/number-input/core-number-input-control.directive.d.ts +13 -0
  1130. package/number-input/core-number-input-control.directive.d.ts.map +1 -0
  1131. package/number-input/core-number-input-decrement-trigger.directive.d.ts +16 -0
  1132. package/number-input/core-number-input-decrement-trigger.directive.d.ts.map +1 -0
  1133. package/number-input/core-number-input-error-indicator.directive.d.ts +13 -0
  1134. package/number-input/core-number-input-error-indicator.directive.d.ts.map +1 -0
  1135. package/number-input/core-number-input-error-text.directive.d.ts +16 -0
  1136. package/number-input/core-number-input-error-text.directive.d.ts.map +1 -0
  1137. package/number-input/core-number-input-hint.directive.d.ts +16 -0
  1138. package/number-input/core-number-input-hint.directive.d.ts.map +1 -0
  1139. package/number-input/core-number-input-increment-trigger.directive.d.ts +16 -0
  1140. package/number-input/core-number-input-increment-trigger.directive.d.ts.map +1 -0
  1141. package/number-input/core-number-input-input-group.directive.d.ts +13 -0
  1142. package/number-input/core-number-input-input-group.directive.d.ts.map +1 -0
  1143. package/number-input/core-number-input-input.directive.d.ts +16 -0
  1144. package/number-input/core-number-input-input.directive.d.ts.map +1 -0
  1145. package/number-input/core-number-input-label.directive.d.ts +16 -0
  1146. package/number-input/core-number-input-label.directive.d.ts.map +1 -0
  1147. package/number-input/core-number-input-root.directive.d.ts +108 -0
  1148. package/number-input/core-number-input-root.directive.d.ts.map +1 -0
  1149. package/number-input/index.d.ts +14 -0
  1150. package/number-input/index.d.ts.map +1 -0
  1151. package/number-input/number-input-context.service.d.ts +9 -0
  1152. package/number-input/number-input-context.service.d.ts.map +1 -0
  1153. package/number-input/number-input.validators.d.ts +7 -0
  1154. package/number-input/number-input.validators.d.ts.map +1 -0
  1155. package/number-input/qualcomm-ui-angular-core-number-input.d.ts +6 -0
  1156. package/number-input/qualcomm-ui-angular-core-number-input.d.ts.map +1 -0
  1157. package/observers/index.d.ts +2 -0
  1158. package/observers/index.d.ts.map +1 -0
  1159. package/observers/intersection-observer.directive.d.ts +13 -0
  1160. package/observers/intersection-observer.directive.d.ts.map +1 -0
  1161. package/observers/qualcomm-ui-angular-core-observers.d.ts +6 -0
  1162. package/observers/qualcomm-ui-angular-core-observers.d.ts.map +1 -0
  1163. package/package.json +208 -0
  1164. package/pagination/core-pagination-next-trigger.directive.d.ts +10 -0
  1165. package/pagination/core-pagination-next-trigger.directive.d.ts.map +1 -0
  1166. package/pagination/core-pagination-page-item.directive.d.ts +16 -0
  1167. package/pagination/core-pagination-page-item.directive.d.ts.map +1 -0
  1168. package/pagination/core-pagination-page-items.directive.d.ts +12 -0
  1169. package/pagination/core-pagination-page-items.directive.d.ts.map +1 -0
  1170. package/pagination/core-pagination-page-metadata.directive.d.ts +10 -0
  1171. package/pagination/core-pagination-page-metadata.directive.d.ts.map +1 -0
  1172. package/pagination/core-pagination-page-size-label.directive.d.ts +13 -0
  1173. package/pagination/core-pagination-page-size-label.directive.d.ts.map +1 -0
  1174. package/pagination/core-pagination-page-size.directive.d.ts +19 -0
  1175. package/pagination/core-pagination-page-size.directive.d.ts.map +1 -0
  1176. package/pagination/core-pagination-prev-trigger.directive.d.ts +10 -0
  1177. package/pagination/core-pagination-prev-trigger.directive.d.ts.map +1 -0
  1178. package/pagination/core-pagination-root.directive.d.ts +83 -0
  1179. package/pagination/core-pagination-root.directive.d.ts.map +1 -0
  1180. package/pagination/index.d.ts +10 -0
  1181. package/pagination/index.d.ts.map +1 -0
  1182. package/pagination/pagination-context.service.d.ts +9 -0
  1183. package/pagination/pagination-context.service.d.ts.map +1 -0
  1184. package/pagination/qualcomm-ui-angular-core-pagination.d.ts +6 -0
  1185. package/pagination/qualcomm-ui-angular-core-pagination.d.ts.map +1 -0
  1186. package/password-input/core-password-input-clear-trigger.directive.d.ts +13 -0
  1187. package/password-input/core-password-input-clear-trigger.directive.d.ts.map +1 -0
  1188. package/password-input/core-password-input-error-indicator.directive.d.ts +13 -0
  1189. package/password-input/core-password-input-error-indicator.directive.d.ts.map +1 -0
  1190. package/password-input/core-password-input-error-text.directive.d.ts +20 -0
  1191. package/password-input/core-password-input-error-text.directive.d.ts.map +1 -0
  1192. package/password-input/core-password-input-hint.directive.d.ts +20 -0
  1193. package/password-input/core-password-input-hint.directive.d.ts.map +1 -0
  1194. package/password-input/core-password-input-input-group.directive.d.ts +13 -0
  1195. package/password-input/core-password-input-input-group.directive.d.ts.map +1 -0
  1196. package/password-input/core-password-input-input.directive.d.ts +20 -0
  1197. package/password-input/core-password-input-input.directive.d.ts.map +1 -0
  1198. package/password-input/core-password-input-label.directive.d.ts +20 -0
  1199. package/password-input/core-password-input-label.directive.d.ts.map +1 -0
  1200. package/password-input/core-password-input-root.directive.d.ts +60 -0
  1201. package/password-input/core-password-input-root.directive.d.ts.map +1 -0
  1202. package/password-input/core-password-input-visibility-trigger.directive.d.ts +20 -0
  1203. package/password-input/core-password-input-visibility-trigger.directive.d.ts.map +1 -0
  1204. package/password-input/index.d.ts +11 -0
  1205. package/password-input/index.d.ts.map +1 -0
  1206. package/password-input/password-input-context.service.d.ts +9 -0
  1207. package/password-input/password-input-context.service.d.ts.map +1 -0
  1208. package/password-input/qualcomm-ui-angular-core-password-input.d.ts +6 -0
  1209. package/password-input/qualcomm-ui-angular-core-password-input.d.ts.map +1 -0
  1210. package/popover/core-popover-anchor.directive.d.ts +17 -0
  1211. package/popover/core-popover-anchor.directive.d.ts.map +1 -0
  1212. package/popover/core-popover-arrow-tip.directive.d.ts +10 -0
  1213. package/popover/core-popover-arrow-tip.directive.d.ts.map +1 -0
  1214. package/popover/core-popover-arrow.directive.d.ts +17 -0
  1215. package/popover/core-popover-arrow.directive.d.ts.map +1 -0
  1216. package/popover/core-popover-close-trigger.directive.d.ts +17 -0
  1217. package/popover/core-popover-close-trigger.directive.d.ts.map +1 -0
  1218. package/popover/core-popover-content.directive.d.ts +17 -0
  1219. package/popover/core-popover-content.directive.d.ts.map +1 -0
  1220. package/popover/core-popover-description.directive.d.ts +17 -0
  1221. package/popover/core-popover-description.directive.d.ts.map +1 -0
  1222. package/popover/core-popover-label.directive.d.ts +17 -0
  1223. package/popover/core-popover-label.directive.d.ts.map +1 -0
  1224. package/popover/core-popover-positioner.directive.d.ts +17 -0
  1225. package/popover/core-popover-positioner.directive.d.ts.map +1 -0
  1226. package/popover/core-popover-root.directive.d.ts +123 -0
  1227. package/popover/core-popover-root.directive.d.ts.map +1 -0
  1228. package/popover/core-popover-trigger.directive.d.ts +17 -0
  1229. package/popover/core-popover-trigger.directive.d.ts.map +1 -0
  1230. package/popover/index.d.ts +12 -0
  1231. package/popover/index.d.ts.map +1 -0
  1232. package/popover/popover-context.service.d.ts +9 -0
  1233. package/popover/popover-context.service.d.ts.map +1 -0
  1234. package/popover/qualcomm-ui-angular-core-popover.d.ts +6 -0
  1235. package/popover/qualcomm-ui-angular-core-popover.d.ts.map +1 -0
  1236. package/portal/index.d.ts +4 -0
  1237. package/portal/index.d.ts.map +1 -0
  1238. package/portal/portal-context.service.d.ts +9 -0
  1239. package/portal/portal-context.service.d.ts.map +1 -0
  1240. package/portal/portal.component.d.ts +37 -0
  1241. package/portal/portal.component.d.ts.map +1 -0
  1242. package/portal/portal.directive.d.ts +27 -0
  1243. package/portal/portal.directive.d.ts.map +1 -0
  1244. package/portal/qualcomm-ui-angular-core-portal.d.ts +6 -0
  1245. package/portal/qualcomm-ui-angular-core-portal.d.ts.map +1 -0
  1246. package/presence/core-presence.directive.d.ts +44 -0
  1247. package/presence/core-presence.directive.d.ts.map +1 -0
  1248. package/presence/index.d.ts +5 -0
  1249. package/presence/index.d.ts.map +1 -0
  1250. package/presence/presence-context.service.d.ts +22 -0
  1251. package/presence/presence-context.service.d.ts.map +1 -0
  1252. package/presence/qualcomm-ui-angular-core-presence.d.ts +6 -0
  1253. package/presence/qualcomm-ui-angular-core-presence.d.ts.map +1 -0
  1254. package/presence/render-strategy-context.service.d.ts +9 -0
  1255. package/presence/render-strategy-context.service.d.ts.map +1 -0
  1256. package/presence/use-presence-renderer.d.ts +20 -0
  1257. package/presence/use-presence-renderer.d.ts.map +1 -0
  1258. package/progress/core-base-progress.directive.d.ts +45 -0
  1259. package/progress/core-base-progress.directive.d.ts.map +1 -0
  1260. package/progress/core-progress-bar.directive.d.ts +13 -0
  1261. package/progress/core-progress-bar.directive.d.ts.map +1 -0
  1262. package/progress/core-progress-error-text.directive.d.ts +20 -0
  1263. package/progress/core-progress-error-text.directive.d.ts.map +1 -0
  1264. package/progress/core-progress-hint.directive.d.ts +20 -0
  1265. package/progress/core-progress-hint.directive.d.ts.map +1 -0
  1266. package/progress/core-progress-label.directive.d.ts +20 -0
  1267. package/progress/core-progress-label.directive.d.ts.map +1 -0
  1268. package/progress/core-progress-root.directive.d.ts +16 -0
  1269. package/progress/core-progress-root.directive.d.ts.map +1 -0
  1270. package/progress/core-progress-track.directive.d.ts +20 -0
  1271. package/progress/core-progress-track.directive.d.ts.map +1 -0
  1272. package/progress/core-progress-value-text.directive.d.ts +13 -0
  1273. package/progress/core-progress-value-text.directive.d.ts.map +1 -0
  1274. package/progress/index.d.ts +10 -0
  1275. package/progress/index.d.ts.map +1 -0
  1276. package/progress/progress-context.service.d.ts +9 -0
  1277. package/progress/progress-context.service.d.ts.map +1 -0
  1278. package/progress/qualcomm-ui-angular-core-progress.d.ts +6 -0
  1279. package/progress/qualcomm-ui-angular-core-progress.d.ts.map +1 -0
  1280. package/progress-ring/core-progress-ring-bar.directive.d.ts +13 -0
  1281. package/progress-ring/core-progress-ring-bar.directive.d.ts.map +1 -0
  1282. package/progress-ring/core-progress-ring-circle.directive.d.ts +20 -0
  1283. package/progress-ring/core-progress-ring-circle.directive.d.ts.map +1 -0
  1284. package/progress-ring/core-progress-ring-error-text.directive.d.ts +20 -0
  1285. package/progress-ring/core-progress-ring-error-text.directive.d.ts.map +1 -0
  1286. package/progress-ring/core-progress-ring-label.directive.d.ts +20 -0
  1287. package/progress-ring/core-progress-ring-label.directive.d.ts.map +1 -0
  1288. package/progress-ring/core-progress-ring-root.directive.d.ts +16 -0
  1289. package/progress-ring/core-progress-ring-root.directive.d.ts.map +1 -0
  1290. package/progress-ring/core-progress-ring-track.directive.d.ts +13 -0
  1291. package/progress-ring/core-progress-ring-track.directive.d.ts.map +1 -0
  1292. package/progress-ring/core-progress-ring-value-text.directive.d.ts +13 -0
  1293. package/progress-ring/core-progress-ring-value-text.directive.d.ts.map +1 -0
  1294. package/progress-ring/index.d.ts +9 -0
  1295. package/progress-ring/index.d.ts.map +1 -0
  1296. package/progress-ring/progress-ring-context.service.d.ts +9 -0
  1297. package/progress-ring/progress-ring-context.service.d.ts.map +1 -0
  1298. package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts +6 -0
  1299. package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts.map +1 -0
  1300. package/qualcomm-ui-angular-core.d.ts +6 -0
  1301. package/qualcomm-ui-angular-core.d.ts.map +1 -0
  1302. package/radio/abstract-radio-form-control.directive.d.ts +79 -0
  1303. package/radio/abstract-radio-form-control.directive.d.ts.map +1 -0
  1304. package/radio/core-radio-group-error-text.directive.d.ts +20 -0
  1305. package/radio/core-radio-group-error-text.directive.d.ts.map +1 -0
  1306. package/radio/core-radio-group-items.directive.d.ts +13 -0
  1307. package/radio/core-radio-group-items.directive.d.ts.map +1 -0
  1308. package/radio/core-radio-group-label.directive.d.ts +23 -0
  1309. package/radio/core-radio-group-label.directive.d.ts.map +1 -0
  1310. package/radio/core-radio-group.directive.d.ts +43 -0
  1311. package/radio/core-radio-group.directive.d.ts.map +1 -0
  1312. package/radio/core-radio-item-control.directive.d.ts +14 -0
  1313. package/radio/core-radio-item-control.directive.d.ts.map +1 -0
  1314. package/radio/core-radio-item-hidden-input.directive.d.ts +24 -0
  1315. package/radio/core-radio-item-hidden-input.directive.d.ts.map +1 -0
  1316. package/radio/core-radio-item-label.directive.d.ts +24 -0
  1317. package/radio/core-radio-item-label.directive.d.ts.map +1 -0
  1318. package/radio/core-radio-root.directive.d.ts +41 -0
  1319. package/radio/core-radio-root.directive.d.ts.map +1 -0
  1320. package/radio/index.d.ts +12 -0
  1321. package/radio/index.d.ts.map +1 -0
  1322. package/radio/qualcomm-ui-angular-core-radio.d.ts +6 -0
  1323. package/radio/qualcomm-ui-angular-core-radio.d.ts.map +1 -0
  1324. package/radio/radio-context.service.d.ts +9 -0
  1325. package/radio/radio-context.service.d.ts.map +1 -0
  1326. package/radio/radio-item-context.service.d.ts +9 -0
  1327. package/radio/radio-item-context.service.d.ts.map +1 -0
  1328. package/segmented-control/core-segmented-control-hidden-input.directive.d.ts +23 -0
  1329. package/segmented-control/core-segmented-control-hidden-input.directive.d.ts.map +1 -0
  1330. package/segmented-control/core-segmented-control-item-text.directive.d.ts +23 -0
  1331. package/segmented-control/core-segmented-control-item-text.directive.d.ts.map +1 -0
  1332. package/segmented-control/core-segmented-control-item.directive.d.ts +28 -0
  1333. package/segmented-control/core-segmented-control-item.directive.d.ts.map +1 -0
  1334. package/segmented-control/core-segmented-control-root.directive.d.ts +53 -0
  1335. package/segmented-control/core-segmented-control-root.directive.d.ts.map +1 -0
  1336. package/segmented-control/index.d.ts +6 -0
  1337. package/segmented-control/index.d.ts.map +1 -0
  1338. package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts +6 -0
  1339. package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts.map +1 -0
  1340. package/segmented-control/segmented-control-context.service.d.ts +9 -0
  1341. package/segmented-control/segmented-control-context.service.d.ts.map +1 -0
  1342. package/select/core-select-clear-trigger.directive.d.ts +20 -0
  1343. package/select/core-select-clear-trigger.directive.d.ts.map +1 -0
  1344. package/select/core-select-content.directive.d.ts +20 -0
  1345. package/select/core-select-content.directive.d.ts.map +1 -0
  1346. package/select/core-select-control.directive.d.ts +20 -0
  1347. package/select/core-select-control.directive.d.ts.map +1 -0
  1348. package/select/core-select-error-indicator.directive.d.ts +13 -0
  1349. package/select/core-select-error-indicator.directive.d.ts.map +1 -0
  1350. package/select/core-select-error-text.directive.d.ts +20 -0
  1351. package/select/core-select-error-text.directive.d.ts.map +1 -0
  1352. package/select/core-select-hidden-select.directive.d.ts +20 -0
  1353. package/select/core-select-hidden-select.directive.d.ts.map +1 -0
  1354. package/select/core-select-hint.directive.d.ts +20 -0
  1355. package/select/core-select-hint.directive.d.ts.map +1 -0
  1356. package/select/core-select-indicator.directive.d.ts +13 -0
  1357. package/select/core-select-indicator.directive.d.ts.map +1 -0
  1358. package/select/core-select-item-indicator.directive.d.ts +14 -0
  1359. package/select/core-select-item-indicator.directive.d.ts.map +1 -0
  1360. package/select/core-select-item-text.directive.d.ts +14 -0
  1361. package/select/core-select-item-text.directive.d.ts.map +1 -0
  1362. package/select/core-select-item.directive.d.ts +26 -0
  1363. package/select/core-select-item.directive.d.ts.map +1 -0
  1364. package/select/core-select-label.directive.d.ts +20 -0
  1365. package/select/core-select-label.directive.d.ts.map +1 -0
  1366. package/select/core-select-positioner.directive.d.ts +20 -0
  1367. package/select/core-select-positioner.directive.d.ts.map +1 -0
  1368. package/select/core-select-root.directive.d.ts +130 -0
  1369. package/select/core-select-root.directive.d.ts.map +1 -0
  1370. package/select/core-select-value-text.directive.d.ts +17 -0
  1371. package/select/core-select-value-text.directive.d.ts.map +1 -0
  1372. package/select/index.d.ts +18 -0
  1373. package/select/index.d.ts.map +1 -0
  1374. package/select/qualcomm-ui-angular-core-select.d.ts +6 -0
  1375. package/select/qualcomm-ui-angular-core-select.d.ts.map +1 -0
  1376. package/select/select-context.service.d.ts +12 -0
  1377. package/select/select-context.service.d.ts.map +1 -0
  1378. package/select/select-item-context.service.d.ts +9 -0
  1379. package/select/select-item-context.service.d.ts.map +1 -0
  1380. package/signals/access-signal.d.ts +10 -0
  1381. package/signals/access-signal.d.ts.map +1 -0
  1382. package/signals/host-binding.d.ts +58 -0
  1383. package/signals/host-binding.d.ts.map +1 -0
  1384. package/signals/index.d.ts +6 -0
  1385. package/signals/index.d.ts.map +1 -0
  1386. package/signals/qualcomm-ui-angular-core-signals.d.ts +6 -0
  1387. package/signals/qualcomm-ui-angular-core-signals.d.ts.map +1 -0
  1388. package/signals/signalify-input.d.ts +9 -0
  1389. package/signals/signalify-input.d.ts.map +1 -0
  1390. package/signals/signalify-object.d.ts +5 -0
  1391. package/signals/signalify-object.d.ts.map +1 -0
  1392. package/signals/signals.types.d.ts +3 -0
  1393. package/signals/signals.types.d.ts.map +1 -0
  1394. package/state/controlled-state-legacy.d.ts +49 -0
  1395. package/state/controlled-state-legacy.d.ts.map +1 -0
  1396. package/state/controlled-state.service.d.ts +41 -0
  1397. package/state/controlled-state.service.d.ts.map +1 -0
  1398. package/state/index.d.ts +4 -0
  1399. package/state/index.d.ts.map +1 -0
  1400. package/state/qualcomm-ui-angular-core-state.d.ts +6 -0
  1401. package/state/qualcomm-ui-angular-core-state.d.ts.map +1 -0
  1402. package/state/use-controlled-state.d.ts +13 -0
  1403. package/state/use-controlled-state.d.ts.map +1 -0
  1404. package/switch/core-switch-control.directive.d.ts +13 -0
  1405. package/switch/core-switch-control.directive.d.ts.map +1 -0
  1406. package/switch/core-switch-error-text.directive.d.ts +20 -0
  1407. package/switch/core-switch-error-text.directive.d.ts.map +1 -0
  1408. package/switch/core-switch-hidden-input.directive.d.ts +20 -0
  1409. package/switch/core-switch-hidden-input.directive.d.ts.map +1 -0
  1410. package/switch/core-switch-label.directive.d.ts +20 -0
  1411. package/switch/core-switch-label.directive.d.ts.map +1 -0
  1412. package/switch/core-switch-root.directive.d.ts +48 -0
  1413. package/switch/core-switch-root.directive.d.ts.map +1 -0
  1414. package/switch/core-switch-thumb.directive.d.ts +13 -0
  1415. package/switch/core-switch-thumb.directive.d.ts.map +1 -0
  1416. package/switch/index.d.ts +8 -0
  1417. package/switch/index.d.ts.map +1 -0
  1418. package/switch/qualcomm-ui-angular-core-switch.d.ts +6 -0
  1419. package/switch/qualcomm-ui-angular-core-switch.d.ts.map +1 -0
  1420. package/switch/switch-context.service.d.ts +9 -0
  1421. package/switch/switch-context.service.d.ts.map +1 -0
  1422. package/tabs/core-tab-button.directive.d.ts +21 -0
  1423. package/tabs/core-tab-button.directive.d.ts.map +1 -0
  1424. package/tabs/core-tab-dismiss-button.directive.d.ts +14 -0
  1425. package/tabs/core-tab-dismiss-button.directive.d.ts.map +1 -0
  1426. package/tabs/core-tab-root.directive.d.ts +26 -0
  1427. package/tabs/core-tab-root.directive.d.ts.map +1 -0
  1428. package/tabs/core-tabs-indicator.directive.d.ts +20 -0
  1429. package/tabs/core-tabs-indicator.directive.d.ts.map +1 -0
  1430. package/tabs/core-tabs-list.directive.d.ts +20 -0
  1431. package/tabs/core-tabs-list.directive.d.ts.map +1 -0
  1432. package/tabs/core-tabs-panel.directive.d.ts +33 -0
  1433. package/tabs/core-tabs-panel.directive.d.ts.map +1 -0
  1434. package/tabs/core-tabs-root.directive.d.ts +103 -0
  1435. package/tabs/core-tabs-root.directive.d.ts.map +1 -0
  1436. package/tabs/index.d.ts +10 -0
  1437. package/tabs/index.d.ts.map +1 -0
  1438. package/tabs/qualcomm-ui-angular-core-tabs.d.ts +6 -0
  1439. package/tabs/qualcomm-ui-angular-core-tabs.d.ts.map +1 -0
  1440. package/tabs/tab-context.service.d.ts +9 -0
  1441. package/tabs/tab-context.service.d.ts.map +1 -0
  1442. package/tabs/tabs-context.service.d.ts +9 -0
  1443. package/tabs/tabs-context.service.d.ts.map +1 -0
  1444. package/text-area/index.d.ts +2 -0
  1445. package/text-area/index.d.ts.map +1 -0
  1446. package/text-area/qualcomm-ui-angular-core-text-area.d.ts +6 -0
  1447. package/text-area/qualcomm-ui-angular-core-text-area.d.ts.map +1 -0
  1448. package/text-input/core-text-input-clear-trigger.directive.d.ts +13 -0
  1449. package/text-input/core-text-input-clear-trigger.directive.d.ts.map +1 -0
  1450. package/text-input/core-text-input-error-indicator.directive.d.ts +13 -0
  1451. package/text-input/core-text-input-error-indicator.directive.d.ts.map +1 -0
  1452. package/text-input/core-text-input-error-text.directive.d.ts +16 -0
  1453. package/text-input/core-text-input-error-text.directive.d.ts.map +1 -0
  1454. package/text-input/core-text-input-hint.directive.d.ts +16 -0
  1455. package/text-input/core-text-input-hint.directive.d.ts.map +1 -0
  1456. package/text-input/core-text-input-input-group.directive.d.ts +13 -0
  1457. package/text-input/core-text-input-input-group.directive.d.ts.map +1 -0
  1458. package/text-input/core-text-input-input.directive.d.ts +16 -0
  1459. package/text-input/core-text-input-input.directive.d.ts.map +1 -0
  1460. package/text-input/core-text-input-label.directive.d.ts +16 -0
  1461. package/text-input/core-text-input-label.directive.d.ts.map +1 -0
  1462. package/text-input/core-text-input-root.directive.d.ts +36 -0
  1463. package/text-input/core-text-input-root.directive.d.ts.map +1 -0
  1464. package/text-input/index.d.ts +10 -0
  1465. package/text-input/index.d.ts.map +1 -0
  1466. package/text-input/qualcomm-ui-angular-core-text-input.d.ts +6 -0
  1467. package/text-input/qualcomm-ui-angular-core-text-input.d.ts.map +1 -0
  1468. package/text-input/text-input-context.service.d.ts +9 -0
  1469. package/text-input/text-input-context.service.d.ts.map +1 -0
  1470. package/toast/core-toast-action.directive.d.ts +13 -0
  1471. package/toast/core-toast-action.directive.d.ts.map +1 -0
  1472. package/toast/core-toast-close-trigger.directive.d.ts +13 -0
  1473. package/toast/core-toast-close-trigger.directive.d.ts.map +1 -0
  1474. package/toast/core-toast-description.directive.d.ts +14 -0
  1475. package/toast/core-toast-description.directive.d.ts.map +1 -0
  1476. package/toast/core-toast-label.directive.d.ts +13 -0
  1477. package/toast/core-toast-label.directive.d.ts.map +1 -0
  1478. package/toast/core-toast-root.directive.d.ts +13 -0
  1479. package/toast/core-toast-root.directive.d.ts.map +1 -0
  1480. package/toast/core-toaster.directive.d.ts +42 -0
  1481. package/toast/core-toaster.directive.d.ts.map +1 -0
  1482. package/toast/index.d.ts +9 -0
  1483. package/toast/index.d.ts.map +1 -0
  1484. package/toast/qualcomm-ui-angular-core-toast.d.ts +6 -0
  1485. package/toast/qualcomm-ui-angular-core-toast.d.ts.map +1 -0
  1486. package/toast/toast-context.service.d.ts +9 -0
  1487. package/toast/toast-context.service.d.ts.map +1 -0
  1488. package/toast/toast-group-context.service.d.ts +9 -0
  1489. package/toast/toast-group-context.service.d.ts.map +1 -0
  1490. package/tooltip/core-tooltip-arrow-tip.directive.d.ts +10 -0
  1491. package/tooltip/core-tooltip-arrow-tip.directive.d.ts.map +1 -0
  1492. package/tooltip/core-tooltip-arrow.directive.d.ts +17 -0
  1493. package/tooltip/core-tooltip-arrow.directive.d.ts.map +1 -0
  1494. package/tooltip/core-tooltip-content.directive.d.ts +17 -0
  1495. package/tooltip/core-tooltip-content.directive.d.ts.map +1 -0
  1496. package/tooltip/core-tooltip-positioner.directive.d.ts +17 -0
  1497. package/tooltip/core-tooltip-positioner.directive.d.ts.map +1 -0
  1498. package/tooltip/core-tooltip-root.directive.d.ts +53 -0
  1499. package/tooltip/core-tooltip-root.directive.d.ts.map +1 -0
  1500. package/tooltip/core-tooltip-trigger.directive.d.ts +17 -0
  1501. package/tooltip/core-tooltip-trigger.directive.d.ts.map +1 -0
  1502. package/tooltip/index.d.ts +8 -0
  1503. package/tooltip/index.d.ts.map +1 -0
  1504. package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts +6 -0
  1505. package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts.map +1 -0
  1506. package/tooltip/tooltip-context.service.d.ts +9 -0
  1507. package/tooltip/tooltip-context.service.d.ts.map +1 -0
  1508. package/virtual/index.d.ts +4 -0
  1509. package/virtual/index.d.ts.map +1 -0
  1510. package/virtual/proxy.d.ts +5 -0
  1511. package/virtual/proxy.d.ts.map +1 -0
  1512. package/virtual/qualcomm-ui-angular-core-virtual.d.ts +6 -0
  1513. package/virtual/qualcomm-ui-angular-core-virtual.d.ts.map +1 -0
  1514. package/virtual/types.d.ts +14 -0
  1515. package/virtual/types.d.ts.map +1 -0
  1516. package/virtual/virtual.d.ts +12 -0
  1517. package/virtual/virtual.d.ts.map +1 -0
@@ -0,0 +1,162 @@
1
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
3
+ import { computed, Directive, effect, ElementRef, inject, Injector, input, Renderer2, RendererStyleFlags2, runInInjectionContext, } from "@angular/core";
4
+ import { isEqual } from "@qualcomm-ui/utils/equal";
5
+ import { isNumber, isString } from "@qualcomm-ui/utils/guard";
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * A directive similar to Vue's `v-bind` that spreads an object's properties onto
9
+ * the host element. For the best performance, use a stable reference to a signal
10
+ * instead of an object literal in the template. Converts callbacks from `on*`
11
+ * syntax to their corresponding Angular event callbacks. Does not account for
12
+ * input/output properties due to Angular limitations.
13
+ *
14
+ * @example
15
+ * <!-- bad: new object every time -->
16
+ * <div [q-bind]="{class: 'a', onClick: click}"></div>
17
+ *
18
+ * <!-- good: stable reference -->
19
+ * <div [q-bind]="buttonProps"></div>
20
+ */
21
+ export class QBindDirective {
22
+ bind = input.required(...(ngDevMode ? [{ debugName: "bind", alias: "q-bind" }] : [{ alias: "q-bind" }]));
23
+ bindOptions = input({}, ...(ngDevMode ? [{ debugName: "bindOptions", alias: "q-bind-options" }] : [{ alias: "q-bind-options" }]));
24
+ elementRef = inject((ElementRef));
25
+ renderer = inject(Renderer2);
26
+ injector = inject(Injector);
27
+ listeners = new Map();
28
+ prev = {};
29
+ omittedProps = computed(() => {
30
+ const opts = this.bindOptions();
31
+ return new Set(Array.from(opts.omittedProps || []));
32
+ }, ...(ngDevMode ? [{ debugName: "omittedProps" }] : []));
33
+ constructor() {
34
+ runInInjectionContext(this.injector, () => {
35
+ effect(() => {
36
+ const next = this.bind();
37
+ if (!isEqual(next, this.prev)) {
38
+ this.handleAttrs(this.prev, next || {});
39
+ this.prev = { ...next };
40
+ }
41
+ });
42
+ });
43
+ }
44
+ ngOnDestroy() {
45
+ this.listeners.forEach((unlisten) => unlisten());
46
+ this.listeners.clear();
47
+ }
48
+ removeClass(names) {
49
+ if (!names) {
50
+ return;
51
+ }
52
+ const el = this.elementRef.nativeElement;
53
+ for (const name of names.split(",")) {
54
+ this.renderer.removeClass(el, name);
55
+ }
56
+ }
57
+ addClass(names) {
58
+ const el = this.elementRef.nativeElement;
59
+ for (const name of names.split(",")) {
60
+ this.renderer.addClass(el, name);
61
+ }
62
+ }
63
+ removeStyle(style) {
64
+ if (!style) {
65
+ return;
66
+ }
67
+ const el = this.elementRef.nativeElement;
68
+ for (const name of Object.keys(style)) {
69
+ this.renderer.removeStyle(el, name, RendererStyleFlags2.DashCase);
70
+ }
71
+ }
72
+ addStyle(style) {
73
+ const el = this.elementRef.nativeElement;
74
+ for (const [name, value] of Object.entries(style)) {
75
+ this.renderer.setStyle(el, name, value, RendererStyleFlags2.DashCase);
76
+ }
77
+ }
78
+ addEventListener(name, callback) {
79
+ const eventName = name.substring(2);
80
+ this.listeners.get(name)?.();
81
+ const unlisten = this.renderer.listen(this.elementRef.nativeElement, eventName, callback);
82
+ this.listeners.set(name, unlisten);
83
+ }
84
+ handleAttrs(prevProps, nextProps) {
85
+ const el = this.elementRef.nativeElement;
86
+ for (const [name, value] of Object.entries(prevProps)) {
87
+ if (name in nextProps || this.omittedProps().has(name)) {
88
+ continue;
89
+ }
90
+ if (name.startsWith("on")) {
91
+ this.listeners.get(name)?.();
92
+ this.listeners.delete(name);
93
+ continue;
94
+ }
95
+ switch (name) {
96
+ case "class":
97
+ this.removeClass(value);
98
+ continue;
99
+ case "style":
100
+ this.removeStyle(value);
101
+ continue;
102
+ case "value":
103
+ this.renderer.setProperty(el, "value", undefined);
104
+ continue;
105
+ case "textContent":
106
+ this.renderer.setProperty(el, "textContent", "");
107
+ continue;
108
+ case "checked":
109
+ this.renderer.setProperty(el, "checked", false);
110
+ continue;
111
+ }
112
+ this.renderer.removeAttribute(el, name);
113
+ }
114
+ for (const [name, value] of Object.entries(nextProps)) {
115
+ if (name in prevProps && isEqual(value, prevProps[name])) {
116
+ continue;
117
+ }
118
+ if (name.startsWith("on")) {
119
+ const prevHandler = prevProps[name];
120
+ if (isEqual(prevHandler, value)) {
121
+ continue;
122
+ }
123
+ this.addEventListener(name, value);
124
+ continue;
125
+ }
126
+ switch (name) {
127
+ case "class":
128
+ this.removeClass(prevProps[name]);
129
+ this.addClass(value);
130
+ continue;
131
+ case "style":
132
+ this.removeStyle(prevProps[name]);
133
+ this.addStyle(value);
134
+ continue;
135
+ case "value":
136
+ case "checked":
137
+ case "textContent":
138
+ this.renderer.setProperty(el, name, value);
139
+ continue;
140
+ }
141
+ if (isString(value) || isNumber(value)) {
142
+ this.renderer.setAttribute(el, name, `${value}`);
143
+ continue;
144
+ }
145
+ if (value === true) {
146
+ this.renderer.setAttribute(el, name, "");
147
+ }
148
+ else {
149
+ this.renderer.removeAttribute(el, name);
150
+ }
151
+ }
152
+ }
153
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: QBindDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
154
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: QBindDirective, isStandalone: true, selector: "[q-bind]", inputs: { bind: { classPropertyName: "bind", publicName: "q-bind", isSignal: true, isRequired: true, transformFunction: null }, bindOptions: { classPropertyName: "bindOptions", publicName: "q-bind-options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
155
+ }
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: QBindDirective, decorators: [{
157
+ type: Directive,
158
+ args: [{
159
+ selector: "[q-bind]",
160
+ }]
161
+ }], ctorParameters: () => [], propDecorators: { bind: [{ type: i0.Input, args: [{ isSignal: true, alias: "q-bind", required: true }] }], bindOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "q-bind-options", required: false }] }] } });
162
+ //# sourceMappingURL=q-bind.directive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"q-bind.directive.js","sourceRoot":"","sources":["../../../src/machine/q-bind.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,UAAU,EACV,MAAM,EACN,QAAQ,EACR,KAAK,EAEL,SAAS,EACT,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,0BAA0B,CAAA;;AAW3D;;;;;;;;;;;;;GAaG;AAIH,MAAM,OAAO,cAAc;IAChB,IAAI,GAAG,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IAAI,CAAC,QAAQ,CAAC,KAAoB,CAAC,CAAA;oBACnC,SAAQ;gBACV,KAAK,OAAO,CAAC;gBACb,KAAK,SAAS,CAAC;gBACf,KAAK,aAAa;oBAChB,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,CAAA;oBAC1C,SAAQ;YACZ,CAAC;YAED,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBACvC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAA;gBAChD,SAAQ;YACV,CAAC;YAED,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;gBACnB,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC,CAAA;YAC1C,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;YACzC,CAAC;QACH,CAAC;IACH,CAAC;wGA7JU,cAAc;4FAAd,cAAc;;4FAAd,cAAc;kBAH1B,SAAS;mBAAC;oBACT,QAAQ,EAAE,UAAU;iBACrB","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n effect,\n ElementRef,\n inject,\n Injector,\n input,\n type OnDestroy,\n Renderer2,\n RendererStyleFlags2,\n runInInjectionContext,\n} from \"@angular/core\"\n\nimport {isEqual} from \"@qualcomm-ui/utils/equal\"\nimport {isNumber, isString} from \"@qualcomm-ui/utils/guard\"\n\nimport type {Dict, StyleObject} from \"./normalize-props\"\n\nexport interface NgBindOptions {\n /**\n * This list of properties will not be spread onto the target element.\n */\n omittedProps?: string[]\n}\n\n/**\n * A directive similar to Vue's `v-bind` that spreads an object's properties onto\n * the host element. For the best performance, use a stable reference to a signal\n * instead of an object literal in the template. Converts callbacks from `on*`\n * syntax to their corresponding Angular event callbacks. Does not account for\n * input/output properties due to Angular limitations.\n *\n * @example\n * <!-- bad: new object every time -->\n * <div [q-bind]=\"{class: 'a', onClick: click}\"></div>\n *\n * <!-- good: stable reference -->\n * <div [q-bind]=\"buttonProps\"></div>\n */\n@Directive({\n selector: \"[q-bind]\",\n})\nexport class QBindDirective implements OnDestroy {\n readonly bind = input.required<Dict | undefined>({alias: \"q-bind\"})\n\n readonly bindOptions = input<NgBindOptions>({}, {alias: \"q-bind-options\"})\n\n private readonly elementRef = inject(ElementRef<HTMLElement>)\n private readonly renderer = inject(Renderer2)\n private readonly injector = inject(Injector)\n private readonly listeners = new Map<string, VoidFunction>()\n private prev: Dict = {}\n\n readonly omittedProps = computed(() => {\n const opts = this.bindOptions()\n return new Set(Array.from(opts.omittedProps || []))\n })\n\n constructor() {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n const next = this.bind()\n if (!isEqual(next, this.prev)) {\n this.handleAttrs(this.prev, next || {})\n this.prev = {...next}\n }\n })\n })\n }\n\n ngOnDestroy(): void {\n this.listeners.forEach((unlisten) => unlisten())\n this.listeners.clear()\n }\n\n private removeClass(names?: string): void {\n if (!names) {\n return\n }\n\n const el = this.elementRef.nativeElement\n for (const name of names.split(\",\")) {\n this.renderer.removeClass(el, name)\n }\n }\n\n private addClass(names: string): void {\n const el = this.elementRef.nativeElement\n for (const name of names.split(\",\")) {\n this.renderer.addClass(el, name)\n }\n }\n\n private removeStyle(style?: StyleObject): void {\n if (!style) {\n return\n }\n\n const el = this.elementRef.nativeElement\n for (const name of Object.keys(style)) {\n this.renderer.removeStyle(el, name, RendererStyleFlags2.DashCase)\n }\n }\n\n private addStyle(style: StyleObject): void {\n const el = this.elementRef.nativeElement\n for (const [name, value] of Object.entries(style)) {\n this.renderer.setStyle(el, name, value, RendererStyleFlags2.DashCase)\n }\n }\n\n private addEventListener(name: string, callback: EventListener): void {\n const eventName = name.substring(2)\n\n this.listeners.get(name)?.()\n const unlisten = this.renderer.listen(\n this.elementRef.nativeElement,\n eventName,\n callback,\n )\n this.listeners.set(name, unlisten)\n }\n\n private handleAttrs(prevProps: Dict, nextProps: Dict): void {\n const el = this.elementRef.nativeElement\n\n for (const [name, value] of Object.entries(prevProps)) {\n if (name in nextProps || this.omittedProps().has(name)) {\n continue\n }\n\n if (name.startsWith(\"on\")) {\n this.listeners.get(name)?.()\n this.listeners.delete(name)\n continue\n }\n\n switch (name) {\n case \"class\":\n this.removeClass(value as string)\n continue\n case \"style\":\n this.removeStyle(value as StyleObject)\n continue\n case \"value\":\n this.renderer.setProperty(el, \"value\", undefined)\n continue\n case \"textContent\":\n this.renderer.setProperty(el, \"textContent\", \"\")\n continue\n case \"checked\":\n this.renderer.setProperty(el, \"checked\", false)\n continue\n }\n this.renderer.removeAttribute(el, name)\n }\n\n for (const [name, value] of Object.entries(nextProps)) {\n if (name in prevProps && isEqual(value, prevProps[name])) {\n continue\n }\n\n if (name.startsWith(\"on\")) {\n const prevHandler = prevProps[name]\n if (isEqual(prevHandler, value)) {\n continue\n }\n\n this.addEventListener(name, value as EventListener)\n continue\n }\n\n switch (name) {\n case \"class\":\n this.removeClass(prevProps[name] as string)\n this.addClass(value as string)\n continue\n case \"style\":\n this.removeStyle(prevProps[name] as StyleObject)\n this.addStyle(value as StyleObject)\n continue\n case \"value\":\n case \"checked\":\n case \"textContent\":\n this.renderer.setProperty(el, name, value)\n continue\n }\n\n if (isString(value) || isNumber(value)) {\n this.renderer.setAttribute(el, name, `${value}`)\n continue\n }\n\n if (value === true) {\n this.renderer.setAttribute(el, name, \"\")\n } else {\n this.renderer.removeAttribute(el, name)\n }\n }\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=qualcomm-ui-angular-core-machine.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qualcomm-ui-angular-core-machine.js","sourceRoot":"","sources":["../../../src/machine/qualcomm-ui-angular-core-machine.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1,18 @@
1
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
3
+ import { signal } from "@angular/core";
4
+ export function createRefs(refs) {
5
+ const ref = signal(refs, ...(ngDevMode ? [{ debugName: "ref" }] : []));
6
+ return {
7
+ get(key) {
8
+ return ref()[key];
9
+ },
10
+ set(key, value) {
11
+ ref.update((prev) => ({
12
+ ...prev,
13
+ [key]: value,
14
+ }));
15
+ },
16
+ };
17
+ }
18
+ //# sourceMappingURL=refs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refs.js","sourceRoot":"","sources":["../../../src/machine/refs.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAA;AAEpC,MAAM,UAAU,UAAU,CAAI,IAAO;IACnC,MAAM,GAAG,GAAG,MAAM,CAAI,IAAI,+CAAC,CAAA;IAE3B,OAAO;QACL,GAAG,CAAoB,GAAM;YAC3B,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;QACnB,CAAC;QACD,GAAG,CAAoB,GAAM,EAAE,KAAW;YACxC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACpB,GAAG,IAAI;gBACP,CAAC,GAAG,CAAC,EAAE,KAAK;aACb,CAAC,CAAC,CAAA;QACL,CAAC;KACF,CAAA;AACH,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {signal} from \"@angular/core\"\n\nexport function createRefs<T>(refs: T) {\n const ref = signal<T>(refs)\n\n return {\n get<K extends keyof T>(key: K): T[K] {\n return ref()[key]\n },\n set<K extends keyof T>(key: K, value: T[K]) {\n ref.update((prev) => ({\n ...prev,\n [key]: value,\n }))\n },\n }\n}\n"]}
@@ -0,0 +1,46 @@
1
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
3
+ import { effect, runInInjectionContext } from "@angular/core";
4
+ import { isEqual } from "@qualcomm-ui/utils/equal";
5
+ import { isFunction } from "@qualcomm-ui/utils/guard";
6
+ function access(value) {
7
+ return isFunction(value) ? value() : value;
8
+ }
9
+ export function useTrack(injector) {
10
+ return (deps, _effect) => {
11
+ let prevDeps = [];
12
+ let isInitialized = false;
13
+ let isMounted = false;
14
+ runInInjectionContext(injector, () => {
15
+ // Separate effect to track mount state
16
+ effect(() => {
17
+ queueMicrotask(() => {
18
+ isMounted = true;
19
+ });
20
+ });
21
+ effect(() => {
22
+ const currentDeps = deps.map((d) => access(d));
23
+ if (!isInitialized) {
24
+ prevDeps = currentDeps;
25
+ isInitialized = true;
26
+ return;
27
+ }
28
+ if (!isMounted) {
29
+ return;
30
+ }
31
+ let changed = false;
32
+ for (let i = 0; i < deps.length; i++) {
33
+ if (!isEqual(prevDeps[i], currentDeps[i])) {
34
+ changed = true;
35
+ break;
36
+ }
37
+ }
38
+ if (changed) {
39
+ prevDeps = currentDeps;
40
+ _effect();
41
+ }
42
+ });
43
+ });
44
+ };
45
+ }
46
+ //# sourceMappingURL=track.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"track.js","sourceRoot":"","sources":["../../../src/machine/track.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,MAAM,EAAiB,qBAAqB,EAAC,MAAM,eAAe,CAAA;AAE1E,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAC,UAAU,EAAC,MAA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ACZ,QAAQ,GAAG,WAAW,CAAA;oBACtB,OAAO,EAAE,CAAA;gBACX,CAAC;YACH,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC,CAAA;AACH,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {effect, type Injector, runInInjectionContext} from \"@angular/core\"\n\nimport {isEqual} from \"@qualcomm-ui/utils/equal\"\nimport {isFunction} from \"@qualcomm-ui/utils/guard\"\n\nfunction access<T>(value: T | (() => T)): T {\n return isFunction(value) ? value() : value\n}\n\nexport function useTrack(\n injector: Injector,\n): (deps: any[], _effect: VoidFunction) => void {\n return (deps, _effect) => {\n let prevDeps: any[] = []\n let isInitialized = false\n let isMounted = false\n\n runInInjectionContext(injector, () => {\n // Separate effect to track mount state\n effect(() => {\n queueMicrotask(() => {\n isMounted = true\n })\n })\n\n effect(() => {\n const currentDeps = deps.map((d) => access(d))\n\n if (!isInitialized) {\n prevDeps = currentDeps\n isInitialized = true\n return\n }\n\n if (!isMounted) {\n return\n }\n\n let changed = false\n for (let i = 0; i < deps.length; i++) {\n if (!isEqual(prevDeps[i], currentDeps[i])) {\n changed = true\n break\n }\n }\n\n if (changed) {\n prevDeps = currentDeps\n _effect()\n }\n })\n })\n }\n}\n"]}
@@ -0,0 +1,312 @@
1
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
3
+ import { afterRenderEffect, computed as computedSignal, isSignal, runInInjectionContext, untracked, } from "@angular/core";
4
+ import { createScope } from "@qualcomm-ui/dom/query";
5
+ import { toArray } from "@qualcomm-ui/utils/array";
6
+ import { ensure, isFunction, isString } from "@qualcomm-ui/utils/guard";
7
+ import { INIT_STATE, MachineStatus, } from "@qualcomm-ui/utils/machine";
8
+ import { compact } from "@qualcomm-ui/utils/object";
9
+ import { bindable } from "./bindable";
10
+ import { bindableId } from "./bindable-id";
11
+ import { bindableIdCollection } from "./bindable-id-collection";
12
+ import { createRefs } from "./refs";
13
+ import { useTrack } from "./track";
14
+ export function useMachine(config, userProps = {}, injector, opts = {}) {
15
+ const debug = (...args) => {
16
+ if (opts.debug) {
17
+ console.debug(...args);
18
+ }
19
+ };
20
+ const scope = computedSignal(() => {
21
+ const { getRootNode, id } = access(userProps);
22
+ return createScope({ getRootNode, id });
23
+ });
24
+ const configIds = config.ids?.({
25
+ bindableId,
26
+ bindableIdCollection: () => bindableIdCollection(),
27
+ });
28
+ const ids = {
29
+ collection(key) {
30
+ return configIds?.[key];
31
+ },
32
+ get(key) {
33
+ return configIds?.[key]?.get?.();
34
+ },
35
+ register(key, valueOrParams, onDestroy) {
36
+ if (typeof valueOrParams === "object" &&
37
+ valueOrParams !== null &&
38
+ "id" in valueOrParams) {
39
+ const params = valueOrParams;
40
+ configIds?.[key].set?.(params.id);
41
+ params.onDestroy?.(() => configIds?.[key].set?.(undefined));
42
+ }
43
+ else {
44
+ configIds?.[key].set?.(valueOrParams);
45
+ onDestroy?.(() => configIds?.[key].set?.(undefined));
46
+ }
47
+ },
48
+ set(key, value) {
49
+ configIds?.[key].set?.(value);
50
+ },
51
+ };
52
+ const props = computedSignal(() => config.props?.({
53
+ props: compact(access(userProps)),
54
+ scope: { ...scope(), ids },
55
+ }) ?? access(userProps));
56
+ const prop = useProp(props);
57
+ let previousEventRef = null;
58
+ let eventRef = { type: "" };
59
+ const getEvent = () => ({
60
+ ...eventRef,
61
+ current() {
62
+ return eventRef;
63
+ },
64
+ previous() {
65
+ return previousEventRef;
66
+ },
67
+ });
68
+ const context = {
69
+ get(key) {
70
+ return configContext[key]?.get();
71
+ },
72
+ hash(key) {
73
+ const current = configContext?.[key].get();
74
+ return configContext?.[key].hash(current);
75
+ },
76
+ initial(key) {
77
+ return configContext?.[key].initial;
78
+ },
79
+ set(key, value, ...details) {
80
+ configContext?.[key].set(value, ...details);
81
+ },
82
+ };
83
+ const refs = createRefs(config.refs?.({ context, prop }) ?? {});
84
+ const configContext = config.context?.({
85
+ bindable,
86
+ flush,
87
+ getComputed() {
88
+ return computed;
89
+ },
90
+ getContext() {
91
+ return context;
92
+ },
93
+ getEvent() {
94
+ return getEvent();
95
+ },
96
+ getRefs() {
97
+ return refs;
98
+ },
99
+ prop,
100
+ get scope() {
101
+ return { ...scope(), ids };
102
+ },
103
+ });
104
+ const computed = (key) => {
105
+ ensure(config.computed, () => `No computed object found on machine`);
106
+ const fn = config.computed[key];
107
+ return fn({
108
+ computed,
109
+ context,
110
+ prop,
111
+ refs,
112
+ get scope() {
113
+ return { ...scope(), ids };
114
+ },
115
+ });
116
+ };
117
+ // Create the actions object with direct property access
118
+ const actions = {};
119
+ if (config.actions) {
120
+ for (const key of Object.keys(config.actions)) {
121
+ const actionFn = config.actions[key];
122
+ actions[key] = () => {
123
+ return actionFn(getParams());
124
+ };
125
+ }
126
+ }
127
+ let effectsRef = new Map();
128
+ let transitionRef = null;
129
+ const action = (keys) => {
130
+ if (!keys) {
131
+ return;
132
+ }
133
+ const strs = isFunction(keys) ? keys(getParams()) : keys;
134
+ if (!strs) {
135
+ return;
136
+ }
137
+ for (const key of strs) {
138
+ const fn = config.actions?.[key];
139
+ if (fn) {
140
+ fn(getParams());
141
+ }
142
+ }
143
+ };
144
+ const guard = (guard) => {
145
+ if (isFunction(guard)) {
146
+ return guard(getParams());
147
+ }
148
+ return config.guards?.[guard](getParams());
149
+ };
150
+ const choose = (transitions) => {
151
+ return toArray(transitions).find((t) => {
152
+ let result = !t.guard;
153
+ if (isString(t.guard)) {
154
+ result = !!guard(t.guard);
155
+ }
156
+ else if (isFunction(t.guard)) {
157
+ result = t.guard(getParams());
158
+ }
159
+ return result;
160
+ });
161
+ };
162
+ const effect = (keys) => {
163
+ if (!keys) {
164
+ return undefined;
165
+ }
166
+ const fns = keys.map((s) => {
167
+ return config.effects?.[s];
168
+ });
169
+ const cleanups = [];
170
+ for (const fn of fns) {
171
+ const cleanup = fn?.(getParams());
172
+ if (cleanup) {
173
+ cleanups.push(cleanup);
174
+ }
175
+ }
176
+ return () => cleanups.forEach((fn) => fn?.());
177
+ };
178
+ const state = bindable(() => ({
179
+ defaultValue: config.initialState({ prop }),
180
+ name: "state",
181
+ onChange: (nextState, details, prevState) => {
182
+ // compute effects: exit -> transition -> enter
183
+ // exit effects
184
+ if (prevState) {
185
+ const exitEffects = effectsRef.get(prevState);
186
+ exitEffects?.();
187
+ effectsRef.delete(prevState);
188
+ }
189
+ // exit actions
190
+ if (prevState) {
191
+ action(config.states[prevState]?.exit);
192
+ }
193
+ // transition actions
194
+ action(transitionRef?.actions);
195
+ // enter effect
196
+ const cleanup = effect(config.states[nextState]?.effects);
197
+ if (cleanup) {
198
+ effectsRef.set(nextState, cleanup);
199
+ }
200
+ // root entry actions
201
+ if (prevState === "__init__") {
202
+ action(config.onInit?.actions);
203
+ const cleanup = effect(config.onInit?.effects ?? []);
204
+ if (cleanup) {
205
+ effectsRef.set("__init__", cleanup);
206
+ }
207
+ }
208
+ // enter actions
209
+ action(config.states[nextState]?.entry);
210
+ },
211
+ }));
212
+ const getState = () => ({
213
+ ...state,
214
+ hasTag(tag) {
215
+ return !!config.states[state.get()]?.tags?.includes(tag);
216
+ },
217
+ matches(...values) {
218
+ return values.includes(state.get());
219
+ },
220
+ });
221
+ const send = (event) => {
222
+ queueMicrotask(() => {
223
+ previousEventRef = { ...eventRef };
224
+ eventRef = { ...event };
225
+ const currentState = state.get();
226
+ debug("send", { currentState, event });
227
+ const transitions = config.states[currentState]?.on?.[event.type] ?? config.on?.[event.type];
228
+ const transition = choose(transitions);
229
+ if (!transition) {
230
+ return;
231
+ }
232
+ // save current transition
233
+ transitionRef = transition;
234
+ const target = transition.target ?? currentState;
235
+ const changed = target !== currentState;
236
+ debug("transition", transition);
237
+ if (changed) {
238
+ state.set(target);
239
+ }
240
+ else if (transition.reenter && !changed) {
241
+ // reenter will re-invoke the current state
242
+ state.invoke(currentState, currentState);
243
+ }
244
+ else {
245
+ // call transition actions
246
+ action(transition.actions ?? []);
247
+ }
248
+ });
249
+ };
250
+ const getParams = () => ({
251
+ action,
252
+ actions,
253
+ choose,
254
+ computed,
255
+ context,
256
+ event: getEvent(),
257
+ flush,
258
+ guard,
259
+ prop,
260
+ refs,
261
+ get scope() {
262
+ return { ...scope(), ids };
263
+ },
264
+ send: send,
265
+ state: getState(),
266
+ track: useTrack(injector),
267
+ });
268
+ config.watch?.(getParams());
269
+ let status = MachineStatus.NOT_STARTED;
270
+ runInInjectionContext(injector, () => {
271
+ afterRenderEffect((onCleanup) => {
272
+ const started = status === MachineStatus.STARTED;
273
+ status = MachineStatus.STARTED;
274
+ debug(started ? "rehydrating..." : "initializing...");
275
+ untracked(() => state.invoke(state.initial, INIT_STATE));
276
+ onCleanup(() => {
277
+ debug("unmounting...");
278
+ status = MachineStatus.STOPPED;
279
+ effectsRef.forEach((fn) => fn());
280
+ effectsRef = new Map();
281
+ transitionRef = null;
282
+ action(config.onDestroy?.actions);
283
+ });
284
+ });
285
+ });
286
+ return {
287
+ computed,
288
+ context,
289
+ event: getEvent(),
290
+ prop,
291
+ refs,
292
+ get scope() {
293
+ return { ...scope(), ids };
294
+ },
295
+ send: send,
296
+ state: getState(),
297
+ };
298
+ }
299
+ function flush(fn) {
300
+ queueMicrotask(() => {
301
+ fn();
302
+ });
303
+ }
304
+ function access(value) {
305
+ return isSignal(value) ? value() : value;
306
+ }
307
+ function useProp(value) {
308
+ return function get(key) {
309
+ return value()[key];
310
+ };
311
+ }
312
+ //# sourceMappingURL=use-machine.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-machine.js","sourceRoot":"","sources":["../../../src/machine/use-machine.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,iBAAiB,EACjB,QAAQ,IAAI,cAAc,EAE1B,QAAQ,EACR,qBAAqB,EAErB,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC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Q,EAAE;KAClB,CAAA;AACH,CAAC;AAED,SAAS,KAAK,CAAC,EAAgB;IAC7B,cAAc,CAAC,GAAG,EAAE;QAClB,EAAE,EAAE,CAAA;IACN,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,MAAM,CAAI,KAAoB;IACrC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAA;AAC1C,CAAC;AAED,SAAS,OAAO,CAAI,KAAgB;IAClC,OAAO,SAAS,GAAG,CAAoB,GAAM;QAC3C,OAAO,KAAK,EAAE,CAAC,GAAG,CAAC,CAAA;IACrB,CAAC,CAAA;AACH,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n afterRenderEffect,\n computed as computedSignal,\n type Injector,\n isSignal,\n runInInjectionContext,\n type Signal,\n untracked,\n} from \"@angular/core\"\n\nimport {createScope} from \"@qualcomm-ui/dom/query\"\nimport {toArray} from \"@qualcomm-ui/utils/array\"\nimport {ensure, isFunction, isString} from \"@qualcomm-ui/utils/guard\"\nimport {\n type ActionsOrFn,\n type BindableContext,\n type BindableIds,\n type ChooseFn,\n type ComputedFn,\n type CtxDetails,\n type CtxValue,\n type DetailTuple,\n type EventType,\n type GuardFn,\n INIT_STATE,\n type Machine,\n type MachineConfig,\n type MachineSchema,\n MachineStatus,\n type Params,\n type SendFn,\n type Transition,\n type ValueOrFn,\n type WatchParams,\n} from \"@qualcomm-ui/utils/machine\"\nimport {compact} from \"@qualcomm-ui/utils/object\"\n\nimport {bindable} from \"./bindable\"\nimport {bindableId} from \"./bindable-id\"\nimport {bindableIdCollection} from \"./bindable-id-collection\"\nimport {createRefs} from \"./refs\"\nimport {useTrack} from \"./track\"\n\nexport interface MachineOpts {\n /**\n * If true, enable debug logging.\n *\n * @default false\n */\n debug?: boolean | undefined\n}\n\nexport function useMachine<T extends MachineSchema>(\n config: MachineConfig<T>,\n userProps: Partial<T[\"props\"]> | Signal<Partial<T[\"props\"]>> = {},\n injector: Injector,\n opts: MachineOpts = {},\n): Machine<T> {\n const debug = (...args: any[]) => {\n if (opts.debug) {\n console.debug(...args)\n }\n }\n\n const scope = computedSignal(() => {\n const {getRootNode, id} = access<any>(userProps)\n return createScope({getRootNode, id})\n })\n\n const configIds = config.ids?.({\n bindableId,\n bindableIdCollection: () => bindableIdCollection(),\n })\n\n const ids: BindableIds<T> = {\n collection(key) {\n return configIds?.[key]\n },\n get(key) {\n return configIds?.[key]?.get?.()\n },\n register(key, valueOrParams, onDestroy?: any) {\n if (\n typeof valueOrParams === \"object\" &&\n valueOrParams !== null &&\n \"id\" in valueOrParams\n ) {\n const params = valueOrParams\n configIds?.[key].set?.(params.id)\n params.onDestroy?.(() => configIds?.[key].set?.(undefined))\n } else {\n configIds?.[key].set?.(valueOrParams)\n onDestroy?.(() => configIds?.[key].set?.(undefined))\n }\n },\n set(key, value) {\n configIds?.[key].set?.(value)\n },\n }\n\n const props = computedSignal(\n () =>\n config.props?.({\n props: compact(access(userProps)),\n scope: {...scope(), ids},\n }) ?? access(userProps),\n )\n\n const prop = useProp<T[\"props\"]>(props)\n\n let previousEventRef: any = null\n let eventRef: any = {type: \"\"}\n\n const getEvent = () => ({\n ...eventRef,\n current() {\n return eventRef\n },\n previous() {\n return previousEventRef\n },\n })\n\n const context: BindableContext<T> = {\n get<K extends keyof T[\"context\"]>(key: K) {\n return configContext![key]?.get()\n },\n hash(key): string | undefined {\n const current = configContext?.[key].get()\n return configContext?.[key].hash(current)\n },\n initial<K extends keyof T[\"context\"]>(key: K) {\n return configContext?.[key].initial\n },\n set<K extends keyof T[\"context\"]>(\n key: K,\n value: ValueOrFn<CtxValue<T[\"context\"][K]>>,\n ...details: DetailTuple<CtxDetails<T[\"context\"][K]>>\n ): void {\n configContext?.[key].set(value, ...(details as any))\n },\n }\n\n const refs = createRefs(config.refs?.({context, prop}) ?? {})\n\n const configContext = config.context?.({\n bindable,\n flush,\n getComputed() {\n return computed\n },\n getContext() {\n return context\n },\n getEvent() {\n return getEvent()\n },\n getRefs() {\n return refs\n },\n prop,\n get scope() {\n return {...scope(), ids}\n },\n })\n\n const computed: ComputedFn<T> = (key) => {\n ensure(config.computed, () => `No computed object found on machine`)\n const fn = config.computed[key]\n return fn({\n computed,\n context,\n prop,\n refs,\n get scope() {\n return {...scope(), ids}\n },\n })\n }\n\n // Create the actions object with direct property access\n const actions = {} as {\n [K in keyof T[\"actions\"]]: () => void\n }\n\n if (config.actions) {\n for (const key of Object.keys(config.actions) as Array<\n keyof T[\"actions\"]\n >) {\n const actionFn = config.actions[key]\n\n actions[key] = () => {\n return actionFn(getParams())\n }\n }\n }\n\n let effectsRef = new Map<string, VoidFunction>()\n let transitionRef: Transition<T> | null = null\n\n const action = (keys: ActionsOrFn<T> | undefined) => {\n if (!keys) {\n return\n }\n const strs = isFunction(keys) ? keys(getParams()) : keys\n if (!strs) {\n return\n }\n for (const key of strs) {\n const fn = config.actions?.[key]\n if (fn) {\n fn(getParams())\n }\n }\n }\n\n const guard = <K extends keyof T[\"guards\"]>(guard: K | GuardFn<T>) => {\n if (isFunction(guard)) {\n return guard(getParams())\n }\n return config.guards?.[guard](getParams())\n }\n\n const choose: ChooseFn<T> = (transitions) => {\n return toArray(transitions).find((t) => {\n let result: boolean | undefined = !t.guard\n if (isString(t.guard)) {\n result = !!guard(t.guard)\n } else if (isFunction(t.guard)) {\n result = t.guard(getParams())\n }\n return result\n })\n }\n\n const effect = (keys: (keyof T[\"effects\"])[] | undefined) => {\n if (!keys) {\n return undefined\n }\n const fns = keys.map((s) => {\n return config.effects?.[s]\n })\n const cleanups: VoidFunction[] = []\n for (const fn of fns) {\n const cleanup = fn?.(getParams())\n if (cleanup) {\n cleanups.push(cleanup)\n }\n }\n return () => cleanups.forEach((fn) => fn?.())\n }\n\n const state = bindable(() => ({\n defaultValue: config.initialState({prop}),\n name: \"state\",\n onChange: (nextState, details: unknown, prevState) => {\n // compute effects: exit -> transition -> enter\n\n // exit effects\n if (prevState) {\n const exitEffects = effectsRef.get(prevState)\n exitEffects?.()\n effectsRef.delete(prevState)\n }\n\n // exit actions\n if (prevState) {\n action(config.states[prevState]?.exit)\n }\n\n // transition actions\n action(transitionRef?.actions)\n\n // enter effect\n const cleanup = effect(config.states[nextState]?.effects)\n if (cleanup) {\n effectsRef.set(nextState as string, cleanup)\n }\n\n // root entry actions\n if (prevState === \"__init__\") {\n action(config.onInit?.actions)\n const cleanup = effect(config.onInit?.effects ?? [])\n if (cleanup) {\n effectsRef.set(\"__init__\", cleanup)\n }\n }\n\n // enter actions\n action(config.states[nextState]?.entry)\n },\n }))\n\n const getState = () => ({\n ...state,\n hasTag(tag: T[\"tag\"]) {\n return !!config.states[state.get()]?.tags?.includes(tag)\n },\n matches(...values: T[\"state\"][]) {\n return values.includes(state.get())\n },\n })\n\n const send = (event: EventType<T>) => {\n queueMicrotask(() => {\n previousEventRef = {...eventRef}\n eventRef = {...event}\n const currentState = state.get()\n\n debug(\"send\", {currentState, event})\n\n const transitions =\n config.states[currentState]?.on?.[event.type] ?? config.on?.[event.type]\n\n const transition = choose(transitions)\n if (!transition) {\n return\n }\n\n // save current transition\n transitionRef = transition\n\n const target = transition.target ?? currentState\n const changed = target !== currentState\n\n debug(\"transition\", transition)\n\n if (changed) {\n state.set(target)\n } else if (transition.reenter && !changed) {\n // reenter will re-invoke the current state\n state.invoke(currentState, currentState)\n } else {\n // call transition actions\n action(transition.actions ?? [])\n }\n })\n }\n\n const getParams = (): Params<T> => ({\n action,\n actions,\n choose,\n computed,\n context,\n event: getEvent(),\n flush,\n guard,\n prop,\n refs,\n get scope() {\n return {...scope(), ids}\n },\n send: send as SendFn<T>,\n state: getState(),\n track: useTrack(injector),\n })\n\n config.watch?.(getParams() as WatchParams<T>)\n\n let status: MachineStatus = MachineStatus.NOT_STARTED\n\n runInInjectionContext(injector, () => {\n afterRenderEffect((onCleanup) => {\n const started = status === MachineStatus.STARTED\n\n status = MachineStatus.STARTED\n\n debug(started ? \"rehydrating...\" : \"initializing...\")\n\n untracked(() => state.invoke(state.initial, INIT_STATE))\n\n onCleanup(() => {\n debug(\"unmounting...\")\n\n status = MachineStatus.STOPPED\n\n effectsRef.forEach((fn) => fn())\n\n effectsRef = new Map()\n transitionRef = null\n\n action(config.onDestroy?.actions)\n })\n })\n })\n\n return {\n computed,\n context,\n event: getEvent(),\n prop,\n refs,\n get scope() {\n return {...scope(), ids}\n },\n send: send as SendFn<T>,\n state: getState(),\n }\n}\n\nfunction flush(fn: VoidFunction) {\n queueMicrotask(() => {\n fn()\n })\n}\n\nfunction access<T>(value: T | Signal<T>) {\n return isSignal(value) ? value() : value\n}\n\nfunction useProp<T>(value: Signal<T>) {\n return function get<K extends keyof T>(key: K): T[K] {\n return value()[key]\n }\n}\n"]}