mx-ui-components-pkg 0.0.717-alpha.142 → 0.0.717-alpha.144

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.
@@ -1,4 +1,4 @@
1
- import { m as et } from "./index-u1Scd6H6.js";
1
+ import { m as et } from "./index-i7RnQ_4n.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as f } from "./index-u1Scd6H6.js";
1
+ import { m as f } from "./index-i7RnQ_4n.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-u1Scd6H6.js";
1
+ import { m as l } from "./index-i7RnQ_4n.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-u1Scd6H6.js";
1
+ import { m as s } from "./index-i7RnQ_4n.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as lt } from "./index-u1Scd6H6.js";
1
+ import { m as lt } from "./index-i7RnQ_4n.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -25909,7 +25909,7 @@ function(i) {
25909
25909
  */
25910
25910
  function(i) {
25911
25911
  function e() {
25912
- return (to.canvg ? Promise.resolve(to.canvg) : import("./index.es-BCS7k8Yx.js")).catch(function(t) {
25912
+ return (to.canvg ? Promise.resolve(to.canvg) : import("./index.es-H0eFCexF.js")).catch(function(t) {
25913
25913
  return Promise.reject(new Error("Could not load canvg: " + t));
25914
25914
  }).then(function(t) {
25915
25915
  return t.default ? t.default : t;
@@ -78742,7 +78742,7 @@ const Zjt = /* @__PURE__ */ Qq(Jjt), eKt = Zjt, qv = {
78742
78742
  C.append(b, E);
78743
78743
  }) : C.append(b, d[b]);
78744
78744
  }) : Object.keys(d).forEach((b) => {
78745
- if (typeof d[b] == "object" && d[b] !== null && d[b].type !== "application/json")
78745
+ if (typeof d[b] == "object" && d[b] !== null && d[b].type !== "application/json" && d[b].type !== "text/html")
78746
78746
  if (g) {
78747
78747
  const x = m.indexOf(b) > -1 ? encodeURIComponent(JSON.stringify(d[b])) : d[b];
78748
78748
  C.append(b, x);
@@ -80344,6 +80344,14 @@ const Zjt = /* @__PURE__ */ Qq(Jjt), eKt = Zjt, qv = {
80344
80344
  if (r.getElementsByTagName("parsererror").length > 0)
80345
80345
  throw new Error("Invalid DITA/XML content");
80346
80346
  return i = r.documentElement.outerHTML, i;
80347
+ },
80348
+ trimExtensionFromFileName: (i, e, t) => {
80349
+ const n = e.meta.name;
80350
+ if (i && n && i[n].length > 0) {
80351
+ let r = i[n][0].name;
80352
+ r = r.split(".")[0], i[n][0].name = r;
80353
+ }
80354
+ return i;
80347
80355
  }
80348
80356
  };
80349
80357
  (() => {
@@ -270393,37 +270401,37 @@ Gi({
270393
270401
  id: "freemarker2",
270394
270402
  extensions: [".ftl", ".ftlh", ".ftlx"],
270395
270403
  aliases: ["FreeMarker2", "Apache FreeMarker2"],
270396
- loader: () => import("./freemarker2-NSC3zCZY.js").then((i) => i.TagAutoInterpolationDollar)
270404
+ loader: () => import("./freemarker2-DLDvInYM.js").then((i) => i.TagAutoInterpolationDollar)
270397
270405
  });
270398
270406
  Gi({
270399
270407
  id: "freemarker2.tag-angle.interpolation-dollar",
270400
270408
  aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
270401
- loader: () => import("./freemarker2-NSC3zCZY.js").then((i) => i.TagAngleInterpolationDollar)
270409
+ loader: () => import("./freemarker2-DLDvInYM.js").then((i) => i.TagAngleInterpolationDollar)
270402
270410
  });
270403
270411
  Gi({
270404
270412
  id: "freemarker2.tag-bracket.interpolation-dollar",
270405
270413
  aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
270406
- loader: () => import("./freemarker2-NSC3zCZY.js").then((i) => i.TagBracketInterpolationDollar)
270414
+ loader: () => import("./freemarker2-DLDvInYM.js").then((i) => i.TagBracketInterpolationDollar)
270407
270415
  });
270408
270416
  Gi({
270409
270417
  id: "freemarker2.tag-angle.interpolation-bracket",
270410
270418
  aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
270411
- loader: () => import("./freemarker2-NSC3zCZY.js").then((i) => i.TagAngleInterpolationBracket)
270419
+ loader: () => import("./freemarker2-DLDvInYM.js").then((i) => i.TagAngleInterpolationBracket)
270412
270420
  });
270413
270421
  Gi({
270414
270422
  id: "freemarker2.tag-bracket.interpolation-bracket",
270415
270423
  aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
270416
- loader: () => import("./freemarker2-NSC3zCZY.js").then((i) => i.TagBracketInterpolationBracket)
270424
+ loader: () => import("./freemarker2-DLDvInYM.js").then((i) => i.TagBracketInterpolationBracket)
270417
270425
  });
270418
270426
  Gi({
270419
270427
  id: "freemarker2.tag-auto.interpolation-dollar",
270420
270428
  aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
270421
- loader: () => import("./freemarker2-NSC3zCZY.js").then((i) => i.TagAutoInterpolationDollar)
270429
+ loader: () => import("./freemarker2-DLDvInYM.js").then((i) => i.TagAutoInterpolationDollar)
270422
270430
  });
270423
270431
  Gi({
270424
270432
  id: "freemarker2.tag-auto.interpolation-bracket",
270425
270433
  aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
270426
- loader: () => import("./freemarker2-NSC3zCZY.js").then((i) => i.TagAutoInterpolationBracket)
270434
+ loader: () => import("./freemarker2-DLDvInYM.js").then((i) => i.TagAutoInterpolationBracket)
270427
270435
  });
270428
270436
  /*!-----------------------------------------------------------------------------
270429
270437
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -270461,7 +270469,7 @@ Gi({
270461
270469
  extensions: [".handlebars", ".hbs"],
270462
270470
  aliases: ["Handlebars", "handlebars", "hbs"],
270463
270471
  mimetypes: ["text/x-handlebars-template"],
270464
- loader: () => import("./handlebars-BDJB-3Bo.js")
270472
+ loader: () => import("./handlebars-B_iys9uJ.js")
270465
270473
  });
270466
270474
  /*!-----------------------------------------------------------------------------
270467
270475
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -270486,7 +270494,7 @@ Gi({
270486
270494
  extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
270487
270495
  aliases: ["HTML", "htm", "html", "xhtml"],
270488
270496
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
270489
- loader: () => import("./html-C-VCyFtU.js")
270497
+ loader: () => import("./html-C_iXRs1M.js")
270490
270498
  });
270491
270499
  /*!-----------------------------------------------------------------------------
270492
270500
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -270527,7 +270535,7 @@ Gi({
270527
270535
  filenames: ["jakefile"],
270528
270536
  aliases: ["JavaScript", "javascript", "js"],
270529
270537
  mimetypes: ["text/javascript"],
270530
- loader: () => import("./javascript-B6ZjNSqI.js")
270538
+ loader: () => import("./javascript-CQcbOHRu.js")
270531
270539
  });
270532
270540
  /*!-----------------------------------------------------------------------------
270533
270541
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -270602,7 +270610,7 @@ Gi({
270602
270610
  extensions: [".liquid", ".html.liquid"],
270603
270611
  aliases: ["Liquid", "liquid"],
270604
270612
  mimetypes: ["application/liquid"],
270605
- loader: () => import("./liquid-Bxjf_0V_.js")
270613
+ loader: () => import("./liquid-DfxNaeRq.js")
270606
270614
  });
270607
270615
  /*!-----------------------------------------------------------------------------
270608
270616
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -270638,7 +270646,7 @@ Gi({
270638
270646
  id: "mdx",
270639
270647
  extensions: [".mdx"],
270640
270648
  aliases: ["MDX", "mdx"],
270641
- loader: () => import("./mdx-BPV2Sy2y.js")
270649
+ loader: () => import("./mdx-VYuJIi7H.js")
270642
270650
  });
270643
270651
  /*!-----------------------------------------------------------------------------
270644
270652
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -270833,7 +270841,7 @@ Gi({
270833
270841
  extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
270834
270842
  aliases: ["Python", "py"],
270835
270843
  firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
270836
- loader: () => import("./python-DXPtDiUq.js")
270844
+ loader: () => import("./python-Dre60Zw4.js")
270837
270845
  });
270838
270846
  /*!-----------------------------------------------------------------------------
270839
270847
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -270870,7 +270878,7 @@ Gi({
270870
270878
  extensions: [".cshtml"],
270871
270879
  aliases: ["Razor", "razor"],
270872
270880
  mimetypes: ["text/x-cshtml"],
270873
- loader: () => import("./razor-B82FHMJf.js")
270881
+ loader: () => import("./razor-ZznycCHN.js")
270874
270882
  });
270875
270883
  /*!-----------------------------------------------------------------------------
270876
270884
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -271122,7 +271130,7 @@ Gi({
271122
271130
  extensions: [".ts", ".tsx", ".cts", ".mts"],
271123
271131
  aliases: ["TypeScript", "ts", "typescript"],
271124
271132
  mimetypes: ["text/typescript"],
271125
- loader: () => import("./typescript-DsJBR5Ut.js")
271133
+ loader: () => import("./typescript-CN-z2RM8.js")
271126
271134
  });
271127
271135
  /*!-----------------------------------------------------------------------------
271128
271136
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -271190,7 +271198,7 @@ Gi({
271190
271198
  firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
271191
271199
  aliases: ["XML", "xml"],
271192
271200
  mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
271193
- loader: () => import("./xml-MMF0mhik.js")
271201
+ loader: () => import("./xml-BHVxfbVg.js")
271194
271202
  });
271195
271203
  /*!-----------------------------------------------------------------------------
271196
271204
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -271203,7 +271211,7 @@ Gi({
271203
271211
  extensions: [".yaml", ".yml"],
271204
271212
  aliases: ["YAML", "yaml", "YML", "yml"],
271205
271213
  mimetypes: ["application/x-yaml", "text/x-yaml"],
271206
- loader: () => import("./yaml-Ly_4umXL.js")
271214
+ loader: () => import("./yaml-Cw1mxYhg.js")
271207
271215
  });
271208
271216
  /*!-----------------------------------------------------------------------------
271209
271217
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -271306,7 +271314,7 @@ var bFe = class {
271306
271314
  );
271307
271315
  F8.languages.css = { cssDefaults: qIt, lessDefaults: $It, scssDefaults: QIt };
271308
271316
  function SFe() {
271309
- return import("./cssMode-DEtt8IqZ.js");
271317
+ return import("./cssMode-Dv0KUNn8.js");
271310
271318
  }
271311
271319
  F8.languages.onLanguage("less", () => {
271312
271320
  SFe().then((i) => i.setupMode($It));
@@ -271412,7 +271420,7 @@ _de.languages.html = {
271412
271420
  registerHTMLLanguageService: wde
271413
271421
  };
271414
271422
  function JZn() {
271415
- return import("./htmlMode-CGP42k4Y.js");
271423
+ return import("./htmlMode-DNDEZajq.js");
271416
271424
  }
271417
271425
  function wde(i, e = yde, t = bde(i)) {
271418
271426
  const n = new $Zn(i, e, t);
@@ -271489,7 +271497,7 @@ var sei = class {
271489
271497
  ), lei = () => JIt().then((i) => i.getWorker());
271490
271498
  u$.languages.json = { jsonDefaults: XIt, getWorker: lei };
271491
271499
  function JIt() {
271492
- return import("./jsonMode-YrWrFA6g.js");
271500
+ return import("./jsonMode-Bb3VKSwY.js");
271493
271501
  }
271494
271502
  u$.languages.register({
271495
271503
  id: "json",
@@ -271653,7 +271661,7 @@ f6.languages.typescript = {
271653
271661
  getJavaScriptWorker: Aei
271654
271662
  };
271655
271663
  function Cde() {
271656
- return import("./tsMode-BiLo6W8N.js");
271664
+ return import("./tsMode-BY4VeslJ.js");
271657
271665
  }
271658
271666
  f6.languages.onLanguage("typescript", () => Cde().then((i) => i.setupTypeScript(oLt)));
271659
271667
  f6.languages.onLanguage("javascript", () => Cde().then((i) => i.setupJavaScript(aLt)));
@@ -312697,16 +312705,18 @@ class dfi extends ri {
312697
312705
  this.setBindings(t, () => {
312698
312706
  });
312699
312707
  const n = JSON.parse(this.getAttribute("props") || "{}");
312700
- Object.keys(n).forEach((l) => {
312701
- this.setAttribute(l, n[l] ?? "");
312708
+ Object.keys(n).forEach((u) => {
312709
+ this.setAttribute(u, n[u] ?? "");
312702
312710
  });
312703
- const { color: r = "#000000", colorInputStyles: s = "", colorValueDisplayStyles: o = "hidden" } = n, a = document.createElement("div");
312704
- this.input = document.createElement("input"), this.input.className = s, this.input.type = "color", a.appendChild(this.input), this.colorValueDisplay = document.createElement("input"), this.colorValueDisplay.type = "text", this.colorValueDisplay.readOnly = !0, this.colorValueDisplay.className = o, this.componentName = this.getAttribute("name") || "name", a.appendChild(this.colorValueDisplay), this.appendChild(a), this.input.addEventListener("input", this.handleColorChange.bind(this)), this.input.value = r, this.updateColorValueDisplay(r);
312711
+ const { color: r = "#000000", colorInputStyles: s = "", colorValueDisplayStyles: o = "hidden", colorDivStyles: a = "flex flex-col", isReadOnly: l = "true" } = n, c = document.createElement("div");
312712
+ this.input = document.createElement("input"), this.input.className = s, this.input.type = "color", c.appendChild(this.input), this.colorValueDisplay = document.createElement("input"), this.colorValueDisplay.type = "text", this.colorValueDisplay.readOnly = l == "true", this.colorValueDisplay.className = o, this.componentName = this.getAttribute("name") || "name", c.className = a, c.appendChild(this.colorValueDisplay), this.appendChild(c), this.input.addEventListener("input", this.handleColorChange.bind(this)), this.input.value = r, this.updateColorValueDisplay(r);
312705
312713
  }
312706
312714
  handleColorChange(t) {
312707
- var r;
312715
+ var s;
312708
312716
  const n = t.target.value;
312709
- this.updateColorValueDisplay(n), (r = this.signal) == null || r.set({ [this.componentName]: n || "#ffffff" }), this.updateState({ [this.componentName]: n || "#ffffff" });
312717
+ this.updateColorValueDisplay(n);
312718
+ let r = this.getState();
312719
+ (s = this.signal) == null || s.set({ ...r, [this.componentName]: n || "#ffffff" }), this.updateState({ ...r, [this.componentName]: n || "#ffffff" });
312710
312720
  }
312711
312721
  updateColorValueDisplay(t) {
312712
312722
  this.colorValueDisplay && (this.colorValueDisplay.value = t);
@@ -1,4 +1,4 @@
1
- import { c as Qe, _ as za, g as Io } from "./index-u1Scd6H6.js";
1
+ import { c as Qe, _ as za, g as Io } from "./index-i7RnQ_4n.js";
2
2
  var ht = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, _ = (
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ag as o, aV as e, N as i, aq as t, bl as r, bI as b, au as n, p as u, q as d, bj as C, B as M, Q as m, j as l, l as p, aa as c, be as g, K as h, bh as D, x as y, a6 as A, bA as B, aZ as T, a_ as w, bZ as I, b9 as S, aW as P, aX as F, bB as R, b5 as k, aC as x, b7 as v, aG as H, aE as L, aF as f, bb as E, ba as G, bc as N, bC as O, bE as V, bX as W, C as U, bL as q, V as z, bn as J, ar as K, b3 as X, bR as j, aS as Q, bS as Y, E as Z, ac as $, aT as _, F as aa, bs as sa, bG as oa, b2 as ea, X as ia, Y as ta, Z as ra, $ as ba, a0 as na, a1 as ua, bt as da, a2 as Ca, b8 as Ma, as as ma, I as la, a4 as pa, ai as ca, a3 as ga, bv as ha, af as Da, bi as ya, ah as Aa, ad as Ba, r as Ta, av as wa, aN as Ia, aQ as Sa, aO as Pa, aP as Fa, bd as Ra, n as ka, bH as xa, aU as va, b1 as Ha, ab as La, bU as fa, y as Ea, u as Ga, s as Na, e as Oa, bf as Va, bV as Wa, a$ as Ua, o as qa, az as za, bP as Ja, aK as Ka, aI as Xa, aJ as ja, bN as Qa, c0 as Ya, bY as Za, b$ as $a, bQ as _a, bO as as, b as ss, bD as os, k as es, c1 as is, d as ts, v as rs, b_ as bs, aY as ns, b0 as us, bF as ds, bW as Cs, M as Ms, h as ms, bw as ls, i as ps, bz as cs, by as gs, bx as hs, a9 as Ds, br as ys, G as As, aw as Bs, ay as Ts, ax as ws, A as Is, aD as Ss, bJ as Ps, bK as Fs, bM as Rs, O as ks, P as xs, bm as vs, aj as Hs, ak as Ls, D as fs, f as Es, a7 as Gs, am as Ns, aH as Os, a8 as Vs, bq as Ws, L as Us, R as qs, bk as zs, a5 as Js, z as Ks, at as Xs, bu as js, bp as Qs, bo as Ys, an as Zs, J as $s, S as _s, U as ao, H as so, T as oo, w as eo, ao as io, ap as to, b4 as ro, aA as bo, bT as no, al as uo, ae as Co, b6 as Mo, a9 as mo, W as lo, aR as po, bg as co, aB as go, aM as ho, a as Do, aL as yo } from "./index-u1Scd6H6.js";
1
+ import { ag as o, aV as e, N as i, aq as t, bl as r, bI as b, au as n, p as u, q as d, bj as C, B as M, Q as m, j as l, l as p, aa as c, be as g, K as h, bh as D, x as y, a6 as A, bA as B, aZ as T, a_ as w, bZ as I, b9 as S, aW as P, aX as F, bB as R, b5 as k, aC as x, b7 as v, aG as H, aE as L, aF as f, bb as E, ba as G, bc as N, bC as O, bE as V, bX as W, C as U, bL as q, V as z, bn as J, ar as K, b3 as X, bR as j, aS as Q, bS as Y, E as Z, ac as $, aT as _, F as aa, bs as sa, bG as oa, b2 as ea, X as ia, Y as ta, Z as ra, $ as ba, a0 as na, a1 as ua, bt as da, a2 as Ca, b8 as Ma, as as ma, I as la, a4 as pa, ai as ca, a3 as ga, bv as ha, af as Da, bi as ya, ah as Aa, ad as Ba, r as Ta, av as wa, aN as Ia, aQ as Sa, aO as Pa, aP as Fa, bd as Ra, n as ka, bH as xa, aU as va, b1 as Ha, ab as La, bU as fa, y as Ea, u as Ga, s as Na, e as Oa, bf as Va, bV as Wa, a$ as Ua, o as qa, az as za, bP as Ja, aK as Ka, aI as Xa, aJ as ja, bN as Qa, c0 as Ya, bY as Za, b$ as $a, bQ as _a, bO as as, b as ss, bD as os, k as es, c1 as is, d as ts, v as rs, b_ as bs, aY as ns, b0 as us, bF as ds, bW as Cs, M as Ms, h as ms, bw as ls, i as ps, bz as cs, by as gs, bx as hs, a9 as Ds, br as ys, G as As, aw as Bs, ay as Ts, ax as ws, A as Is, aD as Ss, bJ as Ps, bK as Fs, bM as Rs, O as ks, P as xs, bm as vs, aj as Hs, ak as Ls, D as fs, f as Es, a7 as Gs, am as Ns, aH as Os, a8 as Vs, bq as Ws, L as Us, R as qs, bk as zs, a5 as Js, z as Ks, at as Xs, bu as js, bp as Qs, bo as Ys, an as Zs, J as $s, S as _s, U as ao, H as so, T as oo, w as eo, ao as io, ap as to, b4 as ro, aA as bo, bT as no, al as uo, ae as Co, b6 as Mo, a9 as mo, W as lo, aR as po, bg as co, aB as go, aM as ho, a as Do, aL as yo } from "./index-i7RnQ_4n.js";
2
2
  export {
3
3
  o as A,
4
4
  e as Action,