@everymatrix/lottery-game-details 1.44.0 → 1.45.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.
Files changed (53) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/helper-accordion_4.cjs.entry.js +203 -267
  3. package/dist/cjs/index-376df72c.js +1209 -0
  4. package/dist/cjs/loader.cjs.js +6 -12
  5. package/dist/cjs/lottery-game-details.cjs.js +16 -10
  6. package/dist/collection/collection-manifest.json +3 -3
  7. package/dist/collection/components/lottery-game-details/index.js +1 -0
  8. package/dist/collection/components/lottery-game-details/lottery-game-details.js +89 -90
  9. package/dist/collection/utils/utils.js +1 -1
  10. package/dist/esm/app-globals-0f993ce5.js +3 -0
  11. package/dist/esm/helper-accordion_4.entry.js +203 -267
  12. package/dist/esm/index-fa1277ba.js +1181 -0
  13. package/dist/esm/loader.js +6 -12
  14. package/dist/esm/lottery-game-details.js +13 -10
  15. package/dist/lottery-game-details/lottery-game-details.esm.js +1 -1
  16. package/dist/lottery-game-details/p-19a8bd25.entry.js +1 -0
  17. package/dist/lottery-game-details/p-21fd3dd6.js +2 -0
  18. package/dist/lottery-game-details/p-e1255160.js +1 -0
  19. package/dist/stencil.config.dev.js +17 -0
  20. package/dist/stencil.config.js +14 -19
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.d.ts +2 -0
  22. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.dev.d.ts +2 -0
  23. package/dist/types/components/lottery-game-details/index.d.ts +1 -0
  24. package/dist/types/components/lottery-game-details/lottery-game-details.d.ts +16 -16
  25. package/dist/types/stencil-public-runtime.d.ts +142 -33
  26. package/loader/cdn.js +1 -3
  27. package/loader/index.cjs.js +1 -3
  28. package/loader/index.d.ts +13 -1
  29. package/loader/index.es2017.js +1 -3
  30. package/loader/index.js +1 -3
  31. package/loader/package.json +1 -0
  32. package/package.json +10 -3
  33. package/dist/cjs/index-0355373c.js +0 -1196
  34. package/dist/components/helper-accordion.js +0 -6
  35. package/dist/components/helper-accordion2.js +0 -158
  36. package/dist/components/helper-tab.js +0 -6
  37. package/dist/components/helper-tab2.js +0 -86
  38. package/dist/components/helper-tabs.js +0 -6
  39. package/dist/components/helper-tabs2.js +0 -102
  40. package/dist/components/index.d.ts +0 -26
  41. package/dist/components/index.js +0 -1
  42. package/dist/components/lottery-game-details.d.ts +0 -11
  43. package/dist/components/lottery-game-details.js +0 -87
  44. package/dist/esm/index-627fc49c.js +0 -1169
  45. package/dist/esm/polyfills/core-js.js +0 -11
  46. package/dist/esm/polyfills/css-shim.js +0 -1
  47. package/dist/esm/polyfills/dom.js +0 -79
  48. package/dist/esm/polyfills/es5-html-element.js +0 -1
  49. package/dist/esm/polyfills/index.js +0 -34
  50. package/dist/esm/polyfills/system.js +0 -6
  51. package/dist/lottery-game-details/p-ca6b7fee.js +0 -1
  52. package/dist/lottery-game-details/p-ce1975ba.entry.js +0 -1
  53. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/lottery-game-details/.stencil/packages/lottery-game-details/stencil.config.d.ts +0 -2
