@cloudbase/weda-ui 3.12.1 → 3.12.3
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/configs/components/listView.js +6 -35
- package/dist/configs/components/wd-select-multiple.d.ts +2 -0
- package/dist/configs/components/wd-select-multiple.js +9 -7
- package/dist/configs/components/wd-select.d.ts +2 -0
- package/dist/configs/components/wd-select.js +9 -7
- package/dist/configs/index.d.ts +4 -0
- package/dist/style/weda-ui.min.css +52 -2
- package/dist/web/components/flow/process/constants.d.ts +3 -3
- package/dist/web/components/form/uploaderFile/index.css +23 -71
- package/dist/web/components/uploaderView/index.js +2 -1
- package/dist/web/components/wd-icon/wd-icon.d.ts +1 -0
- package/dist/web/components/wd-icon/wd-icon.js +4 -9
- package/dist/web/components/wd-image/ImagePreview.js +6 -4
- package/dist/web/components/wd-select/relationSelect/relationSelect.js +2 -5
- package/dist/web/components/wd-select/select/selectUI.js +3 -3
- package/dist/web/components/wd-select/wd-select.js +3 -3
- package/dist/web/components/wd-select-multiple/wd-select-multiple.js +3 -3
- package/dist/web/utils/loadIconCss.d.ts +2 -1
- package/dist/web/utils/loadIconCss.js +33 -0
- package/package.json +3 -3
|
@@ -865,37 +865,14 @@ const data = Type.Object({
|
|
|
865
865
|
},
|
|
866
866
|
},
|
|
867
867
|
{
|
|
868
|
-
type: 'value:
|
|
868
|
+
type: 'value:visible',
|
|
869
869
|
target: '*(sorter)',
|
|
870
870
|
condition: "{{$self.value ==='data-model'&&$form.values.isSupportMultipleSort}}",
|
|
871
|
-
state: {
|
|
872
|
-
display: true,
|
|
873
|
-
},
|
|
874
|
-
otherwise: {
|
|
875
|
-
display: false,
|
|
876
|
-
},
|
|
877
871
|
},
|
|
878
872
|
{
|
|
879
|
-
type: 'value:
|
|
873
|
+
type: 'value:visible',
|
|
880
874
|
target: '*(orderBy,orderType)',
|
|
881
875
|
condition: "{{$self.value ==='data-model'&&!$form.values.isSupportMultipleSort}}",
|
|
882
|
-
state: {
|
|
883
|
-
display: true,
|
|
884
|
-
},
|
|
885
|
-
otherwise: {
|
|
886
|
-
display: false,
|
|
887
|
-
},
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
type: 'value:state',
|
|
891
|
-
target: '*(isSupportMultipleSort)',
|
|
892
|
-
condition: '{{!$form.values.isSupportMultipleSort}}',
|
|
893
|
-
state: {
|
|
894
|
-
display: true,
|
|
895
|
-
},
|
|
896
|
-
otherwise: {
|
|
897
|
-
display: false,
|
|
898
|
-
},
|
|
899
876
|
},
|
|
900
877
|
{
|
|
901
878
|
type: 'value:state',
|
|
@@ -1300,20 +1277,14 @@ const data = Type.Object({
|
|
|
1300
1277
|
},
|
|
1301
1278
|
'x-linkages': [
|
|
1302
1279
|
{
|
|
1303
|
-
type: 'value:
|
|
1280
|
+
type: 'value:visible',
|
|
1304
1281
|
target: '*(sorter)',
|
|
1305
|
-
condition: '{{$self.value&&$form.values?.
|
|
1306
|
-
state: {
|
|
1307
|
-
display: true,
|
|
1308
|
-
},
|
|
1282
|
+
condition: '{{$self.value&&$form.values?.dataSourceType==="data-model"}}',
|
|
1309
1283
|
},
|
|
1310
1284
|
{
|
|
1311
|
-
type: 'value:
|
|
1285
|
+
type: 'value:visible',
|
|
1312
1286
|
target: '*(orderBy,orderType)',
|
|
1313
|
-
condition: '{{
|
|
1314
|
-
state: {
|
|
1315
|
-
display: false,
|
|
1316
|
-
},
|
|
1287
|
+
condition: '{{!$self.value}}',
|
|
1317
1288
|
},
|
|
1318
1289
|
{
|
|
1319
1290
|
type: 'value:state',
|
|
@@ -50,6 +50,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
50
50
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
51
51
|
default: string;
|
|
52
52
|
}>;
|
|
53
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
53
54
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
54
55
|
}>;
|
|
55
56
|
declare const config: {
|
|
@@ -104,6 +105,7 @@ declare const config: {
|
|
|
104
105
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
105
106
|
default: string;
|
|
106
107
|
}>;
|
|
108
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
107
109
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
108
110
|
}>;
|
|
109
111
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
@@ -31,6 +31,14 @@ const data = Type.Partial(Type.Object({
|
|
|
31
31
|
placeholder: Object.assign({}, FORM_ITEM_DATA.placeholder, {
|
|
32
32
|
default: '请选择',
|
|
33
33
|
}),
|
|
34
|
+
searchPlaceholder: Type.String({
|
|
35
|
+
title: '搜索框占位文字',
|
|
36
|
+
type: 'string',
|
|
37
|
+
default: '搜索选项',
|
|
38
|
+
'x-index': 31,
|
|
39
|
+
'x-category': X_CATEGORY.COMMON,
|
|
40
|
+
'x-helper-text': 'PC/H5端生效',
|
|
41
|
+
}),
|
|
34
42
|
size: FORM_ITEM_DATA.size,
|
|
35
43
|
// 标题
|
|
36
44
|
...TITLE,
|
|
@@ -78,13 +86,7 @@ const data = Type.Partial(Type.Object({
|
|
|
78
86
|
}));
|
|
79
87
|
const properties = Type.Composite([
|
|
80
88
|
Type.Pick(data, ['name', 'label', 'value', 'required', 'before', 'after']),
|
|
81
|
-
Type.Pick(ItemData, [
|
|
82
|
-
'visible',
|
|
83
|
-
'disabled',
|
|
84
|
-
'readOnly',
|
|
85
|
-
'selectedLabel',
|
|
86
|
-
'item',
|
|
87
|
-
]),
|
|
89
|
+
Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel', 'item']),
|
|
88
90
|
]);
|
|
89
91
|
const CLASSES = getClasses('select-multiple', { kind: '选择框' });
|
|
90
92
|
const classes = [
|
|
@@ -47,6 +47,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
47
47
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
48
48
|
default: string;
|
|
49
49
|
}>;
|
|
50
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
50
51
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
51
52
|
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
52
53
|
viewId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -103,6 +104,7 @@ declare const config: {
|
|
|
103
104
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
104
105
|
default: string;
|
|
105
106
|
}>;
|
|
107
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
106
108
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
107
109
|
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
108
110
|
viewId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -29,6 +29,14 @@ const data = Type.Partial(Type.Object({
|
|
|
29
29
|
placeholder: Object.assign({}, FORM_ITEM_DATA.placeholder, {
|
|
30
30
|
default: '请选择',
|
|
31
31
|
}),
|
|
32
|
+
searchPlaceholder: Type.String({
|
|
33
|
+
title: '搜索框占位文字',
|
|
34
|
+
type: 'string',
|
|
35
|
+
default: '搜索选项',
|
|
36
|
+
'x-index': 31,
|
|
37
|
+
'x-category': X_CATEGORY.COMMON,
|
|
38
|
+
'x-helper-text': 'PC/H5端生效',
|
|
39
|
+
}),
|
|
32
40
|
size: FORM_ITEM_DATA.size,
|
|
33
41
|
format: FORM_ITEM_DATA._formatInSelect,
|
|
34
42
|
viewId: FORM_ITEM_DATA.viewId,
|
|
@@ -55,13 +63,7 @@ const data = Type.Partial(Type.Object({
|
|
|
55
63
|
}));
|
|
56
64
|
const properties = Type.Composite([
|
|
57
65
|
Type.Pick(data, ['name', 'value', 'label', 'required']),
|
|
58
|
-
Type.Pick(ItemData, [
|
|
59
|
-
'visible',
|
|
60
|
-
'disabled',
|
|
61
|
-
'readOnly',
|
|
62
|
-
'selectedLabel',
|
|
63
|
-
'item',
|
|
64
|
-
]),
|
|
66
|
+
Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel', 'item']),
|
|
65
67
|
]);
|
|
66
68
|
const CLASSES = getClasses('select', { kind: '选择框' });
|
|
67
69
|
const classes = [
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -13983,6 +13983,7 @@ export declare const components: {
|
|
|
13983
13983
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
13984
13984
|
default: string;
|
|
13985
13985
|
}>;
|
|
13986
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13986
13987
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
13987
13988
|
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
13988
13989
|
viewId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -14254,6 +14255,7 @@ export declare const components: {
|
|
|
14254
14255
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
14255
14256
|
default: string;
|
|
14256
14257
|
}>;
|
|
14258
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14257
14259
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
14258
14260
|
}>;
|
|
14259
14261
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
@@ -33393,6 +33395,7 @@ declare const _default: {
|
|
|
33393
33395
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
33394
33396
|
default: string;
|
|
33395
33397
|
}>;
|
|
33398
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
33396
33399
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33397
33400
|
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33398
33401
|
viewId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -33664,6 +33667,7 @@ declare const _default: {
|
|
|
33664
33667
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
33665
33668
|
default: string;
|
|
33666
33669
|
}>;
|
|
33670
|
+
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
33667
33671
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33668
33672
|
}>;
|
|
33669
33673
|
readonly properties: import("@sinclair/typebox").TObject<{
|