@kong-ui-public/entities-plugins 9.87.6 → 9.87.7

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.
@@ -7742,19 +7742,19 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7742
7742
  "__ui_data"
7743
7743
  ];
7744
7744
  return Is(n.model, g);
7745
- }), f = ae(!1), m = ae(!0), h = Is(n.formModel, [
7745
+ }), f = Is(n.formModel, [
7746
7746
  "service-id",
7747
7747
  "route-id",
7748
7748
  "consumer-id",
7749
7749
  "consumer_group-id"
7750
- ]);
7750
+ ]), m = ae(Object.values(f).some((g) => !!g)), h = ae(!0);
7751
7751
  function v(g, y) {
7752
- h[y] = g, n.onModelUpdated(g, y);
7752
+ f[y] = g, n.onModelUpdated(g, y);
7753
7753
  }
7754
- return Te(f, (g) => {
7755
- g ? Object.keys(h).forEach((y) => {
7756
- n.onModelUpdated(h[y], y);
7757
- }) : Object.keys(h).forEach((y) => {
7754
+ return Te(m, (g) => {
7755
+ g ? Object.keys(f).forEach((y) => {
7756
+ n.onModelUpdated(f[y], y);
7757
+ }) : Object.keys(f).forEach((y) => {
7758
7758
  n.onModelUpdated("", y);
7759
7759
  });
7760
7760
  }), (g, y) => {
@@ -7776,19 +7776,19 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7776
7776
  ]),
7777
7777
  G("div", rC, [
7778
7778
  P(p(ys), Ue({
7779
- modelValue: f.value,
7780
- "onUpdate:modelValue": y[0] || (y[0] = (_) => f.value = _),
7779
+ modelValue: m.value,
7780
+ "onUpdate:modelValue": y[0] || (y[0] = (_) => m.value = _),
7781
7781
  card: "",
7782
7782
  "card-orientation": "horizontal"
7783
7783
  }, a.value[0], { "selected-value": !1 }), null, 16, ["modelValue"]),
7784
7784
  P(p(ys), Ue({
7785
- modelValue: f.value,
7786
- "onUpdate:modelValue": y[1] || (y[1] = (_) => f.value = _),
7785
+ modelValue: m.value,
7786
+ "onUpdate:modelValue": y[1] || (y[1] = (_) => m.value = _),
7787
7787
  card: "",
7788
7788
  "card-orientation": "horizontal"
7789
7789
  }, a.value[1], { "selected-value": !0 }), null, 16, ["modelValue"])
7790
7790
  ]),
7791
- f.value ? (w(), ne("div", aC, [
7791
+ m.value ? (w(), ne("div", aC, [
7792
7792
  P(p(vo), {
7793
7793
  model: g.formModel,
7794
7794
  options: g.formOptions,
@@ -7797,8 +7797,8 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7797
7797
  }, null, 8, ["model", "options", "schema"])
7798
7798
  ])) : we("", !0),
7799
7799
  P(b, {
7800
- modelValue: m.value,
7801
- "onUpdate:modelValue": y[2] || (y[2] = (_) => m.value = _),
7800
+ modelValue: h.value,
7801
+ "onUpdate:modelValue": y[2] || (y[2] = (_) => h.value = _),
7802
7802
  "trigger-label": "Show more"
7803
7803
  }, {
7804
7804
  default: M(() => [
@@ -7876,7 +7876,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7876
7876
  ]);
7877
7877
  };
7878
7878
  }
7879
- }), dp = /* @__PURE__ */ Me(sC, [["__scopeId", "data-v-9e924eac"]]);
7879
+ }), dp = /* @__PURE__ */ Me(sC, [["__scopeId", "data-v-1c3374ec"]]);
7880
7880
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
7881
7881
  function fp(e) {
7882
7882
  return typeof e > "u" || e === null;