@kong-ui-public/entities-gateway-services 3.8.61-pr.1932.31876420.0 → 3.8.61-pr.1932.7aadae31a.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { defineComponent as ke, computed as h, ref as T, watch as we, onBeforeMount as Re, resolveComponent as M, openBlock as V, createElementBlock as E, createVNode as u, unref as l, createSlots as xe, withCtx as p, createBlock as Ce, Teleport as Me, createTextVNode as P, toDisplayString as b, createElementVNode as C, withModifiers as he, reactive as Ve, onMounted as Ae, renderSlot as $e, createCommentVNode as $ } from "vue";
2
- import { useRouter as Te } from "vue-router";
3
- import { AddIcon as Fe, ServicesIcon as Be } from "@kong/icons";
4
- import { createI18n as De, i18nTComponent as Le } from "@kong-ui-public/i18n";
5
- import { useAxios as Ee, useFetcher as Ge, useDeleteUrlBuilder as Ke, FetcherStatus as qe, EntityBaseTable as Ne, EntityFilter as Oe, PermissionsWrapper as le, TableTags as We, EntityEmptyState as je, EntityToggleModal as ze, EntityDeleteModal as He, EntityTypes as Je, useErrors as Qe, useValidators as Xe, EntityBaseFormType as Se, useGatewayFeatureSupported as Ze, EntityBaseForm as Ye, SupportedEntityType as Pe, EntityFormSection as Ie, useHelpers as et, ConfigurationSchemaSection as ne, ConfigurationSchemaType as tt, EntityBaseConfigCard as lt } from "@kong-ui-public/entities-shared";
6
- const ot = {
1
+ import { defineComponent as Se, computed as w, ref as T, watch as Ve, onBeforeMount as xe, resolveComponent as $, openBlock as S, createElementBlock as P, createVNode as u, unref as o, createSlots as $e, withCtx as f, createBlock as ke, Teleport as Ae, createElementVNode as k, createCommentVNode as F, createTextVNode as U, toDisplayString as _, withModifiers as Ce, reactive as Ie, onMounted as Fe, renderSlot as Be } from "vue";
2
+ import { useRouter as Pe } from "vue-router";
3
+ import { BookIcon as De, AddIcon as Le, ServicesIcon as Ge } from "@kong/icons";
4
+ import { createI18n as Ke, i18nTComponent as qe } from "@kong-ui-public/i18n";
5
+ import { useAxios as Ue, useTableState as Ne, useFetcher as Oe, useDeleteUrlBuilder as We, FetcherStatus as je, EntityBaseTable as ze, EntityFilter as He, PermissionsWrapper as le, TableTags as Je, EntityEmptyState as Qe, EntityToggleModal as Xe, EntityDeleteModal as Ze, EntityTypes as Ye, useErrors as et, useValidators as tt, EntityBaseFormType as Te, useGatewayFeatureSupported as lt, EntityBaseForm as ot, SupportedEntityType as Re, EntityFormSection as Ee, useHelpers as it, ConfigurationSchemaSection as ue, ConfigurationSchemaType as st, EntityBaseConfigCard as rt } from "@kong-ui-public/entities-shared";
6
+ const at = {
7
7
  create: "New Gateway Service",
8
8
  serverless_create: "Add a Service",
9
9
  copy_id: "Copy ID",
@@ -16,12 +16,12 @@ const ot = {
16
16
  description: "Deleting this Gateway Service will also remove any associated plugins. This action cannot be reversed.",
17
17
  menu_label: "Delete"
18
18
  }
19
- }, it = {
19
+ }, nt = {
20
20
  placeholder: {
21
21
  konnect: "Filter by name",
22
22
  kongManager: "Filter by exact name or ID"
23
23
  }
24
- }, st = {
24
+ }, ct = {
25
25
  title: "Gateway Services",
26
26
  list: {
27
27
  toolbar_actions: {
@@ -169,39 +169,39 @@ const ot = {
169
169
  }
170
170
  }
171
171
  }
172
- }, rt = {
172
+ }, dt = {
173
173
  general: "Gateway Services could not be retrieved",
174
174
  delete: "The gateway service could not be deleted at this time.",
175
175
  copy: "Failed to copy to clipboard",
176
176
  urlErrorMessage: "Error: invalid URL"
177
- }, at = {
177
+ }, ut = {
178
178
  success: "Copied {val} to clipboard",
179
179
  success_brief: "Successfully copied to clipboard"
180
- }, nt = {
180
+ }, ft = {
181
181
  gateway_services: "gateway services"
182
- }, ct = {
183
- actions: ot,
184
- search: it,
185
- gateway_services: st,
186
- errors: rt,
187
- copy: at,
188
- glossary: nt
182
+ }, pt = {
183
+ actions: at,
184
+ search: nt,
185
+ gateway_services: ct,
186
+ errors: dt,
187
+ copy: ut,
188
+ glossary: ft
189
189
  };
190
- function dt() {
191
- const a = De("en-us", ct);
190
+ function mt() {
191
+ const a = Ke("en-us", pt);
192
192
  return {
193
193
  i18n: a,
194
- i18nT: Le(a)
194
+ i18nT: qe(a)
195
195
  // Translation component <i18n-t>
196
196
  };
197
197
  }
198
- function ut() {
198
+ function vt() {
199
199
  return {
200
- getPortFromProtocol: (A, v) => {
201
- const d = [80, 443], s = Number(v);
200
+ getPortFromProtocol: (B, p) => {
201
+ const d = [80, 443], s = Number(p);
202
202
  if ((s || s === 0) && !d.includes(s))
203
203
  return s;
204
- switch (A) {
204
+ switch (B) {
205
205
  case "grpcs":
206
206
  case "tls":
207
207
  case "https":
@@ -217,31 +217,31 @@ function ut() {
217
217
  }
218
218
  };
219
219
  }
220
- const ue = {
221
- useI18n: dt,
222
- usePortFromProtocol: ut
223
- }, ce = "/v2/control-planes/{controlPlaneId}/core-entities", de = "/{workspace}", oe = {
220
+ const me = {
221
+ useI18n: mt,
222
+ usePortFromProtocol: vt
223
+ }, fe = "/v2/control-planes/{controlPlaneId}/core-entities", pe = "/{workspace}", oe = {
224
224
  list: {
225
225
  konnect: {
226
- all: `${ce}/services`
226
+ all: `${fe}/services`
227
227
  },
228
228
  kongManager: {
229
- all: `${de}/services`
229
+ all: `${pe}/services`
230
230
  }
231
231
  },
232
232
  form: {
233
233
  konnect: {
234
- create: `${ce}/services`,
235
- validate: `${ce}/v1/schemas/json/service/validate`,
236
- edit: `${ce}/services/{id}`
234
+ create: `${fe}/services`,
235
+ validate: `${fe}/v1/schemas/json/service/validate`,
236
+ edit: `${fe}/services/{id}`
237
237
  },
238
238
  kongManager: {
239
- create: `${de}/services`,
240
- validate: `${de}/schemas/services/validate`,
241
- edit: `${de}/services/{id}`
239
+ create: `${pe}/services`,
240
+ validate: `${pe}/schemas/services/validate`,
241
+ edit: `${pe}/services/{id}`
242
242
  }
243
243
  }
244
- }, ft = "#00abd2", pt = "24px", mt = { class: "kong-ui-entities-gateway-services-list" }, vt = { class: "empty-state-icon-gateway" }, yt = { key: 1 }, gt = /* @__PURE__ */ ke({
244
+ }, yt = "#00abd2", gt = "24px", _t = { class: "kong-ui-entities-gateway-services-list" }, bt = { class: "button-row" }, ht = { class: "empty-state-icon-gateway" }, wt = { key: 1 }, kt = /* @__PURE__ */ Se({
245
245
  __name: "GatewayServiceList",
246
246
  props: {
247
247
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -299,9 +299,9 @@ const ue = {
299
299
  }
300
300
  },
301
301
  emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle:success"],
302
- setup(a, { emit: A }) {
303
- var g;
304
- const v = A, d = a, { i18n: { t: s, formatUnixTimeStamp: U } } = ue.useI18n(), D = Te(), { axiosInstance: F } = Ee((g = d.config) == null ? void 0 : g.axiosRequestConfig), r = h(() => d.config.app !== "kongManager" || !!d.config.disableSorting), S = {
302
+ setup(a, { emit: B }) {
303
+ var h;
304
+ const p = B, d = a, { i18n: { t: s, formatUnixTimeStamp: R } } = me.useI18n(), G = Pe(), { axiosInstance: L } = Ue((h = d.config) == null ? void 0 : h.axiosRequestConfig), { hideTableToolbar: r, handleStateChange: E } = Ne(() => g.value), C = w(() => d.config.app !== "kongManager" || !!d.config.disableSorting), ie = {
305
305
  // the Name column is non-hidable
306
306
  name: { label: s("gateway_services.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 },
307
307
  ...d.config.showControlPlaneColumn ? { control_plane: { label: s("gateway_services.list.table_headers.control_plane") } } : {},
@@ -313,304 +313,320 @@ const ue = {
313
313
  tags: { label: s("gateway_services.list.table_headers.tags"), sortable: !1 },
314
314
  updated_at: { label: s("gateway_services.list.table_headers.updated_at"), sortable: !0 },
315
315
  created_at: { label: s("gateway_services.list.table_headers.created_at"), sortable: !0 }
316
- }, w = {
316
+ }, ve = {
317
317
  columnVisibility: {
318
318
  created_at: !1
319
319
  }
320
- }, fe = S, O = h(() => {
321
- var f, m;
320
+ }, K = ie, N = w(() => {
321
+ var l, v;
322
322
  let n = `${d.config.apiBaseUrl}${oe.list[d.config.app].all}`;
323
- return d.config.app === "konnect" ? n = n.replace(/{controlPlaneId}/gi, ((f = d.config) == null ? void 0 : f.controlPlaneId) || "") : d.config.app === "kongManager" && (n = n.replace(/\/{workspace}/gi, (m = d.config) != null && m.workspace ? `/${d.config.workspace}` : "")), n;
324
- }), L = h(() => d.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${O.value}`) : new URL(O.value)), W = T(""), j = h(() => {
323
+ return d.config.app === "konnect" ? n = n.replace(/{controlPlaneId}/gi, ((l = d.config) == null ? void 0 : l.controlPlaneId) || "") : d.config.app === "kongManager" && (n = n.replace(/\/{workspace}/gi, (v = d.config) != null && v.workspace ? `/${d.config.workspace}` : "")), n;
324
+ }), O = w(() => d.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${N.value}`) : new URL(N.value)), g = T(""), H = w(() => {
325
325
  const n = d.config.app === "konnect" || d.config.isExactMatch;
326
326
  if (n)
327
327
  return {
328
328
  isExactMatch: n,
329
329
  placeholder: s(`search.placeholder.${d.config.app}`)
330
330
  };
331
- const { name: f, enabled: m, protocol: o, host: B, port: c, path: ae } = S;
331
+ const { name: l, enabled: v, protocol: c, host: z, port: M, path: de } = ie;
332
332
  return {
333
333
  isExactMatch: n,
334
- fields: { name: f, enabled: m, protocol: o, host: B, port: c, path: ae },
334
+ fields: { name: l, enabled: v, protocol: c, host: z, port: M, path: de },
335
335
  schema: d.config.filterSchema
336
336
  };
337
337
  }), {
338
- fetcher: k,
339
- fetcherState: J,
340
- fetcherCacheKey: G
341
- } = Ge({ ...d.config, cacheIdentifier: d.cacheIdentifier }, O.value), pe = () => {
342
- W.value = "";
343
- }, e = () => {
344
- G.value++;
345
- }, _ = T(null), me = h(() => ({
338
+ fetcher: J,
339
+ fetcherState: ye,
340
+ fetcherCacheKey: e
341
+ } = Oe({ ...d.config, cacheIdentifier: d.cacheIdentifier }, N.value), b = () => {
342
+ g.value = "";
343
+ }, ge = () => {
344
+ e.value++;
345
+ }, W = T(null), se = w(() => ({
346
346
  ctaPath: d.config.createRoute,
347
- ctaText: i.value ? d.isServerless ? s("actions.serverless_create") : s("actions.create") : void 0,
347
+ ctaText: I.value ? d.isServerless ? s("actions.serverless_create") : s("actions.create") : void 0,
348
348
  message: `${s("gateway_services.list.empty_state.description")}${d.config.additionMessageForEmptyState ? ` ${d.config.additionMessageForEmptyState}` : ""}`,
349
- title: i.value ? d.isServerless ? s("gateway_services.list.empty_state.serverless_title") : s("gateway_services.list.empty_state.title") : s("gateway_services.title")
350
- })), Q = T(!1), I = T(null), X = h(() => {
349
+ title: I.value ? d.isServerless ? s("gateway_services.list.empty_state.serverless_title") : s("gateway_services.list.empty_state.title") : s("gateway_services.title")
350
+ })), Q = T(!1), V = T(null), j = w(() => {
351
351
  const n = {
352
352
  action: "disable",
353
353
  id: "",
354
354
  name: ""
355
355
  };
356
- if (I.value) {
357
- const { enabled: f, id: m, name: o } = I.value;
358
- n.action = f ? "disable" : "enable", n.id = m, n.name = o || m;
356
+ if (V.value) {
357
+ const { enabled: l, id: v, name: c } = V.value;
358
+ n.action = l ? "disable" : "enable", n.id = v, n.name = c || v;
359
359
  }
360
360
  return n;
361
- }), K = (n) => {
362
- Q.value = !0, I.value = n;
363
- }, Z = () => {
364
- Q.value = !1, I.value = null;
365
- }, ie = async () => {
366
- var o, B;
367
- if (!await ((o = d.canEdit) == null ? void 0 : o.call(d, I.value)) || !I.value)
361
+ }), re = (n) => {
362
+ Q.value = !0, V.value = n;
363
+ }, X = () => {
364
+ Q.value = !1, V.value = null;
365
+ }, _e = async () => {
366
+ var c, z;
367
+ if (!await ((c = d.canEdit) == null ? void 0 : c.call(d, V.value)) || !V.value)
368
368
  return;
369
- const f = `${L.value.href}/${I.value.id}`, m = !I.value.enabled;
369
+ const l = `${O.value.href}/${V.value.id}`, v = !V.value.enabled;
370
370
  try {
371
- const { data: c } = ((B = d.config) == null ? void 0 : B.app) === "konnect" ? await F.put(f, { ...I.value, enabled: m }) : await F.patch(f, { ...I.value, enabled: m });
372
- v("toggle:success", c), I.value.enabled = m;
373
- } catch (c) {
374
- v("error", c);
371
+ const { data: M } = ((z = d.config) == null ? void 0 : z.app) === "konnect" ? await L.put(l, { ...V.value, enabled: v }) : await L.patch(l, { ...V.value, enabled: v });
372
+ p("toggle:success", M), V.value.enabled = v;
373
+ } catch (M) {
374
+ p("error", M);
375
375
  }
376
- }, se = (n) => {
377
- d.config.getControlPlaneRoute && D.push(d.config.getControlPlaneRoute(n));
378
- }, ve = (n, f) => {
379
- const m = n.id;
380
- if (!f(m)) {
381
- v("copy:error", {
376
+ }, be = (n) => {
377
+ d.config.getControlPlaneRoute && G.push(d.config.getControlPlaneRoute(n));
378
+ }, he = (n, l) => {
379
+ const v = n.id;
380
+ if (!l(v)) {
381
+ p("copy:error", {
382
382
  entity: n,
383
383
  field: "id",
384
384
  message: s("errors.copy")
385
385
  });
386
386
  return;
387
387
  }
388
- v("copy:success", {
388
+ p("copy:success", {
389
389
  entity: n,
390
390
  field: "id",
391
- message: s("copy.success", { val: m })
391
+ message: s("copy.success", { val: v })
392
392
  });
393
- }, ye = (n, f) => {
394
- const m = JSON.stringify(n);
395
- if (!f(m)) {
396
- v("copy:error", {
393
+ }, we = (n, l) => {
394
+ const v = JSON.stringify(n);
395
+ if (!l(v)) {
396
+ p("copy:error", {
397
397
  entity: n,
398
398
  message: s("errors.copy")
399
399
  });
400
400
  return;
401
401
  }
402
- v("copy:success", {
402
+ p("copy:success", {
403
403
  entity: n,
404
404
  message: s("copy.success_brief")
405
405
  });
406
- }, ge = async (n) => {
407
- var m;
408
- await ((m = d.canRetrieve) == null ? void 0 : m.call(d, n)) && D.push(d.config.getViewRoute(n.id));
409
- }, _e = (n) => ({
406
+ }, Z = async (n) => {
407
+ var v;
408
+ await ((v = d.canRetrieve) == null ? void 0 : v.call(d, n)) && G.push(d.config.getViewRoute(n.id));
409
+ }, ae = (n) => ({
410
410
  label: s("actions.view"),
411
411
  to: d.config.getViewRoute(n)
412
- }), Y = (n) => ({
412
+ }), ne = (n) => ({
413
413
  label: s("actions.edit"),
414
414
  to: d.config.getEditRoute(n)
415
- }), R = T(void 0), z = T(!1), ee = T(!1), q = T(""), be = Ke(d.config, O.value), N = (n) => {
416
- R.value = n, z.value = !0, q.value = "";
417
- }, H = () => {
418
- z.value = !1, R.value = void 0;
419
- }, re = async () => {
420
- var n, f, m;
421
- if ((n = R.value) != null && n.id) {
422
- ee.value = !0;
415
+ }), A = T(void 0), q = T(!1), Y = T(!1), D = T(""), ee = We(d.config, N.value), ce = (n) => {
416
+ A.value = n, q.value = !0, D.value = "";
417
+ }, t = () => {
418
+ q.value = !1, A.value = void 0;
419
+ }, i = async () => {
420
+ var n, l, v;
421
+ if ((n = A.value) != null && n.id) {
422
+ Y.value = !0;
423
423
  try {
424
- await F.delete(be(R.value.id)), v("delete:success", R.value), H(), G.value++;
425
- } catch (o) {
426
- q.value = ((m = (f = o.response) == null ? void 0 : f.data) == null ? void 0 : m.message) || o.message || s("errors.delete"), v("error", o);
424
+ await L.delete(ee(A.value.id)), p("delete:success", A.value), t(), e.value++;
425
+ } catch (c) {
426
+ D.value = ((v = (l = c.response) == null ? void 0 : l.data) == null ? void 0 : v.message) || c.message || s("errors.delete"), p("error", c);
427
427
  } finally {
428
- ee.value = !1;
428
+ Y.value = !1;
429
429
  }
430
430
  }
431
- }, t = () => {
432
- D.push(d.config.createRoute);
431
+ }, y = () => {
432
+ G.push(d.config.createRoute);
433
433
  };
434
- we(J, (n) => {
435
- var f, m, o;
436
- if (n.status === qe.Error) {
437
- _.value = {
434
+ Ve(ye, (n) => {
435
+ var l, v, c;
436
+ if (n.status === je.Error) {
437
+ W.value = {
438
438
  title: s("errors.general")
439
- }, (o = (m = (f = n.error) == null ? void 0 : f.response) == null ? void 0 : m.data) != null && o.message && (_.value.message = n.error.response.data.message), v("error", n.error);
439
+ }, (c = (v = (l = n.error) == null ? void 0 : l.response) == null ? void 0 : v.data) != null && c.message && (W.value.message = n.error.response.data.message), p("error", n.error);
440
440
  return;
441
441
  }
442
- _.value = null;
442
+ W.value = null;
443
443
  });
444
- const i = T(!1);
445
- return Re(async () => {
446
- i.value = await d.canCreate();
447
- }), (n, f) => {
448
- const m = M("KButton"), o = M("KBadge"), B = M("KInputSwitch"), c = M("KDropdownItem"), ae = M("KClipboardProvider");
449
- return V(), E("div", mt, [
450
- u(l(Ne), {
444
+ const I = T(!1);
445
+ return xe(async () => {
446
+ I.value = await d.canCreate();
447
+ }), (n, l) => {
448
+ const v = $("KButton"), c = $("KBadge"), z = $("KInputSwitch"), M = $("KDropdownItem"), de = $("KClipboardProvider");
449
+ return S(), P("div", _t, [
450
+ u(o(ze), {
451
451
  "cache-identifier": a.cacheIdentifier,
452
- "default-table-preferences": w,
453
- "disable-sorting": r.value,
454
- "empty-state-options": me.value,
452
+ "default-table-preferences": ve,
453
+ "disable-sorting": C.value,
454
+ "empty-state-options": se.value,
455
455
  "enable-entity-actions": "",
456
- "error-message": _.value,
457
- fetcher: l(k),
458
- "fetcher-cache-key": l(G),
456
+ "error-message": W.value,
457
+ fetcher: o(J),
458
+ "fetcher-cache-key": o(e),
459
459
  "pagination-type": "offset",
460
460
  "preferences-storage-key": "kong-ui-entities-gateway-services-list",
461
- query: W.value,
462
- "table-headers": l(fe),
463
- onClearSearchInput: pe,
464
- "onClick:row": f[3] || (f[3] = (y) => ge(y)),
465
- onSort: e
466
- }, xe({
467
- "toolbar-filter": p(() => [
468
- u(l(Oe), {
469
- modelValue: W.value,
470
- "onUpdate:modelValue": f[0] || (f[0] = (y) => W.value = y),
471
- config: j.value
461
+ query: g.value,
462
+ "table-headers": o(K),
463
+ onClearSearchInput: b,
464
+ "onClick:row": l[4] || (l[4] = (m) => Z(m)),
465
+ onSort: ge,
466
+ onState: o(E)
467
+ }, $e({
468
+ "toolbar-filter": f(() => [
469
+ u(o(He), {
470
+ modelValue: g.value,
471
+ "onUpdate:modelValue": l[0] || (l[0] = (m) => g.value = m),
472
+ config: H.value
472
473
  }, null, 8, ["modelValue", "config"])
473
474
  ]),
474
- "toolbar-button": p(() => [
475
- (V(), Ce(Me, {
475
+ "toolbar-button": f(() => [
476
+ (S(), ke(Ae, {
476
477
  disabled: !a.useActionOutside,
477
478
  to: "#kong-ui-app-page-header-action-button"
478
479
  }, [
479
- u(l(le), {
480
- "auth-function": () => a.canCreate()
481
- }, {
482
- default: p(() => [
483
- u(m, {
484
- appearance: "primary",
485
- "data-testid": "toolbar-add-gateway-service",
486
- size: a.useActionOutside ? "medium" : "large",
487
- to: a.config.createRoute
488
- }, {
489
- default: p(() => [
490
- u(l(Fe)),
491
- P(" " + b(l(s)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
492
- ]),
493
- _: 1
494
- }, 8, ["size", "to"])
495
- ]),
496
- _: 1
497
- }, 8, ["auth-function"])
480
+ k("div", bt, [
481
+ !o(r) && a.config.app === "konnect" ? (S(), ke(v, {
482
+ key: 0,
483
+ appearance: "secondary",
484
+ class: "open-learning-hub",
485
+ "data-testid": "gateway-services-learn-more-button",
486
+ icon: "",
487
+ onClick: l[1] || (l[1] = (m) => n.$emit("click:learn-more"))
488
+ }, {
489
+ default: f(() => [
490
+ u(o(De), { decorative: "" })
491
+ ]),
492
+ _: 1
493
+ })) : F("", !0),
494
+ u(o(le), {
495
+ "auth-function": () => a.canCreate()
496
+ }, {
497
+ default: f(() => [
498
+ u(v, {
499
+ appearance: "primary",
500
+ "data-testid": "toolbar-add-gateway-service",
501
+ size: a.useActionOutside ? "medium" : "large",
502
+ to: a.config.createRoute
503
+ }, {
504
+ default: f(() => [
505
+ u(o(Le)),
506
+ U(" " + _(o(s)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
507
+ ]),
508
+ _: 1
509
+ }, 8, ["size", "to"])
510
+ ]),
511
+ _: 1
512
+ }, 8, ["auth-function"])
513
+ ])
498
514
  ], 8, ["disabled"]))
499
515
  ]),
500
- name: p(({ rowValue: y }) => [
501
- C("b", null, b(y ?? "-"), 1)
516
+ name: f(({ rowValue: m }) => [
517
+ k("b", null, _(m ?? "-"), 1)
502
518
  ]),
503
- control_plane: p(({ row: y }) => {
519
+ control_plane: f(({ row: m }) => {
504
520
  var x;
505
521
  return [
506
- (x = y.x_meta) != null && x.cluster_id ? (V(), Ce(o, {
522
+ (x = m.x_meta) != null && x.cluster_id ? (S(), ke(c, {
507
523
  key: 0,
508
- tooltip: y.x_meta.cluster_id,
524
+ tooltip: m.x_meta.cluster_id,
509
525
  "truncation-tooltip": "",
510
- onClick: he((te) => se(y.x_meta.cluster_id), ["stop"])
526
+ onClick: Ce((te) => be(m.x_meta.cluster_id), ["stop"])
511
527
  }, {
512
- default: p(() => [
513
- P(b(y.x_meta.cluster_id), 1)
528
+ default: f(() => [
529
+ U(_(m.x_meta.cluster_id), 1)
514
530
  ]),
515
531
  _: 2
516
- }, 1032, ["tooltip", "onClick"])) : (V(), E("b", yt, "-"))
532
+ }, 1032, ["tooltip", "onClick"])) : (S(), P("b", wt, "-"))
517
533
  ];
518
534
  }),
519
- enabled: p(({ row: y }) => [
520
- u(l(le), {
521
- "auth-function": () => a.canEdit(y),
535
+ enabled: f(({ row: m }) => [
536
+ u(o(le), {
537
+ "auth-function": () => a.canEdit(m),
522
538
  "force-show": ""
523
539
  }, {
524
- default: p(({ isAllowed: x }) => [
525
- C("div", {
526
- onClick: f[2] || (f[2] = he(() => {
540
+ default: f(({ isAllowed: x }) => [
541
+ k("div", {
542
+ onClick: l[3] || (l[3] = Ce(() => {
527
543
  }, ["stop"]))
528
544
  }, [
529
- u(B, {
530
- modelValue: y.enabled,
531
- "onUpdate:modelValue": (te) => y.enabled = te,
532
- "data-testid": `row-${y.id}-toggle-input`,
545
+ u(z, {
546
+ modelValue: m.enabled,
547
+ "onUpdate:modelValue": (te) => m.enabled = te,
548
+ "data-testid": `row-${m.id}-toggle-input`,
533
549
  disabled: !x,
534
- onClick: he((te) => K(y), ["prevent"])
550
+ onClick: Ce((te) => re(m), ["prevent"])
535
551
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "disabled", "onClick"])
536
552
  ])
537
553
  ]),
538
554
  _: 2
539
555
  }, 1032, ["auth-function"])
540
556
  ]),
541
- tags: p(({ rowValue: y }) => [
542
- u(l(We), { tags: y }, null, 8, ["tags"])
557
+ tags: f(({ rowValue: m }) => [
558
+ u(o(Je), { tags: m }, null, 8, ["tags"])
543
559
  ]),
544
- created_at: p(({ rowValue: y }) => [
545
- P(b(l(U)(y)), 1)
560
+ created_at: f(({ rowValue: m }) => [
561
+ U(_(o(R)(m)), 1)
546
562
  ]),
547
- updated_at: p(({ row: y, rowValue: x }) => [
548
- P(b(l(U)(x ?? y.created_at)), 1)
563
+ updated_at: f(({ row: m, rowValue: x }) => [
564
+ U(_(o(R)(x ?? m.created_at)), 1)
549
565
  ]),
550
- actions: p(({ row: y }) => [
551
- u(ae, null, {
552
- default: p(({ copyToClipboard: x }) => [
553
- u(c, {
566
+ actions: f(({ row: m }) => [
567
+ u(de, null, {
568
+ default: f(({ copyToClipboard: x }) => [
569
+ u(M, {
554
570
  "data-testid": "action-entity-copy-id",
555
- onClick: (te) => ve(y, x)
571
+ onClick: (te) => he(m, x)
556
572
  }, {
557
- default: p(() => [
558
- P(b(l(s)("actions.copy_id")), 1)
573
+ default: f(() => [
574
+ U(_(o(s)("actions.copy_id")), 1)
559
575
  ]),
560
576
  _: 2
561
577
  }, 1032, ["onClick"])
562
578
  ]),
563
579
  _: 2
564
580
  }, 1024),
565
- u(ae, null, {
566
- default: p(({ copyToClipboard: x }) => [
567
- u(c, {
581
+ u(de, null, {
582
+ default: f(({ copyToClipboard: x }) => [
583
+ u(M, {
568
584
  "data-testid": "action-entity-copy-json",
569
- onClick: (te) => ye(y, x)
585
+ onClick: (te) => we(m, x)
570
586
  }, {
571
- default: p(() => [
572
- P(b(l(s)("actions.copy_json")), 1)
587
+ default: f(() => [
588
+ U(_(o(s)("actions.copy_json")), 1)
573
589
  ]),
574
590
  _: 2
575
591
  }, 1032, ["onClick"])
576
592
  ]),
577
593
  _: 2
578
594
  }, 1024),
579
- u(l(le), {
580
- "auth-function": () => a.canRetrieve(y)
595
+ u(o(le), {
596
+ "auth-function": () => a.canRetrieve(m)
581
597
  }, {
582
- default: p(() => [
583
- u(c, {
598
+ default: f(() => [
599
+ u(M, {
584
600
  "data-testid": "action-entity-view",
585
601
  "has-divider": "",
586
- item: _e(y.id)
602
+ item: ae(m.id)
587
603
  }, null, 8, ["item"])
588
604
  ]),
589
605
  _: 2
590
606
  }, 1032, ["auth-function"]),
591
- u(l(le), {
592
- "auth-function": () => a.canEdit(y)
607
+ u(o(le), {
608
+ "auth-function": () => a.canEdit(m)
593
609
  }, {
594
- default: p(() => [
595
- u(c, {
610
+ default: f(() => [
611
+ u(M, {
596
612
  "data-testid": "action-entity-edit",
597
- item: Y(y.id)
613
+ item: ne(m.id)
598
614
  }, null, 8, ["item"])
599
615
  ]),
600
616
  _: 2
601
617
  }, 1032, ["auth-function"]),
602
- u(l(le), {
603
- "auth-function": () => a.canDelete(y)
618
+ u(o(le), {
619
+ "auth-function": () => a.canDelete(m)
604
620
  }, {
605
- default: p(() => [
606
- u(c, {
621
+ default: f(() => [
622
+ u(M, {
607
623
  danger: "",
608
624
  "data-testid": "action-entity-delete",
609
625
  "has-divider": "",
610
- onClick: (x) => N(y)
626
+ onClick: (x) => ce(m)
611
627
  }, {
612
- default: p(() => [
613
- P(b(l(s)("actions.delete.menu_label")), 1)
628
+ default: f(() => [
629
+ U(_(o(s)("actions.delete.menu_label")), 1)
614
630
  ]),
615
631
  _: 2
616
632
  }, 1032, ["onClick"])
@@ -622,22 +638,22 @@ const ue = {
622
638
  }, [
623
639
  a.enableV2EmptyStates && a.config.app === "konnect" ? {
624
640
  name: "empty-state",
625
- fn: p(() => [
626
- u(l(je), {
627
- "action-button-text": l(s)("gateway_services.empty_state_v2.create"),
641
+ fn: f(() => [
642
+ u(o(Qe), {
643
+ "action-button-text": o(s)("gateway_services.empty_state_v2.create"),
628
644
  appearance: "secondary",
629
645
  "can-create": () => a.canCreate(),
630
- description: l(s)("gateway_services.empty_state_v2.description"),
646
+ description: o(s)("gateway_services.empty_state_v2.description"),
631
647
  "learn-more": a.config.app === "konnect",
632
- title: l(s)("gateway_services.empty_state_v2.title"),
633
- "onClick:create": t,
634
- "onClick:learnMore": f[1] || (f[1] = (y) => n.$emit("click:learn-more"))
648
+ title: o(s)("gateway_services.empty_state_v2.title"),
649
+ "onClick:create": y,
650
+ "onClick:learnMore": l[2] || (l[2] = (m) => n.$emit("click:learn-more"))
635
651
  }, {
636
- image: p(() => [
637
- C("div", vt, [
638
- u(l(Be), {
639
- color: l(ft),
640
- size: l(pt)
652
+ image: f(() => [
653
+ k("div", ht, [
654
+ u(o(Ge), {
655
+ color: o(yt),
656
+ size: o(gt)
641
657
  }, null, 8, ["color", "size"])
642
658
  ])
643
659
  ]),
@@ -646,58 +662,58 @@ const ue = {
646
662
  ]),
647
663
  key: "0"
648
664
  } : void 0
649
- ]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers"]),
650
- u(l(ze), {
651
- action: X.value.action,
652
- "entity-id": X.value.id,
653
- "entity-name": X.value.name,
654
- "entity-type": l(s)("glossary.gateway_services"),
655
- "on-confirm": ie,
665
+ ]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "onState"]),
666
+ u(o(Xe), {
667
+ action: j.value.action,
668
+ "entity-id": j.value.id,
669
+ "entity-name": j.value.name,
670
+ "entity-type": o(s)("glossary.gateway_services"),
671
+ "on-confirm": _e,
656
672
  visible: Q.value,
657
- onCancel: Z,
658
- onProceed: Z
673
+ onCancel: X,
674
+ onProceed: X
659
675
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
660
- u(l(He), {
661
- "action-pending": ee.value,
662
- description: l(s)("actions.delete.description"),
663
- "entity-name": R.value && (R.value.name || R.value.id),
664
- "entity-type": l(Je).GatewayService,
665
- error: q.value,
666
- title: l(s)("actions.delete.title"),
667
- visible: z.value,
668
- onCancel: H,
669
- onProceed: re
676
+ u(o(Ze), {
677
+ "action-pending": Y.value,
678
+ description: o(s)("actions.delete.description"),
679
+ "entity-name": A.value && (A.value.name || A.value.id),
680
+ "entity-type": o(Ye).GatewayService,
681
+ error: D.value,
682
+ title: o(s)("actions.delete.title"),
683
+ visible: q.value,
684
+ onCancel: t,
685
+ onProceed: i
670
686
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
671
687
  ]);
672
688
  };
673
689
  }
674
- }), Ue = (a, A) => {
675
- const v = a.__vccOpts || a;
676
- for (const [d, s] of A)
677
- v[d] = s;
678
- return v;
679
- }, qt = /* @__PURE__ */ Ue(gt, [["__scopeId", "data-v-18eed2d2"]]), _t = { class: "kong-ui-entities-gateway-service-form" }, bt = { key: 0 }, ht = { class: "gateway-service-form-traffic-label" }, wt = { class: "gateway-service-form-margin-bottom" }, kt = {
690
+ }), Me = (a, B) => {
691
+ const p = a.__vccOpts || a;
692
+ for (const [d, s] of B)
693
+ p[d] = s;
694
+ return p;
695
+ }, zt = /* @__PURE__ */ Me(kt, [["__scopeId", "data-v-289f56a2"]]), Ct = { class: "kong-ui-entities-gateway-service-form" }, Vt = { key: 0 }, St = { class: "gateway-service-form-traffic-label" }, It = { class: "gateway-service-form-margin-bottom" }, Tt = {
680
696
  key: 0,
681
697
  class: "gateway-service-form-group-fields"
682
- }, Ct = {
698
+ }, Et = {
683
699
  key: 1,
684
700
  class: "gateway-service-form-group-fields"
685
- }, Vt = { key: 0 }, St = { class: "gateway-service-form-margin-top" }, It = { class: "gateway-service-form-margin-bottom" }, Tt = { class: "gateway-service-form-margin-bottom" }, Et = { class: "gateway-service-form-margin-bottom" }, Pt = { class: "gateway-service-form-margin-bottom" }, Ut = {
701
+ }, Pt = { key: 0 }, Ut = { class: "gateway-service-form-margin-top" }, Rt = { class: "gateway-service-form-margin-bottom" }, Mt = { class: "gateway-service-form-margin-bottom" }, xt = { class: "gateway-service-form-margin-bottom" }, $t = { class: "gateway-service-form-margin-bottom" }, At = {
686
702
  key: 0,
687
703
  class: "gateway-service-form-margin-bottom"
688
- }, Rt = {
704
+ }, Ft = {
689
705
  key: 1,
690
706
  class: "gateway-service-form-margin-bottom"
691
- }, xt = {
707
+ }, Bt = {
692
708
  key: 2,
693
709
  class: "gateway-service-form-margin-bottom"
694
- }, Mt = {
710
+ }, Dt = {
695
711
  key: 0,
696
712
  class: "checkbox-aligned-radio"
697
- }, At = {
713
+ }, Lt = {
698
714
  key: 1,
699
715
  class: "checkbox-aligned-radio"
700
- }, $t = /* @__PURE__ */ ke({
716
+ }, Gt = /* @__PURE__ */ Se({
701
717
  __name: "GatewayServiceForm",
702
718
  props: {
703
719
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -720,9 +736,9 @@ const ue = {
720
736
  }
721
737
  },
722
738
  emits: ["update", "error", "url-valid:success", "url-valid:error", "loading", "model-updated"],
723
- setup(a, { expose: A, emit: v }) {
724
- var re;
725
- const d = v, s = a, U = T(!0), D = Te(), { i18nT: F, i18n: { t: r } } = ue.useI18n(), { getMessageFromError: S } = Qe(), { axiosInstance: w } = Ee((re = s.config) == null ? void 0 : re.axiosRequestConfig), fe = Xe(), O = h(() => oe.form[s.config.app].edit), L = h(() => s.gatewayServiceId ? Se.Edit : Se.Create), W = T(!1), j = h(() => !!s.gatewayServiceId), k = T(j.value ? "protocol" : "url"), J = ue.usePortFromProtocol(), G = T(""), pe = h(() => !!G.value), e = Ve({
739
+ setup(a, { expose: B, emit: p }) {
740
+ var ce;
741
+ const d = p, s = a, R = T(!0), G = Pe(), { i18nT: L, i18n: { t: r } } = me.useI18n(), { getMessageFromError: E } = et(), { axiosInstance: C } = Ue((ce = s.config) == null ? void 0 : ce.axiosRequestConfig), ie = tt(), ve = w(() => oe.form[s.config.app].edit), K = w(() => s.gatewayServiceId ? Te.Edit : Te.Create), N = T(!1), O = w(() => !!s.gatewayServiceId), g = T(O.value ? "protocol" : "url"), H = me.usePortFromProtocol(), J = T(""), ye = w(() => !!J.value), e = Ie({
726
742
  fields: {
727
743
  name: "",
728
744
  protocol: "http",
@@ -742,7 +758,7 @@ const ue = {
742
758
  },
743
759
  isReadonly: !1,
744
760
  errorMessage: ""
745
- }), _ = Ve({
761
+ }), b = Ie({
746
762
  name: "",
747
763
  protocol: "http",
748
764
  host: "",
@@ -758,13 +774,13 @@ const ue = {
758
774
  tls_verify_enabled: !1,
759
775
  tls_verify_value: !1,
760
776
  tags: ""
761
- }), me = s.config.app === "konnect" || Ze({
777
+ }), ge = s.config.app === "konnect" || lt({
762
778
  gatewayInfo: s.config.gatewayInfo,
763
779
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
764
780
  supportedRange: {
765
781
  enterprise: ["3.0"]
766
782
  }
767
- }), Q = [
783
+ }), W = [
768
784
  {
769
785
  label: r("gateway_services.form.fields.protocol.options.http"),
770
786
  value: "http",
@@ -800,7 +816,7 @@ const ue = {
800
816
  value: "grpcs",
801
817
  group: "grpc"
802
818
  },
803
- ...me ? [
819
+ ...ge ? [
804
820
  {
805
821
  label: r("gateway_services.form.fields.protocol.options.ws"),
806
822
  value: "ws",
@@ -817,60 +833,60 @@ const ue = {
817
833
  value: "udp",
818
834
  group: "udp"
819
835
  }
820
- ], I = { url: "url", protocol: "protocol" }, X = (t, i) => {
836
+ ], se = { url: "url", protocol: "protocol" }, Q = (t, i) => {
821
837
  i.value;
822
- }, K = (t) => t ? parseFloat(t) : 0, Z = () => {
823
- U.value = !0, e.errorMessage = "", e.fields.host = _.host, e.fields.path = _.path, e.fields.port = _.port, e.fields.protocol = _.protocol, e.fields.url = _.url, e.fields.retries = _.retries, e.fields.connect_timeout = _.connect_timeout, e.fields.write_timeout = _.write_timeout, e.fields.read_timeout = _.read_timeout, e.fields.client_certificate = _.client_certificate, e.fields.ca_certificates = _.ca_certificates, e.fields.tls_verify_enabled = _.tls_verify_enabled, e.fields.tls_verify_value = _.tls_verify_value;
824
- }, ie = () => {
825
- if (e.fields.url && k.value === "url")
838
+ }, V = (t) => t ? parseFloat(t) : 0, j = () => {
839
+ R.value = !0, e.errorMessage = "", e.fields.host = b.host, e.fields.path = b.path, e.fields.port = b.port, e.fields.protocol = b.protocol, e.fields.url = b.url, e.fields.retries = b.retries, e.fields.connect_timeout = b.connect_timeout, e.fields.write_timeout = b.write_timeout, e.fields.read_timeout = b.read_timeout, e.fields.client_certificate = b.client_certificate, e.fields.ca_certificates = b.ca_certificates, e.fields.tls_verify_enabled = b.tls_verify_enabled, e.fields.tls_verify_value = b.tls_verify_value;
840
+ }, re = () => {
841
+ if (e.fields.url && g.value === "url")
826
842
  try {
827
843
  const t = new URL(e.fields.url);
828
844
  e.errorMessage = "", e.fields.protocol = t.protocol.slice(0, -1), e.fields.host = t.hostname, e.fields.path = t.pathname;
829
845
  const i = Number(t.port);
830
- W.value = !!i, e.fields.port = i || J.getPortFromProtocol(e.fields.protocol), e.errorMessage = "", d("url-valid:success");
846
+ N.value = !!i, e.fields.port = i || H.getPortFromProtocol(e.fields.protocol), e.errorMessage = "", d("url-valid:success");
831
847
  } catch (t) {
832
- e.errorMessage = r("errors.urlErrorMessage"), d("url-valid:error", S(t));
848
+ e.errorMessage = r("errors.urlErrorMessage"), d("url-valid:error", E(t));
833
849
  }
834
850
  else
835
851
  d("url-valid:success"), e.errorMessage = "";
836
- }, se = h(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(e.fields.protocol)), ve = h(() => {
837
- if (k.value === "url")
852
+ }, X = w(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(e.fields.protocol)), _e = w(() => {
853
+ if (g.value === "url")
838
854
  return !0;
839
855
  const t = ["https", "wss", "tls"].includes(e.fields.protocol);
840
- return k.value === "protocol" && t;
841
- }), ye = h(() => {
842
- if (k.value === "url")
856
+ return g.value === "protocol" && t;
857
+ }), be = w(() => {
858
+ if (g.value === "url")
843
859
  return !0;
844
860
  const t = ["https", "tls"].includes(e.fields.protocol);
845
- return k.value === "protocol" && t;
846
- }), ge = h(() => {
847
- if (k.value === "url")
861
+ return g.value === "protocol" && t;
862
+ }), he = w(() => {
863
+ if (g.value === "url")
848
864
  return !0;
849
865
  const t = ["https", "wss", "tls"].includes(e.fields.protocol);
850
- return k.value === "protocol" && t;
851
- }), _e = (t) => {
852
- G.value = fe.utf8Name(t);
853
- }, Y = h(() => j.value && JSON.stringify(e.fields) !== JSON.stringify(_) || k.value === "url" && !!e.fields.url || k.value === "protocol" && !!e.fields.host), R = (t) => {
854
- var i, g, n;
855
- e.fields.name = (t == null ? void 0 : t.name) || "", e.fields.tags = ((i = t == null ? void 0 : t.tags) == null ? void 0 : i.join(", ")) || "", e.fields.protocol = (t == null ? void 0 : t.protocol) || "http", e.fields.path = (t == null ? void 0 : t.path) || "", e.fields.read_timeout = t != null && t.read_timeout || (t == null ? void 0 : t.read_timeout) === 0 ? t == null ? void 0 : t.read_timeout : 6e4, e.fields.retries = t != null && t.retries || (t == null ? void 0 : t.retries) === 0 ? t == null ? void 0 : t.retries : 5, e.fields.host = (t == null ? void 0 : t.host) || "", e.fields.connect_timeout = t != null && t.connect_timeout || (t == null ? void 0 : t.connect_timeout) === 0 ? t == null ? void 0 : t.connect_timeout : 6e4, e.fields.tls_verify_enabled = (t == null ? void 0 : t.tls_verify) !== "" && (t == null ? void 0 : t.tls_verify) !== null && (t == null ? void 0 : t.tls_verify) !== void 0, e.fields.tls_verify_value = t != null && t.tls_verify ? t == null ? void 0 : t.tls_verify : !1, e.fields.ca_certificates = ((g = t == null ? void 0 : t.ca_certificates) == null ? void 0 : g.join(",")) || "", e.fields.client_certificate = ((n = t == null ? void 0 : t.client_certificate) == null ? void 0 : n.id) || "", e.fields.write_timeout = t != null && t.write_timeout || (t == null ? void 0 : t.write_timeout) === 0 ? t == null ? void 0 : t.write_timeout : 6e4, e.fields.port = t != null && t.port || (t == null ? void 0 : t.port) === 0 ? t == null ? void 0 : t.port : 80, Object.assign(_, e.fields);
856
- }, z = () => {
857
- D.push(s.config.cancelRoute);
858
- }, ee = h(() => {
859
- var i, g;
866
+ return g.value === "protocol" && t;
867
+ }), we = (t) => {
868
+ J.value = ie.utf8Name(t);
869
+ }, Z = w(() => O.value && JSON.stringify(e.fields) !== JSON.stringify(b) || g.value === "url" && !!e.fields.url || g.value === "protocol" && !!e.fields.host), ae = (t) => {
870
+ var i, y, I;
871
+ e.fields.name = (t == null ? void 0 : t.name) || "", e.fields.tags = ((i = t == null ? void 0 : t.tags) == null ? void 0 : i.join(", ")) || "", e.fields.protocol = (t == null ? void 0 : t.protocol) || "http", e.fields.path = (t == null ? void 0 : t.path) || "", e.fields.read_timeout = t != null && t.read_timeout || (t == null ? void 0 : t.read_timeout) === 0 ? t == null ? void 0 : t.read_timeout : 6e4, e.fields.retries = t != null && t.retries || (t == null ? void 0 : t.retries) === 0 ? t == null ? void 0 : t.retries : 5, e.fields.host = (t == null ? void 0 : t.host) || "", e.fields.connect_timeout = t != null && t.connect_timeout || (t == null ? void 0 : t.connect_timeout) === 0 ? t == null ? void 0 : t.connect_timeout : 6e4, e.fields.tls_verify_enabled = (t == null ? void 0 : t.tls_verify) !== "" && (t == null ? void 0 : t.tls_verify) !== null && (t == null ? void 0 : t.tls_verify) !== void 0, e.fields.tls_verify_value = t != null && t.tls_verify ? t == null ? void 0 : t.tls_verify : !1, e.fields.ca_certificates = ((y = t == null ? void 0 : t.ca_certificates) == null ? void 0 : y.join(",")) || "", e.fields.client_certificate = ((I = t == null ? void 0 : t.client_certificate) == null ? void 0 : I.id) || "", e.fields.write_timeout = t != null && t.write_timeout || (t == null ? void 0 : t.write_timeout) === 0 ? t == null ? void 0 : t.write_timeout : 6e4, e.fields.port = t != null && t.port || (t == null ? void 0 : t.port) === 0 ? t == null ? void 0 : t.port : 80, Object.assign(b, e.fields);
872
+ }, ne = () => {
873
+ G.push(s.config.cancelRoute);
874
+ }, A = w(() => {
875
+ var i, y;
860
876
  let t = `${s.config.apiBaseUrl}${oe.form[s.config.app].validate}`;
861
- return s.config.app === "konnect" ? t = t.replace(/{controlPlaneId}/gi, ((i = s.config) == null ? void 0 : i.controlPlaneId) || "") : s.config.app === "kongManager" && (t = t.replace(/\/{workspace}/gi, (g = s.config) != null && g.workspace ? `/${s.config.workspace}` : "")), t = t.replace(/{id}/gi, s.gatewayServiceId), t;
862
- }), q = h(() => {
863
- var i, g;
864
- let t = `${s.config.apiBaseUrl}${oe.form[s.config.app][L.value]}`;
865
- return s.config.app === "konnect" ? t = t.replace(/{controlPlaneId}/gi, ((i = s.config) == null ? void 0 : i.controlPlaneId) || "") : s.config.app === "kongManager" && (t = t.replace(/\/{workspace}/gi, (g = s.config) != null && g.workspace ? `/${s.config.workspace}` : "")), t = t.replace(/{id}/gi, s.gatewayServiceId), t;
866
- }), be = (t) => {
877
+ return s.config.app === "konnect" ? t = t.replace(/{controlPlaneId}/gi, ((i = s.config) == null ? void 0 : i.controlPlaneId) || "") : s.config.app === "kongManager" && (t = t.replace(/\/{workspace}/gi, (y = s.config) != null && y.workspace ? `/${s.config.workspace}` : "")), t = t.replace(/{id}/gi, s.gatewayServiceId), t;
878
+ }), q = w(() => {
879
+ var i, y;
880
+ let t = `${s.config.apiBaseUrl}${oe.form[s.config.app][K.value]}`;
881
+ return s.config.app === "konnect" ? t = t.replace(/{controlPlaneId}/gi, ((i = s.config) == null ? void 0 : i.controlPlaneId) || "") : s.config.app === "kongManager" && (t = t.replace(/\/{workspace}/gi, (y = s.config) != null && y.workspace ? `/${s.config.workspace}` : "")), t = t.replace(/{id}/gi, s.gatewayServiceId), t;
882
+ }), Y = (t) => {
867
883
  let i = "";
868
884
  t.url && (i = new URL(t.url).protocol), (["https", "wss", "tls"].includes(t.protocol) || ["https", "wss", "tls"].includes(i)) && (t.tls_verify = t.tls_verify_enabled ? t.tls_verify_value : null), delete t.tls_verify_enabled, delete t.tls_verify_value;
869
- }, N = h(() => {
870
- var i, g, n, f;
885
+ }, D = w(() => {
886
+ var i, y, I, h;
871
887
  const t = {
872
888
  name: e.fields.name || null,
873
- tags: e.fields.tags ? (n = (g = (i = e.fields.tags) == null ? void 0 : i.split(",")) == null ? void 0 : g.map((m) => String(m || "").trim())) == null ? void 0 : n.filter((m) => m !== "") : null,
889
+ tags: e.fields.tags ? (I = (y = (i = e.fields.tags) == null ? void 0 : i.split(",")) == null ? void 0 : y.map((n) => String(n || "").trim())) == null ? void 0 : I.filter((n) => n !== "") : null,
874
890
  protocol: e.fields.protocol,
875
891
  path: e.fields.path || null,
876
892
  read_timeout: e.fields.read_timeout,
@@ -879,263 +895,263 @@ const ue = {
879
895
  connect_timeout: e.fields.connect_timeout,
880
896
  tls_verify_value: e.fields.tls_verify_value,
881
897
  tls_verify_enabled: e.fields.tls_verify_enabled,
882
- ca_certificates: e.fields.ca_certificates ? (f = e.fields.ca_certificates) == null ? void 0 : f.split(",").filter((m) => m !== "") : null,
898
+ ca_certificates: e.fields.ca_certificates ? (h = e.fields.ca_certificates) == null ? void 0 : h.split(",").filter((n) => n !== "") : null,
883
899
  client_certificate: e.fields.client_certificate ? { id: e.fields.client_certificate } : null,
884
900
  write_timeout: e.fields.write_timeout,
885
901
  port: e.fields.port,
886
902
  url: e.fields.url
887
903
  };
888
- return e.fields.client_certificate && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.client_certificate = { id: e.fields.client_certificate }), e.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.tls_verify = e.fields.tls_verify_value), se.value || (t.path = null), L.value === "create" ? k.value === "url" ? (delete t.protocol, delete t.host, delete t.path, s.config.app === "konnect" && delete t.port) : delete t.url : L.value === "edit" && delete t.url, t;
889
- }), H = async () => {
890
- var t, i, g, n;
904
+ return e.fields.client_certificate && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.client_certificate = { id: e.fields.client_certificate }), e.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(e.fields.protocol) && (t.tls_verify = e.fields.tls_verify_value), X.value || (t.path = null), K.value === "create" ? g.value === "url" ? (delete t.protocol, delete t.host, delete t.path, s.config.app === "konnect" && delete t.port) : delete t.url : K.value === "edit" && delete t.url, t;
905
+ }), ee = async () => {
906
+ var t, i, y, I;
891
907
  try {
892
- e.isReadonly = !0, ie();
893
- const f = N.value;
894
- be(f);
895
- let m;
896
- if (await w.post(ee.value, f), L.value === "create" ? m = await w.post(q.value, f) : L.value === "edit" && (m = ((t = s.config) == null ? void 0 : t.app) === "konnect" ? await w.put(q.value, f) : await w.patch(q.value, f)), m) {
897
- const { data: o } = m;
898
- e.fields.name = (o == null ? void 0 : o.name) || "", e.fields.port = o.port || J.getPortFromProtocol(o.protocol), e.fields.protocol = (o == null ? void 0 : o.protocol) || "http", e.fields.host = (o == null ? void 0 : o.host) || "", e.fields.path = (o == null ? void 0 : o.path) || "", e.fields.url = (o == null ? void 0 : o.url) || "", e.fields.retries = o != null && o.retries || (o == null ? void 0 : o.retries) === 0 ? o == null ? void 0 : o.retries : 5, e.fields.connect_timeout = o != null && o.connect_timeout || (o == null ? void 0 : o.connect_timeout) === 0 ? o == null ? void 0 : o.connect_timeout : 6e4, e.fields.write_timeout = o != null && o.write_timeout || (o == null ? void 0 : o.write_timeout) === 0 ? o == null ? void 0 : o.write_timeout : 6e4, e.fields.read_timeout = o != null && o.read_timeout || (o == null ? void 0 : o.read_timeout) === 0 ? o == null ? void 0 : o.read_timeout : 6e4, e.fields.client_certificate = ((i = o == null ? void 0 : o.client_certificate) == null ? void 0 : i.id) || "", e.fields.ca_certificates = (g = o == null ? void 0 : o.ca_certificates) != null && g.length ? o == null ? void 0 : o.ca_certificates.join(",") : "", e.fields.tls_verify_enabled = (o == null ? void 0 : o.tls_verify) !== "" && (o == null ? void 0 : o.tls_verify) !== null && (o == null ? void 0 : o.tls_verify) !== void 0, e.fields.tls_verify_value = e.fields.tls_verify_enabled && (o == null ? void 0 : o.tls_verify), e.fields.tags = (n = o == null ? void 0 : o.tags) != null && n.length ? o.tags.join(", ") : "", Object.assign(_, e.fields), d("update", m == null ? void 0 : m.data);
908
+ e.isReadonly = !0, re();
909
+ const h = D.value;
910
+ Y(h);
911
+ let n;
912
+ if (await C.post(A.value, h), K.value === "create" ? n = await C.post(q.value, h) : K.value === "edit" && (n = ((t = s.config) == null ? void 0 : t.app) === "konnect" ? await C.put(q.value, h) : await C.patch(q.value, h)), n) {
913
+ const { data: l } = n;
914
+ e.fields.name = (l == null ? void 0 : l.name) || "", e.fields.port = l.port || H.getPortFromProtocol(l.protocol), e.fields.protocol = (l == null ? void 0 : l.protocol) || "http", e.fields.host = (l == null ? void 0 : l.host) || "", e.fields.path = (l == null ? void 0 : l.path) || "", e.fields.url = (l == null ? void 0 : l.url) || "", e.fields.retries = l != null && l.retries || (l == null ? void 0 : l.retries) === 0 ? l == null ? void 0 : l.retries : 5, e.fields.connect_timeout = l != null && l.connect_timeout || (l == null ? void 0 : l.connect_timeout) === 0 ? l == null ? void 0 : l.connect_timeout : 6e4, e.fields.write_timeout = l != null && l.write_timeout || (l == null ? void 0 : l.write_timeout) === 0 ? l == null ? void 0 : l.write_timeout : 6e4, e.fields.read_timeout = l != null && l.read_timeout || (l == null ? void 0 : l.read_timeout) === 0 ? l == null ? void 0 : l.read_timeout : 6e4, e.fields.client_certificate = ((i = l == null ? void 0 : l.client_certificate) == null ? void 0 : i.id) || "", e.fields.ca_certificates = (y = l == null ? void 0 : l.ca_certificates) != null && y.length ? l == null ? void 0 : l.ca_certificates.join(",") : "", e.fields.tls_verify_enabled = (l == null ? void 0 : l.tls_verify) !== "" && (l == null ? void 0 : l.tls_verify) !== null && (l == null ? void 0 : l.tls_verify) !== void 0, e.fields.tls_verify_value = e.fields.tls_verify_enabled && (l == null ? void 0 : l.tls_verify), e.fields.tags = (I = l == null ? void 0 : l.tags) != null && I.length ? l.tags.join(", ") : "", Object.assign(b, e.fields), d("update", n == null ? void 0 : n.data);
899
915
  }
900
- return m;
901
- } catch (f) {
902
- e.errorMessage = S(f), d("error", f);
916
+ return n;
917
+ } catch (h) {
918
+ e.errorMessage = E(h), d("error", h);
903
919
  } finally {
904
920
  e.isReadonly = !1;
905
921
  }
906
922
  };
907
- return we(() => s.gatewayServiceId, () => {
908
- Object.assign(e.fields, _);
909
- }), we(e.fields, (t) => {
910
- e.fields.port = J.getPortFromProtocol(t.protocol, String(t.port)), d("model-updated", N.value);
911
- }), Ae(() => {
912
- d("model-updated", N.value);
913
- }), A({
914
- validateUrl: ie,
915
- getPayload: N,
916
- saveFormData: H,
917
- canSubmit: Y,
918
- initForm: R
923
+ return Ve(() => s.gatewayServiceId, () => {
924
+ Object.assign(e.fields, b);
925
+ }), Ve(e.fields, (t) => {
926
+ e.fields.port = H.getPortFromProtocol(t.protocol, String(t.port)), d("model-updated", D.value);
927
+ }), Fe(() => {
928
+ d("model-updated", D.value);
929
+ }), B({
930
+ validateUrl: re,
931
+ getPayload: D,
932
+ saveFormData: ee,
933
+ canSubmit: Z,
934
+ initForm: ae
919
935
  }), (t, i) => {
920
- const g = M("KInput"), n = M("KLabel"), f = M("KRadio"), m = M("KSelect"), o = M("KCheckbox"), B = M("KCollapse");
921
- return V(), E("div", _t, [
922
- u(l(Ye), {
923
- "can-submit": Y.value,
936
+ const y = $("KInput"), I = $("KLabel"), h = $("KRadio"), n = $("KSelect"), l = $("KCheckbox"), v = $("KCollapse");
937
+ return S(), P("div", Ct, [
938
+ u(o(ot), {
939
+ "can-submit": Z.value,
924
940
  config: a.config,
925
941
  "edit-id": a.gatewayServiceId,
926
- "entity-type": l(Pe).GatewayService,
942
+ "entity-type": o(Re).GatewayService,
927
943
  "error-message": e.errorMessage,
928
- "fetch-url": O.value,
929
- "form-fields": N.value,
944
+ "fetch-url": ve.value,
945
+ "form-fields": D.value,
930
946
  "is-readonly": e.isReadonly,
931
- onCancel: z,
947
+ onCancel: ne,
932
948
  "onFetch:error": i[25] || (i[25] = (c) => t.$emit("error", c)),
933
- "onFetch:success": R,
949
+ "onFetch:success": ae,
934
950
  onLoading: i[26] || (i[26] = (c) => t.$emit("loading", c)),
935
- onSubmit: H
951
+ onSubmit: ee
936
952
  }, {
937
- "form-actions": p(() => [
938
- $e(t.$slots, "form-actions", {
939
- canSubmit: Y.value,
940
- cancel: z,
941
- submit: H
953
+ "form-actions": f(() => [
954
+ Be(t.$slots, "form-actions", {
955
+ canSubmit: Z.value,
956
+ cancel: ne,
957
+ submit: ee
942
958
  }, void 0, !0)
943
959
  ]),
944
- default: p(() => [
945
- u(l(Ie), {
946
- description: l(r)("gateway_services.form.sections.general.description"),
960
+ default: f(() => [
961
+ u(o(Ee), {
962
+ description: o(r)("gateway_services.form.sections.general.description"),
947
963
  "hide-info-header": a.hideSectionsInfo,
948
- title: l(r)("gateway_services.form.sections.general.title")
964
+ title: o(r)("gateway_services.form.sections.general.title")
949
965
  }, {
950
- default: p(() => [
951
- u(g, {
966
+ default: f(() => [
967
+ u(y, {
952
968
  modelValue: e.fields.name,
953
969
  "onUpdate:modelValue": i[0] || (i[0] = (c) => e.fields.name = c),
954
970
  modelModifiers: { trim: !0 },
955
971
  autocomplete: "off",
956
972
  "data-testid": "gateway-service-name-input",
957
- error: pe.value,
958
- "error-message": G.value,
959
- label: l(r)("gateway_services.form.fields.name.label"),
973
+ error: ye.value,
974
+ "error-message": J.value,
975
+ label: o(r)("gateway_services.form.fields.name.label"),
960
976
  "label-attributes": {
961
- info: l(r)("gateway_services.form.fields.name.tooltip"),
977
+ info: o(r)("gateway_services.form.fields.name.tooltip"),
962
978
  tooltipAttributes: { maxWidth: "400" }
963
979
  },
964
980
  name: "name",
965
- placeholder: l(r)("gateway_services.form.fields.name.placeholder"),
981
+ placeholder: o(r)("gateway_services.form.fields.name.placeholder"),
966
982
  readonly: e.isReadonly,
967
983
  type: "text",
968
- onInput: _e
984
+ onInput: we
969
985
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
970
- u(g, {
986
+ u(y, {
971
987
  modelValue: e.fields.tags,
972
988
  "onUpdate:modelValue": i[1] || (i[1] = (c) => e.fields.tags = c),
973
989
  modelModifiers: { trim: !0 },
974
990
  autocomplete: "off",
975
991
  "data-testid": "gateway-service-tags-input",
976
- help: l(r)("gateway_services.form.fields.tags.help"),
977
- label: l(r)("gateway_services.form.fields.tags.label"),
992
+ help: o(r)("gateway_services.form.fields.tags.help"),
993
+ label: o(r)("gateway_services.form.fields.tags.label"),
978
994
  "label-attributes": {
979
- info: l(r)("gateway_services.form.fields.tags.tooltip"),
995
+ info: o(r)("gateway_services.form.fields.tags.tooltip"),
980
996
  tooltipAttributes: { maxWidth: "400" }
981
997
  },
982
998
  name: "tags",
983
- placeholder: l(r)("gateway_services.form.fields.tags.placeholder"),
999
+ placeholder: o(r)("gateway_services.form.fields.tags.placeholder"),
984
1000
  readonly: e.isReadonly,
985
1001
  type: "text"
986
1002
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
987
1003
  ]),
988
1004
  _: 1
989
1005
  }, 8, ["description", "hide-info-header", "title"]),
990
- u(l(Ie), {
991
- description: l(r)("gateway_services.form.sections.keys.description"),
1006
+ u(o(Ee), {
1007
+ description: o(r)("gateway_services.form.sections.keys.description"),
992
1008
  "hide-info-header": a.hideSectionsInfo,
993
- title: l(r)("gateway_services.form.sections.keys.title")
1009
+ title: o(r)("gateway_services.form.sections.keys.title")
994
1010
  }, {
995
- default: p(() => [
996
- j.value ? $("", !0) : (V(), E("div", bt, [
997
- C("div", ht, [
998
- u(n, { required: "" }, {
999
- default: p(() => [
1000
- P(b(l(r)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
1011
+ default: f(() => [
1012
+ O.value ? F("", !0) : (S(), P("div", Vt, [
1013
+ k("div", St, [
1014
+ u(I, { required: "" }, {
1015
+ default: f(() => [
1016
+ U(_(o(r)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
1001
1017
  ]),
1002
1018
  _: 1
1003
1019
  })
1004
1020
  ]),
1005
- C("div", wt, [
1006
- u(f, {
1007
- modelValue: k.value,
1008
- "onUpdate:modelValue": i[2] || (i[2] = (c) => k.value = c),
1021
+ k("div", It, [
1022
+ u(h, {
1023
+ modelValue: g.value,
1024
+ "onUpdate:modelValue": i[2] || (i[2] = (c) => g.value = c),
1009
1025
  "data-testid": "gateway-service-url-radio",
1010
- "selected-value": I.url,
1011
- onChange: Z
1026
+ "selected-value": se.url,
1027
+ onChange: j
1012
1028
  }, {
1013
- default: p(() => [
1014
- P(b(l(r)("gateway_services.form.sections.keys.urlLabel")), 1)
1029
+ default: f(() => [
1030
+ U(_(o(r)("gateway_services.form.sections.keys.urlLabel")), 1)
1015
1031
  ]),
1016
1032
  _: 1
1017
1033
  }, 8, ["modelValue", "selected-value"])
1018
1034
  ]),
1019
- k.value === "url" ? (V(), E("div", kt, [
1020
- u(g, {
1035
+ g.value === "url" ? (S(), P("div", Tt, [
1036
+ u(y, {
1021
1037
  modelValue: e.fields.url,
1022
1038
  "onUpdate:modelValue": i[3] || (i[3] = (c) => e.fields.url = c),
1023
1039
  modelModifiers: { trim: !0 },
1024
1040
  class: "gateway-service-url-input gateway-service-form-margin-bottom",
1025
1041
  "data-testid": "gateway-service-url-input",
1026
- label: l(r)("gateway_services.form.fields.upstream_url.label"),
1042
+ label: o(r)("gateway_services.form.fields.upstream_url.label"),
1027
1043
  "label-attributes": {
1028
- info: a.config.app === "konnect" ? l(r)("gateway_services.form.fields.upstream_url.tooltip_for_konnect") : l(r)("gateway_services.form.fields.upstream_url.tooltip_for_km"),
1044
+ info: a.config.app === "konnect" ? o(r)("gateway_services.form.fields.upstream_url.tooltip_for_konnect") : o(r)("gateway_services.form.fields.upstream_url.tooltip_for_km"),
1029
1045
  tooltipAttributes: { maxWidth: "400" }
1030
1046
  },
1031
1047
  name: "url",
1032
- placeholder: l(r)("gateway_services.form.fields.upstream_url.placeholder"),
1048
+ placeholder: o(r)("gateway_services.form.fields.upstream_url.placeholder"),
1033
1049
  required: ""
1034
1050
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
1035
- ])) : $("", !0),
1036
- u(f, {
1037
- modelValue: k.value,
1038
- "onUpdate:modelValue": i[4] || (i[4] = (c) => k.value = c),
1051
+ ])) : F("", !0),
1052
+ u(h, {
1053
+ modelValue: g.value,
1054
+ "onUpdate:modelValue": i[4] || (i[4] = (c) => g.value = c),
1039
1055
  "checked-group": "protocol",
1040
1056
  "data-testid": "gateway-service-protocol-radio",
1041
- "selected-value": I.protocol,
1042
- onChange: Z
1057
+ "selected-value": se.protocol,
1058
+ onChange: j
1043
1059
  }, {
1044
- default: p(() => [
1045
- P(b(l(r)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
1060
+ default: f(() => [
1061
+ U(_(o(r)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
1046
1062
  ]),
1047
1063
  _: 1
1048
1064
  }, 8, ["modelValue", "selected-value"])
1049
1065
  ])),
1050
- k.value === "protocol" || j.value ? (V(), E("div", Ct, [
1051
- u(m, {
1066
+ g.value === "protocol" || O.value ? (S(), P("div", Et, [
1067
+ u(n, {
1052
1068
  modelValue: e.fields.protocol,
1053
1069
  "onUpdate:modelValue": i[5] || (i[5] = (c) => e.fields.protocol = c),
1054
1070
  "data-testid": "gateway-service-protocol-select",
1055
- items: Q,
1056
- label: l(r)("gateway_services.form.fields.protocol.label"),
1071
+ items: W,
1072
+ label: o(r)("gateway_services.form.fields.protocol.label"),
1057
1073
  "label-attributes": {
1058
- info: l(r)("gateway_services.form.fields.protocol.tooltip"),
1074
+ info: o(r)("gateway_services.form.fields.protocol.tooltip"),
1059
1075
  tooltipAttributes: { maxWidth: "400" }
1060
1076
  },
1061
1077
  readonly: e.isReadonly,
1062
1078
  required: "",
1063
1079
  width: "100%",
1064
- onSelected: i[6] || (i[6] = (c) => X(e.fields.protocol, c))
1080
+ onSelected: i[6] || (i[6] = (c) => Q(e.fields.protocol, c))
1065
1081
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
1066
- u(g, {
1082
+ u(y, {
1067
1083
  modelValue: e.fields.host,
1068
1084
  "onUpdate:modelValue": i[7] || (i[7] = (c) => e.fields.host = c),
1069
1085
  modelModifiers: { trim: !0 },
1070
1086
  class: "gateway-service-form-margin-top",
1071
1087
  "data-testid": "gateway-service-host-input",
1072
- label: l(r)("gateway_services.form.fields.host.label"),
1088
+ label: o(r)("gateway_services.form.fields.host.label"),
1073
1089
  "label-attributes": {
1074
- info: l(r)("gateway_services.form.fields.host.tooltip"),
1090
+ info: o(r)("gateway_services.form.fields.host.tooltip"),
1075
1091
  tooltipAttributes: { maxWidth: "400" }
1076
1092
  },
1077
1093
  name: "host",
1078
- placeholder: l(r)("gateway_services.form.fields.host.placeholder"),
1094
+ placeholder: o(r)("gateway_services.form.fields.host.placeholder"),
1079
1095
  required: ""
1080
1096
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
1081
- se.value ? (V(), E("div", Vt, [
1082
- u(g, {
1097
+ X.value ? (S(), P("div", Pt, [
1098
+ u(y, {
1083
1099
  modelValue: e.fields.path,
1084
1100
  "onUpdate:modelValue": i[8] || (i[8] = (c) => e.fields.path = c),
1085
1101
  modelModifiers: { trim: !0 },
1086
1102
  class: "gateway-service-form-margin-top",
1087
1103
  "data-testid": "gateway-service-path-input",
1088
- label: l(r)("gateway_services.form.fields.path.label"),
1104
+ label: o(r)("gateway_services.form.fields.path.label"),
1089
1105
  "label-attributes": {
1090
- info: l(r)("gateway_services.form.fields.path.tooltip"),
1106
+ info: o(r)("gateway_services.form.fields.path.tooltip"),
1091
1107
  tooltipAttributes: { maxWidth: "400" }
1092
1108
  },
1093
1109
  name: "path",
1094
- placeholder: l(r)("gateway_services.form.fields.path.placeholder")
1110
+ placeholder: o(r)("gateway_services.form.fields.path.placeholder")
1095
1111
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
1096
- ])) : $("", !0),
1097
- u(g, {
1112
+ ])) : F("", !0),
1113
+ u(y, {
1098
1114
  modelValue: e.fields.port,
1099
1115
  "onUpdate:modelValue": [
1100
1116
  i[9] || (i[9] = (c) => e.fields.port = c),
1101
1117
  i[10] || (i[10] = () => {
1102
- e.fields.port = K(e.fields.port + "");
1118
+ e.fields.port = V(e.fields.port + "");
1103
1119
  })
1104
1120
  ],
1105
1121
  class: "gateway-service-form-margin-top",
1106
1122
  "data-testid": "gateway-service-port-input",
1107
- label: l(r)("gateway_services.form.fields.port.label"),
1123
+ label: o(r)("gateway_services.form.fields.port.label"),
1108
1124
  "label-attributes": {
1109
- info: l(r)("gateway_services.form.fields.port.tooltip"),
1125
+ info: o(r)("gateway_services.form.fields.port.tooltip"),
1110
1126
  tooltipAttributes: { maxWidth: "400" }
1111
1127
  },
1112
1128
  name: "port",
1113
1129
  type: "number"
1114
1130
  }, null, 8, ["modelValue", "label", "label-attributes"])
1115
- ])) : $("", !0),
1116
- u(B, {
1117
- modelValue: U.value,
1118
- "onUpdate:modelValue": i[24] || (i[24] = (c) => U.value = c),
1131
+ ])) : F("", !0),
1132
+ u(v, {
1133
+ modelValue: R.value,
1134
+ "onUpdate:modelValue": i[24] || (i[24] = (c) => R.value = c),
1119
1135
  "data-testid": "advanced-fields-collapse",
1120
1136
  "trigger-alignment": "leading",
1121
- "trigger-label": l(r)("gateway_services.form.sections.keys.viewAdvancedFields")
1137
+ "trigger-label": o(r)("gateway_services.form.sections.keys.viewAdvancedFields")
1122
1138
  }, {
1123
- default: p(() => [
1124
- C("div", St, [
1125
- C("div", It, [
1126
- u(g, {
1139
+ default: f(() => [
1140
+ k("div", Ut, [
1141
+ k("div", Rt, [
1142
+ u(y, {
1127
1143
  modelValue: e.fields.retries,
1128
1144
  "onUpdate:modelValue": [
1129
1145
  i[11] || (i[11] = (c) => e.fields.retries = c),
1130
1146
  i[12] || (i[12] = () => {
1131
- e.fields.retries = K(e.fields.retries + "");
1147
+ e.fields.retries = V(e.fields.retries + "");
1132
1148
  })
1133
1149
  ],
1134
1150
  autocomplete: "off",
1135
1151
  "data-testid": "gateway-service-retries-input",
1136
- label: l(r)("gateway_services.form.fields.retries.label"),
1152
+ label: o(r)("gateway_services.form.fields.retries.label"),
1137
1153
  "label-attributes": {
1138
- info: l(r)("gateway_services.form.fields.retries.tooltip"),
1154
+ info: o(r)("gateway_services.form.fields.retries.tooltip"),
1139
1155
  tooltipAttributes: { maxWidth: "400" }
1140
1156
  },
1141
1157
  name: "retries",
@@ -1143,20 +1159,20 @@ const ue = {
1143
1159
  type: "number"
1144
1160
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1145
1161
  ]),
1146
- C("div", Tt, [
1147
- u(g, {
1162
+ k("div", Mt, [
1163
+ u(y, {
1148
1164
  modelValue: e.fields.connect_timeout,
1149
1165
  "onUpdate:modelValue": [
1150
1166
  i[13] || (i[13] = (c) => e.fields.connect_timeout = c),
1151
1167
  i[14] || (i[14] = () => {
1152
- e.fields.connect_timeout = K(e.fields.connect_timeout + "");
1168
+ e.fields.connect_timeout = V(e.fields.connect_timeout + "");
1153
1169
  })
1154
1170
  ],
1155
1171
  autocomplete: "off",
1156
1172
  "data-testid": "gateway-service-connTimeout-input",
1157
- label: l(r)("gateway_services.form.fields.connect_timeout.label"),
1173
+ label: o(r)("gateway_services.form.fields.connect_timeout.label"),
1158
1174
  "label-attributes": {
1159
- info: l(r)("gateway_services.form.fields.connect_timeout.tooltip"),
1175
+ info: o(r)("gateway_services.form.fields.connect_timeout.tooltip"),
1160
1176
  tooltipAttributes: { maxWidth: "400" }
1161
1177
  },
1162
1178
  name: "connTimeout",
@@ -1164,20 +1180,20 @@ const ue = {
1164
1180
  type: "number"
1165
1181
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1166
1182
  ]),
1167
- C("div", Et, [
1168
- u(g, {
1183
+ k("div", xt, [
1184
+ u(y, {
1169
1185
  modelValue: e.fields.write_timeout,
1170
1186
  "onUpdate:modelValue": [
1171
1187
  i[15] || (i[15] = (c) => e.fields.write_timeout = c),
1172
1188
  i[16] || (i[16] = () => {
1173
- e.fields.write_timeout = K(e.fields.write_timeout + "");
1189
+ e.fields.write_timeout = V(e.fields.write_timeout + "");
1174
1190
  })
1175
1191
  ],
1176
1192
  autocomplete: "off",
1177
1193
  "data-testid": "gateway-service-writeTimeout-input",
1178
- label: l(r)("gateway_services.form.fields.write_timeout.label"),
1194
+ label: o(r)("gateway_services.form.fields.write_timeout.label"),
1179
1195
  "label-attributes": {
1180
- info: l(r)("gateway_services.form.fields.write_timeout.tooltip"),
1196
+ info: o(r)("gateway_services.form.fields.write_timeout.tooltip"),
1181
1197
  tooltipAttributes: { maxWidth: "400" }
1182
1198
  },
1183
1199
  name: "writeTimeout",
@@ -1185,20 +1201,20 @@ const ue = {
1185
1201
  type: "number"
1186
1202
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1187
1203
  ]),
1188
- C("div", Pt, [
1189
- u(g, {
1204
+ k("div", $t, [
1205
+ u(y, {
1190
1206
  modelValue: e.fields.read_timeout,
1191
1207
  "onUpdate:modelValue": [
1192
1208
  i[17] || (i[17] = (c) => e.fields.read_timeout = c),
1193
1209
  i[18] || (i[18] = () => {
1194
- e.fields.read_timeout = K(e.fields.read_timeout + "");
1210
+ e.fields.read_timeout = V(e.fields.read_timeout + "");
1195
1211
  })
1196
1212
  ],
1197
1213
  autocomplete: "off",
1198
1214
  "data-testid": "gateway-service-readTimeout-input",
1199
- label: l(r)("gateway_services.form.fields.read_timeout.label"),
1215
+ label: o(r)("gateway_services.form.fields.read_timeout.label"),
1200
1216
  "label-attributes": {
1201
- info: l(r)("gateway_services.form.fields.read_timeout.tooltip"),
1217
+ info: o(r)("gateway_services.form.fields.read_timeout.tooltip"),
1202
1218
  tooltipAttributes: { maxWidth: "400" }
1203
1219
  },
1204
1220
  name: "readTimeout",
@@ -1206,95 +1222,95 @@ const ue = {
1206
1222
  type: "number"
1207
1223
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
1208
1224
  ]),
1209
- ve.value ? (V(), E("div", Ut, [
1210
- u(g, {
1225
+ _e.value ? (S(), P("div", At, [
1226
+ u(y, {
1211
1227
  modelValue: e.fields.client_certificate,
1212
1228
  "onUpdate:modelValue": i[19] || (i[19] = (c) => e.fields.client_certificate = c),
1213
1229
  modelModifiers: { trim: !0 },
1214
1230
  autocomplete: "off",
1215
1231
  "data-testid": "gateway-service-clientCert-input",
1216
- label: l(r)("gateway_services.form.fields.client_certificate.label"),
1232
+ label: o(r)("gateway_services.form.fields.client_certificate.label"),
1217
1233
  "label-attributes": {
1218
- info: l(r)("gateway_services.form.fields.client_certificate.tooltip"),
1234
+ info: o(r)("gateway_services.form.fields.client_certificate.tooltip"),
1219
1235
  tooltipAttributes: { maxWidth: "400" }
1220
1236
  },
1221
1237
  name: "clientCert",
1222
- placeholder: l(r)("gateway_services.form.fields.client_certificate.placeholder"),
1238
+ placeholder: o(r)("gateway_services.form.fields.client_certificate.placeholder"),
1223
1239
  readonly: e.isReadonly,
1224
1240
  type: "text"
1225
1241
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
1226
- ])) : $("", !0),
1227
- ye.value ? (V(), E("div", Rt, [
1228
- u(g, {
1242
+ ])) : F("", !0),
1243
+ be.value ? (S(), P("div", Ft, [
1244
+ u(y, {
1229
1245
  modelValue: e.fields.ca_certificates,
1230
1246
  "onUpdate:modelValue": i[20] || (i[20] = (c) => e.fields.ca_certificates = c),
1231
1247
  modelModifiers: { trim: !0 },
1232
1248
  autocomplete: "off",
1233
1249
  "data-testid": "gateway-service-ca-certs-input",
1234
- label: l(r)("gateway_services.form.fields.ca_certificates.label"),
1250
+ label: o(r)("gateway_services.form.fields.ca_certificates.label"),
1235
1251
  "label-attributes": { tooltipAttributes: { maxWidth: "400" } },
1236
- placeholder: l(r)("gateway_services.form.fields.ca_certificates.placeholder"),
1252
+ placeholder: o(r)("gateway_services.form.fields.ca_certificates.placeholder"),
1237
1253
  readonly: e.isReadonly,
1238
1254
  type: "text"
1239
1255
  }, {
1240
- "label-tooltip": p(() => [
1241
- u(l(F), {
1256
+ "label-tooltip": f(() => [
1257
+ u(o(L), {
1242
1258
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
1243
1259
  scope: "global"
1244
1260
  }, {
1245
- code1: p(() => [
1246
- C("code", null, b(l(r)("gateway_services.form.fields.ca_certificates.code1")), 1)
1261
+ code1: f(() => [
1262
+ k("code", null, _(o(r)("gateway_services.form.fields.ca_certificates.code1")), 1)
1247
1263
  ]),
1248
- code2: p(() => [
1249
- C("code", null, b(l(r)("gateway_services.form.fields.ca_certificates.code2")), 1)
1264
+ code2: f(() => [
1265
+ k("code", null, _(o(r)("gateway_services.form.fields.ca_certificates.code2")), 1)
1250
1266
  ]),
1251
1267
  _: 1
1252
1268
  })
1253
1269
  ]),
1254
1270
  _: 1
1255
1271
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
1256
- ])) : $("", !0),
1257
- ge.value ? (V(), E("div", xt, [
1258
- u(o, {
1272
+ ])) : F("", !0),
1273
+ he.value ? (S(), P("div", Bt, [
1274
+ u(l, {
1259
1275
  modelValue: e.fields.tls_verify_enabled,
1260
1276
  "onUpdate:modelValue": i[21] || (i[21] = (c) => e.fields.tls_verify_enabled = c),
1261
1277
  "data-testid": "gateway-service-tls-verify-checkbox",
1262
- description: l(r)("gateway_services.form.fields.tls_verify_enabled.help"),
1263
- label: l(r)("gateway_services.form.fields.tls_verify_enabled.label"),
1278
+ description: o(r)("gateway_services.form.fields.tls_verify_enabled.help"),
1279
+ label: o(r)("gateway_services.form.fields.tls_verify_enabled.label"),
1264
1280
  "label-attributes": { tooltipAttributes: { maxWidth: "400" } }
1265
1281
  }, {
1266
- tooltip: p(() => [
1267
- u(l(F), {
1282
+ tooltip: f(() => [
1283
+ u(o(L), {
1268
1284
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
1269
1285
  scope: "global"
1270
1286
  }, {
1271
- code1: p(() => [
1272
- C("code", null, b(l(r)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
1287
+ code1: f(() => [
1288
+ k("code", null, _(o(r)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
1273
1289
  ]),
1274
1290
  _: 1
1275
1291
  })
1276
1292
  ]),
1277
1293
  _: 1
1278
1294
  }, 8, ["modelValue", "description", "label"]),
1279
- e.fields.tls_verify_enabled ? (V(), E("div", Mt, [
1280
- u(f, {
1295
+ e.fields.tls_verify_enabled ? (S(), P("div", Dt, [
1296
+ u(h, {
1281
1297
  modelValue: e.fields.tls_verify_value,
1282
1298
  "onUpdate:modelValue": i[22] || (i[22] = (c) => e.fields.tls_verify_value = c),
1283
1299
  "data-testid": "gateway-service-tls-verify-true-option",
1284
- label: l(r)("gateway_services.form.fields.tls_verify_option.true.label"),
1300
+ label: o(r)("gateway_services.form.fields.tls_verify_option.true.label"),
1285
1301
  "selected-value": !0
1286
1302
  }, null, 8, ["modelValue", "label"])
1287
- ])) : $("", !0),
1288
- e.fields.tls_verify_enabled ? (V(), E("div", At, [
1289
- u(f, {
1303
+ ])) : F("", !0),
1304
+ e.fields.tls_verify_enabled ? (S(), P("div", Lt, [
1305
+ u(h, {
1290
1306
  modelValue: e.fields.tls_verify_value,
1291
1307
  "onUpdate:modelValue": i[23] || (i[23] = (c) => e.fields.tls_verify_value = c),
1292
1308
  "data-testid": "gateway-service-tls-verify-false-option",
1293
- label: l(r)("gateway_services.form.fields.tls_verify_option.false.label"),
1309
+ label: o(r)("gateway_services.form.fields.tls_verify_option.false.label"),
1294
1310
  "selected-value": !1
1295
1311
  }, null, 8, ["modelValue", "label"])
1296
- ])) : $("", !0)
1297
- ])) : $("", !0)
1312
+ ])) : F("", !0)
1313
+ ])) : F("", !0)
1298
1314
  ])
1299
1315
  ]),
1300
1316
  _: 1
@@ -1308,7 +1324,7 @@ const ue = {
1308
1324
  ]);
1309
1325
  };
1310
1326
  }
1311
- }), Nt = /* @__PURE__ */ Ue($t, [["__scopeId", "data-v-35e0db56"]]), Ft = { class: "kong-ui-gateway-service-entity-config-card" }, Ot = /* @__PURE__ */ ke({
1327
+ }), Ht = /* @__PURE__ */ Me(Gt, [["__scopeId", "data-v-35e0db56"]]), Kt = { class: "kong-ui-gateway-service-entity-config-card" }, Jt = /* @__PURE__ */ Se({
1312
1328
  __name: "GatewayServiceConfigCard",
1313
1329
  props: {
1314
1330
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1335,122 +1351,122 @@ const ue = {
1335
1351
  },
1336
1352
  emits: ["loading", "fetch:error", "fetch:success"],
1337
1353
  setup(a) {
1338
- const A = a, { i18n: { t: v }, i18nT: d } = ue.useI18n(), s = h(() => oe.form[A.config.app].edit), { getPropValue: U } = et(), D = (r, S) => U(r, S) === !0 ? v("gateway_services.form.fields.tls_verify_option.true.display") : v("gateway_services.form.fields.tls_verify_option.false.display"), F = T({
1354
+ const B = a, { i18n: { t: p }, i18nT: d } = me.useI18n(), s = w(() => oe.form[B.config.app].edit), { getPropValue: R } = it(), G = (r, E) => R(r, E) === !0 ? p("gateway_services.form.fields.tls_verify_option.true.display") : p("gateway_services.form.fields.tls_verify_option.false.display"), L = T({
1339
1355
  id: {},
1340
1356
  name: {
1341
- tooltip: v("gateway_services.form.fields.name.tooltip")
1357
+ tooltip: p("gateway_services.form.fields.name.tooltip")
1342
1358
  },
1343
1359
  enabled: {},
1344
1360
  updated_at: {},
1345
1361
  created_at: {},
1346
1362
  protocol: {
1347
- section: ne.Basic,
1348
- tooltip: v("gateway_services.form.fields.protocol.tooltip")
1363
+ section: ue.Basic,
1364
+ tooltip: p("gateway_services.form.fields.protocol.tooltip")
1349
1365
  },
1350
1366
  host: {
1351
- section: ne.Basic,
1352
- tooltip: v("gateway_services.form.fields.host.tooltip")
1367
+ section: ue.Basic,
1368
+ tooltip: p("gateway_services.form.fields.host.tooltip")
1353
1369
  },
1354
1370
  path: {
1355
- section: ne.Basic,
1356
- tooltip: v("gateway_services.form.fields.path.tooltip")
1371
+ section: ue.Basic,
1372
+ tooltip: p("gateway_services.form.fields.path.tooltip")
1357
1373
  },
1358
1374
  port: {
1359
- section: ne.Basic,
1360
- tooltip: v("gateway_services.form.fields.port.tooltip")
1375
+ section: ue.Basic,
1376
+ tooltip: p("gateway_services.form.fields.port.tooltip")
1361
1377
  },
1362
1378
  tags: {
1363
- tooltip: v("gateway_services.form.fields.tags.tooltip")
1379
+ tooltip: p("gateway_services.form.fields.tags.tooltip")
1364
1380
  },
1365
1381
  // advanced fields
1366
1382
  retries: {
1367
1383
  order: 1,
1368
- tooltip: v("gateway_services.form.fields.retries.tooltip")
1384
+ tooltip: p("gateway_services.form.fields.retries.tooltip")
1369
1385
  },
1370
1386
  connect_timeout: {
1371
1387
  order: 2,
1372
- tooltip: v("gateway_services.form.fields.connect_timeout.tooltip")
1388
+ tooltip: p("gateway_services.form.fields.connect_timeout.tooltip")
1373
1389
  },
1374
1390
  write_timeout: {
1375
1391
  order: 3,
1376
- tooltip: v("gateway_services.form.fields.write_timeout.tooltip")
1392
+ tooltip: p("gateway_services.form.fields.write_timeout.tooltip")
1377
1393
  },
1378
1394
  read_timeout: {
1379
1395
  order: 4,
1380
- tooltip: v("gateway_services.form.fields.read_timeout.tooltip")
1396
+ tooltip: p("gateway_services.form.fields.read_timeout.tooltip")
1381
1397
  },
1382
1398
  client_certificate: {
1383
1399
  order: 5,
1384
- tooltip: v("gateway_services.form.fields.client_certificate.tooltip")
1400
+ tooltip: p("gateway_services.form.fields.client_certificate.tooltip")
1385
1401
  },
1386
1402
  ca_certificates: {
1387
- type: tt.BadgeTag,
1388
- label: v("gateway_services.form.fields.ca_certificates.label"),
1403
+ type: st.BadgeTag,
1404
+ label: p("gateway_services.form.fields.ca_certificates.label"),
1389
1405
  order: 6
1390
1406
  },
1391
1407
  tls_verify: {
1392
- label: v("gateway_services.form.fields.tls_verify_enabled.label")
1408
+ label: p("gateway_services.form.fields.tls_verify_enabled.label")
1393
1409
  },
1394
1410
  tls_verify_depth: {
1395
1411
  hidden: !0
1396
1412
  }
1397
1413
  });
1398
- return (r, S) => (V(), E("div", Ft, [
1399
- u(l(lt), {
1414
+ return (r, E) => (S(), P("div", Kt, [
1415
+ u(o(rt), {
1400
1416
  config: a.config,
1401
1417
  "config-card-doc": a.configCardDoc,
1402
- "config-schema": F.value,
1403
- "entity-type": l(Pe).GatewayService,
1418
+ "config-schema": L.value,
1419
+ "entity-type": o(Re).GatewayService,
1404
1420
  "fetch-url": s.value,
1405
1421
  "hide-title": a.hideTitle,
1406
- "onFetch:error": S[0] || (S[0] = (w) => r.$emit("fetch:error", w)),
1407
- "onFetch:success": S[1] || (S[1] = (w) => r.$emit("fetch:success", w)),
1408
- onLoading: S[2] || (S[2] = (w) => r.$emit("loading", w))
1422
+ "onFetch:error": E[0] || (E[0] = (C) => r.$emit("fetch:error", C)),
1423
+ "onFetch:success": E[1] || (E[1] = (C) => r.$emit("fetch:success", C)),
1424
+ onLoading: E[2] || (E[2] = (C) => r.$emit("loading", C))
1409
1425
  }, {
1410
- "enabled-label-tooltip": p(() => [
1411
- u(l(d), {
1426
+ "enabled-label-tooltip": f(() => [
1427
+ u(o(d), {
1412
1428
  keypath: "gateway_services.form.fields.enabled.tooltip",
1413
1429
  scope: "global"
1414
1430
  }, {
1415
- false: p(() => [
1416
- C("code", null, b(l(v)("gateway_services.form.fields.enabled.false")), 1)
1431
+ false: f(() => [
1432
+ k("code", null, _(o(p)("gateway_services.form.fields.enabled.false")), 1)
1417
1433
  ]),
1418
- true: p(() => [
1419
- C("code", null, b(l(v)("gateway_services.form.fields.enabled.true")), 1)
1434
+ true: f(() => [
1435
+ k("code", null, _(o(p)("gateway_services.form.fields.enabled.true")), 1)
1420
1436
  ]),
1421
1437
  _: 1
1422
1438
  })
1423
1439
  ]),
1424
- "ca_certificates-label-tooltip": p(() => [
1425
- u(l(d), {
1440
+ "ca_certificates-label-tooltip": f(() => [
1441
+ u(o(d), {
1426
1442
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
1427
1443
  scope: "global"
1428
1444
  }, {
1429
- code1: p(() => [
1430
- C("code", null, b(l(v)("gateway_services.form.fields.ca_certificates.code1")), 1)
1445
+ code1: f(() => [
1446
+ k("code", null, _(o(p)("gateway_services.form.fields.ca_certificates.code1")), 1)
1431
1447
  ]),
1432
- code2: p(() => [
1433
- C("code", null, b(l(v)("gateway_services.form.fields.ca_certificates.code2")), 1)
1448
+ code2: f(() => [
1449
+ k("code", null, _(o(p)("gateway_services.form.fields.ca_certificates.code2")), 1)
1434
1450
  ]),
1435
1451
  _: 1
1436
1452
  })
1437
1453
  ]),
1438
- "tls_verify-label-tooltip": p(() => [
1439
- u(l(d), {
1454
+ "tls_verify-label-tooltip": f(() => [
1455
+ u(o(d), {
1440
1456
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
1441
1457
  scope: "global"
1442
1458
  }, {
1443
- code1: p(() => [
1444
- C("code", null, b(l(v)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
1459
+ code1: f(() => [
1460
+ k("code", null, _(o(p)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
1445
1461
  ]),
1446
1462
  _: 1
1447
1463
  })
1448
1464
  ]),
1449
- tls_verify: p((w) => [
1450
- P(b(typeof l(U)("rowValue", w) == "boolean" ? D("rowValue", w) : l(v)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
1465
+ tls_verify: f((C) => [
1466
+ U(_(typeof o(R)("rowValue", C) == "boolean" ? G("rowValue", C) : o(p)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
1451
1467
  ]),
1452
- client_certificate: p((w) => [
1453
- P(b(l(U)("rowValue", w) ? l(U)("rowValue", w).id : "–"), 1)
1468
+ client_certificate: f((C) => [
1469
+ U(_(o(R)("rowValue", C) ? o(R)("rowValue", C).id : "–"), 1)
1454
1470
  ]),
1455
1471
  _: 1
1456
1472
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
@@ -1458,7 +1474,7 @@ const ue = {
1458
1474
  }
1459
1475
  });
1460
1476
  export {
1461
- Ot as GatewayServiceConfigCard,
1462
- Nt as GatewayServiceForm,
1463
- qt as GatewayServiceList
1477
+ Jt as GatewayServiceConfigCard,
1478
+ Ht as GatewayServiceForm,
1479
+ zt as GatewayServiceList
1464
1480
  };