ngx-axis-appforge 0.0.26 → 0.0.28
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/axis-components/button/index.d.ts +1 -1
- package/axis-components/design/index.d.ts +3 -1
- package/axis-components/dynamic-value/index.d.ts +1 -1
- package/axis-components/edit-table/index.d.ts +1 -1
- package/axis-components/editor/index.d.ts +1 -1
- package/axis-components/flex/index.d.ts +1 -1
- package/axis-components/form/index.d.ts +1 -1
- package/axis-components/form-item/index.d.ts +1 -1
- package/axis-components/icon/index.d.ts +1 -1
- package/axis-components/input-component/index.d.ts +1 -1
- package/axis-components/input-icon/index.d.ts +2 -1
- package/axis-components/input-json/index.d.ts +1 -1
- package/axis-components/scope/index.d.ts +1 -1
- package/axis-components/splitter/index.d.ts +1 -1
- package/axis-components/table/index.d.ts +5 -4
- package/axis-components/tree-selector/index.d.ts +1 -1
- package/axis-components/upload/index.d.ts +1 -1
- package/core/index.d.ts +14 -5
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +40 -10
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +5 -7
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +13 -6
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs +10 -5
- package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +10 -5
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +4 -4
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +25 -6
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +19 -13
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-core.mjs +52 -27
- package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
- package/package.json +100 -100
|
@@ -20,7 +20,7 @@ declare class ButtonOptions extends BaseOptions {
|
|
|
20
20
|
declare class Button extends Base<ButtonOptions> {
|
|
21
21
|
private modal;
|
|
22
22
|
constructor(modal: NzModalService);
|
|
23
|
-
|
|
23
|
+
options: ButtonOptions;
|
|
24
24
|
loading: _angular_core.WritableSignal<boolean>;
|
|
25
25
|
buttonClick(): void;
|
|
26
26
|
popConfirm(): void;
|
|
@@ -118,6 +118,7 @@ declare class Preview implements OnDestroy {
|
|
|
118
118
|
forceRender(): void;
|
|
119
119
|
refresh(): void;
|
|
120
120
|
private getParentComponentRef;
|
|
121
|
+
getComponentRef(nodeId: string): ComponentRef<Base<BaseOptions>> | undefined;
|
|
121
122
|
selectByNodeIds(nodeIds?: string[]): void;
|
|
122
123
|
getAndUpdateScopeSubject(scopeId: string, initScope?: ScopeDirective): BehaviorSubject<ScopeDirective | undefined>;
|
|
123
124
|
updateScopeWithSelectedElement(scopeId: string): void;
|
|
@@ -174,7 +175,7 @@ declare class Toolbar {
|
|
|
174
175
|
|
|
175
176
|
declare class Design extends ValueAccess<DesignOptions> implements OnDestroy {
|
|
176
177
|
constructor();
|
|
177
|
-
|
|
178
|
+
options: DesignOptions;
|
|
178
179
|
element: ElementRef<any>;
|
|
179
180
|
clipboard: ClipboardService;
|
|
180
181
|
loader: ngx_axis_appforge_core.ComponentsLoader;
|
|
@@ -228,6 +229,7 @@ declare class Design extends ValueAccess<DesignOptions> implements OnDestroy {
|
|
|
228
229
|
private buildScopeInfosGetter;
|
|
229
230
|
private buildScopeInfoSubject;
|
|
230
231
|
private buildComponentInfoForSetting;
|
|
232
|
+
private buildComponentRefForSetting;
|
|
231
233
|
onContextMenu(e: MouseEvent, nodeId: string): void;
|
|
232
234
|
chooseComponent(...tags: string[]): Observable<{
|
|
233
235
|
options?: any;
|
|
@@ -7,7 +7,7 @@ declare class DynamicValueOptions extends ValueAccessOptions {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
declare class DynamicValue extends ValueAccess<DynamicValueOptions> {
|
|
10
|
-
|
|
10
|
+
value: _angular_core.ModelSignal<any>;
|
|
11
11
|
options: DynamicValueOptions;
|
|
12
12
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicValue, never>;
|
|
13
13
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicValue, "axis-dynamic-value", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
@@ -70,7 +70,7 @@ declare class Select {
|
|
|
70
70
|
|
|
71
71
|
declare class EditTable extends ValueAccess<EditTableOptions> implements OnInit, OnDestroy {
|
|
72
72
|
constructor();
|
|
73
|
-
|
|
73
|
+
options: EditTableOptions;
|
|
74
74
|
private readonly fb;
|
|
75
75
|
readonly fg: UntypedFormGroup;
|
|
76
76
|
get fa(): FormArray<AbstractControl>;
|
|
@@ -14,7 +14,7 @@ declare class EditorOptions extends ValueAccessOptions {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
declare class Editor extends ValueAccess<EditorOptions> {
|
|
17
|
-
|
|
17
|
+
options: EditorOptions;
|
|
18
18
|
writeValue(value: any): void;
|
|
19
19
|
config: _angular_core.Signal<any>;
|
|
20
20
|
readonly fullScreen: _angular_core.WritableSignal<boolean>;
|
|
@@ -12,7 +12,7 @@ declare class FlexOptions extends BaseOptions {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
declare class Flex extends Base<FlexOptions> {
|
|
15
|
-
|
|
15
|
+
options: FlexOptions;
|
|
16
16
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Flex, never>;
|
|
17
17
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Flex, "axis-flex", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -11,7 +11,7 @@ declare class FormOptions extends ValueAccessOptions {
|
|
|
11
11
|
|
|
12
12
|
declare class Form extends ValueAccess<FormOptions> implements OnInit {
|
|
13
13
|
constructor();
|
|
14
|
-
|
|
14
|
+
options: FormOptions;
|
|
15
15
|
private readonly fb;
|
|
16
16
|
private readonly modal;
|
|
17
17
|
readonly fg: UntypedFormGroup;
|
|
@@ -14,7 +14,7 @@ declare class FormItemOptions extends BaseOptions {
|
|
|
14
14
|
|
|
15
15
|
declare class FormItem extends Base<FormItemOptions> implements OnInit {
|
|
16
16
|
constructor();
|
|
17
|
-
|
|
17
|
+
options: FormItemOptions;
|
|
18
18
|
private readonly registe;
|
|
19
19
|
private readonly fb;
|
|
20
20
|
readonly control: _angular_forms.FormControl<null | undefined>;
|
|
@@ -8,7 +8,7 @@ declare class IconOptions extends BaseOptions {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
declare class Icon extends Base<IconOptions> {
|
|
11
|
-
|
|
11
|
+
options: IconOptions;
|
|
12
12
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Icon, never>;
|
|
13
13
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Icon, "axis-icon", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -10,7 +10,7 @@ declare class InputComponentOptions extends ValueAccessOptions {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
declare class InputComponent extends ValueAccess<InputComponentOptions> {
|
|
13
|
-
|
|
13
|
+
options: InputComponentOptions;
|
|
14
14
|
readonly isVisible: _angular_core.ModelSignal<boolean>;
|
|
15
15
|
readonly designValue: _angular_core.ModelSignal<any>;
|
|
16
16
|
readonly designOptions: _angular_core.Signal<{
|
|
@@ -8,7 +8,7 @@ declare class InputIconOptions extends ValueAccessOptions {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
declare class InputIcon extends ValueAccess<InputIconOptions> {
|
|
11
|
-
|
|
11
|
+
options: InputIconOptions;
|
|
12
12
|
private readonly fb;
|
|
13
13
|
readonly fg: _angular_forms.UntypedFormGroup;
|
|
14
14
|
readonly formValue: _angular_core.Signal<any>;
|
|
@@ -16,6 +16,7 @@ declare class InputIcon extends ValueAccess<InputIconOptions> {
|
|
|
16
16
|
isVisible: _angular_core.ModelSignal<boolean>;
|
|
17
17
|
writeValue(value: any): void;
|
|
18
18
|
resetForm(): void;
|
|
19
|
+
remove(): void;
|
|
19
20
|
onOk(): void;
|
|
20
21
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputIcon, never>;
|
|
21
22
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputIcon, "axis-input-icon", never, { "isVisible": { "alias": "isVisible"; "required": false; "isSignal": true; }; }, { "isVisible": "isVisibleChange"; }, never, never, true, never>;
|
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { ValueAccess, ValueAccessOptions } from 'ngx-axis-appforge/core';
|
|
3
3
|
|
|
4
4
|
declare class InputJson extends ValueAccess<ValueAccessOptions> {
|
|
5
|
-
|
|
5
|
+
options: ValueAccessOptions;
|
|
6
6
|
readonly editorOptions: _angular_core.Signal<{
|
|
7
7
|
component: string;
|
|
8
8
|
inuse: boolean;
|
|
@@ -11,7 +11,7 @@ declare class ScopeOptions extends BaseOptions {
|
|
|
11
11
|
|
|
12
12
|
declare class Scope extends Base<ScopeOptions> {
|
|
13
13
|
constructor();
|
|
14
|
-
|
|
14
|
+
options: ScopeOptions;
|
|
15
15
|
childScope: ScopeDirective;
|
|
16
16
|
triggeEvents(trigger: string, tempDataSource?: any, triggeEvents?: {
|
|
17
17
|
[trigger: string]: EventHandlerOptions<any>[];
|
|
@@ -18,7 +18,7 @@ declare class SplitterPanelOptions {
|
|
|
18
18
|
|
|
19
19
|
declare class Splitter extends Base<SplitterOptions> {
|
|
20
20
|
constructor();
|
|
21
|
-
|
|
21
|
+
options: SplitterOptions;
|
|
22
22
|
readonly panels: _angular_core.Signal<SplitterPanelOptions[]>;
|
|
23
23
|
private buildPanels;
|
|
24
24
|
convertSize(value: string | undefined): number | string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal, OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
import { DataOptions, ScopeDirective, Base } from 'ngx-axis-appforge/core';
|
|
4
|
-
import { NzTableFilterList
|
|
4
|
+
import { NzTableFilterList } from 'ng-zorro-antd/table';
|
|
5
5
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
6
6
|
import { NzResizeEvent } from 'ng-zorro-antd/resizable';
|
|
7
7
|
import { Subject, Subscription } from 'rxjs';
|
|
@@ -67,6 +67,7 @@ declare class TableFieldOptions {
|
|
|
67
67
|
readonly sortPriority: _angular_core.WritableSignal<number | null>;
|
|
68
68
|
readonly filterAble: _angular_core.WritableSignal<boolean>;
|
|
69
69
|
readonly filterMultiple: _angular_core.WritableSignal<boolean>;
|
|
70
|
+
readonly filterDisplayFn: _angular_core.WritableSignal<string>;
|
|
70
71
|
readonly width: _angular_core.WritableSignal<number | null>;
|
|
71
72
|
readonly align: _angular_core.WritableSignal<"center" | "left" | "right">;
|
|
72
73
|
readonly freezeMode: _angular_core.WritableSignal<"left" | "right" | "none">;
|
|
@@ -98,7 +99,8 @@ declare class Select {
|
|
|
98
99
|
|
|
99
100
|
declare class Expand {
|
|
100
101
|
private options;
|
|
101
|
-
|
|
102
|
+
private scope;
|
|
103
|
+
constructor(options: TableOptions, scope: ScopeDirective | null);
|
|
102
104
|
readonly expandedSet: Set<unknown>;
|
|
103
105
|
readonly nodeMap: _angular_core.Signal<Map<string, {
|
|
104
106
|
level: number;
|
|
@@ -149,7 +151,7 @@ declare class TableSetter implements OnDestroy {
|
|
|
149
151
|
declare class Table extends Base<TableOptions> {
|
|
150
152
|
private elementRef;
|
|
151
153
|
constructor(elementRef: ElementRef);
|
|
152
|
-
|
|
154
|
+
options: TableOptions;
|
|
153
155
|
readonly displayData: _angular_core.Signal<any[] | null>;
|
|
154
156
|
select: Select;
|
|
155
157
|
expand: Expand;
|
|
@@ -181,7 +183,6 @@ declare class Table extends Base<TableOptions> {
|
|
|
181
183
|
private buildFields;
|
|
182
184
|
private buildDisplayFields;
|
|
183
185
|
private buildFieldControls;
|
|
184
|
-
filterFn: NzTableFilterFn;
|
|
185
186
|
private buildLeaderFieldWidth;
|
|
186
187
|
private buildActionsFieldWidth;
|
|
187
188
|
private refreshScoll;
|
|
@@ -49,7 +49,7 @@ declare class TreeSelector extends ValueAccess<TreeSelectorOptions> {
|
|
|
49
49
|
private readonly menuService;
|
|
50
50
|
private readonly modal;
|
|
51
51
|
private menuNodeDs?;
|
|
52
|
-
|
|
52
|
+
options: TreeSelectorOptions;
|
|
53
53
|
readonly menus: _angular_core.Signal<TreeNodeMenuOptions[]>;
|
|
54
54
|
readonly searchValue: _angular_core.ModelSignal<string | undefined>;
|
|
55
55
|
readonly treeData: _angular_core.Signal<NzTreeNodeOptions[]>;
|
|
@@ -28,7 +28,7 @@ declare class UploadOptions extends ValueAccessOptions {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
declare class Upload extends ValueAccess<UploadOptions> {
|
|
31
|
-
|
|
31
|
+
options: UploadOptions;
|
|
32
32
|
private readonly fileBaseUrl;
|
|
33
33
|
private readonly http;
|
|
34
34
|
private readonly imageService;
|
package/core/index.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ declare class ScopeDirective implements OnInit, OnDestroy {
|
|
|
114
114
|
private refreshDataSourceEventHandler;
|
|
115
115
|
preloadImports(obj: any): Promise<void>;
|
|
116
116
|
runFnWithImports(fnstr: any, args: any, imports: string[]): any;
|
|
117
|
+
runFnWithSnapshot(fnstr: any, args?: any): any;
|
|
117
118
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScopeDirective, never>;
|
|
118
119
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ScopeDirective, "[axisScope]", never, { "axisScope": { "alias": "axisScope"; "required": true; "isSignal": true; }; "scopeName": { "alias": "scopeName"; "required": true; "isSignal": true; }; "isRoot": { "alias": "isRoot"; "required": false; "isSignal": true; }; "dataSources": { "alias": "dataSources"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
119
120
|
}
|
|
@@ -122,7 +123,7 @@ declare abstract class Base<T extends BaseOptions> implements OnDestroy, AfterVi
|
|
|
122
123
|
onAfterViewInit?: Function;
|
|
123
124
|
injector: Injector;
|
|
124
125
|
isDesign: boolean;
|
|
125
|
-
|
|
126
|
+
options: T;
|
|
126
127
|
private eventsService;
|
|
127
128
|
private scope;
|
|
128
129
|
private _sub;
|
|
@@ -169,7 +170,7 @@ interface RegisteFormControlOptions {
|
|
|
169
170
|
|
|
170
171
|
declare abstract class ValueAccess<T extends ValueAccessOptions> extends Base<T> implements ControlValueAccessor {
|
|
171
172
|
constructor();
|
|
172
|
-
|
|
173
|
+
readonly value: _angular_core.ModelSignal<any>;
|
|
173
174
|
registeValueAccess?: (opt: RegisteValueAccessOptions) => void;
|
|
174
175
|
setInitValue(value: any): void;
|
|
175
176
|
onChange?: (value: any) => void;
|
|
@@ -484,6 +485,11 @@ declare const AXIS_DESIGN_COMPONENT_INFO_FOR_SETTING_TOKEN: InjectionToken<{
|
|
|
484
485
|
[event: string]: EventHandlerDesc;
|
|
485
486
|
};
|
|
486
487
|
}[]>;
|
|
488
|
+
declare const AXIS_DESIGN_COMPONENT_REF_FOR_SETTING_TOKEN: InjectionToken<{
|
|
489
|
+
ref?: ComponentRef<Base<BaseOptions>>;
|
|
490
|
+
options: any;
|
|
491
|
+
}>;
|
|
492
|
+
declare const AXIS_DESIGN_COMPONENT_REF_GETTER_TOKEN: InjectionToken<(nodeId: string) => ComponentRef<Base<BaseOptions>>>;
|
|
487
493
|
declare const AXIS_DESIGN_ALL_PERMISSIONS_TOKEN: InjectionToken<{
|
|
488
494
|
[permission: string]: string;
|
|
489
495
|
}>;
|
|
@@ -658,12 +664,14 @@ declare const baseFunField: FunFieldOptions;
|
|
|
658
664
|
|
|
659
665
|
declare class InputTrigger extends FunFieldBase implements AfterViewInit {
|
|
660
666
|
private element;
|
|
661
|
-
|
|
667
|
+
private injector;
|
|
668
|
+
constructor(element: ElementRef, injector: Injector);
|
|
662
669
|
fg: UntypedFormGroup;
|
|
663
670
|
protected funFields: FunFieldOptions;
|
|
664
671
|
onChange: any;
|
|
665
672
|
readonly noListen: _angular_core.WritableSignal<boolean>;
|
|
666
673
|
readonly internalTriggers: _angular_core.InputSignal<"valueChange"[] | undefined>;
|
|
674
|
+
readonly optionsNodeId: _angular_core.InputSignal<string | undefined>;
|
|
667
675
|
readonly getScopeInfos: (scopeId?: string) => BehaviorSubject<ScopeInfo[]>;
|
|
668
676
|
readonly componentsInfo: {
|
|
669
677
|
component: string;
|
|
@@ -673,6 +681,7 @@ declare class InputTrigger extends FunFieldBase implements AfterViewInit {
|
|
|
673
681
|
[event: string]: EventHandlerDesc;
|
|
674
682
|
};
|
|
675
683
|
}[];
|
|
684
|
+
readonly componentRefGetter: (nodeId: string) => ComponentRef<ngx_axis_appforge_core.Base<ngx_axis_appforge_core.BaseOptions>>;
|
|
676
685
|
readonly canChooseComponentsInfo: _angular_core.WritableSignal<{
|
|
677
686
|
component: string;
|
|
678
687
|
componentName: string;
|
|
@@ -729,7 +738,7 @@ declare class InputTrigger extends FunFieldBase implements AfterViewInit {
|
|
|
729
738
|
hasExpanded(node: NzTreeNode): boolean;
|
|
730
739
|
expand(node: NzTreeNode, expanded: boolean): void;
|
|
731
740
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputTrigger, never>;
|
|
732
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputTrigger, "axis-input-trigger", never, { "internalTriggers": { "alias": "internalTriggers"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "eventDesc": { "alias": "eventDesc"; "required": false; "isSignal": true; }; "isVisibleHandlerModal": { "alias": "isVisibleHandlerModal"; "required": false; "isSignal": true; }; "editEventHandler": { "alias": "editEventHandler"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "isVisibleHandlerModal": "isVisibleHandlerModalChange"; "editEventHandler": "editEventHandlerChange"; }, never, never, true, never>;
|
|
741
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputTrigger, "axis-input-trigger", never, { "internalTriggers": { "alias": "internalTriggers"; "required": false; "isSignal": true; }; "optionsNodeId": { "alias": "optionsNodeId"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "eventDesc": { "alias": "eventDesc"; "required": false; "isSignal": true; }; "isVisibleHandlerModal": { "alias": "isVisibleHandlerModal"; "required": false; "isSignal": true; }; "editEventHandler": { "alias": "editEventHandler"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "isVisibleHandlerModal": "isVisibleHandlerModalChange"; "editEventHandler": "editEventHandlerChange"; }, never, never, true, never>;
|
|
733
742
|
}
|
|
734
743
|
|
|
735
744
|
declare class ValueDesignSetting implements AfterViewInit {
|
|
@@ -823,5 +832,5 @@ interface DynamicFnOptions {
|
|
|
823
832
|
}
|
|
824
833
|
declare function fn(fnBody: string, argsObj: any, ignoreUndefined?: boolean, printError?: boolean): any;
|
|
825
834
|
|
|
826
|
-
export { AXIS_COMPONENTS_LOADER_TOKEN, AXIS_COMPONENTS_TOKEN, AXIS_CURRENT_USER_PERMISSIONS_TOKEN, AXIS_DESIGN_ALL_PERMISSIONS_TOKEN, AXIS_DESIGN_CHOOSE_COMPONENT_FUNC_TOKEN, AXIS_DESIGN_CMPLIBS_TOKEN, AXIS_DESIGN_COMPONENT_INFO_FOR_SETTING_TOKEN, AXIS_DESIGN_OPTIONS_NODE_FOR_MENU, AXIS_DESIGN_SCOPE_INFOS_GETTER_TOKEN, AXIS_EVENT_HANDLERS_TOKEN, AXIS_EVENT_HANDLER_DESCS_TOKEN, AXIS_FILE_BASE_URL_TOKEN, AXIS_FORM_REGISTE_CONTROL_TOKEN, AXIS_HTTP_CONTEXT_DATA_TOKEN, AXIS_HTTP_CONTEXT_TOKEN, AXIS_INJECT_DATA_TOKEN, AXIS_INJECT_FUNC_TOKEN, AXIS_SCRIPTS_TOKEN, Base, BaseDesignSetting, BaseMenu, BaseOptions, CommonMenu, ComponentsLoader, DataHandler, DataOptions, DesignBuilder, DynamicDirective, ElementNode, FilteredTreeResult, FormValidators, FunField, FunFieldBase, FunFieldValueBase, HowLongPipe, InputTrigger, InputValidator, OptionsNode, ScopeDirective, SimpleMenu, ValueAccess, ValueAccessOptions, ValueDesignSetting, assignDefaultField, baseFbConfig, baseFunField, buildValidators, codeName, copy, deepMerge, fn, isEquals, listSort, nameCode, obj2Arr, objDiff, rebuildObject, recursionArray, recursionObject, trackByFn, updateAndValidAll, valueFbConfig, valueFunField };
|
|
835
|
+
export { AXIS_COMPONENTS_LOADER_TOKEN, AXIS_COMPONENTS_TOKEN, AXIS_CURRENT_USER_PERMISSIONS_TOKEN, AXIS_DESIGN_ALL_PERMISSIONS_TOKEN, AXIS_DESIGN_CHOOSE_COMPONENT_FUNC_TOKEN, AXIS_DESIGN_CMPLIBS_TOKEN, AXIS_DESIGN_COMPONENT_INFO_FOR_SETTING_TOKEN, AXIS_DESIGN_COMPONENT_REF_FOR_SETTING_TOKEN, AXIS_DESIGN_COMPONENT_REF_GETTER_TOKEN, AXIS_DESIGN_OPTIONS_NODE_FOR_MENU, AXIS_DESIGN_SCOPE_INFOS_GETTER_TOKEN, AXIS_EVENT_HANDLERS_TOKEN, AXIS_EVENT_HANDLER_DESCS_TOKEN, AXIS_FILE_BASE_URL_TOKEN, AXIS_FORM_REGISTE_CONTROL_TOKEN, AXIS_HTTP_CONTEXT_DATA_TOKEN, AXIS_HTTP_CONTEXT_TOKEN, AXIS_INJECT_DATA_TOKEN, AXIS_INJECT_FUNC_TOKEN, AXIS_SCRIPTS_TOKEN, Base, BaseDesignSetting, BaseMenu, BaseOptions, CommonMenu, ComponentsLoader, DataHandler, DataOptions, DesignBuilder, DynamicDirective, ElementNode, FilteredTreeResult, FormValidators, FunField, FunFieldBase, FunFieldValueBase, HowLongPipe, InputTrigger, InputValidator, OptionsNode, ScopeDirective, SimpleMenu, ValueAccess, ValueAccessOptions, ValueDesignSetting, assignDefaultField, baseFbConfig, baseFunField, buildValidators, codeName, copy, deepMerge, fn, isEquals, listSort, nameCode, obj2Arr, objDiff, rebuildObject, recursionArray, recursionObject, trackByFn, updateAndValidAll, valueFbConfig, valueFunField };
|
|
827
836
|
export type { Cmplib, DataSourceOptions, DesignBindElementsResult, DesignBuildResult, DesignConfig, DynamicFnOptions, EventDesc, EventHandlerDesc, EventHandlerDescGroup, EventHandlerOptions, EventsHandler, Example, ExampleBuilder, ExampleDesc, ExampleGroup, FlatNode, FunFieldOptions, FunFieldValue, MyErrorsOptions, MyValidationErrors, NextInfo, OptionsChangeEvent, RegisteFormControlOptions, RegisteValueAccessOptions, ScopeInfo, TriggeEventsOptions };
|
|
@@ -127,11 +127,11 @@ class Setting extends FunFieldValueBase {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-text-setting", inputs: { offsetX: { classPropertyName: "offsetX", publicName: "offsetX", isSignal: true, isRequired: false, transformFunction: null }, offsetY: { classPropertyName: "offsetY", publicName: "offsetY", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { offsetX: "offsetXChange", offsetY: "offsetYChange", color: "colorChange" }, usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"\u5FBD\u6807\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"\u72B6\u6001\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"\u7F0E\u5E26\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u989C\u8272\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"\u5FBD\u6807\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5C0F\u7EA2\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u96F6\u503C\u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u4F4D\u7F6E\u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u63D0\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"\u72B6\u6001\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u72B6\u6001\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"\u6210\u529F\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"\u5904\u7406\u4E2D\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"\u9ED8\u8BA4\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"\u9519\u8BEF\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"\u8B66\u544A\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"\u7F0E\u5E26\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4F4D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">\u5934\u90E8</label>\n <label nz-radio-button nzValue=\"end\">\u5C3E\u90E8</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i5.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i7.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "directive", type: i6.NzInputPrefixDirective, selector: "[nzInputPrefix]" }, { kind: "ngmodule", type: NzColorPickerModule }, { kind: "component", type: i8.NzColorPickerComponent, selector: "nz-color-picker", inputs: ["nzFormat", "nzValue", "nzSize", "nzDefaultValue", "nzTrigger", "nzTitle", "nzFlipFlop", "nzShowText", "nzOpen", "nzAllowClear", "nzDisabled", "nzDisabledAlpha"], outputs: ["nzOnChange", "nzOnFormatChange", "nzOnClear", "nzOnOpenChange"], exportAs: ["nzColorPicker"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i9.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i9.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i10.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i10.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "ngmodule", type: NzSpaceModule }, { kind: "component", type: i11.NzSpaceCompactComponent, selector: "nz-space-compact", inputs: ["nzBlock", "nzDirection", "nzSize"], exportAs: ["nzSpaceCompact"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i12.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i13.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i14.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
130
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-text-setting", inputs: { offsetX: { classPropertyName: "offsetX", publicName: "offsetX", isSignal: true, isRequired: false, transformFunction: null }, offsetY: { classPropertyName: "offsetY", publicName: "offsetY", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { offsetX: "offsetXChange", offsetY: "offsetYChange", color: "colorChange" }, usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"\u5FBD\u6807\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"\u72B6\u6001\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"\u7F0E\u5E26\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u989C\u8272\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"\u5FBD\u6807\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5C0F\u7EA2\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u96F6\u503C\u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u4F4D\u7F6E\u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u63D0\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"\u72B6\u6001\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u72B6\u6001\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\" editTip=\"success-\u6210\u529F processing-\u5904\u7406\u4E2D default-\u9ED8\u8BA4 error-\u9519\u8BEF warning-\u8B66\u544A\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"\u6210\u529F\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"\u5904\u7406\u4E2D\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"\u9ED8\u8BA4\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"\u9519\u8BEF\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"\u8B66\u544A\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"\u7F0E\u5E26\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4F4D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">\u5934\u90E8</label>\n <label nz-radio-button nzValue=\"end\">\u5C3E\u90E8</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i5.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i7.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "directive", type: i6.NzInputPrefixDirective, selector: "[nzInputPrefix]" }, { kind: "ngmodule", type: NzColorPickerModule }, { kind: "component", type: i8.NzColorPickerComponent, selector: "nz-color-picker", inputs: ["nzFormat", "nzValue", "nzSize", "nzDefaultValue", "nzTrigger", "nzTitle", "nzFlipFlop", "nzShowText", "nzOpen", "nzAllowClear", "nzDisabled", "nzDisabledAlpha"], outputs: ["nzOnChange", "nzOnFormatChange", "nzOnClear", "nzOnOpenChange"], exportAs: ["nzColorPicker"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i9.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i9.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i10.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i10.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "ngmodule", type: NzSpaceModule }, { kind: "component", type: i11.NzSpaceCompactComponent, selector: "nz-space-compact", inputs: ["nzBlock", "nzDirection", "nzSize"], exportAs: ["nzSpaceCompact"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i12.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i13.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i14.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
131
131
|
}
|
|
132
132
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, decorators: [{
|
|
133
133
|
type: Component,
|
|
134
|
-
args: [{ selector: 'axis-design-text-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzSwitchModule, NzInputModule, NzInputNumberModule, NzColorPickerModule, NzRadioModule, NzSelectModule, NzSpaceModule, NzButtonModule, NzIconModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"\u5FBD\u6807\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"\u72B6\u6001\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"\u7F0E\u5E26\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u989C\u8272\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"\u5FBD\u6807\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5C0F\u7EA2\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u96F6\u503C\u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u4F4D\u7F6E\u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u63D0\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"\u72B6\u6001\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u72B6\u6001\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"\u6210\u529F\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"\u5904\u7406\u4E2D\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"\u9ED8\u8BA4\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"\u9519\u8BEF\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"\u8B66\u544A\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"\u7F0E\u5E26\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4F4D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">\u5934\u90E8</label>\n <label nz-radio-button nzValue=\"end\">\u5C3E\u90E8</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>" }]
|
|
134
|
+
args: [{ selector: 'axis-design-text-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzSwitchModule, NzInputModule, NzInputNumberModule, NzColorPickerModule, NzRadioModule, NzSelectModule, NzSpaceModule, NzButtonModule, NzIconModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"\u5FBD\u6807\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"\u72B6\u6001\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"\u7F0E\u5E26\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u989C\u8272\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"\u5FBD\u6807\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5C0F\u7EA2\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u96F6\u503C\u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u4F4D\u7F6E\u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u63D0\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"\u72B6\u6001\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u72B6\u6001\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\" editTip=\"success-\u6210\u529F processing-\u5904\u7406\u4E2D default-\u9ED8\u8BA4 error-\u9519\u8BEF warning-\u8B66\u544A\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"\u6210\u529F\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"\u5904\u7406\u4E2D\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"\u9ED8\u8BA4\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"\u9519\u8BEF\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"\u8B66\u544A\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"\u7F0E\u5E26\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4F4D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">\u5934\u90E8</label>\n <label nz-radio-button nzValue=\"end\">\u5C3E\u90E8</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>" }]
|
|
135
135
|
}] });
|
|
136
136
|
|
|
137
137
|
const Config = {
|