proto-table-wc 0.0.480 → 0.0.482

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ const globalScripts = () => {};
4
+
5
+ exports.globalScripts = globalScripts;
@@ -3,9 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7e385ad7.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
6
7
 
7
- const defineCustomElements = (win, options) => {
8
+ const defineCustomElements = async (win, options) => {
8
9
  if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
9
11
  return index.bootstrapLazy([["demo-table_2.cjs",[[1,"demo-table"],[0,"proto-table",{"data":[16],"details":[8],"fields":[16],"expanded":[32],"sort":[32],"clicks":[32]}]]]], options);
10
12
  };
11
13
 
@@ -3,9 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7e385ad7.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
6
7
 
7
8
  /*
8
- Stencil Client Patch Browser v4.12.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.12.2 | MIT Licensed | https://stenciljs.com
9
10
  */
10
11
  const patchBrowser = () => {
11
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-table-wc.cjs.js', document.baseURI).href));
@@ -16,7 +17,8 @@ const patchBrowser = () => {
16
17
  return index.promiseResolve(opts);
17
18
  };
18
19
 
19
- patchBrowser().then(options => {
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
20
22
  return index.bootstrapLazy([["demo-table_2.cjs",[[1,"demo-table"],[0,"proto-table",{"data":[16],"details":[8],"fields":[16],"expanded":[32],"sort":[32],"clicks":[32]}]]]], options);
21
23
  });
22
24
 
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.12.1",
8
+ "version": "4.12.2",
9
9
  "typescriptVersion": "5.3.3"
10
10
  },
11
11
  "collections": [],
@@ -0,0 +1,3 @@
1
+ const globalScripts = () => {};
2
+
3
+ export { globalScripts as g };
@@ -1,8 +1,10 @@
1
1
  import { b as bootstrapLazy } from './index-3c4befcf.js';
2
2
  export { s as setNonce } from './index-3c4befcf.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
3
4
 
4
- const defineCustomElements = (win, options) => {
5
+ const defineCustomElements = async (win, options) => {
5
6
  if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
6
8
  return bootstrapLazy([["demo-table_2",[[1,"demo-table"],[0,"proto-table",{"data":[16],"details":[8],"fields":[16],"expanded":[32],"sort":[32],"clicks":[32]}]]]], options);
7
9
  };
8
10
 
@@ -1,8 +1,9 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-3c4befcf.js';
2
2
  export { s as setNonce } from './index-3c4befcf.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
3
4
 
4
5
  /*
5
- Stencil Client Patch Browser v4.12.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.12.2 | MIT Licensed | https://stenciljs.com
6
7
  */
7
8
  const patchBrowser = () => {
8
9
  const importMeta = import.meta.url;
@@ -13,6 +14,7 @@ const patchBrowser = () => {
13
14
  return promiseResolve(opts);
14
15
  };
15
16
 
16
- patchBrowser().then(options => {
17
+ patchBrowser().then(async (options) => {
18
+ await globalScripts();
17
19
  return bootstrapLazy([["demo-table_2",[[1,"demo-table"],[0,"proto-table",{"data":[16],"details":[8],"fields":[16],"expanded":[32],"sort":[32],"clicks":[32]}]]]], options);
18
20
  });
@@ -0,0 +1 @@
1
+ const o=()=>{};export{o as g}
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-f419fd84.js";export{s as setNonce}from"./p-f419fd84.js";(()=>{const t=import.meta.url,s={};return""!==t&&(s.resourcesUrl=new URL(".",t).href),e(s)})().then((e=>t([["p-a740337c",[[1,"demo-table"],[0,"proto-table",{data:[16],details:[8],fields:[16],expanded:[32],sort:[32],clicks:[32]}]]]],e)));
1
+ import{p as a,b as t}from"./p-f419fd84.js";export{s as setNonce}from"./p-f419fd84.js";import{g as e}from"./p-e1255160.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),a(t)})().then((async a=>(await e(),t([["p-a740337c",[[1,"demo-table"],[0,"proto-table",{data:[16],details:[8],fields:[16],expanded:[32],sort:[32],clicks:[32]}]]]],a))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-table-wc",
3
- "version": "0.0.480",
3
+ "version": "0.0.482",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "format": "prettier --write src"
26
26
  },
27
27
  "dependencies": {
28
- "@stencil/core": "4.12.1"
28
+ "@stencil/core": "4.12.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "cspell": "8.3.2",