@edsis/angular 22.2.17 → 22.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/README.md +8 -4
  2. package/SUPPORT.md +23 -9
  3. package/chart/README.md +1 -1
  4. package/component/README.md +1 -1
  5. package/component/composer/README.md +3 -0
  6. package/component/editor/README.md +3 -0
  7. package/fesm2022/edsis-angular-chart-area.mjs +3 -3
  8. package/fesm2022/edsis-angular-chart-bar.mjs +3 -3
  9. package/fesm2022/edsis-angular-chart-core.mjs +33 -33
  10. package/fesm2022/edsis-angular-chart-line.mjs +3 -3
  11. package/fesm2022/edsis-angular-chart-pie.mjs +3 -3
  12. package/fesm2022/edsis-angular-chart-primitives.mjs +33 -33
  13. package/fesm2022/edsis-angular-chart-radar.mjs +3 -3
  14. package/fesm2022/edsis-angular-chart-radial.mjs +3 -3
  15. package/fesm2022/edsis-angular-chart-scatter.mjs +3 -3
  16. package/fesm2022/edsis-angular-component-accordion.mjs +15 -15
  17. package/fesm2022/edsis-angular-component-alert-dialog.mjs +27 -27
  18. package/fesm2022/edsis-angular-component-alert.mjs +12 -12
  19. package/fesm2022/edsis-angular-component-aspect-ratio.mjs +3 -3
  20. package/fesm2022/edsis-angular-component-avatar.mjs +18 -18
  21. package/fesm2022/edsis-angular-component-badge.mjs +3 -3
  22. package/fesm2022/edsis-angular-component-breadcrumb.mjs +21 -21
  23. package/fesm2022/edsis-angular-component-button-group.mjs +9 -9
  24. package/fesm2022/edsis-angular-component-button.mjs +3 -3
  25. package/fesm2022/edsis-angular-component-calendar.mjs +3 -3
  26. package/fesm2022/edsis-angular-component-card.mjs +21 -21
  27. package/fesm2022/edsis-angular-component-carousel.mjs +18 -18
  28. package/fesm2022/edsis-angular-component-checkbox.mjs +3 -3
  29. package/fesm2022/edsis-angular-component-collapsible.mjs +12 -12
  30. package/fesm2022/edsis-angular-component-combobox.mjs +3 -3
  31. package/fesm2022/edsis-angular-component-command.mjs +27 -27
  32. package/fesm2022/edsis-angular-component-composer.mjs +89 -40
  33. package/fesm2022/edsis-angular-component-context-menu.mjs +3 -3
  34. package/fesm2022/edsis-angular-component-date-picker.mjs +3 -3
  35. package/fesm2022/edsis-angular-component-dialog.mjs +21 -21
  36. package/fesm2022/edsis-angular-component-dropdown-menu.mjs +39 -39
  37. package/fesm2022/edsis-angular-component-editor.mjs +86 -30
  38. package/fesm2022/edsis-angular-component-empty.mjs +18 -18
  39. package/fesm2022/edsis-angular-component-form.mjs +36 -36
  40. package/fesm2022/edsis-angular-component-hover-card.mjs +9 -9
  41. package/fesm2022/edsis-angular-component-icon.mjs +6 -6
  42. package/fesm2022/edsis-angular-component-input-group.mjs +18 -18
  43. package/fesm2022/edsis-angular-component-input-otp.mjs +15 -15
  44. package/fesm2022/edsis-angular-component-input.mjs +3 -3
  45. package/fesm2022/edsis-angular-component-item.mjs +30 -30
  46. package/fesm2022/edsis-angular-component-kanban.mjs +27 -27
  47. package/fesm2022/edsis-angular-component-kbd.mjs +6 -6
  48. package/fesm2022/edsis-angular-component-label.mjs +3 -3
  49. package/fesm2022/edsis-angular-component-menubar.mjs +12 -12
  50. package/fesm2022/edsis-angular-component-native-select.mjs +9 -9
  51. package/fesm2022/edsis-angular-component-navigation-menu.mjs +21 -21
  52. package/fesm2022/edsis-angular-component-pagination.mjs +3 -3
  53. package/fesm2022/edsis-angular-component-pillbox.mjs +15 -15
  54. package/fesm2022/edsis-angular-component-popover.mjs +6 -6
  55. package/fesm2022/edsis-angular-component-progress.mjs +3 -3
  56. package/fesm2022/edsis-angular-component-radio.mjs +6 -6
  57. package/fesm2022/edsis-angular-component-resizable.mjs +12 -12
  58. package/fesm2022/edsis-angular-component-scroll-area.mjs +3 -3
  59. package/fesm2022/edsis-angular-component-segmented-control.mjs +3 -3
  60. package/fesm2022/edsis-angular-component-select.mjs +6 -6
  61. package/fesm2022/edsis-angular-component-separator.mjs +3 -3
  62. package/fesm2022/edsis-angular-component-sheet.mjs +21 -21
  63. package/fesm2022/edsis-angular-component-skeleton.mjs +3 -3
  64. package/fesm2022/edsis-angular-component-slider.mjs +6 -6
  65. package/fesm2022/edsis-angular-component-spinner.mjs +3 -3
  66. package/fesm2022/edsis-angular-component-switch.mjs +3 -3
  67. package/fesm2022/edsis-angular-component-table.mjs +24 -24
  68. package/fesm2022/edsis-angular-component-tabs.mjs +18 -18
  69. package/fesm2022/edsis-angular-component-textarea.mjs +3 -3
  70. package/fesm2022/edsis-angular-component-timeline.mjs +18 -18
  71. package/fesm2022/edsis-angular-component-toast.mjs +3 -3
  72. package/fesm2022/edsis-angular-component-toggle-group.mjs +9 -9
  73. package/fesm2022/edsis-angular-component-toggle.mjs +3 -3
  74. package/fesm2022/edsis-angular-component-tooltip.mjs +15 -15
  75. package/fesm2022/edsis-angular-component-utils-core.mjs +7 -1
  76. package/fesm2022/edsis-angular-component-utils-scale.mjs +3 -3
  77. package/fesm2022/edsis-angular-navigation-icon.mjs +3 -3
  78. package/fesm2022/{edsis-angular-navigation-navigation-badge-count.component-lHrJyEdh.mjs → edsis-angular-navigation-navigation-badge-count.component-VP5RtdYf.mjs} +3 -3
  79. package/fesm2022/{edsis-angular-navigation-navigation-dockbar-menu.component-BzrCl-F7.mjs → edsis-angular-navigation-navigation-dockbar-menu.component-iqhj7Ky4.mjs} +6 -6
  80. package/fesm2022/{edsis-angular-navigation-navigation-entry-grid.component-CSqoookZ.mjs → edsis-angular-navigation-navigation-entry-grid.component-D6PJHslI.mjs} +7 -4
  81. package/fesm2022/{edsis-angular-navigation-navigation-flyout-menu.component-DVrwb851.mjs → edsis-angular-navigation-navigation-flyout-menu.component-C1vop_Yv.mjs} +5 -5
  82. package/fesm2022/{edsis-angular-navigation-navigation-horizontal.component-Dgwp5Ti1.mjs → edsis-angular-navigation-navigation-horizontal.component-B9LbsNoZ.mjs} +6 -6
  83. package/fesm2022/{edsis-angular-navigation-navigation-item.component-ByWQIgH4.mjs → edsis-angular-navigation-navigation-item.component-DLmfoIYR.mjs} +13 -10
  84. package/fesm2022/{edsis-angular-navigation-navigation-list.component-bdr5gai8.mjs → edsis-angular-navigation-navigation-list.component-BYQcQql1.mjs} +4 -4
  85. package/fesm2022/edsis-angular-navigation-service.mjs +3 -3
  86. package/fesm2022/edsis-angular-navigation.mjs +62 -62
  87. package/fesm2022/edsis-angular-theme-component-settings.mjs +18 -18
  88. package/fesm2022/edsis-angular-theme-layout-services.mjs +6 -6
  89. package/fesm2022/edsis-angular-theme-layout-wrapper.mjs +30 -30
  90. package/fesm2022/edsis-angular-theme-layout.mjs +24 -24
  91. package/fesm2022/edsis-angular-theme-on-fill.mjs +3 -3
  92. package/fesm2022/edsis-angular-theme-page-core.mjs +163 -95
  93. package/fesm2022/edsis-angular-theme-page-filter.mjs +15 -23
  94. package/fesm2022/edsis-angular-theme-page-overview.mjs +3 -3
  95. package/fesm2022/edsis-angular-theme-page-root.mjs +17 -9
  96. package/fesm2022/edsis-angular-theme-page-side.mjs +16 -24
  97. package/fesm2022/edsis-angular-theme-page-slots.mjs +12 -12
  98. package/fesm2022/edsis-angular-theme-shell-services.mjs +3 -3
  99. package/fesm2022/edsis-angular-theme-shell.mjs +9 -9
  100. package/fesm2022/edsis-angular-theme-styles.mjs +19 -19
  101. package/navigation/README.md +2 -1
  102. package/package.json +10 -10
  103. package/sdk/README.md +4 -0
  104. package/sdk/schematics/ng-add/index.js +36 -5
  105. package/sdk/src/parser/ir.js +4 -3
  106. package/sdk/src/writer/index.js +3 -3
  107. package/theme/README.md +1 -1
  108. package/theme/page/README.md +5 -3
  109. package/types/edsis-angular-chart-area.d.ts +3 -0
  110. package/types/edsis-angular-chart-bar.d.ts +3 -0
  111. package/types/edsis-angular-chart-core.d.ts +3 -0
  112. package/types/edsis-angular-chart-line.d.ts +3 -0
  113. package/types/edsis-angular-chart-pie.d.ts +3 -0
  114. package/types/edsis-angular-chart-primitives.d.ts +3 -0
  115. package/types/edsis-angular-chart-radar.d.ts +3 -0
  116. package/types/edsis-angular-chart-radial.d.ts +3 -0
  117. package/types/edsis-angular-chart-scatter.d.ts +3 -0
  118. package/types/edsis-angular-chart.d.ts +3 -0
  119. package/types/edsis-angular-component-accordion.d.ts +3 -0
  120. package/types/edsis-angular-component-alert-dialog.d.ts +3 -0
  121. package/types/edsis-angular-component-alert.d.ts +3 -0
  122. package/types/edsis-angular-component-aspect-ratio.d.ts +3 -0
  123. package/types/edsis-angular-component-avatar.d.ts +3 -0
  124. package/types/edsis-angular-component-badge.d.ts +3 -0
  125. package/types/edsis-angular-component-breadcrumb.d.ts +3 -0
  126. package/types/edsis-angular-component-button-group.d.ts +3 -0
  127. package/types/edsis-angular-component-button.d.ts +3 -0
  128. package/types/edsis-angular-component-calendar.d.ts +3 -0
  129. package/types/edsis-angular-component-card.d.ts +3 -0
  130. package/types/edsis-angular-component-carousel.d.ts +3 -0
  131. package/types/edsis-angular-component-checkbox.d.ts +3 -0
  132. package/types/edsis-angular-component-collapsible.d.ts +3 -0
  133. package/types/edsis-angular-component-combobox.d.ts +3 -0
  134. package/types/edsis-angular-component-command.d.ts +3 -0
  135. package/types/edsis-angular-component-composer.d.ts +8 -1
  136. package/types/edsis-angular-component-context-menu.d.ts +3 -0
  137. package/types/edsis-angular-component-date-picker.d.ts +3 -0
  138. package/types/edsis-angular-component-dialog.d.ts +3 -0
  139. package/types/edsis-angular-component-drawer.d.ts +3 -0
  140. package/types/edsis-angular-component-dropdown-menu.d.ts +3 -0
  141. package/types/edsis-angular-component-editor.d.ts +7 -0
  142. package/types/edsis-angular-component-empty.d.ts +3 -0
  143. package/types/edsis-angular-component-form.d.ts +3 -0
  144. package/types/edsis-angular-component-hover-card.d.ts +3 -0
  145. package/types/edsis-angular-component-icon.d.ts +3 -0
  146. package/types/edsis-angular-component-input-group.d.ts +3 -0
  147. package/types/edsis-angular-component-input-otp.d.ts +3 -0
  148. package/types/edsis-angular-component-input.d.ts +3 -0
  149. package/types/edsis-angular-component-item.d.ts +3 -0
  150. package/types/edsis-angular-component-kanban.d.ts +3 -0
  151. package/types/edsis-angular-component-kbd.d.ts +3 -0
  152. package/types/edsis-angular-component-label.d.ts +3 -0
  153. package/types/edsis-angular-component-menubar.d.ts +3 -0
  154. package/types/edsis-angular-component-native-select.d.ts +3 -0
  155. package/types/edsis-angular-component-navigation-menu.d.ts +3 -0
  156. package/types/edsis-angular-component-pagination.d.ts +3 -0
  157. package/types/edsis-angular-component-pillbox.d.ts +3 -0
  158. package/types/edsis-angular-component-popover.d.ts +3 -0
  159. package/types/edsis-angular-component-progress.d.ts +3 -0
  160. package/types/edsis-angular-component-radio.d.ts +3 -0
  161. package/types/edsis-angular-component-resizable.d.ts +3 -0
  162. package/types/edsis-angular-component-scroll-area.d.ts +3 -0
  163. package/types/edsis-angular-component-segmented-control.d.ts +3 -0
  164. package/types/edsis-angular-component-select.d.ts +3 -0
  165. package/types/edsis-angular-component-separator.d.ts +3 -0
  166. package/types/edsis-angular-component-sheet.d.ts +3 -0
  167. package/types/edsis-angular-component-skeleton.d.ts +3 -0
  168. package/types/edsis-angular-component-slider.d.ts +3 -0
  169. package/types/edsis-angular-component-spinner.d.ts +3 -0
  170. package/types/edsis-angular-component-switch.d.ts +3 -0
  171. package/types/edsis-angular-component-table.d.ts +3 -0
  172. package/types/edsis-angular-component-tabs.d.ts +3 -0
  173. package/types/edsis-angular-component-textarea.d.ts +3 -0
  174. package/types/edsis-angular-component-timeline.d.ts +3 -0
  175. package/types/edsis-angular-component-toast.d.ts +3 -0
  176. package/types/edsis-angular-component-toggle-group.d.ts +3 -0
  177. package/types/edsis-angular-component-toggle.d.ts +3 -0
  178. package/types/edsis-angular-component-tooltip.d.ts +3 -0
  179. package/types/edsis-angular-component-utils-core.d.ts +3 -0
  180. package/types/edsis-angular-component-utils-overlay.d.ts +3 -0
  181. package/types/edsis-angular-component-utils-scale.d.ts +3 -0
  182. package/types/edsis-angular-component-utils.d.ts +3 -0
  183. package/types/edsis-angular-navigation-core.d.ts +3 -0
  184. package/types/edsis-angular-navigation-icon.d.ts +3 -0
  185. package/types/edsis-angular-navigation-service.d.ts +3 -0
  186. package/types/edsis-angular-navigation-types.d.ts +5 -0
  187. package/types/edsis-angular-navigation.d.ts +3 -0
  188. package/types/edsis-angular-sdk.d.ts +3 -0
  189. package/types/edsis-angular-theme-component-settings.d.ts +3 -0
  190. package/types/edsis-angular-theme-layout-services.d.ts +3 -0
  191. package/types/edsis-angular-theme-layout-types.d.ts +3 -0
  192. package/types/edsis-angular-theme-layout-wrapper.d.ts +3 -0
  193. package/types/edsis-angular-theme-layout.d.ts +3 -0
  194. package/types/edsis-angular-theme-on-fill.d.ts +3 -0
  195. package/types/edsis-angular-theme-page-core.d.ts +11 -9
  196. package/types/edsis-angular-theme-page-filter.d.ts +3 -0
  197. package/types/edsis-angular-theme-page-overview.d.ts +3 -0
  198. package/types/edsis-angular-theme-page-root.d.ts +4 -0
  199. package/types/edsis-angular-theme-page-side.d.ts +3 -0
  200. package/types/edsis-angular-theme-page-slots.d.ts +3 -0
  201. package/types/edsis-angular-theme-page.d.ts +3 -0
  202. package/types/edsis-angular-theme-shell-services.d.ts +3 -0
  203. package/types/edsis-angular-theme-shell-types.d.ts +3 -0
  204. package/types/edsis-angular-theme-shell.d.ts +3 -0
  205. package/types/edsis-angular-theme-styles.d.ts +3 -0
  206. package/types/edsis-angular.d.ts +3 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { Component, ElementRef, booleanAttribute, computed, forwardRef, inject, input, numberAttribute, output, signal } from "@angular/core";
