@wirabyte/ui 3.0.0-beta.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +6 -6
  3. package/fesm2022/wirabyte-ui-accordion.mjs +4 -4
  4. package/fesm2022/wirabyte-ui-accordion.mjs.map +1 -1
  5. package/fesm2022/wirabyte-ui-alert.mjs +2 -2
  6. package/fesm2022/wirabyte-ui-alert.mjs.map +1 -1
  7. package/fesm2022/wirabyte-ui-asidemenu.mjs +2 -2
  8. package/fesm2022/wirabyte-ui-asidemenu.mjs.map +1 -1
  9. package/fesm2022/wirabyte-ui-avatar.mjs +13 -6
  10. package/fesm2022/wirabyte-ui-avatar.mjs.map +1 -1
  11. package/fesm2022/wirabyte-ui-breadcrumb.mjs +4 -2
  12. package/fesm2022/wirabyte-ui-breadcrumb.mjs.map +1 -1
  13. package/fesm2022/wirabyte-ui-button.mjs +3 -3
  14. package/fesm2022/wirabyte-ui-button.mjs.map +1 -1
  15. package/fesm2022/wirabyte-ui-card.mjs +8 -8
  16. package/fesm2022/wirabyte-ui-card.mjs.map +1 -1
  17. package/fesm2022/wirabyte-ui-chat.mjs +391 -0
  18. package/fesm2022/wirabyte-ui-chat.mjs.map +1 -0
  19. package/fesm2022/wirabyte-ui-config.mjs +55 -2
  20. package/fesm2022/wirabyte-ui-config.mjs.map +1 -1
  21. package/fesm2022/wirabyte-ui-core.mjs +155 -2
  22. package/fesm2022/wirabyte-ui-core.mjs.map +1 -1
  23. package/fesm2022/wirabyte-ui-datepicker.mjs +6 -5
  24. package/fesm2022/wirabyte-ui-datepicker.mjs.map +1 -1
  25. package/fesm2022/wirabyte-ui-descriptions.mjs +133 -0
  26. package/fesm2022/wirabyte-ui-descriptions.mjs.map +1 -0
  27. package/fesm2022/wirabyte-ui-dialog.mjs +2 -2
  28. package/fesm2022/wirabyte-ui-dialog.mjs.map +1 -1
  29. package/fesm2022/wirabyte-ui-drawer.mjs +2 -2
  30. package/fesm2022/wirabyte-ui-drawer.mjs.map +1 -1
  31. package/fesm2022/wirabyte-ui-emptystate.mjs +2 -2
  32. package/fesm2022/wirabyte-ui-emptystate.mjs.map +1 -1
  33. package/fesm2022/wirabyte-ui-errorpage.mjs +2 -2
  34. package/fesm2022/wirabyte-ui-errorpage.mjs.map +1 -1
  35. package/fesm2022/wirabyte-ui-fieldset.mjs +4 -4
  36. package/fesm2022/wirabyte-ui-fieldset.mjs.map +1 -1
  37. package/fesm2022/wirabyte-ui-metergroup.mjs +19 -5
  38. package/fesm2022/wirabyte-ui-metergroup.mjs.map +1 -1
  39. package/fesm2022/wirabyte-ui-navbar.mjs +2 -2
  40. package/fesm2022/wirabyte-ui-navbar.mjs.map +1 -1
  41. package/fesm2022/wirabyte-ui-panel.mjs +6 -6
  42. package/fesm2022/wirabyte-ui-panel.mjs.map +1 -1
  43. package/fesm2022/wirabyte-ui-popover.mjs +2 -2
  44. package/fesm2022/wirabyte-ui-popover.mjs.map +1 -1
  45. package/fesm2022/wirabyte-ui-result.mjs +2 -2
  46. package/fesm2022/wirabyte-ui-result.mjs.map +1 -1
  47. package/fesm2022/wirabyte-ui-scheduler.mjs +505 -0
  48. package/fesm2022/wirabyte-ui-scheduler.mjs.map +1 -0
  49. package/fesm2022/wirabyte-ui-selectbutton.mjs +25 -4
  50. package/fesm2022/wirabyte-ui-selectbutton.mjs.map +1 -1
  51. package/fesm2022/wirabyte-ui-signaturepad.mjs +310 -0
  52. package/fesm2022/wirabyte-ui-signaturepad.mjs.map +1 -0
  53. package/fesm2022/wirabyte-ui-sitefooter.mjs +1 -1
  54. package/fesm2022/wirabyte-ui-sitefooter.mjs.map +1 -1
  55. package/fesm2022/wirabyte-ui-stat.mjs +149 -0
  56. package/fesm2022/wirabyte-ui-stat.mjs.map +1 -0
  57. package/fesm2022/wirabyte-ui-table.mjs +3 -3
  58. package/fesm2022/wirabyte-ui-table.mjs.map +1 -1
  59. package/fesm2022/wirabyte-ui-tabs.mjs +3 -3
  60. package/fesm2022/wirabyte-ui-tabs.mjs.map +1 -1
  61. package/fesm2022/wirabyte-ui-tag.mjs +2 -2
  62. package/fesm2022/wirabyte-ui-tag.mjs.map +1 -1
  63. package/fesm2022/wirabyte-ui-textarea.mjs +32 -0
  64. package/fesm2022/wirabyte-ui-textarea.mjs.map +1 -1
  65. package/fesm2022/wirabyte-ui-thai.mjs +2 -2
  66. package/fesm2022/wirabyte-ui-thai.mjs.map +1 -1
  67. package/fesm2022/wirabyte-ui-toolbar.mjs +6 -6
  68. package/fesm2022/wirabyte-ui-toolbar.mjs.map +1 -1
  69. package/package.json +21 -1
  70. package/schematics/core/catalog.cjs +22 -1
  71. package/schematics/core/families.cjs +42 -0
  72. package/schematics/core/overrides.cjs +25 -0
  73. package/schematics/core/thai/locale.cjs +66 -0
  74. package/schematics/ng-add/index.cjs +3 -1
  75. package/theme/_data.scss +239 -7
  76. package/theme/_index.scss +29 -0
  77. package/themes/glass/amber.css +36 -7
  78. package/themes/glass/blue.css +36 -7
  79. package/themes/glass/cyan.css +36 -7
  80. package/themes/glass/emerald.css +36 -7
  81. package/themes/glass/fuchsia.css +36 -7
  82. package/themes/glass/green.css +36 -7
  83. package/themes/glass/indigo.css +36 -7
  84. package/themes/glass/lime.css +36 -7
  85. package/themes/glass/orange.css +36 -7
  86. package/themes/glass/pink.css +36 -7
  87. package/themes/glass/purple.css +36 -7
  88. package/themes/glass/red.css +36 -7
  89. package/themes/glass/rose.css +36 -7
  90. package/themes/glass/sky.css +36 -7
  91. package/themes/glass/teal.css +36 -7
  92. package/themes/glass/theme.css +36 -7
  93. package/themes/glass/violet.css +36 -7
  94. package/themes/glass/wira.css +36 -7
  95. package/themes/glass/yellow.css +36 -7
  96. package/themes/lanna/amber.css +36 -7
  97. package/themes/lanna/blue.css +36 -7
  98. package/themes/lanna/cyan.css +36 -7
  99. package/themes/lanna/emerald.css +36 -7
  100. package/themes/lanna/fuchsia.css +36 -7
  101. package/themes/lanna/green.css +36 -7
  102. package/themes/lanna/indigo.css +36 -7
  103. package/themes/lanna/lime.css +36 -7
  104. package/themes/lanna/orange.css +36 -7
  105. package/themes/lanna/pink.css +36 -7
  106. package/themes/lanna/purple.css +36 -7
  107. package/themes/lanna/red.css +36 -7
  108. package/themes/lanna/rose.css +36 -7
  109. package/themes/lanna/sky.css +36 -7
  110. package/themes/lanna/teal.css +36 -7
  111. package/themes/lanna/theme.css +36 -7
  112. package/themes/lanna/violet.css +36 -7
  113. package/themes/lanna/wira.css +36 -7
  114. package/themes/lanna/yellow.css +36 -7
  115. package/themes/mali/amber.css +30 -1
  116. package/themes/mali/blue.css +30 -1
  117. package/themes/mali/cyan.css +30 -1
  118. package/themes/mali/emerald.css +30 -1
  119. package/themes/mali/fuchsia.css +30 -1
  120. package/themes/mali/green.css +30 -1
  121. package/themes/mali/indigo.css +30 -1
  122. package/themes/mali/lime.css +30 -1
  123. package/themes/mali/orange.css +30 -1
  124. package/themes/mali/pink.css +30 -1
  125. package/themes/mali/purple.css +30 -1
  126. package/themes/mali/red.css +30 -1
  127. package/themes/mali/rose.css +30 -1
  128. package/themes/mali/sky.css +30 -1
  129. package/themes/mali/teal.css +30 -1
  130. package/themes/mali/theme.css +30 -1
  131. package/themes/mali/violet.css +30 -1
  132. package/themes/mali/wira.css +30 -1
  133. package/themes/mali/yellow.css +30 -1
  134. package/themes/material/amber.css +30 -1
  135. package/themes/material/blue.css +30 -1
  136. package/themes/material/cyan.css +30 -1
  137. package/themes/material/emerald.css +30 -1
  138. package/themes/material/fuchsia.css +30 -1
  139. package/themes/material/green.css +30 -1
  140. package/themes/material/indigo.css +30 -1
  141. package/themes/material/lime.css +30 -1
  142. package/themes/material/orange.css +30 -1
  143. package/themes/material/pink.css +30 -1
  144. package/themes/material/purple.css +30 -1
  145. package/themes/material/red.css +30 -1
  146. package/themes/material/rose.css +30 -1
  147. package/themes/material/sky.css +30 -1
  148. package/themes/material/teal.css +30 -1
  149. package/themes/material/theme.css +30 -1
  150. package/themes/material/violet.css +30 -1
  151. package/themes/material/wira.css +30 -1
  152. package/themes/material/yellow.css +30 -1
  153. package/themes/nakhon/amber.css +36 -7
  154. package/themes/nakhon/blue.css +36 -7
  155. package/themes/nakhon/cyan.css +36 -7
  156. package/themes/nakhon/emerald.css +36 -7
  157. package/themes/nakhon/fuchsia.css +36 -7
  158. package/themes/nakhon/green.css +36 -7
  159. package/themes/nakhon/indigo.css +36 -7
  160. package/themes/nakhon/lime.css +36 -7
  161. package/themes/nakhon/orange.css +36 -7
  162. package/themes/nakhon/pink.css +36 -7
  163. package/themes/nakhon/purple.css +36 -7
  164. package/themes/nakhon/red.css +36 -7
  165. package/themes/nakhon/rose.css +36 -7
  166. package/themes/nakhon/sky.css +36 -7
  167. package/themes/nakhon/teal.css +36 -7
  168. package/themes/nakhon/theme.css +36 -7
  169. package/themes/nakhon/violet.css +36 -7
  170. package/themes/nakhon/wira.css +36 -7
  171. package/themes/nakhon/yellow.css +36 -7
  172. package/themes/phet/amber.css +30 -1
  173. package/themes/phet/blue.css +30 -1
  174. package/themes/phet/cyan.css +30 -1
  175. package/themes/phet/emerald.css +30 -1
  176. package/themes/phet/fuchsia.css +30 -1
  177. package/themes/phet/green.css +30 -1
  178. package/themes/phet/indigo.css +30 -1
  179. package/themes/phet/lime.css +30 -1
  180. package/themes/phet/orange.css +30 -1
  181. package/themes/phet/pink.css +30 -1
  182. package/themes/phet/purple.css +30 -1
  183. package/themes/phet/red.css +30 -1
  184. package/themes/phet/rose.css +30 -1
  185. package/themes/phet/sky.css +30 -1
  186. package/themes/phet/teal.css +30 -1
  187. package/themes/phet/theme.css +30 -1
  188. package/themes/phet/violet.css +30 -1
  189. package/themes/phet/wira.css +30 -1
  190. package/themes/phet/yellow.css +30 -1
  191. package/themes/siam/amber.css +36 -7
  192. package/themes/siam/blue.css +36 -7
  193. package/themes/siam/cyan.css +36 -7
  194. package/themes/siam/emerald.css +36 -7
  195. package/themes/siam/fuchsia.css +36 -7
  196. package/themes/siam/green.css +36 -7
  197. package/themes/siam/indigo.css +36 -7
  198. package/themes/siam/lime.css +36 -7
  199. package/themes/siam/orange.css +36 -7
  200. package/themes/siam/pink.css +36 -7
  201. package/themes/siam/purple.css +36 -7
  202. package/themes/siam/red.css +36 -7
  203. package/themes/siam/rose.css +36 -7
  204. package/themes/siam/sky.css +36 -7
  205. package/themes/siam/teal.css +36 -7
  206. package/themes/siam/theme.css +36 -7
  207. package/themes/siam/violet.css +36 -7
  208. package/themes/siam/wira.css +36 -7
  209. package/themes/siam/yellow.css +36 -7
  210. package/themes/sila/amber.css +30 -1
  211. package/themes/sila/blue.css +30 -1
  212. package/themes/sila/cyan.css +30 -1
  213. package/themes/sila/emerald.css +30 -1
  214. package/themes/sila/fuchsia.css +30 -1
  215. package/themes/sila/green.css +30 -1
  216. package/themes/sila/indigo.css +30 -1
  217. package/themes/sila/lime.css +30 -1
  218. package/themes/sila/orange.css +30 -1
  219. package/themes/sila/pink.css +30 -1
  220. package/themes/sila/purple.css +30 -1
  221. package/themes/sila/red.css +30 -1
  222. package/themes/sila/rose.css +30 -1
  223. package/themes/sila/sky.css +30 -1
  224. package/themes/sila/teal.css +30 -1
  225. package/themes/sila/theme.css +30 -1
  226. package/themes/sila/violet.css +30 -1
  227. package/themes/sila/wira.css +30 -1
  228. package/themes/sila/yellow.css +30 -1
  229. package/themes/wira/amber.css +45 -16
  230. package/themes/wira/blue.css +45 -16
  231. package/themes/wira/cyan.css +45 -16
  232. package/themes/wira/emerald.css +45 -16
  233. package/themes/wira/fuchsia.css +45 -16
  234. package/themes/wira/green.css +45 -16
  235. package/themes/wira/indigo.css +45 -16
  236. package/themes/wira/lime.css +45 -16
  237. package/themes/wira/orange.css +45 -16
  238. package/themes/wira/pink.css +45 -16
  239. package/themes/wira/purple.css +45 -16
  240. package/themes/wira/red.css +45 -16
  241. package/themes/wira/rose.css +45 -16
  242. package/themes/wira/sky.css +45 -16
  243. package/themes/wira/teal.css +45 -16
  244. package/themes/wira/theme.css +45 -16
  245. package/themes/wira/violet.css +45 -16
  246. package/themes/wira/wira.css +45 -16
  247. package/themes/wira/yellow.css +45 -16
  248. package/types/wirabyte-ui-avatar.d.ts +8 -3
  249. package/types/wirabyte-ui-breadcrumb.d.ts +3 -1
  250. package/types/wirabyte-ui-button.d.ts +1 -1
  251. package/types/wirabyte-ui-chat.d.ts +192 -0
  252. package/types/wirabyte-ui-config.d.ts +34 -0
  253. package/types/wirabyte-ui-core.d.ts +62 -3
  254. package/types/wirabyte-ui-datepicker.d.ts +3 -2
  255. package/types/wirabyte-ui-descriptions.d.ts +67 -0
  256. package/types/wirabyte-ui-metergroup.d.ts +17 -2
  257. package/types/wirabyte-ui-scheduler.d.ts +199 -0
  258. package/types/wirabyte-ui-selectbutton.d.ts +12 -1
  259. package/types/wirabyte-ui-signaturepad.d.ts +108 -0
  260. package/types/wirabyte-ui-stat.d.ts +72 -0
  261. package/types/wirabyte-ui-textarea.d.ts +3 -0
