@threadlabs/looma 0.18.6 → 0.19.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 (215) hide show
  1. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +34 -3
  2. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +55 -0
  3. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +7 -2
  4. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +29 -0
  5. package/dist/index.js +1 -1
  6. package/editor/chunks/extensions.js +24 -3
  7. package/editor/extensions/preset.d.ts +2 -0
  8. package/editor/extensions/table-commands.d.ts +1 -1
  9. package/editor/table-overlay.d.ts +8 -3
  10. package/package.json +2 -1
  11. package/styles/ui-editor-table-overlay.css +30 -0
  12. package/styles/ui-editor-table-toolbar.css +7 -2
  13. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  14. package/vanilla/UiEditorTableOverlay.js +9 -3
  15. package/vue/UiEditorTableOverlay.d.ts +8 -0
  16. package/vue/UiEditorTableOverlay.vue +45 -2
  17. package/vue/UiEditorTableToolbar.vue +7 -2
  18. package/vue/chunks/1c.js +106 -0
  19. package/vue/chunks/UiEditorTableOverlay.js +14 -4
  20. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  21. package/vue/chunks/abnf.js +61 -0
  22. package/vue/chunks/accesslog.js +72 -0
  23. package/vue/chunks/actionscript.js +139 -0
  24. package/vue/chunks/ada.js +183 -0
  25. package/vue/chunks/angelscript.js +141 -0
  26. package/vue/chunks/apache.js +88 -0
  27. package/vue/chunks/applescript.js +99 -0
  28. package/vue/chunks/arcade.js +405 -0
  29. package/vue/chunks/arduino.js +871 -0
  30. package/vue/chunks/armasm.js +65 -0
  31. package/vue/chunks/asciidoc.js +181 -0
  32. package/vue/chunks/aspectj.js +202 -0
  33. package/vue/chunks/autohotkey.js +54 -0
  34. package/vue/chunks/autoit.js +132 -0
  35. package/vue/chunks/avrasm.js +46 -0
  36. package/vue/chunks/awk.js +58 -0
  37. package/vue/chunks/axapta.js +167 -0
  38. package/vue/chunks/bash.js +358 -0
  39. package/vue/chunks/basic.js +221 -0
  40. package/vue/chunks/bnf.js +27 -0
  41. package/vue/chunks/brainfuck.js +40 -0
  42. package/vue/chunks/c.js +265 -0
  43. package/vue/chunks/cal.js +136 -0
  44. package/vue/chunks/capnproto.js +86 -0
  45. package/vue/chunks/ceylon.js +125 -0
  46. package/vue/chunks/clean.js +54 -0
  47. package/vue/chunks/clojure-repl.js +17 -0
  48. package/vue/chunks/clojure.js +133 -0
  49. package/vue/chunks/cmake.js +23 -0
  50. package/vue/chunks/coffeescript.js +291 -0
  51. package/vue/chunks/coq.js +436 -0
  52. package/vue/chunks/cos.js +77 -0
  53. package/vue/chunks/cpp.js +492 -0
  54. package/vue/chunks/crmsh.js +80 -0
  55. package/vue/chunks/crystal.js +260 -0
  56. package/vue/chunks/csharp.js +376 -0
  57. package/vue/chunks/csp.js +52 -0
  58. package/vue/chunks/css.js +890 -0
  59. package/vue/chunks/d.js +184 -0
  60. package/vue/chunks/dart.js +226 -0
  61. package/vue/chunks/delphi.js +227 -0
  62. package/vue/chunks/diff.js +40 -0
  63. package/vue/chunks/django.js +43 -0
  64. package/vue/chunks/dns.js +66 -0
  65. package/vue/chunks/dockerfile.js +35 -0
  66. package/vue/chunks/dos.js +147 -0
  67. package/vue/chunks/dsconfig.js +55 -0
  68. package/vue/chunks/dts.js +119 -0
  69. package/vue/chunks/dust.js +33 -0
  70. package/vue/chunks/ebnf.js +40 -0
  71. package/vue/chunks/elixir.js +241 -0
  72. package/vue/chunks/elm.js +103 -0
  73. package/vue/chunks/erb.js +17 -0
  74. package/vue/chunks/erlang-repl.js +41 -0
  75. package/vue/chunks/erlang.js +236 -0
  76. package/vue/chunks/excel.js +562 -0
  77. package/vue/chunks/fix.js +30 -0
  78. package/vue/chunks/flix.js +60 -0
  79. package/vue/chunks/fortran.js +543 -0
  80. package/vue/chunks/fsharp.js +440 -0
  81. package/vue/chunks/gams.js +134 -0
  82. package/vue/chunks/gauss.js +167 -0
  83. package/vue/chunks/gcode.js +131 -0
  84. package/vue/chunks/gherkin.js +41 -0
  85. package/vue/chunks/glsl.js +25 -0
  86. package/vue/chunks/gml.js +3119 -0
  87. package/vue/chunks/go.js +140 -0
  88. package/vue/chunks/golo.js +72 -0
  89. package/vue/chunks/gradle.js +181 -0
  90. package/vue/chunks/graphql.js +68 -0
  91. package/vue/chunks/groovy.js +159 -0
  92. package/vue/chunks/haml.js +96 -0
  93. package/vue/chunks/handlebars.js +191 -0
  94. package/vue/chunks/haskell.js +149 -0
  95. package/vue/chunks/haxe.js +142 -0
  96. package/vue/chunks/hsp.js +45 -0
  97. package/vue/chunks/http.js +77 -0
  98. package/vue/chunks/hy.js +92 -0
  99. package/vue/chunks/inform7.js +45 -0
  100. package/vue/chunks/ini.js +94 -0
  101. package/vue/chunks/irpf90.js +52 -0
  102. package/vue/chunks/isbl.js +112 -0
  103. package/vue/chunks/java.js +237 -0
  104. package/vue/chunks/javascript.js +570 -0
  105. package/vue/chunks/jboss-cli.js +46 -0
  106. package/vue/chunks/json.js +45 -0
  107. package/vue/chunks/julia-repl.js +18 -0
  108. package/vue/chunks/julia.js +353 -0
  109. package/vue/chunks/kotlin.js +216 -0
  110. package/vue/chunks/lasso.js +127 -0
  111. package/vue/chunks/latex.js +206 -0
  112. package/vue/chunks/ldif.js +25 -0
  113. package/vue/chunks/leaf.js +72 -0
  114. package/vue/chunks/less.js +953 -0
  115. package/vue/chunks/lisp.js +119 -0
  116. package/vue/chunks/livecodeserver.js +86 -0
  117. package/vue/chunks/livescript.js +309 -0
  118. package/vue/chunks/llvm.js +77 -0
  119. package/vue/chunks/lsl.js +55 -0
  120. package/vue/chunks/lua.js +49 -0
  121. package/vue/chunks/makefile.js +62 -0
  122. package/vue/chunks/markdown.js +194 -0
  123. package/vue/chunks/mathematica.js +7317 -0
  124. package/vue/chunks/matlab.js +70 -0
  125. package/vue/chunks/maxima.js +38 -0
  126. package/vue/chunks/mel.js +24 -0
  127. package/vue/chunks/mercury.js +62 -0
  128. package/vue/chunks/mipsasm.js +53 -0
  129. package/vue/chunks/mizar.js +10 -0
  130. package/vue/chunks/mojolicious.js +27 -0
  131. package/vue/chunks/monkey.js +158 -0
  132. package/vue/chunks/moonscript.js +102 -0
  133. package/vue/chunks/n1ql.js +346 -0
  134. package/vue/chunks/nestedtext.js +66 -0
  135. package/vue/chunks/nginx.js +127 -0
  136. package/vue/chunks/nim.js +174 -0
  137. package/vue/chunks/nix.js +334 -0
  138. package/vue/chunks/node-repl.js +20 -0
  139. package/vue/chunks/nsis.js +515 -0
  140. package/vue/chunks/objectivec.js +235 -0
  141. package/vue/chunks/ocaml.js +52 -0
  142. package/vue/chunks/openscad.js +66 -0
  143. package/vue/chunks/oxygene.js +58 -0
  144. package/vue/chunks/parser3.js +40 -0
  145. package/vue/chunks/perl.js +454 -0
  146. package/vue/chunks/pf.js +30 -0
  147. package/vue/chunks/pgsql.js +196 -0
  148. package/vue/chunks/php-template.js +43 -0
  149. package/vue/chunks/php.js +527 -0
  150. package/vue/chunks/plaintext.js +10 -0
  151. package/vue/chunks/pony.js +60 -0
  152. package/vue/chunks/powershell.js +208 -0
  153. package/vue/chunks/processing.js +407 -0
  154. package/vue/chunks/profile.js +38 -0
  155. package/vue/chunks/prolog.js +62 -0
  156. package/vue/chunks/properties.js +45 -0
  157. package/vue/chunks/protobuf.js +63 -0
  158. package/vue/chunks/puppet.js +87 -0
  159. package/vue/chunks/purebasic.js +42 -0
  160. package/vue/chunks/python-repl.js +19 -0
  161. package/vue/chunks/python.js +357 -0
  162. package/vue/chunks/q.js +21 -0
  163. package/vue/chunks/qml.js +134 -0
  164. package/vue/chunks/r.js +145 -0
  165. package/vue/chunks/reasonml.js +134 -0
  166. package/vue/chunks/rib.js +16 -0
  167. package/vue/chunks/roboconf.js +54 -0
  168. package/vue/chunks/routeros.js +109 -0
  169. package/vue/chunks/rsl.js +138 -0
  170. package/vue/chunks/ruby.js +322 -0
  171. package/vue/chunks/ruleslanguage.js +26 -0
  172. package/vue/chunks/rust.js +296 -0
  173. package/vue/chunks/sas.js +533 -0
  174. package/vue/chunks/scala.js +173 -0
  175. package/vue/chunks/scheme.js +118 -0
  176. package/vue/chunks/scilab.js +45 -0
  177. package/vue/chunks/scss.js +900 -0
  178. package/vue/chunks/shell.js +18 -0
  179. package/vue/chunks/smali.js +113 -0
  180. package/vue/chunks/smalltalk.js +59 -0
  181. package/vue/chunks/sml.js +49 -0
  182. package/vue/chunks/sqf.js +2599 -0
  183. package/vue/chunks/sql.js +624 -0
  184. package/vue/chunks/stan.js +471 -0
  185. package/vue/chunks/stata.js +33 -0
  186. package/vue/chunks/step21.js +53 -0
  187. package/vue/chunks/stylus.js +925 -0
  188. package/vue/chunks/subunit.js +34 -0
  189. package/vue/chunks/swift.js +699 -0
  190. package/vue/chunks/taggerscript.js +37 -0
  191. package/vue/chunks/tap.js +30 -0
  192. package/vue/chunks/tcl.js +165 -0
  193. package/vue/chunks/thrift.js +65 -0
  194. package/vue/chunks/tp.js +155 -0
  195. package/vue/chunks/twig.js +232 -0
  196. package/vue/chunks/typescript.js +672 -0
  197. package/vue/chunks/vala.js +39 -0
  198. package/vue/chunks/vbnet.js +86 -0
  199. package/vue/chunks/vbscript-html.js +14 -0
  200. package/vue/chunks/vbscript.js +200 -0
  201. package/vue/chunks/verilog.js +534 -0
  202. package/vue/chunks/vhdl.js +190 -0
  203. package/vue/chunks/vim.js +54 -0
  204. package/vue/chunks/wasm.js +111 -0
  205. package/vue/chunks/wren.js +229 -0
  206. package/vue/chunks/x86asm.js +64 -0
  207. package/vue/chunks/xl.js +192 -0
  208. package/vue/chunks/xml.js +175 -0
  209. package/vue/chunks/xquery.js +303 -0
  210. package/vue/chunks/yaml.js +159 -0
  211. package/vue/chunks/zephir.js +74 -0
  212. package/vue/components.css +119 -85
  213. package/vue/editor/LoomaEditor.d.ts +7 -7
  214. package/vue/editor/code-language-catalog.d.ts +196 -0
  215. package/vue/editor/index.js +290 -20
