@kong-ui-public/entities-plugins 9.202.2-pr.3253.b624ef723.0 → 9.202.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.
@@ -6948,7 +6948,7 @@ const ma = /* @__PURE__ */ _e({
6948
6948
  setup(e, { emit: t }) {
6949
6949
  var I;
6950
6950
  fr((E) => ({
6951
- v001f7318: U.value
6951
+ v35a89c75: U.value
6952
6952
  }));
6953
6953
  const n = e, i = t, { i18n: { t: o } } = Ze(), { getDefault: a, getSchema: r } = At(), { value: s, hide: l, ...c } = on(xt(n, "name")), m = Rn(c.path, xt({ ...n, ...ca() })), d = j(() => {
6954
6954
  if (!c.path) throw new Error("Field path is required for sub-schema retrieval");
@@ -6971,8 +6971,8 @@ const ma = /* @__PURE__ */ _e({
6971
6971
  const E = a(Et(c.path.value, Fu));
6972
6972
  Array.isArray(s.value) || (s.value = []), s.value.push(E), i("add"), n.appearance === "tabs" && (await wn(), C.value = ($ = v.value[v.value.length - 1]) == null ? void 0 : $.hash), await wn(), T(f.value.length + 1);
6973
6973
  }, k = async (E) => {
6974
- var $, R, O;
6975
- Array.isArray(s.value) && (s.value.splice(E, 1), s.value.length === 0 && !((R = ($ = c.schema) == null ? void 0 : $.value) != null && R.required) && (s.value = null)), i("remove", E), n.appearance === "tabs" && (C.value = (O = v.value[Math.max(0, E - 1)]) == null ? void 0 : O.hash);
6974
+ var $;
6975
+ Array.isArray(s.value) && s.value.splice(E, 1), i("remove", E), n.appearance === "tabs" && (C.value = ($ = v.value[Math.max(0, E - 1)]) == null ? void 0 : $.hash);
6976
6976
  }, w = It("root");
6977
6977
  function T(E) {
6978
6978
  if (!w.value)
@@ -7176,7 +7176,7 @@ const ma = /* @__PURE__ */ _e({
7176
7176
  ]);
7177
7177
  };
7178
7178
  }
7179
- }), $i = /* @__PURE__ */ Pe(Kx, [["__scopeId", "data-v-a883358f"]]), jx = /* @__PURE__ */ _e({
7179
+ }), $i = /* @__PURE__ */ Pe(Kx, [["__scopeId", "data-v-423bff1e"]]), jx = /* @__PURE__ */ _e({
7180
7180
  __name: "SlideTransition",
7181
7181
  setup(e) {
7182
7182
  const t = [
@@ -7647,11 +7647,6 @@ const ma = /* @__PURE__ */ _e({
7647
7647
  // If multiple and value is null/undefined, return empty array for v-model
7648
7648
  get: () => d.value && (a == null ? void 0 : a.value) == null ? [] : a.value,
7649
7649
  set: (f) => {
7650
- var g, h;
7651
- if (d.value && Array.isArray(f) && f.length === 0 && !((h = (g = s.schema) == null ? void 0 : g.value) != null && h.required)) {
7652
- a.value = null;
7653
- return;
7654
- }
7655
7650
  a.value = f;
7656
7651
  }
7657
7652
  }), c = Rn(s.path, i), m = j(() => e.items ? e.items : s.path ? o(s.path.value) : []), d = j(() => {
@@ -7701,7 +7696,7 @@ const ma = /* @__PURE__ */ _e({
7701
7696
  ]);
7702
7697
  };
7703
7698
  }
7704
- }), Xt = /* @__PURE__ */ Pe(nA, [["__scopeId", "data-v-906abe4a"]]), iA = ["data-testid"], oA = ["innerHTML"], aA = /* @__PURE__ */ _e({
7699
+ }), Xt = /* @__PURE__ */ Pe(nA, [["__scopeId", "data-v-6fce68d1"]]), iA = ["data-testid"], oA = ["innerHTML"], aA = /* @__PURE__ */ _e({
7705
7700
  inheritAttrs: !1,
7706
7701
  __name: "JsonField",
7707
7702
  props: {
@@ -27042,8 +27037,8 @@ const $L = /* @__PURE__ */ _e({
27042
27037
  const t = e, n = Pn();
27043
27038
  sn(wi, n == null ? void 0 : n[ai]);
27044
27039
  function i(o, a) {
27045
- var r;
27046
- ((r = o.config) == null ? void 0 : r.namespace) === null && delete o.config.namespace, t.onFormChange(o, a);
27040
+ var r, s;
27041
+ ((r = o.config) == null ? void 0 : r.namespace) === null && delete o.config.namespace, Array.isArray((s = o.config) == null ? void 0 : s.compound_identifier) && o.config.compound_identifier.length === 0 && (o.config.compound_identifier = null), t.onFormChange(o, a);
27047
27042
  }
27048
27043
  return (o, a) => (A(), J(Fi, Ve(t, { "on-form-change": i }), {
27049
27044
  default: P(() => [