@cloudbase/weda-ui 3.15.0 → 3.15.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-member.d.ts +2 -0
- package/dist/configs/components/wd-member.js +1 -1
- package/dist/configs/components/wd-select-multiple.js +2 -2
- package/dist/configs/index.d.ts +2 -0
- package/dist/configs/type-utils/type-form.js +3 -3
- package/dist/style/index.css +41 -0
- package/dist/style/index.scss +1 -1
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/wd-textarea/wd-textarea.js +2 -24
- package/package.json +1 -1
- package/dist/web/components/wd-textarea/calcTextareaHeight.d.ts +0 -1
- package/dist/web/components/wd-textarea/calcTextareaHeight.js +0 -45
|
@@ -35,6 +35,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
35
35
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
36
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
37
37
|
title: string;
|
|
38
|
+
default: any;
|
|
38
39
|
}>;
|
|
39
40
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
40
41
|
default: string;
|
|
@@ -78,6 +79,7 @@ declare const config: {
|
|
|
78
79
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
79
80
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
80
81
|
title: string;
|
|
82
|
+
default: any;
|
|
81
83
|
}>;
|
|
82
84
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
83
85
|
default: string;
|
|
@@ -23,7 +23,7 @@ const TITLE = getFormItemDataTitle('成员');
|
|
|
23
23
|
const data = Type.Partial(Type.Object({
|
|
24
24
|
// 通用
|
|
25
25
|
name: FORM_ITEM_DATA.name,
|
|
26
|
-
value: Object.assign({}, FORM_ITEM_DATA.value, { title: '选中值' }),
|
|
26
|
+
value: Object.assign({}, FORM_ITEM_DATA.value, { title: '选中值', default: null }),
|
|
27
27
|
placeholder: Object.assign({}, FORM_ITEM_DATA.placeholder, {
|
|
28
28
|
default: '请选择成员',
|
|
29
29
|
}),
|
|
@@ -272,11 +272,11 @@ const data = Type.Partial(Type.Object({
|
|
|
272
272
|
// where: 升级v2协议前的筛选器
|
|
273
273
|
// queryCondition: 升级v2协议后的筛选器
|
|
274
274
|
// supportManyRelated 用来辅助用户主动升级筛选器
|
|
275
|
-
//
|
|
275
|
+
// 默认未主动选择升级筛选器时,展示升级开关,点击升级后不再展示,一次性操作
|
|
276
276
|
{
|
|
277
277
|
type: 'value:state',
|
|
278
278
|
target: 'supportManyRelated',
|
|
279
|
-
condition: `{{
|
|
279
|
+
condition: `{{!$form.values.supportManyRelated&&${MULTIPLE_FOREIGN_FORMATS()}}}`,
|
|
280
280
|
state: {
|
|
281
281
|
display: true,
|
|
282
282
|
value: false,
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -15767,6 +15767,7 @@ export declare const components: {
|
|
|
15767
15767
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15768
15768
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
15769
15769
|
title: string;
|
|
15770
|
+
default: any;
|
|
15770
15771
|
}>;
|
|
15771
15772
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
15772
15773
|
default: string;
|
|
@@ -34942,6 +34943,7 @@ declare const _default: {
|
|
|
34942
34943
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
34943
34944
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
34944
34945
|
title: string;
|
|
34946
|
+
default: any;
|
|
34945
34947
|
}>;
|
|
34946
34948
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
34947
34949
|
default: string;
|
|
@@ -1034,7 +1034,7 @@ export const FORM_ITEM_DATA = {
|
|
|
1034
1034
|
}),
|
|
1035
1035
|
autoHeight: Type.Boolean({
|
|
1036
1036
|
title: '是否自动增高',
|
|
1037
|
-
description: '是否自动增高,设置auto-height
|
|
1037
|
+
description: '是否自动增高,设置style.height时,auto-height不生效。',
|
|
1038
1038
|
'x-runtime-default': X_RUNTIME_DEFAULT.autoHeight,
|
|
1039
1039
|
'x-index': 215,
|
|
1040
1040
|
'x-category': X_CATEGORY.INPUT_BOX,
|
|
@@ -1723,11 +1723,11 @@ export const FORM_ITEM_DATA = {
|
|
|
1723
1723
|
// where: 升级v2协议前的筛选器
|
|
1724
1724
|
// queryCondition: 升级v2协议后的筛选器
|
|
1725
1725
|
// supportManyRelated 用来辅助用户主动升级筛选器
|
|
1726
|
-
//
|
|
1726
|
+
// 默认未主动选择升级筛选器时,展示升级开关,点击升级后不再展示,一次性操作
|
|
1727
1727
|
{
|
|
1728
1728
|
type: 'value:state',
|
|
1729
1729
|
target: 'supportManyRelated',
|
|
1730
|
-
condition:
|
|
1730
|
+
condition: `{{!$form.values.supportManyRelated&&${SINGLE_FOREIGN_FORMATS()}}}`,
|
|
1731
1731
|
state: {
|
|
1732
1732
|
display: true,
|
|
1733
1733
|
},
|
package/dist/style/index.css
CHANGED
|
@@ -5161,6 +5161,47 @@ textarea {
|
|
|
5161
5161
|
height: var(--wd-form-textarea-wrap-height-md);
|
|
5162
5162
|
}
|
|
5163
5163
|
|
|
5164
|
+
.wd-textarea__content {
|
|
5165
|
+
position: relative;
|
|
5166
|
+
width: 100%;
|
|
5167
|
+
height: calc(100% - 20px);
|
|
5168
|
+
}
|
|
5169
|
+
.wd-textarea__content .wd-textarea__content_text {
|
|
5170
|
+
visibility: hidden;
|
|
5171
|
+
pointer-events: none;
|
|
5172
|
+
font-size: inherit;
|
|
5173
|
+
line-height: inherit;
|
|
5174
|
+
word-break: break-word;
|
|
5175
|
+
white-space: pre-wrap;
|
|
5176
|
+
border: none;
|
|
5177
|
+
width: 100%;
|
|
5178
|
+
margin: 0;
|
|
5179
|
+
padding: 0;
|
|
5180
|
+
font-family: inherit;
|
|
5181
|
+
display: block;
|
|
5182
|
+
overflow: auto;
|
|
5183
|
+
min-height: var(--wd-form-textarea-wrap-restriction-height-md);
|
|
5184
|
+
}
|
|
5185
|
+
.wd-textarea__content .wd-textarea__content_input {
|
|
5186
|
+
position: absolute;
|
|
5187
|
+
resize: none;
|
|
5188
|
+
font-size: inherit;
|
|
5189
|
+
line-height: inherit;
|
|
5190
|
+
word-break: break-word;
|
|
5191
|
+
white-space: pre-wrap;
|
|
5192
|
+
border: none;
|
|
5193
|
+
width: 100%;
|
|
5194
|
+
margin: 0;
|
|
5195
|
+
padding: 0;
|
|
5196
|
+
font-family: inherit;
|
|
5197
|
+
display: block;
|
|
5198
|
+
top: 0;
|
|
5199
|
+
bottom: 0;
|
|
5200
|
+
left: 0;
|
|
5201
|
+
right: 0;
|
|
5202
|
+
overflow: auto;
|
|
5203
|
+
}
|
|
5204
|
+
|
|
5164
5205
|
.wd-form-input-group {
|
|
5165
5206
|
--wd-form-input-group-border-radius: var(--wd-border-radius);
|
|
5166
5207
|
--wd-form-input-group-text-default: var(--wd-color-text-form-default);
|