@impartner/design-components 1.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 (315) hide show
  1. package/LICENSE.txt +11 -0
  2. package/README.md +22 -0
  3. package/constants/fontawesome-icons.d.ts +6 -0
  4. package/constants/index.d.ts +1 -0
  5. package/esm2020/constants/fontawesome-icons.mjs +3012 -0
  6. package/esm2020/constants/index.mjs +2 -0
  7. package/esm2020/impartner-design-components.mjs +5 -0
  8. package/esm2020/lib/alert/alert.component.mjs +57 -0
  9. package/esm2020/lib/alert/alert.module.mjs +18 -0
  10. package/esm2020/lib/alert/index.mjs +4 -0
  11. package/esm2020/lib/alert/theme/alert-theme.mjs +2 -0
  12. package/esm2020/lib/alert/theme/index.mjs +2 -0
  13. package/esm2020/lib/avatar/avatar.component.mjs +47 -0
  14. package/esm2020/lib/avatar/avatar.module.mjs +18 -0
  15. package/esm2020/lib/avatar/index.mjs +3 -0
  16. package/esm2020/lib/avatar-group/avatar-group.component.mjs +16 -0
  17. package/esm2020/lib/avatar-group/avatar-group.module.mjs +19 -0
  18. package/esm2020/lib/avatar-group/index.mjs +3 -0
  19. package/esm2020/lib/backdrop/backdrop.component.mjs +34 -0
  20. package/esm2020/lib/backdrop/backdrop.module.mjs +19 -0
  21. package/esm2020/lib/backdrop/index.mjs +3 -0
  22. package/esm2020/lib/badge/badge.component.mjs +98 -0
  23. package/esm2020/lib/badge/badge.module.mjs +19 -0
  24. package/esm2020/lib/badge/index.mjs +4 -0
  25. package/esm2020/lib/badge/types/badge-icon.mjs +2 -0
  26. package/esm2020/lib/badge/types/badge-size.mjs +7 -0
  27. package/esm2020/lib/badge/types/index.mjs +2 -0
  28. package/esm2020/lib/branding/branded.directive.mjs +19 -0
  29. package/esm2020/lib/branding/branding.module.mjs +19 -0
  30. package/esm2020/lib/branding/index.mjs +3 -0
  31. package/esm2020/lib/breadcrumb/breadcrumb-item.component.mjs +25 -0
  32. package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +33 -0
  33. package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +19 -0
  34. package/esm2020/lib/breadcrumb/index.mjs +4 -0
  35. package/esm2020/lib/button/button.component.mjs +116 -0
  36. package/esm2020/lib/button/button.module.mjs +21 -0
  37. package/esm2020/lib/button/index.mjs +4 -0
  38. package/esm2020/lib/button/themes/button-theme.mjs +2 -0
  39. package/esm2020/lib/button/themes/index.mjs +2 -0
  40. package/esm2020/lib/button-group/button-group.component.mjs +52 -0
  41. package/esm2020/lib/button-group/button-group.module.mjs +20 -0
  42. package/esm2020/lib/button-group/index.mjs +3 -0
  43. package/esm2020/lib/card-heading/card-heading.component.mjs +30 -0
  44. package/esm2020/lib/card-heading/card-heading.module.mjs +19 -0
  45. package/esm2020/lib/card-heading/index.mjs +3 -0
  46. package/esm2020/lib/design-components.module.mjs +119 -0
  47. package/esm2020/lib/dropdown/components/dropdown-item/dropdown-item.component.mjs +22 -0
  48. package/esm2020/lib/dropdown/components/index.mjs +2 -0
  49. package/esm2020/lib/dropdown/dropdown.component.mjs +140 -0
  50. package/esm2020/lib/dropdown/dropdown.module.mjs +21 -0
  51. package/esm2020/lib/dropdown/index.mjs +5 -0
  52. package/esm2020/lib/dropdown/types/dropdown-position.mjs +2 -0
  53. package/esm2020/lib/dropdown/types/index.mjs +2 -0
  54. package/esm2020/lib/file-upload/directives/file-drop.directive.mjs +50 -0
  55. package/esm2020/lib/file-upload/directives/index.mjs +2 -0
  56. package/esm2020/lib/file-upload/file-upload.component.mjs +334 -0
  57. package/esm2020/lib/file-upload/file-upload.module.mjs +29 -0
  58. package/esm2020/lib/file-upload/index.mjs +5 -0
  59. package/esm2020/lib/file-upload/pipes/human-readable-byte-size.pipe.mjs +23 -0
  60. package/esm2020/lib/file-upload/pipes/index.mjs +2 -0
  61. package/esm2020/lib/form-field/controls/checkbox/checkbox.component.mjs +337 -0
  62. package/esm2020/lib/form-field/controls/checkbox/checkbox.module.mjs +19 -0
  63. package/esm2020/lib/form-field/controls/checkbox/index.mjs +3 -0
  64. package/esm2020/lib/form-field/controls/index.mjs +5 -0
  65. package/esm2020/lib/form-field/controls/input/index.mjs +2 -0
  66. package/esm2020/lib/form-field/controls/input/input.directive.mjs +233 -0
  67. package/esm2020/lib/form-field/controls/radio/index.mjs +6 -0
  68. package/esm2020/lib/form-field/controls/radio/injection-tokens.mjs +4 -0
  69. package/esm2020/lib/form-field/controls/radio/interfaces/index.mjs +4 -0
  70. package/esm2020/lib/form-field/controls/radio/interfaces/radio-button.interface.mjs +2 -0
  71. package/esm2020/lib/form-field/controls/radio/interfaces/radio-change-event.interface.mjs +11 -0
  72. package/esm2020/lib/form-field/controls/radio/interfaces/radio-group.interface.mjs +2 -0
  73. package/esm2020/lib/form-field/controls/radio/radio-button/radio-button.component.mjs +260 -0
  74. package/esm2020/lib/form-field/controls/radio/radio-group/radio-group.directive.mjs +288 -0
  75. package/esm2020/lib/form-field/controls/radio/radio.module.mjs +20 -0
  76. package/esm2020/lib/form-field/controls/select/index.mjs +6 -0
  77. package/esm2020/lib/form-field/controls/select/option/index.mjs +2 -0
  78. package/esm2020/lib/form-field/controls/select/option/select-option.component.mjs +138 -0
  79. package/esm2020/lib/form-field/controls/select/option-parent.mjs +3 -0
  80. package/esm2020/lib/form-field/controls/select/select-model.mjs +149 -0
  81. package/esm2020/lib/form-field/controls/select/select.component.mjs +522 -0
  82. package/esm2020/lib/form-field/controls/select/select.module.mjs +20 -0
  83. package/esm2020/lib/form-field/controls/shared/index.mjs +2 -0
  84. package/esm2020/lib/form-field/controls/shared/toggle/components/index.mjs +2 -0
  85. package/esm2020/lib/form-field/controls/shared/toggle/components/toggle-input/toggle-input.component.mjs +17 -0
  86. package/esm2020/lib/form-field/controls/shared/toggle/index.mjs +4 -0
  87. package/esm2020/lib/form-field/controls/shared/toggle/toggle.component.mjs +96 -0
  88. package/esm2020/lib/form-field/controls/shared/toggle/toggle.module.mjs +20 -0
  89. package/esm2020/lib/form-field/directives/corner-hint.directive.mjs +14 -0
  90. package/esm2020/lib/form-field/directives/error.directive.mjs +26 -0
  91. package/esm2020/lib/form-field/directives/form-root.directive.mjs +91 -0
  92. package/esm2020/lib/form-field/directives/hint.directive.mjs +24 -0
  93. package/esm2020/lib/form-field/directives/index.mjs +8 -0
  94. package/esm2020/lib/form-field/directives/label.directive.mjs +14 -0
  95. package/esm2020/lib/form-field/directives/prefix.directive.mjs +24 -0
  96. package/esm2020/lib/form-field/directives/suffix.directive.mjs +24 -0
  97. package/esm2020/lib/form-field/form-field-errors.mjs +5 -0
  98. package/esm2020/lib/form-field/form-field.component.mjs +132 -0
  99. package/esm2020/lib/form-field/impdc-forms.mjs +8 -0
  100. package/esm2020/lib/form-field/impdc-forms.module.mjs +68 -0
  101. package/esm2020/lib/form-field/index.mjs +2 -0
  102. package/esm2020/lib/form-field/services/error-state-matcher.service.mjs +28 -0
  103. package/esm2020/lib/form-field/services/index.mjs +3 -0
  104. package/esm2020/lib/form-field/services/unique-selection-dispatcher.service.mjs +48 -0
  105. package/esm2020/lib/form-field/shared/constructors.type.mjs +2 -0
  106. package/esm2020/lib/form-field/shared/disabled.mixin.mjs +15 -0
  107. package/esm2020/lib/form-field/shared/error-state.mixin.mjs +24 -0
  108. package/esm2020/lib/form-field/shared/form-field-control.mjs +10 -0
  109. package/esm2020/lib/form-field/shared/index.mjs +5 -0
  110. package/esm2020/lib/form-field/shared/tab-index.mixin.mjs +19 -0
  111. package/esm2020/lib/icon/icon.component.mjs +70 -0
  112. package/esm2020/lib/icon/icon.module.mjs +19 -0
  113. package/esm2020/lib/icon/index.mjs +3 -0
  114. package/esm2020/lib/index.mjs +26 -0
  115. package/esm2020/lib/modal/index.mjs +4 -0
  116. package/esm2020/lib/modal/modal.component.mjs +141 -0
  117. package/esm2020/lib/modal/modal.module.mjs +37 -0
  118. package/esm2020/lib/modal/types/index.mjs +3 -0
  119. package/esm2020/lib/modal/types/modal-component-sizes.mjs +9 -0
  120. package/esm2020/lib/modal/types/modal-theme.mjs +12 -0
  121. package/esm2020/lib/pagination/index.mjs +3 -0
  122. package/esm2020/lib/pagination/pagination.component.mjs +134 -0
  123. package/esm2020/lib/pagination/pagination.module.mjs +21 -0
  124. package/esm2020/lib/progress-bar/index.mjs +3 -0
  125. package/esm2020/lib/progress-bar/progress-bar.component.mjs +35 -0
  126. package/esm2020/lib/progress-bar/progress-bar.module.mjs +18 -0
  127. package/esm2020/lib/scrollable/index.mjs +3 -0
  128. package/esm2020/lib/scrollable/scrollable.component.mjs +193 -0
  129. package/esm2020/lib/scrollable/scrollable.module.mjs +21 -0
  130. package/esm2020/lib/select-icon/index.mjs +3 -0
  131. package/esm2020/lib/select-icon/select-icon.component.mjs +307 -0
  132. package/esm2020/lib/select-icon/select-icon.module.mjs +35 -0
  133. package/esm2020/lib/size-detection/directive/element-size.interface.mjs +2 -0
  134. package/esm2020/lib/size-detection/directive/index.mjs +3 -0
  135. package/esm2020/lib/size-detection/directive/size-detector.directive.mjs +43 -0
  136. package/esm2020/lib/size-detection/index.mjs +3 -0
  137. package/esm2020/lib/size-detection/size-detection.module.mjs +18 -0
  138. package/esm2020/lib/spinner/index.mjs +3 -0
  139. package/esm2020/lib/spinner/spinner.component.mjs +24 -0
  140. package/esm2020/lib/spinner/spinner.module.mjs +18 -0
  141. package/esm2020/lib/table/index.mjs +3 -0
  142. package/esm2020/lib/table/table.component.mjs +33 -0
  143. package/esm2020/lib/table/table.module.mjs +19 -0
  144. package/esm2020/lib/text-highlight/index.mjs +3 -0
  145. package/esm2020/lib/text-highlight/text-highlight.component.mjs +81 -0
  146. package/esm2020/lib/text-highlight/text-highlight.module.mjs +19 -0
  147. package/esm2020/public-api.mjs +9 -0
  148. package/esm2020/services/index.mjs +2 -0
  149. package/esm2020/services/interaction.service.mjs +54 -0
  150. package/esm2020/types/component-size.mjs +12 -0
  151. package/esm2020/types/component-theme.mjs +22 -0
  152. package/esm2020/types/index.mjs +3 -0
  153. package/esm2020/utilities/boolean-props.mjs +7 -0
  154. package/esm2020/utilities/dc.mjs +9 -0
  155. package/esm2020/utilities/index.mjs +6 -0
  156. package/esm2020/utilities/lc.mjs +9 -0
  157. package/esm2020/utilities/number-props.mjs +18 -0
  158. package/esm2020/utilities/sanitize.mjs +7 -0
  159. package/fesm2015/impartner-design-components.mjs +8295 -0
  160. package/fesm2015/impartner-design-components.mjs.map +1 -0
  161. package/fesm2020/impartner-design-components.mjs +8264 -0
  162. package/fesm2020/impartner-design-components.mjs.map +1 -0
  163. package/index.d.ts +5 -0
  164. package/lib/alert/alert.component.d.ts +29 -0
  165. package/lib/alert/alert.module.d.ts +8 -0
  166. package/lib/alert/index.d.ts +3 -0
  167. package/lib/alert/theme/alert-theme.d.ts +1 -0
  168. package/lib/alert/theme/index.d.ts +1 -0
  169. package/lib/avatar/avatar.component.d.ts +28 -0
  170. package/lib/avatar/avatar.module.d.ts +8 -0
  171. package/lib/avatar/index.d.ts +2 -0
  172. package/lib/avatar-group/avatar-group.component.d.ts +10 -0
  173. package/lib/avatar-group/avatar-group.module.d.ts +9 -0
  174. package/lib/avatar-group/index.d.ts +2 -0
  175. package/lib/backdrop/backdrop.component.d.ts +19 -0
  176. package/lib/backdrop/backdrop.module.d.ts +9 -0
  177. package/lib/backdrop/index.d.ts +2 -0
  178. package/lib/badge/badge.component.d.ts +48 -0
  179. package/lib/badge/badge.module.d.ts +9 -0
  180. package/lib/badge/index.d.ts +3 -0
  181. package/lib/badge/types/badge-icon.d.ts +1 -0
  182. package/lib/badge/types/badge-size.d.ts +6 -0
  183. package/lib/badge/types/index.d.ts +2 -0
  184. package/lib/branding/branded.directive.d.ts +6 -0
  185. package/lib/branding/branding.module.d.ts +9 -0
  186. package/lib/branding/index.d.ts +2 -0
  187. package/lib/breadcrumb/breadcrumb-item.component.d.ts +7 -0
  188. package/lib/breadcrumb/breadcrumb.component.d.ts +18 -0
  189. package/lib/breadcrumb/breadcrumb.module.d.ts +9 -0
  190. package/lib/breadcrumb/index.d.ts +3 -0
  191. package/lib/button/button.component.d.ts +47 -0
  192. package/lib/button/button.module.d.ts +11 -0
  193. package/lib/button/index.d.ts +3 -0
  194. package/lib/button/themes/button-theme.d.ts +1 -0
  195. package/lib/button/themes/index.d.ts +1 -0
  196. package/lib/button-group/button-group.component.d.ts +22 -0
  197. package/lib/button-group/button-group.module.d.ts +10 -0
  198. package/lib/button-group/index.d.ts +2 -0
  199. package/lib/card-heading/card-heading.component.d.ts +18 -0
  200. package/lib/card-heading/card-heading.module.d.ts +9 -0
  201. package/lib/card-heading/index.d.ts +2 -0
  202. package/lib/design-components.module.d.ts +22 -0
  203. package/lib/dropdown/components/dropdown-item/dropdown-item.component.d.ts +11 -0
  204. package/lib/dropdown/components/index.d.ts +1 -0
  205. package/lib/dropdown/dropdown.component.d.ts +65 -0
  206. package/lib/dropdown/dropdown.module.d.ts +11 -0
  207. package/lib/dropdown/index.d.ts +4 -0
  208. package/lib/dropdown/types/dropdown-position.d.ts +1 -0
  209. package/lib/dropdown/types/index.d.ts +1 -0
  210. package/lib/file-upload/directives/file-drop.directive.d.ts +11 -0
  211. package/lib/file-upload/directives/index.d.ts +1 -0
  212. package/lib/file-upload/file-upload.component.d.ts +105 -0
  213. package/lib/file-upload/file-upload.module.d.ts +13 -0
  214. package/lib/file-upload/index.d.ts +4 -0
  215. package/lib/file-upload/pipes/human-readable-byte-size.pipe.d.ts +7 -0
  216. package/lib/file-upload/pipes/index.d.ts +1 -0
  217. package/lib/form-field/controls/checkbox/checkbox.component.d.ts +133 -0
  218. package/lib/form-field/controls/checkbox/checkbox.module.d.ts +9 -0
  219. package/lib/form-field/controls/checkbox/index.d.ts +2 -0
  220. package/lib/form-field/controls/index.d.ts +4 -0
  221. package/lib/form-field/controls/input/index.d.ts +1 -0
  222. package/lib/form-field/controls/input/input.directive.d.ts +84 -0
  223. package/lib/form-field/controls/radio/index.d.ts +5 -0
  224. package/lib/form-field/controls/radio/injection-tokens.d.ts +4 -0
  225. package/lib/form-field/controls/radio/interfaces/index.d.ts +3 -0
  226. package/lib/form-field/controls/radio/interfaces/radio-button.interface.d.ts +6 -0
  227. package/lib/form-field/controls/radio/interfaces/radio-change-event.interface.d.ts +12 -0
  228. package/lib/form-field/controls/radio/interfaces/radio-group.interface.d.ts +13 -0
  229. package/lib/form-field/controls/radio/radio-button/radio-button.component.d.ts +98 -0
  230. package/lib/form-field/controls/radio/radio-group/radio-group.directive.d.ts +104 -0
  231. package/lib/form-field/controls/radio/radio.module.d.ts +10 -0
  232. package/lib/form-field/controls/select/index.d.ts +5 -0
  233. package/lib/form-field/controls/select/option/index.d.ts +1 -0
  234. package/lib/form-field/controls/select/option/select-option.component.d.ts +60 -0
  235. package/lib/form-field/controls/select/option-parent.d.ts +5 -0
  236. package/lib/form-field/controls/select/select-model.d.ts +36 -0
  237. package/lib/form-field/controls/select/select.component.d.ts +170 -0
  238. package/lib/form-field/controls/select/select.module.d.ts +10 -0
  239. package/lib/form-field/controls/shared/index.d.ts +1 -0
  240. package/lib/form-field/controls/shared/toggle/components/index.d.ts +1 -0
  241. package/lib/form-field/controls/shared/toggle/components/toggle-input/toggle-input.component.d.ts +6 -0
  242. package/lib/form-field/controls/shared/toggle/index.d.ts +3 -0
  243. package/lib/form-field/controls/shared/toggle/toggle.component.d.ts +26 -0
  244. package/lib/form-field/controls/shared/toggle/toggle.module.d.ts +10 -0
  245. package/lib/form-field/directives/corner-hint.directive.d.ts +5 -0
  246. package/lib/form-field/directives/error.directive.d.ts +8 -0
  247. package/lib/form-field/directives/form-root.directive.d.ts +26 -0
  248. package/lib/form-field/directives/hint.directive.d.ts +6 -0
  249. package/lib/form-field/directives/index.d.ts +7 -0
  250. package/lib/form-field/directives/label.directive.d.ts +5 -0
  251. package/lib/form-field/directives/prefix.directive.d.ts +9 -0
  252. package/lib/form-field/directives/suffix.directive.d.ts +9 -0
  253. package/lib/form-field/form-field-errors.d.ts +2 -0
  254. package/lib/form-field/form-field.component.d.ts +39 -0
  255. package/lib/form-field/impdc-forms.d.ts +7 -0
  256. package/lib/form-field/impdc-forms.module.d.ts +19 -0
  257. package/lib/form-field/index.d.ts +1 -0
  258. package/lib/form-field/services/error-state-matcher.service.d.ts +12 -0
  259. package/lib/form-field/services/index.d.ts +2 -0
  260. package/lib/form-field/services/unique-selection-dispatcher.service.d.ts +29 -0
  261. package/lib/form-field/shared/constructors.type.d.ts +7 -0
  262. package/lib/form-field/shared/disabled.mixin.d.ts +10 -0
  263. package/lib/form-field/shared/error-state.mixin.d.ts +31 -0
  264. package/lib/form-field/shared/form-field-control.d.ts +24 -0
  265. package/lib/form-field/shared/index.d.ts +5 -0
  266. package/lib/form-field/shared/tab-index.mixin.d.ts +13 -0
  267. package/lib/icon/icon.component.d.ts +30 -0
  268. package/lib/icon/icon.module.d.ts +9 -0
  269. package/lib/icon/index.d.ts +2 -0
  270. package/lib/index.d.ts +25 -0
  271. package/lib/modal/index.d.ts +3 -0
  272. package/lib/modal/modal.component.d.ts +80 -0
  273. package/lib/modal/modal.module.d.ts +13 -0
  274. package/lib/modal/types/index.d.ts +2 -0
  275. package/lib/modal/types/modal-component-sizes.d.ts +3 -0
  276. package/lib/modal/types/modal-theme.d.ts +7 -0
  277. package/lib/pagination/index.d.ts +2 -0
  278. package/lib/pagination/pagination.component.d.ts +41 -0
  279. package/lib/pagination/pagination.module.d.ts +11 -0
  280. package/lib/progress-bar/index.d.ts +2 -0
  281. package/lib/progress-bar/progress-bar.component.d.ts +22 -0
  282. package/lib/progress-bar/progress-bar.module.d.ts +8 -0
  283. package/lib/scrollable/index.d.ts +2 -0
  284. package/lib/scrollable/scrollable.component.d.ts +39 -0
  285. package/lib/scrollable/scrollable.module.d.ts +11 -0
  286. package/lib/select-icon/index.d.ts +2 -0
  287. package/lib/select-icon/select-icon.component.d.ts +123 -0
  288. package/lib/select-icon/select-icon.module.d.ts +11 -0
  289. package/lib/size-detection/directive/element-size.interface.d.ts +4 -0
  290. package/lib/size-detection/directive/index.d.ts +2 -0
  291. package/lib/size-detection/directive/size-detector.directive.d.ts +14 -0
  292. package/lib/size-detection/index.d.ts +3 -0
  293. package/lib/size-detection/size-detection.module.d.ts +8 -0
  294. package/lib/spinner/index.d.ts +2 -0
  295. package/lib/spinner/spinner.component.d.ts +13 -0
  296. package/lib/spinner/spinner.module.d.ts +8 -0
  297. package/lib/table/index.d.ts +2 -0
  298. package/lib/table/table.component.d.ts +15 -0
  299. package/lib/table/table.module.d.ts +9 -0
  300. package/lib/text-highlight/index.d.ts +2 -0
  301. package/lib/text-highlight/text-highlight.component.d.ts +31 -0
  302. package/lib/text-highlight/text-highlight.module.d.ts +9 -0
  303. package/package.json +51 -0
  304. package/public-api.d.ts +4 -0
  305. package/services/index.d.ts +1 -0
  306. package/services/interaction.service.d.ts +14 -0
  307. package/types/component-size.d.ts +12 -0
  308. package/types/component-theme.d.ts +12 -0
  309. package/types/index.d.ts +2 -0
  310. package/utilities/boolean-props.d.ts +8 -0
  311. package/utilities/dc.d.ts +6 -0
  312. package/utilities/index.d.ts +5 -0
  313. package/utilities/lc.d.ts +6 -0
  314. package/utilities/number-props.d.ts +15 -0
  315. package/utilities/sanitize.d.ts +1 -0
