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

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
@@ -1,24 +1,25 @@
1
1
  import TeamixIcon from '@teamix/icon';
2
- import { default as ProField, default as ProForm } from '@teamix/pro-field';
2
+ import ProAction from '@teamix/pro-action';
3
+ import ProCard from '@teamix/pro-card';
4
+ import ProField from '@teamix/pro-field';
3
5
  import ProInfo from '@teamix/pro-info';
4
6
  import ProPageContainer from '@teamix/pro-page-container';
5
7
  import ProPageHeader from '@teamix/pro-page-header';
6
8
  import ProTable from '@teamix/pro-table';
7
- import ProAction from '@teamix/pro-action';
8
- import ProCard from '@teamix/pro-action';
9
9
  import TeamixProProvider from '@teamix/provider';
10
+ import ProForm from '@teamix/pro-form';
10
11
  import * as utils from '@teamix/utils';
11
12
  import './global.scss';
12
13
  import hooks from './hooks';
13
- declare const version = "2.0.0-beta.5";
14
+ declare const version = "2.0.0-beta.7";
14
15
  export * from '@teamix/pro-action';
16
+ export * from '@teamix/pro-card';
15
17
  export * from '@teamix/pro-field';
16
18
  export * from '@teamix/pro-form';
17
19
  export * from '@teamix/pro-info';
18
20
  export * from '@teamix/pro-page-header';
19
21
  export * from '@teamix/pro-skeleton';
20
22
  export * from '@teamix/pro-table';
21
- export * from '@teamix/pro-card';
22
23
  export * from '@teamix/provider';
23
24
  export * from '@teamix/utils';
24
25
  export { version, ProAction, ProField, ProForm, ProInfo, ProCard, TeamixProProvider, ProPageContainer, ProPageHeader, ProTable, TeamixIcon, hooks, utils, };
package/es/index.js CHANGED
@@ -3,14 +3,15 @@ var _window;
3
3
  // import utils from './utils';
4
4
 
5
5
  import TeamixIcon from '@teamix/icon';
6
- import { default as ProField, default as ProForm } from '@teamix/pro-field';
6
+ import ProAction from '@teamix/pro-action';
7
+ import ProCard from '@teamix/pro-card';
8
+ import ProField from '@teamix/pro-field';
7
9
  import ProInfo from '@teamix/pro-info';
8
10
  import ProPageContainer from '@teamix/pro-page-container';
9
11
  import ProPageHeader from '@teamix/pro-page-header';
10
12
  import ProTable from '@teamix/pro-table';
11
- import ProAction from '@teamix/pro-action';
12
- import ProCard from '@teamix/pro-action';
13
13
  import TeamixProProvider from '@teamix/provider';
14
+ import ProForm from '@teamix/pro-form';
14
15
  // import { ProTimeline } from '../../timeline';
15
16
  import * as utils from '@teamix/utils';
16
17
  import "./global.scss";
@@ -21,8 +22,9 @@ import hooks from "./hooks";
21
22
  if (!((_window = window) !== null && _window !== void 0 && _window.TEAMIXPRO_WITHOUT_ICON)) {
22
23
  TeamixIcon.setConfig(utils.getTeamixIconConfig());
23
24
  }
24
- var version = '2.0.0-beta.5';
25
+ var version = '2.0.0-beta.7';
25
26
  export * from '@teamix/pro-action';
27
+ export * from '@teamix/pro-card';
26
28
  export * from '@teamix/pro-field';
27
29
  export * from '@teamix/pro-form';
28
30
  export * from '@teamix/pro-info';
@@ -30,7 +32,6 @@ export * from '@teamix/pro-page-header';
30
32
  // export * from '@teamix/pro-sidebar';
31
33
  export * from '@teamix/pro-skeleton';
32
34
  export * from '@teamix/pro-table';
33
- export * from '@teamix/pro-card';
34
35
  export * from '@teamix/provider';
35
36
  // export * from '../../timeline';
36
37
  export * from '@teamix/utils';
@@ -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
@@ -1,24 +1,25 @@
1
1
  import TeamixIcon from '@teamix/icon';
2
- import { default as ProField, default as ProForm } from '@teamix/pro-field';
2
+ import ProAction from '@teamix/pro-action';
3
+ import ProCard from '@teamix/pro-card';
4
+ import ProField from '@teamix/pro-field';
3
5
  import ProInfo from '@teamix/pro-info';
4
6
  import ProPageContainer from '@teamix/pro-page-container';
5
7
  import ProPageHeader from '@teamix/pro-page-header';
6
8
  import ProTable from '@teamix/pro-table';
7
- import ProAction from '@teamix/pro-action';
8
- import ProCard from '@teamix/pro-action';
9
9
  import TeamixProProvider from '@teamix/provider';
10
+ import ProForm from '@teamix/pro-form';
10
11
  import * as utils from '@teamix/utils';
11
12
  import './global.scss';
12
13
  import hooks from './hooks';
13
- declare const version = "2.0.0-beta.5";
14
+ declare const version = "2.0.0-beta.7";
14
15
  export * from '@teamix/pro-action';
16
+ export * from '@teamix/pro-card';
15
17
  export * from '@teamix/pro-field';
16
18
  export * from '@teamix/pro-form';
17
19
  export * from '@teamix/pro-info';
18
20
  export * from '@teamix/pro-page-header';
19
21
  export * from '@teamix/pro-skeleton';
