@qikdev/vue-ui 0.2.227 → 0.2.228

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 Fr, ref as en, toRefs as Dl, onMounted as Fl, onBeforeUnmount as Xa, watch as Ir, computed as pr, openBlock as a, createElementBlock as d, renderSlot as G, createCommentVNode as _, normalizeClass as A, useSlots as Qa, reactive as Ut, provide as ji, resolveComponent as y, Fragment as S, unref as Wn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as b, withDirectives as W, vShow as hi, createElementVNode as x, withModifiers as H, createTextVNode as O, h as yr, mergeProps as Ei, toHandlers as Mr, normalizeStyle as qe, resolveDynamicComponent as Ct, vModelSelect as mt, pushScopeId as Ke, popScopeId as Je, Teleport as eu, vModelText as oe, withKeys as ye, TransitionGroup as tu, nextTick as Il, vModelDynamic as Gn } from "vue";
3
3
  import { EventDispatcher as Ml } from "@qikdev/sdk";
4
- const nu = "0.2.227";
4
+ const nu = "0.2.228";
5
5
  class Rt extends Error {
6
6
  }
7
7
  class iu extends Rt {
@@ -7922,7 +7922,7 @@ function rg(e, t, n, r, s, i) {
7922
7922
  _: 1
7923
7923
  });
7924
7924
  }
