xmlui 0.9.86 → 0.9.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/lib/{index-Bm0sNu3Q.mjs → index-Bp_BDtXG.mjs} +3631 -3624
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-BJWFwa64.mjs → initMock-sQ134eLj.mjs} +1 -1
- package/dist/lib/language-server-web-worker.mjs +1 -1
- package/dist/lib/language-server.mjs +1 -1
- package/dist/lib/{metadata-utils-Bes0jMw3.mjs → metadata-utils-DJhOKFL6.mjs} +1 -1
- package/dist/lib/{server-common-CfdMYx46.mjs → server-common-BORb4y7v.mjs} +5142 -4745
- package/dist/lib/{transform-C_5kSXBN.mjs → transform-bUuxPyao.mjs} +419 -388
- package/dist/lib/xmlui-parser.d.ts +24 -6
- package/dist/lib/xmlui-parser.mjs +2 -2
- package/dist/lib/{xmlui-serializer-jEIItW8v.mjs → xmlui-serializer-BLFl30t9.mjs} +1 -1
- package/dist/lib/xmlui.d.ts +3 -0
- package/dist/lib/xmlui.mjs +2 -2
- package/dist/metadata/{collectedComponentMetadata-BLxDndi5.mjs → collectedComponentMetadata-BhZTLaIe.mjs} +5052 -5016
- package/dist/metadata/{initMock-DRxSMFJz.mjs → initMock-C1rf5mFV.mjs} +1 -1
- package/dist/metadata/style.css +1 -1
- package/dist/metadata/xmlui-metadata.mjs +1 -1
- package/dist/metadata/xmlui-metadata.umd.js +74 -74
- package/dist/scripts/package.json +1 -1
- package/dist/scripts/src/components/Backdrop/Backdrop.js +5 -3
- package/dist/scripts/src/components/Backdrop/BackdropNative.js +2 -6
- package/dist/scripts/src/components/Markdown/parse-binding-expr.js +27 -15
- package/dist/scripts/src/components/Switch/Switch.js +1 -2
- package/dist/scripts/src/parsers/xmlui-parser/diagnostics.js +29 -7
- package/dist/scripts/src/parsers/xmlui-parser/parser.js +17 -10
- package/dist/standalone/xmlui-standalone.es.d.ts +3 -0
- package/dist/standalone/xmlui-standalone.umd.js +204 -204
- package/package.json +1 -1
|
@@ -500,6 +500,11 @@ export declare function diagnosticCategoryName(d: {
|
|
|
500
500
|
}, lowerCase?: boolean): string;
|
|
501
501
|
|
|
502
502
|
export declare const DIAGS: {
|
|
503
|
+
readonly unexpectedCloseTag: {
|
|
504
|
+
readonly category: DiagnosticCategory.Error;
|
|
505
|
+
readonly code: ErrCodes.unexpectedCloseTag;
|
|
506
|
+
readonly message: "Read '</', but there's no opening tag to close. You have too many closing tags.";
|
|
507
|
+
};
|
|
503
508
|
readonly expCloseStartWithName: (openTagName: string) => {
|
|
504
509
|
category: DiagnosticCategory;
|
|
505
510
|
code: ErrCodes;
|
|
@@ -565,15 +570,25 @@ export declare const DIAGS: {
|
|
|
565
570
|
readonly code: ErrCodes.expAttrName;
|
|
566
571
|
readonly message: "An attribute name expected.";
|
|
567
572
|
};
|
|
568
|
-
readonly expAttrNameAfterNamespace: {
|
|
573
|
+
readonly expAttrNameAfterNamespace: (namespaceName: string) => {
|
|
574
|
+
category: DiagnosticCategory;
|
|
575
|
+
code: ErrCodes;
|
|
576
|
+
message: string;
|
|
577
|
+
};
|
|
578
|
+
readonly expTagNameAfterNamespace: (namespaceName: string) => {
|
|
579
|
+
category: DiagnosticCategory;
|
|
580
|
+
code: ErrCodes;
|
|
581
|
+
message: string;
|
|
582
|
+
};
|
|
583
|
+
readonly expTagNameAfterCloseStart: {
|
|
569
584
|
readonly category: DiagnosticCategory.Error;
|
|
570
|
-
readonly code: ErrCodes.
|
|
571
|
-
readonly message: "
|
|
585
|
+
readonly code: ErrCodes.expTagNameAfterCloseStart;
|
|
586
|
+
readonly message: "Expected tag name after '</'.";
|
|
572
587
|
};
|
|
573
|
-
readonly
|
|
588
|
+
readonly expAttrNameBeforeEq: {
|
|
574
589
|
readonly category: DiagnosticCategory.Error;
|
|
575
|
-
readonly code: ErrCodes.
|
|
576
|
-
readonly message: "
|
|
590
|
+
readonly code: ErrCodes.expAttrNameBeforeEq;
|
|
591
|
+
readonly message: "Expected attribute name before '='.";
|
|
577
592
|
};
|
|
578
593
|
};
|
|
579
594
|
|
|
@@ -611,6 +626,9 @@ export declare enum ErrCodes {
|
|
|
611
626
|
expTagNameAfterNamespace = "U014",
|
|
612
627
|
expCloseStartWithName = "U015",
|
|
613
628
|
expAttrNameAfterNamespace = "U016",
|
|
629
|
+
unexpectedCloseTag = "U017",
|
|
630
|
+
expTagNameAfterCloseStart = "U019",
|
|
631
|
+
expAttrNameBeforeEq = "U020",
|
|
614
632
|
invalidChar = "W001",
|
|
615
633
|
untermStr = "W002",
|
|
616
634
|
untermComment = "W007",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as s, s as t, A as i, t as r, v as n, C as o, r as d, a as g, b as m, f as C, e as p, g as l, c as N, D as _, o as D, E as c, N as E, P as S, S as x, T as U, U as A, j as L, h as P, d as f, i as y, B as u, n as b, k as h, m as M, l as v, w as I, u as O, p as T, x as K, z as R, y as X } from "./transform-
|
|
2
|
-
import { b as F, L as B, X as j, a as q, c as w, g as z, e as G, l as H, d as V, m as W, p as J } from "./xmlui-serializer-
|
|
1
|
+
import { q as s, s as t, A as i, t as r, v as n, C as o, r as d, a as g, b as m, f as C, e as p, g as l, c as N, D as _, o as D, E as c, N as E, P as S, S as x, T as U, U as A, j as L, h as P, d as f, i as y, B as u, n as b, k as h, m as M, l as v, w as I, u as O, p as T, x as K, z as R, y as X } from "./transform-bUuxPyao.mjs";
|
|
2
|
+
import { b as F, L as B, X as j, a as q, c as w, g as z, e as G, l as H, d as V, m as W, p as J } from "./xmlui-serializer-BLFl30t9.mjs";
|
|
3
3
|
export {
|
|
4
4
|
s as AttributeKeyNode,
|
|
5
5
|
t as AttributeListNode,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as A, t as j } from "./transform-
|
|
1
|
+
import { v as A, t as j } from "./transform-bUuxPyao.mjs";
|
|
2
2
|
const k = "xmlui", P = "xmlui.xs", D = "xs";
|
|
3
3
|
var V = /* @__PURE__ */ ((l) => (l[l.Skip = 0] = "Skip", l[l.Warning = 1] = "Warning", l[l.Error = 2] = "Error", l))(V || {}), w = /* @__PURE__ */ ((l) => (l[l.UnrecognisedProp = 0] = "UnrecognisedProp", l))(w || {});
|
|
4
4
|
function L(l) {
|
package/dist/lib/xmlui.d.ts
CHANGED
|
@@ -620,6 +620,9 @@ declare enum ErrCodes {
|
|
|
620
620
|
expTagNameAfterNamespace = "U014",
|
|
621
621
|
expCloseStartWithName = "U015",
|
|
622
622
|
expAttrNameAfterNamespace = "U016",
|
|
623
|
+
unexpectedCloseTag = "U017",
|
|
624
|
+
expTagNameAfterCloseStart = "U019",
|
|
625
|
+
expAttrNameBeforeEq = "U020",
|
|
623
626
|
invalidChar = "W001",
|
|
624
627
|
untermStr = "W002",
|
|
625
628
|
untermComment = "W007",
|
package/dist/lib/xmlui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as e, A as t, B as o, E as r, I as n, L as p, J as u, N as i, z as l, i as m, h as C, S as d, b as x, k as T, l as c, F as S, G as A, H as g, V as h, D as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, M as V, n as f, q as H, O as N, v as R, K as D, u as U, C as X, x as j } from "./index-
|
|
2
|
-
import { X as w } from "./xmlui-serializer-
|
|
1
|
+
import { y as e, A as t, B as o, E as r, I as n, L as p, J as u, N as i, z as l, i as m, h as C, S as d, b as x, k as T, l as c, F as S, G as A, H as g, V as h, D as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, M as V, n as f, q as H, O as N, v as R, K as D, u as U, C as X, x as j } from "./index-Bp_BDtXG.mjs";
|
|
2
|
+
import { X as w } from "./xmlui-serializer-BLFl30t9.mjs";
|
|
3
3
|
export {
|
|
4
4
|
e as ApiInterceptorProvider,
|
|
5
5
|
t as AppRoot,
|