@zgfe/modules-settings 1.2.51-zhongyuan.9 → 2.0.0-zhongyuan.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/components/card/demo/index.js +6 -6
- package/es/components/card/index.js +6 -6
- package/es/components/picCircleSelect/demo/index.js +5 -5
- package/es/components/picCircleSelect/index.js +7 -8
- package/es/components/processCanvas/customNode/node_point.js +4 -4
- package/es/components/processCanvas/demo/index.js +5 -6
- package/es/components/processCanvas/index.js +11 -11
- package/es/components/processCanvas/toolbar.js +5 -5
- package/es/components/selectAppWrapper/index.js +14 -15
- package/es/components/settingTabs/index.js +5 -5
- package/es/constants/api.d.ts +2 -0
- package/es/constants/api.js +4 -2
- package/es/modules/appSettings/appInfo/index.js +7 -7
- package/es/modules/appSettings/dataAccessFilter/index.js +5 -5
- package/es/modules/appSettings/virtualSource/index.js +7 -7
- package/es/modules/companySetting/appList/index.js +12 -12
- package/es/modules/companySetting/application/applicationForm.js +9 -9
- package/es/modules/companySetting/application/applicationSetting.js +5 -5
- package/es/modules/companySetting/application/index.js +28 -28
- package/es/modules/companySetting/business/businessForm.js +7 -7
- package/es/modules/companySetting/business/index.js +27 -27
- package/es/modules/companySetting/cost/index.js +20 -20
- package/es/modules/companySetting/department/index.js +16 -16
- package/es/modules/companySetting/edit/authConfig.js +5 -5
- package/es/modules/companySetting/edit/authConfigCEP.js +11 -11
- package/es/modules/companySetting/edit/authGroup.js +13 -13
- package/es/modules/companySetting/edit/authModule.js +18 -18
- package/es/modules/companySetting/edit/multiAuthModule.js +13 -13
- package/es/modules/companySetting/edit/user.js +14 -14
- package/es/modules/companySetting/edit/userGroup.js +16 -16
- package/es/modules/companySetting/index.js +29 -29
- package/es/modules/companySetting/info/index.js +7 -7
- package/es/modules/companySetting/mainPart/index.js +28 -28
- package/es/modules/companySetting/mainPart/mainPartForm.js +13 -13
- package/es/modules/companySetting/mainPart/mainPartSetting.js +5 -5
- package/es/modules/companySetting/mainPart/useColumns.js +16 -16
- package/es/modules/companySetting/operationLog/index.js +13 -13
- package/es/modules/companySetting/role/index.js +23 -23
- package/es/modules/companySetting/role/setDataRangeDialog/index.js +2 -2
- package/es/modules/companySetting/user/index.js +24 -24
- package/es/modules/companySetting/user/invite.js +14 -14
- package/es/modules/companySetting/virtualApp/config.js +8 -8
- package/es/modules/companySetting/virtualApp/index.js +12 -12
- package/es/modules/companySetting/virtualApp/panels/list.js +8 -9
- package/es/modules/companySetting/virtualApp/panels/sourceItem.js +7 -7
- package/es/modules/companySetting/wechatBinding/index.js +7 -7
- package/es/modules/createDemand/collectionAttributeList.js +9 -9
- package/es/modules/createDemand/constants.js +17 -17
- package/es/modules/createDemand/demo/index.js +7 -7
- package/es/modules/createDemand/demo/selectPoint.js +24 -15
- package/es/modules/createDemand/index.js +39 -41
- package/es/modules/createDemand_bf/collectionAttributeList.js +9 -9
- package/es/modules/createDemand_bf/constants.js +4 -4
- package/es/modules/createDemand_bf/index.js +35 -35
- package/es/modules/createProcess/components/processNode.js +11 -11
- package/es/modules/createProcess/index.js +17 -17
- package/es/modules/createProcess/title/index.js +11 -11
- package/es/modules/dealDemand/collectionAttributeList.js +9 -9
- package/es/modules/dealDemand/constants.js +7 -7
- package/es/modules/dealDemand/demo/index.js +7 -7
- package/es/modules/dealDemand/demo/selectPoint.js +13 -13
- package/es/modules/dealDemand/index.js +22 -24
- package/es/modules/demandManage/index.js +14 -15
- package/es/modules/getPassword/index.js +10 -10
- package/es/modules/messageList/index.js +7 -8
- package/es/modules/personalSetting/index.js +5 -5
- package/es/modules/personalSetting/info/index.js +5 -5
- package/es/modules/personalSetting/reset/index.js +5 -5
- package/es/modules/personalSetting/securityLog/index.js +14 -14
- package/es/modules/personalSetting/unbinding/index.js +5 -5
- package/es/modules/pointMap/ImportModal/demo/index.js +5 -5
- package/es/modules/pointMap/ImportModal/index.js +14 -14
- package/es/modules/pointMap/demo/index.js +21 -13
- package/es/modules/pointMap/editTxt/index.js +11 -11
- package/es/modules/pointMap/index.d.ts +1 -0
- package/es/modules/pointMap/index.js +12 -11
- package/es/modules/pointMap/pageInfo.js +44 -46
- package/es/modules/pointMap/styles/tree.css +7 -4
- package/es/modules/pointMap/styles/tree.less +5 -2
- package/es/modules/pointMap/tree.js +34 -30
- package/es/modules/systemSetting/Dictionary.js +22 -22
- package/es/modules/systemSetting/DictionaryType.js +20 -20
- package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.js +14 -14
- package/es/modules/systemSetting/approvalmanage/index.js +5 -5
- package/es/modules/systemSetting/approvalmanage/processManage/index.js +13 -13
- package/es/modules/systemSetting/authUrl.js +15 -15
- package/es/modules/systemSetting/document-setting/index.js +78 -41
- package/es/modules/systemSetting/index.css +18 -2
- package/es/modules/systemSetting/index.js +18 -20
- package/es/modules/systemSetting/index.less +16 -0
- package/es/modules/systemSetting/notice/edit/index.js +5 -5
- package/es/modules/systemSetting/notice/index.js +11 -11
- package/es/requests/department.js +6 -6
- package/es/requests/role.js +6 -6
- package/es/utils/base64.js +0 -1
- package/es/utils/constants.js +0 -4
- package/es/utils/functionalPermissions.js +6 -8
- package/es/utils/util.js +16 -16
- package/package.json +2 -2
|
@@ -150,4 +150,20 @@
|
|
|
150
150
|
justify-content: space-between;
|
|
151
151
|
margin: 16px 0px 16px;
|
|
152
152
|
}
|
|
153
|
+
&-emptyDom {
|
|
154
|
+
margin: 50px 0px 0px;
|
|
155
|
+
text-align: center;
|
|
156
|
+
&-img {
|
|
157
|
+
display: block;
|
|
158
|
+
width: 248px;
|
|
159
|
+
height: 200px;
|
|
160
|
+
margin: auto;
|
|
161
|
+
background-image: url('./img/empty-data.png');
|
|
162
|
+
background-size: 100%;
|
|
163
|
+
}
|
|
164
|
+
&-tip {
|
|
165
|
+
margin: 0px 0px 10px;
|
|
166
|
+
color: #999;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
153
169
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import { Form, Input, Button, Col, Row } from 'antd';
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
9
|
import constants from '../../../../utils/constants';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
function _toConsumableArray(
|
|
1
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
2
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _iterableToArray(
|
|
4
|
-
function _arrayWithoutHoles(
|
|
5
|
-
function _slicedToArray(
|
|
3
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
4
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
5
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
6
6
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
7
|
-
function _unsupportedIterableToArray(
|
|
8
|
-
function _arrayLikeToArray(
|
|
9
|
-
function _iterableToArrayLimit(
|
|
10
|
-
function _arrayWithHoles(
|
|
7
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
8
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
9
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
11
11
|
import { notification } from 'antd';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import { useState } from 'react';
|
|
@@ -117,16 +117,16 @@ var Notice = function Notice(props) {
|
|
|
117
117
|
style: {
|
|
118
118
|
padding: 40
|
|
119
119
|
}
|
|
120
|
-
}, isEdit ? /*#__PURE__*/React.createElement(ItemEdit, {
|
|
120
|
+
}, isEdit ? (/*#__PURE__*/React.createElement(ItemEdit, {
|
|
121
121
|
editSetting: editSetting,
|
|
122
122
|
editCancel: onEditCancel,
|
|
123
123
|
onSubmit: onEditSubmit
|
|
124
|
-
}) : /*#__PURE__*/React.createElement("div", null, (_toConsumableArray(settingMap) || []).map(function (item) {
|
|
124
|
+
})) : (/*#__PURE__*/React.createElement("div", null, (_toConsumableArray(settingMap) || []).map(function (item) {
|
|
125
125
|
return /*#__PURE__*/React.createElement(ConfigItem, {
|
|
126
126
|
key: item[0],
|
|
127
127
|
item: item[1],
|
|
128
128
|
onEdit: onEdit
|
|
129
129
|
});
|
|
130
|
-
})));
|
|
130
|
+
}))));
|
|
131
131
|
};
|
|
132
132
|
export default Notice;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function _classCallCheck(
|
|
3
|
-
function _defineProperties(
|
|
4
|
-
function _createClass(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
4
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import api from '../constants/api';
|
|
8
8
|
import { ajax } from '@zgfe/business-lib';
|
|
9
9
|
import apis from '../constants/api';
|
package/es/requests/role.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function _classCallCheck(
|
|
3
|
-
function _defineProperties(
|
|
4
|
-
function _createClass(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
4
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import api from '../constants/api';
|
|
8
8
|
import { ajax } from '@zgfe/business-lib';
|
|
9
9
|
import apis from '../constants/api';
|
package/es/utils/base64.js
CHANGED
package/es/utils/constants.js
CHANGED
|
@@ -14,7 +14,6 @@ var version = {
|
|
|
14
14
|
ep: 11,
|
|
15
15
|
pro_trial: 8 // 试用版
|
|
16
16
|
};
|
|
17
|
-
|
|
18
17
|
var versionStr = {
|
|
19
18
|
1: 'basic',
|
|
20
19
|
8: 'pro_trial',
|
|
@@ -32,13 +31,11 @@ var channelMap = {
|
|
|
32
31
|
website: 'channel_website',
|
|
33
32
|
refererUrl: 'channel_referer_url' //来源url
|
|
34
33
|
};
|
|
35
|
-
|
|
36
34
|
var orderTypeMap = {
|
|
37
35
|
datainType: 'datainType',
|
|
38
36
|
datainBasic: 'datainBasic',
|
|
39
37
|
datainAdvanced: 'datainAdvanced' // 高级接入项
|
|
40
38
|
};
|
|
41
|
-
|
|
42
39
|
var versionName = {
|
|
43
40
|
basic: '过期用户',
|
|
44
41
|
basic_pro: '基础版',
|
|
@@ -51,7 +48,6 @@ var mapUsable = {
|
|
|
51
48
|
target: ['number', 'times', 'per', 'sum', 'avg'],
|
|
52
49
|
dimension: ['area', 'city', 'current_area', 'current_city'] // 省份触发环境、城市触发环境、省份用户内置属性、城市用户内置属性
|
|
53
50
|
};
|
|
54
|
-
|
|
55
51
|
var eventOwner = {
|
|
56
52
|
custom: 'zg',
|
|
57
53
|
fixed: 'zg_abp' // 内置事件
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
/*
|
|
8
8
|
* 菜单name 与 菜单权限值key 映射表
|
|
9
9
|
* 注:每个菜单的name是唯一的,其对应的权限值key也是唯一的
|
|
@@ -14,11 +14,9 @@ var standard = _objectSpread({
|
|
|
14
14
|
default: {
|
|
15
15
|
key: 'default' // 默认权限
|
|
16
16
|
},
|
|
17
|
-
|
|
18
17
|
all: {
|
|
19
18
|
key: '/' // 功能权限
|
|
20
19
|
},
|
|
21
|
-
|
|
22
20
|
panel: {
|
|
23
21
|
key: '/panel'
|
|
24
22
|
},
|
package/es/utils/util.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _toConsumableArray(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
8
8
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _iterableToArray(
|
|
10
|
-
function _arrayWithoutHoles(
|
|
11
|
-
function _createForOfIteratorHelper(
|
|
12
|
-
function _unsupportedIterableToArray(
|
|
13
|
-
function _arrayLikeToArray(
|
|
14
|
-
function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
9
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
10
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
11
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
|
+
function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(e, r) { return new BabelRegExp(e, void 0, r); }; var e = RegExp.prototype, r = new WeakMap(); function BabelRegExp(e, t, p) { var o = RegExp(e, t); return r.set(o, p || r.get(e)), _setPrototypeOf(o, BabelRegExp.prototype); } function buildGroups(e, t) { var p = r.get(t); return Object.keys(p).reduce(function (r, t) { var o = p[t]; if ("number" == typeof o) r[t] = e[o];else { for (var i = 0; void 0 === e[o[i]] && i + 1 < o.length;) i++; r[t] = e[o[i]]; } return r; }, Object.create(null)); } return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (r) { var t = e.exec.call(this, r); if (t) { t.groups = buildGroups(t, this); var p = t.indices; p && (p.groups = buildGroups(p, this)); } return t; }, BabelRegExp.prototype[Symbol.replace] = function (t, p) { if ("string" == typeof p) { var o = r.get(this); return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)>/g, function (e, r) { var t = o[r]; return "$" + (Array.isArray(t) ? t.join("$") : t); })); } if ("function" == typeof p) { var i = this; return e[Symbol.replace].call(this, t, function () { var e = arguments; return "object" != _typeof(e[e.length - 1]) && (e = [].slice.call(e)).push(buildGroups(e, i)), p.apply(this, e); }); } return e[Symbol.replace].call(this, t, p); }, _wrapRegExp.apply(this, arguments); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Created by yqdong on 2017/5/3.
|
|
19
19
|
* qq: 1013501639
|
|
@@ -584,7 +584,7 @@ var util = {
|
|
|
584
584
|
* base64图片转二进制
|
|
585
585
|
*/
|
|
586
586
|
dataUrlToFile: function dataUrlToFile(base64Str) {
|
|
587
|
-
var res = base64Str.match(
|
|
587
|
+
var res = base64Str.match(/*#__PURE__*/_wrapRegExp(/^data:image\/(.*);base64,(.*)/, {
|
|
588
588
|
mime: 1,
|
|
589
589
|
data: 2
|
|
590
590
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-zhongyuan.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@types/lodash": "^4.14.182",
|
|
51
51
|
"@umijs/fabric": "^2.8.1",
|
|
52
52
|
"@umijs/test": "^3.0.5",
|
|
53
|
-
"@zgfe/business-lib": "1.2.70-hxd.
|
|
53
|
+
"@zgfe/business-lib": "1.2.70-hxd.5",
|
|
54
54
|
"@zgfe/modules-demo-manage": "1.0.5-zhongyuan.0",
|
|
55
55
|
"@zgfe/modules-dm": "1.0.56-zhongyuan.1",
|
|
56
56
|
"antd": "^4.22.6",
|