matcha-components 20.233.0 → 20.235.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 +1 -194
- package/assets/text-editor/js/suneditor.min.js +1 -1847
- package/assets/text-editor/suneditor.html +19 -2051
- package/fesm2022/matcha-components.mjs +215 -131
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +35 -27
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1944,8 +1944,10 @@ declare class MatchaTabItemComponent {
|
|
|
1944
1944
|
title: string;
|
|
1945
1945
|
icon: string;
|
|
1946
1946
|
private _active;
|
|
1947
|
+
private _hasBeenActivated;
|
|
1947
1948
|
set active(value: boolean | string);
|
|
1948
1949
|
get active(): boolean;
|
|
1950
|
+
get hasBeenActivated(): boolean;
|
|
1949
1951
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTabItemComponent, never>;
|
|
1950
1952
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabItemComponent, "matcha-tab", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
1951
1953
|
}
|
|
@@ -2757,6 +2759,7 @@ interface MatchaTextEditorOptions {
|
|
|
2757
2759
|
showLink?: boolean;
|
|
2758
2760
|
showImage?: boolean;
|
|
2759
2761
|
showVideo?: boolean;
|
|
2762
|
+
showMarkdown?: boolean;
|
|
2760
2763
|
showFullScreen?: boolean;
|
|
2761
2764
|
showCodeView?: boolean;
|
|
2762
2765
|
addFont?: Array<{
|
|
@@ -2768,24 +2771,27 @@ interface MatchaTextEditorOptions {
|
|
|
2768
2771
|
imageSize?: string;
|
|
2769
2772
|
}
|
|
2770
2773
|
declare const DEFAULT_CONFIG: MatchaTextEditorOptions;
|
|
2774
|
+
declare function buildButtonList(options: MatchaTextEditorOptions): string[][];
|
|
2771
2775
|
|
|
2772
2776
|
declare class MatchaTextEditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
2773
2777
|
private _ngZone;
|
|
2774
2778
|
private _cdr;
|
|
2779
|
+
private _el;
|
|
2775
2780
|
readonly editorId: string;
|
|
2776
2781
|
isLoading: boolean;
|
|
2782
|
+
get skeletonHeight(): string;
|
|
2777
2783
|
set value(v: string);
|
|
2778
|
-
|
|
2784
|
+
private _config;
|
|
2785
|
+
set config(v: MatchaTextEditorOptions);
|
|
2779
2786
|
contentChange: EventEmitter<string>;
|
|
2780
2787
|
get disabledAttr(): string | null;
|
|
2781
2788
|
private _editor;
|
|
2782
2789
|
private _pendingValue;
|
|
2783
2790
|
private _isSettingValue;
|
|
2784
2791
|
private _disabled;
|
|
2785
|
-
private _observer;
|
|
2786
2792
|
private _onChange;
|
|
2787
2793
|
private _onTouched;
|
|
2788
|
-
constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef);
|
|
2794
|
+
constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef, _el: ElementRef);
|
|
2789
2795
|
ngAfterViewInit(): Promise<void>;
|
|
2790
2796
|
ngOnDestroy(): void;
|
|
2791
2797
|
writeValue(value: string): void;
|
|
@@ -2795,15 +2801,38 @@ declare class MatchaTextEditorComponent implements ControlValueAccessor, AfterVi
|
|
|
2795
2801
|
private _injectScript;
|
|
2796
2802
|
private _injectStyle;
|
|
2797
2803
|
private _loadAssets;
|
|
2804
|
+
private _reloadEditor;
|
|
2798
2805
|
private _initEditor;
|
|
2799
|
-
private _attachObserver;
|
|
2800
2806
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorComponent, never>;
|
|
2801
2807
|
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>;
|
|
2802
2808
|
}
|
|
2803
2809
|
|
|
2810
|
+
declare class MatchaSkeletonComponent {
|
|
2811
|
+
amount: number | string;
|
|
2812
|
+
grid: number | string;
|
|
2813
|
+
height: number | string;
|
|
2814
|
+
model: 'profile' | 'table' | 'empty' | string | null;
|
|
2815
|
+
gap: number | string;
|
|
2816
|
+
private get amountNumber();
|
|
2817
|
+
private get gridNumber();
|
|
2818
|
+
get classes(): string;
|
|
2819
|
+
private get _isCssHeight();
|
|
2820
|
+
get heightStyle(): string | null;
|
|
2821
|
+
get heightClass(): string;
|
|
2822
|
+
get amountArray(): number[];
|
|
2823
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSkeletonComponent, never>;
|
|
2824
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaSkeletonComponent, "matcha-skeleton", never, { "amount": { "alias": "amount"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; "height": { "alias": "height"; "required": false; }; "model": { "alias": "model"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
declare class MatchaSkeletonModule {
|
|
2828
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSkeletonModule, never>;
|
|
2829
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaSkeletonModule, [typeof MatchaSkeletonComponent], [typeof i2.CommonModule], [typeof MatchaSkeletonComponent]>;
|
|
2830
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSkeletonModule>;
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2804
2833
|
declare class MatchaTextEditorModule {
|
|
2805
2834
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorModule, never>;
|
|
2806
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTextEditorModule, [typeof MatchaTextEditorComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof
|
|
2835
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTextEditorModule, [typeof MatchaTextEditorComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof MatchaSkeletonModule], [typeof MatchaTextEditorComponent]>;
|
|
2807
2836
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTextEditorModule>;
|
|
2808
2837
|
}
|
|
2809
2838
|
|
|
@@ -3088,27 +3117,6 @@ declare class MatchaModalService {
|
|
|
3088
3117
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatchaModalService>;
|
|
3089
3118
|
}
|
|
3090
3119
|
|
|
3091
|
-
declare class MatchaSkeletonComponent {
|
|
3092
|
-
amount: number | string;
|
|
3093
|
-
grid: number | string;
|
|
3094
|
-
height: number | string;
|
|
3095
|
-
model: 'profile' | 'table' | 'empty' | string | null;
|
|
3096
|
-
gap: number | string;
|
|
3097
|
-
private get amountNumber();
|
|
3098
|
-
private get gridNumber();
|
|
3099
|
-
get classes(): string;
|
|
3100
|
-
get heightClass(): string;
|
|
3101
|
-
get amountArray(): number[];
|
|
3102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSkeletonComponent, never>;
|
|
3103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaSkeletonComponent, "matcha-skeleton", never, { "amount": { "alias": "amount"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; "height": { "alias": "height"; "required": false; }; "model": { "alias": "model"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
|
-
declare class MatchaSkeletonModule {
|
|
3107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSkeletonModule, never>;
|
|
3108
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaSkeletonModule, [typeof MatchaSkeletonComponent], [typeof i2.CommonModule], [typeof MatchaSkeletonComponent]>;
|
|
3109
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSkeletonModule>;
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
3120
|
declare class StepContentDirective {
|
|
3113
3121
|
template: TemplateRef<any>;
|
|
3114
3122
|
step: string;
|
|
@@ -3205,5 +3213,5 @@ declare class MatchaToolbarModule {
|
|
|
3205
3213
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaToolbarModule>;
|
|
3206
3214
|
}
|
|
3207
3215
|
|
|
3208
|
-
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 };
|
|
3216
|
+
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, buildButtonList, compatibleOptions, initialConfig, timeMasks, withoutValidation };
|
|
3209
3217
|
export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, MatchaSnackBarConfig, MatchaTextEditorOptions, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
|