@ztocwst/rc-pro-materials 0.2.0 → 0.2.2

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.
Files changed (191) hide show
  1. package/README.md +17 -17
  2. package/build/index.js +8 -8
  3. package/build/lowcode/assets-daily.json +11 -11
  4. package/build/lowcode/assets-dev.json +2 -2
  5. package/build/lowcode/assets-prod.json +11 -11
  6. package/build/lowcode/index.js +1 -1
  7. package/build/lowcode/meta.js +1 -1
  8. package/build/lowcode/preview.js +5 -5
  9. package/build/lowcode/render/default/view.css +2 -1
  10. package/build/lowcode/render/default/view.js +51 -8
  11. package/build/lowcode/view.css +2 -1
  12. package/build/lowcode/view.js +52 -9
  13. package/dist/SCM_Comps.js +51 -8
  14. package/dist/SCM_Comps.js.map +1 -1
  15. package/es/components/z-Ellipsis/ellipsis.d.ts +4 -4
  16. package/es/components/z-Ellipsis/index.d.ts +3 -3
  17. package/es/components/z-agg-block/index.d.ts +3 -3
  18. package/es/components/z-agg-block/index.less +134 -134
  19. package/es/components/z-agg-block/z-agg-block.d.ts +27 -27
  20. package/es/components/z-auth/auth.d.ts +9 -9
  21. package/es/components/z-auth/index.d.ts +3 -3
  22. package/es/components/z-box/box.d.ts +20 -20
  23. package/es/components/z-box/index.d.ts +3 -3
  24. package/es/components/z-box/index.less +4 -4
  25. package/es/components/z-button/index.d.ts +3 -3
  26. package/es/components/z-button/z-button.d.ts +4 -4
  27. package/es/components/z-config-provider/configProvider.d.ts +4 -4
  28. package/es/components/z-config-provider/index.d.ts +3 -3
  29. package/es/components/z-div/div.d.ts +6 -6
  30. package/es/components/z-div/index.d.ts +2 -2
  31. package/es/components/z-editTable/editTable.d.ts +11 -11
  32. package/es/components/z-editTable/editTable.js +2 -2
  33. package/es/components/z-editTable/index.d.ts +2 -2
  34. package/es/components/z-form/index.d.ts +3 -3
  35. package/es/components/z-form/z-form.d.ts +10 -10
  36. package/es/components/z-list/index.d.ts +3 -3
  37. package/es/components/z-list/list.d.ts +17 -17
  38. package/es/components/z-list/list.js +2 -2
  39. package/es/components/z-operation-records/index.d.ts +3 -3
  40. package/es/components/z-operation-records/operationRecords.d.ts +4 -4
  41. package/es/components/z-pointer-block/index.d.ts +3 -3
  42. package/es/components/z-pointer-block/index.less +15 -15
  43. package/es/components/z-pointer-block/z-pointer-block.d.ts +16 -16
  44. package/es/components/z-preview/index.d.ts +3 -3
  45. package/es/components/z-preview/preview.d.ts +4 -4
  46. package/es/components/z-pro-provider/index.d.ts +3 -3
  47. package/es/components/z-pro-provider/z-pro-provider.d.ts +6 -6
  48. package/es/components/z-ranking-list/index.d.ts +2 -2
  49. package/es/components/z-ranking-list/index.less +49 -49
  50. package/es/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  51. package/es/components/z-ranking-list/z-ranking-list.js +2 -2
  52. package/es/components/z-simple-bar/index.d.ts +3 -3
  53. package/es/components/z-simple-bar/index.less +9 -9
  54. package/es/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  55. package/es/components/z-singleFactory/index.d.ts +2 -2
  56. package/es/components/z-singleFactory/zSingerFactory.d.ts +3 -3
  57. package/es/components/z-statistic/index.d.ts +3 -3
  58. package/es/components/z-statistic/index.less +22 -22
  59. package/es/components/z-statistic/z-statistic.d.ts +13 -13
  60. package/es/components/z-table/index.d.ts +3 -3
  61. package/es/components/z-table/table.d.ts +8 -8
  62. package/es/components/z-templates-data-common/components/chart-renderer/index.d.ts +14 -14
  63. package/es/components/z-templates-data-common/components/custom-renderer/index.d.ts +13 -13
  64. package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +39 -39
  65. package/es/components/z-templates-data-common/components/dim-target/index.d.ts +16 -16
  66. package/es/components/z-templates-data-common/components/dim-target/index.less +49 -49
  67. package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +8 -8
  68. package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +6 -6
  69. package/es/components/z-templates-data-common/components/link-renderer/index.d.ts +16 -16
  70. package/es/components/z-templates-data-common/components/link-renderer/index.less +33 -33
  71. package/es/components/z-templates-data-common/components/table-renderer/index.d.ts +6 -6
  72. package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +64 -64
  73. package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +10 -10
  74. package/es/components/z-templates-data-common/data-common.d.ts +105 -105
  75. package/es/components/z-templates-data-common/data-common.helper.d.ts +61 -61
  76. package/es/components/z-templates-data-common/data-common.helper.js +21 -21
  77. package/es/components/z-templates-data-common/index.d.ts +3 -3
  78. package/es/components/z-tpl/index.d.ts +3 -3
  79. package/es/components/z-tpl/tpl.d.ts +23 -23
  80. package/es/components/z-tpl/tpl.js +2 -2
  81. package/es/components/z-warehouse/index.d.ts +2 -2
  82. package/es/components/z-warehouse/zWarehouse.d.ts +3 -3
  83. package/es/index.d.ts +38 -38
  84. package/es/index.scss +1 -1
  85. package/es/utils/hoc.d.ts +6 -6
  86. package/es/utils/hoc.js +3 -3
  87. package/es/utils/index.d.ts +13 -13
  88. package/es/utils/props/button.d.ts +13 -13
  89. package/es/utils/props/common.d.ts +1 -1
  90. package/es/utils/props/editTable.d.ts +3 -3
  91. package/es/utils/props/form.js +2 -2
  92. package/es/utils/props/listTpl.d.ts +29 -29
  93. package/es/utils/props/microModal.d.ts +7 -7
  94. package/es/utils/props/microSwitch.d.ts +1 -1
  95. package/es/utils/props/modalSelect.d.ts +6 -6
  96. package/es/utils/props/operationRecords.d.ts +2 -2
  97. package/es/utils/props/preview.d.ts +2 -2
  98. package/es/utils/props/tpl.d.ts +162 -162
  99. package/es/utils/props/warehouseAndFactory.d.ts +1 -1
  100. package/es/utils/rcProRequest.d.ts +3 -3
  101. package/es/variables.scss +3 -3
  102. package/lib/components/z-Ellipsis/ellipsis.d.ts +4 -4
  103. package/lib/components/z-Ellipsis/index.d.ts +3 -3
  104. package/lib/components/z-agg-block/index.d.ts +3 -3
  105. package/lib/components/z-agg-block/index.less +134 -134
  106. package/lib/components/z-agg-block/z-agg-block.d.ts +27 -27
  107. package/lib/components/z-auth/auth.d.ts +9 -9
  108. package/lib/components/z-auth/index.d.ts +3 -3
  109. package/lib/components/z-box/box.d.ts +20 -20
  110. package/lib/components/z-box/index.d.ts +3 -3
  111. package/lib/components/z-box/index.less +4 -4
  112. package/lib/components/z-button/index.d.ts +3 -3
  113. package/lib/components/z-button/z-button.d.ts +4 -4
  114. package/lib/components/z-config-provider/configProvider.d.ts +4 -4
  115. package/lib/components/z-config-provider/index.d.ts +3 -3
  116. package/lib/components/z-div/div.d.ts +6 -6
  117. package/lib/components/z-div/index.d.ts +2 -2
  118. package/lib/components/z-editTable/editTable.d.ts +11 -11
  119. package/lib/components/z-editTable/editTable.js +2 -2
  120. package/lib/components/z-editTable/index.d.ts +2 -2
  121. package/lib/components/z-form/index.d.ts +3 -3
  122. package/lib/components/z-form/z-form.d.ts +10 -10
  123. package/lib/components/z-list/index.d.ts +3 -3
  124. package/lib/components/z-list/list.d.ts +17 -17
  125. package/lib/components/z-list/list.js +2 -2
  126. package/lib/components/z-operation-records/index.d.ts +3 -3
  127. package/lib/components/z-operation-records/operationRecords.d.ts +4 -4
  128. package/lib/components/z-pointer-block/index.d.ts +3 -3
  129. package/lib/components/z-pointer-block/index.less +15 -15
  130. package/lib/components/z-pointer-block/z-pointer-block.d.ts +16 -16
  131. package/lib/components/z-preview/index.d.ts +3 -3
  132. package/lib/components/z-preview/preview.d.ts +4 -4
  133. package/lib/components/z-pro-provider/index.d.ts +3 -3
  134. package/lib/components/z-pro-provider/z-pro-provider.d.ts +6 -6
  135. package/lib/components/z-ranking-list/index.d.ts +2 -2
  136. package/lib/components/z-ranking-list/index.less +49 -49
  137. package/lib/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  138. package/lib/components/z-ranking-list/z-ranking-list.js +2 -2
  139. package/lib/components/z-simple-bar/index.d.ts +3 -3
  140. package/lib/components/z-simple-bar/index.less +9 -9
  141. package/lib/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  142. package/lib/components/z-singleFactory/index.d.ts +2 -2
  143. package/lib/components/z-singleFactory/zSingerFactory.d.ts +3 -3
  144. package/lib/components/z-statistic/index.d.ts +3 -3
  145. package/lib/components/z-statistic/index.less +22 -22
  146. package/lib/components/z-statistic/z-statistic.d.ts +13 -13
  147. package/lib/components/z-table/index.d.ts +3 -3
  148. package/lib/components/z-table/table.d.ts +8 -8
  149. package/lib/components/z-templates-data-common/components/chart-renderer/index.d.ts +14 -14
  150. package/lib/components/z-templates-data-common/components/custom-renderer/index.d.ts +13 -13
  151. package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +39 -39
  152. package/lib/components/z-templates-data-common/components/dim-target/index.d.ts +16 -16
  153. package/lib/components/z-templates-data-common/components/dim-target/index.less +49 -49
  154. package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +8 -8
  155. package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +6 -6
  156. package/lib/components/z-templates-data-common/components/link-renderer/index.d.ts +16 -16
  157. package/lib/components/z-templates-data-common/components/link-renderer/index.less +33 -33
  158. package/lib/components/z-templates-data-common/components/table-renderer/index.d.ts +6 -6
  159. package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +64 -64
  160. package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +10 -10
  161. package/lib/components/z-templates-data-common/data-common.d.ts +105 -105
  162. package/lib/components/z-templates-data-common/data-common.helper.d.ts +61 -61
  163. package/lib/components/z-templates-data-common/data-common.helper.js +21 -21
  164. package/lib/components/z-templates-data-common/index.d.ts +3 -3
  165. package/lib/components/z-tpl/index.d.ts +3 -3
  166. package/lib/components/z-tpl/tpl.d.ts +23 -23
  167. package/lib/components/z-tpl/tpl.js +2 -2
  168. package/lib/components/z-warehouse/index.d.ts +2 -2
  169. package/lib/components/z-warehouse/zWarehouse.d.ts +3 -3
  170. package/lib/index.d.ts +38 -38
  171. package/lib/index.scss +1 -1
  172. package/lib/utils/hoc.d.ts +6 -6
  173. package/lib/utils/hoc.js +3 -3
  174. package/lib/utils/index.d.ts +13 -13
  175. package/lib/utils/props/button.d.ts +13 -13
  176. package/lib/utils/props/common.d.ts +1 -1
  177. package/lib/utils/props/editTable.d.ts +3 -3
  178. package/lib/utils/props/form.js +2 -2
  179. package/lib/utils/props/listTpl.d.ts +29 -29
  180. package/lib/utils/props/microModal.d.ts +7 -7
  181. package/lib/utils/props/microSwitch.d.ts +1 -1
  182. package/lib/utils/props/modalSelect.d.ts +6 -6
  183. package/lib/utils/props/operationRecords.d.ts +2 -2
  184. package/lib/utils/props/preview.d.ts +2 -2
  185. package/lib/utils/props/tpl.d.ts +162 -162
  186. package/lib/utils/props/warehouseAndFactory.d.ts +1 -1
  187. package/lib/utils/rcProRequest.d.ts +3 -3
  188. package/lib/variables.scss +3 -3
  189. package/package.json +3 -3
  190. package/es/utils/props/form.d.ts +0 -35
  191. package/lib/utils/props/form.d.ts +0 -35
