@covalent/components 8.18.1 → 8.19.1
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/action-ribbon.js +1 -1
- package/action-ribbon.mjs +4 -3
- package/alert.js +1 -1
- package/alert.mjs +4 -3
- package/app-shell.js +3 -3
- package/app-shell.mjs +9 -8
- package/async-directive-4a34f75e.js +5 -0
- package/async-directive-99a01ec7.mjs +78 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -3
- package/button.js +1 -1
- package/button.mjs +10 -9
- package/card.js +1 -1
- package/card.mjs +14 -13
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -7
- package/checkbox.js +1 -1
- package/checkbox.mjs +16 -15
- package/{chip-ebd0a88e.js → chip-c65a4549.js} +1 -1
- package/{chip-2d0fd3f0.mjs → chip-fb0ea5c5.mjs} +1 -1
- package/chip-set.js +2 -2
- package/chip-set.mjs +46 -45
- package/chip.js +1 -1
- package/chip.mjs +5 -4
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +5 -4
- package/class-map-0a4c6ca9.js +5 -0
- package/class-map-6e504a9a.mjs +38 -0
- package/code-editor/code-editor.d.ts +58 -0
- package/code-editor/code-editor.d.ts.map +1 -0
- package/code-editor/code-editor.theme.d.ts +61 -0
- package/code-editor/code-editor.theme.d.ts.map +1 -0
- package/code-editor-8064b078.mjs +61268 -0
- package/code-editor-f85b0a6b.js +662 -0
- package/code-editor.js +1 -0
- package/code-editor.mjs +10 -0
- package/code-snippet.js +2 -2
- package/code-snippet.mjs +5 -4
- package/css-5dd354ac.mjs +186 -0
- package/css-9be95551.js +8 -0
- package/{dialog-c9dbe94d.mjs → dialog-16aad066.mjs} +1 -1
- package/{dialog-82b03745.js → dialog-86192b9a.js} +1 -1
- package/dialog.js +1 -1
- package/dialog.mjs +5 -4
- package/directive-1186bc23.js +5 -0
- package/directive-daf4e9b6.mjs +27 -0
- package/drawer.js +1 -1
- package/drawer.mjs +5 -4
- package/formfield.js +3 -3
- package/formfield.mjs +4 -3
- package/html-5fd3a841.mjs +286 -0
- package/html-73c71ff4.js +6 -0
- package/icon-button-toggle.js +1 -1
- package/icon-button-toggle.mjs +6 -5
- package/icon-button.js +1 -1
- package/icon-button.mjs +6 -5
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -6
- package/icon-radio-toggle.js +3 -3
- package/icon-radio-toggle.mjs +7 -6
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +123 -117
- package/javascript-204f9122.js +6 -0
- package/javascript-85aeeec4.mjs +80 -0
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +5 -4
- package/list-item.js +2 -2
- package/list-item.mjs +7 -6
- package/list.js +1 -1
- package/list.mjs +8 -7
- package/markdown-9b448c46.mjs +202 -0
- package/markdown-eae8e3ba.js +6 -0
- package/menu.js +5 -5
- package/menu.mjs +9 -8
- package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-02b4eb91.mjs} +2 -2
- package/{mwc-checkbox-base-3d8c9549.js → mwc-checkbox-base-935d9566.js} +1 -1
- package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-bbae43c3.js} +1 -1
- package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-ca75f41f.mjs} +1 -1
- package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-40145003.js} +14 -14
- package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-aabd8778.mjs} +6 -5
- package/{mwc-list-base-400b00e2.js → mwc-list-base-22616d0a.js} +1 -1
- package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-402e1d8e.mjs} +1 -1
- package/{mwc-list-item-base-297d86b0.js → mwc-list-item-base-06d93e6e.js} +1 -1
- package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-3c6a3bfb.mjs} +2 -2
- package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-04586160.mjs} +3 -3
- package/{mwc-menu-base-c75ca473.js → mwc-menu-base-08f54c38.js} +1 -1
- package/{mwc-radio-base-913e02e2.js → mwc-radio-base-147cf999.js} +1 -1
- package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-768b4221.mjs} +2 -2
- package/{mwc-slider.css-c7107d94.js → mwc-slider.css-c5f99704.js} +1 -1
- package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-cda43bd0.mjs} +3 -3
- package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-0814a3ef.mjs} +2 -2
- package/{mwc-tab-base-f28722aa.js → mwc-tab-base-f2269fd1.js} +1 -1
- package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-8a7f7312.mjs} +1 -1
- package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8c8cde51.js} +1 -1
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +7 -6
- package/notebook-cell/notebook-cell.d.ts +94 -0
- package/notebook-cell/notebook-cell.d.ts.map +1 -0
- package/notebook-cell.js +47 -0
- package/notebook-cell.mjs +217 -0
- package/package.json +11 -1
- package/python-abc06189.mjs +264 -0
- package/python-cb76a8a4.js +6 -0
- package/r-42c6f0aa.js +6 -0
- package/r-630f5d6b.mjs +245 -0
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -7
- package/radio.js +2 -2
- package/radio.mjs +7 -6
- package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
- package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
- package/select.js +2 -2
- package/select.mjs +11 -10
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +3 -2
- package/slider-range.js +1 -1
- package/slider-range.mjs +7 -6
- package/slider.js +1 -1
- package/slider.mjs +12 -11
- package/snackbar.js +14 -18
- package/snackbar.mjs +88 -159
- package/sql-63ec8e76.mjs +818 -0
- package/sql-faf05577.js +6 -0
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +7 -6
- package/status-header.js +1 -1
- package/status-header.mjs +4 -3
- package/{style-map-88d2563f.js → style-map-a135c6ab.js} +2 -2
- package/{style-map-bc3ed3e0.mjs → style-map-e7ec6d41.mjs} +1 -1
- package/style.css +1 -0
- package/switch.js +1 -1
- package/switch.mjs +6 -5
- package/tab-bar.js +2 -2
- package/tab-bar.mjs +7 -6
- package/tab.js +1 -1
- package/tab.mjs +9 -8
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +4 -3
- package/textarea.js +1 -1
- package/textarea.mjs +6 -5
- package/{textfield-a064a2b4.js → textfield-48207bf2.js} +16 -16
- package/{textfield-69844234.mjs → textfield-a994ca16.mjs} +5 -4
- package/textfield.js +1 -1
- package/textfield.mjs +6 -5
- package/toolbar.js +1 -1
- package/toolbar.mjs +5 -4
- package/top-app-bar-fixed.js +1 -1
- package/top-app-bar-fixed.mjs +5 -4
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +8 -7
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -3
- package/typescript-5cbac06a.mjs +332 -0
- package/typescript-95376fa5.js +6 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
package/css-5dd354ac.mjs
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/
|
7
|
+
var e = {
|
8
|
+
wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
|
9
|
+
comments: {
|
10
|
+
blockComment: ["/*", "*/"]
|
11
|
+
},
|
12
|
+
brackets: [
|
13
|
+
["{", "}"],
|
14
|
+
["[", "]"],
|
15
|
+
["(", ")"]
|
16
|
+
],
|
17
|
+
autoClosingPairs: [
|
18
|
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
19
|
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
20
|
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
21
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
22
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
23
|
+
],
|
24
|
+
surroundingPairs: [
|
25
|
+
{ open: "{", close: "}" },
|
26
|
+
{ open: "[", close: "]" },
|
27
|
+
{ open: "(", close: ")" },
|
28
|
+
{ open: '"', close: '"' },
|
29
|
+
{ open: "'", close: "'" }
|
30
|
+
],
|
31
|
+
folding: {
|
32
|
+
markers: {
|
33
|
+
start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
|
34
|
+
end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}, t = {
|
38
|
+
defaultToken: "",
|
39
|
+
tokenPostfix: ".css",
|
40
|
+
ws: `[
|
41
|
+
\r\f]*`,
|
42
|
+
identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
|
43
|
+
brackets: [
|
44
|
+
{ open: "{", close: "}", token: "delimiter.bracket" },
|
45
|
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
46
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
47
|
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
48
|
+
],
|
49
|
+
tokenizer: {
|
50
|
+
root: [{ include: "@selector" }],
|
51
|
+
selector: [
|
52
|
+
{ include: "@comments" },
|
53
|
+
{ include: "@import" },
|
54
|
+
{ include: "@strings" },
|
55
|
+
[
|
56
|
+
"[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",
|
57
|
+
{ token: "keyword", next: "@keyframedeclaration" }
|
58
|
+
],
|
59
|
+
["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
|
60
|
+
["[@](charset|namespace)", { token: "keyword", next: "@declarationbody" }],
|
61
|
+
[
|
62
|
+
"(url-prefix)(\\()",
|
63
|
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
64
|
+
],
|
65
|
+
[
|
66
|
+
"(url)(\\()",
|
67
|
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
68
|
+
],
|
69
|
+
{ include: "@selectorname" },
|
70
|
+
["[\\*]", "tag"],
|
71
|
+
["[>\\+,]", "delimiter"],
|
72
|
+
["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
|
73
|
+
["{", { token: "delimiter.bracket", next: "@selectorbody" }]
|
74
|
+
],
|
75
|
+
selectorbody: [
|
76
|
+
{ include: "@comments" },
|
77
|
+
["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
|
78
|
+
["}", { token: "delimiter.bracket", next: "@pop" }]
|
79
|
+
],
|
80
|
+
selectorname: [
|
81
|
+
["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
|
82
|
+
],
|
83
|
+
selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
|
84
|
+
term: [
|
85
|
+
{ include: "@comments" },
|
86
|
+
[
|
87
|
+
"(url-prefix)(\\()",
|
88
|
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
89
|
+
],
|
90
|
+
[
|
91
|
+
"(url)(\\()",
|
92
|
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
93
|
+
],
|
94
|
+
{ include: "@functioninvocation" },
|
95
|
+
{ include: "@numbers" },
|
96
|
+
{ include: "@name" },
|
97
|
+
{ include: "@strings" },
|
98
|
+
["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "delimiter"],
|
99
|
+
[",", "delimiter"]
|
100
|
+
],
|
101
|
+
rulevalue: [
|
102
|
+
{ include: "@comments" },
|
103
|
+
{ include: "@strings" },
|
104
|
+
{ include: "@term" },
|
105
|
+
["!important", "keyword"],
|
106
|
+
[";", "delimiter", "@pop"],
|
107
|
+
["(?=})", { token: "", next: "@pop" }]
|
108
|
+
],
|
109
|
+
warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
|
110
|
+
import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
|
111
|
+
urldeclaration: [
|
112
|
+
{ include: "@strings" },
|
113
|
+
[`[^)\r
|
114
|
+
]+`, "string"],
|
115
|
+
["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
|
116
|
+
],
|
117
|
+
parenthizedterm: [
|
118
|
+
{ include: "@term" },
|
119
|
+
["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
|
120
|
+
],
|
121
|
+
declarationbody: [
|
122
|
+
{ include: "@term" },
|
123
|
+
[";", "delimiter", "@pop"],
|
124
|
+
["(?=})", { token: "", next: "@pop" }]
|
125
|
+
],
|
126
|
+
comments: [
|
127
|
+
["\\/\\*", "comment", "@comment"],
|
128
|
+
["\\/\\/+.*", "comment"]
|
129
|
+
],
|
130
|
+
comment: [
|
131
|
+
["\\*\\/", "comment", "@pop"],
|
132
|
+
[/[^*/]+/, "comment"],
|
133
|
+
[/./, "comment"]
|
134
|
+
],
|
135
|
+
name: [["@identifier", "attribute.value"]],
|
136
|
+
numbers: [
|
137
|
+
["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
|
138
|
+
["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
|
139
|
+
],
|
140
|
+
units: [
|
141
|
+
[
|
142
|
+
"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
|
143
|
+
"attribute.value.unit",
|
144
|
+
"@pop"
|
145
|
+
]
|
146
|
+
],
|
147
|
+
keyframedeclaration: [
|
148
|
+
["@identifier", "attribute.value"],
|
149
|
+
["{", { token: "delimiter.bracket", switchTo: "@keyframebody" }]
|
150
|
+
],
|
151
|
+
keyframebody: [
|
152
|
+
{ include: "@term" },
|
153
|
+
["{", { token: "delimiter.bracket", next: "@selectorbody" }],
|
154
|
+
["}", { token: "delimiter.bracket", next: "@pop" }]
|
155
|
+
],
|
156
|
+
functioninvocation: [
|
157
|
+
["@identifier\\(", { token: "attribute.value", next: "@functionarguments" }]
|
158
|
+
],
|
159
|
+
functionarguments: [
|
160
|
+
["\\$@identifier@ws:", "attribute.name"],
|
161
|
+
["[,]", "delimiter"],
|
162
|
+
{ include: "@term" },
|
163
|
+
["\\)", { token: "attribute.value", next: "@pop" }]
|
164
|
+
],
|
165
|
+
strings: [
|
166
|
+
['~?"', { token: "string", next: "@stringenddoublequote" }],
|
167
|
+
["~?'", { token: "string", next: "@stringendquote" }]
|
168
|
+
],
|
169
|
+
stringenddoublequote: [
|
170
|
+
["\\\\.", "string"],
|
171
|
+
['"', { token: "string", next: "@pop" }],
|
172
|
+
[/[^\\"]+/, "string"],
|
173
|
+
[".", "string"]
|
174
|
+
],
|
175
|
+
stringendquote: [
|
176
|
+
["\\\\.", "string"],
|
177
|
+
["'", { token: "string", next: "@pop" }],
|
178
|
+
[/[^\\']+/, "string"],
|
179
|
+
[".", "string"]
|
180
|
+
]
|
181
|
+
}
|
182
|
+
};
|
183
|
+
export {
|
184
|
+
e as conf,
|
185
|
+
t as language
|
186
|
+
};
|
package/css-9be95551.js
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/var e={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t={defaultToken:"",tokenPostfix:".css",ws:`[
|
7
|
+
\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r
|
8
|
+
]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}};exports.conf=e;exports.language=t;
|
@@ -5,7 +5,7 @@ import { B as L } from "./base-element-acf30176.mjs";
|
|
5
5
|
import { o as h } from "./observer-be7b92e2.mjs";
|
6
6
|
import { n as s } from "./property-9b6ea53b.mjs";
|
7
7
|
import { i as m } from "./query-d843aa92.mjs";
|
8
|
-
import { o as E } from "./class-map-
|
8
|
+
import { o as E } from "./class-map-6e504a9a.mjs";
|
9
9
|
import { a as T } from "./utils-dc65fdc9.mjs";
|
10
10
|
/**
|
11
11
|
* @license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const l=require("./query-assigned-elements-f623705d.js"),d=require("./tslib.es6-98719205.js");require("./inert.esm-2cee6f2e.js");const w=require("./base-element-58a3f9ea.js"),f=require("./observer-a096ab43.js"),s=require("./property-57f6f6fe.js"),u=require("./query-680f1868.js"),b=require("./class-map-
|
1
|
+
"use strict";const l=require("./query-assigned-elements-f623705d.js"),d=require("./tslib.es6-98719205.js");require("./inert.esm-2cee6f2e.js");const w=require("./base-element-58a3f9ea.js"),f=require("./observer-a096ab43.js"),s=require("./property-57f6f6fe.js"),u=require("./query-680f1868.js"),b=require("./class-map-0a4c6ca9.js"),A=require("./utils-a8190a39.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
package/dialog.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");const e=require("./dialog-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");const e=require("./dialog-86192b9a.js");require("./tslib.es6-98719205.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>e.CovalentDialog});exports.default=e.CovalentDialog$1;
|
package/dialog.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { C, a as
|
2
|
+
import { C as d, a as g } from "./dialog-16aad066.mjs";
|
3
3
|
import "./tslib.es6-c4b0f3b1.mjs";
|
4
4
|
import "./inert.esm-359d4581.mjs";
|
5
5
|
import "./base-element-acf30176.mjs";
|
@@ -7,8 +7,9 @@ import "./utils-dc65fdc9.mjs";
|
|
7
7
|
import "./observer-be7b92e2.mjs";
|
8
8
|
import "./property-9b6ea53b.mjs";
|
9
9
|
import "./query-d843aa92.mjs";
|
10
|
-
import "./class-map-
|
10
|
+
import "./class-map-6e504a9a.mjs";
|
11
|
+
import "./directive-daf4e9b6.mjs";
|
11
12
|
export {
|
12
|
-
|
13
|
-
|
13
|
+
d as CovalentDialog,
|
14
|
+
g as default
|
14
15
|
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";/**
|
2
|
+
* @license
|
3
|
+
* Copyright 2017 Google LLC
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
+
*/const r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},T=i=>(...t)=>({_$litDirective$:i,values:t});class _{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}exports.e=T;exports.i=_;exports.t=r;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* Copyright 2017 Google LLC
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
+
*/
|
6
|
+
const s = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, T = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
7
|
+
class _ {
|
8
|
+
constructor(t) {
|
9
|
+
}
|
10
|
+
get _$AU() {
|
11
|
+
return this._$AM._$AU;
|
12
|
+
}
|
13
|
+
_$AT(t, e, i) {
|
14
|
+
this._$Ct = t, this._$AM = e, this._$Ci = i;
|
15
|
+
}
|
16
|
+
_$AS(t, e) {
|
17
|
+
return this.update(t, e);
|
18
|
+
}
|
19
|
+
update(t, e) {
|
20
|
+
return this.render(...e);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export {
|
24
|
+
T as e,
|
25
|
+
_ as i,
|
26
|
+
s as t
|
27
|
+
};
|
package/drawer.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),m=require("./mwc-drawer-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),m=require("./mwc-drawer-base-bbae43c3.js");require("./tslib.es6-98719205.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
package/drawer.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { i as m, r as c, e as l } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { D as p } from "./mwc-drawer-base-
|
2
|
+
import { D as p } from "./mwc-drawer-base-ca75f41f.mjs";
|
3
3
|
import "./tslib.es6-c4b0f3b1.mjs";
|
4
4
|
import "./inert.esm-359d4581.mjs";
|
5
5
|
import "./base-element-acf30176.mjs";
|
@@ -7,7 +7,8 @@ import "./utils-dc65fdc9.mjs";
|
|
7
7
|
import "./observer-be7b92e2.mjs";
|
8
8
|
import "./property-9b6ea53b.mjs";
|
9
9
|
import "./query-d843aa92.mjs";
|
10
|
-
import "./class-map-
|
10
|
+
import "./class-map-6e504a9a.mjs";
|
11
|
+
import "./directive-daf4e9b6.mjs";
|
11
12
|
/**
|
12
13
|
* @license
|
13
14
|
* Copyright 2021 Google LLC
|
@@ -26,8 +27,8 @@ i.styles = [s, m`${c(g)}`];
|
|
26
27
|
i = w([
|
27
28
|
l("cv-drawer")
|
28
29
|
], i);
|
29
|
-
const
|
30
|
+
const O = i;
|
30
31
|
export {
|
31
32
|
i as CovalentDrawer,
|
32
|
-
|
33
|
+
O as default
|
33
34
|
};
|
package/formfield.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements-f623705d.js"),i=require("./tslib.es6-98719205.js"),m=require("./base-element-58a3f9ea.js"),f=require("./form-element-c553d6f5.js"),u=require("./observer-a096ab43.js"),d=require("./property-57f6f6fe.js"),p=require("./query-680f1868.js"),g=require("./query-assigned-nodes-99eae71d.js"),h=require("./class-map-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements-f623705d.js"),i=require("./tslib.es6-98719205.js"),m=require("./base-element-58a3f9ea.js"),f=require("./form-element-c553d6f5.js"),u=require("./observer-a096ab43.js"),d=require("./property-57f6f6fe.js"),p=require("./query-680f1868.js"),g=require("./query-assigned-nodes-99eae71d.js"),h=require("./class-map-0a4c6ca9.js");require("./utils-a8190a39.js");require("./directive-1186bc23.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -75,6 +75,6 @@
|
|
75
75
|
* Copyright 2021 Google LLC
|
76
76
|
* SPDX-LIcense-Identifier: Apache-2.0
|
77
77
|
*/const x=l.i`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`,C=`::slotted(cv-switch){margin-right:10px}[dir=rtl] ::slotted(cv-switch),::slotted(cv-switch[dir=rtl]){margin-left:10px}
|
78
|
-
`;var F=Object.defineProperty,E=Object.getOwnPropertyDescriptor,
|
78
|
+
`;var F=Object.defineProperty,E=Object.getOwnPropertyDescriptor,q=(r,e,t,n)=>{for(var a=n>1?void 0:n?E(e,t):e,s=r.length-1,c;s>=0;s--)(c=r[s])&&(a=(n?c(e,t,a):c(a))||a);return n&&a&&F(e,t,a),a};exports.CovalentFormfield=class extends o{};exports.CovalentFormfield.styles=[l.i`
|
79
79
|
${l.r(C)}
|
80
|
-
`,x];exports.CovalentFormfield=
|
80
|
+
`,x];exports.CovalentFormfield=q([l.e("cv-formfield")],exports.CovalentFormfield);const O=exports.CovalentFormfield;exports.default=O;
|
package/formfield.mjs
CHANGED
@@ -6,8 +6,9 @@ import { o as w } from "./observer-be7b92e2.mjs";
|
|
6
6
|
import { n as d } from "./property-9b6ea53b.mjs";
|
7
7
|
import { i as g } from "./query-d843aa92.mjs";
|
8
8
|
import { o as x } from "./query-assigned-nodes-df691e78.mjs";
|
9
|
-
import { o as _ } from "./class-map-
|
9
|
+
import { o as _ } from "./class-map-6e504a9a.mjs";
|
10
10
|
import "./utils-dc65fdc9.mjs";
|
11
|
+
import "./directive-daf4e9b6.mjs";
|
11
12
|
/**
|
12
13
|
* @license
|
13
14
|
* Copyright 2016 Google Inc.
|
@@ -270,8 +271,8 @@ l.styles = [
|
|
270
271
|
l = B([
|
271
272
|
y("cv-formfield")
|
272
273
|
], l);
|
273
|
-
const
|
274
|
+
const J = l;
|
274
275
|
export {
|
275
276
|
l as CovalentFormfield,
|
276
|
-
|
277
|
+
J as default
|
277
278
|
};
|
@@ -0,0 +1,286 @@
|
|
1
|
+
import { m as p } from "./code-editor-8064b078.mjs";
|
2
|
+
import "./query-assigned-elements-4a39219d.mjs";
|
3
|
+
import "./property-9b6ea53b.mjs";
|
4
|
+
import "./async-directive-99a01ec7.mjs";
|
5
|
+
import "./directive-helpers-e3ea6592.mjs";
|
6
|
+
import "./directive-daf4e9b6.mjs";
|
7
|
+
/*!-----------------------------------------------------------------------------
|
8
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
9
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
10
|
+
* Released under the MIT license
|
11
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
12
|
+
*-----------------------------------------------------------------------------*/
|
13
|
+
var d = Object.defineProperty, m = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, a = (t, e, n, o) => {
|
14
|
+
if (e && typeof e == "object" || typeof e == "function")
|
15
|
+
for (let r of l(e))
|
16
|
+
!c.call(t, r) && r !== n && d(t, r, { get: () => e[r], enumerable: !(o = m(e, r)) || o.enumerable });
|
17
|
+
return t;
|
18
|
+
}, u = (t, e, n) => (a(t, e, "default"), n && a(n, e, "default")), i = {};
|
19
|
+
u(i, p);
|
20
|
+
var s = [
|
21
|
+
"area",
|
22
|
+
"base",
|
23
|
+
"br",
|
24
|
+
"col",
|
25
|
+
"embed",
|
26
|
+
"hr",
|
27
|
+
"img",
|
28
|
+
"input",
|
29
|
+
"keygen",
|
30
|
+
"link",
|
31
|
+
"menuitem",
|
32
|
+
"meta",
|
33
|
+
"param",
|
34
|
+
"source",
|
35
|
+
"track",
|
36
|
+
"wbr"
|
37
|
+
], E = {
|
38
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
39
|
+
comments: {
|
40
|
+
blockComment: ["<!--", "-->"]
|
41
|
+
},
|
42
|
+
brackets: [
|
43
|
+
["<!--", "-->"],
|
44
|
+
["<", ">"],
|
45
|
+
["{", "}"],
|
46
|
+
["(", ")"]
|
47
|
+
],
|
48
|
+
autoClosingPairs: [
|
49
|
+
{ open: "{", close: "}" },
|
50
|
+
{ open: "[", close: "]" },
|
51
|
+
{ open: "(", close: ")" },
|
52
|
+
{ open: '"', close: '"' },
|
53
|
+
{ open: "'", close: "'" }
|
54
|
+
],
|
55
|
+
surroundingPairs: [
|
56
|
+
{ open: '"', close: '"' },
|
57
|
+
{ open: "'", close: "'" },
|
58
|
+
{ open: "{", close: "}" },
|
59
|
+
{ open: "[", close: "]" },
|
60
|
+
{ open: "(", close: ")" },
|
61
|
+
{ open: "<", close: ">" }
|
62
|
+
],
|
63
|
+
onEnterRules: [
|
64
|
+
{
|
65
|
+
beforeText: new RegExp(`<(?!(?:${s.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
66
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
67
|
+
action: {
|
68
|
+
indentAction: i.languages.IndentAction.IndentOutdent
|
69
|
+
}
|
70
|
+
},
|
71
|
+
{
|
72
|
+
beforeText: new RegExp(`<(?!(?:${s.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
73
|
+
action: { indentAction: i.languages.IndentAction.Indent }
|
74
|
+
}
|
75
|
+
],
|
76
|
+
folding: {
|
77
|
+
markers: {
|
78
|
+
start: new RegExp("^\\s*<!--\\s*#region\\b.*-->"),
|
79
|
+
end: new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}, v = {
|
83
|
+
defaultToken: "",
|
84
|
+
tokenPostfix: ".html",
|
85
|
+
ignoreCase: !0,
|
86
|
+
tokenizer: {
|
87
|
+
root: [
|
88
|
+
[/<!DOCTYPE/, "metatag", "@doctype"],
|
89
|
+
[/<!--/, "comment", "@comment"],
|
90
|
+
[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/, ["delimiter", "tag", "", "delimiter"]],
|
91
|
+
[/(<)(script)/, ["delimiter", { token: "tag", next: "@script" }]],
|
92
|
+
[/(<)(style)/, ["delimiter", { token: "tag", next: "@style" }]],
|
93
|
+
[/(<)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],
|
94
|
+
[/(<\/)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],
|
95
|
+
[/</, "delimiter"],
|
96
|
+
[/[^<]+/]
|
97
|
+
],
|
98
|
+
doctype: [
|
99
|
+
[/[^>]+/, "metatag.content"],
|
100
|
+
[/>/, "metatag", "@pop"]
|
101
|
+
],
|
102
|
+
comment: [
|
103
|
+
[/-->/, "comment", "@pop"],
|
104
|
+
[/[^-]+/, "comment.content"],
|
105
|
+
[/./, "comment.content"]
|
106
|
+
],
|
107
|
+
otherTag: [
|
108
|
+
[/\/?>/, "delimiter", "@pop"],
|
109
|
+
[/"([^"]*)"/, "attribute.value"],
|
110
|
+
[/'([^']*)'/, "attribute.value"],
|
111
|
+
[/[\w\-]+/, "attribute.name"],
|
112
|
+
[/=/, "delimiter"],
|
113
|
+
[/[ \t\r\n]+/]
|
114
|
+
],
|
115
|
+
script: [
|
116
|
+
[/type/, "attribute.name", "@scriptAfterType"],
|
117
|
+
[/"([^"]*)"/, "attribute.value"],
|
118
|
+
[/'([^']*)'/, "attribute.value"],
|
119
|
+
[/[\w\-]+/, "attribute.name"],
|
120
|
+
[/=/, "delimiter"],
|
121
|
+
[
|
122
|
+
/>/,
|
123
|
+
{
|
124
|
+
token: "delimiter",
|
125
|
+
next: "@scriptEmbedded",
|
126
|
+
nextEmbedded: "text/javascript"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
[/[ \t\r\n]+/],
|
130
|
+
[/(<\/)(script\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]
|
131
|
+
],
|
132
|
+
scriptAfterType: [
|
133
|
+
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
134
|
+
[
|
135
|
+
/>/,
|
136
|
+
{
|
137
|
+
token: "delimiter",
|
138
|
+
next: "@scriptEmbedded",
|
139
|
+
nextEmbedded: "text/javascript"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
[/[ \t\r\n]+/],
|
143
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
144
|
+
],
|
145
|
+
scriptAfterTypeEquals: [
|
146
|
+
[
|
147
|
+
/"module"/,
|
148
|
+
{
|
149
|
+
token: "attribute.value",
|
150
|
+
switchTo: "@scriptWithCustomType.text/javascript"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
[
|
154
|
+
/'module'/,
|
155
|
+
{
|
156
|
+
token: "attribute.value",
|
157
|
+
switchTo: "@scriptWithCustomType.text/javascript"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
[
|
161
|
+
/"([^"]*)"/,
|
162
|
+
{
|
163
|
+
token: "attribute.value",
|
164
|
+
switchTo: "@scriptWithCustomType.$1"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
[
|
168
|
+
/'([^']*)'/,
|
169
|
+
{
|
170
|
+
token: "attribute.value",
|
171
|
+
switchTo: "@scriptWithCustomType.$1"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
[
|
175
|
+
/>/,
|
176
|
+
{
|
177
|
+
token: "delimiter",
|
178
|
+
next: "@scriptEmbedded",
|
179
|
+
nextEmbedded: "text/javascript"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
[/[ \t\r\n]+/],
|
183
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
184
|
+
],
|
185
|
+
scriptWithCustomType: [
|
186
|
+
[
|
187
|
+
/>/,
|
188
|
+
{
|
189
|
+
token: "delimiter",
|
190
|
+
next: "@scriptEmbedded.$S2",
|
191
|
+
nextEmbedded: "$S2"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
[/"([^"]*)"/, "attribute.value"],
|
195
|
+
[/'([^']*)'/, "attribute.value"],
|
196
|
+
[/[\w\-]+/, "attribute.name"],
|
197
|
+
[/=/, "delimiter"],
|
198
|
+
[/[ \t\r\n]+/],
|
199
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
200
|
+
],
|
201
|
+
scriptEmbedded: [
|
202
|
+
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
203
|
+
[/[^<]+/, ""]
|
204
|
+
],
|
205
|
+
style: [
|
206
|
+
[/type/, "attribute.name", "@styleAfterType"],
|
207
|
+
[/"([^"]*)"/, "attribute.value"],
|
208
|
+
[/'([^']*)'/, "attribute.value"],
|
209
|
+
[/[\w\-]+/, "attribute.name"],
|
210
|
+
[/=/, "delimiter"],
|
211
|
+
[
|
212
|
+
/>/,
|
213
|
+
{
|
214
|
+
token: "delimiter",
|
215
|
+
next: "@styleEmbedded",
|
216
|
+
nextEmbedded: "text/css"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
[/[ \t\r\n]+/],
|
220
|
+
[/(<\/)(style\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]
|
221
|
+
],
|
222
|
+
styleAfterType: [
|
223
|
+
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
224
|
+
[
|
225
|
+
/>/,
|
226
|
+
{
|
227
|
+
token: "delimiter",
|
228
|
+
next: "@styleEmbedded",
|
229
|
+
nextEmbedded: "text/css"
|
230
|
+
}
|
231
|
+
],
|
232
|
+
[/[ \t\r\n]+/],
|
233
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
234
|
+
],
|
235
|
+
styleAfterTypeEquals: [
|
236
|
+
[
|
237
|
+
/"([^"]*)"/,
|
238
|
+
{
|
239
|
+
token: "attribute.value",
|
240
|
+
switchTo: "@styleWithCustomType.$1"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
[
|
244
|
+
/'([^']*)'/,
|
245
|
+
{
|
246
|
+
token: "attribute.value",
|
247
|
+
switchTo: "@styleWithCustomType.$1"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
[
|
251
|
+
/>/,
|
252
|
+
{
|
253
|
+
token: "delimiter",
|
254
|
+
next: "@styleEmbedded",
|
255
|
+
nextEmbedded: "text/css"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
[/[ \t\r\n]+/],
|
259
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
260
|
+
],
|
261
|
+
styleWithCustomType: [
|
262
|
+
[
|
263
|
+
/>/,
|
264
|
+
{
|
265
|
+
token: "delimiter",
|
266
|
+
next: "@styleEmbedded.$S2",
|
267
|
+
nextEmbedded: "$S2"
|
268
|
+
}
|
269
|
+
],
|
270
|
+
[/"([^"]*)"/, "attribute.value"],
|
271
|
+
[/'([^']*)'/, "attribute.value"],
|
272
|
+
[/[\w\-]+/, "attribute.name"],
|
273
|
+
[/=/, "delimiter"],
|
274
|
+
[/[ \t\r\n]+/],
|
275
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
276
|
+
],
|
277
|
+
styleEmbedded: [
|
278
|
+
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
279
|
+
[/[^<]+/, ""]
|
280
|
+
]
|
281
|
+
}
|
282
|
+
};
|
283
|
+
export {
|
284
|
+
E as conf,
|
285
|
+
v as language
|
286
|
+
};
|