@3ddv/software-division-components 1.4.1 → 1.4.2

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 (676) hide show
  1. package/.editorconfig +17 -0
  2. package/.husky/commit-msg +1 -0
  3. package/.prettierrc +11 -0
  4. package/README.backup.md +579 -0
  5. package/angular.json +144 -0
  6. package/commitlint-config.ts +7 -0
  7. package/components.json +6 -0
  8. package/docs/conventions.md +151 -0
  9. package/docs/installation.md +131 -0
  10. package/docs/releasing.md +306 -0
  11. package/eslint.config.ts +209 -0
  12. package/lerna-debug.log +71 -0
  13. package/lerna.json +8 -0
  14. package/package.json +130 -172
  15. package/pnpm-workspace.yaml +2 -0
  16. package/postcss.config.js +6 -0
  17. package/process-styles.js +31 -0
  18. package/projects/consumer-app/public/favicon.ico +0 -0
  19. package/projects/consumer-app/src/app/app.component.css +45 -0
  20. package/projects/consumer-app/src/app/app.component.html +11 -0
  21. package/projects/consumer-app/src/app/app.component.ts +14 -0
  22. package/projects/consumer-app/src/app/app.config.ts +8 -0
  23. package/projects/consumer-app/src/app/app.routes.ts +9 -0
  24. package/projects/consumer-app/src/app/form/form.component.css +82 -0
  25. package/projects/consumer-app/src/app/form/form.component.html +196 -0
  26. package/projects/consumer-app/src/app/form/form.component.ts +101 -0
  27. package/projects/consumer-app/src/app/table/action-column.component.ts +46 -0
  28. package/projects/consumer-app/src/app/table/table.component.css +3 -0
  29. package/projects/consumer-app/src/app/table/table.component.html +17 -0
  30. package/projects/consumer-app/src/app/table/table.component.ts +277 -0
  31. package/projects/consumer-app/src/index.html +13 -0
  32. package/projects/consumer-app/src/main.ts +6 -0
  33. package/projects/consumer-app/src/styles.css +35 -0
  34. package/projects/consumer-app/tsconfig.app.json +11 -0
  35. package/projects/consumer-app/tsconfig.spec.json +15 -0
  36. package/projects/software-division-components/.claude/settings.local.json +9 -0
  37. package/projects/software-division-components/.postcssrc.json +5 -0
  38. package/projects/software-division-components/.storybook/main.ts +28 -0
  39. package/projects/software-division-components/.storybook/manager-head.html +1 -0
  40. package/projects/software-division-components/.storybook/preview.ts +30 -0
  41. package/projects/software-division-components/.storybook/tsconfig.json +13 -0
  42. package/projects/software-division-components/.storybook/typings.d.ts +4 -0
  43. package/projects/software-division-components/LICENSE.md +21 -0
  44. package/projects/software-division-components/components.json +3 -0
  45. package/projects/software-division-components/documentation.json +5052 -0
  46. package/projects/software-division-components/ng-package.json +10 -0
  47. package/projects/software-division-components/node_modules/.bin/acorn +21 -0
  48. package/projects/software-division-components/node_modules/.bin/browserslist +21 -0
  49. package/projects/software-division-components/node_modules/.bin/chroma +21 -0
  50. package/projects/software-division-components/node_modules/.bin/chromatic +21 -0
  51. package/projects/software-division-components/node_modules/.bin/chromatic-cli +21 -0
  52. package/projects/software-division-components/node_modules/.bin/compodoc +21 -0
  53. package/projects/software-division-components/node_modules/.bin/eslint +21 -0
  54. package/projects/software-division-components/node_modules/.bin/getstorybook +21 -0
  55. package/projects/software-division-components/node_modules/.bin/jiti +21 -0
  56. package/projects/software-division-components/node_modules/.bin/js-yaml +21 -0
  57. package/projects/software-division-components/node_modules/.bin/karma +21 -0
  58. package/projects/software-division-components/node_modules/.bin/lessc +21 -0
  59. package/projects/software-division-components/node_modules/.bin/mf +21 -0
  60. package/projects/software-division-components/node_modules/.bin/ng +21 -0
  61. package/projects/software-division-components/node_modules/.bin/ng-packagr +21 -0
  62. package/projects/software-division-components/node_modules/.bin/ng-xi18n +21 -0
  63. package/projects/software-division-components/node_modules/.bin/ngc +21 -0
  64. package/projects/software-division-components/node_modules/.bin/ngcc +21 -0
  65. package/projects/software-division-components/node_modules/.bin/nx +21 -0
  66. package/projects/software-division-components/node_modules/.bin/nx-cloud +21 -0
  67. package/projects/software-division-components/node_modules/.bin/prettier +21 -0
  68. package/projects/software-division-components/node_modules/.bin/sass +21 -0
  69. package/projects/software-division-components/node_modules/.bin/sb +21 -0
  70. package/projects/software-division-components/node_modules/.bin/storybook +21 -0
  71. package/projects/software-division-components/node_modules/.bin/tailwind +21 -0
  72. package/projects/software-division-components/node_modules/.bin/tailwindcss +21 -0
  73. package/projects/software-division-components/node_modules/.bin/terser +21 -0
  74. package/projects/software-division-components/node_modules/.bin/tsc +21 -0
  75. package/projects/software-division-components/node_modules/.bin/tsserver +21 -0
  76. package/projects/software-division-components/node_modules/.bin/vite +21 -0
  77. package/projects/software-division-components/node_modules/.bin/webpack +21 -0
  78. package/projects/software-division-components/node_modules/.bin/yaml +21 -0
  79. package/projects/software-division-components/package.json +216 -0
  80. package/projects/software-division-components/public/3ddv-logo.jpg +0 -0
  81. package/projects/software-division-components/public/neighbours-after.png +0 -0
  82. package/projects/software-division-components/public/neighbours-before.png +0 -0
  83. package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.css +193 -0
  84. package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.html +23 -0
  85. package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.ts +252 -0
  86. package/projects/software-division-components/src/backoffice/checkbox/index.ts +1 -0
  87. package/projects/software-division-components/src/backoffice/checkbox/public-api.ts +1 -0
  88. package/projects/software-division-components/src/backoffice/checkbox/story/checkbox.stories.ts +304 -0
  89. package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.css +262 -0
  90. package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.html +40 -0
  91. package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.ts +366 -0
  92. package/projects/software-division-components/src/backoffice/datepicker/index.ts +1 -0
  93. package/{backoffice/datepicker/public-api.d.ts → projects/software-division-components/src/backoffice/datepicker/public-api.ts} +1 -1
  94. package/projects/software-division-components/src/backoffice/datepicker/story/datepicker.stories.ts +32 -0
  95. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/index.ts +14 -0
  96. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.ts +183 -0
  97. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.ts +171 -0
  98. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/index.ts +16 -0
  99. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.ts +43 -0
  100. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.ts +177 -0
  101. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.ts +43 -0
  102. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.ts +167 -0
  103. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/index.ts +11 -0
  104. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
  105. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
  106. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/index.ts +15 -0
  107. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.ts +19 -0
  108. package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.ts +30 -0
  109. package/projects/software-division-components/src/backoffice/index.ts +1 -0
  110. package/projects/software-division-components/src/backoffice/input/index.ts +1 -0
  111. package/projects/software-division-components/src/backoffice/input/input.component.css +319 -0
  112. package/projects/software-division-components/src/backoffice/input/input.component.html +51 -0
  113. package/projects/software-division-components/src/backoffice/input/input.component.ts +497 -0
  114. package/projects/software-division-components/src/backoffice/input/public-api.ts +2 -0
  115. package/projects/software-division-components/src/backoffice/input/story/input.stories.ts +243 -0
  116. package/projects/software-division-components/src/backoffice/package.json +8 -0
  117. package/{backoffice/public-api.d.ts → projects/software-division-components/src/backoffice/public-api.ts} +0 -1
  118. package/projects/software-division-components/src/backoffice/radio/index.ts +1 -0
  119. package/projects/software-division-components/src/backoffice/radio/public-api.ts +1 -0
  120. package/projects/software-division-components/src/backoffice/radio/radio.component.css +143 -0
  121. package/projects/software-division-components/src/backoffice/radio/radio.component.html +15 -0
  122. package/projects/software-division-components/src/backoffice/radio/radio.component.ts +154 -0
  123. package/projects/software-division-components/src/backoffice/radio/story/radio.stories.ts +287 -0
  124. package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.css +117 -0
  125. package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.html +55 -0
  126. package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.ts +79 -0
  127. package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.css +0 -0
  128. package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.html +6 -0
  129. package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.ts +36 -0
  130. package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.css +0 -0
  131. package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.html +5 -0
  132. package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.ts +12 -0
  133. package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.css +14 -0
  134. package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.html +11 -0
  135. package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.ts +55 -0
  136. package/projects/software-division-components/src/backoffice/table/index.ts +1 -0
  137. package/projects/software-division-components/src/backoffice/table/public-api.ts +43 -0
  138. package/projects/software-division-components/src/backoffice/table/story/table.stories.ts +364 -0
  139. package/projects/software-division-components/src/backoffice/table/table.component.css +172 -0
  140. package/projects/software-division-components/src/backoffice/table/table.component.html +53 -0
  141. package/projects/software-division-components/src/backoffice/table/table.component.ts +347 -0
  142. package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/index.ts +11 -0
  143. package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
  144. package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
  145. package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/index.ts +13 -0
  146. package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.ts +220 -0
  147. package/projects/software-division-components/src/dvm/cart/cart.component.css +103 -0
  148. package/projects/software-division-components/src/dvm/cart/cart.component.html +31 -0
  149. package/projects/software-division-components/src/dvm/cart/cart.component.ts +49 -0
  150. package/projects/software-division-components/src/dvm/cart/cart.stories.ts +370 -0
  151. package/projects/software-division-components/src/dvm/cart/cart.types.ts +8 -0
  152. package/projects/software-division-components/src/dvm/cart/index.ts +2 -0
  153. package/{dvm/cart/public-api.d.ts → projects/software-division-components/src/dvm/cart/public-api.ts} +5 -1
  154. package/projects/software-division-components/src/dvm/cart/seat-list.component.css +281 -0
  155. package/projects/software-division-components/src/dvm/cart/seat-list.component.html +85 -0
  156. package/projects/software-division-components/src/dvm/cart/seat-list.component.ts +76 -0
  157. package/projects/software-division-components/src/dvm/cart/seat-list.stories.ts +337 -0
  158. package/projects/software-division-components/src/dvm/cart-item/cart-item.component.html +1 -0
  159. package/projects/software-division-components/src/dvm/cart-item/cart-item.component.ts +8 -0
  160. package/projects/software-division-components/src/dvm/cart-item/cart-item.service.ts +8 -0
  161. package/projects/software-division-components/src/dvm/cart-item/cart.stories.ts +31 -0
  162. package/projects/software-division-components/src/dvm/cart-item/index.ts +1 -0
  163. package/projects/software-division-components/src/dvm/cart-item/package.json +5 -0
  164. package/{dvm/cart-item/public-api.d.ts → projects/software-division-components/src/dvm/cart-item/public-api.ts} +4 -1
  165. package/projects/software-division-components/src/dvm/index.ts +1 -0
  166. package/projects/software-division-components/src/dvm/legend/index.ts +1 -0
  167. package/projects/software-division-components/src/dvm/legend/legend.component.css +49 -0
  168. package/projects/software-division-components/src/dvm/legend/legend.component.html +8 -0
  169. package/projects/software-division-components/src/dvm/legend/legend.component.ts +41 -0
  170. package/projects/software-division-components/src/dvm/legend/legend.stories.ts +16 -0
  171. package/projects/software-division-components/src/dvm/legend/package.json +5 -0
  172. package/{dvm/legend/public-api.d.ts → projects/software-division-components/src/dvm/legend/public-api.ts} +4 -1
  173. package/{dvm/legend/types.d.ts → projects/software-division-components/src/dvm/legend/types.ts} +3 -3
  174. package/{dvm/legend/ui/legend-elements/index.d.ts → projects/software-division-components/src/dvm/legend/ui/legend-elements/index.ts} +0 -1
  175. package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.css +49 -0
  176. package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.html +8 -0
  177. package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.ts +41 -0
  178. package/projects/software-division-components/src/dvm/loader/index.ts +1 -0
  179. package/projects/software-division-components/src/dvm/loader/loader.component.html +1 -0
  180. package/projects/software-division-components/src/dvm/loader/loader.component.ts +8 -0
  181. package/projects/software-division-components/src/dvm/loader/loader.service.ts +8 -0
  182. package/projects/software-division-components/src/dvm/loader/loader.stories.ts +31 -0
  183. package/projects/software-division-components/src/dvm/loader/package.json +5 -0
  184. package/{dvm/loader/public-api.d.ts → projects/software-division-components/src/dvm/loader/public-api.ts} +4 -1
  185. package/projects/software-division-components/src/dvm/map-loader/index.ts +1 -0
  186. package/projects/software-division-components/src/dvm/map-loader/map-loader.component.css +91 -0
  187. package/projects/software-division-components/src/dvm/map-loader/map-loader.component.html +23 -0
  188. package/projects/software-division-components/src/dvm/map-loader/map-loader.component.ts +187 -0
  189. package/projects/software-division-components/src/dvm/map-loader/map-loader.stories.ts +16 -0
  190. package/projects/software-division-components/src/dvm/map-loader/package.json +5 -0
  191. package/projects/software-division-components/src/dvm/map-loader/public-api.ts +5 -0
  192. package/projects/software-division-components/src/dvm/neighbors/index.ts +1 -0
  193. package/projects/software-division-components/src/dvm/neighbors/neighbors.component.css +158 -0
  194. package/projects/software-division-components/src/dvm/neighbors/neighbors.component.html +45 -0
  195. package/projects/software-division-components/src/dvm/neighbors/neighbors.component.ts +218 -0
  196. package/projects/software-division-components/src/dvm/neighbors/package.json +5 -0
  197. package/projects/software-division-components/src/dvm/neighbors/public-api.ts +2 -0
  198. package/projects/software-division-components/src/dvm/neighbors/story/arrow-left-black-icon.svg +3 -0
  199. package/projects/software-division-components/src/dvm/neighbors/story/mock-data.ts +15 -0
  200. package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.css +12 -0
  201. package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.ts +117 -0
  202. package/{dvm/neighbors/types.d.ts → projects/software-division-components/src/dvm/neighbors/types.ts} +7 -7
  203. package/projects/software-division-components/src/dvm/package.json +7 -0
  204. package/projects/software-division-components/src/dvm/popover/base-popover.component.ts +70 -0
  205. package/projects/software-division-components/src/dvm/popover/index.ts +1 -0
  206. package/projects/software-division-components/src/dvm/popover/package.json +5 -0
  207. package/projects/software-division-components/src/dvm/popover/popover.component.css +227 -0
  208. package/projects/software-division-components/src/dvm/popover/popover.component.html +27 -0
  209. package/projects/software-division-components/src/dvm/popover/popover.component.ts +236 -0
  210. package/projects/software-division-components/src/dvm/popover/popover.config.ts +30 -0
  211. package/projects/software-division-components/src/dvm/popover/popover.service.ts +627 -0
  212. package/projects/software-division-components/src/dvm/popover/popover.stories.ts +873 -0
  213. package/{dvm/popover/public-api.d.ts → projects/software-division-components/src/dvm/popover/public-api.ts} +4 -1
  214. package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.css +89 -0
  215. package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.html +40 -0
  216. package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.ts +74 -0
  217. package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.css +157 -0
  218. package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.html +58 -0
  219. package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.ts +106 -0
  220. package/projects/software-division-components/src/dvm/popover/services/dvm-popover-positioner.service.ts +73 -0
  221. package/projects/software-division-components/src/dvm/popover/services/popover-manager.service.ts +88 -0
  222. package/projects/software-division-components/src/dvm/popover/transformers/base-popover-data-transformer.ts +36 -0
  223. package/projects/software-division-components/src/dvm/popover/types.ts +104 -0
  224. package/{dvm/public-api.d.ts → projects/software-division-components/src/dvm/public-api.ts} +0 -1
  225. package/projects/software-division-components/src/dvm/stepper/index.ts +1 -0
  226. package/projects/software-division-components/src/dvm/stepper/package.json +5 -0
  227. package/projects/software-division-components/src/dvm/stepper/public-api.ts +5 -0
  228. package/projects/software-division-components/src/dvm/stepper/stepper.component.css +142 -0
  229. package/projects/software-division-components/src/dvm/stepper/stepper.component.html +9 -0
  230. package/projects/software-division-components/src/dvm/stepper/stepper.component.ts +102 -0
  231. package/{dvm/stepper/types.d.ts → projects/software-division-components/src/dvm/stepper/types.ts} +2 -5
  232. package/projects/software-division-components/src/dvm/ticket-info-item/index.ts +1 -0
  233. package/projects/software-division-components/src/dvm/ticket-info-item/package.json +5 -0
  234. package/{dvm/ticket-info-item/public-api.d.ts → projects/software-division-components/src/dvm/ticket-info-item/public-api.ts} +4 -1
  235. package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.html +1 -0
  236. package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.ts +8 -0
  237. package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.service.ts +8 -0
  238. package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.stories.ts +31 -0
  239. package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.css +76 -0
  240. package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.html +46 -0
  241. package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.ts +45 -0
  242. package/projects/software-division-components/src/generic/add-digital-wallet/index.ts +1 -0
  243. package/{generic/add-digital-wallet/public-api.d.ts → projects/software-division-components/src/generic/add-digital-wallet/public-api.ts} +0 -1
  244. package/projects/software-division-components/src/generic/braintree/braintree.component.css +7 -0
  245. package/projects/software-division-components/src/generic/braintree/braintree.component.ts +134 -0
  246. package/projects/software-division-components/src/generic/braintree/index.ts +1 -0
  247. package/projects/software-division-components/src/generic/braintree/package.json +5 -0
  248. package/{generic/braintree/public-api.d.ts → projects/software-division-components/src/generic/braintree/public-api.ts} +4 -1
  249. package/projects/software-division-components/src/generic/braintree/story/braintree.stories.css +3 -0
  250. package/projects/software-division-components/src/generic/braintree/story/braintree.stories.ts +27 -0
  251. package/projects/software-division-components/src/generic/braintree/types.ts +28 -0
  252. package/projects/software-division-components/src/generic/button/button.component.css +295 -0
  253. package/projects/software-division-components/src/generic/button/button.component.html +10 -0
  254. package/projects/software-division-components/src/generic/button/button.component.ts +352 -0
  255. package/projects/software-division-components/src/generic/button/index.ts +1 -0
  256. package/projects/software-division-components/src/generic/button/package.json +5 -0
  257. package/projects/software-division-components/src/generic/button/public-api.ts +5 -0
  258. package/projects/software-division-components/src/generic/button/story/button.stories.ts +384 -0
  259. package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/index.ts +10 -0
  260. package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.ts +22 -0
  261. package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.ts +62 -0
  262. package/projects/software-division-components/src/generic/carousel/carousel-item.component.ts +15 -0
  263. package/projects/software-division-components/src/generic/carousel/carousel-item.directive.ts +14 -0
  264. package/projects/software-division-components/src/generic/carousel/carousel.component.css +90 -0
  265. package/projects/software-division-components/src/generic/carousel/carousel.component.html +13 -0
  266. package/projects/software-division-components/src/generic/carousel/carousel.component.ts +44 -0
  267. package/projects/software-division-components/src/generic/carousel/index.ts +1 -0
  268. package/{generic/carousel/public-api.d.ts → projects/software-division-components/src/generic/carousel/public-api.ts} +0 -1
  269. package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/index.ts +29 -0
  270. package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.ts +23 -0
  271. package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.ts +25 -0
  272. package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.ts +58 -0
  273. package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.ts +61 -0
  274. package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.ts +36 -0
  275. package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.ts +105 -0
  276. package/projects/software-division-components/src/generic/dialog/dialog.component.css +5 -0
  277. package/projects/software-division-components/src/generic/dialog/dialog.component.html +3 -0
  278. package/projects/software-division-components/src/generic/dialog/dialog.component.ts +20 -0
  279. package/projects/software-division-components/src/generic/dialog/dialog.stories.ts +14 -0
  280. package/projects/software-division-components/src/generic/dialog/index.ts +1 -0
  281. package/{generic/dialog/libs/ui-dialog-helm/src/index.d.ts → projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/index.ts} +20 -8
  282. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.ts +20 -0
  283. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.ts +56 -0
  284. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.ts +17 -0
  285. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.ts +19 -0
  286. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.ts +19 -0
  287. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.ts +23 -0
  288. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.ts +19 -0
  289. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.ts +59 -0
  290. package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.ts +31 -0
  291. package/projects/software-division-components/src/generic/dialog/package.json +9 -0
  292. package/{generic/dialog/public-api.d.ts → projects/software-division-components/src/generic/dialog/public-api.ts} +4 -1
  293. package/projects/software-division-components/src/generic/dialog/tsconfig.json +7 -0
  294. package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.css +0 -0
  295. package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.html +1 -0
  296. package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.ts +17 -0
  297. package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.css +0 -0
  298. package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.html +3 -0
  299. package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.ts +11 -0
  300. package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.css +0 -0
  301. package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.html +8 -0
  302. package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.ts +14 -0
  303. package/projects/software-division-components/src/generic/drawer/drawer.component.html +1 -0
  304. package/projects/software-division-components/src/generic/drawer/drawer.component.ts +8 -0
  305. package/projects/software-division-components/src/generic/drawer/drawer.service.ts +8 -0
  306. package/projects/software-division-components/src/generic/drawer/drawer.stories.ts +31 -0
  307. package/projects/software-division-components/src/generic/drawer/index.ts +1 -0
  308. package/projects/software-division-components/src/generic/drawer/package.json +5 -0
  309. package/{generic/drawer/public-api.d.ts → projects/software-division-components/src/generic/drawer/public-api.ts} +4 -1
  310. package/projects/software-division-components/src/generic/icon/icon.component.css +7 -0
  311. package/projects/software-division-components/src/generic/icon/icon.component.html +3 -0
  312. package/projects/software-division-components/src/generic/icon/icon.component.ts +86 -0
  313. package/projects/software-division-components/src/generic/icon/icon.stories.ts +16 -0
  314. package/projects/software-division-components/src/generic/icon/index.ts +1 -0
  315. package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/index.ts +11 -0
  316. package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
  317. package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.ts +36 -0
  318. package/projects/software-division-components/src/generic/icon/package.json +9 -0
  319. package/projects/software-division-components/src/generic/icon/public-api.ts +5 -0
  320. package/projects/software-division-components/src/generic/icon/tsconfig.json +7 -0
  321. package/projects/software-division-components/src/generic/index.ts +1 -0
  322. package/projects/software-division-components/src/generic/package.json +7 -0
  323. package/{generic/public-api.d.ts → projects/software-division-components/src/generic/public-api.ts} +0 -1
  324. package/projects/software-division-components/src/generic/select/index.ts +1 -0
  325. package/projects/software-division-components/src/generic/select/lib/hlm-select-content.ts +29 -0
  326. package/projects/software-division-components/src/generic/select/lib/hlm-select-group.ts +17 -0
  327. package/projects/software-division-components/src/generic/select/lib/hlm-select-label.ts +26 -0
  328. package/projects/software-division-components/src/generic/select/lib/hlm-select-option.ts +37 -0
  329. package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-down.ts +24 -0
  330. package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-up.ts +23 -0
  331. package/projects/software-division-components/src/generic/select/lib/hlm-select-trigger.ts +53 -0
  332. package/projects/software-division-components/src/generic/select/lib/hlm-select-value.ts +17 -0
  333. package/projects/software-division-components/src/generic/select/lib/hlm-select.ts +15 -0
  334. package/projects/software-division-components/src/generic/select/lib/index.ts +38 -0
  335. package/{generic/select/public-api.d.ts → projects/software-division-components/src/generic/select/public-api.ts} +0 -1
  336. package/projects/software-division-components/src/generic/select/select.component.css +65 -0
  337. package/projects/software-division-components/src/generic/select/select.component.html +19 -0
  338. package/projects/software-division-components/src/generic/select/select.component.ts +25 -0
  339. package/projects/software-division-components/src/generic/select/types.ts +4 -0
  340. package/projects/software-division-components/src/private-exports.ts +1 -0
  341. package/{public-api.d.ts → projects/software-division-components/src/public-api.ts} +3 -1
  342. package/projects/software-division-components/src/shared/apply-theme-variables/apply-theme-variables.ts +35 -0
  343. package/{shared/apply-theme-variables/index.d.ts → projects/software-division-components/src/shared/apply-theme-variables/index.ts} +0 -1
  344. package/projects/software-division-components/src/shared/format-value.pipe.ts +23 -0
  345. package/projects/software-division-components/src/shared/index.ts +1 -0
  346. package/projects/software-division-components/src/shared/lib-provider/config-token.ts +4 -0
  347. package/projects/software-division-components/src/shared/lib-provider/index.ts +1 -0
  348. package/projects/software-division-components/src/shared/lib-provider/provide-sdc.ts +24 -0
  349. package/{shared/lib-provider/public-api.d.ts → projects/software-division-components/src/shared/lib-provider/public-api.ts} +0 -1
  350. package/projects/software-division-components/src/shared/public-api.ts +6 -0
  351. package/{shared/screen-observer/index.d.ts → projects/software-division-components/src/shared/screen-observer/index.ts} +0 -1
  352. package/projects/software-division-components/src/shared/screen-observer/provide-screen-observer.ts +17 -0
  353. package/projects/software-division-components/src/shared/screen-observer/screen-observer.ts +56 -0
  354. package/projects/software-division-components/src/shared/screen-observer/sizable-base.ts +70 -0
  355. package/projects/software-division-components/src/shared/theme-provider/generic-theme.ts +1 -0
  356. package/projects/software-division-components/src/shared/theme-provider/index.ts +1 -0
  357. package/projects/software-division-components/src/shared/theme-provider/public-api.ts +1 -0
  358. package/projects/software-division-components/src/shared/theme-provider/theme-provider.directive.ts +17 -0
  359. package/projects/software-division-components/src/shared/themes/sdc.css +153 -0
  360. package/{shared/types.d.ts → projects/software-division-components/src/shared/types.ts} +8 -12
  361. package/projects/software-division-components/src/types/sizes.type.ts +3 -0
  362. package/projects/software-division-components/src/utils/index.ts +1 -0
  363. package/projects/software-division-components/src/utils/public-api.ts +1 -0
  364. package/projects/software-division-components/src/utils/validate-styles-for-component.ts +39 -0
  365. package/projects/software-division-components/styles.css +40 -0
  366. package/projects/software-division-components/tsconfig.json +30 -0
  367. package/projects/software-division-components/tsconfig.spec.json +15 -0
  368. package/scripts/generate-versions.js +60 -0
  369. package/scripts/watch-dist.js +222 -0
  370. package/tsconfig.json +46 -0
  371. package/3ddv-software-division-components.d.ts.map +0 -1
  372. package/backoffice/checkbox/checkbox.component.d.ts +0 -103
  373. package/backoffice/checkbox/checkbox.component.d.ts.map +0 -1
  374. package/backoffice/checkbox/index.d.ts +0 -2
  375. package/backoffice/checkbox/index.d.ts.map +0 -1
  376. package/backoffice/checkbox/public-api.d.ts +0 -2
  377. package/backoffice/checkbox/public-api.d.ts.map +0 -1
  378. package/backoffice/datepicker/datepicker.component.d.ts +0 -150
  379. package/backoffice/datepicker/datepicker.component.d.ts.map +0 -1
  380. package/backoffice/datepicker/index.d.ts +0 -2
  381. package/backoffice/datepicker/index.d.ts.map +0 -1
  382. package/backoffice/datepicker/public-api.d.ts.map +0 -1
  383. package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts +0 -14
  384. package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts.map +0 -1
  385. package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts +0 -38
  386. package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts.map +0 -1
  387. package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts +0 -34
  388. package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts.map +0 -1
  389. package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts +0 -15
  390. package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts.map +0 -1
  391. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts +0 -53
  392. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts.map +0 -1
  393. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts +0 -24
  394. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts.map +0 -1
  395. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts +0 -53
  396. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts.map +0 -1
  397. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts +0 -24
  398. package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts.map +0 -1
  399. package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts +0 -10
  400. package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts.map +0 -1
  401. package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
  402. package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
  403. package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
  404. package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
  405. package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts +0 -14
  406. package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts.map +0 -1
  407. package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts +0 -9
  408. package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts.map +0 -1
  409. package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts +0 -14
  410. package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts.map +0 -1
  411. package/backoffice/index.d.ts +0 -2
  412. package/backoffice/index.d.ts.map +0 -1
  413. package/backoffice/input/index.d.ts +0 -2
  414. package/backoffice/input/index.d.ts.map +0 -1
  415. package/backoffice/input/input.component.d.ts +0 -200
  416. package/backoffice/input/input.component.d.ts.map +0 -1
  417. package/backoffice/input/public-api.d.ts +0 -2
  418. package/backoffice/input/public-api.d.ts.map +0 -1
  419. package/backoffice/public-api.d.ts.map +0 -1
  420. package/backoffice/radio/index.d.ts +0 -2
  421. package/backoffice/radio/index.d.ts.map +0 -1
  422. package/backoffice/radio/public-api.d.ts +0 -2
  423. package/backoffice/radio/public-api.d.ts.map +0 -1
  424. package/backoffice/radio/radio.component.d.ts +0 -73
  425. package/backoffice/radio/radio.component.d.ts.map +0 -1
  426. package/backoffice/table/_components/pagination/pagination.component.d.ts +0 -18
  427. package/backoffice/table/_components/pagination/pagination.component.d.ts.map +0 -1
  428. package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts +0 -11
  429. package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts.map +0 -1
  430. package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts +0 -8
  431. package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts.map +0 -1
  432. package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts +0 -16
  433. package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts.map +0 -1
  434. package/backoffice/table/index.d.ts +0 -2
  435. package/backoffice/table/index.d.ts.map +0 -1
  436. package/backoffice/table/public-api.d.ts +0 -3
  437. package/backoffice/table/public-api.d.ts.map +0 -1
  438. package/backoffice/table/table.component.d.ts +0 -111
  439. package/backoffice/table/table.component.d.ts.map +0 -1
  440. package/backoffice/table/ui/ui-icon-helm/src/index.d.ts +0 -10
  441. package/backoffice/table/ui/ui-icon-helm/src/index.d.ts.map +0 -1
  442. package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
  443. package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
  444. package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
  445. package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
  446. package/backoffice/table/ui/ui-table-helm/src/index.d.ts +0 -11
  447. package/backoffice/table/ui/ui-table-helm/src/index.d.ts.map +0 -1
  448. package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts +0 -112
  449. package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts.map +0 -1
  450. package/dvm/cart/cart.component.d.ts +0 -31
  451. package/dvm/cart/cart.component.d.ts.map +0 -1
  452. package/dvm/cart/cart.types.d.ts +0 -8
  453. package/dvm/cart/cart.types.d.ts.map +0 -1
  454. package/dvm/cart/index.d.ts +0 -2
  455. package/dvm/cart/index.d.ts.map +0 -1
  456. package/dvm/cart/public-api.d.ts.map +0 -1
  457. package/dvm/cart/seat-list.component.d.ts +0 -38
  458. package/dvm/cart/seat-list.component.d.ts.map +0 -1
  459. package/dvm/cart-item/cart-item.component.d.ts +0 -6
  460. package/dvm/cart-item/cart-item.component.d.ts.map +0 -1
  461. package/dvm/cart-item/cart-item.service.d.ts +0 -7
  462. package/dvm/cart-item/cart-item.service.d.ts.map +0 -1
  463. package/dvm/cart-item/index.d.ts +0 -2
  464. package/dvm/cart-item/index.d.ts.map +0 -1
  465. package/dvm/cart-item/public-api.d.ts.map +0 -1
  466. package/dvm/index.d.ts +0 -2
  467. package/dvm/index.d.ts.map +0 -1
  468. package/dvm/legend/index.d.ts +0 -2
  469. package/dvm/legend/index.d.ts.map +0 -1
  470. package/dvm/legend/legend.component.d.ts +0 -17
  471. package/dvm/legend/legend.component.d.ts.map +0 -1
  472. package/dvm/legend/public-api.d.ts.map +0 -1
  473. package/dvm/legend/types.d.ts.map +0 -1
  474. package/dvm/legend/ui/legend-elements/index.d.ts.map +0 -1
  475. package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts +0 -16
  476. package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts.map +0 -1
  477. package/dvm/loader/index.d.ts +0 -2
  478. package/dvm/loader/index.d.ts.map +0 -1
  479. package/dvm/loader/loader.component.d.ts +0 -6
  480. package/dvm/loader/loader.component.d.ts.map +0 -1
  481. package/dvm/loader/loader.service.d.ts +0 -7
  482. package/dvm/loader/loader.service.d.ts.map +0 -1
  483. package/dvm/loader/public-api.d.ts.map +0 -1
  484. package/dvm/map-loader/index.d.ts +0 -2
  485. package/dvm/map-loader/index.d.ts.map +0 -1
  486. package/dvm/map-loader/map-loader.component.d.ts +0 -56
  487. package/dvm/map-loader/map-loader.component.d.ts.map +0 -1
  488. package/dvm/map-loader/public-api.d.ts +0 -2
  489. package/dvm/map-loader/public-api.d.ts.map +0 -1
  490. package/dvm/neighbors/index.d.ts +0 -2
  491. package/dvm/neighbors/index.d.ts.map +0 -1
  492. package/dvm/neighbors/neighbors.component.d.ts +0 -41
  493. package/dvm/neighbors/neighbors.component.d.ts.map +0 -1
  494. package/dvm/neighbors/public-api.d.ts +0 -3
  495. package/dvm/neighbors/public-api.d.ts.map +0 -1
  496. package/dvm/neighbors/types.d.ts.map +0 -1
  497. package/dvm/popover/base-popover.component.d.ts +0 -28
  498. package/dvm/popover/base-popover.component.d.ts.map +0 -1
  499. package/dvm/popover/index.d.ts +0 -2
  500. package/dvm/popover/index.d.ts.map +0 -1
  501. package/dvm/popover/popover.component.d.ts +0 -69
  502. package/dvm/popover/popover.component.d.ts.map +0 -1
  503. package/dvm/popover/popover.config.d.ts +0 -25
  504. package/dvm/popover/popover.config.d.ts.map +0 -1
  505. package/dvm/popover/popover.service.d.ts +0 -140
  506. package/dvm/popover/popover.service.d.ts.map +0 -1
  507. package/dvm/popover/public-api.d.ts.map +0 -1
  508. package/dvm/popover/seat-popover/seat-popover.component.d.ts +0 -21
  509. package/dvm/popover/seat-popover/seat-popover.component.d.ts.map +0 -1
  510. package/dvm/popover/section-popover/section-popover.component.d.ts +0 -32
  511. package/dvm/popover/section-popover/section-popover.component.d.ts.map +0 -1
  512. package/dvm/popover/services/dvm-popover-positioner.service.d.ts +0 -30
  513. package/dvm/popover/services/dvm-popover-positioner.service.d.ts.map +0 -1
  514. package/dvm/popover/services/popover-manager.service.d.ts +0 -29
  515. package/dvm/popover/services/popover-manager.service.d.ts.map +0 -1
  516. package/dvm/popover/transformers/base-popover-data-transformer.d.ts +0 -29
  517. package/dvm/popover/transformers/base-popover-data-transformer.d.ts.map +0 -1
  518. package/dvm/popover/types.d.ts +0 -79
  519. package/dvm/popover/types.d.ts.map +0 -1
  520. package/dvm/public-api.d.ts.map +0 -1
  521. package/dvm/stepper/index.d.ts +0 -2
  522. package/dvm/stepper/index.d.ts.map +0 -1
  523. package/dvm/stepper/public-api.d.ts +0 -2
  524. package/dvm/stepper/public-api.d.ts.map +0 -1
  525. package/dvm/stepper/stepper.component.d.ts +0 -27
  526. package/dvm/stepper/stepper.component.d.ts.map +0 -1
  527. package/dvm/stepper/types.d.ts.map +0 -1
  528. package/dvm/ticket-info-item/index.d.ts +0 -2
  529. package/dvm/ticket-info-item/index.d.ts.map +0 -1
  530. package/dvm/ticket-info-item/public-api.d.ts.map +0 -1
  531. package/dvm/ticket-info-item/ticket-info-item.component.d.ts +0 -6
  532. package/dvm/ticket-info-item/ticket-info-item.component.d.ts.map +0 -1
  533. package/dvm/ticket-info-item/ticket-info-item.service.d.ts +0 -7
  534. package/dvm/ticket-info-item/ticket-info-item.service.d.ts.map +0 -1
  535. package/fesm2022/3ddv-software-division-components.mjs +0 -5964
  536. package/fesm2022/3ddv-software-division-components.mjs.map +0 -1
  537. package/generic/add-digital-wallet/add-digital-wallet.component.d.ts +0 -21
  538. package/generic/add-digital-wallet/add-digital-wallet.component.d.ts.map +0 -1
  539. package/generic/add-digital-wallet/index.d.ts +0 -2
  540. package/generic/add-digital-wallet/index.d.ts.map +0 -1
  541. package/generic/add-digital-wallet/public-api.d.ts.map +0 -1
  542. package/generic/braintree/braintree.component.d.ts +0 -33
  543. package/generic/braintree/braintree.component.d.ts.map +0 -1
  544. package/generic/braintree/index.d.ts +0 -2
  545. package/generic/braintree/index.d.ts.map +0 -1
  546. package/generic/braintree/public-api.d.ts.map +0 -1
  547. package/generic/braintree/types.d.ts +0 -27
  548. package/generic/braintree/types.d.ts.map +0 -1
  549. package/generic/button/button.component.d.ts +0 -149
  550. package/generic/button/button.component.d.ts.map +0 -1
  551. package/generic/button/index.d.ts +0 -2
  552. package/generic/button/index.d.ts.map +0 -1
  553. package/generic/button/public-api.d.ts +0 -2
  554. package/generic/button/public-api.d.ts.map +0 -1
  555. package/generic/button/ui/ui-button-helm/src/index.d.ts +0 -10
  556. package/generic/button/ui/ui-button-helm/src/index.d.ts.map +0 -1
  557. package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts +0 -20
  558. package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts.map +0 -1
  559. package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts +0 -9
  560. package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts.map +0 -1
  561. package/generic/carousel/carousel-item.component.d.ts +0 -8
  562. package/generic/carousel/carousel-item.component.d.ts.map +0 -1
  563. package/generic/carousel/carousel.component.d.ts +0 -20
  564. package/generic/carousel/carousel.component.d.ts.map +0 -1
  565. package/generic/carousel/index.d.ts +0 -2
  566. package/generic/carousel/index.d.ts.map +0 -1
  567. package/generic/carousel/public-api.d.ts.map +0 -1
  568. package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts +0 -26
  569. package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts.map +0 -1
  570. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts +0 -10
  571. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts.map +0 -1
  572. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts +0 -10
  573. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts.map +0 -1
  574. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts +0 -15
  575. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts.map +0 -1
  576. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts +0 -15
  577. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts.map +0 -1
  578. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts +0 -16
  579. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts.map +0 -1
  580. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts +0 -28
  581. package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts.map +0 -1
  582. package/generic/dialog/dialog.component.d.ts +0 -11
  583. package/generic/dialog/dialog.component.d.ts.map +0 -1
  584. package/generic/dialog/index.d.ts +0 -2
  585. package/generic/dialog/index.d.ts.map +0 -1
  586. package/generic/dialog/libs/ui-dialog-helm/src/index.d.ts.map +0 -1
  587. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts +0 -9
  588. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts.map +0 -1
  589. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts +0 -15
  590. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts.map +0 -1
  591. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts +0 -10
  592. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts.map +0 -1
  593. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts +0 -9
  594. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts.map +0 -1
  595. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts +0 -9
  596. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts.map +0 -1
  597. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts +0 -12
  598. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts.map +0 -1
  599. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts +0 -10
  600. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts.map +0 -1
  601. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts +0 -7
  602. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts.map +0 -1
  603. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts +0 -21
  604. package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts.map +0 -1
  605. package/generic/dialog/public-api.d.ts.map +0 -1
  606. package/generic/drawer/drawer.component.d.ts +0 -6
  607. package/generic/drawer/drawer.component.d.ts.map +0 -1
  608. package/generic/drawer/drawer.service.d.ts +0 -7
  609. package/generic/drawer/drawer.service.d.ts.map +0 -1
  610. package/generic/drawer/index.d.ts +0 -2
  611. package/generic/drawer/index.d.ts.map +0 -1
  612. package/generic/drawer/public-api.d.ts.map +0 -1
  613. package/generic/icon/icon.component.d.ts +0 -21
  614. package/generic/icon/icon.component.d.ts.map +0 -1
  615. package/generic/icon/index.d.ts +0 -2
  616. package/generic/icon/index.d.ts.map +0 -1
  617. package/generic/icon/lib/ui-icon-helm/src/index.d.ts +0 -10
  618. package/generic/icon/lib/ui-icon-helm/src/index.d.ts.map +0 -1
  619. package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
  620. package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
  621. package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
  622. package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
  623. package/generic/icon/public-api.d.ts +0 -2
  624. package/generic/icon/public-api.d.ts.map +0 -1
  625. package/generic/index.d.ts +0 -2
  626. package/generic/index.d.ts.map +0 -1
  627. package/generic/public-api.d.ts.map +0 -1
  628. package/generic/select/index.d.ts +0 -2
  629. package/generic/select/index.d.ts.map +0 -1
  630. package/generic/select/lib/hlm-select-content.d.ts +0 -13
  631. package/generic/select/lib/hlm-select-content.d.ts.map +0 -1
  632. package/generic/select/lib/hlm-select-group.d.ts +0 -10
  633. package/generic/select/lib/hlm-select-group.d.ts.map +0 -1
  634. package/generic/select/lib/hlm-select-label.d.ts +0 -12
  635. package/generic/select/lib/hlm-select-label.d.ts.map +0 -1
  636. package/generic/select/lib/hlm-select-option.d.ts +0 -12
  637. package/generic/select/lib/hlm-select-option.d.ts.map +0 -1
  638. package/generic/select/lib/hlm-select-scroll-down.d.ts +0 -9
  639. package/generic/select/lib/hlm-select-scroll-down.d.ts.map +0 -1
  640. package/generic/select/lib/hlm-select-scroll-up.d.ts +0 -9
  641. package/generic/select/lib/hlm-select-scroll-up.d.ts.map +0 -1
  642. package/generic/select/lib/hlm-select-trigger.d.ts +0 -17
  643. package/generic/select/lib/hlm-select-trigger.d.ts.map +0 -1
  644. package/generic/select/lib/hlm-select-value.d.ts +0 -9
  645. package/generic/select/lib/hlm-select-value.d.ts.map +0 -1
  646. package/generic/select/lib/hlm-select.d.ts +0 -9
  647. package/generic/select/lib/hlm-select.d.ts.map +0 -1
  648. package/generic/select/lib/index.d.ts +0 -35
  649. package/generic/select/lib/index.d.ts.map +0 -1
  650. package/generic/select/public-api.d.ts.map +0 -1
  651. package/generic/select/select.component.d.ts +0 -14
  652. package/generic/select/select.component.d.ts.map +0 -1
  653. package/generic/select/types.d.ts +0 -5
  654. package/generic/select/types.d.ts.map +0 -1
  655. package/index.d.ts +0 -6
  656. package/public-api.d.ts.map +0 -1
  657. package/shared/apply-theme-variables/apply-theme-variables.d.ts +0 -4
  658. package/shared/apply-theme-variables/apply-theme-variables.d.ts.map +0 -1
  659. package/shared/apply-theme-variables/index.d.ts.map +0 -1
  660. package/shared/lib-provider/config-token.d.ts +0 -4
  661. package/shared/lib-provider/config-token.d.ts.map +0 -1
  662. package/shared/lib-provider/index.d.ts +0 -2
  663. package/shared/lib-provider/index.d.ts.map +0 -1
  664. package/shared/lib-provider/provide-sdc.d.ts +0 -10
  665. package/shared/lib-provider/provide-sdc.d.ts.map +0 -1
  666. package/shared/lib-provider/public-api.d.ts.map +0 -1
  667. package/shared/screen-observer/index.d.ts.map +0 -1
  668. package/shared/screen-observer/provide-screen-observer.d.ts +0 -5
  669. package/shared/screen-observer/provide-screen-observer.d.ts.map +0 -1
  670. package/shared/screen-observer/screen-observer.d.ts +0 -15
  671. package/shared/screen-observer/screen-observer.d.ts.map +0 -1
  672. package/shared/types.d.ts.map +0 -1
  673. package/styles.css +0 -2
  674. package/types/sizes.type.d.ts +0 -3
  675. package/types/sizes.type.d.ts.map +0 -1
  676. /package/{tailwind.config.js → projects/software-division-components/tailwind.config.js} +0 -0
