@kong-ui-public/entities-gateway-services 3.11.1-pr.2035.0faab164d.2 → 3.11.1-pr.2038.43511dd90.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.
@@ -1,9 +1,9 @@
1
- import { defineComponent as Le, computed as k, ref as q, watch as Ue, onBeforeMount as it, resolveComponent as G, openBlock as S, createElementBlock as U, createVNode as u, unref as l, createSlots as Re, withCtx as v, createBlock as $e, Teleport as ze, createElementVNode as I, createCommentVNode as B, createTextVNode as J, toDisplayString as E, withModifiers as We, reactive as Me, onMounted as Qe, renderSlot as Xe, toValue as He, Transition as De, Fragment as rt, renderList as st } from "vue";
1
+ import { defineComponent as Le, computed as k, ref as q, toRef as it, watch as Ue, onBeforeMount as rt, resolveComponent as G, openBlock as S, createElementBlock as U, createVNode as u, unref as l, createSlots as Te, withCtx as v, createBlock as $e, Teleport as ze, createElementVNode as I, createCommentVNode as B, createTextVNode as J, toDisplayString as E, withModifiers as We, reactive as Me, onMounted as Qe, renderSlot as Xe, toValue as He, Transition as De, Fragment as st, renderList as at } from "vue";
2
2
  import { useRouter as Ge } from "vue-router";
