@kong-ui-public/entities-routes 3.8.36 → 3.8.37

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,11 +1,11 @@
1
- import { defineComponent as J, ref as U, computed as M, watch as B, onBeforeMount as st, resolveComponent as C, openBlock as p, createElementBlock as y, createVNode as c, unref as o, withCtx as n, createBlock as V, Teleport as Rt, withDirectives as Et, createTextVNode as F, toDisplayString as g, vShow as At, createElementVNode as _, Fragment as x, renderList as G, withModifiers as Ve, TransitionGroup as ve, createCommentVNode as D, mergeModels as Le, useModel as lt, createSlots as rt, renderSlot as ce, defineAsyncComponent as Vt, onMounted as it, resolveDynamicComponent as ze, h as Je, reactive as Qe, normalizeClass as kt, nextTick as Ct } from "vue";
1
+ import { defineComponent as J, ref as D, computed as M, watch as B, onBeforeMount as st, resolveComponent as C, openBlock as p, createElementBlock as _, createVNode as c, unref as o, withCtx as n, createBlock as A, Teleport as Rt, withDirectives as Et, createTextVNode as F, toDisplayString as g, vShow as Vt, createElementVNode as y, Fragment as x, renderList as W, withModifiers as ke, TransitionGroup as ve, createCommentVNode as H, mergeModels as Le, useModel as lt, createSlots as rt, renderSlot as ce, defineAsyncComponent as At, onMounted as it, resolveDynamicComponent as ze, h as Je, reactive as Qe, normalizeClass as Ct, nextTick as Ot } from "vue";
2
2
  import { useRouter as at } from "vue-router";
3
3
  import { BadgeMethodAppearances as nt } from "@kong/kongponents";