2
+ import { Component, DestroyRef, ElementRef, afterRenderEffect, booleanAttribute, computed, forwardRef, inject, input, numberAttribute, output, signal } from "@angular/core";
3
3
  import { NG_VALUE_ACCESSOR } from "@angular/forms";
4
4
  import { cn } from "@edsis/angular/component/utils/core";
5
5
  const COMPOSER_BASE = "block w-full min-w-0 text-sm text-foreground";
@@ -55,7 +55,8 @@ var ComposerComponent = class ComposerComponent {
55
55
  ].join(" ")), ...ngDevMode ? [{ debugName: "bodyClasses" }] : /* istanbul ignore next */ []);
56
56
  handleInputKeydown(event) {
57
57
  if (this.disabled() || event.key !== "Enter" || event.defaultPrevented) return;
58
- if (!(this.submit() === "enter" ? !event.shiftKey && !event.isComposing : event.metaKey || event.ctrlKey)) return;
58
+ if (event.isComposing || event.keyCode === 229) return;
59
+ if (!(this.submit() === "enter" ? !event.shiftKey : event.metaKey || event.ctrlKey)) return;
59
60
  event.preventDefault();
60
61
  this.submitRequested.emit(event);
61
62
  if (this.submitForm()) this.requestNearestFormSubmit(event.target);
@@ -67,7 +68,7 @@ var ComposerComponent = class ComposerComponent {
67
68
  }
68
69
  static ɵfac = i0.ɵɵngDeclareFactory({
69
70
  minVersion: "12.0.0",
70
- version: "22.2.6",
71
+ version: "22.3.0",
71
72
  ngImport: i0,
72
73
  type: ComposerComponent,
73
74
  deps: [],
@@ -75,7 +76,7 @@ var ComposerComponent = class ComposerComponent {
75
76
  });
76
77
  static ɵcmp = i0.ɵɵngDeclareComponent({
77
78
  minVersion: "17.1.0",
78
- version: "22.2.6",
79
+ version: "22.3.0",
79
80
  type: ComposerComponent,
80
81
  isStandalone: true,
81
82
  selector: "Composer",
@@ -163,7 +164,7 @@ var ComposerComponent = class ComposerComponent {
163
164
  };
164
165
  i0.ɵɵngDeclareClassMetadata({
165
166
  minVersion: "12.0.0",
166
- version: "22.2.6",
167
+ version: "22.3.0",
167
168
  ngImport: i0,
168
169
  type: ComposerComponent,
169
170
  decorators: [{
@@ -266,7 +267,7 @@ var ComposerHeaderComponent = class ComposerHeaderComponent {
266
267
  classes = computed(() => cn("flex min-w-0 flex-wrap gap-2 border-b border-[hsl(var(--border)/var(--opacity-70))] px-2.5 py-2", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
267
268
  static ɵfac = i0.ɵɵngDeclareFactory({
268
269
  minVersion: "12.0.0",
269
- version: "22.2.6",
270
+ version: "22.3.0",
270
271
  ngImport: i0,
271
272
  type: ComposerHeaderComponent,
272
273
  deps: [],
@@ -274,7 +275,7 @@ var ComposerHeaderComponent = class ComposerHeaderComponent {
274
275
  });
275
276
  static ɵcmp = i0.ɵɵngDeclareComponent({
276
277
  minVersion: "17.1.0",
277
- version: "22.2.6",
278
+ version: "22.3.0",
278
279
  type: ComposerHeaderComponent,
279
280
  isStandalone: true,
280
281
  selector: "ComposerHeader",
@@ -296,7 +297,7 @@ var ComposerHeaderComponent = class ComposerHeaderComponent {
296
297
  };
297
298
  i0.ɵɵngDeclareClassMetadata({
298
299
  minVersion: "12.0.0",
299
- version: "22.2.6",
300
+ version: "22.3.0",
300
301
  ngImport: i0,
301
302
  type: ComposerHeaderComponent,
302
303
  decorators: [{
@@ -324,7 +325,7 @@ var ComposerFooterComponent = class ComposerFooterComponent {
324
325
  classes = computed(() => cn("border-t border-[hsl(var(--border)/var(--opacity-70))] px-2.5 py-1.5 text-xs leading-5 text-muted-foreground", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
325
326
  static ɵfac = i0.ɵɵngDeclareFactory({
326
327
  minVersion: "12.0.0",
327
- version: "22.2.6",
328
+ version: "22.3.0",
328
329
  ngImport: i0,
329
330
  type: ComposerFooterComponent,
330
331
  deps: [],
@@ -332,7 +333,7 @@ var ComposerFooterComponent = class ComposerFooterComponent {
332
333
  });
333
334
  static ɵcmp = i0.ɵɵngDeclareComponent({
334
335
  minVersion: "17.1.0",
335
- version: "22.2.6",
336
+ version: "22.3.0",
336
337
  type: ComposerFooterComponent,
337
338
  isStandalone: true,
338
339
  selector: "ComposerFooter",
@@ -354,7 +355,7 @@ var ComposerFooterComponent = class ComposerFooterComponent {
354
355
  };
355
356
  i0.ɵɵngDeclareClassMetadata({
356
357
  minVersion: "12.0.0",
357
- version: "22.2.6",
358
+ version: "22.3.0",
358
359
  ngImport: i0,
359
360
  type: ComposerFooterComponent,
360
361
  decorators: [{
@@ -382,7 +383,7 @@ var ComposerActionsLeadingComponent = class ComposerActionsLeadingComponent {
382
383
  classes = computed(() => cn("flex min-h-control-sm shrink-0 items-center gap-1", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
383
384
  static ɵfac = i0.ɵɵngDeclareFactory({
384
385
  minVersion: "12.0.0",
385
- version: "22.2.6",
386
+ version: "22.3.0",
386
387
  ngImport: i0,
387
388
  type: ComposerActionsLeadingComponent,
388
389
  deps: [],
@@ -390,7 +391,7 @@ var ComposerActionsLeadingComponent = class ComposerActionsLeadingComponent {
390
391
  });
391
392
  static ɵcmp = i0.ɵɵngDeclareComponent({
392
393
  minVersion: "17.1.0",
393
- version: "22.2.6",
394
+ version: "22.3.0",
394
395
  type: ComposerActionsLeadingComponent,
395
396
  isStandalone: true,
396
397
  selector: "ComposerActionsLeading",
@@ -412,7 +413,7 @@ var ComposerActionsLeadingComponent = class ComposerActionsLeadingComponent {
412
413
  };
413
414
  i0.ɵɵngDeclareClassMetadata({
414
415
  minVersion: "12.0.0",
415
- version: "22.2.6",
416
+ version: "22.3.0",
416
417
  ngImport: i0,
417
418
  type: ComposerActionsLeadingComponent,
418
419
  decorators: [{
@@ -440,7 +441,7 @@ var ComposerActionsTrailingComponent = class ComposerActionsTrailingComponent {
440
441
  classes = computed(() => cn("flex min-h-control-sm shrink-0 items-center justify-end gap-1", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
441
442
  static ɵfac = i0.ɵɵngDeclareFactory({
442
443
  minVersion: "12.0.0",
443
- version: "22.2.6",
444
+ version: "22.3.0",
444
445
  ngImport: i0,
445
446
  type: ComposerActionsTrailingComponent,
446
447
  deps: [],
@@ -448,7 +449,7 @@ var ComposerActionsTrailingComponent = class ComposerActionsTrailingComponent {
448
449
  });
449
450
  static ɵcmp = i0.ɵɵngDeclareComponent({
450
451
  minVersion: "17.1.0",
451
- version: "22.2.6",
452
+ version: "22.3.0",
452
453
  type: ComposerActionsTrailingComponent,
453
454
  isStandalone: true,
454
455
  selector: "ComposerActionsTrailing",
@@ -470,7 +471,7 @@ var ComposerActionsTrailingComponent = class ComposerActionsTrailingComponent {
470
471
  };
471
472
  i0.ɵɵngDeclareClassMetadata({
472
473
  minVersion: "12.0.0",
473
- version: "22.2.6",
474
+ version: "22.3.0",
474
475
  ngImport: i0,
475
476
  type: ComposerActionsTrailingComponent,
476
477
  decorators: [{
@@ -515,7 +516,7 @@ var ComposerInputComponent = class ComposerInputComponent {
515
516
  }
516
517
  static ɵfac = i0.ɵɵngDeclareFactory({
517
518
  minVersion: "12.0.0",
518
- version: "22.2.6",
519
+ version: "22.3.0",
519
520
  ngImport: i0,
520
521
  type: ComposerInputComponent,
521
522
  deps: [],
@@ -523,7 +524,7 @@ var ComposerInputComponent = class ComposerInputComponent {
523
524
  });
524
525
  static ɵcmp = i0.ɵɵngDeclareComponent({
525
526
  minVersion: "17.1.0",
526
- version: "22.2.6",
527
+ version: "22.3.0",
527
528
  type: ComposerInputComponent,
528
529
  isStandalone: true,
529
530
  selector: "ComposerInput",
@@ -567,7 +568,7 @@ var ComposerInputComponent = class ComposerInputComponent {
567
568
  };
568
569
  i0.ɵɵngDeclareClassMetadata({
569
570
  minVersion: "12.0.0",
570
- version: "22.2.6",
571
+ version: "22.3.0",
571
572
  ngImport: i0,
572
573
  type: ComposerInputComponent,
573
574
  decorators: [{
@@ -615,6 +616,8 @@ i0.ɵɵngDeclareClassMetadata({
615
616
  var ComposerTextareaComponent = class ComposerTextareaComponent {
616
617
  el = inject(ElementRef);
617
618
  composer = inject(ComposerComponent, { optional: true });
619
+ destroyRef = inject(DestroyRef);
620
+ nativeAutosize = this.el.nativeElement.ownerDocument.defaultView?.CSS?.supports("field-sizing", "content") ?? false;
618
621
  rows = input(2, {
619
622
  ...ngDevMode ? { debugName: "rows" } : /* istanbul ignore next */ {},
620
623
  transform: numberAttribute
@@ -634,6 +637,10 @@ var ComposerTextareaComponent = class ComposerTextareaComponent {
634
637
  transform: booleanAttribute
635
638
  });
636
639
  class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
640
+ maxBlockSize = computed(() => {
641
+ const maxRows = this.maxRows();
642
+ return maxRows ? `calc(${Math.max(maxRows, this.rows())} * 1lh + var(--composer-block-inset, 0px))` : null;
643
+ }, ...ngDevMode ? [{ debugName: "maxBlockSize" }] : /* istanbul ignore next */ []);
637
644
  disabledState = signal(false, ...ngDevMode ? [{ debugName: "disabledState" }] : /* istanbul ignore next */ []);
638
645
  disabled = computed(() => this.disabledInput() || this.disabledState() || this.composer?.disabled() === true, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
639
646
  invalid = computed(() => this.invalidInput() || this.composer?.invalid() === true, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
@@ -644,12 +651,18 @@ var ComposerTextareaComponent = class ComposerTextareaComponent {
644
651
  ].join(" "), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
645
652
  onChange = () => {};
646
653
  onTouched = () => {};
654
+ constructor() {
655
+ afterRenderEffect({ mixedReadWrite: () => {
656
+ this.class();
657
+ this.resizeToContent();
658
+ } });
659
+ }
647
660
  ngAfterViewInit() {
648
- queueMicrotask(() => this.resizeToContent());
661
+ this.observeSize();
649
662
  }
650
663
  writeValue(value) {
651
664
  this.el.nativeElement.value = value ?? "";
652
- queueMicrotask(() => this.resizeToContent());
665
+ if (!this.nativeAutosize) queueMicrotask(() => this.resizeToContent());
653
666
  }
654
667
  registerOnChange(fn) {
655
668
  this.onChange = fn;
@@ -662,23 +675,31 @@ var ComposerTextareaComponent = class ComposerTextareaComponent {
662
675
  }
663
676
  resizeToContent() {
664
677
  const textarea = this.el.nativeElement;
665
- textarea.style.height = "auto";
666
- const maxRows = this.maxRows();
667
- if (!maxRows) {
668
- textarea.style.height = `${textarea.scrollHeight}px`;
669
- textarea.style.overflowY = "hidden";
678
+ const style = textarea.ownerDocument.defaultView?.getComputedStyle(textarea);
679
+ const pixels = (value) => Number.parseFloat(value ?? "") || 0;
680
+ const padding = pixels(style?.paddingTop) + pixels(style?.paddingBottom);
681
+ const border = pixels(style?.borderTopWidth) + pixels(style?.borderBottomWidth);
682
+ const borderBox = style?.boxSizing === "border-box";
683
+ if (this.nativeAutosize) {
684
+ textarea.style.setProperty("--composer-block-inset", `${borderBox ? padding + border : 0}px`);
670
685
  return;
671
686
  }
672
- const maxHeight = this.getLineHeight(textarea) * Math.max(maxRows, this.rows());
673
- const nextHeight = Math.min(textarea.scrollHeight, maxHeight);
674
- textarea.style.height = `${nextHeight}px`;
675
- textarea.style.overflowY = textarea.scrollHeight > maxHeight ? "auto" : "hidden";
687
+ textarea.style.height = "auto";
688
+ textarea.style.overflowY = "hidden";
689
+ const contentHeight = textarea.scrollHeight;
690
+ const lineHeight = pixels(style?.lineHeight) || 24;
691
+ const rows = this.rows();
692
+ const maxRows = this.maxRows();
693
+ const limit = maxRows ? Math.ceil(lineHeight * Math.max(maxRows, rows) + padding) : Infinity;
694
+ const next = Math.min(contentHeight, limit) + (borderBox ? border : -padding);
695
+ textarea.style.height = `${Math.max(0, next)}px`;
696
+ textarea.style.overflowY = contentHeight > limit ? "auto" : "hidden";
676
697
  }
677
698
  focus() {
678
699
  this.el.nativeElement.focus();
679
700
  }
680
701
  handleInput() {
681
- this.resizeToContent();
702
+ if (!this.nativeAutosize) this.resizeToContent();
682
703
  this.onChange(this.el.nativeElement.value);
683
704
  }
684
705
  handleBlur() {
@@ -688,13 +709,32 @@ var ComposerTextareaComponent = class ComposerTextareaComponent {
688
709
  if (this.disabled()) return;
689
710
  this.composer?.handleInputKeydown(event);
690
711
  }
691
- getLineHeight(textarea) {
692
- const lineHeight = Number.parseFloat(getComputedStyle(textarea).lineHeight);
693
- return Number.isFinite(lineHeight) ? lineHeight : 24;
712
+ observeSize() {
713
+ const textarea = this.el.nativeElement;
714
+ const view = textarea.ownerDocument.defaultView;
715
+ if (!view?.ResizeObserver) return;
716
+ let lastWidth;
717
+ let lastInset;
718
+ const observer = new view.ResizeObserver(([entry]) => {
719
+ const border = entry.borderBoxSize[0];
720
+ if (this.nativeAutosize) {
721
+ const content = entry.contentBoxSize[0];
722
+ const inset = border.blockSize - content.blockSize;
723
+ if (inset !== lastInset) {
724
+ lastInset = inset;
725
+ this.resizeToContent();
726
+ }
727
+ } else if (border.inlineSize !== lastWidth) {
728
+ lastWidth = border.inlineSize;
729
+ this.resizeToContent();
730
+ }
731
+ });
732
+ observer.observe(textarea);
733
+ this.destroyRef.onDestroy(() => observer.disconnect());
694
734
  }
695
735
  static ɵfac = i0.ɵɵngDeclareFactory({
696
736
  minVersion: "12.0.0",
697
- version: "22.2.6",
737
+ version: "22.3.0",
698
738
  ngImport: i0,
699
739
  type: ComposerTextareaComponent,
700
740
  deps: [],
@@ -702,7 +742,7 @@ var ComposerTextareaComponent = class ComposerTextareaComponent {
702
742
  });
703
743
  static ɵcmp = i0.ɵɵngDeclareComponent({
704
744
  minVersion: "17.1.0",
705
- version: "22.2.6",
745
+ version: "22.3.0",
706
746
  type: ComposerTextareaComponent,
707
747
  isStandalone: true,
708
748
  selector: "textarea[ComposerInput]",
@@ -752,7 +792,10 @@ var ComposerTextareaComponent = class ComposerTextareaComponent {
752
792
  properties: {
753
793
  "class": "classes()",
754
794
  "attr.data-slot": "\"composer-input\"",
795
+ "attr.data-native-autosize": "nativeAutosize ? \"\" : null",
755
796
  "attr.rows": "rows()",
797
+ "style.--composer-min-rows": "rows()",
798
+ "style.--composer-max-block-size": "maxBlockSize()",
756
799
  "attr.disabled": "disabled() ? \"\" : null",
757
800
  "attr.aria-invalid": "invalid() ? \"true\" : null"
758
801
  }
@@ -764,12 +807,13 @@ var ComposerTextareaComponent = class ComposerTextareaComponent {
764
807
  }],
765
808
  ngImport: i0,
766
809
  template: "",
767
- isInline: true
810
+ isInline: true,
811
+ styles: [":host([data-native-autosize]){field-sizing:content;block-size:auto;min-block-size:max(var(--control-height-10, 0px),calc(var(--composer-min-rows) * 1lh + var(--composer-block-inset, 0px)));max-block-size:var(--composer-max-block-size, none);overflow-y:auto}\n"]
768
812
  });
769
813
  };
770
814
  i0.ɵɵngDeclareClassMetadata({
771
815
  minVersion: "12.0.0",
772
- version: "22.2.6",
816
+ version: "22.3.0",
773
817
  ngImport: i0,
774
818
  type: ComposerTextareaComponent,
775
819
  decorators: [{
@@ -784,16 +828,21 @@ i0.ɵɵngDeclareClassMetadata({
784
828
  host: {
785
829
  "[class]": "classes()",
786
830
  "[attr.data-slot]": "\"composer-input\"",
831
+ "[attr.data-native-autosize]": "nativeAutosize ? \"\" : null",
787
832
  "[attr.rows]": "rows()",
833
+ "[style.--composer-min-rows]": "rows()",
834
+ "[style.--composer-max-block-size]": "maxBlockSize()",
788
835
  "[attr.disabled]": "disabled() ? \"\" : null",
789
836
  "[attr.aria-invalid]": "invalid() ? \"true\" : null",
790
837
  "(input)": "handleInput()",
791
838
  "(blur)": "handleBlur()",
792
839
  "(keydown)": "handleKeydown($event)"
793
840
  },
794
- template: ""
841
+ template: "",
842
+ styles: [":host([data-native-autosize]){field-sizing:content;block-size:auto;min-block-size:max(var(--control-height-10, 0px),calc(var(--composer-min-rows) * 1lh + var(--composer-block-inset, 0px)));max-block-size:var(--composer-max-block-size, none);overflow-y:auto}\n"]
795
843
  }]
796
844
  }],
845
+ ctorParameters: () => [],
797
846
  propDecorators: {
798
847
  rows: [{
799
848
  type: i0.Input,
@@ -109,7 +109,7 @@ var ContextMenuTriggerDirective = class ContextMenuTriggerDirective {
109
109
  }
110
110
  static ɵfac = i0.ɵɵngDeclareFactory({
111
111
  minVersion: "12.0.0",
112
- version: "22.2.6",
112
+ version: "22.3.0",
113
113
  ngImport: i0,
114
114
  type: ContextMenuTriggerDirective,
115
115
  deps: [],
@@ -117,7 +117,7 @@ var ContextMenuTriggerDirective = class ContextMenuTriggerDirective {
117
117
  });
118
118
  static ɵdir = i0.ɵɵngDeclareDirective({
119
119
  minVersion: "17.1.0",
120
- version: "22.2.6",
120
+ version: "22.3.0",
121
121
  type: ContextMenuTriggerDirective,
122
122
  isStandalone: true,
123
123
  selector: "[ContextMenuTrigger]",
@@ -154,7 +154,7 @@ var ContextMenuTriggerDirective = class ContextMenuTriggerDirective {
154
154
  };
155
155
  i0.ɵɵngDeclareClassMetadata({
156
156
  minVersion: "12.0.0",
157
- version: "22.2.6",
157
+ version: "22.3.0",
158
158
  ngImport: i0,
159
159
  type: ContextMenuTriggerDirective,
160
160
  decorators: [{
@@ -251,7 +251,7 @@ var DatePickerComponent = class DatePickerComponent {
251
251
  }
252
252
  static ɵfac = i0.ɵɵngDeclareFactory({
253
253
  minVersion: "12.0.0",
254
- version: "22.2.6",
254
+ version: "22.3.0",
255
255
  ngImport: i0,
256
256
  type: DatePickerComponent,
257
257
  deps: [],
@@ -259,7 +259,7 @@ var DatePickerComponent = class DatePickerComponent {
259
259
  });
260
260
  static ɵcmp = i0.ɵɵngDeclareComponent({
261
261
  minVersion: "17.0.0",
262
- version: "22.2.6",
262
+ version: "22.3.0",
263
263
  type: DatePickerComponent,
264
264
  isStandalone: true,
265
265
  selector: "DatePicker",
@@ -531,7 +531,7 @@ var DatePickerComponent = class DatePickerComponent {
531
531
  };
532
532
  i0.ɵɵngDeclareClassMetadata({
533
533
  minVersion: "12.0.0",
534
- version: "22.2.6",
534
+ version: "22.3.0",
535
535
  ngImport: i0,
536
536
  type: DatePickerComponent,
537
537
  decorators: [{
@@ -110,7 +110,7 @@ var DialogComponent = class DialogComponent {
110
110
  }
111
111
  static ɵfac = i0.ɵɵngDeclareFactory({
112
112
  minVersion: "12.0.0",
113
- version: "22.2.6",
113
+ version: "22.3.0",
114
114
  ngImport: i0,
115
115
  type: DialogComponent,
116
116
  deps: [],
@@ -118,7 +118,7 @@ var DialogComponent = class DialogComponent {
118
118
  });
119
119
  static ɵcmp = i0.ɵɵngDeclareComponent({
120
120
  minVersion: "17.0.0",
121
- version: "22.2.6",
121
+ version: "22.3.0",
122
122
  type: DialogComponent,
123
123
  isStandalone: true,
124
124
  selector: "Dialog",
@@ -276,7 +276,7 @@ var DialogComponent = class DialogComponent {
276
276
  };
277
277
  i0.ɵɵngDeclareClassMetadata({
278
278
  minVersion: "12.0.0",
279
- version: "22.2.6",
279
+ version: "22.3.0",
280
280
  ngImport: i0,
281
281
  type: DialogComponent,
282
282
  decorators: [{
@@ -438,7 +438,7 @@ var DialogCloseDirective = class DialogCloseDirective {
438
438
  }
439
439
  static ɵfac = i0.ɵɵngDeclareFactory({
440
440
  minVersion: "12.0.0",
441
- version: "22.2.6",
441
+ version: "22.3.0",
442
442
  ngImport: i0,
443
443
  type: DialogCloseDirective,
444
444
  deps: [],
@@ -446,7 +446,7 @@ var DialogCloseDirective = class DialogCloseDirective {
446
446
  });
447
447
  static ɵdir = i0.ɵɵngDeclareDirective({
448
448
  minVersion: "14.0.0",
449
- version: "22.2.6",
449
+ version: "22.3.0",
450
450
  type: DialogCloseDirective,
451
451
  isStandalone: true,
452
452
  selector: "button[DialogClose], a[DialogClose]",
@@ -456,7 +456,7 @@ var DialogCloseDirective = class DialogCloseDirective {
456
456
  };
457
457
  i0.ɵɵngDeclareClassMetadata({
458
458
  minVersion: "12.0.0",
459
- version: "22.2.6",
459
+ version: "22.3.0",
460
460
  ngImport: i0,
461
461
  type: DialogCloseDirective,
462
462
  decorators: [{
@@ -472,7 +472,7 @@ var DialogHeaderComponent = class DialogHeaderComponent {
472
472
  classes = computed(() => cn("flex flex-col gap-1.5 text-center sm:text-left", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
473
473
  static ɵfac = i0.ɵɵngDeclareFactory({
474
474
  minVersion: "12.0.0",
475
- version: "22.2.6",
475
+ version: "22.3.0",
476
476
  ngImport: i0,
477
477
  type: DialogHeaderComponent,
478
478
  deps: [],
@@ -480,7 +480,7 @@ var DialogHeaderComponent = class DialogHeaderComponent {
480
480
  });
481
481
  static ɵcmp = i0.ɵɵngDeclareComponent({
482
482
  minVersion: "17.1.0",
483
- version: "22.2.6",
483
+ version: "22.3.0",
484
484
  type: DialogHeaderComponent,
485
485
  isStandalone: true,
486
486
  selector: "DialogHeader",
@@ -499,7 +499,7 @@ var DialogHeaderComponent = class DialogHeaderComponent {
499
499
  };
500
500
  i0.ɵɵngDeclareClassMetadata({
501
501
  minVersion: "12.0.0",
502
- version: "22.2.6",
502
+ version: "22.3.0",
503
503
  ngImport: i0,
504
504
  type: DialogHeaderComponent,
505
505
  decorators: [{
@@ -532,7 +532,7 @@ var DialogTitleComponent = class DialogTitleComponent {
532
532
  }
533
533
  static ɵfac = i0.ɵɵngDeclareFactory({
534
534
  minVersion: "12.0.0",
535
- version: "22.2.6",
535
+ version: "22.3.0",
536
536
  ngImport: i0,
537
537
  type: DialogTitleComponent,
538
538
  deps: [],
@@ -540,7 +540,7 @@ var DialogTitleComponent = class DialogTitleComponent {
540
540
  });
541
541
  static ɵcmp = i0.ɵɵngDeclareComponent({
542
542
  minVersion: "17.1.0",
543
- version: "22.2.6",
543
+ version: "22.3.0",
544
544
  type: DialogTitleComponent,
545
545
  isStandalone: true,
546
546
  selector: "DialogTitle, h2[DialogTitle]",
@@ -571,7 +571,7 @@ var DialogTitleComponent = class DialogTitleComponent {
571
571
  };
572
572
  i0.ɵɵngDeclareClassMetadata({
573
573
  minVersion: "12.0.0",
574
- version: "22.2.6",
574
+ version: "22.3.0",
575
575
  ngImport: i0,
576
576
  type: DialogTitleComponent,
577
577
  decorators: [{
@@ -618,7 +618,7 @@ var DialogDescriptionComponent = class DialogDescriptionComponent {
618
618
  }
619
619
  static ɵfac = i0.ɵɵngDeclareFactory({
620
620
  minVersion: "12.0.0",
621
- version: "22.2.6",
621
+ version: "22.3.0",
622
622
  ngImport: i0,
623
623
  type: DialogDescriptionComponent,
624
624
  deps: [],
@@ -626,7 +626,7 @@ var DialogDescriptionComponent = class DialogDescriptionComponent {
626
626
  });
627
627
  static ɵcmp = i0.ɵɵngDeclareComponent({
628
628
  minVersion: "17.1.0",
629
- version: "22.2.6",
629
+ version: "22.3.0",
630
630
  type: DialogDescriptionComponent,
631
631
  isStandalone: true,
632
632
  selector: "DialogDescription, p[DialogDescription]",
@@ -657,7 +657,7 @@ var DialogDescriptionComponent = class DialogDescriptionComponent {
657
657
  };
658
658
  i0.ɵɵngDeclareClassMetadata({
659
659
  minVersion: "12.0.0",
660
- version: "22.2.6",
660
+ version: "22.3.0",
661
661
  ngImport: i0,
662
662
  type: DialogDescriptionComponent,
663
663
  decorators: [{
@@ -696,7 +696,7 @@ var DialogContentComponent = class DialogContentComponent {
696
696
  classes = computed(() => cn("grid gap-4", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
697
697
  static ɵfac = i0.ɵɵngDeclareFactory({
698
698
  minVersion: "12.0.0",
699
- version: "22.2.6",
699
+ version: "22.3.0",
700
700
  ngImport: i0,
701
701
  type: DialogContentComponent,
702
702
  deps: [],
@@ -704,7 +704,7 @@ var DialogContentComponent = class DialogContentComponent {
704
704
  });
705
705
  static ɵcmp = i0.ɵɵngDeclareComponent({
706
706
  minVersion: "17.1.0",
707
- version: "22.2.6",
707
+ version: "22.3.0",
708
708
  type: DialogContentComponent,
709
709
  isStandalone: true,
710
710
  selector: "DialogContent",
@@ -723,7 +723,7 @@ var DialogContentComponent = class DialogContentComponent {
723
723
  };
724
724
  i0.ɵɵngDeclareClassMetadata({
725
725
  minVersion: "12.0.0",
726
- version: "22.2.6",
726
+ version: "22.3.0",
727
727
  ngImport: i0,
728
728
  type: DialogContentComponent,
729
729
  decorators: [{
@@ -748,7 +748,7 @@ var DialogFooterComponent = class DialogFooterComponent {
748
748
  classes = computed(() => cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:gap-2", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
749
749
  static ɵfac = i0.ɵɵngDeclareFactory({
750
750
  minVersion: "12.0.0",
751
- version: "22.2.6",
751
+ version: "22.3.0",
752
752
  ngImport: i0,
753
753
  type: DialogFooterComponent,
754
754
  deps: [],
@@ -756,7 +756,7 @@ var DialogFooterComponent = class DialogFooterComponent {
756
756
  });
757
757
  static ɵcmp = i0.ɵɵngDeclareComponent({
758
758
  minVersion: "17.1.0",
759
- version: "22.2.6",
759
+ version: "22.3.0",
760
760
  type: DialogFooterComponent,
761
761
  isStandalone: true,
762
762
  selector: "DialogFooter",
@@ -775,7 +775,7 @@ var DialogFooterComponent = class DialogFooterComponent {
775
775
  };
776
776
  i0.ɵɵngDeclareClassMetadata({
777
777
  minVersion: "12.0.0",
778
- version: "22.2.6",
778
+ version: "22.3.0",
779
779
  ngImport: i0,
780
780
  type: DialogFooterComponent,
781
781
  decorators: [{