vue-safe-force-graph 2.0.66 → 2.0.67
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.
|
@@ -38233,7 +38233,7 @@ const Noe = /* @__PURE__ */ zt(Hse, [["render", Toe], ["__scopeId", "data-v-194a
|
|
|
38233
38233
|
utime: "2019-05-06 15:08:10",
|
|
38234
38234
|
children: []
|
|
38235
38235
|
}
|
|
38236
|
-
], koe = "vue-safe-force-graph", Ooe = "2.0.
|
|
38236
|
+
], koe = "vue-safe-force-graph", Ooe = "2.0.67", Ioe = "force_graph in security area", Poe = "jason zhang", Loe = "./lib/vue-safe-force-graph.js", Roe = "./lib/vue-safe-force-graph.umd.cjs", Doe = "module", Moe = [
|
|
38237
38237
|
"/lib/"
|
|
38238
38238
|
], Foe = {
|
|
38239
38239
|
".": {
|
|
@@ -40321,6 +40321,9 @@ const { toClipboard: oae } = Hd(), aae = {
|
|
|
40321
40321
|
},
|
|
40322
40322
|
mixins: [],
|
|
40323
40323
|
props: {
|
|
40324
|
+
customCopyPathFn: {
|
|
40325
|
+
type: Function
|
|
40326
|
+
},
|
|
40324
40327
|
graphUrlPath: {
|
|
40325
40328
|
type: String,
|
|
40326
40329
|
default: "/graph"
|
|
@@ -40344,7 +40347,14 @@ const { toClipboard: oae } = Hd(), aae = {
|
|
|
40344
40347
|
// 是否展示分享按钮
|
|
40345
40348
|
};
|
|
40346
40349
|
},
|
|
40347
|
-
computed: {
|
|
40350
|
+
computed: {
|
|
40351
|
+
linkAddress() {
|
|
40352
|
+
return this.customCopyPathFn && typeof this.customCopyPathFn == "function" ? this.customCopyPathFn({ snapshot_id: this.snapshot.snapshot_id }) : `${this.origin}${this.graphUrlPath}?snapshot_id=${this.snapshot.snapshot_id}`;
|
|
40353
|
+
},
|
|
40354
|
+
linkAddressAndCode() {
|
|
40355
|
+
return this.customCopyPathFn && typeof this.customCopyPathFn == "function" ? this.customCopyPathFn({ snapshot_id: this.snapshot.snapshot_id, vcode: this.snapshot.vcode }) : `${this.linkAddress}&vcode=${this.snapshot.vcode}`;
|
|
40356
|
+
}
|
|
40357
|
+
},
|
|
40348
40358
|
watch: {},
|
|
40349
40359
|
created() {
|
|
40350
40360
|
},
|
|
@@ -40383,10 +40393,10 @@ function cae(e, t, n, r, s, o) {
|
|
|
40383
40393
|
const a = vs, l = MF, c = to, u = Kl, d = Ie("ShareToSecurityEvents");
|
|
40384
40394
|
return O(), U("div", lae, [
|
|
40385
40395
|
ne(u, {
|
|
40386
|
-
title: "复制链接及提取码",
|
|
40387
|
-
"append-to-body": "",
|
|
40388
40396
|
modelValue: s.dialogVisible,
|
|
40389
40397
|
"onUpdate:modelValue": t[2] || (t[2] = (h) => s.dialogVisible = h),
|
|
40398
|
+
title: "复制链接及提取码",
|
|
40399
|
+
"append-to-body": "",
|
|
40390
40400
|
"close-on-click-modal": !1,
|
|
40391
40401
|
class: "el-dialog-graph"
|
|
40392
40402
|
}, {
|
|
@@ -40404,9 +40414,7 @@ function cae(e, t, n, r, s, o) {
|
|
|
40404
40414
|
})) : re("", !0),
|
|
40405
40415
|
ne(c, {
|
|
40406
40416
|
type: "primary",
|
|
40407
|
-
onClick: t[1] || (t[1] = (h) => o.hanleClickCopy(
|
|
40408
|
-
`${s.origin}${n.graphUrlPath}?snapshot_id=${n.snapshot.snapshot_id}&vcode=${n.snapshot.vcode}`
|
|
40409
|
-
))
|
|
40417
|
+
onClick: t[1] || (t[1] = (h) => o.hanleClickCopy(o.linkAddressAndCode))
|
|
40410
40418
|
}, {
|
|
40411
40419
|
default: Z(() => t[6] || (t[6] = [
|
|
40412
40420
|
Le("复制链接及提取码")
|
|
@@ -40423,7 +40431,8 @@ function cae(e, t, n, r, s, o) {
|
|
|
40423
40431
|
]),
|
|
40424
40432
|
default: Z(() => [
|
|
40425
40433
|
ne(a, {
|
|
40426
|
-
value:
|
|
40434
|
+
value: o.linkAddress,
|
|
40435
|
+
readonly: ""
|
|
40427
40436
|
}, {
|
|
40428
40437
|
prepend: Z(() => t[3] || (t[3] = [
|
|
40429
40438
|
Le("链接地址:")
|
|
@@ -40432,7 +40441,8 @@ function cae(e, t, n, r, s, o) {
|
|
|
40432
40441
|
}, 8, ["value"]),
|
|
40433
40442
|
ne(l),
|
|
40434
40443
|
ne(a, {
|
|
40435
|
-
value: n.snapshot.vcode
|
|
40444
|
+
value: n.snapshot.vcode,
|
|
40445
|
+
readonly: ""
|
|
40436
40446
|
}, {
|
|
40437
40447
|
prepend: Z(() => t[4] || (t[4] = [
|
|
40438
40448
|
Le("提取码:")
|
|
@@ -40525,6 +40535,9 @@ const fae = {
|
|
|
40525
40535
|
type: String,
|
|
40526
40536
|
default: "/graph"
|
|
40527
40537
|
},
|
|
40538
|
+
customCopyPathFn: {
|
|
40539
|
+
type: Function
|
|
40540
|
+
},
|
|
40528
40541
|
snapshot_id: {
|
|
40529
40542
|
// 快照id
|
|
40530
40543
|
type: String,
|
|
@@ -40763,7 +40776,7 @@ const fae = {
|
|
|
40763
40776
|
},
|
|
40764
40777
|
mounted() {
|
|
40765
40778
|
return Ge(this, null, function* () {
|
|
40766
|
-
console.log('"2024/11/
|
|
40779
|
+
console.log('"2024/11/11 16:36:10"', "2024/11/11 16:36:10"), this.initializeGraphApi(), window.onresize = () => {
|
|
40767
40780
|
this.fullScreen = !!document.fullscreenElement, this.screenHeight = document.body.clientHeight;
|
|
40768
40781
|
}, this.margin = this.changeMargin(), cs(st, "emitDataLoaded", () => {
|
|
40769
40782
|
this.emitDataLoaded();
|
|
@@ -41591,8 +41604,9 @@ function wae(e, t, n, r, s, o) {
|
|
|
41591
41604
|
ref: "snapshot",
|
|
41592
41605
|
snapshot: s.snapshot,
|
|
41593
41606
|
"graph-api": n.graphApi,
|
|
41594
|
-
"graph-url-path": n.graphUrlPath
|
|
41595
|
-
|
|
41607
|
+
"graph-url-path": n.graphUrlPath,
|
|
41608
|
+
"custom-copy-path-fn": n.customCopyPathFn
|
|
41609
|
+
}, null, 8, ["snapshot", "graph-api", "graph-url-path", "custom-copy-path-fn"])
|
|
41596
41610
|
])), [
|
|
41597
41611
|
[_, s.bigLoading]
|
|
41598
41612
|
]) : re("", !0);
|