@tectra-ng/blocks 0.4.1 → 0.4.3

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 (60) hide show
  1. package/app-layout/README.md +2 -0
  2. package/confetti/README.md +1 -1
  3. package/cookie-notice/README.md +3 -1
  4. package/fesm2022/tectra-ng-blocks-action-tile.mjs +2 -0
  5. package/fesm2022/tectra-ng-blocks-action-tile.mjs.map +1 -1
  6. package/fesm2022/tectra-ng-blocks-app-layout.mjs +4 -2
  7. package/fesm2022/tectra-ng-blocks-app-layout.mjs.map +1 -1
  8. package/fesm2022/tectra-ng-blocks-command-palette.mjs +2 -2
  9. package/fesm2022/tectra-ng-blocks-command-palette.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-blocks-confetti.mjs +13 -3
  11. package/fesm2022/tectra-ng-blocks-confetti.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-blocks-console-layout.mjs +2 -0
  13. package/fesm2022/tectra-ng-blocks-console-layout.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-blocks-cookie-notice.mjs +53 -7
  15. package/fesm2022/tectra-ng-blocks-cookie-notice.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-blocks-empty-state.mjs +2 -0
  17. package/fesm2022/tectra-ng-blocks-empty-state.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-blocks-filters-panel.mjs +2 -2
  19. package/fesm2022/tectra-ng-blocks-filters-panel.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-blocks-kanban.mjs +90 -10
  21. package/fesm2022/tectra-ng-blocks-kanban.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-blocks-network-status.mjs +140 -39
  23. package/fesm2022/tectra-ng-blocks-network-status.mjs.map +1 -1
  24. package/fesm2022/tectra-ng-blocks-page-header.mjs +4 -2
  25. package/fesm2022/tectra-ng-blocks-page-header.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs +62 -6
  27. package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs.map +1 -1
  28. package/fesm2022/tectra-ng-blocks-public-header.mjs +4 -4
  29. package/fesm2022/tectra-ng-blocks-public-header.mjs.map +1 -1
  30. package/fesm2022/tectra-ng-blocks-theme-configurator.mjs +422 -0
  31. package/fesm2022/tectra-ng-blocks-theme-configurator.mjs.map +1 -0
  32. package/fesm2022/tectra-ng-blocks-wizard.mjs +55 -25
  33. package/fesm2022/tectra-ng-blocks-wizard.mjs.map +1 -1
  34. package/fesm2022/tectra-ng-blocks.mjs +1 -1
  35. package/kanban/README.md +13 -2
  36. package/network-status/README.md +21 -4
  37. package/package.json +11 -6
  38. package/pinned-tabs/README.md +6 -1
  39. package/theme-configurator/README.md +59 -0
  40. package/types/tectra-ng-blocks-action-tile.d.ts.map +1 -1
  41. package/types/tectra-ng-blocks-app-layout.d.ts.map +1 -1
  42. package/types/tectra-ng-blocks-confetti.d.ts +3 -0
  43. package/types/tectra-ng-blocks-confetti.d.ts.map +1 -1
  44. package/types/tectra-ng-blocks-console-layout.d.ts.map +1 -1
  45. package/types/tectra-ng-blocks-cookie-notice.d.ts +15 -0
  46. package/types/tectra-ng-blocks-cookie-notice.d.ts.map +1 -1
  47. package/types/tectra-ng-blocks-empty-state.d.ts.map +1 -1
  48. package/types/tectra-ng-blocks-kanban.d.ts +51 -11
  49. package/types/tectra-ng-blocks-kanban.d.ts.map +1 -1
  50. package/types/tectra-ng-blocks-network-status.d.ts +36 -7
  51. package/types/tectra-ng-blocks-network-status.d.ts.map +1 -1
  52. package/types/tectra-ng-blocks-page-header.d.ts.map +1 -1
  53. package/types/tectra-ng-blocks-pinned-tabs.d.ts +22 -0
  54. package/types/tectra-ng-blocks-pinned-tabs.d.ts.map +1 -1
  55. package/types/tectra-ng-blocks-theme-configurator.d.ts +98 -0
  56. package/types/tectra-ng-blocks-theme-configurator.d.ts.map +1 -0
  57. package/types/tectra-ng-blocks-wizard.d.ts +2 -0
  58. package/types/tectra-ng-blocks-wizard.d.ts.map +1 -1
  59. package/types/tectra-ng-blocks.d.ts +1 -1
  60. package/wizard/README.md +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { ChangeDetectionStrategy, Component, DOCUMENT, afterNextRender, computed, inject, input, numberAttribute, output, signal } from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, DOCUMENT, afterNextRender, booleanAttribute, computed, effect, inject, input, numberAttribute, output, signal, untracked } from "@angular/core";
3
3
  import { ActivatedRoute, Router, RouterLink } from "@angular/router";
4
4
  import { injectPassThrough, injectTokens, injectUnstyled } from "@tectra-ng/core/config";
5
5
  import { injectTranslations } from "@tectra-ng/core/i18n";
@@ -32,6 +32,14 @@ var TxCookieNotice = class TxCookieNotice {
32
32
  transform: numberAttribute
33
33
  });
34
34
  sharedDomain = input(void 0, ...ngDevMode ? [{ debugName: "sharedDomain" }] : /* istanbul ignore next */ []);
35
+ autoShow = input(true, {
36
+ ...ngDevMode ? { debugName: "autoShow" } : /* istanbul ignore next */ {},
37
+ transform: booleanAttribute
38
+ });
39
+ preview = input(false, {
40
+ ...ngDevMode ? { debugName: "preview" } : /* istanbul ignore next */ {},
41
+ transform: booleanAttribute
42
+ });
35
43
  dt = input(void 0, ...ngDevMode ? [{ debugName: "dt" }] : /* istanbul ignore next */ []);
36
44
  pt = input(void 0, ...ngDevMode ? [{ debugName: "pt" }] : /* istanbul ignore next */ []);
37
45
  ptOptions = input(void 0, ...ngDevMode ? [{ debugName: "ptOptions" }] : /* istanbul ignore next */ []);
@@ -48,14 +56,20 @@ var TxCookieNotice = class TxCookieNotice {
48
56
  ...this.passThrough().root?.style
49
57
  }), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
