Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit fdb0a7b

Browse files
committed
Release 0.1.1
1 parent 2df002c commit fdb0a7b

5 files changed

+17
-5
lines changed

dist/grove-vue-visjs-graph.esm.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ var script = {
6262

6363
if (Array.isArray(obj)) {
6464
return obj.map(function (item) { return this$1.observerClean(item); });
65+
} else if (Object.prototype.toString.call(obj) === '[object Date]') {
66+
return new Date(obj.valueOf());
6567
} else if (typeof obj === 'object' && obj !== null) {
6668
return Object.keys(obj).reduce(
6769
function (res, e) {
@@ -309,7 +311,7 @@ __vue_render__._withStripped = true;
309311
/* style */
310312
var __vue_inject_styles__ = function (inject) {
311313
if (!inject) { return }
312-
inject("data-v-03be2188_0", { source: ".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n", map: {"version":3,"sources":["visjs-graph.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,UAAU;AACZ","file":"visjs-graph.vue","sourcesContent":[".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n"]}, media: undefined });
314+
inject("data-v-0ebb59c4_0", { source: ".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n", map: {"version":3,"sources":["visjs-graph.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,UAAU;AACZ","file":"visjs-graph.vue","sourcesContent":[".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n"]}, media: undefined });
313315

314316
};
315317
/* scoped */
@@ -386,6 +388,8 @@ var script$1 = {
386388

387389
if (Array.isArray(obj)) {
388390
return obj.map(function (item) { return this$1.observerClean(item); });
391+
} else if (Object.prototype.toString.call(obj) === '[object Date]') {
392+
return new Date(obj.valueOf());
389393
} else if (typeof obj === 'object' && obj !== null) {
390394
return Object.keys(obj).reduce(
391395
function (res, e) {

dist/grove-vue-visjs-graph.min.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ var VisjsGraph = (function (exports, mlvisjs) {
6262

6363
if (Array.isArray(obj)) {
6464
return obj.map(function (item) { return this$1.observerClean(item); });
65+
} else if (Object.prototype.toString.call(obj) === '[object Date]') {
66+
return new Date(obj.valueOf());
6567
} else if (typeof obj === 'object' && obj !== null) {
6668
return Object.keys(obj).reduce(
6769
function (res, e) {
@@ -309,7 +311,7 @@ var VisjsGraph = (function (exports, mlvisjs) {
309311
/* style */
310312
var __vue_inject_styles__ = function (inject) {
311313
if (!inject) { return }
312-
inject("data-v-03be2188_0", { source: ".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n", map: {"version":3,"sources":["visjs-graph.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,UAAU;AACZ","file":"visjs-graph.vue","sourcesContent":[".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n"]}, media: undefined });
314+
inject("data-v-0ebb59c4_0", { source: ".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n", map: {"version":3,"sources":["visjs-graph.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,UAAU;AACZ","file":"visjs-graph.vue","sourcesContent":[".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n"]}, media: undefined });
313315

314316
};
315317
/* scoped */
@@ -386,6 +388,8 @@ var VisjsGraph = (function (exports, mlvisjs) {
386388

387389
if (Array.isArray(obj)) {
388390
return obj.map(function (item) { return this$1.observerClean(item); });
391+
} else if (Object.prototype.toString.call(obj) === '[object Date]') {
392+
return new Date(obj.valueOf());
389393
} else if (typeof obj === 'object' && obj !== null) {
390394
return Object.keys(obj).reduce(
391395
function (res, e) {

dist/grove-vue-visjs-graph.umd.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565

6666
if (Array.isArray(obj)) {
6767
return obj.map(function (item) { return this$1.observerClean(item); });
68+
} else if (Object.prototype.toString.call(obj) === '[object Date]') {
69+
return new Date(obj.valueOf());
6870
} else if (typeof obj === 'object' && obj !== null) {
6971
return Object.keys(obj).reduce(
7072
function (res, e) {
@@ -312,7 +314,7 @@
312314
/* style */
313315
var __vue_inject_styles__ = function (inject) {
314316
if (!inject) { return }
315-
inject("data-v-03be2188_0", { source: ".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n", map: {"version":3,"sources":["visjs-graph.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,UAAU;AACZ","file":"visjs-graph.vue","sourcesContent":[".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n"]}, media: undefined });
317+
inject("data-v-0ebb59c4_0", { source: ".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n", map: {"version":3,"sources":["visjs-graph.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,UAAU;AACZ","file":"visjs-graph.vue","sourcesContent":[".mlvisjs-graph .graph-controls {\n width: fit-content;\n}\n.mlvisjs-graph .graph-controls form {\n padding: 0;\n}\n"]}, media: undefined });
316318

317319
};
318320
/* scoped */
@@ -389,6 +391,8 @@
389391

390392
if (Array.isArray(obj)) {
391393
return obj.map(function (item) { return this$1.observerClean(item); });
394+
} else if (Object.prototype.toString.call(obj) === '[object Date]') {
395+
return new Date(obj.valueOf());
392396
} else if (typeof obj === 'object' && obj !== null) {
393397
return Object.keys(obj).reduce(
394398
function (res, e) {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@marklogic-community/grove-vue-visjs-graph",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Vue component to visualize RDF relationships and Timelines using Vis.js",
55
"main": "dist/grove-vue-visjs-graph.umd.js",
66
"module": "dist/grove-vue-visjs-graph.esm.js",

0 commit comments

Comments
 (0)