matcha-components 20.232.0 → 20.234.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 +217 -131
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +37 -28
- 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
|
}
|
|
@@ -2720,7 +2722,7 @@ declare class MatchaSnackBarComponent implements OnInit, OnDestroy {
|
|
|
2720
2722
|
duration: number;
|
|
2721
2723
|
visible: boolean;
|
|
2722
2724
|
private timeoutId;
|
|
2723
|
-
get colorAttr(): "error" | "
|
|
2725
|
+
get colorAttr(): "error" | "warning" | "info" | "success";
|
|
2724
2726
|
get positionAttr(): "top" | "bottom";
|
|
2725
2727
|
get classes(): string;
|
|
2726
2728
|
constructor(snackBarService: MatchaSnackBarService);
|
|
@@ -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,23 +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;
|
|
2778
|
+
private _cdr;
|
|
2779
|
+
private _el;
|
|
2774
2780
|
readonly editorId: string;
|
|
2775
2781
|
isLoading: boolean;
|
|
2782
|
+
get skeletonHeight(): string;
|
|
2776
2783
|
set value(v: string);
|
|
2777
|
-
|
|
2784
|
+
private _config;
|
|
2785
|
+
set config(v: MatchaTextEditorOptions);
|
|
2778
2786
|
contentChange: EventEmitter<string>;
|
|
2779
2787
|
get disabledAttr(): string | null;
|
|
2780
2788
|
private _editor;
|
|
2781
2789
|
private _pendingValue;
|
|
2782
2790
|
private _isSettingValue;
|
|
2783
2791
|
private _disabled;
|
|
2784
|
-
private _observer;
|
|
2785
2792
|
private _onChange;
|
|
2786
2793
|
private _onTouched;
|
|
2787
|
-
constructor(_ngZone: NgZone);
|
|
2794
|
+
constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef, _el: ElementRef);
|
|
2788
2795
|
ngAfterViewInit(): Promise<void>;
|
|
2789
2796
|
ngOnDestroy(): void;
|
|
2790
2797
|
writeValue(value: string): void;
|
|
@@ -2794,15 +2801,38 @@ declare class MatchaTextEditorComponent implements ControlValueAccessor, AfterVi
|
|
|
2794
2801
|
private _injectScript;
|
|
2795
2802
|
private _injectStyle;
|
|
2796
2803
|
private _loadAssets;
|
|
2804
|
+
private _reloadEditor;
|
|
2797
2805
|
private _initEditor;
|
|
2798
|
-
private _attachObserver;
|
|
2799
2806
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorComponent, never>;
|
|
2800
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>;
|
|
2801
2808
|
}
|
|
2802
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
|
+
|
|
2803
2833
|
declare class MatchaTextEditorModule {
|
|
2804
2834
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTextEditorModule, never>;
|
|
2805
|
-
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]>;
|
|
2806
2836
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTextEditorModule>;
|
|
2807
2837
|
}
|
|
2808
2838
|
|
|
@@ -3087,27 +3117,6 @@ declare class MatchaModalService {
|
|
|
3087
3117
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatchaModalService>;
|
|
3088
3118
|
}
|
|
3089
3119
|
|
|
3090
|
-
declare class MatchaSkeletonComponent {
|
|
3091
|
-
amount: number | string;
|
|
3092
|
-
grid: number | string;
|
|
3093
|
-
height: number | string;
|
|
3094
|
-
model: 'profile' | 'table' | 'empty' | string | null;
|
|
3095
|
-
gap: number | string;
|
|
3096
|
-
private get amountNumber();
|
|
3097
|
-
private get gridNumber();
|
|
3098
|
-
get classes(): string;
|
|
3099
|
-
get heightClass(): string;
|
|
3100
|
-
get amountArray(): number[];
|
|
3101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSkeletonComponent, never>;
|
|
3102
|
-
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>;
|
|
3103
|
-
}
|
|
3104
|
-
|
|
3105
|
-
declare class MatchaSkeletonModule {
|
|
3106
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSkeletonModule, never>;
|
|
3107
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaSkeletonModule, [typeof MatchaSkeletonComponent], [typeof i2.CommonModule], [typeof MatchaSkeletonComponent]>;
|
|
3108
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSkeletonModule>;
|
|
3109
|
-
}
|
|
3110
|
-
|
|
3111
3120
|
declare class StepContentDirective {
|
|
3112
3121
|
template: TemplateRef<any>;
|
|
3113
3122
|
step: string;
|
|
@@ -3204,5 +3213,5 @@ declare class MatchaToolbarModule {
|
|
|
3204
3213
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaToolbarModule>;
|
|
3205
3214
|
}
|
|
3206
3215
|
|
|
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 };
|
|
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 };
|
|
3208
3217
|
export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, MatchaSnackBarConfig, MatchaTextEditorOptions, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
|