form-imagining 0.0.6 → 0.0.8

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-0bcb1554.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 +1978 -102
  28. package/dist/freemarker2-4d8e8e55.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-c43672f7.js +392 -0
  33. package/dist/hcl-b3994d8f.js +177 -0
  34. package/dist/html-c6099a2e.js +282 -0
  35. package/dist/htmlMode-31c10440.js +1457 -0
  36. package/dist/index-a3197e12.js +122055 -0
  37. package/dist/ini-df84509a.js +68 -0
  38. package/dist/java-fba3d046.js +221 -0
  39. package/dist/javascript-ac2b4ae2.js +77 -0
  40. package/dist/jsonMode-36333022.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-b5021331.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-bbae5f86.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-fc373d9f.js +260 -0
  66. package/dist/qsharp-1450aac5.js +282 -0
  67. package/dist/r-a0642b90.js +245 -0
  68. package/dist/razor-1e9d135a.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-ea3b05db.js +815 -0
  89. package/dist/twig-80c3dc23.js +323 -0
  90. package/dist/typescript-b2ef5e0f.js +329 -0
  91. package/dist/vb-32089525.js +364 -0
  92. package/dist/wgsl-e681d5a0.js +420 -0
  93. package/dist/xml-579a5775.js +96 -0
  94. package/dist/yaml-c31c56b7.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,644 @@
