graphwise-reactodia 0.0.1-TR1

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 (42) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/app-globals-CcJr5lkF.js +23 -0
  3. package/dist/cjs/graphwise-reactodia.cjs.entry.js +45058 -0
  4. package/dist/cjs/graphwise-reactodia.cjs.js +25 -0
  5. package/dist/cjs/index-CII9aUQC.js +1212 -0
  6. package/dist/cjs/index.cjs.js +2 -0
  7. package/dist/cjs/loader.cjs.js +13 -0
  8. package/dist/collection/collection-manifest.json +13 -0
  9. package/dist/collection/components/graphwise-reactodia/graphwise-reactodia.css +10 -0
  10. package/dist/collection/components/graphwise-reactodia/graphwise-reactodia.js +182 -0
  11. package/dist/collection/components/graphwise-reactodia/i18n/translations.js +4 -0
  12. package/dist/collection/components/graphwise-reactodia/models/reactodia-app-props.js +1 -0
  13. package/dist/collection/components/graphwise-reactodia/reactodia-app.js +109 -0
  14. package/dist/collection/index.js +1 -0
  15. package/dist/collection/polyfill/polyfill-node.js +17 -0
  16. package/dist/esm/app-globals-CalY52z6.js +21 -0
  17. package/dist/esm/graphwise-reactodia.entry.js +45056 -0
  18. package/dist/esm/graphwise-reactodia.js +21 -0
  19. package/dist/esm/index-Cypw7ydc.js +1204 -0
  20. package/dist/esm/index.js +1 -0
  21. package/dist/esm/loader.js +11 -0
  22. package/dist/graphwise-reactodia/graphwise-reactodia.esm.js +1 -0
  23. package/dist/graphwise-reactodia/index.esm.js +0 -0
  24. package/dist/graphwise-reactodia/p-CalY52z6.js +1 -0
  25. package/dist/graphwise-reactodia/p-Cypw7ydc.js +2 -0
  26. package/dist/graphwise-reactodia/p-bafd6be5.entry.js +1 -0
  27. package/dist/index.cjs.js +1 -0
  28. package/dist/index.js +1 -0
  29. package/dist/types/components/graphwise-reactodia/graphwise-reactodia.d.ts +44 -0
  30. package/dist/types/components/graphwise-reactodia/i18n/translations.d.ts +343 -0
  31. package/dist/types/components/graphwise-reactodia/models/reactodia-app-props.d.ts +34 -0
  32. package/dist/types/components/graphwise-reactodia/reactodia-app.d.ts +21 -0
  33. package/dist/types/components.d.ts +109 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/polyfill/polyfill-node.d.ts +9 -0
  36. package/dist/types/stencil-public-runtime.d.ts +1702 -0
  37. package/loader/cdn.js +1 -0
  38. package/loader/index.cjs.js +1 -0
  39. package/loader/index.d.ts +24 -0
  40. package/loader/index.es2017.js +1 -0
  41. package/loader/index.js +2 -0
  42. package/package.json +30 -0
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # graphwise-reactodia
2
+ Graphwise wrapper around Reactodia graph explorer
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Stencil global script, executed once before any component bundle loads.
5
+ *
6
+ * Reactodia's transitive dependencies (n3 / readable-stream) reference the Node.js
7
+ * `process` global at module-evaluation time (e.g. `util.debuglog` reads
8
+ * `process.env.NODE_DEBUG`). That global does not exist in the browser, so we provide
9
+ * a minimal shim here to keep those modules from crashing
10
+ */
11
+ function polyfillNode() {
12
+ const globalScope = globalThis;
13
+ if (!globalScope.process) {
14
+ globalScope.process = { env: { NODE_ENV: 'production' } };
15
+ }
16
+ else if (!globalScope.process.env) {
17
+ globalScope.process.env = { NODE_ENV: 'production' };
18
+ }
19
+ }
20
+
21
+ const globalScripts = polyfillNode;
22
+
23
+ exports.globalScripts = globalScripts;