ngx-axis-appforge 0.0.94 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs +17 -17
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +138 -209
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +5 -5
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-core.mjs +6 -15
- package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
- package/package.json +3 -3
- package/types/ngx-axis-appforge-axis-components-cytoscape.d.ts +2 -1
- package/types/ngx-axis-appforge-axis-components-design.d.ts +20 -37
- package/types/ngx-axis-appforge-core.d.ts +2 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-axis-appforge",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"author": "ZengCheng <zengc694623467@gmail.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"monaco-editor": "^0.52.2",
|
|
22
22
|
"ng-zorro-antd": "^21.2.2",
|
|
23
23
|
"ngx-clipboard": "^16.0.0",
|
|
24
|
-
"ngx-echarts": "^
|
|
24
|
+
"ngx-echarts": "^21.0.0",
|
|
25
25
|
"rxjs": "~7.8.0",
|
|
26
26
|
"tinymce": "^8.1.2",
|
|
27
27
|
"vidstack": "^1.12.13",
|
|
28
28
|
"xlsx-js-style": "^1.2.0",
|
|
29
|
-
"zone.js": "
|
|
29
|
+
"zone.js": "^0.16.2"
|
|
30
30
|
},
|
|
31
31
|
"module": "fesm2022/ngx-axis-appforge.mjs",
|
|
32
32
|
"typings": "types/ngx-axis-appforge.d.ts",
|
|
@@ -9,9 +9,10 @@ declare class CytoscapeOptions extends DataOptions {
|
|
|
9
9
|
declare class Cytoscape extends Base<CytoscapeOptions> implements AfterContentInit, OnDestroy {
|
|
10
10
|
constructor();
|
|
11
11
|
options: CytoscapeOptions;
|
|
12
|
-
container: ElementRef
|
|
12
|
+
readonly container: ElementRef<any>;
|
|
13
13
|
cy?: cytoscape.Core;
|
|
14
14
|
ngAfterContentInit(): void;
|
|
15
|
+
private render;
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<Cytoscape, never>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<Cytoscape, "axis-cytoscape", never, {}, {}, never, never, true, never>;
|
|
@@ -1,67 +1,50 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy,
|
|
2
|
+
import { OnDestroy, ComponentRef, ChangeDetectorRef, ElementRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import * as ngx_axis_appforge_core from 'ngx-axis-appforge/core';
|
|
4
|
-
import { OptionsNode,
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { TreeControl } from '@angular/cdk/tree';
|
|
8
|
-
import { NzTreeFlattener, NzTreeViewComponent, NzTreeViewFlatDataSource } from 'ng-zorro-antd/tree-view';
|
|
9
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
4
|
+
import { OptionsNode, OptionsChangeEvent, Base, BaseOptions, ScopeDirective, DynamicDirective, ElementNode, ValueAccessOptions, ValueAccess, Example, FunFieldValueBase, ScopeInfo, EventHandlerDesc, NextInfo, DesignConfig } from 'ngx-axis-appforge/core';
|
|
5
|
+
import { Observable, BehaviorSubject, Subscription, Subject } from 'rxjs';
|
|
6
|
+
import { NzFormatBeforeDropEvent, NzFormatEmitEvent, NzTreeComponent, NzTreeNodeOptions } from 'ng-zorro-antd/tree';
|
|
10
7
|
import { ClipboardService } from 'ngx-clipboard';
|
|
11
8
|
|
|
12
9
|
declare class DragDrop {
|
|
13
|
-
private
|
|
14
|
-
|
|
15
|
-
private treeControl;
|
|
16
|
-
private onChange;
|
|
17
|
-
constructor(optionsNodes: Map<string, OptionsNode>, optionIdflatNodes: Map<string, FlatNode>, treeControl: TreeControl<FlatNode, unknown> | undefined, onChange: (e: OptionsChangeEvent) => void);
|
|
10
|
+
private tree;
|
|
11
|
+
constructor(tree: Tree);
|
|
18
12
|
dragNode?: OptionsNode;
|
|
19
13
|
dropNode?: OptionsNode;
|
|
20
14
|
targetIndex?: number | string;
|
|
21
15
|
element?: HTMLElement;
|
|
22
16
|
pos?: number;
|
|
23
|
-
|
|
24
|
-
onDragStart(e:
|
|
25
|
-
onDragOver(e:
|
|
17
|
+
beforeDrop: (confirm: NzFormatBeforeDropEvent) => Observable<boolean>;
|
|
18
|
+
onDragStart(e: NzFormatEmitEvent): void;
|
|
19
|
+
onDragOver(e: NzFormatEmitEvent): void;
|
|
26
20
|
private updateElementStyle;
|
|
27
|
-
onDragEnd(e:
|
|
21
|
+
onDragEnd(e: NzFormatEmitEvent): undefined;
|
|
28
22
|
private canDrop;
|
|
29
23
|
private getPos;
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
declare class Tree implements OnDestroy {
|
|
33
|
-
|
|
27
|
+
constructor();
|
|
34
28
|
readonly node: _angular_core.InputSignal<OptionsNode | null | undefined>;
|
|
35
29
|
readonly optionsNodes: _angular_core.InputSignal<Map<string, OptionsNode>>;
|
|
36
|
-
onChange: _angular_core.OutputEmitterRef<OptionsChangeEvent>;
|
|
30
|
+
readonly onChange: _angular_core.OutputEmitterRef<OptionsChangeEvent>;
|
|
37
31
|
readonly onSelect: _angular_core.OutputEmitterRef<string[]>;
|
|
38
32
|
readonly onContextMenu: _angular_core.OutputEmitterRef<{
|
|
39
33
|
nodeId: string;
|
|
40
34
|
event: MouseEvent;
|
|
41
35
|
}>;
|
|
42
36
|
readonly dragdrop: _angular_core.Signal<DragDrop>;
|
|
43
|
-
readonly optionIdflatNodes: Map<string, FlatNode>;
|
|
44
|
-
readonly flatNodeMap: Map<string, OptionsNode>;
|
|
45
|
-
readonly nestedNodeMap: Map<string, FlatNode>;
|
|
46
|
-
readonly expandedNodeIds: _angular_core.WritableSignal<Set<string>>;
|
|
47
|
-
searchValue: _angular_core.WritableSignal<string>;
|
|
48
|
-
readonly originData$: BehaviorSubject<OptionsNode[]>;
|
|
49
37
|
readonly searchValue$: BehaviorSubject<string>;
|
|
50
|
-
readonly
|
|
38
|
+
readonly searchValue: _angular_core.Signal<string | undefined>;
|
|
51
39
|
readonly design: Design;
|
|
52
40
|
private readonly subs;
|
|
53
|
-
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
|
|
58
|
-
readonly filteredData$: rxjs.Observable<FilteredTreeResult>;
|
|
59
|
-
constructor(cdRef: ChangeDetectorRef);
|
|
60
|
-
hasChild: (_: number, node: FlatNode) => boolean;
|
|
61
|
-
getLevel: (node: FlatNode) => number;
|
|
62
|
-
getChildren: (node: FlatNode) => FlatNode[];
|
|
41
|
+
tree?: NzTreeComponent;
|
|
42
|
+
readonly treeNode: _angular_core.Signal<NzTreeNodeOptions[]>;
|
|
43
|
+
readonly selectedNodeids: _angular_core.WritableSignal<string[]>;
|
|
44
|
+
readonly expandedNodeids: _angular_core.WritableSignal<string[]>;
|
|
45
|
+
expandChange(e: NzFormatEmitEvent): void;
|
|
63
46
|
get hasExpanded(): boolean;
|
|
64
|
-
onNodeClick(e:
|
|
47
|
+
onNodeClick(e: NzFormatEmitEvent): void;
|
|
65
48
|
select(nodeId: string, opt?: {
|
|
66
49
|
sendEvent: boolean;
|
|
67
50
|
}): void;
|
|
@@ -82,7 +65,7 @@ declare class Tree implements OnDestroy {
|
|
|
82
65
|
expandByNodeIds(nodeIds: string[]): void;
|
|
83
66
|
toggleExpanded(): void;
|
|
84
67
|
reset(): void;
|
|
85
|
-
contextMenu(e:
|
|
68
|
+
contextMenu(e: NzFormatEmitEvent): void;
|
|
86
69
|
removeSelected(): void;
|
|
87
70
|
addNodeForSelected(nodes: OptionsNode[], deleteSuccess?: boolean, historyDesc?: string): void;
|
|
88
71
|
private deleteNode;
|
|
@@ -433,20 +433,6 @@ interface DesignConfig {
|
|
|
433
433
|
bindElementsOptionsNode?(element: HTMLElement, options: any): DesignBindElementsResult;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
interface FlatNode {
|
|
437
|
-
expandable: boolean;
|
|
438
|
-
id: string;
|
|
439
|
-
title: string;
|
|
440
|
-
icon?: string;
|
|
441
|
-
level: number;
|
|
442
|
-
children?: OptionsNode[];
|
|
443
|
-
}
|
|
444
|
-
declare class FilteredTreeResult {
|
|
445
|
-
treeData: OptionsNode[];
|
|
446
|
-
needsToExpanded: string[];
|
|
447
|
-
constructor(treeData: OptionsNode[], needsToExpanded?: string[]);
|
|
448
|
-
}
|
|
449
|
-
|
|
450
436
|
declare class DataOptions extends BaseOptions {
|
|
451
437
|
data: _angular_core.WritableSignal<any>;
|
|
452
438
|
}
|
|
@@ -871,5 +857,5 @@ declare function fn(fnBody: string, argsObj: any, ignoreUndefined?: boolean, pri
|
|
|
871
857
|
|
|
872
858
|
declare function sendApi(opt: ApiOptions, http: HttpClient): Observable<any>;
|
|
873
859
|
|
|
874
|
-
export { AXIS_COMPONENTS_LOADER_TOKEN, AXIS_COMPONENTS_TOKEN, AXIS_CURRENT_USER_PERMISSIONS_TOKEN, AXIS_DESIGN_ALL_PERMISSIONS_TOKEN, AXIS_DESIGN_CAN_LOOP_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_DESIGN_SCOPE_INFOS_REFRESH_TOKEN, AXIS_EVENT_HANDLERS_TOKEN, AXIS_EVENT_HANDLER_DESCS_TOKEN, AXIS_FILE_BASE_URL_TOKEN, AXIS_FORM_REGISTE_CONTROL_TOKEN, AXIS_FORM_UNREGISTE_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,
|
|
875
|
-
export type { Cmplib, DataSourceOptions, DesignBindElementsResult, DesignBuildResult, DesignConfig, DynamicFnOptions, EventDesc, EventHandlerDesc, EventHandlerDescGroup, EventHandlerOptions, EventsHandler, Example, ExampleBuilder, ExampleDesc, ExampleGroup,
|
|
860
|
+
export { AXIS_COMPONENTS_LOADER_TOKEN, AXIS_COMPONENTS_TOKEN, AXIS_CURRENT_USER_PERMISSIONS_TOKEN, AXIS_DESIGN_ALL_PERMISSIONS_TOKEN, AXIS_DESIGN_CAN_LOOP_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_DESIGN_SCOPE_INFOS_REFRESH_TOKEN, AXIS_EVENT_HANDLERS_TOKEN, AXIS_EVENT_HANDLER_DESCS_TOKEN, AXIS_FILE_BASE_URL_TOKEN, AXIS_FORM_REGISTE_CONTROL_TOKEN, AXIS_FORM_UNREGISTE_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, 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, sendApi, trackByFn, updateAndValidAll, valueFbConfig, valueFunField };
|
|
861
|
+
export type { Cmplib, DataSourceOptions, DesignBindElementsResult, DesignBuildResult, DesignConfig, DynamicFnOptions, EventDesc, EventHandlerDesc, EventHandlerDescGroup, EventHandlerOptions, EventsHandler, Example, ExampleBuilder, ExampleDesc, ExampleGroup, FunFieldOptions, FunFieldValue, MyErrorsOptions, MyValidationErrors, NextInfo, OptionsChangeEvent, RegisteFormControlOptions, RegisteValueAccessOptions, ScopeInfo, TriggeEventsOptions };
|