@jetlinks-web/components 2.6.18 → 2.6.19
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/EditTable/components/Search/sort.js +1 -1
- package/es/FullPage/FullPage.js +1 -1
- package/es/ProLayout/SiderMenu/SiderMenu.js +0 -1
- package/es/ProTable/Content.js +12 -7
- package/es/ProTable/setting.js +1 -1
- package/es/ProTable/style/ProTable.less +0 -1
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/style/index.css +0 -1
- package/lib/EditTable/components/Search/sort.js +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProLayout/SiderMenu/SiderMenu.js +0 -1
- package/lib/ProTable/Content.js +12 -7
- package/lib/ProTable/setting.js +1 -1
- package/lib/ProTable/style/ProTable.less +0 -1
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/style/index.css +0 -1
- package/package.json +6 -6
|
@@ -42,7 +42,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
42
42
|
"onDesc": "setup-const"
|
|
43
43
|
} */
|
|
44
44
|
import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
45
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
45
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018732930"), n = n(), _popScopeId(), n);
|
|
46
46
|
const _hoisted_1 = { class: "jetlinks-table-sort-content" };
|
|
47
47
|
const _hoisted_2 = { class: "jetlinks-table-sort-title" };
|
|
48
48
|
const _hoisted_3 = { class: "table-sort-body" };
|
package/es/FullPage/FullPage.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
} */
|
|
10
10
|
import { defineComponent as _defineComponent } from 'vue';
|
|
11
11
|
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";
|
|
12
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
12
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018730224"), n = n(), _popScopeId(), n);
|
|
13
13
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
14
14
|
import { ref, inject } from 'vue';
|
|
15
15
|
import { useElementBounding } from '@vueuse/core';
|
|
@@ -242,7 +242,6 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
242
242
|
},
|
|
243
243
|
'onUpdate:selectedKeys': handleSelect
|
|
244
244
|
}, null);
|
|
245
|
-
console.log('context', context.fixSiderbar);
|
|
246
245
|
return _createVNode(_Fragment, null, [context.fixSiderbar && _createVNode("div", {
|
|
247
246
|
"style": {
|
|
248
247
|
width: "".concat(sSideWidth.value, "px"),
|
package/es/ProTable/Content.js
CHANGED
|
@@ -60,10 +60,15 @@ const __sfc_main__ = _defineComponent({
|
|
|
60
60
|
const slots = useSlots();
|
|
61
61
|
const _columns = computed(() => props.columns.filter((i) => !_optionalChain([i, 'optionalAccess', _2 => _2.hideInTable])));
|
|
62
62
|
const _scroll = computed(() => {
|
|
63
|
-
|
|
63
|
+
if (props.scroll === false) {
|
|
64
|
+
return {
|
|
65
|
+
x: undefined,
|
|
66
|
+
y: undefined
|
|
67
|
+
};
|
|
68
|
+
}
|
|
64
69
|
return {
|
|
65
|
-
x:
|
|
66
|
-
y
|
|
70
|
+
x: props.scroll.x === false ? undefined : props.scroll.x || '100%',
|
|
71
|
+
y: props.scroll.y === false ? undefined : props.scroll.y || '100%'
|
|
67
72
|
};
|
|
68
73
|
});
|
|
69
74
|
const gridTemplateColumns = computed(() => {
|
|
@@ -99,19 +104,19 @@ const __sfc_main__ = _defineComponent({
|
|
|
99
104
|
columns: _columns.value,
|
|
100
105
|
pagination: false,
|
|
101
106
|
scroll: _scroll.value,
|
|
102
|
-
class: { 'j-table-scroll': !_optionalChain([props, 'access',
|
|
107
|
+
class: { 'j-table-scroll': !_optionalChain([props, 'access', _3 => _3.scroll, 'optionalAccess', _4 => _4.y]) }
|
|
103
108
|
}), _createSlots({
|
|
104
109
|
headerCell: _withCtx(({ column, title }) => [
|
|
105
110
|
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
106
111
|
]),
|
|
107
112
|
bodyCell: _withCtx(({ column, record, index }) => [
|
|
108
|
-
((_optionalChain([column, 'optionalAccess',
|
|
109
|
-
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess',
|
|
113
|
+
((_optionalChain([column, 'optionalAccess', _5 => _5.key]) || _optionalChain([column, 'optionalAccess', _6 => _6.dataIndex])) && _optionalChain([column, 'optionalAccess', _7 => _7.scopedSlots]) && (_optionalChain([_unref, 'call', _8 => _8(slots), 'optionalAccess', _9 => _9[_optionalChain([column, 'optionalAccess', _10 => _10.dataIndex])]]) || _optionalChain([_unref, 'call', _11 => _11(slots), 'optionalAccess', _12 => _12[_optionalChain([column, 'optionalAccess', _13 => _13.key])]])))
|
|
114
|
+
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _14 => _14.key]) || _optionalChain([column, 'optionalAccess', _15 => _15.dataIndex]), _mergeProps({ key: 0 }, record, {
|
|
110
115
|
index: index,
|
|
111
116
|
column: column
|
|
112
117
|
}))
|
|
113
118
|
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
114
|
-
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess',
|
|
119
|
+
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _16 => _16.dataIndex]) || _optionalChain([column, 'optionalAccess', _17 => _17.key])) || '--'), 1 /* TEXT */)
|
|
115
120
|
], 64 /* STABLE_FRAGMENT */))
|
|
116
121
|
]),
|
|
117
122
|
emptyText: _withCtx(() => [
|
package/es/ProTable/setting.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
25
25
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018732658"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
package/es/Search/Item.js
CHANGED
|
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
82
82
|
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";
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018731619"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/es/style/index.css
CHANGED
|
@@ -42,7 +42,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
42
42
|
"onDesc": "setup-const"
|
|
43
43
|
} */
|
|
44
44
|
import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
45
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
45
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018732948"), n = n(), _popScopeId(), n);
|
|
46
46
|
const _hoisted_1 = { class: "jetlinks-table-sort-content" };
|
|
47
47
|
const _hoisted_2 = { class: "jetlinks-table-sort-title" };
|
|
48
48
|
const _hoisted_3 = { class: "table-sort-body" };
|
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
} */
|
|
10
10
|
import { defineComponent as _defineComponent } from 'vue';
|
|
11
11
|
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";
|
|
12
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
12
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018730243"), n = n(), _popScopeId(), n);
|
|
13
13
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
14
14
|
import { ref, inject } from 'vue';
|
|
15
15
|
import { useElementBounding } from '@vueuse/core';
|
|
@@ -251,7 +251,6 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
251
251
|
},
|
|
252
252
|
'onUpdate:selectedKeys': handleSelect
|
|
253
253
|
}, null);
|
|
254
|
-
console.log('context', context.fixSiderbar);
|
|
255
254
|
return (0, _vue.createVNode)(_vue.Fragment, null, [context.fixSiderbar && (0, _vue.createVNode)("div", {
|
|
256
255
|
"style": {
|
|
257
256
|
width: "".concat(sSideWidth.value, "px"),
|
package/lib/ProTable/Content.js
CHANGED
|
@@ -60,10 +60,15 @@ const __sfc_main__ = _defineComponent({
|
|
|
60
60
|
const slots = useSlots();
|
|
61
61
|
const _columns = computed(() => props.columns.filter((i) => !_optionalChain([i, 'optionalAccess', _2 => _2.hideInTable])));
|
|
62
62
|
const _scroll = computed(() => {
|
|
63
|
-
|
|
63
|
+
if (props.scroll === false) {
|
|
64
|
+
return {
|
|
65
|
+
x: undefined,
|
|
66
|
+
y: undefined
|
|
67
|
+
};
|
|
68
|
+
}
|
|
64
69
|
return {
|
|
65
|
-
x:
|
|
66
|
-
y
|
|
70
|
+
x: props.scroll.x === false ? undefined : props.scroll.x || '100%',
|
|
71
|
+
y: props.scroll.y === false ? undefined : props.scroll.y || '100%'
|
|
67
72
|
};
|
|
68
73
|
});
|
|
69
74
|
const gridTemplateColumns = computed(() => {
|
|
@@ -99,19 +104,19 @@ const __sfc_main__ = _defineComponent({
|
|
|
99
104
|
columns: _columns.value,
|
|
100
105
|
pagination: false,
|
|
101
106
|
scroll: _scroll.value,
|
|
102
|
-
class: { 'j-table-scroll': !_optionalChain([props, 'access',
|
|
107
|
+
class: { 'j-table-scroll': !_optionalChain([props, 'access', _3 => _3.scroll, 'optionalAccess', _4 => _4.y]) }
|
|
103
108
|
}), _createSlots({
|
|
104
109
|
headerCell: _withCtx(({ column, title }) => [
|
|
105
110
|
_renderSlot(_ctx.$slots, "headerCell", _normalizeProps(_guardReactiveProps({ column, title })))
|
|
106
111
|
]),
|
|
107
112
|
bodyCell: _withCtx(({ column, record, index }) => [
|
|
108
|
-
((_optionalChain([column, 'optionalAccess',
|
|
109
|
-
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess',
|
|
113
|
+
((_optionalChain([column, 'optionalAccess', _5 => _5.key]) || _optionalChain([column, 'optionalAccess', _6 => _6.dataIndex])) && _optionalChain([column, 'optionalAccess', _7 => _7.scopedSlots]) && (_optionalChain([_unref, 'call', _8 => _8(slots), 'optionalAccess', _9 => _9[_optionalChain([column, 'optionalAccess', _10 => _10.dataIndex])]]) || _optionalChain([_unref, 'call', _11 => _11(slots), 'optionalAccess', _12 => _12[_optionalChain([column, 'optionalAccess', _13 => _13.key])]])))
|
|
114
|
+
? _renderSlot(_ctx.$slots, _optionalChain([column, 'optionalAccess', _14 => _14.key]) || _optionalChain([column, 'optionalAccess', _15 => _15.dataIndex]), _mergeProps({ key: 0 }, record, {
|
|
110
115
|
index: index,
|
|
111
116
|
column: column
|
|
112
117
|
}))
|
|
113
118
|
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
114
|
-
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess',
|
|
119
|
+
_createTextVNode(_toDisplayString(_unref(get)(record, _optionalChain([column, 'optionalAccess', _16 => _16.dataIndex]) || _optionalChain([column, 'optionalAccess', _17 => _17.key])) || '--'), 1 /* TEXT */)
|
|
115
120
|
], 64 /* STABLE_FRAGMENT */))
|
|
116
121
|
]),
|
|
117
122
|
emptyText: _withCtx(() => [
|
package/lib/ProTable/setting.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
25
25
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018732634"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
package/lib/Search/Item.js
CHANGED
|
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
82
82
|
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";
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1749018731729"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/lib/style/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -43,7 +43,10 @@
|
|
|
43
43
|
"markdown-it-toc-done-right": "^4.2.0",
|
|
44
44
|
"monaco-editor": "^0.51.0",
|
|
45
45
|
"resize-observer-polyfill": "^1.5.1",
|
|
46
|
-
"sortablejs": "^1.15.2"
|
|
46
|
+
"sortablejs": "^1.15.2",
|
|
47
|
+
"@jetlinks-web/constants": "^1.0.9",
|
|
48
|
+
"@jetlinks-web/hooks": "^1.0.29",
|
|
49
|
+
"@jetlinks-web/utils": "^1.2.12"
|
|
47
50
|
},
|
|
48
51
|
"devDependencies": {
|
|
49
52
|
"@babel/cli": "^7.8.4",
|
|
@@ -157,10 +160,7 @@
|
|
|
157
160
|
"webpack-cli": "^4.6.0",
|
|
158
161
|
"webpack-dev-server": "^4.0.0",
|
|
159
162
|
"webpack-merge": "^5.0.0",
|
|
160
|
-
"webpackbar": "^5.0.2"
|
|
161
|
-
"@jetlinks-web/constants": "^1.0.9",
|
|
162
|
-
"@jetlinks-web/utils": "^1.2.12",
|
|
163
|
-
"@jetlinks-web/hooks": "^1.0.28"
|
|
163
|
+
"webpackbar": "^5.0.2"
|
|
164
164
|
},
|
|
165
165
|
"publishConfig": {
|
|
166
166
|
"registry": "https://registry.npmjs.org/",
|