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

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,11 +1,10 @@
1
1
  import TeamixIcon from '@teamix/icon';
2
- import ProAction from '../../actions/src';
3
- import ProField from '@teamix/pro-field';
4
- import ProForm from '@teamix/pro-field';
2
+ import { default as ProField, default as ProForm } from '@teamix/pro-field';
5
3
  import ProInfo from '@teamix/pro-info';
6
4
  import ProPageContainer from '@teamix/pro-page-container';
7
5
  import ProPageHeader from '@teamix/pro-page-header';
8
6
  import ProTable from '@teamix/pro-table';
7
+ import ProAction from '@teamix/pro-action';
9
8
  import * as utils from '@teamix/utils';
10
9
  import './global.scss';
11
10
  import hooks from './hooks';
@@ -15,7 +14,6 @@ export * from '@teamix/pro-field';
15
14
  export * from '@teamix/pro-form';
16
15
  export * from '@teamix/pro-info';
17
16
  export * from '@teamix/pro-page-header';
18
- export * from '@teamix/pro-page-header';
19
17
  export * from '@teamix/pro-skeleton';
20
18
  export * from '@teamix/pro-table';
21
19
  export * from '@teamix/utils';
package/es/index.js CHANGED
@@ -3,13 +3,12 @@ var _window;
3
3
  // import utils from './utils';
4
4
 
5
5
  import TeamixIcon from '@teamix/icon';
6
- import ProAction from "../../actions/src";
7
- import ProField from '@teamix/pro-field';
8
- import ProForm from '@teamix/pro-field';
6
+ import { default as ProField, default as ProForm } from '@teamix/pro-field';
9
7
  import ProInfo from '@teamix/pro-info';
10
8
  import ProPageContainer from '@teamix/pro-page-container';
11
9
  import ProPageHeader from '@teamix/pro-page-header';
12
10
  import ProTable from '@teamix/pro-table';
11
+ import ProAction from '@teamix/pro-action';
13
12
  // import { ProTimeline } from '../../timeline';
14
13
  import * as utils from '@teamix/utils';
15
14
  import "./global.scss";
@@ -26,7 +25,6 @@ export * from '@teamix/pro-field';
26
25
  export * from '@teamix/pro-form';
27
26
  export * from '@teamix/pro-info';
28
27
  export * from '@teamix/pro-page-header';
29
- export * from '@teamix/pro-page-header';
30
28
  // export * from '@teamix/pro-sidebar';
31
29
  export * from '@teamix/pro-skeleton';
32
30
  export * from '@teamix/pro-table';
@@ -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> {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProPageHeaderProps } from '../../../../page-header/src';
2
3
  import { ProTableProps } from '../../../../table/src';
3
4
  import { PageProps } from '../../page-container';
package/lib/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  import TeamixIcon from '@teamix/icon';
2
- import ProAction from '../../actions/src';
3
- import ProField from '@teamix/pro-field';
4
- import ProForm from '@teamix/pro-field';
2
+ import { default as ProField, default as ProForm } from '@teamix/pro-field';
5
3
  import ProInfo from '@teamix/pro-info';
6
4
  import ProPageContainer from '@teamix/pro-page-container';
7
5
  import ProPageHeader from '@teamix/pro-page-header';
8
6
  import ProTable from '@teamix/pro-table';
7
+ import ProAction from '@teamix/pro-action';
9
8
  import * as utils from '@teamix/utils';
10
9
  import './global.scss';
11
10
  import hooks from './hooks';
@@ -15,7 +14,6 @@ export * from '@teamix/pro-field';
15
14
  export * from '@teamix/pro-form';
16
15
  export * from '@teamix/pro-info';
17
16
  export * from '@teamix/pro-page-header';
18
- export * from '@teamix/pro-page-header';
19
17
  export * from '@teamix/pro-skeleton';
20
18
  export * from '@teamix/pro-table';
21
19
  export * from '@teamix/utils';
