@impartner/design-components 3.0.1 → 4.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 (442) hide show
  1. package/README.md +9 -8
  2. package/fesm2022/impartner-design-components.mjs +1668 -973
  3. package/fesm2022/impartner-design-components.mjs.map +1 -1
  4. package/index.d.ts +3634 -3
  5. package/package.json +9 -12
  6. package/constants/fontawesome-icons.d.ts +0 -6
  7. package/constants/index.d.ts +0 -1
  8. package/esm2022/constants/fontawesome-icons.mjs +0 -3012
  9. package/esm2022/constants/index.mjs +0 -2
  10. package/esm2022/impartner-design-components.mjs +0 -5
  11. package/esm2022/lib/alert/alert.component.mjs +0 -106
  12. package/esm2022/lib/alert/alert.module.mjs +0 -19
  13. package/esm2022/lib/alert/index.mjs +0 -4
  14. package/esm2022/lib/alert/theme/alert-theme.mjs +0 -2
  15. package/esm2022/lib/alert/theme/index.mjs +0 -2
  16. package/esm2022/lib/avatar/avatar.component.mjs +0 -48
  17. package/esm2022/lib/avatar/avatar.module.mjs +0 -19
  18. package/esm2022/lib/avatar/index.mjs +0 -3
  19. package/esm2022/lib/avatar-group/avatar-group.component.mjs +0 -16
  20. package/esm2022/lib/avatar-group/avatar-group.module.mjs +0 -19
  21. package/esm2022/lib/avatar-group/index.mjs +0 -3
  22. package/esm2022/lib/backdrop/backdrop.component.mjs +0 -52
  23. package/esm2022/lib/backdrop/backdrop.module.mjs +0 -19
  24. package/esm2022/lib/backdrop/index.mjs +0 -3
  25. package/esm2022/lib/badge/badge.component.mjs +0 -121
  26. package/esm2022/lib/badge/badge.module.mjs +0 -20
  27. package/esm2022/lib/badge/index.mjs +0 -4
  28. package/esm2022/lib/badge/types/badge-icon.mjs +0 -2
  29. package/esm2022/lib/badge/types/badge-size.mjs +0 -7
  30. package/esm2022/lib/badge/types/index.mjs +0 -2
  31. package/esm2022/lib/branding/branded.directive.mjs +0 -19
  32. package/esm2022/lib/branding/branding.module.mjs +0 -19
  33. package/esm2022/lib/branding/index.mjs +0 -3
  34. package/esm2022/lib/breadcrumb/breadcrumb-item.component.mjs +0 -25
  35. package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +0 -37
  36. package/esm2022/lib/breadcrumb/breadcrumb.module.mjs +0 -19
  37. package/esm2022/lib/breadcrumb/index.mjs +0 -4
  38. package/esm2022/lib/button/button.component.mjs +0 -116
  39. package/esm2022/lib/button/button.module.mjs +0 -21
  40. package/esm2022/lib/button/index.mjs +0 -4
  41. package/esm2022/lib/button/themes/button-theme.mjs +0 -2
  42. package/esm2022/lib/button/themes/index.mjs +0 -2
  43. package/esm2022/lib/button-group/button-group.component.mjs +0 -52
  44. package/esm2022/lib/button-group/button-group.module.mjs +0 -20
  45. package/esm2022/lib/button-group/index.mjs +0 -3
  46. package/esm2022/lib/card-heading/card-heading.component.mjs +0 -30
  47. package/esm2022/lib/card-heading/card-heading.module.mjs +0 -19
  48. package/esm2022/lib/card-heading/index.mjs +0 -3
  49. package/esm2022/lib/data-card/data-card.component.mjs +0 -123
  50. package/esm2022/lib/data-card/data-card.module.mjs +0 -21
  51. package/esm2022/lib/data-card/index.mjs +0 -3
  52. package/esm2022/lib/datetime-picker/components/datepicker-nav/datepicker-nav.component.mjs +0 -105
  53. package/esm2022/lib/datetime-picker/components/datepicker-nav/index.mjs +0 -2
  54. package/esm2022/lib/datetime-picker/components/datepicker-template-host/datepicker-template-host.component.mjs +0 -33
  55. package/esm2022/lib/datetime-picker/components/datepicker-template-host/index.mjs +0 -2
  56. package/esm2022/lib/datetime-picker/components/datetime-picker/datetime-picker.component.mjs +0 -369
  57. package/esm2022/lib/datetime-picker/components/datetime-picker/index.mjs +0 -2
  58. package/esm2022/lib/datetime-picker/components/datetime-picker-input/datetime-picker-input.component.mjs +0 -367
  59. package/esm2022/lib/datetime-picker/components/datetime-picker-input/index.mjs +0 -2
  60. package/esm2022/lib/datetime-picker/components/datetime-picker-input-footer/datetime-picker-input-footer.component.mjs +0 -68
  61. package/esm2022/lib/datetime-picker/components/datetime-picker-input-footer/index.mjs +0 -2
  62. package/esm2022/lib/datetime-picker/components/index.mjs +0 -6
  63. package/esm2022/lib/datetime-picker/constants/datetime-picker-defaults.mjs +0 -12
  64. package/esm2022/lib/datetime-picker/constants/index.mjs +0 -2
  65. package/esm2022/lib/datetime-picker/datetime-picker.module.mjs +0 -22
  66. package/esm2022/lib/datetime-picker/index.mjs +0 -4
  67. package/esm2022/lib/datetime-picker/services/datetime-formatter/datetime-formatter.service.mjs +0 -40
  68. package/esm2022/lib/datetime-picker/services/datetime-formatter/index.mjs +0 -2
  69. package/esm2022/lib/datetime-picker/services/index.mjs +0 -2
  70. package/esm2022/lib/datetime-picker/types/datetime-picker-value.interface.mjs +0 -2
  71. package/esm2022/lib/datetime-picker/types/index.mjs +0 -2
  72. package/esm2022/lib/design-components.module.mjs +0 -132
  73. package/esm2022/lib/dropdown/components/dropdown-item/dropdown-item.component.mjs +0 -22
  74. package/esm2022/lib/dropdown/components/index.mjs +0 -2
  75. package/esm2022/lib/dropdown/dropdown.component.mjs +0 -143
  76. package/esm2022/lib/dropdown/dropdown.module.mjs +0 -21
  77. package/esm2022/lib/dropdown/index.mjs +0 -5
  78. package/esm2022/lib/dropdown/types/dropdown-position.mjs +0 -2
  79. package/esm2022/lib/dropdown/types/index.mjs +0 -2
  80. package/esm2022/lib/file-upload/directives/file-drop.directive.mjs +0 -50
  81. package/esm2022/lib/file-upload/directives/index.mjs +0 -2
  82. package/esm2022/lib/file-upload/file-upload.component.mjs +0 -335
  83. package/esm2022/lib/file-upload/file-upload.module.mjs +0 -38
  84. package/esm2022/lib/file-upload/index.mjs +0 -5
  85. package/esm2022/lib/file-upload/pipes/human-readable-byte-size.pipe.mjs +0 -23
  86. package/esm2022/lib/file-upload/pipes/index.mjs +0 -2
  87. package/esm2022/lib/form-field/component/directives/corner-hint.directive.mjs +0 -15
  88. package/esm2022/lib/form-field/component/directives/error.directive.mjs +0 -27
  89. package/esm2022/lib/form-field/component/directives/form-root.directive.mjs +0 -93
  90. package/esm2022/lib/form-field/component/directives/hint.directive.mjs +0 -25
  91. package/esm2022/lib/form-field/component/directives/index.mjs +0 -25
  92. package/esm2022/lib/form-field/component/directives/label.directive.mjs +0 -15
  93. package/esm2022/lib/form-field/component/directives/prefix.directive.mjs +0 -25
  94. package/esm2022/lib/form-field/component/directives/suffix.directive.mjs +0 -25
  95. package/esm2022/lib/form-field/component/form-field.component.mjs +0 -131
  96. package/esm2022/lib/form-field/component/form-field.module.mjs +0 -24
  97. package/esm2022/lib/form-field/component/index.mjs +0 -4
  98. package/esm2022/lib/form-field/controls/checkbox/checkbox.component.mjs +0 -345
  99. package/esm2022/lib/form-field/controls/checkbox/checkbox.module.mjs +0 -16
  100. package/esm2022/lib/form-field/controls/checkbox/index.mjs +0 -3
  101. package/esm2022/lib/form-field/controls/index.mjs +0 -6
  102. package/esm2022/lib/form-field/controls/input/index.mjs +0 -2
  103. package/esm2022/lib/form-field/controls/input/input.directive.mjs +0 -234
  104. package/esm2022/lib/form-field/controls/radio/index.mjs +0 -6
  105. package/esm2022/lib/form-field/controls/radio/injection-tokens.mjs +0 -4
  106. package/esm2022/lib/form-field/controls/radio/interfaces/index.mjs +0 -4
  107. package/esm2022/lib/form-field/controls/radio/interfaces/radio-button.interface.mjs +0 -2
  108. package/esm2022/lib/form-field/controls/radio/interfaces/radio-change-event.interface.mjs +0 -11
  109. package/esm2022/lib/form-field/controls/radio/interfaces/radio-group.interface.mjs +0 -2
  110. package/esm2022/lib/form-field/controls/radio/radio-button/radio-button.component.mjs +0 -262
  111. package/esm2022/lib/form-field/controls/radio/radio-group/radio-group.directive.mjs +0 -290
  112. package/esm2022/lib/form-field/controls/radio/radio.module.mjs +0 -17
  113. package/esm2022/lib/form-field/controls/select/index.mjs +0 -9
  114. package/esm2022/lib/form-field/controls/select/interfaces/index.mjs +0 -2
  115. package/esm2022/lib/form-field/controls/select/interfaces/select-option.interface.mjs +0 -2
  116. package/esm2022/lib/form-field/controls/select/option/index.mjs +0 -2
  117. package/esm2022/lib/form-field/controls/select/option/select-option.component.mjs +0 -44
  118. package/esm2022/lib/form-field/controls/select/option-display/index.mjs +0 -2
  119. package/esm2022/lib/form-field/controls/select/option-display/select-option-display.component.mjs +0 -162
  120. package/esm2022/lib/form-field/controls/select/option-group/index.mjs +0 -2
  121. package/esm2022/lib/form-field/controls/select/option-group/select-option-group.component.mjs +0 -35
  122. package/esm2022/lib/form-field/controls/select/option-parent.mjs +0 -4
  123. package/esm2022/lib/form-field/controls/select/select-model.mjs +0 -150
  124. package/esm2022/lib/form-field/controls/select/select.component.mjs +0 -725
  125. package/esm2022/lib/form-field/controls/select/select.module.mjs +0 -37
  126. package/esm2022/lib/form-field/controls/select/value-tags-display/index.mjs +0 -2
  127. package/esm2022/lib/form-field/controls/select/value-tags-display/select-value-tags-display.component.mjs +0 -91
  128. package/esm2022/lib/form-field/controls/shared/index.mjs +0 -2
  129. package/esm2022/lib/form-field/controls/shared/toggle/components/index.mjs +0 -2
  130. package/esm2022/lib/form-field/controls/shared/toggle/components/toggle-input/toggle-input.component.mjs +0 -17
  131. package/esm2022/lib/form-field/controls/shared/toggle/index.mjs +0 -4
  132. package/esm2022/lib/form-field/controls/shared/toggle/toggle.component.mjs +0 -112
  133. package/esm2022/lib/form-field/controls/shared/toggle/toggle.module.mjs +0 -18
  134. package/esm2022/lib/form-field/controls/tag-select/index.mjs +0 -2
  135. package/esm2022/lib/form-field/controls/tag-select/tag-select.component.mjs +0 -146
  136. package/esm2022/lib/form-field/form-field-errors.mjs +0 -5
  137. package/esm2022/lib/form-field/impdc-forms.mjs +0 -7
  138. package/esm2022/lib/form-field/impdc-forms.module.mjs +0 -53
  139. package/esm2022/lib/form-field/index.mjs +0 -2
  140. package/esm2022/lib/form-field/services/error-state-matcher.service.mjs +0 -28
  141. package/esm2022/lib/form-field/services/index.mjs +0 -3
  142. package/esm2022/lib/form-field/services/unique-selection-dispatcher.service.mjs +0 -48
  143. package/esm2022/lib/form-field/shared/constructors.type.mjs +0 -2
  144. package/esm2022/lib/form-field/shared/disabled.mixin.mjs +0 -15
  145. package/esm2022/lib/form-field/shared/error-state.mixin.mjs +0 -24
  146. package/esm2022/lib/form-field/shared/form-field-control.mjs +0 -10
  147. package/esm2022/lib/form-field/shared/index.mjs +0 -5
  148. package/esm2022/lib/form-field/shared/tab-index.mixin.mjs +0 -19
  149. package/esm2022/lib/icon/icon.component.mjs +0 -83
  150. package/esm2022/lib/icon/icon.module.mjs +0 -19
  151. package/esm2022/lib/icon/index.mjs +0 -3
  152. package/esm2022/lib/index.mjs +0 -29
  153. package/esm2022/lib/modal/index.mjs +0 -4
  154. package/esm2022/lib/modal/modal.component.mjs +0 -266
  155. package/esm2022/lib/modal/modal.module.mjs +0 -37
  156. package/esm2022/lib/modal/types/index.mjs +0 -3
  157. package/esm2022/lib/modal/types/modal-component-sizes.mjs +0 -9
  158. package/esm2022/lib/modal/types/modal-theme.mjs +0 -12
  159. package/esm2022/lib/pagination/index.mjs +0 -3
  160. package/esm2022/lib/pagination/pagination.component.mjs +0 -176
  161. package/esm2022/lib/pagination/pagination.module.mjs +0 -41
  162. package/esm2022/lib/progress-bar/index.mjs +0 -3
  163. package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -51
  164. package/esm2022/lib/progress-bar/progress-bar.module.mjs +0 -18
  165. package/esm2022/lib/scrollable/index.mjs +0 -3
  166. package/esm2022/lib/scrollable/scrollable.component.mjs +0 -186
  167. package/esm2022/lib/scrollable/scrollable.module.mjs +0 -21
  168. package/esm2022/lib/select-icon/index.mjs +0 -3
  169. package/esm2022/lib/select-icon/select-icon.component.mjs +0 -308
  170. package/esm2022/lib/select-icon/select-icon.module.mjs +0 -39
  171. package/esm2022/lib/size-detection/directive/element-size.interface.mjs +0 -2
  172. package/esm2022/lib/size-detection/directive/index.mjs +0 -3
  173. package/esm2022/lib/size-detection/directive/size-detector.directive.mjs +0 -43
  174. package/esm2022/lib/size-detection/index.mjs +0 -3
  175. package/esm2022/lib/size-detection/size-detection.module.mjs +0 -18
  176. package/esm2022/lib/spinner/index.mjs +0 -3
  177. package/esm2022/lib/spinner/spinner.component.mjs +0 -24
  178. package/esm2022/lib/spinner/spinner.module.mjs +0 -18
  179. package/esm2022/lib/table/components/bulk-actions/bulk-actions.component.mjs +0 -16
  180. package/esm2022/lib/table/components/column-heading/column-heading.component.mjs +0 -38
  181. package/esm2022/lib/table/components/index.mjs +0 -4
  182. package/esm2022/lib/table/components/row-actions/row-actions.component.mjs +0 -61
  183. package/esm2022/lib/table/constants/index.mjs +0 -3
  184. package/esm2022/lib/table/constants/public-table.constants.mjs +0 -2
  185. package/esm2022/lib/table/constants/table.constants.mjs +0 -23
  186. package/esm2022/lib/table/containers/index.mjs +0 -2
  187. package/esm2022/lib/table/containers/table.component.mjs +0 -474
  188. package/esm2022/lib/table/directives/collapse-monitor.directive.mjs +0 -42
  189. package/esm2022/lib/table/directives/index.mjs +0 -4
  190. package/esm2022/lib/table/directives/table-inject-component.directive.mjs +0 -46
  191. package/esm2022/lib/table/directives/table.directive.mjs +0 -55
  192. package/esm2022/lib/table/enumerations/index.mjs +0 -2
  193. package/esm2022/lib/table/enumerations/table-column-type.mjs +0 -21
  194. package/esm2022/lib/table/helpers/index.mjs +0 -2
  195. package/esm2022/lib/table/helpers/table-theme.helper.mjs +0 -31
  196. package/esm2022/lib/table/index.mjs +0 -8
  197. package/esm2022/lib/table/interfaces/cell-renderer.interface.mjs +0 -2
  198. package/esm2022/lib/table/interfaces/collapsible-row-content-context.interface.mjs +0 -2
  199. package/esm2022/lib/table/interfaces/custom-cell-renderer-components.type.mjs +0 -2
  200. package/esm2022/lib/table/interfaces/index.mjs +0 -13
  201. package/esm2022/lib/table/interfaces/sort-by-payload.interface.mjs +0 -2
  202. package/esm2022/lib/table/interfaces/table-cell-option.interface.mjs +0 -2
  203. package/esm2022/lib/table/interfaces/table-column-defs.type.mjs +0 -2
  204. package/esm2022/lib/table/interfaces/table-event-payload.interface.mjs +0 -2
  205. package/esm2022/lib/table/interfaces/table-row-action-payload.interface.mjs +0 -2
  206. package/esm2022/lib/table/interfaces/table-row-action.interface.mjs +0 -2
  207. package/esm2022/lib/table/interfaces/table-row-collapse-change.interface.mjs +0 -2
  208. package/esm2022/lib/table/interfaces/table-row-item.interface.mjs +0 -2
  209. package/esm2022/lib/table/table.module.mjs +0 -101
  210. package/esm2022/lib/tag/index.mjs +0 -2
  211. package/esm2022/lib/tag/tag.component.mjs +0 -104
  212. package/esm2022/lib/text-highlight/index.mjs +0 -3
  213. package/esm2022/lib/text-highlight/text-highlight.component.mjs +0 -101
  214. package/esm2022/lib/text-highlight/text-highlight.module.mjs +0 -17
  215. package/esm2022/public-api.mjs +0 -9
  216. package/esm2022/services/index.mjs +0 -2
  217. package/esm2022/services/interaction.service.mjs +0 -88
  218. package/esm2022/types/component-size.mjs +0 -12
  219. package/esm2022/types/component-theme.mjs +0 -22
  220. package/esm2022/types/index.mjs +0 -3
  221. package/esm2022/utilities/boolean-props.mjs +0 -7
  222. package/esm2022/utilities/dc.mjs +0 -9
  223. package/esm2022/utilities/index.mjs +0 -6
  224. package/esm2022/utilities/lc.mjs +0 -9
  225. package/esm2022/utilities/number-props.mjs +0 -18
  226. package/esm2022/utilities/sanitize.mjs +0 -7
  227. package/lib/alert/alert.component.d.ts +0 -50
  228. package/lib/alert/alert.module.d.ts +0 -9
  229. package/lib/alert/index.d.ts +0 -3
  230. package/lib/alert/theme/alert-theme.d.ts +0 -1
  231. package/lib/alert/theme/index.d.ts +0 -1
  232. package/lib/avatar/avatar.component.d.ts +0 -28
  233. package/lib/avatar/avatar.module.d.ts +0 -9
  234. package/lib/avatar/index.d.ts +0 -2
  235. package/lib/avatar-group/avatar-group.component.d.ts +0 -10
  236. package/lib/avatar-group/avatar-group.module.d.ts +0 -9
  237. package/lib/avatar-group/index.d.ts +0 -2
  238. package/lib/backdrop/backdrop.component.d.ts +0 -24
  239. package/lib/backdrop/backdrop.module.d.ts +0 -9
  240. package/lib/backdrop/index.d.ts +0 -2
  241. package/lib/badge/badge.component.d.ts +0 -63
  242. package/lib/badge/badge.module.d.ts +0 -10
  243. package/lib/badge/index.d.ts +0 -3
  244. package/lib/badge/types/badge-icon.d.ts +0 -1
  245. package/lib/badge/types/badge-size.d.ts +0 -6
  246. package/lib/badge/types/index.d.ts +0 -2
  247. package/lib/branding/branded.directive.d.ts +0 -6
  248. package/lib/branding/branding.module.d.ts +0 -9
  249. package/lib/branding/index.d.ts +0 -2
  250. package/lib/breadcrumb/breadcrumb-item.component.d.ts +0 -7
  251. package/lib/breadcrumb/breadcrumb.component.d.ts +0 -21
  252. package/lib/breadcrumb/breadcrumb.module.d.ts +0 -9
  253. package/lib/breadcrumb/index.d.ts +0 -3
  254. package/lib/button/button.component.d.ts +0 -47
  255. package/lib/button/button.module.d.ts +0 -11
  256. package/lib/button/index.d.ts +0 -3
  257. package/lib/button/themes/button-theme.d.ts +0 -1
  258. package/lib/button/themes/index.d.ts +0 -1
  259. package/lib/button-group/button-group.component.d.ts +0 -22
  260. package/lib/button-group/button-group.module.d.ts +0 -10
  261. package/lib/button-group/index.d.ts +0 -2
  262. package/lib/card-heading/card-heading.component.d.ts +0 -18
  263. package/lib/card-heading/card-heading.module.d.ts +0 -9
  264. package/lib/card-heading/index.d.ts +0 -2
  265. package/lib/data-card/data-card.component.d.ts +0 -68
  266. package/lib/data-card/data-card.module.d.ts +0 -11
  267. package/lib/data-card/index.d.ts +0 -2
  268. package/lib/datetime-picker/components/datepicker-nav/datepicker-nav.component.d.ts +0 -31
  269. package/lib/datetime-picker/components/datepicker-nav/index.d.ts +0 -1
  270. package/lib/datetime-picker/components/datepicker-template-host/datepicker-template-host.component.d.ts +0 -15
  271. package/lib/datetime-picker/components/datepicker-template-host/index.d.ts +0 -1
  272. package/lib/datetime-picker/components/datetime-picker/datetime-picker.component.d.ts +0 -155
  273. package/lib/datetime-picker/components/datetime-picker/index.d.ts +0 -1
  274. package/lib/datetime-picker/components/datetime-picker-input/datetime-picker-input.component.d.ts +0 -160
  275. package/lib/datetime-picker/components/datetime-picker-input/index.d.ts +0 -1
  276. package/lib/datetime-picker/components/datetime-picker-input-footer/datetime-picker-input-footer.component.d.ts +0 -24
  277. package/lib/datetime-picker/components/datetime-picker-input-footer/index.d.ts +0 -1
  278. package/lib/datetime-picker/components/index.d.ts +0 -5
  279. package/lib/datetime-picker/constants/datetime-picker-defaults.d.ts +0 -4
  280. package/lib/datetime-picker/constants/index.d.ts +0 -1
  281. package/lib/datetime-picker/datetime-picker.module.d.ts +0 -8
  282. package/lib/datetime-picker/index.d.ts +0 -4
  283. package/lib/datetime-picker/services/datetime-formatter/datetime-formatter.service.d.ts +0 -20
  284. package/lib/datetime-picker/services/datetime-formatter/index.d.ts +0 -1
  285. package/lib/datetime-picker/services/index.d.ts +0 -1
  286. package/lib/datetime-picker/types/datetime-picker-value.interface.d.ts +0 -5
  287. package/lib/datetime-picker/types/index.d.ts +0 -1
  288. package/lib/design-components.module.d.ts +0 -24
  289. package/lib/dropdown/components/dropdown-item/dropdown-item.component.d.ts +0 -11
  290. package/lib/dropdown/components/index.d.ts +0 -1
  291. package/lib/dropdown/dropdown.component.d.ts +0 -67
  292. package/lib/dropdown/dropdown.module.d.ts +0 -11
  293. package/lib/dropdown/index.d.ts +0 -4
  294. package/lib/dropdown/types/dropdown-position.d.ts +0 -1
  295. package/lib/dropdown/types/index.d.ts +0 -1
  296. package/lib/file-upload/directives/file-drop.directive.d.ts +0 -11
  297. package/lib/file-upload/directives/index.d.ts +0 -1
  298. package/lib/file-upload/file-upload.component.d.ts +0 -105
  299. package/lib/file-upload/file-upload.module.d.ts +0 -14
  300. package/lib/file-upload/index.d.ts +0 -4
  301. package/lib/file-upload/pipes/human-readable-byte-size.pipe.d.ts +0 -7
  302. package/lib/file-upload/pipes/index.d.ts +0 -1
  303. package/lib/form-field/component/directives/corner-hint.directive.d.ts +0 -5
  304. package/lib/form-field/component/directives/error.directive.d.ts +0 -8
  305. package/lib/form-field/component/directives/form-root.directive.d.ts +0 -26
  306. package/lib/form-field/component/directives/hint.directive.d.ts +0 -6
  307. package/lib/form-field/component/directives/index.d.ts +0 -15
  308. package/lib/form-field/component/directives/label.directive.d.ts +0 -5
  309. package/lib/form-field/component/directives/prefix.directive.d.ts +0 -9
  310. package/lib/form-field/component/directives/suffix.directive.d.ts +0 -9
  311. package/lib/form-field/component/form-field.component.d.ts +0 -37
  312. package/lib/form-field/component/form-field.module.d.ts +0 -14
  313. package/lib/form-field/component/index.d.ts +0 -3
  314. package/lib/form-field/controls/checkbox/checkbox.component.d.ts +0 -137
  315. package/lib/form-field/controls/checkbox/checkbox.module.d.ts +0 -7
  316. package/lib/form-field/controls/checkbox/index.d.ts +0 -2
  317. package/lib/form-field/controls/index.d.ts +0 -5
  318. package/lib/form-field/controls/input/index.d.ts +0 -1
  319. package/lib/form-field/controls/input/input.directive.d.ts +0 -84
  320. package/lib/form-field/controls/radio/index.d.ts +0 -5
  321. package/lib/form-field/controls/radio/injection-tokens.d.ts +0 -4
  322. package/lib/form-field/controls/radio/interfaces/index.d.ts +0 -3
  323. package/lib/form-field/controls/radio/interfaces/radio-button.interface.d.ts +0 -6
  324. package/lib/form-field/controls/radio/interfaces/radio-change-event.interface.d.ts +0 -12
  325. package/lib/form-field/controls/radio/interfaces/radio-group.interface.d.ts +0 -13
  326. package/lib/form-field/controls/radio/radio-button/radio-button.component.d.ts +0 -98
  327. package/lib/form-field/controls/radio/radio-group/radio-group.directive.d.ts +0 -104
  328. package/lib/form-field/controls/radio/radio.module.d.ts +0 -8
  329. package/lib/form-field/controls/select/index.d.ts +0 -9
  330. package/lib/form-field/controls/select/interfaces/index.d.ts +0 -1
  331. package/lib/form-field/controls/select/interfaces/select-option.interface.d.ts +0 -6
  332. package/lib/form-field/controls/select/option/index.d.ts +0 -1
  333. package/lib/form-field/controls/select/option/select-option.component.d.ts +0 -21
  334. package/lib/form-field/controls/select/option-display/index.d.ts +0 -1
  335. package/lib/form-field/controls/select/option-display/select-option-display.component.d.ts +0 -64
  336. package/lib/form-field/controls/select/option-group/index.d.ts +0 -1
  337. package/lib/form-field/controls/select/option-group/select-option-group.component.d.ts +0 -11
  338. package/lib/form-field/controls/select/option-parent.d.ts +0 -16
  339. package/lib/form-field/controls/select/select-model.d.ts +0 -36
  340. package/lib/form-field/controls/select/select.component.d.ts +0 -232
  341. package/lib/form-field/controls/select/select.module.d.ts +0 -10
  342. package/lib/form-field/controls/select/value-tags-display/index.d.ts +0 -1
  343. package/lib/form-field/controls/select/value-tags-display/select-value-tags-display.component.d.ts +0 -46
  344. package/lib/form-field/controls/shared/index.d.ts +0 -1
  345. package/lib/form-field/controls/shared/toggle/components/index.d.ts +0 -1
  346. package/lib/form-field/controls/shared/toggle/components/toggle-input/toggle-input.component.d.ts +0 -6
  347. package/lib/form-field/controls/shared/toggle/index.d.ts +0 -3
  348. package/lib/form-field/controls/shared/toggle/toggle.component.d.ts +0 -29
  349. package/lib/form-field/controls/shared/toggle/toggle.module.d.ts +0 -9
  350. package/lib/form-field/controls/tag-select/index.d.ts +0 -1
  351. package/lib/form-field/controls/tag-select/tag-select.component.d.ts +0 -43
  352. package/lib/form-field/form-field-errors.d.ts +0 -2
  353. package/lib/form-field/impdc-forms.d.ts +0 -6
  354. package/lib/form-field/impdc-forms.module.d.ts +0 -13
  355. package/lib/form-field/index.d.ts +0 -1
  356. package/lib/form-field/services/error-state-matcher.service.d.ts +0 -12
  357. package/lib/form-field/services/index.d.ts +0 -2
  358. package/lib/form-field/services/unique-selection-dispatcher.service.d.ts +0 -29
  359. package/lib/form-field/shared/constructors.type.d.ts +0 -7
  360. package/lib/form-field/shared/disabled.mixin.d.ts +0 -10
  361. package/lib/form-field/shared/error-state.mixin.d.ts +0 -31
  362. package/lib/form-field/shared/form-field-control.d.ts +0 -24
  363. package/lib/form-field/shared/index.d.ts +0 -5
  364. package/lib/form-field/shared/tab-index.mixin.d.ts +0 -13
  365. package/lib/icon/icon.component.d.ts +0 -36
  366. package/lib/icon/icon.module.d.ts +0 -9
  367. package/lib/icon/index.d.ts +0 -2
  368. package/lib/index.d.ts +0 -28
  369. package/lib/modal/index.d.ts +0 -3
  370. package/lib/modal/modal.component.d.ts +0 -116
  371. package/lib/modal/modal.module.d.ts +0 -13
  372. package/lib/modal/types/index.d.ts +0 -2
  373. package/lib/modal/types/modal-component-sizes.d.ts +0 -3
  374. package/lib/modal/types/modal-theme.d.ts +0 -7
  375. package/lib/pagination/index.d.ts +0 -2
  376. package/lib/pagination/pagination.component.d.ts +0 -58
  377. package/lib/pagination/pagination.module.d.ts +0 -14
  378. package/lib/progress-bar/index.d.ts +0 -2
  379. package/lib/progress-bar/progress-bar.component.d.ts +0 -31
  380. package/lib/progress-bar/progress-bar.module.d.ts +0 -8
  381. package/lib/scrollable/index.d.ts +0 -2
  382. package/lib/scrollable/scrollable.component.d.ts +0 -41
  383. package/lib/scrollable/scrollable.module.d.ts +0 -11
  384. package/lib/select-icon/index.d.ts +0 -2
  385. package/lib/select-icon/select-icon.component.d.ts +0 -123
  386. package/lib/select-icon/select-icon.module.d.ts +0 -12
  387. package/lib/size-detection/directive/element-size.interface.d.ts +0 -4
  388. package/lib/size-detection/directive/index.d.ts +0 -2
  389. package/lib/size-detection/directive/size-detector.directive.d.ts +0 -14
  390. package/lib/size-detection/index.d.ts +0 -3
  391. package/lib/size-detection/size-detection.module.d.ts +0 -8
  392. package/lib/spinner/index.d.ts +0 -2
  393. package/lib/spinner/spinner.component.d.ts +0 -13
  394. package/lib/spinner/spinner.module.d.ts +0 -8
  395. package/lib/table/components/bulk-actions/bulk-actions.component.d.ts +0 -10
  396. package/lib/table/components/column-heading/column-heading.component.d.ts +0 -14
  397. package/lib/table/components/index.d.ts +0 -3
  398. package/lib/table/components/row-actions/row-actions.component.d.ts +0 -21
  399. package/lib/table/constants/index.d.ts +0 -2
  400. package/lib/table/constants/public-table.constants.d.ts +0 -1
  401. package/lib/table/constants/table.constants.d.ts +0 -9
  402. package/lib/table/containers/index.d.ts +0 -1
  403. package/lib/table/containers/table.component.d.ts +0 -178
  404. package/lib/table/directives/collapse-monitor.directive.d.ts +0 -12
  405. package/lib/table/directives/index.d.ts +0 -3
  406. package/lib/table/directives/table-inject-component.directive.d.ts +0 -16
  407. package/lib/table/directives/table.directive.d.ts +0 -23
  408. package/lib/table/enumerations/index.d.ts +0 -1
  409. package/lib/table/enumerations/table-column-type.d.ts +0 -19
  410. package/lib/table/helpers/index.d.ts +0 -1
  411. package/lib/table/helpers/table-theme.helper.d.ts +0 -7
  412. package/lib/table/index.d.ts +0 -7
  413. package/lib/table/interfaces/cell-renderer.interface.d.ts +0 -13
  414. package/lib/table/interfaces/collapsible-row-content-context.interface.d.ts +0 -39
  415. package/lib/table/interfaces/custom-cell-renderer-components.type.d.ts +0 -3
  416. package/lib/table/interfaces/index.d.ts +0 -12
  417. package/lib/table/interfaces/sort-by-payload.interface.d.ts +0 -11
  418. package/lib/table/interfaces/table-cell-option.interface.d.ts +0 -4
  419. package/lib/table/interfaces/table-column-defs.type.d.ts +0 -53
  420. package/lib/table/interfaces/table-event-payload.interface.d.ts +0 -13
  421. package/lib/table/interfaces/table-row-action-payload.interface.d.ts +0 -13
  422. package/lib/table/interfaces/table-row-action.interface.d.ts +0 -17
  423. package/lib/table/interfaces/table-row-collapse-change.interface.d.ts +0 -11
  424. package/lib/table/interfaces/table-row-item.interface.d.ts +0 -8
  425. package/lib/table/table.module.d.ts +0 -24
  426. package/lib/tag/index.d.ts +0 -1
  427. package/lib/tag/tag.component.d.ts +0 -54
  428. package/lib/text-highlight/index.d.ts +0 -2
  429. package/lib/text-highlight/text-highlight.component.d.ts +0 -37
  430. package/lib/text-highlight/text-highlight.module.d.ts +0 -8
  431. package/public-api.d.ts +0 -4
  432. package/services/index.d.ts +0 -1
  433. package/services/interaction.service.d.ts +0 -28
  434. package/types/component-size.d.ts +0 -12
  435. package/types/component-theme.d.ts +0 -12
  436. package/types/index.d.ts +0 -2
  437. package/utilities/boolean-props.d.ts +0 -8
  438. package/utilities/dc.d.ts +0 -6
  439. package/utilities/index.d.ts +0 -5
  440. package/utilities/lc.d.ts +0 -6
  441. package/utilities/number-props.d.ts +0 -15
  442. package/utilities/sanitize.d.ts +0 -1
