design-angular-kit 18.0.0 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/README.md +26 -1
  2. package/fesm2022/design-angular-kit.mjs +521 -553
  3. package/fesm2022/design-angular-kit.mjs.map +1 -1
  4. package/index.d.ts +3986 -3
  5. package/package.json +11 -10
  6. package/schematics/ng-add/index.js +1 -1
  7. package/schematics/ng-add/index.js.map +1 -1
  8. package/schematics/ng-add/rules/setup-project/add-animations.js +1 -2
  9. package/schematics/ng-add/rules/setup-project/add-animations.js.map +1 -1
  10. package/schematics/ng-add/rules/setup-project/add-assets.js +1 -2
  11. package/schematics/ng-add/rules/setup-project/add-assets.js.map +1 -1
  12. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js +1 -2
  13. package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js.map +1 -1
  14. package/schematics/ng-add/rules/setup-project/add-http-client.js +1 -2
  15. package/schematics/ng-add/rules/setup-project/add-http-client.js.map +1 -1
  16. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js +1 -2
  17. package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js.map +1 -1
  18. package/schematics/ng-add/rules/setup-project/add-localisation.js +1 -2
  19. package/schematics/ng-add/rules/setup-project/add-localisation.js.map +1 -1
  20. package/schematics/ng-add/rules/setup-project/angular-json-helper.js +1 -2
  21. package/schematics/ng-add/rules/setup-project/angular-json-helper.js.map +1 -1
  22. package/schematics/ng-add/setup-project.js +2 -2
  23. package/schematics/ng-add/setup-project.js.map +1 -1
  24. package/schematics/ng-add/setup-project.spec.js +1 -1
  25. package/schematics/ng-add/utils.js +13 -6
  26. package/schematics/ng-add/utils.js.map +1 -1
  27. package/schematics/ng-add/utils.spec.d.ts +1 -0
  28. package/schematics/ng-add/utils.spec.js +48 -0
  29. package/schematics/ng-add/utils.spec.js.map +1 -0
  30. package/schematics/ng-add/versions-helper.js +11 -19
  31. package/schematics/ng-add/versions-helper.js.map +1 -1
  32. package/schematics/ng-add/versions-helper.spec.d.ts +1 -0
  33. package/schematics/ng-add/versions-helper.spec.js +46 -0
  34. package/schematics/ng-add/versions-helper.spec.js.map +1 -0
  35. package/esm2022/design-angular-kit.mjs +0 -5
  36. package/esm2022/lib/abstracts/abstract-form.component.mjs +0 -199
  37. package/esm2022/lib/abstracts/abstract.component.mjs +0 -46
  38. package/esm2022/lib/components/core/accordion/accordion.component.mjs +0 -39
  39. package/esm2022/lib/components/core/alert/alert.component.mjs +0 -71
  40. package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +0 -43
  41. package/esm2022/lib/components/core/avatar/avatar-extra-text.directive.mjs +0 -22
  42. package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +0 -84
  43. package/esm2022/lib/components/core/avatar/avatar-presence.directive.mjs +0 -38
  44. package/esm2022/lib/components/core/avatar/avatar-status.directive.mjs +0 -38
  45. package/esm2022/lib/components/core/avatar/avatar-wrapper.directive.mjs +0 -32
  46. package/esm2022/lib/components/core/avatar/avatar.directive.mjs +0 -78
  47. package/esm2022/lib/components/core/avatar/avatar.module.mjs +0 -52
  48. package/esm2022/lib/components/core/badge/badge.directive.mjs +0 -39
  49. package/esm2022/lib/components/core/button/button.directive.mjs +0 -80
  50. package/esm2022/lib/components/core/callout/callout.component.mjs +0 -64
  51. package/esm2022/lib/components/core/card/card.component.mjs +0 -59
  52. package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +0 -86
  53. package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -19
  54. package/esm2022/lib/components/core/carousel/carousel.module.mjs +0 -18
  55. package/esm2022/lib/components/core/chip/chip.component.mjs +0 -136
  56. package/esm2022/lib/components/core/collapse/collapse.component.mjs +0 -116
  57. package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -27
  58. package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
  59. package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +0 -55
  60. package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +0 -19
  61. package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -147
  62. package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -70
  63. package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +0 -18
  64. package/esm2022/lib/components/core/forward/forward.directive.mjs +0 -57
  65. package/esm2022/lib/components/core/link/link.component.mjs +0 -42
  66. package/esm2022/lib/components/core/list/list/list.component.mjs +0 -22
  67. package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +0 -67
  68. package/esm2022/lib/components/core/list/list.module.mjs +0 -18
  69. package/esm2022/lib/components/core/modal/modal.component.mjs +0 -194
  70. package/esm2022/lib/components/core/notifications/notifications.component.mjs +0 -111
  71. package/esm2022/lib/components/core/pagination/pagination.component.mjs +0 -130
  72. package/esm2022/lib/components/core/popover/popover.directive.mjs +0 -176
  73. package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
  74. package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +0 -25
  75. package/esm2022/lib/components/core/spinner/spinner.component.mjs +0 -30
  76. package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -116
  77. package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -22
  78. package/esm2022/lib/components/core/steppers/steppers.module.mjs +0 -18
  79. package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -97
  80. package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -39
  81. package/esm2022/lib/components/core/tab/tab.module.mjs +0 -18
  82. package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +0 -134
  83. package/esm2022/lib/components/core/table/sort/sort.directive.mjs +0 -123
  84. package/esm2022/lib/components/core/table/table.component.mjs +0 -45
  85. package/esm2022/lib/components/core/table/table.module.mjs +0 -19
  86. package/esm2022/lib/components/core/timeline/timeline-item/timeline-item.component.mjs +0 -90
  87. package/esm2022/lib/components/core/timeline/timeline.component.mjs +0 -36
  88. package/esm2022/lib/components/core/timeline/timeline.module.mjs +0 -18
  89. package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
  90. package/esm2022/lib/components/core/video-player/video-player-i18n.model.mjs +0 -2
  91. package/esm2022/lib/components/core/video-player/video-player-i18n.service.mjs +0 -130
  92. package/esm2022/lib/components/core/video-player/video-player.component.mjs +0 -301
  93. package/esm2022/lib/components/core/video-player/video-player.config.mjs +0 -43
  94. package/esm2022/lib/components/core/video-player/video-player.cookie.mjs +0 -25
  95. package/esm2022/lib/components/core/video-player/video-player.model.mjs +0 -3
  96. package/esm2022/lib/components/core/video-player/video-player.module.mjs +0 -16
  97. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +0 -178
  98. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +0 -48
  99. package/esm2022/lib/components/form/form.module.mjs +0 -67
  100. package/esm2022/lib/components/form/input/input.component.mjs +0 -190
  101. package/esm2022/lib/components/form/password-input/password-input.component.mjs +0 -149
  102. package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +0 -60
  103. package/esm2022/lib/components/form/range/range.component.mjs +0 -64
  104. package/esm2022/lib/components/form/rating/rating.component.mjs +0 -50
  105. package/esm2022/lib/components/form/search/search.component.mjs +0 -112
  106. package/esm2022/lib/components/form/select/select.component.mjs +0 -70
  107. package/esm2022/lib/components/form/textarea/textarea.component.mjs +0 -55
  108. package/esm2022/lib/components/form/transfer/store/transfer.reducers.mjs +0 -191
  109. package/esm2022/lib/components/form/transfer/store/transfer.state.mjs +0 -2
  110. package/esm2022/lib/components/form/transfer/store/transfer.store.mjs +0 -70
  111. package/esm2022/lib/components/form/transfer/transfer-list/transfer-list.component.mjs +0 -72
  112. package/esm2022/lib/components/form/transfer/transfer.component.mjs +0 -149
  113. package/esm2022/lib/components/form/transfer/transfer.model.mjs +0 -6
  114. package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -142
  115. package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -107
  116. package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +0 -67
  117. package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -68
  118. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -51
  119. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -21
  120. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +0 -18
  121. package/esm2022/lib/components/navigation/footer/footer.component.mjs +0 -12
  122. package/esm2022/lib/components/navigation/header/header.component.mjs +0 -108
  123. package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +0 -27
  124. package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +0 -51
  125. package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +0 -11
  126. package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +0 -18
  127. package/esm2022/lib/components/navigation/navscroll/navscroll-list-item.component.mjs +0 -97
  128. package/esm2022/lib/components/navigation/navscroll/navscroll-list-items.component.mjs +0 -44
  129. package/esm2022/lib/components/navigation/navscroll/navscroll.component.mjs +0 -119
  130. package/esm2022/lib/components/navigation/navscroll/navscroll.model.mjs +0 -2
  131. package/esm2022/lib/components/navigation/navscroll/navscroll.store.mjs +0 -68
  132. package/esm2022/lib/components/navigation/navscroll/navscroll.utils.mjs +0 -23
  133. package/esm2022/lib/components/navigation/sidebar/sidebar.component.mjs +0 -50
  134. package/esm2022/lib/components/navigation/skiplink/skiplink/skiplink.component.mjs +0 -27
  135. package/esm2022/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.mjs +0 -26
  136. package/esm2022/lib/components/navigation/skiplink/skiplink.module.mjs +0 -18
  137. package/esm2022/lib/components/utils/error-page/error-page.component.mjs +0 -74
  138. package/esm2022/lib/components/utils/icon/icon.component.mjs +0 -63
  139. package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -50
  140. package/esm2022/lib/design-angular-kit.module.mjs +0 -242
  141. package/esm2022/lib/enums/colors.enums.mjs +0 -12
  142. package/esm2022/lib/enums/sizes.enum.mjs +0 -9
  143. package/esm2022/lib/interfaces/core.mjs +0 -16
  144. package/esm2022/lib/interfaces/design-angular-kit-config.mjs +0 -7
  145. package/esm2022/lib/interfaces/form.mjs +0 -2
  146. package/esm2022/lib/interfaces/icon.mjs +0 -181
  147. package/esm2022/lib/interfaces/sortable-table.mjs +0 -6
  148. package/esm2022/lib/interfaces/utils.mjs +0 -2
  149. package/esm2022/lib/pipes/date-ago.pipe.mjs +0 -56
  150. package/esm2022/lib/pipes/duration.pipe.mjs +0 -115
  151. package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +0 -48
  152. package/esm2022/lib/provide-design-angular-kit.mjs +0 -64
  153. package/esm2022/lib/services/notification/notification.service.mjs +0 -120
  154. package/esm2022/lib/utils/coercion.mjs +0 -18
  155. package/esm2022/lib/utils/date-utils.mjs +0 -162
  156. package/esm2022/lib/utils/file-utils.mjs +0 -73
  157. package/esm2022/lib/utils/regex.mjs +0 -35
  158. package/esm2022/lib/validators/it-validators.mjs +0 -161
  159. package/esm2022/public_api.mjs +0 -119
  160. package/lib/abstracts/abstract-form.component.d.ts +0 -89
  161. package/lib/abstracts/abstract.component.d.ts +0 -30
  162. package/lib/components/core/accordion/accordion.component.d.ts +0 -18
  163. package/lib/components/core/alert/alert.component.d.ts +0 -44
  164. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +0 -29
  165. package/lib/components/core/avatar/avatar-extra-text.directive.d.ts +0 -6
  166. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +0 -20
  167. package/lib/components/core/avatar/avatar-presence.directive.d.ts +0 -17
  168. package/lib/components/core/avatar/avatar-status.directive.d.ts +0 -17
  169. package/lib/components/core/avatar/avatar-wrapper.directive.d.ts +0 -9
  170. package/lib/components/core/avatar/avatar.directive.d.ts +0 -33
  171. package/lib/components/core/avatar/avatar.module.d.ts +0 -13
  172. package/lib/components/core/badge/badge.directive.d.ts +0 -23
  173. package/lib/components/core/button/button.directive.d.ts +0 -48
  174. package/lib/components/core/callout/callout.component.d.ts +0 -50
  175. package/lib/components/core/card/card.component.d.ts +0 -69
  176. package/lib/components/core/carousel/carousel/carousel.component.d.ts +0 -65
  177. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +0 -15
  178. package/lib/components/core/carousel/carousel.module.d.ts +0 -8
  179. package/lib/components/core/chip/chip.component.d.ts +0 -76
  180. package/lib/components/core/collapse/collapse.component.d.ts +0 -67
  181. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +0 -12
  182. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +0 -5
  183. package/lib/components/core/dimmer/dimmer.component.d.ts +0 -24
  184. package/lib/components/core/dimmer/dimmer.module.d.ts +0 -9
  185. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +0 -94
  186. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +0 -46
  187. package/lib/components/core/dropdown/dropdown.module.d.ts +0 -8
  188. package/lib/components/core/forward/forward.directive.d.ts +0 -14
  189. package/lib/components/core/link/link.component.d.ts +0 -35
  190. package/lib/components/core/list/list/list.component.d.ts +0 -24
  191. package/lib/components/core/list/list-item/list-item.component.d.ts +0 -44
  192. package/lib/components/core/list/list.module.d.ts +0 -8
  193. package/lib/components/core/modal/modal.component.d.ts +0 -135
  194. package/lib/components/core/notifications/notifications.component.d.ts +0 -45
  195. package/lib/components/core/pagination/pagination.component.d.ts +0 -92
  196. package/lib/components/core/popover/popover.directive.d.ts +0 -99
  197. package/lib/components/core/progress-bar/progress-bar.component.d.ts +0 -31
  198. package/lib/components/core/progress-button/progress-button.component.d.ts +0 -21
  199. package/lib/components/core/spinner/spinner.component.d.ts +0 -24
  200. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +0 -130
  201. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +0 -24
  202. package/lib/components/core/steppers/steppers.module.d.ts +0 -8
  203. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +0 -60
  204. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +0 -38
  205. package/lib/components/core/tab/tab.module.d.ts +0 -8
  206. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +0 -72
  207. package/lib/components/core/table/sort/sort.directive.d.ts +0 -53
  208. package/lib/components/core/table/table.component.d.ts +0 -60
  209. package/lib/components/core/table/table.module.d.ts +0 -9
  210. package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +0 -79
  211. package/lib/components/core/timeline/timeline.component.d.ts +0 -21
  212. package/lib/components/core/timeline/timeline.module.d.ts +0 -8
  213. package/lib/components/core/tooltip/tooltip.directive.d.ts +0 -82
  214. package/lib/components/core/video-player/video-player-i18n.model.d.ts +0 -179
  215. package/lib/components/core/video-player/video-player-i18n.service.d.ts +0 -17
  216. package/lib/components/core/video-player/video-player.component.d.ts +0 -46
  217. package/lib/components/core/video-player/video-player.config.d.ts +0 -68
  218. package/lib/components/core/video-player/video-player.cookie.d.ts +0 -6
  219. package/lib/components/core/video-player/video-player.model.d.ts +0 -44
  220. package/lib/components/core/video-player/video-player.module.d.ts +0 -7
  221. package/lib/components/form/autocomplete/autocomplete.component.d.ts +0 -75
  222. package/lib/components/form/checkbox/checkbox.component.d.ts +0 -41
  223. package/lib/components/form/form.module.d.ts +0 -19
  224. package/lib/components/form/input/input.component.d.ts +0 -95
  225. package/lib/components/form/password-input/password-input.component.d.ts +0 -80
  226. package/lib/components/form/radio-button/radio-button.component.d.ts +0 -38
  227. package/lib/components/form/range/range.component.d.ts +0 -42
  228. package/lib/components/form/rating/rating.component.d.ts +0 -24
  229. package/lib/components/form/search/search.component.d.ts +0 -59
  230. package/lib/components/form/select/select.component.d.ts +0 -36
  231. package/lib/components/form/textarea/textarea.component.d.ts +0 -34
  232. package/lib/components/form/transfer/store/transfer.reducers.d.ts +0 -103
  233. package/lib/components/form/transfer/store/transfer.state.d.ts +0 -18
  234. package/lib/components/form/transfer/store/transfer.store.d.ts +0 -23
  235. package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +0 -48
  236. package/lib/components/form/transfer/transfer.component.d.ts +0 -75
  237. package/lib/components/form/transfer/transfer.model.d.ts +0 -6
  238. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +0 -60
  239. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +0 -62
  240. package/lib/components/navigation/back-button/back-button.component.d.ts +0 -47
  241. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +0 -50
  242. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -28
  243. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +0 -23
  244. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +0 -8
  245. package/lib/components/navigation/footer/footer.component.d.ts +0 -6
  246. package/lib/components/navigation/header/header.component.d.ts +0 -39
  247. package/lib/components/navigation/megamenu/megamenu.component.d.ts +0 -22
  248. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +0 -19
  249. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +0 -5
  250. package/lib/components/navigation/navbar/navbar.module.d.ts +0 -8
  251. package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +0 -16
  252. package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +0 -7
  253. package/lib/components/navigation/navscroll/navscroll.component.d.ts +0 -47
  254. package/lib/components/navigation/navscroll/navscroll.model.d.ts +0 -15
  255. package/lib/components/navigation/navscroll/navscroll.store.d.ts +0 -16
  256. package/lib/components/navigation/navscroll/navscroll.utils.d.ts +0 -6
  257. package/lib/components/navigation/sidebar/sidebar.component.d.ts +0 -26
  258. package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +0 -17
  259. package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +0 -24
  260. package/lib/components/navigation/skiplink/skiplink.module.d.ts +0 -8
  261. package/lib/components/utils/error-page/error-page.component.d.ts +0 -44
  262. package/lib/components/utils/icon/icon.component.d.ts +0 -53
  263. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +0 -27
  264. package/lib/design-angular-kit.module.d.ts +0 -55
  265. package/lib/enums/colors.enums.d.ts +0 -10
  266. package/lib/enums/sizes.enum.d.ts +0 -7
  267. package/lib/interfaces/core.d.ts +0 -77
  268. package/lib/interfaces/design-angular-kit-config.d.ts +0 -30
  269. package/lib/interfaces/form.d.ts +0 -67
  270. package/lib/interfaces/icon.d.ts +0 -4
  271. package/lib/interfaces/sortable-table.d.ts +0 -33
  272. package/lib/interfaces/utils.d.ts +0 -10
  273. package/lib/pipes/date-ago.pipe.d.ts +0 -17
  274. package/lib/pipes/duration.pipe.d.ts +0 -35
  275. package/lib/pipes/mark-matching-text.pipe.d.ts +0 -18
  276. package/lib/provide-design-angular-kit.d.ts +0 -7
  277. package/lib/services/notification/notification.service.d.ts +0 -63
  278. package/lib/utils/coercion.d.ts +0 -14
  279. package/lib/utils/date-utils.d.ts +0 -79
  280. package/lib/utils/file-utils.d.ts +0 -32
  281. package/lib/utils/regex.d.ts +0 -34
  282. package/lib/validators/it-validators.d.ts +0 -70
  283. package/public_api.d.ts +0 -106