@@ -1,27 +1,27 @@
1
- import React from 'react';
2
- import './index.less';
3
- import { TypeZPointerBlockProps } from '../z-pointer-block';
4
- export interface TypeAggBlockProps {
5
- /** 背景色 */
6
- color?: {
7
- start: string;
8
- end: string;
9
- };
10
- /** 标题 */
11
- title?: React.ReactNode;
12
- /** 副标题 */
13
- subTitle?: React.ReactNode;
14
- /** 额外附属配置 */
15
- extra?: React.ReactNode;
16
- style?: React.CSSProperties;
17
- /** 流程指标 */
18
- process?: boolean;
19
- /** 方向:横向 | 纵向 */
20
- direction?: 'horizontal' | 'vertical';
21
- /** 一行几列 */
22
- column?: number;
23
- items?: TypeZPointerBlockProps[] | React.ReactNode;
24
- onClick?: (item: any) => void;
25
- }
26
- declare const ZAggBlock: React.FC<TypeAggBlockProps>;
27
- export default ZAggBlock;
1
+ import React from 'react';
2
+ import './index.less';
3
+ import { TypeZPointerBlockProps } from '../z-pointer-block';
4
+ export interface TypeAggBlockProps {
5
+ /** 背景色 */
6
+ color?: {
7
+ start: string;
8
+ end: string;
9
+ };
10
+ /** 标题 */
11
+ title?: React.ReactNode;
12
+ /** 副标题 */
13
+ subTitle?: React.ReactNode;
14
+ /** 额外附属配置 */
15
+ extra?: React.ReactNode;
16
+ style?: React.CSSProperties;
17
+ /** 流程指标 */
18
+ process?: boolean;
19
+ /** 方向:横向 | 纵向 */
20
+ direction?: 'horizontal' | 'vertical';
21
+ /** 一行几列 */
22
+ column?: number;
23
+ items?: TypeZPointerBlockProps[] | React.ReactNode;
24
+ onClick?: (item: any) => void;
25
+ }
26
+ declare const ZAggBlock: React.FC<TypeAggBlockProps>;
27
+ export default ZAggBlock;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- export interface TypeAuthProps {
3
- /** 权限编码集合 */
4
- authCodes?: string[];
5
- /** 编码 */
6
- code: string;
7
- }
8
- declare const Auth: React.FC<TypeAuthProps>;
9
- export default Auth;
1
+ import React from 'react';
2
+ export interface TypeAuthProps {
3
+ /** 权限编码集合 */
4
+ authCodes?: string[];
5
+ /** 编码 */
6
+ code: string;
7
+ }
8
+ declare const Auth: React.FC<TypeAuthProps>;
9
+ export default Auth;
@@ -1,3 +1,3 @@
1
- import ZAuth from './auth';
2
- export type { TypeAuthProps } from './auth';
3
- export default ZAuth;
1
+ import ZAuth from './auth';
2
+ export type { TypeAuthProps } from './auth';
3
+ export default ZAuth;
@@ -1,20 +1,20 @@
1
- import { CSSProperties } from 'react';
2
- import './index.less';
3
- export interface TypeZBoxProps {
4
- /** 对齐方向 */
5
- direction: 'column' | 'row';
6
- /** 主轴对齐 */
7
- justify: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around';
8
- /** 交叉轴对齐 */
9
- align: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
10
- /** 宽度 */
11
- width: '' | '100%';
12
- /** 间距 */
13
- spacing: number;
14
- style?: CSSProperties;
15
- className?: string;
16
- /** 是否换行 */
17
- wrap: 'wrap' | 'nowrap';
18
- }
19
- declare const ZBox: React.FC<TypeZBoxProps>;
20
- export default ZBox;
1
+ import { CSSProperties } from 'react';
2
+ import './index.less';
3
+ export interface TypeZBoxProps {
4
+ /** 对齐方向 */
5
+ direction: 'column' | 'row';
6
+ /** 主轴对齐 */
7
+ justify: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around';
8
+ /** 交叉轴对齐 */
9
+ align: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
10
+ /** 宽度 */
11
+ width: '' | '100%';
12
+ /** 间距 */
13
+ spacing: number;
14
+ style?: CSSProperties;
15
+ className?: string;
16
+ /** 是否换行 */
17
+ wrap: 'wrap' | 'nowrap';
18
+ }
19
+ declare const ZBox: React.FC<TypeZBoxProps>;
20
+ export default ZBox;
@@ -1,3 +1,3 @@
1
- import ZBox from './box';
2
- export type { TypeZBoxProps } from './box';
3
- export default ZBox;
1
+ import ZBox from './box';
2
+ export type { TypeZBoxProps } from './box';
3
+ export default ZBox;
@@ -1,4 +1,4 @@
1
- .rc-z-box {
2
- box-sizing: border-box;
3
- display: flex;
4
- }
1
+ .rc-z-box {
2
+ box-sizing: border-box;
3
+ display: flex;
4
+ }
@@ -1,3 +1,3 @@
1
- import ZButton from './z-button';
2
- export type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
3
- export default ZButton;
1
+ import ZButton from './z-button';
2
+ export type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
3
+ export default ZButton;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
3
- declare const ZButton: React.FC<ProButtonProps>;
4
- export default ZButton;
1
+ import * as React from 'react';
2
+ import type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
3
+ declare const ZButton: React.FC<ProButtonProps>;
4
+ export default ZButton;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
3
- declare const ZConfigProvider: React.FC<RcConfigConsumerProps>;
4
- export default ZConfigProvider;
1
+ import * as React from 'react';
2
+ import type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
3
+ declare const ZConfigProvider: React.FC<RcConfigConsumerProps>;
4
+ export default ZConfigProvider;
@@ -1,3 +1,3 @@
1
- import ZConfigProvider from './configProvider';
2
- export type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
3
- export default ZConfigProvider;
1
+ import ZConfigProvider from './configProvider';
2
+ export type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
3
+ export default ZConfigProvider;
@@ -1,6 +1,6 @@
1
- import { CSSProperties } from 'react';
2
- declare const ZDiv: import("react").ForwardRefExoticComponent<{
3
- className?: string;
4
- style: CSSProperties;
5
- } & import("react").RefAttributes<HTMLDivElement>>;
6
- export default ZDiv;
1
+ import { CSSProperties } from 'react';
2
+ declare const ZDiv: import("react").ForwardRefExoticComponent<{
3
+ className?: string;
4
+ style: CSSProperties;
5
+ } & import("react").RefAttributes<HTMLDivElement>>;
6
+ export default ZDiv;
@@ -1,2 +1,2 @@
1
- import ZDiv from './div';
2
- export default ZDiv;
1
+ import ZDiv from './div';
2
+ export default ZDiv;
@@ -1,11 +1,11 @@
1
- /**
2
- * rcEditTable
3
- */
4
- import * as React from 'react';
5
- export default class ZRcEditTable extends React.Component {
6
- proEditableFormRef: any;
7
- editableFormRef: any;
8
- constructor(props: any);
9
- getProEditableFormRefRef: () => any;
10
- render(): React.JSX.Element;
11
- }
1
+ /**
2
+ * rcEditTable
3
+ */
4
+ import * as React from 'react';
5
+ export default class ZRcEditTable extends React.Component {
6
+ proEditableFormRef: any;
7
+ editableFormRef: any;
8
+ constructor(props: any);
9
+ getProEditableFormRefRef: () => any;
10
+ render(): React.JSX.Element;
11
+ }
@@ -9,8 +9,8 @@ var _rcPro = require("@ztocwst/rc-pro");
9
9
  var _utils = require("../../utils");
