design-angular-kit 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/README.md +461 -0
  2. package/esm2022/design-angular-kit.mjs +5 -0
  3. package/esm2022/lib/abstracts/abstract-form.component.mjs +186 -0
  4. package/esm2022/lib/abstracts/abstract.component.mjs +46 -0
  5. package/esm2022/lib/components/core/accordion/accordion.component.mjs +39 -0
  6. package/esm2022/lib/components/core/alert/alert.component.mjs +71 -0
  7. package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
  8. package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +40 -0
  9. package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
  10. package/esm2022/lib/components/core/avatar/avatar.module.mjs +33 -0
  11. package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
  12. package/esm2022/lib/components/core/button/button.directive.mjs +80 -0
  13. package/esm2022/lib/components/core/callout/callout.component.mjs +64 -0
  14. package/esm2022/lib/components/core/card/card.component.mjs +59 -0
  15. package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +84 -0
  16. package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
  17. package/esm2022/lib/components/core/carousel/carousel.module.mjs +18 -0
  18. package/esm2022/lib/components/core/chip/chip.component.mjs +136 -0
  19. package/esm2022/lib/components/core/collapse/collapse.component.mjs +116 -0
  20. package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +27 -0
  21. package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
  22. package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +55 -0
  23. package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +19 -0
  24. package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +147 -0
  25. package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +70 -0
  26. package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
  27. package/esm2022/lib/components/core/forward/forward.directive.mjs +57 -0
  28. package/esm2022/lib/components/core/link/link.component.mjs +42 -0
  29. package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
  30. package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +56 -0
  31. package/esm2022/lib/components/core/list/list.module.mjs +18 -0
  32. package/esm2022/lib/components/core/modal/modal.component.mjs +194 -0
  33. package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
  34. package/esm2022/lib/components/core/pagination/pagination.component.mjs +130 -0
  35. package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
  36. package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
  37. package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +25 -0
  38. package/esm2022/lib/components/core/spinner/spinner.component.mjs +30 -0
  39. package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +116 -0
  40. package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +22 -0
  41. package/esm2022/lib/components/core/steppers/steppers.module.mjs +18 -0
  42. package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +97 -0
  43. package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +39 -0
  44. package/esm2022/lib/components/core/tab/tab.module.mjs +18 -0
  45. package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +134 -0
  46. package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
  47. package/esm2022/lib/components/core/table/table.component.mjs +45 -0
  48. package/esm2022/lib/components/core/table/table.module.mjs +19 -0
  49. package/esm2022/lib/components/core/timeline/timeline-item/timeline-item.component.mjs +90 -0
  50. package/esm2022/lib/components/core/timeline/timeline.component.mjs +36 -0
  51. package/esm2022/lib/components/core/timeline/timeline.module.mjs +18 -0
  52. package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
  53. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +112 -0
  54. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
  55. package/esm2022/lib/components/form/form.module.mjs +63 -0
  56. package/esm2022/lib/components/form/input/input.component.mjs +190 -0
  57. package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
  58. package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +60 -0
  59. package/esm2022/lib/components/form/range/range.component.mjs +64 -0
  60. package/esm2022/lib/components/form/rating/rating.component.mjs +50 -0
  61. package/esm2022/lib/components/form/select/select.component.mjs +70 -0
  62. package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
  63. package/esm2022/lib/components/form/transfer/store/transfer.reducers.mjs +191 -0
  64. package/esm2022/lib/components/form/transfer/store/transfer.state.mjs +2 -0
  65. package/esm2022/lib/components/form/transfer/store/transfer.store.mjs +70 -0
  66. package/esm2022/lib/components/form/transfer/transfer-list/transfer-list.component.mjs +72 -0
  67. package/esm2022/lib/components/form/transfer/transfer.component.mjs +149 -0
  68. package/esm2022/lib/components/form/transfer/transfer.model.mjs +6 -0
  69. package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +142 -0
  70. package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
  71. package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
  72. package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +68 -0
  73. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +51 -0
  74. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
  75. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
  76. package/esm2022/lib/components/navigation/header/header.component.mjs +103 -0
  77. package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +27 -0
  78. package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +49 -0
  79. package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +11 -0
  80. package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
  81. package/esm2022/lib/components/navigation/navscroll/navscroll-list-item.component.mjs +98 -0
  82. package/esm2022/lib/components/navigation/navscroll/navscroll-list-items.component.mjs +44 -0
  83. package/esm2022/lib/components/navigation/navscroll/navscroll.component.mjs +116 -0
  84. package/esm2022/lib/components/navigation/navscroll/navscroll.model.mjs +2 -0
  85. package/esm2022/lib/components/navigation/navscroll/navscroll.store.mjs +68 -0
  86. package/esm2022/lib/components/navigation/navscroll/navscroll.utils.mjs +23 -0
  87. package/esm2022/lib/components/navigation/sidebar/sidebar.component.mjs +50 -0
  88. package/esm2022/lib/components/navigation/skiplink/skiplink/skiplink.component.mjs +27 -0
  89. package/esm2022/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.mjs +26 -0
  90. package/esm2022/lib/components/navigation/skiplink/skiplink.module.mjs +18 -0
  91. package/esm2022/lib/components/utils/error-page/error-page.component.mjs +74 -0
  92. package/esm2022/lib/components/utils/icon/icon.component.mjs +63 -0
  93. package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +50 -0
  94. package/esm2022/lib/design-angular-kit.module.mjs +233 -0
  95. package/esm2022/lib/enums/colors.enums.mjs +12 -0
  96. package/esm2022/lib/enums/sizes.enum.mjs +9 -0
  97. package/esm2022/lib/interfaces/core.mjs +16 -0
  98. package/esm2022/lib/interfaces/design-angular-kit-config.mjs +7 -0
  99. package/esm2022/lib/interfaces/form.mjs +2 -0
  100. package/esm2022/lib/interfaces/icon.mjs +168 -0
  101. package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
  102. package/esm2022/lib/interfaces/utils.mjs +2 -0
  103. package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
  104. package/esm2022/lib/pipes/duration.pipe.mjs +115 -0
  105. package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
  106. package/esm2022/lib/provide-design-angular-kit.mjs +64 -0
  107. package/esm2022/lib/services/notification/notification.service.mjs +120 -0
  108. package/esm2022/lib/utils/coercion.mjs +18 -0
  109. package/esm2022/lib/utils/date-utils.mjs +162 -0
  110. package/esm2022/lib/utils/file-utils.mjs +73 -0
  111. package/esm2022/lib/utils/regex.mjs +35 -0
  112. package/esm2022/lib/validators/it-validators.mjs +156 -0
  113. package/esm2022/public_api.mjs +110 -0
  114. package/fesm2022/design-angular-kit.mjs +6731 -0
  115. package/fesm2022/design-angular-kit.mjs.map +1 -0
  116. package/index.d.ts +5 -0
  117. package/lib/abstracts/abstract-form.component.d.ts +87 -0
  118. package/lib/abstracts/abstract.component.d.ts +30 -0
  119. package/lib/components/core/accordion/accordion.component.d.ts +18 -0
  120. package/lib/components/core/alert/alert.component.d.ts +44 -0
  121. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
  122. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +15 -0
  123. package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
  124. package/lib/components/core/avatar/avatar.module.d.ts +9 -0
  125. package/lib/components/core/badge/badge.directive.d.ts +23 -0
  126. package/lib/components/core/button/button.directive.d.ts +48 -0
  127. package/lib/components/core/callout/callout.component.d.ts +50 -0
  128. package/lib/components/core/card/card.component.d.ts +69 -0
  129. package/lib/components/core/carousel/carousel/carousel.component.d.ts +65 -0
  130. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +15 -0
  131. package/lib/components/core/carousel/carousel.module.d.ts +8 -0
  132. package/lib/components/core/chip/chip.component.d.ts +76 -0
  133. package/lib/components/core/collapse/collapse.component.d.ts +67 -0
  134. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +12 -0
  135. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +5 -0
  136. package/lib/components/core/dimmer/dimmer.component.d.ts +24 -0
  137. package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
  138. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +94 -0
  139. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +46 -0
  140. package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
  141. package/lib/components/core/forward/forward.directive.d.ts +14 -0
  142. package/lib/components/core/link/link.component.d.ts +35 -0
  143. package/lib/components/core/list/list/list.component.d.ts +24 -0
  144. package/lib/components/core/list/list-item/list-item.component.d.ts +41 -0
  145. package/lib/components/core/list/list.module.d.ts +8 -0
  146. package/lib/components/core/modal/modal.component.d.ts +135 -0
  147. package/lib/components/core/notifications/notifications.component.d.ts +45 -0
  148. package/lib/components/core/pagination/pagination.component.d.ts +92 -0
  149. package/lib/components/core/popover/popover.directive.d.ts +99 -0
  150. package/lib/components/core/progress-bar/progress-bar.component.d.ts +31 -0
  151. package/lib/components/core/progress-button/progress-button.component.d.ts +21 -0
  152. package/lib/components/core/spinner/spinner.component.d.ts +24 -0
  153. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +130 -0
  154. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +24 -0
  155. package/lib/components/core/steppers/steppers.module.d.ts +8 -0
  156. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +60 -0
  157. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +38 -0
  158. package/lib/components/core/tab/tab.module.d.ts +8 -0
  159. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
  160. package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
  161. package/lib/components/core/table/table.component.d.ts +60 -0
  162. package/lib/components/core/table/table.module.d.ts +9 -0
  163. package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +79 -0
  164. package/lib/components/core/timeline/timeline.component.d.ts +21 -0
  165. package/lib/components/core/timeline/timeline.module.d.ts +8 -0
  166. package/lib/components/core/tooltip/tooltip.directive.d.ts +82 -0
  167. package/lib/components/form/autocomplete/autocomplete.component.d.ts +59 -0
  168. package/lib/components/form/checkbox/checkbox.component.d.ts +41 -0
  169. package/lib/components/form/form.module.d.ts +18 -0
  170. package/lib/components/form/input/input.component.d.ts +95 -0
  171. package/lib/components/form/password-input/password-input.component.d.ts +80 -0
  172. package/lib/components/form/radio-button/radio-button.component.d.ts +38 -0
  173. package/lib/components/form/range/range.component.d.ts +42 -0
  174. package/lib/components/form/rating/rating.component.d.ts +24 -0
  175. package/lib/components/form/select/select.component.d.ts +36 -0
  176. package/lib/components/form/textarea/textarea.component.d.ts +34 -0
  177. package/lib/components/form/transfer/store/transfer.reducers.d.ts +103 -0
  178. package/lib/components/form/transfer/store/transfer.state.d.ts +18 -0
  179. package/lib/components/form/transfer/store/transfer.store.d.ts +23 -0
  180. package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +48 -0
  181. package/lib/components/form/transfer/transfer.component.d.ts +75 -0
  182. package/{src/lib/components/form/transfer/transfer.model.ts → lib/components/form/transfer/transfer.model.d.ts} +2 -9
  183. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +60 -0
  184. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +62 -0
  185. package/lib/components/navigation/back-button/back-button.component.d.ts +47 -0
  186. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +50 -0
  187. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +28 -0
  188. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +23 -0
  189. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  190. package/lib/components/navigation/header/header.component.d.ts +38 -0
  191. package/lib/components/navigation/megamenu/megamenu.component.d.ts +22 -0
  192. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +19 -0
  193. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
  194. package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
  195. package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +16 -0
  196. package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +7 -0
  197. package/lib/components/navigation/navscroll/navscroll.component.d.ts +47 -0
  198. package/{src/lib/components/navigation/navscroll/navscroll.model.ts → lib/components/navigation/navscroll/navscroll.model.d.ts} +5 -7
  199. package/lib/components/navigation/navscroll/navscroll.store.d.ts +16 -0
  200. package/lib/components/navigation/navscroll/navscroll.utils.d.ts +6 -0
  201. package/lib/components/navigation/sidebar/sidebar.component.d.ts +26 -0
  202. package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +17 -0
  203. package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +24 -0
  204. package/lib/components/navigation/skiplink/skiplink.module.d.ts +8 -0
  205. package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
  206. package/lib/components/utils/icon/icon.component.d.ts +53 -0
  207. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +27 -0
  208. package/lib/design-angular-kit.module.d.ts +53 -0
  209. package/lib/enums/colors.enums.d.ts +10 -0
  210. package/lib/enums/sizes.enum.d.ts +7 -0
  211. package/{src/lib/interfaces/core.ts → lib/interfaces/core.d.ts} +53 -95
  212. package/lib/interfaces/design-angular-kit-config.d.ts +30 -0
  213. package/lib/interfaces/form.d.ts +67 -0
  214. package/lib/interfaces/icon.d.ts +4 -0
  215. package/lib/interfaces/sortable-table.d.ts +33 -0
  216. package/lib/interfaces/utils.d.ts +10 -0
  217. package/lib/pipes/date-ago.pipe.d.ts +17 -0
  218. package/lib/pipes/duration.pipe.d.ts +35 -0
  219. package/lib/pipes/mark-matching-text.pipe.d.ts +18 -0
  220. package/lib/provide-design-angular-kit.d.ts +7 -0
  221. package/lib/services/notification/notification.service.d.ts +63 -0
  222. package/{src/lib/utils/coercion.ts → lib/utils/coercion.d.ts} +1 -7
  223. package/lib/utils/date-utils.d.ts +79 -0
  224. package/lib/utils/file-utils.d.ts +32 -0
  225. package/lib/utils/regex.d.ts +34 -0
  226. package/lib/validators/it-validators.d.ts +69 -0
  227. package/package.json +14 -9
  228. package/{src/public_api.ts → public_api.d.ts} +0 -43
  229. package/schematics/ng-add/index.d.ts +3 -0
  230. package/schematics/ng-add/index.js +29 -0
  231. package/schematics/ng-add/index.js.map +1 -0
  232. package/schematics/ng-add/index.spec.d.ts +1 -0
  233. package/schematics/ng-add/index.spec.js +43 -0
  234. package/schematics/ng-add/index.spec.js.map +1 -0
  235. package/schematics/ng-add/rules/setup-project/add-animations.d.ts +2 -0
  236. package/schematics/ng-add/rules/setup-project/add-animations.js +11 -0
  237. package/schematics/ng-add/rules/setup-project/add-animations.js.map +1 -0
  238. package/schematics/ng-add/rules/setup-project/add-assets.d.ts +3 -0
  239. package/schematics/ng-add/rules/setup-project/add-assets.js +50 -0
  240. package/schematics/ng-add/rules/setup-project/add-assets.js.map +1 -0
  241. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.d.ts +3 -0
  242. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js +43 -0
  243. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js.map +1 -0
  244. package/schematics/ng-add/rules/setup-project/add-http-client.d.ts +2 -0
  245. package/schematics/ng-add/rules/setup-project/add-http-client.js +11 -0
  246. package/schematics/ng-add/rules/setup-project/add-http-client.js.map +1 -0
  247. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.d.ts +11 -0
  248. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js +112 -0
  249. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js.map +1 -0
  250. package/schematics/ng-add/rules/setup-project/add-localisation.d.ts +3 -0
  251. package/schematics/ng-add/rules/setup-project/add-localisation.js +50 -0
  252. package/schematics/ng-add/rules/setup-project/add-localisation.js.map +1 -0
  253. package/schematics/ng-add/rules/setup-project/angular-json-helper.d.ts +2 -0
  254. package/schematics/ng-add/rules/setup-project/angular-json-helper.js +13 -0
  255. package/schematics/ng-add/rules/setup-project/angular-json-helper.js.map +1 -0
  256. package/schematics/ng-add/rules/setup-project/exceptions.d.ts +7 -0
  257. package/schematics/ng-add/rules/setup-project/exceptions.js +17 -0
  258. package/schematics/ng-add/rules/setup-project/exceptions.js.map +1 -0
  259. package/schematics/ng-add/rules/setup-project/index.js +23 -0
  260. package/schematics/ng-add/rules/setup-project/index.js.map +1 -0
  261. package/schematics/ng-add/{schema.ts → schema.d.ts} +1 -1
  262. package/schematics/ng-add/schema.js +3 -0
  263. package/schematics/ng-add/schema.js.map +1 -0
  264. package/schematics/ng-add/setup-project.d.ts +3 -0
  265. package/schematics/ng-add/setup-project.js +37 -0
  266. package/schematics/ng-add/setup-project.js.map +1 -0
  267. package/schematics/ng-add/setup-project.spec.d.ts +1 -0
  268. package/schematics/ng-add/setup-project.spec.js +139 -0
  269. package/schematics/ng-add/setup-project.spec.js.map +1 -0
  270. package/schematics/ng-add/utils.d.ts +14 -0
  271. package/schematics/ng-add/utils.js +49 -0
  272. package/schematics/ng-add/utils.js.map +1 -0
  273. package/schematics/ng-add/versions-helper.d.ts +3 -0
  274. package/schematics/ng-add/versions-helper.js +40 -0
  275. package/schematics/ng-add/versions-helper.js.map +1 -0
  276. package/.eslintrc.json +0 -31
  277. package/karma.conf.js +0 -38
  278. package/ng-package.json +0 -9
  279. package/ng-package.prod.json +0 -8
  280. package/schematics/ng-add/index.spec.ts +0 -45
  281. package/schematics/ng-add/index.ts +0 -36
  282. package/schematics/ng-add/rules/setup-project/add-animations.ts +0 -7
  283. package/schematics/ng-add/rules/setup-project/add-assets.ts +0 -45
  284. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.ts +0 -40
  285. package/schematics/ng-add/rules/setup-project/add-http-client.ts +0 -7
  286. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.ts +0 -120
  287. package/schematics/ng-add/rules/setup-project/add-localisation.ts +0 -45
  288. package/schematics/ng-add/rules/setup-project/angular-json-helper.ts +0 -11
  289. package/schematics/ng-add/rules/setup-project/exceptions.ts +0 -13
  290. package/schematics/ng-add/setup-project.spec.ts +0 -166
  291. package/schematics/ng-add/setup-project.ts +0 -31
  292. package/schematics/ng-add/utils.ts +0 -71
  293. package/schematics/ng-add/versions-helper.ts +0 -41
  294. package/src/lib/abstracts/abstract-form.component.ts +0 -200
  295. package/src/lib/abstracts/abstract.component.ts +0 -63
  296. package/src/lib/components/core/accordion/accordion.component.html +0 -27
  297. package/src/lib/components/core/accordion/accordion.component.spec.ts +0 -21
  298. package/src/lib/components/core/accordion/accordion.component.ts +0 -40
  299. package/src/lib/components/core/alert/alert.component.html +0 -19
  300. package/src/lib/components/core/alert/alert.component.scss +0 -3
  301. package/src/lib/components/core/alert/alert.component.spec.ts +0 -62
  302. package/src/lib/components/core/alert/alert.component.ts +0 -75
  303. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.html +0 -23
  304. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.scss +0 -17
  305. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.spec.ts +0 -21
  306. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.ts +0 -50
  307. package/src/lib/components/core/avatar/avatar-group/avatar-group.component.html +0 -7
  308. package/src/lib/components/core/avatar/avatar-group/avatar-group.component.spec.ts +0 -38
  309. package/src/lib/components/core/avatar/avatar-group/avatar-group.component.ts +0 -25
  310. package/src/lib/components/core/avatar/avatar.directive.ts +0 -73
  311. package/src/lib/components/core/avatar/avatar.module.ts +0 -18
  312. package/src/lib/components/core/badge/badge.directive.spec.ts +0 -59
  313. package/src/lib/components/core/badge/badge.directive.ts +0 -39
  314. package/src/lib/components/core/button/button.directive.spec.ts +0 -96
  315. package/src/lib/components/core/button/button.directive.ts +0 -89
  316. package/src/lib/components/core/callout/callout.component.html +0 -25
  317. package/src/lib/components/core/callout/callout.component.spec.ts +0 -138
  318. package/src/lib/components/core/callout/callout.component.ts +0 -92
  319. package/src/lib/components/core/card/card.component.html +0 -35
  320. package/src/lib/components/core/card/card.component.scss +0 -30
  321. package/src/lib/components/core/card/card.component.spec.ts +0 -21
  322. package/src/lib/components/core/card/card.component.ts +0 -78
  323. package/src/lib/components/core/carousel/carousel/carousel.component.html +0 -29
  324. package/src/lib/components/core/carousel/carousel/carousel.component.scss +0 -1
  325. package/src/lib/components/core/carousel/carousel/carousel.component.spec.ts +0 -21
  326. package/src/lib/components/core/carousel/carousel/carousel.component.ts +0 -119
  327. package/src/lib/components/core/carousel/carousel-item/carousel-item.component.html +0 -3
  328. package/src/lib/components/core/carousel/carousel-item/carousel-item.component.spec.ts +0 -22
  329. package/src/lib/components/core/carousel/carousel-item/carousel-item.component.ts +0 -20
  330. package/src/lib/components/core/carousel/carousel.module.ts +0 -11
  331. package/src/lib/components/core/chip/chip.component.html +0 -26
  332. package/src/lib/components/core/chip/chip.component.spec.ts +0 -87
  333. package/src/lib/components/core/chip/chip.component.ts +0 -154
  334. package/src/lib/components/core/collapse/collapse.component.html +0 -3
  335. package/src/lib/components/core/collapse/collapse.component.spec.ts +0 -21
  336. package/src/lib/components/core/collapse/collapse.component.ts +0 -124
  337. package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.html +0 -3
  338. package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.spec.ts +0 -35
  339. package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.ts +0 -23
  340. package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.html +0 -3
  341. package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.spec.ts +0 -22
  342. package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.ts +0 -10
  343. package/src/lib/components/core/dimmer/dimmer.component.html +0 -7
  344. package/src/lib/components/core/dimmer/dimmer.component.spec.ts +0 -49
  345. package/src/lib/components/core/dimmer/dimmer.component.ts +0 -50
  346. package/src/lib/components/core/dimmer/dimmer.module.ts +0 -12
  347. package/src/lib/components/core/dropdown/dropdown/dropdown.component.html +0 -45
  348. package/src/lib/components/core/dropdown/dropdown/dropdown.component.scss +0 -3
  349. package/src/lib/components/core/dropdown/dropdown/dropdown.component.spec.ts +0 -21
  350. package/src/lib/components/core/dropdown/dropdown/dropdown.component.ts +0 -186
  351. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.html +0 -18
  352. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.scss +0 -4
  353. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.spec.ts +0 -21
  354. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.ts +0 -82
  355. package/src/lib/components/core/dropdown/dropdown.module.ts +0 -11
  356. package/src/lib/components/core/forward/forward.directive.spec.ts +0 -60
  357. package/src/lib/components/core/forward/forward.directive.ts +0 -43
  358. package/src/lib/components/core/link/link.component.html +0 -13
  359. package/src/lib/components/core/link/link.component.spec.ts +0 -21
  360. package/src/lib/components/core/link/link.component.ts +0 -54
  361. package/src/lib/components/core/list/list/list.component.html +0 -13
  362. package/src/lib/components/core/list/list/list.component.spec.ts +0 -21
  363. package/src/lib/components/core/list/list/list.component.ts +0 -30
  364. package/src/lib/components/core/list/list-item/list-item.component.html +0 -42
  365. package/src/lib/components/core/list/list-item/list-item.component.scss +0 -16
  366. package/src/lib/components/core/list/list-item/list-item.component.spec.ts +0 -21
  367. package/src/lib/components/core/list/list-item/list-item.component.ts +0 -75
  368. package/src/lib/components/core/list/list.module.ts +0 -11
  369. package/src/lib/components/core/modal/modal.component.html +0 -36
  370. package/src/lib/components/core/modal/modal.component.scss +0 -3
  371. package/src/lib/components/core/modal/modal.component.spec.ts +0 -21
  372. package/src/lib/components/core/modal/modal.component.ts +0 -218
  373. package/src/lib/components/core/notifications/notifications.component.html +0 -25
  374. package/src/lib/components/core/notifications/notifications.component.scss +0 -3
  375. package/src/lib/components/core/notifications/notifications.component.spec.ts +0 -21
  376. package/src/lib/components/core/notifications/notifications.component.ts +0 -123
  377. package/src/lib/components/core/pagination/pagination.component.html +0 -107
  378. package/src/lib/components/core/pagination/pagination.component.spec.ts +0 -21
  379. package/src/lib/components/core/pagination/pagination.component.ts +0 -157
  380. package/src/lib/components/core/popover/popover.directive.spec.ts +0 -21
  381. package/src/lib/components/core/popover/popover.directive.ts +0 -171
  382. package/src/lib/components/core/progress-bar/progress-bar.component.html +0 -20
  383. package/src/lib/components/core/progress-bar/progress-bar.component.spec.ts +0 -21
  384. package/src/lib/components/core/progress-bar/progress-bar.component.ts +0 -46
  385. package/src/lib/components/core/progress-button/progress-button.component.html +0 -5
  386. package/src/lib/components/core/progress-button/progress-button.component.spec.ts +0 -21
  387. package/src/lib/components/core/progress-button/progress-button.component.ts +0 -39
  388. package/src/lib/components/core/spinner/spinner.component.html +0 -7
  389. package/src/lib/components/core/spinner/spinner.component.spec.ts +0 -80
  390. package/src/lib/components/core/spinner/spinner.component.ts +0 -31
  391. package/src/lib/components/core/steppers/steppers-container/steppers-container.component.html +0 -126
  392. package/src/lib/components/core/steppers/steppers-container/steppers-container.component.spec.ts +0 -21
  393. package/src/lib/components/core/steppers/steppers-container/steppers-container.component.ts +0 -185
  394. package/src/lib/components/core/steppers/steppers-item/steppers-item.component.html +0 -3
  395. package/src/lib/components/core/steppers/steppers-item/steppers-item.component.spec.ts +0 -22
  396. package/src/lib/components/core/steppers/steppers-item/steppers-item.component.ts +0 -33
  397. package/src/lib/components/core/steppers/steppers.module.ts +0 -11
  398. package/src/lib/components/core/tab/tab-container/tab-container.component.html +0 -78
  399. package/src/lib/components/core/tab/tab-container/tab-container.component.spec.ts +0 -21
  400. package/src/lib/components/core/tab/tab-container/tab-container.component.ts +0 -137
  401. package/src/lib/components/core/tab/tab-item/tab-item.component.html +0 -3
  402. package/src/lib/components/core/tab/tab-item/tab-item.component.spec.ts +0 -22
  403. package/src/lib/components/core/tab/tab-item/tab-item.component.ts +0 -50
  404. package/src/lib/components/core/tab/tab.module.ts +0 -11
  405. package/src/lib/components/core/table/sort/sort-header/sort-header.component.html +0 -27
  406. package/src/lib/components/core/table/sort/sort-header/sort-header.component.scss +0 -65
  407. package/src/lib/components/core/table/sort/sort-header/sort-header.component.spec.ts +0 -25
  408. package/src/lib/components/core/table/sort/sort-header/sort-header.component.ts +0 -164
  409. package/src/lib/components/core/table/sort/sort.directive.spec.ts +0 -73
  410. package/src/lib/components/core/table/sort/sort.directive.ts +0 -142
  411. package/src/lib/components/core/table/table.component.html +0 -23
  412. package/src/lib/components/core/table/table.component.scss +0 -7
  413. package/src/lib/components/core/table/table.component.spec.ts +0 -21
  414. package/src/lib/components/core/table/table.component.ts +0 -70
  415. package/src/lib/components/core/table/table.module.ts +0 -12
  416. package/src/lib/components/core/timeline/timeline-item/timeline-item.component.html +0 -47
  417. package/src/lib/components/core/timeline/timeline-item/timeline-item.component.spec.ts +0 -24
  418. package/src/lib/components/core/timeline/timeline-item/timeline-item.component.ts +0 -102
  419. package/src/lib/components/core/timeline/timeline.component.html +0 -21
  420. package/src/lib/components/core/timeline/timeline.component.spec.ts +0 -21
  421. package/src/lib/components/core/timeline/timeline.component.ts +0 -31
  422. package/src/lib/components/core/timeline/timeline.module.ts +0 -11
  423. package/src/lib/components/core/tooltip/tooltip.directive.spec.ts +0 -20
  424. package/src/lib/components/core/tooltip/tooltip.directive.ts +0 -141
  425. package/src/lib/components/form/autocomplete/autocomplete.component.html +0 -58
  426. package/src/lib/components/form/autocomplete/autocomplete.component.spec.ts +0 -21
  427. package/src/lib/components/form/autocomplete/autocomplete.component.ts +0 -130
  428. package/src/lib/components/form/checkbox/checkbox.component.html +0 -67
  429. package/src/lib/components/form/checkbox/checkbox.component.spec.ts +0 -21
  430. package/src/lib/components/form/checkbox/checkbox.component.ts +0 -65
  431. package/src/lib/components/form/form.module.ts +0 -34
  432. package/src/lib/components/form/input/input.component.html +0 -92
  433. package/src/lib/components/form/input/input.component.scss +0 -29
  434. package/src/lib/components/form/input/input.component.spec.ts +0 -21
  435. package/src/lib/components/form/input/input.component.ts +0 -234
  436. package/src/lib/components/form/password-input/password-input.component.html +0 -65
  437. package/src/lib/components/form/password-input/password-input.component.scss +0 -9
  438. package/src/lib/components/form/password-input/password-input.component.spec.ts +0 -21
  439. package/src/lib/components/form/password-input/password-input.component.ts +0 -171
  440. package/src/lib/components/form/radio-button/radio-button.component.html +0 -50
  441. package/src/lib/components/form/radio-button/radio-button.component.scss +0 -14
  442. package/src/lib/components/form/radio-button/radio-button.component.spec.ts +0 -21
  443. package/src/lib/components/form/radio-button/radio-button.component.ts +0 -82
  444. package/src/lib/components/form/range/range.component.html +0 -17
  445. package/src/lib/components/form/range/range.component.scss +0 -17
  446. package/src/lib/components/form/range/range.component.spec.ts +0 -21
  447. package/src/lib/components/form/range/range.component.ts +0 -100
  448. package/src/lib/components/form/rating/rating.component.html +0 -24
  449. package/src/lib/components/form/rating/rating.component.spec.ts +0 -21
  450. package/src/lib/components/form/rating/rating.component.ts +0 -52
  451. package/src/lib/components/form/select/select.component.html +0 -54
  452. package/src/lib/components/form/select/select.component.scss +0 -3
  453. package/src/lib/components/form/select/select.component.spec.ts +0 -22
  454. package/src/lib/components/form/select/select.component.ts +0 -91
  455. package/src/lib/components/form/textarea/textarea.component.html +0 -28
  456. package/src/lib/components/form/textarea/textarea.component.scss +0 -12
  457. package/src/lib/components/form/textarea/textarea.component.spec.ts +0 -21
  458. package/src/lib/components/form/textarea/textarea.component.ts +0 -61
  459. package/src/lib/components/form/transfer/store/transfer.reducers.ts +0 -242
  460. package/src/lib/components/form/transfer/store/transfer.state.ts +0 -20
  461. package/src/lib/components/form/transfer/store/transfer.store.ts +0 -88
  462. package/src/lib/components/form/transfer/transfer-list/transfer-list.component.html +0 -42
  463. package/src/lib/components/form/transfer/transfer-list/transfer-list.component.spec.ts +0 -33
  464. package/src/lib/components/form/transfer/transfer-list/transfer-list.component.ts +0 -93
  465. package/src/lib/components/form/transfer/transfer.component.html +0 -52
  466. package/src/lib/components/form/transfer/transfer.component.spec.ts +0 -27
  467. package/src/lib/components/form/transfer/transfer.component.ts +0 -159
  468. package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.html +0 -36
  469. package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.spec.ts +0 -21
  470. package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.ts +0 -170
  471. package/src/lib/components/form/upload-file-list/upload-file-list.component.html +0 -46
  472. package/src/lib/components/form/upload-file-list/upload-file-list.component.spec.ts +0 -22
  473. package/src/lib/components/form/upload-file-list/upload-file-list.component.ts +0 -120
  474. package/src/lib/components/navigation/back-button/back-button.component.html +0 -25
  475. package/src/lib/components/navigation/back-button/back-button.component.spec.ts +0 -91
  476. package/src/lib/components/navigation/back-button/back-button.component.ts +0 -67
  477. package/src/lib/components/navigation/back-to-top/back-to-top.component.html +0 -11
  478. package/src/lib/components/navigation/back-to-top/back-to-top.component.spec.ts +0 -21
  479. package/src/lib/components/navigation/back-to-top/back-to-top.component.ts +0 -80
  480. package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.html +0 -23
  481. package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.spec.ts +0 -21
  482. package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.ts +0 -68
  483. package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.html +0 -3
  484. package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.spec.ts +0 -22
  485. package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.ts +0 -29
  486. package/src/lib/components/navigation/breadcrumbs/breadcrumbs.module.ts +0 -11
  487. package/src/lib/components/navigation/header/header.component.html +0 -102
  488. package/src/lib/components/navigation/header/header.component.scss +0 -3
  489. package/src/lib/components/navigation/header/header.component.spec.ts +0 -21
  490. package/src/lib/components/navigation/header/header.component.ts +0 -107
  491. package/src/lib/components/navigation/megamenu/megamenu.component.html +0 -34
  492. package/src/lib/components/navigation/megamenu/megamenu.component.scss +0 -5
  493. package/src/lib/components/navigation/megamenu/megamenu.component.ts +0 -30
  494. package/src/lib/components/navigation/navbar/navbar/navbar.component.html +0 -28
  495. package/src/lib/components/navigation/navbar/navbar/navbar.component.ts +0 -45
  496. package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.html +0 -3
  497. package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.ts +0 -10
  498. package/src/lib/components/navigation/navbar/navbar.module.ts +0 -11
  499. package/src/lib/components/navigation/navscroll/navscroll-list-item.component.ts +0 -95
  500. package/src/lib/components/navigation/navscroll/navscroll-list-items.component.ts +0 -27
  501. package/src/lib/components/navigation/navscroll/navscroll.component.html +0 -101
  502. package/src/lib/components/navigation/navscroll/navscroll.component.scss +0 -9
  503. package/src/lib/components/navigation/navscroll/navscroll.component.ts +0 -143
  504. package/src/lib/components/navigation/navscroll/navscroll.store.ts +0 -96
  505. package/src/lib/components/navigation/navscroll/navscroll.utils.ts +0 -28
  506. package/src/lib/components/navigation/sidebar/sidebar.component.html +0 -11
  507. package/src/lib/components/navigation/sidebar/sidebar.component.spec.ts +0 -21
  508. package/src/lib/components/navigation/sidebar/sidebar.component.ts +0 -39
  509. package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.html +0 -15
  510. package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.ts +0 -27
  511. package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.html +0 -15
  512. package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.ts +0 -38
  513. package/src/lib/components/navigation/skiplink/skiplink.module.ts +0 -11
  514. package/src/lib/components/utils/error-page/error-page.component.html +0 -33
  515. package/src/lib/components/utils/error-page/error-page.component.spec.ts +0 -21
  516. package/src/lib/components/utils/error-page/error-page.component.ts +0 -79
  517. package/src/lib/components/utils/icon/icon.component.html +0 -6
  518. package/src/lib/components/utils/icon/icon.component.spec.ts +0 -21
  519. package/src/lib/components/utils/icon/icon.component.ts +0 -95
  520. package/src/lib/components/utils/language-switcher/language-switcher.component.html +0 -21
  521. package/src/lib/components/utils/language-switcher/language-switcher.component.spec.ts +0 -21
  522. package/src/lib/components/utils/language-switcher/language-switcher.component.ts +0 -56
  523. package/src/lib/design-angular-kit.module.ts +0 -131
  524. package/src/lib/enums/colors.enums.ts +0 -10
  525. package/src/lib/enums/sizes.enum.ts +0 -7
  526. package/src/lib/interfaces/design-angular-kit-config.ts +0 -34
  527. package/src/lib/interfaces/form.ts +0 -78
  528. package/src/lib/interfaces/icon.ts +0 -176
  529. package/src/lib/interfaces/sortable-table.ts +0 -42
  530. package/src/lib/interfaces/utils.ts +0 -11
  531. package/src/lib/pipes/date-ago.pipe.ts +0 -57
  532. package/src/lib/pipes/duration.pipe.ts +0 -112
  533. package/src/lib/pipes/mark-matching-text.pipe.ts +0 -43
  534. package/src/lib/provide-design-angular-kit.ts +0 -73
  535. package/src/lib/services/notification/notification.service.spec.ts +0 -16
  536. package/src/lib/services/notification/notification.service.ts +0 -119
  537. package/src/lib/utils/date-utils.ts +0 -184
  538. package/src/lib/utils/file-utils.ts +0 -80
  539. package/src/lib/utils/regex.ts +0 -44
  540. package/src/lib/validators/it-validators.ts +0 -193
  541. package/src/test.ts +0 -26
  542. package/tsconfig.lib.json +0 -24
  543. package/tsconfig.lib.prod.json +0 -9
  544. package/tsconfig.schematics.json +0 -25
  545. package/tsconfig.spec.json +0 -9
  546. /package/schematics/ng-add/rules/setup-project/{index.ts → index.d.ts} +0 -0
