@kong-ui-public/documentation 0.3.42 → 0.4.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.
Files changed (155) hide show
  1. package/dist/Tableau10-GLA_9iAD-BMurskAd.js +9 -0
  2. package/dist/arc-BSRpyMf3-C5dasNo_.js +86 -0
  3. package/dist/array-CqVTtuYm-fKLgkG2b.js +6 -0
  4. package/dist/astro-mwoSwJnq-CNh-xuM0.js +27 -0
  5. package/dist/blockDiagram-6b2b5046-D02VCbQO-CPmGy0xX.js +1224 -0
  6. package/dist/c-eDnjw9rh-eDnjw9rh.js +87 -0
  7. package/dist/c4Diagram-b947cdbb-gYcL5VzP-DIDY83e1.js +1578 -0
  8. package/dist/channel-DHTQ8Ynn-7OPGex2S.js +5 -0
  9. package/dist/classDiagram-35230388-JdSKLSZv-D2crBRy-.js +217 -0
  10. package/dist/classDiagram-v2-412acd34-DFFRHXE_-B6aCxlD1.js +200 -0
  11. package/dist/clone-p6h9XXNm-3JQ-HRC6.js +8 -0
  12. package/dist/coffee-CRlSxcc3-CY091_1T.js +108 -0
  13. package/dist/cpp-DizfY48B-CA38N4Mn.js +208 -0
  14. package/dist/createText-423428c9-LivTKT7b-BXNfjcdp.js +2964 -0
  15. package/dist/csharp-uGDiXTZn-uGDiXTZn.js +762 -0
  16. package/dist/css-CAzixsid-CEpuX1HY.js +511 -0
  17. package/dist/csv-D4BoHddH-D4BoHddH.js +7 -0
  18. package/dist/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
  19. package/dist/docker-B10O2enb-B10O2enb.js +7 -0
  20. package/dist/documentation.es.js +5 -3130
  21. package/dist/documentation.umd.js +10152 -50
  22. package/dist/edges-d417c7a0-C1ggiwWz-Aj0OUf7e.js +1082 -0
  23. package/dist/erDiagram-0ea73325-mz0Z_-DA-Dr01LsTB.js +924 -0
  24. package/dist/flowDb-d35e309a-CPyxEMIt-lofeyUuw.js +1126 -0
  25. package/dist/flowDiagram-d949d7c1-DqCa0HNN-BK5wNO9Z.js +782 -0
  26. package/dist/flowDiagram-v2-49332944-UMosz1sZ-BG39AuNP.js +17 -0
  27. package/dist/flowchart-elk-definition-27cc417a-D2UKpS6N-r2p34307.js +48387 -0
  28. package/dist/ganttDiagram-5c869e3b-CVBHw4pG-CaG9QXQM.js +2490 -0
  29. package/dist/git-commit-CWf81VOF-DtOZSoIU.js +9 -0
  30. package/dist/git-rebase-sR-yVH_J-D5M2oE9O.js +9 -0
  31. package/dist/gitGraphDiagram-b9d81de9-BGm3fU0n-CbCpf-4j.js +1262 -0
  32. package/dist/go-BCCWZWY1-BCCWZWY1.js +7 -0
  33. package/dist/graph-4FyIWFHN-774TpNLL.js +870 -0
  34. package/dist/graphql-CT32SSoq-1pBWfpcR.js +18 -0
  35. package/dist/haml-8RvrfhLO-Bbc4xoLP.js +19 -0
  36. package/dist/handlebars-Cr5ro0bH-CLcCNLtV.js +15 -0
  37. package/dist/haskell-BfFu8DD8-BmkPJdLL.js +565 -0
  38. package/dist/html-BZB5lEhh-B74zAnWx.js +84 -0
  39. package/dist/html-derivative-0y7sV5Qc-D8-muTWn.js +9 -0
  40. package/dist/index-8fae9850-_CN7MNjP-Cq-s0PmS.js +373 -0
  41. package/dist/index-B-5DuDrq.js +29996 -0
  42. package/dist/infoDiagram-db7b18fc-V446j9uR-GSa8bniv.js +319 -0
  43. package/dist/ini-BsUFIxsI-BsUFIxsI.js +7 -0
  44. package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
  45. package/dist/java-Bk2JzfKB-Bk2JzfKB.js +74 -0
  46. package/dist/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
  47. package/dist/journeyDiagram-d5636530-CFiu7dnV-DJMu6A22.js +803 -0
  48. package/dist/json-B12k4-6m-B12k4-6m.js +31 -0
  49. package/dist/json5-CvqQZK9I-CvqQZK9I.js +23 -0
  50. package/dist/jsonc-v2qGKRJY-v2qGKRJY.js +31 -0
  51. package/dist/jsonl-izxnMeZX-izxnMeZX.js +31 -0
  52. package/dist/jsx-aDp7j9_Z-aDp7j9_Z.js +705 -0
  53. package/dist/kotlin-NOMOielb-NOMOielb.js +7 -0
  54. package/dist/latex-Bw_ghldO-BlUAi6pB.js +339 -0
  55. package/dist/layout-2-aEcfuw-BqqWy5wB.js +1524 -0
  56. package/dist/less-CW2GmQHL-CW2GmQHL.js +165 -0
  57. package/dist/line-nVq5kEiy-DtZd3PHZ.js +34 -0
  58. package/dist/linear-Bz4oRFvQ-C869GXbm.js +447 -0
  59. package/dist/liquid-DJ2rh7oT-FwZwa67Y.js +28 -0
  60. package/dist/lua-5TZ-G8Be-CogscVHC.js +9 -0
  61. package/dist/make-whncTQWE-whncTQWE.js +7 -0
  62. package/dist/markdown-DYKdIx5--DYKdIx5-.js +135 -0
  63. package/dist/material-theme-lighter-BRE1Bis3-BRE1Bis3.js +769 -0
  64. package/dist/material-theme-palenight-Dhz61Tee-Dhz61Tee.js +769 -0
  65. package/dist/mdc-D0DPLwil-BfE3hy8_.js +88 -0
  66. package/dist/mdx-CKDMxEaL-CKDMxEaL.js +7 -0
  67. package/dist/mermaid-BxNM-z-u-BxNM-z-u.js +7 -0
  68. package/dist/mindmap-definition-377f8f1f-C2vFYDMs-B71SGbvx.js +19078 -0
  69. package/dist/nginx-C082G13W-vryM9k1W.js +9 -0
  70. package/dist/objective-c-BVtzkNiv-BVtzkNiv.js +115 -0
  71. package/dist/onig-BonMD2gC-BonMD2gC.js +4 -0
  72. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
  73. package/dist/pascal-CrvtytWS-CrvtytWS.js +7 -0
  74. package/dist/path-Crsf9Nsj-SiSjwXsf.js +91 -0
  75. package/dist/perl-D29UPKP6-Dez6-HRy.js +17 -0
  76. package/dist/php-D7Tl-iS7-BtPFrDEt.js +789 -0
  77. package/dist/pieDiagram-b0208e96-DhA_SoTh-CfDd9YdA.js +501 -0
  78. package/dist/plsql-8SPzZKaa-8SPzZKaa.js +7 -0
  79. package/dist/postcss-Cz2vjx_4-Cz2vjx_4.js +7 -0
  80. package/dist/powershell-B0buHCuS-B0buHCuS.js +7 -0
  81. package/dist/proto-6YaU_lta-6YaU_lta.js +7 -0
  82. package/dist/pug-DbFO7359-duYD8LVa.js +21 -0
  83. package/dist/python-BQXev0_W-BQXev0_W.js +524 -0
  84. package/dist/quadrantDiagram-0332be45-C8q96Ohm-DMblaqnx.js +903 -0
  85. package/dist/r-DU7Q70f1-DU7Q70f1.js +7 -0
  86. package/dist/reg-DoGLEyFr-DoGLEyFr.js +7 -0
  87. package/dist/requirementDiagram-bf7890df-D30zCZjB-B_JBC9RM.js +767 -0
  88. package/dist/rst-Bm1i8IkK-C9EaDq6g.js +26 -0
  89. package/dist/ruby-CZZKXaz8-BxaDEkRP.js +102 -0
  90. package/dist/rust-CIl6NRUt-CIl6NRUt.js +7 -0
  91. package/dist/sankeyDiagram-0acdec17-B4vNjMaS-Bauvtonp.js +816 -0
  92. package/dist/sass-LqXmC1Fh-LqXmC1Fh.js +8 -0
  93. package/dist/scss-DjxgF7f7-DGTzny6p.js +98 -0
  94. package/dist/sequenceDiagram-c18d009d-BniqGSPK-DuYYUmiZ.js +2201 -0
  95. package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +7 -0
  96. package/dist/shellsession-BIPXtZci-D6avbCwN.js +9 -0
  97. package/dist/splunk-C0K00wNV-C0K00wNV.js +7 -0
  98. package/dist/sql-DkzN59UV-DkzN59UV.js +27 -0
  99. package/dist/ssh-config-BbWAW6SY-BbWAW6SY.js +7 -0
  100. package/dist/stateDiagram-43596fc0-F0V9suMd-L2Ywe-J_.js +266 -0
  101. package/dist/stateDiagram-v2-2ead4f9c-DUgJH8tF-BVo1q2i1.js +184 -0
  102. package/dist/style.css +1 -1
  103. package/dist/styles-6860f46c-Dflmq0ac-BRNSwis6.js +1089 -0
  104. package/dist/styles-7383a064-Dg7mXkpq-C4bItohl.js +430 -0
  105. package/dist/styles-b2c874b6-HpcOhE4Y-Bj0upXzO.js +960 -0
  106. package/dist/stylus-CAHdVuhm-CAHdVuhm.js +21 -0
  107. package/dist/svelte-DAxjO8Sh-D0e501jC.js +29 -0
  108. package/dist/svgDrawCommon-0ee1b4e9-CNkCfzsJ-Bz_doYLk.js +64 -0
  109. package/dist/swift-x2DVyVjN-Bz5PC9YM.js +550 -0
  110. package/dist/timeline-definition-d977decf-Cl38e_0g-D_Dlqa-R.js +794 -0
  111. package/dist/toml-Dbtbfmwk-Dbtbfmwk.js +75 -0
  112. package/dist/tsx-BmwsDeeh-BmwsDeeh.js +705 -0
  113. package/dist/twig-B_Gr-ODl-Cl9Q0GWo.js +58 -0
  114. package/dist/types/components/DocumentationContent.vue.d.ts +8 -1
  115. package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
  116. package/dist/types/components/DocumentationDisplay.vue.d.ts +5 -1
  117. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
  118. package/dist/types/components/ProductDocumentModal.vue.d.ts +1 -1
  119. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
  120. package/dist/types/composables/useI18n.d.ts +4 -0
  121. package/dist/types/composables/useI18n.d.ts.map +1 -1
  122. package/dist/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
  123. package/dist/v-BuvBsUKm-BuvBsUKm.js +7 -0
  124. package/dist/vb-cqjo5dul-cqjo5dul.js +7 -0
  125. package/dist/viml-h3ATW6He-h3ATW6He.js +7 -0
  126. package/dist/vue-Dz-azHaT-B9qBHMZi.js +71 -0
  127. package/dist/vue-html-DIGKAAs4-BeHSIJcx.js +11 -0
  128. package/dist/wasm-xOGcJ9Ts-xOGcJ9Ts.js +7 -0
  129. package/dist/wgsl-hGLOfCya-hGLOfCya.js +7 -0
  130. package/dist/xml-CfRpfi_B-BH3JRQfc.js +9 -0
  131. package/dist/xsl-BAqhSCYL-BTKPZRNQ.js +9 -0
  132. package/dist/xychartDiagram-e50adddc-JdLmRUgg-HmDalTeo.js +1282 -0
  133. package/dist/yaml-PGla5xPP-HJurM_FJ.js +206 -0
  134. package/package.json +13 -13
  135. package/dist/prism-bash.min-DDo5CyRs-DihCfXgx.js +0 -7
  136. package/dist/prism-css.min-BrrzZC7b-BrrzZC7b.js +0 -7
  137. package/dist/prism-docker.min-DnIEokC3-D0v8IWN_.js +0 -22
  138. package/dist/prism-go.min-C7UmK6TW-C7UmK6TW.js +0 -1
  139. package/dist/prism-http.min-CsU3-jB8-CQ8PCDXl.js +0 -23
  140. package/dist/prism-javascript.min-CEqHqgbm-CEqHqgbm.js +0 -8
  141. package/dist/prism-jq.min-Q555vXZm-Q555vXZm.js +0 -8
  142. package/dist/prism-json.min-B1GJqK1k-B1GJqK1k.js +0 -1
  143. package/dist/prism-log.min-SDopTpKN-SDopTpKN.js +0 -1
  144. package/dist/prism-lua.min-DwRnUVfS-DwRnUVfS.js +0 -1
  145. package/dist/prism-makefile.min-DyutknhE-DyutknhE.js +0 -1
  146. package/dist/prism-markdown.min-B7US-xc7-DB9aF_ZA.js +0 -63
  147. package/dist/prism-python.min-BIfpAh5K-BIfpAh5K.js +0 -1
  148. package/dist/prism-regex.min-f8DNqi8X-f8DNqi8X.js +0 -4
  149. package/dist/prism-rest.min-B6veHRJF-B6veHRJF.js +0 -1
  150. package/dist/prism-rust.min-Cb-Mi-h0-Cb-Mi-h0.js +0 -9
  151. package/dist/prism-scss.min-B0csyGJo-B0csyGJo.js +0 -1
  152. package/dist/prism-sql.min-BHXzX-c_-BHXzX-c_.js +0 -1
  153. package/dist/prism-typescript.min-oSVeWCAd-oSVeWCAd.js +0 -5
  154. package/dist/prism-xml-doc.min-yj0YzRGe-KgTQx-dc.js +0 -7
  155. package/dist/prism-yaml.min-CTetcdKA-C1YzP_OY.js +0 -28
