@coreui/angular 4.2.23 → 4.2.28

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 (579) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +212 -212
  3. package/esm2020/coreui-angular.mjs +4 -4
  4. package/esm2020/lib/accordion/accordion/accordion.component.mjs +39 -39
  5. package/esm2020/lib/accordion/accordion-button/accordion-button.directive.mjs +43 -43
  6. package/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +72 -72
  7. package/esm2020/lib/accordion/accordion.module.mjs +47 -47
  8. package/esm2020/lib/accordion/accordion.service.mjs +36 -36
  9. package/esm2020/lib/accordion/index.mjs +1 -1
  10. package/esm2020/lib/accordion/public_api.mjs +4 -4
  11. package/esm2020/lib/alert/alert-heading.directive.mjs +21 -21
  12. package/esm2020/lib/alert/alert-link.directive.mjs +21 -21
  13. package/esm2020/lib/alert/alert.component.mjs +181 -181
  14. package/esm2020/lib/alert/alert.module.mjs +37 -37
  15. package/esm2020/lib/alert/index.mjs +1 -1
  16. package/esm2020/lib/alert/public_api.mjs +4 -4
  17. package/esm2020/lib/avatar/avatar.component.mjs +48 -48
  18. package/esm2020/lib/avatar/avatar.module.mjs +23 -23
  19. package/esm2020/lib/avatar/index.mjs +1 -1
  20. package/esm2020/lib/avatar/public_api.mjs +3 -3
  21. package/esm2020/lib/backdrop/backdrop.service.mjs +58 -52
  22. package/esm2020/lib/badge/badge.component.mjs +41 -41
  23. package/esm2020/lib/badge/badge.module.mjs +23 -23
  24. package/esm2020/lib/badge/index.mjs +1 -1
  25. package/esm2020/lib/badge/public_api.mjs +2 -2
  26. package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +42 -42
  27. package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +37 -37
  28. package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.mjs +1 -1
  29. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +41 -41
  30. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +53 -53
  31. package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +36 -36
  32. package/esm2020/lib/breadcrumb/index.mjs +1 -1
  33. package/esm2020/lib/breadcrumb/public_api.mjs +6 -6
  34. package/esm2020/lib/button/button-close.directive.mjs +44 -44
  35. package/esm2020/lib/button/button.directive.mjs +112 -112
  36. package/esm2020/lib/button/button.module.mjs +28 -28
  37. package/esm2020/lib/button/index.mjs +1 -1
  38. package/esm2020/lib/button/public_api.mjs +3 -3
  39. package/esm2020/lib/button-group/button-group/button-group.component.mjs +40 -40
  40. package/esm2020/lib/button-group/button-group.module.mjs +28 -28
  41. package/esm2020/lib/button-group/button-toolbar/button-toolbar.component.mjs +34 -34
  42. package/esm2020/lib/button-group/index.mjs +1 -1
  43. package/esm2020/lib/button-group/public_api.mjs +3 -3
  44. package/esm2020/lib/callout/callout.component.mjs +23 -23
  45. package/esm2020/lib/callout/callout.module.mjs +19 -19
  46. package/esm2020/lib/callout/index.mjs +1 -1
  47. package/esm2020/lib/callout/public_api.mjs +2 -2
  48. package/esm2020/lib/card/card-body.component.mjs +21 -21
  49. package/esm2020/lib/card/card-footer.component.mjs +21 -21
  50. package/esm2020/lib/card/card-group.component.mjs +21 -21
  51. package/esm2020/lib/card/card-header-actions.component.mjs +19 -19
  52. package/esm2020/lib/card/card-header.component.mjs +21 -21
  53. package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +18 -18
  54. package/esm2020/lib/card/card-img.directive.mjs +24 -24
  55. package/esm2020/lib/card/card-link.directive.mjs +20 -20
  56. package/esm2020/lib/card/card-subtitle.directive.mjs +20 -20
  57. package/esm2020/lib/card/card-text.directive.mjs +20 -20
  58. package/esm2020/lib/card/card-title.directive.mjs +20 -20
  59. package/esm2020/lib/card/card.component.mjs +28 -28
  60. package/esm2020/lib/card/card.module.mjs +78 -78
  61. package/esm2020/lib/card/index.mjs +1 -1
  62. package/esm2020/lib/card/public_api.mjs +13 -13
  63. package/esm2020/lib/carousel/carousel/carousel.component.mjs +214 -214
  64. package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +16 -16
  65. package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +83 -83
  66. package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +44 -44
  67. package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +47 -47
  68. package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +68 -68
  69. package/esm2020/lib/carousel/carousel-state.mjs +77 -77
  70. package/esm2020/lib/carousel/carousel-state.type.mjs +1 -1
  71. package/esm2020/lib/carousel/carousel.animation.mjs +69 -69
  72. package/esm2020/lib/carousel/carousel.config.mjs +21 -21
  73. package/esm2020/lib/carousel/carousel.module.mjs +53 -53
  74. package/esm2020/lib/carousel/carousel.service.mjs +18 -18
  75. package/esm2020/lib/carousel/index.mjs +2 -2
  76. package/esm2020/lib/carousel/public_api.mjs +9 -9
  77. package/esm2020/lib/collapse/collapse.animations.mjs +18 -18
  78. package/esm2020/lib/collapse/collapse.directive.mjs +190 -190
  79. package/esm2020/lib/collapse/collapse.module.mjs +22 -22
  80. package/esm2020/lib/collapse/index.mjs +1 -1
  81. package/esm2020/lib/collapse/public_api.mjs +2 -2
  82. package/esm2020/lib/coreui.types.mjs +10 -10
  83. package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +374 -366
  84. package/esm2020/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +72 -72
  85. package/esm2020/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +22 -22
  86. package/esm2020/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +22 -22
  87. package/esm2020/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +22 -22
  88. package/esm2020/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +86 -86
  89. package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +81 -81
  90. package/esm2020/lib/dropdown/dropdown.module.mjs +64 -64
  91. package/esm2020/lib/dropdown/dropdown.service.mjs +17 -17
  92. package/esm2020/lib/dropdown/index.mjs +1 -1
  93. package/esm2020/lib/dropdown/public_api.mjs +10 -10
  94. package/esm2020/lib/footer/footer.component.mjs +37 -37
  95. package/esm2020/lib/footer/footer.module.mjs +23 -23
  96. package/esm2020/lib/footer/index.mjs +1 -1
  97. package/esm2020/lib/footer/public_api.mjs +2 -2
  98. package/esm2020/lib/form/form/form.directive.mjs +37 -37
  99. package/esm2020/lib/form/form-check/form-check-input.directive.mjs +62 -62
  100. package/esm2020/lib/form/form-check/form-check-label.directive.mjs +20 -20
  101. package/esm2020/lib/form/form-check/form-check.component.mjs +75 -75
  102. package/esm2020/lib/form/form-control/form-control.directive.mjs +70 -70
  103. package/esm2020/lib/form/form-feedback/form-feedback.component.mjs +42 -42
  104. package/esm2020/lib/form/form-floating/form-floating.directive.mjs +37 -37
  105. package/esm2020/lib/form/form-label/form-label.directive.mjs +39 -39
  106. package/esm2020/lib/form/form-select/form-select.directive.mjs +34 -34
  107. package/esm2020/lib/form/form-text/form-text.directive.mjs +21 -21
  108. package/esm2020/lib/form/form.module.mjs +76 -76
  109. package/esm2020/lib/form/index.mjs +1 -1
  110. package/esm2020/lib/form/input-group/input-group.component.mjs +30 -30
  111. package/esm2020/lib/form/input-group-text/input-group-text.directive.mjs +21 -21
  112. package/esm2020/lib/form/public_api.mjs +13 -13
  113. package/esm2020/lib/grid/col.component.mjs +11 -11
  114. package/esm2020/lib/grid/col.directive.mjs +156 -156
  115. package/esm2020/lib/grid/col.type.mjs +1 -1
  116. package/esm2020/lib/grid/container.component.mjs +42 -42
  117. package/esm2020/lib/grid/container.type.mjs +1 -1
  118. package/esm2020/lib/grid/grid.module.mjs +47 -47
  119. package/esm2020/lib/grid/gutter.directive.mjs +55 -55
  120. package/esm2020/lib/grid/gutter.type.mjs +1 -1
  121. package/esm2020/lib/grid/index.mjs +1 -1
  122. package/esm2020/lib/grid/public_api.mjs +7 -7
  123. package/esm2020/lib/grid/row.component.mjs +11 -11
  124. package/esm2020/lib/grid/row.directive.mjs +44 -44
  125. package/esm2020/lib/grid/row.type.mjs +1 -1
  126. package/esm2020/lib/header/header/header.component.mjs +47 -47
  127. package/esm2020/lib/header/header-brand/header-brand.component.mjs +30 -30
  128. package/esm2020/lib/header/header-divider/header-divider.component.mjs +19 -19
  129. package/esm2020/lib/header/header-nav/header-nav.component.mjs +27 -27
  130. package/esm2020/lib/header/header-text/header-text.component.mjs +19 -19
  131. package/esm2020/lib/header/header-toggler/header-toggler.directive.mjs +53 -53
  132. package/esm2020/lib/header/header.module.mjs +48 -48
  133. package/esm2020/lib/header/index.mjs +1 -1
  134. package/esm2020/lib/header/public_api.mjs +7 -7
  135. package/esm2020/lib/image/img.directive.mjs +91 -91
  136. package/esm2020/lib/image/img.module.mjs +23 -23
  137. package/esm2020/lib/image/index.mjs +1 -1
  138. package/esm2020/lib/image/public_api.mjs +2 -2
  139. package/esm2020/lib/list-group/index.mjs +1 -1
  140. package/esm2020/lib/list-group/list-group-item.directive.mjs +72 -72
  141. package/esm2020/lib/list-group/list-group.directive.mjs +43 -43
  142. package/esm2020/lib/list-group/list-group.module.mjs +24 -24
  143. package/esm2020/lib/list-group/public_api.mjs +3 -3
  144. package/esm2020/lib/modal/index.mjs +1 -1
  145. package/esm2020/lib/modal/modal/modal.component.mjs +305 -311
  146. package/esm2020/lib/modal/modal-body/modal-body.component.mjs +18 -18
  147. package/esm2020/lib/modal/modal-content/modal-content.component.mjs +23 -23
  148. package/esm2020/lib/modal/modal-dialog/modal-dialog.component.mjs +31 -31
  149. package/esm2020/lib/modal/modal-dismiss/modal-toggle.directive.mjs +26 -26
  150. package/esm2020/lib/modal/modal-footer/modal-footer.component.mjs +21 -21
  151. package/esm2020/lib/modal/modal-header/modal-header.component.mjs +21 -21
  152. package/esm2020/lib/modal/modal-title/modal-title.directive.mjs +20 -20
  153. package/esm2020/lib/modal/modal.module.mjs +68 -68
  154. package/esm2020/lib/modal/modal.service.mjs +20 -20
  155. package/esm2020/lib/modal/public_api.mjs +10 -10
  156. package/esm2020/lib/nav/index.mjs +1 -1
  157. package/esm2020/lib/nav/nav-item.component.mjs +18 -18
  158. package/esm2020/lib/nav/nav-link.directive.mjs +87 -87
  159. package/esm2020/lib/nav/nav.component.mjs +24 -24
  160. package/esm2020/lib/nav/nav.module.mjs +21 -21
  161. package/esm2020/lib/nav/public_api.mjs +4 -4
  162. package/esm2020/lib/navbar/index.mjs +1 -1
  163. package/esm2020/lib/navbar/navbar-brand/navbar-brand.directive.mjs +22 -22
  164. package/esm2020/lib/navbar/navbar-nav/navbar-nav.component.mjs +39 -39
  165. package/esm2020/lib/navbar/navbar-text/navbar-text.component.mjs +19 -19
  166. package/esm2020/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +62 -62
  167. package/esm2020/lib/navbar/navbar.component.mjs +84 -84
  168. package/esm2020/lib/navbar/navbar.module.mjs +47 -47
  169. package/esm2020/lib/navbar/public_api.mjs +6 -6
  170. package/esm2020/lib/offcanvas/index.mjs +1 -1
  171. package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +316 -244
  172. package/esm2020/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +18 -18
  173. package/esm2020/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +18 -18
  174. package/esm2020/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +20 -20
  175. package/esm2020/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +26 -26
  176. package/esm2020/lib/offcanvas/offcanvas.module.mjs +56 -56
  177. package/esm2020/lib/offcanvas/offcanvas.service.mjs +20 -20
  178. package/esm2020/lib/offcanvas/public_api.mjs +7 -7
  179. package/esm2020/lib/pagination/index.mjs +1 -1
  180. package/esm2020/lib/pagination/page-item/page-item.component.mjs +11 -11
  181. package/esm2020/lib/pagination/page-item/page-item.directive.mjs +62 -62
  182. package/esm2020/lib/pagination/page-link/page-link.directive.mjs +20 -20
  183. package/esm2020/lib/pagination/pagination/pagination.component.mjs +40 -40
  184. package/esm2020/lib/pagination/pagination.module.mjs +38 -38
  185. package/esm2020/lib/pagination/public_api.mjs +5 -5
  186. package/esm2020/lib/placeholder/index.mjs +2 -2
  187. package/esm2020/lib/placeholder/placeholder-animation.directive.mjs +34 -34
  188. package/esm2020/lib/placeholder/placeholder.directive.mjs +51 -51
  189. package/esm2020/lib/placeholder/placeholder.module.mjs +29 -29
  190. package/esm2020/lib/placeholder/public_api.mjs +4 -4
  191. package/esm2020/lib/popover/index.mjs +1 -1
  192. package/esm2020/lib/popover/popover/popover.component.mjs +92 -92
  193. package/esm2020/lib/popover/popover.directive.mjs +196 -196
  194. package/esm2020/lib/popover/popover.module.mjs +28 -28
  195. package/esm2020/lib/popover/public_api.mjs +3 -3
  196. package/esm2020/lib/progress/index.mjs +1 -1
  197. package/esm2020/lib/progress/progress-bar.component.mjs +111 -111
  198. package/esm2020/lib/progress/progress-bar.mjs +1 -1
  199. package/esm2020/lib/progress/progress.component.mjs +71 -71
  200. package/esm2020/lib/progress/progress.module.mjs +24 -24
  201. package/esm2020/lib/progress/public_api.mjs +3 -3
  202. package/esm2020/lib/services/class-toggle.service.mjs +29 -29
  203. package/esm2020/lib/services/index.mjs +1 -1
  204. package/esm2020/lib/services/intersection.service.mjs +34 -34
  205. package/esm2020/lib/services/listeners.service.mjs +42 -42
  206. package/esm2020/lib/services/public_api.mjs +3 -3
  207. package/esm2020/lib/shared/html-attr.directive.mjs +52 -52
  208. package/esm2020/lib/shared/index.mjs +1 -1
  209. package/esm2020/lib/shared/public_api.mjs +3 -3
  210. package/esm2020/lib/shared/shared.module.mjs +45 -45
  211. package/esm2020/lib/shared/template-id.directive.mjs +18 -18
  212. package/esm2020/lib/sidebar/index.mjs +1 -1
  213. package/esm2020/lib/sidebar/public_api.mjs +9 -9
  214. package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +244 -244
  215. package/esm2020/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +59 -59
  216. package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +29 -29
  217. package/esm2020/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +19 -19
  218. package/esm2020/lib/sidebar/sidebar-header/sidebar-header.component.mjs +19 -19
  219. package/esm2020/lib/sidebar/sidebar-nav/index.mjs +1 -1
  220. package/esm2020/lib/sidebar/sidebar-nav/public_api.mjs +13 -13
  221. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +23 -23
  222. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +18 -18
  223. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +18 -18
  224. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +21 -21
  225. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +33 -33
  226. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +43 -43
  227. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +94 -94
  228. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +23 -23
  229. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +68 -68
  230. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +204 -204
  231. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.mjs +2 -2
  232. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +54 -54
  233. package/esm2020/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +39 -39
  234. package/esm2020/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +25 -25
  235. package/esm2020/lib/sidebar/sidebar.module.mjs +99 -99
  236. package/esm2020/lib/sidebar/sidebar.service.mjs +20 -20
  237. package/esm2020/lib/spinner/index.mjs +1 -1
  238. package/esm2020/lib/spinner/public_api.mjs +2 -2
  239. package/esm2020/lib/spinner/spinner.component.mjs +49 -49
  240. package/esm2020/lib/spinner/spinner.module.mjs +27 -27
  241. package/esm2020/lib/table/index.mjs +1 -1
  242. package/esm2020/lib/table/public_api.mjs +4 -4
  243. package/esm2020/lib/table/table-active.directive.mjs +39 -39
  244. package/esm2020/lib/table/table-color.directive.mjs +23 -23
  245. package/esm2020/lib/table/table.directive.mjs +147 -147
  246. package/esm2020/lib/table/table.module.mjs +33 -33
  247. package/esm2020/lib/tabs/index.mjs +1 -1
  248. package/esm2020/lib/tabs/public_api.mjs +5 -5
  249. package/esm2020/lib/tabs/tab-content/tab-content.component.mjs +92 -92
  250. package/esm2020/lib/tabs/tab-content-ref.directive.mjs +128 -128
  251. package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +56 -56
  252. package/esm2020/lib/tabs/tab.service.mjs +20 -20
  253. package/esm2020/lib/tabs/tabs.module.mjs +39 -39
  254. package/esm2020/lib/toast/index.mjs +1 -1
  255. package/esm2020/lib/toast/public_api.mjs +8 -8
  256. package/esm2020/lib/toast/toast/toast.component.mjs +238 -238
  257. package/esm2020/lib/toast/toast-body/toast-body.component.mjs +20 -20
  258. package/esm2020/lib/toast/toast-close.directive.mjs +27 -27
  259. package/esm2020/lib/toast/toast-header/toast-header.component.mjs +31 -31
  260. package/esm2020/lib/toast/toast.module.mjs +49 -49
  261. package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +16 -16
  262. package/esm2020/lib/toast/toaster/toaster.component.mjs +140 -140
  263. package/esm2020/lib/toast/toaster/toaster.service.mjs +20 -20
  264. package/esm2020/lib/tooltip/index.mjs +1 -1
  265. package/esm2020/lib/tooltip/public_api.mjs +3 -3
  266. package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +88 -88
  267. package/esm2020/lib/tooltip/tooltip.directive.mjs +191 -191
  268. package/esm2020/lib/tooltip/tooltip.module.mjs +28 -28
  269. package/esm2020/lib/utilities/align.directive.mjs +23 -23
  270. package/esm2020/lib/utilities/bg-color.directive.mjs +32 -32
  271. package/esm2020/lib/utilities/border.directive.mjs +65 -65
  272. package/esm2020/lib/utilities/border.type.mjs +1 -1
  273. package/esm2020/lib/utilities/index.mjs +1 -1
  274. package/esm2020/lib/utilities/public_api.mjs +6 -6
  275. package/esm2020/lib/utilities/rounded.directive.mjs +65 -65
  276. package/esm2020/lib/utilities/rounded.type.mjs +1 -1
  277. package/esm2020/lib/utilities/text-color.directive.mjs +31 -31
  278. package/esm2020/lib/utilities/utilities.module.mjs +43 -43
  279. package/esm2020/lib/widget/index.mjs +2 -2
  280. package/esm2020/lib/widget/public_api.mjs +7 -7
  281. package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +48 -48
  282. package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +52 -52
  283. package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +79 -79
  284. package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +38 -38
  285. package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +29 -29
  286. package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +92 -92
  287. package/esm2020/lib/widget/widget.module.mjs +56 -56
  288. package/esm2020/public-api.mjs +41 -41
  289. package/fesm2015/coreui-angular.mjs +9774 -9696
  290. package/fesm2015/coreui-angular.mjs.map +1 -1
  291. package/fesm2020/coreui-angular.mjs +9706 -9630
  292. package/fesm2020/coreui-angular.mjs.map +1 -1
  293. package/index.d.ts +5 -5
  294. package/lib/accordion/accordion/accordion.component.d.ts +22 -22
  295. package/lib/accordion/accordion-button/accordion-button.directive.d.ts +18 -18
  296. package/lib/accordion/accordion-item/accordion-item.component.d.ts +33 -33
  297. package/lib/accordion/accordion.module.d.ts +12 -12
  298. package/lib/accordion/accordion.service.d.ts +13 -13
  299. package/lib/accordion/index.d.ts +1 -1
  300. package/lib/accordion/public_api.d.ts +4 -4
  301. package/lib/alert/alert-heading.directive.d.ts +7 -7
  302. package/lib/alert/alert-link.directive.d.ts +7 -7
  303. package/lib/alert/alert.component.d.ts +68 -68
  304. package/lib/alert/alert.module.d.ts +11 -11
  305. package/lib/alert/index.d.ts +1 -1
  306. package/lib/alert/public_api.d.ts +4 -4
  307. package/lib/avatar/avatar.component.d.ts +40 -40
  308. package/lib/avatar/avatar.module.d.ts +8 -8
  309. package/lib/avatar/index.d.ts +1 -1
  310. package/lib/avatar/public_api.d.ts +2 -2
  311. package/lib/backdrop/backdrop.service.d.ts +17 -16
  312. package/lib/badge/badge.component.d.ts +32 -32
  313. package/lib/badge/badge.module.d.ts +8 -8
  314. package/lib/badge/index.d.ts +1 -1
  315. package/lib/badge/public_api.d.ts +2 -2
  316. package/lib/breadcrumb/breadcrumb/breadcrumb.component.d.ts +21 -21
  317. package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.d.ts +28 -28
  318. package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +9 -9
  319. package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.d.ts +21 -21
  320. package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +14 -14
  321. package/lib/breadcrumb/breadcrumb.module.d.ts +12 -12
  322. package/lib/breadcrumb/index.d.ts +1 -1
  323. package/lib/breadcrumb/public_api.d.ts +6 -6
  324. package/lib/button/button-close.directive.d.ts +16 -16
  325. package/lib/button/button.directive.d.ts +54 -54
  326. package/lib/button/button.module.d.ts +9 -9
  327. package/lib/button/index.d.ts +1 -1
  328. package/lib/button/public_api.d.ts +3 -3
  329. package/lib/button-group/button-group/button-group.component.d.ts +23 -23
  330. package/lib/button-group/button-group.module.d.ts +9 -9
  331. package/lib/button-group/button-toolbar/button-toolbar.component.d.ts +13 -13
  332. package/lib/button-group/index.d.ts +1 -1
  333. package/lib/button-group/public_api.d.ts +3 -3
  334. package/lib/callout/callout.component.d.ts +13 -13
  335. package/lib/callout/callout.module.d.ts +8 -8
  336. package/lib/callout/index.d.ts +1 -1
  337. package/lib/callout/public_api.d.ts +2 -2
  338. package/lib/card/card-body.component.d.ts +6 -6
  339. package/lib/card/card-footer.component.d.ts +6 -6
  340. package/lib/card/card-group.component.d.ts +6 -6
  341. package/lib/card/card-header-actions.component.d.ts +6 -6
  342. package/lib/card/card-header.component.d.ts +6 -6
  343. package/lib/card/card-img-overlay/card-img-overlay.component.d.ts +6 -6
  344. package/lib/card/card-img.directive.d.ts +11 -11
  345. package/lib/card/card-link.directive.d.ts +6 -6
  346. package/lib/card/card-subtitle.directive.d.ts +6 -6
  347. package/lib/card/card-text.directive.d.ts +6 -6
  348. package/lib/card/card-title.directive.d.ts +6 -6
  349. package/lib/card/card.component.d.ts +18 -18
  350. package/lib/card/card.module.d.ts +19 -19
  351. package/lib/card/index.d.ts +1 -1
  352. package/lib/card/public_api.d.ts +13 -13
  353. package/lib/carousel/carousel/carousel.component.d.ts +92 -92
  354. package/lib/carousel/carousel-caption/carousel-caption.component.d.ts +7 -7
  355. package/lib/carousel/carousel-control/carousel-control.component.d.ts +31 -31
  356. package/lib/carousel/carousel-indicators/carousel-indicators.component.d.ts +18 -18
  357. package/lib/carousel/carousel-inner/carousel-inner.component.d.ts +21 -21
  358. package/lib/carousel/carousel-item/carousel-item.component.d.ts +30 -30
  359. package/lib/carousel/carousel-state.d.ts +16 -16
  360. package/lib/carousel/carousel-state.type.d.ts +15 -15
  361. package/lib/carousel/carousel.animation.d.ts +4 -4
  362. package/lib/carousel/carousel.config.d.ts +10 -10
  363. package/lib/carousel/carousel.module.d.ts +15 -15
  364. package/lib/carousel/carousel.service.d.ts +14 -14
  365. package/lib/carousel/index.d.ts +1 -1
  366. package/lib/carousel/public_api.d.ts +8 -8
  367. package/lib/collapse/collapse.animations.d.ts +4 -4
  368. package/lib/collapse/collapse.directive.d.ts +65 -65
  369. package/lib/collapse/collapse.module.d.ts +10 -10
  370. package/lib/collapse/index.d.ts +1 -1
  371. package/lib/collapse/public_api.d.ts +2 -2
  372. package/lib/coreui.types.d.ts +46 -46
  373. package/lib/dropdown/dropdown/dropdown.component.d.ts +136 -135
  374. package/lib/dropdown/dropdown-close/dropdown-close.directive.d.ts +26 -26
  375. package/lib/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +7 -7
  376. package/lib/dropdown/dropdown-header/dropdown-header.directive.d.ts +7 -7
  377. package/lib/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +7 -7
  378. package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +36 -36
  379. package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +36 -36
  380. package/lib/dropdown/dropdown.module.d.ts +14 -14
  381. package/lib/dropdown/dropdown.service.d.ts +13 -13
  382. package/lib/dropdown/index.d.ts +1 -1
  383. package/lib/dropdown/public_api.d.ts +9 -9
  384. package/lib/footer/footer.component.d.ts +18 -18
  385. package/lib/footer/footer.module.d.ts +8 -8
  386. package/lib/footer/index.d.ts +1 -1
  387. package/lib/footer/public_api.d.ts +2 -2
  388. package/lib/form/form/form.directive.d.ts +17 -17
  389. package/lib/form/form-check/form-check-input.directive.d.ts +31 -31
  390. package/lib/form/form-check/form-check-label.directive.d.ts +6 -6
  391. package/lib/form/form-check/form-check.component.d.ts +36 -36
  392. package/lib/form/form-control/form-control.directive.d.ts +34 -34
  393. package/lib/form/form-feedback/form-feedback.component.d.ts +18 -18
  394. package/lib/form/form-floating/form-floating.directive.d.ts +16 -16
  395. package/lib/form/form-label/form-label.directive.d.ts +16 -16
  396. package/lib/form/form-select/form-select.directive.d.ts +16 -16
  397. package/lib/form/form-text/form-text.directive.d.ts +7 -7
  398. package/lib/form/form.module.d.ts +19 -19
  399. package/lib/form/index.d.ts +1 -1
  400. package/lib/form/input-group/input-group.component.d.ts +11 -11
  401. package/lib/form/input-group-text/input-group-text.directive.d.ts +7 -7
  402. package/lib/form/public_api.d.ts +13 -13
  403. package/lib/grid/col.component.d.ts +6 -6
  404. package/lib/grid/col.directive.d.ts +75 -75
  405. package/lib/grid/col.type.d.ts +11 -11
  406. package/lib/grid/container.component.d.ts +20 -20
  407. package/lib/grid/container.type.d.ts +5 -5
  408. package/lib/grid/grid.module.d.ts +13 -13
  409. package/lib/grid/gutter.directive.d.ts +13 -13
  410. package/lib/grid/gutter.type.d.ts +13 -13
  411. package/lib/grid/index.d.ts +1 -1
  412. package/lib/grid/public_api.d.ts +7 -7
  413. package/lib/grid/row.component.d.ts +6 -6
  414. package/lib/grid/row.directive.d.ts +37 -37
  415. package/lib/grid/row.type.d.ts +9 -9
  416. package/lib/header/header/header.component.d.ts +25 -25
  417. package/lib/header/header-brand/header-brand.component.d.ts +12 -12
  418. package/lib/header/header-divider/header-divider.component.d.ts +6 -6
  419. package/lib/header/header-nav/header-nav.component.d.ts +12 -12
  420. package/lib/header/header-text/header-text.component.d.ts +6 -6
  421. package/lib/header/header-toggler/header-toggler.directive.d.ts +25 -25
  422. package/lib/header/header.module.d.ts +13 -13
  423. package/lib/header/index.d.ts +1 -1
  424. package/lib/header/public_api.d.ts +7 -7
  425. package/lib/image/img.directive.d.ts +42 -42
  426. package/lib/image/img.module.d.ts +8 -8
  427. package/lib/image/index.d.ts +1 -1
  428. package/lib/image/public_api.d.ts +2 -2
  429. package/lib/list-group/index.d.ts +1 -1
  430. package/lib/list-group/list-group-item.directive.d.ts +33 -33
  431. package/lib/list-group/list-group.directive.d.ts +21 -21
  432. package/lib/list-group/list-group.module.d.ts +9 -9
  433. package/lib/list-group/public_api.d.ts +3 -3
  434. package/lib/modal/index.d.ts +1 -1
  435. package/lib/modal/modal/modal.component.d.ts +103 -104
  436. package/lib/modal/modal-body/modal-body.component.d.ts +6 -6
  437. package/lib/modal/modal-content/modal-content.component.d.ts +7 -7
  438. package/lib/modal/modal-dialog/modal-dialog.component.d.ts +25 -25
  439. package/lib/modal/modal-dismiss/modal-toggle.directive.d.ts +13 -13
  440. package/lib/modal/modal-footer/modal-footer.component.d.ts +6 -6
  441. package/lib/modal/modal-header/modal-header.component.d.ts +6 -6
  442. package/lib/modal/modal-title/modal-title.directive.d.ts +6 -6
  443. package/lib/modal/modal.module.d.ts +16 -16
  444. package/lib/modal/modal.service.d.ts +15 -15
  445. package/lib/modal/public_api.d.ts +10 -10
  446. package/lib/nav/index.d.ts +1 -1
  447. package/lib/nav/nav-item.component.d.ts +6 -6
  448. package/lib/nav/nav-link.directive.d.ts +34 -34
  449. package/lib/nav/nav.component.d.ts +16 -16
  450. package/lib/nav/nav.module.d.ts +10 -10
  451. package/lib/nav/public_api.d.ts +4 -4
  452. package/lib/navbar/index.d.ts +1 -1
  453. package/lib/navbar/navbar-brand/navbar-brand.directive.d.ts +7 -7
  454. package/lib/navbar/navbar-nav/navbar-nav.component.d.ts +15 -15
  455. package/lib/navbar/navbar-text/navbar-text.component.d.ts +6 -6
  456. package/lib/navbar/navbar-toggler/navbar-toggler.directive.d.ts +33 -33
  457. package/lib/navbar/navbar.component.d.ts +39 -39
  458. package/lib/navbar/navbar.module.d.ts +13 -13
  459. package/lib/navbar/public_api.d.ts +6 -6
  460. package/lib/offcanvas/index.d.ts +1 -1
  461. package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +94 -82
  462. package/lib/offcanvas/offcanvas-body/offcanvas-body.component.d.ts +6 -6
  463. package/lib/offcanvas/offcanvas-header/offcanvas-header.component.d.ts +6 -6
  464. package/lib/offcanvas/offcanvas-title/offcanvas-title.directive.d.ts +6 -6
  465. package/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.d.ts +14 -14
  466. package/lib/offcanvas/offcanvas.module.d.ts +13 -13
  467. package/lib/offcanvas/offcanvas.service.d.ts +15 -15
  468. package/lib/offcanvas/public_api.d.ts +7 -7
  469. package/lib/pagination/index.d.ts +1 -1
  470. package/lib/pagination/page-item/page-item.component.d.ts +6 -6
  471. package/lib/pagination/page-item/page-item.directive.d.ts +24 -24
  472. package/lib/pagination/page-link/page-link.directive.d.ts +6 -6
  473. package/lib/pagination/pagination/pagination.component.d.ts +22 -22
  474. package/lib/pagination/pagination.module.d.ts +11 -11
  475. package/lib/pagination/public_api.d.ts +5 -5
  476. package/lib/placeholder/index.d.ts +1 -1
  477. package/lib/placeholder/placeholder-animation.directive.d.ts +18 -18
  478. package/lib/placeholder/placeholder.directive.d.ts +22 -22
  479. package/lib/placeholder/placeholder.module.d.ts +9 -9
  480. package/lib/placeholder/public_api.d.ts +3 -3
  481. package/lib/popover/index.d.ts +1 -1
  482. package/lib/popover/popover/popover.component.d.ts +30 -30
  483. package/lib/popover/popover.directive.d.ts +58 -58
  484. package/lib/popover/popover.module.d.ts +9 -9
  485. package/lib/popover/public_api.d.ts +3 -3
  486. package/lib/progress/index.d.ts +1 -1
  487. package/lib/progress/progress-bar.component.d.ts +52 -52
  488. package/lib/progress/progress-bar.d.ts +10 -10
  489. package/lib/progress/progress.component.d.ts +32 -32
  490. package/lib/progress/progress.module.d.ts +9 -9
  491. package/lib/progress/public_api.d.ts +4 -4
  492. package/lib/services/class-toggle.service.d.ts +11 -11
  493. package/lib/services/index.d.ts +1 -1
  494. package/lib/services/intersection.service.d.ts +22 -22
  495. package/lib/services/listeners.service.d.ts +19 -19
  496. package/lib/services/public_api.d.ts +2 -2
  497. package/lib/shared/html-attr.directive.d.ts +16 -16
  498. package/lib/shared/index.d.ts +1 -1
  499. package/lib/shared/public_api.d.ts +3 -3
  500. package/lib/shared/shared.module.d.ts +11 -11
  501. package/lib/shared/template-id.directive.d.ts +9 -9
  502. package/lib/sidebar/index.d.ts +1 -1
  503. package/lib/sidebar/public_api.d.ts +9 -9
  504. package/lib/sidebar/sidebar/sidebar.component.d.ts +85 -85
  505. package/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.d.ts +16 -16
  506. package/lib/sidebar/sidebar-brand/sidebar-brand.component.d.ts +12 -12
  507. package/lib/sidebar/sidebar-footer/sidebar-footer.component.d.ts +7 -7
  508. package/lib/sidebar/sidebar-header/sidebar-header.component.d.ts +7 -7
  509. package/lib/sidebar/sidebar-nav/index.d.ts +1 -1
  510. package/lib/sidebar/sidebar-nav/public_api.d.ts +12 -12
  511. package/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.d.ts +7 -7
  512. package/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.d.ts +7 -7
  513. package/lib/sidebar/sidebar-nav/sidebar-nav-group.service.d.ts +14 -14
  514. package/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.d.ts +7 -7
  515. package/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.d.ts +10 -10
  516. package/lib/sidebar/sidebar-nav/sidebar-nav-label.component.d.ts +18 -18
  517. package/lib/sidebar/sidebar-nav/sidebar-nav-link.component.d.ts +34 -34
  518. package/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.d.ts +7 -7
  519. package/lib/sidebar/sidebar-nav/sidebar-nav-title.component.d.ts +15 -15
  520. package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +59 -59
  521. package/lib/sidebar/sidebar-nav/sidebar-nav.d.ts +53 -53
  522. package/lib/sidebar/sidebar-nav/sidebar-nav.service.d.ts +20 -20
  523. package/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.d.ts +25 -25
  524. package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +7 -7
  525. package/lib/sidebar/sidebar.module.d.ts +25 -25
  526. package/lib/sidebar/sidebar.service.d.ts +19 -19
  527. package/lib/spinner/index.d.ts +1 -1
  528. package/lib/spinner/public_api.d.ts +2 -2
  529. package/lib/spinner/spinner.component.d.ts +31 -31
  530. package/lib/spinner/spinner.module.d.ts +9 -9
  531. package/lib/table/index.d.ts +1 -1
  532. package/lib/table/public_api.d.ts +4 -4
  533. package/lib/table/table-active.directive.d.ts +16 -16
  534. package/lib/table/table-color.directive.d.ts +12 -12
  535. package/lib/table/table.directive.d.ts +89 -89
  536. package/lib/table/table.module.d.ts +10 -10
  537. package/lib/tabs/index.d.ts +1 -1
  538. package/lib/tabs/public_api.d.ts +5 -5
  539. package/lib/tabs/tab-content/tab-content.component.d.ts +33 -33
  540. package/lib/tabs/tab-content-ref.directive.d.ts +50 -50
  541. package/lib/tabs/tab-pane/tab-pane.component.d.ts +26 -26
  542. package/lib/tabs/tab.service.d.ts +14 -14
  543. package/lib/tabs/tabs.module.d.ts +10 -10
  544. package/lib/toast/index.d.ts +1 -1
  545. package/lib/toast/public_api.d.ts +8 -8
  546. package/lib/toast/toast/toast.component.d.ts +84 -84
  547. package/lib/toast/toast-body/toast-body.component.d.ts +9 -9
  548. package/lib/toast/toast-close.directive.d.ts +10 -10
  549. package/lib/toast/toast-header/toast-header.component.d.ts +14 -14
  550. package/lib/toast/toast.module.d.ts +14 -14
  551. package/lib/toast/toaster/toaster-host.directive.d.ts +8 -8
  552. package/lib/toast/toaster/toaster.component.d.ts +55 -55
  553. package/lib/toast/toaster/toaster.service.d.ts +16 -16
  554. package/lib/tooltip/index.d.ts +1 -1
  555. package/lib/tooltip/public_api.d.ts +3 -3
  556. package/lib/tooltip/tooltip/tooltip.component.d.ts +30 -30
  557. package/lib/tooltip/tooltip.directive.d.ts +58 -58
  558. package/lib/tooltip/tooltip.module.d.ts +9 -9
  559. package/lib/utilities/align.directive.d.ts +12 -12
  560. package/lib/utilities/bg-color.directive.d.ts +17 -17
  561. package/lib/utilities/border.directive.d.ts +12 -12
  562. package/lib/utilities/border.type.d.ts +15 -15
  563. package/lib/utilities/index.d.ts +1 -1
  564. package/lib/utilities/public_api.d.ts +6 -6
  565. package/lib/utilities/rounded.directive.d.ts +12 -12
  566. package/lib/utilities/rounded.type.d.ts +12 -12
  567. package/lib/utilities/text-color.directive.d.ts +13 -13
  568. package/lib/utilities/utilities.module.d.ts +12 -12
  569. package/lib/widget/index.d.ts +1 -1
  570. package/lib/widget/public_api.d.ts +7 -7
  571. package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +37 -37
  572. package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +47 -47
  573. package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +58 -58
  574. package/lib/widget/widget-stat-d/widget-stat-d.component.d.ts +31 -31
  575. package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +24 -24
  576. package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +77 -77
  577. package/lib/widget/widget.module.d.ts +15 -15
  578. package/package.json +1 -1
  579. package/public-api.d.ts +37 -37
