@luck-design-biz/luckda 1.0.1-12 → 1.0.1-13

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 (65) hide show
  1. package/es/components/LdCard/index.js +147 -67
  2. package/es/components/LdTree/index.less +2 -0
  3. package/es/locales/zh-CN.js +4 -2
  4. package/es/lowcode/engine/meta/cardlist.props.default.json +27 -7
  5. package/es/lowcode/engine/meta/cardlist.props.json +252 -71
  6. package/es/lowcode/engine/meta/components-list.json +24 -0
  7. package/es/lowcode/engine/meta/iframe.props.default.json +1 -2
  8. package/es/lowcode/engine/meta/iframe.props.json +2 -3
  9. package/es/lowcode/engine/meta/image.props.default.json +3 -3
  10. package/es/lowcode/engine/meta/image.props.json +49 -15
  11. package/es/lowcode/engine/meta/js-editor/auto-complete.json +14 -1
  12. package/es/lowcode/engine/meta/link.props.default.json +1 -2
  13. package/es/lowcode/engine/meta/link.props.json +8 -9
  14. package/es/lowcode/painter/Ribbon.js +12 -0
  15. package/es/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
  16. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +20 -2
  17. package/es/lowcode/painter/panel-section/ActionsEditor/index.js +18 -3
  18. package/es/lowcode/painter/panel-section/GroupClassSelector.js +1 -1
  19. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +1 -0
  20. package/es/lowcode/painter/panel-section/TableTopFilter.js +3 -3
  21. package/es/lowcode/view/lc-components/CardList/index.js +476 -12
  22. package/es/lowcode/view/lc-components/CardList/meta.json +253 -72
  23. package/es/lowcode/view/lc-components/GroupTree/index.js +1 -1
  24. package/es/lowcode/view/lc-components/Iframe/index.js +57 -6
  25. package/es/lowcode/view/lc-components/Iframe/meta.json +2 -3
  26. package/es/lowcode/view/lc-components/Image/index.js +61 -5
  27. package/es/lowcode/view/lc-components/Image/index.less +27 -0
  28. package/es/lowcode/view/lc-components/Image/meta.json +49 -15
  29. package/es/lowcode/view/lc-components/Link/index.js +34 -4
  30. package/es/lowcode/view/lc-components/Link/index.less +15 -0
  31. package/es/lowcode/view/lc-components/Link/meta.json +8 -9
  32. package/es/lowcode/view/lc-components/Table/index.js +2 -2
  33. package/lib/components/LdCard/index.js +146 -66
  34. package/lib/components/LdTree/index.less +2 -0
  35. package/lib/locales/zh-CN.js +4 -2
  36. package/lib/lowcode/engine/meta/cardlist.props.default.json +27 -7
  37. package/lib/lowcode/engine/meta/cardlist.props.json +252 -71
  38. package/lib/lowcode/engine/meta/components-list.json +24 -0
  39. package/lib/lowcode/engine/meta/iframe.props.default.json +1 -2
  40. package/lib/lowcode/engine/meta/iframe.props.json +2 -3
  41. package/lib/lowcode/engine/meta/image.props.default.json +3 -3
  42. package/lib/lowcode/engine/meta/image.props.json +49 -15
  43. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +14 -1
  44. package/lib/lowcode/engine/meta/link.props.default.json +1 -2
  45. package/lib/lowcode/engine/meta/link.props.json +8 -9
  46. package/lib/lowcode/painter/Ribbon.js +12 -0
  47. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
  48. package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +19 -1
  49. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +18 -3
  50. package/lib/lowcode/painter/panel-section/GroupClassSelector.js +1 -1
  51. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +1 -0
  52. package/lib/lowcode/painter/panel-section/TableTopFilter.js +3 -3
  53. package/lib/lowcode/view/lc-components/CardList/index.js +475 -11
  54. package/lib/lowcode/view/lc-components/CardList/meta.json +253 -72
  55. package/lib/lowcode/view/lc-components/GroupTree/index.js +1 -1
  56. package/lib/lowcode/view/lc-components/Iframe/index.js +56 -5
  57. package/lib/lowcode/view/lc-components/Iframe/meta.json +2 -3
  58. package/lib/lowcode/view/lc-components/Image/index.js +60 -4
  59. package/lib/lowcode/view/lc-components/Image/index.less +27 -0
  60. package/lib/lowcode/view/lc-components/Image/meta.json +49 -15
  61. package/lib/lowcode/view/lc-components/Link/index.js +34 -4
  62. package/lib/lowcode/view/lc-components/Link/index.less +15 -0
  63. package/lib/lowcode/view/lc-components/Link/meta.json +8 -9
  64. package/lib/lowcode/view/lc-components/Table/index.js +2 -2
  65. package/package.json +176 -176
