@pie-element/graphing 6.2.2-beta.4 → 6.2.2-beta.6

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.
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "@material-ui/core": "^3.9.2",
11
11
  "@pie-framework/pie-configure-events": "^1.3.0",
12
- "@pie-lib/pie-toolbox": "2.2.0",
12
+ "@pie-lib/pie-toolbox": "1.33.1",
13
13
  "classnames": "^2.2.5",
14
14
  "debug": "^4.1.1",
15
15
  "lodash": "^4.17.15",
@@ -0,0 +1,10 @@
1
+ {
2
+ "description": "auto generated package.json",
3
+ "license": "MIT",
4
+ "name": "configure-generated-pkg",
5
+ "private": true,
6
+ "version": "0.0.1",
7
+ "dependencies": {
8
+ "@pie-element/graphing-configure": "file:../node_modules/@pie-element/graphing/configure"
9
+ }
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "description": "auto generated package.json",
3
+ "license": "MIT",
4
+ "name": "controller-generated-pkg",
5
+ "private": true,
6
+ "version": "0.0.1",
7
+ "dependencies": {
8
+ "@pie-element/graphing-controller": "file:../node_modules/@pie-element/graphing/controller"
9
+ }
10
+ }
@@ -0,0 +1,89 @@
1
+
2
+ /** Auto generated by /Users/carlacostea/.nvm/versions/node/v20.19.0/lib/node_modules/pie/lib/apps/info/entry.js */
3
+
4
+ //pie controllers
5
+ let controllers = {};
6
+ controllers['graphing-element'] = require('@pie-element/graphing-controller');
7
+
8
+
9
+ //config declarations
10
+ import GraphingElementConfigure from '@pie-element/graphing-configure';
11
+ if(!customElements.get('graphing-element-configure')){
12
+ customElements.define('graphing-element-configure', GraphingElementConfigure);
13
+ }
14
+
15
+
16
+ //pie declarations
17
+ import GraphingElement from '@pie-element/graphing';
18
+ if(!customElements.get('graphing-element')){
19
+ customElements.define('graphing-element', GraphingElement);
20
+ }
21
+
22
+ // the catalog ui
23
+ import { defineRepoElements } from 'pie-catalog-client';
24
+
25
+ let initSock =
26
+ function (sockPath){
27
+
28
+ let sock = new SockJS(sockPath);
29
+
30
+ sock.onopen = function() {
31
+ console.log('sock is open');
32
+ };
33
+
34
+ function tryToParse(d){
35
+ try {
36
+ return JSON.parse(d);
37
+ } catch(e){
38
+ return null;
39
+ }
40
+ }
41
+
42
+ sock.onmessage = function(e) {
43
+ console.log('sock message', e.data);
44
+ let dataObj = tryToParse(e.data);
45
+ if(dataObj.type === 'reload'){
46
+ window.location.reload(false);
47
+ } else if(dataObj.type == 'error'){
48
+ //TODO - render the errors in the UI?
49
+ alert('webpack errors have occured - check the logs');
50
+ }
51
+ };
52
+
53
+ sock.onclose = function() {
54
+ console.log('sock is closed');
55
+ };
56
+ }
57
+
58
+
59
+ let init = () => {
60
+
61
+ defineRepoElements()
62
+ .then(() => {
63
+ let entry = document.querySelector('catalog-entry');
64
+ entry.element = window.element;
65
+
66
+ entry.config = window.orgRepo;
67
+
68
+ if (!window.demo.config) {
69
+ throw new Error('config is missing');
70
+ }
71
+ let demo = document.querySelector('catalog-demo');
72
+ demo.configureMap = {"graphing-element":"graphing-element-configure"};
73
+ demo.config = window.demo.config;
74
+ demo.controllers = controllers;
75
+ demo.markup = window.demo.markup;
76
+ demo.session = window.demo.session;
77
+
78
+ setTimeout(() => {
79
+ let c = document.querySelector('catalog-container');
80
+ c.isLoading(false);
81
+ }, 180);
82
+ });
83
+
84
+ initSock('/sock');
85
+ }
86
+
87
+ document.addEventListener('DOMContentLoaded', () => {
88
+ init();
89
+ });
@@ -0,0 +1,119 @@
1
+
2
+ //auto generated on: Fri Jul 31 2026 12:46:08 GMT+0300 (Eastern European Summer Time)
3
+
4
+ module.exports = {
5
+ "module": {
6
+ "rules": [
7
+ {
8
+ "test": /.*highlight\.js.*default\.css$/,
9
+ "use": [
10
+ "raw-loader"
11
+ ]
12
+ },
13
+ {
14
+ "test": /\.(png|jpg|gif|svg|eot|ttf|woff|woff2|otf)$/,
15
+ "use": [
16
+ {
17
+ "loader": "url-loader",
18
+ "options": {
19
+ "limit": 10000
20
+ }
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "test": /\.css$/,
26
+ "use": [
27
+ "style-loader",
28
+ {
29
+ "loader": "css-loader",
30
+ "options": {
31
+ "modules": false
32
+ }
33
+ }
34
+ ],
35
+ "exclude": [
36
+ /.*highlight\.js.*/
37
+ ]
38
+ },
39
+ {
40
+ "test": /\.(png|jpg|gif|svg|eot|ttf|woff|woff2|otf)$/,
41
+ "use": [
42
+ {
43
+ "loader": "url-loader",
44
+ "options": {
45
+ "limit": 10000
46
+ }
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "test": /\.less$/,
52
+ "use": [
53
+ "style-loader",
54
+ {
55
+ "loader": "css-loader",
56
+ "options": {
57
+ "modules": false
58
+ }
59
+ },
60
+ {
61
+ "loader": "less-loader",
62
+ "options": {
63
+ "lessOptions": {
64
+ "javascriptEnabled": true
65
+ }
66
+ }
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "test": /\.(jsx)?$/,
72
+ "use": [
73
+ {
74
+ "loader": "babel-loader",
75
+ "options": {
76
+ "babelrc": false,
77
+ "presets": [
78
+ "@babel/preset-env",
79
+ "@babel/preset-react"
80
+ ]
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ },
87
+ "resolveLoader": {
88
+ "modules": [
89
+ "/Users/carlacostea/Pie_Work/pie-framework/pie-elements/packages/graphing/docs/demo/.pie/node_modules",
90
+ "node_modules",
91
+ "/Users/carlacostea/.nvm/versions/node/v20.19.0/lib/node_modules/pie/node_modules"
92
+ ]
93
+ },
94
+ "context": "/Users/carlacostea/Pie_Work/pie-framework/pie-elements/packages/graphing/docs/demo/.pie",
95
+ "entry": "./info.entry.js",
96
+ "output": {
97
+ "filename": "info.bundle.js",
98
+ "path": "/Users/carlacostea/Pie_Work/pie-framework/pie-elements/packages/graphing/docs/demo/.pie"
99
+ },
100
+ "resolve": {
101
+ "extensions": [
102
+ ".js",
103
+ ".jsx"
104
+ ],
105
+ "modules": [
106
+ "/Users/carlacostea/Pie_Work/pie-framework/pie-elements/packages/graphing/docs/demo/.pie/node_modules",
107
+ "/Users/carlacostea/Pie_Work/pie-framework/pie-elements/packages/graphing/docs/demo/.pie/.configure/node_modules",
108
+ "/Users/carlacostea/Pie_Work/pie-framework/pie-elements/packages/graphing/docs/demo/.pie/.controllers/node_modules",
109
+ "node_modules",
110
+ "/Users/carlacostea/.nvm/versions/node/v20.19.0/lib/node_modules/pie/node_modules"
111
+ ],
112
+ "mainFields": [
113
+ "browser",
114
+ "main"
115
+ ]
116
+ },
117
+ "devtool": "eval"
118
+ };
119
+
@@ -0,0 +1,10 @@
1
+ {
2
+ "description": "auto generated package.json",
3
+ "license": "MIT",
4
+ "name": "x",
5
+ "private": true,
6
+ "version": "0.0.1",
7
+ "dependencies": {
8
+ "@pie-element/graphing": "../../.."
9
+ }
10
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "hash": "-1351389448",
3
+ "info": [
4
+ {
5
+ "pie": "@pie-element/graphing",
6
+ "version": {
7
+ "requested": "latest"
8
+ }
9
+ }
10
+ ]
11
+ }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "6.2.2-beta.4",
7
+ "version": "6.2.2-beta.6",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "postpublish": "../../scripts/postpublish"