@farris/ui-vue 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/package.json +1 -1
- package/components/avatar/index.esm.js +124 -116
- package/components/avatar/index.umd.cjs +1 -1
- package/components/avatar/package.json +1 -1
- package/components/border-editor/package.json +1 -1
- package/components/button/package.json +1 -1
- package/components/button-edit/index.css +1 -0
- package/components/button-edit/package.json +1 -1
- package/components/button-group/package.json +1 -1
- package/components/calculator/package.json +1 -1
- package/components/calendar/package.json +1 -1
- package/components/capsule/package.json +1 -1
- package/components/checkbox/index.esm.js +219 -209
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/checkbox/package.json +1 -1
- package/components/color-picker/package.json +1 -1
- package/components/combo-list/index.esm.js +36 -28
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-list/package.json +1 -1
- package/components/combo-tree/index.esm.js +340 -107
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/combo-tree/package.json +1 -1
- package/components/common/package.json +1 -1
- package/components/component/index.esm.js +36 -29
- package/components/component/index.umd.cjs +1 -1
- package/components/component/package.json +1 -1
- package/components/condition/index.esm.js +318 -316
- package/components/condition/index.umd.cjs +1 -1
- package/components/condition/package.json +1 -1
- package/components/content-container/index.esm.js +9 -13
- package/components/content-container/index.umd.cjs +1 -1
- package/components/content-container/package.json +1 -1
- package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
- package/components/data-grid/index.esm.js +3771 -3622
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-grid/package.json +1 -1
- package/components/data-view/index.esm.js +2408 -2405
- package/components/data-view/index.umd.cjs +1 -1
- package/components/data-view/package.json +1 -1
- package/components/date-picker/index.esm.js +250 -242
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/date-picker/package.json +1 -1
- package/components/designer-canvas/index.esm.js +23 -20
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-canvas/package.json +1 -1
- package/components/designer-outline/package.json +1 -1
- package/components/designer-toolbox/package.json +1 -1
- package/components/discussion-editor/package.json +1 -1
- package/components/discussion-list/package.json +1 -1
- package/components/drawer/package.json +1 -1
- package/components/dropdown/index.esm.js +86 -86
- package/components/dropdown/index.umd.cjs +1 -1
- package/components/dropdown/package.json +1 -1
- package/components/dynamic-form/index.esm.js +575 -565
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-form/package.json +1 -1
- package/components/dynamic-resolver/index.esm.js +56 -47
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-resolver/package.json +1 -1
- package/components/dynamic-view/index.esm.js +281 -277
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/dynamic-view/package.json +1 -1
- package/components/enum-editor/package.json +1 -1
- package/components/events-editor/package.json +1 -1
- package/components/expression-editor/package.json +1 -1
- package/components/external-container/index.css +1 -0
- package/components/external-container/index.esm.js +1795 -1783
- package/components/external-container/index.umd.cjs +1 -1
- package/components/external-container/package.json +1 -1
- package/components/field-selector/index.css +1 -0
- package/components/field-selector/index.esm.js +3914 -3769
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/field-selector/package.json +1 -1
- package/components/filter-bar/{style.css → index.css} +1 -1
- package/components/filter-bar/index.esm.js +475 -465
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/filter-bar/package.json +1 -1
- package/components/flow-canvas/index.esm.js +37 -34
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/flow-canvas/package.json +1 -1
- package/components/image-cropper/package.json +1 -1
- package/components/input-group/index.esm.js +256 -248
- package/components/input-group/index.umd.cjs +1 -1
- package/components/input-group/package.json +1 -1
- package/components/layout/package.json +1 -1
- package/components/list-nav/package.json +1 -1
- package/components/list-view/index.esm.js +1445 -1446
- package/components/list-view/index.umd.cjs +1 -1
- package/components/list-view/package.json +1 -1
- package/components/loading/package.json +1 -1
- package/components/locale/package.json +1 -1
- package/components/lookup/index.css +1 -0
- package/components/lookup/index.esm.js +4347 -4145
- package/components/lookup/index.umd.cjs +1 -1
- package/components/lookup/package.json +1 -1
- package/components/mapping-editor/index.css +1 -0
- package/components/mapping-editor/index.esm.js +4657 -4475
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/mapping-editor/package.json +1 -1
- package/components/message-box/index.css +1 -0
- package/components/message-box/index.esm.js +397 -386
- package/components/message-box/index.umd.cjs +1 -1
- package/components/message-box/package.json +1 -1
- package/components/modal/index.css +1 -0
- package/components/modal/index.esm.js +308 -297
- package/components/modal/index.umd.cjs +1 -1
- package/components/modal/package.json +1 -1
- package/components/nav/package.json +1 -1
- package/components/notify/package.json +1 -1
- package/components/order/index.esm.js +353 -345
- package/components/order/index.umd.cjs +1 -1
- package/components/order/package.json +1 -1
- package/components/page-footer/package.json +1 -1
- package/components/page-header/index.esm.js +917 -893
- package/components/page-header/index.umd.cjs +1 -1
- package/components/page-header/package.json +1 -1
- package/components/pagination/package.json +1 -1
- package/components/popover/package.json +1 -1
- package/components/progress/package.json +1 -1
- package/components/property-editor/index.esm.js +108 -101
- package/components/property-editor/index.umd.cjs +2 -2
- package/components/property-editor/package.json +1 -1
- package/components/property-panel/index.esm.js +394 -384
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/property-panel/package.json +1 -1
- package/components/radio-button/package.json +1 -1
- package/components/radio-group/index.esm.js +72 -64
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/radio-group/package.json +1 -1
- package/components/rate/package.json +1 -1
- package/components/response-layout/package.json +1 -1
- package/components/response-layout-editor/{style.css → index.css} +1 -1
- package/components/response-layout-editor/index.esm.js +404 -393
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-layout-editor/package.json +1 -1
- package/components/response-toolbar/index.esm.js +610 -592
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/response-toolbar/package.json +1 -1
- package/components/schema-selector/index.css +1 -0
- package/components/schema-selector/index.esm.js +3654 -3408
- package/components/schema-selector/index.umd.cjs +8 -1
- package/components/schema-selector/package.json +1 -1
- package/components/search-box/package.json +1 -1
- package/components/section/index.esm.js +21 -14
- package/components/section/index.umd.cjs +1 -1
- package/components/section/package.json +1 -1
- package/components/smoke-detector/package.json +1 -1
- package/components/spacing-editor/package.json +1 -1
- package/components/splitter/package.json +1 -1
- package/components/step/package.json +1 -1
- package/components/switch/index.esm.js +79 -71
- package/components/switch/index.umd.cjs +1 -1
- package/components/switch/package.json +1 -1
- package/components/tabs/index.css +1 -0
- package/components/tabs/index.esm.js +1448 -1406
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tabs/package.json +1 -1
- package/components/tags/package.json +1 -1
- package/components/text/package.json +1 -1
- package/components/textarea/index.esm.js +86 -78
- package/components/textarea/index.umd.cjs +1 -1
- package/components/textarea/package.json +1 -1
- package/components/time-picker/index.css +1 -0
- package/components/time-picker/index.esm.js +387 -379
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/time-picker/package.json +1 -1
- package/components/tooltip/package.json +1 -1
- package/components/transfer/package.json +1 -1
- package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
- package/components/tree-grid/index.esm.js +3769 -3620
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-grid/package.json +1 -1
- package/components/tree-view/index.esm.js +2041 -2038
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/tree-view/package.json +1 -1
- package/components/uploader/package.json +1 -1
- package/components/verify-detail/package.json +1 -1
- package/components/video/package.json +1 -1
- package/components/weather/package.json +1 -1
- package/farris.all.esm.js +12423 -11981
- package/farris.all.umd.cjs +9 -9
- package/index.css +1 -0
- package/package.json +2 -2
- package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
- package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
- package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
- package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
- package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
- package/types/components.d.ts +1 -0
- package/types/data-grid/index.d.ts +5 -5
- package/types/data-grid/src/data-grid.component.d.ts +2 -2
- package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
- package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
- package/types/designer-canvas/src/composition/types.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/converter/pagination.converter.d.ts +6 -0
- package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
- package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
- package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +8 -0
- package/types/lookup/src/property-config/lookup.property-config.d.ts +29 -25
- package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
- package/types/modal/src/modal.component.d.ts +3 -3
- package/types/modal/src/modal.props.d.ts +3 -5
- package/types/page-header/src/page-header.props.d.ts +7 -0
- package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
- package/types/property-panel/src/composition/entity/base-property.d.ts +2 -0
- package/types/response-toolbar/index.d.ts +9 -3
- package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
- package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
- package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
- package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
- package/types/schema-selector/src/composition/types.d.ts +3 -1
- package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
- package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
- package/types/tabs/src/tabs.props.d.ts +8 -0
- package/components/button-edit/style.css +0 -1
- package/components/external-container/style.css +0 -1
- package/components/field-selector/style.css +0 -1
- package/components/lookup/style.css +0 -1
- package/components/mapping-editor/style.css +0 -1
- package/components/message-box/style.css +0 -1
- package/components/modal/style.css +0 -1
- package/components/schema-selector/style.css +0 -1
- package/components/tabs/style.css +0 -1
- package/components/time-picker/style.css +0 -1
- package/style.css +0 -1
- package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
- /package/components/border-editor/{style.css → index.css} +0 -0
- /package/components/checkbox/{style.css → index.css} +0 -0
- /package/components/date-picker/{style.css → index.css} +0 -0
- /package/components/designer-canvas/{style.css → index.css} +0 -0
- /package/components/designer-outline/{style.css → index.css} +0 -0
- /package/components/designer-toolbox/{style.css → index.css} +0 -0
- /package/components/discussion-editor/{style.css → index.css} +0 -0
- /package/components/discussion-list/{style.css → index.css} +0 -0
- /package/components/drawer/{style.css → index.css} +0 -0
- /package/components/events-editor/{style.css → index.css} +0 -0
- /package/components/flow-canvas/{style.css → index.css} +0 -0
- /package/components/list-view/{style.css → index.css} +0 -0
- /package/components/order/{style.css → index.css} +0 -0
- /package/components/property-editor/{style.css → index.css} +0 -0
- /package/components/property-panel/{style.css → index.css} +0 -0
- /package/components/radio-button/{style.css → index.css} +0 -0
- /package/components/radio-group/{style.css → index.css} +0 -0
- /package/components/smoke-detector/{style.css → index.css} +0 -0
- /package/components/spacing-editor/{style.css → index.css} +0 -0
- /package/components/splitter/{style.css → index.css} +0 -0
- /package/components/switch/{style.css → index.css} +0 -0
- /package/components/transfer/{style.css → index.css} +0 -0
- /package/components/uploader/{style.css → index.css} +0 -0
- /package/components/weather/{style.css → index.css} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farris/ui-vue",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Farris Vue, a Farris Design based Vue3 component library.",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "./farris.all.umd.js",
|
|
20
20
|
"module": "./farris.all.esm.js",
|
|
21
|
-
"style": "./
|
|
21
|
+
"style": "./index.css",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@docsearch/js": "3.6.0",
|
|
24
24
|
"@types/lodash-es": "^4.17.4",
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { ExtractPropTypes } from 'vue';
|
|
17
|
+
export interface ComboTreeHttpService {
|
|
18
|
+
getData(params?: any): Promise<any[]>;
|
|
19
|
+
}
|
|
17
20
|
export interface Option {
|
|
18
21
|
disabled?: boolean;
|
|
19
22
|
[prop: string]: any;
|
|
@@ -56,3 +59,4 @@ export declare const enum Placement {
|
|
|
56
59
|
*/
|
|
57
60
|
export declare const comboTreeProps: Record<string, any>;
|
|
58
61
|
export type ComboTreeProps = ExtractPropTypes<typeof comboTreeProps>;
|
|
62
|
+
export declare const propsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
@@ -1,36 +1,46 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
data: import("../combo-tree.props").Option[];
|
|
2
3
|
valueField: string;
|
|
3
4
|
textField: string;
|
|
5
|
+
maxHeight: number;
|
|
4
6
|
enableSearch: boolean;
|
|
5
7
|
multiSelect: boolean;
|
|
6
8
|
separator: string;
|
|
7
|
-
dataSource: import("../combo-tree.props").Option[];
|
|
8
9
|
idField: string;
|
|
9
10
|
selectedValues: string;
|
|
10
11
|
titleField: string;
|
|
12
|
+
repositoryToken: symbol;
|
|
11
13
|
width?: number | undefined;
|
|
12
14
|
height?: number | undefined;
|
|
15
|
+
formatter?: Function | undefined;
|
|
16
|
+
editorParams?: Record<string, any> | undefined;
|
|
13
17
|
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, "selectionChange", import("vue").PublicProps, Readonly<{
|
|
18
|
+
data: import("../combo-tree.props").Option[];
|
|
14
19
|
valueField: string;
|
|
15
20
|
textField: string;
|
|
21
|
+
maxHeight: number;
|
|
16
22
|
enableSearch: boolean;
|
|
17
23
|
multiSelect: boolean;
|
|
18
24
|
separator: string;
|
|
19
|
-
dataSource: import("../combo-tree.props").Option[];
|
|
20
25
|
idField: string;
|
|
21
26
|
selectedValues: string;
|
|
22
27
|
titleField: string;
|
|
28
|
+
repositoryToken: symbol;
|
|
23
29
|
width?: number | undefined;
|
|
24
30
|
height?: number | undefined;
|
|
31
|
+
formatter?: Function | undefined;
|
|
32
|
+
editorParams?: Record<string, any> | undefined;
|
|
25
33
|
}> & Readonly<{}>, {
|
|
34
|
+
data: import("../combo-tree.props").Option[];
|
|
26
35
|
valueField: string;
|
|
27
36
|
textField: string;
|
|
37
|
+
maxHeight: number;
|
|
28
38
|
enableSearch: boolean;
|
|
29
39
|
multiSelect: boolean;
|
|
30
40
|
separator: string;
|
|
31
|
-
dataSource: import("../combo-tree.props").Option[];
|
|
32
41
|
idField: string;
|
|
33
42
|
selectedValues: string;
|
|
34
43
|
titleField: string;
|
|
44
|
+
repositoryToken: symbol;
|
|
35
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
46
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes } from "vue";
|
|
2
2
|
import { Option } from '../combo-tree.props';
|
|
3
3
|
export declare const treeContainerProps: {
|
|
4
|
-
|
|
4
|
+
data: {
|
|
5
5
|
type: {
|
|
6
6
|
(arrayLength: number): Option[];
|
|
7
7
|
(...items: Option[]): Option[];
|
|
@@ -56,5 +56,19 @@ export declare const treeContainerProps: {
|
|
|
56
56
|
type: StringConstructor;
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
|
+
formatter: {
|
|
60
|
+
type: FunctionConstructor;
|
|
61
|
+
};
|
|
62
|
+
maxHeight: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
repositoryToken: {
|
|
67
|
+
type: SymbolConstructor;
|
|
68
|
+
default: null;
|
|
69
|
+
};
|
|
70
|
+
editorParams: {
|
|
71
|
+
type: ObjectConstructor;
|
|
72
|
+
};
|
|
59
73
|
};
|
|
60
74
|
export type TreeContainerProps = ExtractPropTypes<typeof treeContainerProps>;
|
package/types/components.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { default as FDatePicker } from './date-picker';
|
|
|
11
11
|
export { default as FInputGroup } from './input-group';
|
|
12
12
|
export { default as FLayout } from './layout';
|
|
13
13
|
export { default as FListView } from './list-view';
|
|
14
|
+
export { F_LOOKUP_HTTP_SERVICE_TOKEN } from './lookup';
|
|
14
15
|
export { default as FNumberSpinner } from './number-spinner';
|
|
15
16
|
export { default as FNumberRange } from './number-range';
|
|
16
17
|
export { default as FRadioButton } from './radio-button';
|
|
@@ -22,12 +22,12 @@ declare const _default: {
|
|
|
22
22
|
[x: string]: any;
|
|
23
23
|
}> & Readonly<{
|
|
24
24
|
onClickRow?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
26
25
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
onEnterUpInLastCell?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
onPageIndexChanged?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
onPageSizeChanged?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "
|
|
30
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "doubleClickRow" | "enterUpInLastCell" | "pageIndexChanged" | "pageSizeChanged")[], import("vue").PublicProps, {
|
|
31
31
|
[x: string]: any;
|
|
32
32
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
33
33
|
P: {};
|
|
@@ -40,8 +40,8 @@ declare const _default: {
|
|
|
40
40
|
[x: string]: any;
|
|
41
41
|
}> & Readonly<{
|
|
42
42
|
onClickRow?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
44
43
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
onEnterUpInLastCell?: ((...args: any[]) => any) | undefined;
|
|
46
46
|
onPageIndexChanged?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
onPageSizeChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -55,12 +55,12 @@ declare const _default: {
|
|
|
55
55
|
[x: string]: any;
|
|
56
56
|
}> & Readonly<{
|
|
57
57
|
onClickRow?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
59
58
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
onEnterUpInLastCell?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
onPageIndexChanged?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
onPageSizeChanged?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "
|
|
63
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "doubleClickRow" | "enterUpInLastCell" | "pageIndexChanged" | "pageSizeChanged")[], "selectionChange" | "ClickRow" | "doubleClickRow" | "enterUpInLastCell" | "pageIndexChanged" | "pageSizeChanged", {
|
|
64
64
|
[x: string]: any;
|
|
65
65
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin;
|
|
66
66
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
[x: string]: any;
|
|
3
|
-
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "
|
|
3
|
+
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "doubleClickRow" | "enterUpInLastCell" | "pageIndexChanged" | "pageSizeChanged")[], "selectionChange" | "ClickRow" | "doubleClickRow" | "enterUpInLastCell" | "pageIndexChanged" | "pageSizeChanged", import("vue").PublicProps, Readonly<{
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
}> & Readonly<{
|
|
6
6
|
onClickRow?: ((...args: any[]) => any) | undefined;
|
|
7
|
-
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
8
7
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
9
9
|
onEnterUpInLastCell?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
onPageIndexChanged?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
onPageSizeChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
[x: string]: any;
|
|
3
|
-
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "
|
|
3
|
+
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionChange" | "ClickRow" | "enterUpInLastCell" | "pageIndexChanged" | "pageSizeChanged" | "DoubleClickRow")[], "selectionChange" | "ClickRow" | "enterUpInLastCell" | "pageIndexChanged" | "pageSizeChanged" | "DoubleClickRow", import("vue").PublicProps, Readonly<{
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
}> & Readonly<{
|
|
6
6
|
onClickRow?: ((...args: any[]) => any) | undefined;
|
|
7
|
-
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
8
7
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
onDoubleClickRow?: ((...args: any[]) => any) | undefined;
|
|
9
9
|
onEnterUpInLastCell?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
onPageIndexChanged?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
onPageSizeChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -9,17 +9,17 @@ export declare const DgControl: {
|
|
|
9
9
|
name: string;
|
|
10
10
|
icon: string;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
'response-toolbar': {
|
|
13
13
|
type: string;
|
|
14
14
|
name: string;
|
|
15
15
|
icon: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
'response-toolbar-item': {
|
|
18
18
|
type: string;
|
|
19
19
|
name: string;
|
|
20
20
|
icon: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
'content-container': {
|
|
23
23
|
type: string;
|
|
24
24
|
name: string;
|
|
25
25
|
icon: string;
|
|
@@ -142,7 +142,7 @@ export declare const DgControl: {
|
|
|
142
142
|
name: string;
|
|
143
143
|
icon: string;
|
|
144
144
|
};
|
|
145
|
-
|
|
145
|
+
component: {
|
|
146
146
|
type: string;
|
|
147
147
|
name: string;
|
|
148
148
|
icon: string;
|
|
@@ -177,12 +177,12 @@ export declare const DgControl: {
|
|
|
177
177
|
name: string;
|
|
178
178
|
icon: string;
|
|
179
179
|
};
|
|
180
|
-
|
|
180
|
+
tabs: {
|
|
181
181
|
type: string;
|
|
182
182
|
name: string;
|
|
183
183
|
icon: string;
|
|
184
184
|
};
|
|
185
|
-
|
|
185
|
+
'tab-page': {
|
|
186
186
|
type: string;
|
|
187
187
|
name: string;
|
|
188
188
|
dependentParentControl: string;
|
|
@@ -227,7 +227,7 @@ export declare const DgControl: {
|
|
|
227
227
|
name: string;
|
|
228
228
|
icon: string;
|
|
229
229
|
};
|
|
230
|
-
|
|
230
|
+
section: {
|
|
231
231
|
type: string;
|
|
232
232
|
name: string;
|
|
233
233
|
icon: string;
|
|
@@ -370,7 +370,7 @@ export declare const DgControl: {
|
|
|
370
370
|
name: string;
|
|
371
371
|
icon: string;
|
|
372
372
|
};
|
|
373
|
-
|
|
373
|
+
'page-header': {
|
|
374
374
|
type: string;
|
|
375
375
|
name: string;
|
|
376
376
|
icon: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type EditorType = 'button-edit' | 'check-box' | 'check-group' | 'combo-list' | 'combo-lookup' | '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';
|
|
2
2
|
export interface EditorConfig {
|
|
3
3
|
/** 编辑器类型 */
|
|
4
4
|
type: EditorType;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { UseDesignerRules } from "../../../designer-canvas/src/composition/types";
|
|
2
|
+
import { DesignerItemContext } from "../../../designer-canvas/src/types";
|
|
3
|
+
export declare function useLookupDesignerRules(designItemContext: DesignerItemContext, designerHostService: any): UseDesignerRules;
|
|
@@ -2,6 +2,10 @@ export declare const lookupDefaultConverter: {
|
|
|
2
2
|
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
3
3
|
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
4
4
|
};
|
|
5
|
+
export declare const lookupVisibleConverter: {
|
|
6
|
+
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
7
|
+
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
8
|
+
};
|
|
5
9
|
export declare const lookupDataSourceConverter: {
|
|
6
10
|
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
7
11
|
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any[]) => void;
|
|
@@ -10,6 +14,10 @@ export declare const lookupIdFieldConverter: {
|
|
|
10
14
|
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
11
15
|
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
12
16
|
};
|
|
17
|
+
export declare const lookupTextFieldConverter: {
|
|
18
|
+
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
19
|
+
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
20
|
+
};
|
|
13
21
|
export declare const lookupDisplayTypeConverter: {
|
|
14
22
|
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
15
23
|
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
@@ -10,31 +10,6 @@ export declare class LookupPropertyConfig extends BaseControlProperty {
|
|
|
10
10
|
description: string;
|
|
11
11
|
title: string;
|
|
12
12
|
properties: {
|
|
13
|
-
bindField: {
|
|
14
|
-
description: string;
|
|
15
|
-
title: string;
|
|
16
|
-
type: string;
|
|
17
|
-
editor: {
|
|
18
|
-
type: string;
|
|
19
|
-
bindingType: {
|
|
20
|
-
enable: boolean;
|
|
21
|
-
};
|
|
22
|
-
editorParams: {
|
|
23
|
-
propertyData: any;
|
|
24
|
-
formBasicInfo: any;
|
|
25
|
-
};
|
|
26
|
-
columns: {
|
|
27
|
-
field: string;
|
|
28
|
-
title: string;
|
|
29
|
-
}[];
|
|
30
|
-
beforeOpenDialog: (params: any) => void;
|
|
31
|
-
textField: string;
|
|
32
|
-
};
|
|
33
|
-
$converter: {
|
|
34
|
-
convertFrom: (schema: Record<string, any>, propertyKey: string) => string;
|
|
35
|
-
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
13
|
editable: {
|
|
39
14
|
description: string;
|
|
40
15
|
title: string;
|
|
@@ -58,11 +33,19 @@ export declare class LookupPropertyConfig extends BaseControlProperty {
|
|
|
58
33
|
description: string;
|
|
59
34
|
title: string;
|
|
60
35
|
type: string;
|
|
36
|
+
$converter: {
|
|
37
|
+
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
38
|
+
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
39
|
+
};
|
|
61
40
|
};
|
|
62
41
|
visible: {
|
|
63
42
|
description: string;
|
|
64
43
|
title: string;
|
|
65
44
|
type: string;
|
|
45
|
+
$converter: {
|
|
46
|
+
convertFrom: (schema: Record<string, any>, propertyKey: string) => any;
|
|
47
|
+
convertTo: (schema: Record<string, any>, propertyKey: string, propertyValue: any) => void;
|
|
48
|
+
};
|
|
66
49
|
};
|
|
67
50
|
placeHolder: {
|
|
68
51
|
visible: boolean;
|
|
@@ -86,6 +69,7 @@ export declare class LookupPropertyConfig extends BaseControlProperty {
|
|
|
86
69
|
description: string;
|
|
87
70
|
title: string;
|
|
88
71
|
type: string;
|
|
72
|
+
refreshPanelAfterChanged: boolean;
|
|
89
73
|
editor: {
|
|
90
74
|
type: string;
|
|
91
75
|
title: string;
|
|
@@ -199,6 +183,26 @@ export declare class LookupPropertyConfig extends BaseControlProperty {
|
|
|
199
183
|
type: string;
|
|
200
184
|
modalWidth: number;
|
|
201
185
|
modalHeight: number;
|
|
186
|
+
editable: boolean;
|
|
187
|
+
fromData: {
|
|
188
|
+
editable: boolean;
|
|
189
|
+
editorParams: {
|
|
190
|
+
propertyData: any;
|
|
191
|
+
formBasicInfo: any;
|
|
192
|
+
};
|
|
193
|
+
formatter: (cell: any, data: any) => string;
|
|
194
|
+
idField: string;
|
|
195
|
+
textField: string;
|
|
196
|
+
valueField: string;
|
|
197
|
+
repositoryToken: symbol;
|
|
198
|
+
};
|
|
199
|
+
toData: {
|
|
200
|
+
idField: string;
|
|
201
|
+
textField: string;
|
|
202
|
+
valueField: string;
|
|
203
|
+
dataSource: any;
|
|
204
|
+
formatter: (cell: any, data: any) => string;
|
|
205
|
+
};
|
|
202
206
|
};
|
|
203
207
|
};
|
|
204
208
|
multiSelect: {
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { ExtractPropTypes } from "vue";
|
|
2
|
+
export interface MappingDataSource {
|
|
3
|
+
idField: string;
|
|
4
|
+
dataSource: Array<any>;
|
|
5
|
+
textField: string;
|
|
6
|
+
valueField: string;
|
|
7
|
+
repositoryToken?: symbol;
|
|
8
|
+
editorParams?: any;
|
|
9
|
+
}
|
|
2
10
|
export declare const mappingEditorProps: Record<string, any>;
|
|
3
11
|
export type MappingEditorProps = ExtractPropTypes<typeof mappingEditorProps>;
|
|
4
12
|
export declare const propsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
containment?: HTMLElement | undefined;
|
|
31
31
|
reiszeable?: boolean | undefined;
|
|
32
32
|
draggable?: boolean | undefined;
|
|
33
|
-
dragHandle?:
|
|
33
|
+
dragHandle?: import("./modal.props").DragHandleType | undefined;
|
|
34
34
|
closedCallback?: Function | undefined;
|
|
35
35
|
resizeHandle?: Function | undefined;
|
|
36
36
|
acceptCallback?: Function | undefined;
|
|
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
containment?: HTMLElement | undefined;
|
|
57
57
|
reiszeable?: boolean | undefined;
|
|
58
58
|
draggable?: boolean | undefined;
|
|
59
|
-
dragHandle?:
|
|
59
|
+
dragHandle?: import("./modal.props").DragHandleType | undefined;
|
|
60
60
|
closedCallback?: Function | undefined;
|
|
61
61
|
resizeHandle?: Function | undefined;
|
|
62
62
|
acceptCallback?: Function | undefined;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
containment: HTMLElement;
|
|
83
83
|
reiszeable: boolean;
|
|
84
84
|
draggable: boolean;
|
|
85
|
-
dragHandle:
|
|
85
|
+
dragHandle: import("./modal.props").DragHandleType;
|
|
86
86
|
closedCallback: Function;
|
|
87
87
|
resizeHandle: Function;
|
|
88
88
|
acceptCallback: Function;
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { ExtractPropTypes } from 'vue';
|
|
16
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
17
17
|
import { ModalButton } from './composition/type';
|
|
18
|
+
export type DragHandleType = HTMLElement | string;
|
|
18
19
|
export declare const modalProps: {
|
|
19
20
|
/**
|
|
20
21
|
* 自定义类
|
|
@@ -131,10 +132,7 @@ export declare const modalProps: {
|
|
|
131
132
|
default: boolean;
|
|
132
133
|
};
|
|
133
134
|
dragHandle: {
|
|
134
|
-
type:
|
|
135
|
-
new (): HTMLElement;
|
|
136
|
-
prototype: HTMLElement;
|
|
137
|
-
};
|
|
135
|
+
type: PropType<DragHandleType>;
|
|
138
136
|
default: null;
|
|
139
137
|
};
|
|
140
138
|
closedCallback: {
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { ExtractPropTypes } from "vue";
|
|
2
2
|
export declare const pageHeaderProps: Record<string, any>;
|
|
3
3
|
export type PageHeaderProps = ExtractPropTypes<typeof pageHeaderProps>;
|
|
4
|
+
export declare const pageHeaderDesignerProps: Record<string, any> & {
|
|
5
|
+
componentId: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type PageHeaderDesignerProps = ExtractPropTypes<typeof pageHeaderDesignerProps>;
|
|
4
11
|
export declare const propsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
@@ -11,12 +11,14 @@ export declare class BaseControlProperty {
|
|
|
11
11
|
designViewModelField: any;
|
|
12
12
|
controlCreatorUtils: any;
|
|
13
13
|
designerHostService: any;
|
|
14
|
+
schemaService: any;
|
|
14
15
|
metadataService: any;
|
|
15
16
|
protected propertyConfig: {
|
|
16
17
|
type: string;
|
|
17
18
|
categories: {};
|
|
18
19
|
};
|
|
19
20
|
constructor(componentId: string, designerHostService: any);
|
|
21
|
+
getTableInfo(): any;
|
|
20
22
|
setDesignViewModelField(propertyData: any): void;
|
|
21
23
|
changeFieldEditorType(propertyData: any, newControlType: string): void;
|
|
22
24
|
getBasicPropConfig(propertyData: any): any;
|
|
@@ -7,7 +7,9 @@ export { FResponseToolbar, ResponseToolbarDropDownItem, ResponseToolbarGroup, Re
|
|
|
7
7
|
declare const _default: {
|
|
8
8
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
9
9
|
[x: string]: any;
|
|
10
|
-
}> & Readonly<{
|
|
10
|
+
}> & Readonly<{
|
|
11
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], import("vue").PublicProps, {
|
|
11
13
|
[x: string]: any;
|
|
12
14
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
13
15
|
P: {};
|
|
@@ -18,7 +20,9 @@ declare const _default: {
|
|
|
18
20
|
Defaults: {};
|
|
19
21
|
}, Readonly<{
|
|
20
22
|
[x: string]: any;
|
|
21
|
-
}> & Readonly<{
|
|
23
|
+
}> & Readonly<{
|
|
24
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, () => any, {}, {}, {}, {
|
|
22
26
|
[x: string]: any;
|
|
23
27
|
}>;
|
|
24
28
|
__isFragment?: undefined;
|
|
@@ -26,7 +30,9 @@ declare const _default: {
|
|
|
26
30
|
__isSuspense?: undefined;
|
|
27
31
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
28
32
|
[x: string]: any;
|
|
29
|
-
}> & Readonly<{
|
|
33
|
+
}> & Readonly<{
|
|
34
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
|
30
36
|
[x: string]: any;
|
|
31
37
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
32
38
|
export default _default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
[x: string]: any;
|
|
3
|
-
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3
|
+
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<{
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
}> & Readonly<{
|
|
5
|
+
}> & Readonly<{
|
|
6
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {
|
|
6
8
|
[x: string]: any;
|
|
7
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
10
|
export default _default;
|
|
@@ -2,7 +2,14 @@ import { ExtractPropTypes } from 'vue';
|
|
|
2
2
|
export type ButtonAlignment = 'right' | 'left';
|
|
3
3
|
export declare const responseToolbarProps: Record<string, any>;
|
|
4
4
|
export type ResponseToolbarProps = ExtractPropTypes<typeof responseToolbarProps>;
|
|
5
|
+
export declare const responseToolbarDesignProps: Record<string, any> & {
|
|
6
|
+
componentId: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type ResponseToolbarDesignProps = ExtractPropTypes<typeof responseToolbarDesignProps>;
|
|
5
12
|
export declare const propsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
6
|
-
export declare const
|
|
7
|
-
export type
|
|
13
|
+
export declare const responseToolbarIteDesignProps: Record<string, any>;
|
|
14
|
+
export type ResponseToolbarIteDesignProps = ExtractPropTypes<typeof responseToolbarIteDesignProps>;
|
|
8
15
|
export declare const itemPropsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
@@ -19,7 +19,8 @@ export interface SchemaRepositoryPagination {
|
|
|
19
19
|
pageSize: number;
|
|
20
20
|
pageIndex: number;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
type SchemaDataType = Promise<SchemaItem[]> | SchemaItem[];
|
|
23
|
+
export type GetSchemaDataFunction = (searchingText: string, pagination: SchemaRepositoryPagination, customParams?: Record<string, any>) => SchemaDataType;
|
|
23
24
|
export type GetSchemaCategoryFunction = (searchingText: string, pagination: SchemaRepositoryPagination, customParams?: Record<string, any>) => SchemaCategory[];
|
|
24
25
|
export interface UseSchemaRepository {
|
|
25
26
|
getNavigationData: GetSchemaCategoryFunction;
|
|
@@ -27,3 +28,4 @@ export interface UseSchemaRepository {
|
|
|
27
28
|
getRecommandData: GetSchemaDataFunction;
|
|
28
29
|
getSchemaData: GetSchemaDataFunction;
|
|
29
30
|
}
|
|
31
|
+
export {};
|