varmory 1.0.2 → 1.0.3

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/varmory.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { QIcon as ne, QSpinnerOrbit as qn, useQuasar as xo, QBtn as ae, QTooltip as Qo, copyToClipboard as Ln, QTab as It, QTabs as At, QInput as qt, QSeparator as Lt, QItemSection as Ce, QItem as Ie, QList as Ne, QBtnDropdown as Co, QBtnToggle as Io, QSelect as Tt, QSpinner as Tn, QInnerLoading as Dn, QBadge as Bn, QItemLabel as ct, QSpace as Ao, QCardActions as En, QCardSection as jn, QCard as Pn, QDialog as qo, LocalStorage as qe, Dark as Je, QAvatar as zn, QMenu as $n, QBanner as Lo, QTabPanel as Nn, QTabPanels as Rn, QCheckbox as Fn, QRadio as To, QRating as Do, QSlider as Bo, QToggle as On, QChip as Eo, QCircularProgress as jo, QSpinnerComment as Po, QSpinnerGears as zo, QSpinnerTail as $o, QSpinnerRings as No, QSpinnerPuff as Ro, QSpinnerOval as Fo, QSpinnerHourglass as Oo, QSpinnerGrid as Mo, QSpinnerCube as Vo, QSpinnerBall as Uo, QSpinnerAudio as Ho, QSpinnerBars as Jo, QSpinnerDots as Go, Quasar as Wo } from "quasar";
2
- import { resolveComponent as B, openBlock as S, createElementBlock as D, normalizeClass as X, createBlock as $, normalizeStyle as Qe, createCommentVNode as U, renderSlot as te, createElementVNode as u, toDisplayString as R, createVNode as c, Fragment as J, createTextVNode as L, renderList as W, computed as Oe, withCtx as m, withDirectives as N, vModelText as Yo, Transition as nt, resolveDynamicComponent as Zo, defineComponent as Ko, ref as mt, onBeforeMount as Xo, watch as Rt, reactive as ea, h as Ge, createSlots as Mn, TransitionGroup as ta, resolveDirective as Re, mergeProps as Vn } from "vue";
1
+ import { QIcon as ne, QSpinnerOrbit as qn, useQuasar as xo, QBtn as ae, QTooltip as Qo, copyToClipboard as Ln, QTab as It, QTabs as At, QInput as qt, QSeparator as Lt, QItemSection as Ie, QItem as Ae, QList as Ne, QBtnDropdown as Co, QBtnToggle as Io, QSelect as Tt, QSpinner as Tn, QInnerLoading as Dn, QBadge as Bn, QItemLabel as ct, QSpace as Ao, QCardActions as En, QCardSection as jn, QCard as Pn, QDialog as qo, LocalStorage as xe, Dark as Je, QAvatar as zn, QMenu as $n, QBanner as Lo, QTabPanel as Nn, QTabPanels as Rn, QCheckbox as Fn, QRadio as To, QRating as Do, QSlider as Bo, QToggle as On, QChip as Eo, QCircularProgress as jo, QSpinnerComment as Po, QSpinnerGears as zo, QSpinnerTail as $o, QSpinnerRings as No, QSpinnerPuff as Ro, QSpinnerOval as Fo, QSpinnerHourglass as Oo, QSpinnerGrid as Mo, QSpinnerCube as Vo, QSpinnerBall as Uo, QSpinnerAudio as Ho, QSpinnerBars as Jo, QSpinnerDots as Go, Quasar as Wo } from "quasar";
2
+ import { resolveComponent as B, openBlock as S, createElementBlock as D, normalizeClass as X, createBlock as $, normalizeStyle as Ce, createCommentVNode as U, renderSlot as te, createElementVNode as u, toDisplayString as R, createVNode as c, Fragment as J, createTextVNode as L, renderList as W, computed as Oe, withCtx as m, withDirectives as N, vModelText as Yo, Transition as nt, resolveDynamicComponent as Zo, defineComponent as Ko, ref as mt, onBeforeMount as Xo, watch as Rt, reactive as ea, h as Ge, createSlots as Mn, TransitionGroup as ta, resolveDirective as Re, mergeProps as Vn } from "vue";
3
3
  import { defineStore as na } from "pinia";