@@ -1,119 +1,77 @@
1
1
  import { IconName } from './icon';
2
-
3
2
  export type AlertColor = 'primary' | 'info' | 'success' | 'warning' | 'danger';
4
-
5
- export type ButtonColor =
6
- | 'primary'
7
- | 'outline-primary'
8
- | 'secondary'
9
- | 'outline-secondary'
10
- | 'success'
11
- | 'outline-success'
12
- | 'danger'
13
- | 'outline-danger'
14
- | 'warning'
15
- | 'outline-warning'
16
- | 'info'
17
- | 'outline-info'
18
- | 'light'
19
- | 'outline-light'
20
- | 'dark'
21
- | 'outline-dark'
22
- | 'link';
23
-
3
+ export type ButtonColor = 'primary' | 'outline-primary' | 'secondary' | 'outline-secondary' | 'success' | 'outline-success' | 'danger' | 'outline-danger' | 'warning' | 'outline-warning' | 'info' | 'outline-info' | 'light' | 'outline-light' | 'dark' | 'outline-dark' | 'link';
24
4
  export type ButtonSize = 'lg' | 'sm' | 'xs';
25
5
  export type ButtonType = 'submit' | 'button';
26
-
27
6
  export type CalloutColor = 'success' | 'warning' | 'danger' | 'important' | 'note';
