@byteluck-fe/runtime-desktop-controls 7.0.0-beta.1 → 7.0.0-beta.2

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.
@@ -130,9 +130,9 @@ function wTe(t) {
130
130
  }), window.BaitedaEventEmittesMap = at.config.globalProperties.eventEmittesMap, at.config.globalProperties.eventEmittesMap[t.id];
131
131
  }
132
132
  function Ut(t) {
133
- const e = ar(t);
133
+ const e = ar(t), n = sr({ ...e, ...e.instance.props });
134
134
  delete e.instance.props;
135
- const n = sr(e), r = e.rowIndex === void 0 ? e.instance.id : e.instance.id + "-" + e.rowIndex, i = Ke("context"), o = (a) => {
135
+ const r = e.rowIndex === void 0 ? e.instance.id : e.instance.id + "-" + e.rowIndex, i = Ke("context"), o = (a) => {
136
136
  n.value = { ...a.instance.props, ...a.instance };
137
137
  };
138
138
  return at.config.globalProperties.eventEmittesMap[g(i).id]?.on(
@@ -106434,7 +106434,7 @@ function VBt(t, e) {
106434
106434
  function BBt(t, e) {
106435
106435
  return !t || !e || t.length !== e.length ? !1 : t.every((n, r) => e[r] === n);
106436
106436
  }
106437
- const GBt = (t) => (Dr("data-v-e1f60adf"), t = t(), Ir(), t), HBt = ["layout", "data-cid", "data-index", "data-name"], zBt = ["required", "name"], UBt = {
106437
+ const GBt = (t) => (Dr("data-v-1af73f82"), t = t(), Ir(), t), HBt = ["layout", "data-cid", "data-index", "data-name"], zBt = ["data-required", "name"], UBt = {
106438
106438
  key: 0,
106439
106439
  class: "rok-form-ai-wrap"
106440
106440
  }, $Bt = {
@@ -106511,7 +106511,9 @@ const GBt = (t) => (Dr("data-v-e1f60adf"), t = t(), Ir(), t), HBt = ["layout", "
106511
106511
  const b = H(() => i.control.controlType === "form" ? !!E.value?.name : !1), S = H(() => {
106512
106512
  const De = o.style, Be = i.control.props, Ee = dre(Be);
106513
106513
  return De ? `${Ee};${De}` : Ee;
106514
- }), _ = H(() => g(i.instanceProps)?.className ?? []), w = m.value ? gu(
106514
+ }), _ = H(
106515
+ () => g(i.instanceProps)?.className ?? []
106516
+ ), w = m.value ? gu(
106515
106517
  v.value
106516
106518
  ) : {}, T = H(() => w?.value?.labelPosition && i.showType !== "tag" ? w?.value?.labelPosition === "top" ? "vertical" : "horizontal" : g(i.instanceProps)?.labelPosition === "top" ? "vertical" : "horizontal"), E = H(() => g(i.instanceProps)?.isHideCaption || to(g(i.instanceProps)?.isHideCaption) ? void 0 : {
106517
106519
  name: g(i.instanceProps)?.caption,
@@ -106744,7 +106746,7 @@ const GBt = (t) => (Dr("data-v-e1f60adf"), t = t(), Ir(), t), HBt = ["layout", "
106744
106746
  { "rok-hide-caption": !E.value?.name },
106745
106747
  { "rok-form-item-underline-error": Y.value }
106746
106748
  ]]),
106747
- required: O.value ? !0 : void 0,
106749
+ "data-required": O.value ? "true" : void 0,
106748
106750
  name: z.value
106749
106751
  }, [
106750
106752
  k.value ? (L(), Z("div", UBt, [
@@ -106811,7 +106813,7 @@ const GBt = (t) => (Dr("data-v-e1f60adf"), t = t(), Ir(), t), HBt = ["layout", "
106811
106813
  };
106812
106814
  }
106813
106815
  });
106814
- const tGt = /* @__PURE__ */ We(eGt, [["__scopeId", "data-v-e1f60adf"]]), nGt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
106816
+ const tGt = /* @__PURE__ */ We(eGt, [["__scopeId", "data-v-1af73f82"]]), nGt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
106815
106817
  __proto__: null,
106816
106818
  RokFormItem: tGt
106817
106819
  }, Symbol.toStringTag, { value: "Module" })), rGt = {