@jetlinks-web/components 3.1.0 → 3.1.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/es/AutoComplete/AutoComplete.js +1 -2
- package/es/Ellipsis/Ellipsis.js +3 -1
- package/es/ValueItem/ValueItem.js +1 -3
- package/es/ValueItem/util.js +1 -0
- package/lib/AutoComplete/AutoComplete.js +1 -2
- package/lib/Ellipsis/Ellipsis.js +3 -1
- package/lib/ValueItem/ValueItem.js +1 -3
- package/lib/ValueItem/util.js +1 -0
- package/package.json +1 -1
|
@@ -70,8 +70,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
70
70
|
_options.value = props.options || [];
|
|
71
71
|
}, { immediate: true });
|
|
72
72
|
return (_ctx, _cache) => {
|
|
73
|
-
return (_openBlock(), _createBlock(_unref(AutoComplete), _mergeProps(props, {
|
|
74
|
-
style: { "width": "100%" },
|
|
73
|
+
return (_openBlock(), _createBlock(_unref(AutoComplete), _mergeProps({ style: { "width": "100%" } }, props, {
|
|
75
74
|
options: _options.value,
|
|
76
75
|
onSearch: onSearch,
|
|
77
76
|
onDropdownVisibleChange: dropdownVisibleChange
|
package/es/Ellipsis/Ellipsis.js
CHANGED
|
@@ -162,7 +162,9 @@ const __sfc_main__ = Object.assign({
|
|
|
162
162
|
ref_key: "tooltipRef",
|
|
163
163
|
ref: tooltipRef,
|
|
164
164
|
placement: "top"
|
|
165
|
-
}, __props.tooltip, {
|
|
165
|
+
}, __props.tooltip, {
|
|
166
|
+
visible: visible.value && __props.tooltip !== false
|
|
167
|
+
}), _createSlots({
|
|
166
168
|
default: _withCtx(() => [
|
|
167
169
|
_createElementVNode("span", _mergeProps({
|
|
168
170
|
ref_key: "triggerRef",
|
|
@@ -34,7 +34,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
34
34
|
"watch": "setup-const",
|
|
35
35
|
"computed": "setup-const",
|
|
36
36
|
"componentsType": "setup-maybe-ref",
|
|
37
|
-
"MonacoEditor": "setup-maybe-ref",
|
|
38
37
|
"Select": "setup-maybe-ref",
|
|
39
38
|
"DatePicker": "setup-maybe-ref",
|
|
40
39
|
"TimePicker": "setup-maybe-ref",
|
|
@@ -42,7 +41,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
42
41
|
"InputNumber": "setup-maybe-ref",
|
|
43
42
|
"InputPassword": "setup-maybe-ref",
|
|
44
43
|
"Upload": "setup-maybe-ref",
|
|
45
|
-
"Modal": "setup-maybe-ref",
|
|
46
44
|
"omit": "setup-maybe-ref",
|
|
47
45
|
"emit": "setup-const",
|
|
48
46
|
"props": "setup-reactive-const",
|
|
@@ -74,7 +72,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
74
72
|
// 组件类型
|
|
75
73
|
itemType: {
|
|
76
74
|
type: String,
|
|
77
|
-
default:
|
|
75
|
+
default: 'string',
|
|
78
76
|
},
|
|
79
77
|
// 多选框
|
|
80
78
|
mode: {
|
package/es/ValueItem/util.js
CHANGED
|
@@ -70,8 +70,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
70
70
|
_options.value = props.options || [];
|
|
71
71
|
}, { immediate: true });
|
|
72
72
|
return (_ctx, _cache) => {
|
|
73
|
-
return (_openBlock(), _createBlock(_unref(AutoComplete), _mergeProps(props, {
|
|
74
|
-
style: { "width": "100%" },
|
|
73
|
+
return (_openBlock(), _createBlock(_unref(AutoComplete), _mergeProps({ style: { "width": "100%" } }, props, {
|
|
75
74
|
options: _options.value,
|
|
76
75
|
onSearch: onSearch,
|
|
77
76
|
onDropdownVisibleChange: dropdownVisibleChange
|
package/lib/Ellipsis/Ellipsis.js
CHANGED
|
@@ -162,7 +162,9 @@ const __sfc_main__ = Object.assign({
|
|
|
162
162
|
ref_key: "tooltipRef",
|
|
163
163
|
ref: tooltipRef,
|
|
164
164
|
placement: "top"
|
|
165
|
-
}, __props.tooltip, {
|
|
165
|
+
}, __props.tooltip, {
|
|
166
|
+
visible: visible.value && __props.tooltip !== false
|
|
167
|
+
}), _createSlots({
|
|
166
168
|
default: _withCtx(() => [
|
|
167
169
|
_createElementVNode("span", _mergeProps({
|
|
168
170
|
ref_key: "triggerRef",
|
|
@@ -34,7 +34,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
34
34
|
"watch": "setup-const",
|
|
35
35
|
"computed": "setup-const",
|
|
36
36
|
"componentsType": "setup-maybe-ref",
|
|
37
|
-
"MonacoEditor": "setup-maybe-ref",
|
|
38
37
|
"Select": "setup-maybe-ref",
|
|
39
38
|
"DatePicker": "setup-maybe-ref",
|
|
40
39
|
"TimePicker": "setup-maybe-ref",
|
|
@@ -42,7 +41,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
42
41
|
"InputNumber": "setup-maybe-ref",
|
|
43
42
|
"InputPassword": "setup-maybe-ref",
|
|
44
43
|
"Upload": "setup-maybe-ref",
|
|
45
|
-
"Modal": "setup-maybe-ref",
|
|
46
44
|
"omit": "setup-maybe-ref",
|
|
47
45
|
"emit": "setup-const",
|
|
48
46
|
"props": "setup-reactive-const",
|
|
@@ -74,7 +72,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
74
72
|
// 组件类型
|
|
75
73
|
itemType: {
|
|
76
74
|
type: String,
|
|
77
|
-
default:
|
|
75
|
+
default: 'string',
|
|
78
76
|
},
|
|
79
77
|
// 多选框
|
|
80
78
|
mode: {
|
package/lib/ValueItem/util.js
CHANGED