@jetlinks-web/components 2.7.0 → 2.7.1
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/AMap/Map.js +1 -2
- package/es/AutoComplete/AutoComplete.js +0 -1
- package/es/BadgeStatus/Badge.js +1 -2
- package/es/CardSelect/CardSelect.js +1 -2
- package/es/CardSelect/style/css.js +1 -0
- package/es/CheckButton/CheckButton.js +1 -2
- package/es/CheckButton/style/css.js +1 -0
- package/es/DragModal/DragModal.js +0 -1
- package/es/DragModal/style/css.js +1 -0
- package/es/Echarts/Echarts.js +1 -2
- package/es/EditTable/EditTable.js +4 -6
- package/es/EditTable/FormItem.js +0 -1
- package/es/EditTable/Header.js +5 -3
- package/es/EditTable/components/ContextMenu/Menu.js +1 -2
- package/es/EditTable/components/Search/search.js +1 -2
- package/es/EditTable/components/Search/sort.js +1 -3
- package/es/EditTable/group.js +7 -10
- package/es/EditTable/hooks/useValidate.js +1 -1
- package/es/EditTable/style/css.js +1 -0
- package/es/EditTable/utils.js +1 -1
- package/es/Ellipsis/style/css.js +1 -0
- package/es/FullPage/FullPage.js +1 -2
- package/es/Icon/icon.js +3 -3
- package/es/LocaleProvider/index.js +1 -2
- package/es/MonacoEditor/style/css.js +1 -0
- package/es/PermissionButton/index.js +6 -7
- package/es/ProLayout/Basic/BasicLayout.js +34 -39
- package/es/ProLayout/Basic/Header.js +3 -7
- package/es/ProLayout/PageContainer/index.js +8 -12
- package/es/ProLayout/SiderMenu/BaseMenu.js +16 -39
- package/es/ProLayout/SiderMenu/SiderMenu.js +14 -34
- package/es/ProLayout/TopHeader/index.js +1 -9
- package/es/ProLayout/style/css.js +1 -0
- package/es/ProLayout/util.js +5 -5
- package/es/ProTable/Content.js +5 -5
- package/es/ProTable/hooks/useTableSelection.js +2 -0
- package/es/ProTable/style/css.js +1 -0
- package/es/RadioButton/RadioButton.js +0 -1
- package/es/RadioButton/style/css.js +1 -0
- package/es/Scrollbar/style/css.js +1 -0
- package/es/Search/Advanced/SaveHistory.js +1 -2
- package/es/Search/Item.js +1 -2
- package/es/Search/style/css.js +2 -0
- package/es/Title/style/css.js +1 -0
- package/es/Title/title.js +0 -1
- package/es/style/css.js +3 -0
- package/es/style/index.less +13 -13
- package/lib/AMap/Map.js +1 -2
- package/lib/AutoComplete/AutoComplete.js +0 -1
- package/lib/BadgeStatus/Badge.js +1 -2
- package/lib/CardSelect/CardSelect.js +1 -2
- package/lib/CardSelect/style/css.js +3 -0
- package/lib/CheckButton/CheckButton.js +1 -2
- package/lib/CheckButton/style/css.js +3 -0
- package/lib/DragModal/DragModal.js +0 -1
- package/lib/DragModal/style/css.js +3 -0
- package/lib/Echarts/Echarts.js +1 -2
- package/lib/EditTable/EditTable.js +4 -6
- package/lib/EditTable/FormItem.js +0 -1
- package/lib/EditTable/Header.js +5 -3
- package/lib/EditTable/components/ContextMenu/Menu.js +1 -2
- package/lib/EditTable/components/Search/search.js +1 -2
- package/lib/EditTable/components/Search/sort.js +1 -3
- package/lib/EditTable/group.js +7 -10
- package/lib/EditTable/hooks/useValidate.js +1 -1
- package/lib/EditTable/style/css.js +3 -0
- package/lib/EditTable/utils.js +1 -1
- package/lib/Ellipsis/style/css.js +3 -0
- package/lib/FullPage/FullPage.js +1 -2
- package/lib/Icon/icon.js +4 -5
- package/lib/LocaleProvider/index.js +1 -2
- package/lib/MonacoEditor/style/css.js +3 -0
- package/lib/PermissionButton/index.js +6 -7
- package/lib/ProLayout/Basic/BasicLayout.js +34 -40
- package/lib/ProLayout/Basic/Header.js +2 -6
- package/lib/ProLayout/PageContainer/index.js +7 -11
- package/lib/ProLayout/SiderMenu/BaseMenu.js +17 -39
- package/lib/ProLayout/SiderMenu/SiderMenu.js +14 -35
- package/lib/ProLayout/TopHeader/index.js +2 -9
- package/lib/ProLayout/style/css.js +3 -0
- package/lib/ProLayout/util.js +5 -5
- package/lib/ProTable/Content.js +5 -5
- package/lib/ProTable/hooks/useTableSelection.js +2 -0
- package/lib/ProTable/style/css.js +3 -0
- package/lib/RadioButton/RadioButton.js +0 -1
- package/lib/RadioButton/style/css.js +3 -0
- package/lib/Scrollbar/style/css.js +3 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -2
- package/lib/Search/Item.js +1 -2
- package/lib/Search/style/css.js +4 -0
- package/lib/Title/style/css.js +3 -0
- package/lib/Title/title.js +0 -1
- package/lib/components.js +1 -2
- package/lib/index.js +1 -2
- package/lib/style/css.js +4 -0
- package/lib/style/index.less +13 -13
- package/package.json +5 -5
- package/es/CardSelect/style/index.css +0 -24
- package/es/CardSelect/style/index.less +0 -26
- package/es/CheckButton/style/index.css +0 -37
- package/es/CheckButton/style/index.less +0 -40
- package/es/DragModal/style/index.css +0 -82
- package/es/DragModal/style/index.less +0 -97
- package/es/EditTable/style/body.less +0 -66
- package/es/EditTable/style/form.less +0 -33
- package/es/EditTable/style/group.less +0 -32
- package/es/EditTable/style/header.less +0 -77
- package/es/EditTable/style/index.css +0 -267
- package/es/EditTable/style/index.less +0 -41
- package/es/EditTable/style/menu.less +0 -25
- package/es/EditTable/style/table.less +0 -47
- package/es/Ellipsis/style/index.css +0 -17
- package/es/Ellipsis/style/index.less +0 -20
- package/es/MonacoEditor/style/index.css +0 -4
- package/es/MonacoEditor/style/index.less +0 -4
- package/es/ProLayout/Basic/BasicLayout.less +0 -66
- package/es/ProLayout/Basic/Header.less +0 -8
- package/es/ProLayout/PageContainer/index.less +0 -103
- package/es/ProLayout/SiderMenu/index.less +0 -231
- package/es/ProLayout/TopHeader/index.less +0 -174
- package/es/ProLayout/style/default.less +0 -4
- package/es/ProLayout/style/style.less +0 -7
- package/es/ProTable/style/ProTable.less +0 -141
- package/es/RadioButton/style/index.css +0 -20
- package/es/RadioButton/style/index.less +0 -19
- package/es/Scrollbar/style/index.css +0 -65
- package/es/Scrollbar/style/index.less +0 -83
- package/es/Search/style/Item.less +0 -33
- package/es/Search/style/Search.less +0 -179
- package/es/Title/style/index.css +0 -23
- package/es/Title/style/index.less +0 -25
- package/es/style/index.css +0 -5197
- package/es/style/variable.css +0 -4
- package/es/style/variable.less +0 -4
- package/lib/CardSelect/style/index.css +0 -24
- package/lib/CardSelect/style/index.less +0 -26
- package/lib/CheckButton/style/index.css +0 -37
- package/lib/CheckButton/style/index.less +0 -40
- package/lib/DragModal/style/index.css +0 -82
- package/lib/DragModal/style/index.less +0 -97
- package/lib/EditTable/style/body.less +0 -66
- package/lib/EditTable/style/form.less +0 -33
- package/lib/EditTable/style/group.less +0 -32
- package/lib/EditTable/style/header.less +0 -77
- package/lib/EditTable/style/index.css +0 -267
- package/lib/EditTable/style/index.less +0 -41
- package/lib/EditTable/style/menu.less +0 -25
- package/lib/EditTable/style/table.less +0 -47
- package/lib/Ellipsis/style/index.css +0 -17
- package/lib/Ellipsis/style/index.less +0 -20
- package/lib/MonacoEditor/style/index.css +0 -4
- package/lib/MonacoEditor/style/index.less +0 -4
- package/lib/ProLayout/Basic/BasicLayout.less +0 -66
- package/lib/ProLayout/Basic/Header.less +0 -8
- package/lib/ProLayout/PageContainer/index.less +0 -103
- package/lib/ProLayout/SiderMenu/index.less +0 -231
- package/lib/ProLayout/TopHeader/index.less +0 -174
- package/lib/ProLayout/style/default.less +0 -4
- package/lib/ProLayout/style/style.less +0 -7
- package/lib/ProTable/style/ProTable.less +0 -141
- package/lib/RadioButton/style/index.css +0 -20
- package/lib/RadioButton/style/index.less +0 -19
- package/lib/Scrollbar/style/index.css +0 -65
- package/lib/Scrollbar/style/index.less +0 -83
- package/lib/Search/style/Item.less +0 -33
- package/lib/Search/style/Search.less +0 -179
- package/lib/Title/style/index.css +0 -23
- package/lib/Title/style/index.less +0 -25
- package/lib/style/components.less +0 -9
- package/lib/style/index.css +0 -5197
- package/lib/style/variable.css +0 -4
- package/lib/style/variable.less +0 -4
|
@@ -2,7 +2,7 @@ import { Fragment as _Fragment } from "vue";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
4
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
-
import { createVNode as _createVNode
|
|
5
|
+
import { createVNode as _createVNode } from "vue";
|
|
6
6
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
7
7
|
var _excluded = ["title", "tabList", "tabActiveKey", "content", "pageHeaderRender", "header", "extraContent", "prefixedClassName", "prefixCls", "fixedHeader", "showBack"];
|
|
8
8
|
import { withInstall } from 'ant-design-vue/es/_util/type';
|
|
@@ -15,9 +15,6 @@ import "ant-design-vue/es/_util/type";
|
|
|
15
15
|
import 'ant-design-vue/es/_util/vue-types';
|
|
16
16
|
import { LayoutType } from "../defaultSettings";
|
|
17
17
|
import { useLocaleReceiver } from "../../LocaleReciver";
|
|
18
|
-
function _isSlot(s) {
|
|
19
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
20
|
-
}
|
|
21
18
|
export var pageHeaderTabConfig = {
|
|
22
19
|
/**
|
|
23
20
|
* @name tabs 的列表
|
|
@@ -153,7 +150,6 @@ var renderFooter = function renderFooter(props) {
|
|
|
153
150
|
}, [item.tab]);
|
|
154
151
|
};
|
|
155
152
|
if (tabList && tabList.length) {
|
|
156
|
-
var _slot;
|
|
157
153
|
return _createVNode(Tabs, _objectSpread({
|
|
158
154
|
"class": "page-container-tabs",
|
|
159
155
|
"activeKey": tabActiveKey,
|
|
@@ -163,14 +159,14 @@ var renderFooter = function renderFooter(props) {
|
|
|
163
159
|
}
|
|
164
160
|
},
|
|
165
161
|
"tabBarExtraContent": tabBarExtraContent
|
|
166
|
-
}, tabProps),
|
|
167
|
-
return _createVNode(Tabs.TabPane, _objectSpread(_objectSpread({}, item), {}, {
|
|
168
|
-
"tab": tabPane(item),
|
|
169
|
-
"key": item.key
|
|
170
|
-
}), null);
|
|
171
|
-
})) ? _slot : {
|
|
162
|
+
}, tabProps), {
|
|
172
163
|
default: function _default() {
|
|
173
|
-
return [
|
|
164
|
+
return [tabList.map(function (item) {
|
|
165
|
+
return _createVNode(Tabs.TabPane, _objectSpread(_objectSpread({}, item), {}, {
|
|
166
|
+
"tab": tabPane(item),
|
|
167
|
+
"key": item.key
|
|
168
|
+
}), null);
|
|
169
|
+
})];
|
|
174
170
|
}
|
|
175
171
|
});
|
|
176
172
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
|
-
import { isVNode as _isVNode } from "vue";
|
|
3
2
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
3
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
5
4
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
@@ -12,9 +11,6 @@ import IconFont from '../../Icon';
|
|
|
12
11
|
import { regular } from '@jetlinks-web/utils';
|
|
13
12
|
import { Menu } from 'ant-design-vue/es/';
|
|
14
13
|
import { createFromIconfontCN } from '@ant-design/icons-vue';
|
|
15
|
-
function _isSlot(s) {
|
|
16
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
17
|
-
}
|
|
18
14
|
export var baseMenuProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
|
|
19
15
|
prefixCls: {
|
|
20
16
|
type: String,
|
|
@@ -118,8 +114,7 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
|
|
|
118
114
|
});
|
|
119
115
|
_defineProperty(this, "getSubMenuOrItem", function (item) {
|
|
120
116
|
var _item$meta, _item$meta2, _item$meta7, _item$meta8;
|
|
121
|
-
if (Array.isArray(item.children) && item.children.length > 0 && !(item
|
|
122
|
-
var _slot;
|
|
117
|
+
if (Array.isArray(item.children) && item.children.length > 0 && !(item !== null && item !== void 0 && (_item$meta = item.meta) !== null && _item$meta !== void 0 && _item$meta.hideInMenu) && !(item !== null && item !== void 0 && (_item$meta2 = item.meta) !== null && _item$meta2 !== void 0 && _item$meta2.hideChildrenInMenu)) {
|
|
123
118
|
var _item$meta3, _item$meta4, _item$meta5, _item$meta6;
|
|
124
119
|
if (_this.props.subMenuItemRender) {
|
|
125
120
|
var subMenuItemRender = withCtx(_this.props.subMenuItemRender, _this.ctx);
|
|
@@ -132,21 +127,13 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
|
|
|
132
127
|
prefixCls = _this$props.prefixCls,
|
|
133
128
|
locale = _this$props.locale;
|
|
134
129
|
var menuTitle = locale && locale((_item$meta3 = item.meta) === null || _item$meta3 === void 0 ? void 0 : _item$meta3.title) || ((_item$meta4 = item.meta) === null || _item$meta4 === void 0 ? void 0 : _item$meta4.title);
|
|
135
|
-
var defaultTitle = (
|
|
130
|
+
var defaultTitle = (_item$meta5 = item.meta) !== null && _item$meta5 !== void 0 && _item$meta5.icon ? _createVNode("span", {
|
|
136
131
|
"class": "".concat(prefixCls, "-menu-item")
|
|
137
132
|
}, [_createVNode("span", {
|
|
138
133
|
"class": "".concat(prefixCls, "-menu-item-title")
|
|
139
|
-
},
|
|
140
|
-
default: function _default() {
|
|
141
|
-
return [menuTitle];
|
|
142
|
-
}
|
|
143
|
-
})]) : _createVNode("span", {
|
|
134
|
+
}, [menuTitle])]) : _createVNode("span", {
|
|
144
135
|
"class": "".concat(prefixCls, "-menu-item")
|
|
145
|
-
},
|
|
146
|
-
default: function _default() {
|
|
147
|
-
return [menuTitle];
|
|
148
|
-
}
|
|
149
|
-
});
|
|
136
|
+
}, [menuTitle]);
|
|
150
137
|
return _createVNode(Menu.SubMenu, {
|
|
151
138
|
"title": defaultTitle,
|
|
152
139
|
"key": item.path,
|
|
@@ -155,9 +142,9 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
|
|
|
155
142
|
"iconUrl": _this.props.iconfontUrl,
|
|
156
143
|
"icon": (_item$meta6 = item.meta) === null || _item$meta6 === void 0 ? void 0 : _item$meta6.icon
|
|
157
144
|
}, null)
|
|
158
|
-
},
|
|
145
|
+
}, {
|
|
159
146
|
default: function _default() {
|
|
160
|
-
return [
|
|
147
|
+
return [_this.getNavMenuItems(item.children)];
|
|
161
148
|
}
|
|
162
149
|
});
|
|
163
150
|
}
|
|
@@ -174,15 +161,14 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
|
|
|
174
161
|
"disabled": (_item$meta7 = item.meta) === null || _item$meta7 === void 0 ? void 0 : _item$meta7.disabled,
|
|
175
162
|
"danger": (_item$meta8 = item.meta) === null || _item$meta8 === void 0 ? void 0 : _item$meta8.danger,
|
|
176
163
|
"key": item.path
|
|
177
|
-
},
|
|
164
|
+
}, {
|
|
178
165
|
default: function _default() {
|
|
179
166
|
return [title];
|
|
180
167
|
}
|
|
181
168
|
});
|
|
182
169
|
});
|
|
183
170
|
_defineProperty(this, "getMenuItem", function (item) {
|
|
184
|
-
var
|
|
185
|
-
var _item$meta9, _item$meta10, _item$meta11, _item$meta12, _item$meta13;
|
|
171
|
+
var _item$meta9, _item$meta0, _item$meta1, _item$meta10, _item$meta11;
|
|
186
172
|
var meta = _objectSpread({}, item.meta);
|
|
187
173
|
var target = meta.target || null;
|
|
188
174
|
var hasUrl = regular.isUrl(item.path);
|
|
@@ -201,30 +187,22 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(_props, ctx) {
|
|
|
201
187
|
locale = _this$props2.locale;
|
|
202
188
|
var icon = ((_item$meta9 = item.meta) === null || _item$meta9 === void 0 ? void 0 : _item$meta9.icon) && _createVNode(LazyIcon, {
|
|
203
189
|
"iconUrl": _this.props.iconfontUrl,
|
|
204
|
-
"icon": (_item$
|
|
190
|
+
"icon": (_item$meta0 = item.meta) === null || _item$meta0 === void 0 ? void 0 : _item$meta0.icon
|
|
205
191
|
}, null) || undefined;
|
|
206
|
-
var menuTitle = locale && locale((_item$
|
|
207
|
-
var defaultTitle = (
|
|
192
|
+
var menuTitle = locale && locale((_item$meta1 = item.meta) === null || _item$meta1 === void 0 ? void 0 : _item$meta1.title) || ((_item$meta10 = item.meta) === null || _item$meta10 === void 0 ? void 0 : _item$meta10.title);
|
|
193
|
+
var defaultTitle = (_item$meta11 = item.meta) !== null && _item$meta11 !== void 0 && _item$meta11.icon ? _createVNode(CustomTag, _objectSpread(_objectSpread(_objectSpread({}, attrs), props), {}, {
|
|
208
194
|
"class": "".concat(prefixCls, "-menu-item")
|
|
209
195
|
}), {
|
|
210
196
|
default: function _default() {
|
|
211
197
|
return [icon, _createVNode("span", {
|
|
212
198
|
"class": "".concat(prefixCls, "-menu-item-title")
|
|
213
|
-
},
|
|
214
|
-
default: function _default() {
|
|
215
|
-
return [menuTitle];
|
|
216
|
-
}
|
|
217
|
-
})];
|
|
199
|
+
}, [menuTitle])];
|
|
218
200
|
}
|
|
219
201
|
}) : _createVNode(CustomTag, _objectSpread(_objectSpread(_objectSpread({}, attrs), props), {}, {
|
|
220
202
|
"class": "".concat(prefixCls, "-menu-item")
|
|
221
|
-
}),
|
|
222
|
-
default: function _default() {
|
|
223
|
-
return [menuTitle];
|
|
224
|
-
}
|
|
225
|
-
})) ? _slot2 : {
|
|
203
|
+
}), {
|
|
226
204
|
default: function _default() {
|
|
227
|
-
return [
|
|
205
|
+
return [_createVNode("span", null, [menuTitle])];
|
|
228
206
|
}
|
|
229
207
|
});
|
|
230
208
|
return [defaultTitle, icon];
|
|
@@ -262,7 +240,6 @@ export default defineComponent({
|
|
|
262
240
|
emit('click', args);
|
|
263
241
|
};
|
|
264
242
|
return function () {
|
|
265
|
-
var _slot3;
|
|
266
243
|
return _createVNode(Menu, _objectSpread({
|
|
267
244
|
"key": "Menu",
|
|
268
245
|
"inlineIndent": 16,
|
|
@@ -273,9 +250,9 @@ export default defineComponent({
|
|
|
273
250
|
"onOpenChange": handleOpenChange,
|
|
274
251
|
"onSelect": handleSelect,
|
|
275
252
|
"onClick": handleClick
|
|
276
|
-
}, props.menuProps),
|
|
253
|
+
}, props.menuProps), {
|
|
277
254
|
default: function _default() {
|
|
278
|
-
return [
|
|
255
|
+
return [menuUtil.getNavMenuItems(props.menuData)];
|
|
279
256
|
}
|
|
280
257
|
});
|
|
281
258
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { createVNode as _createVNode,
|
|
3
|
+
import { createVNode as _createVNode, createTextVNode as _createTextVNode, Fragment as _Fragment } from "vue";
|
|
4
4
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
5
5
|
import { LayoutSider as Sider, Menu, Tooltip } from 'ant-design-vue/es/';
|
|
6
6
|
import BaseMenu, { baseMenuProps } from './BaseMenu';
|
|
@@ -10,9 +10,6 @@ import IconFont from '../../Icon';
|
|
|
10
10
|
import { useRouteContext } from '../RouteContext';
|
|
11
11
|
import { computed, unref } from 'vue';
|
|
12
12
|
import "../typings";
|
|
13
|
-
function _isSlot(s) {
|
|
14
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
15
|
-
}
|
|
16
13
|
export var siderMenuProps = _objectSpread(_objectSpread(_objectSpread({}, defaultSettingProps), baseMenuProps), {}, {
|
|
17
14
|
logo: {
|
|
18
15
|
type: [Object, String, Function],
|
|
@@ -145,11 +142,7 @@ export var defaultRenderLogoAndTitle = function defaultRenderLogoAndTitle(props)
|
|
|
145
142
|
if (layout === 'mix' && renderFunction === false) {
|
|
146
143
|
return null;
|
|
147
144
|
}
|
|
148
|
-
var titleDom = _createVNode("h1", null,
|
|
149
|
-
default: function _default() {
|
|
150
|
-
return [title];
|
|
151
|
-
}
|
|
152
|
-
});
|
|
145
|
+
var titleDom = _createVNode("h1", null, [title]);
|
|
153
146
|
if (renderKey === 'menuHeaderRender') {
|
|
154
147
|
return null;
|
|
155
148
|
}
|
|
@@ -159,11 +152,7 @@ export var defaultRenderLogoAndTitle = function defaultRenderLogoAndTitle(props)
|
|
|
159
152
|
return renderFunction(logoDom, props.collapsed ? null : titleDom, props);
|
|
160
153
|
}
|
|
161
154
|
if (Array.isArray(renderFunction)) {
|
|
162
|
-
return _createVNode(_Fragment, null,
|
|
163
|
-
default: function _default() {
|
|
164
|
-
return [renderFunction];
|
|
165
|
-
}
|
|
166
|
-
});
|
|
155
|
+
return _createVNode(_Fragment, null, [renderFunction]);
|
|
167
156
|
}
|
|
168
157
|
return _createVNode("a", null, [logoDom, props.collapsed ? null : titleDom]);
|
|
169
158
|
};
|
|
@@ -175,7 +164,6 @@ export var defaultRenderCollapsedButton = function defaultRenderCollapsedButton(
|
|
|
175
164
|
}, null);
|
|
176
165
|
};
|
|
177
166
|
var SiderMenu = function SiderMenu(props) {
|
|
178
|
-
var _slot;
|
|
179
167
|
var collapsed = props.collapsed,
|
|
180
168
|
siderWidth = props.siderWidth,
|
|
181
169
|
breakpoint = props.breakpoint,
|
|
@@ -276,17 +264,9 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
276
264
|
"onClick": props.layout !== 'mix' ? props.onMenuHeaderClick : undefined,
|
|
277
265
|
"id": "logo",
|
|
278
266
|
"style": props === null || props === void 0 ? void 0 : props.logoStyle
|
|
279
|
-
},
|
|
280
|
-
default: function _default() {
|
|
281
|
-
return [headerDom];
|
|
282
|
-
}
|
|
283
|
-
}), extraDom && _createVNode("div", {
|
|
267
|
+
}, [headerDom]), extraDom && _createVNode("div", {
|
|
284
268
|
"class": _defineProperty(_defineProperty({}, "".concat(baseClassName, "-extra"), true), "".concat(baseClassName, "-extra-no-logo"), !headerDom)
|
|
285
|
-
},
|
|
286
|
-
default: function _default() {
|
|
287
|
-
return [extraDom];
|
|
288
|
-
}
|
|
289
|
-
}), _createVNode("div", {
|
|
269
|
+
}, [extraDom]), _createVNode("div", {
|
|
290
270
|
"class": "".concat(baseClassName, "-body"),
|
|
291
271
|
"style": "flex: 1; overflow: hidden auto;"
|
|
292
272
|
}, [props.layoutType !== LayoutType.CARD ? menuContentRender && menuContentRender(props, defaultMenuDom) || defaultMenuDom : null]), _createVNode("div", {
|
|
@@ -303,17 +283,17 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
303
283
|
props.onCollapse(!props.collapsed);
|
|
304
284
|
}
|
|
305
285
|
}
|
|
306
|
-
}, _isSlot(_slot = _createVNode(Menu.Item, {
|
|
307
|
-
"key": 'collapsed-button',
|
|
308
|
-
"class": "".concat(baseClassName, "-collapsed-button"),
|
|
309
|
-
"title": false
|
|
310
286
|
}, {
|
|
311
287
|
default: function _default() {
|
|
312
|
-
return [
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
288
|
+
return [_createVNode(Menu.Item, {
|
|
289
|
+
"key": 'collapsed-button',
|
|
290
|
+
"class": "".concat(baseClassName, "-collapsed-button"),
|
|
291
|
+
"title": false
|
|
292
|
+
}, {
|
|
293
|
+
default: function _default() {
|
|
294
|
+
return [collapsedButtonRender && typeof collapsedButtonRender === 'function' ? collapsedButtonRender(collapsed) : collapsedButtonRender];
|
|
295
|
+
}
|
|
296
|
+
})];
|
|
317
297
|
}
|
|
318
298
|
}) : null])];
|
|
319
299
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { isVNode as _isVNode } from "vue";
|
|
2
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
2
|
import { createVNode as _createVNode } from "vue";
|
|
4
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
@@ -12,9 +11,6 @@ import { defaultSettingProps, LayoutType } from '../defaultSettings';
|
|
|
12
11
|
import { defaultPrefixCls, useRouteContext } from '../RouteContext';
|
|
13
12
|
import BaseMenu from '../SiderMenu/BaseMenu';
|
|
14
13
|
import { clearMenuItem } from '../util';
|
|
15
|
-
function _isSlot(s) {
|
|
16
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
17
|
-
}
|
|
18
14
|
export var baseHeaderProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
|
|
19
15
|
prefixCls: PropTypes.string.def('ant-pro'),
|
|
20
16
|
collapsed: PropTypes.looseBool,
|
|
@@ -141,11 +137,7 @@ export var TopNavHeader = function TopNavHeader(props) {
|
|
|
141
137
|
"class": "".concat(prefixCls, "-logo"),
|
|
142
138
|
"key": "logo",
|
|
143
139
|
"id": "logo"
|
|
144
|
-
},
|
|
145
|
-
default: function _default() {
|
|
146
|
-
return [headerDom];
|
|
147
|
-
}
|
|
148
|
-
})]), _createVNode("div", {
|
|
140
|
+
}, [headerDom])]), _createVNode("div", {
|
|
149
141
|
"style": {
|
|
150
142
|
flex: 1
|
|
151
143
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.css';
|
package/es/ProLayout/util.js
CHANGED
|
@@ -3,14 +3,14 @@ export function clearMenuItem(menusData) {
|
|
|
3
3
|
return menusData.map(function (item) {
|
|
4
4
|
var _finalItem$meta;
|
|
5
5
|
var finalItem = _objectSpread({}, item);
|
|
6
|
-
if ((_finalItem$meta = finalItem.meta)
|
|
6
|
+
if ((_finalItem$meta = finalItem.meta) !== null && _finalItem$meta !== void 0 && _finalItem$meta.hideInMenu) {
|
|
7
7
|
return null;
|
|
8
8
|
}
|
|
9
|
-
if (finalItem &&
|
|
9
|
+
if (finalItem && finalItem !== null && finalItem !== void 0 && finalItem.children) {
|
|
10
10
|
var _finalItem$meta2;
|
|
11
|
-
if (!((_finalItem$meta2 = finalItem.meta)
|
|
11
|
+
if (!((_finalItem$meta2 = finalItem.meta) !== null && _finalItem$meta2 !== void 0 && _finalItem$meta2.hideChildInMenu) && finalItem.children.some(function (child) {
|
|
12
12
|
var _child$meta;
|
|
13
|
-
return child && child.name && !((_child$meta = child.meta)
|
|
13
|
+
return child && child.name && !((_child$meta = child.meta) !== null && _child$meta !== void 0 && _child$meta.hideInMenu);
|
|
14
14
|
})) {
|
|
15
15
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
16
16
|
children: clearMenuItem(finalItem.children)
|
|
@@ -27,7 +27,7 @@ export function flatMap(menusData) {
|
|
|
27
27
|
return menusData.map(function (item) {
|
|
28
28
|
var _finalItem$meta3;
|
|
29
29
|
var finalItem = _objectSpread({}, item);
|
|
30
|
-
if (!finalItem.name || (
|
|
30
|
+
if (!finalItem.name || (_finalItem$meta3 = finalItem.meta) !== null && _finalItem$meta3 !== void 0 && _finalItem$meta3.hideInMenu) {
|
|
31
31
|
return null;
|
|
32
32
|
}
|
|
33
33
|
if (finalItem.children) {
|
package/es/ProTable/Content.js
CHANGED
|
@@ -20,6 +20,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
20
20
|
"computed": "setup-const",
|
|
21
21
|
"_contentProps": "setup-maybe-ref",
|
|
22
22
|
"Table": "setup-maybe-ref",
|
|
23
|
+
"Checkbox": "setup-maybe-ref",
|
|
23
24
|
"get": "setup-maybe-ref",
|
|
24
25
|
"omit": "setup-maybe-ref",
|
|
25
26
|
"Empty": "setup-maybe-ref",
|
|
@@ -40,7 +41,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
40
41
|
"handleCheckedAllChange": "setup-const"
|
|
41
42
|
} */
|
|
42
43
|
import { defineComponent as _defineComponent } from 'vue';
|
|
43
|
-
import { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode,
|
|
44
|
+
import { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, mergeProps as _mergeProps, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, normalizeProps as _normalizeProps, createSlots as _createSlots, createBlock as _createBlock } from "vue";
|
|
44
45
|
const _hoisted_1 = { class: "jtable-box" };
|
|
45
46
|
const _hoisted_2 = {
|
|
46
47
|
key: 0,
|
|
@@ -57,7 +58,7 @@ const _hoisted_5 = {
|
|
|
57
58
|
};
|
|
58
59
|
import { useSlots, computed } from 'vue';
|
|
59
60
|
import { _contentProps } from "./setting";
|
|
60
|
-
import { Table } from 'ant-design-vue/es/';
|
|
61
|
+
import { Table, Checkbox } from 'ant-design-vue/es/';
|
|
61
62
|
import { get, omit } from 'lodash-es';
|
|
62
63
|
import Empty from '../Empty';
|
|
63
64
|
import { useTableInject } from './hooks';
|
|
@@ -117,13 +118,12 @@ const __sfc_main__ = _defineComponent({
|
|
|
117
118
|
_optionalChain([__rowSelection, 'access', _23 => _23.value, 'optionalAccess', _24 => _24.onSelectAll, 'optionalCall', _25 => _25(flag, props.dataSource, props.dataSource)]);
|
|
118
119
|
};
|
|
119
120
|
return (_ctx, _cache) => {
|
|
120
|
-
const _component_a_checkbox = _resolveComponent("a-checkbox");
|
|
121
121
|
return (_openBlock(), _createElementBlock("div", _hoisted_1, [
|
|
122
122
|
(_ctx.mode === 'CARD')
|
|
123
123
|
? (_openBlock(), _createElementBlock("div", _hoisted_2, [
|
|
124
124
|
(__rowSelection.value && __rowSelection.value.type === 'checkbox')
|
|
125
125
|
? (_openBlock(), _createElementBlock("div", _hoisted_3, [
|
|
126
|
-
_createVNode(
|
|
126
|
+
_createVNode(_unref(Checkbox), {
|
|
127
127
|
indeterminate: indeterminate.value,
|
|
128
128
|
checked: checkedAll.value,
|
|
129
129
|
onChange: handleCheckedAllChange
|
|
@@ -147,7 +147,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
147
147
|
key: item[props.rowKey],
|
|
148
148
|
onClick: ($event) => (onClick(item))
|
|
149
149
|
}, [
|
|
150
|
-
_renderSlot(_ctx.$slots, "card",
|
|
150
|
+
_renderSlot(_ctx.$slots, "card", _mergeProps({ ref_for: true }, item))
|
|
151
151
|
], 10 /* CLASS, PROPS */, _hoisted_4));
|
|
152
152
|
}), 128 /* KEYED_FRAGMENT */))
|
|
153
153
|
], 4 /* STYLE */))
|
|
@@ -65,11 +65,13 @@ export var useTableSelection = function useTableSelection() {
|
|
|
65
65
|
// 提供选择上下文
|
|
66
66
|
selectionObj.value = type === 'checkbox' ? _objectSpread(_objectSpread({}, omit(options, ['isCheck'])), {}, {
|
|
67
67
|
selectedRowKeys: selectedRowKeys,
|
|
68
|
+
type: type,
|
|
68
69
|
onSelect: onSelect,
|
|
69
70
|
onSelectAll: onSelectAll,
|
|
70
71
|
onSelectNone: onSelectNone
|
|
71
72
|
}) : _objectSpread(_objectSpread({}, omit(options, ['isCheck'])), {}, {
|
|
72
73
|
selectedRowKeys: selectedRowKeys,
|
|
74
|
+
type: type,
|
|
73
75
|
onChange: onChange,
|
|
74
76
|
onSelectNone: onSelectNone
|
|
75
77
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './ProTable.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"saveHistory": "setup-const"
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
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
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-1755250732879"), n = n(), _popScopeId(), n);
|
|
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 } from "vue";
|
|
27
26
|
const _hoisted_1 = {
|
|
28
27
|
key: 0,
|
|
29
28
|
style: { "width": "240px" }
|
package/es/Search/Item.js
CHANGED
|
@@ -79,8 +79,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
79
79
|
"valueChange": "setup-const"
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
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
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-1755250732041"), n = n(), _popScopeId(), n);
|
|
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 } from "vue";
|
|
84
83
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
84
|
const _hoisted_2 = {
|
|
86
85
|
key: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
package/es/Title/title.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* Analyzed bindings: {
|
|
2
2
|
"data": "props",
|
|
3
3
|
"style": "props",
|
|
4
|
-
"defineOptions": "setup-const",
|
|
5
4
|
"props": "setup-reactive-const"
|
|
6
5
|
} */
|
|
7
6
|
import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
package/es/style/css.js
ADDED
package/es/style/index.less
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@import '../Ellipsis/style/index.less';
|
|
2
|
-
@import '../CheckButton/style/index.less';
|
|
3
|
-
@import '../ProLayout/style/style.less';
|
|
4
|
-
@import '../ProTable/style/ProTable.less';
|
|
5
|
-
@import '../Search/style/Search.less';
|
|
6
|
-
@import '../Search/style/Item.less';
|
|
7
|
-
@import '../CardSelect/style/index.less';
|
|
8
|
-
@import '../DragModal/style/index.less';
|
|
9
|
-
@import "../EditTable/style/index.less";
|
|
10
|
-
@import "../MonacoEditor/style/index.less";
|
|
11
|
-
@import '../Scrollbar/style/index.less';
|
|
12
|
-
@import '../Title/style/index.less';
|
|
13
|
-
@import '../RadioButton/style/index.less';
|
|
1
|
+
@import '../Ellipsis/style/index.less';
|
|
2
|
+
@import '../CheckButton/style/index.less';
|
|
3
|
+
@import '../ProLayout/style/style.less';
|
|
4
|
+
@import '../ProTable/style/ProTable.less';
|
|
5
|
+
@import '../Search/style/Search.less';
|
|
6
|
+
@import '../Search/style/Item.less';
|
|
7
|
+
@import '../CardSelect/style/index.less';
|
|
8
|
+
@import '../DragModal/style/index.less';
|
|
9
|
+
@import "../EditTable/style/index.less";
|
|
10
|
+
@import "../MonacoEditor/style/index.less";
|
|
11
|
+
@import '../Scrollbar/style/index.less';
|
|
12
|
+
@import '../Title/style/index.less';
|
|
13
|
+
@import '../RadioButton/style/index.less';
|
package/lib/AMap/Map.js
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"ref": "setup-const",
|
|
11
11
|
"computed": "setup-const",
|
|
12
12
|
"inject": "setup-const",
|
|
13
|
-
"defineOptions": "setup-const",
|
|
14
13
|
"initAMapApiLoader": "setup-maybe-ref",
|
|
15
14
|
"ElAmap": "setup-maybe-ref",
|
|
16
15
|
"getAMapUiPromise": "setup-maybe-ref",
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
} */
|
|
33
32
|
import { defineComponent as _defineComponent } from 'vue';
|
|
34
33
|
import { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
|
|
35
|
-
import { ref, computed, inject
|
|
34
|
+
import { ref, computed, inject } from 'vue';
|
|
36
35
|
import { initAMapApiLoader, ElAmap } from '@vuemap/vue-amap';
|
|
37
36
|
import { getAMapUiPromise } from '@jetlinks-web/utils';
|
|
38
37
|
import { MapProps } from './util';
|
|
@@ -19,7 +19,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
19
19
|
"AutoComplete": "setup-maybe-ref",
|
|
20
20
|
"autoCompleteProps": "setup-maybe-ref",
|
|
21
21
|
"ref": "setup-const",
|
|
22
|
-
"defineOptions": "setup-const",
|
|
23
22
|
"watch": "setup-const",
|
|
24
23
|
"props": "setup-reactive-const",
|
|
25
24
|
"emit": "setup-const",
|
package/lib/BadgeStatus/Badge.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"status": "props",
|
|
4
4
|
"statusNames": "props",
|
|
5
5
|
"computed": "setup-const",
|
|
6
|
-
"defineOptions": "setup-const",
|
|
7
6
|
"getHexColor": "setup-maybe-ref",
|
|
8
7
|
"Badge": "setup-maybe-ref",
|
|
9
8
|
"props": "setup-reactive-const",
|
|
@@ -11,7 +10,7 @@
|
|
|
11
10
|
} */
|
|
12
11
|
import { defineComponent as _defineComponent } from 'vue';
|
|
13
12
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
14
|
-
import { computed
|
|
13
|
+
import { computed } from 'vue';
|
|
15
14
|
import { getHexColor } from './color';
|
|
16
15
|
import { Badge } from 'ant-design-vue/lib/';
|
|
17
16
|
const __sfc_main__ = _defineComponent({
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"computed": "setup-const",
|
|
11
11
|
"ref": "setup-const",
|
|
12
12
|
"watch": "setup-const",
|
|
13
|
-
"defineOptions": "setup-const",
|
|
14
13
|
"Form": "setup-maybe-ref",
|
|
15
14
|
"props": "setup-reactive-const",
|
|
16
15
|
"emit": "setup-const",
|
|
@@ -26,7 +25,7 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
|
26
25
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
27
26
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
28
27
|
import { has } from 'lodash-es';
|
|
29
|
-
import { computed, ref, watch
|
|
28
|
+
import { computed, ref, watch } from 'vue';
|
|
30
29
|
import { Form } from 'ant-design-vue/lib/';
|
|
31
30
|
const __sfc_main__ = Object.assign({
|
|
32
31
|
name: 'JCardSelect'
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"computed": "setup-const",
|
|
9
9
|
"ref": "setup-const",
|
|
10
10
|
"watch": "setup-const",
|
|
11
|
-
"defineOptions": "setup-const",
|
|
12
11
|
"isArray": "setup-maybe-ref",
|
|
13
12
|
"props": "setup-reactive-const",
|
|
14
13
|
"emit": "setup-const",
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
import { defineComponent as _defineComponent } from 'vue';
|
|
21
20
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
22
21
|
const _hoisted_1 = ["onClick"];
|
|
23
|
-
import { computed, ref, watch
|
|
22
|
+
import { computed, ref, watch } from 'vue';
|
|
24
23
|
import { isArray } from '@jetlinks-web/utils';
|
|
25
24
|
const __sfc_main__ = _defineComponent({
|
|
26
25
|
...{
|
|
@@ -23,7 +23,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
23
23
|
"footer": "props",
|
|
24
24
|
"ref": "setup-const",
|
|
25
25
|
"useSlots": "setup-const",
|
|
26
|
-
"defineOptions": "setup-const",
|
|
27
26
|
"computed": "setup-const",
|
|
28
27
|
"onMounted": "setup-const",
|
|
29
28
|
"watch": "setup-const",
|
package/lib/Echarts/Echarts.js
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"nextTick": "setup-const",
|
|
5
5
|
"ref": "setup-const",
|
|
6
6
|
"watch": "setup-const",
|
|
7
|
-
"defineOptions": "setup-const",
|
|
8
7
|
"useECharts": "setup-maybe-ref",
|
|
9
8
|
"props": "setup-reactive-const",
|
|
10
9
|
"echartsDom": "setup-ref",
|
|
@@ -12,7 +11,7 @@
|
|
|
12
11
|
} */
|
|
13
12
|
import { defineComponent as _defineComponent } from 'vue';
|
|
14
13
|
import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
15
|
-
import { nextTick, ref, watch
|
|
14
|
+
import { nextTick, ref, watch } from 'vue';
|
|
16
15
|
import { useECharts } from '@jetlinks-web/hooks';
|
|
17
16
|
const __sfc_main__ = _defineComponent({
|
|
18
17
|
...{
|