@gnggln/ng-ui-system 1.0.0-alpha.2 → 1.0.0-alpha.21

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 (721) hide show
  1. package/accordion/entry-accordion.d.ts +4 -0
  2. package/accordion/index.d.ts +5 -0
  3. package/accordion/lib/components/accordion/accordion.component.d.ts +125 -0
  4. package/accordion/lib/components/accordion/accordion.types.d.ts +64 -0
  5. package/accordion/lib/components/accordion/index.d.ts +2 -0
  6. package/accordion/lib/core/types/index.d.ts +133 -0
  7. package/base-layout/entry-base-layout.d.ts +4 -0
  8. package/base-layout/index.d.ts +5 -0
  9. package/base-layout/lib/components/base-layout/base-layout.component.d.ts +108 -0
  10. package/base-layout/lib/components/base-layout/base-layout.types.d.ts +40 -0
  11. package/base-layout/lib/components/base-layout/index.d.ts +13 -0
  12. package/base-layout/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  13. package/base-layout/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  14. package/base-layout/lib/components/blackbox/blackbox.service.d.ts +144 -0
  15. package/base-layout/lib/components/blackbox/blackbox.types.d.ts +238 -0
  16. package/base-layout/lib/components/button/button-area.component.d.ts +93 -0
  17. package/base-layout/lib/components/button/button.component.d.ts +61 -0
  18. package/base-layout/lib/components/button/button.types.d.ts +75 -0
  19. package/base-layout/lib/components/page-header/breadcrumb.service.d.ts +96 -0
  20. package/base-layout/lib/components/page-header/page-header.component.d.ts +59 -0
  21. package/base-layout/lib/components/page-header/page-header.types.d.ts +96 -0
  22. package/base-layout/lib/core/types/index.d.ts +133 -0
  23. package/blackbox/entry-blackbox.d.ts +4 -0
  24. package/blackbox/index.d.ts +5 -0
  25. package/blackbox/lib/components/blackbox/blackbox-debugger.component.d.ts +80 -0
  26. package/blackbox/lib/components/blackbox/blackbox-debugger.service.d.ts +34 -0
  27. package/blackbox/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  28. package/blackbox/lib/components/blackbox/blackbox-json-viewer.component.d.ts +18 -0
  29. package/blackbox/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  30. package/blackbox/lib/components/blackbox/blackbox.interceptor.d.ts +38 -0
  31. package/blackbox/lib/components/blackbox/blackbox.service.d.ts +144 -0
  32. package/blackbox/lib/components/blackbox/blackbox.types.d.ts +238 -0
  33. package/blackbox/lib/components/blackbox/index.d.ts +23 -0
  34. package/blackbox/lib/components/blackbox/ui-track.directive.d.ts +20 -0
  35. package/blackbox/lib/components/button/button-area.component.d.ts +93 -0
  36. package/blackbox/lib/components/button/button.component.d.ts +61 -0
  37. package/blackbox/lib/components/button/button.types.d.ts +75 -0
  38. package/blackbox/lib/components/button/index.d.ts +15 -0
  39. package/blackbox/lib/components/modal/confirm-dialog.component.d.ts +46 -0
  40. package/blackbox/lib/components/modal/index.d.ts +4 -0
  41. package/blackbox/lib/components/modal/modal.component.d.ts +44 -0
  42. package/blackbox/lib/components/modal/modal.service.d.ts +93 -0
  43. package/blackbox/lib/components/modal/modal.types.d.ts +110 -0
  44. package/blackbox/lib/core/types/index.d.ts +133 -0
  45. package/button/entry-button.d.ts +4 -0
  46. package/button/index.d.ts +5 -0
  47. package/button/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  48. package/button/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  49. package/button/lib/components/blackbox/blackbox.service.d.ts +144 -0
  50. package/button/lib/components/blackbox/blackbox.types.d.ts +238 -0
  51. package/button/lib/components/button/button-area.component.d.ts +93 -0
  52. package/button/lib/components/button/button.component.d.ts +61 -0
  53. package/button/lib/components/button/button.types.d.ts +75 -0
  54. package/button/lib/components/button/index.d.ts +15 -0
  55. package/button/lib/core/types/index.d.ts +133 -0
  56. package/core/entry-core.d.ts +5 -0
  57. package/core/index.d.ts +5 -0
  58. package/core/lib/core/types/index.d.ts +133 -0
  59. package/core/lib/core/utils/index.d.ts +60 -0
  60. package/crud-table/entry-crud-table.d.ts +4 -0
  61. package/crud-table/index.d.ts +5 -0
  62. package/crud-table/lib/components/accordion/accordion.component.d.ts +125 -0
  63. package/crud-table/lib/components/accordion/accordion.types.d.ts +64 -0
  64. package/crud-table/lib/components/accordion/index.d.ts +2 -0
  65. package/crud-table/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  66. package/crud-table/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  67. package/crud-table/lib/components/blackbox/blackbox.service.d.ts +144 -0
  68. package/crud-table/lib/components/blackbox/blackbox.types.d.ts +238 -0
  69. package/crud-table/lib/components/button/button-area.component.d.ts +93 -0
  70. package/crud-table/lib/components/button/button.component.d.ts +61 -0
  71. package/crud-table/lib/components/button/button.types.d.ts +75 -0
  72. package/crud-table/lib/components/button/index.d.ts +15 -0
  73. package/crud-table/lib/components/crud-table/crud-table.component.d.ts +143 -0
  74. package/crud-table/lib/components/crud-table/crud-table.types.d.ts +207 -0
  75. package/crud-table/lib/components/crud-table/index.d.ts +15 -0
  76. package/crud-table/lib/components/form-builder/adapters/it-date-adapter.d.ts +32 -0
  77. package/crud-table/lib/components/form-builder/directives/currency-input.directive.d.ts +48 -0
  78. package/crud-table/lib/components/form-builder/form-builder.component.d.ts +279 -0
  79. package/crud-table/lib/components/form-builder/services/form-condition.service.d.ts +46 -0
  80. package/crud-table/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
  81. package/crud-table/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
  82. package/crud-table/lib/components/form-builder/services/form-validation.service.d.ts +63 -0
  83. package/crud-table/lib/components/form-builder/services/location.service.d.ts +83 -0
  84. package/crud-table/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
  85. package/crud-table/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +31 -0
  86. package/crud-table/lib/components/form-builder/sub-components/file-input/file-input.component.d.ts +41 -0
  87. package/crud-table/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
  88. package/crud-table/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
  89. package/crud-table/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
  90. package/crud-table/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
  91. package/crud-table/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
  92. package/crud-table/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
  93. package/crud-table/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
  94. package/crud-table/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.d.ts +145 -0
  95. package/crud-table/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.d.ts +108 -0
  96. package/crud-table/lib/components/form-builder/types/condition.types.d.ts +51 -0
  97. package/crud-table/lib/components/form-builder/types/field.types.d.ts +330 -0
  98. package/crud-table/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
  99. package/crud-table/lib/components/form-builder/types/schema.types.d.ts +304 -0
  100. package/crud-table/lib/components/form-builder/types/territoriale.types.d.ts +170 -0
  101. package/crud-table/lib/components/form-builder/types/validation.types.d.ts +179 -0
  102. package/crud-table/lib/components/modal/confirm-dialog.component.d.ts +46 -0
  103. package/crud-table/lib/components/modal/modal.service.d.ts +93 -0
  104. package/crud-table/lib/components/modal/modal.types.d.ts +110 -0
  105. package/crud-table/lib/core/logging/logger.config.d.ts +18 -0
  106. package/crud-table/lib/core/logging/logger.service.d.ts +75 -0
  107. package/crud-table/lib/core/logging/logger.types.d.ts +70 -0
  108. package/crud-table/lib/core/types/index.d.ts +133 -0
  109. package/esm2022/accordion/entry-accordion.mjs +5 -0
  110. package/esm2022/accordion/gnggln-ng-ui-system-accordion.mjs +5 -0
  111. package/esm2022/accordion/lib/components/accordion/accordion.component.mjs +398 -0
  112. package/esm2022/accordion/lib/components/accordion/accordion.types.mjs +6 -0
  113. package/esm2022/accordion/lib/components/accordion/index.mjs +2 -0
  114. package/esm2022/accordion/lib/core/types/index.mjs +6 -0
  115. package/esm2022/base-layout/entry-base-layout.mjs +5 -0
  116. package/esm2022/base-layout/gnggln-ng-ui-system-base-layout.mjs +5 -0
  117. package/esm2022/base-layout/lib/components/base-layout/base-layout.component.mjs +272 -0
  118. package/esm2022/base-layout/lib/components/base-layout/base-layout.types.mjs +6 -0
  119. package/esm2022/base-layout/lib/components/base-layout/index.mjs +14 -0
  120. package/esm2022/base-layout/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  121. package/esm2022/base-layout/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  122. package/esm2022/base-layout/lib/components/blackbox/blackbox.service.mjs +323 -0
  123. package/esm2022/base-layout/lib/components/blackbox/blackbox.types.mjs +25 -0
  124. package/esm2022/base-layout/lib/components/button/button-area.component.mjs +210 -0
  125. package/esm2022/base-layout/lib/components/button/button.component.mjs +180 -0
  126. package/esm2022/base-layout/lib/components/button/button.types.mjs +6 -0
  127. package/esm2022/base-layout/lib/components/page-header/breadcrumb.service.mjs +243 -0
  128. package/esm2022/base-layout/lib/components/page-header/page-header.component.mjs +243 -0
  129. package/esm2022/base-layout/lib/components/page-header/page-header.types.mjs +21 -0
  130. package/esm2022/base-layout/lib/core/types/index.mjs +6 -0
  131. package/esm2022/blackbox/entry-blackbox.mjs +5 -0
  132. package/esm2022/blackbox/gnggln-ng-ui-system-blackbox.mjs +5 -0
  133. package/esm2022/blackbox/lib/components/blackbox/blackbox-debugger.component.mjs +904 -0
  134. package/esm2022/blackbox/lib/components/blackbox/blackbox-debugger.service.mjs +51 -0
  135. package/esm2022/blackbox/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  136. package/esm2022/blackbox/lib/components/blackbox/blackbox-json-viewer.component.mjs +66 -0
  137. package/esm2022/blackbox/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  138. package/esm2022/blackbox/lib/components/blackbox/blackbox.interceptor.mjs +135 -0
  139. package/esm2022/blackbox/lib/components/blackbox/blackbox.service.mjs +323 -0
  140. package/esm2022/blackbox/lib/components/blackbox/blackbox.types.mjs +25 -0
  141. package/esm2022/blackbox/lib/components/blackbox/index.mjs +27 -0
  142. package/esm2022/blackbox/lib/components/blackbox/ui-track.directive.mjs +69 -0
  143. package/esm2022/blackbox/lib/components/button/button-area.component.mjs +210 -0
  144. package/esm2022/blackbox/lib/components/button/button.component.mjs +180 -0
  145. package/esm2022/blackbox/lib/components/button/button.types.mjs +6 -0
  146. package/esm2022/blackbox/lib/components/button/index.mjs +16 -0
  147. package/esm2022/blackbox/lib/components/modal/confirm-dialog.component.mjs +151 -0
  148. package/esm2022/blackbox/lib/components/modal/index.mjs +4 -0
  149. package/esm2022/blackbox/lib/components/modal/modal.component.mjs +139 -0
  150. package/esm2022/blackbox/lib/components/modal/modal.service.mjs +197 -0
  151. package/esm2022/blackbox/lib/components/modal/modal.types.mjs +6 -0
  152. package/esm2022/blackbox/lib/core/types/index.mjs +6 -0
  153. package/esm2022/button/entry-button.mjs +5 -0
  154. package/esm2022/button/gnggln-ng-ui-system-button.mjs +5 -0
  155. package/esm2022/button/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  156. package/esm2022/button/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  157. package/esm2022/button/lib/components/blackbox/blackbox.service.mjs +323 -0
  158. package/esm2022/button/lib/components/blackbox/blackbox.types.mjs +25 -0
  159. package/esm2022/button/lib/components/button/button-area.component.mjs +210 -0
  160. package/esm2022/button/lib/components/button/button.component.mjs +180 -0
  161. package/esm2022/button/lib/components/button/button.types.mjs +6 -0
  162. package/esm2022/button/lib/components/button/index.mjs +16 -0
  163. package/esm2022/button/lib/core/types/index.mjs +6 -0
  164. package/esm2022/core/entry-core.mjs +6 -0
  165. package/esm2022/core/gnggln-ng-ui-system-core.mjs +5 -0
  166. package/esm2022/core/lib/core/types/index.mjs +6 -0
  167. package/esm2022/core/lib/core/utils/index.mjs +102 -0
  168. package/esm2022/crud-table/entry-crud-table.mjs +5 -0
  169. package/esm2022/crud-table/gnggln-ng-ui-system-crud-table.mjs +5 -0
  170. package/esm2022/crud-table/lib/components/accordion/accordion.component.mjs +398 -0
  171. package/esm2022/crud-table/lib/components/accordion/accordion.types.mjs +6 -0
  172. package/esm2022/crud-table/lib/components/accordion/index.mjs +2 -0
  173. package/esm2022/crud-table/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  174. package/esm2022/crud-table/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  175. package/esm2022/crud-table/lib/components/blackbox/blackbox.service.mjs +323 -0
  176. package/esm2022/crud-table/lib/components/blackbox/blackbox.types.mjs +25 -0
  177. package/esm2022/crud-table/lib/components/button/button-area.component.mjs +210 -0
  178. package/esm2022/crud-table/lib/components/button/button.component.mjs +180 -0
  179. package/esm2022/crud-table/lib/components/button/button.types.mjs +6 -0
  180. package/esm2022/crud-table/lib/components/button/index.mjs +16 -0
  181. package/esm2022/crud-table/lib/components/crud-table/crud-table.component.mjs +789 -0
  182. package/esm2022/crud-table/lib/components/crud-table/crud-table.types.mjs +6 -0
  183. package/esm2022/crud-table/lib/components/crud-table/index.mjs +16 -0
  184. package/esm2022/crud-table/lib/components/form-builder/adapters/it-date-adapter.mjs +82 -0
  185. package/esm2022/crud-table/lib/components/form-builder/directives/currency-input.directive.mjs +184 -0
  186. package/esm2022/crud-table/lib/components/form-builder/form-builder.component.mjs +1351 -0
  187. package/esm2022/crud-table/lib/components/form-builder/services/form-condition.service.mjs +132 -0
  188. package/esm2022/crud-table/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
  189. package/esm2022/crud-table/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
  190. package/esm2022/crud-table/lib/components/form-builder/services/form-validation.service.mjs +381 -0
  191. package/esm2022/crud-table/lib/components/form-builder/services/location.service.mjs +141 -0
  192. package/esm2022/crud-table/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
  193. package/esm2022/crud-table/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +190 -0
  194. package/esm2022/crud-table/lib/components/form-builder/sub-components/file-input/file-input.component.mjs +310 -0
  195. package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
  196. package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
  197. package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
  198. package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
  199. package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
  200. package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
  201. package/esm2022/crud-table/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
  202. package/esm2022/crud-table/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.mjs +648 -0
  203. package/esm2022/crud-table/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +432 -0
  204. package/esm2022/crud-table/lib/components/form-builder/types/condition.types.mjs +6 -0
  205. package/esm2022/crud-table/lib/components/form-builder/types/field.types.mjs +6 -0
  206. package/esm2022/crud-table/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
  207. package/esm2022/crud-table/lib/components/form-builder/types/schema.types.mjs +6 -0
  208. package/esm2022/crud-table/lib/components/form-builder/types/territoriale.types.mjs +6 -0
  209. package/esm2022/crud-table/lib/components/form-builder/types/validation.types.mjs +10 -0
  210. package/esm2022/crud-table/lib/components/modal/confirm-dialog.component.mjs +151 -0
  211. package/esm2022/crud-table/lib/components/modal/modal.service.mjs +197 -0
  212. package/esm2022/crud-table/lib/components/modal/modal.types.mjs +6 -0
  213. package/esm2022/crud-table/lib/core/logging/logger.config.mjs +18 -0
  214. package/esm2022/crud-table/lib/core/logging/logger.service.mjs +295 -0
  215. package/esm2022/crud-table/lib/core/logging/logger.types.mjs +7 -0
  216. package/esm2022/crud-table/lib/core/types/index.mjs +6 -0
  217. package/esm2022/crud-table/lib/sources/location-data.opt.json +8942 -0
  218. package/esm2022/crud-table/lib/sources/nazioni.opt.json +215 -0
  219. package/esm2022/form-builder/entry-form-builder.mjs +5 -0
  220. package/esm2022/form-builder/gnggln-ng-ui-system-form-builder.mjs +5 -0
  221. package/esm2022/form-builder/lib/components/accordion/accordion.component.mjs +398 -0
  222. package/esm2022/form-builder/lib/components/accordion/accordion.types.mjs +6 -0
  223. package/esm2022/form-builder/lib/components/accordion/index.mjs +2 -0
  224. package/esm2022/form-builder/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  225. package/esm2022/form-builder/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  226. package/esm2022/form-builder/lib/components/blackbox/blackbox.service.mjs +323 -0
  227. package/esm2022/form-builder/lib/components/blackbox/blackbox.types.mjs +25 -0
  228. package/esm2022/form-builder/lib/components/button/button-area.component.mjs +210 -0
  229. package/esm2022/form-builder/lib/components/button/button.component.mjs +180 -0
  230. package/esm2022/form-builder/lib/components/button/button.types.mjs +6 -0
  231. package/esm2022/form-builder/lib/components/button/index.mjs +16 -0
  232. package/esm2022/form-builder/lib/components/form-builder/adapters/it-date-adapter.mjs +82 -0
  233. package/esm2022/form-builder/lib/components/form-builder/directives/currency-input.directive.mjs +184 -0
  234. package/esm2022/form-builder/lib/components/form-builder/form-builder.component.mjs +1351 -0
  235. package/esm2022/form-builder/lib/components/form-builder/form-wizard.component.mjs +1064 -0
  236. package/esm2022/form-builder/lib/components/form-builder/index.mjs +24 -0
  237. package/esm2022/form-builder/lib/components/form-builder/services/form-condition.service.mjs +132 -0
  238. package/esm2022/form-builder/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
  239. package/esm2022/form-builder/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
  240. package/esm2022/form-builder/lib/components/form-builder/services/form-validation.service.mjs +381 -0
  241. package/esm2022/form-builder/lib/components/form-builder/services/location.service.mjs +141 -0
  242. package/esm2022/form-builder/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
  243. package/esm2022/form-builder/lib/components/form-builder/services/wizard-sync.service.mjs +84 -0
  244. package/esm2022/form-builder/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +190 -0
  245. package/esm2022/form-builder/lib/components/form-builder/sub-components/file-input/file-input.component.mjs +310 -0
  246. package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
  247. package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
  248. package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
  249. package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
  250. package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
  251. package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
  252. package/esm2022/form-builder/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
  253. package/esm2022/form-builder/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.mjs +648 -0
  254. package/esm2022/form-builder/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +432 -0
  255. package/esm2022/form-builder/lib/components/form-builder/types/condition.types.mjs +6 -0
  256. package/esm2022/form-builder/lib/components/form-builder/types/field.types.mjs +6 -0
  257. package/esm2022/form-builder/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
  258. package/esm2022/form-builder/lib/components/form-builder/types/index.mjs +3 -0
  259. package/esm2022/form-builder/lib/components/form-builder/types/schema.types.mjs +6 -0
  260. package/esm2022/form-builder/lib/components/form-builder/types/territoriale.types.mjs +6 -0
  261. package/esm2022/form-builder/lib/components/form-builder/types/validation.types.mjs +10 -0
  262. package/esm2022/form-builder/lib/core/logging/logger.config.mjs +18 -0
  263. package/esm2022/form-builder/lib/core/logging/logger.service.mjs +295 -0
  264. package/esm2022/form-builder/lib/core/logging/logger.types.mjs +7 -0
  265. package/esm2022/form-builder/lib/core/types/index.mjs +6 -0
  266. package/esm2022/form-builder/lib/sources/location-data.opt.json +8942 -0
  267. package/esm2022/form-builder/lib/sources/nazioni.opt.json +215 -0
  268. package/esm2022/form-builder-editor/entry-form-builder-editor.mjs +5 -0
  269. package/esm2022/form-builder-editor/gnggln-ng-ui-system-form-builder-editor.mjs +5 -0
  270. package/esm2022/form-builder-editor/lib/components/accordion/accordion.component.mjs +398 -0
  271. package/esm2022/form-builder-editor/lib/components/accordion/accordion.types.mjs +6 -0
  272. package/esm2022/form-builder-editor/lib/components/accordion/index.mjs +2 -0
  273. package/esm2022/form-builder-editor/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  274. package/esm2022/form-builder-editor/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  275. package/esm2022/form-builder-editor/lib/components/blackbox/blackbox.service.mjs +323 -0
  276. package/esm2022/form-builder-editor/lib/components/blackbox/blackbox.types.mjs +25 -0
  277. package/esm2022/form-builder-editor/lib/components/button/button-area.component.mjs +210 -0
  278. package/esm2022/form-builder-editor/lib/components/button/button.component.mjs +180 -0
  279. package/esm2022/form-builder-editor/lib/components/button/button.types.mjs +6 -0
  280. package/esm2022/form-builder-editor/lib/components/button/index.mjs +16 -0
  281. package/esm2022/form-builder-editor/lib/components/form-builder/adapters/it-date-adapter.mjs +82 -0
  282. package/esm2022/form-builder-editor/lib/components/form-builder/directives/currency-input.directive.mjs +184 -0
  283. package/esm2022/form-builder-editor/lib/components/form-builder/form-builder.component.mjs +1351 -0
  284. package/esm2022/form-builder-editor/lib/components/form-builder/services/form-condition.service.mjs +132 -0
  285. package/esm2022/form-builder-editor/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
  286. package/esm2022/form-builder-editor/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
  287. package/esm2022/form-builder-editor/lib/components/form-builder/services/form-validation.service.mjs +381 -0
  288. package/esm2022/form-builder-editor/lib/components/form-builder/services/location.service.mjs +141 -0
  289. package/esm2022/form-builder-editor/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
  290. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +190 -0
  291. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/file-input/file-input.component.mjs +310 -0
  292. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
  293. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
  294. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
  295. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
  296. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
  297. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
  298. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
  299. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.mjs +648 -0
  300. package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +432 -0
  301. package/esm2022/form-builder-editor/lib/components/form-builder/types/condition.types.mjs +6 -0
  302. package/esm2022/form-builder-editor/lib/components/form-builder/types/field.types.mjs +6 -0
  303. package/esm2022/form-builder-editor/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
  304. package/esm2022/form-builder-editor/lib/components/form-builder/types/index.mjs +3 -0
  305. package/esm2022/form-builder-editor/lib/components/form-builder/types/schema.types.mjs +6 -0
  306. package/esm2022/form-builder-editor/lib/components/form-builder/types/territoriale.types.mjs +6 -0
  307. package/esm2022/form-builder-editor/lib/components/form-builder/types/validation.types.mjs +10 -0
  308. package/esm2022/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.component.mjs +730 -0
  309. package/esm2022/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.service.mjs +56 -0
  310. package/esm2022/form-builder-editor/lib/components/form-builder-editor/index.mjs +23 -0
  311. package/esm2022/form-builder-editor/lib/components/form-builder-editor/presets/editor-presets.mjs +395 -0
  312. package/esm2022/form-builder-editor/lib/components/form-builder-editor/services/editor-persistence.service.mjs +190 -0
  313. package/esm2022/form-builder-editor/lib/components/form-builder-editor/services/editor-state.service.mjs +324 -0
  314. package/esm2022/form-builder-editor/lib/components/form-builder-editor/services/field-factory.service.mjs +188 -0
  315. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/condition-editor/condition-editor.component.mjs +667 -0
  316. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/editor-toolbar/editor-toolbar.component.mjs +317 -0
  317. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/field-config-panel/field-config-panel.component.mjs +611 -0
  318. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/field-palette/field-palette.component.mjs +267 -0
  319. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/form-values-panel/form-values-panel.component.mjs +276 -0
  320. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/options-editor/options-editor.component.mjs +323 -0
  321. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/preview-container/preview-container.component.mjs +238 -0
  322. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/section-editor/section-editor.component.mjs +473 -0
  323. package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/validation-editor/validation-editor.component.mjs +473 -0
  324. package/esm2022/form-builder-editor/lib/components/form-builder-editor/types/editor.types.mjs +6 -0
  325. package/esm2022/form-builder-editor/lib/components/modal/confirm-dialog.component.mjs +151 -0
  326. package/esm2022/form-builder-editor/lib/components/modal/index.mjs +4 -0
  327. package/esm2022/form-builder-editor/lib/components/modal/modal.component.mjs +139 -0
  328. package/esm2022/form-builder-editor/lib/components/modal/modal.service.mjs +197 -0
  329. package/esm2022/form-builder-editor/lib/components/modal/modal.types.mjs +6 -0
  330. package/esm2022/form-builder-editor/lib/core/logging/logger.config.mjs +18 -0
  331. package/esm2022/form-builder-editor/lib/core/logging/logger.service.mjs +295 -0
  332. package/esm2022/form-builder-editor/lib/core/logging/logger.types.mjs +7 -0
  333. package/esm2022/form-builder-editor/lib/core/types/index.mjs +6 -0
  334. package/esm2022/form-builder-editor/lib/sources/location-data.opt.json +8942 -0
  335. package/esm2022/form-builder-editor/lib/sources/nazioni.opt.json +215 -0
  336. package/esm2022/http/entry-http.mjs +5 -0
  337. package/esm2022/http/gnggln-ng-ui-system-http.mjs +5 -0
  338. package/esm2022/http/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  339. package/esm2022/http/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  340. package/esm2022/http/lib/components/blackbox/blackbox.service.mjs +323 -0
  341. package/esm2022/http/lib/components/blackbox/blackbox.types.mjs +25 -0
  342. package/esm2022/http/lib/components/http/http-message.handler.mjs +143 -0
  343. package/esm2022/http/lib/components/http/http.service.mjs +228 -0
  344. package/esm2022/http/lib/components/http/http.tokens.mjs +29 -0
  345. package/esm2022/http/lib/components/http/http.types.mjs +6 -0
  346. package/esm2022/http/lib/components/http/index.mjs +19 -0
  347. package/esm2022/http/lib/components/layout-builder/layout-builder.types.mjs +9 -0
  348. package/esm2022/http/lib/components/layout-builder/layout.service.mjs +239 -0
  349. package/esm2022/http/lib/components/toast/toast-container.component.mjs +80 -0
  350. package/esm2022/http/lib/components/toast/toast.component.mjs +151 -0
  351. package/esm2022/http/lib/components/toast/toast.service.mjs +156 -0
  352. package/esm2022/http/lib/components/toast/toast.types.mjs +12 -0
  353. package/esm2022/http/lib/core/types/index.mjs +6 -0
  354. package/esm2022/http/lib/core/utils/index.mjs +102 -0
  355. package/esm2022/layout-builder/entry-layout-builder.mjs +5 -0
  356. package/esm2022/layout-builder/gnggln-ng-ui-system-layout-builder.mjs +5 -0
  357. package/esm2022/layout-builder/lib/components/layout-builder/index.mjs +18 -0
  358. package/esm2022/layout-builder/lib/components/layout-builder/layout-builder.component.mjs +1804 -0
  359. package/esm2022/layout-builder/lib/components/layout-builder/layout-builder.types.mjs +9 -0
  360. package/esm2022/layout-builder/lib/components/layout-builder/layout.service.mjs +239 -0
  361. package/esm2022/layout-builder/lib/core/types/index.mjs +6 -0
  362. package/esm2022/lib/components/accordion/accordion.component.mjs +106 -61
  363. package/esm2022/lib/components/accordion/accordion.types.mjs +1 -1
  364. package/esm2022/lib/components/base-layout/base-layout.component.mjs +88 -34
  365. package/esm2022/lib/components/base-layout/base-layout.types.mjs +1 -1
  366. package/esm2022/lib/components/base-layout/index.mjs +1 -1
  367. package/esm2022/lib/components/blackbox/blackbox-debugger.component.mjs +904 -0
  368. package/esm2022/lib/components/blackbox/blackbox-debugger.service.mjs +51 -0
  369. package/esm2022/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
  370. package/esm2022/lib/components/blackbox/blackbox-json-viewer.component.mjs +66 -0
  371. package/esm2022/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
  372. package/esm2022/lib/components/blackbox/blackbox.interceptor.mjs +135 -0
  373. package/esm2022/lib/components/blackbox/blackbox.service.mjs +323 -0
  374. package/esm2022/lib/components/blackbox/blackbox.types.mjs +25 -0
  375. package/esm2022/lib/components/blackbox/index.mjs +27 -0
  376. package/esm2022/lib/components/blackbox/ui-track.directive.mjs +69 -0
  377. package/esm2022/lib/components/button/button-area.component.mjs +16 -2
  378. package/esm2022/lib/components/button/button.component.mjs +23 -7
  379. package/esm2022/lib/components/button/button.types.mjs +1 -1
  380. package/esm2022/lib/components/crud-table/crud-table.component.mjs +14 -14
  381. package/esm2022/lib/components/form-builder/form-builder.component.mjs +710 -183
  382. package/esm2022/lib/components/form-builder/form-wizard.component.mjs +789 -235
  383. package/esm2022/lib/components/form-builder/index.mjs +7 -2
  384. package/esm2022/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
  385. package/esm2022/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
  386. package/esm2022/lib/components/form-builder/services/location.service.mjs +4 -3
  387. package/esm2022/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
  388. package/esm2022/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +142 -113
  389. package/esm2022/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
  390. package/esm2022/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
  391. package/esm2022/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
  392. package/esm2022/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
  393. package/esm2022/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
  394. package/esm2022/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
  395. package/esm2022/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
  396. package/esm2022/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +3 -3
  397. package/esm2022/lib/components/form-builder/types/field.types.mjs +1 -1
  398. package/esm2022/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
  399. package/esm2022/lib/components/form-builder/types/index.mjs +3 -2
  400. package/esm2022/lib/components/form-builder/types/schema.types.mjs +1 -1
  401. package/esm2022/lib/components/form-builder/types/validation.types.mjs +6 -2
  402. package/esm2022/lib/components/form-builder-editor/form-builder-editor.component.mjs +3 -3
  403. package/esm2022/lib/components/form-builder-editor/index.mjs +3 -1
  404. package/esm2022/lib/components/form-builder-editor/presets/editor-presets.mjs +395 -0
  405. package/esm2022/lib/components/form-builder-editor/sub-components/preview-container/preview-container.component.mjs +2 -2
  406. package/esm2022/lib/components/form-builder-editor/sub-components/section-editor/section-editor.component.mjs +2 -1
  407. package/esm2022/lib/components/http/http-message.handler.mjs +143 -0
  408. package/esm2022/lib/components/http/http.service.mjs +228 -0
  409. package/esm2022/lib/components/http/http.tokens.mjs +29 -0
  410. package/esm2022/lib/components/http/http.types.mjs +6 -0
  411. package/esm2022/lib/components/http/index.mjs +19 -0
  412. package/esm2022/lib/components/layout-builder/layout-builder.component.mjs +27 -15
  413. package/esm2022/lib/components/modal/confirm-dialog.component.mjs +3 -3
  414. package/esm2022/lib/components/modal/modal.service.mjs +5 -2
  415. package/esm2022/lib/components/page-header/breadcrumb.service.mjs +5 -4
  416. package/esm2022/lib/components/table/paginated-table.component.mjs +17 -3
  417. package/esm2022/lib/components/table/table.types.mjs +1 -1
  418. package/esm2022/lib/components/toast/index.mjs +18 -0
  419. package/esm2022/lib/components/toast/toast-container.component.mjs +80 -0
  420. package/esm2022/lib/components/toast/toast.component.mjs +151 -0
  421. package/esm2022/lib/components/toast/toast.service.mjs +156 -0
  422. package/esm2022/lib/components/toast/toast.types.mjs +12 -0
  423. package/esm2022/lib/core/logging/index.mjs +10 -0
  424. package/esm2022/lib/core/logging/logger.config.mjs +18 -0
  425. package/esm2022/lib/core/logging/logger.service.mjs +295 -0
  426. package/esm2022/lib/core/logging/logger.types.mjs +7 -0
  427. package/esm2022/lib/core/types/index.mjs +1 -1
  428. package/esm2022/lib/core/utils/index.mjs +50 -1
  429. package/esm2022/lib/version/ng-ui-system-version.mjs +12 -0
  430. package/esm2022/modal/entry-modal.mjs +5 -0
  431. package/esm2022/modal/gnggln-ng-ui-system-modal.mjs +5 -0
  432. package/esm2022/modal/lib/components/button/button.component.mjs +180 -0
  433. package/esm2022/modal/lib/components/button/button.types.mjs +6 -0
  434. package/esm2022/modal/lib/components/modal/confirm-dialog.component.mjs +151 -0
  435. package/esm2022/modal/lib/components/modal/index.mjs +4 -0
  436. package/esm2022/modal/lib/components/modal/modal.component.mjs +139 -0
  437. package/esm2022/modal/lib/components/modal/modal.service.mjs +197 -0
  438. package/esm2022/modal/lib/components/modal/modal.types.mjs +6 -0
  439. package/esm2022/modal/lib/core/types/index.mjs +6 -0
  440. package/esm2022/page-header/entry-page-header.mjs +5 -0
  441. package/esm2022/page-header/gnggln-ng-ui-system-page-header.mjs +5 -0
  442. package/esm2022/page-header/lib/components/page-header/breadcrumb.service.mjs +243 -0
  443. package/esm2022/page-header/lib/components/page-header/index.mjs +20 -0
  444. package/esm2022/page-header/lib/components/page-header/page-header.component.mjs +243 -0
  445. package/esm2022/page-header/lib/components/page-header/page-header.types.mjs +21 -0
  446. package/esm2022/public-api.mjs +17 -8
  447. package/esm2022/table/entry-table.mjs +5 -0
  448. package/esm2022/table/gnggln-ng-ui-system-table.mjs +5 -0
  449. package/esm2022/table/lib/components/table/index.mjs +2 -0
  450. package/esm2022/table/lib/components/table/paginated-table.component.mjs +421 -0
  451. package/esm2022/table/lib/components/table/table.types.mjs +6 -0
  452. package/esm2022/table/lib/core/utils/index.mjs +102 -0
  453. package/esm2022/toast/entry-toast.mjs +5 -0
  454. package/esm2022/toast/gnggln-ng-ui-system-toast.mjs +5 -0
  455. package/esm2022/toast/lib/components/toast/index.mjs +18 -0
  456. package/esm2022/toast/lib/components/toast/toast-container.component.mjs +80 -0
  457. package/esm2022/toast/lib/components/toast/toast.component.mjs +151 -0
  458. package/esm2022/toast/lib/components/toast/toast.service.mjs +156 -0
  459. package/esm2022/toast/lib/components/toast/toast.types.mjs +12 -0
  460. package/esm2022/toast/lib/core/types/index.mjs +6 -0
  461. package/esm2022/toast/lib/core/utils/index.mjs +102 -0
  462. package/fesm2022/gnggln-ng-ui-system-accordion.mjs +409 -0
  463. package/fesm2022/gnggln-ng-ui-system-accordion.mjs.map +1 -0
  464. package/fesm2022/gnggln-ng-ui-system-base-layout.mjs +1905 -0
  465. package/fesm2022/gnggln-ng-ui-system-base-layout.mjs.map +1 -0
  466. package/fesm2022/gnggln-ng-ui-system-blackbox.mjs +2829 -0
  467. package/fesm2022/gnggln-ng-ui-system-blackbox.mjs.map +1 -0
  468. package/fesm2022/gnggln-ng-ui-system-button.mjs +1148 -0
  469. package/fesm2022/gnggln-ng-ui-system-button.mjs.map +1 -0
  470. package/fesm2022/gnggln-ng-ui-system-core.mjs +117 -0
  471. package/fesm2022/gnggln-ng-ui-system-core.mjs.map +1 -0
  472. package/fesm2022/gnggln-ng-ui-system-crud-table.mjs +49600 -0
  473. package/fesm2022/gnggln-ng-ui-system-crud-table.mjs.map +1 -0
  474. package/fesm2022/gnggln-ng-ui-system-form-builder-editor.mjs +54332 -0
  475. package/fesm2022/gnggln-ng-ui-system-form-builder-editor.mjs.map +1 -0
  476. package/fesm2022/gnggln-ng-ui-system-form-builder.mjs +49609 -0
  477. package/fesm2022/gnggln-ng-ui-system-form-builder.mjs.map +1 -0
  478. package/fesm2022/gnggln-ng-ui-system-http.mjs +1878 -0
  479. package/fesm2022/gnggln-ng-ui-system-http.mjs.map +1 -0
  480. package/fesm2022/gnggln-ng-ui-system-layout-builder.mjs +2064 -0
  481. package/fesm2022/gnggln-ng-ui-system-layout-builder.mjs.map +1 -0
  482. package/fesm2022/gnggln-ng-ui-system-modal.mjs +664 -0
  483. package/fesm2022/gnggln-ng-ui-system-modal.mjs.map +1 -0
  484. package/fesm2022/gnggln-ng-ui-system-page-header.mjs +526 -0
  485. package/fesm2022/gnggln-ng-ui-system-page-header.mjs.map +1 -0
  486. package/fesm2022/gnggln-ng-ui-system-table.mjs +533 -0
  487. package/fesm2022/gnggln-ng-ui-system-table.mjs.map +1 -0
  488. package/fesm2022/gnggln-ng-ui-system-toast.mjs +516 -0
  489. package/fesm2022/gnggln-ng-ui-system-toast.mjs.map +1 -0
  490. package/fesm2022/gnggln-ng-ui-system.mjs +10068 -4234
  491. package/fesm2022/gnggln-ng-ui-system.mjs.map +1 -1
  492. package/form-builder/entry-form-builder.d.ts +4 -0
  493. package/form-builder/index.d.ts +5 -0
  494. package/form-builder/lib/components/accordion/accordion.component.d.ts +125 -0
  495. package/form-builder/lib/components/accordion/accordion.types.d.ts +64 -0
  496. package/form-builder/lib/components/accordion/index.d.ts +2 -0
  497. package/form-builder/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  498. package/form-builder/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  499. package/form-builder/lib/components/blackbox/blackbox.service.d.ts +144 -0
  500. package/form-builder/lib/components/blackbox/blackbox.types.d.ts +238 -0
  501. package/form-builder/lib/components/button/button-area.component.d.ts +93 -0
  502. package/form-builder/lib/components/button/button.component.d.ts +61 -0
  503. package/form-builder/lib/components/button/button.types.d.ts +75 -0
  504. package/form-builder/lib/components/button/index.d.ts +15 -0
  505. package/form-builder/lib/components/form-builder/adapters/it-date-adapter.d.ts +32 -0
  506. package/form-builder/lib/components/form-builder/directives/currency-input.directive.d.ts +48 -0
  507. package/form-builder/lib/components/form-builder/form-builder.component.d.ts +279 -0
  508. package/form-builder/lib/components/form-builder/form-wizard.component.d.ts +172 -0
  509. package/form-builder/lib/components/form-builder/index.d.ts +19 -0
  510. package/form-builder/lib/components/form-builder/services/form-condition.service.d.ts +46 -0
  511. package/form-builder/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
  512. package/form-builder/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
  513. package/form-builder/lib/components/form-builder/services/form-validation.service.d.ts +63 -0
  514. package/form-builder/lib/components/form-builder/services/location.service.d.ts +83 -0
  515. package/form-builder/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
  516. package/form-builder/lib/components/form-builder/services/wizard-sync.service.d.ts +63 -0
  517. package/form-builder/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +31 -0
  518. package/form-builder/lib/components/form-builder/sub-components/file-input/file-input.component.d.ts +41 -0
  519. package/form-builder/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
  520. package/form-builder/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
  521. package/form-builder/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
  522. package/form-builder/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
  523. package/form-builder/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
  524. package/form-builder/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
  525. package/form-builder/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
  526. package/form-builder/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.d.ts +145 -0
  527. package/form-builder/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.d.ts +108 -0
  528. package/form-builder/lib/components/form-builder/types/condition.types.d.ts +51 -0
  529. package/form-builder/lib/components/form-builder/types/field.types.d.ts +330 -0
  530. package/form-builder/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
  531. package/form-builder/lib/components/form-builder/types/index.d.ts +6 -0
  532. package/form-builder/lib/components/form-builder/types/schema.types.d.ts +304 -0
  533. package/form-builder/lib/components/form-builder/types/territoriale.types.d.ts +170 -0
  534. package/form-builder/lib/components/form-builder/types/validation.types.d.ts +179 -0
  535. package/form-builder/lib/core/logging/logger.config.d.ts +18 -0
  536. package/form-builder/lib/core/logging/logger.service.d.ts +75 -0
  537. package/form-builder/lib/core/logging/logger.types.d.ts +70 -0
  538. package/form-builder/lib/core/types/index.d.ts +133 -0
  539. package/form-builder-editor/entry-form-builder-editor.d.ts +4 -0
  540. package/form-builder-editor/index.d.ts +5 -0
  541. package/form-builder-editor/lib/components/accordion/accordion.component.d.ts +125 -0
  542. package/form-builder-editor/lib/components/accordion/accordion.types.d.ts +64 -0
  543. package/form-builder-editor/lib/components/accordion/index.d.ts +2 -0
  544. package/form-builder-editor/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  545. package/form-builder-editor/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  546. package/form-builder-editor/lib/components/blackbox/blackbox.service.d.ts +144 -0
  547. package/form-builder-editor/lib/components/blackbox/blackbox.types.d.ts +238 -0
  548. package/form-builder-editor/lib/components/button/button-area.component.d.ts +93 -0
  549. package/form-builder-editor/lib/components/button/button.component.d.ts +61 -0
  550. package/form-builder-editor/lib/components/button/button.types.d.ts +75 -0
  551. package/form-builder-editor/lib/components/button/index.d.ts +15 -0
  552. package/form-builder-editor/lib/components/form-builder/adapters/it-date-adapter.d.ts +32 -0
  553. package/form-builder-editor/lib/components/form-builder/directives/currency-input.directive.d.ts +48 -0
  554. package/form-builder-editor/lib/components/form-builder/form-builder.component.d.ts +279 -0
  555. package/form-builder-editor/lib/components/form-builder/services/form-condition.service.d.ts +46 -0
  556. package/form-builder-editor/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
  557. package/form-builder-editor/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
  558. package/form-builder-editor/lib/components/form-builder/services/form-validation.service.d.ts +63 -0
  559. package/form-builder-editor/lib/components/form-builder/services/location.service.d.ts +83 -0
  560. package/form-builder-editor/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
  561. package/form-builder-editor/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +31 -0
  562. package/form-builder-editor/lib/components/form-builder/sub-components/file-input/file-input.component.d.ts +41 -0
  563. package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
  564. package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
  565. package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
  566. package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
  567. package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
  568. package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
  569. package/form-builder-editor/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
  570. package/form-builder-editor/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.d.ts +145 -0
  571. package/form-builder-editor/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.d.ts +108 -0
  572. package/form-builder-editor/lib/components/form-builder/types/condition.types.d.ts +51 -0
  573. package/form-builder-editor/lib/components/form-builder/types/field.types.d.ts +330 -0
  574. package/form-builder-editor/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
  575. package/form-builder-editor/lib/components/form-builder/types/index.d.ts +6 -0
  576. package/form-builder-editor/lib/components/form-builder/types/schema.types.d.ts +304 -0
  577. package/form-builder-editor/lib/components/form-builder/types/territoriale.types.d.ts +170 -0
  578. package/form-builder-editor/lib/components/form-builder/types/validation.types.d.ts +179 -0
  579. package/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.component.d.ts +117 -0
  580. package/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.service.d.ts +38 -0
  581. package/form-builder-editor/lib/components/form-builder-editor/index.d.ts +17 -0
  582. package/form-builder-editor/lib/components/form-builder-editor/presets/editor-presets.d.ts +25 -0
  583. package/form-builder-editor/lib/components/form-builder-editor/services/editor-persistence.service.d.ts +42 -0
  584. package/form-builder-editor/lib/components/form-builder-editor/services/editor-state.service.d.ts +66 -0
  585. package/form-builder-editor/lib/components/form-builder-editor/services/field-factory.service.d.ts +28 -0
  586. package/form-builder-editor/lib/components/form-builder-editor/sub-components/condition-editor/condition-editor.component.d.ts +139 -0
  587. package/form-builder-editor/lib/components/form-builder-editor/sub-components/editor-toolbar/editor-toolbar.component.d.ts +43 -0
  588. package/form-builder-editor/lib/components/form-builder-editor/sub-components/field-config-panel/field-config-panel.component.d.ts +83 -0
  589. package/form-builder-editor/lib/components/form-builder-editor/sub-components/field-palette/field-palette.component.d.ts +40 -0
  590. package/form-builder-editor/lib/components/form-builder-editor/sub-components/form-values-panel/form-values-panel.component.d.ts +51 -0
  591. package/form-builder-editor/lib/components/form-builder-editor/sub-components/options-editor/options-editor.component.d.ts +63 -0
  592. package/form-builder-editor/lib/components/form-builder-editor/sub-components/preview-container/preview-container.component.d.ts +68 -0
  593. package/form-builder-editor/lib/components/form-builder-editor/sub-components/section-editor/section-editor.component.d.ts +82 -0
  594. package/form-builder-editor/lib/components/form-builder-editor/sub-components/validation-editor/validation-editor.component.d.ts +112 -0
  595. package/form-builder-editor/lib/components/form-builder-editor/types/editor.types.d.ts +124 -0
  596. package/form-builder-editor/lib/components/modal/confirm-dialog.component.d.ts +46 -0
  597. package/form-builder-editor/lib/components/modal/index.d.ts +4 -0
  598. package/form-builder-editor/lib/components/modal/modal.component.d.ts +44 -0
  599. package/form-builder-editor/lib/components/modal/modal.service.d.ts +93 -0
  600. package/form-builder-editor/lib/components/modal/modal.types.d.ts +110 -0
  601. package/form-builder-editor/lib/core/logging/logger.config.d.ts +18 -0
  602. package/form-builder-editor/lib/core/logging/logger.service.d.ts +75 -0
  603. package/form-builder-editor/lib/core/logging/logger.types.d.ts +70 -0
  604. package/form-builder-editor/lib/core/types/index.d.ts +133 -0
  605. package/http/entry-http.d.ts +4 -0
  606. package/http/index.d.ts +5 -0
  607. package/http/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  608. package/http/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  609. package/http/lib/components/blackbox/blackbox.service.d.ts +144 -0
  610. package/http/lib/components/blackbox/blackbox.types.d.ts +238 -0
  611. package/http/lib/components/http/http-message.handler.d.ts +59 -0
  612. package/http/lib/components/http/http.service.d.ts +98 -0
  613. package/http/lib/components/http/http.tokens.d.ts +29 -0
  614. package/http/lib/components/http/http.types.d.ts +50 -0
  615. package/http/lib/components/http/index.d.ts +17 -0
  616. package/http/lib/components/layout-builder/layout-builder.types.d.ts +436 -0
  617. package/http/lib/components/layout-builder/layout.service.d.ts +100 -0
  618. package/http/lib/components/toast/toast-container.component.d.ts +27 -0
  619. package/http/lib/components/toast/toast.component.d.ts +37 -0
  620. package/http/lib/components/toast/toast.service.d.ts +39 -0
  621. package/http/lib/components/toast/toast.types.d.ts +52 -0
  622. package/http/lib/core/types/index.d.ts +133 -0
  623. package/http/lib/core/utils/index.d.ts +60 -0
  624. package/layout-builder/entry-layout-builder.d.ts +4 -0
  625. package/layout-builder/index.d.ts +5 -0
  626. package/layout-builder/lib/components/layout-builder/index.d.ts +16 -0
  627. package/layout-builder/lib/components/layout-builder/layout-builder.component.d.ts +85 -0
  628. package/layout-builder/lib/components/layout-builder/layout-builder.types.d.ts +436 -0
  629. package/layout-builder/lib/components/layout-builder/layout.service.d.ts +100 -0
  630. package/layout-builder/lib/core/types/index.d.ts +133 -0
  631. package/lib/components/accordion/accordion.component.d.ts +10 -3
  632. package/lib/components/accordion/accordion.types.d.ts +2 -0
  633. package/lib/components/base-layout/base-layout.component.d.ts +36 -11
  634. package/lib/components/base-layout/base-layout.types.d.ts +14 -0
  635. package/lib/components/base-layout/index.d.ts +1 -1
  636. package/lib/components/blackbox/blackbox-debugger.component.d.ts +80 -0
  637. package/lib/components/blackbox/blackbox-debugger.service.d.ts +34 -0
  638. package/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
  639. package/lib/components/blackbox/blackbox-json-viewer.component.d.ts +18 -0
  640. package/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
  641. package/lib/components/blackbox/blackbox.interceptor.d.ts +38 -0
  642. package/lib/components/blackbox/blackbox.service.d.ts +144 -0
  643. package/lib/components/blackbox/blackbox.types.d.ts +238 -0
  644. package/lib/components/blackbox/index.d.ts +23 -0
  645. package/lib/components/blackbox/ui-track.directive.d.ts +20 -0
  646. package/lib/components/button/button-area.component.d.ts +6 -1
  647. package/lib/components/button/button.component.d.ts +8 -2
  648. package/lib/components/button/button.types.d.ts +5 -0
  649. package/lib/components/form-builder/form-builder.component.d.ts +125 -29
  650. package/lib/components/form-builder/form-wizard.component.d.ts +89 -4
  651. package/lib/components/form-builder/index.d.ts +7 -1
  652. package/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
  653. package/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
  654. package/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
  655. package/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +9 -6
  656. package/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
  657. package/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
  658. package/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
  659. package/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
  660. package/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
  661. package/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
  662. package/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
  663. package/lib/components/form-builder/types/field.types.d.ts +48 -6
  664. package/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
  665. package/lib/components/form-builder/types/index.d.ts +4 -3
  666. package/lib/components/form-builder/types/schema.types.d.ts +83 -6
  667. package/lib/components/form-builder/types/validation.types.d.ts +5 -0
  668. package/lib/components/form-builder-editor/index.d.ts +2 -0
  669. package/lib/components/form-builder-editor/presets/editor-presets.d.ts +25 -0
  670. package/lib/components/http/http-message.handler.d.ts +59 -0
  671. package/lib/components/http/http.service.d.ts +98 -0
  672. package/lib/components/http/http.tokens.d.ts +29 -0
  673. package/lib/components/http/http.types.d.ts +50 -0
  674. package/lib/components/http/index.d.ts +17 -0
  675. package/lib/components/page-header/breadcrumb.service.d.ts +2 -2
  676. package/lib/components/table/table.types.d.ts +5 -0
  677. package/lib/components/toast/index.d.ts +17 -0
  678. package/lib/components/toast/toast-container.component.d.ts +27 -0
  679. package/lib/components/toast/toast.component.d.ts +37 -0
  680. package/lib/components/toast/toast.service.d.ts +39 -0
  681. package/lib/components/toast/toast.types.d.ts +52 -0
  682. package/lib/core/logging/index.d.ts +8 -0
  683. package/lib/core/logging/logger.config.d.ts +18 -0
  684. package/lib/core/logging/logger.service.d.ts +75 -0
  685. package/lib/core/logging/logger.types.d.ts +70 -0
  686. package/lib/core/types/index.d.ts +76 -0
  687. package/lib/core/utils/index.d.ts +31 -0
  688. package/lib/version/ng-ui-system-version.d.ts +9 -0
  689. package/modal/entry-modal.d.ts +4 -0
  690. package/modal/index.d.ts +5 -0
  691. package/modal/lib/components/button/button.component.d.ts +61 -0
  692. package/modal/lib/components/button/button.types.d.ts +75 -0
  693. package/modal/lib/components/modal/confirm-dialog.component.d.ts +46 -0
  694. package/modal/lib/components/modal/index.d.ts +4 -0
  695. package/modal/lib/components/modal/modal.component.d.ts +44 -0
  696. package/modal/lib/components/modal/modal.service.d.ts +93 -0
  697. package/modal/lib/components/modal/modal.types.d.ts +110 -0
  698. package/modal/lib/core/types/index.d.ts +133 -0
  699. package/package.json +93 -8
  700. package/page-header/entry-page-header.d.ts +4 -0
  701. package/page-header/index.d.ts +5 -0
  702. package/page-header/lib/components/page-header/breadcrumb.service.d.ts +96 -0
  703. package/page-header/lib/components/page-header/index.d.ts +16 -0
  704. package/page-header/lib/components/page-header/page-header.component.d.ts +59 -0
  705. package/page-header/lib/components/page-header/page-header.types.d.ts +96 -0
  706. package/public-api.d.ts +11 -6
  707. package/table/entry-table.d.ts +4 -0
  708. package/table/index.d.ts +5 -0
  709. package/table/lib/components/table/index.d.ts +2 -0
  710. package/table/lib/components/table/paginated-table.component.d.ts +85 -0
  711. package/table/lib/components/table/table.types.d.ts +86 -0
  712. package/table/lib/core/utils/index.d.ts +60 -0
  713. package/toast/entry-toast.d.ts +4 -0
  714. package/toast/index.d.ts +5 -0
  715. package/toast/lib/components/toast/index.d.ts +17 -0
  716. package/toast/lib/components/toast/toast-container.component.d.ts +27 -0
  717. package/toast/lib/components/toast/toast.component.d.ts +37 -0
  718. package/toast/lib/components/toast/toast.service.d.ts +39 -0
  719. package/toast/lib/components/toast/toast.types.d.ts +52 -0
  720. package/toast/lib/core/types/index.d.ts +133 -0
  721. package/toast/lib/core/utils/index.d.ts +60 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gnggln-ng-ui-system-button.mjs","sources":["../../../packages/ng-ui-system/src/lib/components/button/button.component.ts","../../../packages/ng-ui-system/src/lib/components/blackbox/blackbox.types.ts","../../../packages/ng-ui-system/src/lib/components/blackbox/blackbox-fingerprint.service.ts","../../../packages/ng-ui-system/src/lib/components/blackbox/blackbox-storage.service.ts","../../../packages/ng-ui-system/src/lib/components/blackbox/blackbox.service.ts","../../../packages/ng-ui-system/src/lib/components/button/button-area.component.ts","../../../packages/ng-ui-system/src/lib/components/button/index.ts","../../../packages/ng-ui-system/src/entry-button.ts","../../../packages/ng-ui-system/src/gnggln-ng-ui-system-button.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { LucideAngularModule } from 'lucide-angular';\r\nimport { UiVariant, UiSize, UiIconName } from '../../core/types';\r\nimport { UiIconPosition } from './button.types';\r\n\r\n/** @internal Size-to-icon-pixel mapping for consistent icon sizing. */\r\nconst ICON_SIZE_MAP: Record<UiSize, number> = {\r\n xs: 14,\r\n sm: 16,\r\n md: 18,\r\n lg: 20,\r\n xl: 22,\r\n};\r\n\r\n/**\r\n * Standalone button component with design-token-driven theming,\r\n * variant/size system, Lucide icon support, loading states, and WCAG 2.1 AA accessibility.\r\n *\r\n * Uses native `<button>` click events — listen with `(click)` on the host element.\r\n *\r\n * @selector ui-button\r\n *\r\n * @example\r\n * ```html\r\n * <!-- Basic -->\r\n * <ui-button label=\"Save\" variant=\"primary\" icon=\"save\" (click)=\"save()\" />\r\n *\r\n * <!-- Loading -->\r\n * <ui-button label=\"Submitting...\" variant=\"primary\" [loading]=\"true\" />\r\n *\r\n * <!-- Icon-only: tooltip o ariaLabel forniscono il nome accessibile -->\r\n * <ui-button icon=\"trash-2\" variant=\"warn\" tooltip=\"Elimina\" (click)=\"delete()\" />\r\n * ```\r\n */\r\n@Component({\r\n selector: 'ui-button',\r\n standalone: true,\r\n imports: [MatTooltipModule, LucideAngularModule],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n host: {\r\n class: 'ui-button-host',\r\n '[class.ui-button-host--full-width]': 'fullWidth',\r\n },\r\n template: `\r\n <button\r\n [type]=\"type\"\r\n [class]=\"buttonClasses\"\r\n [disabled]=\"disabled || loading\"\r\n [attr.aria-label]=\"effectiveAriaLabel || null\"\r\n [attr.aria-busy]=\"loading || null\"\r\n [matTooltip]=\"tooltip\"\r\n >\r\n <span class=\"ui-button__content\" [class.ui-button__content--hidden]=\"loading\">\r\n @if (icon && iconPosition === 'leading') {\r\n <lucide-icon [name]=\"icon!\" [size]=\"iconSize\" aria-hidden=\"true\" />\r\n }\r\n @if (label) {\r\n <span class=\"ui-button__label\">{{ label }}</span>\r\n }\r\n <ng-content />\r\n @if (icon && iconPosition === 'trailing') {\r\n <lucide-icon [name]=\"icon!\" [size]=\"iconSize\" aria-hidden=\"true\" />\r\n }\r\n </span>\r\n @if (loading) {\r\n <span class=\"ui-button__spinner-overlay\">\r\n <span class=\"ui-button__spinner\" aria-hidden=\"true\"></span>\r\n <span class=\"ui-button__sr-only\">Loading</span>\r\n </span>\r\n }\r\n </button>\r\n `,\r\n styleUrl: './button.component.scss',\r\n})\r\nexport class UiButtonComponent {\r\n /** Button label text. */\r\n @Input() label = '';\r\n\r\n /** Tooltip text shown on hover (uses Angular Material tooltip). */\r\n @Input() tooltip = '';\r\n\r\n /** Visual style variant. */\r\n @Input() variant: UiVariant = 'primary';\r\n\r\n /** Size variant. */\r\n @Input() size: UiSize = 'md';\r\n\r\n /** Lucide icon name. @see https://lucide.dev/icons */\r\n @Input() icon?: UiIconName;\r\n\r\n /** Icon position relative to the label. */\r\n @Input() iconPosition: UiIconPosition = 'trailing';\r\n\r\n /** Whether the button is in a loading state. Disables interaction and shows spinner. */\r\n @Input() loading = false;\r\n\r\n /** Whether the button is disabled. */\r\n @Input() disabled = false;\r\n\r\n /** Expand button to full container width. */\r\n @Input() fullWidth = false;\r\n\r\n /** HTML button type attribute. */\r\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\r\n\r\n /** Accessible label override (required for icon-only buttons). */\r\n @Input() ariaLabel?: string;\r\n\r\n /** Additional CSS class for edge cases. */\r\n @Input() customClass?: string;\r\n\r\n /**\r\n * Nome accessibile risolto per il pulsante nativo.\r\n * Usa `ariaLabel` se impostato; per pulsanti solo icona senza testo visibile\r\n * ricade sul `tooltip` (il tooltip Material non sostituisce il nome accessibile).\r\n */\r\n get effectiveAriaLabel(): string | undefined {\r\n const explicit = this.ariaLabel?.trim();\r\n if (explicit) return explicit;\r\n\r\n if (this.label?.trim()) return undefined;\r\n\r\n const tip = this.tooltip?.trim();\r\n if (this.icon && tip) return tip;\r\n\r\n return undefined;\r\n }\r\n\r\n /** Computed icon pixel size based on button size. */\r\n get iconSize(): number {\r\n return ICON_SIZE_MAP[this.size] ?? 18;\r\n }\r\n\r\n /** Assembled CSS class string for the native button element. */\r\n get buttonClasses(): string {\r\n return [\r\n 'ui-button',\r\n `ui-button--${this.variant}`,\r\n `ui-button--${this.size}`,\r\n this.loading ? 'ui-button--loading' : '',\r\n this.fullWidth ? 'ui-button--full-width' : '',\r\n !this.label && this.icon ? 'ui-button--icon-only' : '',\r\n this.customClass ?? '',\r\n ]\r\n .filter(Boolean)\r\n .join(' ');\r\n }\r\n}\r\n","/**\r\n * @module ng-ui-system/blackbox\r\n * Types and interfaces for the BlackBox observability service.\r\n *\r\n * The BlackBox service acts as a \"black box recorder\" for user sessions,\r\n * capturing navigation, UI interactions, form events and HTTP calls\r\n * in a compressed, opaque format stored in IndexedDB.\r\n */\r\n\r\n// ─── Configuration ───────────────────────────────────────────────────\r\n\r\n/**\r\n * Form tracking granularity flags.\r\n *\r\n * Controls which form events are captured by the BlackBox service.\r\n * All flags default to `true` except `trackValues` which defaults to `false`\r\n * for privacy reasons.\r\n */\r\nexport interface UiBlackboxFormTrackingConfig {\r\n /**\r\n * When `true`, the actual field values are stored in form events.\r\n * When `false`, only the fact that a change occurred is recorded.\r\n * @default false\r\n */\r\n trackValues: boolean;\r\n\r\n /** Track focus events on form fields. @default true */\r\n trackFocus: boolean;\r\n\r\n /** Track blur events on form fields. @default true */\r\n trackBlur: boolean;\r\n\r\n /** Track value change events on form fields. @default true */\r\n trackValueChanges: boolean;\r\n\r\n /** Track validation error events on form fields. @default true */\r\n trackValidation: boolean;\r\n\r\n /**\r\n * Debounce interval (ms) for `valueChanges` subscriptions.\r\n * Higher values reduce noise but increase latency.\r\n * @default 500\r\n */\r\n debounceMs: number;\r\n}\r\n\r\n/**\r\n * Root configuration for the BlackBox service.\r\n *\r\n * All properties are optional — sensible defaults are applied when omitted.\r\n *\r\n * @example\r\n * ```typescript\r\n * blackboxService.configure({\r\n * maxStorageMb: 30,\r\n * formTracking: { trackValues: true, debounceMs: 1000 },\r\n * });\r\n * ```\r\n */\r\nexport interface UiBlackboxConfig {\r\n /**\r\n * Maximum IndexedDB storage quota in megabytes.\r\n * Oldest sessions are pruned when the quota is exceeded.\r\n * @default 50\r\n */\r\n maxStorageMb: number;\r\n\r\n /**\r\n * Interval (ms) at which the in-memory buffer is flushed to IndexedDB.\r\n * @default 5000\r\n */\r\n flushIntervalMs: number;\r\n\r\n /**\r\n * Number of buffered events that trigger an immediate flush.\r\n * @default 20\r\n */\r\n flushThreshold: number;\r\n\r\n /**\r\n * Centralised debounce (ms) applied to the event buffer.\r\n * @default 500\r\n */\r\n bufferDebounceMs: number;\r\n\r\n /** Per-field form tracking configuration. */\r\n formTracking: UiBlackboxFormTrackingConfig;\r\n}\r\n\r\n// ─── Fingerprint ─────────────────────────────────────────────────────\r\n\r\n/**\r\n * Stable device/browser fingerprint generated by FingerprintJS (open-source).\r\n * Persists across sessions and incognito mode.\r\n */\r\nexport type UiBlackboxFingerprint = string;\r\n\r\n// ─── Session ─────────────────────────────────────────────────────────\r\n\r\n/**\r\n * A single recording session, corresponding to one browser tab lifecycle.\r\n *\r\n * Sessions are associated to a stable `fingerprint` so that multiple\r\n * sessions from the same device can be grouped together.\r\n */\r\nexport interface UiBlackboxSession {\r\n /** Unique session identifier (UUID v4). */\r\n sessionId: string;\r\n\r\n /** Stable device/browser fingerprint. */\r\n fingerprint: UiBlackboxFingerprint;\r\n\r\n /** Timestamp (ms since epoch) when the session started. */\r\n startedAt: number;\r\n\r\n /** Timestamp (ms since epoch) when the session ended (tab closed). */\r\n endedAt?: number;\r\n\r\n /** Raw `navigator.userAgent` string captured at session start. */\r\n userAgent: string;\r\n\r\n /**\r\n * Ordered list of navigation steps (route changes).\r\n * Each step contains the actions performed on that page.\r\n */\r\n steps: UiBlackboxStep[];\r\n\r\n /**\r\n * Parallel stream of form interaction events.\r\n * Ordered by timestamp, correlated to routes via `route` field.\r\n */\r\n formEvents: UiBlackboxFormEvent[];\r\n\r\n /**\r\n * Intercepted HTTP calls, ordered by timestamp.\r\n * Only requests explicitly marked with the `X-Ui-Blackbox` header.\r\n */\r\n calls: UiBlackboxHttpCall[];\r\n}\r\n\r\n// ─── Step (Route Change) ─────────────────────────────────────────────\r\n\r\n/**\r\n * A single navigation step created on every `NavigationEnd` event.\r\n * Contains all UI actions performed during this route.\r\n */\r\nexport interface UiBlackboxStep {\r\n /** Timestamp (ms) of the navigation event. */\r\n timestamp: number;\r\n\r\n /** The route URL navigated to. */\r\n route: string;\r\n\r\n /** The previous route URL (undefined for the first step). */\r\n previousRoute?: string;\r\n\r\n /**\r\n * Ordered list of UI actions (clicks) performed on this page.\r\n */\r\n actions: UiBlackboxAction[];\r\n}\r\n\r\n// ─── Action (UI Click) ──────────────────────────────────────────────\r\n\r\n/**\r\n * A single tracked UI action, typically a click.\r\n */\r\nexport interface UiBlackboxAction {\r\n /** Timestamp (ms) of the action. */\r\n timestamp: number;\r\n\r\n /** Type discriminator. Currently only `click` is supported. */\r\n type: 'click';\r\n\r\n /** Information about the clicked element. */\r\n target: UiBlackboxActionTarget;\r\n}\r\n\r\n/**\r\n * Minimal information about the element that was interacted with.\r\n */\r\nexport interface UiBlackboxActionTarget {\r\n /** HTML tag name (lowercase). */\r\n tag: string;\r\n\r\n /** Element `id` attribute, if present. */\r\n id?: string;\r\n\r\n /**\r\n * Custom tracking identifier, set via `data-track-id` attribute\r\n * or the `[uiTrack]` directive value.\r\n */\r\n trackId?: string;\r\n\r\n /** First 50 characters of `innerText` (trimmed). */\r\n text?: string;\r\n}\r\n\r\n// ─── Form Event ──────────────────────────────────────────────────────\r\n\r\n/** Discriminator for form event types. */\r\nexport type UiBlackboxFormEventType =\r\n | 'focus'\r\n | 'blur'\r\n | 'valueChange'\r\n | 'validationError';\r\n\r\n/**\r\n * A single form interaction event from the parallel form stream.\r\n *\r\n * Each event is timestamped and tagged with the current route, allowing\r\n * correlation with navigation steps on a shared timeline.\r\n */\r\nexport interface UiBlackboxFormEvent {\r\n /** Timestamp (ms) of the event. */\r\n timestamp: number;\r\n\r\n /** Route URL where the event occurred. */\r\n route: string;\r\n\r\n /** Schema `id` of the `UiFormBuilderComponent` that owns the field. */\r\n formId: string;\r\n\r\n /** `key` of the field descriptor from the form schema. */\r\n fieldKey: string;\r\n\r\n /** Type of form interaction. */\r\n eventType: UiBlackboxFormEventType;\r\n\r\n /** Optional metadata depending on event type and config. */\r\n metadata?: UiBlackboxFormEventMetadata;\r\n}\r\n\r\n/**\r\n * Optional metadata attached to a `UiBlackboxFormEvent`.\r\n */\r\nexport interface UiBlackboxFormEventMetadata {\r\n /** Field value (only captured when `config.formTracking.trackValues` is `true`). */\r\n value?: any;\r\n\r\n /** Whether the field is currently valid. */\r\n valid?: boolean;\r\n\r\n /** List of active validation error keys. */\r\n errors?: string[];\r\n\r\n /**\r\n * Full form values snapshot at the moment of the event.\r\n * Only captured when `config.formTracking.trackValues` is `true`.\r\n */\r\n formValues?: Record<string, any>;\r\n}\r\n\r\n// ─── HTTP Call ────────────────────────────────────────────────────────\r\n\r\n/**\r\n * A single intercepted HTTP call.\r\n *\r\n * Only requests bearing the `X-Ui-Blackbox` header are captured.\r\n */\r\nexport interface UiBlackboxHttpCall {\r\n /** Timestamp (ms) when the request was initiated. */\r\n timestamp: number;\r\n\r\n /** HTTP method (GET, POST, PUT, DELETE, …). */\r\n method: string;\r\n\r\n /** Request URL. */\r\n url: string;\r\n\r\n /** HTTP status code of the response (undefined if the request failed). */\r\n status?: number;\r\n\r\n /** Round-trip duration in milliseconds. */\r\n durationMs?: number;\r\n\r\n /** Request body payload (serialisable). */\r\n requestPayload?: any;\r\n\r\n /** Response headers filtered by the `X-Ui-Blackbox-Headers` regex. */\r\n responseHeaders?: Record<string, string>;\r\n\r\n /** The regex pattern used to filter response headers. */\r\n headerFilter?: string;\r\n}\r\n\r\n// ─── Internal Buffer Event ───────────────────────────────────────────\r\n\r\n/**\r\n * Union type for all events flowing through the centralised buffer.\r\n * @internal\r\n */\r\nexport type UiBlackboxBufferEvent =\r\n | { kind: 'action'; payload: UiBlackboxAction & { route: string } }\r\n | { kind: 'formEvent'; payload: UiBlackboxFormEvent }\r\n | { kind: 'httpCall'; payload: UiBlackboxHttpCall }\r\n | { kind: 'step'; payload: UiBlackboxStep };\r\n\r\n// ─── Defaults ────────────────────────────────────────────────────────\r\n\r\n/** Default configuration values. */\r\nexport const UI_BLACKBOX_DEFAULTS: UiBlackboxConfig = {\r\n maxStorageMb: 50,\r\n flushIntervalMs: 5000,\r\n flushThreshold: 20,\r\n bufferDebounceMs: 500,\r\n formTracking: {\r\n trackValues: false,\r\n trackFocus: true,\r\n trackBlur: true,\r\n trackValueChanges: true,\r\n trackValidation: true,\r\n debounceMs: 500,\r\n },\r\n};\r\n","/**\r\n * @module ng-ui-system/blackbox\r\n * Fingerprint service — generates a stable device/browser hash\r\n * using the open-source FingerprintJS library (MIT, no API key required).\r\n *\r\n * The fingerprint is computed once and cached in `localStorage` under\r\n * the key `__ui_bb_fp` to avoid redundant recalculations.\r\n */\r\n\r\nimport { Injectable, inject, PLATFORM_ID } from '@angular/core';\r\nimport { isPlatformBrowser } from '@angular/common';\r\nimport type { UiBlackboxFingerprint } from './blackbox.types';\r\n\r\n/** localStorage key for the cached fingerprint. */\r\nconst FP_CACHE_KEY = '__ui_bb_fp';\r\n\r\n/**\r\n * Generates and caches a stable browser/device fingerprint.\r\n *\r\n * Uses `@fingerprintjs/fingerprintjs` (open-source, MIT) which analyses\r\n * canvas rendering, WebGL, audio context, screen properties, timezone,\r\n * user-agent, and other browser signals to produce a stable hash.\r\n *\r\n * @usageNotes\r\n * ```typescript\r\n * const fp = inject(UiBlackboxFingerprintService);\r\n * const hash = await fp.getFingerprint();\r\n * // => \"a1b2c3d4e5f6...\" (stable across sessions)\r\n * ```\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class UiBlackboxFingerprintService {\r\n private readonly platformId = inject(PLATFORM_ID);\r\n private cached: UiBlackboxFingerprint | null = null;\r\n\r\n /**\r\n * Returns the stable fingerprint for this device/browser.\r\n *\r\n * On first call, loads FingerprintJS dynamically, computes the hash,\r\n * and caches it in both memory and `localStorage`.\r\n * Subsequent calls return the cached value immediately.\r\n */\r\n async getFingerprint(): Promise<UiBlackboxFingerprint> {\r\n // Return cached value if available\r\n if (this.cached) {\r\n return this.cached;\r\n }\r\n\r\n // SSR guard\r\n if (!isPlatformBrowser(this.platformId)) {\r\n return 'ssr-placeholder';\r\n }\r\n\r\n // Try localStorage cache first\r\n try {\r\n const stored = localStorage.getItem(FP_CACHE_KEY);\r\n if (stored) {\r\n this.cached = stored;\r\n return stored;\r\n }\r\n } catch {\r\n // localStorage may be unavailable (privacy mode, quota exceeded)\r\n }\r\n\r\n // Compute fingerprint via FingerprintJS\r\n try {\r\n const FingerprintJS = await import('@fingerprintjs/fingerprintjs');\r\n const agent = await FingerprintJS.load();\r\n const result = await agent.get();\r\n this.cached = result.visitorId;\r\n\r\n // Persist to localStorage\r\n try {\r\n localStorage.setItem(FP_CACHE_KEY, this.cached);\r\n } catch {\r\n // Silently ignore storage errors\r\n }\r\n\r\n return this.cached;\r\n } catch {\r\n // Fallback: generate a pseudo-fingerprint from available signals\r\n const fallback = this.generateFallbackFingerprint();\r\n this.cached = fallback;\r\n\r\n try {\r\n localStorage.setItem(FP_CACHE_KEY, fallback);\r\n } catch {\r\n // Silently ignore\r\n }\r\n\r\n return fallback;\r\n }\r\n }\r\n\r\n /**\r\n * Fallback fingerprint when FingerprintJS is unavailable.\r\n * Combines basic browser signals into a hash.\r\n * @internal\r\n */\r\n private generateFallbackFingerprint(): string {\r\n const signals = [\r\n navigator.userAgent,\r\n navigator.language,\r\n screen.width + 'x' + screen.height,\r\n screen.colorDepth?.toString() ?? '',\r\n Intl.DateTimeFormat().resolvedOptions().timeZone,\r\n navigator.hardwareConcurrency?.toString() ?? '',\r\n ].join('|');\r\n\r\n // Simple string hash (djb2)\r\n let hash = 5381;\r\n for (let i = 0; i < signals.length; i++) {\r\n hash = ((hash << 5) + hash + signals.charCodeAt(i)) >>> 0;\r\n }\r\n return hash.toString(36).padStart(12, '0');\r\n }\r\n}\r\n","/**\r\n * @module ng-ui-system/blackbox\r\n * IndexedDB storage adapter for BlackBox sessions.\r\n *\r\n * Handles persistence, compression (via native CompressionStream gzip),\r\n * quota enforcement, and JSONL export.\r\n *\r\n * Design notes:\r\n * - DB name: `ui-blackbox`, object store: `sessions`\r\n * - Each session is gzip-compressed before storage for both size\r\n * reduction and inherent obfuscation\r\n * - Quota enforced by total stored size; oldest sessions are pruned first\r\n */\r\n\r\nimport { Injectable, inject, PLATFORM_ID } from '@angular/core';\r\nimport { isPlatformBrowser } from '@angular/common';\r\nimport type { UiBlackboxSession, UiBlackboxConfig } from './blackbox.types';\r\nimport { UI_BLACKBOX_DEFAULTS } from './blackbox.types';\r\n\r\nconst DB_NAME = 'ui-blackbox';\r\nconst DB_VERSION = 1;\r\nconst STORE_NAME = 'sessions';\r\n\r\n/**\r\n * Low-level IndexedDB adapter for reading/writing compressed BlackBox sessions.\r\n *\r\n * @usageNotes\r\n * This service is used internally by `UiBlackboxService`.\r\n * Consumers should interact with the higher-level `UiBlackboxService` API.\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class UiBlackboxStorageService {\r\n private readonly platformId = inject(PLATFORM_ID);\r\n private db: IDBDatabase | null = null;\r\n private maxStorageMb = UI_BLACKBOX_DEFAULTS.maxStorageMb;\r\n\r\n // ─── Configuration ─────────────────────────────────────────────────\r\n\r\n /** Update the storage quota from the parent service config. */\r\n setMaxStorageMb(mb: number): void {\r\n this.maxStorageMb = mb;\r\n }\r\n\r\n // ─── Database lifecycle ────────────────────────────────────────────\r\n\r\n /** Open (or create) the IndexedDB database. */\r\n private async openDb(): Promise<IDBDatabase> {\r\n if (this.db) return this.db;\r\n if (!isPlatformBrowser(this.platformId)) {\r\n throw new Error('IndexedDB is not available in SSR');\r\n }\r\n\r\n return new Promise<IDBDatabase>((resolve, reject) => {\r\n const request = indexedDB.open(DB_NAME, DB_VERSION);\r\n\r\n request.onupgradeneeded = () => {\r\n const db = request.result;\r\n if (!db.objectStoreNames.contains(STORE_NAME)) {\r\n const store = db.createObjectStore(STORE_NAME, { keyPath: 'sessionId' });\r\n store.createIndex('fingerprint', 'fingerprint', { unique: false });\r\n store.createIndex('startedAt', 'startedAt', { unique: false });\r\n }\r\n };\r\n\r\n request.onsuccess = () => {\r\n this.db = request.result;\r\n resolve(this.db);\r\n };\r\n\r\n request.onerror = () => reject(request.error);\r\n });\r\n }\r\n\r\n // ─── Compression helpers ───────────────────────────────────────────\r\n\r\n /** Compress a string to a gzip Uint8Array using native CompressionStream. */\r\n private async compress(data: string): Promise<Uint8Array> {\r\n const encoder = new TextEncoder();\r\n const stream = new Blob([encoder.encode(data) as BlobPart])\r\n .stream()\r\n .pipeThrough(new CompressionStream('gzip'));\r\n\r\n const reader = stream.getReader();\r\n const chunks: Uint8Array[] = [];\r\n let done = false;\r\n\r\n while (!done) {\r\n const result = await reader.read();\r\n done = result.done;\r\n if (result.value) {\r\n chunks.push(result.value);\r\n }\r\n }\r\n\r\n // Merge chunks into a single ArrayBuffer-backed Uint8Array\r\n const totalLength = chunks.reduce((sum, c) => sum + c.length, 0);\r\n const buffer = new ArrayBuffer(totalLength);\r\n const merged = new Uint8Array(buffer);\r\n let offset = 0;\r\n for (const chunk of chunks) {\r\n merged.set(chunk, offset);\r\n offset += chunk.length;\r\n }\r\n return merged;\r\n }\r\n\r\n /** Decompress a gzip Uint8Array back to a string. */\r\n private async decompress(data: Uint8Array): Promise<string> {\r\n const stream = new Blob([data as BlobPart])\r\n .stream()\r\n .pipeThrough(new DecompressionStream('gzip'));\r\n\r\n const reader = stream.getReader();\r\n const decoder = new TextDecoder();\r\n let result = '';\r\n let done = false;\r\n\r\n while (!done) {\r\n const chunk = await reader.read();\r\n done = chunk.done;\r\n if (chunk.value) {\r\n result += decoder.decode(chunk.value, { stream: !done });\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n // ─── CRUD ──────────────────────────────────────────────────────────\r\n\r\n /**\r\n * Persist a session to IndexedDB (gzip-compressed).\r\n * Enforces quota after saving.\r\n */\r\n async saveSession(session: UiBlackboxSession): Promise<void> {\r\n const db = await this.openDb();\r\n const json = JSON.stringify(session);\r\n const compressed = await this.compress(json);\r\n\r\n return new Promise<void>((resolve, reject) => {\r\n const tx = db.transaction(STORE_NAME, 'readwrite');\r\n const store = tx.objectStore(STORE_NAME);\r\n\r\n // Store as { sessionId, fingerprint, startedAt, data: Uint8Array }\r\n store.put({\r\n sessionId: session.sessionId,\r\n fingerprint: session.fingerprint,\r\n startedAt: session.startedAt,\r\n sizeBytes: compressed.byteLength,\r\n data: compressed,\r\n });\r\n\r\n tx.oncomplete = () => {\r\n this.enforceQuota().then(resolve).catch(resolve);\r\n };\r\n tx.onerror = () => reject(tx.error);\r\n });\r\n }\r\n\r\n /**\r\n * Read and decompress a single session by ID.\r\n */\r\n async getSession(sessionId: string): Promise<UiBlackboxSession | null> {\r\n const db = await this.openDb();\r\n\r\n return new Promise((resolve, reject) => {\r\n const tx = db.transaction(STORE_NAME, 'readonly');\r\n const store = tx.objectStore(STORE_NAME);\r\n const req = store.get(sessionId);\r\n\r\n req.onsuccess = async () => {\r\n if (!req.result) {\r\n resolve(null);\r\n return;\r\n }\r\n try {\r\n const json = await this.decompress(req.result.data);\r\n resolve(JSON.parse(json));\r\n } catch (e) {\r\n reject(e);\r\n }\r\n };\r\n req.onerror = () => reject(req.error);\r\n });\r\n }\r\n\r\n /**\r\n * Get all stored sessions (decompressed).\r\n */\r\n async getAllSessions(): Promise<UiBlackboxSession[]> {\r\n const db = await this.openDb();\r\n\r\n return new Promise((resolve, reject) => {\r\n const tx = db.transaction(STORE_NAME, 'readonly');\r\n const store = tx.objectStore(STORE_NAME);\r\n const req = store.getAll();\r\n\r\n req.onsuccess = async () => {\r\n try {\r\n const sessions: UiBlackboxSession[] = [];\r\n for (const record of req.result) {\r\n const json = await this.decompress(record.data);\r\n sessions.push(JSON.parse(json));\r\n }\r\n resolve(sessions);\r\n } catch (e) {\r\n reject(e);\r\n }\r\n };\r\n req.onerror = () => reject(req.error);\r\n });\r\n }\r\n\r\n /**\r\n * Get all sessions for a given fingerprint.\r\n */\r\n async getSessionsByFingerprint(fingerprint: string): Promise<UiBlackboxSession[]> {\r\n const db = await this.openDb();\r\n\r\n return new Promise((resolve, reject) => {\r\n const tx = db.transaction(STORE_NAME, 'readonly');\r\n const store = tx.objectStore(STORE_NAME);\r\n const index = store.index('fingerprint');\r\n const req = index.getAll(fingerprint);\r\n\r\n req.onsuccess = async () => {\r\n try {\r\n const sessions: UiBlackboxSession[] = [];\r\n for (const record of req.result) {\r\n const json = await this.decompress(record.data);\r\n sessions.push(JSON.parse(json));\r\n }\r\n resolve(sessions);\r\n } catch (e) {\r\n reject(e);\r\n }\r\n };\r\n req.onerror = () => reject(req.error);\r\n });\r\n }\r\n\r\n /**\r\n * Generate a downloadable JSONL Blob of all sessions.\r\n * Each line is one JSON-serialised session (decompressed).\r\n */\r\n async exportDump(): Promise<Blob> {\r\n const sessions = await this.getAllSessions();\r\n const lines = sessions.map((s) => JSON.stringify(s)).join('\\n');\r\n return new Blob([lines], { type: 'application/x-ndjson' });\r\n }\r\n\r\n /**\r\n * Delete all stored sessions.\r\n */\r\n async clearAll(): Promise<void> {\r\n const db = await this.openDb();\r\n\r\n return new Promise<void>((resolve, reject) => {\r\n const tx = db.transaction(STORE_NAME, 'readwrite');\r\n const store = tx.objectStore(STORE_NAME);\r\n store.clear();\r\n tx.oncomplete = () => resolve();\r\n tx.onerror = () => reject(tx.error);\r\n });\r\n }\r\n\r\n // ─── Quota enforcement ─────────────────────────────────────────────\r\n\r\n /**\r\n * Prune oldest sessions until total stored size is under `maxStorageMb`.\r\n * @internal\r\n */\r\n async enforceQuota(): Promise<void> {\r\n const db = await this.openDb();\r\n const maxBytes = this.maxStorageMb * 1024 * 1024;\r\n\r\n return new Promise<void>((resolve, reject) => {\r\n const tx = db.transaction(STORE_NAME, 'readwrite');\r\n const store = tx.objectStore(STORE_NAME);\r\n const index = store.index('startedAt');\r\n\r\n // Collect all records sorted by startedAt (ascending = oldest first)\r\n const cursorReq = index.openCursor();\r\n const records: { key: IDBValidKey; size: number }[] = [];\r\n let totalSize = 0;\r\n\r\n cursorReq.onsuccess = () => {\r\n const cursor = cursorReq.result;\r\n if (cursor) {\r\n const size: number = cursor.value.sizeBytes || 0;\r\n totalSize += size;\r\n records.push({ key: cursor.primaryKey, size });\r\n cursor.continue();\r\n } else {\r\n // Cursor exhausted — prune if over quota\r\n if (totalSize <= maxBytes) {\r\n resolve();\r\n return;\r\n }\r\n\r\n let freed = 0;\r\n const target = totalSize - maxBytes;\r\n for (const record of records) {\r\n if (freed >= target) break;\r\n store.delete(record.key);\r\n freed += record.size;\r\n }\r\n resolve();\r\n }\r\n };\r\n\r\n cursorReq.onerror = () => reject(cursorReq.error);\r\n tx.onerror = () => reject(tx.error);\r\n });\r\n }\r\n}\r\n","/**\r\n * @module ng-ui-system/blackbox\r\n * Core BlackBox observability service — the main entry point for session\r\n * recording, event buffering, and export.\r\n *\r\n * Architecture:\r\n * - Root singleton (`providedIn: 'root'`)\r\n * - On first inject: generates fingerprint, creates session, subscribes to Router events\r\n * - Centralised in-memory buffer with periodic/threshold-based flush to IndexedDB\r\n * - `window:beforeunload` triggers a final best-effort async flush\r\n */\r\n\r\nimport {\r\n Injectable,\r\n inject,\r\n PLATFORM_ID,\r\n OnDestroy,\r\n NgZone,\r\n} from '@angular/core';\r\nimport { isPlatformBrowser } from '@angular/common';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\nimport { Subject } from 'rxjs';\r\nimport { filter, takeUntil } from 'rxjs/operators';\r\n\r\nimport {\r\n UiBlackboxConfig,\r\n UiBlackboxFormTrackingConfig,\r\n UiBlackboxSession,\r\n UiBlackboxStep,\r\n UiBlackboxAction,\r\n UiBlackboxFormEvent,\r\n UiBlackboxHttpCall,\r\n UiBlackboxBufferEvent,\r\n UI_BLACKBOX_DEFAULTS,\r\n} from './blackbox.types';\r\nimport { UiBlackboxFingerprintService } from './blackbox-fingerprint.service';\r\nimport { UiBlackboxStorageService } from './blackbox-storage.service';\r\n\r\n/**\r\n * Central BlackBox observability service.\r\n *\r\n * Records navigation, UI interactions, form events, and HTTP calls\r\n * into compressed sessions stored in IndexedDB.\r\n *\r\n * @usageNotes\r\n * The service activates automatically when injected. Provide it at root level\r\n * and it will start recording immediately.\r\n *\r\n * ```typescript\r\n * // app.config.ts — just importing the service is enough\r\n * import { UiBlackboxService } from '@gnggln/ng-ui-system';\r\n *\r\n * export const appConfig: ApplicationConfig = {\r\n * providers: [\r\n * // The service is providedIn: 'root', so it's auto-provided.\r\n * // To force eager initialisation:\r\n * { provide: APP_INITIALIZER, useFactory: () => () => inject(UiBlackboxService), multi: true },\r\n * ],\r\n * };\r\n * ```\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class UiBlackboxService implements OnDestroy {\r\n private readonly platformId = inject(PLATFORM_ID);\r\n private readonly router = inject(Router);\r\n private readonly zone = inject(NgZone);\r\n private readonly fingerprint = inject(UiBlackboxFingerprintService);\r\n private readonly storage = inject(UiBlackboxStorageService);\r\n\r\n private readonly destroy$ = new Subject<void>();\r\n private config: UiBlackboxConfig = { ...UI_BLACKBOX_DEFAULTS };\r\n\r\n // ─── Session state ─────────────────────────────────────────────────\r\n private session!: UiBlackboxSession;\r\n private currentStep: UiBlackboxStep | null = null;\r\n private initialised = false;\r\n\r\n // ─── Centralised event buffer ──────────────────────────────────────\r\n private buffer: UiBlackboxBufferEvent[] = [];\r\n private flushTimerId: ReturnType<typeof setInterval> | null = null;\r\n private beforeUnloadHandler: (() => void) | null = null;\r\n\r\n constructor() {\r\n if (isPlatformBrowser(this.platformId)) {\r\n this.init();\r\n }\r\n }\r\n\r\n // ─── Initialisation ────────────────────────────────────────────────\r\n\r\n private async init(): Promise<void> {\r\n // Generate session ID\r\n const sessionId = this.generateUuid();\r\n const fp = await this.fingerprint.getFingerprint();\r\n\r\n this.session = {\r\n sessionId,\r\n fingerprint: fp,\r\n startedAt: Date.now(),\r\n userAgent: navigator.userAgent,\r\n steps: [],\r\n formEvents: [],\r\n calls: [],\r\n };\r\n\r\n // Create initial step from current URL\r\n this.currentStep = {\r\n timestamp: Date.now(),\r\n route: this.router.url,\r\n actions: [],\r\n };\r\n this.session.steps.push(this.currentStep);\r\n\r\n // Subscribe to router navigation\r\n this.router.events\r\n .pipe(\r\n filter((e): e is NavigationEnd => e instanceof NavigationEnd),\r\n takeUntil(this.destroy$),\r\n )\r\n .subscribe((event) => {\r\n const previousRoute = this.currentStep?.route;\r\n this.currentStep = {\r\n timestamp: Date.now(),\r\n route: event.urlAfterRedirects,\r\n previousRoute,\r\n actions: [],\r\n };\r\n this.pushBufferEvent({ kind: 'step', payload: this.currentStep });\r\n });\r\n\r\n // Setup periodic flush (outside Angular zone to avoid triggering CD)\r\n this.zone.runOutsideAngular(() => {\r\n this.flushTimerId = setInterval(\r\n () => this.flush(),\r\n this.config.flushIntervalMs,\r\n );\r\n\r\n // Best-effort flush on tab close (IndexedDB is async, no sync fallback)\r\n this.beforeUnloadHandler = () => {\r\n this.session.endedAt = Date.now();\r\n void this.flush();\r\n };\r\n window.addEventListener('beforeunload', this.beforeUnloadHandler);\r\n });\r\n\r\n this.initialised = true;\r\n }\r\n\r\n // ─── Public API: Configuration ─────────────────────────────────────\r\n\r\n /**\r\n * Update the BlackBox configuration.\r\n * Can be called at any time; changes take effect immediately.\r\n */\r\n configure(config: Partial<Omit<UiBlackboxConfig, 'formTracking'>> & { formTracking?: Partial<UiBlackboxFormTrackingConfig> }): void {\r\n this.config = {\r\n ...this.config,\r\n ...config,\r\n formTracking: {\r\n ...this.config.formTracking,\r\n ...(config.formTracking ?? {}),\r\n },\r\n };\r\n this.storage.setMaxStorageMb(this.config.maxStorageMb);\r\n\r\n // Restart flush timer with new interval\r\n if (this.flushTimerId !== null) {\r\n clearInterval(this.flushTimerId);\r\n this.zone.runOutsideAngular(() => {\r\n this.flushTimerId = setInterval(\r\n () => this.flush(),\r\n this.config.flushIntervalMs,\r\n );\r\n });\r\n }\r\n }\r\n\r\n /** Returns the current configuration (readonly snapshot). */\r\n getConfig(): Readonly<UiBlackboxConfig> {\r\n return { ...this.config };\r\n }\r\n\r\n // ─── Public API: Tracking ──────────────────────────────────────────\r\n\r\n /**\r\n * Manually track a UI action (click).\r\n *\r\n * Called automatically by `UiButtonAreaComponent` and the `[uiTrack]` directive.\r\n * Can also be called programmatically for custom interactions.\r\n *\r\n * @param trackId - Identifier for the action (e.g. button id, link name).\r\n * @param meta - Optional metadata: `tag`, `text`, `id` of the element.\r\n */\r\n trackAction(\r\n trackId: string,\r\n meta?: { tag?: string; text?: string; id?: string },\r\n ): void {\r\n if (!this.initialised) return;\r\n\r\n const action: UiBlackboxAction = {\r\n timestamp: Date.now(),\r\n type: 'click',\r\n target: {\r\n tag: meta?.tag ?? 'unknown',\r\n id: meta?.id,\r\n trackId,\r\n text: meta?.text?.substring(0, 50),\r\n },\r\n };\r\n\r\n // Add to current step immediately (for in-memory session access)\r\n this.currentStep?.actions.push(action);\r\n\r\n // Also push to buffer for persistence\r\n this.pushBufferEvent({\r\n kind: 'action',\r\n payload: { ...action, route: this.currentStep?.route ?? this.router.url },\r\n });\r\n }\r\n\r\n /**\r\n * Track a form interaction event.\r\n *\r\n * Called automatically by `UiFormBuilderComponent` when the BlackBox\r\n * service is available.\r\n */\r\n trackFormEvent(event: UiBlackboxFormEvent): void {\r\n if (!this.initialised) return;\r\n\r\n this.session.formEvents.push(event);\r\n this.pushBufferEvent({ kind: 'formEvent', payload: event });\r\n }\r\n\r\n /**\r\n * Track an intercepted HTTP call.\r\n * Called by `UiBlackboxInterceptor`.\r\n * @internal\r\n */\r\n trackHttpCall(call: UiBlackboxHttpCall): void {\r\n if (!this.initialised) return;\r\n\r\n this.session.calls.push(call);\r\n this.pushBufferEvent({ kind: 'httpCall', payload: call });\r\n }\r\n\r\n // ─── Public API: Session access ────────────────────────────────────\r\n\r\n /**\r\n * Returns the current in-memory session (live, not yet flushed).\r\n * Useful for debugging or real-time inspection.\r\n */\r\n getCurrentSession(): UiBlackboxSession {\r\n return this.session;\r\n }\r\n\r\n /**\r\n * Retrieve all sessions stored in IndexedDB (decompressed).\r\n */\r\n async getSessionHistory(): Promise<UiBlackboxSession[]> {\r\n return this.storage.getAllSessions();\r\n }\r\n\r\n /**\r\n * Retrieve sessions for the current device fingerprint.\r\n */\r\n async getSessionsForDevice(): Promise<UiBlackboxSession[]> {\r\n const fp = await this.fingerprint.getFingerprint();\r\n return this.storage.getSessionsByFingerprint(fp);\r\n }\r\n\r\n // ─── Public API: Export ────────────────────────────────────────────\r\n\r\n /**\r\n * Export all sessions as a downloadable JSONL Blob.\r\n *\r\n * @returns A Blob containing JSONL data (one session per line).\r\n *\r\n * @example\r\n * ```typescript\r\n * const blob = await blackbox.exportSessions();\r\n * const url = URL.createObjectURL(blob);\r\n * const a = document.createElement('a');\r\n * a.href = url;\r\n * a.download = 'blackbox-sessions.jsonl';\r\n * a.click();\r\n * ```\r\n */\r\n async exportSessions(): Promise<Blob> {\r\n // Flush current session first\r\n await this.flush();\r\n return this.storage.exportDump();\r\n }\r\n\r\n // ─── Public API: Lifecycle ─────────────────────────────────────────\r\n\r\n /**\r\n * Explicitly end the current session.\r\n * Flushes all buffered events and marks the session as ended.\r\n */\r\n async endSession(): Promise<void> {\r\n if (!this.initialised) return;\r\n this.session.endedAt = Date.now();\r\n await this.flush();\r\n }\r\n\r\n /**\r\n * Clear all stored sessions from IndexedDB.\r\n */\r\n async clearHistory(): Promise<void> {\r\n return this.storage.clearAll();\r\n }\r\n\r\n // ─── Buffer management ─────────────────────────────────────────────\r\n\r\n /**\r\n * Push an event into the centralised buffer.\r\n * Triggers an immediate flush if the buffer exceeds the threshold.\r\n * @internal\r\n */\r\n private pushBufferEvent(event: UiBlackboxBufferEvent): void {\r\n this.buffer.push(event);\r\n if (this.buffer.length >= this.config.flushThreshold) {\r\n this.flush();\r\n }\r\n }\r\n\r\n /**\r\n * Flush buffered events to IndexedDB asynchronously.\r\n * @internal\r\n */\r\n private async flush(): Promise<void> {\r\n if (!this.initialised || this.buffer.length === 0) return;\r\n\r\n // Drain buffer\r\n const events = this.buffer.splice(0);\r\n\r\n // Apply step events to the session\r\n for (const event of events) {\r\n if (event.kind === 'step') {\r\n // Steps are already pushed in real-time; ensure they're in the session\r\n if (!this.session.steps.includes(event.payload)) {\r\n this.session.steps.push(event.payload);\r\n }\r\n }\r\n // Actions, formEvents, httpCalls are already pushed in real-time\r\n // to the in-memory session by trackAction/trackFormEvent/trackHttpCall\r\n }\r\n\r\n // Save the full session snapshot\r\n try {\r\n await this.storage.saveSession(this.session);\r\n } catch (e) {\r\n // storage error — re-enqueue events for next flush\r\n console.warn('[UiBlackbox] Storage flush failed:', e);\r\n }\r\n }\r\n\r\n // ─── Utilities ─────────────────────────────────────────────────────\r\n\r\n /** Generate a UUID v4. */\r\n private generateUuid(): string {\r\n if (typeof crypto !== 'undefined' && crypto.randomUUID) {\r\n return crypto.randomUUID();\r\n }\r\n // Fallback for older browsers\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\r\n const r = (Math.random() * 16) | 0;\r\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\r\n return v.toString(16);\r\n });\r\n }\r\n\r\n // ─── Cleanup ───────────────────────────────────────────────────────\r\n\r\n ngOnDestroy(): void {\r\n this.destroy$.next();\r\n this.destroy$.complete();\r\n\r\n if (this.flushTimerId !== null) {\r\n clearInterval(this.flushTimerId);\r\n }\r\n\r\n if (this.beforeUnloadHandler) {\r\n window.removeEventListener('beforeunload', this.beforeUnloadHandler);\r\n }\r\n\r\n // Final flush\r\n void this.flush();\r\n }\r\n}\r\n","import { Component, Input, ChangeDetectionStrategy, ViewEncapsulation, inject } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { UiSize } from '../../core/types';\r\nimport { UiButtonComponent } from './button.component';\r\nimport { UiButtonDescriptor, UiButtonAreaAlign } from './button.types';\r\nimport { UiBlackboxService } from '../blackbox/blackbox.service';\r\n\r\n/**\r\n * Standalone button-group component driven by a `UiButtonDescriptor[]` configuration.\r\n *\r\n * Renders a group of `UiButton` instances from declarative descriptors.\r\n * Supports per-button loading/disabled states, dynamic visibility,\r\n * alignment control, and optional navigation via Angular Router.\r\n *\r\n * When the `UiBlackboxService` is provided, button clicks are\r\n * automatically tracked in the active session.\r\n *\r\n * @selector ui-button-area\r\n *\r\n * @example\r\n * ```html\r\n * <ui-button-area\r\n * [buttons]=\"actions\"\r\n * align=\"end\"\r\n * gap=\"sm\"\r\n * [loadingIds]=\"currentlyLoading\"\r\n * />\r\n * ```\r\n *\r\n * @example\r\n * ```typescript\r\n * // Dynamic configuration\r\n * actions: UiButtonDescriptor[] = [\r\n * { id: 'export', label: 'Export Excel', icon: 'file-spreadsheet', variant: 'primary',\r\n * action: () => this.exportExcel() },\r\n * { id: 'delete', label: 'Delete', icon: 'trash-2', variant: 'warn',\r\n * action: () => this.deleteSelected(), hidden: !this.hasSelection },\r\n * ];\r\n *\r\n * // Set loading state from outside:\r\n * currentlyLoading: string | string[] | null = 'export';\r\n * ```\r\n */\r\n@Component({\r\n selector: 'ui-button-area',\r\n standalone: true,\r\n imports: [UiButtonComponent],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n host: {\r\n class: 'ui-button-area-host',\r\n },\r\n template: `\r\n <div\r\n [class]=\"areaClasses\"\r\n role=\"group\"\r\n [attr.aria-label]=\"ariaLabel\"\r\n >\r\n @for (button of visibleButtons; track trackButton($index, button)) {\r\n <ui-button\r\n [attr.data-button-id]=\"button.id || null\"\r\n [label]=\"button.label\"\r\n [tooltip]=\"button.tooltip ?? ''\"\r\n [ariaLabel]=\"button.ariaLabel\"\r\n [icon]=\"button.icon\"\r\n [iconPosition]=\"button.iconPosition ?? 'trailing'\"\r\n [variant]=\"button.variant ?? 'primary'\"\r\n [size]=\"button.size ?? 'md'\"\r\n [loading]=\"isButtonLoading(button)\"\r\n [disabled]=\"isButtonDisabled(button)\"\r\n [customClass]=\"button.customClass\"\r\n (click)=\"handleButtonClick(button, $event)\"\r\n />\r\n }\r\n </div>\r\n `,\r\n styleUrl: './button-area.component.scss',\r\n})\r\nexport class UiButtonAreaComponent {\r\n /**\r\n * Array of button descriptors to render.\r\n * Buttons with `hidden: true` are filtered out.\r\n */\r\n @Input() buttons: UiButtonDescriptor[] = [];\r\n\r\n /** Horizontal alignment of the button group. */\r\n @Input() align: UiButtonAreaAlign = 'end';\r\n\r\n /** Accessible group label for screen readers. */\r\n @Input() ariaLabel = 'Actions';\r\n\r\n /** Gap between buttons (maps to design token spacing). */\r\n @Input() gap: UiSize = 'sm';\r\n\r\n /** Stack buttons vertically on mobile viewports (<600px). */\r\n @Input() stackOnMobile = true;\r\n\r\n /**\r\n * When `true`, all buttons are disabled while any button is in a loading state.\r\n * Useful to prevent double-actions during async operations.\r\n */\r\n @Input() disableWhileLoading = false;\r\n\r\n /**\r\n * Set one or more buttons to a loading state by their `id`.\r\n * Accepts a single string, an array of strings, or `null` to clear.\r\n *\r\n * @example\r\n * ```html\r\n * <!-- Single -->\r\n * <ui-button-area [loadingIds]=\"'save'\" />\r\n *\r\n * <!-- Multiple -->\r\n * <ui-button-area [loadingIds]=\"['save', 'export']\" />\r\n * ```\r\n */\r\n @Input()\r\n set loadingIds(value: string | string[] | null | undefined) {\r\n if (value === null || value === undefined) {\r\n this._loadingIds = new Set();\r\n } else if (Array.isArray(value)) {\r\n this._loadingIds = new Set(value);\r\n } else {\r\n this._loadingIds = new Set([value]);\r\n }\r\n }\r\n\r\n /** @internal */\r\n private _loadingIds = new Set<string>();\r\n\r\n /** @internal Optional router for href navigation. */\r\n private router = inject(Router, { optional: true });\r\n\r\n /** @internal Optional BlackBox service — auto-tracks button clicks when available. */\r\n private blackbox = inject(UiBlackboxService, { optional: true });\r\n\r\n /** Buttons filtered to visible (non-hidden) entries. */\r\n get visibleButtons(): UiButtonDescriptor[] {\r\n return this.buttons.filter((b) => !b.hidden);\r\n }\r\n\r\n /** Assembled CSS class string for the button area container. */\r\n get areaClasses(): string {\r\n return [\r\n 'ui-button-area',\r\n `ui-button-area--align-${this.align}`,\r\n `ui-button-area--gap-${this.gap}`,\r\n this.stackOnMobile ? 'ui-button-area--stack-mobile' : '',\r\n ]\r\n .filter(Boolean)\r\n .join(' ');\r\n }\r\n\r\n /** @internal Track function for @for loop. */\r\n trackButton(index: number, button: UiButtonDescriptor): string {\r\n return button.id ?? `idx-${index}`;\r\n }\r\n\r\n /** Whether a specific button is in a loading state. */\r\n isButtonLoading(button: UiButtonDescriptor): boolean {\r\n return !!button.loading || (!!button.id && this._loadingIds.has(button.id));\r\n }\r\n\r\n /** Whether a specific button is disabled (includes loading logic). */\r\n isButtonDisabled(button: UiButtonDescriptor): boolean {\r\n if (button.disabled) return true;\r\n if (this.isButtonLoading(button)) return true;\r\n if (this.disableWhileLoading && this._loadingIds.size > 0) return true;\r\n return false;\r\n }\r\n\r\n /** @internal Handles button click: tracks action, calls callback and/or navigates. */\r\n handleButtonClick(button: UiButtonDescriptor, event: MouseEvent): void {\r\n // BlackBox auto-tracking (no-op if service is not provided)\r\n this.blackbox?.trackAction(button.id ?? button.label, {\r\n tag: 'ui-button',\r\n id: button.id,\r\n text: button.label,\r\n });\r\n\r\n if (button.action) {\r\n button.action(event);\r\n }\r\n if (button.href && this.router) {\r\n this.router.navigateByUrl(button.href);\r\n }\r\n }\r\n}\r\n\r\n","/**\r\n * ng-ui-system — Button entry point.\r\n *\r\n * @example\r\n * ```typescript\r\n * import {\r\n * UiButtonComponent,\r\n * UiButtonAreaComponent,\r\n * UiButtonDescriptor,\r\n * } from 'ng-ui-system';\r\n * ```\r\n */\r\n\r\n// Components\r\nexport { UiButtonComponent } from './button.component';\r\nexport { UiButtonAreaComponent } from './button-area.component';\r\n\r\n// Types\r\nexport {\r\n UiButtonDescriptor,\r\n UiButtonAreaAlign,\r\n UiIconPosition,\r\n} from './button.types';\r\n","/**\n * Bootstrap del secondary entry `@gnggln/ng-ui-system/button`. Button e Button Area.\n */\nexport * from './lib/components/button/index';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entry-button';\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;AACA,MAAM,aAAa,GAA2B;AAC5C,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;CACP,CAAC;AAEF;;;;;;;;;;;;;;;;;;;AAmBG;MA0CU,iBAAiB,CAAA;AAzC9B,IAAA,WAAA,GAAA;;QA2CW,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;;QAGX,IAAO,CAAA,OAAA,GAAG,EAAE,CAAC;;QAGb,IAAO,CAAA,OAAA,GAAc,SAAS,CAAC;;QAG/B,IAAI,CAAA,IAAA,GAAW,IAAI,CAAC;;QAMpB,IAAY,CAAA,YAAA,GAAmB,UAAU,CAAC;;QAG1C,IAAO,CAA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EG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,117 @@
