@coreui/angular-pro 4.0.0-alpha.8 → 4.0.0-alpha.9

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 (249) hide show
  1. package/README.md +11 -11
  2. package/esm2020/lib/accordion/accordion/accordion.component.mjs +3 -3
  3. package/esm2020/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
  4. package/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +3 -3
  5. package/esm2020/lib/accordion/accordion.module.mjs +4 -4
  6. package/esm2020/lib/accordion/accordion.service.mjs +3 -3
  7. package/esm2020/lib/alert/alert-heading.directive.mjs +3 -3
  8. package/esm2020/lib/alert/alert-link.directive.mjs +3 -3
  9. package/esm2020/lib/alert/alert.component.mjs +3 -3
  10. package/esm2020/lib/alert/alert.module.mjs +4 -4
  11. package/esm2020/lib/avatar/avatar.component.mjs +3 -3
  12. package/esm2020/lib/avatar/avatar.module.mjs +4 -4
  13. package/esm2020/lib/backdrop/backdrop.service.mjs +3 -3
  14. package/esm2020/lib/badge/badge.component.mjs +3 -3
  15. package/esm2020/lib/badge/badge.module.mjs +4 -4
  16. package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
  17. package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
  18. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
  19. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +4 -4
  20. package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +4 -4
  21. package/esm2020/lib/button/button-close.directive.mjs +3 -3
  22. package/esm2020/lib/button/button.directive.mjs +3 -3
  23. package/esm2020/lib/button/button.module.mjs +4 -4
  24. package/esm2020/lib/button-group/button-group/button-group.component.mjs +3 -3
  25. package/esm2020/lib/button-group/button-group.module.mjs +4 -4
  26. package/esm2020/lib/button-group/button-toolbar/button-toolbar.component.mjs +3 -3
  27. package/esm2020/lib/callout/callout.component.mjs +3 -3
  28. package/esm2020/lib/callout/callout.module.mjs +4 -4
  29. package/esm2020/lib/card/card-body.component.mjs +3 -3
  30. package/esm2020/lib/card/card-footer.component.mjs +3 -3
  31. package/esm2020/lib/card/card-group.component.mjs +3 -3
  32. package/esm2020/lib/card/card-header-actions.component.mjs +3 -3
  33. package/esm2020/lib/card/card-header.component.mjs +3 -3
  34. package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
  35. package/esm2020/lib/card/card-img.directive.mjs +3 -3
  36. package/esm2020/lib/card/card-link.directive.mjs +3 -3
  37. package/esm2020/lib/card/card-subtitle.directive.mjs +3 -3
  38. package/esm2020/lib/card/card-text.directive.mjs +3 -3
  39. package/esm2020/lib/card/card-title.directive.mjs +3 -3
  40. package/esm2020/lib/card/card.component.mjs +3 -3
  41. package/esm2020/lib/card/card.module.mjs +4 -4
  42. package/esm2020/lib/carousel/carousel/carousel.component.mjs +3 -3
  43. package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
  44. package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
  45. package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
  46. package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
  47. package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
  48. package/esm2020/lib/carousel/carousel-state.mjs +3 -3
  49. package/esm2020/lib/carousel/carousel.config.mjs +3 -3
  50. package/esm2020/lib/carousel/carousel.module.mjs +4 -4
  51. package/esm2020/lib/carousel/carousel.service.mjs +3 -3
  52. package/esm2020/lib/collapse/collapse.animations.mjs +1 -1
  53. package/esm2020/lib/collapse/collapse.directive.mjs +11 -6
  54. package/esm2020/lib/collapse/collapse.module.mjs +4 -4
  55. package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
  56. package/esm2020/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
  57. package/esm2020/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
  58. package/esm2020/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
  59. package/esm2020/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
  60. package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
  61. package/esm2020/lib/dropdown/dropdown.module.mjs +4 -4
  62. package/esm2020/lib/dropdown/dropdown.service.mjs +3 -3
  63. package/esm2020/lib/element-cover/element-cover.component.mjs +71 -0
  64. package/esm2020/lib/element-cover/element-cover.module.mjs +30 -0
  65. package/esm2020/lib/element-cover/index.mjs +2 -0
  66. package/esm2020/lib/element-cover/public_api.mjs +3 -0
  67. package/esm2020/lib/footer/footer.component.mjs +3 -3
  68. package/esm2020/lib/footer/footer.module.mjs +4 -4
  69. package/esm2020/lib/form/form/form.directive.mjs +3 -3
  70. package/esm2020/lib/form/form-check/form-check-input.directive.mjs +7 -4
  71. package/esm2020/lib/form/form-check/form-check-label.directive.mjs +3 -3
  72. package/esm2020/lib/form/form-check/form-check.component.mjs +3 -3
  73. package/esm2020/lib/form/form-control/form-control.directive.mjs +3 -3
  74. package/esm2020/lib/form/form-feedback/form-feedback.component.mjs +3 -3
  75. package/esm2020/lib/form/form-floating/form-floating.directive.mjs +3 -3
  76. package/esm2020/lib/form/form-label/form-label.directive.mjs +3 -3
  77. package/esm2020/lib/form/form-select/form-select.directive.mjs +3 -3
  78. package/esm2020/lib/form/form-text/form-text.directive.mjs +3 -3
  79. package/esm2020/lib/form/form.module.mjs +4 -4
  80. package/esm2020/lib/form/input-group/input-group.component.mjs +3 -3
  81. package/esm2020/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
  82. package/esm2020/lib/grid/col.component.mjs +3 -3
  83. package/esm2020/lib/grid/col.directive.mjs +3 -3
  84. package/esm2020/lib/grid/container.component.mjs +3 -3
  85. package/esm2020/lib/grid/grid.module.mjs +4 -4
  86. package/esm2020/lib/grid/gutter.directive.mjs +3 -3
  87. package/esm2020/lib/grid/row.component.mjs +3 -3
  88. package/esm2020/lib/grid/row.directive.mjs +3 -3
  89. package/esm2020/lib/header/header/header.component.mjs +3 -3
  90. package/esm2020/lib/header/header-brand/header-brand.component.mjs +3 -3
  91. package/esm2020/lib/header/header-divider/header-divider.component.mjs +3 -3
  92. package/esm2020/lib/header/header-nav/header-nav.component.mjs +3 -3
  93. package/esm2020/lib/header/header-text/header-text.component.mjs +3 -3
  94. package/esm2020/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
  95. package/esm2020/lib/header/header.module.mjs +4 -4
  96. package/esm2020/lib/image/img.directive.mjs +3 -3
  97. package/esm2020/lib/image/img.module.mjs +4 -4
  98. package/esm2020/lib/list-group/list-group-item.directive.mjs +3 -3
  99. package/esm2020/lib/list-group/list-group.directive.mjs +3 -3
  100. package/esm2020/lib/list-group/list-group.module.mjs +4 -4
  101. package/esm2020/lib/loading-button/loading-button.component.mjs +3 -3
  102. package/esm2020/lib/loading-button/loading-button.module.mjs +4 -4
  103. package/esm2020/lib/modal/modal/modal.component.mjs +3 -3
  104. package/esm2020/lib/modal/modal-body/modal-body.component.mjs +3 -3
  105. package/esm2020/lib/modal/modal-content/modal-content.component.mjs +3 -3
  106. package/esm2020/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
  107. package/esm2020/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
  108. package/esm2020/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
  109. package/esm2020/lib/modal/modal-header/modal-header.component.mjs +3 -3
  110. package/esm2020/lib/modal/modal-title/modal-title.directive.mjs +3 -3
  111. package/esm2020/lib/modal/modal.module.mjs +4 -4
  112. package/esm2020/lib/modal/modal.service.mjs +3 -3
  113. package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +3 -3
  114. package/esm2020/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
  115. package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +3 -3
  116. package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +3 -3
  117. package/esm2020/lib/multi-select/multi-select-option/multi-select-option.component.mjs +3 -3
  118. package/esm2020/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
  119. package/esm2020/lib/multi-select/multi-select.module.mjs +4 -4
  120. package/esm2020/lib/multi-select/multi-select.service.mjs +3 -3
  121. package/esm2020/lib/nav/nav-item.component.mjs +3 -3
  122. package/esm2020/lib/nav/nav-link.directive.mjs +3 -3
  123. package/esm2020/lib/nav/nav.component.mjs +5 -5
  124. package/esm2020/lib/nav/nav.module.mjs +4 -4
  125. package/esm2020/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
  126. package/esm2020/lib/navbar/navbar-nav/navbar-nav.component.mjs +3 -3
  127. package/esm2020/lib/navbar/navbar-text/navbar-text.component.mjs +3 -3
  128. package/esm2020/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
  129. package/esm2020/lib/navbar/navbar.component.mjs +3 -3
  130. package/esm2020/lib/navbar/navbar.module.mjs +4 -4
  131. package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +3 -3
  132. package/esm2020/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
  133. package/esm2020/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
  134. package/esm2020/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
  135. package/esm2020/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
  136. package/esm2020/lib/offcanvas/offcanvas.module.mjs +4 -4
  137. package/esm2020/lib/offcanvas/offcanvas.service.mjs +3 -3
  138. package/esm2020/lib/pagination/page-item/page-item.component.mjs +3 -3
  139. package/esm2020/lib/pagination/page-item/page-item.directive.mjs +3 -3
  140. package/esm2020/lib/pagination/page-link/page-link.directive.mjs +3 -3
  141. package/esm2020/lib/pagination/pagination/pagination.component.mjs +3 -3
  142. package/esm2020/lib/pagination/pagination.module.mjs +5 -5
  143. package/esm2020/lib/pagination/public_api.mjs +1 -1
  144. package/esm2020/lib/popover/popover/popover.component.mjs +3 -3
  145. package/esm2020/lib/popover/popover.directive.mjs +3 -3
  146. package/esm2020/lib/popover/popover.module.mjs +4 -4
  147. package/esm2020/lib/progress/progress-bar.component.mjs +3 -3
  148. package/esm2020/lib/progress/progress.component.mjs +3 -3
  149. package/esm2020/lib/progress/progress.module.mjs +4 -4
  150. package/esm2020/lib/services/class-toggle.service.mjs +3 -3
  151. package/esm2020/lib/services/listeners.service.mjs +3 -3
  152. package/esm2020/lib/shared/html-attr.directive.mjs +3 -3
  153. package/esm2020/lib/shared/shared.module.mjs +4 -4
  154. package/esm2020/lib/shared/template-id.directive.mjs +3 -3
  155. package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
  156. package/esm2020/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
  157. package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
  158. package/esm2020/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
  159. package/esm2020/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  160. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
  161. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
  162. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
  163. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
  164. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
  165. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
  166. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
  167. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
  168. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +6 -6
  169. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
  170. package/esm2020/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
  171. package/esm2020/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +3 -3
  172. package/esm2020/lib/sidebar/sidebar.module.mjs +4 -4
  173. package/esm2020/lib/sidebar/sidebar.service.mjs +3 -3
  174. package/esm2020/lib/smart-pagination/index.mjs +2 -0
  175. package/esm2020/lib/smart-pagination/public_api.mjs +3 -0
  176. package/esm2020/lib/smart-pagination/smart-pagination.component.mjs +196 -0
  177. package/esm2020/lib/smart-pagination/smart-pagination.module.mjs +30 -0
  178. package/esm2020/lib/smart-pagination/smart-pagination.type.mjs +2 -0
  179. package/esm2020/lib/smart-table/index.mjs +2 -0
  180. package/esm2020/lib/smart-table/public_api.mjs +3 -0
  181. package/esm2020/lib/smart-table/smart-table/smart-table.component.mjs +445 -0
  182. package/esm2020/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +46 -0
  183. package/esm2020/lib/smart-table/smart-table-head/smart-table-head.component.mjs +138 -0
  184. package/esm2020/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +46 -0
  185. package/esm2020/lib/smart-table/smart-table.module.mjs +72 -0
  186. package/esm2020/lib/smart-table/smart-table.type.mjs +2 -0
  187. package/esm2020/lib/spinner/spinner.component.mjs +3 -3
  188. package/esm2020/lib/spinner/spinner.module.mjs +4 -4
  189. package/esm2020/lib/table/table-active.directive.mjs +3 -3
  190. package/esm2020/lib/table/table-color.directive.mjs +3 -3
  191. package/esm2020/lib/table/table.directive.mjs +5 -5
  192. package/esm2020/lib/table/table.module.mjs +4 -4
  193. package/esm2020/lib/table/table.type.mjs +2 -0
  194. package/esm2020/lib/tabs/tab-content/tab-content.component.mjs +3 -3
  195. package/esm2020/lib/tabs/tab-content-ref.directive.mjs +3 -3
  196. package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
  197. package/esm2020/lib/tabs/tab.service.mjs +3 -3
  198. package/esm2020/lib/tabs/tabs.module.mjs +4 -4
  199. package/esm2020/lib/toast/toast/toast.component.mjs +3 -3
  200. package/esm2020/lib/toast/toast-body/toast-body.component.mjs +3 -3
  201. package/esm2020/lib/toast/toast-close.directive.mjs +3 -3
  202. package/esm2020/lib/toast/toast-header/toast-header.component.mjs +3 -3
  203. package/esm2020/lib/toast/toast.module.mjs +4 -4
  204. package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +3 -3
  205. package/esm2020/lib/toast/toaster/toaster.component.mjs +3 -3
  206. package/esm2020/lib/toast/toaster/toaster.service.mjs +3 -3
  207. package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
  208. package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
  209. package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
  210. package/esm2020/lib/utilities/align.directive.mjs +3 -3
  211. package/esm2020/lib/utilities/bg-color.directive.mjs +3 -3
  212. package/esm2020/lib/utilities/border.directive.mjs +3 -3
  213. package/esm2020/lib/utilities/rounded.directive.mjs +3 -3
  214. package/esm2020/lib/utilities/text-color.directive.mjs +3 -3
  215. package/esm2020/lib/utilities/utilities.module.mjs +4 -4
  216. package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
  217. package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
  218. package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
  219. package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
  220. package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
  221. package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
  222. package/esm2020/lib/widget/widget.module.mjs +4 -4
  223. package/esm2020/public-api.mjs +5 -2
  224. package/fesm2015/coreui-angular-pro.mjs +2013 -997
  225. package/fesm2015/coreui-angular-pro.mjs.map +1 -1
  226. package/fesm2020/coreui-angular-pro.mjs +2021 -1010
  227. package/fesm2020/coreui-angular-pro.mjs.map +1 -1
  228. package/lib/collapse/collapse.directive.d.ts +3 -2
  229. package/lib/element-cover/element-cover.component.d.ts +27 -0
  230. package/lib/element-cover/element-cover.module.d.ts +9 -0
  231. package/lib/element-cover/index.d.ts +1 -0
  232. package/lib/element-cover/public_api.d.ts +2 -0
  233. package/lib/smart-pagination/index.d.ts +1 -0
  234. package/lib/smart-pagination/public_api.d.ts +2 -0
  235. package/lib/smart-pagination/smart-pagination.component.d.ts +109 -0
  236. package/lib/smart-pagination/smart-pagination.module.d.ts +9 -0
  237. package/lib/smart-pagination/smart-pagination.type.d.ts +79 -0
  238. package/lib/smart-table/index.d.ts +1 -0
  239. package/lib/smart-table/public_api.d.ts +2 -0
  240. package/lib/smart-table/smart-table/smart-table.component.d.ts +124 -0
  241. package/lib/smart-table/smart-table-filter/smart-table-filter.component.d.ts +14 -0
  242. package/lib/smart-table/smart-table-head/smart-table-head.component.d.ts +36 -0
  243. package/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.d.ts +14 -0
  244. package/lib/smart-table/smart-table.module.d.ts +20 -0
  245. package/lib/smart-table/smart-table.type.d.ts +272 -0
  246. package/lib/table/table.directive.d.ts +3 -2
  247. package/lib/table/table.type.d.ts +76 -0
  248. package/package.json +1 -1
  249. package/public-api.d.ts +4 -1
