@stemy/ngx-utils 19.7.28 → 19.7.30
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/fesm2022/stemy-ngx-utils.mjs +91 -14
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/components/wysiwyg/wysiwyg.component.d.ts +29 -0
- package/ngx-utils/ngx-utils.imports.d.ts +3 -2
- package/ngx-utils/ngx-utils.module.d.ts +4 -3
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface Pell {
|
|
5
|
+
content: HTMLElement;
|
|
6
|
+
}
|
|
7
|
+
export declare class WysiwygComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
|
|
8
|
+
readonly cdr: ChangeDetectorRef;
|
|
9
|
+
readonly element: ElementRef<HTMLElement>;
|
|
10
|
+
value: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
valueChange: EventEmitter<string>;
|
|
13
|
+
onChange: Function;
|
|
14
|
+
onTouched: Function;
|
|
15
|
+
protected rootElem: DocumentOrShadowRoot;
|
|
16
|
+
protected editor: Pell;
|
|
17
|
+
protected editorElem: ElementRef<HTMLDivElement>;
|
|
18
|
+
get root(): DocumentOrShadowRoot;
|
|
19
|
+
get rootNode(): Node;
|
|
20
|
+
constructor(cdr: ChangeDetectorRef, element: ElementRef<HTMLElement>);
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnChanges(): void;
|
|
23
|
+
registerOnChange(fn: any): void;
|
|
24
|
+
registerOnTouched(fn: any): void;
|
|
25
|
+
writeValue(value: string): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WysiwygComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WysiwygComponent, "wysiwyg", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -61,10 +61,11 @@ import { DynamicTableComponent } from "./components/dynamic-table/dynamic-table.
|
|
|
61
61
|
import { PaginationMenuComponent } from "./components/pagination-menu/pagination-menu.component";
|
|
62
62
|
import { UnorderedListComponent } from "./components/unordered-list/unordered-list.component";
|
|
63
63
|
import { UploadComponent } from "./components/upload/upload.component";
|
|
64
|
+
import { WysiwygComponent } from "./components/wysiwyg/wysiwyg.component";
|
|
64
65
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe)[];
|
|
65
66
|
export declare const directives: (typeof AsyncMethodBase | typeof AsyncMethodTargetDirective | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownContentDirective | typeof TabsItemDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
66
|
-
export declare const components: (typeof ChipsComponent | typeof CloseBtnComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof
|
|
67
|
-
export declare const providers: (typeof
|
|
67
|
+
export declare const components: (typeof UploadComponent | typeof ChipsComponent | typeof CloseBtnComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof WysiwygComponent)[];
|
|
68
|
+
export declare const providers: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe | typeof BaseHttpClient | typeof BaseHttpService | typeof AuthGuard | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof SocketService | typeof StateService | typeof StorageService | typeof BaseToasterService | typeof CacheService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof UniversalService | typeof DeviceDetectorService | {
|
|
68
69
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
69
70
|
useClass: typeof DragDropEventPlugin;
|
|
70
71
|
multi: boolean;
|
|
@@ -70,8 +70,9 @@ import * as i66 from "./components/interactive-canvas/interactive-rect.component
|
|
|
70
70
|
import * as i67 from "./components/tabs/tabs.component";
|
|
71
71
|
import * as i68 from "./components/unordered-list/unordered-list.component";
|
|
72
72
|
import * as i69 from "./components/upload/upload.component";
|
|
73
|
-
import * as i70 from "
|
|
74
|
-
import * as i71 from "@angular/
|
|
73
|
+
import * as i70 from "./components/wysiwyg/wysiwyg.component";
|
|
74
|
+
import * as i71 from "@angular/common";
|
|
75
|
+
import * as i72 from "@angular/forms";
|
|
75
76
|
export declare function loadBaseUrl(): string;
|
|
76
77
|
export declare function loadBaseHref(baseUrl: string): string;
|
|
77
78
|
export declare function getRootElement(): HTMLElement;
|
|
@@ -81,6 +82,6 @@ export declare class NgxUtilsModule {
|
|
|
81
82
|
static provideUtils(config?: IModuleConfig): EnvironmentProviders;
|
|
82
83
|
static useDynamic(moduleInfo: DynamicModuleInfo): ModuleWithProviders<NgxUtilsModule>;
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxUtilsModule, never>;
|
|
84
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxUtilsModule, [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.SyncAsyncPipe, typeof i29.TranslatePipe, typeof i30.ValuesPipe, typeof i31.AsyncMethodBase, typeof i32.AsyncMethodDirective, typeof i33.AsyncMethodTargetDirective, typeof i34.BackgroundDirective, typeof i35.ComponentLoaderDirective, typeof i36.DynamicTableTemplateDirective, typeof i37.GlobalTemplateDirective, typeof i38.IconDirective, typeof i39.NgxTemplateOutletDirective, typeof i40.PaginationDirective, typeof i41.PaginationItemDirective, typeof i42.ResourceIfDirective, typeof i43.StickyDirective, typeof i44.StickyClassDirective, typeof i45.DropdownDirective, typeof i46.DropdownContentDirective, typeof i47.DropdownToggleDirective, typeof i48.TabsItemDirective, typeof i49.TabsTemplateDirective, typeof i50.UnorderedListItemDirective, typeof i51.UnorderedListTemplateDirective, typeof i52.BtnComponent, typeof i53.BtnDefaultComponent, typeof i54.ChipsComponent, typeof i55.CloseBtnComponent, typeof i56.DropListComponent, typeof i57.DropdownBoxComponent, typeof i58.DynamicTableComponent, typeof i59.FakeModuleComponent, typeof i60.PaginationMenuComponent, typeof i61.IconComponent, typeof i62.IconDefaultComponent, typeof i63.InteractiveCanvasComponent, typeof i64.InteractiveItemComponent, typeof i65.InteractiveCircleComponent, typeof i66.InteractiveRectComponent, typeof i67.TabsComponent, typeof i68.UnorderedListComponent, typeof i69.UploadComponent], [typeof
|
|
85
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxUtilsModule, [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.SyncAsyncPipe, typeof i29.TranslatePipe, typeof i30.ValuesPipe, typeof i31.AsyncMethodBase, typeof i32.AsyncMethodDirective, typeof i33.AsyncMethodTargetDirective, typeof i34.BackgroundDirective, typeof i35.ComponentLoaderDirective, typeof i36.DynamicTableTemplateDirective, typeof i37.GlobalTemplateDirective, typeof i38.IconDirective, typeof i39.NgxTemplateOutletDirective, typeof i40.PaginationDirective, typeof i41.PaginationItemDirective, typeof i42.ResourceIfDirective, typeof i43.StickyDirective, typeof i44.StickyClassDirective, typeof i45.DropdownDirective, typeof i46.DropdownContentDirective, typeof i47.DropdownToggleDirective, typeof i48.TabsItemDirective, typeof i49.TabsTemplateDirective, typeof i50.UnorderedListItemDirective, typeof i51.UnorderedListTemplateDirective, typeof i52.BtnComponent, typeof i53.BtnDefaultComponent, typeof i54.ChipsComponent, typeof i55.CloseBtnComponent, typeof i56.DropListComponent, typeof i57.DropdownBoxComponent, typeof i58.DynamicTableComponent, typeof i59.FakeModuleComponent, typeof i60.PaginationMenuComponent, typeof i61.IconComponent, typeof i62.IconDefaultComponent, typeof i63.InteractiveCanvasComponent, typeof i64.InteractiveItemComponent, typeof i65.InteractiveCircleComponent, typeof i66.InteractiveRectComponent, typeof i67.TabsComponent, typeof i68.UnorderedListComponent, typeof i69.UploadComponent, typeof i70.WysiwygComponent], [typeof i71.CommonModule, typeof i72.FormsModule], [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.SyncAsyncPipe, typeof i29.TranslatePipe, typeof i30.ValuesPipe, typeof i31.AsyncMethodBase, typeof i32.AsyncMethodDirective, typeof i33.AsyncMethodTargetDirective, typeof i34.BackgroundDirective, typeof i35.ComponentLoaderDirective, typeof i36.DynamicTableTemplateDirective, typeof i37.GlobalTemplateDirective, typeof i38.IconDirective, typeof i39.NgxTemplateOutletDirective, typeof i40.PaginationDirective, typeof i41.PaginationItemDirective, typeof i42.ResourceIfDirective, typeof i43.StickyDirective, typeof i44.StickyClassDirective, typeof i45.DropdownDirective, typeof i46.DropdownContentDirective, typeof i47.DropdownToggleDirective, typeof i48.TabsItemDirective, typeof i49.TabsTemplateDirective, typeof i50.UnorderedListItemDirective, typeof i51.UnorderedListTemplateDirective, typeof i52.BtnComponent, typeof i53.BtnDefaultComponent, typeof i54.ChipsComponent, typeof i55.CloseBtnComponent, typeof i56.DropListComponent, typeof i57.DropdownBoxComponent, typeof i58.DynamicTableComponent, typeof i59.FakeModuleComponent, typeof i60.PaginationMenuComponent, typeof i61.IconComponent, typeof i62.IconDefaultComponent, typeof i63.InteractiveCanvasComponent, typeof i64.InteractiveItemComponent, typeof i65.InteractiveCircleComponent, typeof i66.InteractiveRectComponent, typeof i67.TabsComponent, typeof i68.UnorderedListComponent, typeof i69.UploadComponent, typeof i70.WysiwygComponent, typeof i72.FormsModule]>;
|
|
85
86
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxUtilsModule>;
|
|
86
87
|
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -130,4 +130,5 @@ export { PaginationMenuComponent } from "./ngx-utils/components/pagination-menu/
|
|
|
130
130
|
export { TabsComponent } from "./ngx-utils/components/tabs/tabs.component";
|
|
131
131
|
export { UnorderedListComponent } from "./ngx-utils/components/unordered-list/unordered-list.component";
|
|
132
132
|
export { UploadComponent } from "./ngx-utils/components/upload/upload.component";
|
|
133
|
+
export { WysiwygComponent } from "./ngx-utils/components/wysiwyg/wysiwyg.component";
|
|
133
134
|
export { NgxUtilsModule } from "./ngx-utils/ngx-utils.module";
|