@kong-ui-public/entities-plugins 9.18.2-pr.2071.bea43f19c.0 → 9.18.2
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 +251 -257
- 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 +4 -4
|
@@ -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 ui, useModel as ci, useAttrs as _r, createPropsRestProxy as Yl, shallowRef as $r, Teleport as di, onUnmounted as Fl, normalizeStyle as Nl } from "vue";
|
|
5
|
+
import { useStringHelpers as Pn, ConfigurationSchemaType as ot, useErrors as gn, useDebouncedFilter as pi, useAxios as Lt, useHelpers as Un, EntityBaseFormType as aa, EntityBaseForm as eu, SupportedEntityType as Ai, 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 Dn, 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 Oi() {
|
|
11
11
|
return {
|
|
12
12
|
async: !1,
|
|
13
13
|
breaks: !1,
|
|
@@ -21,7 +21,7 @@ function Ri() {
|
|
|
21
21
|
walkTokens: null
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
let ma =
|
|
24
|
+
let ma = Oi();
|
|
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(), Ri = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Gu = /^[^\n]+/, Mi = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Lu = ke(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Mi).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Vu = ke(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Wl).getRegex(), Gn = "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", ki = /<!--(?:-?>|[\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", ki).replace("tag", Gn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), $l = ke(Ri).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", Gn).getRegex(), Hu = ke(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", $l).getRegex(), Si = {
|
|
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", Gn).getRegex(), Yu = {
|
|
641
|
+
...Si,
|
|
642
642
|
table: os,
|
|
643
|
-
paragraph: ke(
|
|
643
|
+
paragraph: ke(Ri).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", Gn).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
|
+
...Si,
|
|
646
|
+
html: ke(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", ki).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(Ri).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(ki).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", Mi).getRegex(), no = ke(/^!?\[(ref)\](?:\[\])?/).replace("ref", Mi).getRegex(), tc = ke("reflink|nolink(?!\\()", "g").replace("reflink", ao).replace("nolink", no).getRegex(), Ti = {
|
|
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
|
+
...Ti,
|
|
677
677
|
link: ke(/^!?\[(label)\]\((.*?)\)/).replace("label", In).getRegex(),
|
|
678
678
|
reflink: ke(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", In).getRegex()
|
|
679
|
-
},
|
|
680
|
-
...
|
|
679
|
+
}, gi = {
|
|
680
|
+
...Ti,
|
|
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
|
+
...gi,
|
|
688
688
|
br: ke(to).replace("{2,}", "*").getRegex(),
|
|
689
|
-
text: ke(
|
|
689
|
+
text: ke(gi.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
690
690
|
}, bn = {
|
|
691
|
-
normal:
|
|
691
|
+
normal: Si,
|
|
692
692
|
gfm: Yu,
|
|
693
693
|
pedantic: Fu
|
|
694
694
|
}, Ja = {
|
|
695
|
-
normal:
|
|
696
|
-
gfm:
|
|
695
|
+
normal: Ti,
|
|
696
|
+
gfm: gi,
|
|
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 xi {
|
|
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 xi();
|
|
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", Oi());
|
|
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", xi);
|
|
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 = Oi;
|
|
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 = xi;
|
|
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 } = Pn(), 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 mi = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(mi || {});
|
|
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 Pi(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, Zn = 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 || Zn && Zn.binding && Zn.binding("util");
|
|
2934
2934
|
} catch {
|
|
2935
2935
|
}
|
|
2936
|
-
}(), gs = Pa && Pa.isTypedArray, AA = gs ?
|
|
2936
|
+
}(), gs = Pa && Pa.isTypedArray, AA = gs ? Pi(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 Ui(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 (!Ui(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 Ln(e) {
|
|
2978
2978
|
return e != null && go(e.length) && !Te(e);
|
|
2979
2979
|
}
|
|
2980
|
-
function
|
|
2981
|
-
return
|
|
2980
|
+
function Vn(e) {
|
|
2981
|
+
return Ln(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, Vn);
|
|
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 (!Ln(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 Di(e) {
|
|
2999
2999
|
return e;
|
|
3000
3000
|
}
|
|
3001
3001
|
function MA(e) {
|
|
3002
|
-
return typeof e == "function" ? e :
|
|
3002
|
+
return typeof e == "function" ? e : Di;
|
|
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 jn(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 || jn(e) ? !0 : TA.test(e) || !SA.test(e) || t != null && e in Object(t);
|
|
3018
3018
|
}
|
|
3019
|
-
var
|
|
3020
|
-
var e = /[^.]+$/.exec(
|
|
3019
|
+
var Wn = Ct["__core-js_shared__"], ms = function() {
|
|
3020
|
+
var e = /[^.]+$/.exec(Wn && Wn.keys && Wn.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 Hn(e, t) {
|
|
3099
3099
|
return e === t || e !== e && t !== t;
|
|
3100
3100
|
}
|
|
3101
|
-
function
|
|
3101
|
+
function Yn(e, t) {
|
|
3102
3102
|
for (var a = e.length; a--; )
|
|
3103
|
-
if (
|
|
3103
|
+
if (Hn(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 = Yn(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 = Yn(t, e);
|
|
3117
3117
|
return a < 0 ? void 0 : t[a][1];
|
|
3118
3118
|
}
|
|
3119
3119
|
function og(e) {
|
|
3120
|
-
return
|
|
3120
|
+
return Yn(this.__data__, e) > -1;
|
|
3121
3121
|
}
|
|
3122
3122
|
function rg(e, t) {
|
|
3123
|
-
var a = this.__data__, n =
|
|
3123
|
+
var a = this.__data__, n = Yn(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 Fn(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 = Fn(this, e).delete(e);
|
|
3156
3156
|
return this.size -= t ? 1 : 0, t;
|
|
3157
3157
|
}
|
|
3158
3158
|
function pg(e) {
|
|
3159
|
-
return
|
|
3159
|
+
return Fn(this, e).get(e);
|
|
3160
3160
|
}
|
|
3161
3161
|
function Ag(e) {
|
|
3162
|
-
return
|
|
3162
|
+
return Fn(this, e).has(e);
|
|
3163
3163
|
}
|
|
3164
3164
|
function gg(e, t) {
|
|
3165
|
-
var a =
|
|
3165
|
+
var a = Fn(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 Gi(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 Li(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 (Gi.Cache || jt)(), a;
|
|
3192
3192
|
}
|
|
3193
|
-
|
|
3193
|
+
Gi.Cache = jt;
|
|
3194
3194
|
var fg = 500;
|
|
3195
3195
|
function hg(e) {
|
|
3196
|
-
var t =
|
|
3196
|
+
var t = Gi(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 (jn(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" || jn(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", Li = "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) && Hn(n, a)) || a === void 0 && !(t in e)) && yo(e, t, a);
|
|
3302
3302
|
}
|
|
3303
|
-
function
|
|
3303
|
+
function Nn(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 Kn(e, t, a, n) {
|
|
|
3310
3310
|
return a;
|
|
3311
3311
|
}
|
|
3312
3312
|
function Gg(e, t) {
|
|
3313
|
-
return e &&
|
|
3313
|
+
return e && Nn(t, Vn(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 = Ui(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 Kn(e) {
|
|
3332
|
+
return Ln(e) ? fo(e, !0) : Hg(e);
|
|
3333
3333
|
}
|
|
3334
3334
|
function Yg(e, t) {
|
|
3335
|
-
return e &&
|
|
3335
|
+
return e && Nn(t, Kn(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, Vi = 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 Nn(e, Vi(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, Vi(e)), e = Bo(e);
|
|
3376
3376
|
return t;
|
|
3377
3377
|
} : Co;
|
|
3378
3378
|
function Zg(e, t) {
|
|
3379
|
-
return
|
|
3379
|
+
return Nn(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, Vn, Vi);
|
|
3387
3387
|
}
|
|
3388
3388
|
function _g(e) {
|
|
3389
|
-
return Ro(e,
|
|
3389
|
+
return Ro(e, Kn, Oo);
|
|
3390
3390
|
}
|
|
3391
|
-
var
|
|
3392
|
-
(
|
|
3391
|
+
var fi = ba(Ct, "DataView"), hi = ba(Ct, "Promise"), Sa = ba(Ct, "Set"), vi = ba(Ct, "WeakMap"), Es = "[object Map]", $g = "[object Object]", Cs = "[object Promise]", Is = "[object Set]", Bs = "[object WeakMap]", Os = "[object DataView]", em = va(fi), tm = va(on), am = va(hi), nm = va(Sa), im = va(vi), Pt = Zt;
|
|
3392
|
+
(fi && Pt(new fi(new ArrayBuffer(1))) != Os || on && Pt(new on()) != Es || hi && Pt(hi.resolve()) != Cs || Sa && Pt(new Sa()) != Is || vi && Pt(new vi()) != 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 ji(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 ? ji(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 ? ji(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 ji(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" && !Ui(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 ? Pi(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 ? Pi(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 ? Kn : Vn, 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 Hi = (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 bi(e) {
|
|
3592
3592
|
if (typeof e == "number")
|
|
3593
3593
|
return e;
|
|
3594
|
-
if (
|
|
3594
|
+
if (jn(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 = bi(t) || 0, vt(a) && (g = !!a.leading, A = "maxWait" in a, i = A ? Of(bi(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
|
+
} : Di, 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, Di), 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" ? Ln(a) && Ao(t, a.length) : n == "string" && t in a) ? Hn(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 = Kn(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 || Hn(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 = bi(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 $n(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: $n,
|
|
4422
|
+
updated: $n,
|
|
4423
|
+
componentUpdated: $n
|
|
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 Hi(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, ei = 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 < ei; ) {
|
|
4771
4771
|
const n = await this[Nt].getAll(this.entity, {
|
|
4772
|
-
size:
|
|
4772
|
+
size: ei,
|
|
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, ei);
|
|
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 Hi(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 Hi(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 } = Pn(), 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(Li), {
|
|
6918
6918
|
debouncedQueryChange: c,
|
|
6919
6919
|
loading: d,
|
|
6920
6920
|
error: g,
|
|
6921
6921
|
loadItems: A,
|
|
6922
6922
|
results: p
|
|
6923
|
-
} =
|
|
6923
|
+
} = pi(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" })), yi = [
|
|
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(Li), { 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
|
+
}, zn = {
|
|
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
|
+
...zn,
|
|
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
|
+
...zn,
|
|
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
|
+
...zn,
|
|
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
|
+
...zn,
|
|
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 } = Pn(), { 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 (!yi.includes(y.model))
|
|
10958
10958
|
return;
|
|
10959
10959
|
const B = E(y);
|
|
10960
|
-
|
|
10960
|
+
yi.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
|
+
}, ti = "/v2/control-planes/{controlPlaneId}/core-entities", al = "/v2/control-planes/{controlPlaneId}/config-stores", ai = "/{workspace}", nl = {
|
|
11473
11473
|
list: {
|
|
11474
11474
|
konnect: {
|
|
11475
|
-
getAll: `${
|
|
11475
|
+
getAll: `${ti}/vaults`,
|
|
11476
11476
|
deleteConfigStore: `${al}/{id}?force=true`
|
|
11477
11477
|
},
|
|
11478
11478
|
kongManager: {
|
|
11479
|
-
getAll: `${
|
|
11479
|
+
getAll: `${ai}/vaults`
|
|
11480
11480
|
}
|
|
11481
11481
|
},
|
|
11482
11482
|
form: {
|
|
11483
11483
|
konnect: {
|
|
11484
|
-
create: `${
|
|
11484
|
+
create: `${ti}/vaults`,
|
|
11485
11485
|
createConfigStore: al,
|
|
11486
|
-
edit: `${
|
|
11486
|
+
edit: `${ti}/vaults/{id}`
|
|
11487
11487
|
},
|
|
11488
11488
|
kongManager: {
|
|
11489
|
-
create: `${
|
|
11490
|
-
edit: `${
|
|
11489
|
+
create: `${ai}/vaults`,
|
|
11490
|
+
edit: `${ai}/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
|
+
}), ni = /* @__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
|
+
} = pi(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
|
+
} = pi(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 Yi(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 (Yi(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 ii = Tt["__core-js_shared__"], rl = function() {
|
|
11900
|
+
var e = /[^.]+$/.exec(ii && ii.keys && ii.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 wi = 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 Fi(e) {
|
|
12002
12002
|
return e != null && Ar(e.length) && !ur(e);
|
|
12003
12003
|
}
|
|
12004
12004
|
var XE = Object.prototype;
|
|
12005
|
-
function
|
|
12005
|
+
function Qn(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, Ni = 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 Ki(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, si = 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 || si && si.binding && si.binding("util");
|
|
12041
12041
|
} catch {
|
|
12042
12042
|
}
|
|
12043
|
-
}(), gl = Ua && Ua.isTypedArray, vr = gl ?
|
|
12043
|
+
}(), gl = Ua && Ua.isTypedArray, vr = gl ? Ki(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 && Ni(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 (!Qn(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 zi(e) {
|
|
12069
|
+
return Fi(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 = Qn(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 Fi(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 || Yi(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 Xn(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 Jn(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 = Xn(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 = Xn(t, e);
|
|
12155
12155
|
return a < 0 ? void 0 : t[a][1];
|
|
12156
12156
|
}
|
|
12157
12157
|
function aI(e) {
|
|
12158
|
-
return
|
|
12158
|
+
return Xn(this.__data__, e) > -1;
|
|
12159
12159
|
}
|
|
12160
12160
|
function nI(e, t) {
|
|
12161
|
-
var a = this.__data__, n =
|
|
12161
|
+
var a = this.__data__, n = Xn(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 Jn(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 = Jn(this, e).delete(e);
|
|
12194
12194
|
return this.size -= t ? 1 : 0, t;
|
|
12195
12195
|
}
|
|
12196
12196
|
function oI(e) {
|
|
12197
|
-
return
|
|
12197
|
+
return Jn(this, e).get(e);
|
|
12198
12198
|
}
|
|
12199
12199
|
function rI(e) {
|
|
12200
|
-
return
|
|
12200
|
+
return Jn(this, e).has(e);
|
|
12201
12201
|
}
|
|
12202
12202
|
function uI(e, t) {
|
|
12203
|
-
var a =
|
|
12203
|
+
var a = Jn(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 Qi(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 Xi(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 (Qi.Cache || $t)(), a;
|
|
12230
12230
|
}
|
|
12231
|
-
|
|
12231
|
+
Qi.Cache = $t;
|
|
12232
12232
|
var dI = 500;
|
|
12233
12233
|
function pI(e) {
|
|
12234
|
-
var t =
|
|
12234
|
+
var t = Qi(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" || Yi(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, zi(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, Xi = 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, Xi(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, Xi(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, zi, Xi);
|
|
12355
12355
|
}
|
|
12356
12356
|
function GI(e) {
|
|
12357
|
-
return Sr(e,
|
|
12357
|
+
return Sr(e, qi, kr);
|
|
12358
12358
|
}
|
|
12359
|
-
var
|
|
12360
|
-
(
|
|
12359
|
+
var Ei = Ea(Tt, "DataView"), Ci = Ea(Tt, "Promise"), Ii = Ea(Tt, "Set"), bl = "[object Map]", LI = "[object Object]", yl = "[object Promise]", wl = "[object Set]", El = "[object WeakMap]", Cl = "[object DataView]", VI = wa(Ei), jI = wa(dn), HI = wa(Ci), YI = wa(Ii), FI = wa(wi), Ot = Va;
|
|
12360
|
+
(Ei && Ot(new Ei(new ArrayBuffer(1))) != Cl || dn && Ot(new dn()) != bl || Ci && Ot(Ci.resolve()) != yl || Ii && Ot(new Ii()) != wl || wi && Ot(new wi()) != 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 Ji(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 ? Ji(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 ? Ji(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 Ji(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" && !Qn(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 ? Ki(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 ? Ki(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 (Ni(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 : zi, 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 (Fi(e) && (ya(e) || typeof e == "string" || typeof e.splice == "function" || Ni(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 (Qn(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 Zi(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 Bi(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 = Bi(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 = Bi(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 ? Bi(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"
|
|
12623
|
+
}, pO = { class: "ff-array-field-item-content" }, AO = ["data-index"], 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
|
+
a5788892: 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 Zi("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,7 +12713,6 @@ 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`,
|
|
12717
12716
|
icon: "",
|
|
12718
12717
|
onClick: p
|
|
12719
12718
|
}, {
|
|
@@ -12721,15 +12720,14 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12721
12720
|
v(r(ga))
|
|
12722
12721
|
]),
|
|
12723
12722
|
_: 1
|
|
12724
|
-
}
|
|
12723
|
+
})
|
|
12725
12724
|
]),
|
|
12726
12725
|
i.value.length ? (m(), x(he, { key: 0 }, [
|
|
12727
12726
|
O.appearance !== "tabs" ? (m(), x("div", dO, [
|
|
12728
12727
|
(m(!0), x(he, null, Ie(i.value, (R, V) => (m(), D(r(l), {
|
|
12729
12728
|
key: c(R, V),
|
|
12730
12729
|
class: "ff-array-field-item",
|
|
12731
|
-
"data-index": V
|
|
12732
|
-
"data-testid": `ff-array-field-item-${V}`
|
|
12730
|
+
"data-index": V
|
|
12733
12731
|
}, {
|
|
12734
12732
|
default: w(() => [
|
|
12735
12733
|
I("div", pO, [
|
|
@@ -12751,7 +12749,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12751
12749
|
}, 1032, ["onClick"])
|
|
12752
12750
|
]),
|
|
12753
12751
|
_: 2
|
|
12754
|
-
}, 1032, ["data-index"
|
|
12752
|
+
}, 1032, ["data-index"]))), 128))
|
|
12755
12753
|
])) : (m(), D(r(es), { key: 1 }, {
|
|
12756
12754
|
default: w(() => [
|
|
12757
12755
|
v(C, {
|
|
@@ -12764,8 +12762,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12764
12762
|
fn: w(() => [
|
|
12765
12763
|
I("div", {
|
|
12766
12764
|
class: "ff-array-field-item",
|
|
12767
|
-
"data-index": V
|
|
12768
|
-
"data-testid": `ff-array-field-item-${V}`
|
|
12765
|
+
"data-index": V
|
|
12769
12766
|
}, [
|
|
12770
12767
|
gt(O.$slots, "item", {
|
|
12771
12768
|
index: V,
|
|
@@ -12799,7 +12796,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12799
12796
|
], 2);
|
|
12800
12797
|
};
|
|
12801
12798
|
}
|
|
12802
|
-
}),
|
|
12799
|
+
}), xn = /* @__PURE__ */ Qe(gO, [["__scopeId", "data-v-67fc9eb7"]]), mO = { class: "ff-kv-field-header" }, fO = ["innerHTML"], hO = /* @__PURE__ */ pe({
|
|
12803
12800
|
__name: "KeyValueField",
|
|
12804
12801
|
props: {
|
|
12805
12802
|
initialValue: {},
|
|
@@ -12816,7 +12813,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
12816
12813
|
setup(e, { expose: t, emit: a }) {
|
|
12817
12814
|
const n = e, s = a, i = Q(o(n.initialValue || {}));
|
|
12818
12815
|
function l() {
|
|
12819
|
-
return
|
|
12816
|
+
return Zi("ff-kv-field-");
|
|
12820
12817
|
}
|
|
12821
12818
|
function o(O) {
|
|
12822
12819
|
return Object.entries(O).map(([b, T]) => ({
|
|
@@ -13023,7 +13020,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13023
13020
|
class: "ff-object-field-content"
|
|
13024
13021
|
}, IO = /* @__PURE__ */ pe({
|
|
13025
13022
|
__name: "ObjectField",
|
|
13026
|
-
props: /* @__PURE__ */
|
|
13023
|
+
props: /* @__PURE__ */ ui({
|
|
13027
13024
|
label: {},
|
|
13028
13025
|
labelAttributes: {},
|
|
13029
13026
|
required: { type: Boolean },
|
|
@@ -13039,7 +13036,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13039
13036
|
}),
|
|
13040
13037
|
emits: ["update:added", "update:expanded"],
|
|
13041
13038
|
setup(e) {
|
|
13042
|
-
const t =
|
|
13039
|
+
const t = ci(e, "added"), a = L(() => e.required ? !0 : t.value ?? e.defaultAdded), n = ci(e, "expanded"), s = L(() => a.value && (e.collapsible ? n.value ?? e.defaultExpanded : !1));
|
|
13043
13040
|
return We(a, (i) => {
|
|
13044
13041
|
e.collapsible && (n.value = i);
|
|
13045
13042
|
}), (i, l) => {
|
|
@@ -13281,7 +13278,6 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13281
13278
|
}, {
|
|
13282
13279
|
default: w(() => [
|
|
13283
13280
|
v(ze, {
|
|
13284
|
-
"data-testid": `callouts-request-url-${S.calloutIndex}`,
|
|
13285
13281
|
label: "Request › URL",
|
|
13286
13282
|
"label-attributes": r(i)("callouts.*.request.url"),
|
|
13287
13283
|
"model-value": d.value.url,
|
|
@@ -13289,17 +13285,16 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13289
13285
|
required: "",
|
|
13290
13286
|
"show-vault-secret-picker": "",
|
|
13291
13287
|
"onUpdate:modelValue": f[0] || (f[0] = (E) => d.value.url = (E ?? "").trim())
|
|
13292
|
-
}, null, 8, ["
|
|
13288
|
+
}, null, 8, ["label-attributes", "model-value", "placeholder"]),
|
|
13293
13289
|
v(pn, {
|
|
13294
13290
|
modelValue: d.value.method,
|
|
13295
13291
|
"onUpdate:modelValue": f[1] || (f[1] = (E) => d.value.method = E),
|
|
13296
|
-
"data-testid": `callouts-request-method-${S.calloutIndex}`,
|
|
13297
13292
|
items: r(a),
|
|
13298
13293
|
label: "Request › Method",
|
|
13299
13294
|
"label-attributes": r(i)("callouts.*.request.method"),
|
|
13300
13295
|
placeholder: r(c)("callouts.*.request.method"),
|
|
13301
13296
|
required: ""
|
|
13302
|
-
}, null, 8, ["modelValue", "
|
|
13297
|
+
}, null, 8, ["modelValue", "items", "label-attributes", "placeholder"]),
|
|
13303
13298
|
v(Ze, {
|
|
13304
13299
|
label: "Request › Headers",
|
|
13305
13300
|
"label-attributes": r(i)("callouts.*.request.headers"),
|
|
@@ -13504,7 +13499,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13504
13499
|
min: "0",
|
|
13505
13500
|
placeholder: r(c)("callouts.*.request.error.retries")
|
|
13506
13501
|
}, null, 8, ["modelValue", "label-attributes", "placeholder"]),
|
|
13507
|
-
v(
|
|
13502
|
+
v(xn, {
|
|
13508
13503
|
items: d.value.error.http_statuses,
|
|
13509
13504
|
label: "Request › Error › HTTP Statuses",
|
|
13510
13505
|
"label-attributes": r(i)("callouts.*.request.error.http_statuses"),
|
|
@@ -13641,14 +13636,13 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13641
13636
|
v(ze, {
|
|
13642
13637
|
"data-1p-ignore": "",
|
|
13643
13638
|
"data-autofocus": "",
|
|
13644
|
-
"data-testid": `callouts-name-${c.index}`,
|
|
13645
13639
|
label: "Name",
|
|
13646
13640
|
"label-attributes": r(n)("callouts.*.name"),
|
|
13647
13641
|
"model-value": o.value.name,
|
|
13648
13642
|
placeholder: r(s)("callouts.*.name"),
|
|
13649
13643
|
required: "",
|
|
13650
13644
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => o.value.name = (g ?? "").trim())
|
|
13651
|
-
}, null, 8, ["
|
|
13645
|
+
}, null, 8, ["label-attributes", "model-value", "placeholder"]),
|
|
13652
13646
|
v(pn, {
|
|
13653
13647
|
items: l.value,
|
|
13654
13648
|
label: "Depends On",
|
|
@@ -13679,7 +13673,7 @@ const uO = { class: "ff-array-field-header" }, cO = ["innerHTML"], dO = {
|
|
|
13679
13673
|
}
|
|
13680
13674
|
}), GO = "__request_callout_";
|
|
13681
13675
|
function Lr() {
|
|
13682
|
-
return
|
|
13676
|
+
return Zi(GO);
|
|
13683
13677
|
}
|
|
13684
13678
|
const LO = /* @__PURE__ */ pe({
|
|
13685
13679
|
__name: "CalloutsForm",
|
|
@@ -13696,7 +13690,7 @@ const LO = /* @__PURE__ */ pe({
|
|
|
13696
13690
|
function i(l) {
|
|
13697
13691
|
t.callouts.splice(l, 1);
|
|
13698
13692
|
}
|
|
13699
|
-
return (l, o) => (m(), D(
|
|
13693
|
+
return (l, o) => (m(), D(xn, {
|
|
13700
13694
|
appearance: "tabs",
|
|
13701
13695
|
"item-label": (c) => c.name || "New callout",
|
|
13702
13696
|
"item-label-field": "name",
|
|
@@ -13902,7 +13896,7 @@ const LO = /* @__PURE__ */ pe({
|
|
|
13902
13896
|
"label-attributes": r(a)("cache.redis.sentinel_role"),
|
|
13903
13897
|
placeholder: r(i)("cache.redis.sentinel_role")
|
|
13904
13898
|
}, null, 8, ["modelValue", "items", "label-attributes", "placeholder"]),
|
|
13905
|
-
v(
|
|
13899
|
+
v(xn, {
|
|
13906
13900
|
appearance: "card",
|
|
13907
13901
|
items: l.value.sentinel_nodes,
|
|
13908
13902
|
label: "Cache › Redis › Sentinel Nodes",
|
|
@@ -13952,7 +13946,7 @@ const LO = /* @__PURE__ */ pe({
|
|
|
13952
13946
|
"show-vault-secret-picker": "",
|
|
13953
13947
|
type: "password"
|
|
13954
13948
|
}, null, 8, ["modelValue", "label-attributes", "placeholder"]),
|
|
13955
|
-
v(
|
|
13949
|
+
v(xn, {
|
|
13956
13950
|
appearance: "card",
|
|
13957
13951
|
items: l.value.cluster_nodes,
|
|
13958
13952
|
label: "Cache › Redis › Cluster Nodes",
|
|
@@ -14313,7 +14307,7 @@ const ZO = pe({
|
|
|
14313
14307
|
credential: n.credential,
|
|
14314
14308
|
enableRedisPartial: n.enableRedisPartial,
|
|
14315
14309
|
experimentalRenders: n.config.app === "konnect" ? n.config.experimentalRenders : void 0
|
|
14316
|
-
}), { convertToDotNotation: o, unFlattenObject: c, dismissField: d, isObjectEmpty: g, unsetNullForeignKey: A } = Ye.usePluginHelpers(), { objectsAreEqual: p } =
|
|
14310
|
+
}), { convertToDotNotation: o, unFlattenObject: c, dismissField: d, isObjectEmpty: g, unsetNullForeignKey: A } = Ye.usePluginHelpers(), { objectsAreEqual: p } = Un(), { i18n: { t: h } } = fa(), S = (Z, $) => {
|
|
14317
14311
|
let ee = `${n.config.apiBaseUrl}${qe.form[n.config.app].entityGetOne}`;
|
|
14318
14312
|
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;
|
|
14319
14313
|
}, f = (Z) => {
|
|
@@ -14336,7 +14330,7 @@ const ZO = pe({
|
|
|
14336
14330
|
return ve;
|
|
14337
14331
|
}) : s.get(ee, { params: $ });
|
|
14338
14332
|
}
|
|
14339
|
-
}), kt(
|
|
14333
|
+
}), kt(Li, n.config);
|
|
14340
14334
|
const O = Q(""), b = Q(""), T = Q(null), y = Q({}), C = la({}), B = la({}), R = L(() => {
|
|
14341
14335
|
var Z;
|
|
14342
14336
|
return (Z = T.value) == null ? void 0 : Z.options;
|
|
@@ -14351,7 +14345,7 @@ const ZO = pe({
|
|
|
14351
14345
|
if (!g(y.value))
|
|
14352
14346
|
for (let Ve = 0; Ve < ((ut = (et = y.value) == null ? void 0 : et.fields) == null ? void 0 : ut.length); Ve++)
|
|
14353
14347
|
Z[y.value.fields[Ve].model] = y.value.fields[Ve];
|
|
14354
|
-
|
|
14348
|
+
yi.forEach((Ve) => {
|
|
14355
14349
|
Z[Ve] && (Z[Ve].fields.forEach((Ee) => {
|
|
14356
14350
|
Ee.fields && Ee.fields.forEach((de) => {
|
|
14357
14351
|
Z[de.model] = de;
|
|
@@ -14545,7 +14539,7 @@ const ZO = pe({
|
|
|
14545
14539
|
e.enableVaultSecretPicker ? {
|
|
14546
14540
|
name: r(Mt),
|
|
14547
14541
|
fn: w((ue) => [
|
|
14548
|
-
ue.schema.referenceable ? (m(), D(r(
|
|
14542
|
+
ue.schema.referenceable ? (m(), D(r(ni), _e({ key: 0 }, ue, { onOpen: H }), null, 16)) : _("", !0)
|
|
14549
14543
|
]),
|
|
14550
14544
|
key: "0"
|
|
14551
14545
|
} : void 0
|
|
@@ -14563,7 +14557,7 @@ const ZO = pe({
|
|
|
14563
14557
|
e.enableVaultSecretPicker ? {
|
|
14564
14558
|
name: r(Mt),
|
|
14565
14559
|
fn: w((ue) => [
|
|
14566
|
-
ue.schema.referenceable ? (m(), D(r(
|
|
14560
|
+
ue.schema.referenceable ? (m(), D(r(ni), _e({ key: 0 }, ue, { onOpen: H }), null, 16)) : _("", !0)
|
|
14567
14561
|
]),
|
|
14568
14562
|
key: "0"
|
|
14569
14563
|
} : void 0
|
|
@@ -14596,7 +14590,7 @@ const ZO = pe({
|
|
|
14596
14590
|
e.enableVaultSecretPicker ? {
|
|
14597
14591
|
name: r(Mt),
|
|
14598
14592
|
fn: w((ue) => [
|
|
14599
|
-
ue.schema.referenceable ? (m(), D(r(
|
|
14593
|
+
ue.schema.referenceable ? (m(), D(r(ni), _e({ key: 0 }, ue, { onOpen: H }), null, 16)) : _("", !0)
|
|
14600
14594
|
]),
|
|
14601
14595
|
key: "1"
|
|
14602
14596
|
} : void 0
|
|
@@ -14621,7 +14615,7 @@ const ZO = pe({
|
|
|
14621
14615
|
}
|
|
14622
14616
|
},
|
|
14623
14617
|
setup(e) {
|
|
14624
|
-
return (t, a) => e.teleportTarget ? (m(), D(
|
|
14618
|
+
return (t, a) => e.teleportTarget ? (m(), D(di, {
|
|
14625
14619
|
key: 0,
|
|
14626
14620
|
to: e.teleportTarget
|
|
14627
14621
|
}, [
|
|
@@ -14722,11 +14716,11 @@ const ZO = pe({
|
|
|
14722
14716
|
emits: ["cancel", "error:fetch-schema", "error", "loading", "update", "model-updated", "showNewPartialModal"],
|
|
14723
14717
|
setup(e, { emit: t }) {
|
|
14724
14718
|
var xt;
|
|
14725
|
-
const a = t, n = e, s =
|
|
14719
|
+
const a = t, n = e, s = Dn(), { i18n: { t: i } } = Ye.useI18n(), { customSchemas: l, typedefs: o } = Ye.useSchemas({
|
|
14726
14720
|
app: n.config.app,
|
|
14727
14721
|
credential: n.credential,
|
|
14728
14722
|
experimentalRenders: n.config.app === "konnect" ? n.config.experimentalRenders : void 0
|
|
14729
|
-
}), { formatPluginFieldLabel: c } = Ye.usePluginHelpers(), { getMessageFromError: d } = gn(), { capitalize: g } =
|
|
14723
|
+
}), { formatPluginFieldLabel: c } = Ye.usePluginHelpers(), { getMessageFromError: d } = gn(), { capitalize: g } = Pn(), { objectsAreEqual: A } = Un(), { 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({
|
|
14730
14724
|
enabled: !0,
|
|
14731
14725
|
protocols: [],
|
|
14732
14726
|
tags: []
|
|
@@ -15176,7 +15170,7 @@ const ZO = pe({
|
|
|
15176
15170
|
k.value = se("", W, {}), Ee.value = !1;
|
|
15177
15171
|
else {
|
|
15178
15172
|
const ye = W.fields.find((re) => re.config);
|
|
15179
|
-
T.value = ye ? ye.config : W, W.supported_partials && (y.value = Object.keys(W.supported_partials).find((re) => [
|
|
15173
|
+
T.value = ye ? ye.config : W, W.supported_partials && (y.value = Object.keys(W.supported_partials).find((re) => [mi.REDIS_CE, mi.REDIS_EE].includes(re)), C.value = (G = W.supported_partials[y.value]) == null ? void 0 : G[0]), ge();
|
|
15180
15174
|
const fe = (M = W.fields.find((re) => re.protocols)) == null ? void 0 : M.protocols;
|
|
15181
15175
|
if (fe) {
|
|
15182
15176
|
const { default: re = [], elements: we = {} } = fe;
|
|
@@ -15216,7 +15210,7 @@ const ZO = pe({
|
|
|
15216
15210
|
"can-submit": j.value,
|
|
15217
15211
|
config: e.config,
|
|
15218
15212
|
"edit-id": e.pluginId,
|
|
15219
|
-
"entity-type": r(
|
|
15213
|
+
"entity-type": r(Ai).Plugin,
|
|
15220
15214
|
"error-message": V.errorMessage,
|
|
15221
15215
|
"fetch-url": te.value,
|
|
15222
15216
|
"form-fields": mt.value,
|
|
@@ -15327,7 +15321,7 @@ const ZO = pe({
|
|
|
15327
15321
|
v(r(nu), {
|
|
15328
15322
|
"credential-type": Ve.value,
|
|
15329
15323
|
"entity-record": mt.value,
|
|
15330
|
-
"entity-type": r(
|
|
15324
|
+
"entity-type": r(Ai).Plugin
|
|
15331
15325
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
15332
15326
|
]),
|
|
15333
15327
|
_: 1
|
|
@@ -15461,7 +15455,7 @@ const ZO = pe({
|
|
|
15461
15455
|
emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
|
|
15462
15456
|
setup(e, { emit: t }) {
|
|
15463
15457
|
var xt, X;
|
|
15464
|
-
const a = Ye.usePluginMetaData(), n = t, s = e, { i18n: { t: i } } = Ye.useI18n(), l =
|
|
15458
|
+
const a = Ye.usePluginMetaData(), n = t, s = e, { i18n: { t: i } } = Ye.useI18n(), l = Dn(), { 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(() => {
|
|
15465
15459
|
var G;
|
|
15466
15460
|
return ((G = s.config) == null ? void 0 : G.entityType) === "consumers";
|
|
15467
15461
|
}), S = L(() => {
|
|
@@ -15666,7 +15660,7 @@ const ZO = pe({
|
|
|
15666
15660
|
}, null, 8, ["modelValue", "config"])
|
|
15667
15661
|
]),
|
|
15668
15662
|
"toolbar-button": w(() => [
|
|
15669
|
-
(m(), D(
|
|
15663
|
+
(m(), D(di, {
|
|
15670
15664
|
disabled: !e.useActionOutside,
|
|
15671
15665
|
to: "#kong-ui-app-page-header-action-button"
|
|
15672
15666
|
}, [
|
|
@@ -15870,7 +15864,7 @@ const ZO = pe({
|
|
|
15870
15864
|
!r(c) && A.value ? {
|
|
15871
15865
|
name: "outside-actions",
|
|
15872
15866
|
fn: w(() => [
|
|
15873
|
-
(m(), D(
|
|
15867
|
+
(m(), D(di, {
|
|
15874
15868
|
disabled: !e.useActionOutside,
|
|
15875
15869
|
to: "#kong-ui-app-page-header-action-button"
|
|
15876
15870
|
}, [
|
|
@@ -15993,7 +15987,7 @@ const ZO = pe({
|
|
|
15993
15987
|
},
|
|
15994
15988
|
emits: ["plugin-clicked", "custom-plugin-delete"],
|
|
15995
15989
|
setup(e, { emit: t }) {
|
|
15996
|
-
const a = t, n = e, s =
|
|
15990
|
+
const a = t, n = e, s = Dn(), { 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 = () => {
|
|
15997
15991
|
s.push(n.config.getCreateRoute(n.plugin.id));
|
|
15998
15992
|
}, g = () => {
|
|
15999
15993
|
n.navigateOnClick ? d() : A();
|
|
@@ -16205,7 +16199,7 @@ const ZO = pe({
|
|
|
16205
16199
|
}, 8, ["action-button-disabled", "title"])) : _("", !0);
|
|
16206
16200
|
};
|
|
16207
16201
|
}
|
|
16208
|
-
}), SR = /* @__PURE__ */ Qe(kR, [["__scopeId", "data-v-9e0dee7f"]]), TR = { class: "custom-plugins-grid" }, xR = { class: "empty-state-title" }, PR = { class: "empty-state-description" },
|
|
16202
|
+
}), SR = /* @__PURE__ */ Qe(kR, [["__scopeId", "data-v-9e0dee7f"]]), TR = { class: "custom-plugins-grid" }, xR = { class: "empty-state-title" }, PR = { class: "empty-state-description" }, li = 310, UR = /* @__PURE__ */ pe({
|
|
16209
16203
|
__name: "PluginCustomGrid",
|
|
16210
16204
|
props: {
|
|
16211
16205
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16275,17 +16269,17 @@ const ZO = pe({
|
|
|
16275
16269
|
}, h = (y) => {
|
|
16276
16270
|
var C;
|
|
16277
16271
|
y && (n("revalidate"), n("delete:success", ((C = A.value) == null ? void 0 : C.name) || "")), g.value = !1, A.value = null;
|
|
16278
|
-
}, S = Q(
|
|
16272
|
+
}, S = Q(li), f = Q(null), E = Q(null), k = L(() => o.value ? {
|
|
16279
16273
|
overflowY: "hidden",
|
|
16280
16274
|
maxHeight: `${S.value}px`
|
|
16281
16275
|
} : {}), O = Q(!1), b = () => {
|
|
16282
|
-
S.value = Math.max(i(E.value),
|
|
16276
|
+
S.value = Math.max(i(E.value), li), T();
|
|
16283
16277
|
}, T = () => {
|
|
16284
16278
|
var y, C;
|
|
16285
16279
|
(y = E.value) != null && y.length && (O.value = l(f.value, (C = E.value) == null ? void 0 : C.length));
|
|
16286
16280
|
};
|
|
16287
16281
|
return Da(async () => {
|
|
16288
|
-
await qt(), S.value = Math.max(i(E.value),
|
|
16282
|
+
await qt(), S.value = Math.max(i(E.value), li), T(), window == null || window.addEventListener("resize", b);
|
|
16289
16283
|
}), Fl(() => {
|
|
16290
16284
|
window == null || window.removeEventListener("resize", b);
|
|
16291
16285
|
}), (y, C) => {
|
|
@@ -16355,9 +16349,9 @@ const ZO = pe({
|
|
|
16355
16349
|
]);
|
|
16356
16350
|
};
|
|
16357
16351
|
}
|
|
16358
|
-
}), DR = /* @__PURE__ */ Qe(UR, [["__scopeId", "data-v-9703ee67"]]),
|
|
16352
|
+
}), DR = /* @__PURE__ */ Qe(UR, [["__scopeId", "data-v-9703ee67"]]), oi = 310, GR = /* @__PURE__ */ pe({
|
|
16359
16353
|
__name: "PluginSelectGroup",
|
|
16360
|
-
props: /* @__PURE__ */
|
|
16354
|
+
props: /* @__PURE__ */ ui({
|
|
16361
16355
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
16362
16356
|
config: {
|
|
16363
16357
|
type: Object,
|
|
@@ -16390,19 +16384,19 @@ const ZO = pe({
|
|
|
16390
16384
|
modelValue: { type: Boolean, required: !0 },
|
|
16391
16385
|
modelModifiers: {}
|
|
16392
16386
|
}),
|
|
16393
|
-
emits: /* @__PURE__ */
|
|
16387
|
+
emits: /* @__PURE__ */ ui(["plugin-clicked"], ["update:modelValue"]),
|
|
16394
16388
|
setup(e, { emit: t }) {
|
|
16395
|
-
const a =
|
|
16389
|
+
const a = ci(e, "modelValue"), n = e, s = t, { i18n: { t: i } } = Ye.useI18n(), { getTallestPluginCardHeight: l, getToggleVisibility: o } = Ye.usePluginHelpers(), c = Q(oi), d = Q(null), g = Q(null), A = L(() => a.value ? {
|
|
16396
16390
|
overflowY: "hidden",
|
|
16397
16391
|
maxHeight: `${c.value}px`
|
|
16398
16392
|
} : {}), p = Q(!1), h = () => {
|
|
16399
|
-
c.value = Math.max(l(g.value),
|
|
16393
|
+
c.value = Math.max(l(g.value), oi), S();
|
|
16400
16394
|
}, S = () => {
|
|
16401
16395
|
var f, E;
|
|
16402
16396
|
(f = g.value) != null && f.length && (p.value = o(d.value, (E = g.value) == null ? void 0 : E.length));
|
|
16403
16397
|
};
|
|
16404
16398
|
return Da(async () => {
|
|
16405
|
-
await qt(), c.value = Math.max(l(g.value),
|
|
16399
|
+
await qt(), c.value = Math.max(l(g.value), oi), S(), window == null || window.addEventListener("resize", h);
|
|
16406
16400
|
}), Fl(() => {
|
|
16407
16401
|
window == null || window.removeEventListener("resize", h);
|
|
16408
16402
|
}), (f, E) => {
|
|
@@ -16632,7 +16626,7 @@ const ZO = pe({
|
|
|
16632
16626
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
16633
16627
|
setup(e, { emit: t }) {
|
|
16634
16628
|
var ge;
|
|
16635
|
-
const a = e, n = t, s = fu(), i =
|
|
16629
|
+
const a = e, n = t, s = fu(), i = Dn(), { i18n: { t: l } } = Ye.useI18n(), { pluginMetaData: o } = Ye.usePluginMetaData(), { getMessageFromError: c } = gn(), { sortAlpha: d, objectsAreEqual: g } = Un(), 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]) => {
|
|
16636
16630
|
for (const ae of j)
|
|
16637
16631
|
q[ae.id] = ae;
|
|
16638
16632
|
return q;
|
|
@@ -16851,7 +16845,7 @@ const ZO = pe({
|
|
|
16851
16845
|
]);
|
|
16852
16846
|
};
|
|
16853
16847
|
}
|
|
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 },
|
|
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 }, ri = "config", nM = /* @__PURE__ */ pe({
|
|
16855
16849
|
__name: "PluginConfigCard",
|
|
16856
16850
|
props: {
|
|
16857
16851
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16900,7 +16894,7 @@ const ZO = pe({
|
|
|
16900
16894
|
emits: ["loading", "fetch:error", "error:fetch-schema", "fetch:success", "navigation-click"],
|
|
16901
16895
|
setup(e, { emit: t }) {
|
|
16902
16896
|
var O;
|
|
16903
|
-
const a = t, n = e, { i18n: { t: s } } = Ye.useI18n(), i = Ye.usePluginMetaData(), { setFieldType: l } = Ye.usePluginHelpers(), { getPropValue: o } =
|
|
16897
|
+
const a = t, n = e, { i18n: { t: s } } = Ye.useI18n(), i = Ye.usePluginMetaData(), { setFieldType: l } = Ye.usePluginHelpers(), { getPropValue: o } = Un(), c = L(
|
|
16904
16898
|
() => {
|
|
16905
16899
|
var b;
|
|
16906
16900
|
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" : "");
|
|
@@ -16950,9 +16944,9 @@ const ZO = pe({
|
|
|
16950
16944
|
return [];
|
|
16951
16945
|
const b = (y = f.value.fields) == null ? void 0 : y.find((B) => {
|
|
16952
16946
|
var V;
|
|
16953
|
-
return ((V = Object.keys(B)) == null ? void 0 : V[0]) ===
|
|
16947
|
+
return ((V = Object.keys(B)) == null ? void 0 : V[0]) === ri;
|
|
16954
16948
|
});
|
|
16955
|
-
return ((C = b == null ? void 0 : b[
|
|
16949
|
+
return ((C = b == null ? void 0 : b[ri]) == null ? void 0 : C.fields) || [];
|
|
16956
16950
|
}), A = L(() => {
|
|
16957
16951
|
var T, y;
|
|
16958
16952
|
const b = {};
|
|
@@ -17004,10 +16998,10 @@ const ZO = pe({
|
|
|
17004
16998
|
config: e.config,
|
|
17005
16999
|
"config-card-doc": e.configCardDoc,
|
|
17006
17000
|
"config-schema": d.value,
|
|
17007
|
-
"entity-type": r(
|
|
17001
|
+
"entity-type": r(Ai).Plugin,
|
|
17008
17002
|
"fetch-url": c.value,
|
|
17009
17003
|
"hide-title": e.hideTitle,
|
|
17010
|
-
"plugin-config-key":
|
|
17004
|
+
"plugin-config-key": ri,
|
|
17011
17005
|
"plugin-config-schema": A.value,
|
|
17012
17006
|
"onFetch:error": T[0] || (T[0] = (R) => b.$emit("fetch:error", R)),
|
|
17013
17007
|
"onFetch:success": T[1] || (T[1] = (R) => b.$emit("fetch:success", R)),
|
|
@@ -17124,7 +17118,7 @@ export {
|
|
|
17124
17118
|
rp as PluginGroupArray,
|
|
17125
17119
|
Wi as PluginIcon,
|
|
17126
17120
|
pM as PluginList,
|
|
17127
|
-
|
|
17121
|
+
mi as PluginPartialType,
|
|
17128
17122
|
u as PluginScope,
|
|
17129
17123
|
AM as PluginSelect,
|
|
17130
17124
|
jr as PluginSelectCard,
|