@cloudbase/weda-ui 3.23.0 → 3.24.0
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/wd-table.d.ts +18 -5
- package/dist/configs/components/wd-table.js +51 -12
- package/dist/configs/components/wd-upload-file.js +3 -0
- package/dist/configs/components/wd-upload-image.js +3 -0
- package/dist/configs/index.d.ts +28 -8
- package/dist/style/index.css +66 -0
- package/dist/style/index.scss +1 -1
- package/dist/style/weda-ui.min.css +3 -3
- package/dist/web/components/form/select/index.js +14 -25
- package/dist/web/components/wd-menu-layout/components/HorizontalMenu.d.ts +1 -1
- package/dist/web/components/wd-menu-layout/components/HorizontalMenu.js +1 -1
- package/dist/web/components/wd-menu-layout/components/LeftMenu.d.ts +3 -0
- package/dist/web/components/wd-menu-layout/components/LeftMenu.js +41 -0
- package/dist/web/components/wd-menu-layout/components/PlantMenu.d.ts +1 -1
- package/dist/web/components/wd-menu-layout/components/PlantMenu.js +2 -2
- package/dist/web/components/wd-menu-layout/components/VerticalMenu.js +8 -3
- package/dist/web/components/wd-menu-layout/wd-menu-layout.d.ts +4 -1
- package/dist/web/components/wd-menu-layout/wd-menu-layout.js +4 -5
- package/dist/web/components/wd-menu-list/CommonMenuList.js +7 -13
- package/dist/web/components/wd-table/components/Table/index.d.ts +41 -63
- package/dist/web/components/wd-table/components/Table/index.js +27 -15
- package/dist/web/components/wd-table/wd-table.js +3 -3
- package/package.json +1 -1
|
@@ -79,11 +79,14 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
79
79
|
enableCellCustomOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
80
80
|
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
81
81
|
customOptionTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
82
|
-
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
83
82
|
fixedFront: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
84
83
|
fixedEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
85
84
|
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
86
85
|
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
86
|
+
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
87
|
+
rowDisabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TFunction<[import("@sinclair/typebox").TObject<{
|
|
88
|
+
record: import("@sinclair/typebox").TAny;
|
|
89
|
+
}>], import("@sinclair/typebox").TAny>>;
|
|
87
90
|
emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
88
91
|
rowColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
89
92
|
isSuspendHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -180,11 +183,14 @@ declare const config: {
|
|
|
180
183
|
enableCellCustomOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
181
184
|
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
182
185
|
customOptionTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
183
|
-
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
184
186
|
fixedFront: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
185
187
|
fixedEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
186
188
|
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
187
189
|
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
190
|
+
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
191
|
+
rowDisabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TFunction<[import("@sinclair/typebox").TObject<{
|
|
192
|
+
record: import("@sinclair/typebox").TAny;
|
|
193
|
+
}>], import("@sinclair/typebox").TAny>>;
|
|
188
194
|
emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
189
195
|
rowColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
190
196
|
isSuspendHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -397,7 +403,7 @@ declare const config: {
|
|
|
397
403
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
398
404
|
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
399
405
|
}>;
|
|
400
|
-
readonly description: "
|
|
406
|
+
readonly description: "点击数据选择(多选/单选列),改变已选中的行时触发";
|
|
401
407
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
402
408
|
}, {
|
|
403
409
|
readonly title: "查询成功";
|
|
@@ -472,11 +478,18 @@ declare const config: {
|
|
|
472
478
|
val: import("@sinclair/typebox").TString;
|
|
473
479
|
rel: import("@sinclair/typebox").TString;
|
|
474
480
|
}>;
|
|
481
|
+
filterConfig: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
482
|
+
name: import("@sinclair/typebox").TString;
|
|
483
|
+
label: import("@sinclair/typebox").TString;
|
|
484
|
+
value: import("@sinclair/typebox").TAny;
|
|
485
|
+
filterType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
486
|
+
filterTypeOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
487
|
+
}>>>;
|
|
475
488
|
}>;
|
|
476
489
|
}, {
|
|
477
490
|
readonly title: "选中行(已废弃)";
|
|
478
491
|
readonly name: "rowsSelect";
|
|
479
|
-
readonly description: "
|
|
492
|
+
readonly description: "点击数据选择(多选/单选列),改变已选中的行时触发。可通过$w.组件id.selectedRecords获取选中行的详细数据。";
|
|
480
493
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
481
494
|
}];
|
|
482
495
|
readonly meta: {
|
|
@@ -515,7 +528,7 @@ declare const config: {
|
|
|
515
528
|
}, {
|
|
516
529
|
readonly when: "$attached";
|
|
517
530
|
readonly to: "$children";
|
|
518
|
-
readonly body: "\n[attributes]\nsupportManyRelated = true\nisSupportApis = false\nisSupportMultipleSort = true\n";
|
|
531
|
+
readonly body: "\n[attributes]\nsupportManyRelated = true\nisSupportApis = false\nisSupportMultipleSort = true\n\":rowDisabled\"= \"(record)=>{\n // 可以根据给定的记录判定是否禁用(禁用的记录将不可选)\n // console.log(record)\n // 例如:\n // return record.name==='张三'\n return false\n}\"\n";
|
|
519
532
|
}];
|
|
520
533
|
readonly queryGeneratorConfig: {
|
|
521
534
|
readonly sceneConfig: {
|
|
@@ -88,6 +88,7 @@ const template = `
|
|
|
88
88
|
supportManyRelated = true
|
|
89
89
|
isSupportApis = false
|
|
90
90
|
isSupportMultipleSort = true
|
|
91
|
+
":rowDisabled"= "(record)=>{\n // 可以根据给定的记录判定是否禁用(禁用的记录将不可选)\n // console.log(record)\n // 例如:\n // return record.name==='张三'\n return false\n}"
|
|
91
92
|
`;
|
|
92
93
|
// 属性类型定义
|
|
93
94
|
const data = Type.Object({
|
|
@@ -1317,15 +1318,6 @@ const data = Type.Object({
|
|
|
1317
1318
|
'x-group': '表格列',
|
|
1318
1319
|
'x-runtime-default': '操作',
|
|
1319
1320
|
})),
|
|
1320
|
-
columnSelectType: Type.Optional(Type.StringEnum({
|
|
1321
|
-
title: '数据选择列(首列)',
|
|
1322
|
-
type: 'string',
|
|
1323
|
-
'x-index': 135,
|
|
1324
|
-
enum: Tuple(WD_TABLE_SELECT_COLUMN),
|
|
1325
|
-
'x-runtime-default': 'select',
|
|
1326
|
-
'x-group': '表格列',
|
|
1327
|
-
description: '控制表格数据选择列的样式',
|
|
1328
|
-
})),
|
|
1329
1321
|
fixedFront: Type.Optional(Type.StringEnum({
|
|
1330
1322
|
title: '左冻结',
|
|
1331
1323
|
type: 'string',
|
|
@@ -1386,9 +1378,37 @@ const data = Type.Object({
|
|
|
1386
1378
|
enableConfigTitle: false,
|
|
1387
1379
|
},
|
|
1388
1380
|
})),
|
|
1381
|
+
columnSelectType: Type.Optional(Type.StringEnum({
|
|
1382
|
+
title: '数据选择 ',
|
|
1383
|
+
type: 'string',
|
|
1384
|
+
'x-index': 160,
|
|
1385
|
+
enum: Tuple(WD_TABLE_SELECT_COLUMN),
|
|
1386
|
+
'x-runtime-default': 'select',
|
|
1387
|
+
'x-group': '表格行',
|
|
1388
|
+
description: '控制表格数据选择列的样式',
|
|
1389
|
+
'x-linkages': [
|
|
1390
|
+
{
|
|
1391
|
+
type: 'value:visible',
|
|
1392
|
+
target: 'rowDisabled',
|
|
1393
|
+
condition: '{{$self.value !== "disable"}}',
|
|
1394
|
+
},
|
|
1395
|
+
],
|
|
1396
|
+
})),
|
|
1397
|
+
rowDisabled: Type.Optional(Type.Function([
|
|
1398
|
+
Type.Object({
|
|
1399
|
+
record: Type.Any(),
|
|
1400
|
+
}),
|
|
1401
|
+
], Type.Any(), {
|
|
1402
|
+
'x-index': 161,
|
|
1403
|
+
'x-runtime-default': false,
|
|
1404
|
+
title: '禁用行选择',
|
|
1405
|
+
'x-group': '表格行',
|
|
1406
|
+
description: '禁用表格行选择功能,可以根据给定的记录判定是否禁用(禁用的记录将不可选)',
|
|
1407
|
+
'x-component': 'boolean',
|
|
1408
|
+
})),
|
|
1389
1409
|
emptyText: Type.Optional(Type.String({
|
|
1390
1410
|
'x-group': '表格行',
|
|
1391
|
-
'x-index':
|
|
1411
|
+
'x-index': 165,
|
|
1392
1412
|
type: 'string',
|
|
1393
1413
|
title: '空状态提示',
|
|
1394
1414
|
'x-runtime-default': '暂无数据',
|
|
@@ -1872,7 +1892,7 @@ const config = defineConfig({
|
|
|
1872
1892
|
description: '选中行记录',
|
|
1873
1893
|
}),
|
|
1874
1894
|
}),
|
|
1875
|
-
description: '
|
|
1895
|
+
description: '点击数据选择(多选/单选列),改变已选中的行时触发',
|
|
1876
1896
|
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
1877
1897
|
},
|
|
1878
1898
|
{
|
|
@@ -1968,12 +1988,31 @@ const config = defineConfig({
|
|
|
1968
1988
|
type: 'object',
|
|
1969
1989
|
description: '变更的目标值',
|
|
1970
1990
|
}),
|
|
1991
|
+
filterConfig: Type.Optional(Type.Array(Type.Object({
|
|
1992
|
+
name: Type.String({
|
|
1993
|
+
title: '数据源字段',
|
|
1994
|
+
type: 'string',
|
|
1995
|
+
description: '数据源字段的name值',
|
|
1996
|
+
}),
|
|
1997
|
+
label: Type.String({
|
|
1998
|
+
title: '筛选字段标题',
|
|
1999
|
+
}),
|
|
2000
|
+
value: Type.Any({
|
|
2001
|
+
title: '筛选字段值',
|
|
2002
|
+
}),
|
|
2003
|
+
filterType: Type.Optional(Type.String({
|
|
2004
|
+
title: '默认筛选计算方式',
|
|
2005
|
+
})),
|
|
2006
|
+
filterTypeOption: Type.Optional(Type.Array(Type.String({
|
|
2007
|
+
title: '筛选字段支持的计算方式列表',
|
|
2008
|
+
}))),
|
|
2009
|
+
}))),
|
|
1971
2010
|
}),
|
|
1972
2011
|
},
|
|
1973
2012
|
{
|
|
1974
2013
|
title: '选中行(已废弃)',
|
|
1975
2014
|
name: 'rowsSelect',
|
|
1976
|
-
description: '
|
|
2015
|
+
description: '点击数据选择(多选/单选列),改变已选中的行时触发。可通过$w.组件id.selectedRecords获取选中行的详细数据。',
|
|
1977
2016
|
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
1978
2017
|
},
|
|
1979
2018
|
],
|
|
@@ -66,6 +66,9 @@ const data = Type.Partial(Type.Object({
|
|
|
66
66
|
], Type.Any(), {
|
|
67
67
|
title: '上传前处理函数',
|
|
68
68
|
required: false,
|
|
69
|
+
'x-component': 'string',
|
|
70
|
+
editable: false,
|
|
71
|
+
'x-helper-text': '仅支持通过表达式传递一个函数,实现自定义上传,[详情参考](https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdUploadFile#%E4%B8%8A%E4%BC%A0%E5%89%8D%E5%A4%84%E7%90%86%E5%87%BD%E6%95%B0%E5%B1%9E%E6%80%A7)。',
|
|
69
72
|
}),
|
|
70
73
|
}, {
|
|
71
74
|
'x-category': X_CATEGORY.FILE_CONTENT,
|
|
@@ -123,6 +123,9 @@ Type.Object({
|
|
|
123
123
|
], Type.Any(), {
|
|
124
124
|
title: '上传前处理函数',
|
|
125
125
|
required: false,
|
|
126
|
+
'x-component': 'string',
|
|
127
|
+
editable: false,
|
|
128
|
+
'x-helper-text': '仅支持通过表达式传递一个函数,实现自定义上传,[详情参考](https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdUploadImage#%E4%B8%8A%E4%BC%A0%E5%89%8D%E5%A4%84%E7%90%86%E5%87%BD%E6%95%B0%E5%B1%9E%E6%80%A7)。',
|
|
126
129
|
}),
|
|
127
130
|
}, {
|
|
128
131
|
'x-category': X_CATEGORY.IMAGE_CONTENT,
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -11480,11 +11480,14 @@ export declare const components: {
|
|
|
11480
11480
|
enableCellCustomOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11481
11481
|
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11482
11482
|
customOptionTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11483
|
-
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
11484
11483
|
fixedFront: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
11485
11484
|
fixedEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
11486
11485
|
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
11487
11486
|
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
11487
|
+
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
11488
|
+
rowDisabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TFunction<[import("@sinclair/typebox").TObject<{
|
|
11489
|
+
record: import("@sinclair/typebox").TAny;
|
|
11490
|
+
}>], import("@sinclair/typebox").TAny>>;
|
|
11488
11491
|
emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11489
11492
|
rowColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11490
11493
|
isSuspendHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -11697,7 +11700,7 @@ export declare const components: {
|
|
|
11697
11700
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
11698
11701
|
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
11699
11702
|
}>;
|
|
11700
|
-
readonly description: "
|
|
11703
|
+
readonly description: "点击数据选择(多选/单选列),改变已选中的行时触发";
|
|
11701
11704
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
11702
11705
|
}, {
|
|
11703
11706
|
readonly title: "查询成功";
|
|
@@ -11772,11 +11775,18 @@ export declare const components: {
|
|
|
11772
11775
|
val: import("@sinclair/typebox").TString;
|
|
11773
11776
|
rel: import("@sinclair/typebox").TString;
|
|
11774
11777
|
}>;
|
|
11778
|
+
filterConfig: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
11779
|
+
name: import("@sinclair/typebox").TString;
|
|
11780
|
+
label: import("@sinclair/typebox").TString;
|
|
11781
|
+
value: import("@sinclair/typebox").TAny;
|
|
11782
|
+
filterType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11783
|
+
filterTypeOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
11784
|
+
}>>>;
|
|
11775
11785
|
}>;
|
|
11776
11786
|
}, {
|
|
11777
11787
|
readonly title: "选中行(已废弃)";
|
|
11778
11788
|
readonly name: "rowsSelect";
|
|
11779
|
-
readonly description: "
|
|
11789
|
+
readonly description: "点击数据选择(多选/单选列),改变已选中的行时触发。可通过$w.组件id.selectedRecords获取选中行的详细数据。";
|
|
11780
11790
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
11781
11791
|
}];
|
|
11782
11792
|
readonly meta: {
|
|
@@ -11815,7 +11825,7 @@ export declare const components: {
|
|
|
11815
11825
|
}, {
|
|
11816
11826
|
readonly when: "$attached";
|
|
11817
11827
|
readonly to: "$children";
|
|
11818
|
-
readonly body: "\n[attributes]\nsupportManyRelated = true\nisSupportApis = false\nisSupportMultipleSort = true\n";
|
|
11828
|
+
readonly body: "\n[attributes]\nsupportManyRelated = true\nisSupportApis = false\nisSupportMultipleSort = true\n\":rowDisabled\"= \"(record)=>{\n // 可以根据给定的记录判定是否禁用(禁用的记录将不可选)\n // console.log(record)\n // 例如:\n // return record.name==='张三'\n return false\n}\"\n";
|
|
11819
11829
|
}];
|
|
11820
11830
|
readonly queryGeneratorConfig: {
|
|
11821
11831
|
readonly sceneConfig: {
|
|
@@ -30957,11 +30967,14 @@ declare const _default: {
|
|
|
30957
30967
|
enableCellCustomOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
30958
30968
|
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
30959
30969
|
customOptionTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30960
|
-
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
30961
30970
|
fixedFront: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
30962
30971
|
fixedEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
30963
30972
|
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
30964
30973
|
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
30974
|
+
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
30975
|
+
rowDisabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TFunction<[import("@sinclair/typebox").TObject<{
|
|
30976
|
+
record: import("@sinclair/typebox").TAny;
|
|
30977
|
+
}>], import("@sinclair/typebox").TAny>>;
|
|
30965
30978
|
emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30966
30979
|
rowColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30967
30980
|
isSuspendHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -31174,7 +31187,7 @@ declare const _default: {
|
|
|
31174
31187
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
31175
31188
|
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
31176
31189
|
}>;
|
|
31177
|
-
readonly description: "
|
|
31190
|
+
readonly description: "点击数据选择(多选/单选列),改变已选中的行时触发";
|
|
31178
31191
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
31179
31192
|
}, {
|
|
31180
31193
|
readonly title: "查询成功";
|
|
@@ -31249,11 +31262,18 @@ declare const _default: {
|
|
|
31249
31262
|
val: import("@sinclair/typebox").TString;
|
|
31250
31263
|
rel: import("@sinclair/typebox").TString;
|
|
31251
31264
|
}>;
|
|
31265
|
+
filterConfig: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
31266
|
+
name: import("@sinclair/typebox").TString;
|
|
31267
|
+
label: import("@sinclair/typebox").TString;
|
|
31268
|
+
value: import("@sinclair/typebox").TAny;
|
|
31269
|
+
filterType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31270
|
+
filterTypeOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
31271
|
+
}>>>;
|
|
31252
31272
|
}>;
|
|
31253
31273
|
}, {
|
|
31254
31274
|
readonly title: "选中行(已废弃)";
|
|
31255
31275
|
readonly name: "rowsSelect";
|
|
31256
|
-
readonly description: "
|
|
31276
|
+
readonly description: "点击数据选择(多选/单选列),改变已选中的行时触发。可通过$w.组件id.selectedRecords获取选中行的详细数据。";
|
|
31257
31277
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
31258
31278
|
}];
|
|
31259
31279
|
readonly meta: {
|
|
@@ -31292,7 +31312,7 @@ declare const _default: {
|
|
|
31292
31312
|
}, {
|
|
31293
31313
|
readonly when: "$attached";
|
|
31294
31314
|
readonly to: "$children";
|
|
31295
|
-
readonly body: "\n[attributes]\nsupportManyRelated = true\nisSupportApis = false\nisSupportMultipleSort = true\n";
|
|
31315
|
+
readonly body: "\n[attributes]\nsupportManyRelated = true\nisSupportApis = false\nisSupportMultipleSort = true\n\":rowDisabled\"= \"(record)=>{\n // 可以根据给定的记录判定是否禁用(禁用的记录将不可选)\n // console.log(record)\n // 例如:\n // return record.name==='张三'\n return false\n}\"\n";
|
|
31296
31316
|
}];
|
|
31297
31317
|
readonly queryGeneratorConfig: {
|
|
31298
31318
|
readonly sceneConfig: {
|
package/dist/style/index.css
CHANGED
|
@@ -9771,6 +9771,71 @@ page,
|
|
|
9771
9771
|
--wd-menulayout-h5-menu-text-color: var(--wd-color-text-default);
|
|
9772
9772
|
}
|
|
9773
9773
|
|
|
9774
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left {
|
|
9775
|
+
width: 50px;
|
|
9776
|
+
transition: width 0.3s ease;
|
|
9777
|
+
}
|
|
9778
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left.wd-menulayout-body--hover {
|
|
9779
|
+
width: auto;
|
|
9780
|
+
}
|
|
9781
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left--collapsed .wd-menulayout-header__logo-wrap {
|
|
9782
|
+
overflow: hidden;
|
|
9783
|
+
width: 100%;
|
|
9784
|
+
min-width: 100%;
|
|
9785
|
+
justify-content: center;
|
|
9786
|
+
margin: 7px 0;
|
|
9787
|
+
}
|
|
9788
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left--collapsed .wd-menulayout-header__logo-wrap > div {
|
|
9789
|
+
justify-content: center;
|
|
9790
|
+
}
|
|
9791
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left--collapsed .wd-menulayout-header__logo-wrap .wd-typography {
|
|
9792
|
+
display: none;
|
|
9793
|
+
}
|
|
9794
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left--collapsed .wd-menulayout-header__logo-wrap .wd-image {
|
|
9795
|
+
max-width: 100%;
|
|
9796
|
+
}
|
|
9797
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left--collapsed .wd-menulayout-header__logo-wrap .wd-icon {
|
|
9798
|
+
max-width: 100%;
|
|
9799
|
+
}
|
|
9800
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left--collapsed .wd-menulayout-body__left-slot {
|
|
9801
|
+
width: 100%;
|
|
9802
|
+
justify-content: center;
|
|
9803
|
+
}
|
|
9804
|
+
.wd-menulayout--collapsed .wd-menulayout-body__left--collapsed .wd-menulayout-body__left-slot .wd-typography {
|
|
9805
|
+
display: none;
|
|
9806
|
+
}
|
|
9807
|
+
.wd-menulayout--collapsed .wd-menulayout__menu--collapsed .wedatea2td-menu--light .wedatea2td-menu__body {
|
|
9808
|
+
width: 100%;
|
|
9809
|
+
}
|
|
9810
|
+
.wd-menulayout--collapsed .wd-menulayout__menu--collapsed .wedatea2td-menu--light .wedatea2td-menu__submenu.is-expanded > .wedatea2td-menu__list {
|
|
9811
|
+
display: none;
|
|
9812
|
+
}
|
|
9813
|
+
.wd-menulayout--collapsed .wd-menulayout__menu--collapsed .wedatea2td-menu--light .wedatea2td-menu__submenu.has-selected-child {
|
|
9814
|
+
background: var(--wd-menulayout-header-menu-text-color-bg-checked);
|
|
9815
|
+
color: var(--wd-menulayout-header-menu-text-color-checked);
|
|
9816
|
+
}
|
|
9817
|
+
.wd-menulayout--collapsed .wd-menulayout__menu--collapsed .wedatea2td-menu--light .wedatea2td-menu__submenu.has-selected-child .wd-menulayout-menu__item-text {
|
|
9818
|
+
color: var(--wd-menulayout-header-menu-text-color-checked);
|
|
9819
|
+
}
|
|
9820
|
+
.wd-menulayout--collapsed .wd-menulayout__menu--collapsed .wedatea2td-menu--light .wedatea2td-menu__item {
|
|
9821
|
+
padding: 7px 8px;
|
|
9822
|
+
justify-content: center;
|
|
9823
|
+
width: 40px;
|
|
9824
|
+
}
|
|
9825
|
+
.wd-menulayout--collapsed .wd-menulayout__menu--collapsed .wedatea2td-menu--light .wedatea2td-icon-arrowdown {
|
|
9826
|
+
display: none;
|
|
9827
|
+
}
|
|
9828
|
+
.wd-menulayout .wd-menulayout-body__footer--collapse {
|
|
9829
|
+
padding: 5px 0;
|
|
9830
|
+
cursor: pointer;
|
|
9831
|
+
border-top: 1px solid var(--wd-menulayout-header-border);
|
|
9832
|
+
width: 100%;
|
|
9833
|
+
}
|
|
9834
|
+
.wd-menulayout .wd-menulayout-body__footer--collapse-icon {
|
|
9835
|
+
padding: 4px 8px;
|
|
9836
|
+
display: inline-block;
|
|
9837
|
+
}
|
|
9838
|
+
|
|
9774
9839
|
.wd-menulayout {
|
|
9775
9840
|
width: 100%;
|
|
9776
9841
|
height: 100vh;
|
|
@@ -9894,6 +9959,7 @@ page,
|
|
|
9894
9959
|
flex-direction: row;
|
|
9895
9960
|
align-items: center;
|
|
9896
9961
|
cursor: pointer;
|
|
9962
|
+
min-height: 21px;
|
|
9897
9963
|
}
|
|
9898
9964
|
.wd-menulayout-menu__item-icon {
|
|
9899
9965
|
width: 16px;
|