@farris/ui-vue 1.2.6 → 1.2.8
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/components/accordion/index.esm.js +150 -142
- package/components/avatar/index.esm.js +393 -457
- package/components/border-editor/index.esm.js +4 -4
- package/components/button/index.esm.js +1 -1
- package/components/button-edit/index.esm.js +353 -444
- package/components/button-group/index.esm.js +5 -5
- package/components/calendar/index.esm.js +176 -176
- package/components/capsule/index.esm.js +93 -93
- package/components/checkbox/index.esm.js +491 -554
- package/components/color-picker/index.esm.js +1 -1
- package/components/combo-list/index.esm.js +479 -513
- package/components/combo-tree/index.esm.js +8 -8
- package/components/component/index.esm.js +89 -89
- package/components/condition/index.esm.js +857 -743
- package/components/content-container/index.esm.js +61 -61
- package/components/data-grid/index.esm.js +4883 -5182
- package/components/data-view/index.esm.js +3072 -2949
- package/components/date-picker/index.esm.js +2626 -2689
- package/components/dependent-base/style.js +1 -0
- package/components/dependent-fluid/style.js +1 -0
- package/components/dependent-icon/style.js +1 -0
- package/components/dependent-input/style.js +1 -0
- package/components/dependent-table/style.js +1 -0
- package/components/designer-canvas/index.esm.js +478 -475
- package/components/designer-outline/index.esm.js +173 -131
- package/components/discussion-editor/index.esm.js +1 -1
- package/components/dropdown/index.esm.js +73 -73
- package/components/dynamic-form/index.esm.js +940 -998
- package/components/dynamic-resolver/index.esm.js +67 -35
- package/components/dynamic-view/index.esm.js +307 -293
- package/components/enum-editor/index.esm.js +3 -3
- package/components/events-editor/index.esm.js +178 -178
- package/components/expression-editor/index.esm.js +105 -105
- package/components/external-container/index.esm.js +1747 -1627
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +5877 -6176
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +1454 -1524
- package/components/flow-canvas/index.esm.js +678 -675
- package/components/image-cropper/index.esm.js +266 -266
- package/components/input-group/index.esm.js +659 -722
- package/components/layout/index.esm.js +148 -148
- package/components/list-nav/index.esm.js +109 -109
- package/components/list-view/index.esm.js +1643 -1524
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +6502 -6770
- package/components/mapping-editor/index.esm.js +5639 -5939
- package/components/message-box/index.esm.js +1 -1
- package/components/modal/index.esm.js +1 -1
- package/components/nav/index.esm.js +86 -86
- package/components/number-range/index.esm.js +1120 -0
- package/components/number-range/package.json +8 -0
- package/components/number-range/style.js +6 -0
- package/components/number-spinner/index.esm.js +1146 -0
- package/components/number-spinner/package.json +8 -0
- package/components/number-spinner/style.js +4 -0
- package/components/order/index.esm.js +1098 -1130
- package/components/page-footer/index.esm.js +106 -106
- package/components/page-header/index.esm.js +1088 -1317
- package/components/pagination/index.esm.js +252 -252
- package/components/progress/index.esm.js +37 -37
- package/components/property-editor/index.esm.js +1479 -1513
- package/components/property-panel/index.css +1 -1
- package/components/property-panel/index.esm.js +706 -778
- package/components/query-solution/index.css +1 -0
- package/components/query-solution/index.esm.js +6935 -0
- package/components/query-solution/package.json +8 -0
- package/components/query-solution/style.js +2 -0
- package/components/radio-button/index.esm.js +64 -64
- package/components/radio-group/index.esm.js +453 -516
- package/components/rate/index.esm.js +92 -92
- package/components/response-layout/index.esm.js +33 -33
- package/components/response-layout-editor/index.esm.js +555 -526
- package/components/response-toolbar/index.esm.js +1009 -1247
- package/components/schema-selector/index.esm.js +3261 -3373
- package/components/search-box/index.esm.js +143 -143
- package/components/section/index.esm.js +209 -209
- package/components/smoke-detector/index.esm.js +22 -22
- package/components/spacing-editor/index.esm.js +2 -2
- package/components/splitter/index.esm.js +1097 -394
- package/components/step/index.esm.js +153 -153
- package/components/switch/index.esm.js +441 -504
- package/components/tabs/index.esm.js +1849 -2039
- package/components/tags/index.esm.js +215 -215
- package/components/text/index.esm.js +53 -53
- package/components/textarea/index.esm.js +445 -493
- package/components/time-picker/index.esm.js +1350 -1414
- package/components/transfer/index.esm.js +146 -144
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +5948 -6237
- package/components/tree-view/index.esm.js +2381 -2255
- package/components/uploader/index.esm.js +1 -1
- package/components/verify-detail/index.esm.js +232 -232
- package/components/video/index.esm.js +136 -136
- package/components/weather/index.esm.js +2 -2
- package/farris.all.esm.js +27221 -26804
- package/farris.all.umd.cjs +9 -9
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/checkbox/index.d.ts +1 -0
- package/types/combo-list/src/components/list-container.component.d.ts +6 -0
- package/types/combo-list/src/components/list-container.props.d.ts +9 -1
- package/types/data-grid/src/data-grid.props.d.ts +1 -0
- package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
- package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
- package/types/data-view/composition/types.d.ts +1 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
- package/types/designer-canvas/src/types.d.ts +1 -1
- package/types/dynamic-form/index.d.ts +1 -0
- package/types/dynamic-form/src/types.d.ts +1 -1
- package/types/dynamic-resolver/index.d.ts +1 -0
- package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
- package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
- package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
- package/types/lookup/src/property-config/lookup.property-config.d.ts +4 -3
- package/types/modal/src/modal.props.d.ts +1 -4
- package/types/property-panel/src/composition/entity/base-property.d.ts +0 -28
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -5
- package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
- package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
- package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
- package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
- package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
- package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
- package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
- package/components/accordion/index.umd.cjs +0 -1
- package/components/avatar/index.umd.cjs +0 -1
- package/components/border-editor/index.umd.cjs +0 -1
- package/components/button/index.umd.cjs +0 -1
- package/components/button-edit/index.umd.cjs +0 -1
- package/components/button-group/index.umd.cjs +0 -1
- package/components/calculator/index.umd.cjs +0 -1
- package/components/calendar/index.umd.cjs +0 -1
- package/components/capsule/index.umd.cjs +0 -1
- package/components/checkbox/index.umd.cjs +0 -1
- package/components/color-picker/index.umd.cjs +0 -3
- package/components/combo-list/index.umd.cjs +0 -1
- package/components/combo-tree/index.umd.cjs +0 -1
- package/components/common/index.umd.cjs +0 -1
- package/components/component/index.umd.cjs +0 -1
- package/components/condition/index.umd.cjs +0 -1
- package/components/content-container/index.umd.cjs +0 -1
- package/components/data-grid/index.umd.cjs +0 -1
- package/components/data-view/index.umd.cjs +0 -1
- package/components/date-picker/index.umd.cjs +0 -1
- package/components/designer-canvas/index.umd.cjs +0 -1
- package/components/designer-outline/index.umd.cjs +0 -1
- package/components/designer-toolbox/index.umd.cjs +0 -1
- package/components/discussion-editor/index.umd.cjs +0 -3
- package/components/discussion-list/index.umd.cjs +0 -1
- package/components/drawer/index.umd.cjs +0 -1
- package/components/dropdown/index.umd.cjs +0 -2
- package/components/dynamic-form/index.umd.cjs +0 -1
- package/components/dynamic-resolver/index.umd.cjs +0 -1
- package/components/dynamic-view/index.umd.cjs +0 -1
- package/components/enum-editor/index.umd.cjs +0 -1
- package/components/events-editor/index.umd.cjs +0 -1
- package/components/expression-editor/index.umd.cjs +0 -1
- package/components/external-container/index.umd.cjs +0 -1
- package/components/field-selector/index.umd.cjs +0 -1
- package/components/filter-bar/index.umd.cjs +0 -1
- package/components/flow-canvas/index.umd.cjs +0 -1
- package/components/image-cropper/index.umd.cjs +0 -1
- package/components/input-group/index.umd.cjs +0 -1
- package/components/layout/index.umd.cjs +0 -1
- package/components/list-nav/index.umd.cjs +0 -1
- package/components/list-view/index.umd.cjs +0 -1
- package/components/loading/index.umd.cjs +0 -8
- package/components/locale/index.umd.cjs +0 -1
- package/components/lookup/index.umd.cjs +0 -1
- package/components/mapping-editor/index.umd.cjs +0 -1
- package/components/message-box/index.umd.cjs +0 -1
- package/components/modal/index.umd.cjs +0 -1
- package/components/nav/index.umd.cjs +0 -3
- package/components/notify/index.umd.cjs +0 -1
- package/components/order/index.umd.cjs +0 -1
- package/components/page-footer/index.umd.cjs +0 -1
- package/components/page-header/index.umd.cjs +0 -1
- package/components/pagination/index.umd.cjs +0 -1
- package/components/popover/index.umd.cjs +0 -1
- package/components/progress/index.umd.cjs +0 -3
- package/components/property-editor/index.umd.cjs +0 -3
- package/components/property-panel/index.umd.cjs +0 -1
- package/components/radio-button/index.umd.cjs +0 -1
- package/components/radio-group/index.umd.cjs +0 -1
- package/components/rate/index.umd.cjs +0 -1
- package/components/response-layout/index.umd.cjs +0 -1
- package/components/response-layout-editor/index.umd.cjs +0 -1
- package/components/response-toolbar/index.umd.cjs +0 -1
- package/components/schema-selector/index.umd.cjs +0 -8
- package/components/search-box/index.umd.cjs +0 -1
- package/components/section/index.umd.cjs +0 -1
- package/components/smoke-detector/index.umd.cjs +0 -1
- package/components/spacing-editor/index.umd.cjs +0 -1
- package/components/splitter/index.umd.cjs +0 -1
- package/components/step/index.umd.cjs +0 -1
- package/components/switch/index.umd.cjs +0 -1
- package/components/tabs/index.umd.cjs +0 -1
- package/components/tags/index.umd.cjs +0 -1
- package/components/text/index.umd.cjs +0 -1
- package/components/textarea/index.umd.cjs +0 -1
- package/components/time-picker/index.umd.cjs +0 -1
- package/components/tooltip/index.umd.cjs +0 -1
- package/components/transfer/index.umd.cjs +0 -1
- package/components/tree-grid/index.umd.cjs +0 -1
- package/components/tree-view/index.umd.cjs +0 -1
- package/components/uploader/index.umd.cjs +0 -2
- package/components/verify-detail/index.umd.cjs +0 -1
- package/components/video/index.umd.cjs +0 -1
- package/components/weather/index.umd.cjs +0 -16
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ import FCheckBox from './src/checkbox.component';
|
|
|
18
18
|
import FCheckBoxGroup from './src/checkbox-group.component';
|
|
19
19
|
export * from './src/checkbox-group.props';
|
|
20
20
|
export * from './src/checkbox.props';
|
|
21
|
+
export * from './src/composition/types';
|
|
21
22
|
export { FCheckBoxGroup, FCheckBox };
|
|
22
23
|
declare const _default: {
|
|
23
24
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -9,6 +9,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
idField: string;
|
|
10
10
|
selectedValues: string;
|
|
11
11
|
titleField: string;
|
|
12
|
+
searchOption: (searchText: string, option: any) => boolean;
|
|
13
|
+
enableHighlightSearch: boolean;
|
|
12
14
|
width?: number | undefined;
|
|
13
15
|
maxHeight?: number | undefined;
|
|
14
16
|
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "selectionChange"[], "selectionChange", import("vue").PublicProps, Readonly<{
|
|
@@ -22,6 +24,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
24
|
idField: string;
|
|
23
25
|
selectedValues: string;
|
|
24
26
|
titleField: string;
|
|
27
|
+
searchOption: (searchText: string, option: any) => boolean;
|
|
28
|
+
enableHighlightSearch: boolean;
|
|
25
29
|
width?: number | undefined;
|
|
26
30
|
maxHeight?: number | undefined;
|
|
27
31
|
}> & Readonly<{
|
|
@@ -37,5 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
41
|
idField: string;
|
|
38
42
|
selectedValues: string;
|
|
39
43
|
titleField: string;
|
|
44
|
+
searchOption: (searchText: string, option: any) => boolean;
|
|
45
|
+
enableHighlightSearch: boolean;
|
|
40
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
47
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes } from "vue";
|
|
1
|
+
import { ExtractPropTypes, PropType } from "vue";
|
|
2
2
|
import { Option } from '../combo-list.props';
|
|
3
3
|
export declare const listContainerProps: {
|
|
4
4
|
dataSource: {
|
|
@@ -61,5 +61,13 @@ export declare const listContainerProps: {
|
|
|
61
61
|
type: FunctionConstructor;
|
|
62
62
|
default: () => void;
|
|
63
63
|
};
|
|
64
|
+
searchOption: {
|
|
65
|
+
type: PropType<(searchText: string, option: any) => boolean>;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
enableHighlightSearch: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
64
72
|
};
|
|
65
73
|
export type ListContainerProps = ExtractPropTypes<typeof listContainerProps>;
|
|
@@ -533,3 +533,4 @@ export declare const dataGridDesignProps: Record<string, any> & {
|
|
|
533
533
|
export type DataGridDesignProps = ExtractPropTypes<typeof dataGridDesignProps>;
|
|
534
534
|
export declare const propsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
535
535
|
export declare const bindingResolver: import("../../dynamic-resolver").BindingResolver;
|
|
536
|
+
export declare const selectionItemResolver: import("../../dynamic-resolver").SelectionItemResolver;
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
import { Ref } from 'vue';
|
|
17
17
|
import { UseColumn, UseDataView, UseDragColumn, UseColumnFilter, UseFilterHistory, UseFitColumn, UseGroupColumn, UseSidebar, UseSort, UseVirtualScroll, UseFilter, DataViewOptions, UseSelection, VisualData } from '../../../data-view/composition/types';
|
|
18
18
|
import { DesignerItemContext } from '../../../designer-canvas';
|
|
19
|
-
export default function (designItemContext: DesignerItemContext, props: DataViewOptions, gridContentRef: Ref<any>, leftFixedGridContentRef: Ref<any>, rightFixedGridContentRef: Ref<any>, useColumnComposition: UseColumn, useDataViewComposition: UseDataView, useDragColumnComposition: UseDragColumn, useColumnFilterComposition: UseColumnFilter, useFilterComposition: UseFilter, useFilterHistoryComposition: UseFilterHistory, useFitColumnComposition: UseFitColumn, useGroupColumnComposition: UseGroupColumn, useSelectionComposition: UseSelection, useSidebarComposition: UseSidebar, useSortComposition: UseSort, useVirtualScrollComposition: UseVirtualScroll, viewPortWidth: Ref<number>, visibleDatas: Ref<VisualData[]
|
|
19
|
+
export default function (designItemContext: DesignerItemContext, props: DataViewOptions, gridContentRef: Ref<any>, leftFixedGridContentRef: Ref<any>, rightFixedGridContentRef: Ref<any>, useColumnComposition: UseColumn, useDataViewComposition: UseDataView, useDragColumnComposition: UseDragColumn, useColumnFilterComposition: UseColumnFilter, useFilterComposition: UseFilter, useFilterHistoryComposition: UseFilterHistory, useFitColumnComposition: UseFitColumn, useGroupColumnComposition: UseGroupColumn, useSelectionComposition: UseSelection, useSidebarComposition: UseSidebar, useSortComposition: UseSort, useVirtualScrollComposition: UseVirtualScroll, viewPortWidth: Ref<number>, visibleDatas: Ref<VisualData[]>, columnType?: string): {
|
|
20
20
|
renderGridHeader: () => any;
|
|
21
21
|
};
|
|
@@ -29,3 +29,4 @@ export interface DataGridColumnCommand {
|
|
|
29
29
|
export declare const dataGridColumnProps: Record<string, any>;
|
|
30
30
|
export type DataGridColumnProps = ExtractPropTypes<typeof dataGridColumnProps>;
|
|
31
31
|
export declare const columnPropsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
32
|
+
export declare const treeColumnPropsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
@@ -703,7 +703,7 @@ export interface UseRow {
|
|
|
703
703
|
export interface UseSelection {
|
|
704
704
|
currentSelectedDataId: Ref<string>;
|
|
705
705
|
getSelectionRow: () => VisualData;
|
|
706
|
-
clearSelection(
|
|
706
|
+
clearSelection(): void;
|
|
707
707
|
findIndexInSelectedItems(item: any): number;
|
|
708
708
|
getSelectedItems: () => any[];
|
|
709
709
|
selectedValues: Ref<string[]>;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export declare const DgControl: {
|
|
2
|
-
|
|
3
|
-
type: string;
|
|
4
|
-
name: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
};
|
|
7
|
-
ButtonGroup: {
|
|
2
|
+
button: {
|
|
8
3
|
type: string;
|
|
9
4
|
name: string;
|
|
10
5
|
icon: string;
|
|
@@ -24,11 +19,6 @@ export declare const DgControl: {
|
|
|
24
19
|
name: string;
|
|
25
20
|
icon: string;
|
|
26
21
|
};
|
|
27
|
-
DisplayField: {
|
|
28
|
-
type: string;
|
|
29
|
-
name: string;
|
|
30
|
-
icon: string;
|
|
31
|
-
};
|
|
32
22
|
'input-group': {
|
|
33
23
|
type: string;
|
|
34
24
|
name: string;
|
|
@@ -79,49 +69,29 @@ export declare const DgControl: {
|
|
|
79
69
|
name: string;
|
|
80
70
|
icon: string;
|
|
81
71
|
};
|
|
82
|
-
|
|
83
|
-
FlexLayout: {
|
|
84
|
-
type: string;
|
|
85
|
-
name: string;
|
|
86
|
-
};
|
|
87
|
-
/** 暂时没用 */
|
|
88
|
-
FlowLayout: {
|
|
89
|
-
type: string;
|
|
90
|
-
name: string;
|
|
91
|
-
};
|
|
92
|
-
ResponseLayout: {
|
|
72
|
+
'response-form': {
|
|
93
73
|
type: string;
|
|
94
74
|
name: string;
|
|
95
75
|
icon: string;
|
|
96
76
|
};
|
|
97
|
-
|
|
77
|
+
'response-layout': {
|
|
98
78
|
type: string;
|
|
99
79
|
name: string;
|
|
100
80
|
icon: string;
|
|
101
81
|
};
|
|
102
|
-
'
|
|
82
|
+
'response-layout-item': {
|
|
103
83
|
type: string;
|
|
104
84
|
name: string;
|
|
105
85
|
icon: string;
|
|
106
86
|
};
|
|
107
|
-
|
|
108
|
-
type: string;
|
|
109
|
-
name: string;
|
|
110
|
-
};
|
|
111
|
-
FieldSet: {
|
|
112
|
-
type: string;
|
|
113
|
-
name: string;
|
|
114
|
-
icon: string;
|
|
115
|
-
};
|
|
116
|
-
Form: {
|
|
87
|
+
'tree-grid': {
|
|
117
88
|
type: string;
|
|
118
89
|
name: string;
|
|
119
90
|
icon: string;
|
|
120
91
|
};
|
|
121
|
-
|
|
92
|
+
'tree-grid-column': {
|
|
122
93
|
type: string;
|
|
123
94
|
name: string;
|
|
124
|
-
icon: string;
|
|
125
95
|
};
|
|
126
96
|
'data-grid': {
|
|
127
97
|
type: string;
|
|
@@ -132,12 +102,7 @@ export declare const DgControl: {
|
|
|
132
102
|
type: string;
|
|
133
103
|
name: string;
|
|
134
104
|
};
|
|
135
|
-
|
|
136
|
-
type: string;
|
|
137
|
-
name: string;
|
|
138
|
-
icon: string;
|
|
139
|
-
};
|
|
140
|
-
Module: {
|
|
105
|
+
module: {
|
|
141
106
|
type: string;
|
|
142
107
|
name: string;
|
|
143
108
|
icon: string;
|
|
@@ -147,36 +112,6 @@ export declare const DgControl: {
|
|
|
147
112
|
name: string;
|
|
148
113
|
icon: string;
|
|
149
114
|
};
|
|
150
|
-
ExternalContainer: {
|
|
151
|
-
type: string;
|
|
152
|
-
name: string;
|
|
153
|
-
icon: string;
|
|
154
|
-
};
|
|
155
|
-
Image: {
|
|
156
|
-
type: string;
|
|
157
|
-
name: string;
|
|
158
|
-
icon: string;
|
|
159
|
-
};
|
|
160
|
-
ImageUpload: {
|
|
161
|
-
type: string;
|
|
162
|
-
name: string;
|
|
163
|
-
icon: string;
|
|
164
|
-
};
|
|
165
|
-
HiddenContainer: {
|
|
166
|
-
type: string;
|
|
167
|
-
name: string;
|
|
168
|
-
icon: string;
|
|
169
|
-
};
|
|
170
|
-
ModalContainer: {
|
|
171
|
-
type: string;
|
|
172
|
-
name: string;
|
|
173
|
-
icon: string;
|
|
174
|
-
};
|
|
175
|
-
RouteContainer: {
|
|
176
|
-
type: string;
|
|
177
|
-
name: string;
|
|
178
|
-
icon: string;
|
|
179
|
-
};
|
|
180
115
|
tabs: {
|
|
181
116
|
type: string;
|
|
182
117
|
name: string;
|
|
@@ -192,37 +127,7 @@ export declare const DgControl: {
|
|
|
192
127
|
name: string;
|
|
193
128
|
icon: string;
|
|
194
129
|
};
|
|
195
|
-
|
|
196
|
-
type: string;
|
|
197
|
-
name: string;
|
|
198
|
-
icon: string;
|
|
199
|
-
};
|
|
200
|
-
Sidebar: {
|
|
201
|
-
type: string;
|
|
202
|
-
name: string;
|
|
203
|
-
icon: string;
|
|
204
|
-
};
|
|
205
|
-
HtmlTemplate: {
|
|
206
|
-
type: string;
|
|
207
|
-
name: string;
|
|
208
|
-
icon: string;
|
|
209
|
-
};
|
|
210
|
-
ListView: {
|
|
211
|
-
type: string;
|
|
212
|
-
name: string;
|
|
213
|
-
icon: string;
|
|
214
|
-
};
|
|
215
|
-
RichTextBox: {
|
|
216
|
-
type: string;
|
|
217
|
-
name: string;
|
|
218
|
-
icon: string;
|
|
219
|
-
};
|
|
220
|
-
TimeSpinner: {
|
|
221
|
-
type: string;
|
|
222
|
-
name: string;
|
|
223
|
-
icon: string;
|
|
224
|
-
};
|
|
225
|
-
TimePicker: {
|
|
130
|
+
'time-picker': {
|
|
226
131
|
type: string;
|
|
227
132
|
name: string;
|
|
228
133
|
icon: string;
|
|
@@ -232,140 +137,29 @@ export declare const DgControl: {
|
|
|
232
137
|
name: string;
|
|
233
138
|
icon: string;
|
|
234
139
|
};
|
|
235
|
-
|
|
236
|
-
type: string;
|
|
237
|
-
name: string;
|
|
238
|
-
};
|
|
239
|
-
SectionToolbarItem: {
|
|
240
|
-
type: string;
|
|
241
|
-
name: string;
|
|
242
|
-
};
|
|
243
|
-
QueryScheme: {
|
|
244
|
-
type: string;
|
|
245
|
-
name: string;
|
|
246
|
-
icon: string;
|
|
247
|
-
};
|
|
248
|
-
FormHeader: {
|
|
249
|
-
type: string;
|
|
250
|
-
name: string;
|
|
251
|
-
};
|
|
252
|
-
Splitter: {
|
|
253
|
-
type: string;
|
|
254
|
-
name: string;
|
|
255
|
-
icon: string;
|
|
256
|
-
};
|
|
257
|
-
SplitterPane: {
|
|
258
|
-
type: string;
|
|
259
|
-
name: string;
|
|
260
|
-
dependentParentControl: string;
|
|
261
|
-
};
|
|
262
|
-
WizardDetail: {
|
|
263
|
-
type: string;
|
|
264
|
-
name: string;
|
|
265
|
-
};
|
|
266
|
-
WizardDetailContainer: {
|
|
267
|
-
type: string;
|
|
268
|
-
name: string;
|
|
269
|
-
};
|
|
270
|
-
Wizard: {
|
|
271
|
-
type: string;
|
|
272
|
-
name: string;
|
|
273
|
-
icon: string;
|
|
274
|
-
};
|
|
275
|
-
MultiSelect: {
|
|
276
|
-
type: string;
|
|
277
|
-
name: string;
|
|
278
|
-
icon: string;
|
|
279
|
-
};
|
|
280
|
-
Steps: {
|
|
281
|
-
type: string;
|
|
282
|
-
name: string;
|
|
283
|
-
icon: string;
|
|
284
|
-
};
|
|
285
|
-
avatar: {
|
|
286
|
-
type: string;
|
|
287
|
-
name: string;
|
|
288
|
-
icon: string;
|
|
289
|
-
};
|
|
290
|
-
ListFilter: {
|
|
291
|
-
type: string;
|
|
292
|
-
name: string;
|
|
293
|
-
icon: string;
|
|
294
|
-
};
|
|
295
|
-
ListNav: {
|
|
296
|
-
type: string;
|
|
297
|
-
name: string;
|
|
298
|
-
icon: string;
|
|
299
|
-
};
|
|
300
|
-
NumberRange: {
|
|
301
|
-
type: string;
|
|
302
|
-
name: string;
|
|
303
|
-
icon: string;
|
|
304
|
-
};
|
|
305
|
-
Scrollspy: {
|
|
306
|
-
type: string;
|
|
307
|
-
name: string;
|
|
308
|
-
icon: string;
|
|
309
|
-
};
|
|
310
|
-
LanguageTextBox: {
|
|
140
|
+
'section-toolbar': {
|
|
311
141
|
type: string;
|
|
312
142
|
name: string;
|
|
313
|
-
icon: string;
|
|
314
143
|
};
|
|
315
|
-
|
|
144
|
+
'section-toolbar-item': {
|
|
316
145
|
type: string;
|
|
317
146
|
name: string;
|
|
318
147
|
};
|
|
319
|
-
|
|
148
|
+
splitter: {
|
|
320
149
|
type: string;
|
|
321
150
|
name: string;
|
|
322
151
|
icon: string;
|
|
323
152
|
};
|
|
324
|
-
|
|
325
|
-
type: string;
|
|
326
|
-
name: string;
|
|
327
|
-
icon: string;
|
|
328
|
-
};
|
|
329
|
-
ViewChange: {
|
|
330
|
-
type: string;
|
|
331
|
-
name: string;
|
|
332
|
-
icon: string;
|
|
333
|
-
};
|
|
334
|
-
MultiViewContainer: {
|
|
335
|
-
type: string;
|
|
336
|
-
name: string;
|
|
337
|
-
icon: string;
|
|
338
|
-
};
|
|
339
|
-
MultiViewItem: {
|
|
153
|
+
'splitter-pane': {
|
|
340
154
|
type: string;
|
|
341
155
|
name: string;
|
|
342
156
|
dependentParentControl: string;
|
|
343
157
|
};
|
|
344
|
-
|
|
158
|
+
'component-ref': {
|
|
345
159
|
type: string;
|
|
346
160
|
name: string;
|
|
347
161
|
};
|
|
348
|
-
|
|
349
|
-
type: string;
|
|
350
|
-
name: string;
|
|
351
|
-
icon: string;
|
|
352
|
-
};
|
|
353
|
-
DiscussionList: {
|
|
354
|
-
type: string;
|
|
355
|
-
name: string;
|
|
356
|
-
icon: string;
|
|
357
|
-
};
|
|
358
|
-
NavTab: {
|
|
359
|
-
type: string;
|
|
360
|
-
name: string;
|
|
361
|
-
icon: string;
|
|
362
|
-
};
|
|
363
|
-
Tags: {
|
|
364
|
-
type: string;
|
|
365
|
-
name: string;
|
|
366
|
-
icon: string;
|
|
367
|
-
};
|
|
368
|
-
Portlet: {
|
|
162
|
+
uploader: {
|
|
369
163
|
type: string;
|
|
370
164
|
name: string;
|
|
371
165
|
icon: string;
|
|
@@ -375,140 +169,12 @@ export declare const DgControl: {
|
|
|
375
169
|
name: string;
|
|
376
170
|
icon: string;
|
|
377
171
|
};
|
|
378
|
-
|
|
379
|
-
type: string;
|
|
380
|
-
name: string;
|
|
381
|
-
icon: string;
|
|
382
|
-
};
|
|
383
|
-
ScrollCollapsibleArea: {
|
|
384
|
-
type: string;
|
|
385
|
-
name: string;
|
|
386
|
-
icon: string;
|
|
387
|
-
};
|
|
388
|
-
PersonnelSelector: {
|
|
389
|
-
type: string;
|
|
390
|
-
name: string;
|
|
391
|
-
icon: string;
|
|
392
|
-
};
|
|
393
|
-
Table: {
|
|
394
|
-
type: string;
|
|
395
|
-
name: string;
|
|
396
|
-
icon: string;
|
|
397
|
-
};
|
|
398
|
-
LoopContainer: {
|
|
399
|
-
type: string;
|
|
400
|
-
name: string;
|
|
401
|
-
icon: string;
|
|
402
|
-
};
|
|
403
|
-
FileUploadPreview: {
|
|
404
|
-
type: string;
|
|
405
|
-
name: string;
|
|
406
|
-
icon: string;
|
|
407
|
-
};
|
|
408
|
-
DynamicArea: {
|
|
409
|
-
type: string;
|
|
410
|
-
name: string;
|
|
411
|
-
icon: string;
|
|
412
|
-
};
|
|
413
|
-
DynamicAreaItem: {
|
|
414
|
-
type: string;
|
|
415
|
-
name: string;
|
|
416
|
-
icon: string;
|
|
417
|
-
};
|
|
418
|
-
TabToolbar: {
|
|
419
|
-
type: string;
|
|
420
|
-
name: string;
|
|
421
|
-
icon: string;
|
|
422
|
-
};
|
|
423
|
-
HeaderToolBar: {
|
|
424
|
-
type: string;
|
|
425
|
-
name: string;
|
|
426
|
-
icon: string;
|
|
427
|
-
};
|
|
428
|
-
ModalFooterToolBar: {
|
|
429
|
-
type: string;
|
|
430
|
-
name: string;
|
|
431
|
-
icon: string;
|
|
432
|
-
};
|
|
433
|
-
HeaderToolBarItem: {
|
|
434
|
-
type: string;
|
|
435
|
-
name: string;
|
|
436
|
-
icon: string;
|
|
437
|
-
};
|
|
438
|
-
ModalFooterToolBarItem: {
|
|
439
|
-
type: string;
|
|
440
|
-
name: string;
|
|
441
|
-
icon: string;
|
|
442
|
-
};
|
|
443
|
-
OrganizationSelector: {
|
|
444
|
-
type: string;
|
|
445
|
-
name: string;
|
|
446
|
-
icon: string;
|
|
447
|
-
};
|
|
448
|
-
AdminOrganizationSelector: {
|
|
449
|
-
type: string;
|
|
450
|
-
name: string;
|
|
451
|
-
icon: string;
|
|
452
|
-
};
|
|
453
|
-
EmployeeSelector: {
|
|
454
|
-
type: string;
|
|
455
|
-
name: string;
|
|
456
|
-
icon: string;
|
|
457
|
-
};
|
|
458
|
-
OaRelation: {
|
|
459
|
-
type: string;
|
|
460
|
-
name: string;
|
|
461
|
-
icon: string;
|
|
462
|
-
};
|
|
463
|
-
CitySelector: {
|
|
464
|
-
type: string;
|
|
465
|
-
name: string;
|
|
466
|
-
icon: string;
|
|
467
|
-
};
|
|
468
|
-
ExtIntergration: {
|
|
469
|
-
type: string;
|
|
470
|
-
name: string;
|
|
471
|
-
icon: string;
|
|
472
|
-
};
|
|
473
|
-
AppointmentCalendar: {
|
|
474
|
-
type: string;
|
|
475
|
-
name: string;
|
|
476
|
-
icon: string;
|
|
477
|
-
};
|
|
478
|
-
/** 查询类 start */
|
|
479
|
-
Charts: {
|
|
480
|
-
type: string;
|
|
481
|
-
name: string;
|
|
482
|
-
icon: string;
|
|
483
|
-
};
|
|
484
|
-
QdpFramework: {
|
|
485
|
-
type: string;
|
|
486
|
-
name: string;
|
|
487
|
-
icon: string;
|
|
488
|
-
};
|
|
489
|
-
SpreadSheet: {
|
|
490
|
-
type: string;
|
|
491
|
-
name: string;
|
|
492
|
-
icon: string;
|
|
493
|
-
};
|
|
494
|
-
QdpConditionDialog: {
|
|
495
|
-
type: string;
|
|
496
|
-
name: string;
|
|
497
|
-
icon: string;
|
|
498
|
-
};
|
|
499
|
-
QdpConditionDialogTab: {
|
|
500
|
-
type: string;
|
|
501
|
-
name: string;
|
|
502
|
-
icon: string;
|
|
503
|
-
};
|
|
504
|
-
/** 查询类 end */
|
|
505
|
-
/** 审批类 start */
|
|
506
|
-
ApprovalLogs: {
|
|
172
|
+
'page-footer': {
|
|
507
173
|
type: string;
|
|
508
174
|
name: string;
|
|
509
175
|
icon: string;
|
|
510
176
|
};
|
|
511
|
-
|
|
177
|
+
'tab-toolbar': {
|
|
512
178
|
type: string;
|
|
513
179
|
name: string;
|
|
514
180
|
icon: string;
|
|
@@ -43,7 +43,7 @@ export interface DesignerComponentInstance {
|
|
|
43
43
|
*/
|
|
44
44
|
triggerBelongedComponentToDeleteWhenDeleted?: Ref<boolean>;
|
|
45
45
|
/** 获取属性配置 */
|
|
46
|
-
getPropConfig: () => any;
|
|
46
|
+
getPropConfig: (...args: any[]) => any;
|
|
47
47
|
}
|
|
48
48
|
export interface ResolveComponentContext {
|
|
49
49
|
componentType: string;
|
|
@@ -5,6 +5,7 @@ export * from './src/types';
|
|
|
5
5
|
export * from './src/composition/types';
|
|
6
6
|
export * from './src/response-form.props';
|
|
7
7
|
export * from './src/component/dynamic-form-group/dynamic-form-group.props';
|
|
8
|
+
export * from './src/designer/use-designer-rules';
|
|
8
9
|
export { FResponseForm, FDynamicFormGroup };
|
|
9
10
|
declare const _default: {
|
|
10
11
|
install(app: App): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type EditorType = 'button-edit' | 'check-box' | 'check-group' | 'combo-list' | 'combo-lookup' | 'combo-tree' | 'date-picker' | 'date-range' | 'datetime-picker' | 'datetime-range' | 'events-editor' | 'month-picker' | 'month-range' | 'year-picker' | 'year-range' | 'input-group' | 'lookup' | 'number-range' | 'number-spinner' | 'radio-group' | 'text' | 'response-layout-editor-setting' | 'switch' | 'grid-field-editor' | 'field-selector' | 'schema-selector' | 'mapping-editor';
|
|
1
|
+
export type EditorType = 'button-edit' | 'check-box' | 'check-group' | 'combo-list' | 'combo-lookup' | 'combo-tree' | 'date-picker' | 'date-range' | 'datetime-picker' | 'datetime-range' | 'events-editor' | 'month-picker' | 'month-range' | 'year-picker' | 'year-range' | 'input-group' | 'lookup' | 'number-range' | 'number-spinner' | 'radio-group' | 'text' | 'response-layout-editor-setting' | 'switch' | 'grid-field-editor' | 'field-selector' | 'schema-selector' | 'mapping-editor' | 'textarea';
|
|
2
2
|
export interface EditorConfig {
|
|
3
3
|
/** 编辑器类型 */
|
|
4
4
|
type: EditorType;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BindingResolver } from "./types";
|
|
2
2
|
export declare function createFormBindingResolver(): BindingResolver;
|
|
3
3
|
export declare function createCollectionBindingResolver(): BindingResolver;
|
|
4
|
+
export declare function createTreeGridBindingResolver(): BindingResolver;
|
|
4
5
|
export declare function createDataMappingBindingResolver(): BindingResolver;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const FDynamicView: import("vue").DefineComponent<{
|
|
2
2
|
modelValue: Record<string, any>;
|
|
3
3
|
schema: Record<string, any>;
|
|
4
|
-
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, "update:modelValue" | "event", import("vue").PublicProps, Readonly<{
|
|
4
|
+
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, "update:modelValue" | "event" | "componentReady", import("vue").PublicProps, Readonly<{
|
|
5
5
|
modelValue: Record<string, any>;
|
|
6
6
|
schema: Record<string, any>;
|
|
7
7
|
}> & Readonly<{}>, {
|
|
@@ -22,7 +22,3 @@ export declare const lookupDisplayTypeConverter: {
|
|
|
22
22
|
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
23
23
|
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
24
24
|
};
|
|
25
|
-
export declare const lookupBindingFieldConverter: {
|
|
26
|
-
convertFrom: (schema: Record<string, any>, propertyKey: string) => string;
|
|
27
|
-
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
28
|
-
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputBaseProperty } from "../../../property-panel/src/composition/entity/input-base-property";
|
|
2
|
+
import { DesignerComponentInstance } from "../../../designer-canvas/src/types";
|
|
2
3
|
export declare const LookupSchemaRepositoryToken: unique symbol;
|
|
3
|
-
export declare class LookupPropertyConfig extends
|
|
4
|
-
getPropertyConfig(propertyData: any): {
|
|
4
|
+
export declare class LookupPropertyConfig extends InputBaseProperty {
|
|
5
|
+
getPropertyConfig(propertyData: any, componentInstance: DesignerComponentInstance): {
|
|
5
6
|
type: string;
|
|
6
7
|
categories: {
|
|
7
8
|
basic: any;
|
|
@@ -22,33 +22,5 @@ export declare class BaseControlProperty {
|
|
|
22
22
|
setDesignViewModelField(propertyData: any): void;
|
|
23
23
|
changeFieldEditorType(propertyData: any, newControlType: string): void;
|
|
24
24
|
getBasicPropConfig(propertyData: any): any;
|
|
25
|
-
/**
|
|
26
|
-
* 卡片控件:切换控件类型后事件
|
|
27
|
-
* @param propertyData 控件DOM属性
|
|
28
|
-
* @param newControlType 新控件类型
|
|
29
|
-
*/
|
|
30
|
-
changeControlType(propertyData: any, changeObject: any): void;
|
|
31
25
|
protected getAppearanceConfig(propertyData?: null): any;
|
|
32
|
-
/**
|
|
33
|
-
* 获取控件:以contents为节点进行定位
|
|
34
|
-
* @param controlId 控件ID
|
|
35
|
-
* @param domJson 容器
|
|
36
|
-
*/
|
|
37
|
-
private getControlParentContainer;
|
|
38
|
-
getBindingFieldEditorOptions(propertyData: any): {
|
|
39
|
-
type: string;
|
|
40
|
-
bindingType: {
|
|
41
|
-
enable: boolean;
|
|
42
|
-
};
|
|
43
|
-
editorParams: {
|
|
44
|
-
propertyData: any;
|
|
45
|
-
formBasicInfo: any;
|
|
46
|
-
};
|
|
47
|
-
columns: {
|
|
48
|
-
field: string;
|
|
49
|
-
title: string;
|
|
50
|
-
}[];
|
|
51
|
-
beforeOpenDialog: (params: any) => void;
|
|
52
|
-
textField: string;
|
|
53
|
-
};
|
|
54
26
|
}
|