@@ -5,7 +5,6 @@
5
5
  "group": "basic",
6
6
  "groupName": "基础",
7
7
  "desc": "用于显示图像或照片。以便用户可以轻松地创建具有自定义图片样式和布局的界面。",
8
- "hidden": true,
9
8
  "order": 1,
10
9
  "props": [
11
10
  {
@@ -18,7 +17,7 @@
18
17
  "key": "src",
19
18
  "name": "图片地址",
20
19
  "desc": "图片地址",
21
- "type": "_ImageUploder"
20
+ "type": "string"
22
21
  },
23
22
  {
24
23
  "key": "width",
@@ -27,6 +26,13 @@
27
26
  "type": "number",
28
27
  "default": 350
29
28
  },
29
+ {
30
+ "key": "autoWidth",
31
+ "name": "宽度自适应",
32
+ "desc": "是否图片宽度自适应",
33
+ "type": "switch",
34
+ "default": false
35
+ },
30
36
  {
31
37
  "key": "height",
32
38
  "name": "高度",
@@ -35,10 +41,10 @@
35
41
  "default": 200
36
42
  },
37
43
  {
38
- "key": "autoWidth",
39
- "name": "宽度自适应",
40
- "desc": "是否图片宽度自适应",
41
- "type": "boolean",
44
+ "key": "autoHeight",
45
+ "name": "高度自适应",
46
+ "desc": "是否图片高度自适应",
47
+ "type": "switch",
42
48
  "default": false
43
49
  },
44
50
  {
@@ -48,16 +54,16 @@
48
54
  "type": "select",
49
55
  "options": [
50
56
  {
51
- "label": "铺满",
52
- "value": "fill"
57
+ "label": "铺满(Cover)",
58
+ "value": "cover"
53
59
  },
54
60
  {
55
- "label": "适合",
56
- "value": "fit"
61
+ "label": "适合(Contain)",
62
+ "value": "contain"
57
63
  },
58
64
  {
59
- "label": "拉伸",
60
- "value": "Stretch"
65
+ "label": "拉伸(Fill)",
66
+ "value": "fill"
61
67
  }
62
68
  ],
63
69
  "default": "fill"
@@ -66,8 +72,36 @@
66
72
  "key": "roundRadios",
67
73
  "name": "圆角",
68
74
  "desc": "图片四周圆角大小,可设置“0 1px 2px 3px",
69
- "type": "string",
70
- "default": "0"
75
+ "type": "select",
76
+ "options": [
77
+ {
78
+ "label": "大(16px)",
79
+ "value": "16px"
80
+ },
81
+ {
82
+ "label": "中(8px)",
83
+ "value": "8px"
84
+ },
85
+ {
86
+ "label": "小(4px)",
87
+ "value": "4px"
88
+ },
89
+ {
90
+ "label": "无(0px)",
91
+ "value": "0px"
92
+ },
93
+ {
94
+ "label": "自定义",
95
+ "value": ""
96
+ }
97
+ ],
98
+ "default": ""
99
+ },
100
+ {
101
+ "key": "borderRadios",
102
+ "name": "圆角大小",
103
+ "desc": "自定义圆角大小",
104
+ "type": "string"
71
105
  },
72
106
  {
73
107
  "key": "title",
@@ -85,7 +119,7 @@
85
119
  "key": "preview",
86
120
  "name": "开启图片预览",
87
121
  "desc": "是否开启点击打开图片预览",
88
- "type": "boolean",
122
+ "type": "switch",
89
123
  "default": false
90
124
  }
91
125
  ],
@@ -6,17 +6,39 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
11
  var _react = _interopRequireWildcard(require("react"));
11
12
  var _ahooks = require("ahooks");
12
13
  var _helper = require("../../../engine/tools/helper");
13
14
  var _linkPropsDefault = _interopRequireDefault(require("../../../engine/meta/link.props.default.json"));
14
15
  var _Wrapper = _interopRequireDefault(require("../Wrapper"));
