@avakhula/ui 0.0.187 → 0.0.189

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/index.js CHANGED
@@ -2094,6 +2094,9 @@ const ws = {
2094
2094
  this.timer && (clearTimeout(this.timer), this.timer = null), this.timer = setTimeout(() => {
2095
2095
  this.$emit("update:modelValue", t), this.$emit("input", t);
2096
2096
  }, this.debounce);
2097
+ },
2098
+ focus() {
2099
+ this.$refs.field.focus();
2097
2100
  }
2098
2101
  },
2099
2102
  computed: {
@@ -2233,7 +2236,7 @@ function Cs(t, n, e, i, o, r) {
2233
2236
  ], 2)
2234
2237
  ]);
2235
2238
  }
2236
- const Do = /* @__PURE__ */ Ae(ws, [["render", Cs], ["__scopeId", "data-v-d55fa277"]]);
2239
+ const Do = /* @__PURE__ */ Ae(ws, [["render", Cs], ["__scopeId", "data-v-c017a33c"]]);
2237
2240
  const Es = {
2238
2241
  name: "IbCheckbox",
2239
2242
  model: {
@@ -2660,7 +2663,7 @@ function Zs(t, n, e, i, o, r) {
2660
2663
  "tree-select-option-toggle": this.isToggle && this.isMultiple
2661
2664
  }]),
2662
2665
  tabindex: "0",
2663
- onKeydown: n[4] || (n[4] = _t((...c) => r.onKeydown && r.onKeydown(...c), ["self"]))
2666
+ onKeydown: n[3] || (n[3] = _t((...c) => r.onKeydown && r.onKeydown(...c), ["self"]))
2664
2667
  }, [
2665
2668
  o.showTooltip ? (G(), $e(l, {
2666
2669
  key: 0,
@@ -2680,7 +2683,7 @@ function Zs(t, n, e, i, o, r) {
2680
2683
  [Ke, r.hasVisibleChildren]
2681
2684
  ]),
2682
2685
  ae("div", {
2683
- onClick: n[2] || (n[2] = _t((...c) => r.onChange && r.onChange(...c), ["prevent"])),
2686
+ onClick: n[1] || (n[1] = _t((...c) => r.onChange && r.onChange(...c), ["prevent"])),
2684
2687
  class: ve({
2685
2688
  disabled: e.option.isDisabled,
2686
2689
  "tree-select-option-label": !0,
@@ -2696,7 +2699,6 @@ function Zs(t, n, e, i, o, r) {
2696
2699
  id: "input" + r.id,
2697
2700
  "is-checked": r.isChecked,
2698
2701
  disabled: e.option.isDisabled,
2699
- onFocus: n[0] || (n[0] = () => console.log("focus on options")),
2700
2702
  autocomplete: "off",
2701
2703
  autocorrect: "off",
2702
2704
  autocapitalize: "off",
@@ -2715,7 +2717,7 @@ function Zs(t, n, e, i, o, r) {
2715
2717
  Ge(we(e.option.title) + " ", 1),
2716
2718
  ge(a, {
2717
2719
  name: "star",
2718
- onClick: n[1] || (n[1] = _t((c) => t.$emit("toggle-bookmark", e.option), ["stop", "prevent"]))
2720
+ onClick: n[0] || (n[0] = _t((c) => t.$emit("toggle-bookmark", e.option), ["stop", "prevent"]))
2719
2721
  })
2720
2722
  ]))
2721
2723
  ], 2)) : e.htmlTitle ? (G(), ne(rt, { key: 1 }, [
@@ -2740,7 +2742,7 @@ function Zs(t, n, e, i, o, r) {
2740
2742
  "is-multiple": e.isMultiple,
2741
2743
  "show-input": e.showInput,
2742
2744
  onCheck: r.checkChildren,
2743
- onToggleBookmark: n[3] || (n[3] = (s) => t.$emit("toggle-bookmark", s)),
2745
+ onToggleBookmark: n[2] || (n[2] = (s) => t.$emit("toggle-bookmark", s)),
2744
2746
  uid: e.uid,
2745
2747
  "is-bookmarkable": e.isBookmarkable
2746
2748
  }, null, 8, ["option", "name", "parent-auto-check", "is-multiple", "show-input", "onCheck", "uid", "is-bookmarkable"])), [
@@ -3432,7 +3434,10 @@ const eu = {
3432
3434
  onBlur() {
3433
3435
  setTimeout(() => {
3434
3436
  this.isOpened || this.$emit("blur");
3435
- }, 0);
3437
+ }, 100);
3438
+ },
3439
+ focus() {
3440
+ this.$refs.combobox.focus();
3436
3441
  },
3437
3442
  startResizing(t) {
3438
3443
  this.resizingProp = t;