@cloudbase/weda-ui 3.10.1 → 3.10.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/wd-layout.js +0 -1
- package/dist/configs/components/wd-menu-layout.js +1 -1
- package/dist/configs/components/wd-menu-list.js +1 -1
- package/dist/configs/components/wd-tabbar.js +1 -1
- package/dist/configs/components/wd-table.d.ts +12 -0
- package/dist/configs/components/wd-table.js +33 -0
- package/dist/configs/index.d.ts +24 -0
- package/dist/style/index.css +13 -0
- package/dist/style/index.scss +1 -1
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/form/uploader/uploader.h5.js +1 -1
- package/dist/web/components/form/uploader/uploader.pc.js +1 -1
- package/dist/web/components/form/uploader/util.d.ts +1 -0
- package/dist/web/components/form/uploader/util.js +2 -1
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +4 -3
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +3 -1
- package/dist/web/components/formdetail/index.css +0 -6
- package/dist/web/components/wd-menu-list/CommonMenuList.js +1 -1
- package/dist/web/components/wd-menu-list/HorizontalMenuList.js +1 -1
- package/dist/web/components/wd-table/components/FieldRender/index.js +4 -4
- package/dist/web/components/wd-table/components/ModalTable/index.js +1 -1
- package/dist/web/components/wd-table/components/Table/index.d.ts +4 -2
- package/dist/web/components/wd-table/components/Table/index.js +12 -3
- package/dist/web/components/wd-table/wd-table.js +8 -3
- package/dist/web/components/wd-textarea/wd-textarea.js +5 -2
- package/package.json +1 -1
|
@@ -227,7 +227,7 @@ export const configInfo = {
|
|
|
227
227
|
key: Type.Optional(Type.String({ title: '选中菜单key值' })),
|
|
228
228
|
item: Type.Optional(Object.assign({}, Node, { title: '选中菜单项' })),
|
|
229
229
|
}, { title: '选中项信息' }),
|
|
230
|
-
isNavigate: Type.Boolean({ title: '
|
|
230
|
+
isNavigate: Type.Boolean({ title: '是否跳转菜单链接' }),
|
|
231
231
|
},
|
|
232
232
|
},
|
|
233
233
|
},
|
|
@@ -187,7 +187,7 @@ const config = defineConfig({
|
|
|
187
187
|
key: Type.Optional(Type.String({ title: '选中菜单key值' })),
|
|
188
188
|
item: Type.Optional(Object.assign({}, Node, { title: '选中菜单项' })),
|
|
189
189
|
}, { title: '选中项信息' }),
|
|
190
|
-
isNavigate: Type.Boolean({ title: '
|
|
190
|
+
isNavigate: Type.Boolean({ title: '是否跳转菜单链接' }),
|
|
191
191
|
}),
|
|
192
192
|
},
|
|
193
193
|
],
|
|
@@ -351,6 +351,18 @@ declare const config: {
|
|
|
351
351
|
}>;
|
|
352
352
|
readonly description: "点击表格某一行时触发";
|
|
353
353
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
354
|
+
}, {
|
|
355
|
+
readonly title: "点击表格列";
|
|
356
|
+
readonly name: "cellClick";
|
|
357
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
358
|
+
record: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
359
|
+
column: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
360
|
+
rowKey: import("@sinclair/typebox").TString;
|
|
361
|
+
recordIndex: import("@sinclair/typebox").TNumber;
|
|
362
|
+
columnIndex: import("@sinclair/typebox").TNumber;
|
|
363
|
+
}>;
|
|
364
|
+
readonly description: "点击表格某一行时触发";
|
|
365
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
354
366
|
}, {
|
|
355
367
|
readonly title: "选中行改变";
|
|
356
368
|
readonly name: "rowsSelected";
|
|
@@ -1729,6 +1729,39 @@ const config = defineConfig({
|
|
|
1729
1729
|
description: '点击表格某一行时触发',
|
|
1730
1730
|
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
1731
1731
|
},
|
|
1732
|
+
{
|
|
1733
|
+
title: '点击表格列',
|
|
1734
|
+
name: 'cellClick',
|
|
1735
|
+
detail: Type.Object({
|
|
1736
|
+
record: Type.Array(Type.Object({}), {
|
|
1737
|
+
title: '选中行记录',
|
|
1738
|
+
type: 'array',
|
|
1739
|
+
description: '选中行记录',
|
|
1740
|
+
}),
|
|
1741
|
+
column: Type.Array(Type.Object({}), {
|
|
1742
|
+
title: '选中列表头',
|
|
1743
|
+
type: 'array',
|
|
1744
|
+
description: '选中列表头',
|
|
1745
|
+
}),
|
|
1746
|
+
rowKey: Type.String({
|
|
1747
|
+
title: '选中行记录id',
|
|
1748
|
+
type: 'string',
|
|
1749
|
+
description: '选中行记录id',
|
|
1750
|
+
}),
|
|
1751
|
+
recordIndex: Type.Number({
|
|
1752
|
+
title: '选中行index',
|
|
1753
|
+
type: 'number',
|
|
1754
|
+
description: '选中行index',
|
|
1755
|
+
}),
|
|
1756
|
+
columnIndex: Type.Number({
|
|
1757
|
+
title: '选中列index',
|
|
1758
|
+
type: 'number',
|
|
1759
|
+
description: '选中列index',
|
|
1760
|
+
}),
|
|
1761
|
+
}),
|
|
1762
|
+
description: '点击表格某一行时触发',
|
|
1763
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
1764
|
+
},
|
|
1732
1765
|
{
|
|
1733
1766
|
title: '选中行改变',
|
|
1734
1767
|
name: 'rowsSelected',
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -12690,6 +12690,18 @@ export declare const components: {
|
|
|
12690
12690
|
}>;
|
|
12691
12691
|
readonly description: "点击表格某一行时触发";
|
|
12692
12692
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
12693
|
+
}, {
|
|
12694
|
+
readonly title: "点击表格列";
|
|
12695
|
+
readonly name: "cellClick";
|
|
12696
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
12697
|
+
record: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
12698
|
+
column: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
12699
|
+
rowKey: import("@sinclair/typebox").TString;
|
|
12700
|
+
recordIndex: import("@sinclair/typebox").TNumber;
|
|
12701
|
+
columnIndex: import("@sinclair/typebox").TNumber;
|
|
12702
|
+
}>;
|
|
12703
|
+
readonly description: "点击表格某一行时触发";
|
|
12704
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
12693
12705
|
}, {
|
|
12694
12706
|
readonly title: "选中行改变";
|
|
12695
12707
|
readonly name: "rowsSelected";
|
|
@@ -32718,6 +32730,18 @@ declare const _default: {
|
|
|
32718
32730
|
}>;
|
|
32719
32731
|
readonly description: "点击表格某一行时触发";
|
|
32720
32732
|
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
32733
|
+
}, {
|
|
32734
|
+
readonly title: "点击表格列";
|
|
32735
|
+
readonly name: "cellClick";
|
|
32736
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
32737
|
+
record: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
32738
|
+
column: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
32739
|
+
rowKey: import("@sinclair/typebox").TString;
|
|
32740
|
+
recordIndex: import("@sinclair/typebox").TNumber;
|
|
32741
|
+
columnIndex: import("@sinclair/typebox").TNumber;
|
|
32742
|
+
}>;
|
|
32743
|
+
readonly description: "点击表格某一行时触发";
|
|
32744
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
32721
32745
|
}, {
|
|
32722
32746
|
readonly title: "选中行改变";
|
|
32723
32747
|
readonly name: "rowsSelected";
|
package/dist/style/index.css
CHANGED
|
@@ -3243,6 +3243,9 @@ _:-ms-lang(x)::backdrop,
|
|
|
3243
3243
|
.wd-table__body tr:hover .wd-text-with-icon .wd-icon {
|
|
3244
3244
|
visibility: visible;
|
|
3245
3245
|
}
|
|
3246
|
+
.wd-table__body .wd-tag__text {
|
|
3247
|
+
max-width: 100px;
|
|
3248
|
+
}
|
|
3246
3249
|
|
|
3247
3250
|
.wd-table-scroll-wrap.wd-table--status {
|
|
3248
3251
|
position: relative;
|
|
@@ -4894,6 +4897,9 @@ textarea {
|
|
|
4894
4897
|
display: flex;
|
|
4895
4898
|
align-items: center;
|
|
4896
4899
|
}
|
|
4900
|
+
.wd-form-input-wrap__content .weui-cell_active:active::after {
|
|
4901
|
+
background-color: unset;
|
|
4902
|
+
}
|
|
4897
4903
|
.wd-form-input-wrap.wd-input-input-search.template.search-box.color-grey.is-pc-bordered {
|
|
4898
4904
|
background-color: #f2f2f2;
|
|
4899
4905
|
border-color: #f2f2f2;
|
|
@@ -6173,6 +6179,10 @@ textarea {
|
|
|
6173
6179
|
cursor: not-allowed;
|
|
6174
6180
|
}
|
|
6175
6181
|
|
|
6182
|
+
.wd-mp-form-item .wd-form-select_input {
|
|
6183
|
+
cursor: unset;
|
|
6184
|
+
}
|
|
6185
|
+
|
|
6176
6186
|
.wd-switch {
|
|
6177
6187
|
--wd-switch-bg-default-checked: var(--wd-color-brand);
|
|
6178
6188
|
--wd-switch-bg-default-checked-disabled: var(--wd-color-brand-disabled);
|
|
@@ -10287,6 +10297,9 @@ page,
|
|
|
10287
10297
|
.wd-mp-tabbar .wd-tabbar__item {
|
|
10288
10298
|
cursor: unset;
|
|
10289
10299
|
}
|
|
10300
|
+
.wd-mp-tabbar .wd-tabbar__item-icon {
|
|
10301
|
+
display: contents;
|
|
10302
|
+
}
|
|
10290
10303
|
|
|
10291
10304
|
.wd-form-obj-root {
|
|
10292
10305
|
display: flex;
|