@fundamental-ngx/cdk 0.38.3-rc.4

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 (399) hide show
  1. package/README.md +89 -0
  2. package/data-source/README.md +7 -0
  3. package/data-source/base/abstract-data-provider.class.d.ts +43 -0
  4. package/data-source/base/base-data-source.class.d.ts +57 -0
  5. package/data-source/data-source.directive.d.ts +47 -0
  6. package/data-source/data-source.module.d.ts +7 -0
  7. package/data-source/helpers/apply-datasource-directive.d.ts +6 -0
  8. package/data-source/helpers/common.d.ts +7 -0
  9. package/data-source/helpers/is-datasource.d.ts +5 -0
  10. package/data-source/index.d.ts +8 -0
  11. package/data-source/models/data-source-provider.d.ts +23 -0
  12. package/data-source/models/data-source.d.ts +16 -0
  13. package/data-source/models/index.d.ts +3 -0
  14. package/data-source/models/matching-strategy.d.ts +10 -0
  15. package/data-source/tokens.d.ts +6 -0
  16. package/esm2020/data-source/base/abstract-data-provider.class.mjs +126 -0
  17. package/esm2020/data-source/base/base-data-source.class.mjs +99 -0
  18. package/esm2020/data-source/data-source.directive.mjs +96 -0
  19. package/esm2020/data-source/data-source.module.mjs +16 -0
  20. package/esm2020/data-source/fundamental-ngx-cdk-data-source.mjs +5 -0
  21. package/esm2020/data-source/helpers/apply-datasource-directive.mjs +7 -0
  22. package/esm2020/data-source/helpers/common.mjs +17 -0
  23. package/esm2020/data-source/helpers/is-datasource.mjs +7 -0
  24. package/esm2020/data-source/index.mjs +9 -0
  25. package/esm2020/data-source/models/data-source-provider.mjs +2 -0
  26. package/esm2020/data-source/models/data-source.mjs +2 -0
  27. package/esm2020/data-source/models/index.mjs +4 -0
  28. package/esm2020/data-source/models/matching-strategy.mjs +7 -0
  29. package/esm2020/data-source/tokens.mjs +6 -0
  30. package/esm2020/forms/cva/cva-control.class.mjs +43 -0
  31. package/esm2020/forms/cva/cva.directive.mjs +309 -0
  32. package/esm2020/forms/forms.module.mjs +16 -0
  33. package/esm2020/forms/fundamental-ngx-cdk-forms.mjs +5 -0
  34. package/esm2020/forms/helpers/state.mjs +6 -0
  35. package/esm2020/forms/index.mjs +13 -0
  36. package/esm2020/forms/models/cva.mjs +2 -0
  37. package/esm2020/forms/models/form-error.mjs +2 -0
  38. package/esm2020/forms/models/form-field-control.mjs +2 -0
  39. package/esm2020/forms/models/form-field.mjs +9 -0
  40. package/esm2020/forms/models/form-state.mjs +2 -0
  41. package/esm2020/forms/models/select-item.mjs +14 -0
  42. package/esm2020/forms/tokens/form-field-control.token.mjs +3 -0
  43. package/esm2020/forms/tokens/form-field.token.mjs +3 -0
  44. package/esm2020/fundamental-ngx-cdk.mjs +5 -0
  45. package/esm2020/fundamental-ngx.module.mjs +19 -0
  46. package/esm2020/public_api.mjs +5 -0
  47. package/esm2020/utils/abstract-fd-ngx-class.mjs +56 -0
  48. package/esm2020/utils/coercion/array.mjs +7 -0
  49. package/esm2020/utils/consts/error-messages.mjs +6 -0
  50. package/esm2020/utils/consts/index.mjs +5 -0
  51. package/esm2020/utils/consts/overflow-priority-score.mjs +8 -0
  52. package/esm2020/utils/consts/unicode-letters.regex.mjs +11 -0
  53. package/esm2020/utils/consts/unicode-numbers.regex.mjs +8 -0
  54. package/esm2020/utils/datatypes/color-accent.datatype.mjs +2 -0
  55. package/esm2020/utils/datatypes/hash.datatype.mjs +2 -0
  56. package/esm2020/utils/datatypes/index.mjs +4 -0
  57. package/esm2020/utils/datatypes/size.datatype.mjs +2 -0
  58. package/esm2020/utils/decorators/apply-css-class.decorator.mjs +60 -0
  59. package/esm2020/utils/decorators/apply-css-style.decorator.mjs +28 -0
  60. package/esm2020/utils/decorators/coerce-boolean.mjs +7 -0
  61. package/esm2020/utils/decorators/coerce-css-pixel.mjs +4 -0
  62. package/esm2020/utils/decorators/index.mjs +6 -0
  63. package/esm2020/utils/decorators/setter-alternator.mjs +18 -0
  64. package/esm2020/utils/deprecated-selector.class.mjs +20 -0
  65. package/esm2020/utils/directives/auto-complete/auto-complete.directive.mjs +136 -0
  66. package/esm2020/utils/directives/auto-complete/auto-complete.module.mjs +17 -0
  67. package/esm2020/utils/directives/clicked/clicked-behavior.module.mjs +45 -0
  68. package/esm2020/utils/directives/clicked/clicked-event.plugin.mjs +74 -0
  69. package/esm2020/utils/directives/clicked/clicked.directive.mjs +52 -0
  70. package/esm2020/utils/directives/clicked/fdk-clicked-provider.service.mjs +49 -0
  71. package/esm2020/utils/directives/clicked/index.mjs +4 -0
  72. package/esm2020/utils/directives/disabled/default-disabled-view-modifier.mjs +12 -0
  73. package/esm2020/utils/directives/disabled/disabled-behavior.directive.mjs +102 -0
  74. package/esm2020/utils/directives/disabled/disabled-behavior.interface.mjs +2 -0
  75. package/esm2020/utils/directives/disabled/disabled-behavior.module.mjs +16 -0
  76. package/esm2020/utils/directives/disabled/disabled-view-modifier.interface.mjs +2 -0
  77. package/esm2020/utils/directives/disabled/disabled.observer.mjs +35 -0
  78. package/esm2020/utils/directives/disabled/fdk-disabled-provider.service.mjs +101 -0
  79. package/esm2020/utils/directives/disabled/fdk-disabled.token.mjs +3 -0
  80. package/esm2020/utils/directives/disabled/index.mjs +9 -0
  81. package/esm2020/utils/directives/disabled/set-disabled-state.mjs +16 -0
  82. package/esm2020/utils/directives/focus-key-manager/focus-key-manager-helpers.module.mjs +33 -0
  83. package/esm2020/utils/directives/focus-key-manager/focus-key-manager-item.directive.mjs +98 -0
  84. package/esm2020/utils/directives/focus-key-manager/focus-key-manager-list.directive.mjs +113 -0
  85. package/esm2020/utils/directives/focus-key-manager/focus-key-manager.tokens.mjs +3 -0
  86. package/esm2020/utils/directives/focus-key-manager/index.mjs +5 -0
  87. package/esm2020/utils/directives/focusable-item/default-focusable-item-view-modifier.mjs +14 -0
  88. package/esm2020/utils/directives/focusable-item/fdk-focusable-item-provider.service.mjs +97 -0
  89. package/esm2020/utils/directives/focusable-item/focusable-item-view-modifier.interface.mjs +2 -0
  90. package/esm2020/utils/directives/focusable-item/focusable-item.directive.mjs +106 -0
  91. package/esm2020/utils/directives/focusable-item/focusable-item.module.mjs +16 -0
  92. package/esm2020/utils/directives/focusable-item/focusable.observer.mjs +47 -0
  93. package/esm2020/utils/directives/focusable-item/focusable.tokens.mjs +3 -0
  94. package/esm2020/utils/directives/focusable-item/index.mjs +9 -0
  95. package/esm2020/utils/directives/focusable-item/is-element-focusable-by-default.mjs +32 -0
  96. package/esm2020/utils/directives/focusable-item/set-focusable.mjs +12 -0
  97. package/esm2020/utils/directives/focusable-list/focusable-list.directive.mjs +79 -0
  98. package/esm2020/utils/directives/focusable-list/focusable-list.module.mjs +17 -0
  99. package/esm2020/utils/directives/focusable-list/focusable-list.service.mjs +54 -0
  100. package/esm2020/utils/directives/focusable-list/index.mjs +4 -0
  101. package/esm2020/utils/directives/ignore-click-on-selection/ignore-click-on-selection.directive.mjs +79 -0
  102. package/esm2020/utils/directives/ignore-click-on-selection/ignore-click-on-selection.module.mjs +16 -0
  103. package/esm2020/utils/directives/ignore-click-on-selection/tokens.mjs +3 -0
  104. package/esm2020/utils/directives/index.mjs +31 -0
  105. package/esm2020/utils/directives/initial-focus/initial-focus.directive.mjs +117 -0
  106. package/esm2020/utils/directives/initial-focus/initial-focus.module.mjs +16 -0
  107. package/esm2020/utils/directives/line-clamp/line-clamp.directive.mjs +263 -0
  108. package/esm2020/utils/directives/line-clamp/line-clamp.module.mjs +32 -0
  109. package/esm2020/utils/directives/only-digits/only-digits.directive.mjs +218 -0
  110. package/esm2020/utils/directives/only-digits/only-digits.module.mjs +16 -0
  111. package/esm2020/utils/directives/overflow-list/overflow-list-item.directive.mjs +42 -0
  112. package/esm2020/utils/directives/overflow-list/overflow-list.directive.mjs +140 -0
  113. package/esm2020/utils/directives/overflow-list/overflow-list.module.mjs +33 -0
  114. package/esm2020/utils/directives/readonly/default-readonly-view-modifier.mjs +12 -0
  115. package/esm2020/utils/directives/readonly/fdk-readonly-provider.service.mjs +102 -0
  116. package/esm2020/utils/directives/readonly/fdk-readonly.token.mjs +3 -0
  117. package/esm2020/utils/directives/readonly/index.mjs +10 -0
  118. package/esm2020/utils/directives/readonly/readonly-behavior.directive.mjs +97 -0
  119. package/esm2020/utils/directives/readonly/readonly-behavior.interface.mjs +2 -0
  120. package/esm2020/utils/directives/readonly/readonly-behavior.module.mjs +16 -0
  121. package/esm2020/utils/directives/readonly/readonly-view-modifier.interface.mjs +2 -0
  122. package/esm2020/utils/directives/readonly/readonly.observer.mjs +33 -0
  123. package/esm2020/utils/directives/readonly/set-readonly-state.mjs +14 -0
  124. package/esm2020/utils/directives/repeat/repeat.directive.mjs +65 -0
  125. package/esm2020/utils/directives/repeat/repeat.module.mjs +16 -0
  126. package/esm2020/utils/directives/resize/resize-handle.directive.mjs +42 -0
  127. package/esm2020/utils/directives/resize/resize.directive.mjs +231 -0
  128. package/esm2020/utils/directives/resize/resize.module.mjs +17 -0
  129. package/esm2020/utils/directives/selectable-list/index.mjs +8 -0
  130. package/esm2020/utils/directives/selectable-list/select-component-root.token.mjs +3 -0
  131. package/esm2020/utils/directives/selectable-list/selectable-item.directive.mjs +147 -0
  132. package/esm2020/utils/directives/selectable-list/selectable-item.token.mjs +3 -0
  133. package/esm2020/utils/directives/selectable-list/selectable-list.directive.mjs +93 -0
  134. package/esm2020/utils/directives/selectable-list/selectable-list.module.mjs +17 -0
  135. package/esm2020/utils/directives/selectable-list/selectable-list.tokens.mjs +3 -0
  136. package/esm2020/utils/directives/selectable-list/selection.service.mjs +135 -0
  137. package/esm2020/utils/directives/template/template.directive.mjs +49 -0
  138. package/esm2020/utils/directives/template/template.module.mjs +16 -0
  139. package/esm2020/utils/directives/truncate/truncate.directive.mjs +96 -0
  140. package/esm2020/utils/directives/truncate/truncate.module.mjs +16 -0
  141. package/esm2020/utils/drag-and-drop/dnd-item/dnd-item.directive.mjs +255 -0
  142. package/esm2020/utils/drag-and-drop/dnd-keyboard-group/dnd-keyboard-group.directive.mjs +88 -0
  143. package/esm2020/utils/drag-and-drop/dnd-keyboard-item/dnd-keyboard-item.directive.mjs +83 -0
  144. package/esm2020/utils/drag-and-drop/dnd-list/dnd-list.directive.mjs +220 -0
  145. package/esm2020/utils/drag-and-drop/dnd.interfaces.mjs +2 -0
  146. package/esm2020/utils/drag-and-drop/drag-and-drop.module.mjs +22 -0
  147. package/esm2020/utils/drag-and-drop/index.mjs +8 -0
  148. package/esm2020/utils/drag-and-drop/tokens.mjs +4 -0
  149. package/esm2020/utils/dynamic-component/dynamic-component-config.mjs +2 -0
  150. package/esm2020/utils/dynamic-component/dynamic-component-container.mjs +21 -0
  151. package/esm2020/utils/dynamic-component/dynamic-component-injector.mjs +20 -0
  152. package/esm2020/utils/dynamic-component/dynamic-component.service.mjs +90 -0
  153. package/esm2020/utils/dynamic-component/index.mjs +5 -0
  154. package/esm2020/utils/functions/consumer-provider-factory.mjs +12 -0
  155. package/esm2020/utils/functions/element-size.mjs +23 -0
  156. package/esm2020/utils/functions/get-document-font-size.mjs +5 -0
  157. package/esm2020/utils/functions/index.mjs +13 -0
  158. package/esm2020/utils/functions/intersection-observable.mjs +26 -0
  159. package/esm2020/utils/functions/is-compact-density.mjs +11 -0
  160. package/esm2020/utils/functions/key-util.mjs +77 -0
  161. package/esm2020/utils/functions/module-deprecations-provider.mjs +18 -0
  162. package/esm2020/utils/functions/parser-file-size.mjs +37 -0
  163. package/esm2020/utils/functions/random-color-accent.mjs +5 -0
  164. package/esm2020/utils/functions/resize-observable.mjs +33 -0
  165. package/esm2020/utils/functions/scroll.mjs +19 -0
  166. package/esm2020/utils/functions/uuidv4-generator.mjs +12 -0
  167. package/esm2020/utils/fundamental-ngx-cdk-utils.mjs +5 -0
  168. package/esm2020/utils/helpers/get-native-element.mjs +18 -0
  169. package/esm2020/utils/helpers/index.mjs +3 -0
  170. package/esm2020/utils/helpers/range-selector.mjs +117 -0
  171. package/esm2020/utils/index.mjs +19 -0
  172. package/esm2020/utils/interfaces/content-density.mjs +2 -0
  173. package/esm2020/utils/interfaces/css-class-builder.interface.mjs +2 -0
  174. package/esm2020/utils/interfaces/css-style-builder.interface.mjs +2 -0
  175. package/esm2020/utils/interfaces/has-element-ref.interface.mjs +2 -0
  176. package/esm2020/utils/interfaces/index.mjs +8 -0
  177. package/esm2020/utils/interfaces/keyboard-support-item.interface.mjs +2 -0
  178. package/esm2020/utils/interfaces/module-deprecation.interface.mjs +2 -0
  179. package/esm2020/utils/interfaces/require.interface.mjs +2 -0
  180. package/esm2020/utils/list-item/list-item-utils.mjs +3 -0
  181. package/esm2020/utils/models/nullable.mjs +2 -0
  182. package/esm2020/utils/pipes/displayFn.pipe.mjs +17 -0
  183. package/esm2020/utils/pipes/filter-strings.pipe.mjs +30 -0
  184. package/esm2020/utils/pipes/index.mjs +10 -0
  185. package/esm2020/utils/pipes/is-compact.pipe.mjs +16 -0
  186. package/esm2020/utils/pipes/pipe.module.mjs +55 -0
  187. package/esm2020/utils/pipes/safe.pipe.mjs +36 -0
  188. package/esm2020/utils/pipes/search-highlight.pipe.mjs +31 -0
  189. package/esm2020/utils/pipes/truncate.pipe.mjs +17 -0
  190. package/esm2020/utils/pipes/two-digits.pipe.mjs +22 -0
  191. package/esm2020/utils/pipes/value-by-path.pipe.mjs +16 -0
  192. package/esm2020/utils/services/content-density.service.mjs +34 -0
  193. package/esm2020/utils/services/destroyed.service.mjs +20 -0
  194. package/esm2020/utils/services/focus-trap.service.mjs +92 -0
  195. package/esm2020/utils/services/index.mjs +11 -0
  196. package/esm2020/utils/services/keyboard-support/keyboard-support.service.mjs +73 -0
  197. package/esm2020/utils/services/local-storage.service.mjs +38 -0
  198. package/esm2020/utils/services/observers/attribute.observer.mjs +81 -0
  199. package/esm2020/utils/services/resize-observer.service.mjs +94 -0
  200. package/esm2020/utils/services/rtl.service.mjs +29 -0
  201. package/esm2020/utils/services/tabbable-element.service.mjs +43 -0
  202. package/esm2020/utils/services/themes.service.mjs +133 -0
  203. package/esm2020/utils/tokens/module-deprecations.token.mjs +3 -0
  204. package/esm2020/utils/typecheck.mjs +75 -0
  205. package/esm2020/utils/utils.module.mjs +136 -0
  206. package/fesm2015/fundamental-ngx-cdk-data-source.mjs +378 -0
  207. package/fesm2015/fundamental-ngx-cdk-data-source.mjs.map +1 -0
  208. package/fesm2015/fundamental-ngx-cdk-forms.mjs +404 -0
  209. package/fesm2015/fundamental-ngx-cdk-forms.mjs.map +1 -0
  210. package/fesm2015/fundamental-ngx-cdk-utils.mjs +5767 -0
  211. package/fesm2015/fundamental-ngx-cdk-utils.mjs.map +1 -0
  212. package/fesm2015/fundamental-ngx-cdk.mjs +30 -0
  213. package/fesm2015/fundamental-ngx-cdk.mjs.map +1 -0
  214. package/fesm2020/fundamental-ngx-cdk-data-source.mjs +374 -0
  215. package/fesm2020/fundamental-ngx-cdk-data-source.mjs.map +1 -0
  216. package/fesm2020/fundamental-ngx-cdk-forms.mjs +399 -0
  217. package/fesm2020/fundamental-ngx-cdk-forms.mjs.map +1 -0
  218. package/fesm2020/fundamental-ngx-cdk-utils.mjs +5724 -0
  219. package/fesm2020/fundamental-ngx-cdk-utils.mjs.map +1 -0
  220. package/fesm2020/fundamental-ngx-cdk.mjs +30 -0
  221. package/fesm2020/fundamental-ngx-cdk.mjs.map +1 -0
  222. package/forms/README.md +7 -0
  223. package/forms/cva/cva-control.class.d.ts +26 -0
  224. package/forms/cva/cva.directive.d.ts +178 -0
  225. package/forms/forms.module.d.ts +7 -0
  226. package/forms/helpers/state.d.ts +3 -0
  227. package/forms/index.d.ts +12 -0
  228. package/forms/models/cva.d.ts +4 -0
  229. package/forms/models/form-error.d.ts +31 -0
  230. package/forms/models/form-field-control.d.ts +61 -0
  231. package/forms/models/form-field.d.ts +30 -0
  232. package/forms/models/form-state.d.ts +1 -0
  233. package/forms/models/select-item.d.ts +47 -0
  234. package/forms/tokens/form-field-control.token.d.ts +3 -0
  235. package/forms/tokens/form-field.token.d.ts +3 -0
  236. package/fundamental-ngx-cdk-v0.38.3-rc.4.tgz +0 -0
  237. package/fundamental-ngx.module.d.ts +9 -0
  238. package/index.d.ts +5 -0
  239. package/package.json +80 -0
  240. package/public_api.d.ts +4 -0
  241. package/utils/README.md +7 -0
  242. package/utils/abstract-fd-ngx-class.d.ts +27 -0
  243. package/utils/coercion/array.d.ts +2 -0
  244. package/utils/consts/error-messages.d.ts +3 -0
  245. package/utils/consts/index.d.ts +4 -0
  246. package/utils/consts/overflow-priority-score.d.ts +2 -0
  247. package/utils/consts/unicode-letters.regex.d.ts +7 -0
  248. package/utils/consts/unicode-numbers.regex.d.ts +6 -0
  249. package/utils/datatypes/color-accent.datatype.d.ts +1 -0
  250. package/utils/datatypes/hash.datatype.d.ts +3 -0
  251. package/utils/datatypes/index.d.ts +3 -0
  252. package/utils/datatypes/size.datatype.d.ts +1 -0
  253. package/utils/decorators/apply-css-class.decorator.d.ts +10 -0
  254. package/utils/decorators/apply-css-style.decorator.d.ts +10 -0
  255. package/utils/decorators/coerce-boolean.d.ts +4 -0
  256. package/utils/decorators/coerce-css-pixel.d.ts +1 -0
  257. package/utils/decorators/index.d.ts +5 -0
  258. package/utils/decorators/setter-alternator.d.ts +4 -0
  259. package/utils/deprecated-selector.class.d.ts +14 -0
  260. package/utils/directives/auto-complete/auto-complete.directive.d.ts +58 -0
  261. package/utils/directives/auto-complete/auto-complete.module.d.ts +7 -0
  262. package/utils/directives/clicked/clicked-behavior.module.d.ts +12 -0
  263. package/utils/directives/clicked/clicked-event.plugin.d.ts +22 -0
  264. package/utils/directives/clicked/clicked.directive.d.ts +21 -0
  265. package/utils/directives/clicked/fdk-clicked-provider.service.d.ts +24 -0
  266. package/utils/directives/clicked/index.d.ts +3 -0
  267. package/utils/directives/disabled/default-disabled-view-modifier.d.ts +9 -0
  268. package/utils/directives/disabled/disabled-behavior.directive.d.ts +35 -0
  269. package/utils/directives/disabled/disabled-behavior.interface.d.ts +7 -0
  270. package/utils/directives/disabled/disabled-behavior.module.d.ts +7 -0
  271. package/utils/directives/disabled/disabled-view-modifier.interface.d.ts +3 -0
  272. package/utils/directives/disabled/disabled.observer.d.ts +18 -0
  273. package/utils/directives/disabled/fdk-disabled-provider.service.d.ts +35 -0
  274. package/utils/directives/disabled/fdk-disabled.token.d.ts +3 -0
  275. package/utils/directives/disabled/index.d.ts +8 -0
  276. package/utils/directives/disabled/set-disabled-state.d.ts +4 -0
  277. package/utils/directives/focus-key-manager/focus-key-manager-helpers.module.d.ts +8 -0
  278. package/utils/directives/focus-key-manager/focus-key-manager-item.directive.d.ts +37 -0
  279. package/utils/directives/focus-key-manager/focus-key-manager-list.directive.d.ts +42 -0
  280. package/utils/directives/focus-key-manager/focus-key-manager.tokens.d.ts +3 -0
  281. package/utils/directives/focus-key-manager/index.d.ts +4 -0
  282. package/utils/directives/focusable-item/default-focusable-item-view-modifier.d.ts +11 -0
  283. package/utils/directives/focusable-item/fdk-focusable-item-provider.service.d.ts +43 -0
  284. package/utils/directives/focusable-item/focusable-item-view-modifier.interface.d.ts +3 -0
  285. package/utils/directives/focusable-item/focusable-item.directive.d.ts +37 -0
  286. package/utils/directives/focusable-item/focusable-item.module.d.ts +7 -0
  287. package/utils/directives/focusable-item/focusable.observer.d.ts +18 -0
  288. package/utils/directives/focusable-item/focusable.tokens.d.ts +2 -0
  289. package/utils/directives/focusable-item/index.d.ts +8 -0
  290. package/utils/directives/focusable-item/is-element-focusable-by-default.d.ts +4 -0
  291. package/utils/directives/focusable-item/set-focusable.d.ts +4 -0
  292. package/utils/directives/focusable-list/focusable-list.directive.d.ts +25 -0
  293. package/utils/directives/focusable-list/focusable-list.module.d.ts +8 -0
  294. package/utils/directives/focusable-list/focusable-list.service.d.ts +35 -0
  295. package/utils/directives/focusable-list/index.d.ts +3 -0
  296. package/utils/directives/ignore-click-on-selection/ignore-click-on-selection.directive.d.ts +22 -0
  297. package/utils/directives/ignore-click-on-selection/ignore-click-on-selection.module.d.ts +7 -0
  298. package/utils/directives/ignore-click-on-selection/tokens.d.ts +2 -0
  299. package/utils/directives/index.d.ts +30 -0
  300. package/utils/directives/initial-focus/initial-focus.directive.d.ts +43 -0
  301. package/utils/directives/initial-focus/initial-focus.module.d.ts +7 -0
  302. package/utils/directives/line-clamp/line-clamp.directive.d.ts +101 -0
  303. package/utils/directives/line-clamp/line-clamp.module.d.ts +7 -0
  304. package/utils/directives/only-digits/only-digits.directive.d.ts +44 -0
  305. package/utils/directives/only-digits/only-digits.module.d.ts +7 -0
  306. package/utils/directives/overflow-list/overflow-list-item.directive.d.ts +14 -0
  307. package/utils/directives/overflow-list/overflow-list.directive.d.ts +62 -0
  308. package/utils/directives/overflow-list/overflow-list.module.d.ts +8 -0
  309. package/utils/directives/readonly/default-readonly-view-modifier.d.ts +9 -0
  310. package/utils/directives/readonly/fdk-readonly-provider.service.d.ts +35 -0
  311. package/utils/directives/readonly/fdk-readonly.token.d.ts +2 -0
  312. package/utils/directives/readonly/index.d.ts +9 -0
  313. package/utils/directives/readonly/readonly-behavior.directive.d.ts +32 -0
  314. package/utils/directives/readonly/readonly-behavior.interface.d.ts +7 -0
  315. package/utils/directives/readonly/readonly-behavior.module.d.ts +7 -0
  316. package/utils/directives/readonly/readonly-view-modifier.interface.d.ts +3 -0
  317. package/utils/directives/readonly/readonly.observer.d.ts +18 -0
  318. package/utils/directives/readonly/set-readonly-state.d.ts +4 -0
  319. package/utils/directives/repeat/repeat.directive.d.ts +28 -0
  320. package/utils/directives/repeat/repeat.module.d.ts +7 -0
  321. package/utils/directives/resize/resize-handle.directive.d.ts +14 -0
  322. package/utils/directives/resize/resize.directive.d.ts +57 -0
  323. package/utils/directives/resize/resize.module.d.ts +8 -0
  324. package/utils/directives/selectable-list/index.d.ts +7 -0
  325. package/utils/directives/selectable-list/select-component-root.token.d.ts +10 -0
  326. package/utils/directives/selectable-list/selectable-item.directive.d.ts +47 -0
  327. package/utils/directives/selectable-list/selectable-item.token.d.ts +11 -0
  328. package/utils/directives/selectable-list/selectable-list.directive.d.ts +33 -0
  329. package/utils/directives/selectable-list/selectable-list.module.d.ts +8 -0
  330. package/utils/directives/selectable-list/selectable-list.tokens.d.ts +2 -0
  331. package/utils/directives/selectable-list/selection.service.d.ts +65 -0
  332. package/utils/directives/template/template.directive.d.ts +18 -0
  333. package/utils/directives/template/template.module.d.ts +7 -0
  334. package/utils/directives/truncate/truncate.directive.d.ts +51 -0
  335. package/utils/directives/truncate/truncate.module.d.ts +7 -0
  336. package/utils/drag-and-drop/dnd-item/dnd-item.directive.d.ts +86 -0
  337. package/utils/drag-and-drop/dnd-keyboard-group/dnd-keyboard-group.directive.d.ts +32 -0
  338. package/utils/drag-and-drop/dnd-keyboard-item/dnd-keyboard-item.directive.d.ts +61 -0
  339. package/utils/drag-and-drop/dnd-list/dnd-list.directive.d.ts +65 -0
  340. package/utils/drag-and-drop/dnd.interfaces.d.ts +33 -0
  341. package/utils/drag-and-drop/drag-and-drop.module.d.ts +12 -0
  342. package/utils/drag-and-drop/index.d.ts +7 -0
  343. package/utils/drag-and-drop/tokens.d.ts +3 -0
  344. package/utils/dynamic-component/dynamic-component-config.d.ts +6 -0
  345. package/utils/dynamic-component/dynamic-component-container.d.ts +19 -0
  346. package/utils/dynamic-component/dynamic-component-injector.d.ts +13 -0
  347. package/utils/dynamic-component/dynamic-component.service.d.ts +46 -0
  348. package/utils/dynamic-component/index.d.ts +4 -0
  349. package/utils/functions/consumer-provider-factory.d.ts +5 -0
  350. package/utils/functions/element-size.d.ts +12 -0
  351. package/utils/functions/get-document-font-size.d.ts +2 -0
  352. package/utils/functions/index.d.ts +12 -0
  353. package/utils/functions/intersection-observable.d.ts +8 -0
  354. package/utils/functions/is-compact-density.d.ts +7 -0
  355. package/utils/functions/key-util.d.ts +16 -0
  356. package/utils/functions/module-deprecations-provider.d.ts +5 -0
  357. package/utils/functions/parser-file-size.d.ts +2 -0
  358. package/utils/functions/random-color-accent.d.ts +3 -0
  359. package/utils/functions/resize-observable.d.ts +8 -0
  360. package/utils/functions/scroll.d.ts +7 -0
  361. package/utils/functions/uuidv4-generator.d.ts +2 -0
  362. package/utils/helpers/get-native-element.d.ts +13 -0
  363. package/utils/helpers/index.d.ts +2 -0
  364. package/utils/helpers/range-selector.d.ts +84 -0
  365. package/utils/index.d.ts +18 -0
  366. package/utils/interfaces/content-density.d.ts +1 -0
  367. package/utils/interfaces/css-class-builder.interface.d.ts +6 -0
  368. package/utils/interfaces/css-style-builder.interface.d.ts +5 -0
  369. package/utils/interfaces/has-element-ref.interface.d.ts +5 -0
  370. package/utils/interfaces/index.d.ts +7 -0
  371. package/utils/interfaces/keyboard-support-item.interface.d.ts +6 -0
  372. package/utils/interfaces/module-deprecation.interface.d.ts +8 -0
  373. package/utils/interfaces/require.interface.d.ts +6 -0
  374. package/utils/list-item/list-item-utils.d.ts +7 -0
  375. package/utils/models/nullable.d.ts +6 -0
  376. package/utils/pipes/displayFn.pipe.d.ts +8 -0
  377. package/utils/pipes/filter-strings.pipe.d.ts +16 -0
  378. package/utils/pipes/index.d.ts +9 -0
  379. package/utils/pipes/is-compact.pipe.d.ts +9 -0
  380. package/utils/pipes/pipe.module.d.ts +14 -0
  381. package/utils/pipes/safe.pipe.d.ts +12 -0
  382. package/utils/pipes/search-highlight.pipe.d.ts +8 -0
  383. package/utils/pipes/truncate.pipe.d.ts +8 -0
  384. package/utils/pipes/two-digits.pipe.d.ts +8 -0
  385. package/utils/pipes/value-by-path.pipe.d.ts +8 -0
  386. package/utils/services/content-density.service.d.ts +19 -0
  387. package/utils/services/destroyed.service.d.ts +11 -0
  388. package/utils/services/focus-trap.service.d.ts +43 -0
  389. package/utils/services/index.d.ts +10 -0
  390. package/utils/services/keyboard-support/keyboard-support.service.d.ts +34 -0
  391. package/utils/services/local-storage.service.d.ts +13 -0
  392. package/utils/services/observers/attribute.observer.d.ts +26 -0
  393. package/utils/services/resize-observer.service.d.ts +34 -0
  394. package/utils/services/rtl.service.d.ts +12 -0
  395. package/utils/services/tabbable-element.service.d.ts +12 -0
  396. package/utils/services/themes.service.d.ts +43 -0
  397. package/utils/tokens/module-deprecations.token.d.ts +3 -0
  398. package/utils/typecheck.d.ts +47 -0
  399. package/utils/utils.module.d.ts +23 -0
