@kong-ui-public/entities-plugins 9.158.5 → 9.159.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,12 +1,12 @@
|
|
|
1
1
|
var sp = Object.defineProperty;
|
|
2
2
|
var lp = (e, t, n) => t in e ? sp(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var vt = (e, t, n) => lp(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { defineComponent as he, useModel as Fi, inject as At, ref as X, computed as S, onMounted as $n, resolveComponent as
|
|
4
|
+
import { defineComponent as he, useModel as Fi, inject as At, ref as X, computed as S, onMounted as $n, resolveComponent as re, openBlock as w, createBlock as L, toRef as ot, createElementBlock as V, createVNode as C, isRef as Br, unref as l, markRaw as up, provide as qt, withCtx as A, createElementVNode as K, Fragment as Fe, renderList as Ge, toDisplayString as W, createCommentVNode as ue, toValue as Je, readonly as Uu, watch as De, onBeforeUnmount as Bu, reactive as Ni, useSlots as Xt, toRaw as ho, onUnmounted as Gr, useAttrs as Hn, mergeProps as Xe, createSlots as et, renderSlot as Be, normalizeProps as Vt, guardReactiveProps as Jt, createPropsRestProxy as cn, withDirectives as Mt, resolveDynamicComponent as bt, vShow as Lt, Transition as cp, useId as fi, onBeforeMount as pi, withModifiers as mt, normalizeClass as Qe, createTextVNode as Ae, mergeModels as la, useTemplateRef as st, withKeys as Vs, nextTick as Yt, useCssVars as xa, watchEffect as Gu, shallowRef as tn, warn as dp, onScopeDispose as fp, normalizeStyle as ni, Teleport as vo } from "vue";
|
|
5
5
|
import { useStringHelpers as yo, ConfigurationSchemaType as Rt, useAxios as Pn, useErrors as mi, EntityFormBlock as Pa, useHelpers as Aa, FEATURE_FLAGS as pp, EntityBaseFormType as Wn, EntityBaseForm as mp, SupportedEntityType as Ua, DeckCodeBlock as gp, TerraformCodeBlock as hp, YamlCodeBlock as vp, JsonCodeBlock as yp, useTableState as _p, useGatewayFeatureSupported as bp, useFetcher as wp, useDeleteUrlBuilder as kp, FetcherStatus as Cp, EntityBaseTable as Ep, PermissionsWrapper as Yn, TableTags as xp, EntityFilter as Ap, EntityToggleModal as Ip, EntityDeleteModal as zu, EntityTypes as Hu, ConfigCardItem as Sp, ConfigurationSchemaSection as Ci, useSchemaProvider as Tp, EntityBaseConfigCard as Op, InternalLinkItem as Yi } from "@kong-ui-public/entities-shared";
|
|
6
6
|
import { marked as Ba } from "marked";
|
|
7
7
|
import { onBeforeRouteLeave as $p, useRouter as Ia, useRoute as Pp } from "vue-router";
|
|
8
8
|
import { createI18n as kt, i18nTComponent as Np } from "@kong-ui-public/i18n";
|
|
9
|
-
import { PluginGroup as Ve, PLUGIN_GROUP_AND_SCOPE_MAP as
|
|
9
|
+
import { PluginGroup as Ve, PLUGIN_GROUP_AND_SCOPE_MAP as oe, PluginScope as ct, GATEWAY_VERSION_TIMESTAMP_MAP as Rp } from "@kong-ui-public/entities-plugins-metadata";
|
|
10
10
|
import { PluginGroup as IM, PluginScope as SM } from "@kong-ui-public/entities-plugins-metadata";
|
|
11
11
|
import { FORMS_CONFIG as Vi, composables as Fp, getSharedFormName as Wu, customFields as cr, AUTOFILL_SLOT as Nn, VueFormGenerator as zr, AUTOFILL_SLOT_NAME as Sn, FORMS_API_KEY as Mp, sharedForms as Us } from "@kong-ui-public/forms";
|
|
12
12
|
import { VaultSecretPicker as Yu, VaultSecretPickerProvider as Uo } from "@kong-ui-public/entities-vaults";
|
|
@@ -591,6 +591,18 @@ const Nm = {
|
|
|
591
591
|
"ai-lakera-guard": {
|
|
592
592
|
name: "AI Lakera Guard",
|
|
593
593
|
description: "Audit and enforce safety policies on LLM requests and responses using the AI AWS Lakera plugin before they reach upstream LLMs."
|
|
594
|
+
},
|
|
595
|
+
"ai-a2a-proxy": {
|
|
596
|
+
name: "AI A2A Proxy",
|
|
597
|
+
description: "Securely proxy A2A Agents, with real-time RPC tracing and monitoring."
|
|
598
|
+
},
|
|
599
|
+
"ai-custom-guardrail": {
|
|
600
|
+
name: "AI Custom Guardrail",
|
|
601
|
+
description: "Integrate with any 3rd-party Guardrail service, with customizable enforcement modes — choose whether violations block, log, or allow traffic to proceed."
|
|
602
|
+
},
|
|
603
|
+
"metering-billing": {
|
|
604
|
+
name: "Metering & Billing",
|
|
605
|
+
description: "Meter API requests and AI token usage for usage-based billing. Supports flexible customer identification, custom pricing dimensions, and fine-grained traffic filtering. Integrates natively with Konnect Metering & Billing."
|
|
594
606
|
}
|
|
595
607
|
},
|
|
596
608
|
fields: {
|
|
@@ -1462,7 +1474,7 @@ const Zn = (e) => {
|
|
|
1462
1474
|
return $n(() => {
|
|
1463
1475
|
p();
|
|
1464
1476
|
}), (m, g) => {
|
|
1465
|
-
const y =
|
|
1477
|
+
const y = re("KMultiselect");
|
|
1466
1478
|
return w(), L(y, {
|
|
1467
1479
|
items: d.value,
|
|
1468
1480
|
loading: u.value,
|
|
@@ -1993,77 +2005,77 @@ const Zn = (e) => {
|
|
|
1993
2005
|
"config.brute_force_protection.redis": ["config.brute_force_protection.strategy", "redis"]
|
|
1994
2006
|
}
|
|
1995
2007
|
},
|
|
1996
|
-
...
|
|
2008
|
+
...oe["basic-auth"]
|
|
1997
2009
|
},
|
|
1998
2010
|
"hmac-auth": {
|
|
1999
2011
|
descriptionKey: "plugins.meta.hmac-auth.description",
|
|
2000
2012
|
nameKey: "plugins.meta.hmac-auth.name",
|
|
2001
|
-
...
|
|
2013
|
+
...oe["hmac-auth"]
|
|
2002
2014
|
},
|
|
2003
2015
|
"jwt-signer": {
|
|
2004
2016
|
descriptionKey: "plugins.meta.jwt-signer.description",
|
|
2005
2017
|
nameKey: "plugins.meta.jwt-signer.name",
|
|
2006
|
-
...
|
|
2018
|
+
...oe["jwt-signer"]
|
|
2007
2019
|
},
|
|
2008
2020
|
jwt: {
|
|
2009
2021
|
descriptionKey: "plugins.meta.jwt.description",
|
|
2010
2022
|
nameKey: "plugins.meta.jwt.name",
|
|
2011
|
-
...
|
|
2023
|
+
...oe.jwt
|
|
2012
2024
|
},
|
|
2013
2025
|
"key-auth": {
|
|
2014
2026
|
descriptionKey: "plugins.meta.key-auth.description",
|
|
2015
2027
|
nameKey: "plugins.meta.key-auth.name",
|
|
2016
|
-
...
|
|
2028
|
+
...oe["key-auth"]
|
|
2017
2029
|
},
|
|
2018
2030
|
"key-auth-enc": {
|
|
2019
2031
|
descriptionKey: "plugins.meta.key-auth-enc.description",
|
|
2020
2032
|
nameKey: "plugins.meta.key-auth-enc.name",
|
|
2021
|
-
...
|
|
2033
|
+
...oe["key-auth-enc"]
|
|
2022
2034
|
},
|
|
2023
2035
|
"ldap-auth-advanced": {
|
|
2024
2036
|
descriptionKey: "plugins.meta.ldap-auth-advanced.description",
|
|
2025
2037
|
nameKey: "plugins.meta.ldap-auth-advanced.name",
|
|
2026
|
-
...
|
|
2038
|
+
...oe["ldap-auth-advanced"]
|
|
2027
2039
|
},
|
|
2028
2040
|
"ldap-auth": {
|
|
2029
2041
|
descriptionKey: "plugins.meta.ldap-auth.description",
|
|
2030
2042
|
nameKey: "plugins.meta.ldap-auth.name",
|
|
2031
|
-
...
|
|
2043
|
+
...oe["ldap-auth"]
|
|
2032
2044
|
},
|
|
2033
2045
|
"oauth2-introspection": {
|
|
2034
2046
|
descriptionKey: "plugins.meta.oauth2-introspection.description",
|
|
2035
2047
|
nameKey: "plugins.meta.oauth2-introspection.name",
|
|
2036
|
-
...
|
|
2048
|
+
...oe["oauth2-introspection"]
|
|
2037
2049
|
},
|
|
2038
2050
|
oauth2: {
|
|
2039
2051
|
descriptionKey: "plugins.meta.oauth2.description",
|
|
2040
2052
|
nameKey: "plugins.meta.oauth2.name",
|
|
2041
|
-
...
|
|
2053
|
+
...oe.oauth2
|
|
2042
2054
|
},
|
|
2043
2055
|
"openid-connect": {
|
|
2044
2056
|
descriptionKey: "plugins.meta.openid-connect.description",
|
|
2045
2057
|
nameKey: "plugins.meta.openid-connect.name",
|
|
2046
|
-
...
|
|
2058
|
+
...oe["openid-connect"]
|
|
2047
2059
|
},
|
|
2048
2060
|
"mtls-auth": {
|
|
2049
2061
|
descriptionKey: "plugins.meta.mtls-auth.description",
|
|
2050
2062
|
nameKey: "plugins.meta.mtls-auth.name",
|
|
2051
|
-
...
|
|
2063
|
+
...oe["mtls-auth"]
|
|
2052
2064
|
},
|
|
2053
2065
|
"vault-auth": {
|
|
2054
2066
|
descriptionKey: "plugins.meta.vault-auth.description",
|
|
2055
2067
|
nameKey: "plugins.meta.vault-auth.name",
|
|
2056
|
-
...
|
|
2068
|
+
...oe["vault-auth"]
|
|
2057
2069
|
},
|
|
2058
2070
|
"bot-detection": {
|
|
2059
2071
|
descriptionKey: "plugins.meta.bot-detection.description",
|
|
2060
2072
|
nameKey: "plugins.meta.bot-detection.name",
|
|
2061
|
-
...
|
|
2073
|
+
...oe["bot-detection"]
|
|
2062
2074
|
},
|
|
2063
2075
|
cors: {
|
|
2064
2076
|
descriptionKey: "plugins.meta.cors.description",
|
|
2065
2077
|
nameKey: "plugins.meta.cors.name",
|
|
2066
|
-
...
|
|
2078
|
+
...oe.cors
|
|
2067
2079
|
},
|
|
2068
2080
|
"ip-restriction": {
|
|
2069
2081
|
descriptionKey: "plugins.meta.ip-restriction.description",
|
|
@@ -2071,17 +2083,17 @@ const Zn = (e) => {
|
|
|
2071
2083
|
fieldRules: {
|
|
2072
2084
|
atLeastOneOf: [["config.allow", "config.deny"]]
|
|
2073
2085
|
},
|
|
2074
|
-
...
|
|
2086
|
+
...oe["ip-restriction"]
|
|
2075
2087
|
},
|
|
2076
2088
|
opa: {
|
|
2077
2089
|
descriptionKey: "plugins.meta.opa.description",
|
|
2078
2090
|
nameKey: "plugins.meta.opa.name",
|
|
2079
|
-
...
|
|
2091
|
+
...oe.opa
|
|
2080
2092
|
},
|
|
2081
2093
|
"kubernetes-sidecar-injector": {
|
|
2082
2094
|
descriptionKey: "plugins.meta.kubernetes-sidecar-injector.description",
|
|
2083
2095
|
nameKey: "plugins.meta.kubernetes-sidecar-injector.name",
|
|
2084
|
-
...
|
|
2096
|
+
...oe["kubernetes-sidecar-injector"]
|
|
2085
2097
|
},
|
|
2086
2098
|
"request-validator": {
|
|
2087
2099
|
descriptionKey: "plugins.meta.request-validator.description",
|
|
@@ -2089,7 +2101,7 @@ const Zn = (e) => {
|
|
|
2089
2101
|
fieldRules: {
|
|
2090
2102
|
atLeastOneOf: [["config.body_schema", "config.parameter_schema"]]
|
|
2091
2103
|
},
|
|
2092
|
-
...
|
|
2104
|
+
...oe["request-validator"]
|
|
2093
2105
|
},
|
|
2094
2106
|
acl: {
|
|
2095
2107
|
descriptionKey: "plugins.meta.acl.description",
|
|
@@ -2097,7 +2109,7 @@ const Zn = (e) => {
|
|
|
2097
2109
|
fieldRules: {
|
|
2098
2110
|
onlyOneOf: [["config.allow", "config.deny"]]
|
|
2099
2111
|
},
|
|
2100
|
-
...
|
|
2112
|
+
...oe.acl
|
|
2101
2113
|
},
|
|
2102
2114
|
canary: {
|
|
2103
2115
|
descriptionKey: "plugins.meta.canary.description",
|
|
@@ -2105,7 +2117,7 @@ const Zn = (e) => {
|
|
|
2105
2117
|
fieldRules: {
|
|
2106
2118
|
atLeastOneOf: [["config.upstream_uri", "config.upstream_host", "config.upstream_port"]]
|
|
2107
2119
|
},
|
|
2108
|
-
...
|
|
2120
|
+
...oe.canary
|
|
2109
2121
|
},
|
|
2110
2122
|
"forward-proxy": {
|
|
2111
2123
|
descriptionKey: "plugins.meta.forward-proxy.description",
|
|
@@ -2118,27 +2130,27 @@ const Zn = (e) => {
|
|
|
2118
2130
|
]
|
|
2119
2131
|
]
|
|
2120
2132
|
},
|
|
2121
|
-
...
|
|
2133
|
+
...oe["forward-proxy"]
|
|
2122
2134
|
},
|
|
2123
2135
|
"proxy-cache": {
|
|
2124
2136
|
descriptionKey: "plugins.meta.proxy-cache.description",
|
|
2125
2137
|
nameKey: "plugins.meta.proxy-cache.name",
|
|
2126
|
-
...
|
|
2138
|
+
...oe["proxy-cache"]
|
|
2127
2139
|
},
|
|
2128
2140
|
"proxy-cache-advanced": {
|
|
2129
2141
|
descriptionKey: "plugins.meta.proxy-cache-advanced.description",
|
|
2130
2142
|
nameKey: "plugins.meta.proxy-cache-advanced.name",
|
|
2131
|
-
...
|
|
2143
|
+
...oe["proxy-cache-advanced"]
|
|
2132
2144
|
},
|
|
2133
2145
|
"graphql-proxy-cache-advanced": {
|
|
2134
2146
|
descriptionKey: "plugins.meta.graphql-proxy-cache-advanced.description",
|
|
2135
2147
|
nameKey: "plugins.meta.graphql-proxy-cache-advanced.name",
|
|
2136
|
-
...
|
|
2148
|
+
...oe["graphql-proxy-cache-advanced"]
|
|
2137
2149
|
},
|
|
2138
2150
|
"rate-limiting-advanced": {
|
|
2139
2151
|
descriptionKey: "plugins.meta.rate-limiting-advanced.description",
|
|
2140
2152
|
nameKey: "plugins.meta.rate-limiting-advanced.name",
|
|
2141
|
-
...
|
|
2153
|
+
...oe["rate-limiting-advanced"]
|
|
2142
2154
|
},
|
|
2143
2155
|
"rate-limiting": {
|
|
2144
2156
|
descriptionKey: "plugins.meta.rate-limiting.description",
|
|
@@ -2154,12 +2166,12 @@ const Zn = (e) => {
|
|
|
2154
2166
|
"config.redis": ["config.policy", "redis"]
|
|
2155
2167
|
}
|
|
2156
2168
|
},
|
|
2157
|
-
...
|
|
2169
|
+
...oe["rate-limiting"]
|
|
2158
2170
|
},
|
|
2159
2171
|
"graphql-rate-limiting-advanced": {
|
|
2160
2172
|
descriptionKey: "plugins.meta.graphql-rate-limiting-advanced.description",
|
|
2161
2173
|
nameKey: "plugins.meta.graphql-rate-limiting-advanced.name",
|
|
2162
|
-
...
|
|
2174
|
+
...oe["graphql-rate-limiting-advanced"]
|
|
2163
2175
|
},
|
|
2164
2176
|
mocking: {
|
|
2165
2177
|
descriptionKey: "plugins.meta.mocking.description",
|
|
@@ -2167,145 +2179,145 @@ const Zn = (e) => {
|
|
|
2167
2179
|
fieldRules: {
|
|
2168
2180
|
atLeastOneOf: [["config.api_specification_filename", "config.api_specification"]]
|
|
2169
2181
|
},
|
|
2170
|
-
...
|
|
2182
|
+
...oe.mocking
|
|
2171
2183
|
},
|
|
2172
2184
|
"request-size-limiting": {
|
|
2173
2185
|
descriptionKey: "plugins.meta.request-size-limiting.description",
|
|
2174
2186
|
nameKey: "plugins.meta.request-size-limiting.name",
|
|
2175
|
-
...
|
|
2187
|
+
...oe["request-size-limiting"]
|
|
2176
2188
|
},
|
|
2177
2189
|
"request-termination": {
|
|
2178
2190
|
descriptionKey: "plugins.meta.request-termination.description",
|
|
2179
2191
|
nameKey: "plugins.meta.request-termination.name",
|
|
2180
|
-
...
|
|
2192
|
+
...oe["request-termination"]
|
|
2181
2193
|
},
|
|
2182
2194
|
"response-ratelimiting": {
|
|
2183
2195
|
descriptionKey: "plugins.meta.response-ratelimiting.description",
|
|
2184
2196
|
nameKey: "plugins.meta.response-ratelimiting.name",
|
|
2185
|
-
...
|
|
2197
|
+
...oe["response-ratelimiting"]
|
|
2186
2198
|
},
|
|
2187
2199
|
"route-by-header": {
|
|
2188
2200
|
descriptionKey: "plugins.meta.route-by-header.description",
|
|
2189
2201
|
nameKey: "plugins.meta.route-by-header.name",
|
|
2190
|
-
...
|
|
2202
|
+
...oe["route-by-header"]
|
|
2191
2203
|
},
|
|
2192
2204
|
"ai-proxy": {
|
|
2193
2205
|
descriptionKey: "plugins.meta.ai-proxy.description",
|
|
2194
2206
|
nameKey: "plugins.meta.ai-proxy.name",
|
|
2195
2207
|
useLegacyForm: !0,
|
|
2196
|
-
...
|
|
2208
|
+
...oe["ai-proxy"]
|
|
2197
2209
|
},
|
|
2198
2210
|
"ai-prompt-decorator": {
|
|
2199
2211
|
descriptionKey: "plugins.meta.ai-prompt-decorator.description",
|
|
2200
2212
|
nameKey: "plugins.meta.ai-prompt-decorator.name",
|
|
2201
2213
|
useLegacyForm: !0,
|
|
2202
|
-
...
|
|
2214
|
+
...oe["ai-prompt-decorator"]
|
|
2203
2215
|
},
|
|
2204
2216
|
"ai-prompt-template": {
|
|
2205
2217
|
descriptionKey: "plugins.meta.ai-prompt-template.description",
|
|
2206
2218
|
nameKey: "plugins.meta.ai-prompt-template.name",
|
|
2207
2219
|
useLegacyForm: !0,
|
|
2208
|
-
...
|
|
2220
|
+
...oe["ai-prompt-template"]
|
|
2209
2221
|
},
|
|
2210
2222
|
"ai-prompt-guard": {
|
|
2211
2223
|
descriptionKey: "plugins.meta.ai-prompt-guard.description",
|
|
2212
2224
|
nameKey: "plugins.meta.ai-prompt-guard.name",
|
|
2213
2225
|
useLegacyForm: !0,
|
|
2214
|
-
...
|
|
2226
|
+
...oe["ai-prompt-guard"]
|
|
2215
2227
|
},
|
|
2216
2228
|
"ai-request-transformer": {
|
|
2217
2229
|
descriptionKey: "plugins.meta.ai-request-transformer.description",
|
|
2218
2230
|
nameKey: "plugins.meta.ai-request-transformer.name",
|
|
2219
2231
|
useLegacyForm: !0,
|
|
2220
|
-
...
|
|
2232
|
+
...oe["ai-request-transformer"]
|
|
2221
2233
|
},
|
|
2222
2234
|
"ai-response-transformer": {
|
|
2223
2235
|
descriptionKey: "plugins.meta.ai-response-transformer.description",
|
|
2224
2236
|
nameKey: "plugins.meta.ai-response-transformer.name",
|
|
2225
2237
|
useLegacyForm: !0,
|
|
2226
|
-
...
|
|
2238
|
+
...oe["ai-response-transformer"]
|
|
2227
2239
|
},
|
|
2228
2240
|
"ai-rate-limiting-advanced": {
|
|
2229
2241
|
descriptionKey: "plugins.meta.ai-rate-limiting-advanced.description",
|
|
2230
2242
|
nameKey: "plugins.meta.ai-rate-limiting-advanced.name",
|
|
2231
2243
|
useLegacyForm: !0,
|
|
2232
|
-
...
|
|
2244
|
+
...oe["ai-rate-limiting-advanced"]
|
|
2233
2245
|
},
|
|
2234
2246
|
"ai-azure-content-safety": {
|
|
2235
2247
|
descriptionKey: "plugins.meta.ai-azure-content-safety.description",
|
|
2236
2248
|
nameKey: "plugins.meta.ai-azure-content-safety.name",
|
|
2237
2249
|
useLegacyForm: !0,
|
|
2238
|
-
...
|
|
2250
|
+
...oe["ai-azure-content-safety"]
|
|
2239
2251
|
},
|
|
2240
2252
|
"aws-lambda": {
|
|
2241
2253
|
descriptionKey: "plugins.meta.aws-lambda.description",
|
|
2242
2254
|
nameKey: "plugins.meta.aws-lambda.name",
|
|
2243
|
-
...
|
|
2255
|
+
...oe["aws-lambda"]
|
|
2244
2256
|
},
|
|
2245
2257
|
"azure-functions": {
|
|
2246
2258
|
descriptionKey: "plugins.meta.azure-functions.description",
|
|
2247
2259
|
nameKey: "plugins.meta.azure-functions.name",
|
|
2248
|
-
...
|
|
2260
|
+
...oe["azure-functions"]
|
|
2249
2261
|
},
|
|
2250
2262
|
openwhisk: {
|
|
2251
2263
|
descriptionKey: "plugins.meta.openwhisk.description",
|
|
2252
2264
|
nameKey: "plugins.meta.openwhisk.name",
|
|
2253
|
-
...
|
|
2265
|
+
...oe.openwhisk
|
|
2254
2266
|
},
|
|
2255
2267
|
"pre-function": {
|
|
2256
2268
|
descriptionKey: "plugins.meta.pre-function.description",
|
|
2257
2269
|
nameKey: "plugins.meta.pre-function.name",
|
|
2258
|
-
...
|
|
2270
|
+
...oe["pre-function"]
|
|
2259
2271
|
},
|
|
2260
2272
|
"post-function": {
|
|
2261
2273
|
descriptionKey: "plugins.meta.post-function.description",
|
|
2262
2274
|
nameKey: "plugins.meta.post-function.name",
|
|
2263
|
-
...
|
|
2275
|
+
...oe["post-function"]
|
|
2264
2276
|
},
|
|
2265
2277
|
datadog: {
|
|
2266
2278
|
descriptionKey: "plugins.meta.datadog.description",
|
|
2267
2279
|
nameKey: "plugins.meta.datadog.name",
|
|
2268
|
-
...
|
|
2280
|
+
...oe.datadog
|
|
2269
2281
|
},
|
|
2270
2282
|
prometheus: {
|
|
2271
2283
|
descriptionKey: "plugins.meta.prometheus.description",
|
|
2272
2284
|
nameKey: "plugins.meta.prometheus.name",
|
|
2273
|
-
...
|
|
2285
|
+
...oe.prometheus
|
|
2274
2286
|
},
|
|
2275
2287
|
zipkin: {
|
|
2276
2288
|
descriptionKey: "plugins.meta.zipkin.description",
|
|
2277
2289
|
nameKey: "plugins.meta.zipkin.name",
|
|
2278
|
-
...
|
|
2290
|
+
...oe.zipkin
|
|
2279
2291
|
},
|
|
2280
2292
|
collector: {
|
|
2281
2293
|
descriptionKey: "plugins.meta.collector.description",
|
|
2282
2294
|
nameKey: "plugins.meta.collector.name",
|
|
2283
|
-
...
|
|
2295
|
+
...oe.collector
|
|
2284
2296
|
},
|
|
2285
2297
|
"response-transformer-advanced": {
|
|
2286
2298
|
descriptionKey: "plugins.meta.response-transformer-advanced.description",
|
|
2287
2299
|
nameKey: "plugins.meta.response-transformer-advanced.name",
|
|
2288
|
-
...
|
|
2300
|
+
...oe["response-transformer-advanced"]
|
|
2289
2301
|
},
|
|
2290
2302
|
"correlation-id": {
|
|
2291
2303
|
descriptionKey: "plugins.meta.correlation-id.description",
|
|
2292
2304
|
nameKey: "plugins.meta.correlation-id.name",
|
|
2293
|
-
...
|
|
2305
|
+
...oe["correlation-id"]
|
|
2294
2306
|
},
|
|
2295
2307
|
"request-transformer-advanced": {
|
|
2296
2308
|
descriptionKey: "plugins.meta.request-transformer-advanced.description",
|
|
2297
2309
|
nameKey: "plugins.meta.request-transformer-advanced.name",
|
|
2298
|
-
...
|
|
2310
|
+
...oe["request-transformer-advanced"]
|
|
2299
2311
|
},
|
|
2300
2312
|
"request-transformer": {
|
|
2301
2313
|
descriptionKey: "plugins.meta.request-transformer.description",
|
|
2302
2314
|
nameKey: "plugins.meta.request-transformer.name",
|
|
2303
|
-
...
|
|
2315
|
+
...oe["request-transformer"]
|
|
2304
2316
|
},
|
|
2305
2317
|
"response-transformer": {
|
|
2306
2318
|
descriptionKey: "plugins.meta.response-transformer.description",
|
|
2307
2319
|
nameKey: "plugins.meta.response-transformer.name",
|
|
2308
|
-
...
|
|
2320
|
+
...oe["response-transformer"]
|
|
2309
2321
|
},
|
|
2310
2322
|
"route-transformer-advanced": {
|
|
2311
2323
|
descriptionKey: "plugins.meta.route-transformer-advanced.description",
|
|
@@ -2313,22 +2325,22 @@ const Zn = (e) => {
|
|
|
2313
2325
|
fieldRules: {
|
|
2314
2326
|
atLeastOneOf: [["config.path", "config.port", "config.host"]]
|
|
2315
2327
|
},
|
|
2316
|
-
...
|
|
2328
|
+
...oe["route-transformer-advanced"]
|
|
2317
2329
|
},
|
|
2318
2330
|
"kafka-upstream": {
|
|
2319
2331
|
descriptionKey: "plugins.meta.kafka-upstream.description",
|
|
2320
2332
|
nameKey: "plugins.meta.kafka-upstream.name",
|
|
2321
|
-
...
|
|
2333
|
+
...oe["kafka-upstream"]
|
|
2322
2334
|
},
|
|
2323
2335
|
degraphql: {
|
|
2324
2336
|
descriptionKey: "plugins.meta.degraphql.description",
|
|
2325
2337
|
nameKey: "plugins.meta.degraphql.name",
|
|
2326
|
-
...
|
|
2338
|
+
...oe.degraphql
|
|
2327
2339
|
},
|
|
2328
2340
|
"exit-transformer": {
|
|
2329
2341
|
descriptionKey: "plugins.meta.exit-transformer.description",
|
|
2330
2342
|
nameKey: "plugins.meta.exit-transformer.name",
|
|
2331
|
-
...
|
|
2343
|
+
...oe["exit-transformer"]
|
|
2332
2344
|
},
|
|
2333
2345
|
jq: {
|
|
2334
2346
|
descriptionKey: "plugins.meta.jq.description",
|
|
@@ -2336,92 +2348,92 @@ const Zn = (e) => {
|
|
|
2336
2348
|
fieldRules: {
|
|
2337
2349
|
atLeastOneOf: [["config.request_jq_program", "config.response_jq_program"]]
|
|
2338
2350
|
},
|
|
2339
|
-
...
|
|
2351
|
+
...oe.jq
|
|
2340
2352
|
},
|
|
2341
2353
|
"file-log": {
|
|
2342
2354
|
descriptionKey: "plugins.meta.file-log.description",
|
|
2343
2355
|
nameKey: "plugins.meta.file-log.name",
|
|
2344
|
-
...
|
|
2356
|
+
...oe["file-log"]
|
|
2345
2357
|
},
|
|
2346
2358
|
"http-log": {
|
|
2347
2359
|
descriptionKey: "plugins.meta.http-log.description",
|
|
2348
2360
|
nameKey: "plugins.meta.http-log.name",
|
|
2349
|
-
...
|
|
2361
|
+
...oe["http-log"]
|
|
2350
2362
|
},
|
|
2351
2363
|
loggly: {
|
|
2352
2364
|
descriptionKey: "plugins.meta.loggly.description",
|
|
2353
2365
|
nameKey: "plugins.meta.loggly.name",
|
|
2354
|
-
...
|
|
2366
|
+
...oe.loggly
|
|
2355
2367
|
},
|
|
2356
2368
|
"statsd-advanced": {
|
|
2357
2369
|
descriptionKey: "plugins.meta.statsd-advanced.description",
|
|
2358
2370
|
nameKey: "plugins.meta.statsd-advanced.name",
|
|
2359
|
-
...
|
|
2371
|
+
...oe["statsd-advanced"]
|
|
2360
2372
|
},
|
|
2361
2373
|
statsd: {
|
|
2362
2374
|
descriptionKey: "plugins.meta.statsd.description",
|
|
2363
2375
|
nameKey: "plugins.meta.statsd.name",
|
|
2364
|
-
...
|
|
2376
|
+
...oe.statsd
|
|
2365
2377
|
},
|
|
2366
2378
|
syslog: {
|
|
2367
2379
|
descriptionKey: "plugins.meta.syslog.description",
|
|
2368
2380
|
nameKey: "plugins.meta.syslog.name",
|
|
2369
|
-
...
|
|
2381
|
+
...oe.syslog
|
|
2370
2382
|
},
|
|
2371
2383
|
"tcp-log": {
|
|
2372
2384
|
descriptionKey: "plugins.meta.tcp-log.description",
|
|
2373
2385
|
nameKey: "plugins.meta.tcp-log.name",
|
|
2374
|
-
...
|
|
2386
|
+
...oe["tcp-log"]
|
|
2375
2387
|
},
|
|
2376
2388
|
"udp-log": {
|
|
2377
2389
|
descriptionKey: "plugins.meta.udp-log.description",
|
|
2378
2390
|
nameKey: "plugins.meta.udp-log.name",
|
|
2379
|
-
...
|
|
2391
|
+
...oe["udp-log"]
|
|
2380
2392
|
},
|
|
2381
2393
|
"kafka-log": {
|
|
2382
2394
|
descriptionKey: "plugins.meta.kafka-log.description",
|
|
2383
2395
|
nameKey: "plugins.meta.kafka-log.name",
|
|
2384
|
-
...
|
|
2396
|
+
...oe["kafka-log"]
|
|
2385
2397
|
},
|
|
2386
2398
|
session: {
|
|
2387
2399
|
descriptionKey: "plugins.meta.session.description",
|
|
2388
2400
|
nameKey: "plugins.meta.session.name",
|
|
2389
|
-
...
|
|
2401
|
+
...oe.session
|
|
2390
2402
|
},
|
|
2391
2403
|
"upstream-tls": {
|
|
2392
2404
|
descriptionKey: "plugins.meta.upstream-tls.description",
|
|
2393
2405
|
nameKey: "plugins.meta.upstream-tls.name",
|
|
2394
|
-
...
|
|
2406
|
+
...oe["upstream-tls"]
|
|
2395
2407
|
},
|
|
2396
2408
|
"application-registration": {
|
|
2397
2409
|
descriptionKey: "plugins.meta.application-registration.description",
|
|
2398
2410
|
nameKey: "plugins.meta.application-registration.name",
|
|
2399
|
-
...
|
|
2411
|
+
...oe["application-registration"]
|
|
2400
2412
|
},
|
|
2401
2413
|
"konnect-application-auth": {
|
|
2402
2414
|
descriptionKey: "plugins.meta.konnect-application-auth.description",
|
|
2403
2415
|
nameKey: "plugins.meta.konnect-application-auth.name",
|
|
2404
|
-
...
|
|
2416
|
+
...oe["konnect-application-auth"]
|
|
2405
2417
|
},
|
|
2406
2418
|
acme: {
|
|
2407
2419
|
descriptionKey: "plugins.meta.acme.description",
|
|
2408
2420
|
nameKey: "plugins.meta.acme.name",
|
|
2409
|
-
...
|
|
2421
|
+
...oe.acme
|
|
2410
2422
|
},
|
|
2411
2423
|
"grpc-gateway": {
|
|
2412
2424
|
descriptionKey: "plugins.meta.grpc-gateway.description",
|
|
2413
2425
|
nameKey: "plugins.meta.grpc-gateway.name",
|
|
2414
|
-
...
|
|
2426
|
+
...oe["grpc-gateway"]
|
|
2415
2427
|
},
|
|
2416
2428
|
"grpc-web": {
|
|
2417
2429
|
descriptionKey: "plugins.meta.grpc-web.description",
|
|
2418
2430
|
nameKey: "plugins.meta.grpc-web.name",
|
|
2419
|
-
...
|
|
2431
|
+
...oe["grpc-web"]
|
|
2420
2432
|
},
|
|
2421
2433
|
"upstream-timeout": {
|
|
2422
2434
|
descriptionKey: "plugins.meta.upstream-timeout.description",
|
|
2423
2435
|
nameKey: "plugins.meta.upstream-timeout.name",
|
|
2424
|
-
...
|
|
2436
|
+
...oe["upstream-timeout"]
|
|
2425
2437
|
},
|
|
2426
2438
|
// New in Kong 3.0
|
|
2427
2439
|
opentelemetry: {
|
|
@@ -2430,12 +2442,12 @@ const Zn = (e) => {
|
|
|
2430
2442
|
fieldRules: {
|
|
2431
2443
|
atLeastOneOf: [["config.access_logs_endpoint", "config.traces_endpoint", "config.logs_endpoint"]]
|
|
2432
2444
|
},
|
|
2433
|
-
...
|
|
2445
|
+
...oe.opentelemetry
|
|
2434
2446
|
},
|
|
2435
2447
|
"websocket-validator": {
|
|
2436
2448
|
descriptionKey: "plugins.meta.websocket-validator.description",
|
|
2437
2449
|
nameKey: "plugins.meta.websocket-validator.name",
|
|
2438
|
-
...
|
|
2450
|
+
...oe["websocket-validator"]
|
|
2439
2451
|
},
|
|
2440
2452
|
"websocket-size-limit": {
|
|
2441
2453
|
descriptionKey: "plugins.meta.websocket-size-limit.description",
|
|
@@ -2445,70 +2457,70 @@ const Zn = (e) => {
|
|
|
2445
2457
|
["config.client_max_payload", "config.upstream_max_payload"]
|
|
2446
2458
|
]
|
|
2447
2459
|
},
|
|
2448
|
-
...
|
|
2460
|
+
...oe["websocket-size-limit"]
|
|
2449
2461
|
},
|
|
2450
2462
|
"tls-metadata-headers": {
|
|
2451
2463
|
descriptionKey: "plugins.meta.tls-metadata-headers.description",
|
|
2452
2464
|
nameKey: "plugins.meta.tls-metadata-headers.name",
|
|
2453
|
-
...
|
|
2465
|
+
...oe["tls-metadata-headers"]
|
|
2454
2466
|
},
|
|
2455
2467
|
"tls-handshake-modifier": {
|
|
2456
2468
|
descriptionKey: "plugins.meta.tls-handshake-modifier.description",
|
|
2457
2469
|
nameKey: "plugins.meta.tls-handshake-modifier.name",
|
|
2458
|
-
...
|
|
2470
|
+
...oe["tls-handshake-modifier"]
|
|
2459
2471
|
},
|
|
2460
2472
|
"oas-validation": {
|
|
2461
2473
|
descriptionKey: "plugins.meta.oas-validation.description",
|
|
2462
2474
|
nameKey: "plugins.meta.oas-validation.name",
|
|
2463
|
-
...
|
|
2475
|
+
...oe["oas-validation"]
|
|
2464
2476
|
},
|
|
2465
2477
|
"jwe-decrypt": {
|
|
2466
2478
|
descriptionKey: "plugins.meta.jwe-decrypt.description",
|
|
2467
2479
|
nameKey: "plugins.meta.jwe-decrypt.name",
|
|
2468
|
-
...
|
|
2480
|
+
...oe["jwe-decrypt"]
|
|
2469
2481
|
},
|
|
2470
2482
|
"xml-threat-protection": {
|
|
2471
2483
|
descriptionKey: "plugins.meta.xml-threat-protection.description",
|
|
2472
2484
|
nameKey: "plugins.meta.xml-threat-protection.name",
|
|
2473
|
-
...
|
|
2485
|
+
...oe["xml-threat-protection"]
|
|
2474
2486
|
},
|
|
2475
2487
|
saml: {
|
|
2476
2488
|
descriptionKey: "plugins.meta.saml.description",
|
|
2477
2489
|
nameKey: "plugins.meta.saml.name",
|
|
2478
|
-
...
|
|
2490
|
+
...oe.saml
|
|
2479
2491
|
},
|
|
2480
2492
|
"app-dynamics": {
|
|
2481
2493
|
descriptionKey: "plugins.meta.app-dynamics.description",
|
|
2482
2494
|
nameKey: "plugins.meta.app-dynamics.name",
|
|
2483
|
-
...
|
|
2495
|
+
...oe["app-dynamics"]
|
|
2484
2496
|
},
|
|
2485
2497
|
"json-threat-protection": {
|
|
2486
2498
|
descriptionKey: "plugins.meta.json-threat-protection.description",
|
|
2487
2499
|
nameKey: "plugins.meta.json-threat-protection.name",
|
|
2488
|
-
...
|
|
2500
|
+
...oe["json-threat-protection"]
|
|
2489
2501
|
},
|
|
2490
2502
|
"standard-webhooks": {
|
|
2491
2503
|
descriptionKey: "plugins.meta.standard-webhooks.description",
|
|
2492
2504
|
nameKey: "plugins.meta.standard-webhooks.name",
|
|
2493
|
-
...
|
|
2505
|
+
...oe["standard-webhooks"]
|
|
2494
2506
|
},
|
|
2495
2507
|
"ai-proxy-advanced": {
|
|
2496
2508
|
descriptionKey: "plugins.meta.ai-proxy-advanced.description",
|
|
2497
2509
|
nameKey: "plugins.meta.ai-proxy-advanced.name",
|
|
2498
2510
|
useLegacyForm: !0,
|
|
2499
|
-
...
|
|
2511
|
+
...oe["ai-proxy-advanced"]
|
|
2500
2512
|
},
|
|
2501
2513
|
"ai-semantic-cache": {
|
|
2502
2514
|
descriptionKey: "plugins.meta.ai-semantic-cache.description",
|
|
2503
2515
|
nameKey: "plugins.meta.ai-semantic-cache.name",
|
|
2504
2516
|
useLegacyForm: !0,
|
|
2505
|
-
...
|
|
2517
|
+
...oe["ai-semantic-cache"]
|
|
2506
2518
|
},
|
|
2507
2519
|
"ai-semantic-prompt-guard": {
|
|
2508
2520
|
descriptionKey: "plugins.meta.ai-semantic-prompt-guard.description",
|
|
2509
2521
|
nameKey: "plugins.meta.ai-semantic-prompt-guard.name",
|
|
2510
2522
|
useLegacyForm: !0,
|
|
2511
|
-
...
|
|
2523
|
+
...oe["ai-semantic-prompt-guard"]
|
|
2512
2524
|
},
|
|
2513
2525
|
"header-cert-auth": {
|
|
2514
2526
|
descriptionKey: "plugins.meta.header-cert-auth.description",
|
|
@@ -2521,12 +2533,12 @@ const Zn = (e) => {
|
|
|
2521
2533
|
]
|
|
2522
2534
|
]
|
|
2523
2535
|
},
|
|
2524
|
-
...
|
|
2536
|
+
...oe["header-cert-auth"]
|
|
2525
2537
|
},
|
|
2526
2538
|
"upstream-oauth": {
|
|
2527
2539
|
descriptionKey: "plugins.meta.upstream-oauth.description",
|
|
2528
2540
|
nameKey: "plugins.meta.upstream-oauth.name",
|
|
2529
|
-
...
|
|
2541
|
+
...oe["upstream-oauth"],
|
|
2530
2542
|
freeformRenderRules: {
|
|
2531
2543
|
bundles: [
|
|
2532
2544
|
["config.cache.strategy", "config.cache.redis"]
|
|
@@ -2539,123 +2551,140 @@ const Zn = (e) => {
|
|
|
2539
2551
|
confluent: {
|
|
2540
2552
|
descriptionKey: "plugins.meta.confluent.description",
|
|
2541
2553
|
nameKey: "plugins.meta.confluent.name",
|
|
2542
|
-
...
|
|
2554
|
+
...oe.confluent
|
|
2543
2555
|
},
|
|
2544
2556
|
"service-protection": {
|
|
2545
2557
|
descriptionKey: "plugins.meta.service-protection.description",
|
|
2546
2558
|
nameKey: "plugins.meta.service-protection.name",
|
|
2547
|
-
...
|
|
2559
|
+
...oe["service-protection"]
|
|
2548
2560
|
},
|
|
2549
2561
|
"injection-protection": {
|
|
2550
2562
|
descriptionKey: "plugins.meta.injection-protection.description",
|
|
2551
2563
|
nameKey: "plugins.meta.injection-protection.name",
|
|
2552
|
-
...
|
|
2564
|
+
...oe["injection-protection"]
|
|
2553
2565
|
},
|
|
2554
2566
|
redirect: {
|
|
2555
2567
|
descriptionKey: "plugins.meta.redirect.description",
|
|
2556
2568
|
nameKey: "plugins.meta.redirect.name",
|
|
2557
|
-
...
|
|
2569
|
+
...oe.redirect
|
|
2558
2570
|
},
|
|
2559
2571
|
"kafka-consume": {
|
|
2560
2572
|
descriptionKey: "plugins.meta.kafka-consume.description",
|
|
2561
2573
|
nameKey: "plugins.meta.kafka-consume.name",
|
|
2562
|
-
...
|
|
2574
|
+
...oe["kafka-consume"]
|
|
2563
2575
|
},
|
|
2564
2576
|
"confluent-consume": {
|
|
2565
2577
|
descriptionKey: "plugins.meta.confluent-consume.description",
|
|
2566
2578
|
nameKey: "plugins.meta.confluent-consume.name",
|
|
2567
|
-
...
|
|
2579
|
+
...oe["confluent-consume"]
|
|
2568
2580
|
},
|
|
2569
2581
|
"request-callout": {
|
|
2570
2582
|
descriptionKey: "plugins.meta.request-callout.description",
|
|
2571
2583
|
nameKey: "plugins.meta.request-callout.name",
|
|
2572
|
-
...
|
|
2584
|
+
...oe["request-callout"]
|
|
2573
2585
|
},
|
|
2574
2586
|
"ai-sanitizer": {
|
|
2575
2587
|
descriptionKey: "plugins.meta.ai-sanitizer.description",
|
|
2576
2588
|
nameKey: "plugins.meta.ai-sanitizer.name",
|
|
2577
2589
|
useLegacyForm: !0,
|
|
2578
|
-
...
|
|
2590
|
+
...oe["ai-sanitizer"]
|
|
2579
2591
|
},
|
|
2580
2592
|
"ai-rag-injector": {
|
|
2581
2593
|
descriptionKey: "plugins.meta.ai-rag-injector.description",
|
|
2582
2594
|
nameKey: "plugins.meta.ai-rag-injector.name",
|
|
2583
2595
|
useLegacyForm: !0,
|
|
2584
|
-
...
|
|
2596
|
+
...oe["ai-rag-injector"]
|
|
2585
2597
|
},
|
|
2586
2598
|
datakit: {
|
|
2587
2599
|
descriptionKey: "plugins.meta.datakit.description",
|
|
2588
2600
|
nameKey: "plugins.meta.datakit.name",
|
|
2589
2601
|
useUIData: !0,
|
|
2590
|
-
...
|
|
2602
|
+
...oe.datakit
|
|
2591
2603
|
},
|
|
2592
2604
|
"ai-prompt-compressor": {
|
|
2593
2605
|
descriptionKey: "plugins.meta.ai-prompt-compressor.description",
|
|
2594
2606
|
nameKey: "plugins.meta.ai-prompt-compressor.name",
|
|
2595
2607
|
useLegacyForm: !0,
|
|
2596
|
-
...
|
|
2608
|
+
...oe["ai-prompt-compressor"]
|
|
2597
2609
|
},
|
|
2598
2610
|
"solace-upstream": {
|
|
2599
2611
|
descriptionKey: "plugins.meta.solace-upstream.description",
|
|
2600
2612
|
nameKey: "plugins.meta.solace-upstream.name",
|
|
2601
|
-
...
|
|
2613
|
+
...oe["solace-upstream"]
|
|
2602
2614
|
},
|
|
2603
2615
|
"ai-aws-guardrails": {
|
|
2604
2616
|
descriptionKey: "plugins.meta.ai-aws-guardrails.description",
|
|
2605
2617
|
nameKey: "plugins.meta.ai-aws-guardrails.name",
|
|
2606
2618
|
useLegacyForm: !0,
|
|
2607
|
-
...
|
|
2619
|
+
...oe["ai-aws-guardrails"]
|
|
2608
2620
|
},
|
|
2609
2621
|
ace: {
|
|
2610
2622
|
descriptionKey: "plugins.meta.ace.description",
|
|
2611
2623
|
nameKey: "plugins.meta.ace.name",
|
|
2612
|
-
...
|
|
2624
|
+
...oe.ace
|
|
2613
2625
|
},
|
|
2614
2626
|
"solace-consume": {
|
|
2615
2627
|
descriptionKey: "plugins.meta.solace-consume.description",
|
|
2616
2628
|
nameKey: "plugins.meta.solace-consume.name",
|
|
2617
|
-
...
|
|
2629
|
+
...oe["solace-consume"]
|
|
2618
2630
|
},
|
|
2619
2631
|
"solace-log": {
|
|
2620
2632
|
descriptionKey: "plugins.meta.solace-log.description",
|
|
2621
2633
|
nameKey: "plugins.meta.solace-log.name",
|
|
2622
|
-
...
|
|
2634
|
+
...oe["solace-log"]
|
|
2623
2635
|
},
|
|
2624
2636
|
"ai-llm-as-judge": {
|
|
2625
2637
|
descriptionKey: "plugins.meta.ai-llm-as-judge.description",
|
|
2626
2638
|
nameKey: "plugins.meta.ai-llm-as-judge.name",
|
|
2627
2639
|
useLegacyForm: !0,
|
|
2628
|
-
...
|
|
2640
|
+
...oe["ai-llm-as-judge"]
|
|
2629
2641
|
},
|
|
2630
2642
|
"ai-mcp-proxy": {
|
|
2631
2643
|
descriptionKey: "plugins.meta.ai-mcp-proxy.description",
|
|
2632
2644
|
nameKey: "plugins.meta.ai-mcp-proxy.name",
|
|
2633
2645
|
useLegacyForm: !0,
|
|
2634
|
-
...
|
|
2646
|
+
...oe["ai-mcp-proxy"]
|
|
2635
2647
|
},
|
|
2636
2648
|
"ai-gcp-model-armor": {
|
|
2637
2649
|
descriptionKey: "plugins.meta.ai-gcp-model-armor.description",
|
|
2638
2650
|
nameKey: "plugins.meta.ai-gcp-model-armor.name",
|
|
2639
2651
|
useLegacyForm: !0,
|
|
2640
|
-
...
|
|
2652
|
+
...oe["ai-gcp-model-armor"]
|
|
2641
2653
|
},
|
|
2642
2654
|
"ai-mcp-oauth2": {
|
|
2643
2655
|
descriptionKey: "plugins.meta.ai-mcp-oauth2.description",
|
|
2644
2656
|
nameKey: "plugins.meta.ai-mcp-oauth2.name",
|
|
2645
2657
|
useLegacyForm: !0,
|
|
2646
|
-
...
|
|
2658
|
+
...oe["ai-mcp-oauth2"]
|
|
2647
2659
|
},
|
|
2648
2660
|
"ai-semantic-response-guard": {
|
|
2649
2661
|
descriptionKey: "plugins.meta.ai-semantic-response-guard.description",
|
|
2650
2662
|
nameKey: "plugins.meta.ai-semantic-response-guard.name",
|
|
2651
2663
|
useLegacyForm: !0,
|
|
2652
|
-
...
|
|
2664
|
+
...oe["ai-semantic-response-guard"]
|
|
2653
2665
|
},
|
|
2654
2666
|
"ai-lakera-guard": {
|
|
2655
2667
|
descriptionKey: "plugins.meta.ai-lakera-guard.description",
|
|
2656
2668
|
nameKey: "plugins.meta.ai-lakera-guard.name",
|
|
2657
2669
|
useLegacyForm: !0,
|
|
2658
|
-
...
|
|
2670
|
+
...oe["ai-lakera-guard"]
|
|
2671
|
+
},
|
|
2672
|
+
"ai-a2a-proxy": {
|
|
2673
|
+
descriptionKey: "plugins.meta.ai-a2a-proxy.description",
|
|
2674
|
+
nameKey: "plugins.meta.ai-a2a-proxy.name",
|
|
2675
|
+
useLegacyForm: !0,
|
|
2676
|
+
...oe["ai-a2a-proxy"]
|
|
2677
|
+
},
|
|
2678
|
+
"ai-custom-guardrail": {
|
|
2679
|
+
descriptionKey: "plugins.meta.ai-custom-guardrail.description",
|
|
2680
|
+
nameKey: "plugins.meta.ai-custom-guardrail.name",
|
|
2681
|
+
useLegacyForm: !0,
|
|
2682
|
+
...oe["ai-custom-guardrail"]
|
|
2683
|
+
},
|
|
2684
|
+
"metering-billing": {
|
|
2685
|
+
descriptionKey: "plugins.meta.metering-billing.description",
|
|
2686
|
+
nameKey: "plugins.meta.metering-billing.name",
|
|
2687
|
+
...oe["metering-billing"]
|
|
2659
2688
|
}
|
|
2660
2689
|
}, Ti = {
|
|
2661
2690
|
acl: {
|
|
@@ -5179,7 +5208,7 @@ const Mw = (e, t) => {
|
|
|
5179
5208
|
return s;
|
|
5180
5209
|
});
|
|
5181
5210
|
return (s, u) => {
|
|
5182
|
-
const d =
|
|
5211
|
+
const d = re("KAlert");
|
|
5183
5212
|
return w(), L(d, { class: "plugin-field-rule-alerts" }, {
|
|
5184
5213
|
default: A(() => [
|
|
5185
5214
|
K("ul", null, [
|
|
@@ -5942,7 +5971,7 @@ const ui = /* @__PURE__ */ he({
|
|
|
5942
5971
|
}), y = S(() => ({ referenceable: g.value })), h = Oa(u.ancestors), v = S(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : _i(e.name) === "name");
|
|
5943
5972
|
return (k, E) => {
|
|
5944
5973
|
var b;
|
|
5945
|
-
const x =
|
|
5974
|
+
const x = re("KAlert");
|
|
5946
5975
|
return u.error ? (w(), L(x, {
|
|
5947
5976
|
key: 0,
|
|
5948
5977
|
appearance: "danger",
|
|
@@ -6015,7 +6044,7 @@ const ui = /* @__PURE__ */ he({
|
|
|
6015
6044
|
}, d = sn(r.path, n);
|
|
6016
6045
|
return (p, c) => {
|
|
6017
6046
|
var m;
|
|
6018
|
-
const f =
|
|
6047
|
+
const f = re("KAlert");
|
|
6019
6048
|
return r.error ? (w(), L(f, {
|
|
6020
6049
|
key: 0,
|
|
6021
6050
|
appearance: "danger",
|
|
@@ -6149,7 +6178,7 @@ const ui = /* @__PURE__ */ he({
|
|
|
6149
6178
|
).length > 0 : !0;
|
|
6150
6179
|
}
|
|
6151
6180
|
return (o, r) => {
|
|
6152
|
-
const s =
|
|
6181
|
+
const s = re("KAlert");
|
|
6153
6182
|
return n.value ? (w(), L(s, {
|
|
6154
6183
|
key: 0,
|
|
6155
6184
|
"data-testid": "ff-entity-checks-alert"
|
|
@@ -6231,7 +6260,7 @@ const ui = /* @__PURE__ */ he({
|
|
|
6231
6260
|
p.value = E, (m.value.required || E) && (c.value = !0);
|
|
6232
6261
|
}), (E, x) => {
|
|
6233
6262
|
var I;
|
|
6234
|
-
const b =
|
|
6263
|
+
const b = re("KAlert"), _ = re("KInputSwitch");
|
|
6235
6264
|
return w(), V(Fe, null, [
|
|
6236
6265
|
(w(), L(bt(E.$slots[l(bi)]))),
|
|
6237
6266
|
o.error ? (w(), L(b, {
|
|
@@ -6412,7 +6441,7 @@ const ui = /* @__PURE__ */ he({
|
|
|
6412
6441
|
}), k = S(() => v.value ? "text" : "number");
|
|
6413
6442
|
return (E, x) => {
|
|
6414
6443
|
var _;
|
|
6415
|
-
const b =
|
|
6444
|
+
const b = re("KAlert");
|
|
6416
6445
|
return o.error ? (w(), L(b, {
|
|
6417
6446
|
key: 0,
|
|
6418
6447
|
appearance: "danger",
|
|
@@ -6509,7 +6538,7 @@ const ui = /* @__PURE__ */ he({
|
|
|
6509
6538
|
}), f = S(() => c.value ? Cm : Em);
|
|
6510
6539
|
return (m, g) => {
|
|
6511
6540
|
var h;
|
|
6512
|
-
const y =
|
|
6541
|
+
const y = re("KAlert");
|
|
6513
6542
|
return s.error ? (w(), L(y, {
|
|
6514
6543
|
key: 0,
|
|
6515
6544
|
appearance: "danger",
|
|
@@ -6706,7 +6735,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
6706
6735
|
setValue: p
|
|
6707
6736
|
}), (_, I) => {
|
|
6708
6737
|
var R;
|
|
6709
|
-
const N =
|
|
6738
|
+
const N = re("KAlert"), D = re("KLabel"), O = re("KButton"), P = re("KTooltip");
|
|
6710
6739
|
return l(f).error ? (w(), L(N, {
|
|
6711
6740
|
key: 0,
|
|
6712
6741
|
appearance: "danger",
|
|
@@ -6855,7 +6884,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
6855
6884
|
c(f(p.value)) !== v && (p.value = v);
|
|
6856
6885
|
}, { immediate: !0 }), (h, v) => {
|
|
6857
6886
|
var E;
|
|
6858
|
-
const k =
|
|
6887
|
+
const k = re("KAlert");
|
|
6859
6888
|
return s.error ? (w(), L(k, {
|
|
6860
6889
|
key: 0,
|
|
6861
6890
|
appearance: "danger",
|
|
@@ -6923,7 +6952,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
6923
6952
|
d.value = m || "";
|
|
6924
6953
|
}, { immediate: !0 }), (m, g) => {
|
|
6925
6954
|
var h;
|
|
6926
|
-
const y =
|
|
6955
|
+
const y = re("KAlert");
|
|
6927
6956
|
return s.error ? (w(), L(y, {
|
|
6928
6957
|
key: 0,
|
|
6929
6958
|
appearance: "danger",
|
|
@@ -7053,7 +7082,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
7053
7082
|
}
|
|
7054
7083
|
});
|
|
7055
7084
|
return (a, o) => {
|
|
7056
|
-
const r =
|
|
7085
|
+
const r = re("KAlert");
|
|
7057
7086
|
return w(), V(Fe, null, [
|
|
7058
7087
|
(w(), L(bt(a.$slots[l(bi)]))),
|
|
7059
7088
|
l(n).error ? (w(), L(r, {
|
|
@@ -7132,7 +7161,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
7132
7161
|
});
|
|
7133
7162
|
return (O, P) => {
|
|
7134
7163
|
var ee;
|
|
7135
|
-
const R =
|
|
7164
|
+
const R = re("KAlert"), M = re("KLabel"), j = re("KButton"), Y = re("KTooltip"), G = re("KTabs");
|
|
7136
7165
|
return d.error ? (w(), L(R, {
|
|
7137
7166
|
key: 0,
|
|
7138
7167
|
appearance: "danger",
|
|
@@ -7736,7 +7765,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
7736
7765
|
};
|
|
7737
7766
|
return (d, p) => {
|
|
7738
7767
|
var m;
|
|
7739
|
-
const c =
|
|
7768
|
+
const c = re("KAlert"), f = re("KLabel");
|
|
7740
7769
|
return l(o).error ? (w(), L(c, {
|
|
7741
7770
|
key: 0,
|
|
7742
7771
|
appearance: "danger",
|
|
@@ -7864,7 +7893,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
7864
7893
|
}), n.config.limit = [v.config.limit], n.config.window_size = [v.config.window_size];
|
|
7865
7894
|
};
|
|
7866
7895
|
return (v, k) => {
|
|
7867
|
-
const E =
|
|
7896
|
+
const E = re("KLabel"), x = re("KButton"), b = re("KBadge"), _ = re("KTooltip"), I = re("KCard");
|
|
7868
7897
|
return w(), L(I, { class: "sp-form-request-limits" }, {
|
|
7869
7898
|
title: A(() => [
|
|
7870
7899
|
C(E, {
|
|
@@ -7984,7 +8013,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
7984
8013
|
setup(e) {
|
|
7985
8014
|
const { t } = kt("en-us", Ct);
|
|
7986
8015
|
return (n, i) => {
|
|
7987
|
-
const a =
|
|
8016
|
+
const a = re("KLabel");
|
|
7988
8017
|
return w(), V("div", null, [
|
|
7989
8018
|
C(a, {
|
|
7990
8019
|
for: "sp-form-error-legend",
|
|
@@ -8059,7 +8088,7 @@ const Vk = ["data-testid"], Uk = ["data-testid"], Bk = ["innerHTML"], Gk = ["dat
|
|
|
8059
8088
|
};
|
|
8060
8089
|
}).sort((c, f) => c.order - f.order).filter((c) => c.type !== "hidden")), d = Vw(a.configFields, a.pluginRedisFields || []), p = S(() => u.value.concat(d));
|
|
8061
8090
|
return (c, f) => {
|
|
8062
|
-
const m =
|
|
8091
|
+
const m = re("KCopy");
|
|
8063
8092
|
return w(), V("div", K0, [
|
|
8064
8093
|
(w(!0), V(Fe, null, Ge(p.value, ({ key: g, label: y, value: h, type: v }) => (w(), V("div", {
|
|
8065
8094
|
key: g,
|
|
@@ -8204,7 +8233,7 @@ const J0 = {
|
|
|
8204
8233
|
}), De(() => E == null ? void 0 : E.value, (P) => {
|
|
8205
8234
|
f.value && (P && v.value ? v.value = s ? null : void 0 : P || h.value && (v.value = h.value, D(h.value[0].id)));
|
|
8206
8235
|
}), (P, R) => {
|
|
8207
|
-
const M =
|
|
8236
|
+
const M = re("KRadio"), j = re("KCard");
|
|
8208
8237
|
return p.value ? Mt((w(), L(j, {
|
|
8209
8238
|
key: 0,
|
|
8210
8239
|
class: "redis-config-card",
|
|
@@ -11655,7 +11684,7 @@ const [lf, rx] = Hr(
|
|
|
11655
11684
|
const ne = P(T);
|
|
11656
11685
|
ne && (ne.config = En(ae), te && u.commit(me));
|
|
11657
11686
|
}
|
|
11658
|
-
function
|
|
11687
|
+
function se(T, ae, te, me = !0) {
|
|
11659
11688
|
const ne = P(T);
|
|
11660
11689
|
if (!ne) return;
|
|
11661
11690
|
const de = ne.fields[ae];
|
|
@@ -11868,7 +11897,7 @@ const [lf, rx] = Hr(
|
|
|
11868
11897
|
replaceConfig: Ke,
|
|
11869
11898
|
branchGroups: b,
|
|
11870
11899
|
// field ops
|
|
11871
|
-
addField:
|
|
11900
|
+
addField: se,
|
|
11872
11901
|
renameField: Q,
|
|
11873
11902
|
removeField: le,
|
|
11874
11903
|
// edge ops
|
|
@@ -14288,16 +14317,16 @@ function ST(e) {
|
|
|
14288
14317
|
} else throw new Error(`Cannot find source node '${Z}' for edge '${B.id}' via findNode`);
|
|
14289
14318
|
if (q(Ne) === q(Ke))
|
|
14290
14319
|
continue;
|
|
14291
|
-
let
|
|
14320
|
+
let se = Ne, Q = Ke, le = J(se.id), Ee = J(Q.id);
|
|
14292
14321
|
for (; le !== Ee; )
|
|
14293
14322
|
if (le > Ee) {
|
|
14294
|
-
const Pe = q(
|
|
14323
|
+
const Pe = q(se);
|
|
14295
14324
|
if (!Pe)
|
|
14296
|
-
throw new Error(`Expected node '${
|
|
14325
|
+
throw new Error(`Expected node '${se.id}' to have parent, but it does not`);
|
|
14297
14326
|
const pe = G(Pe);
|
|
14298
14327
|
if (!pe)
|
|
14299
|
-
throw new Error(`Cannot find parent node '${Pe}' for node '${
|
|
14300
|
-
|
|
14328
|
+
throw new Error(`Cannot find parent node '${Pe}' for node '${se.id}' via findNode`);
|
|
14329
|
+
se = pe, le--;
|
|
14301
14330
|
} else if (Ee > le) {
|
|
14302
14331
|
const Pe = q(Q);
|
|
14303
14332
|
if (!Pe)
|
|
@@ -14308,10 +14337,10 @@ function ST(e) {
|
|
|
14308
14337
|
Q = pe, Ee--;
|
|
14309
14338
|
}
|
|
14310
14339
|
for (; le >= 0; ) {
|
|
14311
|
-
const Pe = q(
|
|
14340
|
+
const Pe = q(se), pe = q(Q);
|
|
14312
14341
|
if (Pe === pe) {
|
|
14313
14342
|
j.has(le) || j.set(le, []), j.get(le).push({
|
|
14314
|
-
v:
|
|
14343
|
+
v: se.id,
|
|
14315
14344
|
w: Q.id
|
|
14316
14345
|
});
|
|
14317
14346
|
break;
|
|
@@ -14322,15 +14351,15 @@ function ST(e) {
|
|
|
14322
14351
|
throw console.error(Ze, Q), new Error(Ze);
|
|
14323
14352
|
}
|
|
14324
14353
|
} else {
|
|
14325
|
-
const Ze = `Expected node '${
|
|
14326
|
-
throw console.error(Ze,
|
|
14354
|
+
const Ze = `Expected node '${se.id}' to have parent, but it does not`;
|
|
14355
|
+
throw console.error(Ze, se), new Error(Ze);
|
|
14327
14356
|
}
|
|
14328
14357
|
const je = G(Pe), Ue = G(pe);
|
|
14329
14358
|
if (je) {
|
|
14330
14359
|
if (!Ue)
|
|
14331
14360
|
throw new Error(`Cannot find parent node '${pe}' for node '${Q.id}' via findNode`);
|
|
14332
|
-
} else throw new Error(`Cannot find parent node '${Pe}' for node '${
|
|
14333
|
-
|
|
14361
|
+
} else throw new Error(`Cannot find parent node '${Pe}' for node '${se.id}' via findNode`);
|
|
14362
|
+
se = je, Q = Ue, le--, Ee--;
|
|
14334
14363
|
}
|
|
14335
14364
|
}
|
|
14336
14365
|
const z = s.value.groups.toSorted((B, Z) => J(Z.ownerId) - J(B.ownerId));
|
|
@@ -14367,7 +14396,7 @@ function ST(e) {
|
|
|
14367
14396
|
}), R && c();
|
|
14368
14397
|
}
|
|
14369
14398
|
function O(R, M) {
|
|
14370
|
-
var
|
|
14399
|
+
var se, Q, le, Ee, Pe;
|
|
14371
14400
|
const { leftNode: j, rightNode: Y, virtualEdges: G, cachedFindNode: ee } = M || {}, J = j ? (ee ?? r)(j.id) : void 0, q = Y ? (ee ?? r)(Y.id) : void 0;
|
|
14372
14401
|
let z;
|
|
14373
14402
|
if (R.length > 0) {
|
|
@@ -14411,7 +14440,7 @@ function ST(e) {
|
|
|
14411
14440
|
}
|
|
14412
14441
|
const H = $.length > 0 ? gf($) : { x: 0, y: 0, width: 0, height: 0 }, ve = H.width, B = H.height, Z = H.x, ye = H.x + H.width, Ne = Math.max(
|
|
14413
14442
|
0,
|
|
14414
|
-
Math.min(Je(E == null ? void 0 : E.width) ?? Number.POSITIVE_INFINITY, bx) - ve - 2 * _ - (((
|
|
14443
|
+
Math.min(Je(E == null ? void 0 : E.width) ?? Number.POSITIVE_INFINITY, bx) - ve - 2 * _ - (((se = J == null ? void 0 : J.dimensions) == null ? void 0 : se.width) ?? 0) - (((Q = q == null ? void 0 : q.dimensions) == null ? void 0 : Q.width) ?? 0) - 2 * x
|
|
14415
14444
|
), Ke = H.y + B / 2;
|
|
14416
14445
|
j && p(j.id, {
|
|
14417
14446
|
x: Z - _ - Ne / 2 - (((le = J == null ? void 0 : J.dimensions) == null ? void 0 : le.width) ?? 0),
|
|
@@ -14624,13 +14653,13 @@ function OT({
|
|
|
14624
14653
|
if (!$.length) return;
|
|
14625
14654
|
const U = [];
|
|
14626
14655
|
for (const Z of $) {
|
|
14627
|
-
const ye = a(Z.id), Ne = ye == null ? void 0 : ye.dimensions, Ke = (Ne == null ? void 0 : Ne.width) ?? 0,
|
|
14628
|
-
if (Ke <= 0 ||
|
|
14656
|
+
const ye = a(Z.id), Ne = ye == null ? void 0 : ye.dimensions, Ke = (Ne == null ? void 0 : Ne.width) ?? 0, se = (Ne == null ? void 0 : Ne.height) ?? 0;
|
|
14657
|
+
if (Ke <= 0 || se <= 0)
|
|
14629
14658
|
return;
|
|
14630
14659
|
U.push({
|
|
14631
14660
|
...Z.position,
|
|
14632
14661
|
width: Ke,
|
|
14633
|
-
height:
|
|
14662
|
+
height: se
|
|
14634
14663
|
});
|
|
14635
14664
|
const Q = y.value.get(Z.id) ?? [];
|
|
14636
14665
|
for (const le of Q) {
|
|
@@ -14708,13 +14737,13 @@ function OT({
|
|
|
14708
14737
|
for (; ve.length; ) {
|
|
14709
14738
|
const ye = ve.shift(), Ne = s.value.get(ye);
|
|
14710
14739
|
if (!Ne) continue;
|
|
14711
|
-
const Ke = E(Ne).filter((
|
|
14712
|
-
for (const
|
|
14713
|
-
Z.has(
|
|
14714
|
-
x:
|
|
14715
|
-
y:
|
|
14716
|
-
}, !1), Z.add(
|
|
14717
|
-
const Q = b.value.get(
|
|
14740
|
+
const Ke = E(Ne).filter((se) => se.phase === e && !se.hidden);
|
|
14741
|
+
for (const se of Ke) {
|
|
14742
|
+
Z.has(se.id) || (d(se.id, {
|
|
14743
|
+
x: se.position.x + $,
|
|
14744
|
+
y: se.position.y + U
|
|
14745
|
+
}, !1), Z.add(se.id));
|
|
14746
|
+
const Q = b.value.get(se.id) ?? [];
|
|
14718
14747
|
for (const le of Q) {
|
|
14719
14748
|
if (B.has(le.id)) continue;
|
|
14720
14749
|
const Ee = s.value.get(le.id);
|
|
@@ -14870,7 +14899,7 @@ const [RT, FT] = Hr(
|
|
|
14870
14899
|
commit: ve,
|
|
14871
14900
|
reset: B,
|
|
14872
14901
|
groupMapById: Z
|
|
14873
|
-
} = p, { isGroupId: ye, canAddMember: Ne } = H, Ke = tn(),
|
|
14902
|
+
} = p, { isGroupId: ye, canAddMember: Ne } = H, Ke = tn(), se = (ie) => {
|
|
14874
14903
|
Ke.value = ie;
|
|
14875
14904
|
}, Q = Uu(Ke);
|
|
14876
14905
|
function le(ie, Te) {
|
|
@@ -15037,7 +15066,7 @@ const [RT, FT] = Hr(
|
|
|
15037
15066
|
if (!ie) return;
|
|
15038
15067
|
if (ye(ie.id)) {
|
|
15039
15068
|
const He = ie.id;
|
|
15040
|
-
|
|
15069
|
+
se(He), T(void 0);
|
|
15041
15070
|
const at = Z.value.get(He);
|
|
15042
15071
|
if (!at) return;
|
|
15043
15072
|
const tt = at.position ?? { ...ie.position }, Et = ie.position.x - tt.x, Wi = ie.position.y - tt.y;
|
|
@@ -15047,7 +15076,7 @@ const [RT, FT] = Hr(
|
|
|
15047
15076
|
return;
|
|
15048
15077
|
}
|
|
15049
15078
|
const ge = ie.id;
|
|
15050
|
-
Ie("canvas"),
|
|
15079
|
+
Ie("canvas"), se(ge);
|
|
15051
15080
|
const xe = ie.parentNode;
|
|
15052
15081
|
let $e = { ...ie.position };
|
|
15053
15082
|
if (xe && ye(xe)) {
|
|
@@ -15074,7 +15103,7 @@ const [RT, FT] = Hr(
|
|
|
15074
15103
|
}), k(({ node: ie }) => {
|
|
15075
15104
|
var ke;
|
|
15076
15105
|
if (!ie) return;
|
|
15077
|
-
if (
|
|
15106
|
+
if (se(void 0), ye(ie.id)) {
|
|
15078
15107
|
Y();
|
|
15079
15108
|
return;
|
|
15080
15109
|
}
|
|
@@ -15385,7 +15414,7 @@ const qT = {
|
|
|
15385
15414
|
const t = S(() => Tt[e.type]), n = S(() => UE(e.type));
|
|
15386
15415
|
return (i, a) => {
|
|
15387
15416
|
var r;
|
|
15388
|
-
const o =
|
|
15417
|
+
const o = re("KBadge");
|
|
15389
15418
|
return w(), L(o, {
|
|
15390
15419
|
appearance: "neutral",
|
|
15391
15420
|
class: Qe(["dk-node-badge", {
|
|
@@ -15460,20 +15489,20 @@ const qT = {
|
|
|
15460
15489
|
const B = o($ === "input" ? ve.source : ve.target);
|
|
15461
15490
|
if (!B) continue;
|
|
15462
15491
|
if ($ === "input") {
|
|
15463
|
-
const
|
|
15464
|
-
if (!(
|
|
15492
|
+
const se = B.type === "vault", Q = B.phase !== e.data.phase, le = p.isEdgeEnteringGroup(B.id, e.data.id);
|
|
15493
|
+
if (!(se || Q || le)) continue;
|
|
15465
15494
|
} else {
|
|
15466
|
-
const
|
|
15467
|
-
if (!(
|
|
15495
|
+
const se = B.phase !== e.data.phase, Q = p.isEdgeEnteringGroup(e.data.id, B.id);
|
|
15496
|
+
if (!(se || Q)) continue;
|
|
15468
15497
|
}
|
|
15469
15498
|
const Z = $ === "input" ? ve.targetField || "input" : ve.sourceField || "output";
|
|
15470
15499
|
let ye;
|
|
15471
15500
|
if ($ === "input" && ve.sourceField) {
|
|
15472
|
-
const
|
|
15473
|
-
ye =
|
|
15501
|
+
const se = B.fields.output.find((Q) => Q.id === ve.sourceField);
|
|
15502
|
+
ye = se == null ? void 0 : se.name;
|
|
15474
15503
|
} else if ($ === "output" && ve.targetField) {
|
|
15475
|
-
const
|
|
15476
|
-
ye =
|
|
15504
|
+
const se = B.fields.input.find((Q) => Q.id === ve.targetField);
|
|
15505
|
+
ye = se == null ? void 0 : se.name;
|
|
15477
15506
|
}
|
|
15478
15507
|
const Ne = {
|
|
15479
15508
|
edgeId: ve.id,
|
|
@@ -15837,12 +15866,12 @@ const qT = {
|
|
|
15837
15866
|
B.preventDefault();
|
|
15838
15867
|
const ye = JSON.parse(Z);
|
|
15839
15868
|
if (ye.action !== "create-node") return;
|
|
15840
|
-
const Ne = I({ x: B.clientX, y: B.clientY }), { type: Ke, anchor:
|
|
15869
|
+
const Ne = I({ x: B.clientX, y: B.clientY }), { type: Ke, anchor: se } = ye.data, Q = {
|
|
15841
15870
|
type: Ke,
|
|
15842
15871
|
phase: e.phase,
|
|
15843
15872
|
position: {
|
|
15844
|
-
x: Ne.x -
|
|
15845
|
-
y: Ne.y -
|
|
15873
|
+
x: Ne.x - se.offsetX,
|
|
15874
|
+
y: Ne.y - se.offsetY
|
|
15846
15875
|
}
|
|
15847
15876
|
}, le = h(Q, !1);
|
|
15848
15877
|
if (!le) {
|
|
@@ -16018,7 +16047,7 @@ const qT = {
|
|
|
16018
16047
|
e.resizable && (R.height.value < G.value ? Z() : Y.height.value < G.value ? B(!0) : ve(q.value));
|
|
16019
16048
|
}
|
|
16020
16049
|
});
|
|
16021
|
-
function
|
|
16050
|
+
function se() {
|
|
16022
16051
|
Yt(() => {
|
|
16023
16052
|
var Q, le;
|
|
16024
16053
|
(Q = b.value) == null || Q.fitView(), (le = D.value) == null || le.fitView();
|
|
@@ -16029,7 +16058,7 @@ const qT = {
|
|
|
16029
16058
|
([Q, le, Ee, Pe]) => {
|
|
16030
16059
|
e.inactive || !Q || !le || !Ee && !Pe || (Ee && s(), Pe && u(!1), setTimeout(async () => {
|
|
16031
16060
|
var pe, je;
|
|
16032
|
-
Ee && (await ((pe = b.value) == null ? void 0 : pe.autoLayout(!1)), await ((je = D.value) == null ? void 0 : je.autoLayout(!1)), d("*"), Ee === "clearHistory" && p()), Pe && setTimeout(() =>
|
|
16061
|
+
Ee && (await ((pe = b.value) == null ? void 0 : pe.autoLayout(!1)), await ((je = D.value) == null ? void 0 : je.autoLayout(!1)), d("*"), Ee === "clearHistory" && p()), Pe && setTimeout(() => se(), 0);
|
|
16033
16062
|
}, 0));
|
|
16034
16063
|
}
|
|
16035
16064
|
), (Q, le) => (w(), V("div", {
|
|
@@ -16144,7 +16173,7 @@ const qT = {
|
|
|
16144
16173
|
return t({
|
|
16145
16174
|
open: f
|
|
16146
16175
|
}), (m, g) => {
|
|
16147
|
-
const y =
|
|
16176
|
+
const y = re("KModal");
|
|
16148
16177
|
return w(), L(y, {
|
|
16149
16178
|
"action-button-text": l(i)("plugins.free-form.datakit.flow_editor.confirm.proceed"),
|
|
16150
16179
|
"close-on-backdrop-click": "",
|
|
@@ -16495,7 +16524,7 @@ const qT = {
|
|
|
16495
16524
|
});
|
|
16496
16525
|
};
|
|
16497
16526
|
return (s, u) => {
|
|
16498
|
-
const d =
|
|
16527
|
+
const d = re("KLabel");
|
|
16499
16528
|
return w(), V("div", VO, [
|
|
16500
16529
|
e.hideTitle ? ue("", !0) : (w(), V("h3", UO, [
|
|
16501
16530
|
C(d, {
|
|
@@ -16612,7 +16641,7 @@ const YO = /* @__PURE__ */ he({
|
|
|
16612
16641
|
return De(() => e.secretName, (m) => {
|
|
16613
16642
|
o.value = m || "", r.value = "";
|
|
16614
16643
|
}), (m, g) => {
|
|
16615
|
-
const y =
|
|
16644
|
+
const y = re("KInput"), h = re("KEmptyState");
|
|
16616
16645
|
return l(a) ? (w(), L(l(Yu), {
|
|
16617
16646
|
key: 0,
|
|
16618
16647
|
"additional-disabled": u.value,
|
|
@@ -16699,7 +16728,7 @@ const YO = /* @__PURE__ */ he({
|
|
|
16699
16728
|
};
|
|
16700
16729
|
return (v, k) => {
|
|
16701
16730
|
var _, I;
|
|
16702
|
-
const E =
|
|
16731
|
+
const E = re("KButton"), x = re("KDropdownItem"), b = re("KDropdown");
|
|
16703
16732
|
return w(), V("div", JO, [
|
|
16704
16733
|
K("h3", XO, W(l(d)("plugins.free-form.datakit.flow_editor.panel_segments.resources.vault.title")), 1),
|
|
16705
16734
|
C(E, {
|
|
@@ -16848,7 +16877,7 @@ const o$ = { class: "dk-cache-panel" }, r$ = { class: "title" }, s$ = {
|
|
|
16848
16877
|
});
|
|
16849
16878
|
}
|
|
16850
16879
|
return (k, E) => {
|
|
16851
|
-
const x =
|
|
16880
|
+
const x = re("KButton"), b = re("KDropdownItem"), _ = re("KDropdown"), I = re("KLabel"), N = re("KCodeBlock"), D = re("KModal");
|
|
16852
16881
|
return w(), V("div", o$, [
|
|
16853
16882
|
K("h3", r$, W(l(s)("plugins.free-form.datakit.flow_editor.panel_segments.resources.cache.title")), 1),
|
|
16854
16883
|
e.strategy ? (w(), V("div", s$, [
|
|
@@ -17032,7 +17061,7 @@ const o$ = { class: "dk-cache-panel" }, r$ = { class: "title" }, s$ = {
|
|
|
17032
17061
|
return $n(() => {
|
|
17033
17062
|
s.value = !0;
|
|
17034
17063
|
}), (u, d) => {
|
|
17035
|
-
const p =
|
|
17064
|
+
const p = re("KSegmentedControl");
|
|
17036
17065
|
return w(), V("aside", {
|
|
17037
17066
|
class: Qe(["side-panel", { expanded: l(n), inited: s.value }])
|
|
17038
17067
|
}, [
|
|
@@ -17705,7 +17734,7 @@ const Ln = F.object({
|
|
|
17705
17734
|
return De(() => a.value, (b) => {
|
|
17706
17735
|
p.value && (b.find(({ id: _ }) => _ === p.value) || (p.value = null));
|
|
17707
17736
|
}), (b, _) => {
|
|
17708
|
-
const I =
|
|
17737
|
+
const I = re("KAlert"), N = re("KLabel"), D = re("KInput"), O = re("KSelect"), P = re("KButton");
|
|
17709
17738
|
return l(s).error ? (w(), L(I, {
|
|
17710
17739
|
key: 0,
|
|
17711
17740
|
appearance: "danger",
|
|
@@ -18317,8 +18346,8 @@ function fn(e, t) {
|
|
|
18317
18346
|
}, N = S(() => n.value.edges.filter((J) => J.target === e && !J.targetField)[0]), D = S(() => n.value.edges.filter((J) => J.target === e && J.targetField)), O = async (J, q) => {
|
|
18318
18347
|
const z = q == null, $ = x("input", J).id;
|
|
18319
18348
|
if (z) {
|
|
18320
|
-
const
|
|
18321
|
-
|
|
18349
|
+
const se = D.value.find((Q) => Q.targetField === $);
|
|
18350
|
+
se && d(se.id);
|
|
18322
18351
|
return;
|
|
18323
18352
|
}
|
|
18324
18353
|
const {
|
|
@@ -18326,7 +18355,7 @@ function fn(e, t) {
|
|
|
18326
18355
|
fieldId: H
|
|
18327
18356
|
} = tu(q), ve = x("input", J).id, B = [];
|
|
18328
18357
|
N.value && (B.push(sa(N.value, a)), d(N.value.id, !1));
|
|
18329
|
-
const Z = D.value.find((
|
|
18358
|
+
const Z = D.value.find((se) => se.targetField === $);
|
|
18330
18359
|
Z && (B.push(sa(Z, a)), d(Z.id, !1)), p({
|
|
18331
18360
|
source: U,
|
|
18332
18361
|
sourceField: H,
|
|
@@ -18483,7 +18512,7 @@ const jn = /* @__PURE__ */ he({
|
|
|
18483
18512
|
return De(() => n.name, (p) => {
|
|
18484
18513
|
p !== o.value && (o.value = p);
|
|
18485
18514
|
}), (p, c) => {
|
|
18486
|
-
const f =
|
|
18515
|
+
const f = re("KInput");
|
|
18487
18516
|
return w(), L(f, {
|
|
18488
18517
|
"model-value": o.value,
|
|
18489
18518
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => o.value = m),
|
|
@@ -18534,7 +18563,7 @@ const jn = /* @__PURE__ */ he({
|
|
|
18534
18563
|
toggleNodeValid: f
|
|
18535
18564
|
}), y = g("url", () => r("url")), h = g("timeout", () => r("timeout"));
|
|
18536
18565
|
return (v, k) => {
|
|
18537
|
-
const E =
|
|
18566
|
+
const E = re("KLabel");
|
|
18538
18567
|
return w(), L(Pt, {
|
|
18539
18568
|
ref: "form",
|
|
18540
18569
|
data: l(a),
|
|
@@ -18702,7 +18731,7 @@ const jn = /* @__PURE__ */ he({
|
|
|
18702
18731
|
toggleNodeValid: h
|
|
18703
18732
|
}), I = _("jq", () => s("jq"));
|
|
18704
18733
|
return (N, D) => {
|
|
18705
|
-
const O =
|
|
18734
|
+
const O = re("KLabel"), P = re("KExternalLink");
|
|
18706
18735
|
return w(), L(Pt, {
|
|
18707
18736
|
ref: "form",
|
|
18708
18737
|
data: l(o),
|
|
@@ -18840,7 +18869,7 @@ const jn = /* @__PURE__ */ he({
|
|
|
18840
18869
|
return Gu(() => {
|
|
18841
18870
|
c.value && !o.value.some((b) => b.id === c.value.id) && o.value.push(c.value);
|
|
18842
18871
|
}), (b, _) => {
|
|
18843
|
-
const I =
|
|
18872
|
+
const I = re("KAlert"), N = re("KLabel"), D = re("KButton"), O = re("KInput"), P = re("KCard");
|
|
18844
18873
|
return l(u).error ? (w(), L(I, {
|
|
18845
18874
|
key: 0,
|
|
18846
18875
|
appearance: "danger",
|
|
@@ -19081,7 +19110,7 @@ const UP = /* @__PURE__ */ he({
|
|
|
19081
19110
|
return De(() => o.property, (m) => {
|
|
19082
19111
|
u.value = Lr(m), r.value = ea(m);
|
|
19083
19112
|
}), (m, g) => {
|
|
19084
|
-
const y =
|
|
19113
|
+
const y = re("KBadge"), h = re("KSelect"), v = re("KInput");
|
|
19085
19114
|
return w(), V(Fe, null, [
|
|
19086
19115
|
(w(), L(h, {
|
|
19087
19116
|
key: d.value,
|
|
@@ -19959,7 +19988,7 @@ const ZP = /* @__PURE__ */ he({
|
|
|
19959
19988
|
return De(r, () => {
|
|
19960
19989
|
s(!0);
|
|
19961
19990
|
}, { flush: "post" }), lx({ enabled: r }), (u, d) => {
|
|
19962
|
-
const p =
|
|
19991
|
+
const p = re("KButton");
|
|
19963
19992
|
return w(), V("div", gN, [
|
|
19964
19993
|
K("div", hN, [
|
|
19965
19994
|
C(Fs, {
|
|
@@ -20360,7 +20389,7 @@ const ZP = /* @__PURE__ */ he({
|
|
|
20360
20389
|
const o = sn(a, t);
|
|
20361
20390
|
return (r, s) => {
|
|
20362
20391
|
var d;
|
|
20363
|
-
const u =
|
|
20392
|
+
const u = re("KLabel");
|
|
20364
20393
|
return w(), V("div", TN, [
|
|
20365
20394
|
C(u, Xe({ class: "ff-array-field-label" }, l(o), {
|
|
20366
20395
|
"data-testid": `ff-label-${l(a)}`,
|
|
@@ -20476,7 +20505,7 @@ const ZP = /* @__PURE__ */ he({
|
|
|
20476
20505
|
r.value = d, o.value = d;
|
|
20477
20506
|
}
|
|
20478
20507
|
return (d, p) => {
|
|
20479
|
-
const c =
|
|
20508
|
+
const c = re("KSegmentedControl");
|
|
20480
20509
|
return w(), V(Fe, null, [
|
|
20481
20510
|
l(i) ? (w(), L(vo, {
|
|
20482
20511
|
key: 0,
|
|
@@ -20740,20 +20769,20 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
20740
20769
|
credential: o.credential,
|
|
20741
20770
|
enableRedisPartial: o.enableRedisPartial,
|
|
20742
20771
|
experimentalRenders: o.config.app === "konnect" ? o.config.experimentalRenders : void 0
|
|
20743
|
-
}), { convertToDotNotation: u, unFlattenObject: d, dismissField: p, isObjectEmpty: c, unsetNullForeignKey: f } = Ye.usePluginHelpers(), m = Ye.useExperimentalFreeForms(), { objectsAreEqual: g } = Aa(), { i18n: { t: y } } = ze(), h = (
|
|
20772
|
+
}), { convertToDotNotation: u, unFlattenObject: d, dismissField: p, isObjectEmpty: c, unsetNullForeignKey: f } = Ye.usePluginHelpers(), m = Ye.useExperimentalFreeForms(), { objectsAreEqual: g } = Aa(), { i18n: { t: y } } = ze(), h = (se) => o.config.app === "konnect" ? se.replace(/{controlPlaneId}/gi, o.config.controlPlaneId || "") : o.config.app === "kongManager" ? se.replace(/\/{workspace}/gi, o.config.workspace ? `/${o.config.workspace}` : "") : se, v = (se, Q) => {
|
|
20744
20773
|
let le = `${o.config.apiBaseUrl}${dt.form[o.config.app].entityGetOne}`;
|
|
20745
|
-
return le = h(le), le = le.replace(/{entity}/gi,
|
|
20746
|
-
}, k = (
|
|
20774
|
+
return le = h(le), le = le.replace(/{entity}/gi, se), le = le.replace(/{id}/gi, Q), le;
|
|
20775
|
+
}, k = (se) => {
|
|
20747
20776
|
let Q = `${o.config.apiBaseUrl}${dt.form[o.config.app].entityGetAll}`;
|
|
20748
|
-
return Q = h(Q), Q = Q.replace(/{entity}/gi,
|
|
20777
|
+
return Q = h(Q), Q = Q.replace(/{entity}/gi, se), Q;
|
|
20749
20778
|
};
|
|
20750
20779
|
qt(Mp, {
|
|
20751
|
-
getOne: (
|
|
20752
|
-
const Ee = v(
|
|
20780
|
+
getOne: (se, Q, le) => {
|
|
20781
|
+
const Ee = v(se, Q);
|
|
20753
20782
|
return r.get(Ee, le);
|
|
20754
20783
|
},
|
|
20755
|
-
getAll: (
|
|
20756
|
-
const le = k(
|
|
20784
|
+
getAll: (se, Q) => {
|
|
20785
|
+
const le = k(se);
|
|
20757
20786
|
return o.config.app === "konnect" ? r.get(le).then((Ee) => {
|
|
20758
20787
|
const { data: { data: Pe } } = Ee;
|
|
20759
20788
|
if (delete Q.size, delete Q.offset, Pe.length && Object.keys(Q).length === 1) {
|
|
@@ -20763,11 +20792,11 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
20763
20792
|
return Ee;
|
|
20764
20793
|
}) : r.get(le, { params: Q });
|
|
20765
20794
|
},
|
|
20766
|
-
getAllV2: (
|
|
20767
|
-
const Ee = k(
|
|
20795
|
+
getAllV2: (se, Q, le) => {
|
|
20796
|
+
const Ee = k(se);
|
|
20768
20797
|
if (o.config.app === "konnect") {
|
|
20769
20798
|
const { size: Pe, offset: pe, ...je } = Q;
|
|
20770
|
-
if (
|
|
20799
|
+
if (se === "consumer_groups")
|
|
20771
20800
|
return r.get(Ee, {
|
|
20772
20801
|
params: {
|
|
20773
20802
|
size: 1e3
|
|
@@ -20798,8 +20827,8 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
20798
20827
|
}
|
|
20799
20828
|
return r.get(Ee, { params: Q, signal: le });
|
|
20800
20829
|
},
|
|
20801
|
-
peek: (
|
|
20802
|
-
const le = k(
|
|
20830
|
+
peek: (se, Q = 50) => {
|
|
20831
|
+
const le = k(se);
|
|
20803
20832
|
return r.get(le, {
|
|
20804
20833
|
params: {
|
|
20805
20834
|
size: Q
|
|
@@ -20808,20 +20837,20 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
20808
20837
|
}
|
|
20809
20838
|
}), qt(Vi, o.config);
|
|
20810
20839
|
const I = X(""), N = X(""), D = X(null), O = X({}), P = Ni({}), R = Ni({}), M = S(() => {
|
|
20811
|
-
var
|
|
20812
|
-
return (
|
|
20840
|
+
var se;
|
|
20841
|
+
return (se = D.value) == null ? void 0 : se.options;
|
|
20813
20842
|
}), j = S(() => {
|
|
20814
|
-
const
|
|
20843
|
+
const se = qN(
|
|
20815
20844
|
R.name,
|
|
20816
20845
|
o.rawSchema
|
|
20817
20846
|
);
|
|
20818
|
-
return DN(
|
|
20819
|
-
}), Y = X(!1), G = X(), ee = (
|
|
20820
|
-
Y.value =
|
|
20821
|
-
}, J = (
|
|
20847
|
+
return DN(se);
|
|
20848
|
+
}), Y = X(!1), G = X(), ee = (se, Q) => {
|
|
20849
|
+
Y.value = se ?? "", G.value = Q;
|
|
20850
|
+
}, J = (se) => {
|
|
20822
20851
|
var Q;
|
|
20823
|
-
(Q = G.value) == null || Q.call(G,
|
|
20824
|
-
}, q = (
|
|
20852
|
+
(Q = G.value) == null || Q.call(G, se), Y.value = !1;
|
|
20853
|
+
}, q = (se) => {
|
|
20825
20854
|
var Ue, Ze;
|
|
20826
20855
|
const Q = { ...o.schema }, le = R, Ee = P, Pe = Object.keys(le), pe = {};
|
|
20827
20856
|
if (!c(O.value))
|
|
@@ -20901,39 +20930,39 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
20901
20930
|
});
|
|
20902
20931
|
const je = d(pe);
|
|
20903
20932
|
if (N.value) {
|
|
20904
|
-
if (
|
|
20905
|
-
for (const fe of
|
|
20933
|
+
if (se && se.length)
|
|
20934
|
+
for (const fe of se)
|
|
20906
20935
|
delete je[fe];
|
|
20907
20936
|
Object.assign(je, ve.value);
|
|
20908
20937
|
}
|
|
20909
20938
|
return je;
|
|
20910
|
-
}, z = (
|
|
20911
|
-
p(R, Q,
|
|
20939
|
+
}, z = (se, Q = {}) => {
|
|
20940
|
+
p(R, Q, se, o.editing), a("model-updated", {
|
|
20912
20941
|
model: R,
|
|
20913
20942
|
originalModel: P,
|
|
20914
20943
|
data: q()
|
|
20915
20944
|
});
|
|
20916
|
-
}, $ = (
|
|
20945
|
+
}, $ = (se, Q) => {
|
|
20917
20946
|
var Pe;
|
|
20918
|
-
const le = { [Q]:
|
|
20919
|
-
typeof ((Pe = o.schema[Q]) == null ? void 0 : Pe.modelTransformer) == "function" && (le[Q] = o.schema[Q].modelTransformer(
|
|
20947
|
+
const le = { [Q]: se };
|
|
20948
|
+
typeof ((Pe = o.schema[Q]) == null ? void 0 : Pe.modelTransformer) == "function" && (le[Q] = o.schema[Q].modelTransformer(se));
|
|
20920
20949
|
const Ee = Object.assign({}, R, le);
|
|
20921
20950
|
Object.assign(R, Ee), a("model-updated", {
|
|
20922
20951
|
model: R,
|
|
20923
20952
|
originalModel: P,
|
|
20924
20953
|
data: q()
|
|
20925
20954
|
});
|
|
20926
|
-
}, U = (
|
|
20927
|
-
a("validity-change",
|
|
20928
|
-
}, H = (
|
|
20929
|
-
Object.keys(
|
|
20955
|
+
}, U = (se) => {
|
|
20956
|
+
a("validity-change", se);
|
|
20957
|
+
}, H = (se, Q) => {
|
|
20958
|
+
Object.keys(se).forEach((le) => {
|
|
20930
20959
|
var Ue, Ze;
|
|
20931
20960
|
let Ee = Q ? `${Q}-${le}` : le, Pe = o.schema[Ee];
|
|
20932
20961
|
if (!Pe) {
|
|
20933
20962
|
const fe = Q ? `${Q}-${le.replace(/-/g, "_")}` : le.replace(/-/g, "_");
|
|
20934
20963
|
(Ue = o.schema[fe]) != null && Ue.fieldNameHasDashes && (Ee = fe, Pe = o.schema[Ee]), Q && ((Ze = o.schema[Q]) == null ? void 0 : Ze.keyFromObject) === le && (Ee = Q, Pe = o.schema[Ee]);
|
|
20935
20964
|
}
|
|
20936
|
-
const pe =
|
|
20965
|
+
const pe = se[le], je = typeof pe;
|
|
20937
20966
|
if (Pe && Pe.type === "object-advanced" && !pe) {
|
|
20938
20967
|
R[Ee] = {}, P[Ee] = {};
|
|
20939
20968
|
return;
|
|
@@ -20954,20 +20983,20 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
20954
20983
|
originalModel: P,
|
|
20955
20984
|
data: q()
|
|
20956
20985
|
});
|
|
20957
|
-
}, ve = tn(o.record), B = (
|
|
20958
|
-
ve.value =
|
|
20986
|
+
}, ve = tn(o.record), B = (se, Q) => {
|
|
20987
|
+
ve.value = se;
|
|
20959
20988
|
const le = { ...R };
|
|
20960
20989
|
for (const Ee of Q || [])
|
|
20961
20990
|
delete le[Ee];
|
|
20962
20991
|
a("model-updated", {
|
|
20963
20992
|
// config change should also update the form model
|
|
20964
20993
|
// otherwise the submit button will be disabled
|
|
20965
|
-
model: { ...le, ...
|
|
20994
|
+
model: { ...le, ...se },
|
|
20966
20995
|
originalModel: P,
|
|
20967
20996
|
data: q(Q)
|
|
20968
20997
|
});
|
|
20969
20998
|
}, Z = X(!0), ye = () => {
|
|
20970
|
-
var
|
|
20999
|
+
var se;
|
|
20971
21000
|
if (o.record && o.schema && (H({
|
|
20972
21001
|
enabled: o.record.enabled ?? !0,
|
|
20973
21002
|
...o.record.instance_name && { instance_name: o.record.instance_name || "" },
|
|
@@ -20988,28 +21017,28 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
20988
21017
|
}
|
|
20989
21018
|
H(Q);
|
|
20990
21019
|
}
|
|
20991
|
-
if ((
|
|
21020
|
+
if ((se = o.entityMap.consumer) != null && se.id && o.schema && o.credential) {
|
|
20992
21021
|
const Q = {};
|
|
20993
21022
|
Object.prototype.hasOwnProperty.call(R, "consumer") && (Q.consumer = o.entityMap.consumer.id), H(Q);
|
|
20994
21023
|
}
|
|
20995
21024
|
Z.value = !1;
|
|
20996
21025
|
};
|
|
20997
|
-
return De(Z, (
|
|
20998
|
-
a("loading",
|
|
20999
|
-
}), De(() => o.schema, (
|
|
21026
|
+
return De(Z, (se) => {
|
|
21027
|
+
a("loading", se);
|
|
21028
|
+
}), De(() => o.schema, (se, Q) => {
|
|
21000
21029
|
var Ee, Pe;
|
|
21001
|
-
if (g(
|
|
21030
|
+
if (g(se || {}, Q || {}))
|
|
21002
21031
|
return;
|
|
21003
|
-
const le = s(
|
|
21032
|
+
const le = s(se, void 0, void 0, o.engine);
|
|
21004
21033
|
Object.assign(R, le.model), O.value = {
|
|
21005
21034
|
fields: (Pe = (Ee = O.value) == null ? void 0 : Ee.fields) == null ? void 0 : Pe.map((pe) => ({ ...pe, disabled: pe.disabled || !1 }))
|
|
21006
21035
|
}, Object.assign(P, JSON.parse(JSON.stringify(le.model))), N.value = o.engine ? o.engine === "vfg" ? void 0 : Er(le.model.name, m) || "CommonForm" : Er(le.model.name, m), I.value = Wu(le.model.name), ye();
|
|
21007
21036
|
}, { immediate: !0, deep: !0 }), pi(() => {
|
|
21008
|
-
var
|
|
21009
|
-
D.value = s(o.schema, void 0, void 0, o.engine), Object.assign(R, ((
|
|
21010
|
-
}), (
|
|
21037
|
+
var se, Q;
|
|
21038
|
+
D.value = s(o.schema, void 0, void 0, o.engine), Object.assign(R, ((se = D.value) == null ? void 0 : se.model) || {}), O.value = ((Q = D.value) == null ? void 0 : Q.schema) || {}, ye();
|
|
21039
|
+
}), (se, Q) => {
|
|
21011
21040
|
var Ee, Pe;
|
|
21012
|
-
const le =
|
|
21041
|
+
const le = re("KSkeleton");
|
|
21013
21042
|
return w(), V(Fe, null, [
|
|
21014
21043
|
K("div", UN, [
|
|
21015
21044
|
Z.value ? (w(), L(le, {
|
|
@@ -21029,7 +21058,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
21029
21058
|
"plugin-name": R.name,
|
|
21030
21059
|
"render-rules": (Ee = l(Qt)[R.name]) == null ? void 0 : Ee.freeformRenderRules,
|
|
21031
21060
|
schema: j.value,
|
|
21032
|
-
onGlobalAction: Q[0] || (Q[0] = (pe, je) =>
|
|
21061
|
+
onGlobalAction: Q[0] || (Q[0] = (pe, je) => se.$emit("globalAction", pe, je))
|
|
21033
21062
|
}, et({ _: 2 }, [
|
|
21034
21063
|
e.enableVaultSecretPicker ? {
|
|
21035
21064
|
name: l(Sn),
|
|
@@ -21047,7 +21076,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
21047
21076
|
"is-editing": e.editing,
|
|
21048
21077
|
"on-model-updated": $,
|
|
21049
21078
|
"on-partial-toggled": z,
|
|
21050
|
-
"show-new-partial-modal": (pe) =>
|
|
21079
|
+
"show-new-partial-modal": (pe) => se.$emit("showNewPartialModal", pe)
|
|
21051
21080
|
}, et({ _: 2 }, [
|
|
21052
21081
|
e.enableVaultSecretPicker ? {
|
|
21053
21082
|
name: l(Sn),
|
|
@@ -21066,7 +21095,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
21066
21095
|
onModelUpdated: $,
|
|
21067
21096
|
onPartialToggled: z,
|
|
21068
21097
|
onRefreshModel: q,
|
|
21069
|
-
onShowNewPartialModal: Q[1] || (Q[1] = (pe) =>
|
|
21098
|
+
onShowNewPartialModal: Q[1] || (Q[1] = (pe) => se.$emit("showNewPartialModal", pe))
|
|
21070
21099
|
}, et({
|
|
21071
21100
|
"plugin-config-empty-state": A(() => [
|
|
21072
21101
|
K("div", GN, W(l(y)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
@@ -21668,7 +21697,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
21668
21697
|
data: ce.data,
|
|
21669
21698
|
resourceEndpoint: ee.value
|
|
21670
21699
|
});
|
|
21671
|
-
}, Ne = X(/* @__PURE__ */ new Map()), Ke = S(() => [O.clientErrorMessage, O.serverErrorMessage].filter(Boolean).join("; ")),
|
|
21700
|
+
}, Ne = X(/* @__PURE__ */ new Map()), Ke = S(() => [O.clientErrorMessage, O.serverErrorMessage].filter(Boolean).join("; ")), se = (ce) => {
|
|
21672
21701
|
ce.valid ? Ne.value.delete(ce.model) : Ne.value.set(ce.model, ce.error), O.clientErrorMessage = [...Ne.value.entries()].map(([Ie, T]) => `${Ie}: ${typeof T == "string" ? T : p(T)}`).join("; "), O.clientErrorMessage && (O.serverErrorMessage = "");
|
|
21673
21702
|
};
|
|
21674
21703
|
De([Y, H], (ce, Ie) => {
|
|
@@ -21754,7 +21783,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
21754
21783
|
fe.value = !1;
|
|
21755
21784
|
}
|
|
21756
21785
|
}), (ce, Ie) => {
|
|
21757
|
-
const T =
|
|
21786
|
+
const T = re("KSkeleton"), ae = re("KEmptyState"), te = re("KButton"), me = re("KTabs"), ne = re("KSlideout");
|
|
21758
21787
|
return w(), V("div", {
|
|
21759
21788
|
class: Qe(["kong-ui-entities-plugin-form-container", { "new-form-layout": l(n) }])
|
|
21760
21789
|
}, [
|
|
@@ -21855,7 +21884,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
21855
21884
|
onLoading: Ie[1] || (Ie[1] = (de) => N.value = de),
|
|
21856
21885
|
onModelUpdated: ye,
|
|
21857
21886
|
onShowNewPartialModal: Ie[2] || (Ie[2] = (de) => ce.$emit("showNewPartialModal", de)),
|
|
21858
|
-
onValidityChange:
|
|
21887
|
+
onValidityChange: se
|
|
21859
21888
|
}, null, 8, ["config", "credential", "editing", "enable-redis-partial", "enable-vault-secret-picker", "engine", "entity-map", "raw-schema", "record", "schema"])
|
|
21860
21889
|
]),
|
|
21861
21890
|
_: 1
|
|
@@ -22135,7 +22164,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
22135
22164
|
}), B = (fe) => ({
|
|
22136
22165
|
label: o("actions.configure_dynamic_ordering"),
|
|
22137
22166
|
to: a.config.getConfigureDynamicOrderingRoute(fe)
|
|
22138
|
-
}), Z = X(void 0), ye = X(!1), Ne = X(!1), Ke = X(""),
|
|
22167
|
+
}), Z = X(void 0), ye = X(!1), Ne = X(!1), Ke = X(""), se = kp(a.config, k.value), Q = (fe) => {
|
|
22139
22168
|
Z.value = fe, ye.value = !0;
|
|
22140
22169
|
}, le = () => {
|
|
22141
22170
|
ye.value = !1;
|
|
@@ -22144,7 +22173,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
22144
22173
|
if ((fe = Z.value) != null && fe.id) {
|
|
22145
22174
|
Ne.value = !0;
|
|
22146
22175
|
try {
|
|
22147
|
-
await s.delete(
|
|
22176
|
+
await s.delete(se(Z.value.id)), Ne.value = !1, ye.value = !1, I.value++, i("delete:success", Z.value);
|
|
22148
22177
|
} catch (ce) {
|
|
22149
22178
|
Ke.value = ((be = (Ce = ce.response) == null ? void 0 : Ce.data) == null ? void 0 : be.message) || ce.message || o("errors.delete"), i("error", ce);
|
|
22150
22179
|
} finally {
|
|
@@ -22173,7 +22202,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
22173
22202
|
return pi(async () => {
|
|
22174
22203
|
je.value = await a.canCreate(), je.value && (pe.value.title = o("plugins.list.empty_state.title"), pe.value.ctaText = o("actions.create"));
|
|
22175
22204
|
}), (fe, Ce) => {
|
|
22176
|
-
const be =
|
|
22205
|
+
const be = re("KButton"), ce = re("KEmptyState"), Ie = re("KBadge"), T = re("KTruncate"), ae = re("KInputSwitch"), te = re("KDropdownItem"), me = re("KClipboardProvider");
|
|
22177
22206
|
return w(), V("div", QN, [
|
|
22178
22207
|
C(l(Ep), {
|
|
22179
22208
|
"cache-identifier": e.cacheIdentifier,
|
|
@@ -22538,7 +22567,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
22538
22567
|
}
|
|
22539
22568
|
};
|
|
22540
22569
|
return (v, k) => {
|
|
22541
|
-
const E =
|
|
22570
|
+
const E = re("KButton"), x = re("KDropdownItem"), b = re("KDropdownMenu"), _ = re("KTooltip");
|
|
22542
22571
|
return w(), V("div", lR, [
|
|
22543
22572
|
C(_, {
|
|
22544
22573
|
text: e.plugin.disabledMessage
|
|
@@ -22676,7 +22705,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
22676
22705
|
}
|
|
22677
22706
|
};
|
|
22678
22707
|
return (y, h) => {
|
|
22679
|
-
const v =
|
|
22708
|
+
const v = re("KButton"), k = re("KModal");
|
|
22680
22709
|
return !c.value && e.plugin ? (w(), L(l(zu), {
|
|
22681
22710
|
key: 0,
|
|
22682
22711
|
"action-pending": d.value,
|
|
@@ -22816,7 +22845,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
22816
22845
|
}), Gr(() => {
|
|
22817
22846
|
window == null || window.removeEventListener("resize", E);
|
|
22818
22847
|
}), (b, _) => {
|
|
22819
|
-
const I =
|
|
22848
|
+
const I = re("KEmptyState"), N = re("KCollapse");
|
|
22820
22849
|
return w(), V("div", _R, [
|
|
22821
22850
|
d.value.length ? (w(), L(N, {
|
|
22822
22851
|
key: 1,
|
|
@@ -22933,7 +22962,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
22933
22962
|
}), Gr(() => {
|
|
22934
22963
|
window == null || window.removeEventListener("resize", m);
|
|
22935
22964
|
}), (y, h) => {
|
|
22936
|
-
const v =
|
|
22965
|
+
const v = re("KCollapse");
|
|
22937
22966
|
return w(), L(v, {
|
|
22938
22967
|
modelValue: n.value,
|
|
22939
22968
|
"onUpdate:modelValue": h[0] || (h[0] = (k) => n.value = k),
|
|
@@ -23028,7 +23057,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
23028
23057
|
return n.config.app === "konnect" && delete d[Ve.CUSTOM_PLUGINS], d;
|
|
23029
23058
|
});
|
|
23030
23059
|
return (d, p) => {
|
|
23031
|
-
const c =
|
|
23060
|
+
const c = re("KEmptyState");
|
|
23032
23061
|
return w(), V("div", xR, [
|
|
23033
23062
|
Object.keys(u.value).length ? ue("", !0) : (w(), L(c, {
|
|
23034
23063
|
key: 0,
|
|
@@ -23269,7 +23298,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
23269
23298
|
}
|
|
23270
23299
|
m.value || (v.value = P()), f.value = !1;
|
|
23271
23300
|
}), ($, U) => {
|
|
23272
|
-
const H =
|
|
23301
|
+
const H = re("KInput"), ve = re("KSkeletonBox"), B = re("KSkeleton"), Z = re("KEmptyState"), ye = re("KTooltip"), Ne = re("KTabs");
|
|
23273
23302
|
return w(), V("div", SR, [
|
|
23274
23303
|
K("div", TR, [
|
|
23275
23304
|
C(H, {
|
|
@@ -23414,7 +23443,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
23414
23443
|
i.config.app === "konnect" && typeof h.getCustomEditRoute == "function" && a.push(h.getCustomEditRoute(g, y));
|
|
23415
23444
|
};
|
|
23416
23445
|
return (g, y) => {
|
|
23417
|
-
const h =
|
|
23446
|
+
const h = re("KButton"), v = re("KDropdownItem"), k = re("KDropdownMenu"), E = re("RouterLink"), x = re("KTooltip");
|
|
23418
23447
|
return w(), V("div", LR, [
|
|
23419
23448
|
C(x, {
|
|
23420
23449
|
text: e.plugin.disabledMessage
|
|
@@ -23624,7 +23653,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
23624
23653
|
};
|
|
23625
23654
|
return (s, u) => {
|
|
23626
23655
|
var p, c;
|
|
23627
|
-
const d =
|
|
23656
|
+
const d = re("KEmptyState");
|
|
23628
23657
|
return w(), V("div", eF, [
|
|
23629
23658
|
Object.keys(e.pluginList || []).length ? ue("", !0) : (w(), L(d, {
|
|
23630
23659
|
key: 0,
|
|
@@ -23737,7 +23766,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
23737
23766
|
}));
|
|
23738
23767
|
};
|
|
23739
23768
|
return (x, b) => {
|
|
23740
|
-
const _ =
|
|
23769
|
+
const _ = re("KButton"), I = re("KDropdownItem"), N = re("KDropdown"), D = re("KTableView"), O = re("KCard");
|
|
23741
23770
|
return w(), V(Fe, null, [
|
|
23742
23771
|
C(O, { "data-testid": "plugin-catalog-list-view-card" }, {
|
|
23743
23772
|
default: A(() => [
|
|
@@ -23988,7 +24017,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
23988
24017
|
}
|
|
23989
24018
|
h.value || (x.value = j()), y.value = !1;
|
|
23990
24019
|
}), (G, ee) => {
|
|
23991
|
-
const J =
|
|
24020
|
+
const J = re("KCheckbox"), q = re("KBadge"), z = re("KCollapse"), $ = re("KInput"), U = re("KSkeletonBox"), H = re("KSkeleton"), ve = re("KEmptyState");
|
|
23992
24021
|
return w(), V("div", pF, [
|
|
23993
24022
|
K("div", mF, [
|
|
23994
24023
|
K("div", gF, W(l(i)("plugins.select.filter.title")), 1),
|
|
@@ -24152,7 +24181,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
24152
24181
|
return tp.safeParse((n = e.pluginData) == null ? void 0 : n.config).success;
|
|
24153
24182
|
});
|
|
24154
24183
|
return lf(e.pluginData), (n, i) => {
|
|
24155
|
-
const a =
|
|
24184
|
+
const a = re("KLabel");
|
|
24156
24185
|
return t.value ? (w(), V("div", SF, [
|
|
24157
24186
|
K("div", TF, [
|
|
24158
24187
|
C(a, null, {
|
|
@@ -24316,7 +24345,7 @@ const UN = { class: "kong-ui-entities-plugin-form" }, BN = {
|
|
|
24316
24345
|
k.value = !1;
|
|
24317
24346
|
}
|
|
24318
24347
|
}), (b, _) => {
|
|
24319
|
-
const I =
|
|
24348
|
+
const I = re("KSkeleton"), N = re("KEmptyState"), D = re("KCopy");
|
|
24320
24349
|
return w(), V("div", RF, [
|
|
24321
24350
|
k.value ? (w(), L(I, {
|
|
24322
24351
|
key: 0,
|