@cloudbase/weda-ui 3.13.1 → 3.13.2
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-upload-image.d.ts +7 -2
- package/dist/configs/components/wd-upload-image.js +40 -6
- package/dist/configs/index.d.ts +14 -4
- package/dist/configs/type-utils/classes.js +1 -1
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/echart/echart.js +3 -4
- package/dist/web/components/form/uploader/uploader.h5.js +14 -17
- package/dist/web/components/form/uploader/uploader.pc.js +3 -3
- package/dist/web/components/wd-location/wd-location.css +7 -10
- package/dist/web/components/wd-location/wd-location.js +4 -0
- package/dist/web/components/wd-select/relationSelect/relationSelect.js +8 -3
- package/dist/web/components/wd-select/select/selectUI.js +1 -1
- package/dist/web/components/wd-select/wd-select.css +12 -22
- package/dist/web/components/wd-table/components/FieldRender/index.d.ts +3 -3
- package/dist/web/components/wd-table/components/FieldRender/index.js +31 -46
- package/dist/web/components/wd-table/hooks/useChooseList.d.ts +2 -1
- package/dist/web/components/wd-table/hooks/useChooseList.js +15 -3
- package/dist/web/utils/moment.js +3 -0
- package/package.json +4 -4
|
@@ -104,11 +104,16 @@ declare const config: {
|
|
|
104
104
|
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
105
105
|
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
106
106
|
}>;
|
|
107
|
-
classes: {
|
|
107
|
+
classes: ({
|
|
108
108
|
name: string;
|
|
109
109
|
selector: string;
|
|
110
110
|
description: string;
|
|
111
|
-
}
|
|
111
|
+
} | {
|
|
112
|
+
name: string;
|
|
113
|
+
selector: string;
|
|
114
|
+
description: string;
|
|
115
|
+
code: string;
|
|
116
|
+
})[];
|
|
112
117
|
methods: {
|
|
113
118
|
name: string;
|
|
114
119
|
label: string;
|
|
@@ -122,24 +122,58 @@ const classes = [
|
|
|
122
122
|
...getFormItemClasses('upload-image', { isInput: false }),
|
|
123
123
|
...[
|
|
124
124
|
{
|
|
125
|
-
name: '
|
|
125
|
+
name: 'PC端图片上传点击区域容器样式',
|
|
126
|
+
selector: `.weda-uploader-btn__box`,
|
|
127
|
+
description: 'PC端图片上传点击区域容器样式',
|
|
128
|
+
code: `
|
|
129
|
+
:scope .weda-uploader-btn__box {
|
|
130
|
+
background: #fafafa;
|
|
131
|
+
border:1px dashed #d9d9d9 !important;
|
|
132
|
+
border-radius: 10px;
|
|
133
|
+
}
|
|
134
|
+
`,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'H5、小程序端图片上传点击区域容器样式',
|
|
126
138
|
selector: `.weui-uploader__input-box`,
|
|
127
|
-
description: '
|
|
139
|
+
description: 'H5、小程序端图片上传点击区域容器样式',
|
|
140
|
+
code: `
|
|
141
|
+
:scope .weui-uploader__input-box {
|
|
142
|
+
background: #fff;
|
|
143
|
+
border:1px dashed #d9d9d9;
|
|
144
|
+
}
|
|
145
|
+
`,
|
|
128
146
|
},
|
|
129
147
|
{
|
|
130
|
-
name: '
|
|
148
|
+
name: 'H5、小程序端图片上传的 + 号竖线样式',
|
|
131
149
|
selector: `.weui-uploader__input-box::before `,
|
|
132
150
|
description: '图片上传的 + 号竖线样式',
|
|
151
|
+
code: `
|
|
152
|
+
:scope .weui-uploader__input-box::before {
|
|
153
|
+
background: #fff;
|
|
154
|
+
content: '+';
|
|
155
|
+
width: 10px;
|
|
156
|
+
top:40%;
|
|
157
|
+
}
|
|
158
|
+
`,
|
|
133
159
|
},
|
|
134
160
|
{
|
|
135
|
-
name: '
|
|
161
|
+
name: 'H5、小程序端图片上传的 + 号横线样式',
|
|
136
162
|
selector: `.weui-uploader__input-box::after `,
|
|
137
163
|
description: '图片上传的 + 号横线样式',
|
|
164
|
+
code: `
|
|
165
|
+
:scope .weui-uploader__input-box::after {
|
|
166
|
+
background: #fff;
|
|
167
|
+
width: 50px;
|
|
168
|
+
content: '上传图片';
|
|
169
|
+
font-size: 12px;
|
|
170
|
+
}
|
|
171
|
+
`,
|
|
138
172
|
},
|
|
139
173
|
{
|
|
140
|
-
name: '
|
|
174
|
+
name: 'H5、小程序端图片展示容器样式',
|
|
141
175
|
selector: `weui-uploader__file`,
|
|
142
|
-
description: '
|
|
176
|
+
description: 'H5、小程序端图片展示容器样式',
|
|
143
177
|
},
|
|
144
178
|
],
|
|
145
179
|
];
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -15718,11 +15718,16 @@ export declare const components: {
|
|
|
15718
15718
|
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15719
15719
|
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15720
15720
|
}>;
|
|
15721
|
-
classes: {
|
|
15721
|
+
classes: ({
|
|
15722
15722
|
name: string;
|
|
15723
15723
|
selector: string;
|
|
15724
15724
|
description: string;
|
|
15725
|
-
}
|
|
15725
|
+
} | {
|
|
15726
|
+
name: string;
|
|
15727
|
+
selector: string;
|
|
15728
|
+
description: string;
|
|
15729
|
+
code: string;
|
|
15730
|
+
})[];
|
|
15726
15731
|
methods: {
|
|
15727
15732
|
name: string;
|
|
15728
15733
|
label: string;
|
|
@@ -35253,11 +35258,16 @@ declare const _default: {
|
|
|
35253
35258
|
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
35254
35259
|
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
35255
35260
|
}>;
|
|
35256
|
-
classes: {
|
|
35261
|
+
classes: ({
|
|
35257
35262
|
name: string;
|
|
35258
35263
|
selector: string;
|
|
35259
35264
|
description: string;
|
|
35260
|
-
}
|
|
35265
|
+
} | {
|
|
35266
|
+
name: string;
|
|
35267
|
+
selector: string;
|
|
35268
|
+
description: string;
|
|
35269
|
+
code: string;
|
|
35270
|
+
})[];
|
|
35261
35271
|
methods: {
|
|
35262
35272
|
name: string;
|
|
35263
35273
|
label: string;
|
|
@@ -134,7 +134,7 @@ export const getClasses = (classRoot, options = {}) => {
|
|
|
134
134
|
input_edit: {
|
|
135
135
|
name: `编辑态-${kind}样式`,
|
|
136
136
|
selector: `${ROOT_SELECTOR} .wd-form-input-wrap`,
|
|
137
|
-
description: '
|
|
137
|
+
description: '组件边框、边距样式、背景色、字体大小、字体颜色等',
|
|
138
138
|
code: `
|
|
139
139
|
:scope .wd-form-input-wrap {
|
|
140
140
|
font-size: 20px;
|