design-angular-kit 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (564) hide show
  1. package/README.md +461 -0
  2. package/assets/i18n/en.json +89 -0
  3. package/assets/i18n/it.json +89 -0
  4. package/esm2022/design-angular-kit.mjs +5 -0
  5. package/esm2022/lib/abstracts/abstract-form.component.mjs +199 -0
  6. package/esm2022/lib/abstracts/abstract.component.mjs +46 -0
  7. package/esm2022/lib/components/core/accordion/accordion.component.mjs +39 -0
  8. package/esm2022/lib/components/core/alert/alert.component.mjs +71 -0
  9. package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
  10. package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +40 -0
  11. package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
  12. package/esm2022/lib/components/core/avatar/avatar.module.mjs +33 -0
  13. package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
  14. package/esm2022/lib/components/core/button/button.directive.mjs +80 -0
  15. package/esm2022/lib/components/core/callout/callout.component.mjs +64 -0
  16. package/esm2022/lib/components/core/card/card.component.mjs +59 -0
  17. package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +86 -0
  18. package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
  19. package/esm2022/lib/components/core/carousel/carousel.module.mjs +18 -0
  20. package/esm2022/lib/components/core/chip/chip.component.mjs +136 -0
  21. package/esm2022/lib/components/core/collapse/collapse.component.mjs +116 -0
  22. package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +27 -0
  23. package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
  24. package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +55 -0
  25. package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +19 -0
  26. package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +147 -0
  27. package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +70 -0
  28. package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
  29. package/esm2022/lib/components/core/forward/forward.directive.mjs +57 -0
  30. package/esm2022/lib/components/core/link/link.component.mjs +42 -0
  31. package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
  32. package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +56 -0
  33. package/esm2022/lib/components/core/list/list.module.mjs +18 -0
  34. package/esm2022/lib/components/core/modal/modal.component.mjs +194 -0
  35. package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
  36. package/esm2022/lib/components/core/pagination/pagination.component.mjs +130 -0
  37. package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
  38. package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
  39. package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +25 -0
  40. package/esm2022/lib/components/core/spinner/spinner.component.mjs +30 -0
  41. package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +116 -0
  42. package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +22 -0
  43. package/esm2022/lib/components/core/steppers/steppers.module.mjs +18 -0
  44. package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +97 -0
  45. package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +39 -0
  46. package/esm2022/lib/components/core/tab/tab.module.mjs +18 -0
  47. package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +134 -0
  48. package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
  49. package/esm2022/lib/components/core/table/table.component.mjs +45 -0
  50. package/esm2022/lib/components/core/table/table.module.mjs +19 -0
  51. package/esm2022/lib/components/core/timeline/timeline-item/timeline-item.component.mjs +90 -0
  52. package/esm2022/lib/components/core/timeline/timeline.component.mjs +36 -0
  53. package/esm2022/lib/components/core/timeline/timeline.module.mjs +18 -0
  54. package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
  55. package/esm2022/lib/components/core/video-player/video-player-i18n.model.mjs +2 -0
  56. package/esm2022/lib/components/core/video-player/video-player-i18n.service.mjs +130 -0
  57. package/esm2022/lib/components/core/video-player/video-player.component.mjs +303 -0
  58. package/esm2022/lib/components/core/video-player/video-player.config.mjs +43 -0
  59. package/esm2022/lib/components/core/video-player/video-player.cookie.mjs +25 -0
  60. package/esm2022/lib/components/core/video-player/video-player.model.mjs +3 -0
  61. package/esm2022/lib/components/core/video-player/video-player.module.mjs +16 -0
  62. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +178 -0
  63. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
  64. package/esm2022/lib/components/form/form.module.mjs +67 -0
  65. package/esm2022/lib/components/form/input/input.component.mjs +190 -0
  66. package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
  67. package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +60 -0
  68. package/esm2022/lib/components/form/range/range.component.mjs +64 -0
  69. package/esm2022/lib/components/form/rating/rating.component.mjs +50 -0
  70. package/esm2022/lib/components/form/search/search.component.mjs +112 -0
  71. package/esm2022/lib/components/form/select/select.component.mjs +70 -0
  72. package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
  73. package/esm2022/lib/components/form/transfer/store/transfer.reducers.mjs +191 -0
  74. package/esm2022/lib/components/form/transfer/store/transfer.state.mjs +2 -0
  75. package/esm2022/lib/components/form/transfer/store/transfer.store.mjs +70 -0
  76. package/esm2022/lib/components/form/transfer/transfer-list/transfer-list.component.mjs +72 -0
  77. package/esm2022/lib/components/form/transfer/transfer.component.mjs +149 -0
  78. package/esm2022/lib/components/form/transfer/transfer.model.mjs +6 -0
  79. package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +142 -0
  80. package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
  81. package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
  82. package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +68 -0
  83. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +51 -0
  84. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
  85. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
  86. package/esm2022/lib/components/navigation/header/header.component.mjs +103 -0
  87. package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +27 -0
  88. package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +49 -0
  89. package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +11 -0
  90. package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
  91. package/esm2022/lib/components/navigation/navscroll/navscroll-list-item.component.mjs +97 -0
  92. package/esm2022/lib/components/navigation/navscroll/navscroll-list-items.component.mjs +44 -0
  93. package/esm2022/lib/components/navigation/navscroll/navscroll.component.mjs +116 -0
  94. package/esm2022/lib/components/navigation/navscroll/navscroll.model.mjs +2 -0
  95. package/esm2022/lib/components/navigation/navscroll/navscroll.store.mjs +68 -0
  96. package/esm2022/lib/components/navigation/navscroll/navscroll.utils.mjs +23 -0
  97. package/esm2022/lib/components/navigation/sidebar/sidebar.component.mjs +50 -0
  98. package/esm2022/lib/components/navigation/skiplink/skiplink/skiplink.component.mjs +27 -0
  99. package/esm2022/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.mjs +26 -0
  100. package/esm2022/lib/components/navigation/skiplink/skiplink.module.mjs +18 -0
  101. package/esm2022/lib/components/utils/error-page/error-page.component.mjs +74 -0
  102. package/esm2022/lib/components/utils/icon/icon.component.mjs +63 -0
  103. package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +50 -0
  104. package/esm2022/lib/design-angular-kit.module.mjs +237 -0
  105. package/esm2022/lib/enums/colors.enums.mjs +12 -0
  106. package/esm2022/lib/enums/sizes.enum.mjs +9 -0
  107. package/esm2022/lib/interfaces/core.mjs +16 -0
  108. package/esm2022/lib/interfaces/design-angular-kit-config.mjs +7 -0
  109. package/esm2022/lib/interfaces/form.mjs +2 -0
  110. package/esm2022/lib/interfaces/icon.mjs +168 -0
  111. package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
  112. package/esm2022/lib/interfaces/utils.mjs +2 -0
  113. package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
  114. package/esm2022/lib/pipes/duration.pipe.mjs +115 -0
  115. package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
  116. package/esm2022/lib/provide-design-angular-kit.mjs +64 -0
  117. package/esm2022/lib/services/notification/notification.service.mjs +120 -0
  118. package/esm2022/lib/utils/coercion.mjs +18 -0
  119. package/esm2022/lib/utils/date-utils.mjs +162 -0
  120. package/esm2022/lib/utils/file-utils.mjs +73 -0
  121. package/esm2022/lib/utils/regex.mjs +35 -0
  122. package/esm2022/lib/validators/it-validators.mjs +161 -0
  123. package/esm2022/public_api.mjs +114 -0
  124. package/fesm2022/design-angular-kit.mjs +7423 -0
  125. package/fesm2022/design-angular-kit.mjs.map +1 -0
  126. package/index.d.ts +5 -0
  127. package/lib/abstracts/abstract-form.component.d.ts +89 -0
  128. package/lib/abstracts/abstract.component.d.ts +30 -0
  129. package/lib/components/core/accordion/accordion.component.d.ts +18 -0
  130. package/lib/components/core/alert/alert.component.d.ts +44 -0
  131. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
  132. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +15 -0
  133. package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
  134. package/lib/components/core/avatar/avatar.module.d.ts +9 -0
  135. package/lib/components/core/badge/badge.directive.d.ts +23 -0
  136. package/lib/components/core/button/button.directive.d.ts +48 -0
  137. package/lib/components/core/callout/callout.component.d.ts +50 -0
  138. package/lib/components/core/card/card.component.d.ts +69 -0
  139. package/lib/components/core/carousel/carousel/carousel.component.d.ts +65 -0
  140. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +15 -0
  141. package/lib/components/core/carousel/carousel.module.d.ts +8 -0
  142. package/lib/components/core/chip/chip.component.d.ts +76 -0
  143. package/lib/components/core/collapse/collapse.component.d.ts +67 -0
  144. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +12 -0
  145. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +5 -0
  146. package/lib/components/core/dimmer/dimmer.component.d.ts +24 -0
  147. package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
  148. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +94 -0
  149. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +46 -0
  150. package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
  151. package/lib/components/core/forward/forward.directive.d.ts +14 -0
  152. package/lib/components/core/link/link.component.d.ts +35 -0
  153. package/lib/components/core/list/list/list.component.d.ts +24 -0
  154. package/lib/components/core/list/list-item/list-item.component.d.ts +41 -0
  155. package/lib/components/core/list/list.module.d.ts +8 -0
  156. package/lib/components/core/modal/modal.component.d.ts +135 -0
  157. package/lib/components/core/notifications/notifications.component.d.ts +45 -0
  158. package/lib/components/core/pagination/pagination.component.d.ts +92 -0
  159. package/lib/components/core/popover/popover.directive.d.ts +99 -0
  160. package/lib/components/core/progress-bar/progress-bar.component.d.ts +31 -0
  161. package/lib/components/core/progress-button/progress-button.component.d.ts +21 -0
  162. package/lib/components/core/spinner/spinner.component.d.ts +24 -0
  163. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +130 -0
  164. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +24 -0
  165. package/lib/components/core/steppers/steppers.module.d.ts +8 -0
  166. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +60 -0
  167. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +38 -0
  168. package/lib/components/core/tab/tab.module.d.ts +8 -0
  169. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
  170. package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
  171. package/lib/components/core/table/table.component.d.ts +60 -0
  172. package/lib/components/core/table/table.module.d.ts +9 -0
  173. package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +79 -0
  174. package/lib/components/core/timeline/timeline.component.d.ts +21 -0
  175. package/lib/components/core/timeline/timeline.module.d.ts +8 -0
  176. package/lib/components/core/tooltip/tooltip.directive.d.ts +82 -0
  177. package/lib/components/core/video-player/video-player-i18n.model.d.ts +179 -0
  178. package/lib/components/core/video-player/video-player-i18n.service.d.ts +17 -0
  179. package/lib/components/core/video-player/video-player.component.d.ts +48 -0
  180. package/lib/components/core/video-player/video-player.config.d.ts +68 -0
  181. package/lib/components/core/video-player/video-player.cookie.d.ts +6 -0
  182. package/lib/components/core/video-player/video-player.model.d.ts +44 -0
  183. package/lib/components/core/video-player/video-player.module.d.ts +7 -0
  184. package/lib/components/form/autocomplete/autocomplete.component.d.ts +75 -0
  185. package/lib/components/form/checkbox/checkbox.component.d.ts +41 -0
  186. package/lib/components/form/form.module.d.ts +19 -0
  187. package/lib/components/form/input/input.component.d.ts +95 -0
  188. package/lib/components/form/password-input/password-input.component.d.ts +80 -0
  189. package/lib/components/form/radio-button/radio-button.component.d.ts +38 -0
  190. package/lib/components/form/range/range.component.d.ts +42 -0
  191. package/lib/components/form/rating/rating.component.d.ts +24 -0
  192. package/lib/components/form/search/search.component.d.ts +59 -0
  193. package/lib/components/form/select/select.component.d.ts +36 -0
  194. package/lib/components/form/textarea/textarea.component.d.ts +34 -0
  195. package/lib/components/form/transfer/store/transfer.reducers.d.ts +103 -0
  196. package/lib/components/form/transfer/store/transfer.state.d.ts +18 -0
  197. package/lib/components/form/transfer/store/transfer.store.d.ts +23 -0
  198. package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +48 -0
  199. package/lib/components/form/transfer/transfer.component.d.ts +75 -0
  200. package/{src/lib/components/form/transfer/transfer.model.ts → lib/components/form/transfer/transfer.model.d.ts} +2 -9
  201. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +60 -0
  202. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +62 -0
  203. package/lib/components/navigation/back-button/back-button.component.d.ts +47 -0
  204. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +50 -0
  205. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +28 -0
  206. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +23 -0
  207. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  208. package/lib/components/navigation/header/header.component.d.ts +38 -0
  209. package/lib/components/navigation/megamenu/megamenu.component.d.ts +22 -0
  210. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +19 -0
  211. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
  212. package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
  213. package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +16 -0
  214. package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +7 -0
  215. package/lib/components/navigation/navscroll/navscroll.component.d.ts +47 -0
  216. package/{src/lib/components/navigation/navscroll/navscroll.model.ts → lib/components/navigation/navscroll/navscroll.model.d.ts} +5 -7
  217. package/lib/components/navigation/navscroll/navscroll.store.d.ts +16 -0
  218. package/lib/components/navigation/navscroll/navscroll.utils.d.ts +6 -0
  219. package/lib/components/navigation/sidebar/sidebar.component.d.ts +26 -0
  220. package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +17 -0
  221. package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +24 -0
  222. package/lib/components/navigation/skiplink/skiplink.module.d.ts +8 -0
  223. package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
  224. package/lib/components/utils/icon/icon.component.d.ts +53 -0
  225. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +27 -0
  226. package/lib/design-angular-kit.module.d.ts +54 -0
  227. package/lib/enums/colors.enums.d.ts +10 -0
  228. package/lib/enums/sizes.enum.d.ts +7 -0
  229. package/{src/lib/interfaces/core.ts → lib/interfaces/core.d.ts} +53 -95
  230. package/lib/interfaces/design-angular-kit-config.d.ts +30 -0
  231. package/lib/interfaces/form.d.ts +67 -0
  232. package/lib/interfaces/icon.d.ts +4 -0
  233. package/lib/interfaces/sortable-table.d.ts +33 -0
  234. package/lib/interfaces/utils.d.ts +10 -0
  235. package/lib/pipes/date-ago.pipe.d.ts +17 -0
  236. package/lib/pipes/duration.pipe.d.ts +35 -0
  237. package/lib/pipes/mark-matching-text.pipe.d.ts +18 -0
  238. package/lib/provide-design-angular-kit.d.ts +7 -0
  239. package/lib/services/notification/notification.service.d.ts +63 -0
  240. package/{src/lib/utils/coercion.ts → lib/utils/coercion.d.ts} +1 -7
  241. package/lib/utils/date-utils.d.ts +79 -0
  242. package/lib/utils/file-utils.d.ts +32 -0
  243. package/lib/utils/regex.d.ts +34 -0
  244. package/lib/validators/it-validators.d.ts +70 -0
  245. package/package.json +33 -15
  246. package/{src/public_api.ts → public_api.d.ts} +6 -45
  247. package/schematics/ng-add/index.d.ts +3 -0
  248. package/schematics/ng-add/index.js +29 -0
  249. package/schematics/ng-add/index.js.map +1 -0
  250. package/schematics/ng-add/index.spec.d.ts +1 -0
  251. package/schematics/ng-add/index.spec.js +43 -0
  252. package/schematics/ng-add/index.spec.js.map +1 -0
  253. package/schematics/ng-add/rules/setup-project/add-animations.d.ts +2 -0
  254. package/schematics/ng-add/rules/setup-project/add-animations.js +11 -0
  255. package/schematics/ng-add/rules/setup-project/add-animations.js.map +1 -0
  256. package/schematics/ng-add/rules/setup-project/add-assets.d.ts +3 -0
  257. package/schematics/ng-add/rules/setup-project/add-assets.js +50 -0
  258. package/schematics/ng-add/rules/setup-project/add-assets.js.map +1 -0
  259. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.d.ts +3 -0
  260. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js +43 -0
  261. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js.map +1 -0
  262. package/schematics/ng-add/rules/setup-project/add-http-client.d.ts +2 -0
  263. package/schematics/ng-add/rules/setup-project/add-http-client.js +11 -0
  264. package/schematics/ng-add/rules/setup-project/add-http-client.js.map +1 -0
  265. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.d.ts +11 -0
  266. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js +112 -0
  267. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js.map +1 -0
  268. package/schematics/ng-add/rules/setup-project/add-localisation.d.ts +3 -0
  269. package/schematics/ng-add/rules/setup-project/add-localisation.js +50 -0
  270. package/schematics/ng-add/rules/setup-project/add-localisation.js.map +1 -0
  271. package/schematics/ng-add/rules/setup-project/angular-json-helper.d.ts +2 -0
  272. package/schematics/ng-add/rules/setup-project/angular-json-helper.js +13 -0
  273. package/schematics/ng-add/rules/setup-project/angular-json-helper.js.map +1 -0
  274. package/schematics/ng-add/rules/setup-project/exceptions.d.ts +7 -0
  275. package/schematics/ng-add/rules/setup-project/exceptions.js +17 -0
  276. package/schematics/ng-add/rules/setup-project/exceptions.js.map +1 -0
  277. package/schematics/ng-add/rules/setup-project/index.js +23 -0
  278. package/schematics/ng-add/rules/setup-project/index.js.map +1 -0
  279. package/schematics/ng-add/{schema.ts → schema.d.ts} +1 -1
  280. package/schematics/ng-add/schema.js +3 -0
  281. package/schematics/ng-add/schema.js.map +1 -0
  282. package/schematics/ng-add/setup-project.d.ts +3 -0
  283. package/schematics/ng-add/setup-project.js +37 -0
  284. package/schematics/ng-add/setup-project.js.map +1 -0
  285. package/schematics/ng-add/setup-project.spec.d.ts +1 -0
  286. package/schematics/ng-add/setup-project.spec.js +139 -0
  287. package/schematics/ng-add/setup-project.spec.js.map +1 -0
  288. package/schematics/ng-add/utils.d.ts +14 -0
  289. package/schematics/ng-add/utils.js +49 -0
  290. package/schematics/ng-add/utils.js.map +1 -0
  291. package/schematics/ng-add/versions-helper.d.ts +3 -0
  292. package/schematics/ng-add/versions-helper.js +40 -0
  293. package/schematics/ng-add/versions-helper.js.map +1 -0
  294. package/.eslintrc.json +0 -31
  295. package/karma.conf.js +0 -38
  296. package/ng-package.json +0 -9
  297. package/ng-package.prod.json +0 -8
  298. package/schematics/ng-add/index.spec.ts +0 -45
  299. package/schematics/ng-add/index.ts +0 -36
  300. package/schematics/ng-add/rules/setup-project/add-animations.ts +0 -7
  301. package/schematics/ng-add/rules/setup-project/add-assets.ts +0 -45
  302. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.ts +0 -40
  303. package/schematics/ng-add/rules/setup-project/add-http-client.ts +0 -7
  304. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.ts +0 -120
  305. package/schematics/ng-add/rules/setup-project/add-localisation.ts +0 -45
  306. package/schematics/ng-add/rules/setup-project/angular-json-helper.ts +0 -11
  307. package/schematics/ng-add/rules/setup-project/exceptions.ts +0 -13
  308. package/schematics/ng-add/setup-project.spec.ts +0 -166
  309. package/schematics/ng-add/setup-project.ts +0 -31
  310. package/schematics/ng-add/utils.ts +0 -71
  311. package/schematics/ng-add/versions-helper.ts +0 -41
  312. package/src/lib/abstracts/abstract-form.component.ts +0 -200
  313. package/src/lib/abstracts/abstract.component.ts +0 -63
  314. package/src/lib/components/core/accordion/accordion.component.html +0 -27
  315. package/src/lib/components/core/accordion/accordion.component.spec.ts +0 -21
  316. package/src/lib/components/core/accordion/accordion.component.ts +0 -40
  317. package/src/lib/components/core/alert/alert.component.html +0 -19
  318. package/src/lib/components/core/alert/alert.component.scss +0 -3
  319. package/src/lib/components/core/alert/alert.component.spec.ts +0 -62
  320. package/src/lib/components/core/alert/alert.component.ts +0 -75
  321. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.html +0 -23
  322. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.scss +0 -17
  323. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.spec.ts +0 -21
  324. package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.ts +0 -50
  325. package/src/lib/components/core/avatar/avatar-group/avatar-group.component.html +0 -7
  326. package/src/lib/components/core/avatar/avatar-group/avatar-group.component.spec.ts +0 -38
  327. package/src/lib/components/core/avatar/avatar-group/avatar-group.component.ts +0 -25
  328. package/src/lib/components/core/avatar/avatar.directive.ts +0 -73
  329. package/src/lib/components/core/avatar/avatar.module.ts +0 -18
  330. package/src/lib/components/core/badge/badge.directive.spec.ts +0 -59
  331. package/src/lib/components/core/badge/badge.directive.ts +0 -39
  332. package/src/lib/components/core/button/button.directive.spec.ts +0 -96
  333. package/src/lib/components/core/button/button.directive.ts +0 -89
  334. package/src/lib/components/core/callout/callout.component.html +0 -25
  335. package/src/lib/components/core/callout/callout.component.spec.ts +0 -138
  336. package/src/lib/components/core/callout/callout.component.ts +0 -92
  337. package/src/lib/components/core/card/card.component.html +0 -35
  338. package/src/lib/components/core/card/card.component.scss +0 -30
  339. package/src/lib/components/core/card/card.component.spec.ts +0 -21
  340. package/src/lib/components/core/card/card.component.ts +0 -78
  341. package/src/lib/components/core/carousel/carousel/carousel.component.html +0 -29
  342. package/src/lib/components/core/carousel/carousel/carousel.component.scss +0 -1
  343. package/src/lib/components/core/carousel/carousel/carousel.component.spec.ts +0 -21
  344. package/src/lib/components/core/carousel/carousel/carousel.component.ts +0 -119
  345. package/src/lib/components/core/carousel/carousel-item/carousel-item.component.html +0 -3
  346. package/src/lib/components/core/carousel/carousel-item/carousel-item.component.spec.ts +0 -22
  347. package/src/lib/components/core/carousel/carousel-item/carousel-item.component.ts +0 -20
  348. package/src/lib/components/core/carousel/carousel.module.ts +0 -11
  349. package/src/lib/components/core/chip/chip.component.html +0 -26
  350. package/src/lib/components/core/chip/chip.component.spec.ts +0 -87
  351. package/src/lib/components/core/chip/chip.component.ts +0 -154
  352. package/src/lib/components/core/collapse/collapse.component.html +0 -3
  353. package/src/lib/components/core/collapse/collapse.component.spec.ts +0 -21
  354. package/src/lib/components/core/collapse/collapse.component.ts +0 -124
  355. package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.html +0 -3
  356. package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.spec.ts +0 -35
  357. package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.ts +0 -23
  358. package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.html +0 -3
  359. package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.spec.ts +0 -22
  360. package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.ts +0 -10
  361. package/src/lib/components/core/dimmer/dimmer.component.html +0 -7
  362. package/src/lib/components/core/dimmer/dimmer.component.spec.ts +0 -49
  363. package/src/lib/components/core/dimmer/dimmer.component.ts +0 -50
  364. package/src/lib/components/core/dimmer/dimmer.module.ts +0 -12
  365. package/src/lib/components/core/dropdown/dropdown/dropdown.component.html +0 -45
  366. package/src/lib/components/core/dropdown/dropdown/dropdown.component.scss +0 -3
  367. package/src/lib/components/core/dropdown/dropdown/dropdown.component.spec.ts +0 -21
  368. package/src/lib/components/core/dropdown/dropdown/dropdown.component.ts +0 -186
  369. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.html +0 -18
  370. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.scss +0 -4
  371. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.spec.ts +0 -21
  372. package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.ts +0 -82
  373. package/src/lib/components/core/dropdown/dropdown.module.ts +0 -11
  374. package/src/lib/components/core/forward/forward.directive.spec.ts +0 -60
  375. package/src/lib/components/core/forward/forward.directive.ts +0 -43
  376. package/src/lib/components/core/link/link.component.html +0 -13
  377. package/src/lib/components/core/link/link.component.spec.ts +0 -21
  378. package/src/lib/components/core/link/link.component.ts +0 -54
  379. package/src/lib/components/core/list/list/list.component.html +0 -13
  380. package/src/lib/components/core/list/list/list.component.spec.ts +0 -21
  381. package/src/lib/components/core/list/list/list.component.ts +0 -30
  382. package/src/lib/components/core/list/list-item/list-item.component.html +0 -42
  383. package/src/lib/components/core/list/list-item/list-item.component.scss +0 -16
  384. package/src/lib/components/core/list/list-item/list-item.component.spec.ts +0 -21
  385. package/src/lib/components/core/list/list-item/list-item.component.ts +0 -75
  386. package/src/lib/components/core/list/list.module.ts +0 -11
  387. package/src/lib/components/core/modal/modal.component.html +0 -36
  388. package/src/lib/components/core/modal/modal.component.scss +0 -3
  389. package/src/lib/components/core/modal/modal.component.spec.ts +0 -21
  390. package/src/lib/components/core/modal/modal.component.ts +0 -218
  391. package/src/lib/components/core/notifications/notifications.component.html +0 -25
  392. package/src/lib/components/core/notifications/notifications.component.scss +0 -3
  393. package/src/lib/components/core/notifications/notifications.component.spec.ts +0 -21
  394. package/src/lib/components/core/notifications/notifications.component.ts +0 -123
  395. package/src/lib/components/core/pagination/pagination.component.html +0 -107
  396. package/src/lib/components/core/pagination/pagination.component.spec.ts +0 -21
  397. package/src/lib/components/core/pagination/pagination.component.ts +0 -157
  398. package/src/lib/components/core/popover/popover.directive.spec.ts +0 -21
  399. package/src/lib/components/core/popover/popover.directive.ts +0 -171
  400. package/src/lib/components/core/progress-bar/progress-bar.component.html +0 -20
  401. package/src/lib/components/core/progress-bar/progress-bar.component.spec.ts +0 -21
  402. package/src/lib/components/core/progress-bar/progress-bar.component.ts +0 -46
  403. package/src/lib/components/core/progress-button/progress-button.component.html +0 -5
  404. package/src/lib/components/core/progress-button/progress-button.component.spec.ts +0 -21
  405. package/src/lib/components/core/progress-button/progress-button.component.ts +0 -39
  406. package/src/lib/components/core/spinner/spinner.component.html +0 -7
  407. package/src/lib/components/core/spinner/spinner.component.spec.ts +0 -80
  408. package/src/lib/components/core/spinner/spinner.component.ts +0 -31
  409. package/src/lib/components/core/steppers/steppers-container/steppers-container.component.html +0 -126
  410. package/src/lib/components/core/steppers/steppers-container/steppers-container.component.spec.ts +0 -21
  411. package/src/lib/components/core/steppers/steppers-container/steppers-container.component.ts +0 -185
  412. package/src/lib/components/core/steppers/steppers-item/steppers-item.component.html +0 -3
  413. package/src/lib/components/core/steppers/steppers-item/steppers-item.component.spec.ts +0 -22
  414. package/src/lib/components/core/steppers/steppers-item/steppers-item.component.ts +0 -33
  415. package/src/lib/components/core/steppers/steppers.module.ts +0 -11
  416. package/src/lib/components/core/tab/tab-container/tab-container.component.html +0 -78
  417. package/src/lib/components/core/tab/tab-container/tab-container.component.spec.ts +0 -21
  418. package/src/lib/components/core/tab/tab-container/tab-container.component.ts +0 -137
  419. package/src/lib/components/core/tab/tab-item/tab-item.component.html +0 -3
  420. package/src/lib/components/core/tab/tab-item/tab-item.component.spec.ts +0 -22
  421. package/src/lib/components/core/tab/tab-item/tab-item.component.ts +0 -50
  422. package/src/lib/components/core/tab/tab.module.ts +0 -11
  423. package/src/lib/components/core/table/sort/sort-header/sort-header.component.html +0 -27
  424. package/src/lib/components/core/table/sort/sort-header/sort-header.component.scss +0 -65
  425. package/src/lib/components/core/table/sort/sort-header/sort-header.component.spec.ts +0 -25
  426. package/src/lib/components/core/table/sort/sort-header/sort-header.component.ts +0 -164
  427. package/src/lib/components/core/table/sort/sort.directive.spec.ts +0 -73
  428. package/src/lib/components/core/table/sort/sort.directive.ts +0 -142
  429. package/src/lib/components/core/table/table.component.html +0 -23
  430. package/src/lib/components/core/table/table.component.scss +0 -7
  431. package/src/lib/components/core/table/table.component.spec.ts +0 -21
  432. package/src/lib/components/core/table/table.component.ts +0 -70
  433. package/src/lib/components/core/table/table.module.ts +0 -12
  434. package/src/lib/components/core/timeline/timeline-item/timeline-item.component.html +0 -47
  435. package/src/lib/components/core/timeline/timeline-item/timeline-item.component.spec.ts +0 -24
  436. package/src/lib/components/core/timeline/timeline-item/timeline-item.component.ts +0 -102
  437. package/src/lib/components/core/timeline/timeline.component.html +0 -21
  438. package/src/lib/components/core/timeline/timeline.component.spec.ts +0 -21
  439. package/src/lib/components/core/timeline/timeline.component.ts +0 -31
  440. package/src/lib/components/core/timeline/timeline.module.ts +0 -11
  441. package/src/lib/components/core/tooltip/tooltip.directive.spec.ts +0 -20
  442. package/src/lib/components/core/tooltip/tooltip.directive.ts +0 -141
  443. package/src/lib/components/form/autocomplete/autocomplete.component.html +0 -58
  444. package/src/lib/components/form/autocomplete/autocomplete.component.spec.ts +0 -21
  445. package/src/lib/components/form/autocomplete/autocomplete.component.ts +0 -130
  446. package/src/lib/components/form/checkbox/checkbox.component.html +0 -67
  447. package/src/lib/components/form/checkbox/checkbox.component.spec.ts +0 -21
  448. package/src/lib/components/form/checkbox/checkbox.component.ts +0 -65
  449. package/src/lib/components/form/form.module.ts +0 -34
  450. package/src/lib/components/form/input/input.component.html +0 -92
  451. package/src/lib/components/form/input/input.component.scss +0 -29
  452. package/src/lib/components/form/input/input.component.spec.ts +0 -21
  453. package/src/lib/components/form/input/input.component.ts +0 -234
  454. package/src/lib/components/form/password-input/password-input.component.html +0 -65
  455. package/src/lib/components/form/password-input/password-input.component.scss +0 -9
  456. package/src/lib/components/form/password-input/password-input.component.spec.ts +0 -21
  457. package/src/lib/components/form/password-input/password-input.component.ts +0 -171
  458. package/src/lib/components/form/radio-button/radio-button.component.html +0 -50
  459. package/src/lib/components/form/radio-button/radio-button.component.scss +0 -14
  460. package/src/lib/components/form/radio-button/radio-button.component.spec.ts +0 -21
  461. package/src/lib/components/form/radio-button/radio-button.component.ts +0 -82
  462. package/src/lib/components/form/range/range.component.html +0 -17
  463. package/src/lib/components/form/range/range.component.scss +0 -17
  464. package/src/lib/components/form/range/range.component.spec.ts +0 -21
  465. package/src/lib/components/form/range/range.component.ts +0 -100
  466. package/src/lib/components/form/rating/rating.component.html +0 -24
  467. package/src/lib/components/form/rating/rating.component.spec.ts +0 -21
  468. package/src/lib/components/form/rating/rating.component.ts +0 -52
  469. package/src/lib/components/form/select/select.component.html +0 -54
  470. package/src/lib/components/form/select/select.component.scss +0 -3
  471. package/src/lib/components/form/select/select.component.spec.ts +0 -22
  472. package/src/lib/components/form/select/select.component.ts +0 -91
  473. package/src/lib/components/form/textarea/textarea.component.html +0 -28
  474. package/src/lib/components/form/textarea/textarea.component.scss +0 -12
  475. package/src/lib/components/form/textarea/textarea.component.spec.ts +0 -21
  476. package/src/lib/components/form/textarea/textarea.component.ts +0 -61
  477. package/src/lib/components/form/transfer/store/transfer.reducers.ts +0 -242
  478. package/src/lib/components/form/transfer/store/transfer.state.ts +0 -20
  479. package/src/lib/components/form/transfer/store/transfer.store.ts +0 -88
  480. package/src/lib/components/form/transfer/transfer-list/transfer-list.component.html +0 -42
  481. package/src/lib/components/form/transfer/transfer-list/transfer-list.component.spec.ts +0 -33
  482. package/src/lib/components/form/transfer/transfer-list/transfer-list.component.ts +0 -93
  483. package/src/lib/components/form/transfer/transfer.component.html +0 -52
  484. package/src/lib/components/form/transfer/transfer.component.spec.ts +0 -27
  485. package/src/lib/components/form/transfer/transfer.component.ts +0 -159
  486. package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.html +0 -36
  487. package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.spec.ts +0 -21
  488. package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.ts +0 -170
  489. package/src/lib/components/form/upload-file-list/upload-file-list.component.html +0 -46
  490. package/src/lib/components/form/upload-file-list/upload-file-list.component.spec.ts +0 -22
  491. package/src/lib/components/form/upload-file-list/upload-file-list.component.ts +0 -120
  492. package/src/lib/components/navigation/back-button/back-button.component.html +0 -25
  493. package/src/lib/components/navigation/back-button/back-button.component.spec.ts +0 -91
  494. package/src/lib/components/navigation/back-button/back-button.component.ts +0 -67
  495. package/src/lib/components/navigation/back-to-top/back-to-top.component.html +0 -11
  496. package/src/lib/components/navigation/back-to-top/back-to-top.component.spec.ts +0 -21
  497. package/src/lib/components/navigation/back-to-top/back-to-top.component.ts +0 -80
  498. package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.html +0 -23
  499. package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.spec.ts +0 -21
  500. package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.ts +0 -68
  501. package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.html +0 -3
  502. package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.spec.ts +0 -22
  503. package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.ts +0 -29
  504. package/src/lib/components/navigation/breadcrumbs/breadcrumbs.module.ts +0 -11
  505. package/src/lib/components/navigation/header/header.component.html +0 -102
  506. package/src/lib/components/navigation/header/header.component.scss +0 -3
  507. package/src/lib/components/navigation/header/header.component.spec.ts +0 -21
  508. package/src/lib/components/navigation/header/header.component.ts +0 -107
  509. package/src/lib/components/navigation/megamenu/megamenu.component.html +0 -34
  510. package/src/lib/components/navigation/megamenu/megamenu.component.scss +0 -5
  511. package/src/lib/components/navigation/megamenu/megamenu.component.ts +0 -30
  512. package/src/lib/components/navigation/navbar/navbar/navbar.component.html +0 -28
  513. package/src/lib/components/navigation/navbar/navbar/navbar.component.ts +0 -45
  514. package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.html +0 -3
  515. package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.ts +0 -10
  516. package/src/lib/components/navigation/navbar/navbar.module.ts +0 -11
  517. package/src/lib/components/navigation/navscroll/navscroll-list-item.component.ts +0 -95
  518. package/src/lib/components/navigation/navscroll/navscroll-list-items.component.ts +0 -27
  519. package/src/lib/components/navigation/navscroll/navscroll.component.html +0 -101
  520. package/src/lib/components/navigation/navscroll/navscroll.component.scss +0 -9
  521. package/src/lib/components/navigation/navscroll/navscroll.component.ts +0 -143
  522. package/src/lib/components/navigation/navscroll/navscroll.store.ts +0 -96
  523. package/src/lib/components/navigation/navscroll/navscroll.utils.ts +0 -28
  524. package/src/lib/components/navigation/sidebar/sidebar.component.html +0 -11
  525. package/src/lib/components/navigation/sidebar/sidebar.component.spec.ts +0 -21
  526. package/src/lib/components/navigation/sidebar/sidebar.component.ts +0 -39
  527. package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.html +0 -15
  528. package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.ts +0 -27
  529. package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.html +0 -15
  530. package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.ts +0 -38
  531. package/src/lib/components/navigation/skiplink/skiplink.module.ts +0 -11
  532. package/src/lib/components/utils/error-page/error-page.component.html +0 -33
  533. package/src/lib/components/utils/error-page/error-page.component.spec.ts +0 -21
  534. package/src/lib/components/utils/error-page/error-page.component.ts +0 -79
  535. package/src/lib/components/utils/icon/icon.component.html +0 -6
  536. package/src/lib/components/utils/icon/icon.component.spec.ts +0 -21
  537. package/src/lib/components/utils/icon/icon.component.ts +0 -95
  538. package/src/lib/components/utils/language-switcher/language-switcher.component.html +0 -21
  539. package/src/lib/components/utils/language-switcher/language-switcher.component.spec.ts +0 -21
  540. package/src/lib/components/utils/language-switcher/language-switcher.component.ts +0 -56
  541. package/src/lib/design-angular-kit.module.ts +0 -131
  542. package/src/lib/enums/colors.enums.ts +0 -10
  543. package/src/lib/enums/sizes.enum.ts +0 -7
  544. package/src/lib/interfaces/design-angular-kit-config.ts +0 -34
  545. package/src/lib/interfaces/form.ts +0 -78
  546. package/src/lib/interfaces/icon.ts +0 -176
  547. package/src/lib/interfaces/sortable-table.ts +0 -42
  548. package/src/lib/interfaces/utils.ts +0 -11
  549. package/src/lib/pipes/date-ago.pipe.ts +0 -57
  550. package/src/lib/pipes/duration.pipe.ts +0 -112
  551. package/src/lib/pipes/mark-matching-text.pipe.ts +0 -43
  552. package/src/lib/provide-design-angular-kit.ts +0 -73
  553. package/src/lib/services/notification/notification.service.spec.ts +0 -16
  554. package/src/lib/services/notification/notification.service.ts +0 -119
  555. package/src/lib/utils/date-utils.ts +0 -184
  556. package/src/lib/utils/file-utils.ts +0 -80
  557. package/src/lib/utils/regex.ts +0 -44
  558. package/src/lib/validators/it-validators.ts +0 -193
  559. package/src/test.ts +0 -26
  560. package/tsconfig.lib.json +0 -24
  561. package/tsconfig.lib.prod.json +0 -9
  562. package/tsconfig.schematics.json +0 -25
  563. package/tsconfig.spec.json +0 -9
  564. /package/schematics/ng-add/rules/setup-project/{index.ts → index.d.ts} +0 -0
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./navbar/navbar.component";
3
+ import * as i2 from "./navbar-item/navbar-item.component";
4
+ export declare class ItNavBarModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItNavBarModule, never, [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent], [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItNavBarModule>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IsActiveMatchOptions } from '@angular/router';
3
+ import { NavscrollItem } from './navscroll.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ItNavscrollListItemComponent implements OnInit {
6
+ #private;
7
+ item: NavscrollItem;
8
+ readonly checkActive: EventEmitter<NavscrollItem>;
9
+ readonly rtl: any;
10
+ readonly routerLinkActiveOptions: IsActiveMatchOptions;
11
+ readonly active: import("rxjs").Observable<boolean>;
12
+ ngOnInit(): void;
13
+ clickHandler(event: Event): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollListItemComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollListItemComponent, "it-navscroll-list-item", never, { "item": { "alias": "item"; "required": false; }; }, { "checkActive": "checkActive"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1,7 @@
1
+ import { NavscrollItems } from './navscroll.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ItNavscrollListItemsComponent {
4
+ items: NavscrollItems;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollListItemsComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollListItemsComponent, "it-navscroll-list-items", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,47 @@
1
+ import { ElementRef, OnInit, TemplateRef } from '@angular/core';
2
+ import { NavscrollItem } from './navscroll.model';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Navscroll
6
+ * @description Show a list of links to anchor of the document.
7
+ */
8
+ export declare class ItNavscrollComponent implements OnInit {
9
+ #private;
10
+ /**
11
+ * Header of the Navscroll
12
+ */
13
+ header: string;
14
+ /**
15
+ * A list of links
16
+ */
17
+ items: Array<NavscrollItem>;
18
+ /**
19
+ * Border position
20
+ * @default left
21
+ */
22
+ borderPosition: 'left' | 'right';
23
+ /**
24
+ * Alignment
25
+ * @default top
26
+ */
27
+ alignment: 'top' | 'bottom';
28
+ /**
29
+ * Theme
30
+ * @default light
31
+ */
32
+ theme: 'light' | 'dark';
33
+ /**
34
+ * Custom template for the content section
35
+ */
36
+ pageSectionsTemplate?: TemplateRef<any>;
37
+ onScroll(): void;
38
+ onResize(): void;
39
+ readonly toggleButtonRef: ElementRef<HTMLButtonElement>;
40
+ readonly selectedTitle: import("rxjs").Observable<string>;
41
+ readonly progressBarValue: import("rxjs").Observable<number>;
42
+ readonly isMobile: import("rxjs").Observable<boolean>;
43
+ constructor();
44
+ ngOnInit(): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollComponent, "it-navscroll", never, { "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "pageSectionsTemplate": { "alias": "pageSectionsTemplate"; "required": false; }; }, {}, never, never, true, never>;
47
+ }
@@ -1,12 +1,10 @@
1
1
  export interface NavscrollItem {
2
- title: string;
3
- text: string;
4
- href: string;
5
- childs: NavscrollItems;
2
+ title: string;
3
+ text: string;
4
+ href: string;
5
+ childs: NavscrollItems;
6
6
  }
7
-
8
7
  export type NavscrollItems = Array<NavscrollItem>;
9
-
10
8
  export interface NavscrollItemActive {
11
- active: boolean;
9
+ active: boolean;
12
10
  }
@@ -0,0 +1,16 @@
1
+ import { NavscrollItem } from './navscroll.model';
2
+ export declare class NavscrollStore {
3
+ #private;
4
+ readonly selected: import("rxjs").Observable<NavscrollItem | undefined>;
5
+ readonly progressBar: import("rxjs").Observable<number>;
6
+ readonly isMobile: import("rxjs").Observable<boolean>;
7
+ readonly menuItemSelected: import("rxjs").Observable<unknown>;
8
+ init(navscrollItems: Array<NavscrollItem>): void;
9
+ setActive(item: NavscrollItem): void;
10
+ isActive$(item: NavscrollItem): import("rxjs").Observable<boolean>;
11
+ updateProgressBar(container: HTMLElement): void;
12
+ selectMenuItem(): void;
13
+ setMobile({ innerWidth }: {
14
+ innerWidth: number;
15
+ }): void;
16
+ }
@@ -0,0 +1,6 @@
1
+ import { NavscrollItem, NavscrollItems } from './navscroll.model';
2
+ declare function searchFn(items: Set<NavscrollItem>, item: NavscrollItem): Array<NavscrollItem>;
3
+ declare function flattenNavscrollItemsFn(items: NavscrollItems): NavscrollItems;
4
+ export declare const search: typeof searchFn;
5
+ export declare const flattenNavscrollItems: typeof flattenNavscrollItemsFn;
6
+ export {};
@@ -0,0 +1,26 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../../../utils/coercion";
3
+ export declare class ItSidebarComponent {
4
+ /**
5
+ * Per creare una sidebar con linea separatrice a destra è sufficiente aggiungere la classe
6
+ */
7
+ withRightLine: boolean;
8
+ /**
9
+ * Per creare una sidebar con linea separatrice a sinistra è sufficiente aggiungere la classe
10
+ */
11
+ withLeftLine: boolean;
12
+ /**
13
+ * Per cambiare il tema della sidebar e renderla scura
14
+ */
15
+ dark: boolean;
16
+ /**
17
+ * L'intestazione della sidebar
18
+ */
19
+ header?: string;
20
+ componentClass: string;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSidebarComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSidebarComponent, "it-sidebar", never, { "withRightLine": { "alias": "withRightLine"; "required": false; }; "withLeftLine": { "alias": "withLeftLine"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, {}, never, ["*", "[secondary]"], true, never>;
23
+ static ngAcceptInputType_withRightLine: i1.BooleanInput;
24
+ static ngAcceptInputType_withLeftLine: i1.BooleanInput;
25
+ static ngAcceptInputType_dark: i1.BooleanInput;
26
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../../../../utils/coercion";
3
+ export declare class ItSkiplinkComponent {
4
+ /**
5
+ * Aria label for `nav` mode
6
+ * @default 'Scorciatoie di navigazione'
7
+ */
8
+ ariaLabel: string;
9
+ /**
10
+ * If `true` nav mode is enabled
11
+ * @default false
12
+ */
13
+ nav?: boolean;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSkiplinkComponent, "it-skiplink", ["itSkipLink"], { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "nav": { "alias": "nav"; "required": false; }; }, {}, never, ["*"], true, never>;
16
+ static ngAcceptInputType_nav: i1.BooleanInput;
17
+ }
@@ -0,0 +1,24 @@
1
+ import { ItSkiplinkComponent } from '../skiplink/skiplink.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../../utils/coercion";
4
+ export declare class ItSkiplinkItemComponent {
5
+ /**
6
+ * The router link action
7
+ *
8
+ * Commands to pass to Router#createUrlTree.
9
+ * - array: commands to pass to Router#createUrlTree.
10
+ * - string: shorthand for array of commands with just the string, i.e. ['/route']
11
+ * - null|undefined: Disables the link by removing the href
12
+ */
13
+ href: any[] | string | null | undefined;
14
+ /**
15
+ * Is an external link (false to not use Angular router link)
16
+ * @default false
17
+ */
18
+ externalLink?: boolean;
19
+ inNav: boolean;
20
+ constructor(parent: ItSkiplinkComponent);
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkItemComponent, [{ host: true; }]>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSkiplinkItemComponent, "it-skiplink-item", ["itSkipLinkItem"], { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; }, {}, never, ["*"], true, never>;
23
+ static ngAcceptInputType_externalLink: i1.BooleanInput;
24
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./skiplink/skiplink.component";
3
+ import * as i2 from "./skiplink-item/skiplink-item.component";
4
+ export declare class ItSkiplinkModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItSkiplinkModule, never, [typeof i1.ItSkiplinkComponent, typeof i2.ItSkiplinkItemComponent], [typeof i1.ItSkiplinkComponent, typeof i2.ItSkiplinkItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItSkiplinkModule>;
8
+ }
@@ -0,0 +1,44 @@
1
+ import { ActivatedRoute } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../utils/coercion";
4
+ export declare class ItErrorPageComponent {
5
+ private readonly route;
6
+ /**
7
+ * The error code to show
8
+ */
9
+ errorCode: number | 404 | 403 | 500 | undefined;
10
+ /**
11
+ * Show/Hide error code
12
+ * @default true - show
13
+ */
14
+ showErrorCode?: boolean;
15
+ /**
16
+ * Custom error title
17
+ * - If set it will be displayed instead of the default title.
18
+ * - It is possible to use i18n keys
19
+ */
20
+ errorTitle: string | undefined;
21
+ /**
22
+ * Custom error description
23
+ * - If set it will be displayed instead of the default description.
24
+ * - It is possible to use i18n keys
25
+ */
26
+ errorDescription: string | undefined;
27
+ /**
28
+ * Show/Hide back button
29
+ * @default true - show
30
+ */
31
+ showBackButton?: boolean;
32
+ /**
33
+ * Show/Hide home button
34
+ * @default true - show
35
+ */
36
+ showHomeButton?: boolean;
37
+ constructor(route: ActivatedRoute);
38
+ get isDefaultErrorCode(): boolean;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItErrorPageComponent, "it-error-page", never, { "errorCode": { "alias": "errorCode"; "required": false; }; "showErrorCode": { "alias": "showErrorCode"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorDescription": { "alias": "errorDescription"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "showHomeButton": { "alias": "showHomeButton"; "required": false; }; }, {}, never, never, true, never>;
41
+ static ngAcceptInputType_showErrorCode: i1.BooleanInput;
42
+ static ngAcceptInputType_showBackButton: i1.BooleanInput;
43
+ static ngAcceptInputType_showHomeButton: i1.BooleanInput;
44
+ }
@@ -0,0 +1,53 @@
1
+ import { IconColor, IconName, IconSize } from '../../../interfaces/icon';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../utils/coercion";
4
+ export declare class ItIconComponent {
5
+ /**
6
+ * The icon name
7
+ */
8
+ name: IconName;
9
+ /**
10
+ * The icon size
11
+ */
12
+ size: IconSize | undefined;
13
+ /**
14
+ * The icon color
15
+ */
16
+ color: IconColor | undefined;
17
+ /**
18
+ * Create a padding proportional to the size of the surrounding icon.
19
+ * @default false
20
+ */
21
+ padded?: boolean;
22
+ /**
23
+ * Custom class of svg
24
+ */
25
+ svgClass: string | undefined;
26
+ /**
27
+ * Title of the icon
28
+ */
29
+ title: string | undefined;
30
+ /**
31
+ * Custom Waria label
32
+ */
33
+ labelWaria: string | undefined;
34
+ /**
35
+ * Return the icon href
36
+ */
37
+ protected get iconHref(): string;
38
+ /**
39
+ * Return the icon class
40
+ */
41
+ protected get iconClass(): string;
42
+ /**
43
+ * The bootstrap-italia asset folder path
44
+ * @default ./bootstrap-italia
45
+ */
46
+ protected assetBasePath: string;
47
+ get isAriaHidden(): boolean;
48
+ get role(): string | null;
49
+ constructor();
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItIconComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItIconComponent, "it-icon", never, { "name": { "alias": "name"; "required": true; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "svgClass": { "alias": "svgClass"; "required": false; }; "title": { "alias": "title"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; }, {}, never, never, true, never>;
52
+ static ngAcceptInputType_padded: i1.BooleanInput;
53
+ }
@@ -0,0 +1,27 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { AvailableLanguage } from '../../../interfaces/utils';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ItLanguageSwitcherComponent implements OnInit {
7
+ private readonly translateService;
8
+ /**
9
+ * The available languages
10
+ * @default The languages available through TranslateService (ngx-translate)
11
+ */
12
+ availableLanguages: Array<AvailableLanguage> | undefined;
13
+ /**
14
+ * Dropdown mode
15
+ */
16
+ mode: 'button' | 'link' | 'nav';
17
+ protected currentLang$: Observable<AvailableLanguage | undefined>;
18
+ constructor(translateService: TranslateService);
19
+ ngOnInit(): void;
20
+ /**
21
+ * Change the current language
22
+ * @param lang the language code
23
+ */
24
+ changeLanguage(lang: string): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItLanguageSwitcherComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItLanguageSwitcherComponent, "it-language-switcher", never, { "availableLanguages": { "alias": "availableLanguages"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, true, never>;
27
+ }
@@ -0,0 +1,54 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { DesignAngularKitConfig } from './interfaces/design-angular-kit-config';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./components/core/accordion/accordion.component";
5
+ import * as i2 from "./components/core/alert/alert.component";
6
+ import * as i3 from "./components/core/avatar/avatar.module";
7
+ import * as i4 from "./components/core/badge/badge.directive";
8
+ import * as i5 from "./components/core/button/button.directive";
9
+ import * as i6 from "./components/core/callout/callout.component";
10
+ import * as i7 from "./components/core/card/card.component";
11
+ import * as i8 from "./components/core/carousel/carousel.module";
12
+ import * as i9 from "./components/core/chip/chip.component";
13
+ import * as i10 from "./components/core/collapse/collapse.component";
14
+ import * as i11 from "./components/core/dimmer/dimmer.module";
15
+ import * as i12 from "./components/core/dropdown/dropdown.module";
16
+ import * as i13 from "./components/core/forward/forward.directive";
17
+ import * as i14 from "./components/core/link/link.component";
18
+ import * as i15 from "./components/core/list/list.module";
19
+ import * as i16 from "./components/core/modal/modal.component";
20
+ import * as i17 from "./components/core/notifications/notifications.component";
21
+ import * as i18 from "./components/core/pagination/pagination.component";
22
+ import * as i19 from "./components/core/popover/popover.directive";
23
+ import * as i20 from "./components/core/progress-bar/progress-bar.component";
24
+ import * as i21 from "./components/core/progress-button/progress-button.component";
25
+ import * as i22 from "./components/core/spinner/spinner.component";
26
+ import * as i23 from "./components/core/steppers/steppers.module";
27
+ import * as i24 from "./components/core/tab/tab.module";
28
+ import * as i25 from "./components/core/table/table.module";
29
+ import * as i26 from "./components/core/tooltip/tooltip.directive";
30
+ import * as i27 from "./components/core/timeline/timeline.module";
31
+ import * as i28 from "./components/core/video-player/video-player.component";
32
+ import * as i29 from "./components/form/form.module";
33
+ import * as i30 from "./components/navigation/back-button/back-button.component";
34
+ import * as i31 from "./components/navigation/back-to-top/back-to-top.component";
35
+ import * as i32 from "./components/navigation/breadcrumbs/breadcrumbs.module";
36
+ import * as i33 from "./components/navigation/header/header.component";
37
+ import * as i34 from "./components/navigation/navbar/navbar.module";
38
+ import * as i35 from "./components/navigation/sidebar/sidebar.component";
39
+ import * as i36 from "./components/navigation/megamenu/megamenu.component";
40
+ import * as i37 from "./components/navigation/skiplink/skiplink.module";
41
+ import * as i38 from "./components/navigation/navscroll/navscroll.component";
42
+ import * as i39 from "./components/utils/error-page/error-page.component";
43
+ import * as i40 from "./components/utils/icon/icon.component";
44
+ import * as i41 from "./components/utils/language-switcher/language-switcher.component";
45
+ import * as i42 from "./pipes/date-ago.pipe";
46
+ import * as i43 from "./pipes/duration.pipe";
47
+ import * as i44 from "./pipes/mark-matching-text.pipe";
48
+ export declare class DesignAngularKitModule {
49
+ static forRoot(config?: DesignAngularKitConfig): ModuleWithProviders<DesignAngularKitModule>;
50
+ static forChild(): ModuleWithProviders<DesignAngularKitModule>;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<DesignAngularKitModule, never>;
52
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarModule, typeof i4.ItBadgeDirective, typeof i5.ItButtonDirective, typeof i6.ItCalloutComponent, typeof i7.ItCardComponent, typeof i8.ItCarouselModule, typeof i9.ItChipComponent, typeof i10.ItCollapseComponent, typeof i11.ItDimmerModule, typeof i12.ItDropdownModule, typeof i13.ItForwardDirective, typeof i14.ItLinkComponent, typeof i15.ItListModule, typeof i16.ItModalComponent, typeof i17.ItNotificationsComponent, typeof i18.ItPaginationComponent, typeof i19.ItPopoverDirective, typeof i20.ItProgressBarComponent, typeof i21.ItProgressButtonComponent, typeof i22.ItSpinnerComponent, typeof i23.ItSteppersModule, typeof i24.ItTabModule, typeof i25.ItTableModule, typeof i26.ItTooltipDirective, typeof i27.ItTimelineModule, typeof i28.ItVideoPlayerComponent, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItNavBarModule, typeof i35.ItSidebarComponent, typeof i36.ItMegamenuComponent, typeof i37.ItSkiplinkModule, typeof i38.ItNavscrollComponent, typeof i39.ItErrorPageComponent, typeof i40.ItIconComponent, typeof i41.ItLanguageSwitcherComponent, typeof i42.ItDateAgoPipe, typeof i43.ItDurationPipe, typeof i44.ItMarkMatchingTextPipe], [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarModule, typeof i4.ItBadgeDirective, typeof i5.ItButtonDirective, typeof i6.ItCalloutComponent, typeof i7.ItCardComponent, typeof i8.ItCarouselModule, typeof i9.ItChipComponent, typeof i10.ItCollapseComponent, typeof i11.ItDimmerModule, typeof i12.ItDropdownModule, typeof i13.ItForwardDirective, typeof i14.ItLinkComponent, typeof i15.ItListModule, typeof i16.ItModalComponent, typeof i17.ItNotificationsComponent, typeof i18.ItPaginationComponent, typeof i19.ItPopoverDirective, typeof i20.ItProgressBarComponent, typeof i21.ItProgressButtonComponent, typeof i22.ItSpinnerComponent, typeof i23.ItSteppersModule, typeof i24.ItTabModule, typeof i25.ItTableModule, typeof i26.ItTooltipDirective, typeof i27.ItTimelineModule, typeof i28.ItVideoPlayerComponent, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItNavBarModule, typeof i35.ItSidebarComponent, typeof i36.ItMegamenuComponent, typeof i37.ItSkiplinkModule, typeof i38.ItNavscrollComponent, typeof i39.ItErrorPageComponent, typeof i40.ItIconComponent, typeof i41.ItLanguageSwitcherComponent, typeof i42.ItDateAgoPipe, typeof i43.ItDurationPipe, typeof i44.ItMarkMatchingTextPipe]>;
53
+ static ɵinj: i0.ɵɵInjectorDeclaration<DesignAngularKitModule>;
54
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum ColorsEnum {
2
+ primary = "primary",
3
+ secondary = "secondary",
4
+ success = "success",
5
+ danger = "danger",
6
+ warning = "warning",
7
+ green = "green",
8
+ orange = "orange",
9
+ red = "red"
10
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum SizesEnum {
2
+ xs = "size-xs",
3
+ sm = "size-sm",
4
+ lg = "size-lg",
5
+ xl = "size-xl",
6
+ xxl = "size-xxl"
7
+ }
@@ -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
+ }