@jetlinks-web/components 2.0.25 → 2.0.26
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 +1 -0
- package/es/ProLayout/SiderMenu/SiderMenu.js +2 -4
- package/es/ProLayout/TopHeader/index.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/FullPage/FullPage.js +1 -1
- package/lib/ProLayout/Basic/BasicLayout.js +1 -0
- package/lib/ProLayout/SiderMenu/SiderMenu.js +2 -4
- package/lib/ProLayout/TopHeader/index.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 +1 -1
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-1715308409364"), 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';
|
|
@@ -225,6 +225,7 @@ export default defineComponent({
|
|
|
225
225
|
menuExtraRender: menuExtraRender,
|
|
226
226
|
menuContentRender: menuContentRender,
|
|
227
227
|
headerContentRender: headerContentRender,
|
|
228
|
+
logo: logoRender || props.logo,
|
|
228
229
|
headerRender: customHeaderRender,
|
|
229
230
|
theme: (props.theme || 'dark').toLocaleLowerCase().includes('dark') ? 'dark' : 'light'
|
|
230
231
|
}), props.matchMenuKeys);
|
|
@@ -87,11 +87,10 @@ export var siderMenuProps = _objectSpread(_objectSpread(_objectSpread({}, defaul
|
|
|
87
87
|
type: Function
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
export var defaultRenderLogo = function defaultRenderLogo(logo, logoStyle, application, props
|
|
90
|
+
export var defaultRenderLogo = function defaultRenderLogo(logo, logoStyle, application, props) {
|
|
91
91
|
if (!logo) {
|
|
92
92
|
return null;
|
|
93
93
|
}
|
|
94
|
-
console.log('logo', logo);
|
|
95
94
|
if (typeof logo === 'function') {
|
|
96
95
|
// @ts-ignore
|
|
97
96
|
return logo();
|
|
@@ -131,7 +130,6 @@ export var defaultRenderLogo = function defaultRenderLogo(logo, logoStyle, appli
|
|
|
131
130
|
};
|
|
132
131
|
export var defaultRenderLogoAndTitle = function defaultRenderLogoAndTitle(props) {
|
|
133
132
|
var renderKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'menuHeaderRender';
|
|
134
|
-
var logoRender = arguments.length > 2 ? arguments[2] : undefined;
|
|
135
133
|
var _props$logo = props.logo,
|
|
136
134
|
logo = _props$logo === void 0 ? 'http://demo.jetlinks.cn/static/logo.760eb65c.png' : _props$logo,
|
|
137
135
|
logoStyle = props.logoStyle,
|
|
@@ -139,7 +137,7 @@ export var defaultRenderLogoAndTitle = function defaultRenderLogoAndTitle(props)
|
|
|
139
137
|
layout = props.layout,
|
|
140
138
|
apps = props.apps,
|
|
141
139
|
baseClassName = props.baseClassName;
|
|
142
|
-
var logoDom = defaultRenderLogo(logo, logoStyle, apps, props
|
|
140
|
+
var logoDom = defaultRenderLogo(logo, logoStyle, apps, props);
|
|
143
141
|
if (props.layoutType === LayoutType.CARD) {
|
|
144
142
|
return _createVNode("a", null, [_createTextVNode(" "), logoDom]);
|
|
145
143
|
}
|
|
@@ -97,7 +97,7 @@ export var TopNavHeader = function TopNavHeader(props) {
|
|
|
97
97
|
// REMARK:: Any time render header title
|
|
98
98
|
// layout === 'mix' ? 'headerTitleRender' : undefined,
|
|
99
99
|
// layout !== 'side' ? 'headerTitleRender' : undefined,
|
|
100
|
-
'headerTitleRender'
|
|
100
|
+
'headerTitleRender');
|
|
101
101
|
//
|
|
102
102
|
var MenusData = props.layout === 'side' ? [] : menuData;
|
|
103
103
|
if (props.layout === 'mix' && props.splitMenus) {
|
|
@@ -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-1715308410881"), 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-1715308410238"), 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-1715308410461"), 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/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-1715308409372"), 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';
|
|
@@ -234,6 +234,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
234
234
|
menuExtraRender: menuExtraRender,
|
|
235
235
|
menuContentRender: menuContentRender,
|
|
236
236
|
headerContentRender: headerContentRender,
|
|
237
|
+
logo: logoRender || props.logo,
|
|
237
238
|
headerRender: customHeaderRender,
|
|
238
239
|
theme: (props.theme || 'dark').toLocaleLowerCase().includes('dark') ? 'dark' : 'light'
|
|
239
240
|
}), props.matchMenuKeys);
|
|
@@ -96,11 +96,10 @@ var siderMenuProps = exports.siderMenuProps = (0, _objectSpread2.default)((0, _o
|
|
|
96
96
|
type: Function
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
|
-
var defaultRenderLogo = exports.defaultRenderLogo = function defaultRenderLogo(logo, logoStyle, application, props
|
|
99
|
+
var defaultRenderLogo = exports.defaultRenderLogo = function defaultRenderLogo(logo, logoStyle, application, props) {
|
|
100
100
|
if (!logo) {
|
|
101
101
|
return null;
|
|
102
102
|
}
|
|
103
|
-
console.log('logo', logo);
|
|
104
103
|
if (typeof logo === 'function') {
|
|
105
104
|
// @ts-ignore
|
|
106
105
|
return logo();
|
|
@@ -140,7 +139,6 @@ var defaultRenderLogo = exports.defaultRenderLogo = function defaultRenderLogo(l
|
|
|
140
139
|
};
|
|
141
140
|
var defaultRenderLogoAndTitle = exports.defaultRenderLogoAndTitle = function defaultRenderLogoAndTitle(props) {
|
|
142
141
|
var renderKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'menuHeaderRender';
|
|
143
|
-
var logoRender = arguments.length > 2 ? arguments[2] : undefined;
|
|
144
142
|
var _props$logo = props.logo,
|
|
145
143
|
logo = _props$logo === void 0 ? 'http://demo.jetlinks.cn/static/logo.760eb65c.png' : _props$logo,
|
|
146
144
|
logoStyle = props.logoStyle,
|
|
@@ -148,7 +146,7 @@ var defaultRenderLogoAndTitle = exports.defaultRenderLogoAndTitle = function def
|
|
|
148
146
|
layout = props.layout,
|
|
149
147
|
apps = props.apps,
|
|
150
148
|
baseClassName = props.baseClassName;
|
|
151
|
-
var logoDom = defaultRenderLogo(logo, logoStyle, apps, props
|
|
149
|
+
var logoDom = defaultRenderLogo(logo, logoStyle, apps, props);
|
|
152
150
|
if (props.layoutType === _defaultSettings.LayoutType.CARD) {
|
|
153
151
|
return (0, _vue.createVNode)("a", null, [(0, _vue.createTextVNode)(" "), logoDom]);
|
|
154
152
|
}
|
|
@@ -102,7 +102,7 @@ var TopNavHeader = exports.TopNavHeader = function TopNavHeader(props) {
|
|
|
102
102
|
// REMARK:: Any time render header title
|
|
103
103
|
// layout === 'mix' ? 'headerTitleRender' : undefined,
|
|
104
104
|
// layout !== 'side' ? 'headerTitleRender' : undefined,
|
|
105
|
-
'headerTitleRender'
|
|
105
|
+
'headerTitleRender');
|
|
106
106
|
//
|
|
107
107
|
var MenusData = props.layout === 'side' ? [] : menuData;
|
|
108
108
|
if (props.layout === 'mix' && props.splitMenus) {
|
|
@@ -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-1715308410898"), 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-1715308410170"), 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-1715308410439"), 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';
|