@@ -0,0 +1,58 @@
1
+ //#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/awk.js
2
+ /** @type LanguageFn */
3
+ function awk(hljs) {
4
+ const VARIABLE = {
5
+ className: "variable",
6
+ variants: [{ begin: /\$[\w\d#@][\w\d_]*/ }, { begin: /\$\{(.*?)\}/ }]
7
+ };
8
+ const KEYWORDS = "BEGIN END if else while do for in break continue delete next nextfile function func exit|10";
9
+ const STRING = {
10
+ className: "string",
11
+ contains: [hljs.BACKSLASH_ESCAPE],
12
+ variants: [
13
+ {
14
+ begin: /(u|b)?r?'''/,
15
+ end: /'''/,
16
+ relevance: 10
17
+ },
18
+ {
19
+ begin: /(u|b)?r?"""/,
20
+ end: /"""/,
21
+ relevance: 10
22
+ },
23
+ {
24
+ begin: /(u|r|ur)'/,
25
+ end: /'/,
26
+ relevance: 10
27
+ },
28
+ {
29
+ begin: /(u|r|ur)"/,
30
+ end: /"/,
31
+ relevance: 10
32
+ },
33
+ {
34
+ begin: /(b|br)'/,
35
+ end: /'/
36
+ },
37
+ {
38
+ begin: /(b|br)"/,
39
+ end: /"/
40
+ },
41
+ hljs.APOS_STRING_MODE,
42
+ hljs.QUOTE_STRING_MODE
43
+ ]
44
+ };
45
+ return {
46
+ name: "Awk",
47
+ keywords: { keyword: KEYWORDS },
48
+ contains: [
49
+ VARIABLE,
50
+ STRING,
51
+ hljs.REGEXP_MODE,
52
+ hljs.HASH_COMMENT_MODE,
53
+ hljs.NUMBER_MODE
54
+ ]
55
+ };
56
+ }
57
+ //#endregion
58
+ export { awk as default };
@@ -0,0 +1,167 @@
1
+ //#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/axapta.js
2
+ /** @type LanguageFn */
3
+ function axapta(hljs) {
4
+ const IDENT_RE = hljs.UNDERSCORE_IDENT_RE;
5
+ const KEYWORDS = {
6
+ keyword: [
7
+ "abstract",
8
+ "as",
9
+ "asc",
10
+ "avg",
11
+ "break",
12
+ "breakpoint",
13
+ "by",
14
+ "byref",
15
+ "case",
16
+ "catch",
17
+ "changecompany",
18
+ "class",
19
+ "client",
20
+ "client",
21
+ "common",
22
+ "const",
23
+ "continue",
24
+ "count",
25
+ "crosscompany",
26
+ "delegate",
27
+ "delete_from",
28
+ "desc",
29
+ "display",
30
+ "div",
31
+ "do",
32
+ "edit",
33
+ "else",
34
+ "eventhandler",
35
+ "exists",
36
+ "extends",
37
+ "final",
38
+ "finally",
39
+ "firstfast",
40
+ "firstonly",
41
+ "firstonly1",
42
+ "firstonly10",
43
+ "firstonly100",
44
+ "firstonly1000",
45
+ "flush",
46
+ "for",
47
+ "forceliterals",
48
+ "forcenestedloop",
49
+ "forceplaceholders",
50
+ "forceselectorder",
51
+ "forupdate",
52
+ "from",
53
+ "generateonly",
54
+ "group",
55
+ "hint",
56
+ "if",
57
+ "implements",
58
+ "in",
59
+ "index",
60
+ "insert_recordset",
61
+ "interface",
62
+ "internal",
63
+ "is",
64
+ "join",
65
+ "like",
66
+ "maxof",
67
+ "minof",
68
+ "mod",
69
+ "namespace",
70
+ "new",
71
+ "next",
72
+ "nofetch",
73
+ "notexists",
74
+ "optimisticlock",
75
+ "order",
76
+ "outer",
77
+ "pessimisticlock",
78
+ "print",
79
+ "private",
80
+ "protected",
81
+ "public",
82
+ "readonly",
83
+ "repeatableread",
84
+ "retry",
85
+ "return",
86
+ "reverse",
87
+ "select",
88
+ "server",
89
+ "setting",
90
+ "static",
91
+ "sum",
92
+ "super",
93
+ "switch",
94
+ "this",
95
+ "throw",
96
+ "try",
97
+ "ttsabort",
98
+ "ttsbegin",
99
+ "ttscommit",
100
+ "unchecked",
101
+ "update_recordset",
102
+ "using",
103
+ "validtimestate",
104
+ "void",
105
+ "where",
106
+ "while"
107
+ ],
108
+ built_in: [
109
+ "anytype",
110
+ "boolean",
111
+ "byte",
112
+ "char",
113
+ "container",
114
+ "date",
115
+ "double",
116
+ "enum",
117
+ "guid",
118
+ "int",
119
+ "int64",
120
+ "long",
121
+ "real",
122
+ "short",
123
+ "str",
124
+ "utcdatetime",
125
+ "var"
126
+ ],
127
+ literal: [
128
+ "default",
129
+ "false",
130
+ "null",
131
+ "true"
132
+ ]
133
+ };
134
+ const CLASS_DEFINITION = {
135
+ variants: [{ match: [
136
+ /(class|interface)\s+/,
137
+ IDENT_RE,
138
+ /\s+(extends|implements)\s+/,
139
+ IDENT_RE
140
+ ] }, { match: [/class\s+/, IDENT_RE] }],
141
+ scope: {
142
+ 2: "title.class",
143
+ 4: "title.class.inherited"
144
+ },
145
+ keywords: KEYWORDS
146
+ };
147
+ return {
148
+ name: "X++",
149
+ aliases: ["x++"],
150
+ keywords: KEYWORDS,
151
+ contains: [
152
+ hljs.C_LINE_COMMENT_MODE,
153
+ hljs.C_BLOCK_COMMENT_MODE,
154
+ hljs.APOS_STRING_MODE,
155
+ hljs.QUOTE_STRING_MODE,
156
+ hljs.C_NUMBER_MODE,
157
+ {
158
+ className: "meta",
159
+ begin: "#",
160
+ end: "$"
161
+ },
162
+ CLASS_DEFINITION
163
+ ]
164
+ };
165
+ }
166
+ //#endregion
167
+ export { axapta as default };
@@ -0,0 +1,358 @@
1
+ //#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/bash.js
2
+ /** @type LanguageFn */
3
+ function bash(hljs) {
4
+ const regex = hljs.regex;
5
+ const VAR = {};
6
+ const BRACED_VAR = {
7
+ begin: /\$\{/,
8
+ end: /\}/,
9
+ contains: ["self", {
10
+ begin: /:-/,
11
+ contains: [VAR]
12
+ }]
13
+ };
14
+ Object.assign(VAR, {
15
+ className: "variable",
16
+ variants: [{ begin: regex.concat(/\$[\w\d#@][\w\d_]*/, `(?![\\w\\d])(?![$])`) }, BRACED_VAR]
17
+ });
18
+ const SUBST = {
19
+ className: "subst",
20
+ begin: /\$\(/,
21
+ end: /\)/,
22
+ contains: [hljs.BACKSLASH_ESCAPE]
23
+ };
24
+ const COMMENT = hljs.inherit(hljs.COMMENT(), {
25
+ match: [/(^|\s)/, /#.*$/],
26
+ scope: { 2: "comment" }
27
+ });
28
+ const HERE_DOC = {
29
+ begin: /<<-?\s*(?=\w+)/,
30
+ starts: { contains: [hljs.END_SAME_AS_BEGIN({
31
+ begin: /(\w+)/,
32
+ end: /(\w+)/,
33
+ className: "string"
34
+ })] }
35
+ };
36
+ const QUOTE_STRING = {
37
+ className: "string",
38
+ begin: /"/,
39
+ end: /"/,
40
+ contains: [
41
+ hljs.BACKSLASH_ESCAPE,
42
+ VAR,
43
+ SUBST
44
+ ]
45
+ };
46
+ SUBST.contains.push(QUOTE_STRING);
47
+ const ESCAPED_QUOTE = { match: /\\"/ };
48
+ const APOS_STRING = {
49
+ className: "string",
50
+ begin: /'/,
51
+ end: /'/
52
+ };
53
+ const ESCAPED_APOS = { match: /\\'/ };
54
+ const ARITHMETIC = {
55
+ begin: /\$?\(\(/,
56
+ end: /\)\)/,
57
+ contains: [
58
+ {
59
+ begin: /\d+#[0-9a-f]+/,
60
+ className: "number"
61
+ },
62
+ hljs.NUMBER_MODE,
63
+ VAR
64
+ ]
65
+ };
66
+ const KNOWN_SHEBANG = hljs.SHEBANG({
67
+ binary: `(${[
68
+ "fish",
69
+ "bash",
70
+ "zsh",
71
+ "sh",
72
+ "csh",
73
+ "ksh",
74
+ "tcsh",
75
+ "dash",
76
+ "scsh"
77
+ ].join("|")})`,
78
+ relevance: 10
79
+ });
80
+ const FUNCTION = {
81
+ className: "function",
82
+ begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
83
+ returnBegin: true,
84
+ contains: [hljs.inherit(hljs.TITLE_MODE, { begin: /\w[\w\d_]*/ })],
85
+ relevance: 0
86
+ };
87
+ const KEYWORDS = [
88
+ "if",
89
+ "then",
90
+ "else",
91
+ "elif",
92
+ "fi",
93
+ "time",
94
+ "for",
95
+ "while",
96
+ "until",
97
+ "in",
98
+ "do",
99
+ "done",
100
+ "case",
101
+ "esac",
102
+ "coproc",
103
+ "function",
104
+ "select"
105
+ ];
106
+ const LITERALS = ["true", "false"];
107
+ const PATH_MODE = { match: /(\/[a-z._-]+)+/ };
108
+ const SHELL_BUILT_INS = [
109
+ "break",
110
+ "cd",
111
+ "continue",
112
+ "eval",
113
+ "exec",
114
+ "exit",
115
+ "export",
116
+ "getopts",
117
+ "hash",
118
+ "pwd",
119
+ "readonly",
120
+ "return",
121
+ "shift",
122
+ "test",
123
+ "times",
124
+ "trap",
125
+ "umask",
126
+ "unset"
127
+ ];
128
+ const BASH_BUILT_INS = [
129
+ "alias",
130
+ "bind",
131
+ "builtin",
132
+ "caller",
133
+ "command",
134
+ "declare",
135
+ "echo",
136
+ "enable",
137
+ "help",
138
+ "let",
139
+ "local",
140
+ "logout",
141
+ "mapfile",
142
+ "printf",
143
+ "read",
144
+ "readarray",
145
+ "source",
146
+ "sudo",
147
+ "type",
148
+ "typeset",
149
+ "ulimit",
150
+ "unalias"
151
+ ];
152
+ const ZSH_BUILT_INS = [
153
+ "autoload",
154
+ "bg",
155
+ "bindkey",
156
+ "bye",
157
+ "cap",
158
+ "chdir",
159
+ "clone",
160
+ "comparguments",
161
+ "compcall",
162
+ "compctl",
163
+ "compdescribe",
164
+ "compfiles",
165
+ "compgroups",
166
+ "compquote",
167
+ "comptags",
168
+ "comptry",
169
+ "compvalues",
170
+ "dirs",
171
+ "disable",
172
+ "disown",
173
+ "echotc",
174
+ "echoti",
175
+ "emulate",
176
+ "fc",
177
+ "fg",
178
+ "float",
179
+ "functions",
180
+ "getcap",
181
+ "getln",
182
+ "history",
183
+ "integer",
184
+ "jobs",
185
+ "kill",
186
+ "limit",
187
+ "log",
188
+ "noglob",
189
+ "popd",
190
+ "print",
191
+ "pushd",
192
+ "pushln",
193
+ "rehash",
194
+ "sched",
195
+ "setcap",
196
+ "setopt",
197
+ "stat",
198
+ "suspend",
199
+ "ttyctl",
200
+ "unfunction",
201
+ "unhash",
202
+ "unlimit",
203
+ "unsetopt",
204
+ "vared",
205
+ "wait",
206
+ "whence",
207
+ "where",
208
+ "which",
209
+ "zcompile",
210
+ "zformat",
211
+ "zftp",
212
+ "zle",
213
+ "zmodload",
214
+ "zparseopts",
215
+ "zprof",
216
+ "zpty",
217
+ "zregexparse",
218
+ "zsocket",
219
+ "zstyle",
220
+ "ztcp"
221
+ ];
222
+ const GNU_CORE_UTILS = [
223
+ "chcon",
224
+ "chgrp",
225
+ "chown",
226
+ "chmod",
227
+ "cp",
228
+ "dd",
229
+ "df",
230
+ "dir",
231
+ "dircolors",
232
+ "ln",
233
+ "ls",
234
+ "mkdir",
235
+ "mkfifo",
236
+ "mknod",
237
+ "mktemp",
238
+ "mv",
239
+ "realpath",
240
+ "rm",
241
+ "rmdir",
242
+ "shred",
243
+ "sync",
244
+ "touch",
245
+ "truncate",
246
+ "vdir",
247
+ "b2sum",
248
+ "base32",
249
+ "base64",
250
+ "cat",
251
+ "cksum",
252
+ "comm",
253
+ "csplit",
254
+ "cut",
255
+ "expand",
256
+ "fmt",
257
+ "fold",
258
+ "head",
259
+ "join",
260
+ "md5sum",
261
+ "nl",
262
+ "numfmt",
263
+ "od",
264
+ "paste",
265
+ "ptx",
266
+ "pr",
267
+ "sha1sum",
268
+ "sha224sum",
269
+ "sha256sum",
270
+ "sha384sum",
271
+ "sha512sum",
272
+ "shuf",
273
+ "sort",
274
+ "split",
275
+ "sum",
276
+ "tac",
277
+ "tail",
278
+ "tr",
279
+ "tsort",
280
+ "unexpand",
281
+ "uniq",
282
+ "wc",
283
+ "arch",
284
+ "basename",
285
+ "chroot",
286
+ "date",
287
+ "dirname",
288
+ "du",
289
+ "echo",
290
+ "env",
291
+ "expr",
292
+ "factor",
293
+ "groups",
294
+ "hostid",
295
+ "id",
296
+ "link",
297
+ "logname",
298
+ "nice",
299
+ "nohup",
300
+ "nproc",
301
+ "pathchk",
302
+ "pinky",
303
+ "printenv",
304
+ "printf",
305
+ "pwd",
306
+ "readlink",
307
+ "runcon",
308
+ "seq",
309
+ "sleep",
310
+ "stat",
311
+ "stdbuf",
312
+ "stty",
313
+ "tee",
314
+ "test",
315
+ "timeout",
316
+ "tty",
317
+ "uname",
318
+ "unlink",
319
+ "uptime",
320
+ "users",
321
+ "who",
322
+ "whoami",
323
+ "yes"
324
+ ];
325
+ return {
326
+ name: "Bash",
327
+ aliases: ["sh", "zsh"],
328
+ keywords: {
329
+ $pattern: /\b[a-z][a-z0-9._-]+\b/,
330
+ keyword: KEYWORDS,
331
+ literal: LITERALS,
332
+ built_in: [
333
+ ...SHELL_BUILT_INS,
334
+ ...BASH_BUILT_INS,
335
+ "set",
336
+ "shopt",
337
+ ...ZSH_BUILT_INS,
338
+ ...GNU_CORE_UTILS
339
+ ]
340
+ },
341
+ contains: [
342
+ KNOWN_SHEBANG,
343
+ hljs.SHEBANG(),
344
+ FUNCTION,
345
+ ARITHMETIC,
346
+ COMMENT,
347
+ HERE_DOC,
348
+ PATH_MODE,
349
+ QUOTE_STRING,
350
+ ESCAPED_QUOTE,
351
+ APOS_STRING,
352
+ ESCAPED_APOS,
353
+ VAR
354
+ ]
355
+ };
356
+ }
357
+ //#endregion
358
+ export { bash as default };