@@ -0,0 +1,352 @@
1
+ import { Component, computed, effect, ElementRef, input, output, signal } from '@angular/core';
2
+ import { Subject, Subscription, takeUntil } from 'rxjs';
3
+ import { Size, SIZES, ThemeClass } from '../../shared/types';
4
+ import { HlmButtonModule } from './ui/ui-button-helm/src';
5
+
6
+ const BUTTON_VARIANTS = {
7
+ primary: 'primary',
8
+ 'primary-light': 'primary-light',
9
+ secondary: 'secondary',
10
+ accent: 'accent',
11
+ 'accent-light': 'accent-light',
12
+ alternative: 'alternative',
13
+ 'alternative-light': 'alternative-light',
14
+ warning: 'warning',
15
+ 'warning-light': 'warning-light',
16
+ destructive: 'destructive',
17
+ 'destructive-light': 'destructive-light',
18
+ success: 'success',
19
+ 'success-muted': 'success-muted',
20
+ outline: 'outline',
21
+ 'outline-white': 'outline-white',
22
+ 'outline-alternative': 'outline-alternative',
23
+ link: 'link',
24
+ } as const;
25
+
26
+ type ButtonVariant = (typeof BUTTON_VARIANTS)[keyof typeof BUTTON_VARIANTS];
27
+
28
+ type ButtonType = 'button' | 'submit' | 'reset';
29
+
30
+ export type ButtonStyleClasses = ReturnType<(typeof ButtonComponent.prototype)['styleClass']>;
31
+
32
+ /**
33
+ * A customizable button component built on Spartan UI Button.
34
+ *
35
+ * This component supports various configurations and exposes all Spartan UI button functionality.
36
+ * All HTML button attributes and events are automatically forwarded to the inner button element.
37
+ *
38
+ * @since 1.0.0-alpha.1
39
+ * @updated 1.0.0-alpha.3
40
+ */
41
+ @Component({
42
+ selector: 'sdc-button',
43
+ styleUrls: ['./button.component.css'],
44
+ templateUrl: './button.component.html',
45
+ imports: [HlmButtonModule],
46
+ })
47
+ export class ButtonComponent {
48
+ private readonly allowedVariants = Object.values(BUTTON_VARIANTS).map(v => `variant-${v}` as const);
49
+ private readonly allowedSizes = Object.values(SIZES).map(v => `size-${v}` as const);
50
+ private readonly allowedCircleSizes = [
51
+ 'size-circle-sm',
52
+ 'size-circle-md',
53
+ 'size-circle-lg',
54
+ 'size-circle-xl',
55
+ ] as const;
56
+ private readonly allowedRadius = [
57
+ 'radius-default',
58
+ 'radius-sm',
59
+ 'radius-md',
60
+ 'radius-lg',
61
+ 'radius-xl',
62
+ 'radius-2xl',
63
+ 'radius-full',
64
+ ] as const;
65
+ private readonly allowedBorder = ['border-0', 'border-default', 'border-2', 'border-4', 'border-8'] as const;
66
+
67
+ /**
68
+ * The current theme applied to the component.
69
+ */
70
+ public readonly theme = input<ThemeClass>('theme-sdc');
71
+
72
+ /**
73
+ * Predefined styles to apply to the component.
74
+ * Can be a single class or multiple classes from different categories.
75
+ */
76
+ public readonly styleClass = input<
77
+ (
78
+ | (typeof this.allowedVariants)[number]
79
+ | (typeof this.allowedSizes)[number]
80
+ | (typeof this.allowedCircleSizes)[number]
81
+ | (typeof this.allowedRadius)[number]
82
+ | (typeof this.allowedBorder)[number]
83
+ )[]
84
+ >([]);
85
+
86
+ // Computed signal that validates and filters the styleClass input
87
+ private readonly _validatedStyleClass = computed(() => {
88
+ const value = this.styleClass();
89
+
90
+ if (!Array.isArray(value)) {
91
+ console.warn('ButtonComponent: styleClass must be an array, defaulting to empty array');
92
+ return [];
93
+ }
94
+
95
+ const validValues = value.filter(
96
+ style =>
97
+ this.allowedVariants.includes(style as any) ||
98
+ this.allowedSizes.includes(style as any) ||
99
+ this.allowedCircleSizes.includes(style as any) ||
100
+ this.allowedRadius.includes(style as any) ||
101
+ this.allowedBorder.includes(style as any)
102
+ );
103
+
104
+ const invalidValues = value.filter(
105
+ style =>
106
+ !this.allowedVariants.includes(style as any) &&
107
+ !this.allowedSizes.includes(style as any) &&
108
+ !this.allowedCircleSizes.includes(style as any) &&
109
+ !this.allowedRadius.includes(style as any) &&
110
+ !this.allowedBorder.includes(style as any)
111
+ );
112
+
113
+ if (invalidValues.length > 0) {
114
+ throw new Error(
115
+ `ButtonComponent: Invalid styleClass values ignored: ${invalidValues.join(', ')}. Allowed values: ${[
116
+ ...this.allowedVariants,
117
+ ...this.allowedSizes,
118
+ ...this.allowedCircleSizes,
119
+ ...this.allowedRadius,
120
+ ...this.allowedBorder,
121
+ ].join(', ')}`
122
+ );
123
+ }
124
+
125
+ return validValues;
126
+ });
127
+
128
+ /**
129
+ * Additional classes
130
+ */
131
+ public readonly className = input<string>('');
132
+
133
+ /**
134
+ * Button component style variant
135
+ */
136
+ public readonly variant = input<ButtonVariant>('primary');
137
+
138
+ /**
139
+ * Button component size variant
140
+ */
141
+ public readonly size = input<Size>('md');
142
+
143
+ /**
144
+ * Native button type attribute
145
+ */
146
+ public readonly type = input<ButtonType>('button');
147
+
148
+ /**
149
+ * Whether the component is disabled.
150
+ */
151
+ public readonly disabled = input<boolean>(false);
152
+
153
+ /**
154
+ * Whether to enable the ripple effect on the component.
155
+ * Default value is false.
156
+ */
157
+ public readonly ripple = input<boolean>(false);
158
+
159
+ /**
160
+ * Event emitted when the component is clicked.
161
+ */
162
+ public readonly onClick = output<MouseEvent>();
163
+
164
+ /**
165
+ * Event emitted when the component receives focus.
166
+ */
167
+ public readonly onFocus = output<FocusEvent>();
168
+
169
+ /**
170
+ * Event emitted when the component loses focus.
171
+ */
172
+ public readonly onBlur = output<FocusEvent>();
173
+
174
+ protected readonly _sizeClass = computed(() => {
175
+ const size = SIZES[this.size()];
176
+
177
+ if (!size) {
178
+ throw new Error(`size must be one of these: ${Object.values(SIZES).join(', ')}}`);
179
+ }
180
+
181
+ return `size-${size}`;
182
+ });
183
+
184
+ protected readonly _variantClass = computed(() => {
185
+ const variant = BUTTON_VARIANTS[this.variant()];
186
+
187
+ if (!variant) {
188
+ throw new Error(`variant must be one of these: ${Object.values(BUTTON_VARIANTS).join(', ')}}`);
189
+ }
190
+
191
+ return `variant-${variant}`;
192
+ });
193
+
194
+ /**
195
+ * Computed class string that combines theme and user classes.
196
+ */
197
+ protected readonly computedClass = computed(() => {
198
+ const themeClass = this.theme();
199
+ const styleClass = this._validatedStyleClass();
200
+ const sizeClass = this._sizeClass();
201
+ const variantClass = this._variantClass();
202
+ const className = this.className();
203
+ return Array.from(new Set(['sdc-button', themeClass, sizeClass, variantClass, ...styleClass, className]))
204
+ .filter(Boolean)
205
+ .join(' ');
206
+ });
207
+
208
+ /**
209
+ * Debounce time in milliseconds. When null, no debounce is applied.
210
+ * Default value is null (no debounce).
211
+ */
212
+ public readonly debounce = input<number | null>(null);
213
+
214
+ /**
215
+ * Event emitted to notify the debounce state.
216
+ * Returns true while the component is debounced, false when not.
217
+ */
218
+ public readonly isDebounced = output<boolean>();
219
+
220
+ /**
221
+ * Signal to track the current debounce state of the component.
222
+ */
223
+ protected readonly debounceState = signal<boolean>(false);
224
+
225
+ /**
226
+ * Subject for handling click events with debounce.
227
+ */
228
+ private readonly clickSubject = new Subject<MouseEvent>();
229
+
230
+ /**
231
+ * Subject for cleanup.
232
+ */
233
+ private readonly destroy$ = new Subject<void>();
234
+
235
+ /**
236
+ * Current subscription for debounce.
237
+ */
238
+ private debounceSubscription: Subscription | null = null;
239
+
240
+ /**
241
+ * Current debounce timeout.
242
+ */
243
+ private debounceTimeout: ReturnType<typeof setTimeout> | null = null;
244
+
245
+ constructor(private elementRef: ElementRef) {
246
+ // Set up reactive debounce handling within injection context
247
+ effect(() => {
248
+ const debounceTime = this.debounce();
249
+ this.setupDebounce(debounceTime);
250
+ });
251
+ }
252
+
253
+ ngOnDestroy(): void {
254
+ this.destroy$.next();
255
+ this.destroy$.complete();
256
+ this.clickSubject.complete();
257
+ if (this.debounceSubscription) {
258
+ this.debounceSubscription.unsubscribe();
259
+ }
260
+ if (this.debounceTimeout) {
261
+ clearTimeout(this.debounceTimeout);
262
+ }
263
+ }
264
+
265
+ /**
266
+ * Sets up the debounce functionality for click events.
267
+ */
268
+ private setupDebounce(debounceTime: number | null): void {
269
+ // Clear existing subscription
270
+ if (this.debounceSubscription) {
271
+ this.debounceSubscription.unsubscribe();
272
+ }
273
+
274
+ // Clear existing timeout
275
+ if (this.debounceTimeout) {
276
+ clearTimeout(this.debounceTimeout);
277
+ this.debounceTimeout = null;
278
+ }
279
+
280
+ // Set up new subscription
281
+ this.debounceSubscription = this.clickSubject.pipe(takeUntil(this.destroy$)).subscribe((event: MouseEvent) => {
282
+ // Clear existing timeout
283
+ if (this.debounceTimeout) {
284
+ clearTimeout(this.debounceTimeout);
285
+ }
286
+
287
+ // Set new timeout
288
+ this.debounceTimeout = setTimeout(() => {
289
+ this.debounceState.set(false);
290
+ this.isDebounced.emit(false);
291
+ this.onClick.emit(event);
292
+ this.debounceTimeout = null;
293
+ }, debounceTime ?? 0);
294
+ });
295
+ }
296
+
297
+ /**
298
+ * Handles click events with debounce functionality.
299
+ */
300
+ protected handleClick(event: MouseEvent): void {
301
+ const debounceTime = this.debounce();
302
+
303
+ if (debounceTime !== null && debounceTime > 0) {
304
+ // Apply debounce
305
+ this.debounceState.set(true);
306
+ this.isDebounced.emit(true);
307
+ this.clickSubject.next(event);
308
+ } else {
309
+ // No debounce, emit immediately
310
+ this.onClick.emit(event);
311
+ }
312
+ }
313
+
314
+ /**
315
+ * Handles focus events and emits the onFocus output.
316
+ */
317
+ protected handleFocus(event: FocusEvent): void {
318
+ this.onFocus.emit(event);
319
+ }
320
+
321
+ /**
322
+ * Handles blur events and emits the onBlur output.
323
+ */
324
+ protected handleBlur(event: FocusEvent): void {
325
+ this.onBlur.emit(event);
326
+ }
327
+
328
+ /**
329
+ * Creates a ripple effect at the specified position.
330
+ */
331
+ protected createRipple(event: MouseEvent): void {
332
+ if (!this.ripple()) return;
333
+
334
+ const button = event.currentTarget as HTMLElement;
335
+ const rect = button.getBoundingClientRect();
336
+ const size = Math.max(rect.width, rect.height);
337
+ const x = event.clientX - rect.left - size / 2;
338
+ const y = event.clientY - rect.top - size / 2;
339
+
340
+ const ripple = document.createElement('span');
341
+ ripple.style.width = ripple.style.height = size + 'px';
342
+ ripple.style.left = x + 'px';
343
+ ripple.style.top = y + 'px';
344
+ ripple.classList.add('sdc-ripple');
345
+
346
+ button.appendChild(ripple);
347
+
348
+ setTimeout(() => {
349
+ ripple.remove();
350
+ }, 600);
351
+ }
352
+ }
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,5 @@
1
+ {
2
+ "ngPackage": {
3
+ "entryFile": "public_api.ts"
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Public API Surface of software-division-components
3
+ */
4
+
5
+ export * from './button.component';