lc-test3 1.1.13 → 1.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.
Files changed (2) hide show
  1. package/p.js +40 -456
  2. package/package.json +1 -1
package/p.js CHANGED
@@ -1,122 +1,23 @@
1
- [ASTCache] Parse miss (SWC) - /src/pages/Login/index.js (1.50ms)
2
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/Home.js (1.40ms)
3
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskPending.js (2.00ms)
4
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskCompleted.js (1.90ms)
5
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculatePending.js (1.90ms)
6
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculateCompleted.js (2.20ms)
7
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/MyProcess.js (1.80ms)
8
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/SyncProcess.js (5.70ms)
9
- swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
10
- x Unexpected token `Page`. Expected jsx identifier
11
- ,-[1:1]
12
- 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page, QueryPage, FForm, FFormItem, FFormFooter, FSubmit, FReset, Table } from "@loview/lowcode-react-antd";class App extends React.Component {render() {return (<Page data-dnd="%2Fsrc%2Fpages%2FImportRecord.js:Page:paged4ad" onMount={() => {$function.importRecord.fetchRecord();}} access={{ relatedInterfaces: [{ label: "�����¼�б��ӿ�", value: "/los/${appName}.pageImportApply" }] }}>
13
- :  ^^^^
14
- 2 |
15
- 3 |
16
- `----
17
-
18
-
19
- Caused by:
20
- 0: failed to parse code
21
- 1: Syntax Error
22
- parseWithSWC @ swc-parser.ts:680
23
- parseCode @ ast-cache.ts:740
24
- parseSync @ ast-cache.ts:933
25
- code2astWithCache @ ast-cache.ts:1277
26
- code2astCached @ parse.ts:112
27
- get @ light-module.ts:91
28
- get @ light-module.ts:107
29
- trackDerivedFunction @ mobx.esm.js:1842
30
- computeValue_ @ mobx.esm.js:1636
31
- trackAndCompute @ mobx.esm.js:1613
32
- get @ mobx.esm.js:1582
33
- getObservablePropValue_ @ mobx.esm.js:4744
34
- get @ mobx.esm.js:5243
35
- hasModelDiff @ workspace.ts:3262
36
- (anonymous) @ useFolder.tsx:71
37
- makeFileTree @ useFolder.tsx:64
38
- useFolder @ useFolder.tsx:303
39
- (anonymous) @ index.tsx:65
40
- (anonymous) @ observer.js:44
41
- (anonymous) @ useObserver.js:80
42
- trackDerivedFunction @ mobx.esm.js:1842
43
- track @ mobx.esm.js:2360
44
- useObserver @ useObserver.js:78
45
- (anonymous) @ observer.js:44
46
- renderWithHooks @ react-dom.development.js:15015
47
- updateFunctionComponent @ react-dom.development.js:17386
48
- updateSimpleMemoComponent @ react-dom.development.js:17245
49
- beginWork @ react-dom.development.js:19170
50
- beginWork$1 @ react-dom.development.js:23970
51
- performUnitOfWork @ react-dom.development.js:22809
52
- workLoopSync @ react-dom.development.js:22737
53
- renderRootSync @ react-dom.development.js:22700
54
- performSyncWorkOnRoot @ react-dom.development.js:22323
55
- (anonymous) @ react-dom.development.js:11357
56
- unstable_runWithPriority @ react.development.js:2764
57
- runWithPriority$1 @ react-dom.development.js:11306
58
- flushSyncCallbackQueueImpl @ react-dom.development.js:11352
59
- flushSyncCallbackQueue @ react-dom.development.js:11339
60
- discreteUpdates$1 @ react-dom.development.js:22450
61
- discreteUpdates @ react-dom.development.js:3753
62
- dispatchDiscreteEvent @ react-dom.development.js:5919
63
- light-module.ts:99 SyntaxError: Unexpected token (43:732) (at index.js:363:1)
64
- at constructor (index.js:363:1)
65
- at JSXParserMixin.raise (index.js:6609:1)
66
- at JSXParserMixin.unexpected (index.js:6629:1)
67
- at JSXParserMixin.parseExprAtom (index.js:11378:1)
68
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
69
- at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
70
- at JSXParserMixin.parseUpdate (index.js:10997:1)
71
- at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
72
- at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
73
- at JSXParserMixin.parseExprOps (index.js:10835:1)
74
- at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
75
- at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
76
- at index.js:10734:1
77
- at JSXParserMixin.allowInAnd (index.js:12361:1)
78
- at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
79
- at JSXParserMixin.parseObjectProperty (index.js:11885:1)
80
- at JSXParserMixin.parseObjPropValue (index.js:11913:1)
81
- at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
82
- at JSXParserMixin.parseObjectLike (index.js:11765:1)
83
- at JSXParserMixin.parseExprAtom (index.js:11270:1)
84
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
85
- at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
86
- at JSXParserMixin.parseUpdate (index.js:10997:1)
87
- at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
88
- at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
89
- at JSXParserMixin.parseExprOps (index.js:10835:1)
90
- at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
91
- at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
92
- at index.js:10734:1
93
- at JSXParserMixin.allowInAnd (index.js:12361:1)
94
- at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
95
- at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
96
- at JSXParserMixin.parseExprAtom (index.js:11262:1)
97
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
98
- at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
99
- at JSXParserMixin.parseUpdate (index.js:10997:1)
100
- at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
101
- at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
102
- at JSXParserMixin.parseExprOps (index.js:10835:1)
103
- at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
104
- at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
105
- at index.js:10734:1
106
- at JSXParserMixin.allowInAnd (index.js:12361:1)
107
- at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
108
- at JSXParserMixin.parseObjectProperty (index.js:11885:1)
109
- at JSXParserMixin.parseObjPropValue (index.js:11913:1)
110
- at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
111
- at JSXParserMixin.parseObjectLike (index.js:11765:1)
112
- at JSXParserMixin.parseExprAtom (index.js:11270:1)
113
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
114
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/PositionMgt.js (2.00ms)
115
- swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
1
+ [ASTCache] Parse miss (SWC) - /src/pages/Login/index.js (2.10ms)
2
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/Home.js (1.90ms)
3
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskPending.js (2.60ms)
4
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskCompleted.js (2.30ms)
5
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculatePending.js (2.40ms)
6
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculateCompleted.js (2.70ms)
7
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/MyProcess.js (2.30ms)
8
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/SyncProcess.js (2.40ms)
9
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/ImportRecord.js (3.00ms)
10
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/PositionMgt.js (2.30ms)
11
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/DepartmentMgt.js (2.70ms)
12
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UserMgt.js (2.90ms)
13
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/ResourceMgt.js (1.30ms)
14
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createItem.js (5.30ms)
15
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/traceTask.js (5.80ms)
16
+ swc-parser.ts:682 [SWC] ����ʧ�ܣ����˵� Babel:
116
17
  x Unexpected token `Page`. Expected jsx identifier
117
18
  ,-[1:1]
118
- 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page, Tree, Row, Col, Button, Descriptions, Block, Dropdown } from "@loview/lowcode-react-antd";import Modal894 from "./DepartmentMgtModals/Modal894.js";class App extends React.Component {render() {return (<Page data-dnd="%2Fsrc%2Fpages%2FDepartmentMgt.js:Page:page367f" onMount={() => {$function.department?.getDepartmentTree?.();$function.department.getDepartmentListUser();}} access={{ relatedInterfaces: [{ label: "��ȡ�������ӿ�", value: "/los/${appName}.listDepartmentTree" }, { label: "��ѯ��Ա�ӿ�", value: "/los/${appName}.listUser" }] }} className="deptMgt-page">
119
- :  ^^^^
19
+ 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page } from "@loview/lowcode-react-antd";import WorkFlowProcessConfigPage from "../components/WorkFlowProcessTrace/index.js";class App extends React.Component {render() {const { match} = this.props;const id = match.params?.id;return (<Page data-dnd="%2Fsrc%2Fpages%2FTraceProcess.js:Page:pagea998" onMount={() => {$function.process.fetchInitProcessTrace(id);}} access={{ relatedInterfaces: [{ label: "����׷�ٽӿ�", value: "/los/${appName}.traceProcess" }, { label: "����׷��-�����������־���ӿ�", value: "/los/${appName}.listComments" }, { label: "����׷��-����ʵ������ӿ�", value: "/los/${appName}.processInstanceDetail" }] }}>
20
+ :  ^^^^
120
21
  2 |
121
22
  3 |
122
23
  `----
@@ -125,7 +26,7 @@ swc-parser.ts:680 [SWC]
125
26
  Caused by:
126
27
  0: failed to parse code
127
28
  1: Syntax Error
128
- parseWithSWC @ swc-parser.ts:680
29
+ parseWithSWC @ swc-parser.ts:682
129
30
  parseCode @ ast-cache.ts:740
130
31
  parseSync @ ast-cache.ts:933
131
32
  code2astWithCache @ ast-cache.ts:1277
@@ -166,28 +67,19 @@ flushSyncCallbackQueue @ react-dom.development.js:11339
166
67
  discreteUpdates$1 @ react-dom.development.js:22450
167
68
  discreteUpdates @ react-dom.development.js:3753
168
69
  dispatchDiscreteEvent @ react-dom.development.js:5919
169
- light-module.ts:99 SyntaxError: Unexpected token (13:233) (at index.js:363:1)
70
+ light-module.ts:99 SyntaxError: Unexpected token (5:135) (at index.js:363:1)
170
71
  at constructor (index.js:363:1)
171
72
  at JSXParserMixin.raise (index.js:6609:1)
172
73
  at JSXParserMixin.unexpected (index.js:6629:1)
173
- at JSXParserMixin.parseExprAtom (index.js:11378:1)
174
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
175
- at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
176
- at JSXParserMixin.parseUpdate (index.js:10997:1)
177
- at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
178
- at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
179
- at JSXParserMixin.parseExprOps (index.js:10835:1)
180
- at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
181
- at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
182
- at index.js:10734:1
183
- at JSXParserMixin.allowInAnd (index.js:12361:1)
184
- at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
185
- at JSXParserMixin.parseObjectProperty (index.js:11885:1)
186
- at JSXParserMixin.parseObjPropValue (index.js:11913:1)
187
- at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
188
- at JSXParserMixin.parseObjectLike (index.js:11765:1)
189
- at JSXParserMixin.parseExprAtom (index.js:11270:1)
190
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
74
+ at JSXParserMixin.jsxParseIdentifier (index.js:4581:1)
75
+ at JSXParserMixin.jsxParseNamespacedName (index.js:4588:1)
76
+ at JSXParserMixin.jsxParseAttribute (index.js:4664:1)
77
+ at JSXParserMixin.jsxParseOpeningElementAfterName (index.js:4679:1)
78
+ at JSXParserMixin.jsxParseOpeningElementAt (index.js:4674:1)
79
+ at JSXParserMixin.jsxParseElementAt (index.js:4698:1)
80
+ at JSXParserMixin.jsxParseElementAt (index.js:4710:1)
81
+ at JSXParserMixin.jsxParseElement (index.js:4761:1)
82
+ at JSXParserMixin.parseExprAtom (index.js:4771:1)
191
83
  at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
192
84
  at JSXParserMixin.parseUpdate (index.js:10997:1)
193
85
  at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
@@ -210,88 +102,10 @@ light-module.ts:99 SyntaxError: Unexpected token (13:233) (at index.js:363:1)
210
102
  at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
211
103
  at JSXParserMixin.parseExpressionBase (index.js:10718:1)
212
104
  at index.js:10714:1
213
- at JSXParserMixin.allowInAnd (index.js:12361:1)
105
+ at JSXParserMixin.allowInAnd (index.js:12356:1)
214
106
  at JSXParserMixin.parseExpression (index.js:10714:1)
215
- at JSXParserMixin.jsxParseExpressionContainer (index.js:4644:1)
216
- at JSXParserMixin.jsxParseAttributeValue (index.js:4616:1)
217
- at JSXParserMixin.jsxParseAttribute (index.js:4665:1)
218
- at JSXParserMixin.jsxParseOpeningElementAfterName (index.js:4679:1)
219
- at JSXParserMixin.jsxParseOpeningElementAt (index.js:4674:1)
220
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UserMgt.js (3.00ms)
221
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/ResourceMgt.js (1.00ms)
222
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createItem.js (6.10ms)
223
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/traceTask.js (5.80ms)
224
- swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
225
- x Unexpected token `}`. Expected yield, an identifier, [ or {
226
- ,-[1:1]
227
- 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page } from "@loview/lowcode-react-antd";import WorkFlowProcessConfigPage from "../components/WorkFlowProcessTrace/index.js";class App extends React.Component {render() {const { match: } = this.props;const id = match.params?.id;return (<Page data-dnd="%2Fsrc%2Fpages%2FTraceProcess.js:Page:pagefa71" onMount={() => {$function.process.fetchInitProcessTrace(id);}} access={{ relatedInterfaces: [{ label: "����׷�ٽӿ�", value: "/los/${appName}.traceProcess" }, { label: "����׷��-�����������־���ӿ�", value: "/los/${appName}.listComments" }, { label: "����׷��-����ʵ������ӿ�", value: "/los/${appName}.processInstanceDetail" }] }}>
228
- :  ^
229
- 2 |
230
- 3 |
231
- `----
232
-
233
-
234
- Caused by:
235
- 0: failed to parse code
236
- 1: Syntax Error
237
- parseWithSWC @ swc-parser.ts:680
238
- parseCode @ ast-cache.ts:740
239
- parseSync @ ast-cache.ts:933
240
- code2astWithCache @ ast-cache.ts:1277
241
- code2astCached @ parse.ts:112
242
- get @ light-module.ts:91
243
- get @ light-module.ts:107
244
- trackDerivedFunction @ mobx.esm.js:1842
245
- computeValue_ @ mobx.esm.js:1636
246
- trackAndCompute @ mobx.esm.js:1613
247
- get @ mobx.esm.js:1582
248
- getObservablePropValue_ @ mobx.esm.js:4744
249
- get @ mobx.esm.js:5243
250
- hasModelDiff @ workspace.ts:3262
251
- (anonymous) @ useFolder.tsx:71
252
- makeFileTree @ useFolder.tsx:64
253
- useFolder @ useFolder.tsx:303
254
- (anonymous) @ index.tsx:65
255
- (anonymous) @ observer.js:44
256
- (anonymous) @ useObserver.js:80
257
- trackDerivedFunction @ mobx.esm.js:1842
258
- track @ mobx.esm.js:2360
259
- useObserver @ useObserver.js:78
260
- (anonymous) @ observer.js:44
261
- renderWithHooks @ react-dom.development.js:15015
262
- updateFunctionComponent @ react-dom.development.js:17386
263
- updateSimpleMemoComponent @ react-dom.development.js:17245
264
- beginWork @ react-dom.development.js:19170
265
- beginWork$1 @ react-dom.development.js:23970
266
- performUnitOfWork @ react-dom.development.js:22809
267
- workLoopSync @ react-dom.development.js:22737
268
- renderRootSync @ react-dom.development.js:22700
269
- performSyncWorkOnRoot @ react-dom.development.js:22323
270
- (anonymous) @ react-dom.development.js:11357
271
- unstable_runWithPriority @ react.development.js:2764
272
- runWithPriority$1 @ react-dom.development.js:11306
273
- flushSyncCallbackQueueImpl @ react-dom.development.js:11352
274
- flushSyncCallbackQueue @ react-dom.development.js:11339
275
- discreteUpdates$1 @ react-dom.development.js:22450
276
- discreteUpdates @ react-dom.development.js:3753
277
- dispatchDiscreteEvent @ react-dom.development.js:5919
278
- light-module.ts:99 SyntaxError: Unexpected token (1:276) (at index.js:363:1)
279
- at constructor (index.js:363:1)
280
- at JSXParserMixin.raise (index.js:6609:1)
281
- at JSXParserMixin.unexpected (index.js:6629:1)
282
- at JSXParserMixin.parseIdentifierName (index.js:12138:1)
283
- at JSXParserMixin.parseIdentifier (index.js:12116:1)
284
- at JSXParserMixin.parseBindingAtom (index.js:7345:1)
285
- at JSXParserMixin.parseMaybeDefault (index.js:7428:1)
286
- at JSXParserMixin.parseObjectProperty (index.js:11885:1)
287
- at JSXParserMixin.parseObjPropValue (index.js:11913:1)
288
- at JSXParserMixin.parseBindingProperty (index.js:7409:1)
289
- at JSXParserMixin.parseObjectLike (index.js:11763:1)
290
- at JSXParserMixin.parseBindingAtom (index.js:7343:1)
291
- at JSXParserMixin.parseVarId (index.js:13321:1)
292
- at JSXParserMixin.parseVar (index.js:13302:1)
293
- at JSXParserMixin.parseVarStatement (index.js:13149:1)
294
- at JSXParserMixin.parseStatementContent (index.js:12770:1)
107
+ at JSXParserMixin.parseReturnStatement (index.js:13061:1)
108
+ at JSXParserMixin.parseStatementContent (index.js:12716:1)
295
109
  at JSXParserMixin.parseStatementLike (index.js:12685:1)
296
110
  at JSXParserMixin.parseStatementListItem (index.js:12665:1)
297
111
  at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
@@ -304,244 +118,14 @@ light-module.ts:99 SyntaxError: Unexpected token (1:276) (at index.js:363:1)
304
118
  at JSXParserMixin.parseClassMemberWithIsStatic (index.js:13530:1)
305
119
  at JSXParserMixin.parseClassMember (index.js:13478:1)
306
120
  at index.js:13432:1
307
- at JSXParserMixin.withSmartMixTopicForbiddingContext (index.js:12338:1)
308
- at JSXParserMixin.parseClassBody (index.js:13414:1)
309
- at JSXParserMixin.parseClass (index.js:13389:1)
310
- at JSXParserMixin.parseStatementContent (index.js:12712:1)
311
- at JSXParserMixin.parseStatementLike (index.js:12685:1)
312
- at JSXParserMixin.parseModuleItem (index.js:12662:1)
313
- at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
314
- at JSXParserMixin.parseBlockBody (index.js:13228:1)
315
- at JSXParserMixin.parseProgram (index.js:12541:1)
316
- at JSXParserMixin.parseTopLevel (index.js:12531:1)
317
- at JSXParserMixin.parse (index.js:14410:1)
318
- at parse (index.js:14444:1)
319
- at parseWithSWC (swc-parser.ts:682:1)
320
- at ASTCache.parseCode (ast-cache.ts:740:1)
321
- at ASTCache.parseSync (ast-cache.ts:933:1)
322
- at code2astWithCache (ast-cache.ts:1277:1)
323
- at code2astCached (parse.ts:112:1)
324
- at LowCodeLightModule.get (light-module.ts:91:1)
325
- at LowCodeLightModule.get (light-module.ts:107:1)
326
- at trackDerivedFunction (mobx.esm.js:1842:1)
327
- at ComputedValue.computeValue_ (mobx.esm.js:1636:1)
328
- at ComputedValue.trackAndCompute (mobx.esm.js:1613:1)
329
- swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
330
- x Unexpected token `,`. Expected yield, an identifier, [ or {
331
- ,-[1:1]
332
- 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { getParamsFromRoute } from "../utils";import { Page, Button, Row, Section, Space, Table, Block } from "@loview/lowcode-react-antd";import Modal390 from "./ImportDetailModals/modal390.js";import Modal922 from "./ImportDetailModals/modal922.js";import Modal178 from "./ImportDetailModals/modal178.js";import Modal210 from "./ImportDetailModals/modal210.js";import Modal889 from "./ImportDetailModals/modal889.js";class App extends React.Component {render() {const { location: , match: } = this.props;const id = match.params?.id;const searchParams = getParamsFromRoute(location.search);const readonly = searchParams?.readonly === "true";return (<Page data-dnd="%2Fsrc%2Fpages%2FImportDetail.js:Page:page7312" onMount={() => {$function.userConflict.fetchUserTree();$function.deptConflict.fetchDeptTree();$function.roleConflict.fetchRoleList();$function.importRecord.fetchDetail(id);}} access={{ relatedInterfaces: [{ label: "��������ӿ�", value: "/los/${appName}.importProcessDetail" }, { label: "��������-���ź���Ա���ӿ�", value: "/los/${appName}.workflowDepartmentTree" }, { label: "��������-��ѯ��ɫ�ӿ�", value: "/los/${appName}.listRole" }, { label: "ȷ�ϵ���ӿ�", value: "/los/${appName}.importProcess" }, { label: "��������-��������ӿ�", value: "/los/${appName}.discardApply" }, { label: "��������-���õ�������ӿ�", value: "/los/${appName}.resetApplyStatus" }, { label: "��������-����û���ͻ�ӿ�", value: "/los/${appName}.resolveUser" }, { label: "��������-�����ɫ��ͻ�ӿ�", value: "/los/${appName}.resolveRole" }, { label: "��������-������̳�ͻ�ӿ�", value: "/los/${appName}.resolveProcess" }, { label: "��������-������ų�ͻ�ӿ�", value: "/los/${appName}.resolveDepartment" }, { label: "��������-�������key�ظ��ӿ�", value: "/los/${appName}.checkProcessKeyDuplicated" }] }}>
333
- :  ^
334
- 2 |
335
- 3 |
336
- `----
337
-
338
-
339
- Caused by:
340
- 0: failed to parse code
341
- 1: Syntax Error
342
- parseWithSWC @ swc-parser.ts:680
343
- parseCode @ ast-cache.ts:740
344
- parseSync @ ast-cache.ts:933
345
- code2astWithCache @ ast-cache.ts:1277
346
- code2astCached @ parse.ts:112
347
- get @ light-module.ts:91
348
- get @ light-module.ts:107
349
- trackDerivedFunction @ mobx.esm.js:1842
350
- computeValue_ @ mobx.esm.js:1636
351
- trackAndCompute @ mobx.esm.js:1613
352
- get @ mobx.esm.js:1582
353
- getObservablePropValue_ @ mobx.esm.js:4744
354
- get @ mobx.esm.js:5243
355
- hasModelDiff @ workspace.ts:3262
356
- (anonymous) @ useFolder.tsx:71
357
- makeFileTree @ useFolder.tsx:64
358
- useFolder @ useFolder.tsx:303
359
- (anonymous) @ index.tsx:65
360
- (anonymous) @ observer.js:44
361
- (anonymous) @ useObserver.js:80
362
- trackDerivedFunction @ mobx.esm.js:1842
363
- track @ mobx.esm.js:2360
364
- useObserver @ useObserver.js:78
365
- (anonymous) @ observer.js:44
366
- renderWithHooks @ react-dom.development.js:15015
367
- updateFunctionComponent @ react-dom.development.js:17386
368
- updateSimpleMemoComponent @ react-dom.development.js:17245
369
- beginWork @ react-dom.development.js:19170
370
- beginWork$1 @ react-dom.development.js:23970
371
- performUnitOfWork @ react-dom.development.js:22809
372
- workLoopSync @ react-dom.development.js:22737
373
- renderRootSync @ react-dom.development.js:22700
374
- performSyncWorkOnRoot @ react-dom.development.js:22323
375
- (anonymous) @ react-dom.development.js:11357
376
- unstable_runWithPriority @ react.development.js:2764
377
- runWithPriority$1 @ react-dom.development.js:11306
378
- flushSyncCallbackQueueImpl @ react-dom.development.js:11352
379
- flushSyncCallbackQueue @ react-dom.development.js:11339
380
- discreteUpdates$1 @ react-dom.development.js:22450
381
- discreteUpdates @ react-dom.development.js:3753
382
- dispatchDiscreteEvent @ react-dom.development.js:5919
383
- light-module.ts:99 SyntaxError: Unexpected token (1:564) (at index.js:363:1)
384
- at constructor (index.js:363:1)
385
- at JSXParserMixin.raise (index.js:6609:1)
386
- at JSXParserMixin.unexpected (index.js:6629:1)
387
- at JSXParserMixin.parseIdentifierName (index.js:12138:1)
388
- at JSXParserMixin.parseIdentifier (index.js:12116:1)
389
- at JSXParserMixin.parseBindingAtom (index.js:7345:1)
390
- at JSXParserMixin.parseMaybeDefault (index.js:7428:1)
391
- at JSXParserMixin.parseObjectProperty (index.js:11885:1)
392
- at JSXParserMixin.parseObjPropValue (index.js:11913:1)
393
- at JSXParserMixin.parseBindingProperty (index.js:7409:1)
394
- at JSXParserMixin.parseObjectLike (index.js:11763:1)
395
- at JSXParserMixin.parseBindingAtom (index.js:7343:1)
396
- at JSXParserMixin.parseVarId (index.js:13321:1)
397
- at JSXParserMixin.parseVar (index.js:13302:1)
398
- at JSXParserMixin.parseVarStatement (index.js:13149:1)
399
- at JSXParserMixin.parseStatementContent (index.js:12770:1)
400
- at JSXParserMixin.parseStatementLike (index.js:12685:1)
401
- at JSXParserMixin.parseStatementListItem (index.js:12665:1)
402
- at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
403
- at JSXParserMixin.parseBlockBody (index.js:13228:1)
404
- at JSXParserMixin.parseBlock (index.js:13216:1)
405
- at JSXParserMixin.parseFunctionBody (index.js:12035:1)
406
- at JSXParserMixin.parseFunctionBodyAndFinish (index.js:12021:1)
407
- at JSXParserMixin.parseMethod (index.js:11979:1)
408
- at JSXParserMixin.pushClassMethod (index.js:13642:1)
409
- at JSXParserMixin.parseClassMemberWithIsStatic (index.js:13530:1)
410
- at JSXParserMixin.parseClassMember (index.js:13478:1)
411
- at index.js:13432:1
412
- at JSXParserMixin.withSmartMixTopicForbiddingContext (index.js:12338:1)
413
- at JSXParserMixin.parseClassBody (index.js:13414:1)
414
- at JSXParserMixin.parseClass (index.js:13389:1)
415
- at JSXParserMixin.parseStatementContent (index.js:12712:1)
416
- at JSXParserMixin.parseStatementLike (index.js:12685:1)
417
- at JSXParserMixin.parseModuleItem (index.js:12662:1)
418
- at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
419
- at JSXParserMixin.parseBlockBody (index.js:13228:1)
420
- at JSXParserMixin.parseProgram (index.js:12541:1)
421
- at JSXParserMixin.parseTopLevel (index.js:12531:1)
422
- at JSXParserMixin.parse (index.js:14410:1)
423
- at parse (index.js:14444:1)
424
- at parseWithSWC (swc-parser.ts:682:1)
425
- at ASTCache.parseCode (ast-cache.ts:740:1)
426
- at ASTCache.parseSync (ast-cache.ts:933:1)
427
- at code2astWithCache (ast-cache.ts:1277:1)
428
- at code2astCached (parse.ts:112:1)
429
- at LowCodeLightModule.get (light-module.ts:91:1)
430
- at LowCodeLightModule.get (light-module.ts:107:1)
431
- at trackDerivedFunction (mobx.esm.js:1842:1)
432
- at ComputedValue.computeValue_ (mobx.esm.js:1636:1)
433
- at ComputedValue.trackAndCompute (mobx.esm.js:1613:1)
434
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UpdatePwd.js (1.30ms)
435
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/getTechItem.js (8.50ms)
436
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createDemo.js (3.20ms)
437
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createTechRequirement.js (10.30ms)
438
- swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
439
- x Unexpected token `Page`. Expected jsx identifier
440
- ,-[1:1]
441
- 1 | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page, QueryPage, Section, Row, Col, FForm, FFormItem, FFormFooter, FReset, FSubmit, Space, Button, Table, Descriptions } from "@loview/lowcode-react-antd";import ReadModal from "./techReqDemoModals/ReadModal.js";import CreateModal from "./techReqDemoModals/CreateModal.js";import UpdateModal from "./techReqDemoModals/UpdateModal.js";class App extends React.Component {render() {return (<Page data-dnd="%2Fsrc%2Fpages%2FtechReqDemo.js:Page:page09a2">
442
- :  ^^^^
443
- 2 |
444
- 3 | <div data-dnd="%2Fsrc%2Fpages%2FtechReqDemo.js:div:techRequirementd428" data-meta="TechRequirement" tid="techRequirementd428" data-name="TechRequirement" data-tag="MetaContext">
445
- `----
446
-
447
-
448
- Caused by:
449
- 0: failed to parse code
450
- 1: Syntax Error
451
- parseWithSWC @ swc-parser.ts:680
452
- parseCode @ ast-cache.ts:740
453
- parseSync @ ast-cache.ts:933
454
- code2astWithCache @ ast-cache.ts:1277
455
- code2astCached @ parse.ts:112
456
- get @ light-module.ts:91
457
- get @ light-module.ts:107
458
- trackDerivedFunction @ mobx.esm.js:1842
459
- computeValue_ @ mobx.esm.js:1636
460
- trackAndCompute @ mobx.esm.js:1613
461
- get @ mobx.esm.js:1582
462
- getObservablePropValue_ @ mobx.esm.js:4744
463
- get @ mobx.esm.js:5243
464
- hasDiff @ workspace.ts:3245
465
- (anonymous) @ useFolder.tsx:71
466
- makeFileTree @ useFolder.tsx:64
467
- useFolder @ useFolder.tsx:303
468
- (anonymous) @ index.tsx:65
469
- (anonymous) @ observer.js:44
470
- (anonymous) @ useObserver.js:80
471
- trackDerivedFunction @ mobx.esm.js:1842
472
- track @ mobx.esm.js:2360
473
- useObserver @ useObserver.js:78
474
- (anonymous) @ observer.js:44
475
- renderWithHooks @ react-dom.development.js:15015
476
- updateFunctionComponent @ react-dom.development.js:17386
477
- updateSimpleMemoComponent @ react-dom.development.js:17245
478
- beginWork @ react-dom.development.js:19170
479
- beginWork$1 @ react-dom.development.js:23970
480
- performUnitOfWork @ react-dom.development.js:22809
481
- workLoopSync @ react-dom.development.js:22737
482
- renderRootSync @ react-dom.development.js:22700
483
- performSyncWorkOnRoot @ react-dom.development.js:22323
484
- (anonymous) @ react-dom.development.js:11357
485
- unstable_runWithPriority @ react.development.js:2764
486
- runWithPriority$1 @ react-dom.development.js:11306
487
- flushSyncCallbackQueueImpl @ react-dom.development.js:11352
488
- flushSyncCallbackQueue @ react-dom.development.js:11339
489
- discreteUpdates$1 @ react-dom.development.js:22450
490
- discreteUpdates @ react-dom.development.js:3753
491
- dispatchDiscreteEvent @ react-dom.development.js:5919
492
- light-module.ts:99 SyntaxError: Unexpected token (289:4498) (at index.js:363:1)
493
- at constructor (index.js:363:1)
494
- at JSXParserMixin.raise (index.js:6609:1)
495
- at JSXParserMixin.unexpected (index.js:6629:1)
496
- at JSXParserMixin.parseExprAtom (index.js:11378:1)
497
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
498
- at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
499
- at JSXParserMixin.parseUpdate (index.js:10997:1)
500
- at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
501
- at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
502
- at JSXParserMixin.parseExprOps (index.js:10835:1)
503
- at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
504
- at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
505
- at index.js:10734:1
506
- at JSXParserMixin.allowInAnd (index.js:12361:1)
507
- at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
508
- at JSXParserMixin.parseObjectProperty (index.js:11885:1)
509
- at JSXParserMixin.parseObjPropValue (index.js:11913:1)
510
- at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
511
- at JSXParserMixin.parseObjectLike (index.js:11765:1)
512
- at JSXParserMixin.parseExprAtom (index.js:11270:1)
513
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
514
- at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
515
- at JSXParserMixin.parseUpdate (index.js:10997:1)
516
- at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
517
- at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
518
- at JSXParserMixin.parseExprOps (index.js:10835:1)
519
- at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
520
- at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
521
- at index.js:10734:1
522
- at JSXParserMixin.allowInAnd (index.js:12361:1)
523
- at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
524
- at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
525
- at JSXParserMixin.parseExprAtom (index.js:11262:1)
526
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
527
- at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
528
- at JSXParserMixin.parseUpdate (index.js:10997:1)
529
- at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
530
- at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
531
- at JSXParserMixin.parseExprOps (index.js:10835:1)
532
- at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
533
- at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
534
- at index.js:10734:1
535
- at JSXParserMixin.allowInAnd (index.js:12361:1)
536
- at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
537
- at JSXParserMixin.parseObjectProperty (index.js:11885:1)
538
- at JSXParserMixin.parseObjPropValue (index.js:11913:1)
539
- at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
540
- at JSXParserMixin.parseObjectLike (index.js:11765:1)
541
- at JSXParserMixin.parseExprAtom (index.js:11270:1)
542
- at JSXParserMixin.parseExprAtom (index.js:4776:1)
543
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqCreateDemo.js (20.10ms)
544
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqDetail.js (3.70ms)
121
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/ImportDetail.js (5.40ms)
122
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UpdatePwd.js (1.10ms)
123
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/getTechItem.js (9.60ms)
124
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createDemo.js (1.50ms)
125
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createTechRequirement.js (4.30ms)
126
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqDemo.js (9.50ms)
127
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqCreateDemo.js (7.60ms)
128
+ ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqDetail.js (1.90ms)
545
129
  sandbox.tsx:193 [useSandbox] Setting eventHandlers to sandboxProps, count: 13
546
130
  index.tsx:92 [CodeSandbox] eventHandlers comparison: {changed: false, prevKeys: Array(13), nextKeys: Array(13), iframeReady: true}
547
131
  sandbox.tsx:193 [useSandbox] Setting eventHandlers to sandboxProps, count: 13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lc-test3",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {