@odx/angular 1.0.0-rc.3 → 1.0.0-rc.4

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 (220) hide show
  1. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +3 -3
  2. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +3 -1
  3. package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +2 -0
  4. package/cdk/dynamic-view/lib/helpers/index.d.ts +1 -0
  5. package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +1 -0
  6. package/components/chip/README.md +3 -0
  7. package/components/chip/index.d.ts +2 -0
  8. package/components/chip/lib/chip.component.d.ts +15 -0
  9. package/components/chip/lib/models/chip-size.d.ts +5 -0
  10. package/components/chip/lib/models/chip-variant.d.ts +7 -0
  11. package/components/chip/lib/models/index.d.ts +2 -0
  12. package/components/circular-progress/README.md +3 -0
  13. package/components/circular-progress/index.d.ts +2 -0
  14. package/components/circular-progress/lib/circular-progress.component.d.ts +28 -0
  15. package/components/circular-progress/lib/models/circular-progress-size.d.ts +7 -0
  16. package/components/circular-progress/lib/models/index.d.ts +1 -0
  17. package/components/loading-spinner/README.md +3 -0
  18. package/components/loading-spinner/index.d.ts +3 -0
  19. package/components/loading-spinner/lib/loading-spinner.component.d.ts +15 -0
  20. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +26 -0
  21. package/components/loading-spinner/lib/loading-spinner.module.d.ts +9 -0
  22. package/components/loading-spinner/lib/loading-spinner.service.d.ts +9 -0
  23. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +6 -1
  24. package/components/main-menu/lib/main-menu.component.d.ts +3 -1
  25. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +1 -0
  26. package/components/modal/lib/modal.component.d.ts +2 -1
  27. package/components/modal/lib/modal.directive.d.ts +8 -4
  28. package/components/modal/lib/models/modal-ref.d.ts +4 -2
  29. package/components/progress/README.md +3 -0
  30. package/components/progress/index.d.ts +1 -0
  31. package/components/progress/lib/progress.component.d.ts +14 -0
  32. package/esm2020/animations/lib/fade.mjs +2 -5
  33. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +6 -6
  34. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +3 -3
  35. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +3 -3
  36. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +23 -14
  37. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +20 -8
  38. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +3 -3
  39. package/esm2020/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +9 -0
  40. package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +2 -1
  41. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +3 -2
  42. package/esm2020/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +1 -1
  43. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +3 -3
  44. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +3 -3
  45. package/esm2020/cdk/expandable/lib/expandable.module.mjs +4 -4
  46. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +6 -6
  47. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +3 -3
  48. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +4 -4
  49. package/esm2020/components/accordion/lib/accordion.component.mjs +3 -3
  50. package/esm2020/components/accordion/lib/accordion.module.mjs +4 -4
  51. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +3 -3
  52. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +3 -3
  53. package/esm2020/components/action-group/action-group.component.mjs +3 -3
  54. package/esm2020/components/area-header/area-header.component.mjs +3 -3
  55. package/esm2020/components/area-header/area-header.module.mjs +4 -4
  56. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +3 -3
  57. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +3 -3
  58. package/esm2020/components/avatar/lib/avatar.component.mjs +3 -3
  59. package/esm2020/components/badge/lib/badge.component.mjs +3 -3
  60. package/esm2020/components/badge/lib/badge.directive.mjs +3 -3
  61. package/esm2020/components/button/lib/button.component.mjs +3 -3
  62. package/esm2020/components/button-group/lib/button-group.component.mjs +3 -3
  63. package/esm2020/components/checkbox/lib/checkbox.component.mjs +3 -3
  64. package/esm2020/components/chip/index.mjs +3 -0
  65. package/esm2020/components/chip/lib/chip.component.mjs +54 -0
  66. package/esm2020/components/chip/lib/models/chip-size.mjs +5 -0
  67. package/esm2020/components/chip/lib/models/chip-variant.mjs +7 -0
  68. package/esm2020/components/chip/lib/models/index.mjs +3 -0
  69. package/esm2020/components/chip/odx-angular-components-chip.mjs +5 -0
  70. package/esm2020/components/circular-progress/index.mjs +3 -0
  71. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +91 -0
  72. package/esm2020/components/circular-progress/lib/models/circular-progress-size.mjs +7 -0
  73. package/esm2020/components/circular-progress/lib/models/index.mjs +2 -0
  74. package/esm2020/components/circular-progress/odx-angular-components-circular-progress.mjs +5 -0
  75. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  76. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  77. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +3 -3
  78. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +3 -3
  79. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -3
  80. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
  81. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +3 -3
  82. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +3 -3
  83. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +3 -3
  84. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +3 -3
  85. package/esm2020/components/form-field/lib/directives/form.directive.mjs +3 -3
  86. package/esm2020/components/form-field/lib/form-field.component.mjs +3 -3
  87. package/esm2020/components/form-field/lib/form-field.module.mjs +4 -4
  88. package/esm2020/components/form-field/lib/form-field.service.mjs +3 -3
  89. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +3 -3
  90. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +3 -3
  91. package/esm2020/components/header/lib/directives/header-title.directive.mjs +3 -3
  92. package/esm2020/components/header/lib/header.component.mjs +3 -3
  93. package/esm2020/components/header/lib/header.module.mjs +4 -4
  94. package/esm2020/components/icon/lib/icon.component.mjs +3 -3
  95. package/esm2020/components/link/link.directive.mjs +3 -3
  96. package/esm2020/components/loading-spinner/index.mjs +4 -0
  97. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +58 -0
  98. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +87 -0
  99. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +19 -0
  100. package/esm2020/components/loading-spinner/lib/loading-spinner.service.mjs +17 -0
  101. package/esm2020/components/loading-spinner/odx-angular-components-loading-spinner.mjs +5 -0
  102. package/esm2020/components/logo/logo.directive.mjs +3 -3
  103. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +3 -3
  104. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +20 -9
  105. package/esm2020/components/main-menu/lib/main-menu.component.mjs +7 -6
  106. package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
  107. package/esm2020/components/main-menu/lib/main-menu.service.mjs +3 -3
  108. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +3 -3
  109. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +10 -8
  110. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +3 -3
  111. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +3 -3
  112. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +3 -3
  113. package/esm2020/components/modal/lib/modal.component.mjs +11 -7
  114. package/esm2020/components/modal/lib/modal.directive.mjs +24 -6
  115. package/esm2020/components/modal/lib/modal.module.mjs +4 -4
  116. package/esm2020/components/modal/lib/modal.service.mjs +3 -3
  117. package/esm2020/components/modal/lib/models/modal-ref.mjs +9 -2
  118. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +3 -3
  119. package/esm2020/components/progress/index.mjs +2 -0
  120. package/esm2020/components/progress/lib/progress.component.mjs +51 -0
  121. package/esm2020/components/progress/odx-angular-components-progress.mjs +5 -0
  122. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +3 -3
  123. package/esm2020/components/radio-group/lib/radio-group.component.mjs +3 -3
  124. package/esm2020/components/radio-group/lib/radio-group.module.mjs +4 -4
  125. package/esm2020/components/switch/lib/switch.component.mjs +3 -3
  126. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  127. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +3 -3
  128. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +4 -4
  129. package/esm2020/lib/controllers/controller.mjs +11 -10
  130. package/esm2020/lib/controllers/disabled.controller.mjs +3 -3
  131. package/esm2020/lib/controllers/readonly.controller.mjs +3 -3
  132. package/esm2020/lib/core.module.mjs +4 -4
  133. package/esm2020/lib/directives/click-outside.directive.mjs +3 -3
  134. package/esm2020/lib/services/window-ref.mjs +3 -3
  135. package/fesm2015/odx-angular-animations.mjs +1 -1
  136. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  137. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +5 -5
  138. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  139. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +6 -6
  140. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +54 -25
  141. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  142. package/fesm2015/odx-angular-cdk-expandable.mjs +10 -10
  143. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +12 -12
  144. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  145. package/fesm2015/odx-angular-components-accordion.mjs +13 -13
  146. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  147. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  148. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  149. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  150. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  151. package/fesm2015/odx-angular-components-button.mjs +3 -3
  152. package/fesm2015/odx-angular-components-checkbox.mjs +3 -3
  153. package/fesm2015/odx-angular-components-chip.mjs +71 -0
  154. package/fesm2015/odx-angular-components-chip.mjs.map +1 -0
  155. package/fesm2015/odx-angular-components-circular-progress.mjs +103 -0
  156. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -0
  157. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  158. package/fesm2015/odx-angular-components-form-field.mjs +34 -34
  159. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  160. package/fesm2015/odx-angular-components-header.mjs +13 -13
  161. package/fesm2015/odx-angular-components-icon.mjs +3 -3
  162. package/fesm2015/odx-angular-components-link.mjs +3 -3
  163. package/fesm2015/odx-angular-components-loading-spinner.mjs +173 -0
  164. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -0
  165. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  166. package/fesm2015/odx-angular-components-main-menu.mjs +34 -23
  167. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  168. package/fesm2015/odx-angular-components-modal.mjs +70 -42
  169. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  170. package/fesm2015/odx-angular-components-progress.mjs +57 -0
  171. package/fesm2015/odx-angular-components-progress.mjs.map +1 -0
  172. package/fesm2015/odx-angular-components-radio-group.mjs +10 -10
  173. package/fesm2015/odx-angular-components-switch.mjs +3 -3
  174. package/fesm2015/odx-angular-components-toggle-button-group.mjs +10 -10
  175. package/fesm2015/odx-angular.mjs +27 -26
  176. package/fesm2015/odx-angular.mjs.map +1 -1
  177. package/fesm2020/odx-angular-animations.mjs +1 -4
  178. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  179. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +5 -5
  180. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  181. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +6 -6
  182. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +52 -23
  183. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  184. package/fesm2020/odx-angular-cdk-expandable.mjs +10 -10
  185. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +12 -12
  186. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  187. package/fesm2020/odx-angular-components-accordion.mjs +13 -13
  188. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  189. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  190. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  191. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  192. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  193. package/fesm2020/odx-angular-components-button.mjs +3 -3
  194. package/fesm2020/odx-angular-components-checkbox.mjs +3 -3
  195. package/fesm2020/odx-angular-components-chip.mjs +71 -0
  196. package/fesm2020/odx-angular-components-chip.mjs.map +1 -0
  197. package/fesm2020/odx-angular-components-circular-progress.mjs +103 -0
  198. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -0
  199. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  200. package/fesm2020/odx-angular-components-form-field.mjs +34 -34
  201. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  202. package/fesm2020/odx-angular-components-header.mjs +13 -13
  203. package/fesm2020/odx-angular-components-icon.mjs +3 -3
  204. package/fesm2020/odx-angular-components-link.mjs +3 -3
  205. package/fesm2020/odx-angular-components-loading-spinner.mjs +172 -0
  206. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -0
  207. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  208. package/fesm2020/odx-angular-components-main-menu.mjs +34 -23
  209. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  210. package/fesm2020/odx-angular-components-modal.mjs +69 -41
  211. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  212. package/fesm2020/odx-angular-components-progress.mjs +57 -0
  213. package/fesm2020/odx-angular-components-progress.mjs.map +1 -0
  214. package/fesm2020/odx-angular-components-radio-group.mjs +10 -10
  215. package/fesm2020/odx-angular-components-switch.mjs +3 -3
  216. package/fesm2020/odx-angular-components-toggle-button-group.mjs +10 -10
  217. package/fesm2020/odx-angular.mjs +27 -26
  218. package/fesm2020/odx-angular.mjs.map +1 -1
  219. package/lib/controllers/controller.d.ts +1 -2
  220. package/package.json +35 -2
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2R4LWFuZ3VsYXItY29tcG9uZW50cy1wcm9ncmVzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jb21wb25lbnRzL3Byb2dyZXNzL3NyYy9vZHgtYW5ndWxhci1jb21wb25lbnRzLXByb2dyZXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -21,8 +21,8 @@ let RadioButtonComponent = class RadioButtonComponent extends RadioControlDirect
21
21
  this.withLabel = !!this.contentElement.nativeElement.textContent?.trim();
