@ztocwst/rc-pro-materials 0.2.1 → 0.2.3-4.1
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/README.md +17 -17
- package/build/index.js +8 -8
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +8 -8
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/designer.html +2 -2
- package/build/lowcode/index.html +2 -2
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.css +1 -1
- package/build/lowcode/preview.js +4 -5
- package/build/lowcode/render/default/view.css +1 -2
- package/build/lowcode/render/default/view.js +9 -58
- package/build/lowcode/view.css +1 -2
- package/build/lowcode/view.js +10 -59
- package/dist/SCM_Comps.css +2 -2
- package/dist/SCM_Comps.js +22 -53
- package/dist/SCM_Comps.js.map +1 -1
- package/es/components/z-Ellipsis/ellipsis.d.ts +4 -4
- package/es/components/z-Ellipsis/index.d.ts +3 -3
- package/es/components/z-agg-block/index.d.ts +3 -3
- package/es/components/z-agg-block/index.less +134 -134
- package/es/components/z-agg-block/z-agg-block.d.ts +27 -27
- package/es/components/z-agg-block/z-agg-block.js +1 -1
- package/es/components/z-auth/auth.d.ts +9 -9
- package/es/components/z-auth/index.d.ts +3 -3
- package/es/components/z-box/box.d.ts +20 -20
- package/es/components/z-box/index.d.ts +3 -3
- package/es/components/z-box/index.less +4 -4
- package/es/components/z-button/index.d.ts +3 -3
- package/es/components/z-button/z-button.d.ts +4 -4
- package/es/components/z-config-provider/configProvider.d.ts +4 -4
- package/es/components/z-config-provider/configProvider.js +45 -4
- package/es/components/z-config-provider/index.d.ts +3 -3
- package/es/components/z-data-table/data-table.d.ts +9 -0
- package/es/components/z-data-table/data-table.js +24 -0
- package/es/components/z-data-table/index.d.ts +3 -0
- package/es/components/z-data-table/index.js +2 -0
- package/es/components/z-div/div.d.ts +6 -6
- package/es/components/z-div/index.d.ts +2 -2
- package/es/components/z-editTable/editTable.d.ts +11 -11
- package/es/components/z-editTable/editTable.js +3 -4
- package/es/components/z-editTable/index.d.ts +2 -2
- package/es/components/z-form/index.d.ts +3 -3
- package/es/components/z-form/z-form.d.ts +10 -10
- package/es/components/z-form/z-form.js +1 -1
- package/es/components/z-list/index.d.ts +3 -3
- package/es/components/z-list/list.d.ts +17 -17
- package/es/components/z-list/list.js +3 -3
- package/es/components/z-operation-records/index.d.ts +3 -3
- package/es/components/z-operation-records/operationRecords.d.ts +4 -4
- package/es/components/z-pointer-block/index.d.ts +3 -3
- package/es/components/z-pointer-block/index.less +15 -15
- package/es/components/z-pointer-block/z-pointer-block.d.ts +16 -16
- package/es/components/z-preview/index.d.ts +3 -3
- package/es/components/z-preview/preview.d.ts +4 -4
- package/es/components/z-pro-provider/index.d.ts +3 -3
- package/es/components/z-pro-provider/z-pro-provider.d.ts +6 -6
- package/es/components/z-ranking-list/index.d.ts +2 -2
- package/es/components/z-ranking-list/index.less +49 -49
- package/es/components/z-ranking-list/z-ranking-list.d.ts +14 -14
- package/es/components/z-ranking-list/z-ranking-list.js +2 -3
- package/es/components/z-simple-bar/index.d.ts +3 -3
- package/es/components/z-simple-bar/index.less +9 -9
- package/es/components/z-simple-bar/z-simple-bar.d.ts +27 -27
- package/es/components/z-singleFactory/index.d.ts +2 -2
- package/es/components/z-singleFactory/zSingerFactory.d.ts +2 -3
- package/es/components/z-slick/index.d.ts +3 -0
- package/es/components/z-slick/index.js +2 -0
- package/es/components/z-slick/slick.d.ts +47 -0
- package/es/components/z-slick/slick.js +35 -0
- package/es/components/z-statistic/index.d.ts +3 -3
- package/es/components/z-statistic/index.less +22 -22
- package/es/components/z-statistic/z-statistic.d.ts +13 -13
- package/es/components/z-table/index.d.ts +3 -3
- package/es/components/z-table/table.d.ts +8 -8
- package/es/components/z-table/table.js +1 -1
- package/es/components/z-templates-data-common/components/chart-renderer/index.d.ts +12 -14
- package/es/components/z-templates-data-common/components/chart-renderer/index.js +33 -13
- package/es/components/z-templates-data-common/data-common.d.ts +20 -105
- package/es/components/z-templates-data-common/data-common.helper.d.ts +2 -61
- package/es/components/z-templates-data-common/data-common.helper.js +2 -336
- package/es/components/z-templates-data-common/data-common.js +81 -62
- package/es/components/z-templates-data-common/index.d.ts +3 -3
- package/es/components/z-tpl/index.d.ts +3 -3
- package/es/components/z-tpl/tpl.d.ts +23 -23
- package/es/components/z-tpl/tpl.js +3 -3
- package/es/components/z-warehouse/index.d.ts +2 -2
- package/es/components/z-warehouse/zWarehouse.d.ts +2 -3
- package/es/components/z-watermark/index.d.ts +3 -0
- package/es/components/z-watermark/index.js +2 -0
- package/es/components/z-watermark/zWatermark.d.ts +3 -0
- package/es/components/z-watermark/zWatermark.js +4 -0
- package/es/index.d.ts +44 -38
- package/es/index.js +4 -0
- package/es/index.scss +1 -1
- package/es/style.js +2 -6
- package/es/utils/hoc.d.ts +6 -6
- package/es/utils/hoc.js +3 -3
- package/es/utils/index.d.ts +13 -13
- package/es/utils/index.js +5 -1
- package/es/utils/props/button.d.ts +13 -13
- package/es/utils/props/common.d.ts +7 -1
- package/es/utils/props/common.js +17 -0
- package/es/utils/props/editTable.d.ts +3 -3
- package/es/utils/props/editTable.js +21 -14
- package/es/utils/props/form.d.ts +36 -0
- package/es/utils/props/form.js +33 -14
- package/es/utils/props/listTpl.d.ts +29 -29
- package/es/utils/props/microModal.d.ts +7 -7
- package/es/utils/props/microModal.js +0 -1
- package/es/utils/props/microSwitch.d.ts +1 -1
- package/es/utils/props/microSwitch.js +4 -3
- package/es/utils/props/modalSelect.d.ts +6 -6
- package/es/utils/props/operationRecords.d.ts +2 -2
- package/es/utils/props/operationRecords.js +4 -4
- package/es/utils/props/preview.d.ts +2 -2
- package/es/utils/props/preview.js +4 -4
- package/es/utils/props/tpl.d.ts +173 -162
- package/es/utils/props/warehouseAndFactory.d.ts +1 -1
- package/es/utils/rcProRequest.d.ts +3 -3
- package/es/utils/rcProRequest.js +3 -3
- package/es/variables.scss +3 -3
- package/lib/components/z-Ellipsis/ellipsis.d.ts +4 -4
- package/lib/components/z-Ellipsis/ellipsis.js +3 -4
- package/lib/components/z-Ellipsis/index.d.ts +3 -3
- package/lib/components/z-Ellipsis/index.js +1 -2
- package/lib/components/z-agg-block/index.d.ts +3 -3
- package/lib/components/z-agg-block/index.js +1 -2
- package/lib/components/z-agg-block/index.less +134 -134
- package/lib/components/z-agg-block/z-agg-block.d.ts +27 -27
- package/lib/components/z-agg-block/z-agg-block.js +2 -3
- package/lib/components/z-auth/auth.d.ts +9 -9
- package/lib/components/z-auth/auth.js +1 -2
- package/lib/components/z-auth/index.d.ts +3 -3
- package/lib/components/z-auth/index.js +1 -2
- package/lib/components/z-box/box.d.ts +20 -20
- package/lib/components/z-box/box.js +1 -2
- package/lib/components/z-box/index.d.ts +3 -3
- package/lib/components/z-box/index.js +1 -2
- package/lib/components/z-box/index.less +4 -4
- package/lib/components/z-button/index.d.ts +3 -3
- package/lib/components/z-button/index.js +1 -2
- package/lib/components/z-button/z-button.d.ts +4 -4
- package/lib/components/z-button/z-button.js +4 -4
- package/lib/components/z-config-provider/configProvider.d.ts +4 -4
- package/lib/components/z-config-provider/configProvider.js +47 -7
- package/lib/components/z-config-provider/index.d.ts +3 -3
- package/lib/components/z-config-provider/index.js +1 -2
- package/lib/components/z-data-table/data-table.d.ts +9 -0
- package/lib/components/z-data-table/data-table.js +27 -0
- package/lib/components/z-data-table/index.d.ts +3 -0
- package/lib/components/z-data-table/index.js +7 -0
- package/lib/components/z-div/div.d.ts +6 -6
- package/lib/components/z-div/div.js +1 -2
- package/lib/components/z-div/index.d.ts +2 -2
- package/lib/components/z-div/index.js +1 -2
- package/lib/components/z-editTable/editTable.d.ts +11 -11
- package/lib/components/z-editTable/editTable.js +7 -9
- package/lib/components/z-editTable/index.d.ts +2 -2
- package/lib/components/z-editTable/index.js +1 -2
- package/lib/components/z-form/index.d.ts +3 -3
- package/lib/components/z-form/index.js +1 -2
- package/lib/components/z-form/z-form.d.ts +10 -10
- package/lib/components/z-form/z-form.js +5 -6
- package/lib/components/z-list/index.d.ts +3 -3
- package/lib/components/z-list/index.js +1 -2
- package/lib/components/z-list/list.d.ts +17 -17
- package/lib/components/z-list/list.js +7 -8
- package/lib/components/z-operation-records/index.d.ts +3 -3
- package/lib/components/z-operation-records/index.js +1 -2
- package/lib/components/z-operation-records/operationRecords.d.ts +4 -4
- package/lib/components/z-operation-records/operationRecords.js +3 -4
- package/lib/components/z-pointer-block/index.d.ts +3 -3
- package/lib/components/z-pointer-block/index.js +1 -2
- package/lib/components/z-pointer-block/index.less +15 -15
- package/lib/components/z-pointer-block/z-pointer-block.d.ts +16 -16
- package/lib/components/z-pointer-block/z-pointer-block.js +1 -2
- package/lib/components/z-preview/index.d.ts +3 -3
- package/lib/components/z-preview/index.js +1 -2
- package/lib/components/z-preview/preview.d.ts +4 -4
- package/lib/components/z-preview/preview.js +3 -4
- package/lib/components/z-pro-provider/index.d.ts +3 -3
- package/lib/components/z-pro-provider/index.js +1 -2
- package/lib/components/z-pro-provider/z-pro-provider.d.ts +6 -6
- package/lib/components/z-pro-provider/z-pro-provider.js +3 -4
- package/lib/components/z-ranking-list/index.d.ts +2 -2
- package/lib/components/z-ranking-list/index.js +1 -2
- package/lib/components/z-ranking-list/index.less +49 -49
- package/lib/components/z-ranking-list/z-ranking-list.d.ts +14 -14
- package/lib/components/z-ranking-list/z-ranking-list.js +5 -7
- package/lib/components/z-simple-bar/index.d.ts +3 -3
- package/lib/components/z-simple-bar/index.js +1 -2
- package/lib/components/z-simple-bar/index.less +9 -9
- package/lib/components/z-simple-bar/z-simple-bar.d.ts +27 -27
- package/lib/components/z-simple-bar/z-simple-bar.js +1 -2
- package/lib/components/z-singleFactory/index.d.ts +2 -2
- package/lib/components/z-singleFactory/index.js +1 -2
- package/lib/components/z-singleFactory/zSingerFactory.d.ts +2 -3
- package/lib/components/z-singleFactory/zSingerFactory.js +3 -4
- package/lib/components/z-slick/index.d.ts +3 -0
- package/lib/components/z-slick/index.js +7 -0
- package/lib/components/z-slick/slick.d.ts +47 -0
- package/lib/components/z-slick/slick.js +39 -0
- package/lib/components/z-statistic/index.d.ts +3 -3
- package/lib/components/z-statistic/index.js +1 -2
- package/lib/components/z-statistic/index.less +22 -22
- package/lib/components/z-statistic/z-statistic.d.ts +13 -13
- package/lib/components/z-statistic/z-statistic.js +1 -2
- package/lib/components/z-table/index.d.ts +3 -3
- package/lib/components/z-table/index.js +1 -2
- package/lib/components/z-table/table.d.ts +8 -8
- package/lib/components/z-table/table.js +5 -6
- package/lib/components/z-templates-data-common/components/chart-renderer/index.d.ts +12 -14
- package/lib/components/z-templates-data-common/components/chart-renderer/index.js +36 -17
- package/lib/components/z-templates-data-common/data-common.d.ts +20 -105
- package/lib/components/z-templates-data-common/data-common.helper.d.ts +2 -61
- package/lib/components/z-templates-data-common/data-common.helper.js +3 -351
- package/lib/components/z-templates-data-common/data-common.js +85 -66
- package/lib/components/z-templates-data-common/index.d.ts +3 -3
- package/lib/components/z-templates-data-common/index.js +1 -2
- package/lib/components/z-tpl/index.d.ts +3 -3
- package/lib/components/z-tpl/index.js +1 -2
- package/lib/components/z-tpl/tpl.d.ts +23 -23
- package/lib/components/z-tpl/tpl.js +7 -8
- package/lib/components/z-warehouse/index.d.ts +2 -2
- package/lib/components/z-warehouse/index.js +1 -2
- package/lib/components/z-warehouse/zWarehouse.d.ts +2 -3
- package/lib/components/z-warehouse/zWarehouse.js +3 -4
- package/lib/components/z-watermark/index.d.ts +3 -0
- package/lib/components/z-watermark/index.js +7 -0
- package/lib/components/z-watermark/zWatermark.d.ts +3 -0
- package/lib/components/z-watermark/zWatermark.js +8 -0
- package/lib/index.d.ts +44 -38
- package/lib/index.js +8 -2
- package/lib/index.scss +1 -1
- package/lib/style.js +1 -3
- package/lib/utils/hoc.d.ts +6 -6
- package/lib/utils/hoc.js +3 -3
- package/lib/utils/index.d.ts +13 -13
- package/lib/utils/index.js +7 -4
- package/lib/utils/props/button.d.ts +13 -13
- package/lib/utils/props/button.js +2 -3
- package/lib/utils/props/common.d.ts +7 -1
- package/lib/utils/props/common.js +19 -3
- package/lib/utils/props/editTable.d.ts +3 -3
- package/lib/utils/props/editTable.js +23 -17
- package/lib/utils/props/form.d.ts +36 -0
- package/lib/utils/props/form.js +35 -17
- package/lib/utils/props/listTpl.d.ts +29 -29
- package/lib/utils/props/listTpl.js +2 -3
- package/lib/utils/props/microModal.d.ts +7 -7
- package/lib/utils/props/microModal.js +1 -3
- package/lib/utils/props/microSwitch.d.ts +1 -1
- package/lib/utils/props/microSwitch.js +5 -4
- package/lib/utils/props/modalSelect.d.ts +6 -6
- package/lib/utils/props/modalSelect.js +2 -4
- package/lib/utils/props/operationRecords.d.ts +2 -2
- package/lib/utils/props/operationRecords.js +6 -7
- package/lib/utils/props/preview.d.ts +2 -2
- package/lib/utils/props/preview.js +6 -7
- package/lib/utils/props/tpl.d.ts +173 -162
- package/lib/utils/props/tpl.js +3 -5
- package/lib/utils/props/warehouseAndFactory.d.ts +1 -1
- package/lib/utils/props/warehouseAndFactory.js +2 -3
- package/lib/utils/rcProRequest.d.ts +3 -3
- package/lib/utils/rcProRequest.js +3 -4
- package/lib/variables.scss +3 -3
- package/package.json +5 -5
- package/es/components/z-templates-data-common/components/custom-renderer/index.d.ts +0 -13
- package/es/components/z-templates-data-common/components/custom-renderer/index.js +0 -172
- package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +0 -39
- package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.js +0 -1
- package/es/components/z-templates-data-common/components/dim-target/index.d.ts +0 -16
- package/es/components/z-templates-data-common/components/dim-target/index.js +0 -430
- package/es/components/z-templates-data-common/components/dim-target/index.less +0 -49
- package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +0 -8
- package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +0 -26
- package/es/components/z-templates-data-common/components/link-renderer/index.d.ts +0 -16
- package/es/components/z-templates-data-common/components/link-renderer/index.js +0 -320
- package/es/components/z-templates-data-common/components/link-renderer/index.less +0 -33
- package/es/components/z-templates-data-common/components/table-renderer/index.d.ts +0 -6
- package/es/components/z-templates-data-common/components/table-renderer/index.js +0 -481
- package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +0 -64
- package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +0 -220
- package/lib/components/z-templates-data-common/components/custom-renderer/index.d.ts +0 -13
- package/lib/components/z-templates-data-common/components/custom-renderer/index.js +0 -178
- package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +0 -39
- package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.js +0 -3
- package/lib/components/z-templates-data-common/components/dim-target/index.d.ts +0 -16
- package/lib/components/z-templates-data-common/components/dim-target/index.js +0 -438
- package/lib/components/z-templates-data-common/components/dim-target/index.less +0 -49
- package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +0 -8
- package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +0 -30
- package/lib/components/z-templates-data-common/components/link-renderer/index.d.ts +0 -16
- package/lib/components/z-templates-data-common/components/link-renderer/index.js +0 -326
- package/lib/components/z-templates-data-common/components/link-renderer/index.less +0 -33
- package/lib/components/z-templates-data-common/components/table-renderer/index.d.ts +0 -6
- package/lib/components/z-templates-data-common/components/table-renderer/index.js +0 -487
- package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +0 -64
- package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +0 -229
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _rcPro = require("@ztocwst/rc-pro");
|
|
10
|
+
/** 表格相关配置 */
|
|
11
|
+
var ZDataTableContainer = exports["default"] = /*#__PURE__*/function (_React$Component) {
|
|
12
|
+
function ZDataTableContainer(props) {
|
|
13
|
+
var _this;
|
|
14
|
+
_this = _React$Component.call(this, props) || this;
|
|
15
|
+
_this.chartRef = void 0;
|
|
16
|
+
_this.chartRef = /*#__PURE__*/_react["default"].createRef();
|
|
17
|
+
return _this;
|
|
18
|
+
}
|
|
19
|
+
(0, _inheritsLoose2["default"])(ZDataTableContainer, _React$Component);
|
|
20
|
+
var _proto = ZDataTableContainer.prototype;
|
|
21
|
+
_proto.render = function render() {
|
|
22
|
+
return /*#__PURE__*/_react["default"].createElement(_rcPro.DataTable, (0, _extends2["default"])({}, this.props, {
|
|
23
|
+
ref: this.chartRef
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
return ZDataTableContainer;
|
|
27
|
+
}(_react["default"].Component);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _dataTable = _interopRequireDefault(require("./data-table"));
|
|
7
|
+
var _default = exports["default"] = _dataTable["default"];
|
|
@@ -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;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _div = _interopRequireDefault(require("./div"));
|
|
7
|
-
var _default = _div["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _div["default"];
|
|
@@ -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():
|
|
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(): JSX.Element;
|
|
11
|
+
}
|
|
@@ -7,13 +7,12 @@ var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inh
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
9
9
|
var _utils = require("../../utils");
|
|
10
|
-
function _getRequireWildcardCache(
|
|
11
|
-
function _interopRequireWildcard(
|
|
12
|
-
/**
|
|
13
|
-
* rcEditTable
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
12
|
+
/**
|
|
13
|
+
* rcEditTable
|
|
14
14
|
*/
|
|
15
|
-
var ZRcEditTable = /*#__PURE__*/function (_React$Component) {
|
|
16
|
-
(0, _inheritsLoose2["default"])(ZRcEditTable, _React$Component);
|
|
15
|
+
var ZRcEditTable = exports["default"] = /*#__PURE__*/function (_React$Component) {
|
|
17
16
|
function ZRcEditTable(props) {
|
|
18
17
|
var _this;
|
|
19
18
|
_this = _React$Component.call(this, props) || this;
|
|
@@ -26,6 +25,7 @@ var ZRcEditTable = /*#__PURE__*/function (_React$Component) {
|
|
|
26
25
|
// this.editableFormRef = React.createRef();
|
|
27
26
|
return _this;
|
|
28
27
|
}
|
|
28
|
+
(0, _inheritsLoose2["default"])(ZRcEditTable, _React$Component);
|
|
29
29
|
var _proto = ZRcEditTable.prototype;
|
|
30
30
|
// getTableFormRef = () => {
|
|
31
31
|
// return this.editableFormRef;
|
|
@@ -35,9 +35,7 @@ var ZRcEditTable = /*#__PURE__*/function (_React$Component) {
|
|
|
35
35
|
proEditableFormRef: this.proEditableFormRef
|
|
36
36
|
// editableFormRef:this.editableFormRef
|
|
37
37
|
});
|
|
38
|
-
|
|
39
38
|
return /*#__PURE__*/React.createElement(_rcPro.RcEditProTable, editTableProps);
|
|
40
39
|
};
|
|
41
40
|
return ZRcEditTable;
|
|
42
|
-
}(React.Component);
|
|
43
|
-
exports["default"] = ZRcEditTable;
|
|
41
|
+
}(React.Component);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import ZRcEditTable from './editTable';
|
|
2
|
-
export default ZRcEditTable;
|
|
1
|
+
import ZRcEditTable from './editTable';
|
|
2
|
+
export default ZRcEditTable;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _editTable = _interopRequireDefault(require("./editTable"));
|
|
7
|
-
var _default = _editTable["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _editTable["default"];
|
|
@@ -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;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _zForm = _interopRequireDefault(require("./z-form"));
|
|
7
|
-
var _default = _zForm["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _zForm["default"];
|
|
@@ -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():
|
|
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(): JSX.Element;
|
|
10
|
+
}
|
|
@@ -8,8 +8,8 @@ var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inh
|
|
|
8
8
|
var React = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
10
10
|
var _utils = require("../../utils");
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
13
|
var ZForm = function ZForm(props) {
|
|
14
14
|
var formProps = (0, _utils.processFormProps)(props);
|
|
15
15
|
console.log(formProps, 'formProps');
|
|
@@ -17,8 +17,7 @@ var ZForm = function ZForm(props) {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
// export default ZForm;
|
|
20
|
-
var ZFormContainer = /*#__PURE__*/function (_React$Component) {
|
|
21
|
-
(0, _inheritsLoose2["default"])(ZFormContainer, _React$Component);
|
|
20
|
+
var ZFormContainer = exports["default"] = /*#__PURE__*/function (_React$Component) {
|
|
22
21
|
function ZFormContainer(props) {
|
|
23
22
|
var _this;
|
|
24
23
|
_this = _React$Component.call(this, props) || this;
|
|
@@ -34,6 +33,7 @@ var ZFormContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
34
33
|
_this.currentRef = /*#__PURE__*/React.createRef();
|
|
35
34
|
return _this;
|
|
36
35
|
}
|
|
36
|
+
(0, _inheritsLoose2["default"])(ZFormContainer, _React$Component);
|
|
37
37
|
var _proto = ZFormContainer.prototype;
|
|
38
38
|
_proto.render = function render() {
|
|
39
39
|
return /*#__PURE__*/React.createElement(ZForm, (0, _extends2["default"])({}, this.props, {
|
|
@@ -42,5 +42,4 @@ var ZFormContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
42
42
|
}));
|
|
43
43
|
};
|
|
44
44
|
return ZFormContainer;
|
|
45
|
-
}(React.Component);
|
|
46
|
-
exports["default"] = ZFormContainer;
|
|
45
|
+
}(React.Component);
|
|
@@ -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;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _list = _interopRequireDefault(require("./list"));
|
|
7
|
-
var _default = _list["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _list["default"];
|
|
@@ -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():
|
|
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(): JSX.Element;
|
|
17
|
+
}
|
|
@@ -7,18 +7,17 @@ var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inh
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
9
9
|
var _utils = require("../../utils");
|
|
10
|
-
function _getRequireWildcardCache(
|
|
11
|
-
function _interopRequireWildcard(
|
|
12
|
-
/**
|
|
13
|
-
* 模板列表
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
12
|
+
/**
|
|
13
|
+
* 模板列表
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
var ZList = function ZList(props) {
|
|
17
17
|
console.log(props, 'listProps');
|
|
18
18
|
return /*#__PURE__*/React.createElement(_rcPro.RcListTpl, props);
|
|
19
19
|
};
|
|
20
|
-
var ZTplListContainer = /*#__PURE__*/function (_React$Component) {
|
|
21
|
-
(0, _inheritsLoose2["default"])(ZTplListContainer, _React$Component);
|
|
20
|
+
var ZTplListContainer = exports["default"] = /*#__PURE__*/function (_React$Component) {
|
|
22
21
|
function ZTplListContainer(props) {
|
|
23
22
|
var _this;
|
|
24
23
|
_this = _React$Component.call(this, props) || this;
|
|
@@ -44,6 +43,7 @@ var ZTplListContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
44
43
|
_this.listFormCurrentRef = /*#__PURE__*/React.createRef();
|
|
45
44
|
return _this;
|
|
46
45
|
}
|
|
46
|
+
(0, _inheritsLoose2["default"])(ZTplListContainer, _React$Component);
|
|
47
47
|
var _proto = ZTplListContainer.prototype;
|
|
48
48
|
_proto.render = function render() {
|
|
49
49
|
var listProps = (0, _utils.processListTplProps)(this.props, {
|
|
@@ -55,5 +55,4 @@ var ZTplListContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
55
55
|
return /*#__PURE__*/React.createElement(ZList, listProps);
|
|
56
56
|
};
|
|
57
57
|
return ZTplListContainer;
|
|
58
|
-
}(React.Component);
|
|
59
|
-
exports["default"] = ZTplListContainer;
|
|
58
|
+
}(React.Component);
|
|
@@ -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;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _operationRecords = _interopRequireDefault(require("./operationRecords"));
|
|
7
|
-
var _default = _operationRecords["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _operationRecords["default"];
|
|
@@ -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;
|
|
@@ -5,12 +5,11 @@ exports["default"] = void 0;
|
|
|
5
5
|
var React = _interopRequireWildcard(require("react"));
|
|
6
6
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
7
7
|
var _utils = require("../../utils");
|
|
8
|
-
function _getRequireWildcardCache(
|
|
9
|
-
function _interopRequireWildcard(
|
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
10
10
|
var ZOperationRecords = function ZOperationRecords(props) {
|
|
11
11
|
var operationProps = (0, _utils.processOperationRecordsProps)(props);
|
|
12
12
|
console.log('ZOperationRecords', operationProps, 1);
|
|
13
13
|
return /*#__PURE__*/React.createElement(_rcPro.ProLog, operationProps);
|
|
14
14
|
};
|
|
15
|
-
var _default = ZOperationRecords;
|
|
16
|
-
exports["default"] = _default;
|
|
15
|
+
var _default = exports["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;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _zPointerBlock = _interopRequireDefault(require("./z-pointer-block"));
|
|
7
|
-
var _default = _zPointerBlock["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _zPointerBlock["default"];
|
|
@@ -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) =>
|
|
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) => 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;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _preview = _interopRequireDefault(require("./preview"));
|
|
7
|
-
var _default = _preview["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _preview["default"];
|
|
@@ -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;
|
|
@@ -5,8 +5,8 @@ exports["default"] = void 0;
|
|
|
5
5
|
var React = _interopRequireWildcard(require("react"));
|
|
6
6
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
7
7
|
var _utils = require("../../utils");
|
|
8
|
-
function _getRequireWildcardCache(
|
|
9
|
-
function _interopRequireWildcard(
|
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
11
|
|
|
12
12
|
var ZPreview = function ZPreview(props) {
|
|
@@ -14,5 +14,4 @@ var ZPreview = function ZPreview(props) {
|
|
|
14
14
|
console.log('previewProps', previewProps);
|
|
15
15
|
return /*#__PURE__*/React.createElement(_rcPro.ProPreview, previewProps);
|
|
16
16
|
};
|
|
17
|
-
var _default = ZPreview;
|
|
18
|
-
exports["default"] = _default;
|
|
17
|
+
var _default = exports["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;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _zProProvider = _interopRequireDefault(require("./z-pro-provider"));
|
|
7
|
-
var _default = _zProProvider["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _zProProvider["default"];
|
|
@@ -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;
|
|
@@ -9,8 +9,8 @@ var _react = require("react");
|
|
|
9
9
|
var _proProvider = _interopRequireWildcard(require("@ant-design/pro-provider"));
|
|
10
10
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
11
11
|
var _configProvider2 = _interopRequireDefault(require("antd/es/config-provider"));
|
|
12
|
-
function _getRequireWildcardCache(
|
|
13
|
-
function _interopRequireWildcard(
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
14
|
var ZProProvider = function ZProProvider(_ref) {
|
|
15
15
|
var _context$locale;
|
|
16
16
|
var locale = _ref.locale,
|
|
@@ -36,5 +36,4 @@ var ZProProvider = function ZProProvider(_ref) {
|
|
|
36
36
|
}, children))
|
|
37
37
|
);
|
|
38
38
|
};
|
|
39
|
-
var _default = ZProProvider;
|
|
40
|
-
exports["default"] = _default;
|
|
39
|
+
var _default = exports["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;
|
|
@@ -5,5 +5,4 @@ exports.__esModule = true;
|
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _zRankingList = _interopRequireDefault(require("./z-ranking-list"));
|
|
7
7
|
// export type { ProEllipsisProps } from '@ztocwst/rc-pro';
|
|
8
|
-
var _default = _zRankingList["default"];
|
|
9
|
-
exports["default"] = _default;
|
|
8
|
+
var _default = exports["default"] = _zRankingList["default"];
|