@4sh/ui-kit 0.11.0 → 0.12.1

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 (85) hide show
  1. package/README.md +5 -0
  2. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +3 -3
  3. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +3 -3
  4. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +3 -3
  5. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +3 -3
  6. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +6 -6
  7. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +6 -6
  8. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +3 -3
  9. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +3 -3
  10. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +3 -3
  11. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +118 -15
  12. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +3 -3
  14. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +24 -11
  15. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  16. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +3 -3
  17. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +6 -6
  18. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +3 -3
  19. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +3 -3
  20. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +3 -3
  21. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +3 -3
  22. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +3 -3
  23. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +3 -3
  24. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +3 -3
  25. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +3 -3
  26. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +3 -3
  27. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +3 -3
  28. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +3 -3
  29. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +3 -3
  30. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +3 -3
  31. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +3 -3
  32. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +3 -3
  33. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +3 -3
  34. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +3 -3
  35. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +3 -3
  36. package/fesm2022/4sh-ui-kit-forms.mjs +6 -6
  37. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +12 -12
  38. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +3 -3
  39. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +3 -3
  40. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +3 -3
  41. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +3 -3
  42. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +3 -3
  43. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +9 -9
  44. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +3 -3
  45. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +4 -4
  46. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  47. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +3 -3
  48. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +3 -3
  49. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +3 -3
  50. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +3 -3
  51. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +3 -3
  52. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +17 -17
  53. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  54. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +6 -6
  55. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +12 -12
  56. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +15 -15
  57. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +3 -3
  58. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +3 -3
  59. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +3 -3
  60. package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
  61. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +9 -9
  62. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +3 -3
  63. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +3 -3
  64. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +5 -5
  65. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  66. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +9 -9
  67. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +18 -18
  68. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +15 -15
  69. package/fesm2022/4sh-ui-kit-ripple.mjs +9 -9
  70. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +3 -3
  71. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +33 -33
  72. package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
  73. package/mcp/data/text-search-docs.json +6 -6
  74. package/mcp/data/ui-config.json +6 -6
  75. package/mcp/package.json +1 -1
  76. package/package.json +1 -1
  77. package/styles/component-vars.scss +2 -2
  78. package/styles/generated/_tokens-responsive.scss +27 -3
  79. package/styles.css +1 -1
  80. package/types/4sh-ui-kit-forms-ui-editor.d.ts +5 -1
  81. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +2 -1
  82. package/types/4sh-ui-kit-informative-ui-toast.d.ts +1 -1
  83. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +1 -1
  84. package/types/4sh-ui-kit-ripple.d.ts +1 -1
  85. package/types/4sh-ui-kit-theming.d.ts +2 -2
