form-imagining 0.0.6 → 0.0.7

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 (148) hide show
  1. package/README.md +13 -16
  2. package/dist/abap-5361cc9f.js +1314 -0
  3. package/dist/apex-f9413e6f.js +315 -0
  4. package/dist/assets/css.worker-c3850ceb.js +88 -0
  5. package/dist/assets/editor.worker-94ffd778.js +12 -0
  6. package/dist/assets/html.worker-88b237e1.js +460 -0
  7. package/dist/assets/json.worker-8dd963f3.js +43 -0
  8. package/dist/assets/ts.worker-184cdfdf.js +37022 -0
  9. package/dist/azcli-36f2cb5e.js +74 -0
  10. package/dist/bat-6b05202d.js +95 -0
  11. package/dist/bicep-788415e3.js +108 -0
  12. package/dist/cameligo-4e85ec93.js +168 -0
  13. package/dist/clojure-40fa5799.js +754 -0
  14. package/dist/coffee-f557f5e0.js +228 -0
  15. package/dist/cpp-ebbf7759.js +390 -0
  16. package/dist/csharp-1616f566.js +320 -0
  17. package/dist/csp-5f0bc3c4.js +57 -0
  18. package/dist/css-2b1aec9b.js +186 -0
  19. package/dist/cssMode-8c659100.js +1447 -0
  20. package/dist/cypher-b12b4ba8.js +262 -0
  21. package/dist/dart-e0d70030.js +270 -0
  22. package/dist/dockerfile-f9d4b2b0.js +132 -0
  23. package/dist/ecl-5b91fdec.js +454 -0
  24. package/dist/elixir-deffd5a6.js +489 -0
  25. package/dist/flow9-84cd00d7.js +141 -0
  26. package/dist/form-imagining.js +3 -16340
  27. package/dist/form-imagining.umd.cjs +1974 -101
  28. package/dist/freemarker2-0d5627bc.js +644 -0
  29. package/dist/fsharp-d296151f.js +210 -0
  30. package/dist/go-7e72ff3b.js +208 -0
  31. package/dist/graphql-a93568a1.js +141 -0
  32. package/dist/handlebars-f4513b36.js +392 -0
  33. package/dist/hcl-b3994d8f.js +177 -0
  34. package/dist/html-8bedbbe0.js +282 -0
  35. package/dist/htmlMode-659c9ca3.js +1457 -0
  36. package/dist/index-dfad4f82.js +122025 -0
  37. package/dist/ini-df84509a.js +68 -0
  38. package/dist/java-fba3d046.js +221 -0
  39. package/dist/javascript-b0034508.js +77 -0
  40. package/dist/jsonMode-92a1ff9b.js +1868 -0
  41. package/dist/julia-cefd45f6.js +496 -0
  42. package/dist/kotlin-b87b6942.js +245 -0
  43. package/dist/less-8a7f37bc.js +168 -0
  44. package/dist/lexon-cb95cd13.js +151 -0
  45. package/dist/liquid-ce28d1ae.js +239 -0
  46. package/dist/lua-6d5b3ea4.js +157 -0
  47. package/dist/m3-d0daf5d0.js +210 -0
  48. package/dist/markdown-48bb0c6f.js +202 -0
  49. package/dist/mdx-470c6c12.js +172 -0
  50. package/dist/mips-20dcf886.js +194 -0
  51. package/dist/msdax-e9759e23.js +377 -0
  52. package/dist/mysql-95f335b2.js +876 -0
  53. package/dist/objective-c-ad0cfb47.js +188 -0
  54. package/dist/pascal-eda19dc3.js +245 -0
  55. package/dist/pascaligo-b7e0c89b.js +158 -0
  56. package/dist/perl-bbe5d32a.js +599 -0
  57. package/dist/pgsql-7ebaee1c.js +847 -0
  58. package/dist/php-2526756d.js +471 -0
  59. package/dist/pla-9ebd6f68.js +131 -0
  60. package/dist/postiats-9ac05cf6.js +544 -0
  61. package/dist/powerquery-1cae399d.js +890 -0
  62. package/dist/powershell-093b5b87.js +233 -0
  63. package/dist/protobuf-37993cbc.js +422 -0
  64. package/dist/pug-c2a5db5f.js +393 -0
  65. package/dist/python-8f0249df.js +260 -0
  66. package/dist/qsharp-1450aac5.js +282 -0
  67. package/dist/r-a0642b90.js +245 -0
  68. package/dist/razor-e4b6515c.js +513 -0
  69. package/dist/redis-405cb63d.js +298 -0
  70. package/dist/redshift-830f82de.js +806 -0
  71. package/dist/restructuredtext-d81f5ef4.js +162 -0
  72. package/dist/ruby-d607b87e.js +444 -0
  73. package/dist/rust-86e74dbb.js +337 -0
  74. package/dist/sb-b7e5010d.js +110 -0
  75. package/dist/scala-a4d4a3c6.js +353 -0
  76. package/dist/scheme-81927e94.js +114 -0
  77. package/dist/scss-3f112fcd.js +244 -0
  78. package/dist/shell-d795bcaa.js +224 -0
  79. package/dist/solidity-5b556d3e.js +1351 -0
  80. package/dist/sophia-1da55998.js +190 -0
  81. package/dist/sparql-ac34318e.js +193 -0
  82. package/dist/sql-eef6393b.js +818 -0
  83. package/dist/st-758b1972.js +415 -0
  84. package/dist/style.css +1 -1
  85. package/dist/swift-63cb1847.js +315 -0
  86. package/dist/systemverilog-2538c608.js +556 -0
  87. package/dist/tcl-53e6282a.js +232 -0
  88. package/dist/tsMode-ddb992e8.js +815 -0
  89. package/dist/twig-80c3dc23.js +323 -0
  90. package/dist/typescript-7135e9ac.js +329 -0
  91. package/dist/vb-32089525.js +364 -0
  92. package/dist/wgsl-e681d5a0.js +420 -0
  93. package/dist/xml-1e98ce31.js +96 -0
  94. package/dist/yaml-ad99967d.js +185 -0
  95. package/package.json +11 -18
  96. package/dist/components/generate/GenerateForm.vue.d.ts +0 -2
  97. package/dist/components/index.d.ts +0 -9
  98. package/dist/components/model/baseModel.d.ts +0 -8
  99. package/dist/components/model/dataSourceModel.d.ts +0 -19
  100. package/dist/components/model/gridModel.d.ts +0 -55
  101. package/dist/components/model/inputModel.d.ts +0 -14
  102. package/dist/components/model/reportModel.d.ts +0 -43
  103. package/dist/components/model/scriptModel.d.ts +0 -6
  104. package/dist/components/model/sqlModel.d.ts +0 -7
  105. package/dist/components/model/tableModel.d.ts +0 -16
  106. package/dist/components/model/textModel.d.ts +0 -14
  107. package/dist/components/monaco/monacoEditorType.d.ts +0 -56
  108. package/dist/components/registerGlobComp.d.ts +0 -3
  109. package/dist/components/wonderform/HelloWord.vue.d.ts +0 -2
  110. package/dist/components/wonderform/config/index.vue.d.ts +0 -14
  111. package/dist/components/wonderform/config/modules/Col.vue.d.ts +0 -14
  112. package/dist/components/wonderform/config/modules/DataSource.vue.d.ts +0 -2
  113. package/dist/components/wonderform/config/modules/Form.vue.d.ts +0 -2
  114. package/dist/components/wonderform/config/modules/Grid.vue.d.ts +0 -14
  115. package/dist/components/wonderform/config/modules/Properties.vue.d.ts +0 -14
  116. package/dist/components/wonderform/config/modules/Table.vue.d.ts +0 -14
  117. package/dist/components/wonderform/config/modules/TypeScript.vue.d.ts +0 -2
  118. package/dist/components/wonderform/design/index.vue.d.ts +0 -6
  119. package/dist/components/wonderform/design/modules/FormGrid.vue.d.ts +0 -38
  120. package/dist/components/wonderform/design/modules/FormInput.vue.d.ts +0 -26
  121. package/dist/components/wonderform/design/modules/FormReport.vue.d.ts +0 -32
  122. package/dist/components/wonderform/design/modules/FormTable.vue.d.ts +0 -32
  123. package/dist/components/wonderform/dsource/index.vue.d.ts +0 -14
  124. package/dist/components/wonderform/dsource/modules/SqlModule.vue.d.ts +0 -40
  125. package/dist/components/wonderform/header/Header.vue.d.ts +0 -2
  126. package/dist/components/wonderform/header/modules/Code.vue.d.ts +0 -23
  127. package/dist/components/wonderform/header/modules/events.d.ts +0 -1
  128. package/dist/components/wonderform/index.vue.d.ts +0 -2
  129. package/dist/components/wonderform/tool/index.vue.d.ts +0 -2
  130. package/dist/enums/httpEnum.d.ts +0 -37
  131. package/dist/main.d.ts +0 -1
  132. package/dist/mock/dict.d.ts +0 -8
  133. package/dist/router/guard/index.d.ts +0 -2
  134. package/dist/router/guard/permissionGuard.d.ts +0 -2
  135. package/dist/router/index.d.ts +0 -3
  136. package/dist/router/routes/basicRoutes.d.ts +0 -8
  137. package/dist/stores/index.d.ts +0 -4
  138. package/dist/stores/modules/data.d.ts +0 -7177
  139. package/dist/stores/modules/form.d.ts +0 -2060
  140. package/dist/utils/form/commonUtils.d.ts +0 -8
  141. package/dist/utils/form/config.d.ts +0 -107
  142. package/dist/utils/form/generatecode.d.ts +0 -23
  143. package/dist/utils/form/validateUtil.d.ts +0 -13
  144. package/dist/utils/form/wonder1.0.1.d.ts +0 -29
  145. package/dist/utils/http/axios/axios.d.ts +0 -48
  146. package/dist/utils/http/axios/axiosModel.d.ts +0 -8
  147. package/dist/utils/http/axios/index.d.ts +0 -2
  148. package/dist/utils/utils.d.ts +0 -1
