@jetlinks-web/components 2.0.27 → 2.0.29
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/CardSelect/CardSelect.js +10 -6
- package/es/FullPage/FullPage.js +1 -1
- package/es/ProLayout/Basic/BasicLayout.js +1 -1
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/lib/CardSelect/CardSelect.js +10 -6
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProLayout/Basic/BasicLayout.js +1 -1
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/package.json +3 -3
|
@@ -7,19 +7,23 @@
|
|
|
7
7
|
"value": "props",
|
|
8
8
|
"itemLayout": "props",
|
|
9
9
|
"has": "setup-maybe-ref",
|
|
10
|
+
"computed": "setup-const",
|
|
11
|
+
"ref": "setup-const",
|
|
12
|
+
"watch": "setup-const",
|
|
10
13
|
"props": "setup-reactive-const",
|
|
11
14
|
"emit": "setup-const",
|
|
12
|
-
"selectKeys": "setup-
|
|
13
|
-
"CardSelectStyle": "setup-
|
|
14
|
-
"isMultiple": "setup-
|
|
15
|
+
"selectKeys": "setup-ref",
|
|
16
|
+
"CardSelectStyle": "setup-ref",
|
|
17
|
+
"isMultiple": "setup-ref",
|
|
15
18
|
"handleSelect": "setup-const"
|
|
16
19
|
} */
|
|
17
|
-
import {
|
|
20
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
18
21
|
const _hoisted_1 = ["onClick"];
|
|
19
22
|
const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
20
23
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
21
24
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
22
25
|
import { has } from 'lodash-es';
|
|
26
|
+
import { computed, ref, watch } from 'vue';
|
|
23
27
|
const __sfc_main__ = Object.assign({
|
|
24
28
|
name: 'JCardSelect'
|
|
25
29
|
}, {
|
|
@@ -99,14 +103,14 @@ const __sfc_main__ = Object.assign({
|
|
|
99
103
|
return (_ctx, _cache) => {
|
|
100
104
|
return (_openBlock(), _createElementBlock("div", {
|
|
101
105
|
class: "j-card-select",
|
|
102
|
-
style: _normalizeStyle(
|
|
106
|
+
style: _normalizeStyle(CardSelectStyle.value)
|
|
103
107
|
}, [
|
|
104
108
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.options, (item) => {
|
|
105
109
|
return (_openBlock(), _createElementBlock("div", {
|
|
106
110
|
class: _normalizeClass({
|
|
107
111
|
'j-card-select-item': true,
|
|
108
112
|
'disabled': __props.disabled || item.disabled,
|
|
109
|
-
'active':
|
|
113
|
+
'active': selectKeys.value.includes(item.value)
|
|
110
114
|
}),
|
|
111
115
|
onClick: () => handleSelect(item.value, item)
|
|
112
116
|
}, [
|
package/es/FullPage/FullPage.js
CHANGED
|
@@ -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-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740403882"), 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-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740406215"), 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-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740404880"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/es/Search/Search.js
CHANGED
|
@@ -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-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740405123"), 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';
|
|
@@ -7,19 +7,23 @@
|
|
|
7
7
|
"value": "props",
|
|
8
8
|
"itemLayout": "props",
|
|
9
9
|
"has": "setup-maybe-ref",
|
|
10
|
+
"computed": "setup-const",
|
|
11
|
+
"ref": "setup-const",
|
|
12
|
+
"watch": "setup-const",
|
|
10
13
|
"props": "setup-reactive-const",
|
|
11
14
|
"emit": "setup-const",
|
|
12
|
-
"selectKeys": "setup-
|
|
13
|
-
"CardSelectStyle": "setup-
|
|
14
|
-
"isMultiple": "setup-
|
|
15
|
+
"selectKeys": "setup-ref",
|
|
16
|
+
"CardSelectStyle": "setup-ref",
|
|
17
|
+
"isMultiple": "setup-ref",
|
|
15
18
|
"handleSelect": "setup-const"
|
|
16
19
|
} */
|
|
17
|
-
import {
|
|
20
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
18
21
|
const _hoisted_1 = ["onClick"];
|
|
19
22
|
const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
20
23
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
21
24
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
22
25
|
import { has } from 'lodash-es';
|
|
26
|
+
import { computed, ref, watch } from 'vue';
|
|
23
27
|
const __sfc_main__ = Object.assign({
|
|
24
28
|
name: 'JCardSelect'
|
|
25
29
|
}, {
|
|
@@ -99,14 +103,14 @@ const __sfc_main__ = Object.assign({
|
|
|
99
103
|
return (_ctx, _cache) => {
|
|
100
104
|
return (_openBlock(), _createElementBlock("div", {
|
|
101
105
|
class: "j-card-select",
|
|
102
|
-
style: _normalizeStyle(
|
|
106
|
+
style: _normalizeStyle(CardSelectStyle.value)
|
|
103
107
|
}, [
|
|
104
108
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.options, (item) => {
|
|
105
109
|
return (_openBlock(), _createElementBlock("div", {
|
|
106
110
|
class: _normalizeClass({
|
|
107
111
|
'j-card-select-item': true,
|
|
108
112
|
'disabled': __props.disabled || item.disabled,
|
|
109
|
-
'active':
|
|
113
|
+
'active': selectKeys.value.includes(item.value)
|
|
110
114
|
}),
|
|
111
115
|
onClick: () => handleSelect(item.value, item)
|
|
112
116
|
}, [
|
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -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-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740403873"), 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-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740406247"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
package/lib/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-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740404741"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/lib/Search/Search.js
CHANGED
|
@@ -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-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1715740405094"), 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.
|
|
3
|
+
"version": "2.0.29",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -135,8 +135,8 @@
|
|
|
135
135
|
"webpack-merge": "^5.0.0",
|
|
136
136
|
"webpackbar": "^5.0.2",
|
|
137
137
|
"@jetlinks-web/constants": "^1.0.2",
|
|
138
|
-
"@jetlinks-web/
|
|
139
|
-
"@jetlinks-web/
|
|
138
|
+
"@jetlinks-web/utils": "^1.0.7",
|
|
139
|
+
"@jetlinks-web/hooks": "^1.0.13"
|
|
140
140
|
},
|
|
141
141
|
"publishConfig": {
|
|
142
142
|
"registry": "https://registry.npmjs.org/",
|