@covalent/components 8.14.1 → 8.15.0-beta.2
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 +63 -0
- package/cell/cell.d.ts.map +1 -0
- package/cell.js +25 -0
- package/cell.mjs +134 -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-7a36c890.js +1200 -0
- package/code-editor-b9acd487.mjs +94274 -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-2cffe81f.js +9 -0
- package/cssMode-6f4ea93a.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-89c6e6f3.js +8 -0
- package/freemarker2-906bf3f7.mjs +648 -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-dbc16556.mjs +396 -0
- package/handlebars-e0f7efbe.js +6 -0
- package/hcl-0833427e.js +6 -0
- package/hcl-56b85754.mjs +177 -0
- package/html-d8278158.js +6 -0
- package/html-feca0a24.mjs +286 -0
- package/htmlMode-45e8cd50.mjs +1460 -0
- package/htmlMode-989d6a85.js +9 -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-3fd1e5a8.mjs +80 -0
- package/javascript-5d8f5f2a.js +6 -0
- package/jsonMode-33e7baa8.js +11 -0
- package/jsonMode-b4ecafe2.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-97280cdd.js +6 -0
- package/liquid-9be0367d.mjs +243 -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 +50 -0
- package/notebook/notebook.d.ts.map +1 -0
- package/notebook.js +99 -0
- package/notebook.mjs +3326 -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-3deb7582.mjs +264 -0
- package/python-e4403078.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-9fd114ce.js +6 -0
- package/razor-d49ab0c5.mjs +517 -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-4448deef.mjs +794 -0
- package/tsMode-c5cc89bc.js +16 -0
- package/twig-404eb73e.mjs +323 -0
- package/twig-4bfb5b04.js +6 -0
- package/typescript-1b8311ff.js +6 -0
- package/typescript-8fb83e8f.mjs +332 -0
- package/vb-8dfd000c.js +6 -0
- package/vb-e21e8153.mjs +364 -0
- package/xml-c437fe38.js +6 -0
- package/xml-eee8295b.mjs +100 -0
- package/yaml-083914d5.mjs +189 -0
- package/yaml-8c10a8e6.js +6 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
package/chip-set.mjs
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
import { s as M, x as D, i as O, r as L, e as _ } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { M as E, a as A, b as T, C as w, c as v } from "./chip-
|
2
|
+
import { M as E, a as A, b as T, C as w, c as v } from "./chip-fb0ea5c5.mjs";
|
3
3
|
import { a as P, b as F, c as I } from "./tslib.es6-c4b0f3b1.mjs";
|
4
4
|
import { M as B } from "./foundation-2334d146.mjs";
|
5
5
|
import { K as l } from "./keyboard-983b121c.mjs";
|
6
6
|
import { n as y } from "./property-9b6ea53b.mjs";
|
7
7
|
import { i as U } from "./query-d843aa92.mjs";
|
8
8
|
import "./utils-dc65fdc9.mjs";
|
9
|
-
import "./class-map-
|
9
|
+
import "./class-map-6e504a9a.mjs";
|
10
|
+
import "./directive-daf4e9b6.mjs";
|
10
11
|
import "./_commonjsHelpers-2f131a27.mjs";
|
11
12
|
/**
|
12
13
|
* @license
|
@@ -119,28 +120,28 @@ var $ = (
|
|
119
120
|
enumerable: !1,
|
120
121
|
configurable: !0
|
121
122
|
}), i.prototype.handleChipAnimation = function(t) {
|
122
|
-
var e = t.detail, r = e.chipID, n = e.animation, o = e.isComplete,
|
123
|
+
var e = t.detail, r = e.chipID, n = e.animation, o = e.isComplete, p = e.addedAnnouncement, s = e.removedAnnouncement, h = this.adapter.getChipIndexById(r);
|
123
124
|
if (n === E.EXIT && o) {
|
124
|
-
s && this.adapter.announceMessage(s), this.removeAfterAnimation(
|
125
|
+
s && this.adapter.announceMessage(s), this.removeAfterAnimation(h, r);
|
125
126
|
return;
|
126
127
|
}
|
127
|
-
if (n === E.ENTER && o &&
|
128
|
-
this.adapter.announceMessage(
|
128
|
+
if (n === E.ENTER && o && p) {
|
129
|
+
this.adapter.announceMessage(p);
|
129
130
|
return;
|
130
131
|
}
|
131
132
|
}, i.prototype.handleChipInteraction = function(t) {
|
132
|
-
var e = t.detail, r = e.source, n = e.chipID, o = e.isSelectable,
|
133
|
+
var e = t.detail, r = e.source, n = e.chipID, o = e.isSelectable, p = e.isSelected, s = e.shouldRemove, h = this.adapter.getChipIndexById(n);
|
133
134
|
if (s) {
|
134
|
-
this.removeChip(
|
135
|
+
this.removeChip(h);
|
135
136
|
return;
|
136
137
|
}
|
137
|
-
this.focusChip(
|
138
|
-
chipIndex:
|
138
|
+
this.focusChip(h, r, A.FOCUSABLE), this.adapter.emitEvent(f.INTERACTION, {
|
139
|
+
chipIndex: h,
|
139
140
|
chipID: n
|
140
|
-
}), o && this.setSelection(
|
141
|
+
}), o && this.setSelection(h, r, !p);
|
141
142
|
}, i.prototype.handleChipNavigation = function(t) {
|
142
|
-
var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL,
|
143
|
-
if (
|
143
|
+
var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL, p = e.source, s = this.adapter.getChipIndexById(r), h = n === l.ARROW_RIGHT && !o || n === l.ARROW_LEFT && o;
|
144
|
+
if (h) {
|
144
145
|
this.focusNextChipFrom(s + 1);
|
145
146
|
return;
|
146
147
|
}
|
@@ -150,34 +151,34 @@ var $ = (
|
|
150
151
|
return;
|
151
152
|
}
|
152
153
|
if (n === l.ARROW_DOWN) {
|
153
|
-
this.focusNextChipFrom(s + 1,
|
154
|
+
this.focusNextChipFrom(s + 1, p);
|
154
155
|
return;
|
155
156
|
}
|
156
157
|
if (n === l.ARROW_UP) {
|
157
|
-
this.focusPrevChipFrom(s - 1,
|
158
|
+
this.focusPrevChipFrom(s - 1, p);
|
158
159
|
return;
|
159
160
|
}
|
160
161
|
if (n === l.HOME) {
|
161
|
-
this.focusNextChipFrom(0,
|
162
|
+
this.focusNextChipFrom(0, p);
|
162
163
|
return;
|
163
164
|
}
|
164
165
|
if (n === l.END) {
|
165
|
-
this.focusPrevChipFrom(this.adapter.getChipCount() - 1,
|
166
|
+
this.focusPrevChipFrom(this.adapter.getChipCount() - 1, p);
|
166
167
|
return;
|
167
168
|
}
|
168
169
|
}, i.prototype.getSelectedChipIndexes = function() {
|
169
170
|
for (var t, e, r = /* @__PURE__ */ new Set(), n = this.adapter.getChipCount(), o = 0; o < n; o++) {
|
170
|
-
var
|
171
|
+
var p = this.adapter.getChipActionsAtIndex(o);
|
171
172
|
try {
|
172
|
-
for (var s = (t = void 0, I(
|
173
|
-
var c =
|
173
|
+
for (var s = (t = void 0, I(p)), h = s.next(); !h.done; h = s.next()) {
|
174
|
+
var c = h.value;
|
174
175
|
this.adapter.isChipSelectedAtIndex(o, c) && r.add(o);
|
175
176
|
}
|
176
177
|
} catch (u) {
|
177
178
|
t = { error: u };
|
178
179
|
} finally {
|
179
180
|
try {
|
180
|
-
|
181
|
+
h && !h.done && (e = s.return) && e.call(s);
|
181
182
|
} finally {
|
182
183
|
if (t)
|
183
184
|
throw t.error;
|
@@ -219,16 +220,16 @@ var $ = (
|
|
219
220
|
}, i.prototype.getFirstFocusableAction = function(t, e) {
|
220
221
|
var r, n;
|
221
222
|
try {
|
222
|
-
for (var o = I(e),
|
223
|
-
var s =
|
223
|
+
for (var o = I(e), p = o.next(); !p.done; p = o.next()) {
|
224
|
+
var s = p.value;
|
224
225
|
if (this.adapter.isChipFocusableAtIndex(t, s))
|
225
226
|
return s;
|
226
227
|
}
|
227
|
-
} catch (
|
228
|
-
r = { error:
|
228
|
+
} catch (h) {
|
229
|
+
r = { error: h };
|
229
230
|
} finally {
|
230
231
|
try {
|
231
|
-
|
232
|
+
p && !p.done && (n = o.return) && n.call(o);
|
232
233
|
} finally {
|
233
234
|
if (r)
|
234
235
|
throw r.error;
|
@@ -236,31 +237,31 @@ var $ = (
|
|
236
237
|
}
|
237
238
|
return null;
|
238
239
|
}, i.prototype.getMatchingFocusableAction = function(t, e, r) {
|
239
|
-
var n, o,
|
240
|
+
var n, o, p = null;
|
240
241
|
try {
|
241
|
-
for (var s = I(e),
|
242
|
-
var c =
|
243
|
-
if (this.adapter.isChipFocusableAtIndex(t, c) && (
|
244
|
-
return
|
242
|
+
for (var s = I(e), h = s.next(); !h.done; h = s.next()) {
|
243
|
+
var c = h.value;
|
244
|
+
if (this.adapter.isChipFocusableAtIndex(t, c) && (p = c), p === r)
|
245
|
+
return p;
|
245
246
|
}
|
246
247
|
} catch (u) {
|
247
248
|
n = { error: u };
|
248
249
|
} finally {
|
249
250
|
try {
|
250
|
-
|
251
|
+
h && !h.done && (o = s.return) && o.call(s);
|
251
252
|
} finally {
|
252
253
|
if (n)
|
253
254
|
throw n.error;
|
254
255
|
}
|
255
256
|
}
|
256
|
-
return
|
257
|
+
return p;
|
257
258
|
}, i.prototype.focusChip = function(t, e, r) {
|
258
259
|
var n, o;
|
259
260
|
this.adapter.setChipFocusAtIndex(t, e, r);
|
260
|
-
for (var
|
261
|
-
var
|
261
|
+
for (var p = this.adapter.getChipCount(), s = 0; s < p; s++) {
|
262
|
+
var h = this.adapter.getChipActionsAtIndex(s);
|
262
263
|
try {
|
263
|
-
for (var c = (n = void 0, I(
|
264
|
+
for (var c = (n = void 0, I(h)), u = c.next(); !u.done; u = c.next()) {
|
264
265
|
var m = u.value;
|
265
266
|
m === e && s === t || this.adapter.setChipFocusAtIndex(s, m, A.NOT_FOCUSABLE);
|
266
267
|
}
|
@@ -284,10 +285,10 @@ var $ = (
|
|
284
285
|
chipIndex: t,
|
285
286
|
isSelected: r
|
286
287
|
}), !this.supportsMultiSelect())
|
287
|
-
for (var
|
288
|
-
var
|
288
|
+
for (var p = this.adapter.getChipCount(), s = 0; s < p; s++) {
|
289
|
+
var h = this.adapter.getChipActionsAtIndex(s);
|
289
290
|
try {
|
290
|
-
for (var c = (n = void 0, I(
|
291
|
+
for (var c = (n = void 0, I(h)), u = c.next(); !u.done; u = c.next()) {
|
291
292
|
var m = u.value;
|
292
293
|
m === e && s === t || this.adapter.setChipSelectedAtIndex(s, m, !1);
|
293
294
|
}
|
@@ -375,12 +376,12 @@ var j = (
|
|
375
376
|
return a.getInstance = function() {
|
376
377
|
return a.instance || (a.instance = new a()), a.instance;
|
377
378
|
}, a.prototype.say = function(i, t) {
|
378
|
-
var e, r, n = (e = t == null ? void 0 : t.priority) !== null && e !== void 0 ? e : R.POLITE, o = (r = t == null ? void 0 : t.ownerDocument) !== null && r !== void 0 ? r : document,
|
379
|
-
|
380
|
-
|
379
|
+
var e, r, n = (e = t == null ? void 0 : t.priority) !== null && e !== void 0 ? e : R.POLITE, o = (r = t == null ? void 0 : t.ownerDocument) !== null && r !== void 0 ? r : document, p = this.getLiveRegion(n, o);
|
380
|
+
p.textContent = "", setTimeout(function() {
|
381
|
+
p.textContent = i, o.addEventListener("click", s);
|
381
382
|
}, 1);
|
382
383
|
function s() {
|
383
|
-
|
384
|
+
p.textContent = "", o.removeEventListener("click", s);
|
384
385
|
}
|
385
386
|
}, a.prototype.getLiveRegion = function(i, t) {
|
386
387
|
var e = this.liveRegions.get(t);
|
@@ -527,8 +528,8 @@ x.styles = [
|
|
527
528
|
x = q([
|
528
529
|
_("cv-chip-set")
|
529
530
|
], x);
|
530
|
-
const
|
531
|
+
const at = x;
|
531
532
|
export {
|
532
533
|
x as CovalentChipSet,
|
533
|
-
|
534
|
+
at as default
|
534
535
|
};
|
package/chip.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");const e=require("./chip-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");const e=require("./chip-c65a4549.js");require("./utils-a8190a39.js");require("./tslib.es6-98719205.js");require("./keyboard-39125691.js");require("./foundation-e830bd94.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./_commonjsHelpers-2367a3a2.js");Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>e.CovalentChip});exports.default=e.CovalentChip$1;
|
package/chip.mjs
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
import "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { C as
|
2
|
+
import { C as s, d as h } from "./chip-fb0ea5c5.mjs";
|
3
3
|
import "./utils-dc65fdc9.mjs";
|
4
4
|
import "./tslib.es6-c4b0f3b1.mjs";
|
5
5
|
import "./keyboard-983b121c.mjs";
|
6
6
|
import "./foundation-2334d146.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 "./_commonjsHelpers-2f131a27.mjs";
|
11
12
|
export {
|
12
|
-
|
13
|
-
|
13
|
+
s as CovalentChip,
|
14
|
+
h as default
|
14
15
|
};
|
package/circular-progress.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./tslib.es6-98719205.js"),m=require("./aria-property-849c8816.js"),a=require("./query-assigned-elements-f623705d.js"),d=require("./property-57f6f6fe.js"),g=require("./class-map-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./tslib.es6-98719205.js"),m=require("./aria-property-849c8816.js"),a=require("./query-assigned-elements-f623705d.js"),d=require("./property-57f6f6fe.js"),g=require("./class-map-0a4c6ca9.js"),p=require("./if-defined-f1c45245.js"),u=require("./style-map-a135c6ab.js");require("./directive-1186bc23.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
package/circular-progress.mjs
CHANGED
@@ -2,9 +2,10 @@ import { _ as o } from "./tslib.es6-c4b0f3b1.mjs";
|
|
2
2
|
import { a as g } from "./aria-property-fa2717fe.mjs";
|
3
3
|
import { s as u, x as d, i as h, e as f } from "./query-assigned-elements-4a39219d.mjs";
|
4
4
|
import { n } from "./property-9b6ea53b.mjs";
|
5
|
-
import { o as _ } from "./class-map-
|
5
|
+
import { o as _ } from "./class-map-6e504a9a.mjs";
|
6
6
|
import { l as m } from "./if-defined-c367f208.mjs";
|
7
|
-
import { o as y } from "./style-map-
|
7
|
+
import { o as y } from "./style-map-e7ec6d41.mjs";
|
8
|
+
import "./directive-daf4e9b6.mjs";
|
8
9
|
/**
|
9
10
|
* @license
|
10
11
|
* Copyright 2020 Google LLC
|
@@ -146,8 +147,8 @@ l.styles = [b];
|
|
146
147
|
l = k([
|
147
148
|
f("cv-circular-progress")
|
148
149
|
], l);
|
149
|
-
const
|
150
|
+
const O = l;
|
150
151
|
export {
|
151
152
|
l as CovalentCircularProgress,
|
152
|
-
|
153
|
+
O as default
|
153
154
|
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";const a=require("./query-assigned-elements-f623705d.js"),o=require("./directive-1186bc23.js");/**
|
2
|
+
* @license
|
3
|
+
* Copyright 2018 Google LLC
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
+
*/const h=o.e(class extends o.i{constructor(i){var e;if(super(i),i.type!==o.t.ATTRIBUTE||i.name!=="class"||((e=i.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(e=>i[e]).join(" ")+" "}update(i,[e]){var s,n;if(this.it===void 0){this.it=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(t=>t!=="")));for(const t in e)e[t]&&!(!((s=this.nt)===null||s===void 0)&&s.has(t))&&this.it.add(t);return this.render(e)}const r=i.element.classList;this.it.forEach(t=>{t in e||(r.remove(t),this.it.delete(t))});for(const t in e){const d=!!e[t];d===this.it.has(t)||!((n=this.nt)===null||n===void 0)&&n.has(t)||(d?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return a.T}});exports.o=h;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { T as a } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { e as d, i as h, t as l } from "./directive-daf4e9b6.mjs";
|
3
|
+
/**
|
4
|
+
* @license
|
5
|
+
* Copyright 2018 Google LLC
|
6
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
7
|
+
*/
|
8
|
+
const v = d(class extends h {
|
9
|
+
constructor(e) {
|
10
|
+
var i;
|
11
|
+
if (super(e), e.type !== l.ATTRIBUTE || e.name !== "class" || ((i = e.strings) === null || i === void 0 ? void 0 : i.length) > 2)
|
12
|
+
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
13
|
+
}
|
14
|
+
render(e) {
|
15
|
+
return " " + Object.keys(e).filter((i) => e[i]).join(" ") + " ";
|
16
|
+
}
|
17
|
+
update(e, [i]) {
|
18
|
+
var s, r;
|
19
|
+
if (this.it === void 0) {
|
20
|
+
this.it = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((t) => t !== "")));
|
21
|
+
for (const t in i)
|
22
|
+
i[t] && !(!((s = this.nt) === null || s === void 0) && s.has(t)) && this.it.add(t);
|
23
|
+
return this.render(i);
|
24
|
+
}
|
25
|
+
const n = e.element.classList;
|
26
|
+
this.it.forEach((t) => {
|
27
|
+
t in i || (n.remove(t), this.it.delete(t));
|
28
|
+
});
|
29
|
+
for (const t in i) {
|
30
|
+
const o = !!i[t];
|
31
|
+
o === this.it.has(t) || !((r = this.nt) === null || r === void 0) && r.has(t) || (o ? (n.add(t), this.it.add(t)) : (n.remove(t), this.it.delete(t)));
|
32
|
+
}
|
33
|
+
return a;
|
34
|
+
}
|
35
|
+
});
|
36
|
+
export {
|
37
|
+
v as o
|
38
|
+
};
|
@@ -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:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},t={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}};exports.conf=e;exports.language=t;
|