@kong-ui-public/entities-gateway-services 3.11.31-pr.2172.9564bc8f4.0 → 3.11.31-pr.2172.c6ec52340.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,4 +1,4 @@
1
- import { defineComponent as Le, computed as k, ref as D, watch as Fe, onBeforeMount as tt, resolveComponent as W, openBlock as S, createElementBlock as $, createVNode as d, unref as l, createSlots as Te, withCtx as m, createBlock as $e, Teleport as je, createElementVNode as I, createCommentVNode as M, createTextVNode as Z, toDisplayString as P, withModifiers as De, reactive as Me, onMounted as He, renderSlot as Ze, Transition as We, Fragment as lt, renderList as ot } from "vue";
1
+ import { defineComponent as Le, computed as k, ref as D, watch as Fe, onBeforeMount as tt, resolveComponent as W, openBlock as S, createElementBlock as F, createVNode as u, unref as l, createSlots as Te, withCtx as m, createBlock as $e, Teleport as je, createElementVNode as I, createCommentVNode as M, createTextVNode as Z, toDisplayString as P, withModifiers as De, reactive as Me, onMounted as He, renderSlot as Ze, Transition as We, Fragment as lt, renderList as ot } from "vue";
2
2
  import { useRouter as qe } from "vue-router";
3
3
  import { BookIcon as ze, AddIcon as it, ServicesIcon as rt } from "@kong/icons";
4
4
  import { createI18n as st, i18nTComponent as at } from "@kong-ui-public/i18n";
