@sia.soul/sia-react-ui 0.1.87 → 0.1.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10541,14 +10541,16 @@ function dialectTokenizer(language) {
|
|
|
10541
10541
|
// T-SQL Unicode 字符串、局部/系统变量及参数占位符单独着色,不能吞掉后续语句。
|
|
10542
10542
|
...language === "sql-sqlserver" ? [
|
|
10543
10543
|
[/N'/i, { token: "string.quote", next: "@string" }],
|
|
10544
|
-
|
|
10544
|
+
// Monarch 将 @ 视作词法宏前缀,使用字符编码避免 @@? 被展开成可选 @。
|
|
10545
|
+
[/\x40{1,2}[\w$#]+/, "variable"],
|
|
10545
10546
|
[/0x[\da-f]+/i, "number.hex"]
|
|
10546
10547
|
] : [],
|
|
10547
10548
|
[/[a-zA-Z_@$#][\w@$#]*/, {
|
|
10548
10549
|
cases: {
|
|
10549
10550
|
"@keywords": "keyword",
|
|
10550
10551
|
"@builtins": "type",
|
|
10551
|
-
|
|
10552
|
+
// Monaco 内置明暗主题为 predefined.sql 配色,保留此前缀才能让函数实际显示高亮。
|
|
10553
|
+
"@functions": "predefined.sql",
|
|
10552
10554
|
"@default": "identifier"
|
|
10553
10555
|
}
|
|
10554
10556
|
}],
|
package/dist/index.js
CHANGED
|
@@ -3374,14 +3374,16 @@ function dialectTokenizer(language) {
|
|
|
3374
3374
|
// T-SQL Unicode 字符串、局部/系统变量及参数占位符单独着色,不能吞掉后续语句。
|
|
3375
3375
|
...language === "sql-sqlserver" ? [
|
|
3376
3376
|
[/N'/i, { token: "string.quote", next: "@string" }],
|
|
3377
|
-
|
|
3377
|
+
// Monarch 将 @ 视作词法宏前缀,使用字符编码避免 @@? 被展开成可选 @。
|
|
3378
|
+
[/\x40{1,2}[\w$#]+/, "variable"],
|
|
3378
3379
|
[/0x[\da-f]+/i, "number.hex"]
|
|
3379
3380
|
] : [],
|
|
3380
3381
|
[/[a-zA-Z_@$#][\w@$#]*/, {
|
|
3381
3382
|
cases: {
|
|
3382
3383
|
"@keywords": "keyword",
|
|
3383
3384
|
"@builtins": "type",
|
|
3384
|
-
|
|
3385
|
+
// Monaco 内置明暗主题为 predefined.sql 配色,保留此前缀才能让函数实际显示高亮。
|
|
3386
|
+
"@functions": "predefined.sql",
|
|
3385
3387
|
"@default": "identifier"
|
|
3386
3388
|
}
|
|
3387
3389
|
}],
|