@luck-design-biz/luckda 1.0.1-13 → 1.0.1-14
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/components/LDActions/index.less +3 -1
- package/es/components/LdCard/index.js +15 -8
- package/es/components/LdTree/index.js +14 -8
- package/es/helper/ldBuilder.js +1 -1
- package/es/lowcode/engine/meta/iframe.props.json +1 -2
- package/es/lowcode/engine/meta/image.props.json +1 -1
- package/es/lowcode/painter/DesignToolbar.js +1 -1
- package/es/lowcode/painter/components/field-setting/FieldAttrs.js +2 -2
- package/es/lowcode/painter/style/action-bind-modal.less +5 -3
- package/es/lowcode/painter/style/design.less +10 -7
- package/es/lowcode/painter/style/list-editor.less +5 -3
- package/es/lowcode/painter/style/number-input.less +3 -1
- package/es/lowcode/painter/style/outline.less +3 -1
- package/es/lowcode/painter/style/panel-attrs.less +7 -3
- package/es/lowcode/painter/style/panel.less +9 -7
- package/es/lowcode/painter/style/radio.less +1 -1
- package/es/lowcode/painter/style/ribbon.less +4 -2
- package/es/lowcode/view/lc-components/GroupTree/index.js +23 -7
- package/es/lowcode/view/lc-components/Iframe/index.js +2 -3
- package/es/lowcode/view/lc-components/Iframe/meta.json +1 -2
- package/es/lowcode/view/lc-components/Image/index.js +23 -3
- package/es/lowcode/view/lc-components/Image/meta.json +1 -1
- package/es/lowcode/view/lc-components/Link/index.js +20 -2
- package/es/lowcode/view/lc-components/Table/index.js +1 -3
- package/es/lowcode/view/lc-components/Tree/index.js +18 -11
- package/lib/components/LDActions/index.less +3 -1
- package/lib/components/LdCard/index.js +15 -8
- package/lib/components/LdTree/index.js +14 -8
- package/lib/helper/ldBuilder.js +2 -2
- package/lib/lowcode/engine/meta/iframe.props.json +1 -2
- package/lib/lowcode/engine/meta/image.props.json +1 -1
- package/lib/lowcode/painter/DesignToolbar.js +1 -1
- package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +2 -2
- package/lib/lowcode/painter/style/action-bind-modal.less +5 -3
- package/lib/lowcode/painter/style/design.less +10 -7
- package/lib/lowcode/painter/style/list-editor.less +5 -3
- package/lib/lowcode/painter/style/number-input.less +3 -1
- package/lib/lowcode/painter/style/outline.less +3 -1
- package/lib/lowcode/painter/style/panel-attrs.less +7 -3
- package/lib/lowcode/painter/style/panel.less +9 -7
- package/lib/lowcode/painter/style/radio.less +1 -1
- package/lib/lowcode/painter/style/ribbon.less +4 -2
- package/lib/lowcode/view/lc-components/GroupTree/index.js +21 -5
- package/lib/lowcode/view/lc-components/Iframe/index.js +0 -1
- package/lib/lowcode/view/lc-components/Iframe/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Image/index.js +22 -2
- package/lib/lowcode/view/lc-components/Image/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Link/index.js +19 -1
- package/lib/lowcode/view/lc-components/Table/index.js +1 -3
- package/lib/lowcode/view/lc-components/Tree/index.js +17 -10
- package/package.json +176 -176
|
@@ -16,7 +16,7 @@ var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
|
16
16
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
17
17
|
var _ContextProvider = require("../../../engine/provider/ContextProvider");
|
|
18
18
|
var _constants = require("../../../constants");
|
|
19
|
-
var _excluded = ["id", "css"];
|
|
19
|
+
var _excluded = ["id", "css", "onClick", "advance"];
|
|
20
20
|
var StyledLink = _styledComponents.default.a.withConfig({
|
|
21
21
|
displayName: "StyledLink",
|
|
22
22
|
componentId: "luckda-6530__sc-13gzda1-0"
|
|
@@ -36,9 +36,26 @@ var StyledLink = _styledComponents.default.a.withConfig({
|
|
|
36
36
|
var LCLink = function LCLink(_ref) {
|
|
37
37
|
var id = _ref.id,
|
|
38
38
|
css = _ref.css,
|
|
39
|
+
onClick = _ref.onClick,
|
|
40
|
+
advance = _ref.advance,
|
|
39
41
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
40
42
|
var ref = (0, _react.useRef)();
|
|
41
43
|
var ctx = (0, _ContextProvider.useContext)();
|
|
44
|
+
(0, _react.useEffect)(function () {
|
|
45
|
+
ctx.doAction(advance.events.onMount);
|
|
46
|
+
return function () {
|
|
47
|
+
return ctx.doAction(advance.events.onUnmount);
|
|
48
|
+
};
|
|
49
|
+
}, []);
|
|
50
|
+
var handleClick = (0, _ahooks.useMemoizedFn)(function (e) {
|
|
51
|
+
if (onClick) {
|
|
52
|
+
onClick(e);
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
ctx.doAction(advance.events.onClick, {
|
|
56
|
+
e: e
|
|
57
|
+
});
|
|
58
|
+
});
|
|
42
59
|
var getTargetDom = (0, _ahooks.useMemoizedFn)(function () {
|
|
43
60
|
return ref.current;
|
|
44
61
|
});
|
|
@@ -54,6 +71,7 @@ var LCLink = function LCLink(_ref) {
|
|
|
54
71
|
target: props.isBlank ? '_blank' : '_self',
|
|
55
72
|
title: props.textOverflow && props.content,
|
|
56
73
|
onClick: function onClick(e) {
|
|
74
|
+
handleClick(e);
|
|
57
75
|
ctx.runtime === _constants.RUNTIME.DESIGN && e.preventDefault();
|
|
58
76
|
}
|
|
59
77
|
}), props.content));
|
|
@@ -472,9 +472,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
472
472
|
var condition = _zebra !== null && _zebra !== void 0 && _zebra.condition ? (0, _helper.executeCode)(ctx, _zebra.condition, ['params'], params) : _zebra && params.node.rowIndex % 2 === 0;
|
|
473
473
|
return condition ? {
|
|
474
474
|
'background-color': _zebra.color || _zebra
|
|
475
|
-
} : {
|
|
476
|
-
'background-color': '#fff'
|
|
477
|
-
};
|
|
475
|
+
} : {};
|
|
478
476
|
});
|
|
479
477
|
var _readFilter = (0, _ahooks.useMemoizedFn)(function (params, filters) {
|
|
480
478
|
ctx.doAction(advance.events.onFilterChanged, {
|
|
@@ -20,14 +20,15 @@ var _utils = require("@luck-design-biz/base/utils");
|
|
|
20
20
|
var _ContextProvider = require("../../../engine/provider/ContextProvider");
|
|
21
21
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
22
22
|
var _index = require("../../../../index");
|
|
23
|
+
var _useCombinedRefs = _interopRequireDefault(require("../../../engine/tools/useCombinedRefs"));
|
|
23
24
|
var _helper = require("../../../engine/tools/helper");
|
|
24
25
|
var _treePropsDefault = _interopRequireDefault(require("../../../engine/meta/tree.props.default.json"));
|
|
26
|
+
var _constants = require("../../../constants");
|
|
25
27
|
var _index2 = _interopRequireDefault(require("./index.less"));
|
|
26
|
-
var _excluded = ["id", "
|
|
28
|
+
var _excluded = ["id", "className", "dataset", "width", "height", "showLine", "defaultExpandDeep", "actions", "editable", "showRootAdd", "onlyRoot", "rootAddSetting", "doubleClickExpand", "onDoubleClick", "treeNodeCheckable", "treeNodeDisableCheckbox", "treeNodeDisable", "onTreeNodeRender", "treeNodeIcon", "advance", "cancelSelect", "defaultSelect"];
|
|
27
29
|
var PRIMARY = window.appConfig.constraintKeys.PRIMARY;
|
|
28
|
-
var LCTree = function
|
|
30
|
+
var LCTree = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
29
31
|
var id = _ref.id,
|
|
30
|
-
wrapperRef = _ref.wrapperRef,
|
|
31
32
|
className = _ref.className,
|
|
32
33
|
dataset = _ref.dataset,
|
|
33
34
|
width = _ref.width,
|
|
@@ -51,20 +52,20 @@ var LCTree = function LCTree(_ref) {
|
|
|
51
52
|
defaultSelect = _ref.defaultSelect,
|
|
52
53
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
53
54
|
var ctx = (0, _ContextProvider.useContext)();
|
|
54
|
-
var ref = (0, _react.useRef)();
|
|
55
55
|
var apiRef = (0, _react.useRef)();
|
|
56
|
-
var
|
|
56
|
+
var wrapperRef = (0, _react.useRef)();
|
|
57
|
+
var instanceRef = (0, _useCombinedRefs.default)(ref);
|
|
57
58
|
var _useState = (0, _react.useState)([]),
|
|
58
59
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
59
60
|
selectedKeys = _useState2[0],
|
|
60
61
|
setSelectedKeys = _useState2[1];
|
|
61
62
|
var getTargetDom = (0, _ahooks.useMemoizedFn)(function () {
|
|
62
|
-
return
|
|
63
|
+
return wrapperRef.current;
|
|
63
64
|
});
|
|
64
65
|
(0, _react.useImperativeHandle)(apiRef, function () {
|
|
65
66
|
return {
|
|
66
67
|
getInstance: function getInstance() {
|
|
67
|
-
return
|
|
68
|
+
return instanceRef.current;
|
|
68
69
|
}
|
|
69
70
|
};
|
|
70
71
|
});
|
|
@@ -149,6 +150,11 @@ var LCTree = function LCTree(_ref) {
|
|
|
149
150
|
doAction();
|
|
150
151
|
}
|
|
151
152
|
};
|
|
153
|
+
var _wrapperProps = (0, _ahooks.useCreation)(function () {
|
|
154
|
+
return (0, _defineProperty2.default)({
|
|
155
|
+
id: id
|
|
156
|
+
}, _constants.LC_COMPONENT_UNIT_KEY, _constants.LC_COMPONENT_UNIT);
|
|
157
|
+
}, []);
|
|
152
158
|
return /*#__PURE__*/_react.default.createElement(_Wrapper.default, {
|
|
153
159
|
id: id,
|
|
154
160
|
displayName: "Tree",
|
|
@@ -159,8 +165,9 @@ var LCTree = function LCTree(_ref) {
|
|
|
159
165
|
height: height,
|
|
160
166
|
id: id,
|
|
161
167
|
ldId: id,
|
|
162
|
-
ref:
|
|
163
|
-
|
|
168
|
+
ref: instanceRef,
|
|
169
|
+
wrapper: wrapperRef,
|
|
170
|
+
wrapperProps: _wrapperProps,
|
|
164
171
|
className: (0, _classnames.default)(_index2.default['lc-component-tree'], (0, _defineProperty2.default)({}, className, !!className)),
|
|
165
172
|
dataSetKey: dataset === null || dataset === void 0 ? void 0 : dataset.code,
|
|
166
173
|
showLine: showLine,
|
|
@@ -226,7 +233,7 @@ var LCTree = function LCTree(_ref) {
|
|
|
226
233
|
onSelect: handleSelect,
|
|
227
234
|
afterInit: afterInit
|
|
228
235
|
}, events, props)));
|
|
229
|
-
};
|
|
236
|
+
});
|
|
230
237
|
LCTree.propTypes = {
|
|
231
238
|
/**
|
|
232
239
|
* @name 唯一标识
|
package/package.json
CHANGED
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@luck-design-biz/luckda",
|
|
3
|
-
"version": "1.0.1-
|
|
4
|
-
"description": "前端配置管理中心业务组件库",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",
|
|
7
|
-
"build": "umi build",
|
|
8
|
-
"build-biz": "npm run meta && father build",
|
|
9
|
-
"async": "npm run build-biz && yalc push",
|
|
10
|
-
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
|
|
11
|
-
"release": "npm run build-biz && npm publish",
|
|
12
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
13
|
-
"test": "umi-test",
|
|
14
|
-
"test:coverage": "umi-test --coverage",
|
|
15
|
-
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e js,jsx,less --debug -x 'tnpm run async'",
|
|
16
|
-
"meta": "node ./scripts/generateMeta.js && node ./scripts/extractLocals.js && node ./scripts/generateAutoComplete.js"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"es",
|
|
20
|
-
"lib",
|
|
21
|
-
"utils.js",
|
|
22
|
-
"upload.js",
|
|
23
|
-
"lowcode.js"
|
|
24
|
-
],
|
|
25
|
-
"main": "lib/index.js",
|
|
26
|
-
"module": "es/index.js",
|
|
27
|
-
"gitHooks": {
|
|
28
|
-
"pre-commit": "lint-staged"
|
|
29
|
-
},
|
|
30
|
-
"engines": {
|
|
31
|
-
"node": ">=16",
|
|
32
|
-
"pnpm": ">=7.14.0"
|
|
33
|
-
},
|
|
34
|
-
"license": "MIT",
|
|
35
|
-
"repository": {
|
|
36
|
-
"type": "git",
|
|
37
|
-
"url": "git+https://github.com/xieyt203/luck-biz-components.git",
|
|
38
|
-
"branch": "main"
|
|
39
|
-
},
|
|
40
|
-
"lint-staged": {
|
|
41
|
-
"**/*.less": "stylelint --syntax less",
|
|
42
|
-
"**/*.{js,jsx,tsx,ts,less,md,json}": [
|
|
43
|
-
"prettier --write",
|
|
44
|
-
"git add"
|
|
45
|
-
],
|
|
46
|
-
"**/*.{js,ts,jsx,tsx}": "npm run lint-staged:js"
|
|
47
|
-
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@ahooksjs/use-url-state": "^3.5.1",
|
|
50
|
-
"@babel/runtime": "^7.18.9",
|
|
51
|
-
"@babel/standalone": "^7.24.0",
|
|
52
|
-
"@ctrl/tinycolor": "3.6.1",
|
|
53
|
-
"@dnd-kit/core": "^6.1.0",
|
|
54
|
-
"@dnd-kit/sortable": "^8.0.0",
|
|
55
|
-
"@dnd-kit/utilities": "^3.2.2",
|
|
56
|
-
"ahooks": "^3.7.11",
|
|
57
|
-
"classnames": "^2.3.1",
|
|
58
|
-
"fast-deep-equal": "^3.1.3",
|
|
59
|
-
"lodash": "^4.17.11",
|
|
60
|
-
"lz-string": "^1.5.0",
|
|
61
|
-
"moment": "^2.24.0",
|
|
62
|
-
"monaco-editor": "0.30.*",
|
|
63
|
-
"postcss": "^8.4.38",
|
|
64
|
-
"postcss-js": "^4.0.1",
|
|
65
|
-
"postcss-nested": "^6.0.1",
|
|
66
|
-
"prettier": "^2.7.1",
|
|
67
|
-
"prop-types": "^15.8.1",
|
|
68
|
-
"querystring": "^0.2.0",
|
|
69
|
-
"react": "^16.12.0",
|
|
70
|
-
"react-color": "^2.19.3",
|
|
71
|
-
"styled-components": "^6.1.8",
|
|
72
|
-
"zustand": "^4.5.2"
|
|
73
|
-
},
|
|
74
|
-
"devDependencies": {
|
|
75
|
-
"@amap/amap-jsapi-loader": "^0.0.7",
|
|
76
|
-
"@ant-design/pro-cli": "^1.0.28",
|
|
77
|
-
"@babel/core": "^7.20.2",
|
|
78
|
-
"@babel/eslint-parser": "^7.19.1",
|
|
79
|
-
"@babel/parser": "^7.24.4",
|
|
80
|
-
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
81
|
-
"@babel/plugin-proposal-decorators": "^7.20.2",
|
|
82
|
-
"@babel/plugin-transform-strict-mode": "^7.18.6",
|
|
83
|
-
"@babel/polyfill": "^7.12.1",
|
|
84
|
-
"@babel/traverse": "^7.24.1",
|
|
85
|
-
"@luck-design-biz/base": "0.0.49-14",
|
|
86
|
-
"@luck-design-biz/bpm": "0.0.7-1",
|
|
87
|
-
"@luck-helper/ui-design": "0.0.6-
|
|
88
|
-
"@types/classnames": "^2.3.1",
|
|
89
|
-
"@types/express": "^4.17.14",
|
|
90
|
-
"@types/history": "^4.7.11",
|
|
91
|
-
"@types/lodash": "^4.14.189",
|
|
92
|
-
"@types/qs": "^6.9.7",
|
|
93
|
-
"@types/react": "^16.14.34",
|
|
94
|
-
"@types/react-dom": "^16.9.17",
|
|
95
|
-
"@types/react-helmet": "^5.0.20",
|
|
96
|
-
"@umijs/fabric": "^2.14.0",
|
|
97
|
-
"@umijs/plugin-qiankun": "^2.41.0",
|
|
98
|
-
"@umijs/preset-react": "~1.8.31",
|
|
99
|
-
"bpmn-js": "^7.5.0",
|
|
100
|
-
"bpmn-js-properties-panel": "^0.35.0",
|
|
101
|
-
"chalk": "^3.0.0",
|
|
102
|
-
"check-prettier": "^1.0.3",
|
|
103
|
-
"comment-parser": "^1.4.1",
|
|
104
|
-
"compression-webpack-plugin": "^6.1.1",
|
|
105
|
-
"core-js": "^3.26.1",
|
|
106
|
-
"cross-env": "^6.0.3",
|
|
107
|
-
"cross-port-killer": "^1.4.0",
|
|
108
|
-
"cross-var": "^1.1.0",
|
|
109
|
-
"d3-selection": "^1.4.2",
|
|
110
|
-
"dry-dry": "^0.4.0",
|
|
111
|
-
"enzyme": "^3.11.0",
|
|
112
|
-
"eslint": "^7.32.0",
|
|
113
|
-
"eslint-plugin-babel": "^5.3.1",
|
|
114
|
-
"eslint-plugin-react": "^7.31.10",
|
|
115
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
116
|
-
"express": "^4.18.2",
|
|
117
|
-
"father": "^4.3.1",
|
|
118
|
-
"fs-extra": "^11.2.0",
|
|
119
|
-
"gh-pages": "^2.2.0",
|
|
120
|
-
"glob": "^10.3.12",
|
|
121
|
-
"gm-crypt": "^0.0.2",
|
|
122
|
-
"husky": "^7.0.4",
|
|
123
|
-
"import-sort-cli": "^6.0.0",
|
|
124
|
-
"import-sort-parser-babylon": "^6.0.0",
|
|
125
|
-
"import-sort-parser-typescript": "^6.0.0",
|
|
126
|
-
"import-sort-style-module": "^6.0.0",
|
|
127
|
-
"js-cookie": "^2.2.1",
|
|
128
|
-
"jsdom-global": "^3.0.2",
|
|
129
|
-
"lint-staged": "^11.2.6",
|
|
130
|
-
"luck-design": "0.1.80-3",
|
|
131
|
-
"monaco-editor-webpack-plugin": "6.*.*",
|
|
132
|
-
"node-fetch": "^2.6.7",
|
|
133
|
-
"nprogress": "^0.2.0",
|
|
134
|
-
"only-allow": "^1.1.1",
|
|
135
|
-
"pro-download": "1.0.1",
|
|
136
|
-
"promise-sequential": "^1.1.1",
|
|
137
|
-
"qrcode.react": "^1.0.1",
|
|
138
|
-
"qs": "^6.11.0",
|
|
139
|
-
"raphael": "^2.3.0",
|
|
140
|
-
"react-copy-to-clipboard": "^5.1.0",
|
|
141
|
-
"react-device-detect": "^1.17.0",
|
|
142
|
-
"react-dnd": "16.0.1",
|
|
143
|
-
"react-dnd-html5-backend": "16.0.1",
|
|
144
|
-
"react-dom": "^16.14.0",
|
|
145
|
-
"react-helmet": "^5.2.1",
|
|
146
|
-
"react-iframe": "^1.8.5",
|
|
147
|
-
"react-loading": "^2.0.3",
|
|
148
|
-
"react-viewer": "^3.2.2",
|
|
149
|
-
"resizable": "^1.2.1",
|
|
150
|
-
"slash2": "^2.0.0",
|
|
151
|
-
"stylelint": "^13.13.1",
|
|
152
|
-
"umi": "^3.5.35",
|
|
153
|
-
"umi-types": "^0.5.14",
|
|
154
|
-
"yorkie": "2.0.0"
|
|
155
|
-
},
|
|
156
|
-
"peerDependencies": {
|
|
157
|
-
"@luck-design-biz/base": ">= 0.0.10",
|
|
158
|
-
"@luck-design-biz/bpm": ">= 0.0.1",
|
|
159
|
-
"luck-design": ">=0.1.51",
|
|
160
|
-
"uuid": "^9.0.1"
|
|
161
|
-
},
|
|
162
|
-
"pnpm": {
|
|
163
|
-
"overrides": {
|
|
164
|
-
"immer": "^2.1.1"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"bugs": {
|
|
168
|
-
"url": "https://github.com/xieyt203/luck-biz-components/issues"
|
|
169
|
-
},
|
|
170
|
-
"homepage": "https://github.com/xieyt203/luck-biz-components#readme",
|
|
171
|
-
"directories": {
|
|
172
|
-
"doc": "docs",
|
|
173
|
-
"lib": "lib"
|
|
174
|
-
},
|
|
175
|
-
"author": ""
|
|
176
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@luck-design-biz/luckda",
|
|
3
|
+
"version": "1.0.1-14",
|
|
4
|
+
"description": "前端配置管理中心业务组件库",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",
|
|
7
|
+
"build": "umi build",
|
|
8
|
+
"build-biz": "npm run meta && father build",
|
|
9
|
+
"async": "npm run build-biz && yalc push",
|
|
10
|
+
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
|
|
11
|
+
"release": "npm run build-biz && npm publish",
|
|
12
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
13
|
+
"test": "umi-test",
|
|
14
|
+
"test:coverage": "umi-test --coverage",
|
|
15
|
+
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e js,jsx,less --debug -x 'tnpm run async'",
|
|
16
|
+
"meta": "node ./scripts/generateMeta.js && node ./scripts/extractLocals.js && node ./scripts/generateAutoComplete.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"es",
|
|
20
|
+
"lib",
|
|
21
|
+
"utils.js",
|
|
22
|
+
"upload.js",
|
|
23
|
+
"lowcode.js"
|
|
24
|
+
],
|
|
25
|
+
"main": "lib/index.js",
|
|
26
|
+
"module": "es/index.js",
|
|
27
|
+
"gitHooks": {
|
|
28
|
+
"pre-commit": "lint-staged"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=16",
|
|
32
|
+
"pnpm": ">=7.14.0"
|
|
33
|
+
},
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/xieyt203/luck-biz-components.git",
|
|
38
|
+
"branch": "main"
|
|
39
|
+
},
|
|
40
|
+
"lint-staged": {
|
|
41
|
+
"**/*.less": "stylelint --syntax less",
|
|
42
|
+
"**/*.{js,jsx,tsx,ts,less,md,json}": [
|
|
43
|
+
"prettier --write",
|
|
44
|
+
"git add"
|
|
45
|
+
],
|
|
46
|
+
"**/*.{js,ts,jsx,tsx}": "npm run lint-staged:js"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@ahooksjs/use-url-state": "^3.5.1",
|
|
50
|
+
"@babel/runtime": "^7.18.9",
|
|
51
|
+
"@babel/standalone": "^7.24.0",
|
|
52
|
+
"@ctrl/tinycolor": "3.6.1",
|
|
53
|
+
"@dnd-kit/core": "^6.1.0",
|
|
54
|
+
"@dnd-kit/sortable": "^8.0.0",
|
|
55
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
56
|
+
"ahooks": "^3.7.11",
|
|
57
|
+
"classnames": "^2.3.1",
|
|
58
|
+
"fast-deep-equal": "^3.1.3",
|
|
59
|
+
"lodash": "^4.17.11",
|
|
60
|
+
"lz-string": "^1.5.0",
|
|
61
|
+
"moment": "^2.24.0",
|
|
62
|
+
"monaco-editor": "0.30.*",
|
|
63
|
+
"postcss": "^8.4.38",
|
|
64
|
+
"postcss-js": "^4.0.1",
|
|
65
|
+
"postcss-nested": "^6.0.1",
|
|
66
|
+
"prettier": "^2.7.1",
|
|
67
|
+
"prop-types": "^15.8.1",
|
|
68
|
+
"querystring": "^0.2.0",
|
|
69
|
+
"react": "^16.12.0",
|
|
70
|
+
"react-color": "^2.19.3",
|
|
71
|
+
"styled-components": "^6.1.8",
|
|
72
|
+
"zustand": "^4.5.2"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@amap/amap-jsapi-loader": "^0.0.7",
|
|
76
|
+
"@ant-design/pro-cli": "^1.0.28",
|
|
77
|
+
"@babel/core": "^7.20.2",
|
|
78
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
79
|
+
"@babel/parser": "^7.24.4",
|
|
80
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
81
|
+
"@babel/plugin-proposal-decorators": "^7.20.2",
|
|
82
|
+
"@babel/plugin-transform-strict-mode": "^7.18.6",
|
|
83
|
+
"@babel/polyfill": "^7.12.1",
|
|
84
|
+
"@babel/traverse": "^7.24.1",
|
|
85
|
+
"@luck-design-biz/base": "0.0.49-14",
|
|
86
|
+
"@luck-design-biz/bpm": "0.0.7-1",
|
|
87
|
+
"@luck-helper/ui-design": "0.0.6-3",
|
|
88
|
+
"@types/classnames": "^2.3.1",
|
|
89
|
+
"@types/express": "^4.17.14",
|
|
90
|
+
"@types/history": "^4.7.11",
|
|
91
|
+
"@types/lodash": "^4.14.189",
|
|
92
|
+
"@types/qs": "^6.9.7",
|
|
93
|
+
"@types/react": "^16.14.34",
|
|
94
|
+
"@types/react-dom": "^16.9.17",
|
|
95
|
+
"@types/react-helmet": "^5.0.20",
|
|
96
|
+
"@umijs/fabric": "^2.14.0",
|
|
97
|
+
"@umijs/plugin-qiankun": "^2.41.0",
|
|
98
|
+
"@umijs/preset-react": "~1.8.31",
|
|
99
|
+
"bpmn-js": "^7.5.0",
|
|
100
|
+
"bpmn-js-properties-panel": "^0.35.0",
|
|
101
|
+
"chalk": "^3.0.0",
|
|
102
|
+
"check-prettier": "^1.0.3",
|
|
103
|
+
"comment-parser": "^1.4.1",
|
|
104
|
+
"compression-webpack-plugin": "^6.1.1",
|
|
105
|
+
"core-js": "^3.26.1",
|
|
106
|
+
"cross-env": "^6.0.3",
|
|
107
|
+
"cross-port-killer": "^1.4.0",
|
|
108
|
+
"cross-var": "^1.1.0",
|
|
109
|
+
"d3-selection": "^1.4.2",
|
|
110
|
+
"dry-dry": "^0.4.0",
|
|
111
|
+
"enzyme": "^3.11.0",
|
|
112
|
+
"eslint": "^7.32.0",
|
|
113
|
+
"eslint-plugin-babel": "^5.3.1",
|
|
114
|
+
"eslint-plugin-react": "^7.31.10",
|
|
115
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
116
|
+
"express": "^4.18.2",
|
|
117
|
+
"father": "^4.3.1",
|
|
118
|
+
"fs-extra": "^11.2.0",
|
|
119
|
+
"gh-pages": "^2.2.0",
|
|
120
|
+
"glob": "^10.3.12",
|
|
121
|
+
"gm-crypt": "^0.0.2",
|
|
122
|
+
"husky": "^7.0.4",
|
|
123
|
+
"import-sort-cli": "^6.0.0",
|
|
124
|
+
"import-sort-parser-babylon": "^6.0.0",
|
|
125
|
+
"import-sort-parser-typescript": "^6.0.0",
|
|
126
|
+
"import-sort-style-module": "^6.0.0",
|
|
127
|
+
"js-cookie": "^2.2.1",
|
|
128
|
+
"jsdom-global": "^3.0.2",
|
|
129
|
+
"lint-staged": "^11.2.6",
|
|
130
|
+
"luck-design": "0.1.80-3",
|
|
131
|
+
"monaco-editor-webpack-plugin": "6.*.*",
|
|
132
|
+
"node-fetch": "^2.6.7",
|
|
133
|
+
"nprogress": "^0.2.0",
|
|
134
|
+
"only-allow": "^1.1.1",
|
|
135
|
+
"pro-download": "1.0.1",
|
|
136
|
+
"promise-sequential": "^1.1.1",
|
|
137
|
+
"qrcode.react": "^1.0.1",
|
|
138
|
+
"qs": "^6.11.0",
|
|
139
|
+
"raphael": "^2.3.0",
|
|
140
|
+
"react-copy-to-clipboard": "^5.1.0",
|
|
141
|
+
"react-device-detect": "^1.17.0",
|
|
142
|
+
"react-dnd": "16.0.1",
|
|
143
|
+
"react-dnd-html5-backend": "16.0.1",
|
|
144
|
+
"react-dom": "^16.14.0",
|
|
145
|
+
"react-helmet": "^5.2.1",
|
|
146
|
+
"react-iframe": "^1.8.5",
|
|
147
|
+
"react-loading": "^2.0.3",
|
|
148
|
+
"react-viewer": "^3.2.2",
|
|
149
|
+
"resizable": "^1.2.1",
|
|
150
|
+
"slash2": "^2.0.0",
|
|
151
|
+
"stylelint": "^13.13.1",
|
|
152
|
+
"umi": "^3.5.35",
|
|
153
|
+
"umi-types": "^0.5.14",
|
|
154
|
+
"yorkie": "2.0.0"
|
|
155
|
+
},
|
|
156
|
+
"peerDependencies": {
|
|
157
|
+
"@luck-design-biz/base": ">= 0.0.10",
|
|
158
|
+
"@luck-design-biz/bpm": ">= 0.0.1",
|
|
159
|
+
"luck-design": ">=0.1.51",
|
|
160
|
+
"uuid": "^9.0.1"
|
|
161
|
+
},
|
|
162
|
+
"pnpm": {
|
|
163
|
+
"overrides": {
|
|
164
|
+
"immer": "^2.1.1"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"bugs": {
|
|
168
|
+
"url": "https://github.com/xieyt203/luck-biz-components/issues"
|
|
169
|
+
},
|
|
170
|
+
"homepage": "https://github.com/xieyt203/luck-biz-components#readme",
|
|
171
|
+
"directories": {
|
|
172
|
+
"doc": "docs",
|
|
173
|
+
"lib": "lib"
|
|
174
|
+
},
|
|
175
|
+
"author": ""
|
|
176
|
+
}
|