@covalent/components 8.14.1 → 8.15.0-beta.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/abap-1354785f.mjs +1314 -0
- package/abap-c7187853.js +6 -0
- package/action-ribbon.js +1 -1
- package/action-ribbon.mjs +4 -3
- package/alert.js +1 -1
- package/alert.mjs +4 -3
- package/apex-279d4f27.mjs +315 -0
- package/apex-fc5f2b3e.js +6 -0
- package/app-shell.js +1 -1
- package/app-shell.mjs +8 -7
- package/assets/css.worker-1af1972f.js +84 -0
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/html.worker-38c267f1.js +456 -0
- package/assets/json.worker-bf861c27.js +39 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/async-directive-4a34f75e.js +5 -0
- package/async-directive-99a01ec7.mjs +78 -0
- package/azcli-ba812c55.mjs +74 -0
- package/azcli-eb191d91.js +6 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -3
- package/bat-34d38df4.js +6 -0
- package/bat-4d77495d.mjs +95 -0
- package/bicep-7b240724.mjs +108 -0
- package/bicep-a8264e77.js +7 -0
- package/button.js +1 -1
- package/button.mjs +10 -9
- package/cameligo-5d2daeb8.mjs +168 -0
- package/cameligo-6e71c8f3.js +6 -0
- package/card.js +1 -1
- package/card.mjs +4 -3
- package/cell/cell.d.ts +58 -0
- package/cell/cell.d.ts.map +1 -0
- package/cell.js +25 -0
- package/cell.mjs +129 -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/clojure-355adae1.js +6 -0
- package/clojure-b7ea12a3.mjs +754 -0
- package/code-editor/code-editor.d.ts +51 -0
- package/code-editor/code-editor.d.ts.map +1 -0
- package/code-editor-383a8fae.mjs +94274 -0
- package/code-editor-4cce5e5d.js +1200 -0
- package/code-editor.js +1 -0
- package/code-editor.mjs +10 -0
- package/code-snippet.js +1 -1
- package/code-snippet.mjs +4 -3
- package/coffee-1a8cfbf4.mjs +228 -0
- package/coffee-fd8a7421.js +6 -0
- 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/csp-54919de0.js +6 -0
- package/csp-96407af0.mjs +57 -0
- package/css-5dd354ac.mjs +186 -0
- package/css-9be95551.js +8 -0
- package/cssMode-821261c4.js +9 -0
- package/cssMode-9b89f9af.mjs +1450 -0
- package/cypher-11e5a4b6.mjs +262 -0
- package/cypher-cc849b67.js +6 -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/dockerfile-2f8684f7.js +6 -0
- package/dockerfile-8739cff7.mjs +132 -0
- package/drawer.js +1 -1
- package/drawer.mjs +5 -4
- package/ecl-68a6f20f.js +6 -0
- package/ecl-a20c5155.mjs +454 -0
- package/elixir-32cc668e.js +6 -0
- package/elixir-8b028584.mjs +467 -0
- package/flow9-0dea2e73.mjs +141 -0
- package/flow9-1d2ab5f6.js +6 -0
- package/formfield.js +3 -3
- package/formfield.mjs +4 -3
- package/freemarker2-4fc0d2e6.mjs +648 -0
- package/freemarker2-7095cbc4.js +8 -0
- package/fsharp-49a70fad.mjs +210 -0
- package/fsharp-a22f5013.js +6 -0
- package/go-46e3b371.mjs +208 -0
- package/go-cdd943fd.js +6 -0
- package/graphql-1a14eb34.js +6 -0
- package/graphql-51a577e5.mjs +141 -0
- package/handlebars-6a356ce9.js +6 -0
- package/handlebars-82c24f9d.mjs +396 -0
- package/hcl-0833427e.js +6 -0
- package/hcl-56b85754.mjs +177 -0
- package/html-a95df2b1.mjs +286 -0
- package/html-d9124a1e.js +6 -0
- package/htmlMode-3946317b.js +9 -0
- package/htmlMode-45fac07b.mjs +1460 -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/ini-1d58d82f.mjs +68 -0
- package/ini-34a929df.js +6 -0
- package/java-32d7b433.js +6 -0
- package/java-cd017f60.mjs +221 -0
- package/javascript-0226b3a0.mjs +80 -0
- package/javascript-ec698494.js +6 -0
- package/jsonMode-a8e45f39.js +11 -0
- package/jsonMode-bdcd2ed9.mjs +1871 -0
- package/julia-7db1fb9a.js +6 -0
- package/julia-a0caf483.mjs +496 -0
- package/kotlin-4b9019e1.js +6 -0
- package/kotlin-c6e52a56.mjs +245 -0
- package/less-5219eae1.js +7 -0
- package/less-718543b4.mjs +168 -0
- package/lexon-5e6e7a44.mjs +151 -0
- package/lexon-dfd683ab.js +6 -0
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +5 -4
- package/liquid-2dc745b6.mjs +243 -0
- package/liquid-b6e2effe.js +6 -0
- 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/m3-87473279.js +6 -0
- package/m3-aadaf771.mjs +210 -0
- package/markdown-9b448c46.mjs +202 -0
- package/markdown-eae8e3ba.js +6 -0
- package/menu.js +5 -5
- package/menu.mjs +9 -8
- package/mips-161e49ce.mjs +194 -0
- package/mips-82a1ce59.js +6 -0
- package/msdax-b3b5017e.js +6 -0
- package/msdax-f65cb1e6.mjs +377 -0
- 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/mysql-24549dd1.mjs +875 -0
- package/mysql-69f1c589.js +6 -0
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +7 -6
- package/notebook/notebook.d.ts +49 -0
- package/notebook/notebook.d.ts.map +1 -0
- package/notebook.js +90 -0
- package/notebook.mjs +3307 -0
- package/objective-c-c8319b65.js +6 -0
- package/objective-c-e129a5ca.mjs +188 -0
- package/package.json +16 -1
- package/pascal-4ccdf5ce.mjs +245 -0
- package/pascal-e5207a08.js +6 -0
- package/pascaligo-8eb79945.js +6 -0
- package/pascaligo-a9603dcd.mjs +158 -0
- package/perl-ba1fb97a.mjs +599 -0
- package/perl-e8264c91.js +6 -0
- package/pgsql-89978310.mjs +843 -0
- package/pgsql-c8ba6faf.js +6 -0
- package/php-987b9d87.mjs +471 -0
- package/php-a6dcde52.js +6 -0
- package/pla-96c2695d.mjs +131 -0
- package/pla-c85b0e59.js +6 -0
- package/postiats-3c2c478e.js +6 -0
- package/postiats-7b52ebac.mjs +544 -0
- package/powerquery-8954ec26.mjs +890 -0
- package/powerquery-b0d5f9e4.js +6 -0
- package/powershell-cdb88123.js +6 -0
- package/powershell-f00d0274.mjs +233 -0
- package/protobuf-3eb85f80.mjs +422 -0
- package/protobuf-a3b2ca94.js +7 -0
- package/pug-6fab415a.mjs +393 -0
- package/pug-c5df821d.js +6 -0
- package/python-7770f129.mjs +264 -0
- package/python-c7862f06.js +6 -0
- package/qsharp-4792f872.mjs +282 -0
- package/qsharp-7eddb7b9.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/razor-3871ef20.mjs +517 -0
- package/razor-4a6a11b1.js +6 -0
- package/redis-0d0a89dd.js +6 -0
- package/redis-276b8288.mjs +298 -0
- package/redshift-520a7359.mjs +806 -0
- package/redshift-b6bdaeca.js +6 -0
- package/restructuredtext-4676a3fc.mjs +162 -0
- package/restructuredtext-c83d56ed.js +6 -0
- package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
- package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
- package/ruby-764137cd.mjs +444 -0
- package/ruby-96103dcf.js +6 -0
- package/rust-87887495.js +6 -0
- package/rust-97f8f6e1.mjs +337 -0
- package/sb-8c22f14c.mjs +110 -0
- package/sb-e2701210.js +6 -0
- package/scala-c68c650c.mjs +353 -0
- package/scala-e8b7bd42.js +6 -0
- package/scheme-b9cbf7cb.js +6 -0
- package/scheme-e6a52cb0.mjs +114 -0
- package/scss-45104c77.mjs +244 -0
- package/scss-d0f4f80e.js +8 -0
- package/select.js +1 -1
- package/select.mjs +10 -9
- 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/solidity-d4979008.mjs +1351 -0
- package/solidity-f1319e8a.js +6 -0
- package/sophia-21995caf.mjs +190 -0
- package/sophia-a1ce907f.js +6 -0
- package/sparql-5088743c.mjs +193 -0
- package/sparql-98d9e092.js +6 -0
- package/sql-63ec8e76.mjs +818 -0
- package/sql-faf05577.js +6 -0
- package/st-122893c4.js +6 -0
- package/st-fa9ab362.mjs +414 -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/systemverilog-8139818b.js +6 -0
- package/systemverilog-a4f858ed.mjs +556 -0
- package/tab-bar.js +2 -2
- package/tab-bar.mjs +7 -6
- package/tab.js +1 -1
- package/tab.mjs +9 -8
- package/tcl-8adf937f.mjs +232 -0
- package/tcl-e49fed0b.js +6 -0
- 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/tsMode-426fdb34.mjs +794 -0
- package/tsMode-9087ec29.js +16 -0
- package/twig-404eb73e.mjs +323 -0
- package/twig-4bfb5b04.js +6 -0
- package/typescript-37d9bf54.mjs +332 -0
- package/typescript-eb2ab867.js +6 -0
- package/vb-8dfd000c.js +6 -0
- package/vb-e21e8153.mjs +364 -0
- package/xml-349a9a42.js +6 -0
- package/xml-9970ffe1.mjs +100 -0
- package/yaml-167e3d82.mjs +189 -0
- package/yaml-837b2090.js +6 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
package/tcl-8adf937f.mjs
ADDED
@@ -0,0 +1,232 @@
|
|
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
|
+
brackets: [
|
9
|
+
["{", "}"],
|
10
|
+
["[", "]"],
|
11
|
+
["(", ")"]
|
12
|
+
],
|
13
|
+
autoClosingPairs: [
|
14
|
+
{ open: "{", close: "}" },
|
15
|
+
{ open: "[", close: "]" },
|
16
|
+
{ open: "(", close: ")" },
|
17
|
+
{ open: '"', close: '"' },
|
18
|
+
{ open: "'", close: "'" }
|
19
|
+
],
|
20
|
+
surroundingPairs: [
|
21
|
+
{ open: "{", close: "}" },
|
22
|
+
{ open: "[", close: "]" },
|
23
|
+
{ open: "(", close: ")" },
|
24
|
+
{ open: '"', close: '"' },
|
25
|
+
{ open: "'", close: "'" }
|
26
|
+
]
|
27
|
+
}, t = {
|
28
|
+
tokenPostfix: ".tcl",
|
29
|
+
specialFunctions: [
|
30
|
+
"set",
|
31
|
+
"unset",
|
32
|
+
"rename",
|
33
|
+
"variable",
|
34
|
+
"proc",
|
35
|
+
"coroutine",
|
36
|
+
"foreach",
|
37
|
+
"incr",
|
38
|
+
"append",
|
39
|
+
"lappend",
|
40
|
+
"linsert",
|
41
|
+
"lreplace"
|
42
|
+
],
|
43
|
+
mainFunctions: [
|
44
|
+
"if",
|
45
|
+
"then",
|
46
|
+
"elseif",
|
47
|
+
"else",
|
48
|
+
"case",
|
49
|
+
"switch",
|
50
|
+
"while",
|
51
|
+
"for",
|
52
|
+
"break",
|
53
|
+
"continue",
|
54
|
+
"return",
|
55
|
+
"package",
|
56
|
+
"namespace",
|
57
|
+
"catch",
|
58
|
+
"exit",
|
59
|
+
"eval",
|
60
|
+
"expr",
|
61
|
+
"uplevel",
|
62
|
+
"upvar"
|
63
|
+
],
|
64
|
+
builtinFunctions: [
|
65
|
+
"file",
|
66
|
+
"info",
|
67
|
+
"concat",
|
68
|
+
"join",
|
69
|
+
"lindex",
|
70
|
+
"list",
|
71
|
+
"llength",
|
72
|
+
"lrange",
|
73
|
+
"lsearch",
|
74
|
+
"lsort",
|
75
|
+
"split",
|
76
|
+
"array",
|
77
|
+
"parray",
|
78
|
+
"binary",
|
79
|
+
"format",
|
80
|
+
"regexp",
|
81
|
+
"regsub",
|
82
|
+
"scan",
|
83
|
+
"string",
|
84
|
+
"subst",
|
85
|
+
"dict",
|
86
|
+
"cd",
|
87
|
+
"clock",
|
88
|
+
"exec",
|
89
|
+
"glob",
|
90
|
+
"pid",
|
91
|
+
"pwd",
|
92
|
+
"close",
|
93
|
+
"eof",
|
94
|
+
"fblocked",
|
95
|
+
"fconfigure",
|
96
|
+
"fcopy",
|
97
|
+
"fileevent",
|
98
|
+
"flush",
|
99
|
+
"gets",
|
100
|
+
"open",
|
101
|
+
"puts",
|
102
|
+
"read",
|
103
|
+
"seek",
|
104
|
+
"socket",
|
105
|
+
"tell",
|
106
|
+
"interp",
|
107
|
+
"after",
|
108
|
+
"auto_execok",
|
109
|
+
"auto_load",
|
110
|
+
"auto_mkindex",
|
111
|
+
"auto_reset",
|
112
|
+
"bgerror",
|
113
|
+
"error",
|
114
|
+
"global",
|
115
|
+
"history",
|
116
|
+
"load",
|
117
|
+
"source",
|
118
|
+
"time",
|
119
|
+
"trace",
|
120
|
+
"unknown",
|
121
|
+
"unset",
|
122
|
+
"update",
|
123
|
+
"vwait",
|
124
|
+
"winfo",
|
125
|
+
"wm",
|
126
|
+
"bind",
|
127
|
+
"event",
|
128
|
+
"pack",
|
129
|
+
"place",
|
130
|
+
"grid",
|
131
|
+
"font",
|
132
|
+
"bell",
|
133
|
+
"clipboard",
|
134
|
+
"destroy",
|
135
|
+
"focus",
|
136
|
+
"grab",
|
137
|
+
"lower",
|
138
|
+
"option",
|
139
|
+
"raise",
|
140
|
+
"selection",
|
141
|
+
"send",
|
142
|
+
"tk",
|
143
|
+
"tkwait",
|
144
|
+
"tk_bisque",
|
145
|
+
"tk_focusNext",
|
146
|
+
"tk_focusPrev",
|
147
|
+
"tk_focusFollowsMouse",
|
148
|
+
"tk_popup",
|
149
|
+
"tk_setPalette"
|
150
|
+
],
|
151
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
152
|
+
brackets: [
|
153
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
154
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
155
|
+
{ open: "[", close: "]", token: "delimiter.square" }
|
156
|
+
],
|
157
|
+
escapes: /\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
158
|
+
variables: /(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,
|
159
|
+
tokenizer: {
|
160
|
+
root: [
|
161
|
+
[
|
162
|
+
/[a-zA-Z_]\w*/,
|
163
|
+
{
|
164
|
+
cases: {
|
165
|
+
"@specialFunctions": {
|
166
|
+
token: "keyword.flow",
|
167
|
+
next: "@specialFunc"
|
168
|
+
},
|
169
|
+
"@mainFunctions": "keyword",
|
170
|
+
"@builtinFunctions": "variable",
|
171
|
+
"@default": "operator.scss"
|
172
|
+
}
|
173
|
+
}
|
174
|
+
],
|
175
|
+
[/\s+\-+(?!\d|\.)\w*|{\*}/, "metatag"],
|
176
|
+
{ include: "@whitespace" },
|
177
|
+
[/[{}()\[\]]/, "@brackets"],
|
178
|
+
[/@symbols/, "operator"],
|
179
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
180
|
+
[/@variables/, "type.identifier"],
|
181
|
+
[/\.(?!\d|\.)[\w\-]*/, "operator.sql"],
|
182
|
+
[/\d+(\.\d+)?/, "number"],
|
183
|
+
[/\d+/, "number"],
|
184
|
+
[/;/, "delimiter"],
|
185
|
+
[/"/, { token: "string.quote", bracket: "@open", next: "@dstring" }],
|
186
|
+
[/'/, { token: "string.quote", bracket: "@open", next: "@sstring" }]
|
187
|
+
],
|
188
|
+
dstring: [
|
189
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
190
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
191
|
+
[/@variables/, "type.identifier"],
|
192
|
+
[/[^\\$\[\]"]+/, "string"],
|
193
|
+
[/@escapes/, "string.escape"],
|
194
|
+
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
195
|
+
],
|
196
|
+
sstring: [
|
197
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
198
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
199
|
+
[/@variables/, "type.identifier"],
|
200
|
+
[/[^\\$\[\]']+/, "string"],
|
201
|
+
[/@escapes/, "string.escape"],
|
202
|
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
203
|
+
],
|
204
|
+
whitespace: [
|
205
|
+
[/[ \t\r\n]+/, "white"],
|
206
|
+
[/#.*\\$/, { token: "comment", next: "@newlineComment" }],
|
207
|
+
[/#.*(?!\\)$/, "comment"]
|
208
|
+
],
|
209
|
+
newlineComment: [
|
210
|
+
[/.*\\$/, "comment"],
|
211
|
+
[/.*(?!\\)$/, { token: "comment", next: "@pop" }]
|
212
|
+
],
|
213
|
+
nestedVariable: [
|
214
|
+
[/[^\{\}\$]+/, "type.identifier"],
|
215
|
+
[/\}/, { token: "identifier", next: "@pop" }]
|
216
|
+
],
|
217
|
+
nestedCall: [
|
218
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
219
|
+
[/\]/, { token: "@brackets", next: "@pop" }],
|
220
|
+
{ include: "root" }
|
221
|
+
],
|
222
|
+
specialFunc: [
|
223
|
+
[/"/, { token: "string", next: "@dstring" }],
|
224
|
+
[/'/, { token: "string", next: "@sstring" }],
|
225
|
+
[/\S+/, { token: "type", next: "@pop" }]
|
226
|
+
]
|
227
|
+
}
|
228
|
+
};
|
229
|
+
export {
|
230
|
+
e as conf,
|
231
|
+
t as language
|
232
|
+
};
|
package/tcl-e49fed0b.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={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/\S+/,{token:"type",next:"@pop"}]]}};exports.conf=e;exports.language=t;
|
package/text-lockup.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),l=require("./class-map-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),l=require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");const y=`.subtext--trailing{display:flex;flex-direction:column-reverse}.subtext{display:flex;align-items:center;--mdc-icon-size: 16px;color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height);margin-bottom:2px}.subtext cv-icon{margin-right:8px}slot{font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);margin-bottom:8px}.scale--large .subtext{--mdc-icon-size: 24px;font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);margin-bottom:2px}.scale--large slot{font-family:var(--mdc-typography-headline4-font-family);font-size:var(--mdc-typography-headline4-font-size);font-weight:var(--mdc-typography-headline4-font-weight);line-height:var(--mdc-typography-headline4-line-height);margin-bottom:8px}.subtext-state--positive .subtext{color:var(--mdc-theme-positive)}.subtext-state--negative .subtext{color:var(--mdc-theme-negative)}.subtext-state--caution .subtext{color:var(--mdc-theme-caution)}.subtext-state--active .subtext{color:var(--mdc-theme-accent)}
|
2
2
|
`;var h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a=(r,t,s,i)=>{for(var e=i>1?void 0:i?u(t,s):t,c=r.length-1,p;c>=0;c--)(p=r[c])&&(e=(i?p(t,s,e):p(e))||e);return i&&e&&h(t,s,e),e};exports.CovalentTextLockup=class extends o.s{constructor(){super(...arguments),this.scale="small",this.trailingSubText=!1}render(){const t={"subtext--trailing":this.trailingSubText};return t[`scale--${this.scale}`]=!0,this.state&&(t[`subtext-state--${this.state}`]=!0),o.x`<span class="${l.o(t)}"
|
3
3
|
><span class="subtext">${this.renderIcon()}${this.subText}</span
|
4
4
|
><slot></slot
|
package/text-lockup.mjs
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { i as h, r as y, s as m, x as l, A as g, e as f } from "./query-assigned-elements-4a39219d.mjs";
|
2
2
|
import { n as i } from "./property-9b6ea53b.mjs";
|
3
|
-
import { o as d } from "./class-map-
|
3
|
+
import { o as d } from "./class-map-6e504a9a.mjs";
|
4
|
+
import "./directive-daf4e9b6.mjs";
|
4
5
|
const v = `.subtext--trailing{display:flex;flex-direction:column-reverse}.subtext{display:flex;align-items:center;--mdc-icon-size: 16px;color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height);margin-bottom:2px}.subtext cv-icon{margin-right:8px}slot{font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);margin-bottom:8px}.scale--large .subtext{--mdc-icon-size: 24px;font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);margin-bottom:2px}.scale--large slot{font-family:var(--mdc-typography-headline4-font-family);font-size:var(--mdc-typography-headline4-font-size);font-weight:var(--mdc-typography-headline4-font-weight);line-height:var(--mdc-typography-headline4-line-height);margin-bottom:8px}.subtext-state--positive .subtext{color:var(--mdc-theme-positive)}.subtext-state--negative .subtext{color:var(--mdc-theme-negative)}.subtext-state--caution .subtext{color:var(--mdc-theme-caution)}.subtext-state--active .subtext{color:var(--mdc-theme-accent)}
|
5
6
|
`;
|
6
7
|
var u = Object.defineProperty, x = Object.getOwnPropertyDescriptor, a = (o, r, s, n) => {
|
@@ -48,8 +49,8 @@ a([
|
|
48
49
|
t = a([
|
49
50
|
f("cv-text-lockup")
|
50
51
|
], t);
|
51
|
-
const
|
52
|
+
const T = t;
|
52
53
|
export {
|
53
54
|
t as CovalentTextLockup,
|
54
|
-
|
55
|
+
T as default
|
55
56
|
};
|
package/textarea.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-f623705d.js"),n=require("./tslib.es6-98719205.js"),f=require("./textfield-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-f623705d.js"),n=require("./tslib.es6-98719205.js"),f=require("./textfield-0645375b.js"),x=require("./property-57f6f6fe.js"),s=require("./query-680f1868.js"),p=require("./class-map-0a4c6ca9.js"),a=require("./if-defined-f1c45245.js");require("./mwc-line-ripple-directive-40145003.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./directive-1186bc23.js");require("./form-element-c553d6f5.js");require("./observer-a096ab43.js");require("./state-0974a8e5.js");require("./event-options-3f5eb195.js");require("./directive-helpers-0ce1f995.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2019 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
package/textarea.mjs
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
import { x as s, i as f, r as p, e as h } from "./query-assigned-elements-4a39219d.mjs";
|
2
2
|
import { _ as n } from "./tslib.es6-c4b0f3b1.mjs";
|
3
|
-
import { T as g, l as b, s as u } from "./textfield-
|
3
|
+
import { T as g, l as b, s as u } from "./textfield-93cfcf3c.mjs";
|
4
4
|
import { n as x } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as _ } from "./query-d843aa92.mjs";
|
6
|
-
import { o as v } from "./class-map-
|
6
|
+
import { o as v } from "./class-map-6e504a9a.mjs";
|
7
7
|
import { l as o } from "./if-defined-c367f208.mjs";
|
8
|
-
import "./mwc-line-ripple-directive-
|
8
|
+
import "./mwc-line-ripple-directive-aabd8778.mjs";
|
9
9
|
import "./base-element-acf30176.mjs";
|
10
10
|
import "./utils-dc65fdc9.mjs";
|
11
|
+
import "./directive-daf4e9b6.mjs";
|
11
12
|
import "./form-element-abadd335.mjs";
|
12
13
|
import "./observer-be7b92e2.mjs";
|
13
14
|
import "./state-b5e865db.mjs";
|
@@ -110,8 +111,8 @@ c.styles = [z, w, f`${p(u)}`];
|
|
110
111
|
c = X([
|
111
112
|
h("cv-textarea")
|
112
113
|
], c);
|
113
|
-
const
|
114
|
+
const E = c;
|
114
115
|
export {
|
115
116
|
c as CovalentTextArea,
|
116
|
-
|
117
|
+
E as default
|
117
118
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const a=require("./tslib.es6-98719205.js"),
|
1
|
+
"use strict";const a=require("./tslib.es6-98719205.js"),I=require("./mwc-line-ripple-directive-40145003.js"),E=require("./form-element-c553d6f5.js"),V=require("./observer-a096ab43.js"),u=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),x=require("./state-0974a8e5.js"),H=require("./event-options-3f5eb195.js"),y=require("./query-680f1868.js"),b=require("./class-map-0a4c6ca9.js"),h=require("./if-defined-f1c45245.js"),v=require("./directive-1186bc23.js"),_=require("./directive-helpers-0ce1f995.js"),$=require("./utils-a8190a39.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 w=function(){function s(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(s,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(s,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(s,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(s,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),s.prototype.init=function(){},s.prototype.destroy=function(){},s}();/**
|
23
23
|
* @license
|
24
24
|
* Copyright 2016 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 L={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},B={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},F={LABEL_SCALE:.75},U=["pattern","min","max","required","step","minlength","maxlength"],T=["color","date","datetime-local","month","range","time","week"];/**
|
44
44
|
* @license
|
45
45
|
* Copyright 2016 Google Inc.
|
46
46
|
*
|
@@ -61,16 +61,16 @@
|
|
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
|
64
|
+
*/var C=["mousedown","touchstart"],O=["click","keydown"],M=function(s){a.__extends(e,s);function e(t,i){i===void 0&&(i={});var n=s.call(this,a.__assign(a.__assign({},e.defaultAdapter),t))||this;return n.isFocused=!1,n.receivedUserInput=!1,n.valid=!0,n.useNativeValidation=!0,n.validateOnValueChange=!0,n.helperText=i.helperText,n.characterCounter=i.characterCounter,n.leadingIcon=i.leadingIcon,n.trailingIcon=i.trailingIcon,n.inputFocusHandler=function(){n.activateFocus()},n.inputBlurHandler=function(){n.deactivateFocus()},n.inputInputHandler=function(){n.handleInput()},n.setPointerXOffset=function(o){n.setTransformOrigin(o)},n.textFieldInteractionHandler=function(){n.handleTextFieldInteraction()},n.validationAttributeChangeHandler=function(o){n.handleValidationAttributeChange(o)},n}return Object.defineProperty(e,"cssClasses",{get:function(){return B},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return L},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return F},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return T.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver(function(){})},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,i,n,o;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var d=a.__values(C),c=d.next();!c.done;c=d.next()){var f=c.value;this.adapter.registerInputInteractionHandler(f,this.setPointerXOffset)}}catch(g){t={error:g}}finally{try{c&&!c.done&&(i=d.return)&&i.call(d)}finally{if(t)throw t.error}}try{for(var m=a.__values(O),p=m.next();!p.done;p=m.next()){var f=p.value;this.adapter.registerTextFieldInteractionHandler(f,this.textFieldInteractionHandler)}}catch(g){n={error:g}}finally{try{p&&!p.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},e.prototype.destroy=function(){var t,i,n,o;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var d=a.__values(C),c=d.next();!c.done;c=d.next()){var f=c.value;this.adapter.deregisterInputInteractionHandler(f,this.setPointerXOffset)}}catch(g){t={error:g}}finally{try{c&&!c.done&&(i=d.return)&&i.call(d)}finally{if(t)throw t.error}}try{for(var m=a.__values(O),p=m.next();!p.done;p=m.next()){var f=p.value;this.adapter.deregisterTextFieldInteractionHandler(f,this.textFieldInteractionHandler)}}catch(g){n={error:g}}finally{try{p&&!p.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},e.prototype.handleValidationAttributeChange=function(t){var i=this;t.some(function(n){return U.indexOf(n)>-1?(i.styleValidity(!0),i.adapter.setLabelRequired(i.getNativeInput().required),!0):!1}),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},e.prototype.notchOutline=function(t){if(!(!this.adapter.hasOutline()||!this.adapter.hasLabel()))if(t){var i=this.adapter.getLabelWidth()*F.LABEL_SCALE;this.adapter.notchOutline(i)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.helperText&&(this.helperText.isPersistent()||!this.helperText.isValidation()||!this.valid)&&this.helperText.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!(this.isDisabled()||this.adapter.hasOutline())){var i=t.touches,n=i?i[0]:t,o=n.target.getBoundingClientRect(),d=n.clientX-o.left;this.adapter.setLineRippleTransformOrigin(d)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},e.prototype.getValue=function(){return this.getNativeInput().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var i=this.isValid();this.styleValidity(i)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},e.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var i=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(i)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},e.prototype.isDisabled=function(){return this.getNativeInput().disabled},e.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},e.prototype.setcharacterCounter=function(t){if(this.characterCounter){var i=this.getNativeInput().maxLength;if(i===-1)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,i)}},e.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},e.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},e.prototype.styleValidity=function(t){var i=e.cssClasses.INVALID;if(t?this.adapter.removeClass(i):this.adapter.addClass(i),this.helperText){this.helperText.setValidity(t);var n=this.helperText.isValidation();if(!n)return;var o=this.helperText.isVisible(),d=this.helperText.getId();o&&d?this.adapter.setInputAttr(L.ARIA_DESCRIBEDBY,d):this.adapter.removeInputAttr(L.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused=function(t){var i=e.cssClasses.FOCUSED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.styleDisabled=function(t){var i=e.cssClasses,n=i.DISABLED,o=i.INVALID;t?(this.adapter.addClass(n),this.adapter.removeClass(o)):this.adapter.removeClass(n),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},e.prototype.styleFloating=function(t){var i=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.getNativeInput=function(){var t=this.adapter?this.adapter.getNativeInput():null;return t||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}(w);const q=M;/**
|
65
65
|
* @license
|
66
66
|
* Copyright 2020 Google LLC
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
68
|
-
*/const
|
68
|
+
*/const R=v.e(class extends v.i{constructor(s){if(super(s),s.type!==v.t.PROPERTY&&s.type!==v.t.ATTRIBUTE&&s.type!==v.t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!_.e(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[e]){if(e===u.T||e===u.A)return e;const t=s.element,i=s.name;if(s.type===v.t.PROPERTY){if(e===t[i])return u.T}else if(s.type===v.t.BOOLEAN_ATTRIBUTE){if(!!e===t.hasAttribute(i))return u.T}else if(s.type===v.t.ATTRIBUTE&&t.getAttribute(i)===e+"")return u.T;return _.a(s),e}});/**
|
69
69
|
* @license
|
70
70
|
* Copyright 2019 Google LLC
|
71
71
|
* SPDX-License-Identifier: Apache-2.0
|
72
|
-
*/const
|
73
|
-
<label class="mdc-text-field ${
|
72
|
+
*/const k=["touchstart","touchmove","scroll","mousewheel"],A=(s={})=>{const e={};for(const t in s)e[t]=s[t];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},e)};class r extends E.FormElement{constructor(){super(...arguments),this.mdcFoundationClass=q,this.value="",this.type="text",this.placeholder="",this.label="",this.icon="",this.iconTrailing="",this.disabled=!1,this.required=!1,this.minLength=-1,this.maxLength=-1,this.outlined=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.autoValidate=!1,this.pattern="",this.min="",this.max="",this.step=null,this.size=null,this.helperPersistent=!1,this.charCounter=!1,this.endAligned=!1,this.prefix="",this.suffix="",this.name="",this.readOnly=!1,this.autocapitalize="",this.outlineOpen=!1,this.outlineWidth=0,this.isUiValid=!0,this.focused=!1,this._validity=A(),this.validityTransform=null}get validity(){return this._checkValidity(this.value),this._validity}get willValidate(){return this.formElement.willValidate}get selectionStart(){return this.formElement.selectionStart}get selectionEnd(){return this.formElement.selectionEnd}focus(){const e=new CustomEvent("focus");this.formElement.dispatchEvent(e),this.formElement.focus()}blur(){const e=new CustomEvent("blur");this.formElement.dispatchEvent(e),this.formElement.blur()}select(){this.formElement.select()}setSelectionRange(e,t,i){this.formElement.setSelectionRange(e,t,i)}update(e){e.has("autoValidate")&&this.mdcFoundation&&this.mdcFoundation.setValidateOnValueChange(this.autoValidate),e.has("value")&&typeof this.value!="string"&&(this.value=`${this.value}`),super.update(e)}setFormData(e){this.name&&e.append(this.name,this.value)}render(){const e=this.charCounter&&this.maxLength!==-1,t=!!this.helper||!!this.validationMessage||e,i={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--with-leading-icon":this.icon,"mdc-text-field--with-trailing-icon":this.iconTrailing,"mdc-text-field--end-aligned":this.endAligned};return u.x`
|
73
|
+
<label class="mdc-text-field ${b.o(i)}">
|
74
74
|
${this.renderRipple()}
|
75
75
|
${this.outlined?this.renderOutline():this.renderLabel()}
|
76
76
|
${this.renderLeadingIcon()}
|
@@ -91,17 +91,17 @@
|
|
91
91
|
${this.renderLabel()}
|
92
92
|
</mwc-notched-outline>`:""}renderLabel(){return this.label?u.x`
|
93
93
|
<span
|
94
|
-
.floatingLabelFoundation=${
|
94
|
+
.floatingLabelFoundation=${I.floatingLabel(this.label)}
|
95
95
|
id="label">${this.label}</span>
|
96
|
-
`:""}renderLeadingIcon(){return this.icon?this.renderIcon(this.icon):""}renderTrailingIcon(){return this.iconTrailing?this.renderIcon(this.iconTrailing,!0):""}renderIcon(e,t=!1){const i={"mdc-text-field__icon--leading":!t,"mdc-text-field__icon--trailing":t};return u.x`<i class="material-icons mdc-text-field__icon ${
|
97
|
-
${e}</span>`}renderInput(e){const t=this.minLength===-1?void 0:this.minLength,i=this.maxLength===-1?void 0:this.maxLength,n=this.autocapitalize?this.autocapitalize:void 0,o=this.validationMessage&&!this.isUiValid,d=this.label?"label":void 0,c=e?"helper-text":void 0,
|
96
|
+
`:""}renderLeadingIcon(){return this.icon?this.renderIcon(this.icon):""}renderTrailingIcon(){return this.iconTrailing?this.renderIcon(this.iconTrailing,!0):""}renderIcon(e,t=!1){const i={"mdc-text-field__icon--leading":!t,"mdc-text-field__icon--trailing":t};return u.x`<i class="material-icons mdc-text-field__icon ${b.o(i)}">${e}</i>`}renderPrefix(){return this.prefix?this.renderAffix(this.prefix):""}renderSuffix(){return this.suffix?this.renderAffix(this.suffix,!0):""}renderAffix(e,t=!1){const i={"mdc-text-field__affix--prefix":!t,"mdc-text-field__affix--suffix":t};return u.x`<span class="mdc-text-field__affix ${b.o(i)}">
|
97
|
+
${e}</span>`}renderInput(e){const t=this.minLength===-1?void 0:this.minLength,i=this.maxLength===-1?void 0:this.maxLength,n=this.autocapitalize?this.autocapitalize:void 0,o=this.validationMessage&&!this.isUiValid,d=this.label?"label":void 0,c=e?"helper-text":void 0,f=this.focused||this.helperPersistent||o?"helper-text":void 0;return u.x`
|
98
98
|
<input
|
99
99
|
aria-labelledby=${h.l(d)}
|
100
100
|
aria-controls="${h.l(c)}"
|
101
|
-
aria-describedby="${h.l(
|
101
|
+
aria-describedby="${h.l(f)}"
|
102
102
|
class="mdc-text-field__input"
|
103
103
|
type="${this.type}"
|
104
|
-
.value="${
|
104
|
+
.value="${R(this.value)}"
|
105
105
|
?disabled="${this.disabled}"
|
106
106
|
placeholder="${this.placeholder}"
|
107
107
|
?required="${this.required}"
|
@@ -119,15 +119,15 @@
|
|
119
119
|
@input="${this.handleInputChange}"
|
120
120
|
@focus="${this.onInputFocus}"
|
121
121
|
@blur="${this.onInputBlur}">`}renderLineRipple(){return this.outlined?"":u.x`
|
122
|
-
<span .lineRippleFoundation=${
|
122
|
+
<span .lineRippleFoundation=${I.lineRipple()}></span>
|
123
123
|
`}renderHelperText(e,t){const i=this.validationMessage&&!this.isUiValid,n={"mdc-text-field-helper-text--persistent":this.helperPersistent,"mdc-text-field-helper-text--validation-msg":i},o=this.focused||this.helperPersistent||i?void 0:"true",d=i?this.validationMessage:this.helper;return e?u.x`
|
124
124
|
<div class="mdc-text-field-helper-line">
|
125
125
|
<div id="helper-text"
|
126
126
|
aria-hidden="${h.l(o)}"
|
127
|
-
class="mdc-text-field-helper-text ${
|
127
|
+
class="mdc-text-field-helper-text ${b.o(n)}"
|
128
128
|
>${d}</div>
|
129
129
|
${this.renderCharCounter(t)}
|
130
130
|
</div>`:""}renderCharCounter(e){const t=Math.min(this.value.length,this.maxLength);return e?u.x`
|
131
131
|
<span class="mdc-text-field-character-counter"
|
132
|
-
>${t} / ${this.maxLength}</span>`:""}onInputFocus(){this.focused=!0}onInputBlur(){this.focused=!1,this.reportValidity()}checkValidity(){const e=this._checkValidity(this.value);if(!e){const t=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(t)}return e}reportValidity(){const e=this.checkValidity();return this.mdcFoundation.setValid(e),this.isUiValid=e,e}_checkValidity(e){const t=this.formElement.validity;let i=
|
133
|
-
`;exports.TextFieldBase=r;exports.l=
|
132
|
+
>${t} / ${this.maxLength}</span>`:""}onInputFocus(){this.focused=!0}onInputBlur(){this.focused=!1,this.reportValidity()}checkValidity(){const e=this._checkValidity(this.value);if(!e){const t=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(t)}return e}reportValidity(){const e=this.checkValidity();return this.mdcFoundation.setValid(e),this.isUiValid=e,e}_checkValidity(e){const t=this.formElement.validity;let i=A(t);if(this.validityTransform){const n=this.validityTransform(e,i);i=Object.assign(Object.assign({},i),n),this.mdcFoundation.setUseNativeValidation(!1)}else this.mdcFoundation.setUseNativeValidation(!0);return this._validity=i,this._validity.valid}setCustomValidity(e){this.validationMessage=e,this.formElement.setCustomValidity(e)}handleInputChange(){this.value=this.formElement.value}createAdapter(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods())}getRootAdapterMethods(){return Object.assign({registerTextFieldInteractionHandler:(e,t)=>this.addEventListener(e,t),deregisterTextFieldInteractionHandler:(e,t)=>this.removeEventListener(e,t),registerValidationAttributeChangeHandler:e=>{const t=o=>o.map(d=>d.attributeName).filter(d=>d),i=new MutationObserver(o=>{e(t(o))}),n={attributes:!0};return i.observe(this.formElement,n),i},deregisterValidationAttributeChangeHandler:e=>e.disconnect()},$.addHasRemoveClass(this.mdcRoot))}getInputAdapterMethods(){return{getNativeInput:()=>this.formElement,setInputAttr:()=>{},removeInputAttr:()=>{},isFocused:()=>this.shadowRoot?this.shadowRoot.activeElement===this.formElement:!1,registerInputInteractionHandler:(e,t)=>this.formElement.addEventListener(e,t,{passive:e in k}),deregisterInputInteractionHandler:(e,t)=>this.formElement.removeEventListener(e,t)}}getLabelAdapterMethods(){return{floatLabel:e=>this.labelElement&&this.labelElement.floatingLabelFoundation.float(e),getLabelWidth:()=>this.labelElement?this.labelElement.floatingLabelFoundation.getWidth():0,hasLabel:()=>!!this.labelElement,shakeLabel:e=>this.labelElement&&this.labelElement.floatingLabelFoundation.shake(e),setLabelRequired:e=>{this.labelElement&&this.labelElement.floatingLabelFoundation.setRequired(e)}}}getLineRippleAdapterMethods(){return{activateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.activate()},deactivateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.deactivate()},setLineRippleTransformOrigin:e=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.setRippleCenter(e)}}}async getUpdateComplete(){var e;const t=await super.getUpdateComplete();return await((e=this.outlineElement)===null||e===void 0?void 0:e.updateComplete),t}firstUpdated(){var e;super.firstUpdated(),this.mdcFoundation.setValidateOnValueChange(this.autoValidate),this.validateOnInitialRender&&this.reportValidity(),(e=this.outlineElement)===null||e===void 0||e.updateComplete.then(()=>{var t;this.outlineWidth=((t=this.labelElement)===null||t===void 0?void 0:t.floatingLabelFoundation.getWidth())||0})}getOutlineAdapterMethods(){return{closeOutline:()=>this.outlineElement&&(this.outlineOpen=!1),hasOutline:()=>!!this.outlineElement,notchOutline:e=>{this.outlineElement&&!this.outlineOpen&&(this.outlineWidth=e,this.outlineOpen=!0)}}}async layout(){await this.updateComplete;const e=this.labelElement;if(!e){this.outlineOpen=!1;return}const t=!!this.label&&!!this.value;if(e.floatingLabelFoundation.float(t),!this.outlined)return;this.outlineOpen=t,await this.updateComplete;const i=e.floatingLabelFoundation.getWidth();this.outlineOpen&&(this.outlineWidth=i,await this.updateComplete)}}a.__decorate([y.i(".mdc-text-field")],r.prototype,"mdcRoot",void 0);a.__decorate([y.i("input")],r.prototype,"formElement",void 0);a.__decorate([y.i(".mdc-floating-label")],r.prototype,"labelElement",void 0);a.__decorate([y.i(".mdc-line-ripple")],r.prototype,"lineRippleElement",void 0);a.__decorate([y.i("mwc-notched-outline")],r.prototype,"outlineElement",void 0);a.__decorate([y.i(".mdc-notched-outline__notch")],r.prototype,"notchElement",void 0);a.__decorate([l.n({type:String})],r.prototype,"value",void 0);a.__decorate([l.n({type:String})],r.prototype,"type",void 0);a.__decorate([l.n({type:String})],r.prototype,"placeholder",void 0);a.__decorate([l.n({type:String}),V.observer(function(s,e){e!==void 0&&this.label!==e&&this.layout()})],r.prototype,"label",void 0);a.__decorate([l.n({type:String})],r.prototype,"icon",void 0);a.__decorate([l.n({type:String})],r.prototype,"iconTrailing",void 0);a.__decorate([l.n({type:Boolean,reflect:!0})],r.prototype,"disabled",void 0);a.__decorate([l.n({type:Boolean})],r.prototype,"required",void 0);a.__decorate([l.n({type:Number})],r.prototype,"minLength",void 0);a.__decorate([l.n({type:Number})],r.prototype,"maxLength",void 0);a.__decorate([l.n({type:Boolean,reflect:!0}),V.observer(function(s,e){e!==void 0&&this.outlined!==e&&this.layout()})],r.prototype,"outlined",void 0);a.__decorate([l.n({type:String})],r.prototype,"helper",void 0);a.__decorate([l.n({type:Boolean})],r.prototype,"validateOnInitialRender",void 0);a.__decorate([l.n({type:String})],r.prototype,"validationMessage",void 0);a.__decorate([l.n({type:Boolean})],r.prototype,"autoValidate",void 0);a.__decorate([l.n({type:String})],r.prototype,"pattern",void 0);a.__decorate([l.n({type:String})],r.prototype,"min",void 0);a.__decorate([l.n({type:String})],r.prototype,"max",void 0);a.__decorate([l.n({type:String})],r.prototype,"step",void 0);a.__decorate([l.n({type:Number})],r.prototype,"size",void 0);a.__decorate([l.n({type:Boolean})],r.prototype,"helperPersistent",void 0);a.__decorate([l.n({type:Boolean})],r.prototype,"charCounter",void 0);a.__decorate([l.n({type:Boolean})],r.prototype,"endAligned",void 0);a.__decorate([l.n({type:String})],r.prototype,"prefix",void 0);a.__decorate([l.n({type:String})],r.prototype,"suffix",void 0);a.__decorate([l.n({type:String})],r.prototype,"name",void 0);a.__decorate([l.n({type:String})],r.prototype,"inputMode",void 0);a.__decorate([l.n({type:Boolean})],r.prototype,"readOnly",void 0);a.__decorate([l.n({type:String})],r.prototype,"autocapitalize",void 0);a.__decorate([x.t()],r.prototype,"outlineOpen",void 0);a.__decorate([x.t()],r.prototype,"outlineWidth",void 0);a.__decorate([x.t()],r.prototype,"isUiValid",void 0);a.__decorate([x.t()],r.prototype,"focused",void 0);a.__decorate([H.e({passive:!0})],r.prototype,"handleInputChange",null);const S=`:host{--mdc-text-field-label-ink-color: var( --mdc-theme-text-secondary-on-background );--mdc-text-field-ink-color: var(--mdc-theme-text-secondary-on-background);--mdc-text-field-fill-color: var(--mdc-theme-surface-canvas);--mdc-text-field-idle-line-color: var(--mdc-theme-border);--mdc-text-field-hover-line-color: var(--mdc-theme-text-icon-on-background);--mdc-text-field-outlined-idle-border-color: var(--mdc-theme-border);--mdc-text-field-outlined-hover-border-color: var( --mdc-theme-text-icon-on-background )}:host([dense]){height:48px}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon{color:var(--mdc-theme-text-icon-on-background)}
|
133
|
+
`;exports.TextFieldBase=r;exports.l=R;exports.styles=S;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { a as H, b as C, c as b, _ as a } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { f as $, l as w } from "./mwc-line-ripple-directive-
|
2
|
+
import { f as $, l as w } from "./mwc-line-ripple-directive-aabd8778.mjs";
|
3
3
|
import { F as B } from "./form-element-abadd335.mjs";
|
4
4
|
import { o as E } from "./observer-be7b92e2.mjs";
|
5
5
|
import { T as x, A as U, x as c } from "./query-assigned-elements-4a39219d.mjs";
|
@@ -7,8 +7,9 @@ import { n as l } from "./property-9b6ea53b.mjs";
|
|
7
7
|
import { t as I } from "./state-b5e865db.mjs";
|
8
8
|
import { e as _ } from "./event-options-78d6cf94.mjs";
|
9
9
|
import { i as y } from "./query-d843aa92.mjs";
|
10
|
-
import {
|
10
|
+
import { o as L } from "./class-map-6e504a9a.mjs";
|
11
11
|
import { l as u } from "./if-defined-c367f208.mjs";
|
12
|
+
import { e as T, i as M, t as v } from "./directive-daf4e9b6.mjs";
|
12
13
|
import { e as k, a as S } from "./directive-helpers-e3ea6592.mjs";
|
13
14
|
import { a as D } from "./utils-dc65fdc9.mjs";
|
14
15
|
/**
|
@@ -923,10 +924,10 @@ a([
|
|
923
924
|
a([
|
924
925
|
_({ passive: !0 })
|
925
926
|
], r.prototype, "handleInputChange", null);
|
926
|
-
const
|
927
|
+
const de = `:host{--mdc-text-field-label-ink-color: var( --mdc-theme-text-secondary-on-background );--mdc-text-field-ink-color: var(--mdc-theme-text-secondary-on-background);--mdc-text-field-fill-color: var(--mdc-theme-surface-canvas);--mdc-text-field-idle-line-color: var(--mdc-theme-border);--mdc-text-field-hover-line-color: var(--mdc-theme-text-icon-on-background);--mdc-text-field-outlined-idle-border-color: var(--mdc-theme-border);--mdc-text-field-outlined-hover-border-color: var( --mdc-theme-text-icon-on-background )}:host([dense]){height:48px}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon{color:var(--mdc-theme-text-icon-on-background)}
|
927
928
|
`;
|
928
929
|
export {
|
929
930
|
r as T,
|
930
931
|
Y as l,
|
931
|
-
|
932
|
+
de as s
|
932
933
|
};
|
package/textfield.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"),c=require("./textfield-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),c=require("./textfield-0645375b.js");require("./tslib.es6-98719205.js");require("./mwc-line-ripple-directive-40145003.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./form-element-c553d6f5.js");require("./observer-a096ab43.js");require("./state-0974a8e5.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./directive-helpers-0ce1f995.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
package/textfield.mjs
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
import { i as c, r as n, e as m } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { T as f, s as x } from "./textfield-
|
2
|
+
import { T as f, s as x } from "./textfield-93cfcf3c.mjs";
|
3
3
|
import "./tslib.es6-c4b0f3b1.mjs";
|
4
|
-
import "./mwc-line-ripple-directive-
|
4
|
+
import "./mwc-line-ripple-directive-aabd8778.mjs";
|
5
5
|
import "./base-element-acf30176.mjs";
|
6
6
|
import "./utils-dc65fdc9.mjs";
|
7
7
|
import "./property-9b6ea53b.mjs";
|
8
8
|
import "./query-d843aa92.mjs";
|
9
|
-
import "./class-map-
|
9
|
+
import "./class-map-6e504a9a.mjs";
|
10
|
+
import "./directive-daf4e9b6.mjs";
|
10
11
|
import "./form-element-abadd335.mjs";
|
11
12
|
import "./observer-be7b92e2.mjs";
|
12
13
|
import "./state-b5e865db.mjs";
|
@@ -38,8 +39,8 @@ i.styles = [
|
|
38
39
|
i = h([
|
39
40
|
m("cv-textfield")
|
40
41
|
], i);
|
41
|
-
const
|
42
|
+
const q = i;
|
42
43
|
export {
|
43
44
|
i as CovalentTextField,
|
44
|
-
|
45
|
+
q as default
|
45
46
|
};
|