50
58
  visible = signal(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
59
+ rendered = signal(false, ...ngDevMode ? [{ debugName: "rendered" }] : /* istanbul ignore next */ []);
51
60
  constructor() {
52
- afterNextRender(() => this.visible.set(!this.readDismissed()));
61
+ afterNextRender(() => this.rendered.set(true));
62
+ effect(() => {
63
+ if (!this.rendered()) return;
64
+ const preview = this.preview();
65
+ untracked(() => this.visible.set(preview || this.autoShow() && !this.readDismissed()));
66
+ });
53
67
  }
54
68
  show() {
55
69
  this.visible.set(true);
56
70
  }
57
71
  dismiss() {
58
- this.writeDismissed();
72
+ if (!this.preview()) this.writeDismissed();
59
73
  this.visible.set(false);
60
74
  this.dismissed.emit();
61
75
  }
@@ -163,6 +177,20 @@ var TxCookieNotice = class TxCookieNotice {
163
177
  isRequired: false,
164
178
  transformFunction: null
165
179
  },
180
+ autoShow: {
181
+ classPropertyName: "autoShow",
182
+ publicName: "autoShow",
183
+ isSignal: true,
184
+ isRequired: false,
185
+ transformFunction: null
186
+ },
187
+ preview: {
188
+ classPropertyName: "preview",
189
+ publicName: "preview",
190
+ isSignal: true,
191
+ isRequired: false,
192
+ transformFunction: null
193
+ },
166
194
  dt: {
167
195
  classPropertyName: "dt",
168
196
  publicName: "dt",
@@ -197,13 +225,14 @@ var TxCookieNotice = class TxCookieNotice {
197
225
  properties: {
198
226
  "class": "passThrough().root?.class",
199
227
  "style": "hostStyle()",
200
- "attr.data-styled": "!isUnstyled() || null"
228
+ "attr.data-styled": "!isUnstyled() || null",
229
+ "attr.title": "null"
201
230
  },
202
231
  classAttribute: "tx-cookie-notice"
203
232
  },
204
233
  ngImport: i0,
205
234
  template: "@if (visible()) {\n <section\n class=\"tx-cookie-notice__panel\"\n role=\"region\"\n animate.enter=\"tx-cookie-notice__panel--enter\"\n animate.leave=\"tx-cookie-notice__panel--leave\"\n [attr.aria-label]=\"label() ?? translations().cookieLabel\"\n >\n <span class=\"tx-cookie-notice__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon()\" />\n </span>\n <div class=\"tx-cookie-notice__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n <p class=\"tx-cookie-notice__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() ?? translations().cookieTitle }}</p>\n <p class=\"tx-cookie-notice__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() ?? translations().cookieText }}</p>\n <div class=\"tx-cookie-notice__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (link() !== undefined && router) {\n <a class=\"tx-cookie-notice__link\" [routerLink]=\"link()\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n } @else if (href(); as href) {\n <a class=\"tx-cookie-notice__link\" [href]=\"href\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n }\n <button\n txButton\n type=\"button\"\n size=\"small\"\n class=\"tx-cookie-notice__accept\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().accept?.class\"\n [style]=\"passThrough().accept?.style\"\n (click)=\"dismiss()\"\n >\n {{ acceptLabel() ?? translations().cookieAccept }}\n </button>\n </div>\n </div>\n </section>\n}\n",
206
- styles: [":host{display:contents}.tx-cookie-notice__panel{position:fixed;display:flex;align-items:flex-start;box-sizing:border-box}.tx-cookie-notice__icon{display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-cookie-notice__body{display:flex;flex:1;flex-direction:column;min-width:0}.tx-cookie-notice__title,.tx-cookie-notice__text{margin:0}.tx-cookie-notice__actions{display:flex;align-items:center;justify-content:flex-end}.tx-cookie-notice__link{text-decoration:none;text-underline-offset:2px}.tx-cookie-notice__link:hover{text-decoration:underline}:host([data-styled]) .tx-cookie-notice__panel{z-index:var(--tx-cookie-notice-z-index);right:var(--tx-cookie-notice-inset);bottom:var(--tx-cookie-notice-inset);left:var(--tx-cookie-notice-inset);gap:var(--tx-cookie-notice-gap);padding:var(--tx-cookie-notice-padding);border-radius:var(--tx-cookie-notice-border-radius);background:var(--tx-cookie-notice-background);box-shadow:0 0 0 1px var(--tx-cookie-notice-ring-color),var(--tx-cookie-notice-shadow);font-family:var(--tx-font-family);-webkit-backdrop-filter:var(--tx-cookie-notice-backdrop-filter);backdrop-filter:var(--tx-cookie-notice-backdrop-filter)}:host([data-styled]) .tx-cookie-notice__icon{width:var(--tx-cookie-notice-icon-size);height:var(--tx-cookie-notice-icon-size);border-radius:50%;background:var(--tx-cookie-notice-icon-background);color:var(--tx-cookie-notice-icon-color);font-size:var(--tx-cookie-notice-icon-font-size)}:host([data-styled]) .tx-cookie-notice__body{gap:var(--tx-cookie-notice-body-gap)}:host([data-styled]) .tx-cookie-notice__title{color:var(--tx-cookie-notice-title-color);font-size:var(--tx-cookie-notice-title-font-size);font-weight:var(--tx-cookie-notice-title-font-weight)}:host([data-styled]) .tx-cookie-notice__text{color:var(--tx-cookie-notice-text-color);font-size:var(--tx-cookie-notice-text-font-size);line-height:var(--tx-cookie-notice-text-line-height)}:host([data-styled]) .tx-cookie-notice__actions{gap:var(--tx-cookie-notice-actions-gap);margin-top:var(--tx-cookie-notice-actions-margin-top)}:host([data-styled]) .tx-cookie-notice__link{border-radius:2px;color:var(--tx-cookie-notice-link-color);font-size:var(--tx-cookie-notice-link-font-size);font-weight:var(--tx-cookie-notice-link-font-weight)}:host([data-styled]) .tx-cookie-notice__link:focus-visible{outline:none;box-shadow:var(--tx-cookie-notice-link-focus-ring-shadow)}:host([data-styled]) .tx-cookie-notice__panel--enter{animation:tx-cookie-notice-in var(--tx-cookie-notice-motion-enter-duration) var(--tx-cookie-notice-motion-enter-easing) var(--tx-cookie-notice-motion-enter-delay) both}:host([data-styled]) .tx-cookie-notice__panel--leave{animation:tx-cookie-notice-out var(--tx-cookie-notice-motion-leave-duration) ease-in forwards}@media(width>=640px){:host([data-styled]) .tx-cookie-notice__panel{right:auto;bottom:var(--tx-cookie-notice-wide-inset);left:var(--tx-cookie-notice-wide-inset);width:var(--tx-cookie-notice-wide-width)}}@keyframes tx-cookie-notice-in{0%{opacity:0;transform:translateY(16px) scale(.98)}}@keyframes tx-cookie-notice-out{to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-cookie-notice__panel--enter,:host([data-styled]) .tx-cookie-notice__panel--leave{animation-duration:1ms;animation-delay:0s}}\n"],
235
+ styles: [":host{display:contents}.tx-cookie-notice__panel{position:fixed;display:flex;align-items:flex-start;box-sizing:border-box}.tx-cookie-notice__icon{display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-cookie-notice__body{display:flex;flex:1;flex-direction:column;min-width:0}.tx-cookie-notice__title,.tx-cookie-notice__text{margin:0}.tx-cookie-notice__actions{display:flex;align-items:center;justify-content:flex-end}.tx-cookie-notice__link{text-decoration:none;text-underline-offset:2px}.tx-cookie-notice__link:hover{text-decoration:underline}:host([data-styled]) .tx-cookie-notice__panel{z-index:var(--tx-cookie-notice-z-index);right:var(--tx-cookie-notice-inset);bottom:calc(var(--tx-cookie-notice-inset) + var(--tx-bottom-overlay-offset, 0px));left:var(--tx-cookie-notice-inset);gap:var(--tx-cookie-notice-gap);padding:var(--tx-cookie-notice-padding);border-radius:var(--tx-cookie-notice-border-radius);background:var(--tx-cookie-notice-background);box-shadow:0 0 0 1px var(--tx-cookie-notice-ring-color),var(--tx-cookie-notice-shadow);font-family:var(--tx-font-family);-webkit-backdrop-filter:var(--tx-cookie-notice-backdrop-filter);backdrop-filter:var(--tx-cookie-notice-backdrop-filter);transition:bottom var(--tx-cookie-notice-motion-enter-duration) var(--tx-cookie-notice-motion-enter-easing)}:host([data-styled]) .tx-cookie-notice__icon{width:var(--tx-cookie-notice-icon-size);height:var(--tx-cookie-notice-icon-size);border-radius:50%;background:var(--tx-cookie-notice-icon-background);color:var(--tx-cookie-notice-icon-color);font-size:var(--tx-cookie-notice-icon-font-size)}:host([data-styled]) .tx-cookie-notice__body{gap:var(--tx-cookie-notice-body-gap)}:host([data-styled]) .tx-cookie-notice__title{color:var(--tx-cookie-notice-title-color);font-size:var(--tx-cookie-notice-title-font-size);font-weight:var(--tx-cookie-notice-title-font-weight)}:host([data-styled]) .tx-cookie-notice__text{color:var(--tx-cookie-notice-text-color);font-size:var(--tx-cookie-notice-text-font-size);line-height:var(--tx-cookie-notice-text-line-height)}:host([data-styled]) .tx-cookie-notice__actions{gap:var(--tx-cookie-notice-actions-gap);margin-top:var(--tx-cookie-notice-actions-margin-top)}:host([data-styled]) .tx-cookie-notice__link{border-radius:2px;color:var(--tx-cookie-notice-link-color);font-size:var(--tx-cookie-notice-link-font-size);font-weight:var(--tx-cookie-notice-link-font-weight)}:host([data-styled]) .tx-cookie-notice__link:focus-visible{outline:none;box-shadow:var(--tx-cookie-notice-link-focus-ring-shadow)}:host([data-styled]) .tx-cookie-notice__panel--enter{animation:tx-cookie-notice-in var(--tx-cookie-notice-motion-enter-duration) var(--tx-cookie-notice-motion-enter-easing) var(--tx-cookie-notice-motion-enter-delay) both}:host([data-styled]) .tx-cookie-notice__panel--leave{animation:tx-cookie-notice-out var(--tx-cookie-notice-motion-leave-duration) ease-in forwards}@media(width>=640px){:host([data-styled]) .tx-cookie-notice__panel{right:auto;bottom:calc(var(--tx-cookie-notice-wide-inset) + var(--tx-bottom-overlay-offset, 0px));left:var(--tx-cookie-notice-wide-inset);width:var(--tx-cookie-notice-wide-width)}}@keyframes tx-cookie-notice-in{0%{opacity:0;transform:translateY(16px) scale(.98)}}@keyframes tx-cookie-notice-out{to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-cookie-notice__panel--enter,:host([data-styled]) .tx-cookie-notice__panel--leave{animation-duration:1ms;animation-delay:0s}:host([data-styled]) .tx-cookie-notice__panel{transition:none}}\n"],
207
236
  dependencies: [
208
237
  {
209
238
  kind: "directive",
@@ -285,11 +314,12 @@ i0.ɵɵngDeclareClassMetadata({
285
314
  class: "tx-cookie-notice",
286
315
  "[class]": "passThrough().root?.class",
287
316
  "[style]": "hostStyle()",
288
- "[attr.data-styled]": "!isUnstyled() || null"
317
+ "[attr.data-styled]": "!isUnstyled() || null",
318
+ "[attr.title]": "null"
289
319
  },
290
320
  viewProviders: [provideTxIconDefaults(COOKIE_NOTICE_ICON_DEFAULTS)],
291
321
  template: "@if (visible()) {\n <section\n class=\"tx-cookie-notice__panel\"\n role=\"region\"\n animate.enter=\"tx-cookie-notice__panel--enter\"\n animate.leave=\"tx-cookie-notice__panel--leave\"\n [attr.aria-label]=\"label() ?? translations().cookieLabel\"\n >\n <span class=\"tx-cookie-notice__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon()\" />\n </span>\n <div class=\"tx-cookie-notice__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n <p class=\"tx-cookie-notice__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() ?? translations().cookieTitle }}</p>\n <p class=\"tx-cookie-notice__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() ?? translations().cookieText }}</p>\n <div class=\"tx-cookie-notice__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (link() !== undefined && router) {\n <a class=\"tx-cookie-notice__link\" [routerLink]=\"link()\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n } @else if (href(); as href) {\n <a class=\"tx-cookie-notice__link\" [href]=\"href\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n }\n <button\n txButton\n type=\"button\"\n size=\"small\"\n class=\"tx-cookie-notice__accept\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().accept?.class\"\n [style]=\"passThrough().accept?.style\"\n (click)=\"dismiss()\"\n >\n {{ acceptLabel() ?? translations().cookieAccept }}\n </button>\n </div>\n </div>\n </section>\n}\n",
292
- styles: [":host{display:contents}.tx-cookie-notice__panel{position:fixed;display:flex;align-items:flex-start;box-sizing:border-box}.tx-cookie-notice__icon{display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-cookie-notice__body{display:flex;flex:1;flex-direction:column;min-width:0}.tx-cookie-notice__title,.tx-cookie-notice__text{margin:0}.tx-cookie-notice__actions{display:flex;align-items:center;justify-content:flex-end}.tx-cookie-notice__link{text-decoration:none;text-underline-offset:2px}.tx-cookie-notice__link:hover{text-decoration:underline}:host([data-styled]) .tx-cookie-notice__panel{z-index:var(--tx-cookie-notice-z-index);right:var(--tx-cookie-notice-inset);bottom:var(--tx-cookie-notice-inset);left:var(--tx-cookie-notice-inset);gap:var(--tx-cookie-notice-gap);padding:var(--tx-cookie-notice-padding);border-radius:var(--tx-cookie-notice-border-radius);background:var(--tx-cookie-notice-background);box-shadow:0 0 0 1px var(--tx-cookie-notice-ring-color),var(--tx-cookie-notice-shadow);font-family:var(--tx-font-family);-webkit-backdrop-filter:var(--tx-cookie-notice-backdrop-filter);backdrop-filter:var(--tx-cookie-notice-backdrop-filter)}:host([data-styled]) .tx-cookie-notice__icon{width:var(--tx-cookie-notice-icon-size);height:var(--tx-cookie-notice-icon-size);border-radius:50%;background:var(--tx-cookie-notice-icon-background);color:var(--tx-cookie-notice-icon-color);font-size:var(--tx-cookie-notice-icon-font-size)}:host([data-styled]) .tx-cookie-notice__body{gap:var(--tx-cookie-notice-body-gap)}:host([data-styled]) .tx-cookie-notice__title{color:var(--tx-cookie-notice-title-color);font-size:var(--tx-cookie-notice-title-font-size);font-weight:var(--tx-cookie-notice-title-font-weight)}:host([data-styled]) .tx-cookie-notice__text{color:var(--tx-cookie-notice-text-color);font-size:var(--tx-cookie-notice-text-font-size);line-height:var(--tx-cookie-notice-text-line-height)}:host([data-styled]) .tx-cookie-notice__actions{gap:var(--tx-cookie-notice-actions-gap);margin-top:var(--tx-cookie-notice-actions-margin-top)}:host([data-styled]) .tx-cookie-notice__link{border-radius:2px;color:var(--tx-cookie-notice-link-color);font-size:var(--tx-cookie-notice-link-font-size);font-weight:var(--tx-cookie-notice-link-font-weight)}:host([data-styled]) .tx-cookie-notice__link:focus-visible{outline:none;box-shadow:var(--tx-cookie-notice-link-focus-ring-shadow)}:host([data-styled]) .tx-cookie-notice__panel--enter{animation:tx-cookie-notice-in var(--tx-cookie-notice-motion-enter-duration) var(--tx-cookie-notice-motion-enter-easing) var(--tx-cookie-notice-motion-enter-delay) both}:host([data-styled]) .tx-cookie-notice__panel--leave{animation:tx-cookie-notice-out var(--tx-cookie-notice-motion-leave-duration) ease-in forwards}@media(width>=640px){:host([data-styled]) .tx-cookie-notice__panel{right:auto;bottom:var(--tx-cookie-notice-wide-inset);left:var(--tx-cookie-notice-wide-inset);width:var(--tx-cookie-notice-wide-width)}}@keyframes tx-cookie-notice-in{0%{opacity:0;transform:translateY(16px) scale(.98)}}@keyframes tx-cookie-notice-out{to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-cookie-notice__panel--enter,:host([data-styled]) .tx-cookie-notice__panel--leave{animation-duration:1ms;animation-delay:0s}}\n"]
322
+ styles: [":host{display:contents}.tx-cookie-notice__panel{position:fixed;display:flex;align-items:flex-start;box-sizing:border-box}.tx-cookie-notice__icon{display:flex;flex-shrink:0;align-items:center;justify-content:center}.tx-cookie-notice__body{display:flex;flex:1;flex-direction:column;min-width:0}.tx-cookie-notice__title,.tx-cookie-notice__text{margin:0}.tx-cookie-notice__actions{display:flex;align-items:center;justify-content:flex-end}.tx-cookie-notice__link{text-decoration:none;text-underline-offset:2px}.tx-cookie-notice__link:hover{text-decoration:underline}:host([data-styled]) .tx-cookie-notice__panel{z-index:var(--tx-cookie-notice-z-index);right:var(--tx-cookie-notice-inset);bottom:calc(var(--tx-cookie-notice-inset) + var(--tx-bottom-overlay-offset, 0px));left:var(--tx-cookie-notice-inset);gap:var(--tx-cookie-notice-gap);padding:var(--tx-cookie-notice-padding);border-radius:var(--tx-cookie-notice-border-radius);background:var(--tx-cookie-notice-background);box-shadow:0 0 0 1px var(--tx-cookie-notice-ring-color),var(--tx-cookie-notice-shadow);font-family:var(--tx-font-family);-webkit-backdrop-filter:var(--tx-cookie-notice-backdrop-filter);backdrop-filter:var(--tx-cookie-notice-backdrop-filter);transition:bottom var(--tx-cookie-notice-motion-enter-duration) var(--tx-cookie-notice-motion-enter-easing)}:host([data-styled]) .tx-cookie-notice__icon{width:var(--tx-cookie-notice-icon-size);height:var(--tx-cookie-notice-icon-size);border-radius:50%;background:var(--tx-cookie-notice-icon-background);color:var(--tx-cookie-notice-icon-color);font-size:var(--tx-cookie-notice-icon-font-size)}:host([data-styled]) .tx-cookie-notice__body{gap:var(--tx-cookie-notice-body-gap)}:host([data-styled]) .tx-cookie-notice__title{color:var(--tx-cookie-notice-title-color);font-size:var(--tx-cookie-notice-title-font-size);font-weight:var(--tx-cookie-notice-title-font-weight)}:host([data-styled]) .tx-cookie-notice__text{color:var(--tx-cookie-notice-text-color);font-size:var(--tx-cookie-notice-text-font-size);line-height:var(--tx-cookie-notice-text-line-height)}:host([data-styled]) .tx-cookie-notice__actions{gap:var(--tx-cookie-notice-actions-gap);margin-top:var(--tx-cookie-notice-actions-margin-top)}:host([data-styled]) .tx-cookie-notice__link{border-radius:2px;color:var(--tx-cookie-notice-link-color);font-size:var(--tx-cookie-notice-link-font-size);font-weight:var(--tx-cookie-notice-link-font-weight)}:host([data-styled]) .tx-cookie-notice__link:focus-visible{outline:none;box-shadow:var(--tx-cookie-notice-link-focus-ring-shadow)}:host([data-styled]) .tx-cookie-notice__panel--enter{animation:tx-cookie-notice-in var(--tx-cookie-notice-motion-enter-duration) var(--tx-cookie-notice-motion-enter-easing) var(--tx-cookie-notice-motion-enter-delay) both}:host([data-styled]) .tx-cookie-notice__panel--leave{animation:tx-cookie-notice-out var(--tx-cookie-notice-motion-leave-duration) ease-in forwards}@media(width>=640px){:host([data-styled]) .tx-cookie-notice__panel{right:auto;bottom:calc(var(--tx-cookie-notice-wide-inset) + var(--tx-bottom-overlay-offset, 0px));left:var(--tx-cookie-notice-wide-inset);width:var(--tx-cookie-notice-wide-width)}}@keyframes tx-cookie-notice-in{0%{opacity:0;transform:translateY(16px) scale(.98)}}@keyframes tx-cookie-notice-out{to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-cookie-notice__panel--enter,:host([data-styled]) .tx-cookie-notice__panel--leave{animation-duration:1ms;animation-delay:0s}:host([data-styled]) .tx-cookie-notice__panel{transition:none}}\n"]
293
323
  }]
294
324
  }],
295
325
  ctorParameters: () => [],
@@ -382,6 +412,22 @@ i0.ɵɵngDeclareClassMetadata({
382
412
  required: false
383
413
  }]
384
414
  }],
