matcha-components 20.214.0 → 20.216.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -2720,7 +2720,7 @@ declare class MatchaSnackBarComponent implements OnInit, OnDestroy {
2720
2720
  duration: number;
2721
2721
  visible: boolean;
2722
2722
  private timeoutId;
2723
- get colorAttr(): "error" | "warning" | "info" | "success";
2723
+ get colorAttr(): "error" | "info" | "warning" | "success";
2724
2724
  get positionAttr(): "top" | "bottom";
2725
2725
  get classes(): string;
2726
2726
  constructor(snackBarService: MatchaSnackBarService);
@@ -2738,6 +2738,71 @@ declare class MatchaSnackBarModule {
2738
2738
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSnackBarModule>;
2739
2739
  }
2740
2740
 
2741
+ interface SunEditorOptions {
2742
+ height?: string;
2743
+ width?: string;
2744
+ showFont?: boolean;
2745
+ showFormats?: boolean;
2746
+ showBold?: boolean;
2747
+ showUnderline?: boolean;
2748
+ showItalic?: boolean;
2749
+ showStrike?: boolean;
2750
+ showFontColor?: boolean;
2751
+ showHiliteColor?: boolean;
2752
+ showInOutDent?: boolean;
2753
+ showAlign?: boolean;
2754
+ showList?: boolean;
2755
+ showLine?: boolean;
2756
+ showTable?: boolean;
2757
+ showLink?: boolean;
2758
+ showImage?: boolean;
2759
+ showVideo?: boolean;
2760
+ showFullScreen?: boolean;
2761
+ showCodeView?: boolean;
2762
+ addFont?: Array<{
2763
+ value: string;
2764
+ text: string;
2765
+ }>;
2766
+ videoX?: number;
2767
+ videoY?: number;
2768
+ imageSize?: string;
2769
+ }
2770
+ declare const DEFAULT_CONFIG: SunEditorOptions;
2771
+
2772
+ declare class MatchaTextEditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
2773
+ private _ngZone;
2774
+ readonly editorId: string;
2775
+ set value(v: string);
2776
+ config: SunEditorOptions;
2777
+ contentChange: EventEmitter<string>;
2778
+ get disabledAttr(): string | null;
2779
+ private _editor;
2780
+ private _pendingValue;
2781
+ private _isSettingValue;
2782
+ private _disabled;
2783
+ private _observer;
2784
+ private _onChange;
2785
+ private _onTouched;
2786
+ constructor(_ngZone: NgZone);
2787
+ ngAfterViewInit(): void;
2788
+ ngOnDestroy(): void;
2789
+ writeValue(value: string): void;
2790
+ registerOnChange(fn: (value: string) => void): void;
2791
+ registerOnTouched(fn: () => void): void;
2792
+ setDisabledState(isDisabled: boolean): void;
2793
+ private _injectSunEditor;
2794
+ private _initEditor;
2795
+ private _attachObserver;
2796
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorComponent, never>;
2797
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTextEditorComponent, "matcha-text-editor", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "contentChange": "contentChange"; }, never, never, false, never>;
2798
+ }
2799
+
2800
+ declare class MatchaTextEditorModule {
2801
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorModule, never>;
2802
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTextEditorModule, [typeof MatchaTextEditorComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule], [typeof MatchaTextEditorComponent]>;
2803
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTextEditorModule>;
2804
+ }
2805
+
2741
2806
  declare class MatchaAvatarComponent {
2742
2807
  src: string;
2743
2808
  name: string;
@@ -2764,7 +2829,7 @@ declare class MatchaAvatarModule {
2764
2829
 
2765
2830
  declare class MatchaComponentsModule {
2766
2831
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
2767
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule]>;
2832
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule, typeof MatchaTextEditorModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule, typeof MatchaTextEditorModule]>;
2768
2833
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
2769
2834
  }
2770
2835
 
@@ -3136,5 +3201,5 @@ declare class MatchaToolbarModule {
3136
3201
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaToolbarModule>;
3137
3202
  }
3138
3203
 
3139
- export { CopyButtonComponent, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipComponent, MatchaChipListComponent, MatchaChipModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaListComponent, MatchaListItemComponent, MatchaListModule, MatchaMaskApplierService, MatchaMaskCompatibleDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuItemDirective, MatchaMenuModule, MatchaMenuTriggerDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaMsgBoxActionsComponent, MatchaMsgBoxComponent, MatchaMsgBoxModule, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaProgressBarComponent, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioGroupComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSnackBarComponent, MatchaSnackBarModule, MatchaSnackBarService, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaSubmenuTriggerDirective, MatchaTabItemComponent, MatchaTableComponent, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTimeRangeComponent, MatchaTimeRangeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, compatibleOptions, initialConfig, timeMasks, withoutValidation };
3140
- export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, MatchaSnackBarConfig, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
3204
+ export { CopyButtonComponent, DEFAULT_CONFIG, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipComponent, MatchaChipListComponent, MatchaChipModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaListComponent, MatchaListItemComponent, MatchaListModule, MatchaMaskApplierService, MatchaMaskCompatibleDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuItemDirective, MatchaMenuModule, MatchaMenuTriggerDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaMsgBoxActionsComponent, MatchaMsgBoxComponent, MatchaMsgBoxModule, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaProgressBarComponent, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioGroupComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSnackBarComponent, MatchaSnackBarModule, MatchaSnackBarService, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaSubmenuTriggerDirective, MatchaTabItemComponent, MatchaTableComponent, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTextEditorComponent, MatchaTextEditorModule, MatchaTimeComponent, MatchaTimeModule, MatchaTimeRangeComponent, MatchaTimeRangeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, compatibleOptions, initialConfig, timeMasks, withoutValidation };
3205
+ export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, MatchaSnackBarConfig, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, SunEditorOptions, TabChangeEvent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.214.0",
3
+ "version": "20.216.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"