@everymatrix/casino-challenges-list 1.77.8 → 1.77.9

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 (26) hide show
  1. package/dist/casino-challenges-list/casino-challenge-card_3.entry.js +1 -0
  2. package/dist/casino-challenges-list/casino-challenges-list-7271fe8a.js +1 -0
  3. package/dist/casino-challenges-list/casino-challenges-list.esm.js +1 -1
  4. package/dist/casino-challenges-list/index-d84ca385.js +2 -0
  5. package/dist/casino-challenges-list/index.esm.js +1 -1
  6. package/dist/cjs/casino-challenge-card_3.cjs.entry.js +627 -0
  7. package/dist/cjs/{casino-challenges-list-d6873cbb.js → casino-challenges-list-d537e984.js} +4 -2
  8. package/dist/cjs/casino-challenges-list.cjs.js +2 -2
  9. package/dist/cjs/{index-4ab9ba12.js → index-6a66c51c.js} +37 -5
  10. package/dist/cjs/index.cjs.js +2 -3
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/collection/collection-manifest.json +6 -0
  13. package/dist/collection/components/casino-challenges-list/casino-challenges-list.js +1 -1
  14. package/dist/esm/casino-challenge-card_3.entry.js +622 -0
  15. package/dist/esm/{casino-challenges-list-faf39d72.js → casino-challenges-list-7271fe8a.js} +2 -3
  16. package/dist/esm/casino-challenges-list.js +3 -3
  17. package/dist/esm/{index-ce64c965.js → index-d84ca385.js} +37 -5
  18. package/dist/esm/index.js +2 -3
  19. package/dist/esm/loader.js +3 -3
  20. package/dist/types/components/casino-challenges-list/casino-challenges-list.d.ts +1 -1
  21. package/package.json +1 -1
  22. package/dist/casino-challenges-list/casino-challenges-list-faf39d72.js +0 -1
  23. package/dist/casino-challenges-list/casino-challenges-list_2.entry.js +0 -1
  24. package/dist/casino-challenges-list/index-ce64c965.js +0 -2
  25. package/dist/cjs/casino-challenges-list_2.cjs.entry.js +0 -184
  26. package/dist/esm/casino-challenges-list_2.entry.js +0 -179
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ab9ba12.js');
5
+ const index = require('./index-6a66c51c.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["casino-challenges-list_2.cjs",[[1,"casino-challenges-list",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"challenges":[16],"loading":[516],"hasMore":[516,"has-more"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
22
+ return index.bootstrapLazy([["casino-challenge-card_3.cjs",[[1,"casino-challenges-list",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"challenges":[16],"loading":[516],"hasMore":[516,"has-more"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"casino-challenge-card",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"session":[513],"challenge":[16],"isUserAuthorized":[516,"is-user-authorized"],"tooltipIndex":[32],"timeLeft":[32],"error":[32],"hasError":[32],"actionLoading":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'casino-challenges-list';
24
- const BUILD = /* casino-challenges-list */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* casino-challenges-list */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -71,10 +71,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
71
71
  }
72
72
  switch(bundleId) {
73
73
 
74
- case 'casino-challenges-list_2.cjs':
74
+ case 'casino-challenge-card_3.cjs':
75
75
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
76
76
  /* webpackMode: "lazy" */
77
- './casino-challenges-list_2.cjs.entry.js')); }).then(processMod, consoleError);
77
+ './casino-challenge-card_3.cjs.entry.js')); }).then(processMod, consoleError);
78
78
  }
79
79
  }
80
80
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
@@ -405,6 +405,27 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
405
405
  const newClasses = parseClassList(newValue);
406
406
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
407
407
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
408
+ } else if (memberName === "style") {
409
+ {
410
+ for (const prop in oldValue) {
411
+ if (!newValue || newValue[prop] == null) {
412
+ if (prop.includes("-")) {
413
+ elm.style.removeProperty(prop);
414
+ } else {
415
+ elm.style[prop] = "";
416
+ }
417
+ }
418
+ }
419
+ }
420
+ for (const prop in newValue) {
421
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
422
+ if (prop.includes("-")) {
423
+ elm.style.setProperty(prop, newValue[prop]);
424
+ } else {
425
+ elm.style[prop] = newValue[prop];
426
+ }
427
+ }
428
+ }
408
429
  } else if (memberName === "key") ; else if (memberName === "ref") {
409
430
  if (newValue) {
410
431
  newValue(elm);
@@ -738,6 +759,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
738
759
  );
739
760
  }
740
761
  let maybePromise;
762
+ if (isInitialLoad) {
763
+ {
764
+ maybePromise = safeCall(instance, "componentWillLoad");
765
+ }
766
+ }
741
767
  endSchedule();
742
768
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
743
769
  };
@@ -1005,6 +1031,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1005
1031
  hostRef.$flags$ |= 128 /* isWatchReady */;
1006
1032
  }
1007
1033
  endNewInstance();
1034
+ fireConnectedCallback(hostRef.$lazyInstance$);
1008
1035
  } else {
1009
1036
  Cstr = elm.constructor;
1010
1037
  const cmpTag = elm.localName;
@@ -1032,6 +1059,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1032
1059
  }
1033
1060
  };
1034
1061
  var fireConnectedCallback = (instance) => {
1062
+ {
1063
+ safeCall(instance, "connectedCallback");
1064
+ }
1035
1065
  };
1036
1066
 
1037
1067
  // src/runtime/connected-callback.ts
@@ -1064,8 +1094,10 @@ var connectedCallback = (elm) => {
1064
1094
  initializeComponent(elm, hostRef, cmpMeta);
1065
1095
  }
1066
1096
  } else {
1067
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1068
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1097
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1098
+ fireConnectedCallback(hostRef.$lazyInstance$);
1099
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1100
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1069
1101
  }
1070
1102
  }
1071
1103
  endConnected();
@@ -2,9 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const casinoChallengesList = require('./casino-challenges-list-d6873cbb.js');
6
- require('./index-4ab9ba12.js');
7
- require('@everymatrix/casino-challenge-card');
5
+ const casinoChallengesList = require('./casino-challenges-list-d537e984.js');
6
+ require('./index-6a66c51c.js');
8
7
 
9
8
 
10
9
 
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ab9ba12.js');
5
+ const index = require('./index-6a66c51c.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["casino-challenges-list_2.cjs",[[1,"casino-challenges-list",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"challenges":[16],"loading":[516],"hasMore":[516,"has-more"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
11
+ return index.bootstrapLazy([["casino-challenge-card_3.cjs",[[1,"casino-challenges-list",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"challenges":[16],"loading":[516],"hasMore":[516,"has-more"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"casino-challenge-card",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"session":[513],"challenge":[16],"isUserAuthorized":[516,"is-user-authorized"],"tooltipIndex":[32],"timeLeft":[32],"error":[32],"hasError":[32],"actionLoading":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -8,6 +8,12 @@
8
8
  "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [
11
+ {
12
+ "name": "@everymatrix/casino-challenge-card",
13
+ "tags": [
14
+ "casino-challenge-card"
15
+ ]
16
+ },
11
17
  {
12
18
  "name": "@everymatrix/ui-skeleton",
13
19
  "tags": [
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
3
3
  import "../../../../../ui-skeleton/dist/types/index";
4
- import "@everymatrix/casino-challenge-card";
4
+ import "../../../../../casino-challenge-card/dist/types/index";
5
5
  const skeletons = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
6
6
  export class CasinoChallengeList {
7
7
  constructor() {