28
7
  export type CalloutAppearance = 'default' | 'highlight' | 'more';
29
-
30
8
  export type ChipColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
31
-
32
9
  export type ElementPlacement = 'top' | 'bottom' | 'left' | 'right';
33
-
34
10
  export type ProgressBarColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
35
-
36
11
  export type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
37
-
38
12
  export type TableColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
39
-
40
13
  export type TableHeadColor = 'light' | 'dark';
41
-
42
14
  export type TableResponsive = 'responsive' | 'responsive-sm' | 'responsive-md' | 'responsive-lg' | 'responsive-xl' | 'responsive-xxl';
43
-
44
15
  export type VerticalAlignment = 'align-baseline' | 'align-top' | 'align-middle' | 'align-bottom' | 'align-text-bottom' | 'align-text-top';
45
-
46
16
  export type DropdownDirection = 'dropup' | 'dropend' | 'dropstart';
47
-
48
17
  export type CarouselType = 'default' | 'three-cols' | 'three-cols-arrow-visible';
49
-
50
18
  export type TimelinePINType = 'default' | 'evidence' | 'now';
51
-
52
19
  export interface TimelineElement {
53
- pin: {
54
- type?: TimelinePINType;
55
- icon?: IconName;
56
- text: string;
57
- };
58
- category?: {
20
+ pin: {
21
+ type?: TimelinePINType;
22
+ icon?: IconName;
23
+ text: string;
24
+ };
25
+ category?: {
26
+ title: string;
27
+ link: string;
28
+ };
59
29
  title: string;
60
- link: string;
61
- };
62
- title: string;
63
- text: string;
64
- signature?: string;
65
- eventDate?: Date;
66
- link?: string;
30
+ text: string;
31
+ signature?: string;
32
+ eventDate?: Date;
33
+ link?: string;
67
34
  }
