xmlui 0.9.83 → 0.9.86

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 (75) hide show
  1. package/dist/lib/{index-aMRikNoc.mjs → index-Bm0sNu3Q.mjs} +17098 -21599
  2. package/dist/lib/index.css +1 -1
  3. package/dist/lib/{initMock-CYGUM37_.mjs → initMock-BJWFwa64.mjs} +1 -1
  4. package/dist/lib/language-server-web-worker.mjs +1 -1
  5. package/dist/lib/language-server.mjs +1 -1
  6. package/dist/lib/{server-common-LUcdzTQs.mjs → server-common-CfdMYx46.mjs} +4453 -4423
  7. package/dist/lib/syntax-monaco.d.ts +64 -0
  8. package/dist/lib/syntax-monaco.mjs +639 -0
  9. package/dist/lib/syntax-textmate.d.ts +2127 -0
  10. package/dist/lib/syntax-textmate.mjs +2491 -0
  11. package/dist/lib/xmlui-parser.d.ts +7 -1
  12. package/dist/lib/xmlui.d.ts +8 -2
  13. package/dist/lib/xmlui.mjs +1 -1
  14. package/dist/metadata/{collectedComponentMetadata-BD1Fa8Cz.mjs → collectedComponentMetadata-BLxDndi5.mjs} +19018 -23504
  15. package/dist/metadata/{initMock-CzVkUblk.mjs → initMock-DRxSMFJz.mjs} +1 -1
  16. package/dist/metadata/style.css +1 -1
  17. package/dist/metadata/xmlui-metadata.mjs +1 -1
  18. package/dist/metadata/xmlui-metadata.umd.js +138 -285
  19. package/dist/scripts/package.json +24 -4
  20. package/dist/scripts/src/components/APICall/APICall.js +4 -0
  21. package/dist/scripts/src/components/Accordion/Accordion.js +14 -4
  22. package/dist/scripts/src/components/AppState/AppState.js +7 -2
  23. package/dist/scripts/src/components/AutoComplete/AutoComplete.js +17 -3
  24. package/dist/scripts/src/components/Bookmark/Bookmark.js +1 -0
  25. package/dist/scripts/src/components/Carousel/Carousel.js +23 -5
  26. package/dist/scripts/src/components/Checkbox/Checkbox.js +15 -5
  27. package/dist/scripts/src/components/ColorPicker/ColorPicker.js +15 -3
  28. package/dist/scripts/src/components/ComponentProvider.js +0 -4
  29. package/dist/scripts/src/components/DatePicker/DatePicker.js +15 -3
  30. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +8 -1
  31. package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +1 -0
  32. package/dist/scripts/src/components/ExpandableItem/ExpandableItem.js +16 -4
  33. package/dist/scripts/src/components/FileInput/FileInput.js +19 -6
  34. package/dist/scripts/src/components/Form/Form.js +12 -3
  35. package/dist/scripts/src/components/FormItem/FormItem.js +16 -5
  36. package/dist/scripts/src/components/FormItem/ItemWithLabel.js +5 -2
  37. package/dist/scripts/src/components/FormItem/Validations.js +4 -1
  38. package/dist/scripts/src/components/Heading/Heading.js +6 -0
  39. package/dist/scripts/src/components/Heading/HeadingNative.js +11 -1
  40. package/dist/scripts/src/components/HelloWorld/HelloWorld.js +8 -2
  41. package/dist/scripts/src/components/List/List.js +22 -4
  42. package/dist/scripts/src/components/ModalDialog/ModalDialog.js +14 -5
  43. package/dist/scripts/src/components/NumberBox/NumberBox.js +12 -3
  44. package/dist/scripts/src/components/NumberBox/NumberBox2.js +12 -3
  45. package/dist/scripts/src/components/Queue/Queue.js +38 -15
  46. package/dist/scripts/src/components/Select/Select.js +19 -4
  47. package/dist/scripts/src/components/Slider/Slider.js +15 -3
  48. package/dist/scripts/src/components/Switch/Switch.js +13 -3
  49. package/dist/scripts/src/components/Table/Table.js +26 -8
  50. package/dist/scripts/src/components/Tabs/Tabs.js +4 -1
  51. package/dist/scripts/src/components/TextArea/TextArea.js +8 -2
  52. package/dist/scripts/src/components/TextBox/TextBox.js +16 -4
  53. package/dist/scripts/src/components/Toggle/Toggle.js +9 -2
  54. package/dist/scripts/src/components/metadata-helpers.js +3 -3
  55. package/dist/standalone/xmlui-standalone.es.d.ts +9 -3
  56. package/dist/standalone/xmlui-standalone.umd.js +251 -251
  57. package/package.json +24 -4
  58. package/src/syntax/monaco/grammar.monacoLanguage.ts +283 -0
  59. package/src/syntax/monaco/index.ts +4 -0
  60. package/src/syntax/monaco/xmlui-dark.ts +24 -0
  61. package/src/syntax/monaco/xmlui-light.ts +24 -0
  62. package/src/syntax/monaco/xmluiscript.monacoLanguage.ts +337 -0
  63. package/src/syntax/textMate/index.ts +6 -0
  64. package/src/syntax/textMate/xmlui-dark.json +631 -0
  65. package/src/syntax/textMate/xmlui-light.json +565 -0
  66. package/src/syntax/textMate/xmlui.json +564 -0
  67. package/src/syntax/textMate/xmlui.tmLanguage.json +341 -0
  68. package/dist/lib/core-CvFpTAHi.mjs +0 -5775
  69. package/dist/lib/wasm-DQxwEHae.mjs +0 -7
  70. package/dist/metadata/core-D3puiNN6.mjs +0 -5771
  71. package/dist/metadata/wasm-DQxwEHae.mjs +0 -7
  72. package/dist/scripts/src/components-core/XmluiCodeHighlighter.js +0 -109
  73. package/dist/scripts/src/syntax/grammar.tmLanguage.json +0 -341
  74. package/dist/scripts/src/syntax/textMate/xmlui-dark.json +0 -631
  75. package/dist/scripts/src/syntax/textMate/xmlui-light.json +0 -565
