@jetlinks-web/components 2.0.10 → 2.0.12

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.
@@ -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-1713348973025"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1713353275107"), 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';
@@ -297,11 +297,11 @@ export default defineComponent({
297
297
  }), null), _createVNode(Layout, null, {
298
298
  default: function _default() {
299
299
  return [_createVNode(Layout.Header, {
300
- "style": {
300
+ "style": _objectSpread({
301
301
  background: 'transparent',
302
302
  padding: 0,
303
303
  height: '40px'
304
- }
304
+ }, props.pageHeaderStyle || {})
305
305
  }, _isSlot(_slot3 = _createVNode(Tabs, {
306
306
  "hide-add": true,
307
307
  "type": "editable-card",
@@ -339,7 +339,7 @@ export default defineComponent({
339
339
  }), _createVNode(Layout.Footer, {
340
340
  "style": _objectSpread({
341
341
  padding: '11px 24px'
342
- }, props.pageFooterStyle)
342
+ }, props.pageFooterStyle || {})
343
343
  }, _isSlot(_slot4 = _createVNode(Breadcrumb, {
344
344
  "routes": props.breadcrumb.routes,
345
345
  "itemRender": props.breadcrumbRender
@@ -267,7 +267,7 @@ var SiderMenu = function SiderMenu(props) {
267
267
  }, {
268
268
  default: function _default() {
269
269
  return [headerDom && _createVNode("div", {
270
- "class": logCls,
270
+ "class": logCls.value,
271
271
  "onClick": props.layout !== 'mix' ? props.onMenuHeaderClick : undefined,
272
272
  "id": "logo",
273
273
  "style": props === null || props === void 0 ? void 0 : props.logoStyle
@@ -93,6 +93,12 @@ export var defaultSettingProps = {
93
93
  return undefined;
94
94
  }
95
95
  },
96
+ pageHeaderStyle: {
97
+ type: Object,
98
+ default: function _default() {
99
+ return undefined;
100
+ }
101
+ },
96
102
  apps: {
97
103
  type: Array,
98
104
  default: function _default() {
@@ -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-1713348975471"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1713353276710"), 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-1713348974543"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1713353275857"), 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-1713348974722"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1713353276059"), 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';
@@ -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-1713348973034"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1713353275115"), 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';
@@ -306,11 +306,11 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
306
306
  }), null), (0, _vue.createVNode)(_antDesignVue.Layout, null, {
307
307
  default: function _default() {
308
308
  return [(0, _vue.createVNode)(_antDesignVue.Layout.Header, {
309
- "style": {
309
+ "style": (0, _objectSpread2.default)({
310
310
  background: 'transparent',
311
311
  padding: 0,
312
312
  height: '40px'
313
- }
313
+ }, props.pageHeaderStyle || {})
314
314
  }, _isSlot(_slot3 = (0, _vue.createVNode)(_antDesignVue.Tabs, {
315
315
  "hide-add": true,
316
316
  "type": "editable-card",
@@ -348,7 +348,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
348
348
  }), (0, _vue.createVNode)(_antDesignVue.Layout.Footer, {
349
349
  "style": (0, _objectSpread2.default)({
350
350
  padding: '11px 24px'
351
- }, props.pageFooterStyle)
351
+ }, props.pageFooterStyle || {})
352
352
  }, _isSlot(_slot4 = (0, _vue.createVNode)(_antDesignVue.Breadcrumb, {
353
353
  "routes": props.breadcrumb.routes,
354
354
  "itemRender": props.breadcrumbRender
@@ -276,7 +276,7 @@ var SiderMenu = function SiderMenu(props) {
276
276
  }, {
277
277
  default: function _default() {
278
278
  return [headerDom && (0, _vue.createVNode)("div", {
279
- "class": logCls,
279
+ "class": logCls.value,
280
280
  "onClick": props.layout !== 'mix' ? props.onMenuHeaderClick : undefined,
281
281
  "id": "logo",
282
282
  "style": props === null || props === void 0 ? void 0 : props.logoStyle
@@ -100,6 +100,12 @@ var defaultSettingProps = exports.defaultSettingProps = {
100
100
  return undefined;
101
101
  }
102
102
  },
103
+ pageHeaderStyle: {
104
+ type: Object,
105
+ default: function _default() {
106
+ return undefined;
107
+ }
108
+ },
103
109
  apps: {
104
110
  type: Array,
105
111
  default: function _default() {
@@ -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-1713348975494"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1713353276692"), 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-1713348974311"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1713353275929"), 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-1713348974678"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1713353276081"), 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.10",
3
+ "version": "2.0.12",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -134,8 +134,8 @@
134
134
  "webpack-merge": "^5.0.0",
135
135
  "webpackbar": "^5.0.2",
136
136
  "@jetlinks-web/constants": "^1.0.2",
137
- "@jetlinks-web/utils": "^1.0.6",
138
- "@jetlinks-web/hooks": "^1.0.12"
137
+ "@jetlinks-web/hooks": "^1.0.12",
138
+ "@jetlinks-web/utils": "^1.0.6"
139
139
  },
140
140
  "publishConfig": {
141
141
  "registry": "https://registry.npmjs.org/",