20
22
  export * from '@teamix/pro-table';
21
- export * from '@teamix/pro-card';
22
23
  export * from '@teamix/provider';
23
24
  export * from '@teamix/utils';
24
25
  export { version, ProAction, ProField, ProForm, ProInfo, ProCard, TeamixProProvider, ProPageContainer, ProPageHeader, ProTable, TeamixIcon, hooks, utils, };
package/lib/index.js CHANGED
@@ -7,15 +7,15 @@ Object.defineProperty(exports, "__esModule", {
7
7
  var _exportNames = {
8
8
  version: true,
9
9
  TeamixIcon: true,
10
+ ProAction: true,
11
+ ProCard: true,
10
12
  ProField: true,
11
- ProForm: true,
12
13
  ProInfo: true,
13
14
  ProPageContainer: true,
14
15
  ProPageHeader: true,
15
16
  ProTable: true,
16
- ProAction: true,
17
- ProCard: true,
18
17
  TeamixProProvider: true,
18
+ ProForm: true,
19
19
  utils: true,
20
20
  hooks: true
21
21
  };
@@ -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", {
@@ -40,7 +40,7 @@ Object.defineProperty(exports, "ProField", {
40
40
  Object.defineProperty(exports, "ProForm", {
41
41
  enumerable: true,
42
42
  get: function get() {
43
- return _proField.default;
43
+ return _proForm.default;
44
44
  }
45
45
  });
46
46
  Object.defineProperty(exports, "ProInfo", {
@@ -88,6 +88,30 @@ Object.defineProperty(exports, "hooks", {
88
88
  });
89
89
  exports.version = exports.utils = void 0;
90
90
  var _icon = _interopRequireDefault(require("@teamix/icon"));
91
+ var _proAction = _interopRequireWildcard(require("@teamix/pro-action"));
92
+ Object.keys(_proAction).forEach(function (key) {
93
+ if (key === "default" || key === "__esModule") return;
94
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
95
+ if (key in exports && exports[key] === _proAction[key]) return;
96
+ Object.defineProperty(exports, key, {
97
+ enumerable: true,
98
+ get: function get() {
99
+ return _proAction[key];
100
+ }
101
+ });
102
+ });
103
+ var _proCard = _interopRequireWildcard(require("@teamix/pro-card"));
104
+ Object.keys(_proCard).forEach(function (key) {
105
+ if (key === "default" || key === "__esModule") return;
106
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
107
+ if (key in exports && exports[key] === _proCard[key]) return;
108
+ Object.defineProperty(exports, key, {
109
+ enumerable: true,
110
+ get: function get() {
111
+ return _proCard[key];
112
+ }
113
+ });
114
+ });
91
115
  var _proField = _interopRequireWildcard(require("@teamix/pro-field"));
92
116
  Object.keys(_proField).forEach(function (key) {
93
117
  if (key === "default" || key === "__esModule") return;
@@ -137,27 +161,27 @@ Object.keys(_proTable).forEach(function (key) {
137
161
  }
138
162
  });
139
163
  });
140
- var _proAction = _interopRequireWildcard(require("@teamix/pro-action"));
141
- Object.keys(_proAction).forEach(function (key) {
164
+ var _provider = _interopRequireWildcard(require("@teamix/provider"));
165
+ Object.keys(_provider).forEach(function (key) {
142
166
  if (key === "default" || key === "__esModule") return;
143
167
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
144
- if (key in exports && exports[key] === _proAction[key]) return;
168
+ if (key in exports && exports[key] === _provider[key]) return;
145
169
  Object.defineProperty(exports, key, {
146
170
  enumerable: true,
147
171
  get: function get() {
148
- return _proAction[key];
172
+ return _provider[key];
149
173
  }
150
174
  });
151
175
  });
152
- var _provider = _interopRequireWildcard(require("@teamix/provider"));
153
- Object.keys(_provider).forEach(function (key) {
176
+ var _proForm = _interopRequireWildcard(require("@teamix/pro-form"));
177
+ Object.keys(_proForm).forEach(function (key) {
154
178
  if (key === "default" || key === "__esModule") return;
155
179
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
156
- if (key in exports && exports[key] === _provider[key]) return;
180
+ if (key in exports && exports[key] === _proForm[key]) return;
157
181
  Object.defineProperty(exports, key, {
158
182
  enumerable: true,
159
183
  get: function get() {
160
- return _provider[key];
184
+ return _proForm[key];
161
185
  }
162
186
  });
163
187
  });
@@ -176,18 +200,6 @@ Object.keys(utils).forEach(function (key) {
176
200
  });
177
201
  require("./global.scss");
178
202
  var _hooks = _interopRequireDefault(require("./hooks"));
179
- var _proForm = require("@teamix/pro-form");
180
- Object.keys(_proForm).forEach(function (key) {
181
- if (key === "default" || key === "__esModule") return;
182
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
183
- if (key in exports && exports[key] === _proForm[key]) return;
184
- Object.defineProperty(exports, key, {
185
- enumerable: true,
186
- get: function get() {
187
- return _proForm[key];
188
- }
189
- });
190
- });
191
203
  var _proSkeleton = require("@teamix/pro-skeleton");
192
204
  Object.keys(_proSkeleton).forEach(function (key) {
193
205
  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.7';
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.7",
4
4
  "description": "TeamixPro大包",
5
5
  "keywords": [
6
6
  "aliyun",