sf-i-events 1.0.62 → 1.0.64

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/.babelrc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "presets": ["@babel/preset-env"],
3
+ "plugins": ["@babel/plugin-proposal-class-properties"]
4
+ }
package/dev/index.html CHANGED
@@ -203,6 +203,7 @@
203
203
  border-width: 0px;
204
204
  color: #666;
205
205
  background: #efefef;
206
+
206
207
  font-weight: 900;
207
208
  padding: 10px;
208
209
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.62",
4
+ "version": "1.0.64",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
@@ -51,7 +51,7 @@
51
51
  "license": "MIT",
52
52
  "repository": "superflows-dev/sf-i-events",
53
53
  "dependencies": {
54
- "chart.js": "^4.3.0",
54
+ "chart.js": "^3.9.0",
55
55
  "fs": "^0.0.1-security",
56
56
  "lit": "^2.2.4",
57
57
  "patternomaly": "^1.3.2",
@@ -65,6 +65,10 @@
65
65
  "devDependencies": {
66
66
  "@11ty/eleventy": "^1.0.1",
67
67
  "@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
68
+ "@babel/cli": "^7.21.5",
69
+ "@babel/core": "^7.21.8",
70
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
71
+ "@babel/preset-env": "^7.21.5",
68
72
  "@custom-elements-manifest/analyzer": "^0.6.3",
69
73
  "@open-wc/testing": "^3.1.7",
70
74
  "@rollup/plugin-node-resolve": "^13.3.0",
package/sf-i-events.js CHANGED
@@ -13,7 +13,7 @@ import { LitElement, html, css } from 'lit';
13
13
  import { customElement, query, queryAssignedElements, property } from 'lit/decorators.js';
14
14
  // import {customElement, query, property} from 'lit/decorators.js';
15
15
  import Util from './util';
16
- import { Chart, registerables, Colors } from 'chart.js';
16
+ import { Chart, registerables } from 'chart.js';
17
17
  // import {LitElement, html, css} from 'lit';
18
18
  // import {customElement} from 'lit/decorators.js';
19
19
  /*
@@ -2985,7 +2985,7 @@ let SfIEvents = class SfIEvents extends LitElement {
2985
2985
  };
2986
2986
  this.loadMode = async () => {
2987
2987
  Chart.register(...registerables);
2988
- Chart.register(Colors);
2988
+ //Chart.register(Colors);
2989
2989
  if (this.mode == "admin") {
2990
2990
  this.showChooseProject();
2991
2991
  this.initListenersAdmin();