@@ -1,9 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const IMPDC_PREFIX: InjectionToken<PrefixDirective>;
4
- export declare class PrefixDirective {
5
- set isTextSelector(value: '');
6
- isText: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<PrefixDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<PrefixDirective, "[impdcPrefix], [impdcTextPrefix]", never, { "isTextSelector": { "alias": "impdcTextPrefix"; "required": false; }; }, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const IMPDC_SUFFIX: InjectionToken<SuffixDirective>;
4
- export declare class SuffixDirective {
5
- set isTextSelector(value: '');
6
- isText: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SuffixDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<SuffixDirective, "[impdcSuffix], [impdcTextSuffix]", never, { "isTextSelector": { "alias": "impdcTextSuffix"; "required": false; }; }, {}, never, never, true, never>;
9
- }
@@ -1,37 +0,0 @@
1
- import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, InjectionToken, QueryList } from '@angular/core';
2
- import { AbstractControlDirective } from '@angular/forms';
3
- import { ErrorDirective, PrefixDirective, SuffixDirective } from './directives';
4
- import { ImpdcFormFieldControl } from '../shared/form-field-control';
5
- import * as i0 from "@angular/core";
6
- export declare const IMPDC_FORM_FIELD: InjectionToken<FormFieldComponent>;
7
- export declare class FormFieldComponent implements AfterViewInit, AfterContentInit, AfterContentChecked {
8
- private readonly _elementRef;
9
- private readonly _changeDetectorRef;
10
- protected _inputArea: ElementRef<HTMLElement>;
11
- protected _formFieldControl: ImpdcFormFieldControl<unknown>;
12
- protected _prefixChildren: QueryList<PrefixDirective>;
13
- protected _suffixChildren: QueryList<SuffixDirective>;
14
- protected _errorChildren?: QueryList<ErrorDirective>;
15
- private readonly _destroyedSubject;
16
- protected _hasTextPrefix: boolean;
17
- protected _hasTextSuffix: boolean;
18
- private _isFocused;
19
- private _explicitFormFieldControl;
20
- protected readonly _labelId: string;
21
- protected get _control(): ImpdcFormFieldControl<unknown>;
22
- protected set _control(value: ImpdcFormFieldControl<unknown>);
23
- constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
24
- ngAfterViewInit(): void;
25
- ngAfterContentInit(): void;
26
- ngAfterContentChecked(): void;
27
- protected _showErrors(): boolean;
28
- protected _shouldForwardControlState(prop: keyof AbstractControlDirective): boolean;
29
- private _initializeControl;
30
- private _assertFormFieldControl;
31
- private _updateFocusState;
32
- private _checkPrefixAndSuffixTypes;
33
- /** Initializes the prefix and suffix containers. */
34
- private _initializePrefixAndSuffix;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "impdc-form-field", ["impdcFormField"], {}, {}, ["_formFieldControl", "_prefixChildren", "_suffixChildren", "_errorChildren"], ["impdc-label", "impdc-corner-hint", "[impdcPrefix]", "[impdcTextPrefix]", "*", "[impdcTextSuffix]", "[impdcSuffix]", "impdc-hint", "impdc-error, [impdc-error]"], true, never>;
37
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./form-field.component";
3
- import * as i2 from "./directives/corner-hint.directive";
4
- import * as i3 from "./directives/error.directive";
5
- import * as i4 from "./directives/form-root.directive";
6
- import * as i5 from "./directives/hint.directive";
7
- import * as i6 from "./directives/label.directive";
8
- import * as i7 from "./directives/prefix.directive";
9
- import * as i8 from "./directives/suffix.directive";
10
- export declare class FormFieldModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormFieldModule, never, [typeof i1.FormFieldComponent, typeof i2.CornerHintDirective, typeof i3.ErrorDirective, typeof i4.RootFormGroupDirective, typeof i4.RootNgFormDirective, typeof i5.HintDirective, typeof i6.LabelDirective, typeof i7.PrefixDirective, typeof i8.SuffixDirective], [typeof i1.FormFieldComponent, typeof i2.CornerHintDirective, typeof i3.ErrorDirective, typeof i4.RootFormGroupDirective, typeof i4.RootNgFormDirective, typeof i5.HintDirective, typeof i6.LabelDirective, typeof i7.PrefixDirective, typeof i8.SuffixDirective]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<FormFieldModule>;
14
- }
@@ -1,3 +0,0 @@
1
- export * from './directives';
2
- export * from './form-field.component';
3
- export * from './form-field.module';
@@ -1,137 +0,0 @@
1
- import { ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
- import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm, ValidationErrors, Validator } from '@angular/forms';
3
- import { Subject } from 'rxjs';
4
- import { BooleanInput } from '../../../../utilities';
5
- import { ImpdcFormRoot } from '../../component';
6
- import { ErrorStateMatcher } from '../../services';
7
- import { HasTabIndex, ICanUpdateErrorState, IHasErrorState, ImpdcFormFieldControl } from '../../shared';
8
- import * as i0 from "@angular/core";
9
- export declare class CheckboxChangeEvent {
10
- /** The specific checkbox that changed. */
11
- readonly source: CheckboxComponent;
12
- /** Whether the changed checkbox was checked or unchecked at the time of the event. */
13
- readonly checked: boolean;
14
- constructor(
15
- /** The specific checkbox that changed. */
16
- source: CheckboxComponent,
17
- /** Whether the changed checkbox was checked or unchecked at the time of the event. */
18
- checked: boolean);
19
- }
20
- declare abstract class CheckboxComponentBase {
21
- _defaultErrorStateMatcher: ErrorStateMatcher;
22
- _formRoot: ImpdcFormRoot;
23
- _parentForm: NgForm;
24
- _parentFormGroup: FormGroupDirective;
25
- ngControl: NgControl | null;
26
- readonly stateChanges: Subject<void>;
27
- abstract disabled: boolean;
28
- constructor(_defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl | null);
29
- }
30
- declare const _CheckboxComponentMixinBase: import("../../shared").Constructor<HasTabIndex> & import("../../shared").AbstractConstructor<HasTabIndex> & import("../../shared").Constructor<ICanUpdateErrorState> & import("../../shared").AbstractConstructor<ICanUpdateErrorState> & typeof CheckboxComponentBase;
31
- /**
32
- * The `CheckboxComponent` (`<impdc-checkbox`) is an input with a simple boolean value as a checkbox or toggle switch.
33
- * This component can be used within a `FormFieldComponent` (`<impdc-form-field`).
34
- * To use, import `CheckboxModule` or another module that imports and exports that module from `@impartner/design-components`.
35
- */
36
- export declare class CheckboxComponent extends _CheckboxComponentMixinBase implements DoCheck, OnDestroy, ControlValueAccessor, Validator, HasTabIndex, ImpdcFormFieldControl<boolean>, ICanUpdateErrorState, IHasErrorState {
37
- private readonly _changeDetector;
38
- private readonly _uid;
39
- private _cvaOnChange;
40
- private _cvaOnTouched;
41
- protected _inputElement?: ElementRef<HTMLInputElement>;
42
- id: string;
43
- /**
44
- * The primary label text for the checkbox control.
45
- */
46
- label: string;
47
- /**
48
- * Text to provide additional description or context for the checkbox control. Does not display when `inline` is `true`.
49
- */
50
- description: string;
51
- /**
52
- * Whether or not the input displays as a toggle switch.
53
- */
54
- isSwitch: boolean;
55
- /**
56
- * When `isSwitch` is `true`, sets whether or not the toggle switch uses icons.
57
- */
58
- switchIcons: boolean;
59
- /**
60
- * Whether or not the checkbox displays inline.
61
- */
62
- inline: boolean;
63
- /**
64
- * Opt to display the checkbox control before the label (`'check-start'`) or after the label (`'check-end'`)
65
- */
66
- layout: 'check-start' | 'check-end';
67
- /**
68
- * Whether or not the checkbox input is checked.
69
- */
70
- get checked(): boolean;
71
- set checked(value: BooleanInput);
72
- /**
73
- * Whether or not the checkbox input is in an `indeterminate` state.
74
- */
75
- get indeterminate(): boolean;
76
- set indeterminate(value: BooleanInput);
77
- private _indeterminate;
78
- get disabled(): boolean;
79
- set disabled(value: BooleanInput);
80
- protected _disabled: boolean;
81
- errorStateMatcher: ErrorStateMatcher;
82
- /**
83
- * Event emitted whenever the checkedness of the input changes.
84
- */
85
- readonly change: EventEmitter<CheckboxChangeEvent>;
86
- /**
87
- * Event emitted whenever the control enters or leaves an `indeterminate` state.
88
- */
89
- readonly indeterminateChange: EventEmitter<boolean>;
90
- get inputId(): string;
91
- constructor(_changeDetector: ChangeDetectorRef, tabIndex: string, defaultErrorStateMatcher: ErrorStateMatcher, formRoot: ImpdcFormRoot, parentForm: NgForm, parentFormGroup: FormGroupDirective, ngControl: NgControl | null);
92
- /** @ignore */
93
- ngDoCheck(): void;
94
- /** @ignore */
95
- ngOnDestroy(): void;
96
- get value(): boolean;
97
- set value(value: BooleanInput);
98
- private _value;
99
- get focused(): boolean;
100
- private _focused;
101
- /**
102
- * Used to set requiredness of control in a template-based manner; not necessary when using the
103
- * Angular reactive forms API and 'required' or `requiredTrue` validators.
104
- */
105
- get required(): boolean;
106
- set required(value: BooleanInput);
107
- private _required;
108
- readonly controlType: string;
109
- readonly supportsAffixes: boolean;
110
- /** @ignore */
111
- writeValue(value: any): void;
112
- /** @ignore */
113
- registerOnChange(fn: (value: any) => void): void;
114
- /** @ignore */
115
- registerOnTouched(fn: () => {}): void;
116
- /** @ignore */
117
- setDisabledState(isDisabled: boolean): void;
118
- /** @ignore */
119
- validate(): ValidationErrors | null;
120
- protected _getAriaChecked(): 'true' | 'false' | 'mixed';
121
- protected _onBlur(): void;
122
- protected _onFocus(): void;
123
- protected _handleCheckClick(): void;
124
- protected _onInteractionEvent(event: Event): void;
125
- private _emitChangeEvents;
126
- /**
127
- * Prevent click events that come from the `<label/>` element from bubbling. This prevents the
128
- * click handler on the host from triggering twice when clicking on the `<label/>` element. After
129
- * the click event on the `<label/>` propagates, the browsers dispatches click on the associated
130
- * `<input/>`. By preventing clicks on the label by bubbling, we ensure only one click event
131
- * bubbles when the label is clicked.
132
- */
133
- protected _preventBubblingFromLabel(event: MouseEvent): void;
134
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [null, { attribute: "tabindex"; }, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
135
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "impdc-checkbox", ["impdcCheckControl"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "isSwitch": { "alias": "isSwitch"; "required": false; }; "switchIcons": { "alias": "switchIcons"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, never, true, never>;
136
- }
137
- export {};
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./checkbox.component";
3
- export declare class CheckboxModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, never, [typeof i1.CheckboxComponent], [typeof i1.CheckboxComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
7
- }
@@ -1,2 +0,0 @@
1
- export { CheckboxChangeEvent, CheckboxComponent } from './checkbox.component';
2
- export { CheckboxModule } from './checkbox.module';
@@ -1,5 +0,0 @@
1
- export * from './checkbox';
2
- export * from './input';
3
- export * from './radio';
4
- export * from './select';
5
- export * from './tag-select';
@@ -1 +0,0 @@
1
- export { InputDirective } from './input.directive';
@@ -1,84 +0,0 @@
1
- import { DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core';
2
- import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
3
- import { Subject } from 'rxjs';
4
- import { BooleanInput } from '../../../../utilities';
5
- import { ImpdcFormRoot } from '../../component';
6
- import { ErrorStateMatcher } from '../../services';
7
- import { ICanUpdateErrorState, IHasErrorState } from '../../shared';
8
- import { ImpdcFormFieldControl } from '../../shared/form-field-control';
9
- import * as i0 from "@angular/core";
10
- /** @docs-private */
11
- export declare function getInputUnsupportedTypeError(type: string): Error;
12
- declare const _InputDirectiveBase: import("../../shared").Constructor<ICanUpdateErrorState> & import("../../shared").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 `InputDirective` (`<input impdcInput`, `<textarea impdcInput` or `<select impdcInput`) is a directive for text inputs.
24
- * With this directive, the input, textarea, and select can be used within a `FormFieldComponent` (`<impdc-form-field`).
25
- * To use, import `ImpdcFormsModule` or another module that imports and exports that module from `@impartner/design-components`.
26
- */
27
- export declare class InputDirective extends _InputDirectiveBase implements ImpdcFormFieldControl<any>, ICanUpdateErrorState, IHasErrorState, OnChanges, OnDestroy, DoCheck {
28
- protected _elementRef: ElementRef<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>;
29
- private _inputValueAccessor;
30
- protected _uid: string;
31
- protected _isSelect: boolean;
32
- protected _isTextarea: boolean;
33
- focused: boolean;
34
- readonly controlType?: string;
35
- readonly supportsAffixes: boolean;
36
- get disabled(): boolean;
37
- set disabled(value: BooleanInput);
38
- protected _disabled: boolean;
39
- get id(): string;
40
- set id(value: string);
41
- protected _id: string;
42
- /**
43
- * Supports most standard `<input [type]>` attribute values. Does not support `button`, `checkbox`,
44
- * `file`, `hidden`, `image`, `radio`, `range`, `reset`, or `button`, and does not apply to
45
- * `<textarea>` or `<select>` elements.
46
- *
47
- * @default text
48
- */
49
- get type(): string;
50
- set type(value: string);
51
- protected _type: string;
52
- /**
53
- * Used to set requiredness of control in a template-based manner;
54
- * not necessary when using the Angular reactive forms API and `required` validator.
55
- */
56
- get required(): boolean;
57
- set required(value: BooleanInput);
58
- private _required;
59
- /**
60
- * Used to put the control in a non-interactive readonly state; only supports `<input>` and
61
- * `<textarea>` elements.
62
- *
63
- * To see the difference between `readonly` and `disabled`, refer to [MDN's documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly).
64
- */
65
- get readonly(): boolean;
66
- set readonly(value: BooleanInput);
67
- private _readonly;
68
- errorStateMatcher: ErrorStateMatcher;
69
- get value(): string;
70
- set value(value: any);
71
- constructor(_elementRef: ElementRef<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>, ngControl: NgControl, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _defaultErrorStateMatcher: ErrorStateMatcher);
72
- /** @ignore */
73
- ngDoCheck(): void;
74
- /** @ignore */
75
- ngOnChanges(): void;
76
- /** @ignore */
77
- ngOnDestroy(): void;
78
- protected _focusChanged(isFocused: boolean): void;
79
- protected _typeIsValid(inputType: string): boolean;
80
- protected _onInput(): void;
81
- static ɵfac: i0.ɵɵFactoryDeclaration<InputDirective, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null]>;
82
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputDirective, "input[impdcInput], textarea[impdcInput], select[impdcNativeSelect]", ["impdcInput"], { "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
83
- }
84
- export {};
@@ -1,5 +0,0 @@
1
- export { RadioChangeEvent, IRadioButton, IRadioGroup } from './interfaces';
2
- export { RadioButtonComponent } from './radio-button/radio-button.component';
3
- export { RadioGroupDirective } from './radio-group/radio-group.directive';
4
- export { IMPDC_RADIO_GROUP, IMPDC_RADIO_BUTTON } from './injection-tokens';
5
- export { RadioModule } from './radio.module';
@@ -1,4 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { IRadioButton, IRadioGroup } from './interfaces';
3
- export declare const IMPDC_RADIO_GROUP: InjectionToken<IRadioGroup>;
4
- export declare const IMPDC_RADIO_BUTTON: InjectionToken<IRadioButton>;
@@ -1,3 +0,0 @@
1
- export * from './radio-change-event.interface';
2
- export * from './radio-button.interface';
3
- export * from './radio-group.interface';
@@ -1,6 +0,0 @@
1
- export interface IRadioButton {
2
- checked: boolean;
3
- name: string;
4
- value: any;
5
- markForCheck(): void;
6
- }
@@ -1,12 +0,0 @@
1
- import { IRadioButton } from './radio-button.interface';
2
- export declare class RadioChangeEvent {
3
- /** The specific radio button that changed. */
4
- readonly source: IRadioButton;
5
- /** The selected value. */
6
- readonly value: any;
7
- constructor(
8
- /** The specific radio button that changed. */
9
- source: IRadioButton,
10
- /** The selected value. */
11
- value: any);
12
- }
@@ -1,13 +0,0 @@
1
- import { IRadioButton } from './radio-button.interface';
2
- export interface IRadioGroup {
3
- get disabled(): boolean;
4
- get errorState(): boolean;
5
- get inline(): boolean;
6
- get name(): string;
7
- get required(): boolean;
8
- get value(): any;
9
- selected: IRadioButton | null;
10
- emitChangesEvent(): void;
11
- onChangeFn(value: any): void;
12
- touch(): void;
13
- }
@@ -1,98 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, DoCheck, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { BooleanInput } from '../../../../../utilities';
3
- import { UniqueSelectionDispatcher } from '../../../services/unique-selection-dispatcher.service';
4
- import { HasTabIndex } from '../../../shared/tab-index.mixin';
5
- import { RadioChangeEvent, IRadioButton, IRadioGroup } from '../interfaces';
6
- import * as i0 from "@angular/core";
7
- declare abstract class RadioButtonComponentBase {
8
- abstract disabled: boolean;
9
- constructor();
10
- }
11
- declare const _RadioButtonComponentMixinBase: import("@impartner/design-components").Constructor<HasTabIndex> & import("@impartner/design-components").AbstractConstructor<HasTabIndex> & typeof RadioButtonComponentBase;
12
- export declare class RadioButtonComponent extends _RadioButtonComponentMixinBase implements IRadioButton, HasTabIndex, OnInit, OnDestroy, DoCheck, AfterViewInit {
13
- private readonly _changeDetector;
14
- private _radioDispatcher;
15
- readonly _radioGroup?: IRadioGroup | undefined;
16
- private readonly _uid;
17
- private _removeUniqueSelectionListener;
18
- private _previousTabIndex?;
19
- private _inputElement;
20
- id: string;
21
- /**
22
- * The unique name for a group of radio options; Inherited from the parent `RadioGroupDirective` when available.
23
- */
24
- name: string;
25
- /**
26
- * Property for setting ARIA "label" attribute.
27
- */
28
- ariaLabel?: string;
29
- /**
30
- * Property for setting ARIA "labelled by" attribute.
31
- */
32
- ariaLabelledby?: string;
33
- /**
34
- * Property for setting ARIA "described by" attribute.
35
- */
36
- ariaDescribedby?: string;
37
- /**
38
- * Whether or not the radio input is checked/selected.
39
- */
40
- get checked(): boolean;
41
- set checked(value: BooleanInput);
42
- protected _checked: boolean;
43
- /**
44
- * The specific value represented by the radio button.
45
- */
46
- get value(): any;
47
- set value(value: any);
48
- protected _value: any;
49
- /**
50
- * Whether or not the radio button displays inline; Inherited from the parent `RadioGroupDirective` when available.
51
- */
52
- get inline(): boolean;
53
- set inline(value: BooleanInput);
54
- protected _inline?: boolean;
55
- /**
56
- * Used to enable or disable the radio button, but will always return `true` when the parent
57
- * `RadioGroupDirective` is already disabled.
58
- */
59
- get disabled(): boolean;
60
- set disabled(value: BooleanInput);
61
- protected _disabled: boolean;
62
- /** @ignore */
63
- get required(): boolean;
64
- set required(value: BooleanInput);
65
- protected _required: boolean;
66
- /**
67
- * The primary label text for the radio button.
68
- */
69
- label: string;
70
- /**
71
- * Text to provide additional description or context for the radio button. Does
72
- * not display if `inline` is `true`.
73
- */
74
- description: string;
75
- /**
76
- * Event emitted when the radio button becomes selected/checked.
77
- */
78
- readonly change: EventEmitter<RadioChangeEvent>;
79
- protected get _errorState(): boolean;
80
- constructor(_changeDetector: ChangeDetectorRef, _radioDispatcher: UniqueSelectionDispatcher, tabIndex?: string, _radioGroup?: IRadioGroup | undefined);
81
- /** @ignore */
82
- ngOnInit(): void;
83
- /** @ignore */
84
- ngDoCheck(): void;
85
- /** @ignore */
86
- ngAfterViewInit(): void;
87
- /** @ignore */
88
- ngOnDestroy(): void;
89
- /** @ignore */
90
- markForCheck(): void;
91
- protected _emitChangesEvent(): void;
92
- protected _onBlur(): void;
93
- protected _onInputChange(event: Event): void;
94
- protected _updateTabIndex(): void;
95
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, [null, null, { attribute: "tabindex"; }, { optional: true; }]>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "impdc-radio-button", ["impdcRadioButton"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
97
- }
98
- export {};
@@ -1,104 +0,0 @@
1
- import { AfterContentInit, ChangeDetectorRef, DoCheck, EventEmitter, OnDestroy, QueryList } from '@angular/core';
2
- import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
3
- import { BooleanInput } from '../../../../../utilities';
4
- import { Subject } from 'rxjs';
5
- import { ImpdcFormRoot } from '../../../component';
6
- import { ErrorStateMatcher } from '../../../services';
7
- import { IHasErrorState, ImpdcFormFieldControl } from '../../../shared';
8
- import { RadioChangeEvent, IRadioButton, IRadioGroup } from '../interfaces';
9
- import * as i0 from "@angular/core";
10
- declare const _RadioGroupDirectiveBase: import("../../../shared").Constructor<import("../../../shared").ICanUpdateErrorState> & import("../../../shared").AbstractConstructor<import("../../../shared").ICanUpdateErrorState> & {
11
- new (_defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl | null): {
12
- readonly stateChanges: Subject<void>;
13
- _defaultErrorStateMatcher: ErrorStateMatcher;
14
- _formRoot: ImpdcFormRoot;
15
- _parentForm: NgForm;
16
- _parentFormGroup: FormGroupDirective;
17
- ngControl: NgControl | null;
18
- };
19
- };
20
- /**
21
- * The `RadioGroupDirective` (`<impdc-radio-group`) is a container for `RadioButtonComponent` (`<impdc-radio-button`).
22
- * This directive/component can be used within a `FormFieldComponent` (`<impdc-form-field`).
23
- * To use, import `RadioModule` or another module that imports and exports that module from `@impartner/design-components`.
24
- */
25
- export declare class RadioGroupDirective<TRadioButton extends IRadioButton = IRadioButton> extends _RadioGroupDirectiveBase implements IRadioGroup, ControlValueAccessor, ImpdcFormFieldControl<any>, AfterContentInit, DoCheck, OnDestroy, IHasErrorState {
26
- private readonly _changeDetector;
27
- protected _radioOptions: QueryList<TRadioButton>;
28
- protected readonly _uid: string;
29
- protected _initialized: boolean;
30
- private _previousControl?;
31
- private _cvaOnChange;
32
- private _cvaOnTouched;
33
- /**
34
- * The unique name for the group of radio options; Autogenerated by default.
35
- */
36
- get name(): string;
37
- set name(value: string);
38
- protected _name: string;
39
- /**
40
- * Whether or not the nested radio options should display inline.
41
- */
42
- get inline(): boolean;
43
- set inline(value: BooleanInput);
44
- protected _inline: boolean;
45
- /**
46
- * A reference to the currently selected radio button component (eg. `<impdc-radio-button>`).
47
- */
48
- get selected(): TRadioButton | null;
49
- set selected(selected: TRadioButton | null);
50
- protected _selected: TRadioButton | null;
51
- errorStateMatcher: ErrorStateMatcher;
52
- /**
53
- * Event emitted whenever a new radio option is selected.
54
- */
55
- readonly change: EventEmitter<RadioChangeEvent>;
56
- constructor(_changeDetector: ChangeDetectorRef, _defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl | null);
57
- /** @ignore */
58
- ngAfterContentInit(): void;
59
- /** @ignore */
60
- ngDoCheck(): void;
61
- /** @ignore */
62
- ngOnDestroy(): void;
63
- get value(): any;
64
- set value(value: any);
65
- protected _value: any;
66
- get id(): string;
67
- set id(value: string);
68
- protected _id: string;
69
- get focused(): boolean;
70
- protected _focused: boolean;
71
- get disabled(): boolean;
72
- set disabled(value: BooleanInput);
73
- protected _disabled: boolean;
74
- /**
75
- * Used to set requiredness of control in a template-based manner;
76
- * not necessary when using the Angular reactive forms API and `required` validator.
77
- */
78
- get required(): boolean;
79
- set required(value: BooleanInput);
80
- private _required;
81
- readonly controlType = "impdc-radio-group";
82
- readonly supportsAffixes: boolean;
83
- /** @ignore */
84
- writeValue(value: any): void;
85
- /** @ignore */
86
- registerOnChange(fn: (value: any) => void): void;
87
- /** @ignore */
88
- registerOnTouched(fn: () => {}): void;
89
- /** @ignore */
90
- setDisabledState(isDisabled: boolean): void;
91
- /** @ignore */
92
- emitChangesEvent(): void;
93
- /** @ignore */
94
- onChangeFn(value: any): void;
95
- /** @ignore */
96
- touch(): void;
97
- protected _checkSelectedRadioOption(): void;
98
- protected _markRadioOptionsForCheck(): void;
99
- protected _updateRadioOptionNames(): void;
100
- protected _updateSelectedRadioOptionFromValue(): void;
101
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupDirective<any>, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
102
- static ɵdir: i0.ɵɵDirectiveDeclaration<RadioGroupDirective<any>, "impdc-radio-group", ["impdcRadioGroup"], { "name": { "alias": "name"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, ["_radioOptions"], never, true, never>;
103
- }
104
- export {};
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./radio-button/radio-button.component";
3
- import * as i2 from "./radio-group/radio-group.directive";
4
- export declare class RadioModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<RadioModule, never, [typeof i1.RadioButtonComponent, typeof i2.RadioGroupDirective], [typeof i1.RadioButtonComponent, typeof i2.RadioGroupDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<RadioModule>;
8
- }
@@ -1,9 +0,0 @@
1
- export { ISelectOption } from './interfaces';
2
- export { SelectOptionGroupComponent } from './option-group';
3
- export { SelectOptionComponent } from './option';
4
- export { SelectOptionDisplayComponent, SelectOptionSelectionChangeEvent } from './option-display';
5
- export { ISelectOptionParentComponent, ISelectValueBadgesParentComponent, IMPDC_SELECT_OPTION_PARENT_COMPONENT, IMPDC_SELECT_VALUE_BADGES_PARENT_COMPONENT } from './option-parent';
6
- export { SelectChange, SelectModel } from './select-model';
7
- export { SelectValueTagsDisplayComponent } from './value-tags-display';
8
- export { SelectChangeEvent, SelectComponent } from './select.component';
9
- export { SelectModule } from './select.module';
@@ -1 +0,0 @@
1
- export * from './select-option.interface';
@@ -1,6 +0,0 @@
1
- export interface ISelectOption {
2
- readonly groupLabel?: string;
3
- readonly label: string;
4
- readonly value: any;
5
- readonly disabled?: boolean;
6
- }
@@ -1 +0,0 @@
1
- export * from './select-option.component';
@@ -1,21 +0,0 @@
1
- import { ISelectOption } from '../interfaces';
2
- import * as i0 from "@angular/core";
3
- export declare class SelectOptionComponent implements ISelectOption {
4
- private readonly _group?;
5
- readonly uid: string;
6
- /**
7
- * The specific value represented by the select option.
8
- */
9
- value: any;
10
- /**
11
- * Label text describing the select option.
12
- */
13
- label: string;
14
- /**
15
- * Used to enable or disable the specific select option.
16
- */
17
- disabled: boolean;
18
- get groupLabel(): string | undefined;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectOptionComponent, "impdc-select-option", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
21
- }