@@ -1,49 +1,49 @@
1
- import { Component, ContentChildren, HostBinding, Input } from '@angular/core';
2
- import { TemplateIdDirective } from '../../shared';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "../../card/card-body.component";
6
- export class WidgetStatAComponent {
7
- constructor() {
8
- this.templates = {};
9
- }
10
- get hostClasses() {
11
- return {
12
- 'card': true,
13
- [`bg-${this.color}`]: !!this.color,
14
- 'text-high-emphasis-inverse': !!this.color
15
- };
16
- }
17
- get bodyClasses() {
18
- return {
19
- 'pb-0': true,
20
- 'd-flex': true,
21
- 'justify-content-between': true,
22
- 'align-items-start': true,
23
- };
24
- }
25
- ngAfterContentInit() {
26
- this.contentTemplates.forEach((child) => {
27
- this.templates[child.id] = child.templateRef;
28
- });
29
- }
30
- }
31
- WidgetStatAComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatAComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
- WidgetStatAComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatAComponent, selector: "c-widget-stat-a", inputs: { color: "color", title: "title", value: "value" }, host: { properties: { "class": "this.hostClasses" } }, queries: [{ propertyName: "contentTemplates", predicate: TemplateIdDirective, descendants: true }], exportAs: ["cWidgetStatA"], ngImport: i0, template: "<ng-container>\n <c-card-body [ngClass]=\"bodyClasses\">\n <div>\n <div *ngIf=\"!!value || templates?.widgetValueTemplate\" class=\"fs-4 fw-semibold\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetValueTemplate || defaultWidgetValueTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!title || templates?.widgetTitleTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetTitleTemplate || defaultWidgetTitleTemplate\"></ng-container>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"templates?.widgetActionTemplate || defaultWidgetActionTemplate\"></ng-container>\n </c-card-body>\n <ng-container *ngTemplateOutlet=\"templates?.widgetChartTemplate || defaultWidgetChartTemplate\"></ng-container>\n</ng-container>\n\n<ng-template #defaultWidgetTitleTemplate>\n {{title}}\n</ng-template>\n\n<ng-template #defaultWidgetValueTemplate>\n {{value}}\n</ng-template>\n\n<ng-template #defaultWidgetChartTemplate>\n <ng-content select=\".chart-wrapper\"></ng-content>\n</ng-template>\n\n<ng-template #defaultWidgetActionTemplate>\n <ng-content></ng-content>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatAComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'c-widget-stat-a', exportAs: 'cWidgetStatA', template: "<ng-container>\n <c-card-body [ngClass]=\"bodyClasses\">\n <div>\n <div *ngIf=\"!!value || templates?.widgetValueTemplate\" class=\"fs-4 fw-semibold\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetValueTemplate || defaultWidgetValueTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!title || templates?.widgetTitleTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetTitleTemplate || defaultWidgetTitleTemplate\"></ng-container>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"templates?.widgetActionTemplate || defaultWidgetActionTemplate\"></ng-container>\n </c-card-body>\n <ng-container *ngTemplateOutlet=\"templates?.widgetChartTemplate || defaultWidgetChartTemplate\"></ng-container>\n</ng-container>\n\n<ng-template #defaultWidgetTitleTemplate>\n {{title}}\n</ng-template>\n\n<ng-template #defaultWidgetValueTemplate>\n {{value}}\n</ng-template>\n\n<ng-template #defaultWidgetChartTemplate>\n <ng-content select=\".chart-wrapper\"></ng-content>\n</ng-template>\n\n<ng-template #defaultWidgetActionTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }]
36
- }], propDecorators: { color: [{
37
- type: Input
38
- }], title: [{
39
- type: Input
40
- }], value: [{
41
- type: Input
42
- }], contentTemplates: [{
43
- type: ContentChildren,
44
- args: [TemplateIdDirective, { descendants: true }]
45
- }], hostClasses: [{
46
- type: HostBinding,
47
- args: ['class']
48
- }] } });
1
+ import { Component, ContentChildren, HostBinding, Input } from '@angular/core';
2
+ import { TemplateIdDirective } from '../../shared';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "../../card/card-body.component";
6
+ export class WidgetStatAComponent {
7
+ constructor() {
8
+ this.templates = {};
9
+ }
10
+ get hostClasses() {
11
+ return {
12
+ 'card': true,
13
+ [`bg-${this.color}`]: !!this.color,
14
+ 'text-high-emphasis-inverse': !!this.color
15
+ };
16
+ }
17
+ get bodyClasses() {
18
+ return {
19
+ 'pb-0': true,
20
+ 'd-flex': true,
21
+ 'justify-content-between': true,
22
+ 'align-items-start': true,
23
+ };
24
+ }
25
+ ngAfterContentInit() {
26
+ this.contentTemplates.forEach((child) => {
27
+ this.templates[child.id] = child.templateRef;
28
+ });
29
+ }
30
+ }
31
+ WidgetStatAComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatAComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
+ WidgetStatAComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatAComponent, selector: "c-widget-stat-a", inputs: { color: "color", title: "title", value: "value" }, host: { properties: { "class": "this.hostClasses" } }, queries: [{ propertyName: "contentTemplates", predicate: TemplateIdDirective, descendants: true }], exportAs: ["cWidgetStatA"], ngImport: i0, template: "<ng-container>\n <c-card-body [ngClass]=\"bodyClasses\">\n <div>\n <div *ngIf=\"!!value || templates?.widgetValueTemplate\" class=\"fs-4 fw-semibold\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetValueTemplate || defaultWidgetValueTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!title || templates?.widgetTitleTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetTitleTemplate || defaultWidgetTitleTemplate\"></ng-container>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"templates?.widgetActionTemplate || defaultWidgetActionTemplate\"></ng-container>\n </c-card-body>\n <ng-container *ngTemplateOutlet=\"templates?.widgetChartTemplate || defaultWidgetChartTemplate\"></ng-container>\n</ng-container>\n\n<ng-template #defaultWidgetTitleTemplate>\n {{title}}\n</ng-template>\n\n<ng-template #defaultWidgetValueTemplate>\n {{value}}\n</ng-template>\n\n<ng-template #defaultWidgetChartTemplate>\n <ng-content select=\".chart-wrapper\"></ng-content>\n</ng-template>\n\n<ng-template #defaultWidgetActionTemplate>\n <ng-content></ng-content>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatAComponent, decorators: [{
34
+ type: Component,
35
+ args: [{ selector: 'c-widget-stat-a', exportAs: 'cWidgetStatA', template: "<ng-container>\n <c-card-body [ngClass]=\"bodyClasses\">\n <div>\n <div *ngIf=\"!!value || templates?.widgetValueTemplate\" class=\"fs-4 fw-semibold\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetValueTemplate || defaultWidgetValueTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!title || templates?.widgetTitleTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetTitleTemplate || defaultWidgetTitleTemplate\"></ng-container>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"templates?.widgetActionTemplate || defaultWidgetActionTemplate\"></ng-container>\n </c-card-body>\n <ng-container *ngTemplateOutlet=\"templates?.widgetChartTemplate || defaultWidgetChartTemplate\"></ng-container>\n</ng-container>\n\n<ng-template #defaultWidgetTitleTemplate>\n {{title}}\n</ng-template>\n\n<ng-template #defaultWidgetValueTemplate>\n {{value}}\n</ng-template>\n\n<ng-template #defaultWidgetChartTemplate>\n <ng-content select=\".chart-wrapper\"></ng-content>\n</ng-template>\n\n<ng-template #defaultWidgetActionTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }]
36
+ }], propDecorators: { color: [{
37
+ type: Input
38
+ }], title: [{
39
+ type: Input
40
+ }], value: [{
41
+ type: Input
42
+ }], contentTemplates: [{
43
+ type: ContentChildren,
44
+ args: [TemplateIdDirective, { descendants: true }]
45
+ }], hostClasses: [{
46
+ type: HostBinding,
47
+ args: ['class']
48
+ }] } });
49
49
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXN0YXQtYS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL3dpZGdldC93aWRnZXQ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x0V2lkZ2V0QWN0aW9uVGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cbiAgPC9jLWNhcmQtYm9keT5cbiAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInRlbXBsYXRlcz8ud2lkZ2V0Q2hhcnRUZW1wbGF0ZSB8fCBkZWZhdWx0V2lkZ2V0Q2hhcnRUZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxuPC9uZy1jb250YWluZXI+XG5cbjxuZy10ZW1wbGF0ZSAjZGVmYXVsdFdpZGdldFRpdGxlVGVtcGxhdGU+XG4gIHt7dGl0bGV9fVxuPC9uZy10ZW1wbGF0ZT5cblxuPG5nLXRlbXBsYXRlICNkZWZhdWx0V2lkZ2V0VmFsdWVUZW1wbGF0ZT5cbiAge3t2YWx1ZX19XG48L25nLXRlbXBsYXRlPlxuXG48bmctdGVtcGxhdGUgI2RlZmF1bHRXaWRnZXRDaGFydFRlbXBsYXRlPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCIuY2hhcnQtd3JhcHBlclwiPjwvbmctY29udGVudD5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjZGVmYXVsdFdpZGdldEFjdGlvblRlbXBsYXRlPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L25nLXRlbXBsYXRlPlxuIl19
@@ -1,52 +1,52 @@
1
- import { Component, HostBinding, Input } from '@angular/core';
2
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
- import { CardComponent } from '../../card';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "../../card/card-body.component";
7
- export class WidgetStatBComponent extends CardComponent {
8
- constructor() {
9
- super();
10
- this._inverse = false;
11
- }
12
- /**
13
- * Invert colors from their default dark shade.
14
- * @type boolean
15
- */
16
- get inverse() {
17
- return this._inverse;
18
- }
19
- set inverse(value) {
20
- this._inverse = coerceBooleanProperty(value);
21
- }
22
- get hostClasses() {
23
- return {
24
- 'card': true,
25
- [`bg-${this.color}`]: !!this.color,
26
- [`text-${this.textColor}`]: !!this.textColor,
27
- 'text-high-emphasis-inverse': !!this.color
28
- };
29
- }
30
- }
31
- WidgetStatBComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatBComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
- WidgetStatBComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatBComponent, selector: "c-widget-stat-b", inputs: { color: "color", textColor: "textColor", title: "title", text: "text", value: "value", inverse: "inverse" }, host: { properties: { "class": "this.hostClasses" } }, exportAs: ["cWidgetStatB"], usesInheritance: true, ngImport: i0, template: "<c-card-body>\n <div *ngIf=\"!!value\" class=\"fs-4 fw-semibold\">{{value}}</div>\n <div *ngIf=\"!!title\">{{title}}</div>\n <ng-content></ng-content>\n <small *ngIf=\"text\" [ngClass]=\"inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis'\">\n {{text}}\n </small>\n</c-card-body>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatBComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'c-widget-stat-b', exportAs: 'cWidgetStatB', template: "<c-card-body>\n <div *ngIf=\"!!value\" class=\"fs-4 fw-semibold\">{{value}}</div>\n <div *ngIf=\"!!title\">{{title}}</div>\n <ng-content></ng-content>\n <small *ngIf=\"text\" [ngClass]=\"inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis'\">\n {{text}}\n </small>\n</c-card-body>\n" }]
36
- }], ctorParameters: function () { return []; }, propDecorators: { color: [{
37
- type: Input
38
- }], textColor: [{
39
- type: Input
40
- }], title: [{
41
- type: Input
42
- }], text: [{
43
- type: Input
44
- }], value: [{
45
- type: Input
46
- }], inverse: [{
47
- type: Input
48
- }], hostClasses: [{
49
- type: HostBinding,
50
- args: ['class']
51
- }] } });
52
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXN0YXQtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL3dpZGdldC93aWRnZXQtc3RhdC1iL3dpZGdldC1zdGF0LWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi93aWRnZXQvd2lkZ2V0LXN0YXQtYi93aWRnZXQtc3RhdC1iLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUN0RSxPQUFPLEVBQWdCLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFHNUUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLFlBQVksQ0FBQzs7OztBQVEzQyxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsYUFBYTtJQUVyRDtRQUNFLEtBQUssRUFBRSxDQUFDO1FBeUNGLGFBQVEsR0FBRyxLQUFLLENBQUM7SUF4Q3pCLENBQUM7SUE2QkQ7OztPQUdHO0lBQ0gsSUFDSSxPQUFPO1FBQ1QsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDO0lBQ3ZCLENBQUM7SUFDRCxJQUFJL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ogISF0aGlzLmNvbG9yXHJcbiAgICB9XHJcbiAgfVxyXG5cclxufVxyXG4iLCI8Yy1jYXJkLWJvZHk+XG4gIDxkaXYgKm5nSWY9XCIhIXZhbHVlXCIgY2xhc3M9XCJmcy00IGZ3LXNlbWlib2xkXCI+e3t2YWx1ZX19PC9kaXY+XG4gIDxkaXYgKm5nSWY9XCIhIXRpdGxlXCI+e3t0aXRsZX19PC9kaXY+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPHNtYWxsICpuZ0lmPVwidGV4dFwiIFtuZ0NsYXNzXT1cImludmVyc2UgPyAndGV4dC1tZWRpdW0tZW1waGFzaXMtaW52ZXJzZScgOiAndGV4dC1tZWRpdW0tZW1waGFzaXMnXCI+XG4gICAge3t0ZXh0fX1cbiAgPC9zbWFsbD5cbjwvYy1jYXJkLWJvZHk+XG4iXX0=
1
+ import { Component, HostBinding, Input } from '@angular/core';
2
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
+ import { CardComponent } from '../../card';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ import * as i2 from "../../card/card-body.component";
7
+ export class WidgetStatBComponent extends CardComponent {
8
+ constructor() {
9
+ super();
10
+ this._inverse = false;
11
+ }
12
+ /**
13
+ * Invert colors from their default dark shade.
14
+ * @type boolean
15
+ */
16
+ get inverse() {
17
+ return this._inverse;
18
+ }
19
+ set inverse(value) {
20
+ this._inverse = coerceBooleanProperty(value);
21
+ }
22
+ get hostClasses() {
23
+ return {
24
+ 'card': true,
25
+ [`bg-${this.color}`]: !!this.color,
26
+ [`text-${this.textColor}`]: !!this.textColor,
27
+ 'text-high-emphasis-inverse': !!this.color
28
+ };
29
+ }
30
+ }
31
+ WidgetStatBComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatBComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
+ WidgetStatBComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatBComponent, selector: "c-widget-stat-b", inputs: { color: "color", textColor: "textColor", title: "title", text: "text", value: "value", inverse: "inverse" }, host: { properties: { "class": "this.hostClasses" } }, exportAs: ["cWidgetStatB"], usesInheritance: true, ngImport: i0, template: "<c-card-body>\n <div *ngIf=\"!!value\" class=\"fs-4 fw-semibold\">{{value}}</div>\n <div *ngIf=\"!!title\">{{title}}</div>\n <ng-content></ng-content>\n <small *ngIf=\"text\" [ngClass]=\"inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis'\">\n {{text}}\n </small>\n</c-card-body>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatBComponent, decorators: [{
34
+ type: Component,
35
+ args: [{ selector: 'c-widget-stat-b', exportAs: 'cWidgetStatB', template: "<c-card-body>\n <div *ngIf=\"!!value\" class=\"fs-4 fw-semibold\">{{value}}</div>\n <div *ngIf=\"!!title\">{{title}}</div>\n <ng-content></ng-content>\n <small *ngIf=\"text\" [ngClass]=\"inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis'\">\n {{text}}\n </small>\n</c-card-body>\n" }]
36
+ }], ctorParameters: function () { return []; }, propDecorators: { color: [{
37
+ type: Input
38
+ }], textColor: [{
39
+ type: Input
40
+ }], title: [{
41
+ type: Input
42
+ }], text: [{
43
+ type: Input
44
+ }], value: [{
45
+ type: Input
46
+ }], inverse: [{
47
+ type: Input
48
+ }], hostClasses: [{
49
+ type: HostBinding,
50
+ args: ['class']
51
+ }] } });
52
+ //# sourceMappingURL=data:application/json;base64,eyJ2Z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I+XG4gICAge3t0ZXh0fX1cbiAgPC9zbWFsbD5cbjwvYy1jYXJkLWJvZHk+XG4iXX0=
@@ -1,80 +1,80 @@
1
- import { Component, ContentChildren, HostBinding, Input } from '@angular/core';
2
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
- import { CardComponent } from '../../card';
4
- import { TemplateIdDirective } from '../../shared';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "../../card/card-body.component";
8
- export class WidgetStatCComponent extends CardComponent {
9
- constructor() {
10
- super();
11
- this._inverse = false;
12
- this.templates = {};
13
- }
14
- /**
15
- * Invert colors from their default dark shade.
16
- * @type boolean
17
- */
18
- get inverse() {
19
- return this._inverse;
20
- }
21
- set inverse(value) {
22
- this._inverse = coerceBooleanProperty(value);
23
- }
24
- get hostExtendedClass() {
25
- return {
26
- 'high-emphasis-inverse': this.inverse
27
- };
28
- }
29
- get iconClasses() {
30
- return {
31
- 'mb-4': !this.textColor,
32
- 'text-end': true,
33
- 'text-medium-emphasis': !this.inverse,
34
- 'text-medium-emphasis-inverse': this.inverse,
35
- [`text-${this.textColor}`]: !!this.textColor,
36
- };
37
- }
38
- get titleClasses() {
39
- return {
40
- 'text-medium-emphasis': !this.inverse,
41
- 'text-medium-emphasis-inverse': this.inverse,
42
- [`text-${this.textColor}`]: !!this.textColor,
43
- };
44
- }
45
- get valueClasses() {
46
- return {
47
- 'fs-4': !this.textColor,
48
- 'fw-semibold': true,
49
- 'text-high-emphasis': !this.inverse,
50
- 'text-high-emphasis-inverse': this.inverse,
51
- [`text-${this.textColor}`]: !!this.textColor,
52
- };
53
- }
54
- ngAfterContentInit() {
55
- this.contentTemplates.forEach((child) => {
56
- this.templates[child.id] = child.templateRef;
57
- });
58
- }
59
- }
60
- WidgetStatCComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatCComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
61
- WidgetStatCComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatCComponent, selector: "c-widget-stat-c", inputs: { icon: "icon", title: "title", value: "value", inverse: "inverse" }, host: { properties: { "class": "this.hostExtendedClass" } }, queries: [{ propertyName: "contentTemplates", predicate: TemplateIdDirective, descendants: true }], exportAs: ["cWidgetStatC"], usesInheritance: true, ngImport: i0, template: "<c-card-body>\n <div *ngIf=\"icon || templates?.widgetIconTemplate\" [ngClass]=\"iconClasses\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetIconTemplate || defaultWidgetIconTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!value\" [ngClass]=\"valueClasses\">\n {{value}}\n </div>\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">\n {{title}}\n </div>\n <ng-container *ngIf=\"templates?.widgetProgressTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetProgressTemplate || defaultWidgetProgressTemplate\"></ng-container>\n </ng-container>\n</c-card-body>\n\n<ng-template #defaultWidgetIconTemplate>\n {{icon}}\n</ng-template>\n\n<ng-template #defaultWidgetProgressTemplate>\n <ng-content></ng-content>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatCComponent, decorators: [{
63
- type: Component,
64
- args: [{ selector: 'c-widget-stat-c', exportAs: 'cWidgetStatC', template: "<c-card-body>\n <div *ngIf=\"icon || templates?.widgetIconTemplate\" [ngClass]=\"iconClasses\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetIconTemplate || defaultWidgetIconTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!value\" [ngClass]=\"valueClasses\">\n {{value}}\n </div>\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">\n {{title}}\n </div>\n <ng-container *ngIf=\"templates?.widgetProgressTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetProgressTemplate || defaultWidgetProgressTemplate\"></ng-container>\n </ng-container>\n</c-card-body>\n\n<ng-template #defaultWidgetIconTemplate>\n {{icon}}\n</ng-template>\n\n<ng-template #defaultWidgetProgressTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }]
65
- }], ctorParameters: function () { return []; }, propDecorators: { icon: [{
66
- type: Input
67
- }], title: [{
68
- type: Input
69
- }], value: [{
70
- type: Input
71
- }], inverse: [{
72
- type: Input
73
- }], contentTemplates: [{
74
- type: ContentChildren,
75
- args: [TemplateIdDirective, { descendants: true }]
76
- }], hostExtendedClass: [{
77
- type: HostBinding,
78
- args: ['class']
79
- }] } });
1
+ import { Component, ContentChildren, HostBinding, Input } from '@angular/core';
2
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
+ import { CardComponent } from '../../card';
4
+ import { TemplateIdDirective } from '../../shared';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "../../card/card-body.component";
8
+ export class WidgetStatCComponent extends CardComponent {
9
+ constructor() {
10
+ super();
11
+ this._inverse = false;
12
+ this.templates = {};
13
+ }
14
+ /**
15
+ * Invert colors from their default dark shade.
16
+ * @type boolean
17
+ */
18
+ get inverse() {
19
+ return this._inverse;
20
+ }
21
+ set inverse(value) {
22
+ this._inverse = coerceBooleanProperty(value);
23
+ }
24
+ get hostExtendedClass() {
25
+ return {
26
+ 'high-emphasis-inverse': this.inverse
27
+ };
28
+ }
29
+ get iconClasses() {
30
+ return {
31
+ 'mb-4': !this.textColor,
32
+ 'text-end': true,
33
+ 'text-medium-emphasis': !this.inverse,
34
+ 'text-medium-emphasis-inverse': this.inverse,
35
+ [`text-${this.textColor}`]: !!this.textColor,
36
+ };
37
+ }
38
+ get titleClasses() {
39
+ return {
40
+ 'text-medium-emphasis': !this.inverse,
41
+ 'text-medium-emphasis-inverse': this.inverse,
42
+ [`text-${this.textColor}`]: !!this.textColor,
43
+ };
44
+ }
45
+ get valueClasses() {
46
+ return {
47
+ 'fs-4': !this.textColor,
48
+ 'fw-semibold': true,
49
+ 'text-high-emphasis': !this.inverse,
50
+ 'text-high-emphasis-inverse': this.inverse,
51
+ [`text-${this.textColor}`]: !!this.textColor,
52
+ };
53
+ }
54
+ ngAfterContentInit() {
55
+ this.contentTemplates.forEach((child) => {
56
+ this.templates[child.id] = child.templateRef;
57
+ });
58
+ }
59
+ }
60
+ WidgetStatCComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatCComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
61
+ WidgetStatCComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatCComponent, selector: "c-widget-stat-c", inputs: { icon: "icon", title: "title", value: "value", inverse: "inverse" }, host: { properties: { "class": "this.hostExtendedClass" } }, queries: [{ propertyName: "contentTemplates", predicate: TemplateIdDirective, descendants: true }], exportAs: ["cWidgetStatC"], usesInheritance: true, ngImport: i0, template: "<c-card-body>\n <div *ngIf=\"icon || templates?.widgetIconTemplate\" [ngClass]=\"iconClasses\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetIconTemplate || defaultWidgetIconTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!value\" [ngClass]=\"valueClasses\">\n {{value}}\n </div>\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">\n {{title}}\n </div>\n <ng-container *ngIf=\"templates?.widgetProgressTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetProgressTemplate || defaultWidgetProgressTemplate\"></ng-container>\n </ng-container>\n</c-card-body>\n\n<ng-template #defaultWidgetIconTemplate>\n {{icon}}\n</ng-template>\n\n<ng-template #defaultWidgetProgressTemplate>\n <ng-content></ng-content>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatCComponent, decorators: [{
63
+ type: Component,
64
+ args: [{ selector: 'c-widget-stat-c', exportAs: 'cWidgetStatC', template: "<c-card-body>\n <div *ngIf=\"icon || templates?.widgetIconTemplate\" [ngClass]=\"iconClasses\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetIconTemplate || defaultWidgetIconTemplate\"></ng-container>\n </div>\n <div *ngIf=\"!!value\" [ngClass]=\"valueClasses\">\n {{value}}\n </div>\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">\n {{title}}\n </div>\n <ng-container *ngIf=\"templates?.widgetProgressTemplate\">\n <ng-container *ngTemplateOutlet=\"templates?.widgetProgressTemplate || defaultWidgetProgressTemplate\"></ng-container>\n </ng-container>\n</c-card-body>\n\n<ng-template #defaultWidgetIconTemplate>\n {{icon}}\n</ng-template>\n\n<ng-template #defaultWidgetProgressTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }]
65
+ }], ctorParameters: function () { return []; }, propDecorators: { icon: [{
66
+ type: Input
67
+ }], title: [{
68
+ type: Input
69
+ }], value: [{
70
+ type: Input
71
+ }], inverse: [{
72
+ type: Input
73
+ }], contentTemplates: [{
74
+ type: ContentChildren,
75
+ args: [TemplateIdDirective, { descendants: true }]
76
+ }], hostExtendedClass: [{
77
+ type: HostBinding,
78
+ args: ['class']
79
+ }] } });
80
80
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXN0YXQtYy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL3dpZGdldC93aWRnZXQtc3RhdC1jL3dpZGdldC1zdGF0LWMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi93aWRnZXQvd2lkZ2V0LXN0YXQtYy93aWRnZXQtc3RhdC1jLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBb0IsU0FBUyxFQUFFLGVBQWUsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFhLE1BQU0sZUFBZSxDQUFDO0FBQzVHLE9BQU8sRUFBZ0IscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUU1RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGNBQWMsQ0FBQzs7OztBQVFuRCxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsYUFBYTtJQUVyRDtRQUNFLEtBQUssRUFBRSxDQUFDO1FBK0JGLGFBQVEsR0FBRyxLQUFLLENBQUM7UUFFekIsY0FBUyxHQUFRLEVBQUUsQ0FBQztJQWhDcEIsQ0FBQztJQW1CRDs7O09BR0c7SUFDSCxJQUNJLE9BQU87UUFDVCxPQUFPLElBQUksQ0FBQyxRQUFRLENBQUM7SUFDdkIsQ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ZhbHVlfX1cbiAgPC9kaXY+XG4gIDxkaXYgKm5nSWY9XCIhIXRpdGxlXCIgW25nQ2xhc3NdPVwidGl0bGVDbGFzc2VzXCI+XG4gICAge3t0aXRsZX19XG4gIDwvZGl2PlxuICA8bmctY29udGFpbmVyICpuZ0lmPVwidGVtcGxhdGVzPy53aWRnZXRQcm9ncmVzc1RlbXBsYXRlXCI+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInRlbXBsYXRlcz8ud2lkZ2V0UHJvZ3Jlc3NUZW1wbGF0ZSB8fCBkZWZhdWx0V2lkZ2V0UHJvZ3Jlc3NUZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxuICA8L25nLWNvbnRhaW5lcj5cbjwvYy1jYXJkLWJvZHk+XG5cbjxuZy10ZW1wbGF0ZSAjZGVmYXVsdFdpZGdldEljb25UZW1wbGF0ZT5cbiAge3tpY29ufX1cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjZGVmYXVsdFdpZGdldFByb2dyZXNzVGVtcGxhdGU+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
@@ -1,39 +1,39 @@
1
- import { Component, HostBinding, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "../../card/card-body.component";
5
- import * as i3 from "../../card/card-header.component";
6
- import * as i4 from "../../grid/col.component";
7
- import * as i5 from "../../grid/row.directive";
8
- export class WidgetStatDComponent {
9
- constructor() {
10
- }
11
- get hostClasses() {
12
- return {
13
- 'card': true
14
- };
15
- }
16
- get headerClasses() {
17
- return {
18
- 'position-relative': true,
19
- 'd-flex': true,
20
- 'justify-content-center': true,
21
- 'align-items-center': true,
22
- [`bg-${this.color}`]: this.color,
23
- };
24
- }
25
- }
26
- WidgetStatDComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatDComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
- WidgetStatDComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatDComponent, selector: "c-widget-stat-d", inputs: { color: "color", values: "values" }, host: { properties: { "class": "this.hostClasses" } }, exportAs: ["cWidgetStatD"], ngImport: i0, template: "<c-card-header [ngClass]=\"headerClasses\">\n <ng-content></ng-content>\n</c-card-header>\n<c-card-body cRow class=\"text-center\">\n <ng-template [ngForOf]=\"values\" let-i=\"index\" let-item ngFor>\n <div *ngIf=\"i % 2 !== 0\" class=\"vr\"></div>\n <c-col>\n <div class=\"fs-5 fw-semibold\">{{item.value}}</div>\n <div class=\"text-uppercase text-medium-emphasis small\">{{item.title}}</div>\n </c-col>\n </ng-template>\n</c-card-body>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }, { kind: "component", type: i3.CardHeaderComponent, selector: "c-card-header, [c-card-header]" }, { kind: "component", type: i4.ColComponent, selector: "c-col" }, { kind: "directive", type: i5.RowDirective, selector: "[cRow]", inputs: ["xs", "sm", "md", "lg", "xl", "xxl"] }] });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatDComponent, decorators: [{
29
- type: Component,
30
- args: [{ selector: 'c-widget-stat-d', exportAs: 'cWidgetStatD', template: "<c-card-header [ngClass]=\"headerClasses\">\n <ng-content></ng-content>\n</c-card-header>\n<c-card-body cRow class=\"text-center\">\n <ng-template [ngForOf]=\"values\" let-i=\"index\" let-item ngFor>\n <div *ngIf=\"i % 2 !== 0\" class=\"vr\"></div>\n <c-col>\n <div class=\"fs-5 fw-semibold\">{{item.value}}</div>\n <div class=\"text-uppercase text-medium-emphasis small\">{{item.title}}</div>\n </c-col>\n </ng-template>\n</c-card-body>\n" }]
31
- }], ctorParameters: function () { return []; }, propDecorators: { color: [{
32
- type: Input
33
- }], values: [{
34
- type: Input
35
- }], hostClasses: [{
36
- type: HostBinding,
37
- args: ['class']
38
- }] } });
1
+ import { Component, HostBinding, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "../../card/card-body.component";
5
+ import * as i3 from "../../card/card-header.component";
6
+ import * as i4 from "../../grid/col.component";
7
+ import * as i5 from "../../grid/row.directive";
8
+ export class WidgetStatDComponent {
9
+ constructor() {
10
+ }
11
+ get hostClasses() {
12
+ return {
13
+ 'card': true
14
+ };
15
+ }
16
+ get headerClasses() {
17
+ return {
18
+ 'position-relative': true,
19
+ 'd-flex': true,
20
+ 'justify-content-center': true,
21
+ 'align-items-center': true,
22
+ [`bg-${this.color}`]: this.color,
23
+ };
24
+ }
25
+ }
26
+ WidgetStatDComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatDComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
+ WidgetStatDComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatDComponent, selector: "c-widget-stat-d", inputs: { color: "color", values: "values" }, host: { properties: { "class": "this.hostClasses" } }, exportAs: ["cWidgetStatD"], ngImport: i0, template: "<c-card-header [ngClass]=\"headerClasses\">\n <ng-content></ng-content>\n</c-card-header>\n<c-card-body cRow class=\"text-center\">\n <ng-template [ngForOf]=\"values\" let-i=\"index\" let-item ngFor>\n <div *ngIf=\"i % 2 !== 0\" class=\"vr\"></div>\n <c-col>\n <div class=\"fs-5 fw-semibold\">{{item.value}}</div>\n <div class=\"text-uppercase text-medium-emphasis small\">{{item.title}}</div>\n </c-col>\n </ng-template>\n</c-card-body>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }, { kind: "component", type: i3.CardHeaderComponent, selector: "c-card-header, [c-card-header]" }, { kind: "component", type: i4.ColComponent, selector: "c-col" }, { kind: "directive", type: i5.RowDirective, selector: "[cRow]", inputs: ["xs", "sm", "md", "lg", "xl", "xxl"] }] });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatDComponent, decorators: [{
29
+ type: Component,
30
+ args: [{ selector: 'c-widget-stat-d', exportAs: 'cWidgetStatD', template: "<c-card-header [ngClass]=\"headerClasses\">\n <ng-content></ng-content>\n</c-card-header>\n<c-card-body cRow class=\"text-center\">\n <ng-template [ngForOf]=\"values\" let-i=\"index\" let-item ngFor>\n <div *ngIf=\"i % 2 !== 0\" class=\"vr\"></div>\n <c-col>\n <div class=\"fs-5 fw-semibold\">{{item.value}}</div>\n <div class=\"text-uppercase text-medium-emphasis small\">{{item.title}}</div>\n </c-col>\n </ng-template>\n</c-card-body>\n" }]
31
+ }], ctorParameters: function () { return []; }, propDecorators: { color: [{
32
+ type: Input
33
+ }], values: [{
34
+ type: Input
35
+ }], hostClasses: [{
36
+ type: HostBinding,
37
+ args: ['class']
38
+ }] } });
39
39
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXN0YXQtZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmN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1cblxuICBnZXQgaGVhZGVyQ2xhc3NlcygpIHtcbiAgICByZXR1cm4ge1xuICAgICAgJ3Bvc2l0aW9uLXJlbGF0aXZlJzogdHJ1ZSxcbiAgICAgICdkLWZsZXgnOiB0cnVlLFxuICAgICAgJ2p1c3RpZnktY29udGVudC1jZW50ZXInOiB0cnVlLFxuICAgICAgJ2FsaWduLWl0ZW1zLWNlbnRlcic6IHRydWUsXG4gICAgICBbYGJnLSR7dGhpcy5jb2xvcn1gXTogdGhpcy5jb2xvcixcbiAgICB9XG4gIH1cblxufVxuIiwiPGMtY2FyZC1oZWFkZXIgW25nQ2xhc3NdPVwiaGVhZGVyQ2xhc3Nlc1wiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2MtY2FyZC1oZWFkZXI+XG48Yy1jYXJkLWJvZHkgY1JvdyBjbGFzcz1cInRleHQtY2VudGVyXCI+XG4gIDxuZy10ZW1wbGF0ZSBbbmdGb3JPZl09XCJ2YWx1ZXNcIiBsZXQtaT1cImluZGV4XCIgbGV0LWl0ZW0gbmdGb3I+XG4gICAgPGRpdiAqbmdJZj1cImkgJSAyICE9PSAwXCIgY2xhc3M9XCJ2clwiPjwvZGl2PlxuICAgIDxjLWNvbD5cbiAgICAgIDxkaXYgY2xhc3M9XCJmcy01IGZ3LXNlbWlib2xkXCI+e3tpdGVtLnZhbHVlfX08L2Rpdj5cbiAgICAgIDxkaXYgY2xhc3M9XCJ0ZXh0LXVwcGVyY2FzZSB0ZXh0LW1lZGl1bS1lbXBoYXNpcyBzbWFsbFwiPnt7aXRlbS50aXRsZX19PC9kaXY+XG4gICAgPC9jLWNvbD5cbiAgPC9uZy10ZW1wbGF0ZT5cbjwvYy1jYXJkLWJvZHk+XG4iXX0=
@@ -1,30 +1,30 @@
1
- import { Component, Input } from '@angular/core';
2
- import { CardComponent } from '../../card';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "../../card/card-body.component";
6
- export class WidgetStatEComponent extends CardComponent {
7
- constructor() {
8
- super();
9
- }
10
- get titleClasses() {
11
- return {
12
- 'text-medium-emphasis': !this.textColor,
13
- 'small': true,
14
- 'text-uppercase': true,
15
- 'fw-semibold': true,
16
- [`text-${this.textColor}`]: !!this.textColor,
17
- };
18
- }
19
- }
20
- WidgetStatEComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatEComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- WidgetStatEComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatEComponent, selector: "c-widget-stat-e", inputs: { title: "title", value: "value" }, exportAs: ["cWidgetStatE"], usesInheritance: true, ngImport: i0, template: "<c-card-body class=\"text-center\">\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">{{title}}</div>\n <div *ngIf=\"!!value\" class=\"fs-6 fw-semibold py-3\">{{value}}</div>\n <ng-content></ng-content>\n</c-card-body>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatEComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'c-widget-stat-e', exportAs: 'cWidgetStatE', template: "<c-card-body class=\"text-center\">\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">{{title}}</div>\n <div *ngIf=\"!!value\" class=\"fs-6 fw-semibold py-3\">{{value}}</div>\n <ng-content></ng-content>\n</c-card-body>\n" }]
25
- }], ctorParameters: function () { return []; }, propDecorators: { title: [{
26
- type: Input
27
- }], value: [{
28
- type: Input
29
- }] } });
1
+ import { Component, Input } from '@angular/core';
2
+ import { CardComponent } from '../../card';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "../../card/card-body.component";
6
+ export class WidgetStatEComponent extends CardComponent {
7
+ constructor() {
8
+ super();
9
+ }
10
+ get titleClasses() {
11
+ return {
12
+ 'text-medium-emphasis': !this.textColor,
13
+ 'small': true,
14
+ 'text-uppercase': true,
15
+ 'fw-semibold': true,
16
+ [`text-${this.textColor}`]: !!this.textColor,
17
+ };
18
+ }
19
+ }
20
+ WidgetStatEComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatEComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
+ WidgetStatEComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: WidgetStatEComponent, selector: "c-widget-stat-e", inputs: { title: "title", value: "value" }, exportAs: ["cWidgetStatE"], usesInheritance: true, ngImport: i0, template: "<c-card-body class=\"text-center\">\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">{{title}}</div>\n <div *ngIf=\"!!value\" class=\"fs-6 fw-semibold py-3\">{{value}}</div>\n <ng-content></ng-content>\n</c-card-body>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CardBodyComponent, selector: "c-card-body, [c-card-body]" }] });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: WidgetStatEComponent, decorators: [{
23
+ type: Component,
24
+ args: [{ selector: 'c-widget-stat-e', exportAs: 'cWidgetStatE', template: "<c-card-body class=\"text-center\">\n <div *ngIf=\"!!title\" [ngClass]=\"titleClasses\">{{title}}</div>\n <div *ngIf=\"!!value\" class=\"fs-6 fw-semibold py-3\">{{value}}</div>\n <ng-content></ng-content>\n</c-card-body>\n" }]
25
+ }], ctorParameters: function () { return []; }, propDecorators: { title: [{
26
+ type: Input
27
+ }], value: [{
28
+ type: Input
29
+ }] } });
30
30
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXN0YXQtZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL3dpZGdldC93aWRnZXQtc3RhdC1lL3dpZGdldC1zdGF0LWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi93aWRnZXQvd2lkZ2V0LXN0YXQtZS93aWRnZXQtc3RhdC1lLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxZQUFZLENBQUM7Ozs7QUFRM0MsTUFBTSxPQUFPLG9CQUFxQixTQUFRLGFBQWE7SUFFckQ7UUFDRSxLQUFLLEVBQUUsQ0FBQztJQUNWLENBQUM7SUFZRCxJQUFJLFlBQVk7UUFDZCxPQUFPO1lBQ0wsc0JBQXNCLEVBQUUsQ0FBQyxJQUFJLENBQUMsU0FBUztZQUN2QyxPQUFPLEVBQUUsSUFBSTtZQUNiLGdCQUFnQixFQUFFLElBQUk7WUFDdEIsYUFBYSxFQUFFLElBQUk7WUFDbkIsQ0FBQyxRQUFRLElBQUksQ0FBQyxTQUFTLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsU0FBUztTQUM3QyxDQUFBO0lBQ0gsQ0FBQzs7a0hBeE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