nsc-react-component 2.0.2 → 2.0.5
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/lib/affix/index.d.ts +5 -0
- package/lib/affix/index.js +50 -0
- package/lib/alert/index.d.ts +5 -0
- package/lib/alert/index.js +50 -0
- package/lib/anchor/index.d.ts +6 -0
- package/lib/anchor/index.js +54 -0
- package/lib/avatar/index.d.ts +6 -0
- package/lib/avatar/index.js +54 -0
- package/lib/backTop/index.d.ts +5 -0
- package/lib/backTop/index.js +50 -0
- package/lib/badge/index.d.ts +6 -0
- package/lib/badge/index.js +54 -0
- package/lib/breadcrumb/index.d.ts +5 -0
- package/lib/breadcrumb/index.js +50 -0
- package/lib/calendar/index.d.ts +5 -0
- package/lib/calendar/index.js +50 -0
- package/lib/card/index.d.ts +7 -0
- package/lib/card/index.js +56 -0
- package/lib/carousel/index.d.ts +5 -0
- package/lib/carousel/index.js +50 -0
- package/lib/collapse/index.d.ts +6 -0
- package/lib/collapse/index.js +54 -0
- package/lib/comment/index.d.ts +5 -0
- package/lib/comment/index.js +50 -0
- package/lib/configProvider/index.d.ts +5 -0
- package/lib/configProvider/index.js +54 -0
- package/lib/descriptions/index.d.ts +6 -0
- package/lib/descriptions/index.js +54 -0
- package/lib/divider/index.d.ts +5 -0
- package/lib/divider/index.js +50 -0
- package/lib/drawer/index.d.ts +5 -0
- package/lib/drawer/index.js +50 -0
- package/lib/dropdown/index.d.ts +5 -0
- package/lib/dropdown/index.js +50 -0
- package/lib/grid/Col.d.ts +5 -0
- package/lib/grid/Col.js +50 -0
- package/lib/grid/Row.d.ts +5 -0
- package/lib/grid/Row.js +50 -0
- package/lib/grid/index.d.ts +1 -0
- package/lib/grid/index.js +2 -0
- package/lib/image/index.d.ts +9 -0
- package/lib/image/index.js +73 -0
- package/lib/index.d.ts +36 -1
- package/lib/index.js +36 -1
- package/lib/layout/index.d.ts +9 -0
- package/lib/layout/index.js +64 -0
- package/lib/list/index.d.ts +6 -0
- package/lib/list/index.js +54 -0
- package/lib/message/index.d.ts +13 -0
- package/lib/message/index.js +59 -0
- package/lib/modal/index.d.ts +5 -0
- package/lib/modal/index.js +13 -3
- package/lib/notification/index.d.ts +12 -0
- package/lib/notification/index.js +59 -0
- package/lib/pageComponents/BasePage/Form.js +14 -14
- package/lib/pageComponents/BasePage/index.d.ts +5 -0
- package/lib/pageComponents/BasePage/index.js +96 -25
- package/lib/pageComponents/BasePage/index.less +39 -33
- package/lib/pageHeader/index.d.ts +5 -0
- package/lib/pageHeader/index.js +50 -0
- package/lib/pagination/index.d.ts +5 -0
- package/lib/pagination/index.js +50 -0
- package/lib/popconfirm/index.d.ts +5 -0
- package/lib/popconfirm/index.js +50 -0
- package/lib/popover/index.d.ts +5 -0
- package/lib/popover/index.js +50 -0
- package/lib/progress/index.d.ts +5 -0
- package/lib/progress/index.js +50 -0
- package/lib/result/index.d.ts +5 -0
- package/lib/result/index.js +50 -0
- package/lib/skeleton/index.d.ts +5 -0
- package/lib/skeleton/index.js +50 -0
- package/lib/space/index.d.ts +5 -0
- package/lib/space/index.js +50 -0
- package/lib/spin/index.d.ts +5 -0
- package/lib/spin/index.js +50 -0
- package/lib/statistic/index.d.ts +6 -0
- package/lib/statistic/index.js +54 -0
- package/lib/steps/index.d.ts +5 -0
- package/lib/steps/index.js +50 -0
- package/lib/table/index.less +2 -2
- package/lib/timeline/index.d.ts +6 -0
- package/lib/timeline/index.js +54 -0
- package/lib/tooltip/index.d.ts +5 -0
- package/lib/tooltip/index.js +50 -0
- package/lib/typography/index.d.ts +5 -0
- package/lib/typography/index.js +50 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
2
|
+
|
|
3
|
+
import "antd/es/statistic/style/css";
|
|
4
|
+
import _Statistic from "antd/es/statistic";
|
|
5
|
+
|
|
6
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7
|
+
|
|
8
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
9
|
+
|
|
10
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
11
|
+
|
|
12
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
|
+
|
|
14
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
15
|
+
|
|
16
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
|
+
|
|
18
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
19
|
+
|
|
20
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
+
|
|
22
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
+
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
+
|
|
26
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
|
|
28
|
+
import * as React from "react";
|
|
29
|
+
|
|
30
|
+
var NscStatistic = /*#__PURE__*/function (_React$PureComponent) {
|
|
31
|
+
_inherits(NscStatistic, _React$PureComponent);
|
|
32
|
+
|
|
33
|
+
var _super = _createSuper(NscStatistic);
|
|
34
|
+
|
|
35
|
+
function NscStatistic() {
|
|
36
|
+
_classCallCheck(this, NscStatistic);
|
|
37
|
+
|
|
38
|
+
return _super.apply(this, arguments);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
_createClass(NscStatistic, [{
|
|
42
|
+
key: "render",
|
|
43
|
+
value: function render() {
|
|
44
|
+
return /*#__PURE__*/React.createElement(_Statistic, this.props);
|
|
45
|
+
}
|
|
46
|
+
}]);
|
|
47
|
+
|
|
48
|
+
return NscStatistic;
|
|
49
|
+
}(React.PureComponent);
|
|
50
|
+
|
|
51
|
+
_defineProperty(NscStatistic, "Countdown", _Statistic.Countdown);
|
|
52
|
+
|
|
53
|
+
export { NscStatistic as default };
|
|
54
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL3N0YXRpc3RpYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJOc2NTdGF0aXN0aWMiLCJwcm9wcyIsIlB1cmVDb21wb25lbnQiLCJDb3VudGRvd24iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sS0FBS0EsS0FBWixNQUF1QixPQUF2Qjs7SUFHcUJDLFk7Ozs7Ozs7Ozs7Ozs7V0FLbkIsa0JBQTBCO0FBQ3hCLDBCQUFPLGdDQUFlLEtBQUtDLEtBQXBCLENBQVA7QUFDRDs7OztFQVB1Q0YsS0FBSyxDQUFDRyxhOztnQkFBM0JGLFksZUFJQSxXQUFVRyxTOztTQUpWSCxZIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XHJcbmltcG9ydCB7IFN0YXRpc3RpYywgU3RhdGlzdGljUHJvcHMgfSBmcm9tIFwiYW50ZFwiO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgTnNjU3RhdGlzdGljIGV4dGVuZHMgUmVhY3QuUHVyZUNvbXBvbmVudDxcclxuICBTdGF0aXN0aWNQcm9wcyxcclxuICBhbnlcclxuPiB7XHJcbiAgc3RhdGljIENvdW50ZG93biA9IFN0YXRpc3RpYy5Db3VudGRvd247XHJcbiAgcmVuZGVyKCk6IFJlYWN0LlJlYWN0Tm9kZSB7XHJcbiAgICByZXR1cm4gPFN0YXRpc3RpYyB7Li4udGhpcy5wcm9wc30gLz47XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
2
|
+
|
|
3
|
+
import "antd/es/steps/style/css";
|
|
4
|
+
import _Steps from "antd/es/steps";
|
|
5
|
+
|
|
6
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7
|
+
|
|
8
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
9
|
+
|
|
10
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
11
|
+
|
|
12
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
|
+
|
|
14
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
15
|
+
|
|
16
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
|
+
|
|
18
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
19
|
+
|
|
20
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
+
|
|
22
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
+
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
+
|
|
26
|
+
import * as React from "react";
|
|
27
|
+
|
|
28
|
+
var NscRow = /*#__PURE__*/function (_React$PureComponent) {
|
|
29
|
+
_inherits(NscRow, _React$PureComponent);
|
|
30
|
+
|
|
31
|
+
var _super = _createSuper(NscRow);
|
|
32
|
+
|
|
33
|
+
function NscRow() {
|
|
34
|
+
_classCallCheck(this, NscRow);
|
|
35
|
+
|
|
36
|
+
return _super.apply(this, arguments);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
_createClass(NscRow, [{
|
|
40
|
+
key: "render",
|
|
41
|
+
value: function render() {
|
|
42
|
+
return /*#__PURE__*/React.createElement(_Steps, this.props);
|
|
43
|
+
}
|
|
44
|
+
}]);
|
|
45
|
+
|
|
46
|
+
return NscRow;
|
|
47
|
+
}(React.PureComponent);
|
|
48
|
+
|
|
49
|
+
export { NscRow as default };
|
|
50
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL3N0ZXBzL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJSZWFjdCIsIk5zY1JvdyIsInByb3BzIiwiUHVyZUNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sS0FBS0EsS0FBWixNQUF1QixPQUF2Qjs7SUFHcUJDLE07Ozs7Ozs7Ozs7Ozs7V0FJbkIsa0JBQTBCO0FBQ3hCLDBCQUFPLDRCQUFXLEtBQUtDLEtBQWhCLENBQVA7QUFDRDs7OztFQU5pQ0YsS0FBSyxDQUFDRyxhOztTQUFyQkYsTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5pbXBvcnQgeyBTdGVwcywgU3RlcHNQcm9wcyB9IGZyb20gXCJhbnRkXCI7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBOc2NSb3cgZXh0ZW5kcyBSZWFjdC5QdXJlQ29tcG9uZW50PFxyXG5TdGVwc1Byb3BzLFxyXG4gIGFueVxyXG4+IHtcclxuICByZW5kZXIoKTogUmVhY3QuUmVhY3ROb2RlIHtcclxuICAgIHJldHVybiA8U3RlcHMgey4uLnRoaXMucHJvcHN9IC8+O1xyXG4gIH1cclxufVxyXG4iXX0=
|
package/lib/table/index.less
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
2
|
+
|
|
3
|
+
import "antd/es/timeline/style/css";
|
|
4
|
+
import _Timeline from "antd/es/timeline";
|
|
5
|
+
|
|
6
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7
|
+
|
|
8
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
9
|
+
|
|
10
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
11
|
+
|
|
12
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
|
+
|
|
14
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
15
|
+
|
|
16
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
|
+
|
|
18
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
19
|
+
|
|
20
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
+
|
|
22
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
+
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
+
|
|
26
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
|
|
28
|
+
import * as React from "react";
|
|
29
|
+
|
|
30
|
+
var NscTimeline = /*#__PURE__*/function (_React$PureComponent) {
|
|
31
|
+
_inherits(NscTimeline, _React$PureComponent);
|
|
32
|
+
|
|
33
|
+
var _super = _createSuper(NscTimeline);
|
|
34
|
+
|
|
35
|
+
function NscTimeline() {
|
|
36
|
+
_classCallCheck(this, NscTimeline);
|
|
37
|
+
|
|
38
|
+
return _super.apply(this, arguments);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
_createClass(NscTimeline, [{
|
|
42
|
+
key: "render",
|
|
43
|
+
value: function render() {
|
|
44
|
+
return /*#__PURE__*/React.createElement(_Timeline, this.props);
|
|
45
|
+
}
|
|
46
|
+
}]);
|
|
47
|
+
|
|
48
|
+
return NscTimeline;
|
|
49
|
+
}(React.PureComponent);
|
|
50
|
+
|
|
51
|
+
_defineProperty(NscTimeline, "Item", _Timeline.Item);
|
|
52
|
+
|
|
53
|
+
export { NscTimeline as default };
|
|
54
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL3RpbWVsaW5lL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJSZWFjdCIsIk5zY1RpbWVsaW5lIiwicHJvcHMiLCJQdXJlQ29tcG9uZW50IiwiSXRlbSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsT0FBTyxLQUFLQSxLQUFaLE1BQXVCLE9BQXZCOztJQUdxQkMsVzs7Ozs7Ozs7Ozs7OztXQUtuQixrQkFBMEI7QUFDeEIsMEJBQU8sK0JBQWMsS0FBS0MsS0FBbkIsQ0FBUDtBQUNEOzs7O0VBUHNDRixLQUFLLENBQUNHLGE7O2dCQUExQkYsVyxVQUlMLFVBQVNHLEk7O1NBSkpILFciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcclxuaW1wb3J0IHsgVGltZWxpbmUsIFRpbWVsaW5lUHJvcHMgfSBmcm9tIFwiYW50ZFwiO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgTnNjVGltZWxpbmUgZXh0ZW5kcyBSZWFjdC5QdXJlQ29tcG9uZW50PFxyXG4gIFRpbWVsaW5lUHJvcHMsXHJcbiAgYW55XHJcbj4ge1xyXG4gIHN0YXRpYyBJdGVtID0gVGltZWxpbmUuSXRlbTtcclxuICByZW5kZXIoKTogUmVhY3QuUmVhY3ROb2RlIHtcclxuICAgIHJldHVybiA8VGltZWxpbmUgey4uLnRoaXMucHJvcHN9IC8+O1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
2
|
+
|
|
3
|
+
import "antd/es/tooltip/style/css";
|
|
4
|
+
import _Tooltip from "antd/es/tooltip";
|
|
5
|
+
|
|
6
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7
|
+
|
|
8
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
9
|
+
|
|
10
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
11
|
+
|
|
12
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
|
+
|
|
14
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
15
|
+
|
|
16
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
|
+
|
|
18
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
19
|
+
|
|
20
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
+
|
|
22
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
+
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
+
|
|
26
|
+
import * as React from "react";
|
|
27
|
+
|
|
28
|
+
var NscTooltip = /*#__PURE__*/function (_React$PureComponent) {
|
|
29
|
+
_inherits(NscTooltip, _React$PureComponent);
|
|
30
|
+
|
|
31
|
+
var _super = _createSuper(NscTooltip);
|
|
32
|
+
|
|
33
|
+
function NscTooltip() {
|
|
34
|
+
_classCallCheck(this, NscTooltip);
|
|
35
|
+
|
|
36
|
+
return _super.apply(this, arguments);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
_createClass(NscTooltip, [{
|
|
40
|
+
key: "render",
|
|
41
|
+
value: function render() {
|
|
42
|
+
return /*#__PURE__*/React.createElement(_Tooltip, this.props);
|
|
43
|
+
}
|
|
44
|
+
}]);
|
|
45
|
+
|
|
46
|
+
return NscTooltip;
|
|
47
|
+
}(React.PureComponent);
|
|
48
|
+
|
|
49
|
+
export { NscTooltip as default };
|
|
50
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL3Rvb2x0aXAvaW5kZXgudHN4Il0sIm5hbWVzIjpbIlJlYWN0IiwiTnNjVG9vbHRpcCIsInByb3BzIiwiUHVyZUNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sS0FBS0EsS0FBWixNQUF1QixPQUF2Qjs7SUFHcUJDLFU7Ozs7Ozs7Ozs7Ozs7V0FDbkIsa0JBQTBCO0FBQ3hCLDBCQUFPLDhCQUFhLEtBQUtDLEtBQWxCLENBQVA7QUFDRDs7OztFQUhxQ0YsS0FBSyxDQUFDRyxhOztTQUF6QkYsVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5pbXBvcnQgeyBUb29sdGlwLCBUb29sdGlwUHJvcHMgfSBmcm9tIFwiYW50ZFwiO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgTnNjVG9vbHRpcCBleHRlbmRzIFJlYWN0LlB1cmVDb21wb25lbnQ8VG9vbHRpcFByb3BzLCBhbnk+IHtcclxuICByZW5kZXIoKTogUmVhY3QuUmVhY3ROb2RlIHtcclxuICAgIHJldHVybiA8VG9vbHRpcCB7Li4udGhpcy5wcm9wc30gLz47XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
2
|
+
|
|
3
|
+
import "antd/es/typography/style/css";
|
|
4
|
+
import _Typography from "antd/es/typography";
|
|
5
|
+
|
|
6
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7
|
+
|
|
8
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
9
|
+
|
|
10
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
11
|
+
|
|
12
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
|
+
|
|
14
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
15
|
+
|
|
16
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
|
+
|
|
18
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
19
|
+
|
|
20
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
+
|
|
22
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
+
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
+
|
|
26
|
+
import * as React from "react";
|
|
27
|
+
|
|
28
|
+
var NscTypography = /*#__PURE__*/function (_React$PureComponent) {
|
|
29
|
+
_inherits(NscTypography, _React$PureComponent);
|
|
30
|
+
|
|
31
|
+
var _super = _createSuper(NscTypography);
|
|
32
|
+
|
|
33
|
+
function NscTypography() {
|
|
34
|
+
_classCallCheck(this, NscTypography);
|
|
35
|
+
|
|
36
|
+
return _super.apply(this, arguments);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
_createClass(NscTypography, [{
|
|
40
|
+
key: "render",
|
|
41
|
+
value: function render() {
|
|
42
|
+
return /*#__PURE__*/React.createElement(_Typography, this.props);
|
|
43
|
+
}
|
|
44
|
+
}]);
|
|
45
|
+
|
|
46
|
+
return NscTypography;
|
|
47
|
+
}(React.PureComponent);
|
|
48
|
+
|
|
49
|
+
export { NscTypography as default };
|
|
50
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL3R5cG9ncmFwaHkvaW5kZXgudHN4Il0sIm5hbWVzIjpbIlJlYWN0IiwiTnNjVHlwb2dyYXBoeSIsInByb3BzIiwiUHVyZUNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sS0FBS0EsS0FBWixNQUF1QixPQUF2Qjs7SUFHcUJDLGE7Ozs7Ozs7Ozs7Ozs7V0FJbkIsa0JBQTBCO0FBQ3hCLDBCQUFPLGlDQUFnQixLQUFLQyxLQUFyQixDQUFQO0FBQ0Q7Ozs7RUFOd0NGLEtBQUssQ0FBQ0csYTs7U0FBNUJGLGEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcclxuaW1wb3J0IHsgVHlwb2dyYXBoeSwgVHlwb2dyYXBoeVByb3BzIH0gZnJvbSBcImFudGRcIjtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGNsYXNzIE5zY1R5cG9ncmFwaHkgZXh0ZW5kcyBSZWFjdC5QdXJlQ29tcG9uZW50PFxyXG4gIFR5cG9ncmFwaHlQcm9wcyxcclxuICBhbnlcclxuPiB7XHJcbiAgcmVuZGVyKCk6IFJlYWN0LlJlYWN0Tm9kZSB7XHJcbiAgICByZXR1cm4gPFR5cG9ncmFwaHkgey4uLnRoaXMucHJvcHN9IC8+O1xyXG4gIH1cclxufVxyXG4iXX0=
|