@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,1773 +0,0 @@
|
|
|
1
|
-
import { p as u, k as Bt, U as Ft, W as Yt, G as Pt, K as zt, f as Gt, i as Kt, Z as it, g as v, H as Ut, I as Zt, n as Wt, d as jt, e as Xt, q as qt, N as Ht } from "./index-DfVKdDwj.js";
|
|
2
|
-
import { n as Qt } from "./channel-DM9j7IFL-DxqBUxfY.js";
|
|
3
|
-
import { n as Jt } from "./chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js";
|
|
4
|
-
import { r as Vt } from "./chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js";
|
|
5
|
-
var gt = (function() {
|
|
6
|
-
var s = /* @__PURE__ */ u(function(n, y, l, r) {
|
|
7
|
-
for (l ||= {}, r = n.length; r--; l[n[r]] = y) ;
|
|
8
|
-
return l;
|
|
9
|
-
}, "o"), i = [
|
|
10
|
-
6,
|
|
11
|
-
8,
|
|
12
|
-
10,
|
|
13
|
-
22,
|
|
14
|
-
24,
|
|
15
|
-
26,
|
|
16
|
-
28,
|
|
17
|
-
33,
|
|
18
|
-
34,
|
|
19
|
-
35,
|
|
20
|
-
36,
|
|
21
|
-
37,
|
|
22
|
-
40,
|
|
23
|
-
43,
|
|
24
|
-
44,
|
|
25
|
-
48,
|
|
26
|
-
50,
|
|
27
|
-
51,
|
|
28
|
-
52
|
|
29
|
-
], a = [1, 10], c = [1, 11], o = [1, 12], d = [1, 13], p = [1, 23], h = [1, 24], E = [1, 25], W = [1, 26], j = [1, 27], O = [1, 19], L = [1, 28], X = [1, 29], T = [1, 20], I = [1, 18], M = [1, 21], w = [1, 22], nt = [1, 36], at = [1, 37], ot = [1, 38], lt = [1, 39], ct = [1, 40], B = [
|
|
30
|
-
6,
|
|
31
|
-
8,
|
|
32
|
-
10,
|
|
33
|
-
13,
|
|
34
|
-
15,
|
|
35
|
-
17,
|
|
36
|
-
20,
|
|
37
|
-
21,
|
|
38
|
-
22,
|
|
39
|
-
24,
|
|
40
|
-
26,
|
|
41
|
-
28,
|
|
42
|
-
33,
|
|
43
|
-
34,
|
|
44
|
-
35,
|
|
45
|
-
36,
|
|
46
|
-
37,
|
|
47
|
-
40,
|
|
48
|
-
43,
|
|
49
|
-
44,
|
|
50
|
-
48,
|
|
51
|
-
50,
|
|
52
|
-
51,
|
|
53
|
-
52,
|
|
54
|
-
65,
|
|
55
|
-
66,
|
|
56
|
-
67,
|
|
57
|
-
68,
|
|
58
|
-
69
|
|
59
|
-
], N = [1, 45], S = [1, 46], F = [1, 55], Y = [
|
|
60
|
-
40,
|
|
61
|
-
48,
|
|
62
|
-
50,
|
|
63
|
-
51,
|
|
64
|
-
52,
|
|
65
|
-
70,
|
|
66
|
-
71
|
|
67
|
-
], P = [1, 66], z = [1, 64], A = [1, 61], G = [1, 65], K = [1, 67], q = [
|
|
68
|
-
6,
|
|
69
|
-
8,
|
|
70
|
-
10,
|
|
71
|
-
13,
|
|
72
|
-
17,
|
|
73
|
-
22,
|
|
74
|
-
24,
|
|
75
|
-
26,
|
|
76
|
-
28,
|
|
77
|
-
33,
|
|
78
|
-
34,
|
|
79
|
-
35,
|
|
80
|
-
36,
|
|
81
|
-
37,
|
|
82
|
-
40,
|
|
83
|
-
41,
|
|
84
|
-
42,
|
|
85
|
-
43,
|
|
86
|
-
44,
|
|
87
|
-
48,
|
|
88
|
-
49,
|
|
89
|
-
50,
|
|
90
|
-
51,
|
|
91
|
-
52,
|
|
92
|
-
65,
|
|
93
|
-
66,
|
|
94
|
-
67,
|
|
95
|
-
68,
|
|
96
|
-
69
|
|
97
|
-
], bt = [
|
|
98
|
-
65,
|
|
99
|
-
66,
|
|
100
|
-
67,
|
|
101
|
-
68,
|
|
102
|
-
69
|
|
103
|
-
], ft = [1, 84], mt = [1, 83], Et = [1, 81], kt = [1, 82], Ot = [
|
|
104
|
-
6,
|
|
105
|
-
10,
|
|
106
|
-
42,
|
|
107
|
-
47
|
|
108
|
-
], C = [
|
|
109
|
-
6,
|
|
110
|
-
10,
|
|
111
|
-
13,
|
|
112
|
-
41,
|
|
113
|
-
42,
|
|
114
|
-
47,
|
|
115
|
-
48,
|
|
116
|
-
49
|
|
117
|
-
], H = [1, 92], Q = [1, 91], J = [1, 90], U = [19, 58], Tt = [1, 101], Nt = [1, 100], ht = [
|
|
118
|
-
19,
|
|
119
|
-
58,
|
|
120
|
-
60,
|
|
121
|
-
62
|
|
122
|
-
], ut = {
|
|
123
|
-
trace: /* @__PURE__ */ u(function() {
|
|
124
|
-
}, "trace"),
|
|
125
|
-
yy: {},
|
|
126
|
-
symbols_: {
|
|
127
|
-
error: 2,
|
|
128
|
-
start: 3,
|
|
129
|
-
ER_DIAGRAM: 4,
|
|
130
|
-
document: 5,
|
|
131
|
-
EOF: 6,
|
|
132
|
-
line: 7,
|
|
133
|
-
SPACE: 8,
|
|
134
|
-
statement: 9,
|
|
135
|
-
NEWLINE: 10,
|
|
136
|
-
entityName: 11,
|
|
137
|
-
relSpec: 12,
|
|
138
|
-
COLON: 13,
|
|
139
|
-
role: 14,
|
|
140
|
-
STYLE_SEPARATOR: 15,
|
|
141
|
-
idList: 16,
|
|
142
|
-
BLOCK_START: 17,
|
|
143
|
-
attributes: 18,
|
|
144
|
-
BLOCK_STOP: 19,
|
|
145
|
-
SQS: 20,
|
|
146
|
-
SQE: 21,
|
|
147
|
-
title: 22,
|
|
148
|
-
title_value: 23,
|
|
149
|
-
acc_title: 24,
|
|
150
|
-
acc_title_value: 25,
|
|
151
|
-
acc_descr: 26,
|
|
152
|
-
acc_descr_value: 27,
|
|
153
|
-
acc_descr_multiline_value: 28,
|
|
154
|
-
direction: 29,
|
|
155
|
-
classDefStatement: 30,
|
|
156
|
-
classStatement: 31,
|
|
157
|
-
styleStatement: 32,
|
|
158
|
-
direction_tb: 33,
|
|
159
|
-
direction_bt: 34,
|
|
160
|
-
direction_rl: 35,
|
|
161
|
-
direction_lr: 36,
|
|
162
|
-
CLASSDEF: 37,
|
|
163
|
-
stylesOpt: 38,
|
|
164
|
-
separator: 39,
|
|
165
|
-
UNICODE_TEXT: 40,
|
|
166
|
-
STYLE_TEXT: 41,
|
|
167
|
-
COMMA: 42,
|
|
168
|
-
CLASS: 43,
|
|
169
|
-
STYLE: 44,
|
|
170
|
-
style: 45,
|
|
171
|
-
styleComponent: 46,
|
|
172
|
-
SEMI: 47,
|
|
173
|
-
NUM: 48,
|
|
174
|
-
BRKT: 49,
|
|
175
|
-
ENTITY_NAME: 50,
|
|
176
|
-
DECIMAL_NUM: 51,
|
|
177
|
-
ENTITY_ONE: 52,
|
|
178
|
-
attribute: 53,
|
|
179
|
-
attributeType: 54,
|
|
180
|
-
attributeName: 55,
|
|
181
|
-
attributeKeyTypeList: 56,
|
|
182
|
-
attributeComment: 57,
|
|
183
|
-
ATTRIBUTE_WORD: 58,
|
|
184
|
-
attributeKeyType: 59,
|
|
185
|
-
",": 60,
|
|
186
|
-
ATTRIBUTE_KEY: 61,
|
|
187
|
-
COMMENT: 62,
|
|
188
|
-
cardinality: 63,
|
|
189
|
-
relType: 64,
|
|
190
|
-
ZERO_OR_ONE: 65,
|
|
191
|
-
ZERO_OR_MORE: 66,
|
|
192
|
-
ONE_OR_MORE: 67,
|
|
193
|
-
ONLY_ONE: 68,
|
|
194
|
-
MD_PARENT: 69,
|
|
195
|
-
NON_IDENTIFYING: 70,
|
|
196
|
-
IDENTIFYING: 71,
|
|
197
|
-
WORD: 72,
|
|
198
|
-
$accept: 0,
|
|
199
|
-
$end: 1
|
|
200
|
-
},
|
|
201
|
-
terminals_: {
|
|
202
|
-
2: "error",
|
|
203
|
-
4: "ER_DIAGRAM",
|
|
204
|
-
6: "EOF",
|
|
205
|
-
8: "SPACE",
|
|
206
|
-
10: "NEWLINE",
|
|
207
|
-
13: "COLON",
|
|
208
|
-
15: "STYLE_SEPARATOR",
|
|
209
|
-
17: "BLOCK_START",
|
|
210
|
-
19: "BLOCK_STOP",
|
|
211
|
-
20: "SQS",
|
|
212
|
-
21: "SQE",
|
|
213
|
-
22: "title",
|
|
214
|
-
23: "title_value",
|
|
215
|
-
24: "acc_title",
|
|
216
|
-
25: "acc_title_value",
|
|
217
|
-
26: "acc_descr",
|
|
218
|
-
27: "acc_descr_value",
|
|
219
|
-
28: "acc_descr_multiline_value",
|
|
220
|
-
33: "direction_tb",
|
|
221
|
-
34: "direction_bt",
|
|
222
|
-
35: "direction_rl",
|
|
223
|
-
36: "direction_lr",
|
|
224
|
-
37: "CLASSDEF",
|
|
225
|
-
40: "UNICODE_TEXT",
|
|
226
|
-
41: "STYLE_TEXT",
|
|
227
|
-
42: "COMMA",
|
|
228
|
-
43: "CLASS",
|
|
229
|
-
44: "STYLE",
|
|
230
|
-
47: "SEMI",
|
|
231
|
-
48: "NUM",
|
|
232
|
-
49: "BRKT",
|
|
233
|
-
50: "ENTITY_NAME",
|
|
234
|
-
51: "DECIMAL_NUM",
|
|
235
|
-
52: "ENTITY_ONE",
|
|
236
|
-
58: "ATTRIBUTE_WORD",
|
|
237
|
-
60: ",",
|
|
238
|
-
61: "ATTRIBUTE_KEY",
|
|
239
|
-
62: "COMMENT",
|
|
240
|
-
65: "ZERO_OR_ONE",
|
|
241
|
-
66: "ZERO_OR_MORE",
|
|
242
|
-
67: "ONE_OR_MORE",
|
|
243
|
-
68: "ONLY_ONE",
|
|
244
|
-
69: "MD_PARENT",
|
|
245
|
-
70: "NON_IDENTIFYING",
|
|
246
|
-
71: "IDENTIFYING",
|
|
247
|
-
72: "WORD"
|
|
248
|
-
},
|
|
249
|
-
productions_: [
|
|
250
|
-
0,
|
|
251
|
-
[3, 3],
|
|
252
|
-
[5, 0],
|
|
253
|
-
[5, 2],
|
|
254
|
-
[7, 2],
|
|
255
|
-
[7, 1],
|
|
256
|
-
[7, 1],
|
|
257
|
-
[7, 1],
|
|
258
|
-
[9, 5],
|
|
259
|
-
[9, 9],
|
|
260
|
-
[9, 7],
|
|
261
|
-
[9, 7],
|
|
262
|
-
[9, 4],
|
|
263
|
-
[9, 6],
|
|
264
|
-
[9, 3],
|
|
265
|
-
[9, 5],
|
|
266
|
-
[9, 1],
|
|
267
|
-
[9, 3],
|
|
268
|
-
[9, 7],
|
|
269
|
-
[9, 9],
|
|
270
|
-
[9, 6],
|
|
271
|
-
[9, 8],
|
|
272
|
-
[9, 4],
|
|
273
|
-
[9, 6],
|
|
274
|
-
[9, 2],
|
|
275
|
-
[9, 2],
|
|
276
|
-
[9, 2],
|
|
277
|
-
[9, 1],
|
|
278
|
-
[9, 1],
|
|
279
|
-
[9, 1],
|
|
280
|
-
[9, 1],
|
|
281
|
-
[9, 1],
|
|
282
|
-
[29, 1],
|
|
283
|
-
[29, 1],
|
|
284
|
-
[29, 1],
|
|
285
|
-
[29, 1],
|
|
286
|
-
[30, 4],
|
|
287
|
-
[16, 1],
|
|
288
|
-
[16, 1],
|
|
289
|
-
[16, 3],
|
|
290
|
-
[16, 3],
|
|
291
|
-
[31, 3],
|
|
292
|
-
[32, 4],
|
|
293
|
-
[38, 1],
|
|
294
|
-
[38, 3],
|
|
295
|
-
[45, 1],
|
|
296
|
-
[45, 2],
|
|
297
|
-
[39, 1],
|
|
298
|
-
[39, 1],
|
|
299
|
-
[39, 1],
|
|
300
|
-
[46, 1],
|
|
301
|
-
[46, 1],
|
|
302
|
-
[46, 1],
|
|
303
|
-
[46, 1],
|
|
304
|
-
[11, 1],
|
|
305
|
-
[11, 1],
|
|
306
|
-
[11, 1],
|
|
307
|
-
[11, 1],
|
|
308
|
-
[11, 1],
|
|
309
|
-
[18, 1],
|
|
310
|
-
[18, 2],
|
|
311
|
-
[53, 2],
|
|
312
|
-
[53, 3],
|
|
313
|
-
[53, 3],
|
|
314
|
-
[53, 4],
|
|
315
|
-
[54, 1],
|
|
316
|
-
[55, 1],
|
|
317
|
-
[56, 1],
|
|
318
|
-
[56, 3],
|
|
319
|
-
[59, 1],
|
|
320
|
-
[57, 1],
|
|
321
|
-
[12, 3],
|
|
322
|
-
[63, 1],
|
|
323
|
-
[63, 1],
|
|
324
|
-
[63, 1],
|
|
325
|
-
[63, 1],
|
|
326
|
-
[63, 1],
|
|
327
|
-
[64, 1],
|
|
328
|
-
[64, 1],
|
|
329
|
-
[14, 1],
|
|
330
|
-
[14, 1],
|
|
331
|
-
[14, 1]
|
|
332
|
-
],
|
|
333
|
-
performAction: /* @__PURE__ */ u(function(n, y, l, r, _, t, Z) {
|
|
334
|
-
var e = t.length - 1;
|
|
335
|
-
switch (_) {
|
|
336
|
-
case 1:
|
|
337
|
-
break;
|
|
338
|
-
case 2:
|
|
339
|
-
this.$ = [];
|
|
340
|
-
break;
|
|
341
|
-
case 3:
|
|
342
|
-
t[e - 1].push(t[e]), this.$ = t[e - 1];
|
|
343
|
-
break;
|
|
344
|
-
case 4:
|
|
345
|
-
case 5:
|
|
346
|
-
this.$ = t[e];
|
|
347
|
-
break;
|
|
348
|
-
case 6:
|
|
349
|
-
case 7:
|
|
350
|
-
this.$ = [];
|
|
351
|
-
break;
|
|
352
|
-
case 8:
|
|
353
|
-
r.addEntity(t[e - 4]), r.addEntity(t[e - 2]), r.addRelationship(t[e - 4], t[e], t[e - 2], t[e - 3]);
|
|
354
|
-
break;
|
|
355
|
-
case 9:
|
|
356
|
-
r.addEntity(t[e - 8]), r.addEntity(t[e - 4]), r.addRelationship(t[e - 8], t[e], t[e - 4], t[e - 5]), r.setClass([t[e - 8]], t[e - 6]), r.setClass([t[e - 4]], t[e - 2]);
|
|
357
|
-
break;
|
|
358
|
-
case 10:
|
|
359
|
-
r.addEntity(t[e - 6]), r.addEntity(t[e - 2]), r.addRelationship(t[e - 6], t[e], t[e - 2], t[e - 3]), r.setClass([t[e - 6]], t[e - 4]);
|
|
360
|
-
break;
|
|
361
|
-
case 11:
|
|
362
|
-
r.addEntity(t[e - 6]), r.addEntity(t[e - 4]), r.addRelationship(t[e - 6], t[e], t[e - 4], t[e - 5]), r.setClass([t[e - 4]], t[e - 2]);
|
|
363
|
-
break;
|
|
364
|
-
case 12:
|
|
365
|
-
r.addEntity(t[e - 3]), r.addAttributes(t[e - 3], t[e - 1]);
|
|
366
|
-
break;
|
|
367
|
-
case 13:
|
|
368
|
-
r.addEntity(t[e - 5]), r.addAttributes(t[e - 5], t[e - 1]), r.setClass([t[e - 5]], t[e - 3]);
|
|
369
|
-
break;
|
|
370
|
-
case 14:
|
|
371
|
-
r.addEntity(t[e - 2]);
|
|
372
|
-
break;
|
|
373
|
-
case 15:
|
|
374
|
-
r.addEntity(t[e - 4]), r.setClass([t[e - 4]], t[e - 2]);
|
|
375
|
-
break;
|
|
376
|
-
case 16:
|
|
377
|
-
r.addEntity(t[e]);
|
|
378
|
-
break;
|
|
379
|
-
case 17:
|
|
380
|
-
r.addEntity(t[e - 2]), r.setClass([t[e - 2]], t[e]);
|
|
381
|
-
break;
|
|
382
|
-
case 18:
|
|
383
|
-
r.addEntity(t[e - 6], t[e - 4]), r.addAttributes(t[e - 6], t[e - 1]);
|
|
384
|
-
break;
|
|
385
|
-
case 19:
|
|
386
|
-
r.addEntity(t[e - 8], t[e - 6]), r.addAttributes(t[e - 8], t[e - 1]), r.setClass([t[e - 8]], t[e - 3]);
|
|
387
|
-
break;
|
|
388
|
-
case 20:
|
|
389
|
-
r.addEntity(t[e - 5], t[e - 3]);
|
|
390
|
-
break;
|
|
391
|
-
case 21:
|
|
392
|
-
r.addEntity(t[e - 7], t[e - 5]), r.setClass([t[e - 7]], t[e - 2]);
|
|
393
|
-
break;
|
|
394
|
-
case 22:
|
|
395
|
-
r.addEntity(t[e - 3], t[e - 1]);
|
|
396
|
-
break;
|
|
397
|
-
case 23:
|
|
398
|
-
r.addEntity(t[e - 5], t[e - 3]), r.setClass([t[e - 5]], t[e]);
|
|
399
|
-
break;
|
|
400
|
-
case 24:
|
|
401
|
-
case 25:
|
|
402
|
-
this.$ = t[e].trim(), r.setAccTitle(this.$);
|
|
403
|
-
break;
|
|
404
|
-
case 26:
|
|
405
|
-
case 27:
|
|
406
|
-
this.$ = t[e].trim(), r.setAccDescription(this.$);
|
|
407
|
-
break;
|
|
408
|
-
case 32:
|
|
409
|
-
r.setDirection("TB");
|
|
410
|
-
break;
|
|
411
|
-
case 33:
|
|
412
|
-
r.setDirection("BT");
|
|
413
|
-
break;
|
|
414
|
-
case 34:
|
|
415
|
-
r.setDirection("RL");
|
|
416
|
-
break;
|
|
417
|
-
case 35:
|
|
418
|
-
r.setDirection("LR");
|
|
419
|
-
break;
|
|
420
|
-
case 36:
|
|
421
|
-
this.$ = t[e - 3], r.addClass(t[e - 2], t[e - 1]);
|
|
422
|
-
break;
|
|
423
|
-
case 37:
|
|
424
|
-
case 38:
|
|
425
|
-
case 59:
|
|
426
|
-
case 67:
|
|
427
|
-
this.$ = [t[e]];
|
|
428
|
-
break;
|
|
429
|
-
case 39:
|
|
430
|
-
case 40:
|
|
431
|
-
this.$ = t[e - 2].concat([t[e]]);
|
|
432
|
-
break;
|
|
433
|
-
case 41:
|
|
434
|
-
this.$ = t[e - 2], r.setClass(t[e - 1], t[e]);
|
|
435
|
-
break;
|
|
436
|
-
case 42:
|
|
437
|
-
this.$ = t[e - 3], r.addCssStyles(t[e - 2], t[e - 1]);
|
|
438
|
-
break;
|
|
439
|
-
case 43:
|
|
440
|
-
this.$ = [t[e]];
|
|
441
|
-
break;
|
|
442
|
-
case 44:
|
|
443
|
-
t[e - 2].push(t[e]), this.$ = t[e - 2];
|
|
444
|
-
break;
|
|
445
|
-
case 46:
|
|
446
|
-
this.$ = t[e - 1] + t[e];
|
|
447
|
-
break;
|
|
448
|
-
case 54:
|
|
449
|
-
case 79:
|
|
450
|
-
case 80:
|
|
451
|
-
this.$ = t[e].replace(/"/g, "");
|
|
452
|
-
break;
|
|
453
|
-
case 55:
|
|
454
|
-
case 56:
|
|
455
|
-
case 57:
|
|
456
|
-
case 58:
|
|
457
|
-
case 81:
|
|
458
|
-
this.$ = t[e];
|
|
459
|
-
break;
|
|
460
|
-
case 60:
|
|
461
|
-
t[e].push(t[e - 1]), this.$ = t[e];
|
|
462
|
-
break;
|
|
463
|
-
case 61:
|
|
464
|
-
this.$ = {
|
|
465
|
-
type: t[e - 1],
|
|
466
|
-
name: t[e]
|
|
467
|
-
};
|
|
468
|
-
break;
|
|
469
|
-
case 62:
|
|
470
|
-
this.$ = {
|
|
471
|
-
type: t[e - 2],
|
|
472
|
-
name: t[e - 1],
|
|
473
|
-
keys: t[e]
|
|
474
|
-
};
|
|
475
|
-
break;
|
|
476
|
-
case 63:
|
|
477
|
-
this.$ = {
|
|
478
|
-
type: t[e - 2],
|
|
479
|
-
name: t[e - 1],
|
|
480
|
-
comment: t[e]
|
|
481
|
-
};
|
|
482
|
-
break;
|
|
483
|
-
case 64:
|
|
484
|
-
this.$ = {
|
|
485
|
-
type: t[e - 3],
|
|
486
|
-
name: t[e - 2],
|
|
487
|
-
keys: t[e - 1],
|
|
488
|
-
comment: t[e]
|
|
489
|
-
};
|
|
490
|
-
break;
|
|
491
|
-
case 65:
|
|
492
|
-
case 66:
|
|
493
|
-
case 69:
|
|
494
|
-
this.$ = t[e];
|
|
495
|
-
break;
|
|
496
|
-
case 68:
|
|
497
|
-
t[e - 2].push(t[e]), this.$ = t[e - 2];
|
|
498
|
-
break;
|
|
499
|
-
case 70:
|
|
500
|
-
this.$ = t[e].replace(/"/g, "");
|
|
501
|
-
break;
|
|
502
|
-
case 71:
|
|
503
|
-
this.$ = {
|
|
504
|
-
cardA: t[e],
|
|
505
|
-
relType: t[e - 1],
|
|
506
|
-
cardB: t[e - 2]
|
|
507
|
-
};
|
|
508
|
-
break;
|
|
509
|
-
case 72:
|
|
510
|
-
this.$ = r.Cardinality.ZERO_OR_ONE;
|
|
511
|
-
break;
|
|
512
|
-
case 73:
|
|
513
|
-
this.$ = r.Cardinality.ZERO_OR_MORE;
|
|
514
|
-
break;
|
|
515
|
-
case 74:
|
|
516
|
-
this.$ = r.Cardinality.ONE_OR_MORE;
|
|
517
|
-
break;
|
|
518
|
-
case 75:
|
|
519
|
-
this.$ = r.Cardinality.ONLY_ONE;
|
|
520
|
-
break;
|
|
521
|
-
case 76:
|
|
522
|
-
this.$ = r.Cardinality.MD_PARENT;
|
|
523
|
-
break;
|
|
524
|
-
case 77:
|
|
525
|
-
this.$ = r.Identification.NON_IDENTIFYING;
|
|
526
|
-
break;
|
|
527
|
-
case 78:
|
|
528
|
-
this.$ = r.Identification.IDENTIFYING;
|
|
529
|
-
break;
|
|
530
|
-
}
|
|
531
|
-
}, "anonymous"),
|
|
532
|
-
table: [
|
|
533
|
-
{
|
|
534
|
-
3: 1,
|
|
535
|
-
4: [1, 2]
|
|
536
|
-
},
|
|
537
|
-
{ 1: [3] },
|
|
538
|
-
s(i, [2, 2], { 5: 3 }),
|
|
539
|
-
{
|
|
540
|
-
6: [1, 4],
|
|
541
|
-
7: 5,
|
|
542
|
-
8: [1, 6],
|
|
543
|
-
9: 7,
|
|
544
|
-
10: [1, 8],
|
|
545
|
-
11: 9,
|
|
546
|
-
22: a,
|
|
547
|
-
24: c,
|
|
548
|
-
26: o,
|
|
549
|
-
28: d,
|
|
550
|
-
29: 14,
|
|
551
|
-
30: 15,
|
|
552
|
-
31: 16,
|
|
553
|
-
32: 17,
|
|
554
|
-
33: p,
|
|
555
|
-
34: h,
|
|
556
|
-
35: E,
|
|
557
|
-
36: W,
|
|
558
|
-
37: j,
|
|
559
|
-
40: O,
|
|
560
|
-
43: L,
|
|
561
|
-
44: X,
|
|
562
|
-
48: T,
|
|
563
|
-
50: I,
|
|
564
|
-
51: M,
|
|
565
|
-
52: w
|
|
566
|
-
},
|
|
567
|
-
s(i, [2, 7], { 1: [2, 1] }),
|
|
568
|
-
s(i, [2, 3]),
|
|
569
|
-
{
|
|
570
|
-
9: 30,
|
|
571
|
-
11: 9,
|
|
572
|
-
22: a,
|
|
573
|
-
24: c,
|
|
574
|
-
26: o,
|
|
575
|
-
28: d,
|
|
576
|
-
29: 14,
|
|
577
|
-
30: 15,
|
|
578
|
-
31: 16,
|
|
579
|
-
32: 17,
|
|
580
|
-
33: p,
|
|
581
|
-
34: h,
|
|
582
|
-
35: E,
|
|
583
|
-
36: W,
|
|
584
|
-
37: j,
|
|
585
|
-
40: O,
|
|
586
|
-
43: L,
|
|
587
|
-
44: X,
|
|
588
|
-
48: T,
|
|
589
|
-
50: I,
|
|
590
|
-
51: M,
|
|
591
|
-
52: w
|
|
592
|
-
},
|
|
593
|
-
s(i, [2, 5]),
|
|
594
|
-
s(i, [2, 6]),
|
|
595
|
-
s(i, [2, 16], {
|
|
596
|
-
12: 31,
|
|
597
|
-
63: 35,
|
|
598
|
-
15: [1, 32],
|
|
599
|
-
17: [1, 33],
|
|
600
|
-
20: [1, 34],
|
|
601
|
-
65: nt,
|
|
602
|
-
66: at,
|
|
603
|
-
67: ot,
|
|
604
|
-
68: lt,
|
|
605
|
-
69: ct
|
|
606
|
-
}),
|
|
607
|
-
{ 23: [1, 41] },
|
|
608
|
-
{ 25: [1, 42] },
|
|
609
|
-
{ 27: [1, 43] },
|
|
610
|
-
s(i, [2, 27]),
|
|
611
|
-
s(i, [2, 28]),
|
|
612
|
-
s(i, [2, 29]),
|
|
613
|
-
s(i, [2, 30]),
|
|
614
|
-
s(i, [2, 31]),
|
|
615
|
-
s(B, [2, 54]),
|
|
616
|
-
s(B, [2, 55]),
|
|
617
|
-
s(B, [2, 56]),
|
|
618
|
-
s(B, [2, 57]),
|
|
619
|
-
s(B, [2, 58]),
|
|
620
|
-
s(i, [2, 32]),
|
|
621
|
-
s(i, [2, 33]),
|
|
622
|
-
s(i, [2, 34]),
|
|
623
|
-
s(i, [2, 35]),
|
|
624
|
-
{
|
|
625
|
-
16: 44,
|
|
626
|
-
40: N,
|
|
627
|
-
41: S
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
16: 47,
|
|
631
|
-
40: N,
|
|
632
|
-
41: S
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
16: 48,
|
|
636
|
-
40: N,
|
|
637
|
-
41: S
|
|
638
|
-
},
|
|
639
|
-
s(i, [2, 4]),
|
|
640
|
-
{
|
|
641
|
-
11: 49,
|
|
642
|
-
40: O,
|
|
643
|
-
48: T,
|
|
644
|
-
50: I,
|
|
645
|
-
51: M,
|
|
646
|
-
52: w
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
16: 50,
|
|
650
|
-
40: N,
|
|
651
|
-
41: S
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
18: 51,
|
|
655
|
-
19: [1, 52],
|
|
656
|
-
53: 53,
|
|
657
|
-
54: 54,
|
|
658
|
-
58: F
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
11: 56,
|
|
662
|
-
40: O,
|
|
663
|
-
48: T,
|
|
664
|
-
50: I,
|
|
665
|
-
51: M,
|
|
666
|
-
52: w
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
64: 57,
|
|
670
|
-
70: [1, 58],
|
|
671
|
-
71: [1, 59]
|
|
672
|
-
},
|
|
673
|
-
s(Y, [2, 72]),
|
|
674
|
-
s(Y, [2, 73]),
|
|
675
|
-
s(Y, [2, 74]),
|
|
676
|
-
s(Y, [2, 75]),
|
|
677
|
-
s(Y, [2, 76]),
|
|
678
|
-
s(i, [2, 24]),
|
|
679
|
-
s(i, [2, 25]),
|
|
680
|
-
s(i, [2, 26]),
|
|
681
|
-
{
|
|
682
|
-
13: P,
|
|
683
|
-
38: 60,
|
|
684
|
-
41: z,
|
|
685
|
-
42: A,
|
|
686
|
-
45: 62,
|
|
687
|
-
46: 63,
|
|
688
|
-
48: G,
|
|
689
|
-
49: K
|
|
690
|
-
},
|
|
691
|
-
s(q, [2, 37]),
|
|
692
|
-
s(q, [2, 38]),
|
|
693
|
-
{
|
|
694
|
-
16: 68,
|
|
695
|
-
40: N,
|
|
696
|
-
41: S,
|
|
697
|
-
42: A
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
13: P,
|
|
701
|
-
38: 69,
|
|
702
|
-
41: z,
|
|
703
|
-
42: A,
|
|
704
|
-
45: 62,
|
|
705
|
-
46: 63,
|
|
706
|
-
48: G,
|
|
707
|
-
49: K
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
13: [1, 70],
|
|
711
|
-
15: [1, 71]
|
|
712
|
-
},
|
|
713
|
-
s(i, [2, 17], {
|
|
714
|
-
63: 35,
|
|
715
|
-
12: 72,
|
|
716
|
-
17: [1, 73],
|
|
717
|
-
42: A,
|
|
718
|
-
65: nt,
|
|
719
|
-
66: at,
|
|
720
|
-
67: ot,
|
|
721
|
-
68: lt,
|
|
722
|
-
69: ct
|
|
723
|
-
}),
|
|
724
|
-
{ 19: [1, 74] },
|
|
725
|
-
s(i, [2, 14]),
|
|
726
|
-
{
|
|
727
|
-
18: 75,
|
|
728
|
-
19: [2, 59],
|
|
729
|
-
53: 53,
|
|
730
|
-
54: 54,
|
|
731
|
-
58: F
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
55: 76,
|
|
735
|
-
58: [1, 77]
|
|
736
|
-
},
|
|
737
|
-
{ 58: [2, 65] },
|
|
738
|
-
{ 21: [1, 78] },
|
|
739
|
-
{
|
|
740
|
-
63: 79,
|
|
741
|
-
65: nt,
|
|
742
|
-
66: at,
|
|
743
|
-
67: ot,
|
|
744
|
-
68: lt,
|
|
745
|
-
69: ct
|
|
746
|
-
},
|
|
747
|
-
s(bt, [2, 77]),
|
|
748
|
-
s(bt, [2, 78]),
|
|
749
|
-
{
|
|
750
|
-
6: ft,
|
|
751
|
-
10: mt,
|
|
752
|
-
39: 80,
|
|
753
|
-
42: Et,
|
|
754
|
-
47: kt
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
40: [1, 85],
|
|
758
|
-
41: [1, 86]
|
|
759
|
-
},
|
|
760
|
-
s(Ot, [2, 43], {
|
|
761
|
-
46: 87,
|
|
762
|
-
13: P,
|
|
763
|
-
41: z,
|
|
764
|
-
48: G,
|
|
765
|
-
49: K
|
|
766
|
-
}),
|
|
767
|
-
s(C, [2, 45]),
|
|
768
|
-
s(C, [2, 50]),
|
|
769
|
-
s(C, [2, 51]),
|
|
770
|
-
s(C, [2, 52]),
|
|
771
|
-
s(C, [2, 53]),
|
|
772
|
-
s(i, [2, 41], { 42: A }),
|
|
773
|
-
{
|
|
774
|
-
6: ft,
|
|
775
|
-
10: mt,
|
|
776
|
-
39: 88,
|
|
777
|
-
42: Et,
|
|
778
|
-
47: kt
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
14: 89,
|
|
782
|
-
40: H,
|
|
783
|
-
50: Q,
|
|
784
|
-
72: J
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
16: 93,
|
|
788
|
-
40: N,
|
|
789
|
-
41: S
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
11: 94,
|
|
793
|
-
40: O,
|
|
794
|
-
48: T,
|
|
795
|
-
50: I,
|
|
796
|
-
51: M,
|
|
797
|
-
52: w
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
18: 95,
|
|
801
|
-
19: [1, 96],
|
|
802
|
-
53: 53,
|
|
803
|
-
54: 54,
|
|
804
|
-
58: F
|
|
805
|
-
},
|
|
806
|
-
s(i, [2, 12]),
|
|
807
|
-
{ 19: [2, 60] },
|
|
808
|
-
s(U, [2, 61], {
|
|
809
|
-
56: 97,
|
|
810
|
-
57: 98,
|
|
811
|
-
59: 99,
|
|
812
|
-
61: Tt,
|
|
813
|
-
62: Nt
|
|
814
|
-
}),
|
|
815
|
-
s([
|
|
816
|
-
19,
|
|
817
|
-
58,
|
|
818
|
-
61,
|
|
819
|
-
62
|
|
820
|
-
], [2, 66]),
|
|
821
|
-
s(i, [2, 22], {
|
|
822
|
-
15: [1, 103],
|
|
823
|
-
17: [1, 102]
|
|
824
|
-
}),
|
|
825
|
-
s([
|
|
826
|
-
40,
|
|
827
|
-
48,
|
|
828
|
-
50,
|
|
829
|
-
51,
|
|
830
|
-
52
|
|
831
|
-
], [2, 71]),
|
|
832
|
-
s(i, [2, 36]),
|
|
833
|
-
{
|
|
834
|
-
13: P,
|
|
835
|
-
41: z,
|
|
836
|
-
45: 104,
|
|
837
|
-
46: 63,
|
|
838
|
-
48: G,
|
|
839
|
-
49: K
|
|
840
|
-
},
|
|
841
|
-
s(i, [2, 47]),
|
|
842
|
-
s(i, [2, 48]),
|
|
843
|
-
s(i, [2, 49]),
|
|
844
|
-
s(q, [2, 39]),
|
|
845
|
-
s(q, [2, 40]),
|
|
846
|
-
s(C, [2, 46]),
|
|
847
|
-
s(i, [2, 42]),
|
|
848
|
-
s(i, [2, 8]),
|
|
849
|
-
s(i, [2, 79]),
|
|
850
|
-
s(i, [2, 80]),
|
|
851
|
-
s(i, [2, 81]),
|
|
852
|
-
{
|
|
853
|
-
13: [1, 105],
|
|
854
|
-
42: A
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
13: [1, 107],
|
|
858
|
-
15: [1, 106]
|
|
859
|
-
},
|
|
860
|
-
{ 19: [1, 108] },
|
|
861
|
-
s(i, [2, 15]),
|
|
862
|
-
s(U, [2, 62], {
|
|
863
|
-
57: 109,
|
|
864
|
-
60: [1, 110],
|
|
865
|
-
62: Nt
|
|
866
|
-
}),
|
|
867
|
-
s(U, [2, 63]),
|
|
868
|
-
s(ht, [2, 67]),
|
|
869
|
-
s(U, [2, 70]),
|
|
870
|
-
s(ht, [2, 69]),
|
|
871
|
-
{
|
|
872
|
-
18: 111,
|
|
873
|
-
19: [1, 112],
|
|
874
|
-
53: 53,
|
|
875
|
-
54: 54,
|
|
876
|
-
58: F
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
16: 113,
|
|
880
|
-
40: N,
|
|
881
|
-
41: S
|
|
882
|
-
},
|
|
883
|
-
s(Ot, [2, 44], {
|
|
884
|
-
46: 87,
|
|
885
|
-
13: P,
|
|
886
|
-
41: z,
|
|
887
|
-
48: G,
|
|
888
|
-
49: K
|
|
889
|
-
}),
|
|
890
|
-
{
|
|
891
|
-
14: 114,
|
|
892
|
-
40: H,
|
|
893
|
-
50: Q,
|
|
894
|
-
72: J
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
16: 115,
|
|
898
|
-
40: N,
|
|
899
|
-
41: S
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
14: 116,
|
|
903
|
-
40: H,
|
|
904
|
-
50: Q,
|
|
905
|
-
72: J
|
|
906
|
-
},
|
|
907
|
-
s(i, [2, 13]),
|
|
908
|
-
s(U, [2, 64]),
|
|
909
|
-
{
|
|
910
|
-
59: 117,
|
|
911
|
-
61: Tt
|
|
912
|
-
},
|
|
913
|
-
{ 19: [1, 118] },
|
|
914
|
-
s(i, [2, 20]),
|
|
915
|
-
s(i, [2, 23], {
|
|
916
|
-
17: [1, 119],
|
|
917
|
-
42: A
|
|
918
|
-
}),
|
|
919
|
-
s(i, [2, 11]),
|
|
920
|
-
{
|
|
921
|
-
13: [1, 120],
|
|
922
|
-
42: A
|
|
923
|
-
},
|
|
924
|
-
s(i, [2, 10]),
|
|
925
|
-
s(ht, [2, 68]),
|
|
926
|
-
s(i, [2, 18]),
|
|
927
|
-
{
|
|
928
|
-
18: 121,
|
|
929
|
-
19: [1, 122],
|
|
930
|
-
53: 53,
|
|
931
|
-
54: 54,
|
|
932
|
-
58: F
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
14: 123,
|
|
936
|
-
40: H,
|
|
937
|
-
50: Q,
|
|
938
|
-
72: J
|
|
939
|
-
},
|
|
940
|
-
{ 19: [1, 124] },
|
|
941
|
-
s(i, [2, 21]),
|
|
942
|
-
s(i, [2, 9]),
|
|
943
|
-
s(i, [2, 19])
|
|
944
|
-
],
|
|
945
|
-
defaultActions: {
|
|
946
|
-
55: [2, 65],
|
|
947
|
-
75: [2, 60]
|
|
948
|
-
},
|
|
949
|
-
parseError: /* @__PURE__ */ u(function(n, y) {
|
|
950
|
-
if (y.recoverable) this.trace(n);
|
|
951
|
-
else {
|
|
952
|
-
var l = Error(n);
|
|
953
|
-
throw l.hash = y, l;
|
|
954
|
-
}
|
|
955
|
-
}, "parseError"),
|
|
956
|
-
parse: /* @__PURE__ */ u(function(n) {
|
|
957
|
-
var y = this, l = [0], r = [], _ = [null], t = [], Z = this.table, e = "", tt = 0, St = 0, vt = 0, Dt = 2, At = 1, Lt = t.slice.call(arguments, 1), g = Object.create(this.lexer), $ = { yy: {} };
|
|
958
|
-
for (var yt in this.yy) Object.prototype.hasOwnProperty.call(this.yy, yt) && ($.yy[yt] = this.yy[yt]);
|
|
959
|
-
g.setInput(n, $.yy), $.yy.lexer = g, $.yy.parser = this, g.yylloc === void 0 && (g.yylloc = {});
|
|
960
|
-
var dt = g.yylloc;
|
|
961
|
-
t.push(dt);
|
|
962
|
-
var Mt = g.options && g.options.ranges;
|
|
963
|
-
typeof $.yy.parseError == "function" ? this.parseError = $.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
964
|
-
function wt(m) {
|
|
965
|
-
l.length -= 2 * m, _.length -= m, t.length -= m;
|
|
966
|
-
}
|
|
967
|
-
u(wt, "popStack");
|
|
968
|
-
function It() {
|
|
969
|
-
var m = r.pop() || g.lex() || At;
|
|
970
|
-
return typeof m != "number" && (m instanceof Array && (r = m, m = r.pop()), m = y.symbols_[m] || m), m;
|
|
971
|
-
}
|
|
972
|
-
u(It, "lex");
|
|
973
|
-
for (var b, pt, R, f, _t, x = {}, et, k, $t, st; ; ) {
|
|
974
|
-
if (R = l[l.length - 1], this.defaultActions[R] ? f = this.defaultActions[R] : (b ??= It(), f = Z[R] && Z[R][b]), f === void 0 || !f.length || !f[0]) {
|
|
975
|
-
var Rt = "";
|
|
976
|
-
for (et in st = [], Z[R]) this.terminals_[et] && et > Dt && st.push("'" + this.terminals_[et] + "'");
|
|
977
|
-
Rt = g.showPosition ? "Parse error on line " + (tt + 1) + `:
|
|
978
|
-
` + g.showPosition() + `
|
|
979
|
-
Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Parse error on line " + (tt + 1) + ": Unexpected " + (b == At ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(Rt, {
|
|
980
|
-
text: g.match,
|
|
981
|
-
token: this.terminals_[b] || b,
|
|
982
|
-
line: g.yylineno,
|
|
983
|
-
loc: dt,
|
|
984
|
-
expected: st
|
|
985
|
-
});
|
|
986
|
-
}
|
|
987
|
-
if (f[0] instanceof Array && f.length > 1) throw Error("Parse Error: multiple actions possible at state: " + R + ", token: " + b);
|
|
988
|
-
switch (f[0]) {
|
|
989
|
-
case 1:
|
|
990
|
-
l.push(b), _.push(g.yytext), t.push(g.yylloc), l.push(f[1]), b = null, pt ? (b = pt, pt = null) : (St = g.yyleng, e = g.yytext, tt = g.yylineno, dt = g.yylloc, vt > 0);
|
|
991
|
-
break;
|
|
992
|
-
case 2:
|
|
993
|
-
if (k = this.productions_[f[1]][1], x.$ = _[_.length - k], x._$ = {
|
|
994
|
-
first_line: t[t.length - (k || 1)].first_line,
|
|
995
|
-
last_line: t[t.length - 1].last_line,
|
|
996
|
-
first_column: t[t.length - (k || 1)].first_column,
|
|
997
|
-
last_column: t[t.length - 1].last_column
|
|
998
|
-
}, Mt && (x._$.range = [t[t.length - (k || 1)].range[0], t[t.length - 1].range[1]]), _t = this.performAction.apply(x, [
|
|
999
|
-
e,
|
|
1000
|
-
St,
|
|
1001
|
-
tt,
|
|
1002
|
-
$.yy,
|
|
1003
|
-
f[1],
|
|
1004
|
-
_,
|
|
1005
|
-
t
|
|
1006
|
-
].concat(Lt)), _t !== void 0) return _t;
|
|
1007
|
-
k && (l = l.slice(0, -1 * k * 2), _ = _.slice(0, -1 * k), t = t.slice(0, -1 * k)), l.push(this.productions_[f[1]][0]), _.push(x.$), t.push(x._$), $t = Z[l[l.length - 2]][l[l.length - 1]], l.push($t);
|
|
1008
|
-
break;
|
|
1009
|
-
case 3:
|
|
1010
|
-
return !0;
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
return !0;
|
|
1014
|
-
}, "parse")
|
|
1015
|
-
};
|
|
1016
|
-
ut.lexer = /* @__PURE__ */ (function() {
|
|
1017
|
-
return {
|
|
1018
|
-
EOF: 1,
|
|
1019
|
-
parseError: /* @__PURE__ */ u(function(n, y) {
|
|
1020
|
-
if (this.yy.parser) this.yy.parser.parseError(n, y);
|
|
1021
|
-
else throw Error(n);
|
|
1022
|
-
}, "parseError"),
|
|
1023
|
-
setInput: /* @__PURE__ */ u(function(n, y) {
|
|
1024
|
-
return this.yy = y || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1025
|
-
first_line: 1,
|
|
1026
|
-
first_column: 0,
|
|
1027
|
-
last_line: 1,
|
|
1028
|
-
last_column: 0
|
|
1029
|
-
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
1030
|
-
}, "setInput"),
|
|
1031
|
-
input: /* @__PURE__ */ u(function() {
|
|
1032
|
-
var n = this._input[0];
|
|
1033
|
-
return this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n, n.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
|
|
1034
|
-
}, "input"),
|
|
1035
|
-
unput: /* @__PURE__ */ u(function(n) {
|
|
1036
|
-
var y = n.length, l = n.split(/(?:\r\n?|\n)/g);
|
|
1037
|
-
this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - y), this.offset -= y;
|
|
1038
|
-
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
1039
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
|
|
1040
|
-
var _ = this.yylloc.range;
|
|
1041
|
-
return this.yylloc = {
|
|
1042
|
-
first_line: this.yylloc.first_line,
|
|
1043
|
-
last_line: this.yylineno + 1,
|
|
1044
|
-
first_column: this.yylloc.first_column,
|
|
1045
|
-
last_column: l ? (l.length === r.length ? this.yylloc.first_column : 0) + r[r.length - l.length].length - l[0].length : this.yylloc.first_column - y
|
|
1046
|
-
}, this.options.ranges && (this.yylloc.range = [_[0], _[0] + this.yyleng - y]), this.yyleng = this.yytext.length, this;
|
|
1047
|
-
}, "unput"),
|
|
1048
|
-
more: /* @__PURE__ */ u(function() {
|
|
1049
|
-
return this._more = !0, this;
|
|
1050
|
-
}, "more"),
|
|
1051
|
-
reject: /* @__PURE__ */ u(function() {
|
|
1052
|
-
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
1053
|
-
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
1054
|
-
` + this.showPosition(), {
|
|
1055
|
-
text: "",
|
|
1056
|
-
token: null,
|
|
1057
|
-
line: this.yylineno
|
|
1058
|
-
});
|
|
1059
|
-
return this;
|
|
1060
|
-
}, "reject"),
|
|
1061
|
-
less: /* @__PURE__ */ u(function(n) {
|
|
1062
|
-
this.unput(this.match.slice(n));
|
|
1063
|
-
}, "less"),
|
|
1064
|
-
pastInput: /* @__PURE__ */ u(function() {
|
|
1065
|
-
var n = this.matched.substr(0, this.matched.length - this.match.length);
|
|
1066
|
-
return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
|
|
1067
|
-
}, "pastInput"),
|
|
1068
|
-
upcomingInput: /* @__PURE__ */ u(function() {
|
|
1069
|
-
var n = this.match;
|
|
1070
|
-
return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1071
|
-
}, "upcomingInput"),
|
|
1072
|
-
showPosition: /* @__PURE__ */ u(function() {
|
|
1073
|
-
var n = this.pastInput(), y = Array(n.length + 1).join("-");
|
|
1074
|
-
return n + this.upcomingInput() + `
|
|
1075
|
-
` + y + "^";
|
|
1076
|
-
}, "showPosition"),
|
|
1077
|
-
test_match: /* @__PURE__ */ u(function(n, y) {
|
|
1078
|
-
var l, r, _;
|
|
1079
|
-
if (this.options.backtrack_lexer && (_ = {
|
|
1080
|
-
yylineno: this.yylineno,
|
|
1081
|
-
yylloc: {
|
|
1082
|
-
first_line: this.yylloc.first_line,
|
|
1083
|
-
last_line: this.last_line,
|
|
1084
|
-
first_column: this.yylloc.first_column,
|
|
1085
|
-
last_column: this.yylloc.last_column
|
|
1086
|
-
},
|
|
1087
|
-
yytext: this.yytext,
|
|
1088
|
-
match: this.match,
|
|
1089
|
-
matches: this.matches,
|
|
1090
|
-
matched: this.matched,
|
|
1091
|
-
yyleng: this.yyleng,
|
|
1092
|
-
offset: this.offset,
|
|
1093
|
-
_more: this._more,
|
|
1094
|
-
_input: this._input,
|
|
1095
|
-
yy: this.yy,
|
|
1096
|
-
conditionStack: this.conditionStack.slice(0),
|
|
1097
|
-
done: this.done
|
|
1098
|
-
}, this.options.ranges && (_.yylloc.range = this.yylloc.range.slice(0))), r = n[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
|
|
1099
|
-
first_line: this.yylloc.last_line,
|
|
1100
|
-
last_line: this.yylineno + 1,
|
|
1101
|
-
first_column: this.yylloc.last_column,
|
|
1102
|
-
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
|
|
1103
|
-
}, this.yytext += n[0], this.match += n[0], this.matches = n, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], l = this.performAction.call(this, this.yy, this, y, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l) return l;
|
|
1104
|
-
if (this._backtrack) {
|
|
1105
|
-
for (var t in _) this[t] = _[t];
|
|
1106
|
-
return !1;
|
|
1107
|
-
}
|
|
1108
|
-
return !1;
|
|
1109
|
-
}, "test_match"),
|
|
1110
|
-
next: /* @__PURE__ */ u(function() {
|
|
1111
|
-
if (this.done) return this.EOF;
|
|
1112
|
-
this._input || (this.done = !0);
|
|
1113
|
-
var n, y, l, r;
|
|
1114
|
-
this._more || (this.yytext = "", this.match = "");
|
|
1115
|
-
for (var _ = this._currentRules(), t = 0; t < _.length; t++) if (l = this._input.match(this.rules[_[t]]), l && (!y || l[0].length > y[0].length)) {
|
|
1116
|
-
if (y = l, r = t, this.options.backtrack_lexer) {
|
|
1117
|
-
if (n = this.test_match(l, _[t]), n !== !1) return n;
|
|
1118
|
-
if (this._backtrack) {
|
|
1119
|
-
y = !1;
|
|
1120
|
-
continue;
|
|
1121
|
-
} else return !1;
|
|
1122
|
-
} else if (!this.options.flex) break;
|
|
1123
|
-
}
|
|
1124
|
-
return y ? (n = this.test_match(y, _[r]), n === !1 ? !1 : n) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
1125
|
-
` + this.showPosition(), {
|
|
1126
|
-
text: "",
|
|
1127
|
-
token: null,
|
|
1128
|
-
line: this.yylineno
|
|
1129
|
-
});
|
|
1130
|
-
}, "next"),
|
|
1131
|
-
lex: /* @__PURE__ */ u(function() {
|
|
1132
|
-
return this.next() || this.lex();
|
|
1133
|
-
}, "lex"),
|
|
1134
|
-
begin: /* @__PURE__ */ u(function(n) {
|
|
1135
|
-
this.conditionStack.push(n);
|
|
1136
|
-
}, "begin"),
|
|
1137
|
-
popState: /* @__PURE__ */ u(function() {
|
|
1138
|
-
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1139
|
-
}, "popState"),
|
|
1140
|
-
_currentRules: /* @__PURE__ */ u(function() {
|
|
1141
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1142
|
-
}, "_currentRules"),
|
|
1143
|
-
topState: /* @__PURE__ */ u(function(n) {
|
|
1144
|
-
return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
|
|
1145
|
-
}, "topState"),
|
|
1146
|
-
pushState: /* @__PURE__ */ u(function(n) {
|
|
1147
|
-
this.begin(n);
|
|
1148
|
-
}, "pushState"),
|
|
1149
|
-
stateStackSize: /* @__PURE__ */ u(function() {
|
|
1150
|
-
return this.conditionStack.length;
|
|
1151
|
-
}, "stateStackSize"),
|
|
1152
|
-
options: { "case-insensitive": !0 },
|
|
1153
|
-
performAction: /* @__PURE__ */ u(function(n, y, l, r) {
|
|
1154
|
-
switch (l) {
|
|
1155
|
-
case 0:
|
|
1156
|
-
return this.begin("acc_title"), 24;
|
|
1157
|
-
case 1:
|
|
1158
|
-
return this.popState(), "acc_title_value";
|
|
1159
|
-
case 2:
|
|
1160
|
-
return this.begin("acc_descr"), 26;
|
|
1161
|
-
case 3:
|
|
1162
|
-
return this.popState(), "acc_descr_value";
|
|
1163
|
-
case 4:
|
|
1164
|
-
this.begin("acc_descr_multiline");
|
|
1165
|
-
break;
|
|
1166
|
-
case 5:
|
|
1167
|
-
this.popState();
|
|
1168
|
-
break;
|
|
1169
|
-
case 6:
|
|
1170
|
-
return "acc_descr_multiline_value";
|
|
1171
|
-
case 7:
|
|
1172
|
-
return 33;
|
|
1173
|
-
case 8:
|
|
1174
|
-
return 34;
|
|
1175
|
-
case 9:
|
|
1176
|
-
return 35;
|
|
1177
|
-
case 10:
|
|
1178
|
-
return 36;
|
|
1179
|
-
case 11:
|
|
1180
|
-
return 10;
|
|
1181
|
-
case 12:
|
|
1182
|
-
break;
|
|
1183
|
-
case 13:
|
|
1184
|
-
return 8;
|
|
1185
|
-
case 14:
|
|
1186
|
-
return 50;
|
|
1187
|
-
case 15:
|
|
1188
|
-
return 72;
|
|
1189
|
-
case 16:
|
|
1190
|
-
return 4;
|
|
1191
|
-
case 17:
|
|
1192
|
-
return this.begin("block"), 17;
|
|
1193
|
-
case 18:
|
|
1194
|
-
return 49;
|
|
1195
|
-
case 19:
|
|
1196
|
-
return 49;
|
|
1197
|
-
case 20:
|
|
1198
|
-
return 42;
|
|
1199
|
-
case 21:
|
|
1200
|
-
return 15;
|
|
1201
|
-
case 22:
|
|
1202
|
-
return 13;
|
|
1203
|
-
case 23:
|
|
1204
|
-
break;
|
|
1205
|
-
case 24:
|
|
1206
|
-
return 61;
|
|
1207
|
-
case 25:
|
|
1208
|
-
return 58;
|
|
1209
|
-
case 26:
|
|
1210
|
-
return 58;
|
|
1211
|
-
case 27:
|
|
1212
|
-
return 62;
|
|
1213
|
-
case 28:
|
|
1214
|
-
break;
|
|
1215
|
-
case 29:
|
|
1216
|
-
return this.popState(), 19;
|
|
1217
|
-
case 30:
|
|
1218
|
-
return y.yytext[0];
|
|
1219
|
-
case 31:
|
|
1220
|
-
return 20;
|
|
1221
|
-
case 32:
|
|
1222
|
-
return 21;
|
|
1223
|
-
case 33:
|
|
1224
|
-
return this.begin("style"), 44;
|
|
1225
|
-
case 34:
|
|
1226
|
-
return this.popState(), 10;
|
|
1227
|
-
case 35:
|
|
1228
|
-
break;
|
|
1229
|
-
case 36:
|
|
1230
|
-
return 13;
|
|
1231
|
-
case 37:
|
|
1232
|
-
return 42;
|
|
1233
|
-
case 38:
|
|
1234
|
-
return 49;
|
|
1235
|
-
case 39:
|
|
1236
|
-
return this.begin("style"), 37;
|
|
1237
|
-
case 40:
|
|
1238
|
-
return 43;
|
|
1239
|
-
case 41:
|
|
1240
|
-
return 65;
|
|
1241
|
-
case 42:
|
|
1242
|
-
return 67;
|
|
1243
|
-
case 43:
|
|
1244
|
-
return 67;
|
|
1245
|
-
case 44:
|
|
1246
|
-
return 67;
|
|
1247
|
-
case 45:
|
|
1248
|
-
return 65;
|
|
1249
|
-
case 46:
|
|
1250
|
-
return 65;
|
|
1251
|
-
case 47:
|
|
1252
|
-
return 66;
|
|
1253
|
-
case 48:
|
|
1254
|
-
return 66;
|
|
1255
|
-
case 49:
|
|
1256
|
-
return 66;
|
|
1257
|
-
case 50:
|
|
1258
|
-
return 66;
|
|
1259
|
-
case 51:
|
|
1260
|
-
return 66;
|
|
1261
|
-
case 52:
|
|
1262
|
-
return 67;
|
|
1263
|
-
case 53:
|
|
1264
|
-
return 66;
|
|
1265
|
-
case 54:
|
|
1266
|
-
return 67;
|
|
1267
|
-
case 55:
|
|
1268
|
-
return 68;
|
|
1269
|
-
case 56:
|
|
1270
|
-
return 68;
|
|
1271
|
-
case 57:
|
|
1272
|
-
return 51;
|
|
1273
|
-
case 58:
|
|
1274
|
-
return 68;
|
|
1275
|
-
case 59:
|
|
1276
|
-
return 68;
|
|
1277
|
-
case 60:
|
|
1278
|
-
return 68;
|
|
1279
|
-
case 61:
|
|
1280
|
-
return 52;
|
|
1281
|
-
case 62:
|
|
1282
|
-
return 48;
|
|
1283
|
-
case 63:
|
|
1284
|
-
return 68;
|
|
1285
|
-
case 64:
|
|
1286
|
-
return 65;
|
|
1287
|
-
case 65:
|
|
1288
|
-
return 66;
|
|
1289
|
-
case 66:
|
|
1290
|
-
return 67;
|
|
1291
|
-
case 67:
|
|
1292
|
-
return 69;
|
|
1293
|
-
case 68:
|
|
1294
|
-
return 70;
|
|
1295
|
-
case 69:
|
|
1296
|
-
return 71;
|
|
1297
|
-
case 70:
|
|
1298
|
-
return 71;
|
|
1299
|
-
case 71:
|
|
1300
|
-
return 70;
|
|
1301
|
-
case 72:
|
|
1302
|
-
return 70;
|
|
1303
|
-
case 73:
|
|
1304
|
-
return 70;
|
|
1305
|
-
case 74:
|
|
1306
|
-
return 41;
|
|
1307
|
-
case 75:
|
|
1308
|
-
return 47;
|
|
1309
|
-
case 76:
|
|
1310
|
-
return 40;
|
|
1311
|
-
case 77:
|
|
1312
|
-
return y.yytext[0];
|
|
1313
|
-
case 78:
|
|
1314
|
-
return 6;
|
|
1315
|
-
}
|
|
1316
|
-
}, "anonymous"),
|
|
1317
|
-
rules: [
|
|
1318
|
-
/^(?:accTitle\s*:\s*)/i,
|
|
1319
|
-
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1320
|
-
/^(?:accDescr\s*:\s*)/i,
|
|
1321
|
-
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1322
|
-
/^(?:accDescr\s*\{\s*)/i,
|
|
1323
|
-
/^(?:[\}])/i,
|
|
1324
|
-
/^(?:[^\}]*)/i,
|
|
1325
|
-
/^(?:.*direction\s+TB[^\n]*)/i,
|
|
1326
|
-
/^(?:.*direction\s+BT[^\n]*)/i,
|
|
1327
|
-
/^(?:.*direction\s+RL[^\n]*)/i,
|
|
1328
|
-
/^(?:.*direction\s+LR[^\n]*)/i,
|
|
1329
|
-
/^(?:[\n]+)/i,
|
|
1330
|
-
/^(?:\s+)/i,
|
|
1331
|
-
/^(?:[\s]+)/i,
|
|
1332
|
-
/^(?:"[^"%\r\n\v\b\\]+")/i,
|
|
1333
|
-
/^(?:"[^"]*")/i,
|
|
1334
|
-
/^(?:erDiagram\b)/i,
|
|
1335
|
-
/^(?:\{)/i,
|
|
1336
|
-
/^(?:#)/i,
|
|
1337
|
-
/^(?:#)/i,
|
|
1338
|
-
/^(?:,)/i,
|
|
1339
|
-
/^(?::::)/i,
|
|
1340
|
-
/^(?::)/i,
|
|
1341
|
-
/^(?:\s+)/i,
|
|
1342
|
-
/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,
|
|
1343
|
-
/^(?:([^\s]*)[~].*[~]([^\s]*))/i,
|
|
1344
|
-
/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i,
|
|
1345
|
-
/^(?:"[^"]*")/i,
|
|
1346
|
-
/^(?:[\n]+)/i,
|
|
1347
|
-
/^(?:\})/i,
|
|
1348
|
-
/^(?:.)/i,
|
|
1349
|
-
/^(?:\[)/i,
|
|
1350
|
-
/^(?:\])/i,
|
|
1351
|
-
/^(?:style\b)/i,
|
|
1352
|
-
/^(?:[\n]+)/i,
|
|
1353
|
-
/^(?:\s+)/i,
|
|
1354
|
-
/^(?::)/i,
|
|
1355
|
-
/^(?:,)/i,
|
|
1356
|
-
/^(?:#)/i,
|
|
1357
|
-
/^(?:classDef\b)/i,
|
|
1358
|
-
/^(?:class\b)/i,
|
|
1359
|
-
/^(?:one or zero\b)/i,
|
|
1360
|
-
/^(?:one or more\b)/i,
|
|
1361
|
-
/^(?:one or many\b)/i,
|
|
1362
|
-
/^(?:1\+)/i,
|
|
1363
|
-
/^(?:\|o\b)/i,
|
|
1364
|
-
/^(?:zero or one\b)/i,
|
|
1365
|
-
/^(?:zero or more\b)/i,
|
|
1366
|
-
/^(?:zero or many\b)/i,
|
|
1367
|
-
/^(?:0\+)/i,
|
|
1368
|
-
/^(?:\}o\b)/i,
|
|
1369
|
-
/^(?:many\(0\))/i,
|
|
1370
|
-
/^(?:many\(1\))/i,
|
|
1371
|
-
/^(?:many\b)/i,
|
|
1372
|
-
/^(?:\}\|)/i,
|
|
1373
|
-
/^(?:one\b)/i,
|
|
1374
|
-
/^(?:only one\b)/i,
|
|
1375
|
-
/^(?:[0-9]+\.[0-9]+)/i,
|
|
1376
|
-
/^(?:1(?=\s+[A-Za-z_"']))/i,
|
|
1377
|
-
/^(?:1(?=\s+[0-9]))/i,
|
|
1378
|
-
/^(?:1(?=(--|\.\.|\.-|-\.)))/i,
|
|
1379
|
-
/^(?:1\b)/i,
|
|
1380
|
-
/^(?:[0-9]+)/i,
|
|
1381
|
-
/^(?:\|\|)/i,
|
|
1382
|
-
/^(?:o\|)/i,
|
|
1383
|
-
/^(?:o\{)/i,
|
|
1384
|
-
/^(?:\|\{)/i,
|
|
1385
|
-
/^(?:u(?=[\.\-\|]))/i,
|
|
1386
|
-
/^(?:\.\.)/i,
|
|
1387
|
-
/^(?:--)/i,
|
|
1388
|
-
/^(?:to\b)/i,
|
|
1389
|
-
/^(?:optionally to\b)/i,
|
|
1390
|
-
/^(?:\.-)/i,
|
|
1391
|
-
/^(?:-\.)/i,
|
|
1392
|
-
/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,
|
|
1393
|
-
/^(?:;)/i,
|
|
1394
|
-
/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,
|
|
1395
|
-
/^(?:.)/i,
|
|
1396
|
-
/^(?:$)/i
|
|
1397
|
-
],
|
|
1398
|
-
conditions: {
|
|
1399
|
-
style: {
|
|
1400
|
-
rules: [
|
|
1401
|
-
34,
|
|
1402
|
-
35,
|
|
1403
|
-
36,
|
|
1404
|
-
37,
|
|
1405
|
-
38,
|
|
1406
|
-
74,
|
|
1407
|
-
75
|
|
1408
|
-
],
|
|
1409
|
-
inclusive: !1
|
|
1410
|
-
},
|
|
1411
|
-
acc_descr_multiline: {
|
|
1412
|
-
rules: [5, 6],
|
|
1413
|
-
inclusive: !1
|
|
1414
|
-
},
|
|
1415
|
-
acc_descr: {
|
|
1416
|
-
rules: [3],
|
|
1417
|
-
inclusive: !1
|
|
1418
|
-
},
|
|
1419
|
-
acc_title: {
|
|
1420
|
-
rules: [1],
|
|
1421
|
-
inclusive: !1
|
|
1422
|
-
},
|
|
1423
|
-
block: {
|
|
1424
|
-
rules: [
|
|
1425
|
-
23,
|
|
1426
|
-
24,
|
|
1427
|
-
25,
|
|
1428
|
-
26,
|
|
1429
|
-
27,
|
|
1430
|
-
28,
|
|
1431
|
-
29,
|
|
1432
|
-
30
|
|
1433
|
-
],
|
|
1434
|
-
inclusive: !1
|
|
1435
|
-
},
|
|
1436
|
-
INITIAL: {
|
|
1437
|
-
rules: [
|
|
1438
|
-
0,
|
|
1439
|
-
2,
|
|
1440
|
-
4,
|
|
1441
|
-
7,
|
|
1442
|
-
8,
|
|
1443
|
-
9,
|
|
1444
|
-
10,
|
|
1445
|
-
11,
|
|
1446
|
-
12,
|
|
1447
|
-
13,
|
|
1448
|
-
14,
|
|
1449
|
-
15,
|
|
1450
|
-
16,
|
|
1451
|
-
17,
|
|
1452
|
-
18,
|
|
1453
|
-
19,
|
|
1454
|
-
20,
|
|
1455
|
-
21,
|
|
1456
|
-
22,
|
|
1457
|
-
31,
|
|
1458
|
-
32,
|
|
1459
|
-
33,
|
|
1460
|
-
39,
|
|
1461
|
-
40,
|
|
1462
|
-
41,
|
|
1463
|
-
42,
|
|
1464
|
-
43,
|
|
1465
|
-
44,
|
|
1466
|
-
45,
|
|
1467
|
-
46,
|
|
1468
|
-
47,
|
|
1469
|
-
48,
|
|
1470
|
-
49,
|
|
1471
|
-
50,
|
|
1472
|
-
51,
|
|
1473
|
-
52,
|
|
1474
|
-
53,
|
|
1475
|
-
54,
|
|
1476
|
-
55,
|
|
1477
|
-
56,
|
|
1478
|
-
57,
|
|
1479
|
-
58,
|
|
1480
|
-
59,
|
|
1481
|
-
60,
|
|
1482
|
-
61,
|
|
1483
|
-
62,
|
|
1484
|
-
63,
|
|
1485
|
-
64,
|
|
1486
|
-
65,
|
|
1487
|
-
66,
|
|
1488
|
-
67,
|
|
1489
|
-
68,
|
|
1490
|
-
69,
|
|
1491
|
-
70,
|
|
1492
|
-
71,
|
|
1493
|
-
72,
|
|
1494
|
-
73,
|
|
1495
|
-
76,
|
|
1496
|
-
77,
|
|
1497
|
-
78
|
|
1498
|
-
],
|
|
1499
|
-
inclusive: !0
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
};
|
|
1503
|
-
})();
|
|
1504
|
-
function V() {
|
|
1505
|
-
this.yy = {};
|
|
1506
|
-
}
|
|
1507
|
-
return u(V, "Parser"), V.prototype = ut, ut.Parser = V, new V();
|
|
1508
|
-
})();
|
|
1509
|
-
gt.parser = gt;
|
|
1510
|
-
var te = gt, D, ee = (D = class {
|
|
1511
|
-
constructor() {
|
|
1512
|
-
this.entities = /* @__PURE__ */ new Map(), this.relationships = [], this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.Cardinality = {
|
|
1513
|
-
ZERO_OR_ONE: "ZERO_OR_ONE",
|
|
1514
|
-
ZERO_OR_MORE: "ZERO_OR_MORE",
|
|
1515
|
-
ONE_OR_MORE: "ONE_OR_MORE",
|
|
1516
|
-
ONLY_ONE: "ONLY_ONE",
|
|
1517
|
-
MD_PARENT: "MD_PARENT"
|
|
1518
|
-
}, this.Identification = {
|
|
1519
|
-
NON_IDENTIFYING: "NON_IDENTIFYING",
|
|
1520
|
-
IDENTIFYING: "IDENTIFYING"
|
|
1521
|
-
}, this.setAccTitle = Ft, this.getAccTitle = Yt, this.setAccDescription = Pt, this.getAccDescription = zt, this.setDiagramTitle = Gt, this.getDiagramTitle = Kt, this.getConfig = /* @__PURE__ */ u(() => it().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
|
|
1522
|
-
}
|
|
1523
|
-
addEntity(i, a = "") {
|
|
1524
|
-
return this.entities.has(i) ? !this.entities.get(i)?.alias && a && (this.entities.get(i).alias = a, v.info(`Add alias '${a}' to entity '${i}'`)) : (this.entities.set(i, {
|
|
1525
|
-
id: `entity-${i}-${this.entities.size}`,
|
|
1526
|
-
label: i,
|
|
1527
|
-
attributes: [],
|
|
1528
|
-
alias: a,
|
|
1529
|
-
shape: "erBox",
|
|
1530
|
-
look: it().look ?? "default",
|
|
1531
|
-
cssClasses: "default",
|
|
1532
|
-
cssStyles: [],
|
|
1533
|
-
labelType: "markdown"
|
|
1534
|
-
}), v.info("Added new entity :", i)), this.entities.get(i);
|
|
1535
|
-
}
|
|
1536
|
-
getEntity(i) {
|
|
1537
|
-
return this.entities.get(i);
|
|
1538
|
-
}
|
|
1539
|
-
getEntities() {
|
|
1540
|
-
return this.entities;
|
|
1541
|
-
}
|
|
1542
|
-
getClasses() {
|
|
1543
|
-
return this.classes;
|
|
1544
|
-
}
|
|
1545
|
-
addAttributes(i, a) {
|
|
1546
|
-
let c = this.addEntity(i), o;
|
|
1547
|
-
for (o = a.length - 1; o >= 0; o--) a[o].keys || (a[o].keys = []), a[o].comment || (a[o].comment = ""), c.attributes.push(a[o]), v.debug("Added attribute ", a[o].name);
|
|
1548
|
-
}
|
|
1549
|
-
addRelationship(i, a, c, o) {
|
|
1550
|
-
let d = this.entities.get(i), p = this.entities.get(c);
|
|
1551
|
-
if (!d || !p) return;
|
|
1552
|
-
let h = {
|
|
1553
|
-
entityA: d.id,
|
|
1554
|
-
roleA: a,
|
|
1555
|
-
entityB: p.id,
|
|
1556
|
-
relSpec: o
|
|
1557
|
-
};
|
|
1558
|
-
this.relationships.push(h), v.debug("Added new relationship :", h);
|
|
1559
|
-
}
|
|
1560
|
-
getRelationships() {
|
|
1561
|
-
return this.relationships;
|
|
1562
|
-
}
|
|
1563
|
-
getDirection() {
|
|
1564
|
-
return this.direction;
|
|
1565
|
-
}
|
|
1566
|
-
setDirection(i) {
|
|
1567
|
-
this.direction = i;
|
|
1568
|
-
}
|
|
1569
|
-
getCompiledStyles(i) {
|
|
1570
|
-
let a = [];
|
|
1571
|
-
for (let c of i) {
|
|
1572
|
-
let o = this.classes.get(c);
|
|
1573
|
-
o?.styles && (a = [...a, ...o.styles ?? []].map((d) => d.trim())), o?.textStyles && (a = [...a, ...o.textStyles ?? []].map((d) => d.trim()));
|
|
1574
|
-
}
|
|
1575
|
-
return a;
|
|
1576
|
-
}
|
|
1577
|
-
addCssStyles(i, a) {
|
|
1578
|
-
for (let c of i) {
|
|
1579
|
-
let o = this.entities.get(c);
|
|
1580
|
-
if (!a || !o) return;
|
|
1581
|
-
for (let d of a) o.cssStyles.push(d);
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
addClass(i, a) {
|
|
1585
|
-
i.forEach((c) => {
|
|
1586
|
-
let o = this.classes.get(c);
|
|
1587
|
-
o === void 0 && (o = {
|
|
1588
|
-
id: c,
|
|
1589
|
-
styles: [],
|
|
1590
|
-
textStyles: []
|
|
1591
|
-
}, this.classes.set(c, o)), a && a.forEach(function(d) {
|
|
1592
|
-
if (/color/.exec(d)) {
|
|
1593
|
-
let p = d.replace("fill", "bgFill");
|
|
1594
|
-
o.textStyles.push(p);
|
|
1595
|
-
}
|
|
1596
|
-
o.styles.push(d);
|
|
1597
|
-
});
|
|
1598
|
-
});
|
|
1599
|
-
}
|
|
1600
|
-
setClass(i, a) {
|
|
1601
|
-
for (let c of i) {
|
|
1602
|
-
let o = this.entities.get(c);
|
|
1603
|
-
if (o) for (let d of a) o.cssClasses += " " + d;
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
clear() {
|
|
1607
|
-
this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], Ut();
|
|
1608
|
-
}
|
|
1609
|
-
getData() {
|
|
1610
|
-
let i = [], a = [], c = it(), o = 0;
|
|
1611
|
-
for (let p of this.entities.keys()) {
|
|
1612
|
-
let h = this.entities.get(p);
|
|
1613
|
-
h && (h.cssCompiledStyles = this.getCompiledStyles(h.cssClasses.split(" ")), h.colorIndex = o++, i.push(h));
|
|
1614
|
-
}
|
|
1615
|
-
let d = 0;
|
|
1616
|
-
for (let p of this.relationships) {
|
|
1617
|
-
let h = {
|
|
1618
|
-
id: Zt(p.entityA, p.entityB, {
|
|
1619
|
-
prefix: "id",
|
|
1620
|
-
counter: d++
|
|
1621
|
-
}),
|
|
1622
|
-
type: "normal",
|
|
1623
|
-
curve: "basis",
|
|
1624
|
-
start: p.entityA,
|
|
1625
|
-
end: p.entityB,
|
|
1626
|
-
label: p.roleA,
|
|
1627
|
-
labelpos: "c",
|
|
1628
|
-
thickness: "normal",
|
|
1629
|
-
classes: "relationshipLine",
|
|
1630
|
-
arrowTypeStart: p.relSpec.cardB.toLowerCase(),
|
|
1631
|
-
arrowTypeEnd: p.relSpec.cardA.toLowerCase(),
|
|
1632
|
-
pattern: p.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
|
|
1633
|
-
look: c.look,
|
|
1634
|
-
labelType: "markdown"
|
|
1635
|
-
};
|
|
1636
|
-
a.push(h);
|
|
1637
|
-
}
|
|
1638
|
-
return {
|
|
1639
|
-
nodes: i,
|
|
1640
|
-
edges: a,
|
|
1641
|
-
other: {},
|
|
1642
|
-
config: c,
|
|
1643
|
-
direction: "TB"
|
|
1644
|
-
};
|
|
1645
|
-
}
|
|
1646
|
-
}, u(D, "ErDB"), D), xt = {};
|
|
1647
|
-
Wt(xt, { draw: () => se });
|
|
1648
|
-
var se = /* @__PURE__ */ u(async function(s, i, a, c) {
|
|
1649
|
-
v.info("REF0:"), v.info("Drawing er diagram (unified)", i);
|
|
1650
|
-
let { securityLevel: o, er: d, layout: p } = it(), h = c.db.getData(), E = Jt(i, o);
|
|
1651
|
-
h.type = c.type, h.layoutAlgorithm = jt(p), h.config.flowchart.nodeSpacing = d?.nodeSpacing || 140, h.config.flowchart.rankSpacing = d?.rankSpacing || 80, h.direction = c.db.getDirection();
|
|
1652
|
-
let { config: W } = h, { look: j } = W;
|
|
1653
|
-
j === "neo" ? h.markers = [
|
|
1654
|
-
"only_one_neo",
|
|
1655
|
-
"zero_or_one_neo",
|
|
1656
|
-
"one_or_more_neo",
|
|
1657
|
-
"zero_or_more_neo"
|
|
1658
|
-
] : h.markers = [
|
|
1659
|
-
"only_one",
|
|
1660
|
-
"zero_or_one",
|
|
1661
|
-
"one_or_more",
|
|
1662
|
-
"zero_or_more"
|
|
1663
|
-
], h.diagramId = i, await Xt(h, E), h.layoutAlgorithm === "elk" && E.select(".edges").lower();
|
|
1664
|
-
let O = E.selectAll('[id*="-background"]');
|
|
1665
|
-
Array.from(O).length > 0 && O.each(function() {
|
|
1666
|
-
let L = qt(this), X = L.attr("id").replace("-background", ""), T = E.select(`#${CSS.escape(X)}`);
|
|
1667
|
-
if (!T.empty()) {
|
|
1668
|
-
let I = T.attr("transform");
|
|
1669
|
-
L.attr("transform", I);
|
|
1670
|
-
}
|
|
1671
|
-
}), Ht.insertTitle(E, "erDiagramTitleText", d?.titleTopMargin ?? 25, c.db.getDiagramTitle()), Vt(E, 8, "erDiagram", d?.useMaxWidth ?? !0);
|
|
1672
|
-
}, "draw"), Ct = /* @__PURE__ */ u((s, i) => {
|
|
1673
|
-
let a = Qt;
|
|
1674
|
-
return Bt(a(s, "r"), a(s, "g"), a(s, "b"), i);
|
|
1675
|
-
}, "fade"), rt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), ie = /* @__PURE__ */ u((s) => {
|
|
1676
|
-
let { theme: i, look: a, bkgColorArray: c, borderColorArray: o } = s;
|
|
1677
|
-
if (!rt.has(i)) return "";
|
|
1678
|
-
let d = c?.length > 0, p = "";
|
|
1679
|
-
for (let h = 0; h < s.THEME_COLOR_LIMIT; h++) p += `
|
|
1680
|
-
|
|
1681
|
-
[data-look="${a}"][data-color-id="color-${h}"].node path {
|
|
1682
|
-
stroke: ${o[h]};
|
|
1683
|
-
${d ? `fill: ${c[h]};` : ""}
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
[data-look="${a}"][data-color-id="color-${h}"].node rect {
|
|
1687
|
-
stroke: ${o[h]};
|
|
1688
|
-
${d ? `fill: ${c[h]};` : ""}
|
|
1689
|
-
}
|
|
1690
|
-
`;
|
|
1691
|
-
return p;
|
|
1692
|
-
}, "genColor"), le = {
|
|
1693
|
-
parser: te,
|
|
1694
|
-
get db() {
|
|
1695
|
-
return new ee();
|
|
1696
|
-
},
|
|
1697
|
-
renderer: xt,
|
|
1698
|
-
styles: /* @__PURE__ */ u((s) => {
|
|
1699
|
-
let { look: i, theme: a, erEdgeLabelBackground: c, strokeWidth: o } = s;
|
|
1700
|
-
return `
|
|
1701
|
-
${ie(s)}
|
|
1702
|
-
.entityBox {
|
|
1703
|
-
fill: ${s.mainBkg};
|
|
1704
|
-
stroke: ${s.nodeBorder};
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
.relationshipLabelBox {
|
|
1708
|
-
fill: ${s.tertiaryColor};
|
|
1709
|
-
opacity: 0.7;
|
|
1710
|
-
background-color: ${s.tertiaryColor};
|
|
1711
|
-
rect {
|
|
1712
|
-
opacity: 0.5;
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
.labelBkg {
|
|
1717
|
-
background-color: ${rt.has(a) && c ? c : Ct(s.tertiaryColor, 0.5)};
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
.edgeLabel {
|
|
1721
|
-
background-color: ${rt.has(a) && c ? c : s.edgeLabelBackground};
|
|
1722
|
-
}
|
|
1723
|
-
.edgeLabel .label rect {
|
|
1724
|
-
fill: ${rt.has(a) && c ? c : s.edgeLabelBackground};
|
|
1725
|
-
}
|
|
1726
|
-
.edgeLabel .label text {
|
|
1727
|
-
fill: ${s.textColor};
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
|
-
.edgeLabel .label {
|
|
1731
|
-
fill: ${s.nodeBorder};
|
|
1732
|
-
font-size: 14px;
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
.label {
|
|
1736
|
-
font-family: ${s.fontFamily};
|
|
1737
|
-
color: ${s.nodeTextColor || s.textColor};
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
.edge-pattern-dashed {
|
|
1741
|
-
stroke-dasharray: 8,8;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
.node rect,
|
|
1745
|
-
.node circle,
|
|
1746
|
-
.node ellipse,
|
|
1747
|
-
.node polygon
|
|
1748
|
-
{
|
|
1749
|
-
fill: ${s.mainBkg};
|
|
1750
|
-
stroke: ${s.nodeBorder};
|
|
1751
|
-
stroke-width: ${i === "neo" ? o : "1px"};
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
.relationshipLine {
|
|
1755
|
-
stroke: ${s.lineColor};
|
|
1756
|
-
stroke-width: ${i === "neo" ? o : "1px"};
|
|
1757
|
-
fill: none;
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
.marker {
|
|
1761
|
-
fill: none !important;
|
|
1762
|
-
stroke: ${s.lineColor} !important;
|
|
1763
|
-
stroke-width: 1;
|
|
1764
|
-
}
|
|
1765
|
-
[data-look=neo].labelBkg {
|
|
1766
|
-
background-color: ${Ct(s.tertiaryColor, 0.5)};
|
|
1767
|
-
}
|
|
1768
|
-
`;
|
|
1769
|
-
}, "getStyles")
|
|
1770
|
-
};
|
|
1771
|
-
export {
|
|
1772
|
-
le as diagram
|
|
1773
|
-
};
|