1
+ import { m as F } from "./index-a3197e12.js";
2
+ import "vue";
3
+ /*!-----------------------------------------------------------------------------
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
6
+ * Released under the MIT license
7
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
+ *-----------------------------------------------------------------------------*/
9
+ var b = Object.defineProperty, x = Object.getOwnPropertyDescriptor, $ = Object.getOwnPropertyNames, v = Object.prototype.hasOwnProperty, g = (t, n, _, e) => {
10
+ if (n && typeof n == "object" || typeof n == "function")
11
+ for (let o of $(n))
12
+ !v.call(t, o) && o !== _ && b(t, o, { get: () => n[o], enumerable: !(e = x(n, o)) || e.enumerable });
13
+ return t;
14
+ }, E = (t, n, _) => (g(t, n, "default"), _ && g(_, n, "default")), r = {};
15
+ E(r, F);
16
+ var d = [
17
+ "assign",
18
+ "flush",
19
+ "ftl",
20
+ "return",
21
+ "global",
22
+ "import",
23
+ "include",
24
+ "break",
25
+ "continue",
26
+ "local",
27
+ "nested",
28
+ "nt",
29
+ "setting",
30
+ "stop",
31
+ "t",
32
+ "lt",
33
+ "rt",
34
+ "fallback"
35
+ ], s = [
36
+ "attempt",
37
+ "autoesc",
38
+ "autoEsc",
39
+ "compress",
40
+ "comment",
41
+ "escape",
42
+ "noescape",
43
+ "function",
44
+ "if",
45
+ "list",
46
+ "items",
47
+ "sep",
48
+ "macro",
49
+ "noparse",
50
+ "noParse",
51
+ "noautoesc",
52
+ "noAutoEsc",
53
+ "outputformat",
54
+ "switch",
55
+ "visit",
56
+ "recurse"
57
+ ], a = {
58
+ close: ">",
59
+ id: "angle",
60
+ open: "<"
61
+ }, u = {
62
+ close: "\\]",
63
+ id: "bracket",
64
+ open: "\\["
65
+ }, D = {
66
+ close: "[>\\]]",
67
+ id: "auto",
68
+ open: "[<\\[]"
69
+ }, k = {
70
+ close: "\\}",
71
+ id: "dollar",
72
+ open1: "\\$",
73
+ open2: "\\{"
74
+ }, p = {
75
+ close: "\\]",
76
+ id: "bracket",
77
+ open1: "\\[",
78
+ open2: "="
79
+ };
80
+ function l(t) {
81
+ return {
82
+ brackets: [
83
+ ["<", ">"],
84
+ ["[", "]"],
85
+ ["(", ")"],
86
+ ["{", "}"]
87
+ ],
88
+ comments: {
89
+ blockComment: [`${t.open}--`, `--${t.close}`]
90
+ },
91
+ autoCloseBefore: `
92
+ \r }]),.:;=`,
93
+ autoClosingPairs: [
94
+ { open: "{", close: "}" },
95
+ { open: "[", close: "]" },
96
+ { open: "(", close: ")" },
97
+ { open: '"', close: '"', notIn: ["string"] },
98
+ { open: "'", close: "'", notIn: ["string"] }
99
+ ],
100
+ surroundingPairs: [
101
+ { open: '"', close: '"' },
102
+ { open: "'", close: "'" },
103
+ { open: "{", close: "}" },
104
+ { open: "[", close: "]" },
105
+ { open: "(", close: ")" },
106
+ { open: "<", close: ">" }
107
+ ],
108
+ folding: {
109
+ markers: {
110
+ start: new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
111
+ end: new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
112
+ }
113
+ },
114
+ onEnterRules: [
115
+ {
116
+ beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
117
+ afterText: new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),
118
+ action: {
119
+ indentAction: r.languages.IndentAction.IndentOutdent
120
+ }
121
+ },
122
+ {
123
+ beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
124
+ action: { indentAction: r.languages.IndentAction.Indent }
125
+ }
126
+ ]
127
+ };
128
+ }
129
+ function A() {
130
+ return {
131
+ brackets: [
132
+ ["<", ">"],
133
+ ["[", "]"],
134
+ ["(", ")"],
135
+ ["{", "}"]
136
+ ],
137
+ autoCloseBefore: `
138
+ \r }]),.:;=`,
139
+ autoClosingPairs: [
140
+ { open: "{", close: "}" },
141
+ { open: "[", close: "]" },
142
+ { open: "(", close: ")" },
143
+ { open: '"', close: '"', notIn: ["string"] },
144
+ { open: "'", close: "'", notIn: ["string"] }
145
+ ],
146
+ surroundingPairs: [
147
+ { open: '"', close: '"' },
148
+ { open: "'", close: "'" },
149
+ { open: "{", close: "}" },
150
+ { open: "[", close: "]" },
151
+ { open: "(", close: ")" },
152
+ { open: "<", close: ">" }
153
+ ],
154
+ folding: {
155
+ markers: {
156
+ start: new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),
157
+ end: new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
158
+ }
159
+ },
160
+ onEnterRules: [
161
+ {
162
+ beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
163
+ afterText: new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),
164
+ action: {
165
+ indentAction: r.languages.IndentAction.IndentOutdent
166
+ }
167
+ },
168
+ {
169
+ beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
170
+ action: { indentAction: r.languages.IndentAction.Indent }
171
+ }
172
+ ]
173
+ };
174
+ }
175
+ function i(t, n) {
176
+ const _ = `_${t.id}_${n.id}`, e = (c) => c.replace(/__id__/g, _), o = (c) => {
177
+ const f = c.source.replace(/__id__/g, _);
178
+ return new RegExp(f, c.flags);
179
+ };
180
+ return {
181
+ unicode: !0,
182
+ includeLF: !1,
183
+ start: e("default__id__"),
184
+ ignoreCase: !1,
185
+ defaultToken: "invalid",
186
+ tokenPostfix: ".freemarker2",
187
+ brackets: [
188
+ { open: "{", close: "}", token: "delimiter.curly" },
189
+ { open: "[", close: "]", token: "delimiter.square" },
190
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
191
+ { open: "<", close: ">", token: "delimiter.angle" }
192
+ ],
193
+ [e("open__id__")]: new RegExp(t.open),
194
+ [e("close__id__")]: new RegExp(t.close),
195
+ [e("iOpen1__id__")]: new RegExp(n.open1),
196
+ [e("iOpen2__id__")]: new RegExp(n.open2),
197
+ [e("iClose__id__")]: new RegExp(n.close),
198
+ [e("startTag__id__")]: o(/(@open__id__)(#)/),
199
+ [e("endTag__id__")]: o(/(@open__id__)(\/#)/),
200
+ [e("startOrEndTag__id__")]: o(/(@open__id__)(\/?#)/),
201
+ [e("closeTag1__id__")]: o(/((?:@blank)*)(@close__id__)/),
202
+ [e("closeTag2__id__")]: o(/((?:@blank)*\/?)(@close__id__)/),
203
+ blank: /[ \t\n\r]/,
204
+ keywords: ["false", "true", "in", "as", "using"],
205
+ directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,
206
+ directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,
207
+ directiveStartBlank: /if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,
208
+ directiveEndCloseTag1: /if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,
209
+ escapedChar: /\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,
210
+ asciiDigit: /[0-9]/,
211
+ integer: /[0-9]+/,
212
+ nonEscapedIdStartChar: /[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,
213
+ escapedIdChar: /\\[\-\.:#]/,
214
+ idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,
215
+ id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,
216
+ specialHashKeys: /\*\*|\*|false|true|in|as|using/,
217
+ namedSymbols: /&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,
218
+ arrows: ["->", "-&gt;"],
219
+ delimiters: [";", ":", ",", "."],
220
+ stringOperators: ["lte", "lt", "gte", "gt"],
221
+ noParseTags: ["noparse", "noParse", "comment"],
222
+ tokenizer: {
223
+ [e("default__id__")]: [
224
+ { include: e("@directive_token__id__") },
225
+ { include: e("@interpolation_and_text_token__id__") }
226
+ ],
227
+ [e("fmExpression__id__.directive")]: [
228
+ { include: e("@blank_and_expression_comment_token__id__") },
229
+ { include: e("@directive_end_token__id__") },
230
+ { include: e("@expression_token__id__") }
231
+ ],
232
+ [e("fmExpression__id__.interpolation")]: [
233
+ { include: e("@blank_and_expression_comment_token__id__") },
234
+ { include: e("@expression_token__id__") },
235
+ { include: e("@greater_operators_token__id__") }
236
+ ],
237
+ [e("inParen__id__.plain")]: [
238
+ { include: e("@blank_and_expression_comment_token__id__") },
239
+ { include: e("@directive_end_token__id__") },
240
+ { include: e("@expression_token__id__") }
241
+ ],
242
+ [e("inParen__id__.gt")]: [
243
+ { include: e("@blank_and_expression_comment_token__id__") },
244
+ { include: e("@expression_token__id__") },
245
+ { include: e("@greater_operators_token__id__") }
246
+ ],
247
+ [e("noSpaceExpression__id__")]: [
248
+ { include: e("@no_space_expression_end_token__id__") },
249
+ { include: e("@directive_end_token__id__") },
250
+ { include: e("@expression_token__id__") }
251
+ ],
252
+ [e("unifiedCall__id__")]: [{ include: e("@unified_call_token__id__") }],
253
+ [e("singleString__id__")]: [{ include: e("@string_single_token__id__") }],
254
+ [e("doubleString__id__")]: [{ include: e("@string_double_token__id__") }],
255
+ [e("rawSingleString__id__")]: [{ include: e("@string_single_raw_token__id__") }],
256
+ [e("rawDoubleString__id__")]: [{ include: e("@string_double_raw_token__id__") }],
257
+ [e("expressionComment__id__")]: [{ include: e("@expression_comment_token__id__") }],
258
+ [e("noParse__id__")]: [{ include: e("@no_parse_token__id__") }],
259
+ [e("terseComment__id__")]: [{ include: e("@terse_comment_token__id__") }],
260
+ [e("directive_token__id__")]: [
261
+ [
262
+ o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),
263
+ t.id === "auto" ? {
264
+ cases: {
265
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
266
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
267
+ }
268
+ } : [
269
+ { token: "@brackets.directive" },
270
+ { token: "delimiter.directive" },
271
+ {
272
+ cases: {
273
+ "@noParseTags": { token: "tag", next: e("@noParse__id__.$3") },
274
+ "@default": { token: "tag" }
275
+ }
276
+ },
277
+ { token: "delimiter.directive" },
278
+ { token: "@brackets.directive" }
279
+ ]
280
+ ],
281
+ [
282
+ o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),
283
+ t.id === "auto" ? {
284
+ cases: {
285
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
286
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
287
+ }
288
+ } : [
289
+ { token: "@brackets.directive" },
290
+ { token: "delimiter.directive" },
291
+ { token: "tag" },
292
+ { token: "delimiter.directive" },
293
+ { token: "@brackets.directive" }
294
+ ]
295
+ ],
296
+ [
297
+ o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),
298
+ t.id === "auto" ? {
299
+ cases: {
300
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
301
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
302
+ }
303
+ } : [
304
+ { token: "@brackets.directive" },
305
+ { token: "delimiter.directive" },
306
+ { token: "tag" },
307
+ { token: "", next: e("@fmExpression__id__.directive") }
308
+ ]
309
+ ],
310
+ [
311
+ o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),
312
+ t.id === "auto" ? {
313
+ cases: {
314
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
315
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
316
+ }
317
+ } : [
318
+ { token: "@brackets.directive" },
319
+ { token: "delimiter.directive" },
320
+ { token: "tag" },
321
+ { token: "delimiter.directive" },
322
+ { token: "@brackets.directive" }
323
+ ]
324
+ ],
325
+ [
326
+ o(/(@open__id__)(@)/),
327
+ t.id === "auto" ? {
328
+ cases: {
329
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
330
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
331
+ }
332
+ } : [
333
+ { token: "@brackets.directive" },
334
+ { token: "delimiter.directive", next: e("@unifiedCall__id__") }
335
+ ]
336
+ ],
337
+ [
338
+ o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),
339
+ [
340
+ { token: "@brackets.directive" },
341
+ { token: "delimiter.directive" },
342
+ { token: "tag" },
343
+ { token: "delimiter.directive" },
344
+ { token: "@brackets.directive" }
345
+ ]
346
+ ],
347
+ [
348
+ o(/(@open__id__)#--/),
349
+ t.id === "auto" ? {
350
+ cases: {
351
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
352
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
353
+ }
354
+ } : { token: "comment", next: e("@terseComment__id__") }
355
+ ],
356
+ [
357
+ o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),
358
+ t.id === "auto" ? {
359
+ cases: {
360
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
361
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
362
+ }
363
+ } : [
364
+ { token: "@brackets.directive" },
365
+ { token: "delimiter.directive" },
366
+ { token: "tag.invalid", next: e("@fmExpression__id__.directive") }
367
+ ]
368
+ ]
369
+ ],
370
+ [e("interpolation_and_text_token__id__")]: [
371
+ [
372
+ o(/(@iOpen1__id__)(@iOpen2__id__)/),
373
+ [
374
+ { token: n.id === "bracket" ? "@brackets.interpolation" : "delimiter.interpolation" },
375
+ {
376
+ token: n.id === "bracket" ? "delimiter.interpolation" : "@brackets.interpolation",
377
+ next: e("@fmExpression__id__.interpolation")
378
+ }
379
+ ]
380
+ ],
381
+ [/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/, { token: "source" }]
382
+ ],
383
+ [e("string_single_token__id__")]: [
384
+ [/[^'\\]/, { token: "string" }],
385
+ [/@escapedChar/, { token: "string.escape" }],
386
+ [/'/, { token: "string", next: "@pop" }]
387
+ ],
388
+ [e("string_double_token__id__")]: [
389
+ [/[^"\\]/, { token: "string" }],
390
+ [/@escapedChar/, { token: "string.escape" }],
391
+ [/"/, { token: "string", next: "@pop" }]
392
+ ],
393
+ [e("string_single_raw_token__id__")]: [
394
+ [/[^']+/, { token: "string.raw" }],
395
+ [/'/, { token: "string.raw", next: "@pop" }]
396
+ ],
397
+ [e("string_double_raw_token__id__")]: [
398
+ [/[^"]+/, { token: "string.raw" }],
399
+ [/"/, { token: "string.raw", next: "@pop" }]
400
+ ],
401
+ [e("expression_token__id__")]: [
402
+ [
403
+ /(r?)(['"])/,
404
+ {
405
+ cases: {
406
+ "r'": [
407
+ { token: "keyword" },
408
+ { token: "string.raw", next: e("@rawSingleString__id__") }
409
+ ],
410
+ 'r"': [
411
+ { token: "keyword" },
412
+ { token: "string.raw", next: e("@rawDoubleString__id__") }
413
+ ],
414
+ "'": [{ token: "source" }, { token: "string", next: e("@singleString__id__") }],
415
+ '"': [{ token: "source" }, { token: "string", next: e("@doubleString__id__") }]
416
+ }
417
+ }
418
+ ],
419
+ [
420
+ /(?:@integer)(?:\.(?:@integer))?/,
421
+ {
422
+ cases: {
423
+ "(?:@integer)": { token: "number" },
424
+ "@default": { token: "number.float" }
425
+ }
426
+ }
427
+ ],
428
+ [
429
+ /(\.)(@blank*)(@specialHashKeys)/,
430
+ [{ token: "delimiter" }, { token: "" }, { token: "identifier" }]
431
+ ],
432
+ [
433
+ /(?:@namedSymbols)/,
434
+ {
435
+ cases: {
436
+ "@arrows": { token: "meta.arrow" },
437
+ "@delimiters": { token: "delimiter" },
438
+ "@default": { token: "operators" }
439
+ }
440
+ }
441
+ ],
442
+ [
443
+ /@id/,
444
+ {
445
+ cases: {
446
+ "@keywords": { token: "keyword.$0" },
447
+ "@stringOperators": { token: "operators" },
448
+ "@default": { token: "identifier" }
449
+ }
450
+ }
451
+ ],
452
+ [
453
+ /[\[\]\(\)\{\}]/,
454
+ {
455
+ cases: {
456
+ "\\[": {
457
+ cases: {
458
+ "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
459
+ "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
460
+ }
461
+ },
462
+ "\\]": {
463
+ cases: {
464
+ ...n.id === "bracket" ? {
465
+ "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
466
+ } : {},
467
+ ...t.id === "bracket" ? {
468
+ "$S2==directive": { token: "@brackets.directive", next: "@popall" }
469
+ } : {},
470
+ [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
471
+ "@default": { token: "@brackets" }
472
+ }
473
+ },
474
+ "\\(": { token: "@brackets", next: e("@inParen__id__.gt") },
475
+ "\\)": {
476
+ cases: {
477
+ [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
478
+ "@default": { token: "@brackets" }
479
+ }
480
+ },
481
+ "\\{": {
482
+ cases: {
483
+ "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
484
+ "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
485
+ }
486
+ },
487
+ "\\}": {
488
+ cases: {
489
+ ...n.id === "bracket" ? {} : {
490
+ "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
491
+ },
492
+ [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
493
+ "@default": { token: "@brackets" }
494
+ }
495
+ }
496
+ }
497
+ }
498
+ ],
499
+ [/\$\{/, { token: "delimiter.invalid" }]
500
+ ],
501
+ [e("blank_and_expression_comment_token__id__")]: [
502
+ [/(?:@blank)+/, { token: "" }],
503
+ [/[<\[][#!]--/, { token: "comment", next: e("@expressionComment__id__") }]
504
+ ],
505
+ [e("directive_end_token__id__")]: [
506
+ [
507
+ />/,
508
+ t.id === "bracket" ? { token: "operators" } : { token: "@brackets.directive", next: "@popall" }
509
+ ],
510
+ [
511
+ o(/(\/)(@close__id__)/),
512
+ [{ token: "delimiter.directive" }, { token: "@brackets.directive", next: "@popall" }]
513
+ ]
514
+ ],
515
+ [e("greater_operators_token__id__")]: [
516
+ [/>/, { token: "operators" }],
517
+ [/>=/, { token: "operators" }]
518
+ ],
519
+ [e("no_space_expression_end_token__id__")]: [
520
+ [/(?:@blank)+/, { token: "", switchTo: e("@fmExpression__id__.directive") }]
521
+ ],
522
+ [e("unified_call_token__id__")]: [
523
+ [
524
+ /(@id)((?:@blank)+)/,
525
+ [{ token: "tag" }, { token: "", next: e("@fmExpression__id__.directive") }]
526
+ ],
527
+ [
528
+ o(/(@id)(\/?)(@close__id__)/),
529
+ [
530
+ { token: "tag" },
531
+ { token: "delimiter.directive" },
532
+ { token: "@brackets.directive", next: "@popall" }
533
+ ]
534
+ ],
535
+ [/./, { token: "@rematch", next: e("@noSpaceExpression__id__") }]
536
+ ],
537
+ [e("no_parse_token__id__")]: [
538
+ [
539
+ o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),
540
+ {
541
+ cases: {
542
+ "$S2==$3": [
543
+ { token: "@brackets.directive" },
544
+ { token: "delimiter.directive" },
545
+ { token: "tag" },
546
+ { token: "" },
547
+ { token: "@brackets.directive", next: "@popall" }
548
+ ],
549
+ "$S2==comment": [
550
+ { token: "comment" },
551
+ { token: "comment" },
552
+ { token: "comment" },
553
+ { token: "comment" },
554
+ { token: "comment" }
555
+ ],
556
+ "@default": [
557
+ { token: "source" },
558
+ { token: "source" },
559
+ { token: "source" },
560
+ { token: "source" },
561
+ { token: "source" }
562
+ ]
563
+ }
564
+ }
565
+ ],
566
+ [
567
+ /[^<\[\-]+|[<\[\-]/,
568
+ {
569
+ cases: {
570
+ "$S2==comment": { token: "comment" },
571
+ "@default": { token: "source" }
572
+ }
573
+ }
574
+ ]
575
+ ],
576
+ [e("expression_comment_token__id__")]: [
577
+ [
578
+ /--[>\]]/,
579
+ {
580
+ token: "comment",
581
+ next: "@pop"
582
+ }
583
+ ],
584
+ [/[^\->\]]+|[>\]\-]/, { token: "comment" }]
585
+ ],
586
+ [e("terse_comment_token__id__")]: [
587
+ [o(/--(?:@close__id__)/), { token: "comment", next: "@popall" }],
588
+ [/[^<\[\-]+|[<\[\-]/, { token: "comment" }]
589
+ ]
590
+ }
591
+ };
592
+ }
593
+ function m(t) {
594
+ const n = i(a, t), _ = i(u, t), e = i(D, t);
595
+ return {
596
+ ...n,
597
+ ..._,
598
+ ...e,
599
+ unicode: !0,
600
+ includeLF: !1,
601
+ start: `default_auto_${t.id}`,
602
+ ignoreCase: !1,
603
+ defaultToken: "invalid",
604
+ tokenPostfix: ".freemarker2",
605
+ brackets: [
606
+ { open: "{", close: "}", token: "delimiter.curly" },
607
+ { open: "[", close: "]", token: "delimiter.square" },
608
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
609
+ { open: "<", close: ">", token: "delimiter.angle" }
610
+ ],
611
+ tokenizer: {
612
+ ...n.tokenizer,
613
+ ..._.tokenizer,
614
+ ...e.tokenizer
615
+ }
616
+ };
617
+ }
618
+ var w = {
619
+ conf: l(a),
620
+ language: i(a, k)
621
+ }, T = {
622
+ conf: l(u),
623
+ language: i(u, k)
624
+ }, h = {
625
+ conf: l(a),
626
+ language: i(a, p)
627
+ }, S = {
628
+ conf: l(u),
629
+ language: i(u, p)
630
+ }, P = {
631
+ conf: A(),
632
+ language: m(k)
633
+ }, y = {
634
+ conf: A(),
635
+ language: m(p)
636
+ };
637
+ export {
638
+ h as TagAngleInterpolationBracket,
639
+ w as TagAngleInterpolationDollar,
640
+ y as TagAutoInterpolationBracket,
641
+ P as TagAutoInterpolationDollar,
642
+ S as TagBracketInterpolationBracket,
643
+ T as TagBracketInterpolationDollar
644
+ };