@teamix/pro 2.0.0-beta.2 → 2.0.0-beta.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.
package/es/index.d.ts CHANGED
@@ -4,11 +4,13 @@ import ProInfo from '@teamix/pro-info';
4
4
  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
- import ProAction from '../../actions/src';
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
@@ -8,7 +8,9 @@ import ProInfo from '@teamix/pro-info';
8
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
- import ProAction from "../../actions/src";
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
@@ -4,11 +4,13 @@ import ProInfo from '@teamix/pro-info';
4
4
  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
- import ProAction from '../../actions/src';
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,13 +14,21 @@ 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
  };
20
22
  Object.defineProperty(exports, "ProAction", {
21
23
  enumerable: true,
22
24
  get: function get() {
23
- return _src.default;
25
+ return _proAction.default;
26
+ }
27
+ });
28
+ Object.defineProperty(exports, "ProCard", {
29
+ enumerable: true,
30
+ get: function get() {
31
+ return _proAction.default;
24
32
  }
25
33
  });
26
34
  Object.defineProperty(exports, "ProField", {
@@ -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,
@@ -123,34 +137,45 @@ Object.keys(_proTable).forEach(function (key) {
123
137
  }
124
138
  });
125
139
  });
126
- var _src = _interopRequireDefault(require("../../actions/src"));
127
- var utils = _interopRequireWildcard(require("@teamix/utils"));
128
- exports.utils = utils;
129
- Object.keys(utils).forEach(function (key) {
140
+ var _proAction = _interopRequireWildcard(require("@teamix/pro-action"));
141
+ Object.keys(_proAction).forEach(function (key) {
130
142
  if (key === "default" || key === "__esModule") return;
131
143
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
132
- if (key in exports && exports[key] === utils[key]) return;
144
+ if (key in exports && exports[key] === _proAction[key]) return;
133
145
  Object.defineProperty(exports, key, {
134
146
  enumerable: true,
135
147
  get: function get() {
136
- return utils[key];
148
+ return _proAction[key];
137
149
  }
138
150
  });
139
151
  });
140
- require("./global.scss");
141
- var _hooks = _interopRequireDefault(require("./hooks"));
142
- var _proAction = require("@teamix/pro-action");
143
- Object.keys(_proAction).forEach(function (key) {
152
+ var _proProvider = _interopRequireWildcard(require("@teamix/pro-provider"));
153
+ Object.keys(_proProvider).forEach(function (key) {
144
154
  if (key === "default" || key === "__esModule") return;
145
155
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
146
- if (key in exports && exports[key] === _proAction[key]) return;
156
+ if (key in exports && exports[key] === _proProvider[key]) return;
147
157
  Object.defineProperty(exports, key, {
148
158
  enumerable: true,
149
159
  get: function get() {
150
- return _proAction[key];
160
+ return _proProvider[key];
161
+ }
162
+ });
163
+ });
164
+ var utils = _interopRequireWildcard(require("@teamix/utils"));
165
+ exports.utils = utils;
166
+ Object.keys(utils).forEach(function (key) {
167
+ if (key === "default" || key === "__esModule") return;
168
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
169
+ if (key in exports && exports[key] === utils[key]) return;
170
+ Object.defineProperty(exports, key, {
171
+ enumerable: true,
172
+ get: function get() {
173
+ return utils[key];
151
174
  }
152
175
  });
153
176
  });
177
+ require("./global.scss");
178
+ var _hooks = _interopRequireDefault(require("./hooks"));
154
179
  var _proForm = require("@teamix/pro-form");
155
180
  Object.keys(_proForm).forEach(function (key) {
156
181
  if (key === "default" || key === "__esModule") return;
@@ -175,6 +200,18 @@ Object.keys(_proSkeleton).forEach(function (key) {
175
200
  }
176
201
  });
177
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
+ });
178
215
  var _window;
179
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); }
180
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; }
@@ -184,7 +221,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
184
221
  if (!((_window = window) !== null && _window !== void 0 && _window.TEAMIXPRO_WITHOUT_ICON)) {
185
222
  _icon.default.setConfig(utils.getTeamixIconConfig());
186
223
  }
187
- var version = '1.5.18';
224
+ var version = '2.0.0-beta.4';
188
225
  exports.version = version;
189
226
  // By TeamixTest
190
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.2",
3
+ "version": "2.0.0-beta.4",
4
4
  "description": "TeamixPro大包",
5
5
  "keywords": [
6
6
  "aliyun",