@farris/ui-vue 1.2.6 → 1.2.7
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 +147 -139
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +11 -28
- package/components/avatar/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +33 -50
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +183 -171
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +236 -235
- package/components/condition/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +1531 -1560
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +1299 -1300
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +235 -252
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/dynamic-form/index.esm.js +127 -143
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +206 -201
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/external-container/index.esm.js +650 -647
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.esm.js +1101 -1131
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +335 -332
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +128 -145
- package/components/input-group/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +306 -303
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +2470 -2469
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +1928 -1958
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/order/index.esm.js +802 -788
- package/components/order/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +116 -137
- package/components/page-header/index.umd.cjs +1 -1
- package/components/property-editor/index.esm.js +533 -521
- package/components/property-editor/index.umd.cjs +2 -2
- package/components/property-panel/index.esm.js +178 -177
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/radio-group/index.esm.js +56 -73
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +547 -518
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +260 -281
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +598 -617
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/switch/index.esm.js +137 -154
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +109 -130
- package/components/tabs/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +103 -120
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +172 -189
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.esm.js +124 -122
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +1600 -1630
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +245 -246
- package/components/tree-view/index.umd.cjs +1 -1
- package/farris.all.esm.js +4123 -4112
- package/farris.all.umd.cjs +8 -8
- package/package.json +1 -1
- 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/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
- package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -2
- package/types/property-panel/src/composition/entity/base-property.d.ts +0 -16
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
package/package.json
CHANGED
|
@@ -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;
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputBaseProperty } from "../../../property-panel/src/composition/entity/input-base-property";
|
|
2
2
|
export declare const LookupSchemaRepositoryToken: unique symbol;
|
|
3
|
-
export declare class LookupPropertyConfig extends
|
|
3
|
+
export declare class LookupPropertyConfig extends InputBaseProperty {
|
|
4
4
|
getPropertyConfig(propertyData: any): {
|
|
5
5
|
type: string;
|
|
6
6
|
categories: {
|
|
@@ -35,20 +35,4 @@ export declare class BaseControlProperty {
|
|
|
35
35
|
* @param domJson 容器
|
|
36
36
|
*/
|
|
37
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
38
|
}
|
|
@@ -9,6 +9,27 @@ export declare class InputBaseProperty extends BaseControlProperty {
|
|
|
9
9
|
categories: {};
|
|
10
10
|
};
|
|
11
11
|
private getFieldSelectorOptions;
|
|
12
|
+
getBindingOtions(propertyData: any): {
|
|
13
|
+
description: string;
|
|
14
|
+
title: string;
|
|
15
|
+
$converter: string;
|
|
16
|
+
editor: {
|
|
17
|
+
type: string;
|
|
18
|
+
bindingType: {
|
|
19
|
+
enable: boolean;
|
|
20
|
+
};
|
|
21
|
+
editorParams: {
|
|
22
|
+
propertyData: any;
|
|
23
|
+
formBasicInfo: any;
|
|
24
|
+
};
|
|
25
|
+
columns: {
|
|
26
|
+
field: string;
|
|
27
|
+
title: string;
|
|
28
|
+
}[];
|
|
29
|
+
textField: string;
|
|
30
|
+
data: any;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
12
33
|
getComponentConfig(propertyData: any, info?: {}, properties?: {}): {
|
|
13
34
|
properties: {
|
|
14
35
|
readonly: {
|