@cloudbase/weda-ui 3.7.5 → 3.7.6
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-form-arr.d.ts +1 -1
- package/dist/configs/components/wd-form-arr.js +1 -1
- package/dist/configs/components/wd-select-multiple.js +2 -0
- package/dist/configs/index.d.ts +2 -2
- package/dist/configs/type-utils/type-form.js +5 -4
- package/dist/style/index.scss +1 -1
- package/dist/web/components/wd-textarea/wd-textarea.js +10 -5
- package/dist/web/components/wedaVideo/index.js +5 -0
- package/package.json +1 -1
|
@@ -174,7 +174,7 @@ declare const config: {
|
|
|
174
174
|
readonly __k: "init-name-with-id";
|
|
175
175
|
}, {
|
|
176
176
|
readonly when: "$attached";
|
|
177
|
-
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nisRoot = false\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top:
|
|
177
|
+
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nisRoot = false\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top: var(--wd-card-heder-pd-bordered);\n color: var(--wd-color-brand);\n}\n\n:scope.wd-mp-icon {\n top: var(--wd-card-heder-pd-bordered);\n}\"\n[template.items.items.attributes]\nname = \"td:delete\"\nsize = \"sm\"\n[[template.items.items.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.items.items.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.items.items.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"remove\"\n[template.items.items.listeners.handler.params.params]\n\":index\" = \"$w.index_{{$self.id}}\"\n\n[[template]]\ncomponent = 'Grid'\nscopedStyle = \":scope {\n margin-top: 10px;\n width: 100%;\n}\"\n[[template.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"add\"\n[[template.items]]\ncomponent = 'Row'\n[template.items.attributes]\nalignItems = \"center\"\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n}\"\n[template.items.items.items.attributes]\nname = \"td:add-circle\"\n\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdText'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n white-space: nowrap;\n}\"\n[template.items.items.items.attributes]\ntext = \"新增\"\n{{/with}}\n";
|
|
178
178
|
}];
|
|
179
179
|
};
|
|
180
180
|
};
|
|
@@ -26,7 +26,7 @@ isRoot = false
|
|
|
26
26
|
value = {}
|
|
27
27
|
[[template.items.items]]
|
|
28
28
|
component = 'WdIcon'
|
|
29
|
-
scopedStyle = ":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top:
|
|
29
|
+
scopedStyle = ":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top: var(--wd-card-heder-pd-bordered);\n color: var(--wd-color-brand);\n}\n\n:scope.wd-mp-icon {\n top: var(--wd-card-heder-pd-bordered);\n}"
|
|
30
30
|
[template.items.items.attributes]
|
|
31
31
|
name = "td:delete"
|
|
32
32
|
size = "sm"
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -1343,7 +1343,7 @@ export declare const components: {
|
|
|
1343
1343
|
readonly __k: "init-name-with-id";
|
|
1344
1344
|
}, {
|
|
1345
1345
|
readonly when: "$attached";
|
|
1346
|
-
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nisRoot = false\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top:
|
|
1346
|
+
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nisRoot = false\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top: var(--wd-card-heder-pd-bordered);\n color: var(--wd-color-brand);\n}\n\n:scope.wd-mp-icon {\n top: var(--wd-card-heder-pd-bordered);\n}\"\n[template.items.items.attributes]\nname = \"td:delete\"\nsize = \"sm\"\n[[template.items.items.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.items.items.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.items.items.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"remove\"\n[template.items.items.listeners.handler.params.params]\n\":index\" = \"$w.index_{{$self.id}}\"\n\n[[template]]\ncomponent = 'Grid'\nscopedStyle = \":scope {\n margin-top: 10px;\n width: 100%;\n}\"\n[[template.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"add\"\n[[template.items]]\ncomponent = 'Row'\n[template.items.attributes]\nalignItems = \"center\"\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n}\"\n[template.items.items.items.attributes]\nname = \"td:add-circle\"\n\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdText'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n white-space: nowrap;\n}\"\n[template.items.items.items.attributes]\ntext = \"新增\"\n{{/with}}\n";
|
|
1347
1347
|
}];
|
|
1348
1348
|
};
|
|
1349
1349
|
};
|
|
@@ -21394,7 +21394,7 @@ declare const _default: {
|
|
|
21394
21394
|
readonly __k: "init-name-with-id";
|
|
21395
21395
|
}, {
|
|
21396
21396
|
readonly when: "$attached";
|
|
21397
|
-
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nisRoot = false\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top:
|
|
21397
|
+
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nisRoot = false\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top: var(--wd-card-heder-pd-bordered);\n color: var(--wd-color-brand);\n}\n\n:scope.wd-mp-icon {\n top: var(--wd-card-heder-pd-bordered);\n}\"\n[template.items.items.attributes]\nname = \"td:delete\"\nsize = \"sm\"\n[[template.items.items.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.items.items.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.items.items.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"remove\"\n[template.items.items.listeners.handler.params.params]\n\":index\" = \"$w.index_{{$self.id}}\"\n\n[[template]]\ncomponent = 'Grid'\nscopedStyle = \":scope {\n margin-top: 10px;\n width: 100%;\n}\"\n[[template.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"add\"\n[[template.items]]\ncomponent = 'Row'\n[template.items.attributes]\nalignItems = \"center\"\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n}\"\n[template.items.items.items.attributes]\nname = \"td:add-circle\"\n\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdText'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n white-space: nowrap;\n}\"\n[template.items.items.items.attributes]\ntext = \"新增\"\n{{/with}}\n";
|
|
21398
21398
|
}];
|
|
21399
21399
|
};
|
|
21400
21400
|
};
|
|
@@ -537,23 +537,24 @@ export const FORM_ITEM_DATA = {
|
|
|
537
537
|
'x-index': 19,
|
|
538
538
|
}),
|
|
539
539
|
staticSearchable: Type.Boolean({
|
|
540
|
-
title: '
|
|
540
|
+
title: '前端查询',
|
|
541
541
|
'x-runtime-default': X_RUNTIME_DEFAULT.staticSearchable,
|
|
542
542
|
'x-category': X_CATEGORY.COMMON,
|
|
543
|
-
'x-index':
|
|
543
|
+
'x-index': 14,
|
|
544
544
|
'x-linkages': [
|
|
545
545
|
{
|
|
546
546
|
type: 'value:visible',
|
|
547
547
|
target: 'ignoreCase',
|
|
548
|
-
condition: '{{$self.value
|
|
548
|
+
condition: '{{$self.value !== false}}',
|
|
549
549
|
},
|
|
550
550
|
],
|
|
551
|
+
description: '开启后,前端会进行模糊查询,关闭时,可以通过后端进行查询',
|
|
551
552
|
}),
|
|
552
553
|
ignoreCase: Type.Boolean({
|
|
553
554
|
title: '搜索时忽略大小写',
|
|
554
555
|
'x-runtime-default': X_RUNTIME_DEFAULT.ignoreCase,
|
|
555
556
|
'x-category': X_CATEGORY.COMMON,
|
|
556
|
-
'x-index':
|
|
557
|
+
'x-index': 15,
|
|
557
558
|
}),
|
|
558
559
|
value: Type.String({
|
|
559
560
|
title: '输入值',
|