@jetlinks-web/components 2.0.4-3 → 2.0.4-5

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.
@@ -25,7 +25,7 @@
25
25
  "syncCursorStyle": "setup-const",
26
26
  "getTooltipDisabled": "setup-const"
27
27
  } */
28
- import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock } from "vue";
28
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, mergeProps as _mergeProps, unref as _unref, withCtx as _withCtx, createSlots as _createSlots, openBlock as _openBlock, createBlock as _createBlock } from "vue";
29
29
  import { Tooltip } from 'ant-design-vue';
30
30
  import { computed, mergeProps, ref, useAttrs } from 'vue';
31
31
  const jEllipsis = 'j-ellipsis';
@@ -154,17 +154,8 @@ const __sfc_main__ = Object.assign({
154
154
  ref_key: "tooltipRef",
155
155
  ref: tooltipRef,
156
156
  placement: "top"
157
- }, __props.tooltip, { visible: visible.value }), {
157
+ }, __props.tooltip, { visible: visible.value }), _createSlots({
158
158
  default: _withCtx(() => [
159
- (__props.tooltip)
160
- ? (_openBlock(), _createElementBlock("div", {
161
- key: 0,
162
- class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
163
- }, [
164
- _renderSlot(_ctx.$slots, "default"),
165
- _renderSlot(_ctx.$slots, "tooltip")
166
- ], 2 /* CLASS */))
167
- : _createCommentVNode("v-if", true),
168
159
  _createElementVNode("span", _mergeProps({
169
160
  ref_key: "triggerRef",
170
161
  ref: triggerRef
@@ -174,10 +165,27 @@ const __sfc_main__ = Object.assign({
174
165
  onMouseenter: _cache[2] || (_cache[2] = $event => (props.expandTrigger === 'click'
175
166
  ? getTooltipDisabled()
176
167
  : showTooltip()))
177
- }), null, 16 /* FULL_PROPS */)
168
+ }), [
169
+ _renderSlot(_ctx.$slots, "default")
170
+ ], 16 /* FULL_PROPS */)
178
171
  ]),
179
- _: 3 /* FORWARDED */
180
- }, 16 /* FULL_PROPS */, ["visible"]));
172
+ _: 2 /* DYNAMIC */
173
+ }, [
174
+ (__props.tooltip)
175
+ ? {
176
+ name: "title",
177
+ fn: _withCtx(() => [
178
+ _createElementVNode("div", {
179
+ class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
180
+ }, [
181
+ _renderSlot(_ctx.$slots, "default"),
182
+ _renderSlot(_ctx.$slots, "tooltip")
183
+ ], 2 /* CLASS */)
184
+ ]),
185
+ key: "0"
186
+ }
187
+ : undefined
188
+ ]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["visible"]));
181
189
  };
182
190
  }
183
191
  });
@@ -6,7 +6,7 @@
6
6
  } */
7
7
  import { defineComponent as _defineComponent } from 'vue';
8
8
  import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
9
- const _withScopeId = n => (_pushScopeId("data-v-1712917231108"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1712917798427"), n = n(), _popScopeId(), n);
10
10
  const _hoisted_1 = { class: "full-page-warp-content" };
11
11
  import { ref } from 'vue';
12
12
  import { useElementBounding } from '@vueuse/core';
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1712917233652"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1712917799796"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
package/es/Search/Item.js CHANGED
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
81
- const _withScopeId = n => (_pushScopeId("data-v-1712917232127"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1712917798931"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
39
- const _withScopeId = n => (_pushScopeId("data-v-1712917232638"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1712917799134"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
@@ -25,7 +25,7 @@
25
25
  "syncCursorStyle": "setup-const",
26
26
  "getTooltipDisabled": "setup-const"
27
27
  } */
28
- import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock } from "vue";
28
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, mergeProps as _mergeProps, unref as _unref, withCtx as _withCtx, createSlots as _createSlots, openBlock as _openBlock, createBlock as _createBlock } from "vue";
29
29
  import { Tooltip } from 'ant-design-vue';
30
30
  import { computed, mergeProps, ref, useAttrs } from 'vue';
31
31
  const jEllipsis = 'j-ellipsis';
@@ -154,17 +154,8 @@ const __sfc_main__ = Object.assign({
154
154
  ref_key: "tooltipRef",
155
155
  ref: tooltipRef,
156
156
  placement: "top"
157
- }, __props.tooltip, { visible: visible.value }), {
157
+ }, __props.tooltip, { visible: visible.value }), _createSlots({
158
158
  default: _withCtx(() => [
159
- (__props.tooltip)
160
- ? (_openBlock(), _createElementBlock("div", {
161
- key: 0,
162
- class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
163
- }, [
164
- _renderSlot(_ctx.$slots, "default"),
165
- _renderSlot(_ctx.$slots, "tooltip")
166
- ], 2 /* CLASS */))
167
- : _createCommentVNode("v-if", true),
168
159
  _createElementVNode("span", _mergeProps({
169
160
  ref_key: "triggerRef",
170
161
  ref: triggerRef
@@ -174,10 +165,27 @@ const __sfc_main__ = Object.assign({
174
165
  onMouseenter: _cache[2] || (_cache[2] = $event => (props.expandTrigger === 'click'
175
166
  ? getTooltipDisabled()
176
167
  : showTooltip()))
177
- }), null, 16 /* FULL_PROPS */)
168
+ }), [
169
+ _renderSlot(_ctx.$slots, "default")
170
+ ], 16 /* FULL_PROPS */)
178
171
  ]),
179
- _: 3 /* FORWARDED */
180
- }, 16 /* FULL_PROPS */, ["visible"]));
172
+ _: 2 /* DYNAMIC */
173
+ }, [
174
+ (__props.tooltip)
175
+ ? {
176
+ name: "title",
177
+ fn: _withCtx(() => [
178
+ _createElementVNode("div", {
179
+ class: _normalizeClass([jEllipsisLineClampClass, jEllipsis, 'j-ellipsis-deep'])
180
+ }, [
181
+ _renderSlot(_ctx.$slots, "default"),
182
+ _renderSlot(_ctx.$slots, "tooltip")
183
+ ], 2 /* CLASS */)
184
+ ]),
185
+ key: "0"
186
+ }
187
+ : undefined
188
+ ]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["visible"]));
181
189
  };
182
190
  }
183
191
  });
@@ -6,7 +6,7 @@
6
6
  } */
7
7
  import { defineComponent as _defineComponent } from 'vue';
8
8
  import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
9
- const _withScopeId = n => (_pushScopeId("data-v-1712917231096"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1712917798421"), n = n(), _popScopeId(), n);
10
10
  const _hoisted_1 = { class: "full-page-warp-content" };
11
11
  import { ref } from 'vue';
12
12
  import { useElementBounding } from '@vueuse/core';
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1712917233588"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1712917799776"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
81
- const _withScopeId = n => (_pushScopeId("data-v-1712917231981"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1712917798842"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
39
- const _withScopeId = n => (_pushScopeId("data-v-1712917232530"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1712917799103"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.0.4-3",
3
+ "version": "2.0.4-5",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -23,8 +23,8 @@
23
23
  "monaco-editor": "^0.40.0",
24
24
  "sortablejs": "^1.15.2",
25
25
  "@jetlinks-web/constants": "^1.0.2",
26
- "@jetlinks-web/utils": "^1.0.6",
27
- "@jetlinks-web/hooks": "^1.0.12"
26
+ "@jetlinks-web/hooks": "^1.0.12",
27
+ "@jetlinks-web/utils": "^1.0.6"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/cli": "^7.8.4",