@teamix/pro 2.0.0-beta.5 → 2.0.0-beta.6

Sign up to get free protection for your applications and to get access to all the features.
package/es/index.d.ts CHANGED
@@ -5,12 +5,12 @@ import ProPageContainer from '@teamix/pro-page-container';
5
5
  import ProPageHeader from '@teamix/pro-page-header';
6
6
  import ProTable from '@teamix/pro-table';
7
7
  import ProAction from '@teamix/pro-action';
8
- import ProCard from '@teamix/pro-action';
8
+ import ProCard from '@teamix/pro-card';
9
9
  import TeamixProProvider from '@teamix/provider';
10
10
  import * as utils from '@teamix/utils';
11
11
  import './global.scss';
12
12
  import hooks from './hooks';
13
- declare const version = "2.0.0-beta.5";
13
+ declare const version = "2.0.0-beta.6";
14
14
  export * from '@teamix/pro-action';
15
15
  export * from '@teamix/pro-field';
16
16
  export * from '@teamix/pro-form';
package/es/index.js CHANGED
@@ -9,7 +9,7 @@ import ProPageContainer from '@teamix/pro-page-container';
9
9
  import ProPageHeader from '@teamix/pro-page-header';
10
10
  import ProTable from '@teamix/pro-table';
11
11
  import ProAction from '@teamix/pro-action';
12
- import ProCard from '@teamix/pro-action';
12
+ import ProCard from '@teamix/pro-card';
13
13
  import TeamixProProvider from '@teamix/provider';
14
14
  // import { ProTimeline } from '../../timeline';
15
15
  import * as utils from '@teamix/utils';
@@ -21,7 +21,7 @@ import hooks from "./hooks";
21
21
  if (!((_window = window) !== null && _window !== void 0 && _window.TEAMIXPRO_WITHOUT_ICON)) {
22
22
  TeamixIcon.setConfig(utils.getTeamixIconConfig());
23
23
  }
24
- var version = '2.0.0-beta.5';
24
+ var version = '2.0.0-beta.6';
25
25
  export * from '@teamix/pro-action';
26
26
  export * from '@teamix/pro-field';
27
27
  export * from '@teamix/pro-form';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Field } from '@alicloudfe/components';
2
3
  import { ConfiguratorMap } from '../configurators';
3
4
  import { PageMap, PageType, PageDefaultInitialValues } from '.';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PageMap } from '.';
2
3
  import { PageProps } from '../../page-container';
3
4
  export interface PageRendererProps<T = any> extends PageProps<T> {
package/lib/index.d.ts CHANGED
@@ -5,12 +5,12 @@ import ProPageContainer from '@teamix/pro-page-container';
5
5
  import ProPageHeader from '@teamix/pro-page-header';
6
6
  import ProTable from '@teamix/pro-table';
7
7
  import ProAction from '@teamix/pro-action';
8
- import ProCard from '@teamix/pro-action';
8
+ import ProCard from '@teamix/pro-card';
9
9
  import TeamixProProvider from '@teamix/provider';
10
10
  import * as utils from '@teamix/utils';
11
11
  import './global.scss';
12
12
  import hooks from './hooks';
13
- declare const version = "2.0.0-beta.5";
13
+ declare const version = "2.0.0-beta.6";
14
14
  export * from '@teamix/pro-action';
15
15
  export * from '@teamix/pro-field';
16
16
  export * from '@teamix/pro-form';
package/lib/index.js CHANGED
@@ -28,7 +28,7 @@ Object.defineProperty(exports, "ProAction", {
28
28
  Object.defineProperty(exports, "ProCard", {
29
29
  enumerable: true,
30
30
  get: function get() {
31
- return _proAction.default;
31
+ return _proCard.default;
32
32
  }
33
33
  });
34
34
  Object.defineProperty(exports, "ProField", {
@@ -149,6 +149,18 @@ Object.keys(_proAction).forEach(function (key) {
149
149
  }
150
150
  });
151
151
  });
152
+ var _proCard = _interopRequireWildcard(require("@teamix/pro-card"));
153
+ Object.keys(_proCard).forEach(function (key) {
154
+ if (key === "default" || key === "__esModule") return;
155
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
156
+ if (key in exports && exports[key] === _proCard[key]) return;
157
+ Object.defineProperty(exports, key, {
158
+ enumerable: true,
159
+ get: function get() {
160
+ return _proCard[key];
161
+ }
162
+ });
163
+ });
152
164
  var _provider = _interopRequireWildcard(require("@teamix/provider"));
153
165
  Object.keys(_provider).forEach(function (key) {
154
166
  if (key === "default" || key === "__esModule") return;
@@ -200,18 +212,6 @@ Object.keys(_proSkeleton).forEach(function (key) {
200
212
  }
201
213
  });
202
214
  });
203
- var _proCard = require("@teamix/pro-card");
204
- Object.keys(_proCard).forEach(function (key) {
205
- if (key === "default" || key === "__esModule") return;
206
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
207
- if (key in exports && exports[key] === _proCard[key]) return;
208
- Object.defineProperty(exports, key, {
209
- enumerable: true,
210
- get: function get() {
211
- return _proCard[key];
212
- }
213
- });
214
- });
215
215
  var _window;
216
216
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
217
217
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -221,7 +221,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
221
221
  if (!((_window = window) !== null && _window !== void 0 && _window.TEAMIXPRO_WITHOUT_ICON)) {
222
222
  _icon.default.setConfig(utils.getTeamixIconConfig());
223
223
  }
224
- var version = '2.0.0-beta.5';
224
+ var version = '2.0.0-beta.6';
225
225
  exports.version = version;
226
226
  // By TeamixTest
227
227
  window.postMessage({
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Field } from '@alicloudfe/components';
2
3
  import { ConfiguratorMap } from '../configurators';
3
4
  import { PageMap, PageType, PageDefaultInitialValues } from '.';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PageMap } from '.';
2
3
  import { PageProps } from '../../page-container';
3
4
  export interface PageRendererProps<T = any> extends PageProps<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamix/pro",
3
- "version": "2.0.0-beta.5",
3
+ "version": "2.0.0-beta.6",
4
4
  "description": "TeamixPro大包",
5
5
  "keywords": [
6
6
  "aliyun",