@cehlers88/chart 1.0.2 → 1.0.3

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/dist/index.d.ts CHANGED
@@ -8,6 +8,10 @@ import ChartEngineClass from './ChartEngine';
8
8
  import DiagramLine from "./plugin/DiagramLine";
9
9
  import BarsPluginClass from "./plugin/BarsPlugin";
10
10
  import DataGroupFactoryClass from "./Factory/DataGroupFactory";
11
+ export declare const plugins: {
12
+ BarsPlugin: typeof BarsPluginClass;
13
+ DiagramLinePlugin: typeof DiagramLine;
14
+ };
11
15
  declare const _default: {
12
16
  ChartEngine: typeof ChartEngineClass;
13
17
  DataGroupFactory: typeof DataGroupFactoryClass;
package/dist/index.js CHANGED
@@ -6,7 +6,17 @@
6
6
  * or disable the default devtool with "devtool: false".
7
7
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8
8
  */
9
- /******/ (() => { // webpackBootstrap
9
+ (function webpackUniversalModuleDefinition(root, factory) {
10
+ if(typeof exports === 'object' && typeof module === 'object')
11
+ module.exports = factory();
12
+ else if(typeof define === 'function' && define.amd)
13
+ define([], factory);
14
+ else if(typeof exports === 'object')
15
+ exports["@cehlers88/chart"] = factory();
16
+ else
17
+ root["@cehlers88/chart"] = factory();
18
+ })(this, () => {
19
+ return /******/ (() => { // webpackBootstrap
10
20
  /******/ "use strict";
11
21
  /******/ var __webpack_modules__ = ({
12
22
 
@@ -36,7 +46,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
36
46
  \**********************/
37
47
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
38
48
 
39
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BarsPlugin: () => (/* binding */ BarsPlugin),\n/* harmony export */ ChartEngine: () => (/* binding */ ChartEngine),\n/* harmony export */ DataGroupFactory: () => (/* binding */ DataGroupFactory),\n/* harmony export */ DiagramLinePlugin: () => (/* binding */ DiagramLinePlugin),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ChartEngine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChartEngine */ \"./src/ChartEngine.ts\");\n/* harmony import */ var _plugin_DiagramLine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plugin/DiagramLine */ \"./src/plugin/DiagramLine.ts\");\n/* harmony import */ var _plugin_BarsPlugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./plugin/BarsPlugin */ \"./src/plugin/BarsPlugin.ts\");\n/* harmony import */ var _Factory_DataGroupFactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Factory/DataGroupFactory */ \"./src/Factory/DataGroupFactory.ts\");\n/**\n * index.ts\n * Created 05.05.24\n *\n * @author Christoph Ehlers\n */\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n ChartEngine: _ChartEngine__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n DataGroupFactory: _Factory_DataGroupFactory__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n plugins: {\n BarsPlugin: _plugin_BarsPlugin__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n DiagramLinePlugin: _plugin_DiagramLine__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n }\n});\nvar ChartEngine = _ChartEngine__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nvar DataGroupFactory = _Factory_DataGroupFactory__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\nvar BarsPlugin = _plugin_BarsPlugin__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\nvar DiagramLinePlugin = _plugin_DiagramLine__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n\n\n//# sourceURL=webpack://@cehlers88/chart/./src/index.ts?");
49
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BarsPlugin: () => (/* binding */ BarsPlugin),\n/* harmony export */ ChartEngine: () => (/* binding */ ChartEngine),\n/* harmony export */ DataGroupFactory: () => (/* binding */ DataGroupFactory),\n/* harmony export */ DiagramLinePlugin: () => (/* binding */ DiagramLinePlugin),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ plugins: () => (/* binding */ plugins)\n/* harmony export */ });\n/* harmony import */ var _ChartEngine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChartEngine */ \"./src/ChartEngine.ts\");\n/* harmony import */ var _plugin_DiagramLine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plugin/DiagramLine */ \"./src/plugin/DiagramLine.ts\");\n/* harmony import */ var _plugin_BarsPlugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./plugin/BarsPlugin */ \"./src/plugin/BarsPlugin.ts\");\n/* harmony import */ var _Factory_DataGroupFactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Factory/DataGroupFactory */ \"./src/Factory/DataGroupFactory.ts\");\n/**\n * index.ts\n * Created 05.05.24\n *\n * @author Christoph Ehlers\n */\n\n\n\n\nvar plugins = {\n BarsPlugin: _plugin_BarsPlugin__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n DiagramLinePlugin: _plugin_DiagramLine__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n ChartEngine: _ChartEngine__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n DataGroupFactory: _Factory_DataGroupFactory__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n plugins: plugins\n});\nvar ChartEngine = _ChartEngine__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nvar DataGroupFactory = _Factory_DataGroupFactory__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\nvar BarsPlugin = plugins.BarsPlugin;\nvar DiagramLinePlugin = plugins.DiagramLinePlugin;\n\n\n//# sourceURL=webpack://@cehlers88/chart/./src/index.ts?");
40
50
 
41
51
  /***/ }),
42
52
 
@@ -141,6 +151,9 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
141
151
  /******/ // Load entry module and return exports
142
152
  /******/ // This entry module can't be inlined because the eval devtool is used.
143
153
  /******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
154
+ /******/ __webpack_exports__ = __webpack_exports__["default"];
144
155
  /******/
156
+ /******/ return __webpack_exports__;
145
157
  /******/ })()
146
- ;
158
+ ;
159
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cehlers88/chart",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A library to create charts using JavaScript and Canvas-Element.",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {