@oddsmith/ui 1.0.0 → 1.0.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/README.md +1 -1
- package/dist/components/os-leaderboard-casino/assets/fallback/defaults/glam-sections.json +3 -3
- package/dist/components/os-leaderboard-casino/assets/fallback/manifest.json +1 -1
- package/dist/components/os-leaderboard-casino/assets/fallback/resolved-presets.json +6 -4
- package/dist/components/os-leaderboard-casino/assets/fallback/resolved-presets.json.js +1 -1
- package/dist/components/os-leaderboard-casino/assets/fallback/themes.json +3 -4
- package/dist/components/os-leaderboard-casino/assets/fallback/themes.json.js +3 -4
- package/dist/components/os-leaderboard-casino/assets/fallback/themes.json.js.map +1 -1
- package/dist/components/os-leaderboard-casino/constants/defaults.d.ts +8 -0
- package/dist/components/os-leaderboard-casino/constants/index.d.ts +2 -0
- package/dist/components/os-leaderboard-casino/constants/tags.d.ts +22 -0
- package/dist/components/os-leaderboard-casino/constants/tags.js +6 -4
- package/dist/components/os-leaderboard-casino/constants/tags.js.map +1 -1
- package/dist/components/os-leaderboard-casino/container/os-leaderboard-casino.d.ts +35 -0
- package/dist/components/os-leaderboard-casino/container/os-leaderboard-casino.host.d.ts +13 -0
- package/dist/components/os-leaderboard-casino/container/os-leaderboard-casino.html.js +5 -3
- package/dist/components/os-leaderboard-casino/container/os-leaderboard-casino.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/container/os-leaderboard-casino.js +12 -10
- package/dist/components/os-leaderboard-casino/container/os-leaderboard-casino.js.map +1 -1
- package/dist/components/os-leaderboard-casino/container/os-leaderboard-casino.scss.js +1 -1
- package/dist/components/os-leaderboard-casino/index.d.ts +36 -0
- package/dist/components/os-leaderboard-casino/index.js +23 -23
- package/dist/components/os-leaderboard-casino/integration/assemble-assets.d.ts +21 -0
- package/dist/components/os-leaderboard-casino/integration/assets-context.d.ts +26 -0
- package/dist/components/os-leaderboard-casino/integration/assets-context.js +40 -35
- package/dist/components/os-leaderboard-casino/integration/assets-context.js.map +1 -1
- package/dist/components/os-leaderboard-casino/integration/defaults-glam.d.ts +14 -0
- package/dist/components/os-leaderboard-casino/integration/defaults-new-money.d.ts +3 -0
- package/dist/components/os-leaderboard-casino/integration/index.d.ts +5 -0
- package/dist/components/os-leaderboard-casino/integration/labels.d.ts +1 -0
- package/dist/components/os-leaderboard-casino/integration/load-assets.d.ts +9 -0
- package/dist/components/os-leaderboard-casino/integration/presets.d.ts +1 -0
- package/dist/components/os-leaderboard-casino/integration/resolve-input.d.ts +20 -0
- package/dist/components/os-leaderboard-casino/integration/resolve-input.js +31 -27
- package/dist/components/os-leaderboard-casino/integration/resolve-input.js.map +1 -1
- package/dist/components/os-leaderboard-casino/integration/themes.d.ts +1 -0
- package/dist/components/os-leaderboard-casino/sections/climb-section/climb-section.d.ts +18 -0
- package/dist/components/os-leaderboard-casino/sections/climb-section/climb-section.host.d.ts +14 -0
- package/dist/components/os-leaderboard-casino/sections/climb-section/climb-section.html.js +7 -5
- package/dist/components/os-leaderboard-casino/sections/climb-section/climb-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/climb-section/climb-section.js +33 -38
- package/dist/components/os-leaderboard-casino/sections/climb-section/climb-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/events-banner/components/event-icons.d.ts +5 -0
- package/dist/components/os-leaderboard-casino/sections/events-banner/components/event-icons.js +7 -5
- package/dist/components/os-leaderboard-casino/sections/events-banner/components/event-icons.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/events-banner/events-banner.d.ts +16 -0
- package/dist/components/os-leaderboard-casino/sections/events-banner/events-banner.host.d.ts +8 -0
- package/dist/components/os-leaderboard-casino/sections/events-banner/events-banner.js +26 -22
- package/dist/components/os-leaderboard-casino/sections/events-banner/events-banner.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/footer-section/footer-section.d.ts +10 -0
- package/dist/components/os-leaderboard-casino/sections/footer-section/footer-section.host.d.ts +3 -0
- package/dist/components/os-leaderboard-casino/sections/footer-section/footer-section.html.js +7 -5
- package/dist/components/os-leaderboard-casino/sections/footer-section/footer-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/footer-section/footer-section.js +11 -8
- package/dist/components/os-leaderboard-casino/sections/footer-section/footer-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/games-section/components/game-images.d.ts +1 -0
- package/dist/components/os-leaderboard-casino/sections/games-section/games-section.d.ts +20 -0
- package/dist/components/os-leaderboard-casino/sections/games-section/games-section.host.d.ts +7 -0
- package/dist/components/os-leaderboard-casino/sections/games-section/games-section.html.js +5 -3
- package/dist/components/os-leaderboard-casino/sections/games-section/games-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/games-section/games-section.js +15 -13
- package/dist/components/os-leaderboard-casino/sections/games-section/games-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/header-section/header-section.d.ts +12 -0
- package/dist/components/os-leaderboard-casino/sections/header-section/header-section.host.d.ts +8 -0
- package/dist/components/os-leaderboard-casino/sections/hero-section/hero-section.d.ts +37 -0
- package/dist/components/os-leaderboard-casino/sections/hero-section/hero-section.host.d.ts +20 -0
- package/dist/components/os-leaderboard-casino/sections/hero-section/hero-section.html.js +6 -4
- package/dist/components/os-leaderboard-casino/sections/hero-section/hero-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/hero-section/hero-section.js +6 -2
- package/dist/components/os-leaderboard-casino/sections/hero-section/hero-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/legals-section/legals-section.d.ts +18 -0
- package/dist/components/os-leaderboard-casino/sections/legals-section/legals-section.host.d.ts +8 -0
- package/dist/components/os-leaderboard-casino/sections/legals-section/legals-section.html.js +5 -3
- package/dist/components/os-leaderboard-casino/sections/legals-section/legals-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/legals-section/legals-section.js +10 -5
- package/dist/components/os-leaderboard-casino/sections/legals-section/legals-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/live-feed-section/live-feed-section.d.ts +13 -0
- package/dist/components/os-leaderboard-casino/sections/live-feed-section/live-feed-section.host.d.ts +8 -0
- package/dist/components/os-leaderboard-casino/sections/marquee-section/components/win-icons.d.ts +3 -0
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-item.d.ts +14 -0
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-section.d.ts +42 -0
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-section.host.d.ts +8 -0
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-section.html.js +5 -3
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-section.js +26 -23
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/marquee-section/marquee-variants.d.ts +6 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/components/medal-coin/medal-coin.d.ts +16 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/components/medal-coin/medal-coin.js +73 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/components/medal-coin/medal-coin.js.map +1 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/components/medal-coin/medal-coin.scss.js +5 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/components/medal-coin/medal-coin.scss.js.map +1 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/prize-section.d.ts +23 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/prize-section.host.d.ts +11 -0
- package/dist/components/os-leaderboard-casino/sections/prize-section/prize-section.html.js +5 -3
- package/dist/components/os-leaderboard-casino/sections/prize-section/prize-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/prize-section/prize-section.js +18 -15
- package/dist/components/os-leaderboard-casino/sections/prize-section/prize-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-band/stat-band.d.ts +17 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-card/stat-card.d.ts +15 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-chip/stat-chip.d.ts +17 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-gauge/stat-gauge.d.ts +14 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-icons.d.ts +5 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-icons.js +11 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-icons.js.map +1 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-meter/stat-meter.d.ts +17 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-rail/stat-rail.d.ts +17 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-rail/stat-rail.js +63 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-rail/stat-rail.js.map +1 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-rail/stat-rail.scss.js +5 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/components/stat-rail/stat-rail.scss.js.map +1 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/stats-section.d.ts +16 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/stats-section.host.d.ts +13 -0
- package/dist/components/os-leaderboard-casino/sections/stats-section/stats-section.html.js +5 -3
- package/dist/components/os-leaderboard-casino/sections/stats-section/stats-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/stats-section/stats-section.js +20 -16
- package/dist/components/os-leaderboard-casino/sections/stats-section/stats-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/table-section/table-section.d.ts +31 -0
- package/dist/components/os-leaderboard-casino/sections/table-section/table-section.host.d.ts +15 -0
- package/dist/components/os-leaderboard-casino/sections/table-section/table-section.html.js +5 -3
- package/dist/components/os-leaderboard-casino/sections/table-section/table-section.html.js.map +1 -1
- package/dist/components/os-leaderboard-casino/sections/table-section/table-section.js +17 -14
- package/dist/components/os-leaderboard-casino/sections/table-section/table-section.js.map +1 -1
- package/dist/components/os-leaderboard-casino/services/adapter.service.d.ts +11 -0
- package/dist/components/os-leaderboard-casino/services/icon.service.d.ts +28 -0
- package/dist/components/os-leaderboard-casino/services/icon.service.js +10 -8
- package/dist/components/os-leaderboard-casino/services/icon.service.js.map +1 -1
- package/dist/components/os-leaderboard-casino/services/index.d.ts +2 -0
- package/dist/components/os-leaderboard-casino/theme/background.d.ts +4 -0
- package/dist/components/os-leaderboard-casino/theme/background.js +22 -0
- package/dist/components/os-leaderboard-casino/theme/background.js.map +1 -0
- package/dist/components/os-leaderboard-casino/theme/index.d.ts +3 -0
- package/dist/components/os-leaderboard-casino/theme/prize-icons.d.ts +1 -0
- package/dist/components/os-leaderboard-casino/theme/prize-resolve.d.ts +5 -0
- package/dist/components/os-leaderboard-casino/theme/styles.d.ts +9 -0
- package/dist/components/os-leaderboard-casino/theme/styles.js +3 -3
- package/dist/components/os-leaderboard-casino/theme/styles.js.map +1 -1
- package/dist/components/os-leaderboard-casino/theme/vip-icons.d.ts +2 -0
- package/dist/components/os-leaderboard-casino/theme/vip-mark.d.ts +7 -0
- package/dist/components/os-leaderboard-casino/theme/vip-mark.js +11 -9
- package/dist/components/os-leaderboard-casino/theme/vip-mark.js.map +1 -1
- package/dist/components/os-leaderboard-casino/types/assets.d.ts +42 -0
- package/dist/components/os-leaderboard-casino/types/data.d.ts +106 -0
- package/dist/components/os-leaderboard-casino/types/events.d.ts +18 -0
- package/dist/components/os-leaderboard-casino/types/icons.d.ts +18 -0
- package/dist/components/os-leaderboard-casino/types/input.d.ts +79 -0
- package/dist/components/os-leaderboard-casino/types/ledger.d.ts +67 -0
- package/dist/components/os-leaderboard-casino/types/sections.d.ts +200 -0
- package/dist/components/os-leaderboard-casino/types/state.d.ts +69 -0
- package/dist/shared/lib/lit/component.d.ts +5 -0
- package/dist/shared/lib/lit/safe-custom-element.d.ts +5 -0
- package/dist/shared/lib/lit/scss.d.ts +3 -0
- package/dist/shared/lib/lit/scss.js +4 -4
- package/dist/shared/lib/lit/template.d.ts +3 -0
- package/dist/shared/vendor/lit-element-lit-element.js +45 -0
- package/dist/shared/vendor/lit-element-lit-element.js.map +1 -0
- package/dist/shared/vendor/lit-html-directive-helpers.js +32 -0
- package/dist/shared/vendor/lit-html-directive-helpers.js.map +1 -0
- package/dist/shared/vendor/lit-html-directive.js +23 -0
- package/dist/shared/vendor/lit-html-directive.js.map +1 -0
- package/dist/shared/vendor/lit-html-keyed.js +18 -0
- package/dist/shared/vendor/lit-html-keyed.js.map +1 -0
- package/dist/shared/vendor/lit-html-lit-html.js +234 -0
- package/dist/shared/vendor/lit-html-lit-html.js.map +1 -0
- package/dist/shared/vendor/lit-html-repeat.js +57 -0
- package/dist/shared/vendor/lit-html-repeat.js.map +1 -0
- package/dist/shared/vendor/lit-html-unsafe-html.js +21 -0
- package/dist/shared/vendor/lit-html-unsafe-html.js.map +1 -0
- package/dist/shared/vendor/lit-html-unsafe-svg.js +10 -0
- package/dist/shared/vendor/lit-html-unsafe-svg.js.map +1 -0
- package/dist/shared/vendor/lit-reactive-element-base.js +5 -0
- package/dist/shared/vendor/lit-reactive-element-base.js.map +1 -0
- package/dist/shared/vendor/lit-reactive-element-css-tag.js +46 -0
- package/dist/shared/vendor/lit-reactive-element-css-tag.js.map +1 -0
- package/dist/shared/vendor/lit-reactive-element-property.js +33 -0
- package/dist/shared/vendor/lit-reactive-element-property.js.map +1 -0
- package/dist/shared/vendor/lit-reactive-element-query.js +13 -0
- package/dist/shared/vendor/lit-reactive-element-query.js.map +1 -0
- package/dist/shared/vendor/lit-reactive-element-reactive-element.js +226 -0
- package/dist/shared/vendor/lit-reactive-element-reactive-element.js.map +1 -0
- package/dist/shared/vendor/lit-reactive-element-state.js +8 -0
- package/dist/shared/vendor/lit-reactive-element-state.js.map +1 -0
- package/package.json +5 -2
- package/dist/index.d.ts +0 -734
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { notEqual as p, defaultConverter as u } from "./lit-reactive-element-reactive-element.js";
|
|
2
|
+
const l = { attribute: !0, type: String, converter: u, reflect: !1, hasChanged: p }, d = (t = l, s, r) => {
|
|
3
|
+
const { kind: n, metadata: i } = r;
|
|
4
|
+
let o = globalThis.litPropertyMetadata.get(i);
|
|
5
|
+
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), n === "setter" && ((t = Object.create(t)).wrapped = !0), o.set(r.name, t), n === "accessor") {
|
|
6
|
+
const { name: a } = r;
|
|
7
|
+
return { set(e) {
|
|
8
|
+
const c = s.get.call(this);
|
|
9
|
+
s.set.call(this, e), this.requestUpdate(a, c, t, !0, e);
|
|
10
|
+
}, init(e) {
|
|
11
|
+
return e !== void 0 && this.C(a, void 0, t, e), e;
|
|
12
|
+
} };
|
|
13
|
+
}
|
|
14
|
+
if (n === "setter") {
|
|
15
|
+
const { name: a } = r;
|
|
16
|
+
return function(e) {
|
|
17
|
+
const c = this[a];
|
|
18
|
+
s.call(this, e), this.requestUpdate(a, c, t, !0, e);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
throw Error("Unsupported decorator location: " + n);
|
|
22
|
+
};
|
|
23
|
+
function f(t) {
|
|
24
|
+
return (s, r) => typeof r == "object" ? d(t, s, r) : ((n, i, o) => {
|
|
25
|
+
const a = i.hasOwnProperty(o);
|
|
26
|
+
return i.constructor.createProperty(o, n), a ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
|
27
|
+
})(t, s, r);
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
f as property,
|
|
31
|
+
d as standardProperty
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=lit-reactive-element-property.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lit-reactive-element-property.js","sources":["../../../node_modules/@lit/reactive-element/decorators/property.js"],"sourcesContent":["import{notEqual as t,defaultConverter as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:t},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),\"setter\"===n&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t,!0,r)},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t,!0,r)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n"],"names":["o","e","t","r","s","n"],"mappings":";AAKQ,MAACA,IAAE,EAAC,WAAU,IAAG,MAAK,QAAO,WAAUC,GAAE,SAAQ,IAAG,YAAWC,EAAC,GAAEC,IAAE,CAAC,IAAEH,GAAEC,GAAE,MAAI;AAAC,QAAK,EAAC,MAAK,GAAE,UAAS,EAAC,IAAE;AAAE,MAAIG,IAAE,WAAW,oBAAoB,IAAI,CAAC;AAAE,MAAYA,MAAT,UAAY,WAAW,oBAAoB,IAAI,GAAEA,IAAE,oBAAI,KAAG,GAAa,MAAX,cAAgB,IAAE,OAAO,OAAO,CAAC,GAAG,UAAQ,KAAIA,EAAE,IAAI,EAAE,MAAK,CAAC,GAAe,MAAb,YAAe;AAAC,UAAK,EAAC,MAAKJ,EAAC,IAAE;AAAE,WAAM,EAAC,IAAIG,GAAE;AAAC,YAAME,IAAEJ,EAAE,IAAI,KAAK,IAAI;AAAE,MAAAA,EAAE,IAAI,KAAK,MAAKE,CAAC,GAAE,KAAK,cAAcH,GAAEK,GAAE,GAAE,IAAGF,CAAC;AAAA,IAAC,GAAE,KAAK,GAAE;AAAC,aAAgB,MAAT,UAAY,KAAK,EAAEH,GAAE,QAAO,GAAE,CAAC,GAAE;AAAA,IAAC,EAAC;AAAA,EAAC;AAAC,MAAc,MAAX,UAAa;AAAC,UAAK,EAAC,MAAKA,EAAC,IAAE;AAAE,WAAO,SAASG,GAAE;AAAC,YAAME,IAAE,KAAKL,CAAC;AAAE,MAAAC,EAAE,KAAK,MAAKE,CAAC,GAAE,KAAK,cAAcH,GAAEK,GAAE,GAAE,IAAGF,CAAC;AAAA,IAAC;AAAA,EAAC;AAAC,QAAM,MAAM,qCAAmC,CAAC;AAAC;AAAE,SAASE,EAAE,GAAE;AAAC,SAAM,CAACJ,GAAED,MAAc,OAAOA,KAAjB,WAAmBG,EAAE,GAAEF,GAAED,CAAC,KAAG,CAACE,GAAED,GAAE,MAAI;AAAC,UAAME,IAAEF,EAAE,eAAe,CAAC;AAAE,WAAOA,EAAE,YAAY,eAAe,GAAEC,CAAC,GAAEC,IAAE,OAAO,yBAAyBF,GAAE,CAAC,IAAE;AAAA,EAAM,GAAG,GAAEA,GAAED,CAAC;AAAC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { desc as u } from "./lit-reactive-element-base.js";
|
|
2
|
+
function l(r, s) {
|
|
3
|
+
return (e, t, c) => {
|
|
4
|
+
const o = (n) => n.renderRoot?.querySelector(r) ?? null;
|
|
5
|
+
return u(e, t, { get() {
|
|
6
|
+
return o(this);
|
|
7
|
+
} });
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
l as query
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=lit-reactive-element-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lit-reactive-element-query.js","sources":["../../../node_modules/@lit/reactive-element/decorators/query.js"],"sourcesContent":["import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n"],"names":["e","r","n","s","i","t"],"mappings":";AAKG,SAASA,EAAEA,GAAEC,GAAE;AAAC,SAAM,CAACC,GAAEC,GAAEC,MAAI;AAAC,UAAM,IAAE,CAAAC,MAAGA,EAAE,YAAY,cAAcL,CAAC,KAAG;AAAwP,WAAOK,EAAEH,GAAEC,GAAE,EAAC,MAAK;AAAC,aAAO,EAAE,IAAI;AAAA,IAAC,EAAC,CAAC;AAAA,EAAC;AAAC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { getCompatibleStyle as d, adoptStyles as _ } from "./lit-reactive-element-css-tag.js";
|
|
2
|
+
import { CSSResult as O, css as C, supportsAdoptingStyleSheets as M, unsafeCSS as R } from "./lit-reactive-element-css-tag.js";
|
|
3
|
+
const { is: $, defineProperty: y, getOwnPropertyDescriptor: m, getOwnPropertyNames: g, getOwnPropertySymbols: b, getPrototypeOf: P } = Object, n = globalThis, u = n.trustedTypes, v = u ? u.emptyScript : "", w = n.reactiveElementPolyfillSupport, c = (o, t) => o, p = { toAttribute(o, t) {
|
|
4
|
+
switch (t) {
|
|
5
|
+
case Boolean:
|
|
6
|
+
o = o ? v : null;
|
|
7
|
+
break;
|
|
8
|
+
case Object:
|
|
9
|
+
case Array:
|
|
10
|
+
o = o == null ? o : JSON.stringify(o);
|
|
11
|
+
}
|
|
12
|
+
return o;
|
|
13
|
+
}, fromAttribute(o, t) {
|
|
14
|
+
let e = o;
|
|
15
|
+
switch (t) {
|
|
16
|
+
case Boolean:
|
|
17
|
+
e = o !== null;
|
|
18
|
+
break;
|
|
19
|
+
case Number:
|
|
20
|
+
e = o === null ? null : Number(o);
|
|
21
|
+
break;
|
|
22
|
+
case Object:
|
|
23
|
+
case Array:
|
|
24
|
+
try {
|
|
25
|
+
e = JSON.parse(o);
|
|
26
|
+
} catch {
|
|
27
|
+
e = null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return e;
|
|
31
|
+
} }, E = (o, t) => !$(o, t), f = { attribute: !0, type: String, converter: p, reflect: !1, useDefault: !1, hasChanged: E };
|
|
32
|
+
Symbol.metadata ?? (Symbol.metadata = /* @__PURE__ */ Symbol("metadata")), n.litPropertyMetadata ?? (n.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
33
|
+
class l extends HTMLElement {
|
|
34
|
+
static addInitializer(t) {
|
|
35
|
+
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
36
|
+
}
|
|
37
|
+
static get observedAttributes() {
|
|
38
|
+
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
39
|
+
}
|
|
40
|
+
static createProperty(t, e = f) {
|
|
41
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
42
|
+
const s = /* @__PURE__ */ Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
|
43
|
+
i !== void 0 && y(this.prototype, t, i);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
static getPropertyDescriptor(t, e, s) {
|
|
47
|
+
const { get: i, set: r } = m(this.prototype, t) ?? { get() {
|
|
48
|
+
return this[e];
|
|
49
|
+
}, set(a) {
|
|
50
|
+
this[e] = a;
|
|
51
|
+
} };
|
|
52
|
+
return { get: i, set(a) {
|
|
53
|
+
const h = i?.call(this);
|
|
54
|
+
r?.call(this, a), this.requestUpdate(t, h, s);
|
|
55
|
+
}, configurable: !0, enumerable: !0 };
|
|
56
|
+
}
|
|
57
|
+
static getPropertyOptions(t) {
|
|
58
|
+
return this.elementProperties.get(t) ?? f;
|
|
59
|
+
}
|
|
60
|
+
static _$Ei() {
|
|
61
|
+
if (this.hasOwnProperty(c("elementProperties"))) return;
|
|
62
|
+
const t = P(this);
|
|
63
|
+
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
64
|
+
}
|
|
65
|
+
static finalize() {
|
|
66
|
+
if (this.hasOwnProperty(c("finalized"))) return;
|
|
67
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(c("properties"))) {
|
|
68
|
+
const e = this.properties, s = [...g(e), ...b(e)];
|
|
69
|
+
for (const i of s) this.createProperty(i, e[i]);
|
|
70
|
+
}
|
|
71
|
+
const t = this[Symbol.metadata];
|
|
72
|
+
if (t !== null) {
|
|
73
|
+
const e = litPropertyMetadata.get(t);
|
|
74
|
+
if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
|
|
75
|
+
}
|
|
76
|
+
this._$Eh = /* @__PURE__ */ new Map();
|
|
77
|
+
for (const [e, s] of this.elementProperties) {
|
|
78
|
+
const i = this._$Eu(e, s);
|
|
79
|
+
i !== void 0 && this._$Eh.set(i, e);
|
|
80
|
+
}
|
|
81
|
+
this.elementStyles = this.finalizeStyles(this.styles);
|
|
82
|
+
}
|
|
83
|
+
static finalizeStyles(t) {
|
|
84
|
+
const e = [];
|
|
85
|
+
if (Array.isArray(t)) {
|
|
86
|
+
const s = new Set(t.flat(1 / 0).reverse());
|
|
87
|
+
for (const i of s) e.unshift(d(i));
|
|
88
|
+
} else t !== void 0 && e.push(d(t));
|
|
89
|
+
return e;
|
|
90
|
+
}
|
|
91
|
+
static _$Eu(t, e) {
|
|
92
|
+
const s = e.attribute;
|
|
93
|
+
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
94
|
+
}
|
|
95
|
+
constructor() {
|
|
96
|
+
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
97
|
+
}
|
|
98
|
+
_$Ev() {
|
|
99
|
+
this._$ES = new Promise((t) => this.enableUpdating = t), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t) => t(this));
|
|
100
|
+
}
|
|
101
|
+
addController(t) {
|
|
102
|
+
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && t.hostConnected?.();
|
|
103
|
+
}
|
|
104
|
+
removeController(t) {
|
|
105
|
+
this._$EO?.delete(t);
|
|
106
|
+
}
|
|
107
|
+
_$E_() {
|
|
108
|
+
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
109
|
+
for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
|
|
110
|
+
t.size > 0 && (this._$Ep = t);
|
|
111
|
+
}
|
|
112
|
+
createRenderRoot() {
|
|
113
|
+
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
114
|
+
return _(t, this.constructor.elementStyles), t;
|
|
115
|
+
}
|
|
116
|
+
connectedCallback() {
|
|
117
|
+
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
118
|
+
}
|
|
119
|
+
enableUpdating(t) {
|
|
120
|
+
}
|
|
121
|
+
disconnectedCallback() {
|
|
122
|
+
this._$EO?.forEach((t) => t.hostDisconnected?.());
|
|
123
|
+
}
|
|
124
|
+
attributeChangedCallback(t, e, s) {
|
|
125
|
+
this._$AK(t, s);
|
|
126
|
+
}
|
|
127
|
+
_$ET(t, e) {
|
|
128
|
+
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
|
129
|
+
if (i !== void 0 && s.reflect === !0) {
|
|
130
|
+
const r = (s.converter?.toAttribute !== void 0 ? s.converter : p).toAttribute(e, s.type);
|
|
131
|
+
this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
_$AK(t, e) {
|
|
135
|
+
const s = this.constructor, i = s._$Eh.get(t);
|
|
136
|
+
if (i !== void 0 && this._$Em !== i) {
|
|
137
|
+
const r = s.getPropertyOptions(i), a = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : p;
|
|
138
|
+
this._$Em = i;
|
|
139
|
+
const h = a.fromAttribute(e, r.type);
|
|
140
|
+
this[i] = h ?? this._$Ej?.get(i) ?? h, this._$Em = null;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
requestUpdate(t, e, s, i = !1, r) {
|
|
144
|
+
if (t !== void 0) {
|
|
145
|
+
const a = this.constructor;
|
|
146
|
+
if (i === !1 && (r = this[t]), s ?? (s = a.getPropertyOptions(t)), !((s.hasChanged ?? E)(r, e) || s.useDefault && s.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(a._$Eu(t, s)))) return;
|
|
147
|
+
this.C(t, e, s);
|
|
148
|
+
}
|
|
149
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
150
|
+
}
|
|
151
|
+
C(t, e, { useDefault: s, reflect: i, wrapped: r }, a) {
|
|
152
|
+
s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, a ?? e ?? this[t]), r !== !0 || a !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
153
|
+
}
|
|
154
|
+
async _$EP() {
|
|
155
|
+
this.isUpdatePending = !0;
|
|
156
|
+
try {
|
|
157
|
+
await this._$ES;
|
|
158
|
+
} catch (e) {
|
|
159
|
+
Promise.reject(e);
|
|
160
|
+
}
|
|
161
|
+
const t = this.scheduleUpdate();
|
|
162
|
+
return t != null && await t, !this.isUpdatePending;
|
|
163
|
+
}
|
|
164
|
+
scheduleUpdate() {
|
|
165
|
+
return this.performUpdate();
|
|
166
|
+
}
|
|
167
|
+
performUpdate() {
|
|
168
|
+
if (!this.isUpdatePending) return;
|
|
169
|
+
if (!this.hasUpdated) {
|
|
170
|
+
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
171
|
+
for (const [i, r] of this._$Ep) this[i] = r;
|
|
172
|
+
this._$Ep = void 0;
|
|
173
|
+
}
|
|
174
|
+
const s = this.constructor.elementProperties;
|
|
175
|
+
if (s.size > 0) for (const [i, r] of s) {
|
|
176
|
+
const { wrapped: a } = r, h = this[i];
|
|
177
|
+
a !== !0 || this._$AL.has(i) || h === void 0 || this.C(i, void 0, r, h);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
let t = !1;
|
|
181
|
+
const e = this._$AL;
|
|
182
|
+
try {
|
|
183
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((s) => s.hostUpdate?.()), this.update(e)) : this._$EM();
|
|
184
|
+
} catch (s) {
|
|
185
|
+
throw t = !1, this._$EM(), s;
|
|
186
|
+
}
|
|
187
|
+
t && this._$AE(e);
|
|
188
|
+
}
|
|
189
|
+
willUpdate(t) {
|
|
190
|
+
}
|
|
191
|
+
_$AE(t) {
|
|
192
|
+
this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
193
|
+
}
|
|
194
|
+
_$EM() {
|
|
195
|
+
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
196
|
+
}
|
|
197
|
+
get updateComplete() {
|
|
198
|
+
return this.getUpdateComplete();
|
|
199
|
+
}
|
|
200
|
+
getUpdateComplete() {
|
|
201
|
+
return this._$ES;
|
|
202
|
+
}
|
|
203
|
+
shouldUpdate(t) {
|
|
204
|
+
return !0;
|
|
205
|
+
}
|
|
206
|
+
update(t) {
|
|
207
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
|
|
208
|
+
}
|
|
209
|
+
updated(t) {
|
|
210
|
+
}
|
|
211
|
+
firstUpdated(t) {
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
l.elementStyles = [], l.shadowRootOptions = { mode: "open" }, l[c("elementProperties")] = /* @__PURE__ */ new Map(), l[c("finalized")] = /* @__PURE__ */ new Map(), w?.({ ReactiveElement: l }), (n.reactiveElementVersions ?? (n.reactiveElementVersions = [])).push("2.1.2");
|
|
215
|
+
export {
|
|
216
|
+
O as CSSResult,
|
|
217
|
+
l as ReactiveElement,
|
|
218
|
+
_ as adoptStyles,
|
|
219
|
+
C as css,
|
|
220
|
+
p as defaultConverter,
|
|
221
|
+
d as getCompatibleStyle,
|
|
222
|
+
E as notEqual,
|
|
223
|
+
M as supportsAdoptingStyleSheets,
|
|
224
|
+
R as unsafeCSS
|
|
225
|
+
};
|
|
226
|
+
//# sourceMappingURL=lit-reactive-element-reactive-element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lit-reactive-element-reactive-element.js","sources":["../../../node_modules/@lit/reactive-element/reactive-element.js"],"sourcesContent":["import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,css,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:h,getOwnPropertyNames:r,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),b={attribute:!0,type:String,converter:u,reflect:!1,useDefault:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=b){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e(this.prototype,t,h)}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...r(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),h=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e;const r=h.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null}}requestUpdate(t,s,i,e=!1,h){if(void 0!==t){const r=this.constructor;if(!1===e&&(h=this[t]),i??=r.getPropertyOptions(t),!((i.hasChanged??f)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,i))))return;this.C(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e)}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(s)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:\"open\"},y[d(\"elementProperties\")]=new Map,y[d(\"finalized\")]=new Map,p?.({ReactiveElement:y}),(a.reactiveElementVersions??=[]).push(\"2.1.2\");export{y as ReactiveElement,s as adoptStyles,u as defaultConverter,t as getCompatibleStyle,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n"],"names":["i","e","h","r","o","n","a","c","l","p","d","t","s","u","f","b","y"],"mappings":";;AAKO,MAAC,EAAC,IAAGA,GAAE,gBAAeC,GAAE,0BAAyBC,GAAE,qBAAoBC,GAAE,uBAAsBC,GAAE,gBAAeC,EAAC,IAAE,QAAOC,IAAE,YAAWC,IAAED,EAAE,cAAaE,IAAED,IAAEA,EAAE,cAAY,IAAGE,IAAEH,EAAE,gCAA+BI,IAAE,CAACC,GAAEC,MAAID,GAAEE,IAAE,EAAC,YAAYF,GAAEC,GAAE;AAAC,UAAOA,GAAC;AAAA,IAAE,KAAK;AAAQ,MAAAD,IAAEA,IAAEH,IAAE;AAAK;AAAA,IAAM,KAAK;AAAA,IAAO,KAAK;AAAM,MAAAG,IAAQA,KAAN,OAAQA,IAAE,KAAK,UAAUA,CAAC;AAAA,EAAC;AAAC,SAAOA;AAAC,GAAE,cAAcA,GAAEC,GAAE;AAAC,MAAIZ,IAAEW;AAAE,UAAOC,GAAC;AAAA,IAAE,KAAK;AAAQ,MAAAZ,IAASW,MAAP;AAAS;AAAA,IAAM,KAAK;AAAO,MAAAX,IAASW,MAAP,OAAS,OAAK,OAAOA,CAAC;AAAE;AAAA,IAAM,KAAK;AAAA,IAAO,KAAK;AAAM,UAAG;AAAC,QAAAX,IAAE,KAAK,MAAMW,CAAC;AAAA,MAAC,QAAS;AAAC,QAAAX,IAAE;AAAA,MAAI;AAAA,EAAC;AAAC,SAAOA;AAAC,EAAC,GAAEc,IAAE,CAACH,GAAEC,MAAI,CAACZ,EAAEW,GAAEC,CAAC,GAAEG,IAAE,EAAC,WAAU,IAAG,MAAK,QAAO,WAAUF,GAAE,SAAQ,IAAG,YAAW,IAAG,YAAWC,EAAC;AAAE,OAAO,aAAP,OAAO,WAAW,uBAAO,UAAU,IAAER,EAAE,wBAAFA,EAAE,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AAC,oBAAmB;AAAC,WAAO,KAAK;AAAA,EAAI;AAAA,EAAC,aAAa,GAAE;AAAC,WAAM;AAAA,EAAE;AAAA,EAAC,OAAO,GAAE;AAAC,SAAK,SAAL,KAAK,OAAO,KAAK,KAAK,QAAQ,CAAAA,MAAG,KAAK,KAAKA,GAAE,KAAKA,CAAC,CAAC,CAAC,IAAE,KAAK,KAAI;AAAA,EAAE;AAAA,EAAC,QAAQ,GAAE;AAAA,EAAC;AAAA,EAAC,aAAa,GAAE;AAAA,EAAC;AAAC;AAACK,EAAE,gBAAc,CAAA,GAAGA,EAAE,oBAAkB,EAAC,MAAK,OAAM,GAAEA,EAAEN,EAAE,mBAAmB,CAAC,IAAE,oBAAI,OAAIM,EAAEN,EAAE,WAAW,CAAC,IAAE,oBAAI,OAAID,IAAI,EAAC,iBAAgBO,EAAC,CAAC,IAAGV,EAAE,4BAAFA,EAAE,0BAA0B,CAAA,IAAI,KAAK,OAAO;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lit-reactive-element-state.js","sources":["../../../node_modules/@lit/reactive-element/decorators/state.js"],"sourcesContent":["import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n"],"names":["r","t"],"mappings":";AAKG,SAASA,EAAEA,GAAE;AAAC,SAAOC,EAAE,EAAC,GAAGD,GAAE,OAAM,IAAG,WAAU,GAAE,CAAC;AAAC;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oddsmith/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Brandable casino leaderboard web component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"casino",
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
"homepage": "https://oddsmith.io",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"sideEffects": [
|
|
18
|
-
"./dist/components/os-leaderboard-casino
|
|
18
|
+
"./dist/components/os-leaderboard-casino/**",
|
|
19
|
+
"./dist/shared/**",
|
|
20
|
+
"./src/components/os-leaderboard-casino/**"
|
|
19
21
|
],
|
|
20
22
|
"files": [
|
|
21
23
|
"dist",
|
|
@@ -38,6 +40,7 @@
|
|
|
38
40
|
"playground:build": "vite build --config vite.playground.config.ts",
|
|
39
41
|
"clean": "rm -rf node_modules package-lock.json",
|
|
40
42
|
"prepublishOnly": "npm run build",
|
|
43
|
+
"publish": "npm publish --access public",
|
|
41
44
|
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
|
|
42
45
|
"lint:eslint": "eslint 'src/**/*.ts'",
|
|
43
46
|
"lint:lit-analyzer": "lit-analyzer",
|