@mozaic-ds/angular 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -660,7 +660,7 @@ const DEFAULT_MODAL_CONFIG = {
660
660
  closeOnEscape: true,
661
661
  };
662
662
 
663
- class ModalRef {
663
+ class MozModalRef {
664
664
  overlayRef;
665
665
  afterClosed$ = new Subject();
666
666
  afterOpened$ = new Subject();
@@ -693,7 +693,7 @@ class ModalRef {
693
693
  }
694
694
 
695
695
  class ModalContainerComponent {
696
- modalRef = inject(ModalRef);
696
+ modalRef = inject(MozModalRef);
697
697
  config = inject(MODAL_CONFIG);
698
698
  portalOutlet = viewChild(CdkPortalOutlet, ...(ngDevMode ? [{ debugName: "portalOutlet" }] : []));
699
699
  footerTpl = null;
@@ -739,7 +739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
739
739
  }] } });
740
740
 
741
741
  // service/modal.service.ts
742
- class ModalService {
742
+ class MozModalService {
743
743
  overlay = inject(Overlay);
744
744
  injector = inject(Injector);
745
745
  open(component, config) {
@@ -748,11 +748,11 @@ class ModalService {
748
748
  ...config,
749
749
  };
750
750
  const overlayRef = this.createOverlay();
751
- const modalRef = new ModalRef(overlayRef);
751
+ const modalRef = new MozModalRef(overlayRef);
752
752
  const injector = Injector.create({
753
753
  parent: this.injector,
754
754
  providers: [
755
- { provide: ModalRef, useValue: modalRef },
755
+ { provide: MozModalRef, useValue: modalRef },
756
756
  { provide: MODAL_CONFIG, useValue: mergedConfig },
757
757
  { provide: MODAL_DATA, useValue: mergedConfig.data },
758
758
  ],
@@ -772,10 +772,10 @@ class ModalService {
772
772
  });
773
773
  return this.overlay.create(config);
774
774
  }
775
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
776
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ModalService, providedIn: 'root' });
775
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MozModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
776
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MozModalService, providedIn: 'root' });
777
777
  }
778
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ModalService, decorators: [{
778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MozModalService, decorators: [{
779
779
  type: Injectable,
780
780
  args: [{ providedIn: 'root' }]
781
781
  }] });
@@ -3884,7 +3884,7 @@ const DEFAULT_DRAWER_CONFIG = {
3884
3884
  back: false,
3885
3885
  };
3886
3886
 
3887
- class DrawerRef {
3887
+ class MozDrawerRef {
3888
3888
  overlayRef;
3889
3889
  afterClosed$ = new Subject();
3890
3890
  afterOpened$ = new Subject();
@@ -3924,7 +3924,7 @@ class DrawerRef {
3924
3924
  }
3925
3925
 
3926
3926
  class DrawerContainerComponent {
3927
- drawerRef = inject(DrawerRef);
3927
+ drawerRef = inject(MozDrawerRef);
3928
3928
  config = inject(DRAWER_CONFIG);
3929
3929
  portalOutlet = viewChild(CdkPortalOutlet, ...(ngDevMode ? [{ debugName: "portalOutlet" }] : []));
3930
3930
  footerTpl = null;
@@ -3972,7 +3972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
3972
3972
  args: ['keydown.escape']
3973
3973
  }] } });
3974
3974
 
3975
- class DrawerService {
3975
+ class MozDrawerService {
3976
3976
  overlay = inject(Overlay);
3977
3977
  injector = inject(Injector);
3978
3978
  open(component, config) {
@@ -3981,11 +3981,11 @@ class DrawerService {
3981
3981
  ...config,
3982
3982
  };
3983
3983
  const overlayRef = this.createOverlay();
3984
- const drawerRef = new DrawerRef(overlayRef);
3984
+ const drawerRef = new MozDrawerRef(overlayRef);
3985
3985
  const injector = Injector.create({
3986
3986
  parent: this.injector,
3987
3987
  providers: [
3988
- { provide: DrawerRef, useValue: drawerRef },
3988
+ { provide: MozDrawerRef, useValue: drawerRef },
3989
3989
  { provide: DRAWER_CONFIG, useValue: mergedConfig },
3990
3990
  { provide: DRAWER_DATA, useValue: mergedConfig.data ?? null },
3991
3991
  ],
@@ -4016,10 +4016,10 @@ class DrawerService {
4016
4016
  });
4017
4017
  return this.overlay.create(config);
4018
4018
  }
4019
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: DrawerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4020
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: DrawerService, providedIn: 'root' });
4019
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MozDrawerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4020
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MozDrawerService, providedIn: 'root' });
4021
4021
  }
4022
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: DrawerService, decorators: [{
4022
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MozDrawerService, decorators: [{
4023
4023
  type: Injectable,
4024
4024
  args: [{ providedIn: 'root' }]
4025
4025
  }] });
@@ -4512,5 +4512,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
4512
4512
  * Generated bundle index. Do not edit.
4513
4513
  */
4514
4514
 
