form-imagining 0.0.92-beta2 → 0.0.92-beta3

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 (57) hide show
  1. package/dist/App-BtkDkcdK.js +32 -0
  2. package/dist/Area-DLF4dKyb.js +4 -0
  3. package/dist/Bar-g-UJZxZz.js +4 -0
  4. package/dist/ChartsArea-Dya2T0Hf.js +4 -0
  5. package/dist/ChartsBar-CVO6LNSb.js +4 -0
  6. package/dist/ChartsPie-BzuLpsbV.js +4 -0
  7. package/dist/CheckBoxModel-hSZd0YyP.js +4 -0
  8. package/dist/Col-BiZex8OV.js +4 -0
  9. package/dist/Collapse-ObYssHj6.js +4 -0
  10. package/dist/CommonText copy-DfObA3kp.js +189 -0
  11. package/dist/Demo-Dwy222GW.js +72 -0
  12. package/dist/Demo-TdNyclAe.js +201 -0
  13. package/dist/FView-B3MnQkCE.js +4 -0
  14. package/dist/FX-DaGuj_pg.js +4 -0
  15. package/dist/FormGridCopy-DuV9Ni27.js +168 -0
  16. package/dist/FormImagining-mMqPn9Ll.js +9 -0
  17. package/dist/GenerateForm-RTuqKBFk.js +4 -0
  18. package/dist/GenerateReport-CYWOUnXC.js +4 -0
  19. package/dist/HelloWorld-BeqAgIrc.js +9 -0
  20. package/dist/Input-/345/210/240/351/231/244-bH-Y8vY6.js +87 -0
  21. package/dist/Label-/345/210/240/351/231/244-Cq2Ayj6E.js +92 -0
  22. package/dist/LabelModel-B6Hvk81c.js +4 -0
  23. package/dist/Login-cwLdgf2n.js +9 -0
  24. package/dist/Pie-Jo6W9CJB.js +4 -0
  25. package/dist/PropertyIndex-B-NHOEV0.js +4 -0
  26. package/dist/RView-oDLUM6Lo.js +4 -0
  27. package/dist/SqlModule-JAqDy8bK.js +4 -0
  28. package/dist/SvgIconCopy-B0GIGBZv.js +39 -0
  29. package/dist/TableBtnModal-CApZwv92.js +4 -0
  30. package/dist/TextModel-CzAuMCPf.js +9 -0
  31. package/dist/childForm-iXdTPSZL.js +4 -0
  32. package/dist/cssMode-HBTpfptp.js +1577 -0
  33. package/dist/form-imagining.js +1 -1
  34. package/dist/form-imagining.umd.cjs +2 -2
  35. package/dist/formTest-BBmM88LZ.js +19 -0
  36. package/dist/freemarker2-CDFH8CaW.js +995 -0
  37. package/dist/handlebars-Dp4NcSjN.js +425 -0
  38. package/dist/html-DJqtjUfW.js +314 -0
  39. package/dist/htmlMode-CA0fDGcQ.js +1587 -0
  40. package/dist/index - /345/211/257/346/234/254-8Cr7tC3N.js" +531 -0
  41. package/dist/index-Bux9hm-L.js +300191 -0
  42. package/dist/index-C7qdpjIL.js +36 -0
  43. package/dist/index-CK6F3EQf.js +11 -0
  44. package/dist/index-DUW9FD08.js +3323 -0
  45. package/dist/javascript-D1TTqDJv.js +76 -0
  46. package/dist/jsonMode-DEavh37X.js +2002 -0
  47. package/dist/liquid-Bc0jxNGA.js +246 -0
  48. package/dist/mdx-CYm1NWQD.js +171 -0
  49. package/dist/python-BPeneLIu.js +307 -0
  50. package/dist/razor-CuQONhZ_.js +556 -0
  51. package/dist/tableSelectDemo-EkGJqe7z.js +134 -0
  52. package/dist/tableSelectDemo2-B92XBNnl.js +108 -0
  53. package/dist/tsMode-Dpzp6hEL.js +895 -0
  54. package/dist/typescript-D4uhirbI.js +349 -0
  55. package/dist/xml-BFVowNZ0.js +101 -0
  56. package/dist/yaml-WbjWgGoS.js +212 -0
  57. package/package.json +1 -1
