@svgrid/grid-wc 3.0.0 → 3.0.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/README.md +110 -110
- package/dist/{GridMenus-DpmS1pzo.js → GridMenus-YwTw9Upd.js} +64 -62
- package/dist/{SvDateRangeInput-u4ibte8S.js → SvDateRangeInput-CrxeppBV.js} +6 -6
- package/dist/{shadow/SvDateTimePicker-DVFiDxUq.js → SvDateTimePicker-xAO-Pb4S.js} +22 -22
- package/dist/{shadow/SvField-ChCI-O2O.js → SvField-CE345DyF.js} +3 -3
- package/dist/{SvGridCellEditor-DvsQyE9a.js → SvGridCellEditor-D7SyHtff.js} +2 -2
- package/dist/SvGridChart-CMaVmlso.js +1477 -0
- package/dist/SvGridChartPanel-Pc_IW0eA.js +833 -0
- package/dist/{SvGridChartView-ScXTF6t-.js → SvGridChartView-DLhhzmFy.js} +6 -4
- package/dist/{shadow/SvGridDropdown-DnAESFDu.js → SvGridDropdown-DUncHqM-.js} +2 -2
- package/dist/{cell-formatting-C0OsDmi_.js → cell-formatting-Eypm-id0.js} +1 -1
- package/dist/chart-GRBAgN1M.js +1658 -0
- package/dist/{date-format-CPHqTHN6.js → date-format-D_oQ5Yw0.js} +13 -13
- package/dist/{export-format-B6FUgOll.js → export-format-uGayRKWM.js} +3 -3
- package/dist/shadow/{GridMenus-DpmS1pzo.js → GridMenus-YwTw9Upd.js} +64 -62
- package/dist/shadow/{SvDateRangeInput-u4ibte8S.js → SvDateRangeInput-CrxeppBV.js} +6 -6
- package/dist/{SvDateTimePicker-DVFiDxUq.js → shadow/SvDateTimePicker-xAO-Pb4S.js} +22 -22
- package/dist/{SvField-ChCI-O2O.js → shadow/SvField-CE345DyF.js} +3 -3
- package/dist/shadow/{SvGridCellEditor-DvsQyE9a.js → SvGridCellEditor-D7SyHtff.js} +2 -2
- package/dist/shadow/SvGridChart-CMaVmlso.js +1477 -0
- package/dist/shadow/SvGridChartPanel-Pc_IW0eA.js +833 -0
- package/dist/shadow/{SvGridChartView-ScXTF6t-.js → SvGridChartView-DLhhzmFy.js} +6 -4
- package/dist/{SvGridDropdown-DnAESFDu.js → shadow/SvGridDropdown-DUncHqM-.js} +2 -2
- package/dist/shadow/{cell-formatting-C0OsDmi_.js → cell-formatting-Eypm-id0.js} +1 -1
- package/dist/shadow/chart-GRBAgN1M.js +1658 -0
- package/dist/shadow/{date-format-CPHqTHN6.js → date-format-D_oQ5Yw0.js} +13 -13
- package/dist/shadow/{export-format-C8kZGZfz.js → export-format-DhdZREP1.js} +3 -3
- package/dist/shadow/sv-grid-shadow-element.js +2160 -2000
- package/dist/sv-grid-element.js +2158 -1998
- package/package.json +3 -3
- package/dist/SvGridChart-yK5Zv85y.js +0 -1199
- package/dist/SvGridChartPanel-B38_VjXM.js +0 -584
- package/dist/chart-uvs3sFJA.js +0 -1220
- package/dist/shadow/SvGridChart-yK5Zv85y.js +0 -1199
- package/dist/shadow/SvGridChartPanel-B38_VjXM.js +0 -584
- package/dist/shadow/chart-uvs3sFJA.js +0 -1220
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as e } from "./chart-GRBAgN1M.js";
|
|
2
2
|
import { $ as t, E as n, K as r, R as i, X as a, Z as o, et as s, j as c, k as l, o as u, rt as d, tt as f } from "./client-DjwUji8D.js";
|
|
3
|
-
import { t as p } from "./SvGridChart-
|
|
3
|
+
import { t as p } from "./SvGridChart-CMaVmlso.js";
|
|
4
4
|
//#region ../grid/dist/SvGridChartView.svelte
|
|
5
|
-
var m = c("<div class=\"sv-grid-chart-view svelte-
|
|
5
|
+
var m = c("<div class=\"sv-grid-chart-view svelte-733vyy\"><!></div>");
|
|
6
6
|
function h(c, h) {
|
|
7
7
|
f(h, !0);
|
|
8
8
|
let g = o(0), _ = o(0), v = t(() => {
|
|
@@ -18,7 +18,9 @@ function h(c, h) {
|
|
|
18
18
|
topN: h.chart.topN,
|
|
19
19
|
palette: h.chart.palette
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
h.chart.valueFormat && (t.valueFormat = h.chart.valueFormat);
|
|
22
|
+
let n = h.chart.locale ?? h.localization?.locale;
|
|
23
|
+
return n && (t.locale = n), h.chart.currency && (t.currency = h.chart.currency), t;
|
|
22
24
|
});
|
|
23
25
|
var y = m(), b = r(y), x = (e) => {
|
|
24
26
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as e, A as t, E as n, F as r, H as i, I as a, J as o, K as s, L as c, N as l, O as u, R as d, V as f, X as p, Y as m, Z as h, a as g, d as _, et as v, f as y, j as b, k as x, n as S, nt as C, q as ee, rt as w, s as te, tt as T, v as E, w as D, x as O, y as k } from "./client-DjwUji8D.js";
|
|
2
2
|
import { n as ne, r as re, t as ie } from "./popover-WsGlvtQv.js";
|
|
3
3
|
//#region ../grid/dist/SvGridDropdown.svelte
|
|
4
|
-
var ae = b("<span class=\"sv-grid-chip sv-grid-chip-removable svelte-
|
|
4
|
+
var ae = b("<span class=\"sv-grid-chip sv-grid-chip-removable svelte-r4kmto\"> <span class=\"sv-grid-chip-remove svelte-r4kmto\" role=\"button\">×</span></span>"), oe = b("<span class=\"sv-grid-dropdown-chips svelte-r4kmto\"></span>"), se = b("<span class=\"sv-grid-chip svelte-r4kmto\"> </span>"), ce = b("<span class=\"sv-grid-dropdown-label svelte-r4kmto\"> </span>"), le = b("<input type=\"search\" class=\"sv-grid-dropdown-search\" placeholder=\"Search…\"/>"), ue = b("<div class=\"sv-grid-dropdown-empty\" role=\"status\" aria-live=\"polite\">Loading…</div>"), de = b("<div class=\"sv-grid-dropdown-empty\"> </div>"), fe = b("<span class=\"sv-grid-dropdown-check\" aria-hidden=\"true\"> </span>"), pe = b("<span class=\"sv-grid-dropdown-option-chip\"> </span>"), me = b("<span class=\"sv-grid-dropdown-option-label\"> </span>"), he = b("<div role=\"option\"><!> <!></div>"), ge = b("<div class=\"sv-grid-dropdown-footer\"><button type=\"button\" class=\"sv-grid-dropdown-done\">Done</button></div>"), _e = b("<div role=\"listbox\"><!> <!> <!></div>"), ve = b("<div><button type=\"button\" aria-haspopup=\"listbox\"><!> <span class=\"sv-grid-dropdown-caret svelte-r4kmto\" aria-hidden=\"true\">▾</span></button> <!></div>");
|
|
5
5
|
function A(r, b) {
|
|
6
6
|
let A = l();
|
|
7
7
|
T(b, !0);
|
|
@@ -241,7 +241,7 @@ function A(r, b) {
|
|
|
241
241
|
n(Pe, (e) => {
|
|
242
242
|
d(R) && e(Fe);
|
|
243
243
|
}), w(Q), g(Q, (e) => p(B, e), () => d(B)), f((e) => {
|
|
244
|
-
Oe = k(Q, 1, "sv-grid-dropdown svelte-
|
|
244
|
+
Oe = k(Q, 1, "sv-grid-dropdown svelte-r4kmto", null, Oe, { "sv-grid-dropdown-open": d(R) }), ke = k($, 1, "sv-grid-dropdown-trigger svelte-r4kmto", null, ke, { "sv-grid-dropdown-trigger-chips": M() && d(W).length > 0 }), y($, "aria-expanded", d(R)), y($, "aria-activedescendant", e);
|
|
245
245
|
}, [() => d(R) ? P(d(z)) : void 0]), a("focusout", Q, Te), a("click", Q, (e) => e.stopPropagation()), a("dblclick", Q, (e) => e.stopPropagation()), a("pointerdown", Q, (e) => e.stopPropagation()), a("mousedown", Q, (e) => e.stopPropagation()), a("click", $, () => d(R) ? Y() : q()), a("keydown", $, we), x(r, Q), v();
|
|
246
246
|
}
|
|
247
247
|
r([
|