form-imagining 0.0.92-beta1 → 0.0.92-beta2
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/App-DZeeXrAi.js +32 -0
- package/dist/Area-BHKEscV-.js +4 -0
- package/dist/Bar--Tn_i50U.js +4 -0
- package/dist/ChartsArea-0wrqHfos.js +4 -0
- package/dist/ChartsBar-De3wqxB9.js +4 -0
- package/dist/ChartsPie-M9v47a1y.js +4 -0
- package/dist/CheckBoxModel-DL90UDdw.js +4 -0
- package/dist/Col-DAuf-D27.js +4 -0
- package/dist/Collapse-D1wtVr4J.js +4 -0
- package/dist/CommonText copy-CnTaynHd.js +189 -0
- package/dist/Demo-B3jXn-Wm.js +201 -0
- package/dist/Demo-DCuaQcE7.js +72 -0
- package/dist/FView-D5njXTYr.js +4 -0
- package/dist/FX-Ds_RTNfB.js +4 -0
- package/dist/FormGridCopy-BhNEuN_v.js +168 -0
- package/dist/FormImagining-DPQkYBgj.js +9 -0
- package/dist/GenerateForm-Bc_gKUhp.js +4 -0
- package/dist/GenerateReport-MBi8bZl7.js +4 -0
- package/dist/HelloWorld-ozWUgTPI.js +9 -0
- package/dist/Input-/345/210/240/351/231/244-BSy1dpR9.js +87 -0
- package/dist/Label-/345/210/240/351/231/244-BlmENKyQ.js +92 -0
- package/dist/LabelModel-BAM6G3Ie.js +4 -0
- package/dist/Login-lb3t6gnq.js +9 -0
- package/dist/Pie-Bdwe3wcU.js +4 -0
- package/dist/PropertyIndex-DgQ24KcZ.js +4 -0
- package/dist/RView-CCm2BHv0.js +4 -0
- package/dist/SqlModule-DTW0tMR7.js +4 -0
- package/dist/SvgIconCopy-Bmi1qbTC.js +39 -0
- package/dist/TableBtnModal-r-13ZsI9.js +4 -0
- package/dist/TextModel-aT7LooUr.js +9 -0
- package/dist/childForm-BglEql5G.js +4 -0
- package/dist/cssMode-SsosamS5.js +1577 -0
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +3 -3
- package/dist/formTest-DdIjfGpu.js +19 -0
- package/dist/freemarker2-CcHBBlpf.js +995 -0
- package/dist/handlebars-DfcmDcw8.js +425 -0
- package/dist/html-CKJuyuep.js +314 -0
- package/dist/htmlMode-BWiO4pRY.js +1587 -0
- package/dist/index - /345/211/257/346/234/254-UCuyvE6m.js" +531 -0
- package/dist/index-B62shk7i.js +11 -0
- package/dist/index-BpyIDAPw.js +3323 -0
- package/dist/index-Ctpjp4rq.js +36 -0
- package/dist/index-wY48_10N.js +300162 -0
- package/dist/javascript-CPCjva_r.js +76 -0
- package/dist/jsonMode-BlL2u-dx.js +2002 -0
- package/dist/liquid-D3Ero-K5.js +246 -0
- package/dist/mdx-9y_7F0Bo.js +171 -0
- package/dist/python-CZaLu6bh.js +307 -0
- package/dist/razor-Bnmmlnh_.js +556 -0
- package/dist/style.css +1 -1
- package/dist/tableSelectDemo-DsTljq6I.js +134 -0
- package/dist/tableSelectDemo2-BaV81cyf.js +108 -0
- package/dist/tsMode-BMfmnceI.js +895 -0
- package/dist/typescript-BN1BF4_9.js +349 -0
- package/dist/xml-CSQLleJF.js +101 -0
- package/dist/yaml-DxoitMTx.js +212 -0
- package/package.json +1 -1
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { aq as o } from "./index-wY48_10N.js";
|
|
2
|
+
/*!-----------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
5
|
+
* Released under the MIT license
|
|
6
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
+
*-----------------------------------------------------------------------------*/
|
|
8
|
+
var a = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, g = (t, e, n, s) => {
|
|
9
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
+
for (let r of p(e))
|
|
11
|
+
!c.call(t, r) && r !== n && a(t, r, { get: () => e[r], enumerable: !(s = l(e, r)) || s.enumerable });
|
|
12
|
+
return t;
|
|
13
|
+
}, d = (t, e, n) => (g(t, e, "default"), n), i = {};
|
|
14
|
+
d(i, o);
|
|
15
|
+
var f = {
|
|
16
|
+
comments: {
|
|
17
|
+
lineComment: "#",
|
|
18
|
+
blockComment: ["'''", "'''"]
|
|
19
|
+
},
|
|
20
|
+
brackets: [
|
|
21
|
+
["{", "}"],
|
|
22
|
+
["[", "]"],
|
|
23
|
+
["(", ")"]
|
|
24
|
+
],
|
|
25
|
+
autoClosingPairs: [
|
|
26
|
+
{ open: "{", close: "}" },
|
|
27
|
+
{ open: "[", close: "]" },
|
|
28
|
+
{ open: "(", close: ")" },
|
|
29
|
+
{ open: '"', close: '"', notIn: ["string"] },
|
|
30
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
|
31
|
+
],
|
|
32
|
+
surroundingPairs: [
|
|
33
|
+
{ open: "{", close: "}" },
|
|
34
|
+
{ open: "[", close: "]" },
|
|
35
|
+
{ open: "(", close: ")" },
|
|
36
|
+
{ open: '"', close: '"' },
|
|
37
|
+
{ open: "'", close: "'" }
|
|
38
|
+
],
|
|
39
|
+
onEnterRules: [
|
|
40
|
+
{
|
|
41
|
+
beforeText: new RegExp(
|
|
42
|
+
"^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"
|
|
43
|
+
),
|
|
44
|
+
action: { indentAction: i.languages.IndentAction.Indent }
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
folding: {
|
|
48
|
+
offSide: !0,
|
|
49
|
+
markers: {
|
|
50
|
+
start: new RegExp("^\\s*#region\\b"),
|
|
51
|
+
end: new RegExp("^\\s*#endregion\\b")
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}, m = {
|
|
55
|
+
defaultToken: "",
|
|
56
|
+
tokenPostfix: ".python",
|
|
57
|
+
keywords: [
|
|
58
|
+
// This section is the result of running
|
|
59
|
+
// `import keyword; for k in sorted(keyword.kwlist + keyword.softkwlist): print(" '" + k + "',")`
|
|
60
|
+
// in a Python REPL,
|
|
61
|
+
// though note that the output from Python 3 is not a strict superset of the
|
|
62
|
+
// output from Python 2.
|
|
63
|
+
"False",
|
|
64
|
+
// promoted to keyword.kwlist in Python 3
|
|
65
|
+
"None",
|
|
66
|
+
// promoted to keyword.kwlist in Python 3
|
|
67
|
+
"True",
|
|
68
|
+
// promoted to keyword.kwlist in Python 3
|
|
69
|
+
"_",
|
|
70
|
+
// new in Python 3.10
|
|
71
|
+
"and",
|
|
72
|
+
"as",
|
|
73
|
+
"assert",
|
|
74
|
+
"async",
|
|
75
|
+
// new in Python 3
|
|
76
|
+
"await",
|
|
77
|
+
// new in Python 3
|
|
78
|
+
"break",
|
|
79
|
+
"case",
|
|
80
|
+
// new in Python 3.10
|
|
81
|
+
"class",
|
|
82
|
+
"continue",
|
|
83
|
+
"def",
|
|
84
|
+
"del",
|
|
85
|
+
"elif",
|
|
86
|
+
"else",
|
|
87
|
+
"except",
|
|
88
|
+
"exec",
|
|
89
|
+
// Python 2, but not 3.
|
|
90
|
+
"finally",
|
|
91
|
+
"for",
|
|
92
|
+
"from",
|
|
93
|
+
"global",
|
|
94
|
+
"if",
|
|
95
|
+
"import",
|
|
96
|
+
"in",
|
|
97
|
+
"is",
|
|
98
|
+
"lambda",
|
|
99
|
+
"match",
|
|
100
|
+
// new in Python 3.10
|
|
101
|
+
"nonlocal",
|
|
102
|
+
// new in Python 3
|
|
103
|
+
"not",
|
|
104
|
+
"or",
|
|
105
|
+
"pass",
|
|
106
|
+
"print",
|
|
107
|
+
// Python 2, but not 3.
|
|
108
|
+
"raise",
|
|
109
|
+
"return",
|
|
110
|
+
"try",
|
|
111
|
+
"type",
|
|
112
|
+
// new in Python 3.12
|
|
113
|
+
"while",
|
|
114
|
+
"with",
|
|
115
|
+
"yield",
|
|
116
|
+
"int",
|
|
117
|
+
"float",
|
|
118
|
+
"long",
|
|
119
|
+
"complex",
|
|
120
|
+
"hex",
|
|
121
|
+
"abs",
|
|
122
|
+
"all",
|
|
123
|
+
"any",
|
|
124
|
+
"apply",
|
|
125
|
+
"basestring",
|
|
126
|
+
"bin",
|
|
127
|
+
"bool",
|
|
128
|
+
"buffer",
|
|
129
|
+
"bytearray",
|
|
130
|
+
"callable",
|
|
131
|
+
"chr",
|
|
132
|
+
"classmethod",
|
|
133
|
+
"cmp",
|
|
134
|
+
"coerce",
|
|
135
|
+
"compile",
|
|
136
|
+
"complex",
|
|
137
|
+
"delattr",
|
|
138
|
+
"dict",
|
|
139
|
+
"dir",
|
|
140
|
+
"divmod",
|
|
141
|
+
"enumerate",
|
|
142
|
+
"eval",
|
|
143
|
+
"execfile",
|
|
144
|
+
"file",
|
|
145
|
+
"filter",
|
|
146
|
+
"format",
|
|
147
|
+
"frozenset",
|
|
148
|
+
"getattr",
|
|
149
|
+
"globals",
|
|
150
|
+
"hasattr",
|
|
151
|
+
"hash",
|
|
152
|
+
"help",
|
|
153
|
+
"id",
|
|
154
|
+
"input",
|
|
155
|
+
"intern",
|
|
156
|
+
"isinstance",
|
|
157
|
+
"issubclass",
|
|
158
|
+
"iter",
|
|
159
|
+
"len",
|
|
160
|
+
"locals",
|
|
161
|
+
"list",
|
|
162
|
+
"map",
|
|
163
|
+
"max",
|
|
164
|
+
"memoryview",
|
|
165
|
+
"min",
|
|
166
|
+
"next",
|
|
167
|
+
"object",
|
|
168
|
+
"oct",
|
|
169
|
+
"open",
|
|
170
|
+
"ord",
|
|
171
|
+
"pow",
|
|
172
|
+
"print",
|
|
173
|
+
"property",
|
|
174
|
+
"reversed",
|
|
175
|
+
"range",
|
|
176
|
+
"raw_input",
|
|
177
|
+
"reduce",
|
|
178
|
+
"reload",
|
|
179
|
+
"repr",
|
|
180
|
+
"reversed",
|
|
181
|
+
"round",
|
|
182
|
+
"self",
|
|
183
|
+
"set",
|
|
184
|
+
"setattr",
|
|
185
|
+
"slice",
|
|
186
|
+
"sorted",
|
|
187
|
+
"staticmethod",
|
|
188
|
+
"str",
|
|
189
|
+
"sum",
|
|
190
|
+
"super",
|
|
191
|
+
"tuple",
|
|
192
|
+
"type",
|
|
193
|
+
"unichr",
|
|
194
|
+
"unicode",
|
|
195
|
+
"vars",
|
|
196
|
+
"xrange",
|
|
197
|
+
"zip",
|
|
198
|
+
"__dict__",
|
|
199
|
+
"__methods__",
|
|
200
|
+
"__members__",
|
|
201
|
+
"__class__",
|
|
202
|
+
"__bases__",
|
|
203
|
+
"__name__",
|
|
204
|
+
"__mro__",
|
|
205
|
+
"__subclasses__",
|
|
206
|
+
"__init__",
|
|
207
|
+
"__import__"
|
|
208
|
+
],
|
|
209
|
+
brackets: [
|
|
210
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
211
|
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
|
212
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
213
|
+
],
|
|
214
|
+
tokenizer: {
|
|
215
|
+
root: [
|
|
216
|
+
{ include: "@whitespace" },
|
|
217
|
+
{ include: "@numbers" },
|
|
218
|
+
{ include: "@strings" },
|
|
219
|
+
[/[,:;]/, "delimiter"],
|
|
220
|
+
[/[{}\[\]()]/, "@brackets"],
|
|
221
|
+
[/@[a-zA-Z_]\w*/, "tag"],
|
|
222
|
+
[
|
|
223
|
+
/[a-zA-Z_]\w*/,
|
|
224
|
+
{
|
|
225
|
+
cases: {
|
|
226
|
+
"@keywords": "keyword",
|
|
227
|
+
"@default": "identifier"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
],
|
|
232
|
+
// Deal with white space, including single and multi-line comments
|
|
233
|
+
whitespace: [
|
|
234
|
+
[/\s+/, "white"],
|
|
235
|
+
[/(^#.*$)/, "comment"],
|
|
236
|
+
[/'''/, "string", "@endDocString"],
|
|
237
|
+
[/"""/, "string", "@endDblDocString"]
|
|
238
|
+
],
|
|
239
|
+
endDocString: [
|
|
240
|
+
[/[^']+/, "string"],
|
|
241
|
+
[/\\'/, "string"],
|
|
242
|
+
[/'''/, "string", "@popall"],
|
|
243
|
+
[/'/, "string"]
|
|
244
|
+
],
|
|
245
|
+
endDblDocString: [
|
|
246
|
+
[/[^"]+/, "string"],
|
|
247
|
+
[/\\"/, "string"],
|
|
248
|
+
[/"""/, "string", "@popall"],
|
|
249
|
+
[/"/, "string"]
|
|
250
|
+
],
|
|
251
|
+
// Recognize hex, negatives, decimals, imaginaries, longs, and scientific notation
|
|
252
|
+
numbers: [
|
|
253
|
+
[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/, "number.hex"],
|
|
254
|
+
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/, "number"]
|
|
255
|
+
],
|
|
256
|
+
// Recognize strings, including those broken across lines with \ (but not without)
|
|
257
|
+
strings: [
|
|
258
|
+
[/'$/, "string.escape", "@popall"],
|
|
259
|
+
[/f'{1,3}/, "string.escape", "@fStringBody"],
|
|
260
|
+
[/'/, "string.escape", "@stringBody"],
|
|
261
|
+
[/"$/, "string.escape", "@popall"],
|
|
262
|
+
[/f"{1,3}/, "string.escape", "@fDblStringBody"],
|
|
263
|
+
[/"/, "string.escape", "@dblStringBody"]
|
|
264
|
+
],
|
|
265
|
+
fStringBody: [
|
|
266
|
+
[/[^\\'\{\}]+$/, "string", "@popall"],
|
|
267
|
+
[/[^\\'\{\}]+/, "string"],
|
|
268
|
+
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
269
|
+
[/\\./, "string"],
|
|
270
|
+
[/'/, "string.escape", "@popall"],
|
|
271
|
+
[/\\$/, "string"]
|
|
272
|
+
],
|
|
273
|
+
stringBody: [
|
|
274
|
+
[/[^\\']+$/, "string", "@popall"],
|
|
275
|
+
[/[^\\']+/, "string"],
|
|
276
|
+
[/\\./, "string"],
|
|
277
|
+
[/'/, "string.escape", "@popall"],
|
|
278
|
+
[/\\$/, "string"]
|
|
279
|
+
],
|
|
280
|
+
fDblStringBody: [
|
|
281
|
+
[/[^\\"\{\}]+$/, "string", "@popall"],
|
|
282
|
+
[/[^\\"\{\}]+/, "string"],
|
|
283
|
+
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
284
|
+
[/\\./, "string"],
|
|
285
|
+
[/"/, "string.escape", "@popall"],
|
|
286
|
+
[/\\$/, "string"]
|
|
287
|
+
],
|
|
288
|
+
dblStringBody: [
|
|
289
|
+
[/[^\\"]+$/, "string", "@popall"],
|
|
290
|
+
[/[^\\"]+/, "string"],
|
|
291
|
+
[/\\./, "string"],
|
|
292
|
+
[/"/, "string.escape", "@popall"],
|
|
293
|
+
[/\\$/, "string"]
|
|
294
|
+
],
|
|
295
|
+
fStringDetail: [
|
|
296
|
+
[/[:][^}]+/, "string"],
|
|
297
|
+
[/[!][ars]/, "string"],
|
|
298
|
+
// only !a, !r, !s are supported by f-strings: https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals
|
|
299
|
+
[/=/, "string"],
|
|
300
|
+
[/\}/, "identifier", "@pop"]
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
export {
|
|
305
|
+
f as conf,
|
|
306
|
+
m as language
|
|
307
|
+
};
|