cmat 0.0.108 → 0.0.110

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 (171) hide show
  1. package/fesm2022/cmat-components-adapter.mjs +9 -9
  2. package/fesm2022/cmat-components-adapter.mjs.map +1 -1
  3. package/fesm2022/cmat-components-breadcrumb.mjs +9 -9
  4. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
  5. package/fesm2022/cmat-components-card.mjs +3 -3
  6. package/fesm2022/cmat-components-card.mjs.map +1 -1
  7. package/fesm2022/cmat-components-carousel.mjs +12 -12
  8. package/fesm2022/cmat-components-carousel.mjs.map +1 -1
  9. package/fesm2022/cmat-components-cascade.mjs +9 -9
  10. package/fesm2022/cmat-components-cascade.mjs.map +1 -1
  11. package/fesm2022/cmat-components-chip-input.mjs +3 -3
  12. package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
  13. package/fesm2022/cmat-components-code-editor.mjs +3 -3
  14. package/fesm2022/cmat-components-code-editor.mjs.map +1 -1
  15. package/fesm2022/cmat-components-color-picker.mjs +28 -28
  16. package/fesm2022/cmat-components-color-picker.mjs.map +1 -1
  17. package/fesm2022/cmat-components-custom-formly.mjs +101 -100
  18. package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
  19. package/fesm2022/cmat-components-data-picker.mjs +15 -15
  20. package/fesm2022/cmat-components-data-picker.mjs.map +1 -1
  21. package/fesm2022/cmat-components-date-range.mjs +5 -5
  22. package/fesm2022/cmat-components-date-range.mjs.map +1 -1
  23. package/fesm2022/cmat-components-date-time-display.mjs +3 -3
  24. package/fesm2022/cmat-components-date-time-display.mjs.map +1 -1
  25. package/fesm2022/cmat-components-drawer.mjs +6 -6
  26. package/fesm2022/cmat-components-drawer.mjs.map +1 -1
  27. package/fesm2022/cmat-components-empty-state.mjs +9 -5
  28. package/fesm2022/cmat-components-empty-state.mjs.map +1 -1
  29. package/fesm2022/cmat-components-file-preview.mjs +3 -3
  30. package/fesm2022/cmat-components-file-preview.mjs.map +1 -1
  31. package/fesm2022/cmat-components-filter-toolbar.mjs +3 -3
  32. package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
  33. package/fesm2022/cmat-components-form-actions.mjs +3 -3
  34. package/fesm2022/cmat-components-form-actions.mjs.map +1 -1
  35. package/fesm2022/cmat-components-fullscreen.mjs +3 -3
  36. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
  37. package/fesm2022/cmat-components-highlight.mjs +6 -6
  38. package/fesm2022/cmat-components-highlight.mjs.map +1 -1
  39. package/fesm2022/cmat-components-image-viewer.mjs +3 -3
  40. package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
  41. package/fesm2022/cmat-components-inline-loading.mjs +3 -3
  42. package/fesm2022/cmat-components-inline-loading.mjs.map +1 -1
  43. package/fesm2022/cmat-components-json-editor.mjs +3 -3
  44. package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
  45. package/fesm2022/cmat-components-knob-input.mjs +3 -3
  46. package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
  47. package/fesm2022/cmat-components-loading-overlay.mjs +3 -3
  48. package/fesm2022/cmat-components-loading-overlay.mjs.map +1 -1
  49. package/fesm2022/cmat-components-masonry.mjs +3 -3
  50. package/fesm2022/cmat-components-masonry.mjs.map +1 -1
  51. package/fesm2022/cmat-components-material-color-picker.mjs +3 -3
  52. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
  53. package/fesm2022/cmat-components-material-datetimepicker.mjs +42 -42
  54. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
  55. package/fesm2022/cmat-components-navigation.mjs +39 -39
  56. package/fesm2022/cmat-components-navigation.mjs.map +1 -1
  57. package/fesm2022/cmat-components-opt-input.mjs +3 -3
  58. package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
  59. package/fesm2022/cmat-components-org-chart.mjs +9 -9
  60. package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
  61. package/fesm2022/cmat-components-page-header.mjs +3 -3
  62. package/fesm2022/cmat-components-page-header.mjs.map +1 -1
  63. package/fesm2022/cmat-components-pagination.mjs +12 -12
  64. package/fesm2022/cmat-components-pagination.mjs.map +1 -1
  65. package/fesm2022/cmat-components-password-strength.mjs +9 -9
  66. package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
  67. package/fesm2022/cmat-components-popover.mjs +9 -9
  68. package/fesm2022/cmat-components-popover.mjs.map +1 -1
  69. package/fesm2022/cmat-components-progress-bar.mjs +3 -3
  70. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
  71. package/fesm2022/cmat-components-qrcode.mjs +3 -3
  72. package/fesm2022/cmat-components-qrcode.mjs.map +1 -1
  73. package/fesm2022/cmat-components-rating.mjs +3 -3
  74. package/fesm2022/cmat-components-rating.mjs.map +1 -1
  75. package/fesm2022/cmat-components-rich-text-editor.mjs +3 -3
  76. package/fesm2022/cmat-components-rich-text-editor.mjs.map +1 -1
  77. package/fesm2022/cmat-components-select-search.mjs +9 -9
  78. package/fesm2022/cmat-components-select-search.mjs.map +1 -1
  79. package/fesm2022/cmat-components-select-table.mjs +6 -4
  80. package/fesm2022/cmat-components-select-table.mjs.map +1 -1
  81. package/fesm2022/cmat-components-select-tree.mjs +3 -3
  82. package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
  83. package/fesm2022/cmat-components-skeleton.mjs +3 -3
  84. package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
  85. package/fesm2022/cmat-components-speed-dial.mjs +9 -9
  86. package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
  87. package/fesm2022/cmat-components-status-tag.mjs +3 -3
  88. package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
  89. package/fesm2022/cmat-components-table-toolbar.mjs +3 -3
  90. package/fesm2022/cmat-components-table-toolbar.mjs.map +1 -1
  91. package/fesm2022/cmat-components-timeline.mjs +12 -12
  92. package/fesm2022/cmat-components-timeline.mjs.map +1 -1
  93. package/fesm2022/cmat-components-toast.mjs +9 -9
  94. package/fesm2022/cmat-components-toast.mjs.map +1 -1
  95. package/fesm2022/cmat-components-transfer-picker.mjs +18 -18
  96. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
  97. package/fesm2022/cmat-components-treetable.mjs +7 -7
  98. package/fesm2022/cmat-components-treetable.mjs.map +1 -1
  99. package/fesm2022/cmat-components-upload.mjs +9 -9
  100. package/fesm2022/cmat-components-upload.mjs.map +1 -1
  101. package/fesm2022/cmat-components-x6-angular-shape.mjs.map +1 -1
  102. package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -6
  103. package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
  104. package/fesm2022/cmat-directives-arrow-cursor.mjs +3 -3
  105. package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
  106. package/fesm2022/cmat-directives-autofocus.mjs +3 -3
  107. package/fesm2022/cmat-directives-autofocus.mjs.map +1 -1
  108. package/fesm2022/cmat-directives-data-exporter.mjs +21 -21
  109. package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
  110. package/fesm2022/cmat-directives-debounce.mjs +9 -9
  111. package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
  112. package/fesm2022/cmat-directives-digit-only.mjs +6 -6
  113. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
  114. package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
  115. package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
  116. package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +3 -3
  117. package/fesm2022/cmat-directives-seamless-auto-scroll.mjs.map +1 -1
  118. package/fesm2022/cmat-lib-mock-api.mjs +6 -6
  119. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
  120. package/fesm2022/cmat-pipes-bytes.mjs +3 -3
  121. package/fesm2022/cmat-pipes-bytes.mjs.map +1 -1
  122. package/fesm2022/cmat-pipes-date-format.mjs +3 -3
  123. package/fesm2022/cmat-pipes-date-format.mjs.map +1 -1
  124. package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
  125. package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
  126. package/fesm2022/cmat-pipes-group-by.mjs +3 -3
  127. package/fesm2022/cmat-pipes-group-by.mjs.map +1 -1
  128. package/fesm2022/cmat-pipes-keys.mjs +3 -3
  129. package/fesm2022/cmat-pipes-keys.mjs.map +1 -1
  130. package/fesm2022/cmat-pipes-secure.mjs +3 -3
  131. package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
  132. package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
  133. package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -1
  134. package/fesm2022/cmat-services-alert.mjs +3 -3
  135. package/fesm2022/cmat-services-alert.mjs.map +1 -1
  136. package/fesm2022/cmat-services-config.mjs +6 -6
  137. package/fesm2022/cmat-services-config.mjs.map +1 -1
  138. package/fesm2022/cmat-services-confirmation.mjs +6 -6
  139. package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
  140. package/fesm2022/cmat-services-data.mjs +3 -3
  141. package/fesm2022/cmat-services-data.mjs.map +1 -1
  142. package/fesm2022/cmat-services-export-as.mjs +3 -3
  143. package/fesm2022/cmat-services-export-as.mjs.map +1 -1
  144. package/fesm2022/cmat-services-loading.mjs +6 -6
  145. package/fesm2022/cmat-services-loading.mjs.map +1 -1
  146. package/fesm2022/cmat-services-local-storage.mjs +3 -3
  147. package/fesm2022/cmat-services-local-storage.mjs.map +1 -1
  148. package/fesm2022/cmat-services-media-watcher.mjs +3 -3
  149. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
  150. package/fesm2022/cmat-services-platform.mjs +3 -3
  151. package/fesm2022/cmat-services-platform.mjs.map +1 -1
  152. package/fesm2022/cmat-services-print.mjs +676 -0
  153. package/fesm2022/cmat-services-print.mjs.map +1 -0
  154. package/fesm2022/cmat-services-splash-screen.mjs +3 -3
  155. package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
  156. package/fesm2022/cmat-services-title.mjs +3 -3
  157. package/fesm2022/cmat-services-title.mjs.map +1 -1
  158. package/fesm2022/cmat-services-translation.mjs +3 -3
  159. package/fesm2022/cmat-services-translation.mjs.map +1 -1
  160. package/fesm2022/cmat-services-utils.mjs +3 -3
  161. package/fesm2022/cmat-services-utils.mjs.map +1 -1
  162. package/fesm2022/cmat-validators.mjs.map +1 -1
  163. package/fesm2022/cmat-version.mjs.map +1 -1
  164. package/fesm2022/cmat.mjs +1239 -566
  165. package/fesm2022/cmat.mjs.map +1 -1
  166. package/package.json +5 -1
  167. package/styles/components/bundle.scss +13 -0
  168. package/styles/overrides/angular-material.scss +23 -0
  169. package/types/cmat-components-empty-state.d.ts +3 -1
  170. package/types/cmat-services-print.d.ts +94 -0
  171. package/types/cmat.d.ts +95 -3
@@ -9,10 +9,10 @@ import { MatIconModule } from '@angular/material/icon';
9
9
  import { CmatArrowCursorDirective } from 'cmat/directives/arrow-cursor';
10
10
 
11
11
  class CmatCarouselHeaderComponent {
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: CmatCarouselHeaderComponent, isStandalone: true, selector: "cmat-carousel-header", ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.0", type: CmatCarouselHeaderComponent, isStandalone: true, selector: "cmat-carousel-header", ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselHeaderComponent, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselHeaderComponent, decorators: [{
16
16
  type: Component,
17
17
  args: [{
18
18
  selector: 'cmat-carousel-header',
@@ -20,10 +20,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
20
20
  }]
21
21
  }] });
