matcha-components 20.229.0 → 20.231.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 +567 -2578
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +6 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2772,6 +2772,7 @@ declare const DEFAULT_CONFIG: SunEditorOptions;
|
|
|
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
2777
|
config: SunEditorOptions;
|
|
2777
2778
|
contentChange: EventEmitter<string>;
|
|
@@ -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
|
|