@@ -1,109 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
36
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
37
- return new (P || (P = Promise))(function (resolve, reject) {
38
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
40
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41
- step((generator = generator.apply(thisArg, _arguments || [])).next());
42
- });
43
- };
44
- var __importDefault = (this && this.__importDefault) || function (mod) {
45
- return (mod && mod.__esModule) ? mod : { "default": mod };
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.codeComponentRenderer = void 0;
49
- exports.XmluiCodeHighlighter = XmluiCodeHighlighter;
50
- const jsx_runtime_1 = require("react/jsx-runtime");
51
- const react_1 = require("react");
52
- const XmluiCodeHighlighter_module_scss_1 = __importDefault(require("./XmluiCodeHighlighter.module.scss"));
53
- const ThemeContext_1 = require("./theming/ThemeContext");
54
- const classnames_1 = __importDefault(require("classnames"));
55
- const renderers_1 = require("./renderers");
56
- // @ts-ignore
57
- const javascript_1 = __importDefault(require("@shikijs/langs/javascript"));
58
- // @ts-ignore
59
- const json_1 = __importDefault(require("@shikijs/langs/json"));
60
- // @ts-ignore
61
- const html_1 = __importDefault(require("@shikijs/langs/html"));
62
- const javascript_2 = require("shiki/engine/javascript");
63
- const grammar_tmLanguage_json_1 = __importDefault(require("../syntax/grammar.tmLanguage.json"));
64
- const xmlui_light_json_1 = __importDefault(require("../syntax/textMate/xmlui-light.json"));
65
- const xmlui_dark_json_1 = __importDefault(require("../syntax/textMate/xmlui-dark.json"));
66
- let highlighter = null;
67
- function XmluiCodeHighlighter({ value, style, }) {
68
- const { activeThemeTone } = (0, ThemeContext_1.useTheme)();
69
- const [initialized, setInitialized] = (0, react_1.useState)(false);
70
- (0, react_1.useEffect)(() => {
71
- function load() {
72
- return __awaiter(this, void 0, void 0, function* () {
73
- if (!highlighter) {
74
- const { createHighlighterCore } = yield Promise.resolve().then(() => __importStar(require("shiki/core")));
75
- highlighter = yield createHighlighterCore({
76
- // @ts-ignore
77
- themes: [xmlui_light_json_1.default, xmlui_dark_json_1.default],
78
- // @ts-ignore
79
- langs: [javascript_1.default, json_1.default, html_1.default, grammar_tmLanguage_json_1.default],
80
- loadWasm: Promise.resolve().then(() => __importStar(require("shiki/wasm"))),
81
- engine: (0, javascript_2.createJavaScriptRegexEngine)(),
82
- });
83
- }
84
- setInitialized(true);
85
- });
86
- }
87
- load();
88
- }, []);
89
- const htmlCode = (0, react_1.useMemo)(() => {
90
- return !initialized || !highlighter
91
- ? ""
92
- : highlighter.codeToHtml(value, {
93
- lang: "xmlui",
94
- theme: `xmlui-${activeThemeTone}`,
95
- decorations: [],
96
- });
97
- }, [initialized, value, activeThemeTone]);
98
- return ((0, jsx_runtime_1.jsx)("div", { className: XmluiCodeHighlighter_module_scss_1.default.wrapper, children: (0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(XmluiCodeHighlighter_module_scss_1.default.innerWrapper, {
99
- [XmluiCodeHighlighter_module_scss_1.default.dark]: activeThemeTone === "dark",
100
- [XmluiCodeHighlighter_module_scss_1.default.light]: activeThemeTone === "light",
101
- }), style: style, dangerouslySetInnerHTML: {
102
- __html: htmlCode,
103
- } }) }));
104
- }
105
- exports.codeComponentRenderer = (0, renderers_1.createComponentRenderer)("XmluiCodehighlighter", {
106
- status: "stable",
107
- }, ({ node, renderChild, layoutCss }) => {
108
- return (0, jsx_runtime_1.jsx)(XmluiCodeHighlighter, { value: renderChild(node.children), style: layoutCss });
109
- });
@@ -1,341 +0,0 @@
1
- {
2
- "name": "xmlui",
3
- "scopeName": "source.xmlui",
4
- "patterns": [{ "include": "#root" }],
5
- "repository": {
6
- "root": {
7
- "patterns": [
8
- { "include": "#comments" },
9
- { "include": "#helperTag" },
10
- { "include": "#componentTag" },
11
- { "include": "#entity" },
12
- { "include": "#textWithBindingExpr" },
13
- {
14
- "begin": "(<!\\[)(CDATA)(\\[)",
15
- "beginCaptures": {
16
- "1": { "name": "punctuation.definition.tag.xmlui" },
17
- "2": { "name": "storage.xmlui" },
18
- "3": { "name": "punctuation.definition.tag.xmlui" }
19
- },
20
- "end": "]]>",
21
- "endCaptures": {
22
- "0": { "name": "punctuation.definition.tag.xmlui" }
23
- },
24
- "contentName": "string.unquoted.cdata.xmlui"
25
- }
26
- ]
27
- },
28
- "methodTag": {
29
- "begin": "(<)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(method)",
30
- "beginCaptures": {
31
- "1": { "name": "punctuation.definition.tag.xmlui" },
32
- "2": { "name": "keyword.operator.namespace.xmlui" },
33
- "3": { "name": "entity.name.tag.localname.xmlui" }
34
- },
35
- "endCaptures": {
36
- "0": { "name": "punctuation.definition.tag.xmlui" }
37
- },
38
- "applyEndPatternLast": "1",
39
- "patterns": [
40
- { "include": "#comments" },
41
- { "include": "#valueAttributeScriptInside" },
42
- { "include": "#attribute" },
43
- {
44
- "begin": "(?<!/|(?:/\\s*(?:method))\\s*)>",
45
- "beginCaptures": {
46
- "0": {
47
- "name": "punctuation.definition.tag.xmlui"
48
- }
49
- },
50
- "endCaptures": {
51
- "1": { "name": "punctuation.definition.tag.xmlui" },
52
- "2": { "name": "keyword.operator.namespace.xmlui" },
53
- "3": { "name": "entity.name.tag.localname.xmlui" }
54
- },
55
- "contentName": "meta.embedded.block.javascript",
56
- "patterns": [{ "include": "source.js" }],
57
- "end": "(</)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(method)(?=\\s*>)"
58
- }
59
- ],
60
- "end": "/?>"
61
- },
62
- "eventTag": {
63
- "begin": "(<)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(event)",
64
- "beginCaptures": {
65
- "1": { "name": "punctuation.definition.tag.xmlui" },
66
- "2": { "name": "keyword.operator.namespace.xmlui" },
67
- "3": { "name": "entity.name.tag.localname.xmlui" }
68
- },
69
- "endCaptures": {
70
- "0": { "name": "punctuation.definition.tag.xmlui" }
71
- },
72
- "applyEndPatternLast": "1",
73
- "patterns": [
74
- { "include": "#comments" },
75
- { "include": "#valueAttributeScriptInside" },
76
- { "include": "#attribute" },
77
- {
78
- "begin": "(?<!/|(?:/\\s*event)\\s*)(>)",
79
- "beginCaptures": {
80
- "0": {
81
- "name": "punctuation.definition.tag.xmlui"
82
- }
83
- },
84
- "endCaptures": {
85
- "1": { "name": "punctuation.definition.tag.xmlui" },
86
- "2": { "name": "keyword.operator.namespace.xmlui" },
87
- "3": { "name": "entity.name.tag.localname.xmlui" }
88
- },
89
- "patterns": [
90
- { "include": "#comments" },
91
- { "include": "#componentTag" },
92
- { "include": "source.js" }
93
- ],
94
- "end": "(</)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(event)(?=\\s*>)"
95
- }
96
- ],
97
- "end": ">"
98
- },
99
- "fieldTag": {
100
- "begin": "(<)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(field)",
101
- "beginCaptures": {
102
- "1": { "name": "punctuation.definition.tag.xmlui" },
103
- "2": { "name": "keyword.operator.namespace.xmlui" },
104
- "3": { "name": "entity.name.tag.localname.xmlui" }
105
- },
106
- "endCaptures": {
107
- "0": { "name": "punctuation.definition.tag.xmlui" }
108
- },
109
- "applyEndPatternLast": "1",
110
- "patterns": [
111
- { "include": "#comments" },
112
- { "include": "#valueAttributeScriptInside" },
113
- { "include": "#attribute" },
114
- {
115
- "begin": "(?<!/|(?:/\\s*field)\\s*)(>)",
116
- "beginCaptures": {
117
- "0": {
118
- "name": "punctuation.definition.tag.xmlui"
119
- }
120
- },
121
- "endCaptures": {
122
- "1": { "name": "punctuation.definition.tag.xmlui" },
123
- "2": { "name": "keyword.operator.namespace.xmlui" },
124
- "3": { "name": "entity.name.tag.localname.xmlui" }
125
- },
126
- "patterns": [
127
- { "include": "#comments" },
128
- { "include": "#componentTag" },
129
- { "include": "source.js" }
130
- ],
131
- "end": "(</)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(field)(?=\\s*>)"
132
- }
133
- ],
134
- "end": ">"
135
- },
136
- "itemTag": {
137
- "begin": "(<)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(item)",
138
- "beginCaptures": {
139
- "1": { "name": "punctuation.definition.tag.xmlui" },
140
- "2": { "name": "keyword.operator.namespace.xmlui" },
141
- "3": { "name": "entity.name.tag.localname.xmlui" }
142
- },
143
- "endCaptures": {
144
- "0": { "name": "punctuation.definition.tag.xmlui" }
145
- },
146
- "applyEndPatternLast": "1",
147
- "patterns": [
148
- { "include": "#comments" },
149
- { "include": "#valueAttributeScriptInside" },
150
- { "include": "#attribute" },
151
- {
152
- "begin": "(?<!/|(?:/\\s*item)\\s*)(>)",
153
- "beginCaptures": {
154
- "0": {
155
- "name": "punctuation.definition.tag.xmlui"
156
- }
157
- },
158
- "endCaptures": {
159
- "1": { "name": "punctuation.definition.tag.xmlui" },
160
- "2": { "name": "keyword.operator.namespace.xmlui" },
161
- "3": { "name": "entity.name.tag.localname.xmlui" }
162
- },
163
- "patterns": [
164
- { "include": "#comments" },
165
- { "include": "#componentTag" },
166
- { "include": "source.js" }
167
- ],
168
- "end": "(</)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(item)(?=\\s*>)"
169
- }
170
- ],
171
- "end": ">"
172
- },
173
- "bindingExpr": {
174
- "contentName": "meta.embedded.block.javascript",
175
- "begin": "\\{",
176
- "end": "\\}",
177
- "beginCaptures": {
178
- "0": { "name": "entity.name.function.xmlui punctuation.definition.block.xmlui" }
179
- },
180
- "endCaptures": {
181
- "0": { "name": "entity.name.function.xmlui punctuation.definition.block.xmlui" }
182
- },
183
- "patterns": [{ "include": "source.js" }]
184
- },
185
- "helperTag": {
186
- "patterns": [
187
- { "include": "#scriptTag" },
188
- { "include": "#eventTag" },
189
- { "include": "#fieldTag" },
190
- { "include": "#itemTag" },
191
- { "include": "#methodTag" },
192
- { "include": "#propOrVarTag" }
193
- ]
194
- },
195
- "valueAttributeScriptInside": {
196
- "patterns": [
197
- {
198
- "captures": {
199
- "1": { "name": "entity.other.attribute-name.localname.xmlui" },
200
- "2": { "name": "keyword.operator.xmlui" }
201
- },
202
- "match": "(?:^|\\s+)(value)(\\s*=)"
203
- },
204
- { "include": "#quotedStringJsInside" }
205
- ]
206
- },
207
- "scriptTag": {
208
- "begin": "(<)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(script)(\\s*>)",
209
- "end": "(</)(\\2)(\\3)(\\s*>)",
210
- "contentName": "meta.embedded.block.javascript",
211
- "beginCaptures": {
212
- "1": { "name": "punctuation.definition.tag.xmlui" },
213
- "2": { "name": "keyword.operator.namespace.xmlui" },
214
- "3": { "name": "entity.name.function.xmlui" },
215
- "4": { "name": "punctuation.definition.tag.xmlui" }
216
- },
217
- "endCaptures": {
218
- "1": { "name": "punctuation.definition.tag.xmlui" },
219
- "2": { "name": "keyword.operator.namespace.xmlui" },
220
- "3": { "name": "entity.name.function.xmlui" },
221
- "4": { "name": "punctuation.definition.tag.xmlui" }
222
- },
223
- "patterns": [{ "include": "source.js" }]
224
- },
225
- "textWithBindingExpr": {
226
- "patterns": [{ "include": "#entity" }, { "match": "\\\\{" }, { "include": "#bindingExpr" }]
227
- },
228
- "propOrVarTag": {
229
- "begin": "(</?)([a-zA-Z_][\\w\\.\\-]*?:)?((?:variable)|(?:property)|(?:prop))",
230
- "beginCaptures": {
231
- "1": { "name": "punctuation.definition.tag.xmlui" },
232
- "2": { "name": "keyword.operator.namespace.xmlui" },
233
- "3": { "name": "entity.name.tag.localname.xmlui" }
234
- },
235
- "end": "(/?>)",
236
- "endCaptures": {
237
- "1": { "name": "punctuation.definition.tag.xmlui" }
238
- },
239
- "patterns": [{ "include": "#attribute" }, { "include": "#comments" }]
240
- },
241
- "componentTag": {
242
- "begin": "(\\s*</?)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)([a-zA-Z][\\w\\.\\-]*)",
243
- "beginCaptures": {
244
- "1": { "name": "punctuation.definition.tag.xmlui" },
245
- "2": { "name": "keyword.operator.namespace.xmlui" },
246
- "3": { "name": "support.class.tag.component.xmlui" }
247
- },
248
- "end": "(/?>)",
249
- "endCaptures": {
250
- "1": { "name": "punctuation.definition.tag.xmlui" }
251
- },
252
- "patterns": [
253
- { "include": "#comments" },
254
- { "include": "#eventHandler" },
255
- { "include": "#attribute" }
256
- ]
257
- },
258
- "quotedStringJsInside": {
259
- "begin": "\"|'|`",
260
- "beginCaptures": {
261
- "0": { "name": "string.xmlui" }
262
- },
263
- "end": "\\0",
264
- "endCaptures": {
265
- "0": { "name": "string.xmlui" }
266
- },
267
- "contentName": "meta.embedded.block.javascript",
268
- "patterns": [{ "include": "source.js" }]
269
- },
270
- "entity": {
271
- "captures": {
272
- "1": { "name": "punctuation.definition.constant.xmlui" },
273
- "2": { "name": "punctuation.definition.constant.xmlui" },
274
- "3": { "name": "punctuation.definition.constant.xmlui" }
275
- },
276
- "match": "(&)((?:amp)|(?:lt)|(?:gt)|(?:quot)|(?:apos))(;)"
277
- },
278
- "eventHandler": {
279
- "patterns": [
280
- {
281
- "captures": {
282
- "1": { "name": "entity.other.attribute-name.localname.xmlui" },
283
- "2": { "name": "keyword.operator.xmlui" }
284
- },
285
- "match": "(?:^|\\s+)(on[A-Z][-\\w.:$]*)(\\s*=)"
286
- },
287
- { "include": "#quotedStringJsInside" }
288
- ]
289
- },
290
- "attribute": {
291
- "patterns": [
292
- {
293
- "begin": "(?:^|\\s+)((?:[a-zA-Z$_][-\\w.$]*:)?)([a-zA-Z$_][-\\w.$]*)(\\s*=\\s*)(['\"`])",
294
- "end": "\\4",
295
- "beginCaptures": {
296
- "1": { "name": "keyword.operator.namespace.xmlui" },
297
- "2": { "name": "entity.other.attribute-name.localname.xmlui" },
298
- "3": { "name": "keyword.operator.xmlui" },
299
- "4": { "name": "string.xmlui" }
300
- },
301
- "endCaptures": {
302
- "0": { "name": "string.xmlui" }
303
- },
304
- "contentName": "string.xmlui",
305
- "patterns": [{ "include": "#textWithBindingExpr" }]
306
- },
307
- {
308
- "match": "(?:^|\\s+)((?:[a-zA-Z$_][-\\w.$]*:)?)([a-zA-Z$_][-\\w.$]*)(\\s*=\\s*)([a-zA-Z$_][-\\w.$]*)",
309
- "captures": {
310
- "1": { "name": "keyword.operator.namespace.xmlui" },
311
- "2": { "name": "entity.other.attribute-name.localname.xmlui" },
312
- "3": { "name": "keyword.operator.xmlui" },
313
- "4": { "name": "string.xmlui" }
314
- }
315
- },
316
- {
317
- "match": "(?:^|\\s+)((?:[a-zA-Z$_][-\\w.$]*:)?)([a-zA-Z$_][-\\w.$]*)",
318
- "name": "entity.other.attribute-name.localname.xmlui",
319
- "captures": {
320
- "1": { "name": "keyword.operator.namespace.xmlui" },
321
- "2": { "name": "entity.other.attribute-name.localname.xmlui" }
322
- }
323
- }
324
- ]
325
- },
326
- "comments": {
327
- "patterns": [
328
- {
329
- "begin": "<!--",
330
- "captures": {
331
- "0": {
332
- "name": "punctuation.definition.comment.xmlui"
333
- }
334
- },
335
- "end": "-->",
336
- "name": "comment.block.xmlui"
337
- }
338
- ]
339
- }
340
- }
341
- }