@bravobit/bb-foundation 0.54.4 → 0.55.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 (302) hide show
  1. package/auth/index.d.ts +267 -5
  2. package/collections/index.d.ts +350 -5
  3. package/combobox/index.d.ts +58 -5
  4. package/dashboard/index.d.ts +104 -5
  5. package/dialog/index.d.ts +168 -5
  6. package/elements/index.d.ts +838 -5
  7. package/fesm2022/bravobit-bb-foundation-auth.mjs +22 -22
  8. package/fesm2022/bravobit-bb-foundation-auth.mjs.map +1 -1
  9. package/fesm2022/bravobit-bb-foundation-collections.mjs +44 -44
  10. package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
  11. package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
  12. package/fesm2022/bravobit-bb-foundation-combobox.mjs.map +1 -1
  13. package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
  14. package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
  15. package/fesm2022/bravobit-bb-foundation-dialog.mjs +33 -33
  16. package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
  17. package/fesm2022/bravobit-bb-foundation-elements.mjs +102 -102
  18. package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
  19. package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
  20. package/fesm2022/bravobit-bb-foundation-http.mjs.map +1 -1
  21. package/fesm2022/bravobit-bb-foundation-localize.mjs +18 -18
  22. package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
  23. package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
  24. package/fesm2022/bravobit-bb-foundation-masking.mjs.map +1 -1
  25. package/fesm2022/bravobit-bb-foundation-notifications.mjs +15 -15
  26. package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
  27. package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
  28. package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
  29. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +11 -12
  30. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
  31. package/fesm2022/bravobit-bb-foundation-select.mjs +21 -21
  32. package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
  33. package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
  34. package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
  35. package/fesm2022/bravobit-bb-foundation-table.mjs +22 -22
  36. package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
  37. package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
  38. package/fesm2022/bravobit-bb-foundation-tooltip.mjs.map +1 -1
  39. package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
  40. package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
  41. package/fesm2022/bravobit-bb-foundation.mjs +25 -25
  42. package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
  43. package/http/index.d.ts +78 -5
  44. package/index.d.ts +215 -5
  45. package/localize/index.d.ts +546 -5
  46. package/masking/index.d.ts +104 -5
  47. package/notifications/index.d.ts +78 -5
  48. package/package.json +19 -19
  49. package/permissions/index.d.ts +89 -5
  50. package/recaptcha/index.d.ts +92 -5
  51. package/rxjs/index.d.ts +19 -5
  52. package/select/index.d.ts +129 -5
  53. package/storage/index.d.ts +109 -5
  54. package/table/index.d.ts +197 -5
  55. package/tooltip/index.d.ts +45 -5
  56. package/utils/index.d.ts +66 -5
  57. package/auth/lib/acting.interceptor.d.ts +0 -9
  58. package/auth/lib/acting.service.d.ts +0 -17
  59. package/auth/lib/auth.config.d.ts +0 -3
  60. package/auth/lib/auth.interceptor.d.ts +0 -20
  61. package/auth/lib/auth.module.d.ts +0 -10
  62. package/auth/lib/auth.service.d.ts +0 -51
  63. package/auth/lib/auth.session.d.ts +0 -50
  64. package/auth/lib/directives/anonymous.directive.d.ts +0 -20
  65. package/auth/lib/directives/authenticated.directive.d.ts +0 -20
  66. package/auth/lib/guards/anonymous.guard.d.ts +0 -2
  67. package/auth/lib/guards/authenticated.guard.d.ts +0 -2
  68. package/auth/lib/helpers/jwt.helper.d.ts +0 -8
  69. package/auth/lib/interfaces/config.interface.d.ts +0 -27
  70. package/auth/lib/interfaces/provider.interface.d.ts +0 -23
  71. package/auth/lib/interfaces/token.interface.d.ts +0 -11
  72. package/auth/lib/providers/email.provider.d.ts +0 -9
  73. package/auth/lib/providers/verify.provider.d.ts +0 -9
  74. package/auth/lib/tokens/use-authorization.token.d.ts +0 -2
  75. package/auth/public_api.d.ts +0 -17
  76. package/collections/lib/classes/array.collection.d.ts +0 -17
  77. package/collections/lib/collection.d.ts +0 -40
  78. package/collections/lib/collections.config.d.ts +0 -3
  79. package/collections/lib/collections.interfaces.d.ts +0 -10
  80. package/collections/lib/collections.module.d.ts +0 -19
  81. package/collections/lib/components/collections-actions/collections-actions.component.d.ts +0 -13
  82. package/collections/lib/components/collections-grid/collections-grid.component.d.ts +0 -18
  83. package/collections/lib/components/collections-pager/collections-pager.component.d.ts +0 -38
  84. package/collections/lib/components/collections-table/collections-table.component.d.ts +0 -26
  85. package/collections/lib/components/collections-table-label/collections-table-label.component.d.ts +0 -11
  86. package/collections/lib/components/collections-table-sorting/collections-table-sorting.component.d.ts +0 -18
  87. package/collections/lib/components/collections-viewer/collections-viewer.component.d.ts +0 -16
  88. package/collections/lib/directives/collections-data-row.directive.d.ts +0 -14
  89. package/collections/lib/directives/collections-data.directive.d.ts +0 -14
  90. package/collections/lib/directives/collections-empty.directive.d.ts +0 -14
  91. package/collections/lib/directives/collections-error.directive.d.ts +0 -14
  92. package/collections/lib/directives/collections-initial.directive.d.ts +0 -11
  93. package/collections/lib/directives/collections-item.directive.d.ts +0 -14
  94. package/collections/lib/interfaces/array-collection.interface.d.ts +0 -6
  95. package/collections/lib/interfaces/collection.interface.d.ts +0 -32
  96. package/collections/lib/providers/api-collection.provider.d.ts +0 -19
  97. package/collections/lib/providers/collection.provider.d.ts +0 -9
  98. package/collections/lib/providers/local-collection.provider.d.ts +0 -16
  99. package/collections/public_api.d.ts +0 -23
  100. package/combobox/combobox/combobox-container.directive.d.ts +0 -28
  101. package/combobox/combobox/combobox.component.d.ts +0 -37
  102. package/combobox/combobox-label.directive.d.ts +0 -5
  103. package/combobox/combobox-option.directive.d.ts +0 -7
  104. package/combobox/combobox-panel/combobox-panel.animation.d.ts +0 -1
  105. package/combobox/combobox-panel/combobox-panel.component.d.ts +0 -18
  106. package/combobox/combobox.interface.d.ts +0 -8
  107. package/combobox/public_api.d.ts +0 -3
  108. package/dashboard/lib/dashboard/dashboard.component.d.ts +0 -17
  109. package/dashboard/lib/dashboard-header/dashboard-header.component.d.ts +0 -9
  110. package/dashboard/lib/dashboard-menu/dashboard-menu.component.d.ts +0 -9
  111. package/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.d.ts +0 -8
  112. package/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.d.ts +0 -19
  113. package/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.d.ts +0 -22
  114. package/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.d.ts +0 -16
  115. package/dashboard/lib/dashboard.module.d.ts +0 -13
  116. package/dashboard/public_api.d.ts +0 -8
  117. package/dialog/lib/dialog-actions/dialog-actions.component.d.ts +0 -5
  118. package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +0 -22
  119. package/dialog/lib/dialog-container/dialog-container.component.d.ts +0 -23
  120. package/dialog/lib/dialog-header/dialog-header.component.d.ts +0 -13
  121. package/dialog/lib/dialog-modal/dialog-modal.component.d.ts +0 -16
  122. package/dialog/lib/dialog-overlay/dialog-overlay.component.d.ts +0 -19
  123. package/dialog/lib/dialog.config.d.ts +0 -3
  124. package/dialog/lib/dialog.insertion.d.ts +0 -7
  125. package/dialog/lib/dialog.interfaces.d.ts +0 -21
  126. package/dialog/lib/dialog.module.d.ts +0 -17
  127. package/dialog/lib/dialog.ref.d.ts +0 -8
  128. package/dialog/lib/dialog.service.d.ts +0 -15
  129. package/dialog/lib/directives/confirm.directive.d.ts +0 -14
  130. package/dialog/public_api.d.ts +0 -10
  131. package/elements/lib/avatar/avatar.component.d.ts +0 -31
  132. package/elements/lib/button/button.component.d.ts +0 -21
  133. package/elements/lib/checkbox/checkbox.component.d.ts +0 -36
  134. package/elements/lib/checkbox-group/checkbox-group.component.d.ts +0 -13
  135. package/elements/lib/color-picker/color-picker.component.d.ts +0 -18
  136. package/elements/lib/color-slider/color-slider.component.d.ts +0 -24
  137. package/elements/lib/date-picker/date-picker.component.d.ts +0 -77
  138. package/elements/lib/directives/color-picker.directive.d.ts +0 -27
  139. package/elements/lib/directives/extra-error-controls.directive.d.ts +0 -13
  140. package/elements/lib/directives/file-drop.directive.d.ts +0 -13
  141. package/elements/lib/directives/form-submit.directive.d.ts +0 -17
  142. package/elements/lib/directives/form-submitter.directive.d.ts +0 -9
  143. package/elements/lib/directives/image-upload.directive.d.ts +0 -25
  144. package/elements/lib/directives/input.directive.d.ts +0 -16
  145. package/elements/lib/elements.config.d.ts +0 -3
  146. package/elements/lib/elements.inject.d.ts +0 -3
  147. package/elements/lib/elements.interfaces.d.ts +0 -41
  148. package/elements/lib/elements.module.d.ts +0 -39
  149. package/elements/lib/file-picker/file-picker.component.d.ts +0 -57
  150. package/elements/lib/form-control/form-control.component.d.ts +0 -20
  151. package/elements/lib/form-error/form-error.component.d.ts +0 -36
  152. package/elements/lib/form-group/form-group.component.d.ts +0 -7
  153. package/elements/lib/icon/icon.component.d.ts +0 -26
  154. package/elements/lib/image-control/image-control.component.d.ts +0 -44
  155. package/elements/lib/image-picker/image-picker.component.d.ts +0 -39
  156. package/elements/lib/multi-file-control/multi-file-control.component.d.ts +0 -72
  157. package/elements/lib/pincode-control/pincode-control.component.d.ts +0 -65
  158. package/elements/lib/pipes/date.pipe.d.ts +0 -9
  159. package/elements/lib/pipes/file-data-url.pipe.d.ts +0 -12
  160. package/elements/lib/pipes/file-image.pipe.d.ts +0 -14
  161. package/elements/lib/pipes/file-size.pipe.d.ts +0 -7
  162. package/elements/lib/pipes/relative-time.pipe.d.ts +0 -19
  163. package/elements/lib/radio-button/radio-button.component.d.ts +0 -16
  164. package/elements/lib/radio-group/radio-group.component.d.ts +0 -38
  165. package/elements/lib/spinner/spinner.component.d.ts +0 -9
  166. package/elements/public_api.d.ts +0 -35
  167. package/http/lib/classes/http.config.d.ts +0 -9
  168. package/http/lib/classes/http.error.d.ts +0 -7
  169. package/http/lib/http.config.d.ts +0 -5
  170. package/http/lib/http.interfaces.d.ts +0 -21
  171. package/http/lib/http.module.d.ts +0 -11
  172. package/http/lib/interceptors/base-url.interceptor.d.ts +0 -15
  173. package/http/lib/interceptors/error.interceptor.d.ts +0 -9
  174. package/http/public_api.d.ts +0 -7
  175. package/lib/core/colors/hex.d.ts +0 -18
  176. package/lib/core/colors/hsl.d.ts +0 -7
  177. package/lib/core/colors/hsv.d.ts +0 -13
  178. package/lib/core/colors/rgb.d.ts +0 -7
  179. package/lib/core/functions/array.utils.d.ts +0 -1
  180. package/lib/core/functions/date.utils.d.ts +0 -4
  181. package/lib/core/functions/file.utils.d.ts +0 -3
  182. package/lib/core/functions/format.utils.d.ts +0 -1
  183. package/lib/core/functions/password.utils.d.ts +0 -1
  184. package/lib/core/functions/route-cache.utils.d.ts +0 -10
  185. package/lib/core/functions/utils.d.ts +0 -1
  186. package/lib/core/miscellaneous/coercion.d.ts +0 -2
  187. package/lib/core/miscellaneous/regex.d.ts +0 -5
  188. package/lib/core/miscellaneous/validator.d.ts +0 -13
  189. package/lib/core/services/exif.service.d.ts +0 -12
  190. package/lib/core/services/file-loader.service.d.ts +0 -13
  191. package/lib/core/services/files.service.d.ts +0 -15
  192. package/lib/core/services/image-converter.service.d.ts +0 -17
  193. package/lib/core/services/languages.service.d.ts +0 -15
  194. package/lib/core/services/network.service.d.ts +0 -13
  195. package/lib/core/services/patch.service.d.ts +0 -14
  196. package/lib/core/tokens/accept-language.token.d.ts +0 -2
  197. package/lib/core/tokens/cookie.token.d.ts +0 -2
  198. package/lib/core/tokens/global-focus-mode.token.d.ts +0 -4
  199. package/lib/core/tokens/location.token.d.ts +0 -2
  200. package/lib/core/tokens/navigator.token.d.ts +0 -2
  201. package/lib/core/tokens/window.token.d.ts +0 -2
  202. package/localize/lib/dictionary/dictionary.class.d.ts +0 -28
  203. package/localize/lib/dictionary/dictionary.context.d.ts +0 -7
  204. package/localize/lib/dictionary/dictionary.data.d.ts +0 -7
  205. package/localize/lib/functions/date.function.d.ts +0 -5
  206. package/localize/lib/functions/lowercase.function.d.ts +0 -5
  207. package/localize/lib/functions/uppercase.function.d.ts +0 -5
  208. package/localize/lib/handlers/missing.handler.d.ts +0 -6
  209. package/localize/lib/interfaces/config.interfaces.d.ts +0 -18
  210. package/localize/lib/interfaces/functions.interfaces.d.ts +0 -7
  211. package/localize/lib/interfaces/handlers.interfaces.d.ts +0 -6
  212. package/localize/lib/interfaces/options.interfaces.d.ts +0 -11
  213. package/localize/lib/localizations/dutch.localization.d.ts +0 -74
  214. package/localize/lib/localizations/english.localization.d.ts +0 -74
  215. package/localize/lib/localizations/papiamento.localization.d.ts +0 -74
  216. package/localize/lib/localizations/spanish.localization.d.ts +0 -74
  217. package/localize/lib/localize.config.d.ts +0 -5
  218. package/localize/lib/localize.module.d.ts +0 -12
  219. package/localize/lib/localize.pipe.d.ts +0 -12
  220. package/localize/lib/localize.service.d.ts +0 -43
  221. package/localize/lib/localize.tokens.d.ts +0 -11
  222. package/localize/lib/transforms/abstract.transform.d.ts +0 -13
  223. package/localize/lib/transforms/interpolate.transform.d.ts +0 -13
  224. package/localize/lib/transforms/plural.transform.d.ts +0 -16
  225. package/localize/lib/transforms/reference.transform.d.ts +0 -9
  226. package/localize/lib/views/localize-string/localize-string.component.d.ts +0 -23
  227. package/localize/lib/views/localize-template.directive.d.ts +0 -9
  228. package/localize/public_api.d.ts +0 -26
  229. package/masking/lib/directives/currency-mask.directive.d.ts +0 -17
  230. package/masking/lib/directives/date-mask.directive.d.ts +0 -17
  231. package/masking/lib/directives/input-mask.directive.d.ts +0 -38
  232. package/masking/lib/input-mask.interface.d.ts +0 -19
  233. package/masking/lib/masking.module.d.ts +0 -9
  234. package/masking/lib/masking.service.d.ts +0 -12
  235. package/masking/public_api.d.ts +0 -6
  236. package/notifications/lib/notifications-item/notifications-item.component.d.ts +0 -33
  237. package/notifications/lib/notifications-list/notifications-list.component.d.ts +0 -18
  238. package/notifications/lib/notifications.animations.d.ts +0 -1
  239. package/notifications/lib/notifications.config.d.ts +0 -3
  240. package/notifications/lib/notifications.interfaces.d.ts +0 -36
  241. package/notifications/lib/notifications.module.d.ts +0 -9
  242. package/notifications/lib/notifications.service.d.ts +0 -30
  243. package/notifications/public_api.d.ts +0 -4
  244. package/permissions/lib/directives/permission.directive.d.ts +0 -27
  245. package/permissions/lib/guards/permission.guard.d.ts +0 -3
  246. package/permissions/lib/handlers/abstract.handler.d.ts +0 -4
  247. package/permissions/lib/handlers/local.handler.d.ts +0 -10
  248. package/permissions/lib/permissions.config.d.ts +0 -3
  249. package/permissions/lib/permissions.interface.d.ts +0 -13
  250. package/permissions/lib/permissions.module.d.ts +0 -10
  251. package/permissions/lib/permissions.service.d.ts +0 -23
  252. package/permissions/public_api.d.ts +0 -8
  253. package/public_api.d.ts +0 -27
  254. package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +0 -47
  255. package/recaptcha/lib/recaptcha-loader.service.d.ts +0 -19
  256. package/recaptcha/lib/recaptcha.config.d.ts +0 -3
  257. package/recaptcha/lib/recaptcha.interface.d.ts +0 -13
  258. package/recaptcha/lib/recaptcha.module.d.ts +0 -10
  259. package/recaptcha/public_api.d.ts +0 -5
  260. package/rxjs/lib/observables/get-control-value.observable.d.ts +0 -3
  261. package/rxjs/lib/observables/get-route-param.observable.d.ts +0 -3
  262. package/rxjs/lib/operators/combine-latest-map.operator.d.ts +0 -8
  263. package/rxjs/lib/operators/filter-nil.operator.d.ts +0 -1
  264. package/rxjs/public_api.d.ts +0 -4
  265. package/select/lib/select/select.component.d.ts +0 -94
  266. package/select/lib/select-label.directive.d.ts +0 -7
  267. package/select/lib/select-multi-label.directive.d.ts +0 -7
  268. package/select/lib/select-option-group.directive.d.ts +0 -7
  269. package/select/lib/select-option.directive.d.ts +0 -7
  270. package/select/lib/select.config.d.ts +0 -2
  271. package/select/lib/select.module.d.ts +0 -11
  272. package/select/public_api.d.ts +0 -7
  273. package/storage/lib/interfaces/attributes.interface.d.ts +0 -13
  274. package/storage/lib/interfaces/memory.interface.d.ts +0 -7
  275. package/storage/lib/interfaces/strategy.interface.d.ts +0 -17
  276. package/storage/lib/storage.service.d.ts +0 -25
  277. package/storage/lib/strategies/cookie-storage.strategy.d.ts +0 -20
  278. package/storage/lib/strategies/memory-storage.strategy.d.ts +0 -11
  279. package/storage/lib/strategies/polyfill-storage.strategy.d.ts +0 -15
  280. package/storage/public_api.d.ts +0 -7
  281. package/table/lib/components/table/table.component.d.ts +0 -57
  282. package/table/lib/components/table-cell/table-cell.component.d.ts +0 -5
  283. package/table/lib/components/table-header-cell/table-header-cell.component.d.ts +0 -26
  284. package/table/lib/components/table-pager/table-pager.component.d.ts +0 -40
  285. package/table/lib/data/datasource.data.d.ts +0 -14
  286. package/table/lib/data/generic.data.d.ts +0 -25
  287. package/table/lib/interfaces/datasource.interface.d.ts +0 -17
  288. package/table/lib/interfaces/table.interfaces.d.ts +0 -11
  289. package/table/lib/table.config.d.ts +0 -3
  290. package/table/lib/table.module.d.ts +0 -10
  291. package/table/public_api.d.ts +0 -10
  292. package/tooltip/lib/tooltip-container/tooltip-container.component.d.ts +0 -9
  293. package/tooltip/lib/tooltip.directive.d.ts +0 -23
  294. package/tooltip/lib/tooltip.interfaces.d.ts +0 -4
  295. package/tooltip/lib/tooltip.module.d.ts +0 -7
  296. package/tooltip/public_api.d.ts +0 -4
  297. package/utils/lib/directives/autosize.directive.d.ts +0 -19
  298. package/utils/lib/directives/focus-trap.directive.d.ts +0 -14
  299. package/utils/lib/directives/focus.directive.d.ts +0 -16
  300. package/utils/lib/directives/template.directive.d.ts +0 -10
  301. package/utils/lib/utils.module.d.ts +0 -10
  302. package/utils/public_api.d.ts +0 -5
