form-imagining 0.0.92-beta18 → 0.0.92-beta19
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-CAAZO9S9.js +32 -0
- package/dist/App-CUdwEKRG.js +32 -0
- package/dist/Area-BpNoVE8E.js +4 -0
- package/dist/Area-DBjSP3Y9.js +4 -0
- package/dist/Bar-C6ooL3FF.js +4 -0
- package/dist/Bar-CgLCDAHr.js +4 -0
- package/dist/ChartsArea-BFQJi84w.js +4 -0
- package/dist/ChartsArea-DDTvy400.js +4 -0
- package/dist/ChartsBar-CJ0X1KjC.js +4 -0
- package/dist/ChartsBar-DFTuG0LA.js +4 -0
- package/dist/ChartsPie-Cldf9FOv.js +4 -0
- package/dist/ChartsPie-Dj9JDrHi.js +4 -0
- package/dist/CheckBoxModel-CsTIi-xF.js +4 -0
- package/dist/CheckBoxModel-Dhvxmjpa.js +4 -0
- package/dist/Col-B_1G-Fil.js +4 -0
- package/dist/Col-xmXliqvU.js +4 -0
- package/dist/Collapse-BtD0WERD.js +4 -0
- package/dist/Collapse-CLKYiX4O.js +4 -0
- package/dist/{CommonText copy-CGxS2Qi7.js → CommonText copy-B2yj3G5b.js } +32 -32
- package/dist/CommonText copy-CRSyaL-1.js +189 -0
- package/dist/{Demo copy-Bux2O9AZ.js → Demo copy-CubdSIKo.js } +2 -2
- package/dist/{Demo-BzRVEJLn.js → Demo-BjeNq-DU.js} +21 -21
- package/dist/Demo-CmCJanEO.js +201 -0
- package/dist/{Demo-DVx3PIWg.js → Demo-D90lFuzo.js} +2 -2
- package/dist/Demo-DXm0EgtZ.js +72 -0
- package/dist/FView-B1lErBMF.js +4 -0
- package/dist/FView-DeTq-wJ3.js +4 -0
- package/dist/FX-DA_XCVlw.js +4 -0
- package/dist/FX-oFZuEtIR.js +4 -0
- package/dist/{Form-CE0VVIWD.js → Form-CsKlmwSd.js} +4 -4
- package/dist/{FormGridCopy-DEDMj3pk.js → FormGridCopy-C3Kukdxg.js} +36 -36
- package/dist/FormGridCopy-DN03FhE6.js +168 -0
- package/dist/{FormImagining-CuYGo7WU.js → FormImagining-BFd1dEJh.js} +1 -1
- package/dist/FormImagining-fy-ynI5-.js +9 -0
- package/dist/GenerateForm-BfQ4sBX4.js +4 -0
- package/dist/GenerateForm-DAwOJq-w.js +4 -0
- package/dist/GenerateReport-D-hnCMW7.js +4 -0
- package/dist/GenerateReport-DPBmcnAP.js +4 -0
- package/dist/{HelloWorld-h_Vl21wq.js → HelloWorld-B5h85HIU.js} +1 -1
- package/dist/HelloWorld-BaByWBAi.js +9 -0
- package/dist/Input-/345/210/240/351/231/{244-CW4crSu2.js → 244-BeE76j1B.js} +3 -3
- package/dist/Input-/345/210/240/351/231/244-DioOpwpw.js +87 -0
- package/dist/Label-/345/210/240/351/231/{244-CegZH5xZ.js → 244-BOUf-F9T.js} +5 -5
- package/dist/Label-/345/210/240/351/231/244-BozFgr0e.js +92 -0
- package/dist/LabelModel-C-Bbgyys.js +4 -0
- package/dist/LabelModel-D7-yXtBm.js +4 -0
- package/dist/{Login-SUqc9wWH.js → Login-DoEIHZ_m.js} +1 -1
- package/dist/Login-nK2_PTJH.js +9 -0
- package/dist/Pie-BU-qVEku.js +4 -0
- package/dist/Pie-Dk7uSF-M.js +4 -0
- package/dist/RView-AcFtF1kf.js +4 -0
- package/dist/RView-CRKNRRl9.js +4 -0
- package/dist/SqlModule-CnByP1k6.js +4 -0
- package/dist/SqlModule-GljcU_W2.js +4 -0
- package/dist/{SvgIconCopy-DtAYuQdF.js → SvgIconCopy-BFGR3ehL.js} +7 -7
- package/dist/SvgIconCopy-Bqa1HlQo.js +39 -0
- package/dist/TableBtnModal-BQit-SGu.js +4 -0
- package/dist/TableBtnModal-DdNht6Vl.js +4 -0
- package/dist/{TextModel-D4eIZfmj.js → TextModel-BxWU9Gq8.js} +1 -1
- package/dist/TextModel-CJ1aPc_4.js +9 -0
- package/dist/childForm-BkMXEK88.js +4 -0
- package/dist/childForm-gHGrBViT.js +4 -0
- package/dist/{cssMode-B_ZiewAH.js → cssMode-BWD8UR-7.js} +1 -1
- package/dist/cssMode-CkDPbB5M.js +1577 -0
- package/dist/form-imagining.js +9 -9
- package/dist/form-imagining.umd.cjs +251 -253
- package/dist/formTest-DfoY5NBn.js +19 -0
- package/dist/formTest-Dj0PZZ0E.js +19 -0
- package/dist/{freemarker2-BoVD1dnM.js → freemarker2-8TtD-XF5.js} +1 -1
- package/dist/freemarker2-B3T8IPQ1.js +995 -0
- package/dist/{handlebars-ifuhb0Lb.js → handlebars-C_BaW8Rn.js} +1 -1
- package/dist/handlebars-D6qKT-AB.js +425 -0
- package/dist/{html-DZYB8t03.js → html-C2G2dsUq.js} +1 -1
- package/dist/html-Ck1Wx24K.js +314 -0
- package/dist/{htmlMode-DOFueWmP.js → htmlMode-C9heZ-wD.js} +1 -1
- package/dist/htmlMode-DpQWRO56.js +1587 -0
- package/dist/index - /345/211/257/346/234/{254-CIbO8ZcU.js" → 254-5IgttBw9.js" } +38 -38
- package/dist/index - /345/211/257/346/234/254-Cz6y82wV.js" +531 -0
- package/dist/{index-DUBZV_5t.js → index-BJZgJsIz.js} +8047 -6120
- package/dist/index-C0BVVkDi.js +302291 -0
- package/dist/{index-DbGjikbV.js → index-CAd1Adx9.js} +4 -4
- package/dist/index-CeBR6sKj.js +36 -0
- package/dist/index-Cg3usEM6.js +3323 -0
- package/dist/index-CqmwavVi.js +3323 -0
- package/dist/index-DbbQdNO4.js +11 -0
- package/dist/index-cYrkAxdg.js +11 -0
- package/dist/{javascript-BtLKWUmq.js → javascript-BRI3Zb_9.js} +1 -1
- package/dist/javascript-C4Y-AWKe.js +76 -0
- package/dist/json/scope_type.json +6 -6
- package/dist/{jsonMode-CQYbYfxz.js → jsonMode-8xn8SfZQ.js} +1 -1
- package/dist/jsonMode-CPAKXxg0.js +2002 -0
- package/dist/{liquid-CHJI3hXR.js → liquid-DWxQbQ4c.js} +1 -1
- package/dist/liquid-ogK4Qu_y.js +246 -0
- package/dist/{mdx-JvfMqEkP.js → mdx-6wJfcYzW.js} +1 -1
- package/dist/mdx-BJJH_1Vj.js +171 -0
- package/dist/{python-CrRChc1F.js → python-74lxbGw1.js} +1 -1
- package/dist/python-c1fDNvEm.js +307 -0
- package/dist/{razor-D71nSgUR.js → razor-BrOfoM9E.js} +1 -1
- package/dist/razor-Dlgmhv8W.js +556 -0
- package/dist/setting.json +3 -3
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-BI2sz7Dx.js → tableSelectDemo-BvSq3eH4.js} +15 -15
- package/dist/tableSelectDemo-DYDNQA05.js +134 -0
- package/dist/{tableSelectDemo2-C5pw53a8.js → tableSelectDemo2-Bcb8OnpR.js} +6 -6
- package/dist/tableSelectDemo2-Do2Wq46R.js +108 -0
- package/dist/{tsMode-Bt_ny7qs.js → tsMode-8dtB1J5W.js} +7 -7
- package/dist/tsMode-BHGGICf3.js +895 -0
- package/dist/{typescript-DQAW9Yxy.js → typescript-D0qjUcRs.js} +1 -1
- package/dist/typescript-_V4Eojcy.js +349 -0
- package/dist/{xml-Cj-NbBn6.js → xml-CCaCZz6y.js} +1 -1
- package/dist/xml-DdjA8Nsq.js +101 -0
- package/dist/{yaml-DbhGFxhP.js → yaml-2FS6Qljr.js} +1 -1
- package/dist/yaml-CyIWhPlg.js +212 -0
- package/package.json +68 -68
- package/dist/App-BIQh0-lC.js +0 -30
- package/dist/Area-BdxioIhN.js +0 -4
- package/dist/Bar-BQrPuceK.js +0 -4
- package/dist/ChartsArea-BG2Ttoq1.js +0 -4
- package/dist/ChartsBar-D3JI5yi3.js +0 -4
- package/dist/ChartsPie-COlwXlj3.js +0 -4
- package/dist/CheckBoxModel-DTnVGL4L.js +0 -4
- package/dist/Col-b5d3FpfE.js +0 -4
- package/dist/Collapse-CM9cRW7P.js +0 -4
- package/dist/FView-Bcnwet9-.js +0 -4
- package/dist/FX-BKsKbcWT.js +0 -4
- package/dist/GenerateForm-Wmoqhefi.js +0 -4
- package/dist/GenerateReport-DbSQDTq2.js +0 -4
- package/dist/LabelModel-BI6Zw0iH.js +0 -4
- package/dist/Pie-DYxKGS38.js +0 -4
- package/dist/RView-P7QVQHik.js +0 -4
- package/dist/SqlModule-D_4pePg2.js +0 -4
- package/dist/TableBtnModal-BwxBxHSJ.js +0 -4
- package/dist/childForm-Bo_eI2ZK.js +0 -4
- package/dist/formTest-InTCs7JJ.js +0 -19
- package/dist/index-BXkrSJvd.js +0 -11
- package/dist/index-DTzMRyWT.js +0 -3658
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { aq as s } from "./index-BJZgJsIz.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, p = Object.getOwnPropertyDescriptor, m = Object.getOwnPropertyNames, l = Object.prototype.hasOwnProperty, c = (t, e, n, o) => {
|
|
9
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
+
for (let r of m(e))
|
|
11
|
+
!l.call(t, r) && r !== n && d(t, r, { get: () => e[r], enumerable: !(o = p(e, r)) || o.enumerable });
|
|
12
|
+
return t;
|
|
13
|
+
}, u = (t, e, n) => (c(t, e, "default"), n), i = {};
|
|
14
|
+
u(i, s);
|
|
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
|
+
], x = {
|
|
33
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
|
34
|
+
comments: {
|
|
35
|
+
blockComment: ["<!--", "-->"]
|
|
36
|
+
},
|
|
37
|
+
brackets: [
|
|
38
|
+
["<!--", "-->"],
|
|
39
|
+
["<", ">"],
|
|
40
|
+
["{", "}"],
|
|
41
|
+
["(", ")"]
|
|
42
|
+
],
|
|
43
|
+
autoClosingPairs: [
|
|
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
|
+
{ open: "[", close: "]" },
|
|
55
|
+
{ open: "(", close: ")" },
|
|
56
|
+
{ open: "<", close: ">" }
|
|
57
|
+
],
|
|
58
|
+
onEnterRules: [
|
|
59
|
+
{
|
|
60
|
+
beforeText: new RegExp(
|
|
61
|
+
`<(?!(?:${a.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
|
62
|
+
"i"
|
|
63
|
+
),
|
|
64
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
65
|
+
action: {
|
|
66
|
+
indentAction: i.languages.IndentAction.IndentOutdent
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
beforeText: new RegExp(
|
|
71
|
+
`<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
|
72
|
+
"i"
|
|
73
|
+
),
|
|
74
|
+
action: { indentAction: i.languages.IndentAction.Indent }
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
folding: {
|
|
78
|
+
markers: {
|
|
79
|
+
start: new RegExp("^\\s*<!--\\s*#region\\b.*-->"),
|
|
80
|
+
end: new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}, y = {
|
|
84
|
+
defaultToken: "",
|
|
85
|
+
tokenPostfix: ".html",
|
|
86
|
+
ignoreCase: !0,
|
|
87
|
+
// The main tokenizer for our languages
|
|
88
|
+
tokenizer: {
|
|
89
|
+
root: [
|
|
90
|
+
[/<!DOCTYPE/, "metatag", "@doctype"],
|
|
91
|
+
[/<!--/, "comment", "@comment"],
|
|
92
|
+
[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/, ["delimiter", "tag", "", "delimiter"]],
|
|
93
|
+
[/(<)(script)/, ["delimiter", { token: "tag", next: "@script" }]],
|
|
94
|
+
[/(<)(style)/, ["delimiter", { token: "tag", next: "@style" }]],
|
|
95
|
+
[/(<)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],
|
|
96
|
+
[/(<\/)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],
|
|
97
|
+
[/</, "delimiter"],
|
|
98
|
+
[/[^<]+/]
|
|
99
|
+
// text
|
|
100
|
+
],
|
|
101
|
+
doctype: [
|
|
102
|
+
[/[^>]+/, "metatag.content"],
|
|
103
|
+
[/>/, "metatag", "@pop"]
|
|
104
|
+
],
|
|
105
|
+
comment: [
|
|
106
|
+
[/-->/, "comment", "@pop"],
|
|
107
|
+
[/[^-]+/, "comment.content"],
|
|
108
|
+
[/./, "comment.content"]
|
|
109
|
+
],
|
|
110
|
+
otherTag: [
|
|
111
|
+
[/\/?>/, "delimiter", "@pop"],
|
|
112
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
113
|
+
[/'([^']*)'/, "attribute.value"],
|
|
114
|
+
[/[\w\-]+/, "attribute.name"],
|
|
115
|
+
[/=/, "delimiter"],
|
|
116
|
+
[/[ \t\r\n]+/]
|
|
117
|
+
// whitespace
|
|
118
|
+
],
|
|
119
|
+
// -- BEGIN <script> tags handling
|
|
120
|
+
// After <script
|
|
121
|
+
script: [
|
|
122
|
+
[/type/, "attribute.name", "@scriptAfterType"],
|
|
123
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
124
|
+
[/'([^']*)'/, "attribute.value"],
|
|
125
|
+
[/[\w\-]+/, "attribute.name"],
|
|
126
|
+
[/=/, "delimiter"],
|
|
127
|
+
[
|
|
128
|
+
/>/,
|
|
129
|
+
{
|
|
130
|
+
token: "delimiter",
|
|
131
|
+
next: "@scriptEmbedded",
|
|
132
|
+
nextEmbedded: "text/javascript"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
[/[ \t\r\n]+/],
|
|
136
|
+
// whitespace
|
|
137
|
+
[/(<\/)(script\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]
|
|
138
|
+
],
|
|
139
|
+
// After <script ... type
|
|
140
|
+
scriptAfterType: [
|
|
141
|
+
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
|
142
|
+
[
|
|
143
|
+
/>/,
|
|
144
|
+
{
|
|
145
|
+
token: "delimiter",
|
|
146
|
+
next: "@scriptEmbedded",
|
|
147
|
+
nextEmbedded: "text/javascript"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
// cover invalid e.g. <script type>
|
|
151
|
+
[/[ \t\r\n]+/],
|
|
152
|
+
// whitespace
|
|
153
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
|
154
|
+
],
|
|
155
|
+
// After <script ... type =
|
|
156
|
+
scriptAfterTypeEquals: [
|
|
157
|
+
[
|
|
158
|
+
/"module"/,
|
|
159
|
+
{
|
|
160
|
+
token: "attribute.value",
|
|
161
|
+
switchTo: "@scriptWithCustomType.text/javascript"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
[
|
|
165
|
+
/'module'/,
|
|
166
|
+
{
|
|
167
|
+
token: "attribute.value",
|
|
168
|
+
switchTo: "@scriptWithCustomType.text/javascript"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
[
|
|
172
|
+
/"([^"]*)"/,
|
|
173
|
+
{
|
|
174
|
+
token: "attribute.value",
|
|
175
|
+
switchTo: "@scriptWithCustomType.$1"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
[
|
|
179
|
+
/'([^']*)'/,
|
|
180
|
+
{
|
|
181
|
+
token: "attribute.value",
|
|
182
|
+
switchTo: "@scriptWithCustomType.$1"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
/>/,
|
|
187
|
+
{
|
|
188
|
+
token: "delimiter",
|
|
189
|
+
next: "@scriptEmbedded",
|
|
190
|
+
nextEmbedded: "text/javascript"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
// cover invalid e.g. <script type=>
|
|
194
|
+
[/[ \t\r\n]+/],
|
|
195
|
+
// whitespace
|
|
196
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
|
197
|
+
],
|
|
198
|
+
// After <script ... type = $S2
|
|
199
|
+
scriptWithCustomType: [
|
|
200
|
+
[
|
|
201
|
+
/>/,
|
|
202
|
+
{
|
|
203
|
+
token: "delimiter",
|
|
204
|
+
next: "@scriptEmbedded.$S2",
|
|
205
|
+
nextEmbedded: "$S2"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
209
|
+
[/'([^']*)'/, "attribute.value"],
|
|
210
|
+
[/[\w\-]+/, "attribute.name"],
|
|
211
|
+
[/=/, "delimiter"],
|
|
212
|
+
[/[ \t\r\n]+/],
|
|
213
|
+
// whitespace
|
|
214
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
|
215
|
+
],
|
|
216
|
+
scriptEmbedded: [
|
|
217
|
+
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
|
218
|
+
[/[^<]+/, ""]
|
|
219
|
+
],
|
|
220
|
+
// -- END <script> tags handling
|
|
221
|
+
// -- BEGIN <style> tags handling
|
|
222
|
+
// After <style
|
|
223
|
+
style: [
|
|
224
|
+
[/type/, "attribute.name", "@styleAfterType"],
|
|
225
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
226
|
+
[/'([^']*)'/, "attribute.value"],
|
|
227
|
+
[/[\w\-]+/, "attribute.name"],
|
|
228
|
+
[/=/, "delimiter"],
|
|
229
|
+
[
|
|
230
|
+
/>/,
|
|
231
|
+
{
|
|
232
|
+
token: "delimiter",
|
|
233
|
+
next: "@styleEmbedded",
|
|
234
|
+
nextEmbedded: "text/css"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
[/[ \t\r\n]+/],
|
|
238
|
+
// whitespace
|
|
239
|
+
[/(<\/)(style\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]
|
|
240
|
+
],
|
|
241
|
+
// After <style ... type
|
|
242
|
+
styleAfterType: [
|
|
243
|
+
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
|
244
|
+
[
|
|
245
|
+
/>/,
|
|
246
|
+
{
|
|
247
|
+
token: "delimiter",
|
|
248
|
+
next: "@styleEmbedded",
|
|
249
|
+
nextEmbedded: "text/css"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
// cover invalid e.g. <style type>
|
|
253
|
+
[/[ \t\r\n]+/],
|
|
254
|
+
// whitespace
|
|
255
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
|
256
|
+
],
|
|
257
|
+
// After <style ... type =
|
|
258
|
+
styleAfterTypeEquals: [
|
|
259
|
+
[
|
|
260
|
+
/"([^"]*)"/,
|
|
261
|
+
{
|
|
262
|
+
token: "attribute.value",
|
|
263
|
+
switchTo: "@styleWithCustomType.$1"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
[
|
|
267
|
+
/'([^']*)'/,
|
|
268
|
+
{
|
|
269
|
+
token: "attribute.value",
|
|
270
|
+
switchTo: "@styleWithCustomType.$1"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
[
|
|
274
|
+
/>/,
|
|
275
|
+
{
|
|
276
|
+
token: "delimiter",
|
|
277
|
+
next: "@styleEmbedded",
|
|
278
|
+
nextEmbedded: "text/css"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
// cover invalid e.g. <style type=>
|
|
282
|
+
[/[ \t\r\n]+/],
|
|
283
|
+
// whitespace
|
|
284
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
|
285
|
+
],
|
|
286
|
+
// After <style ... type = $S2
|
|
287
|
+
styleWithCustomType: [
|
|
288
|
+
[
|
|
289
|
+
/>/,
|
|
290
|
+
{
|
|
291
|
+
token: "delimiter",
|
|
292
|
+
next: "@styleEmbedded.$S2",
|
|
293
|
+
nextEmbedded: "$S2"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
297
|
+
[/'([^']*)'/, "attribute.value"],
|
|
298
|
+
[/[\w\-]+/, "attribute.name"],
|
|
299
|
+
[/=/, "delimiter"],
|
|
300
|
+
[/[ \t\r\n]+/],
|
|
301
|
+
// whitespace
|
|
302
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
|
303
|
+
],
|
|
304
|
+
styleEmbedded: [
|
|
305
|
+
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
|
306
|
+
[/[^<]+/, ""]
|
|
307
|
+
]
|
|
308
|
+
// -- END <style> tags handling
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
export {
|
|
312
|
+
x as conf,
|
|
313
|
+
y as language
|
|
314
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aq as lt } from "./index-C0BVVkDi.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|