@jetlinks-web/components 2.0.4-15 → 2.0.4-17

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-1713252146051"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1713252611424"), 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';
@@ -9,9 +9,10 @@ import { withInstall } from 'ant-design-vue/es/_util/type';
9
9
  import { Affix, Spin, PageHeader, Tabs, Button } from 'ant-design-vue';
10
10
  import { defineComponent, unref, toRefs, computed } from 'vue';
11
11
  import { pageHeaderProps } from 'ant-design-vue/es/page-header';
12
- import { useRouteContext, defaultPrefixCls } from '../RouteContext';
12
+ import { useRouteContext } from '../RouteContext';
13
13
  import { getSlotVNode } from '../util';
14
14
  import 'ant-design-vue/es/_util/type';
15
+ import PropTypes from 'ant-design-vue/es/_util/vue-types';
15
16
  import './index.less';
16
17
  function _isSlot(s) {
17
18
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
@@ -59,7 +60,7 @@ export var pageHeaderTabConfig = {
59
60
  export var pageContainerProps = _objectSpread(_objectSpread(_objectSpread({}, pageHeaderTabConfig), pageHeaderProps), {}, {
60
61
  prefixCls: {
61
62
  type: String,
62
- default: defaultPrefixCls
63
+ default: PropTypes.string.def('jetlinks-pro')
63
64
  },
64
65
  title: {
65
66
  type: [Object, String, Boolean, Function],
@@ -12,15 +12,14 @@ import IconFont from '../../Icon';
12
12
  import { regular } from '@jetlinks-web/utils';
13
13
  import { Menu } from 'ant-design-vue';
14
14
  import { createFromIconfontCN } from '@ant-design/icons-vue';
15
+ import PropTypes from 'ant-design-vue/es/_util/vue-types';
15
16
  function _isSlot(s) {
16
17
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
17
18
  }
18
19
  export var baseMenuProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
19
20
  prefixCls: {
20
21
  type: String,
21
- default: function _default() {
22
- return defaultPrefixCls;
23
- }
22
+ default: PropTypes.string.def('jetlinks-pro')
24
23
  },
25
24
  locale: {
26
25
  type: [Function, Boolean],
@@ -16,7 +16,7 @@ function _isSlot(s) {
16
16
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
17
17
  }
18
18
  export var baseHeaderProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
19
- prefixCls: defaultPrefixCls,
19
+ prefixCls: PropTypes.string.def('jetlinks-pro'),
20
20
  collapsed: PropTypes.looseBool,
21
21
  logo: siderMenuProps.logo,
22
22
  logoStyle: siderMenuProps.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-1713252147403"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1713252612718"), 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-1713252146818"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1713252612186"), 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-1713252146971"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1713252612330"), 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-1713252146057"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1713252611430"), 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';
@@ -14,6 +14,7 @@ var _antDesignVue = require("ant-design-vue");
14
14
  var _pageHeader = require("ant-design-vue/es/page-header");
15
15
  var _RouteContext = require("../RouteContext");
16
16
  var _util = require("../util");
17
+ var _vueTypes = _interopRequireDefault(require("ant-design-vue/es/_util/vue-types"));
17
18
  require("./index.less");
18
19
  var _excluded = ["title", "tabList", "tabActiveKey", "content", "pageHeaderRender", "header", "extraContent", "prefixedClassName", "prefixCls", "fixedHeader", "showBack"];
19
20
  function _isSlot(s) {
@@ -62,7 +63,7 @@ var pageHeaderTabConfig = exports.pageHeaderTabConfig = {
62
63
  var pageContainerProps = exports.pageContainerProps = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, pageHeaderTabConfig), _pageHeader.pageHeaderProps), {}, {
63
64
  prefixCls: {
64
65
  type: String,
65
- default: _RouteContext.defaultPrefixCls
66
+ default: _vueTypes.default.string.def('jetlinks-pro')
66
67
  },
67
68
  title: {
68
69
  type: [Object, String, Boolean, Function],
@@ -17,15 +17,14 @@ var _Icon = _interopRequireDefault(require("../../Icon"));
17
17
  var _utils = require("@jetlinks-web/utils");
18
18
  var _antDesignVue = require("ant-design-vue");
19
19
  var _iconsVue = require("@ant-design/icons-vue/lib/icons");
20
+ var _vueTypes = _interopRequireDefault(require("ant-design-vue/es/_util/vue-types"));
20
21
  function _isSlot(s) {
21
22
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0, _vue.isVNode)(s);
22
23
  }
23
24
  var baseMenuProps = exports.baseMenuProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _defaultSettings.defaultSettingProps), {}, {
24
25
  prefixCls: {
25
26
  type: String,
26
- default: function _default() {
27
- return _RouteContext.defaultPrefixCls;
28
- }
27
+ default: _vueTypes.default.string.def('jetlinks-pro')
29
28
  },
30
29
  locale: {
31
30
  type: [Function, Boolean],
@@ -21,7 +21,7 @@ function _isSlot(s) {
21
21
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0, _vue.isVNode)(s);
22
22
  }
23
23
  var baseHeaderProps = exports.baseHeaderProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _defaultSettings.defaultSettingProps), {}, {
24
- prefixCls: _RouteContext.defaultPrefixCls,
24
+ prefixCls: _vueTypes.default.string.def('jetlinks-pro'),
25
25
  collapsed: _vueTypes.default.looseBool,
26
26
  logo: _SiderMenu.siderMenuProps.logo,
27
27
  logoStyle: _SiderMenu.siderMenuProps.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-1713252147389"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1713252612730"), 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-1713252146888"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1713252612254"), 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-1713252146995"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1713252612353"), 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.4-15",
3
+ "version": "2.0.4-17",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -133,8 +133,8 @@
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",
137
136
  "@jetlinks-web/hooks": "^1.0.12",
137
+ "@jetlinks-web/constants": "^1.0.2",
138
138
  "@jetlinks-web/utils": "^1.0.6"
139
139
  },
140
140
  "publishConfig": {