overview-components 1.0.81 → 1.0.82

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.
Files changed (67) hide show
  1. package/package.json +1 -1
  2. package/dist/_virtual/FileSaver.min.js +0 -4
  3. package/dist/_virtual/_commonjsHelpers.js +0 -8
  4. package/dist/_virtual/air-datepicker.js +0 -4
  5. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -486
  6. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -391
  7. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -131
  8. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  9. package/dist/node_modules/@lit/localize/init/install.js +0 -11
  10. package/dist/node_modules/@lit/localize/init/runtime.js +0 -42
  11. package/dist/node_modules/@lit/localize/internal/default-msg.js +0 -10
  12. package/dist/node_modules/@lit/localize/internal/deferred.js +0 -21
  13. package/dist/node_modules/@lit/localize/internal/fnv1a64.js +0 -17
  14. package/dist/node_modules/@lit/localize/internal/id-generation.js +0 -14
  15. package/dist/node_modules/@lit/localize/internal/locale-status-event.js +0 -9
  16. package/dist/node_modules/@lit/localize/internal/runtime-msg.js +0 -42
  17. package/dist/node_modules/@lit/localize/internal/str-tag.js +0 -15
  18. package/dist/node_modules/@lit/react/create-component.js +0 -35
  19. package/dist/node_modules/@lit/reactive-element/css-tag.js +0 -50
  20. package/dist/node_modules/@lit/reactive-element/decorators/base.js +0 -9
  21. package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
  22. package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -37
  23. package/dist/node_modules/@lit/reactive-element/decorators/query.js +0 -20
  24. package/dist/node_modules/@lit/reactive-element/decorators/state.js +0 -12
  25. package/dist/node_modules/@lit/reactive-element/reactive-element.js +0 -250
  26. package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +0 -104
  27. package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +0 -40
  28. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +0 -1956
  29. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -490
  30. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  31. package/dist/node_modules/air-datepicker/air-datepicker.js +0 -1147
  32. package/dist/node_modules/air-datepicker/index.es.js +0 -4
  33. package/dist/node_modules/file-saver/dist/FileSaver.min.js +0 -74
  34. package/dist/node_modules/lit-element/lit-element.js +0 -51
  35. package/dist/node_modules/lit-html/async-directive.js +0 -69
  36. package/dist/node_modules/lit-html/directive-helpers.js +0 -45
  37. package/dist/node_modules/lit-html/directive.js +0 -27
  38. package/dist/node_modules/lit-html/directives/class-map.js +0 -34
  39. package/dist/node_modules/lit-html/directives/ref.js +0 -42
  40. package/dist/node_modules/lit-html/directives/repeat.js +0 -61
  41. package/dist/node_modules/lit-html/directives/style-map.js +0 -36
  42. package/dist/node_modules/lit-html/directives/unsafe-html.js +0 -27
  43. package/dist/node_modules/lit-html/lit-html.js +0 -243
  44. package/dist/node_modules/luxon/src/datetime.js +0 -1793
  45. package/dist/node_modules/luxon/src/duration.js +0 -723
  46. package/dist/node_modules/luxon/src/errors.js +0 -40
  47. package/dist/node_modules/luxon/src/impl/conversions.js +0 -92
  48. package/dist/node_modules/luxon/src/impl/diff.js +0 -36
  49. package/dist/node_modules/luxon/src/impl/digits.js +0 -74
  50. package/dist/node_modules/luxon/src/impl/english.js +0 -138
  51. package/dist/node_modules/luxon/src/impl/formats.js +0 -150
  52. package/dist/node_modules/luxon/src/impl/formatter.js +0 -245
  53. package/dist/node_modules/luxon/src/impl/invalid.js +0 -11
  54. package/dist/node_modules/luxon/src/impl/locale.js +0 -282
  55. package/dist/node_modules/luxon/src/impl/regexParser.js +0 -202
  56. package/dist/node_modules/luxon/src/impl/tokenParser.js +0 -329
  57. package/dist/node_modules/luxon/src/impl/util.js +0 -206
  58. package/dist/node_modules/luxon/src/impl/zoneUtil.js +0 -19
  59. package/dist/node_modules/luxon/src/info.js +0 -180
  60. package/dist/node_modules/luxon/src/interval.js +0 -466
  61. package/dist/node_modules/luxon/src/settings.js +0 -150
  62. package/dist/node_modules/luxon/src/zone.js +0 -88
  63. package/dist/node_modules/luxon/src/zones/IANAZone.js +0 -178
  64. package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -125
  65. package/dist/node_modules/luxon/src/zones/invalidZone.js +0 -41
  66. package/dist/node_modules/luxon/src/zones/systemZone.js +0 -47
  67. package/dist/node_modules/sortablejs/modular/sortable.esm.js +0 -1261
