@vc-shell/framework 1.1.16 → 1.1.17

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 (176) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/core/composables/useDynamicProperties/index.ts +19 -0
  3. package/dist/core/composables/useDynamicProperties/index.d.ts +2 -0
  4. package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
  5. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +4 -4
  6. package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
  7. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  8. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
  9. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
  10. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
  11. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
  12. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
  13. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  14. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
  15. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  16. package/dist/tsconfig.tsbuildinfo +1 -1
  17. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
  18. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  19. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  20. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
  21. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  22. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
  23. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  24. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  25. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  26. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
  27. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
  28. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  29. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +2 -2
  30. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  31. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +6 -0
  32. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  33. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
  34. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  35. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
  36. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  37. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
  38. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  39. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
  40. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
  41. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  42. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
  43. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
  44. package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
  45. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  46. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  47. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +2 -0
  48. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  49. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  50. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  51. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  52. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
  53. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  54. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
  55. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  56. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  57. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  58. package/package.json +4 -4
  59. package/shared/modules/dynamic/components/fields/DynamicProperty.ts +11 -4
  60. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +13 -0
  61. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +43 -6
  62. package/dist/apl-B2DGVGxc.js +0 -76
  63. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  64. package/dist/asn1-jKiBa2Ya.js +0 -95
  65. package/dist/asterisk-DS281yxp.js +0 -271
  66. package/dist/brainfuck-C_p9pTT8.js +0 -34
  67. package/dist/clike-DGTaUp48.js +0 -620
  68. package/dist/clojure-CCKyeQKf.js +0 -800
  69. package/dist/cmake-CuaCgAKt.js +0 -28
  70. package/dist/cobol-BlTKFDRj.js +0 -72
  71. package/dist/coffeescript-BVCvwO8I.js +0 -179
  72. package/dist/commonlisp-D_kxz07b.js +0 -75
  73. package/dist/crystal-D309uH6_.js +0 -217
  74. package/dist/css-BkF-NPzE.js +0 -1553
  75. package/dist/cypher-BMq4Fwjl.js +0 -68
  76. package/dist/d-BZcgY6La.js +0 -127
  77. package/dist/diff-Cg9d_RX2.js +0 -18
  78. package/dist/dockerfile-DIy8NleC.js +0 -194
  79. package/dist/dtd-CtLokQ-U.js +0 -84
  80. package/dist/dylan-QYeExnWK.js +0 -234
  81. package/dist/ebnf-DUPDuY4r.js +0 -78
  82. package/dist/ecl-CiXN-g_D.js +0 -121
  83. package/dist/eiffel-yQhjl4T1.js +0 -110
  84. package/dist/elm-CNT9vbN0.js +0 -108
  85. package/dist/erlang-CFOYdy9e.js +0 -487
  86. package/dist/factor-DDOC7X6P.js +0 -65
  87. package/dist/fcl-CPC2WYrI.js +0 -103
  88. package/dist/forth-BmxRyE9S.js +0 -60
  89. package/dist/fortran-9bvPyrOW.js +0 -442
  90. package/dist/framework.js +0 -290
  91. package/dist/gas-cpmYfFX2.js +0 -183
  92. package/dist/gherkin-CJuwpceU.js +0 -34
  93. package/dist/groovy-DZeT_VM-.js +0 -146
  94. package/dist/haskell-Bvt3Qq1t.js +0 -375
  95. package/dist/haxe-70NVW1pR.js +0 -359
  96. package/dist/http-D9LttvKF.js +0 -44
  97. package/dist/idl-B6TRFYjl.js +0 -947
  98. package/dist/index-BM57ACvV.js +0 -288
  99. package/dist/index-BNnWb4d2.js +0 -58
  100. package/dist/index-BX16sgSt.js +0 -299
  101. package/dist/index-BcycCrhu.js +0 -75
  102. package/dist/index-BsgNPf1t.js +0 -268
  103. package/dist/index-Bu2q0_3Y.js +0 -249
  104. package/dist/index-C29QNU9R.js +0 -341
  105. package/dist/index-C4hgh3UO.js +0 -71
  106. package/dist/index-CZUA_odG.js +0 -147409
  107. package/dist/index-DCpm6RA0.js +0 -134
  108. package/dist/index-DLq0u-Q_.js +0 -538
  109. package/dist/index-DMnyda0K.js +0 -93
  110. package/dist/index-DUFYvPbO.js +0 -156
  111. package/dist/index-DaUvPRtj.js +0 -611
  112. package/dist/index-DcBib1nM.js +0 -308
  113. package/dist/index-IcBXwZve.js +0 -137
  114. package/dist/index-bDzs_LWh.js +0 -98
  115. package/dist/index.css +0 -9
  116. package/dist/javascript-C2yteZeJ.js +0 -691
  117. package/dist/jinja2-DnB6dQmV.js +0 -154
  118. package/dist/julia-DpvXAuO6.js +0 -241
  119. package/dist/livescript-CanGTf8u.js +0 -272
  120. package/dist/lua-XplVlWi_.js +0 -217
  121. package/dist/mathematica-jaRHnSxC.js +0 -35
  122. package/dist/mbox-BctzC1hL.js +0 -76
  123. package/dist/mirc-CFBPAOaF.js +0 -72
  124. package/dist/mllike-BSnXJBGA.js +0 -272
  125. package/dist/modelica-vUgVs--1.js +0 -93
  126. package/dist/mscgen-Cpl0NYLN.js +0 -104
  127. package/dist/mumps-CQoS1kWX.js +0 -25
  128. package/dist/nginx-zDPm3Z74.js +0 -89
  129. package/dist/nsis-fePjrhq7.js +0 -62
  130. package/dist/ntriples-CsNjv2QF.js +0 -79
  131. package/dist/octave-C8PmmSRH.js +0 -143
  132. package/dist/oz-Ce8aN8oE.js +0 -151
  133. package/dist/pascal-De0D6mP7.js +0 -77
  134. package/dist/perl-B4bSCe1C.js +0 -915
  135. package/dist/pig-D24Z8EXi.js +0 -54
  136. package/dist/powershell-DkYVfTzP.js +0 -249
  137. package/dist/properties-Dn9wna3M.js +0 -26
  138. package/dist/protobuf-BPIjwpzm.js +0 -49
  139. package/dist/pug-CwAQJzGR.js +0 -248
  140. package/dist/puppet-nyd4dhjf.js +0 -45
  141. package/dist/python-BkR3uSy8.js +0 -313
  142. package/dist/q-DXjKs-tC.js +0 -83
  143. package/dist/r-LKEuhEGI.js +0 -104
  144. package/dist/rpm-IznJm2Xc.js +0 -57
  145. package/dist/ruby-CcYfvIk6.js +0 -228
  146. package/dist/sas-7E8yHoCW.js +0 -105
  147. package/dist/scheme-DjibxsNh.js +0 -124
  148. package/dist/shell-C0C2sNA_.js +0 -182
  149. package/dist/sieve-Bwz7vjP5.js +0 -72
  150. package/dist/simple-mode-B0dvCdAA.js +0 -89
  151. package/dist/smalltalk-Bhddl2pB.js +0 -48
  152. package/dist/solr-BNlsLglM.js +0 -41
  153. package/dist/sparql-FarWu_Gb.js +0 -197
  154. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  155. package/dist/sql-CfG5lQ3l.js +0 -282
  156. package/dist/stex-Du4h4KAU.js +0 -129
  157. package/dist/stylus-CAdqWld3.js +0 -250
  158. package/dist/swift-DSxqR9R6.js +0 -230
  159. package/dist/tcl-xfoLljhY.js +0 -81
  160. package/dist/textile-D1AWE-pc.js +0 -295
  161. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  162. package/dist/tiki-__Kn3CeS.js +0 -181
  163. package/dist/toml-BHiuTcfn.js +0 -49
  164. package/dist/troff-D2UO-fKf.js +0 -35
  165. package/dist/ttcn-Bsa4sfRm.js +0 -123
  166. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  167. package/dist/turtle-xwJUxoPV.js +0 -80
  168. package/dist/vb-c2kQGd6-.js +0 -74
  169. package/dist/vbscript-1f_Dhg5H.js +0 -324
  170. package/dist/velocity-DJd0pTTC.js +0 -96
  171. package/dist/verilog-CiS1jyi5.js +0 -262
  172. package/dist/vhdl-T9HkrbI2.js +0 -106
  173. package/dist/webidl-CjfDENEo.js +0 -155
  174. package/dist/xquery-BUQdORAS.js +0 -422
  175. package/dist/yacas-C0absKBh.js +0 -73
  176. package/dist/z80-Pki2zAjW.js +0 -61
