Compare commits
No commits in common. "a5014fa5f496135ab99696dd46e40308a7ed1b72" and "3070e058f8aace5a123b658f865c8ee8bd9f71fd" have entirely different histories.
a5014fa5f4
...
3070e058f8
@ -1,22 +0,0 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "/static/css/main.d0318b9a.chunk.css",
|
||||
"main.js": "/static/js/main.8b5d3ab1.chunk.js",
|
||||
"main.js.map": "/static/js/main.8b5d3ab1.chunk.js.map",
|
||||
"runtime-main.js": "/static/js/runtime-main.88c5baa2.js",
|
||||
"runtime-main.js.map": "/static/js/runtime-main.88c5baa2.js.map",
|
||||
"static/js/2.0a2404c5.chunk.js": "/static/js/2.0a2404c5.chunk.js",
|
||||
"static/js/2.0a2404c5.chunk.js.map": "/static/js/2.0a2404c5.chunk.js.map",
|
||||
"index.html": "/index.html",
|
||||
"precache-manifest.388547c8a5546bf2062f15580f0fe75b.js": "/precache-manifest.388547c8a5546bf2062f15580f0fe75b.js",
|
||||
"service-worker.js": "/service-worker.js",
|
||||
"static/css/main.d0318b9a.chunk.css.map": "/static/css/main.d0318b9a.chunk.css.map",
|
||||
"static/js/2.0a2404c5.chunk.js.LICENSE.txt": "/static/js/2.0a2404c5.chunk.js.LICENSE.txt"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/js/runtime-main.88c5baa2.js",
|
||||
"static/js/2.0a2404c5.chunk.js",
|
||||
"static/css/main.d0318b9a.chunk.css",
|
||||
"static/js/main.8b5d3ab1.chunk.js"
|
||||
]
|
||||
}
|
BIN
examples/line-chart-example/dist/favicon.ico
vendored
BIN
examples/line-chart-example/dist/favicon.ico
vendored
Binary file not shown.
Before Width: | Height: | Size: 3.1 KiB |
1
examples/line-chart-example/dist/index.html
vendored
1
examples/line-chart-example/dist/index.html
vendored
@ -1 +0,0 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Line Chart Example</title><link href="/static/css/main.d0318b9a.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,a=r[0],i=r[1],p=r[2],c=0,s=[];c<a.length;c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var a=this["webpackJsonpline-chart-example"]=this["webpackJsonpline-chart-example"]||[],i=a.push.bind(a);a.push=r,a=a.slice();for(var p=0;p<a.length;p++)r(a[p]);var f=i;t()}([])</script><script src="/static/js/2.0a2404c5.chunk.js"></script><script src="/static/js/main.8b5d3ab1.chunk.js"></script></body></html>
|
BIN
examples/line-chart-example/dist/logo192.png
vendored
BIN
examples/line-chart-example/dist/logo192.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 5.2 KiB |
BIN
examples/line-chart-example/dist/logo512.png
vendored
BIN
examples/line-chart-example/dist/logo512.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 9.4 KiB |
25
examples/line-chart-example/dist/manifest.json
vendored
25
examples/line-chart-example/dist/manifest.json
vendored
@ -1,25 +0,0 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
{
|
||||
"revision": "caa45228c98c35ebcdd94d455ebcc076",
|
||||
"url": "/index.html"
|
||||
},
|
||||
{
|
||||
"revision": "092e5934930817e7b123",
|
||||
"url": "/static/css/main.d0318b9a.chunk.css"
|
||||
},
|
||||
{
|
||||
"revision": "5a83249d3b75a29162d8",
|
||||
"url": "/static/js/2.0a2404c5.chunk.js"
|
||||
},
|
||||
{
|
||||
"revision": "d0ad795f6b2d2d87bd5b5e69bbd90ddb",
|
||||
"url": "/static/js/2.0a2404c5.chunk.js.LICENSE.txt"
|
||||
},
|
||||
{
|
||||
"revision": "092e5934930817e7b123",
|
||||
"url": "/static/js/main.8b5d3ab1.chunk.js"
|
||||
},
|
||||
{
|
||||
"revision": "9824a2c8a54cc4dee024",
|
||||
"url": "/static/js/runtime-main.88c5baa2.js"
|
||||
}
|
||||
]);
|
3
examples/line-chart-example/dist/robots.txt
vendored
3
examples/line-chart-example/dist/robots.txt
vendored
@ -1,3 +0,0 @@
|
||||
# https://www.robotstxt.org/robotstxt.html
|
||||
User-agent: *
|
||||
Disallow:
|
@ -1,39 +0,0 @@
|
||||
/**
|
||||
* Welcome to your Workbox-powered service worker!
|
||||
*
|
||||
* You'll need to register this file in your web app and you should
|
||||
* disable HTTP caching for this file too.
|
||||
* See https://goo.gl/nhQhGp
|
||||
*
|
||||
* The rest of the code is auto-generated. Please don't update this file
|
||||
* directly; instead, make changes to your Workbox build configuration
|
||||
* and re-run your build process.
|
||||
* See https://goo.gl/2aRDsh
|
||||
*/
|
||||
|
||||
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
||||
|
||||
importScripts(
|
||||
"/precache-manifest.388547c8a5546bf2062f15580f0fe75b.js"
|
||||
);
|
||||
|
||||
self.addEventListener('message', (event) => {
|
||||
if (event.data && event.data.type === 'SKIP_WAITING') {
|
||||
self.skipWaiting();
|
||||
}
|
||||
});
|
||||
|
||||
workbox.core.clientsClaim();
|
||||
|
||||
/**
|
||||
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
|
||||
* requests for URLs in the manifest.
|
||||
* See https://goo.gl/S9QRab
|
||||
*/
|
||||
self.__precacheManifest = [].concat(self.__precacheManifest || []);
|
||||
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
|
||||
|
||||
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {
|
||||
|
||||
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
|
||||
});
|
@ -1,2 +0,0 @@
|
||||
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.app{margin:0 20px}
|
||||
/*# sourceMappingURL=main.d0318b9a.chunk.css.map */
|
@ -1 +0,0 @@
|
||||
{"version":3,"sources":["index.css","App.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CCZA,KACI,aACJ","file":"main.d0318b9a.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".app {\n margin: 0px 20px;\n}\n"]}
|
File diff suppressed because one or more lines are too long
@ -1,41 +0,0 @@
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* Chart.js v2.9.3
|
||||
* https://www.chartjs.org
|
||||
* (c) 2019 Chart.js Contributors
|
||||
* Released under the MIT License
|
||||
*/
|
||||
|
||||
/** @license React v0.19.1
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.14.0
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.14.0
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
//! moment.js
|
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@
|
||||
(this["webpackJsonpline-chart-example"]=this["webpackJsonpline-chart-example"]||[]).push([[0],{10:function(e,t,n){},15:function(e,t,n){"use strict";n.r(t);var a=n(0),o=n.n(a),r=n(2),l=n.n(r),i=(n(9),n(10),n(3));var c=function(e){return o.a.createElement(i.ReactChartJs,{chartConfig:{type:"line",options:{responsive:!0,title:{display:!0,text:"Monthly Payments"},tooltips:{mode:"index",intersect:!1},hover:{mode:"nearest",intersect:!0}},data:{datasets:[{label:"Part-time",data:[5,10,30],fill:!1,borderColor:"#ff6384"},{label:"Full-time",data:[10,15,45],fill:!1,borderColor:"#36a2eb"}],labels:["Jan","Feb","Mar"]}}})};var s=function(){return o.a.createElement("div",{className:"app"},o.a.createElement(c,null))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));l.a.render(o.a.createElement(o.a.StrictMode,null,o.a.createElement(s,null)),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))},4:function(e,t,n){e.exports=n(15)},9:function(e,t,n){}},[[4,1,2]]]);
|
||||
//# sourceMappingURL=main.8b5d3ab1.chunk.js.map
|
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@
|
||||
!function(e){function r(r){for(var n,l,a=r[0],i=r[1],p=r[2],c=0,s=[];c<a.length;c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var a=this["webpackJsonpline-chart-example"]=this["webpackJsonpline-chart-example"]||[],i=a.push.bind(a);a.push=r,a=a.slice();for(var p=0;p<a.length;p++)r(a[p]);var f=i;t()}([]);
|
||||
//# sourceMappingURL=runtime-main.88c5baa2.js.map
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cubetiq/react-chart-js",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.0",
|
||||
"description": "Chart.js for React and TypeScript",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
@ -31,6 +31,7 @@
|
||||
"build": "tsc",
|
||||
"test": "jest",
|
||||
"build:test": "yarn jest && yarn build",
|
||||
"publish": "npm publish --access public",
|
||||
"run:example": "cd examples/line-chart-example && yarn start"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user