@@ -107,10 +107,10 @@ class UiToast {
107
107
  onClose(event) {
108
108
  this.closed.emit(event);
109
109
  }
110
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiToast, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
111
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiToast, isStandalone: true, selector: "ui-toast", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { properties: { "style.display": "'inline-flex'", "style.maxWidth": "'100%'" } }, ngImport: i0, template: "<div [class]=\"classes()\" [attr.role]=\"role()\" [attr.aria-live]=\"ariaLive()\" aria-atomic=\"true\">\n @if (iconName(); as name) {\n <span class=\"ui-toast-icon\">\n <ui-icon [name]=\"name\" size=\"md\" />\n </span>\n }\n\n <div class=\"ui-toast-content\">\n @if (title(); as t) {\n <span class=\"ui-toast-title\">{{ t }}</span>\n }\n @if (text(); as txt) {\n <span class=\"ui-toast-text\">{{ txt }}</span>\n }\n <ng-content />\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-toast-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"onClose($event)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n</div>\n", styles: [".ui-toast{display:inline-flex;align-items:var(--ui-toast-align, flex-start);gap:var(--units-sm);box-sizing:border-box;width:auto;max-width:100%;padding:var(--units-sm) var(--units-md);border:var(--stroke-default) solid transparent;border-radius:var(--radius-default);background-color:var(--ui-toast-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-toast-color, var(--informative-defaulthigh-content-default));box-shadow:var(--shadow-default-md);font-family:var(--ui-toast-font-family, var(--fontfamily-base))}.ui-toast._expanded{display:flex;width:100%}.ui-toast-icon{flex:0 0 auto;display:flex;align-items:center;align-self:var(--ui-toast-icon-align, auto);padding-top:var(--ui-toast-icon-padding-top, var(--units-2xs));line-height:0}.ui-toast-content{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:var(--units-2xs);padding-right:var(--units-sm)}.ui-toast-title{font-family:var(--ui-toast-title-font-family, var(--fontfamily-title));font-weight:var(--ui-toast-title-weight, var(--weight-bold));font-size:var(--size-typography-title-sm);line-height:1.3;overflow-wrap:break-word}.ui-toast-text{font-weight:var(--ui-toast-text-weight, var(--weight-light));font-size:var(--size-typography-text-md);line-height:1.3;overflow-wrap:break-word}.ui-toast-close{flex:0 0 auto;display:inline-flex;align-items:center;align-self:var(--ui-toast-close-align, auto);justify-content:center;padding:0;border:0;border-radius:var(--radius-xs);background:transparent;color:inherit;line-height:0;cursor:pointer;opacity:.7;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-toast-close:hover{opacity:1}.ui-toast-close:focus-visible{outline:var(--ui-toast-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) solid currentColor;outline-offset:.125rem;opacity:1}@media(prefers-reduced-motion:reduce){.ui-toast-close{transition-duration:.01ms}}:root[data-motion=off] .ui-toast-close{transition-duration:.01ms}.ui-toast._default._high{background-color:var(--ui-toast-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-toast-color, var(--informative-defaulthigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-defaulthigh-stroke-default))}.ui-toast._default._low{background-color:var(--ui-toast-surface, var(--informative-defaultlow-surface-default));color:var(--ui-toast-color, var(--informative-defaultlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-defaultlow-stroke-default))}.ui-toast._highlight._high{background-color:var(--ui-toast-surface, var(--informative-highlighthigh-surface-default));color:var(--ui-toast-color, var(--informative-highlighthigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-highlighthigh-stroke-default))}.ui-toast._highlight._low{background-color:var(--ui-toast-surface, var(--informative-highlightlow-surface-default));color:var(--ui-toast-color, var(--informative-highlightlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-highlightlow-stroke-default))}.ui-toast._success._high{background-color:var(--ui-toast-surface, var(--informative-successhigh-surface-default));color:var(--ui-toast-color, var(--informative-successhigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-successhigh-stroke-default))}.ui-toast._success._low{background-color:var(--ui-toast-surface, var(--informative-successlow-surface-default));color:var(--ui-toast-color, var(--informative-successlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-successlow-stroke-default))}.ui-toast._warning._high{background-color:var(--ui-toast-surface, var(--informative-warninghigh-surface-default));color:var(--ui-toast-color, var(--informative-warninghigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-warninghigh-stroke-default))}.ui-toast._warning._low{background-color:var(--ui-toast-surface, var(--informative-warninglow-surface-default));color:var(--ui-toast-color, var(--informative-warninglow-content-default));border-color:var(--ui-toast-stroke, var(--informative-warninglow-stroke-default))}.ui-toast._error._high{background-color:var(--ui-toast-surface, var(--informative-errorhigh-surface-default));color:var(--ui-toast-color, var(--informative-errorhigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-errorhigh-stroke-default))}.ui-toast._error._low{background-color:var(--ui-toast-surface, var(--informative-errorlow-surface-default));color:var(--ui-toast-color, var(--informative-errorlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-errorlow-stroke-default))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiToast, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
111
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiToast, isStandalone: true, selector: "ui-toast", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { properties: { "style.display": "'inline-flex'", "style.maxWidth": "'100%'" } }, ngImport: i0, template: "<div [class]=\"classes()\" [attr.role]=\"role()\" [attr.aria-live]=\"ariaLive()\" aria-atomic=\"true\">\n @if (iconName(); as name) {\n <span class=\"ui-toast-icon\">\n <ui-icon [name]=\"name\" size=\"md\" />\n </span>\n }\n\n <div class=\"ui-toast-content\">\n @if (title(); as t) {\n <span class=\"ui-toast-title\">{{ t }}</span>\n }\n @if (text(); as txt) {\n <span class=\"ui-toast-text\">{{ txt }}</span>\n }\n <ng-content />\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-toast-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"onClose($event)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n</div>\n", styles: [".ui-toast{display:inline-flex;align-items:var(--ui-toast-align, flex-start);gap:var(--units-sm);box-sizing:border-box;width:auto;max-width:100%;padding:var(--units-sm) var(--units-md);border:var(--stroke-default) solid transparent;border-radius:var(--radius-default);background-color:var(--ui-toast-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-toast-color, var(--informative-defaulthigh-content-default));box-shadow:var(--shadow-default-md);font-family:var(--ui-toast-font-family, var(--fontfamily-base))}.ui-toast._expanded{display:flex;width:100%}.ui-toast-icon{flex:0 0 auto;display:flex;align-items:center;align-self:var(--ui-toast-icon-align, auto);padding-top:var(--ui-toast-icon-padding-top, var(--units-2xs));line-height:0}.ui-toast-content{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:var(--units-2xs);padding-right:var(--units-sm)}.ui-toast-title{font-family:var(--ui-toast-title-font-family, var(--fontfamily-title));font-weight:var(--ui-toast-title-weight, var(--weight-bold));font-size:var(--size-typography-title-sm);line-height:1.3;overflow-wrap:break-word}.ui-toast-text{font-weight:var(--ui-toast-text-weight, var(--weight-light));font-size:var(--size-typography-text-md);line-height:1.3;overflow-wrap:break-word}.ui-toast-close{flex:0 0 auto;display:inline-flex;align-items:center;align-self:var(--ui-toast-close-align, auto);justify-content:center;padding:0;border:0;border-radius:var(--radius-xs);background:transparent;color:inherit;line-height:0;cursor:pointer;opacity:.7;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-toast-close:hover{opacity:1}.ui-toast-close:focus-visible{outline:var(--ui-toast-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) solid currentColor;outline-offset:.125rem;opacity:1}@media(prefers-reduced-motion:reduce){.ui-toast-close{transition-duration:.01ms}}:root[data-motion=off] .ui-toast-close{transition-duration:.01ms}.ui-toast._default._high{background-color:var(--ui-toast-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-toast-color, var(--informative-defaulthigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-defaulthigh-stroke-default))}.ui-toast._default._low{background-color:var(--ui-toast-surface, var(--informative-defaultlow-surface-default));color:var(--ui-toast-color, var(--informative-defaultlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-defaultlow-stroke-default))}.ui-toast._highlight._high{background-color:var(--ui-toast-surface, var(--informative-highlighthigh-surface-default));color:var(--ui-toast-color, var(--informative-highlighthigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-highlighthigh-stroke-default))}.ui-toast._highlight._low{background-color:var(--ui-toast-surface, var(--informative-highlightlow-surface-default));color:var(--ui-toast-color, var(--informative-highlightlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-highlightlow-stroke-default))}.ui-toast._success._high{background-color:var(--ui-toast-surface, var(--informative-successhigh-surface-default));color:var(--ui-toast-color, var(--informative-successhigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-successhigh-stroke-default))}.ui-toast._success._low{background-color:var(--ui-toast-surface, var(--informative-successlow-surface-default));color:var(--ui-toast-color, var(--informative-successlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-successlow-stroke-default))}.ui-toast._warning._high{background-color:var(--ui-toast-surface, var(--informative-warninghigh-surface-default));color:var(--ui-toast-color, var(--informative-warninghigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-warninghigh-stroke-default))}.ui-toast._warning._low{background-color:var(--ui-toast-surface, var(--informative-warninglow-surface-default));color:var(--ui-toast-color, var(--informative-warninglow-content-default));border-color:var(--ui-toast-stroke, var(--informative-warninglow-stroke-default))}.ui-toast._error._high{background-color:var(--ui-toast-surface, var(--informative-errorhigh-surface-default));color:var(--ui-toast-color, var(--informative-errorhigh-content-default));border-color:var(--ui-toast-stroke, var(--informative-errorhigh-stroke-default))}.ui-toast._error._low{background-color:var(--ui-toast-surface, var(--informative-errorlow-surface-default));color:var(--ui-toast-color, var(--informative-errorlow-content-default));border-color:var(--ui-toast-stroke, var(--informative-errorlow-stroke-default))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
112
112
  }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiToast, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiToast, decorators: [{
114
114
  type: Component,
115
115
  args: [{ selector: 'ui-toast', imports: [UiIcon], host: {
116
116
  // Hug content by default; the container makes it fill the region in banner mode.
@@ -175,10 +175,10 @@ class UiToastService {
175
175
  remove(id) {
176
176
  this._messages.update((list) => list.filter((m) => m.id !== id));
177
177
  }
178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiToastService, providedIn: 'root' }); }
178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiToastService, providedIn: 'root' }); }
180
180
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiToastService, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiToastService, decorators: [{
182
182
  type: Injectable,
183
183
  args: [{ providedIn: 'root' }]
184
184
  }] });
@@ -324,21 +324,21 @@ class UiToastContainer {
324
324
  return;
325
325
  }
326
326
  }
327
- const liveIds = new Set(keyed.map((m) => m.id));
328
- // Drop timer bookkeeping for messages that are gone.
327
+ const shown = this.items();
328
+ const shownIds = new Set(shown.map((m) => m.id));
329
+ // Drop timer bookkeeping for messages that are gone or no longer shown.
329
330
  for (const id of [...this.timers.keys()]) {
330
- if (!liveIds.has(id))
331
+ if (!shownIds.has(id))
331
332
  this.forget(id);
332
333
  }
333
334
  for (const id of [...this.remaining.keys()]) {
334
- if (!liveIds.has(id))
335
+ if (!shownIds.has(id))
335
336
  this.remaining.delete(id);
336
337
  }
337
338
  if (!this.isBrowser)
338
339
  return;
339
- // Arm a countdown for each new, non-sticky message (even ones beyond the
340
- // visible limit, so a queued toast still expires on schedule).
341
- for (const message of keyed) {
340
+ // Arm a countdown for each newly shown, non-sticky message.
341
+ for (const message of shown) {
342
342
  const id = message.id;
343
343
  if (message.sticky)
344
344
  continue;
@@ -404,12 +404,12 @@ class UiToastContainer {
404
404
  closeFn(message) {
405
405
  return () => this.dismiss(message);
406
406
  }
407
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiToastContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
408
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiToastContainer, isStandalone: true, selector: "ui-toast-container", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, motionDisabled: { classPropertyName: "motionDisabled", publicName: "motionDisabled", isSignal: true, isRequired: false, transformFunction: null }, contained: { classPropertyName: "contained", publicName: "contained", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, stackVisibleLimit: { classPropertyName: "stackVisibleLimit", publicName: "stackVisibleLimit", isSignal: true, isRequired: false, transformFunction: null }, stackGap: { classPropertyName: "stackGap", publicName: "stackGap", isSignal: true, isRequired: false, transformFunction: null }, preventDuplicates: { classPropertyName: "preventDuplicates", publicName: "preventDuplicates", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"regionClass()\" [style.z-index]=\"zIndex()\" [style.gap.px]=\"stackGap() ?? null\">\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n >\n <ui-toast\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\"\n />\n }\n </ui-toast>\n </div>\n }\n</div>\n", styles: [".ui-toast-region{position:fixed;z-index:var(--ui-toast-z-index, 1100);display:flex;flex-direction:column;gap:var(--ui-toast-stack-gap, var(--units-sm));width:min(var(--ui-toast-width, 22.5rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2);pointer-events:none}.ui-toast-region._contained{position:absolute}.ui-toast-region._expanded{width:min(var(--ui-toast-width-expanded, 30rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2)}.ui-toast-region._expanded .ui-toast-region-item>ui-toast{flex:1 1 auto}.ui-toast-region._reverse{flex-direction:column-reverse}.ui-toast-region-item{display:flex;pointer-events:auto}.ui-toast-region._top-left .ui-toast-region-item,.ui-toast-region._bottom-left .ui-toast-region-item{justify-content:flex-start}.ui-toast-region._top-right .ui-toast-region-item,.ui-toast-region._bottom-right .ui-toast-region-item{justify-content:flex-end}.ui-toast-region._top-center .ui-toast-region-item,.ui-toast-region._bottom-center .ui-toast-region-item,.ui-toast-region._center .ui-toast-region-item{justify-content:center}.ui-toast-region._top-left{top:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-right{top:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-center{top:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._bottom-left{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-right{bottom:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-center{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._center{top:50%;left:50%;transform:translate(-50%,-50%)}\n"], dependencies: [{ kind: "component", type: UiToast, selector: "ui-toast", inputs: ["title", "text", "level", "subLevel", "icon", "closable", "closeIcon", "closeAriaLabel", "expanded", "styleClass"], outputs: ["closed"] }, { kind: "directive", type: UiMotion, selector: "[uiMotion]", inputs: ["uiMotion", "motionDuration", "motionDelay", "motionEasing", "motionEnterEasing", "motionLeaveEasing", "motionDistance", "motionScale", "motionDisabled", "motionOnInsert"], exportAs: ["uiMotion"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
407
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiToastContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
408
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiToastContainer, isStandalone: true, selector: "ui-toast-container", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, motionDisabled: { classPropertyName: "motionDisabled", publicName: "motionDisabled", isSignal: true, isRequired: false, transformFunction: null }, contained: { classPropertyName: "contained", publicName: "contained", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, stackVisibleLimit: { classPropertyName: "stackVisibleLimit", publicName: "stackVisibleLimit", isSignal: true, isRequired: false, transformFunction: null }, stackGap: { classPropertyName: "stackGap", publicName: "stackGap", isSignal: true, isRequired: false, transformFunction: null }, preventDuplicates: { classPropertyName: "preventDuplicates", publicName: "preventDuplicates", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"regionClass()\" [style.z-index]=\"zIndex()\" [style.gap.px]=\"stackGap() ?? null\">\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n >\n <ui-toast\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\"\n />\n }\n </ui-toast>\n </div>\n }\n</div>\n", styles: [".ui-toast-region{position:fixed;z-index:var(--ui-toast-z-index, 1100);display:flex;flex-direction:column;gap:var(--ui-toast-stack-gap, var(--units-sm));width:min(var(--ui-toast-width, 22.5rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2);pointer-events:none}.ui-toast-region._contained{position:absolute}.ui-toast-region._expanded{width:min(var(--ui-toast-width-expanded, 30rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2)}.ui-toast-region._expanded .ui-toast-region-item>ui-toast{flex:1 1 auto}.ui-toast-region._reverse{flex-direction:column-reverse}.ui-toast-region-item{display:flex;pointer-events:none}.ui-toast-region-item>ui-toast{pointer-events:auto}.ui-toast-region._top-left .ui-toast-region-item,.ui-toast-region._bottom-left .ui-toast-region-item{justify-content:flex-start}.ui-toast-region._top-right .ui-toast-region-item,.ui-toast-region._bottom-right .ui-toast-region-item{justify-content:flex-end}.ui-toast-region._top-center .ui-toast-region-item,.ui-toast-region._bottom-center .ui-toast-region-item,.ui-toast-region._center .ui-toast-region-item{justify-content:center}.ui-toast-region._top-left{top:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-right{top:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-center{top:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._bottom-left{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-right{bottom:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-center{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._center{top:50%;left:50%;transform:translate(-50%,-50%)}\n"], dependencies: [{ kind: "component", type: UiToast, selector: "ui-toast", inputs: ["title", "text", "level", "subLevel", "icon", "closable", "closeIcon", "closeAriaLabel", "expanded", "styleClass"], outputs: ["closed"] }, { kind: "directive", type: UiMotion, selector: "[uiMotion]", inputs: ["uiMotion", "motionDuration", "motionDelay", "motionEasing", "motionEnterEasing", "motionLeaveEasing", "motionDistance", "motionScale", "motionDisabled", "motionOnInsert"], exportAs: ["uiMotion"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
409
409
  }
410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiToastContainer, decorators: [{
410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiToastContainer, decorators: [{
411
411
  type: Component,
412
- args: [{ selector: 'ui-toast-container', imports: [UiToast, UiMotion, NgTemplateOutlet], template: "<div [class]=\"regionClass()\" [style.z-index]=\"zIndex()\" [style.gap.px]=\"stackGap() ?? null\">\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n >\n <ui-toast\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\"\n />\n }\n </ui-toast>\n </div>\n }\n</div>\n", styles: [".ui-toast-region{position:fixed;z-index:var(--ui-toast-z-index, 1100);display:flex;flex-direction:column;gap:var(--ui-toast-stack-gap, var(--units-sm));width:min(var(--ui-toast-width, 22.5rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2);pointer-events:none}.ui-toast-region._contained{position:absolute}.ui-toast-region._expanded{width:min(var(--ui-toast-width-expanded, 30rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2)}.ui-toast-region._expanded .ui-toast-region-item>ui-toast{flex:1 1 auto}.ui-toast-region._reverse{flex-direction:column-reverse}.ui-toast-region-item{display:flex;pointer-events:auto}.ui-toast-region._top-left .ui-toast-region-item,.ui-toast-region._bottom-left .ui-toast-region-item{justify-content:flex-start}.ui-toast-region._top-right .ui-toast-region-item,.ui-toast-region._bottom-right .ui-toast-region-item{justify-content:flex-end}.ui-toast-region._top-center .ui-toast-region-item,.ui-toast-region._bottom-center .ui-toast-region-item,.ui-toast-region._center .ui-toast-region-item{justify-content:center}.ui-toast-region._top-left{top:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-right{top:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-center{top:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._bottom-left{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-right{bottom:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-center{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._center{top:50%;left:50%;transform:translate(-50%,-50%)}\n"] }]
412
+ args: [{ selector: 'ui-toast-container', imports: [UiToast, UiMotion, NgTemplateOutlet], template: "<div [class]=\"regionClass()\" [style.z-index]=\"zIndex()\" [style.gap.px]=\"stackGap() ?? null\">\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n >\n <ui-toast\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\"\n />\n }\n </ui-toast>\n </div>\n }\n</div>\n", styles: [".ui-toast-region{position:fixed;z-index:var(--ui-toast-z-index, 1100);display:flex;flex-direction:column;gap:var(--ui-toast-stack-gap, var(--units-sm));width:min(var(--ui-toast-width, 22.5rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2);pointer-events:none}.ui-toast-region._contained{position:absolute}.ui-toast-region._expanded{width:min(var(--ui-toast-width-expanded, 30rem),100vw - var(--ui-toast-edge-gap, var(--units-lg)) * 2)}.ui-toast-region._expanded .ui-toast-region-item>ui-toast{flex:1 1 auto}.ui-toast-region._reverse{flex-direction:column-reverse}.ui-toast-region-item{display:flex;pointer-events:none}.ui-toast-region-item>ui-toast{pointer-events:auto}.ui-toast-region._top-left .ui-toast-region-item,.ui-toast-region._bottom-left .ui-toast-region-item{justify-content:flex-start}.ui-toast-region._top-right .ui-toast-region-item,.ui-toast-region._bottom-right .ui-toast-region-item{justify-content:flex-end}.ui-toast-region._top-center .ui-toast-region-item,.ui-toast-region._bottom-center .ui-toast-region-item,.ui-toast-region._center .ui-toast-region-item{justify-content:center}.ui-toast-region._top-left{top:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-right{top:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._top-center{top:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._bottom-left{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-right{bottom:var(--ui-toast-edge-gap, var(--units-lg));right:var(--ui-toast-edge-gap, var(--units-lg))}.ui-toast-region._bottom-center{bottom:var(--ui-toast-edge-gap, var(--units-lg));left:50%;transform:translate(-50%)}.ui-toast-region._center{top:50%;left:50%;transform:translate(-50%,-50%)}\n"] }]
413
413
  }], ctorParameters: () => [], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], life: [{ type: i0.Input, args: [{ isSignal: true, alias: "life", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }], motion: [{ type: i0.Input, args: [{ isSignal: true, alias: "motion", required: false }] }], motionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionDisabled", required: false }] }], contained: [{ type: i0.Input, args: [{ isSignal: true, alias: "contained", required: false }] }], template: [{ type: i0.Input, args: [{ isSignal: true, alias: "template", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], stackVisibleLimit: [{ type: i0.Input, args: [{ isSignal: true, alias: "stackVisibleLimit", required: false }] }], stackGap: [{ type: i0.Input, args: [{ isSignal: true, alias: "stackGap", required: false }] }], preventDuplicates: [{ type: i0.Input, args: [{ isSignal: true, alias: "preventDuplicates", required: false }] }], autoZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZIndex", required: false }] }], baseZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseZIndex", required: false }] }] } });
414
414
 
415
415
  /*
@@ -1 +1 @@
1
- {"version":3,"file":"4sh-ui-kit-informative-ui-toast.mjs","sources":["../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.types.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.html","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.service.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast-container.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast-container.html","../../../projects/ui-kit/informative/ui-toast/src/public-api.ts","../../../projects/ui-kit/informative/ui-toast/src/4sh-ui-kit-informative-ui-toast.ts"],"sourcesContent":["import { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\n\n/** Unique identifier of a toast message (auto-generated when omitted). */\nexport type UiToastId = string | number;\n\n/**\n * Where a {@link UiToastContainer} pins its stack in the viewport.\n */\nexport type UiToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'\n | 'center';\n\n/** All positions, in declaration order (handy for stories/docs). */\nexport const UI_TOAST_POSITIONS: readonly UiToastPosition[] = [\n 'top-left',\n 'top-center',\n 'top-right',\n 'bottom-left',\n 'bottom-center',\n 'bottom-right',\n 'center',\n];\n\n/**\n * A single toast message pushed through the {@link UiToastService}.\n *\n * Only `title`/`text` are typically needed; everything else has a sensible\n * default resolved by the container.\n * remapped to this design system's semantic `level` / `subLevel` vocabulary.\n */\nexport interface UiToastMessage {\n /** Unique id. Auto-generated by the service when omitted. */\n id?: UiToastId;\n /** Routes the message to the container(s) sharing the same `key`. */\n key?: string;\n /** Semantic level (drives colours + default icon). */\n level?: UiFeedbackLevel;\n /** Hierarchical intensity (`high` = solid, `low` = subtle). */\n subLevel?: UiSubLevel;\n /** Bold heading line. */\n title?: string;\n /** Supporting body line. */\n text?: string;\n /**\n * Leading icon: a FontAwesome name to override the level default, `false`\n * to hide it, or omit / `true` for the level's default icon.\n */\n icon?: string | boolean;\n /** Show the dismiss button (default `true`). */\n closable?: boolean;\n /** Never auto-dismiss — the user must close it (default `false`). */\n sticky?: boolean;\n /** Auto-dismiss delay in ms. Falls back to the container `life`. */\n life?: number;\n /** Arbitrary payload forwarded to a custom `template` (custom / action toasts). */\n data?: unknown;\n /** Extra class(es) applied to the toast card for one-off styling. */\n styleClass?: string;\n}\n\n/** Context object handed to a container's custom content `template`. */\nexport interface UiToastTemplateContext {\n /** The message being rendered. */\n $implicit: UiToastMessage;\n /** Dismisses this toast (same as clicking the close button). */\n closeFn: () => void;\n}\n\n/** Default leading icon per semantic level (FontAwesome names, from the Figma source). */\nexport const UI_TOAST_DEFAULT_ICONS: Record<UiFeedbackLevel, string> = {\n default: 'info-circle',\n highlight: 'info-circle',\n success: 'check',\n warning: 'warning',\n error: 'times',\n};\n","import { booleanAttribute, Component, computed, input, output } from '@angular/core';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\nimport { UI_TOAST_DEFAULT_ICONS } from './ui-toast.types';\n\n/**\n * ui-toast — presentational notification card.\n *\n * Headless & fully token-driven (the `informative` category): surface, content\n * and stroke all come from `--informative-{level}{sub}-*`. It renders the Figma\n * anatomy (leading icon · title/text · dismiss button) and projects `<ng-content>`\n * in the content region for custom bodies or action buttons.\n *\n * Usually rendered for you by {@link UiToastContainer} from a {@link UiToastService}\n * message, but it is a plain standalone card — drop `<ui-toast>` anywhere.\n *\n * @example\n * ```html\n * <ui-toast level=\"success\" title=\"Enregistré\" text=\"Profil mis à jour.\" (closed)=\"…\" />\n * ```\n */\n@Component({\n selector: 'ui-toast',\n imports: [UiIcon],\n templateUrl: './ui-toast.html',\n styleUrl: './ui-toast.scss',\n host: {\n // Hug content by default; the container makes it fill the region in banner mode.\n '[style.display]': \"'inline-flex'\",\n '[style.maxWidth]': \"'100%'\",\n },\n})\nexport class UiToast {\n /** Bold heading line. */\n title = input<string>();\n /** Supporting body line. */\n text = input<string>();\n /** Semantic level — colours + default icon. */\n level = input<UiFeedbackLevel>('default');\n /** Hierarchical intensity (`high` = solid, `low` = subtle). */\n subLevel = input<UiSubLevel>('high');\n /**\n * Leading icon: a FontAwesome name to override the level default, `false`\n * to hide it, or `true` (default) for the level's default icon.\n */\n icon = input<string | boolean>(true);\n /** Show the dismiss button (default `true`). */\n closable = input(true, { transform: booleanAttribute });\n /** FontAwesome name of the dismiss icon. */\n closeIcon = input<string>('times-circle');\n /** Accessible label of the dismiss button. */\n closeAriaLabel = input<string>('Fermer');\n /** Stretch the card to fill its region width (banner-style). */\n expanded = input(false, { transform: booleanAttribute });\n /** Extra class(es) merged onto the card root. */\n styleClass = input<string>();\n\n /** Emitted when the user clicks the dismiss button. */\n closed = output<MouseEvent>();\n\n /** @ignore Resolved leading icon name (null when hidden). */\n protected readonly iconName = computed<string | null>(() => {\n const icon = this.icon();\n if (icon === false) return null;\n if (typeof icon === 'string') return icon;\n return UI_TOAST_DEFAULT_ICONS[this.level()];\n });\n\n /** @ignore ARIA role — assertive alert for error/warning, polite status otherwise\n * (mirrors ui-alert, so a standalone ui-toast self-announces without the container). */\n protected readonly role = computed(() =>\n this.level() === 'error' || this.level() === 'warning' ? 'alert' : 'status',\n );\n\n /** @ignore */\n protected readonly ariaLive = computed(() =>\n this.level() === 'error' || this.level() === 'warning' ? 'assertive' : 'polite',\n );\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-toast', `_${this.level()}`, `_${this.subLevel()}`];\n if (this.expanded()) c.push('_expanded');\n const sc = this.styleClass();\n if (sc) c.push(sc);\n return c.join(' ');\n });\n\n /** @ignore */\n protected onClose(event: MouseEvent): void {\n this.closed.emit(event);\n }\n}\n","<div [class]=\"classes()\" [attr.role]=\"role()\" [attr.aria-live]=\"ariaLive()\" aria-atomic=\"true\">\n @if (iconName(); as name) {\n <span class=\"ui-toast-icon\">\n <ui-icon [name]=\"name\" size=\"md\" />\n </span>\n }\n\n <div class=\"ui-toast-content\">\n @if (title(); as t) {\n <span class=\"ui-toast-title\">{{ t }}</span>\n }\n @if (text(); as txt) {\n <span class=\"ui-toast-text\">{{ txt }}</span>\n }\n <ng-content />\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-toast-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"onClose($event)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n</div>\n","import { computed, Injectable, signal } from '@angular/core';\nimport { UiToastId, UiToastMessage } from './ui-toast.types';\n\n/** Process-wide counter guaranteeing unique auto-generated toast ids. */\nlet nextId = 0;\n\n/**\n * ui-toast service — programmatic entry point to push and clear toasts.\n *\n * Signal-based store:\n * `add`/`addAll` append messages, `clear`/`remove` drop them. One or more\n * {@link UiToastContainer} instances read this store reactively and render the\n * slice that matches their `key`. Provided in root, so a single injection is\n * shared across the app.\n *\n * @example\n * ```ts\n * private readonly toast = inject(UiToastService);\n * this.toast.add({ level: 'success', title: 'Enregistré', text: 'Profil mis à jour.' });\n * ```\n */\n@Injectable({ providedIn: 'root' })\nexport class UiToastService {\n /** @ignore Backing store of live messages. */\n private readonly _messages = signal<UiToastMessage[]>([]);\n\n /** Live messages, in insertion order (read-only). */\n readonly messages = this._messages.asReadonly();\n\n /** Total number of live messages across every key. */\n readonly count = computed(() => this._messages().length);\n\n /**\n * Push a single message. Returns its (possibly generated) id so the caller\n * can dismiss it later (e.g. resolving a \"loading\" toast into a result).\n */\n add(message: UiToastMessage): UiToastId {\n const id = message.id ?? `ui-toast-${nextId++}`;\n this._messages.update((list) => [...list, { ...message, id }]);\n return id;\n }\n\n /** Push several messages at once. Returns their ids, in order. */\n addAll(messages: UiToastMessage[]): UiToastId[] {\n return messages.map((message) => this.add(message));\n }\n\n /**\n * Remove messages. With no argument, clears everything; with a `key`, clears\n * only the messages routed to that key.\n */\n clear(key?: string): void {\n if (key == null) {\n this._messages.set([]);\n return;\n }\n this._messages.update((list) => list.filter((m) => m.key !== key));\n }\n\n /** Remove a single message by id (no-op if it is already gone). */\n remove(id: UiToastId): void {\n this._messages.update((list) => list.filter((m) => m.id !== id));\n }\n}\n","import { isPlatformBrowser } from '@angular/common';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n computed,\n DestroyRef,\n effect,\n inject,\n input,\n numberAttribute,\n PLATFORM_ID,\n TemplateRef,\n} from '@angular/core';\nimport { UiMotion, UiMotionPreset } from '@4sh/ui-kit/motion';\nimport { UiToast } from './ui-toast';\nimport { UiToastService } from './ui-toast.service';\nimport { UiToastId, UiToastMessage, UiToastPosition } from './ui-toast.types';\n\n/** Enter/leave motion preset that best fits each anchor edge. */\nconst MOTION_BY_POSITION: Record<UiToastPosition, UiMotionPreset> = {\n 'top-left': 'slide-down',\n 'top-center': 'slide-down',\n 'top-right': 'slide-down',\n 'bottom-left': 'slide-up',\n 'bottom-center': 'slide-up',\n 'bottom-right': 'slide-up',\n center: 'zoom',\n};\n\n/** Base stacking level — mirrors `$toast-z-index` in the SCSS. */\nconst TOAST_BASE_Z_INDEX = 1100;\n\n/** Process-wide sequence so `autoZIndex` layers later stacks above earlier ones. */\nlet zIndexSeq = 0;\n\n/**\n * ui-toast-container — the viewport-pinned stack that renders {@link UiToastService}\n * messages as {@link UiToast} cards.\n *\n * Drop one near the app root (e.g. in `app.html`). It reads the service store\n * reactively, shows the slice matching its `key`, animates insert/remove through\n * the shared motion system (`animate.enter` / `animate.leave`), and auto-dismisses\n * non-sticky toasts after `life` ms — pausing the countdown while hovered.\n *\n * Positioning is `fixed` by default (relative to the viewport); set `contained`\n * to switch to `absolute` so the stack stays inside the nearest positioned\n * ancestor (used by the Storybook demos).\n *\n * @example\n * ```html\n * <ui-toast-container position=\"top-right\" [life]=\"4000\" />\n * ```\n */\n@Component({\n selector: 'ui-toast-container',\n imports: [UiToast, UiMotion, NgTemplateOutlet],\n templateUrl: './ui-toast-container.html',\n styleUrl: './ui-toast-container.scss',\n})\nexport class UiToastContainer {\n /** Only render messages whose `key` matches (omit to render key-less messages). */\n key = input<string>();\n /** Where the stack is pinned in the viewport. */\n position = input<UiToastPosition>('top-right');\n /** Default auto-dismiss delay (ms) for non-sticky toasts. Per-message `life` wins. */\n life = input(4000, { transform: numberAttribute });\n /** Render toasts as full-width banners (fill the region width). */\n expanded = input(false, { transform: booleanAttribute });\n /** Motion preset override. Defaults to a per-position choice. */\n motion = input<UiMotionPreset>();\n /** Disable enter/leave animation for this stack. */\n motionDisabled = input(false, { transform: booleanAttribute });\n /** Use `position: absolute` (scoped to a positioned ancestor) instead of `fixed`. */\n contained = input(false, { transform: booleanAttribute });\n /**\n * Custom content template rendered inside each card in place of `title`/`text`.\n * Context: `{ $implicit: message, closeFn }`.\n */\n template = input<TemplateRef<unknown>>();\n /** Extra class(es) merged onto the region root. */\n styleClass = input<string>();\n /** Show only the N most recent toasts; older ones wait their turn (`0` = no limit). */\n stackVisibleLimit = input(0, { transform: numberAttribute });\n /** Gap between stacked cards in px (overrides the `--units-sm` token default). */\n stackGap = input<number>();\n /** Skip a new toast whose content (level + title + text) matches a live one. */\n preventDuplicates = input(false, { transform: booleanAttribute });\n /** Automatically layer this stack above earlier ones (later container wins). */\n autoZIndex = input(true, { transform: booleanAttribute });\n /** Floor z-index for the stack (added to the auto value, or used as-is when `autoZIndex=false`). */\n baseZIndex = input(0, { transform: numberAttribute });\n\n /** @ignore */\n private readonly service = inject(UiToastService);\n /** @ignore Per-instance layering rank for `autoZIndex`. */\n private readonly zSeq = ++zIndexSeq;\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n\n /** @ignore All live messages routed to this container (drives timers/dedup). */\n private readonly keyed = computed(() =>\n this.service.messages().filter((m) => m.key === this.key()),\n );\n\n /** @ignore Rendered slice — the most recent `stackVisibleLimit` toasts. */\n protected readonly items = computed(() => {\n const all = this.keyed();\n const limit = this.stackVisibleLimit();\n return limit > 0 ? all.slice(-limit) : all;\n });\n\n /** @ignore Effective stacking level. */\n protected readonly zIndex = computed(() => {\n const base = this.baseZIndex();\n if (this.autoZIndex()) return TOAST_BASE_Z_INDEX + base + this.zSeq;\n return base > 0 ? base : TOAST_BASE_Z_INDEX;\n });\n\n /** @ignore Resolved enter/leave preset. */\n protected readonly motionPreset = computed<UiMotionPreset>(\n () => this.motion() ?? MOTION_BY_POSITION[this.position()],\n );\n\n /** @ignore */\n protected readonly regionClass = computed(() => {\n const c = ['ui-toast-region', `_${this.position()}`];\n if (this.contained()) c.push('_contained');\n if (this.expanded()) c.push('_expanded');\n // Anchor at the bottom edge → newest toast nearest the edge (column-reverse in SCSS).\n if (this.position().startsWith('bottom')) c.push('_reverse');\n const sc = this.styleClass();\n if (sc) c.push(sc);\n return c.join(' ');\n });\n\n // --- Life timers (auto-dismiss, hover-pausable) ----------------------\n\n /** @ignore Active timeout handles, keyed by message id. */\n private readonly timers = new Map<UiToastId, ReturnType<typeof setTimeout>>();\n /** @ignore Remaining ms per message (survives hover pause). */\n private readonly remaining = new Map<UiToastId, number>();\n /** @ignore Wall-clock start of the running countdown, per message. */\n private readonly startedAt = new Map<UiToastId, number>();\n\n constructor() {\n // Reconcile dedup + life timers whenever this container's message set changes.\n effect(() => {\n const keyed = this.keyed();\n\n // preventDuplicates: drop later toasts whose content matches an earlier one.\n if (this.preventDuplicates()) {\n const seen = new Set<string>();\n const dupes: UiToastId[] = [];\n for (const m of keyed) {\n const sig = `${m.level ?? 'default'}|${m.title ?? ''}|${m.text ?? ''}`;\n if (seen.has(sig)) dupes.push(m.id!);\n else seen.add(sig);\n }\n if (dupes.length) {\n // Store mutation re-runs this effect on the deduplicated set.\n dupes.forEach((id) => this.service.remove(id));\n return;\n }\n }\n\n const liveIds = new Set(keyed.map((m) => m.id));\n\n // Drop timer bookkeeping for messages that are gone.\n for (const id of [...this.timers.keys()]) {\n if (!liveIds.has(id)) this.forget(id);\n }\n for (const id of [...this.remaining.keys()]) {\n if (!liveIds.has(id)) this.remaining.delete(id);\n }\n\n if (!this.isBrowser) return;\n\n // Arm a countdown for each new, non-sticky message (even ones beyond the\n // visible limit, so a queued toast still expires on schedule).\n for (const message of keyed) {\n const id = message.id!;\n if (message.sticky) continue;\n if (this.timers.has(id) || this.remaining.has(id)) continue;\n const life = message.life ?? this.life();\n if (life > 0) this.arm(id, life);\n }\n });\n\n inject(DestroyRef).onDestroy(() => {\n for (const id of [...this.timers.keys()]) this.forget(id);\n });\n }\n\n /** @ignore Start (or restart) a countdown of `ms` for a message. */\n private arm(id: UiToastId, ms: number): void {\n this.remaining.set(id, ms);\n this.startedAt.set(id, Date.now());\n this.timers.set(\n id,\n setTimeout(() => {\n this.timers.delete(id);\n this.service.remove(id);\n }, ms),\n );\n }\n\n /** @ignore Cancel and drop all timer bookkeeping for a message. */\n private forget(id: UiToastId): void {\n const handle = this.timers.get(id);\n if (handle) clearTimeout(handle);\n this.timers.delete(id);\n this.startedAt.delete(id);\n }\n\n /** @ignore Pause the countdown on hover/focus (banks the remaining time). */\n protected pause(id: UiToastId | undefined): void {\n if (id == null) return;\n const handle = this.timers.get(id);\n if (!handle) return;\n clearTimeout(handle);\n this.timers.delete(id);\n const banked = this.remaining.get(id) ?? 0;\n const elapsed = Date.now() - (this.startedAt.get(id) ?? Date.now());\n this.remaining.set(id, Math.max(banked - elapsed, 0));\n }\n\n /** @ignore Resume a paused countdown when the pointer/focus leaves. */\n protected resume(id: UiToastId | undefined): void {\n if (id == null || !this.isBrowser) return;\n if (this.timers.has(id)) return;\n const left = this.remaining.get(id);\n if (left == null || left <= 0) return;\n this.arm(id, left);\n }\n\n /** @ignore Dismiss a toast (close button or a custom template's `closeFn`). */\n protected dismiss(message: UiToastMessage): void {\n if (message.id != null) this.service.remove(message.id);\n }\n\n /** @ignore Template-context factory: a bound close handler for one message. */\n protected closeFn(message: UiToastMessage): () => void {\n return () => this.dismiss(message);\n }\n}\n","<div [class]=\"regionClass()\" [style.z-index]=\"zIndex()\" [style.gap.px]=\"stackGap() ?? null\">\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n >\n <ui-toast\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\"\n />\n }\n </ui-toast>\n </div>\n }\n</div>\n","/*\n * Public API Surface of ui-kit/ui-toast\n */\n\nexport * from './lib/ui-toast-container';\nexport * from './lib/ui-toast.service';\nexport * from './lib/ui-toast';\nexport * from './lib/ui-toast.types';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAiBA;AACO,MAAM,kBAAkB,GAA+B;IAC5D,UAAU;IACV,YAAY;IACZ,WAAW;IACX,aAAa;IACb,eAAe;IACf,cAAc;IACd,QAAQ;;AAgDV;AACO,MAAM,sBAAsB,GAAoC;AACrE,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,SAAS,EAAE,aAAa;AACxB,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,KAAK,EAAE,OAAO;;;AC1EhB;;;;;;;;;;;;;;;AAeG;MAYU,O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ib/ui-toast.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.html","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.service.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast-container.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast-container.html","../../../projects/ui-kit/informative/ui-toast/src/public-api.ts","../../../projects/ui-kit/informative/ui-toast/src/4sh-ui-kit-informative-ui-toast.ts"],"sourcesContent":["import { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\n\n/** Unique identifier of a toast message (auto-generated when omitted). */\nexport type UiToastId = string | number;\n\n/**\n * Where a {@link UiToastContainer} pins its stack in the viewport.\n */\nexport type UiToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'\n | 'center';\n\n/** All positions, in declaration order (handy for stories/docs). */\nexport const UI_TOAST_POSITIONS: readonly UiToastPosition[] = [\n 'top-left',\n 'top-center',\n 'top-right',\n 'bottom-left',\n 'bottom-center',\n 'bottom-right',\n 'center',\n];\n\n/**\n * A single toast message pushed through the {@link UiToastService}.\n *\n * Only `title`/`text` are typically needed; everything else has a sensible\n * default resolved by the container.\n * remapped to this design system's semantic `level` / `subLevel` vocabulary.\n */\nexport interface UiToastMessage {\n /** Unique id. Auto-generated by the service when omitted. */\n id?: UiToastId;\n /** Routes the message to the container(s) sharing the same `key`. */\n key?: string;\n /** Semantic level (drives colours + default icon). */\n level?: UiFeedbackLevel;\n /** Hierarchical intensity (`high` = solid, `low` = subtle). */\n subLevel?: UiSubLevel;\n /** Bold heading line. */\n title?: string;\n /** Supporting body line. */\n text?: string;\n /**\n * Leading icon: a FontAwesome name to override the level default, `false`\n * to hide it, or omit / `true` for the level's default icon.\n */\n icon?: string | boolean;\n /** Show the dismiss button (default `true`). */\n closable?: boolean;\n /** Never auto-dismiss — the user must close it (default `false`). */\n sticky?: boolean;\n /** Auto-dismiss delay in ms. Falls back to the container `life`. */\n life?: number;\n /** Arbitrary payload forwarded to a custom `template` (custom / action toasts). */\n data?: unknown;\n /** Extra class(es) applied to the toast card for one-off styling. */\n styleClass?: string;\n}\n\n/** Context object handed to a container's custom content `template`. */\nexport interface UiToastTemplateContext {\n /** The message being rendered. */\n $implicit: UiToastMessage;\n /** Dismisses this toast (same as clicking the close button). */\n closeFn: () => void;\n}\n\n/** Default leading icon per semantic level (FontAwesome names, from the Figma source). */\nexport const UI_TOAST_DEFAULT_ICONS: Record<UiFeedbackLevel, string> = {\n default: 'info-circle',\n highlight: 'info-circle',\n success: 'check',\n warning: 'warning',\n error: 'times',\n};\n","import { booleanAttribute, Component, computed, input, output } from '@angular/core';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\nimport { UI_TOAST_DEFAULT_ICONS } from './ui-toast.types';\n\n/**\n * ui-toast — presentational notification card.\n *\n * Headless & fully token-driven (the `informative` category): surface, content\n * and stroke all come from `--informative-{level}{sub}-*`. It renders the Figma\n * anatomy (leading icon · title/text · dismiss button) and projects `<ng-content>`\n * in the content region for custom bodies or action buttons.\n *\n * Usually rendered for you by {@link UiToastContainer} from a {@link UiToastService}\n * message, but it is a plain standalone card — drop `<ui-toast>` anywhere.\n *\n * @example\n * ```html\n * <ui-toast level=\"success\" title=\"Enregistré\" text=\"Profil mis à jour.\" (closed)=\"…\" />\n * ```\n */\n@Component({\n selector: 'ui-toast',\n imports: [UiIcon],\n templateUrl: './ui-toast.html',\n styleUrl: './ui-toast.scss',\n host: {\n // Hug content by default; the container makes it fill the region in banner mode.\n '[style.display]': \"'inline-flex'\",\n '[style.maxWidth]': \"'100%'\",\n },\n})\nexport class UiToast {\n /** Bold heading line. */\n title = input<string>();\n /** Supporting body line. */\n text = input<string>();\n /** Semantic level — colours + default icon. */\n level = input<UiFeedbackLevel>('default');\n /** Hierarchical intensity (`high` = solid, `low` = subtle). */\n subLevel = input<UiSubLevel>('high');\n /**\n * Leading icon: a FontAwesome name to override the level default, `false`\n * to hide it, or `true` (default) for the level's default icon.\n */\n icon = input<string | boolean>(true);\n /** Show the dismiss button (default `true`). */\n closable = input(true, { transform: booleanAttribute });\n /** FontAwesome name of the dismiss icon. */\n closeIcon = input<string>('times-circle');\n /** Accessible label of the dismiss button. */\n closeAriaLabel = input<string>('Fermer');\n /** Stretch the card to fill its region width (banner-style). */\n expanded = input(false, { transform: booleanAttribute });\n /** Extra class(es) merged onto the card root. */\n styleClass = input<string>();\n\n /** Emitted when the user clicks the dismiss button. */\n closed = output<MouseEvent>();\n\n /** @ignore Resolved leading icon name (null when hidden). */\n protected readonly iconName = computed<string | null>(() => {\n const icon = this.icon();\n if (icon === false) return null;\n if (typeof icon === 'string') return icon;\n return UI_TOAST_DEFAULT_ICONS[this.level()];\n });\n\n /** @ignore ARIA role — assertive alert for error/warning, polite status otherwise\n * (mirrors ui-alert, so a standalone ui-toast self-announces without the container). */\n protected readonly role = computed(() =>\n this.level() === 'error' || this.level() === 'warning' ? 'alert' : 'status',\n );\n\n /** @ignore */\n protected readonly ariaLive = computed(() =>\n this.level() === 'error' || this.level() === 'warning' ? 'assertive' : 'polite',\n );\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-toast', `_${this.level()}`, `_${this.subLevel()}`];\n if (this.expanded()) c.push('_expanded');\n const sc = this.styleClass();\n if (sc) c.push(sc);\n return c.join(' ');\n });\n\n /** @ignore */\n protected onClose(event: MouseEvent): void {\n this.closed.emit(event);\n }\n}\n","<div [class]=\"classes()\" [attr.role]=\"role()\" [attr.aria-live]=\"ariaLive()\" aria-atomic=\"true\">\n @if (iconName(); as name) {\n <span class=\"ui-toast-icon\">\n <ui-icon [name]=\"name\" size=\"md\" />\n </span>\n }\n\n <div class=\"ui-toast-content\">\n @if (title(); as t) {\n <span class=\"ui-toast-title\">{{ t }}</span>\n }\n @if (text(); as txt) {\n <span class=\"ui-toast-text\">{{ txt }}</span>\n }\n <ng-content />\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-toast-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"onClose($event)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n</div>\n","import { computed, Injectable, signal } from '@angular/core';\nimport { UiToastId, UiToastMessage } from './ui-toast.types';\n\n/** Process-wide counter guaranteeing unique auto-generated toast ids. */\nlet nextId = 0;\n\n/**\n * ui-toast service — programmatic entry point to push and clear toasts.\n *\n * Signal-based store:\n * `add`/`addAll` append messages, `clear`/`remove` drop them. One or more\n * {@link UiToastContainer} instances read this store reactively and render the\n * slice that matches their `key`. Provided in root, so a single injection is\n * shared across the app.\n *\n * @example\n * ```ts\n * private readonly toast = inject(UiToastService);\n * this.toast.add({ level: 'success', title: 'Enregistré', text: 'Profil mis à jour.' });\n * ```\n */\n@Injectable({ providedIn: 'root' })\nexport class UiToastService {\n /** @ignore Backing store of live messages. */\n private readonly _messages = signal<UiToastMessage[]>([]);\n\n /** Live messages, in insertion order (read-only). */\n readonly messages = this._messages.asReadonly();\n\n /** Total number of live messages across every key. */\n readonly count = computed(() => this._messages().length);\n\n /**\n * Push a single message. Returns its (possibly generated) id so the caller\n * can dismiss it later (e.g. resolving a \"loading\" toast into a result).\n */\n add(message: UiToastMessage): UiToastId {\n const id = message.id ?? `ui-toast-${nextId++}`;\n this._messages.update((list) => [...list, { ...message, id }]);\n return id;\n }\n\n /** Push several messages at once. Returns their ids, in order. */\n addAll(messages: UiToastMessage[]): UiToastId[] {\n return messages.map((message) => this.add(message));\n }\n\n /**\n * Remove messages. With no argument, clears everything; with a `key`, clears\n * only the messages routed to that key.\n */\n clear(key?: string): void {\n if (key == null) {\n this._messages.set([]);\n return;\n }\n this._messages.update((list) => list.filter((m) => m.key !== key));\n }\n\n /** Remove a single message by id (no-op if it is already gone). */\n remove(id: UiToastId): void {\n this._messages.update((list) => list.filter((m) => m.id !== id));\n }\n}\n","import { isPlatformBrowser } from '@angular/common';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n computed,\n DestroyRef,\n effect,\n inject,\n input,\n numberAttribute,\n PLATFORM_ID,\n TemplateRef,\n} from '@angular/core';\nimport { UiMotion, UiMotionPreset } from '@4sh/ui-kit/motion';\nimport { UiToast } from './ui-toast';\nimport { UiToastService } from './ui-toast.service';\nimport { UiToastId, UiToastMessage, UiToastPosition } from './ui-toast.types';\n\n/** Enter/leave motion preset that best fits each anchor edge. */\nconst MOTION_BY_POSITION: Record<UiToastPosition, UiMotionPreset> = {\n 'top-left': 'slide-down',\n 'top-center': 'slide-down',\n 'top-right': 'slide-down',\n 'bottom-left': 'slide-up',\n 'bottom-center': 'slide-up',\n 'bottom-right': 'slide-up',\n center: 'zoom',\n};\n\n/** Base stacking level — mirrors `$toast-z-index` in the SCSS. */\nconst TOAST_BASE_Z_INDEX = 1100;\n\n/** Process-wide sequence so `autoZIndex` layers later stacks above earlier ones. */\nlet zIndexSeq = 0;\n\n/**\n * ui-toast-container — the viewport-pinned stack that renders {@link UiToastService}\n * messages as {@link UiToast} cards.\n *\n * Drop one near the app root (e.g. in `app.html`). It reads the service store\n * reactively, shows the slice matching its `key`, animates insert/remove through\n * the shared motion system (`animate.enter` / `animate.leave`), and auto-dismisses\n * non-sticky toasts after `life` ms — pausing the countdown while hovered.\n *\n * Positioning is `fixed` by default (relative to the viewport); set `contained`\n * to switch to `absolute` so the stack stays inside the nearest positioned\n * ancestor (used by the Storybook demos).\n *\n * @example\n * ```html\n * <ui-toast-container position=\"top-right\" [life]=\"4000\" />\n * ```\n */\n@Component({\n selector: 'ui-toast-container',\n imports: [UiToast, UiMotion, NgTemplateOutlet],\n templateUrl: './ui-toast-container.html',\n styleUrl: './ui-toast-container.scss',\n})\nexport class UiToastContainer {\n /** Only render messages whose `key` matches (omit to render key-less messages). */\n key = input<string>();\n /** Where the stack is pinned in the viewport. */\n position = input<UiToastPosition>('top-right');\n /** Default auto-dismiss delay (ms) for non-sticky toasts. Per-message `life` wins. */\n life = input(4000, { transform: numberAttribute });\n /** Render toasts as full-width banners (fill the region width). */\n expanded = input(false, { transform: booleanAttribute });\n /** Motion preset override. Defaults to a per-position choice. */\n motion = input<UiMotionPreset>();\n /** Disable enter/leave animation for this stack. */\n motionDisabled = input(false, { transform: booleanAttribute });\n /** Use `position: absolute` (scoped to a positioned ancestor) instead of `fixed`. */\n contained = input(false, { transform: booleanAttribute });\n /**\n * Custom content template rendered inside each card in place of `title`/`text`.\n * Context: `{ $implicit: message, closeFn }`.\n */\n template = input<TemplateRef<unknown>>();\n /** Extra class(es) merged onto the region root. */\n styleClass = input<string>();\n /** Show only the N most recent toasts; older ones wait their turn (`0` = no limit). */\n stackVisibleLimit = input(0, { transform: numberAttribute });\n /** Gap between stacked cards in px (overrides the `--units-sm` token default). */\n stackGap = input<number>();\n /** Skip a new toast whose content (level + title + text) matches a live one. */\n preventDuplicates = input(false, { transform: booleanAttribute });\n /** Automatically layer this stack above earlier ones (later container wins). */\n autoZIndex = input(true, { transform: booleanAttribute });\n /** Floor z-index for the stack (added to the auto value, or used as-is when `autoZIndex=false`). */\n baseZIndex = input(0, { transform: numberAttribute });\n\n /** @ignore */\n private readonly service = inject(UiToastService);\n /** @ignore Per-instance layering rank for `autoZIndex`. */\n private readonly zSeq = ++zIndexSeq;\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n\n /** @ignore All live messages routed to this container (drives timers/dedup). */\n private readonly keyed = computed(() =>\n this.service.messages().filter((m) => m.key === this.key()),\n );\n\n /** @ignore Rendered slice — the most recent `stackVisibleLimit` toasts. */\n protected readonly items = computed(() => {\n const all = this.keyed();\n const limit = this.stackVisibleLimit();\n return limit > 0 ? all.slice(-limit) : all;\n });\n\n /** @ignore Effective stacking level. */\n protected readonly zIndex = computed(() => {\n const base = this.baseZIndex();\n if (this.autoZIndex()) return TOAST_BASE_Z_INDEX + base + this.zSeq;\n return base > 0 ? base : TOAST_BASE_Z_INDEX;\n });\n\n /** @ignore Resolved enter/leave preset. */\n protected readonly motionPreset = computed<UiMotionPreset>(\n () => this.motion() ?? MOTION_BY_POSITION[this.position()],\n );\n\n /** @ignore */\n protected readonly regionClass = computed(() => {\n const c = ['ui-toast-region', `_${this.position()}`];\n if (this.contained()) c.push('_contained');\n if (this.expanded()) c.push('_expanded');\n // Anchor at the bottom edge → newest toast nearest the edge (column-reverse in SCSS).\n if (this.position().startsWith('bottom')) c.push('_reverse');\n const sc = this.styleClass();\n if (sc) c.push(sc);\n return c.join(' ');\n });\n\n // --- Life timers (auto-dismiss, hover-pausable) ----------------------\n\n /** @ignore Active timeout handles, keyed by message id. */\n private readonly timers = new Map<UiToastId, ReturnType<typeof setTimeout>>();\n /** @ignore Remaining ms per message (survives hover pause). */\n private readonly remaining = new Map<UiToastId, number>();\n /** @ignore Wall-clock start of the running countdown, per message. */\n private readonly startedAt = new Map<UiToastId, number>();\n\n constructor() {\n // Reconcile dedup + life timers whenever this container's message set changes.\n effect(() => {\n const keyed = this.keyed();\n\n // preventDuplicates: drop later toasts whose content matches an earlier one.\n if (this.preventDuplicates()) {\n const seen = new Set<string>();\n const dupes: UiToastId[] = [];\n for (const m of keyed) {\n const sig = `${m.level ?? 'default'}|${m.title ?? ''}|${m.text ?? ''}`;\n if (seen.has(sig)) dupes.push(m.id!);\n else seen.add(sig);\n }\n if (dupes.length) {\n // Store mutation re-runs this effect on the deduplicated set.\n dupes.forEach((id) => this.service.remove(id));\n return;\n }\n }\n\n const shown = this.items();\n const shownIds = new Set(shown.map((m) => m.id));\n\n // Drop timer bookkeeping for messages that are gone or no longer shown.\n for (const id of [...this.timers.keys()]) {\n if (!shownIds.has(id)) this.forget(id);\n }\n for (const id of [...this.remaining.keys()]) {\n if (!shownIds.has(id)) this.remaining.delete(id);\n }\n\n if (!this.isBrowser) return;\n\n // Arm a countdown for each newly shown, non-sticky message.\n for (const message of shown) {\n const id = message.id!;\n if (message.sticky) continue;\n if (this.timers.has(id) || this.remaining.has(id)) continue;\n const life = message.life ?? this.life();\n if (life > 0) this.arm(id, life);\n }\n });\n\n inject(DestroyRef).onDestroy(() => {\n for (const id of [...this.timers.keys()]) this.forget(id);\n });\n }\n\n /** @ignore Start (or restart) a countdown of `ms` for a message. */\n private arm(id: UiToastId, ms: number): void {\n this.remaining.set(id, ms);\n this.startedAt.set(id, Date.now());\n this.timers.set(\n id,\n setTimeout(() => {\n this.timers.delete(id);\n this.service.remove(id);\n }, ms),\n );\n }\n\n /** @ignore Cancel and drop all timer bookkeeping for a message. */\n private forget(id: UiToastId): void {\n const handle = this.timers.get(id);\n if (handle) clearTimeout(handle);\n this.timers.delete(id);\n this.startedAt.delete(id);\n }\n\n /** @ignore Pause the countdown on hover/focus (banks the remaining time). */\n protected pause(id: UiToastId | undefined): void {\n if (id == null) return;\n const handle = this.timers.get(id);\n if (!handle) return;\n clearTimeout(handle);\n this.timers.delete(id);\n const banked = this.remaining.get(id) ?? 0;\n const elapsed = Date.now() - (this.startedAt.get(id) ?? Date.now());\n this.remaining.set(id, Math.max(banked - elapsed, 0));\n }\n\n /** @ignore Resume a paused countdown when the pointer/focus leaves. */\n protected resume(id: UiToastId | undefined): void {\n if (id == null || !this.isBrowser) return;\n if (this.timers.has(id)) return;\n const left = this.remaining.get(id);\n if (left == null || left <= 0) return;\n this.arm(id, left);\n }\n\n /** @ignore Dismiss a toast (close button or a custom template's `closeFn`). */\n protected dismiss(message: UiToastMessage): void {\n if (message.id != null) this.service.remove(message.id);\n }\n\n /** @ignore Template-context factory: a bound close handler for one message. */\n protected closeFn(message: UiToastMessage): () => void {\n return () => this.dismiss(message);\n }\n}\n","<div [class]=\"regionClass()\" [style.z-index]=\"zIndex()\" [style.gap.px]=\"stackGap() ?? null\">\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n >\n <ui-toast\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\"\n />\n }\n </ui-toast>\n </div>\n }\n</div>\n","/*\n * Public API Surface of ui-kit/ui-toast\n */\n\nexport * from './lib/ui-toast-container';\nexport * from './lib/ui-toast.service';\nexport * from './lib/ui-toast';\nexport * from './lib/ui-toast.types';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAiBA;AACO,MAAM,kBAAkB,GAA+B;IAC5D,UAAU;IACV,YAAY;IACZ,WAAW;IACX,aAAa;IACb,eAAe;IACf,cAAc;IACd,QAAQ;;AAgDV;AACO,MAAM,sBAAsB,GAAoC;AACrE,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,SAAS,EAAE,aAAa;AACxB,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,KAAK,EAAE,OAAO;;;AC1EhB;;;;;;;;;;;;;;;AAeG;MAYU,OAAO,CAAA;AAXpB,IAAA,WAAA,GAAA;;AAaE,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK;6FAAU;;AAEvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;4FAAU;;QAEtB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAkB,SAAS;kFAAC;;QAEzC,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAa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A,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,o6DC5D7B,uqCAkCA,EAAA,MAAA,EAAA,CAAA,o3DAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDsBY,OAAO,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,UAAA,EAAA,MAAA,EAAA,UAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,YAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,QAAQ,qQAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIlC,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WACrB,CAAC,OAAO,EAAE,QAAQ,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,uqCAAA,EAAA,MAAA,EAAA,CAAA,o3DAAA,CAAA,EAAA;;;AExDhD;;AAEG;;ACFH;;AAEG;;"}
@@ -55,10 +55,10 @@ class UiTooltipPanel {
55
55
  }, /* @ts-ignore */
56
56
  ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
57
57
  }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiTooltipPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiTooltipPanel, isStandalone: true, selector: "ui-tooltip", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, templateContext: { classPropertyName: "templateContext", publicName: "templateContext", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, tooltipId: { classPropertyName: "tooltipId", publicName: "tooltipId", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" role=\"tooltip\" [id]=\"tooltipId()\">\n <span class=\"ui-tooltip-arrow\" aria-hidden=\"true\"></span>\n <div class=\"ui-tooltip-text\">\n @if (template()) {\n <ng-container *ngTemplateOutlet=\"template()!; context: templateContext()\" />\n } @else if (escape()) {\n {{ text() }}\n } @else {\n <!-- eslint-disable-next-line no-restricted-syntax -- EXCEPTION JUSTIFI\u00C9E : mode `escape=false` (opt-in). Ce n'est PAS un contournement \u2014 la liaison passe par l'assainisseur d'Angular, aucun bypass n'est lev\u00E9. Registre : docs/SECURITY-PRACTICES.md. -->\n <span [innerHTML]=\"text()\"></span>\n }\n </div>\n</div>\n", styles: [".ui-tooltip{position:relative;display:inline-block;box-sizing:border-box;max-width:var(--ui-tooltip-max-width, 16rem);padding:var(--ui-tooltip-padding-y, var(--units-sm)) var(--ui-tooltip-padding-x, var(--units-default));border:var(--ui-tooltip-stroke-width, var(--stroke-sm)) solid var(--ui-tooltip-stroke, var(--informative-defaulthigh-stroke-default));border-radius:var(--ui-tooltip-radius, var(--radius-default));background-color:var(--ui-tooltip-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-tooltip-color, var(--informative-defaulthigh-content-default));box-shadow:var(--shadow-default-md);font-family:var(--ui-tooltip-font-family, var(--fontfamily-base));font-weight:var(--ui-tooltip-weight, var(--weight-regular));font-size:var(--ui-tooltip-font-size, var(--size-typography-text-md));line-height:1.4;overflow-wrap:break-word;--ui-motion-duration: var(--transition-fast);--ui-motion-easing: var(--transition-easeout);opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),translate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tooltip._top{translate:0 4px}.ui-tooltip._bottom{translate:0 -4px}.ui-tooltip._left{translate:4px 0}.ui-tooltip._right{translate:-4px 0}.ui-tooltip._visible{opacity:1;translate:0 0}.ui-tooltip._interactive{pointer-events:auto}@media(prefers-reduced-motion:reduce){.ui-tooltip{transition-duration:.01ms;translate:none}}:root[data-motion=off] .ui-tooltip{transition-duration:.01ms;translate:none}.ui-tooltip-text{display:block}.ui-tooltip-arrow{position:absolute;width:var(--ui-tooltip-arrow-size, .5rem);height:var(--ui-tooltip-arrow-size, .5rem);background-color:var(--ui-tooltip-surface, var(--informative-defaulthigh-surface-default));border:var(--ui-tooltip-stroke-width, var(--stroke-sm)) solid var(--ui-tooltip-stroke, var(--informative-defaulthigh-stroke-default));rotate:45deg}.ui-tooltip._top .ui-tooltip-arrow{bottom:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-top:0;border-left:0}.ui-tooltip._bottom .ui-tooltip-arrow{top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-right:0;border-bottom:0}.ui-tooltip._left .ui-tooltip-arrow{right:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-bottom:0;border-left:0}.ui-tooltip._right .ui-tooltip-arrow{left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-top:0;border-right:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTooltipPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiTooltipPanel, isStandalone: true, selector: "ui-tooltip", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, templateContext: { classPropertyName: "templateContext", publicName: "templateContext", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, tooltipId: { classPropertyName: "tooltipId", publicName: "tooltipId", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" role=\"tooltip\" [id]=\"tooltipId()\">\n <span class=\"ui-tooltip-arrow\" aria-hidden=\"true\"></span>\n <div class=\"ui-tooltip-text\">\n @if (template()) {\n <ng-container *ngTemplateOutlet=\"template()!; context: templateContext()\" />\n } @else if (escape()) {\n {{ text() }}\n } @else {\n <!-- eslint-disable-next-line no-restricted-syntax -- EXCEPTION JUSTIFI\u00C9E : mode `escape=false` (opt-in). Ce n'est PAS un contournement \u2014 la liaison passe par l'assainisseur d'Angular, aucun bypass n'est lev\u00E9. Registre : docs/SECURITY-PRACTICES.md. -->\n <span [innerHTML]=\"text()\"></span>\n }\n </div>\n</div>\n", styles: [".ui-tooltip{position:relative;display:inline-block;box-sizing:border-box;max-width:var(--ui-tooltip-max-width, 16rem);padding:var(--ui-tooltip-padding-y, var(--units-sm)) var(--ui-tooltip-padding-x, var(--units-default));border:var(--ui-tooltip-stroke-width, var(--stroke-sm)) solid var(--ui-tooltip-stroke, var(--informative-defaulthigh-stroke-default));border-radius:var(--ui-tooltip-radius, var(--radius-default));background-color:var(--ui-tooltip-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-tooltip-color, var(--informative-defaulthigh-content-default));box-shadow:var(--shadow-default-md);font-family:var(--ui-tooltip-font-family, var(--fontfamily-base));font-weight:var(--ui-tooltip-weight, var(--weight-regular));font-size:var(--ui-tooltip-font-size, var(--size-typography-text-md));line-height:1.4;overflow-wrap:break-word;--ui-motion-duration: var(--transition-fast);--ui-motion-easing: var(--transition-easeout);opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),translate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tooltip._top{translate:0 4px}.ui-tooltip._bottom{translate:0 -4px}.ui-tooltip._left{translate:4px 0}.ui-tooltip._right{translate:-4px 0}.ui-tooltip._visible{opacity:1;translate:0 0}.ui-tooltip._interactive{pointer-events:auto}@media(prefers-reduced-motion:reduce){.ui-tooltip{transition-duration:.01ms;translate:none}}:root[data-motion=off] .ui-tooltip{transition-duration:.01ms;translate:none}.ui-tooltip-text{display:block}.ui-tooltip-arrow{position:absolute;width:var(--ui-tooltip-arrow-size, .5rem);height:var(--ui-tooltip-arrow-size, .5rem);background-color:var(--ui-tooltip-surface, var(--informative-defaulthigh-surface-default));border:var(--ui-tooltip-stroke-width, var(--stroke-sm)) solid var(--ui-tooltip-stroke, var(--informative-defaulthigh-stroke-default));rotate:45deg}.ui-tooltip._top .ui-tooltip-arrow{bottom:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-top:0;border-left:0}.ui-tooltip._bottom .ui-tooltip-arrow{top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-right:0;border-bottom:0}.ui-tooltip._left .ui-tooltip-arrow{right:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-bottom:0;border-left:0}.ui-tooltip._right .ui-tooltip-arrow{left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-top:0;border-right:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
60
60
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiTooltipPanel, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTooltipPanel, decorators: [{
62
62
  type: Component,
63
63
  args: [{ selector: 'ui-tooltip', imports: [NgTemplateOutlet], encapsulation: ViewEncapsulation.Emulated, template: "<div [class]=\"classes()\" role=\"tooltip\" [id]=\"tooltipId()\">\n <span class=\"ui-tooltip-arrow\" aria-hidden=\"true\"></span>\n <div class=\"ui-tooltip-text\">\n @if (template()) {\n <ng-container *ngTemplateOutlet=\"template()!; context: templateContext()\" />\n } @else if (escape()) {\n {{ text() }}\n } @else {\n <!-- eslint-disable-next-line no-restricted-syntax -- EXCEPTION JUSTIFI\u00C9E : mode `escape=false` (opt-in). Ce n'est PAS un contournement \u2014 la liaison passe par l'assainisseur d'Angular, aucun bypass n'est lev\u00E9. Registre : docs/SECURITY-PRACTICES.md. -->\n <span [innerHTML]=\"text()\"></span>\n }\n </div>\n</div>\n", styles: [".ui-tooltip{position:relative;display:inline-block;box-sizing:border-box;max-width:var(--ui-tooltip-max-width, 16rem);padding:var(--ui-tooltip-padding-y, var(--units-sm)) var(--ui-tooltip-padding-x, var(--units-default));border:var(--ui-tooltip-stroke-width, var(--stroke-sm)) solid var(--ui-tooltip-stroke, var(--informative-defaulthigh-stroke-default));border-radius:var(--ui-tooltip-radius, var(--radius-default));background-color:var(--ui-tooltip-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-tooltip-color, var(--informative-defaulthigh-content-default));box-shadow:var(--shadow-default-md);font-family:var(--ui-tooltip-font-family, var(--fontfamily-base));font-weight:var(--ui-tooltip-weight, var(--weight-regular));font-size:var(--ui-tooltip-font-size, var(--size-typography-text-md));line-height:1.4;overflow-wrap:break-word;--ui-motion-duration: var(--transition-fast);--ui-motion-easing: var(--transition-easeout);opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),translate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tooltip._top{translate:0 4px}.ui-tooltip._bottom{translate:0 -4px}.ui-tooltip._left{translate:4px 0}.ui-tooltip._right{translate:-4px 0}.ui-tooltip._visible{opacity:1;translate:0 0}.ui-tooltip._interactive{pointer-events:auto}@media(prefers-reduced-motion:reduce){.ui-tooltip{transition-duration:.01ms;translate:none}}:root[data-motion=off] .ui-tooltip{transition-duration:.01ms;translate:none}.ui-tooltip-text{display:block}.ui-tooltip-arrow{position:absolute;width:var(--ui-tooltip-arrow-size, .5rem);height:var(--ui-tooltip-arrow-size, .5rem);background-color:var(--ui-tooltip-surface, var(--informative-defaulthigh-surface-default));border:var(--ui-tooltip-stroke-width, var(--stroke-sm)) solid var(--ui-tooltip-stroke, var(--informative-defaulthigh-stroke-default));rotate:45deg}.ui-tooltip._top .ui-tooltip-arrow{bottom:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-top:0;border-left:0}.ui-tooltip._bottom .ui-tooltip-arrow{top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));left:50%;margin-left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-right:0;border-bottom:0}.ui-tooltip._left .ui-tooltip-arrow{right:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-bottom:0;border-left:0}.ui-tooltip._right .ui-tooltip-arrow{left:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));top:50%;margin-top:calc(-1 * calc(var(--ui-tooltip-arrow-size, .5rem) / 2));border-top:0;border-right:0}\n"] }]
64
64
  }], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], template: [{ type: i0.Input, args: [{ isSignal: true, alias: "template", required: false }] }], templateContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "templateContext", required: false }] }], escape: [{ type: i0.Input, args: [{ isSignal: true, alias: "escape", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], tooltipId: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipId", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }] } });
@@ -457,10 +457,10 @@ class UiTooltip {
457
457
  this.overlayRef = null;
458
458
  this.panelRef = null;
459
459
  }
460
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
461
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: UiTooltip, isStandalone: true, selector: "[uiTooltip]", inputs: { content: { classPropertyName: "content", publicName: "uiTooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, fitContent: { classPropertyName: "fitContent", publicName: "fitContent", isSignal: true, isRequired: false, transformFunction: null }, tooltipEvent: { classPropertyName: "tooltipEvent", publicName: "tooltipEvent", isSignal: true, isRequired: false, transformFunction: null }, tooltipDisabled: { classPropertyName: "tooltipDisabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: true, isRequired: false, transformFunction: null }, autoHide: { classPropertyName: "autoHide", publicName: "autoHide", isSignal: true, isRequired: false, transformFunction: null }, hideOnEscape: { classPropertyName: "hideOnEscape", publicName: "hideOnEscape", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, showOnEllipsis: { classPropertyName: "showOnEllipsis", publicName: "showOnEllipsis", isSignal: true, isRequired: false, transformFunction: null }, positionTop: { classPropertyName: "positionTop", publicName: "positionTop", isSignal: true, isRequired: false, transformFunction: null }, positionLeft: { classPropertyName: "positionLeft", publicName: "positionLeft", isSignal: true, isRequired: false, transformFunction: null }, tooltipContext: { classPropertyName: "tooltipContext", publicName: "tooltipContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tooltipShow: "tooltipShow", tooltipHide: "tooltipHide" }, exportAs: ["uiTooltip"], ngImport: i0 }); }
460
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
461
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.7", type: UiTooltip, isStandalone: true, selector: "[uiTooltip]", inputs: { content: { classPropertyName: "content", publicName: "uiTooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, fitContent: { classPropertyName: "fitContent", publicName: "fitContent", isSignal: true, isRequired: false, transformFunction: null }, tooltipEvent: { classPropertyName: "tooltipEvent", publicName: "tooltipEvent", isSignal: true, isRequired: false, transformFunction: null }, tooltipDisabled: { classPropertyName: "tooltipDisabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: true, isRequired: false, transformFunction: null }, autoHide: { classPropertyName: "autoHide", publicName: "autoHide", isSignal: true, isRequired: false, transformFunction: null }, hideOnEscape: { classPropertyName: "hideOnEscape", publicName: "hideOnEscape", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, showOnEllipsis: { classPropertyName: "showOnEllipsis", publicName: "showOnEllipsis", isSignal: true, isRequired: false, transformFunction: null }, positionTop: { classPropertyName: "positionTop", publicName: "positionTop", isSignal: true, isRequired: false, transformFunction: null }, positionLeft: { classPropertyName: "positionLeft", publicName: "positionLeft", isSignal: true, isRequired: false, transformFunction: null }, tooltipContext: { classPropertyName: "tooltipContext", publicName: "tooltipContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tooltipShow: "tooltipShow", tooltipHide: "tooltipHide" }, exportAs: ["uiTooltip"], ngImport: i0 }); }
462
462
  }
463
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiTooltip, decorators: [{
463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTooltip, decorators: [{
464
464
  type: Directive,
465
465
  args: [{
466
466
  selector: '[uiTooltip]',
@@ -29,28 +29,28 @@ let nextUid = 0;
29
29
  */
30
30
  /** Header region: title and/or close button. Stays pinned above the scrolling body. */
31
31
  class UiBottomSheetHeader {
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheetHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: UiBottomSheetHeader, isStandalone: true, selector: "[uiBottomSheetHeader], [ui-bottom-sheet-header]", ngImport: i0 }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheetHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
33
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: UiBottomSheetHeader, isStandalone: true, selector: "[uiBottomSheetHeader], [ui-bottom-sheet-header]", ngImport: i0 }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheetHeader, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheetHeader, decorators: [{
36
36
  type: Directive,
37
37
  args: [{ selector: '[uiBottomSheetHeader], [ui-bottom-sheet-header]' }]
38
38
  }] });
39
39
  /** Main region. Scrolls natively when the content overflows the sheet. */
40
40
  class UiBottomSheetContent {
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheetContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
42
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: UiBottomSheetContent, isStandalone: true, selector: "[uiBottomSheetContent], [ui-bottom-sheet-content]", ngImport: i0 }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheetContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
42
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: UiBottomSheetContent, isStandalone: true, selector: "[uiBottomSheetContent], [ui-bottom-sheet-content]", ngImport: i0 }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheetContent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheetContent, decorators: [{
45
45
  type: Directive,
46
46
  args: [{ selector: '[uiBottomSheetContent], [ui-bottom-sheet-content]' }]
47
47
  }] });
48
48
  /** Footer region: actions. Stays pinned below the scrolling body. */
49
49
  class UiBottomSheetFooter {
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheetFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
51
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: UiBottomSheetFooter, isStandalone: true, selector: "[uiBottomSheetFooter], [ui-bottom-sheet-footer]", ngImport: i0 }); }
50
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheetFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
51
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: UiBottomSheetFooter, isStandalone: true, selector: "[uiBottomSheetFooter], [ui-bottom-sheet-footer]", ngImport: i0 }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheetFooter, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheetFooter, decorators: [{
54
54
  type: Directive,
55
55
  args: [{ selector: '[uiBottomSheetFooter], [ui-bottom-sheet-footer]' }]
56
56
  }] });
@@ -585,10 +585,10 @@ class UiBottomSheet {
585
585
  }
586
586
  return this.document.defaultView?.innerHeight ?? this.dragStartHeight;
587
587
  }
588
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheet, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
589
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiBottomSheet, isStandalone: true, selector: "ui-bottom-sheet", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: true, isRequired: false, transformFunction: null }, closeOnOverlayClick: { classPropertyName: "closeOnOverlayClick", publicName: "closeOnOverlayClick", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, blockScroll: { classPropertyName: "blockScroll", publicName: "blockScroll", isSignal: true, isRequired: false, transformFunction: null }, enableDragToClose: { classPropertyName: "enableDragToClose", publicName: "enableDragToClose", isSignal: true, isRequired: false, transformFunction: null }, dragThreshold: { classPropertyName: "dragThreshold", publicName: "dragThreshold", isSignal: true, isRequired: false, transformFunction: null }, enableSnapping: { classPropertyName: "enableSnapping", publicName: "enableSnapping", isSignal: true, isRequired: false, transformFunction: null }, showHandle: { classPropertyName: "showHandle", publicName: "showHandle", isSignal: true, isRequired: false, transformFunction: null }, trapFocus: { classPropertyName: "trapFocus", publicName: "trapFocus", isSignal: true, isRequired: false, transformFunction: null }, focusOnShow: { classPropertyName: "focusOnShow", publicName: "focusOnShow", isSignal: true, isRequired: false, transformFunction: null }, autoFocusElement: { classPropertyName: "autoFocusElement", publicName: "autoFocusElement", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, handleAriaLabel: { classPropertyName: "handleAriaLabel", publicName: "handleAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, safeArea: { classPropertyName: "safeArea", publicName: "safeArea", isSignal: true, isRequired: false, transformFunction: null }, contained: { classPropertyName: "contained", publicName: "contained", isSignal: true, isRequired: false, transformFunction: null }, motionDisabled: { classPropertyName: "motionDisabled", publicName: "motionDisabled", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", opened: "opened", closed: "closed" }, queries: [{ propertyName: "headerSlot", first: true, predicate: UiBottomSheetHeader, descendants: true, isSignal: true }, { propertyName: "contentSlot", first: true, predicate: UiBottomSheetContent, descendants: true, isSignal: true }, { propertyName: "footerSlot", first: true, predicate: UiBottomSheetFooter, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "positionerRef", first: true, predicate: ["positioner"], descendants: true, isSignal: true }, { propertyName: "panelRef", first: true, predicate: ["panel"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (mounted()) {\n <!-- Backdrop and positioner are siblings so the sheet can slide over a static\n scrim, and a click beside the sheet lands on the scrim (dismiss). -->\n @if (hasBackdrop()) {\n <div\n class=\"ui-bottom-sheet-scrim\"\n [class._open]=\"atRest()\"\n [class._contained]=\"contained()\"\n [class._no-motion]=\"motionDisabled()\"\n [style.z-index]=\"zIndex()\"\n (pointerdown)=\"onScrimPointerDown($event)\"\n ></div>\n }\n\n <!-- Dialog: Escape/Tab handled on the container, focus lives inside\n (CDK focus-trap). The positioner carries the slide transform. -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -->\n <div\n #positioner\n class=\"ui-bottom-sheet-positioner\"\n [class._contained]=\"contained()\"\n [class._dragging]=\"dragging()\"\n [class._no-motion]=\"motionDisabled()\"\n [style.z-index]=\"zIndex()\"\n [style.transform]=\"panelTransform()\"\n (transitionend)=\"onTransitionEnd($event)\"\n (keydown)=\"onKeydown($event)\"\n >\n <div\n #panel\n [class]=\"panelClasses()\"\n [attr.role]=\"role()\"\n [attr.aria-modal]=\"hasBackdrop() ? 'true' : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n [style.height]=\"inlineHeight()\"\n tabindex=\"-1\"\n [cdkTrapFocus]=\"trapFocus()\"\n [cdkTrapFocusAutoCapture]=\"focusOnShow()\"\n >\n <!-- Grab zone: handle + header. The body is left out so it keeps its\n native scroll. -->\n @if (showHandle() || hasHeaderRegion()) {\n <div\n class=\"ui-bottom-sheet-grab\"\n [class._draggable]=\"dragEnabled()\"\n (pointerdown)=\"onDragPointerDown($event)\"\n (pointermove)=\"onDragPointerMove($event)\"\n (pointerup)=\"onDragPointerUp($event)\"\n (pointercancel)=\"onDragPointerUp($event)\"\n >\n @if (showHandle()) {\n @if (canSnap()) {\n <button\n type=\"button\"\n class=\"ui-bottom-sheet-handle _operable\"\n [attr.aria-label]=\"handleAriaLabel()\"\n [attr.aria-expanded]=\"snapped()\"\n (keydown)=\"onHandleKeydown($event)\"\n ></button>\n } @else {\n <div class=\"ui-bottom-sheet-handle\" aria-hidden=\"true\"></div>\n }\n }\n\n @if (hasHeaderRegion()) {\n <div class=\"ui-bottom-sheet-header\">\n @if (hasTitle()) {\n <div [attr.id]=\"titleId\" class=\"ui-bottom-sheet-title\">\n @if (showHeaderString()) {\n {{ header() }}\n }\n <ng-content select=\"[uiBottomSheetHeader], [ui-bottom-sheet-header]\" />\n </div>\n }\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-bottom-sheet-action\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"close()\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n </div>\n }\n </div>\n }\n\n <!-- Body: scrolls natively, scroll chaining kept inside the sheet.\n `tabindex` is what makes that scroll reachable at the keyboard when the\n body holds no focusable element of its own (WCAG 2.1.1). -->\n <div class=\"ui-bottom-sheet-content\" tabindex=\"0\">\n <ng-content select=\"[uiBottomSheetContent], [ui-bottom-sheet-content]\" />\n <ng-content />\n </div>\n\n @if (footerSlot()) {\n <div class=\"ui-bottom-sheet-footer\">\n <ng-content select=\"[uiBottomSheetFooter], [ui-bottom-sheet-footer]\" />\n </div>\n }\n </div>\n </div>\n}\n", styles: [".ui-bottom-sheet-scrim{position:fixed;inset:0;z-index:var(--ui-bottom-sheet-z-index, 1100);background-color:var(--ui-bottom-sheet-mask-background, var(--primitives-black-50));opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet-scrim._open{opacity:1}.ui-bottom-sheet-scrim._contained{position:absolute}.ui-bottom-sheet-scrim._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-scrim{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-scrim{transition-duration:.01ms}.ui-bottom-sheet-positioner{position:fixed;inset-inline:0;inset-block-end:0;z-index:var(--ui-bottom-sheet-z-index, 1100);display:flex;justify-content:center;transition:transform var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet-positioner._contained{position:absolute}.ui-bottom-sheet-positioner._dragging,.ui-bottom-sheet-positioner._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-positioner{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-positioner{transition-duration:.01ms}.ui-bottom-sheet{box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-width:var(--ui-bottom-sheet-max-width, 90rem);max-height:var(--ui-bottom-sheet-max-height, 92dvh);border-radius:var(--ui-bottom-sheet-radius, var(--radius-default)) var(--ui-bottom-sheet-radius, var(--radius-default)) 0 0;background-color:var(--ui-bottom-sheet-surface, var(--global-background-default));box-shadow:var(--ui-bottom-sheet-shadow, var(--shadow-default-lg));color:var(--ui-bottom-sheet-color, var(--global-text-default));font-family:var(--ui-bottom-sheet-font-family, var(--fontfamily-base));overflow:hidden;outline:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:height var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet._half{height:var(--ui-bottom-sheet-half-height, 50dvh)}.ui-bottom-sheet._full{height:var(--ui-bottom-sheet-full-height, 100dvh);max-height:var(--ui-bottom-sheet-full-height, 100dvh)}.ui-bottom-sheet._dragging{max-height:var(--ui-bottom-sheet-full-height, 100dvh)}.ui-bottom-sheet._dragging,.ui-bottom-sheet._no-motion{transition:none}.ui-bottom-sheet._contained{max-height:92%}.ui-bottom-sheet._contained._half{height:50%}.ui-bottom-sheet._contained._full{height:100%;max-height:100%}.ui-bottom-sheet._contained._dragging{max-height:100%}.ui-bottom-sheet._safe-area{padding-bottom:var(--ui-bottom-sheet-safe-area-offset, env(safe-area-inset-bottom, 0px))}.ui-bottom-sheet-grab{flex:0 0 auto;display:flex;flex-direction:column;padding:var(--ui-bottom-sheet-grab-padding-y, var(--units-sm)) var(--ui-bottom-sheet-grab-padding-x, var(--units-md))}.ui-bottom-sheet-grab._draggable{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.ui-bottom-sheet-grab._draggable:active{cursor:grabbing}.ui-bottom-sheet-handle{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-bottom-sheet-handle-width, 3.375rem);height:var(--ui-bottom-sheet-handle-height, .25rem);margin-inline:auto;padding:0;border:none;border-radius:var(--ui-bottom-sheet-handle-radius, var(--radius-full));background:none}.ui-bottom-sheet-handle:after{content:\"\";display:block;width:var(--ui-bottom-sheet-handle-width, 3.375rem);height:var(--ui-bottom-sheet-handle-height, .25rem);border-radius:var(--ui-bottom-sheet-handle-radius, var(--radius-full));background-color:var(--ui-bottom-sheet-handle-color, var(--global-text-default))}.ui-bottom-sheet-handle._operable{width:var(--ui-bottom-sheet-handle-target-width, 4rem);height:var(--ui-bottom-sheet-handle-target-height, 1.5rem)}.ui-bottom-sheet-handle._operable:focus-visible{outline:none;box-shadow:0 0 0 var(--ui-bottom-sheet-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-sheet-handle-focus-ring-color, var(--global-border-focus))}.ui-bottom-sheet-header{flex:0 0 auto;display:flex;align-items:var(--ui-bottom-sheet-header-align, flex-start);gap:var(--ui-bottom-sheet-header-gap, var(--units-sm));padding-top:var(--ui-bottom-sheet-grab-padding-y, var(--units-sm))}.ui-bottom-sheet-grab>.ui-bottom-sheet-header:first-child{padding-top:0}.ui-bottom-sheet-title{flex:1 1 auto;min-width:0;margin:0;font-family:var(--ui-bottom-sheet-title-font-family, var(--fontfamily-title));font-size:var(--size-typography-title-sm);font-weight:var(--ui-bottom-sheet-weight, var(--weight-bold));line-height:1.3;overflow-wrap:break-word}.ui-bottom-sheet-action{flex:0 0 auto;display:inline-flex;align-items:center;align-self:var(--ui-bottom-sheet-action-align, auto);justify-content:center;box-sizing:border-box;width:var(--ui-bottom-sheet-action-size, 2rem);height:var(--ui-bottom-sheet-action-size, 2rem);padding:0;border:none;border-radius:var(--radius-xs);background:transparent;color:inherit;line-height:0;cursor:pointer;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-bottom-sheet-action:hover{background-color:var(--ui-bottom-sheet-close-surface-hover, var(--global-background-muted-hover));color:var(--ui-bottom-sheet-close-color-hover, var(--global-text-muted-hover))}.ui-bottom-sheet-action:focus-visible{outline:none;box-shadow:0 0 0 var(--ui-bottom-sheet-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-sheet-close-focus-ring-color, var(--global-border-focus))}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-action{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-action{transition-duration:.01ms}.ui-bottom-sheet-content{flex:1 1 auto;min-height:0;padding:var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding-bottom, var(--units-lg));overflow-y:auto;overscroll-behavior:contain;font-size:var(--size-typography-text-md);line-height:1.5}.ui-bottom-sheet-footer{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--ui-bottom-sheet-footer-gap, var(--units-default));padding:var(--ui-bottom-sheet-footer-padding-top, var(--units-sm)) var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding-bottom, var(--units-lg));border-top:var(--ui-bottom-sheet-footer-stroke-width, var(--stroke-sm)) solid var(--ui-bottom-sheet-footer-stroke, transparent)}\n"], dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
588
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheet, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
589
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiBottomSheet, isStandalone: true, selector: "ui-bottom-sheet", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: true, isRequired: false, transformFunction: null }, closeOnOverlayClick: { classPropertyName: "closeOnOverlayClick", publicName: "closeOnOverlayClick", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, blockScroll: { classPropertyName: "blockScroll", publicName: "blockScroll", isSignal: true, isRequired: false, transformFunction: null }, enableDragToClose: { classPropertyName: "enableDragToClose", publicName: "enableDragToClose", isSignal: true, isRequired: false, transformFunction: null }, dragThreshold: { classPropertyName: "dragThreshold", publicName: "dragThreshold", isSignal: true, isRequired: false, transformFunction: null }, enableSnapping: { classPropertyName: "enableSnapping", publicName: "enableSnapping", isSignal: true, isRequired: false, transformFunction: null }, showHandle: { classPropertyName: "showHandle", publicName: "showHandle", isSignal: true, isRequired: false, transformFunction: null }, trapFocus: { classPropertyName: "trapFocus", publicName: "trapFocus", isSignal: true, isRequired: false, transformFunction: null }, focusOnShow: { classPropertyName: "focusOnShow", publicName: "focusOnShow", isSignal: true, isRequired: false, transformFunction: null }, autoFocusElement: { classPropertyName: "autoFocusElement", publicName: "autoFocusElement", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, handleAriaLabel: { classPropertyName: "handleAriaLabel", publicName: "handleAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, safeArea: { classPropertyName: "safeArea", publicName: "safeArea", isSignal: true, isRequired: false, transformFunction: null }, contained: { classPropertyName: "contained", publicName: "contained", isSignal: true, isRequired: false, transformFunction: null }, motionDisabled: { classPropertyName: "motionDisabled", publicName: "motionDisabled", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", opened: "opened", closed: "closed" }, queries: [{ propertyName: "headerSlot", first: true, predicate: UiBottomSheetHeader, descendants: true, isSignal: true }, { propertyName: "contentSlot", first: true, predicate: UiBottomSheetContent, descendants: true, isSignal: true }, { propertyName: "footerSlot", first: true, predicate: UiBottomSheetFooter, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "positionerRef", first: true, predicate: ["positioner"], descendants: true, isSignal: true }, { propertyName: "panelRef", first: true, predicate: ["panel"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (mounted()) {\n <!-- Backdrop and positioner are siblings so the sheet can slide over a static\n scrim, and a click beside the sheet lands on the scrim (dismiss). -->\n @if (hasBackdrop()) {\n <div\n class=\"ui-bottom-sheet-scrim\"\n [class._open]=\"atRest()\"\n [class._contained]=\"contained()\"\n [class._no-motion]=\"motionDisabled()\"\n [style.z-index]=\"zIndex()\"\n (pointerdown)=\"onScrimPointerDown($event)\"\n ></div>\n }\n\n <!-- Dialog: Escape/Tab handled on the container, focus lives inside\n (CDK focus-trap). The positioner carries the slide transform. -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -->\n <div\n #positioner\n class=\"ui-bottom-sheet-positioner\"\n [class._contained]=\"contained()\"\n [class._dragging]=\"dragging()\"\n [class._no-motion]=\"motionDisabled()\"\n [style.z-index]=\"zIndex()\"\n [style.transform]=\"panelTransform()\"\n (transitionend)=\"onTransitionEnd($event)\"\n (keydown)=\"onKeydown($event)\"\n >\n <div\n #panel\n [class]=\"panelClasses()\"\n [attr.role]=\"role()\"\n [attr.aria-modal]=\"hasBackdrop() ? 'true' : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n [style.height]=\"inlineHeight()\"\n tabindex=\"-1\"\n [cdkTrapFocus]=\"trapFocus()\"\n [cdkTrapFocusAutoCapture]=\"focusOnShow()\"\n >\n <!-- Grab zone: handle + header. The body is left out so it keeps its\n native scroll. -->\n @if (showHandle() || hasHeaderRegion()) {\n <div\n class=\"ui-bottom-sheet-grab\"\n [class._draggable]=\"dragEnabled()\"\n (pointerdown)=\"onDragPointerDown($event)\"\n (pointermove)=\"onDragPointerMove($event)\"\n (pointerup)=\"onDragPointerUp($event)\"\n (pointercancel)=\"onDragPointerUp($event)\"\n >\n @if (showHandle()) {\n @if (canSnap()) {\n <button\n type=\"button\"\n class=\"ui-bottom-sheet-handle _operable\"\n [attr.aria-label]=\"handleAriaLabel()\"\n [attr.aria-expanded]=\"snapped()\"\n (keydown)=\"onHandleKeydown($event)\"\n ></button>\n } @else {\n <div class=\"ui-bottom-sheet-handle\" aria-hidden=\"true\"></div>\n }\n }\n\n @if (hasHeaderRegion()) {\n <div class=\"ui-bottom-sheet-header\">\n @if (hasTitle()) {\n <div [attr.id]=\"titleId\" class=\"ui-bottom-sheet-title\">\n @if (showHeaderString()) {\n {{ header() }}\n }\n <ng-content select=\"[uiBottomSheetHeader], [ui-bottom-sheet-header]\" />\n </div>\n }\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-bottom-sheet-action\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"close()\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n </div>\n }\n </div>\n }\n\n <!-- Body: scrolls natively, scroll chaining kept inside the sheet.\n `tabindex` is what makes that scroll reachable at the keyboard when the\n body holds no focusable element of its own (WCAG 2.1.1). -->\n <div class=\"ui-bottom-sheet-content\" tabindex=\"0\">\n <ng-content select=\"[uiBottomSheetContent], [ui-bottom-sheet-content]\" />\n <ng-content />\n </div>\n\n @if (footerSlot()) {\n <div class=\"ui-bottom-sheet-footer\">\n <ng-content select=\"[uiBottomSheetFooter], [ui-bottom-sheet-footer]\" />\n </div>\n }\n </div>\n </div>\n}\n", styles: [".ui-bottom-sheet-scrim{position:fixed;inset:0;z-index:var(--ui-bottom-sheet-z-index, 1100);background-color:var(--ui-bottom-sheet-mask-background, var(--primitives-black-50));opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet-scrim._open{opacity:1}.ui-bottom-sheet-scrim._contained{position:absolute}.ui-bottom-sheet-scrim._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-scrim{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-scrim{transition-duration:.01ms}.ui-bottom-sheet-positioner{position:fixed;inset-inline:0;inset-block-end:0;z-index:var(--ui-bottom-sheet-z-index, 1100);display:flex;justify-content:center;transition:transform var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet-positioner._contained{position:absolute}.ui-bottom-sheet-positioner._dragging,.ui-bottom-sheet-positioner._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-positioner{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-positioner{transition-duration:.01ms}.ui-bottom-sheet{box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-width:var(--ui-bottom-sheet-max-width, 90rem);max-height:var(--ui-bottom-sheet-max-height, 92dvh);border-radius:var(--ui-bottom-sheet-radius, var(--radius-default)) var(--ui-bottom-sheet-radius, var(--radius-default)) 0 0;background-color:var(--ui-bottom-sheet-surface, var(--global-background-default));box-shadow:var(--ui-bottom-sheet-shadow, var(--shadow-default-lg));color:var(--ui-bottom-sheet-color, var(--global-text-default));font-family:var(--ui-bottom-sheet-font-family, var(--fontfamily-base));overflow:hidden;outline:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:height var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet._half{height:var(--ui-bottom-sheet-half-height, 50dvh)}.ui-bottom-sheet._full{height:var(--ui-bottom-sheet-full-height, 100dvh);max-height:var(--ui-bottom-sheet-full-height, 100dvh)}.ui-bottom-sheet._dragging{max-height:var(--ui-bottom-sheet-full-height, 100dvh)}.ui-bottom-sheet._dragging,.ui-bottom-sheet._no-motion{transition:none}.ui-bottom-sheet._contained{max-height:92%}.ui-bottom-sheet._contained._half{height:50%}.ui-bottom-sheet._contained._full{height:100%;max-height:100%}.ui-bottom-sheet._contained._dragging{max-height:100%}.ui-bottom-sheet._safe-area{padding-bottom:var(--ui-bottom-sheet-safe-area-offset, env(safe-area-inset-bottom, 0px))}.ui-bottom-sheet-grab{flex:0 0 auto;display:flex;flex-direction:column;padding:var(--ui-bottom-sheet-grab-padding-y, var(--units-sm)) var(--ui-bottom-sheet-grab-padding-x, var(--units-md))}.ui-bottom-sheet-grab._draggable{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.ui-bottom-sheet-grab._draggable:active{cursor:grabbing}.ui-bottom-sheet-handle{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-bottom-sheet-handle-width, 3.375rem);height:var(--ui-bottom-sheet-handle-height, .25rem);margin-inline:auto;padding:0;border:none;border-radius:var(--ui-bottom-sheet-handle-radius, var(--radius-full));background:none}.ui-bottom-sheet-handle:after{content:\"\";display:block;width:var(--ui-bottom-sheet-handle-width, 3.375rem);height:var(--ui-bottom-sheet-handle-height, .25rem);border-radius:var(--ui-bottom-sheet-handle-radius, var(--radius-full));background-color:var(--ui-bottom-sheet-handle-color, var(--global-text-default))}.ui-bottom-sheet-handle._operable{width:var(--ui-bottom-sheet-handle-target-width, 4rem);height:var(--ui-bottom-sheet-handle-target-height, 1.5rem)}.ui-bottom-sheet-handle._operable:focus-visible{outline:none;box-shadow:0 0 0 var(--ui-bottom-sheet-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-sheet-handle-focus-ring-color, var(--global-border-focus))}.ui-bottom-sheet-header{flex:0 0 auto;display:flex;align-items:var(--ui-bottom-sheet-header-align, flex-start);gap:var(--ui-bottom-sheet-header-gap, var(--units-sm));padding-top:var(--ui-bottom-sheet-grab-padding-y, var(--units-sm))}.ui-bottom-sheet-grab>.ui-bottom-sheet-header:first-child{padding-top:0}.ui-bottom-sheet-title{flex:1 1 auto;min-width:0;margin:0;font-family:var(--ui-bottom-sheet-title-font-family, var(--fontfamily-title));font-size:var(--size-typography-title-sm);font-weight:var(--ui-bottom-sheet-weight, var(--weight-bold));line-height:1.3;overflow-wrap:break-word}.ui-bottom-sheet-action{flex:0 0 auto;display:inline-flex;align-items:center;align-self:var(--ui-bottom-sheet-action-align, auto);justify-content:center;box-sizing:border-box;width:var(--ui-bottom-sheet-action-size, 2rem);height:var(--ui-bottom-sheet-action-size, 2rem);padding:0;border:none;border-radius:var(--radius-xs);background:transparent;color:inherit;line-height:0;cursor:pointer;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-bottom-sheet-action:hover{background-color:var(--ui-bottom-sheet-close-surface-hover, var(--global-background-muted-hover));color:var(--ui-bottom-sheet-close-color-hover, var(--global-text-muted-hover))}.ui-bottom-sheet-action:focus-visible{outline:none;box-shadow:0 0 0 var(--ui-bottom-sheet-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-sheet-close-focus-ring-color, var(--global-border-focus))}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-action{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-action{transition-duration:.01ms}.ui-bottom-sheet-content{flex:1 1 auto;min-height:0;padding:var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding-bottom, var(--units-lg));overflow-y:auto;overscroll-behavior:contain;font-size:var(--size-typography-text-md);line-height:1.5}.ui-bottom-sheet-footer{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--ui-bottom-sheet-footer-gap, var(--units-default));padding:var(--ui-bottom-sheet-footer-padding-top, var(--units-sm)) var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding-bottom, var(--units-lg));border-top:var(--ui-bottom-sheet-footer-stroke-width, var(--stroke-sm)) solid var(--ui-bottom-sheet-footer-stroke, transparent)}\n"], dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
590
590
  }
591
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiBottomSheet, decorators: [{
591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiBottomSheet, decorators: [{
592
592
  type: Component,
593
593
  args: [{ selector: 'ui-bottom-sheet', imports: [A11yModule, UiIcon], template: "@if (mounted()) {\n <!-- Backdrop and positioner are siblings so the sheet can slide over a static\n scrim, and a click beside the sheet lands on the scrim (dismiss). -->\n @if (hasBackdrop()) {\n <div\n class=\"ui-bottom-sheet-scrim\"\n [class._open]=\"atRest()\"\n [class._contained]=\"contained()\"\n [class._no-motion]=\"motionDisabled()\"\n [style.z-index]=\"zIndex()\"\n (pointerdown)=\"onScrimPointerDown($event)\"\n ></div>\n }\n\n <!-- Dialog: Escape/Tab handled on the container, focus lives inside\n (CDK focus-trap). The positioner carries the slide transform. -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -->\n <div\n #positioner\n class=\"ui-bottom-sheet-positioner\"\n [class._contained]=\"contained()\"\n [class._dragging]=\"dragging()\"\n [class._no-motion]=\"motionDisabled()\"\n [style.z-index]=\"zIndex()\"\n [style.transform]=\"panelTransform()\"\n (transitionend)=\"onTransitionEnd($event)\"\n (keydown)=\"onKeydown($event)\"\n >\n <div\n #panel\n [class]=\"panelClasses()\"\n [attr.role]=\"role()\"\n [attr.aria-modal]=\"hasBackdrop() ? 'true' : null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n [style.height]=\"inlineHeight()\"\n tabindex=\"-1\"\n [cdkTrapFocus]=\"trapFocus()\"\n [cdkTrapFocusAutoCapture]=\"focusOnShow()\"\n >\n <!-- Grab zone: handle + header. The body is left out so it keeps its\n native scroll. -->\n @if (showHandle() || hasHeaderRegion()) {\n <div\n class=\"ui-bottom-sheet-grab\"\n [class._draggable]=\"dragEnabled()\"\n (pointerdown)=\"onDragPointerDown($event)\"\n (pointermove)=\"onDragPointerMove($event)\"\n (pointerup)=\"onDragPointerUp($event)\"\n (pointercancel)=\"onDragPointerUp($event)\"\n >\n @if (showHandle()) {\n @if (canSnap()) {\n <button\n type=\"button\"\n class=\"ui-bottom-sheet-handle _operable\"\n [attr.aria-label]=\"handleAriaLabel()\"\n [attr.aria-expanded]=\"snapped()\"\n (keydown)=\"onHandleKeydown($event)\"\n ></button>\n } @else {\n <div class=\"ui-bottom-sheet-handle\" aria-hidden=\"true\"></div>\n }\n }\n\n @if (hasHeaderRegion()) {\n <div class=\"ui-bottom-sheet-header\">\n @if (hasTitle()) {\n <div [attr.id]=\"titleId\" class=\"ui-bottom-sheet-title\">\n @if (showHeaderString()) {\n {{ header() }}\n }\n <ng-content select=\"[uiBottomSheetHeader], [ui-bottom-sheet-header]\" />\n </div>\n }\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-bottom-sheet-action\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"close()\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n </div>\n }\n </div>\n }\n\n <!-- Body: scrolls natively, scroll chaining kept inside the sheet.\n `tabindex` is what makes that scroll reachable at the keyboard when the\n body holds no focusable element of its own (WCAG 2.1.1). -->\n <div class=\"ui-bottom-sheet-content\" tabindex=\"0\">\n <ng-content select=\"[uiBottomSheetContent], [ui-bottom-sheet-content]\" />\n <ng-content />\n </div>\n\n @if (footerSlot()) {\n <div class=\"ui-bottom-sheet-footer\">\n <ng-content select=\"[uiBottomSheetFooter], [ui-bottom-sheet-footer]\" />\n </div>\n }\n </div>\n </div>\n}\n", styles: [".ui-bottom-sheet-scrim{position:fixed;inset:0;z-index:var(--ui-bottom-sheet-z-index, 1100);background-color:var(--ui-bottom-sheet-mask-background, var(--primitives-black-50));opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet-scrim._open{opacity:1}.ui-bottom-sheet-scrim._contained{position:absolute}.ui-bottom-sheet-scrim._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-scrim{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-scrim{transition-duration:.01ms}.ui-bottom-sheet-positioner{position:fixed;inset-inline:0;inset-block-end:0;z-index:var(--ui-bottom-sheet-z-index, 1100);display:flex;justify-content:center;transition:transform var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet-positioner._contained{position:absolute}.ui-bottom-sheet-positioner._dragging,.ui-bottom-sheet-positioner._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-positioner{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-positioner{transition-duration:.01ms}.ui-bottom-sheet{box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-width:var(--ui-bottom-sheet-max-width, 90rem);max-height:var(--ui-bottom-sheet-max-height, 92dvh);border-radius:var(--ui-bottom-sheet-radius, var(--radius-default)) var(--ui-bottom-sheet-radius, var(--radius-default)) 0 0;background-color:var(--ui-bottom-sheet-surface, var(--global-background-default));box-shadow:var(--ui-bottom-sheet-shadow, var(--shadow-default-lg));color:var(--ui-bottom-sheet-color, var(--global-text-default));font-family:var(--ui-bottom-sheet-font-family, var(--fontfamily-base));overflow:hidden;outline:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:height var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-bottom-sheet._half{height:var(--ui-bottom-sheet-half-height, 50dvh)}.ui-bottom-sheet._full{height:var(--ui-bottom-sheet-full-height, 100dvh);max-height:var(--ui-bottom-sheet-full-height, 100dvh)}.ui-bottom-sheet._dragging{max-height:var(--ui-bottom-sheet-full-height, 100dvh)}.ui-bottom-sheet._dragging,.ui-bottom-sheet._no-motion{transition:none}.ui-bottom-sheet._contained{max-height:92%}.ui-bottom-sheet._contained._half{height:50%}.ui-bottom-sheet._contained._full{height:100%;max-height:100%}.ui-bottom-sheet._contained._dragging{max-height:100%}.ui-bottom-sheet._safe-area{padding-bottom:var(--ui-bottom-sheet-safe-area-offset, env(safe-area-inset-bottom, 0px))}.ui-bottom-sheet-grab{flex:0 0 auto;display:flex;flex-direction:column;padding:var(--ui-bottom-sheet-grab-padding-y, var(--units-sm)) var(--ui-bottom-sheet-grab-padding-x, var(--units-md))}.ui-bottom-sheet-grab._draggable{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.ui-bottom-sheet-grab._draggable:active{cursor:grabbing}.ui-bottom-sheet-handle{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-bottom-sheet-handle-width, 3.375rem);height:var(--ui-bottom-sheet-handle-height, .25rem);margin-inline:auto;padding:0;border:none;border-radius:var(--ui-bottom-sheet-handle-radius, var(--radius-full));background:none}.ui-bottom-sheet-handle:after{content:\"\";display:block;width:var(--ui-bottom-sheet-handle-width, 3.375rem);height:var(--ui-bottom-sheet-handle-height, .25rem);border-radius:var(--ui-bottom-sheet-handle-radius, var(--radius-full));background-color:var(--ui-bottom-sheet-handle-color, var(--global-text-default))}.ui-bottom-sheet-handle._operable{width:var(--ui-bottom-sheet-handle-target-width, 4rem);height:var(--ui-bottom-sheet-handle-target-height, 1.5rem)}.ui-bottom-sheet-handle._operable:focus-visible{outline:none;box-shadow:0 0 0 var(--ui-bottom-sheet-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-sheet-handle-focus-ring-color, var(--global-border-focus))}.ui-bottom-sheet-header{flex:0 0 auto;display:flex;align-items:var(--ui-bottom-sheet-header-align, flex-start);gap:var(--ui-bottom-sheet-header-gap, var(--units-sm));padding-top:var(--ui-bottom-sheet-grab-padding-y, var(--units-sm))}.ui-bottom-sheet-grab>.ui-bottom-sheet-header:first-child{padding-top:0}.ui-bottom-sheet-title{flex:1 1 auto;min-width:0;margin:0;font-family:var(--ui-bottom-sheet-title-font-family, var(--fontfamily-title));font-size:var(--size-typography-title-sm);font-weight:var(--ui-bottom-sheet-weight, var(--weight-bold));line-height:1.3;overflow-wrap:break-word}.ui-bottom-sheet-action{flex:0 0 auto;display:inline-flex;align-items:center;align-self:var(--ui-bottom-sheet-action-align, auto);justify-content:center;box-sizing:border-box;width:var(--ui-bottom-sheet-action-size, 2rem);height:var(--ui-bottom-sheet-action-size, 2rem);padding:0;border:none;border-radius:var(--radius-xs);background:transparent;color:inherit;line-height:0;cursor:pointer;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-bottom-sheet-action:hover{background-color:var(--ui-bottom-sheet-close-surface-hover, var(--global-background-muted-hover));color:var(--ui-bottom-sheet-close-color-hover, var(--global-text-muted-hover))}.ui-bottom-sheet-action:focus-visible{outline:none;box-shadow:0 0 0 var(--ui-bottom-sheet-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-sheet-close-focus-ring-color, var(--global-border-focus))}@media(prefers-reduced-motion:reduce){.ui-bottom-sheet-action{transition-duration:.01ms}}:root[data-motion=off] .ui-bottom-sheet-action{transition-duration:.01ms}.ui-bottom-sheet-content{flex:1 1 auto;min-height:0;padding:var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding-bottom, var(--units-lg));overflow-y:auto;overscroll-behavior:contain;font-size:var(--size-typography-text-md);line-height:1.5}.ui-bottom-sheet-footer{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--ui-bottom-sheet-footer-gap, var(--units-default));padding:var(--ui-bottom-sheet-footer-padding-top, var(--units-sm)) var(--ui-bottom-sheet-padding, var(--units-default)) var(--ui-bottom-sheet-padding-bottom, var(--units-lg));border-top:var(--ui-bottom-sheet-footer-stroke-width, var(--stroke-sm)) solid var(--ui-bottom-sheet-footer-stroke, transparent)}\n"] }]
594
594
  }], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], hasBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasBackdrop", required: false }] }], closeOnOverlayClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnOverlayClick", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], blockScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "blockScroll", required: false }] }], enableDragToClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableDragToClose", required: false }] }], dragThreshold: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragThreshold", required: false }] }], enableSnapping: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableSnapping", required: false }] }], showHandle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showHandle", required: false }] }], trapFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "trapFocus", required: false }] }], focusOnShow: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusOnShow", required: false }] }], autoFocusElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocusElement", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], closeIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeIcon", required: false }] }], closeAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeAriaLabel", required: false }] }], handleAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "handleAriaLabel", required: false }] }], role: [{ type: i0.Input, args: [{ isSignal: true, alias: "role", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], safeArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "safeArea", required: false }] }], contained: [{ type: i0.Input, args: [{ isSignal: true, alias: "contained", required: false }] }], motionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionDisabled", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], autoZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZIndex", required: false }] }], baseZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseZIndex", required: false }] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }], headerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiBottomSheetHeader), { isSignal: true }] }], contentSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiBottomSheetContent), { isSignal: true }] }], footerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiBottomSheetFooter), { isSignal: true }] }], positionerRef: [{ type: i0.ViewChild, args: ['positioner', { isSignal: true }] }], panelRef: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }] } });