1 |
|
2 |
|
3 | "use strict";
|
4 | Object.defineProperty(exports, "__esModule", {
|
5 | value: true
|
6 | });
|
7 | Object.defineProperty(exports, "default", {
|
8 | enumerable: true,
|
9 | get: function() {
|
10 | return _default;
|
11 | }
|
12 | });
|
13 | var _react = _interop_require_wildcard(require("react"));
|
14 | var _FormOutlined = _interop_require_default(require("@ant-design/icons-svg/lib/asn/FormOutlined"));
|
15 | var _AntdIcon = _interop_require_default(require("../components/AntdIcon"));
|
16 | function _define_property(obj, key, value) {
|
17 | if (key in obj) {
|
18 | Object.defineProperty(obj, key, {
|
19 | value: value,
|
20 | enumerable: true,
|
21 | configurable: true,
|
22 | writable: true
|
23 | });
|
24 | } else {
|
25 | obj[key] = value;
|
26 | }
|
27 | return obj;
|
28 | }
|
29 | function _interop_require_default(obj) {
|
30 | return obj && obj.__esModule ? obj : {
|
31 | default: obj
|
32 | };
|
33 | }
|
34 | function _getRequireWildcardCache(nodeInterop) {
|
35 | if (typeof WeakMap !== "function") return null;
|
36 | var cacheBabelInterop = new WeakMap();
|
37 | var cacheNodeInterop = new WeakMap();
|
38 | return (_getRequireWildcardCache = function(nodeInterop) {
|
39 | return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
40 | })(nodeInterop);
|
41 | }
|
42 | function _interop_require_wildcard(obj, nodeInterop) {
|
43 | if (!nodeInterop && obj && obj.__esModule) {
|
44 | return obj;
|
45 | }
|
46 | if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
47 | return {
|
48 | default: obj
|
49 | };
|
50 | }
|
51 | var cache = _getRequireWildcardCache(nodeInterop);
|
52 | if (cache && cache.has(obj)) {
|
53 | return cache.get(obj);
|
54 | }
|
55 | var newObj = {};
|
56 | var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
57 | for(var key in obj){
|
58 | if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
59 | var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
60 | if (desc && (desc.get || desc.set)) {
|
61 | Object.defineProperty(newObj, key, desc);
|
62 | } else {
|
63 | newObj[key] = obj[key];
|
64 | }
|
65 | }
|
66 | }
|
67 | newObj.default = obj;
|
68 | if (cache) {
|
69 | cache.set(obj, newObj);
|
70 | }
|
71 | return newObj;
|
72 | }
|
73 | function _object_spread(target) {
|
74 | for(var i = 1; i < arguments.length; i++){
|
75 | var source = arguments[i] != null ? arguments[i] : {};
|
76 | var ownKeys = Object.keys(source);
|
77 | if (typeof Object.getOwnPropertySymbols === "function") {
|
78 | ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
79 | return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
80 | }));
|
81 | }
|
82 | ownKeys.forEach(function(key) {
|
83 | _define_property(target, key, source[key]);
|
84 | });
|
85 | }
|
86 | return target;
|
87 | }
|
88 | function ownKeys(object, enumerableOnly) {
|
89 | var keys = Object.keys(object);
|
90 | if (Object.getOwnPropertySymbols) {
|
91 | var symbols = Object.getOwnPropertySymbols(object);
|
92 | if (enumerableOnly) {
|
93 | symbols = symbols.filter(function(sym) {
|
94 | return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
95 | });
|
96 | }
|
97 | keys.push.apply(keys, symbols);
|
98 | }
|
99 | return keys;
|
100 | }
|
101 | function _object_spread_props(target, source) {
|
102 | source = source != null ? source : {};
|
103 | if (Object.getOwnPropertyDescriptors) {
|
104 | Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
105 | } else {
|
106 | ownKeys(Object(source)).forEach(function(key) {
|
107 | Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
108 | });
|
109 | }
|
110 | return target;
|
111 | }
|
112 | var FormOutlined = function(props, ref) {
|
113 | return _react.createElement(_AntdIcon.default, _object_spread_props(_object_spread({}, props), {
|
114 | ref: ref,
|
115 | icon: _FormOutlined.default
|
116 | }));
|
117 | };
|
118 | if (process.env.NODE_ENV !== "production") {
|
119 | FormOutlined.displayName = "FormOutlined";
|
120 | }
|
121 | var _default = _react.forwardRef(FormOutlined);
|