@covalent/components 8.14.1 → 8.15.0-beta.10
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 +1 -1
- package/app-shell.mjs +8 -7
- 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 +4 -3
- package/cell/cell.d.ts +65 -0
- package/cell/cell.d.ts.map +1 -0
- package/cell.js +29 -0
- package/cell.mjs +147 -0
- 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 +73 -0
- package/code-editor/code-editor.d.ts.map +1 -0
- package/code-editor-3a09cbf1.js +732 -0
- package/code-editor-ce557bd5.mjs +61376 -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/cpp-642b10c4.mjs +387 -0
- package/cpp-7eec3311.js +6 -0
- package/csharp-32862cd2.js +6 -0
- package/csharp-d987ddad.mjs +320 -0
- package/css-5dd354ac.mjs +186 -0
- package/css-9be95551.js +8 -0
- package/dart-031264ea.js +6 -0
- package/dart-5d209f63.mjs +270 -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/go-46e3b371.mjs +208 -0
- package/go-cdd943fd.js +6 -0
- package/html-4fffc46e.js +6 -0
- package/html-783f1e7c.mjs +286 -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 +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +125 -117
- package/java-32d7b433.js +6 -0
- package/java-cd017f60.mjs +221 -0
- package/javascript-4d09cd3c.mjs +80 -0
- package/javascript-90bb18e6.js +6 -0
- package/kotlin-4b9019e1.js +6 -0
- package/kotlin-c6e52a56.mjs +245 -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/lua-b46719a9.js +6 -0
- package/lua-f159160b.mjs +157 -0
- 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/notebook.d.ts +87 -0
- package/notebook/notebook.d.ts.map +1 -0
- package/notebook.js +121 -0
- package/notebook.mjs +3449 -0
- package/package.json +16 -1
- package/php-987b9d87.mjs +471 -0
- package/php-a6dcde52.js +6 -0
- package/python-562f8e9b.mjs +264 -0
- package/python-af3aad7d.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/rust-87887495.js +6 -0
- package/rust-97f8f6e1.mjs +337 -0
- package/scala-c68c650c.mjs +353 -0
- package/scala-e8b7bd42.js +6 -0
- package/select.js +2 -2
- package/select.mjs +11 -10
- package/shell-09452d42.mjs +224 -0
- package/shell-43cfbe7d.js +6 -0
- 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/swift-724ff2a3.js +8 -0
- package/swift-abdf1835.mjs +315 -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-11525c88.js → textfield-0645375b.js} +16 -16
- package/{textfield-902f3ad3.mjs → textfield-93cfcf3c.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-76d039b3.js +6 -0
- package/typescript-a2a5d6b2.mjs +332 -0
- package/xml-89571455.mjs +100 -0
- package/xml-e66929d0.js +6 -0
- package/yaml-11a91e71.js +6 -0
- package/yaml-4eccd122.mjs +189 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.15.0-beta.10",
|
4
4
|
"description": "a catalog of material components for covalent",
|
5
5
|
"main": "./index.js",
|
6
6
|
"module": "./index.mjs",
|
@@ -41,6 +41,11 @@
|
|
41
41
|
"import": "./button.mjs",
|
42
42
|
"require": "./button.js"
|
43
43
|
},
|
44
|
+
"./cell": {
|
45
|
+
"types": "./cell/cell.d.ts",
|
46
|
+
"import": "./cell.mjs",
|
47
|
+
"require": "./cell.js"
|
48
|
+
},
|
44
49
|
"./checkbox": {
|
45
50
|
"types": "./checkbox/checkbox.d.ts",
|
46
51
|
"import": "./checkbox.mjs",
|
@@ -66,6 +71,11 @@
|
|
66
71
|
"import": "./circular-progress.mjs",
|
67
72
|
"require": "./circular-progress.js"
|
68
73
|
},
|
74
|
+
"./code-editor": {
|
75
|
+
"types": "./code-editor/code-editor.d.ts",
|
76
|
+
"import": "./code-editor.mjs",
|
77
|
+
"require": "./code-editor.js"
|
78
|
+
},
|
69
79
|
"./code-snippet": {
|
70
80
|
"types": "./code-snippet/code-snippet.d.ts",
|
71
81
|
"import": "./code-snippet.mjs",
|
@@ -161,6 +171,11 @@
|
|
161
171
|
"import": "./menu.mjs",
|
162
172
|
"require": "./menu.js"
|
163
173
|
},
|
174
|
+
"./notebook": {
|
175
|
+
"types": "./notebook/notebook.d.ts",
|
176
|
+
"import": "./notebook.mjs",
|
177
|
+
"require": "./notebook.js"
|
178
|
+
},
|
164
179
|
"./radio": {
|
165
180
|
"types": "./radio/radio.d.ts",
|
166
181
|
"import": "./radio.mjs",
|
package/php-987b9d87.mjs
ADDED
@@ -0,0 +1,471 @@
|
|
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*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
9
|
+
comments: {
|
10
|
+
lineComment: "//",
|
11
|
+
blockComment: ["/*", "*/"]
|
12
|
+
},
|
13
|
+
brackets: [
|
14
|
+
["{", "}"],
|
15
|
+
["[", "]"],
|
16
|
+
["(", ")"]
|
17
|
+
],
|
18
|
+
autoClosingPairs: [
|
19
|
+
{ open: "{", close: "}", notIn: ["string"] },
|
20
|
+
{ open: "[", close: "]", notIn: ["string"] },
|
21
|
+
{ open: "(", close: ")", notIn: ["string"] },
|
22
|
+
{ open: '"', close: '"', notIn: ["string"] },
|
23
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
24
|
+
],
|
25
|
+
folding: {
|
26
|
+
markers: {
|
27
|
+
start: new RegExp("^\\s*(#|//)region\\b"),
|
28
|
+
end: new RegExp("^\\s*(#|//)endregion\\b")
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}, t = {
|
32
|
+
defaultToken: "",
|
33
|
+
tokenPostfix: "",
|
34
|
+
tokenizer: {
|
35
|
+
root: [
|
36
|
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.root" }],
|
37
|
+
[/<!DOCTYPE/, "metatag.html", "@doctype"],
|
38
|
+
[/<!--/, "comment.html", "@comment"],
|
39
|
+
[/(<)(\w+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
40
|
+
[/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
|
41
|
+
[/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
|
42
|
+
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
43
|
+
[/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
44
|
+
[/</, "delimiter.html"],
|
45
|
+
[/[^<]+/]
|
46
|
+
],
|
47
|
+
doctype: [
|
48
|
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
49
|
+
[/[^>]+/, "metatag.content.html"],
|
50
|
+
[/>/, "metatag.html", "@pop"]
|
51
|
+
],
|
52
|
+
comment: [
|
53
|
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
54
|
+
[/-->/, "comment.html", "@pop"],
|
55
|
+
[/[^-]+/, "comment.content.html"],
|
56
|
+
[/./, "comment.content.html"]
|
57
|
+
],
|
58
|
+
otherTag: [
|
59
|
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.otherTag" }],
|
60
|
+
[/\/?>/, "delimiter.html", "@pop"],
|
61
|
+
[/"([^"]*)"/, "attribute.value"],
|
62
|
+
[/'([^']*)'/, "attribute.value"],
|
63
|
+
[/[\w\-]+/, "attribute.name"],
|
64
|
+
[/=/, "delimiter"],
|
65
|
+
[/[ \t\r\n]+/]
|
66
|
+
],
|
67
|
+
script: [
|
68
|
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.script" }],
|
69
|
+
[/type/, "attribute.name", "@scriptAfterType"],
|
70
|
+
[/"([^"]*)"/, "attribute.value"],
|
71
|
+
[/'([^']*)'/, "attribute.value"],
|
72
|
+
[/[\w\-]+/, "attribute.name"],
|
73
|
+
[/=/, "delimiter"],
|
74
|
+
[
|
75
|
+
/>/,
|
76
|
+
{
|
77
|
+
token: "delimiter.html",
|
78
|
+
next: "@scriptEmbedded.text/javascript",
|
79
|
+
nextEmbedded: "text/javascript"
|
80
|
+
}
|
81
|
+
],
|
82
|
+
[/[ \t\r\n]+/],
|
83
|
+
[
|
84
|
+
/(<\/)(script\s*)(>)/,
|
85
|
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
86
|
+
]
|
87
|
+
],
|
88
|
+
scriptAfterType: [
|
89
|
+
[
|
90
|
+
/<\?((php)|=)?/,
|
91
|
+
{
|
92
|
+
token: "@rematch",
|
93
|
+
switchTo: "@phpInSimpleState.scriptAfterType"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
97
|
+
[
|
98
|
+
/>/,
|
99
|
+
{
|
100
|
+
token: "delimiter.html",
|
101
|
+
next: "@scriptEmbedded.text/javascript",
|
102
|
+
nextEmbedded: "text/javascript"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
[/[ \t\r\n]+/],
|
106
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
107
|
+
],
|
108
|
+
scriptAfterTypeEquals: [
|
109
|
+
[
|
110
|
+
/<\?((php)|=)?/,
|
111
|
+
{
|
112
|
+
token: "@rematch",
|
113
|
+
switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
[
|
117
|
+
/"([^"]*)"/,
|
118
|
+
{
|
119
|
+
token: "attribute.value",
|
120
|
+
switchTo: "@scriptWithCustomType.$1"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
[
|
124
|
+
/'([^']*)'/,
|
125
|
+
{
|
126
|
+
token: "attribute.value",
|
127
|
+
switchTo: "@scriptWithCustomType.$1"
|
128
|
+
}
|
129
|
+
],
|
130
|
+
[
|
131
|
+
/>/,
|
132
|
+
{
|
133
|
+
token: "delimiter.html",
|
134
|
+
next: "@scriptEmbedded.text/javascript",
|
135
|
+
nextEmbedded: "text/javascript"
|
136
|
+
}
|
137
|
+
],
|
138
|
+
[/[ \t\r\n]+/],
|
139
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
140
|
+
],
|
141
|
+
scriptWithCustomType: [
|
142
|
+
[
|
143
|
+
/<\?((php)|=)?/,
|
144
|
+
{
|
145
|
+
token: "@rematch",
|
146
|
+
switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
[
|
150
|
+
/>/,
|
151
|
+
{
|
152
|
+
token: "delimiter.html",
|
153
|
+
next: "@scriptEmbedded.$S2",
|
154
|
+
nextEmbedded: "$S2"
|
155
|
+
}
|
156
|
+
],
|
157
|
+
[/"([^"]*)"/, "attribute.value"],
|
158
|
+
[/'([^']*)'/, "attribute.value"],
|
159
|
+
[/[\w\-]+/, "attribute.name"],
|
160
|
+
[/=/, "delimiter"],
|
161
|
+
[/[ \t\r\n]+/],
|
162
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
163
|
+
],
|
164
|
+
scriptEmbedded: [
|
165
|
+
[
|
166
|
+
/<\?((php)|=)?/,
|
167
|
+
{
|
168
|
+
token: "@rematch",
|
169
|
+
switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
|
170
|
+
nextEmbedded: "@pop"
|
171
|
+
}
|
172
|
+
],
|
173
|
+
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
174
|
+
],
|
175
|
+
style: [
|
176
|
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.style" }],
|
177
|
+
[/type/, "attribute.name", "@styleAfterType"],
|
178
|
+
[/"([^"]*)"/, "attribute.value"],
|
179
|
+
[/'([^']*)'/, "attribute.value"],
|
180
|
+
[/[\w\-]+/, "attribute.name"],
|
181
|
+
[/=/, "delimiter"],
|
182
|
+
[
|
183
|
+
/>/,
|
184
|
+
{
|
185
|
+
token: "delimiter.html",
|
186
|
+
next: "@styleEmbedded.text/css",
|
187
|
+
nextEmbedded: "text/css"
|
188
|
+
}
|
189
|
+
],
|
190
|
+
[/[ \t\r\n]+/],
|
191
|
+
[
|
192
|
+
/(<\/)(style\s*)(>)/,
|
193
|
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
194
|
+
]
|
195
|
+
],
|
196
|
+
styleAfterType: [
|
197
|
+
[
|
198
|
+
/<\?((php)|=)?/,
|
199
|
+
{
|
200
|
+
token: "@rematch",
|
201
|
+
switchTo: "@phpInSimpleState.styleAfterType"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
205
|
+
[
|
206
|
+
/>/,
|
207
|
+
{
|
208
|
+
token: "delimiter.html",
|
209
|
+
next: "@styleEmbedded.text/css",
|
210
|
+
nextEmbedded: "text/css"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
[/[ \t\r\n]+/],
|
214
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
215
|
+
],
|
216
|
+
styleAfterTypeEquals: [
|
217
|
+
[
|
218
|
+
/<\?((php)|=)?/,
|
219
|
+
{
|
220
|
+
token: "@rematch",
|
221
|
+
switchTo: "@phpInSimpleState.styleAfterTypeEquals"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
[
|
225
|
+
/"([^"]*)"/,
|
226
|
+
{
|
227
|
+
token: "attribute.value",
|
228
|
+
switchTo: "@styleWithCustomType.$1"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
[
|
232
|
+
/'([^']*)'/,
|
233
|
+
{
|
234
|
+
token: "attribute.value",
|
235
|
+
switchTo: "@styleWithCustomType.$1"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
[
|
239
|
+
/>/,
|
240
|
+
{
|
241
|
+
token: "delimiter.html",
|
242
|
+
next: "@styleEmbedded.text/css",
|
243
|
+
nextEmbedded: "text/css"
|
244
|
+
}
|
245
|
+
],
|
246
|
+
[/[ \t\r\n]+/],
|
247
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
248
|
+
],
|
249
|
+
styleWithCustomType: [
|
250
|
+
[
|
251
|
+
/<\?((php)|=)?/,
|
252
|
+
{
|
253
|
+
token: "@rematch",
|
254
|
+
switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
[
|
258
|
+
/>/,
|
259
|
+
{
|
260
|
+
token: "delimiter.html",
|
261
|
+
next: "@styleEmbedded.$S2",
|
262
|
+
nextEmbedded: "$S2"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
[/"([^"]*)"/, "attribute.value"],
|
266
|
+
[/'([^']*)'/, "attribute.value"],
|
267
|
+
[/[\w\-]+/, "attribute.name"],
|
268
|
+
[/=/, "delimiter"],
|
269
|
+
[/[ \t\r\n]+/],
|
270
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
271
|
+
],
|
272
|
+
styleEmbedded: [
|
273
|
+
[
|
274
|
+
/<\?((php)|=)?/,
|
275
|
+
{
|
276
|
+
token: "@rematch",
|
277
|
+
switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
|
278
|
+
nextEmbedded: "@pop"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
282
|
+
],
|
283
|
+
phpInSimpleState: [
|
284
|
+
[/<\?((php)|=)?/, "metatag.php"],
|
285
|
+
[/\?>/, { token: "metatag.php", switchTo: "@$S2.$S3" }],
|
286
|
+
{ include: "phpRoot" }
|
287
|
+
],
|
288
|
+
phpInEmbeddedState: [
|
289
|
+
[/<\?((php)|=)?/, "metatag.php"],
|
290
|
+
[
|
291
|
+
/\?>/,
|
292
|
+
{
|
293
|
+
token: "metatag.php",
|
294
|
+
switchTo: "@$S2.$S3",
|
295
|
+
nextEmbedded: "$S3"
|
296
|
+
}
|
297
|
+
],
|
298
|
+
{ include: "phpRoot" }
|
299
|
+
],
|
300
|
+
phpRoot: [
|
301
|
+
[
|
302
|
+
/[a-zA-Z_]\w*/,
|
303
|
+
{
|
304
|
+
cases: {
|
305
|
+
"@phpKeywords": { token: "keyword.php" },
|
306
|
+
"@phpCompileTimeConstants": { token: "constant.php" },
|
307
|
+
"@default": "identifier.php"
|
308
|
+
}
|
309
|
+
}
|
310
|
+
],
|
311
|
+
[
|
312
|
+
/[$a-zA-Z_]\w*/,
|
313
|
+
{
|
314
|
+
cases: {
|
315
|
+
"@phpPreDefinedVariables": {
|
316
|
+
token: "variable.predefined.php"
|
317
|
+
},
|
318
|
+
"@default": "variable.php"
|
319
|
+
}
|
320
|
+
}
|
321
|
+
],
|
322
|
+
[/[{}]/, "delimiter.bracket.php"],
|
323
|
+
[/[\[\]]/, "delimiter.array.php"],
|
324
|
+
[/[()]/, "delimiter.parenthesis.php"],
|
325
|
+
[/[ \t\r\n]+/],
|
326
|
+
[/(#|\/\/)$/, "comment.php"],
|
327
|
+
[/(#|\/\/)/, "comment.php", "@phpLineComment"],
|
328
|
+
[/\/\*/, "comment.php", "@phpComment"],
|
329
|
+
[/"/, "string.php", "@phpDoubleQuoteString"],
|
330
|
+
[/'/, "string.php", "@phpSingleQuoteString"],
|
331
|
+
[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
|
332
|
+
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
|
333
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
|
334
|
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
|
335
|
+
[/0[0-7']*[0-7]/, "number.octal.php"],
|
336
|
+
[/0[bB][0-1']*[0-1]/, "number.binary.php"],
|
337
|
+
[/\d[\d']*/, "number.php"],
|
338
|
+
[/\d/, "number.php"]
|
339
|
+
],
|
340
|
+
phpComment: [
|
341
|
+
[/\*\//, "comment.php", "@pop"],
|
342
|
+
[/[^*]+/, "comment.php"],
|
343
|
+
[/./, "comment.php"]
|
344
|
+
],
|
345
|
+
phpLineComment: [
|
346
|
+
[/\?>/, { token: "@rematch", next: "@pop" }],
|
347
|
+
[/.$/, "comment.php", "@pop"],
|
348
|
+
[/[^?]+$/, "comment.php", "@pop"],
|
349
|
+
[/[^?]+/, "comment.php"],
|
350
|
+
[/./, "comment.php"]
|
351
|
+
],
|
352
|
+
phpDoubleQuoteString: [
|
353
|
+
[/[^\\"]+/, "string.php"],
|
354
|
+
[/@escapes/, "string.escape.php"],
|
355
|
+
[/\\./, "string.escape.invalid.php"],
|
356
|
+
[/"/, "string.php", "@pop"]
|
357
|
+
],
|
358
|
+
phpSingleQuoteString: [
|
359
|
+
[/[^\\']+/, "string.php"],
|
360
|
+
[/@escapes/, "string.escape.php"],
|
361
|
+
[/\\./, "string.escape.invalid.php"],
|
362
|
+
[/'/, "string.php", "@pop"]
|
363
|
+
]
|
364
|
+
},
|
365
|
+
phpKeywords: [
|
366
|
+
"abstract",
|
367
|
+
"and",
|
368
|
+
"array",
|
369
|
+
"as",
|
370
|
+
"break",
|
371
|
+
"callable",
|
372
|
+
"case",
|
373
|
+
"catch",
|
374
|
+
"cfunction",
|
375
|
+
"class",
|
376
|
+
"clone",
|
377
|
+
"const",
|
378
|
+
"continue",
|
379
|
+
"declare",
|
380
|
+
"default",
|
381
|
+
"do",
|
382
|
+
"else",
|
383
|
+
"elseif",
|
384
|
+
"enddeclare",
|
385
|
+
"endfor",
|
386
|
+
"endforeach",
|
387
|
+
"endif",
|
388
|
+
"endswitch",
|
389
|
+
"endwhile",
|
390
|
+
"extends",
|
391
|
+
"false",
|
392
|
+
"final",
|
393
|
+
"for",
|
394
|
+
"foreach",
|
395
|
+
"function",
|
396
|
+
"global",
|
397
|
+
"goto",
|
398
|
+
"if",
|
399
|
+
"implements",
|
400
|
+
"interface",
|
401
|
+
"instanceof",
|
402
|
+
"insteadof",
|
403
|
+
"namespace",
|
404
|
+
"new",
|
405
|
+
"null",
|
406
|
+
"object",
|
407
|
+
"old_function",
|
408
|
+
"or",
|
409
|
+
"private",
|
410
|
+
"protected",
|
411
|
+
"public",
|
412
|
+
"resource",
|
413
|
+
"static",
|
414
|
+
"switch",
|
415
|
+
"throw",
|
416
|
+
"trait",
|
417
|
+
"try",
|
418
|
+
"true",
|
419
|
+
"use",
|
420
|
+
"var",
|
421
|
+
"while",
|
422
|
+
"xor",
|
423
|
+
"die",
|
424
|
+
"echo",
|
425
|
+
"empty",
|
426
|
+
"exit",
|
427
|
+
"eval",
|
428
|
+
"include",
|
429
|
+
"include_once",
|
430
|
+
"isset",
|
431
|
+
"list",
|
432
|
+
"require",
|
433
|
+
"require_once",
|
434
|
+
"return",
|
435
|
+
"print",
|
436
|
+
"unset",
|
437
|
+
"yield",
|
438
|
+
"__construct"
|
439
|
+
],
|
440
|
+
phpCompileTimeConstants: [
|
441
|
+
"__CLASS__",
|
442
|
+
"__DIR__",
|
443
|
+
"__FILE__",
|
444
|
+
"__LINE__",
|
445
|
+
"__NAMESPACE__",
|
446
|
+
"__METHOD__",
|
447
|
+
"__FUNCTION__",
|
448
|
+
"__TRAIT__"
|
449
|
+
],
|
450
|
+
phpPreDefinedVariables: [
|
451
|
+
"$GLOBALS",
|
452
|
+
"$_SERVER",
|
453
|
+
"$_GET",
|
454
|
+
"$_POST",
|
455
|
+
"$_FILES",
|
456
|
+
"$_REQUEST",
|
457
|
+
"$_SESSION",
|
458
|
+
"$_ENV",
|
459
|
+
"$_COOKIE",
|
460
|
+
"$php_errormsg",
|
461
|
+
"$HTTP_RAW_POST_DATA",
|
462
|
+
"$http_response_header",
|
463
|
+
"$argc",
|
464
|
+
"$argv"
|
465
|
+
],
|
466
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
|
467
|
+
};
|
468
|
+
export {
|
469
|
+
e as conf,
|
470
|
+
t as language
|
471
|
+
};
|
package/php-a6dcde52.js
ADDED
@@ -0,0 +1,6 @@
|
|
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*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},t={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};exports.conf=e;exports.language=t;
|