22
22
  class CmatCarouselFooterComponent {
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: CmatCarouselFooterComponent, isStandalone: true, selector: "cmat-carousel-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.0", type: CmatCarouselFooterComponent, isStandalone: true, selector: "cmat-carousel-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselFooterComponent, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselFooterComponent, decorators: [{
27
27
  type: Component,
28
28
  args: [{
29
29
  selector: 'cmat-carousel-footer',
@@ -38,10 +38,10 @@ class CmatCarouselTemplateDirective {
38
38
  this.name = input(/* @ts-ignore */
39
39
  ...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
42
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.7", type: CmatCarouselTemplateDirective, isStandalone: true, selector: "[cmatCarouselTemplate]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
42
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.0", type: CmatCarouselTemplateDirective, isStandalone: true, selector: "[cmatCarouselTemplate]", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselTemplateDirective, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselTemplateDirective, decorators: [{
45
45
  type: Directive,
46
46
  args: [{
47
47
  selector: '[cmatCarouselTemplate]',
@@ -618,10 +618,10 @@ class CmatCarouselComponent {
618
618
  if (indicators[highlightedIndex]?.children[0])
619
619
  indicators[highlightedIndex].children[0].tabIndex = 0;
620
620
  }
621
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
622
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: CmatCarouselComponent, isStandalone: true, selector: "cmat-carousel", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, numScroll: { classPropertyName: "numScroll", publicName: "numScroll", isSignal: true, isRequired: false, transformFunction: null }, autoplayInterval: { classPropertyName: "autoplayInterval", publicName: "autoplayInterval", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, navigatorsType: { classPropertyName: "navigatorsType", publicName: "navigatorsType", isSignal: true, isRequired: false, transformFunction: null }, verticalViewPortHeight: { classPropertyName: "verticalViewPortHeight", publicName: "verticalViewPortHeight", isSignal: true, isRequired: false, transformFunction: null }, arrowSelector: { classPropertyName: "arrowSelector", publicName: "arrowSelector", isSignal: true, isRequired: false, transformFunction: null }, contentClass: { classPropertyName: "contentClass", publicName: "contentClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorsContentClass: { classPropertyName: "indicatorsContentClass", publicName: "indicatorsContentClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorsContentStyle: { classPropertyName: "indicatorsContentStyle", publicName: "indicatorsContentStyle", isSignal: true, isRequired: false, transformFunction: null }, indicatorStyleClass: { classPropertyName: "indicatorStyleClass", publicName: "indicatorStyleClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorStyle: { classPropertyName: "indicatorStyle", publicName: "indicatorStyle", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, suspendAutoPlay: { classPropertyName: "suspendAutoPlay", publicName: "suspendAutoPlay", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "pageChange", numVisible: "numVisibleChange", numScroll: "numScrollChange", pageEvent: "pageEvent" }, queries: [{ propertyName: "headerFacet", first: true, predicate: CmatCarouselHeaderComponent, descendants: true, isSignal: true }, { propertyName: "footerFacet", first: true, predicate: CmatCarouselFooterComponent, descendants: true, isSignal: true }, { propertyName: "templates", predicate: CmatCarouselTemplateDirective, isSignal: true }], viewQueries: [{ propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true, isSignal: true }, { propertyName: "indicatorContent", first: true, predicate: ["indicatorContent"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div role=\"region\" [attr.id]=\"id\"\r\n [ngClass]=\"{ 'cmat-carousel': true, 'cmat-carousel-vertical': isVertical(), 'cmat-carousel-horizontal': !isVertical() }\"\r\n [ngStyle]=\"style()\" [class]=\"styleClass()\">\r\n\r\n @if(headerFacet() || headerTemplate()){\r\n <div class=\"cmat-carousel-header\">\r\n <ng-content select=\"cmat-carousel-header\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n\r\n <div [class]=\"contentClass()\" [ngClass]=\"'items-center cmat-carousel-content'\">\r\n <div class=\"cmat-carousel-container\" cmatArrowCursor [orientation]=\"orientation()\" [selector]=\"arrowSelector()\"\r\n [enabled]=\"navigatorsType()==='arrow'\" [attr.aria-live]=\"allowAutoplay() ? 'polite' : 'off'\"\r\n (clickEvent)=\"arrowCursorClick($event)\">\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-prev': true }\"\r\n [disabled]=\"!isCircular() && page() === 0\" (click)=\"navBackward($event)\">\r\n @if(!previousIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-left'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-up'\"></mat-icon>\r\n }\r\n }\r\n @else {\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"previousIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n <div class=\"cmat-carousel-items-content\" (touchend)=\"onTouchEnd($event)\"\r\n (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\">\r\n <div #itemsContainer class=\"cmat-carousel-items-container\"\r\n [style.height]=\"isVertical() ? verticalViewContainerHeight() : 'auto'\"\r\n (transitionend)=\"onTransitionEnd()\">\r\n @for (item of clonedItemsForStarting(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === data().length,\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': (clonedItemsForStarting().length) - 1 === $index\r\n }\" [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of data(); track $index) {\r\n <div [ngClass]=\"{ 'cmat-carousel-item': true, 'cmat-carousel-item-active': firstIndex() <= $index && lastIndex() >= $index, 'cmat-carousel-item-start': firstIndex() === $index, 'cmat-carousel-item-end': lastIndex() === $index }\"\r\n [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of clonedItemsForFinishing(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === numVisible(),\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': clonedItemsForFinishing().length - 1 === $index\r\n }\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n </div>\r\n </div>\r\n\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-next': true}\"\r\n [disabled]=\"!isCircular() && page() >= totalDots() - 1\" (click)=\"navForward($event)\">\r\n @if(!nextIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-right'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-down'\"></mat-icon>\r\n }\r\n }\r\n @else{\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"nextIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n </div>\r\n @if(showIndicators()){\r\n <ul #indicatorContent role=\"presentation\" [ngClass]=\"'cmat-carousel-indicators'\"\r\n [class]=\"indicatorsContentClass()\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\">\r\n @for (totalDot of getTotalDotsArray(); track $index) {\r\n <li [ngClass]=\"{ 'cmat-carousel-indicator': true, 'cmat-carousel-indicator-active': page() === $index }\"\r\n [attr.data-pc-section]=\"'indicator'\">\r\n <button type=\"button\" [ngClass]=\"'cmat-carousel-indicator-button'\" [class]=\"indicatorStyleClass()\"\r\n [ngStyle]=\"indicatorStyle()\" [attr.aria-current]=\"page() === $index ? 'page' : undefined\"\r\n [tabindex]=\"page() === $index ? 0 : -1\" (click)=\"onDotClick($event, $index)\">\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n\r\n </div>\r\n @if(footerFacet() || footerTemplate()){\r\n <div class=\"cmat-carousel-footer\">\r\n <ng-content select=\"cmat-carousel-footer\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n</div>", styles: ["cmat-carousel{display:flex;flex-direction:column}cmat-carousel .cmat-carousel-content{display:flex;flex-direction:column;overflow:hidden}cmat-carousel .cmat-carousel-prev,cmat-carousel .cmat-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative;margin:.25rem}cmat-carousel .cmat-carousel-container{display:flex;flex-direction:row;width:100%}cmat-carousel .cmat-carousel-items-content{overflow:hidden;width:100%}cmat-carousel .cmat-carousel-items-container{display:flex;flex-direction:row}cmat-carousel .cmat-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;padding:1rem;gap:.5rem;margin:0;list-style:none}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator-active{background:var(--cmat-text-default)!important;opacity:1!important}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator{border:0 none;border-radius:6px;background:var(--cmat-text-disabled);transition:background .2s,color .2s,outline-color .2s,box-shadow .2s;opacity:.3}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator .cmat-carousel-indicator-button{display:flex;align-items:center;justify-content:center;width:2rem;height:.5rem;outline-color:transparent;padding:0;margin:0;-webkit-user-select:none;user-select:none;cursor:pointer}cmat-carousel .cmat-carousel-vertical .cmat-carousel-container{flex-direction:column;width:auto}cmat-carousel .cmat-carousel-vertical .cmat-carousel-items-container{flex-direction:column;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: CmatArrowCursorDirective, selector: "[cmatArrowCursor]", inputs: ["animationDuration", "orientation", "enabled", "selector"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
621
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
622
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: CmatCarouselComponent, isStandalone: true, selector: "cmat-carousel", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, numScroll: { classPropertyName: "numScroll", publicName: "numScroll", isSignal: true, isRequired: false, transformFunction: null }, autoplayInterval: { classPropertyName: "autoplayInterval", publicName: "autoplayInterval", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, navigatorsType: { classPropertyName: "navigatorsType", publicName: "navigatorsType", isSignal: true, isRequired: false, transformFunction: null }, verticalViewPortHeight: { classPropertyName: "verticalViewPortHeight", publicName: "verticalViewPortHeight", isSignal: true, isRequired: false, transformFunction: null }, arrowSelector: { classPropertyName: "arrowSelector", publicName: "arrowSelector", isSignal: true, isRequired: false, transformFunction: null }, contentClass: { classPropertyName: "contentClass", publicName: "contentClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorsContentClass: { classPropertyName: "indicatorsContentClass", publicName: "indicatorsContentClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorsContentStyle: { classPropertyName: "indicatorsContentStyle", publicName: "indicatorsContentStyle", isSignal: true, isRequired: false, transformFunction: null }, indicatorStyleClass: { classPropertyName: "indicatorStyleClass", publicName: "indicatorStyleClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorStyle: { classPropertyName: "indicatorStyle", publicName: "indicatorStyle", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, suspendAutoPlay: { classPropertyName: "suspendAutoPlay", publicName: "suspendAutoPlay", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "pageChange", numVisible: "numVisibleChange", numScroll: "numScrollChange", pageEvent: "pageEvent" }, queries: [{ propertyName: "headerFacet", first: true, predicate: CmatCarouselHeaderComponent, descendants: true, isSignal: true }, { propertyName: "footerFacet", first: true, predicate: CmatCarouselFooterComponent, descendants: true, isSignal: true }, { propertyName: "templates", predicate: CmatCarouselTemplateDirective, isSignal: true }], viewQueries: [{ propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true, isSignal: true }, { propertyName: "indicatorContent", first: true, predicate: ["indicatorContent"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div role=\"region\" [attr.id]=\"id\"\r\n [ngClass]=\"{ 'cmat-carousel': true, 'cmat-carousel-vertical': isVertical(), 'cmat-carousel-horizontal': !isVertical() }\"\r\n [ngStyle]=\"style()\" [class]=\"styleClass()\">\r\n\r\n @if(headerFacet() || headerTemplate()){\r\n <div class=\"cmat-carousel-header\">\r\n <ng-content select=\"cmat-carousel-header\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n\r\n <div [class]=\"contentClass()\" [ngClass]=\"'items-center cmat-carousel-content'\">\r\n <div class=\"cmat-carousel-container\" cmatArrowCursor [orientation]=\"orientation()\" [selector]=\"arrowSelector()\"\r\n [enabled]=\"navigatorsType()==='arrow'\" [attr.aria-live]=\"allowAutoplay() ? 'polite' : 'off'\"\r\n (clickEvent)=\"arrowCursorClick($event)\">\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-prev': true }\"\r\n [disabled]=\"!isCircular() && page() === 0\" (click)=\"navBackward($event)\">\r\n @if(!previousIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-left'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-up'\"></mat-icon>\r\n }\r\n }\r\n @else {\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"previousIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n <div class=\"cmat-carousel-items-content\" (touchend)=\"onTouchEnd($event)\"\r\n (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\">\r\n <div #itemsContainer class=\"cmat-carousel-items-container\"\r\n [style.height]=\"isVertical() ? verticalViewContainerHeight() : 'auto'\"\r\n (transitionend)=\"onTransitionEnd()\">\r\n @for (item of clonedItemsForStarting(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === data().length,\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': (clonedItemsForStarting().length) - 1 === $index\r\n }\" [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of data(); track $index) {\r\n <div [ngClass]=\"{ 'cmat-carousel-item': true, 'cmat-carousel-item-active': firstIndex() <= $index && lastIndex() >= $index, 'cmat-carousel-item-start': firstIndex() === $index, 'cmat-carousel-item-end': lastIndex() === $index }\"\r\n [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of clonedItemsForFinishing(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === numVisible(),\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': clonedItemsForFinishing().length - 1 === $index\r\n }\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n </div>\r\n </div>\r\n\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-next': true}\"\r\n [disabled]=\"!isCircular() && page() >= totalDots() - 1\" (click)=\"navForward($event)\">\r\n @if(!nextIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-right'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-down'\"></mat-icon>\r\n }\r\n }\r\n @else{\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"nextIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n </div>\r\n @if(showIndicators()){\r\n <ul #indicatorContent role=\"presentation\" [ngClass]=\"'cmat-carousel-indicators'\"\r\n [class]=\"indicatorsContentClass()\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\">\r\n @for (totalDot of getTotalDotsArray(); track $index) {\r\n <li [ngClass]=\"{ 'cmat-carousel-indicator': true, 'cmat-carousel-indicator-active': page() === $index }\"\r\n [attr.data-pc-section]=\"'indicator'\">\r\n <button type=\"button\" [ngClass]=\"'cmat-carousel-indicator-button'\" [class]=\"indicatorStyleClass()\"\r\n [ngStyle]=\"indicatorStyle()\" [attr.aria-current]=\"page() === $index ? 'page' : undefined\"\r\n [tabindex]=\"page() === $index ? 0 : -1\" (click)=\"onDotClick($event, $index)\">\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n\r\n </div>\r\n @if(footerFacet() || footerTemplate()){\r\n <div class=\"cmat-carousel-footer\">\r\n <ng-content select=\"cmat-carousel-footer\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n</div>", styles: ["cmat-carousel{display:flex;flex-direction:column}cmat-carousel .cmat-carousel-content{display:flex;flex-direction:column;overflow:hidden}cmat-carousel .cmat-carousel-prev,cmat-carousel .cmat-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative;margin:.25rem}cmat-carousel .cmat-carousel-container{display:flex;flex-direction:row;width:100%}cmat-carousel .cmat-carousel-items-content{overflow:hidden;width:100%}cmat-carousel .cmat-carousel-items-container{display:flex;flex-direction:row}cmat-carousel .cmat-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;padding:1rem;gap:.5rem;margin:0;list-style:none}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator-active{background:var(--cmat-text-default)!important;opacity:1!important}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator{border:0 none;border-radius:6px;background:var(--cmat-text-disabled);transition:background .2s,color .2s,outline-color .2s,box-shadow .2s;opacity:.3}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator .cmat-carousel-indicator-button{display:flex;align-items:center;justify-content:center;width:2rem;height:.5rem;outline-color:transparent;padding:0;margin:0;-webkit-user-select:none;user-select:none;cursor:pointer}cmat-carousel .cmat-carousel-vertical .cmat-carousel-container{flex-direction:column;width:auto}cmat-carousel .cmat-carousel-vertical .cmat-carousel-items-container{flex-direction:column;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: CmatArrowCursorDirective, selector: "[cmatArrowCursor]", inputs: ["animationDuration", "orientation", "enabled", "selector"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
623
623
  }
624
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCarouselComponent, decorators: [{
624
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCarouselComponent, decorators: [{
625
625
  type: Component,
626
626
  args: [{ selector: 'cmat-carousel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [MatIconModule, MatButtonModule, CmatArrowCursorDirective, CommonModule], template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div role=\"region\" [attr.id]=\"id\"\r\n [ngClass]=\"{ 'cmat-carousel': true, 'cmat-carousel-vertical': isVertical(), 'cmat-carousel-horizontal': !isVertical() }\"\r\n [ngStyle]=\"style()\" [class]=\"styleClass()\">\r\n\r\n @if(headerFacet() || headerTemplate()){\r\n <div class=\"cmat-carousel-header\">\r\n <ng-content select=\"cmat-carousel-header\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n\r\n <div [class]=\"contentClass()\" [ngClass]=\"'items-center cmat-carousel-content'\">\r\n <div class=\"cmat-carousel-container\" cmatArrowCursor [orientation]=\"orientation()\" [selector]=\"arrowSelector()\"\r\n [enabled]=\"navigatorsType()==='arrow'\" [attr.aria-live]=\"allowAutoplay() ? 'polite' : 'off'\"\r\n (clickEvent)=\"arrowCursorClick($event)\">\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-prev': true }\"\r\n [disabled]=\"!isCircular() && page() === 0\" (click)=\"navBackward($event)\">\r\n @if(!previousIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-left'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-up'\"></mat-icon>\r\n }\r\n }\r\n @else {\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"previousIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n <div class=\"cmat-carousel-items-content\" (touchend)=\"onTouchEnd($event)\"\r\n (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\">\r\n <div #itemsContainer class=\"cmat-carousel-items-container\"\r\n [style.height]=\"isVertical() ? verticalViewContainerHeight() : 'auto'\"\r\n (transitionend)=\"onTransitionEnd()\">\r\n @for (item of clonedItemsForStarting(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === data().length,\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': (clonedItemsForStarting().length) - 1 === $index\r\n }\" [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of data(); track $index) {\r\n <div [ngClass]=\"{ 'cmat-carousel-item': true, 'cmat-carousel-item-active': firstIndex() <= $index && lastIndex() >= $index, 'cmat-carousel-item-start': firstIndex() === $index, 'cmat-carousel-item-end': lastIndex() === $index }\"\r\n [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of clonedItemsForFinishing(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === numVisible(),\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': clonedItemsForFinishing().length - 1 === $index\r\n }\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n </div>\r\n </div>\r\n\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-next': true}\"\r\n [disabled]=\"!isCircular() && page() >= totalDots() - 1\" (click)=\"navForward($event)\">\r\n @if(!nextIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-right'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-down'\"></mat-icon>\r\n }\r\n }\r\n @else{\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"nextIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n </div>\r\n @if(showIndicators()){\r\n <ul #indicatorContent role=\"presentation\" [ngClass]=\"'cmat-carousel-indicators'\"\r\n [class]=\"indicatorsContentClass()\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\">\r\n @for (totalDot of getTotalDotsArray(); track $index) {\r\n <li [ngClass]=\"{ 'cmat-carousel-indicator': true, 'cmat-carousel-indicator-active': page() === $index }\"\r\n [attr.data-pc-section]=\"'indicator'\">\r\n <button type=\"button\" [ngClass]=\"'cmat-carousel-indicator-button'\" [class]=\"indicatorStyleClass()\"\r\n [ngStyle]=\"indicatorStyle()\" [attr.aria-current]=\"page() === $index ? 'page' : undefined\"\r\n [tabindex]=\"page() === $index ? 0 : -1\" (click)=\"onDotClick($event, $index)\">\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n\r\n </div>\r\n @if(footerFacet() || footerTemplate()){\r\n <div class=\"cmat-carousel-footer\">\r\n <ng-content select=\"cmat-carousel-footer\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n</div>", styles: ["cmat-carousel{display:flex;flex-direction:column}cmat-carousel .cmat-carousel-content{display:flex;flex-direction:column;overflow:hidden}cmat-carousel .cmat-carousel-prev,cmat-carousel .cmat-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative;margin:.25rem}cmat-carousel .cmat-carousel-container{display:flex;flex-direction:row;width:100%}cmat-carousel .cmat-carousel-items-content{overflow:hidden;width:100%}cmat-carousel .cmat-carousel-items-container{display:flex;flex-direction:row}cmat-carousel .cmat-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;padding:1rem;gap:.5rem;margin:0;list-style:none}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator-active{background:var(--cmat-text-default)!important;opacity:1!important}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator{border:0 none;border-radius:6px;background:var(--cmat-text-disabled);transition:background .2s,color .2s,outline-color .2s,box-shadow .2s;opacity:.3}cmat-carousel .cmat-carousel-indicators .cmat-carousel-indicator .cmat-carousel-indicator-button{display:flex;align-items:center;justify-content:center;width:2rem;height:.5rem;outline-color:transparent;padding:0;margin:0;-webkit-user-select:none;user-select:none;cursor:pointer}cmat-carousel .cmat-carousel-vertical .cmat-carousel-container{flex-direction:column;width:auto}cmat-carousel .cmat-carousel-vertical .cmat-carousel-items-container{flex-direction:column;height:100%}\n"] }]
627
627
  }], ctorParameters: () => [], propDecorators: { page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], numVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "numVisible", required: false }] }, { type: i0.Output, args: ["numVisibleChange"] }], numScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "numScroll", required: false }] }, { type: i0.Output, args: ["numScrollChange"] }], autoplayInterval: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoplayInterval", required: false }] }], responsiveOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsiveOptions", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], navigatorsType: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigatorsType", required: false }] }], verticalViewPortHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "verticalViewPortHeight", required: false }] }], arrowSelector: [{ type: i0.Input, args: [{ isSignal: true, alias: "arrowSelector", required: false }] }], contentClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentClass", required: false }] }], indicatorsContentClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicatorsContentClass", required: false }] }], indicatorsContentStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicatorsContentStyle", required: false }] }], indicatorStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicatorStyleClass", required: false }] }], indicatorStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicatorStyle", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], circular: [{ type: i0.Input, args: [{ isSignal: true, alias: "circular", required: false }] }], showIndicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIndicators", required: false }] }], showNavigators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showNavigators", required: false }] }], suspendAutoPlay: [{ type: i0.Input, args: [{ isSignal: true, alias: "suspendAutoPlay", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], pageEvent: [{ type: i0.Output, args: ["pageEvent"] }], itemsContainer: [{ type: i0.ViewChild, args: ['itemsContainer', { isSignal: true }] }], indicatorContent: [{ type: i0.ViewChild, args: ['indicatorContent', { isSignal: true }] }], headerFacet: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CmatCarouselHeaderComponent), { isSignal: true }] }], footerFacet: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CmatCarouselFooterComponent), { isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CmatCarouselTemplateDirective), { isSignal: true }] }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"cmat-components-carousel.mjs","sources":["../../../projects/cmat/components/carousel/carousel.component.ts","../../../projects/cmat/components/carousel/carousel.component.html","../../../projects/cmat/components/carousel/cmat-components-carousel.ts"],"sourcesContent":["\r\nimport { CommonModule } from '@angular/common';\r\nimport {\r\n AfterContentInit,\r\n ChangeDetectionStrategy,\r\n Component,\r\n Directive,\r\n ElementRef,\r\n OnDestroy,\r\n Renderer2,\r\n TemplateRef,\r\n ViewEncapsulation,\r\n booleanAttribute,\r\n numberAttribute,\r\n DOCUMENT,\r\n inject,\r\n signal,\r\n effect,\r\n computed,\r\n untracked,\r\n input,\r\n output,\r\n viewChild,\r\n contentChild,\r\n contentChildren,\r\n model,\r\n} from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { CmatArrowCursorDirective } from 'cmat/directives/arrow-cursor';\r\nimport { CmatCarouselPageEvent, CmatCarouselResponsiveOptions } from './carousel.interface';\r\n\r\n@Component({\r\n selector: 'cmat-carousel-header',\r\n template: '<ng-content></ng-content>',\r\n})\r\nexport class CmatCarouselHeaderComponent { }\r\n\r\n@Component({\r\n selector: 'cmat-carousel-footer',\r\n template: '<ng-content></ng-content>',\r\n})\r\nexport class CmatCarouselFooterComponent { }\r\n\r\n@Directive({\r\n selector: '[cmatCarouselTemplate]',\r\n})\r\nexport class CmatCarouselTemplateDirective {\r\n template = inject<TemplateRef<unknown>>(TemplateRef);\r\n\r\n readonly type = input<string | undefined>();\r\n readonly name = input<string | undefined>();\r\n}\r\n\r\nlet NEXT_ID = 0;\r\n\r\n@Component({\r\n selector: 'cmat-carousel',\r\n templateUrl: './carousel.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n styleUrls: ['./carousel.component.scss'],\r\n imports: [MatIconModule, MatButtonModule, CmatArrowCursorDirective, CommonModule],\r\n})\r\nexport class CmatCarouselComponent implements AfterContentInit, OnDestroy {\r\n el = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\r\n readonly page = model<number>(0);\r\n readonly numVisible = model<number>(1);\r\n readonly numScroll = model<number>(1);\r\n readonly autoplayInterval = input(0, { transform: numberAttribute });\r\n readonly responsiveOptions = input<CmatCarouselResponsiveOptions[] | undefined>();\r\n readonly orientation = input<'horizontal' | 'vertical'>('horizontal');\r\n readonly navigatorsType = input<'normal' | 'arrow'>('normal');\r\n readonly verticalViewPortHeight = input<string>('300px');\r\n readonly arrowSelector = input<string>('.carousel-arrow-cursor');\r\n readonly contentClass = input<string>('');\r\n readonly indicatorsContentClass = input<string>('');\r\n readonly indicatorsContentStyle = input<Record<string, unknown> | null | undefined>(null);\r\n readonly indicatorStyleClass = input<string>('');\r\n readonly indicatorStyle = input<Record<string, unknown> | null | undefined>(null);\r\n readonly data = input.required<Record<string, unknown>[]>();\r\n readonly circular = input(false, { transform: booleanAttribute });\r\n readonly showIndicators = input(true, { transform: booleanAttribute });\r\n readonly showNavigators = input(true, { transform: booleanAttribute });\r\n readonly suspendAutoPlay = input(true, { transform: booleanAttribute });\r\n readonly style = input<Record<string, unknown> | null | undefined>(undefined);\r\n readonly styleClass = input<string>('');\r\n readonly pageEvent = output<CmatCarouselPageEvent>();\r\n\r\n readonly itemsContainer = viewChild<ElementRef<HTMLElement>>('itemsContainer');\r\n readonly indicatorContent = viewChild<ElementRef<HTMLElement>>('indicatorContent');\r\n readonly headerFacet = contentChild(CmatCarouselHeaderComponent);\r\n readonly footerFacet = contentChild(CmatCarouselFooterComponent);\r\n readonly templates = contentChildren(CmatCarouselTemplateDirective);\r\n\r\n\r\n readonly id = `cmat-carousel-${NEXT_ID++}`;\r\n\r\n readonly carouselStyle = signal<HTMLStyleElement | null>(null);\r\n readonly startPos = signal<{ x: number; y: number } | null>(null);\r\n readonly clonedItemsForStarting = signal<Record<string, unknown>[]>([]);\r\n readonly clonedItemsForFinishing = signal<Record<string, unknown>[]>([]);\r\n\r\n readonly isUserInteracted = signal<boolean>(false);\r\n readonly swipeThreshold = signal(20);\r\n\r\n readonly itemTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly headerTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly footerTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly previousIconTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly nextIconTemplate = signal<TemplateRef<unknown> | null>(null);\r\n\r\n readonly isVertical = computed(() => this.orientation() === 'vertical');\r\n\r\n readonly allowAutoplay = computed(() => {\r\n return this.autoplayInterval() > 0 && !this.isUserInteracted();\r\n });\r\n\r\n readonly verticalViewContainerHeight = computed(() => {\r\n if (!this.isVertical()) {\r\n return undefined;\r\n }\r\n\r\n const container = this.itemsContainer()?.nativeElement;\r\n if (container) {\r\n const firstItem = container.querySelector<HTMLElement>('.cmat-carousel-item');\r\n if (firstItem) {\r\n return `${firstItem.offsetHeight * this.numVisible()}px`;\r\n }\r\n }\r\n\r\n return this.verticalViewPortHeight();\r\n });\r\n\r\n readonly totalShiftedItems = computed(() => {\r\n const page = this.page();\r\n const ns = this.numScroll();\r\n const nv = this.numVisible();\r\n let total = page * ns * -1;\r\n\r\n if (this.isCircular()) {\r\n total -= nv;\r\n }\r\n\r\n if (page === this.totalDots() - 1 && this.remainingItems() > 0) {\r\n total += -1 * this.remainingItems() + ns;\r\n }\r\n\r\n return total;\r\n });\r\n\r\n readonly remainingItems = computed(() => {\r\n const d = this.data() ?? [];\r\n const nv = this.numVisible();\r\n const ns = this.numScroll();\r\n if (!d.length || ns <= 0 || nv >= d.length) return 0;\r\n\r\n const remainder = (d.length - nv) % ns;\r\n return remainder < 0 ? remainder + ns : remainder;\r\n });\r\n\r\n\r\n readonly totalDots = computed(() => {\r\n const nv = this.numVisible();\r\n const ns = this.numScroll();\r\n if (nv > 0 && ns > 0) {\r\n if (!this.data() || this.data().length === 0) return 0;\r\n return Math.max(1, Math.ceil((this.data().length - nv) / ns) + 1);\r\n }\r\n return 0;\r\n });\r\n\r\n readonly isRemainingItemsAdded = computed(() => {\r\n return this.page() === this.totalDots() - 1 && this.remainingItems() > 0;\r\n });\r\n\r\n readonly isCircular = computed(() => {\r\n const data = this.data();\r\n return this.circular() && !!data && data.length >= this.numVisible();\r\n });\r\n readonly isEmpty = computed(() => {\r\n const data = this.data();\r\n return !data || data.length === 0;\r\n });\r\n readonly getTotalDotsArray = computed(() => {\r\n const dots = this.totalDots();\r\n return dots > 0 ? Array.from({ length: dots }, (_, i) => i) : [];\r\n });\r\n\r\n readonly firstIndex = computed(() => this.page() * this.numScroll());\r\n readonly lastIndex = computed(() => Math.min(this.page() * this.numScroll() + this.numVisible() - 1, (this.data()?.length ?? 0) - 1));\r\n\r\n private readonly _document = inject<Document>(DOCUMENT);\r\n private renderer = inject(Renderer2);\r\n private documentResizeListener: VoidFunction | null = null;\r\n\r\n constructor() {\r\n this._initResponsiveEffect();\r\n this._initAutoplayEffect();\r\n this._initCloneItemsEffect();\r\n }\r\n\r\n\r\n ngAfterContentInit(): void {\r\n this._calculatePosition();\r\n this._createStyle();\r\n\r\n\r\n if (this.responsiveOptions()) {\r\n this._bindDocumentListeners();\r\n }\r\n\r\n this.templates()?.forEach((item): void => {\r\n switch (item.name()) {\r\n case 'item': this.itemTemplate.set(item.template); break;\r\n case 'header': this.headerTemplate.set(item.template); break;\r\n case 'footer': this.footerTemplate.set(item.template); break;\r\n case 'previousicon': this.previousIconTemplate.set(item.template); break;\r\n case 'nexticon': this.nextIconTemplate.set(item.template); break;\r\n default: this.itemTemplate.set(item.template); break;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unbindDocumentListeners();\r\n this.stopAutoplay();\r\n if (this.carouselStyle()) {\r\n const el = this.carouselStyle()!;\r\n if (el.parentNode) el.parentNode.removeChild(el);\r\n this.carouselStyle.set(null);\r\n }\r\n }\r\n\r\n\r\n navForward(e: MouseEvent | TouchEvent | null, index?: number): void {\r\n if (this.isCircular() || this.page() < this.totalDots() - 1) {\r\n this._step(-1, index);\r\n }\r\n this._handleInteractionStopAutoplay();\r\n e?.cancelable && e.preventDefault();\r\n }\r\n\r\n navBackward(e: MouseEvent | TouchEvent | null, index?: number): void {\r\n if (this.isCircular() || this.page() !== 0) {\r\n this._step(1, index);\r\n }\r\n this._handleInteractionStopAutoplay();\r\n e?.cancelable && e.preventDefault();\r\n }\r\n\r\n onDotClick(e: MouseEvent, index: number): void {\r\n this._handleInteractionStopAutoplay();\r\n const currentPage = this.page();\r\n if (index > currentPage) {\r\n this.navForward(e, index);\r\n } else if (index < currentPage) {\r\n this.navBackward(e, index);\r\n }\r\n }\r\n\r\n onTouchStart(e: TouchEvent): void {\r\n const touchobj = e.changedTouches[0];\r\n this.startPos.set({ x: touchobj.pageX, y: touchobj.pageY });\r\n }\r\n\r\n onTouchMove(e: TouchEvent | MouseEvent): void {\r\n e.cancelable && e.preventDefault();\r\n }\r\n\r\n onTouchEnd(e: TouchEvent): void {\r\n const touchobj = e.changedTouches[0];\r\n const start = this.startPos();\r\n if (!start) return;\r\n\r\n const diff = this.isVertical()\r\n ? touchobj.pageY - start.y\r\n : touchobj.pageX - start.x;\r\n\r\n this._changePageOnTouch(e, diff);\r\n }\r\n\r\n arrowCursorClick(cursorSide: string | null): void {\r\n switch (cursorSide) {\r\n case 'left': case 'up': this.navBackward(null); break;\r\n case 'right': case 'down': this.navForward(null); break;\r\n }\r\n }\r\n\r\n onTransitionEnd(): void {\r\n if (this.itemsContainer()) {\r\n this.itemsContainer()!.nativeElement.style.transition = '';\r\n if ((this.page() === 0 || this.page() === this.totalDots() - 1) && this.isCircular()) {\r\n this._applyTransform(this.totalShiftedItems());\r\n }\r\n }\r\n }\r\n\r\n stopAutoplay(): void {\r\n this.isUserInteracted.set(true);\r\n }\r\n\r\n startAutoplay(): void {\r\n this.isUserInteracted.set(false);\r\n }\r\n\r\n isFirstItemActive(index: number): boolean {\r\n return index === this.firstIndex();\r\n }\r\n\r\n\r\n isLastItemActive(index: number): boolean {\r\n return index === this.lastIndex();\r\n }\r\n\r\n isMiddleItemActive(index: number): boolean {\r\n const first = this.firstIndex();\r\n const last = this.lastIndex();\r\n return index > first && index < last;\r\n }\r\n\r\n onIndicatorKeydown(event: KeyboardEvent): void {\r\n switch (event.code) {\r\n case 'ArrowRight': this._onRightKey(); break;\r\n case 'ArrowLeft': this._onLeftKey(); break;\r\n case 'Home': this._onHomeKey(); break;\r\n case 'End': this._onEndKey(); break;\r\n case 'Tab': this._onTabKey(); break;\r\n }\r\n }\r\n\r\n private _handleInteractionStopAutoplay(): void {\r\n if (this.autoplayInterval() && this.suspendAutoPlay()) {\r\n this.stopAutoplay();\r\n }\r\n }\r\n\r\n private _changePageOnTouch(e: TouchEvent | MouseEvent, diff: number): void {\r\n if (Math.abs(diff) > this.swipeThreshold()) {\r\n if (diff < 0) {\r\n this.navForward(e);\r\n } else {\r\n this.navBackward(e);\r\n }\r\n }\r\n }\r\n\r\n private _step(dir: number, page?: number): void {\r\n let totalShiftedItems = this.totalShiftedItems();\r\n const isCircular = this.isCircular();\r\n let nextPage: number;\r\n\r\n if (page != null) {\r\n totalShiftedItems = this.numScroll() * page * -1;\r\n if (isCircular) {\r\n totalShiftedItems -= this.numVisible();\r\n }\r\n nextPage = page;\r\n } else {\r\n totalShiftedItems += this.numScroll() * dir;\r\n if (this.isRemainingItemsAdded()) {\r\n totalShiftedItems += this.remainingItems() - this.numScroll() * dir;\r\n }\r\n\r\n const originalShiftedItems = isCircular ? totalShiftedItems + this.numVisible() : totalShiftedItems;\r\n nextPage = Math.abs(Math.floor(originalShiftedItems / this.numScroll()));\r\n }\r\n\r\n if (isCircular && this.page() === this.totalDots() - 1 && dir === -1) {\r\n const data = this.data();\r\n if (data) {\r\n totalShiftedItems = -1 * (data.length + this.numVisible());\r\n }\r\n nextPage = 0;\r\n } else if (isCircular && this.page() === 0 && dir === 1) {\r\n totalShiftedItems = 0;\r\n nextPage = this.totalDots() - 1;\r\n } else if (nextPage === this.totalDots() - 1 && this.remainingItems() > 0) {\r\n totalShiftedItems += this.remainingItems() * -1 - this.numScroll() * dir;\r\n }\r\n\r\n this._applyTransform(totalShiftedItems, true);\r\n\r\n this.page.set(nextPage);\r\n this.pageEvent.emit({ page: this.page() });\r\n this._updateCarouselItemsAccessibility();\r\n }\r\n\r\n private _applyTransform(shiftedItems: number, withTransition: boolean = false): void {\r\n if (!this.itemsContainer()) return;\r\n\r\n const nv = this.numVisible();\r\n if (nv === 0) return;\r\n\r\n const transform = this.isVertical()\r\n ? `translate3d(0, ${shiftedItems * (100 / nv)}%, 0)`\r\n : `translate3d(${shiftedItems * (100 / nv)}%, 0, 0)`;\r\n\r\n const el = this.itemsContainer()?.nativeElement;\r\n if (el) {\r\n el.style.transform = transform;\r\n el.style.transition = withTransition ? 'transform 500ms ease 0s' : '';\r\n }\r\n }\r\n\r\n private _initResponsiveEffect(): void {\r\n effect(() => {\r\n this._createStyle();\r\n this._calculatePosition();\r\n\r\n if (this.responsiveOptions()) {\r\n this._bindDocumentListeners();\r\n } else {\r\n this._unbindDocumentListeners();\r\n }\r\n });\r\n }\r\n\r\n private _initCloneItemsEffect(): void {\r\n effect(() => {\r\n this._setCloneItems();\r\n });\r\n }\r\n\r\n private _initAutoplayEffect(): void {\r\n effect((onCleanup) => {\r\n const interval = this.autoplayInterval();\r\n const isAllowed = this.allowAutoplay();\r\n let intervalId: number | null = null;\r\n\r\n if (interval > 0 && isAllowed) {\r\n intervalId = window.setInterval(() => {\r\n untracked(() => {\r\n const currentPage = this.page();\r\n const dots = this.totalDots();\r\n\r\n if (dots > 0) {\r\n if (currentPage === dots - 1) {\r\n this._step(-1, 0);\r\n } else {\r\n this._step(-1, currentPage + 1);\r\n }\r\n }\r\n });\r\n\r\n }, interval);\r\n }\r\n\r\n onCleanup(() => {\r\n if (intervalId) {\r\n clearInterval(intervalId);\r\n }\r\n });\r\n });\r\n }\r\n\r\n private _bindDocumentListeners(): void {\r\n if (this.documentResizeListener) return;\r\n this.documentResizeListener = this.renderer.listen('window', 'resize', (): void => {\r\n this._calculatePosition();\r\n });\r\n\r\n }\r\n\r\n private _unbindDocumentListeners(): void {\r\n if (this.documentResizeListener) {\r\n this.documentResizeListener();\r\n this.documentResizeListener = null;\r\n }\r\n }\r\n\r\n private _createStyle(): void {\r\n if (!this.carouselStyle()) {\r\n const styleEl = this.renderer.createElement('style') as HTMLStyleElement;\r\n this.carouselStyle.set(styleEl);\r\n this.renderer.appendChild(this._document.head, styleEl);\r\n }\r\n\r\n let innerHTML = `\r\n #${this.id} .cmat-carousel-item {\r\n flex: 1 0 ${100 / this.numVisible()}%\r\n }\r\n `;\r\n\r\n if (this.responsiveOptions()) {\r\n const sortedOptions = [...this.responsiveOptions()!].sort((a, b) => {\r\n const bpA = a.breakpoint === null ? Infinity : parseInt(a.breakpoint, 10);\r\n const bpB = b.breakpoint === null ? Infinity : parseInt(b.breakpoint, 10);\r\n return bpB - bpA; // Descending\r\n });\r\n\r\n for (const res of sortedOptions) {\r\n innerHTML += `\r\n @media screen and (max-width: ${res.breakpoint}) {\r\n #${this.id} .cmat-carousel-item {\r\n flex: 1 0 ${100 / res.numVisible}%\r\n }\r\n }\r\n `;\r\n }\r\n }\r\n\r\n if (this.carouselStyle()) {\r\n this.renderer.setProperty(this.carouselStyle(), 'textContent', innerHTML);\r\n }\r\n }\r\n\r\n private _calculatePosition(): void {\r\n if (!this.responsiveOptions() || this.responsiveOptions()!.length === 0) {\r\n return;\r\n }\r\n\r\n const windowWidth = this._document.defaultView?.innerWidth ?? 0;\r\n\r\n let matchedResponsiveData: CmatCarouselResponsiveOptions | null = null;\r\n\r\n const sortedOptions = [...this.responsiveOptions()!].sort((a, b) => {\r\n const bpA = a.breakpoint === null || a.breakpoint === undefined ? Infinity : parseInt(a.breakpoint, 10);\r\n const bpB = b.breakpoint === null || b.breakpoint === undefined ? Infinity : parseInt(b.breakpoint, 10);\r\n return bpB - bpA;\r\n });\r\n\r\n for (const res of sortedOptions) {\r\n const bp = parseInt(res.breakpoint, 10);\r\n if (!isNaN(bp) && bp >= windowWidth) {\r\n matchedResponsiveData = res;\r\n break;\r\n }\r\n }\r\n\r\n if (matchedResponsiveData) {\r\n if (this.numScroll() !== matchedResponsiveData.numScroll) {\r\n const oldNumScroll = this.numScroll();\r\n const newNumScroll = matchedResponsiveData.numScroll;\r\n\r\n let page = this.page();\r\n if (oldNumScroll > 0) {\r\n page = Math.floor((page * oldNumScroll) / newNumScroll);\r\n }\r\n\r\n this.numScroll.set(newNumScroll);\r\n this.page.set(page);\r\n this.pageEvent.emit({ page: this.page() });\r\n }\r\n\r\n if (this.numVisible() !== matchedResponsiveData.numVisible) {\r\n this.numVisible.set(matchedResponsiveData.numVisible);\r\n this._setCloneItems();\r\n }\r\n }\r\n\r\n\r\n if (matchedResponsiveData) {\r\n this._createStyle();\r\n }\r\n }\r\n\r\n private _updateCarouselItemsAccessibility(): void {\r\n const slides = this.el.nativeElement.querySelectorAll('.cmat-carousel-item');\r\n const currentPage = this.page();\r\n const nv = this.numVisible();\r\n const ns = this.numScroll();\r\n const isCircular = this.isCircular();\r\n\r\n if (isCircular) {\r\n slides.forEach((slide: Element): void => {\r\n (slide as HTMLElement).removeAttribute('aria-hidden');\r\n const focusableElements = (slide as HTMLElement).querySelectorAll<HTMLElement>('a, button, input, select, textarea, [tabindex]');\r\n focusableElements.forEach((el) => {\r\n el.removeAttribute('tabindex');\r\n });\r\n });\r\n return;\r\n }\r\n\r\n\r\n const startIdx = currentPage * ns;\r\n const endIdx = startIdx + nv;\r\n\r\n slides.forEach((slide: Element, domIndex: number): void => {\r\n const isActive = domIndex >= startIdx && domIndex < endIdx;\r\n\r\n (slide as HTMLElement).setAttribute('aria-hidden', !isActive ? 'true' : 'false');\r\n\r\n const focusableElements = (slide as HTMLElement).querySelectorAll<HTMLElement>('a, button, input, select, textarea, [tabindex]');\r\n focusableElements.forEach((el) => {\r\n el.tabIndex = isActive ? 0 : -1;\r\n });\r\n });\r\n }\r\n\r\n private _setCloneItems(): void {\r\n this.clonedItemsForStarting.set([]);\r\n this.clonedItemsForFinishing.set([]);\r\n\r\n if (this.isCircular()) {\r\n const data = this.data() ?? [];\r\n const nv = this.numVisible();\r\n if (data.length >= nv) {\r\n this.clonedItemsForStarting.set([...data.slice(-1 * nv)]);\r\n this.clonedItemsForFinishing.set([...data.slice(0, nv)]);\r\n }\r\n }\r\n }\r\n\r\n\r\n private _findFocusedIndicatorIndex(): number {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll<HTMLElement>('[data-pc-section=\"indicator\"]') ?? []);\r\n const activeIndicator = this.indicatorContent()?.nativeElement?.querySelector<HTMLElement>('[data-pc-section=\"indicator\"] > button[tabindex=\"0\"]');\r\n return indicators.findIndex(ind => ind === activeIndicator?.parentElement);\r\n }\r\n\r\n private _changedFocusedIndicator(prevInd: number, nextInd: number): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll<HTMLElement>('[data-pc-section=\"indicator\"]') ?? []);\r\n if (indicators[prevInd]?.children[0]) (indicators[prevInd].children[0] as HTMLButtonElement).tabIndex = -1;\r\n if (indicators[nextInd]?.children[0]) {\r\n (indicators[nextInd].children[0] as HTMLButtonElement).tabIndex = 0;\r\n (indicators[nextInd].children[0] as HTMLButtonElement).focus();\r\n }\r\n }\r\n\r\n private _onRightKey(): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll('[data-pc-section=\"indicator\"]') ?? []);\r\n const activeIndex = this._findFocusedIndicatorIndex();\r\n this._changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);\r\n }\r\n\r\n private _onLeftKey(): void {\r\n const activeIndex = this._findFocusedIndicatorIndex();\r\n this._changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);\r\n }\r\n\r\n private _onHomeKey(): void {\r\n this._changedFocusedIndicator(this._findFocusedIndicatorIndex(), 0);\r\n }\r\n\r\n private _onEndKey(): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll('[data-pc-section=\"indicator\"]') ?? []);\r\n this._changedFocusedIndicator(this._findFocusedIndicatorIndex(), indicators.length - 1);\r\n }\r\n\r\n private _onTabKey(): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll<HTMLElement>('[data-pc-section=\"indicator\"]') ?? []);\r\n const highlightedIndex = indicators.findIndex(ind => ind.getAttribute('cmat-carousel-highlight') !== undefined);\r\n const activeIndicator = this.indicatorContent()?.nativeElement?.querySelector<HTMLElement>('[data-pc-section=\"indicator\"] > button[tabindex=\"0\"]');\r\n const activeIndex = indicators.findIndex(ind => ind === activeIndicator?.parentElement);\r\n\r\n if (indicators[activeIndex]?.children[0]) (indicators[activeIndex].children[0] as HTMLButtonElement).tabIndex = -1;\r\n if (indicators[highlightedIndex]?.children[0]) (indicators[highlightedIndex].children[0] as HTMLButtonElement).tabIndex = 0;\r\n }\r\n}","<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div role=\"region\" [attr.id]=\"id\"\r\n [ngClass]=\"{ 'cmat-carousel': true, 'cmat-carousel-vertical': isVertical(), 'cmat-carousel-horizontal': !isVertical() }\"\r\n [ngStyle]=\"style()\" [class]=\"styleClass()\">\r\n\r\n @if(headerFacet() || headerTemplate()){\r\n <div class=\"cmat-carousel-header\">\r\n <ng-content select=\"cmat-carousel-header\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n\r\n <div [class]=\"contentClass()\" [ngClass]=\"'items-center cmat-carousel-content'\">\r\n <div class=\"cmat-carousel-container\" cmatArrowCursor [orientation]=\"orientation()\" [selector]=\"arrowSelector()\"\r\n [enabled]=\"navigatorsType()==='arrow'\" [attr.aria-live]=\"allowAutoplay() ? 'polite' : 'off'\"\r\n (clickEvent)=\"arrowCursorClick($event)\">\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-prev': true }\"\r\n [disabled]=\"!isCircular() && page() === 0\" (click)=\"navBackward($event)\">\r\n @if(!previousIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-left'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-up'\"></mat-icon>\r\n }\r\n }\r\n @else {\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"previousIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n <div class=\"cmat-carousel-items-content\" (touchend)=\"onTouchEnd($event)\"\r\n (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\">\r\n <div #itemsContainer class=\"cmat-carousel-items-container\"\r\n [style.height]=\"isVertical() ? verticalViewContainerHeight() : 'auto'\"\r\n (transitionend)=\"onTransitionEnd()\">\r\n @for (item of clonedItemsForStarting(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === data().length,\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': (clonedItemsForStarting().length) - 1 === $index\r\n }\" [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of data(); track $index) {\r\n <div [ngClass]=\"{ 'cmat-carousel-item': true, 'cmat-carousel-item-active': firstIndex() <= $index && lastIndex() >= $index, 'cmat-carousel-item-start': firstIndex() === $index, 'cmat-carousel-item-end': lastIndex() === $index }\"\r\n [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of clonedItemsForFinishing(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === numVisible(),\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': clonedItemsForFinishing().length - 1 === $index\r\n }\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n </div>\r\n </div>\r\n\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-next': true}\"\r\n [disabled]=\"!isCircular() && page() >= totalDots() - 1\" (click)=\"navForward($event)\">\r\n @if(!nextIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-right'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-down'\"></mat-icon>\r\n }\r\n }\r\n @else{\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"nextIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n </div>\r\n @if(showIndicators()){\r\n <ul #indicatorContent role=\"presentation\" [ngClass]=\"'cmat-carousel-indicators'\"\r\n [class]=\"indicatorsContentClass()\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\">\r\n @for (totalDot of getTotalDotsArray(); track $index) {\r\n <li [ngClass]=\"{ 'cmat-carousel-indicator': true, 'cmat-carousel-indicator-active': page() === $index }\"\r\n [attr.data-pc-section]=\"'indicator'\">\r\n <button type=\"button\" [ngClass]=\"'cmat-carousel-indicator-button'\" [class]=\"indicatorStyleClass()\"\r\n [ngStyle]=\"indicatorStyle()\" [attr.aria-current]=\"page() === $index ? 'page' : undefined\"\r\n [tabindex]=\"page() === $index ? 0 : -1\" (click)=\"onDotClick($event, $index)\">\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n\r\n </div>\r\n @if(footerFacet() || footerTemplate()){\r\n <div class=\"cmat-carousel-footer\">\r\n <ng-content select=\"cmat-carousel-footer\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAoCa,2BAA2B,CAAA;8GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,gFAF1B,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;2FAE5B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,QAAQ,EAAE,2BAA2B;AACxC,iBAAA;;MAOY,2BAA2B,CAAA;8GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,gFAF1B,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;2FAE5B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,QAAQ,EAAE,2BAA2B;AACxC,iBAAA;;MAMY,6BAA6B,CAAA;AAH1C,IAAA,WAAA,GAA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AA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAAA,gBAAgB,0EACd,kBAAkB,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC7C,2BAA2B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC3B,2BAA2B,8FAC1B,6BAA6B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9FtE;;AAEG;;;;"}
1
+ {"version":3,"file":"cmat-components-carousel.mjs","sources":["../../../projects/cmat/components/carousel/carousel.component.ts","../../../projects/cmat/components/carousel/carousel.component.html","../../../projects/cmat/components/carousel/cmat-components-carousel.ts"],"sourcesContent":["\r\nimport { CommonModule } from '@angular/common';\r\nimport {\r\n AfterContentInit,\r\n ChangeDetectionStrategy,\r\n Component,\r\n Directive,\r\n ElementRef,\r\n OnDestroy,\r\n Renderer2,\r\n TemplateRef,\r\n ViewEncapsulation,\r\n booleanAttribute,\r\n numberAttribute,\r\n DOCUMENT,\r\n inject,\r\n signal,\r\n effect,\r\n computed,\r\n untracked,\r\n input,\r\n output,\r\n viewChild,\r\n contentChild,\r\n contentChildren,\r\n model,\r\n} from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { CmatArrowCursorDirective } from 'cmat/directives/arrow-cursor';\r\nimport { CmatCarouselPageEvent, CmatCarouselResponsiveOptions } from './carousel.interface';\r\n\r\n@Component({\r\n selector: 'cmat-carousel-header',\r\n template: '<ng-content></ng-content>',\r\n})\r\nexport class CmatCarouselHeaderComponent { }\r\n\r\n@Component({\r\n selector: 'cmat-carousel-footer',\r\n template: '<ng-content></ng-content>',\r\n})\r\nexport class CmatCarouselFooterComponent { }\r\n\r\n@Directive({\r\n selector: '[cmatCarouselTemplate]',\r\n})\r\nexport class CmatCarouselTemplateDirective {\r\n template = inject<TemplateRef<unknown>>(TemplateRef);\r\n\r\n readonly type = input<string | undefined>();\r\n readonly name = input<string | undefined>();\r\n}\r\n\r\nlet NEXT_ID = 0;\r\n\r\n@Component({\r\n selector: 'cmat-carousel',\r\n templateUrl: './carousel.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n styleUrls: ['./carousel.component.scss'],\r\n imports: [MatIconModule, MatButtonModule, CmatArrowCursorDirective, CommonModule],\r\n})\r\nexport class CmatCarouselComponent implements AfterContentInit, OnDestroy {\r\n el = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\r\n readonly page = model<number>(0);\r\n readonly numVisible = model<number>(1);\r\n readonly numScroll = model<number>(1);\r\n readonly autoplayInterval = input(0, { transform: numberAttribute });\r\n readonly responsiveOptions = input<CmatCarouselResponsiveOptions[] | undefined>();\r\n readonly orientation = input<'horizontal' | 'vertical'>('horizontal');\r\n readonly navigatorsType = input<'normal' | 'arrow'>('normal');\r\n readonly verticalViewPortHeight = input<string>('300px');\r\n readonly arrowSelector = input<string>('.carousel-arrow-cursor');\r\n readonly contentClass = input<string>('');\r\n readonly indicatorsContentClass = input<string>('');\r\n readonly indicatorsContentStyle = input<Record<string, unknown> | null | undefined>(null);\r\n readonly indicatorStyleClass = input<string>('');\r\n readonly indicatorStyle = input<Record<string, unknown> | null | undefined>(null);\r\n readonly data = input.required<Record<string, unknown>[]>();\r\n readonly circular = input(false, { transform: booleanAttribute });\r\n readonly showIndicators = input(true, { transform: booleanAttribute });\r\n readonly showNavigators = input(true, { transform: booleanAttribute });\r\n readonly suspendAutoPlay = input(true, { transform: booleanAttribute });\r\n readonly style = input<Record<string, unknown> | null | undefined>(undefined);\r\n readonly styleClass = input<string>('');\r\n readonly pageEvent = output<CmatCarouselPageEvent>();\r\n\r\n readonly itemsContainer = viewChild<ElementRef<HTMLElement>>('itemsContainer');\r\n readonly indicatorContent = viewChild<ElementRef<HTMLElement>>('indicatorContent');\r\n readonly headerFacet = contentChild(CmatCarouselHeaderComponent);\r\n readonly footerFacet = contentChild(CmatCarouselFooterComponent);\r\n readonly templates = contentChildren(CmatCarouselTemplateDirective);\r\n\r\n\r\n readonly id = `cmat-carousel-${NEXT_ID++}`;\r\n\r\n readonly carouselStyle = signal<HTMLStyleElement | null>(null);\r\n readonly startPos = signal<{ x: number; y: number } | null>(null);\r\n readonly clonedItemsForStarting = signal<Record<string, unknown>[]>([]);\r\n readonly clonedItemsForFinishing = signal<Record<string, unknown>[]>([]);\r\n\r\n readonly isUserInteracted = signal<boolean>(false);\r\n readonly swipeThreshold = signal(20);\r\n\r\n readonly itemTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly headerTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly footerTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly previousIconTemplate = signal<TemplateRef<unknown> | null>(null);\r\n readonly nextIconTemplate = signal<TemplateRef<unknown> | null>(null);\r\n\r\n readonly isVertical = computed(() => this.orientation() === 'vertical');\r\n\r\n readonly allowAutoplay = computed(() => {\r\n return this.autoplayInterval() > 0 && !this.isUserInteracted();\r\n });\r\n\r\n readonly verticalViewContainerHeight = computed(() => {\r\n if (!this.isVertical()) {\r\n return undefined;\r\n }\r\n\r\n const container = this.itemsContainer()?.nativeElement;\r\n if (container) {\r\n const firstItem = container.querySelector<HTMLElement>('.cmat-carousel-item');\r\n if (firstItem) {\r\n return `${firstItem.offsetHeight * this.numVisible()}px`;\r\n }\r\n }\r\n\r\n return this.verticalViewPortHeight();\r\n });\r\n\r\n readonly totalShiftedItems = computed(() => {\r\n const page = this.page();\r\n const ns = this.numScroll();\r\n const nv = this.numVisible();\r\n let total = page * ns * -1;\r\n\r\n if (this.isCircular()) {\r\n total -= nv;\r\n }\r\n\r\n if (page === this.totalDots() - 1 && this.remainingItems() > 0) {\r\n total += -1 * this.remainingItems() + ns;\r\n }\r\n\r\n return total;\r\n });\r\n\r\n readonly remainingItems = computed(() => {\r\n const d = this.data() ?? [];\r\n const nv = this.numVisible();\r\n const ns = this.numScroll();\r\n if (!d.length || ns <= 0 || nv >= d.length) return 0;\r\n\r\n const remainder = (d.length - nv) % ns;\r\n return remainder < 0 ? remainder + ns : remainder;\r\n });\r\n\r\n\r\n readonly totalDots = computed(() => {\r\n const nv = this.numVisible();\r\n const ns = this.numScroll();\r\n if (nv > 0 && ns > 0) {\r\n if (!this.data() || this.data().length === 0) return 0;\r\n return Math.max(1, Math.ceil((this.data().length - nv) / ns) + 1);\r\n }\r\n return 0;\r\n });\r\n\r\n readonly isRemainingItemsAdded = computed(() => {\r\n return this.page() === this.totalDots() - 1 && this.remainingItems() > 0;\r\n });\r\n\r\n readonly isCircular = computed(() => {\r\n const data = this.data();\r\n return this.circular() && !!data && data.length >= this.numVisible();\r\n });\r\n readonly isEmpty = computed(() => {\r\n const data = this.data();\r\n return !data || data.length === 0;\r\n });\r\n readonly getTotalDotsArray = computed(() => {\r\n const dots = this.totalDots();\r\n return dots > 0 ? Array.from({ length: dots }, (_, i) => i) : [];\r\n });\r\n\r\n readonly firstIndex = computed(() => this.page() * this.numScroll());\r\n readonly lastIndex = computed(() => Math.min(this.page() * this.numScroll() + this.numVisible() - 1, (this.data()?.length ?? 0) - 1));\r\n\r\n private readonly _document = inject<Document>(DOCUMENT);\r\n private renderer = inject(Renderer2);\r\n private documentResizeListener: VoidFunction | null = null;\r\n\r\n constructor() {\r\n this._initResponsiveEffect();\r\n this._initAutoplayEffect();\r\n this._initCloneItemsEffect();\r\n }\r\n\r\n\r\n ngAfterContentInit(): void {\r\n this._calculatePosition();\r\n this._createStyle();\r\n\r\n\r\n if (this.responsiveOptions()) {\r\n this._bindDocumentListeners();\r\n }\r\n\r\n this.templates()?.forEach((item): void => {\r\n switch (item.name()) {\r\n case 'item': this.itemTemplate.set(item.template); break;\r\n case 'header': this.headerTemplate.set(item.template); break;\r\n case 'footer': this.footerTemplate.set(item.template); break;\r\n case 'previousicon': this.previousIconTemplate.set(item.template); break;\r\n case 'nexticon': this.nextIconTemplate.set(item.template); break;\r\n default: this.itemTemplate.set(item.template); break;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unbindDocumentListeners();\r\n this.stopAutoplay();\r\n if (this.carouselStyle()) {\r\n const el = this.carouselStyle()!;\r\n if (el.parentNode) el.parentNode.removeChild(el);\r\n this.carouselStyle.set(null);\r\n }\r\n }\r\n\r\n\r\n navForward(e: MouseEvent | TouchEvent | null, index?: number): void {\r\n if (this.isCircular() || this.page() < this.totalDots() - 1) {\r\n this._step(-1, index);\r\n }\r\n this._handleInteractionStopAutoplay();\r\n e?.cancelable && e.preventDefault();\r\n }\r\n\r\n navBackward(e: MouseEvent | TouchEvent | null, index?: number): void {\r\n if (this.isCircular() || this.page() !== 0) {\r\n this._step(1, index);\r\n }\r\n this._handleInteractionStopAutoplay();\r\n e?.cancelable && e.preventDefault();\r\n }\r\n\r\n onDotClick(e: MouseEvent, index: number): void {\r\n this._handleInteractionStopAutoplay();\r\n const currentPage = this.page();\r\n if (index > currentPage) {\r\n this.navForward(e, index);\r\n } else if (index < currentPage) {\r\n this.navBackward(e, index);\r\n }\r\n }\r\n\r\n onTouchStart(e: TouchEvent): void {\r\n const touchobj = e.changedTouches[0];\r\n this.startPos.set({ x: touchobj.pageX, y: touchobj.pageY });\r\n }\r\n\r\n onTouchMove(e: TouchEvent | MouseEvent): void {\r\n e.cancelable && e.preventDefault();\r\n }\r\n\r\n onTouchEnd(e: TouchEvent): void {\r\n const touchobj = e.changedTouches[0];\r\n const start = this.startPos();\r\n if (!start) return;\r\n\r\n const diff = this.isVertical()\r\n ? touchobj.pageY - start.y\r\n : touchobj.pageX - start.x;\r\n\r\n this._changePageOnTouch(e, diff);\r\n }\r\n\r\n arrowCursorClick(cursorSide: string | null): void {\r\n switch (cursorSide) {\r\n case 'left': case 'up': this.navBackward(null); break;\r\n case 'right': case 'down': this.navForward(null); break;\r\n }\r\n }\r\n\r\n onTransitionEnd(): void {\r\n if (this.itemsContainer()) {\r\n this.itemsContainer()!.nativeElement.style.transition = '';\r\n if ((this.page() === 0 || this.page() === this.totalDots() - 1) && this.isCircular()) {\r\n this._applyTransform(this.totalShiftedItems());\r\n }\r\n }\r\n }\r\n\r\n stopAutoplay(): void {\r\n this.isUserInteracted.set(true);\r\n }\r\n\r\n startAutoplay(): void {\r\n this.isUserInteracted.set(false);\r\n }\r\n\r\n isFirstItemActive(index: number): boolean {\r\n return index === this.firstIndex();\r\n }\r\n\r\n\r\n isLastItemActive(index: number): boolean {\r\n return index === this.lastIndex();\r\n }\r\n\r\n isMiddleItemActive(index: number): boolean {\r\n const first = this.firstIndex();\r\n const last = this.lastIndex();\r\n return index > first && index < last;\r\n }\r\n\r\n onIndicatorKeydown(event: KeyboardEvent): void {\r\n switch (event.code) {\r\n case 'ArrowRight': this._onRightKey(); break;\r\n case 'ArrowLeft': this._onLeftKey(); break;\r\n case 'Home': this._onHomeKey(); break;\r\n case 'End': this._onEndKey(); break;\r\n case 'Tab': this._onTabKey(); break;\r\n }\r\n }\r\n\r\n private _handleInteractionStopAutoplay(): void {\r\n if (this.autoplayInterval() && this.suspendAutoPlay()) {\r\n this.stopAutoplay();\r\n }\r\n }\r\n\r\n private _changePageOnTouch(e: TouchEvent | MouseEvent, diff: number): void {\r\n if (Math.abs(diff) > this.swipeThreshold()) {\r\n if (diff < 0) {\r\n this.navForward(e);\r\n } else {\r\n this.navBackward(e);\r\n }\r\n }\r\n }\r\n\r\n private _step(dir: number, page?: number): void {\r\n let totalShiftedItems = this.totalShiftedItems();\r\n const isCircular = this.isCircular();\r\n let nextPage: number;\r\n\r\n if (page != null) {\r\n totalShiftedItems = this.numScroll() * page * -1;\r\n if (isCircular) {\r\n totalShiftedItems -= this.numVisible();\r\n }\r\n nextPage = page;\r\n } else {\r\n totalShiftedItems += this.numScroll() * dir;\r\n if (this.isRemainingItemsAdded()) {\r\n totalShiftedItems += this.remainingItems() - this.numScroll() * dir;\r\n }\r\n\r\n const originalShiftedItems = isCircular ? totalShiftedItems + this.numVisible() : totalShiftedItems;\r\n nextPage = Math.abs(Math.floor(originalShiftedItems / this.numScroll()));\r\n }\r\n\r\n if (isCircular && this.page() === this.totalDots() - 1 && dir === -1) {\r\n const data = this.data();\r\n if (data) {\r\n totalShiftedItems = -1 * (data.length + this.numVisible());\r\n }\r\n nextPage = 0;\r\n } else if (isCircular && this.page() === 0 && dir === 1) {\r\n totalShiftedItems = 0;\r\n nextPage = this.totalDots() - 1;\r\n } else if (nextPage === this.totalDots() - 1 && this.remainingItems() > 0) {\r\n totalShiftedItems += this.remainingItems() * -1 - this.numScroll() * dir;\r\n }\r\n\r\n this._applyTransform(totalShiftedItems, true);\r\n\r\n this.page.set(nextPage);\r\n this.pageEvent.emit({ page: this.page() });\r\n this._updateCarouselItemsAccessibility();\r\n }\r\n\r\n private _applyTransform(shiftedItems: number, withTransition: boolean = false): void {\r\n if (!this.itemsContainer()) return;\r\n\r\n const nv = this.numVisible();\r\n if (nv === 0) return;\r\n\r\n const transform = this.isVertical()\r\n ? `translate3d(0, ${shiftedItems * (100 / nv)}%, 0)`\r\n : `translate3d(${shiftedItems * (100 / nv)}%, 0, 0)`;\r\n\r\n const el = this.itemsContainer()?.nativeElement;\r\n if (el) {\r\n el.style.transform = transform;\r\n el.style.transition = withTransition ? 'transform 500ms ease 0s' : '';\r\n }\r\n }\r\n\r\n private _initResponsiveEffect(): void {\r\n effect(() => {\r\n this._createStyle();\r\n this._calculatePosition();\r\n\r\n if (this.responsiveOptions()) {\r\n this._bindDocumentListeners();\r\n } else {\r\n this._unbindDocumentListeners();\r\n }\r\n });\r\n }\r\n\r\n private _initCloneItemsEffect(): void {\r\n effect(() => {\r\n this._setCloneItems();\r\n });\r\n }\r\n\r\n private _initAutoplayEffect(): void {\r\n effect((onCleanup) => {\r\n const interval = this.autoplayInterval();\r\n const isAllowed = this.allowAutoplay();\r\n let intervalId: number | null = null;\r\n\r\n if (interval > 0 && isAllowed) {\r\n intervalId = window.setInterval(() => {\r\n untracked(() => {\r\n const currentPage = this.page();\r\n const dots = this.totalDots();\r\n\r\n if (dots > 0) {\r\n if (currentPage === dots - 1) {\r\n this._step(-1, 0);\r\n } else {\r\n this._step(-1, currentPage + 1);\r\n }\r\n }\r\n });\r\n\r\n }, interval);\r\n }\r\n\r\n onCleanup(() => {\r\n if (intervalId) {\r\n clearInterval(intervalId);\r\n }\r\n });\r\n });\r\n }\r\n\r\n private _bindDocumentListeners(): void {\r\n if (this.documentResizeListener) return;\r\n this.documentResizeListener = this.renderer.listen('window', 'resize', (): void => {\r\n this._calculatePosition();\r\n });\r\n\r\n }\r\n\r\n private _unbindDocumentListeners(): void {\r\n if (this.documentResizeListener) {\r\n this.documentResizeListener();\r\n this.documentResizeListener = null;\r\n }\r\n }\r\n\r\n private _createStyle(): void {\r\n if (!this.carouselStyle()) {\r\n const styleEl = this.renderer.createElement('style') as HTMLStyleElement;\r\n this.carouselStyle.set(styleEl);\r\n this.renderer.appendChild(this._document.head, styleEl);\r\n }\r\n\r\n let innerHTML = `\r\n #${this.id} .cmat-carousel-item {\r\n flex: 1 0 ${100 / this.numVisible()}%\r\n }\r\n `;\r\n\r\n if (this.responsiveOptions()) {\r\n const sortedOptions = [...this.responsiveOptions()!].sort((a, b) => {\r\n const bpA = a.breakpoint === null ? Infinity : parseInt(a.breakpoint, 10);\r\n const bpB = b.breakpoint === null ? Infinity : parseInt(b.breakpoint, 10);\r\n return bpB - bpA; // Descending\r\n });\r\n\r\n for (const res of sortedOptions) {\r\n innerHTML += `\r\n @media screen and (max-width: ${res.breakpoint}) {\r\n #${this.id} .cmat-carousel-item {\r\n flex: 1 0 ${100 / res.numVisible}%\r\n }\r\n }\r\n `;\r\n }\r\n }\r\n\r\n if (this.carouselStyle()) {\r\n this.renderer.setProperty(this.carouselStyle(), 'textContent', innerHTML);\r\n }\r\n }\r\n\r\n private _calculatePosition(): void {\r\n if (!this.responsiveOptions() || this.responsiveOptions()!.length === 0) {\r\n return;\r\n }\r\n\r\n const windowWidth = this._document.defaultView?.innerWidth ?? 0;\r\n\r\n let matchedResponsiveData: CmatCarouselResponsiveOptions | null = null;\r\n\r\n const sortedOptions = [...this.responsiveOptions()!].sort((a, b) => {\r\n const bpA = a.breakpoint === null || a.breakpoint === undefined ? Infinity : parseInt(a.breakpoint, 10);\r\n const bpB = b.breakpoint === null || b.breakpoint === undefined ? Infinity : parseInt(b.breakpoint, 10);\r\n return bpB - bpA;\r\n });\r\n\r\n for (const res of sortedOptions) {\r\n const bp = parseInt(res.breakpoint, 10);\r\n if (!isNaN(bp) && bp >= windowWidth) {\r\n matchedResponsiveData = res;\r\n break;\r\n }\r\n }\r\n\r\n if (matchedResponsiveData) {\r\n if (this.numScroll() !== matchedResponsiveData.numScroll) {\r\n const oldNumScroll = this.numScroll();\r\n const newNumScroll = matchedResponsiveData.numScroll;\r\n\r\n let page = this.page();\r\n if (oldNumScroll > 0) {\r\n page = Math.floor((page * oldNumScroll) / newNumScroll);\r\n }\r\n\r\n this.numScroll.set(newNumScroll);\r\n this.page.set(page);\r\n this.pageEvent.emit({ page: this.page() });\r\n }\r\n\r\n if (this.numVisible() !== matchedResponsiveData.numVisible) {\r\n this.numVisible.set(matchedResponsiveData.numVisible);\r\n this._setCloneItems();\r\n }\r\n }\r\n\r\n\r\n if (matchedResponsiveData) {\r\n this._createStyle();\r\n }\r\n }\r\n\r\n private _updateCarouselItemsAccessibility(): void {\r\n const slides = this.el.nativeElement.querySelectorAll('.cmat-carousel-item');\r\n const currentPage = this.page();\r\n const nv = this.numVisible();\r\n const ns = this.numScroll();\r\n const isCircular = this.isCircular();\r\n\r\n if (isCircular) {\r\n slides.forEach((slide: Element): void => {\r\n (slide as HTMLElement).removeAttribute('aria-hidden');\r\n const focusableElements = (slide as HTMLElement).querySelectorAll<HTMLElement>('a, button, input, select, textarea, [tabindex]');\r\n focusableElements.forEach((el) => {\r\n el.removeAttribute('tabindex');\r\n });\r\n });\r\n return;\r\n }\r\n\r\n\r\n const startIdx = currentPage * ns;\r\n const endIdx = startIdx + nv;\r\n\r\n slides.forEach((slide: Element, domIndex: number): void => {\r\n const isActive = domIndex >= startIdx && domIndex < endIdx;\r\n\r\n (slide as HTMLElement).setAttribute('aria-hidden', !isActive ? 'true' : 'false');\r\n\r\n const focusableElements = (slide as HTMLElement).querySelectorAll<HTMLElement>('a, button, input, select, textarea, [tabindex]');\r\n focusableElements.forEach((el) => {\r\n el.tabIndex = isActive ? 0 : -1;\r\n });\r\n });\r\n }\r\n\r\n private _setCloneItems(): void {\r\n this.clonedItemsForStarting.set([]);\r\n this.clonedItemsForFinishing.set([]);\r\n\r\n if (this.isCircular()) {\r\n const data = this.data() ?? [];\r\n const nv = this.numVisible();\r\n if (data.length >= nv) {\r\n this.clonedItemsForStarting.set([...data.slice(-1 * nv)]);\r\n this.clonedItemsForFinishing.set([...data.slice(0, nv)]);\r\n }\r\n }\r\n }\r\n\r\n\r\n private _findFocusedIndicatorIndex(): number {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll<HTMLElement>('[data-pc-section=\"indicator\"]') ?? []);\r\n const activeIndicator = this.indicatorContent()?.nativeElement?.querySelector<HTMLElement>('[data-pc-section=\"indicator\"] > button[tabindex=\"0\"]');\r\n return indicators.findIndex(ind => ind === activeIndicator?.parentElement);\r\n }\r\n\r\n private _changedFocusedIndicator(prevInd: number, nextInd: number): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll<HTMLElement>('[data-pc-section=\"indicator\"]') ?? []);\r\n if (indicators[prevInd]?.children[0]) (indicators[prevInd].children[0] as HTMLButtonElement).tabIndex = -1;\r\n if (indicators[nextInd]?.children[0]) {\r\n (indicators[nextInd].children[0] as HTMLButtonElement).tabIndex = 0;\r\n (indicators[nextInd].children[0] as HTMLButtonElement).focus();\r\n }\r\n }\r\n\r\n private _onRightKey(): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll('[data-pc-section=\"indicator\"]') ?? []);\r\n const activeIndex = this._findFocusedIndicatorIndex();\r\n this._changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);\r\n }\r\n\r\n private _onLeftKey(): void {\r\n const activeIndex = this._findFocusedIndicatorIndex();\r\n this._changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);\r\n }\r\n\r\n private _onHomeKey(): void {\r\n this._changedFocusedIndicator(this._findFocusedIndicatorIndex(), 0);\r\n }\r\n\r\n private _onEndKey(): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll('[data-pc-section=\"indicator\"]') ?? []);\r\n this._changedFocusedIndicator(this._findFocusedIndicatorIndex(), indicators.length - 1);\r\n }\r\n\r\n private _onTabKey(): void {\r\n const indicators = Array.from(this.indicatorContent()?.nativeElement?.querySelectorAll<HTMLElement>('[data-pc-section=\"indicator\"]') ?? []);\r\n const highlightedIndex = indicators.findIndex(ind => ind.getAttribute('cmat-carousel-highlight') !== undefined);\r\n const activeIndicator = this.indicatorContent()?.nativeElement?.querySelector<HTMLElement>('[data-pc-section=\"indicator\"] > button[tabindex=\"0\"]');\r\n const activeIndex = indicators.findIndex(ind => ind === activeIndicator?.parentElement);\r\n\r\n if (indicators[activeIndex]?.children[0]) (indicators[activeIndex].children[0] as HTMLButtonElement).tabIndex = -1;\r\n if (indicators[highlightedIndex]?.children[0]) (indicators[highlightedIndex].children[0] as HTMLButtonElement).tabIndex = 0;\r\n }\r\n}","<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div role=\"region\" [attr.id]=\"id\"\r\n [ngClass]=\"{ 'cmat-carousel': true, 'cmat-carousel-vertical': isVertical(), 'cmat-carousel-horizontal': !isVertical() }\"\r\n [ngStyle]=\"style()\" [class]=\"styleClass()\">\r\n\r\n @if(headerFacet() || headerTemplate()){\r\n <div class=\"cmat-carousel-header\">\r\n <ng-content select=\"cmat-carousel-header\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n\r\n <div [class]=\"contentClass()\" [ngClass]=\"'items-center cmat-carousel-content'\">\r\n <div class=\"cmat-carousel-container\" cmatArrowCursor [orientation]=\"orientation()\" [selector]=\"arrowSelector()\"\r\n [enabled]=\"navigatorsType()==='arrow'\" [attr.aria-live]=\"allowAutoplay() ? 'polite' : 'off'\"\r\n (clickEvent)=\"arrowCursorClick($event)\">\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-prev': true }\"\r\n [disabled]=\"!isCircular() && page() === 0\" (click)=\"navBackward($event)\">\r\n @if(!previousIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-left'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-up'\"></mat-icon>\r\n }\r\n }\r\n @else {\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"previousIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n <div class=\"cmat-carousel-items-content\" (touchend)=\"onTouchEnd($event)\"\r\n (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\">\r\n <div #itemsContainer class=\"cmat-carousel-items-container\"\r\n [style.height]=\"isVertical() ? verticalViewContainerHeight() : 'auto'\"\r\n (transitionend)=\"onTransitionEnd()\">\r\n @for (item of clonedItemsForStarting(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === data().length,\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': (clonedItemsForStarting().length) - 1 === $index\r\n }\" [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of data(); track $index) {\r\n <div [ngClass]=\"{ 'cmat-carousel-item': true, 'cmat-carousel-item-active': firstIndex() <= $index && lastIndex() >= $index, 'cmat-carousel-item-start': firstIndex() === $index, 'cmat-carousel-item-end': lastIndex() === $index }\"\r\n [attr.aria-hidden]=\"!(totalShiftedItems() * -1 === data().length)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n @for (item of clonedItemsForFinishing(); track $index) {\r\n <div [ngClass]=\"{\r\n 'cmat-carousel-item cmat-carousel-item-cloned': true,\r\n 'cmat-carousel-item-active': totalShiftedItems() * -1 === numVisible(),\r\n 'cmat-carousel-item-start': 0 === $index,\r\n 'cmat-carousel-item-end': clonedItemsForFinishing().length - 1 === $index\r\n }\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\"></ng-container>\r\n </div>\r\n }\r\n\r\n </div>\r\n </div>\r\n\r\n @if(showNavigators()&&navigatorsType()==='normal'){\r\n <button type=\"button\" matIconButton [ngClass]=\"{ 'cmat-carousel-next': true}\"\r\n [disabled]=\"!isCircular() && page() >= totalDots() - 1\" (click)=\"navForward($event)\">\r\n @if(!nextIconTemplate()){\r\n @if(!isVertical()){\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-right'\"></mat-icon>\r\n }@else {\r\n <mat-icon [svgIcon]=\"'heroicons_solid:chevron-down'\"></mat-icon>\r\n }\r\n }\r\n @else{\r\n <span class=\"cmat-carousel-prev-icon\">\r\n <ng-template *ngTemplateOutlet=\"nextIconTemplate()\"></ng-template>\r\n </span>\r\n }\r\n </button>\r\n }\r\n\r\n </div>\r\n @if(showIndicators()){\r\n <ul #indicatorContent role=\"presentation\" [ngClass]=\"'cmat-carousel-indicators'\"\r\n [class]=\"indicatorsContentClass()\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\">\r\n @for (totalDot of getTotalDotsArray(); track $index) {\r\n <li [ngClass]=\"{ 'cmat-carousel-indicator': true, 'cmat-carousel-indicator-active': page() === $index }\"\r\n [attr.data-pc-section]=\"'indicator'\">\r\n <button type=\"button\" [ngClass]=\"'cmat-carousel-indicator-button'\" [class]=\"indicatorStyleClass()\"\r\n [ngStyle]=\"indicatorStyle()\" [attr.aria-current]=\"page() === $index ? 'page' : undefined\"\r\n [tabindex]=\"page() === $index ? 0 : -1\" (click)=\"onDotClick($event, $index)\">\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n\r\n </div>\r\n @if(footerFacet() || footerTemplate()){\r\n <div class=\"cmat-carousel-footer\">\r\n <ng-content select=\"cmat-carousel-footer\"></ng-content>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate()\"></ng-container>\r\n </div>\r\n }\r\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAoCa,2BAA2B,CAAA;8GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BA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,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC3B,2BAA2B,8FAC1B,6BAA6B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9FtE;;AAEG;;"}
@@ -57,10 +57,10 @@ class CmatCascadeBottomSheetComponent {
57
57
  }
58
58
  }
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCascadeBottomSheetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: CmatCascadeBottomSheetComponent, isStandalone: true, selector: "cmat-cascade-bottom-sheet", exportAs: ["cmatCascadeBottomSheet"], ngImport: i0, template: "<div role=\"presentation\" class=\"cmat-cascade-bottom-sheet\" (click)=\"clickHandle($event)\">\r\n <div class=\"sheet-header flex items-center\">\r\n <p class=\"sheet-title\">{{data.placeholder}}</p>\r\n <button type=\"button\" matIconButton (click)=\"dismiss()\">\r\n <mat-icon [svgIcon]=\"'heroicons_outline:x-mark'\"></mat-icon>\r\n </button>\r\n </div>\r\n <mat-tab-group [selectedIndex]=\"selectedTab()\" (selectedIndexChange)=\"selectedTab.set($event)\">\r\n @for (menuItem of data.steps(); track $index; let step = $index) {\r\n <mat-tab [label]=\"labels()[step]\">\r\n <mat-list class=\"menu-list overflow-y-auto scrollbar-custom\">\r\n @for (listItem of menuItem; track listItem.value; let i = $index) {\r\n <mat-list-item class=\"menu-item\"\r\n [class.active]=\"listItem.active\" [class.disabled]=\"listItem.disabled\"\r\n (click)=\"data.selectHandle($event, step, i); select(listItem.disabled);\">\r\n <div matLine>{{listItem.label}}</div>\r\n </mat-list-item>\r\n }\r\n </mat-list>\r\n </mat-tab>\r\n }\r\n </mat-tab-group>\r\n</div>", styles: [".cmat-cascade-bottom-sheet{padding:0;margin:-8px -16px}.cmat-cascade-bottom-sheet .sheet-header{display:flex;flex:1 1 0%;align-items:center;font-size:1rem;border-bottom-width:1px;padding:12px 16px}.cmat-cascade-bottom-sheet .sheet-header .sheet-title{margin:0;padding:0;letter-spacing:.05rem;text-align:center;flex-grow:1}.cmat-cascade-bottom-sheet .menu-list{vertical-align:top;box-sizing:border-box;margin:0;padding:0;width:100%;overflow:hidden;position:relative;height:204px}.cmat-cascade-bottom-sheet .menu-item{padding:0 16px;text-overflow:ellipsis;box-sizing:border-box;cursor:pointer!important;font-size:14px;line-height:3em}.cmat-cascade-bottom-sheet .menu-item.disabled{cursor:not-allowed!important;pointer-events:none}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i3.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i3.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCascadeBottomSheetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: CmatCascadeBottomSheetComponent, isStandalone: true, selector: "cmat-cascade-bottom-sheet", exportAs: ["cmatCascadeBottomSheet"], ngImport: i0, template: "<div role=\"presentation\" class=\"cmat-cascade-bottom-sheet\" (click)=\"clickHandle($event)\">\r\n <div class=\"sheet-header flex items-center\">\r\n <p class=\"sheet-title\">{{data.placeholder}}</p>\r\n <button type=\"button\" matIconButton (click)=\"dismiss()\">\r\n <mat-icon [svgIcon]=\"'heroicons_outline:x-mark'\"></mat-icon>\r\n </button>\r\n </div>\r\n <mat-tab-group [selectedIndex]=\"selectedTab()\" (selectedIndexChange)=\"selectedTab.set($event)\">\r\n @for (menuItem of data.steps(); track $index; let step = $index) {\r\n <mat-tab [label]=\"labels()[step]\">\r\n <mat-list class=\"menu-list overflow-y-auto scrollbar-custom\">\r\n @for (listItem of menuItem; track listItem.value; let i = $index) {\r\n <mat-list-item class=\"menu-item\"\r\n [class.active]=\"listItem.active\" [class.disabled]=\"listItem.disabled\"\r\n (click)=\"data.selectHandle($event, step, i); select(listItem.disabled);\">\r\n <div matLine>{{listItem.label}}</div>\r\n </mat-list-item>\r\n }\r\n </mat-list>\r\n </mat-tab>\r\n }\r\n </mat-tab-group>\r\n</div>", styles: [".cmat-cascade-bottom-sheet{padding:0;margin:-8px -16px}.cmat-cascade-bottom-sheet .sheet-header{display:flex;flex:1 1 0%;align-items:center;font-size:1rem;border-bottom-width:1px;padding:12px 16px}.cmat-cascade-bottom-sheet .sheet-header .sheet-title{margin:0;padding:0;letter-spacing:.05rem;text-align:center;flex-grow:1}.cmat-cascade-bottom-sheet .menu-list{vertical-align:top;box-sizing:border-box;margin:0;padding:0;width:100%;overflow:hidden;position:relative;height:204px}.cmat-cascade-bottom-sheet .menu-item{padding:0 16px;text-overflow:ellipsis;box-sizing:border-box;cursor:pointer!important;font-size:14px;line-height:3em}.cmat-cascade-bottom-sheet .menu-item.disabled{cursor:not-allowed!important;pointer-events:none}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i3.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i3.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCascadeBottomSheetComponent, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCascadeBottomSheetComponent, decorators: [{
64
64
  type: Component,
65
65
  args: [{ selector: 'cmat-cascade-bottom-sheet', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'cmatCascadeBottomSheet', imports: [MatButtonModule, MatTabsModule, MatListModule, MatIconModule], template: "<div role=\"presentation\" class=\"cmat-cascade-bottom-sheet\" (click)=\"clickHandle($event)\">\r\n <div class=\"sheet-header flex items-center\">\r\n <p class=\"sheet-title\">{{data.placeholder}}</p>\r\n <button type=\"button\" matIconButton (click)=\"dismiss()\">\r\n <mat-icon [svgIcon]=\"'heroicons_outline:x-mark'\"></mat-icon>\r\n </button>\r\n </div>\r\n <mat-tab-group [selectedIndex]=\"selectedTab()\" (selectedIndexChange)=\"selectedTab.set($event)\">\r\n @for (menuItem of data.steps(); track $index; let step = $index) {\r\n <mat-tab [label]=\"labels()[step]\">\r\n <mat-list class=\"menu-list overflow-y-auto scrollbar-custom\">\r\n @for (listItem of menuItem; track listItem.value; let i = $index) {\r\n <mat-list-item class=\"menu-item\"\r\n [class.active]=\"listItem.active\" [class.disabled]=\"listItem.disabled\"\r\n (click)=\"data.selectHandle($event, step, i); select(listItem.disabled);\">\r\n <div matLine>{{listItem.label}}</div>\r\n </mat-list-item>\r\n }\r\n </mat-list>\r\n </mat-tab>\r\n }\r\n </mat-tab-group>\r\n</div>", styles: [".cmat-cascade-bottom-sheet{padding:0;margin:-8px -16px}.cmat-cascade-bottom-sheet .sheet-header{display:flex;flex:1 1 0%;align-items:center;font-size:1rem;border-bottom-width:1px;padding:12px 16px}.cmat-cascade-bottom-sheet .sheet-header .sheet-title{margin:0;padding:0;letter-spacing:.05rem;text-align:center;flex-grow:1}.cmat-cascade-bottom-sheet .menu-list{vertical-align:top;box-sizing:border-box;margin:0;padding:0;width:100%;overflow:hidden;position:relative;height:204px}.cmat-cascade-bottom-sheet .menu-item{padding:0 16px;text-overflow:ellipsis;box-sizing:border-box;cursor:pointer!important;font-size:14px;line-height:3em}.cmat-cascade-bottom-sheet .menu-item.disabled{cursor:not-allowed!important;pointer-events:none}\n"] }]
66
66
  }], ctorParameters: () => [] });