4515
- export { ACTION_LISTBOX_CONFIG, ActionListboxContainerComponent, ActionListboxRef, BuiltInMenuComponent, DEFAULT_ACTION_LISTBOX_CONFIG, DEFAULT_MODAL_CONFIG, DRAWER_CONFIG, DRAWER_DATA, DrawerContainerComponent, DrawerRef, DrawerService, MODAL_CONFIG, MODAL_DATA, ModalRef, ModalService, MozAccordionComponent, MozAccordionContentComponent, MozAccordionHeaderComponent, MozAccordionPanelComponent, MozActionBottomBarComponent, MozActionListboxComponent, MozActionListboxTriggerDirective, MozAvatarComponent, MozBreadcrumbComponent, MozButtonComponent, MozCalloutComponent, MozCarouselComponent, MozCheckListMenuComponent, MozCheckboxComponent, MozCheckboxGroupComponent, MozCircularProgressBarComponent, MozDatepickerComponent, MozDividerComponent, MozDrawerComponent, MozDrawerFooterDirective, MozFieldComponent, MozFieldGroupComponent, MozFileUploaderComponent, MozFileUploaderItemComponent, MozFlagComponent, MozIconButtonComponent, MozKpiComponent, MozLinearProgressBarBufferComponent, MozLinearProgressBarPercentageComponent, MozLinkComponent, MozLoaderComponent, MozLoadingOverlayComponent, MozModalComponent, MozModalFooterDirective, MozNavigationIndicatorComponent, MozNumberBadgeComponent, MozOverlayComponent, MozPageHeaderComponent, MozPaginationComponent, MozPasswordInputDirective, MozPhoneNumberComponent, MozPincodeInputComponent, MozPopoverComponent, MozPopoverFooterDirective, MozPopoverTriggerDirective, MozQuantitySelectorComponent, MozRadioComponent, MozRadioGroupComponent, MozSegmentedControlComponent, MozSelectComponent, MozSidebarComponent, MozStarRatingComponent, MozStatusBadgeComponent, MozStatusDotComponent, MozStatusMessageComponent, MozStatusNotificationComponent, MozStepperBottomBarComponent, MozStepperCompactComponent, MozStepperInlineComponent, MozStepperStackedComponent, MozTabComponent, MozTabsComponent, MozTagComponent, MozTextInput, MozTextarea, MozTileComponent, MozTileExpandableComponent, MozTileSelectableComponent, MozToasterComponent, MozToggleComponent, MozTooltipComponent, MozTooltipDirective, POPOVER_CONFIG, POPOVER_DATA, PopoverContainerComponent, PopoverRef, PopoverService };
4515
+ export { ACTION_LISTBOX_CONFIG, ActionListboxContainerComponent, ActionListboxRef, BuiltInMenuComponent, DEFAULT_ACTION_LISTBOX_CONFIG, DEFAULT_MODAL_CONFIG, DRAWER_CONFIG, DRAWER_DATA, DrawerContainerComponent, MODAL_CONFIG, MODAL_DATA, MozAccordionComponent, MozAccordionContentComponent, MozAccordionHeaderComponent, MozAccordionPanelComponent, MozActionBottomBarComponent, MozActionListboxComponent, MozActionListboxTriggerDirective, MozAvatarComponent, MozBreadcrumbComponent, MozButtonComponent, MozCalloutComponent, MozCarouselComponent, MozCheckListMenuComponent, MozCheckboxComponent, MozCheckboxGroupComponent, MozCircularProgressBarComponent, MozDatepickerComponent, MozDividerComponent, MozDrawerComponent, MozDrawerFooterDirective, MozDrawerRef, MozDrawerService, MozFieldComponent, MozFieldGroupComponent, MozFileUploaderComponent, MozFileUploaderItemComponent, MozFlagComponent, MozIconButtonComponent, MozKpiComponent, MozLinearProgressBarBufferComponent, MozLinearProgressBarPercentageComponent, MozLinkComponent, MozLoaderComponent, MozLoadingOverlayComponent, MozModalComponent, MozModalFooterDirective, MozModalRef, MozModalService, MozNavigationIndicatorComponent, MozNumberBadgeComponent, MozOverlayComponent, MozPageHeaderComponent, MozPaginationComponent, MozPasswordInputDirective, MozPhoneNumberComponent, MozPincodeInputComponent, MozPopoverComponent, MozPopoverFooterDirective, MozPopoverTriggerDirective, MozQuantitySelectorComponent, MozRadioComponent, MozRadioGroupComponent, MozSegmentedControlComponent, MozSelectComponent, MozSidebarComponent, MozStarRatingComponent, MozStatusBadgeComponent, MozStatusDotComponent, MozStatusMessageComponent, MozStatusNotificationComponent, MozStepperBottomBarComponent, MozStepperCompactComponent, MozStepperInlineComponent, MozStepperStackedComponent, MozTabComponent, MozTabsComponent, MozTagComponent, MozTextInput, MozTextarea, MozTileComponent, MozTileExpandableComponent, MozTileSelectableComponent, MozToasterComponent, MozToggleComponent, MozTooltipComponent, MozTooltipDirective, POPOVER_CONFIG, POPOVER_DATA, PopoverContainerComponent, PopoverRef, PopoverService };
4516
4516
  //# sourceMappingURL=mozaic-ds-angular.mjs.map