68
-
69
35
  export interface Notification {
70
- /**
71
- * Notification type
72
- */
73
- type: NotificationType;
74
-
75
- /**
76
- * Notification title
77
- */
78
- title: string;
79
-
80
- /**
81
- * Notification message / text
82
- */
83
- message?: string;
84
-
85
- /**
86
- * Custom duration of notification
87
- */
88
- duration?: number;
89
-
90
- /**
91
- * The close notification button appears
92
- */
93
- dismissible?: boolean;
94
-
95
- /**
96
- * Custom position of notification
97
- */
98
- position?: NotificationPosition;
99
-
100
- /**
101
- * Custom icon of notification
102
- */
103
- icon?: IconName;
36
+ /**
37
+ * Notification type
38
+ */
39
+ type: NotificationType;
40
+ /**
41
+ * Notification title
42
+ */
43
+ title: string;
44
+ /**
45
+ * Notification message / text
46
+ */
47
+ message?: string;
48
+ /**
49
+ * Custom duration of notification
50
+ */
51
+ duration?: number;
52
+ /**
53
+ * The close notification button appears
54
+ */
55
+ dismissible?: boolean;
56
+ /**
57
+ * Custom position of notification
58
+ */
59
+ position?: NotificationPosition;
60
+ /**
61
+ * Custom icon of notification
62
+ */
63
+ icon?: IconName;
104
64
  }