@@ -69,10 +69,10 @@ class CmatCascadeMenuComponent {
69
69
  constructor() {
70
70
  this.root = inject(CmatCascadeListComponent, { optional: true });
71
71
  }
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCascadeMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: CmatCascadeMenuComponent, isStandalone: true, selector: "cmat-cascade-menu", exportAs: ["cmatCascadeMenu"], ngImport: i0, template: "@for (menuItem of root.steps(); track $index; let step = $index) {\r\n <mat-list class=\"menu-list overflow-y-auto scrollbar-custom\">\r\n @for (listItem of menuItem; track listItem.value; let i = $index) {\r\n <mat-list-item class=\"menu-item\"\r\n [class.active]=\"listItem.active\" [class.disabled]=\"listItem.disabled\"\r\n (click)=\"root.selectHandle($event, step, i);\">\r\n <div matLine>{{listItem.label}}</div>\r\n @if (listItem.children && listItem.children.length) {\r\n <mat-icon class=\"item-icon\" [svgIcon]=\"'mat_outline:chevron_right'\"></mat-icon>\r\n }\r\n </mat-list-item>\r\n }\r\n </mat-list>\r\n}", styles: ["cmat-cascade-menu{height:200px;z-index:2007;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;white-space:nowrap}cmat-cascade-menu .menu-list{display:inline-block;border-right-width:1px;box-sizing:border-box;margin:0;padding:.5rem;overflow:hidden;position:relative;height:200px;min-width:200px;vertical-align:top}cmat-cascade-menu .menu-list:last-child{border-right-width:0px}cmat-cascade-menu .menu-item{line-height:3rem;padding:0 16px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;cursor:pointer!important}cmat-cascade-menu .menu-item.disabled{cursor:not-allowed!important}cmat-cascade-menu .menu-item .item-icon{position:absolute;justify-items:center;top:50%;bottom:50%;right:0;transform:translateY(-50%)}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i3.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i3.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCascadeMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: CmatCascadeMenuComponent, isStandalone: true, selector: "cmat-cascade-menu", exportAs: ["cmatCascadeMenu"], ngImport: i0, template: "@for (menuItem of root.steps(); track $index; let step = $index) {\r\n <mat-list class=\"menu-list overflow-y-auto scrollbar-custom\">\r\n @for (listItem of menuItem; track listItem.value; let i = $index) {\r\n <mat-list-item class=\"menu-item\"\r\n [class.active]=\"listItem.active\" [class.disabled]=\"listItem.disabled\"\r\n (click)=\"root.selectHandle($event, step, i);\">\r\n <div matLine>{{listItem.label}}</div>\r\n @if (listItem.children && listItem.children.length) {\r\n <mat-icon class=\"item-icon\" [svgIcon]=\"'mat_outline:chevron_right'\"></mat-icon>\r\n }\r\n </mat-list-item>\r\n }\r\n </mat-list>\r\n}", styles: ["cmat-cascade-menu{height:200px;z-index:2007;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;white-space:nowrap}cmat-cascade-menu .menu-list{display:inline-block;border-right-width:1px;box-sizing:border-box;margin:0;padding:.5rem;overflow:hidden;position:relative;height:200px;min-width:200px;vertical-align:top}cmat-cascade-menu .menu-list:last-child{border-right-width:0px}cmat-cascade-menu .menu-item{line-height:3rem;padding:0 16px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;cursor:pointer!important}cmat-cascade-menu .menu-item.disabled{cursor:not-allowed!important}cmat-cascade-menu .menu-item .item-icon{position:absolute;justify-items:center;top:50%;bottom:50%;right:0;transform:translateY(-50%)}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i3.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i3.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
74
74
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCascadeMenuComponent, decorators: [{
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCascadeMenuComponent, decorators: [{
76
76
  type: Component,
77
77
  args: [{ selector: 'cmat-cascade-menu', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'cmatCascadeMenu', imports: [MatListModule, MatIconModule], template: "@for (menuItem of root.steps(); track $index; let step = $index) {\r\n <mat-list class=\"menu-list overflow-y-auto scrollbar-custom\">\r\n @for (listItem of menuItem; track listItem.value; let i = $index) {\r\n <mat-list-item class=\"menu-item\"\r\n [class.active]=\"listItem.active\" [class.disabled]=\"listItem.disabled\"\r\n (click)=\"root.selectHandle($event, step, i);\">\r\n <div matLine>{{listItem.label}}</div>\r\n @if (listItem.children && listItem.children.length) {\r\n <mat-icon class=\"item-icon\" [svgIcon]=\"'mat_outline:chevron_right'\"></mat-icon>\r\n }\r\n </mat-list-item>\r\n }\r\n </mat-list>\r\n}", styles: ["cmat-cascade-menu{height:200px;z-index:2007;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;white-space:nowrap}cmat-cascade-menu .menu-list{display:inline-block;border-right-width:1px;box-sizing:border-box;margin:0;padding:.5rem;overflow:hidden;position:relative;height:200px;min-width:200px;vertical-align:top}cmat-cascade-menu .menu-list:last-child{border-right-width:0px}cmat-cascade-menu .menu-item{line-height:3rem;padding:0 16px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;cursor:pointer!important}cmat-cascade-menu .menu-item.disabled{cursor:not-allowed!important}cmat-cascade-menu .menu-item .item-icon{position:absolute;justify-items:center;top:50%;bottom:50%;right:0;transform:translateY(-50%)}\n"] }]
78
78
  }] });
@@ -415,10 +415,10 @@ class CmatCascadeListComponent {
415
415
  }
416
416
  return labels[labels.length - 1]?.label ?? '';
417
417
  }
418
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCascadeListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
419
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: CmatCascadeListComponent, isStandalone: true, selector: "cmat-cascade-list", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, fullLevels: { classPropertyName: "fullLevels", publicName: "fullLevels", isSignal: true, isRequired: false, transformFunction: null }, changeOnSelect: { classPropertyName: "changeOnSelect", publicName: "changeOnSelect", isSignal: true, isRequired: false, transformFunction: null }, allowLabelValue: { classPropertyName: "allowLabelValue", publicName: "allowLabelValue", isSignal: true, isRequired: false, transformFunction: null }, touchUi: { classPropertyName: "touchUi", publicName: "touchUi", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "id" } }, providers: [{ provide: MatFormFieldControl, useExisting: CmatCascadeListComponent }], viewQueries: [{ propertyName: "overlayOrigin", first: true, predicate: CdkOverlayOrigin, descendants: true, isSignal: true }, { propertyName: "menuTemplate", first: true, predicate: CdkPortal, descendants: true, isSignal: true }, { propertyName: "_inputElement", first: true, predicate: ["inputElement"], descendants: true, isSignal: true }], exportAs: ["cmatCascadeList"], ngImport: i0, template: "<span role=\"presentation\" class=\"cmat-cascade-list\" cdk-overlay-origin\r\n [ngClass]=\"{'opened': menuVisible(), 'disabled': disabled, 'error-state': errorState}\">\r\n <input #inputElement matInput readonly [required]='required' [placeholder]=\"currentLabels().length>0 ? '' : placeholder\" (click)=\"clickHandle($event)\"\r\n (focusin)=\"onFocusIn()\" (focusout)=\"onFocusOut($event)\">\r\n\r\n @if (showClearIcon()) {\r\n <button type=\"button\" matSuffix matIconButton aria-label=\"Clear\" (click)=\"clearValue($event)\">\r\n <mat-icon [svgIcon]=\"'heroicons_outline:x-mark'\"></mat-icon>\r\n </button>\r\n }\r\n @else {\r\n <mat-icon matSuffix [svgIcon]=\"'mat_outline:arrow_drop_down'\"></mat-icon>\r\n }\r\n</span>\r\n\r\n<ng-template #menuTemplate=\"cdkPortal\" cdkPortal>\r\n <cmat-cascade-menu></cmat-cascade-menu>\r\n</ng-template>", styles: ["cmat-cascade-list{width:100%}.cmat-cascade-list{position:relative;display:flex;width:100%;line-height:2;align-items:center}.cmat-cascade-list mat-form-field{width:100%}.cmat-cascade-list input{cursor:pointer}.cmat-cascade-list.disabled .cascade-label{z-index:2}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CmatCascadeMenuComponent, selector: "cmat-cascade-menu", exportAs: ["cmatCascadeMenu"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: i2$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i3$1.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i4$1.CdkPortal, selector: "[cdkPortal]", exportAs: ["cdkPortal"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
418
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCascadeListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
419
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: CmatCascadeListComponent, isStandalone: true, selector: "cmat-cascade-list", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, fullLevels: { classPropertyName: "fullLevels", publicName: "fullLevels", isSignal: true, isRequired: false, transformFunction: null }, changeOnSelect: { classPropertyName: "changeOnSelect", publicName: "changeOnSelect", isSignal: true, isRequired: false, transformFunction: null }, allowLabelValue: { classPropertyName: "allowLabelValue", publicName: "allowLabelValue", isSignal: true, isRequired: false, transformFunction: null }, touchUi: { classPropertyName: "touchUi", publicName: "touchUi", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "id" } }, providers: [{ provide: MatFormFieldControl, useExisting: CmatCascadeListComponent }], viewQueries: [{ propertyName: "overlayOrigin", first: true, predicate: CdkOverlayOrigin, descendants: true, isSignal: true }, { propertyName: "menuTemplate", first: true, predicate: CdkPortal, descendants: true, isSignal: true }, { propertyName: "_inputElement", first: true, predicate: ["inputElement"], descendants: true, isSignal: true }], exportAs: ["cmatCascadeList"], ngImport: i0, template: "<span role=\"presentation\" class=\"cmat-cascade-list\" cdk-overlay-origin\r\n [ngClass]=\"{'opened': menuVisible(), 'disabled': disabled, 'error-state': errorState}\">\r\n <input #inputElement matInput readonly [required]='required' [placeholder]=\"currentLabels().length>0 ? '' : placeholder\" (click)=\"clickHandle($event)\"\r\n (focusin)=\"onFocusIn()\" (focusout)=\"onFocusOut($event)\">\r\n\r\n @if (showClearIcon()) {\r\n <button type=\"button\" matSuffix matIconButton aria-label=\"Clear\" (click)=\"clearValue($event)\">\r\n <mat-icon [svgIcon]=\"'heroicons_outline:x-mark'\"></mat-icon>\r\n </button>\r\n }\r\n @else {\r\n <mat-icon matSuffix [svgIcon]=\"'mat_outline:arrow_drop_down'\"></mat-icon>\r\n }\r\n</span>\r\n\r\n<ng-template #menuTemplate=\"cdkPortal\" cdkPortal>\r\n <cmat-cascade-menu></cmat-cascade-menu>\r\n</ng-template>", styles: ["cmat-cascade-list{width:100%}.cmat-cascade-list{position:relative;display:flex;width:100%;line-height:2;align-items:center}.cmat-cascade-list mat-form-field{width:100%}.cmat-cascade-list input{cursor:pointer}.cmat-cascade-list.disabled .cascade-label{z-index:2}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CmatCascadeMenuComponent, selector: "cmat-cascade-menu", exportAs: ["cmatCascadeMenu"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: i2$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i3$1.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i4$1.CdkPortal, selector: "[cdkPortal]", exportAs: ["cdkPortal"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
420
420
  }
421
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CmatCascadeListComponent, decorators: [{
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: CmatCascadeListComponent, decorators: [{
422
422
  type: Component,
423
423
  args: [{ selector: 'cmat-cascade-list', providers: [{ provide: MatFormFieldControl, useExisting: CmatCascadeListComponent }], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'cmatCascadeList', imports: [MatIconModule, NgClass, CmatCascadeMenuComponent, MatInputModule,
424
424
  OverlayModule, PortalModule, MatButtonModule], host: {