415
+ autoShow: [{
416
+ type: i0.Input,
417
+ args: [{
418
+ isSignal: true,
419
+ alias: "autoShow",
420
+ required: false
421
+ }]
422
+ }],
423
+ preview: [{
424
+ type: i0.Input,
425
+ args: [{
426
+ isSignal: true,
427
+ alias: "preview",
428
+ required: false
429
+ }]
430
+ }],
385
431
  dt: [{
386
432
  type: i0.Input,
387
433
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-blocks-cookie-notice.mjs","names":[],"sources":["../../../../packages/blocks/cookie-notice/src/cookie-notice.icons.ts","../../../../packages/blocks/cookie-notice/src/cookie-notice.theme.ts","../../../../packages/blocks/cookie-notice/src/cookie-notice.component.ts","../../../../packages/blocks/cookie-notice/src/cookie-notice.component.html"],"sourcesContent":["import { TxIconSet, txIconLink, txIconShield, txIconText } from '@tectra-ng/icons';\n\nexport const COOKIE_NOTICE_ICON_DEFAULTS: TxIconSet = {\n link: txIconLink,\n shield: txIconShield,\n text: txIconText,\n};\n","import { cookieNoticeTokens } from '@tectra-ng/themes';\n\nexport const COOKIE_NOTICE_THEME = {\n cookieNotice: cookieNoticeTokens,\n};\n","import { ChangeDetectionStrategy, Component, DOCUMENT, afterNextRender, computed, inject, input, numberAttribute, output, signal } from '@angular/core';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraCookieNoticeTokens, TectraDeepPartial, toStyleObject } from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxCookieNoticePart } from './cookie-notice.types';\nimport { COOKIE_NOTICE_ICON_DEFAULTS } from './cookie-notice.icons';\nimport { COOKIE_NOTICE_THEME } from './cookie-notice.theme';\n\nconst DAY_SECONDS = 86400;\n\n@Component({\n selector: 'tx-cookie-notice',\n imports: [RouterLink, TxButton, TxIcon],\n templateUrl: './cookie-notice.component.html',\n styleUrl: './cookie-notice.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-cookie-notice',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(COOKIE_NOTICE_ICON_DEFAULTS)],\n})\nexport class TxCookieNotice {\n private readonly cookieNoticeTheme = injectTokens(COOKIE_NOTICE_THEME);\n\n private readonly document = inject(DOCUMENT);\n protected readonly router = inject(ActivatedRoute, { optional: true }) ? inject(Router) : null;\n\n readonly title = input<string | undefined>(undefined);\n readonly text = input<string | undefined>(undefined);\n readonly icon = input<TxIconName | (string & {})>('shield');\n readonly link = input<string | readonly unknown[] | undefined>(undefined);\n readonly href = input<string | undefined>(undefined);\n readonly linkLabel = input<string | undefined>(undefined);\n readonly acceptLabel = input<string | undefined>(undefined);\n readonly label = input<string | undefined>(undefined);\n readonly cookieName = input<string>('cookieNoticeDismissed');\n readonly maxAgeDays = input<number, unknown>(365, { transform: numberAttribute });\n readonly sharedDomain = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraCookieNoticeTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxCookieNoticePart, TxCookieNotice> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly dismissed = output<void>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('cookieNotice', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-cookie-notice'), ...this.passThrough().root?.style }));\n\n readonly visible = signal(false);\n\n constructor() {\n afterNextRender(() => this.visible.set(!this.readDismissed()));\n }\n\n show(): void {\n this.visible.set(true);\n }\n\n dismiss(): void {\n this.writeDismissed();\n this.visible.set(false);\n this.dismissed.emit();\n }\n\n private readDismissed(): boolean {\n const name = `${encodeURIComponent(this.cookieName())}=`;\n return this.document.cookie.split('; ').some((entry) => entry === `${name}1`);\n }\n\n private writeDismissed(): void {\n const location = this.document.location;\n const shared = this.sharedDomain();\n const domain = shared && location?.hostname.endsWith(`.${shared}`) ? `; domain=.${shared}` : '';\n const secure = location?.protocol === 'https:' ? '; secure' : '';\n const maxAge = Math.round(this.maxAgeDays() * DAY_SECONDS);\n this.document.cookie = `${encodeURIComponent(this.cookieName())}=1; max-age=${maxAge}; path=/${domain}${secure}; samesite=lax`;\n }\n}\n","@if (visible()) {\n <section\n class=\"tx-cookie-notice__panel\"\n role=\"region\"\n animate.enter=\"tx-cookie-notice__panel--enter\"\n animate.leave=\"tx-cookie-notice__panel--leave\"\n [attr.aria-label]=\"label() ?? translations().cookieLabel\"\n >\n <span class=\"tx-cookie-notice__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon()\" />\n </span>\n <div class=\"tx-cookie-notice__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n <p class=\"tx-cookie-notice__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() ?? translations().cookieTitle }}</p>\n <p class=\"tx-cookie-notice__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() ?? translations().cookieText }}</p>\n <div class=\"tx-cookie-notice__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (link() !== undefined && router) {\n <a class=\"tx-cookie-notice__link\" [routerLink]=\"link()\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n } @else if (href(); as href) {\n <a class=\"tx-cookie-notice__link\" [href]=\"href\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n }\n <button\n txButton\n type=\"button\"\n size=\"small\"\n class=\"tx-cookie-notice__accept\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().accept?.class\"\n [style]=\"passThrough().accept?.style\"\n (click)=\"dismiss()\"\n >\n {{ acceptLabel() ?? translations().cookieAccept }}\n </button>\n </div>\n </div>\n </section>\n}\n"],"mappings":";;;;;;;;;AAEA,MAAa,8BAAyC;CACpD,MAAM;CACN,QAAQ;CACR,MAAM;AACP;ACJD,MAAa,sBAAsB,EACjC,cAAc,mBACf;ACQD,MAAM,cAAc;AAgBpB,IAAa,iBAAb,MAAa,eAAc;CACR,oBAAoB,aAAa,mBAAmB;CAEpD,WAAW,OAAO,QAAQ;CACxB,SAAS,OAAO,gBAAgB,EAAE,UAAU,KAAI,CAAE,IAAI,OAAO,MAAM,IAAI;CAEjF,QAAQ,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAC5C,OAAO,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC3C,OAAO,MAAkC,UAAS,GAAA,YAAA,CAAA,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;EAAA;EAAA,SAAA,EAAA,WAAA,YAAA;EAAA,MAAA;GAAA,YAAA;IAAA,SAAA;IAAA,SAAA;IAAA,oBAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UC5B3B;EAoCA,QAAA,CAAA,2uGAAA;EAAA,cAAA;GAAA;IAAA,MAAA;IAAA,MDpBY;IAAU,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAQ,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAM,UAAA;IAAA,QAAA,CAAA,MAAA;GAAA;EAAA;EAAA,eAUvB,CAAC,sBAAsB,2BAA2B,CAAC;EAAC,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAExD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EAd1B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkB,SACnB;IAAC;IAAY;IAAU;GAAM;GAAC,iBAGtB,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,WAAW;IACX,WAAW;IACX,sBAAsB;GACvB;GAAA,eACc,CAAC,sBAAsB,2BAA2B,CAAC;GAAC,UAAA;GAAA,QAAA,CAAA,2uGAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"tectra-ng-blocks-cookie-notice.mjs","names":[],"sources":["../../../../packages/blocks/cookie-notice/src/cookie-notice.icons.ts","../../../../packages/blocks/cookie-notice/src/cookie-notice.theme.ts","../../../../packages/blocks/cookie-notice/src/cookie-notice.component.ts","../../../../packages/blocks/cookie-notice/src/cookie-notice.component.html"],"sourcesContent":["import { TxIconSet, txIconLink, txIconShield, txIconText } from '@tectra-ng/icons';\n\nexport const COOKIE_NOTICE_ICON_DEFAULTS: TxIconSet = {\n link: txIconLink,\n shield: txIconShield,\n text: txIconText,\n};\n","import { cookieNoticeTokens } from '@tectra-ng/themes';\n\nexport const COOKIE_NOTICE_THEME = {\n cookieNotice: cookieNoticeTokens,\n};\n","import { ChangeDetectionStrategy, Component, DOCUMENT, afterNextRender, booleanAttribute, computed, effect, inject, input, numberAttribute, output, signal, untracked } from '@angular/core';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraCookieNoticeTokens, TectraDeepPartial, toStyleObject } from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxCookieNoticePart } from './cookie-notice.types';\nimport { COOKIE_NOTICE_ICON_DEFAULTS } from './cookie-notice.icons';\nimport { COOKIE_NOTICE_THEME } from './cookie-notice.theme';\n\nconst DAY_SECONDS = 86400;\n\n@Component({\n selector: 'tx-cookie-notice',\n imports: [RouterLink, TxButton, TxIcon],\n templateUrl: './cookie-notice.component.html',\n styleUrl: './cookie-notice.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-cookie-notice',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.title]': 'null',\n },\n viewProviders: [provideTxIconDefaults(COOKIE_NOTICE_ICON_DEFAULTS)],\n})\nexport class TxCookieNotice {\n private readonly cookieNoticeTheme = injectTokens(COOKIE_NOTICE_THEME);\n\n private readonly document = inject(DOCUMENT);\n protected readonly router = inject(ActivatedRoute, { optional: true }) ? inject(Router) : null;\n\n readonly title = input<string | undefined>(undefined);\n readonly text = input<string | undefined>(undefined);\n readonly icon = input<TxIconName | (string & {})>('shield');\n readonly link = input<string | readonly unknown[] | undefined>(undefined);\n readonly href = input<string | undefined>(undefined);\n readonly linkLabel = input<string | undefined>(undefined);\n readonly acceptLabel = input<string | undefined>(undefined);\n readonly label = input<string | undefined>(undefined);\n readonly cookieName = input<string>('cookieNoticeDismissed');\n readonly maxAgeDays = input<number, unknown>(365, { transform: numberAttribute });\n readonly sharedDomain = input<string | undefined>(undefined);\n readonly autoShow = input(true, { transform: booleanAttribute });\n readonly preview = input(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraCookieNoticeTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxCookieNoticePart, TxCookieNotice> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly dismissed = output<void>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('cookieNotice', this, this.pt, this.ptOptions);\n protected readonly translations = injectTranslations();\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-cookie-notice'), ...this.passThrough().root?.style }));\n\n readonly visible = signal(false);\n private readonly rendered = signal(false);\n\n constructor() {\n afterNextRender(() => this.rendered.set(true));\n effect(() => {\n if (!this.rendered()) {\n return;\n }\n const preview = this.preview();\n untracked(() => this.visible.set(preview || (this.autoShow() && !this.readDismissed())));\n });\n }\n\n show(): void {\n this.visible.set(true);\n }\n\n dismiss(): void {\n if (!this.preview()) {\n this.writeDismissed();\n }\n this.visible.set(false);\n this.dismissed.emit();\n }\n\n private readDismissed(): boolean {\n const name = `${encodeURIComponent(this.cookieName())}=`;\n return this.document.cookie.split('; ').some((entry) => entry === `${name}1`);\n }\n\n private writeDismissed(): void {\n const location = this.document.location;\n const shared = this.sharedDomain();\n const domain = shared && location?.hostname.endsWith(`.${shared}`) ? `; domain=.${shared}` : '';\n const secure = location?.protocol === 'https:' ? '; secure' : '';\n const maxAge = Math.round(this.maxAgeDays() * DAY_SECONDS);\n this.document.cookie = `${encodeURIComponent(this.cookieName())}=1; max-age=${maxAge}; path=/${domain}${secure}; samesite=lax`;\n }\n}\n","@if (visible()) {\n <section\n class=\"tx-cookie-notice__panel\"\n role=\"region\"\n animate.enter=\"tx-cookie-notice__panel--enter\"\n animate.leave=\"tx-cookie-notice__panel--leave\"\n [attr.aria-label]=\"label() ?? translations().cookieLabel\"\n >\n <span class=\"tx-cookie-notice__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon()\" />\n </span>\n <div class=\"tx-cookie-notice__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n <p class=\"tx-cookie-notice__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() ?? translations().cookieTitle }}</p>\n <p class=\"tx-cookie-notice__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() ?? translations().cookieText }}</p>\n <div class=\"tx-cookie-notice__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (link() !== undefined && router) {\n <a class=\"tx-cookie-notice__link\" [routerLink]=\"link()\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n } @else if (href(); as href) {\n <a class=\"tx-cookie-notice__link\" [href]=\"href\" [class]=\"passThrough().link?.class\" [style]=\"passThrough().link?.style\">{{ linkLabel() ?? translations().cookieLearnMore }}</a>\n }\n <button\n txButton\n type=\"button\"\n size=\"small\"\n class=\"tx-cookie-notice__accept\"\n [unstyled]=\"isUnstyled()\"\n [class]=\"passThrough().accept?.class\"\n [style]=\"passThrough().accept?.style\"\n (click)=\"dismiss()\"\n >\n {{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WAAA,YAAA;EAAA,MAAA;GAAA,YAAA;IAAA,SAAA;IAAA,SAAA;IAAA,oBAAA;IAAA,cAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UC7B3B;EAoCA,QAAA,CAAA,++GAAA;EAAA,cAAA;GAAA;IAAA,MAAA;IAAA,MDpBY;IAAU,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAQ,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAM,UAAA;IAAA,QAAA,CAAA,MAAA;GAAA;EAAA;EAAA,eAWvB,CAAC,sBAAsB,2BAA2B,CAAC;EAAC,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAExD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAc,YAAA,CAAA;EAf1B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkB,SACnB;IAAC;IAAY;IAAU;GAAM;GAAC,iBAGtB,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,gBAAgB;GACjB;GAAA,eACc,CAAC,sBAAsB,2BAA2B,CAAC;GAAC,UAAA;GAAA,QAAA,CAAA,++GAAA;EAAA,CAAA"}
@@ -123,6 +123,7 @@ var TxEmptyState = class TxEmptyState {
123
123
  "class": "passThrough().root?.class",
124
124
  "style": "hostStyle()",
125
125
  "attr.data-styled": "!isUnstyled() || null",
126
+ "attr.title": "null",
126
127
  "attr.data-variant": "variant()",
127
128
  "attr.data-size": "size()",
128
129
  "attr.data-tone": "tone()"
@@ -191,6 +192,7 @@ i0.ɵɵngDeclareClassMetadata({
191
192
  "[class]": "passThrough().root?.class",
192
193
  "[style]": "hostStyle()",
193
194
  "[attr.data-styled]": "!isUnstyled() || null",
195
+ "[attr.title]": "null",
194
196
  "[attr.data-variant]": "variant()",
195
197
  "[attr.data-size]": "size()",
196
198
  "[attr.data-tone]": "tone()"
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-blocks-empty-state.mjs","names":[],"sources":["../../../../packages/blocks/empty-state/src/empty-state.icons.ts","../../../../packages/blocks/empty-state/src/empty-state.theme.ts","../../../../packages/blocks/empty-state/src/empty-state.component.ts"],"sourcesContent":["import { TxIconSet, txIconInbox, txIconInfo, txIconText } from '@tectra-ng/icons';\n\nexport const EMPTY_STATE_ICON_DEFAULTS: TxIconSet = {\n inbox: txIconInbox,\n info: txIconInfo,\n text: txIconText,\n};\n","import { emptyStateTokens } from '@tectra-ng/themes';\n\nexport const EMPTY_STATE_THEME = {\n emptyState: emptyStateTokens,\n};\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraEmptyStateTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxEmptyStatePart, TxEmptyStateSize, TxEmptyStateTone, TxEmptyStateVariant } from './empty-state.types';\nimport { EMPTY_STATE_ICON_DEFAULTS } from './empty-state.icons';\nimport { EMPTY_STATE_THEME } from './empty-state.theme';\n\n@Component({\n selector: 'tx-empty-state',\n imports: [TxIcon],\n template: `\n <span class=\"tx-empty-state__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon()\" />\n </span>\n @if (title() || text()) {\n <span class=\"tx-empty-state__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n @if (title()) {\n <span class=\"tx-empty-state__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() }}</span>\n }\n @if (text()) {\n <span class=\"tx-empty-state__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() }}</span>\n }\n </span>\n }\n <ng-content />\n `,\n styleUrl: './empty-state.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-empty-state',\n role: 'status',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-variant]': 'variant()',\n '[attr.data-size]': 'size()',\n '[attr.data-tone]': 'tone()',\n },\n viewProviders: [provideTxIconDefaults(EMPTY_STATE_ICON_DEFAULTS)],\n})\nexport class TxEmptyState {\n private readonly emptyStateTheme = injectTokens(EMPTY_STATE_THEME);\n\n readonly icon = input<TxIconName | (string & {})>('inbox');\n readonly title = input<string | undefined>(undefined);\n readonly text = input<string | undefined>(undefined);\n readonly variant = input<TxEmptyStateVariant>('plain');\n readonly size = input<TxEmptyStateSize>('normal');\n readonly tone = input<TxEmptyStateTone>('primary');\n readonly dt = input<TectraDeepPartial<TectraEmptyStateTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxEmptyStatePart, TxEmptyState> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('emptyState', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-empty-state'), ...this.passThrough().root?.style }));\n}\n"],"mappings":";;;;;;AAEA,MAAa,4BAAuC;CAClD,OAAO;CACP,MAAM;CACN,MAAM;AACP;ACJD,MAAa,oBAAoB,EAC/B,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b;;;;;;;;;;;;;;;;EAeT,UAAA;EAAA,QAAA,CAAA,knGAAA;EAAA,cAAA,CAAA;GAAA,MAAA;GAAA,MAhBS;GAAM,UAAA;GAAA,QAAA,CAAA,MAAA;EAAA,CAAA;EAAA,eA6BD,CAAC,sBAAsB,yBAAyB,CAAC;EAAC,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAEtD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAY,YAAA,CAAA;EAjCxB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAgB,SACjB,CAAC,MAAM;GAAC,UACP;;;;;;;;;;;;;;;;GAeT,iBAEgB,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,MAAM;IACN,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,uBAAuB;IACvB,oBAAoB;IACpB,oBAAoB;GACrB;GAAA,eACc,CAAC,sBAAsB,yBAAyB,CAAC;GAAC,QAAA,CAAA,knGAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"tectra-ng-blocks-empty-state.mjs","names":[],"sources":["../../../../packages/blocks/empty-state/src/empty-state.icons.ts","../../../../packages/blocks/empty-state/src/empty-state.theme.ts","../../../../packages/blocks/empty-state/src/empty-state.component.ts"],"sourcesContent":["import { TxIconSet, txIconInbox, txIconInfo, txIconText } from '@tectra-ng/icons';\n\nexport const EMPTY_STATE_ICON_DEFAULTS: TxIconSet = {\n inbox: txIconInbox,\n info: txIconInfo,\n text: txIconText,\n};\n","import { emptyStateTokens } from '@tectra-ng/themes';\n\nexport const EMPTY_STATE_THEME = {\n emptyState: emptyStateTokens,\n};\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraEmptyStateTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxEmptyStatePart, TxEmptyStateSize, TxEmptyStateTone, TxEmptyStateVariant } from './empty-state.types';\nimport { EMPTY_STATE_ICON_DEFAULTS } from './empty-state.icons';\nimport { EMPTY_STATE_THEME } from './empty-state.theme';\n\n@Component({\n selector: 'tx-empty-state',\n imports: [TxIcon],\n template: `\n <span class=\"tx-empty-state__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon()\" />\n </span>\n @if (title() || text()) {\n <span class=\"tx-empty-state__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n @if (title()) {\n <span class=\"tx-empty-state__title\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">{{ title() }}</span>\n }\n @if (text()) {\n <span class=\"tx-empty-state__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() }}</span>\n }\n </span>\n }\n <ng-content />\n `,\n styleUrl: './empty-state.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-empty-state',\n role: 'status',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.title]': 'null',\n '[attr.data-variant]': 'variant()',\n '[attr.data-size]': 'size()',\n '[attr.data-tone]': 'tone()',\n },\n viewProviders: [provideTxIconDefaults(EMPTY_STATE_ICON_DEFAULTS)],\n})\nexport class TxEmptyState {\n private readonly emptyStateTheme = injectTokens(EMPTY_STATE_THEME);\n\n readonly icon = input<TxIconName | (string & {})>('inbox');\n readonly title = input<string | undefined>(undefined);\n readonly text = input<string | undefined>(undefined);\n readonly variant = input<TxEmptyStateVariant>('plain');\n readonly size = input<TxEmptyStateSize>('normal');\n readonly tone = input<TxEmptyStateTone>('primary');\n readonly dt = input<TectraDeepPartial<TectraEmptyStateTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxEmptyStatePart, TxEmptyState> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('emptyState', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-empty-state'), ...this.passThrough().root?.style }));\n}\n"],"mappings":";;;;;;AAEA,MAAa,4BAAuC;CAClD,OAAO;CACP,MAAM;CACN,MAAM;AACP;ACJD,MAAa,oBAAoB,EAC/B,YAAY,iBACb;ACuCD,IAAa,eAAb,MAAa,aAAY;CACN,kBAAkB,aAAa,iBAAiB;CAExD,OAAO,MAAkC,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACjD,QAAQ,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAC5C,OAAO,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC3C,UAAU,MAA2B,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAC7C,OAAO,MAAwB,UAAS,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACxC,OAAO,MAAwB,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACzC,KAAK,MAA6D,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAC5E,KAAK,MAAiE,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAChF,YAAY,MAAwC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CA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AAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,WAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,UAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,MAAA;GAAA,YAAA,EAAA,QAAA,SAAA;GAAA,YAAA;IAAA,SAAA;IAAA,SAAA;IAAA,oBAAA;IAAA,cAAA;IAAA,qBAAA;IAAA,kBAAA;IAAA,kBAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UA/Bb;;;;;;;;;;;;;;;;EAeT,UAAA;EAAA,QAAA,CAAA,knGAAA;EAAA,cAAA,CAAA;GAAA,MAAA;GAAA,MAhBS;GAAM,UAAA;GAAA,QAAA,CAAA,MAAA;EAAA,CAAA;EAAA,eA8BD,CAAC,sBAAsB,yBAAyB,CAAC;EAAC,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAEtD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAY,YAAA,CAAA;EAlCxB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAgB,SACjB,CAAC,MAAM;GAAC,UACP;;;;;;;;;;;;;;;;GAeT,iBAEgB,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,MAAM;IACN,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,gBAAgB;IAChB,uBAAuB;IACvB,oBAAoB;IACpB,oBAAoB;GACrB;GAAA,eACc,CAAC,sBAAsB,yBAAyB,CAAC;GAAC,QAAA,CAAA,knGAAA;EAAA,CAAA"}
@@ -635,7 +635,7 @@ var TxFiltersPanel = class TxFiltersPanel {
635
635
  ],
