@steedos-widgets/amis-object 6.10.52-beta.36 → 6.10.52-beta.37
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/dist/assets.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
{
|
|
4
4
|
"package": "@steedos-widgets/amis-object",
|
|
5
5
|
"urls": [
|
|
6
|
-
"https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.37/dist/amis-object.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.37/dist/amis-object.umd.css"
|
|
8
8
|
],
|
|
9
9
|
"library": "BuilderAmisObject"
|
|
10
10
|
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"npm": {
|
|
16
16
|
"package": "@steedos-widgets/amis-object"
|
|
17
17
|
},
|
|
18
|
-
"url": "https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.37/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.37/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/amis-object@6.10.52-beta.37/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
|
@@ -5,6 +5,7 @@ interface OrgValueItem {
|
|
|
5
5
|
fullname: string;
|
|
6
6
|
}
|
|
7
7
|
interface DeptGroupSelectorProps {
|
|
8
|
+
name?: string;
|
|
8
9
|
value?: OrgValueItem | OrgValueItem[] | string | string[];
|
|
9
10
|
onChange?: (value: OrgValueItem | OrgValueItem[] | string | string[] | null) => void;
|
|
10
11
|
multiple?: boolean;
|
|
@@ -12,9 +13,13 @@ interface DeptGroupSelectorProps {
|
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
fetchDeptTree?: (parentId?: string, keyword?: string) => Promise<any[]>;
|
|
14
15
|
style?: React.CSSProperties;
|
|
15
|
-
dispatchEvent?: (eventName: string, data: any, ref: any) => void
|
|
16
|
-
onEvent
|
|
16
|
+
dispatchEvent?: (eventName: string, data: any, ref: any) => Promise<void>;
|
|
17
|
+
onEvent?: any;
|
|
17
18
|
data?: any;
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
readonly?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
[key: string]: any;
|
|
18
23
|
}
|
|
19
24
|
export declare const SteedosOrgSelector: React.FC<DeptGroupSelectorProps>;
|
|
20
25
|
export {};
|
package/dist/meta.js
CHANGED
|
@@ -6259,6 +6259,7 @@
|
|
|
6259
6259
|
{ label: t$2('widgets-meta:value_format_object', '对象'), value: 'object' }
|
|
6260
6260
|
]
|
|
6261
6261
|
},
|
|
6262
|
+
{ type: 'switch', name: 'clearable', label: t$2('widgets-meta:dept-group-selector_clearable', '可清除'), value: true },
|
|
6262
6263
|
{ type: 'text', name: 'placeholder', label: t$2('widgets-meta:dept-group-selector_placeholder', '占位符') }
|
|
6263
6264
|
// fetchDeptTree 通常由平台注入,不建议在低代码属性面板暴露
|
|
6264
6265
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-object",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.10.52-beta.
|
|
4
|
+
"version": "6.10.52-beta.37",
|
|
5
5
|
"main": "dist/amis-object.cjs.js",
|
|
6
6
|
"module": "dist/amis-object.esm.js",
|
|
7
7
|
"unpkg": "dist/amis-object.umd.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
36
36
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
37
37
|
"@rollup/plugin-typescript": "^8.4.0",
|
|
38
|
-
"@steedos-widgets/amis-lib": "6.10.52-beta.
|
|
39
|
-
"@steedos-widgets/steedos-lib": "6.10.52-beta.
|
|
38
|
+
"@steedos-widgets/amis-lib": "6.10.52-beta.37",
|
|
39
|
+
"@steedos-widgets/steedos-lib": "6.10.52-beta.37",
|
|
40
40
|
"autoprefixer": "^10.4.13",
|
|
41
41
|
"cors": "^2.8.5",
|
|
42
42
|
"dotenv-flow": "^3.2.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"typescript": "^5.6.2",
|
|
65
65
|
"uglify-js": "^3.17.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "3d9ad8328c0fdb8b90a54e70cfe8d00f16c4daac"
|
|
68
68
|
}
|