@xplortech/apollo-core 0.0.0
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 -0
- package/build/style.css +1129 -0
- package/dist/apollo-core/apollo-core.esm.js +1 -0
- package/dist/apollo-core/index.esm.js +0 -0
- package/dist/apollo-core/p-1c829417.js +1 -0
- package/dist/apollo-core/p-64ea0ce6.entry.js +1 -0
- package/dist/apollo-core/p-b76559ae.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +19 -0
- package/dist/cjs/index-3ceb30c2.js +980 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/xpl-pagination.cjs.entry.js +16 -0
- package/dist/cjs/xpl-table.cjs.entry.js +54 -0
- package/dist/collection/collection-manifest.json +13 -0
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +9 -0
- package/dist/collection/components/xpl-table/xpl-table.js +157 -0
- package/dist/custom-elements/index.d.ts +51 -0
- package/dist/custom-elements/index.js +78 -0
- package/dist/esm/apollo-core.js +17 -0
- package/dist/esm/index-52844266.js +953 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/xpl-pagination.entry.js +12 -0
- package/dist/esm/xpl-table.entry.js +50 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +13 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +10 -0
- package/dist/types/.stencil/xpl-pagination/xpl-pagination.d.ts +3 -0
- package/dist/types/.stencil/xpl-table/xpl-table.d.ts +16 -0
- package/dist/types/components.d.ts +61 -0
- package/dist/types/stencil-public-runtime.d.ts +1562 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +13 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +56 -0
package/loader/cdn.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
export * from '../dist/types/components';
|
|
3
|
+
export interface CustomElementsDefineOptions {
|
|
4
|
+
exclude?: string[];
|
|
5
|
+
resourcesUrl?: string;
|
|
6
|
+
syncQueue?: boolean;
|
|
7
|
+
jmp?: (c: Function) => any;
|
|
8
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
9
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
13
|
+
export declare function applyPolyfills(): Promise<void>;
|
package/loader/index.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
|
|
2
|
+
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
3
|
+
export * from '../dist/esm/polyfills/index.js';
|
|
4
|
+
export * from '../dist/esm/loader.js';
|
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xplortech/apollo-core",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"main": "dist/index.cjs.js",
|
|
5
|
+
"module": "dist/custom-elements/index.js",
|
|
6
|
+
"es2015": "dist/esm/index.mjs",
|
|
7
|
+
"es2017": "dist/esm/index.mjs",
|
|
8
|
+
"types": "dist/custom-elements/index.d.ts",
|
|
9
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
10
|
+
"collection:main": "dist/collection/index.js",
|
|
11
|
+
"unpkg": "dist/apollo-core/apollo-core.esm.js",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "NODE_ENV=production postcss src/style.css -o build/style.css && cp build/style.css .storybook",
|
|
14
|
+
"dev": "concurrently 'stencil build --dev --watch --serve' 'postcss src/style.css -o build/style.css -w' 'serve build -p 8432'",
|
|
15
|
+
"format": "prettier --write src",
|
|
16
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
17
|
+
"storybook": "start-storybook -p 6006",
|
|
18
|
+
"build-storybook": "build-storybook",
|
|
19
|
+
"heroku-postbuild": "npm run build && npm run build-storybook",
|
|
20
|
+
"stencil-build": "stencil build --docs",
|
|
21
|
+
"generate": "stencil generate"
|
|
22
|
+
},
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": "14.x"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"build",
|
|
28
|
+
"dist",
|
|
29
|
+
"loader"
|
|
30
|
+
],
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@babel/core": "^7.14.5",
|
|
33
|
+
"@stencil/core": "^2.6.0",
|
|
34
|
+
"@stencil/react-output-target": "0.0.9",
|
|
35
|
+
"@storybook/addon-a11y": "^6.3.0",
|
|
36
|
+
"@storybook/addon-actions": "^6.2.9",
|
|
37
|
+
"@storybook/addon-essentials": "^6.1.21",
|
|
38
|
+
"@storybook/addon-info": "^5.3.21",
|
|
39
|
+
"@storybook/addon-links": "^6.2.9",
|
|
40
|
+
"@storybook/html": "^6.1.21",
|
|
41
|
+
"@whitespace/storybook-addon-html": "^5.0.0",
|
|
42
|
+
"autoprefixer": "^10.2.6",
|
|
43
|
+
"babel-loader": "^8.2.2",
|
|
44
|
+
"concurrently": "5.3.0",
|
|
45
|
+
"dotenv": "^10.0.0",
|
|
46
|
+
"parcel": "^2.0.0-beta.2",
|
|
47
|
+
"postcss": "^8.3.4",
|
|
48
|
+
"postcss-cli": "^8.3.1",
|
|
49
|
+
"postcss-import": "^14.0.2",
|
|
50
|
+
"prettier": "^2.3.1",
|
|
51
|
+
"puppeteer": "^10.1.0",
|
|
52
|
+
"serve": "^12.0.0",
|
|
53
|
+
"storybook-addon-html-document": "^1.0.1",
|
|
54
|
+
"tailwindcss": "2.1.4"
|
|
55
|
+
}
|
|
56
|
+
}
|