ontotext-yasgui-web-component 0.0.1

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 (64) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +72 -0
  3. package/dist/cjs/index-c487dc05.js +1152 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +21 -0
  6. package/dist/cjs/ontotext-yasgui-web-component.cjs.js +19 -0
  7. package/dist/cjs/ontotext-yasgui.cjs.entry.js +391 -0
  8. package/dist/collection/collection-manifest.json +12 -0
  9. package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.css +2361 -0
  10. package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.js +152 -0
  11. package/dist/collection/components/yasgui/yasgui-script.js +4 -0
  12. package/dist/collection/index.js +1 -0
  13. package/dist/collection/js/main.js +8 -0
  14. package/dist/collection/models/ontotext-yasgui.js +41 -0
  15. package/dist/collection/models/yasgui-configuration.js +11 -0
  16. package/dist/collection/pages/default-view/main.js +8 -0
  17. package/dist/collection/pages/view-configurations/main.js +31 -0
  18. package/dist/collection/pages/view-modes/main.js +18 -0
  19. package/dist/collection/services/yasgui/configuration/configurator.js +1 -0
  20. package/dist/collection/services/yasgui/configuration/yasgui-configuration-builder.js +28 -0
  21. package/dist/collection/services/yasgui/configuration/yasgui-configurator.js +45 -0
  22. package/dist/collection/services/yasgui/configuration/yasqe-configurator.js +17 -0
  23. package/dist/collection/services/yasgui/configuration/yasr-configurator.js +12 -0
  24. package/dist/collection/services/yasgui/yasgui-builder.js +26 -0
  25. package/dist/components/index.d.ts +22 -0
  26. package/dist/components/index.js +2 -0
  27. package/dist/components/ontotext-yasgui.d.ts +11 -0
  28. package/dist/components/ontotext-yasgui.js +407 -0
  29. package/dist/esm/index-5e3f8118.js +1124 -0
  30. package/dist/esm/index.js +1 -0
  31. package/dist/esm/loader.js +17 -0
  32. package/dist/esm/ontotext-yasgui-web-component.js +17 -0
  33. package/dist/esm/ontotext-yasgui.entry.js +387 -0
  34. package/dist/esm/polyfills/core-js.js +11 -0
  35. package/dist/esm/polyfills/css-shim.js +1 -0
  36. package/dist/esm/polyfills/dom.js +79 -0
  37. package/dist/esm/polyfills/es5-html-element.js +1 -0
  38. package/dist/esm/polyfills/index.js +34 -0
  39. package/dist/esm/polyfills/system.js +6 -0
  40. package/dist/index.cjs.js +1 -0
  41. package/dist/index.js +1 -0
  42. package/dist/ontotext-yasgui-web-component/index.esm.js +0 -0
  43. package/dist/ontotext-yasgui-web-component/ontotext-yasgui-web-component.esm.js +1 -0
  44. package/dist/ontotext-yasgui-web-component/p-498af5d3.js +2 -0
  45. package/dist/ontotext-yasgui-web-component/p-88daf135.entry.js +2 -0
  46. package/dist/types/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.d.ts +21 -0
  47. package/dist/types/components.d.ts +46 -0
  48. package/dist/types/index.d.ts +1 -0
  49. package/dist/types/models/ontotext-yasgui.d.ts +17 -0
  50. package/dist/types/models/yasgui-configuration.d.ts +40 -0
  51. package/dist/types/services/yasgui/configuration/configurator.d.ts +15 -0
  52. package/dist/types/services/yasgui/configuration/yasgui-configuration-builder.d.ts +18 -0
  53. package/dist/types/services/yasgui/configuration/yasgui-configurator.d.ts +14 -0
  54. package/dist/types/services/yasgui/configuration/yasqe-configurator.d.ts +8 -0
  55. package/dist/types/services/yasgui/configuration/yasr-configurator.d.ts +8 -0
  56. package/dist/types/services/yasgui/yasgui-builder.d.ts +20 -0
  57. package/dist/types/stencil-public-runtime.d.ts +1581 -0
  58. package/loader/cdn.js +3 -0
  59. package/loader/index.cjs.js +3 -0
  60. package/loader/index.d.ts +12 -0
  61. package/loader/index.es2017.js +3 -0
  62. package/loader/index.js +4 -0
  63. package/loader/package.json +11 -0
  64. package/package.json +41 -0
package/loader/cdn.js ADDED
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -0,0 +1,12 @@
1
+ export * from '../dist/types/components';
2
+ export interface CustomElementsDefineOptions {
3
+ exclude?: string[];
4
+ resourcesUrl?: string;
5
+ syncQueue?: boolean;
6
+ jmp?: (c: Function) => any;
7
+ raf?: (c: FrameRequestCallback) => number;
8
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
+ }
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
+ export declare function applyPolyfills(): Promise<void>;
@@ -0,0 +1,3 @@
1
+
2
+ export * from '../dist/esm/polyfills/index.js';
3
+ export * from '../dist/esm/loader.js';
@@ -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';
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "ontotext-yasgui-web-component-loader",
3
+ "private": true,
4
+ "typings": "./index.d.ts",
5
+ "module": "./index.js",
6
+ "main": "./index.cjs.js",
7
+ "jsnext:main": "./index.es2017.js",
8
+ "es2015": "./index.es2017.js",
9
+ "es2017": "./index.es2017.js",
10
+ "unpkg": "./cdn.js"
11
+ }
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "ontotext-yasgui-web-component",
3
+ "version": "0.0.1",
4
+ "description": "Ontotext customized yasgui",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.js",
7
+ "es2015": "dist/esm/index.mjs",
8
+ "es2017": "dist/esm/index.mjs",
9
+ "types": "dist/types/index.d.ts",
10
+ "collection": "dist/collection/collection-manifest.json",
11
+ "collection:main": "dist/collection/index.js",
12
+ "unpkg": "dist/ontotext-yasgui-web-component/ontotext-yasgui-web-component.esm.js",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/Ontotext-AD/ontotext-yasgui.git"
16
+ },
17
+ "files": [
18
+ "dist/",
19
+ "loader/"
20
+ ],
21
+ "scripts": {
22
+ "build": "stencil build --docs",
23
+ "start": "stencil build --dev --watch --serve",
24
+ "test": "stencil test --spec --e2e",
25
+ "test.watch": "stencil test --spec --e2e --watchAll",
26
+ "generate": "stencil generate",
27
+ "lint": "eslint 'src/**'",
28
+ "lint:fix": "eslint --fix 'src/**'"
29
+ },
30
+ "dependencies": {
31
+ "@stencil/core": "^2.20.0"
32
+ },
33
+ "devDependencies": {
34
+ "@stencil/sass": "^2.0.0",
35
+ "@types/jest": "^27.0.3",
36
+ "jest": "^27.4.5",
37
+ "jest-cli": "^27.4.5",
38
+ "puppeteer": "^10.0.0"
39
+ },
40
+ "license": "MIT"
41
+ }