@@ -1,15 +0,0 @@
1
- import { PolyfillStorageAttributes } from '../interfaces/attributes.interface';
2
- import { StorageStrategy } from '../interfaces/strategy.interface';
3
- export declare class PolyfillStorage implements StorageStrategy {
4
- private _storage?;
5
- private readonly _isSupported;
6
- constructor(_storage?: Storage);
7
- get<T = any>(token: string): T;
8
- set<T = any>(token: string, value: T, attributes?: PolyfillStorageAttributes): void;
9
- remove(token: string): void;
10
- clear(): void;
11
- isSupported(): boolean;
12
- private decode;
13
- private encode;
14
- private testIfSupported;
15
- }
@@ -1,7 +0,0 @@
1
- export * from './lib/interfaces/attributes.interface';
2
- export * from './lib/interfaces/strategy.interface';
3
- export * from './lib/interfaces/memory.interface';
4
- export * from './lib/strategies/polyfill-storage.strategy';
5
- export * from './lib/strategies/cookie-storage.strategy';
6
- export * from './lib/strategies/memory-storage.strategy';
7
- export * from './lib/storage.service';
@@ -1,57 +0,0 @@
1
- import { OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { DataSourcePageResponse } from '../../interfaces/datasource.interface';
4
- import { FormControl, FormGroup } from '@angular/forms';
5
- import { DataSource, DataSourceRequest } from '../../data/datasource.data';
6
- import * as i0 from "@angular/core";
7
- export declare class BbTableColumnDef {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<BbTableColumnDef, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableColumnDef, "ng-template[bbTableColumnDef]", never, {}, {}, never, never, true, never>;
10
- }
11
- export declare class BbTableRowDef {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<BbTableRowDef, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableRowDef, "ng-template[bbTableRowDef]", never, {}, {}, never, never, true, never>;
14
- }
15
- export declare class BbTable implements OnInit, OnDestroy {
16
- private readonly _config?;
17
- readonly actionsSearchIconName: string;
18
- readonly actionsCloseIconName: string;
19
- tableColumnTemplates: QueryList<TemplateRef<any>>;
20
- tableRowTemplate?: TemplateRef<any>;
21
- identifier: string | null;
22
- dataSource: DataSource;
23
- queryFields: string[];
24
- sortingStrategy: 'single' | 'multiple';
25
- header: TemplateRef<any> | boolean;
26
- footer: TemplateRef<any> | boolean;
27
- private _sizes;
28
- get sizes(): number[];
29
- set sizes(newValue: number[]);
30
- request: DataSourceRequest;
31
- data$: Observable<{
32
- state: string;
33
- statusCode?: number;
34
- result?: DataSourcePageResponse;
35
- }>;
36
- isLoading$: Observable<boolean>;
37
- form: FormGroup;
38
- queryControl: FormControl<string>;
39
- private _headerCount;
40
- private _subscription;
41
- ngOnInit(): void;
42
- ngOnDestroy(): void;
43
- get headerCount(): number;
44
- get sortControl(): FormGroup;
45
- get pageNumberControl(): FormControl<number>;
46
- get pageSizeControl(): FormControl<number>;
47
- refresh(): void;
48
- setHeaderCount(amount: -1 | 1): void;
49
- private updateSizes;
50
- private composeForm;
51
- private watchDataChanges;
52
- private subscribeToChanges;
53
- private getQueryChanges;
54
- private getFormChanges;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<BbTable, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<BbTable, "bb-table", never, { "identifier": { "alias": "identifier"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "queryFields": { "alias": "queryFields"; "required": false; }; "sortingStrategy": { "alias": "sortingStrategy"; "required": false; }; "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; }, {}, ["tableRowTemplate", "tableColumnTemplates"], ["bb-table-header-cell,th[bb-table-header-cell]", "*"], true, never>;
57
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class BbTableCell {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<BbTableCell, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BbTableCell, "bb-table-cell, td[bb-table-cell]", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,26 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { TableColumnSortStrategy } from '../../interfaces/table.interfaces';
3
- import { BbTable } from '../table/table.component';
4
- import { Observable } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class BbTableHeaderCell implements OnInit, OnDestroy {
7
- private _table?;
8
- private _name?;
9
- private readonly _sortDirections;
10
- private readonly _control;
11
- disabled: boolean;
12
- valueChanges$: Observable<string>;
13
- set sort(value: TableColumnSortStrategy);
14
- get sort(): TableColumnSortStrategy;
15
- constructor(_table?: BbTable, _name?: string);
16
- ngOnInit(): void;
17
- ngOnDestroy(): void;
18
- get isDisabled(): boolean;
19
- onClick(): void;
20
- private updateTableAndHeaderCell;
21
- private handleSingleSortingStrategy;
22
- private logWarning;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<BbTableHeaderCell, [{ optional: true; host: true; }, { attribute: "name"; optional: true; }]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<BbTableHeaderCell, "bb-table-header-cell,th[bb-table-header-cell]", never, { "disabled": { "alias": "disabled"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, {}, never, ["*"], true, never>;
25
- static ngAcceptInputType_disabled: unknown;
26
- }
@@ -1,40 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class BbTablePager implements OnInit, ControlValueAccessor {
6
- private readonly _config?;
7
- readonly arrowPreviousIconName: string;
8
- readonly arrowNextIconName: string;
9
- amountOfButtons: number;
10
- showArrowButtons: boolean;
11
- disabled: boolean;
12
- isPreviousDisabled$: Observable<boolean>;
13
- isNextDisabled$: Observable<boolean>;
14
- list$: Observable<{
15
- page: number;
16
- active: boolean;
17
- }[]>;
18
- onChange: (newValue: number) => void;
19
- onTouched: () => void;
20
- private _totalPages$;
21
- private _pageNumber$;
22
- ngOnInit(): void;
23
- get pageNumber(): number;
24
- set pageNumber(newValue: number);
25
- get totalPages(): number;
26
- set totalPages(newValue: number);
27
- registerOnChange(fn: any): void;
28
- registerOnTouched(fn: any): void;
29
- setDisabledState(isDisabled: boolean): void;
30
- writeValue(newValue: number): void;
31
- goToPrevious(): void;
32
- goToNext(): void;
33
- goToIndex(index: number): void;
34
- private update;
35
- private calculatePages;
36
- private filterActivePages;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<BbTablePager, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<BbTablePager, "bb-table-pager", never, { "amountOfButtons": { "alias": "amountOfButtons"; "required": false; }; "showArrowButtons": { "alias": "showArrowButtons"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pageNumber": { "alias": "pageNumber"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; }, {}, never, never, true, never>;
39
- static ngAcceptInputType_disabled: unknown;
40
- }
@@ -1,14 +0,0 @@
1
- import { DataSourcePageRequest, DataSourcePageResponse } from '../interfaces/datasource.interface';
2
- import { Observable } from 'rxjs';
3
- export declare class DataSourceRequest {
4
- private _request$;
5
- private _loading$;
6
- get loading(): Observable<boolean>;
7
- get when(): Observable<DataSourcePageRequest>;
8
- startLoading(): void;
9
- stopLoading(): void;
10
- update(params?: Partial<DataSourcePageRequest>): void;
11
- }
12
- export declare abstract class DataSource<T = any> {
13
- abstract handle(request: DataSourceRequest): Observable<DataSourcePageResponse<T>>;
14
- }
@@ -1,25 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { DataSource, DataSourceRequest } from './datasource.data';
3
- import { HttpClient } from '@angular/common/http';
4
- export declare class GenericDataSource<T = any> extends DataSource<T> {
5
- private readonly _httpClient;
6
- private readonly _endpoint$;
7
- private _items$;
8
- private _fn;
9
- private _rawFn;
10
- constructor(httpClient: HttpClient, endpoint: Observable<string> | string);
11
- append(item: Observable<{
12
- [key: string]: string;
13
- } | null>): this;
14
- data(fn: (data: T[]) => T[]): this;
15
- raw(fn: (data: unknown) => void): this;
16
- handle(request: DataSourceRequest): Observable<{
17
- data: T[];
18
- pageSize: number;
19
- pageNumber: number;
20
- totalPages: number;
21
- totalEntries: number;
22
- }>;
23
- private formatResponse;
24
- private formatParams;
25
- }
@@ -1,17 +0,0 @@
1
- export interface DataSourcePageRequest {
2
- pageNumber: number;
3
- pageSize: number;
4
- query: string | null;
5
- queryFields: string[];
6
- sort: {
7
- name: string;
8
- direction: 'asc' | 'desc';
9
- }[];
10
- }
11
- export interface DataSourcePageResponse<T = any> {
12
- totalPages: number;
13
- totalEntries: number;
14
- pageSize: number;
15
- pageNumber: number;
16
- data: T[];
17
- }
@@ -1,11 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export type TableColumnSortStrategy = 'asc' | 'desc' | 'none';
3
- export declare const TABLE_CONFIG: InjectionToken<TableConfig>;
4
- export interface TableConfig {
5
- icons?: {
6
- actionsSearch?: string;
7
- actionsClose?: string;
8
- pagerArrowPrevious?: string;
9
- pagerArrowNext?: string;
10
- };
11
- }
@@ -1,3 +0,0 @@
1
- import { EnvironmentProviders } from '@angular/core';
2
- import { TableConfig } from './interfaces/table.interfaces';
3
- export declare function provideTableConfig(config: TableConfig): EnvironmentProviders;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./components/table/table.component";
3
- import * as i2 from "./components/table-header-cell/table-header-cell.component";
4
- import * as i3 from "./components/table-cell/table-cell.component";
5
- import * as i4 from "./components/table-pager/table-pager.component";
6
- export declare class TableModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof i1.BbTable, typeof i1.BbTableColumnDef, typeof i1.BbTableRowDef, typeof i2.BbTableHeaderCell, typeof i3.BbTableCell, typeof i4.BbTablePager], [typeof i1.BbTable, typeof i1.BbTableColumnDef, typeof i1.BbTableRowDef, typeof i2.BbTableHeaderCell, typeof i3.BbTableCell, typeof i4.BbTablePager]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
10
- }
@@ -1,10 +0,0 @@
1
- export * from './lib/interfaces/table.interfaces';
2
- export * from './lib/interfaces/datasource.interface';
3
- export * from './lib/data/datasource.data';
4
- export * from './lib/data/generic.data';
5
- export * from './lib/components/table/table.component';
6
- export * from './lib/components/table-cell/table-cell.component';
7
- export * from './lib/components/table-header-cell/table-header-cell.component';
8
- export * from './lib/components/table-pager/table-pager.component';
9
- export * from './lib/table.module';
10
- export * from './lib/table.config';
@@ -1,9 +0,0 @@
1
- import { TooltipData } from '../tooltip.interfaces';
2
- import * as i0 from "@angular/core";
3
- export declare class TooltipContainerComponent {
4
- readonly data: TooltipData;
5
- readonly classes: string;
6
- get classBinding(): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContainerComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContainerComponent, "bb-tooltip-container", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,23 +0,0 @@
1
- import { OnDestroy, TemplateRef } from '@angular/core';
2
- import { ConnectedPosition } from '@angular/cdk/overlay';
3
- import * as i0 from "@angular/core";
4
- export declare class TooltipDirective implements OnDestroy {
5
- private readonly _overlay;
6
- private readonly _viewContainer;
7
- private readonly _elementRef;
8
- bbTooltip: string | TemplateRef<void>;
9
- bbTooltipClass: string | null;
10
- bbTooltipOrigin: HTMLElement | null;
11
- bbTooltipPositions: ConnectedPosition[];
12
- bbTooltipDisabled: boolean;
13
- private _overlayRef;
14
- showTooltip(): void;
15
- hideTooltip(): void;
16
- ngOnDestroy(): void;
17
- private attachTooltip;
18
- private getPositionStrategy;
19
- private getPositions;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[bbTooltip]", never, { "bbTooltip": { "alias": "bbTooltip"; "required": false; }; "bbTooltipClass": { "alias": "bbTooltipClass"; "required": false; }; "bbTooltipOrigin": { "alias": "bbTooltipOrigin"; "required": false; }; "bbTooltipPositions": { "alias": "bbTooltipPositions"; "required": false; }; "bbTooltipDisabled": { "alias": "bbTooltipDisabled"; "required": false; }; }, {}, never, never, true, never>;
22
- static ngAcceptInputType_bbTooltipDisabled: unknown;
23
- }
@@ -1,4 +0,0 @@
1
- import { InjectionToken, TemplateRef } from '@angular/core';
2
- export type TooltipData = string | TemplateRef<void>;
3
- export declare const TOOLTIP_DATA: InjectionToken<TooltipData>;
4
- export declare const TOOLTIP_CLASS: InjectionToken<string>;
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tooltip.directive";
3
- export declare class TooltipModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, never, [typeof i1.TooltipDirective], [typeof i1.TooltipDirective]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
7
- }
@@ -1,4 +0,0 @@
1
- export * from './lib/tooltip-container/tooltip-container.component';
2
- export * from './lib/tooltip.interfaces';
3
- export * from './lib/tooltip.directive';
4
- export * from './lib/tooltip.module';
@@ -1,19 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class BbAutosize implements AfterViewInit {
4
- private readonly _renderer;
5
- private readonly _elementRef;
6
- minHeight: string | null;
7
- maxHeight: string | null;
8
- rows: number;
9
- get element(): HTMLTextAreaElement;
10
- ngAfterViewInit(): void;
11
- onWindowResize(): void;
12
- onInputReceived(): void;
13
- private updateStyles;
14
- private setHeight;
15
- private updateStylesInitial;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<BbAutosize, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbAutosize, "textarea[bbAutosize]", never, { "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, {}, never, never, true, never>;
18
- static ngAcceptInputType_rows: unknown;
19
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class BbFocusTrap {
3
- private readonly _platform;
4
- private readonly _elementRef;
5
- private readonly _focusableElements;
6
- onKeydown(event: KeyboardEvent): void;
7
- trapFocus(event: KeyboardEvent): void;
8
- private get element();
9
- private getFocusableNodes;
10
- private focus;
11
- private isTabEvent;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<BbFocusTrap, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocusTrap, "[bbFocusTrap]", never, {}, {}, never, never, true, never>;
14
- }
@@ -1,16 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { FocusMode } from '@bravobit/bb-foundation';
3
- import * as i0 from "@angular/core";
4
- export declare class BbFocus implements AfterViewInit {
5
- private readonly _zone;
6
- private readonly _platform;
7
- private readonly _elementRef;
8
- private readonly _globalFocusMode;
9
- bbFocusMode: FocusMode | null;
10
- private get nativeElement();
11
- ngAfterViewInit(): void;
12
- private isMobile;
13
- private focus;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<BbFocus, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocus, "[bbFocus]", never, { "bbFocusMode": { "alias": "bbFocusMode"; "required": false; }; }, {}, never, never, true, never>;
16
- }
@@ -1,10 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class BbTemplate {
4
- private readonly _templateRef;
5
- private readonly _viewContainerRef;
6
- set bbTemplate(content: string | TemplateRef<any>);
7
- static ngAcceptInputType_bbTemplate: string | TemplateRef<any>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<BbTemplate, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbTemplate, "[bbTemplate]", never, { "bbTemplate": { "alias": "bbTemplate"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./directives/template.directive";
3
- import * as i2 from "./directives/autosize.directive";
4
- import * as i3 from "./directives/focus.directive";
5
- import * as i4 from "./directives/focus-trap.directive";
6
- export declare class UtilsModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<UtilsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<UtilsModule, never, [typeof i1.BbTemplate, typeof i2.BbAutosize, typeof i3.BbFocus, typeof i4.BbFocusTrap], [typeof i1.BbTemplate, typeof i2.BbAutosize, typeof i3.BbFocus, typeof i4.BbFocusTrap]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<UtilsModule>;
10
- }
@@ -1,5 +0,0 @@
1
- export * from './lib/directives/template.directive';
2
- export * from './lib/directives/autosize.directive';
3
- export * from './lib/directives/focus.directive';
4
- export * from './lib/directives/focus-trap.directive';
5
- export * from './lib/utils.module';