@pb33f/cowboy-components 0.0.13 → 0.1.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/dist/abap-DXvTa7XC.js +1404 -0
- package/dist/apex-DsQH3mjJ.js +332 -0
- package/dist/assets/css.worker-B_qZXUzt.js +84 -0
- package/dist/assets/editor.worker-HEmB0D7P.js +11 -0
- package/dist/assets/html.worker-D3WUrk8Q.js +458 -0
- package/dist/assets/json.worker-CAhUaBo4.js +42 -0
- package/dist/assets/rule-documentation.worker-BFIxMBU8.js +1 -0
- package/dist/assets/search-problems.worker-VJi4P9Gj.js +1 -0
- package/dist/azcli-Cir32SBk.js +74 -0
- package/dist/bat-BsNExolo.js +106 -0
- package/dist/bicep-2KcKzeQF.js +108 -0
- package/dist/cameligo-D0ezznwE.js +180 -0
- package/dist/clojure-DxYzAIlu.js +767 -0
- package/dist/coffee-DgiPTF3g.js +238 -0
- package/dist/components/changelog/release.css.js +3 -3
- package/dist/components/editor/editor.d.ts +27 -0
- package/dist/components/editor/editor.js +192 -0
- package/dist/components/error-banner/error-banner.css.d.ts +2 -0
- package/dist/components/error-banner/error-banner.css.js +23 -0
- package/dist/components/error-banner/error-banner.d.ts +9 -0
- package/dist/components/error-banner/error-banner.js +40 -0
- package/dist/components/kv-view/kv-view.css.js +4 -0
- package/dist/components/paginator/paginator-events.d.ts +4 -0
- package/dist/components/paginator/paginator-events.js +4 -0
- package/dist/components/paginator/paginator-navigator.css.d.ts +2 -0
- package/dist/components/paginator/paginator-navigator.css.js +35 -0
- package/dist/components/paginator/paginator-navigator.d.ts +27 -0
- package/dist/components/paginator/paginator-navigator.js +168 -0
- package/dist/components/paginator/paginator.css.d.ts +2 -0
- package/dist/components/paginator/paginator.css.js +38 -0
- package/dist/components/paginator/paginator.d.ts +22 -0
- package/dist/components/paginator/paginator.js +122 -0
- package/dist/components/percent-bar/percent-bar.css.d.ts +2 -0
- package/dist/components/percent-bar/percent-bar.css.js +65 -0
- package/dist/components/percent-bar/percent-bar.d.ts +11 -0
- package/dist/components/percent-bar/percent-bar.js +85 -0
- package/dist/components/problem-list/details-drawer.css.d.ts +2 -0
- package/dist/components/problem-list/details-drawer.css.js +42 -0
- package/dist/components/problem-list/details-drawer.d.ts +22 -0
- package/dist/components/problem-list/details-drawer.js +66 -0
- package/dist/components/problem-list/filter.css.d.ts +2 -0
- package/dist/components/problem-list/filter.css.js +67 -0
- package/dist/components/problem-list/problem-item.css.d.ts +2 -0
- package/dist/components/problem-list/problem-item.css.js +170 -0
- package/dist/components/problem-list/problem-item.d.ts +27 -0
- package/dist/components/problem-list/problem-item.js +126 -0
- package/dist/components/problem-list/problem-label-view-filter.css.d.ts +2 -0
- package/dist/components/problem-list/problem-label-view-filter.css.js +6 -0
- package/dist/components/problem-list/problem-label-view-filter.d.ts +18 -0
- package/dist/components/problem-list/problem-label-view-filter.js +66 -0
- package/dist/components/problem-list/problem-list.css.d.ts +2 -0
- package/dist/components/problem-list/problem-list.css.js +59 -0
- package/dist/components/problem-list/problem-list.d.ts +37 -0
- package/dist/components/problem-list/problem-list.js +334 -0
- package/dist/components/problem-list/problem-mainview.css.d.ts +2 -0
- package/dist/components/problem-list/problem-mainview.css.js +100 -0
- package/dist/components/problem-list/problem-mainview.d.ts +20 -0
- package/dist/components/problem-list/problem-mainview.js +126 -0
- package/dist/components/problem-list/problem-rule-filter.d.ts +13 -0
- package/dist/components/problem-list/problem-rule-filter.js +67 -0
- package/dist/components/problem-list/problem-search-filter.d.ts +13 -0
- package/dist/components/problem-list/problem-search-filter.js +45 -0
- package/dist/components/problem-list/problem-sort-filter.d.ts +19 -0
- package/dist/components/problem-list/problem-sort-filter.js +67 -0
- package/dist/components/problem-list/problem-toolbar.css.d.ts +2 -0
- package/dist/components/problem-list/problem-toolbar.css.js +41 -0
- package/dist/components/problem-list/problem-toolbar.d.ts +14 -0
- package/dist/components/problem-list/problem-toolbar.js +63 -0
- package/dist/components/problem-list/shared.css.d.ts +2 -0
- package/dist/components/problem-list/shared.css.js +91 -0
- package/dist/components/problems-overview/diagnostic-evaluation.css.d.ts +2 -0
- package/dist/components/problems-overview/diagnostic-evaluation.css.js +178 -0
- package/dist/components/problems-overview/diagnostic-evaluation.d.ts +13 -0
- package/dist/components/problems-overview/diagnostic-evaluation.js +119 -0
- package/dist/components/problems-overview/document-statistic.css.d.ts +2 -0
- package/dist/components/problems-overview/document-statistic.css.js +16 -0
- package/dist/components/problems-overview/document-statistic.d.ts +10 -0
- package/dist/components/problems-overview/document-statistic.js +49 -0
- package/dist/components/problems-overview/problem-overview-group.css.d.ts +2 -0
- package/dist/components/problems-overview/problem-overview-group.css.js +84 -0
- package/dist/components/problems-overview/problem-overview-group.d.ts +17 -0
- package/dist/components/problems-overview/problem-overview-group.js +121 -0
- package/dist/components/problems-overview/problem-statistic.css.d.ts +2 -0
- package/dist/components/problems-overview/problem-statistic.css.js +40 -0
- package/dist/components/problems-overview/problem-statistic.d.ts +11 -0
- package/dist/components/problems-overview/problem-statistic.js +57 -0
- package/dist/components/problems-overview/problem-statistics.css.d.ts +2 -0
- package/dist/components/problems-overview/problem-statistics.css.js +46 -0
- package/dist/components/problems-overview/problem-statistics.d.ts +14 -0
- package/dist/components/problems-overview/problem-statistics.js +132 -0
- package/dist/components/problems-overview/problems-overview.css.d.ts +2 -0
- package/dist/components/problems-overview/problems-overview.css.js +49 -0
- package/dist/components/problems-overview/problems-overview.d.ts +21 -0
- package/dist/components/problems-overview/problems-overview.js +108 -0
- package/dist/components/render-json-path/render-json-path.css.d.ts +2 -0
- package/dist/components/render-json-path/render-json-path.css.js +86 -0
- package/dist/components/render-json-path/render-json-path.d.ts +11 -0
- package/dist/components/render-json-path/render-json-path.js +105 -0
- package/dist/components/the-doctor/settings.d.ts +5 -0
- package/dist/components/the-doctor/settings.js +22 -0
- package/dist/components/the-doctor/status-bar.css.d.ts +2 -0
- package/dist/components/the-doctor/status-bar.css.js +47 -0
- package/dist/components/the-doctor/status-bar.d.ts +12 -0
- package/dist/components/the-doctor/status-bar.js +71 -0
- package/dist/components/the-doctor/the-doctor.css.d.ts +2 -0
- package/dist/components/the-doctor/the-doctor.css.js +156 -0
- package/dist/components/the-doctor/the-doctor.d.ts +57 -0
- package/dist/components/the-doctor/the-doctor.js +340 -0
- package/dist/cowboy-components-FcPnnXMU.js +114388 -0
- package/dist/cowboy-components.d.ts +5 -2
- package/dist/cowboy-components.js +8 -2
- package/dist/cowboy-components.umd.cjs +4004 -106
- package/dist/cpp-Bq-GnYlH.js +407 -0
- package/dist/csharp-IDcibKAT.js +332 -0
- package/dist/csp-QdYr8JWa.js +59 -0
- package/dist/css/button.css.d.ts +2 -0
- package/dist/css/button.css.js +34 -0
- package/dist/css/chroma-synxtax.css.d.ts +2 -0
- package/dist/css/chroma-synxtax.css.js +130 -0
- package/dist/css/cowboy-components.css +3 -0
- package/dist/css/links.css.d.ts +2 -0
- package/dist/css/links.css.js +17 -0
- package/dist/css/lists.css.d.ts +2 -0
- package/dist/css/lists.css.js +43 -0
- package/dist/css/pb33f-theme.css +2 -2
- package/dist/css/syntax.css.js +1 -1
- package/dist/css-C-wMMefI.js +193 -0
- package/dist/cssMode-DcUlnXpV.js +1541 -0
- package/dist/cypher-BfBo9yir.js +269 -0
- package/dist/dart-Cv3rVfv_.js +287 -0
- package/dist/dockerfile-DyCXBGhV.js +136 -0
- package/dist/ecl-COP_iObm.js +462 -0
- package/dist/elixir-DoEhbk9F.js +575 -0
- package/dist/events/doctor.d.ts +51 -0
- package/dist/events/doctor.js +17 -0
- package/dist/flow9-DuHGSNW1.js +148 -0
- package/dist/freemarker2-sY6FVddl.js +995 -0
- package/dist/fsharp-Dv9PDxVO.js +223 -0
- package/dist/go-CcdAeqiK.js +224 -0
- package/dist/graphql-CoRm4b1H.js +157 -0
- package/dist/handlebars-BqznQEC5.js +425 -0
- package/dist/hcl-BSgAhV5f.js +189 -0
- package/dist/html-DBpY_ZT1.js +314 -0
- package/dist/htmlMode-Cf0lYQWN.js +1551 -0
- package/dist/ini-ewx9HLIq.js +77 -0
- package/dist/java-B5lwcbTy.js +238 -0
- package/dist/javascript-DRgEI2Yf.js +76 -0
- package/dist/jsonMode-CmuECwTh.js +1958 -0
- package/dist/julia-NCcg_P_q.js +517 -0
- package/dist/kotlin-BYlnmGrb.js +259 -0
- package/dist/less-DG4tqgOo.js +168 -0
- package/dist/lexon-CTTPcJLv.js +163 -0
- package/dist/liquid-DWVJYCIL.js +246 -0
- package/dist/lua-CxQ1RWuo.js +168 -0
- package/dist/m3-mHFfpmgx.js +216 -0
- package/dist/markdown-Dh6sYULt.js +235 -0
- package/dist/mdx-Bjcj5AvL.js +171 -0
- package/dist/mips-CNUcjHD1.js +204 -0
- package/dist/model/document-statistics.d.ts +40 -0
- package/dist/model/document-statistics.js +4 -0
- package/dist/model/how_to_fix.d.ts +4 -0
- package/dist/model/how_to_fix.js +1 -0
- package/dist/model/problem.d.ts +19 -0
- package/dist/model/problem.js +106 -0
- package/dist/model/rule_documentation.d.ts +5 -0
- package/dist/model/rule_documentation.js +1 -0
- package/dist/model/session.d.ts +5 -0
- package/dist/model/session.js +1 -0
- package/dist/msdax-ZvxFeKvs.js +381 -0
- package/dist/mysql-COjg31sJ.js +884 -0
- package/dist/objective-c-BqrCFBhT.js +189 -0
- package/dist/pascal-CUpkilAS.js +257 -0
- package/dist/pascaligo-nJfvRJ7x.js +170 -0
- package/dist/perl-CWsX6Ysg.js +632 -0
- package/dist/pgsql-DwgpEXC8.js +857 -0
- package/dist/php-CrbKyd62.js +506 -0
- package/dist/pla-JxXT6Kb-.js +143 -0
- package/dist/postiats-BOdnTRGv.js +913 -0
- package/dist/powerquery-DTkwcXGH.js +896 -0
- package/dist/powershell-Cx53dGpt.js +245 -0
- package/dist/protobuf-Dp9vE-l-.js +426 -0
- package/dist/pug-BSjKVjwP.js +408 -0
- package/dist/python-CiN6iAi3.js +282 -0
- package/dist/qsharp-C5P1RxY3.js +291 -0
- package/dist/r-sEMYnclc.js +249 -0
- package/dist/razor-B4jDf_4z.js +556 -0
- package/dist/redis-DbzUc-fU.js +308 -0
- package/dist/redshift-nrLijj1O.js +815 -0
- package/dist/restructuredtext-CIbGUl6T.js +180 -0
- package/dist/ruby-JcYJisWg.js +517 -0
- package/dist/rust-BgbFBFXH.js +349 -0
- package/dist/sb-hRFFChi7.js +121 -0
- package/dist/scala-Cs0yVo3Q.js +376 -0
- package/dist/scheme-l_0jNtxy.js +114 -0
- package/dist/scss-C4l7ZIRR.js +268 -0
- package/dist/services/linting-service.d.ts +12 -0
- package/dist/services/linting-service.js +121 -0
- package/dist/shell-ikLk_l24.js +227 -0
- package/dist/solidity-4GxCaH9e.js +1373 -0
- package/dist/sophia-tX0WEZsZ.js +205 -0
- package/dist/sparql-D7ky-uMk.js +207 -0
- package/dist/sql-CqEfBVGS.js +859 -0
- package/dist/st-CNWQPqyI.js +422 -0
- package/dist/style.css +1 -1
- package/dist/swift-C_fDfC0d.js +318 -0
- package/dist/systemverilog-gAvsEtN_.js +582 -0
- package/dist/tcl-KbBChuA6.js +238 -0
- package/dist/tsMode-29i0IHrU.js +886 -0
- package/dist/twig-Bb652BpM.js +398 -0
- package/dist/typescript-FDohSLaF.js +349 -0
- package/dist/vb-2e5hSeUh.js +378 -0
- package/dist/wgsl-CYSDq0zg.js +445 -0
- package/dist/workers/rule-documentation.worker.d.ts +1 -0
- package/dist/workers/rule-documentation.worker.js +85 -0
- package/dist/workers/search-problems.worker.d.ts +1 -0
- package/dist/workers/search-problems.worker.js +19 -0
- package/dist/xml-BdgdiRK4.js +101 -0
- package/dist/yaml-CJDq-Ud3.js +212 -0
- package/package.json +6 -4
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { m as i } from "./cowboy-components-FcPnnXMU.js";
|
|
2
|
+
/*!-----------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
5
|
+
* Released under the MIT license
|
|
6
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
+
*-----------------------------------------------------------------------------*/
|
|
8
|
+
var c = Object.defineProperty, u = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, a = (n, e, r, o) => {
|
|
9
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
+
for (let t of s(e))
|
|
11
|
+
!d.call(n, t) && t !== r && c(n, t, { get: () => e[t], enumerable: !(o = u(e, t)) || o.enumerable });
|
|
12
|
+
return n;
|
|
13
|
+
}, m = (n, e, r) => (a(n, e, "default"), r && a(r, e, "default")), l = {};
|
|
14
|
+
m(l, i);
|
|
15
|
+
var p = {
|
|
16
|
+
comments: {
|
|
17
|
+
lineComment: "#"
|
|
18
|
+
},
|
|
19
|
+
brackets: [
|
|
20
|
+
["{", "}"],
|
|
21
|
+
["[", "]"],
|
|
22
|
+
["(", ")"]
|
|
23
|
+
],
|
|
24
|
+
autoClosingPairs: [
|
|
25
|
+
{ open: "{", close: "}" },
|
|
26
|
+
{ open: "[", close: "]" },
|
|
27
|
+
{ open: "(", close: ")" },
|
|
28
|
+
{ open: '"', close: '"' },
|
|
29
|
+
{ open: "'", close: "'" }
|
|
30
|
+
],
|
|
31
|
+
surroundingPairs: [
|
|
32
|
+
{ open: "{", close: "}" },
|
|
33
|
+
{ open: "[", close: "]" },
|
|
34
|
+
{ open: "(", close: ")" },
|
|
35
|
+
{ open: '"', close: '"' },
|
|
36
|
+
{ open: "'", close: "'" }
|
|
37
|
+
],
|
|
38
|
+
folding: {
|
|
39
|
+
offSide: !0
|
|
40
|
+
},
|
|
41
|
+
onEnterRules: [
|
|
42
|
+
{
|
|
43
|
+
beforeText: /:\s*$/,
|
|
44
|
+
action: {
|
|
45
|
+
indentAction: l.languages.IndentAction.Indent
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}, f = {
|
|
50
|
+
tokenPostfix: ".yaml",
|
|
51
|
+
brackets: [
|
|
52
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
53
|
+
{ token: "delimiter.square", open: "[", close: "]" }
|
|
54
|
+
],
|
|
55
|
+
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
|
56
|
+
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
57
|
+
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
58
|
+
numberOctal: /0o[0-7]+/,
|
|
59
|
+
numberHex: /0x[0-9a-fA-F]+/,
|
|
60
|
+
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
61
|
+
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
62
|
+
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
63
|
+
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
64
|
+
tokenizer: {
|
|
65
|
+
root: [
|
|
66
|
+
{ include: "@whitespace" },
|
|
67
|
+
{ include: "@comment" },
|
|
68
|
+
// Directive
|
|
69
|
+
[/%[^ ]+.*$/, "meta.directive"],
|
|
70
|
+
// Document Markers
|
|
71
|
+
[/---/, "operators.directivesEnd"],
|
|
72
|
+
[/\.{3}/, "operators.documentEnd"],
|
|
73
|
+
// Block Structure Indicators
|
|
74
|
+
[/[-?:](?= )/, "operators"],
|
|
75
|
+
{ include: "@anchor" },
|
|
76
|
+
{ include: "@tagHandle" },
|
|
77
|
+
{ include: "@flowCollections" },
|
|
78
|
+
{ include: "@blockStyle" },
|
|
79
|
+
// Numbers
|
|
80
|
+
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
81
|
+
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
82
|
+
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
83
|
+
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
84
|
+
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
85
|
+
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
86
|
+
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
87
|
+
// Key:Value pair
|
|
88
|
+
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
|
89
|
+
{ include: "@flowScalars" },
|
|
90
|
+
// String nodes
|
|
91
|
+
[
|
|
92
|
+
/.+?(?=(\s+#|$))/,
|
|
93
|
+
{
|
|
94
|
+
cases: {
|
|
95
|
+
"@keywords": "keyword",
|
|
96
|
+
"@default": "string"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
],
|
|
101
|
+
// Flow Collection: Flow Mapping
|
|
102
|
+
object: [
|
|
103
|
+
{ include: "@whitespace" },
|
|
104
|
+
{ include: "@comment" },
|
|
105
|
+
// Flow Mapping termination
|
|
106
|
+
[/\}/, "@brackets", "@pop"],
|
|
107
|
+
// Flow Mapping delimiter
|
|
108
|
+
[/,/, "delimiter.comma"],
|
|
109
|
+
// Flow Mapping Key:Value delimiter
|
|
110
|
+
[/:(?= )/, "operators"],
|
|
111
|
+
// Flow Mapping Key:Value key
|
|
112
|
+
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
113
|
+
// Start Flow Style
|
|
114
|
+
{ include: "@flowCollections" },
|
|
115
|
+
{ include: "@flowScalars" },
|
|
116
|
+
// Scalar Data types
|
|
117
|
+
{ include: "@tagHandle" },
|
|
118
|
+
{ include: "@anchor" },
|
|
119
|
+
{ include: "@flowNumber" },
|
|
120
|
+
// Other value (keyword or string)
|
|
121
|
+
[
|
|
122
|
+
/[^\},]+/,
|
|
123
|
+
{
|
|
124
|
+
cases: {
|
|
125
|
+
"@keywords": "keyword",
|
|
126
|
+
"@default": "string"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
],
|
|
131
|
+
// Flow Collection: Flow Sequence
|
|
132
|
+
array: [
|
|
133
|
+
{ include: "@whitespace" },
|
|
134
|
+
{ include: "@comment" },
|
|
135
|
+
// Flow Sequence termination
|
|
136
|
+
[/\]/, "@brackets", "@pop"],
|
|
137
|
+
// Flow Sequence delimiter
|
|
138
|
+
[/,/, "delimiter.comma"],
|
|
139
|
+
// Start Flow Style
|
|
140
|
+
{ include: "@flowCollections" },
|
|
141
|
+
{ include: "@flowScalars" },
|
|
142
|
+
// Scalar Data types
|
|
143
|
+
{ include: "@tagHandle" },
|
|
144
|
+
{ include: "@anchor" },
|
|
145
|
+
{ include: "@flowNumber" },
|
|
146
|
+
// Other value (keyword or string)
|
|
147
|
+
[
|
|
148
|
+
/[^\],]+/,
|
|
149
|
+
{
|
|
150
|
+
cases: {
|
|
151
|
+
"@keywords": "keyword",
|
|
152
|
+
"@default": "string"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
],
|
|
157
|
+
// First line of a Block Style
|
|
158
|
+
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
|
159
|
+
// Further lines of a Block Style
|
|
160
|
+
// Workaround for indentation detection
|
|
161
|
+
multiStringContinued: [
|
|
162
|
+
[
|
|
163
|
+
/^( *).+$/,
|
|
164
|
+
{
|
|
165
|
+
cases: {
|
|
166
|
+
"$1==$S2": "string",
|
|
167
|
+
"@default": { token: "@rematch", next: "@popall" }
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
],
|
|
172
|
+
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
173
|
+
// Only line comments
|
|
174
|
+
comment: [[/#.*$/, "comment"]],
|
|
175
|
+
// Start Flow Collections
|
|
176
|
+
flowCollections: [
|
|
177
|
+
[/\[/, "@brackets", "@array"],
|
|
178
|
+
[/\{/, "@brackets", "@object"]
|
|
179
|
+
],
|
|
180
|
+
// Start Flow Scalars (quoted strings)
|
|
181
|
+
flowScalars: [
|
|
182
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
183
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
184
|
+
[/'[^']*'/, "string"],
|
|
185
|
+
[/"/, "string", "@doubleQuotedString"]
|
|
186
|
+
],
|
|
187
|
+
doubleQuotedString: [
|
|
188
|
+
[/[^\\"]+/, "string"],
|
|
189
|
+
[/@escapes/, "string.escape"],
|
|
190
|
+
[/\\./, "string.escape.invalid"],
|
|
191
|
+
[/"/, "string", "@pop"]
|
|
192
|
+
],
|
|
193
|
+
// Start Block Scalar
|
|
194
|
+
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
|
195
|
+
// Numbers in Flow Collections (terminate with ,]})
|
|
196
|
+
flowNumber: [
|
|
197
|
+
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
198
|
+
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
199
|
+
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
200
|
+
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
201
|
+
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
202
|
+
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
203
|
+
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
204
|
+
],
|
|
205
|
+
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
206
|
+
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
export {
|
|
210
|
+
p as conf,
|
|
211
|
+
f as language
|
|
212
|
+
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Princess Beef Heavy Industries Cowboy Components",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
|
-
"version": "0.0
|
|
6
|
+
"version": "0.1.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/cowboy-components.umd.cjs",
|
|
9
9
|
"module": "./dist/cowboy-components.js",
|
|
@@ -30,9 +30,10 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@pb33f/ranch": "^0.3.4",
|
|
33
|
-
"@pb33f/saddlebag": "^0.
|
|
33
|
+
"@pb33f/saddlebag": "^0.2.0",
|
|
34
34
|
"@shoelace-style/shoelace": "^2.12.0",
|
|
35
35
|
"marked": "^11.1.1",
|
|
36
|
+
"monaco-editor": "^0.46.0",
|
|
36
37
|
"prismjs": "^1.29.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
@@ -41,8 +42,9 @@
|
|
|
41
42
|
"@types/prismjs": "^1.26.3",
|
|
42
43
|
"rollup-plugin-copy": "^3.5.0",
|
|
43
44
|
"typescript": "^5.3.3",
|
|
44
|
-
"vite": "^5.0.
|
|
45
|
+
"vite": "^5.0.12",
|
|
45
46
|
"vite-plugin-dts": "^3.7.0",
|
|
46
|
-
"vite-tsconfig-paths": "^4.2.3"
|
|
47
|
+
"vite-tsconfig-paths": "^4.2.3",
|
|
48
|
+
"vite-plugin-mkcert": "^1.17.5"
|
|
47
49
|
}
|
|
48
50
|
}
|