@@ -1,234 +0,0 @@
1
- function p(e, i) {
2
- for (var n = 0; n < e.length; n++) i(e[n], n);
3
- }
4
- function x(e, i) {
5
- for (var n = 0; n < e.length; n++) if (i(e[n], n)) return !0;
6
- return !1;
7
- }
8
- var t = {
9
- // Words that introduce unnamed definitions like "define interface"
10
- unnamedDefinition: ["interface"],
11
- // Words that introduce simple named definitions like "define library"
12
- namedDefinition: [
13
- "module",
14
- "library",
15
- "macro",
16
- "C-struct",
17
- "C-union",
18
- "C-function",
19
- "C-callable-wrapper"
20
- ],
21
- // Words that introduce type definitions like "define class".
22
- // These are also parameterized like "define method" and are
23
- // appended to otherParameterizedDefinitionWords
24
- typeParameterizedDefinition: ["class", "C-subtype", "C-mapped-subtype"],
25
- // Words that introduce trickier definitions like "define method".
26
- // These require special definitions to be added to startExpressions
27
- otherParameterizedDefinition: [
28
- "method",
29
- "function",
30
- "C-variable",
31
- "C-address"
32
- ],
33
- // Words that introduce module constant definitions.
34
- // These must also be simple definitions and are
35
- // appended to otherSimpleDefinitionWords
36
- constantSimpleDefinition: ["constant"],
37
- // Words that introduce module variable definitions.
38
- // These must also be simple definitions and are
39
- // appended to otherSimpleDefinitionWords
40
- variableSimpleDefinition: ["variable"],
41
- // Other words that introduce simple definitions
42
- // (without implicit bodies).
43
- otherSimpleDefinition: [
44
- "generic",
45
- "domain",
46
- "C-pointer-type",
47
- "table"
48
- ],
49
- // Words that begin statements with implicit bodies.
50
- statement: [
51
- "if",
52
- "block",
53
- "begin",
54
- "method",
55
- "case",
56
- "for",
57
- "select",
58
- "when",
59
- "unless",
60
- "until",
61
- "while",
62
- "iterate",
63
- "profiling",
64
- "dynamic-bind"
65
- ],
66
- // Patterns that act as separators in compound statements.
67
- // This may include any general pattern that must be indented
68
- // specially.
69
- separator: [
70
- "finally",
71
- "exception",
72
- "cleanup",
73
- "else",
74
- "elseif",
75
- "afterwards"
76
- ],
77
- // Keywords that do not require special indentation handling,
78
- // but which should be highlighted
79
- other: [
80
- "above",
81
- "below",
82
- "by",
83
- "from",
84
- "handler",
85
- "in",
86
- "instance",
87
- "let",
88
- "local",
89
- "otherwise",
90
- "slot",
91
- "subclass",
92
- "then",
93
- "to",
94
- "keyed-by",
95
- "virtual"
96
- ],
97
- // Condition signaling function calls
98
- signalingCalls: [
99
- "signal",
100
- "error",
101
- "cerror",
102
- "break",
103
- "check-type",
104
- "abort"
105
- ]
106
- };
107
- t.otherDefinition = t.unnamedDefinition.concat(t.namedDefinition).concat(t.otherParameterizedDefinition);
108
- t.definition = t.typeParameterizedDefinition.concat(t.otherDefinition);
109
- t.parameterizedDefinition = t.typeParameterizedDefinition.concat(t.otherParameterizedDefinition);
110
- t.simpleDefinition = t.constantSimpleDefinition.concat(t.variableSimpleDefinition).concat(t.otherSimpleDefinition);
111
- t.keyword = t.statement.concat(t.separator).concat(t.other);
112
- var f = "[-_a-zA-Z?!*@<>$%]+", v = new RegExp("^" + f), a = {
113
- // Symbols with special syntax
114
- symbolKeyword: f + ":",
115
- symbolClass: "<" + f + ">",
116
- symbolGlobal: "\\*" + f + "\\*",
117
- symbolConstant: "\\$" + f
118
- }, w = {
119
- symbolKeyword: "atom",
120
- symbolClass: "tag",
121
- symbolGlobal: "variableName.standard",
122
- symbolConstant: "variableName.constant"
123
- };
124
- for (var c in a)
125
- a.hasOwnProperty(c) && (a[c] = new RegExp("^" + a[c]));
126
- a.keyword = [/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];
127
- var u = {};
128
- u.keyword = "keyword";
129
- u.definition = "def";
130
- u.simpleDefinition = "def";
131
- u.signalingCalls = "builtin";
132
- var y = {}, k = {};
133
- p([
134
- "keyword",
135
- "definition",
136
- "simpleDefinition",
137
- "signalingCalls"
138
- ], function(e) {
139
- p(t[e], function(i) {
140
- y[i] = e, k[i] = u[e];
141
- });
142
- });
143
- function d(e, i, n) {
144
- return i.tokenize = n, n(e, i);
145
- }
146
- function s(e, i) {
147
- var n = e.peek();
148
- if (n == "'" || n == '"')
149
- return e.next(), d(e, i, h(n, "string"));
150
- if (n == "/") {
151
- if (e.next(), e.eat("*"))
152
- return d(e, i, D);
153
- if (e.eat("/"))
154
- return e.skipToEnd(), "comment";
155
- e.backUp(1);
156
- } else if (/[+\-\d\.]/.test(n)) {
157
- if (e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i) || e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i) || e.match(/^[+-]?\d+/))
158
- return "number";
159
- } else {
160
- if (n == "#")
161
- return e.next(), n = e.peek(), n == '"' ? (e.next(), d(e, i, h('"', "string"))) : n == "b" ? (e.next(), e.eatWhile(/[01]/), "number") : n == "x" ? (e.next(), e.eatWhile(/[\da-f]/i), "number") : n == "o" ? (e.next(), e.eatWhile(/[0-7]/), "number") : n == "#" ? (e.next(), "punctuation") : n == "[" || n == "(" ? (e.next(), "bracket") : e.match(/f|t|all-keys|include|key|next|rest/i) ? "atom" : (e.eatWhile(/[-a-zA-Z]/), "error");
162
- if (n == "~")
163
- return e.next(), n = e.peek(), n == "=" ? (e.next(), n = e.peek(), n == "=" && e.next(), "operator") : "operator";
164
- if (n == ":") {
165
- if (e.next(), n = e.peek(), n == "=")
166
- return e.next(), "operator";
167
- if (n == ":")
168
- return e.next(), "punctuation";
169
- } else {
170
- if ("[](){}".indexOf(n) != -1)
171
- return e.next(), "bracket";
172
- if (".,".indexOf(n) != -1)
173
- return e.next(), "punctuation";
174
- if (e.match("end"))
175
- return "keyword";
176
- }
177
- }
178
- for (var l in a)
179
- if (a.hasOwnProperty(l)) {
180
- var r = a[l];
181
- if (r instanceof Array && x(r, function(o) {
182
- return e.match(o);
183
- }) || e.match(r))
184
- return w[l];
185
- }
186
- return /[+\-*\/^=<>&|]/.test(n) ? (e.next(), "operator") : e.match("define") ? "def" : (e.eatWhile(/[\w\-]/), y.hasOwnProperty(e.current()) ? k[e.current()] : e.current().match(v) ? "variable" : (e.next(), "variableName.standard"));
187
- }
188
- function D(e, i) {
189
- for (var n = !1, l = !1, r = 0, o; o = e.next(); ) {
190
- if (o == "/" && n)
191
- if (r > 0)
192
- r--;
193
- else {
194
- i.tokenize = s;
195
- break;
196
- }
197
- else o == "*" && l && r++;
198
- n = o == "*", l = o == "/";
199
- }
200
- return "comment";
201
- }
202
- function h(e, i) {
203
- return function(n, l) {
204
- for (var r = !1, o, b = !1; (o = n.next()) != null; ) {
205
- if (o == e && !r) {
206
- b = !0;
207
- break;
208
- }
209
- r = !r && o == "\\";
210
- }
211
- return (b || !r) && (l.tokenize = s), i;
212
- };
213
- }
214
- const g = {
215
- name: "dylan",
216
- startState: function() {
217
- return {
218
- tokenize: s,
219
- currentIndent: 0
220
- };
221
- },
222
- token: function(e, i) {
223
- if (e.eatSpace())
224
- return null;
225
- var n = i.tokenize(e, i);
226
- return n;
227
- },
228
- languageData: {
229
- commentTokens: { block: { open: "/*", close: "*/" } }
230
- }
231
- };
232
- export {
233
- g as dylan
234
- };
@@ -1,78 +0,0 @@
1
- var i = { slash: 0, parenthesis: 1 }, n = { comment: 0, _string: 1, characterClass: 2 };
2
- const l = {
3
- name: "ebnf",
4
- startState: function() {
5
- return {
6
- stringType: null,
7
- commentType: null,
8
- braced: 0,
9
- lhs: !0,
10
- localState: null,
11
- stack: [],
12
- inDefinition: !1
13
- };
14
- },
15
- token: function(e, c) {
16
- if (e) {
17
- switch (c.stack.length === 0 && (e.peek() == '"' || e.peek() == "'" ? (c.stringType = e.peek(), e.next(), c.stack.unshift(n._string)) : e.match("/*") ? (c.stack.unshift(n.comment), c.commentType = i.slash) : e.match("(*") && (c.stack.unshift(n.comment), c.commentType = i.parenthesis)), c.stack[0]) {
18
- case n._string:
19
- for (; c.stack[0] === n._string && !e.eol(); )
20
- e.peek() === c.stringType ? (e.next(), c.stack.shift()) : e.peek() === "\\" ? (e.next(), e.next()) : e.match(/^.[^\\\"\']*/);
21
- return c.lhs ? "property" : "string";
22
- // Token style
23
- case n.comment:
24
- for (; c.stack[0] === n.comment && !e.eol(); )
25
- c.commentType === i.slash && e.match("*/") || c.commentType === i.parenthesis && e.match("*)") ? (c.stack.shift(), c.commentType = null) : e.match(/^.[^\*]*/);
26
- return "comment";
27
- case n.characterClass:
28
- for (; c.stack[0] === n.characterClass && !e.eol(); )
29
- e.match(/^[^\]\\]+/) || e.match(".") || c.stack.shift();
30
- return "operator";
31
- }
32
- var t = e.peek();
33
- switch (t) {
34
- case "[":
35
- return e.next(), c.stack.unshift(n.characterClass), "bracket";
36
- case ":":
37
- case "|":
38
- case ";":
39
- return e.next(), "operator";
40
- case "%":
41
- if (e.match("%%"))
42
- return "header";
43
- if (e.match(/[%][A-Za-z]+/))
44
- return "keyword";
45
- if (e.match(/[%][}]/))
46
- return "bracket";
47
- break;
48
- case "/":
49
- if (e.match(/[\/][A-Za-z]+/))
50
- return "keyword";
51
- case "\\":
52
- if (e.match(/[\][a-z]+/))
53
- return "string.special";
54
- case ".":
55
- if (e.match("."))
56
- return "atom";
57
- case "*":
58
- case "-":
59
- case "+":
60
- case "^":
61
- if (e.match(t))
62
- return "atom";
63
- case "$":
64
- if (e.match("$$"))
65
- return "builtin";
66
- if (e.match(/[$][0-9]+/))
67
- return "variableName.special";
68
- case "<":
69
- if (e.match(/<<[a-zA-Z_]+>>/))
70
- return "builtin";
71
- }
72
- return e.match("//") ? (e.skipToEnd(), "comment") : e.match("return") ? "operator" : e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/) ? e.match(/(?=[\(.])/) ? "variable" : e.match(/(?=[\s\n]*[:=])/) ? "def" : "variableName.special" : ["[", "]", "(", ")"].indexOf(e.peek()) != -1 ? (e.next(), "bracket") : (e.eatSpace() || e.next(), null);
73
- }
74
- }
75
- };
76
- export {
77
- l as ebnf
78
- };
@@ -1,121 +0,0 @@
1
- function l(e) {
2
- for (var n = {}, t = e.split(" "), r = 0; r < t.length; ++r) n[t[r]] = !0;
3
- return n;
4
- }
5
- function b(e, n) {
6
- return n.startOfLine ? (e.skipToEnd(), "meta") : !1;
7
- }
8
- var g = l("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode"), w = l("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait"), x = l("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath"), f = l("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode"), k = l("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when"), s = l("catch class do else finally for if switch try while"), E = l("true false null"), m = { "#": b }, h = /[+\-*&%=<>!?|\/]/, o;
9
- function p(e, n) {
10
- var t = e.next();
11
- if (m[t]) {
12
- var r = m[t](e, n);
13
- if (r !== !1) return r;
14
- }
15
- if (t == '"' || t == "'")
16
- return n.tokenize = I(t), n.tokenize(e, n);
17
- if (/[\[\]{}\(\),;\:\.]/.test(t))
18
- return o = t, null;
19
- if (/\d/.test(t))
20
- return e.eatWhile(/[\w\.]/), "number";
21
- if (t == "/") {
22
- if (e.eat("*"))
23
- return n.tokenize = y, y(e, n);
24
- if (e.eat("/"))
25
- return e.skipToEnd(), "comment";
26
- }
27
- if (h.test(t))
28
- return e.eatWhile(h), "operator";
29
- e.eatWhile(/[\w\$_]/);
30
- var i = e.current().toLowerCase();
31
- if (g.propertyIsEnumerable(i))
32
- return s.propertyIsEnumerable(i) && (o = "newstatement"), "keyword";
33
- if (w.propertyIsEnumerable(i))
34
- return s.propertyIsEnumerable(i) && (o = "newstatement"), "variable";
35
- if (x.propertyIsEnumerable(i))
36
- return s.propertyIsEnumerable(i) && (o = "newstatement"), "modifier";
37
- if (f.propertyIsEnumerable(i))
38
- return s.propertyIsEnumerable(i) && (o = "newstatement"), "type";
39
- if (k.propertyIsEnumerable(i))
40
- return s.propertyIsEnumerable(i) && (o = "newstatement"), "builtin";
41
- for (var a = i.length - 1; a >= 0 && (!isNaN(i[a]) || i[a] == "_"); )
42
- --a;
43
- if (a > 0) {
44
- var d = i.substr(0, a + 1);
45
- if (f.propertyIsEnumerable(d))
46
- return s.propertyIsEnumerable(d) && (o = "newstatement"), "type";
47
- }
48
- return E.propertyIsEnumerable(i) ? "atom" : null;
49
- }
50
- function I(e) {
51
- return function(n, t) {
52
- for (var r = !1, i, a = !1; (i = n.next()) != null; ) {
53
- if (i == e && !r) {
54
- a = !0;
55
- break;
56
- }
57
- r = !r && i == "\\";
58
- }
59
- return (a || !r) && (t.tokenize = p), "string";
60
- };
61
- }
62
- function y(e, n) {
63
- for (var t = !1, r; r = e.next(); ) {
64
- if (r == "/" && t) {
65
- n.tokenize = p;
66
- break;
67
- }
68
- t = r == "*";
69
- }
70
- return "comment";
71
- }
72
- function v(e, n, t, r, i) {
73
- this.indented = e, this.column = n, this.type = t, this.align = r, this.prev = i;
74
- }
75
- function c(e, n, t) {
76
- return e.context = new v(e.indented, n, t, null, e.context);
77
- }
78
- function u(e) {
79
- var n = e.context.type;
80
- return (n == ")" || n == "]" || n == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
81
- }
82
- const z = {
83
- name: "ecl",
84
- startState: function(e) {
85
- return {
86
- tokenize: null,
87
- context: new v(-e, 0, "top", !1),
88
- indented: 0,
89
- startOfLine: !0
90
- };
91
- },
92
- token: function(e, n) {
93
- var t = n.context;
94
- if (e.sol() && (t.align == null && (t.align = !1), n.indented = e.indentation(), n.startOfLine = !0), e.eatSpace()) return null;
95
- o = null;
96
- var r = (n.tokenize || p)(e, n);
97
- if (r == "comment" || r == "meta") return r;
98
- if (t.align == null && (t.align = !0), (o == ";" || o == ":") && t.type == "statement") u(n);
99
- else if (o == "{") c(n, e.column(), "}");
100
- else if (o == "[") c(n, e.column(), "]");
101
- else if (o == "(") c(n, e.column(), ")");
102
- else if (o == "}") {
103
- for (; t.type == "statement"; ) t = u(n);
104
- for (t.type == "}" && (t = u(n)); t.type == "statement"; ) t = u(n);
105
- } else o == t.type ? u(n) : (t.type == "}" || t.type == "top" || t.type == "statement" && o == "newstatement") && c(n, e.column(), "statement");
106
- return n.startOfLine = !1, r;
107
- },
108
- indent: function(e, n, t) {
109
- if (e.tokenize != p && e.tokenize != null) return 0;
110
- var r = e.context, i = n && n.charAt(0);
111
- r.type == "statement" && i == "}" && (r = r.prev);
112
- var a = i == r.type;
113
- return r.type == "statement" ? r.indented + (i == "{" ? 0 : t.unit) : r.align ? r.column + (a ? 0 : 1) : r.indented + (a ? 0 : t.unit);
114
- },
115
- languageData: {
116
- indentOnInput: /^\s*[{}]$/
117
- }
118
- };
119
- export {
120
- z as ecl
121
- };
@@ -1,110 +0,0 @@
1
- function u(e) {
2
- for (var r = {}, n = 0, t = e.length; n < t; ++n) r[e[n]] = !0;
3
- return r;
4
- }
5
- var l = u([
6
- "note",
7
- "across",
8
- "when",
9
- "variant",
10
- "until",
11
- "unique",
12
- "undefine",
13
- "then",
14
- "strip",
15
- "select",
16
- "retry",
17
- "rescue",
18
- "require",
19
- "rename",
20
- "reference",
21
- "redefine",
22
- "prefix",
23
- "once",
24
- "old",
25
- "obsolete",
26
- "loop",
27
- "local",
28
- "like",
29
- "is",
30
- "inspect",
31
- "infix",
32
- "include",
33
- "if",
34
- "frozen",
35
- "from",
36
- "external",
37
- "export",
38
- "ensure",
39
- "end",
40
- "elseif",
41
- "else",
42
- "do",
43
- "creation",
44
- "create",
45
- "check",
46
- "alias",
47
- "agent",
48
- "separate",
49
- "invariant",
50
- "inherit",
51
- "indexing",
52
- "feature",
53
- "expanded",
54
- "deferred",
55
- "class",
56
- "Void",
57
- "True",
58
- "Result",
59
- "Precursor",
60
- "False",
61
- "Current",
62
- "create",
63
- "attached",
64
- "detachable",
65
- "as",
66
- "and",
67
- "implies",
68
- "not",
69
- "or"
70
- ]), c = u([":=", "and then", "and", "or", "<<", ">>"]);
71
- function f(e, r, n) {
72
- return n.tokenize.push(e), e(r, n);
73
- }
74
- function s(e, r) {
75
- if (e.eatSpace()) return null;
76
- var n = e.next();
77
- return n == '"' || n == "'" ? f(p(n, "string"), e, r) : n == "-" && e.eat("-") ? (e.skipToEnd(), "comment") : n == ":" && e.eat("=") ? "operator" : /[0-9]/.test(n) ? (e.eatWhile(/[xXbBCc0-9\.]/), e.eat(/[\?\!]/), "variable") : /[a-zA-Z_0-9]/.test(n) ? (e.eatWhile(/[a-zA-Z_0-9]/), e.eat(/[\?\!]/), "variable") : /[=+\-\/*^%<>~]/.test(n) ? (e.eatWhile(/[=+\-\/*^%<>~]/), "operator") : null;
78
- }
79
- function p(e, r, n) {
80
- return function(t, o) {
81
- for (var a = !1, i; (i = t.next()) != null; ) {
82
- if (i == e && !a) {
83
- o.tokenize.pop();
84
- break;
85
- }
86
- a = !a && i == "%";
87
- }
88
- return r;
89
- };
90
- }
91
- const d = {
92
- name: "eiffel",
93
- startState: function() {
94
- return { tokenize: [s] };
95
- },
96
- token: function(e, r) {
97
- var n = r.tokenize[r.tokenize.length - 1](e, r);
98
- if (n == "variable") {
99
- var t = e.current();
100
- n = l.propertyIsEnumerable(e.current()) ? "keyword" : c.propertyIsEnumerable(e.current()) ? "operator" : /^[A-Z][A-Z_0-9]*$/g.test(t) ? "tag" : /^0[bB][0-1]+$/g.test(t) || /^0[cC][0-7]+$/g.test(t) || /^0[xX][a-fA-F0-9]+$/g.test(t) || /^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(t) || /^[0-9]+$/g.test(t) ? "number" : "variable";
101
- }
102
- return n;
103
- },
104
- languageData: {
105
- commentTokens: { line: "--" }
106
- }
107
- };
108
- export {
109
- d as eiffel
110
- };
@@ -1,108 +0,0 @@
1
- function a(n, t, i) {
2
- return t(i), i(n, t);
3
- }
4
- var v = /[a-z]/, g = /[A-Z]/, l = /[a-zA-Z0-9_]/, f = /[0-9]/, o = /[0-9A-Fa-f]/, p = /[-&*+.\\/<>=?^|:]/, w = /[(),[\]{}]/, x = /[ \v\f]/;
5
- function r() {
6
- return function(n, t) {
7
- if (n.eatWhile(x))
8
- return null;
9
- var i = n.next();
10
- if (w.test(i))
11
- return i === "{" && n.eat("-") ? a(n, t, h(1)) : i === "[" && n.match("glsl|") ? a(n, t, u) : "builtin";
12
- if (i === "'")
13
- return a(n, t, d);
14
- if (i === '"')
15
- return n.eat('"') ? n.eat('"') ? a(n, t, k) : "string" : a(n, t, E);
16
- if (g.test(i))
17
- return n.eatWhile(l), "type";
18
- if (v.test(i)) {
19
- var e = n.pos === 1;
20
- return n.eatWhile(l), e ? "def" : "variable";
21
- }
22
- if (f.test(i)) {
23
- if (i === "0") {
24
- if (n.eat(/[xX]/))
25
- return n.eatWhile(o), "number";
26
- } else
27
- n.eatWhile(f);
28
- return n.eat(".") && n.eatWhile(f), n.eat(/[eE]/) && (n.eat(/[-+]/), n.eatWhile(f)), "number";
29
- }
30
- return p.test(i) ? i === "-" && n.eat("-") ? (n.skipToEnd(), "comment") : (n.eatWhile(p), "keyword") : i === "_" ? "keyword" : "error";
31
- };
32
- }
33
- function h(n) {
34
- return n == 0 ? r() : function(t, i) {
35
- for (; !t.eol(); ) {
36
- var e = t.next();
37
- if (e == "{" && t.eat("-"))
38
- ++n;
39
- else if (e == "-" && t.eat("}") && (--n, n === 0))
40
- return i(r()), "comment";
41
- }
42
- return i(h(n)), "comment";
43
- };
44
- }
45
- function k(n, t) {
46
- for (; !n.eol(); ) {
47
- var i = n.next();
48
- if (i === '"' && n.eat('"') && n.eat('"'))
49
- return t(r()), "string";
50
- }
51
- return "string";
52
- }
53
- function E(n, t) {
54
- for (; n.skipTo('\\"'); )
55
- n.next(), n.next();
56
- return n.skipTo('"') ? (n.next(), t(r()), "string") : (n.skipToEnd(), t(r()), "error");
57
- }
58
- function d(n, t) {
59
- for (; n.skipTo("\\'"); )
60
- n.next(), n.next();
61
- return n.skipTo("'") ? (n.next(), t(r()), "string") : (n.skipToEnd(), t(r()), "error");
62
- }
63
- function u(n, t) {
64
- for (; !n.eol(); ) {
65
- var i = n.next();
66
- if (i === "|" && n.eat("]"))
67
- return t(r()), "string";
68
- }
69
- return "string";
70
- }
71
- var y = {
72
- case: 1,
73
- of: 1,
74
- as: 1,
75
- if: 1,
76
- then: 1,
77
- else: 1,
78
- let: 1,
79
- in: 1,
80
- type: 1,
81
- alias: 1,
82
- module: 1,
83
- where: 1,
84
- import: 1,
85
- exposing: 1,
86
- port: 1
87
- };
88
- const W = {
89
- name: "elm",
90
- startState: function() {
91
- return { f: r() };
92
- },
93
- copyState: function(n) {
94
- return { f: n.f };
95
- },
96
- token: function(n, t) {
97
- var i = t.f(n, function(m) {
98
- t.f = m;
99
- }), e = n.current();
100
- return y.hasOwnProperty(e) ? "keyword" : i;
101
- },
102
- languageData: {
103
- commentTokens: { line: "--" }
104
- }
105
- };
106
- export {
107
- W as elm
108
- };