@qikdev/vue-ui 0.2.137 → 0.2.138

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 ba, onMounted as ka, onBeforeUnmount as zo, watch as Ci, computed as di, openBlock as o, createElementBlock as d, renderSlot as B, createCommentVNode as _, useSlots as Ho, reactive as Sr, provide as $r, resolveComponent as y, normalizeClass as U, Fragment as w, unref as Bn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as v, withDirectives as K, vShow as ci, createElementVNode as x, withModifiers as W, createTextVNode as S, h as fi, resolveDynamicComponent as Ot, mergeProps as Ei, toHandlers as xa, vModelSelect as Tt, pushScopeId as tt, popScopeId as nt, normalizeStyle as ut, Teleport as qo, vModelText as se, withKeys as ge, TransitionGroup as Go, nextTick as wa, vModelDynamic as zn } from "vue";
3
3
  import { EventDispatcher as Wo } from "@qikdev/sdk";
4
- const Ko = "0.2.137";
4
+ const Ko = "0.2.138";
5
5
  class Lt extends Error {
6
6
  }
7
7
  class Yo extends Lt {
@@ -20313,6 +20313,9 @@ function IV(e, t, n, i, s, r) {
20313
20313
  const _a = /* @__PURE__ */ V(SV, [["render", IV], ["__scopeId", "data-v-e1ea11cb"]]);
20314
20314
  const DV = {
20315
20315
  props: {
20316
+ autofocus: {
20317
+ type: Boolean
20318
+ },
20316
20319
  modelValue: {
20317
20320
  type: String
20318
20321
  },
@@ -20333,7 +20336,11 @@ const DV = {
20333
20336
  var e = this;
20334
20337
  e.dispatch = ln(() => {
20335
20338
  e.$emit("update:modelValue", e.value);
20336
- }, e.debounce);
20339
+ }, e.debounce), e.autofocus && e.$refs.input.focus();
20340
+ },
20341
+ activated() {
20342
+ var e = this;
20343
+ e.autofocus && e.$refs.input.focus();
20337
20344
  },
20338
20345
  data() {
20339
20346
  return {
@@ -20377,6 +20384,7 @@ function NV(e, t, n, i, s, r) {
20377
20384
  const a = y("ux-icon");
20378
20385
  return o(), d("div", FV, [
20379
20386
  K(x("input", {
20387
+ ref: "input",
20380
20388
  "onUpdate:modelValue": t[0] || (t[0] = (l) => r.model = l),
20381
20389
  placeholder: n.placeholder
20382
20390
  }, null, 8, $V), [
@@ -20390,7 +20398,7 @@ function NV(e, t, n, i, s, r) {
20390
20398
  ])
20391
20399
  ]);
20392
20400
  }
20393
- const Wi = /* @__PURE__ */ V(DV, [["render", NV], ["__scopeId", "data-v-41858ddc"]]);
20401
+ const Wi = /* @__PURE__ */ V(DV, [["render", NV], ["__scopeId", "data-v-08cae0e6"]]);
20394
20402
  function LV(e) {
20395
20403
  const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
20396
20404
  let i;
@@ -22850,6 +22858,7 @@ function qE(e, t, n, i, s, r) {
22850
22858
  default: h(() => [
22851
22859
  s.showFilters ? _("", !0) : (o(), k(u, {
22852
22860
  key: 0,
22861
+ autofocus: "",
22853
22862
  modelValue: s.search,
22854
22863
  "onUpdate:modelValue": t[0] || (t[0] = (T) => s.search = T),
22855
22864
  loading: s.searching,
@@ -22951,7 +22960,7 @@ function qE(e, t, n, i, s, r) {
22951
22960
  _: 1
22952
22961
  });
22953
22962
  }
22954
- const GE = /* @__PURE__ */ V(RE, [["render", qE], ["__scopeId", "data-v-7eedb824"]]);
22963
+ const GE = /* @__PURE__ */ V(RE, [["render", qE], ["__scopeId", "data-v-6a29c685"]]);
22955
22964
  const WE = {
22956
22965
  components: {
22957
22966
  ScopeSelect: F1