15
- var _excluded = ["id"];
16
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
17
+ var _ContextProvider = require("../../../engine/provider/ContextProvider");
18
+ var _constants = require("../../../constants");
19
+ var _excluded = ["id", "css"];
20
+ var StyledLink = _styledComponents.default.a.withConfig({
21
+ displayName: "StyledLink",
22
+ componentId: "luckda-6530__sc-13gzda1-0"
23
+ })(["display:", ";max-width:", ";white-space:", ";overflow:", ";text-overflow:", ";", ";"], function (props) {
24
+ return props.textOverflow && 'inline-block';
25
+ }, function (props) {
26
+ return props.textOverflow && '100%';
27
+ }, function (props) {
28
+ return props.textOverflow && 'nowrap';
29
+ }, function (props) {
30
+ return props.textOverflow && 'hidden';
31
+ }, function (props) {
32
+ return props.textOverflow && 'ellipsis';
33
+ }, function (props) {
34
+ return props.$css;
35
+ });
16
36
  var LCLink = function LCLink(_ref) {
17
37
  var id = _ref.id,
38
+ css = _ref.css,
18
39
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
19
40
  var ref = (0, _react.useRef)();
41
+ var ctx = (0, _ContextProvider.useContext)();
20
42
  var getTargetDom = (0, _ahooks.useMemoizedFn)(function () {
21
43
  return ref.current;
22
44
  });
@@ -24,9 +46,17 @@ var LCLink = function LCLink(_ref) {
24
46
  id: id,
25
47
  displayName: "Link",
26
48
  getTargetDom: getTargetDom
27
- }, /*#__PURE__*/_react.default.createElement("div", {
28
- ref: ref
29
- }, "LCLink"));
49
+ }, /*#__PURE__*/_react.default.createElement(StyledLink, (0, _extends2.default)({
50
+ $css: css
51
+ }, props, {
52
+ ref: ref,
53
+ href: "".concat(props.url, "?").concat(props.params),
54
+ target: props.isBlank ? '_blank' : '_self',
55
+ title: props.textOverflow && props.content,
56
+ onClick: function onClick(e) {
57
+ ctx.runtime === _constants.RUNTIME.DESIGN && e.preventDefault();
58
+ }
59
+ }), props.content));
30
60
  };
31
61
  LCLink.defaultProps = (0, _helper.omitBadProps)(_linkPropsDefault.default);
32
62
  var _default = exports.default = LCLink;
@@ -0,0 +1,15 @@
1
+ .alink {
2
+ display: inline-block;
3
+ max-width: 100%;
4
+ white-space: nowrap;
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+
8
+ a {
9
+ display: inline-block;
10
+ max-width: 100%;
11
+ white-space: nowrap;
12
+ overflow: hidden;
13
+ text-overflow: ellipsis;
14
+ }
15
+ }
@@ -5,7 +5,6 @@
5
5
  "group": "basic",
6
6
  "groupName": "基础",
7
7
  "desc": "用于创建可点击的链接,以便用户可以跳转到其他页面或访问相关内容。超链组件提供了简单而直观的方式来创建和管理链接。",
8
- "hidden": true,
9
8
  "order": 1,
10
9
  "props": [
11
10
  {
@@ -23,8 +22,8 @@
23
22
  {
24
23
  "key": "textOverflow",
25
24
  "name": "单行截断",
26
- "desc": "文字超过一行,使甲...显示;开后此项后,同时会显示html标签的title",
27
- "type": "boolean",
25
+ "desc": "文字超过一行,使用...显示;开后此项后,同时会显示html标签的title",
26
+ "type": "switch",
28
27
  "default": false
29
28
  },
30
29
  {
@@ -51,16 +50,16 @@
51
50
  "type": "string"
52
51
  },
53
52
  {
54
- "key": "isLayer",
55
- "name": "弹窗打开",
56
- "desc": "是否以弹窗形式打开",
57
- "type": "boolean",
58
- "default": false
53
+ "key": "isBlank",
54
+ "name": "新开页面",
55
+ "desc": "是否新开页面",
56
+ "type": "switch",
57
+ "default": true
59
58
  },
60
59
  {
61
60
  "key": "params",
62
61
  "name": "携带参数",
63
- "desc": "超链的携带参数",
62
+ "desc": "超链的携带参数,key=value形式,多个参数中间用&拼接,例如:pageNo=1&pageSize=20",
64
63
  "type": "string"
65
64
  },
66
65
  {
@@ -456,12 +456,12 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
456
456
  }
457
457
  return resultComp;
458
458
  }, [topActionGroup, impexp]);
459
- var renderFilterArea = (0, _ahooks.useMemoizedFn)(function () {
459
+ var renderFilterArea = (0, _react.useCallback)(function () {
460
460
  return topFilter ? /*#__PURE__*/_react.default.createElement(_TopFilter.default, {
461
461
  filter: topFilter,
462
462
  instance: instanceRef
463
463
  }) : null;
464
- });
464
+ }, [topFilter]);
465
465
  var _wrapperProps = (0, _ahooks.useCreation)(function () {
466
466
  return (0, _defineProperty2.default)({
467
467
  id: id
package/package.json CHANGED
@@ -1,176 +1,176 @@
1
- {
2
- "name": "@luck-design-biz/luckda",
3
- "version": "1.0.1-12",
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-12",
86
- "@luck-design-biz/bpm": "0.0.5",
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",
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-13",
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-2",
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
+ }