@@ -0,0 +1,24 @@
1
+ import { AbstractControlDirective, NgControl } from '@angular/forms';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class ImpdcFormFieldControl<T> {
5
+ /**
6
+ * The control's value.
7
+ */
8
+ abstract value: T | null;
9
+ /**
10
+ * Stream that should emit when the control's state changes in a way requiring
11
+ * the parent `FormFieldComponent` to run change detection.
12
+ */
13
+ abstract readonly stateChanges: Observable<void>;
14
+ abstract readonly id: string;
15
+ abstract readonly ngControl: NgControl | AbstractControlDirective | null;
16
+ abstract readonly focused: boolean;
17
+ abstract readonly disabled: boolean;
18
+ abstract readonly required: boolean;
19
+ abstract readonly errorState: boolean;
20
+ readonly controlType?: string;
21
+ abstract readonly supportsAffixes: boolean;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImpdcFormFieldControl<any>, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ImpdcFormFieldControl<any>, never, never, {}, {}, never, never, false>;
24
+ }
@@ -0,0 +1,5 @@
1
+ export { Constructor, AbstractConstructor } from './constructors.type';
2
+ export { CanDisable, mixinDisabled } from './disabled.mixin';
3
+ export { ICanUpdateErrorState, IHasErrorState, mixinErrorState } from './error-state.mixin';
4
+ export { ImpdcFormFieldControl } from './form-field-control';
5
+ export { HasTabIndex, mixinTabIndex } from './tab-index.mixin';
@@ -0,0 +1,13 @@
1
+ import { AbstractConstructor, Constructor } from './constructors.type';
2
+ import { CanDisable } from './disabled.mixin';
3
+ /** @ignore */
4
+ export interface HasTabIndex {
5
+ /** Tabindex of the component. */
6
+ tabIndex: number;
7
+ /** Tabindex to which to fall back to if no value is set. */
8
+ defaultTabIndex: number;
9
+ }
10
+ declare type HasTabIndexCtor = Constructor<HasTabIndex> & AbstractConstructor<HasTabIndex>;
11
+ /** Mixin to augment a directive with a `tabIndex` property. */
12
+ export declare function mixinTabIndex<T extends AbstractConstructor<CanDisable>>(base: T, defaultTabIndex?: number): HasTabIndexCtor & T;
13
+ export {};
@@ -0,0 +1,30 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FontAwesomeIcon, FontAwesomeIconTheme } from '../../constants';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * The `IconComponent` (`<impdc-icon` or `<any impdc-icon`) is an icon wrapper utilizing Font Awesome 5.
6
+ * To use, import `IconModule` or another module that imports and exports that module from `@impartner/design-components`.
7
+ */
8
+ export declare class IconComponent {
9
+ /**
10
+ * The Font Awesome 5 icon name. See {@link https://fontawesome.com/v5/search}. Local
11
+ * development may not represent the complete list of available icons.
12
+ */
13
+ name?: FontAwesomeIcon;
14
+ /**
15
+ * The Font Awesome 5 icon style. Local development may fallback to a free available
16
+ * theme when possible.
17
+ */
18
+ theme: FontAwesomeIconTheme;
19
+ /**
20
+ * The icon size as a string or number. String values are used directly whereas numbers are
21
+ * interpreted as pixels.
22
+ */
23
+ size: string | number;
24
+ iconRef?: ElementRef;
25
+ private get usingLicensed();
26
+ get typeClass(): string;
27
+ get computedSize(): string;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "impdc-icon, [impdc-icon]", never, { "name": "name"; "theme": "theme"; "size": "size"; }, {}, never, never, false>;
30
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class IconModule {
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, [typeof i1.IconComponent], [typeof i2.CommonModule], [typeof i1.IconComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { IconComponent } from './icon.component';
2
+ export { IconModule } from './icon.module';
package/lib/index.d.ts ADDED
@@ -0,0 +1,25 @@
1
+ import DesignComponentsModule from './design-components.module';
2
+ export * from './text-highlight';
3
+ export * from './icon';
4
+ export * from './branding';
5
+ export * from './breadcrumb';
6
+ export * from './badge';
7
+ export * from './progress-bar';
8
+ export * from './button';
9
+ export * from './button-group';
10
+ export * from './form-field';
11
+ export * from './table';
12
+ export * from './dropdown';
13
+ export * from './alert';
14
+ export * from './backdrop';
15
+ export * from './modal';
16
+ export * from './spinner';
17
+ export * from './file-upload';
18
+ export * from './avatar';
19
+ export * from './avatar-group';
20
+ export * from './card-heading';
21
+ export * from './pagination';
22
+ export * from './scrollable';
23
+ export * from './size-detection';
24
+ export * from './select-icon';
25
+ export { DesignComponentsModule };
@@ -0,0 +1,3 @@
1
+ export * from './types';
2
+ export { ModalComponent } from './modal.component';
3
+ export { ModalModule } from './modal.module';
@@ -0,0 +1,80 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { FontAwesomeIcon, FontAwesomeIconTheme } from '../../constants';
3
+ import { InteractionService } from '../../services';
4
+ import { ButtonTheme } from '../button';
5
+ import { ModalComponentSizes, ModalThemes } from './types';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * The `ModalComponent` (`<impdc-modal`) displays over the content of the page when a user action is required.
9
+ * To use, import `ModalModule` or another module that imports and exports that module from `@impartner/design-components`.
10
+ * `ModalModule` imports and exports BackdropModule, [ButtonModule](./?path=/docs/design-components-button),
11
+ * and [IconModule](./?path=/docs/design-components-icon).
12
+ */
13
+ export declare class ModalComponent implements OnInit, OnDestroy {
14
+ private _interactionService;
15
+ private _interactableId;
16
+ /**
17
+ * Determines if the Modal should be shown immediately.
18
+ */
19
+ show: boolean;
20
+ /**
21
+ * The theme of the Modal. Affects the layout of the Modal as well as some colors.
22
+ */
23
+ theme: ModalThemes;
24
+ /**
25
+ * The size of the Modal.
26
+ */
27
+ size: ModalComponentSizes;
28
+ /**
29
+ * The Font Awesome 5 icon name. Only supported when the theme is Working or Destructive.
30
+ */
31
+ iconName?: FontAwesomeIcon;
32
+ /**
33
+ * The Font Awesome 5 icon style. Fewer icons support the Regular theme and will fallback to Solid
34
+ * if not supported.
35
+ */
36
+ iconTheme: FontAwesomeIconTheme;
37
+ /**
38
+ * The subject text of the Modal.
39
+ */
40
+ titleText: string;
41
+ /**
42
+ * Allows the Modal to be dismissed. This is different from `accept` and `deny`. If a Modal is meant to be re-opened frequently it should be dismissable.
43
+ */
44
+ dismissable?: boolean;
45
+ /**
46
+ * Determines if the Modal should fade in/out.
47
+ */
48
+ fade: boolean;
49
+ /**
50
+ * Shows a backdrop behind the Modal.
51
+ */
52
+ backdrop: boolean;
53
+ /**
54
+ * Event emitted when the Modal content is dismissed.
55
+ */
56
+ dismiss: EventEmitter<MouseEvent | Event>;
57
+ /**
58
+ * Event emitted when the Modal content is denied.
59
+ */
60
+ deny: EventEmitter<MouseEvent | Event>;
61
+ /**
62
+ * Event emitted when the Modal content is accepted.
63
+ */
64
+ accept: EventEmitter<MouseEvent | Event>;
65
+ get interactableId(): number;
66
+ get valid(): boolean;
67
+ get shown(): boolean;
68
+ get showWorkingIcon(): boolean;
69
+ get showDestructiveIcon(): boolean;
70
+ get acceptFallbackTheme(): ButtonTheme;
71
+ get hideHeader(): boolean;
72
+ constructor(_interactionService: InteractionService);
73
+ ngOnInit(): void;
74
+ ngOnDestroy(): void;
75
+ handleDismiss(event: MouseEvent | Event): void;
76
+ handleDeny(event: MouseEvent | Event): void;
77
+ handleAccept(event: MouseEvent | Event): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "impdc-modal", never, { "show": "show"; "theme": "theme"; "size": "size"; "iconName": "iconName"; "iconTheme": "iconTheme"; "titleText": "titleText"; "dismissable": "dismissable"; "fade": "fade"; "backdrop": "backdrop"; }, { "dismiss": "dismiss"; "deny": "deny"; "accept": "accept"; }, never, ["*", "[dismiss]", "[deny]", "[accept]"], false>;
80
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./modal.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../backdrop/backdrop.module";
6
+ import * as i5 from "../button/button.module";
7
+ import * as i6 from "../icon/icon.module";
8
+ export declare class ModalModule {
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, [typeof i1.ModalComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.BackdropModule, typeof i5.ButtonModule, typeof i6.IconModule], [typeof i4.BackdropModule, typeof i5.ButtonModule, typeof i6.IconModule, typeof i1.ModalComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ModalModule>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from './modal-component-sizes';
2
+ export * from './modal-theme';
@@ -0,0 +1,3 @@
1
+ import { ComponentSize } from '../../../types';
2
+ export declare const ModalComponentSizesArr: ComponentSize[];
3
+ export declare type ModalComponentSizes = typeof ModalComponentSizesArr[number];
@@ -0,0 +1,7 @@
1
+ export declare enum ModalTheme {
2
+ Simple = "simple",
3
+ Working = "working",
4
+ Destructive = "destructive"
5
+ }
6
+ export declare const ModalThemesArr: ModalTheme[];
7
+ export declare type ModalThemes = typeof ModalThemesArr[number];
@@ -0,0 +1,2 @@
1
+ export { PaginationComponent } from './pagination.component';
2
+ export { PaginationModule } from './pagination.module';
@@ -0,0 +1,41 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * The `PaginationComponent` (`<impdc-pagination` or `<div impdc-pagination`) is a control for paged content such as tables or lists.
5
+ * To use, import `PaginationModule` or another module that imports and exports that module from `@impartner/design-components`.
6
+ * `ModalModule` imports and exports ImpdcFormsModule and [ButtonModule](./?path=/docs/design-components-button).
7
+ */
8
+ export declare class PaginationComponent {
9
+ private _summary;
10
+ /**
11
+ * The current page.
12
+ */
13
+ page: number;
14
+ /**
15
+ * The number of items shown per page. Items are commonly displayed as rows in a table.
16
+ */
17
+ perPage: number;
18
+ /**
19
+ * The total number of items.
20
+ */
21
+ total: number;
22
+ /**
23
+ * A formattable text summary of pagination data. `{firstPageResult}` The first item within the current page.
24
+ * `{lastPageResult}` The last item within the current page. `{total}` The total number of items.
25
+ */
26
+ set summary(summary: string);
27
+ get summary(): string;
28
+ /**
29
+ * Emitted when the page number is changed, specifying the target page number.
30
+ */
31
+ readonly goToPage: EventEmitter<number>;
32
+ get totalPages(): number;
33
+ get firstPageResult(): number;
34
+ get lastPageResult(): number;
35
+ goToPreviousPage(): void;
36
+ goToNextPage(): void;
37
+ goToExactPageFromEvent({ target }: FocusEvent): void;
38
+ goToExactPage(page: number | string): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "impdc-pagination, div[impdc-pagination]", never, { "page": "page"; "perPage": "perPage"; "total": "total"; "summary": "summary"; }, { "goToPage": "goToPage"; }, never, never, false>;
41
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pagination.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../button/button.module";
5
+ import * as i4 from "../form-field/impdc-forms.module";
6
+ export declare class PaginationModule {
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof i1.PaginationComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.ImpdcFormsModule], [typeof i3.ButtonModule, typeof i4.ImpdcFormsModule, typeof i1.PaginationComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { ProgressBarComponent } from './progress-bar.component';
2
+ export { ProgressBarModule } from './progress-bar.module';
@@ -0,0 +1,22 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * The `ProgressBarComponent` (`<impdc-progress-bar`) is a display-only slider to show progress.
4
+ * To use, import `ProgressBarModule` or another module that imports and exports that module from `@impartner/design-components`.
5
+ */
6
+ export declare class ProgressBarComponent {
7
+ /**
8
+ * The left/subject text of the Progress Bar.
9
+ */
10
+ labelText: string;
11
+ /**
12
+ * The right/status text of the Progress Bar.
13
+ */
14
+ statusText: string;
15
+ /**
16
+ * The current value of the Progress Bar represented as a number between 0 and 100.
17
+ */
18
+ progressPercentage: number;
19
+ constructor();
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "impdc-progress-bar", never, { "labelText": "labelText"; "statusText": "statusText"; "progressPercentage": "progressPercentage"; }, {}, never, never, false>;
22
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./progress-bar.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class ProgressBarModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof i1.ProgressBarComponent], [typeof i2.CommonModule], [typeof i1.ProgressBarComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { ScrollableComponent } from './scrollable.component';
2
+ export { ScrollableModule } from './scrollable.module';
@@ -0,0 +1,39 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { IElementSize } from '../size-detection';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * The `ScrollableComponent` (`<impdc-scrollable` or `<div impdc-scrollable`) is a container that hides items that wouldn't fit
6
+ * with arrows on the left and right to slide between them.
7
+ * To use, import `ScrollableModule` or another module that imports and exports that module from `@impartner/design-components`.
8
+ * `ScrollableModule` also imports and exports [BrandingModule](./?path=/docs/design-components-directives-impdcbranded).
9
+ */
10
+ export declare class ScrollableComponent implements OnChanges, AfterViewInit {
11
+ private _cd;
12
+ /**
13
+ * The base amount to scroll.
14
+ */
15
+ scrollUnit: number;
16
+ /**
17
+ * Used in combination with `scrollUnit` to determine how far the Scrollable scrolls when directional arrows are clicked.
18
+ */
19
+ clickScrollMultiplier: number;
20
+ private _scrollableBgColor;
21
+ get canScrollLeft(): boolean;
22
+ get canScrollRight(): boolean;
23
+ private _width;
24
+ containerRef: ElementRef | undefined;
25
+ private get _containerElement();
26
+ contentRef: ElementRef | undefined;
27
+ private get _contentElement();
28
+ constructor(_cd: ChangeDetectorRef);
29
+ ngOnChanges(changes: SimpleChanges): void;
30
+ ngAfterViewInit(): void;
31
+ scroll(direction: number): Promise<void>;
32
+ widthChanged(elementSize: IElementSize): void;
33
+ private _scrollToPosition;
34
+ private _getBackgroundColorForButtons;
35
+ private _getAncestorBackgroundColor;
36
+ private _getBackGroundColor;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollableComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScrollableComponent, "impdc-scrollable, div[impdc-scrollable]", never, { "scrollUnit": "scrollUnit"; "clickScrollMultiplier": "clickScrollMultiplier"; }, {}, never, ["*"], false>;
39
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./scrollable.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../size-detection/size-detection.module";
5
+ import * as i4 from "../branding/branding.module";
6
+ export declare class ScrollableModule {
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollableModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollableModule, [typeof i1.ScrollableComponent], [typeof i2.CommonModule, typeof i3.SizeDetectionModule, typeof i4.BrandingModule], [typeof i1.ScrollableComponent, typeof i4.BrandingModule]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScrollableModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export * from './select-icon.component';
2
+ export * from './select-icon.module';
@@ -0,0 +1,123 @@
1
+ import { ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor, FormControl, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
3
+ import { Observable, Subject } from 'rxjs';
4
+ import { BooleanInput } from '../../utilities';
5
+ import { ErrorStateMatcher, ICanUpdateErrorState, IHasErrorState, ImpdcFormFieldControl, ImpdcFormRoot } from '../form-field';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ImpdcSelectIconChange {
8
+ source: SelectIconComponent;
9
+ value: any;
10
+ constructor(source: SelectIconComponent, value: any);
11
+ }
12
+ declare const _SelectIconComponentBase: import("../form-field").Constructor<import("../form-field").HasTabIndex> & import("../form-field").AbstractConstructor<import("../form-field").HasTabIndex> & import("../form-field").Constructor<import("../form-field").CanDisable> & import("../form-field").AbstractConstructor<import("../form-field").CanDisable> & import("../form-field").Constructor<ICanUpdateErrorState> & import("../form-field").AbstractConstructor<ICanUpdateErrorState> & {
13
+ new (_defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl | null): {
14
+ readonly stateChanges: Subject<void>;
15
+ _defaultErrorStateMatcher: ErrorStateMatcher;
16
+ _formRoot: ImpdcFormRoot;
17
+ _parentForm: NgForm;
18
+ _parentFormGroup: FormGroupDirective;
19
+ ngControl: NgControl | null;
20
+ };
21
+ };
22
+ /**
23
+ * The `SelectIconComponent` (`<impdc-select-icon`) is a select dropdown with search that shows all standard icons from Bootstrap 5.
24
+ * To use, import `SelectIconModule` or another module that imports and exports that module from `@impartner/design-components`.
25
+ */
26
+ export declare class SelectIconComponent extends _SelectIconComponentBase implements ControlValueAccessor, ImpdcFormFieldControl<string | null>, ICanUpdateErrorState, IHasErrorState, DoCheck, OnChanges, OnDestroy {
27
+ private readonly _changeDetector;
28
+ protected _toggleButtonRef: ElementRef<HTMLButtonElement>;
29
+ protected readonly filteredOptions$: Observable<string[]>;
30
+ protected readonly searchControl: FormControl<string | null>;
31
+ protected readonly _uid: string;
32
+ protected _dropdownOpen: boolean;
33
+ private readonly _iconOptionsSubject;
34
+ private _previousControl?;
35
+ private _cvaOnChange;
36
+ private _cvaOnTouched;
37
+ /**
38
+ * Set whether or not an input field will appear for searching and
39
+ * filtering icon options.
40
+ * @default true
41
+ */
42
+ allowSearch: boolean;
43
+ get iconOptions(): string[];
44
+ /**
45
+ * Set to override the default set of FontAwesome icon options.
46
+ */
47
+ set iconOptions(iconOptions: string[]);
48
+ /**
49
+ * Set whether or not to show the icon names as labels for icon options.
50
+ * @default true
51
+ */
52
+ showText: boolean;
53
+ /**
54
+ * Set whether or not to show the name of the selected icon inside the control.
55
+ * @default true
56
+ */
57
+ showSelectedText: boolean;
58
+ /**
59
+ * The placeholder text that will be displayed when no selection has been made.
60
+ *
61
+ * @default \- Select -
62
+ */
63
+ get placeholder(): string;
64
+ set placeholder(value: string);
65
+ private _placeholder;
66
+ errorStateMatcher: ErrorStateMatcher;
67
+ /** Events fire when selection has been changed by the user. */
68
+ readonly selectionChange: EventEmitter<ImpdcSelectIconChange>;
69
+ /**
70
+ * Events fire when raw value of select changes. Mainly exists to handle
71
+ * two-way binding of `value` input property.
72
+ * @ignore
73
+ */
74
+ readonly valueChange: EventEmitter<string | null>;
75
+ constructor(_changeDetector: ChangeDetectorRef, _defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl);
76
+ get empty(): boolean;
77
+ /** @ignore */
78
+ focus(options?: FocusOptions): void;
79
+ /** @ignore */
80
+ ngDoCheck(): void;
81
+ /** @ignore */
82
+ ngOnChanges(changes: SimpleChanges): void;
83
+ /** @ignore */
84
+ ngOnDestroy(): void;
85
+ /** @ignore */
86
+ writeValue(value: string): void;
87
+ /** @ignore */
88
+ registerOnChange(fn: (value: any) => void): void;
89
+ /** @ignore */
90
+ registerOnTouched(fn: () => {}): void;
91
+ /** @ignore */
92
+ setDisabledState?(isDisabled: boolean): void;
93
+ get value(): string | null;
94
+ set value(value: string | null);
95
+ private _value;
96
+ get id(): string;
97
+ set id(value: string);
98
+ protected _id: string;
99
+ /**
100
+ * Used to set requiredness of control in a template-based manner;
101
+ * not necessary when using the Angular reactive forms API and `required` validator.
102
+ *
103
+ * @default false
104
+ */
105
+ get required(): boolean;
106
+ set required(value: BooleanInput);
107
+ private _required;
108
+ get focused(): boolean;
109
+ protected _focused: boolean;
110
+ readonly controlType: string;
111
+ readonly supportsAffixes: boolean;
112
+ protected handleOpenChange(isOpen: boolean): void;
113
+ protected selectIcon(iconName: string): void;
114
+ protected _onFocus(): void;
115
+ /**
116
+ * Calls the CVA touched callback only if the dropdown is closed.
117
+ */
118
+ protected _onBlur(): void;
119
+ private _buildChangeEvent;
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectIconComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
121
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectIconComponent, "impdc-select-icon", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "allowSearch": "allowSearch"; "iconOptions": "iconOptions"; "showText": "showText"; "showSelectedText": "showSelectedText"; "placeholder": "placeholder"; "errorStateMatcher": "errorStateMatcher"; "value": "value"; "id": "id"; "required": "required"; }, { "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, never, never, false>;
122
+ }
123
+ export {};
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./select-icon.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../form-field/impdc-forms.module";
5
+ import * as i4 from "@ng-bootstrap/ng-bootstrap";
6
+ import * as i5 from "@angular/forms";
7
+ export declare class SelectIconModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectIconModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectIconModule, [typeof i1.SelectIconComponent], [typeof i2.CommonModule, typeof i3.ImpdcFormsModule, typeof i4.NgbTypeaheadModule, typeof i4.NgbDropdownModule, typeof i5.ReactiveFormsModule], [typeof i1.SelectIconComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectIconModule>;
11
+ }
@@ -0,0 +1,4 @@
1
+ export interface IElementSize {
2
+ height: number;
3
+ width: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './element-size.interface';
2
+ export * from './size-detector.directive';
@@ -0,0 +1,14 @@
1
+ import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { IElementSize } from './element-size.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SizeDetectorDirective implements OnDestroy {
5
+ private readonly _elementRef;
6
+ readonly resized: EventEmitter<IElementSize>;
7
+ private _resizeObserver;
8
+ constructor(_elementRef: ElementRef);
9
+ ngOnDestroy(): void;
10
+ private _observe;
11
+ private _unobserve;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SizeDetectorDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SizeDetectorDirective, "[impdcSizeDetector]", never, {}, { "resized": "resized"; }, never, never, false>;
14
+ }
@@ -0,0 +1,3 @@
1
+ export { IElementSize } from './directive/element-size.interface';
2
+ export { SizeDetectorDirective } from './directive/size-detector.directive';
3
+ export { SizeDetectionModule } from './size-detection.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./directive/size-detector.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class SizeDetectionModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SizeDetectionModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SizeDetectionModule, [typeof i1.SizeDetectorDirective], [typeof i2.CommonModule], [typeof i1.SizeDetectorDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SizeDetectionModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './spinner.component';
2
+ export * from './spinner.module';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * The `SpinnerComponent` (`<impdc-spinner` or `<div impdc-spinner`) is used when data is processing and content isn't ready to be interacted with yet.
4
+ * To use, import `SpinnerModule` or another module that imports and exports that module from `@impartner/design-components`.
5
+ */
6
+ export declare class SpinnerComponent {
7
+ /**
8
+ * Accessibility text used by screen readers.
9
+ */
10
+ accessibilityText: string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "impdc-spinner, div[impdc-spinner]", never, { "accessibilityText": "accessibilityText"; }, {}, never, never, false>;
13
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./spinner.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class SpinnerModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpinnerModule, [typeof i1.SpinnerComponent], [typeof i2.CommonModule], [typeof i1.SpinnerComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SpinnerModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { TableComponent } from './table.component';
2
+ export { TableModule } from './table.module';
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * The `TableComponent` (`<table impdcTable`) is a simple table wrapper that requires less code than the native table.
4
+ * To use, import `TableModule` or another module that imports and exports that module from `@impartner/design-components`.
5
+ */
6
+ export declare class TableComponent {
7
+ /**
8
+ * Stripes every other row in a slightly darker background color.
9
+ */
10
+ striped: boolean;
11
+ private classTable;
12
+ private get classTableStriped();
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "table[impdcTable]", never, { "striped": "striped"; }, {}, never, ["th", "tr"], false>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table.component";
3
+ import * as i2 from "../button/button.module";
4
+ export declare class TableModule {
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent], [typeof i2.ButtonModule], [typeof i2.ButtonModule, typeof i1.TableComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { TextHighlightComponent } from './text-highlight.component';
2
+ export { TextHighlightModule } from './text-highlight.module';