@@ -17,11 +17,11 @@ class WuCard {
17
17
  this.variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
18
18
  this.loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
19
19
  this.templates = contentChildren(WuTemplate, ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
20
- this.headerRef = contentChild('header', { ...(ngDevMode ? { debugName: "headerRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
21
- this.titleRef = contentChild('title', { ...(ngDevMode ? { debugName: "titleRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
22
- this.subtitleRef = contentChild('subtitle', { ...(ngDevMode ? { debugName: "subtitleRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
23
- this.contentRef = contentChild('content', { ...(ngDevMode ? { debugName: "contentRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
24
- this.footerRef = contentChild('footer', { ...(ngDevMode ? { debugName: "footerRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
20
+ this.headerRef = contentChild('header', { ...(ngDevMode ? { debugName: "headerRef" } : /* istanbul ignore next */ {}), read: TemplateRef, descendants: false });
21
+ this.titleRef = contentChild('title', { ...(ngDevMode ? { debugName: "titleRef" } : /* istanbul ignore next */ {}), read: TemplateRef, descendants: false });
22
+ this.subtitleRef = contentChild('subtitle', { ...(ngDevMode ? { debugName: "subtitleRef" } : /* istanbul ignore next */ {}), read: TemplateRef, descendants: false });
23
+ this.contentRef = contentChild('content', { ...(ngDevMode ? { debugName: "contentRef" } : /* istanbul ignore next */ {}), read: TemplateRef, descendants: false });
24
+ this.footerRef = contentChild('footer', { ...(ngDevMode ? { debugName: "footerRef" } : /* istanbul ignore next */ {}), read: TemplateRef, descendants: false });
25
25
  this.headerTemplate = computed(() => this.headerRef() || this.named('header'), ...(ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []));
26
26
  this.titleTemplate = computed(() => this.titleRef() || this.named('title'), ...(ngDevMode ? [{ debugName: "titleTemplate" }] : /* istanbul ignore next */ []));
27
27
  this.subtitleTemplate = computed(() => this.subtitleRef() || this.named('subtitle'), ...(ngDevMode ? [{ debugName: "subtitleTemplate" }] : /* istanbul ignore next */ []));
@@ -57,12 +57,12 @@ class WuCard {
57
57
  return null;
58
58
  }
59
59
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuCard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: WuCard, isStandalone: true, selector: "wu-card", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, subheader: { classPropertyName: "subheader", publicName: "subheader", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "templates", predicate: WuTemplate, isSignal: true }, { propertyName: "headerRef", first: true, predicate: ["header"], descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "titleRef", first: true, predicate: ["title"], descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "subtitleRef", first: true, predicate: ["subtitle"], descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "contentRef", first: true, predicate: ["content"], descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "footerRef", first: true, predicate: ["footer"], descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "<div [class]=\"classes()\" [style]=\"rootStyle()\" [attr.aria-busy]=\"loading() || null\">\n <div class=\"wu-card-header p-card-header\">\n <ng-content select=\"[wuCardHeader], wu-header\"></ng-content>\n @if (headerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-body p-card-body\">\n <div class=\"wu-card-caption\">\n @if (header() || subheader() || titleTemplate() || subtitleTemplate()) {\n <div class=\"wu-card-titles p-card-caption\">\n @if (header() || titleTemplate()) {\n <div class=\"wu-card-title p-card-title\">\n {{ header() }}\n @if (titleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n @if (subheader() || subtitleTemplate()) {\n <div class=\"wu-card-subtitle p-card-subtitle\">\n {{ subheader() }}\n @if (subtitleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n </div>\n }\n <div class=\"wu-card-actions\"><ng-content select=\"[wuCardActions]\"></ng-content></div>\n </div>\n @if (loading()) {\n <div class=\"wu-card-skeleton\" aria-hidden=\"true\"><span></span><span></span><span></span></div>\n }\n <div class=\"wu-card-content p-card-content\" [hidden]=\"loading()\">\n <ng-content></ng-content>\n @if (contentTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-footer p-card-footer\">\n <ng-content select=\"[wuCardFooter], wu-footer\"></ng-content>\n @if (footerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n </div>\n</div>\n", styles: ["@layer wiraui.components{wu-card{display:block}.wu-card{background:var(--wu-card-bg);color:var(--wu-text);border:var(--wu-card-border-width) solid var(--wu-border);border-radius:var(--wu-card-radius);box-shadow:var(--wu-card-shadow);-webkit-backdrop-filter:var(--wu-card-backdrop);backdrop-filter:var(--wu-card-backdrop);overflow:hidden;font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height)}.wu-card-outlined{border-width:1px;box-shadow:none}.wu-card-elevated{border-width:0;box-shadow:var(--wu-shadow-md)}.wu-card-glass{background:var(--wu-card-bg);border:1px solid var(--wu-glass-border);box-shadow:var(--wu-glass-highlight),var(--wu-glass-shadow)}@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.wu-card-glass{background:var(--wu-glass-bg);-webkit-backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate));backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate))}}.wu-card-header:empty,.wu-card-actions:empty,.wu-card-footer:empty,.wu-card-content:empty,.wu-card-content[hidden],.wu-card-caption:not(:has(>:not(:empty))){display:none}.wu-card-header img{display:block;width:100%}.wu-card-body{display:flex;flex-direction:column;gap:var(--wu-card-body-gap);padding:var(--wu-card-padding)}.wu-card-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:var(--wu-card-caption-gap)}.wu-card-titles{display:flex;flex-direction:column;gap:var(--wu-card-title-gap);min-width:0}.wu-card-title{font-size:var(--wu-card-title-size);font-weight:var(--wu-card-title-weight);line-height:1.35}.wu-card-subtitle{color:var(--wu-text-muted)}.wu-card-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.wu-card-content{padding:var(--wu-card-content-padding-y) 0}.wu-card-footer{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding-top:var(--wu-card-footer-padding-top)}.wu-card-footer>[wuCardFooter]:has(>wu-button,>button,>a,>.wu-btn),.wu-card-actions>[wuCardActions]:has(>wu-button,>button,>a,>.wu-btn){display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.wu-card-skeleton{display:flex;flex-direction:column;gap:10px;padding:var(--wu-card-content-padding-y) 0}.wu-card-skeleton span{display:block;height:.9em;border-radius:var(--wu-radius-sm);background:linear-gradient(90deg,var(--wu-hover-bg) 25%,var(--wu-border) 50%,var(--wu-hover-bg) 75%);background-size:300% 100%;animation:wu-card-shine 1.4s ease infinite}.wu-card-skeleton span:nth-child(2){width:85%}.wu-card-skeleton span:nth-child(3){width:60%}@keyframes wu-card-shine{0%{background-position:100% 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){.wu-card-skeleton span{animation:none}}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: WuCard, isStandalone: true, selector: "wu-card", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, subheader: { classPropertyName: "subheader", publicName: "subheader", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "templates", predicate: WuTemplate, isSignal: true }, { propertyName: "headerRef", first: true, predicate: ["header"], read: TemplateRef, isSignal: true }, { propertyName: "titleRef", first: true, predicate: ["title"], read: TemplateRef, isSignal: true }, { propertyName: "subtitleRef", first: true, predicate: ["subtitle"], read: TemplateRef, isSignal: true }, { propertyName: "contentRef", first: true, predicate: ["content"], read: TemplateRef, isSignal: true }, { propertyName: "footerRef", first: true, predicate: ["footer"], read: TemplateRef, isSignal: true }], ngImport: i0, template: "<div [class]=\"classes()\" [style]=\"rootStyle()\" [attr.aria-busy]=\"loading() || null\">\n <div class=\"wu-card-header p-card-header\">\n <ng-content select=\"[wuCardHeader], wu-header\"></ng-content>\n @if (headerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-body p-card-body\">\n <div class=\"wu-card-caption\">\n @if (header() || subheader() || titleTemplate() || subtitleTemplate()) {\n <div class=\"wu-card-titles p-card-caption\">\n @if (header() || titleTemplate()) {\n <div class=\"wu-card-title p-card-title\">\n {{ header() }}\n @if (titleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n @if (subheader() || subtitleTemplate()) {\n <div class=\"wu-card-subtitle p-card-subtitle\">\n {{ subheader() }}\n @if (subtitleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n </div>\n }\n <div class=\"wu-card-actions\"><ng-content select=\"[wuCardActions]\"></ng-content></div>\n </div>\n @if (loading()) {\n <div class=\"wu-card-skeleton\" aria-hidden=\"true\"><span></span><span></span><span></span></div>\n }\n <div class=\"wu-card-content p-card-content\" [hidden]=\"loading()\">\n <ng-content></ng-content>\n @if (contentTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-footer p-card-footer\">\n <ng-content select=\"[wuCardFooter], wu-footer\"></ng-content>\n @if (footerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n </div>\n</div>\n", styles: ["@layer wiraui.components{wu-card{display:block}.wu-card{background:var(--wu-card-bg);color:var(--wu-text);border:var(--wu-card-border-width) solid var(--wu-border);border-radius:var(--wu-card-radius);box-shadow:var(--wu-card-shadow);-webkit-backdrop-filter:var(--wu-card-backdrop);backdrop-filter:var(--wu-card-backdrop);overflow:hidden;font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height)}.wu-card-outlined{border-width:1px;box-shadow:none}.wu-card-elevated{border-width:0;box-shadow:var(--wu-shadow-md)}.wu-card-glass{background:var(--wu-card-bg);border:1px solid var(--wu-glass-border);box-shadow:var(--wu-glass-highlight),var(--wu-glass-shadow)}@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.wu-card-glass{background:var(--wu-glass-bg);-webkit-backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate));backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate))}}.wu-card-header:empty,.wu-card-actions:empty,.wu-card-footer:empty,.wu-card-content:empty,.wu-card-content[hidden],.wu-card-caption:not(:has(>:not(:empty))){display:none}.wu-card-header img{display:block;width:100%}.wu-card-body{display:flex;flex-direction:column;gap:var(--wu-card-body-gap);padding:var(--wu-card-padding)}.wu-card-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:var(--wu-card-caption-gap)}.wu-card-titles{display:flex;flex-direction:column;gap:var(--wu-card-title-gap);min-width:0}.wu-card-title{font-family:var(--wu-heading-font-family);font-size:var(--wu-card-title-size);font-weight:var(--wu-card-title-weight);line-height:1.35}.wu-card-subtitle{color:var(--wu-text-muted)}.wu-card-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.wu-card-content{padding:var(--wu-card-content-padding-y) 0}.wu-card-footer{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding-top:var(--wu-card-footer-padding-top)}.wu-card-footer>:only-child:not(wu-button,button,a,.wu-btn,.p-button){flex:1 1 100%;min-width:0}.wu-card-footer>[wuCardFooter]:has(>wu-button,>button,>a,>.wu-btn),.wu-card-actions>[wuCardActions]:has(>wu-button,>button,>a,>.wu-btn){display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.wu-card-skeleton{display:flex;flex-direction:column;gap:10px;padding:var(--wu-card-content-padding-y) 0}.wu-card-skeleton span{display:block;height:.9em;border-radius:var(--wu-radius-sm);background:linear-gradient(90deg,var(--wu-hover-bg) 25%,var(--wu-border) 50%,var(--wu-hover-bg) 75%);background-size:300% 100%;animation:wu-card-shine 1.4s ease infinite}.wu-card-skeleton span:nth-child(2){width:85%}.wu-card-skeleton span:nth-child(3){width:60%}@keyframes wu-card-shine{0%{background-position:100% 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){.wu-card-skeleton span{animation:none}}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
61
61
  }
62
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuCard, decorators: [{
63
63
  type: Component,
64
- args: [{ selector: 'wu-card', standalone: true, imports: [NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"classes()\" [style]=\"rootStyle()\" [attr.aria-busy]=\"loading() || null\">\n <div class=\"wu-card-header p-card-header\">\n <ng-content select=\"[wuCardHeader], wu-header\"></ng-content>\n @if (headerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-body p-card-body\">\n <div class=\"wu-card-caption\">\n @if (header() || subheader() || titleTemplate() || subtitleTemplate()) {\n <div class=\"wu-card-titles p-card-caption\">\n @if (header() || titleTemplate()) {\n <div class=\"wu-card-title p-card-title\">\n {{ header() }}\n @if (titleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n @if (subheader() || subtitleTemplate()) {\n <div class=\"wu-card-subtitle p-card-subtitle\">\n {{ subheader() }}\n @if (subtitleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n </div>\n }\n <div class=\"wu-card-actions\"><ng-content select=\"[wuCardActions]\"></ng-content></div>\n </div>\n @if (loading()) {\n <div class=\"wu-card-skeleton\" aria-hidden=\"true\"><span></span><span></span><span></span></div>\n }\n <div class=\"wu-card-content p-card-content\" [hidden]=\"loading()\">\n <ng-content></ng-content>\n @if (contentTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-footer p-card-footer\">\n <ng-content select=\"[wuCardFooter], wu-footer\"></ng-content>\n @if (footerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n </div>\n</div>\n", styles: ["@layer wiraui.components{wu-card{display:block}.wu-card{background:var(--wu-card-bg);color:var(--wu-text);border:var(--wu-card-border-width) solid var(--wu-border);border-radius:var(--wu-card-radius);box-shadow:var(--wu-card-shadow);-webkit-backdrop-filter:var(--wu-card-backdrop);backdrop-filter:var(--wu-card-backdrop);overflow:hidden;font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height)}.wu-card-outlined{border-width:1px;box-shadow:none}.wu-card-elevated{border-width:0;box-shadow:var(--wu-shadow-md)}.wu-card-glass{background:var(--wu-card-bg);border:1px solid var(--wu-glass-border);box-shadow:var(--wu-glass-highlight),var(--wu-glass-shadow)}@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.wu-card-glass{background:var(--wu-glass-bg);-webkit-backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate));backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate))}}.wu-card-header:empty,.wu-card-actions:empty,.wu-card-footer:empty,.wu-card-content:empty,.wu-card-content[hidden],.wu-card-caption:not(:has(>:not(:empty))){display:none}.wu-card-header img{display:block;width:100%}.wu-card-body{display:flex;flex-direction:column;gap:var(--wu-card-body-gap);padding:var(--wu-card-padding)}.wu-card-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:var(--wu-card-caption-gap)}.wu-card-titles{display:flex;flex-direction:column;gap:var(--wu-card-title-gap);min-width:0}.wu-card-title{font-size:var(--wu-card-title-size);font-weight:var(--wu-card-title-weight);line-height:1.35}.wu-card-subtitle{color:var(--wu-text-muted)}.wu-card-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.wu-card-content{padding:var(--wu-card-content-padding-y) 0}.wu-card-footer{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding-top:var(--wu-card-footer-padding-top)}.wu-card-footer>[wuCardFooter]:has(>wu-button,>button,>a,>.wu-btn),.wu-card-actions>[wuCardActions]:has(>wu-button,>button,>a,>.wu-btn){display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.wu-card-skeleton{display:flex;flex-direction:column;gap:10px;padding:var(--wu-card-content-padding-y) 0}.wu-card-skeleton span{display:block;height:.9em;border-radius:var(--wu-radius-sm);background:linear-gradient(90deg,var(--wu-hover-bg) 25%,var(--wu-border) 50%,var(--wu-hover-bg) 75%);background-size:300% 100%;animation:wu-card-shine 1.4s ease infinite}.wu-card-skeleton span:nth-child(2){width:85%}.wu-card-skeleton span:nth-child(3){width:60%}@keyframes wu-card-shine{0%{background-position:100% 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){.wu-card-skeleton span{animation:none}}}\n"] }]
65
- }], ctorParameters: () => [], propDecorators: { header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], subheader: [{ type: i0.Input, args: [{ isSignal: true, alias: "subheader", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => WuTemplate), { isSignal: true }] }], headerRef: [{ type: i0.ContentChild, args: ['header', { ...{ read: TemplateRef }, isSignal: true }] }], titleRef: [{ type: i0.ContentChild, args: ['title', { ...{ read: TemplateRef }, isSignal: true }] }], subtitleRef: [{ type: i0.ContentChild, args: ['subtitle', { ...{ read: TemplateRef }, isSignal: true }] }], contentRef: [{ type: i0.ContentChild, args: ['content', { ...{ read: TemplateRef }, isSignal: true }] }], footerRef: [{ type: i0.ContentChild, args: ['footer', { ...{ read: TemplateRef }, isSignal: true }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }] } });
64
+ args: [{ selector: 'wu-card', standalone: true, imports: [NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"classes()\" [style]=\"rootStyle()\" [attr.aria-busy]=\"loading() || null\">\n <div class=\"wu-card-header p-card-header\">\n <ng-content select=\"[wuCardHeader], wu-header\"></ng-content>\n @if (headerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-body p-card-body\">\n <div class=\"wu-card-caption\">\n @if (header() || subheader() || titleTemplate() || subtitleTemplate()) {\n <div class=\"wu-card-titles p-card-caption\">\n @if (header() || titleTemplate()) {\n <div class=\"wu-card-title p-card-title\">\n {{ header() }}\n @if (titleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n @if (subheader() || subtitleTemplate()) {\n <div class=\"wu-card-subtitle p-card-subtitle\">\n {{ subheader() }}\n @if (subtitleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n </div>\n }\n <div class=\"wu-card-actions\"><ng-content select=\"[wuCardActions]\"></ng-content></div>\n </div>\n @if (loading()) {\n <div class=\"wu-card-skeleton\" aria-hidden=\"true\"><span></span><span></span><span></span></div>\n }\n <div class=\"wu-card-content p-card-content\" [hidden]=\"loading()\">\n <ng-content></ng-content>\n @if (contentTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-footer p-card-footer\">\n <ng-content select=\"[wuCardFooter], wu-footer\"></ng-content>\n @if (footerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n </div>\n</div>\n", styles: ["@layer wiraui.components{wu-card{display:block}.wu-card{background:var(--wu-card-bg);color:var(--wu-text);border:var(--wu-card-border-width) solid var(--wu-border);border-radius:var(--wu-card-radius);box-shadow:var(--wu-card-shadow);-webkit-backdrop-filter:var(--wu-card-backdrop);backdrop-filter:var(--wu-card-backdrop);overflow:hidden;font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height)}.wu-card-outlined{border-width:1px;box-shadow:none}.wu-card-elevated{border-width:0;box-shadow:var(--wu-shadow-md)}.wu-card-glass{background:var(--wu-card-bg);border:1px solid var(--wu-glass-border);box-shadow:var(--wu-glass-highlight),var(--wu-glass-shadow)}@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.wu-card-glass{background:var(--wu-glass-bg);-webkit-backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate));backdrop-filter:blur(var(--wu-glass-blur)) saturate(var(--wu-glass-saturate))}}.wu-card-header:empty,.wu-card-actions:empty,.wu-card-footer:empty,.wu-card-content:empty,.wu-card-content[hidden],.wu-card-caption:not(:has(>:not(:empty))){display:none}.wu-card-header img{display:block;width:100%}.wu-card-body{display:flex;flex-direction:column;gap:var(--wu-card-body-gap);padding:var(--wu-card-padding)}.wu-card-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:var(--wu-card-caption-gap)}.wu-card-titles{display:flex;flex-direction:column;gap:var(--wu-card-title-gap);min-width:0}.wu-card-title{font-family:var(--wu-heading-font-family);font-size:var(--wu-card-title-size);font-weight:var(--wu-card-title-weight);line-height:1.35}.wu-card-subtitle{color:var(--wu-text-muted)}.wu-card-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.wu-card-content{padding:var(--wu-card-content-padding-y) 0}.wu-card-footer{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding-top:var(--wu-card-footer-padding-top)}.wu-card-footer>:only-child:not(wu-button,button,a,.wu-btn,.p-button){flex:1 1 100%;min-width:0}.wu-card-footer>[wuCardFooter]:has(>wu-button,>button,>a,>.wu-btn),.wu-card-actions>[wuCardActions]:has(>wu-button,>button,>a,>.wu-btn){display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.wu-card-skeleton{display:flex;flex-direction:column;gap:10px;padding:var(--wu-card-content-padding-y) 0}.wu-card-skeleton span{display:block;height:.9em;border-radius:var(--wu-radius-sm);background:linear-gradient(90deg,var(--wu-hover-bg) 25%,var(--wu-border) 50%,var(--wu-hover-bg) 75%);background-size:300% 100%;animation:wu-card-shine 1.4s ease infinite}.wu-card-skeleton span:nth-child(2){width:85%}.wu-card-skeleton span:nth-child(3){width:60%}@keyframes wu-card-shine{0%{background-position:100% 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){.wu-card-skeleton span{animation:none}}}\n"] }]
65
+ }], ctorParameters: () => [], propDecorators: { header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], subheader: [{ type: i0.Input, args: [{ isSignal: true, alias: "subheader", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => WuTemplate), { isSignal: true }] }], headerRef: [{ type: i0.ContentChild, args: ['header', { ...{ read: TemplateRef, descendants: false }, isSignal: true }] }], titleRef: [{ type: i0.ContentChild, args: ['title', { ...{ read: TemplateRef, descendants: false }, isSignal: true }] }], subtitleRef: [{ type: i0.ContentChild, args: ['subtitle', { ...{ read: TemplateRef, descendants: false }, isSignal: true }] }], contentRef: [{ type: i0.ContentChild, args: ['content', { ...{ read: TemplateRef, descendants: false }, isSignal: true }] }], footerRef: [{ type: i0.ContentChild, args: ['footer', { ...{ read: TemplateRef, descendants: false }, isSignal: true }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }] } });
66
66
 
67
67
  /** `<wu-header>` inside a card: projected into the card's top area, as before. */
68
68
  class WuHeader {
@@ -1 +1 @@
1
- {"version":3,"file":"wirabyte-ui-card.mjs","sources":["../../lib/card/card.component.ts","../../lib/card/card.component.html","../../lib/card/card-slots.ts","../../lib/card/card.module.ts","../../lib/card/wirabyte-ui-card.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n contentChildren,\n inject,\n input,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport { ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, WU_VERSION_INFO, WuTemplate } from '@wirabyte/ui/config';\nimport { WuCardVariant } from './card.types';\n\n/**\n * Card with `header` / `subheader` inputs and projected slots:\n * `[wuCardHeader]` (top media), `[wuCardActions]` (right of the title), default content, `[wuCardFooter]`.\n * The templates apps already use work too: `header`, `title`, `subtitle`, `content`, `footer`\n * (`pTemplate=\"footer\"`, `wuTemplate=\"footer\"` or `#footer`), and `<wu-header>` / `<wu-footer>` elements.\n * Extras: `variant` (outlined, elevated, and glass from v3 on) and `loading` (skeleton lines instead of content).\n */\n@Component({\n selector: 'wu-card',\n standalone: true,\n imports: [NgTemplateOutlet],\n templateUrl: './card.component.html',\n styleUrl: './card.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuCard {\n readonly header = input<string>();\n readonly subheader = input<string>();\n readonly variant = input<WuCardVariant>('default');\n readonly loading = input(false, { transform: booleanAttribute });\n\n private readonly templates = contentChildren(WuTemplate);\n private readonly headerRef = contentChild('header', { read: TemplateRef });\n private readonly titleRef = contentChild('title', { read: TemplateRef });\n private readonly subtitleRef = contentChild('subtitle', { read: TemplateRef });\n private readonly contentRef = contentChild('content', { read: TemplateRef });\n private readonly footerRef = contentChild('footer', { read: TemplateRef });\n readonly headerTemplate = computed(() => this.headerRef() || this.named('header'));\n readonly titleTemplate = computed(() => this.titleRef() || this.named('title'));\n readonly subtitleTemplate = computed(() => this.subtitleRef() || this.named('subtitle'));\n readonly contentTemplate = computed(() => this.contentRef() || this.named('content'));\n readonly footerTemplate = computed(() => this.footerRef() || this.named('footer'));\n\n /** Classes for the root element, as before (`styleClass=\"w-full\"`). */\n readonly styleClass = input<string | null | undefined>();\n /** Inline styles for the root element, as an object: `[style]=\"{ width: '20rem' }\"`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly style = input<Record<string, any> | string | null | undefined>();\n /** The `style` object for the root (a plain style attribute already styles the host). */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly rootStyle = computed(() => { const s = this.style(); return s && typeof s === 'object' ? (s as Record<string, any>) : null; });\n readonly classes = computed(() => {\n const c = ['wu-card', 'p-card', 'p-component'];\n const variant = this.variant();\n // Glass is a v3 look; v2 shows a plain card.\n if (variant !== 'default' && (variant !== 'glass' || WU_VERSION_INFO.major >= 3)) c.push('wu-card-' + variant);\n if (this.loading()) c.push('wu-card-loading');\n const extra = this.styleClass();\n if (extra) c.push(extra);\n return c.join(' ');\n });\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n private named(name: string): TemplateRef<unknown> | null {\n for (const t of this.templates()) if (t.name === name) return t.template;\n return null;\n }\n}\n","<div [class]=\"classes()\" [style]=\"rootStyle()\" [attr.aria-busy]=\"loading() || null\">\n <div class=\"wu-card-header p-card-header\">\n <ng-content select=\"[wuCardHeader], wu-header\"></ng-content>\n @if (headerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-body p-card-body\">\n <div class=\"wu-card-caption\">\n @if (header() || subheader() || titleTemplate() || subtitleTemplate()) {\n <div class=\"wu-card-titles p-card-caption\">\n @if (header() || titleTemplate()) {\n <div class=\"wu-card-title p-card-title\">\n {{ header() }}\n @if (titleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n @if (subheader() || subtitleTemplate()) {\n <div class=\"wu-card-subtitle p-card-subtitle\">\n {{ subheader() }}\n @if (subtitleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n </div>\n }\n <div class=\"wu-card-actions\"><ng-content select=\"[wuCardActions]\"></ng-content></div>\n </div>\n @if (loading()) {\n <div class=\"wu-card-skeleton\" aria-hidden=\"true\"><span></span><span></span><span></span></div>\n }\n <div class=\"wu-card-content p-card-content\" [hidden]=\"loading()\">\n <ng-content></ng-content>\n @if (contentTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-footer p-card-footer\">\n <ng-content select=\"[wuCardFooter], wu-footer\"></ng-content>\n @if (footerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n </div>\n</div>\n","import { Directive } from '@angular/core';\n\n/** `<wu-header>` inside a card: projected into the card's top area, as before. */\n@Directive({\n selector: 'wu-header',\n standalone: true,\n})\nexport class WuHeader {}\n\n/** `<wu-footer>` inside a card: projected into the card's footer, as before. (Dialogs read it too.) */\n@Directive({\n selector: 'wu-footer',\n standalone: true,\n})\nexport class WuFooter {}\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuHeader, WuFooter } from './card-slots';\nimport { WuCard } from './card.component';\n\n/** For NgModule apps: the card, `<wu-header>` / `<wu-footer>` and `wuTemplate` (`pTemplate`). */\n@NgModule({\n imports: [WuCard, WuHeader, WuFooter, WuTemplate],\n exports: [WuCard, WuHeader, WuFooter, WuTemplate],\n})\nexport class WuCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK"],"mappings":";;;;;AAgBA;;;;;;AAMG;MAUU,MAAM,CAAA;AAqCjB,IAAA,WAAA,GAAA;QApCS,IAAA,CAAA,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;QACxB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;AAC3B,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAgB,SAAS,8EAAC;QACzC,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK,+EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE/C,QAAA,IAAA,CAAA,SAAS,GAAG,eAAe,CAAC,UAAU,gFAAC;QACvC,IAAA,CAAA,SAAS,GAAG,YAAY,CAAC,QAAQ,iFAAI,IAAI,EAAE,WAAW,EAAA,CAAG;QACzD,IAAA,CAAA,QAAQ,GAAG,YAAY,CAAC,OAAO,gFAAI,IAAI,EAAE,WAAW,EAAA,CAAG;QACvD,IAAA,CAAA,WAAW,GAAG,YAAY,CAAC,UAAU,mFAAI,IAAI,EAAE,WAAW,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AACrB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACRD;MAKa,YAAY,CAAA;+GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EAAA,OAAA,EAAA,CAHb,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CACtC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA;gHAErC,YAAY,EAAA,CAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC;oBACjD,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC;AAClD,iBAAA;;;ACTD;;AAEG;;"}
1
+ {"version":3,"file":"wirabyte-ui-card.mjs","sources":["../../lib/card/card.component.ts","../../lib/card/card.component.html","../../lib/card/card-slots.ts","../../lib/card/card.module.ts","../../lib/card/wirabyte-ui-card.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n contentChildren,\n inject,\n input,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport { ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, WU_VERSION_INFO, WuTemplate } from '@wirabyte/ui/config';\nimport { WuCardVariant } from './card.types';\n\n/**\n * Card with `header` / `subheader` inputs and projected slots:\n * `[wuCardHeader]` (top media), `[wuCardActions]` (right of the title), default content, `[wuCardFooter]`.\n * The templates apps already use work too: `header`, `title`, `subtitle`, `content`, `footer`\n * (`pTemplate=\"footer\"`, `wuTemplate=\"footer\"` or `#footer`), and `<wu-header>` / `<wu-footer>` elements.\n * Extras: `variant` (outlined, elevated, and glass from v3 on) and `loading` (skeleton lines instead of content).\n */\n@Component({\n selector: 'wu-card',\n standalone: true,\n imports: [NgTemplateOutlet],\n templateUrl: './card.component.html',\n styleUrl: './card.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuCard {\n readonly header = input<string>();\n readonly subheader = input<string>();\n readonly variant = input<WuCardVariant>('default');\n readonly loading = input(false, { transform: booleanAttribute });\n\n private readonly templates = contentChildren(WuTemplate);\n private readonly headerRef = contentChild('header', { read: TemplateRef, descendants: false });\n private readonly titleRef = contentChild('title', { read: TemplateRef, descendants: false });\n private readonly subtitleRef = contentChild('subtitle', { read: TemplateRef, descendants: false });\n private readonly contentRef = contentChild('content', { read: TemplateRef, descendants: false });\n private readonly footerRef = contentChild('footer', { read: TemplateRef, descendants: false });\n readonly headerTemplate = computed(() => this.headerRef() || this.named('header'));\n readonly titleTemplate = computed(() => this.titleRef() || this.named('title'));\n readonly subtitleTemplate = computed(() => this.subtitleRef() || this.named('subtitle'));\n readonly contentTemplate = computed(() => this.contentRef() || this.named('content'));\n readonly footerTemplate = computed(() => this.footerRef() || this.named('footer'));\n\n /** Classes for the root element, as before (`styleClass=\"w-full\"`). */\n readonly styleClass = input<string | null | undefined>();\n /** Inline styles for the root element, as an object: `[style]=\"{ width: '20rem' }\"`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly style = input<Record<string, any> | string | null | undefined>();\n /** The `style` object for the root (a plain style attribute already styles the host). */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly rootStyle = computed(() => { const s = this.style(); return s && typeof s === 'object' ? (s as Record<string, any>) : null; });\n readonly classes = computed(() => {\n const c = ['wu-card', 'p-card', 'p-component'];\n const variant = this.variant();\n // Glass is a v3 look; v2 shows a plain card.\n if (variant !== 'default' && (variant !== 'glass' || WU_VERSION_INFO.major >= 3)) c.push('wu-card-' + variant);\n if (this.loading()) c.push('wu-card-loading');\n const extra = this.styleClass();\n if (extra) c.push(extra);\n return c.join(' ');\n });\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n private named(name: string): TemplateRef<unknown> | null {\n for (const t of this.templates()) if (t.name === name) return t.template;\n return null;\n }\n}\n","<div [class]=\"classes()\" [style]=\"rootStyle()\" [attr.aria-busy]=\"loading() || null\">\n <div class=\"wu-card-header p-card-header\">\n <ng-content select=\"[wuCardHeader], wu-header\"></ng-content>\n @if (headerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-body p-card-body\">\n <div class=\"wu-card-caption\">\n @if (header() || subheader() || titleTemplate() || subtitleTemplate()) {\n <div class=\"wu-card-titles p-card-caption\">\n @if (header() || titleTemplate()) {\n <div class=\"wu-card-title p-card-title\">\n {{ header() }}\n @if (titleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n @if (subheader() || subtitleTemplate()) {\n <div class=\"wu-card-subtitle p-card-subtitle\">\n {{ subheader() }}\n @if (subtitleTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n }\n </div>\n }\n <div class=\"wu-card-actions\"><ng-content select=\"[wuCardActions]\"></ng-content></div>\n </div>\n @if (loading()) {\n <div class=\"wu-card-skeleton\" aria-hidden=\"true\"><span></span><span></span><span></span></div>\n }\n <div class=\"wu-card-content p-card-content\" [hidden]=\"loading()\">\n <ng-content></ng-content>\n @if (contentTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n <div class=\"wu-card-footer p-card-footer\">\n <ng-content select=\"[wuCardFooter], wu-footer\"></ng-content>\n @if (footerTemplate(); as t) {\n <ng-container *ngTemplateOutlet=\"t\"></ng-container>\n }\n </div>\n </div>\n</div>\n","import { Directive } from '@angular/core';\n\n/** `<wu-header>` inside a card: projected into the card's top area, as before. */\n@Directive({\n selector: 'wu-header',\n standalone: true,\n})\nexport class WuHeader {}\n\n/** `<wu-footer>` inside a card: projected into the card's footer, as before. (Dialogs read it too.) */\n@Directive({\n selector: 'wu-footer',\n standalone: true,\n})\nexport class WuFooter {}\n","import { NgModule } from '@angular/core';\nimport { WuTemplate } from '@wirabyte/ui/config';\nimport { WuHeader, WuFooter } from './card-slots';\nimport { WuCard } from './card.component';\n\n/** For NgModule apps: the card, `<wu-header>` / `<wu-footer>` and `wuTemplate` (`pTemplate`). */\n@NgModule({\n imports: [WuCard, WuHeader, WuFooter, WuTemplate],\n exports: [WuCard, WuHeader, WuFooter, WuTemplate],\n})\nexport class WuCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK"],"mappings":";;;;;AAgBA;;;;;;AAMG;MAUU,MAAM,CAAA;AAqCjB,IAAA,WAAA,GAAA;QApCS,IAAA,CAAA,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;QACxB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;AAC3B,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAgB,SAAS,8EAAC;QACzC,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK,+EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE/C,QAAA,IA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