@@ -0,0 +1,337 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ comments: {
9
+ lineComment: "//",
10
+ blockComment: ["/*", "*/"]
11
+ },
12
+ brackets: [
13
+ ["{", "}"],
14
+ ["[", "]"],
15
+ ["(", ")"]
16
+ ],
17
+ autoClosingPairs: [
18
+ { open: "[", close: "]" },
19
+ { open: "{", close: "}" },
20
+ { open: "(", close: ")" },
21
+ { open: '"', close: '"', notIn: ["string"] }
22
+ ],
23
+ surroundingPairs: [
24
+ { open: "{", close: "}" },
25
+ { open: "[", close: "]" },
26
+ { open: "(", close: ")" },
27
+ { open: '"', close: '"' },
28
+ { open: "'", close: "'" }
29
+ ],
30
+ folding: {
31
+ markers: {
32
+ start: new RegExp("^\\s*#pragma\\s+region\\b"),
33
+ end: new RegExp("^\\s*#pragma\\s+endregion\\b")
34
+ }
35
+ }
36
+ }, t = {
37
+ tokenPostfix: ".rust",
38
+ defaultToken: "invalid",
39
+ keywords: [
40
+ "as",
41
+ "async",
42
+ "await",
43
+ "box",
44
+ "break",
45
+ "const",
46
+ "continue",
47
+ "crate",
48
+ "dyn",
49
+ "else",
50
+ "enum",
51
+ "extern",
52
+ "false",
53
+ "fn",
54
+ "for",
55
+ "if",
56
+ "impl",
57
+ "in",
58
+ "let",
59
+ "loop",
60
+ "match",
61
+ "mod",
62
+ "move",
63
+ "mut",
64
+ "pub",
65
+ "ref",
66
+ "return",
67
+ "self",
68
+ "static",
69
+ "struct",
70
+ "super",
71
+ "trait",
72
+ "true",
73
+ "try",
74
+ "type",
75
+ "unsafe",
76
+ "use",
77
+ "where",
78
+ "while",
79
+ "catch",
80
+ "default",
81
+ "union",
82
+ "static",
83
+ "abstract",
84
+ "alignof",
85
+ "become",
86
+ "do",
87
+ "final",
88
+ "macro",
89
+ "offsetof",
90
+ "override",
91
+ "priv",
92
+ "proc",
93
+ "pure",
94
+ "sizeof",
95
+ "typeof",
96
+ "unsized",
97
+ "virtual",
98
+ "yield"
99
+ ],
100
+ typeKeywords: [
101
+ "Self",
102
+ "m32",
103
+ "m64",
104
+ "m128",
105
+ "f80",
106
+ "f16",
107
+ "f128",
108
+ "int",
109
+ "uint",
110
+ "float",
111
+ "char",
112
+ "bool",
113
+ "u8",
114
+ "u16",
115
+ "u32",
116
+ "u64",
117
+ "f32",
118
+ "f64",
119
+ "i8",
120
+ "i16",
121
+ "i32",
122
+ "i64",
123
+ "str",
124
+ "Option",
125
+ "Either",
126
+ "c_float",
127
+ "c_double",
128
+ "c_void",
129
+ "FILE",
130
+ "fpos_t",
131
+ "DIR",
132
+ "dirent",
133
+ "c_char",
134
+ "c_schar",
135
+ "c_uchar",
136
+ "c_short",
137
+ "c_ushort",
138
+ "c_int",
139
+ "c_uint",
140
+ "c_long",
141
+ "c_ulong",
142
+ "size_t",
143
+ "ptrdiff_t",
144
+ "clock_t",
145
+ "time_t",
146
+ "c_longlong",
147
+ "c_ulonglong",
148
+ "intptr_t",
149
+ "uintptr_t",
150
+ "off_t",
151
+ "dev_t",
152
+ "ino_t",
153
+ "pid_t",
154
+ "mode_t",
155
+ "ssize_t"
156
+ ],
157
+ constants: ["true", "false", "Some", "None", "Left", "Right", "Ok", "Err"],
158
+ supportConstants: [
159
+ "EXIT_FAILURE",
160
+ "EXIT_SUCCESS",
161
+ "RAND_MAX",
162
+ "EOF",
163
+ "SEEK_SET",
164
+ "SEEK_CUR",
165
+ "SEEK_END",
166
+ "_IOFBF",
167
+ "_IONBF",
168
+ "_IOLBF",
169
+ "BUFSIZ",
170
+ "FOPEN_MAX",
171
+ "FILENAME_MAX",
172
+ "L_tmpnam",
173
+ "TMP_MAX",
174
+ "O_RDONLY",
175
+ "O_WRONLY",
176
+ "O_RDWR",
177
+ "O_APPEND",
178
+ "O_CREAT",
179
+ "O_EXCL",
180
+ "O_TRUNC",
181
+ "S_IFIFO",
182
+ "S_IFCHR",
183
+ "S_IFBLK",
184
+ "S_IFDIR",
185
+ "S_IFREG",
186
+ "S_IFMT",
187
+ "S_IEXEC",
188
+ "S_IWRITE",
189
+ "S_IREAD",
190
+ "S_IRWXU",
191
+ "S_IXUSR",
192
+ "S_IWUSR",
193
+ "S_IRUSR",
194
+ "F_OK",
195
+ "R_OK",
196
+ "W_OK",
197
+ "X_OK",
198
+ "STDIN_FILENO",
199
+ "STDOUT_FILENO",
200
+ "STDERR_FILENO"
201
+ ],
202
+ supportMacros: [
203
+ "format!",
204
+ "print!",
205
+ "println!",
206
+ "panic!",
207
+ "format_args!",
208
+ "unreachable!",
209
+ "write!",
210
+ "writeln!"
211
+ ],
212
+ operators: [
213
+ "!",
214
+ "!=",
215
+ "%",
216
+ "%=",
217
+ "&",
218
+ "&=",
219
+ "&&",
220
+ "*",
221
+ "*=",
222
+ "+",
223
+ "+=",
224
+ "-",
225
+ "-=",
226
+ "->",
227
+ ".",
228
+ "..",
229
+ "...",
230
+ "/",
231
+ "/=",
232
+ ":",
233
+ ";",
234
+ "<<",
235
+ "<<=",
236
+ "<",
237
+ "<=",
238
+ "=",
239
+ "==",
240
+ "=>",
241
+ ">",
242
+ ">=",
243
+ ">>",
244
+ ">>=",
245
+ "@",
246
+ "^",
247
+ "^=",
248
+ "|",
249
+ "|=",
250
+ "||",
251
+ "_",
252
+ "?",
253
+ "#"
254
+ ],
255
+ escapes: /\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,
256
+ delimiters: /[,]/,
257
+ symbols: /[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,
258
+ intSuffixes: /[iu](8|16|32|64|128|size)/,
259
+ floatSuffixes: /f(32|64)/,
260
+ tokenizer: {
261
+ root: [
262
+ [/r(#*)"/, { token: "string.quote", bracket: "@open", next: "@stringraw.$1" }],
263
+ [
264
+ /[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,
265
+ {
266
+ cases: {
267
+ "@typeKeywords": "keyword.type",
268
+ "@keywords": "keyword",
269
+ "@supportConstants": "keyword",
270
+ "@supportMacros": "keyword",
271
+ "@constants": "keyword",
272
+ "@default": "identifier"
273
+ }
274
+ }
275
+ ],
276
+ [/\$/, "identifier"],
277
+ [/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/, "identifier"],
278
+ [/'(\S|@escapes)'/, "string.byteliteral"],
279
+ [/"/, { token: "string.quote", bracket: "@open", next: "@string" }],
280
+ { include: "@numbers" },
281
+ { include: "@whitespace" },
282
+ [
283
+ /@delimiters/,
284
+ {
285
+ cases: {
286
+ "@keywords": "keyword",
287
+ "@default": "delimiter"
288
+ }
289
+ }
290
+ ],
291
+ [/[{}()\[\]<>]/, "@brackets"],
292
+ [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }]
293
+ ],
294
+ whitespace: [
295
+ [/[ \t\r\n]+/, "white"],
296
+ [/\/\*/, "comment", "@comment"],
297
+ [/\/\/.*$/, "comment"]
298
+ ],
299
+ comment: [
300
+ [/[^\/*]+/, "comment"],
301
+ [/\/\*/, "comment", "@push"],
302
+ ["\\*/", "comment", "@pop"],
303
+ [/[\/*]/, "comment"]
304
+ ],
305
+ string: [
306
+ [/[^\\"]+/, "string"],
307
+ [/@escapes/, "string.escape"],
308
+ [/\\./, "string.escape.invalid"],
309
+ [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
310
+ ],
311
+ stringraw: [
312
+ [/[^"#]+/, { token: "string" }],
313
+ [
314
+ /"(#*)/,
315
+ {
316
+ cases: {
317
+ "$1==$S2": { token: "string.quote", bracket: "@close", next: "@pop" },
318
+ "@default": { token: "string" }
319
+ }
320
+ }
321
+ ],
322
+ [/["#]/, { token: "string" }]
323
+ ],
324
+ numbers: [
325
+ [/(0o[0-7_]+)(@intSuffixes)?/, { token: "number" }],
326
+ [/(0b[0-1_]+)(@intSuffixes)?/, { token: "number" }],
327
+ [/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/, { token: "number" }],
328
+ [/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/, { token: "number" }],
329
+ [/(0x[\da-fA-F]+)_?(@intSuffixes)?/, { token: "number" }],
330
+ [/[\d][\d_]*(@intSuffixes?)?/, { token: "number" }]
331
+ ]
332
+ }
333
+ };
334
+ export {
335
+ e as conf,
336
+ t as language
337
+ };
@@ -0,0 +1,110 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ comments: {
9
+ lineComment: "'"
10
+ },
11
+ brackets: [
12
+ ["(", ")"],
13
+ ["[", "]"],
14
+ ["If", "EndIf"],
15
+ ["While", "EndWhile"],
16
+ ["For", "EndFor"],
17
+ ["Sub", "EndSub"]
18
+ ],
19
+ autoClosingPairs: [
20
+ { open: '"', close: '"', notIn: ["string", "comment"] },
21
+ { open: "(", close: ")", notIn: ["string", "comment"] },
22
+ { open: "[", close: "]", notIn: ["string", "comment"] }
23
+ ]
24
+ }, o = {
25
+ defaultToken: "",
26
+ tokenPostfix: ".sb",
27
+ ignoreCase: !0,
28
+ brackets: [
29
+ { token: "delimiter.array", open: "[", close: "]" },
30
+ { token: "delimiter.parenthesis", open: "(", close: ")" },
31
+ { token: "keyword.tag-if", open: "If", close: "EndIf" },
32
+ { token: "keyword.tag-while", open: "While", close: "EndWhile" },
33
+ { token: "keyword.tag-for", open: "For", close: "EndFor" },
34
+ { token: "keyword.tag-sub", open: "Sub", close: "EndSub" }
35
+ ],
36
+ keywords: [
37
+ "Else",
38
+ "ElseIf",
39
+ "EndFor",
40
+ "EndIf",
41
+ "EndSub",
42
+ "EndWhile",
43
+ "For",
44
+ "Goto",
45
+ "If",
46
+ "Step",
47
+ "Sub",
48
+ "Then",
49
+ "To",
50
+ "While"
51
+ ],
52
+ tagwords: ["If", "Sub", "While", "For"],
53
+ operators: [">", "<", "<>", "<=", ">=", "And", "Or", "+", "-", "*", "/", "="],
54
+ identifier: /[a-zA-Z_][\w]*/,
55
+ symbols: /[=><:+\-*\/%\.,]+/,
56
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
57
+ tokenizer: {
58
+ root: [
59
+ { include: "@whitespace" },
60
+ [/(@identifier)(?=[.])/, "type"],
61
+ [
62
+ /@identifier/,
63
+ {
64
+ cases: {
65
+ "@keywords": { token: "keyword.$0" },
66
+ "@operators": "operator",
67
+ "@default": "variable.name"
68
+ }
69
+ }
70
+ ],
71
+ [
72
+ /([.])(@identifier)/,
73
+ {
74
+ cases: {
75
+ $2: ["delimiter", "type.member"],
76
+ "@default": ""
77
+ }
78
+ }
79
+ ],
80
+ [/\d*\.\d+/, "number.float"],
81
+ [/\d+/, "number"],
82
+ [/[()\[\]]/, "@brackets"],
83
+ [
84
+ /@symbols/,
85
+ {
86
+ cases: {
87
+ "@operators": "operator",
88
+ "@default": "delimiter"
89
+ }
90
+ }
91
+ ],
92
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
93
+ [/"/, "string", "@string"]
94
+ ],
95
+ whitespace: [
96
+ [/[ \t\r\n]+/, ""],
97
+ [/(\').*$/, "comment"]
98
+ ],
99
+ string: [
100
+ [/[^\\"]+/, "string"],
101
+ [/@escapes/, "string.escape"],
102
+ [/\\./, "string.escape.invalid"],
103
+ [/"C?/, "string", "@pop"]
104
+ ]
105
+ }
106
+ };
107
+ export {
108
+ e as conf,
109
+ o as language
110
+ };