react-schema-form 1.0.5 → 1.0.7

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 (121) hide show
  1. package/dist/react-schema-form.css +1 -0
  2. package/dist/react-schema-form.js +24552 -5
  3. package/dist/react-schema-form.js.map +1 -0
  4. package/dist/react-schema-form.umd.cjs +76 -168
  5. package/dist/react-schema-form.umd.cjs.map +1 -0
  6. package/package.json +32 -10
  7. package/dist/apl-B2DGVGxc.js +0 -76
  8. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  9. package/dist/asn1-DF4fnRHj.js +0 -93
  10. package/dist/asterisk-DS281yxp.js +0 -271
  11. package/dist/brainfuck-C_p9pTT8.js +0 -34
  12. package/dist/clike-l4mx49Q1.js +0 -621
  13. package/dist/clojure-CCKyeQKf.js +0 -800
  14. package/dist/cmake-CuaCgAKt.js +0 -28
  15. package/dist/cobol-CJVkMW0i.js +0 -73
  16. package/dist/coffeescript-BVCvwO8I.js +0 -179
  17. package/dist/commonlisp-D_kxz07b.js +0 -75
  18. package/dist/crystal-D309uH6_.js +0 -217
  19. package/dist/css-bIlmDBTK.js +0 -1560
  20. package/dist/cypher-BMq4Fwjl.js +0 -68
  21. package/dist/d-BZcgY6La.js +0 -127
  22. package/dist/diff-Cg9d_RX2.js +0 -18
  23. package/dist/dockerfile-CFG_IPGn.js +0 -194
  24. package/dist/dtd-CtLokQ-U.js +0 -84
  25. package/dist/dylan-QYeExnWK.js +0 -234
  26. package/dist/ebnf-Xa2PN7SI.js +0 -77
  27. package/dist/ecl-CiXN-g_D.js +0 -121
  28. package/dist/eiffel-yQhjl4T1.js +0 -110
  29. package/dist/elm-CNT9vbN0.js +0 -108
  30. package/dist/erlang-CFOYdy9e.js +0 -487
  31. package/dist/factor-DJHfQ4a1.js +0 -65
  32. package/dist/fcl-CPC2WYrI.js +0 -103
  33. package/dist/forth-BmxRyE9S.js +0 -60
  34. package/dist/fortran-9bvPyrOW.js +0 -442
  35. package/dist/gas-BdfkXJT_.js +0 -183
  36. package/dist/gherkin-CJuwpceU.js +0 -34
  37. package/dist/groovy-DZeT_VM-.js +0 -146
  38. package/dist/haskell-Bvt3Qq1t.js +0 -375
  39. package/dist/haxe-pdDS1aE8.js +0 -359
  40. package/dist/http-D9LttvKF.js +0 -44
  41. package/dist/idl-B6TRFYjl.js +0 -947
  42. package/dist/index-BE87KcZQ.js +0 -98
  43. package/dist/index-BLB2mjTh.js +0 -312
  44. package/dist/index-Bar6lBni.js +0 -75
  45. package/dist/index-BzGQIlo_.js +0 -134
  46. package/dist/index-BzqHMC7H.js +0 -58
  47. package/dist/index-C1_9PR5w.js +0 -156
  48. package/dist/index-C8EGvqpJ.js +0 -135
  49. package/dist/index-CFDpG1dM.js +0 -243
  50. package/dist/index-Cjv9KcfW.js +0 -93
  51. package/dist/index-CvvBPxcf.js +0 -341
  52. package/dist/index-DDn1Bvsm.js +0 -538
  53. package/dist/index-DeMNkpAe.js +0 -299
  54. package/dist/index-DjyHTjks.js +0 -265
  55. package/dist/index-JL0W82NW.js +0 -598
  56. package/dist/index-RrAWWB2k.js +0 -71
  57. package/dist/index-kp5oFDKj.js +0 -288
  58. package/dist/javascript-CWGekh08.js +0 -690
  59. package/dist/jinja2-DnB6dQmV.js +0 -154
  60. package/dist/julia-DpvXAuO6.js +0 -241
  61. package/dist/livescript-CE_BxZmN.js +0 -272
  62. package/dist/lua-XplVlWi_.js +0 -217
  63. package/dist/main-gT5TlPcm.js +0 -85834
  64. package/dist/mathematica-jaRHnSxC.js +0 -35
  65. package/dist/mbox-BctzC1hL.js +0 -76
  66. package/dist/mirc-CFBPAOaF.js +0 -72
  67. package/dist/mllike-1yy7Y7jE.js +0 -275
  68. package/dist/modelica-vUgVs--1.js +0 -93
  69. package/dist/mscgen-Cpl0NYLN.js +0 -104
  70. package/dist/mumps-CQoS1kWX.js +0 -25
  71. package/dist/nginx-zDPm3Z74.js +0 -89
  72. package/dist/nsis-BtA0qkjU.js +0 -62
  73. package/dist/ntriples-CsNjv2QF.js +0 -79
  74. package/dist/octave-C8PmmSRH.js +0 -143
  75. package/dist/oz-Ce8aN8oE.js +0 -151
  76. package/dist/pascal-ixanSKUz.js +0 -77
  77. package/dist/perl-B4bSCe1C.js +0 -915
  78. package/dist/pig-D24Z8EXi.js +0 -54
  79. package/dist/powershell-DkYVfTzP.js +0 -249
  80. package/dist/properties-Dn9wna3M.js +0 -26
  81. package/dist/protobuf-BPIjwpzm.js +0 -49
  82. package/dist/pug-CW1q1xhQ.js +0 -248
  83. package/dist/puppet-nyd4dhjf.js +0 -45
  84. package/dist/python-B5QdSKoL.js +0 -313
  85. package/dist/q-DXjKs-tC.js +0 -83
  86. package/dist/r-Bz1d3XP0.js +0 -104
  87. package/dist/rpm-IznJm2Xc.js +0 -57
  88. package/dist/ruby-CcYfvIk6.js +0 -228
  89. package/dist/sas-7E8yHoCW.js +0 -105
  90. package/dist/scheme-DjibxsNh.js +0 -124
  91. package/dist/shell-C0C2sNA_.js +0 -182
  92. package/dist/sieve-Bwz7vjP5.js +0 -72
  93. package/dist/simple-mode-HGTvdazT.js +0 -88
  94. package/dist/smalltalk-Bhddl2pB.js +0 -48
  95. package/dist/solr-BNlsLglM.js +0 -41
  96. package/dist/sparql-FarWu_Gb.js +0 -197
  97. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  98. package/dist/sql-uoWIYwDX.js +0 -284
  99. package/dist/stex-92raWT1r.js +0 -129
  100. package/dist/style.css +0 -1
  101. package/dist/stylus-DRcbY16X.js +0 -250
  102. package/dist/swift-DSxqR9R6.js +0 -230
  103. package/dist/tcl-xfoLljhY.js +0 -81
  104. package/dist/textile-D1AWE-pc.js +0 -295
  105. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  106. package/dist/tiki-D9z-T0ea.js +0 -178
  107. package/dist/toml-BHiuTcfn.js +0 -49
  108. package/dist/troff-D2UO-fKf.js +0 -35
  109. package/dist/ttcn-DmjTzZb6.js +0 -125
  110. package/dist/ttcn-cfg-B2U3U7dn.js +0 -90
  111. package/dist/turtle-xwJUxoPV.js +0 -80
  112. package/dist/vb-c2kQGd6-.js +0 -74
  113. package/dist/vbscript-Dz1TtKsy.js +0 -324
  114. package/dist/velocity-DJd0pTTC.js +0 -96
  115. package/dist/verilog-C4VGD9n1.js +0 -263
  116. package/dist/vhdl-T9HkrbI2.js +0 -106
  117. package/dist/vite.svg +0 -1
  118. package/dist/webidl-CjfDENEo.js +0 -155
  119. package/dist/xquery-xQxle02u.js +0 -426
  120. package/dist/yacas-C0absKBh.js +0 -73
  121. package/dist/z80-C8rPtw-0.js +0 -61
