@luck-design-biz/luckda 1.0.1-14 → 1.0.1-15
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/lowcode/engine/meta/cardlist.props.json +5 -5
- package/es/lowcode/painter/style/design.less +1 -1
- package/es/lowcode/view/lc-components/CardList/index.js +16 -11
- package/es/lowcode/view/lc-components/CardList/meta.json +5 -5
- package/lib/lowcode/engine/meta/cardlist.props.json +5 -5
- package/lib/lowcode/painter/style/design.less +1 -1
- package/lib/lowcode/view/lc-components/CardList/index.js +16 -11
- package/lib/lowcode/view/lc-components/CardList/meta.json +5 -5
- package/package.json +176 -176
|
@@ -298,31 +298,31 @@
|
|
|
298
298
|
"key": "onMount",
|
|
299
299
|
"name": "组件首次渲染时",
|
|
300
300
|
"desc": "在组件首次渲染时,执行方法",
|
|
301
|
-
"func": "(params)=>{\n\t\n}"
|
|
301
|
+
"func": "function onMount(params)=>{\n\t\n}"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"key": "onUnmount",
|
|
305
305
|
"name": "组件卸载时",
|
|
306
306
|
"desc": "在组件卸载时,执行方法。",
|
|
307
|
-
"func": "()=>{\n\t\n}"
|
|
307
|
+
"func": "function onUnmount()=>{\n\t\n}"
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"key": "onAddCardClick",
|
|
311
311
|
"name": "新增卡片点击",
|
|
312
312
|
"desc": "点击新增卡片行时,执行方法",
|
|
313
|
-
"func": "()=>{\n\t\n}"
|
|
313
|
+
"func": "function onAddCardClick()=>{\n\t\n}"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
"key": "onCardClick",
|
|
317
317
|
"name": "卡片单击",
|
|
318
318
|
"desc": "单击卡片行时,执行方法",
|
|
319
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
319
|
+
"func": "function onCardClick(data, e)=>{\n\t\n}"
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
"key": "onCardDelete",
|
|
323
323
|
"name": "卡片删除",
|
|
324
324
|
"desc": "单击卡片删除图标,执行方法",
|
|
325
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
325
|
+
"func": "function onCardDelete(data, e)=>{\n\t\n}"
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
328
|
"key": "onDrop",
|
|
@@ -332,12 +332,11 @@ LCCardList.propTypes = {
|
|
|
332
332
|
*/
|
|
333
333
|
suppressActions: PropTypes.bool,
|
|
334
334
|
/**
|
|
335
|
-
* @name
|
|
336
|
-
* @type
|
|
337
|
-
* @default
|
|
338
|
-
* @groupNext actionsColumn
|
|
335
|
+
* @name 拖拽排序
|
|
336
|
+
* @type switch
|
|
337
|
+
* @default false
|
|
339
338
|
*/
|
|
340
|
-
|
|
339
|
+
draggable: PropTypes.bool,
|
|
341
340
|
/**
|
|
342
341
|
* @name 操作项
|
|
343
342
|
* @type _TableActions
|
|
@@ -405,12 +404,6 @@ LCCardList.propTypes = {
|
|
|
405
404
|
batchOperations: PropTypes.shape({
|
|
406
405
|
todoList: PropTypes.array.isRequired
|
|
407
406
|
}),
|
|
408
|
-
/**
|
|
409
|
-
* @name 每页行数
|
|
410
|
-
* @type number
|
|
411
|
-
* @default 40
|
|
412
|
-
*/
|
|
413
|
-
pageSize: PropTypes.number,
|
|
414
407
|
/**
|
|
415
408
|
* @name 无边框风格
|
|
416
409
|
* @type switch
|
|
@@ -465,6 +458,18 @@ LCCardList.propTypes = {
|
|
|
465
458
|
* @default "function renderContent(record) { \n return null; \n}"
|
|
466
459
|
*/
|
|
467
460
|
renderContent: PropTypes.string,
|
|
461
|
+
/**
|
|
462
|
+
* @name 开启分页
|
|
463
|
+
* @type switch
|
|
464
|
+
* @default true
|
|
465
|
+
*/
|
|
466
|
+
pagination: PropTypes.bool,
|
|
467
|
+
/**
|
|
468
|
+
* @name 每页行数
|
|
469
|
+
* @type number
|
|
470
|
+
* @default 40
|
|
471
|
+
*/
|
|
472
|
+
pageSize: PropTypes.number,
|
|
468
473
|
/**
|
|
469
474
|
* @name 组件首次渲染时
|
|
470
475
|
* @type _JSEditor
|
|
@@ -298,31 +298,31 @@
|
|
|
298
298
|
"key": "onMount",
|
|
299
299
|
"name": "组件首次渲染时",
|
|
300
300
|
"desc": "在组件首次渲染时,执行方法",
|
|
301
|
-
"func": "(params)=>{\n\t\n}"
|
|
301
|
+
"func": "function onMount(params)=>{\n\t\n}"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"key": "onUnmount",
|
|
305
305
|
"name": "组件卸载时",
|
|
306
306
|
"desc": "在组件卸载时,执行方法。",
|
|
307
|
-
"func": "()=>{\n\t\n}"
|
|
307
|
+
"func": "function onUnmount()=>{\n\t\n}"
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"key": "onAddCardClick",
|
|
311
311
|
"name": "新增卡片点击",
|
|
312
312
|
"desc": "点击新增卡片行时,执行方法",
|
|
313
|
-
"func": "()=>{\n\t\n}"
|
|
313
|
+
"func": "function onAddCardClick()=>{\n\t\n}"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
"key": "onCardClick",
|
|
317
317
|
"name": "卡片单击",
|
|
318
318
|
"desc": "单击卡片行时,执行方法",
|
|
319
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
319
|
+
"func": "function onCardClick(data, e)=>{\n\t\n}"
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
"key": "onCardDelete",
|
|
323
323
|
"name": "卡片删除",
|
|
324
324
|
"desc": "单击卡片删除图标,执行方法",
|
|
325
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
325
|
+
"func": "function onCardDelete(data, e)=>{\n\t\n}"
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
328
|
"key": "onDrop",
|
|
@@ -298,31 +298,31 @@
|
|
|
298
298
|
"key": "onMount",
|
|
299
299
|
"name": "组件首次渲染时",
|
|
300
300
|
"desc": "在组件首次渲染时,执行方法",
|
|
301
|
-
"func": "(params)=>{\n\t\n}"
|
|
301
|
+
"func": "function onMount(params)=>{\n\t\n}"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"key": "onUnmount",
|
|
305
305
|
"name": "组件卸载时",
|
|
306
306
|
"desc": "在组件卸载时,执行方法。",
|
|
307
|
-
"func": "()=>{\n\t\n}"
|
|
307
|
+
"func": "function onUnmount()=>{\n\t\n}"
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"key": "onAddCardClick",
|
|
311
311
|
"name": "新增卡片点击",
|
|
312
312
|
"desc": "点击新增卡片行时,执行方法",
|
|
313
|
-
"func": "()=>{\n\t\n}"
|
|
313
|
+
"func": "function onAddCardClick()=>{\n\t\n}"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
"key": "onCardClick",
|
|
317
317
|
"name": "卡片单击",
|
|
318
318
|
"desc": "单击卡片行时,执行方法",
|
|
319
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
319
|
+
"func": "function onCardClick(data, e)=>{\n\t\n}"
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
"key": "onCardDelete",
|
|
323
323
|
"name": "卡片删除",
|
|
324
324
|
"desc": "单击卡片删除图标,执行方法",
|
|
325
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
325
|
+
"func": "function onCardDelete(data, e)=>{\n\t\n}"
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
328
|
"key": "onDrop",
|
|
@@ -340,12 +340,11 @@ LCCardList.propTypes = {
|
|
|
340
340
|
*/
|
|
341
341
|
suppressActions: _propTypes.default.bool,
|
|
342
342
|
/**
|
|
343
|
-
* @name
|
|
344
|
-
* @type
|
|
345
|
-
* @default
|
|
346
|
-
* @groupNext actionsColumn
|
|
343
|
+
* @name 拖拽排序
|
|
344
|
+
* @type switch
|
|
345
|
+
* @default false
|
|
347
346
|
*/
|
|
348
|
-
|
|
347
|
+
draggable: _propTypes.default.bool,
|
|
349
348
|
/**
|
|
350
349
|
* @name 操作项
|
|
351
350
|
* @type _TableActions
|
|
@@ -413,12 +412,6 @@ LCCardList.propTypes = {
|
|
|
413
412
|
batchOperations: _propTypes.default.shape({
|
|
414
413
|
todoList: _propTypes.default.array.isRequired
|
|
415
414
|
}),
|
|
416
|
-
/**
|
|
417
|
-
* @name 每页行数
|
|
418
|
-
* @type number
|
|
419
|
-
* @default 40
|
|
420
|
-
*/
|
|
421
|
-
pageSize: _propTypes.default.number,
|
|
422
415
|
/**
|
|
423
416
|
* @name 无边框风格
|
|
424
417
|
* @type switch
|
|
@@ -473,6 +466,18 @@ LCCardList.propTypes = {
|
|
|
473
466
|
* @default "function renderContent(record) { \n return null; \n}"
|
|
474
467
|
*/
|
|
475
468
|
renderContent: _propTypes.default.string,
|
|
469
|
+
/**
|
|
470
|
+
* @name 开启分页
|
|
471
|
+
* @type switch
|
|
472
|
+
* @default true
|
|
473
|
+
*/
|
|
474
|
+
pagination: _propTypes.default.bool,
|
|
475
|
+
/**
|
|
476
|
+
* @name 每页行数
|
|
477
|
+
* @type number
|
|
478
|
+
* @default 40
|
|
479
|
+
*/
|
|
480
|
+
pageSize: _propTypes.default.number,
|
|
476
481
|
/**
|
|
477
482
|
* @name 组件首次渲染时
|
|
478
483
|
* @type _JSEditor
|
|
@@ -298,31 +298,31 @@
|
|
|
298
298
|
"key": "onMount",
|
|
299
299
|
"name": "组件首次渲染时",
|
|
300
300
|
"desc": "在组件首次渲染时,执行方法",
|
|
301
|
-
"func": "(params)=>{\n\t\n}"
|
|
301
|
+
"func": "function onMount(params)=>{\n\t\n}"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"key": "onUnmount",
|
|
305
305
|
"name": "组件卸载时",
|
|
306
306
|
"desc": "在组件卸载时,执行方法。",
|
|
307
|
-
"func": "()=>{\n\t\n}"
|
|
307
|
+
"func": "function onUnmount()=>{\n\t\n}"
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"key": "onAddCardClick",
|
|
311
311
|
"name": "新增卡片点击",
|
|
312
312
|
"desc": "点击新增卡片行时,执行方法",
|
|
313
|
-
"func": "()=>{\n\t\n}"
|
|
313
|
+
"func": "function onAddCardClick()=>{\n\t\n}"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
"key": "onCardClick",
|
|
317
317
|
"name": "卡片单击",
|
|
318
318
|
"desc": "单击卡片行时,执行方法",
|
|
319
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
319
|
+
"func": "function onCardClick(data, e)=>{\n\t\n}"
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
"key": "onCardDelete",
|
|
323
323
|
"name": "卡片删除",
|
|
324
324
|
"desc": "单击卡片删除图标,执行方法",
|
|
325
|
-
"func": "(data, e)=>{\n\t\n}"
|
|
325
|
+
"func": "function onCardDelete(data, e)=>{\n\t\n}"
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
328
|
"key": "onDrop",
|
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-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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@luck-design-biz/luckda",
|
|
3
|
+
"version": "1.0.1-15",
|
|
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
|
+
}
|