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.
Files changed (28) hide show
  1. package/dist/lib/{index-Bm0sNu3Q.mjs → index-Bp_BDtXG.mjs} +3631 -3624
  2. package/dist/lib/index.css +1 -1
  3. package/dist/lib/{initMock-BJWFwa64.mjs → initMock-sQ134eLj.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/{metadata-utils-Bes0jMw3.mjs → metadata-utils-DJhOKFL6.mjs} +1 -1
  7. package/dist/lib/{server-common-CfdMYx46.mjs → server-common-BORb4y7v.mjs} +5142 -4745
  8. package/dist/lib/{transform-C_5kSXBN.mjs → transform-bUuxPyao.mjs} +419 -388
  9. package/dist/lib/xmlui-parser.d.ts +24 -6
  10. package/dist/lib/xmlui-parser.mjs +2 -2
  11. package/dist/lib/{xmlui-serializer-jEIItW8v.mjs → xmlui-serializer-BLFl30t9.mjs} +1 -1
  12. package/dist/lib/xmlui.d.ts +3 -0
  13. package/dist/lib/xmlui.mjs +2 -2
  14. package/dist/metadata/{collectedComponentMetadata-BLxDndi5.mjs → collectedComponentMetadata-BhZTLaIe.mjs} +5052 -5016
  15. package/dist/metadata/{initMock-DRxSMFJz.mjs → initMock-C1rf5mFV.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 +74 -74
  19. package/dist/scripts/package.json +1 -1
  20. package/dist/scripts/src/components/Backdrop/Backdrop.js +5 -3
  21. package/dist/scripts/src/components/Backdrop/BackdropNative.js +2 -6
  22. package/dist/scripts/src/components/Markdown/parse-binding-expr.js +27 -15
  23. package/dist/scripts/src/components/Switch/Switch.js +1 -2
  24. package/dist/scripts/src/parsers/xmlui-parser/diagnostics.js +29 -7
  25. package/dist/scripts/src/parsers/xmlui-parser/parser.js +17 -10
  26. package/dist/standalone/xmlui-standalone.es.d.ts +3 -0
  27. package/dist/standalone/xmlui-standalone.umd.js +204 -204
  28. 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.expAttrNameAfterNamespace;
571
- readonly message: "An attribute name expected after a namespaces.";
585
+ readonly code: ErrCodes.expTagNameAfterCloseStart;
586
+ readonly message: "Expected tag name after '</'.";
572
587
  };
573
- readonly expTagNameAfterNamespace: {
588
+ readonly expAttrNameBeforeEq: {
574
589
  readonly category: DiagnosticCategory.Error;
575
- readonly code: ErrCodes.expTagNameAfterNamespace;
576
- readonly message: "A tag name expected after a namespaces.";
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-C_5kSXBN.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-jEIItW8v.mjs";
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-C_5kSXBN.mjs";
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) {
@@ -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",
@@ -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-Bm0sNu3Q.mjs";
2
- import { X as w } from "./xmlui-serializer-jEIItW8v.mjs";
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,