636
636
  ngImport: i0,
637
637
  template: "@if (collapsible()) {\n <button\n #toggleButton\n type=\"button\"\n class=\"tx-filters-panel__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"id + '-panel'\"\n (click)=\"setExpanded(!expanded())\"\n >\n <tx-icon name=\"filter\" aria-hidden=\"true\" />\n <span>{{ translations().filters }}</span>\n @if (activeCount()) {\n <span class=\"tx-filters-panel__count tx-filters-panel__count--inline\">{{ activeCount() }}</span>\n }\n <tx-icon class=\"tx-filters-panel__chevron\" name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n}\n<div\n class=\"tx-filters-panel__panel\"\n [id]=\"id + '-panel'\"\n [class]=\"passThrough().panel?.class\"\n [style]=\"passThrough().panel?.style\"\n (animationend)=\"onPanelAnimationEnd($event)\"\n>\n <div\n #fieldsContainer\n class=\"tx-filters-panel__fields\"\n [class]=\"passThrough().fields?.class\"\n [style]=\"passThrough().fields?.style\"\n >\n <ng-content />\n </div>\n @if (collapsible() && resetAction()) {\n <div class=\"tx-filters-panel__panel-footer\">\n <button\n txButton\n type=\"button\"\n severity=\"warn\"\n outlined\n fluid\n icon=\"filter-slash\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"clearFilters()\"\n >\n {{ translations().clearFilters }}\n </button>\n </div>\n }\n</div>\n<div class=\"tx-filters-panel__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (customizable()) {\n <button\n type=\"button\"\n class=\"tx-filters-panel__menu-button\"\n aria-haspopup=\"menu\"\n [class]=\"passThrough().menuButton?.class\"\n [style]=\"passThrough().menuButton?.style\"\n [class.tx-filters-panel__menu-button--open]=\"menuOpen()\"\n [attr.aria-label]=\"menuButtonLabel()\"\n [txTooltip]=\"menuOpen() ? undefined : translations().filters\"\n tooltipPlacement=\"top\"\n [txPopoverTrigger]=\"menu\"\n >\n <tx-icon name=\"sliders-h\" aria-hidden=\"true\" />\n @if (hiddenCount()) {\n <span class=\"tx-filters-panel__count tx-filters-panel__count--corner\" aria-hidden=\"true\">{{ hiddenCount() }}</span>\n }\n </button>\n <tx-popover\n #menu\n placement=\"bottom-end\"\n [offset]=\"8\"\n [ariaLabel]=\"translations().showFilters\"\n [dt]=\"menuPopoverDt\"\n [pt]=\"menuPopoverPt()\"\n [unstyled]=\"isUnstyled()\"\n (opened)=\"menuOpen.set(true)\"\n (closed)=\"menuOpen.set(false)\"\n >\n <div class=\"tx-filters-panel-menu\" [attr.data-styled]=\"!isUnstyled() || null\" [class]=\"passThrough().menu?.class\" [style]=\"passThrough().menu?.style\">\n <div class=\"tx-filters-panel-menu__head\">\n <span class=\"tx-filters-panel-menu__title\" [id]=\"id + '-menu-title'\">{{ translations().showFilters }}</span>\n <span class=\"tx-filters-panel-menu__counter\">{{ counterText() }}</span>\n </div>\n <div\n #menuList\n class=\"tx-filters-panel-menu__list\"\n role=\"menu\"\n cdkDropList\n cdkDropListLockAxis=\"y\"\n [attr.aria-labelledby]=\"id + '-menu-title'\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n @for (option of options(); track option.key) {\n <div\n cdkDrag\n cdkDragLockAxis=\"y\"\n cdkDragPreviewContainer=\"parent\"\n class=\"tx-filters-panel-menu__row\"\n role=\"none\"\n [cdkDragBoundary]=\"menuList\"\n [class.tx-filters-panel-menu__row--on]=\"option.visible\"\n [class.tx-filters-panel-menu__row--locked]=\"option.active\"\n >\n <button\n type=\"button\"\n class=\"tx-filters-panel-menu__toggle\"\n role=\"menuitemcheckbox\"\n [attr.data-key]=\"option.key\"\n [attr.aria-checked]=\"option.visible\"\n [attr.aria-disabled]=\"option.active || null\"\n [attr.aria-description]=\"option.active ? translations().filterHasValue : null\"\n [title]=\"option.active ? translations().filterHasValue : ''\"\n (click)=\"toggle(option.key)\"\n (keydown)=\"onMenuKeydown($event, option.key)\"\n >\n <span class=\"tx-filters-panel-menu__check\" aria-hidden=\"true\"><tx-icon name=\"check\" /></span>\n <span class=\"tx-filters-panel-menu__label\">{{ option.label }}</span>\n @if (option.active) {\n <span class=\"tx-filters-panel-menu__dot\" aria-hidden=\"true\"></span>\n }\n </button>\n <span class=\"tx-filters-panel-menu__handle\" cdkDragHandle aria-hidden=\"true\" [title]=\"translations().reorderFilter\">\n <tx-icon name=\"bars\" />\n </span>\n </div>\n }\n </div>\n <div class=\"tx-filters-panel-menu__footer\" role=\"none\">\n <button type=\"button\" class=\"tx-filters-panel-menu__reset\" role=\"menuitem\" (click)=\"reset()\" (keydown)=\"onMenuKeydown($event, '')\">\n {{ translations().resetFiltersLayout }}\n </button>\n </div>\n </div>\n </tx-popover>\n }\n <ng-content select=\"[txFiltersActions]\" />\n</div>\n",
