@kong-ui-public/entities-plugins 9.18.1 → 9.18.2-pr.2071.bea43f19c.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.
- package/dist/entities-plugins.es.js +257 -251
- package/dist/entities-plugins.umd.js +8 -8
- package/dist/style.css +1 -1
- package/dist/types/components/free-form/RequestCallout/CalloutForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/RequestCallout/CalloutRequestForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/ArrayField.vue.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var Yr = Object.defineProperty;
|
|
2
2
|
var Fr = (e, t, a) => t in e ? Yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var Se = (e, t, a) => Fr(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
-
import { ref as Q, resolveComponent as N, openBlock as m, createElementBlock as x, createBlock as D, resolveDynamicComponent as je, withCtx as w, Fragment as he, renderList as Ie, createCommentVNode as _, createSlots as $e, renderSlot as gt, normalizeClass as Be, createTextVNode as be, toDisplayString as F, createVNode as v, createElementVNode as I, normalizeProps as Nr, guardReactiveProps as Kr, defineComponent as pe, provide as kt, useSlots as An, computed as L, onMounted as Da, watch as We, unref as r, nextTick as qt, mergeProps as _e, onBeforeMount as Jt, toRefs as Aa, isRef as Ga, toRef as Dl, inject as Dt, Transition as Gl, resolveDirective as Ll, withDirectives as dt, vModelText as _a, vModelCheckbox as zr, vModelSelect as qr, vModelDynamic as Vl, vModelRadio as Qr, vShow as Xr, markRaw as Jr, toValue as jl, toRaw as Zr, useCssVars as Wr, reactive as la, useTemplateRef as Hl, withModifiers as zt, withKeys as _i, mergeModels as
|
|
5
|
-
import { useStringHelpers as
|
|
6
|
-
import { useRouter as
|
|
4
|
+
import { ref as Q, resolveComponent as N, openBlock as m, createElementBlock as x, createBlock as D, resolveDynamicComponent as je, withCtx as w, Fragment as he, renderList as Ie, createCommentVNode as _, createSlots as $e, renderSlot as gt, normalizeClass as Be, createTextVNode as be, toDisplayString as F, createVNode as v, createElementVNode as I, normalizeProps as Nr, guardReactiveProps as Kr, defineComponent as pe, provide as kt, useSlots as An, computed as L, onMounted as Da, watch as We, unref as r, nextTick as qt, mergeProps as _e, onBeforeMount as Jt, toRefs as Aa, isRef as Ga, toRef as Dl, inject as Dt, Transition as Gl, resolveDirective as Ll, withDirectives as dt, vModelText as _a, vModelCheckbox as zr, vModelSelect as qr, vModelDynamic as Vl, vModelRadio as Qr, vShow as Xr, markRaw as Jr, toValue as jl, toRaw as Zr, useCssVars as Wr, reactive as la, useTemplateRef as Hl, withModifiers as zt, withKeys as _i, mergeModels as ci, useModel as di, useAttrs as _r, createPropsRestProxy as Yl, shallowRef as $r, Teleport as pi, onUnmounted as Fl, normalizeStyle as Nl } from "vue";
|
|
5
|
+
import { useStringHelpers as Un, ConfigurationSchemaType as ot, useErrors as gn, useDebouncedFilter as Ai, useAxios as Lt, useHelpers as Dn, EntityBaseFormType as aa, EntityBaseForm as eu, SupportedEntityType as gi, JsonCodeBlock as tu, YamlCodeBlock as au, TerraformCodeBlock as nu, useTableState as iu, useGatewayFeatureSupported as su, useFetcher as lu, useDeleteUrlBuilder as ou, FetcherStatus as ru, EntityBaseTable as uu, EntityFilter as cu, PermissionsWrapper as na, TableTags as du, EntityEmptyState as pu, EntityToggleModal as Au, EntityDeleteModal as Kl, EntityTypes as zl, ConfigurationSchemaSection as Oa, useSchemaProvider as gu, EntityBaseConfigCard as mu, InternalLinkItem as Qa } from "@kong-ui-public/entities-shared";
|
|
6
|
+
import { useRouter as Gn, useRoute as fu } from "vue-router";
|
|
7
7
|
import { createI18n as bt, i18nTComponent as ql } from "@kong-ui-public/i18n";
|
|
8
8
|
import { RemoveIcon as hu, AddIcon as ga, TrashIcon as Gt, ChevronDownIcon as vu, BookIcon as $i, PlugIcon as bu, MoreIcon as yu } from "@kong/icons";
|
|
9
9
|
import { KCard as es, KLabel as wu, KButton as ts, KTextArea as Eu, KInput as Ql, KCheckbox as Cu, KMultiselect as Iu, KSelect as Bu, KCollapse as as } from "@kong/kongponents";
|
|
10
|
-
function
|
|
10
|
+
function Ri() {
|
|
11
11
|
return {
|
|
12
12
|
async: !1,
|
|
13
13
|
breaks: !1,
|
|
@@ -21,7 +21,7 @@ function Oi() {
|
|
|
21
21
|
walkTokens: null
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
let ma =
|
|
24
|
+
let ma = Ri();
|
|
25
25
|
function Xl(e) {
|
|
26
26
|
ma = e;
|
|
27
27
|
}
|
|
@@ -623,7 +623,7 @@ ${A}` : A;
|
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
const xu = /^(?:[ \t]*(?:\n|$))+/, Pu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Uu = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, mn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Du = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Wl = /(?:[*+-]|\d{1,9}[.)])/, _l = ke(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Wl).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(),
|
|
626
|
+
const xu = /^(?:[ \t]*(?:\n|$))+/, Pu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Uu = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, mn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Du = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Wl = /(?:[*+-]|\d{1,9}[.)])/, _l = ke(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Wl).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), Mi = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Gu = /^[^\n]+/, ki = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Lu = ke(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", ki).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Vu = ke(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Wl).getRegex(), Ln = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Si = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ju = ke("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Si).replace("tag", Ln).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), $l = ke(Mi).replace("hr", mn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ln).getRegex(), Hu = ke(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", $l).getRegex(), Ti = {
|
|
627
627
|
blockquote: Hu,
|
|
628
628
|
code: Pu,
|
|
629
629
|
def: Lu,
|
|
@@ -637,21 +637,21 @@ const xu = /^(?:[ \t]*(?:\n|$))+/, Pu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*
|
|
|
637
637
|
paragraph: $l,
|
|
638
638
|
table: $a,
|
|
639
639
|
text: Gu
|
|
640
|
-
}, os = ke("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", mn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",
|
|
641
|
-
...
|
|
640
|
+
}, os = ke("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", mn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ln).getRegex(), Yu = {
|
|
641
|
+
...Ti,
|
|
642
642
|
table: os,
|
|
643
|
-
paragraph: ke(
|
|
643
|
+
paragraph: ke(Mi).replace("hr", mn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", os).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ln).getRegex()
|
|
644
644
|
}, Fu = {
|
|
645
|
-
...
|
|
646
|
-
html: ke(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",
|
|
645
|
+
...Ti,
|
|
646
|
+
html: ke(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Si).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
647
647
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
648
648
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
649
649
|
fences: $a,
|
|
650
650
|
// fences not supported
|
|
651
651
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
652
|
-
paragraph: ke(
|
|
652
|
+
paragraph: ke(Mi).replace("hr", mn).replace("heading", ` *#{1,6} *[^
|
|
653
653
|
]`).replace("lheading", _l).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
654
|
-
}, eo = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Nu = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, to = /^( {2,}|\\)\n(?!\s*$)/, Ku = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, fn = "\\p{P}\\p{S}", zu = ke(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, fn).getRegex(), qu = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Qu = ke(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, fn).getRegex(), Xu = ke("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, fn).getRegex(), Ju = ke("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, fn).getRegex(), Zu = ke(/\\([punct])/, "gu").replace(/punct/g, fn).getRegex(), Wu = ke(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), _u = ke(
|
|
654
|
+
}, eo = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Nu = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, to = /^( {2,}|\\)\n(?!\s*$)/, Ku = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, fn = "\\p{P}\\p{S}", zu = ke(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, fn).getRegex(), qu = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Qu = ke(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, fn).getRegex(), Xu = ke("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, fn).getRegex(), Ju = ke("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, fn).getRegex(), Zu = ke(/\\([punct])/, "gu").replace(/punct/g, fn).getRegex(), Wu = ke(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), _u = ke(Si).replace("(?:-->|$)", "-->").getRegex(), $u = ke("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", _u).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), In = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, ec = ke(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", In).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), ao = ke(/^!?\[(label)\]\[(ref)\]/).replace("label", In).replace("ref", ki).getRegex(), no = ke(/^!?\[(ref)\](?:\[\])?/).replace("ref", ki).getRegex(), tc = ke("reflink|nolink(?!\\()", "g").replace("reflink", ao).replace("nolink", no).getRegex(), xi = {
|
|
655
655
|
_backpedal: $a,
|
|
656
656
|
// only used for GFM url
|
|
657
657
|
anyPunctuation: Zu,
|
|
@@ -673,27 +673,27 @@ const xu = /^(?:[ \t]*(?:\n|$))+/, Pu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*
|
|
|
673
673
|
text: Ku,
|
|
674
674
|
url: $a
|
|
675
675
|
}, ac = {
|
|
676
|
-
...
|
|
676
|
+
...xi,
|
|
677
677
|
link: ke(/^!?\[(label)\]\((.*?)\)/).replace("label", In).getRegex(),
|
|
678
678
|
reflink: ke(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", In).getRegex()
|
|
679
|
-
},
|
|
680
|
-
...
|
|
679
|
+
}, mi = {
|
|
680
|
+
...xi,
|
|
681
681
|
escape: ke(eo).replace("])", "~|])").getRegex(),
|
|
682
682
|
url: ke(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
683
683
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
684
684
|
del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
|
|
685
685
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
686
686
|
}, nc = {
|
|
687
|
-
...
|
|
687
|
+
...mi,
|
|
688
688
|
br: ke(to).replace("{2,}", "*").getRegex(),
|
|
689
|
-
text: ke(
|
|
689
|
+
text: ke(mi.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
690
690
|
}, bn = {
|
|
691
|
-
normal:
|
|
691
|
+
normal: Ti,
|
|
692
692
|
gfm: Yu,
|
|
693
693
|
pedantic: Fu
|
|
694
694
|
}, Ja = {
|
|
695
|
-
normal:
|
|
696
|
-
gfm:
|
|
695
|
+
normal: xi,
|
|
696
|
+
gfm: mi,
|
|
697
697
|
breaks: nc,
|
|
698
698
|
pedantic: ac
|
|
699
699
|
};
|
|
@@ -1053,7 +1053,7 @@ ${t}</tr>
|
|
|
1053
1053
|
return "tokens" in t && t.tokens ? this.parser.parseInline(t.tokens) : t.text;
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
class
|
|
1056
|
+
class Pi {
|
|
1057
1057
|
// no need for block level renderers
|
|
1058
1058
|
strong({ text: t }) {
|
|
1059
1059
|
return t;
|
|
@@ -1088,7 +1088,7 @@ class Et {
|
|
|
1088
1088
|
Se(this, "options");
|
|
1089
1089
|
Se(this, "renderer");
|
|
1090
1090
|
Se(this, "textRenderer");
|
|
1091
|
-
this.options = t || ma, this.options.renderer = this.options.renderer || new Bn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new
|
|
1091
|
+
this.options = t || ma, this.options.renderer = this.options.renderer || new Bn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Pi();
|
|
1092
1092
|
}
|
|
1093
1093
|
/**
|
|
1094
1094
|
* Static Parse Method
|
|
@@ -1289,13 +1289,13 @@ Se(en, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
|
1289
1289
|
]));
|
|
1290
1290
|
class ic {
|
|
1291
1291
|
constructor(...t) {
|
|
1292
|
-
Se(this, "defaults",
|
|
1292
|
+
Se(this, "defaults", Ri());
|
|
1293
1293
|
Se(this, "options", this.setOptions);
|
|
1294
1294
|
Se(this, "parse", this.parseMarkdown(!0));
|
|
1295
1295
|
Se(this, "parseInline", this.parseMarkdown(!1));
|
|
1296
1296
|
Se(this, "Parser", Et);
|
|
1297
1297
|
Se(this, "Renderer", Bn);
|
|
1298
|
-
Se(this, "TextRenderer",
|
|
1298
|
+
Se(this, "TextRenderer", Pi);
|
|
1299
1299
|
Se(this, "Lexer", wt);
|
|
1300
1300
|
Se(this, "Tokenizer", Cn);
|
|
1301
1301
|
Se(this, "Hooks", en);
|
|
@@ -1467,7 +1467,7 @@ function Oe(e, t) {
|
|
|
1467
1467
|
Oe.options = Oe.setOptions = function(e) {
|
|
1468
1468
|
return oa.setOptions(e), Oe.defaults = oa.defaults, Xl(Oe.defaults), Oe;
|
|
1469
1469
|
};
|
|
1470
|
-
Oe.getDefaults =
|
|
1470
|
+
Oe.getDefaults = Ri;
|
|
1471
1471
|
Oe.defaults = ma;
|
|
1472
1472
|
Oe.use = function(...e) {
|
|
1473
1473
|
return oa.use(...e), Oe.defaults = oa.defaults, Xl(Oe.defaults), Oe;
|
|
@@ -1479,7 +1479,7 @@ Oe.parseInline = oa.parseInline;
|
|
|
1479
1479
|
Oe.Parser = Et;
|
|
1480
1480
|
Oe.parser = Et.parse;
|
|
1481
1481
|
Oe.Renderer = Bn;
|
|
1482
|
-
Oe.TextRenderer =
|
|
1482
|
+
Oe.TextRenderer = Pi;
|
|
1483
1483
|
Oe.Lexer = wt;
|
|
1484
1484
|
Oe.lexer = wt.lex;
|
|
1485
1485
|
Oe.Tokenizer = Cn;
|
|
@@ -2145,7 +2145,7 @@ function fa() {
|
|
|
2145
2145
|
};
|
|
2146
2146
|
}
|
|
2147
2147
|
function so() {
|
|
2148
|
-
const { capitalize: e } =
|
|
2148
|
+
const { capitalize: e } = Un(), t = ["methods", "logout_methods"];
|
|
2149
2149
|
return {
|
|
2150
2150
|
setFieldType: (A, p, h) => {
|
|
2151
2151
|
var S, f, E;
|
|
@@ -2662,7 +2662,7 @@ const Y = {
|
|
|
2662
2662
|
scope: [u.GLOBAL, u.SERVICE, u.ROUTE, u.CONSUMER, u.CONSUMER_GROUP]
|
|
2663
2663
|
}
|
|
2664
2664
|
};
|
|
2665
|
-
var
|
|
2665
|
+
var fi = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(fi || {});
|
|
2666
2666
|
const rp = [
|
|
2667
2667
|
P.AUTHENTICATION,
|
|
2668
2668
|
P.AI,
|
|
@@ -2922,18 +2922,18 @@ De[Yp] = De[Fp] = De[eA] = De[Np] = De[tA] = De[Kp] = De[zp] = De[qp] = De[Qp] =
|
|
|
2922
2922
|
function dA(e) {
|
|
2923
2923
|
return Wt(e) && go(e.length) && !!De[Zt(e)];
|
|
2924
2924
|
}
|
|
2925
|
-
function
|
|
2925
|
+
function Ui(e) {
|
|
2926
2926
|
return function(t) {
|
|
2927
2927
|
return e(t);
|
|
2928
2928
|
};
|
|
2929
2929
|
}
|
|
2930
|
-
var mo = typeof exports == "object" && exports && !exports.nodeType && exports, tn = mo && typeof module == "object" && module && !module.nodeType && module, pA = tn && tn.exports === mo,
|
|
2930
|
+
var mo = typeof exports == "object" && exports && !exports.nodeType && exports, tn = mo && typeof module == "object" && module && !module.nodeType && module, pA = tn && tn.exports === mo, Wn = pA && oo.process, Pa = function() {
|
|
2931
2931
|
try {
|
|
2932
2932
|
var e = tn && tn.require && tn.require("util").types;
|
|
2933
|
-
return e ||
|
|
2933
|
+
return e || Wn && Wn.binding && Wn.binding("util");
|
|
2934
2934
|
} catch {
|
|
2935
2935
|
}
|
|
2936
|
-
}(), gs = Pa && Pa.isTypedArray, AA = gs ?
|
|
2936
|
+
}(), gs = Pa && Pa.isTypedArray, AA = gs ? Ui(gs) : dA, gA = Object.prototype, mA = gA.hasOwnProperty;
|
|
2937
2937
|
function fo(e, t) {
|
|
2938
2938
|
var a = _t(e), n = !a && Up(e), s = !a && !n && po(e), i = !a && !n && !s && AA(e), l = a || n || s || i, o = l ? wp(e.length, String) : [], c = o.length;
|
|
2939
2939
|
for (var d in e)
|
|
@@ -2945,7 +2945,7 @@ function fo(e, t) {
|
|
|
2945
2945
|
return o;
|
|
2946
2946
|
}
|
|
2947
2947
|
var fA = Object.prototype;
|
|
2948
|
-
function
|
|
2948
|
+
function Di(e) {
|
|
2949
2949
|
var t = e && e.constructor, a = typeof t == "function" && t.prototype || fA;
|
|
2950
2950
|
return e === a;
|
|
2951
2951
|
}
|
|
@@ -2956,7 +2956,7 @@ function ho(e, t) {
|
|
|
2956
2956
|
}
|
|
2957
2957
|
var hA = ho(Object.keys, Object), vA = Object.prototype, bA = vA.hasOwnProperty;
|
|
2958
2958
|
function yA(e) {
|
|
2959
|
-
if (!
|
|
2959
|
+
if (!Di(e))
|
|
2960
2960
|
return hA(e);
|
|
2961
2961
|
var t = [];
|
|
2962
2962
|
for (var a in Object(e))
|
|
@@ -2974,20 +2974,20 @@ function Te(e) {
|
|
|
2974
2974
|
var t = Zt(e);
|
|
2975
2975
|
return t == EA || t == CA || t == wA || t == IA;
|
|
2976
2976
|
}
|
|
2977
|
-
function
|
|
2977
|
+
function Vn(e) {
|
|
2978
2978
|
return e != null && go(e.length) && !Te(e);
|
|
2979
2979
|
}
|
|
2980
|
-
function
|
|
2981
|
-
return
|
|
2980
|
+
function jn(e) {
|
|
2981
|
+
return Vn(e) ? fo(e) : yA(e);
|
|
2982
2982
|
}
|
|
2983
2983
|
function BA(e, t) {
|
|
2984
|
-
return e && yp(e, t,
|
|
2984
|
+
return e && yp(e, t, jn);
|
|
2985
2985
|
}
|
|
2986
2986
|
function OA(e, t) {
|
|
2987
2987
|
return function(a, n) {
|
|
2988
2988
|
if (a == null)
|
|
2989
2989
|
return a;
|
|
2990
|
-
if (!
|
|
2990
|
+
if (!Vn(a))
|
|
2991
2991
|
return e(a, n);
|
|
2992
2992
|
for (var s = a.length, i = -1, l = Object(a); ++i < s && n(l[i], i, l) !== !1; )
|
|
2993
2993
|
;
|
|
@@ -2995,18 +2995,18 @@ function OA(e, t) {
|
|
|
2995
2995
|
};
|
|
2996
2996
|
}
|
|
2997
2997
|
var RA = OA(BA);
|
|
2998
|
-
function
|
|
2998
|
+
function Gi(e) {
|
|
2999
2999
|
return e;
|
|
3000
3000
|
}
|
|
3001
3001
|
function MA(e) {
|
|
3002
|
-
return typeof e == "function" ? e :
|
|
3002
|
+
return typeof e == "function" ? e : Gi;
|
|
3003
3003
|
}
|
|
3004
3004
|
function ct(e, t) {
|
|
3005
3005
|
var a = _t(e) ? lo : RA;
|
|
3006
3006
|
return a(e, MA(t));
|
|
3007
3007
|
}
|
|
3008
3008
|
var kA = "[object Symbol]";
|
|
3009
|
-
function
|
|
3009
|
+
function Hn(e) {
|
|
3010
3010
|
return typeof e == "symbol" || Wt(e) && Zt(e) == kA;
|
|
3011
3011
|
}
|
|
3012
3012
|
var SA = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, TA = /^\w*$/;
|
|
@@ -3014,10 +3014,10 @@ function xA(e, t) {
|
|
|
3014
3014
|
if (_t(e))
|
|
3015
3015
|
return !1;
|
|
3016
3016
|
var a = typeof e;
|
|
3017
|
-
return a == "number" || a == "symbol" || a == "boolean" || e == null ||
|
|
3017
|
+
return a == "number" || a == "symbol" || a == "boolean" || e == null || Hn(e) ? !0 : TA.test(e) || !SA.test(e) || t != null && e in Object(t);
|
|
3018
3018
|
}
|
|
3019
|
-
var
|
|
3020
|
-
var e = /[^.]+$/.exec(
|
|
3019
|
+
var _n = Ct["__core-js_shared__"], ms = function() {
|
|
3020
|
+
var e = /[^.]+$/.exec(_n && _n.keys && _n.keys.IE_PROTO || "");
|
|
3021
3021
|
return e ? "Symbol(src)_1." + e : "";
|
|
3022
3022
|
}();
|
|
3023
3023
|
function PA(e) {
|
|
@@ -3095,32 +3095,32 @@ ra.prototype.set = tg;
|
|
|
3095
3095
|
function ag() {
|
|
3096
3096
|
this.__data__ = [], this.size = 0;
|
|
3097
3097
|
}
|
|
3098
|
-
function
|
|
3098
|
+
function Yn(e, t) {
|
|
3099
3099
|
return e === t || e !== e && t !== t;
|
|
3100
3100
|
}
|
|
3101
|
-
function
|
|
3101
|
+
function Fn(e, t) {
|
|
3102
3102
|
for (var a = e.length; a--; )
|
|
3103
|
-
if (
|
|
3103
|
+
if (Yn(e[a][0], t))
|
|
3104
3104
|
return a;
|
|
3105
3105
|
return -1;
|
|
3106
3106
|
}
|
|
3107
3107
|
var ng = Array.prototype, ig = ng.splice;
|
|
3108
3108
|
function sg(e) {
|
|
3109
|
-
var t = this.__data__, a =
|
|
3109
|
+
var t = this.__data__, a = Fn(t, e);
|
|
3110
3110
|
if (a < 0)
|
|
3111
3111
|
return !1;
|
|
3112
3112
|
var n = t.length - 1;
|
|
3113
3113
|
return a == n ? t.pop() : ig.call(t, a, 1), --this.size, !0;
|
|
3114
3114
|
}
|
|
3115
3115
|
function lg(e) {
|
|
3116
|
-
var t = this.__data__, a =
|
|
3116
|
+
var t = this.__data__, a = Fn(t, e);
|
|
3117
3117
|
return a < 0 ? void 0 : t[a][1];
|
|
3118
3118
|
}
|
|
3119
3119
|
function og(e) {
|
|
3120
|
-
return
|
|
3120
|
+
return Fn(this.__data__, e) > -1;
|
|
3121
3121
|
}
|
|
3122
3122
|
function rg(e, t) {
|
|
3123
|
-
var a = this.__data__, n =
|
|
3123
|
+
var a = this.__data__, n = Fn(a, e);
|
|
3124
3124
|
return n < 0 ? (++this.size, a.push([e, t])) : a[n][1] = t, this;
|
|
3125
3125
|
}
|
|
3126
3126
|
function Vt(e) {
|
|
@@ -3147,22 +3147,22 @@ function cg(e) {
|
|
|
3147
3147
|
var t = typeof e;
|
|
3148
3148
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
3149
3149
|
}
|
|
3150
|
-
function
|
|
3150
|
+
function Nn(e, t) {
|
|
3151
3151
|
var a = e.__data__;
|
|
3152
3152
|
return cg(t) ? a[typeof t == "string" ? "string" : "hash"] : a.map;
|
|
3153
3153
|
}
|
|
3154
3154
|
function dg(e) {
|
|
3155
|
-
var t =
|
|
3155
|
+
var t = Nn(this, e).delete(e);
|
|
3156
3156
|
return this.size -= t ? 1 : 0, t;
|
|
3157
3157
|
}
|
|
3158
3158
|
function pg(e) {
|
|
3159
|
-
return
|
|
3159
|
+
return Nn(this, e).get(e);
|
|
3160
3160
|
}
|
|
3161
3161
|
function Ag(e) {
|
|
3162
|
-
return
|
|
3162
|
+
return Nn(this, e).has(e);
|
|
3163
3163
|
}
|
|
3164
3164
|
function gg(e, t) {
|
|
3165
|
-
var a =
|
|
3165
|
+
var a = Nn(this, e), n = a.size;
|
|
3166
3166
|
return a.set(e, t), this.size += a.size == n ? 0 : 1, this;
|
|
3167
3167
|
}
|
|
3168
3168
|
function jt(e) {
|
|
@@ -3178,7 +3178,7 @@ jt.prototype.get = pg;
|
|
|
3178
3178
|
jt.prototype.has = Ag;
|
|
3179
3179
|
jt.prototype.set = gg;
|
|
3180
3180
|
var mg = "Expected a function";
|
|
3181
|
-
function
|
|
3181
|
+
function Li(e, t) {
|
|
3182
3182
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
3183
3183
|
throw new TypeError(mg);
|
|
3184
3184
|
var a = function() {
|
|
@@ -3188,12 +3188,12 @@ function Gi(e, t) {
|
|
|
3188
3188
|
var l = e.apply(this, n);
|
|
3189
3189
|
return a.cache = i.set(s, l) || i, l;
|
|
3190
3190
|
};
|
|
3191
|
-
return a.cache = new (
|
|
3191
|
+
return a.cache = new (Li.Cache || jt)(), a;
|
|
3192
3192
|
}
|
|
3193
|
-
|
|
3193
|
+
Li.Cache = jt;
|
|
3194
3194
|
var fg = 500;
|
|
3195
3195
|
function hg(e) {
|
|
3196
|
-
var t =
|
|
3196
|
+
var t = Li(e, function(n) {
|
|
3197
3197
|
return a.size === fg && a.clear(), n;
|
|
3198
3198
|
}), a = t.cache;
|
|
3199
3199
|
return t;
|
|
@@ -3215,7 +3215,7 @@ function vo(e) {
|
|
|
3215
3215
|
return e;
|
|
3216
3216
|
if (_t(e))
|
|
3217
3217
|
return wg(e, vo) + "";
|
|
3218
|
-
if (
|
|
3218
|
+
if (Hn(e))
|
|
3219
3219
|
return hs ? hs.call(e) : "";
|
|
3220
3220
|
var t = e + "";
|
|
3221
3221
|
return t == "0" && 1 / e == -Eg ? "-0" : t;
|
|
@@ -3228,7 +3228,7 @@ function Cg(e, t) {
|
|
|
3228
3228
|
}
|
|
3229
3229
|
var Ig = 1 / 0;
|
|
3230
3230
|
function Bg(e) {
|
|
3231
|
-
if (typeof e == "string" ||
|
|
3231
|
+
if (typeof e == "string" || Hn(e))
|
|
3232
3232
|
return e;
|
|
3233
3233
|
var t = e + "";
|
|
3234
3234
|
return t == "0" && 1 / e == -Ig ? "-0" : t;
|
|
@@ -3246,7 +3246,7 @@ function Me(e, t, a) {
|
|
|
3246
3246
|
function Ke(e) {
|
|
3247
3247
|
return e == null;
|
|
3248
3248
|
}
|
|
3249
|
-
const Nt = "kong-ui-forms-api",
|
|
3249
|
+
const Nt = "kong-ui-forms-api", Vi = "kong-ui-forms-config", Rg = "redis-partial-list-fetcher-key", Mt = "autofill", pt = "autofillSlot";
|
|
3250
3250
|
function Mg() {
|
|
3251
3251
|
this.__data__ = new Vt(), this.size = 0;
|
|
3252
3252
|
}
|
|
@@ -3298,9 +3298,9 @@ function yo(e, t, a) {
|
|
|
3298
3298
|
var Ug = Object.prototype, Dg = Ug.hasOwnProperty;
|
|
3299
3299
|
function wo(e, t, a) {
|
|
3300
3300
|
var n = e[t];
|
|
3301
|
-
(!(Dg.call(e, t) &&
|
|
3301
|
+
(!(Dg.call(e, t) && Yn(n, a)) || a === void 0 && !(t in e)) && yo(e, t, a);
|
|
3302
3302
|
}
|
|
3303
|
-
function
|
|
3303
|
+
function Kn(e, t, a, n) {
|
|
3304
3304
|
var s = !a;
|
|
3305
3305
|
a || (a = {});
|
|
3306
3306
|
for (var i = -1, l = t.length; ++i < l; ) {
|
|
@@ -3310,7 +3310,7 @@ function Nn(e, t, a, n) {
|
|
|
3310
3310
|
return a;
|
|
3311
3311
|
}
|
|
3312
3312
|
function Gg(e, t) {
|
|
3313
|
-
return e &&
|
|
3313
|
+
return e && Kn(t, jn(t), e);
|
|
3314
3314
|
}
|
|
3315
3315
|
function Lg(e) {
|
|
3316
3316
|
var t = [];
|
|
@@ -3323,16 +3323,16 @@ var Vg = Object.prototype, jg = Vg.hasOwnProperty;
|
|
|
3323
3323
|
function Hg(e) {
|
|
3324
3324
|
if (!vt(e))
|
|
3325
3325
|
return Lg(e);
|
|
3326
|
-
var t =
|
|
3326
|
+
var t = Di(e), a = [];
|
|
3327
3327
|
for (var n in e)
|
|
3328
3328
|
n == "constructor" && (t || !jg.call(e, n)) || a.push(n);
|
|
3329
3329
|
return a;
|
|
3330
3330
|
}
|
|
3331
|
-
function
|
|
3332
|
-
return
|
|
3331
|
+
function zn(e) {
|
|
3332
|
+
return Vn(e) ? fo(e, !0) : Hg(e);
|
|
3333
3333
|
}
|
|
3334
3334
|
function Yg(e, t) {
|
|
3335
|
-
return e &&
|
|
3335
|
+
return e && Kn(t, zn(t), e);
|
|
3336
3336
|
}
|
|
3337
3337
|
var Eo = typeof exports == "object" && exports && !exports.nodeType && exports, vs = Eo && typeof module == "object" && module && !module.nodeType && module, Fg = vs && vs.exports === Eo, bs = Fg ? Ct.Buffer : void 0, ys = bs ? bs.allocUnsafe : void 0;
|
|
3338
3338
|
function Ng(e, t) {
|
|
@@ -3357,13 +3357,13 @@ function zg(e, t) {
|
|
|
3357
3357
|
function Co() {
|
|
3358
3358
|
return [];
|
|
3359
3359
|
}
|
|
3360
|
-
var qg = Object.prototype, Qg = qg.propertyIsEnumerable, ws = Object.getOwnPropertySymbols,
|
|
3360
|
+
var qg = Object.prototype, Qg = qg.propertyIsEnumerable, ws = Object.getOwnPropertySymbols, ji = ws ? function(e) {
|
|
3361
3361
|
return e == null ? [] : (e = Object(e), zg(ws(e), function(t) {
|
|
3362
3362
|
return Qg.call(e, t);
|
|
3363
3363
|
}));
|
|
3364
3364
|
} : Co;
|
|
3365
3365
|
function Xg(e, t) {
|
|
3366
|
-
return
|
|
3366
|
+
return Kn(e, ji(e), t);
|
|
3367
3367
|
}
|
|
3368
3368
|
function Io(e, t) {
|
|
3369
3369
|
for (var a = -1, n = t.length, s = e.length; ++a < n; )
|
|
@@ -3372,24 +3372,24 @@ function Io(e, t) {
|
|
|
3372
3372
|
}
|
|
3373
3373
|
var Bo = ho(Object.getPrototypeOf, Object), Jg = Object.getOwnPropertySymbols, Oo = Jg ? function(e) {
|
|
3374
3374
|
for (var t = []; e; )
|
|
3375
|
-
Io(t,
|
|
3375
|
+
Io(t, ji(e)), e = Bo(e);
|
|
3376
3376
|
return t;
|
|
3377
3377
|
} : Co;
|
|
3378
3378
|
function Zg(e, t) {
|
|
3379
|
-
return
|
|
3379
|
+
return Kn(e, Oo(e), t);
|
|
3380
3380
|
}
|
|
3381
3381
|
function Ro(e, t, a) {
|
|
3382
3382
|
var n = t(e);
|
|
3383
3383
|
return _t(e) ? n : Io(n, a(e));
|
|
3384
3384
|
}
|
|
3385
3385
|
function Wg(e) {
|
|
3386
|
-
return Ro(e,
|
|
3386
|
+
return Ro(e, jn, ji);
|
|
3387
3387
|
}
|
|
3388
3388
|
function _g(e) {
|
|
3389
|
-
return Ro(e,
|
|
3389
|
+
return Ro(e, zn, Oo);
|
|
3390
3390
|
}
|
|
3391
|
-
var
|
|
3392
|
-
(
|
|
3391
|
+
var hi = ba(Ct, "DataView"), vi = ba(Ct, "Promise"), Sa = ba(Ct, "Set"), bi = ba(Ct, "WeakMap"), Es = "[object Map]", $g = "[object Object]", Cs = "[object Promise]", Is = "[object Set]", Bs = "[object WeakMap]", Os = "[object DataView]", em = va(hi), tm = va(on), am = va(vi), nm = va(Sa), im = va(bi), Pt = Zt;
|
|
3392
|
+
(hi && Pt(new hi(new ArrayBuffer(1))) != Os || on && Pt(new on()) != Es || vi && Pt(vi.resolve()) != Cs || Sa && Pt(new Sa()) != Is || bi && Pt(new bi()) != Bs) && (Pt = function(e) {
|
|
3393
3393
|
var t = Zt(e), a = t == $g ? e.constructor : void 0, n = a ? va(a) : "";
|
|
3394
3394
|
if (n)
|
|
3395
3395
|
switch (n) {
|
|
@@ -3412,12 +3412,12 @@ function om(e) {
|
|
|
3412
3412
|
return t && typeof e[0] == "string" && lm.call(e, "index") && (a.index = e.index, a.input = e.input), a;
|
|
3413
3413
|
}
|
|
3414
3414
|
var Rs = Ct.Uint8Array;
|
|
3415
|
-
function
|
|
3415
|
+
function Hi(e) {
|
|
3416
3416
|
var t = new e.constructor(e.byteLength);
|
|
3417
3417
|
return new Rs(t).set(new Rs(e)), t;
|
|
3418
3418
|
}
|
|
3419
3419
|
function rm(e, t) {
|
|
3420
|
-
var a = t ?
|
|
3420
|
+
var a = t ? Hi(e.buffer) : e.buffer;
|
|
3421
3421
|
return new e.constructor(a, e.byteOffset, e.byteLength);
|
|
3422
3422
|
}
|
|
3423
3423
|
var um = /\w*$/;
|
|
@@ -3430,7 +3430,7 @@ function dm(e) {
|
|
|
3430
3430
|
return ks ? Object(ks.call(e)) : {};
|
|
3431
3431
|
}
|
|
3432
3432
|
function pm(e, t) {
|
|
3433
|
-
var a = t ?
|
|
3433
|
+
var a = t ? Hi(e.buffer) : e.buffer;
|
|
3434
3434
|
return new e.constructor(a, e.byteOffset, e.length);
|
|
3435
3435
|
}
|
|
3436
3436
|
var Am = "[object Boolean]", gm = "[object Date]", mm = "[object Map]", fm = "[object Number]", hm = "[object RegExp]", vm = "[object Set]", bm = "[object String]", ym = "[object Symbol]", wm = "[object ArrayBuffer]", Em = "[object DataView]", Cm = "[object Float32Array]", Im = "[object Float64Array]", Bm = "[object Int8Array]", Om = "[object Int16Array]", Rm = "[object Int32Array]", Mm = "[object Uint8Array]", km = "[object Uint8ClampedArray]", Sm = "[object Uint16Array]", Tm = "[object Uint32Array]";
|
|
@@ -3438,7 +3438,7 @@ function xm(e, t, a) {
|
|
|
3438
3438
|
var n = e.constructor;
|
|
3439
3439
|
switch (t) {
|
|
3440
3440
|
case wm:
|
|
3441
|
-
return
|
|
3441
|
+
return Hi(e);
|
|
3442
3442
|
case Am:
|
|
3443
3443
|
case gm:
|
|
3444
3444
|
return new n(+e);
|
|
@@ -3481,17 +3481,17 @@ var Ss = Object.create, Pm = /* @__PURE__ */ function() {
|
|
|
3481
3481
|
};
|
|
3482
3482
|
}();
|
|
3483
3483
|
function Um(e) {
|
|
3484
|
-
return typeof e.constructor == "function" && !
|
|
3484
|
+
return typeof e.constructor == "function" && !Di(e) ? Pm(Bo(e)) : {};
|
|
3485
3485
|
}
|
|
3486
3486
|
var Dm = "[object Map]";
|
|
3487
3487
|
function Gm(e) {
|
|
3488
3488
|
return Wt(e) && Pt(e) == Dm;
|
|
3489
3489
|
}
|
|
3490
|
-
var Ts = Pa && Pa.isMap, Lm = Ts ?
|
|
3490
|
+
var Ts = Pa && Pa.isMap, Lm = Ts ? Ui(Ts) : Gm, Vm = "[object Set]";
|
|
3491
3491
|
function jm(e) {
|
|
3492
3492
|
return Wt(e) && Pt(e) == Vm;
|
|
3493
3493
|
}
|
|
3494
|
-
var xs = Pa && Pa.isSet, Hm = xs ?
|
|
3494
|
+
var xs = Pa && Pa.isSet, Hm = xs ? Ui(xs) : jm, Ym = 1, Fm = 2, Nm = 4, Mo = "[object Arguments]", Km = "[object Array]", zm = "[object Boolean]", qm = "[object Date]", Qm = "[object Error]", ko = "[object Function]", Xm = "[object GeneratorFunction]", Jm = "[object Map]", Zm = "[object Number]", So = "[object Object]", Wm = "[object RegExp]", _m = "[object Set]", $m = "[object String]", ef = "[object Symbol]", tf = "[object WeakMap]", af = "[object ArrayBuffer]", nf = "[object DataView]", sf = "[object Float32Array]", lf = "[object Float64Array]", of = "[object Int8Array]", rf = "[object Int16Array]", uf = "[object Int32Array]", cf = "[object Uint8Array]", df = "[object Uint8ClampedArray]", pf = "[object Uint16Array]", Af = "[object Uint32Array]", Pe = {};
|
|
3495
3495
|
Pe[Mo] = Pe[Km] = Pe[af] = Pe[nf] = Pe[zm] = Pe[qm] = Pe[sf] = Pe[lf] = Pe[of] = Pe[rf] = Pe[uf] = Pe[Jm] = Pe[Zm] = Pe[So] = Pe[Wm] = Pe[_m] = Pe[$m] = Pe[ef] = Pe[cf] = Pe[df] = Pe[pf] = Pe[Af] = !0;
|
|
3496
3496
|
Pe[Qm] = Pe[ko] = Pe[tf] = !1;
|
|
3497
3497
|
function an(e, t, a, n, s, i) {
|
|
@@ -3526,7 +3526,7 @@ function an(e, t, a, n, s, i) {
|
|
|
3526
3526
|
}) : Lm(e) && e.forEach(function(E, k) {
|
|
3527
3527
|
l.set(k, an(E, t, a, k, e, i));
|
|
3528
3528
|
});
|
|
3529
|
-
var S = d ? c ? _g : Wg : c ?
|
|
3529
|
+
var S = d ? c ? _g : Wg : c ? zn : jn, f = g ? void 0 : S(e);
|
|
3530
3530
|
return lo(f || e, function(E, k) {
|
|
3531
3531
|
f && (k = E, E = e[k]), wo(l, k, an(E, t, a, k, e, i));
|
|
3532
3532
|
}), l;
|
|
@@ -3535,7 +3535,7 @@ var gf = 1, mf = 4;
|
|
|
3535
3535
|
function Ut(e) {
|
|
3536
3536
|
return an(e, gf | mf);
|
|
3537
3537
|
}
|
|
3538
|
-
const
|
|
3538
|
+
const Yi = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), Ps = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
3539
3539
|
var ff = "[object String]";
|
|
3540
3540
|
function ua(e) {
|
|
3541
3541
|
return typeof e == "string" || !_t(e) && Wt(e) && Zt(e) == ff;
|
|
@@ -3575,7 +3575,7 @@ const To = {
|
|
|
3575
3575
|
}
|
|
3576
3576
|
}
|
|
3577
3577
|
};
|
|
3578
|
-
var
|
|
3578
|
+
var $n = function() {
|
|
3579
3579
|
return Ct.Date.now();
|
|
3580
3580
|
}, hf = /\s/;
|
|
3581
3581
|
function vf(e) {
|
|
@@ -3588,10 +3588,10 @@ function yf(e) {
|
|
|
3588
3588
|
return e && e.slice(0, vf(e) + 1).replace(bf, "");
|
|
3589
3589
|
}
|
|
3590
3590
|
var Us = NaN, wf = /^[-+]0x[0-9a-f]+$/i, Ef = /^0b[01]+$/i, Cf = /^0o[0-7]+$/i, If = parseInt;
|
|
3591
|
-
function
|
|
3591
|
+
function yi(e) {
|
|
3592
3592
|
if (typeof e == "number")
|
|
3593
3593
|
return e;
|
|
3594
|
-
if (
|
|
3594
|
+
if (Hn(e))
|
|
3595
3595
|
return Us;
|
|
3596
3596
|
if (vt(e)) {
|
|
3597
3597
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -3608,7 +3608,7 @@ function rn(e, t, a) {
|
|
|
3608
3608
|
var n, s, i, l, o, c, d = 0, g = !1, A = !1, p = !0;
|
|
3609
3609
|
if (typeof e != "function")
|
|
3610
3610
|
throw new TypeError(Bf);
|
|
3611
|
-
t =
|
|
3611
|
+
t = yi(t) || 0, vt(a) && (g = !!a.leading, A = "maxWait" in a, i = A ? Of(yi(a.maxWait) || 0, t) : i, p = "trailing" in a ? !!a.trailing : p);
|
|
3612
3612
|
function h(C) {
|
|
3613
3613
|
var B = n, R = s;
|
|
3614
3614
|
return n = s = void 0, d = C, l = e.apply(R, B), l;
|
|
@@ -3625,7 +3625,7 @@ function rn(e, t, a) {
|
|
|
3625
3625
|
return c === void 0 || B >= t || B < 0 || A && R >= i;
|
|
3626
3626
|
}
|
|
3627
3627
|
function k() {
|
|
3628
|
-
var C =
|
|
3628
|
+
var C = $n();
|
|
3629
3629
|
if (E(C))
|
|
3630
3630
|
return O(C);
|
|
3631
3631
|
o = setTimeout(k, f(C));
|
|
@@ -3637,10 +3637,10 @@ function rn(e, t, a) {
|
|
|
3637
3637
|
o !== void 0 && clearTimeout(o), d = 0, n = c = s = o = void 0;
|
|
3638
3638
|
}
|
|
3639
3639
|
function T() {
|
|
3640
|
-
return o === void 0 ? l : O(
|
|
3640
|
+
return o === void 0 ? l : O($n());
|
|
3641
3641
|
}
|
|
3642
3642
|
function y() {
|
|
3643
|
-
var C =
|
|
3643
|
+
var C = $n(), B = E(C);
|
|
3644
3644
|
if (n = arguments, s = this, c = C, B) {
|
|
3645
3645
|
if (o === void 0)
|
|
3646
3646
|
return S(c);
|
|
@@ -4067,7 +4067,7 @@ var ah = On ? function(e, t) {
|
|
|
4067
4067
|
value: th(t),
|
|
4068
4068
|
writable: !0
|
|
4069
4069
|
});
|
|
4070
|
-
} :
|
|
4070
|
+
} : Gi, nh = 800, ih = 16, sh = Date.now;
|
|
4071
4071
|
function lh(e) {
|
|
4072
4072
|
var t = 0, a = 0;
|
|
4073
4073
|
return function() {
|
|
@@ -4082,21 +4082,21 @@ function lh(e) {
|
|
|
4082
4082
|
}
|
|
4083
4083
|
var oh = lh(ah);
|
|
4084
4084
|
function rh(e, t) {
|
|
4085
|
-
return oh(eh(e, t,
|
|
4085
|
+
return oh(eh(e, t, Gi), e + "");
|
|
4086
4086
|
}
|
|
4087
4087
|
function uh(e, t, a) {
|
|
4088
4088
|
if (!vt(a))
|
|
4089
4089
|
return !1;
|
|
4090
4090
|
var n = typeof t;
|
|
4091
|
-
return (n == "number" ?
|
|
4091
|
+
return (n == "number" ? Vn(a) && Ao(t, a.length) : n == "string" && t in a) ? Yn(a[t], e) : !1;
|
|
4092
4092
|
}
|
|
4093
4093
|
var Yo = Object.prototype, ch = Yo.hasOwnProperty, dh = rh(function(e, t) {
|
|
4094
4094
|
e = Object(e);
|
|
4095
4095
|
var a = -1, n = t.length, s = n > 2 ? t[2] : void 0;
|
|
4096
4096
|
for (s && uh(t[0], t[1], s) && (n = 1); ++a < n; )
|
|
4097
|
-
for (var i = t[a], l =
|
|
4097
|
+
for (var i = t[a], l = zn(i), o = -1, c = l.length; ++o < c; ) {
|
|
4098
4098
|
var d = l[o], g = e[d];
|
|
4099
|
-
(g === void 0 ||
|
|
4099
|
+
(g === void 0 || Yn(g, Yo[d]) && !ch.call(e, d)) && (e[d] = i[d]);
|
|
4100
4100
|
}
|
|
4101
4101
|
return e;
|
|
4102
4102
|
}), ph = Ct.isFinite;
|
|
@@ -4107,7 +4107,7 @@ var Ns = 1 / 0, gh = 17976931348623157e292;
|
|
|
4107
4107
|
function mh(e) {
|
|
4108
4108
|
if (!e)
|
|
4109
4109
|
return e === 0 ? e : 0;
|
|
4110
|
-
if (e =
|
|
4110
|
+
if (e = yi(e), e === Ns || e === -Ns) {
|
|
4111
4111
|
var t = e < 0 ? -1 : 1;
|
|
4112
4112
|
return t * gh;
|
|
4113
4113
|
}
|
|
@@ -4398,7 +4398,7 @@ Object.keys(da).forEach((e) => {
|
|
|
4398
4398
|
function Ks(e) {
|
|
4399
4399
|
return ua(e) ? da[e] != null ? da[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function ei(e, t, a) {
|
|
4402
4402
|
let n = Me(a.context, "schema.attributes", {});
|
|
4403
4403
|
const s = t.value || "input";
|
|
4404
4404
|
ua(s) && (n = Me(n, s) || n), ct(n, (i, l) => {
|
|
@@ -4418,9 +4418,9 @@ const Ht = {
|
|
|
4418
4418
|
},
|
|
4419
4419
|
directives: {
|
|
4420
4420
|
attributes: {
|
|
4421
|
-
beforeMount:
|
|
4422
|
-
updated:
|
|
4423
|
-
componentUpdated:
|
|
4421
|
+
beforeMount: ei,
|
|
4422
|
+
updated: ei,
|
|
4423
|
+
componentUpdated: ei
|
|
4424
4424
|
}
|
|
4425
4425
|
},
|
|
4426
4426
|
computed: {
|
|
@@ -4501,7 +4501,7 @@ const Ht = {
|
|
|
4501
4501
|
},
|
|
4502
4502
|
getFieldID(e, t = !1) {
|
|
4503
4503
|
const a = Me(this.formOptions, "fieldIdPrefix", "");
|
|
4504
|
-
return
|
|
4504
|
+
return Yi(e, a) + (t ? "-" + Uo() : "");
|
|
4505
4505
|
},
|
|
4506
4506
|
getLabelId(e) {
|
|
4507
4507
|
return `${this.getFieldID(e)}-label`;
|
|
@@ -4669,7 +4669,7 @@ const Mh = /* @__PURE__ */ xe(Ih, [["render", Rh], ["__scopeId", "data-v-acfccff
|
|
|
4669
4669
|
]);
|
|
4670
4670
|
};
|
|
4671
4671
|
}
|
|
4672
|
-
}), Ko = /* @__PURE__ */ xe(Gh, [["__scopeId", "data-v-37458a0a"]]), Lh = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Vh = (e) => e ? e.length === 36 && new RegExp(`^${Lh}$`).test(e) : !1,
|
|
4672
|
+
}), Ko = /* @__PURE__ */ xe(Gh, [["__scopeId", "data-v-37458a0a"]]), Lh = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Vh = (e) => e ? e.length === 36 && new RegExp(`^${Lh}$`).test(e) : !1, ti = 50, sa = {
|
|
4673
4673
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
4674
4674
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
4675
4675
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
@@ -4767,15 +4767,15 @@ const Hh = {
|
|
|
4767
4767
|
let a = null;
|
|
4768
4768
|
if (!this[Nt])
|
|
4769
4769
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
4770
|
-
for (; t.length <
|
|
4770
|
+
for (; t.length < ti; ) {
|
|
4771
4771
|
const n = await this[Nt].getAll(this.entity, {
|
|
4772
|
-
size:
|
|
4772
|
+
size: ti,
|
|
4773
4773
|
offset: a,
|
|
4774
4774
|
...e
|
|
4775
4775
|
});
|
|
4776
4776
|
if (t.push(...n.data.data), a = n.data.offset, !a) break;
|
|
4777
4777
|
}
|
|
4778
|
-
return t.slice(0,
|
|
4778
|
+
return t.slice(0, ti);
|
|
4779
4779
|
},
|
|
4780
4780
|
async fetchSuggestions(e, t) {
|
|
4781
4781
|
return this.fetchUntilLimit({ [t]: e });
|
|
@@ -4927,7 +4927,7 @@ function zh(e) {
|
|
|
4927
4927
|
}
|
|
4928
4928
|
}, g = (f, E = !1) => {
|
|
4929
4929
|
const k = Me(e.formOptions, "fieldIdPrefix", "");
|
|
4930
|
-
return
|
|
4930
|
+
return Yi(f, k) + (E ? "-" + Uo() : "");
|
|
4931
4931
|
}, A = (f) => `${g(f)}-label`, p = () => Me(e.schema, "fieldClasses", []), h = (f) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(f) : f, S = (f) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(f) : f;
|
|
4932
4932
|
return {
|
|
4933
4933
|
value: s,
|
|
@@ -6634,7 +6634,7 @@ const Ab = /* @__PURE__ */ xe(ib, [["render", pb], ["__scopeId", "data-v-56d57ed
|
|
|
6634
6634
|
},
|
|
6635
6635
|
getFieldID(e) {
|
|
6636
6636
|
const t = Me(this.options, "fieldIdPrefix", "");
|
|
6637
|
-
return
|
|
6637
|
+
return Yi(e, t);
|
|
6638
6638
|
},
|
|
6639
6639
|
getTooltipId(e) {
|
|
6640
6640
|
return `${this.getFieldID(e)}-tooltip`;
|
|
@@ -6818,7 +6818,7 @@ const Pb = (e) => {
|
|
|
6818
6818
|
formatter: a,
|
|
6819
6819
|
order: 3
|
|
6820
6820
|
}
|
|
6821
|
-
}, s = e, i = (A) => A != null, l = (A, p) => i(p) && ["password", "sentinel_password"].includes(A) ? "password" : "text", { convertKeyToTitle: o } =
|
|
6821
|
+
}, s = e, i = (A) => A != null, l = (A, p) => i(p) && ["password", "sentinel_password"].includes(A) ? "password" : "text", { convertKeyToTitle: o } = Un(), c = L(() => Object.entries(s.configFields).map(([A, p]) => {
|
|
6822
6822
|
var h, S, f, E;
|
|
6823
6823
|
return {
|
|
6824
6824
|
key: A,
|
|
@@ -6914,13 +6914,13 @@ const Pb = (e) => {
|
|
|
6914
6914
|
getOne: "/{workspace}/partials/{id}",
|
|
6915
6915
|
getAll: "/{workspace}/partials"
|
|
6916
6916
|
}
|
|
6917
|
-
}, s = e, i = Q(null), { getMessageFromError: l } = gn(), o = Dt(
|
|
6917
|
+
}, s = e, i = Q(null), { getMessageFromError: l } = gn(), o = Dt(Vi), {
|
|
6918
6918
|
debouncedQueryChange: c,
|
|
6919
6919
|
loading: d,
|
|
6920
6920
|
error: g,
|
|
6921
6921
|
loadItems: A,
|
|
6922
6922
|
results: p
|
|
6923
|
-
} =
|
|
6923
|
+
} = Ai(o, n[o.app].getAll, void 0, {
|
|
6924
6924
|
fetchedItemsKey: "data",
|
|
6925
6925
|
searchKeys: ["id", "name"]
|
|
6926
6926
|
}), h = L(() => g.value ? l(g.value) : ""), S = (O) => {
|
|
@@ -8695,7 +8695,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8695
8695
|
OIDCForm: vy,
|
|
8696
8696
|
PostFunction: yy,
|
|
8697
8697
|
RLAForm: Xy
|
|
8698
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8698
|
+
}, Symbol.toStringTag, { value: "Module" })), wi = [
|
|
8699
8699
|
"array",
|
|
8700
8700
|
"metric",
|
|
8701
8701
|
"advanced",
|
|
@@ -8732,7 +8732,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8732
8732
|
value: "current-cp",
|
|
8733
8733
|
label: c("custom_field.key_auth_identity_realms.cp_label"),
|
|
8734
8734
|
group: c("custom_field.key_auth_identity_realms.cp_group_label")
|
|
8735
|
-
}, g = Dt(
|
|
8735
|
+
}, g = Dt(Vi), { axiosInstance: A } = Lt(g == null ? void 0 : g.axiosRequestConfig), p = Q(!0), h = Q([d]), S = async () => {
|
|
8736
8736
|
if ((g == null ? void 0 : g.app) === "konnect")
|
|
8737
8737
|
try {
|
|
8738
8738
|
p.value = !0;
|
|
@@ -10167,7 +10167,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
10167
10167
|
styleClasses: "kong-form-field-wrapper",
|
|
10168
10168
|
newElementButtonLabel: "+ Add",
|
|
10169
10169
|
newElementButtonLabelClasses: "kong-form-new-element-button-label"
|
|
10170
|
-
},
|
|
10170
|
+
}, qn = {
|
|
10171
10171
|
type: "array",
|
|
10172
10172
|
showRemoveButton: !1,
|
|
10173
10173
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
@@ -10175,7 +10175,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
10175
10175
|
fieldClasses: "metrics-wrapper"
|
|
10176
10176
|
}, hw = {
|
|
10177
10177
|
"config-metrics": {
|
|
10178
|
-
...
|
|
10178
|
+
...qn,
|
|
10179
10179
|
items: {
|
|
10180
10180
|
type: "object",
|
|
10181
10181
|
default: () => ({}),
|
|
@@ -10468,7 +10468,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
10468
10468
|
}
|
|
10469
10469
|
}, Mw = {
|
|
10470
10470
|
"config-metrics": {
|
|
10471
|
-
...
|
|
10471
|
+
...qn,
|
|
10472
10472
|
items: {
|
|
10473
10473
|
type: "object",
|
|
10474
10474
|
default: () => ({}),
|
|
@@ -10543,7 +10543,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
10543
10543
|
}
|
|
10544
10544
|
}, kw = {
|
|
10545
10545
|
"config-metrics": {
|
|
10546
|
-
...
|
|
10546
|
+
...qn,
|
|
10547
10547
|
items: {
|
|
10548
10548
|
type: "object",
|
|
10549
10549
|
default: () => ({}),
|
|
@@ -10654,7 +10654,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
10654
10654
|
}
|
|
10655
10655
|
}, Uw = {
|
|
10656
10656
|
"config-static_tags": {
|
|
10657
|
-
...
|
|
10657
|
+
...qn,
|
|
10658
10658
|
items: {
|
|
10659
10659
|
type: "object",
|
|
10660
10660
|
default: () => ({}),
|
|
@@ -10688,7 +10688,7 @@ const Dw = (e, t) => {
|
|
|
10688
10688
|
const a = e.model.startsWith("config-"), n = t.model.startsWith("config-");
|
|
10689
10689
|
return a && !n ? 1 : !a && n ? -1 : 0;
|
|
10690
10690
|
}, nr = (e, t) => (e.order ?? 0) - (t.order ?? 0), tl = (e, t) => Dw(e, t) || nr(e, t) || e.model.localeCompare(t.model), Gw = (e) => {
|
|
10691
|
-
const { capitalize: t } =
|
|
10691
|
+
const { capitalize: t } = Un(), { convertToDotNotation: a } = so(), { i18n: { t: n } } = fa(), s = {
|
|
10692
10692
|
"application-registration": {
|
|
10693
10693
|
overwriteDefault: !0,
|
|
10694
10694
|
formSchema: {
|
|
@@ -10954,10 +10954,10 @@ const Dw = (e, t) => {
|
|
|
10954
10954
|
}, E = (y) => y.fields.reduce((C, B) => (B.fields && B.fields.forEach((R) => {
|
|
10955
10955
|
C[R.model] = R;
|
|
10956
10956
|
}), B.model && (C[B.model] = B), C), {}), k = (y, C) => {
|
|
10957
|
-
if (!
|
|
10957
|
+
if (!wi.includes(y.model))
|
|
10958
10958
|
return;
|
|
10959
10959
|
const B = E(y);
|
|
10960
|
-
|
|
10960
|
+
wi.forEach((R) => {
|
|
10961
10961
|
Object.keys(B).forEach((V) => {
|
|
10962
10962
|
const U = o(B[V]);
|
|
10963
10963
|
C[V] = U ? B[V].default : null;
|
|
@@ -11469,25 +11469,25 @@ function Qw() {
|
|
|
11469
11469
|
}
|
|
11470
11470
|
const ir = {
|
|
11471
11471
|
useI18n: Qw
|
|
11472
|
-
},
|
|
11472
|
+
}, ai = "/v2/control-planes/{controlPlaneId}/core-entities", al = "/v2/control-planes/{controlPlaneId}/config-stores", ni = "/{workspace}", nl = {
|
|
11473
11473
|
list: {
|
|
11474
11474
|
konnect: {
|
|
11475
|
-
getAll: `${
|
|
11475
|
+
getAll: `${ai}/vaults`,
|
|
11476
11476
|
deleteConfigStore: `${al}/{id}?force=true`
|
|
11477
11477
|
},
|
|
11478
11478
|
kongManager: {
|
|
11479
|
-
getAll: `${
|
|
11479
|
+
getAll: `${ni}/vaults`
|
|
11480
11480
|
}
|
|
11481
11481
|
},
|
|
11482
11482
|
form: {
|
|
11483
11483
|
konnect: {
|
|
11484
|
-
create: `${
|
|
11484
|
+
create: `${ai}/vaults`,
|
|
11485
11485
|
createConfigStore: al,
|
|
11486
|
-
edit: `${
|
|
11486
|
+
edit: `${ai}/vaults/{id}`
|
|
11487
11487
|
},
|
|
11488
11488
|
kongManager: {
|
|
11489
|
-
create: `${
|
|
11490
|
-
edit: `${
|
|
11489
|
+
create: `${ni}/vaults`,
|
|
11490
|
+
edit: `${ni}/vaults/{id}`
|
|
11491
11491
|
}
|
|
11492
11492
|
}
|
|
11493
11493
|
}, sr = (e, t) => {
|
|
@@ -11545,7 +11545,7 @@ const ir = {
|
|
|
11545
11545
|
_: 1
|
|
11546
11546
|
})]));
|
|
11547
11547
|
}
|
|
11548
|
-
}),
|
|
11548
|
+
}), ii = /* @__PURE__ */ sr(Jw, [["__scopeId", "data-v-66a1e406"]]), Zw = (e) => {
|
|
11549
11549
|
let t = e.trim();
|
|
11550
11550
|
if (!t.startsWith("{") || !t.endsWith("}"))
|
|
11551
11551
|
throw new Error("Invalid secret reference: must be enclosed in curly braces");
|
|
@@ -11610,7 +11610,7 @@ const ir = {
|
|
|
11610
11610
|
error: E,
|
|
11611
11611
|
loadItems: k,
|
|
11612
11612
|
results: O
|
|
11613
|
-
} =
|
|
11613
|
+
} = Ai(s.config, nl.list[s.config.app].getAll, void 0, {
|
|
11614
11614
|
fetchedItemsKey: "data",
|
|
11615
11615
|
searchKeys: ["prefix"]
|
|
11616
11616
|
}), {
|
|
@@ -11619,7 +11619,7 @@ const ir = {
|
|
|
11619
11619
|
error: y,
|
|
11620
11620
|
loadItems: C,
|
|
11621
11621
|
results: B
|
|
11622
|
-
} =
|
|
11622
|
+
} = Ai(s.config, p, void 0, {
|
|
11623
11623
|
fetchedItemsKey: "data",
|
|
11624
11624
|
searchKeys: ["key"],
|
|
11625
11625
|
exactMatchKey: "key"
|
|
@@ -11866,7 +11866,7 @@ function ja(e) {
|
|
|
11866
11866
|
return e != null && typeof e == "object";
|
|
11867
11867
|
}
|
|
11868
11868
|
var yE = "[object Symbol]";
|
|
11869
|
-
function
|
|
11869
|
+
function Fi(e) {
|
|
11870
11870
|
return typeof e == "symbol" || ja(e) && Va(e) == yE;
|
|
11871
11871
|
}
|
|
11872
11872
|
function wE(e, t) {
|
|
@@ -11880,7 +11880,7 @@ function rr(e) {
|
|
|
11880
11880
|
return e;
|
|
11881
11881
|
if (ya(e))
|
|
11882
11882
|
return wE(e, rr) + "";
|
|
11883
|
-
if (
|
|
11883
|
+
if (Fi(e))
|
|
11884
11884
|
return ol ? ol.call(e) : "";
|
|
11885
11885
|
var t = e + "";
|
|
11886
11886
|
return t == "0" && 1 / e == -EE ? "-0" : t;
|
|
@@ -11896,8 +11896,8 @@ function ur(e) {
|
|
|
11896
11896
|
var t = Va(e);
|
|
11897
11897
|
return t == IE || t == BE || t == CE || t == OE;
|
|
11898
11898
|
}
|
|
11899
|
-
var
|
|
11900
|
-
var e = /[^.]+$/.exec(
|
|
11899
|
+
var si = Tt["__core-js_shared__"], rl = function() {
|
|
11900
|
+
var e = /[^.]+$/.exec(si && si.keys && si.keys.IE_PROTO || "");
|
|
11901
11901
|
return e ? "Symbol(src)_1." + e : "";
|
|
11902
11902
|
}();
|
|
11903
11903
|
function RE(e) {
|
|
@@ -11933,7 +11933,7 @@ function Ea(e, t) {
|
|
|
11933
11933
|
var a = VE(e, t);
|
|
11934
11934
|
return LE(a) ? a : void 0;
|
|
11935
11935
|
}
|
|
11936
|
-
var
|
|
11936
|
+
var Ei = Ea(Tt, "WeakMap"), ul = Object.create, jE = /* @__PURE__ */ function() {
|
|
11937
11937
|
function e() {
|
|
11938
11938
|
}
|
|
11939
11939
|
return function(t) {
|
|
@@ -11985,7 +11985,7 @@ function pr(e, t, a) {
|
|
|
11985
11985
|
var n = e[t];
|
|
11986
11986
|
(!(qE.call(e, t) && dr(n, a)) || a === void 0 && !(t in e)) && cr(e, t, a);
|
|
11987
11987
|
}
|
|
11988
|
-
function
|
|
11988
|
+
function Qn(e, t, a, n) {
|
|
11989
11989
|
var s = !a;
|
|
11990
11990
|
a || (a = {});
|
|
11991
11991
|
for (var i = -1, l = t.length; ++i < l; ) {
|
|
@@ -11998,11 +11998,11 @@ var QE = 9007199254740991;
|
|
|
11998
11998
|
function Ar(e) {
|
|
11999
11999
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= QE;
|
|
12000
12000
|
}
|
|
12001
|
-
function
|
|
12001
|
+
function Ni(e) {
|
|
12002
12002
|
return e != null && Ar(e.length) && !ur(e);
|
|
12003
12003
|
}
|
|
12004
12004
|
var XE = Object.prototype;
|
|
12005
|
-
function
|
|
12005
|
+
function Xn(e) {
|
|
12006
12006
|
var t = e && e.constructor, a = typeof t == "function" && t.prototype || XE;
|
|
12007
12007
|
return e === a;
|
|
12008
12008
|
}
|
|
@@ -12023,26 +12023,26 @@ var gr = Object.prototype, WE = gr.hasOwnProperty, _E = gr.propertyIsEnumerable,
|
|
|
12023
12023
|
function $E() {
|
|
12024
12024
|
return !1;
|
|
12025
12025
|
}
|
|
12026
|
-
var fr = typeof exports == "object" && exports && !exports.nodeType && exports, pl = fr && typeof module == "object" && module && !module.nodeType && module, eC = pl && pl.exports === fr, Al = eC ? Tt.Buffer : void 0, tC = Al ? Al.isBuffer : void 0,
|
|
12026
|
+
var fr = typeof exports == "object" && exports && !exports.nodeType && exports, pl = fr && typeof module == "object" && module && !module.nodeType && module, eC = pl && pl.exports === fr, Al = eC ? Tt.Buffer : void 0, tC = Al ? Al.isBuffer : void 0, Ki = tC || $E, aC = "[object Arguments]", nC = "[object Array]", iC = "[object Boolean]", sC = "[object Date]", lC = "[object Error]", oC = "[object Function]", rC = "[object Map]", uC = "[object Number]", cC = "[object Object]", dC = "[object RegExp]", pC = "[object Set]", AC = "[object String]", gC = "[object WeakMap]", mC = "[object ArrayBuffer]", fC = "[object DataView]", hC = "[object Float32Array]", vC = "[object Float64Array]", bC = "[object Int8Array]", yC = "[object Int16Array]", wC = "[object Int32Array]", EC = "[object Uint8Array]", CC = "[object Uint8ClampedArray]", IC = "[object Uint16Array]", BC = "[object Uint32Array]", Ge = {};
|
|
12027
12027
|
Ge[hC] = Ge[vC] = Ge[bC] = Ge[yC] = Ge[wC] = Ge[EC] = Ge[CC] = Ge[IC] = Ge[BC] = !0;
|
|
12028
12028
|
Ge[aC] = Ge[nC] = Ge[mC] = Ge[iC] = Ge[fC] = Ge[sC] = Ge[lC] = Ge[oC] = Ge[rC] = Ge[uC] = Ge[cC] = Ge[dC] = Ge[pC] = Ge[AC] = Ge[gC] = !1;
|
|
12029
12029
|
function OC(e) {
|
|
12030
12030
|
return ja(e) && Ar(e.length) && !!Ge[Va(e)];
|
|
12031
12031
|
}
|
|
12032
|
-
function
|
|
12032
|
+
function zi(e) {
|
|
12033
12033
|
return function(t) {
|
|
12034
12034
|
return e(t);
|
|
12035
12035
|
};
|
|
12036
12036
|
}
|
|
12037
|
-
var hr = typeof exports == "object" && exports && !exports.nodeType && exports, sn = hr && typeof module == "object" && module && !module.nodeType && module, RC = sn && sn.exports === hr,
|
|
12037
|
+
var hr = typeof exports == "object" && exports && !exports.nodeType && exports, sn = hr && typeof module == "object" && module && !module.nodeType && module, RC = sn && sn.exports === hr, li = RC && lr.process, Ua = function() {
|
|
12038
12038
|
try {
|
|
12039
12039
|
var e = sn && sn.require && sn.require("util").types;
|
|
12040
|
-
return e ||
|
|
12040
|
+
return e || li && li.binding && li.binding("util");
|
|
12041
12041
|
} catch {
|
|
12042
12042
|
}
|
|
12043
|
-
}(), gl = Ua && Ua.isTypedArray, vr = gl ?
|
|
12043
|
+
}(), gl = Ua && Ua.isTypedArray, vr = gl ? zi(gl) : OC, MC = Object.prototype, kC = MC.hasOwnProperty;
|
|
12044
12044
|
function br(e, t) {
|
|
12045
|
-
var a = ya(e), n = !a && mr(e), s = !a && !n &&
|
|
12045
|
+
var a = ya(e), n = !a && mr(e), s = !a && !n && Ki(e), i = !a && !n && !s && vr(e), l = a || n || s || i, o = l ? JE(e.length, String) : [], c = o.length;
|
|
12046
12046
|
for (var d in e)
|
|
12047
12047
|
(t || kC.call(e, d)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
12048
12048
|
(d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -12058,15 +12058,15 @@ function yr(e, t) {
|
|
|
12058
12058
|
}
|
|
12059
12059
|
var SC = yr(Object.keys, Object), TC = Object.prototype, xC = TC.hasOwnProperty;
|
|
12060
12060
|
function wr(e) {
|
|
12061
|
-
if (!
|
|
12061
|
+
if (!Xn(e))
|
|
12062
12062
|
return SC(e);
|
|
12063
12063
|
var t = [];
|
|
12064
12064
|
for (var a in Object(e))
|
|
12065
12065
|
xC.call(e, a) && a != "constructor" && t.push(a);
|
|
12066
12066
|
return t;
|
|
12067
12067
|
}
|
|
12068
|
-
function
|
|
12069
|
-
return
|
|
12068
|
+
function qi(e) {
|
|
12069
|
+
return Ni(e) ? br(e) : wr(e);
|
|
12070
12070
|
}
|
|
12071
12071
|
function PC(e) {
|
|
12072
12072
|
var t = [];
|
|
@@ -12079,20 +12079,20 @@ var UC = Object.prototype, DC = UC.hasOwnProperty;
|
|
|
12079
12079
|
function GC(e) {
|
|
12080
12080
|
if (!hn(e))
|
|
12081
12081
|
return PC(e);
|
|
12082
|
-
var t =
|
|
12082
|
+
var t = Xn(e), a = [];
|
|
12083
12083
|
for (var n in e)
|
|
12084
12084
|
n == "constructor" && (t || !DC.call(e, n)) || a.push(n);
|
|
12085
12085
|
return a;
|
|
12086
12086
|
}
|
|
12087
|
-
function
|
|
12088
|
-
return
|
|
12087
|
+
function Qi(e) {
|
|
12088
|
+
return Ni(e) ? br(e, !0) : GC(e);
|
|
12089
12089
|
}
|
|
12090
12090
|
var LC = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, VC = /^\w*$/;
|
|
12091
12091
|
function jC(e, t) {
|
|
12092
12092
|
if (ya(e))
|
|
12093
12093
|
return !1;
|
|
12094
12094
|
var a = typeof e;
|
|
12095
|
-
return a == "number" || a == "symbol" || a == "boolean" || e == null ||
|
|
12095
|
+
return a == "number" || a == "symbol" || a == "boolean" || e == null || Fi(e) ? !0 : VC.test(e) || !LC.test(e) || t != null && e in Object(t);
|
|
12096
12096
|
}
|
|
12097
12097
|
var cn = Ea(Object, "create");
|
|
12098
12098
|
function HC() {
|
|
@@ -12136,7 +12136,7 @@ pa.prototype.set = ZC;
|
|
|
12136
12136
|
function WC() {
|
|
12137
12137
|
this.__data__ = [], this.size = 0;
|
|
12138
12138
|
}
|
|
12139
|
-
function
|
|
12139
|
+
function Jn(e, t) {
|
|
12140
12140
|
for (var a = e.length; a--; )
|
|
12141
12141
|
if (dr(e[a][0], t))
|
|
12142
12142
|
return a;
|
|
@@ -12144,21 +12144,21 @@ function Xn(e, t) {
|
|
|
12144
12144
|
}
|
|
12145
12145
|
var _C = Array.prototype, $C = _C.splice;
|
|
12146
12146
|
function eI(e) {
|
|
12147
|
-
var t = this.__data__, a =
|
|
12147
|
+
var t = this.__data__, a = Jn(t, e);
|
|
12148
12148
|
if (a < 0)
|
|
12149
12149
|
return !1;
|
|
12150
12150
|
var n = t.length - 1;
|
|
12151
12151
|
return a == n ? t.pop() : $C.call(t, a, 1), --this.size, !0;
|
|
12152
12152
|
}
|
|
12153
12153
|
function tI(e) {
|
|
12154
|
-
var t = this.__data__, a =
|
|
12154
|
+
var t = this.__data__, a = Jn(t, e);
|
|
12155
12155
|
return a < 0 ? void 0 : t[a][1];
|
|
12156
12156
|
}
|
|
12157
12157
|
function aI(e) {
|
|
12158
|
-
return
|
|
12158
|
+
return Jn(this.__data__, e) > -1;
|
|
12159
12159
|
}
|
|
12160
12160
|
function nI(e, t) {
|
|
12161
|
-
var a = this.__data__, n =
|
|
12161
|
+
var a = this.__data__, n = Jn(a, e);
|
|
12162
12162
|
return n < 0 ? (++this.size, a.push([e, t])) : a[n][1] = t, this;
|
|
12163
12163
|
}
|
|
12164
12164
|
function Yt(e) {
|
|
@@ -12185,22 +12185,22 @@ function sI(e) {
|
|
|
12185
12185
|
var t = typeof e;
|
|
12186
12186
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
12187
12187
|
}
|
|
12188
|
-
function
|
|
12188
|
+
function Zn(e, t) {
|
|
12189
12189
|
var a = e.__data__;
|
|
12190
12190
|
return sI(t) ? a[typeof t == "string" ? "string" : "hash"] : a.map;
|
|
12191
12191
|
}
|
|
12192
12192
|
function lI(e) {
|
|
12193
|
-
var t =
|
|
12193
|
+
var t = Zn(this, e).delete(e);
|
|
12194
12194
|
return this.size -= t ? 1 : 0, t;
|
|
12195
12195
|
}
|
|
12196
12196
|
function oI(e) {
|
|
12197
|
-
return
|
|
12197
|
+
return Zn(this, e).get(e);
|
|
12198
12198
|
}
|
|
12199
12199
|
function rI(e) {
|
|
12200
|
-
return
|
|
12200
|
+
return Zn(this, e).has(e);
|
|
12201
12201
|
}
|
|
12202
12202
|
function uI(e, t) {
|
|
12203
|
-
var a =
|
|
12203
|
+
var a = Zn(this, e), n = a.size;
|
|
12204
12204
|
return a.set(e, t), this.size += a.size == n ? 0 : 1, this;
|
|
12205
12205
|
}
|
|
12206
12206
|
function $t(e) {
|
|
@@ -12216,7 +12216,7 @@ $t.prototype.get = oI;
|
|
|
12216
12216
|
$t.prototype.has = rI;
|
|
12217
12217
|
$t.prototype.set = uI;
|
|
12218
12218
|
var cI = "Expected a function";
|
|
12219
|
-
function
|
|
12219
|
+
function Xi(e, t) {
|
|
12220
12220
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
12221
12221
|
throw new TypeError(cI);
|
|
12222
12222
|
var a = function() {
|
|
@@ -12226,12 +12226,12 @@ function Qi(e, t) {
|
|
|
12226
12226
|
var l = e.apply(this, n);
|
|
12227
12227
|
return a.cache = i.set(s, l) || i, l;
|
|
12228
12228
|
};
|
|
12229
|
-
return a.cache = new (
|
|
12229
|
+
return a.cache = new (Xi.Cache || $t)(), a;
|
|
12230
12230
|
}
|
|
12231
|
-
|
|
12231
|
+
Xi.Cache = $t;
|
|
12232
12232
|
var dI = 500;
|
|
12233
12233
|
function pI(e) {
|
|
12234
|
-
var t =
|
|
12234
|
+
var t = Xi(e, function(n) {
|
|
12235
12235
|
return a.size === dI && a.clear(), n;
|
|
12236
12236
|
}), a = t.cache;
|
|
12237
12237
|
return t;
|
|
@@ -12250,7 +12250,7 @@ function Cr(e, t) {
|
|
|
12250
12250
|
}
|
|
12251
12251
|
var fI = 1 / 0;
|
|
12252
12252
|
function Ir(e) {
|
|
12253
|
-
if (typeof e == "string" ||
|
|
12253
|
+
if (typeof e == "string" || Fi(e))
|
|
12254
12254
|
return e;
|
|
12255
12255
|
var t = e + "";
|
|
12256
12256
|
return t == "0" && 1 / e == -fI ? "-0" : t;
|
|
@@ -12308,10 +12308,10 @@ Ha.prototype.get = wI;
|
|
|
12308
12308
|
Ha.prototype.has = EI;
|
|
12309
12309
|
Ha.prototype.set = II;
|
|
12310
12310
|
function BI(e, t) {
|
|
12311
|
-
return e &&
|
|
12311
|
+
return e && Qn(t, qi(t), e);
|
|
12312
12312
|
}
|
|
12313
12313
|
function OI(e, t) {
|
|
12314
|
-
return e &&
|
|
12314
|
+
return e && Qn(t, Qi(t), e);
|
|
12315
12315
|
}
|
|
12316
12316
|
var Rr = typeof exports == "object" && exports && !exports.nodeType && exports, ml = Rr && typeof module == "object" && module && !module.nodeType && module, RI = ml && ml.exports === Rr, fl = RI ? Tt.Buffer : void 0, hl = fl ? fl.allocUnsafe : void 0;
|
|
12317
12317
|
function MI(e, t) {
|
|
@@ -12330,34 +12330,34 @@ function kI(e, t) {
|
|
|
12330
12330
|
function Mr() {
|
|
12331
12331
|
return [];
|
|
12332
12332
|
}
|
|
12333
|
-
var SI = Object.prototype, TI = SI.propertyIsEnumerable, vl = Object.getOwnPropertySymbols,
|
|
12333
|
+
var SI = Object.prototype, TI = SI.propertyIsEnumerable, vl = Object.getOwnPropertySymbols, Ji = vl ? function(e) {
|
|
12334
12334
|
return e == null ? [] : (e = Object(e), kI(vl(e), function(t) {
|
|
12335
12335
|
return TI.call(e, t);
|
|
12336
12336
|
}));
|
|
12337
12337
|
} : Mr;
|
|
12338
12338
|
function xI(e, t) {
|
|
12339
|
-
return
|
|
12339
|
+
return Qn(e, Ji(e), t);
|
|
12340
12340
|
}
|
|
12341
12341
|
var PI = Object.getOwnPropertySymbols, kr = PI ? function(e) {
|
|
12342
12342
|
for (var t = []; e; )
|
|
12343
|
-
Br(t,
|
|
12343
|
+
Br(t, Ji(e)), e = Or(e);
|
|
12344
12344
|
return t;
|
|
12345
12345
|
} : Mr;
|
|
12346
12346
|
function UI(e, t) {
|
|
12347
|
-
return
|
|
12347
|
+
return Qn(e, kr(e), t);
|
|
12348
12348
|
}
|
|
12349
12349
|
function Sr(e, t, a) {
|
|
12350
12350
|
var n = t(e);
|
|
12351
12351
|
return ya(e) ? n : Br(n, a(e));
|
|
12352
12352
|
}
|
|
12353
12353
|
function DI(e) {
|
|
12354
|
-
return Sr(e,
|
|
12354
|
+
return Sr(e, qi, Ji);
|
|
12355
12355
|
}
|
|
12356
12356
|
function GI(e) {
|
|
12357
|
-
return Sr(e,
|
|
12357
|
+
return Sr(e, Qi, kr);
|
|
12358
12358
|
}
|
|
12359
|
-
var
|
|
12360
|
-
(
|
|
12359
|
+
var Ci = Ea(Tt, "DataView"), Ii = Ea(Tt, "Promise"), Bi = Ea(Tt, "Set"), bl = "[object Map]", LI = "[object Object]", yl = "[object Promise]", wl = "[object Set]", El = "[object WeakMap]", Cl = "[object DataView]", VI = wa(Ci), jI = wa(dn), HI = wa(Ii), YI = wa(Bi), FI = wa(Ei), Ot = Va;
|
|
12360
|
+
(Ci && Ot(new Ci(new ArrayBuffer(1))) != Cl || dn && Ot(new dn()) != bl || Ii && Ot(Ii.resolve()) != yl || Bi && Ot(new Bi()) != wl || Ei && Ot(new Ei()) != El) && (Ot = function(e) {
|
|
12361
12361
|
var t = Va(e), a = t == LI ? e.constructor : void 0, n = a ? wa(a) : "";
|
|
12362
12362
|
if (n)
|
|
12363
12363
|
switch (n) {
|
|
@@ -12380,12 +12380,12 @@ function zI(e) {
|
|
|
12380
12380
|
return t && typeof e[0] == "string" && KI.call(e, "index") && (a.index = e.index, a.input = e.input), a;
|
|
12381
12381
|
}
|
|
12382
12382
|
var Il = Tt.Uint8Array;
|
|
12383
|
-
function
|
|
12383
|
+
function Zi(e) {
|
|
12384
12384
|
var t = new e.constructor(e.byteLength);
|
|
12385
12385
|
return new Il(t).set(new Il(e)), t;
|
|
12386
12386
|
}
|
|
12387
12387
|
function qI(e, t) {
|
|
12388
|
-
var a = t ?
|
|
12388
|
+
var a = t ? Zi(e.buffer) : e.buffer;
|
|
12389
12389
|
return new e.constructor(a, e.byteOffset, e.byteLength);
|
|
12390
12390
|
}
|
|
12391
12391
|
var QI = /\w*$/;
|
|
@@ -12398,7 +12398,7 @@ function JI(e) {
|
|
|
12398
12398
|
return Ol ? Object(Ol.call(e)) : {};
|
|
12399
12399
|
}
|
|
12400
12400
|
function ZI(e, t) {
|
|
12401
|
-
var a = t ?
|
|
12401
|
+
var a = t ? Zi(e.buffer) : e.buffer;
|
|
12402
12402
|
return new e.constructor(a, e.byteOffset, e.length);
|
|
12403
12403
|
}
|
|
12404
12404
|
var WI = "[object Boolean]", _I = "[object Date]", $I = "[object Map]", eB = "[object Number]", tB = "[object RegExp]", aB = "[object Set]", nB = "[object String]", iB = "[object Symbol]", sB = "[object ArrayBuffer]", lB = "[object DataView]", oB = "[object Float32Array]", rB = "[object Float64Array]", uB = "[object Int8Array]", cB = "[object Int16Array]", dB = "[object Int32Array]", pB = "[object Uint8Array]", AB = "[object Uint8ClampedArray]", gB = "[object Uint16Array]", mB = "[object Uint32Array]";
|
|
@@ -12406,7 +12406,7 @@ function fB(e, t, a) {
|
|
|
12406
12406
|
var n = e.constructor;
|
|
12407
12407
|
switch (t) {
|
|
12408
12408
|
case sB:
|
|
12409
|
-
return
|
|
12409
|
+
return Zi(e);
|
|
12410
12410
|
case WI:
|
|
12411
12411
|
case _I:
|
|
12412
12412
|
return new n(+e);
|
|
@@ -12436,17 +12436,17 @@ function fB(e, t, a) {
|
|
|
12436
12436
|
}
|
|
12437
12437
|
}
|
|
12438
12438
|
function hB(e) {
|
|
12439
|
-
return typeof e.constructor == "function" && !
|
|
12439
|
+
return typeof e.constructor == "function" && !Xn(e) ? jE(Or(e)) : {};
|
|
12440
12440
|
}
|
|
12441
12441
|
var vB = "[object Map]";
|
|
12442
12442
|
function bB(e) {
|
|
12443
12443
|
return ja(e) && Ot(e) == vB;
|
|
12444
12444
|
}
|
|
12445
|
-
var Rl = Ua && Ua.isMap, yB = Rl ?
|
|
12445
|
+
var Rl = Ua && Ua.isMap, yB = Rl ? zi(Rl) : bB, wB = "[object Set]";
|
|
12446
12446
|
function EB(e) {
|
|
12447
12447
|
return ja(e) && Ot(e) == wB;
|
|
12448
12448
|
}
|
|
12449
|
-
var Ml = Ua && Ua.isSet, CB = Ml ?
|
|
12449
|
+
var Ml = Ua && Ua.isSet, CB = Ml ? zi(Ml) : EB, IB = 1, BB = 2, OB = 4, Tr = "[object Arguments]", RB = "[object Array]", MB = "[object Boolean]", kB = "[object Date]", SB = "[object Error]", xr = "[object Function]", TB = "[object GeneratorFunction]", xB = "[object Map]", PB = "[object Number]", Pr = "[object Object]", UB = "[object RegExp]", DB = "[object Set]", GB = "[object String]", LB = "[object Symbol]", VB = "[object WeakMap]", jB = "[object ArrayBuffer]", HB = "[object DataView]", YB = "[object Float32Array]", FB = "[object Float64Array]", NB = "[object Int8Array]", KB = "[object Int16Array]", zB = "[object Int32Array]", qB = "[object Uint8Array]", QB = "[object Uint8ClampedArray]", XB = "[object Uint16Array]", JB = "[object Uint32Array]", Ue = {};
|
|
12450
12450
|
Ue[Tr] = Ue[RB] = Ue[jB] = Ue[HB] = Ue[MB] = Ue[kB] = Ue[YB] = Ue[FB] = Ue[NB] = Ue[KB] = Ue[zB] = Ue[xB] = Ue[PB] = Ue[Pr] = Ue[UB] = Ue[DB] = Ue[GB] = Ue[LB] = Ue[qB] = Ue[QB] = Ue[XB] = Ue[JB] = !0;
|
|
12451
12451
|
Ue[SB] = Ue[xr] = Ue[VB] = !1;
|
|
12452
12452
|
function En(e, t, a, n, s, i) {
|
|
@@ -12461,7 +12461,7 @@ function En(e, t, a, n, s, i) {
|
|
|
12461
12461
|
return HE(e, l);
|
|
12462
12462
|
} else {
|
|
12463
12463
|
var A = Ot(e), p = A == xr || A == TB;
|
|
12464
|
-
if (
|
|
12464
|
+
if (Ki(e))
|
|
12465
12465
|
return MI(e, o);
|
|
12466
12466
|
if (A == Pr || A == Tr || p && !s) {
|
|
12467
12467
|
if (l = c || p ? {} : hB(e), !o)
|
|
@@ -12481,7 +12481,7 @@ function En(e, t, a, n, s, i) {
|
|
|
12481
12481
|
}) : yB(e) && e.forEach(function(E, k) {
|
|
12482
12482
|
l.set(k, En(E, t, a, k, e, i));
|
|
12483
12483
|
});
|
|
12484
|
-
var S = d ? c ? GI : DI : c ?
|
|
12484
|
+
var S = d ? c ? GI : DI : c ? Qi : qi, f = g ? void 0 : S(e);
|
|
12485
12485
|
return YE(f || e, function(E, k) {
|
|
12486
12486
|
f && (k = E, E = e[k]), pr(l, k, En(E, t, a, k, e, i));
|
|
12487
12487
|
}), l;
|
|
@@ -12501,12 +12501,12 @@ var tO = "[object Map]", aO = "[object Set]", nO = Object.prototype, iO = nO.has
|
|
|
12501
12501
|
function kl(e) {
|
|
12502
12502
|
if (e == null)
|
|
12503
12503
|
return !0;
|
|
12504
|
-
if (
|
|
12504
|
+
if (Ni(e) && (ya(e) || typeof e == "string" || typeof e.splice == "function" || Ki(e) || vr(e) || mr(e)))
|
|
12505
12505
|
return !e.length;
|
|
12506
12506
|
var t = Ot(e);
|
|
12507
12507
|
if (t == tO || t == aO)
|
|
12508
12508
|
return !e.size;
|
|
12509
|
-
if (
|
|
12509
|
+
if (Xn(e))
|
|
12510
12510
|
return !wr(e).length;
|
|
12511
12511
|
for (var a in e)
|
|
12512
12512
|
if (iO.call(e, a))
|
|
@@ -12517,7 +12517,7 @@ function sO(e, t) {
|
|
|
12517
12517
|
return t = Cr(t, e), e = eO(e, t), e == null || delete e[Ir($B(t))];
|
|
12518
12518
|
}
|
|
12519
12519
|
var lO = 0;
|
|
12520
|
-
function
|
|
12520
|
+
function xn(e) {
|
|
12521
12521
|
var t = ++lO;
|
|
12522
12522
|
return Er(e) + t;
|
|
12523
12523
|
}
|
|
@@ -12533,18 +12533,18 @@ const Dr = Symbol("free-form-data"), Gr = Symbol("free-form-schema"), oO = {
|
|
|
12533
12533
|
placement: "top"
|
|
12534
12534
|
}
|
|
12535
12535
|
};
|
|
12536
|
-
function
|
|
12536
|
+
function Oi(e, t = "") {
|
|
12537
12537
|
const a = {};
|
|
12538
12538
|
if (e.type === "record" && Array.isArray(e.fields))
|
|
12539
12539
|
for (const n of e.fields) {
|
|
12540
12540
|
const s = Object.keys(n)[0], i = n[s], l = t ? `${t}.${s}` : s;
|
|
12541
12541
|
if (a[l] = i, i.type === "record" && Array.isArray(i.fields)) {
|
|
12542
|
-
const o =
|
|
12542
|
+
const o = Oi(i, l);
|
|
12543
12543
|
Object.assign(a, o);
|
|
12544
12544
|
} else if (i.type === "array" && i.elements) {
|
|
12545
12545
|
const o = i.elements, c = `${l}.*`;
|
|
12546
12546
|
if (a[c] = o, o.type === "record" && Array.isArray(o.fields)) {
|
|
12547
|
-
const d =
|
|
12547
|
+
const d = Oi(o, c);
|
|
12548
12548
|
Object.assign(a, d);
|
|
12549
12549
|
}
|
|
12550
12550
|
}
|
|
@@ -12555,7 +12555,7 @@ function rO(e) {
|
|
|
12555
12555
|
const t = jl(e), a = L(() => {
|
|
12556
12556
|
var A, p;
|
|
12557
12557
|
return (p = (A = t == null ? void 0 : t.fields) == null ? void 0 : A.find((h) => "config" in h)) == null ? void 0 : p.config;
|
|
12558
|
-
}), n = L(() => a.value ?
|
|
12558
|
+
}), n = L(() => a.value ? Oi(Zr(a.value)) : {});
|
|
12559
12559
|
function s(A) {
|
|
12560
12560
|
var p;
|
|
12561
12561
|
return A == null ? a.value : (p = n.value) == null ? void 0 : p[A];
|
|
@@ -12620,7 +12620,7 @@ function Ca() {
|
|
|
12620
12620
|
const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
12621
12621
|
key: 0,
|
|
12622
12622
|
class: "ff-array-field-container"
|
|
12623
|
-
}, pO = { class: "ff-array-field-item-content" }, AO = ["data-index"], gO = /* @__PURE__ */ pe({
|
|
12623
|
+
}, pO = { class: "ff-array-field-item-content" }, AO = ["data-index", "data-testid"], gO = /* @__PURE__ */ pe({
|
|
12624
12624
|
__name: "ArrayField",
|
|
12625
12625
|
props: {
|
|
12626
12626
|
items: {},
|
|
@@ -12635,11 +12635,11 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12635
12635
|
setup(e, { emit: t }) {
|
|
12636
12636
|
var k;
|
|
12637
12637
|
Wr((O) => ({
|
|
12638
|
-
|
|
12638
|
+
"1b879033": E.value
|
|
12639
12639
|
}));
|
|
12640
12640
|
const a = e, n = t, s = la(/* @__PURE__ */ new Map()), i = L(() => a.items || []), l = L(() => a.appearance === "card" ? es : "div");
|
|
12641
12641
|
function o() {
|
|
12642
|
-
return
|
|
12642
|
+
return xn("ff-array-field-");
|
|
12643
12643
|
}
|
|
12644
12644
|
function c(O, b) {
|
|
12645
12645
|
return O != null && typeof O == "object" ? s.get(O) : `ff-array-field-${b}`;
|
|
@@ -12713,6 +12713,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12713
12713
|
]), 1040, ["required"])) : _("", !0),
|
|
12714
12714
|
v(y, {
|
|
12715
12715
|
appearance: "tertiary",
|
|
12716
|
+
"data-testid": `${r(xn)("ff-array-field")}-add-item-btn`,
|
|
12716
12717
|
icon: "",
|
|
12717
12718
|
onClick: p
|
|
12718
12719
|
}, {
|
|
@@ -12720,14 +12721,15 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12720
12721
|
v(r(ga))
|
|
12721
12722
|
]),
|
|
12722
12723
|
_: 1
|
|
12723
|
-
})
|
|
12724
|
+
}, 8, ["data-testid"])
|
|
12724
12725
|
]),
|
|
12725
12726
|
i.value.length ? (m(), x(he, { key: 0 }, [
|
|
12726
12727
|
O.appearance !== "tabs" ? (m(), x("div", dO, [
|
|
12727
12728
|
(m(!0), x(he, null, Ie(i.value, (R, V) => (m(), D(r(l), {
|
|
12728
12729
|
key: c(R, V),
|
|
12729
12730
|
class: "ff-array-field-item",
|
|
12730
|
-
"data-index": V
|
|
12731
|
+
"data-index": V,
|
|
12732
|
+
"data-testid": `ff-array-field-item-${V}`
|
|
12731
12733
|
}, {
|
|
12732
12734
|
default: w(() => [
|
|
12733
12735
|
I("div", pO, [
|
|
@@ -12749,7 +12751,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12749
12751
|
}, 1032, ["onClick"])
|
|
12750
12752
|
]),
|
|
12751
12753
|
_: 2
|
|
12752
|
-
}, 1032, ["data-index"]))), 128))
|
|
12754
|
+
}, 1032, ["data-index", "data-testid"]))), 128))
|
|
12753
12755
|
])) : (m(), D(r(es), { key: 1 }, {
|
|
12754
12756
|
default: w(() => [
|
|
12755
12757
|
v(C, {
|
|
@@ -12762,7 +12764,8 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12762
12764
|
fn: w(() => [
|
|
12763
12765
|
I("div", {
|
|
12764
12766
|
class: "ff-array-field-item",
|
|
12765
|
-
"data-index": V
|
|
12767
|
+
"data-index": V,
|
|
12768
|
+
"data-testid": `ff-array-field-item-${V}`
|
|
12766
12769
|
}, [
|
|
12767
12770
|
gt(O.$slots, "item", {
|
|
12768
12771
|
index: V,
|
|
@@ -12796,7 +12799,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12796
12799
|
], 2);
|
|
12797
12800
|
};
|
|
12798
12801
|
}
|
|
12799
|
-
}),
|
|
12802
|
+
}), Pn = /* @__PURE__ */ Qe(gO, [["__scopeId", "data-v-43bc6d0e"]]), mO = { class: "ff-kv-field-header" }, fO = ["innerHTML"], hO = /* @__PURE__ */ pe({
|
|
12800
12803
|
__name: "KeyValueField",
|
|
12801
12804
|
props: {
|
|
12802
12805
|
initialValue: {},
|
|
@@ -12813,7 +12816,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12813
12816
|
setup(e, { expose: t, emit: a }) {
|
|
12814
12817
|
const n = e, s = a, i = Q(o(n.initialValue || {}));
|
|
12815
12818
|
function l() {
|
|
12816
|
-
return
|
|
12819
|
+
return xn("ff-kv-field-");
|
|
12817
12820
|
}
|
|
12818
12821
|
function o(O) {
|
|
12819
12822
|
return Object.entries(O).map(([b, T]) => ({
|
|
@@ -13020,7 +13023,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13020
13023
|
class: "ff-object-field-content"
|
|
13021
13024
|
}, IO = /* @__PURE__ */ pe({
|
|
13022
13025
|
__name: "ObjectField",
|
|
13023
|
-
props: /* @__PURE__ */
|
|
13026
|
+
props: /* @__PURE__ */ ci({
|
|
13024
13027
|
label: {},
|
|
13025
13028
|
labelAttributes: {},
|
|
13026
13029
|
required: { type: Boolean },
|
|
@@ -13036,7 +13039,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13036
13039
|
}),
|
|
13037
13040
|
emits: ["update:added", "update:expanded"],
|
|
13038
13041
|
setup(e) {
|
|
13039
|
-
const t =
|
|
13042
|
+
const t = di(e, "added"), a = L(() => e.required ? !0 : t.value ?? e.defaultAdded), n = di(e, "expanded"), s = L(() => a.value && (e.collapsible ? n.value ?? e.defaultExpanded : !1));
|
|
13040
13043
|
return We(a, (i) => {
|
|
13041
13044
|
e.collapsible && (n.value = i);
|
|
13042
13045
|
}), (i, l) => {
|
|
@@ -13278,6 +13281,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13278
13281
|
}, {
|
|
13279
13282
|
default: w(() => [
|
|
13280
13283
|
v(ze, {
|
|
13284
|
+
"data-testid": `callouts-request-url-${S.calloutIndex}`,
|
|
13281
13285
|
label: "Request › URL",
|
|
13282
13286
|
"label-attributes": r(i)("callouts.*.request.url"),
|
|
13283
13287
|
"model-value": d.value.url,
|
|
@@ -13285,16 +13289,17 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13285
13289
|
required: "",
|
|
13286
13290
|
"show-vault-secret-picker": "",
|
|
13287
13291
|
"onUpdate:modelValue": f[0] || (f[0] = (E) => d.value.url = (E ?? "").trim())
|
|
13288
|
-
}, null, 8, ["label-attributes", "model-value", "placeholder"]),
|
|
13292
|
+
}, null, 8, ["data-testid", "label-attributes", "model-value", "placeholder"]),
|
|
13289
13293
|
v(pn, {
|
|
13290
13294
|
modelValue: d.value.method,
|
|
13291
13295
|
"onUpdate:modelValue": f[1] || (f[1] = (E) => d.value.method = E),
|
|
13296
|
+
"data-testid": `callouts-request-method-${S.calloutIndex}`,
|
|
13292
13297
|
items: r(a),
|
|
13293
13298
|
label: "Request › Method",
|
|
13294
13299
|
"label-attributes": r(i)("callouts.*.request.method"),
|
|
13295
13300
|
placeholder: r(c)("callouts.*.request.method"),
|
|
13296
13301
|
required: ""
|
|
13297
|
-
}, null, 8, ["modelValue", "items", "label-attributes", "placeholder"]),
|
|
13302
|
+
}, null, 8, ["modelValue", "data-testid", "items", "label-attributes", "placeholder"]),
|
|
13298
13303
|
v(Ze, {
|
|
13299
13304
|
label: "Request › Headers",
|
|
13300
13305
|
"label-attributes": r(i)("callouts.*.request.headers"),
|
|
@@ -13499,7 +13504,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13499
13504
|
min: "0",
|
|
13500
13505
|
placeholder: r(c)("callouts.*.request.error.retries")
|
|
13501
13506
|
}, null, 8, ["modelValue", "label-attributes", "placeholder"]),
|
|
13502
|
-
v(
|
|
13507
|
+
v(Pn, {
|
|
13503
13508
|
items: d.value.error.http_statuses,
|
|
13504
13509
|
label: "Request › Error › HTTP Statuses",
|
|
13505
13510
|
"label-attributes": r(i)("callouts.*.request.error.http_statuses"),
|
|
@@ -13636,13 +13641,14 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13636
13641
|
v(ze, {
|
|
13637
13642
|
"data-1p-ignore": "",
|
|
13638
13643
|
"data-autofocus": "",
|
|
13644
|
+
"data-testid": `callouts-name-${c.index}`,
|
|
13639
13645
|
label: "Name",
|
|
13640
13646
|
"label-attributes": r(n)("callouts.*.name"),
|
|
13641
13647
|
"model-value": o.value.name,
|
|
13642
13648
|
placeholder: r(s)("callouts.*.name"),
|
|
13643
13649
|
required: "",
|
|
13644
13650
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => o.value.name = (g ?? "").trim())
|
|
13645
|
-
}, null, 8, ["label-attributes", "model-value", "placeholder"]),
|
|
13651
|
+
}, null, 8, ["data-testid", "label-attributes", "model-value", "placeholder"]),
|
|
13646
13652
|
v(pn, {
|
|
13647
13653
|
items: l.value,
|
|
13648
13654
|
label: "Depends On",
|
|
@@ -13673,7 +13679,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13673
13679
|
}
|
|
13674
13680
|
}), GO = "__request_callout_";
|
|
13675
13681
|
function Lr() {
|
|
13676
|
-
return
|
|
13682
|
+
return xn(GO);
|
|
13677
13683
|
}
|
|
13678
13684
|
const LO = /* @__PURE__ */ pe({
|
|
13679
13685
|
__name: "CalloutsForm",
|
|
@@ -13690,7 +13696,7 @@ const LO = /* @__PURE__ */ pe({
|
|
|
13690
13696
|
function i(l) {
|
|
13691
13697
|
t.callouts.splice(l, 1);
|
|
13692
13698
|
}
|
|
13693
|
-
return (l, o) => (m(), D(
|
|
13699
|
+
return (l, o) => (m(), D(Pn, {
|
|
13694
13700
|
appearance: "tabs",
|
|
13695
13701
|
"item-label": (c) => c.name || "New callout",
|
|
13696
13702
|
"item-label-field": "name",
|
|
@@ -13896,7 +13902,7 @@ const LO = /* @__PURE__ */ pe({
|
|
|
13896
13902
|
"label-attributes": r(a)("cache.redis.sentinel_role"),
|
|
13897
13903
|
placeholder: r(i)("cache.redis.sentinel_role")
|
|
13898
13904
|
}, null, 8, ["modelValue", "items", "label-attributes", "placeholder"]),
|
|
13899
|
-
v(
|
|
13905
|
+
v(Pn, {
|
|
13900
13906
|
appearance: "card",
|
|
13901
13907
|
items: l.value.sentinel_nodes,
|
|
13902
13908
|
label: "Cache › Redis › Sentinel Nodes",
|
|
@@ -13946,7 +13952,7 @@ const LO = /* @__PURE__ */ pe({
|
|
|
13946
13952
|
"show-vault-secret-picker": "",
|
|
13947
13953
|
type: "password"
|
|
13948
13954
|
}, null, 8, ["modelValue", "label-attributes", "placeholder"]),
|
|
13949
|
-
v(
|
|
13955
|
+
v(Pn, {
|
|
13950
13956
|
appearance: "card",
|
|
13951
13957
|
items: l.value.cluster_nodes,
|
|
13952
13958
|
label: "Cache › Redis › Cluster Nodes",
|
|
@@ -14307,7 +14313,7 @@ const ZO = pe({
|
|
|
14307
14313
|
credential: n.credential,
|
|
14308
14314
|
enableRedisPartial: n.enableRedisPartial,
|
|
14309
14315
|
experimentalRenders: n.config.app === "konnect" ? n.config.experimentalRenders : void 0
|
|
14310
|
-
}), { convertToDotNotation: o, unFlattenObject: c, dismissField: d, isObjectEmpty: g, unsetNullForeignKey: A } = Ye.usePluginHelpers(), { objectsAreEqual: p } =
|
|
14316
|
+
}), { convertToDotNotation: o, unFlattenObject: c, dismissField: d, isObjectEmpty: g, unsetNullForeignKey: A } = Ye.usePluginHelpers(), { objectsAreEqual: p } = Dn(), { i18n: { t: h } } = fa(), S = (Z, $) => {
|
|
14311
14317
|
let ee = `${n.config.apiBaseUrl}${qe.form[n.config.app].entityGetOne}`;
|
|
14312
14318
|
return n.config.app === "konnect" ? ee = ee.replace(/{controlPlaneId}/gi, n.config.controlPlaneId || "") : n.config.app === "kongManager" && (ee = ee.replace(/\/{workspace}/gi, n.config.workspace ? `/${n.config.workspace}` : "")), ee = ee.replace(/{entity}/gi, Z), ee = ee.replace(/{id}/gi, $), ee;
|
|
14313
14319
|
}, f = (Z) => {
|
|
@@ -14330,7 +14336,7 @@ const ZO = pe({
|
|
|
14330
14336
|
return ve;
|
|
14331
14337
|
}) : s.get(ee, { params: $ });
|
|
14332
14338
|
}
|
|
14333
|
-
}), kt(
|
|
14339
|
+
}), kt(Vi, n.config);
|
|
14334
14340
|
const O = Q(""), b = Q(""), T = Q(null), y = Q({}), C = la({}), B = la({}), R = L(() => {
|
|
14335
14341
|
var Z;
|
|
14336
14342
|
return (Z = T.value) == null ? void 0 : Z.options;
|
|
@@ -14345,7 +14351,7 @@ const ZO = pe({
|
|
|
14345
14351
|
if (!g(y.value))
|
|
14346
14352
|
for (let Ve = 0; Ve < ((ut = (et = y.value) == null ? void 0 : et.fields) == null ? void 0 : ut.length); Ve++)
|
|
14347
14353
|
Z[y.value.fields[Ve].model] = y.value.fields[Ve];
|
|
14348
|
-
|
|
14354
|
+
wi.forEach((Ve) => {
|
|
14349
14355
|
Z[Ve] && (Z[Ve].fields.forEach((Ee) => {
|
|
14350
14356
|
Ee.fields && Ee.fields.forEach((de) => {
|
|
14351
14357
|
Z[de.model] = de;
|
|
@@ -14539,7 +14545,7 @@ const ZO = pe({
|
|
|
14539
14545
|
e.enableVaultSecretPicker ? {
|
|
14540
14546
|
name: r(Mt),
|
|
14541
14547
|
fn: w((ue) => [
|
|
14542
|
-
ue.schema.referenceable ? (m(), D(r(
|
|
14548
|
+
ue.schema.referenceable ? (m(), D(r(ii), _e({ key: 0 }, ue, { onOpen: H }), null, 16)) : _("", !0)
|
|
14543
14549
|
]),
|
|
14544
14550
|
key: "0"
|
|
14545
14551
|
} : void 0
|
|
@@ -14557,7 +14563,7 @@ const ZO = pe({
|
|
|
14557
14563
|
e.enableVaultSecretPicker ? {
|
|
14558
14564
|
name: r(Mt),
|
|
14559
14565
|
fn: w((ue) => [
|
|
14560
|
-
ue.schema.referenceable ? (m(), D(r(
|
|
14566
|
+
ue.schema.referenceable ? (m(), D(r(ii), _e({ key: 0 }, ue, { onOpen: H }), null, 16)) : _("", !0)
|
|
14561
14567
|
]),
|
|
14562
14568
|
key: "0"
|
|
14563
14569
|
} : void 0
|
|
@@ -14590,7 +14596,7 @@ const ZO = pe({
|
|
|
14590
14596
|
e.enableVaultSecretPicker ? {
|
|
14591
14597
|
name: r(Mt),
|
|
14592
14598
|
fn: w((ue) => [
|
|
14593
|
-
ue.schema.referenceable ? (m(), D(r(
|
|
14599
|
+
ue.schema.referenceable ? (m(), D(r(ii), _e({ key: 0 }, ue, { onOpen: H }), null, 16)) : _("", !0)
|
|
14594
14600
|
]),
|
|
14595
14601
|
key: "1"
|
|
14596
14602
|
} : void 0
|
|
@@ -14615,7 +14621,7 @@ const ZO = pe({
|
|
|
14615
14621
|
}
|
|
14616
14622
|
},
|
|
14617
14623
|
setup(e) {
|
|
14618
|
-
return (t, a) => e.teleportTarget ? (m(), D(
|
|
14624
|
+
return (t, a) => e.teleportTarget ? (m(), D(pi, {
|
|
14619
14625
|
key: 0,
|
|
14620
14626
|
to: e.teleportTarget
|
|
14621
14627
|
}, [
|
|
@@ -14716,11 +14722,11 @@ const ZO = pe({
|
|
|
14716
14722
|
emits: ["cancel", "error:fetch-schema", "error", "loading", "update", "model-updated", "showNewPartialModal"],
|
|
14717
14723
|
setup(e, { emit: t }) {
|
|
14718
14724
|
var xt;
|
|
14719
|
-
const a = t, n = e, s =
|
|
14725
|
+
const a = t, n = e, s = Gn(), { i18n: { t: i } } = Ye.useI18n(), { customSchemas: l, typedefs: o } = Ye.useSchemas({
|
|
14720
14726
|
app: n.config.app,
|
|
14721
14727
|
credential: n.credential,
|
|
14722
14728
|
experimentalRenders: n.config.app === "konnect" ? n.config.experimentalRenders : void 0
|
|
14723
|
-
}), { formatPluginFieldLabel: c } = Ye.usePluginHelpers(), { getMessageFromError: d } = gn(), { capitalize: g } =
|
|
14729
|
+
}), { formatPluginFieldLabel: c } = Ye.usePluginHelpers(), { getMessageFromError: d } = gn(), { capitalize: g } = Un(), { objectsAreEqual: A } = Dn(), { axiosInstance: p } = Lt((xt = n.config) == null ? void 0 : xt.axiosRequestConfig), h = Q(!1), S = L(() => !!n.pluginId), f = L(() => n.pluginId ? aa.Edit : aa.Create), E = Q(void 0), k = Q(void 0), O = L(() => !!(n.credential && n.config.entityId)), b = Q(void 0), T = Q({}), y = Q(), C = Q(), B = Q(!1), R = la({
|
|
14724
14730
|
enabled: !0,
|
|
14725
14731
|
protocols: [],
|
|
14726
14732
|
tags: []
|
|
@@ -15170,7 +15176,7 @@ const ZO = pe({
|
|
|
15170
15176
|
k.value = se("", W, {}), Ee.value = !1;
|
|
15171
15177
|
else {
|
|
15172
15178
|
const ye = W.fields.find((re) => re.config);
|
|
15173
|
-
T.value = ye ? ye.config : W, W.supported_partials && (y.value = Object.keys(W.supported_partials).find((re) => [
|
|
15179
|
+
T.value = ye ? ye.config : W, W.supported_partials && (y.value = Object.keys(W.supported_partials).find((re) => [fi.REDIS_CE, fi.REDIS_EE].includes(re)), C.value = (G = W.supported_partials[y.value]) == null ? void 0 : G[0]), ge();
|
|
15174
15180
|
const fe = (M = W.fields.find((re) => re.protocols)) == null ? void 0 : M.protocols;
|
|
15175
15181
|
if (fe) {
|
|
15176
15182
|
const { default: re = [], elements: we = {} } = fe;
|
|
@@ -15210,7 +15216,7 @@ const ZO = pe({
|
|
|
15210
15216
|
"can-submit": j.value,
|
|
15211
15217
|
config: e.config,
|
|
15212
15218
|
"edit-id": e.pluginId,
|
|
15213
|
-
"entity-type": r(
|
|
15219
|
+
"entity-type": r(gi).Plugin,
|
|
15214
15220
|
"error-message": V.errorMessage,
|
|
15215
15221
|
"fetch-url": te.value,
|
|
15216
15222
|
"form-fields": mt.value,
|
|
@@ -15321,7 +15327,7 @@ const ZO = pe({
|
|
|
15321
15327
|
v(r(nu), {
|
|
15322
15328
|
"credential-type": Ve.value,
|
|
15323
15329
|
"entity-record": mt.value,
|
|
15324
|
-
"entity-type": r(
|
|
15330
|
+
"entity-type": r(gi).Plugin
|
|
15325
15331
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
15326
15332
|
]),
|
|
15327
15333
|
_: 1
|
|
@@ -15455,7 +15461,7 @@ const ZO = pe({
|
|
|
15455
15461
|
emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
|
|
15456
15462
|
setup(e, { emit: t }) {
|
|
15457
15463
|
var xt, X;
|
|
15458
|
-
const a = Ye.usePluginMetaData(), n = t, s = e, { i18n: { t: i } } = Ye.useI18n(), l =
|
|
15464
|
+
const a = Ye.usePluginMetaData(), n = t, s = e, { i18n: { t: i } } = Ye.useI18n(), l = Gn(), { axiosInstance: o } = Lt((xt = s.config) == null ? void 0 : xt.axiosRequestConfig), { hasRecords: c, handleStateChange: d } = iu(() => T.value), g = L(() => c.value && s.config.app === "konnect"), A = L(() => !s.enableV2EmptyStates && s.config.app === "konnect"), p = L(() => !!s.config.entityId), h = L(() => {
|
|
15459
15465
|
var G;
|
|
15460
15466
|
return ((G = s.config) == null ? void 0 : G.entityType) === "consumers";
|
|
15461
15467
|
}), S = L(() => {
|
|
@@ -15660,7 +15666,7 @@ const ZO = pe({
|
|
|
15660
15666
|
}, null, 8, ["modelValue", "config"])
|
|
15661
15667
|
]),
|
|
15662
15668
|
"toolbar-button": w(() => [
|
|
15663
|
-
(m(), D(
|
|
15669
|
+
(m(), D(pi, {
|
|
15664
15670
|
disabled: !e.useActionOutside,
|
|
15665
15671
|
to: "#kong-ui-app-page-header-action-button"
|
|
15666
15672
|
}, [
|
|
@@ -15864,7 +15870,7 @@ const ZO = pe({
|
|
|
15864
15870
|
!r(c) && A.value ? {
|
|
15865
15871
|
name: "outside-actions",
|
|
15866
15872
|
fn: w(() => [
|
|
15867
|
-
(m(), D(
|
|
15873
|
+
(m(), D(pi, {
|
|
15868
15874
|
disabled: !e.useActionOutside,
|
|
15869
15875
|
to: "#kong-ui-app-page-header-action-button"
|
|
15870
15876
|
}, [
|
|
@@ -15987,7 +15993,7 @@ const ZO = pe({
|
|
|
15987
15993
|
},
|
|
15988
15994
|
emits: ["plugin-clicked", "custom-plugin-delete"],
|
|
15989
15995
|
setup(e, { emit: t }) {
|
|
15990
|
-
const a = t, n = e, s =
|
|
15996
|
+
const a = t, n = e, s = Gn(), { i18n: { t: i } } = Ye.useI18n(), l = L(() => n.config.app === "konnect" ? n.config.controlPlaneId : ""), o = L(() => !!(!n.plugin.available || n.plugin.disabledMessage)), c = L(() => !!(h.value && !p.value && n.navigateOnClick && l.value && (n.canDeleteCustomPlugin || n.canEditCustomPlugin))), d = () => {
|
|
15991
15997
|
s.push(n.config.getCreateRoute(n.plugin.id));
|
|
15992
15998
|
}, g = () => {
|
|
15993
15999
|
n.navigateOnClick ? d() : A();
|
|
@@ -16199,7 +16205,7 @@ const ZO = pe({
|
|
|
16199
16205
|
}, 8, ["action-button-disabled", "title"])) : _("", !0);
|
|
16200
16206
|
};
|
|
16201
16207
|
}
|
|
16202
|
-
}), SR = /* @__PURE__ */ Qe(kR, [["__scopeId", "data-v-9e0dee7f"]]), TR = { class: "custom-plugins-grid" }, xR = { class: "empty-state-title" }, PR = { class: "empty-state-description" },
|
|
16208
|
+
}), SR = /* @__PURE__ */ Qe(kR, [["__scopeId", "data-v-9e0dee7f"]]), TR = { class: "custom-plugins-grid" }, xR = { class: "empty-state-title" }, PR = { class: "empty-state-description" }, oi = 310, UR = /* @__PURE__ */ pe({
|
|
16203
16209
|
__name: "PluginCustomGrid",
|
|
16204
16210
|
props: {
|
|
16205
16211
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16269,17 +16275,17 @@ const ZO = pe({
|
|
|
16269
16275
|
}, h = (y) => {
|
|
16270
16276
|
var C;
|
|
16271
16277
|
y && (n("revalidate"), n("delete:success", ((C = A.value) == null ? void 0 : C.name) || "")), g.value = !1, A.value = null;
|
|
16272
|
-
}, S = Q(
|
|
16278
|
+
}, S = Q(oi), f = Q(null), E = Q(null), k = L(() => o.value ? {
|
|
16273
16279
|
overflowY: "hidden",
|
|
16274
16280
|
maxHeight: `${S.value}px`
|
|
16275
16281
|
} : {}), O = Q(!1), b = () => {
|
|
16276
|
-
S.value = Math.max(i(E.value),
|
|
16282
|
+
S.value = Math.max(i(E.value), oi), T();
|
|
16277
16283
|
}, T = () => {
|
|
16278
16284
|
var y, C;
|
|
16279
16285
|
(y = E.value) != null && y.length && (O.value = l(f.value, (C = E.value) == null ? void 0 : C.length));
|
|
16280
16286
|
};
|
|
16281
16287
|
return Da(async () => {
|
|
16282
|
-
await qt(), S.value = Math.max(i(E.value),
|
|
16288
|
+
await qt(), S.value = Math.max(i(E.value), oi), T(), window == null || window.addEventListener("resize", b);
|
|
16283
16289
|
}), Fl(() => {
|
|
16284
16290
|
window == null || window.removeEventListener("resize", b);
|
|
16285
16291
|
}), (y, C) => {
|
|
@@ -16349,9 +16355,9 @@ const ZO = pe({
|
|
|
16349
16355
|
]);
|
|
16350
16356
|
};
|
|
16351
16357
|
}
|
|
16352
|
-
}), DR = /* @__PURE__ */ Qe(UR, [["__scopeId", "data-v-9703ee67"]]),
|
|
16358
|
+
}), DR = /* @__PURE__ */ Qe(UR, [["__scopeId", "data-v-9703ee67"]]), ri = 310, GR = /* @__PURE__ */ pe({
|
|
16353
16359
|
__name: "PluginSelectGroup",
|
|
16354
|
-
props: /* @__PURE__ */
|
|
16360
|
+
props: /* @__PURE__ */ ci({
|
|
16355
16361
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
16356
16362
|
config: {
|
|
16357
16363
|
type: Object,
|
|
@@ -16384,19 +16390,19 @@ const ZO = pe({
|
|
|
16384
16390
|
modelValue: { type: Boolean, required: !0 },
|
|
16385
16391
|
modelModifiers: {}
|
|
16386
16392
|
}),
|
|
16387
|
-
emits: /* @__PURE__ */
|
|
16393
|
+
emits: /* @__PURE__ */ ci(["plugin-clicked"], ["update:modelValue"]),
|
|
16388
16394
|
setup(e, { emit: t }) {
|
|
16389
|
-
const a =
|
|
16395
|
+
const a = di(e, "modelValue"), n = e, s = t, { i18n: { t: i } } = Ye.useI18n(), { getTallestPluginCardHeight: l, getToggleVisibility: o } = Ye.usePluginHelpers(), c = Q(ri), d = Q(null), g = Q(null), A = L(() => a.value ? {
|
|
16390
16396
|
overflowY: "hidden",
|
|
16391
16397
|
maxHeight: `${c.value}px`
|
|
16392
16398
|
} : {}), p = Q(!1), h = () => {
|
|
16393
|
-
c.value = Math.max(l(g.value),
|
|
16399
|
+
c.value = Math.max(l(g.value), ri), S();
|
|
16394
16400
|
}, S = () => {
|
|
16395
16401
|
var f, E;
|
|
16396
16402
|
(f = g.value) != null && f.length && (p.value = o(d.value, (E = g.value) == null ? void 0 : E.length));
|
|
16397
16403
|
};
|
|
16398
16404
|
return Da(async () => {
|
|
16399
|
-
await qt(), c.value = Math.max(l(g.value),
|
|
16405
|
+
await qt(), c.value = Math.max(l(g.value), ri), S(), window == null || window.addEventListener("resize", h);
|
|
16400
16406
|
}), Fl(() => {
|
|
16401
16407
|
window == null || window.removeEventListener("resize", h);
|
|
16402
16408
|
}), (f, E) => {
|
|
@@ -16626,7 +16632,7 @@ const ZO = pe({
|
|
|
16626
16632
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
16627
16633
|
setup(e, { emit: t }) {
|
|
16628
16634
|
var ge;
|
|
16629
|
-
const a = e, n = t, s = fu(), i =
|
|
16635
|
+
const a = e, n = t, s = fu(), i = Gn(), { i18n: { t: l } } = Ye.useI18n(), { pluginMetaData: o } = Ye.usePluginMetaData(), { getMessageFromError: c } = gn(), { sortAlpha: d, objectsAreEqual: g } = Dn(), A = Q(""), p = Q(!0), h = Q(!1), S = Q(""), f = Q([]), E = Q([]), k = Q({}), O = Q([]), { axiosInstance: b } = Lt((ge = a.config) == null ? void 0 : ge.axiosRequestConfig), T = L(() => k.value ? Object.entries(k.value).filter(([q]) => q !== P.CUSTOM_PLUGINS).reduce((q, [, j]) => {
|
|
16630
16636
|
for (const ae of j)
|
|
16631
16637
|
q[ae.id] = ae;
|
|
16632
16638
|
return q;
|
|
@@ -16845,7 +16851,7 @@ const ZO = pe({
|
|
|
16845
16851
|
]);
|
|
16846
16852
|
};
|
|
16847
16853
|
}
|
|
16848
|
-
}), AM = /* @__PURE__ */ Qe(XR, [["__scopeId", "data-v-429bc3e0"]]), JR = { class: "kong-ui-entity-plugin-config-card" }, ZR = { class: "name-cell-wrapper" }, WR = { class: "info-name" }, _R = { key: 0 }, $R = { key: 0 }, eM = { key: 0 }, tM = { key: 0 }, aM = { key: 0 },
|
|
16854
|
+
}), AM = /* @__PURE__ */ Qe(XR, [["__scopeId", "data-v-429bc3e0"]]), JR = { class: "kong-ui-entity-plugin-config-card" }, ZR = { class: "name-cell-wrapper" }, WR = { class: "info-name" }, _R = { key: 0 }, $R = { key: 0 }, eM = { key: 0 }, tM = { key: 0 }, aM = { key: 0 }, ui = "config", nM = /* @__PURE__ */ pe({
|
|
16849
16855
|
__name: "PluginConfigCard",
|
|
16850
16856
|
props: {
|
|
16851
16857
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16894,7 +16900,7 @@ const ZO = pe({
|
|
|
16894
16900
|
emits: ["loading", "fetch:error", "error:fetch-schema", "fetch:success", "navigation-click"],
|
|
16895
16901
|
setup(e, { emit: t }) {
|
|
16896
16902
|
var O;
|
|
16897
|
-
const a = t, n = e, { i18n: { t: s } } = Ye.useI18n(), i = Ye.usePluginMetaData(), { setFieldType: l } = Ye.usePluginHelpers(), { getPropValue: o } =
|
|
16903
|
+
const a = t, n = e, { i18n: { t: s } } = Ye.useI18n(), i = Ye.usePluginMetaData(), { setFieldType: l } = Ye.usePluginHelpers(), { getPropValue: o } = Dn(), c = L(
|
|
16898
16904
|
() => {
|
|
16899
16905
|
var b;
|
|
16900
16906
|
return (b = qe.item[n.config.app]) == null ? void 0 : b[n.scopedEntityType ? "forEntity" : "all"].replace(/{entityType}/gi, n.scopedEntityType).replace(/{entityId}/gi, n.scopedEntityId).concat(n.expandPartial ? "?expand_partials=true" : "");
|
|
@@ -16944,9 +16950,9 @@ const ZO = pe({
|
|
|
16944
16950
|
return [];
|
|
16945
16951
|
const b = (y = f.value.fields) == null ? void 0 : y.find((B) => {
|
|
16946
16952
|
var V;
|
|
16947
|
-
return ((V = Object.keys(B)) == null ? void 0 : V[0]) ===
|
|
16953
|
+
return ((V = Object.keys(B)) == null ? void 0 : V[0]) === ui;
|
|
16948
16954
|
});
|
|
16949
|
-
return ((C = b == null ? void 0 : b[
|
|
16955
|
+
return ((C = b == null ? void 0 : b[ui]) == null ? void 0 : C.fields) || [];
|
|
16950
16956
|
}), A = L(() => {
|
|
16951
16957
|
var T, y;
|
|
16952
16958
|
const b = {};
|
|
@@ -16998,10 +17004,10 @@ const ZO = pe({
|
|
|
16998
17004
|
config: e.config,
|
|
16999
17005
|
"config-card-doc": e.configCardDoc,
|
|
17000
17006
|
"config-schema": d.value,
|
|
17001
|
-
"entity-type": r(
|
|
17007
|
+
"entity-type": r(gi).Plugin,
|
|
17002
17008
|
"fetch-url": c.value,
|
|
17003
17009
|
"hide-title": e.hideTitle,
|
|
17004
|
-
"plugin-config-key":
|
|
17010
|
+
"plugin-config-key": ui,
|
|
17005
17011
|
"plugin-config-schema": A.value,
|
|
17006
17012
|
"onFetch:error": T[0] || (T[0] = (R) => b.$emit("fetch:error", R)),
|
|
17007
17013
|
"onFetch:success": T[1] || (T[1] = (R) => b.$emit("fetch:success", R)),
|
|
@@ -17118,7 +17124,7 @@ export {
|
|
|
17118
17124
|
rp as PluginGroupArray,
|
|
17119
17125
|
Wi as PluginIcon,
|
|
17120
17126
|
pM as PluginList,
|
|
17121
|
-
|
|
17127
|
+
fi as PluginPartialType,
|
|
17122
17128
|
u as PluginScope,
|
|
17123
17129
|
AM as PluginSelect,
|
|
17124
17130
|
jr as PluginSelectCard,
|