@@ -0,0 +1,246 @@
1
+ import { aq as l } from "./index-Bux9hm-L.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 d = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, m = (t, e, r, n) => {
9
+ if (e && typeof e == "object" || typeof e == "function")
10
+ for (let i of c(e))
11
+ !u.call(t, i) && i !== r && d(t, i, { get: () => e[i], enumerable: !(n = s(e, i)) || n.enumerable });
12
+ return t;
13
+ }, p = (t, e, r) => (m(t, e, "default"), r), o = {};
14
+ p(o, l);
15
+ var a = [
16
+ "area",
17
+ "base",
18
+ "br",
19
+ "col",
20
+ "embed",
21
+ "hr",
22
+ "img",
23
+ "input",
24
+ "keygen",
25
+ "link",
26
+ "menuitem",
27
+ "meta",
28
+ "param",
29
+ "source",
30
+ "track",
31
+ "wbr"
32
+ ], g = {
33
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
34
+ brackets: [
35
+ ["<!--", "-->"],
36
+ ["<", ">"],
37
+ ["{{", "}}"],
38
+ ["{%", "%}"],
39
+ ["{", "}"],
40
+ ["(", ")"]
41
+ ],
42
+ autoClosingPairs: [
43
+ { open: "{", close: "}" },
44
+ { open: "%", close: "%" },
45
+ { open: "[", close: "]" },
46
+ { open: "(", close: ")" },
47
+ { open: '"', close: '"' },
48
+ { open: "'", close: "'" }
49
+ ],
50
+ surroundingPairs: [
51
+ { open: "<", close: ">" },
52
+ { open: '"', close: '"' },
53
+ { open: "'", close: "'" }
54
+ ],
55
+ onEnterRules: [
56
+ {
57
+ beforeText: new RegExp(
58
+ `<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
59
+ "i"
60
+ ),
61
+ afterText: /^<\/(\w[\w\d]*)\s*>$/i,
62
+ action: {
63
+ indentAction: o.languages.IndentAction.IndentOutdent
64
+ }
65
+ },
66
+ {
67
+ beforeText: new RegExp(
68
+ `<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
69
+ "i"
70
+ ),
71
+ action: { indentAction: o.languages.IndentAction.Indent }
72
+ }
73
+ ]
74
+ }, _ = {
75
+ defaultToken: "",
76
+ tokenPostfix: "",
77
+ builtinTags: [
78
+ "if",
79
+ "else",
80
+ "elseif",
81
+ "endif",
82
+ "render",
83
+ "assign",
84
+ "capture",
85
+ "endcapture",
86
+ "case",
87
+ "endcase",
88
+ "comment",
89
+ "endcomment",
90
+ "cycle",
91
+ "decrement",
92
+ "for",
93
+ "endfor",
94
+ "include",
95
+ "increment",
96
+ "layout",
97
+ "raw",
98
+ "endraw",
99
+ "render",
100
+ "tablerow",
101
+ "endtablerow",
102
+ "unless",
103
+ "endunless"
104
+ ],
105
+ builtinFilters: [
106
+ "abs",
107
+ "append",
108
+ "at_least",
109
+ "at_most",
110
+ "capitalize",
111
+ "ceil",
112
+ "compact",
113
+ "date",
114
+ "default",
115
+ "divided_by",
116
+ "downcase",
117
+ "escape",
118
+ "escape_once",
119
+ "first",
120
+ "floor",
121
+ "join",
122
+ "json",
123
+ "last",
124
+ "lstrip",
125
+ "map",
126
+ "minus",
127
+ "modulo",
128
+ "newline_to_br",
129
+ "plus",
130
+ "prepend",
131
+ "remove",
132
+ "remove_first",
133
+ "replace",
134
+ "replace_first",
135
+ "reverse",
136
+ "round",
137
+ "rstrip",
138
+ "size",
139
+ "slice",
140
+ "sort",
141
+ "sort_natural",
142
+ "split",
143
+ "strip",
144
+ "strip_html",
145
+ "strip_newlines",
146
+ "times",
147
+ "truncate",
148
+ "truncatewords",
149
+ "uniq",
150
+ "upcase",
151
+ "url_decode",
152
+ "url_encode",
153
+ "where"
154
+ ],
155
+ constants: ["true", "false"],
156
+ operators: ["==", "!=", ">", "<", ">=", "<="],
157
+ symbol: /[=><!]+/,
158
+ identifier: /[a-zA-Z_][\w]*/,
159
+ tokenizer: {
160
+ root: [
161
+ [/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
162
+ [/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
163
+ [/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
164
+ [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
165
+ [/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
166
+ [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
167
+ [/</, "delimiter.html"],
168
+ [/\{/, "delimiter.html"],
169
+ [/[^<{]+/]
170
+ // text
171
+ ],
172
+ comment: [
173
+ [/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
174
+ [/./, "comment.content.liquid"]
175
+ ],
176
+ otherTag: [
177
+ [
178
+ /\{\{/,
179
+ {
180
+ token: "@rematch",
181
+ switchTo: "@liquidState.otherTag"
182
+ }
183
+ ],
184
+ [
185
+ /\{\%/,
186
+ {
187
+ token: "@rematch",
188
+ switchTo: "@liquidState.otherTag"
189
+ }
190
+ ],
191
+ [/\/?>/, "delimiter.html", "@pop"],
192
+ [/"([^"]*)"/, "attribute.value"],
193
+ [/'([^']*)'/, "attribute.value"],
194
+ [/[\w\-]+/, "attribute.name"],
195
+ [/=/, "delimiter"],
196
+ [/[ \t\r\n]+/]
197
+ // whitespace
198
+ ],
199
+ liquidState: [
200
+ [/\{\{/, "delimiter.output.liquid"],
201
+ [/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
202
+ [/\{\%/, "delimiter.tag.liquid"],
203
+ [/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
204
+ [/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
205
+ { include: "liquidRoot" }
206
+ ],
207
+ liquidRaw: [
208
+ [/^(?!\{\%\s*endraw\s*\%\}).+/],
209
+ [/\{\%/, "delimiter.tag.liquid"],
210
+ [/@identifier/],
211
+ [/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
212
+ ],
213
+ liquidRoot: [
214
+ [/\d+(\.\d+)?/, "number.liquid"],
215
+ [/"[^"]*"/, "string.liquid"],
216
+ [/'[^']*'/, "string.liquid"],
217
+ [/\s+/],
218
+ [
219
+ /@symbol/,
220
+ {
221
+ cases: {
222
+ "@operators": "operator.liquid",
223
+ "@default": ""
224
+ }
225
+ }
226
+ ],
227
+ [/\./],
228
+ [
229
+ /@identifier/,
230
+ {
231
+ cases: {
232
+ "@constants": "keyword.liquid",
233
+ "@builtinFilters": "predefined.liquid",
234
+ "@builtinTags": "predefined.liquid",
235
+ "@default": "variable.liquid"
236
+ }
237
+ }
238
+ ],
239
+ [/[^}|%]/, "variable.liquid"]
240
+ ]
241
+ }
242
+ };
243
+ export {
244
+ g as conf,
245
+ _ as language
246
+ };
@@ -0,0 +1,171 @@
1
+ import { aq as s } from "./index-Bux9hm-L.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 d = Object.defineProperty, c = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, a = Object.prototype.hasOwnProperty, k = (n, e, i, r) => {
9
+ if (e && typeof e == "object" || typeof e == "function")
10
+ for (let o of p(e))
11
+ !a.call(n, o) && o !== i && d(n, o, { get: () => e[o], enumerable: !(r = c(e, o)) || r.enumerable });
12
+ return n;
13
+ }, l = (n, e, i) => (k(n, e, "default"), i), t = {};
14
+ l(t, s);
15
+ var m = {
16
+ comments: {
17
+ blockComment: ["{/*", "*/}"]
18
+ },
19
+ brackets: [["{", "}"]],
20
+ autoClosingPairs: [
21
+ { open: '"', close: '"' },
22
+ { open: "'", close: "'" },
23
+ { open: "“", close: "”" },
24
+ { open: "‘", close: "’" },
25
+ { open: "`", close: "`" },
26
+ { open: "{", close: "}" },
27
+ { open: "(", close: ")" },
28
+ { open: "_", close: "_" },
29
+ { open: "**", close: "**" },
30
+ { open: "<", close: ">" }
31
+ ],
32
+ onEnterRules: [
33
+ {
34
+ beforeText: /^\s*- .+/,
35
+ action: { indentAction: t.languages.IndentAction.None, appendText: "- " }
36
+ },
37
+ {
38
+ beforeText: /^\s*\+ .+/,
39
+ action: { indentAction: t.languages.IndentAction.None, appendText: "+ " }
40
+ },
41
+ {
42
+ beforeText: /^\s*\* .+/,
43
+ action: { indentAction: t.languages.IndentAction.None, appendText: "* " }
44
+ },
45
+ {
46
+ beforeText: /^> /,
47
+ action: { indentAction: t.languages.IndentAction.None, appendText: "> " }
48
+ },
49
+ {
50
+ beforeText: /<\w+/,
51
+ action: { indentAction: t.languages.IndentAction.Indent }
52
+ },
53
+ {
54
+ beforeText: /\s+>\s*$/,
55
+ action: { indentAction: t.languages.IndentAction.Indent }
56
+ },
57
+ {
58
+ beforeText: /<\/\w+>/,
59
+ action: { indentAction: t.languages.IndentAction.Outdent }
60
+ },
61
+ ...Array.from({ length: 100 }, (n, e) => ({
62
+ beforeText: new RegExp(`^${e}\\. .+`),
63
+ action: { indentAction: t.languages.IndentAction.None, appendText: `${e + 1}. ` }
64
+ }))
65
+ ]
66
+ }, b = {
67
+ defaultToken: "",
68
+ tokenPostfix: ".mdx",
69
+ control: /[!#()*+.[\\\]_`{}\-]/,
70
+ escapes: /\\@control/,
71
+ tokenizer: {
72
+ root: [
73
+ [/^---$/, { token: "meta.content", next: "@frontmatter", nextEmbedded: "yaml" }],
74
+ [/^\s*import/, { token: "keyword", next: "@import", nextEmbedded: "js" }],
75
+ [/^\s*export/, { token: "keyword", next: "@export", nextEmbedded: "js" }],
76
+ [/<\w+/, { token: "type.identifier", next: "@jsx" }],
77
+ [/<\/?\w+>/, "type.identifier"],
78
+ [
79
+ /^(\s*)(>*\s*)(#{1,6}\s)/,
80
+ [{ token: "white" }, { token: "comment" }, { token: "keyword", next: "@header" }]
81
+ ],
82
+ [/^(\s*)(>*\s*)([*+-])(\s+)/, ["white", "comment", "keyword", "white"]],
83
+ [/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/, ["white", "comment", "number", "white"]],
84
+ [/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/, ["white", "comment", "number", "white"]],
85
+ [/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/, ["white", "comment", "keyword"]],
86
+ [/`{3,}(\s.*)?$/, { token: "string", next: "@codeblock_backtick" }],
87
+ [/~{3,}(\s.*)?$/, { token: "string", next: "@codeblock_tilde" }],
88
+ [
89
+ /`{3,}(\S+).*$/,
90
+ { token: "string", next: "@codeblock_highlight_backtick", nextEmbedded: "$1" }
91
+ ],
92
+ [
93
+ /~{3,}(\S+).*$/,
94
+ { token: "string", next: "@codeblock_highlight_tilde", nextEmbedded: "$1" }
95
+ ],
96
+ [/^(\s*)(-{4,})$/, ["white", "comment"]],
97
+ [/^(\s*)(>+)/, ["white", "comment"]],
98
+ { include: "content" }
99
+ ],
100
+ content: [
101
+ [
102
+ /(\[)(.+)(]\()(.+)(\s+".*")(\))/,
103
+ ["", "string.link", "", "type.identifier", "string.link", ""]
104
+ ],
105
+ [/(\[)(.+)(]\()(.+)(\))/, ["", "type.identifier", "", "string.link", ""]],
106
+ [/(\[)(.+)(]\[)(.+)(])/, ["", "type.identifier", "", "type.identifier", ""]],
107
+ [/(\[)(.+)(]:\s+)(\S*)/, ["", "type.identifier", "", "string.link"]],
108
+ [/(\[)(.+)(])/, ["", "type.identifier", ""]],
109
+ [/`.*`/, "variable.source"],
110
+ [/_/, { token: "emphasis", next: "@emphasis_underscore" }],
111
+ [/\*(?!\*)/, { token: "emphasis", next: "@emphasis_asterisk" }],
112
+ [/\*\*/, { token: "strong", next: "@strong" }],
113
+ [/{/, { token: "delimiter.bracket", next: "@expression", nextEmbedded: "js" }]
114
+ ],
115
+ import: [[/'\s*(;|$)/, { token: "string", next: "@pop", nextEmbedded: "@pop" }]],
116
+ expression: [
117
+ [/{/, { token: "delimiter.bracket", next: "@expression" }],
118
+ [/}/, { token: "delimiter.bracket", next: "@pop", nextEmbedded: "@pop" }]
119
+ ],
120
+ export: [[/^\s*$/, { token: "delimiter.bracket", next: "@pop", nextEmbedded: "@pop" }]],
121
+ jsx: [
122
+ [/\s+/, ""],
123
+ [/(\w+)(=)("(?:[^"\\]|\\.)*")/, ["attribute.name", "operator", "string"]],
124
+ [/(\w+)(=)('(?:[^'\\]|\\.)*')/, ["attribute.name", "operator", "string"]],
125
+ [/(\w+(?=\s|>|={|$))/, ["attribute.name"]],
126
+ [/={/, { token: "delimiter.bracket", next: "@expression", nextEmbedded: "js" }],
127
+ [/>/, { token: "type.identifier", next: "@pop" }]
128
+ ],
129
+ header: [
130
+ [/.$/, { token: "keyword", next: "@pop" }],
131
+ { include: "content" },
132
+ [/./, { token: "keyword" }]
133
+ ],
134
+ strong: [
135
+ [/\*\*/, { token: "strong", next: "@pop" }],
136
+ { include: "content" },
137
+ [/./, { token: "strong" }]
138
+ ],
139
+ emphasis_underscore: [
140
+ [/_/, { token: "emphasis", next: "@pop" }],
141
+ { include: "content" },
142
+ [/./, { token: "emphasis" }]
143
+ ],
144
+ emphasis_asterisk: [
145
+ [/\*(?!\*)/, { token: "emphasis", next: "@pop" }],
146
+ { include: "content" },
147
+ [/./, { token: "emphasis" }]
148
+ ],
149
+ frontmatter: [[/^---$/, { token: "meta.content", nextEmbedded: "@pop", next: "@pop" }]],
150
+ codeblock_highlight_backtick: [
151
+ [/\s*`{3,}\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
152
+ [/.*$/, "variable.source"]
153
+ ],
154
+ codeblock_highlight_tilde: [
155
+ [/\s*~{3,}\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
156
+ [/.*$/, "variable.source"]
157
+ ],
158
+ codeblock_backtick: [
159
+ [/\s*`{3,}\s*$/, { token: "string", next: "@pop" }],
160
+ [/.*$/, "variable.source"]
161
+ ],
162
+ codeblock_tilde: [
163
+ [/\s*~{3,}\s*$/, { token: "string", next: "@pop" }],
164
+ [/.*$/, "variable.source"]
165
+ ]
166
+ }
167
+ };
168
+ export {
169
+ m as conf,
170
+ b as language
171
+ };