7925
- const zF = /* @__PURE__ */ T(ig, [["render", rg], ["__scopeId", "data-v-f46dd772"]]);
7925
+ const HF = /* @__PURE__ */ T(ig, [["render", rg], ["__scopeId", "data-v-f46dd772"]]);
7926
7926
  const sg = {
7927
7927
  props: {
7928
7928
  icon: {
@@ -25135,6 +25135,11 @@ function VF(e, t, n, r, s, i) {
25135
25135
  });
25136
25136
  }
25137
25137
  const CF = /* @__PURE__ */ T(xF, [["render", VF], ["__scopeId", "data-v-e1cac3f3"]]), ot = "uploading", li = "complete", At = "ready", EF = "error", DF = "upload.cancel", FF = "upload.start", Cl = "upload.complete", IF = "upload.progress", MF = "upload.error", $F = {
25138
+ props: {
25139
+ accept: {
25140
+ type: String
25141
+ }
25142
+ },
25138
25143
  data() {
25139
25144
  return {
25140
25145
  queue: [],
@@ -25361,28 +25366,30 @@ const CF = /* @__PURE__ */ T(xF, [["render", VF], ["__scopeId", "data-v-e1cac3f3
25361
25366
  e.uploading ? e.pause() : (e.queue.length = 0, e.defaultFreeformTags.length = 0, e.defaultScopes.length = 0);
25362
25367
  }
25363
25368
  }
25364
- }, AF = { class: "uploader" }, LF = {
25365
- style: { display: "none" },
25366
- ref: "immediateFile",
25367
- type: "file"
25368
- };
25369
- function NF(e, t, n, r, s, i) {
25369
+ }, AF = { class: "uploader" }, LF = ["accept"], NF = ["accept"];
25370
+ function UF(e, t, n, r, s, i) {
25370
25371
  return a(), d("div", AF, [
25371
25372
  x("input", {
25372
25373
  style: { display: "none" },
25374
+ accept: n.accept,
25373
25375
  ref: "file",
25374
25376
  type: "file",
25375
25377
  multiple: "",
25376
25378
  onChange: t[0] || (t[0] = (l) => i.filesSelected(l.target.files))
25377
- }, null, 544),
25378
- x("input", LF, null, 512)
25379
+ }, null, 40, LF),
25380
+ x("input", {
25381
+ style: { display: "none" },
25382
+ accept: n.accept,
25383
+ ref: "immediateFile",
25384
+ type: "file"
25385
+ }, null, 8, NF)
25379
25386
  ]);
25380
25387
  }
25381
- const HF = /* @__PURE__ */ T($F, [["render", NF]]);
25382
- function UF(e, t) {
25388
+ const qF = /* @__PURE__ */ T($F, [["render", UF]]);
25389
+ function PF(e, t) {
25383
25390
  return t.reduce((n, r) => Math.abs(r - e) < Math.abs(n - e) ? r : n);
25384
25391
  }
25385
- function qF() {
25392
+ function WF() {
25386
25393
  var e = Ut({
25387
25394
  mounted: !1,
25388
25395
  screen: {
@@ -25455,7 +25462,7 @@ function qF() {
25455
25462
  point: 0
25456
25463
  }, l = 0;
25457
25464
  r > e.limits.xs && l++, r > e.limits.sm && l++, r > e.limits.md && l++, r > e.limits.lg && l++, l < 1 && (i.mobile = !0, i.xs = !0, i.xsOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0), l == 1 && (i.tablet = !0, i.sm = !0, i.smOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0), l == 2 && (i.desktop = !0, i.md = !0, i.mdOnly = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0), l == 3 && (i.desktop = !0, i.lg = !0, i.lgOnly = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), l > 3 && (i.desktop = !0, i.xl = !0, i.xlOnly = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), e.point = l, e.breakpoint = i;
25458
- const u = UF(r, [320, 768, 1200, 1800, 2e3]), f = u * 1, c = u * 1.5, p = u * 2;
25465
+ const u = PF(r, [320, 768, 1200, 1800, 2e3]), f = u * 1, c = u * 1.5, p = u * 2;
25459
25466
  e.image = {
25460
25467
  auto: {
25461
25468
  low: f,
@@ -25469,7 +25476,7 @@ function qF() {
25469
25476
  n.removeEventListener("resize", e.resize), n = !1, t = !1, e.mounted = !1;
25470
25477
  }, e;
25471
25478
  }
25472
- const PF = `qik vue ui ${nu}`, El = {
25479
+ const jF = `qik vue ui ${nu}`, El = {
25473
25480
  FlexColumn: yc,
25474
25481
  FlexBody: bc,
25475
25482
  FlexHeader: Sc,
@@ -25508,10 +25515,10 @@ const PF = `qik vue ui ${nu}`, El = {
25508
25515
  ProgressBar: Jg,
25509
25516
  UxModal: WD,
25510
25517
  Compile: za
25511
- }, WF = {
25518
+ }, GF = {
25512
25519
  install(e, t) {
25513
25520
  var n;
25514
- console.log(PF), t.date = Ie, t.global = t.global || Ut({}), (n = t.global) != null && n.cacheKeys || (t.global.cacheKeys = t.global.cacheKeys || Ut({})), t.modals = Ut([]), t.modal = function(r) {
25521
+ console.log(jF), t.date = Ie, t.global = t.global || Ut({}), (n = t.global) != null && n.cacheKeys || (t.global.cacheKeys = t.global.cacheKeys || Ut({})), t.modals = Ut([]), t.modal = function(r) {
25515
25522
  return new Promise(function(s, i) {
25516
25523
  r.id = t.modals.length, r.resolve = s, r.reject = i, t.modals.splice(r.id, 0, r);
25517
25524
  });
@@ -25566,7 +25573,7 @@ export {
25566
25573
  MS as CodeEditor,
25567
25574
  BD as ContentBrowser,
25568
25575
  fv as DateRange,
25569
- qF as Device,
25576
+ WF as Device,
25570
25577
  yw as FileDrop,
25571
25578
  bc as FlexBody,
25572
25579
  Fc as FlexCell,
@@ -25579,13 +25586,13 @@ export {
25579
25586
  Ko as Item,
25580
25587
  hn as ModalMixin,
25581
25588
  yt as NativeSelect,
25582
- zF as Pager,
25589
+ HF as Pager,
25583
25590
  Bc as Panel,
25584
25591
  Wc as PanelBody,
25585
25592
  ef as PanelFooter,
25586
25593
  Kc as PanelHeader,
25587
25594
  Jg as ProgressBar,
25588
- WF as QikUI,
25595
+ GF as QikUI,
25589
25596
  x_ as RememberScrollMixin,
25590
25597
  pb as ScopeSelect,
25591
25598
  vb as ScopeSelectButton,
@@ -25616,7 +25623,7 @@ export {
25616
25623
  D_ as UXTable,
25617
25624
  Xf as UXTabset,
25618
25625
  Gg as UXVideo,
25619
- HF as UploadService,
25626
+ qF as UploadService,
25620
25627
  XD as UxConfirmModal,
25621
25628
  kF as UxContentModal,
25622
25629
  WD as UxModal,