@teamix/pro 2.0.0-beta.3 → 2.0.0-beta.4

Sign up to get free protection for your applications and to get access to all the features.
package/es/index.d.ts CHANGED
@@ -5,10 +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';
9
+ import TeamixProProvider from '@teamix/pro-provider';
8
10
  import * as utils from '@teamix/utils';
9
11
  import './global.scss';
10
12
  import hooks from './hooks';
11
- declare const version = "1.5.18";
13
+ declare const version = "2.0.0-beta.4";
12
14
  export * from '@teamix/pro-action';
13
15
  export * from '@teamix/pro-field';
14
16
  export * from '@teamix/pro-form';
@@ -16,6 +18,8 @@ export * from '@teamix/pro-info';
16
18
  export * from '@teamix/pro-page-header';
17
19
  export * from '@teamix/pro-skeleton';
18
20
  export * from '@teamix/pro-table';
21
+ export * from '@teamix/pro-card';
22
+ export * from '@teamix/pro-provider';
19
23
  export * from '@teamix/utils';
20
- export { version, ProAction, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProTable, TeamixIcon, hooks, utils, };
24
+ export { version, ProAction, ProField, ProForm, ProInfo, ProCard, TeamixProProvider, ProPageContainer, ProPageHeader, ProTable, TeamixIcon, hooks, utils, };
21
25
  export default version;
package/es/index.js CHANGED
@@ -9,6 +9,8 @@ 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';
13
+ import TeamixProProvider from '@teamix/pro-provider';
12
14
  // import { ProTimeline } from '../../timeline';
13
15
  import * as utils from '@teamix/utils';
14
16
  import "./global.scss";
@@ -19,7 +21,7 @@ import hooks from "./hooks";
19
21
  if (!((_window = window) !== null && _window !== void 0 && _window.TEAMIXPRO_WITHOUT_ICON)) {
20
22
  TeamixIcon.setConfig(utils.getTeamixIconConfig());
21
23
  }
22
- var version = '1.5.18';
24
+ var version = '2.0.0-beta.4';
23
25
  export * from '@teamix/pro-action';
24
26
  export * from '@teamix/pro-field';
25
27
  export * from '@teamix/pro-form';
@@ -28,9 +30,11 @@ export * from '@teamix/pro-page-header';
28
30
  // export * from '@teamix/pro-sidebar';
29
31
  export * from '@teamix/pro-skeleton';
30
32
  export * from '@teamix/pro-table';
33
+ export * from '@teamix/pro-card';
34
+ export * from '@teamix/pro-provider';
31
35
  // export * from '../../timeline';
32
36
  export * from '@teamix/utils';
33
- export { version, ProAction, ProField, ProForm, ProInfo,
37
+ export { version, ProAction, ProField, ProForm, ProInfo, ProCard, TeamixProProvider,
34
38
  // ProLayout,
35
39
  ProPageContainer, ProPageHeader,
36
40
  // ProSkeleton,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Field } from '@alicloudfe/components';
3
2
  import { ConfiguratorMap } from '../configurators';
4
3
  import { PageMap, PageType, PageDefaultInitialValues } from '.';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PageMap } from '.';
3
2
  import { PageProps } from '../../page-container';
4
3
  export interface PageRendererProps<T = any> extends PageProps<T> {
package/lib/index.d.ts CHANGED
@@ -5,10 +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';
9
+ import TeamixProProvider from '@teamix/pro-provider';
8
10
  import * as utils from '@teamix/utils';
9
11
  import './global.scss';
10
12
  import hooks from './hooks';
11
- declare const version = "1.5.18";
13
+ declare const version = "2.0.0-beta.4";
12
14
  export * from '@teamix/pro-action';
13
15
  export * from '@teamix/pro-field';
14
16
  export * from '@teamix/pro-form';
@@ -16,6 +18,8 @@ export * from '@teamix/pro-info';
16
18
  export * from '@teamix/pro-page-header';
17
19
  export * from '@teamix/pro-skeleton';
18
20
  export * from '@teamix/pro-table';
21
+ export * from '@teamix/pro-card';
22
+ export * from '@teamix/pro-provider';
19
23
  export * from '@teamix/utils';
20
- export { version, ProAction, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProTable, TeamixIcon, hooks, utils, };
24
+ export { version, ProAction, ProField, ProForm, ProInfo, ProCard, TeamixProProvider, ProPageContainer, ProPageHeader, ProTable, TeamixIcon, hooks, utils, };
21
25
  export default version;
package/lib/index.js CHANGED
@@ -14,6 +14,8 @@ var _exportNames = {
14
14
  ProPageHeader: true,
15
15
  ProTable: true,
16
16
  ProAction: true,
17
+ ProCard: true,
18
+ TeamixProProvider: true,
17
19
  utils: true,
18
20
  hooks: true
19
21
  };
@@ -23,6 +25,12 @@ Object.defineProperty(exports, "ProAction", {
23
25
  return _proAction.default;
24
26
  }
25
27
  });
28
+ Object.defineProperty(exports, "ProCard", {
29
+ enumerable: true,
30
+ get: function get() {
31
+ return _proAction.default;
32
+ }
33
+ });
26
34
  Object.defineProperty(exports, "ProField", {
27
35
  enumerable: true,
28
36
  get: function get() {
@@ -65,6 +73,12 @@ Object.defineProperty(exports, "TeamixIcon", {
65
73
  return _icon.default;
66
74
  }
67
75
  });
76
+ Object.defineProperty(exports, "TeamixProProvider", {
77
+ enumerable: true,
78
+ get: function get() {
79
+ return _proProvider.default;
80
+ }
81
+ });
68
82
  exports.default = void 0;
69
83
  Object.defineProperty(exports, "hooks", {
70
84
  enumerable: true,
@@ -135,6 +149,18 @@ Object.keys(_proAction).forEach(function (key) {
135
149
  }
136
150
  });
137
151
  });
152
+ var _proProvider = _interopRequireWildcard(require("@teamix/pro-provider"));
153
+ Object.keys(_proProvider).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] === _proProvider[key]) return;
157
+ Object.defineProperty(exports, key, {
158
+ enumerable: true,
159
+ get: function get() {
160
+ return _proProvider[key];
161
+ }
162
+ });
163
+ });
138
164
  var utils = _interopRequireWildcard(require("@teamix/utils"));
139
165
  exports.utils = utils;
140
166
  Object.keys(utils).forEach(function (key) {
@@ -174,6 +200,18 @@ Object.keys(_proSkeleton).forEach(function (key) {
174
200
  }
175
201
  });
176
202
  });
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
+ });
177
215
  var _window;
178
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); }
179
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; }
@@ -183,7 +221,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
183
221
  if (!((_window = window) !== null && _window !== void 0 && _window.TEAMIXPRO_WITHOUT_ICON)) {
184
222
  _icon.default.setConfig(utils.getTeamixIconConfig());
185
223
  }
186
- var version = '1.5.18';
224
+ var version = '2.0.0-beta.4';
187
225
  exports.version = version;
188
226
  // By TeamixTest
189
227
  window.postMessage({
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Field } from '@alicloudfe/components';
3
2
  import { ConfiguratorMap } from '../configurators';
4
3
  import { PageMap, PageType, PageDefaultInitialValues } from '.';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PageMap } from '.';
3
2
  import { PageProps } from '../../page-container';
4
3
  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.3",
3
+ "version": "2.0.0-beta.4",
4
4
  "description": "TeamixPro大包",
5
5
  "keywords": [
6
6
  "aliyun",