@avakhula/ui 0.0.39 → 0.0.40

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
@@ -3346,7 +3346,7 @@ const Us = {
3346
3346
  },
3347
3347
  change() {
3348
3348
  const t = Object.keys(this.selected);
3349
- this.isMultiple ? (this.$emit("update:modelValue", t), console.log("value updated", t), this.$emit("input", t)) : (this.$emit("update:modelValue", t[0]), console.log("value updated", t[0]), this.$emit("input", t[0])), this.$globalEvents.$emit("select-" + this.filterId + ":update", {
3349
+ this.isMultiple ? (this.$emit("update:modelValue", t), this.$emit("input", t)) : (this.$emit("update:modelValue", t[0]), this.$emit("input", t[0])), this.$globalEvents.$emit("select-" + this.filterId + ":update", {
3350
3350
  values: t,
3351
3351
  filter: this.filterId
3352
3352
  }), this.$refs.dropdown.close();
@@ -3357,13 +3357,13 @@ const Us = {
3357
3357
  registerCheck(t, n, e) {
3358
3358
  if (n)
3359
3359
  if (t.checked = !0, this.isMultiple)
3360
- this.onlyEndNodes && t.children && t.children.length || (this.selected[t.id] = t, this.$emit("input", Object.keys(this.selected)), console.log("value updated", Object.keys(this.selected)), this.$emit("update:modelValue", Object.keys(this.selected)));
3360
+ this.onlyEndNodes && t.children && t.children.length || (this.selected[t.id] = t, this.$emit("input", Object.keys(this.selected)), this.$emit("update:modelValue", Object.keys(this.selected)));
3361
3361
  else {
3362
3362
  const i = Object.keys(this.selected)[0];
3363
3363
  i && (this.selected[i].checked = !1), this.selected = { [t.id]: t }, this.change();
3364
3364
  }
3365
3365
  else
3366
- delete this.selected[t.id], t.checked = !1, this.$emit("input", Object.keys(this.selected)), console.log("value updated", Object.keys(this.selected)), this.$emit("update:modelValue", Object.keys(this.selected));
3366
+ delete this.selected[t.id], t.checked = !1, this.$emit("input", Object.keys(this.selected)), this.$emit("update:modelValue", Object.keys(this.selected));
3367
3367
  this.toggleDuplicateOptions(this.actualOptions, t.id, n), e && (this.allOptionsIsChecked = this.checkIfOptionsChecked(
3368
3368
  this.actualOptions
3369
3369
  ));
@@ -4288,6 +4288,9 @@ const Ro = /* @__PURE__ */ Ae(Fu, [["render", Gu], ["__scopeId", "data-v-725f21a
4288
4288
  const Yu = {
4289
4289
  name: "IbTextarea",
4290
4290
  props: {
4291
+ modelValue: {
4292
+ type: String
4293
+ },
4291
4294
  disabled: {
4292
4295
  type: Boolean,
4293
4296
  default: !1
@@ -4315,9 +4318,14 @@ const Yu = {
4315
4318
  default: ""
4316
4319
  }
4317
4320
  },
4321
+ watch: {
4322
+ val(t) {
4323
+ console.log("test"), this.$emit("update:modelValue", t);
4324
+ }
4325
+ },
4318
4326
  data() {
4319
4327
  return {
4320
- val: ""
4328
+ val: this.modelValue
4321
4329
  };
4322
4330
  },
4323
4331
  methods: {
@@ -4380,7 +4388,7 @@ function Zu(t, n, e, i, o, r) {
4380
4388
  ])
4381
4389
  ], 2);
4382
4390
  }
4383
- const t1 = /* @__PURE__ */ Ae(Yu, [["render", Zu], ["__scopeId", "data-v-a0700fb0"]]);
4391
+ const t1 = /* @__PURE__ */ Ae(Yu, [["render", Zu], ["__scopeId", "data-v-82103367"]]);
4384
4392
  var ri = [
4385
4393
  "onChange",
4386
4394
  "onClose",