@@ -1,9 +1,10 @@
1
- import { DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
1
+ import { DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
2
2
  import { AnimationBuilder } from '@angular/animations';
3
3
  import { BooleanInput } from '@angular/cdk/coercion';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CollapseDirective implements OnChanges, OnDestroy, DoCheck {
6
6
  private hostElement;
7
+ private renderer;
7
8
  private animationBuilder;
8
9
  static ngAcceptInputType_navbar: BooleanInput;
9
10
  private _animate;
@@ -39,7 +40,7 @@ export declare class CollapseDirective implements OnChanges, OnDestroy, DoCheck
39
40
  collapseChange: EventEmitter<string>;
40
41
  private player;
41
42
  private readonly host;
42
- constructor(hostElement: ElementRef, animationBuilder: AnimationBuilder);
43
+ constructor(hostElement: ElementRef, renderer: Renderer2, animationBuilder: AnimationBuilder);
43
44
  get hostClasses(): any;
44
45
  ngOnDestroy(): void;
45
46
  ngOnChanges(changes: SimpleChanges): void;
@@ -0,0 +1,27 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ElementCoverComponent implements AfterViewInit {
4
+ #private;
5
+ private elementRef;
6
+ private changeDetectorRef;
7
+ constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef);
8
+ /**
9
+ * Array of custom boundaries. Use to create custom cover area (instead of parent element area). Area is defined by four sides: 'top', 'bottom', 'right', 'left'. If side is not defined by any custom boundary it is equal to parent element boundary. Each custom boundary is object with keys:
10
+ * - sides (array) - select boundaries of element to define boundaries. Side names: 'top', 'bottom', 'right', 'left'.
11
+ * - query (string) - query used to get element which define boundaries. Search will be done only inside parent element, by parent.querySelector(query) function. [docs]
12
+ * @type {sides: string[], query: string}[]
13
+ */
14
+ boundaries?: {
15
+ sides: string[];
16
+ query: string;
17
+ }[];
18
+ opacity: number;
19
+ content?: ElementRef;
20
+ hasContent: boolean;
21
+ private get customBoundaries();
22
+ private get containerCoords();
23
+ private get coverStyles();
24
+ ngAfterViewInit(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementCoverComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElementCoverComponent, "c-element-cover, [cElementCover]", never, { "boundaries": "boundaries"; "opacity": "opacity"; }, {}, never, ["*"]>;
27
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./element-cover.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../spinner/spinner.module";
5
+ export declare class ElementCoverModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementCoverModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementCoverModule, [typeof i1.ElementCoverComponent], [typeof i2.CommonModule, typeof i3.SpinnerModule], [typeof i1.ElementCoverComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElementCoverModule>;
9
+ }
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1,2 @@
1
+ export { ElementCoverComponent } from './element-cover.component';
2
+ export { ElementCoverModule } from './element-cover.module';
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1,2 @@
1
+ export { SmartPaginationComponent } from './smart-pagination.component';
2
+ export { SmartPaginationModule } from './smart-pagination.module';
@@ -0,0 +1,109 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { ISmartPagination } from './smart-pagination.type';
3
+ import { NumberInput } from '@angular/cdk/coercion';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SmartPaginationComponent implements ISmartPagination {
6
+ static ngAcceptInputType_activePage: NumberInput;
7
+ static ngAcceptInputType_pages: NumberInput;
8
+ static ngAcceptInputType_limit: NumberInput;
9
+ constructor();
10
+ /**
11
+ * Current page number. [docs]
12
+ * @default 1
13
+ * @type number
14
+ */
15
+ set activePage(value: number);
16
+ get activePage(): number;
17
+ private _activePage;
18
+ /**
19
+ * Event triggered on activePage change.
20
+ * @type EventEmitter<number>
21
+ */
22
+ activePageChange: EventEmitter<number>;
23
+ /**
24
+ * Show/hide arrows
25
+ * @default true
26
+ * @type boolean
27
+ */
28
+ arrows: boolean;
29
+ /**
30
+ * Show double arrows buttons
31
+ * @default true
32
+ * @type boolean
33
+ */
34
+ doubleArrows: boolean;
35
+ /**
36
+ * Show/hide dots. [docs]
37
+ * @default true
38
+ */
39
+ dots: boolean;
40
+ /**
41
+ * Maximum items number. [docs]
42
+ * @default 5
43
+ * @type number
44
+ */
45
+ set limit(value: number);
46
+ get limit(): number;
47
+ private _limit;
48
+ /**
49
+ * Number of pages. [docs]
50
+ * @type number
51
+ */
52
+ set pages(value: number);
53
+ get pages(): number;
54
+ private _pages;
55
+ /**
56
+ * The content of 'firstButton' button. [docs]
57
+ * @default '&laquo'
58
+ * todo TemplateRef
59
+ */
60
+ firstButton?: string | TemplateRef<any>;
61
+ /**
62
+ * The content of 'lastButton' button. [docs]
63
+ * @default '&raquo'
64
+ * todo TemplateRef
65
+ */
66
+ lastButton?: string | TemplateRef<any>;
67
+ /**
68
+ * The content of 'nextButton' button. [docs]
69
+ * @default '&lsaquo'
70
+ * todo TemplateRef
71
+ */
72
+ nextButton?: string | TemplateRef<any>;
73
+ /**
74
+ * The content of 'previousButton' button. [docs]
75
+ * @default '&rsaquo'
76
+ * todo TemplateRef
77
+ */
78
+ previousButton?: string | TemplateRef<any>;
79
+ /**
80
+ * Set the alignment of pagination components.
81
+ * @values 'start', 'center', 'end'
82
+ */
83
+ align?: 'start' | 'center' | 'end' | '';
84
+ /**
85
+ * Size the component small or large.
86
+ * @values 'sm', 'lg'
87
+ */
88
+ size?: 'sm' | 'lg';
89
+ /**
90
+ * Default role for pagination. [docs]
91
+ * @type string
92
+ * @default 'navigation'
93
+ */
94
+ role: string;
95
+ get paginationClass(): any;
96
+ get maxPrevItems(): number;
97
+ get maxNextItems(): number;
98
+ get range(): number;
99
+ get lastItem(): number;
100
+ get computedLimit(): number;
101
+ get itemsLimit(): number;
102
+ get showDots(): boolean;
103
+ get beforeDots(): boolean;
104
+ get afterDots(): boolean;
105
+ get items(): number[];
106
+ setPage(page: number): void;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartPaginationComponent, never>;
108
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartPaginationComponent, "c-smart-pagination", ["cSmartPagination"], { "activePage": "activePage"; "arrows": "arrows"; "doubleArrows": "doubleArrows"; "dots": "dots"; "limit": "limit"; "pages": "pages"; "firstButton": "firstButton"; "lastButton": "lastButton"; "nextButton": "nextButton"; "previousButton": "previousButton"; "align": "align"; "size": "size"; "role": "role"; }, { "activePageChange": "activePageChange"; }, never, never>;
109
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./smart-pagination.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../pagination/pagination.module";
5
+ export declare class SmartPaginationModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartPaginationModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartPaginationModule, [typeof i1.SmartPaginationComponent], [typeof i2.CommonModule, typeof i3.PaginationModule], [typeof i1.SmartPaginationComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartPaginationModule>;
9
+ }
@@ -0,0 +1,79 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ export interface ISmartPagination {
3
+ /**
4
+ * Current page number. [docs]
5
+ * @default 1
6
+ * @type number
7
+ */
8
+ activePage?: number;
9
+ /**
10
+ * Event triggered on activePage change.
11
+ * @type EventEmitter<number>
12
+ */
13
+ activePageChange: EventEmitter<number>;
14
+ /**
15
+ * Show/hide arrows. [docs]
16
+ * @default true
17
+ * @type boolean
18
+ */
19
+ arrows?: boolean;
20
+ /**
21
+ * Show double arrows buttons. [docs]
22
+ * @default true
23
+ * @type boolean
24
+ */
25
+ doubleArrows?: boolean;
26
+ /**
27
+ * Show/hide dots. [docs]
28
+ * @default true
29
+ * @type boolean
30
+ */
31
+ dots?: boolean;
32
+ /**
33
+ * Maximum items number. [docs]
34
+ * @default 5
35
+ * @type number
36
+ */
37
+ limit?: number;
38
+ /**
39
+ * Number of pages. [docs]
40
+ * @type number
41
+ */
42
+ pages?: number;
43
+ /**
44
+ * The content of 'firstButton' button. [docs]
45
+ * @default '&laquo'
46
+ */
47
+ firstButton?: string | TemplateRef<any>;
48
+ /**
49
+ * The content of 'lastButton' button. [docs]
50
+ * @default '&raquo'
51
+ */
52
+ lastButton?: string | TemplateRef<any>;
53
+ /**
54
+ * The content of 'previousButton' button. [docs]
55
+ * @default '&lsaquo;'
56
+ */
57
+ nextButton?: string | TemplateRef<any>;
58
+ /**
59
+ * The content of 'nextButton' button. [docs]
60
+ * @default '&rsaquo;'
61
+ */
62
+ previousButton?: string | TemplateRef<any>;
63
+ /**
64
+ * Size of pagination, valid values: 'sm', 'lg'. [docs]
65
+ */
66
+ size?: 'sm' | 'lg';
67
+ /**
68
+ * Set the alignment of pagination components.
69
+ * @values 'start', 'center', 'end'
70
+ * @type string
71
+ */
72
+ align?: 'start' | 'center' | 'end' | '';
73
+ /**
74
+ * Default role for pagination. [docs]
75
+ * @type string
76
+ * @default 'navigation'
77
+ */
78
+ role?: string;
79
+ }
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1,2 @@
1
+ export { SmartTableComponent } from './smart-table/smart-table.component';
2
+ export { SmartTableModule } from './smart-table.module';
@@ -0,0 +1,124 @@
1
+ import { AfterContentInit, EventEmitter, IterableDiffers, QueryList, TemplateRef } from '@angular/core';
2
+ import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
3
+ import { ITable } from '../../table/table.type';
4
+ import { IColumnFilter, IColumnFilterValue, IItem, IItemInternal, ISmartTable, ISorter, ISorterValue, ITableFilter, ITableGroupProps, ItemsPerPageSelect } from '../smart-table.type';
5
+ import { TemplateIdDirective } from '../../shared';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SmartTableComponent implements ISmartTable, AfterContentInit {
8
+ private iterable;
9
+ static ngAcceptInputType_activePage: NumberInput;
10
+ static ngAcceptInputType_cleaner: BooleanInput;
11
+ static ngAcceptInputType_clickableRows: BooleanInput;
12
+ static ngAcceptInputType_footer: BooleanInput;
13
+ static ngAcceptInputType_header: BooleanInput;
14
+ static ngAcceptInputType_itemsPerPage: NumberInput;
15
+ static ngAcceptInputType_pagination: BooleanInput;
16
+ static ngAcceptInputType_selectable: BooleanInput;
17
+ constructor(iterable: IterableDiffers);
18
+ private iterableDiffer;
19
+ set activePage(value: number);
20
+ get activePage(): number;
21
+ private _activePage;
22
+ set cleaner(value: boolean);
23
+ get cleaner(): boolean;
24
+ private _cleaner;
25
+ set clickableRows(value: boolean);
26
+ get clickableRows(): boolean;
27
+ private _clickableRows;
28
+ set columns(value: any[]);
29
+ get columns(): any[];
30
+ private _columns?;
31
+ columnFilter?: boolean | IColumnFilter;
32
+ set columnFilterValue(value: IColumnFilterValue);
33
+ get columnFilterValue(): IColumnFilterValue;
34
+ private _columnFilterValue;
35
+ columnSorter?: boolean | ISorter;
36
+ set footer(value: boolean);
37
+ get footer(): boolean;
38
+ private _footer;
39
+ set header(value: boolean);
40
+ get header(): boolean;
41
+ private _header;
42
+ set items(value: IItem[]);
43
+ get items(): IItem[];
44
+ private _items;
45
+ set itemsPerPage(value: number);
46
+ get itemsPerPage(): number;
47
+ private _itemsPerPage;
48
+ itemsPerPageLabel: string;
49
+ itemsPerPageOptions: number[];
50
+ itemsPerPageSelect?: boolean | ItemsPerPageSelect;
51
+ loading?: boolean;
52
+ noItemsLabel: string | TemplateRef<any>;
53
+ set pagination(value: boolean);
54
+ get pagination(): boolean;
55
+ private _pagination;
56
+ set selectable(value: boolean);
57
+ get selectable(): boolean;
58
+ private _selectable;
59
+ set sorterValue(value: ISorterValue);
60
+ get sorterValue(): ISorterValue;
61
+ private _sorterValue;
62
+ tableFilter?: boolean | ITableFilter;
63
+ tableFilterLabel: string;
64
+ tableFilterPlaceholder: string;
65
+ set tableFilterValue(value: string);
66
+ get tableFilterValue(): string;
67
+ private _tableFilterValue;
68
+ tableBodyProps?: ITableGroupProps;
69
+ tableFootProps?: ITableGroupProps;
70
+ tableHeadProps?: ITableGroupProps;
71
+ tableProps?: ITable;
72
+ selectedItemsChange: EventEmitter<any>;
73
+ sorterValueChange: EventEmitter<any>;
74
+ activePageChange: EventEmitter<any>;
75
+ itemsPerPageChange: EventEmitter<any>;
76
+ rowClick: EventEmitter<any>;
77
+ columnFilterValueChange: EventEmitter<any>;
78
+ filteredItemsChange: EventEmitter<any>;
79
+ tableFilterValueChange: EventEmitter<any>;
80
+ columnTemplates: QueryList<TemplateIdDirective>;
81
+ templates: {
82
+ [key: string]: (TemplateRef<any> | null);
83
+ };
84
+ ngAfterContentInit(): void;
85
+ get selectedAll(): boolean | "indeterminate";
86
+ set selectedAll(value: string | boolean);
87
+ private _selectedAll;
88
+ get tableFilterState(): string;
89
+ get columnFilterState(): IColumnFilterValue;
90
+ get numberOfPages(): number;
91
+ get colspan(): number;
92
+ get firstItemOnActivePageIndex(): number;
93
+ get itemsOnActivePage(): IItemInternal[];
94
+ get currentItems(): IItemInternal[];
95
+ get genCols(): string[];
96
+ get rawColumnNames(): any[];
97
+ get itemsDataColumns(): any[];
98
+ get sortedItems(): IItemInternal[];
99
+ get columnFiltered(): IItemInternal[];
100
+ get tableFiltered(): IItemInternal[];
101
+ get isFiltered(): string;
102
+ private setItems;
103
+ handleSortChange($event: {
104
+ columnKey: string;
105
+ index: number;
106
+ }): void;
107
+ isSortable(i: number): boolean | undefined;
108
+ handleSorterChange(column: string, index: number): void;
109
+ setActivePage($event: number): void;
110
+ handleColumnFilterChange($event: any): void;
111
+ handleTableFilterChange($event: string): void;
112
+ clean($event: MouseEvent): void;
113
+ handleItemsPerPageChange(value: number): void;
114
+ handleRowChecked($event: Event, item: IItemInternal): void;
115
+ handleSelectAllChange($event: any): void;
116
+ getColumnName($event: MouseEvent): string;
117
+ handleRowClick(param: {
118
+ $event: MouseEvent;
119
+ item: IItemInternal;
120
+ i: number;
121
+ }): void;
122
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableComponent, never>;
123
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableComponent, "c-smart-table", ["cSmartTable"], { "activePage": "activePage"; "cleaner": "cleaner"; "clickableRows": "clickableRows"; "columns": "columns"; "columnFilter": "columnFilter"; "columnFilterValue": "columnFilterValue"; "columnSorter": "columnSorter"; "footer": "footer"; "header": "header"; "items": "items"; "itemsPerPage": "itemsPerPage"; "itemsPerPageLabel": "itemsPerPageLabel"; "itemsPerPageOptions": "itemsPerPageOptions"; "itemsPerPageSelect": "itemsPerPageSelect"; "loading": "loading"; "noItemsLabel": "noItemsLabel"; "pagination": "pagination"; "selectable": "selectable"; "sorterValue": "sorterValue"; "tableFilter": "tableFilter"; "tableFilterLabel": "tableFilterLabel"; "tableFilterPlaceholder": "tableFilterPlaceholder"; "tableFilterValue": "tableFilterValue"; "tableBodyProps": "tableBodyProps"; "tableFootProps": "tableFootProps"; "tableHeadProps": "tableHeadProps"; "tableProps": "tableProps"; }, { "selectedItemsChange": "selectedItemsChange"; "sorterValueChange": "sorterValueChange"; "activePageChange": "activePageChange"; "itemsPerPageChange": "itemsPerPageChange"; "rowClick": "rowClick"; "columnFilterValueChange": "columnFilterValueChange"; "filteredItemsChange": "filteredItemsChange"; "tableFilterValueChange": "tableFilterValueChange"; }, ["columnTemplates"], never>;
124
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SmartTableFilterComponent {
4
+ constructor();
5
+ filterLabel: string;
6
+ filterPlaceholder: string;
7
+ set value(value: string);
8
+ get value(): string;
9
+ private _value;
10
+ valueChange: EventEmitter<string>;
11
+ get hostClasses(): any;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableFilterComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableFilterComponent, "c-smart-table-filter", never, { "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never>;
14
+ }
@@ -0,0 +1,36 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IColumn, IColumnFilter, IColumnFilterValue, ISorter, ISorterValue } from '../smart-table.type';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SmartTableHeadComponent implements OnInit {
5
+ constructor();
6
+ columnFilter?: boolean | IColumnFilter;
7
+ columnFilterState: IColumnFilterValue;
8
+ columnSorter?: boolean | ISorter;
9
+ component?: string;
10
+ columns?: (IColumn | string)[];
11
+ selectable?: boolean;
12
+ selectAll?: boolean | string;
13
+ sorterValue?: ISorterValue;
14
+ columnFilterStateChange: EventEmitter<any>;
15
+ sorterStateChange: EventEmitter<any>;
16
+ selectAllChange: EventEmitter<any>;
17
+ get hostClasses(): {
18
+ thead: boolean;
19
+ tfoot: boolean;
20
+ };
21
+ ngOnInit(): void;
22
+ tableHeaderCellProps(column: IColumn | string): {};
23
+ tableHeaderCellColor(column: IColumn | string): string | undefined;
24
+ tableHeaderCellStyles(column: IColumn | string): any;
25
+ columnLabel(column: IColumn | string): string;
26
+ columnKey(column: IColumn | string): string;
27
+ getColumnSorterState(column: IColumn | string): string | number;
28
+ prettifyName(name: string): string;
29
+ handleSortClick(column: IColumn | string, i: number): void;
30
+ columnFilterEnabled(column: IColumn | string): boolean;
31
+ columnSorterEnabled(column: IColumn | string): boolean;
32
+ getColumnFilterValue($event: Event, column: IColumn | string): string;
33
+ handleSelectAllChecked($event: Event): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableHeadComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableHeadComponent, "c-smart-table-head", never, { "columnFilter": "columnFilter"; "columnFilterState": "columnFilterState"; "columnSorter": "columnSorter"; "component": "component"; "columns": "columns"; "selectable": "selectable"; "selectAll": "selectAll"; "sorterValue": "sorterValue"; }, { "columnFilterStateChange": "columnFilterStateChange"; "sorterStateChange": "sorterStateChange"; "selectAllChange": "selectAllChange"; }, never, never>;
36
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SmartTableItemsPerPageSelectorComponent {
4
+ constructor();
5
+ set itemsPerPage(value: number);
6
+ get itemsPerPage(): number;
7
+ private _itemsPerPage;
8
+ itemsPerPageLabel: string;
9
+ itemsPerPageOptions: number[];
10
+ itemsPerPageChange: EventEmitter<number>;
11
+ get hostClasses(): any;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableItemsPerPageSelectorComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableItemsPerPageSelectorComponent, "c-smart-table-items-per-page-selector", never, { "itemsPerPage": "itemsPerPage"; "itemsPerPageLabel": "itemsPerPageLabel"; "itemsPerPageOptions": "itemsPerPageOptions"; }, { "itemsPerPageChange": "itemsPerPageChange"; }, never, never>;
14
+ }
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./smart-table/smart-table.component";
3
+ import * as i2 from "./smart-table-filter/smart-table-filter.component";
4
+ import * as i3 from "./smart-table-items-per-page-selector/smart-table-items-per-page-selector.component";
5
+ import * as i4 from "./smart-table-head/smart-table-head.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "../element-cover/element-cover.module";
8
+ import * as i7 from "../table/table.module";
9
+ import * as i8 from "../pagination/pagination.module";
10
+ import * as i9 from "../smart-pagination/smart-pagination.module";
11
+ import * as i10 from "../form/form.module";
12
+ import * as i11 from "@angular/forms";
13
+ import * as i12 from "../button/button.module";
14
+ import * as i13 from "../shared/shared.module";
15
+ import * as i14 from "../utilities/utilities.module";
16
+ export declare class SmartTableModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartTableModule, [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent, typeof i3.SmartTableItemsPerPageSelectorComponent, typeof i4.SmartTableHeadComponent], [typeof i5.CommonModule, typeof i6.ElementCoverModule, typeof i7.TableModule, typeof i8.PaginationModule, typeof i9.SmartPaginationModule, typeof i10.FormModule, typeof i11.FormsModule, typeof i12.ButtonModule, typeof i13.SharedModule, typeof i11.ReactiveFormsModule, typeof i14.UtilitiesModule], [typeof i1.SmartTableComponent]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartTableModule>;
20
+ }