@sysvale/cuida 3.0.0-beta.10 → 3.0.0-beta.11

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.
@@ -13296,7 +13296,7 @@ const oW = {
13296
13296
  CdsScrollable: df
13297
13297
  },
13298
13298
  props: {
13299
- show: {
13299
+ modelValue: {
13300
13300
  type: Boolean,
13301
13301
  default: !1,
13302
13302
  required: !0
@@ -13344,7 +13344,7 @@ const oW = {
13344
13344
  },
13345
13345
  data() {
13346
13346
  return {
13347
- internalShow: !1,
13347
+ innerValue: !1,
13348
13348
  tmp: ""
13349
13349
  };
13350
13350
  },
@@ -13354,19 +13354,19 @@ const oW = {
13354
13354
  }
13355
13355
  },
13356
13356
  watch: {
13357
- show(e) {
13358
- this.internalShow = e;
13357
+ modelValue(e) {
13358
+ this.innerValue = e;
13359
13359
  }
13360
13360
  },
13361
13361
  mounted() {
13362
- this.internalShow = this.show;
13362
+ this.innerValue = this.modelValue;
13363
13363
  },
13364
13364
  methods: {
13365
13365
  closeHandle() {
13366
- this.internalShow = !this.internalShow, this.$emit("close", !0);
13366
+ this.innerValue = !this.innerValue, this.$emit("close", !0), this.$emit("update:modelValue", !1);
13367
13367
  },
13368
13368
  okHandle() {
13369
- this.$emit("ok", !0), this.internalShow = !this.internalShow;
13369
+ this.$emit("ok", !0), this.$emit("update:modelValue", !1), this.innerValue = !this.innerValue;
13370
13370
  }
13371
13371
  }
13372
13372
  }, lW = {
@@ -13378,8 +13378,8 @@ const oW = {
13378
13378
  };
13379
13379
  function hW(e, t, n, i, s, o) {
13380
13380
  const l = Ve("cds-icon"), c = Ve("cds-scrollable"), d = Ve("cds-button"), p = jr("on-click-outside");
13381
- return s.internalShow ? (S(), M("div", lW, [
13382
- s.internalShow ? ut((S(), M("div", {
13381
+ return s.innerValue ? (S(), M("div", lW, [
13382
+ s.innerValue ? ut((S(), M("div", {
13383
13383
  key: 0,
13384
13384
  class: q(["cds-modal", `cds-modal--${n.size}`]),
13385
13385
  style: Dr(e.dynamicStyle)
@@ -13440,7 +13440,7 @@ function hW(e, t, n, i, s, o) {
13440
13440
  ]) : Q("", !0)
13441
13441
  ])) : Q("", !0);
13442
13442
  }
13443
- const pW = /* @__PURE__ */ ye(oW, [["render", hW], ["__scopeId", "data-v-f9129353"]]);
13443
+ const pW = /* @__PURE__ */ ye(oW, [["render", hW], ["__scopeId", "data-v-fb5f93ae"]]);
13444
13444
  function Rd(e) {
13445
13445
  return e === 0 ? !1 : Array.isArray(e) && e.length === 0 ? !0 : !e;
13446
13446
  }