@@ -1,54 +0,0 @@
1
- function r(e) {
2
- for (var T = {}, O = e.split(" "), E = 0; E < O.length; ++E) T[O[E]] = !0;
3
- return T;
4
- }
5
- var i = "ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER ", U = "VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE NEQ MATCHES TRUE FALSE DUMP", o = "BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP ", S = r(i), n = r(U), t = r(o), I = /[*+\-%<>=&?:\/!|]/;
6
- function L(e, T, O) {
7
- return T.tokenize = O, O(e, T);
8
- }
9
- function u(e, T) {
10
- for (var O = !1, E; E = e.next(); ) {
11
- if (E == "/" && O) {
12
- T.tokenize = A;
13
- break;
14
- }
15
- O = E == "*";
16
- }
17
- return "comment";
18
- }
19
- function C(e) {
20
- return function(T, O) {
21
- for (var E = !1, N, R = !1; (N = T.next()) != null; ) {
22
- if (N == e && !E) {
23
- R = !0;
24
- break;
25
- }
26
- E = !E && N == "\\";
27
- }
28
- return (R || !E) && (O.tokenize = A), "error";
29
- };
30
- }
31
- function A(e, T) {
32
- var O = e.next();
33
- return O == '"' || O == "'" ? L(e, T, C(O)) : /[\[\]{}\(\),;\.]/.test(O) ? null : /\d/.test(O) ? (e.eatWhile(/[\w\.]/), "number") : O == "/" ? e.eat("*") ? L(e, T, u) : (e.eatWhile(I), "operator") : O == "-" ? e.eat("-") ? (e.skipToEnd(), "comment") : (e.eatWhile(I), "operator") : I.test(O) ? (e.eatWhile(I), "operator") : (e.eatWhile(/[\w\$_]/), n && n.propertyIsEnumerable(e.current().toUpperCase()) && !e.eat(")") && !e.eat(".") ? "keyword" : S && S.propertyIsEnumerable(e.current().toUpperCase()) ? "builtin" : t && t.propertyIsEnumerable(e.current().toUpperCase()) ? "type" : "variable");
34
- }
35
- const G = {
36
- name: "pig",
37
- startState: function() {
38
- return {
39
- tokenize: A,
40
- startOfLine: !0
41
- };
42
- },
43
- token: function(e, T) {
44
- if (e.eatSpace()) return null;
45
- var O = T.tokenize(e, T);
46
- return O;
47
- },
48
- languageData: {
49
- autocomplete: (i + o + U).split(" ")
50
- }
51
- };
52
- export {
53
- G as pig
54
- };
@@ -1,249 +0,0 @@
1
- function a(e, n) {
2
- n = n || {};
3
- for (var r = n.prefix !== void 0 ? n.prefix : "^", t = n.suffix !== void 0 ? n.suffix : "\\b", i = 0; i < e.length; i++)
4
- e[i] instanceof RegExp ? e[i] = e[i].source : e[i] = e[i].replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
5
- return new RegExp(r + "(" + e.join("|") + ")" + t, "i");
6
- }
7
- var f = "(?=[^A-Za-z\\d\\-_]|$)", c = /[\w\-:]/, P = a([
8
- /begin|break|catch|continue|data|default|do|dynamicparam/,
9
- /else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,
10
- /param|process|return|switch|throw|trap|try|until|where|while/
11
- ], { suffix: f }), d = /[\[\]{},;`\\\.]|@[({]/, b = a([
12
- "f",
13
- /b?not/,
14
- /[ic]?split/,
15
- "join",
16
- /is(not)?/,
17
- "as",
18
- /[ic]?(eq|ne|[gl][te])/,
19
- /[ic]?(not)?(like|match|contains)/,
20
- /[ic]?replace/,
21
- /b?(and|or|xor)/
22
- ], { prefix: "-" }), C = /[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/, k = a([b, C], { suffix: "" }), h = /^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i, x = /^[A-Za-z\_][A-Za-z\-\_\d]*\b/, E = /[A-Z]:|%|\?/i, w = a([
23
- /Add-(Computer|Content|History|Member|PSSnapin|Type)/,
24
- /Checkpoint-Computer/,
25
- /Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,
26
- /Compare-Object/,
27
- /Complete-Transaction/,
28
- /Connect-PSSession/,
29
- /ConvertFrom-(Csv|Json|SecureString|StringData)/,
30
- /Convert-Path/,
31
- /ConvertTo-(Csv|Html|Json|SecureString|Xml)/,
32
- /Copy-Item(Property)?/,
33
- /Debug-Process/,
34
- /Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,
35
- /Disconnect-PSSession/,
36
- /Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,
37
- /(Enter|Exit)-PSSession/,
38
- /Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,
39
- /ForEach-Object/,
40
- /Format-(Custom|List|Table|Wide)/,
41
- new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),
42
- /Group-Object/,
43
- /Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,
44
- /ImportSystemModules/,
45
- /Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,
46
- /Join-Path/,
47
- /Limit-EventLog/,
48
- /Measure-(Command|Object)/,
49
- /Move-Item(Property)?/,
50
- new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),
51
- /Out-(Default|File|GridView|Host|Null|Printer|String)/,
52
- /Pause/,
53
- /(Pop|Push)-Location/,
54
- /Read-Host/,
55
- /Receive-(Job|PSSession)/,
56
- /Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,
57
- /Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,
58
- /Rename-(Computer|Item(Property)?)/,
59
- /Reset-ComputerMachinePassword/,
60
- /Resolve-Path/,
61
- /Restart-(Computer|Service)/,
62
- /Restore-Computer/,
63
- /Resume-(Job|Service)/,
64
- /Save-Help/,
65
- /Select-(Object|String|Xml)/,
66
- /Send-MailMessage/,
67
- new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),
68
- /Show-(Command|ControlPanelItem|EventLog)/,
69
- /Sort-Object/,
70
- /Split-Path/,
71
- /Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,
72
- /Stop-(Computer|Job|Process|Service|Transcript)/,
73
- /Suspend-(Job|Service)/,
74
- /TabExpansion2/,
75
- /Tee-Object/,
76
- /Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,
77
- /Trace-Command/,
78
- /Unblock-File/,
79
- /Undo-Transaction/,
80
- /Unregister-(Event|PSSessionConfiguration)/,
81
- /Update-(FormatData|Help|List|TypeData)/,
82
- /Use-Transaction/,
83
- /Wait-(Event|Job|Process)/,
84
- /Where-Object/,
85
- /Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,
86
- /cd|help|mkdir|more|oss|prompt/,
87
- /ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,
88
- /echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,
89
- /group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,
90
- /measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,
91
- /rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,
92
- /sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/
93
- ], { prefix: "", suffix: "" }), y = a([
94
- /[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,
95
- /FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,
96
- /MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,
97
- /PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,
98
- /PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,
99
- /WarningPreference|WhatIfPreference/,
100
- /Event|EventArgs|EventSubscriber|Sender/,
101
- /Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,
102
- /true|false|null/
103
- ], { prefix: "\\$", suffix: "" }), M = a([E, w, y], { suffix: f }), p = {
104
- keyword: P,
105
- number: h,
106
- operator: k,
107
- builtin: M,
108
- punctuation: d,
109
- variable: x
110
- };
111
- function o(e, n) {
112
- var r = n.returnStack[n.returnStack.length - 1];
113
- if (r && r.shouldReturnFrom(n))
114
- return n.tokenize = r.tokenize, n.returnStack.pop(), n.tokenize(e, n);
115
- if (e.eatSpace())
116
- return null;
117
- if (e.eat("("))
118
- return n.bracketNesting += 1, "punctuation";
119
- if (e.eat(")"))
120
- return n.bracketNesting -= 1, "punctuation";
121
- for (var t in p)
122
- if (e.match(p[t]))
123
- return t;
124
- var i = e.next();
125
- if (i === "'")
126
- return R(e, n);
127
- if (i === "$")
128
- return s(e, n);
129
- if (i === '"')
130
- return v(e, n);
131
- if (i === "<" && e.eat("#"))
132
- return n.tokenize = S, S(e, n);
133
- if (i === "#")
134
- return e.skipToEnd(), "comment";
135
- if (i === "@") {
136
- var l = e.eat(/["']/);
137
- if (l && e.eol())
138
- return n.tokenize = u, n.startQuote = l[0], u(e, n);
139
- if (e.eol())
140
- return "error";
141
- if (e.peek().match(/[({]/))
142
- return "punctuation";
143
- if (e.peek().match(c))
144
- return s(e, n);
145
- }
146
- return "error";
147
- }
148
- function R(e, n) {
149
- for (var r; (r = e.peek()) != null; )
150
- if (e.next(), r === "'" && !e.eat("'"))
151
- return n.tokenize = o, "string";
152
- return "error";
153
- }
154
- function v(e, n) {
155
- for (var r; (r = e.peek()) != null; ) {
156
- if (r === "$")
157
- return n.tokenize = I, "string";
158
- if (e.next(), r === "`") {
159
- e.next();
160
- continue;
161
- }
162
- if (r === '"' && !e.eat('"'))
163
- return n.tokenize = o, "string";
164
- }
165
- return "error";
166
- }
167
- function I(e, n) {
168
- return g(e, n, v);
169
- }
170
- function z(e, n) {
171
- return n.tokenize = u, n.startQuote = '"', u(e, n);
172
- }
173
- function T(e, n) {
174
- return g(e, n, z);
175
- }
176
- function g(e, n, r) {
177
- if (e.match("$(")) {
178
- var t = n.bracketNesting;
179
- return n.returnStack.push({
180
- /*jshint loopfunc:true */
181
- shouldReturnFrom: function(i) {
182
- return i.bracketNesting === t;
183
- },
184
- tokenize: r
185
- }), n.tokenize = o, n.bracketNesting += 1, "punctuation";
186
- } else
187
- return e.next(), n.returnStack.push({
188
- shouldReturnFrom: function() {
189
- return !0;
190
- },
191
- tokenize: r
192
- }), n.tokenize = s, n.tokenize(e, n);
193
- }
194
- function S(e, n) {
195
- for (var r = !1, t; (t = e.next()) != null; ) {
196
- if (r && t == ">") {
197
- n.tokenize = o;
198
- break;
199
- }
200
- r = t === "#";
201
- }
202
- return "comment";
203
- }
204
- function s(e, n) {
205
- var r = e.peek();
206
- return e.eat("{") ? (n.tokenize = m, m(e, n)) : r != null && r.match(c) ? (e.eatWhile(c), n.tokenize = o, "variable") : (n.tokenize = o, "error");
207
- }
208
- function m(e, n) {
209
- for (var r; (r = e.next()) != null; )
210
- if (r === "}") {
211
- n.tokenize = o;
212
- break;
213
- }
214
- return "variable";
215
- }
216
- function u(e, n) {
217
- var r = n.startQuote;
218
- if (e.sol() && e.match(new RegExp(r + "@")))
219
- n.tokenize = o;
220
- else if (r === '"')
221
- for (; !e.eol(); ) {
222
- var t = e.peek();
223
- if (t === "$")
224
- return n.tokenize = T, "string";
225
- e.next(), t === "`" && e.next();
226
- }
227
- else
228
- e.skipToEnd();
229
- return "string";
230
- }
231
- const D = {
232
- name: "powershell",
233
- startState: function() {
234
- return {
235
- returnStack: [],
236
- bracketNesting: 0,
237
- tokenize: o
238
- };
239
- },
240
- token: function(e, n) {
241
- return n.tokenize(e, n);
242
- },
243
- languageData: {
244
- commentTokens: { line: "#", block: { open: "<#", close: "#>" } }
245
- }
246
- };
247
- export {
248
- D as powerShell
249
- };
@@ -1,26 +0,0 @@
1
- const f = {
2
- name: "properties",
3
- token: function(e, i) {
4
- var o = e.sol() || i.afterSection, l = e.eol();
5
- if (i.afterSection = !1, o && (i.nextMultiline ? (i.inMultiline = !0, i.nextMultiline = !1) : i.position = "def"), l && !i.nextMultiline && (i.inMultiline = !1, i.position = "def"), o)
6
- for (; e.eatSpace(); )
7
- ;
8
- var n = e.next();
9
- return o && (n === "#" || n === "!" || n === ";") ? (i.position = "comment", e.skipToEnd(), "comment") : o && n === "[" ? (i.afterSection = !0, e.skipTo("]"), e.eat("]"), "header") : n === "=" || n === ":" ? (i.position = "quote", null) : (n === "\\" && i.position === "quote" && e.eol() && (i.nextMultiline = !0), i.position);
10
- },
11
- startState: function() {
12
- return {
13
- position: "def",
14
- // Current position, "def", "quote" or "comment"
15
- nextMultiline: !1,
16
- // Is the next line multiline value
17
- inMultiline: !1,
18
- // Is the current line a multiline value
19
- afterSection: !1
20
- // Did we just open a section
21
- };
22
- }
23
- };
24
- export {
25
- f as properties
26
- };
@@ -1,49 +0,0 @@
1
- function t(e) {
2
- return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
3
- }
4
- var n = [
5
- "package",
6
- "message",
7
- "import",
8
- "syntax",
9
- "required",
10
- "optional",
11
- "repeated",
12
- "reserved",
13
- "default",
14
- "extensions",
15
- "packed",
16
- "bool",
17
- "bytes",
18
- "double",
19
- "enum",
20
- "float",
21
- "string",
22
- "int32",
23
- "int64",
24
- "uint32",
25
- "uint64",
26
- "sint32",
27
- "sint64",
28
- "fixed32",
29
- "fixed64",
30
- "sfixed32",
31
- "sfixed64",
32
- "option",
33
- "service",
34
- "rpc",
35
- "returns"
36
- ], r = t(n), i = new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");
37
- function f(e) {
38
- return e.eatSpace() ? null : e.match("//") ? (e.skipToEnd(), "comment") : e.match(/^[0-9\.+-]/, !1) && (e.match(/^[+-]?0x[0-9a-fA-F]+/) || e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/) || e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/)) ? "number" : e.match(/^"([^"]|(""))*"/) || e.match(/^'([^']|(''))*'/) ? "string" : e.match(r) ? "keyword" : e.match(i) ? "variable" : (e.next(), null);
39
- }
40
- const u = {
41
- name: "protobuf",
42
- token: f,
43
- languageData: {
44
- autocomplete: n
45
- }
46
- };
47
- export {
48
- u as protobuf
49
- };
@@ -1,248 +0,0 @@
1
- import { javascript as e } from "./javascript-CWGekh08.js";
2
- var f = {
3
- "{": "}",
4
- "(": ")",
5
- "[": "]"
6
- };
7
- function p(i) {
8
- if (typeof i != "object") return i;
9
- let n = {};
10
- for (let t in i) {
11
- let r = i[t];
12
- n[t] = r instanceof Array ? r.slice() : r;
13
- }
14
- return n;
15
- }
16
- class u {
17
- constructor(n) {
18
- this.indentUnit = n, this.javaScriptLine = !1, this.javaScriptLineExcludesColon = !1, this.javaScriptArguments = !1, this.javaScriptArgumentsDepth = 0, this.isInterpolating = !1, this.interpolationNesting = 0, this.jsState = e.startState(n), this.restOfLine = "", this.isIncludeFiltered = !1, this.isEach = !1, this.lastTag = "", this.isAttrs = !1, this.attrsNest = [], this.inAttributeName = !0, this.attributeIsType = !1, this.attrValue = "", this.indentOf = 1 / 0, this.indentToken = "";
19
- }
20
- copy() {
21
- var n = new u(this.indentUnit);
22
- return n.javaScriptLine = this.javaScriptLine, n.javaScriptLineExcludesColon = this.javaScriptLineExcludesColon, n.javaScriptArguments = this.javaScriptArguments, n.javaScriptArgumentsDepth = this.javaScriptArgumentsDepth, n.isInterpolating = this.isInterpolating, n.interpolationNesting = this.interpolationNesting, n.jsState = (e.copyState || p)(this.jsState), n.restOfLine = this.restOfLine, n.isIncludeFiltered = this.isIncludeFiltered, n.isEach = this.isEach, n.lastTag = this.lastTag, n.isAttrs = this.isAttrs, n.attrsNest = this.attrsNest.slice(), n.inAttributeName = this.inAttributeName, n.attributeIsType = this.attributeIsType, n.attrValue = this.attrValue, n.indentOf = this.indentOf, n.indentToken = this.indentToken, n;
23
- }
24
- }
25
- function h(i, n) {
26
- if (i.sol() && (n.javaScriptLine = !1, n.javaScriptLineExcludesColon = !1), n.javaScriptLine) {
27
- if (n.javaScriptLineExcludesColon && i.peek() === ":") {
28
- n.javaScriptLine = !1, n.javaScriptLineExcludesColon = !1;
29
- return;
30
- }
31
- var t = e.token(i, n.jsState);
32
- return i.eol() && (n.javaScriptLine = !1), t || !0;
33
- }
34
- }
35
- function d(i, n) {
36
- if (n.javaScriptArguments) {
37
- if (n.javaScriptArgumentsDepth === 0 && i.peek() !== "(") {
38
- n.javaScriptArguments = !1;
39
- return;
40
- }
41
- if (i.peek() === "(" ? n.javaScriptArgumentsDepth++ : i.peek() === ")" && n.javaScriptArgumentsDepth--, n.javaScriptArgumentsDepth === 0) {
42
- n.javaScriptArguments = !1;
43
- return;
44
- }
45
- var t = e.token(i, n.jsState);
46
- return t || !0;
47
- }
48
- }
49
- function s(i) {
50
- if (i.match(/^yield\b/))
51
- return "keyword";
52
- }
53
- function S(i) {
54
- if (i.match(/^(?:doctype) *([^\n]+)?/)) return "meta";
55
- }
56
- function o(i, n) {
57
- if (i.match("#{"))
58
- return n.isInterpolating = !0, n.interpolationNesting = 0, "punctuation";
59
- }
60
- function v(i, n) {
61
- if (n.isInterpolating) {
62
- if (i.peek() === "}") {
63
- if (n.interpolationNesting--, n.interpolationNesting < 0)
64
- return i.next(), n.isInterpolating = !1, "punctuation";
65
- } else i.peek() === "{" && n.interpolationNesting++;
66
- return e.token(i, n.jsState) || !0;
67
- }
68
- }
69
- function g(i, n) {
70
- if (i.match(/^case\b/))
71
- return n.javaScriptLine = !0, "keyword";
72
- }
73
- function j(i, n) {
74
- if (i.match(/^when\b/))
75
- return n.javaScriptLine = !0, n.javaScriptLineExcludesColon = !0, "keyword";
76
- }
77
- function k(i) {
78
- if (i.match(/^default\b/))
79
- return "keyword";
80
- }
81
- function b(i, n) {
82
- if (i.match(/^extends?\b/))
83
- return n.restOfLine = "string", "keyword";
84
- }
85
- function A(i, n) {
86
- if (i.match(/^append\b/))
87
- return n.restOfLine = "variable", "keyword";
88
- }
89
- function y(i, n) {
90
- if (i.match(/^prepend\b/))
91
- return n.restOfLine = "variable", "keyword";
92
- }
93
- function L(i, n) {
94
- if (i.match(/^block\b *(?:(prepend|append)\b)?/))
95
- return n.restOfLine = "variable", "keyword";
96
- }
97
- function w(i, n) {
98
- if (i.match(/^include\b/))
99
- return n.restOfLine = "string", "keyword";
100
- }
101
- function N(i, n) {
102
- if (i.match(/^include:([a-zA-Z0-9\-]+)/, !1) && i.match("include"))
103
- return n.isIncludeFiltered = !0, "keyword";
104
- }
105
- function x(i, n) {
106
- if (n.isIncludeFiltered) {
107
- var t = l(i, n);
108
- return n.isIncludeFiltered = !1, n.restOfLine = "string", t;
109
- }
110
- }
111
- function T(i, n) {
112
- if (i.match(/^mixin\b/))
113
- return n.javaScriptLine = !0, "keyword";
114
- }
115
- function I(i, n) {
116
- if (i.match(/^\+([-\w]+)/))
117
- return i.match(/^\( *[-\w]+ *=/, !1) || (n.javaScriptArguments = !0, n.javaScriptArgumentsDepth = 0), "variable";
118
- if (i.match("+#{", !1))
119
- return i.next(), n.mixinCallAfter = !0, o(i, n);
120
- }
121
- function O(i, n) {
122
- if (n.mixinCallAfter)
123
- return n.mixinCallAfter = !1, i.match(/^\( *[-\w]+ *=/, !1) || (n.javaScriptArguments = !0, n.javaScriptArgumentsDepth = 0), !0;
124
- }
125
- function C(i, n) {
126
- if (i.match(/^(if|unless|else if|else)\b/))
127
- return n.javaScriptLine = !0, "keyword";
128
- }
129
- function E(i, n) {
130
- if (i.match(/^(- *)?(each|for)\b/))
131
- return n.isEach = !0, "keyword";
132
- }
133
- function D(i, n) {
134
- if (n.isEach) {
135
- if (i.match(/^ in\b/))
136
- return n.javaScriptLine = !0, n.isEach = !1, "keyword";
137
- if (i.sol() || i.eol())
138
- n.isEach = !1;
139
- else if (i.next()) {
140
- for (; !i.match(/^ in\b/, !1) && i.next(); )
141
- ;
142
- return "variable";
143
- }
144
- }
145
- }
146
- function F(i, n) {
147
- if (i.match(/^while\b/))
148
- return n.javaScriptLine = !0, "keyword";
149
- }
150
- function m(i, n) {
151
- var t;
152
- if (t = i.match(/^(\w(?:[-:\w]*\w)?)\/?/))
153
- return n.lastTag = t[1].toLowerCase(), "tag";
154
- }
155
- function l(i, n) {
156
- if (i.match(/^:([\w\-]+)/))
157
- return c(i, n), "atom";
158
- }
159
- function V(i, n) {
160
- if (i.match(/^(!?=|-)/))
161
- return n.javaScriptLine = !0, "punctuation";
162
- }
163
- function U(i) {
164
- if (i.match(/^#([\w-]+)/))
165
- return "builtin";
166
- }
167
- function z(i) {
168
- if (i.match(/^\.([\w-]+)/))
169
- return "className";
170
- }
171
- function B(i, n) {
172
- if (i.peek() == "(")
173
- return i.next(), n.isAttrs = !0, n.attrsNest = [], n.inAttributeName = !0, n.attrValue = "", n.attributeIsType = !1, "punctuation";
174
- }
175
- function a(i, n) {
176
- if (n.isAttrs) {
177
- if (f[i.peek()] && n.attrsNest.push(f[i.peek()]), n.attrsNest[n.attrsNest.length - 1] === i.peek())
178
- n.attrsNest.pop();
179
- else if (i.eat(")"))
180
- return n.isAttrs = !1, "punctuation";
181
- if (n.inAttributeName && i.match(/^[^=,\)!]+/))
182
- return (i.peek() === "=" || i.peek() === "!") && (n.inAttributeName = !1, n.jsState = e.startState(2), n.lastTag === "script" && i.current().trim().toLowerCase() === "type" ? n.attributeIsType = !0 : n.attributeIsType = !1), "attribute";
183
- var t = e.token(i, n.jsState);
184
- if (n.attrsNest.length === 0 && (t === "string" || t === "variable" || t === "keyword"))
185
- try {
186
- return Function("", "var x " + n.attrValue.replace(/,\s*$/, "").replace(/^!/, "")), n.inAttributeName = !0, n.attrValue = "", i.backUp(i.current().length), a(i, n);
187
- } catch {
188
- }
189
- return n.attrValue += i.current(), t || !0;
190
- }
191
- }
192
- function M(i, n) {
193
- if (i.match(/^&attributes\b/))
194
- return n.javaScriptArguments = !0, n.javaScriptArgumentsDepth = 0, "keyword";
195
- }
196
- function R(i) {
197
- if (i.sol() && i.eatSpace())
198
- return "indent";
199
- }
200
- function Z(i, n) {
201
- if (i.match(/^ *\/\/(-)?([^\n]*)/))
202
- return n.indentOf = i.indentation(), n.indentToken = "comment", "comment";
203
- }
204
- function $(i) {
205
- if (i.match(/^: */))
206
- return "colon";
207
- }
208
- function q(i, n) {
209
- if (i.match(/^(?:\| ?| )([^\n]+)/))
210
- return "string";
211
- if (i.match(/^(<[^\n]*)/, !1))
212
- return c(i, n), i.skipToEnd(), n.indentToken;
213
- }
214
- function G(i, n) {
215
- if (i.eat("."))
216
- return c(i, n), "dot";
217
- }
218
- function H(i) {
219
- return i.next(), null;
220
- }
221
- function c(i, n) {
222
- n.indentOf = i.indentation(), n.indentToken = "string";
223
- }
224
- function J(i, n) {
225
- if (i.sol() && (n.restOfLine = ""), n.restOfLine) {
226
- i.skipToEnd();
227
- var t = n.restOfLine;
228
- return n.restOfLine = "", t;
229
- }
230
- }
231
- function K(i) {
232
- return new u(i);
233
- }
234
- function P(i) {
235
- return i.copy();
236
- }
237
- function Q(i, n) {
238
- var t = J(i, n) || v(i, n) || x(i, n) || D(i, n) || a(i, n) || h(i, n) || d(i, n) || O(i, n) || s(i) || S(i) || o(i, n) || g(i, n) || j(i, n) || k(i) || b(i, n) || A(i, n) || y(i, n) || L(i, n) || w(i, n) || N(i, n) || T(i, n) || I(i, n) || C(i, n) || E(i, n) || F(i, n) || m(i, n) || l(i, n) || V(i, n) || U(i) || z(i) || B(i, n) || M(i, n) || R(i) || q(i, n) || Z(i, n) || $(i) || G(i, n) || H(i);
239
- return t === !0 ? null : t;
240
- }
241
- const X = {
242
- startState: K,
243
- copyState: P,
244
- token: Q
245
- };
246
- export {
247
- X as pug
248
- };
@@ -1,45 +0,0 @@
1
- var c = {}, s = /({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;
2
- function a(e, n) {
3
- for (var i = n.split(" "), o = 0; o < i.length; o++)
4
- c[i[o]] = e;
5
- }
6
- a("keyword", "class define site node include import inherits");
7
- a("keyword", "case if else in and elsif default or");
8
- a("atom", "false true running present absent file directory undef");
9
- a("builtin", "action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");
10
- function u(e, n) {
11
- for (var i, o, t = !1; !e.eol() && (i = e.next()) != n.pending; ) {
12
- if (i === "$" && o != "\\" && n.pending == '"') {
13
- t = !0;
14
- break;
15
- }
16
- o = i;
17
- }
18
- return t && e.backUp(1), i == n.pending ? n.continueString = !1 : n.continueString = !0, "string";
19
- }
20
- function l(e, n) {
21
- var i = e.match(/[\w]+/, !1), o = e.match(/(\s+)?\w+\s+=>.*/, !1), t = e.match(/(\s+)?[\w:_]+(\s+)?{/, !1), f = e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/, !1), r = e.next();
22
- if (r === "$")
23
- return e.match(s) ? n.continueString ? "variableName.special" : "variable" : "error";
24
- if (n.continueString)
25
- return e.backUp(1), u(e, n);
26
- if (n.inDefinition) {
27
- if (e.match(/(\s+)?[\w:_]+(\s+)?/))
28
- return "def";
29
- e.match(/\s+{/), n.inDefinition = !1;
30
- }
31
- return n.inInclude ? (e.match(/(\s+)?\S+(\s+)?/), n.inInclude = !1, "def") : e.match(/(\s+)?\w+\(/) ? (e.backUp(1), "def") : o ? (e.match(/(\s+)?\w+/), "tag") : i && c.hasOwnProperty(i) ? (e.backUp(1), e.match(/[\w]+/), e.match(/\s+\S+\s+{/, !1) && (n.inDefinition = !0), i == "include" && (n.inInclude = !0), c[i]) : /(^|\s+)[A-Z][\w:_]+/.test(i) ? (e.backUp(1), e.match(/(^|\s+)[A-Z][\w:_]+/), "def") : t ? (e.match(/(\s+)?[\w:_]+/), "def") : f ? (e.match(/(\s+)?[@]{1,2}/), "atom") : r == "#" ? (e.skipToEnd(), "comment") : r == "'" || r == '"' ? (n.pending = r, u(e, n)) : r == "{" || r == "}" ? "bracket" : r == "/" ? (e.match(/^[^\/]*\//), "string.special") : r.match(/[0-9]/) ? (e.eatWhile(/[0-9]+/), "number") : r == "=" ? (e.peek() == ">" && e.next(), "operator") : (e.eatWhile(/[\w-]/), null);
32
- }
33
- const p = {
34
- name: "puppet",
35
- startState: function() {
36
- var e = {};
37
- return e.inDefinition = !1, e.inInclude = !1, e.continueString = !1, e.pending = !1, e;
38
- },
39
- token: function(e, n) {
40
- return e.eatSpace() ? null : l(e, n);
41
- }
42
- };
43
- export {
44
- p as puppet
45
- };