4
4
  import './index.css';const V = (e, t) => {
5
5
  const n = e.__vccOpts || e;
@@ -73,7 +73,7 @@ function ua(e, t, n, i, o, s) {
73
73
  name: n.icon,
74
74
  size: "14px",
75
75
  class: "jPanel_icon",
76
- style: Qe({ color: n.iconColor })
76
+ style: Ce({ color: n.iconColor })
77
77
  }, null, 8, ["name", "style"])) : U("", !0),
78
78
  te(e.$slots, "title", {}, () => [
79
79
  u("span", null, R(n.title), 1)
@@ -1904,24 +1904,24 @@ const io = (e) => String.fromCodePoint(...e), WP = function(e) {
1904
1904
  return UP.test(t) ? "xn--" + $t(t) : t;
1905
1905
  });
1906
1906
  }, YP = { version: "2.3.1", ucs2: { decode: Pt, encode: io }, decode: zt, encode: $t, toASCII: co, toUnicode: lo };
1907
- var ZP = Object.freeze({ __proto__: null, ucs2decode: Pt, ucs2encode: io, decode: zt, encode: $t, toASCII: co, toUnicode: lo, default: YP }), KP = ms(ZP), XP = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "“”‘’", highlight: null, maxNesting: 100 }, components: { core: {}, block: {}, inline: {} } }, ez = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "“”‘’", highlight: null, maxNesting: 20 }, components: { core: { rules: ["normalize", "block", "inline"] }, block: { rules: ["paragraph"] }, inline: { rules: ["text"], rules2: ["balance_pairs", "text_collapse"] } } }, tz = { options: { html: !0, xhtmlOut: !0, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "“”‘’", highlight: null, maxNesting: 20 }, components: { core: { rules: ["normalize", "block", "inline"] }, block: { rules: ["blockquote", "code", "fence", "heading", "hr", "html_block", "lheading", "list", "reference", "paragraph"] }, inline: { rules: ["autolink", "backticks", "emphasis", "entity", "escape", "html_inline", "image", "link", "newline", "text"], rules2: ["balance_pairs", "emphasis", "text_collapse"] } } }, Ue = G, nz = Ke, oz = tj, az = xj, sz = nP, iz = AP, rz = FP, xe = Pe, po = KP, lz = { default: XP, zero: ez, commonmark: tz }, cz = /^(vbscript|javascript|file|data):/, dz = /^data:image\/(gif|png|jpeg|webp);/;
1907
+ var ZP = Object.freeze({ __proto__: null, ucs2decode: Pt, ucs2encode: io, decode: zt, encode: $t, toASCII: co, toUnicode: lo, default: YP }), KP = ms(ZP), XP = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "“”‘’", highlight: null, maxNesting: 100 }, components: { core: {}, block: {}, inline: {} } }, ez = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "“”‘’", highlight: null, maxNesting: 20 }, components: { core: { rules: ["normalize", "block", "inline"] }, block: { rules: ["paragraph"] }, inline: { rules: ["text"], rules2: ["balance_pairs", "text_collapse"] } } }, tz = { options: { html: !0, xhtmlOut: !0, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "“”‘’", highlight: null, maxNesting: 20 }, components: { core: { rules: ["normalize", "block", "inline"] }, block: { rules: ["blockquote", "code", "fence", "heading", "hr", "html_block", "lheading", "list", "reference", "paragraph"] }, inline: { rules: ["autolink", "backticks", "emphasis", "entity", "escape", "html_inline", "image", "link", "newline", "text"], rules2: ["balance_pairs", "emphasis", "text_collapse"] } } }, Ue = G, nz = Ke, oz = tj, az = xj, sz = nP, iz = AP, rz = FP, Qe = Pe, po = KP, lz = { default: XP, zero: ez, commonmark: tz }, cz = /^(vbscript|javascript|file|data):/, dz = /^data:image\/(gif|png|jpeg|webp);/;
1908
1908
  function pz(e) {
1909
1909
  return e = e.trim().toLowerCase(), !cz.test(e) || !!dz.test(e);
1910
1910
  }
1911
1911
  var uo = ["http:", "https:", "mailto:"];
