@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.
@@ -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
@@ -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, { visible: visible.value }), _createSlots({
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: () => 'string',
75
+ default: 'string',
78
76
  },
79
77
  // 多选框
80
78
  mode: {
@@ -7,6 +7,7 @@ export var componentsType = {
7
7
  array: 'input',
8
8
  password: 'password',
9
9
  enum: 'select',
10
+ select: 'select',
10
11
  boolean: 'select',
11
12
  date: 'date',
12
13
  time: 'time',
@@ -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
@@ -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, { visible: visible.value }), _createSlots({
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: () => 'string',
75
+ default: 'string',
78
76
  },
79
77
  // 多选框
80
78
  mode: {
@@ -13,6 +13,7 @@ var componentsType = exports.componentsType = {
13
13
  array: 'input',
14
14
  password: 'password',
15
15
  enum: 'select',
16
+ select: 'select',
16
17
  boolean: 'select',
17
18
  date: 'date',
18
19
  time: 'time',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",