@@ -397,7 +397,7 @@ const se = {
397
397
  N.value = "";
398
398
  }, we = () => {
399
399
  ie.value++;
400
- }, e = D(null), F = k(() => ({
400
+ }, e = D(null), $ = k(() => ({
401
401
  ctaPath: v.config.createRoute,
402
402
  ctaText: R.value ? v.isServerless ? a("actions.serverless_create") : a("actions.create") : void 0,
403
403
  message: `${a("gateway_services.list.empty_state.description")}${v.config.additionMessageForEmptyState ? ` ${v.config.additionMessageForEmptyState}` : ""}`,
@@ -467,7 +467,7 @@ const se = {
467
467
  }), ee = (g) => ({
468
468
  label: a("actions.edit"),
469
469
  to: v.config.getEditRoute(g)
470
- }), z = D(void 0), H = D(!1), te = D(!1), de = D(""), i = dt(v.config, x.value), u = (g) => {
470
+ }), z = D(void 0), H = D(!1), te = D(!1), de = D(""), i = dt(v.config, x.value), f = (g) => {
471
471
  z.value = g, H.value = !0, de.value = "";
472
472
  }, V = () => {
473
473
  H.value = !1, z.value = void 0;
@@ -501,12 +501,12 @@ const se = {
501
501
  R.value = await v.canCreate();
502
502
  }), (g, p) => {
503
503
  const C = W("KButton"), K = W("KBadge"), ue = W("KInputSwitch"), G = W("KDropdownItem"), fe = W("KClipboardProvider");
504
- return S(), $("div", xt, [
505
- d(l(ft), {
504
+ return S(), F("div", xt, [
505
+ u(l(ft), {
506
506
  "cache-identifier": n.cacheIdentifier,
507
507
  "default-table-preferences": he,
508
508
  "disable-sorting": be.value,
509
- "empty-state-options": F.value,
509
+ "empty-state-options": $.value,
510
510
  "enable-entity-actions": "",
511
511
  "error-message": e.value,
512
512
  fetcher: l(o),
@@ -521,7 +521,7 @@ const se = {
521
521
  onState: l(j)
522
522
  }, Te({
523
523
  "toolbar-filter": m(() => [
524
- d(l(pt), {
524
+ u(l(pt), {
525
525
  modelValue: N.value,
526
526
  "onUpdate:modelValue": p[0] || (p[0] = (b) => N.value = b),
527
527
  config: Ie.value
@@ -542,22 +542,22 @@ const se = {
542
542
  onClick: p[1] || (p[1] = (b) => g.$emit("click:learn-more"))
543
543
  }, {
544
544
  default: m(() => [
545
- d(l(ze), { decorative: "" })
545
+ u(l(ze), { decorative: "" })
546
546
  ]),
547
547
  _: 1
548
548
  })) : M("", !0),
549
- d(l(Ue), {
549
+ u(l(Ue), {
550
550
  "auth-function": () => n.canCreate()
551
551
  }, {
552
552
  default: m(() => [
553
- d(C, {
553
+ u(C, {
554
554
  appearance: "primary",
555
555
  "data-testid": "toolbar-add-gateway-service",
556
556
  size: n.useActionOutside ? "medium" : "large",
557
557
  to: n.config.createRoute
558
558
  }, {
559
559
  default: m(() => [
560
- d(l(it)),
560
+ u(l(it)),
561
561
  Z(" " + P(l(a)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
562
562
  ]),
563
563
  _: 1
@@ -584,11 +584,11 @@ const se = {
584
584
  Z(P(b.x_meta.cluster_id), 1)
585
585
  ]),
586
586
  _: 2
587
- }, 1032, ["tooltip", "onClick"])) : (S(), $("b", Mt, "-"))
587
+ }, 1032, ["tooltip", "onClick"])) : (S(), F("b", Mt, "-"))
588
588
  ];
589
589
  }),
590
590
  enabled: m(({ row: b }) => [
591
- d(l(Ue), {
591
+ u(l(Ue), {
592
592
  "auth-function": () => n.canEdit(b),
593
593
  "force-show": ""
594
594
  }, {
@@ -597,7 +597,7 @@ const se = {
597
597
  onClick: p[4] || (p[4] = De(() => {
598
598
  }, ["stop"]))
599
599
  }, [
600
- d(ue, {
600
+ u(ue, {
601
601
  modelValue: b.enabled,
602
602
  "onUpdate:modelValue": (s) => b.enabled = s,
603
603
  "data-testid": `row-${b.id}-toggle-input`,
@@ -610,7 +610,7 @@ const se = {
610
610
  }, 1032, ["auth-function"])
611
611
  ]),
612
612
  tags: m(({ rowValue: b }) => [
613
- d(l(mt), { tags: b }, null, 8, ["tags"])
613
+ u(l(mt), { tags: b }, null, 8, ["tags"])
614
614
  ]),
615
615
  created_at: m(({ rowValue: b }) => [
616
616
  Z(P(l(h)(b)), 1)
@@ -619,9 +619,9 @@ const se = {
619
619
  Z(P(l(h)(t ?? b.created_at)), 1)
620
620
  ]),
621
621
  actions: m(({ row: b }) => [
622
- d(fe, null, {
622
+ u(fe, null, {
623
623
  default: m(({ copyToClipboard: t }) => [
624
- d(G, {
624
+ u(G, {
625
625
  "data-testid": "action-entity-copy-id",
626
626
  onClick: (s) => ce(b, t)
627
627
  }, {
@@ -633,9 +633,9 @@ const se = {
633
633
  ]),
634
634
  _: 2
635
635
  }, 1024),
636
- d(fe, null, {
636
+ u(fe, null, {
637
637
  default: m(({ copyToClipboard: t }) => [
638
- d(G, {
638
+ u(G, {
639
639
  "data-testid": "action-entity-copy-json",
640
640
  onClick: (s) => ge(b, t)
641
641
  }, {
@@ -647,11 +647,11 @@ const se = {
647
647
  ]),
648
648
  _: 2
649
649
  }, 1024),
650
- d(l(Ue), {
650
+ u(l(Ue), {
651
651
  "auth-function": () => n.canRetrieve(b)
652
652
  }, {
653
653
  default: m(() => [
654
- d(G, {
654
+ u(G, {
655
655
  "data-testid": "action-entity-view",
656
656
  "has-divider": "",
657
657
  item: Ee(b.id)
@@ -659,26 +659,26 @@ const se = {
659
659
  ]),
660
660
  _: 2
661
661
  }, 1032, ["auth-function"]),
662
- d(l(Ue), {
662
+ u(l(Ue), {
663
663
  "auth-function": () => n.canEdit(b)
664
664
  }, {
665
665
  default: m(() => [
666
- d(G, {
666
+ u(G, {
667
667
  "data-testid": "action-entity-edit",
668
668
  item: ee(b.id)
669
669
  }, null, 8, ["item"])
670
670
  ]),
671
671
  _: 2
672
672
  }, 1032, ["auth-function"]),
673
- d(l(Ue), {
673
+ u(l(Ue), {
674
674
  "auth-function": () => n.canDelete(b)
675
675
  }, {
676
676
  default: m(() => [
677
- d(G, {
677
+ u(G, {
678
678
  danger: "",
679
679
  "data-testid": "action-entity-delete",
680
680
  "has-divider": "",
681
- onClick: (t) => u(b)
681
+ onClick: (t) => f(b)
682
682
  }, {
683
683
  default: m(() => [
684
684
  Z(P(l(a)("actions.delete.menu_label")), 1)
@@ -698,7 +698,7 @@ const se = {
698
698
  disabled: !n.useActionOutside,
699
699
  to: "#kong-ui-app-page-header-action-button"
700
700
  }, [
701
- d(C, {
701
+ u(C, {
702
702
  appearance: "secondary",
703
703
  class: "open-learning-hub",
704
704
  "data-testid": "gateway-services-more-button",
@@ -706,7 +706,7 @@ const se = {
706
706
  onClick: p[2] || (p[2] = (b) => g.$emit("click:learn-more"))
707
707
  }, {
708
708
  default: m(() => [
709
- d(l(ze), { decorative: "" })
709
+ u(l(ze), { decorative: "" })
710
710
  ]),
711
711
  _: 1
712
712
  })
@@ -719,7 +719,7 @@ const se = {
719
719
  fn: m(() => {
720
720
  var b;
721
721
  return [
722
- d(l(vt), {
722
+ u(l(vt), {
723
723
  "action-button-text": l(a)("gateway_services.empty_state_v2.create"),
724
724
  appearance: "secondary",
725
725
  "can-create": () => n.canCreate(),
@@ -732,7 +732,7 @@ const se = {
732
732
  }, Te({
733
733
  image: m(() => [
734
734
  I("div", Tt, [
735
- d(l(rt), {
735
+ u(l(rt), {
736
736
  color: l(Ft),
737
737
  size: l(At)
738
738
  }, null, 8, ["color", "size"])
@@ -753,7 +753,7 @@ const se = {
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
- d(l(gt), {
756
+ u(l(gt), {
757
757
  action: re.value.action,
758
758
  "entity-id": re.value.id,
759
759
  "entity-name": re.value.name,
@@ -763,7 +763,7 @@ const se = {
763
763
  onCancel: oe,
764
764
  onProceed: oe
765
765
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
766
- d(l(yt), {
766
+ u(l(yt), {
767
767
  "action-pending": te.value,
768
768
  description: l(a)("actions.delete.description"),
769
769
  "entity-name": z.value && (z.value.name || z.value.id),
@@ -844,7 +844,8 @@ const se = {
844
844
  ca_certificates: "",
845
845
  tls_verify_enabled: !1,
846
846
  tls_verify_value: !1,
847
- tags: ""
847
+ tags: "",
848
+ enabled: !0
848
849
  },
849
850
  isReadonly: !1,
850
851
  errorMessage: ""
@@ -863,7 +864,8 @@ const se = {
863
864
  ca_certificates: "",
864
865
  tls_verify_enabled: !1,
865
866
  tls_verify_value: !1,
866
- tags: ""
867
+ tags: "",
868
+ enabled: !0
867
869
  }), ie = a.config.app === "konnect" || Xe({
868
870
  gatewayInfo: a.config.gatewayInfo,
869
871
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
@@ -923,17 +925,17 @@ const se = {
923
925
  value: "udp",
924
926
  group: "udp"
925
927
  }
926
- ], we = { url: "url", protocol: "protocol" }, e = (i, u) => {
927
- u.value;
928
- }, F = (i) => i ? parseFloat(i) : 0, ne = () => {
929
- h.value = !0, o.errorMessage = "", o.fields.host = w.host, o.fields.path = w.path, o.fields.port = w.port, o.fields.protocol = w.protocol, o.fields.url = w.url, o.fields.retries = w.retries, o.fields.connect_timeout = w.connect_timeout, o.fields.write_timeout = w.write_timeout, o.fields.read_timeout = w.read_timeout, o.fields.client_certificate = w.client_certificate, o.fields.ca_certificates = w.ca_certificates, o.fields.tls_verify_enabled = w.tls_verify_enabled, o.fields.tls_verify_value = w.tls_verify_value;
928
+ ], we = { url: "url", protocol: "protocol" }, e = (i, f) => {
929
+ f.value;
930
+ }, $ = (i) => i ? parseFloat(i) : 0, ne = () => {
931
+ h.value = !0, o.errorMessage = "", o.fields.host = w.host, o.fields.path = w.path, o.fields.port = w.port, o.fields.protocol = w.protocol, o.fields.url = w.url, o.fields.retries = w.retries, o.fields.connect_timeout = w.connect_timeout, o.fields.write_timeout = w.write_timeout, o.fields.read_timeout = w.read_timeout, o.fields.client_certificate = w.client_certificate, o.fields.ca_certificates = w.ca_certificates, o.fields.tls_verify_enabled = w.tls_verify_enabled, o.fields.tls_verify_value = w.tls_verify_value, o.fields.enabled = w.enabled;
930
932
  }, q = () => {
931
933
  if (o.fields.url && x.value === "url")
932
934
  try {
933
935
  const i = new URL(o.fields.url);
934
936
  o.errorMessage = "", o.fields.protocol = i.protocol.slice(0, -1), o.fields.host = i.hostname, o.fields.path = i.pathname;
935
- const u = Number(i.port);
936
- he.value = !!u, o.fields.port = u || me.getPortFromProtocol(o.fields.protocol), o.errorMessage = "", v("url-valid:success");
937
+ const f = Number(i.port);
938
+ he.value = !!f, o.fields.port = f || me.getPortFromProtocol(o.fields.protocol), o.errorMessage = "", v("url-valid:success");
937
939
  } catch (i) {
938
940
  o.errorMessage = r("errors.urlErrorMessage"), v("url-valid:error", j(i));
939
941
  }
@@ -957,26 +959,26 @@ const se = {
957
959
  }), Ve = (i) => {
958
960
  N.value = Se.utf8Name(i);
959
961
  }, ce = k(() => ae.value && JSON.stringify(o.fields) !== JSON.stringify(w) || x.value === "url" && !!o.fields.url || x.value === "protocol" && !!o.fields.host), ge = (i) => {
960
- var u, V, J;
961
- o.fields.name = (i == null ? void 0 : i.name) || "", o.fields.tags = ((u = i == null ? void 0 : i.tags) == null ? void 0 : u.join(", ")) || "", o.fields.protocol = (i == null ? void 0 : i.protocol) || "http", o.fields.path = (i == null ? void 0 : i.path) || "", o.fields.read_timeout = i != null && i.read_timeout || (i == null ? void 0 : i.read_timeout) === 0 ? i == null ? void 0 : i.read_timeout : 6e4, o.fields.retries = i != null && i.retries || (i == null ? void 0 : i.retries) === 0 ? i == null ? void 0 : i.retries : 5, o.fields.host = (i == null ? void 0 : i.host) || "", o.fields.connect_timeout = i != null && i.connect_timeout || (i == null ? void 0 : i.connect_timeout) === 0 ? i == null ? void 0 : i.connect_timeout : 6e4, o.fields.tls_verify_enabled = (i == null ? void 0 : i.tls_verify) !== "" && (i == null ? void 0 : i.tls_verify) !== null && (i == null ? void 0 : i.tls_verify) !== void 0, o.fields.tls_verify_value = i != null && i.tls_verify ? i == null ? void 0 : i.tls_verify : !1, o.fields.ca_certificates = ((V = i == null ? void 0 : i.ca_certificates) == null ? void 0 : V.join(",")) || "", o.fields.client_certificate = ((J = i == null ? void 0 : i.client_certificate) == null ? void 0 : J.id) || "", o.fields.write_timeout = i != null && i.write_timeout || (i == null ? void 0 : i.write_timeout) === 0 ? i == null ? void 0 : i.write_timeout : 6e4, o.fields.port = i != null && i.port || (i == null ? void 0 : i.port) === 0 ? i == null ? void 0 : i.port : 80, Object.assign(w, o.fields);
962
+ var f, V, J;
963
+ o.fields.name = (i == null ? void 0 : i.name) || "", o.fields.tags = ((f = i == null ? void 0 : i.tags) == null ? void 0 : f.join(", ")) || "", o.fields.protocol = (i == null ? void 0 : i.protocol) || "http", o.fields.path = (i == null ? void 0 : i.path) || "", o.fields.read_timeout = i != null && i.read_timeout || (i == null ? void 0 : i.read_timeout) === 0 ? i == null ? void 0 : i.read_timeout : 6e4, o.fields.retries = i != null && i.retries || (i == null ? void 0 : i.retries) === 0 ? i == null ? void 0 : i.retries : 5, o.fields.host = (i == null ? void 0 : i.host) || "", o.fields.connect_timeout = i != null && i.connect_timeout || (i == null ? void 0 : i.connect_timeout) === 0 ? i == null ? void 0 : i.connect_timeout : 6e4, o.fields.tls_verify_enabled = (i == null ? void 0 : i.tls_verify) !== "" && (i == null ? void 0 : i.tls_verify) !== null && (i == null ? void 0 : i.tls_verify) !== void 0, o.fields.tls_verify_value = i != null && i.tls_verify ? i == null ? void 0 : i.tls_verify : !1, o.fields.ca_certificates = ((V = i == null ? void 0 : i.ca_certificates) == null ? void 0 : V.join(",")) || "", o.fields.client_certificate = ((J = i == null ? void 0 : i.client_certificate) == null ? void 0 : J.id) || "", o.fields.write_timeout = i != null && i.write_timeout || (i == null ? void 0 : i.write_timeout) === 0 ? i == null ? void 0 : i.write_timeout : 6e4, o.fields.port = i != null && i.port || (i == null ? void 0 : i.port) === 0 ? i == null ? void 0 : i.port : 80, o.fields.enabled = (i == null ? void 0 : i.enabled) ?? !0, Object.assign(w, o.fields);
962
964
  }, ye = () => {
963
965
  L.push(a.config.cancelRoute);
964
966
  }, Ee = k(() => {
965
- var u, V;
967
+ var f, V;
966
968
  let i = `${a.config.apiBaseUrl}${pe.form[a.config.app].validate}`;
967
- return a.config.app === "konnect" ? i = i.replace(/{controlPlaneId}/gi, ((u = a.config) == null ? void 0 : u.controlPlaneId) || "") : a.config.app === "kongManager" && (i = i.replace(/\/{workspace}/gi, (V = a.config) != null && V.workspace ? `/${a.config.workspace}` : "")), i = i.replace(/{id}/gi, a.gatewayServiceId), i;
969
+ return a.config.app === "konnect" ? i = i.replace(/{controlPlaneId}/gi, ((f = a.config) == null ? void 0 : f.controlPlaneId) || "") : a.config.app === "kongManager" && (i = i.replace(/\/{workspace}/gi, (V = a.config) != null && V.workspace ? `/${a.config.workspace}` : "")), i = i.replace(/{id}/gi, a.gatewayServiceId), i;
968
970
  }), ee = k(() => {
969
- var u, V;
971
+ var f, V;
970
972
  let i = `${a.config.apiBaseUrl}${pe.form[a.config.app][Y.value]}`;
971
- return a.config.app === "konnect" ? i = i.replace(/{controlPlaneId}/gi, ((u = a.config) == null ? void 0 : u.controlPlaneId) || "") : a.config.app === "kongManager" && (i = i.replace(/\/{workspace}/gi, (V = a.config) != null && V.workspace ? `/${a.config.workspace}` : "")), i = i.replace(/{id}/gi, a.gatewayServiceId), i;
973
+ return a.config.app === "konnect" ? i = i.replace(/{controlPlaneId}/gi, ((f = a.config) == null ? void 0 : f.controlPlaneId) || "") : a.config.app === "kongManager" && (i = i.replace(/\/{workspace}/gi, (V = a.config) != null && V.workspace ? `/${a.config.workspace}` : "")), i = i.replace(/{id}/gi, a.gatewayServiceId), i;
972
974
  }), z = (i) => {
973
- let u = "";
974
- i.url && (u = new URL(i.url).protocol), (["https", "wss", "tls"].includes(i.protocol) || ["https", "wss", "tls"].includes(u)) && (i.tls_verify = i.tls_verify_enabled ? i.tls_verify_value : null), delete i.tls_verify_enabled, delete i.tls_verify_value;
975
+ let f = "";
976
+ i.url && (f = new URL(i.url).protocol), (["https", "wss", "tls"].includes(i.protocol) || ["https", "wss", "tls"].includes(f)) && (i.tls_verify = i.tls_verify_enabled ? i.tls_verify_value : null), delete i.tls_verify_enabled, delete i.tls_verify_value;
975
977
  }, H = k(() => {
976
- var u, V, J, B;
978
+ var f, V, J, B;
977
979
  const i = {
978
980
  name: o.fields.name || null,
979
- tags: o.fields.tags ? (J = (V = (u = o.fields.tags) == null ? void 0 : u.split(",")) == null ? void 0 : V.map((R) => String(R || "").trim())) == null ? void 0 : J.filter((R) => R !== "") : null,
981
+ tags: o.fields.tags ? (J = (V = (f = o.fields.tags) == null ? void 0 : f.split(",")) == null ? void 0 : V.map((R) => String(R || "").trim())) == null ? void 0 : J.filter((R) => R !== "") : null,
980
982
  protocol: o.fields.protocol,
981
983
  path: o.fields.path || null,
982
984
  read_timeout: o.fields.read_timeout,
@@ -989,11 +991,12 @@ const se = {
989
991
  client_certificate: o.fields.client_certificate ? { id: o.fields.client_certificate } : null,
990
992
  write_timeout: o.fields.write_timeout,
991
993
  port: o.fields.port,
992
- url: o.fields.url
994
+ url: o.fields.url,
995
+ enabled: o.fields.enabled
993
996
  };
994
997
  return o.fields.client_certificate && ["https", "wss", "tls"].includes(o.fields.protocol) && (i.client_certificate = { id: o.fields.client_certificate }), o.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(o.fields.protocol) && (i.tls_verify = o.fields.tls_verify_value), re.value || (i.path = null), Y.value === "create" ? x.value === "url" ? (delete i.protocol, delete i.host, delete i.path, a.config.app === "konnect" && delete i.port) : delete i.url : Y.value === "edit" && delete i.url, i;
995
998
  }), te = async () => {
996
- var i, u, V, J;
999
+ var i, f, V, J;
997
1000
  try {
998
1001
  o.isReadonly = !0, q();
999
1002
  const B = H.value;
@@ -1001,7 +1004,7 @@ const se = {
1001
1004
  let R;
1002
1005
  if (await A.post(Ee.value, B), Y.value === "create" ? R = await A.post(ee.value, B) : Y.value === "edit" && (R = ((i = a.config) == null ? void 0 : i.app) === "konnect" ? await A.put(ee.value, B) : await A.patch(ee.value, B)), R) {
1003
1006
  const { data: c } = R;
1004
- o.fields.name = (c == null ? void 0 : c.name) || "", o.fields.port = c.port || me.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 = ((u = c == null ? void 0 : c.client_certificate) == null ? void 0 : u.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 = (J = c == null ? void 0 : c.tags) != null && J.length ? c.tags.join(", ") : "", Object.assign(w, o.fields), v("update", R == null ? void 0 : R.data);
1007
+ o.fields.name = (c == null ? void 0 : c.name) || "", o.fields.port = c.port || me.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 = ((f = c == null ? void 0 : c.client_certificate) == null ? void 0 : f.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 = (J = c == null ? void 0 : c.tags) != null && J.length ? c.tags.join(", ") : "", o.fields.enabled = (c == null ? void 0 : c.enabled) ?? !0, Object.assign(w, o.fields), v("update", R == null ? void 0 : R.data);
1005
1008
  }
1006
1009
  return R;
1007
1010
  } catch (B) {
@@ -1022,10 +1025,10 @@ const se = {
1022
1025
  saveFormData: te,
1023
1026
  canSubmit: ce,
1024
1027
  initForm: ge
1025
- }), (i, u) => {
1028
+ }), (i, f) => {
1026
1029
  const V = W("KInput"), J = W("KLabel"), B = W("KRadio"), R = W("KSelect"), c = W("KCheckbox"), g = W("KCollapse");
1027
- return S(), $("div", Kt, [
1028
- d(l(Ye), {
1030
+ return S(), F("div", Kt, [
1031
+ u(l(Ye), {
1029
1032
  "can-submit": ce.value,
1030
1033
  config: n.config,
1031
1034
  "edit-id": n.gatewayServiceId,
@@ -1035,9 +1038,9 @@ const se = {
1035
1038
  "form-fields": H.value,
1036
1039
  "is-readonly": o.isReadonly,
1037
1040
  onCancel: ye,
1038
- "onFetch:error": u[25] || (u[25] = (p) => i.$emit("error", p)),
1041
+ "onFetch:error": f[25] || (f[25] = (p) => i.$emit("error", p)),
1039
1042
  "onFetch:success": ge,
1040
- onLoading: u[26] || (u[26] = (p) => i.$emit("loading", p)),
1043
+ onLoading: f[26] || (f[26] = (p) => i.$emit("loading", p)),
1041
1044
  onSubmit: te
1042
1045
  }, {
1043
1046
  "form-actions": m(() => [
@@ -1048,15 +1051,15 @@ const se = {
1048
1051
  }, void 0, !0)
1049
1052
  ]),
1050
1053
  default: m(() => [
1051
- d(l(Ke), {
1054
+ u(l(Ke), {
1052
1055
  description: l(r)("gateway_services.form.sections.general.description"),
1053
1056
  "hide-info-header": n.hideSectionsInfo,
1054
1057
  title: l(r)("gateway_services.form.sections.general.title")
1055
1058
  }, {
1056
1059
  default: m(() => [
1057
- d(V, {
1060
+ u(V, {
1058
1061
  modelValue: o.fields.name,
1059
- "onUpdate:modelValue": u[0] || (u[0] = (p) => o.fields.name = p),
1062
+ "onUpdate:modelValue": f[0] || (f[0] = (p) => o.fields.name = p),
1060
1063
  modelModifiers: { trim: !0 },
1061
1064
  autocomplete: "off",
1062
1065
  "data-testid": "gateway-service-name-input",
@@ -1073,9 +1076,9 @@ const se = {
1073
1076
  type: "text",
1074
1077
  onInput: Ve
1075
1078
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
1076
- d(V, {
1079
+ u(V, {
1077
1080
  modelValue: o.fields.tags,
1078
- "onUpdate:modelValue": u[1] || (u[1] = (p) => o.fields.tags = p),
1081
+ "onUpdate:modelValue": f[1] || (f[1] = (p) => o.fields.tags = p),
1079
1082
  modelModifiers: { trim: !0 },
1080
1083
  autocomplete: "off",
1081
1084
  "data-testid": "gateway-service-tags-input",
@@ -1093,15 +1096,15 @@ const se = {
1093
1096
  ]),
1094
1097
  _: 1
1095
1098
  }, 8, ["description", "hide-info-header", "title"]),
1096
- d(l(Ke), {
1099
+ u(l(Ke), {
1097
1100
  description: l(r)("gateway_services.form.sections.keys.description"),
1098
1101
  "hide-info-header": n.hideSectionsInfo,
1099
1102
  title: l(r)("gateway_services.form.sections.keys.title")
1100
1103
  }, {
1101
1104
  default: m(() => [
1102
- ae.value ? M("", !0) : (S(), $("div", Lt, [
1105
+ ae.value ? M("", !0) : (S(), F("div", Lt, [
1103
1106
  I("div", Dt, [
1104
- d(J, { required: "" }, {
1107
+ u(J, { required: "" }, {
1105
1108
  default: m(() => [
1106
1109
  Z(P(l(r)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
1107
1110
  ]),
@@ -1109,9 +1112,9 @@ const se = {
1109
1112
  })
1110
1113
  ]),
1111
1114
  I("div", Wt, [
1112
- d(B, {
1115
+ u(B, {
1113
1116
  modelValue: x.value,
1114
- "onUpdate:modelValue": u[2] || (u[2] = (p) => x.value = p),
1117
+ "onUpdate:modelValue": f[2] || (f[2] = (p) => x.value = p),
1115
1118
  "data-testid": "gateway-service-url-radio",
1116
1119
  "selected-value": we.url,
1117
1120
  onChange: ne
@@ -1122,10 +1125,10 @@ const se = {
1122
1125
  _: 1
1123
1126
  }, 8, ["modelValue", "selected-value"])
1124
1127
  ]),
1125
- x.value === "url" ? (S(), $("div", qt, [
1126
- d(V, {
1128
+ x.value === "url" ? (S(), F("div", qt, [
1129
+ u(V, {
1127
1130
  modelValue: o.fields.url,
1128
- "onUpdate:modelValue": u[3] || (u[3] = (p) => o.fields.url = p),
1131
+ "onUpdate:modelValue": f[3] || (f[3] = (p) => o.fields.url = p),
1129
1132
  modelModifiers: { trim: !0 },
1130
1133
  class: "gateway-service-url-input gateway-service-form-margin-bottom",
1131
1134
  "data-testid": "gateway-service-url-input",
@@ -1139,9 +1142,9 @@ const se = {
1139
1142
  required: ""
1140
1143
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
1141
1144
  ])) : M("", !0),
1142
- d(B, {
1145
+ u(B, {
1143
1146
  modelValue: x.value,
1144
- "onUpdate:modelValue": u[4] || (u[4] = (p) => x.value = p),
1147
+ "onUpdate:modelValue": f[4] || (f[4] = (p) => x.value = p),
1145
1148
  "checked-group": "protocol",
1146
1149
  "data-testid": "gateway-service-protocol-radio",
1147
1150
  "selected-value": we.protocol,
@@ -1153,10 +1156,10 @@ const se = {
1153
1156
  _: 1
1154
1157
  }, 8, ["modelValue", "selected-value"])
1155
1158
  ])),
1156
- x.value === "protocol" || ae.value ? (S(), $("div", Gt, [
1157
- d(R, {
1159
+ x.value === "protocol" || ae.value ? (S(), F("div", Gt, [
1160
+ u(R, {
1158
1161
  modelValue: o.fields.protocol,
1159
- "onUpdate:modelValue": u[5] || (u[5] = (p) => o.fields.protocol = p),
1162
+ "onUpdate:modelValue": f[5] || (f[5] = (p) => o.fields.protocol = p),
1160
1163
  "data-testid": "gateway-service-protocol-select",
1161
1164
  items: ve,
1162
1165
  label: l(r)("gateway_services.form.fields.protocol.label"),
@@ -1167,11 +1170,11 @@ const se = {
1167
1170
  readonly: o.isReadonly,
1168
1171
  required: "",
1169
1172
  width: "100%",
1170
- onSelected: u[6] || (u[6] = (p) => e(o.fields.protocol, p))
1173
+ onSelected: f[6] || (f[6] = (p) => e(o.fields.protocol, p))
1171
1174
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
1172
- d(V, {
1175
+ u(V, {
1173
1176
  modelValue: o.fields.host,
1174
- "onUpdate:modelValue": u[7] || (u[7] = (p) => o.fields.host = p),
1177
+ "onUpdate:modelValue": f[7] || (f[7] = (p) => o.fields.host = p),
1175
1178
  modelModifiers: { trim: !0 },
1176
1179
  class: "gateway-service-form-margin-top",
1177
1180
  "data-testid": "gateway-service-host-input",
@@ -1184,10 +1187,10 @@ const se = {
1184
1187
  placeholder: l(r)("gateway_services.form.fields.host.placeholder"),
1185
1188
  required: ""
1186
1189
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
1187
- re.value ? (S(), $("div", Ot, [
1188
- d(V, {
1190
+ re.value ? (S(), F("div", Ot, [
1191
+ u(V, {
1189
1192
  modelValue: o.fields.path,
1190
- "onUpdate:modelValue": u[8] || (u[8] = (p) => o.fields.path = p),
1193
+ "onUpdate:modelValue": f[8] || (f[8] = (p) => o.fields.path = p),
1191
1194
  modelModifiers: { trim: !0 },
1192
1195
  class: "gateway-service-form-margin-top",
1193
1196
  "data-testid": "gateway-service-path-input",
@@ -1200,12 +1203,12 @@ const se = {
1200
1203
  placeholder: l(r)("gateway_services.form.fields.path.placeholder")
1201
1204
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
1202
1205
  ])) : M("", !0),
1203
- d(V, {
1206
+ u(V, {
1204
1207
  modelValue: o.fields.port,
1205
1208
  "onUpdate:modelValue": [
1206
- u[9] || (u[9] = (p) => o.fields.port = p),
1207
- u[10] || (u[10] = () => {
1208
- o.fields.port = F(o.fields.port + "");
1209
+ f[9] || (f[9] = (p) => o.fields.port = p),
1210
+ f[10] || (f[10] = () => {
1211
+ o.fields.port = $(o.fields.port + "");
1209
1212
  })
1210
1213
  ],
1211
1214
  class: "gateway-service-form-margin-top",
@@ -1219,9 +1222,9 @@ const se = {
1219
1222
  type: "number"
1220
1223
  }, null, 8, ["modelValue", "label", "label-attributes"])
1221
1224
  ])) : M("", !0),
1222
- d(g, {
1225
+ u(g, {
1223
1226
  modelValue: h.value,
1224
- "onUpdate:modelValue": u[24] || (u[24] = (p) => h.value = p),
1227
+ "onUpdate:modelValue": f[24] || (f[24] = (p) => h.value = p),
1225
1228
  "data-testid": "advanced-fields-collapse",
1226
1229
  "trigger-alignment": "leading",
1227
1230
  "trigger-label": l(r)("gateway_services.form.sections.keys.viewAdvancedFields")
@@ -1229,12 +1232,12 @@ const se = {
1229
1232
  default: m(() => [
1230
1233
  I("div", Nt, [
1231
1234
  I("div", jt, [
1232
- d(V, {
1235
+ u(V, {
1233
1236
  modelValue: o.fields.retries,
1234
1237
  "onUpdate:modelValue": [
1235
- u[11] || (u[11] = (p) => o.fields.retries = p),
1236
- u[12] || (u[12] = () => {
1237
- o.fields.retries = F(o.fields.retries + "");
1238
+ f[11] || (f[11] = (p) => o.fields.retries = p),
1239
+ f[12] || (f[12] = () => {
1240
+ o.fields.retries = $(o.fields.retries + "");
1238
1241
  })
1239
1242
  ],
1240
1243
  autocomplete: "off",
@@ -1250,12 +1253,12 @@ const se = {
1250
1253
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1251
1254
  ]),
1252
1255
  I("div", zt, [
1253
- d(V, {
1256
+ u(V, {
1254
1257
  modelValue: o.fields.connect_timeout,
1255
1258
  "onUpdate:modelValue": [
1256
- u[13] || (u[13] = (p) => o.fields.connect_timeout = p),
1257
- u[14] || (u[14] = () => {
1258
- o.fields.connect_timeout = F(o.fields.connect_timeout + "");
1259
+ f[13] || (f[13] = (p) => o.fields.connect_timeout = p),
1260
+ f[14] || (f[14] = () => {
1261
+ o.fields.connect_timeout = $(o.fields.connect_timeout + "");
1259
1262
  })
1260
1263
  ],
1261
1264
  autocomplete: "off",
@@ -1271,12 +1274,12 @@ const se = {
1271
1274
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1272
1275
  ]),
1273
1276
  I("div", Ht, [
1274
- d(V, {
1277
+ u(V, {
1275
1278
  modelValue: o.fields.write_timeout,
1276
1279
  "onUpdate:modelValue": [
1277
- u[15] || (u[15] = (p) => o.fields.write_timeout = p),
1278
- u[16] || (u[16] = () => {
1279
- o.fields.write_timeout = F(o.fields.write_timeout + "");
1280
+ f[15] || (f[15] = (p) => o.fields.write_timeout = p),
1281
+ f[16] || (f[16] = () => {
1282
+ o.fields.write_timeout = $(o.fields.write_timeout + "");
1280
1283
  })
1281
1284
  ],
1282
1285
  autocomplete: "off",
@@ -1292,12 +1295,12 @@ const se = {
1292
1295
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1293
1296
  ]),
1294
1297
  I("div", Zt, [
1295
- d(V, {
1298
+ u(V, {
1296
1299
  modelValue: o.fields.read_timeout,
1297
1300
  "onUpdate:modelValue": [
1298
- u[17] || (u[17] = (p) => o.fields.read_timeout = p),
1299
- u[18] || (u[18] = () => {
1300
- o.fields.read_timeout = F(o.fields.read_timeout + "");
1301
+ f[17] || (f[17] = (p) => o.fields.read_timeout = p),
1302
+ f[18] || (f[18] = () => {
1303
+ o.fields.read_timeout = $(o.fields.read_timeout + "");
1301
1304
  })
1302
1305
  ],
1303
1306
  autocomplete: "off",
@@ -1312,10 +1315,10 @@ const se = {
1312
1315
  type: "number"
1313
1316
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1314
1317
  ]),
1315
- Pe.value ? (S(), $("div", Jt, [
1316
- d(V, {
1318
+ Pe.value ? (S(), F("div", Jt, [
1319
+ u(V, {
1317
1320
  modelValue: o.fields.client_certificate,
1318
- "onUpdate:modelValue": u[19] || (u[19] = (p) => o.fields.client_certificate = p),
1321
+ "onUpdate:modelValue": f[19] || (f[19] = (p) => o.fields.client_certificate = p),
1319
1322
  modelModifiers: { trim: !0 },
1320
1323
  autocomplete: "off",
1321
1324
  "data-testid": "gateway-service-clientCert-input",
@@ -1330,10 +1333,10 @@ const se = {
1330
1333
  type: "text"
1331
1334
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
1332
1335
  ])) : M("", !0),
1333
- oe.value ? (S(), $("div", Qt, [
1334
- d(V, {
1336
+ oe.value ? (S(), F("div", Qt, [
1337
+ u(V, {
1335
1338
  modelValue: o.fields.ca_certificates,
1336
- "onUpdate:modelValue": u[20] || (u[20] = (p) => o.fields.ca_certificates = p),
1339
+ "onUpdate:modelValue": f[20] || (f[20] = (p) => o.fields.ca_certificates = p),
1337
1340
  modelModifiers: { trim: !0 },
1338
1341
  autocomplete: "off",
1339
1342
  "data-testid": "gateway-service-ca-certs-input",
@@ -1344,7 +1347,7 @@ const se = {
1344
1347
  type: "text"
1345
1348
  }, {
1346
1349
  "label-tooltip": m(() => [
1347
- d(l(Q), {
1350
+ u(l(Q), {
1348
1351
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
1349
1352
  scope: "global"
1350
1353
  }, {
@@ -1360,17 +1363,17 @@ const se = {
1360
1363
  _: 1
1361
1364
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
1362
1365
  ])) : M("", !0),
1363
- ke.value ? (S(), $("div", Xt, [
1364
- d(c, {
1366
+ ke.value ? (S(), F("div", Xt, [
1367
+ u(c, {
1365
1368
  modelValue: o.fields.tls_verify_enabled,
1366
- "onUpdate:modelValue": u[21] || (u[21] = (p) => o.fields.tls_verify_enabled = p),
1369
+ "onUpdate:modelValue": f[21] || (f[21] = (p) => o.fields.tls_verify_enabled = p),
1367
1370
  "data-testid": "gateway-service-tls-verify-checkbox",
1368
1371
  description: l(r)("gateway_services.form.fields.tls_verify_enabled.help"),
1369
1372
  label: l(r)("gateway_services.form.fields.tls_verify_enabled.label"),
1370
1373
  "label-attributes": { tooltipAttributes: { maxWidth: "400" } }
1371
1374
  }, {
1372
1375
  tooltip: m(() => [
1373
- d(l(Q), {
1376
+ u(l(Q), {
1374
1377
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
1375
1378
  scope: "global"
1376
1379
  }, {
@@ -1382,19 +1385,19 @@ const se = {
1382
1385
  ]),
1383
1386
  _: 1
1384
1387
  }, 8, ["modelValue", "description", "label"]),
1385
- o.fields.tls_verify_enabled ? (S(), $("div", Yt, [
1386
- d(B, {
1388
+ o.fields.tls_verify_enabled ? (S(), F("div", Yt, [
1389
+ u(B, {
1387
1390
  modelValue: o.fields.tls_verify_value,
1388
- "onUpdate:modelValue": u[22] || (u[22] = (p) => o.fields.tls_verify_value = p),
1391
+ "onUpdate:modelValue": f[22] || (f[22] = (p) => o.fields.tls_verify_value = p),
1389
1392
  "data-testid": "gateway-service-tls-verify-true-option",
1390
1393
  label: l(r)("gateway_services.form.fields.tls_verify_option.true.label"),
1391
1394
  "selected-value": !0
1392
1395
  }, null, 8, ["modelValue", "label"])
1393
1396
  ])) : M("", !0),
1394
- o.fields.tls_verify_enabled ? (S(), $("div", el, [
1395
- d(B, {
1397
+ o.fields.tls_verify_enabled ? (S(), F("div", el, [
1398
+ u(B, {
1396
1399
  modelValue: o.fields.tls_verify_value,
1397
- "onUpdate:modelValue": u[23] || (u[23] = (p) => o.fields.tls_verify_value = p),
1400
+ "onUpdate:modelValue": f[23] || (f[23] = (p) => o.fields.tls_verify_value = p),
1398
1401
  "data-testid": "gateway-service-tls-verify-false-option",
1399
1402
  label: l(r)("gateway_services.form.fields.tls_verify_option.false.label"),
1400
1403
  "selected-value": !1
@@ -1414,7 +1417,7 @@ const se = {
1414
1417
  ]);
1415
1418
  };
1416
1419
  }
1417
- }), Al = /* @__PURE__ */ Ne(tl, [["__scopeId", "data-v-59d8e66b"]]), ll = { class: "kong-ui-gateway-service-entity-config-card" }, xl = /* @__PURE__ */ Le({
1420
+ }), Al = /* @__PURE__ */ Ne(tl, [["__scopeId", "data-v-e874c296"]]), ll = { class: "kong-ui-gateway-service-entity-config-card" }, xl = /* @__PURE__ */ Le({
1418
1421
  __name: "GatewayServiceConfigCard",
1419
1422
  props: {
1420
1423
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1501,8 +1504,8 @@ const se = {
1501
1504
  hidden: !0
1502
1505
  }
1503
1506
  });
1504
- return (r, j) => (S(), $("div", ll, [
1505
- d(l(ht), {
1507
+ return (r, j) => (S(), F("div", ll, [
1508
+ u(l(ht), {
1506
1509
  config: n.config,
1507
1510
  "config-card-doc": n.configCardDoc,
1508
1511
  "config-schema": Q.value,
@@ -1514,7 +1517,7 @@ const se = {
1514
1517
  onLoading: j[2] || (j[2] = (A) => r.$emit("loading", A))
1515
1518
  }, {
1516
1519
  "enabled-label-tooltip": m(() => [
1517
- d(l(v), {
1520
+ u(l(v), {
1518
1521
  keypath: "gateway_services.form.fields.enabled.tooltip",
1519
1522
  scope: "global"
1520
1523
  }, {
@@ -1528,7 +1531,7 @@ const se = {
1528
1531
  })
1529
1532
  ]),
1530
1533
  "ca_certificates-label-tooltip": m(() => [
1531
- d(l(v), {
1534
+ u(l(v), {
1532
1535
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
1533
1536
  scope: "global"
1534
1537
  }, {
@@ -1542,7 +1545,7 @@ const se = {
1542
1545
  })
1543
1546
  ]),
1544
1547
  "tls_verify-label-tooltip": m(() => [
1545
- d(l(v), {
1548
+ u(l(v), {
1546
1549
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
1547
1550
  scope: "global"
1548
1551
  }, {
@@ -1649,7 +1652,8 @@ const se = {
1649
1652
  ca_certificates: "",
1650
1653
  tls_verify_enabled: !1,
1651
1654
  tls_verify_value: !1,
1652
- tags: ""
1655
+ tags: "",
1656
+ enabled: !0
1653
1657
  },
1654
1658
  isReadonly: !1,
1655
1659
  errorMessages: [],
@@ -1669,7 +1673,7 @@ const se = {
1669
1673
  tls_verify_enabled: "",
1670
1674
  tls_verify_value: ""
1671
1675
  }
1672
- }), F = Me({
1676
+ }), $ = Me({
1673
1677
  name: "",
1674
1678
  protocol: "http",
1675
1679
  host: "",
@@ -1684,7 +1688,8 @@ const se = {
1684
1688
  ca_certificates: "",
1685
1689
  tls_verify_enabled: !1,
1686
1690
  tls_verify_value: !1,
1687
- tags: ""
1691
+ tags: "",
1692
+ enabled: !0
1688
1693
  }), ne = a.config.app === "konnect" || Xe({
1689
1694
  gatewayInfo: a.config.gatewayInfo,
1690
1695
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
@@ -1747,7 +1752,7 @@ const se = {
1747
1752
  ], re = { url: "url", protocol: "protocol" }, Pe = (t, s) => {
1748
1753
  s.value;
1749
1754
  }, oe = (t) => t ? parseFloat(t) : 0, ke = () => {
1750
- e.fields.host = F.host, e.fields.path = F.path, e.fields.port = F.port, e.fields.protocol = F.protocol, e.fields.url = F.url, e.fields.retries = F.retries, e.fields.connect_timeout = F.connect_timeout, e.fields.write_timeout = F.write_timeout, e.fields.read_timeout = F.read_timeout, e.fields.client_certificate = F.client_certificate, e.fields.ca_certificates = F.ca_certificates, e.fields.tls_verify_enabled = F.tls_verify_enabled, e.fields.tls_verify_value = F.tls_verify_value;
1755
+ e.fields.host = $.host, e.fields.path = $.path, e.fields.port = $.port, e.fields.protocol = $.protocol, e.fields.url = $.url, e.fields.retries = $.retries, e.fields.connect_timeout = $.connect_timeout, e.fields.write_timeout = $.write_timeout, e.fields.read_timeout = $.read_timeout, e.fields.client_certificate = $.client_certificate, e.fields.ca_certificates = $.ca_certificates, e.fields.tls_verify_enabled = $.tls_verify_enabled, e.fields.tls_verify_value = $.tls_verify_value, e.fields.enabled = $.enabled;
1751
1756
  }, Ve = () => {
1752
1757
  h.value = !0, H(), e.errorMessages = [], ke();
1753
1758
  }, ce = () => {
@@ -1808,7 +1813,7 @@ const se = {
1808
1813
  return !0;
1809
1814
  }), de = () => {
1810
1815
  e.fields.url && w.value === "url" ? ge() : z();
1811
- }, i = () => `new-service-${(/* @__PURE__ */ new Date()).toISOString().replace(/\D/g, "").slice(0, 17)}`, u = k(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(e.fields.protocol)), V = k(() => {
1816
+ }, i = () => `new-service-${(/* @__PURE__ */ new Date()).toISOString().replace(/\D/g, "").slice(0, 17)}`, f = k(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(e.fields.protocol)), V = k(() => {
1812
1817
  if (w.value === "url")
1813
1818
  return !0;
1814
1819
  const t = ["https", "wss", "tls"].includes(e.fields.protocol);
@@ -1826,11 +1831,11 @@ const se = {
1826
1831
  }), R = (t) => {
1827
1832
  H("name"), ve.value = Se.utf8Name(t);
1828
1833
  }, c = k(() => {
1829
- const t = !o.value || !x(e.fields, F), s = w.value === "url" && !!e.fields.url && te.value, E = w.value === "protocol" && !!e.fields.host && te.value;
1834
+ const t = !o.value || !x(e.fields, $), s = w.value === "url" && !!e.fields.url && te.value, E = w.value === "protocol" && !!e.fields.host && te.value;
1830
1835
  return t && (s || E);
1831
1836
  }), g = (t) => {
1832
1837
  var s, E, O;
1833
- e.fields.name = (t == null ? void 0 : t.name) || "", e.fields.tags = ((s = t == null ? void 0 : t.tags) == null ? void 0 : s.join(", ")) || "", e.fields.protocol = (t == null ? void 0 : t.protocol) || "http", e.fields.path = (t == null ? void 0 : t.path) || "", e.fields.read_timeout = t != null && t.read_timeout || (t == null ? void 0 : t.read_timeout) === 0 ? t == null ? void 0 : t.read_timeout : 6e4, e.fields.retries = t != null && t.retries || (t == null ? void 0 : t.retries) === 0 ? t == null ? void 0 : t.retries : 5, e.fields.host = (t == null ? void 0 : t.host) || "", e.fields.connect_timeout = t != null && t.connect_timeout || (t == null ? void 0 : t.connect_timeout) === 0 ? t == null ? void 0 : t.connect_timeout : 6e4, e.fields.tls_verify_enabled = (t == null ? void 0 : t.tls_verify) !== "" && (t == null ? void 0 : t.tls_verify) !== null && (t == null ? void 0 : t.tls_verify) !== void 0, e.fields.tls_verify_value = t != null && t.tls_verify ? t == null ? void 0 : t.tls_verify : !1, e.fields.ca_certificates = ((E = t == null ? void 0 : t.ca_certificates) == null ? void 0 : E.join(",")) || "", e.fields.client_certificate = ((O = t == null ? void 0 : t.client_certificate) == null ? void 0 : O.id) || "", e.fields.write_timeout = t != null && t.write_timeout || (t == null ? void 0 : t.write_timeout) === 0 ? t == null ? void 0 : t.write_timeout : 6e4, e.fields.port = t != null && t.port || (t == null ? void 0 : t.port) === 0 ? t == null ? void 0 : t.port : 80, Object.assign(F, e.fields);
1838
+ e.fields.name = (t == null ? void 0 : t.name) || "", e.fields.tags = ((s = t == null ? void 0 : t.tags) == null ? void 0 : s.join(", ")) || "", e.fields.protocol = (t == null ? void 0 : t.protocol) || "http", e.fields.path = (t == null ? void 0 : t.path) || "", e.fields.read_timeout = t != null && t.read_timeout || (t == null ? void 0 : t.read_timeout) === 0 ? t == null ? void 0 : t.read_timeout : 6e4, e.fields.retries = t != null && t.retries || (t == null ? void 0 : t.retries) === 0 ? t == null ? void 0 : t.retries : 5, e.fields.host = (t == null ? void 0 : t.host) || "", e.fields.connect_timeout = t != null && t.connect_timeout || (t == null ? void 0 : t.connect_timeout) === 0 ? t == null ? void 0 : t.connect_timeout : 6e4, e.fields.tls_verify_enabled = (t == null ? void 0 : t.tls_verify) !== "" && (t == null ? void 0 : t.tls_verify) !== null && (t == null ? void 0 : t.tls_verify) !== void 0, e.fields.tls_verify_value = t != null && t.tls_verify ? t == null ? void 0 : t.tls_verify : !1, e.fields.ca_certificates = ((E = t == null ? void 0 : t.ca_certificates) == null ? void 0 : E.join(",")) || "", e.fields.client_certificate = ((O = t == null ? void 0 : t.client_certificate) == null ? void 0 : O.id) || "", e.fields.write_timeout = t != null && t.write_timeout || (t == null ? void 0 : t.write_timeout) === 0 ? t == null ? void 0 : t.write_timeout : 6e4, e.fields.port = t != null && t.port || (t == null ? void 0 : t.port) === 0 ? t == null ? void 0 : t.port : 80, e.fields.enabled = (t == null ? void 0 : t.enabled) ?? !0, Object.assign($, e.fields);
1834
1839
  }, p = () => {
1835
1840
  L.push(a.config.cancelRoute);
1836
1841
  }, C = k(() => {
@@ -1861,9 +1866,10 @@ const se = {
1861
1866
  client_certificate: e.fields.client_certificate ? { id: e.fields.client_certificate } : null,
1862
1867
  write_timeout: e.fields.write_timeout,
1863
1868
  port: e.fields.port,
1864
- url: e.fields.url
1869
+ url: e.fields.url,
1870
+ enabled: e.fields.enabled
1865
1871
  };
1866
- return e.fields.client_certificate && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.client_certificate = { id: e.fields.client_certificate }), e.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.tls_verify = e.fields.tls_verify_value), u.value || (t.path = null), N.value === "create" ? w.value === "url" ? (delete t.protocol, delete t.host, delete t.path, a.config.app === "konnect" && delete t.port) : delete t.url : N.value === "edit" && delete t.url, t;
1872
+ return e.fields.client_certificate && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.client_certificate = { id: e.fields.client_certificate }), e.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.tls_verify = e.fields.tls_verify_value), f.value || (t.path = null), N.value === "create" ? w.value === "url" ? (delete t.protocol, delete t.host, delete t.path, a.config.app === "konnect" && delete t.port) : delete t.url : N.value === "edit" && delete t.url, t;
1867
1873
  }), fe = async () => {
1868
1874
  var t, s, E, O;
1869
1875
  try {
@@ -1872,13 +1878,13 @@ const se = {
1872
1878
  ue(U);
1873
1879
  let T;
1874
1880
  if (await A.post(C.value, U), N.value === "create" ? T = await A.post(K.value, U) : N.value === "edit" && (T = ((t = a.config) == null ? void 0 : t.app) === "konnect" ? await A.put(K.value, U) : await A.patch(K.value, U)), T) {
1875
- const { data: f } = T;
1876
- e.fields.name = (f == null ? void 0 : f.name) || "", e.fields.port = f.port || ie.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 = ((s = f == null ? void 0 : f.client_certificate) == null ? void 0 : s.id) || "", e.fields.ca_certificates = (E = f == null ? void 0 : f.ca_certificates) != null && E.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 = (O = f == null ? void 0 : f.tags) != null && O.length ? f.tags.join(", ") : "", Object.assign(F, e.fields), v("update", T == null ? void 0 : T.data);
1881
+ const { data: d } = T;
1882
+ e.fields.name = (d == null ? void 0 : d.name) || "", e.fields.port = d.port || ie.getPortFromProtocol(d.protocol), e.fields.protocol = (d == null ? void 0 : d.protocol) || "http", e.fields.host = (d == null ? void 0 : d.host) || "", e.fields.path = (d == null ? void 0 : d.path) || "", e.fields.url = (d == null ? void 0 : d.url) || "", e.fields.retries = d != null && d.retries || (d == null ? void 0 : d.retries) === 0 ? d == null ? void 0 : d.retries : 5, e.fields.connect_timeout = d != null && d.connect_timeout || (d == null ? void 0 : d.connect_timeout) === 0 ? d == null ? void 0 : d.connect_timeout : 6e4, e.fields.write_timeout = d != null && d.write_timeout || (d == null ? void 0 : d.write_timeout) === 0 ? d == null ? void 0 : d.write_timeout : 6e4, e.fields.read_timeout = d != null && d.read_timeout || (d == null ? void 0 : d.read_timeout) === 0 ? d == null ? void 0 : d.read_timeout : 6e4, e.fields.client_certificate = ((s = d == null ? void 0 : d.client_certificate) == null ? void 0 : s.id) || "", e.fields.ca_certificates = (E = d == null ? void 0 : d.ca_certificates) != null && E.length ? d == null ? void 0 : d.ca_certificates.join(",") : "", e.fields.tls_verify_enabled = (d == null ? void 0 : d.tls_verify) !== "" && (d == null ? void 0 : d.tls_verify) !== null && (d == null ? void 0 : d.tls_verify) !== void 0, e.fields.tls_verify_value = e.fields.tls_verify_enabled && (d == null ? void 0 : d.tls_verify), e.fields.tags = (O = d == null ? void 0 : d.tags) != null && O.length ? d.tags.join(", ") : "", e.fields.enabled = (d == null ? void 0 : d.enabled) ?? !0, Object.assign($, e.fields), v("update", T == null ? void 0 : T.data);
1877
1883
  }
1878
1884
  return T;
1879
1885
  } catch (U) {
1880
- const { fields: T, messages: f } = j(U);
1881
- e.errorMessages = f, T.length && T.forEach((_e) => {
1886
+ const { fields: T, messages: d } = j(U);
1887
+ e.errorMessages = d, T.length && T.forEach((_e) => {
1882
1888
  const Ce = _e.field;
1883
1889
  Ce === "client_certificate.id" ? e.formFieldErrors.client_certificate = _e.message : Ce.startsWith("ca_certificates") ? e.formFieldErrors.ca_certificates = _e.message : Object.keys(e.formFieldErrors).includes(Ce) && (e.formFieldErrors = {
1884
1890
  ...e.formFieldErrors,
@@ -1890,7 +1896,7 @@ const se = {
1890
1896
  }
1891
1897
  };
1892
1898
  return Fe(() => a.gatewayServiceId, () => {
1893
- Object.assign(e.fields, F);
1899
+ Object.assign(e.fields, $);
1894
1900
  }), Fe(e.fields, (t) => {
1895
1901
  e.fields.port = ie.getPortFromProtocol(t.protocol, String(t.port)), v("model-updated", G.value);
1896
1902
  }), He(() => {
@@ -1902,9 +1908,9 @@ const se = {
1902
1908
  canSubmit: c,
1903
1909
  initForm: g
1904
1910
  }), (t, s) => {
1905
- const E = W("KRadio"), O = W("KButton"), U = W("KInput"), T = W("KSelect"), f = W("KCheckbox"), _e = W("KCollapse"), Ce = W("KAlert");
1906
- return S(), $("div", ol, [
1907
- d(l(Ye), {
1911
+ const E = W("KRadio"), O = W("KButton"), U = W("KInput"), T = W("KSelect"), d = W("KCheckbox"), _e = W("KCollapse"), Ce = W("KAlert");
1912
+ return S(), F("div", ol, [
1913
+ u(l(Ye), {
1908
1914
  "can-submit": c.value,
1909
1915
  config: n.config,
1910
1916
  "edit-id": n.gatewayServiceId,
@@ -1926,15 +1932,15 @@ const se = {
1926
1932
  }, void 0, !0)
1927
1933
  ]),
1928
1934
  default: m(() => [
1929
- d(l(Ke), {
1935
+ u(l(Ke), {
1930
1936
  description: l(r)("gateway_services.form.sections.keys.description"),
1931
1937
  "hide-info-header": n.hideSectionsInfo,
1932
1938
  title: l(r)("gateway_services.form.sections.keys.title")
1933
1939
  }, {
1934
1940
  default: m(() => [
1935
- o.value ? M("", !0) : (S(), $("div", il, [
1941
+ o.value ? M("", !0) : (S(), F("div", il, [
1936
1942
  I("div", rl, [
1937
- d(E, {
1943
+ u(E, {
1938
1944
  modelValue: w.value,
1939
1945
  "onUpdate:modelValue": s[0] || (s[0] = (y) => w.value = y),
1940
1946
  card: "",
@@ -1945,7 +1951,7 @@ const se = {
1945
1951
  "selected-value": re.url,
1946
1952
  onChange: Ve
1947
1953
  }, null, 8, ["modelValue", "description", "label", "selected-value"]),
1948
- d(E, {
1954
+ u(E, {
1949
1955
  modelValue: w.value,
1950
1956
  "onUpdate:modelValue": s[1] || (s[1] = (y) => w.value = y),
1951
1957
  card: "",
@@ -1958,10 +1964,10 @@ const se = {
1958
1964
  onChange: Ve
1959
1965
  }, null, 8, ["modelValue", "description", "label", "selected-value"])
1960
1966
  ]),
1961
- d(We, { name: "slide-fade" }, {
1967
+ u(We, { name: "slide-fade" }, {
1962
1968
  default: m(() => [
1963
- w.value === "url" ? (S(), $("div", sl, [
1964
- d(U, {
1969
+ w.value === "url" ? (S(), F("div", sl, [
1970
+ u(U, {
1965
1971
  modelValue: e.fields.url,
1966
1972
  "onUpdate:modelValue": s[2] || (s[2] = (y) => e.fields.url = y),
1967
1973
  modelModifiers: { trim: !0 },
@@ -1982,7 +1988,7 @@ const se = {
1982
1988
  n.hideTrySampleApiButton ? void 0 : {
1983
1989
  name: "after",
1984
1990
  fn: m(() => [
1985
- d(O, {
1991
+ u(O, {
1986
1992
  appearance: "tertiary",
1987
1993
  "data-testid": "try-sample-api",
1988
1994
  size: "small",
@@ -2002,10 +2008,10 @@ const se = {
2002
2008
  _: 1
2003
2009
  })
2004
2010
  ])),
2005
- d(We, { name: "slide-fade" }, {
2011
+ u(We, { name: "slide-fade" }, {
2006
2012
  default: m(() => [
2007
- w.value === "protocol" || o.value ? (S(), $("div", al, [
2008
- d(T, {
2013
+ w.value === "protocol" || o.value ? (S(), F("div", al, [
2014
+ u(T, {
2009
2015
  modelValue: e.fields.protocol,
2010
2016
  "onUpdate:modelValue": s[3] || (s[3] = (y) => e.fields.protocol = y),
2011
2017
  "data-testid": "gateway-service-protocol-select",
@@ -2020,7 +2026,7 @@ const se = {
2020
2026
  width: "100%",
2021
2027
  onSelected: s[4] || (s[4] = (y) => Pe(e.fields.protocol, y))
2022
2028
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2023
- d(U, {
2029
+ u(U, {
2024
2030
  modelValue: e.fields.host,
2025
2031
  "onUpdate:modelValue": s[5] || (s[5] = (y) => e.fields.host = y),
2026
2032
  modelModifiers: { trim: !0 },
@@ -2041,7 +2047,7 @@ const se = {
2041
2047
  n.hideTrySampleApiButton ? void 0 : {
2042
2048
  name: "after",
2043
2049
  fn: m(() => [
2044
- d(O, {
2050
+ u(O, {
2045
2051
  appearance: "tertiary",
2046
2052
  size: "small",
2047
2053
  onClick: ce
@@ -2055,8 +2061,8 @@ const se = {
2055
2061
  key: "0"
2056
2062
  }
2057
2063
  ]), 1032, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder"]),
2058
- u.value ? (S(), $("div", nl, [
2059
- d(U, {
2064
+ f.value ? (S(), F("div", nl, [
2065
+ u(U, {
2060
2066
  modelValue: e.fields.path,
2061
2067
  "onUpdate:modelValue": s[7] || (s[7] = (y) => e.fields.path = y),
2062
2068
  modelModifiers: { trim: !0 },
@@ -2074,7 +2080,7 @@ const se = {
2074
2080
  onInput: s[8] || (s[8] = (y) => z("path"))
2075
2081
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder"])
2076
2082
  ])) : M("", !0),
2077
- d(U, {
2083
+ u(U, {
2078
2084
  modelValue: e.fields.port,
2079
2085
  "onUpdate:modelValue": [
2080
2086
  s[9] || (s[9] = (y) => e.fields.port = y),
@@ -2099,7 +2105,7 @@ const se = {
2099
2105
  ]),
2100
2106
  _: 1
2101
2107
  }),
2102
- d(_e, {
2108
+ u(_e, {
2103
2109
  modelValue: h.value,
2104
2110
  "onUpdate:modelValue": s[27] || (s[27] = (y) => h.value = y),
2105
2111
  "data-testid": "advanced-fields-collapse",
@@ -2107,11 +2113,11 @@ const se = {
2107
2113
  "trigger-label": l(r)("gateway_services.form.sections.keys.viewAdvancedFields")
2108
2114
  }, {
2109
2115
  default: m(() => [
2110
- d(We, { name: "slide-fade" }, {
2116
+ u(We, { name: "slide-fade" }, {
2111
2117
  default: m(() => [
2112
- h.value ? M("", !0) : (S(), $("div", cl, [
2118
+ h.value ? M("", !0) : (S(), F("div", cl, [
2113
2119
  I("div", dl, [
2114
- d(U, {
2120
+ u(U, {
2115
2121
  modelValue: e.fields.retries,
2116
2122
  "onUpdate:modelValue": [
2117
2123
  s[12] || (s[12] = (y) => e.fields.retries = y),
@@ -2132,7 +2138,7 @@ const se = {
2132
2138
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2133
2139
  ]),
2134
2140
  I("div", ul, [
2135
- d(U, {
2141
+ u(U, {
2136
2142
  modelValue: e.fields.connect_timeout,
2137
2143
  "onUpdate:modelValue": [
2138
2144
  s[14] || (s[14] = (y) => e.fields.connect_timeout = y),
@@ -2153,7 +2159,7 @@ const se = {
2153
2159
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2154
2160
  ]),
2155
2161
  I("div", fl, [
2156
- d(U, {
2162
+ u(U, {
2157
2163
  modelValue: e.fields.write_timeout,
2158
2164
  "onUpdate:modelValue": [
2159
2165
  s[16] || (s[16] = (y) => e.fields.write_timeout = y),
@@ -2174,7 +2180,7 @@ const se = {
2174
2180
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2175
2181
  ]),
2176
2182
  I("div", pl, [
2177
- d(U, {
2183
+ u(U, {
2178
2184
  modelValue: e.fields.read_timeout,
2179
2185
  "onUpdate:modelValue": [
2180
2186
  s[18] || (s[18] = (y) => e.fields.read_timeout = y),
@@ -2194,8 +2200,8 @@ const se = {
2194
2200
  type: "number"
2195
2201
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2196
2202
  ]),
2197
- V.value ? (S(), $("div", ml, [
2198
- d(U, {
2203
+ V.value ? (S(), F("div", ml, [
2204
+ u(U, {
2199
2205
  modelValue: e.fields.client_certificate,
2200
2206
  "onUpdate:modelValue": s[20] || (s[20] = (y) => e.fields.client_certificate = y),
2201
2207
  modelModifiers: { trim: !0 },
@@ -2214,8 +2220,8 @@ const se = {
2214
2220
  onInput: s[21] || (s[21] = (y) => ye("client_certificate"))
2215
2221
  }, null, 8, ["modelValue", "error", "label", "label-attributes", "placeholder", "readonly"])
2216
2222
  ])) : M("", !0),
2217
- J.value ? (S(), $("div", vl, [
2218
- d(U, {
2223
+ J.value ? (S(), F("div", vl, [
2224
+ u(U, {
2219
2225
  modelValue: e.fields.ca_certificates,
2220
2226
  "onUpdate:modelValue": s[22] || (s[22] = (y) => e.fields.ca_certificates = y),
2221
2227
  modelModifiers: { trim: !0 },
@@ -2230,7 +2236,7 @@ const se = {
2230
2236
  onInput: s[23] || (s[23] = (y) => ye("ca_certificates"))
2231
2237
  }, {
2232
2238
  "label-tooltip": m(() => [
2233
- d(l(Q), {
2239
+ u(l(Q), {
2234
2240
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
2235
2241
  scope: "global"
2236
2242
  }, {
@@ -2246,8 +2252,8 @@ const se = {
2246
2252
  _: 1
2247
2253
  }, 8, ["modelValue", "error", "label", "placeholder", "readonly"])
2248
2254
  ])) : M("", !0),
2249
- B.value ? (S(), $("div", gl, [
2250
- d(f, {
2255
+ B.value ? (S(), F("div", gl, [
2256
+ u(d, {
2251
2257
  modelValue: e.fields.tls_verify_enabled,
2252
2258
  "onUpdate:modelValue": s[24] || (s[24] = (y) => e.fields.tls_verify_enabled = y),
2253
2259
  "data-testid": "gateway-service-tls-verify-checkbox",
@@ -2256,7 +2262,7 @@ const se = {
2256
2262
  "label-attributes": { tooltipAttributes: { maxWidth: "400" } }
2257
2263
  }, {
2258
2264
  tooltip: m(() => [
2259
- d(l(Q), {
2265
+ u(l(Q), {
2260
2266
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
2261
2267
  scope: "global"
2262
2268
  }, {
@@ -2268,8 +2274,8 @@ const se = {
2268
2274
  ]),
2269
2275
  _: 1
2270
2276
  }, 8, ["modelValue", "description", "label"]),
2271
- e.fields.tls_verify_enabled ? (S(), $("div", yl, [
2272
- d(E, {
2277
+ e.fields.tls_verify_enabled ? (S(), F("div", yl, [
2278
+ u(E, {
2273
2279
  modelValue: e.fields.tls_verify_value,
2274
2280
  "onUpdate:modelValue": s[25] || (s[25] = (y) => e.fields.tls_verify_value = y),
2275
2281
  "data-testid": "gateway-service-tls-verify-true-option",
@@ -2277,8 +2283,8 @@ const se = {
2277
2283
  "selected-value": !0
2278
2284
  }, null, 8, ["modelValue", "label"])
2279
2285
  ])) : M("", !0),
2280
- e.fields.tls_verify_enabled ? (S(), $("div", _l, [
2281
- d(E, {
2286
+ e.fields.tls_verify_enabled ? (S(), F("div", _l, [
2287
+ u(E, {
2282
2288
  modelValue: e.fields.tls_verify_value,
2283
2289
  "onUpdate:modelValue": s[26] || (s[26] = (y) => e.fields.tls_verify_value = y),
2284
2290
  "data-testid": "gateway-service-tls-verify-false-option",
@@ -2297,13 +2303,13 @@ const se = {
2297
2303
  ]),
2298
2304
  _: 1
2299
2305
  }, 8, ["description", "hide-info-header", "title"]),
2300
- d(l(Ke), {
2306
+ u(l(Ke), {
2301
2307
  description: l(r)("gateway_services.form.sections.general.description"),
2302
2308
  "hide-info-header": n.hideSectionsInfo,
2303
2309
  title: l(r)("gateway_services.form.sections.general.title")
2304
2310
  }, {
2305
2311
  default: m(() => [
2306
- d(U, {
2312
+ u(U, {
2307
2313
  modelValue: e.fields.name,
2308
2314
  "onUpdate:modelValue": s[28] || (s[28] = (y) => e.fields.name = y),
2309
2315
  modelModifiers: { trim: !0 },
@@ -2322,14 +2328,14 @@ const se = {
2322
2328
  type: "text",
2323
2329
  onInput: R
2324
2330
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
2325
- d(_e, {
2331
+ u(_e, {
2326
2332
  "data-testid": "tags-collapse",
2327
2333
  "trigger-alignment": "leading",
2328
2334
  "trigger-label": l(r)("gateway_services.form.fields.tags.collapse")
2329
2335
  }, {
2330
2336
  default: m(() => [
2331
2337
  I("div", bl, [
2332
- d(U, {
2338
+ u(U, {
2333
2339
  modelValue: e.fields.tags,
2334
2340
  "onUpdate:modelValue": s[29] || (s[29] = (y) => e.fields.tags = y),
2335
2341
  modelModifiers: { trim: !0 },
@@ -2360,7 +2366,7 @@ const se = {
2360
2366
  }, {
2361
2367
  default: m(() => [
2362
2368
  I("ul", hl, [
2363
- (S(!0), $(lt, null, ot(e.errorMessages, (y) => (S(), $("li", { key: y }, P(y), 1))), 128))
2369
+ (S(!0), F(lt, null, ot(e.errorMessages, (y) => (S(), F("li", { key: y }, P(y), 1))), 128))
2364
2370
  ])
2365
2371
  ]),
2366
2372
  _: 1
@@ -2371,7 +2377,7 @@ const se = {
2371
2377
  ]);
2372
2378
  };
2373
2379
  }
2374
- }), Rl = /* @__PURE__ */ Ne(wl, [["__scopeId", "data-v-a94ad8c2"]]), { validateHost: kl, validatePort: Vl, validateProtocol: Cl, validatePath: Sl } = se.useUrlValidators(), Tl = () => ({
2380
+ }), Rl = /* @__PURE__ */ Ne(wl, [["__scopeId", "data-v-ce7f08af"]]), { validateHost: kl, validatePort: Vl, validateProtocol: Cl, validatePath: Sl } = se.useUrlValidators(), Tl = () => ({
2375
2381
  validateHost: kl,
2376
2382
  validatePort: Vl,
2377
2383
  validateProtocol: Cl,