10
10
  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); }
11
11
  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; }
12
- /**
13
- * rcEditTable
12
+ /**
13
+ * rcEditTable
14
14
  */
15
15
  var ZRcEditTable = /*#__PURE__*/function (_React$Component) {
16
16
  (0, _inheritsLoose2["default"])(ZRcEditTable, _React$Component);
@@ -1,2 +1,2 @@
1
- import ZRcEditTable from './editTable';
2
- export default ZRcEditTable;
1
+ import ZRcEditTable from './editTable';
2
+ export default ZRcEditTable;
@@ -1,3 +1,3 @@
1
- import ZForm from './z-form';
2
- export type { ProFormRenderProps } from '@ztocwst/rc-pro';
3
- export default ZForm;
1
+ import ZForm from './z-form';
2
+ export type { ProFormRenderProps } from '@ztocwst/rc-pro';
3
+ export default ZForm;
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import type { ProFormRenderProps } from '@ztocwst/rc-pro';
3
- export default class ZFormContainer extends React.Component<ProFormRenderProps, any> {
4
- formRef: any;
5
- currentRef: any;
6
- constructor(props: any);
7
- getFormRef: () => any;
8
- getCurrentRef: () => any;
9
- render(): React.JSX.Element;
10
- }
1
+ import * as React from 'react';
2
+ import type { ProFormRenderProps } from '@ztocwst/rc-pro';
3
+ export default class ZFormContainer extends React.Component<ProFormRenderProps, any> {
4
+ formRef: any;
5
+ currentRef: any;
6
+ constructor(props: any);
7
+ getFormRef: () => any;
8
+ getCurrentRef: () => any;
9
+ render(): React.JSX.Element;
10
+ }
@@ -1,3 +1,3 @@
1
- import ZList from './list';
2
- export type { RcListItem } from '@ztocwst/rc-pro';
3
- export default ZList;
1
+ import ZList from './list';
2
+ export type { RcListItem } from '@ztocwst/rc-pro';
3
+ export default ZList;
@@ -1,17 +1,17 @@
1
- /**
2
- * 模板列表
3
- */
4
- import * as React from 'react';
5
- import type { RcListItem } from '@ztocwst/rc-pro';
6
- export default class ZTplListContainer extends React.Component<RcListItem, any> {
7
- listRef: any;
8
- tableRef: any;
9
- listFormRef: any;
10
- listFormCurrentRef: any;
11
- constructor(props: any);
12
- getListRef: () => any;
13
- getTableRef: () => any;
14
- getListFormRef: () => any;
15
- getListFormCurrentRef: () => any;
16
- render(): React.JSX.Element;
17
- }
1
+ /**
2
+ * 模板列表
3
+ */
4
+ import * as React from 'react';
5
+ import type { RcListItem } from '@ztocwst/rc-pro';
6
+ export default class ZTplListContainer extends React.Component<RcListItem, any> {
7
+ listRef: any;
8
+ tableRef: any;
9
+ listFormRef: any;
10
+ listFormCurrentRef: any;
11
+ constructor(props: any);
12
+ getListRef: () => any;
13
+ getTableRef: () => any;
14
+ getListFormRef: () => any;
15
+ getListFormCurrentRef: () => any;
16
+ render(): React.JSX.Element;
17
+ }
@@ -9,8 +9,8 @@ var _rcPro = require("@ztocwst/rc-pro");
9
9
  var _utils = require("../../utils");
10
10
  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); }