638
- styles: [":host{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end}:host(.tx-filters-panel--busy){pointer-events:none}.tx-filters-panel__panel{display:contents}.tx-filters-panel__fields{display:grid;flex:1;grid-template-columns:repeat(auto-fill,minmax(var(--tx-filters-panel-fields-min-column-width),1fr));min-width:min(100%,var(--tx-filters-panel-fields-min-width))}.tx-filters-panel__fields:empty,.tx-filters-panel__actions:empty{display:none}.tx-filters-panel__actions{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;margin-inline-start:auto}.tx-filters-panel__toggle,.tx-filters-panel__panel-footer{display:none}.tx-filters-panel__toggle,.tx-filters-panel__menu-button{position:relative;align-items:center;justify-content:center;border:0;cursor:pointer;font:inherit}.tx-filters-panel__menu-button{display:inline-flex}.tx-filters-panel-menu{display:flex;flex-direction:column}.tx-filters-panel-menu__head{display:flex;align-items:baseline;justify-content:space-between}.tx-filters-panel-menu__list{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.tx-filters-panel-menu__row{display:flex;align-items:center}.tx-filters-panel-menu__toggle,.tx-filters-panel-menu__reset{display:flex;align-items:center;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:start}.tx-filters-panel-menu__toggle{flex:1;min-width:0}.tx-filters-panel-menu__toggle[aria-disabled=true]{cursor:default}.tx-filters-panel-menu__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-filters-panel-menu__reset{width:100%}.tx-filters-panel-menu__handle{display:grid;flex-shrink:0;place-items:center;cursor:grab}.tx-filters-panel-menu__handle:active{cursor:grabbing}@media(width<64rem){:host(.tx-filters-panel--collapsible[data-collapse=auto]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=auto]) ::ng-deep .tx-filters-panel__reset{display:none}}:host(.tx-filters-panel--collapsible[data-collapse=always]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=always]) ::ng-deep .tx-filters-panel__reset{display:none}:host([data-styled]){gap:var(--tx-filters-panel-gap);padding:var(--tx-filters-panel-padding);border-radius:var(--tx-filters-panel-border-radius);background:var(--tx-filters-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-border-color);color:var(--tx-filters-panel-color);font-family:var(--tx-font-family)}:host([data-styled][data-variant=plain]){padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field{position:relative}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field>*{visibility:hidden}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{position:absolute;inset-inline:0;border-radius:var(--tx-skeleton-border-radius);background-color:var(--tx-skeleton-background);background-image:linear-gradient(90deg,transparent 35%,var(--tx-skeleton-wave-color) 50%,transparent 65%);background-size:300% 100%;animation:tx-filters-panel-skeleton var(--tx-skeleton-duration) ease-in-out infinite;content:\"\"}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before{top:var(--tx-filters-panel-skeleton-label-offset);width:var(--tx-filters-panel-skeleton-label-width);height:var(--tx-skeleton-line-height)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{bottom:0;height:var(--tx-filters-panel-skeleton-control-height);border-radius:var(--tx-filters-panel-skeleton-control-border-radius)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:has(>:only-child):before{display:none}@keyframes tx-filters-panel-skeleton{0%{background-position:100% 0}to{background-position:0 0}}:host([data-styled]) .tx-filters-panel__fields{column-gap:var(--tx-filters-panel-fields-column-gap);row-gap:var(--tx-filters-panel-fields-row-gap)}:host([data-styled]) .tx-filters-panel__actions{gap:var(--tx-filters-panel-actions-gap)}:host([data-styled]) .tx-filters-panel__toggle,:host([data-styled]) .tx-filters-panel__menu-button{min-height:var(--tx-filters-panel-button-size);border-radius:var(--tx-filters-panel-button-border-radius);background:var(--tx-filters-panel-button-background);box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color);font-size:var(--tx-filters-panel-button-font-size);font-weight:var(--tx-filters-panel-button-font-weight);transition:background-color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing),color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-filters-panel__toggle tx-icon,:host([data-styled]) .tx-filters-panel__menu-button tx-icon{font-size:var(--tx-filters-panel-button-icon-size)}:host([data-styled]) .tx-filters-panel__toggle:hover,:host([data-styled]) .tx-filters-panel__menu-button:hover{background:var(--tx-filters-panel-button-hover-background)}:host([data-styled]) .tx-filters-panel__toggle:focus-visible,:host([data-styled]) .tx-filters-panel__menu-button:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color),var(--tx-filters-panel-button-focus-ring-shadow)}:host([data-styled]) .tx-filters-panel__toggle{height:var(--tx-filters-panel-button-size);gap:var(--tx-filters-panel-button-gap);padding:0 var(--tx-filters-panel-button-padding-x);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__chevron{transition:rotate var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled].tx-filters-panel--expanded) .tx-filters-panel__chevron{rotate:180deg}:host([data-styled]) .tx-filters-panel__menu-button{min-width:var(--tx-filters-panel-button-size);aspect-ratio:1;padding:0;color:var(--tx-filters-panel-button-muted-color)}:host([data-styled]) .tx-filters-panel__menu-button:hover,:host([data-styled]) .tx-filters-panel__menu-button.tx-filters-panel__menu-button--open{background:var(--tx-filters-panel-button-hover-background);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__count{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--tx-filters-panel-count-size);height:var(--tx-filters-panel-count-size);padding:0 var(--tx-filters-panel-count-padding-x);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-count-background);color:var(--tx-filters-panel-count-color);font-size:var(--tx-filters-panel-count-font-size);font-weight:var(--tx-filters-panel-count-font-weight);font-variant-numeric:tabular-nums;line-height:1}:host([data-styled]) .tx-filters-panel__count--corner{position:absolute;top:var(--tx-filters-panel-count-offset);right:var(--tx-filters-panel-count-offset);box-shadow:0 0 0 var(--tx-filters-panel-count-ring-width) var(--tx-filters-panel-count-ring-color);pointer-events:none}@media(width<64rem){:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}@keyframes tx-filters-panel-out{to{opacity:0;transform:translateY(-6px) scale(.98)}}@keyframes tx-filters-panel-in{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}.tx-filters-panel-menu[data-styled]{box-sizing:border-box;width:var(--tx-filters-panel-menu-width);max-height:var(--tx-filters-panel-menu-max-height);padding:var(--tx-filters-panel-menu-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__head{gap:var(--tx-filters-panel-menu-head-gap);padding:var(--tx-filters-panel-menu-head-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__title{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-weight:var(--tx-filters-panel-menu-title-font-weight);letter-spacing:var(--tx-filters-panel-menu-title-letter-spacing);text-transform:uppercase}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__counter{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-variant-numeric:tabular-nums}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__list{gap:var(--tx-filters-panel-menu-row-gap)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row{border-radius:var(--tx-filters-panel-menu-row-border-radius);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible){background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-row-border-radius);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle:focus-visible,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:-2px}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle{gap:var(--tx-filters-panel-menu-row-gap-inner);padding:var(--tx-filters-panel-menu-row-padding);color:var(--tx-text-primary)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:not(.tx-filters-panel-menu__row--on) .tx-filters-panel-menu__label{color:var(--tx-filters-panel-menu-muted-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check{display:grid;flex-shrink:0;place-items:center;width:var(--tx-filters-panel-menu-check-size);color:var(--tx-filters-panel-menu-check-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;scale:.5;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing),scale var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check tx-icon{--tx-icon-stroke-width: 2.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row--on .tx-filters-panel-menu__check{opacity:1;scale:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__dot{flex-shrink:0;width:var(--tx-filters-panel-menu-dot-size);height:var(--tx-filters-panel-menu-dot-size);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-menu-dot-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__handle{width:var(--tx-filters-panel-menu-handle-width);height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-handle-border-radius);color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover .tx-filters-panel-menu__handle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible) .tx-filters-panel-menu__handle{opacity:.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row .tx-filters-panel-menu__handle:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview .tx-filters-panel-menu__handle{opacity:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__footer{margin-top:var(--tx-filters-panel-menu-footer-spacing);padding-top:var(--tx-filters-panel-menu-footer-spacing);border-top:1px solid var(--tx-surface-border)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{padding:var(--tx-filters-panel-menu-reset-padding);color:var(--tx-filters-panel-menu-reset-color);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:hover{background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview{box-sizing:border-box;border-radius:var(--tx-filters-panel-menu-row-border-radius);background:var(--tx-filters-panel-menu-drag-background);box-shadow:0 0 0 1px var(--tx-surface-border),var(--tx-filters-panel-menu-drag-shadow);color:var(--tx-text-primary);font-family:var(--tx-font-family);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu__row.cdk-drag-placeholder{opacity:var(--tx-filters-panel-menu-placeholder-opacity)}.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){transition:transform var(--tx-filters-panel-menu-drag-duration) var(--tx-filters-panel-menu-drag-easing)}@media(prefers-reduced-motion:reduce){:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after,:host([data-styled]) .tx-filters-panel__panel,.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){animation:none!important;transition:none}}\n"],
638
+ styles: [":host{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end}:host(.tx-filters-panel--busy){pointer-events:none}.tx-filters-panel__panel{display:contents}.tx-filters-panel__fields{display:grid;flex:1;grid-template-columns:repeat(auto-fill,minmax(var(--tx-filters-panel-fields-min-column-width),1fr));min-width:min(100%,var(--tx-filters-panel-fields-min-width))}.tx-filters-panel__fields:empty,.tx-filters-panel__actions:empty{display:none}.tx-filters-panel__actions{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;margin-inline-start:auto}.tx-filters-panel__toggle,.tx-filters-panel__panel-footer{display:none}.tx-filters-panel__toggle,.tx-filters-panel__menu-button{position:relative;align-items:center;justify-content:center;border:0;cursor:pointer;font:inherit}.tx-filters-panel__menu-button{display:inline-flex}.tx-filters-panel-menu{display:flex;flex-direction:column}.tx-filters-panel-menu__head{display:flex;align-items:baseline;justify-content:space-between}.tx-filters-panel-menu__list{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.tx-filters-panel-menu__row{display:flex;align-items:center}.tx-filters-panel-menu__toggle,.tx-filters-panel-menu__reset{display:flex;align-items:center;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:start}.tx-filters-panel-menu__toggle{flex:1;min-width:0}.tx-filters-panel-menu__toggle[aria-disabled=true]{cursor:default}.tx-filters-panel-menu__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-filters-panel-menu__reset{width:100%}.tx-filters-panel-menu__handle{display:grid;flex-shrink:0;place-items:center;cursor:grab}.tx-filters-panel-menu__handle:active{cursor:grabbing}@media(width<64rem){:host(.tx-filters-panel--collapsible[data-collapse=auto]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=auto]) ::ng-deep .tx-filters-panel__reset{display:none}}:host(.tx-filters-panel--collapsible[data-collapse=always]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=always]) ::ng-deep .tx-filters-panel__reset{display:none}:host([data-styled]){gap:var(--tx-filters-panel-gap);padding:var(--tx-filters-panel-padding);border-radius:var(--tx-filters-panel-border-radius);background:var(--tx-filters-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-border-color),var(--tx-filters-panel-shadow);color:var(--tx-filters-panel-color);font-family:var(--tx-font-family)}:host([data-styled][data-variant=plain]){padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field{position:relative}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field>*{visibility:hidden}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{position:absolute;inset-inline:0;border-radius:var(--tx-skeleton-border-radius);background-color:var(--tx-skeleton-background);background-image:linear-gradient(90deg,transparent 35%,var(--tx-skeleton-wave-color) 50%,transparent 65%);background-size:300% 100%;animation:tx-filters-panel-skeleton var(--tx-skeleton-duration) ease-in-out infinite;content:\"\"}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before{top:var(--tx-filters-panel-skeleton-label-offset);width:var(--tx-filters-panel-skeleton-label-width);height:var(--tx-skeleton-line-height)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{bottom:0;height:var(--tx-filters-panel-skeleton-control-height);border-radius:var(--tx-filters-panel-skeleton-control-border-radius)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:has(>:only-child):before{display:none}@keyframes tx-filters-panel-skeleton{0%{background-position:100% 0}to{background-position:0 0}}:host([data-styled]) .tx-filters-panel__fields{column-gap:var(--tx-filters-panel-fields-column-gap);row-gap:var(--tx-filters-panel-fields-row-gap)}:host([data-styled]) .tx-filters-panel__actions{gap:var(--tx-filters-panel-actions-gap)}:host([data-styled]) .tx-filters-panel__toggle,:host([data-styled]) .tx-filters-panel__menu-button{min-height:var(--tx-filters-panel-button-size);border-radius:var(--tx-filters-panel-button-border-radius);background:var(--tx-filters-panel-button-background);box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color);font-size:var(--tx-filters-panel-button-font-size);font-weight:var(--tx-filters-panel-button-font-weight);transition:background-color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing),color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-filters-panel__toggle tx-icon,:host([data-styled]) .tx-filters-panel__menu-button tx-icon{font-size:var(--tx-filters-panel-button-icon-size)}:host([data-styled]) .tx-filters-panel__toggle:hover,:host([data-styled]) .tx-filters-panel__menu-button:hover{background:var(--tx-filters-panel-button-hover-background)}:host([data-styled]) .tx-filters-panel__toggle:focus-visible,:host([data-styled]) .tx-filters-panel__menu-button:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color),var(--tx-filters-panel-button-focus-ring-shadow)}:host([data-styled]) .tx-filters-panel__toggle{height:var(--tx-filters-panel-button-size);gap:var(--tx-filters-panel-button-gap);padding:0 var(--tx-filters-panel-button-padding-x);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__chevron{transition:rotate var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled].tx-filters-panel--expanded) .tx-filters-panel__chevron{rotate:180deg}:host([data-styled]) .tx-filters-panel__menu-button{min-width:var(--tx-filters-panel-button-size);aspect-ratio:1;padding:0;color:var(--tx-filters-panel-button-muted-color)}:host([data-styled]) .tx-filters-panel__menu-button:hover,:host([data-styled]) .tx-filters-panel__menu-button.tx-filters-panel__menu-button--open{background:var(--tx-filters-panel-button-hover-background);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__count{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--tx-filters-panel-count-size);height:var(--tx-filters-panel-count-size);padding:0 var(--tx-filters-panel-count-padding-x);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-count-background);color:var(--tx-filters-panel-count-color);font-size:var(--tx-filters-panel-count-font-size);font-weight:var(--tx-filters-panel-count-font-weight);font-variant-numeric:tabular-nums;line-height:1}:host([data-styled]) .tx-filters-panel__count--corner{position:absolute;top:var(--tx-filters-panel-count-offset);right:var(--tx-filters-panel-count-offset);box-shadow:0 0 0 var(--tx-filters-panel-count-ring-width) var(--tx-filters-panel-count-ring-color);pointer-events:none}@media(width<64rem){:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}@keyframes tx-filters-panel-out{to{opacity:0;transform:translateY(-6px) scale(.98)}}@keyframes tx-filters-panel-in{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}.tx-filters-panel-menu[data-styled]{box-sizing:border-box;width:var(--tx-filters-panel-menu-width);max-height:var(--tx-filters-panel-menu-max-height);padding:var(--tx-filters-panel-menu-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__head{gap:var(--tx-filters-panel-menu-head-gap);padding:var(--tx-filters-panel-menu-head-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__title{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-weight:var(--tx-filters-panel-menu-title-font-weight);letter-spacing:var(--tx-filters-panel-menu-title-letter-spacing);text-transform:var(--tx-filters-panel-menu-title-text-transform)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__counter{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-variant-numeric:tabular-nums}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__list{gap:var(--tx-filters-panel-menu-row-gap)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row{border-radius:var(--tx-filters-panel-menu-row-border-radius);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible){background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-row-border-radius);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle:focus-visible,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:-2px}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle{gap:var(--tx-filters-panel-menu-row-gap-inner);padding:var(--tx-filters-panel-menu-row-padding);color:var(--tx-text-primary)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:not(.tx-filters-panel-menu__row--on) .tx-filters-panel-menu__label{color:var(--tx-filters-panel-menu-muted-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check{display:grid;flex-shrink:0;place-items:center;width:var(--tx-filters-panel-menu-check-size);color:var(--tx-filters-panel-menu-check-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;scale:.5;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing),scale var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check tx-icon{--tx-icon-stroke-width: 2.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row--on .tx-filters-panel-menu__check{opacity:1;scale:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__dot{flex-shrink:0;width:var(--tx-filters-panel-menu-dot-size);height:var(--tx-filters-panel-menu-dot-size);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-menu-dot-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__handle{width:var(--tx-filters-panel-menu-handle-width);height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-handle-border-radius);color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover .tx-filters-panel-menu__handle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible) .tx-filters-panel-menu__handle{opacity:.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row .tx-filters-panel-menu__handle:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview .tx-filters-panel-menu__handle{opacity:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__footer{margin-top:var(--tx-filters-panel-menu-footer-spacing);padding-top:var(--tx-filters-panel-menu-footer-spacing);border-top:1px solid var(--tx-surface-border)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{padding:var(--tx-filters-panel-menu-reset-padding);color:var(--tx-filters-panel-menu-reset-color);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:hover{background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview{box-sizing:border-box;border-radius:var(--tx-filters-panel-menu-row-border-radius);background:var(--tx-filters-panel-menu-drag-background);box-shadow:0 0 0 1px var(--tx-surface-border),var(--tx-filters-panel-menu-drag-shadow);color:var(--tx-text-primary);font-family:var(--tx-font-family);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu__row.cdk-drag-placeholder{opacity:var(--tx-filters-panel-menu-placeholder-opacity)}.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){transition:transform var(--tx-filters-panel-menu-drag-duration) var(--tx-filters-panel-menu-drag-easing)}@media(prefers-reduced-motion:reduce){:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after,:host([data-styled]) .tx-filters-panel__panel,.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){animation:none!important;transition:none}}\n"],
639
639
  dependencies: [
640
640
  {
641
641
  kind: "directive",
@@ -846,7 +846,7 @@ i0.ɵɵngDeclareClassMetadata({
846
846
  },
847
847
  viewProviders: [provideTxIconDefaults(FILTERS_PANEL_ICON_DEFAULTS)],
848
848
  template: "@if (collapsible()) {\n <button\n #toggleButton\n type=\"button\"\n class=\"tx-filters-panel__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"id + '-panel'\"\n (click)=\"setExpanded(!expanded())\"\n >\n <tx-icon name=\"filter\" aria-hidden=\"true\" />\n <span>{{ translations().filters }}</span>\n @if (activeCount()) {\n <span class=\"tx-filters-panel__count tx-filters-panel__count--inline\">{{ activeCount() }}</span>\n }\n <tx-icon class=\"tx-filters-panel__chevron\" name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n}\n<div\n class=\"tx-filters-panel__panel\"\n [id]=\"id + '-panel'\"\n [class]=\"passThrough().panel?.class\"\n [style]=\"passThrough().panel?.style\"\n (animationend)=\"onPanelAnimationEnd($event)\"\n>\n <div\n #fieldsContainer\n class=\"tx-filters-panel__fields\"\n [class]=\"passThrough().fields?.class\"\n [style]=\"passThrough().fields?.style\"\n >\n <ng-content />\n </div>\n @if (collapsible() && resetAction()) {\n <div class=\"tx-filters-panel__panel-footer\">\n <button\n txButton\n type=\"button\"\n severity=\"warn\"\n outlined\n fluid\n icon=\"filter-slash\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"clearFilters()\"\n >\n {{ translations().clearFilters }}\n </button>\n </div>\n }\n</div>\n<div class=\"tx-filters-panel__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (customizable()) {\n <button\n type=\"button\"\n class=\"tx-filters-panel__menu-button\"\n aria-haspopup=\"menu\"\n [class]=\"passThrough().menuButton?.class\"\n [style]=\"passThrough().menuButton?.style\"\n [class.tx-filters-panel__menu-button--open]=\"menuOpen()\"\n [attr.aria-label]=\"menuButtonLabel()\"\n [txTooltip]=\"menuOpen() ? undefined : translations().filters\"\n tooltipPlacement=\"top\"\n [txPopoverTrigger]=\"menu\"\n >\n <tx-icon name=\"sliders-h\" aria-hidden=\"true\" />\n @if (hiddenCount()) {\n <span class=\"tx-filters-panel__count tx-filters-panel__count--corner\" aria-hidden=\"true\">{{ hiddenCount() }}</span>\n }\n </button>\n <tx-popover\n #menu\n placement=\"bottom-end\"\n [offset]=\"8\"\n [ariaLabel]=\"translations().showFilters\"\n [dt]=\"menuPopoverDt\"\n [pt]=\"menuPopoverPt()\"\n [unstyled]=\"isUnstyled()\"\n (opened)=\"menuOpen.set(true)\"\n (closed)=\"menuOpen.set(false)\"\n >\n <div class=\"tx-filters-panel-menu\" [attr.data-styled]=\"!isUnstyled() || null\" [class]=\"passThrough().menu?.class\" [style]=\"passThrough().menu?.style\">\n <div class=\"tx-filters-panel-menu__head\">\n <span class=\"tx-filters-panel-menu__title\" [id]=\"id + '-menu-title'\">{{ translations().showFilters }}</span>\n <span class=\"tx-filters-panel-menu__counter\">{{ counterText() }}</span>\n </div>\n <div\n #menuList\n class=\"tx-filters-panel-menu__list\"\n role=\"menu\"\n cdkDropList\n cdkDropListLockAxis=\"y\"\n [attr.aria-labelledby]=\"id + '-menu-title'\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n @for (option of options(); track option.key) {\n <div\n cdkDrag\n cdkDragLockAxis=\"y\"\n cdkDragPreviewContainer=\"parent\"\n class=\"tx-filters-panel-menu__row\"\n role=\"none\"\n [cdkDragBoundary]=\"menuList\"\n [class.tx-filters-panel-menu__row--on]=\"option.visible\"\n [class.tx-filters-panel-menu__row--locked]=\"option.active\"\n >\n <button\n type=\"button\"\n class=\"tx-filters-panel-menu__toggle\"\n role=\"menuitemcheckbox\"\n [attr.data-key]=\"option.key\"\n [attr.aria-checked]=\"option.visible\"\n [attr.aria-disabled]=\"option.active || null\"\n [attr.aria-description]=\"option.active ? translations().filterHasValue : null\"\n [title]=\"option.active ? translations().filterHasValue : ''\"\n (click)=\"toggle(option.key)\"\n (keydown)=\"onMenuKeydown($event, option.key)\"\n >\n <span class=\"tx-filters-panel-menu__check\" aria-hidden=\"true\"><tx-icon name=\"check\" /></span>\n <span class=\"tx-filters-panel-menu__label\">{{ option.label }}</span>\n @if (option.active) {\n <span class=\"tx-filters-panel-menu__dot\" aria-hidden=\"true\"></span>\n }\n </button>\n <span class=\"tx-filters-panel-menu__handle\" cdkDragHandle aria-hidden=\"true\" [title]=\"translations().reorderFilter\">\n <tx-icon name=\"bars\" />\n </span>\n </div>\n }\n </div>\n <div class=\"tx-filters-panel-menu__footer\" role=\"none\">\n <button type=\"button\" class=\"tx-filters-panel-menu__reset\" role=\"menuitem\" (click)=\"reset()\" (keydown)=\"onMenuKeydown($event, '')\">\n {{ translations().resetFiltersLayout }}\n </button>\n </div>\n </div>\n </tx-popover>\n }\n <ng-content select=\"[txFiltersActions]\" />\n</div>\n",
849
- styles: [":host{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end}:host(.tx-filters-panel--busy){pointer-events:none}.tx-filters-panel__panel{display:contents}.tx-filters-panel__fields{display:grid;flex:1;grid-template-columns:repeat(auto-fill,minmax(var(--tx-filters-panel-fields-min-column-width),1fr));min-width:min(100%,var(--tx-filters-panel-fields-min-width))}.tx-filters-panel__fields:empty,.tx-filters-panel__actions:empty{display:none}.tx-filters-panel__actions{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;margin-inline-start:auto}.tx-filters-panel__toggle,.tx-filters-panel__panel-footer{display:none}.tx-filters-panel__toggle,.tx-filters-panel__menu-button{position:relative;align-items:center;justify-content:center;border:0;cursor:pointer;font:inherit}.tx-filters-panel__menu-button{display:inline-flex}.tx-filters-panel-menu{display:flex;flex-direction:column}.tx-filters-panel-menu__head{display:flex;align-items:baseline;justify-content:space-between}.tx-filters-panel-menu__list{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.tx-filters-panel-menu__row{display:flex;align-items:center}.tx-filters-panel-menu__toggle,.tx-filters-panel-menu__reset{display:flex;align-items:center;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:start}.tx-filters-panel-menu__toggle{flex:1;min-width:0}.tx-filters-panel-menu__toggle[aria-disabled=true]{cursor:default}.tx-filters-panel-menu__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-filters-panel-menu__reset{width:100%}.tx-filters-panel-menu__handle{display:grid;flex-shrink:0;place-items:center;cursor:grab}.tx-filters-panel-menu__handle:active{cursor:grabbing}@media(width<64rem){:host(.tx-filters-panel--collapsible[data-collapse=auto]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=auto]) ::ng-deep .tx-filters-panel__reset{display:none}}:host(.tx-filters-panel--collapsible[data-collapse=always]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=always]) ::ng-deep .tx-filters-panel__reset{display:none}:host([data-styled]){gap:var(--tx-filters-panel-gap);padding:var(--tx-filters-panel-padding);border-radius:var(--tx-filters-panel-border-radius);background:var(--tx-filters-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-border-color);color:var(--tx-filters-panel-color);font-family:var(--tx-font-family)}:host([data-styled][data-variant=plain]){padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field{position:relative}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field>*{visibility:hidden}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{position:absolute;inset-inline:0;border-radius:var(--tx-skeleton-border-radius);background-color:var(--tx-skeleton-background);background-image:linear-gradient(90deg,transparent 35%,var(--tx-skeleton-wave-color) 50%,transparent 65%);background-size:300% 100%;animation:tx-filters-panel-skeleton var(--tx-skeleton-duration) ease-in-out infinite;content:\"\"}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before{top:var(--tx-filters-panel-skeleton-label-offset);width:var(--tx-filters-panel-skeleton-label-width);height:var(--tx-skeleton-line-height)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{bottom:0;height:var(--tx-filters-panel-skeleton-control-height);border-radius:var(--tx-filters-panel-skeleton-control-border-radius)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:has(>:only-child):before{display:none}@keyframes tx-filters-panel-skeleton{0%{background-position:100% 0}to{background-position:0 0}}:host([data-styled]) .tx-filters-panel__fields{column-gap:var(--tx-filters-panel-fields-column-gap);row-gap:var(--tx-filters-panel-fields-row-gap)}:host([data-styled]) .tx-filters-panel__actions{gap:var(--tx-filters-panel-actions-gap)}:host([data-styled]) .tx-filters-panel__toggle,:host([data-styled]) .tx-filters-panel__menu-button{min-height:var(--tx-filters-panel-button-size);border-radius:var(--tx-filters-panel-button-border-radius);background:var(--tx-filters-panel-button-background);box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color);font-size:var(--tx-filters-panel-button-font-size);font-weight:var(--tx-filters-panel-button-font-weight);transition:background-color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing),color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-filters-panel__toggle tx-icon,:host([data-styled]) .tx-filters-panel__menu-button tx-icon{font-size:var(--tx-filters-panel-button-icon-size)}:host([data-styled]) .tx-filters-panel__toggle:hover,:host([data-styled]) .tx-filters-panel__menu-button:hover{background:var(--tx-filters-panel-button-hover-background)}:host([data-styled]) .tx-filters-panel__toggle:focus-visible,:host([data-styled]) .tx-filters-panel__menu-button:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color),var(--tx-filters-panel-button-focus-ring-shadow)}:host([data-styled]) .tx-filters-panel__toggle{height:var(--tx-filters-panel-button-size);gap:var(--tx-filters-panel-button-gap);padding:0 var(--tx-filters-panel-button-padding-x);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__chevron{transition:rotate var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled].tx-filters-panel--expanded) .tx-filters-panel__chevron{rotate:180deg}:host([data-styled]) .tx-filters-panel__menu-button{min-width:var(--tx-filters-panel-button-size);aspect-ratio:1;padding:0;color:var(--tx-filters-panel-button-muted-color)}:host([data-styled]) .tx-filters-panel__menu-button:hover,:host([data-styled]) .tx-filters-panel__menu-button.tx-filters-panel__menu-button--open{background:var(--tx-filters-panel-button-hover-background);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__count{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--tx-filters-panel-count-size);height:var(--tx-filters-panel-count-size);padding:0 var(--tx-filters-panel-count-padding-x);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-count-background);color:var(--tx-filters-panel-count-color);font-size:var(--tx-filters-panel-count-font-size);font-weight:var(--tx-filters-panel-count-font-weight);font-variant-numeric:tabular-nums;line-height:1}:host([data-styled]) .tx-filters-panel__count--corner{position:absolute;top:var(--tx-filters-panel-count-offset);right:var(--tx-filters-panel-count-offset);box-shadow:0 0 0 var(--tx-filters-panel-count-ring-width) var(--tx-filters-panel-count-ring-color);pointer-events:none}@media(width<64rem){:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}@keyframes tx-filters-panel-out{to{opacity:0;transform:translateY(-6px) scale(.98)}}@keyframes tx-filters-panel-in{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}.tx-filters-panel-menu[data-styled]{box-sizing:border-box;width:var(--tx-filters-panel-menu-width);max-height:var(--tx-filters-panel-menu-max-height);padding:var(--tx-filters-panel-menu-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__head{gap:var(--tx-filters-panel-menu-head-gap);padding:var(--tx-filters-panel-menu-head-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__title{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-weight:var(--tx-filters-panel-menu-title-font-weight);letter-spacing:var(--tx-filters-panel-menu-title-letter-spacing);text-transform:uppercase}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__counter{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-variant-numeric:tabular-nums}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__list{gap:var(--tx-filters-panel-menu-row-gap)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row{border-radius:var(--tx-filters-panel-menu-row-border-radius);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible){background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-row-border-radius);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle:focus-visible,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:-2px}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle{gap:var(--tx-filters-panel-menu-row-gap-inner);padding:var(--tx-filters-panel-menu-row-padding);color:var(--tx-text-primary)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:not(.tx-filters-panel-menu__row--on) .tx-filters-panel-menu__label{color:var(--tx-filters-panel-menu-muted-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check{display:grid;flex-shrink:0;place-items:center;width:var(--tx-filters-panel-menu-check-size);color:var(--tx-filters-panel-menu-check-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;scale:.5;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing),scale var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check tx-icon{--tx-icon-stroke-width: 2.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row--on .tx-filters-panel-menu__check{opacity:1;scale:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__dot{flex-shrink:0;width:var(--tx-filters-panel-menu-dot-size);height:var(--tx-filters-panel-menu-dot-size);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-menu-dot-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__handle{width:var(--tx-filters-panel-menu-handle-width);height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-handle-border-radius);color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover .tx-filters-panel-menu__handle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible) .tx-filters-panel-menu__handle{opacity:.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row .tx-filters-panel-menu__handle:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview .tx-filters-panel-menu__handle{opacity:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__footer{margin-top:var(--tx-filters-panel-menu-footer-spacing);padding-top:var(--tx-filters-panel-menu-footer-spacing);border-top:1px solid var(--tx-surface-border)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{padding:var(--tx-filters-panel-menu-reset-padding);color:var(--tx-filters-panel-menu-reset-color);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:hover{background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview{box-sizing:border-box;border-radius:var(--tx-filters-panel-menu-row-border-radius);background:var(--tx-filters-panel-menu-drag-background);box-shadow:0 0 0 1px var(--tx-surface-border),var(--tx-filters-panel-menu-drag-shadow);color:var(--tx-text-primary);font-family:var(--tx-font-family);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu__row.cdk-drag-placeholder{opacity:var(--tx-filters-panel-menu-placeholder-opacity)}.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){transition:transform var(--tx-filters-panel-menu-drag-duration) var(--tx-filters-panel-menu-drag-easing)}@media(prefers-reduced-motion:reduce){:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after,:host([data-styled]) .tx-filters-panel__panel,.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){animation:none!important;transition:none}}\n"]
849
+ styles: [":host{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end}:host(.tx-filters-panel--busy){pointer-events:none}.tx-filters-panel__panel{display:contents}.tx-filters-panel__fields{display:grid;flex:1;grid-template-columns:repeat(auto-fill,minmax(var(--tx-filters-panel-fields-min-column-width),1fr));min-width:min(100%,var(--tx-filters-panel-fields-min-width))}.tx-filters-panel__fields:empty,.tx-filters-panel__actions:empty{display:none}.tx-filters-panel__actions{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;margin-inline-start:auto}.tx-filters-panel__toggle,.tx-filters-panel__panel-footer{display:none}.tx-filters-panel__toggle,.tx-filters-panel__menu-button{position:relative;align-items:center;justify-content:center;border:0;cursor:pointer;font:inherit}.tx-filters-panel__menu-button{display:inline-flex}.tx-filters-panel-menu{display:flex;flex-direction:column}.tx-filters-panel-menu__head{display:flex;align-items:baseline;justify-content:space-between}.tx-filters-panel-menu__list{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.tx-filters-panel-menu__row{display:flex;align-items:center}.tx-filters-panel-menu__toggle,.tx-filters-panel-menu__reset{display:flex;align-items:center;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:start}.tx-filters-panel-menu__toggle{flex:1;min-width:0}.tx-filters-panel-menu__toggle[aria-disabled=true]{cursor:default}.tx-filters-panel-menu__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-filters-panel-menu__reset{width:100%}.tx-filters-panel-menu__handle{display:grid;flex-shrink:0;place-items:center;cursor:grab}.tx-filters-panel-menu__handle:active{cursor:grabbing}@media(width<64rem){:host(.tx-filters-panel--collapsible[data-collapse=auto]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=auto]) ::ng-deep .tx-filters-panel__reset{display:none}}:host(.tx-filters-panel--collapsible[data-collapse=always]){align-items:center}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__toggle{display:inline-flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{position:absolute;top:100%;inset-inline-start:0;display:none;flex-direction:column;box-sizing:border-box;width:100%}:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel,:host(.tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{display:flex}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{flex:1 1 auto;align-content:start;width:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{display:block}:host(.tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__menu-button,:host(.tx-filters-panel--collapsible[data-collapse=always]) ::ng-deep .tx-filters-panel__reset{display:none}:host([data-styled]){gap:var(--tx-filters-panel-gap);padding:var(--tx-filters-panel-padding);border-radius:var(--tx-filters-panel-border-radius);background:var(--tx-filters-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-border-color),var(--tx-filters-panel-shadow);color:var(--tx-filters-panel-color);font-family:var(--tx-font-family)}:host([data-styled][data-variant=plain]){padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field{position:relative}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field>*{visibility:hidden}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{position:absolute;inset-inline:0;border-radius:var(--tx-skeleton-border-radius);background-color:var(--tx-skeleton-background);background-image:linear-gradient(90deg,transparent 35%,var(--tx-skeleton-wave-color) 50%,transparent 65%);background-size:300% 100%;animation:tx-filters-panel-skeleton var(--tx-skeleton-duration) ease-in-out infinite;content:\"\"}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before{top:var(--tx-filters-panel-skeleton-label-offset);width:var(--tx-filters-panel-skeleton-label-width);height:var(--tx-skeleton-line-height)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after{bottom:0;height:var(--tx-filters-panel-skeleton-control-height);border-radius:var(--tx-filters-panel-skeleton-control-border-radius)}:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:has(>:only-child):before{display:none}@keyframes tx-filters-panel-skeleton{0%{background-position:100% 0}to{background-position:0 0}}:host([data-styled]) .tx-filters-panel__fields{column-gap:var(--tx-filters-panel-fields-column-gap);row-gap:var(--tx-filters-panel-fields-row-gap)}:host([data-styled]) .tx-filters-panel__actions{gap:var(--tx-filters-panel-actions-gap)}:host([data-styled]) .tx-filters-panel__toggle,:host([data-styled]) .tx-filters-panel__menu-button{min-height:var(--tx-filters-panel-button-size);border-radius:var(--tx-filters-panel-button-border-radius);background:var(--tx-filters-panel-button-background);box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color);font-size:var(--tx-filters-panel-button-font-size);font-weight:var(--tx-filters-panel-button-font-weight);transition:background-color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing),color var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-filters-panel__toggle tx-icon,:host([data-styled]) .tx-filters-panel__menu-button tx-icon{font-size:var(--tx-filters-panel-button-icon-size)}:host([data-styled]) .tx-filters-panel__toggle:hover,:host([data-styled]) .tx-filters-panel__menu-button:hover{background:var(--tx-filters-panel-button-hover-background)}:host([data-styled]) .tx-filters-panel__toggle:focus-visible,:host([data-styled]) .tx-filters-panel__menu-button:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--tx-filters-panel-button-border-color),var(--tx-filters-panel-button-focus-ring-shadow)}:host([data-styled]) .tx-filters-panel__toggle{height:var(--tx-filters-panel-button-size);gap:var(--tx-filters-panel-button-gap);padding:0 var(--tx-filters-panel-button-padding-x);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__chevron{transition:rotate var(--tx-filters-panel-button-transition-duration) var(--tx-motion-easing)}:host([data-styled].tx-filters-panel--expanded) .tx-filters-panel__chevron{rotate:180deg}:host([data-styled]) .tx-filters-panel__menu-button{min-width:var(--tx-filters-panel-button-size);aspect-ratio:1;padding:0;color:var(--tx-filters-panel-button-muted-color)}:host([data-styled]) .tx-filters-panel__menu-button:hover,:host([data-styled]) .tx-filters-panel__menu-button.tx-filters-panel__menu-button--open{background:var(--tx-filters-panel-button-hover-background);color:var(--tx-filters-panel-button-color)}:host([data-styled]) .tx-filters-panel__count{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--tx-filters-panel-count-size);height:var(--tx-filters-panel-count-size);padding:0 var(--tx-filters-panel-count-padding-x);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-count-background);color:var(--tx-filters-panel-count-color);font-size:var(--tx-filters-panel-count-font-size);font-weight:var(--tx-filters-panel-count-font-weight);font-variant-numeric:tabular-nums;line-height:1}:host([data-styled]) .tx-filters-panel__count--corner{position:absolute;top:var(--tx-filters-panel-count-offset);right:var(--tx-filters-panel-count-offset);box-shadow:0 0 0 var(--tx-filters-panel-count-ring-width) var(--tx-filters-panel-count-ring-color);pointer-events:none}@media(width<64rem){:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=auto]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel{z-index:var(--tx-filters-panel-panel-z-index);gap:var(--tx-filters-panel-panel-gap);max-width:var(--tx-filters-panel-panel-max-width);max-height:var(--tx-filters-panel-panel-max-height);margin-top:var(--tx-filters-panel-panel-offset);padding:var(--tx-filters-panel-panel-padding);transform-origin:top left;border-radius:var(--tx-filters-panel-panel-border-radius);background:var(--tx-filters-panel-panel-background);box-shadow:0 0 0 1px var(--tx-filters-panel-panel-border-color),var(--tx-filters-panel-panel-shadow)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--expanded) .tx-filters-panel__panel{animation:tx-filters-panel-in var(--tx-filters-panel-panel-enter-duration) var(--tx-filters-panel-panel-enter-easing)}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always].tx-filters-panel--closing) .tx-filters-panel__panel{animation:tx-filters-panel-out var(--tx-filters-panel-panel-leave-duration) var(--tx-filters-panel-panel-leave-easing) forwards}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__fields{margin:-2px;padding:2px}:host([data-styled].tx-filters-panel--collapsible[data-collapse=always]) .tx-filters-panel__panel-footer{padding-top:var(--tx-filters-panel-panel-footer-padding);border-top:1px solid var(--tx-filters-panel-panel-border-color)}@keyframes tx-filters-panel-out{to{opacity:0;transform:translateY(-6px) scale(.98)}}@keyframes tx-filters-panel-in{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}.tx-filters-panel-menu[data-styled]{box-sizing:border-box;width:var(--tx-filters-panel-menu-width);max-height:var(--tx-filters-panel-menu-max-height);padding:var(--tx-filters-panel-menu-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__head{gap:var(--tx-filters-panel-menu-head-gap);padding:var(--tx-filters-panel-menu-head-padding)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__title{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-weight:var(--tx-filters-panel-menu-title-font-weight);letter-spacing:var(--tx-filters-panel-menu-title-letter-spacing);text-transform:var(--tx-filters-panel-menu-title-text-transform)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__counter{color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-title-font-size);font-variant-numeric:tabular-nums}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__list{gap:var(--tx-filters-panel-menu-row-gap)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row{border-radius:var(--tx-filters-panel-menu-row-border-radius);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible){background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-row-border-radius);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle:focus-visible,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:-2px}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__toggle{gap:var(--tx-filters-panel-menu-row-gap-inner);padding:var(--tx-filters-panel-menu-row-padding);color:var(--tx-text-primary)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:not(.tx-filters-panel-menu__row--on) .tx-filters-panel-menu__label{color:var(--tx-filters-panel-menu-muted-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check{display:grid;flex-shrink:0;place-items:center;width:var(--tx-filters-panel-menu-check-size);color:var(--tx-filters-panel-menu-check-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;scale:.5;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing),scale var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__check tx-icon{--tx-icon-stroke-width: 2.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row--on .tx-filters-panel-menu__check{opacity:1;scale:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__dot{flex-shrink:0;width:var(--tx-filters-panel-menu-dot-size);height:var(--tx-filters-panel-menu-dot-size);border-radius:var(--tx-radius-full);background:var(--tx-filters-panel-menu-dot-color)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__handle{width:var(--tx-filters-panel-menu-handle-width);height:var(--tx-filters-panel-menu-row-height);border-radius:var(--tx-filters-panel-menu-handle-border-radius);color:var(--tx-filters-panel-menu-muted-color);font-size:var(--tx-filters-panel-menu-handle-icon-size);opacity:0;transition:opacity var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:hover .tx-filters-panel-menu__handle,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row:has(:focus-visible) .tx-filters-panel-menu__handle{opacity:.5}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row .tx-filters-panel-menu__handle:hover,.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview .tx-filters-panel-menu__handle{opacity:1}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__footer{margin-top:var(--tx-filters-panel-menu-footer-spacing);padding-top:var(--tx-filters-panel-menu-footer-spacing);border-top:1px solid var(--tx-surface-border)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset{padding:var(--tx-filters-panel-menu-reset-padding);color:var(--tx-filters-panel-menu-reset-color);transition:background-color var(--tx-filters-panel-menu-transition-duration) var(--tx-motion-easing)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__reset:hover{background:var(--tx-filters-panel-menu-row-hover-background)}.tx-filters-panel-menu[data-styled] .tx-filters-panel-menu__row.cdk-drag-preview{box-sizing:border-box;border-radius:var(--tx-filters-panel-menu-row-border-radius);background:var(--tx-filters-panel-menu-drag-background);box-shadow:0 0 0 1px var(--tx-surface-border),var(--tx-filters-panel-menu-drag-shadow);color:var(--tx-text-primary);font-family:var(--tx-font-family);font-size:var(--tx-filters-panel-menu-row-font-size)}.tx-filters-panel-menu__row.cdk-drag-placeholder{opacity:var(--tx-filters-panel-menu-placeholder-opacity)}.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){transition:transform var(--tx-filters-panel-menu-drag-duration) var(--tx-filters-panel-menu-drag-easing)}@media(prefers-reduced-motion:reduce){:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:before,:host([data-styled].tx-filters-panel--busy) ::ng-deep .tx-filter-field:after,:host([data-styled]) .tx-filters-panel__panel,.tx-filters-panel-menu__row.cdk-drag-animating,.tx-filters-panel-menu__list.cdk-drop-list-dragging .tx-filters-panel-menu__row:not(.cdk-drag-placeholder){animation:none!important;transition:none}}\n"]
850
850
  }]
851
851
  }],
852
852
  ctorParameters: () => [],