@@ -0,0 +1,33 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ export declare type LinkPosition = 'after' | 'before';
4
+ export interface ElementChord {
5
+ x: number;
6
+ y: number;
7
+ position: LinkPosition;
8
+ stickToPosition?: boolean;
9
+ width: number;
10
+ height: number;
11
+ }
12
+ export interface FdDropEvent<T> {
13
+ items: Array<T>;
14
+ replacedItemIndex: number;
15
+ draggedItemIndex: number;
16
+ }
17
+ export interface ElementPosition {
18
+ x: number;
19
+ y: number;
20
+ }
21
+ export interface DndItem {
22
+ elementRef: ElementRef;
23
+ getElementCoordinates: (isBefore: boolean, gridMode: boolean) => ElementChord;
24
+ removeLine: () => void;
25
+ removeReplaceIndicator: () => void;
26
+ createLine: (linkPosition: LinkPosition, gridMode: boolean) => void;
27
+ createReplaceIndicator: () => void;
28
+ moved: Observable<ElementPosition>;
29
+ released: Observable<void>;
30
+ started: Observable<void>;
31
+ listDraggable: boolean;
32
+ changeCDKDragState: () => void;
33
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dnd-item/dnd-item.directive";
3
+ import * as i2 from "./dnd-list/dnd-list.directive";
4
+ import * as i3 from "./dnd-keyboard-group/dnd-keyboard-group.directive";
5
+ import * as i4 from "./dnd-keyboard-item/dnd-keyboard-item.directive";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/cdk/drag-drop";
8
+ export declare class DragAndDropModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DragAndDropModule, [typeof i1.DndItemDirective, typeof i2.DndListDirective, typeof i3.DndKeyboardGroupDirective, typeof i4.DndKeyboardItemDirective], [typeof i5.CommonModule, typeof i6.DragDropModule], [typeof i1.DndItemDirective, typeof i2.DndListDirective, typeof i3.DndKeyboardGroupDirective, typeof i4.DndKeyboardItemDirective]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<DragAndDropModule>;
12
+ }
@@ -0,0 +1,7 @@
1
+ export * from './dnd-item/dnd-item.directive';
2
+ export * from './dnd-keyboard-group/dnd-keyboard-group.directive';
3
+ export * from './dnd-keyboard-item/dnd-keyboard-item.directive';
4
+ export * from './dnd-list/dnd-list.directive';
5
+ export * from './dnd.interfaces';
6
+ export * from './drag-and-drop.module';
7
+ export * from './tokens';
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const DND_ITEM: InjectionToken<unknown>;
3
+ export declare const DND_LIST: InjectionToken<unknown>;
@@ -0,0 +1,6 @@
1
+ export interface DynamicComponentConfig {
2
+ /** Data to pass along to the content through the dynamic component reference service. */
3
+ data?: any;
4
+ /** The container that the dynamic component is appended to. By default, it is appended to the body. */
5
+ container?: HTMLElement | 'body';
6
+ }
@@ -0,0 +1,19 @@
1
+ import { ComponentFactoryResolver, ComponentRef, ElementRef, EmbeddedViewRef, TemplateRef, Type, ViewContainerRef } from '@angular/core';
2
+ export declare abstract class DynamicComponentContainer<T = TemplateRef<any> | Type<any>> {
3
+ protected _elementRef: ElementRef;
4
+ protected _componentFactoryResolver: ComponentFactoryResolver;
5
+ /** @hidden */
6
+ abstract containerRef: ViewContainerRef;
7
+ /** @hidden */
8
+ childContent: T | undefined;
9
+ /** @hidden */
10
+ protected _componentRef: ComponentRef<any> | EmbeddedViewRef<any>;
11
+ /** @hidden */
12
+ constructor(_elementRef: ElementRef, _componentFactoryResolver: ComponentFactoryResolver);
13
+ /** @hidden Load received content */
14
+ protected abstract _loadContent(): void;
15
+ /** @hidden Load received content as component */
16
+ protected _createFromComponent(content: Type<any>): void;
17
+ /** @hidden Load received content as embedded view */
18
+ protected _createFromTemplate(content: TemplateRef<any>, context: any): void;
19
+ }
@@ -0,0 +1,13 @@
1
+ import { Injector } from '@angular/core';
2
+ export declare class DynamicComponentInjector implements Injector {
3
+ private _parentInjector;
4
+ private _additionalTokens;
5
+ /** @hidden */
6
+ constructor(_parentInjector: Injector, _additionalTokens: WeakMap<any, any>);
7
+ /**
8
+ *
9
+ * @param token
10
+ * @param notFoundValue
11
+ */
12
+ get(token: any, notFoundValue?: any): void;
13
+ }
@@ -0,0 +1,46 @@
1
+ import { ComponentFactoryResolver, ApplicationRef, Injector, ComponentRef, TemplateRef, Type, Compiler, NgModuleFactory, ViewContainerRef } from '@angular/core';
2
+ import { DynamicComponentConfig } from './dynamic-component-config';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Service used to dynamically generate components like dialogs/alerts/notifications
6
+ */
7
+ export declare class DynamicComponentService {
8
+ private readonly _componentFactoryResolver;
9
+ private readonly _applicationRef;
10
+ private readonly _injector;
11
+ private readonly _compiler;
12
+ /** @hidden */
13
+ constructor(_componentFactoryResolver: ComponentFactoryResolver, _applicationRef: ApplicationRef, _injector: Injector, _compiler: Compiler);
14
+ /**
15
+ * Function that creates dynamic component and injects services to allow communication between component and outside
16
+ * @param content Type of the component content
17
+ * @param componentType Type of component that should be rendered.
18
+ * @param config Configuration that will be passed to the component.
19
+ * @param inject enables to provide preconfigured component injector and dependencies
20
+ */
21
+ createDynamicComponent<T>(content: TemplateRef<any> | Type<any> | string | Record<string, any>, componentType: Type<T>, config: DynamicComponentConfig, inject?: {
22
+ injector?: Injector;
23
+ services?: any[];
24
+ }): ComponentRef<T>;
25
+ /**
26
+ * Function that creates dynamic component and injects services to allow communication between component and outside
27
+ * @param content Type of the component content
28
+ * @param moduleType Type of module that should be compiled.
29
+ * @param componentType Type of component that should be rendered.
30
+ * @param containerRef The container that the dynamic component is appended to.
31
+ * @param injector enables to provide preconfigured component injector
32
+ */
33
+ createDynamicModule<M, C>(content: TemplateRef<any> | Type<any> | string | Record<string, any>, moduleType: Type<M> | NgModuleFactory<M>, componentType: Type<C>, containerRef: ViewContainerRef, injector?: Injector): Promise<ComponentRef<C>>;
34
+ /** Function that destroys dynamic component */
35
+ destroyComponent(componentRef: ComponentRef<any>): void;
36
+ /** @hidden */
37
+ private _createDependencyMap;
38
+ /** @hidden */
39
+ private _attachToContainer;
40
+ /** @hidden */
41
+ private _createComponent;
42
+ /** @hidden */
43
+ private _passExternalContent;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentService, never>;
45
+ static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentService>;
46
+ }
@@ -0,0 +1,4 @@
1
+ export * from './dynamic-component-config';
2
+ export * from './dynamic-component-container';
3
+ export * from './dynamic-component-injector';
4
+ export * from './dynamic-component.service';
@@ -0,0 +1,5 @@
1
+ import { Injector, Provider } from '@angular/core';
2
+ /**
3
+ * Creates provider for ConsumerClass
4
+ */
5
+ export declare function consumerProviderFactory<T = any>(ConsumerClass: new (injector: Injector, additionalConfig: Record<any, any> | undefined) => T, providedConfiguration?: Record<any, any>): Provider;
@@ -0,0 +1,12 @@
1
+ import { ElementRef } from '@angular/core';
2
+ export declare const pxToNum: (pixels: string) => number;
3
+ export declare const toNativeElement: (element: HTMLElement | ElementRef) => HTMLElement;
4
+ /** Return elements capacity (width subtract by element padding)
5
+ * @param element - HTMLelement or element reference
6
+ * */
7
+ export declare function getElementCapacity(element: HTMLElement | ElementRef): number;
8
+ /** Return elements width
9
+ * @param element - HTMLelement or element reference
10
+ * @param withMargin - weather to add element margins to width
11
+ * */
12
+ export declare function getElementWidth(element: HTMLElement | ElementRef, withMargin?: boolean): number;
@@ -0,0 +1,2 @@
1
+ /** Get document font size in pixels. */
2
+ export declare function getDocumentFontSize(): number;
@@ -0,0 +1,12 @@
1
+ export * from './key-util';
2
+ export * from './element-size';
3
+ export * from './uuidv4-generator';
4
+ export * from './parser-file-size';
5
+ export * from './scroll';
6
+ export * from './random-color-accent';
7
+ export * from './resize-observable';
8
+ export * from './intersection-observable';
9
+ export * from './is-compact-density';
10
+ export * from './module-deprecations-provider';
11
+ export * from './consumer-provider-factory';
12
+ export * from './get-document-font-size';
@@ -0,0 +1,8 @@
1
+ import { Observable } from 'rxjs';
2
+ /**
3
+ * RxJS wrapper for IntersectionObserver class.
4
+ * @param target HTML element to spy on.
5
+ * @param options @see {IntersectionObserverInit}
6
+ * @returns {Observable} with observer entries.
7
+ */
8
+ export declare function intersectionObservable(target: Element, options?: IntersectionObserverInit): Observable<IntersectionObserverEntry[]>;
@@ -0,0 +1,7 @@
1
+ import { ContentDensity } from '../interfaces/content-density';
2
+ /** Determines whether provided value is valid content density */
3
+ export declare function isValidContentDensity(size: any): size is ContentDensity;
4
+ /**
5
+ * Determines if "compact" styles should be applied based on provided content density
6
+ */
7
+ export declare function isCompactDensity(size: ContentDensity): boolean;
@@ -0,0 +1,16 @@
1
+ export declare class KeyUtil {
2
+ /**
3
+ * Function used to unify key identification across different browsers using KeyCodes
4
+ *
5
+ * @param event - KeyboardEvent
6
+ * @param keyCode - event.key name matching W3C specification / (ASSCI char. codes)
7
+ * */
8
+ static isKeyCode(event: KeyboardEvent, keyCode: number | number[]): boolean;
9
+ /**
10
+ * Function used to unify key identification across different browsers
11
+ *
12
+ * @param event - KeyboardEvent
13
+ * @param keyType - Type of key
14
+ * */
15
+ static isKeyType(event: KeyboardEvent, keyType: 'alphabetical' | 'numeric' | 'control'): boolean;
16
+ }
@@ -0,0 +1,5 @@
1
+ import { FactorySansProvider, Provider } from '@angular/core';
2
+ /** Module deprecations provider */
3
+ export declare function moduleDeprecationsProvider(classRef: any): Provider;
4
+ /** Module deprecations provider factory */
5
+ export declare function moduleDeprecationsFactory(factory: FactorySansProvider): Provider;
@@ -0,0 +1,2 @@
1
+ /** Parse file size to bytes */
2
+ export declare function parserFileSize(fileSize: string): number;
@@ -0,0 +1,3 @@
1
+ import { ColorAccent } from '../datatypes';
2
+ /** Get random number from 1 to 10. */
3
+ export declare function getRandomColorAccent(): ColorAccent;
@@ -0,0 +1,8 @@
1
+ import { Observable } from 'rxjs';
2
+ /**
3
+ * RxJS wrapper for ResizeObserver class.
4
+ * @param target HTML element to spy on.
5
+ * @param options @see {ResizeObserverOptions}
6
+ * @returns {Observable} with observer entries.
7
+ */
8
+ export declare function resizeObservable(target: Element, options?: ResizeObserverOptions): Observable<ResizeObserverEntry[]>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Function used to scroll specified element by some distance
3
+ *
4
+ * @param containerElement - Container element scrolled
5
+ * @param distanceToScroll - Distance of scroll in px
6
+ * */
7
+ export declare function scrollTop(containerElement: Element, distanceToScroll: number): void;
@@ -0,0 +1,2 @@
1
+ /** Generate a UUID v4 */
2
+ export declare function uuidv4(): string;
@@ -0,0 +1,13 @@
1
+ import { ElementRef } from '@angular/core';
2
+ /**
3
+ * Retrieves native element from ElementRef.
4
+ */
5
+ export declare function getNativeElement<T extends Element = HTMLElement>(element: {
6
+ elementRef(): ElementRef<T>;
7
+ } | T | ElementRef<T>): T;
8
+ /**
9
+ * Checks whether object has element reference in it.
10
+ */
11
+ export declare function isHasElementRef<T extends Element = HTMLElement>(something: any): something is {
12
+ elementRef(): ElementRef<T>;
13
+ };
@@ -0,0 +1,2 @@
1
+ export * from './range-selector';
2
+ export * from './get-native-element';
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Utility type, that allows to track and select ranges of elements while using multi-selection.
3
+ *
4
+ * @usage
5
+ * Imagine we have a simple list of checkboxes:
6
+ * ```html
7
+ * <input
8
+ * #checkboxInput
9
+ * *ngFor="let o of options; let idx = index"
10
+ * type="checkbox"
11
+ * [checked]="selectionModel.checked(o)"
12
+ * (click)="toggle(idx, $event)"
13
+ * >
14
+ * ```
15
+ * With the given layout the logic should be as follows:
16
+ * ```typescript
17
+ * export class YourComponent {
18
+ * options = ['a', 'b', 'c'];
19
+ * readonly selectionModel = new SelectionModel(true);
20
+ *
21
+ * private readonly _rangeSelector = new RangeSelector();
22
+ *
23
+ *
24
+ * toggle(idx: number, event: PointerEvent): void {
25
+ * // getting the toggled value of the checkbox
26
+ * const toggledSelection = event.target.value;
27
+ *
28
+ * // registering the selection of current checkbox
29
+ * this._rangeSelector.onRangeElementToggled(idx, event);
30
+ *
31
+ * // Apply value to each element in range.
32
+ * // If checkbox was toggled without shift pressed or without previously selected one,
33
+ * // this method will select only it.
34
+ * this._rangeSelector.applyValueToEachInRange(idx => {
35
+ * if (toggledSelection) {
36
+ * this.selectionModel.select(options[idx]);
37
+ * } else {
38
+ * this.selectionModel.deselect(options[idx]);
39
+ * }
40
+ * });
41
+ * }
42
+ * }
43
+ * ```
44
+ */
45
+ export declare class RangeSelector {
46
+ /** @hidden */
47
+ private _previousSelectedIndex;
48
+ /** @hidden */
49
+ private _state;
50
+ /**
51
+ * Last registered selection state (either multiple or single).
52
+ * Is updated on each `onRangeElementClicked` invokation. Will be `null` initially or once `reset()` is called.
53
+ */
54
+ get lastRangeSelectionState(): RangeSelectionState | null;
55
+ /**
56
+ * The method that should be used to register each checkbox toggle.
57
+ * Accepts two arguments: `index` and `event`. If none provided, will reset existing state.
58
+ * Otherwise will register current index as last checked.
59
+ *
60
+ * If toggling was done with "shift" pressed and there's a previously registered index, will register a range selection.
61
+ * At the same time if checkbox was toggled without shift pressed or without previously selected one, this method will select only it.
62
+ *
63
+ * After calling this method it's recommended to use `applyValueToEachInRange` to actually toggle each checkbox in range.
64
+ *
65
+ * See usage example on this class itself.
66
+ */
67
+ onRangeElementToggled(index?: number, event?: KeyboardEvent | MouseEvent | TouchEvent): RangeSelectionState | null;
68
+ /**
69
+ * Allows to apply selection to each item in selection range.
70
+ * Accepts a function to apply selection to each item by registered index.
71
+ *
72
+ * See usage example on this class itself.
73
+ */
74
+ applyValueToEachInRange(selectionMethod: (index: number) => void): void;
75
+ /** Resets selection state. Useful when the list of selectable items is changed (e.g. by filtering, sorting, page change) */
76
+ reset(): void;
77
+ /** @hidden */
78
+ private _isNonNegativeInteger;
79
+ }
80
+ export interface RangeSelectionState {
81
+ isRangeSelection: boolean;
82
+ from: number;
83
+ to: number;
84
+ }
@@ -0,0 +1,18 @@
1
+ export * from './utils.module';
2
+ export * from './typecheck';
3
+ export * from './coercion/array';
4
+ export * from './models/nullable';
5
+ export * from './consts';
6
+ export * from './datatypes';
7
+ export * from './decorators';
8
+ export * from './directives';
9
+ export * from './drag-and-drop';
10
+ export * from './dynamic-component';
11
+ export * from './functions';
12
+ export * from './helpers';
13
+ export * from './interfaces';
14
+ export * from './list-item/list-item-utils';
15
+ export * from './services';
16
+ export * from './abstract-fd-ngx-class';
17
+ export * from './pipes';
18
+ export * from './tokens/module-deprecations.token';
@@ -0,0 +1 @@
1
+ export declare type ContentDensity = 'cozy' | 'condensed' | 'compact';
@@ -0,0 +1,6 @@
1
+ import { Nullable } from '../models/nullable';
2
+ import { HasElementRef } from './has-element-ref.interface';
3
+ export interface CssClassBuilder extends HasElementRef {
4
+ class: Nullable<string>;
5
+ buildComponentCssClass(): string[];
6
+ }
@@ -0,0 +1,5 @@
1
+ import { Hash } from '../datatypes';
2
+ import { HasElementRef } from './has-element-ref.interface';
3
+ export interface CssStyleBuilder extends HasElementRef {
4
+ buildComponentCssStyle(): Hash<number | string>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { ElementRef } from '@angular/core';
2
+ export interface HasElementRef<ElementType extends Element = HTMLElement> {
3
+ elementRef(): ElementRef<ElementType>;
4
+ }
5
+ export declare const ELEMENT_REF_EXCEPTION = "HasElementRef interface has to be implemented";
@@ -0,0 +1,7 @@
1
+ export * from './content-density';
2
+ export * from './css-class-builder.interface';
3
+ export * from './css-style-builder.interface';
4
+ export * from './has-element-ref.interface';
5
+ export * from './keyboard-support-item.interface';
6
+ export * from './module-deprecation.interface';
7
+ export * from './require.interface';
@@ -0,0 +1,6 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FocusableOption } from '@angular/cdk/a11y';
3
+ export interface KeyboardSupportItemInterface extends FocusableOption {
4
+ keyDown: EventEmitter<KeyboardEvent>;
5
+ click(): void;
6
+ }
@@ -0,0 +1,8 @@
1
+ export interface ModuleDeprecation {
2
+ alternative: {
3
+ name: string;
4
+ link: string | string[];
5
+ fragment?: string;
6
+ };
7
+ message: string;
8
+ }
@@ -0,0 +1,6 @@
1
+ export declare type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
2
+ [K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
3
+ }[Keys];
4
+ export declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
5
+ [K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, undefined>>;
6
+ }[Keys];
@@ -0,0 +1,7 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const LIST_ITEM_COMPONENT: InjectionToken<string[]>;
3
+ export interface ListItemInterface {
4
+ selected: boolean;
5
+ link: boolean;
6
+ focus(): void;
7
+ }
@@ -0,0 +1,6 @@
1
+ /** Makes the provided type nullable */
2
+ export declare type Nullable<T> = T | null | undefined;
3
+ /** Makes each property of an object optional and nullable */
4
+ export declare type NullableObject<T> = {
5
+ [P in keyof T]?: Nullable<T[P]>;
6
+ };
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DisplayFnPipe implements PipeTransform {
4
+ /** Transform value with display function. */
5
+ transform(value: any, displayFn: any, ...args: any): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DisplayFnPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<DisplayFnPipe, "displayFnPipe", false>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { Nullable } from '../models/nullable';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FilterStringsPipe implements PipeTransform {
5
+ /**
6
+ * Performs filtering.
7
+ * @param values Array of items.
8
+ * @param params Search parameters.
9
+ */
10
+ transform(values: any[] | undefined, params: {
11
+ searchTerm: Nullable<string>;
12
+ key: string;
13
+ }): any[];
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterStringsPipe, never>;
15
+ static ɵpipe: i0.ɵɵPipeDeclaration<FilterStringsPipe, "fdFilterStrings", false>;
16
+ }
@@ -0,0 +1,9 @@
1
+ export * from './displayFn.pipe';
2
+ export * from './filter-strings.pipe';
3
+ export * from './is-compact.pipe';
4
+ export * from './pipe.module';
5
+ export * from './safe.pipe';
6
+ export * from './search-highlight.pipe';
7
+ export * from './truncate.pipe';
8
+ export * from './two-digits.pipe';
9
+ export * from './value-by-path.pipe';
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ContentDensity } from '../interfaces/content-density';
3
+ import * as i0 from "@angular/core";
4
+ export declare class IsCompactDensityPipe implements PipeTransform {
5
+ /** Check if the content density is compact. */
6
+ transform(size: ContentDensity): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsCompactDensityPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsCompactDensityPipe, "isCompactDensity", false>;
9
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./displayFn.pipe";
3
+ import * as i2 from "./search-highlight.pipe";
4
+ import * as i3 from "./two-digits.pipe";
5
+ import * as i4 from "./safe.pipe";
6
+ import * as i5 from "./value-by-path.pipe";
7
+ import * as i6 from "./is-compact.pipe";
8
+ import * as i7 from "./truncate.pipe";
9
+ import * as i8 from "./filter-strings.pipe";
10
+ export declare class PipeModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<PipeModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PipeModule, [typeof i1.DisplayFnPipe, typeof i2.SearchHighlightPipe, typeof i3.TwoDigitsPipe, typeof i4.SafePipe, typeof i5.ValueByPathPipe, typeof i6.IsCompactDensityPipe, typeof i7.TruncatePipe, typeof i8.FilterStringsPipe], never, [typeof i1.DisplayFnPipe, typeof i2.SearchHighlightPipe, typeof i3.TwoDigitsPipe, typeof i4.SafePipe, typeof i5.ValueByPathPipe, typeof i6.IsCompactDensityPipe, typeof i7.TruncatePipe, typeof i8.FilterStringsPipe]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<PipeModule>;
14
+ }
@@ -0,0 +1,12 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SafePipe implements PipeTransform {
5
+ protected sanitizer: DomSanitizer;
6
+ /** @hidden */
7
+ constructor(sanitizer: DomSanitizer);
8
+ /** Sanitize HTML string. */
9
+ transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
11
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", false>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SearchHighlightPipe implements PipeTransform {
4
+ /** Highlight search term in string. */
5
+ transform(value: string, args: string, active?: boolean, includeSpans?: boolean): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchHighlightPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<SearchHighlightPipe, "highlight", false>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TruncatePipe implements PipeTransform {
4
+ /** Truncate string to given length. */
5
+ transform(value: string, limit?: number): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", false>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TwoDigitsPipe implements PipeTransform {
4
+ /** Transform number to two digits. */
5
+ transform(value: number, enable?: boolean): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TwoDigitsPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<TwoDigitsPipe, "twoDigits", false>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ValueByPathPipe implements PipeTransform {
4
+ /** Get value by path. */
5
+ transform(value: any, key: string): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValueByPathPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<ValueByPathPipe, "valueByPath", false>;
8
+ }
@@ -0,0 +1,19 @@
1
+ import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { ContentDensity } from '../interfaces/content-density';
3
+ import * as i0 from "@angular/core";
4
+ export declare const DEFAULT_CONTENT_DENSITY: ContentDensity;
5
+ /**
6
+ * Service taking care of ContentDensity
7
+ */
8
+ export declare class ContentDensityService {
9
+ /** Content Density BehaviourSubject */
10
+ readonly contentDensity: BehaviorSubject<ContentDensity>;
11
+ /** @hidden */
12
+ constructor();
13
+ /** @hidden */
14
+ get _contentDensityListener(): Observable<ContentDensity>;
15
+ /** @hidden */
16
+ get _isCompactDensity(): Observable<boolean>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentDensityService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContentDensityService>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { ReplaySubject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DestroyedService extends ReplaySubject<void> implements OnDestroy {
5
+ /** @hidden */
6
+ constructor();
7
+ /** @hidden */
8
+ ngOnDestroy(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DestroyedService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<DestroyedService>;
11
+ }