xmlui 0.8.6 → 0.9.1
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/dist/{apiInterceptorWorker-fLBfPj2T.mjs → apiInterceptorWorker-230V_-Ds.mjs} +1 -1
- package/dist/{index-wd8FRzuM.mjs → index-DUwwx3L4.mjs} +5864 -6108
- package/dist/index.css +274 -301
- package/dist/language-server.mjs +25 -1
- package/dist/{lint-B18Ko6Sy.mjs → lint-gX2osbkz.mjs} +920 -1120
- package/dist/scripts/bin/build.js +2 -2
- package/dist/scripts/bin/start.js +3 -9
- package/dist/scripts/bin/vite-xmlui-plugin.js +2 -2
- package/dist/scripts/bin/viteConfig.js +89 -63
- package/dist/scripts/src/abstractions/scripting/ScriptingSourceTreeExp.js +1 -2
- package/dist/scripts/src/components/Accordion/Accordion.js +6 -16
- package/dist/scripts/src/components/App/AppNative.js +8 -0
- package/dist/scripts/src/components/AppHeader/AppHeader.js +1 -5
- package/dist/scripts/src/components/AppHeader/AppHeaderNative.js +10 -4
- package/dist/scripts/src/components/AutoComplete/AutoComplete.js +13 -19
- package/dist/scripts/src/components/AutoComplete/AutoCompleteContext.js +2 -0
- package/dist/scripts/src/components/AutoComplete/AutoCompleteNative.js +7 -3
- package/dist/scripts/src/components/Avatar/Avatar.js +2 -9
- package/dist/scripts/src/components/Badge/Badge.js +2 -8
- package/dist/scripts/src/components/Button/Button.js +28 -60
- package/dist/scripts/src/components/Card/Card.js +1 -6
- package/dist/scripts/src/components/Checkbox/Checkbox.js +4 -12
- package/dist/scripts/src/components/ComponentProvider.js +4 -0
- package/dist/scripts/src/components/DatePicker/DatePicker.js +3 -10
- package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/scripts/src/components/Form/Form.js +12 -28
- package/dist/scripts/src/components/Form/FormNative.js +9 -0
- package/dist/scripts/src/components/FormItem/HelperText.js +1 -1
- package/dist/scripts/src/components/FormItem/ItemWithLabel.js +2 -2
- package/dist/scripts/src/components/Heading/HeadingNative.js +0 -1
- package/dist/scripts/src/components/HtmlTags/HtmlTags.js +4 -19
- package/dist/scripts/src/components/IconProvider.js +2 -2
- package/dist/scripts/src/components/Link/Link.js +2 -8
- package/dist/scripts/src/components/Markdown/MarkdownNative.js +4 -4
- package/dist/scripts/src/components/ModalDialog/ModalDialog.js +1 -3
- package/dist/scripts/src/components/NavGroup/NavGroup.js +34 -3
- package/dist/scripts/src/components/NavGroup/NavGroupNative.js +24 -12
- package/dist/scripts/src/components/NavLink/NavLink.js +4 -11
- package/dist/scripts/src/components/NavPanel/NavPanel.js +1 -6
- package/dist/scripts/src/components/ProgressBar/ProgressBar.js +2 -8
- package/dist/scripts/src/components/RadioGroup/RadioGroup.js +4 -12
- package/dist/scripts/src/components/Select/Select.js +5 -13
- package/dist/scripts/src/components/Select/SelectNative.js +7 -3
- package/dist/scripts/src/components/Slider/Slider.js +2 -8
- package/dist/scripts/src/components/Spinner/Spinner.js +1 -6
- package/dist/scripts/src/components/SubNavPanel/SubNavPanel.js +22 -0
- package/dist/scripts/src/components/SubNavPanel/SubNavPanelNative.js +9 -0
- package/dist/scripts/src/components/Switch/Switch.js +6 -16
- package/dist/scripts/src/components/Table/Table.js +8 -17
- package/dist/scripts/src/components/TableOfContents/TableOfContents.js +4 -12
- package/dist/scripts/src/components/Tabs/Tabs.js +3 -10
- package/dist/scripts/src/components/Text/Text.js +10 -24
- package/dist/scripts/src/components/TextBox/TextBoxNative.js +1 -1
- package/dist/scripts/src/components/Theme/ThemeNative.js +1 -1
- package/dist/scripts/src/components/ValidationSummary/ValidationSummary.js +3 -3
- package/dist/scripts/src/components-core/DevTools.js +5 -4
- package/dist/scripts/src/components-core/RestApiProxy.js +7 -3
- package/dist/scripts/src/components-core/action/APICall.js +2 -1
- package/dist/scripts/src/components-core/rendering/Container.js +15 -11
- package/dist/scripts/src/components-core/rendering/StateContainer.js +3 -2
- package/dist/scripts/src/components-core/script-runner/BindingTreeEvaluationContext.js +0 -2
- package/dist/scripts/src/components-core/script-runner/ParameterParser.js +1 -1
- package/dist/scripts/src/components-core/script-runner/asyncProxy.js +11 -64
- package/dist/scripts/src/components-core/script-runner/eval-tree-async.js +196 -175
- package/dist/scripts/src/components-core/script-runner/eval-tree-common.js +173 -231
- package/dist/scripts/src/components-core/script-runner/eval-tree-sync.js +129 -100
- package/dist/scripts/src/components-core/script-runner/process-statement-async.js +170 -175
- package/dist/scripts/src/components-core/script-runner/process-statement-common.js +48 -33
- package/dist/scripts/src/components-core/script-runner/process-statement-sync.js +164 -170
- package/dist/scripts/src/components-core/script-runner/statement-queue.js +5 -4
- package/dist/scripts/src/components-core/script-runner/visitors.js +124 -116
- package/dist/scripts/src/components-core/theming/themes/palette.js +1 -0
- package/dist/scripts/src/components-core/theming/themes/root.js +300 -154
- package/dist/scripts/src/components-core/theming/themes/theme-colors.js +510 -510
- package/dist/scripts/src/components-core/theming/themes/xmlui.js +0 -1
- package/dist/scripts/src/components-core/theming/transformThemeVars.js +11 -11
- package/dist/scripts/src/components-core/utils/misc.js +13 -0
- package/dist/scripts/src/components-core/utils/statementUtils.js +56 -53
- package/dist/scripts/src/components-core/xmlui-parser.js +1 -1
- package/dist/scripts/src/parsers/scripting-exp/Lexer.js +1092 -0
- package/dist/scripts/src/parsers/scripting-exp/Parser.js +2635 -0
- package/dist/scripts/src/parsers/scripting-exp/ParserError.js +47 -0
- package/dist/scripts/src/parsers/scripting-exp/TokenTrait.js +109 -0
- package/dist/scripts/src/parsers/scripting-exp/TokenType.js +2 -4
- package/dist/scripts/src/parsers/scripting-exp/code-behind-collect.js +101 -0
- package/dist/scripts/src/parsers/scripting-exp/modules.js +107 -0
- package/dist/scripts/src/parsers/{scripting → scripting-exp}/tree-visitor.js +103 -107
- package/dist/scripts/src/parsers/xmlui-parser/transform.js +12 -12
- package/dist/style.css +245 -286
- package/dist/xmlui-metadata.mjs +2741 -2211
- package/dist/xmlui-metadata.umd.js +2740 -2212
- package/dist/xmlui-parser.d.ts +320 -232
- package/dist/xmlui-parser.mjs +19 -19
- package/dist/xmlui-standalone.umd.js +6770 -7220
- package/dist/xmlui.d.ts +322 -230
- package/dist/xmlui.mjs +1 -1
- package/package.json +10 -6
- package/dist/_commonjsHelpers-CcAunmGO.mjs +0 -33
- package/dist/scripts/src/components-core/script-runner/ICustomOperations.js +0 -34
- package/dist/scripts/src/components-core/script-runner/custom-operations-registry.js +0 -40
- package/dist/scripts/src/components-core/script-runner/custom-ui-data.js +0 -40
- package/dist/scripts/src/components-core/script-runner/syncProxy.js +0 -31
- package/dist/scripts/src/parsers/scripting/code-behind-collect.js +0 -153
- package/dist/scripts/src/parsers/scripting/modules.js +0 -284
- /package/dist/scripts/src/abstractions/scripting/{LogicalThread.js → LogicalThreadExp.js} +0 -0
- /package/dist/scripts/src/abstractions/scripting/{TryScope.js → TryScopeExp.js} +0 -0
|
@@ -629,17 +629,17 @@ function generateBaseTonesForColor(varName, theme, options = { distributeEven: f
|
|
|
629
629
|
color950 = baseColor.lightness(baseL - darkStep * 4.5);
|
|
630
630
|
}
|
|
631
631
|
return {
|
|
632
|
-
[
|
|
633
|
-
[
|
|
634
|
-
[
|
|
635
|
-
[
|
|
636
|
-
[
|
|
637
|
-
[
|
|
638
|
-
[
|
|
639
|
-
[
|
|
640
|
-
[
|
|
641
|
-
[
|
|
642
|
-
[
|
|
632
|
+
[`const-${varName}-50`]: color50.toString(),
|
|
633
|
+
[`const-${varName}-100`]: color100.toString(),
|
|
634
|
+
[`const-${varName}-200`]: color200.toString(),
|
|
635
|
+
[`const-${varName}-300`]: color300.toString(),
|
|
636
|
+
[`const-${varName}-400`]: color400.toString(),
|
|
637
|
+
[`const-${varName}-500`]: color500.toString(),
|
|
638
|
+
[`const-${varName}-600`]: color600.toString(),
|
|
639
|
+
[`const-${varName}-700`]: color700.toString(),
|
|
640
|
+
[`const-${varName}-800`]: color800.toString(),
|
|
641
|
+
[`const-${varName}-900`]: color900.toString(),
|
|
642
|
+
[`const-${varName}-950`]: color950.toString(),
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
catch (e) {
|
|
@@ -13,6 +13,7 @@ exports.isPrimitive = exports.pickFromObject = exports.shallowCompare = exports.
|
|
|
13
13
|
exports.partition = partition;
|
|
14
14
|
exports.generatedId = generatedId;
|
|
15
15
|
exports.randomUUID = randomUUID;
|
|
16
|
+
exports.readCookie = readCookie;
|
|
16
17
|
exports.capitalizeFirstLetter = capitalizeFirstLetter;
|
|
17
18
|
exports.removeNullProperties = removeNullProperties;
|
|
18
19
|
exports.humanFileSize = humanFileSize;
|
|
@@ -67,6 +68,18 @@ function randomUUID() {
|
|
|
67
68
|
// @ts-ignore
|
|
68
69
|
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) => (c ^ (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))).toString(16));
|
|
69
70
|
}
|
|
71
|
+
function readCookie(name) {
|
|
72
|
+
const nameEQ = name + "=";
|
|
73
|
+
const ca = document.cookie.split(';');
|
|
74
|
+
for (let i = 0; i < ca.length; i++) {
|
|
75
|
+
let c = ca[i];
|
|
76
|
+
while (c.charAt(0) === ' ')
|
|
77
|
+
c = c.substring(1, c.length);
|
|
78
|
+
if (c.indexOf(nameEQ) === 0)
|
|
79
|
+
return c.substring(nameEQ.length, c.length);
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
70
83
|
/**
|
|
71
84
|
* Wait for a set duration asynchronously.
|
|
72
85
|
* @param ms Time in ms to wait before continuing execution
|
|
@@ -12,7 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.parseHandlerCode = parseHandlerCode;
|
|
13
13
|
exports.prepareHandlerStatements = prepareHandlerStatements;
|
|
14
14
|
exports.runEventHandlerCode = runEventHandlerCode;
|
|
15
|
-
const
|
|
15
|
+
const ScriptingSourceTreeExp_1 = require("../../abstractions/scripting/ScriptingSourceTreeExp");
|
|
16
|
+
const Parser_1 = require("../../parsers/scripting-exp/Parser");
|
|
16
17
|
const process_statement_async_1 = require("../script-runner/process-statement-async");
|
|
17
18
|
const reportEngineError_1 = require("../reportEngineError");
|
|
18
19
|
const EngineError_1 = require("../EngineError");
|
|
@@ -48,89 +49,90 @@ function parseHandlerCode(source) {
|
|
|
48
49
|
}
|
|
49
50
|
/**
|
|
50
51
|
* Optionally transform statements in an event handler to an arrow expression statement
|
|
51
|
-
* @param
|
|
52
|
+
* @param stmts Statements to transform
|
|
52
53
|
* @param evalContext Optional event arguments
|
|
53
54
|
*/
|
|
54
|
-
function prepareHandlerStatements(
|
|
55
|
+
function prepareHandlerStatements(stmts, evalContext) {
|
|
55
56
|
var _a;
|
|
56
|
-
const stmtLength = (_a =
|
|
57
|
+
const stmtLength = (_a = stmts === null || stmts === void 0 ? void 0 : stmts.length) !== null && _a !== void 0 ? _a : 0;
|
|
57
58
|
if (stmtLength === 0) {
|
|
58
59
|
// -- Use a no-op arrow function
|
|
59
60
|
return [
|
|
60
61
|
{
|
|
61
|
-
type:
|
|
62
|
-
|
|
63
|
-
type:
|
|
62
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
63
|
+
expr: {
|
|
64
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION,
|
|
64
65
|
args: [],
|
|
65
66
|
statement: {
|
|
66
|
-
type:
|
|
67
|
+
type: ScriptingSourceTreeExp_1.T_EMPTY_STATEMENT,
|
|
67
68
|
},
|
|
68
69
|
},
|
|
69
70
|
},
|
|
70
71
|
];
|
|
71
72
|
}
|
|
72
73
|
if (stmtLength === 1) {
|
|
73
|
-
const stmt =
|
|
74
|
-
if (stmt.type ===
|
|
74
|
+
const stmt = stmts[0];
|
|
75
|
+
if (stmt.type === ScriptingSourceTreeExp_1.T_EXPRESSION_STATEMENT) {
|
|
75
76
|
// --- Handle single expression statements
|
|
76
77
|
if (evalContext) {
|
|
77
78
|
// --- We have a context in which the event handler is executed
|
|
78
|
-
if (stmt.
|
|
79
|
+
if (stmt.expr.type === ScriptingSourceTreeExp_1.T_IDENTIFIER) {
|
|
79
80
|
// --- A single identifier, it is supposed to be an arrow function
|
|
80
81
|
// --- Use this arrow expression
|
|
81
|
-
return [convertExpressionToFunctionInvocation(stmt.
|
|
82
|
+
return [convertExpressionToFunctionInvocation(stmt.expr)];
|
|
82
83
|
}
|
|
83
|
-
if (isMemberExpressionChain(stmt.
|
|
84
|
+
if (isMemberExpressionChain(stmt.expr)) {
|
|
84
85
|
// --- A single member expression chain, it is supposed to be an arrow function
|
|
85
86
|
// --- Use this arrow expression
|
|
86
|
-
return [convertExpressionToFunctionInvocation(stmt.
|
|
87
|
+
return [convertExpressionToFunctionInvocation(stmt.expr)];
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
|
-
if (stmt.
|
|
90
|
+
if (stmt.expr.type === ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION) {
|
|
90
91
|
// --- A single arrow expression
|
|
91
92
|
return [
|
|
92
93
|
{
|
|
93
|
-
type:
|
|
94
|
-
|
|
94
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
95
|
+
expr: stmt.expr,
|
|
95
96
|
},
|
|
96
97
|
];
|
|
97
98
|
}
|
|
98
99
|
// --- A single statement, turn into an arrow expression
|
|
99
100
|
return [
|
|
100
101
|
{
|
|
101
|
-
type:
|
|
102
|
-
|
|
103
|
-
type:
|
|
102
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
103
|
+
expr: {
|
|
104
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION,
|
|
104
105
|
args: [],
|
|
105
|
-
statement:
|
|
106
|
+
statement: stmts[0],
|
|
106
107
|
},
|
|
107
108
|
},
|
|
108
109
|
];
|
|
109
110
|
}
|
|
110
|
-
if (stmt.type ===
|
|
111
|
+
if (stmt.type === ScriptingSourceTreeExp_1.T_RETURN_STATEMENT) {
|
|
111
112
|
// --- A single arrow expression with a return
|
|
112
113
|
return [
|
|
113
114
|
{
|
|
114
|
-
type:
|
|
115
|
-
|
|
116
|
-
type:
|
|
115
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
116
|
+
expr: {
|
|
117
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION,
|
|
117
118
|
args: [],
|
|
118
119
|
statement: {
|
|
119
|
-
type:
|
|
120
|
-
|
|
120
|
+
type: ScriptingSourceTreeExp_1.T_BLOCK_STATEMENT,
|
|
121
|
+
stmts: [stmt],
|
|
121
122
|
},
|
|
122
123
|
},
|
|
123
124
|
},
|
|
124
125
|
];
|
|
125
126
|
}
|
|
126
|
-
if (stmt.type ===
|
|
127
|
+
if (stmt.type === ScriptingSourceTreeExp_1.T_BLOCK_STATEMENT) {
|
|
127
128
|
// --- A single block statement?
|
|
128
|
-
if (stmt.
|
|
129
|
+
if (stmt.stmts[0].type === ScriptingSourceTreeExp_1.T_EXPRESSION_STATEMENT &&
|
|
130
|
+
stmt.stmts[0].expr.type === ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION) {
|
|
129
131
|
// --- A single block statement with a single arrow expression?
|
|
130
132
|
return [
|
|
131
133
|
{
|
|
132
|
-
type:
|
|
133
|
-
|
|
134
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
135
|
+
expr: stmt.stmts[0].expr,
|
|
134
136
|
},
|
|
135
137
|
];
|
|
136
138
|
}
|
|
@@ -138,11 +140,11 @@ function prepareHandlerStatements(statements, evalContext) {
|
|
|
138
140
|
// --- Consider as a body of a no-arg arrow function
|
|
139
141
|
return [
|
|
140
142
|
{
|
|
141
|
-
type:
|
|
142
|
-
|
|
143
|
-
type:
|
|
143
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
144
|
+
expr: {
|
|
145
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION,
|
|
144
146
|
args: [],
|
|
145
|
-
statement:
|
|
147
|
+
statement: stmts[0],
|
|
146
148
|
},
|
|
147
149
|
},
|
|
148
150
|
];
|
|
@@ -153,30 +155,31 @@ function prepareHandlerStatements(statements, evalContext) {
|
|
|
153
155
|
// --- Use the statements as the body of a no-arg arrow function
|
|
154
156
|
return [
|
|
155
157
|
{
|
|
156
|
-
type:
|
|
157
|
-
|
|
158
|
-
type:
|
|
158
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
159
|
+
expr: {
|
|
160
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION,
|
|
159
161
|
args: [],
|
|
160
162
|
statement: {
|
|
161
|
-
type:
|
|
162
|
-
|
|
163
|
+
type: ScriptingSourceTreeExp_1.T_BLOCK_STATEMENT,
|
|
164
|
+
stmts,
|
|
163
165
|
},
|
|
164
166
|
},
|
|
165
167
|
},
|
|
166
168
|
];
|
|
167
169
|
}
|
|
168
170
|
// --- Nothing to transform
|
|
169
|
-
return
|
|
171
|
+
return stmts;
|
|
170
172
|
function isMemberExpressionChain(expr) {
|
|
171
|
-
return ((expr.type ===
|
|
172
|
-
(
|
|
173
|
+
return ((expr.type === ScriptingSourceTreeExp_1.T_MEMBER_ACCESS_EXPRESSION ||
|
|
174
|
+
(expr.type === ScriptingSourceTreeExp_1.T_CALCULATED_MEMBER_ACCESS_EXPRESSION && expr.member.type === ScriptingSourceTreeExp_1.T_LITERAL)) &&
|
|
175
|
+
(isMemberExpressionChain(expr.obj) || expr.obj.type === ScriptingSourceTreeExp_1.T_IDENTIFIER));
|
|
173
176
|
}
|
|
174
177
|
function convertExpressionToFunctionInvocation(expr) {
|
|
175
178
|
// --- A single identifier, it is supposed to be an arrow function
|
|
176
179
|
// --- Create formal arguments
|
|
177
180
|
const formalArgs = evalContext.eventArgs
|
|
178
181
|
? evalContext.eventArgs.map((_, idx) => ({
|
|
179
|
-
type:
|
|
182
|
+
type: ScriptingSourceTreeExp_1.T_IDENTIFIER,
|
|
180
183
|
name: `__arg@@#__${idx}__`,
|
|
181
184
|
}))
|
|
182
185
|
: [];
|
|
@@ -188,21 +191,21 @@ function prepareHandlerStatements(statements, evalContext) {
|
|
|
188
191
|
}
|
|
189
192
|
// --- Create the arrow expression
|
|
190
193
|
const arrowExpr = {
|
|
191
|
-
type:
|
|
194
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION,
|
|
192
195
|
args: formalArgs,
|
|
193
196
|
statement: {
|
|
194
|
-
type:
|
|
195
|
-
|
|
196
|
-
type:
|
|
197
|
-
|
|
197
|
+
type: ScriptingSourceTreeExp_1.T_EXPRESSION_STATEMENT,
|
|
198
|
+
expr: {
|
|
199
|
+
type: ScriptingSourceTreeExp_1.T_FUNCTION_INVOCATION_EXPRESSION,
|
|
200
|
+
obj: expr,
|
|
198
201
|
arguments: [...formalArgs],
|
|
199
202
|
},
|
|
200
203
|
},
|
|
201
204
|
};
|
|
202
205
|
// --- Use this arrow expression
|
|
203
206
|
return {
|
|
204
|
-
type:
|
|
205
|
-
|
|
207
|
+
type: ScriptingSourceTreeExp_1.T_ARROW_EXPRESSION_STATEMENT,
|
|
208
|
+
expr: arrowExpr,
|
|
206
209
|
};
|
|
207
210
|
}
|
|
208
211
|
}
|
|
@@ -213,9 +216,9 @@ function prepareHandlerStatements(statements, evalContext) {
|
|
|
213
216
|
* @param thread Logical thread to use
|
|
214
217
|
* @param onStatementCompleted Callback for statement completion
|
|
215
218
|
*/
|
|
216
|
-
function runEventHandlerCode(source, evalContext, thread
|
|
219
|
+
function runEventHandlerCode(source, evalContext, thread) {
|
|
217
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
218
221
|
const statements = prepareHandlerStatements(parseHandlerCode(source));
|
|
219
|
-
return yield (0, process_statement_async_1.processStatementQueueAsync)(statements, evalContext, thread
|
|
222
|
+
return yield (0, process_statement_async_1.processStatementQueueAsync)(statements, evalContext, thread);
|
|
220
223
|
});
|
|
221
224
|
}
|
|
@@ -24,7 +24,7 @@ function xmlUiMarkupToComponent(source, fileId = 0, moduleResolver) {
|
|
|
24
24
|
return { component: null, errors: errorsWithLines, erroneousCompoundComponentName };
|
|
25
25
|
}
|
|
26
26
|
try {
|
|
27
|
-
const component = (0, transform_1.nodeToComponentDef)(node, getText, fileId
|
|
27
|
+
const component = (0, transform_1.nodeToComponentDef)(node, getText, fileId);
|
|
28
28
|
const transformResult = { component, errors: [] };
|
|
29
29
|
return transformResult;
|
|
30
30
|
}
|