ngx-form-designer 0.0.6
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 +26762 -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/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 +255 -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-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 +133 -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 +46 -0
- package/lib/form-designer/form-preview.component.d.ts +21 -0
- package/lib/form-designer/form-settings-inspector.component.d.ts +14 -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 +27 -0
- package/lib/form-renderer/json-form-renderer.component.d.ts +50 -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 +68 -0
- package/tailwind.preset.js +51 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface FormTheme {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
properties: Record<string, string>;
|
|
6
|
+
}
|
|
7
|
+
export declare class ThemeService {
|
|
8
|
+
private document;
|
|
9
|
+
private themes;
|
|
10
|
+
constructor(document: Document);
|
|
11
|
+
setTheme(themeId: string): void;
|
|
12
|
+
getThemes(): FormTheme[];
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class JsonSchemaEditorComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
readonly schema: import("@angular/core").InputSignal<Record<string, unknown> | null>;
|
|
5
|
+
readonly value: import("@angular/core").InputSignal<Record<string, unknown> | null>;
|
|
6
|
+
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
|
|
8
|
+
private readonly containerRef;
|
|
9
|
+
readonly error: import("@angular/core").WritableSignal<string>;
|
|
10
|
+
readonly loading: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
private editor?;
|
|
12
|
+
private editorReady;
|
|
13
|
+
private suppressChange;
|
|
14
|
+
private schemaKey;
|
|
15
|
+
private valueKey;
|
|
16
|
+
private readonly viewReady;
|
|
17
|
+
private initToken;
|
|
18
|
+
private static modulePromise;
|
|
19
|
+
private readonly syncInputs;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
private destroyEditor;
|
|
23
|
+
private static loadModule;
|
|
24
|
+
private initializeEditor;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JsonSchemaEditorComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JsonSchemaEditorComponent, "app-json-schema-editor", never, { "schema": { "alias": "schema"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonacoEditorComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly language: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly theme: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly minimap: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly options: import("@angular/core").InputSignal<Record<string, unknown> | null>;
|
|
10
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<string>;
|
|
11
|
+
private readonly containerRef;
|
|
12
|
+
private static configured;
|
|
13
|
+
private monaco?;
|
|
14
|
+
private editor?;
|
|
15
|
+
private suppressChange;
|
|
16
|
+
private subscriptions;
|
|
17
|
+
private resizeObserver?;
|
|
18
|
+
private readonly editorReady;
|
|
19
|
+
private readonly syncInputs;
|
|
20
|
+
ngAfterViewInit(): Promise<void>;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonacoEditorComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonacoEditorComponent, "app-monaco-editor", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "minimap": { "alias": "minimap"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UiAccordionComponent {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
expanded: boolean;
|
|
6
|
+
showAdd: boolean;
|
|
7
|
+
get isOpen(): boolean;
|
|
8
|
+
toggle(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiAccordionComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiAccordionComponent, "ui-accordion", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "showAdd": { "alias": "showAdd"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface BoxModelValues {
|
|
4
|
+
marginTop?: any;
|
|
5
|
+
marginRight?: any;
|
|
6
|
+
marginBottom?: any;
|
|
7
|
+
marginLeft?: any;
|
|
8
|
+
paddingTop?: any;
|
|
9
|
+
paddingRight?: any;
|
|
10
|
+
paddingBottom?: any;
|
|
11
|
+
paddingLeft?: any;
|
|
12
|
+
borderWidth?: any;
|
|
13
|
+
width?: any;
|
|
14
|
+
height?: any;
|
|
15
|
+
}
|
|
16
|
+
export declare class UiBoxModelComponent implements OnChanges {
|
|
17
|
+
label: string;
|
|
18
|
+
hint: string;
|
|
19
|
+
helpText: string;
|
|
20
|
+
marginTop: any;
|
|
21
|
+
marginRight: any;
|
|
22
|
+
marginBottom: any;
|
|
23
|
+
marginLeft: any;
|
|
24
|
+
paddingTop: any;
|
|
25
|
+
paddingRight: any;
|
|
26
|
+
paddingBottom: any;
|
|
27
|
+
paddingLeft: any;
|
|
28
|
+
borderWidth: any;
|
|
29
|
+
width: any;
|
|
30
|
+
height: any;
|
|
31
|
+
units: string[];
|
|
32
|
+
defaultUnit: string;
|
|
33
|
+
valueChange: EventEmitter<BoxModelValues>;
|
|
34
|
+
localMarginTop: any;
|
|
35
|
+
localMarginRight: any;
|
|
36
|
+
localMarginBottom: any;
|
|
37
|
+
localMarginLeft: any;
|
|
38
|
+
localPaddingTop: any;
|
|
39
|
+
localPaddingRight: any;
|
|
40
|
+
localPaddingBottom: any;
|
|
41
|
+
localPaddingLeft: any;
|
|
42
|
+
localBorderWidth: any;
|
|
43
|
+
localWidth: any;
|
|
44
|
+
localHeight: any;
|
|
45
|
+
unit: string;
|
|
46
|
+
private readonly fallbackUnits;
|
|
47
|
+
get unitOptions(): string[];
|
|
48
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
49
|
+
onUnitChange(value: string): void;
|
|
50
|
+
emitChange(): void;
|
|
51
|
+
private resolveUnit;
|
|
52
|
+
private normalizeValue;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBoxModelComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBoxModelComponent, "ui-box-model", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "paddingTop": { "alias": "paddingTop"; "required": false; }; "paddingRight": { "alias": "paddingRight"; "required": false; }; "paddingBottom": { "alias": "paddingBottom"; "required": false; }; "paddingLeft": { "alias": "paddingLeft"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "units": { "alias": "units"; "required": false; }; "defaultUnit": { "alias": "defaultUnit"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiColorSwatchComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
hint: string;
|
|
6
|
+
helpText: string;
|
|
7
|
+
value: string;
|
|
8
|
+
valueChange: EventEmitter<string>;
|
|
9
|
+
blur: EventEmitter<void>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiColorSwatchComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiColorSwatchComponent, "ui-color-swatch", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "blur": "blur"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiDimensionComponent implements OnChanges {
|
|
4
|
+
label: string;
|
|
5
|
+
hint: string;
|
|
6
|
+
helpText: string;
|
|
7
|
+
width: any;
|
|
8
|
+
height: any;
|
|
9
|
+
valueChange: EventEmitter<{
|
|
10
|
+
width: any;
|
|
11
|
+
height: any;
|
|
12
|
+
}>;
|
|
13
|
+
localWidth: any;
|
|
14
|
+
localHeight: any;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
+
onWidthChange(value: any): void;
|
|
17
|
+
onHeightChange(value: any): void;
|
|
18
|
+
emitChange(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiDimensionComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiDimensionComponent, "ui-dimension", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiEdgeBoxComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
hint: string;
|
|
6
|
+
helpText: string;
|
|
7
|
+
top: any;
|
|
8
|
+
right: any;
|
|
9
|
+
bottom: any;
|
|
10
|
+
left: any;
|
|
11
|
+
valueChange: EventEmitter<{
|
|
12
|
+
top: any;
|
|
13
|
+
right: any;
|
|
14
|
+
bottom: any;
|
|
15
|
+
left: any;
|
|
16
|
+
}>;
|
|
17
|
+
emitChange(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiEdgeBoxComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiEdgeBoxComponent, "ui-edge-box", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "left": { "alias": "left"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UiFieldWrapperComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
hint: string;
|
|
5
|
+
helpText: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFieldWrapperComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFieldWrapperComponent, "ui-field-wrapper", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "lucide-angular";
|
|
3
|
+
export declare class UiIconModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiIconModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiIconModule, never, [typeof i1.LucideAngularModule], [typeof i1.LucideAngularModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UiIconModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiInputComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
hint: string;
|
|
6
|
+
helpText: string;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
type: 'text' | 'number';
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
step?: number;
|
|
12
|
+
model: any;
|
|
13
|
+
modelChange: EventEmitter<any>;
|
|
14
|
+
onBlur: EventEmitter<void>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiInputComponent, "ui-input", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, { "modelChange": "modelChange"; "onBlur": "onBlur"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiRangeNumberComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
hint: string;
|
|
6
|
+
helpText: string;
|
|
7
|
+
prefix: string;
|
|
8
|
+
min: number;
|
|
9
|
+
max: number;
|
|
10
|
+
step: number;
|
|
11
|
+
value: number;
|
|
12
|
+
valueChange: EventEmitter<number>;
|
|
13
|
+
emitChange(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiRangeNumberComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiRangeNumberComponent, "ui-range-number", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface IconOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
icon?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class UiSelectIconComponent {
|
|
9
|
+
label: string;
|
|
10
|
+
hint: string;
|
|
11
|
+
helpText: string;
|
|
12
|
+
options: IconOption[];
|
|
13
|
+
value: any;
|
|
14
|
+
valueChange: EventEmitter<any>;
|
|
15
|
+
select(val: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSelectIconComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSelectIconComponent, "ui-select-icon", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { QueryList, AfterContentInit, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiTabComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
name: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
badge?: string;
|
|
8
|
+
badgeTone: 'neutral' | 'accent';
|
|
9
|
+
template: TemplateRef<unknown>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTabComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTabComponent, "ui-tab", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "badgeTone": { "alias": "badgeTone"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare class UiTabsComponent implements AfterContentInit {
|
|
14
|
+
tabQuery: QueryList<UiTabComponent>;
|
|
15
|
+
activeTab?: string;
|
|
16
|
+
activeTabChange: EventEmitter<string>;
|
|
17
|
+
private _internalIndex;
|
|
18
|
+
tabs: UiTabComponent[];
|
|
19
|
+
ngAfterContentInit(): void;
|
|
20
|
+
isActive(tab: UiTabComponent): boolean;
|
|
21
|
+
activate(tab: UiTabComponent): void;
|
|
22
|
+
get activeTemplate(): TemplateRef<unknown> | null;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTabsComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTabsComponent, "ui-tabs", never, { "activeTab": { "alias": "activeTab"; "required": false; }; }, { "activeTabChange": "activeTabChange"; }, ["tabQuery"], never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import type { WebsiteBrick } from './website-project.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type BrickEditorTab = 'template' | 'script' | 'schema' | 'defaults';
|
|
5
|
+
type BrickRuntimeMode = 'dom' | 'react';
|
|
6
|
+
export declare class WebsiteBrickStudioComponent implements OnDestroy {
|
|
7
|
+
private readonly projectService;
|
|
8
|
+
private readonly router;
|
|
9
|
+
private readonly workspaceRef;
|
|
10
|
+
readonly searchQuery: import("@angular/core").WritableSignal<string>;
|
|
11
|
+
readonly newBrickRuntime: import("@angular/core").WritableSignal<BrickRuntimeMode>;
|
|
12
|
+
readonly bricks: import("@angular/core").Signal<WebsiteBrick[]>;
|
|
13
|
+
readonly selectedBrickId: import("@angular/core").WritableSignal<string>;
|
|
14
|
+
readonly selectedBrick: import("@angular/core").Signal<WebsiteBrick | null>;
|
|
15
|
+
readonly brickGroups: import("@angular/core").Signal<({
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
runtime: "react";
|
|
19
|
+
bricks: WebsiteBrick[];
|
|
20
|
+
} | {
|
|
21
|
+
id: string;
|
|
22
|
+
label: string;
|
|
23
|
+
runtime: "dom";
|
|
24
|
+
bricks: WebsiteBrick[];
|
|
25
|
+
})[]>;
|
|
26
|
+
readonly editorTab: import("@angular/core").WritableSignal<BrickEditorTab>;
|
|
27
|
+
readonly draftName: import("@angular/core").WritableSignal<string>;
|
|
28
|
+
readonly draftRuntime: import("@angular/core").WritableSignal<BrickRuntimeMode>;
|
|
29
|
+
readonly draftTemplate: import("@angular/core").WritableSignal<string>;
|
|
30
|
+
readonly draftScript: import("@angular/core").WritableSignal<string>;
|
|
31
|
+
readonly draftReactComponent: import("@angular/core").WritableSignal<string>;
|
|
32
|
+
readonly draftSchemaJson: import("@angular/core").WritableSignal<string>;
|
|
33
|
+
readonly draftDefaultsJson: import("@angular/core").WritableSignal<string>;
|
|
34
|
+
readonly draftDefaultsValue: import("@angular/core").WritableSignal<Record<string, unknown>>;
|
|
35
|
+
readonly parseError: import("@angular/core").WritableSignal<string>;
|
|
36
|
+
readonly editorHeight: import("@angular/core").WritableSignal<number>;
|
|
37
|
+
readonly inspectorOpen: import("@angular/core").WritableSignal<boolean>;
|
|
38
|
+
readonly editorOptions: Record<string, unknown>;
|
|
39
|
+
private resizeCleanup?;
|
|
40
|
+
readonly previewConfig: import("@angular/core").Signal<{
|
|
41
|
+
id: string;
|
|
42
|
+
brickId: string;
|
|
43
|
+
props: Record<string, unknown>;
|
|
44
|
+
} | undefined>;
|
|
45
|
+
readonly previewBrick: import("@angular/core").Signal<WebsiteBrick | undefined>;
|
|
46
|
+
readonly inspectorSchema: import("@angular/core").Signal<Record<string, unknown> | null>;
|
|
47
|
+
readonly handlePropsChange: (nextProps: Record<string, unknown>) => void;
|
|
48
|
+
private readonly selectionSync;
|
|
49
|
+
private readonly draftSync;
|
|
50
|
+
backToEditor(): void;
|
|
51
|
+
selectBrick(id: string): void;
|
|
52
|
+
createBrick(): void;
|
|
53
|
+
removeBrick(id: string): void;
|
|
54
|
+
updateDefaultsJson(value: string): void;
|
|
55
|
+
saveBrick(): void;
|
|
56
|
+
setRuntime(mode: BrickRuntimeMode): void;
|
|
57
|
+
handleResizeKeydown(event: KeyboardEvent): void;
|
|
58
|
+
startEditorResize(event: PointerEvent): void;
|
|
59
|
+
ngOnDestroy(): void;
|
|
60
|
+
private static readonly MIN_EDITOR_HEIGHT;
|
|
61
|
+
private clampEditorHeight;
|
|
62
|
+
private computeMaxEditorHeight;
|
|
63
|
+
private parseJsonObject;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebsiteBrickStudioComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WebsiteBrickStudioComponent, "app-website-brick-studio", never, {}, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { DesignerStateService } from '../form-designer/designer-state.service';
|
|
3
|
+
import type { WebsiteProject } from './website-project.models';
|
|
4
|
+
import { DesignerSectionDefinition } from '../plugins/section-definition';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WebsiteDesignerShellComponent implements OnInit {
|
|
7
|
+
readonly initialProject: import("@angular/core").InputSignal<WebsiteProject | null>;
|
|
8
|
+
readonly sections: import("@angular/core").InputSignal<DesignerSectionDefinition[] | null>;
|
|
9
|
+
projectFileInput: ElementRef<HTMLInputElement>;
|
|
10
|
+
private readonly projectService;
|
|
11
|
+
private readonly router;
|
|
12
|
+
protected readonly designerState: DesignerStateService;
|
|
13
|
+
private readonly pluginSections;
|
|
14
|
+
private readonly pluginSectionsFlat;
|
|
15
|
+
readonly project: import("@angular/core").Signal<WebsiteProject>;
|
|
16
|
+
readonly pages: import("@angular/core").Signal<import("ngx-form-designer").WebsitePage[]>;
|
|
17
|
+
readonly savedSections: import("@angular/core").Signal<import("ngx-form-designer").WebsiteSection[]>;
|
|
18
|
+
readonly bricks: import("@angular/core").Signal<import("ngx-form-designer").WebsiteBrick[]>;
|
|
19
|
+
readonly activePage: import("@angular/core").Signal<import("ngx-form-designer").WebsitePage | null>;
|
|
20
|
+
readonly activePageId: import("@angular/core").WritableSignal<string>;
|
|
21
|
+
readonly canRemovePage: import("@angular/core").Signal<boolean>;
|
|
22
|
+
readonly sectionLibraryList: import("@angular/core").Signal<DesignerSectionDefinition[]>;
|
|
23
|
+
readonly savedSectionsList: import("@angular/core").Signal<{
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
}[]>;
|
|
28
|
+
private readonly syncEnabled;
|
|
29
|
+
private readonly schemaSync;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
addPage(): void;
|
|
32
|
+
selectPage(id: string): void;
|
|
33
|
+
removePage(id: string): void;
|
|
34
|
+
renamePage(id: string, name: string): void;
|
|
35
|
+
updateRoute(id: string, route: string): void;
|
|
36
|
+
openBrickStudio(): void;
|
|
37
|
+
insertSection(section: DesignerSectionDefinition): void;
|
|
38
|
+
saveSection(name: string): void;
|
|
39
|
+
insertSavedSection(sectionId: string): void;
|
|
40
|
+
removeSavedSection(sectionId: string): void;
|
|
41
|
+
openPreview(openInNewTab?: boolean): void;
|
|
42
|
+
exportProject(): void;
|
|
43
|
+
importProject(): void;
|
|
44
|
+
onProjectFileSelected(event: Event): void;
|
|
45
|
+
private loadActivePage;
|
|
46
|
+
private persistActivePage;
|
|
47
|
+
private getSelectedRow;
|
|
48
|
+
private extractSectionDraft;
|
|
49
|
+
private materializeSection;
|
|
50
|
+
private generateId;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebsiteDesignerShellComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WebsiteDesignerShellComponent, "app-website-designer-shell", never, { "initialProject": { "alias": "initialProject"; "required": false; "isSignal": true; }; "sections": { "alias": "sections"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class WebsitePreviewShellComponent {
|
|
3
|
+
private readonly router;
|
|
4
|
+
private readonly projectService;
|
|
5
|
+
readonly project: import("@angular/core").Signal<import("ngx-form-designer").WebsiteProject>;
|
|
6
|
+
readonly pages: import("@angular/core").Signal<import("ngx-form-designer").WebsitePage[]>;
|
|
7
|
+
readonly breakpoints: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
8
|
+
readonly breakpoint: import("@angular/core").WritableSignal<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
|
|
9
|
+
readonly activeDevice: import("@angular/core").Signal<"desktop" | "mobile">;
|
|
10
|
+
private readonly url;
|
|
11
|
+
readonly activePage: import("@angular/core").Signal<import("ngx-form-designer").WebsitePage | null>;
|
|
12
|
+
setBreakpoint(bp: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'): void;
|
|
13
|
+
getPageStyle(schema: {
|
|
14
|
+
ui?: {
|
|
15
|
+
baseStyle?: Record<string, unknown>;
|
|
16
|
+
};
|
|
17
|
+
}): Record<string, any>;
|
|
18
|
+
navigateTo(route: string): void;
|
|
19
|
+
backToEditor(): void;
|
|
20
|
+
private getContainerWidth;
|
|
21
|
+
private extractPath;
|
|
22
|
+
private normalizeRoute;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebsitePreviewShellComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WebsitePreviewShellComponent, "app-website-preview-shell", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -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
|
+
}
|