xmlui 0.9.30 → 0.9.32
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/lib/{apiInterceptorWorker-D8UVXhKa.mjs → apiInterceptorWorker-Dw62WlhP.mjs} +1 -1
- package/dist/lib/{index-BF7GNHsi.mjs → index-DgDH41u4.mjs} +5541 -3001
- package/dist/lib/index.css +2 -2
- package/dist/lib/language-server-web-worker.d.ts +0 -633
- package/dist/lib/language-server-web-worker.mjs +1 -1
- package/dist/lib/language-server.d.ts +0 -633
- package/dist/lib/language-server.mjs +1 -1
- package/dist/lib/lint-B5OU130e.mjs +659 -0
- package/dist/lib/{metadata-utils-CCIMqe69.mjs → metadata-utils-DyYovNew.mjs} +42 -15
- package/dist/lib/{server-common-B0FCNpIT.mjs → server-common-1aXZ-B7H.mjs} +3 -28
- package/dist/lib/{transform-DC0Gy6qw.mjs → transform-B-MhfH46.mjs} +78 -78
- package/dist/lib/xmlui-parser.d.ts +0 -633
- package/dist/lib/xmlui-parser.mjs +47 -538
- package/dist/lib/xmlui.d.ts +221 -634
- package/dist/lib/xmlui.mjs +12 -2
- package/dist/metadata/xmlui-metadata.mjs +3 -3
- package/dist/metadata/xmlui-metadata.umd.js +3 -3
- package/dist/scripts/package.json +3 -2
- package/dist/scripts/src/components/CodeBlock/CodeBlock.js +1 -0
- package/dist/scripts/src/components/NestedApp/NestedAppNative.js +35 -1
- package/dist/scripts/src/components/NestedApp/utils.js +544 -0
- package/dist/scripts/src/components/Pages/Pages.js +2 -2
- package/dist/scripts/src/components/Select/SelectNative.js +2 -2
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-serializer.js +582 -0
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-tree.js +2 -0
- package/dist/standalone/xmlui-standalone.es.d.ts +0 -2790
- package/dist/standalone/xmlui-standalone.umd.js +4088 -921
- package/package.json +3 -2
- package/dist/lib/lint-CYAUfk0_.mjs +0 -168
- package/dist/scripts/src/components/Markdown/highlight-code.js +0 -160
|
@@ -1,4 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as onPrefixRegex, A as stripOnPrefix } from "./transform-B-MhfH46.mjs";
|
|
2
|
+
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
3
|
+
function getAugmentedNamespace(n) {
|
|
4
|
+
if (n.__esModule) return n;
|
|
5
|
+
var f = n.default;
|
|
6
|
+
if (typeof f == "function") {
|
|
7
|
+
var a = function a2() {
|
|
8
|
+
if (this instanceof a2) {
|
|
9
|
+
return Reflect.construct(f, arguments, this.constructor);
|
|
10
|
+
}
|
|
11
|
+
return f.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
a.prototype = f.prototype;
|
|
14
|
+
} else a = {};
|
|
15
|
+
Object.defineProperty(a, "__esModule", { value: true });
|
|
16
|
+
Object.keys(n).forEach(function(k) {
|
|
17
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
18
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function() {
|
|
21
|
+
return n[k];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
return a;
|
|
26
|
+
}
|
|
2
27
|
const LinkTargetMd = [
|
|
3
28
|
{
|
|
4
29
|
value: "_self",
|
|
@@ -443,24 +468,26 @@ export {
|
|
|
443
468
|
MetadataProvider as M,
|
|
444
469
|
TextVariantElement as T,
|
|
445
470
|
VariantPropsKeys as V,
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
471
|
+
addOnPrefix as a,
|
|
472
|
+
alignmentOptionValues as b,
|
|
473
|
+
commonjsGlobal as c,
|
|
474
|
+
alignmentOptionMd as d,
|
|
475
|
+
buttonTypesMd as e,
|
|
476
|
+
buttonThemeMd as f,
|
|
477
|
+
getAugmentedNamespace as g,
|
|
478
|
+
buttonVariantMd as h,
|
|
454
479
|
iconPositionMd as i,
|
|
455
|
-
|
|
456
|
-
|
|
480
|
+
variantOptionsMd as j,
|
|
481
|
+
scrollAnchoringValues as k,
|
|
457
482
|
labelPositionMd as l,
|
|
458
|
-
|
|
459
|
-
|
|
483
|
+
buttonThemeNames as m,
|
|
484
|
+
iconPositionNames as n,
|
|
460
485
|
orientationOptionMd as o,
|
|
461
|
-
|
|
462
|
-
|
|
486
|
+
buttonVariantNames as p,
|
|
487
|
+
httpMethodNames as q,
|
|
488
|
+
layoutOptionKeys as r,
|
|
463
489
|
sizeMd as s,
|
|
464
490
|
triggerPositionNames as t,
|
|
491
|
+
viewportSizeNames as u,
|
|
465
492
|
validationStatusMd as v
|
|
466
493
|
};
|
|
@@ -1,32 +1,7 @@
|
|
|
1
|
+
import { c as commonjsGlobal, g as getAugmentedNamespace, a as addOnPrefix, M as MetadataProvider } from "./metadata-utils-DyYovNew.mjs";
|
|
1
2
|
import { MarkupKind as MarkupKind$1, CompletionItemKind as CompletionItemKind$1, TextDocuments as TextDocuments$1, TextDocumentSyncKind, DidChangeConfigurationNotification } from "vscode-languageserver";
|
|
2
3
|
import { TextDocument as TextDocument$1 } from "vscode-languageserver-textdocument";
|
|
3
|
-
import { S as SyntaxKind,
|
|
4
|
-
import { q as addOnPrefix, M as MetadataProvider } from "./metadata-utils-CCIMqe69.mjs";
|
|
5
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
6
|
-
function getAugmentedNamespace(n) {
|
|
7
|
-
if (n.__esModule) return n;
|
|
8
|
-
var f = n.default;
|
|
9
|
-
if (typeof f == "function") {
|
|
10
|
-
var a = function a2() {
|
|
11
|
-
if (this instanceof a2) {
|
|
12
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
13
|
-
}
|
|
14
|
-
return f.apply(this, arguments);
|
|
15
|
-
};
|
|
16
|
-
a.prototype = f.prototype;
|
|
17
|
-
} else a = {};
|
|
18
|
-
Object.defineProperty(a, "__esModule", { value: true });
|
|
19
|
-
Object.keys(n).forEach(function(k) {
|
|
20
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
21
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function() {
|
|
24
|
-
return n[k];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
return a;
|
|
29
|
-
}
|
|
4
|
+
import { S as SyntaxKind, G as findTokenAtPos, o as createXmlUiParser } from "./transform-B-MhfH46.mjs";
|
|
30
5
|
var main$3 = {};
|
|
31
6
|
var api$2 = {};
|
|
32
7
|
var semanticTokens = {};
|
|
@@ -18127,7 +18102,7 @@ const collectedComponentMetadata = {
|
|
|
18127
18102
|
}
|
|
18128
18103
|
},
|
|
18129
18104
|
"Pages": {
|
|
18130
|
-
"description": "The `Pages` component is used as a container for [`Page`](
|
|
18105
|
+
"description": "The `Pages` component is used as a container for [`Page`](/components/Page) components within an [`App`](/components/App).",
|
|
18131
18106
|
"props": {
|
|
18132
18107
|
"defaultRoute": {
|
|
18133
18108
|
"description": "The default route when displaying the app"
|
|
@@ -6916,84 +6916,84 @@ function stripOnPrefix(name) {
|
|
|
6916
6916
|
return name[2].toLowerCase() + name.substring(3);
|
|
6917
6917
|
}
|
|
6918
6918
|
export {
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6919
|
+
T_CONTINUE_STATEMENT as $,
|
|
6920
|
+
stripOnPrefix as A,
|
|
6921
|
+
toDbgString as B,
|
|
6922
|
+
CharacterCodes as C,
|
|
6923
|
+
DiagnosticCategory as D,
|
|
6924
|
+
ErrCodes as E,
|
|
6925
|
+
tagNameNodesWithoutErrorsMatch as F,
|
|
6926
|
+
findTokenAtPos as G,
|
|
6927
|
+
Parser as H,
|
|
6928
|
+
T_MEMBER_ACCESS_EXPRESSION as I,
|
|
6929
|
+
T_IDENTIFIER as J,
|
|
6930
|
+
T_PREFIX_OP_EXPRESSION as K,
|
|
6931
|
+
T_FUNCTION_DECLARATION as L,
|
|
6932
|
+
T_ARROW_EXPRESSION as M,
|
|
6933
|
+
createXmlUiTreeNodeId as N,
|
|
6934
|
+
T_EMPTY_STATEMENT as O,
|
|
6935
|
+
ParserError2 as P,
|
|
6936
|
+
T_SWITCH_STATEMENT as Q,
|
|
6937
|
+
T_TRY_STATEMENT as R,
|
|
6938
6938
|
SyntaxKind as S,
|
|
6939
6939
|
T_CALCULATED_MEMBER_ACCESS_EXPRESSION as T,
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6940
|
+
UCRegex as U,
|
|
6941
|
+
T_THROW_STATEMENT as V,
|
|
6942
|
+
T_FOR_OF_STATEMENT as W,
|
|
6943
|
+
T_FOR_IN_STATEMENT as X,
|
|
6944
|
+
T_FOR_STATEMENT as Y,
|
|
6945
|
+
T_EXPRESSION_STATEMENT as Z,
|
|
6946
|
+
T_BREAK_STATEMENT as _,
|
|
6947
|
+
Diag_Invalid_Character as a,
|
|
6948
|
+
T_DO_WHILE_STATEMENT as a0,
|
|
6949
|
+
T_WHILE_STATEMENT as a1,
|
|
6950
|
+
T_RETURN_STATEMENT as a2,
|
|
6951
|
+
T_IF_STATEMENT as a3,
|
|
6952
|
+
T_CONST_STATEMENT as a4,
|
|
6953
|
+
T_LET_STATEMENT as a5,
|
|
6954
|
+
T_ARROW_EXPRESSION_STATEMENT as a6,
|
|
6955
|
+
T_BLOCK_STATEMENT as a7,
|
|
6956
|
+
T_VAR_STATEMENT as a8,
|
|
6957
|
+
T_ASSIGNMENT_EXPRESSION as a9,
|
|
6958
|
+
T_LITERAL as aa,
|
|
6959
|
+
T_SPREAD_EXPRESSION as ab,
|
|
6960
|
+
T_FUNCTION_INVOCATION_EXPRESSION as ac,
|
|
6961
|
+
T_POSTFIX_OP_EXPRESSION as ad,
|
|
6962
|
+
T_CONDITIONAL_EXPRESSION as ae,
|
|
6963
|
+
T_BINARY_EXPRESSION as af,
|
|
6964
|
+
T_UNARY_EXPRESSION as ag,
|
|
6965
|
+
T_OBJECT_LITERAL as ah,
|
|
6966
|
+
T_ARRAY_LITERAL as ai,
|
|
6967
|
+
T_SEQUENCE_EXPRESSION as aj,
|
|
6968
|
+
T_TEMPLATE_LITERAL_EXPRESSION as ak,
|
|
6969
|
+
T_VAR_DECLARATION as al,
|
|
6970
|
+
T_DESTRUCTURE as am,
|
|
6971
|
+
PARSED_MARK_PROP as an,
|
|
6972
|
+
collectCodeBehindFromSource as ao,
|
|
6973
|
+
removeCodeBehindTokensFromTree as ap,
|
|
6974
|
+
Diag_Unterminated_String_Literal as b,
|
|
6975
|
+
Diag_Unterminated_Comment as c,
|
|
6976
|
+
diagnosticCategoryName as d,
|
|
6977
|
+
Diag_Unterminated_CData as e,
|
|
6978
|
+
Diag_Unterminated_Script as f,
|
|
6979
|
+
Diag_End_Token_Expected as g,
|
|
6980
|
+
Diag_CloseNodeStart_Token_Expected as h,
|
|
6981
|
+
Diag_Tag_Identifier_Expected as i,
|
|
6982
|
+
Diag_Attr_Value_Expected as j,
|
|
6983
|
+
Diag_Eq_Token_Expected as k,
|
|
6984
|
+
Diag_OpenNodeStart_Token_Expected as l,
|
|
6985
|
+
Diag_End_Or_Close_Token_Expected as m,
|
|
6986
|
+
Diag_Attr_Identifier_Expected as n,
|
|
6987
|
+
createXmlUiParser as o,
|
|
6988
|
+
parseXmlUiMarkup as p,
|
|
6989
|
+
errorMessages as q,
|
|
6990
|
+
createScanner as r,
|
|
6991
|
+
isIdentifierStart as s,
|
|
6992
|
+
isTrivia as t,
|
|
6993
|
+
isInnerNode as u,
|
|
6994
|
+
getSyntaxKindStrRepr as v,
|
|
6995
|
+
COMPOUND_COMP_ID as w,
|
|
6996
|
+
onPrefixRegex as x,
|
|
6997
|
+
CORE_NAMESPACE_VALUE as y,
|
|
6998
|
+
nodeToComponentDef as z
|
|
6999
6999
|
};
|