1
+ /**
2
+ * Shared types for ng-ui-system components.
3
+ * These types are used across multiple components to ensure consistency.
4
+ */
5
+
6
+ /**
7
+ * Shared utility functions for ng-ui-system components.
8
+ */
9
+ /**
10
+ * Generates a unique ID with an optional prefix.
11
+ * Uses crypto.randomUUID() when available for better randomness, falls back to crypto.getRandomValues().
12
+ * Useful for linking labels to form controls, ARIA attributes, etc.
13
+ *
14
+ * @param prefix - Optional prefix for the generated ID.
15
+ * @returns A unique string ID.
16
+ */
17
+ function uiUniqueId(prefix = 'ui') {
18
+ let randomPart;
19
+ // Try crypto.randomUUID() first (modern browsers/Node 19+)
20
+ if (typeof crypto !== 'undefined' && crypto.randomUUID) {
21
+ randomPart = crypto.randomUUID().substring(0, 8);
22
+ }
23
+ // Fallback to crypto.getRandomValues()
24
+ else if (typeof crypto !== 'undefined' && crypto.getRandomValues) {
25
+ const array = new Uint8Array(4);
26
+ crypto.getRandomValues(array);
27
+ randomPart = Array.from(array, (byte) => byte.toString(36))
28
+ .join('')
29
+ .substring(0, 8);
30
+ }
31
+ // Final fallback to Math.random() for older environments
32
+ else {
33
+ randomPart = Math.random().toString(36).substring(2, 9); // NOSONAR - Fallback for environments without crypto API
34
+ }
35
+ return `${prefix}-${randomPart}`;
36
+ }
37
+ /**
38
+ * Coerces a value to a boolean.
39
+ * Useful for handling string boolean attributes in templates.
40
+ *
41
+ * @param value - The value to coerce.
42
+ * @returns The boolean representation.
43
+ */
44
+ function uiCoerceBoolean(value) {
45
+ return value != null && `${value}` !== 'false';
46
+ }
47
+ /**
48
+ * Clamps a number between a minimum and maximum value.
49
+ *
50
+ * @param value - The value to clamp.
51
+ * @param min - The minimum allowed value.
52
+ * @param max - The maximum allowed value.
53
+ * @returns The clamped value.
54
+ */
55
+ function uiClamp(value, min, max) {
56
+ return Math.max(min, Math.min(max, value));
57
+ }
58
+ /**
59
+ * Removes all `null` and `undefined` values from an object.
60
+ * Returns a new object — the original is not mutated.
61
+ *
62
+ * @param obj - The source object.
63
+ * @returns A shallow copy with nullish entries removed.
64
+ *
65
+ * @example
66
+ * ```typescript
67
+ * uiFilterNullish({ a: 1, b: null, c: 'x', d: undefined });
68
+ * // → { a: 1, c: 'x' }
69
+ * ```
70
+ */
71
+ function uiFilterNullish(obj) {
72
+ return Object.entries(obj)
73
+ .filter(([, value]) => value !== null && value !== undefined)
74
+ .reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {});
75
+ }
76
+ /**
77
+ * Converts a key-value object into a URL query string.
78
+ * Nullish values are filtered out automatically.
79
+ *
80
+ * @param params - Query parameter object.
81
+ * @returns A query string like `?key=value&key2=value2`, or an empty string if no params.
82
+ *
83
+ * @example
84
+ * ```typescript
85
+ * uiQueryParamsToPath({ search: 'test', page: 1, active: true });
86
+ * // → '?search=test&page=1&active=true'
87
+ *
88
+ * uiQueryParamsToPath(undefined);
89
+ * // → ''
90
+ * ```
91
+ */
92
+ function uiQueryParamsToPath(params) {
93
+ if (!params)
94
+ return '';
95
+ const searchParams = new URLSearchParams();
96
+ Object.entries(uiFilterNullish(params)).forEach(([key, value]) => {
97
+ if (Array.isArray(value)) {
98
+ value.forEach((v) => searchParams.append(key, String(v ?? '')));
99
+ }
100
+ else {
101
+ searchParams.append(key, String(value ?? ''));
102
+ }
103
+ });
104
+ const str = searchParams.toString();
105
+ return str ? `?${str}` : '';
106
+ }
107
+
108
+ /**
109
+ * Bootstrap del secondary entry `@gnggln/ng-ui-system/core`. Tipi condivisi e utility core.
110
+ */
111
+
112
+ /**
113
+ * Generated bundle index. Do not edit.
114
+ */
115
+
116
+ export { uiClamp, uiCoerceBoolean, uiFilterNullish, uiQueryParamsToPath, uiUniqueId };
117
+ //# sourceMappingURL=gnggln-ng-ui-system-core.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gnggln-ng-ui-system-core.mjs","sources":["../../../packages/ng-ui-system/src/lib/core/types/index.ts","../../../packages/ng-ui-system/src/lib/core/utils/index.ts","../../../packages/ng-ui-system/src/entry-core.ts","../../../packages/ng-ui-system/src/gnggln-ng-ui-system-core.ts"],"sourcesContent":["/**\r\n * Shared types for ng-ui-system components.\r\n * These types are used across multiple components to ensure consistency.\r\n */\r\n\r\n/** Standard size variants used across components. */\r\nexport type UiSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\r\n\r\n/** Visual style variants for components. */\r\nexport type UiVariant = 'primary' | 'accent' | 'warn' | 'neutral' | 'ghost' | 'outline';\r\n\r\n/** Semantic color palette tokens. */\r\nexport type UiColor = 'primary' | 'accent' | 'warn' | 'success' | 'info' | 'neutral';\r\n\r\n/** Layout direction. */\r\nexport type UiDirection = 'horizontal' | 'vertical';\r\n\r\n/** Horizontal alignment. */\r\nexport type UiAlign = 'start' | 'center' | 'end' | 'stretch';\r\n\r\n/** Component density options for compact or spacious layouts. */\r\nexport type UiDensity = 'compact' | 'default' | 'comfortable';\r\n\r\n/**\r\n * Common Lucide icon names with autocomplete support.\r\n * Accepts any valid Lucide icon name as a string.\r\n *\r\n * Provides IntelliSense for the most frequently used enterprise icons.\r\n * For the full icon catalogue, visit https://lucide.dev/icons\r\n *\r\n * @example\r\n * ```typescript\r\n * const myIcon: UiIconName = 'arrow-right'; // autocomplete ✓\r\n * const custom: UiIconName = 'my-custom-icon'; // still valid\r\n * ```\r\n */\r\nexport type UiIconName =\r\n // ── Navigation ──\r\n | 'arrow-right'\r\n | 'arrow-left'\r\n | 'arrow-up'\r\n | 'arrow-down'\r\n | 'chevron-right'\r\n | 'chevron-left'\r\n | 'chevron-up'\r\n | 'chevron-down'\r\n | 'external-link'\r\n | 'corner-down-left'\r\n | 'corner-down-right'\r\n // ── Actions ──\r\n | 'check'\r\n | 'x'\r\n | 'plus'\r\n | 'minus'\r\n | 'search'\r\n | 'refresh-cw'\r\n | 'download'\r\n | 'upload'\r\n | 'save'\r\n | 'trash-2'\r\n | 'pencil'\r\n | 'copy'\r\n | 'clipboard'\r\n | 'share-2'\r\n | 'send'\r\n | 'log-in'\r\n | 'log-out'\r\n // ── Communication ──\r\n | 'mail'\r\n | 'message-circle'\r\n | 'phone'\r\n | 'bell'\r\n // ── Users & Identity ──\r\n | 'user'\r\n | 'users'\r\n | 'lock'\r\n | 'unlock'\r\n | 'key'\r\n | 'shield'\r\n // ── Files & Media ──\r\n | 'file'\r\n | 'file-text'\r\n | 'file-spreadsheet'\r\n | 'file-archive'\r\n | 'folder'\r\n | 'image'\r\n | 'camera'\r\n | 'paperclip'\r\n // ── Feedback & Status ──\r\n | 'info'\r\n | 'alert-triangle'\r\n | 'alert-circle'\r\n | 'check-circle'\r\n | 'x-circle'\r\n | 'help-circle'\r\n | 'loader-2'\r\n // ── Layout & UI ──\r\n | 'menu'\r\n | 'more-horizontal'\r\n | 'more-vertical'\r\n | 'grid'\r\n | 'list'\r\n | 'filter'\r\n | 'sliders'\r\n | 'columns'\r\n | 'maximize-2'\r\n | 'minimize-2'\r\n // ── Misc ──\r\n | 'home'\r\n | 'settings'\r\n | 'star'\r\n | 'heart'\r\n | 'bookmark'\r\n | 'calendar'\r\n | 'clock'\r\n | 'map-pin'\r\n | 'eye'\r\n | 'eye-off'\r\n | 'sun'\r\n | 'moon'\r\n | 'monitor'\r\n // ── Accepts any string for custom / unlisted icons ──\r\n | (string & Record<never, never>);\r\n\r\n/** Status values used for feedback components (badges, alerts, indicators). */\r\nexport type UiStatus = 'idle' | 'loading' | 'success' | 'error' | 'warning' | 'info';\r\n\r\n/**\r\n * Generic key-value pair used in select options, dropdowns, etc.\r\n * @template T - The type of the value.\r\n */\r\nexport interface UiOption<T = string> {\r\n /** The display label. */\r\n label: string;\r\n /** The underlying value. */\r\n value: T;\r\n /** Whether this option is disabled. */\r\n disabled?: boolean;\r\n /** Optional icon name (Lucide icon). */\r\n icon?: UiIconName;\r\n /** Optional grouping key for grouped selects. */\r\n group?: string;\r\n}\r\n\r\n/**\r\n * Result wrapper for async operations.\r\n * @template T - The type of the data payload.\r\n */\r\nexport interface UiAsyncState<T = unknown> {\r\n status: UiStatus;\r\n data: T | null;\r\n error: string | null;\r\n}\r\n\r\n// ── Toast ────────────────────────────────────────────────────────────\r\n\r\n/** Toast notification type. */\r\nexport type UiToastType = 'success' | 'error' | 'warning' | 'info';\r\n\r\n// ── Endpoint / HTTP ──────────────────────────────────────────────────\r\n\r\n/** Messages configuration for an endpoint (inline, no label archive). */\r\nexport interface UiEndpointMessages {\r\n /** Success toast message. Supports `${key}` placeholders replaced at runtime. */\r\n success?: string;\r\n /** Error toast message. Supports `${key}` placeholders replaced at runtime. */\r\n error?: string;\r\n}\r\n\r\n/**\r\n * Extracts a custom error message from the HTTP error response.\r\n * Return `null` to fall back to the default message.\r\n */\r\nexport type UiErrorExtractor = (error: any) => string | null;\r\n\r\n/**\r\n * Dynamically resolves a success message at runtime.\r\n * Return `null` to fall back to the default message.\r\n */\r\nexport type UiSuccessResolver = () => string | null;\r\n\r\n/**\r\n * Query parameters for URL building.\r\n * Keys map to query param names; values are auto-converted to strings.\r\n */\r\nexport type UiQueryParameters = Record<string, string | string[] | number | number[] | boolean>;\r\n\r\n/**\r\n * Endpoint configuration for `UiHttpService`.\r\n *\r\n * Each endpoint defines its URL, optional inline messages, and\r\n * toast/error behaviour. All toast flags default to `false` (opt-in).\r\n *\r\n * @usageNotes\r\n * ### Basic endpoint factory\r\n * ```typescript\r\n * const SAVE_USER = (): UiEndpoint => ({\r\n * url: '/api/users',\r\n * id: 'user_save',\r\n * showSuccess: true,\r\n * messages: { success: 'Utente salvato!' },\r\n * });\r\n * ```\r\n *\r\n * ### Dynamic endpoint with replacements\r\n * ```typescript\r\n * const UPDATE_ITEM = (id: number): UiEndpoint => ({\r\n * url: `/api/items/${id}`,\r\n * id: 'item_update',\r\n * showSuccess: true,\r\n * showError: true,\r\n * messages: {\r\n * success: 'Elemento ${name} aggiornato',\r\n * error: 'Errore aggiornamento elemento',\r\n * },\r\n * replacements: { name: 'Widget' },\r\n * });\r\n * ```\r\n */\r\nexport interface UiEndpoint {\r\n /** Relative or absolute URL for the API call. */\r\n url: string;\r\n /** Unique identifier for the endpoint (used for debounce keying). */\r\n id: string;\r\n /** Whether to show a success toast on completion. Default: `false`. */\r\n showSuccess?: boolean;\r\n /** Whether to show an error toast on failure. Default: `false`. */\r\n showError?: boolean;\r\n /** Inline messages for success/error toasts. */\r\n messages?: UiEndpointMessages;\r\n /** Placeholder replacements for message strings (`${key}` → value). */\r\n replacements?: Record<string, string | number>;\r\n /** Custom error message extractor from the HTTP error response. */\r\n errorExtractor?: UiErrorExtractor;\r\n /** Custom success message resolver (overrides inline message). */\r\n successMessageResolver?: UiSuccessResolver;\r\n /** Whether this endpoint should be tracked by BlackBox. Default: `true`. */\r\n trackable?: boolean;\r\n}\r\n","/**\r\n * Shared utility functions for ng-ui-system components.\r\n */\r\n\r\n/**\r\n * Generates a unique ID with an optional prefix.\r\n * Uses crypto.randomUUID() when available for better randomness, falls back to crypto.getRandomValues().\r\n * Useful for linking labels to form controls, ARIA attributes, etc.\r\n *\r\n * @param prefix - Optional prefix for the generated ID.\r\n * @returns A unique string ID.\r\n */\r\nexport function uiUniqueId(prefix = 'ui'): string {\r\n let randomPart: string;\r\n\r\n // Try crypto.randomUUID() first (modern browsers/Node 19+)\r\n if (typeof crypto !== 'undefined' && crypto.randomUUID) {\r\n randomPart = crypto.randomUUID().substring(0, 8);\r\n }\r\n // Fallback to crypto.getRandomValues()\r\n else if (typeof crypto !== 'undefined' && crypto.getRandomValues) {\r\n const array = new Uint8Array(4);\r\n crypto.getRandomValues(array);\r\n randomPart = Array.from(array, (byte) => byte.toString(36))\r\n .join('')\r\n .substring(0, 8);\r\n }\r\n // Final fallback to Math.random() for older environments\r\n else {\r\n randomPart = Math.random().toString(36).substring(2, 9); // NOSONAR - Fallback for environments without crypto API\r\n }\r\n\r\n return `${prefix}-${randomPart}`;\r\n}\r\n\r\n/**\r\n * Coerces a value to a boolean.\r\n * Useful for handling string boolean attributes in templates.\r\n *\r\n * @param value - The value to coerce.\r\n * @returns The boolean representation.\r\n */\r\nexport function uiCoerceBoolean(value: unknown): boolean {\r\n return value != null && `${value}` !== 'false';\r\n}\r\n\r\n/**\r\n * Clamps a number between a minimum and maximum value.\r\n *\r\n * @param value - The value to clamp.\r\n * @param min - The minimum allowed value.\r\n * @param max - The maximum allowed value.\r\n * @returns The clamped value.\r\n */\r\nexport function uiClamp(value: number, min: number, max: number): number {\r\n return Math.max(min, Math.min(max, value));\r\n}\r\n\r\n/**\r\n * Removes all `null` and `undefined` values from an object.\r\n * Returns a new object — the original is not mutated.\r\n *\r\n * @param obj - The source object.\r\n * @returns A shallow copy with nullish entries removed.\r\n *\r\n * @example\r\n * ```typescript\r\n * uiFilterNullish({ a: 1, b: null, c: 'x', d: undefined });\r\n * // → { a: 1, c: 'x' }\r\n * ```\r\n */\r\nexport function uiFilterNullish<T extends Record<string, unknown>>(obj: T): Partial<T> {\r\n return Object.entries(obj)\r\n .filter(([, value]) => value !== null && value !== undefined)\r\n .reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {} as Partial<T>);\r\n}\r\n\r\n/**\r\n * Converts a key-value object into a URL query string.\r\n * Nullish values are filtered out automatically.\r\n *\r\n * @param params - Query parameter object.\r\n * @returns A query string like `?key=value&key2=value2`, or an empty string if no params.\r\n *\r\n * @example\r\n * ```typescript\r\n * uiQueryParamsToPath({ search: 'test', page: 1, active: true });\r\n * // → '?search=test&page=1&active=true'\r\n *\r\n * uiQueryParamsToPath(undefined);\r\n * // → ''\r\n * ```\r\n */\r\nexport function uiQueryParamsToPath(params?: Record<string, unknown>): string {\r\n if (!params) return '';\r\n const searchParams = new URLSearchParams();\r\n Object.entries(uiFilterNullish(params)).forEach(([key, value]) => {\r\n if (Array.isArray(value)) {\r\n value.forEach((v) => searchParams.append(key, String(v ?? '')));\r\n } else {\r\n searchParams.append(key, String(value ?? ''));\r\n }\r\n });\r\n const str = searchParams.toString();\r\n return str ? `?${str}` : '';\r\n}\r\n","/**\n * Bootstrap del secondary entry `@gnggln/ng-ui-system/core`. Tipi condivisi e utility core.\n */\nexport * from './lib/core/types/index';\nexport * from './lib/core/utils/index';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entry-core';\n"],"names":[],"mappings":"AAAA;;;AAGG;;ACHH;;AAEG;AAEH;;;;;;;AAOG;AACa,SAAA,UAAU,CAAC,MAAM,GAAG,IAAI,EAAA;AACtC,IAAA,IAAI,UAAkB,CAAC;;IAGvB,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,UAAU,EAAE;AACtD,QAAA,UAAU,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KAClD;;SAEI,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,eAAe,EAAE;AAChE,QAAA,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;AAChC,QAAA,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AAC9B,QAAA,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;aACxD,IAAI,CAAC,EAAE,CAAC;AACR,aAAA,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACpB;;SAEI;AACH,QAAA,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACzD;AAED,IAAA,OAAO,CAAG,EAAA,MAAM,CAAI,CAAA,EAAA,UAAU,EAAE,CAAC;AACnC,CAAC;AAED;;;;;;AAMG;AACG,SAAU,eAAe,CAAC,KAAc,EAAA;IAC5C,OAAO,KAAK,IAAI,IAAI,IAAI,GAAG,KAAK,CAAA,CAAE,KAAK,OAAO,CAAC;AACjD,CAAC;AAED;;;;;;;AAOG;SACa,OAAO,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