@kong-ui-public/forms 4.27.5 → 4.28.0

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/forms.es.js CHANGED
@@ -6742,6 +6742,15 @@ const lg = /* @__PURE__ */ J(qp, [["render", sg], ["__scopeId", "data-v-bf1b5213
6742
6742
  type: Boolean,
6743
6743
  default: !1
6744
6744
  },
6745
+ /**
6746
+ * Identity Principals UI feature flag (khcp-20393). When false, behave as if the
6747
+ * `principals` fields aren't in the schema — the Kong Identity principals section is
6748
+ * hidden and the legacy common-fields form renders instead.
6749
+ */
6750
+ identityPrincipalsUiEnabled: {
6751
+ type: Boolean,
6752
+ default: !1
6753
+ },
6745
6754
  showNewPartialModal: {
6746
6755
  type: Function,
6747
6756
  default: () => {
@@ -6788,9 +6797,9 @@ const lg = /* @__PURE__ */ J(qp, [["render", sg], ["__scopeId", "data-v-bf1b5213
6788
6797
  },
6789
6798
  hasPrincipalsFields() {
6790
6799
  var e;
6791
- return (e = this.formSchema.fields) == null ? void 0 : e.some(
6800
+ return this.identityPrincipalsUiEnabled && ((e = this.formSchema.fields) == null ? void 0 : e.some(
6792
6801
  (t) => ao.has(t.model)
6793
- );
6802
+ ));
6794
6803
  },
6795
6804
  isKonnect() {
6796
6805
  var e;
@@ -7147,7 +7156,7 @@ function bg(e, t, n, o, a, i) {
7147
7156
  }, 8, ["tabs"])
7148
7157
  ]);
7149
7158
  }
7150
- const _g = /* @__PURE__ */ J(dg, [["render", bg], ["__scopeId", "data-v-a1ef4c39"]]), Tg = /* @__PURE__ */ be({
7159
+ const _g = /* @__PURE__ */ J(dg, [["render", bg], ["__scopeId", "data-v-122a0bb5"]]), Tg = /* @__PURE__ */ be({
7151
7160
  __name: "PostFunction",
7152
7161
  props: {
7153
7162
  formModel: {