4
- import { AddIcon as dt, TrashIcon as ut, InfoIcon as Ye, RocketIcon as Ot } from "@kong/icons";
5
- import { useAxios as Ge, useFetcher as Nt, useDeleteUrlBuilder as $t, FetcherStatus as Ze, EntityBaseTable as wt, EntityFilter as Ht, PermissionsWrapper as Ne, EntityDeleteModal as Dt, EntityTypes as Ut, useErrors as Pt, useGatewayFeatureSupported as Ft, EntityBaseFormType as et, useDebouncedFilter as Mt, EntityBaseForm as xt, SupportedEntityType as ct, EntityFormSection as tt, ConfigurationSchemaSection as he, ConfigurationSchemaType as Se, EntityBaseConfigCard as Kt, InternalLinkItem as qt } from "@kong-ui-public/entities-shared";
6
- import { createI18n as Lt, i18nTComponent as Bt } from "@kong-ui-public/i18n";
7
- import Gt from "lodash.isequal";
8
- const jt = {
4
+ import { AddIcon as dt, TrashIcon as ut, InfoIcon as Ye, RocketIcon as kt } from "@kong/icons";
5
+ import { useAxios as Ge, useFetcher as Nt, useDeleteUrlBuilder as wt, FetcherStatus as Ze, EntityBaseTable as $t, EntityFilter as Ht, PermissionsWrapper as Ne, TableTags as Dt, EntityDeleteModal as Ut, EntityTypes as Pt, useErrors as Ft, useGatewayFeatureSupported as Mt, EntityBaseFormType as et, useDebouncedFilter as xt, EntityBaseForm as Kt, SupportedEntityType as ct, EntityFormSection as tt, ConfigurationSchemaSection as he, ConfigurationSchemaType as Se, EntityBaseConfigCard as qt, InternalLinkItem as Lt } from "@kong-ui-public/entities-shared";
6
+ import { createI18n as Bt, i18nTComponent as Gt } from "@kong-ui-public/i18n";
7
+ import jt from "lodash.isequal";
8
+ const Wt = {
9
9
  create: "New Route",
10
10
  copy_id: "Copy ID",
11
11
  copy_json: "Copy JSON",
@@ -14,13 +14,13 @@ const jt = {
14
14
  clear: "Clear",
15
15
  view: "View Details",
16
16
  loading: "Loading..."
17
- }, Wt = {
17
+ }, Xt = {
18
18
  placeholder: {
19
19
  konnect: "Filter by name",
20
20
  kongManager: "Filter by exact name or ID"
21
21
  },
22
22
  no_results: "No results found"
23
- }, Xt = {
23
+ }, zt = {
24
24
  title: "Routes",
25
25
  list: {
26
26
  toolbar_actions: {
@@ -43,17 +43,17 @@ const jt = {
43
43
  description: "Routes proxy requests to an associated Service."
44
44
  }
45
45
  }
46
- }, zt = {
46
+ }, Jt = {
47
47
  general: "Routes could not be retrieved",
48
48
  delete: "The route could not be deleted at this time.",
49
49
  copy: "Failed to copy to clipboard",
50
50
  services: {
51
51
  fetch: "Could not fetch available services"
52
52
  }
53
- }, Jt = {
53
+ }, Qt = {
54
54
  success: "Copied {val} to clipboard",
55
55
  success_brief: "Successfully copied to clipboard"
56
- }, Qt = {
56
+ }, Yt = {
57
57
  protocols: {
58
58
  grpc: "GRPC",
59
59
  grpcs: "GRPCS",
@@ -252,23 +252,23 @@ const jt = {
252
252
  test_link: "Test with Router Playground",
253
253
  supported_protocols_hint: "Currently only supports the following protocols: {protocols}"
254
254
  }
255
- }, Yt = {
256
- actions: jt,
257
- search: Wt,
258
- routes: Xt,
255
+ }, Zt = {
256
+ actions: Wt,
257
+ search: Xt,
258
+ routes: zt,
259
259
  delete: {
260
260
  title: "Delete a Route",
261
261
  description: "Deleting this route will also remove any associated plugins. This action cannot be reversed."
262
262
  },
263
- errors: zt,
264
- copy: Jt,
265
- form: Qt
263
+ errors: Jt,
264
+ copy: Qt,
265
+ form: Yt
266
266
  };
267
267
  function pt() {
268
- const r = Lt("en-us", Yt);
268
+ const r = Bt("en-us", Zt);
269
269
  return {
270
270
  i18n: r,
271
- i18nT: Bt(r)
271
+ i18nT: Gt(r)
272
272
  // Translation component <i18n-t>
273
273
  };
274
274
  }
@@ -329,7 +329,7 @@ const ie = {
329
329
  forGatewayService: `${oe}/services/{serviceId}/routes/{id}`
330
330
  }
331
331
  }
332
- }, Zt = { class: "kong-ui-entities-routes-list" }, eo = { key: 1 }, to = { key: 1 }, oo = { key: 1 }, so = { key: 1 }, lo = { class: "route-list-cell-expression" }, ro = /* @__PURE__ */ J({
332
+ }, eo = { class: "kong-ui-entities-routes-list" }, to = { key: 1 }, oo = { key: 1 }, so = { key: 1 }, lo = { class: "route-list-cell-expression" }, ro = /* @__PURE__ */ J({
333
333
  __name: "RouteList",
334
334
  props: {
335
335
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -392,7 +392,7 @@ const ie = {
392
392
  emits: ["error", "copy:success", "copy:error", "delete:success"],
393
393
  setup(r, { emit: N }) {
394
394
  var Ce;
395
- const I = N, a = r, { i18n: { t: f, formatUnixTimeStamp: i } } = ie.useI18n(), m = at(), { axiosInstance: S } = Ge((Ce = a.config) == null ? void 0 : Ce.axiosRequestConfig), R = U(1), E = M(() => a.config.app !== "kongManager" || !!a.config.disableSorting), L = {
395
+ const T = N, a = r, { i18n: { t: f, formatUnixTimeStamp: i } } = ie.useI18n(), m = at(), { axiosInstance: S } = Ge((Ce = a.config) == null ? void 0 : Ce.axiosRequestConfig), R = D(1), E = M(() => a.config.app !== "kongManager" || !!a.config.disableSorting), L = {
396
396
  // the Name column is non-hidable
397
397
  name: { label: f("routes.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 },
398
398
  protocols: { label: f("routes.list.table_headers.protocols"), searchable: !0 },
@@ -412,19 +412,19 @@ const ie = {
412
412
  created_at: !1
413
413
  }
414
414
  }, u = L, Q = M(() => {
415
- var k, $, K, X;
415
+ var k, w, K, X;
416
416
  let b = `${a.config.apiBaseUrl}${Ie.list[a.config.app][a.config.serviceId ? "forGatewayService" : "all"]}`;
417
- return a.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((k = a.config) == null ? void 0 : k.controlPlaneId) || "").replace(/{serviceId}/gi, (($ = a.config) == null ? void 0 : $.serviceId) || "") : a.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (K = a.config) != null && K.workspace ? `/${a.config.workspace}` : "").replace(/{serviceId}/gi, ((X = a.config) == null ? void 0 : X.serviceId) || "")), b;
418
- }), se = U(""), O = M(() => {
417
+ return a.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((k = a.config) == null ? void 0 : k.controlPlaneId) || "").replace(/{serviceId}/gi, ((w = a.config) == null ? void 0 : w.serviceId) || "") : a.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (K = a.config) != null && K.workspace ? `/${a.config.workspace}` : "").replace(/{serviceId}/gi, ((X = a.config) == null ? void 0 : X.serviceId) || "")), b;
418
+ }), se = D(""), O = M(() => {
419
419
  const b = a.config.app === "konnect" || a.config.isExactMatch;
420
420
  if (b)
421
421
  return {
422
422
  isExactMatch: b,
423
423
  placeholder: f(`search.placeholder.${a.config.app}`)
424
424
  };
425
- const { name: k, protocols: $, hosts: K, methods: X, paths: le, expression: ge } = L, T = {
425
+ const { name: k, protocols: w, hosts: K, methods: X, paths: le, expression: ge } = L, I = {
426
426
  name: k,
427
- protocols: $,
427
+ protocols: w,
428
428
  hosts: K,
429
429
  methods: X,
430
430
  paths: le,
@@ -432,10 +432,10 @@ const ie = {
432
432
  };
433
433
  return {
434
434
  isExactMatch: b,
435
- fields: T,
435
+ fields: I,
436
436
  schema: a.config.filterSchema
437
437
  };
438
- }), { fetcher: P, fetcherState: Y } = Nt(a.config, Q.value), j = (b) => b.headerKey === "expression" ? {
438
+ }), { fetcher: U, fetcherState: Y } = Nt(a.config, Q.value), G = (b) => b.headerKey === "expression" ? {
439
439
  style: {
440
440
  maxWidth: "250px",
441
441
  overflowX: "hidden",
@@ -445,71 +445,71 @@ const ie = {
445
445
  se.value = "";
446
446
  }, Z = () => {
447
447
  R.value++;
448
- }, ne = U(null), be = U(!1), q = (b, k) => {
449
- const $ = b.id;
450
- if (!k($)) {
451
- I("copy:error", {
448
+ }, ne = D(null), ye = D(!1), q = (b, k) => {
449
+ const w = b.id;
450
+ if (!k(w)) {
451
+ T("copy:error", {
452
452
  entity: b,
453
453
  field: "id",
454
454
  message: f("errors.copy")
455
455
  });
456
456
  return;
457
457
  }
458
- I("copy:success", {
458
+ T("copy:success", {
459
459
  entity: b,
460
460
  field: "id",
461
- message: f("copy.success", { val: $ })
461
+ message: f("copy.success", { val: w })
462
462
  });
463
- }, we = (b, k) => {
464
- const $ = JSON.stringify(b);
465
- if (!k($)) {
466
- I("copy:error", {
463
+ }, $e = (b, k) => {
464
+ const w = JSON.stringify(b);
465
+ if (!k(w)) {
466
+ T("copy:error", {
467
467
  entity: b,
468
468
  message: f("errors.copy")
469
469
  });
470
470
  return;
471
471
  }
472
- I("copy:success", {
472
+ T("copy:success", {
473
473
  entity: b,
474
474
  message: f("copy.success_brief")
475
475
  });
476
476
  }, He = async (b) => {
477
- var $;
478
- await (($ = a.canRetrieve) == null ? void 0 : $.call(a, b)) && m.push(a.config.getViewRoute(b.id));
477
+ var w;
478
+ await ((w = a.canRetrieve) == null ? void 0 : w.call(a, b)) && m.push(a.config.getViewRoute(b.id));
479
479
  }, De = (b) => ({
480
480
  label: f("actions.view"),
481
481
  to: a.config.getViewRoute(b)
482
- }), ke = (b) => ({
482
+ }), Ae = (b) => ({
483
483
  label: f("actions.edit"),
484
484
  to: a.config.getEditRoute(b)
485
- }), ee = U(void 0), pe = U(!1), _e = U(!1), Re = U(""), Ue = $t(a.config, Q.value), Pe = (b) => {
485
+ }), ee = D(void 0), pe = D(!1), _e = D(!1), Re = D(""), Ue = wt(a.config, Q.value), Pe = (b) => {
486
486
  ee.value = b, pe.value = !0;
487
487
  }, Fe = () => {
488
488
  pe.value = !1;
489
489
  }, Me = async () => {
490
- var b, k, $;
490
+ var b, k, w;
491
491
  if ((b = ee.value) != null && b.id) {
492
492
  _e.value = !0;
493
493
  try {
494
- await S.delete(Ue(ee.value.id)), _e.value = !1, pe.value = !1, R.value++, I("delete:success", ee.value);
494
+ await S.delete(Ue(ee.value.id)), _e.value = !1, pe.value = !1, R.value++, T("delete:success", ee.value);
495
495
  } catch (K) {
496
- Re.value = (($ = (k = K.response) == null ? void 0 : k.data) == null ? void 0 : $.message) || K.message || f("errors.delete"), I("error", K);
496
+ Re.value = ((w = (k = K.response) == null ? void 0 : k.data) == null ? void 0 : w.message) || K.message || f("errors.delete"), T("error", K);
497
497
  } finally {
498
498
  _e.value = !1;
499
499
  }
500
500
  }
501
- }, W = U(!1);
501
+ }, j = D(!1);
502
502
  B(Y, (b) => {
503
- var k, $, K, X;
504
- if (Array.isArray((k = b == null ? void 0 : b.response) == null ? void 0 : k.data) && (W.value = b.response.data.length > 0), b.status === Ze.NoRecords ? be.value = !0 : be.value = !1, b.status === Ze.Error) {
503
+ var k, w, K, X;
504
+ if (Array.isArray((k = b == null ? void 0 : b.response) == null ? void 0 : k.data) && (j.value = b.response.data.length > 0), b.status === Ze.NoRecords ? ye.value = !0 : ye.value = !1, b.status === Ze.Error) {
505
505
  ne.value = {
506
506
  title: f("errors.general")
507
- }, (X = (K = ($ = b.error) == null ? void 0 : $.response) == null ? void 0 : K.data) != null && X.message && (ne.value.message = b.error.response.data.message), I("error", b.error);
507
+ }, (X = (K = (w = b.error) == null ? void 0 : w.response) == null ? void 0 : K.data) != null && X.message && (ne.value.message = b.error.response.data.message), T("error", b.error);
508
508
  return;
509
509
  }
510
510
  ne.value = null;
511
511
  });
512
- const de = U({
512
+ const de = D({
513
513
  ctaPath: a.config.createRoute,
514
514
  ctaText: void 0,
515
515
  message: `${f("routes.list.empty_state.description")}${a.config.additionMessageForEmptyState ? ` ${a.config.additionMessageForEmptyState}` : ""}`,
@@ -518,19 +518,19 @@ const ie = {
518
518
  return st(async () => {
519
519
  await a.canCreate() && (de.value.title = f("routes.list.empty_state.title"), de.value.ctaText = f("actions.create"));
520
520
  }), (b, k) => {
521
- const $ = C("KButton"), K = C("KBadge"), X = C("KTruncate"), le = C("KDropdownItem"), ge = C("KClipboardProvider");
522
- return p(), y("div", Zt, [
523
- c(o(wt), {
521
+ const w = C("KButton"), K = C("KBadge"), X = C("KTruncate"), le = C("KDropdownItem"), ge = C("KClipboardProvider");
522
+ return p(), _("div", eo, [
523
+ c(o($t), {
524
524
  "cache-identifier": r.cacheIdentifier,
525
- "cell-attributes": j,
525
+ "cell-attributes": G,
526
526
  "default-table-preferences": h,
527
527
  "disable-sorting": E.value,
528
528
  "empty-state-options": de.value,
529
529
  "enable-entity-actions": "",
530
530
  "error-message": ne.value,
531
- fetcher: o(P),
531
+ fetcher: o(U),
532
532
  "fetcher-cache-key": R.value,
533
- "hide-toolbar": be.value,
533
+ "hide-toolbar": ye.value,
534
534
  "pagination-type": "offset",
535
535
  "preferences-storage-key": "kong-ui-entities-routes-list",
536
536
  query: se.value,
@@ -538,18 +538,18 @@ const ie = {
538
538
  title: r.title,
539
539
  "title-tag": r.titleTag,
540
540
  onClearSearchInput: e,
541
- "onClick:row": k[6] || (k[6] = (T) => He(T)),
541
+ "onClick:row": k[5] || (k[5] = (I) => He(I)),
542
542
  onSort: Z
543
543
  }, {
544
544
  "toolbar-filter": n(() => [
545
545
  c(o(Ht), {
546
546
  modelValue: se.value,
547
- "onUpdate:modelValue": k[0] || (k[0] = (T) => se.value = T),
547
+ "onUpdate:modelValue": k[0] || (k[0] = (I) => se.value = I),
548
548
  config: O.value
549
549
  }, null, 8, ["modelValue", "config"])
550
550
  ]),
551
551
  "toolbar-button": n(() => [
552
- (p(), V(Rt, {
552
+ (p(), A(Rt, {
553
553
  disabled: !r.useActionOutside,
554
554
  to: "#kong-ui-app-page-header-action-button"
555
555
  }, [
@@ -557,7 +557,7 @@ const ie = {
557
557
  "auth-function": () => r.canCreate()
558
558
  }, {
559
559
  default: n(() => [
560
- Et(c($, {
560
+ Et(c(w, {
561
561
  appearance: "primary",
562
562
  "data-testid": "toolbar-add-route",
563
563
  size: r.useActionOutside ? "medium" : "large",
@@ -569,27 +569,27 @@ const ie = {
569
569
  ]),
570
570
  _: 1
571
571
  }, 8, ["size", "to"]), [
572
- [At, W.value]
572
+ [Vt, j.value]
573
573
  ])
574
574
  ]),
575
575
  _: 1
576
576
  }, 8, ["auth-function"])
577
577
  ], 8, ["disabled"]))
578
578
  ]),
579
- name: n(({ rowValue: T }) => [
580
- _("b", null, g(T ?? "-"), 1)
579
+ name: n(({ rowValue: I }) => [
580
+ y("b", null, g(I ?? "-"), 1)
581
581
  ]),
582
- protocols: n(({ rowValue: T }) => [
582
+ protocols: n(({ rowValue: I }) => [
583
583
  c(X, null, {
584
584
  default: n(() => [
585
- (p(!0), y(x, null, G(T, (H) => (p(), V(K, {
586
- key: H,
585
+ (p(!0), _(x, null, W(I, (P) => (p(), A(K, {
586
+ key: P,
587
587
  appearance: "neutral",
588
- onClick: k[1] || (k[1] = Ve(() => {
588
+ onClick: k[1] || (k[1] = ke(() => {
589
589
  }, ["stop"]))
590
590
  }, {
591
591
  default: n(() => [
592
- F(g(H), 1)
592
+ F(g(P), 1)
593
593
  ]),
594
594
  _: 2
595
595
  }, 1024))), 128))
@@ -597,96 +597,82 @@ const ie = {
597
597
  _: 2
598
598
  }, 1024)
599
599
  ]),
600
- hosts: n(({ rowValue: T }) => [
601
- (T == null ? void 0 : T.length) > 0 ? (p(), V(X, { key: 0 }, {
600
+ hosts: n(({ rowValue: I }) => [
601
+ (I == null ? void 0 : I.length) > 0 ? (p(), A(X, { key: 0 }, {
602
602
  default: n(() => [
603
- (p(!0), y(x, null, G(T, (H) => (p(), V(K, {
604
- key: H,
603
+ (p(!0), _(x, null, W(I, (P) => (p(), A(K, {
604
+ key: P,
605
605
  appearance: "neutral",
606
- tooltip: H,
606
+ tooltip: P,
607
607
  "truncation-tooltip": "",
608
- onClick: k[2] || (k[2] = Ve(() => {
608
+ onClick: k[2] || (k[2] = ke(() => {
609
609
  }, ["stop"]))
610
610
  }, {
611
611
  default: n(() => [
612
- F(g(H), 1)
612
+ F(g(P), 1)
613
613
  ]),
614
614
  _: 2
615
615
  }, 1032, ["tooltip"]))), 128))
616
616
  ]),
617
617
  _: 2
618
- }, 1024)) : (p(), y("span", eo, "-"))
618
+ }, 1024)) : (p(), _("span", to, "-"))
619
619
  ]),
620
- methods: n(({ rowValue: T }) => [
621
- (T == null ? void 0 : T.length) > 0 ? (p(), V(X, { key: 0 }, {
620
+ methods: n(({ rowValue: I }) => [
621
+ (I == null ? void 0 : I.length) > 0 ? (p(), A(X, { key: 0 }, {
622
622
  default: n(() => [
623
- (p(!0), y(x, null, G(T, (H) => (p(), V(K, {
624
- key: H,
625
- appearance: Object.values(o(nt)).includes(H.toLowerCase()) ? H.toLowerCase() : "custom",
626
- onClick: k[3] || (k[3] = Ve(() => {
623
+ (p(!0), _(x, null, W(I, (P) => (p(), A(K, {
624
+ key: P,
625
+ appearance: Object.values(o(nt)).includes(P.toLowerCase()) ? P.toLowerCase() : "custom",
626
+ onClick: k[3] || (k[3] = ke(() => {
627
627
  }, ["stop"]))
628
628
  }, {
629
629
  default: n(() => [
630
- F(g(H), 1)
630
+ F(g(P), 1)
631
631
  ]),
632
632
  _: 2
633
633
  }, 1032, ["appearance"]))), 128))
634
634
  ]),
635
635
  _: 2
636
- }, 1024)) : (p(), y("span", to, "-"))
636
+ }, 1024)) : (p(), _("span", oo, "-"))
637
637
  ]),
638
- paths: n(({ rowValue: T }) => [
639
- (T == null ? void 0 : T.length) > 0 ? (p(), V(X, { key: 0 }, {
638
+ paths: n(({ rowValue: I }) => [
639
+ (I == null ? void 0 : I.length) > 0 ? (p(), A(X, { key: 0 }, {
640
640
  default: n(() => [
641
- (p(!0), y(x, null, G(T, (H) => (p(), V(K, {
642
- key: H,
641
+ (p(!0), _(x, null, W(I, (P) => (p(), A(K, {
642
+ key: P,
643
643
  appearance: "neutral",
644
- tooltip: H,
644
+ tooltip: P,
645
645
  "truncation-tooltip": "",
646
- onClick: k[4] || (k[4] = Ve(() => {
646
+ onClick: k[4] || (k[4] = ke(() => {
647
647
  }, ["stop"]))
648
648
  }, {
649
649
  default: n(() => [
650
- F(g(H), 1)
650
+ F(g(P), 1)
651
651
  ]),
652
652
  _: 2
653
653
  }, 1032, ["tooltip"]))), 128))
654
654
  ]),
655
655
  _: 2
656
- }, 1024)) : (p(), y("span", oo, "-"))
656
+ }, 1024)) : (p(), _("span", so, "-"))
657
657
  ]),
658
- tags: n(({ rowValue: T }) => [
659
- (T == null ? void 0 : T.length) > 0 ? (p(), V(X, { key: 0 }, {
660
- default: n(() => [
661
- (p(!0), y(x, null, G(T, (H) => (p(), V(K, {
662
- key: H,
663
- onClick: k[5] || (k[5] = Ve(() => {
664
- }, ["stop"]))
665
- }, {
666
- default: n(() => [
667
- F(g(H), 1)
668
- ]),
669
- _: 2
670
- }, 1024))), 128))
671
- ]),
672
- _: 2
673
- }, 1024)) : (p(), y("span", so, "-"))
658
+ tags: n(({ rowValue: I }) => [
659
+ c(o(Dt), { tags: I }, null, 8, ["tags"])
674
660
  ]),
675
- expression: n(({ rowValue: T }) => [
676
- _("span", lo, g(T || "-"), 1)
661
+ expression: n(({ rowValue: I }) => [
662
+ y("span", lo, g(I || "-"), 1)
677
663
  ]),
678
- created_at: n(({ rowValue: T }) => [
679
- F(g(o(i)(T)), 1)
664
+ created_at: n(({ rowValue: I }) => [
665
+ F(g(o(i)(I)), 1)
680
666
  ]),
681
- updated_at: n(({ rowValue: T }) => [
682
- F(g(o(i)(T)), 1)
667
+ updated_at: n(({ rowValue: I }) => [
668
+ F(g(o(i)(I)), 1)
683
669
  ]),
684
- actions: n(({ row: T }) => [
670
+ actions: n(({ row: I }) => [
685
671
  c(ge, null, {
686
- default: n(({ copyToClipboard: H }) => [
672
+ default: n(({ copyToClipboard: P }) => [
687
673
  c(le, {
688
674
  "data-testid": "action-entity-copy-id",
689
- onClick: (Oe) => q(T, H)
675
+ onClick: (Oe) => q(I, P)
690
676
  }, {
691
677
  default: n(() => [
692
678
  F(g(o(f)("actions.copy_id")), 1)
@@ -697,10 +683,10 @@ const ie = {
697
683
  _: 2
698
684
  }, 1024),
699
685
  c(ge, null, {
700
- default: n(({ copyToClipboard: H }) => [
686
+ default: n(({ copyToClipboard: P }) => [
701
687
  c(le, {
702
688
  "data-testid": "action-entity-copy-json",
703
- onClick: (Oe) => we(T, H)
689
+ onClick: (Oe) => $e(I, P)
704
690
  }, {
705
691
  default: n(() => [
706
692
  F(g(o(f)("actions.copy_json")), 1)
@@ -711,37 +697,37 @@ const ie = {
711
697
  _: 2
712
698
  }, 1024),
713
699
  c(o(Ne), {
714
- "auth-function": () => r.canRetrieve(T)
700
+ "auth-function": () => r.canRetrieve(I)
715
701
  }, {
716
702
  default: n(() => [
717
703
  c(le, {
718
704
  "data-testid": "action-entity-view",
719
705
  "has-divider": "",
720
- item: De(T.id)
706
+ item: De(I.id)
721
707
  }, null, 8, ["item"])
722
708
  ]),
723
709
  _: 2
724
710
  }, 1032, ["auth-function"]),
725
711
  c(o(Ne), {
726
- "auth-function": () => r.canEdit(T)
712
+ "auth-function": () => r.canEdit(I)
727
713
  }, {
728
714
  default: n(() => [
729
715
  c(le, {
730
716
  "data-testid": "action-entity-edit",
731
- item: ke(T.id)
717
+ item: Ae(I.id)
732
718
  }, null, 8, ["item"])
733
719
  ]),
734
720
  _: 2
735
721
  }, 1032, ["auth-function"]),
736
722
  c(o(Ne), {
737
- "auth-function": () => r.canDelete(T)
723
+ "auth-function": () => r.canDelete(I)
738
724
  }, {
739
725
  default: n(() => [
740
726
  c(le, {
741
727
  danger: "",
742
728
  "data-testid": "action-entity-delete",
743
729
  "has-divider": "",
744
- onClick: (H) => Pe(T)
730
+ onClick: (P) => Pe(I)
745
731
  }, {
746
732
  default: n(() => [
747
733
  F(g(o(f)("actions.delete")), 1)
@@ -754,11 +740,11 @@ const ie = {
754
740
  ]),
755
741
  _: 1
756
742
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "hide-toolbar", "query", "table-headers", "title", "title-tag"]),
757
- c(o(Dt), {
743
+ c(o(Ut), {
758
744
  "action-pending": _e.value,
759
745
  description: o(f)("delete.description"),
760
746
  "entity-name": ee.value && (ee.value.name || ee.value.id),
761
- "entity-type": o(Ut).Route,
747
+ "entity-type": o(Pt).Route,
762
748
  error: Re.value,
763
749
  title: o(f)("delete.title"),
764
750
  visible: pe.value,
@@ -769,13 +755,13 @@ const ie = {
769
755
  };
770
756
  }
771
757
  }), ae = (r, N) => {
772
- const I = r.__vccOpts || r;
758
+ const T = r.__vccOpts || r;
773
759
  for (const [a, f] of N)
774
- I[a] = f;
775
- return I;
776
- }, ns = /* @__PURE__ */ ae(ro, [["__scopeId", "data-v-cb29085c"]]);
777
- var io = /* @__PURE__ */ ((r) => (r.GET = "GET", r.PUT = "PUT", r.POST = "POST", r.PATCH = "PATCH", r.DELETE = "DELETE", r.OPTIONS = "OPTIONS", r.HEAD = "HEAD", r.CONNECT = "CONNECT", r.TRACE = "TRACE", r.CUSTOM = "CUSTOM", r))(io || {}), w = /* @__PURE__ */ ((r) => (r.TRADITIONAL = "traditional", r.EXPRESSIONS = "expressions", r))(w || {}), l = /* @__PURE__ */ ((r) => (r.PATHS = "paths", r.SNIS = "snis", r.HOSTS = "hosts", r.METHODS = "methods", r.HEADERS = "headers", r.SOURCES = "sources", r.DESTINATIONS = "destinations", r.CUSTOM_METHOD = "custom-method", r))(l || {}), Te = /* @__PURE__ */ ((r) => (r.LOADING = "loading", r.ERROR = "error", r.READY = "ready", r))(Te || {});
778
- const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.expressions === !0, ft = "#d60027", ot = "#6c7489", Be = "16px", ao = { class: "routing-rules-entities-controls-container" }, no = /* @__PURE__ */ J({
760
+ T[a] = f;
761
+ return T;
762
+ }, ns = /* @__PURE__ */ ae(ro, [["__scopeId", "data-v-1985b9c4"]]);
763
+ var io = /* @__PURE__ */ ((r) => (r.GET = "GET", r.PUT = "PUT", r.POST = "POST", r.PATCH = "PATCH", r.DELETE = "DELETE", r.OPTIONS = "OPTIONS", r.HEAD = "HEAD", r.CONNECT = "CONNECT", r.TRACE = "TRACE", r.CUSTOM = "CUSTOM", r))(io || {}), $ = /* @__PURE__ */ ((r) => (r.TRADITIONAL = "traditional", r.EXPRESSIONS = "expressions", r))($ || {}), l = /* @__PURE__ */ ((r) => (r.PATHS = "paths", r.SNIS = "snis", r.HOSTS = "hosts", r.METHODS = "methods", r.HEADERS = "headers", r.SOURCES = "sources", r.DESTINATIONS = "destinations", r.CUSTOM_METHOD = "custom-method", r))(l || {}), Te = /* @__PURE__ */ ((r) => (r.LOADING = "loading", r.ERROR = "error", r.READY = "ready", r))(Te || {});
764
+ const ue = (r) => r.routeFlavors.traditional === !0, we = (r) => r.routeFlavors.expressions === !0, ft = "#d60027", ot = "#6c7489", Be = "16px", ao = { class: "routing-rules-entities-controls-container" }, no = /* @__PURE__ */ J({
779
765
  __name: "RoutingRulesEntitiesControls",
780
766
  props: {
781
767
  routingRulesEntity: {
@@ -789,15 +775,15 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
789
775
  },
790
776
  emits: ["remove", "add"],
791
777
  setup(r) {
792
- return (N, I) => {
778
+ return (N, T) => {
793
779
  const a = C("KButton");
794
- return p(), y("div", ao, [
780
+ return p(), _("div", ao, [
795
781
  c(a, {
796
782
  appearance: "tertiary",
797
783
  class: "remove-button",
798
784
  "data-testid": `remove-${r.routingRulesEntity}`,
799
785
  icon: "",
800
- onClick: I[0] || (I[0] = (f) => N.$emit("remove"))
786
+ onClick: T[0] || (T[0] = (f) => N.$emit("remove"))
801
787
  }, {
802
788
  default: n(() => [
803
789
  c(o(ut), { color: o(ft) }, null, 8, ["color"])
@@ -809,7 +795,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
809
795
  "data-testid": `add-${r.routingRulesEntity}`,
810
796
  disabled: r.isAddDisabled,
811
797
  icon: "",
812
- onClick: I[1] || (I[1] = (f) => N.$emit("add"))
798
+ onClick: T[1] || (T[1] = (f) => N.$emit("add"))
813
799
  }, {
814
800
  default: n(() => [
815
801
  c(o(dt))
@@ -819,7 +805,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
819
805
  ]);
820
806
  };
821
807
  }
822
- }), ye = /* @__PURE__ */ ae(no, [["__scopeId", "data-v-e024298d"]]), uo = { class: "routing-rule-container" }, co = /* @__PURE__ */ J({
808
+ }), be = /* @__PURE__ */ ae(no, [["__scopeId", "data-v-e024298d"]]), uo = { class: "routing-rule-container" }, co = /* @__PURE__ */ J({
823
809
  __name: "RouteFormDestinationsFields",
824
810
  props: {
825
811
  modelValue: {
@@ -829,15 +815,15 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
829
815
  },
830
816
  emits: ["add", "remove", "update:modelValue"],
831
817
  setup(r, { emit: N }) {
832
- const I = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = U([]);
833
- return B(I.modelValue, (m) => {
818
+ const T = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = D([]);
819
+ return B(T.modelValue, (m) => {
834
820
  i.value = [...m];
835
821
  }, { immediate: !0, deep: !0 }), B(i, (m) => {
836
822
  a("update:modelValue", m);
837
823
  }, { deep: !0 }), (m, S) => {
838
824
  const R = C("KLabel"), E = C("KInput");
839
- return p(), y("div", uo, [
840
- S[1] || (S[1] = _("hr", null, null, -1)),
825
+ return p(), _("div", uo, [
826
+ S[1] || (S[1] = y("hr", null, null, -1)),
841
827
  c(R, {
842
828
  info: o(f)("form.fields.destinations.tooltip")
843
829
  }, {
@@ -848,7 +834,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
848
834
  }, 8, ["info"]),
849
835
  c(ve, { name: "appear" }, {
850
836
  default: n(() => [
851
- (p(!0), y(x, null, G(i.value, (L, h) => (p(), y("div", {
837
+ (p(!0), _(x, null, W(i.value, (L, h) => (p(), _("div", {
852
838
  key: h,
853
839
  class: "routing-rule-input"
854
840
  }, [
@@ -869,7 +855,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
869
855
  placeholder: o(f)("form.fields.destinations.port.placeholder"),
870
856
  type: "number"
871
857
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "placeholder"]),
872
- c(ye, {
858
+ c(be, {
873
859
  "is-add-disabled": h !== i.value.length - 1,
874
860
  "routing-rules-entity": o(l).DESTINATIONS,
875
861
  onAdd: S[0] || (S[0] = (u) => m.$emit("add")),
@@ -892,15 +878,15 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
892
878
  },
893
879
  emits: ["add", "remove", "update:modelValue"],
894
880
  setup(r, { emit: N }) {
895
- const I = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = U([]);
896
- return B(I.modelValue, (m) => {
881
+ const T = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = D([]);
882
+ return B(T.modelValue, (m) => {
897
883
  i.value = [...m];
898
884
  }, { immediate: !0, deep: !0 }), B(i, (m) => {
899
885
  a("update:modelValue", m);
900
886
  }, { deep: !0 }), (m, S) => {
901
887
  const R = C("KLabel"), E = C("KInput");
902
- return p(), y("div", fo, [
903
- S[1] || (S[1] = _("hr", null, null, -1)),
888
+ return p(), _("div", fo, [
889
+ S[1] || (S[1] = y("hr", null, null, -1)),
904
890
  c(R, {
905
891
  info: o(f)("form.fields.headers.tooltip")
906
892
  }, {
@@ -911,7 +897,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
911
897
  }, 8, ["info"]),
912
898
  c(ve, { name: "appear" }, {
913
899
  default: n(() => [
914
- (p(!0), y(x, null, G(i.value, (L, h) => (p(), y("div", {
900
+ (p(!0), _(x, null, W(i.value, (L, h) => (p(), _("div", {
915
901
  key: h,
916
902
  class: "routing-rule-input"
917
903
  }, [
@@ -929,7 +915,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
929
915
  "data-testid": `route-form-headers-values-input-${h + 1}`,
930
916
  placeholder: o(f)("form.fields.headers.values.placeholder")
931
917
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "placeholder"]),
932
- c(ye, {
918
+ c(be, {
933
919
  "is-add-disabled": h !== i.value.length - 1,
934
920
  "routing-rules-entity": o(l).HEADERS,
935
921
  onAdd: S[0] || (S[0] = (u) => m.$emit("add")),
@@ -952,15 +938,15 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
952
938
  },
953
939
  emits: ["add", "remove", "update:modelValue"],
954
940
  setup(r, { emit: N }) {
955
- const I = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = U([]);
956
- return B(I.modelValue, (m) => {
941
+ const T = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = D([]);
942
+ return B(T.modelValue, (m) => {
957
943
  i.value = [...m];
958
944
  }, { immediate: !0, deep: !0 }), B(i, (m) => {
959
945
  a("update:modelValue", m);
960
946
  }, { deep: !0 }), (m, S) => {
961
947
  const R = C("KLabel"), E = C("KInput");
962
- return p(), y("div", vo, [
963
- S[1] || (S[1] = _("hr", null, null, -1)),
948
+ return p(), _("div", vo, [
949
+ S[1] || (S[1] = y("hr", null, null, -1)),
964
950
  c(R, {
965
951
  info: o(f)("form.fields.hosts.tooltip")
966
952
  }, {
@@ -971,7 +957,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
971
957
  }, 8, ["info"]),
972
958
  c(ve, { name: "appear" }, {
973
959
  default: n(() => [
974
- (p(!0), y(x, null, G(i.value, (L, h) => (p(), y("div", {
960
+ (p(!0), _(x, null, W(i.value, (L, h) => (p(), _("div", {
975
961
  key: h,
976
962
  class: "routing-rule-input"
977
963
  }, [
@@ -982,7 +968,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
982
968
  "data-testid": `route-form-hosts-input-${h + 1}`,
983
969
  placeholder: o(f)("form.fields.hosts.placeholder")
984
970
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "placeholder"]),
985
- c(ye, {
971
+ c(be, {
986
972
  "is-add-disabled": h !== i.value.length - 1,
987
973
  "routing-rules-entity": o(l).HOSTS,
988
974
  onAdd: S[0] || (S[0] = (u) => m.$emit("add")),
@@ -995,7 +981,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
995
981
  ]);
996
982
  };
997
983
  }
998
- }), So = /* @__PURE__ */ ae(go, [["__scopeId", "data-v-88d16377"]]), yo = { class: "routing-rule-container" }, bo = { class: "routing-rule-input" }, _o = { class: "methods-input-container" }, To = {
984
+ }), So = /* @__PURE__ */ ae(go, [["__scopeId", "data-v-88d16377"]]), bo = { class: "routing-rule-container" }, yo = { class: "routing-rule-input" }, _o = { class: "methods-input-container" }, To = {
999
985
  key: 0,
1000
986
  class: "routing-rule-container"
1001
987
  }, Io = /* @__PURE__ */ J({
@@ -1012,10 +998,10 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1012
998
  },
1013
999
  emits: ["add", "remove", "update:modelValue", "update-custom-methods"],
1014
1000
  setup(r, { emit: N }) {
1015
- const I = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = U({}), m = U([...I.customMethods]), S = (R) => {
1001
+ const T = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = D({}), m = D([...T.customMethods]), S = (R) => {
1016
1002
  m.value.length === 1 ? m.value[0] = "" : m.value.splice(R, 1);
1017
1003
  };
1018
- return B(I.modelValue, (R) => {
1004
+ return B(T.modelValue, (R) => {
1019
1005
  i.value = { ...R };
1020
1006
  }, { immediate: !0, deep: !0 }), B(i, (R) => {
1021
1007
  a("update:modelValue", R);
@@ -1023,23 +1009,23 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1023
1009
  a("update-custom-methods", R);
1024
1010
  }, { deep: !0 }), (R, E) => {
1025
1011
  const L = C("KLabel"), h = C("KInputSwitch"), u = C("KBadge"), Q = C("KButton"), se = C("KInput");
1026
- return p(), y("div", yo, [
1027
- E[2] || (E[2] = _("hr", null, null, -1)),
1012
+ return p(), _("div", bo, [
1013
+ E[2] || (E[2] = y("hr", null, null, -1)),
1028
1014
  c(L, null, {
1029
1015
  default: n(() => [
1030
1016
  F(g(o(f)("form.fields.methods.label")), 1)
1031
1017
  ]),
1032
1018
  _: 1
1033
1019
  }),
1034
- _("div", bo, [
1035
- _("div", _o, [
1036
- (p(!0), y(x, null, G(Object.keys(i.value), (O) => (p(), y("div", {
1020
+ y("div", yo, [
1021
+ y("div", _o, [
1022
+ (p(!0), _(x, null, W(Object.keys(i.value), (O) => (p(), _("div", {
1037
1023
  key: O,
1038
1024
  class: "methods-input"
1039
1025
  }, [
1040
1026
  c(h, {
1041
1027
  modelValue: i.value[O],
1042
- "onUpdate:modelValue": (P) => i.value[O] = P,
1028
+ "onUpdate:modelValue": (U) => i.value[O] = U,
1043
1029
  "data-testid": `${O.toLowerCase()}-method-toggle`
1044
1030
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid"]),
1045
1031
  c(u, {
@@ -1065,7 +1051,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1065
1051
  _: 1
1066
1052
  })
1067
1053
  ]),
1068
- i.value.CUSTOM ? (p(), y("div", To, [
1054
+ i.value.CUSTOM ? (p(), _("div", To, [
1069
1055
  c(L, {
1070
1056
  info: o(f)("form.fields.methods.custom.tooltip")
1071
1057
  }, {
@@ -1076,32 +1062,32 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1076
1062
  }, 8, ["info"]),
1077
1063
  c(ve, { name: "appear" }, {
1078
1064
  default: n(() => [
1079
- (p(!0), y(x, null, G(m.value, (O, P) => (p(), y("div", {
1080
- key: P,
1065
+ (p(!0), _(x, null, W(m.value, (O, U) => (p(), _("div", {
1066
+ key: U,
1081
1067
  class: "routing-rule-input"
1082
1068
  }, [
1083
1069
  c(se, {
1084
- modelValue: m.value[P],
1085
- "onUpdate:modelValue": (Y) => m.value[P] = Y,
1070
+ modelValue: m.value[U],
1071
+ "onUpdate:modelValue": (Y) => m.value[U] = Y,
1086
1072
  modelModifiers: { trim: !0 },
1087
- "data-testid": `route-form-custom-method-input-${P + 1}`,
1073
+ "data-testid": `route-form-custom-method-input-${U + 1}`,
1088
1074
  placeholder: o(f)("form.fields.methods.custom.placeholder")
1089
1075
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "placeholder"]),
1090
- c(ye, {
1091
- "is-add-disabled": P !== m.value.length - 1,
1076
+ c(be, {
1077
+ "is-add-disabled": U !== m.value.length - 1,
1092
1078
  "routing-rules-entity": o(l).CUSTOM_METHOD,
1093
1079
  onAdd: E[1] || (E[1] = (Y) => m.value.push("")),
1094
- onRemove: (Y) => S(P)
1080
+ onRemove: (Y) => S(U)
1095
1081
  }, null, 8, ["is-add-disabled", "routing-rules-entity", "onRemove"])
1096
1082
  ]))), 128))
1097
1083
  ]),
1098
1084
  _: 1
1099
1085
  })
1100
- ])) : D("", !0)
1086
+ ])) : H("", !0)
1101
1087
  ]);
1102
1088
  };
1103
1089
  }
1104
- }), Ro = /* @__PURE__ */ ae(Io, [["__scopeId", "data-v-c8ae1bc5"]]), Eo = { class: "routing-rule-container" }, Ao = /* @__PURE__ */ J({
1090
+ }), Ro = /* @__PURE__ */ ae(Io, [["__scopeId", "data-v-c8ae1bc5"]]), Eo = { class: "routing-rule-container" }, Vo = /* @__PURE__ */ J({
1105
1091
  __name: "RouteFormPathsFields",
1106
1092
  props: {
1107
1093
  modelValue: {
@@ -1111,14 +1097,14 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1111
1097
  },
1112
1098
  emits: ["add", "remove", "update:modelValue"],
1113
1099
  setup(r, { emit: N }) {
1114
- const I = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = U([]);
1115
- return B(I.modelValue, (m) => {
1100
+ const T = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = D([]);
1101
+ return B(T.modelValue, (m) => {
1116
1102
  i.value = [...m];
1117
1103
  }, { immediate: !0, deep: !0 }), B(i, (m) => {
1118
1104
  a("update:modelValue", m);
1119
1105
  }, { deep: !0 }), (m, S) => {
1120
1106
  const R = C("KLabel"), E = C("KInput");
1121
- return p(), y("div", Eo, [
1107
+ return p(), _("div", Eo, [
1122
1108
  c(R, null, {
1123
1109
  default: n(() => [
1124
1110
  F(g(o(f)("form.fields.paths.label")), 1)
@@ -1127,7 +1113,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1127
1113
  }),
1128
1114
  c(ve, { name: "appear" }, {
1129
1115
  default: n(() => [
1130
- (p(!0), y(x, null, G(i.value, (L, h) => (p(), y("div", {
1116
+ (p(!0), _(x, null, W(i.value, (L, h) => (p(), _("div", {
1131
1117
  key: h,
1132
1118
  class: "routing-rule-input"
1133
1119
  }, [
@@ -1138,7 +1124,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1138
1124
  "data-testid": `route-form-paths-input-${h + 1}`,
1139
1125
  placeholder: o(f)("form.fields.paths.placeholder")
1140
1126
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "placeholder"]),
1141
- c(ye, {
1127
+ c(be, {
1142
1128
  "is-add-disabled": h !== i.value.length - 1,
1143
1129
  "routing-rules-entity": o(l).PATHS,
1144
1130
  onAdd: S[0] || (S[0] = (u) => m.$emit("add")),
@@ -1151,7 +1137,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1151
1137
  ]);
1152
1138
  };
1153
1139
  }
1154
- }), Vo = /* @__PURE__ */ ae(Ao, [["__scopeId", "data-v-bc31ca96"]]), ko = { class: "routing-rule-container" }, Co = /* @__PURE__ */ J({
1140
+ }), Ao = /* @__PURE__ */ ae(Vo, [["__scopeId", "data-v-bc31ca96"]]), Co = { class: "routing-rule-container" }, Oo = /* @__PURE__ */ J({
1155
1141
  __name: "RouteFormSnisFields",
1156
1142
  props: {
1157
1143
  modelValue: {
@@ -1161,15 +1147,15 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1161
1147
  },
1162
1148
  emits: ["add", "remove", "update:modelValue"],
1163
1149
  setup(r, { emit: N }) {
1164
- const I = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = U([]);
1165
- return B(I.modelValue, (m) => {
1150
+ const T = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = D([]);
1151
+ return B(T.modelValue, (m) => {
1166
1152
  i.value = [...m];
1167
1153
  }, { immediate: !0, deep: !0 }), B(i, (m) => {
1168
1154
  a("update:modelValue", m);
1169
1155
  }, { deep: !0 }), (m, S) => {
1170
1156
  const R = C("KLabel"), E = C("KInput");
1171
- return p(), y("div", ko, [
1172
- S[1] || (S[1] = _("hr", null, null, -1)),
1157
+ return p(), _("div", Co, [
1158
+ S[1] || (S[1] = y("hr", null, null, -1)),
1173
1159
  c(R, {
1174
1160
  info: o(f)("form.fields.snis.tooltip")
1175
1161
  }, {
@@ -1180,7 +1166,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1180
1166
  }, 8, ["info"]),
1181
1167
  c(ve, { name: "appear" }, {
1182
1168
  default: n(() => [
1183
- (p(!0), y(x, null, G(i.value, (L, h) => (p(), y("div", {
1169
+ (p(!0), _(x, null, W(i.value, (L, h) => (p(), _("div", {
1184
1170
  key: h,
1185
1171
  class: "routing-rule-input"
1186
1172
  }, [
@@ -1191,7 +1177,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1191
1177
  "data-testid": `route-form-snis-input-${h + 1}`,
1192
1178
  placeholder: o(f)("form.fields.snis.placeholder")
1193
1179
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "placeholder"]),
1194
- c(ye, {
1180
+ c(be, {
1195
1181
  "is-add-disabled": h !== i.value.length - 1,
1196
1182
  "routing-rules-entity": o(l).SNIS,
1197
1183
  onAdd: S[0] || (S[0] = (u) => m.$emit("add")),
@@ -1204,7 +1190,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1204
1190
  ]);
1205
1191
  };
1206
1192
  }
1207
- }), Oo = /* @__PURE__ */ ae(Co, [["__scopeId", "data-v-c3679dd9"]]), No = { class: "routing-rule-container" }, $o = /* @__PURE__ */ J({
1193
+ }), ko = /* @__PURE__ */ ae(Oo, [["__scopeId", "data-v-c3679dd9"]]), No = { class: "routing-rule-container" }, wo = /* @__PURE__ */ J({
1208
1194
  __name: "RouteFormSourcesFields",
1209
1195
  props: {
1210
1196
  modelValue: {
@@ -1214,15 +1200,15 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1214
1200
  },
1215
1201
  emits: ["add", "remove", "update:modelValue"],
1216
1202
  setup(r, { emit: N }) {
1217
- const I = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = U([]);
1218
- return B(I.modelValue, (m) => {
1203
+ const T = r, a = N, { i18n: { t: f } } = ie.useI18n(), i = D([]);
1204
+ return B(T.modelValue, (m) => {
1219
1205
  i.value = [...m];
1220
1206
  }, { immediate: !0, deep: !0 }), B(i, (m) => {
1221
1207
  a("update:modelValue", m);
1222
1208
  }, { deep: !0 }), (m, S) => {
1223
1209
  const R = C("KLabel"), E = C("KInput");
1224
- return p(), y("div", No, [
1225
- S[1] || (S[1] = _("hr", null, null, -1)),
1210
+ return p(), _("div", No, [
1211
+ S[1] || (S[1] = y("hr", null, null, -1)),
1226
1212
  c(R, {
1227
1213
  info: o(f)("form.fields.sources.tooltip")
1228
1214
  }, {
@@ -1233,7 +1219,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1233
1219
  }, 8, ["info"]),
1234
1220
  c(ve, { name: "appear" }, {
1235
1221
  default: n(() => [
1236
- (p(!0), y(x, null, G(i.value, (L, h) => (p(), y("div", {
1222
+ (p(!0), _(x, null, W(i.value, (L, h) => (p(), _("div", {
1237
1223
  key: h,
1238
1224
  class: "routing-rule-input"
1239
1225
  }, [
@@ -1254,7 +1240,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1254
1240
  placeholder: o(f)("form.fields.sources.port.placeholder"),
1255
1241
  type: "number"
1256
1242
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "placeholder"]),
1257
- c(ye, {
1243
+ c(be, {
1258
1244
  "is-add-disabled": h !== i.value.length - 1,
1259
1245
  "routing-rules-entity": o(l).SOURCES,
1260
1246
  onAdd: S[0] || (S[0] = (u) => m.$emit("add")),
@@ -1267,7 +1253,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1267
1253
  ]);
1268
1254
  };
1269
1255
  }
1270
- }), wo = /* @__PURE__ */ ae($o, [["__scopeId", "data-v-50c52494"]]), Ho = /* @__PURE__ */ J({
1256
+ }), $o = /* @__PURE__ */ ae(wo, [["__scopeId", "data-v-50c52494"]]), Ho = /* @__PURE__ */ J({
1271
1257
  __name: "RouteFormConfigTabs",
1272
1258
  props: /* @__PURE__ */ Le({
1273
1259
  routeFlavors: {},
@@ -1278,19 +1264,19 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1278
1264
  }),
1279
1265
  emits: ["update:modelValue"],
1280
1266
  setup(r) {
1281
- const N = lt(r, "modelValue"), I = r, { i18n: { t: a } } = pt(), f = M(() => [
1282
- ...I.routeFlavors.traditional ? [{
1283
- hash: `#${w.TRADITIONAL}`,
1267
+ const N = lt(r, "modelValue"), T = r, { i18n: { t: a } } = pt(), f = M(() => [
1268
+ ...T.routeFlavors.traditional ? [{
1269
+ hash: `#${$.TRADITIONAL}`,
1284
1270
  title: a("form.flavors.traditional")
1285
1271
  }] : [],
1286
- ...I.routeFlavors.expressions ? [{
1287
- hash: `#${w.EXPRESSIONS}`,
1272
+ ...T.routeFlavors.expressions ? [{
1273
+ hash: `#${$.EXPRESSIONS}`,
1288
1274
  title: a("form.flavors.expressions")
1289
1275
  }] : []
1290
1276
  ]);
1291
1277
  return (i, m) => {
1292
1278
  const S = C("KTooltip"), R = C("KTabs");
1293
- return f.value.length > 1 ? (p(), V(R, {
1279
+ return f.value.length > 1 ? (p(), A(R, {
1294
1280
  key: 0,
1295
1281
  modelValue: N.value,
1296
1282
  "onUpdate:modelValue": m[0] || (m[0] = (E) => N.value = E),
@@ -1298,13 +1284,13 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1298
1284
  tabs: f.value
1299
1285
  }, rt({ _: 2 }, [
1300
1286
  i.routeFlavors.traditional ? {
1301
- name: `${o(w).TRADITIONAL}-anchor`,
1287
+ name: `${o($).TRADITIONAL}-anchor`,
1302
1288
  fn: n(() => [
1303
1289
  F(g(o(a)("form.flavors.traditional")) + " ", 1),
1304
- i.tooltips && i.tooltips[o(w).TRADITIONAL] ? (p(), V(S, {
1290
+ i.tooltips && i.tooltips[o($).TRADITIONAL] ? (p(), A(S, {
1305
1291
  key: 0,
1306
1292
  class: "route-form-config-tabs-tooltip",
1307
- text: i.tooltips[o(w).TRADITIONAL],
1293
+ text: i.tooltips[o($).TRADITIONAL],
1308
1294
  "tooltip-id": "route-form-config-tabs-tooltip-traditional"
1309
1295
  }, {
1310
1296
  default: n(() => [
@@ -1315,26 +1301,26 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1315
1301
  }, null, 8, ["color", "size"])
1316
1302
  ]),
1317
1303
  _: 1
1318
- }, 8, ["text"])) : D("", !0)
1304
+ }, 8, ["text"])) : H("", !0)
1319
1305
  ]),
1320
1306
  key: "0"
1321
1307
  } : void 0,
1322
1308
  i.routeFlavors.traditional ? {
1323
- name: o(w).TRADITIONAL,
1309
+ name: o($).TRADITIONAL,
1324
1310
  fn: n(() => [
1325
1311
  ce(i.$slots, "before-content", {}, void 0, !0),
1326
- ce(i.$slots, o(w).TRADITIONAL, {}, void 0, !0)
1312
+ ce(i.$slots, o($).TRADITIONAL, {}, void 0, !0)
1327
1313
  ]),
1328
1314
  key: "1"
1329
1315
  } : void 0,
1330
1316
  i.routeFlavors.expressions ? {
1331
- name: `${o(w).EXPRESSIONS}-anchor`,
1317
+ name: `${o($).EXPRESSIONS}-anchor`,
1332
1318
  fn: n(() => [
1333
1319
  F(g(o(a)("form.flavors.expressions")) + " ", 1),
1334
- i.tooltips && i.tooltips[o(w).EXPRESSIONS] ? (p(), V(S, {
1320
+ i.tooltips && i.tooltips[o($).EXPRESSIONS] ? (p(), A(S, {
1335
1321
  key: 0,
1336
1322
  class: "route-form-config-tabs-tooltip",
1337
- text: i.tooltips[o(w).EXPRESSIONS],
1323
+ text: i.tooltips[o($).EXPRESSIONS],
1338
1324
  "tooltip-id": "route-form-config-tabs-tooltip-expressions"
1339
1325
  }, {
1340
1326
  default: n(() => [
@@ -1345,21 +1331,21 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1345
1331
  }, null, 8, ["color", "size"])
1346
1332
  ]),
1347
1333
  _: 1
1348
- }, 8, ["text"])) : D("", !0)
1334
+ }, 8, ["text"])) : H("", !0)
1349
1335
  ]),
1350
1336
  key: "2"
1351
1337
  } : void 0,
1352
1338
  i.routeFlavors.expressions ? {
1353
- name: o(w).EXPRESSIONS,
1339
+ name: o($).EXPRESSIONS,
1354
1340
  fn: n(() => [
1355
1341
  ce(i.$slots, "before-content", {}, void 0, !0),
1356
- ce(i.$slots, o(w).EXPRESSIONS, {}, void 0, !0)
1342
+ ce(i.$slots, o($).EXPRESSIONS, {}, void 0, !0)
1357
1343
  ]),
1358
1344
  key: "3"
1359
1345
  } : void 0
1360
- ]), 1032, ["modelValue", "tabs"])) : (p(), y(x, { key: 1 }, [
1346
+ ]), 1032, ["modelValue", "tabs"])) : (p(), _(x, { key: 1 }, [
1361
1347
  ce(i.$slots, "before-content", {}, void 0, !0),
1362
- i.routeFlavors.traditional ? ce(i.$slots, o(w).TRADITIONAL, { key: 0 }, void 0, !0) : i.routeFlavors.expressions ? ce(i.$slots, o(w).EXPRESSIONS, { key: 1 }, void 0, !0) : D("", !0)
1348
+ i.routeFlavors.traditional ? ce(i.$slots, o($).TRADITIONAL, { key: 0 }, void 0, !0) : i.routeFlavors.expressions ? ce(i.$slots, o($).EXPRESSIONS, { key: 1 }, void 0, !0) : H("", !0)
1363
1349
  ], 64));
1364
1350
  };
1365
1351
  }
@@ -1374,15 +1360,15 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1374
1360
  }),
1375
1361
  emits: /* @__PURE__ */ Le(["notify"], ["update:modelValue"]),
1376
1362
  setup(r, { emit: N }) {
1377
- const { i18n: { t: I } } = ie.useI18n(), a = {
1378
- render: () => Je("div", I("form.expressions_editor.loading"))
1363
+ const { i18n: { t: T } } = ie.useI18n(), a = {
1364
+ render: () => Je("div", T("form.expressions_editor.loading"))
1379
1365
  }, f = {
1380
- render: () => Je("div", I("form.expressions_editor.error"))
1381
- }, i = Vt({
1366
+ render: () => Je("div", T("form.expressions_editor.error"))
1367
+ }, i = At({
1382
1368
  loader: async () => import("./RouteFormExpressionsEditor-Ce9E02hY.js"),
1383
1369
  loadingComponent: a,
1384
1370
  errorComponent: f
1385
- }), m = r, S = N, R = U(Te.LOADING), E = lt(r, "modelValue"), L = (h) => {
1371
+ }), m = r, S = N, R = D(Te.LOADING), E = lt(r, "modelValue"), L = (h) => {
1386
1372
  E.value = h;
1387
1373
  };
1388
1374
  return it(async () => {
@@ -1391,25 +1377,25 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1391
1377
  } catch (h) {
1392
1378
  R.value = Te.ERROR, console.error(h);
1393
1379
  }
1394
- }), (h, u) => (p(), y(x, null, [
1395
- R.value === o(Te).ERROR ? (p(), V(ze(f), {
1380
+ }), (h, u) => (p(), _(x, null, [
1381
+ R.value === o(Te).ERROR ? (p(), A(ze(f), {
1396
1382
  key: 0,
1397
1383
  "data-testid": "route-form-expressions-editor-loader-error"
1398
- })) : R.value === o(Te).LOADING ? (p(), V(ze(a), {
1384
+ })) : R.value === o(Te).LOADING ? (p(), A(ze(a), {
1399
1385
  key: 1,
1400
1386
  "data-testid": "route-form-expressions-editor-loader-loading"
1401
- })) : (p(), V(o(i), {
1387
+ })) : (p(), A(o(i), {
1402
1388
  key: 2,
1403
1389
  modelValue: E.value,
1404
1390
  "onUpdate:modelValue": u[0] || (u[0] = (Q) => E.value = Q),
1405
- "hint-text": o(I)("form.expression_playground.supported_protocols_hint"),
1391
+ "hint-text": o(T)("form.expression_playground.supported_protocols_hint"),
1406
1392
  protocol: m.protocol,
1407
1393
  "show-expressions-modal-entry": h.showExpressionsModalEntry,
1408
1394
  onNotify: u[1] || (u[1] = (Q) => S("notify", Q))
1409
1395
  }, {
1410
1396
  default: n(() => [
1411
- c(o(Ot), { size: o(Be) }, null, 8, ["size"]),
1412
- _("span", null, g(o(I)("form.expression_playground.test_link")), 1)
1397
+ c(o(kt), { size: o(Be) }, null, 8, ["size"]),
1398
+ y("span", null, g(o(T)("form.expression_playground.test_link")), 1)
1413
1399
  ]),
1414
1400
  _: 1
1415
1401
  }, 8, ["modelValue", "hint-text", "protocol", "show-expressions-modal-entry"])),
@@ -1490,23 +1476,23 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1490
1476
  }
1491
1477
  },
1492
1478
  emits: ["update", "error", "loading", "model-updated", "notify"],
1493
- setup(r, { expose: N, emit: I }) {
1479
+ setup(r, { expose: N, emit: T }) {
1494
1480
  var Xe;
1495
- const a = r, f = I, i = U(
1496
- a.routeFlavors.traditional ? `#${w.TRADITIONAL}` : a.routeFlavors.expressions ? `#${w.EXPRESSIONS}` : ""
1481
+ const a = r, f = T, i = D(
1482
+ a.routeFlavors.traditional ? `#${$.TRADITIONAL}` : a.routeFlavors.expressions ? `#${$.EXPRESSIONS}` : ""
1497
1483
  ), m = M(() => {
1498
1484
  if (i.value)
1499
1485
  return i.value.substring(1);
1500
- }), S = U(void 0), R = U(!0), E = M(() => {
1486
+ }), S = D(void 0), R = D(!0), E = M(() => {
1501
1487
  if (S.value)
1502
1488
  return S.value;
1503
1489
  if (m.value)
1504
1490
  return m.value;
1505
1491
  if (a.routeFlavors.traditional)
1506
- return w.TRADITIONAL;
1492
+ return $.TRADITIONAL;
1507
1493
  if (a.routeFlavors.expressions)
1508
- return w.EXPRESSIONS;
1509
- }), { i18nT: L, i18n: h, i18n: { t: u } } = ie.useI18n(), Q = h.source.form.protocols, se = at(), { axiosInstance: O } = Ge((Xe = a.config) == null ? void 0 : Xe.axiosRequestConfig), { getMessageFromError: P } = Pt(), Y = M(() => !(a.hideNameField && (a.hideServiceField || a.serviceId) && a.showTagsFiledUnderAdvanced)), j = (t) => t.name ? `${t.name} - ${t.value}` : t.value, e = Qe({
1494
+ return $.EXPRESSIONS;
1495
+ }), { i18nT: L, i18n: h, i18n: { t: u } } = ie.useI18n(), Q = h.source.form.protocols, se = at(), { axiosInstance: O } = Ge((Xe = a.config) == null ? void 0 : Xe.axiosRequestConfig), { getMessageFromError: U } = Ft(), Y = M(() => !(a.hideNameField && (a.hideServiceField || a.serviceId) && a.showTagsFiledUnderAdvanced)), G = (t) => t.name ? `${t.name} - ${t.value}` : t.value, e = Qe({
1510
1496
  routeFlavors: a.routeFlavors,
1511
1497
  fields: {
1512
1498
  name: "",
@@ -1526,7 +1512,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1526
1512
  },
1527
1513
  isReadonly: !1,
1528
1514
  errorMessage: ""
1529
- }), Z = M(() => e.fields.protocols.split(",")[0]), ne = U([""]), be = Qe({
1515
+ }), Z = M(() => e.fields.protocols.split(",")[0]), ne = D([""]), ye = Qe({
1530
1516
  name: "",
1531
1517
  protocols: "http,https",
1532
1518
  https_redirect_status_code: 426,
@@ -1559,7 +1545,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1559
1545
  [l.HEADERS]: [{ header: "", values: "" }],
1560
1546
  [l.SOURCES]: [{ ip: "", port: null }],
1561
1547
  [l.DESTINATIONS]: [{ ip: "", port: null }]
1562
- }, we = a.config.app === "konnect" || Ft({
1548
+ }, $e = a.config.app === "konnect" || Mt({
1563
1549
  gatewayInfo: a.config.gatewayInfo,
1564
1550
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
1565
1551
  supportedRange: {
@@ -1580,7 +1566,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1580
1566
  { label: u("form.protocols.tcp,tls,udp"), value: "tcp,tls,udp" },
1581
1567
  { label: u("form.protocols.tls_passthrough"), value: "tls_passthrough" },
1582
1568
  { label: u("form.protocols.udp"), value: "udp" },
1583
- ...we ? [
1569
+ ...$e ? [
1584
1570
  { label: u("form.protocols.ws"), value: "ws" },
1585
1571
  { label: u("form.protocols.wss"), value: "wss" },
1586
1572
  { label: u("form.protocols.ws,wss"), value: "ws,wss" }
@@ -1588,7 +1574,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1588
1574
  ], De = [
1589
1575
  { label: "v0", value: "v0" },
1590
1576
  { label: "v1", value: "v1" }
1591
- ], ke = [
1577
+ ], Ae = [
1592
1578
  { label: "426", value: 426 },
1593
1579
  { label: "301", value: 301 },
1594
1580
  { label: "302", value: 302 },
@@ -1637,7 +1623,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1637
1623
  }, Me = (t) => Object.entries(t).map((s) => {
1638
1624
  var v;
1639
1625
  return { header: s[0], values: (v = s[1]) == null ? void 0 : v.join() };
1640
- }), W = (t) => t.some((s) => e.fields.protocols.includes(s)), de = (t, s) => {
1626
+ }), j = (t) => t.some((s) => e.fields.protocols.includes(s)), de = (t, s) => {
1641
1627
  if (t === l.PATHS || t === l.HOSTS || t === l.SNIS)
1642
1628
  return [...s].filter((v) => !!v);
1643
1629
  if (t === l.SOURCES || t === l.DESTINATIONS)
@@ -1663,7 +1649,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1663
1649
  }, k = M(() => {
1664
1650
  var t;
1665
1651
  return ue(e) ? (t = ee[e.fields.protocols]) == null ? void 0 : t.filter((s) => !e.fields[s]) : !1;
1666
- }), $ = async (t, s) => {
1652
+ }), w = async (t, s) => {
1667
1653
  if (ue(e)) {
1668
1654
  if (typeof s < "u") {
1669
1655
  let v = [];
@@ -1672,7 +1658,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1672
1658
  return;
1673
1659
  }
1674
1660
  }
1675
- await Ct(() => {
1661
+ await Ot(() => {
1676
1662
  delete e.fields[t], t === l.METHODS && (ne.value = [""]);
1677
1663
  });
1678
1664
  }
@@ -1685,8 +1671,8 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1685
1671
  });
1686
1672
  const X = () => {
1687
1673
  const t = Object.keys(q), s = ee[e.fields.protocols];
1688
- Object.keys(e.fields).filter((A) => t.includes(A)).forEach((A) => {
1689
- s != null && s.includes(A) || $(A);
1674
+ Object.keys(e.fields).filter((V) => t.includes(V)).forEach((V) => {
1675
+ s != null && s.includes(V) || w(V);
1690
1676
  });
1691
1677
  }, le = M(() => {
1692
1678
  if (ue(e)) {
@@ -1699,47 +1685,47 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1699
1685
  }), ge = M(() => {
1700
1686
  var t;
1701
1687
  return ((t = e.fields.protocols) == null ? void 0 : t.split(",")) || [];
1702
- }), T = M(() => {
1688
+ }), I = M(() => {
1703
1689
  const t = Object.keys(q);
1704
1690
  return !Object.keys(e.fields).filter((v) => t.includes(v)).length;
1705
- }), H = M(() => {
1706
- if (W(["tls_passthrough"]))
1691
+ }), P = M(() => {
1692
+ if (j(["tls_passthrough"]))
1707
1693
  return [K(l.SNIS)];
1708
1694
  const t = ee[e.fields.protocols].map((s) => K(s));
1709
1695
  return [[...t].splice(0, t.length - 1).join(", "), t[t.length - 1]];
1710
1696
  }), Oe = (t) => {
1711
- var v, A;
1697
+ var v, V;
1712
1698
  if (a.routeId) {
1713
- const z = typeof t.expression == "string" && t.expression.length > 0 ? w.EXPRESSIONS : w.TRADITIONAL;
1699
+ const z = typeof t.expression == "string" && t.expression.length > 0 ? $.EXPRESSIONS : $.TRADITIONAL;
1714
1700
  S.value = z, i.value = `#${z}`;
1715
1701
  }
1716
1702
  (v = t == null ? void 0 : t.service) != null && v.id && (e.fields.service_id = t.service.id), e.fields.name = (t == null ? void 0 : t.name) || "";
1717
1703
  const s = (t == null ? void 0 : t.tags) || [];
1718
- e.fields.tags = (s == null ? void 0 : s.join(", ")) || "", e.fields.preserve_host = typeof (t == null ? void 0 : t.preserve_host) > "u" ? !1 : t == null ? void 0 : t.preserve_host, e.fields.https_redirect_status_code = (t == null ? void 0 : t.https_redirect_status_code) || 426, (A = t == null ? void 0 : t.protocols) != null && A.length && (t.protocols.length > 1 ? e.fields.protocols = t.protocols.join() : e.fields.protocols = t.protocols[0]), e.fields.request_buffering = typeof (t == null ? void 0 : t.request_buffering) > "u" ? !0 : t == null ? void 0 : t.request_buffering, e.fields.response_buffering = typeof (t == null ? void 0 : t.response_buffering) > "u" ? !0 : t == null ? void 0 : t.response_buffering, e.fields.strip_path = typeof (t == null ? void 0 : t.strip_path) > "u" ? !0 : t == null ? void 0 : t.strip_path, ue(e) && (e.fields.regex_priority = (t == null ? void 0 : t.regex_priority) || 0, e.fields.path_handling = (t == null ? void 0 : t.path_handling) || "v0", t != null && t.paths && (e.fields.paths = t.paths), t != null && t.snis && (e.fields.snis = t.snis), t != null && t.hosts && (e.fields.hosts = t.hosts), t != null && t.methods && Fe(t.methods), t != null && t.headers && (e.fields.headers = Me(t.headers)), t != null && t.sources && (e.fields.sources = t.sources), t != null && t.destinations && (e.fields.destinations = t.destinations)), $e(e) && (e.fields.expression = (t == null ? void 0 : t.expression) || "", e.fields.priority = (t == null ? void 0 : t.priority) || 0), Object.assign(be, JSON.parse(JSON.stringify(e.fields)));
1704
+ e.fields.tags = (s == null ? void 0 : s.join(", ")) || "", e.fields.preserve_host = typeof (t == null ? void 0 : t.preserve_host) > "u" ? !1 : t == null ? void 0 : t.preserve_host, e.fields.https_redirect_status_code = (t == null ? void 0 : t.https_redirect_status_code) || 426, (V = t == null ? void 0 : t.protocols) != null && V.length && (t.protocols.length > 1 ? e.fields.protocols = t.protocols.join() : e.fields.protocols = t.protocols[0]), e.fields.request_buffering = typeof (t == null ? void 0 : t.request_buffering) > "u" ? !0 : t == null ? void 0 : t.request_buffering, e.fields.response_buffering = typeof (t == null ? void 0 : t.response_buffering) > "u" ? !0 : t == null ? void 0 : t.response_buffering, e.fields.strip_path = typeof (t == null ? void 0 : t.strip_path) > "u" ? !0 : t == null ? void 0 : t.strip_path, ue(e) && (e.fields.regex_priority = (t == null ? void 0 : t.regex_priority) || 0, e.fields.path_handling = (t == null ? void 0 : t.path_handling) || "v0", t != null && t.paths && (e.fields.paths = t.paths), t != null && t.snis && (e.fields.snis = t.snis), t != null && t.hosts && (e.fields.hosts = t.hosts), t != null && t.methods && Fe(t.methods), t != null && t.headers && (e.fields.headers = Me(t.headers)), t != null && t.sources && (e.fields.sources = t.sources), t != null && t.destinations && (e.fields.destinations = t.destinations)), we(e) && (e.fields.expression = (t == null ? void 0 : t.expression) || "", e.fields.priority = (t == null ? void 0 : t.priority) || 0), Object.assign(ye, JSON.parse(JSON.stringify(e.fields)));
1719
1705
  }, je = M(() => {
1720
1706
  var t;
1721
1707
  switch (E.value) {
1722
- case w.TRADITIONAL: {
1708
+ case $.TRADITIONAL: {
1723
1709
  if (ue(e)) {
1724
- const s = e.fields.hosts ? !!e.fields.hosts.filter(Boolean).length : null, v = e.fields.paths ? !!e.fields.paths.filter(Boolean).length : null, A = e.fields.headers ? e.fields.headers.some(({ header: me }) => !!me) : null, z = e.fields.snis ? !!e.fields.snis.filter(Boolean).length : null, fe = e.fields.destinations ? e.fields.destinations.some(({ ip: me }) => !!me) : null, re = e.fields.sources ? e.fields.sources.some(({ ip: me }) => !!me) : null, d = ((t = e.fields.methods) == null ? void 0 : t.CUSTOM) ? ne.value.some((me) => !!me) : Object.values(e.fields.methods || {}).includes(!0);
1725
- return !!e.fields.protocols && (W(["http"]) && !!(s || d || v || A) || W(["https"]) && !!(s || d || v || A || z) || W(["grpc"]) && !!(s || v || A) || W(["grpcs", "wss"]) && !!(s || v || A || z) || W(["udp", "tls"]) && !!(fe || re || z) || W(["tcp"]) && !!(fe || re) || W(["tls_passthrough"]) && !!z || W(["ws"]) && !!(s || v || A));
1710
+ const s = e.fields.hosts ? !!e.fields.hosts.filter(Boolean).length : null, v = e.fields.paths ? !!e.fields.paths.filter(Boolean).length : null, V = e.fields.headers ? e.fields.headers.some(({ header: me }) => !!me) : null, z = e.fields.snis ? !!e.fields.snis.filter(Boolean).length : null, fe = e.fields.destinations ? e.fields.destinations.some(({ ip: me }) => !!me) : null, re = e.fields.sources ? e.fields.sources.some(({ ip: me }) => !!me) : null, d = ((t = e.fields.methods) == null ? void 0 : t.CUSTOM) ? ne.value.some((me) => !!me) : Object.values(e.fields.methods || {}).includes(!0);
1711
+ return !!e.fields.protocols && (j(["http"]) && !!(s || d || v || V) || j(["https"]) && !!(s || d || v || V || z) || j(["grpc"]) && !!(s || v || V) || j(["grpcs", "wss"]) && !!(s || v || V || z) || j(["udp", "tls"]) && !!(fe || re || z) || j(["tcp"]) && !!(fe || re) || j(["tls_passthrough"]) && !!z || j(["ws"]) && !!(s || v || V));
1726
1712
  }
1727
1713
  break;
1728
1714
  }
1729
- case w.EXPRESSIONS: {
1730
- if ($e(e))
1715
+ case $.EXPRESSIONS: {
1716
+ if (we(e))
1731
1717
  return e.fields.expression.length > 0;
1732
1718
  break;
1733
1719
  }
1734
1720
  }
1735
1721
  return !0;
1736
- }), We = M(() => !Gt(e.fields, be)), xe = M(() => {
1722
+ }), We = M(() => !jt(e.fields, ye)), xe = M(() => {
1737
1723
  var s, v;
1738
1724
  let t = `${a.config.apiBaseUrl}${Ie.form[a.config.app][pe.value][a.serviceId ? "forGatewayService" : "all"]}`;
1739
1725
  return a.config.app === "konnect" ? t = t.replace(/{controlPlaneId}/gi, ((s = a.config) == null ? void 0 : s.controlPlaneId) || "").replace(/{serviceId}/gi, a.serviceId || "") : a.config.app === "kongManager" && (t = t.replace(/\/{workspace}/gi, (v = a.config) != null && v.workspace ? `/${a.config.workspace}` : "").replace(/{serviceId}/gi, a.serviceId || "")), t = t.replace(/{id}/gi, a.routeId), t;
1740
1726
  });
1741
1727
  B(() => e.fields, () => {
1742
- f("model-updated", Ae.value);
1728
+ f("model-updated", Ve.value);
1743
1729
  }, { deep: !0 });
1744
1730
  const Ee = (t) => t != null && t.length ? t : null, mt = () => {
1745
1731
  var t, s;
@@ -1756,8 +1742,8 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1756
1742
  snis: Ee(de(l.SNIS, e.fields.snis || []))
1757
1743
  };
1758
1744
  if ((t = le.value) != null && t.length && (v.methods = [...le.value], (s = le.value) != null && s.includes("CUSTOM"))) {
1759
- const A = v.methods.indexOf("CUSTOM");
1760
- A !== -1 && v.methods.splice(A, 1), ne.value.forEach((z) => {
1745
+ const V = v.methods.indexOf("CUSTOM");
1746
+ V !== -1 && v.methods.splice(V, 1), ne.value.forEach((z) => {
1761
1747
  var fe;
1762
1748
  z && v.methods && !((fe = v.methods) != null && fe.includes(z)) && v.methods.push(z.toUpperCase());
1763
1749
  });
@@ -1765,40 +1751,40 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1765
1751
  return v;
1766
1752
  }
1767
1753
  }, ht = () => {
1768
- if ($e(e))
1754
+ if (we(e))
1769
1755
  return {
1770
1756
  expression: e.fields.expression,
1771
1757
  priority: Number(e.fields.priority)
1772
1758
  };
1773
- }, Ae = M(() => {
1759
+ }, Ve = M(() => {
1774
1760
  var s, v;
1775
1761
  const t = {
1776
1762
  ...!a.hideNameField && { name: e.fields.name || null },
1777
1763
  protocols: e.fields.protocols.split(","),
1778
1764
  https_redirect_status_code: e.fields.https_redirect_status_code,
1779
- strip_path: W(["grpc", "gprcs"]) ? !1 : e.fields.strip_path,
1765
+ strip_path: j(["grpc", "gprcs"]) ? !1 : e.fields.strip_path,
1780
1766
  preserve_host: e.fields.preserve_host,
1781
1767
  request_buffering: e.fields.request_buffering,
1782
1768
  response_buffering: e.fields.response_buffering,
1783
- tags: (v = (s = e.fields.tags.split(",")) == null ? void 0 : s.map((A) => String(A || "").trim())) == null ? void 0 : v.filter((A) => A !== ""),
1769
+ tags: (v = (s = e.fields.tags.split(",")) == null ? void 0 : s.map((V) => String(V || "").trim())) == null ? void 0 : v.filter((V) => V !== ""),
1784
1770
  service: e.fields.service_id ? { id: e.fields.service_id } : null
1785
1771
  };
1786
1772
  switch (E.value) {
1787
- case w.TRADITIONAL:
1773
+ case $.TRADITIONAL:
1788
1774
  return { ...t, ...mt() };
1789
- case w.EXPRESSIONS:
1775
+ case $.EXPRESSIONS:
1790
1776
  return { ...t, ...ht() };
1791
1777
  default:
1792
1778
  return t;
1793
1779
  }
1794
1780
  }), vt = (t) => {
1795
1781
  switch (E.value) {
1796
- case w.TRADITIONAL: {
1782
+ case $.TRADITIONAL: {
1797
1783
  if (!("regex_priority" in t && "path_handling" in t))
1798
1784
  return !1;
1799
1785
  break;
1800
1786
  }
1801
- case w.EXPRESSIONS: {
1787
+ case $.EXPRESSIONS: {
1802
1788
  if (!("priority" in t))
1803
1789
  return !1;
1804
1790
  break;
@@ -1807,44 +1793,44 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1807
1793
  return "service" in t && "tags" in t && "protocols" in t;
1808
1794
  }, Ke = async (t) => {
1809
1795
  var v;
1810
- const s = t && vt(t) ? t : Ae.value;
1796
+ const s = t && vt(t) ? t : Ve.value;
1811
1797
  try {
1812
1798
  e.isReadonly = !0;
1813
- let A;
1814
- pe.value === "create" ? A = await O.post(xe.value, s) : pe.value === "edit" && (A = ((v = a.config) == null ? void 0 : v.app) === "konnect" ? await O.put(xe.value, s) : await O.patch(xe.value, s)), Oe(A == null ? void 0 : A.data), f("update", A == null ? void 0 : A.data);
1815
- } catch (A) {
1816
- e.errorMessage = P(A), f("error", A);
1799
+ let V;
1800
+ pe.value === "create" ? V = await O.post(xe.value, s) : pe.value === "edit" && (V = ((v = a.config) == null ? void 0 : v.app) === "konnect" ? await O.put(xe.value, s) : await O.patch(xe.value, s)), Oe(V == null ? void 0 : V.data), f("update", V == null ? void 0 : V.data);
1801
+ } catch (V) {
1802
+ e.errorMessage = U(V), f("error", V);
1817
1803
  } finally {
1818
1804
  e.isReadonly = !1;
1819
1805
  }
1820
1806
  }, {
1821
1807
  debouncedQueryChange: gt,
1822
1808
  loading: St,
1823
- error: yt,
1824
- loadItems: bt,
1809
+ error: bt,
1810
+ loadItems: yt,
1825
1811
  results: _t
1826
- } = Mt(a.config, Ie.form[a.config.app].services, void 0, {
1812
+ } = xt(a.config, Ie.form[a.config.app].services, void 0, {
1827
1813
  fetchedItemsKey: "data",
1828
1814
  searchKeys: ["id", "name"]
1829
- }), Tt = M(() => yt.value ? u("errors.services.fetch") : ""), It = M(() => {
1815
+ }), Tt = M(() => bt.value ? u("errors.services.fetch") : ""), It = M(() => {
1830
1816
  var t;
1831
1817
  return (t = _t.value) == null ? void 0 : t.map((s) => ({ label: s.id, name: s.name, value: s.id }));
1832
1818
  });
1833
1819
  return st(async () => {
1834
- !a.hideServiceField && !a.serviceId ? await bt() : e.fields.service_id = a.serviceId;
1820
+ !a.hideServiceField && !a.serviceId ? await yt() : e.fields.service_id = a.serviceId;
1835
1821
  }), it(() => {
1836
- f("model-updated", Ae.value);
1837
- }), N({ saveFormData: Ke, getPayload: Ae }), (t, s) => {
1838
- const v = C("KInput"), A = C("KSelect"), z = C("KAlert"), fe = C("KCard"), re = C("KCheckbox"), qe = C("KCollapse");
1839
- return p(), y("div", Po, [
1840
- c(o(xt), {
1822
+ f("model-updated", Ve.value);
1823
+ }), N({ saveFormData: Ke, getPayload: Ve }), (t, s) => {
1824
+ const v = C("KInput"), V = C("KSelect"), z = C("KAlert"), fe = C("KCard"), re = C("KCheckbox"), qe = C("KCollapse");
1825
+ return p(), _("div", Po, [
1826
+ c(o(Kt), {
1841
1827
  "can-submit": je.value && We.value,
1842
1828
  config: r.config,
1843
1829
  "edit-id": r.routeId,
1844
1830
  "entity-type": o(ct).Route,
1845
1831
  "error-message": e.errorMessage || Tt.value,
1846
1832
  "fetch-url": _e.value,
1847
- "form-fields": Ae.value,
1833
+ "form-fields": Ve.value,
1848
1834
  "is-readonly": e.isReadonly,
1849
1835
  onCancel: Re,
1850
1836
  "onFetch:error": Pe,
@@ -1860,14 +1846,14 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1860
1846
  }, void 0, !0)
1861
1847
  ]),
1862
1848
  default: n(() => [
1863
- Y.value ? (p(), V(o(tt), {
1849
+ Y.value ? (p(), A(o(tt), {
1864
1850
  key: 0,
1865
1851
  description: o(u)("form.sections.general.description"),
1866
1852
  "hide-info-header": r.hideSectionsInfo,
1867
1853
  title: o(u)("form.sections.general.title")
1868
1854
  }, {
1869
1855
  default: n(() => [
1870
- r.hideNameField ? D("", !0) : (p(), V(v, {
1856
+ r.hideNameField ? H("", !0) : (p(), A(v, {
1871
1857
  key: 0,
1872
1858
  modelValue: e.fields.name,
1873
1859
  "onUpdate:modelValue": s[0] || (s[0] = (d) => e.fields.name = d),
@@ -1879,8 +1865,8 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1879
1865
  readonly: e.isReadonly,
1880
1866
  type: "text"
1881
1867
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"])),
1882
- !r.hideServiceField && !r.serviceId ? (p(), y("div", Fo, [
1883
- c(A, {
1868
+ !r.hideServiceField && !r.serviceId ? (p(), _("div", Fo, [
1869
+ c(V, {
1884
1870
  modelValue: e.fields.service_id,
1885
1871
  "onUpdate:modelValue": s[1] || (s[1] = (d) => e.fields.service_id = d),
1886
1872
  clearable: "",
@@ -1897,24 +1883,24 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1897
1883
  onQueryChange: o(gt)
1898
1884
  }, {
1899
1885
  loading: n(() => [
1900
- _("div", null, g(o(u)("actions.loading")), 1)
1886
+ y("div", null, g(o(u)("actions.loading")), 1)
1901
1887
  ]),
1902
1888
  empty: n(() => [
1903
- _("div", Mo, g(o(u)("search.no_results")), 1)
1889
+ y("div", Mo, g(o(u)("search.no_results")), 1)
1904
1890
  ]),
1905
1891
  "selected-item-template": n(({ item: d }) => [
1906
- F(g(j(d)), 1)
1892
+ F(g(G(d)), 1)
1907
1893
  ]),
1908
1894
  "item-template": n(({ item: d }) => [
1909
- _("div", xo, [
1910
- _("span", Ko, g(d.name), 1),
1911
- _("span", qo, g(d.value), 1)
1895
+ y("div", xo, [
1896
+ y("span", Ko, g(d.name), 1),
1897
+ y("span", qo, g(d.value), 1)
1912
1898
  ])
1913
1899
  ]),
1914
1900
  _: 1
1915
1901
  }, 8, ["modelValue", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"])
1916
- ])) : D("", !0),
1917
- r.showTagsFiledUnderAdvanced ? D("", !0) : (p(), V(v, {
1902
+ ])) : H("", !0),
1903
+ r.showTagsFiledUnderAdvanced ? H("", !0) : (p(), A(v, {
1918
1904
  key: 2,
1919
1905
  modelValue: e.fields.tags,
1920
1906
  "onUpdate:modelValue": s[2] || (s[2] = (d) => e.fields.tags = d),
@@ -1929,14 +1915,14 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1929
1915
  }, null, 8, ["modelValue", "help", "label", "placeholder", "readonly"]))
1930
1916
  ]),
1931
1917
  _: 1
1932
- }, 8, ["description", "hide-info-header", "title"])) : D("", !0),
1918
+ }, 8, ["description", "hide-info-header", "title"])) : H("", !0),
1933
1919
  c(o(tt), {
1934
1920
  description: o(u)("form.sections.config.description"),
1935
1921
  "hide-info-header": r.hideSectionsInfo,
1936
1922
  title: o(u)("form.sections.config.title")
1937
1923
  }, {
1938
1924
  default: n(() => [
1939
- c(A, {
1925
+ c(V, {
1940
1926
  modelValue: e.fields.protocols,
1941
1927
  "onUpdate:modelValue": s[3] || (s[3] = (d) => e.fields.protocols = d),
1942
1928
  "data-testid": "route-form-protocols",
@@ -1965,9 +1951,9 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1965
1951
  "data-testid": "route-config-type-immutable-alert"
1966
1952
  }, {
1967
1953
  default: n(() => [
1968
- S.value ? S.value !== m.value ? (p(), y(x, { key: 1 }, [
1954
+ S.value ? S.value !== m.value ? (p(), _(x, { key: 1 }, [
1969
1955
  F(g(o(u)("form.warning.cannotChangeFlavor.edit", { format: o(u)(`form.flavors.${S.value}`) })), 1)
1970
- ], 64)) : D("", !0) : (p(), y(x, { key: 0 }, [
1956
+ ], 64)) : H("", !0) : (p(), _(x, { key: 0 }, [
1971
1957
  F(g(o(u)("form.warning.cannotChangeFlavor.create")), 1)
1972
1958
  ], 64))
1973
1959
  ]),
@@ -1979,19 +1965,19 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1979
1965
  o(ue)(e) ? {
1980
1966
  name: "traditional",
1981
1967
  fn: n(() => [
1982
- !S.value || S.value === o(w).TRADITIONAL ? (p(), y(x, { key: 0 }, [
1983
- e.fields.protocols ? (p(), V(fe, { key: 0 }, {
1968
+ !S.value || S.value === o($).TRADITIONAL ? (p(), _(x, { key: 0 }, [
1969
+ e.fields.protocols ? (p(), A(fe, { key: 0 }, {
1984
1970
  title: n(() => [
1985
- _("div", Lo, [
1986
- (p(!0), y(x, null, G(ge.value, (d) => (p(), y("span", {
1971
+ y("div", Lo, [
1972
+ (p(!0), _(x, null, W(ge.value, (d) => (p(), _("span", {
1987
1973
  key: d,
1988
1974
  class: "protocol-title"
1989
1975
  }, g(d.toUpperCase()), 1))), 128)),
1990
- _("span", Bo, g(o(u)("form.sections.routingRules.title")), 1)
1976
+ y("span", Bo, g(o(u)("form.sections.routingRules.title")), 1)
1991
1977
  ])
1992
1978
  ]),
1993
1979
  default: n(() => [
1994
- T.value ? (p(), V(z, {
1980
+ I.value ? (p(), A(z, {
1995
1981
  key: 0,
1996
1982
  appearance: "warning",
1997
1983
  "data-testid": "routing-rules-warning"
@@ -1999,17 +1985,17 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
1999
1985
  default: n(() => [
2000
1986
  c(o(L), { keypath: "form.warning.rulesMessage" }, {
2001
1987
  protocol: n(() => [
2002
- _("b", null, g(o(Q)[e.fields.protocols]), 1)
1988
+ y("b", null, g(o(Q)[e.fields.protocols]), 1)
2003
1989
  ]),
2004
1990
  routingRules: n(() => [
2005
1991
  c(o(L), {
2006
- keypath: H.value[1] ? "form.warning.multipleRules" : "form.warning.singleRule"
1992
+ keypath: P.value[1] ? "form.warning.multipleRules" : "form.warning.singleRule"
2007
1993
  }, {
2008
1994
  routingRules: n(() => [
2009
- _("b", null, g(H.value[0]), 1)
1995
+ y("b", null, g(P.value[0]), 1)
2010
1996
  ]),
2011
1997
  lastRoutingRule: n(() => [
2012
- _("b", null, g(H.value[1]), 1)
1998
+ y("b", null, g(P.value[1]), 1)
2013
1999
  ]),
2014
2000
  _: 1
2015
2001
  }, 8, ["keypath"])
@@ -2018,70 +2004,70 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2018
2004
  })
2019
2005
  ]),
2020
2006
  _: 1
2021
- })) : D("", !0),
2007
+ })) : H("", !0),
2022
2008
  c(ve, { name: "appear" }, {
2023
2009
  default: n(() => [
2024
- e.fields.paths ? (p(), V(Vo, {
2010
+ e.fields.paths ? (p(), A(Ao, {
2025
2011
  key: "paths-container",
2026
2012
  modelValue: e.fields.paths,
2027
2013
  "onUpdate:modelValue": s[4] || (s[4] = (d) => e.fields.paths = d),
2028
2014
  onAdd: s[5] || (s[5] = (d) => b(o(l).PATHS)),
2029
- onRemove: s[6] || (s[6] = (d) => $(o(l).PATHS, d))
2030
- }, null, 8, ["modelValue"])) : D("", !0),
2031
- e.fields.snis ? (p(), V(Oo, {
2015
+ onRemove: s[6] || (s[6] = (d) => w(o(l).PATHS, d))
2016
+ }, null, 8, ["modelValue"])) : H("", !0),
2017
+ e.fields.snis ? (p(), A(ko, {
2032
2018
  key: "snis-container",
2033
2019
  modelValue: e.fields.snis,
2034
2020
  "onUpdate:modelValue": s[7] || (s[7] = (d) => e.fields.snis = d),
2035
2021
  onAdd: s[8] || (s[8] = (d) => b(o(l).SNIS)),
2036
- onRemove: s[9] || (s[9] = (d) => $(o(l).SNIS, d))
2037
- }, null, 8, ["modelValue"])) : D("", !0),
2038
- e.fields.hosts ? (p(), V(So, {
2022
+ onRemove: s[9] || (s[9] = (d) => w(o(l).SNIS, d))
2023
+ }, null, 8, ["modelValue"])) : H("", !0),
2024
+ e.fields.hosts ? (p(), A(So, {
2039
2025
  key: "hosts-container",
2040
2026
  modelValue: e.fields.hosts,
2041
2027
  "onUpdate:modelValue": s[10] || (s[10] = (d) => e.fields.hosts = d),
2042
2028
  onAdd: s[11] || (s[11] = (d) => b(o(l).HOSTS)),
2043
- onRemove: s[12] || (s[12] = (d) => $(o(l).HOSTS, d))
2044
- }, null, 8, ["modelValue"])) : D("", !0),
2045
- e.fields.methods ? (p(), V(Ro, {
2029
+ onRemove: s[12] || (s[12] = (d) => w(o(l).HOSTS, d))
2030
+ }, null, 8, ["modelValue"])) : H("", !0),
2031
+ e.fields.methods ? (p(), A(Ro, {
2046
2032
  key: "methods-container",
2047
2033
  modelValue: e.fields.methods,
2048
2034
  "onUpdate:modelValue": s[13] || (s[13] = (d) => e.fields.methods = d),
2049
2035
  "custom-methods": ne.value,
2050
- onRemove: s[14] || (s[14] = (d) => $(o(l).METHODS)),
2036
+ onRemove: s[14] || (s[14] = (d) => w(o(l).METHODS)),
2051
2037
  onUpdateCustomMethods: s[15] || (s[15] = (d) => ne.value = d)
2052
- }, null, 8, ["modelValue", "custom-methods"])) : D("", !0),
2053
- e.fields.headers ? (p(), V(ho, {
2038
+ }, null, 8, ["modelValue", "custom-methods"])) : H("", !0),
2039
+ e.fields.headers ? (p(), A(ho, {
2054
2040
  key: "headers-container",
2055
2041
  modelValue: e.fields.headers,
2056
2042
  "onUpdate:modelValue": s[16] || (s[16] = (d) => e.fields.headers = d),
2057
2043
  onAdd: s[17] || (s[17] = (d) => b(o(l).HEADERS)),
2058
- onRemove: s[18] || (s[18] = (d) => $(o(l).HEADERS, d))
2059
- }, null, 8, ["modelValue"])) : D("", !0),
2060
- e.fields.sources ? (p(), V(wo, {
2044
+ onRemove: s[18] || (s[18] = (d) => w(o(l).HEADERS, d))
2045
+ }, null, 8, ["modelValue"])) : H("", !0),
2046
+ e.fields.sources ? (p(), A($o, {
2061
2047
  key: "sources-container",
2062
2048
  modelValue: e.fields.sources,
2063
2049
  "onUpdate:modelValue": s[19] || (s[19] = (d) => e.fields.sources = d),
2064
2050
  onAdd: s[20] || (s[20] = (d) => b(o(l).SOURCES)),
2065
- onRemove: s[21] || (s[21] = (d) => $(o(l).SOURCES, d))
2066
- }, null, 8, ["modelValue"])) : D("", !0),
2067
- e.fields.destinations ? (p(), V(po, {
2051
+ onRemove: s[21] || (s[21] = (d) => w(o(l).SOURCES, d))
2052
+ }, null, 8, ["modelValue"])) : H("", !0),
2053
+ e.fields.destinations ? (p(), A(po, {
2068
2054
  key: "destinations-container",
2069
2055
  modelValue: e.fields.destinations,
2070
2056
  "onUpdate:modelValue": s[22] || (s[22] = (d) => e.fields.destinations = d),
2071
2057
  onAdd: s[23] || (s[23] = (d) => b(o(l).DESTINATIONS)),
2072
- onRemove: s[24] || (s[24] = (d) => $(o(l).DESTINATIONS, d))
2073
- }, null, 8, ["modelValue"])) : D("", !0)
2058
+ onRemove: s[24] || (s[24] = (d) => w(o(l).DESTINATIONS, d))
2059
+ }, null, 8, ["modelValue"])) : H("", !0)
2074
2060
  ]),
2075
2061
  _: 1
2076
2062
  }),
2077
- k.value ? (p(), y("div", Go, [
2078
- s[45] || (s[45] = _("hr", null, null, -1)),
2079
- _("div", jo, [
2080
- _("ul", null, [
2081
- (p(!0), y(x, null, G(ee[e.fields.protocols], (d) => (p(), y("li", { key: d }, [
2082
- _("label", {
2063
+ k.value ? (p(), _("div", Go, [
2064
+ s[45] || (s[45] = y("hr", null, null, -1)),
2065
+ y("div", jo, [
2066
+ y("ul", null, [
2067
+ (p(!0), _(x, null, W(ee[e.fields.protocols], (d) => (p(), _("li", { key: d }, [
2068
+ y("label", {
2083
2069
  "aria-disabled": !!e.fields[d],
2084
- class: kt(["option", { "is-selected": e.fields[d] }]),
2070
+ class: Ct(["option", { "is-selected": e.fields[d] }]),
2085
2071
  "data-testid": `routing-rule-${d}`,
2086
2072
  role: "button",
2087
2073
  onClick: (me) => b(d)
@@ -2089,10 +2075,10 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2089
2075
  ]))), 128))
2090
2076
  ])
2091
2077
  ])
2092
- ])) : D("", !0)
2078
+ ])) : H("", !0)
2093
2079
  ]),
2094
2080
  _: 1
2095
- })) : D("", !0),
2081
+ })) : H("", !0),
2096
2082
  c(qe, {
2097
2083
  modelValue: R.value,
2098
2084
  "onUpdate:modelValue": s[33] || (s[33] = (d) => R.value = d),
@@ -2101,8 +2087,8 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2101
2087
  "trigger-label": o(u)("form.viewAdvancedFields")
2102
2088
  }, {
2103
2089
  default: n(() => [
2104
- _("div", Xo, [
2105
- e.fields.paths ? (p(), V(A, {
2090
+ y("div", Xo, [
2091
+ e.fields.paths ? (p(), A(V, {
2106
2092
  key: 0,
2107
2093
  modelValue: e.fields.path_handling,
2108
2094
  "onUpdate:modelValue": s[25] || (s[25] = (d) => e.fields.path_handling = d),
@@ -2115,12 +2101,12 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2115
2101
  },
2116
2102
  readonly: e.isReadonly,
2117
2103
  width: "100%"
2118
- }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : D("", !0),
2119
- c(A, {
2104
+ }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : H("", !0),
2105
+ c(V, {
2120
2106
  modelValue: e.fields.https_redirect_status_code,
2121
2107
  "onUpdate:modelValue": s[26] || (s[26] = (d) => e.fields.https_redirect_status_code = d),
2122
2108
  "data-testid": "route-form-http-redirect-status-code",
2123
- items: ke,
2109
+ items: Ae,
2124
2110
  label: o(u)("form.fields.https_redirect_status_code.label"),
2125
2111
  readonly: e.isReadonly,
2126
2112
  width: "100%"
@@ -2134,7 +2120,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2134
2120
  readonly: e.isReadonly,
2135
2121
  type: "number"
2136
2122
  }, null, 8, ["modelValue", "label", "readonly"]),
2137
- r.showTagsFiledUnderAdvanced ? (p(), V(v, {
2123
+ r.showTagsFiledUnderAdvanced ? (p(), A(v, {
2138
2124
  key: 1,
2139
2125
  modelValue: e.fields.tags,
2140
2126
  "onUpdate:modelValue": s[28] || (s[28] = (d) => e.fields.tags = d),
@@ -2146,14 +2132,14 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2146
2132
  placeholder: o(u)("form.fields.tags.placeholder"),
2147
2133
  readonly: e.isReadonly,
2148
2134
  type: "text"
2149
- }, null, 8, ["modelValue", "help", "label", "placeholder", "readonly"])) : D("", !0),
2150
- W(["http", "https", "ws", "wss", "tls", "tcp", "udp", "tls_passthrough"]) ? (p(), V(re, {
2135
+ }, null, 8, ["modelValue", "help", "label", "placeholder", "readonly"])) : H("", !0),
2136
+ j(["http", "https", "ws", "wss", "tls", "tcp", "udp", "tls_passthrough"]) ? (p(), A(re, {
2151
2137
  key: 2,
2152
2138
  modelValue: e.fields.strip_path,
2153
2139
  "onUpdate:modelValue": s[29] || (s[29] = (d) => e.fields.strip_path = d),
2154
2140
  "data-testid": "route-form-strip-path",
2155
2141
  label: o(u)("form.fields.strip_path.label")
2156
- }, null, 8, ["modelValue", "label"])) : D("", !0),
2142
+ }, null, 8, ["modelValue", "label"])) : H("", !0),
2157
2143
  c(re, {
2158
2144
  modelValue: e.fields.preserve_host,
2159
2145
  "onUpdate:modelValue": s[30] || (s[30] = (d) => e.fields.preserve_host = d),
@@ -2176,22 +2162,22 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2176
2162
  ]),
2177
2163
  _: 1
2178
2164
  }, 8, ["modelValue", "trigger-label"])
2179
- ], 64)) : D("", !0)
2165
+ ], 64)) : H("", !0)
2180
2166
  ]),
2181
2167
  key: "1"
2182
2168
  } : void 0,
2183
- o($e)(e) ? {
2169
+ o(we)(e) ? {
2184
2170
  name: "expressions",
2185
2171
  fn: n(() => [
2186
- !S.value || S.value === o(w).EXPRESSIONS ? (p(), y(x, { key: 0 }, [
2187
- e.fields.protocols ? (p(), V(fe, { key: 0 }, {
2172
+ !S.value || S.value === o($).EXPRESSIONS ? (p(), _(x, { key: 0 }, [
2173
+ e.fields.protocols ? (p(), A(fe, { key: 0 }, {
2188
2174
  title: n(() => [
2189
- _("div", zo, [
2190
- (p(!0), y(x, null, G(ge.value, (d) => (p(), y("span", {
2175
+ y("div", zo, [
2176
+ (p(!0), _(x, null, W(ge.value, (d) => (p(), _("span", {
2191
2177
  key: d,
2192
2178
  class: "protocol-title"
2193
2179
  }, g(d.toUpperCase()), 1))), 128)),
2194
- _("span", Jo, g(o(u)("form.sections.routingExpression.title")), 1)
2180
+ y("span", Jo, g(o(u)("form.sections.routingExpression.title")), 1)
2195
2181
  ])
2196
2182
  ]),
2197
2183
  default: n(() => [
@@ -2212,7 +2198,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2212
2198
  }, 8, ["modelValue", "protocol", "show-expressions-modal-entry"])
2213
2199
  ]),
2214
2200
  _: 3
2215
- })) : D("", !0),
2201
+ })) : H("", !0),
2216
2202
  c(qe, {
2217
2203
  modelValue: R.value,
2218
2204
  "onUpdate:modelValue": s[43] || (s[43] = (d) => R.value = d),
@@ -2221,12 +2207,12 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2221
2207
  "trigger-label": o(u)("form.viewAdvancedFields")
2222
2208
  }, {
2223
2209
  default: n(() => [
2224
- _("div", Qo, [
2225
- c(A, {
2210
+ y("div", Qo, [
2211
+ c(V, {
2226
2212
  modelValue: e.fields.https_redirect_status_code,
2227
2213
  "onUpdate:modelValue": s[36] || (s[36] = (d) => e.fields.https_redirect_status_code = d),
2228
2214
  "data-testid": "route-form-http-redirect-status-code",
2229
- items: ke,
2215
+ items: Ae,
2230
2216
  label: o(u)("form.fields.https_redirect_status_code.label"),
2231
2217
  readonly: e.isReadonly,
2232
2218
  width: "100%"
@@ -2244,7 +2230,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2244
2230
  readonly: e.isReadonly,
2245
2231
  type: "number"
2246
2232
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2247
- r.showTagsFiledUnderAdvanced ? (p(), V(v, {
2233
+ r.showTagsFiledUnderAdvanced ? (p(), A(v, {
2248
2234
  key: 0,
2249
2235
  modelValue: e.fields.tags,
2250
2236
  "onUpdate:modelValue": s[38] || (s[38] = (d) => e.fields.tags = d),
@@ -2256,14 +2242,14 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2256
2242
  placeholder: o(u)("form.fields.tags.placeholder"),
2257
2243
  readonly: e.isReadonly,
2258
2244
  type: "text"
2259
- }, null, 8, ["modelValue", "help", "label", "placeholder", "readonly"])) : D("", !0),
2260
- W(["http", "https", "ws", "wss", "tls", "tcp", "udp", "tls_passthrough"]) ? (p(), V(re, {
2245
+ }, null, 8, ["modelValue", "help", "label", "placeholder", "readonly"])) : H("", !0),
2246
+ j(["http", "https", "ws", "wss", "tls", "tcp", "udp", "tls_passthrough"]) ? (p(), A(re, {
2261
2247
  key: 1,
2262
2248
  modelValue: e.fields.strip_path,
2263
2249
  "onUpdate:modelValue": s[39] || (s[39] = (d) => e.fields.strip_path = d),
2264
2250
  "data-testid": "route-form-strip-path",
2265
2251
  label: o(u)("form.fields.strip_path.label")
2266
- }, null, 8, ["modelValue", "label"])) : D("", !0),
2252
+ }, null, 8, ["modelValue", "label"])) : H("", !0),
2267
2253
  c(re, {
2268
2254
  modelValue: e.fields.preserve_host,
2269
2255
  "onUpdate:modelValue": s[40] || (s[40] = (d) => e.fields.preserve_host = d),
@@ -2286,7 +2272,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2286
2272
  ]),
2287
2273
  _: 1
2288
2274
  }, 8, ["modelValue", "trigger-label"])
2289
- ], 64)) : D("", !0)
2275
+ ], 64)) : H("", !0)
2290
2276
  ]),
2291
2277
  key: "2"
2292
2278
  } : void 0
@@ -2334,30 +2320,30 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2334
2320
  emits: ["loading", "fetch:error", "fetch:success", "navigation-click"],
2335
2321
  setup(r, { emit: N }) {
2336
2322
  var se;
2337
- const I = N, a = r, { axiosInstance: f } = Ge((se = a.config) == null ? void 0 : se.axiosRequestConfig), { i18n: { t: i }, i18nT: m } = ie.useI18n(), S = U(""), R = U(""), E = U(!1), L = M(
2323
+ const T = N, a = r, { axiosInstance: f } = Ge((se = a.config) == null ? void 0 : se.axiosRequestConfig), { i18n: { t: i }, i18nT: m } = ie.useI18n(), S = D(""), R = D(""), E = D(!1), L = M(
2338
2324
  () => {
2339
- var O, P;
2340
- return (P = Ie.item[(O = a.config) == null ? void 0 : O.app]) == null ? void 0 : P[a.serviceId ? "forGatewayService" : "all"].replace(/{serviceId}/gi, a.serviceId);
2325
+ var O, U;
2326
+ return (U = Ie.item[(O = a.config) == null ? void 0 : O.app]) == null ? void 0 : U[a.serviceId ? "forGatewayService" : "all"].replace(/{serviceId}/gi, a.serviceId);
2341
2327
  }
2342
2328
  ), h = M(() => {
2343
2329
  var O;
2344
2330
  return (O = Ie.item[a.config.app]) == null ? void 0 : O.getService;
2345
2331
  }), u = async (O) => {
2346
- var Y, j, e;
2347
- if (S.value = a.serviceId || ((Y = O == null ? void 0 : O.service) == null ? void 0 : Y.id), I("fetch:success", O), !S.value)
2332
+ var Y, G, e;
2333
+ if (S.value = a.serviceId || ((Y = O == null ? void 0 : O.service) == null ? void 0 : Y.id), T("fetch:success", O), !S.value)
2348
2334
  return;
2349
- let P = `${a.config.apiBaseUrl}${h.value}`;
2350
- a.config.app === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((j = a.config) == null ? void 0 : j.controlPlaneId) || "").replace(/{serviceId}/gi, S.value || "") : a.config.app === "kongManager" && (P = P.replace(/\/{workspace}/gi, (e = a.config) != null && e.workspace ? `/${a.config.workspace}` : "").replace(/{serviceId}/gi, S.value || ""));
2335
+ let U = `${a.config.apiBaseUrl}${h.value}`;
2336
+ a.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((G = a.config) == null ? void 0 : G.controlPlaneId) || "").replace(/{serviceId}/gi, S.value || "") : a.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (e = a.config) != null && e.workspace ? `/${a.config.workspace}` : "").replace(/{serviceId}/gi, S.value || ""));
2351
2337
  try {
2352
2338
  E.value = !0;
2353
- const { data: Z } = await f.get(P);
2339
+ const { data: Z } = await f.get(U);
2354
2340
  R.value = (Z == null ? void 0 : Z.name) || (Z == null ? void 0 : Z.id);
2355
2341
  } catch (Z) {
2356
- I("fetch:error", Z);
2342
+ T("fetch:error", Z);
2357
2343
  } finally {
2358
2344
  E.value = !1;
2359
2345
  }
2360
- }, Q = U({
2346
+ }, Q = D({
2361
2347
  id: {},
2362
2348
  name: {
2363
2349
  tooltip: i("form.fields.name.tooltip")
@@ -2445,19 +2431,19 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2445
2431
  order: 7
2446
2432
  }
2447
2433
  });
2448
- return (O, P) => {
2434
+ return (O, U) => {
2449
2435
  const Y = C("KSkeleton");
2450
- return p(), y("div", Zo, [
2451
- c(o(Kt), {
2436
+ return p(), _("div", Zo, [
2437
+ c(o(qt), {
2452
2438
  config: r.config,
2453
2439
  "config-card-doc": r.configCardDoc,
2454
2440
  "config-schema": Q.value,
2455
2441
  "entity-type": o(ct).Route,
2456
2442
  "fetch-url": L.value,
2457
2443
  "hide-title": r.hideTitle,
2458
- "onFetch:error": P[0] || (P[0] = (j) => O.$emit("fetch:error", j)),
2444
+ "onFetch:error": U[0] || (U[0] = (G) => O.$emit("fetch:error", G)),
2459
2445
  "onFetch:success": u,
2460
- onLoading: P[1] || (P[1] = (j) => O.$emit("loading", j))
2446
+ onLoading: U[1] || (U[1] = (G) => O.$emit("loading", G))
2461
2447
  }, {
2462
2448
  "https_redirect_status_code-label-tooltip": n(() => [
2463
2449
  c(o(m), {
@@ -2465,16 +2451,16 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2465
2451
  scope: "global"
2466
2452
  }, {
2467
2453
  code1: n(() => [
2468
- _("code", null, g(o(i)("form.fields.https_redirect_status_code.code1")), 1)
2454
+ y("code", null, g(o(i)("form.fields.https_redirect_status_code.code1")), 1)
2469
2455
  ]),
2470
2456
  code2: n(() => [
2471
- _("code", null, g(o(i)("form.fields.https_redirect_status_code.code2")), 1)
2457
+ y("code", null, g(o(i)("form.fields.https_redirect_status_code.code2")), 1)
2472
2458
  ]),
2473
2459
  code3: n(() => [
2474
- _("code", null, g(o(i)("form.fields.https_redirect_status_code.code3")), 1)
2460
+ y("code", null, g(o(i)("form.fields.https_redirect_status_code.code3")), 1)
2475
2461
  ]),
2476
2462
  code4: n(() => [
2477
- _("code", null, g(o(i)("form.fields.https_redirect_status_code.code4")), 1)
2463
+ y("code", null, g(o(i)("form.fields.https_redirect_status_code.code4")), 1)
2478
2464
  ]),
2479
2465
  _: 1
2480
2466
  })
@@ -2485,10 +2471,10 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2485
2471
  scope: "global"
2486
2472
  }, {
2487
2473
  code1: n(() => [
2488
- _("code", null, g(o(i)("form.fields.regex_priority.code1")), 1)
2474
+ y("code", null, g(o(i)("form.fields.regex_priority.code1")), 1)
2489
2475
  ]),
2490
2476
  code2: n(() => [
2491
- _("code", null, g(o(i)("form.fields.regex_priority.code2")), 1)
2477
+ y("code", null, g(o(i)("form.fields.regex_priority.code2")), 1)
2492
2478
  ]),
2493
2479
  _: 1
2494
2480
  })
@@ -2499,19 +2485,19 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2499
2485
  scope: "global"
2500
2486
  }, {
2501
2487
  code1: n(() => [
2502
- _("code", null, g(o(i)("form.fields.protocols.code1")), 1)
2488
+ y("code", null, g(o(i)("form.fields.protocols.code1")), 1)
2503
2489
  ]),
2504
2490
  code2: n(() => [
2505
- _("code", null, g(o(i)("form.fields.protocols.code2")), 1)
2491
+ y("code", null, g(o(i)("form.fields.protocols.code2")), 1)
2506
2492
  ]),
2507
2493
  code3: n(() => [
2508
- _("code", null, g(o(i)("form.fields.protocols.code3")), 1)
2494
+ y("code", null, g(o(i)("form.fields.protocols.code3")), 1)
2509
2495
  ]),
2510
2496
  code4: n(() => [
2511
- _("code", null, g(o(i)("form.fields.protocols.code4")), 1)
2497
+ y("code", null, g(o(i)("form.fields.protocols.code4")), 1)
2512
2498
  ]),
2513
2499
  code5: n(() => [
2514
- _("code", null, g(o(i)("form.fields.protocols.code5")), 1)
2500
+ y("code", null, g(o(i)("form.fields.protocols.code5")), 1)
2515
2501
  ]),
2516
2502
  _: 1
2517
2503
  })
@@ -2522,16 +2508,16 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2522
2508
  scope: "global"
2523
2509
  }, {
2524
2510
  code1: n(() => [
2525
- _("code", null, g(o(i)("form.fields.headers.code1")), 1)
2511
+ y("code", null, g(o(i)("form.fields.headers.code1")), 1)
2526
2512
  ]),
2527
2513
  code2: n(() => [
2528
- _("code", null, g(o(i)("form.fields.headers.code2")), 1)
2514
+ y("code", null, g(o(i)("form.fields.headers.code2")), 1)
2529
2515
  ]),
2530
2516
  code3: n(() => [
2531
- _("code", null, g(o(i)("form.fields.headers.code3")), 1)
2517
+ y("code", null, g(o(i)("form.fields.headers.code3")), 1)
2532
2518
  ]),
2533
2519
  code4: n(() => [
2534
- _("code", null, g(o(i)("form.fields.headers.code4")), 1)
2520
+ y("code", null, g(o(i)("form.fields.headers.code4")), 1)
2535
2521
  ]),
2536
2522
  _: 1
2537
2523
  })
@@ -2542,7 +2528,7 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2542
2528
  scope: "global"
2543
2529
  }, {
2544
2530
  code1: n(() => [
2545
- _("code", null, g(o(i)("form.fields.headers.code1")), 1)
2531
+ y("code", null, g(o(i)("form.fields.headers.code1")), 1)
2546
2532
  ]),
2547
2533
  _: 1
2548
2534
  })
@@ -2553,37 +2539,37 @@ const ue = (r) => r.routeFlavors.traditional === !0, $e = (r) => r.routeFlavors.
2553
2539
  scope: "global"
2554
2540
  }, {
2555
2541
  code1: n(() => [
2556
- _("code", null, g(o(i)("form.fields.preserve_host.code1")), 1)
2542
+ y("code", null, g(o(i)("form.fields.preserve_host.code1")), 1)
2557
2543
  ]),
2558
2544
  code2: n(() => [
2559
- _("code", null, g(o(i)("form.fields.preserve_host.code2")), 1)
2545
+ y("code", null, g(o(i)("form.fields.preserve_host.code2")), 1)
2560
2546
  ]),
2561
2547
  code3: n(() => [
2562
- _("code", null, g(o(i)("form.fields.preserve_host.code3")), 1)
2548
+ y("code", null, g(o(i)("form.fields.preserve_host.code3")), 1)
2563
2549
  ]),
2564
2550
  code4: n(() => [
2565
- _("code", null, g(o(i)("form.fields.preserve_host.code4")), 1)
2551
+ y("code", null, g(o(i)("form.fields.preserve_host.code4")), 1)
2566
2552
  ]),
2567
2553
  code5: n(() => [
2568
- _("code", null, g(o(i)("form.fields.preserve_host.code5")), 1)
2554
+ y("code", null, g(o(i)("form.fields.preserve_host.code5")), 1)
2569
2555
  ]),
2570
2556
  _: 1
2571
2557
  })
2572
2558
  ]),
2573
- service: n(({ row: j }) => [
2574
- E.value ? (p(), V(Y, {
2559
+ service: n(({ row: G }) => [
2560
+ E.value ? (p(), A(Y, {
2575
2561
  key: 0,
2576
2562
  "data-testid": "service-name-loader",
2577
2563
  type: "spinner"
2578
- })) : j.value && j.value.id === S.value && R.value ? (p(), V(o(qt), {
2564
+ })) : G.value && G.value.id === S.value && R.value ? (p(), A(o(Lt), {
2579
2565
  key: 1,
2580
2566
  item: {
2581
- key: j.value.id,
2567
+ key: G.value.id,
2582
2568
  value: R.value,
2583
2569
  type: o(Se).LinkInternal
2584
2570
  },
2585
- onNavigationClick: () => O.$emit("navigation-click", j.value.id, "services")
2586
- }, null, 8, ["item", "onNavigationClick"])) : (p(), y("div", es, g("-")))
2571
+ onNavigationClick: () => O.$emit("navigation-click", G.value.id, "services")
2572
+ }, null, 8, ["item", "onNavigationClick"])) : (p(), _("div", es, g("-")))
2587
2573
  ]),
2588
2574
  _: 1
2589
2575
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
@@ -2595,10 +2581,10 @@ export {
2595
2581
  Te as ExpressionsEditorState,
2596
2582
  io as Methods,
2597
2583
  us as RouteConfigCard,
2598
- w as RouteFlavor,
2584
+ $ as RouteFlavor,
2599
2585
  ds as RouteForm,
2600
2586
  ns as RouteList,
2601
2587
  l as RoutingRulesEntities,
2602
- $e as stateHasExpressionsFlavor,
2588
+ we as stateHasExpressionsFlavor,
2603
2589
  ue as stateHasTraditionalFlavor
2604
2590
  };