@@ -1,4 +0,0 @@
1
- import e from "./air-datepicker.js";
2
- export {
3
- e as default
4
- };
@@ -1,74 +0,0 @@
1
- import { commonjsGlobal as c } from "../../../_virtual/_commonjsHelpers.js";
2
- import { __module as E } from "../../../_virtual/FileSaver.min.js";
3
- (function(h, j) {
4
- (function(p, i) {
5
- i();
6
- })(c, function() {
7
- function p(e, t) {
8
- return typeof t > "u" ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
9
- }
10
- function i(e, t, r) {
11
- var o = new XMLHttpRequest();
12
- o.open("GET", e), o.responseType = "blob", o.onload = function() {
13
- u(o.response, t, r);
14
- }, o.onerror = function() {
15
- console.error("could not download file");
16
- }, o.send();
17
- }
18
- function v(e) {
19
- var t = new XMLHttpRequest();
20
- t.open("HEAD", e, !1);
21
- try {
22
- t.send();
23
- } catch {
24
- }
25
- return 200 <= t.status && 299 >= t.status;
26
- }
27
- function l(e) {
28
- try {
29
- e.dispatchEvent(new MouseEvent("click"));
30
- } catch {
31
- var t = document.createEvent("MouseEvents");
32
- t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
33
- }
34
- }
35
- var a = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof c == "object" && c.global === c ? c : void 0, m = a.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), u = a.saveAs || (typeof window != "object" || window !== a ? function() {
36
- } : "download" in HTMLAnchorElement.prototype && !m ? function(e, t, r) {
37
- var o = a.URL || a.webkitURL, n = document.createElement("a");
38
- t = t || e.name || "download", n.download = t, n.rel = "noopener", typeof e == "string" ? (n.href = e, n.origin === location.origin ? l(n) : v(n.href) ? i(e, t, r) : l(n, n.target = "_blank")) : (n.href = o.createObjectURL(e), setTimeout(function() {
39
- o.revokeObjectURL(n.href);
40
- }, 4e4), setTimeout(function() {
41
- l(n);
42
- }, 0));
43
- } : "msSaveOrOpenBlob" in navigator ? function(e, t, r) {
44
- if (t = t || e.name || "download", typeof e != "string") navigator.msSaveOrOpenBlob(p(e, r), t);
45
- else if (v(e)) i(e, t, r);
46
- else {
47
- var o = document.createElement("a");
48
- o.href = e, o.target = "_blank", setTimeout(function() {
49
- l(o);
50
- });
51
- }
52
- } : function(e, t, r, o) {
53
- if (o = o || open("", "_blank"), o && (o.document.title = o.document.body.innerText = "downloading..."), typeof e == "string") return i(e, t, r);
54
- var n = e.type === "application/octet-stream", b = /constructor/i.test(a.HTMLElement) || a.safari, w = /CriOS\/[\d]+/.test(navigator.userAgent);
55
- if ((w || n && b || m) && typeof FileReader < "u") {
56
- var f = new FileReader();
57
- f.onloadend = function() {
58
- var s = f.result;
59
- s = w ? s : s.replace(/^data:[^;]*;/, "data:attachment/file;"), o ? o.location.href = s : location = s, o = null;
60
- }, f.readAsDataURL(e);
61
- } else {
62
- var y = a.URL || a.webkitURL, d = y.createObjectURL(e);
63
- o ? o.location = d : location.href = d, o = null, setTimeout(function() {
64
- y.revokeObjectURL(d);
65
- }, 4e4);
66
- }
67
- });
68
- a.saveAs = u.saveAs = u, h.exports = u;
69
- });
70
- })(E);
71
- var A = E.exports;
72
- export {
73
- A as F
74
- };
@@ -1,51 +0,0 @@
1
- import { ReactiveElement as i } from "../@lit/reactive-element/reactive-element.js";
2
- import { defaultConverter as m, notEqual as C } from "../@lit/reactive-element/reactive-element.js";
3
- import { render as a, noChange as l } from "../lit-html/lit-html.js";
4
- import { _$LH as E, html as R, nothing as $ } from "../lit-html/lit-html.js";
5
- /**
6
- * @license
7
- * Copyright 2017 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */
10
- const t = globalThis;
11
- class r extends i {
12
- constructor() {
13
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
14
- }
15
- createRenderRoot() {
16
- var n;
17
- const e = super.createRenderRoot();
18
- return (n = this.renderOptions).renderBefore ?? (n.renderBefore = e.firstChild), e;
19
- }
20
- update(e) {
21
- const n = this.render();
22
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = a(n, this.renderRoot, this.renderOptions);
23
- }
24
- connectedCallback() {
25
- var e;
26
- super.connectedCallback(), (e = this._$Do) == null || e.setConnected(!0);
27
- }
28
- disconnectedCallback() {
29
- var e;
30
- super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
31
- }
32
- render() {
33
- return l;
34
- }
35
- }
36
- var s;
37
- r._$litElement$ = !0, r.finalized = !0, (s = t.litElementHydrateSupport) == null || s.call(t, { LitElement: r });
38
- const o = t.litElementPolyfillSupport;
39
- o == null || o({ LitElement: r });
40
- (t.litElementVersions ?? (t.litElementVersions = [])).push("4.2.0");
41
- export {
42
- r as LitElement,
43
- i as ReactiveElement,
44
- E as _$LH,
45
- m as defaultConverter,
46
- R as html,
47
- l as noChange,
48
- C as notEqual,
49
- $ as nothing,
50
- a as render
51
- };
@@ -1,69 +0,0 @@
1
- import { isSingleExpression as $ } from "./directive-helpers.js";
2
- import { Directive as _, PartType as A } from "./directive.js";
3
- import { directive as N } from "./directive.js";
4
- /**
5
- * @license
6
- * Copyright 2017 Google LLC
7
- * SPDX-License-Identifier: BSD-3-Clause
8
- */
9
- const o = (t, e) => {
10
- var i;
11
- const s = t._$AN;
12
- if (s === void 0) return !1;
13
- for (const r of s) (i = r._$AO) == null || i.call(r, e, !1), o(r, e);
14
- return !0;
15
- }, h = (t) => {
16
- let e, s;
17
- do {
18
- if ((e = t._$AM) === void 0) break;
19
- s = e._$AN, s.delete(t), t = e;
20
- } while ((s == null ? void 0 : s.size) === 0);
21
- }, c = (t) => {
22
- for (let e; e = t._$AM; t = e) {
23
- let s = e._$AN;
24
- if (s === void 0) e._$AN = s = /* @__PURE__ */ new Set();
25
- else if (s.has(t)) break;
26
- s.add(t), d(e);
27
- }
28
- };
29
- function f(t) {
30
- this._$AN !== void 0 ? (h(this), this._$AM = t, c(this)) : this._$AM = t;
31
- }
32
- function a(t, e = !1, s = 0) {
33
- const i = this._$AH, r = this._$AN;
34
- if (r !== void 0 && r.size !== 0) if (e) if (Array.isArray(i)) for (let n = s; n < i.length; n++) o(i[n], !1), h(i[n]);
35
- else i != null && (o(i, !1), h(i));
36
- else o(this, t);
37
- }
38
- const d = (t) => {
39
- t.type == A.CHILD && (t._$AP ?? (t._$AP = a), t._$AQ ?? (t._$AQ = f));
40
- };
41
- class p extends _ {
42
- constructor() {
43
- super(...arguments), this._$AN = void 0;
44
- }
45
- _$AT(e, s, i) {
46
- super._$AT(e, s, i), c(this), this.isConnected = e._$AU;
47
- }
48
- _$AO(e, s = !0) {
49
- var i, r;
50
- e !== this.isConnected && (this.isConnected = e, e ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), s && (o(this, e), h(this));
51
- }
52
- setValue(e) {
53
- if ($(this._$Ct)) this._$Ct._$AI(e, this);
54
- else {
55
- const s = [...this._$Ct._$AH];
56
- s[this._$Ci] = e, this._$Ct._$AI(s, this, 0);
57
- }
58
- }
59
- disconnected() {
60
- }
61
- reconnected() {
62
- }
63
- }
64
- export {
65
- p as AsyncDirective,
66
- _ as Directive,
67
- A as PartType,
68
- N as directive
69
- };
@@ -1,45 +0,0 @@
1
- import { _$LH as m } from "./lit-html.js";
2
- /**
3
- * @license
4
- * Copyright 2020 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- const { I: c } = m, g = (e) => e.strings === void 0, l = () => document.createComment(""), u = (e, i, t) => {
8
- var a;
9
- const r = e._$AA.parentNode, A = i === void 0 ? e._$AB : i._$AA;
10
- if (t === void 0) {
11
- const $ = r.insertBefore(l(), A), _ = r.insertBefore(l(), A);
12
- t = new c($, _, e, e.options);
13
- } else {
14
- const $ = t._$AB.nextSibling, _ = t._$AM, o = _ !== e;
15
- if (o) {
16
- let s;
17
- (a = t._$AQ) == null || a.call(t, e), t._$AM = e, t._$AP !== void 0 && (s = e._$AU) !== _._$AU && t._$AP(s);
18
- }
19
- if ($ !== A || o) {
20
- let s = t._$AA;
21
- for (; s !== $; ) {
22
- const n = s.nextSibling;
23
- r.insertBefore(s, A), s = n;
24
- }
25
- }
26
- }
27
- return t;
28
- }, v = (e, i, t = e) => (e._$AI(i, t), e), f = {}, p = (e, i = f) => e._$AH = i, x = (e) => e._$AH, B = (e) => {
29
- var r;
30
- (r = e._$AP) == null || r.call(e, !1, !0);
31
- let i = e._$AA;
32
- const t = e._$AB.nextSibling;
33
- for (; i !== t; ) {
34
- const A = i.nextSibling;
35
- i.remove(), i = A;
36
- }
37
- };
38
- export {
39
- x as getCommittedValue,
40
- u as insertPart,
41
- g as isSingleExpression,
42
- B as removePart,
43
- v as setChildPartValue,
44
- p as setCommittedValue
45
- };
@@ -1,27 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const s = { ATTRIBUTE: 1, CHILD: 2 }, $ = (i) => (...t) => ({ _$litDirective$: i, values: t });
7
- class _ {
8
- constructor(t) {
9
- }
10
- get _$AU() {
11
- return this._$AM._$AU;
12
- }
13
- _$AT(t, e, r) {
14
- this._$Ct = t, this._$AM = e, this._$Ci = r;
15
- }
16
- _$AS(t, e) {
17
- return this.update(t, e);
18
- }
19
- update(t, e) {
20
- return this.render(...e);
21
- }
22
- }
23
- export {
24
- _ as Directive,
25
- s as PartType,
26
- $ as directive
27
- };
@@ -1,34 +0,0 @@
1
- import { noChange as o } from "../lit-html.js";
2
- import { directive as h, Directive as c, PartType as d } from "../directive.js";
3
- /**
4
- * @license
5
- * Copyright 2018 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- const f = h(class extends c {
9
- constructor(s) {
10
- var e;
11
- if (super(s), s.type !== d.ATTRIBUTE || s.name !== "class" || ((e = s.strings) == null ? 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.");
12
- }
13
- render(s) {
14
- return " " + Object.keys(s).filter((e) => s[e]).join(" ") + " ";
15
- }
16
- update(s, [e]) {
17
- var n, i;
18
- if (this.st === void 0) {
19
- this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((t) => t !== "")));
20
- for (const t in e) e[t] && !((n = this.nt) != null && n.has(t)) && this.st.add(t);
21
- return this.render(e);
22
- }
23
- const r = s.element.classList;
24
- for (const t of this.st) t in e || (r.remove(t), this.st.delete(t));
25
- for (const t in e) {
26
- const a = !!e[t];
27
- a === this.st.has(t) || (i = this.nt) != null && i.has(t) || (a ? (r.add(t), this.st.add(t)) : (r.remove(t), this.st.delete(t)));
28
- }
29
- return o;
30
- }
31
- });
32
- export {
33
- f as classMap
34
- };
@@ -1,42 +0,0 @@
1
- import { nothing as o } from "../lit-html.js";
2
- import { AsyncDirective as n } from "../async-directive.js";
3
- import { directive as r } from "../directive.js";
4
- /**
5
- * @license
6
- * Copyright 2020 Google LLC
7
- * SPDX-License-Identifier: BSD-3-Clause
8
- */
9
- const v = () => new c();
10
- class c {
11
- }
12
- const e = /* @__PURE__ */ new WeakMap(), G = r(class extends n {
13
- render(t) {
14
- return o;
15
- }
16
- update(t, [i]) {
17
- var h;
18
- const s = i !== this.G;
19
- return s && this.G !== void 0 && this.rt(void 0), (s || this.lt !== this.ct) && (this.G = i, this.ht = (h = t.options) == null ? void 0 : h.host, this.rt(this.ct = t.element)), o;
20
- }
21
- rt(t) {
22
- if (this.isConnected || (t = void 0), typeof this.G == "function") {
23
- const i = this.ht ?? globalThis;
24
- let s = e.get(i);
25
- s === void 0 && (s = /* @__PURE__ */ new WeakMap(), e.set(i, s)), s.get(this.G) !== void 0 && this.G.call(this.ht, void 0), s.set(this.G, t), t !== void 0 && this.G.call(this.ht, t);
26
- } else this.G.value = t;
27
- }
28
- get lt() {
29
- var t, i;
30
- return typeof this.G == "function" ? (t = e.get(this.ht ?? globalThis)) == null ? void 0 : t.get(this.G) : (i = this.G) == null ? void 0 : i.value;
31
- }
32
- disconnected() {
33
- this.lt === this.ct && this.rt(void 0);
34
- }
35
- reconnected() {
36
- this.rt(this.ct);
37
- }
38
- });
39
- export {
40
- v as createRef,
41
- G as ref
42
- };
@@ -1,61 +0,0 @@
1
- import { noChange as k } from "../lit-html.js";
2
- import { directive as w, Directive as V, PartType as $ } from "../directive.js";
3
- import { getCommittedValue as A, setChildPartValue as h, insertPart as m, removePart as g, setCommittedValue as D } from "../directive-helpers.js";
4
- /**
5
- * @license
6
- * Copyright 2017 Google LLC
7
- * SPDX-License-Identifier: BSD-3-Clause
8
- */
9
- const P = (s, f, c) => {
10
- const p = /* @__PURE__ */ new Map();
11
- for (let e = f; e <= c; e++) p.set(s[e], e);
12
- return p;
13
- }, j = w(class extends V {
14
- constructor(s) {
15
- if (super(s), s.type !== $.CHILD) throw Error("repeat() can only be used in text expressions");
16
- }
17
- dt(s, f, c) {
18
- let p;
19
- c === void 0 ? c = f : f !== void 0 && (p = f);
20
- const e = [], n = [];
21
- let l = 0;
22
- for (const a of s) e[l] = p ? p(a, l) : l, n[l] = c(a, l), l++;
23
- return { values: n, keys: e };
24
- }
25
- render(s, f, c) {
26
- return this.dt(s, f, c).values;
27
- }
28
- update(s, [f, c, p]) {
29
- const e = A(s), { values: n, keys: l } = this.dt(f, c, p);
30
- if (!Array.isArray(e)) return this.ut = l, n;
31
- const a = this.ut ?? (this.ut = []), u = [];
32
- let v, x, t = 0, o = e.length - 1, r = 0, i = n.length - 1;
33
- for (; t <= o && r <= i; ) if (e[t] === null) t++;
34
- else if (e[o] === null) o--;
35
- else if (a[t] === l[r]) u[r] = h(e[t], n[r]), t++, r++;
36
- else if (a[o] === l[i]) u[i] = h(e[o], n[i]), o--, i--;
37
- else if (a[t] === l[i]) u[i] = h(e[t], n[i]), m(s, u[i + 1], e[t]), t++, i--;
38
- else if (a[o] === l[r]) u[r] = h(e[o], n[r]), m(s, e[t], e[o]), o--, r++;
39
- else if (v === void 0 && (v = P(l, r, i), x = P(a, t, o)), v.has(a[t])) if (v.has(a[o])) {
40
- const d = x.get(l[r]), y = d !== void 0 ? e[d] : null;
41
- if (y === null) {
42
- const C = m(s, e[t]);
43
- h(C, n[r]), u[r] = C;
44
- } else u[r] = h(y, n[r]), m(s, e[t], y), e[d] = null;
45
- r++;
46
- } else g(e[o]), o--;
47
- else g(e[t]), t++;
48
- for (; r <= i; ) {
49
- const d = m(s, u[i + 1]);
50
- h(d, n[r]), u[r++] = d;
51
- }
52
- for (; t <= o; ) {
53
- const d = e[t++];
54
- d !== null && g(d);
55
- }
56
- return this.ut = l, D(s, u), k;
57
- }
58
- });
59
- export {
60
- j as repeat
61
- };
@@ -1,36 +0,0 @@
1
- import { noChange as l } from "../lit-html.js";
2
- import { directive as c, Directive as a, PartType as u } from "../directive.js";
3
- /**
4
- * @license
5
- * Copyright 2018 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- const o = "important", d = " !" + o, h = c(class extends a {
9
- constructor(n) {
10
- var t;
11
- if (super(n), n.type !== u.ATTRIBUTE || n.name !== "style" || ((t = n.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
12
- }
13
- render(n) {
14
- return Object.keys(n).reduce((t, s) => {
15
- const e = n[s];
16
- return e == null ? t : t + `${s = s.includes("-") ? s : s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${e};`;
17
- }, "");
18
- }
19
- update(n, [t]) {
20
- const { style: s } = n.element;
21
- if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
22
- for (const e of this.ft) t[e] == null && (this.ft.delete(e), e.includes("-") ? s.removeProperty(e) : s[e] = null);
23
- for (const e in t) {
24
- const r = t[e];
25
- if (r != null) {
26
- this.ft.add(e);
27
- const i = typeof r == "string" && r.endsWith(d);
28
- e.includes("-") || i ? s.setProperty(e, i ? r.slice(0, -11) : r, i ? o : "") : s[e] = r;
29
- }
30
- }
31
- return l;
32
- }
33
- });
34
- export {
35
- h as styleMap
36
- };
@@ -1,27 +0,0 @@
1
- import { nothing as s, noChange as r } from "../lit-html.js";
2
- import { directive as n, Directive as o, PartType as a } from "../directive.js";
3
- /**
4
- * @license
5
- * Copyright 2017 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- class i extends o {
9
- constructor(t) {
10
- if (super(t), this.it = s, t.type !== a.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
11
- }
12
- render(t) {
13
- if (t === s || t == null) return this._t = void 0, this.it = t;
14
- if (t === r) return t;
15
- if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
16
- if (t === this.it) return this._t;
17
- this.it = t;
18
- const e = [t];
19
- return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
20
- }
21
- }
22
- i.directiveName = "unsafeHTML", i.resultType = 1;
23
- const l = n(i);
24
- export {
25
- i as UnsafeHTMLDirective,
26
- l as unsafeHTML
27
- };