22
22
  }
23
23
  };
24
- RadioButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: RadioButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
- RadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: RadioButtonComponent, isStandalone: true, selector: "odx-radio-button", providers: [DisabledController.connect(), ReadonlyController.connect()], viewQueries: [{ propertyName: "contentElement", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"odx-radio-button__label\">\n <input\n class=\"odx-radio-button__input\"\n type=\"radio\"\n [attr.aria-checked]=\"ariaChecked\"\n [attr.aria-invalid]=\"radioGroupControl.hasError || null\"\n [attr.aria-readonly]=\"readonlyController?.readonly || null\"\n [attr.aria-required]=\"radioGroupControl.required || null\"\n [checked]=\"isActive\"\n [disabled]=\"disabledController?.disabled || readonlyController?.readonly\"\n [name]=\"radioGroupControl.name\"\n [readonly]=\"readonlyController?.readonly\"\n [required]=\"radioGroupControl.required\"\n [value]=\"value\"\n (change)=\"radioGroupControl.updateValue(value)\"\n />\n <div class=\"odx-radio-button__indicator\"></div>\n <div class=\"odx-radio-button__content\" [cdkObserveContentDisabled]=\"disabledController?.disabled\" (cdkObserveContent)=\"onContentChange()\" #content>\n <ng-content></ng-content>\n </div>\n</label>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.DisabledController, selector: "[disabled]", inputs: ["disabled"] }, { kind: "directive", type: i1.ReadonlyController, selector: "[readonly]", inputs: ["readonly"] }, { kind: "ngmodule", type: ObserversModule }, { kind: "directive", type: i2.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
24
+ RadioButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: RadioButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
+ RadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: RadioButtonComponent, isStandalone: true, selector: "odx-radio-button", providers: [DisabledController.connect(), ReadonlyController.connect()], viewQueries: [{ propertyName: "contentElement", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"odx-radio-button__label\">\n <input\n class=\"odx-radio-button__input\"\n type=\"radio\"\n [attr.aria-checked]=\"ariaChecked\"\n [attr.aria-invalid]=\"radioGroupControl.hasError || null\"\n [attr.aria-readonly]=\"readonlyController?.readonly || null\"\n [attr.aria-required]=\"radioGroupControl.required || null\"\n [checked]=\"isActive\"\n [disabled]=\"disabledController?.disabled || readonlyController?.readonly\"\n [name]=\"radioGroupControl.name\"\n [readonly]=\"readonlyController?.readonly\"\n [required]=\"radioGroupControl.required\"\n [value]=\"value\"\n (change)=\"radioGroupControl.updateValue(value)\"\n />\n <div class=\"odx-radio-button__indicator\"></div>\n <div class=\"odx-radio-button__content\" [cdkObserveContentDisabled]=\"disabledController?.disabled\" (cdkObserveContent)=\"onContentChange()\" #content>\n <ng-content></ng-content>\n </div>\n</label>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.DisabledController, selector: "[disabled]", inputs: ["disabled"] }, { kind: "directive", type: i1.ReadonlyController, selector: "[readonly]", inputs: ["readonly"] }, { kind: "ngmodule", type: ObserversModule }, { kind: "directive", type: i2.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
26
26
  __decorate([
27
27
  CSSModifier(),
28
28
  __metadata("design:type", Object)
@@ -31,7 +31,7 @@ RadioButtonComponent = __decorate([
31
31
  CSSComponent('radio-button')
32
32
  ], RadioButtonComponent);
33
33
  export { RadioButtonComponent };
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: RadioButtonComponent, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: RadioButtonComponent, decorators: [{
35
35
  type: Component,
36
36
  args: [{ standalone: true, selector: 'odx-radio-button', imports: [CoreModule, ObserversModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [DisabledController.connect(), ReadonlyController.connect()], template: "<label class=\"odx-radio-button__label\">\n <input\n class=\"odx-radio-button__input\"\n type=\"radio\"\n [attr.aria-checked]=\"ariaChecked\"\n [attr.aria-invalid]=\"radioGroupControl.hasError || null\"\n [attr.aria-readonly]=\"readonlyController?.readonly || null\"\n [attr.aria-required]=\"radioGroupControl.required || null\"\n [checked]=\"isActive\"\n [disabled]=\"disabledController?.disabled || readonlyController?.readonly\"\n [name]=\"radioGroupControl.name\"\n [readonly]=\"readonlyController?.readonly\"\n [required]=\"radioGroupControl.required\"\n [value]=\"value\"\n (change)=\"radioGroupControl.updateValue(value)\"\n />\n <div class=\"odx-radio-button__indicator\"></div>\n <div class=\"odx-radio-button__content\" [cdkObserveContentDisabled]=\"disabledController?.disabled\" (cdkObserveContent)=\"onContentChange()\" #content>\n <ng-content></ng-content>\n </div>\n</label>\n" }]
37
37
  }], propDecorators: { withLabel: [], contentElement: [{
@@ -13,8 +13,8 @@ let RadioGroupComponent = RadioGroupComponent_1 = class RadioGroupComponent exte
13
13
  this.horizontal = false;
14
14
  }
15
15
  };
16
- RadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: RadioGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
17
- RadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: RadioGroupComponent, isStandalone: true, selector: "odx-radio-group", inputs: { horizontal: "horizontal" }, providers: [
16
+ RadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: RadioGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
17
+ RadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: RadioGroupComponent, isStandalone: true, selector: "odx-radio-group", inputs: { horizontal: "horizontal" }, providers: [
18
18
  {
19
19
  provide: RADIO_GROUP_CONTROL,
20
20
  useExisting: RadioGroupComponent_1,
@@ -31,7 +31,7 @@ RadioGroupComponent = RadioGroupComponent_1 = __decorate([
31
31
  CSSComponent('radio-group')
32
32
  ], RadioGroupComponent);
33
33
  export { RadioGroupComponent };
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: RadioGroupComponent, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: RadioGroupComponent, decorators: [{
35
35
  type: Component,
36
36
  args: [{ standalone: true, selector: 'odx-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
37
37
  {
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
6
6
  const modules = [RadioGroupComponent, RadioButtonComponent];
7
7
  export class RadioGroupModule {
8
8
  }
9
- RadioGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: RadioGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- RadioGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: RadioGroupModule, imports: [RadioGroupComponent, RadioButtonComponent], exports: [CoreModule, RadioGroupComponent, RadioButtonComponent] });
11
- RadioGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: RadioGroupModule, imports: [modules, CoreModule] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: RadioGroupModule, decorators: [{
9
+ RadioGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: RadioGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ RadioGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: RadioGroupModule, imports: [RadioGroupComponent, RadioButtonComponent], exports: [CoreModule, RadioGroupComponent, RadioButtonComponent] });
11
+ RadioGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: RadioGroupModule, imports: [modules, CoreModule] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: RadioGroupModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  imports: modules,
@@ -7,13 +7,13 @@ import { CSSComponent } from '@odx/angular/internal';
7
7
  import * as i0 from "@angular/core";
8
8
  let SwitchComponent = class SwitchComponent extends CheckBoxControl {
9
9
  };
10
- SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: SwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
11
- SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: SwitchComponent, isStandalone: true, selector: "odx-switch", host: { properties: { "class.is-active": "checked" } }, providers: [DisabledController.connect(), ReadonlyController.connect()], usesInheritance: true, ngImport: i0, template: "<label class=\"odx-switch__label\">\n <input\n odxControl\n class=\"odx-switch__input\"\n [attr.aria-checked]=\"ariaChecked\"\n [attr.aria-invalid]=\"hasError || null\"\n [attr.aria-readonly]=\"isReadonly || null\"\n [attr.aria-required]=\"required || null\"\n [checked]=\"checked\"\n [disabled]=\"isDisabled || isReadonly\"\n [name]=\"name\"\n [readonly]=\"isReadonly\"\n [value]=\"value\"\n type=\"checkbox\"\n (blur)=\"onTouched()\"\n (change)=\"onChanged($event)\"\n />\n <div class=\"odx-switch__indicator\"></div>\n <div class=\"odx-switch__content\">\n <ng-content></ng-content>\n </div>\n</label>\n", dependencies: [{ kind: "directive", type: ControlDirective, selector: "[odxControl]", exportAs: ["odxControl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
10
+ SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
11
+ SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: SwitchComponent, isStandalone: true, selector: "odx-switch", host: { properties: { "class.is-active": "checked" } }, providers: [DisabledController.connect(), ReadonlyController.connect()], usesInheritance: true, ngImport: i0, template: "<label class=\"odx-switch__label\">\n <input\n odxControl\n class=\"odx-switch__input\"\n [attr.aria-checked]=\"ariaChecked\"\n [attr.aria-invalid]=\"hasError || null\"\n [attr.aria-readonly]=\"isReadonly || null\"\n [attr.aria-required]=\"required || null\"\n [checked]=\"checked\"\n [disabled]=\"isDisabled || isReadonly\"\n [name]=\"name\"\n [readonly]=\"isReadonly\"\n [value]=\"value\"\n type=\"checkbox\"\n (blur)=\"onTouched()\"\n (change)=\"onChanged($event)\"\n />\n <div class=\"odx-switch__indicator\"></div>\n <div class=\"odx-switch__content\">\n <ng-content></ng-content>\n </div>\n</label>\n", dependencies: [{ kind: "directive", type: ControlDirective, selector: "[odxControl]", exportAs: ["odxControl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
12
12
  SwitchComponent = __decorate([
13
13
  CSSComponent('switch')
14
14
  ], SwitchComponent);
15
15
  export { SwitchComponent };
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: SwitchComponent, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SwitchComponent, decorators: [{
17
17
  type: Component,
18
18
  args: [{ standalone: true, selector: 'odx-switch', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [ControlDirective], providers: [DisabledController.connect(), ReadonlyController.connect()], host: {
19
19
  '[class.is-active]': 'checked',
@@ -11,13 +11,13 @@ let ToggleButtonComponent = class ToggleButtonComponent extends RadioControlDire
11
11
  this.element = injectElement();
12
12
  }
13
13
  };
14
- ToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
- ToggleButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: ToggleButtonComponent, isStandalone: true, selector: "odx-toggle-button", host: { attributes: { "role": "button" }, properties: { "class.is-active": "isActive", "class.is-disabled": "disabledController?.disabled", "class.is-readonly": "readonlyController?.readonly", "class.has-error": "radioGroupControl.hasError" } }, providers: [DisabledController.connect(), ReadonlyController.connect()], usesInheritance: true, ngImport: i0, template: "<label class=\"odx-toggle-button__label\">\n <input\n class=\"odx-radio-button__input\"\n type=\"radio\"\n [attr.aria-checked]=\"ariaChecked\"\n [attr.aria-invalid]=\"radioGroupControl.hasError || null\"\n [attr.aria-readonly]=\"readonlyController?.readonly || null\"\n [attr.aria-required]=\"radioGroupControl.required || null\"\n [checked]=\"isActive\"\n [disabled]=\"disabledController?.disabled || readonlyController?.readonly\"\n [name]=\"radioGroupControl.name\"\n [readonly]=\"readonlyController?.readonly\"\n [required]=\"radioGroupControl.required\"\n [value]=\"value\"\n (change)=\"radioGroupControl.updateValue(value)\"\n />\n <ng-content></ng-content>\n</label>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
14
+ ToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
+ ToggleButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: ToggleButtonComponent, isStandalone: true, selector: "odx-toggle-button", host: { attributes: { "role": "button" }, properties: { "class.is-active": "isActive", "class.is-disabled": "disabledController?.disabled", "class.is-readonly": "readonlyController?.readonly", "class.has-error": "radioGroupControl.hasError" } }, providers: [DisabledController.connect(), ReadonlyController.connect()], usesInheritance: true, ngImport: i0, template: "<label class=\"odx-toggle-button__label\">\n <input\n class=\"odx-radio-button__input\"\n type=\"radio\"\n [attr.aria-checked]=\"ariaChecked\"\n [attr.aria-invalid]=\"radioGroupControl.hasError || null\"\n [attr.aria-readonly]=\"readonlyController?.readonly || null\"\n [attr.aria-required]=\"radioGroupControl.required || null\"\n [checked]=\"isActive\"\n [disabled]=\"disabledController?.disabled || readonlyController?.readonly\"\n [name]=\"radioGroupControl.name\"\n [readonly]=\"readonlyController?.readonly\"\n [required]=\"radioGroupControl.required\"\n [value]=\"value\"\n (change)=\"radioGroupControl.updateValue(value)\"\n />\n <ng-content></ng-content>\n</label>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
16
16
  ToggleButtonComponent = __decorate([
17
17
  CSSComponent('toggle-button')
18
18
  ], ToggleButtonComponent);
19
19
  export { ToggleButtonComponent };
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonComponent, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonComponent, decorators: [{
21
21
  type: Component,
22
22
  args: [{ standalone: true, selector: 'odx-toggle-button', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
23
23
  '[class.is-active]': 'isActive',
@@ -12,8 +12,8 @@ let ToggleButtonGroupComponent = ToggleButtonGroupComponent_1 = class ToggleButt
12
12
  this.element = injectElement();
13
13
  }
14
14
  };
15
- ToggleButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
16
- ToggleButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: ToggleButtonGroupComponent, isStandalone: true, selector: "odx-toggle-button-group", providers: [
15
+ ToggleButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
16
+ ToggleButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: ToggleButtonGroupComponent, isStandalone: true, selector: "odx-toggle-button-group", providers: [
17
17
  { provide: RADIO_GROUP_CONTROL, useExisting: ToggleButtonGroupComponent_1, multi: false },
18
18
  DisabledController.connect(),
19
19
  ReadonlyController.connect(),
@@ -22,7 +22,7 @@ ToggleButtonGroupComponent = ToggleButtonGroupComponent_1 = __decorate([
22
22
  CSSComponent('toggle-button-group')
23
23
  ], ToggleButtonGroupComponent);
24
24
  export { ToggleButtonGroupComponent };
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonGroupComponent, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonGroupComponent, decorators: [{
26
26
  type: Component,
27
27
  args: [{ standalone: true, selector: 'odx-toggle-button-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
28
28
  { provide: RADIO_GROUP_CONTROL, useExisting: ToggleButtonGroupComponent, multi: false },
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
6
6
  const modules = [ToggleButtonGroupComponent, ToggleButtonComponent];
7
7
  export class ToggleButtonGroupModule {
8
8
  }
9
- ToggleButtonGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- ToggleButtonGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonGroupModule, imports: [ToggleButtonGroupComponent, ToggleButtonComponent], exports: [CoreModule, ToggleButtonGroupComponent, ToggleButtonComponent] });
11
- ToggleButtonGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonGroupModule, imports: [modules, CoreModule] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ToggleButtonGroupModule, decorators: [{
9
+ ToggleButtonGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ ToggleButtonGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonGroupModule, imports: [ToggleButtonGroupComponent, ToggleButtonComponent], exports: [CoreModule, ToggleButtonGroupComponent, ToggleButtonComponent] });
11
+ ToggleButtonGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonGroupModule, imports: [modules, CoreModule] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ToggleButtonGroupModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  imports: modules,
@@ -1,22 +1,23 @@
1
- import { Directive } from '@angular/core';
1
+ import { ChangeDetectorRef, Directive, inject } from '@angular/core';
2
2
  import { markForCheck } from '@odx/angular/rxjs';
3
3
  import { isPresent, pluckFromArray } from '@odx/angular/utils';
4
4
  import { merge, share, Subject } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
6
- export function detectControllerChanges(changeDetector, ...controllers) {
7
- return controllerChanges(...controllers).pipe(markForCheck(changeDetector));
8
- }
9
- export function controllerChanges(...controllers) {
6
+ function controllerChanges(controllers) {
10
7
  const changes$ = pluckFromArray(controllers.filter(isPresent), 'change$');
11
8
  return merge(...changes$);
12
9
  }
10
+ export function detectControllerChanges(...controllers) {
11
+ const changeDetector = inject(ChangeDetectorRef);
12
+ return controllerChanges(controllers).pipe(markForCheck(changeDetector));
13
+ }
13
14
  export class Controller {
14
15
  constructor() {
15
16
  this.change$$ = new Subject();
16
17
  this.change$ = this.change$$.pipe(share());
17
18
  }
18
19
  static setup(controller, changeDetector) {
19
- detectControllerChanges(changeDetector, controller).subscribe();
20
+ controllerChanges([controller]).pipe(markForCheck(changeDetector)).subscribe();
20
21
  return controller;
21
22
  }
22
23
  ngOnChanges() {
@@ -29,9 +30,9 @@ export class Controller {
29
30
  this.change$$.next();
30
31
  }
31
32
  }
32
- Controller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: Controller, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- Controller.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: Controller, usesOnChanges: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: Controller, decorators: [{
33
+ Controller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: Controller, deps: [], target: i0.ɵɵFactoryTarget.Directive });
34
+ Controller.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: Controller, usesOnChanges: true, ngImport: i0 });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: Controller, decorators: [{
35
36
  type: Directive
36
37
  }] });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9zcmMvbGliL2NvbnRyb2xsZXJzL2NvbnRyb2xsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFxQixTQUFTLEVBQXdCLE1BQU0sZUFBZSxDQUFDO0FBQ25GLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsU0FBUyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxLQUFLLEVBQWMsS0FBSyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFFekQsTUFBTSxVQUFVLHVCQUF1QixDQUFDLGNBQWlDLEVBQUUsR0FBRyxXQUFpRDtJQUM3SCxPQUFPLGlCQUFpQixDQUFDLEdBQUcsV0FBVyxDQUFDLENBQUMsSUFBSSxDQUFDLFlBQVksQ0FBQyxjQUFjLENBQUMsQ0FBQyxDQUFDO0FBQzlFLENBQUM7QUFFRCxNQUFNLFVBQVUsaUJBQWlCLENBQUMsR0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HJvbGxlcnMpLnBpcGUobWFya0ZvckNoZWNrKGNoYW5nZURldGVjdG9yKSk7XG59XG5cbkBEaXJlY3RpdmUoKVxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIENvbnRyb2xsZXIgaW1wbGVtZW50cyBPbkNoYW5nZXMsIE9uRGVzdHJveSB7XG4gIHByaXZhdGUgcmVhZG9ubHkgY2hhbmdlJCQgPSBuZXcgU3ViamVjdDx2b2lkPigpO1xuXG4gIHB1YmxpYyByZWFkb25seSBjaGFuZ2UkID0gdGhpcy5jaGFuZ2UkJC5waXBlKHNoYXJlKCkpO1xuXG4gIHB1YmxpYyBzdGF0aWMgc2V0dXAoY29udHJvbGxlcjogQ29udHJvbGxlciB8IG51bGwsIGNoYW5nZURldGVjdG9yOiBDaGFuZ2VEZXRlY3RvclJlZik6IENvbnRyb2xsZXIgfCBudWxsIHtcbiAgICBjb250cm9sbGVyQ2hhbmdlcyhbY29udHJvbGxlcl0pLnBpcGUobWFya0ZvckNoZWNrKGNoYW5nZURldGVjdG9yKSkuc3Vic2NyaWJlKCk7XG5cbiAgICByZXR1cm4gY29udHJvbGxlcjtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uQ2hhbmdlcygpOiB2b2lkIHtcbiAgICB0aGlzLnRyaWdnZXJDb250cm9sbGVyQ2hhbmdlKCk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5jaGFuZ2UkJC5jb21wbGV0ZSgpO1xuICB9XG5cbiAgcHJvdGVjdGVkIHRyaWdnZXJDb250cm9sbGVyQ2hhbmdlKCkge1xuICAgIHRoaXMuY2hhbmdlJCQubmV4dCgpO1xuICB9XG59XG4iXX0=
@@ -52,14 +52,14 @@ export class DisabledController extends Controller {
52
52
  this.ngOnChanges();
53
53
  }
54
54
  }
55
- DisabledController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DisabledController, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
56
- DisabledController.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: DisabledController, isStandalone: true, selector: "[disabled]", inputs: { disabled: "disabled" }, host: { properties: { "attr.aria-disabled": "ariaDisabled", "attr.disabled": "hasDisabledAttribute || null" } }, providers: [
55
+ DisabledController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DisabledController, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
56
+ DisabledController.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: DisabledController, isStandalone: true, selector: "[disabled]", inputs: { disabled: "disabled" }, host: { properties: { "attr.aria-disabled": "ariaDisabled", "attr.disabled": "hasDisabledAttribute || null" } }, providers: [
57
57
  {
58
58
  provide: DISABLED_INTERNAL_CONTROLLER,
59
59
  useExisting: forwardRef(() => DisabledController),
60
60
  },
61
61
  ], usesInheritance: true, ngImport: i0 });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DisabledController, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DisabledController, decorators: [{
63
63
  type: Directive,
64
64
  args: [{
65
65
  standalone: true,
@@ -40,14 +40,14 @@ export class ReadonlyController extends Controller {
40
40
  };
41
41
  }
42
42
  }
43
- ReadonlyController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ReadonlyController, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
44
- ReadonlyController.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: ReadonlyController, isStandalone: true, selector: "[readonly]", inputs: { readonly: "readonly" }, host: { properties: { "attr.readonly": "hasReadonlyAttribute || null" } }, providers: [
43
+ ReadonlyController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ReadonlyController, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
44
+ ReadonlyController.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: ReadonlyController, isStandalone: true, selector: "[readonly]", inputs: { readonly: "readonly" }, host: { properties: { "attr.readonly": "hasReadonlyAttribute || null" } }, providers: [
45
45
  {
46
46
  provide: READONLY_INTERNAL_CONTROLLER,
47
47
  useExisting: forwardRef(() => ReadonlyController),
48
48
  },
49
49
  ], usesInheritance: true, ngImport: i0 });
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ReadonlyController, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ReadonlyController, decorators: [{
51
51
  type: Directive,
52
52
  args: [{
53
53
  standalone: true,
@@ -7,10 +7,10 @@ const controllers = [DisabledController, ReadonlyController];
7
7
  const modules = [ClickOutsideDirective];
8
8
  export class CoreModule {
9
9
  }
10
- CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: CoreModule, imports: [DisabledController, ReadonlyController, ClickOutsideDirective], exports: [CommonModule, DisabledController, ReadonlyController, ClickOutsideDirective] });
12
- CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: CoreModule, imports: [CommonModule] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: CoreModule, decorators: [{
10
+ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: CoreModule, imports: [DisabledController, ReadonlyController, ClickOutsideDirective], exports: [CommonModule, DisabledController, ReadonlyController, ClickOutsideDirective] });
12
+ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: CoreModule, imports: [CommonModule] });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: CoreModule, decorators: [{
14
14
  type: NgModule,
15
15
  args: [{
16
16
  imports: [...controllers, ...modules],
@@ -42,9 +42,9 @@ export class ClickOutsideDirective {
42
42
  }, 0);
43
43
  }
44
44
  }
45
- ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
46
- ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: ClickOutsideDirective, isStandalone: true, selector: "[odxClickOutside]", inputs: { odxClickOutsideActive: "odxClickOutsideActive" }, outputs: { odxClickOutside: "odxClickOutside" }, usesOnChanges: true, ngImport: i0 });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ClickOutsideDirective, decorators: [{
45
+ ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
46
+ ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: ClickOutsideDirective, isStandalone: true, selector: "[odxClickOutside]", inputs: { odxClickOutsideActive: "odxClickOutsideActive" }, outputs: { odxClickOutside: "odxClickOutside" }, usesOnChanges: true, ngImport: i0 });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ClickOutsideDirective, decorators: [{
48
48
  type: Directive,
49
49
  args: [{
50
50
  standalone: true,
@@ -21,9 +21,9 @@ export class WindowRef {
21
21
  return this.location.reload();
22
22
  }
23
23
  }
24
- WindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
25
- WindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WindowRef, providedIn: 'root' });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WindowRef, decorators: [{
24
+ WindowRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: WindowRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
25
+ WindowRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: WindowRef, providedIn: 'root' });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: WindowRef, decorators: [{
27
27
  type: Injectable,
28
28
  args: [{
29
29
  providedIn: 'root',
@@ -19,7 +19,7 @@ const collapse = animation([animate('{{duration}} {{ delay }} {{ timingFn }}', s
19
19
  });
20
20
 
21
21
  const fadeIn = (to = 1) => animation([style({ opacity: 0 }), animate('{{duration}} {{ delay }} {{ timingFn }}', style({ opacity: to }))], {
22
- params: Object.assign(Object.assign({}, DEFAULT_ANIMATION_PARAMS), { to: 1 }),
22
+ params: DEFAULT_ANIMATION_PARAMS,
23
23
  });
24
24
  const fadeOut = (to = 0) => animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ opacity: to }))], {
25
25
  params: DEFAULT_ANIMATION_PARAMS,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-animations.mjs","sources":["../../../../libs/angular/animations/src/lib/config.ts","../../../../libs/angular/animations/src/lib/expand.ts","../../../../libs/angular/animations/src/lib/fade.ts","../../../../libs/angular/animations/src/lib/slide.ts","../../../../libs/angular/animations/src/odx-angular-animations.ts"],"sourcesContent":["export const DEFAULT_ANIMATION_TIMING_FN = 'ease';\nexport const DEFAULT_ANIMATION_DURATION = '250ms';\nexport const DEFAULT_ANIMATION_PARAMS = {\n timingFn: DEFAULT_ANIMATION_TIMING_FN,\n duration: DEFAULT_ANIMATION_DURATION,\n delay: '0ms',\n};\n","import { animate, animation, style } from '@angular/animations';\nimport { DEFAULT_ANIMATION_PARAMS } from './config';\n\nexport const expand = animation(\n [\n style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0 }),\n animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: '*', paddingTop: '*', paddingBottom: '*' })),\n ],\n {\n params: DEFAULT_ANIMATION_PARAMS,\n }\n);\n\nexport const collapse = animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0 }))], {\n params: DEFAULT_ANIMATION_PARAMS,\n});\n","import { animate, animation, style } from '@angular/animations';\nimport { DEFAULT_ANIMATION_PARAMS } from './config';\n\nexport const fadeIn = (to = 1) =>\n animation([style({ opacity: 0 }), animate('{{duration}} {{ delay }} {{ timingFn }}', style({ opacity: to }))], {\n params: {\n ...DEFAULT_ANIMATION_PARAMS,\n to: 1,\n },\n });\n\nexport const fadeOut = (to = 0) =>\n animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ opacity: to }))], {\n params: DEFAULT_ANIMATION_PARAMS,\n });\n","import { animate, animation, AnimationReferenceMetadata, style } from '@angular/animations';\nimport { DEFAULT_ANIMATION_PARAMS } from './config';\n\nfunction createSlideInAnimation(from: string, direction: 'X' | 'Y'): AnimationReferenceMetadata {\n return animation(\n [\n style({ transform: `translate${direction}({{ from }})` }),\n animate('{{duration}} {{ delay }} {{ timingFn }}', style({ transform: `translate${direction}(0)` })),\n ],\n {\n params: {\n ...DEFAULT_ANIMATION_PARAMS,\n from,\n },\n }\n );\n}\n\nfunction createSlideOutAnimation(to: string, direction: 'X' | 'Y'): AnimationReferenceMetadata {\n return animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ transform: `translate${direction}({{ to }})` }))], {\n params: {\n ...DEFAULT_ANIMATION_PARAMS,\n to,\n },\n });\n}\n\nexport const slideInX = (from: string) => createSlideInAnimation(from, 'X');\nexport const slideInY = (from: string) => createSlideInAnimation(from, 'Y');\nexport const slideInDown = slideInY('-100%');\nexport const slideInUp = slideInY('100%');\nexport const slideInLeft = slideInX('-100%');\nexport const slideInRight = slideInX('100%');\n\nexport const slideOutX = (to: string) => createSlideOutAnimation(to, 'X');\nexport const slideOutY = (to: string) => createSlideOutAnimation(to, 'Y');\nexport const slideOutDown = slideOutY('100%');\nexport const slideOutUp = slideOutY('-100%');\nexport const slideOutLeft = slideOutX('-100%');\nexport const slideOutRight = slideOutX('100%');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAO,MAAM,2BAA2B,GAAG,MAAM,CAAC;AAC3C,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAC3C,MAAM,wBAAwB,GAAG;AACtC,IAAA,QAAQ,EAAE,2BAA2B;AACrC,IAAA,QAAQ,EAAE,0BAA0B;AACpC,IAAA,KAAK,EAAE,KAAK;CACb;;ACHM,MAAM,MAAM,GAAG,SAAS,CAC7B;AACE,IAAA,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC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CAAC,MAAM;;ACvC7C;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-animations.mjs","sources":["../../../../libs/angular/animations/src/lib/config.ts","../../../../libs/angular/animations/src/lib/expand.ts","../../../../libs/angular/animations/src/lib/fade.ts","../../../../libs/angular/animations/src/lib/slide.ts","../../../../libs/angular/animations/src/odx-angular-animations.ts"],"sourcesContent":["export const DEFAULT_ANIMATION_TIMING_FN = 'ease';\nexport const DEFAULT_ANIMATION_DURATION = '250ms';\nexport const DEFAULT_ANIMATION_PARAMS = {\n timingFn: DEFAULT_ANIMATION_TIMING_FN,\n duration: DEFAULT_ANIMATION_DURATION,\n delay: '0ms',\n};\n","import { animate, animation, style } from '@angular/animations';\nimport { DEFAULT_ANIMATION_PARAMS } from './config';\n\nexport const expand = animation(\n [\n style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0 }),\n animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: '*', paddingTop: '*', paddingBottom: '*' })),\n ],\n {\n params: DEFAULT_ANIMATION_PARAMS,\n }\n);\n\nexport const collapse = animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0 }))], {\n params: DEFAULT_ANIMATION_PARAMS,\n});\n","import { animate, animation, style } from '@angular/animations';\nimport { DEFAULT_ANIMATION_PARAMS } from './config';\n\nexport const fadeIn = (to = 1) =>\n animation([style({ opacity: 0 }), animate('{{duration}} {{ delay }} {{ timingFn }}', style({ opacity: to }))], {\n params: DEFAULT_ANIMATION_PARAMS,\n });\n\nexport const fadeOut = (to = 0) =>\n animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ opacity: to }))], {\n params: DEFAULT_ANIMATION_PARAMS,\n });\n","import { animate, animation, AnimationReferenceMetadata, style } from '@angular/animations';\nimport { DEFAULT_ANIMATION_PARAMS } from './config';\n\nfunction createSlideInAnimation(from: string, direction: 'X' | 'Y'): AnimationReferenceMetadata {\n return animation(\n [\n style({ transform: `translate${direction}({{ from }})` }),\n animate('{{duration}} {{ delay }} {{ timingFn }}', style({ transform: `translate${direction}(0)` })),\n ],\n {\n params: {\n ...DEFAULT_ANIMATION_PARAMS,\n from,\n },\n }\n );\n}\n\nfunction createSlideOutAnimation(to: string, direction: 'X' | 'Y'): AnimationReferenceMetadata {\n return animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ transform: `translate${direction}({{ to }})` }))], {\n params: {\n ...DEFAULT_ANIMATION_PARAMS,\n to,\n },\n });\n}\n\nexport const slideInX = (from: string) => createSlideInAnimation(from, 'X');\nexport const slideInY = (from: string) => createSlideInAnimation(from, 'Y');\nexport const slideInDown = slideInY('-100%');\nexport const slideInUp = slideInY('100%');\nexport const slideInLeft = slideInX('-100%');\nexport const slideInRight = slideInX('100%');\n\nexport const slideOutX = (to: string) => createSlideOutAnimation(to, 'X');\nexport const slideOutY = (to: string) => createSlideOutAnimation(to, 'Y');\nexport const slideOutDown = slideOutY('100%');\nexport const slideOutUp = slideOutY('-100%');\nexport const slideOutLeft = slideOutX('-100%');\nexport const slideOutRight = slideOutX('100%');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAO,MAAM,2BAA2B,GAAG,MAAM,CAAC;AAC3C,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAC3C,MAAM,wBAAwB,GAAG;AACtC,IAAA,QAAQ,EAAE,2BAA2B;AACrC,IAAA,QAAQ,EAAE,0BAA0B;AACpC,IAAA,KAAK,EAAE,KAAK;CACb;;ACHM,MAAM,MAAM,GAAG,SAAS,CAC7B;AACE,IAAA,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;AACnE,IAAA,OAAO,CAAC,yCAAyC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,E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,IAAI,EACL,CAAA;AACF,KAAA,CACF,CAAC;AACJ,CAAC;AAED,SAAS,uBAAuB,CAAC,EAAU,EAAE,SAAoB,EAAA;AAC/D,IAAA,OAAO,SAAS,CAAC,CAAC,OAAO,CAAC,yCAAyC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,YAAY,SAAS,CAAA,UAAA,CAAY,EAAE,CAAC,CAAC,CAAC,EAAE;AAC9H,QAAA,MAAM,EACD,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,wBAAwB,CAC3B,EAAA,EAAA,EAAE,EACH,CAAA;AACF,KAAA,CAAC,CAAC;AACL,CAAC;AAEM,MAAM,QAAQ,GAAG,CAAC,IAAY,KAAK,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE;AACrE,MAAM,QAAQ,GAAG,CAAC,IAAY,KAAK,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE;MAC/D,WAAW,GAAG,QAAQ,CAAC,OAAO,EAAE;MAChC,SAAS,GAAG,QAAQ,CAAC,MAAM,EAAE;MAC7B,WAAW,GAAG,QAAQ,CAAC,OAAO,EAAE;MAChC,YAAY,GAAG,QAAQ,CAAC,MAAM,EAAE;AAEtC,MAAM,SAAS,GAAG,CAAC,EAAU,KAAK,uBAAuB,CAAC,EAAE,EAAE,GAAG,EAAE;AACnE,MAAM,SAAS,GAAG,CAAC,EAAU,KAAK,uBAAuB,CAAC,EAAE,EAAE,GAAG,EAAE;MAC7D,YAAY,GAAG,SAAS,CAAC,MAAM,EAAE;MACjC,UAAU,GAAG,SAAS,CAAC,OAAO,EAAE;MAChC,YAAY,GAAG,SAAS,CAAC,OAAO,EAAE;MAClC,aAAa,GAAG,SAAS,CAAC,MAAM;;ACvC7C;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectorRef, Directive, Input } from '@angular/core';
