lc-test3 1.1.4 → 1.1.6

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 +150 -255
  2. package/package.json +1 -1
package/p.js CHANGED
@@ -1,255 +1,150 @@
1
- [ASTCache] Parse miss (SWC) - /findImportList.js (0.80ms)
2
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /findNavigationMenuItems.js (1.80ms)
3
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /findVarFromFile.js (2.70ms)
4
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /generateResourcesTree.js (4.70ms)
5
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /scanFiles.js (2.90ms)
6
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/DividerTitle/index.js (0.40ms)
7
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/edge/CustomEdge.js (4.40ms)
8
- index.ts:6 [Error]: unknown property key Object
9
- (anonymous) @ index.ts:6
10
- index.ts:6 [Error]: unknown property key Object
11
- (anonymous) @ index.ts:6
12
- index.ts:6 [Error]: unknown property key Object
13
- (anonymous) @ index.ts:6
14
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/edge/DashEdge.js (1.10ms)
15
- index.ts:6 [Error]: unknown property key Object
16
- (anonymous) @ index.ts:6
17
- index.ts:6 [Error]: unknown property key Object
18
- (anonymous) @ index.ts:6
19
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/edge/SolidEdge.js (1.30ms)
20
- index.ts:6 [Error]: unknown property key Object
21
- (anonymous) @ index.ts:6
22
- index.ts:6 [Error]: unknown property key Object
23
- (anonymous) @ index.ts:6
24
- index.ts:6 [Error]: unknown property key Object
25
- (anonymous) @ index.ts:6
26
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/node/EndNode.js (2.10ms)
27
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/node/ExclusiveGatewayNode.js (1.50ms)
28
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/node/JointTaskNode.js (2.80ms)
29
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/node/ParallelTaskNode.js (2.70ms)
30
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/node/StartNode.js (1.40ms)
31
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/node/SystemTaskNode.js (1.50ms)
32
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/node/UserTaskNode.js (1.70ms)
33
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/plugins/index.js (0.30ms)
34
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/components/plugins/keyboard.js (1.30ms)
35
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/index.js (9.80ms)
36
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/StatusTrace/keyboard.js (0.60ms)
37
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/DividerTitle/index.js (0.50ms)
38
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/edge/CustomEdge.js (1.60ms)
39
- index.ts:6 [Error]: unknown property key Object
40
- (anonymous) @ index.ts:6
41
- index.ts:6 [Error]: unknown property key Object
42
- (anonymous) @ index.ts:6
43
- index.ts:6 [Error]: unknown property key Object
44
- (anonymous) @ index.ts:6
45
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/edge/DashEdge.js (0.80ms)
46
- index.ts:6 [Error]: unknown property key Object
47
- (anonymous) @ index.ts:6
48
- index.ts:6 [Error]: unknown property key Object
49
- (anonymous) @ index.ts:6
50
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/edge/SolidEdge.js (0.80ms)
51
- index.ts:6 [Error]: unknown property key Object
52
- (anonymous) @ index.ts:6
53
- index.ts:6 [Error]: unknown property key Object
54
- (anonymous) @ index.ts:6
55
- index.ts:6 [Error]: unknown property key Object
56
- (anonymous) @ index.ts:6
57
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/node/EndNode.js (2.60ms)
58
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/node/ExclusiveGatewayNode.js (1.80ms)
59
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/node/JointTaskNode.js (2.90ms)
60
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/node/ParallelTaskNode.js (2.90ms)
61
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/node/StartNode.js (2.30ms)
62
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/node/SystemTaskNode.js (1.80ms)
63
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/node/UserTaskNode.js (1.80ms)
64
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/plugins/index.js (0.10ms)
65
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/components/plugins/keyboard.js (0.40ms)
66
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/contants.js (1.20ms)
67
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/index.js (11.50ms)
68
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/keyboard.js (0.40ms)
69
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/WorkFlowProcessTrace/utils.js (1.80ms)
70
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/button.js (0.80ms)
71
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/input.js (0.40ms)
72
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/components/workflow.js (5.00ms)
73
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/constants.js (0.10ms)
74
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/formPages/DefaultForm.js (12.20ms)
75
- ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/formPages/demoForm1-v1.js (10.80ms)
76
- judgeBrowser.js:30 �����쳣�� ErrorEvent
77
- useObserver.js:87 Uncaught Error: Unknown node type: "Computed"
78
- at cloneNodeInternal (cloneNode.js:49:1)
79
- at cloneIfNode (cloneNode.js:16:1)
80
- at cloneIfNodeOrArray (cloneNode.js:24:1)
81
- at cloneNodeInternal (cloneNode.js:54:1)
82
- at cloneIfNode (cloneNode.js:16:1)
83
- at cloneIfNodeOrArray (cloneNode.js:24:1)
84
- at cloneNodeInternal (cloneNode.js:54:1)
85
- at cloneIfNode (cloneNode.js:16:1)
86
- at cloneIfNodeOrArray (cloneNode.js:24:1)
87
- at cloneNodeInternal (cloneNode.js:54:1)
88
- at cloneIfNode (cloneNode.js:16:1)
89
- at cloneIfNodeOrArray (cloneNode.js:24:1)
90
- at cloneNodeInternal (cloneNode.js:54:1)
91
- at cloneIfNode (cloneNode.js:16:1)
92
- at cloneNode.js:22:1
93
- at Array.map (<anonymous>)
94
- at cloneIfNodeOrArray (cloneNode.js:22:1)
95
- at cloneNodeInternal (cloneNode.js:54:1)
96
- at cloneIfNode (cloneNode.js:16:1)
97
- at cloneIfNodeOrArray (cloneNode.js:24:1)
98
- at cloneNodeInternal (cloneNode.js:54:1)
99
- at cloneIfNode (cloneNode.js:16:1)
100
- at cloneNode.js:22:1
101
- at Array.map (<anonymous>)
102
- at cloneIfNodeOrArray (cloneNode.js:22:1)
103
- at cloneNodeInternal (cloneNode.js:54:1)
104
- at cloneIfNode (cloneNode.js:16:1)
105
- at cloneIfNodeOrArray (cloneNode.js:24:1)
106
- at cloneNodeInternal (cloneNode.js:54:1)
107
- at cloneIfNode (cloneNode.js:16:1)
108
- at cloneNode.js:22:1
109
- at Array.map (<anonymous>)
110
- at cloneIfNodeOrArray (cloneNode.js:22:1)
111
- at cloneNodeInternal (cloneNode.js:54:1)
112
- at cloneIfNode (cloneNode.js:16:1)
113
- at cloneIfNodeOrArray (cloneNode.js:24:1)
114
- at cloneNodeInternal (cloneNode.js:54:1)
115
- at cloneIfNode (cloneNode.js:16:1)
116
- at cloneNode.js:22:1
117
- at Array.map (<anonymous>)
118
- at cloneIfNodeOrArray (cloneNode.js:22:1)
119
- at cloneNodeInternal (cloneNode.js:54:1)
120
- at cloneIfNode (cloneNode.js:16:1)
121
- at cloneIfNodeOrArray (cloneNode.js:24:1)
122
- at cloneNodeInternal (cloneNode.js:54:1)
123
- at cloneIfNode (cloneNode.js:16:1)
124
- at cloneNode.js:22:1
125
- at Array.map (<anonymous>)
126
- at cloneIfNodeOrArray (cloneNode.js:22:1)
127
- at cloneNodeInternal (cloneNode.js:54:1)
128
- index.ts:6 The above error occurred in the <ForwardRef> component:
129
-
130
- at observerComponent (https://lowcode.example.com/vendors-loview-react-lowcode_node_modules_pnpm_emotion_css_11_11_2_node_modules_emotion_css_d-8c49fa.async.js:43819:73)
131
- at div
132
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
133
- at ViewportBody (https://lowcode.example.com/src_components_index_ts-src_components_DraggableModal_index_less.async.js:74813:24)
134
- at div
135
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
136
- at https://lowcode.example.com/vendors-loview-react-lowcode_node_modules_pnpm_emotion_css_11_11_2_node_modules_emotion_css_d-8c49fa.async.js:43819:73
137
- at div
138
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
139
- at MetaportBody (https://lowcode.example.com/src_components_index_ts-src_components_DraggableModal_index_less.async.js:73606:24)
140
- at div
141
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
142
- at Metaport (https://lowcode.example.com/src_components_index_ts-src_components_DraggableModal_index_less.async.js:73547:23)
143
- at div
144
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
145
- at div
146
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
147
- at https://lowcode.example.com/vendors-loview-react-lowcode_node_modules_pnpm_emotion_css_11_11_2_node_modules_emotion_css_d-8c49fa.async.js:43819:73
148
- at https://lowcode.example.com/vendors-loview-react-lowcode_node_modules_pnpm_emotion_css_11_11_2_node_modules_emotion_css_d-8c49fa.async.js:43819:73
149
- at div
150
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
151
- at https://lowcode.example.com/vendors-loview-react-lowcode_node_modules_pnpm_emotion_css_11_11_2_node_modules_emotion_css_d-8c49fa.async.js:43819:73
152
- at div
153
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
154
- at https://lowcode.example.com/vendors-loview-react-lowcode_node_modules_pnpm_emotion_css_11_11_2_node_modules_emotion_css_d-8c49fa.async.js:43819:73
155
- at div
156
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
157
- at WorkspacePanel (https://lowcode.example.com/src_components_index_ts-src_components_DraggableModal_index_less.async.js:77175:23)
158
- at div
159
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
160
- at div
161
- at x (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:37459)
162
- at DesignerPanel (https://lowcode.example.com/src_components_index_ts-src_components_DraggableModal_index_less.async.js:34067:24)
163
- at https://lowcode.example.com/vendors-loview-react-lowcode_node_modules_pnpm_emotion_css_11_11_2_node_modules_emotion_css_d-8c49fa.async.js:43819:73
164
- at main
165
- at https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:13551:18
166
- at Content
167
- at div
168
- at https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:13571:42
169
- at Layout
170
- at div
171
- at https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:13571:42
172
- at Layout
173
- at LocaleProvider (https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:14086:5)
174
- at MotionWrapper (https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:11670:5)
175
- at ProviderChildren (https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:12124:5)
176
- at ConfigProvider (https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:12378:54)
177
- at ThemeProvider (https://10.4.5.136/unpkg/styled-components@5.3.11/dist/styled-components.js:1:30129)
178
- at SystemProvider (https://lowcode.example.com/mf-dep____vendor.7254a7da.async.js:110099:27)
179
- at Designer (https://lowcode.example.com/src_components_index_ts-src_components_DraggableModal_index_less.async.js:34184:22)
180
- at DesignerProvider (https://lowcode.example.com/p__Designer__index.async.js:23369:24)
181
- at div
182
- at DesignerView (https://lowcode.example.com/p__Designer__index.async.js:41676:73)
183
- at Suspense
184
- at RemoteComponent (https://lowcode.example.com/mf-dep_node_modules_cache_mfsu_mf-va__workspace_lowcode_lowcode-app-dev-platform_node_modules__pnpm_-097e60.e2d58b62.async.js:696:25)
185
- at Routes (https://lowcode.example.com/mf-dep_node_modules_cache_mfsu_mf-va__workspace_lowcode_lowcode-app-dev-platform_node_modules__pnpm_-097e60.e2d58b62.async.js:202:76)
186
- at Router (https://lowcode.example.com/vendors-node_modules_pnpm_react-router_6_3_0_react_18_1_0_node_modules_react-router_index_js.async.js:1678:15)
187
- at BrowserRoutes (https://lowcode.example.com/mf-dep_node_modules_cache_mfsu_mf-va__workspace_lowcode_lowcode-app-dev-platform_node_modules__pnpm_-097e60.e2d58b62.async.js:162:23)
188
- at r (https://lowcode.example.com/mf-dep_node_modules_cache_mfsu_mf-va__workspace_lowcode_lowcode-app-dev-platform_node_modules__pnpm_-097e60.e2d58b62.async.js:2736:7350)
189
- at Provider (https://lowcode.example.com/src_umi_umi_ts.async.js:6510:21)
190
- at InitialStateProvider (https://lowcode.example.com/src_umi_umi_ts.async.js:7508:64)
191
- at Provider (https://lowcode.example.com/src_umi_umi_ts.async.js:7738:34)
192
- at ProviderWrapper (https://lowcode.example.com/src_umi_umi_ts.async.js:7970:61)
193
- at MotionWrapper (https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:11670:5)
194
- at ProviderChildren (https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:12124:5)
195
- at ConfigProvider (https://lowcode.example.com/vendors-node_modules_pnpm_ant-design_icons-svg_4_4_2_node_modules_ant-design_icons-svg_es_asn-d4fb4f.async.js:12378:54)
196
- at AntdProvider (https://lowcode.example.com/src_umi_umi_ts.async.js:7170:23)
197
- at Browser (https://lowcode.example.com/mf-dep_node_modules_cache_mfsu_mf-va__workspace_lowcode_lowcode-app-dev-platform_node_modules__pnpm_-097e60.e2d58b62.async.js:267:68)
198
-
199
- Consider adding an error boundary to your tree to customize error handling behavior.
200
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
201
- (anonymous) @ index.ts:6
202
- /?systemId=LC0000004��n=true/#/designer:1 Uncaught (in promise) Error: Unknown node type: "Computed"
203
- at cloneNodeInternal (cloneNode.js:49:1)
204
- at cloneIfNode (cloneNode.js:16:1)
205
- at cloneIfNodeOrArray (cloneNode.js:24:1)
206
- at cloneNodeInternal (cloneNode.js:54:1)
207
- at cloneIfNode (cloneNode.js:16:1)
208
- at cloneIfNodeOrArray (cloneNode.js:24:1)
209
- at cloneNodeInternal (cloneNode.js:54:1)
210
- at cloneIfNode (cloneNode.js:16:1)
211
- at cloneIfNodeOrArray (cloneNode.js:24:1)
212
- at cloneNodeInternal (cloneNode.js:54:1)
213
- at cloneIfNode (cloneNode.js:16:1)
214
- at cloneIfNodeOrArray (cloneNode.js:24:1)
215
- at cloneNodeInternal (cloneNode.js:54:1)
216
- at cloneIfNode (cloneNode.js:16:1)
217
- at cloneNode.js:22:1
218
- at Array.map (<anonymous>)
219
- at cloneIfNodeOrArray (cloneNode.js:22:1)
220
- at cloneNodeInternal (cloneNode.js:54:1)
221
- at cloneIfNode (cloneNode.js:16:1)
222
- at cloneIfNodeOrArray (cloneNode.js:24:1)
223
- at cloneNodeInternal (cloneNode.js:54:1)
224
- at cloneIfNode (cloneNode.js:16:1)
225
- at cloneNode.js:22:1
226
- at Array.map (<anonymous>)
227
- at cloneIfNodeOrArray (cloneNode.js:22:1)
228
- at cloneNodeInternal (cloneNode.js:54:1)
229
- at cloneIfNode (cloneNode.js:16:1)
230
- at cloneIfNodeOrArray (cloneNode.js:24:1)
231
- at cloneNodeInternal (cloneNode.js:54:1)
232
- at cloneIfNode (cloneNode.js:16:1)
233
- at cloneNode.js:22:1
234
- at Array.map (<anonymous>)
235
- at cloneIfNodeOrArray (cloneNode.js:22:1)
236
- at cloneNodeInternal (cloneNode.js:54:1)
237
- at cloneIfNode (cloneNode.js:16:1)
238
- at cloneIfNodeOrArray (cloneNode.js:24:1)
239
- at cloneNodeInternal (cloneNode.js:54:1)
240
- at cloneIfNode (cloneNode.js:16:1)
241
- at cloneNode.js:22:1
242
- at Array.map (<anonymous>)
243
- at cloneIfNodeOrArray (cloneNode.js:22:1)
244
- at cloneNodeInternal (cloneNode.js:54:1)
245
- at cloneIfNode (cloneNode.js:16:1)
246
- at cloneIfNodeOrArray (cloneNode.js:24:1)
247
- at cloneNodeInternal (cloneNode.js:54:1)
248
- at cloneIfNode (cloneNode.js:16:1)
249
- at cloneNode.js:22:1
250
- at Array.map (<anonymous>)
251
- at cloneIfNodeOrArray (cloneNode.js:22:1)
252
- at cloneNodeInternal (cloneNode.js:54:1)
253
- workspace.ts:1390 [Workspace] Saving files to IndexedDB cache...
254
- workspace-cache.ts:188 [WorkspaceCache] Cached 483 files in 3444ms
255
- workspace.ts:1397 [Workspace] Cache saved successfully
1
+ TypeError: Got a MemberExpression for MemberExpression property
2
+ Printer.MemberExpression
3
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/expressions.js:254
4
+ 251 | function MemberExpression(node) {
5
+ 252 | this.print(node.object);
6
+ 253 | if (!node.computed && isMemberExpression(node.property)) {
7
+ > 254 | throw new TypeError("Got a MemberExpression for MemberExpression property");
8
+ 255 | }
9
+ 256 | let computed = node.computed;
10
+ 257 | if (isLiteral(node.property) && typeof node.property.value === "number") {
11
+ View compiled
12
+ Printer.exactSource
13
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
14
+ 236 | }
15
+ 237 | exactSource(loc, cb) {
16
+ 238 | if (!loc) {
17
+ > 239 | cb();
18
+ | ^ 240 | return;
19
+ 241 | }
20
+ 242 | this._catchUp("start", loc);
21
+ View compiled
22
+ Printer.print
23
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
24
+ 424 | this._lastCommentLine = 0;
25
+ 425 | this._printLeadingComments(node, parent);
26
+ 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
27
+ > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
28
+ | ^ 428 | if (shouldPrintParens) {
29
+ 429 | this._printTrailingComments(node, parent);
30
+ 430 | if (indentParenthesized) {
31
+ View compiled
32
+ Printer.OptionalMemberExpression
33
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/expressions.js:143
34
+ 140 | optional,
35
+ 141 | property
36
+ 142 | } = node;
37
+ > 143 | this.print(node.object);
38
+ | ^ 144 | if (!computed && isMemberExpression(property)) {
39
+ 145 | throw new TypeError("Got a MemberExpression for MemberExpression property");
40
+ 146 | }
41
+ View compiled
42
+ Printer.exactSource
43
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
44
+ 236 | }
45
+ 237 | exactSource(loc, cb) {
46
+ 238 | if (!loc) {
47
+ > 239 | cb();
48
+ | ^ 240 | return;
49
+ 241 | }
50
+ 242 | this._catchUp("start", loc);
51
+ View compiled
52
+ Printer.print
53
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
54
+ 424 | this._lastCommentLine = 0;
55
+ 425 | this._printLeadingComments(node, parent);
56
+ 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
57
+ > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
58
+ | ^ 428 | if (shouldPrintParens) {
59
+ 429 | this._printTrailingComments(node, parent);
60
+ 430 | if (indentParenthesized) {
61
+ View compiled
62
+ Printer.ExpressionStatement
63
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/generators/expressions.js:220
64
+ 217 | }
65
+ 218 | function ExpressionStatement(node) {
66
+ 219 | this.tokenContext |= _index.TokenContext.expressionStatement;
67
+ > 220 | this.print(node.expression);
68
+ 221 | this.semicolon();
69
+ 222 | }
70
+ 223 | function AssignmentPattern(node) {
71
+ View compiled
72
+ Printer.exactSource
73
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:239
74
+ 236 | }
75
+ 237 | exactSource(loc, cb) {
76
+ 238 | if (!loc) {
77
+ > 239 | cb();
78
+ | ^ 240 | return;
79
+ 241 | }
80
+ 242 | this._catchUp("start", loc);
81
+ View compiled
82
+ Printer.print
83
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:427
84
+ 424 | this._lastCommentLine = 0;
85
+ 425 | this._printLeadingComments(node, parent);
86
+ 426 | const loc = nodeType === "Program" || nodeType === "File" ? null : node.loc;
87
+ > 427 | this.exactSource(loc, printMethod.bind(this, node, parent));
88
+ | ^ 428 | if (shouldPrintParens) {
89
+ 429 | this._printTrailingComments(node, parent);
90
+ 430 | if (indentParenthesized) {
91
+ View compiled
92
+ Printer.generate
93
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/printer.js:92
94
+ 89 | if (this.format.preserveFormat) {
95
+ 90 | this.tokenMap = new _tokenMap.TokenMap(ast, this._tokens, this._originalCode);
96
+ 91 | }
97
+ > 92 | this.print(ast);
98
+ | ^ 93 | this._maybeAddAuxComment();
99
+ 94 | return this._buf.get();
100
+ 95 | }
101
+ View compiled
102
+ generate
103
+ .../loview-react-lowcode/node_modules/.pnpm/@babel+generator@7.27.5/node_modules/@babel/generator/lib/index.js:108
104
+ 105 | const format = normalizeOptions(code, opts, ast);
105
+ 106 | const map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null;
106
+ 107 | const printer = new _printer.default(format, map, ast.tokens, typeof code === "string" ? code : null);
107
+ > 108 | return printer.generate(ast);
108
+ 109 | }
109
+ 110 | var _default = exports.default = generate;
110
+ 111 |
111
+ View compiled
112
+ ast2code
113
+ .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:26
114
+ 23 | */
115
+ 24 | export function ast2code(ast: t.Node, options = defaultGeneratorOptions) {
116
+ 25 | const { formatter = true, ...generatorOptions } = options;
117
+ > 26 | let code = generator(ast, {
118
+ 27 | ...defaultGeneratorOptions,
119
+ 28 | ...generatorOptions,
120
+ 29 | }).code;
121
+ View compiled
122
+ expression2code
123
+ .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:47
124
+ 44 | */
125
+ 45 | export function expression2code(node: t.Expression) {
126
+ 46 | const statement = t.expressionStatement(node);
127
+ > 47 | let ret = ast2code(statement).trim();
128
+ 48 | // �Ƴ�ĩβ�ķֺ�
129
+ 49 | if (ret.endsWith(';')) {
130
+ 50 | ret = ret.slice(0, -1);
131
+ View compiled
132
+ node2value
133
+ .../loview-react-lowcode/packages/core/src/helpers/ast/generate.ts:192
134
+ 189 | case 'CallExpression': // {{[1,2,3].map(fn)}}
135
+ 190 | case 'JSXElement': // {{<Box>hello</Box>}}
136
+ 191 | case 'JSXFragment': // {{<><Box /></>}}
137
+ > 192 | ret = expression2code(node);
138
+ | ^ 193 | if (isWrapCode) {
139
+ 194 | ret = wrapCode(ret);
140
+ 195 | }
141
+ View compiled
142
+ OptionalMemberExpression
143
+ .../loview-react-lowcode/packages/core/src/helpers/ast/traverse.ts:2214
144
+ 2211 | },
145
+ 2212 |
146
+ 2213 | OptionalMemberExpression(path) {
147
+ > 2214 | const variable = node2value(path.node, false);
148
+ | ^ 2215 | if (isLowCodeVariable(variable) && !variables.includes(variable)) {
149
+ 2216 | variables.push(variable);
150
+ 2217 | }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lc-test3",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {