@cloudbase/weda-ui 3.10.0 → 3.10.1
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.d.ts +4 -0
- package/dist/configs/components/wd-layout.js +12 -0
- package/dist/configs/components/wd-menu-layout.d.ts +3 -0
- package/dist/configs/components/wd-menu-layout.js +6 -0
- package/dist/configs/components/wd-menu-list.d.ts +2 -0
- package/dist/configs/components/wd-menu-list.js +6 -0
- package/dist/configs/index.d.ts +8 -0
- package/dist/style/weda-ui.min.css +1 -1
- package/dist/web/components/flow/process/constants.d.ts +10 -5
- package/dist/web/components/flow/process/constants.js +3 -2
- package/dist/web/components/flow/process/process.js +1 -1
- package/dist/web/components/form/uploader/uploader.pc.d.ts +1 -0
- package/dist/web/components/form/uploader/uploader.pc.js +5 -5
- package/dist/web/components/form/uploader/useUploadFile.js +1 -1
- package/dist/web/components/wd-layout/wd-layout.d.ts +1 -1
- package/dist/web/components/wd-layout/wd-layout.js +2 -2
- package/dist/web/components/wd-markdown/wd-markdown.js +1 -1
- package/dist/web/components/wd-menu-layout/components/PlantMenu.js +1 -1
- package/dist/web/components/wd-menu-list/CommonMenuList.js +7 -1
- package/dist/web/components/wd-menu-list/HorizontalMenuList.js +7 -1
- package/package.json +1 -1
- package/dist/style/components/grid/grid.css +0 -1288
|
@@ -4,6 +4,8 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
4
4
|
headerLeftSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
5
5
|
headerRightSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
6
6
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
7
|
+
enableHeaderSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
8
|
+
enableContentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
9
|
template: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
8
10
|
}>;
|
|
9
11
|
export type DataType = Simplify<Static<typeof data>>;
|
|
@@ -13,6 +15,8 @@ declare const config: {
|
|
|
13
15
|
headerLeftSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
14
16
|
headerRightSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
15
17
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
18
|
+
enableHeaderSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
19
|
+
enableContentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
16
20
|
template: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
17
21
|
}>;
|
|
18
22
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
@@ -4,6 +4,18 @@ const data = Type.Object({
|
|
|
4
4
|
headerLeftSlot: Type.Optional(Type.Slot({ title: '头部左侧', 'x-index': 10, 'x-group': '基础属性' })),
|
|
5
5
|
headerRightSlot: Type.Optional(Type.Slot({ title: '头部右侧', 'x-index': 20, 'x-group': '基础属性' })),
|
|
6
6
|
contentSlot: Type.Optional(Type.Slot({ title: '布局内容', 'x-index': 30, 'x-group': '基础属性' })),
|
|
7
|
+
enableHeaderSlot: Type.Optional(Type.Boolean({
|
|
8
|
+
title: '头部插槽',
|
|
9
|
+
'x-index': 50,
|
|
10
|
+
'x-runtime-default': true,
|
|
11
|
+
'x-group': '基础属性',
|
|
12
|
+
})),
|
|
13
|
+
enableContentSlot: Type.Optional(Type.Boolean({
|
|
14
|
+
title: '内容插槽',
|
|
15
|
+
'x-index': 60,
|
|
16
|
+
'x-runtime-default': true,
|
|
17
|
+
'x-group': '基础属性',
|
|
18
|
+
})),
|
|
7
19
|
template: Type.Optional(Type.StringEnum({
|
|
8
20
|
title: '布局模板',
|
|
9
21
|
type: 'string',
|
|
@@ -42,6 +42,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
42
42
|
type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
|
|
43
43
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
44
44
|
outerClickClosable: import("@sinclair/typebox").TBoolean;
|
|
45
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
45
46
|
}>;
|
|
46
47
|
export type DataType = Simplify<Static<typeof data>>;
|
|
47
48
|
export declare const configInfo: {
|
|
@@ -88,6 +89,7 @@ export declare const configInfo: {
|
|
|
88
89
|
type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
|
|
89
90
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
90
91
|
outerClickClosable: import("@sinclair/typebox").TBoolean;
|
|
92
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
91
93
|
}>;
|
|
92
94
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
93
95
|
readonly classes: readonly [{
|
|
@@ -297,6 +299,7 @@ declare const config: {
|
|
|
297
299
|
type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
|
|
298
300
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
299
301
|
outerClickClosable: import("@sinclair/typebox").TBoolean;
|
|
302
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
300
303
|
}>;
|
|
301
304
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
302
305
|
readonly classes: readonly [{
|
|
@@ -139,6 +139,12 @@ const data = Type.Object({
|
|
|
139
139
|
'x-index': 90,
|
|
140
140
|
'x-category': '基础属性',
|
|
141
141
|
}),
|
|
142
|
+
selectedMenuKey: Type.String({
|
|
143
|
+
title: '选中的菜单key',
|
|
144
|
+
default: '',
|
|
145
|
+
'x-index': 100,
|
|
146
|
+
'x-category': '基础属性',
|
|
147
|
+
}),
|
|
142
148
|
});
|
|
143
149
|
// 组件对外暴露的只读属性
|
|
144
150
|
// 未来可通过 widget API 开放,应用可以获取到组件的实例属性
|
|
@@ -87,6 +87,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
87
87
|
}>;
|
|
88
88
|
template: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal" | "plant">;
|
|
89
89
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
90
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
90
91
|
}>;
|
|
91
92
|
export type DataType = Simplify<Static<typeof data>>;
|
|
92
93
|
declare const config: {
|
|
@@ -127,6 +128,7 @@ declare const config: {
|
|
|
127
128
|
}>;
|
|
128
129
|
template: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal" | "plant">;
|
|
129
130
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
131
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
130
132
|
}>;
|
|
131
133
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
132
134
|
readonly classes: readonly [{
|
|
@@ -134,6 +134,12 @@ const data = Type.Object({
|
|
|
134
134
|
'x-index': 30,
|
|
135
135
|
'x-category': '基础属性',
|
|
136
136
|
}),
|
|
137
|
+
selectedMenuKey: Type.String({
|
|
138
|
+
title: '选中的菜单key',
|
|
139
|
+
default: '',
|
|
140
|
+
'x-index': 40,
|
|
141
|
+
'x-category': '基础属性',
|
|
142
|
+
}),
|
|
137
143
|
});
|
|
138
144
|
// 组件对外暴露的只读属性
|
|
139
145
|
// 未来可通过 widget API 开放,应用可以获取到组件的实例属性
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -13845,6 +13845,8 @@ export declare const components: {
|
|
|
13845
13845
|
headerLeftSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
13846
13846
|
headerRightSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
13847
13847
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
13848
|
+
enableHeaderSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13849
|
+
enableContentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13848
13850
|
template: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
13849
13851
|
}>;
|
|
13850
13852
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
@@ -18607,6 +18609,7 @@ export declare const components: {
|
|
|
18607
18609
|
type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
|
|
18608
18610
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
18609
18611
|
outerClickClosable: import("@sinclair/typebox").TBoolean;
|
|
18612
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
18610
18613
|
}>;
|
|
18611
18614
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
18612
18615
|
readonly classes: readonly [{
|
|
@@ -19002,6 +19005,7 @@ export declare const components: {
|
|
|
19002
19005
|
}>;
|
|
19003
19006
|
template: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal" | "plant">;
|
|
19004
19007
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
19008
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
19005
19009
|
}>;
|
|
19006
19010
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
19007
19011
|
readonly classes: readonly [{
|
|
@@ -33869,6 +33873,8 @@ declare const _default: {
|
|
|
33869
33873
|
headerLeftSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
33870
33874
|
headerRightSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
33871
33875
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
33876
|
+
enableHeaderSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33877
|
+
enableContentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33872
33878
|
template: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33873
33879
|
}>;
|
|
33874
33880
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
@@ -38631,6 +38637,7 @@ declare const _default: {
|
|
|
38631
38637
|
type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
|
|
38632
38638
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
38633
38639
|
outerClickClosable: import("@sinclair/typebox").TBoolean;
|
|
38640
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
38634
38641
|
}>;
|
|
38635
38642
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
38636
38643
|
readonly classes: readonly [{
|
|
@@ -39026,6 +39033,7 @@ declare const _default: {
|
|
|
39026
39033
|
}>;
|
|
39027
39034
|
template: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal" | "plant">;
|
|
39028
39035
|
defaultOpened: import("@sinclair/typebox").TBoolean;
|
|
39036
|
+
selectedMenuKey: import("@sinclair/typebox").TString;
|
|
39029
39037
|
}>;
|
|
39030
39038
|
readonly properties: import("@sinclair/typebox").TObject<{}>;
|
|
39031
39039
|
readonly classes: readonly [{
|