@@ -2,20 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0355373c.js');
5
+ const index = require('./index-376df72c.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
6
7
 
7
- /*
8
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
9
- */
10
- const patchEsm = () => {
11
- return index.promiseResolve();
12
- };
13
-
14
- const defineCustomElements = (win, options) => {
15
- if (typeof window === 'undefined') return Promise.resolve();
16
- return patchEsm().then(() => {
8
+ const defineCustomElements = async (win, options) => {
9
+ if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
17
11
  return index.bootstrapLazy([["helper-accordion_4.cjs",[[1,"lottery-game-details",{"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-tabs",{"disabled":[516],"label":[513],"selected":[516],"cmsEndpoint":[513,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16],"clientStyling":[513,"client-styling"],"clientStylingurl":[513,"client-stylingurl"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-accordion",{"ticketHistoryFlag":[516,"ticket-history-flag"],"headerTitle":[513,"header-title"],"headerSubtitle":[513,"header-subtitle"],"description":[513],"footer":[516],"deleteTab":[516,"delete-tab"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"showContent":[32],"limitStylingAppends":[32]}],[1,"helper-tab",{"selectedIndex":[514,"selected-index"],"cmsEndpoint":[513,"cms-endpoint"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"tabContent":[32],"limitStylingAppends":[32]}]]]], options);
18
- });
19
12
  };
20
13
 
14
+ exports.setNonce = index.setNonce;
21
15
  exports.defineCustomElements = defineCustomElements;
@@ -1,19 +1,25 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-0355373c.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-376df72c.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
4
7
 
5
8
  /*
6
- Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
7
10
  */
8
- const patchBrowser = () => {
9
- const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lottery-game-details.cjs.js', document.baseURI).href));
10
- const opts = {};
11
- if (importMeta !== '') {
12
- opts.resourcesUrl = new URL('.', importMeta).href;
13
- }
14
- return index.promiseResolve(opts);
11
+ var patchBrowser = () => {
12
+ const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lottery-game-details.cjs.js', document.baseURI).href));
13
+ const opts = {};
14
+ if (importMeta !== "") {
15
+ opts.resourcesUrl = new URL(".", importMeta).href;
16
+ }
17
+ return index.promiseResolve(opts);
15
18
  };
16
19
 
17
- patchBrowser().then(options => {
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
18
22
  return index.bootstrapLazy([["helper-accordion_4.cjs",[[1,"lottery-game-details",{"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-tabs",{"disabled":[516],"label":[513],"selected":[516],"cmsEndpoint":[513,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16],"clientStyling":[513,"client-styling"],"clientStylingurl":[513,"client-stylingurl"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-accordion",{"ticketHistoryFlag":[516,"ticket-history-flag"],"headerTitle":[513,"header-title"],"headerSubtitle":[513,"header-subtitle"],"description":[513],"footer":[516],"deleteTab":[516,"delete-tab"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"showContent":[32],"limitStylingAppends":[32]}],[1,"helper-tab",{"selectedIndex":[514,"selected-index"],"cmsEndpoint":[513,"cms-endpoint"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"tabContent":[32],"limitStylingAppends":[32]}]]]], options);
19
23
  });
24
+
25
+ exports.setNonce = index.setNonce;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "entries": [
3
- "./components/lottery-game-details/lottery-game-details.js"
3
+ "components/lottery-game-details/lottery-game-details.js"
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "2.15.2",
8
- "typescriptVersion": "4.5.4"
7
+ "version": "4.20.0",
8
+ "typescriptVersion": "5.5.3"
9
9
  },
10
10
  "collections": [
11
11
  {
@@ -0,0 +1 @@
1
+ export { LotteryGameDetails } from './lottery-game-details';
@@ -1,94 +1,93 @@
1
- import { Component, h, Prop, State, } from '@stencil/core';
2
- import '@everymatrix/helper-accordion';
3
- import '@everymatrix/helper-tabs';
1
+ import { h, } from "@stencil/core";
2
+ import "../../../../../helper-accordion/dist/types/index";
3
+ import "../../../../../helper-tabs/dist/types/index";
4
4
  export class LotteryGameDetails {
5
- constructor() {
6
- /**
7
- * Client custom styling via string
8
- */
9
- this.clientStyling = '';
10
- /**
11
- * Client custom styling via url content
12
- */
13
- this.clientStylingUrlContent = '';
14
- this.limitStylingAppends = false;
15
- this.setClientStyling = () => {
16
- let sheet = document.createElement('style');
17
- sheet.innerHTML = this.clientStyling;
18
- this.stylingContainer.prepend(sheet);
19
- };
20
- this.setClientStylingURL = () => {
21
- let cssFile = document.createElement('style');
22
- setTimeout(() => {
23
- cssFile.innerHTML = this.clientStylingUrlContent;
24
- this.stylingContainer.prepend(cssFile);
25
- }, 1);
26
- };
27
- }
28
- componentDidRender() {
29
- // start custom styling area
30
- if (!this.limitStylingAppends && this.stylingContainer) {
31
- if (this.clientStyling)
32
- this.setClientStyling();
33
- if (this.clientStylingUrlContent)
34
- this.setClientStylingURL();
35
- this.limitStylingAppends = true;
5
+ constructor() {
6
+ this.setClientStyling = () => {
7
+ let sheet = document.createElement('style');
8
+ sheet.innerHTML = this.clientStyling;
9
+ this.stylingContainer.prepend(sheet);
10
+ };
11
+ this.setClientStylingURL = () => {
12
+ let cssFile = document.createElement('style');
13
+ setTimeout(() => {
14
+ cssFile.innerHTML = this.clientStylingUrlContent;
15
+ this.stylingContainer.prepend(cssFile);
16
+ }, 1);
17
+ };
18
+ this.clientStyling = '';
19
+ this.clientStylingUrlContent = '';
20
+ this.limitStylingAppends = false;
36
21
  }
37
- // end custom styling area
38
- }
39
- render() {
40
- return (h("div", { class: "GamePageDetailsContainer", ref: el => this.stylingContainer = el },
41
- h("helper-accordion", { "header-title": "Game Details", collapsed: false, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent },
42
- h("div", { class: "AccordionContainer", slot: "accordionContent" },
43
- h("helper-tabs", { "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })))));
44
- }
45
- static get is() { return "lottery-game-details"; }
46
- static get encapsulation() { return "shadow"; }
47
- static get originalStyleUrls() { return {
48
- "$": ["lottery-game-details.scss"]
49
- }; }
50
- static get styleUrls() { return {
51
- "$": ["lottery-game-details.css"]
52
- }; }
53
- static get properties() { return {
54
- "clientStyling": {
55
- "type": "string",
56
- "mutable": false,
57
- "complexType": {
58
- "original": "string",
59
- "resolved": "string",
60
- "references": {}
61
- },
62
- "required": false,
63
- "optional": false,
64
- "docs": {
65
- "tags": [],
66
- "text": "Client custom styling via string"
67
- },
68
- "attribute": "client-styling",
69
- "reflect": true,
70
- "defaultValue": "''"
71
- },
72
- "clientStylingUrlContent": {
73
- "type": "string",
74
- "mutable": false,
75
- "complexType": {
76
- "original": "string",
77
- "resolved": "string",
78
- "references": {}
79
- },
80
- "required": false,
81
- "optional": false,
82
- "docs": {
83
- "tags": [],
84
- "text": "Client custom styling via url content"
85
- },
86
- "attribute": "client-styling-url-content",
87
- "reflect": true,
88
- "defaultValue": "''"
22
+ componentDidRender() {
23
+ // start custom styling area
24
+ if (!this.limitStylingAppends && this.stylingContainer) {
25
+ if (this.clientStyling)
26
+ this.setClientStyling();
27
+ if (this.clientStylingUrlContent)
28
+ this.setClientStylingURL();
29
+ this.limitStylingAppends = true;
30
+ }
31
+ // end custom styling area
32
+ }
33
+ render() {
34
+ return (h("div", { key: 'a972ed1a25317b0cdeb82e3b007ec79e30bbb871', class: "GamePageDetailsContainer", ref: el => this.stylingContainer = el }, h("helper-accordion", { key: '2c6f8d634241c412103cdae78909972c884b0515', "header-title": "Game Details", collapsed: false, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }, h("div", { key: 'f5f80e173d935cb0dabb6a7ef45e54a1312b5dc8', class: "AccordionContainer", slot: "accordionContent" }, h("helper-tabs", { key: 'a91396e0a4aa1235cc618dfe336ae8b603bc2a6c', "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })))));
35
+ }
36
+ static get is() { return "lottery-game-details"; }
37
+ static get encapsulation() { return "shadow"; }
38
+ static get originalStyleUrls() {
39
+ return {
40
+ "$": ["lottery-game-details.scss"]
41
+ };
42
+ }
43
+ static get styleUrls() {
44
+ return {
45
+ "$": ["lottery-game-details.css"]
46
+ };
47
+ }
48
+ static get properties() {
49
+ return {
50
+ "clientStyling": {
51
+ "type": "string",
52
+ "mutable": false,
53
+ "complexType": {
54
+ "original": "string",
55
+ "resolved": "string",
56
+ "references": {}
57
+ },
58
+ "required": false,
59
+ "optional": false,
60
+ "docs": {
61
+ "tags": [],
62
+ "text": "Client custom styling via string"
63
+ },
64
+ "attribute": "client-styling",
65
+ "reflect": true,
66
+ "defaultValue": "''"
67
+ },
68
+ "clientStylingUrlContent": {
69
+ "type": "string",
70
+ "mutable": false,
71
+ "complexType": {
72
+ "original": "string",
73
+ "resolved": "string",
74
+ "references": {}
75
+ },
76
+ "required": false,
77
+ "optional": false,
78
+ "docs": {
79
+ "tags": [],
80
+ "text": "Client custom styling via url content"
81
+ },
82
+ "attribute": "client-styling-url-content",
83
+ "reflect": true,
84
+ "defaultValue": "''"
85
+ }
86
+ };
87
+ }
88
+ static get states() {
89
+ return {
90
+ "limitStylingAppends": {}
91
+ };
89
92
  }
90
- }; }
91
- static get states() { return {
92
- "limitStylingAppends": {}
93
- }; }
94
93
  }
@@ -1,3 +1,3 @@
1
1
  export function format(first, middle, last) {
2
- return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
2
+ return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
3
3
  }
@@ -0,0 +1,3 @@
1
+ const globalScripts = () => {};
2
+
3
+ export { globalScripts as g };