package/lib/index.js CHANGED
@@ -7,20 +7,20 @@ Object.defineProperty(exports, "__esModule", {
7
7
  var _exportNames = {
8
8
  version: true,
9
9
  TeamixIcon: true,
10
- ProAction: true,
11
10
  ProField: true,
12
11
  ProForm: true,
13
12
  ProInfo: true,
14
13
  ProPageContainer: true,
15
14
  ProPageHeader: true,
16
15
  ProTable: true,
16
+ ProAction: true,
17
17
  utils: true,
18
18
  hooks: true
19
19
  };
20
20
  Object.defineProperty(exports, "ProAction", {
21
21
  enumerable: true,
22
22
  get: function get() {
23
- return _src.default;
23
+ return _proAction.default;
24
24
  }
25
25
  });
26
26
  Object.defineProperty(exports, "ProField", {
@@ -74,7 +74,6 @@ Object.defineProperty(exports, "hooks", {
74
74
  });
75
75
  exports.version = exports.utils = void 0;
76
76
  var _icon = _interopRequireDefault(require("@teamix/icon"));
77
- var _src = _interopRequireDefault(require("../../actions/src"));
78
77
  var _proField = _interopRequireWildcard(require("@teamix/pro-field"));
79
78
  Object.keys(_proField).forEach(function (key) {
80
79
  if (key === "default" || key === "__esModule") return;
@@ -124,33 +123,33 @@ Object.keys(_proTable).forEach(function (key) {
124
123
  }
125
124
  });
126
125
  });
127
- var utils = _interopRequireWildcard(require("@teamix/utils"));
128
- exports.utils = utils;
129
- Object.keys(utils).forEach(function (key) {
126
+ var _proAction = _interopRequireWildcard(require("@teamix/pro-action"));
127
+ Object.keys(_proAction).forEach(function (key) {
130
128
  if (key === "default" || key === "__esModule") return;
131
129
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
132
- if (key in exports && exports[key] === utils[key]) return;
130
+ if (key in exports && exports[key] === _proAction[key]) return;
133
131
  Object.defineProperty(exports, key, {
134
132
  enumerable: true,
135
133
  get: function get() {
136
- return utils[key];
134
+ return _proAction[key];
137
135
  }
138
136
  });
139
137
  });
140
- require("./global.scss");
141
- var _hooks = _interopRequireDefault(require("./hooks"));
142
- var _proAction = require("@teamix/pro-action");
143
- Object.keys(_proAction).forEach(function (key) {
138
+ var utils = _interopRequireWildcard(require("@teamix/utils"));
139
+ exports.utils = utils;
140
+ Object.keys(utils).forEach(function (key) {
144
141
  if (key === "default" || key === "__esModule") return;
145
142
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
146
- if (key in exports && exports[key] === _proAction[key]) return;
143
+ if (key in exports && exports[key] === utils[key]) return;
147
144
  Object.defineProperty(exports, key, {
148
145
  enumerable: true,
149
146
  get: function get() {
150
- return _proAction[key];
147
+ return utils[key];
151
148
  }
152
149
  });
153
150
  });
151
+ require("./global.scss");
152
+ var _hooks = _interopRequireDefault(require("./hooks"));
154
153
  var _proForm = require("@teamix/pro-form");
155
154
  Object.keys(_proForm).forEach(function (key) {
156
155
  if (key === "default" || key === "__esModule") return;
@@ -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> {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProPageHeaderProps } from '../../../../page-header/src';
2
3
  import { ProTableProps } from '../../../../table/src';
3
4
  import { PageProps } from '../../page-container';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamix/pro",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.3",
4
4
  "description": "TeamixPro大包",
5
5
  "keywords": [
6
6
  "aliyun",
@@ -57,7 +57,7 @@
57
57
  "@teamix/pro-field": "^2.0.0-beta.1",
58
58
  "@teamix/pro-page-header": "^2.0.0-beta.1",
59
59
  "@teamix/pro-page-container": "^2.0.0-beta.1",
60
- "@teamix/pro-skection": "^2.0.0-beta.1",
60
+ "@teamix/pro-skeleton": "^2.0.0-beta.1",
61
61
  "@teamix/pro-action": "^2.0.0-beta.1",
62
62
  "@teamix/utils": "^2.0.0-beta.1"
63
63