@kong-ui-public/documentation 1.7.21 → 1.7.22-pr.3646.2d80ddaf3.0
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/package.json +4 -4
- package/dist/arc-DZdQjcG8-CduayE88.js +0 -79
- package/dist/architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js +0 -4065
- package/dist/astro-D8QEIUE9-nzvtSwAQ.js +0 -18
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +0 -3268
- package/dist/c-GOwUpV7U-DMPKLUI8.js +0 -4
- package/dist/c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js +0 -3035
- package/dist/catppuccin-latte-BcV8jije-D8pvGdu1.js +0 -4
- package/dist/channel-DM9j7IFL-DxqBUxfY.js +0 -5
- package/dist/chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js +0 -24
- package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +0 -8
- package/dist/chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js +0 -8
- package/dist/chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js +0 -3445
- package/dist/chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js +0 -2096
- package/dist/chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js +0 -19
- package/dist/chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js +0 -65
- package/dist/chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js +0 -12
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +0 -17
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +0 -17
- package/dist/cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js +0 -2260
- package/dist/csharp-Cy04UeDC-OaGPefhL.js +0 -4
- package/dist/css-CJQ-rcMF-B_2PRTA_.js +0 -4
- package/dist/csv-Bx_Umlp--BPWcOTV4.js +0 -4
- package/dist/cytoscape.esm-BDIiOYYO-C1jMBhD8.js +0 -18220
- package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +0 -288
- package/dist/dagre-DJxg_nfI-hVOVexz-.js +0 -1687
- package/dist/defaultLocale-mtMQ0U8A-D6jPixjH.js +0 -182
- package/dist/diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js +0 -210
- package/dist/diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js +0 -99
- package/dist/diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js +0 -439
- package/dist/diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js +0 -127
- package/dist/diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js +0 -475
- package/dist/diff-DZRtXnMG-DenOJuyV.js +0 -4
- package/dist/docker-DQBBDNmU-xX8PDoIv.js +0 -4
- package/dist/documentation.es.js +0 -7
- package/dist/documentation.umd.js +0 -3474
- package/dist/erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js +0 -1773
- package/dist/flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js +0 -4258
- package/dist/ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js +0 -3099
- package/dist/git-commit-BOgnKaZ8-Csu8eMzs.js +0 -5
- package/dist/git-rebase-0v-YFIjP-D701iWbX.js +0 -5
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +0 -734
- package/dist/go-DpaXbCNA-DqSXHrGo.js +0 -4
- package/dist/graphlib-D2YdGpuK-CnQPmzkS.js +0 -1071
- package/dist/graphql-BSO8hVnT-C6Okg5tI.js +0 -14
- package/dist/haml-DizLz-gS-BWwS-eha.js +0 -10
- package/dist/handlebars-tnt1-4s--xVtJSIx5.js +0 -14
- package/dist/haskell-BDLr0yXS-BlmVjKNy.js +0 -4
- package/dist/html-DdIT5Pi9-C35UyBqr.js +0 -10
- package/dist/html-derivative-BHAKSQcK-BChKhjnv.js +0 -5
- package/dist/http-DRk-iX-V-DQ76ihB0.js +0 -14
- package/dist/index-DfVKdDwj.js +0 -40029
- package/dist/infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js +0 -18
- package/dist/ini-D-uG5DCC-70PBzbbb.js +0 -4
- package/dist/init-8lPFe2y8-B2MlpiqM.js +0 -16
- package/dist/ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js +0 -728
- package/dist/java-CQQr73XR-D6YBp1XX.js +0 -4
- package/dist/javascript-CXmFGv-C-BRPKgr3C.js +0 -4
- package/dist/journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js +0 -908
- package/dist/json-BXFRNzj8-D8uacQj0.js +0 -4
- package/dist/json5-B5-J7v9w-Biib5ALh.js +0 -4
- package/dist/jsonc-CeA7x8NU-BZEKkMok.js +0 -4
- package/dist/jsonl-BBlxch9W-BG2V-IA2.js +0 -4
- package/dist/jsx-DucQCby8-Cl0AMtmu.js +0 -4
- package/dist/kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js +0 -1028
- package/dist/katex-D7tFlpqA-BOSQxXe1.js +0 -22315
- package/dist/kotlin-CDXyBjvc-Dy_91eL4.js +0 -4
- package/dist/latex-COX74REd-l1quglTx.js +0 -5
- package/dist/less-QqooI0UQ-tcNg8M2_.js +0 -4
- package/dist/linear-1MXhYum8-9C1jno9G.js +0 -255
- package/dist/liquid-CsynDTV--Bdhb3gsJ.js +0 -14
- package/dist/lua-B3xrKnOz-Coo0MCwO.js +0 -5
- package/dist/make-eFBmESRY-CrUl7LOH.js +0 -4
- package/dist/markdown-DkQv9NwM-Bcqt-5kX.js +0 -4
- package/dist/material-theme-darker-Bp7Jj852-DMHCIvq5.js +0 -4
- package/dist/mdc-BK-Z5Xv--aFc-Oyv5.js +0 -12
- package/dist/mdx-CjbEMaEg-CK6jOqmu.js +0 -4
- package/dist/mermaid-Ccfpee4A-BgbNnQO5.js +0 -4
- package/dist/mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js +0 -1026
- package/dist/nginx-DQrs__jO-BS9Jcr4V.js +0 -5
- package/dist/objective-c-CXg1TPY9-C809HPrX.js +0 -4
- package/dist/ordinal-D9ksOc8y-2hZwLyEk.js +0 -63
- package/dist/pascal-C6L9Tn1x-a8whuidZ.js +0 -4
- package/dist/perl-Dbi-SlHs-DsZjIGqU.js +0 -16
- package/dist/php-J5w8HAya-DnRg4f-g.js +0 -18
- package/dist/pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js +0 -153
- package/dist/plsql-Ba_yrVwL-BJoF2Vrf.js +0 -4
- package/dist/postcss-Bsoc__IZ-DaHMm3XW.js +0 -4
- package/dist/powershell-CKvM5hOe-Box9VSDW.js +0 -4
- package/dist/proto-iweZN-Ks-w0B_itsp.js +0 -4
- package/dist/pug-DUPsoXbW-BFHDRSax.js +0 -12
- package/dist/python-MxhgNM12-D_5pfY__.js +0 -4
- package/dist/quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js +0 -2046
- package/dist/r-CoGPXt5G-BrbXTU3W.js +0 -4
- package/dist/reg-CHAl2UuA-bHAwx9Pm.js +0 -4
- package/dist/requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js +0 -2281
- package/dist/rst-D-Zcnz0t-C3PGnqgH.js +0 -20
- package/dist/ruby-CQp7mk0v-B3KpG-9E.js +0 -46
- package/dist/rust-W9HETclW-CaZtBt24.js +0 -4
- package/dist/sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js +0 -946
- package/dist/sass-DzGfEb5u-pslLeRRb.js +0 -4
- package/dist/scss-cWHTb1-d-DN6jMR75.js +0 -5
- package/dist/sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js +0 -4266
- package/dist/shellscript-BvJBBLP1-BtH46UX7.js +0 -4
- package/dist/shellsession-CXHk-hsk-D-2JR5oU.js +0 -5
- package/dist/splunk-TtOhH_8h-BP8P7eWt.js +0 -4
- package/dist/sql-B-h_q34g-uWwuAxg_.js +0 -4
- package/dist/ssh-config-B7jk1vQp-BB1rrGb9.js +0 -4
- package/dist/stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js +0 -210
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +0 -16
- package/dist/style.css +0 -1
- package/dist/stylus-Ccd_7r3J-DAu5PNZ9.js +0 -4
- package/dist/svelte-CYqtuUsn-Cf97VB5J.js +0 -14
- package/dist/swift-CzsQqA0L-BPF2ddNF.js +0 -4
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +0 -1095
- package/dist/toml-CRTROHRr-DjT9Bjqu.js +0 -4
- package/dist/tsx-CE8dfKwK-B-5hSr15.js +0 -4
- package/dist/twig-Bst4uh7S-C3aA9tng.js +0 -18
- package/dist/types/components/DiscardChangesPrompt.vue.d.ts +0 -35
- package/dist/types/components/DiscardChangesPrompt.vue.d.ts.map +0 -1
- package/dist/types/components/DocumentationContent.vue.d.ts +0 -186
- package/dist/types/components/DocumentationContent.vue.d.ts.map +0 -1
- package/dist/types/components/DocumentationDisplay.vue.d.ts +0 -105
- package/dist/types/components/DocumentationDisplay.vue.d.ts.map +0 -1
- package/dist/types/components/DocumentationPageEmptyState.vue.d.ts +0 -31
- package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +0 -1
- package/dist/types/components/ProductDocumentModal.vue.d.ts +0 -72
- package/dist/types/components/ProductDocumentModal.vue.d.ts.map +0 -1
- package/dist/types/composables/index.d.ts +0 -6
- package/dist/types/composables/index.d.ts.map +0 -1
- package/dist/types/composables/useI18n.d.ts +0 -9
- package/dist/types/composables/useI18n.d.ts.map +0 -1
- package/dist/types/external-links.d.ts +0 -5
- package/dist/types/external-links.d.ts.map +0 -1
- package/dist/types/helpers.d.ts +0 -8
- package/dist/types/helpers.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/types/document-list.d.ts +0 -28
- package/dist/types/types/document-list.d.ts.map +0 -1
- package/dist/types/types/document-modal.d.ts +0 -8
- package/dist/types/types/document-modal.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -3
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/typescript-8ogSSNer-B0ag8pir.js +0 -4
- package/dist/v-NeSnRB8V-CYSa2rJN.js +0 -4
- package/dist/vb-Dz72yc4q-B6FpM2Kc.js +0 -4
- package/dist/vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js +0 -1889
- package/dist/viml-DB1flIhL-BeYQ8dZh.js +0 -4
- package/dist/vue-Bq4JA_WT-CGBUDahs.js +0 -22
- package/dist/vue-html-BygQzR-9-BPez-Otx.js +0 -5
- package/dist/wardley-L42UT6IY-BjAkE_cs-C-giFqos.js +0 -20731
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +0 -639
- package/dist/wasm-BmZuu1vu-CfuK9YWP.js +0 -4
- package/dist/wgsl-D-vNyw6e-C2IZ7ENh.js +0 -4
- package/dist/xml-juAhGoTG-khG3jjDl.js +0 -5
- package/dist/xsl-CHgyQG2O-CiMa9sUf.js +0 -5
- package/dist/xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js +0 -2055
- package/dist/yaml-BK_xXVzk-X78l_Ibz.js +0 -4
|
@@ -1,475 +0,0 @@
|
|
|
1
|
-
import { p as b, s as K, o as J, ah as at, a0 as rt, A as lt, g as U, bc as P, q, U as nt, W as it, f as st, i as ot, K as ct, G as dt, F as ht, bd as pt, H as ut } from "./index-DfVKdDwj.js";
|
|
2
|
-
import { s as O } from "./ordinal-D9ksOc8y-2hZwLyEk.js";
|
|
3
|
-
import { v as I } from "./defaultLocale-mtMQ0U8A-D6jPixjH.js";
|
|
4
|
-
import { t as ft } from "./chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js";
|
|
5
|
-
import { r as mt } from "./wardley-L42UT6IY-BjAkE_cs-C-giFqos.js";
|
|
6
|
-
import { r as yt } from "./chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js";
|
|
7
|
-
function gt(e) {
|
|
8
|
-
var a = 0, r = e.children, l = r && r.length;
|
|
9
|
-
if (!l) a = 1;
|
|
10
|
-
else for (; --l >= 0; ) a += r[l].value;
|
|
11
|
-
e.value = a;
|
|
12
|
-
}
|
|
13
|
-
function xt() {
|
|
14
|
-
return this.eachAfter(gt);
|
|
15
|
-
}
|
|
16
|
-
function St(e, a) {
|
|
17
|
-
let r = -1;
|
|
18
|
-
for (let l of this) e.call(a, l, ++r, this);
|
|
19
|
-
return this;
|
|
20
|
-
}
|
|
21
|
-
function vt(e, a) {
|
|
22
|
-
for (var r = this, l = [r], s, i, c = -1; r = l.pop(); ) if (e.call(a, r, ++c, this), s = r.children) for (i = s.length - 1; i >= 0; --i) l.push(s[i]);
|
|
23
|
-
return this;
|
|
24
|
-
}
|
|
25
|
-
function $t(e, a) {
|
|
26
|
-
for (var r = this, l = [r], s = [], i, c, h, f = -1; r = l.pop(); ) if (s.push(r), i = r.children) for (c = 0, h = i.length; c < h; ++c) l.push(i[c]);
|
|
27
|
-
for (; r = s.pop(); ) e.call(a, r, ++f, this);
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
function bt(e, a) {
|
|
31
|
-
let r = -1;
|
|
32
|
-
for (let l of this) if (e.call(a, l, ++r, this)) return l;
|
|
33
|
-
}
|
|
34
|
-
function Ct(e) {
|
|
35
|
-
return this.eachAfter(function(a) {
|
|
36
|
-
for (var r = +e(a.data) || 0, l = a.children, s = l && l.length; --s >= 0; ) r += l[s].value;
|
|
37
|
-
a.value = r;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
function wt(e) {
|
|
41
|
-
return this.eachBefore(function(a) {
|
|
42
|
-
a.children && a.children.sort(e);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function Lt(e) {
|
|
46
|
-
for (var a = this, r = Mt(a, e), l = [a]; a !== r; ) a = a.parent, l.push(a);
|
|
47
|
-
for (var s = l.length; e !== r; ) l.splice(s, 0, e), e = e.parent;
|
|
48
|
-
return l;
|
|
49
|
-
}
|
|
50
|
-
function Mt(e, a) {
|
|
51
|
-
if (e === a) return e;
|
|
52
|
-
var r = e.ancestors(), l = a.ancestors(), s = null;
|
|
53
|
-
for (e = r.pop(), a = l.pop(); e === a; ) s = e, e = r.pop(), a = l.pop();
|
|
54
|
-
return s;
|
|
55
|
-
}
|
|
56
|
-
function Tt() {
|
|
57
|
-
for (var e = this, a = [e]; e = e.parent; ) a.push(e);
|
|
58
|
-
return a;
|
|
59
|
-
}
|
|
60
|
-
function kt() {
|
|
61
|
-
return Array.from(this);
|
|
62
|
-
}
|
|
63
|
-
function zt() {
|
|
64
|
-
var e = [];
|
|
65
|
-
return this.eachBefore(function(a) {
|
|
66
|
-
a.children || e.push(a);
|
|
67
|
-
}), e;
|
|
68
|
-
}
|
|
69
|
-
function Ft() {
|
|
70
|
-
var e = this, a = [];
|
|
71
|
-
return e.each(function(r) {
|
|
72
|
-
r !== e && a.push({
|
|
73
|
-
source: r.parent,
|
|
74
|
-
target: r
|
|
75
|
-
});
|
|
76
|
-
}), a;
|
|
77
|
-
}
|
|
78
|
-
function* At() {
|
|
79
|
-
var e = this, a, r = [e], l, s, i;
|
|
80
|
-
do
|
|
81
|
-
for (a = r.reverse(), r = []; e = a.pop(); ) if (yield e, l = e.children) for (s = 0, i = l.length; s < i; ++s) r.push(l[s]);
|
|
82
|
-
while (r.length);
|
|
83
|
-
}
|
|
84
|
-
function Q(e, a) {
|
|
85
|
-
e instanceof Map ? (e = [void 0, e], a === void 0 && (a = Bt)) : a === void 0 && (a = Nt);
|
|
86
|
-
for (var r = new j(e), l, s = [r], i, c, h, f; l = s.pop(); ) if ((c = a(l.data)) && (f = (c = Array.from(c)).length)) for (l.children = c, h = f - 1; h >= 0; --h) s.push(i = c[h] = new j(c[h])), i.parent = l, i.depth = l.depth + 1;
|
|
87
|
-
return r.eachBefore(Dt);
|
|
88
|
-
}
|
|
89
|
-
function Pt() {
|
|
90
|
-
return Q(this).eachBefore(Wt);
|
|
91
|
-
}
|
|
92
|
-
function Nt(e) {
|
|
93
|
-
return e.children;
|
|
94
|
-
}
|
|
95
|
-
function Bt(e) {
|
|
96
|
-
return Array.isArray(e) ? e[1] : null;
|
|
97
|
-
}
|
|
98
|
-
function Wt(e) {
|
|
99
|
-
e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
|
|
100
|
-
}
|
|
101
|
-
function Dt(e) {
|
|
102
|
-
var a = 0;
|
|
103
|
-
do
|
|
104
|
-
e.height = a;
|
|
105
|
-
while ((e = e.parent) && e.height < ++a);
|
|
106
|
-
}
|
|
107
|
-
function j(e) {
|
|
108
|
-
this.data = e, this.depth = this.height = 0, this.parent = null;
|
|
109
|
-
}
|
|
110
|
-
j.prototype = Q.prototype = {
|
|
111
|
-
constructor: j,
|
|
112
|
-
count: xt,
|
|
113
|
-
each: St,
|
|
114
|
-
eachAfter: $t,
|
|
115
|
-
eachBefore: vt,
|
|
116
|
-
find: bt,
|
|
117
|
-
sum: Ct,
|
|
118
|
-
sort: wt,
|
|
119
|
-
path: Lt,
|
|
120
|
-
ancestors: Tt,
|
|
121
|
-
descendants: kt,
|
|
122
|
-
leaves: zt,
|
|
123
|
-
links: Ft,
|
|
124
|
-
copy: Pt,
|
|
125
|
-
[Symbol.iterator]: At
|
|
126
|
-
};
|
|
127
|
-
function It(e) {
|
|
128
|
-
if (typeof e != "function") throw Error();
|
|
129
|
-
return e;
|
|
130
|
-
}
|
|
131
|
-
function R() {
|
|
132
|
-
return 0;
|
|
133
|
-
}
|
|
134
|
-
function V(e) {
|
|
135
|
-
return function() {
|
|
136
|
-
return e;
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function Rt(e) {
|
|
140
|
-
e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
|
|
141
|
-
}
|
|
142
|
-
function Vt(e, a, r, l, s) {
|
|
143
|
-
for (var i = e.children, c, h = -1, f = i.length, o = e.value && (l - a) / e.value; ++h < f; ) c = i[h], c.y0 = r, c.y1 = s, c.x0 = a, c.x1 = a += c.value * o;
|
|
144
|
-
}
|
|
145
|
-
function Et(e, a, r, l, s) {
|
|
146
|
-
for (var i = e.children, c, h = -1, f = i.length, o = e.value && (s - r) / e.value; ++h < f; ) c = i[h], c.x0 = a, c.x1 = l, c.y0 = r, c.y1 = r += c.value * o;
|
|
147
|
-
}
|
|
148
|
-
var Ht = (1 + Math.sqrt(5)) / 2;
|
|
149
|
-
function Gt(e, a, r, l, s, i) {
|
|
150
|
-
for (var c = [], h = a.children, f, o, p = 0, v = 0, n = h.length, S, g, x = a.value, u, y, z, T, F, W, M; p < n; ) {
|
|
151
|
-
S = s - r, g = i - l;
|
|
152
|
-
do
|
|
153
|
-
u = h[v++].value;
|
|
154
|
-
while (!u && v < n);
|
|
155
|
-
for (y = z = u, W = Math.max(g / S, S / g) / (x * e), M = u * u * W, F = Math.max(z / M, M / y); v < n; ++v) {
|
|
156
|
-
if (u += o = h[v].value, o < y && (y = o), o > z && (z = o), M = u * u * W, T = Math.max(z / M, M / y), T > F) {
|
|
157
|
-
u -= o;
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
F = T;
|
|
161
|
-
}
|
|
162
|
-
c.push(f = {
|
|
163
|
-
value: u,
|
|
164
|
-
dice: S < g,
|
|
165
|
-
children: h.slice(p, v)
|
|
166
|
-
}), f.dice ? Vt(f, r, l, s, x ? l += g * u / x : i) : Et(f, r, l, x ? r += S * u / x : s, i), x -= u, p = v;
|
|
167
|
-
}
|
|
168
|
-
return c;
|
|
169
|
-
}
|
|
170
|
-
var qt = (function e(a) {
|
|
171
|
-
function r(l, s, i, c, h) {
|
|
172
|
-
Gt(a, l, s, i, c, h);
|
|
173
|
-
}
|
|
174
|
-
return r.ratio = function(l) {
|
|
175
|
-
return e((l = +l) > 1 ? l : 1);
|
|
176
|
-
}, r;
|
|
177
|
-
})(Ht);
|
|
178
|
-
function jt() {
|
|
179
|
-
var e = qt, a = !1, r = 1, l = 1, s = [0], i = R, c = R, h = R, f = R, o = R;
|
|
180
|
-
function p(n) {
|
|
181
|
-
return n.x0 = n.y0 = 0, n.x1 = r, n.y1 = l, n.eachBefore(v), s = [0], a && n.eachBefore(Rt), n;
|
|
182
|
-
}
|
|
183
|
-
function v(n) {
|
|
184
|
-
var S = s[n.depth], g = n.x0 + S, x = n.y0 + S, u = n.x1 - S, y = n.y1 - S;
|
|
185
|
-
u < g && (g = u = (g + u) / 2), y < x && (x = y = (x + y) / 2), n.x0 = g, n.y0 = x, n.x1 = u, n.y1 = y, n.children && (S = s[n.depth + 1] = i(n) / 2, g += o(n) - S, x += c(n) - S, u -= h(n) - S, y -= f(n) - S, u < g && (g = u = (g + u) / 2), y < x && (x = y = (x + y) / 2), e(n, g, x, u, y));
|
|
186
|
-
}
|
|
187
|
-
return p.round = function(n) {
|
|
188
|
-
return arguments.length ? (a = !!n, p) : a;
|
|
189
|
-
}, p.size = function(n) {
|
|
190
|
-
return arguments.length ? (r = +n[0], l = +n[1], p) : [r, l];
|
|
191
|
-
}, p.tile = function(n) {
|
|
192
|
-
return arguments.length ? (e = It(n), p) : e;
|
|
193
|
-
}, p.padding = function(n) {
|
|
194
|
-
return arguments.length ? p.paddingInner(n).paddingOuter(n) : p.paddingInner();
|
|
195
|
-
}, p.paddingInner = function(n) {
|
|
196
|
-
return arguments.length ? (i = typeof n == "function" ? n : V(+n), p) : i;
|
|
197
|
-
}, p.paddingOuter = function(n) {
|
|
198
|
-
return arguments.length ? p.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n) : p.paddingTop();
|
|
199
|
-
}, p.paddingTop = function(n) {
|
|
200
|
-
return arguments.length ? (c = typeof n == "function" ? n : V(+n), p) : c;
|
|
201
|
-
}, p.paddingRight = function(n) {
|
|
202
|
-
return arguments.length ? (h = typeof n == "function" ? n : V(+n), p) : h;
|
|
203
|
-
}, p.paddingBottom = function(n) {
|
|
204
|
-
return arguments.length ? (f = typeof n == "function" ? n : V(+n), p) : f;
|
|
205
|
-
}, p.paddingLeft = function(n) {
|
|
206
|
-
return arguments.length ? (o = typeof n == "function" ? n : V(+n), p) : o;
|
|
207
|
-
}, p;
|
|
208
|
-
}
|
|
209
|
-
var B, Y = (B = class {
|
|
210
|
-
constructor() {
|
|
211
|
-
this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = nt, this.getAccTitle = it, this.setDiagramTitle = st, this.getDiagramTitle = ot, this.getAccDescription = ct, this.setAccDescription = dt;
|
|
212
|
-
}
|
|
213
|
-
getNodes() {
|
|
214
|
-
return this.nodes;
|
|
215
|
-
}
|
|
216
|
-
getConfig() {
|
|
217
|
-
let a = ht, r = J();
|
|
218
|
-
return K({
|
|
219
|
-
...a.treemap,
|
|
220
|
-
...r.treemap ?? {}
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
addNode(a, r) {
|
|
224
|
-
this.nodes.push(a), this.levels.set(a, r), r === 0 && (this.outerNodes.push(a), this.root ??= a);
|
|
225
|
-
}
|
|
226
|
-
getRoot() {
|
|
227
|
-
return {
|
|
228
|
-
name: "",
|
|
229
|
-
children: this.outerNodes
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
addClass(a, r) {
|
|
233
|
-
let l = this.classes.get(a) ?? {
|
|
234
|
-
id: a,
|
|
235
|
-
styles: [],
|
|
236
|
-
textStyles: []
|
|
237
|
-
}, s = r.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
|
|
238
|
-
s && s.forEach((i) => {
|
|
239
|
-
pt(i) && (l?.textStyles ? l.textStyles.push(i) : l.textStyles = [i]), l?.styles ? l.styles.push(i) : l.styles = [i];
|
|
240
|
-
}), this.classes.set(a, l);
|
|
241
|
-
}
|
|
242
|
-
getClasses() {
|
|
243
|
-
return this.classes;
|
|
244
|
-
}
|
|
245
|
-
getStylesForClass(a) {
|
|
246
|
-
return this.classes.get(a)?.styles ?? [];
|
|
247
|
-
}
|
|
248
|
-
clear() {
|
|
249
|
-
ut(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
|
|
250
|
-
}
|
|
251
|
-
}, b(B, "TreeMapDB"), B);
|
|
252
|
-
function Z(e) {
|
|
253
|
-
if (!e.length) return [];
|
|
254
|
-
let a = [], r = [];
|
|
255
|
-
return e.forEach((l) => {
|
|
256
|
-
let s = {
|
|
257
|
-
name: l.name,
|
|
258
|
-
children: l.type === "Leaf" ? void 0 : []
|
|
259
|
-
};
|
|
260
|
-
for (s.classSelector = l?.classSelector, l?.cssCompiledStyles && (s.cssCompiledStyles = l.cssCompiledStyles), l.type === "Leaf" && l.value !== void 0 && (s.value = l.value); r.length > 0 && r[r.length - 1].level >= l.level; ) r.pop();
|
|
261
|
-
if (r.length === 0) a.push(s);
|
|
262
|
-
else {
|
|
263
|
-
let i = r[r.length - 1].node;
|
|
264
|
-
i.children ? i.children.push(s) : i.children = [s];
|
|
265
|
-
}
|
|
266
|
-
l.type !== "Leaf" && r.push({
|
|
267
|
-
node: s,
|
|
268
|
-
level: l.level
|
|
269
|
-
});
|
|
270
|
-
}), a;
|
|
271
|
-
}
|
|
272
|
-
b(Z, "buildHierarchy");
|
|
273
|
-
var Ot = /* @__PURE__ */ b((e, a) => {
|
|
274
|
-
ft(e, a);
|
|
275
|
-
let r = [];
|
|
276
|
-
for (let i of e.TreemapRows ?? []) i.$type === "ClassDefStatement" && a.addClass(i.className ?? "", i.styleText ?? "");
|
|
277
|
-
for (let i of e.TreemapRows ?? []) {
|
|
278
|
-
let c = i.item;
|
|
279
|
-
if (!c) continue;
|
|
280
|
-
let h = i.indent ? parseInt(i.indent) : 0, f = Kt(c), o = c.classSelector ? a.getStylesForClass(c.classSelector) : [], p = o.length > 0 ? o : void 0, v = {
|
|
281
|
-
level: h,
|
|
282
|
-
name: f,
|
|
283
|
-
type: c.$type,
|
|
284
|
-
value: c.value,
|
|
285
|
-
classSelector: c.classSelector,
|
|
286
|
-
cssCompiledStyles: p
|
|
287
|
-
};
|
|
288
|
-
r.push(v);
|
|
289
|
-
}
|
|
290
|
-
let l = Z(r), s = /* @__PURE__ */ b((i, c) => {
|
|
291
|
-
for (let h of i) a.addNode(h, c), h.children && h.children.length > 0 && s(h.children, c + 1);
|
|
292
|
-
}, "addNodesRecursively");
|
|
293
|
-
s(l, 0);
|
|
294
|
-
}, "populate"), Kt = /* @__PURE__ */ b((e) => e.name ? String(e.name) : "", "getItemName"), _ = {
|
|
295
|
-
parser: { yy: void 0 },
|
|
296
|
-
parse: /* @__PURE__ */ b(async (e) => {
|
|
297
|
-
try {
|
|
298
|
-
let a = await mt("treemap", e);
|
|
299
|
-
U.debug("Treemap AST:", a);
|
|
300
|
-
let r = _.parser?.yy;
|
|
301
|
-
if (!(r instanceof Y)) throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
|
|
302
|
-
Ot(a, r);
|
|
303
|
-
} catch (a) {
|
|
304
|
-
throw U.error("Error parsing treemap:", a), a;
|
|
305
|
-
}
|
|
306
|
-
}, "parse")
|
|
307
|
-
}, Ut = 10, N = 10, E = 25, Jt = {
|
|
308
|
-
draw: /* @__PURE__ */ b((e, a, r, l) => {
|
|
309
|
-
let s = l.db, i = s.getConfig(), c = i.padding ?? Ut, h = s.getDiagramTitle(), f = s.getRoot(), { themeVariables: o } = J();
|
|
310
|
-
if (!f) return;
|
|
311
|
-
let p = h ? 30 : 0, v = rt(a), n = i.nodeWidth ? i.nodeWidth * N : 960, S = i.nodeHeight ? i.nodeHeight * N : 500, g = n, x = S + p;
|
|
312
|
-
v.attr("viewBox", `0 0 ${g} ${x}`), lt(v, x, g, i.useMaxWidth);
|
|
313
|
-
let u;
|
|
314
|
-
try {
|
|
315
|
-
let t = i.valueFormat || ",";
|
|
316
|
-
if (t === "$0,0") u = /* @__PURE__ */ b((d) => "$" + I(",")(d), "valueFormat");
|
|
317
|
-
else if (t.startsWith("$") && t.includes(",")) {
|
|
318
|
-
let d = /\.\d+/.exec(t), $ = d ? d[0] : "";
|
|
319
|
-
u = /* @__PURE__ */ b((w) => "$" + I("," + $)(w), "valueFormat");
|
|
320
|
-
} else if (t.startsWith("$")) {
|
|
321
|
-
let d = t.substring(1);
|
|
322
|
-
u = /* @__PURE__ */ b(($) => "$" + I(d || "")($), "valueFormat");
|
|
323
|
-
} else u = I(t);
|
|
324
|
-
} catch (t) {
|
|
325
|
-
U.error("Error creating format function:", t), u = I(",");
|
|
326
|
-
}
|
|
327
|
-
let y = O().range([
|
|
328
|
-
"transparent",
|
|
329
|
-
o.cScale0,
|
|
330
|
-
o.cScale1,
|
|
331
|
-
o.cScale2,
|
|
332
|
-
o.cScale3,
|
|
333
|
-
o.cScale4,
|
|
334
|
-
o.cScale5,
|
|
335
|
-
o.cScale6,
|
|
336
|
-
o.cScale7,
|
|
337
|
-
o.cScale8,
|
|
338
|
-
o.cScale9,
|
|
339
|
-
o.cScale10,
|
|
340
|
-
o.cScale11
|
|
341
|
-
]), z = O().range([
|
|
342
|
-
"transparent",
|
|
343
|
-
o.cScalePeer0,
|
|
344
|
-
o.cScalePeer1,
|
|
345
|
-
o.cScalePeer2,
|
|
346
|
-
o.cScalePeer3,
|
|
347
|
-
o.cScalePeer4,
|
|
348
|
-
o.cScalePeer5,
|
|
349
|
-
o.cScalePeer6,
|
|
350
|
-
o.cScalePeer7,
|
|
351
|
-
o.cScalePeer8,
|
|
352
|
-
o.cScalePeer9,
|
|
353
|
-
o.cScalePeer10,
|
|
354
|
-
o.cScalePeer11
|
|
355
|
-
]), T = O().range([
|
|
356
|
-
o.cScaleLabel0,
|
|
357
|
-
o.cScaleLabel1,
|
|
358
|
-
o.cScaleLabel2,
|
|
359
|
-
o.cScaleLabel3,
|
|
360
|
-
o.cScaleLabel4,
|
|
361
|
-
o.cScaleLabel5,
|
|
362
|
-
o.cScaleLabel6,
|
|
363
|
-
o.cScaleLabel7,
|
|
364
|
-
o.cScaleLabel8,
|
|
365
|
-
o.cScaleLabel9,
|
|
366
|
-
o.cScaleLabel10,
|
|
367
|
-
o.cScaleLabel11
|
|
368
|
-
]);
|
|
369
|
-
h && v.append("text").attr("x", g / 2).attr("y", p / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(h);
|
|
370
|
-
let F = v.append("g").attr("transform", `translate(0, ${p})`).attr("class", "treemapContainer"), W = Q(f).sum((t) => t.value ?? 0).sort((t, d) => (d.value ?? 0) - (t.value ?? 0)), M = jt().size([n, S]).paddingTop((t) => t.children && t.children.length > 0 ? E + N : 0).paddingInner(c).paddingLeft((t) => t.children && t.children.length > 0 ? N : 0).paddingRight((t) => t.children && t.children.length > 0 ? N : 0).paddingBottom((t) => t.children && t.children.length > 0 ? N : 0).round(!0)(W), tt = M.descendants().filter((t) => t.children && t.children.length > 0), D = F.selectAll(".treemapSection").data(tt).enter().append("g").attr("class", "treemapSection").attr("transform", (t) => `translate(${t.x0},${t.y0})`);
|
|
371
|
-
D.append("rect").attr("width", (t) => t.x1 - t.x0).attr("height", E).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (t) => t.depth === 0 ? "display: none;" : ""), D.append("clipPath").attr("id", (t, d) => `clip-section-${a}-${d}`).append("rect").attr("width", (t) => Math.max(0, t.x1 - t.x0 - 12)).attr("height", E), D.append("rect").attr("width", (t) => t.x1 - t.x0).attr("height", (t) => t.y1 - t.y0).attr("class", (t, d) => `treemapSection section${d}`).attr("fill", (t) => y(t.data.name)).attr("fill-opacity", 0.6).attr("stroke", (t) => z(t.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (t) => {
|
|
372
|
-
if (t.depth === 0) return "display: none;";
|
|
373
|
-
let d = P({ cssCompiledStyles: t.data.cssCompiledStyles });
|
|
374
|
-
return d.nodeStyles + ";" + d.borderStyles.join(";");
|
|
375
|
-
}), D.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", E / 2).attr("dominant-baseline", "middle").text((t) => t.depth === 0 ? "" : t.data.name).attr("font-weight", "bold").attr("style", (t) => t.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + T(t.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + P({ cssCompiledStyles: t.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(t) {
|
|
376
|
-
if (t.depth === 0) return;
|
|
377
|
-
let d = q(this), $ = t.data.name;
|
|
378
|
-
d.text($);
|
|
379
|
-
let w = t.x1 - t.x0, k;
|
|
380
|
-
k = i.showValues !== !1 && t.value ? w - 10 - 30 - 10 - 6 : w - 6 - 6;
|
|
381
|
-
let C = Math.max(15, k), L = d.node();
|
|
382
|
-
if (L.getComputedTextLength() > C) {
|
|
383
|
-
let m = $;
|
|
384
|
-
for (; m.length > 0; ) {
|
|
385
|
-
if (m = $.substring(0, m.length - 1), m.length === 0) {
|
|
386
|
-
d.text("..."), L.getComputedTextLength() > C && d.text("");
|
|
387
|
-
break;
|
|
388
|
-
}
|
|
389
|
-
if (d.text(m + "..."), L.getComputedTextLength() <= C) break;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
}), i.showValues !== !1 && D.append("text").attr("class", "treemapSectionValue").attr("x", (t) => t.x1 - t.x0 - 10).attr("y", E / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((t) => t.value ? u(t.value) : "").attr("font-style", "italic").attr("style", (t) => t.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + T(t.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + P({ cssCompiledStyles: t.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
|
|
393
|
-
let et = M.leaves(), H = F.selectAll(".treemapLeafGroup").data(et).enter().append("g").attr("class", (t, d) => `treemapNode treemapLeafGroup leaf${d}${t.data.classSelector ? ` ${t.data.classSelector}` : ""}x`).attr("transform", (t) => `translate(${t.x0},${t.y0})`);
|
|
394
|
-
H.append("rect").attr("width", (t) => t.x1 - t.x0).attr("height", (t) => t.y1 - t.y0).attr("class", "treemapLeaf").attr("fill", (t) => t.parent ? y(t.parent.data.name) : y(t.data.name)).attr("style", (t) => P({ cssCompiledStyles: t.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (t) => t.parent ? y(t.parent.data.name) : y(t.data.name)).attr("stroke-width", 3), H.append("clipPath").attr("id", (t, d) => `clip-${a}-${d}`).append("rect").attr("width", (t) => Math.max(0, t.x1 - t.x0 - 4)).attr("height", (t) => Math.max(0, t.y1 - t.y0 - 4)), H.append("text").attr("class", "treemapLabel").attr("x", (t) => (t.x1 - t.x0) / 2).attr("y", (t) => (t.y1 - t.y0) / 2).attr("style", (t) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + T(t.data.name) + ";" + P({ cssCompiledStyles: t.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (t, d) => `url(#clip-${a}-${d})`).text((t) => t.data.name).each(function(t) {
|
|
395
|
-
let d = q(this), $ = t.x1 - t.x0, w = t.y1 - t.y0, k = d.node(), C = $ - 8, L = w - 8;
|
|
396
|
-
if (C < 10 || L < 10) {
|
|
397
|
-
d.style("display", "none");
|
|
398
|
-
return;
|
|
399
|
-
}
|
|
400
|
-
let m = parseInt(d.style("font-size"), 10), G = 0.6;
|
|
401
|
-
for (; k.getComputedTextLength() > C && m > 8; ) m--, d.style("font-size", `${m}px`);
|
|
402
|
-
let A = Math.max(6, Math.min(28, Math.round(m * G))), X = m + 2 + A;
|
|
403
|
-
for (; X > L && m > 8 && (m--, A = Math.max(6, Math.min(28, Math.round(m * G))), !(A < 6 && m === 8)); ) d.style("font-size", `${m}px`), X = m + 2 + A;
|
|
404
|
-
d.style("font-size", `${m}px`), (k.getComputedTextLength() > C || m < 8 || L < m) && d.style("display", "none");
|
|
405
|
-
}), i.showValues !== !1 && H.append("text").attr("class", "treemapValue").attr("x", (t) => (t.x1 - t.x0) / 2).attr("y", function(t) {
|
|
406
|
-
return (t.y1 - t.y0) / 2;
|
|
407
|
-
}).attr("style", (t) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + T(t.data.name) + ";" + P({ cssCompiledStyles: t.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (t, d) => `url(#clip-${a}-${d})`).text((t) => t.value ? u(t.value) : "").each(function(t) {
|
|
408
|
-
let d = q(this), $ = this.parentNode;
|
|
409
|
-
if (!$) {
|
|
410
|
-
d.style("display", "none");
|
|
411
|
-
return;
|
|
412
|
-
}
|
|
413
|
-
let w = q($).select(".treemapLabel");
|
|
414
|
-
if (w.empty() || w.style("display") === "none") {
|
|
415
|
-
d.style("display", "none");
|
|
416
|
-
return;
|
|
417
|
-
}
|
|
418
|
-
let k = parseFloat(w.style("font-size")), C = Math.max(6, Math.min(28, Math.round(k * 0.6)));
|
|
419
|
-
d.style("font-size", `${C}px`);
|
|
420
|
-
let L = (t.y1 - t.y0) / 2 + k / 2 + 2;
|
|
421
|
-
d.attr("y", L);
|
|
422
|
-
let m = t.x1 - t.x0, G = t.y1 - t.y0 - 4, A = m - 8;
|
|
423
|
-
d.node().getComputedTextLength() > A || L + C > G || C < 6 ? d.style("display", "none") : d.style("display", null);
|
|
424
|
-
}), yt(v, i.diagramPadding ?? 8, "flowchart", i?.useMaxWidth || !1);
|
|
425
|
-
}, "draw"),
|
|
426
|
-
getClasses: /* @__PURE__ */ b(function(e, a) {
|
|
427
|
-
return a.db.getClasses();
|
|
428
|
-
}, "getClasses")
|
|
429
|
-
}, Qt = {
|
|
430
|
-
sectionStrokeColor: "black",
|
|
431
|
-
sectionStrokeWidth: "1",
|
|
432
|
-
sectionFillColor: "#efefef",
|
|
433
|
-
leafStrokeColor: "black",
|
|
434
|
-
leafStrokeWidth: "1",
|
|
435
|
-
leafFillColor: "#efefef",
|
|
436
|
-
labelFontSize: "12px",
|
|
437
|
-
valueFontSize: "10px",
|
|
438
|
-
titleFontSize: "14px"
|
|
439
|
-
}, ae = {
|
|
440
|
-
parser: _,
|
|
441
|
-
get db() {
|
|
442
|
-
return new Y();
|
|
443
|
-
},
|
|
444
|
-
renderer: Jt,
|
|
445
|
-
styles: /* @__PURE__ */ b(({ treemap: e } = {}) => {
|
|
446
|
-
let a = K(at(), J().themeVariables), r = K(Qt, e), l = r.titleColor ?? a.titleColor, s = r.labelColor ?? a.textColor, i = r.valueColor ?? a.textColor;
|
|
447
|
-
return `
|
|
448
|
-
.treemapNode.section {
|
|
449
|
-
stroke: ${r.sectionStrokeColor};
|
|
450
|
-
stroke-width: ${r.sectionStrokeWidth};
|
|
451
|
-
fill: ${r.sectionFillColor};
|
|
452
|
-
}
|
|
453
|
-
.treemapNode.leaf {
|
|
454
|
-
stroke: ${r.leafStrokeColor};
|
|
455
|
-
stroke-width: ${r.leafStrokeWidth};
|
|
456
|
-
fill: ${r.leafFillColor};
|
|
457
|
-
}
|
|
458
|
-
.treemapLabel {
|
|
459
|
-
fill: ${s};
|
|
460
|
-
font-size: ${r.labelFontSize};
|
|
461
|
-
}
|
|
462
|
-
.treemapValue {
|
|
463
|
-
fill: ${i};
|
|
464
|
-
font-size: ${r.valueFontSize};
|
|
465
|
-
}
|
|
466
|
-
.treemapTitle {
|
|
467
|
-
fill: ${l};
|
|
468
|
-
font-size: ${r.titleFontSize};
|
|
469
|
-
}
|
|
470
|
-
`;
|
|
471
|
-
}, "getStyles")
|
|
472
|
-
};
|
|
473
|
-
export {
|
|
474
|
-
ae as diagram
|
|
475
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var n = [Object.freeze(JSON.parse('{"displayName":"Diff","name":"diff","patterns":[{"captures":{"1":{"name":"punctuation.definition.separator.diff"}},"match":"^((\\\\*{15})|(={67})|(-{3}))$\\\\n?","name":"meta.separator.diff"},{"match":"^\\\\d+(,\\\\d+)*([acd])\\\\d+(,\\\\d+)*$\\\\n?","name":"meta.diff.range.normal"},{"captures":{"1":{"name":"punctuation.definition.range.diff"},"2":{"name":"meta.toc-list.line-number.diff"},"3":{"name":"punctuation.definition.range.diff"}},"match":"^(@@)\\\\s*(.+?)\\\\s*(@@)($\\\\n?)?","name":"meta.diff.range.unified"},{"captures":{"3":{"name":"punctuation.definition.range.diff"},"4":{"name":"punctuation.definition.range.diff"},"6":{"name":"punctuation.definition.range.diff"},"7":{"name":"punctuation.definition.range.diff"}},"match":"^(((-{3}) .+ (-{4}))|((\\\\*{3}) .+ (\\\\*{4})))$\\\\n?","name":"meta.diff.range.context"},{"match":"^diff --git a/.*$\\\\n?","name":"meta.diff.header.git"},{"match":"^diff (-|\\\\S+\\\\s+\\\\S+).*$\\\\n?","name":"meta.diff.header.command"},{"captures":{"4":{"name":"punctuation.definition.from-file.diff"},"6":{"name":"punctuation.definition.from-file.diff"},"7":{"name":"punctuation.definition.from-file.diff"}},"match":"^((((-{3}) .+)|((\\\\*{3}) .+))$\\\\n?|(={4}) .+(?= - ))","name":"meta.diff.header.from-file"},{"captures":{"2":{"name":"punctuation.definition.to-file.diff"},"3":{"name":"punctuation.definition.to-file.diff"},"4":{"name":"punctuation.definition.to-file.diff"}},"match":"(^(\\\\+{3}) .+$\\\\n?| (-) .* (={4})$\\\\n?)","name":"meta.diff.header.to-file"},{"captures":{"3":{"name":"punctuation.definition.inserted.diff"},"6":{"name":"punctuation.definition.inserted.diff"}},"match":"^(((>)( .*)?)|((\\\\+).*))$\\\\n?","name":"markup.inserted.diff"},{"captures":{"1":{"name":"punctuation.definition.changed.diff"}},"match":"^(!).*$\\\\n?","name":"markup.changed.diff"},{"captures":{"3":{"name":"punctuation.definition.deleted.diff"},"6":{"name":"punctuation.definition.deleted.diff"}},"match":"^(((<)( .*)?)|((-).*))$\\\\n?","name":"markup.deleted.diff"},{"begin":"^(#)","captures":{"1":{"name":"punctuation.definition.comment.diff"}},"end":"\\\\n","name":"comment.line.number-sign.diff"},{"match":"^index [0-9a-f]{7,40}\\\\.\\\\.[0-9a-f]{7,40}.*$\\\\n?","name":"meta.diff.index.git"},{"captures":{"1":{"name":"punctuation.separator.key-value.diff"},"2":{"name":"meta.toc-list.file-name.diff"}},"match":"^Index(:) (.+)$\\\\n?","name":"meta.diff.index"},{"match":"^Only in .*: .*$\\\\n?","name":"meta.diff.only-in"}],"scopeName":"source.diff"}'))];
|
|
2
|
-
export {
|
|
3
|
-
n as default
|
|
4
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var e = [Object.freeze(JSON.parse(`{"displayName":"Dockerfile","name":"docker","patterns":[{"captures":{"1":{"name":"keyword.other.special-method.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*\\\\b(?i:(FROM))\\\\b.*?\\\\b(?i:(AS))\\\\b"},{"captures":{"1":{"name":"keyword.control.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*(?i:(ONBUILD)\\\\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\\\\s"},{"captures":{"1":{"name":"keyword.operator.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*(?i:(ONBUILD)\\\\s+)?(?i:(CMD|ENTRYPOINT))\\\\s"},{"include":"#string-character-escape"},{"begin":"\\"","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"\\"","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.double.dockerfile","patterns":[{"include":"#string-character-escape"}]},{"begin":"'","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"'","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.single.dockerfile","patterns":[{"include":"#string-character-escape"}]},{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.dockerfile"},"2":{"name":"comment.line.number-sign.dockerfile"},"3":{"name":"punctuation.definition.comment.dockerfile"}},"match":"^(\\\\s*)((#).*$\\\\n?)"}],"repository":{"string-character-escape":{"match":"\\\\\\\\.","name":"constant.character.escaped.dockerfile"}},"scopeName":"source.dockerfile","aliases":["dockerfile"]}`))];
|
|
2
|
-
export {
|
|
3
|
-
e as default
|
|
4
|
-
};
|