1912
1912
  function uz(e) {
1913
- if (e = xe.parse(e, !0), e.hostname && (!e.protocol || uo.indexOf(e.protocol) >= 0)) try {
1913
+ if (e = Qe.parse(e, !0), e.hostname && (!e.protocol || uo.indexOf(e.protocol) >= 0)) try {
1914
1914
  e.hostname = po.toASCII(e.hostname);
1915
1915
  } catch {
1916
1916
  }
1917
- return xe.encode(xe.format(e));
1917
+ return Qe.encode(Qe.format(e));
1918
1918
  }
1919
1919
  function mz(e) {
1920
- if (e = xe.parse(e, !0), e.hostname && (!e.protocol || uo.indexOf(e.protocol) >= 0)) try {
1920
+ if (e = Qe.parse(e, !0), e.hostname && (!e.protocol || uo.indexOf(e.protocol) >= 0)) try {
1921
1921
  e.hostname = po.toUnicode(e.hostname);
1922
1922
  } catch {
1923
1923
  }
1924
- return xe.decode(xe.format(e), xe.decode.defaultChars + "%");
1924
+ return Qe.decode(Qe.format(e), Qe.decode.defaultChars + "%");
1925
1925
  }
1926
1926
  function le(e, t) {
1927
1927
  if (!(this instanceof le)) return new le(e, t);
@@ -2375,8 +2375,8 @@ var hz = le, fz = hz, Sn = { exports: {} }, gz = (function(e) {
2375
2375
  if (d.isBuffer(p)) return y(this, p, f);
2376
2376
  if (typeof p == "number") return d.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === "function" ? Uint8Array.prototype.indexOf.call(this, p, f) : y(this, [p], f);
2377
2377
  function y(E, q, z) {
2378
- for (var ee = -1, Ae = 0; z + Ae < E.length; Ae++) if (E[z + Ae] === q[ee === -1 ? 0 : Ae - ee]) {
2379
- if (ee === -1 && (ee = Ae), Ae - ee + 1 === q.length) return z + ee;
2378
+ for (var ee = -1, qe = 0; z + qe < E.length; qe++) if (E[z + qe] === q[ee === -1 ? 0 : qe - ee]) {
2379
+ if (ee === -1 && (ee = qe), qe - ee + 1 === q.length) return z + ee;
2380
2380
  } else ee = -1;
2381
2381
  return -1;
2382
2382
  }
@@ -4416,7 +4416,7 @@ function _$(e, t, n, i, o, s) {
4416
4416
  }, [
4417
4417
  u("div", {
4418
4418
  class: X(["colorBox", h.bgClass]),
4419
- style: Qe(h.var ? { background: h.var } : {})
4419
+ style: Ce(h.var ? { background: h.var } : {})
4420
4420
  }, null, 6),
4421
4421
  u("div", l$, [
4422
4422
  u("span", c$, R(h.name), 1),
@@ -4436,7 +4436,7 @@ function _$(e, t, n, i, o, s) {
4436
4436
  }, [
4437
4437
  u("div", {
4438
4438
  class: X(["colorBox", r.bgClass]),
4439
- style: Qe(r.var ? { background: r.var } : {})
4439
+ style: Ce(r.var ? { background: r.var } : {})
4440
4440
  }, null, 6),
4441
4441
  u("div", h$, [
4442
4442
  u("span", f$, R(r.name), 1),
@@ -5588,7 +5588,7 @@ const zN = /* @__PURE__ */ V(yN, [["render", PN]]), $N = /* @__PURE__ */ Object.
5588
5588
  events: MN
5589
5589
  }, UN = {
5590
5590
  name: "ShowcaseQuasarBtnDropdown",
5591
- components: { QBtnDropdown: Co, QList: Ne, QItem: Ie, QItemSection: Ce, QIcon: ne, QSeparator: Lt },
5591
+ components: { QBtnDropdown: Co, QList: Ne, QItem: Ae, QItemSection: Ie, QIcon: ne, QSeparator: Lt },
5592
5592
  label: "Quasar Btn Dropdown",
5593
5593
  icon: "smart_button",
5594
5594
  apiJson: VN,
@@ -6370,7 +6370,7 @@ const vR = /* @__PURE__ */ V(cR, [["render", _R]]), bR = /* @__PURE__ */ Object.
6370
6370
  name: "ShowcaseDialog",
6371
6371
  label: "Quasar Dialog",
6372
6372
  icon: "picture_in_picture",
6373
- components: { QBtn: ae, QDialog: qo, QCard: Pn, QCardSection: jn, QCardActions: En, QIcon: ne, QSpace: Ao, QSeparator: Lt, QList: Ne, QItem: Ie, QItemSection: Ce, QItemLabel: ct, QBadge: Bn, QInnerLoading: Dn, QSpinner: Tn, QInput: qt, QSelect: Tt },
6373
+ components: { QBtn: ae, QDialog: qo, QCard: Pn, QCardSection: jn, QCardActions: En, QIcon: ne, QSpace: Ao, QSeparator: Lt, QList: Ne, QItem: Ae, QItemSection: Ie, QItemLabel: ct, QBadge: Bn, QInnerLoading: Dn, QSpinner: Tn, QInput: qt, QSelect: Tt },
6374
6374
  apiJson: QR,
6375
6375
  importName: "QDialog",
6376
6376
  importFrom: "quasar",
@@ -7100,7 +7100,7 @@ const KR = /* @__PURE__ */ V(MR, [["render", ZR], ["__scopeId", "data-v-d0e94006
7100
7100
  },
7101
7101
  actions: {
7102
7102
  toggleDark() {
7103
- this.isDark = !this.isDark, qe.set("isDark", this.isDark), Je.set(this.isDark), (this.themes !== null || this.currentTheme !== null) && this.applyTheme(this.currentTheme, this.isDark);
7103
+ this.isDark = !this.isDark, xe.set("isDark", this.isDark), Je.set(this.isDark), (this.themes !== null || this.currentTheme !== null) && this.applyTheme(this.currentTheme, this.isDark);
7104
7104
  },
7105
7105
  async _loadStyleTag(e, t) {
7106
7106
  var a;
@@ -7133,13 +7133,15 @@ const KR = /* @__PURE__ */ V(MR, [["render", ZR], ["__scopeId", "data-v-d0e94006
7133
7133
  const a = t ? "light" : "dark", r = t ? "dark" : "light";
7134
7134
  this._styles.common && document.body.appendChild(this._styles.common), this._styles[a] && document.body.appendChild(this._styles[a]), this._styles[r] && document.body.appendChild(this._styles[r]);
7135
7135
  }
7136
- this._loadedTheme = e, qe.set("theme", e), qe.set("themeDefault", this._defaultTheme), await document.fonts.ready, this.ready = !0;
7136
+ this._loadedTheme = e, xe.set("theme", e), xe.set("themeDefault", this._defaultTheme), await document.fonts.ready, this.ready = !0;
7137
7137
  },
7138
7138
  async initialize({ theme: e, themes: t }) {
7139
7139
  this.themes = t, this._defaultTheme = e;
7140
- const n = qe.getItem("theme"), i = qe.getItem("themeDefault"), o = i !== null && i !== e;
7140
+ const n = xe.getItem("theme"), i = xe.getItem("themeDefault");
7141
+ i === null && xe.set("themeDefault", e);
7142
+ const o = i !== null && i !== e;
7141
7143
  this.currentTheme = !o && n && t[n] ? n : e;
7142
- const s = qe.getItem("isDark");
7144
+ const s = xe.getItem("isDark");
7143
7145
  s !== null ? (this.isDark = s, Je.set(this.isDark)) : Je && (this.isDark = Je.isActive), this.themes[this.currentTheme] && await this.applyTheme(this.currentTheme, this.isDark);
7144
7146
  }
7145
7147
  }
@@ -7296,7 +7298,7 @@ const vF = /* @__PURE__ */ V(nF, [["render", _F]]), bF = /* @__PURE__ */ Object.
7296
7298
  default: vF
7297
7299
  }, Symbol.toStringTag, { value: "Module" })), yF = {
7298
7300
  name: "ShowcaseActiveList",
7299
- components: { QList: Ne, QItem: Ie, QItemSection: Ce, QItemLabel: ct, QIcon: ne, QAvatar: zn },
7301
+ components: { QList: Ne, QItem: Ae, QItemSection: Ie, QItemLabel: ct, QIcon: ne, QAvatar: zn },
7300
7302
  label: "Selectable & Multi-line",
7301
7303
  icon: "list",
7302
7304
  importName: "QList",
@@ -7351,7 +7353,7 @@ function xF(e, t, n, i, o, s) {
7351
7353
  key: b.id,
7352
7354
  clickable: "",
7353
7355
  active: o.selected === b.id,
7354
- style: Qe(o.selected === b.id ? "background: color-mix(in srgb, var(--q-accent) 10%, transparent)" : ""),
7356
+ style: Ce(o.selected === b.id ? "background: color-mix(in srgb, var(--q-accent) 10%, transparent)" : ""),
7355
7357
  onClick: (x) => o.selected = b.id
7356
7358
  }, {
7357
7359
  default: m(() => [
@@ -7741,7 +7743,7 @@ const QF = /* @__PURE__ */ V(yF, [["render", xF]]), CF = /* @__PURE__ */ Object.
7741
7743
  events: WF
7742
7744
  }, ZF = {
7743
7745
  name: "ShowcaseBasicList",
7744
- components: { QList: Ne, QItem: Ie, QItemSection: Ce, QItemLabel: ct, QIcon: ne, QBadge: Bn },
7746
+ components: { QList: Ne, QItem: Ae, QItemSection: Ie, QItemLabel: ct, QIcon: ne, QBadge: Bn },
7745
7747
  label: "Basic List",
7746
7748
  icon: "list",
7747
7749
  order: 1,
@@ -7946,7 +7948,7 @@ const tO = /* @__PURE__ */ V(ZF, [["render", eO]]), nO = /* @__PURE__ */ Object.
7946
7948
  default: tO
7947
7949
  }, Symbol.toStringTag, { value: "Module" })), oO = {
7948
7950
  name: "ShowcaseDenseList",
7949
- components: { QList: Ne, QItem: Ie, QItemSection: Ce, QItemLabel: ct, QAvatar: zn },
7951
+ components: { QList: Ne, QItem: Ae, QItemSection: Ie, QItemLabel: ct, QAvatar: zn },
7950
7952
  label: "Dense List",
7951
7953
  icon: "list",
7952
7954
  importName: "QList",
@@ -8362,7 +8364,7 @@ const lO = /* @__PURE__ */ V(oO, [["render", rO]]), cO = /* @__PURE__ */ Object.
8362
8364
  methods: fO
8363
8365
  }, _O = {
8364
8366
  name: "ShowcaseMenu",
8365
- components: { QBtn: ae, QMenu: $n, QList: Ne, QItem: Ie, QItemSection: Ce, QIcon: ne, QSeparator: Lt },
8367
+ components: { QBtn: ae, QMenu: $n, QList: Ne, QItem: Ae, QItemSection: Ie, QIcon: ne, QSeparator: Lt },
8366
8368
  label: "Menu",
8367
8369
  icon: "menu",
8368
8370
  apiJson: gO,
@@ -13278,15 +13280,15 @@ function VJ(e, t, n, i, o, s) {
13278
13280
  return S(), D("span", MJ, [
13279
13281
  u("span", {
13280
13282
  class: "amountDisplay_currency",
13281
- style: Qe({ fontSize: s.subSize + "px" })
13283
+ style: Ce({ fontSize: s.subSize + "px" })
13282
13284
  }, R(s.currencySymbol), 5),
13283
13285
  u("span", {
13284
13286
  class: "amountDisplay_whole",
13285
- style: Qe({ fontSize: n.size + "px" })
13287
+ style: Ce({ fontSize: n.size + "px" })
13286
13288
  }, R(s.wholeFormatted), 5),
13287
13289
  u("span", {
13288
13290
  class: "amountDisplay_decimal",
13289
- style: Qe({ fontSize: s.subSize + "px" })
13291
+ style: Ce({ fontSize: s.subSize + "px" })
13290
13292
  }, "." + R(s.decimalFormatted), 5)
13291
13293
  ]);
13292
13294
  }
@@ -17591,7 +17593,7 @@ function gW(e, t, n, i, o, s) {
17591
17593
  }
17592
17594
  const _W = /* @__PURE__ */ V(fW, [["render", gW]]), vW = {
17593
17595
  name: "JThemeSwitcher",
17594
- components: { QSelect: Tt, QIcon: ne, QItem: Ie, QItemSection: Ce },
17596
+ components: { QSelect: Tt, QIcon: ne, QItem: Ae, QItemSection: Ie },
17595
17597
  data() {
17596
17598
  return {
17597
17599
  themeIcons: {