@qikdev/vue-ui 0.2.120 → 0.2.122

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.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './style.css';
2
2
  import { defineComponent as Vi, ref as Zt, toRefs as _a, onMounted as ga, onBeforeUnmount as Lo, watch as Ci, computed as di, openBlock as o, createElementBlock as d, renderSlot as q, createCommentVNode as _, useSlots as Po, reactive as Sr, provide as $r, resolveComponent as y, normalizeClass as U, Fragment as S, unref as Bn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as v, withDirectives as G, vShow as ci, createElementVNode as x, withModifiers as W, createTextVNode as O, h as fi, resolveDynamicComponent as Ot, mergeProps as Ei, toHandlers as va, vModelSelect as Tt, pushScopeId as tt, popScopeId as nt, normalizeStyle as ut, Teleport as Uo, vModelText as se, withKeys as ge, TransitionGroup as jo, nextTick as ba, vModelDynamic as zn } from "vue";
3
3
  import { EventDispatcher as Ro } from "@qikdev/sdk";
4
- const Bo = "0.2.120";
4
+ const Bo = "0.2.122";
5
5
  class Lt extends Error {
6
6
  }
7
7
  class zo extends Lt {
@@ -7446,7 +7446,7 @@ function V_(e, t, n, i, s, r) {
7446
7446
  _: 1
7447
7447
  });
7448
7448
  }
7449
- const YE = /* @__PURE__ */ V(T_, [["render", V_], ["__scopeId", "data-v-f4838c15"]]);
7449
+ const JE = /* @__PURE__ */ V(T_, [["render", V_], ["__scopeId", "data-v-f4838c15"]]);
7450
7450
  const C_ = {
7451
7451
  props: {
7452
7452
  icon: {
@@ -16831,13 +16831,12 @@ const Vw = {
16831
16831
  },
16832
16832
  focussed() {
16833
16833
  const e = this;
16834
- e.timer && (clearTimeout(e.timer), e.timer = null, console.log("Remove ticked"));
16834
+ e.timer && (clearTimeout(e.timer), e.timer = null);
16835
16835
  },
16836
16836
  blurred() {
16837
- console.log("Blurred");
16838
16837
  const e = this;
16839
- console.log("Start timer"), e.timer = setTimeout(function() {
16840
- console.log("Timer ticked"), e.format();
16838
+ e.timer = setTimeout(function() {
16839
+ e.format();
16841
16840
  }, 100);
16842
16841
  },
16843
16842
  format() {
@@ -16977,7 +16976,7 @@ function Aw(e, t, n, i, s, r) {
16977
16976
  _: 1
16978
16977
  })) : _("", !0);
16979
16978
  }
16980
- const Mw = /* @__PURE__ */ V(Vw, [["render", Aw], ["__scopeId", "data-v-a15d6b19"]]);
16979
+ const Mw = /* @__PURE__ */ V(Vw, [["render", Aw], ["__scopeId", "data-v-177c5a92"]]);
16981
16980
  const Iw = {
16982
16981
  components: {
16983
16982
  CodeEditor: Mw
@@ -22863,7 +22862,7 @@ function zE(e, t, n, i, s, r) {
22863
22862
  });
22864
22863
  }
22865
22864
  const HE = /* @__PURE__ */ V(PE, [["render", zE], ["__scopeId", "data-v-e905a558"]]);
22866
- function ZE() {
22865
+ function XE() {
22867
22866
  var e = Sr({
22868
22867
  mounted: !1,
22869
22868
  screen: {
@@ -22935,7 +22934,52 @@ function ZE() {
22935
22934
  n.removeEventListener("resize", e.resize), n = !1, t = !1, e.mounted = !1;
22936
22935
  }, e;
22937
22936
  }
22938
- const qE = `qik vue ui ${Bo}`, ya = {
22937
+ function qE(e) {
22938
+ const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
22939
+ let i;
22940
+ for (; (i = t.exec(e)) !== null; ) {
22941
+ const s = i[0], r = i[1];
22942
+ if (s[1] === "/") {
22943
+ const a = n.pop();
22944
+ if (a !== r)
22945
+ return { invalid: `Mismatched closing tag for ${r}, expected ${a}` };
22946
+ } else
22947
+ s.endsWith("/>") || n.push(r);
22948
+ }
22949
+ return n.length > 0 ? { invalid: `Unclosed tag(s): ${n.join(", ")}` } : { valid: !0 };
22950
+ }
22951
+ const GE = {
22952
+ props: {
22953
+ template: {
22954
+ type: String
22955
+ },
22956
+ parent: {
22957
+ type: Object
22958
+ }
22959
+ },
22960
+ template: '<v-runtime-template :parent="actualParent" :template="actualTemplate"/>',
22961
+ watch: {
22962
+ actualTemplate: {
22963
+ immediate: !0,
22964
+ async handler() {
22965
+ await this.$nextTick();
22966
+ }
22967
+ }
22968
+ },
22969
+ computed: {
22970
+ actualParent() {
22971
+ return this.parent || this.$parent;
22972
+ },
22973
+ actualTemplate() {
22974
+ let e = this.template;
22975
+ var { valid: t, invalid: n } = qE(e);
22976
+ return t || (e = `<div>Invalid HTML. <pre>${n}</pre></div>`), e;
22977
+ }
22978
+ },
22979
+ components: {
22980
+ VRuntimeTemplate: Bi
22981
+ }
22982
+ }, WE = `qik vue ui ${Bo}`, ya = {
22939
22983
  FlexColumn: rc,
22940
22984
  FlexBody: lc,
22941
22985
  FlexHeader: cc,
@@ -22971,10 +23015,10 @@ const qE = `qik vue ui ${Bo}`, ya = {
22971
23015
  Spinner: Ml,
22972
23016
  ProgressBar: wg,
22973
23017
  UxModal: lE,
22974
- Compile: Bi
22975
- }, JE = {
23018
+ Compile: GE
23019
+ }, QE = {
22976
23020
  install(e, t) {
22977
- console.log(qE), t.date = Xe, t.modals = Sr([]), t.modal = function(n) {
23021
+ console.log(WE), t.date = Xe, t.modals = Sr([]), t.modal = function(n) {
22978
23022
  return new Promise(function(i, s) {
22979
23023
  n.id = t.modals.length, n.resolve = i, n.reject = s, t.modals.splice(n.id, 0, n);
22980
23024
  });
@@ -23024,7 +23068,7 @@ export {
23024
23068
  Mw as CodeEditor,
23025
23069
  rE as ContentBrowser,
23026
23070
  $g as DateRange,
23027
- ZE as Device,
23071
+ XE as Device,
23028
23072
  wx as FileDrop,
23029
23073
  lc as FlexBody,
23030
23074
  vc as FlexCell,
@@ -23037,13 +23081,13 @@ export {
23037
23081
  Fl as Item,
23038
23082
  Un as ModalMixin,
23039
23083
  Ct as NativeSelect,
23040
- YE as Pager,
23084
+ JE as Pager,
23041
23085
  Mc as Panel,
23042
23086
  $c as PanelBody,
23043
23087
  zc as PanelFooter,
23044
23088
  Uc as PanelHeader,
23045
23089
  wg as ProgressBar,
23046
- JE as QikUI,
23090
+ QE as QikUI,
23047
23091
  qy as RememberScrollMixin,
23048
23092
  A1 as ScopeSelect,
23049
23093
  D1 as ScopeSelectButton,