ngx-form-designerr 0.0.10
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/README.md +269 -0
- package/fesm2022/ngx-form-designer.mjs +27262 -0
- package/fesm2022/ngx-form-designer.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/data/data-catalog.d.ts +44 -0
- package/lib/data/data-provider.d.ts +58 -0
- package/lib/data/data-source-client.d.ts +59 -0
- package/lib/data/data-source-parsers.d.ts +5 -0
- package/lib/data/external-data-source.d.ts +29 -0
- package/lib/data/file-upload-client.d.ts +19 -0
- package/lib/data/http-data-source-client.d.ts +31 -0
- package/lib/data/in-memory-data-catalog.service.d.ts +12 -0
- package/lib/data/tree-utils.d.ts +28 -0
- package/lib/email-renderer/email-renderer.component.d.ts +21 -0
- package/lib/form-core/form-engine.d.ts +48 -0
- package/lib/form-core/form-event-runner.d.ts +15 -0
- package/lib/form-core/models.d.ts +256 -0
- package/lib/form-core/plugin-metadata.d.ts +10 -0
- package/lib/form-core/rule-evaluation.service.d.ts +18 -0
- package/lib/form-core/schema-factory.d.ts +11 -0
- package/lib/form-core/schema-guard.d.ts +18 -0
- package/lib/form-core/schema-utils.d.ts +9 -0
- package/lib/form-designer/data-panel/data-panel.component.d.ts +73 -0
- package/lib/form-designer/designer-context.service.d.ts +29 -0
- package/lib/form-designer/designer-state.service.d.ts +135 -0
- package/lib/form-designer/dynamic-properties/dynamic-properties.component.d.ts +89 -0
- package/lib/form-designer/events-panel/events-panel.component.d.ts +21 -0
- package/lib/form-designer/field-palette.component.d.ts +99 -0
- package/lib/form-designer/form-designer-shell.component.d.ts +56 -0
- package/lib/form-designer/form-preview.component.d.ts +21 -0
- package/lib/form-designer/form-settings-inspector.component.d.ts +15 -0
- package/lib/form-designer/global-data-manager.component.d.ts +32 -0
- package/lib/form-designer/inspector-sections/inspector-advanced-section.component.d.ts +17 -0
- package/lib/form-designer/inspector-sections/inspector-backgrounds-section.component.d.ts +14 -0
- package/lib/form-designer/inspector-sections/inspector-borders-section.component.d.ts +45 -0
- package/lib/form-designer/inspector-sections/inspector-effects-section.component.d.ts +22 -0
- package/lib/form-designer/inspector-sections/inspector-layout-section.component.d.ts +33 -0
- package/lib/form-designer/inspector-sections/inspector-position-section.component.d.ts +28 -0
- package/lib/form-designer/inspector-sections/inspector-size-section.component.d.ts +18 -0
- package/lib/form-designer/inspector-sections/inspector-spacing-section.component.d.ts +12 -0
- package/lib/form-designer/inspector-sections/inspector-typography-section.component.d.ts +21 -0
- package/lib/form-designer/json-form-designer.component.d.ts +12 -0
- package/lib/form-designer/layer-tree/layer-tree.component.d.ts +24 -0
- package/lib/form-designer/layout-canvas.component.d.ts +70 -0
- package/lib/form-designer/page-style.d.ts +2 -0
- package/lib/form-designer/properties-panel.component.d.ts +68 -0
- package/lib/form-designer/rules-editor/query-builder/query-builder.component.d.ts +23 -0
- package/lib/form-designer/rules-editor/rules-panel/rules-panel.component.d.ts +14 -0
- package/lib/form-designer/services/widget-definition-resolver.service.d.ts +38 -0
- package/lib/form-designer/template-library.d.ts +9 -0
- package/lib/form-designer/widget-inspector.component.d.ts +28 -0
- package/lib/form-renderer/form-viewer/form-viewer.component.d.ts +35 -0
- package/lib/form-renderer/json-form-renderer.component.d.ts +65 -0
- package/lib/form-renderer/layout-node.component.d.ts +85 -0
- package/lib/plugins/core-plugins.d.ts +5 -0
- package/lib/plugins/designer-plugin.d.ts +15 -0
- package/lib/plugins/plugin-context.d.ts +18 -0
- package/lib/plugins/plugin-providers.d.ts +3 -0
- package/lib/plugins/section-definition.d.ts +16 -0
- package/lib/theme/theme.service.d.ts +15 -0
- package/lib/ui/json-schema-editor.component.d.ts +27 -0
- package/lib/ui/monaco-editor.component.d.ts +24 -0
- package/lib/ui/ui-accordion.component.d.ts +11 -0
- package/lib/ui/ui-box-model.component.d.ts +55 -0
- package/lib/ui/ui-color-swatch.component.d.ts +12 -0
- package/lib/ui/ui-dimension.component.d.ts +21 -0
- package/lib/ui/ui-edge-box.component.d.ts +20 -0
- package/lib/ui/ui-field-wrapper.component.d.ts +8 -0
- package/lib/ui/ui-icon.module.d.ts +7 -0
- package/lib/ui/ui-input.component.d.ts +17 -0
- package/lib/ui/ui-range-number.component.d.ts +16 -0
- package/lib/ui/ui-select-icon.component.d.ts +18 -0
- package/lib/ui/ui-tabs.component.d.ts +25 -0
- package/lib/website/website-brick-studio.component.d.ts +67 -0
- package/lib/website/website-designer-shell.component.d.ts +53 -0
- package/lib/website/website-preview-shell.component.d.ts +25 -0
- package/lib/website/website-project.models.d.ts +78 -0
- package/lib/website/website-project.service.d.ts +50 -0
- package/lib/website/website-section-library.d.ts +6 -0
- package/lib/widgets/email-widgets/email-button-widget.component.d.ts +15 -0
- package/lib/widgets/email-widgets/email-heading-widget.component.d.ts +15 -0
- package/lib/widgets/email-widgets/email-text-widget.component.d.ts +13 -0
- package/lib/widgets/email-widgets.d.ts +2 -0
- package/lib/widgets/field-widgets/checkbox/checkbox-widget.component.d.ts +28 -0
- package/lib/widgets/field-widgets/checkbox-group/checkbox-group-widget.component.d.ts +40 -0
- package/lib/widgets/field-widgets/file-upload/file-upload-widget.component.d.ts +45 -0
- package/lib/widgets/field-widgets/radio/radio-widget.component.d.ts +39 -0
- package/lib/widgets/field-widgets/select/select-widget.component.d.ts +36 -0
- package/lib/widgets/field-widgets/text-field/text-field.component.d.ts +29 -0
- package/lib/widgets/field-widgets/tree-select/tree-select-widget.component.d.ts +47 -0
- package/lib/widgets/page-link-context.d.ts +8 -0
- package/lib/widgets/page-widgets/brick-settings.component.d.ts +23 -0
- package/lib/widgets/page-widgets/brick-widget.component.d.ts +47 -0
- package/lib/widgets/page-widgets/button-link-settings.component.d.ts +23 -0
- package/lib/widgets/page-widgets/button-widget.component.d.ts +21 -0
- package/lib/widgets/page-widgets/heading-widget.component.d.ts +22 -0
- package/lib/widgets/page-widgets/inline-quill-editor.component.d.ts +34 -0
- package/lib/widgets/page-widgets/table-inspector.component.d.ts +17 -0
- package/lib/widgets/page-widgets/table-widget.component.d.ts +35 -0
- package/lib/widgets/page-widgets/text-block-widget.component.d.ts +22 -0
- package/lib/widgets/page-widgets.d.ts +2 -0
- package/lib/widgets/static-widgets/image/image-widget.component.d.ts +18 -0
- package/lib/widgets/style-helpers.d.ts +8 -0
- package/lib/widgets/style-properties.d.ts +28 -0
- package/lib/widgets/style-sections.d.ts +1 -0
- package/lib/widgets/table-widget.d.ts +2 -0
- package/lib/widgets/widget-definition.d.ts +76 -0
- package/lib/widgets/widget-editor-context.d.ts +8 -0
- package/lib/widgets/widget-packs.d.ts +4 -0
- package/lib/widgets/widgets.d.ts +2 -0
- package/package.json +47 -0
- package/public-api.d.ts +70 -0
- package/tailwind.preset.js +51 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { FormSchema } from '../form-core/models';
|
|
2
|
+
export interface WebsiteProject {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
pages: WebsitePage[];
|
|
6
|
+
sections?: WebsiteSection[];
|
|
7
|
+
bricks?: WebsiteBrick[];
|
|
8
|
+
themes?: WebsiteTheme[];
|
|
9
|
+
activeThemeId?: string;
|
|
10
|
+
tokens?: WebsiteTokens;
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
export interface WebsitePage {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
route: string;
|
|
17
|
+
schema: FormSchema;
|
|
18
|
+
}
|
|
19
|
+
export interface WebsiteSection {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
schema: FormSchema;
|
|
23
|
+
}
|
|
24
|
+
export interface WebsiteTokens {
|
|
25
|
+
colors?: Record<string, string>;
|
|
26
|
+
spacing?: Record<string, string>;
|
|
27
|
+
typography?: Record<string, string>;
|
|
28
|
+
radii?: Record<string, string>;
|
|
29
|
+
shadows?: Record<string, string>;
|
|
30
|
+
}
|
|
31
|
+
export interface BrickUiHints {
|
|
32
|
+
title?: string;
|
|
33
|
+
groups?: Array<{
|
|
34
|
+
id: string;
|
|
35
|
+
label: string;
|
|
36
|
+
fields: string[];
|
|
37
|
+
}>;
|
|
38
|
+
order?: string[];
|
|
39
|
+
}
|
|
40
|
+
export interface WebsiteBrick {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
runtime?: 'dom' | 'react';
|
|
44
|
+
templateHtml: string;
|
|
45
|
+
scriptJs?: string;
|
|
46
|
+
reactComponentJs?: string;
|
|
47
|
+
propsSchema?: Record<string, unknown>;
|
|
48
|
+
ui?: BrickUiHints;
|
|
49
|
+
defaultProps?: Record<string, unknown>;
|
|
50
|
+
}
|
|
51
|
+
export interface WebsiteTheme {
|
|
52
|
+
id: string;
|
|
53
|
+
vars: Record<string, string>;
|
|
54
|
+
}
|
|
55
|
+
export declare function createWebsiteProject(opts?: {
|
|
56
|
+
id?: string;
|
|
57
|
+
name?: string;
|
|
58
|
+
pages?: WebsitePage[];
|
|
59
|
+
}): WebsiteProject;
|
|
60
|
+
export declare function createWebsitePage(opts?: {
|
|
61
|
+
id?: string;
|
|
62
|
+
name?: string;
|
|
63
|
+
route?: string;
|
|
64
|
+
schema?: FormSchema;
|
|
65
|
+
}): WebsitePage;
|
|
66
|
+
export declare function createDefaultWebsiteTheme(): WebsiteTheme;
|
|
67
|
+
export declare function createDefaultWebsiteBrick(): WebsiteBrick;
|
|
68
|
+
export declare function createDefaultWebsiteBricks(): WebsiteBrick[];
|
|
69
|
+
export declare function createWebsiteBrick(opts?: {
|
|
70
|
+
id?: string;
|
|
71
|
+
name?: string;
|
|
72
|
+
runtime?: 'dom' | 'react';
|
|
73
|
+
templateHtml?: string;
|
|
74
|
+
scriptJs?: string;
|
|
75
|
+
reactComponentJs?: string;
|
|
76
|
+
propsSchema?: Record<string, unknown>;
|
|
77
|
+
defaultProps?: Record<string, unknown>;
|
|
78
|
+
}): WebsiteBrick;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { FormSchema } from '../form-core/models';
|
|
2
|
+
import type { WebsitePage, WebsiteProject, WebsiteSection, WebsiteTokens, WebsiteBrick, WebsiteTheme } from './website-project.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WebsiteProjectService {
|
|
5
|
+
private static readonly STORAGE_KEY;
|
|
6
|
+
private readonly projectSignal;
|
|
7
|
+
readonly project: import("@angular/core").Signal<WebsiteProject>;
|
|
8
|
+
readonly pages: import("@angular/core").Signal<WebsitePage[]>;
|
|
9
|
+
readonly sections: import("@angular/core").Signal<WebsiteSection[]>;
|
|
10
|
+
readonly bricks: import("@angular/core").Signal<WebsiteBrick[]>;
|
|
11
|
+
readonly themes: import("@angular/core").Signal<WebsiteTheme[]>;
|
|
12
|
+
readonly activeThemeId: import("@angular/core").Signal<string>;
|
|
13
|
+
readonly tokens: import("@angular/core").Signal<WebsiteTokens>;
|
|
14
|
+
readonly activePageId: import("@angular/core").WritableSignal<string>;
|
|
15
|
+
readonly activePage: import("@angular/core").Signal<WebsitePage | null>;
|
|
16
|
+
readonly canRemovePage: import("@angular/core").Signal<boolean>;
|
|
17
|
+
constructor();
|
|
18
|
+
setProject(project: WebsiteProject): void;
|
|
19
|
+
getPageById(id: string): WebsitePage | undefined;
|
|
20
|
+
setActivePage(id: string): void;
|
|
21
|
+
addPage(): WebsitePage;
|
|
22
|
+
removePage(id: string): void;
|
|
23
|
+
renamePage(id: string, name: string): void;
|
|
24
|
+
updateRoute(id: string, route: string): void;
|
|
25
|
+
updateActivePageSchema(schema: FormSchema): void;
|
|
26
|
+
updatePageSchema(id: string, schema: FormSchema): void;
|
|
27
|
+
addSection(section: WebsiteSection): void;
|
|
28
|
+
removeSection(id: string): void;
|
|
29
|
+
updateSection(section: WebsiteSection): void;
|
|
30
|
+
updateTokens(tokens: WebsiteTokens): void;
|
|
31
|
+
addBrick(brick: WebsiteBrick): void;
|
|
32
|
+
updateBrick(brick: WebsiteBrick): void;
|
|
33
|
+
removeBrick(id: string): void;
|
|
34
|
+
setActiveTheme(id: string): void;
|
|
35
|
+
updateTheme(theme: WebsiteTheme): void;
|
|
36
|
+
setThemes(themes: WebsiteTheme[]): void;
|
|
37
|
+
persistNow(): void;
|
|
38
|
+
private normalizeProject;
|
|
39
|
+
private nextPageName;
|
|
40
|
+
private buildRouteFromName;
|
|
41
|
+
private ensureUniqueRoute;
|
|
42
|
+
private normalizeRoute;
|
|
43
|
+
private updateSchemaLinkRoutes;
|
|
44
|
+
private slugify;
|
|
45
|
+
private normalizeSchema;
|
|
46
|
+
private canUseStorage;
|
|
47
|
+
private loadFromStorage;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebsiteProjectService, never>;
|
|
49
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WebsiteProjectService>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FormSchema } from '../form-core/models';
|
|
2
|
+
import type { DesignerSectionDefinition, DesignerSectionDraft } from '../plugins/section-definition';
|
|
3
|
+
export type WebsiteSectionDefinition = DesignerSectionDefinition;
|
|
4
|
+
export type WebsiteSectionDraft = DesignerSectionDraft;
|
|
5
|
+
export declare const DEFAULT_WEBSITE_SECTIONS: WebsiteSectionDefinition[];
|
|
6
|
+
export declare function appendSectionToSchema(schema: FormSchema, section: WebsiteSectionDefinition): FormSchema;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FormEngine } from '../../form-core/form-engine';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmailButtonWidgetComponent {
|
|
5
|
+
config: any;
|
|
6
|
+
engine?: FormEngine;
|
|
7
|
+
control?: FormControl;
|
|
8
|
+
get label(): string;
|
|
9
|
+
get href(): string;
|
|
10
|
+
get variant(): string;
|
|
11
|
+
get buttonWrapperStyles(): Record<string, any>;
|
|
12
|
+
get buttonStyles(): Record<string, any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailButtonWidgetComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmailButtonWidgetComponent, "app-email-button-widget", never, { "config": { "alias": "config"; "required": true; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FormEngine } from '../../form-core/form-engine';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmailHeadingWidgetComponent {
|
|
5
|
+
config: any;
|
|
6
|
+
engine?: FormEngine;
|
|
7
|
+
control?: FormControl;
|
|
8
|
+
get text(): string;
|
|
9
|
+
get level(): string;
|
|
10
|
+
get h1Styles(): Record<string, any>;
|
|
11
|
+
get h2Styles(): Record<string, any>;
|
|
12
|
+
get h3Styles(): Record<string, any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailHeadingWidgetComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmailHeadingWidgetComponent, "app-email-heading-widget", never, { "config": { "alias": "config"; "required": true; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FormEngine } from '../../form-core/form-engine';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmailTextWidgetComponent {
|
|
5
|
+
config: any;
|
|
6
|
+
engine?: FormEngine;
|
|
7
|
+
control?: FormControl;
|
|
8
|
+
get text(): string;
|
|
9
|
+
get isMuted(): boolean;
|
|
10
|
+
get paragraphStyles(): Record<string, any>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailTextWidgetComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmailTextWidgetComponent, "app-email-text-widget", never, { "config": { "alias": "config"; "required": true; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldSchema } from '../../../form-core/models';
|
|
4
|
+
import { FormEngine } from '../../../form-core/form-engine';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CheckboxWidgetComponent implements OnInit, OnDestroy {
|
|
7
|
+
config: FieldSchema;
|
|
8
|
+
engine?: FormEngine;
|
|
9
|
+
control: FormControl<boolean | null>;
|
|
10
|
+
private readonly destroyRef;
|
|
11
|
+
get fieldId(): string;
|
|
12
|
+
get errorId(): string;
|
|
13
|
+
get helpTextId(): string;
|
|
14
|
+
getAriaDescribedBy(): string;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
getWrapperStyles(): Record<string, any>;
|
|
18
|
+
get visible(): boolean;
|
|
19
|
+
get enabled(): boolean;
|
|
20
|
+
get required(): boolean;
|
|
21
|
+
get error(): string | null;
|
|
22
|
+
onFocus(): void;
|
|
23
|
+
onClick(): void;
|
|
24
|
+
onBlur(): void;
|
|
25
|
+
private syncEnabledState;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxWidgetComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxWidgetComponent, "app-checkbox-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldSchema, OptionSchema } from '../../../form-core/models';
|
|
4
|
+
import { FormEngine } from '../../../form-core/form-engine';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CheckboxGroupWidgetComponent implements OnInit, OnChanges, OnDestroy {
|
|
7
|
+
config: FieldSchema;
|
|
8
|
+
engine?: FormEngine;
|
|
9
|
+
control: FormControl<any[] | null>;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
loadError: string | null;
|
|
12
|
+
private requestId;
|
|
13
|
+
private readonly destroyRef;
|
|
14
|
+
private readonly cdr;
|
|
15
|
+
options: OptionSchema[];
|
|
16
|
+
private readonly dataProvider;
|
|
17
|
+
get fieldId(): string;
|
|
18
|
+
getFieldId(index: number): string;
|
|
19
|
+
get labelId(): string;
|
|
20
|
+
get errorId(): string;
|
|
21
|
+
get helpTextId(): string;
|
|
22
|
+
getAriaDescribedBy(): string;
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
private getDependencyFieldIds;
|
|
27
|
+
private loadOptions;
|
|
28
|
+
isChecked(value: any): boolean;
|
|
29
|
+
onCheckChange(event: any, value: any): void;
|
|
30
|
+
getWrapperStyles(): Record<string, any>;
|
|
31
|
+
get visible(): boolean;
|
|
32
|
+
get enabled(): boolean;
|
|
33
|
+
get required(): boolean;
|
|
34
|
+
get error(): string | null;
|
|
35
|
+
onFocus(): void;
|
|
36
|
+
onClick(): void;
|
|
37
|
+
onBlur(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupWidgetComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupWidgetComponent, "app-checkbox-group-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldSchema, UploadedFileRef } from '../../../form-core/models';
|
|
4
|
+
import { FormEngine } from '../../../form-core/form-engine';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FileUploadWidgetComponent implements OnInit, OnChanges, OnDestroy {
|
|
7
|
+
readonly config: FieldSchema;
|
|
8
|
+
readonly engine?: FormEngine;
|
|
9
|
+
readonly control: FormControl<any>;
|
|
10
|
+
private readonly fileInput?;
|
|
11
|
+
protected selectedFiles: File[];
|
|
12
|
+
protected uploadedFiles: UploadedFileRef[];
|
|
13
|
+
private engineSub?;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
protected get fieldId(): string;
|
|
18
|
+
protected get errorId(): string;
|
|
19
|
+
protected get helpTextId(): string;
|
|
20
|
+
protected getAriaDescribedBy(): string;
|
|
21
|
+
protected getWrapperStyles(): Record<string, any>;
|
|
22
|
+
protected get visible(): boolean;
|
|
23
|
+
protected get enabled(): boolean;
|
|
24
|
+
protected get isDisabled(): boolean;
|
|
25
|
+
protected get required(): boolean;
|
|
26
|
+
protected get error(): string | null;
|
|
27
|
+
protected onFileChange(event: Event): void;
|
|
28
|
+
protected clearSelection(): void;
|
|
29
|
+
protected onFocus(): void;
|
|
30
|
+
protected onClick(): void;
|
|
31
|
+
protected onBlur(): void;
|
|
32
|
+
protected formatFileSize(size: number): string;
|
|
33
|
+
protected formatUploadedSize(size: number | undefined): string;
|
|
34
|
+
private bindEngineChanges;
|
|
35
|
+
private unbindEngineChanges;
|
|
36
|
+
private syncFromEngineValue;
|
|
37
|
+
private extractFiles;
|
|
38
|
+
private normalizeUploadedRefs;
|
|
39
|
+
private isFile;
|
|
40
|
+
private isUploadedRef;
|
|
41
|
+
private getUploadedValue;
|
|
42
|
+
private updateValue;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadWidgetComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadWidgetComponent, "app-file-upload-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldSchema, OptionSchema } from '../../../form-core/models';
|
|
4
|
+
import { FormEngine } from '../../../form-core/form-engine';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RadioWidgetComponent implements OnInit, OnChanges, OnDestroy {
|
|
7
|
+
config: FieldSchema;
|
|
8
|
+
engine?: FormEngine;
|
|
9
|
+
control: FormControl<any>;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
loadError: string | null;
|
|
12
|
+
private requestId;
|
|
13
|
+
private readonly destroyRef;
|
|
14
|
+
private readonly cdr;
|
|
15
|
+
options: OptionSchema[];
|
|
16
|
+
private readonly dataProvider;
|
|
17
|
+
get fieldId(): string;
|
|
18
|
+
getFieldId(index: number): string;
|
|
19
|
+
get labelId(): string;
|
|
20
|
+
get errorId(): string;
|
|
21
|
+
get helpTextId(): string;
|
|
22
|
+
getAriaDescribedBy(): string;
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
private getDependencyFieldIds;
|
|
27
|
+
private loadOptions;
|
|
28
|
+
getWrapperStyles(): Record<string, any>;
|
|
29
|
+
get visible(): boolean;
|
|
30
|
+
get enabled(): boolean;
|
|
31
|
+
get required(): boolean;
|
|
32
|
+
get error(): string | null;
|
|
33
|
+
onFocus(): void;
|
|
34
|
+
onClick(): void;
|
|
35
|
+
onBlur(): void;
|
|
36
|
+
private syncEnabledState;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioWidgetComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioWidgetComponent, "app-radio-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldSchema, OptionSchema } from '../../../form-core/models';
|
|
4
|
+
import { FormEngine } from '../../../form-core/form-engine';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SelectWidgetComponent implements OnInit, OnDestroy {
|
|
7
|
+
config: FieldSchema;
|
|
8
|
+
engine?: FormEngine;
|
|
9
|
+
control: FormControl<any>;
|
|
10
|
+
searchControl: FormControl<string | null>;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
loadError: string | null;
|
|
13
|
+
private requestId;
|
|
14
|
+
private readonly destroyRef;
|
|
15
|
+
options: OptionSchema[];
|
|
16
|
+
private readonly dataProvider;
|
|
17
|
+
get fieldId(): string;
|
|
18
|
+
get errorId(): string;
|
|
19
|
+
get helpTextId(): string;
|
|
20
|
+
getAriaDescribedBy(): string;
|
|
21
|
+
ngOnInit(): Promise<void>;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
private getDependencyFieldIds;
|
|
24
|
+
private loadOptions;
|
|
25
|
+
getWrapperStyles(): Record<string, any>;
|
|
26
|
+
get visible(): boolean;
|
|
27
|
+
get enabled(): boolean;
|
|
28
|
+
get required(): boolean;
|
|
29
|
+
get error(): string | null;
|
|
30
|
+
onFocus(): void;
|
|
31
|
+
onClick(): void;
|
|
32
|
+
onBlur(): void;
|
|
33
|
+
private syncEnabledState;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectWidgetComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectWidgetComponent, "app-select-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldSchema } from '../../../form-core/models';
|
|
4
|
+
import { FormEngine } from '../../../form-core/form-engine';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TextFieldWidgetComponent implements OnInit, OnDestroy {
|
|
7
|
+
config: FieldSchema;
|
|
8
|
+
engine?: FormEngine;
|
|
9
|
+
control: FormControl<any>;
|
|
10
|
+
private readonly destroyRef;
|
|
11
|
+
private readonly dataProvider;
|
|
12
|
+
get fieldId(): string;
|
|
13
|
+
get errorId(): string;
|
|
14
|
+
get helpTextId(): string;
|
|
15
|
+
getAriaDescribedBy(): string;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onFocus(): void;
|
|
18
|
+
onClick(): void;
|
|
19
|
+
onBlur(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
getWrapperStyles(): Record<string, any>;
|
|
22
|
+
get visible(): boolean;
|
|
23
|
+
get enabled(): boolean;
|
|
24
|
+
get required(): boolean;
|
|
25
|
+
get error(): string | null;
|
|
26
|
+
private syncEnabledState;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldWidgetComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldWidgetComponent, "app-text-field-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ElementRef } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldSchema } from '../../../form-core/models';
|
|
4
|
+
import { FormEngine } from '../../../form-core/form-engine';
|
|
5
|
+
import { TreeNode } from '../../../data/tree-utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TreeSelectWidgetComponent implements OnInit, OnDestroy {
|
|
8
|
+
private el;
|
|
9
|
+
config: FieldSchema;
|
|
10
|
+
engine?: FormEngine;
|
|
11
|
+
control: FormControl<any>;
|
|
12
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
13
|
+
private dataProvider;
|
|
14
|
+
private cdr;
|
|
15
|
+
private readonly destroyRef;
|
|
16
|
+
private rawList;
|
|
17
|
+
tree: TreeNode[];
|
|
18
|
+
displayTree: TreeNode[];
|
|
19
|
+
isLoading: boolean;
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
selectedId: string | null;
|
|
22
|
+
selectedLabel: string | null;
|
|
23
|
+
expandedIds: Set<string>;
|
|
24
|
+
searchControl: FormControl<string | null>;
|
|
25
|
+
loadError: string | null;
|
|
26
|
+
private hasFocus;
|
|
27
|
+
constructor(el: ElementRef);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
private onDocumentClick;
|
|
31
|
+
loadData(): Promise<void>;
|
|
32
|
+
private build;
|
|
33
|
+
private filter;
|
|
34
|
+
toggleDropdown(e: Event): void;
|
|
35
|
+
isExpanded(node: TreeNode): boolean;
|
|
36
|
+
toggleExpand(node: TreeNode, e: Event): void;
|
|
37
|
+
selectNode(node: TreeNode, e: Event): void;
|
|
38
|
+
private updateSelectionFromValue;
|
|
39
|
+
get isInvalid(): boolean;
|
|
40
|
+
get isRequired(): boolean | undefined;
|
|
41
|
+
get errorMessage(): string | null;
|
|
42
|
+
get searchEnabled(): boolean;
|
|
43
|
+
private openDropdown;
|
|
44
|
+
private closeDropdown;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeSelectWidgetComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeSelectWidgetComponent, "app-tree-select", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export type WidgetPageLink = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
route: string;
|
|
6
|
+
};
|
|
7
|
+
export type WidgetPageLinkProvider = () => WidgetPageLink[];
|
|
8
|
+
export declare const WIDGET_PAGE_LINKS: InjectionToken<WidgetPageLinkProvider>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrickSettingsComponent implements OnChanges {
|
|
4
|
+
config: any;
|
|
5
|
+
getValue: (path: string) => unknown;
|
|
6
|
+
setValue: (path: string, value: unknown) => void;
|
|
7
|
+
onChange: () => void;
|
|
8
|
+
private readonly projectService;
|
|
9
|
+
protected readonly bricks: import("@angular/core").Signal<import("ngx-form-designer").WebsiteBrick[]>;
|
|
10
|
+
protected propsValue: Record<string, unknown>;
|
|
11
|
+
protected propsSchema: Record<string, unknown> | null;
|
|
12
|
+
private lastBrickId;
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
selectedBrickId(): string;
|
|
15
|
+
onBrickChange(id: string): void;
|
|
16
|
+
onPropsChange(nextProps: Record<string, unknown>): void;
|
|
17
|
+
private syncPropsState;
|
|
18
|
+
private applyDefaultsForBrick;
|
|
19
|
+
private normalizeSchema;
|
|
20
|
+
private cloneProps;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrickSettingsComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrickSettingsComponent, "app-brick-settings", never, { "config": { "alias": "config"; "required": false; }; "getValue": { "alias": "getValue"; "required": false; }; "setValue": { "alias": "setValue"; "required": false; }; "onChange": { "alias": "onChange"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import type { WebsiteBrick } from '../../website/website-project.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BrickWidgetComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
5
|
+
config: any;
|
|
6
|
+
engine?: any;
|
|
7
|
+
control?: any;
|
|
8
|
+
brickOverride?: WebsiteBrick;
|
|
9
|
+
onPropsChange?: (nextProps: Record<string, unknown>) => void;
|
|
10
|
+
private readonly brickRoot;
|
|
11
|
+
private readonly projectService;
|
|
12
|
+
private readonly editor;
|
|
13
|
+
private runtimeInstance?;
|
|
14
|
+
private cleanupFns;
|
|
15
|
+
private reactUnmount?;
|
|
16
|
+
private viewReady;
|
|
17
|
+
private renderSequence;
|
|
18
|
+
private static reactGlobalsPromise;
|
|
19
|
+
private static babelGlobalsPromise;
|
|
20
|
+
constructor();
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
showMissing(): boolean;
|
|
25
|
+
missingMessage(): string;
|
|
26
|
+
private renderBrick;
|
|
27
|
+
private resolveBrick;
|
|
28
|
+
private getProps;
|
|
29
|
+
private getRuntime;
|
|
30
|
+
private applyBindings;
|
|
31
|
+
private setupInlineEditing;
|
|
32
|
+
private initRuntime;
|
|
33
|
+
private renderReactBrick;
|
|
34
|
+
private resolveReactComponent;
|
|
35
|
+
private updateProps;
|
|
36
|
+
private ensureRootBinding;
|
|
37
|
+
private updateProp;
|
|
38
|
+
private readProp;
|
|
39
|
+
private setPropValue;
|
|
40
|
+
private isDesignMode;
|
|
41
|
+
private cleanupRuntime;
|
|
42
|
+
private static loadReactGlobals;
|
|
43
|
+
private static loadBabelGlobals;
|
|
44
|
+
private static compileReactComponent;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrickWidgetComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrickWidgetComponent, "app-brick-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; "brickOverride": { "alias": "brickOverride"; "required": false; }; "onPropsChange": { "alias": "onPropsChange"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { WidgetPageLink } from '../page-link-context';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
type LinkType = 'none' | 'page' | 'url';
|
|
4
|
+
export declare class ButtonLinkSettingsComponent {
|
|
5
|
+
config: any;
|
|
6
|
+
getValue?: (path: string) => any;
|
|
7
|
+
setValue?: (path: string, value: any) => void;
|
|
8
|
+
onChange?: () => void;
|
|
9
|
+
private readonly pageLinks;
|
|
10
|
+
linkType(): LinkType;
|
|
11
|
+
pages(): WidgetPageLink[];
|
|
12
|
+
selectedPageId(): string;
|
|
13
|
+
selectedPageRoute(): string;
|
|
14
|
+
linkHref(): string;
|
|
15
|
+
openInNewTab(): boolean;
|
|
16
|
+
setLinkType(type: LinkType): void;
|
|
17
|
+
setPageId(pageId: string): void;
|
|
18
|
+
setUrl(value: string): void;
|
|
19
|
+
setOpenInNewTab(value: boolean): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonLinkSettingsComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonLinkSettingsComponent, "app-button-link-settings", never, { "config": { "alias": "config"; "required": false; }; "getValue": { "alias": "getValue"; "required": false; }; "setValue": { "alias": "setValue"; "required": false; }; "onChange": { "alias": "onChange"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ButtonWidgetComponent {
|
|
3
|
+
private readonly router;
|
|
4
|
+
private readonly pageLinks;
|
|
5
|
+
config: any;
|
|
6
|
+
engine?: any;
|
|
7
|
+
control?: any;
|
|
8
|
+
getClasses(): "inline-flex items-center px-4 py-2 border text-sm font-medium rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors border-gray-300 text-gray-700 bg-white hover:bg-gray-50 focus:ring-blue-500" | "inline-flex items-center px-4 py-2 border text-sm font-medium rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors border-transparent text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500";
|
|
9
|
+
getStyles(): Record<string, any>;
|
|
10
|
+
getButtonType(): 'button' | 'submit' | 'reset';
|
|
11
|
+
linkHref(): string;
|
|
12
|
+
linkTarget(): string | null;
|
|
13
|
+
linkRel(): string | null;
|
|
14
|
+
onLinkClick(event: MouseEvent): void;
|
|
15
|
+
onClick(): void;
|
|
16
|
+
private openInNewTab;
|
|
17
|
+
private getLinkType;
|
|
18
|
+
private isInternalLink;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonWidgetComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonWidgetComponent, "app-button-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeadingWidgetComponent {
|
|
3
|
+
private readonly editor;
|
|
4
|
+
private readonly router;
|
|
5
|
+
config: any;
|
|
6
|
+
engine?: any;
|
|
7
|
+
control?: any;
|
|
8
|
+
getStyles(): Record<string, any>;
|
|
9
|
+
isDesignMode(): boolean;
|
|
10
|
+
isEditing(): boolean;
|
|
11
|
+
headingEditorClass(): string;
|
|
12
|
+
headingContainerClass(): string;
|
|
13
|
+
labelHtml(): string;
|
|
14
|
+
quillHtml(): string;
|
|
15
|
+
onHtmlChange(html: string): void;
|
|
16
|
+
onLinkClick(event: MouseEvent): void;
|
|
17
|
+
private wrapHtmlForQuill;
|
|
18
|
+
private normalizeInlineHtml;
|
|
19
|
+
private normalizeInternalHref;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeadingWidgetComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeadingWidgetComponent, "app-heading-widget", never, { "config": { "alias": "config"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InlineQuillEditorComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
4
|
+
html: string;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
readOnly: boolean;
|
|
7
|
+
autoFocus: boolean;
|
|
8
|
+
containerClass: string;
|
|
9
|
+
editorClass: string;
|
|
10
|
+
editorStyle: Record<string, string | number> | null;
|
|
11
|
+
htmlChange: EventEmitter<string>;
|
|
12
|
+
editorBlur: EventEmitter<void>;
|
|
13
|
+
editorFocus: EventEmitter<void>;
|
|
14
|
+
editorRef: ElementRef<HTMLDivElement>;
|
|
15
|
+
private quill?;
|
|
16
|
+
private lastHtml;
|
|
17
|
+
private hasFocus;
|
|
18
|
+
private updating;
|
|
19
|
+
private appliedClasses;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
private initQuill;
|
|
24
|
+
private setHtml;
|
|
25
|
+
private applyEditorAppearance;
|
|
26
|
+
private focusToEnd;
|
|
27
|
+
onEditorMouseDown(event: MouseEvent): void;
|
|
28
|
+
onEditorPointerDown(event: PointerEvent): void;
|
|
29
|
+
onEditorTouchStart(event: TouchEvent): void;
|
|
30
|
+
onEditorDragStart(event: DragEvent): void;
|
|
31
|
+
private stopInteractionEvent;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InlineQuillEditorComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InlineQuillEditorComponent, "app-inline-quill-editor", never, { "html": { "alias": "html"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "editorClass": { "alias": "editorClass"; "required": false; }; "editorStyle": { "alias": "editorStyle"; "required": false; }; }, { "htmlChange": "htmlChange"; "editorBlur": "editorBlur"; "editorFocus": "editorFocus"; }, never, never, true, never>;
|
|
34
|
+
}
|