@@ -0,0 +1,501 @@
1
+ import { aL as rt, v as at, x as lt, s as ct, g as ot, b as ht, a as ut, z as yt, d as pt, c as tt, l as et, aM as gt, aK as ft, aN as mt, i as dt, aO as B } from "./index-B-5DuDrq.js";
2
+ import { v as Z } from "./arc-BSRpyMf3-C5dasNo_.js";
3
+ import { h as _t } from "./ordinal-MUacOSdK-B1MUT0BL.js";
4
+ import { t as bt } from "./array-CqVTtuYm-fKLgkG2b.js";
5
+ import { P as R } from "./path-Crsf9Nsj-SiSjwXsf.js";
6
+ function vt(e, h) {
7
+ return h < e ? -1 : h > e ? 1 : h >= e ? 0 : NaN;
8
+ }
9
+ function xt(e) {
10
+ return e;
11
+ }
12
+ function kt() {
13
+ var e = xt, h = vt, p = null, w = R(0), k = R(B), S = R(0);
14
+ function u(r) {
15
+ var l, m = (r = bt(r)).length, d, I, T = 0, _ = new Array(m), v = new Array(m), c = +w.apply(this, arguments), A = Math.min(B, Math.max(-B, k.apply(this, arguments) - c)), D, E = Math.min(Math.abs(A) / m, S.apply(this, arguments)), f = E * (A < 0 ? -1 : 1), t;
16
+ for (l = 0; l < m; ++l)
17
+ (t = v[_[l] = l] = +e(r[l], l, r)) > 0 && (T += t);
18
+ for (h != null ? _.sort(function(i, s) {
19
+ return h(v[i], v[s]);
20
+ }) : p != null && _.sort(function(i, s) {
21
+ return p(r[i], r[s]);
22
+ }), l = 0, I = T ? (A - m * f) / T : 0; l < m; ++l, c = D)
23
+ d = _[l], t = v[d], D = c + (t > 0 ? t * I : 0) + f, v[d] = {
24
+ data: r[d],
25
+ index: l,
26
+ value: t,
27
+ startAngle: c,
28
+ endAngle: D,
29
+ padAngle: E
30
+ };
31
+ return v;
32
+ }
33
+ return u.value = function(r) {
34
+ return arguments.length ? (e = typeof r == "function" ? r : R(+r), u) : e;
35
+ }, u.sortValues = function(r) {
36
+ return arguments.length ? (h = r, p = null, u) : h;
37
+ }, u.sort = function(r) {
38
+ return arguments.length ? (p = r, h = null, u) : p;
39
+ }, u.startAngle = function(r) {
40
+ return arguments.length ? (w = typeof r == "function" ? r : R(+r), u) : w;
41
+ }, u.endAngle = function(r) {
42
+ return arguments.length ? (k = typeof r == "function" ? r : R(+r), u) : k;
43
+ }, u.padAngle = function(r) {
44
+ return arguments.length ? (S = typeof r == "function" ? r : R(+r), u) : S;
45
+ }, u;
46
+ }
47
+ var H = function() {
48
+ var e = function(f, t, i, s) {
49
+ for (i = i || {}, s = f.length; s--; i[f[s]] = t)
50
+ ;
51
+ return i;
52
+ }, h = [1, 3], p = [1, 4], w = [1, 5], k = [1, 6], S = [1, 10, 12, 14, 16, 18, 19, 20, 21, 22], u = [2, 4], r = [1, 5, 10, 12, 14, 16, 18, 19, 20, 21, 22], l = [20, 21, 22], m = [2, 7], d = [1, 12], I = [1, 13], T = [1, 14], _ = [1, 15], v = [1, 16], c = [1, 17], A = {
53
+ trace: function() {
54
+ },
55
+ yy: {},
56
+ symbols_: { error: 2, start: 3, eol: 4, PIE: 5, document: 6, showData: 7, line: 8, statement: 9, txt: 10, value: 11, title: 12, title_value: 13, acc_title: 14, acc_title_value: 15, acc_descr: 16, acc_descr_value: 17, acc_descr_multiline_value: 18, section: 19, NEWLINE: 20, ";": 21, EOF: 22, $accept: 0, $end: 1 },
57
+ terminals_: { 2: "error", 5: "PIE", 7: "showData", 10: "txt", 11: "value", 12: "title", 13: "title_value", 14: "acc_title", 15: "acc_title_value", 16: "acc_descr", 17: "acc_descr_value", 18: "acc_descr_multiline_value", 19: "section", 20: "NEWLINE", 21: ";", 22: "EOF" },
58
+ productions_: [0, [3, 2], [3, 2], [3, 3], [6, 0], [6, 2], [8, 2], [9, 0], [9, 2], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [4, 1], [4, 1], [4, 1]],
59
+ performAction: function(f, t, i, s, a, n, y) {
60
+ var x = n.length - 1;
61
+ switch (a) {
62
+ case 3:
63
+ s.setShowData(!0);
64
+ break;
65
+ case 6:
66
+ this.$ = n[x - 1];
67
+ break;
68
+ case 8:
69
+ s.addSection(n[x - 1], s.cleanupValue(n[x]));
70
+ break;
71
+ case 9:
72
+ this.$ = n[x].trim(), s.setDiagramTitle(this.$);
73
+ break;
74
+ case 10:
75
+ this.$ = n[x].trim(), s.setAccTitle(this.$);
76
+ break;
77
+ case 11:
78
+ case 12:
79
+ this.$ = n[x].trim(), s.setAccDescription(this.$);
80
+ break;
81
+ case 13:
82
+ s.addSection(n[x].substr(8)), this.$ = n[x].substr(8);
83
+ break;
84
+ }
85
+ },
86
+ table: [{ 3: 1, 4: 2, 5: h, 20: p, 21: w, 22: k }, { 1: [3] }, { 3: 7, 4: 2, 5: h, 20: p, 21: w, 22: k }, e(S, u, { 6: 8, 7: [1, 9] }), e(r, [2, 14]), e(r, [2, 15]), e(r, [2, 16]), { 1: [2, 1] }, e(l, m, { 8: 10, 9: 11, 1: [2, 2], 10: d, 12: I, 14: T, 16: _, 18: v, 19: c }), e(S, u, { 6: 18 }), e(S, [2, 5]), { 4: 19, 20: p, 21: w, 22: k }, { 11: [1, 20] }, { 13: [1, 21] }, { 15: [1, 22] }, { 17: [1, 23] }, e(l, [2, 12]), e(l, [2, 13]), e(l, m, { 8: 10, 9: 11, 1: [2, 3], 10: d, 12: I, 14: T, 16: _, 18: v, 19: c }), e(S, [2, 6]), e(l, [2, 8]), e(l, [2, 9]), e(l, [2, 10]), e(l, [2, 11])],
87
+ defaultActions: { 7: [2, 1] },
88
+ parseError: function(f, t) {
89
+ if (t.recoverable)
90
+ this.trace(f);
91
+ else {
92
+ var i = new Error(f);
93
+ throw i.hash = t, i;
94
+ }
95
+ },
96
+ parse: function(f) {
97
+ var t = this, i = [0], s = [], a = [null], n = [], y = this.table, x = "", N = 0, g = 0, V = 2, M = 1, Y = n.slice.call(arguments, 1), o = Object.create(this.lexer), O = { yy: {} };
98
+ for (var K in this.yy)
99
+ Object.prototype.hasOwnProperty.call(this.yy, K) && (O.yy[K] = this.yy[K]);
100
+ o.setInput(f, O.yy), O.yy.lexer = o, O.yy.parser = this, typeof o.yylloc > "u" && (o.yylloc = {});
101
+ var G = o.yylloc;
102
+ n.push(G);
103
+ var nt = o.options && o.options.ranges;
104
+ typeof O.yy.parseError == "function" ? this.parseError = O.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
105
+ function st() {
106
+ var P;
107
+ return P = s.pop() || o.lex() || M, typeof P != "number" && (P instanceof Array && (s = P, P = s.pop()), P = t.symbols_[P] || P), P;
108
+ }
109
+ for (var b, F, $, J, z = {}, j, C, q, L; ; ) {
110
+ if (F = i[i.length - 1], this.defaultActions[F] ? $ = this.defaultActions[F] : ((b === null || typeof b > "u") && (b = st()), $ = y[F] && y[F][b]), typeof $ > "u" || !$.length || !$[0]) {
111
+ var X = "";
112
+ L = [];
113
+ for (j in y[F])
114
+ this.terminals_[j] && j > V && L.push("'" + this.terminals_[j] + "'");
115
+ o.showPosition ? X = "Parse error on line " + (N + 1) + `:
116
+ ` + o.showPosition() + `
117
+ Expecting ` + L.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "Parse error on line " + (N + 1) + ": Unexpected " + (b == M ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(X, {
118
+ text: o.match,
119
+ token: this.terminals_[b] || b,
120
+ line: o.yylineno,
121
+ loc: G,
122
+ expected: L
123
+ });
124
+ }
125
+ if ($[0] instanceof Array && $.length > 1)
126
+ throw new Error("Parse Error: multiple actions possible at state: " + F + ", token: " + b);
127
+ switch ($[0]) {
128
+ case 1:
129
+ i.push(b), a.push(o.yytext), n.push(o.yylloc), i.push($[1]), b = null, g = o.yyleng, x = o.yytext, N = o.yylineno, G = o.yylloc;
130
+ break;
131
+ case 2:
132
+ if (C = this.productions_[$[1]][1], z.$ = a[a.length - C], z._$ = {
133
+ first_line: n[n.length - (C || 1)].first_line,
134
+ last_line: n[n.length - 1].last_line,
135
+ first_column: n[n.length - (C || 1)].first_column,
136
+ last_column: n[n.length - 1].last_column
137
+ }, nt && (z._$.range = [
138
+ n[n.length - (C || 1)].range[0],
139
+ n[n.length - 1].range[1]
140
+ ]), J = this.performAction.apply(z, [
141
+ x,
142
+ g,
143
+ N,
144
+ O.yy,
145
+ $[1],
146
+ a,
147
+ n
148
+ ].concat(Y)), typeof J < "u")
149
+ return J;
150
+ C && (i = i.slice(0, -1 * C * 2), a = a.slice(0, -1 * C), n = n.slice(0, -1 * C)), i.push(this.productions_[$[1]][0]), a.push(z.$), n.push(z._$), q = y[i[i.length - 2]][i[i.length - 1]], i.push(q);
151
+ break;
152
+ case 3:
153
+ return !0;
154
+ }
155
+ }
156
+ return !0;
157
+ }
158
+ }, D = /* @__PURE__ */ function() {
159
+ var f = {
160
+ EOF: 1,
161
+ parseError: function(t, i) {
162
+ if (this.yy.parser)
163
+ this.yy.parser.parseError(t, i);
164
+ else
165
+ throw new Error(t);
166
+ },
167
+ // resets the lexer, sets new input
168
+ setInput: function(t, i) {
169
+ return this.yy = i || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
170
+ first_line: 1,
171
+ first_column: 0,
172
+ last_line: 1,
173
+ last_column: 0
174
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
175
+ },
176
+ // consumes and returns one char from the input
177
+ input: function() {
178
+ var t = this._input[0];
179
+ this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
180
+ var i = t.match(/(?:\r\n?|\n).*/g);
181
+ return i ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
182
+ },
183
+ // unshifts one char (or a string) into the input
184
+ unput: function(t) {
185
+ var i = t.length, s = t.split(/(?:\r\n?|\n)/g);
186
+ this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - i), this.offset -= i;
187
+ var a = this.match.split(/(?:\r\n?|\n)/g);
188
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), s.length - 1 && (this.yylineno -= s.length - 1);
189
+ var n = this.yylloc.range;
190
+ return this.yylloc = {
191
+ first_line: this.yylloc.first_line,
192
+ last_line: this.yylineno + 1,
193
+ first_column: this.yylloc.first_column,
194
+ last_column: s ? (s.length === a.length ? this.yylloc.first_column : 0) + a[a.length - s.length].length - s[0].length : this.yylloc.first_column - i
195
+ }, this.options.ranges && (this.yylloc.range = [n[0], n[0] + this.yyleng - i]), this.yyleng = this.yytext.length, this;
196
+ },
197
+ // When called from action, caches matched text and appends it on next action
198
+ more: function() {
199
+ return this._more = !0, this;
200
+ },
201
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
202
+ reject: function() {
203
+ if (this.options.backtrack_lexer)
204
+ this._backtrack = !0;
205
+ else
206
+ 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).
207
+ ` + this.showPosition(), {
208
+ text: "",
209
+ token: null,
210
+ line: this.yylineno
211
+ });
212
+ return this;
213
+ },
214
+ // retain first n characters of the match
215
+ less: function(t) {
216
+ this.unput(this.match.slice(t));
217
+ },
218
+ // displays already matched input, i.e. for error messages
219
+ pastInput: function() {
220
+ var t = this.matched.substr(0, this.matched.length - this.match.length);
221
+ return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
222
+ },
223
+ // displays upcoming input, i.e. for error messages
224
+ upcomingInput: function() {
225
+ var t = this.match;
226
+ return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
227
+ },
228
+ // displays the character position where the lexing error occurred, i.e. for error messages
229
+ showPosition: function() {
230
+ var t = this.pastInput(), i = new Array(t.length + 1).join("-");
231
+ return t + this.upcomingInput() + `
232
+ ` + i + "^";
233
+ },
234
+ // test the lexed token: return FALSE when not a match, otherwise return token
235
+ test_match: function(t, i) {
236
+ var s, a, n;
237
+ if (this.options.backtrack_lexer && (n = {
238
+ yylineno: this.yylineno,
239
+ yylloc: {
240
+ first_line: this.yylloc.first_line,
241
+ last_line: this.last_line,
242
+ first_column: this.yylloc.first_column,
243
+ last_column: this.yylloc.last_column
244
+ },
245
+ yytext: this.yytext,
246
+ match: this.match,
247
+ matches: this.matches,
248
+ matched: this.matched,
249
+ yyleng: this.yyleng,
250
+ offset: this.offset,
251
+ _more: this._more,
252
+ _input: this._input,
253
+ yy: this.yy,
254
+ conditionStack: this.conditionStack.slice(0),
255
+ done: this.done
256
+ }, this.options.ranges && (n.yylloc.range = this.yylloc.range.slice(0))), a = t[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
257
+ first_line: this.yylloc.last_line,
258
+ last_line: this.yylineno + 1,
259
+ first_column: this.yylloc.last_column,
260
+ last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
261
+ }, this.yytext += t[0], this.match += t[0], this.matches = t, 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(t[0].length), this.matched += t[0], s = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), s)
262
+ return s;
263
+ if (this._backtrack) {
264
+ for (var y in n)
265
+ this[y] = n[y];
266
+ return !1;
267
+ }
268
+ return !1;
269
+ },
270
+ // return next match in input
271
+ next: function() {
272
+ if (this.done)
273
+ return this.EOF;
274
+ this._input || (this.done = !0);
275
+ var t, i, s, a;
276
+ this._more || (this.yytext = "", this.match = "");
277
+ for (var n = this._currentRules(), y = 0; y < n.length; y++)
278
+ if (s = this._input.match(this.rules[n[y]]), s && (!i || s[0].length > i[0].length)) {
279
+ if (i = s, a = y, this.options.backtrack_lexer) {
280
+ if (t = this.test_match(s, n[y]), t !== !1)
281
+ return t;
282
+ if (this._backtrack) {
283
+ i = !1;
284
+ continue;
285
+ } else
286
+ return !1;
287
+ } else if (!this.options.flex)
288
+ break;
289
+ }
290
+ return i ? (t = this.test_match(i, n[a]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
291
+ ` + this.showPosition(), {
292
+ text: "",
293
+ token: null,
294
+ line: this.yylineno
295
+ });
296
+ },
297
+ // return next match that has a token
298
+ lex: function() {
299
+ var t = this.next();
300
+ return t || this.lex();
301
+ },
302
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
303
+ begin: function(t) {
304
+ this.conditionStack.push(t);
305
+ },
306
+ // pop the previously active lexer condition state off the condition stack
307
+ popState: function() {
308
+ var t = this.conditionStack.length - 1;
309
+ return t > 0 ? this.conditionStack.pop() : this.conditionStack[0];
310
+ },
311
+ // produce the lexer rule set which is active for the currently active lexer condition state
312
+ _currentRules: function() {
313
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
314
+ },
315
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
316
+ topState: function(t) {
317
+ return t = this.conditionStack.length - 1 - Math.abs(t || 0), t >= 0 ? this.conditionStack[t] : "INITIAL";
318
+ },
319
+ // alias for begin(condition)
320
+ pushState: function(t) {
321
+ this.begin(t);
322
+ },
323
+ // return the number of states currently on the stack
324
+ stateStackSize: function() {
325
+ return this.conditionStack.length;
326
+ },
327
+ options: { "case-insensitive": !0 },
328
+ performAction: function(t, i, s, a) {
329
+ switch (s) {
330
+ case 0:
331
+ break;
332
+ case 1:
333
+ break;
334
+ case 2:
335
+ return 20;
336
+ case 3:
337
+ break;
338
+ case 4:
339
+ break;
340
+ case 5:
341
+ return this.begin("title"), 12;
342
+ case 6:
343
+ return this.popState(), "title_value";
344
+ case 7:
345
+ return this.begin("acc_title"), 14;
346
+ case 8:
347
+ return this.popState(), "acc_title_value";
348
+ case 9:
349
+ return this.begin("acc_descr"), 16;
350
+ case 10:
351
+ return this.popState(), "acc_descr_value";
352
+ case 11:
353
+ this.begin("acc_descr_multiline");
354
+ break;
355
+ case 12:
356
+ this.popState();
357
+ break;
358
+ case 13:
359
+ return "acc_descr_multiline_value";
360
+ case 14:
361
+ this.begin("string");
362
+ break;
363
+ case 15:
364
+ this.popState();
365
+ break;
366
+ case 16:
367
+ return "txt";
368
+ case 17:
369
+ return 5;
370
+ case 18:
371
+ return 7;
372
+ case 19:
373
+ return "value";
374
+ case 20:
375
+ return 22;
376
+ }
377
+ },
378
+ rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:[\s]+)/i, /^(?:title\b)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:pie\b)/i, /^(?:showData\b)/i, /^(?::[\s]*[\d]+(?:\.[\d]+)?)/i, /^(?:$)/i],
379
+ conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, title: { rules: [6], inclusive: !1 }, string: { rules: [15, 16], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 7, 9, 11, 14, 17, 18, 19, 20], inclusive: !0 } }
380
+ };
381
+ return f;
382
+ }();
383
+ A.lexer = D;
384
+ function E() {
385
+ this.yy = {};
386
+ }
387
+ return E.prototype = A, A.Parser = E, new E();
388
+ }();
389
+ H.parser = H;
390
+ const $t = H, it = rt.pie, U = {
391
+ sections: {},
392
+ showData: !1,
393
+ config: it
394
+ };
395
+ let W = U.sections, Q = U.showData;
396
+ const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
397
+ W = structuredClone(U.sections), Q = U.showData, yt();
398
+ }, Et = (e, h) => {
399
+ e = pt(e, tt()), W[e] === void 0 && (W[e] = h, et.debug(`added new section: ${e}, with value: ${h}`));
400
+ }, Tt = () => W, It = (e) => (e.substring(0, 1) === ":" && (e = e.substring(1).trim()), Number(e.trim())), Ot = (e) => {
401
+ Q = e;
402
+ }, Ct = () => Q, Pt = {
403
+ getConfig: St,
404
+ clear: At,
405
+ setDiagramTitle: at,
406
+ getDiagramTitle: lt,
407
+ setAccTitle: ct,
408
+ getAccTitle: ot,
409
+ setAccDescription: ht,
410
+ getAccDescription: ut,
411
+ addSection: Et,
412
+ getSections: Tt,
413
+ cleanupValue: It,
414
+ setShowData: Ot,
415
+ getShowData: Ct
416
+ }, Dt = (e) => `
417
+ .pieCircle{
418
+ stroke: ${e.pieStrokeColor};
419
+ stroke-width : ${e.pieStrokeWidth};
420
+ opacity : ${e.pieOpacity};
421
+ }
422
+ .pieOuterCircle{
423
+ stroke: ${e.pieOuterStrokeColor};
424
+ stroke-width: ${e.pieOuterStrokeWidth};
425
+ fill: none;
426
+ }
427
+ .pieTitleText {
428
+ text-anchor: middle;
429
+ font-size: ${e.pieTitleTextSize};
430
+ fill: ${e.pieTitleTextColor};
431
+ font-family: ${e.fontFamily};
432
+ }
433
+ .slice {
434
+ font-family: ${e.fontFamily};
435
+ fill: ${e.pieSectionTextColor};
436
+ font-size:${e.pieSectionTextSize};
437
+ // fill: white;
438
+ }
439
+ .legend text {
440
+ fill: ${e.pieLegendTextColor};
441
+ font-family: ${e.fontFamily};
442
+ font-size: ${e.pieLegendTextSize};
443
+ }
444
+ `, Nt = Dt, Mt = (e) => {
445
+ const h = Object.entries(e).map((p) => ({
446
+ label: p[0],
447
+ value: p[1]
448
+ })).sort((p, w) => w.value - p.value);
449
+ return kt().value(
450
+ (p) => p.value
451
+ )(h);
452
+ }, Ft = (e, h, p, w) => {
453
+ et.debug(`rendering pie chart
454
+ ` + e);
455
+ const k = w.db, S = tt(), u = gt(k.getConfig(), S.pie), r = 40, l = 18, m = 4, d = 450, I = d, T = ft(h), _ = T.append("g"), v = k.getSections();
456
+ _.attr("transform", "translate(" + I / 2 + "," + d / 2 + ")");
457
+ const { themeVariables: c } = S;
458
+ let [A] = mt(c.pieOuterStrokeWidth);
459
+ A ?? (A = 2);
460
+ const D = u.textPosition, E = Math.min(I, d) / 2 - r, f = Z().innerRadius(0).outerRadius(E), t = Z().innerRadius(E * D).outerRadius(E * D);
461
+ _.append("circle").attr("cx", 0).attr("cy", 0).attr("r", E + A / 2).attr("class", "pieOuterCircle");
462
+ const i = Mt(v), s = [
463
+ c.pie1,
464
+ c.pie2,
465
+ c.pie3,
466
+ c.pie4,
467
+ c.pie5,
468
+ c.pie6,
469
+ c.pie7,
470
+ c.pie8,
471
+ c.pie9,
472
+ c.pie10,
473
+ c.pie11,
474
+ c.pie12
475
+ ], a = _t(s);
476
+ _.selectAll("mySlices").data(i).enter().append("path").attr("d", f).attr("fill", (g) => a(g.data.label)).attr("class", "pieCircle");
477
+ let n = 0;
478
+ Object.keys(v).forEach((g) => {
479
+ n += v[g];
480
+ }), _.selectAll("mySlices").data(i).enter().append("text").text((g) => (g.data.value / n * 100).toFixed(0) + "%").attr("transform", (g) => "translate(" + t.centroid(g) + ")").style("text-anchor", "middle").attr("class", "slice"), _.append("text").text(k.getDiagramTitle()).attr("x", 0).attr("y", -(d - 50) / 2).attr("class", "pieTitleText");
481
+ const y = _.selectAll(".legend").data(a.domain()).enter().append("g").attr("class", "legend").attr("transform", (g, V) => {
482
+ const M = l + m, Y = M * a.domain().length / 2, o = 12 * l, O = V * M - Y;
483
+ return "translate(" + o + "," + O + ")";
484
+ });
485
+ y.append("rect").attr("width", l).attr("height", l).style("fill", a).style("stroke", a), y.data(i).append("text").attr("x", l + m).attr("y", l - m).text((g) => {
486
+ const { label: V, value: M } = g.data;
487
+ return k.getShowData() ? `${V} [${M}]` : V;
488
+ });
489
+ const x = Math.max(
490
+ ...y.selectAll("text").nodes().map((g) => (g == null ? void 0 : g.getBoundingClientRect().width) ?? 0)
491
+ ), N = I + r + l + m + x;
492
+ T.attr("viewBox", `0 0 ${N} ${d}`), dt(T, d, N, u.useMaxWidth);
493
+ }, Rt = { draw: Ft }, Wt = {
494
+ parser: $t,
495
+ db: Pt,
496
+ renderer: Rt,
497
+ styles: Nt
498
+ };
499
+ export {
500
+ Wt as diagram
501
+ };
@@ -0,0 +1,7 @@
1
+ const e = Object.freeze({ displayName: "PL/SQL", fileTypes: ["sql", "ddl", "dml", "pkh", "pks", "pkb", "pck", "pls", "plb"], foldingStartMarker: "(?i)^\\s*(begin|if|loop)\\b", foldingStopMarker: "(?i)^\\s*(end)\\b", name: "plsql", patterns: [{ begin: "/\\*", end: "\\*/", name: "comment.block.oracle" }, { match: "--.*$", name: "comment.line.double-dash.oracle" }, { match: "(?i)(?:^\\s*)rem(?:\\s+.*$)", name: "comment.line.sqlplus.oracle" }, { match: "(?i)(?:^\\s*)prompt(?:\\s+.*$)", name: "comment.line.sqlplus-prompt.oracle" }, { captures: { 1: { name: "keyword.other.oracle" }, 2: { name: "keyword.other.oracle" } }, match: "(?i)^\\s*(create)(\\s+or\\s+replace)?\\s+", name: "meta.create.oracle" }, { captures: { 1: { name: "keyword.other.oracle" }, 2: { name: "keyword.other.oracle" }, 3: { name: "entity.name.type.oracle" } }, match: "(?i)\\b(package)(\\s+body)?\\s+(\\S+)", name: "meta.package.oracle" }, { captures: { 1: { name: "keyword.other.oracle" }, 2: { name: "entity.name.type.oracle" } }, match: '(?i)\\b(type)\\s+"([^"]+)"', name: "meta.type.oracle" }, { captures: { 1: { name: "keyword.other.oracle" }, 2: { name: "entity.name.function.oracle" } }, match: '(?i)^\\s*(function|procedure)\\s+"?([-a-z0-9_]+)"?', name: "meta.procedure.oracle" }, { match: "[!<>:]?=|<>|<|>|\\+|(?<!\\.)\\*|-|(?<!^)/|\\|\\|", name: "keyword.operator.oracle" }, { match: "(?i)\\b(true|false|null|is\\s+(not\\s+)?null)\\b", name: "constant.language.oracle" }, { match: "\\b\\d+(\\.\\d+)?\\b", name: "constant.numeric.oracle" }, { match: "(?i)\\b(if|elsif|else|end\\s+if|loop|end\\s+loop|for|while|case|end\\s+case|continue|return|goto)\\b", name: "keyword.control.oracle" }, { match: "(?i)\\b(or|and|not|like)\\b", name: "keyword.other.oracle" }, { match: "(?i)\\b(%(isopen|found|notfound|rowcount)|commit|rollback|sqlerrm)\\b", name: "support.function.oracle" }, { match: "(?i)\\b(sql|sqlcode)\\b", name: "variable.language.oracle" }, { match: "(?i)\\b(ascii|asciistr|chr|compose|concat|convert|decompose|dump|initcap|instr|instrb|instrc|instr2|instr4|unistr|length|lengthb|lengthc|length2|length4|lower|lpad|ltrim|nchr|replace|rpad|rtrim|soundex|substr|translate|trim|upper|vsize)\\b", name: "support.function.builtin.char.oracle" }, { match: "(?i)\\b(add_months|current_date|current_timestamp|dbtimezone|last_day|localtimestamp|months_between|new_time|next_day|round|sessiontimezone|sysdate|tz_offset|systimestamp)\\b", name: "support.function.builtin.date.oracle" }, { match: "(?i)\\b(avg|count|sum|max|min|median|corr|corr_\\w+|covar_(pop|samp)|cume_dist|dense_rank|first|group_id|grouping|grouping_id|last|percentile_cont|percentile_disc|percent_rank|rank|regr_\\w+|row_number|stats_binomial_test|stats_crosstab|stats_f_test|stats_ks_test|stats_mode|stats_mw_test|stats_one_way_anova|stats_t_test_\\w+|stats_wsr_test|stddev|stddev_pop|stddev_samp|var_pop|var_samp|variance)\\b", name: "support.function.builtin.aggregate.oracle" }, { match: "(?i)\\b(bfilename|cardinality|coalesce|decode|empty_(blob|clob)|lag|lead|listagg|lnnvl|nanvl|nullif|nvl|nvl2|sys_(context|guid|typeid|connect_by_path|extract_utc)|uid|(current\\s+)?user|userenv|cardinality|(bulk\\s+)?collect|powermultiset(_by_cardinality)?|ora_hash|standard_hash|execute\\s+immediate|alter\\s+session)\\b", name: "support.function.builtin.advanced.oracle" }, { match: "(?i)\\b(bin_to_num|cast|chartorowid|from_tz|hextoraw|numtodsinterval|numtoyminterval|rawtohex|rawtonhex|to_char|to_clob|to_date|to_dsinterval|to_lob|to_multi_byte|to_nclob|to_number|to_single_byte|to_timestamp|to_timestamp_tz|to_yminterval|scn_to_timestamp|timestamp_to_scn|rowidtochar|rowidtonchar|to_binary_double|to_binary_float|to_blob|to_nchar|con_dbid_to_id|con_guid_to_id|con_name_to_id|con_uid_to_id)\\b", name: "support.function.builtin.convert.oracle" }, { match: "(?i)\\b(abs|acos|asin|atan|atan2|bit_(and|or|xor)|ceil|cos|cosh|exp|extract|floor|greatest|least|ln|log|mod|power|remainder|round|sign|sin|sinh|sqrt|tan|tanh|trunc)\\b", name: "support.function.builtin.math.oracle" }, { match: "(?i)\\b(\\.(count|delete|exists|extend|first|last|limit|next|prior|trim|reverse))\\b", name: "support.function.builtin.collection.oracle" }, { match: "(?i)\\b(cluster_details|cluster_distance|cluster_id|cluster_probability|cluster_set|feature_details|feature_id|feature_set|feature_value|prediction|prediction_bounds|prediction_cost|prediction_details|prediction_probability|prediction_set)\\b", name: "support.function.builtin.data_mining.oracle" }, { match: "(?i)\\b(appendchildxml|deletexml|depth|extract|existsnode|extractvalue|insertchildxml|insertxmlbefore|xmlcast|xmldiff|xmlelement|xmlexists|xmlisvalid|insertchildxmlafter|insertchildxmlbefore|path|sys_dburigen|sys_xmlagg|sys_xmlgen|updatexml|xmlagg|xmlcdata|xmlcolattval|xmlcomment|xmlconcat|xmlforest|xmlparse|xmlpi|xmlquery|xmlroot|xmlsequence|xmlserialize|xmltable|xmltransform)\\b", name: "support.function.builtin.xml.oracle" }, { match: "(?i)\\b(pragma\\s+(autonomous_transaction|serially_reusable|restrict_references|exception_init|inline))\\b", name: "keyword.other.pragma.oracle" }, { match: "(?i)\\b(p(i|o|io)_[-a-z0-9_]+)\\b", name: "variable.parameter.oracle" }, { match: "(?i)\\b(l_[-a-z0-9_]+)\\b", name: "variable.other.oracle" }, { match: "(?i):\\b(new|old)\\b", name: "variable.trigger.oracle" }, { match: "(?i)\\b(connect\\s+by\\s+(nocycle\\s+)?(prior|level)|connect_by_(root|icycle)|level|start\\s+with)\\b", name: "keyword.hierarchical.sql.oracle" }, { match: "(?i)\\b(language|name|java|c)\\b", name: "keyword.wrapper.oracle" }, { match: "(?i)\\b(end|then|deterministic|exception|when|declare|begin|in|out|nocopy|is|as|exit|open|fetch|into|close|subtype|type|rowtype|default|exclusive|mode|lock|record|index\\s+by|result_cache|constant|comment|\\.(nextval|currval))\\b", name: "keyword.other.oracle" }, { match: "(?i)\\b(grant|revoke|alter|drop|force|add|check|constraint|primary\\s+key|foreign\\s+key|references|unique(\\s+index)?|column|sequence|increment\\s+by|cache|(materialized\\s+)?view|trigger|storage|tablespace|pct(free|used)|(init|max)trans|logging)\\b", name: "keyword.other.ddl.oracle" }, { match: "(?i)\\b(with|select|from|where|order\\s+(siblings\\s+)?by|group\\s+by|rollup|cube|((left|right|cross|natural)\\s+(outer\\s+)?)?join|on|asc|desc|update|set|insert|into|values|delete|distinct|union|minus|intersect|having|limit|table|between|like|of|row|(range|rows)\\s+between|nulls\\s+first|nulls\\s+last|before|after|all|any|exists|rownum|cursor|returning|over|partition\\s+by|merge|using|matched|pivot|unpivot)\\b", name: "keyword.other.sql.oracle" }, { match: "(?i)\\b(define|whenever\\s+sqlerror|exec|timing\\s+start|timing\\s+stop)\\b", name: "keyword.other.sqlplus.oracle" }, { match: "(?i)\\b(access_into_null|case_not_found|collection_is_null|cursor_already_open|dup_val_on_index|invalid_cursor|invalid_number|login_denied|no_data_found|not_logged_on|program_error|rowtype_mismatch|self_is_null|storage_error|subscript_beyond_count|subscript_outside_limit|sys_invalid_rowid|timeout_on_resource|too_many_rows|value_error|zero_divide|others)\\b", name: "support.type.exception.oracle" }, { captures: { 3: { name: "support.class.oracle" } }, match: "(?i)\\b((dbms|utl|owa|apex)_\\w+\\.(\\w+))\\b", name: "support.function.oracle" }, { captures: { 3: { name: "support.class.oracle" } }, match: "(?i)\\b((htf|htp)\\.(\\w+))\\b", name: "support.function.oracle" }, { captures: { 3: { name: "support.class.user-defined.oracle" } }, match: "(?i)\\b((\\w+_pkg|pkg_\\w+)\\.(\\w+))\\b", name: "support.function.user-defined.oracle" }, { match: "(?i)\\b(raise|raise_application_error)\\b", name: "support.function.oracle" }, { begin: "'", end: "'", name: "string.quoted.single.oracle" }, { begin: '"', end: '"', name: "string.quoted.double.oracle" }, { match: "(?i)\\b(char|varchar|varchar2|nchar|nvarchar2|boolean|date|timestamp(\\s+with(\\s+local)?\\s+time\\s+zone)?|interval\\s*day(\\(\\d*\\))?\\s*to\\s*month|interval\\s*year(\\(\\d*\\))?\\s*to\\s*second(\\(\\d*\\))?|xmltype|blob|clob|nclob|bfile|long|long\\s+raw|raw|number|integer|decimal|smallint|float|binary_(float|double|integer)|pls_(float|double|integer)|rowid|urowid|vararray|natural|naturaln|positive|positiven|signtype|simple_(float|double|integer))\\b", name: "storage.type.oracle" }], scopeName: "source.plsql.oracle" });
2
+ var t = [
3
+ e
4
+ ];
5
+ export {
6
+ t as default
7
+ };
@@ -0,0 +1,7 @@
1
+ const e = Object.freeze({ displayName: "PostCSS", fileTypes: ["pcss", "postcss"], foldingStartMarker: "/\\*|^#|^\\*|^\\b|^\\.", foldingStopMarker: "\\*/|^\\s*$", name: "postcss", patterns: [{ begin: "/\\*", end: "\\*/", name: "comment.block.postcss", patterns: [{ include: "#comment-tag" }] }, { include: "#double-slash" }, { include: "#double-quoted" }, { include: "#single-quoted" }, { include: "#interpolation" }, { include: "#placeholder-selector" }, { include: "#variable" }, { include: "#variable-root-css" }, { include: "#numeric" }, { include: "#unit" }, { include: "#flag" }, { include: "#dotdotdot" }, { begin: "@include", captures: { 0: { name: "keyword.control.at-rule.css.postcss" } }, end: "(?=\\n|\\(|{|;)", name: "support.function.name.postcss.library" }, { begin: "@mixin|@function", captures: { 0: { name: "keyword.control.at-rule.css.postcss" } }, end: "$\\n?|(?=\\(|{)", name: "support.function.name.postcss.no-completions", patterns: [{ match: "[\\w-]+", name: "entity.name.function" }] }, { match: "(?<=@import)\\s[\\w/.*-]+", name: "string.quoted.double.css.postcss" }, { begin: "@", end: "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))|(?=;)", name: "keyword.control.at-rule.css.postcss" }, { begin: "#", end: "$\\n?|(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>)", name: "entity.other.attribute-name.id.css.postcss", patterns: [{ include: "#interpolation" }, { include: "#pseudo-class" }] }, { begin: "\\.|(?<=&)(-|_)", end: "$\\n?|(?=\\s|,|;|\\(|\\)|\\[|{|>)", name: "entity.other.attribute-name.class.css.postcss", patterns: [{ include: "#interpolation" }, { include: "#pseudo-class" }] }, { begin: "\\[", end: "\\]", name: "entity.other.attribute-selector.postcss", patterns: [{ include: "#double-quoted" }, { include: "#single-quoted" }, { match: "\\^|\\$|\\*|~", name: "keyword.other.regex.postcss" }] }, { match: "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+", name: "entity.other.attribute-name.pseudo-class.css.postcss" }, { begin: ":", end: "$\\n?|(?=;|\\s\\(|and\\(|{|}|\\),)", name: "meta.property-list.css.postcss", patterns: [{ include: "#double-slash" }, { include: "#double-quoted" }, { include: "#single-quoted" }, { include: "#interpolation" }, { include: "#variable" }, { include: "#rgb-value" }, { include: "#numeric" }, { include: "#unit" }, { include: "#flag" }, { include: "#function" }, { include: "#function-content" }, { include: "#function-content-var" }, { include: "#operator" }, { include: "#parent-selector" }, { include: "#property-value" }] }, { include: "#rgb-value" }, { include: "#function" }, { include: "#function-content" }, { begin: "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&", end: "(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>|-|_)", name: "entity.name.tag.css.postcss.symbol", patterns: [{ include: "#interpolation" }, { include: "#pseudo-class" }] }, { include: "#operator" }, { match: "[a-z-]+((?=:|#{))", name: "support.type.property-name.css.postcss" }, { include: "#reserved-words" }, { include: "#property-value" }], repository: { "comment-tag": { begin: "{{", end: "}}", name: "comment.tags.postcss", patterns: [{ match: "[\\w-]+", name: "comment.tag.postcss" }] }, dotdotdot: { match: "\\.{3}", name: "variable.other" }, "double-quoted": { begin: '"', end: '"', name: "string.quoted.double.css.postcss", patterns: [{ include: "#quoted-interpolation" }] }, "double-slash": { begin: "//", end: "$", name: "comment.line.postcss", patterns: [{ include: "#comment-tag" }] }, flag: { match: "!(important|default|optional|global)", name: "keyword.other.important.css.postcss" }, function: { match: "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()", name: "support.function.name.postcss" }, "function-content": { match: "(?<=url\\(|format\\(|attr\\().+?(?=\\))", name: "string.quoted.double.css.postcss" }, "function-content-var": { match: "(?<=var\\()[\\w-]+(?=\\))", name: "variable.parameter.postcss" }, interpolation: { begin: "#{", end: "}", name: "support.function.interpolation.postcss", patterns: [{ include: "#variable" }, { include: "#numeric" }, { include: "#operator" }, { include: "#unit" }, { include: "#double-quoted" }, { include: "#single-quoted" }] }, numeric: { match: "(-|\\.)?[0-9]+(\\.[0-9]+)?", name: "constant.numeric.css.postcss" }, operator: { match: "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~", name: "keyword.operator.postcss" }, "parent-selector": { match: "&", name: "entity.name.tag.css.postcss" }, "placeholder-selector": { begin: "(?<!\\d)%(?!\\d)", end: "$\\n?|\\s|(?=;|{)", name: "entity.other.attribute-name.placeholder-selector.postcss" }, "property-value": { match: "[\\w-]+", name: "meta.property-value.css.postcss, support.constant.property-value.css.postcss" }, "pseudo-class": { match: ":[a-z:-]+", name: "entity.other.attribute-name.pseudo-class.css.postcss" }, "quoted-interpolation": { begin: "#{", end: "}", name: "support.function.interpolation.postcss", patterns: [{ include: "#variable" }, { include: "#numeric" }, { include: "#operator" }, { include: "#unit" }] }, "reserved-words": { match: "\\b(false|from|in|not|null|through|to|true)\\b", name: "support.type.property-name.css.postcss" }, "rgb-value": { match: "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b", name: "constant.other.color.rgb-value.css.postcss" }, "single-quoted": { begin: "'", end: "'", name: "string.quoted.single.css.postcss", patterns: [{ include: "#quoted-interpolation" }] }, unit: { match: "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)", name: "keyword.other.unit.css.postcss" }, variable: { match: "\\$[\\w-]+", name: "variable.parameter.postcss" }, "variable-root-css": { match: "(?<!&)--[\\w-]+", name: "variable.parameter.postcss" } }, scopeName: "source.css.postcss" });
2
+ var t = [
3
+ e
4
+ ];
5
+ export {
6
+ t as default
7
+ };
@@ -0,0 +1,7 @@
1
+ const e = Object.freeze({ displayName: "PowerShell", name: "powershell", patterns: [{ begin: "<#", beginCaptures: { 0: { name: "punctuation.definition.comment.block.begin.powershell" } }, end: "#>", endCaptures: { 0: { name: "punctuation.definition.comment.block.end.powershell" } }, name: "comment.block.powershell", patterns: [{ include: "#commentEmbeddedDocs" }] }, { match: "[2-6]>&1|>>|>|<<|<|>|>\\||[1-6]>|[1-6]>>", name: "keyword.operator.redirection.powershell" }, { include: "#commands" }, { include: "#commentLine" }, { include: "#variable" }, { include: "#subexpression" }, { include: "#function" }, { include: "#attribute" }, { include: "#UsingDirective" }, { include: "#type" }, { include: "#hashtable" }, { include: "#doubleQuotedString" }, { include: "#scriptblock" }, { comment: "Needed to parse stuff correctly in 'argument mode'. (See about_parsing.)", include: "#doubleQuotedStringEscapes" }, { applyEndPatternLast: !0, begin: "['\\x{2018}-\\x{201B}]", beginCaptures: { 0: { name: "punctuation.definition.string.begin.powershell" } }, end: "['\\x{2018}-\\x{201B}]", endCaptures: { 0: { name: "punctuation.definition.string.end.powershell" } }, name: "string.quoted.single.powershell", patterns: [{ match: "['\\x{2018}-\\x{201B}]{2}", name: "constant.character.escape.powershell" }] }, { begin: '(@["\\x{201C}-\\x{201E}])\\s*$', beginCaptures: { 1: { name: "punctuation.definition.string.begin.powershell" } }, end: '^["\\x{201C}-\\x{201E}]@', endCaptures: { 0: { name: "punctuation.definition.string.end.powershell" } }, name: "string.quoted.double.heredoc.powershell", patterns: [{ include: "#variableNoProperty" }, { include: "#doubleQuotedStringEscapes" }, { include: "#interpolation" }] }, { begin: "(@['\\x{2018}-\\x{201B}])\\s*$", beginCaptures: { 1: { name: "punctuation.definition.string.begin.powershell" } }, end: "^['\\x{2018}-\\x{201B}]@", endCaptures: { 0: { name: "punctuation.definition.string.end.powershell" } }, name: "string.quoted.single.heredoc.powershell" }, { include: "#numericConstant" }, { begin: "(@)(\\()", beginCaptures: { 1: { name: "keyword.other.array.begin.powershell" }, 2: { name: "punctuation.section.group.begin.powershell" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.section.group.end.powershell" } }, name: "meta.group.array-expression.powershell", patterns: [{ include: "$self" }] }, { begin: "((\\$))(\\()", beginCaptures: { 1: { name: "keyword.other.substatement.powershell" }, 2: { name: "punctuation.definition.subexpression.powershell" }, 3: { name: "punctuation.section.group.begin.powershell" } }, comment: "TODO: move to repo; make recursive.", end: "\\)", endCaptures: { 0: { name: "punctuation.section.group.end.powershell" } }, name: "meta.group.complex.subexpression.powershell", patterns: [{ include: "$self" }] }, { match: "(\\b(([A-Za-z0-9\\-_\\.]+)\\.(?i:exe|com|cmd|bat))\\b)", name: "support.function.powershell" }, { match: "(?<!\\w|-|\\.)((?i:begin|break|catch|clean|continue|data|default|define|do|dynamicparam|else|elseif|end|exit|finally|for|from|if|in|inlinescript|parallel|param|process|return|sequence|switch|throw|trap|try|until|var|while)|%|\\?)(?!\\w)", name: "keyword.control.powershell" }, { match: "(?<!\\w|-|[^\\)]\\.)((?i:(foreach|where)(?!-object))|%|\\?)(?!\\w)", name: "keyword.control.powershell" }, { begin: "(?<!\\w)(--%)(?!\\w)", beginCaptures: { 1: { name: "keyword.control.powershell" } }, comment: "This should be moved to the repository at some point.", end: "$", patterns: [{ match: ".+", name: "string.unquoted.powershell" }] }, { comment: "This should only be relevant inside a class but will require a rework of how classes are matched. This is a temp fix.", match: "(?<!\\w)((?i:hidden|static))(?!\\w)", name: "storage.modifier.powershell" }, { captures: { 1: { name: "storage.type.powershell" }, 2: { name: "entity.name.function" } }, comment: "capture should be entity.name.type, but it doesn't provide a good color in the default schema.", match: "(?<!\\w|-)((?i:class)|%|\\?)(?:\\s)+((?:\\p{L}|\\d|_|-|)+)\\b" }, { match: "(?<!\\w)-(?i:is(?:not)?|as)\\b", name: "keyword.operator.comparison.powershell" }, { match: "(?<!\\w)-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains|in)|replace))(?!\\p{L})", name: "keyword.operator.comparison.powershell" }, { match: "(?<!\\w)-(?i:join|split)(?!\\p{L})|!", name: "keyword.operator.unary.powershell" }, { match: "(?<!\\w)-(?i:and|or|not|xor)(?!\\p{L})|!", name: "keyword.operator.logical.powershell" }, { match: "(?<!\\w)-(?i:band|bor|bnot|bxor|shl|shr)(?!\\p{L})", name: "keyword.operator.bitwise.powershell" }, { match: "(?<!\\w)-(?i:f)(?!\\p{L})", name: "keyword.operator.string-format.powershell" }, { match: "[+%*/-]?=|[+/*%-]", name: "keyword.operator.assignment.powershell" }, { match: "\\|{2}|&{2}|;", name: "punctuation.terminator.statement.powershell" }, { match: "&|(?<!\\w)\\.(?= )|`|,|\\|", name: "keyword.operator.other.powershell" }, { comment: "This is very imprecise, is there a syntax for 'must come after...' ", match: "(?<!\\s|^)\\.\\.(?=\\-?\\d|\\(|\\$)", name: "keyword.operator.range.powershell" }], repository: { RequiresDirective: { begin: "(?<=#)(?i:(requires))\\s", beginCaptures: { 0: { name: "keyword.control.requires.powershell" } }, end: "$", name: "meta.requires.powershell", patterns: [{ match: "\\-(?i:Modules|PSSnapin|RunAsAdministrator|ShellId|Version|Assembly|PSEdition)", name: "keyword.other.powershell" }, { match: "(?<!-)\\b\\p{L}+|\\d+(?:\\.\\d+)*", name: "variable.parameter.powershell" }, { include: "#hashtable" }] }, UsingDirective: { captures: { 1: { name: "keyword.control.using.powershell" }, 2: { name: "keyword.other.powershell" }, 3: { name: "variable.parameter.powershell" } }, match: "(?<!\\w)(?i:(using))\\s+(?i:(namespace|module))\\s+(?i:((?:\\w+(?:\\.)?)+))" }, attribute: { begin: "(\\[)\\s*\\b(?i)(cmdletbinding|alias|outputtype|parameter|validatenotnull|validatenotnullorempty|validatecount|validateset|allownull|allowemptycollection|allowemptystring|validatescript|validaterange|validatepattern|validatelength|supportswildcards)\\b", beginCaptures: { 1: { name: "punctuation.section.bracket.begin.powershell" }, 2: { name: "support.function.attribute.powershell" } }, end: "(\\])", endCaptures: { 1: { name: "punctuation.section.bracket.end.powershell" } }, name: "meta.attribute.powershell", patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "punctuation.section.group.begin.powershell" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.section.group.end.powershell" } }, patterns: [{ include: "$self" }, { captures: { 1: { name: "variable.parameter.attribute.powershell" }, 2: { name: "keyword.operator.assignment.powershell" } }, match: "(?i)\\b(mandatory|valuefrompipeline|valuefrompipelinebypropertyname|valuefromremainingarguments|position|parametersetname|defaultparametersetname|supportsshouldprocess|supportspaging|positionalbinding|helpuri|confirmimpact|helpmessage)\\b(?:\\s+)?(=)?" }] }] }, commands: { patterns: [{ comment: "Verb-Noun pattern:", match: "(?:(\\p{L}|\\d|_|-|\\\\|\\:)*\\\\)?\\b(?i:Add|Approve|Assert|Backup|Block|Build|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Deploy|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Write)\\-.+?(?:\\.(?i:exe|cmd|bat|ps1))?\\b", name: "support.function.powershell" }, { comment: "Builtin cmdlets with reserved verbs", match: "(?<!\\w)(?i:foreach-object)(?!\\w)", name: "support.function.powershell" }, { comment: "Builtin cmdlets with reserved verbs", match: "(?<!\\w)(?i:where-object)(?!\\w)", name: "support.function.powershell" }, { comment: "Builtin cmdlets with reserved verbs", match: "(?<!\\w)(?i:sort-object)(?!\\w)", name: "support.function.powershell" }, { comment: "Builtin cmdlets with reserved verbs", match: "(?<!\\w)(?i:tee-object)(?!\\w)", name: "support.function.powershell" }] }, commentEmbeddedDocs: { patterns: [{ captures: { 1: { name: "constant.string.documentation.powershell" }, 2: { name: "keyword.operator.documentation.powershell" } }, comment: "these embedded doc keywords do not support arguments, must be the only thing on the line", match: "(?:^|\\G)(?i:\\s*(\\.)(COMPONENT|DESCRIPTION|EXAMPLE|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|ROLE|SYNOPSIS))\\s*$", name: "comment.documentation.embedded.powershell" }, { captures: { 1: { name: "constant.string.documentation.powershell" }, 2: { name: "keyword.operator.documentation.powershell" }, 3: { name: "keyword.operator.documentation.powershell" } }, comment: "these embedded doc keywords require arguments though the type required may be inconsistent, they may not all be able to use the same argument match", match: "(?:^|\\G)(?i:\\s*(\\.)(EXTERNALHELP|FORWARDHELP(?:CATEGORY|TARGETNAME)|PARAMETER|REMOTEHELPRUNSPACE))\\s+(.+?)\\s*$", name: "comment.documentation.embedded.powershell" }] }, commentLine: { begin: "(?<![`\\\\-])(#)#*", captures: { 1: { name: "punctuation.definition.comment.powershell" } }, end: "$\\n?", name: "comment.line.powershell", patterns: [{ include: "#commentEmbeddedDocs" }, { include: "#RequiresDirective" }] }, doubleQuotedString: { applyEndPatternLast: !0, begin: '["\\x{201C}-\\x{201E}]', beginCaptures: { 0: { name: "punctuation.definition.string.begin.powershell" } }, end: '["\\x{201C}-\\x{201E}]', endCaptures: { 0: { name: "punctuation.definition.string.end.powershell" } }, name: "string.quoted.double.powershell", patterns: [{ match: "(?i)\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,64}\\b" }, { include: "#variableNoProperty" }, { include: "#doubleQuotedStringEscapes" }, { match: '["\\x{201C}-\\x{201E}]{2}', name: "constant.character.escape.powershell" }, { include: "#interpolation" }, { match: "`\\s*$", name: "keyword.other.powershell" }] }, doubleQuotedStringEscapes: { patterns: [{ match: "`[`0abefnrtv'\"\\x{2018}-\\x{201E}$]", name: "constant.character.escape.powershell" }, { include: "#unicodeEscape" }] }, function: { begin: "^(?:\\s*+)(?i)(function|filter|configuration|workflow)\\s+(?:(global|local|script|private):)?((?:\\p{L}|\\d|_|-|\\.)+)", beginCaptures: { 0: { name: "meta.function.powershell" }, 1: { name: "storage.type.powershell" }, 2: { name: "storage.modifier.scope.powershell" }, 3: { name: "entity.name.function.powershell" } }, end: "(?=\\{|\\()", patterns: [{ include: "#commentLine" }] }, hashtable: { begin: "(@)(\\{)", beginCaptures: { 1: { name: "keyword.other.hashtable.begin.powershell" }, 2: { name: "punctuation.section.braces.begin.powershell" } }, end: "(\\})", endCaptures: { 1: { name: "punctuation.section.braces.end.powershell" } }, name: "meta.hashtable.powershell", patterns: [{ captures: { 1: { name: "punctuation.definition.string.begin.powershell" }, 2: { name: "variable.other.readwrite.powershell" }, 3: { name: "punctuation.definition.string.end.powershell" }, 4: { name: "keyword.operator.assignment.powershell" } }, match: `\\b((?:\\'|\\")?)(\\w+)((?:\\'|\\")?)(?:\\s+)?(=)(?:\\s+)?`, name: "meta.hashtable.assignment.powershell" }, { include: "#scriptblock" }, { include: "$self" }] }, interpolation: { begin: "(((\\$)))((\\())", beginCaptures: { 1: { name: "keyword.other.substatement.powershell" }, 2: { name: "punctuation.definition.substatement.powershell" }, 3: { name: "punctuation.section.embedded.substatement.begin.powershell" }, 4: { name: "punctuation.section.group.begin.powershell" }, 5: { name: "punctuation.section.embedded.substatement.begin.powershell" } }, contentName: "interpolated.complex.source.powershell", end: "(\\))", endCaptures: { 0: { name: "punctuation.section.group.end.powershell" }, 1: { name: "punctuation.section.embedded.substatement.end.powershell" } }, name: "meta.embedded.substatement.powershell", patterns: [{ include: "$self" }] }, numericConstant: { patterns: [{ captures: { 1: { name: "constant.numeric.hex.powershell" }, 2: { name: "keyword.other.powershell" } }, match: "(?<!\\w)([-+]?0(?:x|X)[0-9a-fA-F_]+(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\b" }, { captures: { 1: { name: "constant.numeric.integer.powershell" }, 2: { name: "keyword.other.powershell" } }, match: "(?<!\\w)([-+]?(?:[0-9_]+)?\\.[0-9_]+(?:(?:e|E)[0-9]+)?(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\b" }, { captures: { 1: { name: "constant.numeric.octal.powershell" }, 2: { name: "keyword.other.powershell" } }, match: "(?<!\\w)([-+]?0(?:b|B)[01_]+(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\b" }, { captures: { 1: { name: "constant.numeric.integer.powershell" }, 2: { name: "keyword.other.powershell" } }, match: "(?<!\\w)([-+]?[0-9_]+(?:e|E)(?:[0-9_])?+(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\b" }, { captures: { 1: { name: "constant.numeric.integer.powershell" }, 2: { name: "keyword.other.powershell" } }, match: "(?<!\\w)([-+]?[0-9_]+\\.(?:e|E)(?:[0-9_])?+(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\b" }, { captures: { 1: { name: "constant.numeric.integer.powershell" }, 2: { name: "keyword.other.powershell" } }, match: "(?<!\\w)([-+]?[0-9_]+[\\.]?(?:F|f|D|d|M|m))((?i:[kmgtp]b)?)\\b" }, { captures: { 1: { name: "constant.numeric.integer.powershell" }, 2: { name: "keyword.other.powershell" } }, match: "(?<!\\w)([-+]?[0-9_]+[\\.]?(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\b" }] }, scriptblock: { begin: "\\{", beginCaptures: { 0: { name: "punctuation.section.braces.begin.powershell" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.section.braces.end.powershell" } }, name: "meta.scriptblock.powershell", patterns: [{ include: "$self" }] }, subexpression: { begin: "\\(", beginCaptures: { 0: { name: "punctuation.section.group.begin.powershell" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.section.group.end.powershell" } }, name: "meta.group.simple.subexpression.powershell", patterns: [{ include: "$self" }] }, type: { begin: "\\[", beginCaptures: { 0: { name: "punctuation.section.bracket.begin.powershell" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.section.bracket.end.powershell" } }, patterns: [{ match: "(?!\\d+|\\.)(?:\\p{L}|\\p{N}|\\.)+", name: "storage.type.powershell" }, { include: "$self" }] }, unicodeEscape: { comment: "`u{xxxx} added in PowerShell 6.0", patterns: [{ match: "`u\\{(?:(?:10)?([0-9a-fA-F]){1,4}|0?\\g<1>{1,5})}", name: "constant.character.escape.powershell" }, { match: "`u(?:\\{[0-9a-fA-F]{,6}.)?", name: "invalid.character.escape.powershell" }] }, variable: { patterns: [{ captures: { 0: { name: "constant.language.powershell" }, 1: { name: "punctuation.definition.variable.powershell" } }, comment: "These are special constants.", match: "(\\$)(?i:(False|Null|True))\\b" }, { captures: { 0: { name: "support.constant.variable.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 3: { name: "variable.other.member.powershell" } }, comment: "These are the other built-in constants.", match: "(\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?\\b" }, { captures: { 0: { name: "support.variable.automatic.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 3: { name: "variable.other.member.powershell" } }, comment: "Automatic variables are not constants, but they are read-only. In monokai (default) color schema support.variable doesn't have color, so we use constant.", match: "(\\$)((?:[$^?])|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\b)((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?" }, { captures: { 0: { name: "variable.language.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 3: { name: "variable.other.member.powershell" } }, comment: "Style preference variables as language variables so that they stand out.", match: "(\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?\\b" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "storage.modifier.scope.powershell" }, 4: { name: "variable.other.member.powershell" } }, match: "(?i:(\\$|@)(global|local|private|script|using|workflow):((?:\\p{L}|\\d|_)+))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "punctuation.section.braces.begin.powershell" }, 3: { name: "storage.modifier.scope.powershell" }, 5: { name: "punctuation.section.braces.end.powershell" }, 6: { name: "variable.other.member.powershell" } }, match: "(?i:(\\$)(\\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\\}))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "support.variable.drive.powershell" }, 4: { name: "variable.other.member.powershell" } }, match: "(?i:(\\$|@)((?:\\p{L}|\\d|_)+:)?((?:\\p{L}|\\d|_)+))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "punctuation.section.braces.begin.powershell" }, 3: { name: "support.variable.drive.powershell" }, 5: { name: "punctuation.section.braces.end.powershell" }, 6: { name: "variable.other.member.powershell" } }, match: "(?i:(\\$)(\\{)((?:\\p{L}|\\d|_)+:)?([^}]*[^}`])(\\}))((?:\\.(?:\\p{L}|\\d|_)+)*\\b)?" }] }, variableNoProperty: { patterns: [{ captures: { 0: { name: "constant.language.powershell" }, 1: { name: "punctuation.definition.variable.powershell" } }, comment: "These are special constants.", match: "(\\$)(?i:(False|Null|True))\\b" }, { captures: { 0: { name: "support.constant.variable.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 3: { name: "variable.other.member.powershell" } }, comment: "These are the other built-in constants.", match: "(\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))\\b" }, { captures: { 0: { name: "support.variable.automatic.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 3: { name: "variable.other.member.powershell" } }, comment: "Automatic variables are not constants, but they are read-only...", match: "(\\$)((?:[$^?])|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\b)" }, { captures: { 0: { name: "variable.language.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 3: { name: "variable.other.member.powershell" } }, comment: "Style preference variables as language variables so that they stand out.", match: "(\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))\\b" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "storage.modifier.scope.powershell" }, 4: { name: "variable.other.member.powershell" } }, match: "(?i:(\\$)(global|local|private|script|using|workflow):((?:\\p{L}|\\d|_)+))" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "storage.modifier.scope.powershell" }, 4: { name: "keyword.other.powershell" }, 5: { name: "variable.other.member.powershell" } }, match: "(?i:(\\$)(\\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\\}))" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "support.variable.drive.powershell" }, 4: { name: "variable.other.member.powershell" } }, match: "(?i:(\\$)((?:\\p{L}|\\d|_)+:)?((?:\\p{L}|\\d|_)+))" }, { captures: { 0: { name: "variable.other.readwrite.powershell" }, 1: { name: "punctuation.definition.variable.powershell" }, 2: { name: "punctuation.section.braces.begin" }, 3: { name: "support.variable.drive.powershell" }, 5: { name: "punctuation.section.braces.end" } }, match: "(?i:(\\$)(\\{)((?:\\p{L}|\\d|_)+:)?([^}]*[^}`])(\\}))" }] } }, scopeName: "source.powershell", aliases: ["ps", "ps1"] });
2
+ var t = [
3
+ e
4
+ ];
5
+ export {
6
+ t as default
7
+ };
@@ -0,0 +1,7 @@
1
+ const e = Object.freeze({ displayName: "Protocol Buffer 3", fileTypes: ["proto"], name: "proto", patterns: [{ include: "#comments" }, { include: "#syntax" }, { include: "#package" }, { include: "#import" }, { include: "#optionStmt" }, { include: "#message" }, { include: "#enum" }, { include: "#service" }], repository: { comments: { patterns: [{ begin: "/\\*", end: "\\*/", name: "comment.block.proto" }, { begin: "//", end: "$\\n?", name: "comment.line.double-slash.proto" }] }, constants: { match: "\\b(true|false|max|[A-Z_]+)\\b", name: "constant.language.proto" }, enum: { begin: "(enum)(\\s+)([A-Za-z][A-Za-z0-9_]*)(\\s*)(\\{)?", beginCaptures: { 1: { name: "keyword.other.proto" }, 3: { name: "entity.name.class.proto" } }, end: "\\}", patterns: [{ include: "#reserved" }, { include: "#optionStmt" }, { include: "#comments" }, { begin: "([A-Za-z][A-Za-z0-9_]*)\\s*(=)\\s*(0[xX][0-9a-fA-F]+|[0-9]+)", beginCaptures: { 1: { name: "variable.other.proto" }, 2: { name: "keyword.operator.assignment.proto" }, 3: { name: "constant.numeric.proto" } }, end: "(;)", endCaptures: { 1: { name: "punctuation.terminator.proto" } }, patterns: [{ include: "#fieldOptions" }] }] }, field: { begin: "\\s*(optional|repeated|required)?\\s*\\b([\\w.]+)\\s+(\\w+)\\s*(=)\\s*(0[xX][0-9a-fA-F]+|[0-9]+)", beginCaptures: { 1: { name: "storage.modifier.proto" }, 2: { name: "storage.type.proto" }, 3: { name: "variable.other.proto" }, 4: { name: "keyword.operator.assignment.proto" }, 5: { name: "constant.numeric.proto" } }, end: "(;)", endCaptures: { 1: { name: "punctuation.terminator.proto" } }, patterns: [{ include: "#fieldOptions" }] }, fieldOptions: { begin: "\\[", end: "\\]", patterns: [{ include: "#constants" }, { include: "#number" }, { include: "#string" }, { include: "#subMsgOption" }, { include: "#optionName" }] }, ident: { match: "[A-Za-z][A-Za-z0-9_]*", name: "entity.name.class.proto" }, import: { captures: { 1: { name: "keyword.other.proto" }, 2: { name: "keyword.other.proto" }, 3: { name: "string.quoted.double.proto.import" }, 4: { name: "punctuation.terminator.proto" } }, match: '\\s*(import)\\s+(weak|public)?\\s*("[^"]+")\\s*(;)' }, kv: { begin: "(\\w+)\\s*(:)", beginCaptures: { 1: { name: "keyword.other.proto" }, 2: { name: "punctuation.separator.key-value.proto" } }, end: "(;)|,|(?=[}/_a-zA-Z])", endCaptures: { 1: { name: "punctuation.terminator.proto" } }, patterns: [{ include: "#constants" }, { include: "#number" }, { include: "#string" }, { include: "#subMsgOption" }] }, mapfield: { begin: "\\s*(map)\\s*(<)\\s*([\\w.]+)\\s*,\\s*([\\w.]+)\\s*(>)\\s+(\\w+)\\s*(=)\\s*(\\d+)", beginCaptures: { 1: { name: "storage.type.proto" }, 2: { name: "punctuation.definition.typeparameters.begin.proto" }, 3: { name: "storage.type.proto" }, 4: { name: "storage.type.proto" }, 5: { name: "punctuation.definition.typeparameters.end.proto" }, 6: { name: "variable.other.proto" }, 7: { name: "keyword.operator.assignment.proto" }, 8: { name: "constant.numeric.proto" } }, end: "(;)", endCaptures: { 1: { name: "punctuation.terminator.proto" } }, patterns: [{ include: "#fieldOptions" }] }, message: { begin: "(message|extend)(\\s+)([A-Za-z_][A-Za-z0-9_.]*)(\\s*)(\\{)?", beginCaptures: { 1: { name: "keyword.other.proto" }, 3: { name: "entity.name.class.message.proto" } }, end: "\\}", patterns: [{ include: "#reserved" }, { include: "$self" }, { include: "#enum" }, { include: "#optionStmt" }, { include: "#comments" }, { include: "#oneof" }, { include: "#field" }, { include: "#mapfield" }] }, method: { begin: "(rpc)\\s+([A-Za-z][A-Za-z0-9_]*)", beginCaptures: { 1: { name: "keyword.other.proto" }, 2: { name: "entity.name.function" } }, end: "\\}|(;)", endCaptures: { 1: { name: "punctuation.terminator.proto" } }, patterns: [{ include: "#comments" }, { include: "#optionStmt" }, { include: "#rpcKeywords" }, { include: "#ident" }] }, number: { match: "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b", name: "constant.numeric.proto" }, oneof: { begin: "(oneof)\\s+([A-Za-z][A-Za-z0-9_]*)\\s*\\{?", beginCaptures: { 1: { name: "keyword.other.proto" }, 2: { name: "variable.other.proto" } }, end: "\\}", patterns: [{ include: "#optionStmt" }, { include: "#comments" }, { include: "#field" }] }, optionName: { captures: { 1: { name: "support.other.proto" }, 2: { name: "support.other.proto" }, 3: { name: "support.other.proto" } }, match: "(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*" }, optionStmt: { begin: "(option)\\s+(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*\\s*(=)", beginCaptures: { 1: { name: "keyword.other.proto" }, 2: { name: "support.other.proto" }, 3: { name: "support.other.proto" }, 4: { name: "support.other.proto" }, 5: { name: "keyword.operator.assignment.proto" } }, end: "(;)", endCaptures: { 1: { name: "punctuation.terminator.proto" } }, patterns: [{ include: "#constants" }, { include: "#number" }, { include: "#string" }, { include: "#subMsgOption" }] }, package: { captures: { 1: { name: "keyword.other.proto" }, 2: { name: "string.unquoted.proto.package" }, 3: { name: "punctuation.terminator.proto" } }, match: "\\s*(package)\\s+([\\w.]+)\\s*(;)" }, reserved: { begin: "(reserved)\\s+", beginCaptures: { 1: { name: "keyword.other.proto" } }, end: "(;)", endCaptures: { 1: { name: "punctuation.terminator.proto" } }, patterns: [{ captures: { 1: { name: "constant.numeric.proto" }, 3: { name: "keyword.other.proto" }, 4: { name: "constant.numeric.proto" } }, match: "(\\d+)(\\s+(to)\\s+(\\d+))?" }, { include: "#string" }] }, rpcKeywords: { match: "\\b(stream|returns)\\b", name: "keyword.other.proto" }, service: { begin: "(service)\\s+([A-Za-z][A-Za-z0-9_.]*)\\s*\\{?", beginCaptures: { 1: { name: "keyword.other.proto" }, 2: { name: "entity.name.class.message.proto" } }, end: "\\}", patterns: [{ include: "#comments" }, { include: "#optionStmt" }, { include: "#method" }] }, storagetypes: { match: "\\b(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\\b", name: "storage.type.proto" }, string: { match: `('([^']|\\')*')|("([^"]|\\")*")`, name: "string.quoted.double.proto" }, subMsgOption: { begin: "\\{", end: "\\}", patterns: [{ include: "#kv" }, { include: "#comments" }] }, syntax: { captures: { 1: { name: "keyword.other.proto" }, 2: { name: "keyword.operator.assignment.proto" }, 3: { name: "string.quoted.double.proto.syntax" }, 4: { name: "punctuation.terminator.proto" } }, match: '\\s*(syntax)\\s*(=)\\s*("proto[23]")\\s*(;)' } }, scopeName: "source.proto" });
2
+ var t = [
3
+ e
4
+ ];
5
+ export {
6
+ t as default
7
+ };