11
11
  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; }
12
- /**
13
- * 模板列表
12
+ /**
13
+ * 模板列表
14
14
  */
15
15
 
16
16
  var ZList = function ZList(props) {
@@ -1,3 +1,3 @@
1
- import ZOperationRecords from './operationRecords';
2
- export type { ProLogProps } from '@ztocwst/rc-pro';
3
- export default ZOperationRecords;
1
+ import ZOperationRecords from './operationRecords';
2
+ export type { ProLogProps } from '@ztocwst/rc-pro';
3
+ export default ZOperationRecords;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import type { ProOperationRecordsProps } from '@ztocwst/rc-pro';
3
- declare const ZOperationRecords: React.FC<ProOperationRecordsProps>;
4
- export default ZOperationRecords;
1
+ import * as React from 'react';
2
+ import type { ProOperationRecordsProps } from '@ztocwst/rc-pro';
3
+ declare const ZOperationRecords: React.FC<ProOperationRecordsProps>;
4
+ export default ZOperationRecords;
@@ -1,3 +1,3 @@
1
- import ZPointerBlock from './z-pointer-block';
2
- export type { TypeZPointerBlockProps } from './z-pointer-block';
3
- export default ZPointerBlock;
1
+ import ZPointerBlock from './z-pointer-block';
2
+ export type { TypeZPointerBlockProps } from './z-pointer-block';
3
+ export default ZPointerBlock;
@@ -1,15 +1,15 @@
1
- @root-entry-name: 'default';
2
- @import (reference) '~antd/es/style/themes/index.less';
3
-
4
- .z-pointer-block {
5
- padding: 16px;
6
- background: #fff;
7
- border-radius: 8px;
8
- border: 1px solid #d9d9d9;
9
- min-width: 100px;
10
-
11
- .z-pointer-icon {
12
- // color: @primary-color;
13
- color: var(--ant-primary-color, @primary-color);
14
- }
15
- }
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
4
+ .z-pointer-block {
5
+ padding: 16px;
6
+ background: #fff;
7
+ border-radius: 8px;
8
+ border: 1px solid #d9d9d9;
9
+ min-width: 100px;
10
+
11
+ .z-pointer-icon {
12
+ // color: @primary-color;
13
+ color: var(--ant-primary-color, @primary-color);
14
+ }
15
+ }
@@ -1,16 +1,16 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- import { TypeZStatisticProps } from '../z-statistic';
4
- export type TypeZPointerBlockProps = {
5
- /** 标题 */
6
- title: string | React.ReactNode;
7
- /** 值 */
8
- value: string;
9
- /** 图标 */
10
- icon?: React.ReactNode;
11
- align?: 'top' | 'middle' | 'bottom';
12
- style?: React.CSSProperties;
13
- onClick?: (item?: any) => void;
14
- } & TypeZStatisticProps;
15
- declare const ZPointerBlock: (props: TypeZPointerBlockProps) => import("react").JSX.Element;
16
- export default ZPointerBlock;
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ import { TypeZStatisticProps } from '../z-statistic';
4
+ export type TypeZPointerBlockProps = {
5
+ /** 标题 */
6
+ title: string | React.ReactNode;
7
+ /** 值 */
8
+ value: string;
9
+ /** 图标 */
10
+ icon?: React.ReactNode;
11
+ align?: 'top' | 'middle' | 'bottom';
12
+ style?: React.CSSProperties;
13
+ onClick?: (item?: any) => void;
14
+ } & TypeZStatisticProps;
15
+ declare const ZPointerBlock: (props: TypeZPointerBlockProps) => import("react").JSX.Element;
16
+ export default ZPointerBlock;
@@ -1,3 +1,3 @@
1
- import ZPreview from './preview';
2
- export type { ProPreviewProps } from '@ztocwst/rc-pro';
3
- export default ZPreview;
1
+ import ZPreview from './preview';
2
+ export type { ProPreviewProps } from '@ztocwst/rc-pro';
3
+ export default ZPreview;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import type { ProPreviewProps } from '@ztocwst/rc-pro';
3
- declare const ZPreview: React.FC<ProPreviewProps>;
4
- export default ZPreview;
1
+ import * as React from 'react';
2
+ import type { ProPreviewProps } from '@ztocwst/rc-pro';
3
+ declare const ZPreview: React.FC<ProPreviewProps>;
4
+ export default ZPreview;
@@ -1,3 +1,3 @@
1
- import ZProProvider from './z-pro-provider';
2
- export type { TypeZProProviderProps } from './z-pro-provider';
3
- export default ZProProvider;
1
+ import ZProProvider from './z-pro-provider';
2
+ export type { TypeZProProviderProps } from './z-pro-provider';
3
+ export default ZProProvider;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- export interface TypeZProProviderProps {
3
- locale?: 'zh-CN' | 'en-US';
4
- }
5
- declare const ZProProvider: React.FC<TypeZProProviderProps>;
6
- export default ZProProvider;
1
+ /// <reference types="react" />
2
+ export interface TypeZProProviderProps {
3
+ locale?: 'zh-CN' | 'en-US';
4
+ }
5
+ declare const ZProProvider: React.FC<TypeZProProviderProps>;
6
+ export default ZProProvider;
@@ -1,2 +1,2 @@
1
- import ZRankingList from './z-ranking-list';
2
- export default ZRankingList;
1
+ import ZRankingList from './z-ranking-list';
2
+ export default ZRankingList;
@@ -1,49 +1,49 @@
1
- @root-entry-name: 'default';
2
- @import (reference) '~antd/es/style/themes/index.less';
3
-
4
- .ranking-list .ant-table .ant-table-thead > tr > th {
5
- border-bottom: none;
6
- font-size: 13px;
7
- font-weight: 400;
8
- color: #999;
9
- background-color: #fff;
10
- padding: 8px 5px;
11
-
12
- &::before {
13
- display: none;
14
- }
15
- }
16
-
17
- .ranking-list .ant-table .ant-table-tbody > tr > td {
18
- border-bottom: none;
19
- font-size: 13px;
20
- font-weight: 400;
21
- color: #333;
22
- padding: 11px 7px;
23
- background-color: #fff;
24
- }
25
-
26
- .ranking-list {
27
- &-number {
28
- width: 20px;
29
- height: 20px;
30
- border-radius: 50%;
31
- display: flex;
32
- align-items: center;
33
- justify-content: center;
34
- color: #333;
35
- background-color: #f8f8f8;
36
-
37
- &.highlight {
38
- color: #fff;
39
- // background: #1890ff;
40
- background: var(--ant-primary-color, @primary-color);
41
- }
42
- }
43
-
44
- &-icon {
45
- display: flex;
46
- align-items: center;
47
- justify-content: center;
48
- }
49
- }
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
4
+ .ranking-list .ant-table .ant-table-thead > tr > th {
5
+ border-bottom: none;
6
+ font-size: 13px;
7
+ font-weight: 400;
8
+ color: #999;
9
+ background-color: #fff;
10
+ padding: 8px 5px;
11
+
12
+ &::before {
13
+ display: none;
14
+ }
15
+ }
16
+
17
+ .ranking-list .ant-table .ant-table-tbody > tr > td {
18
+ border-bottom: none;
19
+ font-size: 13px;
20
+ font-weight: 400;
21
+ color: #333;
22
+ padding: 11px 7px;
23
+ background-color: #fff;
24
+ }
25
+
26
+ .ranking-list {
27
+ &-number {
28
+ width: 20px;
29
+ height: 20px;
30
+ border-radius: 50%;
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ color: #333;
35
+ background-color: #f8f8f8;
36
+
37
+ &.highlight {
38
+ color: #fff;
39
+ // background: #1890ff;
40
+ background: var(--ant-primary-color, @primary-color);
41
+ }
42
+ }
43
+
44
+ &-icon {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ }
49
+ }
@@ -1,14 +1,14 @@
1
- /**
2
- * 排行榜
3
- */
4
- import { TableProps } from 'antd';
5
- import * as React from 'react';
6
- import './index.less';
7
- declare const ZRankingList: React.FC<{
8
- columns: TableProps<any>['columns'];
9
- dataSource: any[];
10
- showHeader?: boolean;
11
- name: React.ReactNode;
12
- icon?: string[];
13
- }>;
14
- export default ZRankingList;
1
+ /**
2
+ * 排行榜
3
+ */
4
+ import { TableProps } from 'antd';
5
+ import * as React from 'react';
6
+ import './index.less';
7
+ declare const ZRankingList: React.FC<{
8
+ columns: TableProps<any>['columns'];
9
+ dataSource: any[];
10
+ showHeader?: boolean;
11
+ name: React.ReactNode;
12
+ icon?: string[];
13
+ }>;
14
+ export default ZRankingList;
@@ -10,8 +10,8 @@ var _typography = _interopRequireDefault(require("antd/lib/typography"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  require("./index.less");
12
12
  var _excluded = ["type", "showRanking", "number"];
13
- /**
14
- * 排行榜
13
+ /**
14
+ * 排行榜
15
15
  */
16
16
  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); }
17
17
  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; }
@@ -1,3 +1,3 @@
1
- import ZSimpleBar from './z-simple-bar';
2
- export type { TypeZSimpleBarProps } from './z-simple-bar';
3
- export default ZSimpleBar;
1
+ import ZSimpleBar from './z-simple-bar';
2
+ export type { TypeZSimpleBarProps } from './z-simple-bar';
3
+ export default ZSimpleBar;
@@ -1,9 +1,9 @@
1
- .z-simple-bar {
2
- .bar-item {
3
- margin-bottom: 20px;
4
-
5
- &:last-child {
6
- margin-bottom: 0;
7
- }
8
- }
9
- }
1
+ .z-simple-bar {
2
+ .bar-item {
3
+ margin-bottom: 20px;
4
+
5
+ &:last-child {
6
+ margin-bottom: 0;
7
+ }
8
+ }
9
+ }