2
+ import { Directive, Input } from '@angular/core';
3
3
  import { Validators } from '@angular/forms';
4
4
  import { detectControllerChanges } from '@odx/angular';
5
5
  import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
@@ -10,7 +10,7 @@ class CheckBoxControl extends CustomFormControl {
10
10
  super(false);
11
11
  this.element = injectElement();
12
12
  this.value = null;
13
- detectControllerChanges(inject(ChangeDetectorRef), this).subscribe();
13
+ detectControllerChanges(this).subscribe();
14
14
  }
15
15
  set checked(value) {
16
16
  this.controlValue = value;
@@ -29,9 +29,9 @@ class CheckBoxControl extends CustomFormControl {
29
29
  this.toggleValidator(Validators.requiredTrue, this.required);
30
30
  }
31
31
  }
32
- CheckBoxControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: CheckBoxControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- CheckBoxControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: CheckBoxControl, selector: "[odxCheckBoxControl]", inputs: { checked: "checked", value: "value" }, usesInheritance: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: CheckBoxControl, decorators: [{
32
+ CheckBoxControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: CheckBoxControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
+ CheckBoxControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: CheckBoxControl, selector: "[odxCheckBoxControl]", inputs: { checked: "checked", value: "value" }, usesInheritance: true, ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: CheckBoxControl, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: '[odxCheckBoxControl]',
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-checkbox-control.mjs","sources":["../../../../libs/angular/cdk/checkbox-control/src/lib/checkbox-control.directive.ts","../../../../libs/angular/cdk/checkbox-control/src/odx-angular-cdk-checkbox-control.ts"],"sourcesContent":["import { BooleanInput } from '@angular/cdk/coercion';\nimport { ChangeDetectorRef, Directive, inject, Input } from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { detectControllerChanges } from '@odx/angular';\nimport { CustomFormControl } from '@odx/angular/cdk/custom-form-control';\nimport { booleanToAttributeString, injectElement } from '@odx/angular/utils';\n\n@Directive({\n selector: '[odxCheckBoxControl]',\n})\nexport class CheckBoxControl extends CustomFormControl<boolean> {\n public static ngAcceptInputType_checked: BooleanInput;\n\n public readonly element = injectElement();\n\n @Input()\n public set checked(value: boolean) {\n this.controlValue = value;\n }\n public get checked(): boolean {\n return this.controlValue;\n }\n\n @Input()\n public value: string | null = null;\n\n public get ariaChecked(): string {\n return booleanToAttributeString(this.checked);\n }\n\n constructor() {\n super(false);\n detectControllerChanges(inject(ChangeDetectorRef), this).subscribe();\n }\n\n public onChanged(event: Event): void {\n event.stopPropagation();\n super.updateValue((event.target as HTMLInputElement).checked);\n }\n\n protected override updateRequiredValidator(): void {\n this.toggleValidator(Validators.requiredTrue, this.required);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAUM,MAAO,eAAgB,SAAQ,iBAA0B,CAAA;AAoB7D,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,KAAK,CAAC,CAAC;AAlBC,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAWnC,QAAA,IAAK,CAAA,KAAA,GAAkB,IAAI,CAAC;QAQjC,uBAAuB,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;KACtE;IAlBD,IACW,OAAO,CAAC,KAAc,EAAA;AAC/B,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;KAC3B;AACD,IAAA,IAAW,OAAO,GAAA;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC;KAC1B;AAKD,IAAA,IAAW,WAAW,GAAA;AACpB,QAAA,OAAO,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/C;AAOM,IAAA,SAAS,CAAC,KAAY,EAAA;QAC3B,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,KAAK,CAAC,WAAW,CAAE,KAAK,CAAC,MAA2B,CAAC,OAAO,CAAC,CAAC;KAC/D;IAEkB,uBAAuB,GAAA;QACxC,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC9D;;4GAhCU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;gGAAf,eAAe,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;iBACjC,CAAA;0EAOY,OAAO,EAAA,CAAA;sBADjB,KAAK;gBASC,KAAK,EAAA,CAAA;sBADX,KAAK;;;ACvBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-checkbox-control.mjs","sources":["../../../../libs/angular/cdk/checkbox-control/src/lib/checkbox-control.directive.ts","../../../../libs/angular/cdk/checkbox-control/src/odx-angular-cdk-checkbox-control.ts"],"sourcesContent":["import { BooleanInput } from '@angular/cdk/coercion';\nimport { Directive, Input } from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { detectControllerChanges } from '@odx/angular';\nimport { CustomFormControl } from '@odx/angular/cdk/custom-form-control';\nimport { booleanToAttributeString, injectElement } from '@odx/angular/utils';\n\n@Directive({\n selector: '[odxCheckBoxControl]',\n})\nexport class CheckBoxControl extends CustomFormControl<boolean> {\n public static ngAcceptInputType_checked: BooleanInput;\n\n public readonly element = injectElement();\n\n @Input()\n public set checked(value: boolean) {\n this.controlValue = value;\n }\n public get checked(): boolean {\n return this.controlValue;\n }\n\n @Input()\n public value: string | null = null;\n\n public get ariaChecked(): string {\n return booleanToAttributeString(this.checked);\n }\n\n constructor() {\n super(false);\n detectControllerChanges(this).subscribe();\n }\n\n public onChanged(event: Event): void {\n event.stopPropagation();\n super.updateValue((event.target as HTMLInputElement).checked);\n }\n\n protected override updateRequiredValidator(): void {\n this.toggleValidator(Validators.requiredTrue, this.required);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAUM,MAAO,eAAgB,SAAQ,iBAA0B,CAAA;AAoB7D,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,KAAK,CAAC,CAAC;AAlBC,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAWnC,QAAA,IAAK,CAAA,KAAA,GAAkB,IAAI,CAAC;AAQjC,QAAA,uBAAuB,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;KAC3C;IAlBD,IACW,OAAO,CAAC,KAAc,EAAA;AAC/B,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;KAC3B;AACD,IAAA,IAAW,OAAO,GAAA;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC;KAC1B;AAKD,IAAA,IAAW,WAAW,GAAA;AACpB,QAAA,OAAO,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/C;AAOM,IAAA,SAAS,CAAC,KAAY,EAAA;QAC3B,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,KAAK,CAAC,WAAW,CAAE,KAAK,CAAC,MAA2B,CAAC,OAAO,CAAC,CAAC;KAC/D;IAEkB,uBAAuB,GAAA;QACxC,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC9D;;4GAhCU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;gGAAf,eAAe,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;iBACjC,CAAA;0EAOY,OAAO,EAAA,CAAA;sBADjB,KAAK;gBASC,KAAK,EAAA,CAAA;sBADX,KAAK;;;ACvBR;;AAEG;;;;"}
@@ -11,9 +11,9 @@ class ControlDirective {
11
11
  this.element = injectElement();
12
12
  }
13
13
  }
14
- ControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
15
- ControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: ControlDirective, isStandalone: true, selector: "[odxControl]", exportAs: ["odxControl"], ngImport: i0 });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ControlDirective, decorators: [{
14
+ ControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
15
+ ControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: ControlDirective, isStandalone: true, selector: "[odxControl]", exportAs: ["odxControl"], ngImport: i0 });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: ControlDirective, decorators: [{
17
17
  type: Directive,
18
18
  args: [{
19
19
  standalone: true,
@@ -119,9 +119,9 @@ class CustomFormControl extends Controller {
119
119
  }
120
120
  }
121
121
  CustomFormControl.CURRENT_INDEX = 0;
122
- CustomFormControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: CustomFormControl, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
123
- CustomFormControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: CustomFormControl, inputs: { id: "id", name: "name", required: "required" }, host: { properties: { "class.has-error": "hasError", "class.is-disabled": "isDisabled", "class.is-readonly": "isReadonly", "class.is-required": "required" } }, viewQueries: [{ propertyName: "control", first: true, predicate: ControlDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: CustomFormControl, decorators: [{
122
+ CustomFormControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: CustomFormControl, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
123
+ CustomFormControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: CustomFormControl, inputs: { id: "id", name: "name", required: "required" }, host: { properties: { "class.has-error": "hasError", "class.is-disabled": "isDisabled", "class.is-readonly": "isReadonly", "class.is-required": "required" } }, viewQueries: [{ propertyName: "control", first: true, predicate: ControlDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: CustomFormControl, decorators: [{
125
125
  type: Directive,
126
126
  args: [{
127
127
  host: {
@@ -1,25 +1,36 @@
1
- import { AsyncPipe } from '@angular/common';
2
1
  import * as i0 from '@angular/core';
3
- import { inject, ChangeDetectorRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ApplicationRef, createComponent, EnvironmentInjector, InjectionToken, Injector, Injectable, ViewContainerRef, Directive } from '@angular/core';
4
- import { isObservable } from 'rxjs';
5
- import { isString, isTemplateRef, isComponent, hasChanged } from '@odx/angular/utils';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, reflectComponentType, ApplicationRef, createComponent, EnvironmentInjector, InjectionToken, inject, Injector, Injectable, ViewContainerRef, TemplateRef, Directive } from '@angular/core';
3
+ import { injectElement, isString, isTemplateRef, isComponent, hasChanged } from '@odx/angular/utils';
4
+ import { isObservable, distinctUntilChanged } from 'rxjs';
6
5
 
7
6
  class DynamicViewComponent {
8
7
  constructor() {
9
- this.asyncPipe = new AsyncPipe(inject(ChangeDetectorRef));
10
- this.resolveContent = () => null;
8
+ this.element = injectElement();
9
+ this.currentSubscription = null;
11
10
  }
12
11
  set content(value) {
13
- this.resolveContent = isObservable(value) ? () => this.asyncPipe.transform(value) : () => value;
12
+ if (isObservable(value)) {
13
+ this.ngOnDestroy();
14
+ this.currentSubscription = value.pipe(distinctUntilChanged()).subscribe((innerValue) => {
15
+ this.setContent(innerValue);
16
+ });
17
+ }
18
+ else {
19
+ this.setContent(value);
20
+ }
14
21
  }
15
22
  ngOnDestroy() {
16
23
  var _a;
17
- (_a = this.asyncPipe) === null || _a === void 0 ? void 0 : _a.ngOnDestroy();
24
+ (_a = this.currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
25
+ this.currentSubscription = null;
26
+ }
27
+ setContent(value) {
28
+ this.element.nativeElement.innerHTML = value;
18
29
  }
19
30
  }
20
- DynamicViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DynamicViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- DynamicViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: DynamicViewComponent, isStandalone: true, selector: "odx-dynamic-view", inputs: { content: "content" }, host: { properties: { "innerHTML": "resolveContent()" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DynamicViewComponent, decorators: [{
31
+ DynamicViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DynamicViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
+ DynamicViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: DynamicViewComponent, isStandalone: true, selector: "odx-dynamic-view", inputs: { content: "content" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DynamicViewComponent, decorators: [{
23
34
  type: Component,
24
35
  args: [{
25
36
  selector: 'odx-dynamic-view',
@@ -27,14 +38,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
27
38
  changeDetection: ChangeDetectionStrategy.OnPush,
28
39
  encapsulation: ViewEncapsulation.None,
29
40
  standalone: true,
30
- host: {
31
- '[innerHTML]': 'resolveContent()',
32
- },
33
41
  }]
34
42
  }], propDecorators: { content: [{
35
43
  type: Input
36
44
  }] } });
37
45
 
46
+ function createProjectableNodes(component, nodes) {
47
+ const componentType = reflectComponentType(component);
48
+ if (componentType && componentType.ngContentSelectors.length > 0) {
49
+ return componentType.ngContentSelectors.map((selector) => (selector === '*' ? nodes : []));
50
+ }
51
+ return [];
52
+ }
53
+
38
54
  function isDynamicTextContent(value) {
39
55
  return isString(value) || isObservable(value);
40
56
  }
@@ -44,10 +60,11 @@ class DynamicComponentRef {
44
60
  this.options = options;
45
61
  this.application = this.options.injector.get(ApplicationRef);
46
62
  this.componentRef = null;
47
- const { component, context, injector, vcr } = options;
63
+ const { component, context, injector, projectableNodes, vcr } = options;
48
64
  this.componentRef = createComponent(component, {
49
65
  environmentInjector: injector.get(EnvironmentInjector),
50
66
  elementInjector: injector,
67
+ projectableNodes,
51
68
  });
52
69
  if (vcr) {
53
70
  vcr.insert(this.componentRef.hostView);
@@ -166,9 +183,9 @@ class DynamicViewService {
166
183
  throw new Error('Content type is not supported');
167
184
  }
168
185
  }
169
- DynamicViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DynamicViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
170
- DynamicViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DynamicViewService, providedIn: 'root' });
171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DynamicViewService, decorators: [{
186
+ DynamicViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DynamicViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
187
+ DynamicViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DynamicViewService, providedIn: 'root' });
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DynamicViewService, decorators: [{
172
189
  type: Injectable,
173
190
  args: [{ providedIn: 'root' }]
174
191
  }] });
@@ -177,7 +194,10 @@ class DynamicViewDirective {
177
194
  constructor() {
178
195
  this.dynamicViewService = inject(DynamicViewService);
179
196
  this.viewContainer = inject(ViewContainerRef);
197
+ this.template = inject(TemplateRef);
180
198
  this.viewRef = null;
199
+ this.contentViewRef = null;
200
+ // eslint-disable-next-line @angular-eslint/no-input-rename
181
201
  this.content = null;
182
202
  }
183
203
  ngOnInit() {
@@ -219,25 +239,34 @@ class DynamicViewDirective {
219
239
  }
220
240
  }
221
241
  else {
242
+ let projectableNodes = [];
243
+ if (isComponent(this.content)) {
244
+ this.contentViewRef = this.dynamicViewService.createView(this.template, { injector: this.injector });
245
+ const rootNodes = this.contentViewRef.getView().rootNodes;
246
+ projectableNodes = createProjectableNodes(this.content, rootNodes);
247
+ }
222
248
  this.viewRef = this.dynamicViewService.createView(this.content, {
223
249
  context: (_c = this.context) !== null && _c !== void 0 ? _c : undefined,
224
250
  injector: (_d = this.injector) !== null && _d !== void 0 ? _d : this.viewContainer.injector,
251
+ projectableNodes,
225
252
  vcr: this.viewContainer,
226
253
  });
227
254
  }
228
255
  }
229
256
  destroy() {
230
- var _a;
231
- (_a = this.viewRef) === null || _a === void 0 ? void 0 : _a.destroy();
257
+ var _a, _b;
258
+ (_a = this.contentViewRef) === null || _a === void 0 ? void 0 : _a.destroy();
259
+ (_b = this.viewRef) === null || _b === void 0 ? void 0 : _b.destroy();
260
+ this.contentViewRef = null;
232
261
  this.viewRef = null;
233
262
  }
234
263
  }
235
- DynamicViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DynamicViewDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
236
- DynamicViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: DynamicViewDirective, isStandalone: true, selector: "[odxDynamicView]", inputs: { content: ["odxDynamicView", "content"], injector: ["odxDynamicViewInjector", "injector"], context: ["odxDynamicViewContext", "context"] }, usesOnChanges: true, ngImport: i0 });
237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: DynamicViewDirective, decorators: [{
264
+ DynamicViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DynamicViewDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
265
+ DynamicViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: DynamicViewDirective, isStandalone: true, selector: "ng-template[odxDynamicView]", inputs: { content: ["odxDynamicView", "content"], injector: ["odxDynamicViewInjector", "injector"], context: ["odxDynamicViewContext", "context"] }, usesOnChanges: true, ngImport: i0 });
266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DynamicViewDirective, decorators: [{
238
267
  type: Directive,
239
268
  args: [{
240
- selector: '[odxDynamicView]',
269
+ selector: 'ng-template[odxDynamicView]',
241
270
  standalone: true,
242
271
  }]
243
272
  }], propDecorators: { content: [{
@@ -255,5 +284,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
255
284
  * Generated bundle index. Do not edit.
256
285
  */
257
286
 
258
- export { DYNAMIC_VIEW_CONTEXT, DynamicComponentRef, DynamicTemplateRef, DynamicViewComponent, DynamicViewDirective, DynamicViewService, isDynamicTextContent, isDynamicView };
287
+ export { DYNAMIC_VIEW_CONTEXT, DynamicComponentRef, DynamicTemplateRef, DynamicViewComponent, DynamicViewDirective, DynamicViewService, createProjectableNodes, isDynamicTextContent, isDynamicView };
259
288
  //# sourceMappingURL=odx-angular-cdk-dynamic-view.mjs.map