@jetlinks-web/components 2.0.8 → 2.0.10
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/FullPage/FullPage.js +1 -1
- package/es/ProLayout/Basic/BasicLayout.js +5 -7
- package/es/ProLayout/SiderMenu/SiderMenu.js +4 -1
- package/es/ProLayout/SiderMenu/index.less +5 -0
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/es/style/index.css +4 -0
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProLayout/Basic/BasicLayout.js +5 -7
- package/lib/ProLayout/SiderMenu/SiderMenu.js +4 -1
- package/lib/ProLayout/SiderMenu/index.less +5 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/lib/style/index.css +4 -0
- package/package.json +3 -3
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-1713348973025"), 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';
|
|
@@ -330,22 +330,20 @@ export default defineComponent({
|
|
|
330
330
|
}
|
|
331
331
|
}), _createVNode(LayoutContent, {
|
|
332
332
|
"style": {
|
|
333
|
-
height: "calc(100vh -
|
|
333
|
+
height: "calc(100vh - 84px)"
|
|
334
334
|
}
|
|
335
335
|
}, {
|
|
336
336
|
default: function _default() {
|
|
337
337
|
return [(_slots$default3 = slots.default) === null || _slots$default3 === void 0 ? void 0 : _slots$default3.call(slots)];
|
|
338
338
|
}
|
|
339
339
|
}), _createVNode(Layout.Footer, {
|
|
340
|
-
"style": {
|
|
340
|
+
"style": _objectSpread({
|
|
341
341
|
padding: '11px 24px'
|
|
342
|
-
}
|
|
343
|
-
}, _isSlot(_slot4 = _createVNode(
|
|
344
|
-
"style": props.pageFooterStyle
|
|
345
|
-
}, [_createVNode(Breadcrumb, {
|
|
342
|
+
}, props.pageFooterStyle)
|
|
343
|
+
}, _isSlot(_slot4 = _createVNode(Breadcrumb, {
|
|
346
344
|
"routes": props.breadcrumb.routes,
|
|
347
345
|
"itemRender": props.breadcrumbRender
|
|
348
|
-
}, null)
|
|
346
|
+
}, null)) ? _slot4 : {
|
|
349
347
|
default: function _default() {
|
|
350
348
|
return [_slot4];
|
|
351
349
|
}
|
|
@@ -197,6 +197,9 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
197
197
|
var classNames = computed(function () {
|
|
198
198
|
return _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, baseClassName, true), "".concat(baseClassName, "-fixed"), context.fixSiderbar), "".concat(baseClassName, "-").concat(theme), true), "".concat(baseClassName, "-layout-").concat(props.layout), props.layout);
|
|
199
199
|
});
|
|
200
|
+
var logCls = computed(function () {
|
|
201
|
+
return _defineProperty(_defineProperty({}, "".concat(baseClassName, "-logo"), true), "".concat(baseClassName, "-logo-card"), props.layoutType === LayoutType.CARD);
|
|
202
|
+
});
|
|
200
203
|
var handleSelect = function handleSelect($event) {
|
|
201
204
|
if (props.onSelect) {
|
|
202
205
|
if (unref(hasSplitMenu)) {
|
|
@@ -264,7 +267,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
264
267
|
}, {
|
|
265
268
|
default: function _default() {
|
|
266
269
|
return [headerDom && _createVNode("div", {
|
|
267
|
-
"class":
|
|
270
|
+
"class": logCls,
|
|
268
271
|
"onClick": props.layout !== 'mix' ? props.onMenuHeaderClick : undefined,
|
|
269
272
|
"id": "logo",
|
|
270
273
|
"style": props === null || props === void 0 ? void 0 : props.logoStyle
|
|
@@ -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-1713348975471"), 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-1713348974543"), 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-1713348974722"), 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/es/style/index.css
CHANGED
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-1713348973034"), 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';
|
|
@@ -339,22 +339,20 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
339
339
|
}
|
|
340
340
|
}), (0, _vue.createVNode)(_antDesignVue.LayoutContent, {
|
|
341
341
|
"style": {
|
|
342
|
-
height: "calc(100vh -
|
|
342
|
+
height: "calc(100vh - 84px)"
|
|
343
343
|
}
|
|
344
344
|
}, {
|
|
345
345
|
default: function _default() {
|
|
346
346
|
return [(_slots$default3 = slots.default) === null || _slots$default3 === void 0 ? void 0 : _slots$default3.call(slots)];
|
|
347
347
|
}
|
|
348
348
|
}), (0, _vue.createVNode)(_antDesignVue.Layout.Footer, {
|
|
349
|
-
"style": {
|
|
349
|
+
"style": (0, _objectSpread2.default)({
|
|
350
350
|
padding: '11px 24px'
|
|
351
|
-
}
|
|
352
|
-
}, _isSlot(_slot4 = (0, _vue.createVNode)(
|
|
353
|
-
"style": props.pageFooterStyle
|
|
354
|
-
}, [(0, _vue.createVNode)(_antDesignVue.Breadcrumb, {
|
|
351
|
+
}, props.pageFooterStyle)
|
|
352
|
+
}, _isSlot(_slot4 = (0, _vue.createVNode)(_antDesignVue.Breadcrumb, {
|
|
355
353
|
"routes": props.breadcrumb.routes,
|
|
356
354
|
"itemRender": props.breadcrumbRender
|
|
357
|
-
}, null)
|
|
355
|
+
}, null)) ? _slot4 : {
|
|
358
356
|
default: function _default() {
|
|
359
357
|
return [_slot4];
|
|
360
358
|
}
|
|
@@ -206,6 +206,9 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
206
206
|
var classNames = (0, _vue.computed)(function () {
|
|
207
207
|
return (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, baseClassName, true), "".concat(baseClassName, "-fixed"), context.fixSiderbar), "".concat(baseClassName, "-").concat(theme), true), "".concat(baseClassName, "-layout-").concat(props.layout), props.layout);
|
|
208
208
|
});
|
|
209
|
+
var logCls = (0, _vue.computed)(function () {
|
|
210
|
+
return (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(baseClassName, "-logo"), true), "".concat(baseClassName, "-logo-card"), props.layoutType === _defaultSettings.LayoutType.CARD);
|
|
211
|
+
});
|
|
209
212
|
var handleSelect = function handleSelect($event) {
|
|
210
213
|
if (props.onSelect) {
|
|
211
214
|
if ((0, _vue.unref)(hasSplitMenu)) {
|
|
@@ -273,7 +276,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
273
276
|
}, {
|
|
274
277
|
default: function _default() {
|
|
275
278
|
return [headerDom && (0, _vue.createVNode)("div", {
|
|
276
|
-
"class":
|
|
279
|
+
"class": logCls,
|
|
277
280
|
"onClick": props.layout !== 'mix' ? props.onMenuHeaderClick : undefined,
|
|
278
281
|
"id": "logo",
|
|
279
282
|
"style": props === null || props === void 0 ? void 0 : props.logoStyle
|
|
@@ -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-1713348975494"), 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-1713348974311"), 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-1713348974678"), 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/lib/style/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -133,9 +133,9 @@
|
|
|
133
133
|
"webpack-dev-server": "^4.0.0",
|
|
134
134
|
"webpack-merge": "^5.0.0",
|
|
135
135
|
"webpackbar": "^5.0.2",
|
|
136
|
+
"@jetlinks-web/constants": "^1.0.2",
|
|
136
137
|
"@jetlinks-web/utils": "^1.0.6",
|
|
137
|
-
"@jetlinks-web/hooks": "^1.0.12"
|
|
138
|
-
"@jetlinks-web/constants": "^1.0.2"
|
|
138
|
+
"@jetlinks-web/hooks": "^1.0.12"
|
|
139
139
|
},
|
|
140
140
|
"publishConfig": {
|
|
141
141
|
"registry": "https://registry.npmjs.org/",
|