@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
@@ -0,0 +1,202 @@
|
|
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
|
+
comments: {
|
9
|
+
blockComment: ["<!--", "-->"]
|
10
|
+
},
|
11
|
+
brackets: [
|
12
|
+
["{", "}"],
|
13
|
+
["[", "]"],
|
14
|
+
["(", ")"]
|
15
|
+
],
|
16
|
+
autoClosingPairs: [
|
17
|
+
{ open: "{", close: "}" },
|
18
|
+
{ open: "[", close: "]" },
|
19
|
+
{ open: "(", close: ")" },
|
20
|
+
{ open: "<", close: ">", notIn: ["string"] }
|
21
|
+
],
|
22
|
+
surroundingPairs: [
|
23
|
+
{ open: "(", close: ")" },
|
24
|
+
{ open: "[", close: "]" },
|
25
|
+
{ open: "`", close: "`" }
|
26
|
+
],
|
27
|
+
folding: {
|
28
|
+
markers: {
|
29
|
+
start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
|
30
|
+
end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}, t = {
|
34
|
+
defaultToken: "",
|
35
|
+
tokenPostfix: ".md",
|
36
|
+
control: /[\\`*_\[\]{}()#+\-\.!]/,
|
37
|
+
noncontrol: /[^\\`*_\[\]{}()#+\-\.!]/,
|
38
|
+
escapes: /\\(?:@control)/,
|
39
|
+
jsescapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
40
|
+
empty: [
|
41
|
+
"area",
|
42
|
+
"base",
|
43
|
+
"basefont",
|
44
|
+
"br",
|
45
|
+
"col",
|
46
|
+
"frame",
|
47
|
+
"hr",
|
48
|
+
"img",
|
49
|
+
"input",
|
50
|
+
"isindex",
|
51
|
+
"link",
|
52
|
+
"meta",
|
53
|
+
"param"
|
54
|
+
],
|
55
|
+
tokenizer: {
|
56
|
+
root: [
|
57
|
+
[/^\s*\|/, "@rematch", "@table_header"],
|
58
|
+
[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/, ["white", "keyword", "keyword", "keyword"]],
|
59
|
+
[/^\s*(=+|\-+)\s*$/, "keyword"],
|
60
|
+
[/^\s*((\*[ ]?)+)\s*$/, "meta.separator"],
|
61
|
+
[/^\s*>+/, "comment"],
|
62
|
+
[/^\s*([\*\-+:]|\d+\.)\s/, "keyword"],
|
63
|
+
[/^(\t|[ ]{4})[^ ].*$/, "string"],
|
64
|
+
[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/, { token: "string", next: "@codeblock" }],
|
65
|
+
[
|
66
|
+
/^\s*```\s*((?:\w|[\/\-#])+).*$/,
|
67
|
+
{ token: "string", next: "@codeblockgh", nextEmbedded: "$1" }
|
68
|
+
],
|
69
|
+
[/^\s*```\s*$/, { token: "string", next: "@codeblock" }],
|
70
|
+
{ include: "@linecontent" }
|
71
|
+
],
|
72
|
+
table_header: [
|
73
|
+
{ include: "@table_common" },
|
74
|
+
[/[^\|]+/, "keyword.table.header"]
|
75
|
+
],
|
76
|
+
table_body: [{ include: "@table_common" }, { include: "@linecontent" }],
|
77
|
+
table_common: [
|
78
|
+
[/\s*[\-:]+\s*/, { token: "keyword", switchTo: "table_body" }],
|
79
|
+
[/^\s*\|/, "keyword.table.left"],
|
80
|
+
[/^\s*[^\|]/, "@rematch", "@pop"],
|
81
|
+
[/^\s*$/, "@rematch", "@pop"],
|
82
|
+
[
|
83
|
+
/\|/,
|
84
|
+
{
|
85
|
+
cases: {
|
86
|
+
"@eos": "keyword.table.right",
|
87
|
+
"@default": "keyword.table.middle"
|
88
|
+
}
|
89
|
+
}
|
90
|
+
]
|
91
|
+
],
|
92
|
+
codeblock: [
|
93
|
+
[/^\s*~~~\s*$/, { token: "string", next: "@pop" }],
|
94
|
+
[/^\s*```\s*$/, { token: "string", next: "@pop" }],
|
95
|
+
[/.*$/, "variable.source"]
|
96
|
+
],
|
97
|
+
codeblockgh: [
|
98
|
+
[/```\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
|
99
|
+
[/[^`]+/, "variable.source"]
|
100
|
+
],
|
101
|
+
linecontent: [
|
102
|
+
[/&\w+;/, "string.escape"],
|
103
|
+
[/@escapes/, "escape"],
|
104
|
+
[/\b__([^\\_]|@escapes|_(?!_))+__\b/, "strong"],
|
105
|
+
[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/, "strong"],
|
106
|
+
[/\b_[^_]+_\b/, "emphasis"],
|
107
|
+
[/\*([^\\*]|@escapes)+\*/, "emphasis"],
|
108
|
+
[/`([^\\`]|@escapes)+`/, "variable"],
|
109
|
+
[/\{+[^}]+\}+/, "string.target"],
|
110
|
+
[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ["string.link", "", "string.link"]],
|
111
|
+
[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, "string.link"],
|
112
|
+
{ include: "html" }
|
113
|
+
],
|
114
|
+
html: [
|
115
|
+
[/<(\w+)\/>/, "tag"],
|
116
|
+
[
|
117
|
+
/<(\w+)(\-|\w)*/,
|
118
|
+
{
|
119
|
+
cases: {
|
120
|
+
"@empty": { token: "tag", next: "@tag.$1" },
|
121
|
+
"@default": { token: "tag", next: "@tag.$1" }
|
122
|
+
}
|
123
|
+
}
|
124
|
+
],
|
125
|
+
[/<\/(\w+)(\-|\w)*\s*>/, { token: "tag" }],
|
126
|
+
[/<!--/, "comment", "@comment"]
|
127
|
+
],
|
128
|
+
comment: [
|
129
|
+
[/[^<\-]+/, "comment.content"],
|
130
|
+
[/-->/, "comment", "@pop"],
|
131
|
+
[/<!--/, "comment.content.invalid"],
|
132
|
+
[/[<\-]/, "comment.content"]
|
133
|
+
],
|
134
|
+
tag: [
|
135
|
+
[/[ \t\r\n]+/, "white"],
|
136
|
+
[
|
137
|
+
/(type)(\s*=\s*)(")([^"]+)(")/,
|
138
|
+
[
|
139
|
+
"attribute.name.html",
|
140
|
+
"delimiter.html",
|
141
|
+
"string.html",
|
142
|
+
{ token: "string.html", switchTo: "@tag.$S2.$4" },
|
143
|
+
"string.html"
|
144
|
+
]
|
145
|
+
],
|
146
|
+
[
|
147
|
+
/(type)(\s*=\s*)(')([^']+)(')/,
|
148
|
+
[
|
149
|
+
"attribute.name.html",
|
150
|
+
"delimiter.html",
|
151
|
+
"string.html",
|
152
|
+
{ token: "string.html", switchTo: "@tag.$S2.$4" },
|
153
|
+
"string.html"
|
154
|
+
]
|
155
|
+
],
|
156
|
+
[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name.html", "delimiter.html", "string.html"]],
|
157
|
+
[/\w+/, "attribute.name.html"],
|
158
|
+
[/\/>/, "tag", "@pop"],
|
159
|
+
[
|
160
|
+
/>/,
|
161
|
+
{
|
162
|
+
cases: {
|
163
|
+
"$S2==style": {
|
164
|
+
token: "tag",
|
165
|
+
switchTo: "embeddedStyle",
|
166
|
+
nextEmbedded: "text/css"
|
167
|
+
},
|
168
|
+
"$S2==script": {
|
169
|
+
cases: {
|
170
|
+
$S3: {
|
171
|
+
token: "tag",
|
172
|
+
switchTo: "embeddedScript",
|
173
|
+
nextEmbedded: "$S3"
|
174
|
+
},
|
175
|
+
"@default": {
|
176
|
+
token: "tag",
|
177
|
+
switchTo: "embeddedScript",
|
178
|
+
nextEmbedded: "text/javascript"
|
179
|
+
}
|
180
|
+
}
|
181
|
+
},
|
182
|
+
"@default": { token: "tag", next: "@pop" }
|
183
|
+
}
|
184
|
+
}
|
185
|
+
]
|
186
|
+
],
|
187
|
+
embeddedStyle: [
|
188
|
+
[/[^<]+/, ""],
|
189
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
190
|
+
[/</, ""]
|
191
|
+
],
|
192
|
+
embeddedScript: [
|
193
|
+
[/[^<]+/, ""],
|
194
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
195
|
+
[/</, ""]
|
196
|
+
]
|
197
|
+
}
|
198
|
+
};
|
199
|
+
export {
|
200
|
+
e as conf,
|
201
|
+
t as language
|
202
|
+
};
|
@@ -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={comments:{blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},t={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)(\-|\w)*/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)(\-|\w)*\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}};exports.conf=e;exports.language=t;
|
package/menu.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./mwc-menu-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./mwc-menu-base-08f54c38.js"),u=require("./query-assigned-elements-f623705d.js");require("./tslib.es6-98719205.js");require("./mwc-list-base-22616d0a.js");require("./mwc-list-item-base-06d93e6e.js");require("./ripple-handlers-9fb4a31a.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./property-57f6f6fe.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./style-map-a135c6ab.js");require("./observer-a096ab43.js");require("./query-assigned-nodes-99eae71d.js");require("./if-defined-f1c45245.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
5
|
-
*/const c=
|
6
|
-
`;var v=Object.defineProperty,q=Object.getOwnPropertyDescriptor,m=(
|
7
|
-
${
|
8
|
-
`];exports.CovalentMenu=m([
|
5
|
+
*/const c=u.i`mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`,a=`mwc-menu-surface{--mdc-theme-surface: var(--cv-theme-surface-container)}
|
6
|
+
`;var v=Object.defineProperty,q=Object.getOwnPropertyDescriptor,m=(n,r,i,t)=>{for(var e=t>1?void 0:t?q(r,i):r,s=n.length-1,l;s>=0;s--)(l=n[s])&&(e=(t?l(r,i,e):l(e))||e);return t&&e&&v(r,i,e),e};exports.CovalentMenu=class extends o.MenuBase{};exports.CovalentMenu.styles=[c,u.i`
|
7
|
+
${u.r(a)}
|
8
|
+
`];exports.CovalentMenu=m([u.e("cv-menu")],exports.CovalentMenu);const M=exports.CovalentMenu;exports.default=M;
|
package/menu.mjs
CHANGED
@@ -1,16 +1,17 @@
|
|
1
|
-
import { M as c } from "./mwc-menu-base-
|
1
|
+
import { M as c } from "./mwc-menu-base-04586160.mjs";
|
2
2
|
import { i as p, r as l, e as a } from "./query-assigned-elements-4a39219d.mjs";
|
3
3
|
import "./tslib.es6-c4b0f3b1.mjs";
|
4
|
-
import "./mwc-list-base-
|
5
|
-
import "./mwc-list-item-base-
|
6
|
-
import "./ripple-handlers-
|
4
|
+
import "./mwc-list-base-402e1d8e.mjs";
|
5
|
+
import "./mwc-list-item-base-3c6a3bfb.mjs";
|
6
|
+
import "./ripple-handlers-8883e893.mjs";
|
7
7
|
import "./base-element-acf30176.mjs";
|
8
8
|
import "./utils-dc65fdc9.mjs";
|
9
9
|
import "./property-9b6ea53b.mjs";
|
10
10
|
import "./state-b5e865db.mjs";
|
11
11
|
import "./query-d843aa92.mjs";
|
12
|
-
import "./class-map-
|
13
|
-
import "./
|
12
|
+
import "./class-map-6e504a9a.mjs";
|
13
|
+
import "./directive-daf4e9b6.mjs";
|
14
|
+
import "./style-map-e7ec6d41.mjs";
|
14
15
|
import "./observer-be7b92e2.mjs";
|
15
16
|
import "./query-assigned-nodes-df691e78.mjs";
|
16
17
|
import "./if-defined-c367f208.mjs";
|
@@ -37,8 +38,8 @@ o.styles = [
|
|
37
38
|
o = h([
|
38
39
|
a("cv-menu")
|
39
40
|
], o);
|
40
|
-
const
|
41
|
+
const E = o;
|
41
42
|
export {
|
42
43
|
o as CovalentMenu,
|
43
|
-
|
44
|
+
E as default
|
44
45
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { _ as t } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as u, R as k } from "./ripple-handlers-
|
2
|
+
import { e as u, R as k } from "./ripple-handlers-8883e893.mjs";
|
3
3
|
import { a as r } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { F as b } from "./form-element-abadd335.mjs";
|
5
5
|
import { x as l } from "./query-assigned-elements-4a39219d.mjs";
|
@@ -7,7 +7,7 @@ import { n as d } from "./property-9b6ea53b.mjs";
|
|
7
7
|
import { t as c } from "./state-b5e865db.mjs";
|
8
8
|
import { e as v } from "./event-options-78d6cf94.mjs";
|
9
9
|
import { i as h } from "./query-d843aa92.mjs";
|
10
|
-
import { o as f } from "./class-map-
|
10
|
+
import { o as f } from "./class-map-6e504a9a.mjs";
|
11
11
|
import { l as s } from "./if-defined-c367f208.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const i=require("./tslib.es6-98719205.js"),h=require("./ripple-handlers-
|
1
|
+
"use strict";const i=require("./tslib.es6-98719205.js"),h=require("./ripple-handlers-9fb4a31a.js"),r=require("./aria-property-849c8816.js"),k=require("./form-element-c553d6f5.js"),l=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),c=require("./state-0974a8e5.js"),b=require("./event-options-3f5eb195.js"),p=require("./query-680f1868.js"),v=require("./class-map-0a4c6ca9.js"),s=require("./if-defined-f1c45245.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2019 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-98719205.js");require("./inert.esm-2cee6f2e.js");const E=require("./base-element-58a3f9ea.js"),O=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),f=require("./query-680f1868.js"),b=require("./class-map-
|
1
|
+
"use strict";const r=require("./tslib.es6-98719205.js");require("./inert.esm-2cee6f2e.js");const E=require("./base-element-58a3f9ea.js"),O=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),f=require("./query-680f1868.js"),b=require("./class-map-0a4c6ca9.js"),F=require("./utils-a8190a39.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -5,7 +5,7 @@ import { o as b } from "./observer-be7b92e2.mjs";
|
|
5
5
|
import { x as c } from "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import { n as l } from "./property-9b6ea53b.mjs";
|
7
7
|
import { i as C } from "./query-d843aa92.mjs";
|
8
|
-
import { o as g } from "./class-map-
|
8
|
+
import { o as g } from "./class-map-6e504a9a.mjs";
|
9
9
|
import { a as N } from "./utils-dc65fdc9.mjs";
|
10
10
|
/**
|
11
11
|
* @license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const o=require("./tslib.es6-98719205.js"),c=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),p=require("./property-57f6f6fe.js"),h=require("./query-680f1868.js"),
|
1
|
+
"use strict";const o=require("./tslib.es6-98719205.js"),c=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),p=require("./property-57f6f6fe.js"),h=require("./query-680f1868.js"),b=require("./class-map-0a4c6ca9.js"),d=require("./directive-1186bc23.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -19,7 +19,7 @@
|
|
19
19
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
20
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
* THE SOFTWARE.
|
22
|
-
*/var
|
22
|
+
*/var g=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
23
23
|
* @license
|
24
24
|
* Copyright 2018 Google Inc.
|
25
25
|
*
|
@@ -40,7 +40,7 @@
|
|
40
40
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
41
41
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
42
42
|
* THE SOFTWARE.
|
43
|
-
*/var
|
43
|
+
*/var _={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},u={NOTCH_ELEMENT_PADDING:8},v={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"};/**
|
44
44
|
* @license
|
45
45
|
* Copyright 2017 Google Inc.
|
46
46
|
*
|
@@ -61,11 +61,11 @@
|
|
61
61
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
62
62
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
63
63
|
* THE SOFTWARE.
|
64
|
-
*/var E=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return
|
64
|
+
*/var E=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return _},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.notch=function(n){var r=e.cssClasses.OUTLINE_NOTCHED;n>0&&(n+=u.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(n),this.adapter.addClass(r)},e.prototype.closeNotch=function(){var n=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(n),this.adapter.removeNotchWidthProperty()},e}(g);/**
|
65
65
|
* @license
|
66
66
|
* Copyright 2019 Google LLC
|
67
67
|
* SPDX-License-Identifier: Apache-2.0
|
68
|
-
*/class s extends m.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=E,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=
|
68
|
+
*/class s extends m.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=E,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=b.o({"mdc-notched-outline--notched":this.open});return c.x`
|
69
69
|
<span class="mdc-notched-outline ${e}">
|
70
70
|
<span class="mdc-notched-outline__leading"></span>
|
71
71
|
<span class="mdc-notched-outline__notch">
|
@@ -76,11 +76,11 @@
|
|
76
76
|
* @license
|
77
77
|
* Copyright 2021 Google LLC
|
78
78
|
* SPDX-LIcense-Identifier: Apache-2.0
|
79
|
-
*/const
|
79
|
+
*/const y=c.i`.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}:host{display:block;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] :host,:host([dir=rtl]){text-align:right}::slotted(.mdc-floating-label){display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}::slotted(.mdc-floating-label--float-above){text-overflow:clip}.mdc-notched-outline--upgraded ::slotted(.mdc-floating-label--float-above){max-width:calc(100% / 0.75)}.mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__leading,.mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-color:var(--mdc-notched-outline-border-color, var(--mdc-theme-primary, #6200ee));border-width:1px;border-width:var(--mdc-notched-outline-stroke-width, 1px)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0;padding-top:var(--mdc-notched-outline-notch-offset, 0)}`;/**
|
80
80
|
* @license
|
81
81
|
* Copyright 2019 Google LLC
|
82
82
|
* SPDX-License-Identifier: Apache-2.0
|
83
|
-
*/let l=class extends s{};l.styles=[
|
83
|
+
*/let l=class extends s{};l.styles=[y];l=o.__decorate([c.e("mwc-notched-outline")],l);/**
|
84
84
|
* @license
|
85
85
|
* Copyright 2016 Google Inc.
|
86
86
|
*
|
@@ -101,7 +101,7 @@
|
|
101
101
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
102
102
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
103
103
|
* THE SOFTWARE.
|
104
|
-
*/var
|
104
|
+
*/var L=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
105
105
|
* @license
|
106
106
|
* Copyright 2016 Google Inc.
|
107
107
|
*
|
@@ -122,7 +122,7 @@
|
|
122
122
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
123
123
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
124
124
|
* THE SOFTWARE.
|
125
|
-
*/var
|
125
|
+
*/var C={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"};/**
|
126
126
|
* @license
|
127
127
|
* Copyright 2016 Google Inc.
|
128
128
|
*
|
@@ -143,11 +143,11 @@
|
|
143
143
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
144
144
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
145
145
|
* THE SOFTWARE.
|
146
|
-
*/var
|
146
|
+
*/var x=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.shakeAnimationEndHandler=function(){r.handleShakeAnimationEnd()},r}return Object.defineProperty(e,"cssClasses",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(n){var r=e.cssClasses.LABEL_SHAKE;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.float=function(n){var r=e.cssClasses,i=r.LABEL_FLOAT_ABOVE,f=r.LABEL_SHAKE;n?this.adapter.addClass(i):(this.adapter.removeClass(i),this.adapter.removeClass(f))},e.prototype.setRequired=function(n){var r=e.cssClasses.LABEL_REQUIRED;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.handleShakeAnimationEnd=function(){var n=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(n)},e}(L);/**
|
147
147
|
* @license
|
148
148
|
* Copyright 2018 Google LLC
|
149
149
|
* SPDX-License-Identifier: Apache-2.0
|
150
|
-
*/const
|
150
|
+
*/const A=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,n)=>{t.addEventListener(e,n)},deregisterInteractionHandler:(e,n)=>{t.removeEventListener(e,n)}});class P extends d.i{constructor(e){switch(super(e),this.foundation=null,this.previousPart=null,e.type){case d.t.ATTRIBUTE:case d.t.PROPERTY:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(e,[n]){if(e!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-floating-label");const i=A(r);this.foundation=new x(i),this.foundation.init()}return this.render(n)}render(e){return this.foundation}}const O=d.e(P);/**
|
151
151
|
* @license
|
152
152
|
* Copyright 2016 Google Inc.
|
153
153
|
*
|
@@ -168,7 +168,7 @@
|
|
168
168
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
169
169
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
170
170
|
* THE SOFTWARE.
|
171
|
-
*/var
|
171
|
+
*/var N=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
172
172
|
* @license
|
173
173
|
* Copyright 2018 Google Inc.
|
174
174
|
*
|
@@ -210,8 +210,8 @@
|
|
210
210
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
211
211
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
212
212
|
* THE SOFTWARE.
|
213
|
-
*/var
|
213
|
+
*/var I=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.transitionEndHandler=function(i){r.handleTransitionEnd(i)},r}return Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(a.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(n){this.adapter.setStyle("transform-origin",n+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(a.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(n){var r=this.adapter.hasClass(a.LINE_RIPPLE_DEACTIVATING);n.propertyName==="opacity"&&r&&(this.adapter.removeClass(a.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING))},e}(N);/**
|
214
214
|
* @license
|
215
215
|
* Copyright 2019 Google LLC
|
216
216
|
* SPDX-License-Identifier: Apache-2.0
|
217
|
-
*/const
|
217
|
+
*/const T=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,n)=>t.style.setProperty(e,n),registerEventHandler:(e,n)=>{t.addEventListener(e,n)},deregisterEventHandler:(e,n)=>{t.removeEventListener(e,n)}});class D extends d.i{constructor(e){switch(super(e),this.previousPart=null,this.foundation=null,e.type){case d.t.ATTRIBUTE:case d.t.PROPERTY:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(e,n){if(this.previousPart!==e){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-line-ripple");const i=T(r);this.foundation=new I(i),this.foundation.init()}return this.render()}render(){return this.foundation}}const R=d.e(D);exports.floatingLabel=O;exports.lineRipple=R;
|
@@ -3,7 +3,8 @@ import { x as _, i as v, e as E } from "./query-assigned-elements-4a39219d.mjs";
|
|
3
3
|
import { B as y } from "./base-element-acf30176.mjs";
|
4
4
|
import { n as h } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as f } from "./query-d843aa92.mjs";
|
6
|
-
import { o as L
|
6
|
+
import { o as L } from "./class-map-6e504a9a.mjs";
|
7
|
+
import { e as m, i as b, t as l } from "./directive-daf4e9b6.mjs";
|
7
8
|
/**
|
8
9
|
* @license
|
9
10
|
* Copyright 2016 Google Inc.
|
@@ -440,7 +441,7 @@ class H extends b {
|
|
440
441
|
return this.foundation;
|
441
442
|
}
|
442
443
|
}
|
443
|
-
const
|
444
|
+
const G = m(H);
|
444
445
|
/**
|
445
446
|
* @license
|
446
447
|
* Copyright 2016 Google Inc.
|
@@ -646,8 +647,8 @@ class F extends b {
|
|
646
647
|
return this.foundation;
|
647
648
|
}
|
648
649
|
}
|
649
|
-
const
|
650
|
+
const K = m(F);
|
650
651
|
export {
|
651
|
-
|
652
|
-
|
652
|
+
G as f,
|
653
|
+
K as l
|
653
654
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const p=require("./tslib.es6-98719205.js"),O=require("./query-assigned-elements-f623705d.js"),B=require("./mwc-list-item-base-
|
1
|
+
"use strict";const p=require("./tslib.es6-98719205.js"),O=require("./query-assigned-elements-f623705d.js"),B=require("./mwc-list-item-base-06d93e6e.js"),H=require("./base-element-58a3f9ea.js"),L=require("./observer-a096ab43.js"),F=require("./utils-a8190a39.js"),I=require("./property-57f6f6fe.js"),K=require("./query-680f1868.js"),W=require("./query-assigned-nodes-99eae71d.js"),k=require("./if-defined-f1c45245.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { _ as p } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as z, e as B, x as P } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as H } from "./mwc-list-item-base-
|
3
|
+
import { L as H } from "./mwc-list-item-base-3c6a3bfb.mjs";
|
4
4
|
import { B as K } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as L } from "./observer-be7b92e2.mjs";
|
6
6
|
import { i as V, b as X, d as G } from "./utils-dc65fdc9.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const s=require("./tslib.es6-98719205.js"),c=require("./ripple-handlers-
|
1
|
+
"use strict";const s=require("./tslib.es6-98719205.js"),c=require("./ripple-handlers-9fb4a31a.js"),l=require("./observer-a096ab43.js"),r=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),d=require("./state-0974a8e5.js"),p=require("./query-680f1868.js"),h=require("./class-map-0a4c6ca9.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { _ as t } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as c, R as d } from "./ripple-handlers-
|
2
|
+
import { e as c, R as d } from "./ripple-handlers-8883e893.mjs";
|
3
3
|
import { o as l } from "./observer-be7b92e2.mjs";
|
4
4
|
import { s as h, x as n } from "./query-assigned-elements-4a39219d.mjs";
|
5
5
|
import { n as r } from "./property-9b6ea53b.mjs";
|
6
6
|
import { t as p } from "./state-b5e865db.mjs";
|
7
7
|
import { i as u } from "./query-d843aa92.mjs";
|
8
|
-
import { o as m } from "./class-map-
|
8
|
+
import { o as m } from "./class-map-6e504a9a.mjs";
|
9
9
|
/**
|
10
10
|
* @license
|
11
11
|
* Copyright 2020 Google LLC
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { _ as o, a as U, b as B, c as q } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as V, e as K, x as F } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as Q } from "./mwc-list-base-
|
3
|
+
import { L as Q } from "./mwc-list-base-402e1d8e.mjs";
|
4
4
|
import { B as j } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as g } from "./observer-be7b92e2.mjs";
|
6
6
|
import { a as Y, b as Z, d as J } from "./utils-dc65fdc9.mjs";
|
7
7
|
import { n as a } from "./property-9b6ea53b.mjs";
|
8
8
|
import { t as b } from "./state-b5e865db.mjs";
|
9
9
|
import { i as D } from "./query-d843aa92.mjs";
|
10
|
-
import { o as P } from "./class-map-
|
11
|
-
import { o as tt } from "./style-map-
|
10
|
+
import { o as P } from "./class-map-6e504a9a.mjs";
|
11
|
+
import { o as tt } from "./style-map-e7ec6d41.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2021 Google LLC
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const s=require("./tslib.es6-98719205.js"),A=require("./query-assigned-elements-f623705d.js"),K=require("./mwc-list-base-
|
1
|
+
"use strict";const s=require("./tslib.es6-98719205.js"),A=require("./query-assigned-elements-f623705d.js"),K=require("./mwc-list-base-22616d0a.js"),U=require("./base-element-58a3f9ea.js"),E=require("./observer-a096ab43.js"),N=require("./utils-a8190a39.js"),a=require("./property-57f6f6fe.js"),v=require("./state-0974a8e5.js"),F=require("./query-680f1868.js"),P=require("./class-map-0a4c6ca9.js"),j=require("./style-map-a135c6ab.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-98719205.js"),p=require("./ripple-handlers-
|
1
|
+
"use strict";const r=require("./tslib.es6-98719205.js"),p=require("./ripple-handlers-9fb4a31a.js"),f=require("./aria-property-849c8816.js"),v=require("./form-element-c553d6f5.js"),m=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-f623705d.js"),a=require("./property-57f6f6fe.js"),d=require("./state-0974a8e5.js"),g=require("./event-options-3f5eb195.js"),b=require("./query-680f1868.js"),_=require("./class-map-0a4c6ca9.js"),u=require("./if-defined-f1c45245.js"),y=require("./utils-a8190a39.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { a as v, b as c, _ as i } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as g, R as y } from "./ripple-handlers-
|
2
|
+
import { e as g, R as y } from "./ripple-handlers-8883e893.mjs";
|
3
3
|
import { a as f } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { F as R } from "./form-element-abadd335.mjs";
|
5
5
|
import { o as m } from "./observer-be7b92e2.mjs";
|
@@ -8,7 +8,7 @@ import { n as a } from "./property-9b6ea53b.mjs";
|
|
8
8
|
import { t as l } from "./state-b5e865db.mjs";
|
9
9
|
import { e as C } from "./event-options-78d6cf94.mjs";
|
10
10
|
import { i as b } from "./query-d843aa92.mjs";
|
11
|
-
import { o as E } from "./class-map-
|
11
|
+
import { o as E } from "./class-map-6e504a9a.mjs";
|
12
12
|
import { l as h } from "./if-defined-c367f208.mjs";
|
13
13
|
import { a as k } from "./utils-dc65fdc9.mjs";
|
14
14
|
/**
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const d=require("./tslib.es6-98719205.js"),V=require("./ripple-handlers-
|
1
|
+
"use strict";const d=require("./tslib.es6-98719205.js"),V=require("./ripple-handlers-9fb4a31a.js"),k=require("./aria-property-849c8816.js"),L=require("./form-element-c553d6f5.js"),m=require("./query-assigned-elements-f623705d.js"),b=require("./property-57f6f6fe.js"),f=require("./state-0974a8e5.js"),g=require("./query-680f1868.js"),x=require("./class-map-0a4c6ca9.js"),A=require("./if-defined-f1c45245.js"),U=require("./style-map-a135c6ab.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google Inc.
|
4
4
|
*
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { a as F, b as x, _ as o } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as H, R as O } from "./ripple-handlers-
|
2
|
+
import { e as H, R as O } from "./ripple-handlers-8883e893.mjs";
|
3
3
|
import { a as w } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { F as B } from "./form-element-abadd335.mjs";
|
5
5
|
import { x as _, A as g, i as $ } from "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import { n as f } from "./property-9b6ea53b.mjs";
|
7
7
|
import { t as b } from "./state-b5e865db.mjs";
|
8
8
|
import { i as y } from "./query-d843aa92.mjs";
|
9
|
-
import { o as P } from "./class-map-
|
9
|
+
import { o as P } from "./class-map-6e504a9a.mjs";
|
10
10
|
import { l as R } from "./if-defined-c367f208.mjs";
|
11
|
-
import { o as W } from "./style-map-
|
11
|
+
import { o as W } from "./style-map-e7ec6d41.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2020 Google Inc.
|