@zgfe/modules-attribution 1.0.3 → 1.0.4
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.
|
@@ -11,7 +11,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11
11
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { BizGlobalDataContext, IconFont, BizAddToScene, BizAddToPanel } from '@zgfe/business-lib';
|
|
14
|
-
import { Button } from 'antd';
|
|
14
|
+
import { Button, Select } from 'antd';
|
|
15
|
+
var Option = Select.Option;
|
|
15
16
|
import React, { useContext, useImperativeHandle, useMemo, useState } from 'react';
|
|
16
17
|
import _ from 'lodash';
|
|
17
18
|
import { Apis, chartTypes } from "../../constants";
|
|
@@ -162,7 +163,29 @@ var OptionGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
162
163
|
};
|
|
163
164
|
return /*#__PURE__*/React.createElement("div", {
|
|
164
165
|
className: classPrefix
|
|
165
|
-
}, /*#__PURE__*/React.createElement(
|
|
166
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
167
|
+
placeholder: "\u8BF7\u9009\u62E9\u65F6\u533A",
|
|
168
|
+
allowClear: true,
|
|
169
|
+
style: {
|
|
170
|
+
width: '240px'
|
|
171
|
+
}
|
|
172
|
+
}, /*#__PURE__*/React.createElement(Option, {
|
|
173
|
+
value: "0"
|
|
174
|
+
}, "\u4E2D\u56FD\u6807\u51C6\u65F6\u95F4(\u5317\u4EAC)(UTC+8)"), /*#__PURE__*/React.createElement(Option, {
|
|
175
|
+
value: "1"
|
|
176
|
+
}, "\u4E2D\u56FD\u53F0\u5317(UTC+8)"), /*#__PURE__*/React.createElement(Option, {
|
|
177
|
+
value: "2"
|
|
178
|
+
}, "\u65E5\u672C\u4E1C\u4EAC(UTC+9)"), /*#__PURE__*/React.createElement(Option, {
|
|
179
|
+
value: "3"
|
|
180
|
+
}, "\u82F1\u56FD\u82F1\u56FD\u4F26\u6566(UTC+0)"), /*#__PURE__*/React.createElement(Option, {
|
|
181
|
+
value: "4"
|
|
182
|
+
}, "\u4FC4\u7F57\u65AF\u83AB\u65AF\u79D1(UTC+3)"), /*#__PURE__*/React.createElement(Option, {
|
|
183
|
+
value: "5"
|
|
184
|
+
}, "\u9A6C\u6765\u897F\u4E9A\u5409\u9686\u5761(UTC+8)"), /*#__PURE__*/React.createElement(Option, {
|
|
185
|
+
value: "6"
|
|
186
|
+
}, "\u7F8E\u56FD\u7EBD\u7EA6(UTC-4)"), /*#__PURE__*/React.createElement(Option, {
|
|
187
|
+
value: "7"
|
|
188
|
+
}, "\u52A0\u62FF\u5927\u6E29\u54E5\u534E(UTC-7)")), /*#__PURE__*/React.createElement(Button, {
|
|
166
189
|
icon: /*#__PURE__*/React.createElement(IconFont, {
|
|
167
190
|
className: "".concat(classPrefix, "-icon"),
|
|
168
191
|
type: "xiazai1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-attribution",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"prettier": "^2.2.1",
|
|
51
51
|
"yorkie": "^2.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "e61bc4ab3240e1ddf89f24ffb3f08c847d33d736"
|
|
54
54
|
}
|