@everymatrix/casino-wagering-bonuses-controller 1.44.0 → 1.45.5

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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoWageringBonusProgress-DRtlhC-y.cjs");function g(n){t.append_styles(n,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function h(n){let i;return{c(){i=t.element("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){t.insert(l,i,r),n[3](i)},p:t.noop,i:t.noop,o:t.noop,d(l){l&&t.detach(i),n[3](null)}}}function m(n,i,l){let{clientstyling:r=""}=i,{clientstylingurl:d=""}=i,s;const u=()=>{let e=document.createElement("style");e.innerHTML=r,s.appendChild(e)},p=()=>{let e=new URL(d),a=document.createElement("style");fetch(e.href).then(c=>c.text()).then(c=>{a.innerHTML=c,setTimeout(()=>{s.appendChild(a)},1),setTimeout(()=>{},500)})};function f(e){t.binding_callbacks[e?"unshift":"push"](()=>{s=e,l(0,s)})}return n.$$set=e=>{"clientstyling"in e&&l(1,r=e.clientstyling),"clientstylingurl"in e&&l(2,d=e.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&3&&r&&s&&u(),n.$$.dirty&5&&d&&s&&p()},[s,r,d,f]}class o extends t.SvelteComponent{constructor(i){super(),t.init(this,i,m,h,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},g)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
@@ -0,0 +1,75 @@
1
+ import { S as m, i as h, f as o, c as g, s as y, a as v, g as x, j as _, n as r, m as b, G as C } from "./CasinoWageringBonusProgress-BPcqqTQq.js";
2
+ function L(e) {
3
+ v(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
+ }
5
+ function k(e) {
6
+ let i;
7
+ return {
8
+ c() {
9
+ i = x("div"), i.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
10
+ },
11
+ m(n, l) {
12
+ _(n, i, l), e[3](i);
13
+ },
14
+ p: r,
15
+ i: r,
16
+ o: r,
17
+ d(n) {
18
+ n && b(i), e[3](null);
19
+ }
20
+ };
21
+ }
22
+ function S(e, i, n) {
23
+ let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, s;
24
+ const u = () => {
25
+ let t = document.createElement("style");
26
+ t.innerHTML = l, s.appendChild(t);
27
+ }, p = () => {
28
+ let t = new URL(a), c = document.createElement("style");
29
+ fetch(t.href).then((d) => d.text()).then((d) => {
30
+ c.innerHTML = d, setTimeout(
31
+ () => {
32
+ s.appendChild(c);
33
+ },
34
+ 1
35
+ ), setTimeout(
36
+ () => {
37
+ },
38
+ 500
39
+ );
40
+ });
41
+ };
42
+ function f(t) {
43
+ C[t ? "unshift" : "push"](() => {
44
+ s = t, n(0, s);
45
+ });
46
+ }
47
+ return e.$$set = (t) => {
48
+ "clientstyling" in t && n(1, l = t.clientstyling), "clientstylingurl" in t && n(2, a = t.clientstylingurl);
49
+ }, e.$$.update = () => {
50
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
51
+ 3 && l && s && u(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
52
+ 5 && a && s && p();
53
+ }, [s, l, a, f];
54
+ }
55
+ class T extends m {
56
+ constructor(i) {
57
+ super(), h(this, i, S, k, y, { clientstyling: 1, clientstylingurl: 2 }, L);
58
+ }
59
+ get clientstyling() {
60
+ return this.$$.ctx[1];
61
+ }
62
+ set clientstyling(i) {
63
+ this.$$set({ clientstyling: i }), o();
64
+ }
65
+ get clientstylingurl() {
66
+ return this.$$.ctx[2];
67
+ }
68
+ set clientstylingurl(i) {
69
+ this.$$set({ clientstylingurl: i }), o();
70
+ }
71
+ }
72
+ g(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
73
+ export {
74
+ T as default
75
+ };
@@ -0,0 +1 @@
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWageringBonusesController-BsdDXlxR.cjs")).then(({default:t})=>{!customElements.get("casino-wagering-bonuses-controller")&&customElements.define("casino-wagering-bonuses-controller",t.element)})}
@@ -0,0 +1,16 @@
1
+ if (typeof window != "undefined") {
2
+ let n = function(t) {
3
+ return function(...s) {
4
+ try {
5
+ return t.apply(this, s);
6
+ } catch (e) {
7
+ if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
8
+ return !1;
9
+ throw e;
10
+ }
11
+ };
12
+ };
13
+ customElements.define = n(customElements.define), import("../components/CasinoWageringBonusesController-CxCikqsl.js").then(({ default: t }) => {
14
+ !customElements.get("casino-wagering-bonuses-controller") && customElements.define("casino-wagering-bonuses-controller", t.element);
15
+ });
16
+ }
package/package.json CHANGED
@@ -1,40 +1,21 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-wagering-bonuses-controller",
3
- "version": "1.44.0",
4
- "main": "dist/casino-wagering-bonuses-controller.js",
5
- "svelte": "src/index.ts",
6
- "scripts": {
7
- "start": "sirv public",
8
- "build": "cross-env NODE_ENV=production rollup -c",
9
- "build:watch": "cross-env NODE_ENV=production rollup -c -w",
10
- "dev": "cross-env NODE_ENV=\"development\" rollup -c -w",
11
- "validate": "svelte-check",
12
- "test": "echo"
13
- },
14
- "devDependencies": {
15
- "@rollup/plugin-babel": "^5.3.0",
16
- "@rollup/plugin-commonjs": "^16.0.0",
17
- "@rollup/plugin-node-resolve": "^10.0.0",
18
- "@rollup/plugin-typescript": "^6.0.0",
19
- "@tsconfig/svelte": "^1.0.0",
20
- "rollup": "^2.3.4",
21
- "rollup-plugin-dev-server": "^0.4.3",
22
- "rollup-plugin-livereload": "^2.0.0",
23
- "rollup-plugin-svelte": "^7.0.0",
24
- "rollup-plugin-terser": "^7.0.0",
25
- "rollup-plugin-uglify": "^6.0.4",
26
- "svelte-check": "^1.0.0",
27
- "svelte-preprocess": "^5.0.0",
28
- "tslib": "^2.0.0",
29
- "typescript": "^3.9.3"
30
- },
31
- "dependencies": {
32
- "cross-env": "^7.0.3",
33
- "sirv-cli": "^1.0.0",
34
- "svelte": "^3.0.0"
3
+ "version": "1.45.5",
4
+ "type": "module",
5
+ "main": "es2015/casino-wagering-bonuses-controller.cjs",
6
+ "module": "es2015/casino-wagering-bonuses-controller.js",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./es2015/casino-wagering-bonuses-controller.js",
10
+ "require": "./es2015/casino-wagering-bonuses-controller.cjs"
11
+ },
12
+ "./es2015/casino-wagering-bonuses-controller.cjs": "./es2015/casino-wagering-bonuses-controller.cjs"
35
13
  },
14
+ "files": [
15
+ "es2015/",
16
+ "components"
17
+ ],
36
18
  "publishConfig": {
37
19
  "access": "public"
38
- },
39
- "gitHead": "701410f2b76dfe1ee4038f799b1e8e340c85cdb5"
20
+ }
40
21
  }
package/CHANGELOG.md DELETED
@@ -1,8 +0,0 @@
1
-
2
- ## casino-wagering-bonuses-controller widget changelogs
3
-
4
- | Version | Release date | Impacted areas | Changes |
5
- | ------- | ------------ | ----------------------------- | --------------------------------------- |
6
- | 1.37.2 | Mon Aug 12 2024 | casino-wagering-bonuses-controller | feat(FEW-310)(casino-wagering-bonus,casino-wagering-bonus-slider-controller,casino-wagering-detail-controller,casino-wagering-bonuses-controller): support for client styling <br /> fix(FEW-304)(casino-wagering-bonus,casino-wagering-bonus-slider-controller,casino-wagering-bonuses-controller): adapt change of update api |
7
- | 1.31.0 | Wed May 22 2024 | casino-wagering-bonuses-controller | feat(FEW-310)(casino-wagering-bonus,casino-wagering-bonus-slider-controller,casino-wagering-detail-controller,casino-wagering-bonuses-controller): support for client styling |
8
- | 1.30.1 | Mon May 20 2024 | casino-wagering-bonuses-controller | fix(FEW-304)(casino-wagering-bonus,casino-wagering-bonus-slider-controller,casino-wagering-bonuses-controller): adapt change of update api |
package/README.md DELETED
@@ -1,30 +0,0 @@
1
- # @everymatrix/casino-wagering-bonuses-controller
2
- ---------
3
-
4
- ## First step
5
- ---------
6
- ```
7
- lerna bootstrap
8
- ```
9
-
10
- ## Run Widget
11
- ---------
12
- - starts server at port 5050
13
- - has livereload
14
-
15
- ```
16
- yarn run dev
17
- ```
18
-
19
- ## Build Widget
20
- ---------
21
- ```
22
- yarn run build
23
- ```
24
-
25
- ## Publishing widget
26
- ---------
27
- - Note add your user to the npm
28
- ```
29
- lerna publish
30
- ```