105
-
106
- export enum NotificationType {
107
- Standard = 'standard',
108
- Success = 'success',
109
- Error = 'error',
110
- Info = 'info',
111
- Warning = 'warning',
65
+ export declare enum NotificationType {
66
+ Standard = "standard",
67
+ Success = "success",
68
+ Error = "error",
69
+ Info = "info",
70
+ Warning = "warning"
112
71
  }
113
-
114
- export enum NotificationPosition {
115
- Top = 'top-fix mt-3',
116
- Bottom = 'bottom-fix mb-3',
117
- Left = 'left-fix ms-3',
118
- Right = 'right-fix me-3',
72
+ export declare enum NotificationPosition {
73
+ Top = "top-fix mt-3",
74
+ Bottom = "bottom-fix mb-3",
75
+ Left = "left-fix ms-3",
76
+ Right = "right-fix me-3"
119
77
  }
@@ -0,0 +1,30 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ /**
3
+ * The bootstrap-italia asset folder path
4
+ * @default ./bootstrap-italia
5
+ */
6
+ export declare const IT_ASSET_BASE_PATH: InjectionToken<string>;
7
+ export interface DesignAngularKitConfig {
8
+ /**
9
+ * The bootstrap-italia asset folder path
10
+ * @default ./bootstrap-italia
11
+ */
12
+ assetBasePath?: string;
13
+ /**
14
+ * Load the <a href="https://italia.github.io/bootstrap-italia/docs/come-iniziare/introduzione/#fonts">bootstrap-italia fonts</a>
15
+ * @default true
16
+ */
17
+ loadFont?: boolean;
18
+ /**
19
+ * The TranslateModule loader
20
+ * @param itPrefix the design-angular-kit i18n path
21
+ * @param itSuffix the design-angular-kit i18n suffix
22
+ * @default
23
+ * {
24
+ * provide: TranslateLoader,
25
+ * useFactory: (http: HttpClient) => new TranslateHttpLoader(http, `${assetBasePath}/i18n/`, `.json?v${version}`),
26
+ * deps: [HttpClient],
27
+ * }
28
+ */
29
+ translateLoader?: (itPrefix: string, itSuffix: string) => Provider;
30
+ }
@@ -0,0 +1,67 @@
1
+ import { IconName } from './icon';
2
+ export type InputControlType = 'text' | 'email' | 'number' | 'date' | 'time' | 'tel' | 'color' | 'url';
3
+ export interface SelectControlOption<T = any> {
4
+ value: T;
5
+ text?: string;
6
+ selected?: boolean | ((value: T) => boolean);
7
+ disabled?: boolean | ((value: T) => boolean);
8
+ }
9
+ export interface SelectControlGroup<T = any> {
10
+ label: string;
11
+ options: Array<SelectControlOption<T>>;
12
+ dragdrop?: boolean;
13
+ }
14
+ export interface UploadFileListItem {
15
+ /**
16
+ * The item id
17
+ */
18
+ id: number;
19
+ /**
20
+ * The uploaded file
21
+ */
22
+ file: File;
23
+ /**
24
+ * Show progress bar
25
+ *
26
+ * The status of the item changes based on the value:
27
+ * - <b>uploading</b>: if value is between 0 and 100 (exclusive 0 < value < 100)
28
+ * - <b>success</b>: if value is greater than 100
29
+ */
30
+ progress?: number;
31
+ /**
32
+ * Show the ability to delete item
33
+ * @default false
34
+ */
35
+ removable?: boolean;
36
+ /**
37
+ * Set the status of the item as 'error'
38
+ */
39
+ error?: boolean;
40
+ /**
41
+ * Add tooltip on file item name
42
+ * @example It can be used to show the error message or additional information about the file
43
+ */
44
+ tooltip?: string;
45
+ }
46
+ /**
47
+ * Elemento disponibile per l'autocompletamento del it-form-input
48
+ */
49
+ export interface AutocompleteItem<T = any> {
50
+ /** Valore voce di autocompletamento */
51
+ value: string;
52
+ /** Opzionale. Path in cui ricercare l'immagine dell'avatar da posizionare a sinistra della voce di autocompletamento */
53
+ avatarSrcPath?: string;
54
+ /** Opzionale. Testo in alternativa dell'avatar per accessibilità */
55
+ avatarAltText?: string;
56
+ /** Opzionale. Icona posizionata a sinistra della voce di autocompletamento */
57
+ icon?: IconName;
58
+ /** Opzionale. Label posizionata a destra della voce di autocompletamento */
59
+ label?: string;
60
+ /** Opzionale. Link relativo all'elemento */
61
+ link?: string;
62
+ /**
63
+ * Attribute not used for autocomplete rendering.
64
+ * It can be useful to retrieve some extra information when selecting the autocomplete item
65
+ */
66
+ additionalData?: T;
67
+ }
@@ -0,0 +1,4 @@
1
+ export type IconSize = 'xs' | 'sm' | 'lg' | 'xl';
2
+ export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'light' | 'white';
3
+ export type IconName = (typeof IconNameArray)[number];
4
+ export declare const IconNameArray: readonly ["arrow-down", "arrow-down-circle", "arrow-down-triangle", "arrow-left", "arrow-left-circle", "arrow-left-triangle", "arrow-right", "arrow-right-circle", "arrow-right-triangle", "arrow-up", "arrow-up-circle", "arrow-up-triangle", "ban", "bookmark", "box", "burger", "calendar", "camera", "card", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "code-circle", "comment", "copy", "delete", "download", "error", "exchange-circle", "expand", "external-link", "flag", "folder", "fullscreen", "funnel", "hearing", "help", "help-circle", "horn", "inbox", "info-circle", "key", "link", "list", "locked", "logout", "mail", "mail-open", "map-marker", "map-marker-circle", "map-marker-minus", "map-marker-plus", "maximize", "maximize-alt", "minimize", "minus", "minus-circle", "more-actions", "more-items", "note", "pa", "password-invisible", "password-visible", "pencil", "piattaforme", "pin", "plug", "plus", "plus-circle", "presentation", "print", "refresh", "restore", "rss", "rss-square", "search", "settings", "share", "software", "star-full", "star-outline", "telephone", "tool", "unlocked", "upload", "user", "video", "warning", "warning-circle", "wifi", "zoom-in", "zoom-out", "file", "files", "file-audio", "file-compressed", "file-csv", "file-json", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-txt", "file-video", "file-xml", "behance", "facebook", "facebook-square", "figma", "figma-square", "flickr", "flickr-square", "github", "instagram", "linkedin", "linkedin-square", "mastodon", "mastodon-square", "medium", "medium-square", "moodle", "moodle-square", "pinterest", "pinterest-square", "quora", "quora-square", "reddit", "reddit-square", "slack", "slack-square", "snapchat", "snapchat-square", "stackexchange", "stackexchange-square", "stackoverflow", "stackoverflow-square", "telegram", "threads", "threads-square", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "designers-italia", "team-digitale"];
@@ -0,0 +1,33 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export type SortDirection = 'asc' | 'desc' | undefined;
3
+ /** Position of the arrow that displays when sorted. */
4
+ export type SortHeaderArrowPosition = 'before' | 'after';
5
+ /** Interface for a directive that holds sorting state consumed by `ItSortHeader`. */
6
+ export interface ItSortable {
7
+ /** The id of the column being sorted. */
8
+ id: string;
9
+ /** Starting sort direction. */
10
+ start?: SortDirection;
11
+ /** Whether to disable clearing the sorting state. */
12
+ disableSortClear?: boolean;
13
+ }
14
+ /** The current sort state. */
15
+ export interface ItSortEvent {
16
+ /** The id of the column being sorted. */
17
+ active: string;
18
+ /** The sort direction. */
19
+ direction: SortDirection;
20
+ }
21
+ /**
22
+ * Default options for `it-sort`.
23
+ */
24
+ export interface ItSortDefaultOptions {
25
+ /** Whether to disable clearing the sorting state. */
26
+ disableClear?: boolean;
27
+ /** Position of the arrow that displays when sorted. */
28
+ arrowPosition?: SortHeaderArrowPosition;
29
+ }
30
+ /**
31
+ * Injection token to be used to override the default options for `it-sort`.
32
+ */
33
+ export declare const IT_SORT_DEFAULT_OPTIONS: InjectionToken<ItSortDefaultOptions>;
@@ -0,0 +1,10 @@
1
+ export interface AvailableLanguage {
2
+ /**
3
+ * The language code
4
+ */
5
+ code: string;
6
+ /**
7
+ * Label to show
8
+ */
9
+ label: string;
10
+ }
@@ -0,0 +1,17 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { TranslatePipe } from '@ngx-translate/core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Indicates in a textual way how much time has passed since the indicated date
6
+ * @example 2 hours ago
7
+ */
8
+ export declare class ItDateAgoPipe extends TranslatePipe implements PipeTransform {
9
+ /**
10
+ * Indicates in a textual way how much time has passed since the indicated date
11
+ * @example 2 hours ago
12
+ * @param value the Date or date string
13
+ */
14
+ transform(value: string | Date): string;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDateAgoPipe, never>;
16
+ static ɵpipe: i0.ɵɵPipeDeclaration<ItDateAgoPipe, "itDateAgo", true>;
17
+ }
@@ -0,0 +1,35 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { TranslatePipe } from '@ngx-translate/core';
3
+ import * as i0 from "@angular/core";
4
+ export type ItDurationPipeType = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute' | 'second';
5
+ /**
6
+ * Transform a number into a duration.
7
+ * Is necessary indicate the value expressed by the number, for example 'day'.
8
+ * @example
9
+ * - 1, 'day' -> 1 day
10
+ * - 5, 'day' -> 5 days
11
+ * - 7, 'day' -> 1 week
12
+ * - 365, 'day' -> 1 year
13
+ * - 2, 'week' -> 2 weeks
14
+ * ...
15
+ */
16
+ export declare class ItDurationPipe extends TranslatePipe implements PipeTransform {
17
+ /**
18
+ * Transform a number into a duration.
19
+ * Is necessary indicate the value expressed by the number, for example 'day'.
20
+ * @example
21
+ * - 1, 'day' -> 1 day
22
+ * - 5, 'day' -> 5 days
23
+ * - 7, 'day' -> 1 week
24
+ * - 8, 'day' -> 1 week
25
+ * - 365, 'day' -> 1 year
26
+ * - 2, 'week' -> 2 weeks
27
+ * - 24, 'month' -> 1 year
28
+ * ...
29
+ * @param value the number
30
+ * @param type the number expressed type
31
+ */
32
+ transform(value: string | number | undefined, type: ItDurationPipeType): string;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDurationPipe, never>;
34
+ static ɵpipe: i0.ɵɵPipeDeclaration<ItDurationPipe, "itDuration", true>;
35
+ }
@@ -0,0 +1,18 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Allows you to highlight text with the <mark> tag
6
+ */
7
+ export declare class ItMarkMatchingTextPipe implements PipeTransform {
8
+ private readonly domSanitizer;
9
+ constructor(domSanitizer: DomSanitizer);
10
+ /**
11
+ * Allows you to highlight text with the <mark> tag
12
+ * @param allString the full text to search from
13
+ * @param searchString the string to search
14
+ */
15
+ transform(allString: string | undefined, searchString: string | number | null | undefined): SafeHtml | string | undefined;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItMarkMatchingTextPipe, never>;
17
+ static ɵpipe: i0.ɵɵPipeDeclaration<ItMarkMatchingTextPipe, "itMarkMatchingText", true>;
18
+ }
@@ -0,0 +1,7 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { DesignAngularKitConfig } from './interfaces/design-angular-kit-config';
3
+ /**
4
+ * Configures DesignAngularKit library
5
+ * @param config the DesignAngularKit config
6
+ */
7
+ export declare function provideDesignAngularKit(config?: DesignAngularKitConfig): EnvironmentProviders;
@@ -0,0 +1,63 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Notification, NotificationPosition, NotificationType } from '../../interfaces/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ItNotificationService {
5
+ private subject;
6
+ /**
7
+ * Listen on notification arrived
8
+ * @param filterType filter type of notification
9
+ */
10
+ onNotification(filterType?: NotificationType): Observable<Notification>;
11
+ /**
12
+ * Show new notification
13
+ * @param notification notification
14
+ */
15
+ addNotification(notification: Notification): void;
16
+ /**
17
+ * Create new Standard notification
18
+ * @param title notification title
19
+ * @param message notification message
20
+ * @param dismissible notification dismissible
21
+ * @param duration notification duration (milliseconds)
22
+ * @param position notification position
23
+ */
24
+ standard(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
25
+ /**
26
+ * Create new Success notification
27
+ * @param title notification title
28
+ * @param message notification message
29
+ * @param dismissible notification dismissible
30
+ * @param duration notification duration (milliseconds)
31
+ * @param position notification position
32
+ */
33
+ success(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
34
+ /**
35
+ * Create new Error notification
36
+ * @param title notification title
37
+ * @param message notification message
38
+ * @param dismissible notification dismissible
39
+ * @param duration notification duration (milliseconds)
40
+ * @param position notification position
41
+ */
42
+ error(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
43
+ /**
44
+ * Create new Warning notification
45
+ * @param title notification title
46
+ * @param message notification message
47
+ * @param dismissible notification dismissible
48
+ * @param duration notification duration (milliseconds)
49
+ * @param position notification position
50
+ */
51
+ warning(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
52
+ /**
53
+ * Create new Info notification
54
+ * @param title notification title
55
+ * @param message notification message
56
+ * @param dismissible notification dismissible
57
+ * @param duration notification duration (milliseconds)
58
+ * @param position notification position
59
+ */
60
+ info(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationService, never>;
62
+ static ɵprov: i0.ɵɵInjectableDeclaration<ItNotificationService>;
63
+ }
@@ -1,7 +1,4 @@
1
- import { booleanAttribute } from '@angular/core';
2
-
3
1
  export type BooleanInput = 'false' | 'true' | boolean | undefined;
4
-
5
2
  /**
6
3
  * Transforms a value (typically a string) to a boolean.
7
4
  * Intended to be used as a transform function of an input.
@@ -14,7 +11,4 @@ export type BooleanInput = 'false' | 'true' | boolean | undefined;
14
11
  *
15
12
  * @publicApi
16
13
  */
17
- export function inputToBoolean(value: BooleanInput): boolean {
18
- // Wrap `@angular/core` function to force value type, for ide hits
19
- return booleanAttribute(value);
20
- }
14
+ export declare function inputToBoolean(value: BooleanInput): boolean;
@@ -0,0 +1,79 @@
1
+ import { Observable } from 'rxjs';
2
+ export declare class ItDateUtils {
3
+ /**
4
+ * Add seconds to date
5
+ * @param date the date
6
+ * @param seconds seconds to add
7
+ */
8
+ static addSeconds(date: Date, seconds: number): Date;
9
+ /**
10
+ * Add minutes to date
11
+ * @param date the date
12
+ * @param minutes minutes to add
13
+ */
14
+ static addMinutes(date: Date, minutes: number): Date;
15
+ /**
16
+ * Add hours to date
17
+ * @param date the date
18
+ * @param hours hours to add
19
+ */
20
+ static addHours(date: Date, hours: number): Date;
21
+ /**
22
+ * Add days to date
23
+ * @param date the date
24
+ * @param days days to add
25
+ */
26
+ static addDays(date: Date, days: number): Date;
27
+ /**
28
+ * Add years to date
29
+ * @param date the date
30
+ * @param months months to add
31
+ */
32
+ static addMonths(date: Date, months: number): Date;
33
+ /**
34
+ * Add years to date
35
+ * @param date the date
36
+ * @param years years to add
37
+ */
38
+ static addYears(date: Date, years: number): Date;
39
+ /**
40
+ * Calculate number of days between two date
41
+ * @param startDate
42
+ * @param endDate
43
+ * @param absolute return unsigned result
44
+ */
45
+ static countDays(startDate: Date, endDate: Date, absolute?: boolean): number;
46
+ /**
47
+ * Check if string is a date with iso format
48
+ * @param value the string
49
+ */
50
+ static isIsoString(value: string | null): boolean;
51
+ /**
52
+ * Convert iso string to Date
53
+ * @param isoString the iso string
54
+ */
55
+ static isoStringToDate(isoString: string | null): Date | null;
56
+ /**
57
+ * Remove time from an iso date string
58
+ * @param isoString the iso string
59
+ */
60
+ static isoStringRemoveTime(isoString: string): string;
61
+ /**
62
+ * Set iso string hours to 0 and format correctly the date (consider timezone offset)
63
+ * @example '2024-03-04T23:00:00.000Z' -> '2024-03-05T00:00:00.000Z'
64
+ * @param isoString the iso string
65
+ */
66
+ static isoStringSetZeroTime(isoString: string): string;
67
+ /**
68
+ * Calculate the date time left and return the string format [d h m s]
69
+ * @param endDate
70
+ */
71
+ static timeLeftString(endDate: Date): Observable<string>;
72
+ /**
73
+ * Calculate the next day of week
74
+ * @param dayOfWeek Day of week 0=Sunday, 1=Monday...4=Thursday...
75
+ * @param hour the specif hour
76
+ * @param minute the specific minute
77
+ */
78
+ static nextWeekDayAndTime(dayOfWeek: number, hour?: number, minute?: number): Date;
79
+ }
@@ -0,0 +1,32 @@
1
+ import { Observable } from 'rxjs';
2
+ export declare class ItFileUtils {
3
+ /**
4
+ * Return the file size string
5
+ * @param file the file
6
+ * @param decimals decimal to show
7
+ */
8
+ static getFileSizeString(file: File, decimals?: number): string;
9
+ /**
10
+ * Convert a file to base64 string
11
+ * @param file the base64 string
12
+ */
13
+ static fileToBase64(file: File): Observable<string>;
14
+ /**
15
+ * Convert base64 to Blob
16
+ * @param base64 the base64 string
17
+ * @param mimeType the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME type</a> (example 'application/pdf')
18
+ */
19
+ static base64ToBlob(base64: string, mimeType: string): Blob;
20
+ /**
21
+ * Convert base64 to File
22
+ * @param base64 the base64 string
23
+ * @param mimeType the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME type</a> (example 'application/pdf')
24
+ * @param filename the file name
25
+ */
26
+ static base64ToFile(base64: string, mimeType: string, filename: string): File;
27
+ /**
28
+ * Extract the MIME type from base64 string
29
+ * @param base64 the base64 string
30
+ */
31
+ static getMimeTypeFromBase64(base64: string): string | undefined;
32
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * General Email Regex (RFC 5322 Official Standard)
3
+ * http://emailregex.com/
4
+ */
5
+ export declare const EMAIL_REGEX: RegExp;
6
+ /**
7
+ * Phone number Regex
8
+ */
9
+ export declare const PHONE_NUMBER_REGEX: RegExp;
10
+ /**
11
+ * URL Regex
12
+ */
13
+ export declare const URL_REGEX: RegExp;
14
+ /**
15
+ * The italian tax code Regex (Codice Fiscale)
16
+ */
17
+ export declare const ITALIAN_TAX_CODE_REGEX: RegExp;
18
+ /**
19
+ * The VAT number Regex (Partita iva)
20
+ */
21
+ export declare const VAT_NUMBER_REGEX: RegExp;
22
+ /**
23
+ * Italian CAP Regex
24
+ */
25
+ export declare const CAP_REGEX: RegExp;
26
+ /**
27
+ * Italian Plate Regex
28
+ */
29
+ export declare const PLATE_REGEX: RegExp;
30
+ /**
31
+ * IBAN Regex
32
+ * https://blog.marketto.it/en/2018/06/validate-any-country-iban/
33
+ */
34
+ export declare const IBAN_REGEX: RegExp;