@@ -1,24 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,44 +0,0 @@
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
- }
@@ -1,53 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
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
- }
@@ -1,55 +0,0 @@
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/footer/footer.component";
38
- import * as i35 from "./components/navigation/navbar/navbar.module";
39
- import * as i36 from "./components/navigation/sidebar/sidebar.component";
40
- import * as i37 from "./components/navigation/megamenu/megamenu.component";
41
- import * as i38 from "./components/navigation/skiplink/skiplink.module";
42
- import * as i39 from "./components/navigation/navscroll/navscroll.component";
43
- import * as i40 from "./components/utils/error-page/error-page.component";
44
- import * as i41 from "./components/utils/icon/icon.component";
45
- import * as i42 from "./components/utils/language-switcher/language-switcher.component";
46
- import * as i43 from "./pipes/date-ago.pipe";
47
- import * as i44 from "./pipes/duration.pipe";
48
- import * as i45 from "./pipes/mark-matching-text.pipe";
49
- export declare class DesignAngularKitModule {
50
- static forRoot(config?: DesignAngularKitConfig): ModuleWithProviders<DesignAngularKitModule>;
51
- static forChild(): ModuleWithProviders<DesignAngularKitModule>;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<DesignAngularKitModule, never>;
53
- 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.ItFooterComponent, typeof i35.ItNavBarModule, typeof i36.ItSidebarComponent, typeof i37.ItMegamenuComponent, typeof i38.ItSkiplinkModule, typeof i39.ItNavscrollComponent, typeof i40.ItErrorPageComponent, typeof i41.ItIconComponent, typeof i42.ItLanguageSwitcherComponent, typeof i43.ItDateAgoPipe, typeof i44.ItDurationPipe, typeof i45.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.ItFooterComponent, typeof i35.ItNavBarModule, typeof i36.ItSidebarComponent, typeof i37.ItMegamenuComponent, typeof i38.ItSkiplinkModule, typeof i39.ItNavscrollComponent, typeof i40.ItErrorPageComponent, typeof i41.ItIconComponent, typeof i42.ItLanguageSwitcherComponent, typeof i43.ItDateAgoPipe, typeof i44.ItDurationPipe, typeof i45.ItMarkMatchingTextPipe]>;
54
- static ɵinj: i0.ɵɵInjectorDeclaration<DesignAngularKitModule>;
55
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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,77 +0,0 @@
1
- import { IconName } from './icon';
2
- export type AlertColor = 'primary' | 'info' | 'success' | 'warning' | 'danger';
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';
4
- export type ButtonSize = 'lg' | 'sm' | 'xs';
5
- export type ButtonType = 'submit' | 'button';
6
- export type CalloutColor = 'success' | 'warning' | 'danger' | 'important' | 'note';
7
- export type CalloutAppearance = 'default' | 'highlight' | 'more';
8
- export type ChipColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
9
- export type ElementPlacement = 'top' | 'bottom' | 'left' | 'right';
10
- export type ProgressBarColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
11
- export type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
12
- export type TableColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
13
- export type TableHeadColor = 'light' | 'dark';
14
- export type TableResponsive = 'responsive' | 'responsive-sm' | 'responsive-md' | 'responsive-lg' | 'responsive-xl' | 'responsive-xxl';
15
- export type VerticalAlignment = 'align-baseline' | 'align-top' | 'align-middle' | 'align-bottom' | 'align-text-bottom' | 'align-text-top';
16
- export type DropdownDirection = 'dropup' | 'dropend' | 'dropstart';
17
- export type CarouselType = 'default' | 'three-cols' | 'three-cols-arrow-visible';
18
- export type TimelinePINType = 'default' | 'evidence' | 'now';
19
- export interface TimelineElement {
20
- pin: {
21
- type?: TimelinePINType;
22
- icon?: IconName;
23
- text: string;
24
- };
25
- category?: {
26
- title: string;
27
- link: string;
28
- };
29
- title: string;
30
- text: string;
31
- signature?: string;
32
- eventDate?: Date;
33
- link?: string;
34
- }
35
- export interface Notification {
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;
64
- }
65
- export declare enum NotificationType {
66
- Standard = "standard",
67
- Success = "success",
68
- Error = "error",
69
- Info = "info",
70
- Warning = "warning"
71
- }
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"
77
- }
@@ -1,30 +0,0 @@
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
- }
@@ -1,67 +0,0 @@
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 SearchItem<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 Search rendering.
64
- * It can be useful to retrieve some extra information when selecting the Search item
65
- */
66
- additionalData?: T;
67
- }
@@ -1,4 +0,0 @@
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", "bluesky", "bookmark", "box", "burger", "calendar", "camera", "car", "card", "cart", "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", "sign", "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-docx", "file-json", "file-image", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-signed", "file-txt", "file-video", "file-xlsx", "file-xml", "behance", "android-square", "android", "apple-square", "apple", "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", "spotify", "designers-italia", "team-digitale"];
@@ -1,33 +0,0 @@
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>;
@@ -1,10 +0,0 @@
1
- export interface AvailableLanguage {
2
- /**
3
- * The language code
4
- */
5
- code: string;
6
- /**
7
- * Label to show
8
- */
9
- label: string;
10
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,35 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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;
@@ -1,63 +0,0 @@
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,14 +0,0 @@
1
- export type BooleanInput = 'false' | 'true' | boolean | undefined;
2
- /**
3
- * Transforms a value (typically a string) to a boolean.
4
- * Intended to be used as a transform function of an input.
5
- *
6
- * @usageNotes
7
- * ```typescript
8
- * @Input({ transform: booleanAttribute }) status?: boolean;
9
- * ```
10
- * @param {BooleanInput} value Value to be transformed.
11
- *
12
- * @publicApi
13
- */
14
- export declare function inputToBoolean(value: BooleanInput): boolean;