zmdms-webui 0.0.76 → 0.0.78
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/dist/es/_virtual/Draggable.js +3 -0
- package/dist/es/_virtual/DraggableCore.js +3 -0
- package/dist/es/_virtual/Resizable.js +3 -0
- package/dist/es/_virtual/ResizableBox.js +3 -0
- package/dist/es/_virtual/_commonjsHelpers.js +29 -1
- package/dist/es/_virtual/cjs.js +3 -0
- package/dist/es/_virtual/clsx.m.js +6 -0
- package/dist/es/_virtual/domFns.js +3 -0
- package/dist/es/_virtual/getPrefix.js +3 -0
- package/dist/es/_virtual/index3.js +3 -0
- package/dist/es/_virtual/index4.js +3 -0
- package/dist/es/_virtual/index5.js +3 -0
- package/dist/es/_virtual/log.js +3 -0
- package/dist/es/_virtual/positionFns.js +3 -0
- package/dist/es/_virtual/propTypes.js +3 -0
- package/dist/es/_virtual/react-is.development.js +3 -0
- package/dist/es/_virtual/react-is.production.min.js +3 -0
- package/dist/es/_virtual/shims.js +3 -0
- package/dist/es/_virtual/utils.js +3 -0
- package/dist/es/button/button.js +14 -9
- package/dist/es/button/interface.d.ts +2 -0
- package/dist/es/dynamicsetting/dynamicDrawer.js +88 -5
- package/dist/es/dynamicsetting/dynamicSetting.js +7 -2
- package/dist/es/dynamicsetting/interface.d.ts +4 -0
- package/dist/es/dynamicsetting/moreConfig.js +36 -0
- package/dist/es/dynamicsetting/useDynamic.js +65 -25
- package/dist/es/form/form.d.ts +1 -1
- package/dist/es/form/form.js +18 -6
- package/dist/es/form/hooks.js +37 -5
- package/dist/es/form/interface.d.ts +7 -0
- package/dist/es/form/toggle.js +16 -0
- package/dist/es/node_modules/@ant-design/icons/es/icons/MenuOutlined.js +15 -0
- package/dist/es/node_modules/@ant-design/icons/es/utils.js +3 -1
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.js +5 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js +1 -1
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +19 -19
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +15 -15
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.js +6 -6
- package/dist/es/node_modules/antd-img-crop/dist/antd-img-crop.esm.js +7 -7
- package/dist/es/node_modules/clsx/dist/clsx.m.js +3 -0
- package/dist/es/node_modules/compare-versions/lib/esm/compareVersions.js +31 -0
- package/dist/es/node_modules/compare-versions/lib/esm/{index.js → utils.js} +1 -28
- package/dist/es/node_modules/object-assign/index.js +99 -0
- package/dist/es/node_modules/prop-types/checkPropTypes.js +115 -0
- package/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +74 -0
- package/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
- package/dist/es/node_modules/prop-types/index.js +28 -0
- package/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
- package/dist/es/node_modules/prop-types/lib/has.js +11 -0
- package/dist/es/node_modules/react-draggable/build/cjs/Draggable.js +474 -0
- package/dist/es/node_modules/react-draggable/build/cjs/DraggableCore.js +580 -0
- package/dist/es/node_modules/react-draggable/build/cjs/cjs.js +18 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/domFns.js +361 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/getPrefix.js +85 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/log.js +10 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/positionFns.js +214 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/shims.js +64 -0
- package/dist/es/node_modules/react-easy-crop/index.module.js +51 -18
- package/dist/es/node_modules/react-is/cjs/react-is.development.js +190 -0
- package/dist/es/node_modules/react-is/cjs/react-is.production.min.js +26 -0
- package/dist/es/node_modules/react-is/index.js +19 -0
- package/dist/es/node_modules/react-resizable/build/Resizable.js +262 -0
- package/dist/es/node_modules/react-resizable/build/ResizableBox.js +117 -0
- package/dist/es/node_modules/react-resizable/build/propTypes.js +120 -0
- package/dist/es/node_modules/react-resizable/build/utils.js +24 -0
- package/dist/es/node_modules/react-resizable/index.js +14 -0
- package/dist/es/node_modules/virtuallist-antd/dist/index.es.js +942 -0
- package/dist/es/table/components/EnhanceBodyRow.js +24 -0
- package/dist/es/table/components/EnhanceHeaderCell.js +41 -0
- package/dist/es/table/components/TitleOperation.js +1 -1
- package/dist/es/table/components/useDragRef.js +10 -11
- package/dist/es/table/interface.d.ts +14 -0
- package/dist/es/table/table.js +72 -25
- package/dist/es/table/useColumns.js +144 -66
- package/dist/es/table/useDynamicListByColumns.js +63 -20
- package/dist/es/table/utils.js +59 -21
- package/dist/index.dark.css +1 -1
- package/dist/index.default.css +1 -1
- package/package.json +5 -4
- package/dist/es/table/components/EnhanceRow.js +0 -21
- /package/dist/es/table/components/{EnhanceCell.js → EnhanceBodyCell.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zmdms-webui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.78",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"peerDependencies": {
|
|
12
|
+
"ahooks": ">=3.7.8",
|
|
12
13
|
"antd": ">=4.24.8",
|
|
13
14
|
"dayjs": ">=1.11.7",
|
|
14
15
|
"lodash": ">=4.17.21",
|
|
15
16
|
"react": ">=16.8.0",
|
|
16
17
|
"react-dom": ">=16.8.0",
|
|
17
18
|
"react-router-dom": ">=6",
|
|
18
|
-
"zmdms-utils": ">=0.0.1"
|
|
19
|
-
"ahooks": ">=3.7.8"
|
|
19
|
+
"zmdms-utils": ">=0.0.1"
|
|
20
20
|
},
|
|
21
21
|
"sideEffects": [
|
|
22
22
|
"dist/es/**/style/*",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"@types/node": "^16.18.14",
|
|
70
70
|
"@types/react": "^18.0.28",
|
|
71
71
|
"@types/react-dom": "^18.0.11",
|
|
72
|
+
"@types/react-resizable": "^3.0.4",
|
|
72
73
|
"@types/react-router-dom": "^5.3.3",
|
|
73
74
|
"@welldone-software/why-did-you-render": "^7.0.1",
|
|
74
75
|
"ahooks": "^3.7.8",
|
|
@@ -109,6 +110,6 @@
|
|
|
109
110
|
"react-dnd-html5-backend": "^16.0.1",
|
|
110
111
|
"react-resizable": "^3.0.5",
|
|
111
112
|
"screenfull": "^6.0.2",
|
|
112
|
-
"virtuallist-antd": "^0.
|
|
113
|
+
"virtuallist-antd": "^0.8.0-beta.1"
|
|
113
114
|
}
|
|
114
115
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __rest, __assign } from '../../_virtual/_tslib.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import classNames from '../../node_modules/classnames/index.js';
|
|
4
|
-
import useDragRef from './useDragRef.js';
|
|
5
|
-
|
|
6
|
-
var BasicRow = function (props) {
|
|
7
|
-
var className = props.className, resetProps = __rest(props, ["className"]);
|
|
8
|
-
var classes = classNames("ztxk-table__enhance-row", className);
|
|
9
|
-
return jsx("tr", __assign({ className: classes }, resetProps));
|
|
10
|
-
};
|
|
11
|
-
// 拖拽行配置
|
|
12
|
-
var MoveRow = function (props) {
|
|
13
|
-
var className = props.className, style = props.style, index = props.index, moveRow = props.moveRow, resetProps = __rest(props, ["className", "style", "index", "moveRow"]);
|
|
14
|
-
var ref = useDragRef(index, moveRow).ref;
|
|
15
|
-
var classes = classNames("ztxk-table__enhance-row", className
|
|
16
|
-
// isOver ? dropClassName : ""
|
|
17
|
-
);
|
|
18
|
-
return (jsx("tr", __assign({ ref: ref, style: __assign({ cursor: "move" }, style), className: classes }, resetProps)));
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { BasicRow, MoveRow };
|
|
File without changes
|