3
- import { BookIcon as Ze, AddIcon as at, ServicesIcon as nt } from "@kong/icons";
4
- import { createI18n as ct, i18nTComponent as ut } from "@kong-ui-public/i18n";
5
- import { useAxios as Oe, useTableState as dt, useFetcher as ft, useDeleteUrlBuilder as pt, FetcherStatus as mt, EntityBaseTable as vt, EntityFilter as gt, PermissionsWrapper as Fe, TableTags as yt, EntityEmptyState as _t, EntityToggleModal as bt, EntityDeleteModal as ht, EntityTypes as wt, useErrors as Ye, useValidators as et, EntityBaseFormType as Be, useGatewayFeatureSupported as tt, EntityBaseForm as lt, SupportedEntityType as Ne, EntityFormSection as Ke, useHelpers as ot, ConfigurationSchemaSection as Ae, ConfigurationSchemaType as kt, EntityBaseConfigCard as Vt } from "@kong-ui-public/entities-shared";
6
- const Ct = {
3
+ import { BookIcon as Ze, AddIcon as nt, ServicesIcon as ct } from "@kong/icons";
4
+ import { createI18n as ut, i18nTComponent as dt } from "@kong-ui-public/i18n";
5
+ import { useAxios as Oe, useTableState as ft, useFetcher as pt, useDeleteUrlBuilder as mt, FetcherStatus as vt, EntityBaseTable as gt, EntityFilter as yt, PermissionsWrapper as Fe, TableTags as _t, EntityEmptyState as bt, EntityToggleModal as ht, EntityDeleteModal as wt, EntityTypes as kt, useErrors as Ye, useValidators as et, EntityBaseFormType as Be, useGatewayFeatureSupported as tt, EntityBaseForm as lt, SupportedEntityType as Ne, EntityFormSection as Ke, useHelpers as ot, ConfigurationSchemaSection as Ae, ConfigurationSchemaType as Vt, EntityBaseConfigCard as Ct } from "@kong-ui-public/entities-shared";
6
+ const St = {
7
7
  create: "New gateway service",
8
8
  serverless_create: "Add a Service",
9
9
  copy_id: "Copy ID",
@@ -16,12 +16,12 @@ const Ct = {
16
16
  description: "Deleting this Gateway Service will also remove any associated plugins. This action cannot be reversed.",
17
17
  menu_label: "Delete"
18
18
  }
19
- }, St = {
19
+ }, It = {
20
20
  placeholder: {
21
21
  konnect: "Filter by name",
22
22
  kongManager: "Filter by exact name or ID"
23
23
  }
24
- }, It = {
24
+ }, Pt = {
25
25
  title: "Gateway Services",
26
26
  list: {
27
27
  toolbar_actions: {
@@ -203,33 +203,33 @@ const Ct = {
203
203
  }
204
204
  }
205
205
  }
206
- }, Pt = {
206
+ }, Et = {
207
207
  general: "Gateway Services could not be retrieved",
208
208
  delete: "The gateway service could not be deleted at this time.",
209
209
  copy: "Failed to copy to clipboard",
210
210
  urlErrorMessage: "Error: invalid URL"
211
- }, Et = {
211
+ }, Ft = {
212
212
  success: "Copied {val} to clipboard",
213
213
  success_brief: "Successfully copied to clipboard"
214
- }, Ft = {
215
- gateway_services: "gateway services"
216
214
  }, $t = {
217
- actions: Ct,
218
- search: St,
219
- gateway_services: It,
220
- errors: Pt,
221
- copy: Et,
222
- glossary: Ft
215
+ gateway_services: "gateway services"
216
+ }, Ut = {
217
+ actions: St,
218
+ search: It,
219
+ gateway_services: Pt,
220
+ errors: Et,
221
+ copy: Ft,
222
+ glossary: $t
223
223
  };
224
- function Ut() {
225
- const n = ct("en-us", $t);
224
+ function At() {
225
+ const n = ut("en-us", Ut);
226
226
  return {
227
227
  i18n: n,
228
- i18nT: ut(n)
228
+ i18nT: dt(n)
229
229
  // Translation component <i18n-t>
230
230
  };
231
231
  }
232
- function At() {
232
+ function xt() {
233
233
  return {
234
234
  getPortFromProtocol: (K, y) => {
235
235
  const p = [80, 443], s = Number(y);
@@ -251,7 +251,7 @@ function At() {
251
251
  }
252
252
  };
253
253
  }
254
- function xt() {
254
+ function Rt() {
255
255
  const { i18n: { t: n } } = me.useI18n();
256
256
  return {
257
257
  validateHost: (b) => {
@@ -272,16 +272,16 @@ function xt() {
272
272
  };
273
273
  }
274
274
  const me = {
275
- useI18n: Ut,
276
- usePortFromProtocol: At,
277
- useUrlValidators: xt
278
- }, xe = "/v2/control-planes/{controlPlaneId}/core-entities", Te = "/{workspace}", ve = {
275
+ useI18n: At,
276
+ usePortFromProtocol: xt,
277
+ useUrlValidators: Rt
278
+ }, xe = "/v2/control-planes/{controlPlaneId}/core-entities", Re = "/{workspace}", ve = {
279
279
  list: {
280
280
  konnect: {
281
281
  all: `${xe}/services`
282
282
  },
283
283
  kongManager: {
284
- all: `${Te}/services`
284
+ all: `${Re}/services`
285
285
  }
286
286
  },
287
287
  form: {
@@ -291,12 +291,12 @@ const me = {
291
291
  edit: `${xe}/services/{id}`
292
292
  },
293
293
  kongManager: {
294
- create: `${Te}/services`,
295
- validate: `${Te}/schemas/services/validate`,
296
- edit: `${Te}/services/{id}`
294
+ create: `${Re}/services`,
295
+ validate: `${Re}/schemas/services/validate`,
296
+ edit: `${Re}/services/{id}`
297
297
  }
298
298
  }
299
- }, Tt = "#00abd2", Rt = "24px", Mt = { class: "kong-ui-entities-gateway-services-list" }, Bt = { class: "button-row" }, Kt = { class: "empty-state-icon-gateway" }, Lt = { key: 1 }, Wt = /* @__PURE__ */ Le({
299
+ }, Tt = "#00abd2", Mt = "24px", Bt = { class: "kong-ui-entities-gateway-services-list" }, Kt = { class: "button-row" }, Lt = { class: "empty-state-icon-gateway" }, Wt = { key: 1 }, Dt = /* @__PURE__ */ Le({
300
300
  __name: "GatewayServiceList",
301
301
  props: {
302
302
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -356,7 +356,7 @@ const me = {
356
356
  emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle:success"],
357
357
  setup(n, { emit: K }) {
358
358
  var c;
359
- const y = K, p = n, { i18n: { t: s, formatUnixTimeStamp: b } } = me.useI18n(), M = Ge(), { axiosInstance: Q } = Oe((c = p.config) == null ? void 0 : c.axiosRequestConfig), { hasRecords: r, handleStateChange: D } = dt(() => z.value), P = k(() => r.value && p.config.app === "konnect"), ie = k(() => !p.enableV2EmptyStates && p.config.app === "konnect"), ne = k(() => p.config.app !== "kongManager" || !!p.config.disableSorting), Y = {
359
+ const y = K, p = n, { i18n: { t: s, formatUnixTimeStamp: b } } = me.useI18n(), M = Ge(), { axiosInstance: Q } = Oe((c = p.config) == null ? void 0 : c.axiosRequestConfig), { hasRecords: r, handleStateChange: D } = ft(() => z.value), P = k(() => r.value && p.config.app === "konnect"), ie = k(() => !p.enableV2EmptyStates && p.config.app === "konnect"), ne = k(() => p.config.app !== "kongManager" || !!p.config.disableSorting), Y = {
360
360
  // the Name column is non-hidable
361
361
  name: { label: s("gateway_services.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 },
362
362
  ...p.config.showControlPlaneColumn ? { control_plane: { label: s("gateway_services.list.table_headers.control_plane") } } : {},
@@ -393,15 +393,15 @@ const me = {
393
393
  fetcher: o,
394
394
  fetcherState: w,
395
395
  fetcherCacheKey: re
396
- } = ft({ ...p.config, cacheIdentifier: p.cacheIdentifier }, x.value), ye = () => {
396
+ } = pt(it({ ...p.config, cacheIdentifier: p.cacheIdentifier }), x), ye = () => {
397
397
  z.value = "";
398
398
  }, ke = () => {
399
399
  re.value++;
400
400
  }, e = q(null), A = k(() => ({
401
401
  ctaPath: p.config.createRoute,
402
- ctaText: T.value ? p.isServerless ? s("actions.serverless_create") : s("actions.create") : void 0,
402
+ ctaText: R.value ? p.isServerless ? s("actions.serverless_create") : s("actions.create") : void 0,
403
403
  message: `${s("gateway_services.list.empty_state.description")}${p.config.additionMessageForEmptyState ? ` ${p.config.additionMessageForEmptyState}` : ""}`,
404
- title: T.value ? p.isServerless ? s("gateway_services.list.empty_state.serverless_title") : s("gateway_services.list.empty_state.title") : s("gateway_services.title")
404
+ title: R.value ? p.isServerless ? s("gateway_services.list.empty_state.serverless_title") : s("gateway_services.list.empty_state.title") : s("gateway_services.title")
405
405
  })), ue = q(!1), O = q(null), se = k(() => {
406
406
  const g = {
407
407
  action: "disable",
@@ -467,7 +467,7 @@ const me = {
467
467
  }), ee = (g) => ({
468
468
  label: s("actions.edit"),
469
469
  to: p.config.getEditRoute(g)
470
- }), H = q(void 0), Z = q(!1), te = q(!1), ae = q(""), i = pt(p.config, x.value), d = (g) => {
470
+ }), H = q(void 0), Z = q(!1), te = q(!1), ae = q(""), i = mt(p.config, x.value), d = (g) => {
471
471
  H.value = g, Z.value = !0, ae.value = "";
472
472
  }, V = () => {
473
473
  Z.value = !1, H.value = void 0;
@@ -488,7 +488,7 @@ const me = {
488
488
  };
489
489
  Ue(w, (g) => {
490
490
  var m, C, W;
491
- if (g.status === mt.Error) {
491
+ if (g.status === vt.Error) {
492
492
  e.value = {
493
493
  title: s("errors.general")
494
494
  }, (W = (C = (m = g.error) == null ? void 0 : m.response) == null ? void 0 : C.data) != null && W.message && (e.value.message = g.error.response.data.message), y("error", g.error);
@@ -496,13 +496,13 @@ const me = {
496
496
  }
497
497
  e.value = null;
498
498
  });
499
- const T = q(!1);
500
- return it(async () => {
501
- T.value = await p.canCreate();
499
+ const R = q(!1);
500
+ return rt(async () => {
501
+ R.value = await p.canCreate();
502
502
  }), (g, m) => {
503
503
  const C = G("KButton"), W = G("KBadge"), fe = G("KInputSwitch"), N = G("KDropdownItem"), pe = G("KClipboardProvider");
504
- return S(), U("div", Mt, [
505
- u(l(vt), {
504
+ return S(), U("div", Bt, [
505
+ u(l(gt), {
506
506
  "cache-identifier": n.cacheIdentifier,
507
507
  "default-table-preferences": we,
508
508
  "disable-sorting": ne.value,
@@ -519,9 +519,9 @@ const me = {
519
519
  "onClick:row": m[5] || (m[5] = (h) => be(h)),
520
520
  onSort: ke,
521
521
  onState: l(D)
522
- }, Re({
522
+ }, Te({
523
523
  "toolbar-filter": v(() => [
524
- u(l(gt), {
524
+ u(l(yt), {
525
525
  modelValue: z.value,
526
526
  "onUpdate:modelValue": m[0] || (m[0] = (h) => z.value = h),
527
527
  config: Ie.value
@@ -532,7 +532,7 @@ const me = {
532
532
  disabled: !n.useActionOutside,
533
533
  to: "#kong-ui-app-page-header-action-button"
534
534
  }, [
535
- I("div", Bt, [
535
+ I("div", Kt, [
536
536
  P.value ? (S(), $e(C, {
537
537
  key: 0,
538
538
  appearance: "secondary",
@@ -557,7 +557,7 @@ const me = {
557
557
  to: n.config.createRoute
558
558
  }, {
559
559
  default: v(() => [
560
- u(l(at)),
560
+ u(l(nt)),
561
561
  J(" " + E(l(s)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
562
562
  ]),
563
563
  _: 1
@@ -584,7 +584,7 @@ const me = {
584
584
  J(E(h.x_meta.cluster_id), 1)
585
585
  ]),
586
586
  _: 2
587
- }, 1032, ["tooltip", "onClick"])) : (S(), U("b", Lt, "-"))
587
+ }, 1032, ["tooltip", "onClick"])) : (S(), U("b", Wt, "-"))
588
588
  ];
589
589
  }),
590
590
  enabled: v(({ row: h }) => [
@@ -610,7 +610,7 @@ const me = {
610
610
  }, 1032, ["auth-function"])
611
611
  ]),
612
612
  tags: v(({ rowValue: h }) => [
613
- u(l(yt), { tags: h }, null, 8, ["tags"])
613
+ u(l(_t), { tags: h }, null, 8, ["tags"])
614
614
  ]),
615
615
  created_at: v(({ rowValue: h }) => [
616
616
  J(E(l(b)(h)), 1)
@@ -719,7 +719,7 @@ const me = {
719
719
  fn: v(() => {
720
720
  var h;
721
721
  return [
722
- u(l(_t), {
722
+ u(l(bt), {
723
723
  "action-button-text": l(s)("gateway_services.empty_state_v2.create"),
724
724
  appearance: "secondary",
725
725
  "can-create": () => n.canCreate(),
@@ -729,12 +729,12 @@ const me = {
729
729
  title: l(s)("gateway_services.empty_state_v2.title"),
730
730
  "onClick:create": L,
731
731
  "onClick:learnMore": m[3] || (m[3] = (t) => g.$emit("click:learn-more"))
732
- }, Re({
732
+ }, Te({
733
733
  image: v(() => [
734
- I("div", Kt, [
735
- u(l(nt), {
734
+ I("div", Lt, [
735
+ u(l(ct), {
736
736
  color: l(Tt),
737
- size: l(Rt)
737
+ size: l(Mt)
738
738
  }, null, 8, ["color", "size"])
739
739
  ])
740
740
  ]),
@@ -753,7 +753,7 @@ const me = {
753
753
  key: "1"
754
754
  } : void 0
755
755
  ]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "onState"]),
756
- u(l(bt), {
756
+ u(l(ht), {
757
757
  action: se.value.action,
758
758
  "entity-id": se.value.id,
759
759
  "entity-name": se.value.name,
@@ -763,11 +763,11 @@ const me = {
763
763
  onCancel: oe,
764
764
  onProceed: oe
765
765
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
766
- u(l(ht), {
766
+ u(l(wt), {
767
767
  "action-pending": te.value,
768
768
  description: l(s)("actions.delete.description"),
769
769
  "entity-name": H.value && (H.value.name || H.value.id),
770
- "entity-type": l(wt).GatewayService,
770
+ "entity-type": l(kt).GatewayService,
771
771
  error: ae.value,
772
772
  title: l(s)("actions.delete.title"),
773
773
  visible: Z.value,
@@ -782,28 +782,28 @@ const me = {
782
782
  for (const [p, s] of K)
783
783
  y[p] = s;
784
784
  return y;
785
- }, Al = /* @__PURE__ */ je(Wt, [["__scopeId", "data-v-3d11ac45"]]), Dt = { class: "kong-ui-entities-gateway-service-form" }, qt = { key: 0 }, Gt = { class: "gateway-service-form-traffic-label" }, Ot = { class: "gateway-service-form-margin-bottom" }, Nt = {
785
+ }, xl = /* @__PURE__ */ je(Dt, [["__scopeId", "data-v-363e9456"]]), qt = { class: "kong-ui-entities-gateway-service-form" }, Gt = { key: 0 }, Ot = { class: "gateway-service-form-traffic-label" }, Nt = { class: "gateway-service-form-margin-bottom" }, jt = {
786
786
  key: 0,
787
787
  class: "gateway-service-form-group-fields"
788
- }, jt = {
788
+ }, zt = {
789
789
  key: 1,
790
790
  class: "gateway-service-form-group-fields"
791
- }, zt = { key: 0 }, Ht = { class: "gateway-service-form-margin-top" }, Zt = { class: "gateway-service-form-margin-bottom" }, Jt = { class: "gateway-service-form-margin-bottom" }, Qt = { class: "gateway-service-form-margin-bottom" }, Xt = { class: "gateway-service-form-margin-bottom" }, Yt = {
791
+ }, Ht = { key: 0 }, Zt = { class: "gateway-service-form-margin-top" }, Jt = { class: "gateway-service-form-margin-bottom" }, Qt = { class: "gateway-service-form-margin-bottom" }, Xt = { class: "gateway-service-form-margin-bottom" }, Yt = { class: "gateway-service-form-margin-bottom" }, el = {
792
792
  key: 0,
793
793
  class: "gateway-service-form-margin-bottom"
794
- }, el = {
794
+ }, tl = {
795
795
  key: 1,
796
796
  class: "gateway-service-form-margin-bottom"
797
- }, tl = {
797
+ }, ll = {
798
798
  key: 2,
799
799
  class: "gateway-service-form-margin-bottom"
800
- }, ll = {
800
+ }, ol = {
801
801
  key: 0,
802
802
  class: "checkbox-aligned-radio"
803
- }, ol = {
803
+ }, il = {
804
804
  key: 1,
805
805
  class: "checkbox-aligned-radio"
806
- }, il = /* @__PURE__ */ Le({
806
+ }, rl = /* @__PURE__ */ Le({
807
807
  __name: "LegacyGatewayServiceForm",
808
808
  props: {
809
809
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -976,7 +976,7 @@ const me = {
976
976
  var d, V, X, L;
977
977
  const i = {
978
978
  name: o.fields.name || null,
979
- tags: o.fields.tags ? (X = (V = (d = o.fields.tags) == null ? void 0 : d.split(",")) == null ? void 0 : V.map((T) => String(T || "").trim())) == null ? void 0 : X.filter((T) => T !== "") : null,
979
+ tags: o.fields.tags ? (X = (V = (d = o.fields.tags) == null ? void 0 : d.split(",")) == null ? void 0 : V.map((R) => String(R || "").trim())) == null ? void 0 : X.filter((R) => R !== "") : null,
980
980
  protocol: o.fields.protocol,
981
981
  path: o.fields.path || null,
982
982
  read_timeout: o.fields.read_timeout,
@@ -985,7 +985,7 @@ const me = {
985
985
  connect_timeout: o.fields.connect_timeout,
986
986
  tls_verify_value: o.fields.tls_verify_value,
987
987
  tls_verify_enabled: o.fields.tls_verify_enabled,
988
- ca_certificates: o.fields.ca_certificates ? (L = o.fields.ca_certificates) == null ? void 0 : L.split(",").filter((T) => T !== "") : null,
988
+ ca_certificates: o.fields.ca_certificates ? (L = o.fields.ca_certificates) == null ? void 0 : L.split(",").filter((R) => R !== "") : null,
989
989
  client_certificate: o.fields.client_certificate ? { id: o.fields.client_certificate } : null,
990
990
  write_timeout: o.fields.write_timeout,
991
991
  port: o.fields.port,
@@ -998,12 +998,12 @@ const me = {
998
998
  o.isReadonly = !0, O();
999
999
  const L = Z.value;
1000
1000
  H(L);
1001
- let T;
1002
- if (await P.post(Ee.value, L), Y.value === "create" ? T = await P.post(ee.value, L) : Y.value === "edit" && (T = ((i = s.config) == null ? void 0 : i.app) === "konnect" ? await P.put(ee.value, L) : await P.patch(ee.value, L)), T) {
1003
- const { data: c } = T;
1004
- o.fields.name = (c == null ? void 0 : c.name) || "", o.fields.port = c.port || ge.getPortFromProtocol(c.protocol), o.fields.protocol = (c == null ? void 0 : c.protocol) || "http", o.fields.host = (c == null ? void 0 : c.host) || "", o.fields.path = (c == null ? void 0 : c.path) || "", o.fields.url = (c == null ? void 0 : c.url) || "", o.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, o.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, o.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, o.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, o.fields.client_certificate = ((d = c == null ? void 0 : c.client_certificate) == null ? void 0 : d.id) || "", o.fields.ca_certificates = (V = c == null ? void 0 : c.ca_certificates) != null && V.length ? c == null ? void 0 : c.ca_certificates.join(",") : "", o.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, o.fields.tls_verify_value = o.fields.tls_verify_enabled && (c == null ? void 0 : c.tls_verify), o.fields.tags = (X = c == null ? void 0 : c.tags) != null && X.length ? c.tags.join(", ") : "", Object.assign(w, o.fields), p("update", T == null ? void 0 : T.data);
1001
+ let R;
1002
+ if (await P.post(Ee.value, L), Y.value === "create" ? R = await P.post(ee.value, L) : Y.value === "edit" && (R = ((i = s.config) == null ? void 0 : i.app) === "konnect" ? await P.put(ee.value, L) : await P.patch(ee.value, L)), R) {
1003
+ const { data: c } = R;
1004
+ o.fields.name = (c == null ? void 0 : c.name) || "", o.fields.port = c.port || ge.getPortFromProtocol(c.protocol), o.fields.protocol = (c == null ? void 0 : c.protocol) || "http", o.fields.host = (c == null ? void 0 : c.host) || "", o.fields.path = (c == null ? void 0 : c.path) || "", o.fields.url = (c == null ? void 0 : c.url) || "", o.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, o.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, o.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, o.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, o.fields.client_certificate = ((d = c == null ? void 0 : c.client_certificate) == null ? void 0 : d.id) || "", o.fields.ca_certificates = (V = c == null ? void 0 : c.ca_certificates) != null && V.length ? c == null ? void 0 : c.ca_certificates.join(",") : "", o.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, o.fields.tls_verify_value = o.fields.tls_verify_enabled && (c == null ? void 0 : c.tls_verify), o.fields.tags = (X = c == null ? void 0 : c.tags) != null && X.length ? c.tags.join(", ") : "", Object.assign(w, o.fields), p("update", R == null ? void 0 : R.data);
1005
1005
  }
1006
- return T;
1006
+ return R;
1007
1007
  } catch (L) {
1008
1008
  o.errorMessage = D(L), p("error", L);
1009
1009
  } finally {
@@ -1023,8 +1023,8 @@ const me = {
1023
1023
  canSubmit: de,
1024
1024
  initForm: _e
1025
1025
  }), (i, d) => {
1026
- const V = G("KInput"), X = G("KLabel"), L = G("KRadio"), T = G("KSelect"), c = G("KCheckbox"), g = G("KCollapse");
1027
- return S(), U("div", Dt, [
1026
+ const V = G("KInput"), X = G("KLabel"), L = G("KRadio"), R = G("KSelect"), c = G("KCheckbox"), g = G("KCollapse");
1027
+ return S(), U("div", qt, [
1028
1028
  u(l(lt), {
1029
1029
  "can-submit": de.value,
1030
1030
  config: n.config,
@@ -1099,8 +1099,8 @@ const me = {
1099
1099
  title: l(r)("gateway_services.form.sections.keys.title")
1100
1100
  }, {
1101
1101
  default: v(() => [
1102
- ce.value ? B("", !0) : (S(), U("div", qt, [
1103
- I("div", Gt, [
1102
+ ce.value ? B("", !0) : (S(), U("div", Gt, [
1103
+ I("div", Ot, [
1104
1104
  u(X, { required: "" }, {
1105
1105
  default: v(() => [
1106
1106
  J(E(l(r)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
@@ -1108,7 +1108,7 @@ const me = {
1108
1108
  _: 1
1109
1109
  })
1110
1110
  ]),
1111
- I("div", Ot, [
1111
+ I("div", Nt, [
1112
1112
  u(L, {
1113
1113
  modelValue: x.value,
1114
1114
  "onUpdate:modelValue": d[2] || (d[2] = (m) => x.value = m),
@@ -1122,7 +1122,7 @@ const me = {
1122
1122
  _: 1
1123
1123
  }, 8, ["modelValue", "selected-value"])
1124
1124
  ]),
1125
- x.value === "url" ? (S(), U("div", Nt, [
1125
+ x.value === "url" ? (S(), U("div", jt, [
1126
1126
  u(V, {
1127
1127
  modelValue: o.fields.url,
1128
1128
  "onUpdate:modelValue": d[3] || (d[3] = (m) => o.fields.url = m),
@@ -1153,8 +1153,8 @@ const me = {
1153
1153
  _: 1
1154
1154
  }, 8, ["modelValue", "selected-value"])
1155
1155
  ])),
1156
- x.value === "protocol" || ce.value ? (S(), U("div", jt, [
1157
- u(T, {
1156
+ x.value === "protocol" || ce.value ? (S(), U("div", zt, [
1157
+ u(R, {
1158
1158
  modelValue: o.fields.protocol,
1159
1159
  "onUpdate:modelValue": d[5] || (d[5] = (m) => o.fields.protocol = m),
1160
1160
  "data-testid": "gateway-service-protocol-select",
@@ -1184,7 +1184,7 @@ const me = {
1184
1184
  placeholder: l(r)("gateway_services.form.fields.host.placeholder"),
1185
1185
  required: ""
1186
1186
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
1187
- se.value ? (S(), U("div", zt, [
1187
+ se.value ? (S(), U("div", Ht, [
1188
1188
  u(V, {
1189
1189
  modelValue: o.fields.path,
1190
1190
  "onUpdate:modelValue": d[8] || (d[8] = (m) => o.fields.path = m),
@@ -1227,8 +1227,8 @@ const me = {
1227
1227
  "trigger-label": l(r)("gateway_services.form.sections.keys.viewAdvancedFields")
1228
1228
  }, {
1229
1229
  default: v(() => [
1230
- I("div", Ht, [
1231
- I("div", Zt, [
1230
+ I("div", Zt, [
1231
+ I("div", Jt, [
1232
1232
  u(V, {
1233
1233
  modelValue: o.fields.retries,
1234
1234
  "onUpdate:modelValue": [
@@ -1249,7 +1249,7 @@ const me = {
1249
1249
  type: "number"
1250
1250
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1251
1251
  ]),
1252
- I("div", Jt, [
1252
+ I("div", Qt, [
1253
1253
  u(V, {
1254
1254
  modelValue: o.fields.connect_timeout,
1255
1255
  "onUpdate:modelValue": [
@@ -1270,7 +1270,7 @@ const me = {
1270
1270
  type: "number"
1271
1271
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1272
1272
  ]),
1273
- I("div", Qt, [
1273
+ I("div", Xt, [
1274
1274
  u(V, {
1275
1275
  modelValue: o.fields.write_timeout,
1276
1276
  "onUpdate:modelValue": [
@@ -1291,7 +1291,7 @@ const me = {
1291
1291
  type: "number"
1292
1292
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1293
1293
  ]),
1294
- I("div", Xt, [
1294
+ I("div", Yt, [
1295
1295
  u(V, {
1296
1296
  modelValue: o.fields.read_timeout,
1297
1297
  "onUpdate:modelValue": [
@@ -1312,7 +1312,7 @@ const me = {
1312
1312
  type: "number"
1313
1313
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1314
1314
  ]),
1315
- Pe.value ? (S(), U("div", Yt, [
1315
+ Pe.value ? (S(), U("div", el, [
1316
1316
  u(V, {
1317
1317
  modelValue: o.fields.client_certificate,
1318
1318
  "onUpdate:modelValue": d[19] || (d[19] = (m) => o.fields.client_certificate = m),
@@ -1330,7 +1330,7 @@ const me = {
1330
1330
  type: "text"
1331
1331
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
1332
1332
  ])) : B("", !0),
1333
- oe.value ? (S(), U("div", el, [
1333
+ oe.value ? (S(), U("div", tl, [
1334
1334
  u(V, {
1335
1335
  modelValue: o.fields.ca_certificates,
1336
1336
  "onUpdate:modelValue": d[20] || (d[20] = (m) => o.fields.ca_certificates = m),
@@ -1360,7 +1360,7 @@ const me = {
1360
1360
  _: 1
1361
1361
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
1362
1362
  ])) : B("", !0),
1363
- Ve.value ? (S(), U("div", tl, [
1363
+ Ve.value ? (S(), U("div", ll, [
1364
1364
  u(c, {
1365
1365
  modelValue: o.fields.tls_verify_enabled,
1366
1366
  "onUpdate:modelValue": d[21] || (d[21] = (m) => o.fields.tls_verify_enabled = m),
@@ -1382,7 +1382,7 @@ const me = {
1382
1382
  ]),
1383
1383
  _: 1
1384
1384
  }, 8, ["modelValue", "description", "label"]),
1385
- o.fields.tls_verify_enabled ? (S(), U("div", ll, [
1385
+ o.fields.tls_verify_enabled ? (S(), U("div", ol, [
1386
1386
  u(L, {
1387
1387
  modelValue: o.fields.tls_verify_value,
1388
1388
  "onUpdate:modelValue": d[22] || (d[22] = (m) => o.fields.tls_verify_value = m),
@@ -1391,7 +1391,7 @@ const me = {
1391
1391
  "selected-value": !0
1392
1392
  }, null, 8, ["modelValue", "label"])
1393
1393
  ])) : B("", !0),
1394
- o.fields.tls_verify_enabled ? (S(), U("div", ol, [
1394
+ o.fields.tls_verify_enabled ? (S(), U("div", il, [
1395
1395
  u(L, {
1396
1396
  modelValue: o.fields.tls_verify_value,
1397
1397
  "onUpdate:modelValue": d[23] || (d[23] = (m) => o.fields.tls_verify_value = m),
@@ -1414,7 +1414,7 @@ const me = {
1414
1414
  ]);
1415
1415
  };
1416
1416
  }
1417
- }), xl = /* @__PURE__ */ je(il, [["__scopeId", "data-v-c2c5e1f0"]]), rl = { class: "kong-ui-gateway-service-entity-config-card" }, Tl = /* @__PURE__ */ Le({
1417
+ }), Rl = /* @__PURE__ */ je(rl, [["__scopeId", "data-v-c2c5e1f0"]]), sl = { class: "kong-ui-gateway-service-entity-config-card" }, Tl = /* @__PURE__ */ Le({
1418
1418
  __name: "GatewayServiceConfigCard",
1419
1419
  props: {
1420
1420
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1490,7 +1490,7 @@ const me = {
1490
1490
  tooltip: y("gateway_services.form.fields.client_certificate.tooltip")
1491
1491
  },
1492
1492
  ca_certificates: {
1493
- type: kt.BadgeTag,
1493
+ type: Vt.BadgeTag,
1494
1494
  label: y("gateway_services.form.fields.ca_certificates.label"),
1495
1495
  order: 6
1496
1496
  },
@@ -1501,8 +1501,8 @@ const me = {
1501
1501
  hidden: !0
1502
1502
  }
1503
1503
  });
1504
- return (r, D) => (S(), U("div", rl, [
1505
- u(l(Vt), {
1504
+ return (r, D) => (S(), U("div", sl, [
1505
+ u(l(Ct), {
1506
1506
  config: n.config,
1507
1507
  "config-card-doc": n.configCardDoc,
1508
1508
  "config-schema": Q.value,
@@ -1566,7 +1566,7 @@ const me = {
1566
1566
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
1567
1567
  const Je = () => {
1568
1568
  };
1569
- function sl(n, K) {
1569
+ function al(n, K) {
1570
1570
  function y(...p) {
1571
1571
  return new Promise((s, b) => {
1572
1572
  Promise.resolve(n(() => K.apply(this, p), { fn: K, thisArg: this, args: p })).then(s).catch(b);
@@ -1574,7 +1574,7 @@ function sl(n, K) {
1574
1574
  }
1575
1575
  return y;
1576
1576
  }
1577
- function al(n, K = {}) {
1577
+ function nl(n, K = {}) {
1578
1578
  let y, p, s = Je;
1579
1579
  const b = (r) => {
1580
1580
  clearTimeout(r), s(), s = Je;
@@ -1592,8 +1592,8 @@ function al(n, K = {}) {
1592
1592
  };
1593
1593
  }
1594
1594
  function qe(n, K = 200, y = {}) {
1595
- return sl(
1596
- al(K, y),
1595
+ return al(
1596
+ nl(K, y),
1597
1597
  n
1598
1598
  );
1599
1599
  }
@@ -1610,34 +1610,34 @@ const le = {
1610
1610
  client_certificate: null,
1611
1611
  write_timeout: 6e4,
1612
1612
  port: 443
1613
- }, nl = { class: "kong-ui-entities-gateway-service-form" }, cl = {
1613
+ }, cl = { class: "kong-ui-entities-gateway-service-form" }, ul = {
1614
1614
  key: 0,
1615
1615
  class: "gateway-service-form-general-info"
1616
- }, ul = { class: "gateway-service-form-group-selection-wrapper" }, dl = {
1616
+ }, dl = { class: "gateway-service-form-group-selection-wrapper" }, fl = {
1617
1617
  key: 0,
1618
1618
  class: "gateway-service-form-group-fields"
1619
- }, fl = {
1619
+ }, pl = {
1620
1620
  key: 0,
1621
1621
  class: "gateway-service-form-group-fields"
1622
- }, pl = { key: 0 }, ml = {
1622
+ }, ml = { key: 0 }, vl = {
1623
1623
  key: 0,
1624
1624
  class: "gateway-service-form-advanced-fields"
1625
- }, vl = { class: "gateway-service-form-margin-bottom" }, gl = { class: "gateway-service-form-margin-bottom" }, yl = { class: "gateway-service-form-margin-bottom" }, _l = { class: "gateway-service-form-margin-bottom" }, bl = {
1625
+ }, gl = { class: "gateway-service-form-margin-bottom" }, yl = { class: "gateway-service-form-margin-bottom" }, _l = { class: "gateway-service-form-margin-bottom" }, bl = { class: "gateway-service-form-margin-bottom" }, hl = {
1626
1626
  key: 0,
1627
1627
  class: "gateway-service-form-margin-bottom"
1628
- }, hl = {
1628
+ }, wl = {
1629
1629
  key: 1,
1630
1630
  class: "gateway-service-form-margin-bottom"
1631
- }, wl = {
1631
+ }, kl = {
1632
1632
  key: 2,
1633
1633
  class: "gateway-service-form-margin-bottom"
1634
- }, kl = {
1634
+ }, Vl = {
1635
1635
  key: 0,
1636
1636
  class: "checkbox-aligned-radio"
1637
- }, Vl = {
1637
+ }, Cl = {
1638
1638
  key: 1,
1639
1639
  class: "checkbox-aligned-radio"
1640
- }, Cl = { class: "gateway-service-form-tags" }, Sl = { class: "form-error-list" }, Il = /* @__PURE__ */ Le({
1640
+ }, Sl = { class: "gateway-service-form-tags" }, Il = { class: "form-error-list" }, Pl = /* @__PURE__ */ Le({
1641
1641
  __name: "GatewayServiceForm",
1642
1642
  props: {
1643
1643
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1810,8 +1810,8 @@ const le = {
1810
1810
  e.fields.path = t.pathname;
1811
1811
  const $ = we(t.port);
1812
1812
  if ($) throw new Error($);
1813
- const R = Number(t.port);
1814
- Ie.value = !!R, e.fields.port = R || re.getPortFromProtocol(e.fields.protocol), p("url-valid:success");
1813
+ const T = Number(t.port);
1814
+ Ie.value = !!T, e.fields.port = T || re.getPortFromProtocol(e.fields.protocol), p("url-valid:success");
1815
1815
  } catch {
1816
1816
  p("url-valid:error", r("gateway_services.form.errors.url.invalid")), e.formFieldErrors.url = r("gateway_services.form.errors.url.invalid");
1817
1817
  }
@@ -1858,7 +1858,7 @@ const le = {
1858
1858
  return !0;
1859
1859
  const t = ["https", "wss", "tls"].includes(e.fields.protocol);
1860
1860
  return w.value === "protocol" && t;
1861
- }), T = (t) => {
1861
+ }), R = (t) => {
1862
1862
  Z("name"), ye.value = ie.utf8Name(t);
1863
1863
  }, c = k(() => {
1864
1864
  const t = !o.value || !x(e.fields, A), a = w.value === "url" && !!e.fields.url && te.value, F = w.value === "protocol" && !!e.fields.host && te.value;
@@ -1883,7 +1883,7 @@ const le = {
1883
1883
  var a, F, j, $;
1884
1884
  const t = {
1885
1885
  name: e.fields.name || null,
1886
- tags: e.fields.tags ? (j = (F = (a = e.fields.tags) == null ? void 0 : a.split(",")) == null ? void 0 : F.map((R) => String(R || "").trim())) == null ? void 0 : j.filter((R) => R !== "") : null,
1886
+ tags: e.fields.tags ? (j = (F = (a = e.fields.tags) == null ? void 0 : a.split(",")) == null ? void 0 : F.map((T) => String(T || "").trim())) == null ? void 0 : j.filter((T) => T !== "") : null,
1887
1887
  protocol: e.fields.protocol,
1888
1888
  path: e.fields.path || null,
1889
1889
  read_timeout: e.fields.read_timeout,
@@ -1892,7 +1892,7 @@ const le = {
1892
1892
  connect_timeout: e.fields.connect_timeout,
1893
1893
  tls_verify_value: e.fields.tls_verify_value,
1894
1894
  tls_verify_enabled: e.fields.tls_verify_enabled,
1895
- ca_certificates: e.fields.ca_certificates ? ($ = e.fields.ca_certificates) == null ? void 0 : $.split(",").filter((R) => R !== "") : null,
1895
+ ca_certificates: e.fields.ca_certificates ? ($ = e.fields.ca_certificates) == null ? void 0 : $.split(",").filter((T) => T !== "") : null,
1896
1896
  client_certificate: e.fields.client_certificate ? { id: e.fields.client_certificate } : null,
1897
1897
  write_timeout: e.fields.write_timeout,
1898
1898
  port: e.fields.port,
@@ -1905,15 +1905,15 @@ const le = {
1905
1905
  e.isReadonly = !0, ae();
1906
1906
  const $ = N.value;
1907
1907
  fe($);
1908
- let R;
1909
- if (await P.post(C.value, $), z.value === "create" ? R = await P.post(W.value, $) : z.value === "edit" && (R = ((t = s.config) == null ? void 0 : t.app) === "konnect" ? await P.put(W.value, $) : await P.patch(W.value, $)), R) {
1910
- const { data: f } = R;
1911
- e.fields.name = (f == null ? void 0 : f.name) || "", e.fields.port = f.port || re.getPortFromProtocol(f.protocol), e.fields.protocol = (f == null ? void 0 : f.protocol) || "http", e.fields.host = (f == null ? void 0 : f.host) || "", e.fields.path = (f == null ? void 0 : f.path) || "", e.fields.url = (f == null ? void 0 : f.url) || "", e.fields.retries = f != null && f.retries || (f == null ? void 0 : f.retries) === 0 ? f == null ? void 0 : f.retries : 5, e.fields.connect_timeout = f != null && f.connect_timeout || (f == null ? void 0 : f.connect_timeout) === 0 ? f == null ? void 0 : f.connect_timeout : 6e4, e.fields.write_timeout = f != null && f.write_timeout || (f == null ? void 0 : f.write_timeout) === 0 ? f == null ? void 0 : f.write_timeout : 6e4, e.fields.read_timeout = f != null && f.read_timeout || (f == null ? void 0 : f.read_timeout) === 0 ? f == null ? void 0 : f.read_timeout : 6e4, e.fields.client_certificate = ((a = f == null ? void 0 : f.client_certificate) == null ? void 0 : a.id) || "", e.fields.ca_certificates = (F = f == null ? void 0 : f.ca_certificates) != null && F.length ? f == null ? void 0 : f.ca_certificates.join(",") : "", e.fields.tls_verify_enabled = (f == null ? void 0 : f.tls_verify) !== "" && (f == null ? void 0 : f.tls_verify) !== null && (f == null ? void 0 : f.tls_verify) !== void 0, e.fields.tls_verify_value = e.fields.tls_verify_enabled && (f == null ? void 0 : f.tls_verify), e.fields.tags = (j = f == null ? void 0 : f.tags) != null && j.length ? f.tags.join(", ") : "", Object.assign(A, e.fields), p("update", R == null ? void 0 : R.data);
1908
+ let T;
1909
+ if (await P.post(C.value, $), z.value === "create" ? T = await P.post(W.value, $) : z.value === "edit" && (T = ((t = s.config) == null ? void 0 : t.app) === "konnect" ? await P.put(W.value, $) : await P.patch(W.value, $)), T) {
1910
+ const { data: f } = T;
1911
+ e.fields.name = (f == null ? void 0 : f.name) || "", e.fields.port = f.port || re.getPortFromProtocol(f.protocol), e.fields.protocol = (f == null ? void 0 : f.protocol) || "http", e.fields.host = (f == null ? void 0 : f.host) || "", e.fields.path = (f == null ? void 0 : f.path) || "", e.fields.url = (f == null ? void 0 : f.url) || "", e.fields.retries = f != null && f.retries || (f == null ? void 0 : f.retries) === 0 ? f == null ? void 0 : f.retries : 5, e.fields.connect_timeout = f != null && f.connect_timeout || (f == null ? void 0 : f.connect_timeout) === 0 ? f == null ? void 0 : f.connect_timeout : 6e4, e.fields.write_timeout = f != null && f.write_timeout || (f == null ? void 0 : f.write_timeout) === 0 ? f == null ? void 0 : f.write_timeout : 6e4, e.fields.read_timeout = f != null && f.read_timeout || (f == null ? void 0 : f.read_timeout) === 0 ? f == null ? void 0 : f.read_timeout : 6e4, e.fields.client_certificate = ((a = f == null ? void 0 : f.client_certificate) == null ? void 0 : a.id) || "", e.fields.ca_certificates = (F = f == null ? void 0 : f.ca_certificates) != null && F.length ? f == null ? void 0 : f.ca_certificates.join(",") : "", e.fields.tls_verify_enabled = (f == null ? void 0 : f.tls_verify) !== "" && (f == null ? void 0 : f.tls_verify) !== null && (f == null ? void 0 : f.tls_verify) !== void 0, e.fields.tls_verify_value = e.fields.tls_verify_enabled && (f == null ? void 0 : f.tls_verify), e.fields.tags = (j = f == null ? void 0 : f.tags) != null && j.length ? f.tags.join(", ") : "", Object.assign(A, e.fields), p("update", T == null ? void 0 : T.data);
1912
1912
  }
1913
- return R;
1913
+ return T;
1914
1914
  } catch ($) {
1915
- const { fields: R, messages: f } = D($);
1916
- e.errorMessages = f, R.length && R.forEach((he) => {
1915
+ const { fields: T, messages: f } = D($);
1916
+ e.errorMessages = f, T.length && T.forEach((he) => {
1917
1917
  const Se = he.field;
1918
1918
  Se === "client_certificate.id" ? e.formFieldErrors.client_certificate = he.message : Se.startsWith("ca_certificates") ? e.formFieldErrors.ca_certificates = he.message : Object.keys(e.formFieldErrors).includes(Se) && (e.formFieldErrors = {
1919
1919
  ...e.formFieldErrors,
@@ -1937,8 +1937,8 @@ const le = {
1937
1937
  canSubmit: c,
1938
1938
  initForm: g
1939
1939
  }), (t, a) => {
1940
- const F = G("KRadio"), j = G("KButton"), $ = G("KInput"), R = G("KSelect"), f = G("KCheckbox"), he = G("KCollapse"), Se = G("KAlert");
1941
- return S(), U("div", nl, [
1940
+ const F = G("KRadio"), j = G("KButton"), $ = G("KInput"), T = G("KSelect"), f = G("KCheckbox"), he = G("KCollapse"), Se = G("KAlert");
1941
+ return S(), U("div", cl, [
1942
1942
  u(l(lt), {
1943
1943
  "can-submit": c.value,
1944
1944
  config: n.config,
@@ -1967,8 +1967,8 @@ const le = {
1967
1967
  title: l(r)("gateway_services.form.sections.keys.title")
1968
1968
  }, {
1969
1969
  default: v(() => [
1970
- o.value ? B("", !0) : (S(), U("div", cl, [
1971
- I("div", ul, [
1970
+ o.value ? B("", !0) : (S(), U("div", ul, [
1971
+ I("div", dl, [
1972
1972
  u(F, {
1973
1973
  modelValue: w.value,
1974
1974
  "onUpdate:modelValue": a[0] || (a[0] = (_) => w.value = _),
@@ -1995,7 +1995,7 @@ const le = {
1995
1995
  ]),
1996
1996
  u(De, { name: "slide-fade" }, {
1997
1997
  default: v(() => [
1998
- w.value === "url" ? (S(), U("div", dl, [
1998
+ w.value === "url" ? (S(), U("div", fl, [
1999
1999
  u($, {
2000
2000
  modelValue: e.fields.url,
2001
2001
  "onUpdate:modelValue": a[2] || (a[2] = (_) => e.fields.url = _),
@@ -2013,7 +2013,7 @@ const le = {
2013
2013
  placeholder: l(r)("gateway_services.form.fields.upstream_url.placeholder"),
2014
2014
  required: "",
2015
2015
  onInput: l(_e)
2016
- }, Re({ _: 2 }, [
2016
+ }, Te({ _: 2 }, [
2017
2017
  n.hideTrySampleApiButton ? void 0 : {
2018
2018
  name: "after",
2019
2019
  fn: v(() => [
@@ -2038,8 +2038,8 @@ const le = {
2038
2038
  ])),
2039
2039
  u(De, { name: "slide-fade" }, {
2040
2040
  default: v(() => [
2041
- w.value === "protocol" || o.value ? (S(), U("div", fl, [
2042
- u(R, {
2041
+ w.value === "protocol" || o.value ? (S(), U("div", pl, [
2042
+ u(T, {
2043
2043
  modelValue: e.fields.protocol,
2044
2044
  "onUpdate:modelValue": a[3] || (a[3] = (_) => e.fields.protocol = _),
2045
2045
  "data-testid": "gateway-service-protocol-select",
@@ -2071,7 +2071,7 @@ const le = {
2071
2071
  placeholder: l(r)("gateway_services.form.fields.host.placeholder"),
2072
2072
  required: "",
2073
2073
  onInput: a[6] || (a[6] = (_) => l(H)("host"))
2074
- }, Re({ _: 2 }, [
2074
+ }, Te({ _: 2 }, [
2075
2075
  n.hideTrySampleApiButton ? void 0 : {
2076
2076
  name: "after",
2077
2077
  fn: v(() => [
@@ -2089,7 +2089,7 @@ const le = {
2089
2089
  key: "0"
2090
2090
  }
2091
2091
  ]), 1032, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder"]),
2092
- d.value ? (S(), U("div", pl, [
2092
+ d.value ? (S(), U("div", ml, [
2093
2093
  u($, {
2094
2094
  modelValue: e.fields.path,
2095
2095
  "onUpdate:modelValue": a[7] || (a[7] = (_) => e.fields.path = _),
@@ -2143,8 +2143,8 @@ const le = {
2143
2143
  default: v(() => [
2144
2144
  u(De, { name: "slide-fade" }, {
2145
2145
  default: v(() => [
2146
- b.value ? B("", !0) : (S(), U("div", ml, [
2147
- I("div", vl, [
2146
+ b.value ? B("", !0) : (S(), U("div", vl, [
2147
+ I("div", gl, [
2148
2148
  u($, {
2149
2149
  modelValue: e.fields.retries,
2150
2150
  "onUpdate:modelValue": [
@@ -2165,7 +2165,7 @@ const le = {
2165
2165
  type: "number"
2166
2166
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2167
2167
  ]),
2168
- I("div", gl, [
2168
+ I("div", yl, [
2169
2169
  u($, {
2170
2170
  modelValue: e.fields.connect_timeout,
2171
2171
  "onUpdate:modelValue": [
@@ -2186,7 +2186,7 @@ const le = {
2186
2186
  type: "number"
2187
2187
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2188
2188
  ]),
2189
- I("div", yl, [
2189
+ I("div", _l, [
2190
2190
  u($, {
2191
2191
  modelValue: e.fields.write_timeout,
2192
2192
  "onUpdate:modelValue": [
@@ -2207,7 +2207,7 @@ const le = {
2207
2207
  type: "number"
2208
2208
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2209
2209
  ]),
2210
- I("div", _l, [
2210
+ I("div", bl, [
2211
2211
  u($, {
2212
2212
  modelValue: e.fields.read_timeout,
2213
2213
  "onUpdate:modelValue": [
@@ -2228,7 +2228,7 @@ const le = {
2228
2228
  type: "number"
2229
2229
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2230
2230
  ]),
2231
- V.value ? (S(), U("div", bl, [
2231
+ V.value ? (S(), U("div", hl, [
2232
2232
  u($, {
2233
2233
  modelValue: e.fields.client_certificate,
2234
2234
  "onUpdate:modelValue": a[20] || (a[20] = (_) => e.fields.client_certificate = _),
@@ -2248,7 +2248,7 @@ const le = {
2248
2248
  onInput: a[21] || (a[21] = (_) => l(be)("client_certificate"))
2249
2249
  }, null, 8, ["modelValue", "error", "label", "label-attributes", "placeholder", "readonly"])
2250
2250
  ])) : B("", !0),
2251
- X.value ? (S(), U("div", hl, [
2251
+ X.value ? (S(), U("div", wl, [
2252
2252
  u($, {
2253
2253
  modelValue: e.fields.ca_certificates,
2254
2254
  "onUpdate:modelValue": a[22] || (a[22] = (_) => e.fields.ca_certificates = _),
@@ -2280,7 +2280,7 @@ const le = {
2280
2280
  _: 1
2281
2281
  }, 8, ["modelValue", "error", "label", "placeholder", "readonly"])
2282
2282
  ])) : B("", !0),
2283
- L.value ? (S(), U("div", wl, [
2283
+ L.value ? (S(), U("div", kl, [
2284
2284
  u(f, {
2285
2285
  modelValue: e.fields.tls_verify_enabled,
2286
2286
  "onUpdate:modelValue": a[24] || (a[24] = (_) => e.fields.tls_verify_enabled = _),
@@ -2302,7 +2302,7 @@ const le = {
2302
2302
  ]),
2303
2303
  _: 1
2304
2304
  }, 8, ["modelValue", "description", "label"]),
2305
- e.fields.tls_verify_enabled ? (S(), U("div", kl, [
2305
+ e.fields.tls_verify_enabled ? (S(), U("div", Vl, [
2306
2306
  u(F, {
2307
2307
  modelValue: e.fields.tls_verify_value,
2308
2308
  "onUpdate:modelValue": a[25] || (a[25] = (_) => e.fields.tls_verify_value = _),
@@ -2311,7 +2311,7 @@ const le = {
2311
2311
  "selected-value": !0
2312
2312
  }, null, 8, ["modelValue", "label"])
2313
2313
  ])) : B("", !0),
2314
- e.fields.tls_verify_enabled ? (S(), U("div", Vl, [
2314
+ e.fields.tls_verify_enabled ? (S(), U("div", Cl, [
2315
2315
  u(F, {
2316
2316
  modelValue: e.fields.tls_verify_value,
2317
2317
  "onUpdate:modelValue": a[26] || (a[26] = (_) => e.fields.tls_verify_value = _),
@@ -2354,7 +2354,7 @@ const le = {
2354
2354
  placeholder: l(r)("gateway_services.form.fields.name.placeholder"),
2355
2355
  readonly: e.isReadonly,
2356
2356
  type: "text",
2357
- onInput: T
2357
+ onInput: R
2358
2358
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
2359
2359
  u(he, {
2360
2360
  "data-testid": "tags-collapse",
@@ -2362,7 +2362,7 @@ const le = {
2362
2362
  "trigger-label": l(r)("gateway_services.form.fields.tags.collapse")
2363
2363
  }, {
2364
2364
  default: v(() => [
2365
- I("div", Cl, [
2365
+ I("div", Sl, [
2366
2366
  u($, {
2367
2367
  modelValue: e.fields.tags,
2368
2368
  "onUpdate:modelValue": a[29] || (a[29] = (_) => e.fields.tags = _),
@@ -2392,8 +2392,8 @@ const le = {
2392
2392
  appearance: "danger"
2393
2393
  }, {
2394
2394
  default: v(() => [
2395
- I("ul", Sl, [
2396
- (S(!0), U(rt, null, st(e.errorMessages, (_) => (S(), U("li", { key: _ }, E(_), 1))), 128))
2395
+ I("ul", Il, [
2396
+ (S(!0), U(st, null, at(e.errorMessages, (_) => (S(), U("li", { key: _ }, E(_), 1))), 128))
2397
2397
  ])
2398
2398
  ]),
2399
2399
  _: 1
@@ -2404,10 +2404,10 @@ const le = {
2404
2404
  ]);
2405
2405
  };
2406
2406
  }
2407
- }), Rl = /* @__PURE__ */ je(Il, [["__scopeId", "data-v-1e0946bb"]]);
2407
+ }), Ml = /* @__PURE__ */ je(Pl, [["__scopeId", "data-v-1e0946bb"]]);
2408
2408
  export {
2409
2409
  Tl as GatewayServiceConfigCard,
2410
- Rl as GatewayServiceForm,
2411
- Al as GatewayServiceList,
2412
- xl as LegacyGatewayServiceForm
2410
+ Ml as GatewayServiceForm,
2411
+ xl as GatewayServiceList,
2412
+ Rl as LegacyGatewayServiceForm
2413
2413
  };