matcha-components 20.229.0 → 20.232.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/assets/text-editor/css/suneditor.min.css +194 -0
- package/assets/text-editor/js/suneditor.min.js +1847 -0
- package/assets/text-editor/suneditor.html +2054 -0
- package/fesm2022/matcha-components.mjs +568 -2579
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +11 -8
- package/package.json +1 -1
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" | "
|
|
2723
|
+
get colorAttr(): "error" | "info" | "warning" | "success";
|
|
2724
2724
|
get positionAttr(): "top" | "bottom";
|
|
2725
2725
|
get classes(): string;
|
|
2726
2726
|
constructor(snackBarService: MatchaSnackBarService);
|
|
@@ -2738,7 +2738,7 @@ declare class MatchaSnackBarModule {
|
|
|
2738
2738
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSnackBarModule>;
|
|
2739
2739
|
}
|
|
2740
2740
|
|
|
2741
|
-
interface
|
|
2741
|
+
interface MatchaTextEditorOptions {
|
|
2742
2742
|
height?: string;
|
|
2743
2743
|
width?: string;
|
|
2744
2744
|
showFont?: boolean;
|
|
@@ -2767,13 +2767,14 @@ interface SunEditorOptions {
|
|
|
2767
2767
|
videoY?: number;
|
|
2768
2768
|
imageSize?: string;
|
|
2769
2769
|
}
|
|
2770
|
-
declare const DEFAULT_CONFIG:
|
|
2770
|
+
declare const DEFAULT_CONFIG: MatchaTextEditorOptions;
|
|
2771
2771
|
|
|
2772
2772
|
declare class MatchaTextEditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
2773
2773
|
private _ngZone;
|
|
2774
2774
|
readonly editorId: string;
|
|
2775
|
+
isLoading: boolean;
|
|
2775
2776
|
set value(v: string);
|
|
2776
|
-
config:
|
|
2777
|
+
config: MatchaTextEditorOptions;
|
|
2777
2778
|
contentChange: EventEmitter<string>;
|
|
2778
2779
|
get disabledAttr(): string | null;
|
|
2779
2780
|
private _editor;
|
|
@@ -2784,13 +2785,15 @@ declare class MatchaTextEditorComponent implements ControlValueAccessor, AfterVi
|
|
|
2784
2785
|
private _onChange;
|
|
2785
2786
|
private _onTouched;
|
|
2786
2787
|
constructor(_ngZone: NgZone);
|
|
2787
|
-
ngAfterViewInit(): void
|
|
2788
|
+
ngAfterViewInit(): Promise<void>;
|
|
2788
2789
|
ngOnDestroy(): void;
|
|
2789
2790
|
writeValue(value: string): void;
|
|
2790
2791
|
registerOnChange(fn: (value: string) => void): void;
|
|
2791
2792
|
registerOnTouched(fn: () => void): void;
|
|
2792
2793
|
setDisabledState(isDisabled: boolean): void;
|
|
2793
|
-
private
|
|
2794
|
+
private _injectScript;
|
|
2795
|
+
private _injectStyle;
|
|
2796
|
+
private _loadAssets;
|
|
2794
2797
|
private _initEditor;
|
|
2795
2798
|
private _attachObserver;
|
|
2796
2799
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorComponent, never>;
|
|
@@ -2799,7 +2802,7 @@ declare class MatchaTextEditorComponent implements ControlValueAccessor, AfterVi
|
|
|
2799
2802
|
|
|
2800
2803
|
declare class MatchaTextEditorModule {
|
|
2801
2804
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorModule, never>;
|
|
2802
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTextEditorModule, [typeof MatchaTextEditorComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule], [typeof MatchaTextEditorComponent]>;
|
|
2805
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTextEditorModule, [typeof MatchaTextEditorComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof MatchaSpinnerModule], [typeof MatchaTextEditorComponent]>;
|
|
2803
2806
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTextEditorModule>;
|
|
2804
2807
|
}
|
|
2805
2808
|
|
|
@@ -3202,4 +3205,4 @@ declare class MatchaToolbarModule {
|
|
|
3202
3205
|
}
|
|
3203
3206
|
|
|
3204
3207
|
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,
|
|
3208
|
+
export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, MatchaSnackBarConfig, MatchaTextEditorOptions, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
|