@n8n/design-system 2.12.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +8 -8
- package/dist/design-system.css +1 -1
- package/dist/n8n-design-system.es.js +686 -548
- package/dist/n8n-design-system.umd.js +37 -37
- package/package.json +1 -1
- package/scripts/migrate-button-v2.mjs +0 -418
|
@@ -27106,26 +27106,26 @@ var _hoisted_1$59 = [
|
|
|
27106
27106
|
], 16));
|
|
27107
27107
|
}
|
|
27108
27108
|
}), [["__cssModules", { $style: {
|
|
27109
|
-
inputContainer: "
|
|
27110
|
-
xlarge: "
|
|
27111
|
-
large: "
|
|
27112
|
-
medium: "
|
|
27113
|
-
small: "
|
|
27114
|
-
mini: "
|
|
27115
|
-
inputWrapper: "
|
|
27116
|
-
disabled: "
|
|
27117
|
-
isTextarea: "
|
|
27118
|
-
readonly: "
|
|
27119
|
-
hasPrepend: "
|
|
27120
|
-
hasAppend: "
|
|
27121
|
-
input: "
|
|
27122
|
-
textarea: "
|
|
27123
|
-
prefix: "
|
|
27124
|
-
suffix: "
|
|
27125
|
-
clearButton: "
|
|
27126
|
-
prepend: "
|
|
27127
|
-
append: "
|
|
27128
|
-
hiddenTextarea: "
|
|
27109
|
+
inputContainer: "_inputContainer_lgcz5_3",
|
|
27110
|
+
xlarge: "_xlarge_lgcz5_29",
|
|
27111
|
+
large: "_large_lgcz5_34",
|
|
27112
|
+
medium: "_medium_lgcz5_39",
|
|
27113
|
+
small: "_small_lgcz5_44",
|
|
27114
|
+
mini: "_mini_lgcz5_50",
|
|
27115
|
+
inputWrapper: "_inputWrapper_lgcz5_57",
|
|
27116
|
+
disabled: "_disabled_lgcz5_79",
|
|
27117
|
+
isTextarea: "_isTextarea_lgcz5_90",
|
|
27118
|
+
readonly: "_readonly_lgcz5_99",
|
|
27119
|
+
hasPrepend: "_hasPrepend_lgcz5_103",
|
|
27120
|
+
hasAppend: "_hasAppend_lgcz5_108",
|
|
27121
|
+
input: "_input_lgcz5_3",
|
|
27122
|
+
textarea: "_textarea_lgcz5_139",
|
|
27123
|
+
prefix: "_prefix_lgcz5_165",
|
|
27124
|
+
suffix: "_suffix_lgcz5_166",
|
|
27125
|
+
clearButton: "_clearButton_lgcz5_179",
|
|
27126
|
+
prepend: "_prepend_lgcz5_201",
|
|
27127
|
+
append: "_append_lgcz5_202",
|
|
27128
|
+
hiddenTextarea: "_hiddenTextarea_lgcz5_220"
|
|
27129
27129
|
} }]]), _hoisted_1$58 = ["data-feedback-expanded"], MessageRating_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
27130
27130
|
__name: "MessageRating",
|
|
27131
27131
|
props: {
|
|
@@ -34526,16 +34526,16 @@ var MessageWrapper_default = /* @__PURE__ */ defineComponent({
|
|
|
34526
34526
|
})], 2));
|
|
34527
34527
|
}
|
|
34528
34528
|
}), [["__cssModules", { $style: {
|
|
34529
|
-
thinkingContainer: "
|
|
34530
|
-
header: "
|
|
34531
|
-
chevron: "
|
|
34532
|
-
statusText: "
|
|
34533
|
-
shimmer: "
|
|
34534
|
-
itemList: "
|
|
34535
|
-
item: "
|
|
34536
|
-
itemIcon: "
|
|
34537
|
-
itemText: "
|
|
34538
|
-
} }], ["__scopeId", "data-v-
|
|
34529
|
+
thinkingContainer: "_thinkingContainer_k5n65_9",
|
|
34530
|
+
header: "_header_k5n65_13",
|
|
34531
|
+
chevron: "_chevron_k5n65_28",
|
|
34532
|
+
statusText: "_statusText_k5n65_40",
|
|
34533
|
+
shimmer: "_shimmer_k5n65_50",
|
|
34534
|
+
itemList: "_itemList_k5n65_58",
|
|
34535
|
+
item: "_item_k5n65_58",
|
|
34536
|
+
itemIcon: "_itemIcon_k5n65_72",
|
|
34537
|
+
itemText: "_itemText_k5n65_83"
|
|
34538
|
+
} }], ["__scopeId", "data-v-7ed88ffd"]]);
|
|
34539
34539
|
function isTextMessage(e) {
|
|
34540
34540
|
return e.type === "text" && !("aborted" in e);
|
|
34541
34541
|
}
|
|
@@ -34587,222 +34587,7 @@ function useCharacterLimit({ value: e, maxLength: n }) {
|
|
|
34587
34587
|
isAtLimit: computed(() => i.value >= n.value)
|
|
34588
34588
|
};
|
|
34589
34589
|
}
|
|
34590
|
-
var
|
|
34591
|
-
function warn$1(e) {
|
|
34592
|
-
let n = Array.from(arguments).slice(1);
|
|
34593
|
-
console.warn.apply(console, ["[Vue Router warn]: " + e].concat(n));
|
|
34594
|
-
}
|
|
34595
|
-
function isSameRouteRecord(e, n) {
|
|
34596
|
-
return (e.aliasOf || e) === (n.aliasOf || n);
|
|
34597
|
-
}
|
|
34598
|
-
function isSameRouteLocationParams(e, n) {
|
|
34599
|
-
if (Object.keys(e).length !== Object.keys(n).length) return !1;
|
|
34600
|
-
for (let i in e) if (!isSameRouteLocationParamsValue(e[i], n[i])) return !1;
|
|
34601
|
-
return !0;
|
|
34602
|
-
}
|
|
34603
|
-
function isSameRouteLocationParamsValue(e, n) {
|
|
34604
|
-
return isArray$6(e) ? isEquivalentArray(e, n) : isArray$6(n) ? isEquivalentArray(n, e) : e === n;
|
|
34605
|
-
}
|
|
34606
|
-
function isEquivalentArray(e, n) {
|
|
34607
|
-
return isArray$6(n) ? e.length === n.length && e.every((e, i) => e === n[i]) : e.length === 1 && e[0] === n;
|
|
34608
|
-
}
|
|
34609
|
-
var NavigationType;
|
|
34610
|
-
(function(e) {
|
|
34611
|
-
e.pop = "pop", e.push = "push";
|
|
34612
|
-
})(NavigationType ||= {});
|
|
34613
|
-
var NavigationDirection;
|
|
34614
|
-
(function(e) {
|
|
34615
|
-
e.back = "back", e.forward = "forward", e.unknown = "";
|
|
34616
|
-
})(NavigationDirection ||= {});
|
|
34617
|
-
function isRouteLocation(e) {
|
|
34618
|
-
return typeof e == "string" || e && typeof e == "object";
|
|
34619
|
-
}
|
|
34620
|
-
Symbol(process.env.NODE_ENV === "production" ? "" : "navigation failure");
|
|
34621
|
-
var NavigationFailureType;
|
|
34622
|
-
(function(e) {
|
|
34623
|
-
e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated";
|
|
34624
|
-
})(NavigationFailureType ||= {}), Symbol(process.env.NODE_ENV === "production" ? "" : "router view location matched"), Symbol(process.env.NODE_ENV === "production" ? "" : "router view depth");
|
|
34625
|
-
var routerKey = Symbol(process.env.NODE_ENV === "production" ? "" : "router"), routeLocationKey = Symbol(process.env.NODE_ENV === "production" ? "" : "route location");
|
|
34626
|
-
Symbol(process.env.NODE_ENV === "production" ? "" : "router view location");
|
|
34627
|
-
function useLink(e) {
|
|
34628
|
-
let n = inject(routerKey), i = inject(routeLocationKey), o = !1, s = null, l = computed(() => {
|
|
34629
|
-
let i = unref(e.to);
|
|
34630
|
-
return process.env.NODE_ENV !== "production" && (!o || i !== s) && (isRouteLocation(i) || (o ? warn$1("Invalid value for prop \"to\" in useLink()\n- to:", i, "\n- previous to:", s, "\n- props:", e) : warn$1("Invalid value for prop \"to\" in useLink()\n- to:", i, "\n- props:", e)), s = i, o = !0), n.resolve(i);
|
|
34631
|
-
}), d = computed(() => {
|
|
34632
|
-
let { matched: e } = l.value, { length: n } = e, o = e[n - 1], s = i.matched;
|
|
34633
|
-
if (!o || !s.length) return -1;
|
|
34634
|
-
let d = s.findIndex(isSameRouteRecord.bind(null, o));
|
|
34635
|
-
if (d > -1) return d;
|
|
34636
|
-
let f = getOriginalPath(e[n - 2]);
|
|
34637
|
-
return n > 1 && getOriginalPath(o) === f && s[s.length - 1].path !== f ? s.findIndex(isSameRouteRecord.bind(null, e[n - 2])) : d;
|
|
34638
|
-
}), f = computed(() => d.value > -1 && includesParams(i.params, l.value.params)), p = computed(() => d.value > -1 && d.value === i.matched.length - 1 && isSameRouteLocationParams(i.params, l.value.params));
|
|
34639
|
-
function y(i = {}) {
|
|
34640
|
-
if (guardEvent(i)) {
|
|
34641
|
-
let i = n[unref(e.replace) ? "replace" : "push"](unref(e.to)).catch(noop$1);
|
|
34642
|
-
return e.viewTransition && typeof document < "u" && "startViewTransition" in document && document.startViewTransition(() => i), i;
|
|
34643
|
-
}
|
|
34644
|
-
return Promise.resolve();
|
|
34645
|
-
}
|
|
34646
|
-
if (process.env.NODE_ENV !== "production" && isBrowser) {
|
|
34647
|
-
let n = getCurrentInstance();
|
|
34648
|
-
if (n) {
|
|
34649
|
-
let i = {
|
|
34650
|
-
route: l.value,
|
|
34651
|
-
isActive: f.value,
|
|
34652
|
-
isExactActive: p.value,
|
|
34653
|
-
error: null
|
|
34654
|
-
};
|
|
34655
|
-
n.__vrl_devtools = n.__vrl_devtools || [], n.__vrl_devtools.push(i), watchEffect(() => {
|
|
34656
|
-
i.route = l.value, i.isActive = f.value, i.isExactActive = p.value, i.error = isRouteLocation(unref(e.to)) ? null : "Invalid \"to\" value";
|
|
34657
|
-
}, { flush: "post" });
|
|
34658
|
-
}
|
|
34659
|
-
}
|
|
34660
|
-
return {
|
|
34661
|
-
route: l,
|
|
34662
|
-
href: computed(() => l.value.href),
|
|
34663
|
-
isActive: f,
|
|
34664
|
-
isExactActive: p,
|
|
34665
|
-
navigate: y
|
|
34666
|
-
};
|
|
34667
|
-
}
|
|
34668
|
-
function preferSingleVNode(e) {
|
|
34669
|
-
return e.length === 1 ? e[0] : e;
|
|
34670
|
-
}
|
|
34671
|
-
var RouterLink = /* @__PURE__ */ defineComponent({
|
|
34672
|
-
name: "RouterLink",
|
|
34673
|
-
compatConfig: { MODE: 3 },
|
|
34674
|
-
props: {
|
|
34675
|
-
to: {
|
|
34676
|
-
type: [String, Object],
|
|
34677
|
-
required: !0
|
|
34678
|
-
},
|
|
34679
|
-
replace: Boolean,
|
|
34680
|
-
activeClass: String,
|
|
34681
|
-
exactActiveClass: String,
|
|
34682
|
-
custom: Boolean,
|
|
34683
|
-
ariaCurrentValue: {
|
|
34684
|
-
type: String,
|
|
34685
|
-
default: "page"
|
|
34686
|
-
}
|
|
34687
|
-
},
|
|
34688
|
-
useLink,
|
|
34689
|
-
setup(e, { slots: n }) {
|
|
34690
|
-
let i = reactive(useLink(e)), { options: o } = inject(routerKey), s = computed(() => ({
|
|
34691
|
-
[getLinkClass(e.activeClass, o.linkActiveClass, "router-link-active")]: i.isActive,
|
|
34692
|
-
[getLinkClass(e.exactActiveClass, o.linkExactActiveClass, "router-link-exact-active")]: i.isExactActive
|
|
34693
|
-
}));
|
|
34694
|
-
return () => {
|
|
34695
|
-
let o = n.default && preferSingleVNode(n.default(i));
|
|
34696
|
-
return e.custom ? o : h("a", {
|
|
34697
|
-
"aria-current": i.isExactActive ? e.ariaCurrentValue : null,
|
|
34698
|
-
href: i.href,
|
|
34699
|
-
onClick: i.navigate,
|
|
34700
|
-
class: s.value
|
|
34701
|
-
}, o);
|
|
34702
|
-
};
|
|
34703
|
-
}
|
|
34704
|
-
});
|
|
34705
|
-
function guardEvent(e) {
|
|
34706
|
-
if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && !e.defaultPrevented && !(e.button !== void 0 && e.button !== 0)) {
|
|
34707
|
-
if (e.currentTarget && e.currentTarget.getAttribute) {
|
|
34708
|
-
let n = e.currentTarget.getAttribute("target");
|
|
34709
|
-
if (/\b_blank\b/i.test(n)) return;
|
|
34710
|
-
}
|
|
34711
|
-
return e.preventDefault && e.preventDefault(), !0;
|
|
34712
|
-
}
|
|
34713
|
-
}
|
|
34714
|
-
function includesParams(e, n) {
|
|
34715
|
-
for (let i in n) {
|
|
34716
|
-
let o = n[i], s = e[i];
|
|
34717
|
-
if (typeof o == "string") {
|
|
34718
|
-
if (o !== s) return !1;
|
|
34719
|
-
} else if (!isArray$6(s) || s.length !== o.length || o.some((e, n) => e !== s[n])) return !1;
|
|
34720
|
-
}
|
|
34721
|
-
return !0;
|
|
34722
|
-
}
|
|
34723
|
-
function getOriginalPath(e) {
|
|
34724
|
-
return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
|
|
34725
|
-
}
|
|
34726
|
-
var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
34727
|
-
"href",
|
|
34728
|
-
"target",
|
|
34729
|
-
"title",
|
|
34730
|
-
"data-test-id"
|
|
34731
|
-
], N8nRoute_default = /* @__PURE__ */ defineComponent({
|
|
34732
|
-
name: "N8nRoute",
|
|
34733
|
-
__name: "Route",
|
|
34734
|
-
props: {
|
|
34735
|
-
to: {},
|
|
34736
|
-
newWindow: { type: Boolean },
|
|
34737
|
-
title: {},
|
|
34738
|
-
dataTestId: {}
|
|
34739
|
-
},
|
|
34740
|
-
setup(e) {
|
|
34741
|
-
let n = e, i = computed(() => n.newWindow ? !1 : typeof n.to == "string" ? n.to.startsWith("/") : n.to !== void 0), o = computed(() => !i.value);
|
|
34742
|
-
return (n, s) => i.value && e.to ? (openBlock(), createBlock(unref(RouterLink), mergeProps({
|
|
34743
|
-
key: 0,
|
|
34744
|
-
to: e.to,
|
|
34745
|
-
role: "link"
|
|
34746
|
-
}, n.$attrs, { "data-test-id": e.dataTestId }), {
|
|
34747
|
-
default: withCtx(() => [renderSlot(n.$slots, "default")]),
|
|
34748
|
-
_: 3
|
|
34749
|
-
}, 16, ["to", "data-test-id"])) : (openBlock(), createElementBlock("a", mergeProps({
|
|
34750
|
-
key: 1,
|
|
34751
|
-
href: e.to ? `${e.to}` : void 0,
|
|
34752
|
-
target: o.value ? "_blank" : "_self"
|
|
34753
|
-
}, n.$attrs, {
|
|
34754
|
-
title: e.title,
|
|
34755
|
-
"data-test-id": e.dataTestId
|
|
34756
|
-
}), [renderSlot(n.$slots, "default")], 16, _hoisted_1$52));
|
|
34757
|
-
}
|
|
34758
|
-
}), N8nLink_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
34759
|
-
name: "N8nLink",
|
|
34760
|
-
__name: "Link",
|
|
34761
|
-
props: {
|
|
34762
|
-
to: { default: void 0 },
|
|
34763
|
-
size: { default: void 0 },
|
|
34764
|
-
newWindow: { type: Boolean },
|
|
34765
|
-
bold: {
|
|
34766
|
-
type: Boolean,
|
|
34767
|
-
default: !1
|
|
34768
|
-
},
|
|
34769
|
-
underline: {
|
|
34770
|
-
type: Boolean,
|
|
34771
|
-
default: !1
|
|
34772
|
-
},
|
|
34773
|
-
theme: { default: "primary" },
|
|
34774
|
-
title: {}
|
|
34775
|
-
},
|
|
34776
|
-
setup(e) {
|
|
34777
|
-
return (n, i) => (openBlock(), createBlock(unref(N8nRoute_default), mergeProps({
|
|
34778
|
-
to: e.to,
|
|
34779
|
-
title: e.title,
|
|
34780
|
-
"new-window": e.newWindow
|
|
34781
|
-
}, n.$attrs, { class: "n8n-link" }), {
|
|
34782
|
-
default: withCtx(() => [createElementVNode("span", { class: normalizeClass(n.$style[`${e.underline ? `${e.theme}-underline` : e.theme}`]) }, [createVNode(unref(N8nText_default), {
|
|
34783
|
-
size: e.size,
|
|
34784
|
-
bold: e.bold
|
|
34785
|
-
}, {
|
|
34786
|
-
default: withCtx(() => [renderSlot(n.$slots, "default")]),
|
|
34787
|
-
_: 3
|
|
34788
|
-
}, 8, ["size", "bold"])], 2)]),
|
|
34789
|
-
_: 3
|
|
34790
|
-
}, 16, [
|
|
34791
|
-
"to",
|
|
34792
|
-
"title",
|
|
34793
|
-
"new-window"
|
|
34794
|
-
]));
|
|
34795
|
-
}
|
|
34796
|
-
}), [["__cssModules", { $style: {
|
|
34797
|
-
primary: "_primary_1dwjk_115",
|
|
34798
|
-
text: "_text_1dwjk_122",
|
|
34799
|
-
danger: "_danger_1dwjk_132",
|
|
34800
|
-
secondary: "_secondary_1dwjk_139",
|
|
34801
|
-
"primary-underline": "_primary-underline_1dwjk_146 _primary_1dwjk_115",
|
|
34802
|
-
"text-underline": "_text-underline_1dwjk_151 _text_1dwjk_122",
|
|
34803
|
-
"danger-underline": "_danger-underline_1dwjk_156 _danger_1dwjk_132",
|
|
34804
|
-
"secondary-underline": "_secondary-underline_1dwjk_161 _secondary_1dwjk_139"
|
|
34805
|
-
} }]]), N8nScrollArea_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
34590
|
+
var N8nScrollArea_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
34806
34591
|
__name: "N8nScrollArea",
|
|
34807
34592
|
props: {
|
|
34808
34593
|
type: { default: "hover" },
|
|
@@ -34978,7 +34763,7 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
34978
34763
|
}), [["__cssModules", { $style: {
|
|
34979
34764
|
sendButton: "_sendButton_48tgf_1",
|
|
34980
34765
|
stopButton: "_stopButton_48tgf_5"
|
|
34981
|
-
} }]]), _hoisted_1$
|
|
34766
|
+
} }]]), _hoisted_1$52 = [
|
|
34982
34767
|
"placeholder",
|
|
34983
34768
|
"disabled",
|
|
34984
34769
|
"maxlength"
|
|
@@ -35028,30 +34813,11 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
35028
34813
|
let o = e, s = i, { t: l } = useI18n(), d = ref(), f = ref(), p = ref(), $ = ref(!1), k7 = ref(o.modelValue || ""), M7 = ref(o.minLines > 1 ? lineHeight * o.minLines : singleLineHeight), N7 = ref(o.minLines > 1), P7 = computed(() => o.maxLinesBeforeScroll * 18), { characterCount: F7, isOverLimit: I7, isAtLimit: L7 } = useCharacterLimit({
|
|
35029
34814
|
value: k7,
|
|
35030
34815
|
maxLength: toRef(o, "maxLength")
|
|
35031
|
-
}), R7 = computed(() => L7.value), z7 = computed(() => !k7.value.trim() || o.streaming || o.disabled || I7.value || o.creditsRemaining === 0), B7 = computed(() => ({ minHeight: "80px" })), V7 = computed(() => o.creditsQuota !== void 0 && o.creditsRemaining !== void 0 && o.creditsQuota !== INFINITE_CREDITS), H7 = computed(() =>
|
|
35032
|
-
remaining: o.creditsRemaining,
|
|
35033
|
-
total: o.creditsQuota
|
|
35034
|
-
})), U7 = () => {
|
|
35035
|
-
let e = /* @__PURE__ */ new Date();
|
|
35036
|
-
return new Date(e.getFullYear(), e.getMonth() + 1, 1).toLocaleDateString("en-US", {
|
|
35037
|
-
month: "long",
|
|
35038
|
-
day: "numeric",
|
|
35039
|
-
year: "numeric"
|
|
35040
|
-
});
|
|
35041
|
-
}, W7 = computed(() => {
|
|
35042
|
-
if (!V7.value) return "";
|
|
35043
|
-
let e = U7();
|
|
35044
|
-
return [
|
|
35045
|
-
l("promptInput.remainingCredits", { count: o.creditsRemaining ?? 0 }),
|
|
35046
|
-
l("promptInput.monthlyCredits", { count: o.creditsQuota ?? 0 }),
|
|
35047
|
-
l("promptInput.creditsRenew", { date: e }),
|
|
35048
|
-
l("promptInput.creditsExpire", { date: e })
|
|
35049
|
-
].join("<br />");
|
|
35050
|
-
}), J7 = computed(() => V7.value && o.creditsRemaining === 0), X7 = computed(() => ({
|
|
34816
|
+
}), R7 = computed(() => L7.value), z7 = computed(() => !k7.value.trim() || o.streaming || o.disabled || I7.value || o.creditsRemaining === 0), B7 = computed(() => ({ minHeight: "80px" })), V7 = computed(() => o.creditsQuota !== void 0 && o.creditsRemaining !== void 0 && o.creditsQuota !== INFINITE_CREDITS && o.creditsRemaining === 0), H7 = computed(() => ({
|
|
35051
34817
|
height: `${M7.value}px`,
|
|
35052
34818
|
overflowY: "hidden"
|
|
35053
34819
|
}));
|
|
35054
|
-
function
|
|
34820
|
+
function U7() {
|
|
35055
34821
|
let e = document.activeElement === d.value, n = N7.value, i = o.minLines > 1 ? lineHeight * o.minLines : singleLineHeight;
|
|
35056
34822
|
if (!k7.value || k7.value === "") {
|
|
35057
34823
|
o.minLines > 1 ? (N7.value = !0, M7.value = i, d.value && (d.value.style.height = `${i}px`)) : (N7.value = !1, M7.value = singleLineHeight, d.value && (d.value.style.height = `${singleLineHeight}px`));
|
|
@@ -35070,172 +34836,133 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
35070
34836
|
});
|
|
35071
34837
|
}
|
|
35072
34838
|
watch(() => o.modelValue, async (e) => {
|
|
35073
|
-
k7.value = e || "", await nextTick(), await new Promise(requestAnimationFrame),
|
|
34839
|
+
k7.value = e || "", await nextTick(), await new Promise(requestAnimationFrame), U7();
|
|
35074
34840
|
}), watch(k7, (e, n) => {
|
|
35075
|
-
s("update:modelValue", e), e !== n && nextTick(() =>
|
|
34841
|
+
s("update:modelValue", e), e !== n && nextTick(() => U7());
|
|
35076
34842
|
});
|
|
35077
|
-
async function
|
|
34843
|
+
async function W7() {
|
|
35078
34844
|
await nextTick(), await new Promise(requestAnimationFrame), d.value?.focus();
|
|
35079
34845
|
}
|
|
35080
|
-
async function
|
|
35081
|
-
s("submit"), o.refocusAfterSend && await
|
|
34846
|
+
async function J7() {
|
|
34847
|
+
s("submit"), o.refocusAfterSend && await W7();
|
|
35082
34848
|
}
|
|
35083
|
-
async function
|
|
35084
|
-
s("stop"), o.refocusAfterSend && await
|
|
34849
|
+
async function X7() {
|
|
34850
|
+
s("stop"), o.refocusAfterSend && await W7();
|
|
35085
34851
|
}
|
|
35086
|
-
async function
|
|
34852
|
+
async function Z7(e) {
|
|
35087
34853
|
let n = e.ctrlKey || e.metaKey, i = e.key.length === 1 && !n, s = e.key === "Backspace" || e.key === "Delete", l = F7.value >= o.maxLength, f = e.key === "Enter" && !e.shiftKey, p = e.key === "Enter" && e.shiftKey;
|
|
35088
34854
|
if (l && i && !s) {
|
|
35089
34855
|
e.preventDefault();
|
|
35090
34856
|
return;
|
|
35091
34857
|
}
|
|
35092
|
-
if (f && (e.preventDefault(), z7.value || await
|
|
34858
|
+
if (f && (e.preventDefault(), z7.value || await J7()), p) {
|
|
35093
34859
|
e.preventDefault();
|
|
35094
34860
|
let n = e.target, i = n.selectionStart, o = n.selectionEnd;
|
|
35095
34861
|
k7.value = k7.value.substring(0, i) + "\n" + k7.value.substring(o), await nextTick(), d.value && (d.value.selectionStart = d.value.selectionEnd = i + 1);
|
|
35096
34862
|
}
|
|
35097
34863
|
}
|
|
35098
|
-
function
|
|
34864
|
+
function Q7(e) {
|
|
35099
34865
|
$.value = !0, s("focus", e);
|
|
35100
34866
|
}
|
|
35101
|
-
function
|
|
34867
|
+
function e9(e) {
|
|
35102
34868
|
$.value = !1, s("blur", e);
|
|
35103
34869
|
}
|
|
35104
|
-
function
|
|
34870
|
+
function t9() {
|
|
35105
34871
|
d.value?.focus();
|
|
35106
34872
|
}
|
|
35107
34873
|
return onMounted(() => {
|
|
35108
|
-
nextTick(() =>
|
|
35109
|
-
}), n({ focusInput:
|
|
35110
|
-
|
|
35111
|
-
|
|
35112
|
-
|
|
35113
|
-
|
|
35114
|
-
|
|
35115
|
-
|
|
35116
|
-
|
|
35117
|
-
|
|
35118
|
-
|
|
35119
|
-
|
|
35120
|
-
|
|
35121
|
-
|
|
35122
|
-
|
|
35123
|
-
|
|
35124
|
-
style: normalizeStyle(B7.value)
|
|
35125
|
-
}, [
|
|
35126
|
-
R7.value ? (openBlock(), createBlock(Callout_default, {
|
|
35127
|
-
key: 0,
|
|
35128
|
-
slim: "",
|
|
35129
|
-
icon: "info",
|
|
35130
|
-
theme: "warning",
|
|
35131
|
-
class: normalizeClass(n.$style.warningCallout)
|
|
35132
|
-
}, {
|
|
35133
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(l)("assistantChat.characterLimit", { limit: e.maxLength.toString() })), 1)]),
|
|
35134
|
-
_: 1
|
|
35135
|
-
}, 8, ["class"])) : createCommentVNode("", !0),
|
|
35136
|
-
createVNode(N8nScrollArea_default$1, {
|
|
35137
|
-
ref_key: "scrollAreaRef",
|
|
35138
|
-
ref: p,
|
|
35139
|
-
class: normalizeClass(n.$style.scrollAreaWrapper),
|
|
35140
|
-
"max-height": `${P7.value}px`,
|
|
35141
|
-
type: "auto"
|
|
35142
|
-
}, {
|
|
35143
|
-
default: withCtx(() => [n.$slots["inline-chips"] ? (openBlock(), createElementBlock("div", {
|
|
35144
|
-
key: 0,
|
|
35145
|
-
class: normalizeClass(n.$style.chipsRow)
|
|
35146
|
-
}, [renderSlot(n.$slots, "inline-chips")], 2)) : createCommentVNode("", !0), withDirectives(createElementVNode("textarea", {
|
|
35147
|
-
ref_key: "textareaRef",
|
|
35148
|
-
ref: d,
|
|
35149
|
-
"onUpdate:modelValue": i[0] ||= (e) => k7.value = e,
|
|
35150
|
-
class: normalizeClass([
|
|
35151
|
-
n.$style.multilineTextarea,
|
|
35152
|
-
"ignore-key-press-node-creator",
|
|
35153
|
-
"ignore-key-press-canvas"
|
|
35154
|
-
]),
|
|
35155
|
-
style: normalizeStyle(X7.value),
|
|
35156
|
-
placeholder: J7.value ? "" : e.placeholder,
|
|
35157
|
-
disabled: e.disabled || J7.value,
|
|
35158
|
-
maxlength: e.maxLength,
|
|
35159
|
-
onKeydown: n9,
|
|
35160
|
-
onFocus: i9,
|
|
35161
|
-
onBlur: a9,
|
|
35162
|
-
onInput: Z7
|
|
35163
|
-
}, null, 46, _hoisted_1$51), [[vModelText, k7.value]])]),
|
|
35164
|
-
_: 3
|
|
35165
|
-
}, 8, ["class", "max-height"]),
|
|
35166
|
-
createElementVNode("div", { class: normalizeClass(n.$style.bottomActions) }, [
|
|
35167
|
-
n.$slots["bottom-actions-chips"] ? (openBlock(), createElementBlock("div", {
|
|
35168
|
-
key: 0,
|
|
35169
|
-
class: normalizeClass(n.$style.bottomActionsChips)
|
|
35170
|
-
}, [renderSlot(n.$slots, "bottom-actions-chips")], 2)) : createCommentVNode("", !0),
|
|
35171
|
-
renderSlot(n.$slots, "extra-actions"),
|
|
35172
|
-
createVNode(unref(N8nSendStopButton_default), {
|
|
35173
|
-
"data-test-id": "send-message-button",
|
|
35174
|
-
streaming: e.streaming,
|
|
35175
|
-
disabled: z7.value,
|
|
35176
|
-
label: e.buttonLabel,
|
|
35177
|
-
onSend: e9,
|
|
35178
|
-
onStop: t9
|
|
35179
|
-
}, null, 8, [
|
|
35180
|
-
"streaming",
|
|
35181
|
-
"disabled",
|
|
35182
|
-
"label"
|
|
35183
|
-
])
|
|
35184
|
-
], 2)
|
|
35185
|
-
], 6), V7.value ? (openBlock(), createElementBlock("div", {
|
|
34874
|
+
nextTick(() => U7()), o.autofocus && t9();
|
|
34875
|
+
}), n({ focusInput: t9 }), (n, i) => (openBlock(), createBlock(Tooltip_default, {
|
|
34876
|
+
disabled: !e.disabled || !e.disabledTooltip,
|
|
34877
|
+
content: e.disabledTooltip,
|
|
34878
|
+
placement: "top"
|
|
34879
|
+
}, {
|
|
34880
|
+
default: withCtx(() => [createElementVNode("div", mergeProps(n.$attrs, { class: n.$style.wrapper }), [createElementVNode("div", {
|
|
34881
|
+
ref_key: "containerRef",
|
|
34882
|
+
ref: f,
|
|
34883
|
+
class: normalizeClass([n.$style.container, {
|
|
34884
|
+
[n.$style.focused]: $.value,
|
|
34885
|
+
[n.$style.disabled]: e.disabled || V7.value
|
|
34886
|
+
}]),
|
|
34887
|
+
style: normalizeStyle(B7.value)
|
|
34888
|
+
}, [
|
|
34889
|
+
R7.value ? (openBlock(), createBlock(Callout_default, {
|
|
35186
34890
|
key: 0,
|
|
35187
|
-
|
|
35188
|
-
|
|
35189
|
-
|
|
35190
|
-
|
|
35191
|
-
"show-after": 300,
|
|
35192
|
-
placement: "top"
|
|
34891
|
+
slim: "",
|
|
34892
|
+
icon: "info",
|
|
34893
|
+
theme: "warning",
|
|
34894
|
+
class: normalizeClass(n.$style.warningCallout)
|
|
35193
34895
|
}, {
|
|
35194
|
-
default: withCtx(() => [
|
|
35195
|
-
icon: "info",
|
|
35196
|
-
size: "small"
|
|
35197
|
-
})]),
|
|
34896
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(l)("assistantChat.characterLimit", { limit: e.maxLength.toString() })), 1)]),
|
|
35198
34897
|
_: 1
|
|
35199
|
-
}, 8, ["
|
|
35200
|
-
|
|
35201
|
-
|
|
35202
|
-
|
|
35203
|
-
|
|
35204
|
-
|
|
34898
|
+
}, 8, ["class"])) : createCommentVNode("", !0),
|
|
34899
|
+
createVNode(N8nScrollArea_default$1, {
|
|
34900
|
+
ref_key: "scrollAreaRef",
|
|
34901
|
+
ref: p,
|
|
34902
|
+
class: normalizeClass(n.$style.scrollAreaWrapper),
|
|
34903
|
+
"max-height": `${P7.value}px`,
|
|
34904
|
+
type: "auto"
|
|
35205
34905
|
}, {
|
|
35206
|
-
default: withCtx(() => [
|
|
35207
|
-
|
|
35208
|
-
|
|
35209
|
-
|
|
35210
|
-
|
|
35211
|
-
|
|
35212
|
-
|
|
35213
|
-
|
|
35214
|
-
|
|
35215
|
-
|
|
35216
|
-
|
|
35217
|
-
|
|
35218
|
-
|
|
34906
|
+
default: withCtx(() => [n.$slots["inline-chips"] ? (openBlock(), createElementBlock("div", {
|
|
34907
|
+
key: 0,
|
|
34908
|
+
class: normalizeClass(n.$style.chipsRow)
|
|
34909
|
+
}, [renderSlot(n.$slots, "inline-chips")], 2)) : createCommentVNode("", !0), withDirectives(createElementVNode("textarea", {
|
|
34910
|
+
ref_key: "textareaRef",
|
|
34911
|
+
ref: d,
|
|
34912
|
+
"onUpdate:modelValue": i[0] ||= (e) => k7.value = e,
|
|
34913
|
+
class: normalizeClass([
|
|
34914
|
+
n.$style.multilineTextarea,
|
|
34915
|
+
"ignore-key-press-node-creator",
|
|
34916
|
+
"ignore-key-press-canvas"
|
|
34917
|
+
]),
|
|
34918
|
+
style: normalizeStyle(H7.value),
|
|
34919
|
+
placeholder: V7.value ? "" : e.placeholder,
|
|
34920
|
+
disabled: e.disabled || V7.value,
|
|
34921
|
+
maxlength: e.maxLength,
|
|
34922
|
+
onKeydown: Z7,
|
|
34923
|
+
onFocus: Q7,
|
|
34924
|
+
onBlur: e9,
|
|
34925
|
+
onInput: U7
|
|
34926
|
+
}, null, 46, _hoisted_1$52), [[vModelText, k7.value]])]),
|
|
34927
|
+
_: 3
|
|
34928
|
+
}, 8, ["class", "max-height"]),
|
|
34929
|
+
createElementVNode("div", { class: normalizeClass(n.$style.bottomActions) }, [
|
|
34930
|
+
n.$slots["bottom-actions-chips"] ? (openBlock(), createElementBlock("div", {
|
|
34931
|
+
key: 0,
|
|
34932
|
+
class: normalizeClass(n.$style.bottomActionsChips)
|
|
34933
|
+
}, [renderSlot(n.$slots, "bottom-actions-chips")], 2)) : createCommentVNode("", !0),
|
|
34934
|
+
renderSlot(n.$slots, "extra-actions"),
|
|
34935
|
+
createVNode(unref(N8nSendStopButton_default), {
|
|
34936
|
+
"data-test-id": "send-message-button",
|
|
34937
|
+
streaming: e.streaming,
|
|
34938
|
+
disabled: z7.value,
|
|
34939
|
+
label: e.buttonLabel,
|
|
34940
|
+
onSend: J7,
|
|
34941
|
+
onStop: X7
|
|
34942
|
+
}, null, 8, [
|
|
34943
|
+
"streaming",
|
|
34944
|
+
"disabled",
|
|
34945
|
+
"label"
|
|
34946
|
+
])
|
|
34947
|
+
], 2)
|
|
34948
|
+
], 6)], 16)]),
|
|
34949
|
+
_: 3
|
|
34950
|
+
}, 8, ["disabled", "content"]));
|
|
35219
34951
|
}
|
|
35220
34952
|
}), [["__cssModules", { $style: {
|
|
35221
|
-
wrapper: "
|
|
35222
|
-
container: "
|
|
35223
|
-
|
|
35224
|
-
|
|
35225
|
-
|
|
35226
|
-
|
|
35227
|
-
|
|
35228
|
-
|
|
35229
|
-
|
|
35230
|
-
|
|
35231
|
-
|
|
35232
|
-
|
|
35233
|
-
|
|
35234
|
-
infoContent: "_infoContent_rdsqo_108",
|
|
35235
|
-
noCredits: "_noCredits_rdsqo_116",
|
|
35236
|
-
characterCount: "_characterCount_rdsqo_120",
|
|
35237
|
-
overLimit: "_overLimit_rdsqo_125"
|
|
35238
|
-
} }]]), _hoisted_1$50 = ["disabled", "onClick"], N8nPromptInputSuggestions_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
34953
|
+
wrapper: "_wrapper_149xb_1",
|
|
34954
|
+
container: "_container_149xb_7",
|
|
34955
|
+
focused: "_focused_149xb_19",
|
|
34956
|
+
disabled: "_disabled_149xb_23",
|
|
34957
|
+
warningCallout: "_warningCallout_149xb_32",
|
|
34958
|
+
scrollAreaWrapper: "_scrollAreaWrapper_149xb_36",
|
|
34959
|
+
multilineTextarea: "_multilineTextarea_149xb_41",
|
|
34960
|
+
bottomActions: "_bottomActions_149xb_61",
|
|
34961
|
+
bottomActionsChips: "_bottomActionsChips_149xb_70",
|
|
34962
|
+
chipsRow: "_chipsRow_149xb_77",
|
|
34963
|
+
characterCount: "_characterCount_149xb_86",
|
|
34964
|
+
overLimit: "_overLimit_149xb_91"
|
|
34965
|
+
} }]]), _hoisted_1$51 = ["disabled", "onClick"], N8nPromptInputSuggestions_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
35239
34966
|
__name: "N8nPromptInputSuggestions",
|
|
35240
34967
|
props: {
|
|
35241
34968
|
suggestions: { default: () => [] },
|
|
@@ -35270,7 +34997,7 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
35270
34997
|
disabled: e.streaming || e.disabled,
|
|
35271
34998
|
type: "button",
|
|
35272
34999
|
onClick: (e) => l(i)
|
|
35273
|
-
}, toDisplayString(i.summary), 11, _hoisted_1$
|
|
35000
|
+
}, toDisplayString(i.summary), 11, _hoisted_1$51))), 128))], 2)) : createCommentVNode("", !0),
|
|
35274
35001
|
renderSlot(n.$slots, "footer")
|
|
35275
35002
|
], 2));
|
|
35276
35003
|
}
|
|
@@ -35279,7 +35006,7 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
35279
35006
|
promptContainer: "_promptContainer_1xo3f_12",
|
|
35280
35007
|
pillsContainer: "_pillsContainer_1xo3f_20",
|
|
35281
35008
|
suggestionPill: "_suggestionPill_1xo3f_28"
|
|
35282
|
-
} }]]), _hoisted_1$
|
|
35009
|
+
} }]]), _hoisted_1$50 = { key: 0 }, _hoisted_2$31 = ["data-test-id"], AskAssistantChat_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
35283
35010
|
__name: "AskAssistantChat",
|
|
35284
35011
|
props: {
|
|
35285
35012
|
user: { default: () => ({
|
|
@@ -35454,17 +35181,21 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
35454
35181
|
return n({ focusInput: () => {
|
|
35455
35182
|
z7.value?.focusInput();
|
|
35456
35183
|
} }), (n, i) => (openBlock(), createElementBlock("div", { class: normalizeClass(unref(l).container) }, [
|
|
35457
|
-
createElementVNode("div", { class: normalizeClass(unref(l).header) }, [
|
|
35458
|
-
size: "large",
|
|
35459
|
-
|
|
35460
|
-
|
|
35461
|
-
|
|
35462
|
-
|
|
35463
|
-
|
|
35464
|
-
|
|
35465
|
-
|
|
35466
|
-
|
|
35467
|
-
|
|
35184
|
+
createElementVNode("div", { class: normalizeClass(unref(l).header) }, [
|
|
35185
|
+
createElementVNode("div", { class: normalizeClass(unref(l).chatTitle) }, [createElementVNode("div", { class: normalizeClass(unref(l).headerText) }, [createElementVNode("div", { class: normalizeClass(unref(l).assistantTitle) }, [createVNode(AssistantIcon_default, { size: "large" }), createVNode(AssistantText_default, {
|
|
35186
|
+
size: "large",
|
|
35187
|
+
text: unref(s)("assistantChat.aiAssistantLabel")
|
|
35188
|
+
}, null, 8, ["text"])], 2)], 2), renderSlot(n.$slots, "header")], 2),
|
|
35189
|
+
renderSlot(n.$slots, "headerActions"),
|
|
35190
|
+
createVNode(unref(N8nIconButton_default), {
|
|
35191
|
+
icon: "x",
|
|
35192
|
+
variant: "ghost",
|
|
35193
|
+
size: "large",
|
|
35194
|
+
"aria-label": unref(s)("askAssistantChat.close"),
|
|
35195
|
+
"data-test-id": "close-chat-button",
|
|
35196
|
+
onClick: f
|
|
35197
|
+
}, null, 8, ["aria-label"])
|
|
35198
|
+
], 2),
|
|
35468
35199
|
createElementVNode("div", { class: normalizeClass(unref(l).body) }, [I7.value?.length || e.loadingMessage ? (openBlock(), createElementBlock("div", {
|
|
35469
35200
|
key: 0,
|
|
35470
35201
|
class: normalizeClass(unref(l).messages)
|
|
@@ -35478,7 +35209,7 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
35478
35209
|
default: withCtx(() => [createElementVNode("div", {
|
|
35479
35210
|
ref: "messagesRef",
|
|
35480
35211
|
class: normalizeClass(unref(l).messagesContent)
|
|
35481
|
-
}, [I7.value?.length ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35212
|
+
}, [I7.value?.length ? (openBlock(), createElementBlock("div", _hoisted_1$50, [(openBlock(!0), createElementBlock(Fragment, null, renderList(I7.value, (f, p) => (openBlock(), createElementBlock("data", {
|
|
35482
35213
|
key: f.id,
|
|
35483
35214
|
"data-test-id": f.role === "assistant" ? "chat-message-assistant" : "chat-message-user"
|
|
35484
35215
|
}, [unref(isThinkingGroupMessage)(f) ? (openBlock(), createBlock(ThinkingMessage_default, {
|
|
@@ -35752,7 +35483,7 @@ var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$52 = [
|
|
|
35752
35483
|
}, composeEventHandlers = (e, n, { checkForDefaultPrevented: i = !0 } = {}) => (o) => {
|
|
35753
35484
|
let s = e?.(o);
|
|
35754
35485
|
if (i === !1 || !s) return n?.(o);
|
|
35755
|
-
}, whenMouse = (e) => (n) => n.pointerType === "mouse" ? e(n) : void 0, isClient = typeof window < "u", isString$1 = (e) => typeof e == "string", noop = () => {}, isIOS = isClient && (window == null ? void 0 : window.navigator)?.userAgent && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
35486
|
+
}, whenMouse = (e) => (n) => n.pointerType === "mouse" ? e(n) : void 0, isClient = typeof window < "u", isString$1 = (e) => typeof e == "string", noop$1 = () => {}, isIOS = isClient && (window == null ? void 0 : window.navigator)?.userAgent && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
35756
35487
|
function resolveUnref(e) {
|
|
35757
35488
|
return typeof e == "function" ? e() : (0, lib_exports.unref)(e);
|
|
35758
35489
|
}
|
|
@@ -35792,7 +35523,7 @@ var defaultWindow = isClient ? window : void 0;
|
|
|
35792
35523
|
isClient && window.document, isClient && window.navigator, isClient && window.location;
|
|
35793
35524
|
function useEventListener(...e) {
|
|
35794
35525
|
let n, i, o, s;
|
|
35795
|
-
if (isString$1(e[0]) || Array.isArray(e[0]) ? ([i, o, s] = e, n = defaultWindow) : [n, i, o, s] = e, !n) return noop;
|
|
35526
|
+
if (isString$1(e[0]) || Array.isArray(e[0]) ? ([i, o, s] = e, n = defaultWindow) : [n, i, o, s] = e, !n) return noop$1;
|
|
35796
35527
|
Array.isArray(i) || (i = [i]), Array.isArray(o) || (o = [o]);
|
|
35797
35528
|
let l = [], d = () => {
|
|
35798
35529
|
l.forEach((e) => e()), l.length = 0;
|
|
@@ -35810,7 +35541,7 @@ var _iOSWorkaround = !1;
|
|
|
35810
35541
|
function onClickOutside$1(e, n, i = {}) {
|
|
35811
35542
|
let { window: o = defaultWindow, ignore: s = [], capture: l = !0, detectIframe: d = !1 } = i;
|
|
35812
35543
|
if (!o) return;
|
|
35813
|
-
isIOS && !_iOSWorkaround && (_iOSWorkaround = !0, Array.from(o.document.body.children).forEach((e) => e.addEventListener("click", noop)));
|
|
35544
|
+
isIOS && !_iOSWorkaround && (_iOSWorkaround = !0, Array.from(o.document.body.children).forEach((e) => e.addEventListener("click", noop$1)));
|
|
35814
35545
|
let f = !0, p = (e) => s.some((n) => {
|
|
35815
35546
|
if (typeof n == "string") return Array.from(o.document.querySelectorAll(n)).some((n) => n === e.target || e.composedPath().includes(n));
|
|
35816
35547
|
{
|
|
@@ -36038,7 +35769,7 @@ var isFirefox = () => isClient && /firefox/i.test(window.navigator.userAgent), g
|
|
|
36038
35769
|
};
|
|
36039
35770
|
};
|
|
36040
35771
|
process.env.NODE_ENV === "production" || Object.freeze({}), process.env.NODE_ENV === "production" || Object.freeze([]);
|
|
36041
|
-
var NOOP = () => {}, hasOwnProperty$13 = Object.prototype.hasOwnProperty, hasOwn = (e, n) => hasOwnProperty$13.call(e, n), isArray$
|
|
35772
|
+
var NOOP = () => {}, hasOwnProperty$13 = Object.prototype.hasOwnProperty, hasOwn = (e, n) => hasOwnProperty$13.call(e, n), isArray$5 = Array.isArray, isFunction$3 = (e) => typeof e == "function", isString = (e) => typeof e == "string", isObject$3 = (e) => typeof e == "object" && !!e, isPromise = (e) => (isObject$3(e) || isFunction$3(e)) && isFunction$3(e.then) && isFunction$3(e.catch), objectToString$3 = Object.prototype.toString, toTypeString = (e) => objectToString$3.call(e), toRawType = (e) => toTypeString(e).slice(8, -1), _freeGlobal_default = typeof global == "object" && global && global.Object === Object && global, freeSelf$1 = typeof self == "object" && self && self.Object === Object && self, _root_default = _freeGlobal_default || freeSelf$1 || Function("return this")(), _Symbol_default = _root_default.Symbol, objectProto$5 = Object.prototype, hasOwnProperty$12 = objectProto$5.hasOwnProperty, nativeObjectToString$3 = objectProto$5.toString, symToStringTag$3 = _Symbol_default ? _Symbol_default.toStringTag : void 0;
|
|
36042
35773
|
function getRawTag$2(e) {
|
|
36043
35774
|
var n = hasOwnProperty$12.call(e, symToStringTag$3), i = e[symToStringTag$3];
|
|
36044
35775
|
try {
|
|
@@ -37114,9 +36845,9 @@ var arrow_down_default = /* @__PURE__ */ defineComponent({
|
|
|
37114
36845
|
default: 32,
|
|
37115
36846
|
small: 24
|
|
37116
36847
|
}, getComponentSize = (e) => componentSizeMap[e || "default"], isValidComponentSize = (e) => ["", ...componentSizes].includes(e), flattedChildren = (e) => {
|
|
37117
|
-
let n = isArray$
|
|
36848
|
+
let n = isArray$5(e) ? e : [e], i = [];
|
|
37118
36849
|
return n.forEach((e) => {
|
|
37119
|
-
isArray$
|
|
36850
|
+
isArray$5(e) ? i.push(...flattedChildren(e)) : isVNode(e) && isArray$5(e.children) ? i.push(...flattedChildren(e.children)) : (i.push(e), isVNode(e) && e.component?.subTree && i.push(...flattedChildren(e.component.subTree)));
|
|
37120
36851
|
}), i;
|
|
37121
36852
|
}, isKorean = (e) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e), mutable = (e) => e, DEFAULT_EXCLUDE_KEYS = ["class", "style"], LISTENER_PREFIX = /^on[A-Z]/, useAttrs$1 = (e = {}) => {
|
|
37122
36853
|
let { excludeListeners: n = !1, excludeKeys: i } = e, o = computed(() => (i?.value || []).concat(DEFAULT_EXCLUDE_KEYS)), s = getCurrentInstance();
|
|
@@ -38649,7 +38380,7 @@ var inputProps = buildProps({
|
|
|
38649
38380
|
compositionstart: (e) => e instanceof CompositionEvent,
|
|
38650
38381
|
compositionupdate: (e) => e instanceof CompositionEvent,
|
|
38651
38382
|
compositionend: (e) => e instanceof CompositionEvent
|
|
38652
|
-
}, _hoisted_1$
|
|
38383
|
+
}, _hoisted_1$49 = ["role"], _hoisted_2$30 = [
|
|
38653
38384
|
"id",
|
|
38654
38385
|
"type",
|
|
38655
38386
|
"disabled",
|
|
@@ -38921,7 +38652,7 @@ var inputProps = buildProps({
|
|
|
38921
38652
|
key: 1,
|
|
38922
38653
|
class: normalizeClass(unref(I7).be("group", "append"))
|
|
38923
38654
|
}, [renderSlot(e.$slots, "append")], 2)) : createCommentVNode("v-if", !0)
|
|
38924
|
-
], 64))], 16, _hoisted_1$
|
|
38655
|
+
], 64))], 16, _hoisted_1$49)), [[vShow, e.type !== "hidden"]]);
|
|
38925
38656
|
}
|
|
38926
38657
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]])), BAR_MAP = {
|
|
38927
38658
|
vertical: {
|
|
@@ -39929,7 +39660,7 @@ var DEFAULT_ARROW_OFFSET = 0, usePopperContent = (e) => {
|
|
|
39929
39660
|
"hide",
|
|
39930
39661
|
"open",
|
|
39931
39662
|
"close"
|
|
39932
|
-
], isTriggerType = (e, n) => isArray$
|
|
39663
|
+
], isTriggerType = (e, n) => isArray$5(e) ? e.includes(n) : e === n, whenTrigger = (e, n, i) => (o) => {
|
|
39933
39664
|
isTriggerType(unref(e), n) && i(o);
|
|
39934
39665
|
}, ElTooltipTrigger = /* @__PURE__ */ _export_sfc(/* @__PURE__ */ defineComponent({
|
|
39935
39666
|
...defineComponent({ name: "ElTooltipTrigger" }),
|
|
@@ -40080,7 +39811,7 @@ var DEFAULT_ARROW_OFFSET = 0, usePopperContent = (e) => {
|
|
|
40080
39811
|
_: 3
|
|
40081
39812
|
}, 8, ["name"])], 8, ["disabled", "to"]));
|
|
40082
39813
|
}
|
|
40083
|
-
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]), _hoisted_1$
|
|
39814
|
+
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]), _hoisted_1$48 = ["innerHTML"], _hoisted_2$29 = { key: 1 }, ElTooltip = withInstall(/* @__PURE__ */ _export_sfc(/* @__PURE__ */ defineComponent({
|
|
40084
39815
|
...defineComponent({ name: "ElTooltip" }),
|
|
40085
39816
|
props: useTooltipProps,
|
|
40086
39817
|
emits: tooltipEmits,
|
|
@@ -40194,7 +39925,7 @@ var DEFAULT_ARROW_OFFSET = 0, usePopperContent = (e) => {
|
|
|
40194
39925
|
default: withCtx(() => [renderSlot(e.$slots, "content", {}, () => [e.rawContent ? (openBlock(), createElementBlock("span", {
|
|
40195
39926
|
key: 0,
|
|
40196
39927
|
innerHTML: e.content
|
|
40197
|
-
}, null, 8, _hoisted_1$
|
|
39928
|
+
}, null, 8, _hoisted_1$48)) : (openBlock(), createElementBlock("span", _hoisted_2$29, toDisplayString(e.content), 1))]), e.showArrow ? (openBlock(), createBlock(unref(ElPopperArrow), {
|
|
40198
39929
|
key: 0,
|
|
40199
39930
|
"arrow-offset": e.arrowOffset
|
|
40200
39931
|
}, null, 8, ["arrow-offset"])) : createCommentVNode("v-if", !0)]),
|
|
@@ -41616,7 +41347,7 @@ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_rende
|
|
|
41616
41347
|
ns: n
|
|
41617
41348
|
};
|
|
41618
41349
|
}
|
|
41619
|
-
}), _hoisted_1$
|
|
41350
|
+
}), _hoisted_1$47 = ["onClick"];
|
|
41620
41351
|
function _sfc_render$18(e, n, i, s, l, d) {
|
|
41621
41352
|
return openBlock(), createElementBlock("div", { class: normalizeClass(e.ns.b()) }, [createElementVNode("div", { class: normalizeClass(e.ns.e("colors")) }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.rgbaColors, (n, i) => (openBlock(), createElementBlock("div", {
|
|
41622
41353
|
key: e.colors[i],
|
|
@@ -41626,7 +41357,7 @@ function _sfc_render$18(e, n, i, s, l, d) {
|
|
|
41626
41357
|
{ selected: n.selected }
|
|
41627
41358
|
]),
|
|
41628
41359
|
onClick: (n) => e.handleSelect(i)
|
|
41629
|
-
}, [createElementVNode("div", { style: normalizeStyle({ backgroundColor: n.value }) }, null, 4)], 10, _hoisted_1$
|
|
41360
|
+
}, [createElementVNode("div", { style: normalizeStyle({ backgroundColor: n.value }) }, null, 4)], 10, _hoisted_1$47))), 128))], 2)], 2);
|
|
41630
41361
|
}
|
|
41631
41362
|
var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]), _sfc_main$17 = defineComponent({
|
|
41632
41363
|
name: "ElSlPanel",
|
|
@@ -41688,7 +41419,7 @@ function _sfc_render$17(e, n, i, o, s, l) {
|
|
|
41688
41419
|
}, _hoisted_2$28, 6)
|
|
41689
41420
|
], 6);
|
|
41690
41421
|
}
|
|
41691
|
-
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]), _hoisted_1$
|
|
41422
|
+
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]), _hoisted_1$46 = ["onKeydown"], _hoisted_2$27 = [
|
|
41692
41423
|
"id",
|
|
41693
41424
|
"aria-label",
|
|
41694
41425
|
"aria-labelledby",
|
|
@@ -41883,7 +41614,7 @@ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$
|
|
|
41883
41614
|
_: 1
|
|
41884
41615
|
}, 8, ["class"])
|
|
41885
41616
|
], 2)
|
|
41886
|
-
], 40, _hoisted_1$
|
|
41617
|
+
], 40, _hoisted_1$46)), [[unref(ClickOutside), _9]])]),
|
|
41887
41618
|
default: withCtx(() => [createElementVNode("div", {
|
|
41888
41619
|
id: unref($),
|
|
41889
41620
|
ref_key: "triggerRef",
|
|
@@ -42532,7 +42263,7 @@ var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render
|
|
|
42532
42263
|
handleMousedown: x
|
|
42533
42264
|
};
|
|
42534
42265
|
}
|
|
42535
|
-
}), _hoisted_1$
|
|
42266
|
+
}), _hoisted_1$45 = [
|
|
42536
42267
|
"aria-disabled",
|
|
42537
42268
|
"tabindex",
|
|
42538
42269
|
"role"
|
|
@@ -42560,7 +42291,7 @@ function _sfc_render$10(e, n, i, s, l, d) {
|
|
|
42560
42291
|
}), [e.icon ? (openBlock(), createBlock(f, { key: 0 }, {
|
|
42561
42292
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(e.icon)))]),
|
|
42562
42293
|
_: 1
|
|
42563
|
-
})) : createCommentVNode("v-if", !0), renderSlot(e.$slots, "default")], 16, _hoisted_1$
|
|
42294
|
+
})) : createCommentVNode("v-if", !0), renderSlot(e.$slots, "default")], 16, _hoisted_1$45)], 64);
|
|
42564
42295
|
}
|
|
42565
42296
|
var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]), useDropdown = () => {
|
|
42566
42297
|
let e = inject("elDropdown", {});
|
|
@@ -42667,7 +42398,7 @@ var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_ren
|
|
|
42667
42398
|
onMousedown: j7
|
|
42668
42399
|
};
|
|
42669
42400
|
}
|
|
42670
|
-
}), _hoisted_1$
|
|
42401
|
+
}), _hoisted_1$44 = ["role", "aria-labelledby"];
|
|
42671
42402
|
function _sfc_render$8(e, n, i, o, s, l) {
|
|
42672
42403
|
return openBlock(), createElementBlock("ul", {
|
|
42673
42404
|
ref: e.dropdownListWrapperRef,
|
|
@@ -42680,7 +42411,7 @@ function _sfc_render$8(e, n, i, o, s, l) {
|
|
|
42680
42411
|
onFocus: n[1] ||= (...n) => e.onFocus && e.onFocus(...n),
|
|
42681
42412
|
onKeydown: n[2] ||= withModifiers((...n) => e.handleKeydown && e.handleKeydown(...n), ["self"]),
|
|
42682
42413
|
onMousedown: n[3] ||= withModifiers((...n) => e.onMousedown && e.onMousedown(...n), ["self"])
|
|
42683
|
-
}, [renderSlot(e.$slots, "default")], 46, _hoisted_1$
|
|
42414
|
+
}, [renderSlot(e.$slots, "default")], 46, _hoisted_1$44);
|
|
42684
42415
|
}
|
|
42685
42416
|
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]), ElDropdown = withInstall(Dropdown, {
|
|
42686
42417
|
DropdownItem,
|
|
@@ -42742,7 +42473,7 @@ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_ren
|
|
|
42742
42473
|
focus: (e) => e instanceof FocusEvent,
|
|
42743
42474
|
[INPUT_EVENT]: (e) => isNumber(e) || isNil_default(e),
|
|
42744
42475
|
[UPDATE_MODEL_EVENT]: (e) => isNumber(e) || isNil_default(e)
|
|
42745
|
-
}, _hoisted_1$
|
|
42476
|
+
}, _hoisted_1$43 = ["aria-label", "onKeydown"], _hoisted_2$26 = ["aria-label", "onKeydown"], ElInputNumber = withInstall(/* @__PURE__ */ _export_sfc(/* @__PURE__ */ defineComponent({
|
|
42746
42477
|
...defineComponent({ name: "ElInputNumber" }),
|
|
42747
42478
|
props: inputNumberProps,
|
|
42748
42479
|
emits: inputNumberEmits,
|
|
@@ -42849,7 +42580,7 @@ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_ren
|
|
|
42849
42580
|
}, [createVNode(unref(ElIcon), null, {
|
|
42850
42581
|
default: withCtx(() => [unref(A7) ? (openBlock(), createBlock(unref(arrow_down_default), { key: 0 })) : (openBlock(), createBlock(unref(minus_default), { key: 1 }))]),
|
|
42851
42582
|
_: 1
|
|
42852
|
-
})], 42, _hoisted_1$
|
|
42583
|
+
})], 42, _hoisted_1$43)), [[unref(vRepeatClick), z7]]) : createCommentVNode("v-if", !0),
|
|
42853
42584
|
e.controls ? withDirectives((openBlock(), createElementBlock("span", {
|
|
42854
42585
|
key: 1,
|
|
42855
42586
|
role: "button",
|
|
@@ -43468,7 +43199,7 @@ var ElSubMenu = withNoopInstall(SubMenu), elPaginationKey = Symbol("elPagination
|
|
|
43468
43199
|
},
|
|
43469
43200
|
prevText: { type: String },
|
|
43470
43201
|
prevIcon: { type: iconPropType }
|
|
43471
|
-
}), paginationPrevEmits = { click: (e) => e instanceof MouseEvent }, _hoisted_1$
|
|
43202
|
+
}), paginationPrevEmits = { click: (e) => e instanceof MouseEvent }, _hoisted_1$42 = [
|
|
43472
43203
|
"disabled",
|
|
43473
43204
|
"aria-label",
|
|
43474
43205
|
"aria-disabled"
|
|
@@ -43488,7 +43219,7 @@ var ElSubMenu = withNoopInstall(SubMenu), elPaginationKey = Symbol("elPagination
|
|
|
43488
43219
|
}, [e.prevText ? (openBlock(), createElementBlock("span", _hoisted_2$25, toDisplayString(e.prevText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
|
|
43489
43220
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(e.prevIcon)))]),
|
|
43490
43221
|
_: 1
|
|
43491
|
-
}))], 8, _hoisted_1$
|
|
43222
|
+
}))], 8, _hoisted_1$42));
|
|
43492
43223
|
}
|
|
43493
43224
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]), paginationNextProps = buildProps({
|
|
43494
43225
|
disabled: Boolean,
|
|
@@ -43502,7 +43233,7 @@ var ElSubMenu = withNoopInstall(SubMenu), elPaginationKey = Symbol("elPagination
|
|
|
43502
43233
|
},
|
|
43503
43234
|
nextText: { type: String },
|
|
43504
43235
|
nextIcon: { type: iconPropType }
|
|
43505
|
-
}), _hoisted_1$
|
|
43236
|
+
}), _hoisted_1$41 = [
|
|
43506
43237
|
"disabled",
|
|
43507
43238
|
"aria-label",
|
|
43508
43239
|
"aria-disabled"
|
|
@@ -43522,7 +43253,7 @@ var ElSubMenu = withNoopInstall(SubMenu), elPaginationKey = Symbol("elPagination
|
|
|
43522
43253
|
}, [e.nextText ? (openBlock(), createElementBlock("span", _hoisted_2$24, toDisplayString(e.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
|
|
43523
43254
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(e.nextIcon)))]),
|
|
43524
43255
|
_: 1
|
|
43525
|
-
}))], 8, _hoisted_1$
|
|
43256
|
+
}))], 8, _hoisted_1$41));
|
|
43526
43257
|
}
|
|
43527
43258
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]), selectGroupKey = Symbol("ElSelectGroup"), selectKey = Symbol("ElSelect");
|
|
43528
43259
|
function useOption(e, n) {
|
|
@@ -43624,7 +43355,7 @@ var _sfc_main$4 = defineComponent({
|
|
|
43624
43355
|
states: s
|
|
43625
43356
|
};
|
|
43626
43357
|
}
|
|
43627
|
-
}), _hoisted_1$
|
|
43358
|
+
}), _hoisted_1$40 = [
|
|
43628
43359
|
"id",
|
|
43629
43360
|
"aria-disabled",
|
|
43630
43361
|
"aria-selected"
|
|
@@ -43638,7 +43369,7 @@ function _sfc_render$4(e, n, i, o, s, l) {
|
|
|
43638
43369
|
"aria-selected": e.itemSelected,
|
|
43639
43370
|
onMouseenter: n[0] ||= (...n) => e.hoverItem && e.hoverItem(...n),
|
|
43640
43371
|
onClick: n[1] ||= withModifiers((...n) => e.selectOptionClick && e.selectOptionClick(...n), ["stop"])
|
|
43641
|
-
}, [renderSlot(e.$slots, "default", {}, () => [createElementVNode("span", null, toDisplayString(e.currentLabel), 1)])], 42, _hoisted_1$
|
|
43372
|
+
}, [renderSlot(e.$slots, "default", {}, () => [createElementVNode("span", null, toDisplayString(e.currentLabel), 1)])], 42, _hoisted_1$40)), [[vShow, e.visible]]);
|
|
43642
43373
|
}
|
|
43643
43374
|
var Option = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]), _sfc_main$3 = defineComponent({
|
|
43644
43375
|
name: "ElSelectDropdown",
|
|
@@ -44284,7 +44015,7 @@ var useSelect = (e, n, i) => {
|
|
|
44284
44015
|
hoverOption: y
|
|
44285
44016
|
};
|
|
44286
44017
|
}
|
|
44287
|
-
}), _hoisted_1$
|
|
44018
|
+
}), _hoisted_1$39 = [
|
|
44288
44019
|
"disabled",
|
|
44289
44020
|
"autocomplete",
|
|
44290
44021
|
"aria-activedescendant",
|
|
@@ -44486,7 +44217,7 @@ function _sfc_render$2(e, n, i, s, l, f) {
|
|
|
44486
44217
|
onCompositionupdate: n[12] ||= (...n) => e.handleComposition && e.handleComposition(...n),
|
|
44487
44218
|
onCompositionend: n[13] ||= (...n) => e.handleComposition && e.handleComposition(...n),
|
|
44488
44219
|
onInput: n[14] ||= (...n) => e.debouncedQueryChange && e.debouncedQueryChange(...n)
|
|
44489
|
-
}, null, 46, _hoisted_1$
|
|
44220
|
+
}, null, 46, _hoisted_1$39)), [[vModelText, e.query]]) : createCommentVNode("v-if", !0)
|
|
44490
44221
|
], 6)) : createCommentVNode("v-if", !0),
|
|
44491
44222
|
e.isIOS && !e.multiple && e.filterable && e.readonly ? (openBlock(), createElementBlock("input", {
|
|
44492
44223
|
key: 1,
|
|
@@ -44736,7 +44467,7 @@ var usePagination = () => inject(elPaginationKey, {}), paginationSizesProps = bu
|
|
|
44736
44467
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]), paginationJumperProps = buildProps({ size: {
|
|
44737
44468
|
type: String,
|
|
44738
44469
|
values: componentSizes
|
|
44739
|
-
} }), _hoisted_1$
|
|
44470
|
+
} }), _hoisted_1$38 = ["disabled"], Jumper = /* @__PURE__ */ _export_sfc(/* @__PURE__ */ defineComponent({
|
|
44740
44471
|
...defineComponent({ name: "ElPaginationJumper" }),
|
|
44741
44472
|
props: paginationJumperProps,
|
|
44742
44473
|
setup(e) {
|
|
@@ -44773,12 +44504,12 @@ var usePagination = () => inject(elPaginationKey, {}), paginationSizesProps = bu
|
|
|
44773
44504
|
"label"
|
|
44774
44505
|
]),
|
|
44775
44506
|
createElementVNode("span", { class: normalizeClass([unref(i).e("classifier")]) }, toDisplayString(unref(n)("el.pagination.pageClassifier")), 3)
|
|
44776
|
-
], 10, _hoisted_1$
|
|
44507
|
+
], 10, _hoisted_1$38));
|
|
44777
44508
|
}
|
|
44778
44509
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]), paginationTotalProps = buildProps({ total: {
|
|
44779
44510
|
type: Number,
|
|
44780
44511
|
default: 1e3
|
|
44781
|
-
} }), _hoisted_1$
|
|
44512
|
+
} }), _hoisted_1$37 = ["disabled"], Total = /* @__PURE__ */ _export_sfc(/* @__PURE__ */ defineComponent({
|
|
44782
44513
|
...defineComponent({ name: "ElPaginationTotal" }),
|
|
44783
44514
|
props: paginationTotalProps,
|
|
44784
44515
|
setup(e) {
|
|
@@ -44786,7 +44517,7 @@ var usePagination = () => inject(elPaginationKey, {}), paginationSizesProps = bu
|
|
|
44786
44517
|
return (e, s) => (openBlock(), createElementBlock("span", {
|
|
44787
44518
|
class: normalizeClass(unref(i).e("total")),
|
|
44788
44519
|
disabled: unref(o)
|
|
44789
|
-
}, toDisplayString(unref(n)("el.pagination.total", { total: e.total })), 11, _hoisted_1$
|
|
44520
|
+
}, toDisplayString(unref(n)("el.pagination.total", { total: e.total })), 11, _hoisted_1$37));
|
|
44790
44521
|
}
|
|
44791
44522
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]), paginationPagerProps = buildProps({
|
|
44792
44523
|
currentPage: {
|
|
@@ -44802,7 +44533,7 @@ var usePagination = () => inject(elPaginationKey, {}), paginationSizesProps = bu
|
|
|
44802
44533
|
default: 7
|
|
44803
44534
|
},
|
|
44804
44535
|
disabled: Boolean
|
|
44805
|
-
}), _hoisted_1$
|
|
44536
|
+
}), _hoisted_1$36 = ["onKeyup"], _hoisted_2$22 = [
|
|
44806
44537
|
"aria-current",
|
|
44807
44538
|
"aria-label",
|
|
44808
44539
|
"tabindex"
|
|
@@ -44912,7 +44643,7 @@ var usePagination = () => inject(elPaginationKey, {}), paginationSizesProps = bu
|
|
|
44912
44643
|
"aria-label": unref(d)("el.pagination.currentPage", { pager: e.pageCount }),
|
|
44913
44644
|
tabindex: unref(P7)
|
|
44914
44645
|
}, toDisplayString(e.pageCount), 11, _hoisted_6$2)) : createCommentVNode("v-if", !0)
|
|
44915
|
-
], 42, _hoisted_1$
|
|
44646
|
+
], 42, _hoisted_1$36));
|
|
44916
44647
|
}
|
|
44917
44648
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]), isAbsent = (e) => typeof e != "number", paginationProps = buildProps({
|
|
44918
44649
|
pageSize: Number,
|
|
@@ -45244,7 +44975,7 @@ var usePagination = () => inject(elPaginationKey, {}), paginationSizesProps = bu
|
|
|
45244
44975
|
[UPDATE_MODEL_EVENT]: (e) => isBoolean(e) || isString(e) || isNumber(e),
|
|
45245
44976
|
[CHANGE_EVENT]: (e) => isBoolean(e) || isString(e) || isNumber(e),
|
|
45246
44977
|
[INPUT_EVENT]: (e) => isBoolean(e) || isString(e) || isNumber(e)
|
|
45247
|
-
}, _hoisted_1$
|
|
44978
|
+
}, _hoisted_1$35 = ["onClick"], _hoisted_2$21 = [
|
|
45248
44979
|
"id",
|
|
45249
44980
|
"aria-checked",
|
|
45250
44981
|
"aria-disabled",
|
|
@@ -45423,7 +45154,7 @@ var usePagination = () => inject(elPaginationKey, {}), paginationSizesProps = bu
|
|
|
45423
45154
|
key: 1,
|
|
45424
45155
|
"aria-hidden": !unref(z7)
|
|
45425
45156
|
}, toDisplayString(e.activeText), 9, _hoisted_5$3)) : createCommentVNode("v-if", !0)], 2)) : createCommentVNode("v-if", !0)
|
|
45426
|
-
], 14, _hoisted_1$
|
|
45157
|
+
], 14, _hoisted_1$35));
|
|
45427
45158
|
}
|
|
45428
45159
|
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]])), N8nBadge_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
45429
45160
|
name: "N8nBadge",
|
|
@@ -45503,7 +45234,7 @@ var N8nKeyboardShortcut_default = /* @__PURE__ */ __plugin_vue_export_helper_def
|
|
|
45503
45234
|
shortcut: "_shortcut_102yy_1",
|
|
45504
45235
|
keyWrapper: "_keyWrapper_102yy_7",
|
|
45505
45236
|
key: "_key_102yy_7"
|
|
45506
|
-
} }]]), _hoisted_1$
|
|
45237
|
+
} }]]), _hoisted_1$34 = ["data-test-id"], _hoisted_2$20 = ["onClick"], N8nActionDropdown_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
45507
45238
|
__name: "ActionDropdown",
|
|
45508
45239
|
props: {
|
|
45509
45240
|
items: {},
|
|
@@ -45597,7 +45328,7 @@ var N8nKeyboardShortcut_default = /* @__PURE__ */ __plugin_vue_export_helper_def
|
|
|
45597
45328
|
key: 3,
|
|
45598
45329
|
ref_for: !0
|
|
45599
45330
|
}, i.shortcut, { class: unref(f).shortcut }), null, 16, ["class"])) : createCommentVNode("", !0)
|
|
45600
|
-
], 10, _hoisted_1$
|
|
45331
|
+
], 10, _hoisted_1$34)]),
|
|
45601
45332
|
_: 2
|
|
45602
45333
|
}, 1032, [
|
|
45603
45334
|
"command",
|
|
@@ -45686,7 +45417,7 @@ function useParentScroll(e, n) {
|
|
|
45686
45417
|
detachScrollListeners: o
|
|
45687
45418
|
};
|
|
45688
45419
|
}
|
|
45689
|
-
var _hoisted_1$
|
|
45420
|
+
var _hoisted_1$33 = { key: 0 }, _hoisted_2$19 = { key: 1 }, Loading_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
45690
45421
|
__name: "Loading",
|
|
45691
45422
|
props: {
|
|
45692
45423
|
animated: {
|
|
@@ -45716,7 +45447,7 @@ var _hoisted_1$32 = { key: 0 }, _hoisted_2$19 = { key: 1 }, Loading_default$1 =
|
|
|
45716
45447
|
key: "0"
|
|
45717
45448
|
} : {
|
|
45718
45449
|
name: "template",
|
|
45719
|
-
fn: withCtx(() => [e.variant === "h1" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
45450
|
+
fn: withCtx(() => [e.variant === "h1" ? (openBlock(), createElementBlock("div", _hoisted_1$33, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.rows, (i, o) => (openBlock(), createElementBlock("div", {
|
|
45720
45451
|
key: o,
|
|
45721
45452
|
class: normalizeClass({ [n.$style.h1Last]: i === e.rows && e.rows > 1 && e.shrinkLast })
|
|
45722
45453
|
}, [createVNode(unref(ElSkeletonItem), { variant: e.variant }, null, 8, ["variant"])], 2))), 128))])) : e.variant === "p" ? (openBlock(), createElementBlock("div", _hoisted_2$19, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.rows, (i, o) => (openBlock(), createElementBlock("div", {
|
|
@@ -47348,7 +47079,7 @@ var N8nAvatar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
47348
47079
|
icon: "_icon_6d4nm_36",
|
|
47349
47080
|
hoverable: "_hoverable_6d4nm_44",
|
|
47350
47081
|
append: "_append_6d4nm_55"
|
|
47351
|
-
} }]]), _hoisted_1$
|
|
47082
|
+
} }]]), _hoisted_1$32 = { class: "progress-circle" }, _hoisted_2$18 = ["width", "height"], _hoisted_3$10 = ["stroke-width", "r"], _hoisted_4$5 = ["stroke-width", "r"], N8nCircleLoader_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
47352
47083
|
__name: "CircleLoader",
|
|
47353
47084
|
props: {
|
|
47354
47085
|
radius: {},
|
|
@@ -47360,7 +47091,7 @@ var N8nAvatar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
47360
47091
|
strokeDasharray: `${o.value}`,
|
|
47361
47092
|
strokeDashoffset: `${s.value}`
|
|
47362
47093
|
}));
|
|
47363
|
-
return (n, o) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
47094
|
+
return (n, o) => (openBlock(), createElementBlock("div", _hoisted_1$32, [(openBlock(), createElementBlock("svg", {
|
|
47364
47095
|
class: "progress-ring",
|
|
47365
47096
|
width: i.value,
|
|
47366
47097
|
height: i.value
|
|
@@ -48284,7 +48015,7 @@ var N8nColorPicker_default = /* @__PURE__ */ __plugin_vue_export_helper_default(
|
|
|
48284
48015
|
function _sfc_render(e, n) {
|
|
48285
48016
|
return openBlock(), createElementBlock("div", { class: normalizeClass(e.$style.n8nTable) }, [createElementVNode("div", { class: normalizeClass(e.$style.n8nTableScroll) }, [createElementVNode("table", null, [renderSlot(e.$slots, "default")])], 2)], 2);
|
|
48286
48017
|
}
|
|
48287
|
-
var TableBase_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render], ["__cssModules", { $style: TableBase_vue_vue_type_style_index_0_lang_module_default }]]), _hoisted_1$
|
|
48018
|
+
var TableBase_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render], ["__cssModules", { $style: TableBase_vue_vue_type_style_index_0_lang_module_default }]]), _hoisted_1$31 = { key: 1 }, _hoisted_2$17 = { class: "pagination" }, _hoisted_3$9 = { class: "pageSizeSelector" }, ALL_ROWS = -1, N8nDatatable_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
48288
48019
|
name: "N8nDatatable",
|
|
48289
48020
|
__name: "Datatable",
|
|
48290
48021
|
props: {
|
|
@@ -48344,7 +48075,7 @@ var TableBase_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_
|
|
|
48344
48075
|
key: 0,
|
|
48345
48076
|
row: i,
|
|
48346
48077
|
column: e
|
|
48347
|
-
}, null, 8, ["row", "column"])) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
48078
|
+
}, null, 8, ["row", "column"])) : (openBlock(), createElementBlock("span", _hoisted_1$31, toDisplayString(N7(i, e)), 1))], 2))), 128))]))], !0)), 256))])]),
|
|
48348
48079
|
_: 3
|
|
48349
48080
|
}),
|
|
48350
48081
|
renderSlot(n.$slots, "postdata", {}, void 0, !0),
|
|
@@ -48511,7 +48242,175 @@ var TableBase_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_
|
|
|
48511
48242
|
"class"
|
|
48512
48243
|
]));
|
|
48513
48244
|
}
|
|
48514
|
-
}), [["__cssModules", { $style: { link: "_link_2v7cu_1" } }]])
|
|
48245
|
+
}), [["__cssModules", { $style: { link: "_link_2v7cu_1" } }]]), N8nFloatingWindow_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
48246
|
+
__name: "FloatingWindow",
|
|
48247
|
+
props: {
|
|
48248
|
+
width: { default: 560 },
|
|
48249
|
+
height: { default: 700 },
|
|
48250
|
+
minWidth: { default: 400 },
|
|
48251
|
+
minHeight: { default: 300 },
|
|
48252
|
+
initialPosition: { default: void 0 }
|
|
48253
|
+
},
|
|
48254
|
+
emits: [
|
|
48255
|
+
"close",
|
|
48256
|
+
"resize",
|
|
48257
|
+
"move",
|
|
48258
|
+
"header-double-click"
|
|
48259
|
+
],
|
|
48260
|
+
setup(e, { expose: n, emit: i }) {
|
|
48261
|
+
let o = e, s = i, l = ref(0), d = ref(0), f = ref(0), p = ref(0), _ = ref(!1), y = 0, x = 0, $ = ref(!1), k7 = "s", A7 = 0, M7 = 0, N7 = 0, P7 = 0, F7 = 0, I7 = 0, L7 = ref(!1);
|
|
48262
|
+
function R7(e, n, i, o) {
|
|
48263
|
+
let s = window.innerWidth - i, l = window.innerHeight - o;
|
|
48264
|
+
return {
|
|
48265
|
+
x: Math.max(0, Math.min(e, s)),
|
|
48266
|
+
y: Math.max(0, Math.min(n, l))
|
|
48267
|
+
};
|
|
48268
|
+
}
|
|
48269
|
+
function z7() {
|
|
48270
|
+
let e = R7((window.innerWidth - f.value) / 2, (window.innerHeight - p.value) / 2, f.value, p.value);
|
|
48271
|
+
l.value = e.x, d.value = e.y;
|
|
48272
|
+
}
|
|
48273
|
+
function B7(e, n) {
|
|
48274
|
+
f.value = n.width, p.value = n.height;
|
|
48275
|
+
let i = R7(e.x, e.y, f.value, p.value);
|
|
48276
|
+
l.value = i.x, d.value = i.y, s("resize", {
|
|
48277
|
+
width: f.value,
|
|
48278
|
+
height: p.value
|
|
48279
|
+
}), s("move", {
|
|
48280
|
+
x: l.value,
|
|
48281
|
+
y: d.value
|
|
48282
|
+
});
|
|
48283
|
+
}
|
|
48284
|
+
function V7() {
|
|
48285
|
+
s("header-double-click");
|
|
48286
|
+
}
|
|
48287
|
+
function H7(e) {
|
|
48288
|
+
e.button === 0 && (_.value = !0, L7.value = !0, y = e.clientX - l.value, x = e.clientY - d.value, document.addEventListener("mousemove", U7), document.addEventListener("mouseup", W7));
|
|
48289
|
+
}
|
|
48290
|
+
function U7(e) {
|
|
48291
|
+
if (!_.value) return;
|
|
48292
|
+
let n = R7(e.clientX - y, e.clientY - x, f.value, p.value);
|
|
48293
|
+
l.value = n.x, d.value = n.y;
|
|
48294
|
+
}
|
|
48295
|
+
function W7() {
|
|
48296
|
+
_.value = !1, L7.value = !1, s("move", {
|
|
48297
|
+
x: l.value,
|
|
48298
|
+
y: d.value
|
|
48299
|
+
}), document.removeEventListener("mousemove", U7), document.removeEventListener("mouseup", W7);
|
|
48300
|
+
}
|
|
48301
|
+
function G7(e, n) {
|
|
48302
|
+
n.button === 0 && (n.preventDefault(), k7 = e, $.value = !0, L7.value = !0, A7 = n.clientX, M7 = n.clientY, N7 = l.value, P7 = d.value, F7 = f.value, I7 = p.value, document.addEventListener("mousemove", K7), document.addEventListener("mouseup", J7));
|
|
48303
|
+
}
|
|
48304
|
+
function K7(e) {
|
|
48305
|
+
if (!$.value) return;
|
|
48306
|
+
let n = e.clientX - A7, i = e.clientY - M7, s = N7, _ = P7, y = F7, x = I7;
|
|
48307
|
+
if (k7.includes("e")) y = Math.max(o.minWidth, F7 + n);
|
|
48308
|
+
else if (k7.includes("w")) {
|
|
48309
|
+
let e = F7 - o.minWidth, i = Math.min(n, e);
|
|
48310
|
+
y = F7 - i, s = N7 + i;
|
|
48311
|
+
}
|
|
48312
|
+
if (k7.includes("s")) x = Math.max(o.minHeight, I7 + i);
|
|
48313
|
+
else if (k7 === "n" || k7 === "ne" || k7 === "nw") {
|
|
48314
|
+
let e = I7 - o.minHeight, n = Math.min(i, e);
|
|
48315
|
+
x = I7 - n, _ = P7 + n;
|
|
48316
|
+
}
|
|
48317
|
+
s < 0 && (y += s, s = 0), _ < 0 && (x += _, _ = 0), s + y > window.innerWidth && (y = window.innerWidth - s), _ + x > window.innerHeight && (x = window.innerHeight - _), y = Math.max(o.minWidth, y), x = Math.max(o.minHeight, x), l.value = s, d.value = _, f.value = y, p.value = x;
|
|
48318
|
+
}
|
|
48319
|
+
function J7() {
|
|
48320
|
+
$.value = !1, L7.value = !1, s("resize", {
|
|
48321
|
+
width: f.value,
|
|
48322
|
+
height: p.value
|
|
48323
|
+
}), s("move", {
|
|
48324
|
+
x: l.value,
|
|
48325
|
+
y: d.value
|
|
48326
|
+
}), document.removeEventListener("mousemove", K7), document.removeEventListener("mouseup", J7);
|
|
48327
|
+
}
|
|
48328
|
+
return onMounted(() => {
|
|
48329
|
+
if (f.value = o.width, p.value = o.height, o.initialPosition) {
|
|
48330
|
+
let e = R7(o.initialPosition.x, o.initialPosition.y, f.value, p.value);
|
|
48331
|
+
l.value = e.x, d.value = e.y;
|
|
48332
|
+
} else z7();
|
|
48333
|
+
}), onBeforeUnmount(() => {
|
|
48334
|
+
document.removeEventListener("mousemove", U7), document.removeEventListener("mouseup", W7), document.removeEventListener("mousemove", K7), document.removeEventListener("mouseup", J7);
|
|
48335
|
+
}), n({ resetPosition: B7 }), (e, n) => (openBlock(), createElementBlock("div", {
|
|
48336
|
+
class: normalizeClass([e.$style.floatingWindow, { [e.$style.interacting]: L7.value }]),
|
|
48337
|
+
style: normalizeStyle({
|
|
48338
|
+
width: `${f.value}px`,
|
|
48339
|
+
height: `${p.value}px`,
|
|
48340
|
+
minWidth: `${o.minWidth}px`,
|
|
48341
|
+
minHeight: `${o.minHeight}px`,
|
|
48342
|
+
top: `${d.value}px`,
|
|
48343
|
+
left: `${l.value}px`
|
|
48344
|
+
}),
|
|
48345
|
+
"data-test-id": "floating-window"
|
|
48346
|
+
}, [
|
|
48347
|
+
createElementVNode("div", {
|
|
48348
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeN]),
|
|
48349
|
+
onMousedown: n[0] ||= (e) => G7("n", e)
|
|
48350
|
+
}, null, 34),
|
|
48351
|
+
createElementVNode("div", {
|
|
48352
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeS]),
|
|
48353
|
+
onMousedown: n[1] ||= (e) => G7("s", e)
|
|
48354
|
+
}, null, 34),
|
|
48355
|
+
createElementVNode("div", {
|
|
48356
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeE]),
|
|
48357
|
+
onMousedown: n[2] ||= (e) => G7("e", e)
|
|
48358
|
+
}, null, 34),
|
|
48359
|
+
createElementVNode("div", {
|
|
48360
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeW]),
|
|
48361
|
+
onMousedown: n[3] ||= (e) => G7("w", e)
|
|
48362
|
+
}, null, 34),
|
|
48363
|
+
createElementVNode("div", {
|
|
48364
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeNE]),
|
|
48365
|
+
onMousedown: n[4] ||= (e) => G7("ne", e)
|
|
48366
|
+
}, null, 34),
|
|
48367
|
+
createElementVNode("div", {
|
|
48368
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeNW]),
|
|
48369
|
+
onMousedown: n[5] ||= (e) => G7("nw", e)
|
|
48370
|
+
}, null, 34),
|
|
48371
|
+
createElementVNode("div", {
|
|
48372
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeSE]),
|
|
48373
|
+
onMousedown: n[6] ||= (e) => G7("se", e)
|
|
48374
|
+
}, null, 34),
|
|
48375
|
+
createElementVNode("div", {
|
|
48376
|
+
class: normalizeClass([e.$style.resizeHandle, e.$style.resizeSW]),
|
|
48377
|
+
onMousedown: n[7] ||= (e) => G7("sw", e)
|
|
48378
|
+
}, null, 34),
|
|
48379
|
+
createElementVNode("div", {
|
|
48380
|
+
class: normalizeClass(e.$style.header),
|
|
48381
|
+
onMousedown: H7,
|
|
48382
|
+
onDblclick: V7
|
|
48383
|
+
}, [createElementVNode("div", { class: normalizeClass(e.$style.headerLeft) }, [renderSlot(e.$slots, "header-icon"), renderSlot(e.$slots, "header")], 2), createElementVNode("div", {
|
|
48384
|
+
class: normalizeClass(e.$style.headerRight),
|
|
48385
|
+
onMousedown: n[9] ||= withModifiers(() => {}, ["stop"])
|
|
48386
|
+
}, [renderSlot(e.$slots, "header-actions"), createVNode(unref(N8nIconButton_default), {
|
|
48387
|
+
icon: "x",
|
|
48388
|
+
variant: "ghost",
|
|
48389
|
+
size: "medium",
|
|
48390
|
+
"aria-label": "Close",
|
|
48391
|
+
"data-test-id": "floating-window-close",
|
|
48392
|
+
onClick: n[8] ||= (e) => s("close")
|
|
48393
|
+
})], 34)], 34),
|
|
48394
|
+
createElementVNode("div", { class: normalizeClass(e.$style.content) }, [renderSlot(e.$slots, "default")], 2)
|
|
48395
|
+
], 6));
|
|
48396
|
+
}
|
|
48397
|
+
}), [["__cssModules", { $style: {
|
|
48398
|
+
floatingWindow: "_floatingWindow_9usf5_1",
|
|
48399
|
+
interacting: "_interacting_9usf5_12",
|
|
48400
|
+
header: "_header_9usf5_16",
|
|
48401
|
+
headerLeft: "_headerLeft_9usf5_31",
|
|
48402
|
+
headerRight: "_headerRight_9usf5_38",
|
|
48403
|
+
content: "_content_9usf5_45",
|
|
48404
|
+
resizeHandle: "_resizeHandle_9usf5_50",
|
|
48405
|
+
resizeN: "_resizeN_9usf5_55",
|
|
48406
|
+
resizeS: "_resizeS_9usf5_63",
|
|
48407
|
+
resizeE: "_resizeE_9usf5_71",
|
|
48408
|
+
resizeW: "_resizeW_9usf5_79",
|
|
48409
|
+
resizeNE: "_resizeNE_9usf5_87",
|
|
48410
|
+
resizeNW: "_resizeNW_9usf5_95",
|
|
48411
|
+
resizeSE: "_resizeSE_9usf5_103",
|
|
48412
|
+
resizeSW: "_resizeSW_9usf5_111"
|
|
48413
|
+
} }]]);
|
|
48515
48414
|
const emailRegex = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, VALIDATORS = {
|
|
48516
48415
|
REQUIRED: { validate: (e) => typeof e == "string" && e.trim() || typeof e == "number" || typeof e == "boolean" ? !1 : { messageKey: "formInput.validator.fieldRequired" } },
|
|
48517
48416
|
MIN_LENGTH: { validate: (e, n) => typeof e == "string" && e.length < n.minimum ? {
|
|
@@ -48659,7 +48558,7 @@ var Checkbox_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__
|
|
|
48659
48558
|
checkboxRoot: "_checkboxRoot_10n7x_13",
|
|
48660
48559
|
checkboxIndicator: "_checkboxIndicator_10n7x_45",
|
|
48661
48560
|
label: "_label_10n7x_52"
|
|
48662
|
-
} }]]), _hoisted_1$
|
|
48561
|
+
} }]]), _hoisted_1$30 = ["for"], _hoisted_2$16 = ["data-test-id"], _hoisted_3$8 = ["data-test-id"], _hoisted_4$4 = ["data-test-id"], N8nInputLabel_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
48663
48562
|
name: "N8nInputLabel",
|
|
48664
48563
|
__name: "InputLabel",
|
|
48665
48564
|
props: {
|
|
@@ -48761,7 +48660,7 @@ var Checkbox_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__
|
|
|
48761
48660
|
class: normalizeClass(i.$style.issues),
|
|
48762
48661
|
"data-test-id": `${e.inputName}-parameter-input-issues-container`
|
|
48763
48662
|
}, [renderSlot(i.$slots, "issues")], 10, _hoisted_3$8)) : createCommentVNode("", !0)
|
|
48764
|
-
], 2)], 10, _hoisted_1$
|
|
48663
|
+
], 2)], 10, _hoisted_1$30)) : createCommentVNode("", !0), i.$slots.persistentOptions ? (openBlock(), createElementBlock("div", {
|
|
48765
48664
|
key: 1,
|
|
48766
48665
|
class: "pl-4xs",
|
|
48767
48666
|
"data-test-id": `${e.inputName}-parameter-input-persistent-options-container`
|
|
@@ -48790,6 +48689,221 @@ var Checkbox_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__
|
|
|
48790
48689
|
medium: "_medium_rrfzh_130",
|
|
48791
48690
|
underline: "_underline_rrfzh_134",
|
|
48792
48691
|
tooltipPopper: "_tooltipPopper_rrfzh_138"
|
|
48692
|
+
} }]]), isBrowser = typeof document < "u", noop = () => {}, isArray$4 = Array.isArray;
|
|
48693
|
+
function warn$1(e) {
|
|
48694
|
+
let n = Array.from(arguments).slice(1);
|
|
48695
|
+
console.warn.apply(console, ["[Vue Router warn]: " + e].concat(n));
|
|
48696
|
+
}
|
|
48697
|
+
function isSameRouteRecord(e, n) {
|
|
48698
|
+
return (e.aliasOf || e) === (n.aliasOf || n);
|
|
48699
|
+
}
|
|
48700
|
+
function isSameRouteLocationParams(e, n) {
|
|
48701
|
+
if (Object.keys(e).length !== Object.keys(n).length) return !1;
|
|
48702
|
+
for (let i in e) if (!isSameRouteLocationParamsValue(e[i], n[i])) return !1;
|
|
48703
|
+
return !0;
|
|
48704
|
+
}
|
|
48705
|
+
function isSameRouteLocationParamsValue(e, n) {
|
|
48706
|
+
return isArray$4(e) ? isEquivalentArray(e, n) : isArray$4(n) ? isEquivalentArray(n, e) : e === n;
|
|
48707
|
+
}
|
|
48708
|
+
function isEquivalentArray(e, n) {
|
|
48709
|
+
return isArray$4(n) ? e.length === n.length && e.every((e, i) => e === n[i]) : e.length === 1 && e[0] === n;
|
|
48710
|
+
}
|
|
48711
|
+
var NavigationType;
|
|
48712
|
+
(function(e) {
|
|
48713
|
+
e.pop = "pop", e.push = "push";
|
|
48714
|
+
})(NavigationType ||= {});
|
|
48715
|
+
var NavigationDirection;
|
|
48716
|
+
(function(e) {
|
|
48717
|
+
e.back = "back", e.forward = "forward", e.unknown = "";
|
|
48718
|
+
})(NavigationDirection ||= {});
|
|
48719
|
+
function isRouteLocation(e) {
|
|
48720
|
+
return typeof e == "string" || e && typeof e == "object";
|
|
48721
|
+
}
|
|
48722
|
+
Symbol(process.env.NODE_ENV === "production" ? "" : "navigation failure");
|
|
48723
|
+
var NavigationFailureType;
|
|
48724
|
+
(function(e) {
|
|
48725
|
+
e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated";
|
|
48726
|
+
})(NavigationFailureType ||= {}), Symbol(process.env.NODE_ENV === "production" ? "" : "router view location matched"), Symbol(process.env.NODE_ENV === "production" ? "" : "router view depth");
|
|
48727
|
+
var routerKey = Symbol(process.env.NODE_ENV === "production" ? "" : "router"), routeLocationKey = Symbol(process.env.NODE_ENV === "production" ? "" : "route location");
|
|
48728
|
+
Symbol(process.env.NODE_ENV === "production" ? "" : "router view location");
|
|
48729
|
+
function useLink(e) {
|
|
48730
|
+
let n = inject(routerKey), i = inject(routeLocationKey), o = !1, s = null, l = computed(() => {
|
|
48731
|
+
let i = unref(e.to);
|
|
48732
|
+
return process.env.NODE_ENV !== "production" && (!o || i !== s) && (isRouteLocation(i) || (o ? warn$1("Invalid value for prop \"to\" in useLink()\n- to:", i, "\n- previous to:", s, "\n- props:", e) : warn$1("Invalid value for prop \"to\" in useLink()\n- to:", i, "\n- props:", e)), s = i, o = !0), n.resolve(i);
|
|
48733
|
+
}), d = computed(() => {
|
|
48734
|
+
let { matched: e } = l.value, { length: n } = e, o = e[n - 1], s = i.matched;
|
|
48735
|
+
if (!o || !s.length) return -1;
|
|
48736
|
+
let d = s.findIndex(isSameRouteRecord.bind(null, o));
|
|
48737
|
+
if (d > -1) return d;
|
|
48738
|
+
let f = getOriginalPath(e[n - 2]);
|
|
48739
|
+
return n > 1 && getOriginalPath(o) === f && s[s.length - 1].path !== f ? s.findIndex(isSameRouteRecord.bind(null, e[n - 2])) : d;
|
|
48740
|
+
}), f = computed(() => d.value > -1 && includesParams(i.params, l.value.params)), p = computed(() => d.value > -1 && d.value === i.matched.length - 1 && isSameRouteLocationParams(i.params, l.value.params));
|
|
48741
|
+
function y(i = {}) {
|
|
48742
|
+
if (guardEvent(i)) {
|
|
48743
|
+
let i = n[unref(e.replace) ? "replace" : "push"](unref(e.to)).catch(noop);
|
|
48744
|
+
return e.viewTransition && typeof document < "u" && "startViewTransition" in document && document.startViewTransition(() => i), i;
|
|
48745
|
+
}
|
|
48746
|
+
return Promise.resolve();
|
|
48747
|
+
}
|
|
48748
|
+
if (process.env.NODE_ENV !== "production" && isBrowser) {
|
|
48749
|
+
let n = getCurrentInstance();
|
|
48750
|
+
if (n) {
|
|
48751
|
+
let i = {
|
|
48752
|
+
route: l.value,
|
|
48753
|
+
isActive: f.value,
|
|
48754
|
+
isExactActive: p.value,
|
|
48755
|
+
error: null
|
|
48756
|
+
};
|
|
48757
|
+
n.__vrl_devtools = n.__vrl_devtools || [], n.__vrl_devtools.push(i), watchEffect(() => {
|
|
48758
|
+
i.route = l.value, i.isActive = f.value, i.isExactActive = p.value, i.error = isRouteLocation(unref(e.to)) ? null : "Invalid \"to\" value";
|
|
48759
|
+
}, { flush: "post" });
|
|
48760
|
+
}
|
|
48761
|
+
}
|
|
48762
|
+
return {
|
|
48763
|
+
route: l,
|
|
48764
|
+
href: computed(() => l.value.href),
|
|
48765
|
+
isActive: f,
|
|
48766
|
+
isExactActive: p,
|
|
48767
|
+
navigate: y
|
|
48768
|
+
};
|
|
48769
|
+
}
|
|
48770
|
+
function preferSingleVNode(e) {
|
|
48771
|
+
return e.length === 1 ? e[0] : e;
|
|
48772
|
+
}
|
|
48773
|
+
var RouterLink = /* @__PURE__ */ defineComponent({
|
|
48774
|
+
name: "RouterLink",
|
|
48775
|
+
compatConfig: { MODE: 3 },
|
|
48776
|
+
props: {
|
|
48777
|
+
to: {
|
|
48778
|
+
type: [String, Object],
|
|
48779
|
+
required: !0
|
|
48780
|
+
},
|
|
48781
|
+
replace: Boolean,
|
|
48782
|
+
activeClass: String,
|
|
48783
|
+
exactActiveClass: String,
|
|
48784
|
+
custom: Boolean,
|
|
48785
|
+
ariaCurrentValue: {
|
|
48786
|
+
type: String,
|
|
48787
|
+
default: "page"
|
|
48788
|
+
}
|
|
48789
|
+
},
|
|
48790
|
+
useLink,
|
|
48791
|
+
setup(e, { slots: n }) {
|
|
48792
|
+
let i = reactive(useLink(e)), { options: o } = inject(routerKey), s = computed(() => ({
|
|
48793
|
+
[getLinkClass(e.activeClass, o.linkActiveClass, "router-link-active")]: i.isActive,
|
|
48794
|
+
[getLinkClass(e.exactActiveClass, o.linkExactActiveClass, "router-link-exact-active")]: i.isExactActive
|
|
48795
|
+
}));
|
|
48796
|
+
return () => {
|
|
48797
|
+
let o = n.default && preferSingleVNode(n.default(i));
|
|
48798
|
+
return e.custom ? o : h("a", {
|
|
48799
|
+
"aria-current": i.isExactActive ? e.ariaCurrentValue : null,
|
|
48800
|
+
href: i.href,
|
|
48801
|
+
onClick: i.navigate,
|
|
48802
|
+
class: s.value
|
|
48803
|
+
}, o);
|
|
48804
|
+
};
|
|
48805
|
+
}
|
|
48806
|
+
});
|
|
48807
|
+
function guardEvent(e) {
|
|
48808
|
+
if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && !e.defaultPrevented && !(e.button !== void 0 && e.button !== 0)) {
|
|
48809
|
+
if (e.currentTarget && e.currentTarget.getAttribute) {
|
|
48810
|
+
let n = e.currentTarget.getAttribute("target");
|
|
48811
|
+
if (/\b_blank\b/i.test(n)) return;
|
|
48812
|
+
}
|
|
48813
|
+
return e.preventDefault && e.preventDefault(), !0;
|
|
48814
|
+
}
|
|
48815
|
+
}
|
|
48816
|
+
function includesParams(e, n) {
|
|
48817
|
+
for (let i in n) {
|
|
48818
|
+
let o = n[i], s = e[i];
|
|
48819
|
+
if (typeof o == "string") {
|
|
48820
|
+
if (o !== s) return !1;
|
|
48821
|
+
} else if (!isArray$4(s) || s.length !== o.length || o.some((e, n) => e !== s[n])) return !1;
|
|
48822
|
+
}
|
|
48823
|
+
return !0;
|
|
48824
|
+
}
|
|
48825
|
+
function getOriginalPath(e) {
|
|
48826
|
+
return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
|
|
48827
|
+
}
|
|
48828
|
+
var getLinkClass = (e, n, i) => e ?? n ?? i, _hoisted_1$29 = [
|
|
48829
|
+
"href",
|
|
48830
|
+
"target",
|
|
48831
|
+
"title",
|
|
48832
|
+
"data-test-id"
|
|
48833
|
+
], N8nRoute_default = /* @__PURE__ */ defineComponent({
|
|
48834
|
+
name: "N8nRoute",
|
|
48835
|
+
__name: "Route",
|
|
48836
|
+
props: {
|
|
48837
|
+
to: {},
|
|
48838
|
+
newWindow: { type: Boolean },
|
|
48839
|
+
title: {},
|
|
48840
|
+
dataTestId: {}
|
|
48841
|
+
},
|
|
48842
|
+
setup(e) {
|
|
48843
|
+
let n = e, i = computed(() => n.newWindow ? !1 : typeof n.to == "string" ? n.to.startsWith("/") : n.to !== void 0), o = computed(() => !i.value);
|
|
48844
|
+
return (n, s) => i.value && e.to ? (openBlock(), createBlock(unref(RouterLink), mergeProps({
|
|
48845
|
+
key: 0,
|
|
48846
|
+
to: e.to,
|
|
48847
|
+
role: "link"
|
|
48848
|
+
}, n.$attrs, { "data-test-id": e.dataTestId }), {
|
|
48849
|
+
default: withCtx(() => [renderSlot(n.$slots, "default")]),
|
|
48850
|
+
_: 3
|
|
48851
|
+
}, 16, ["to", "data-test-id"])) : (openBlock(), createElementBlock("a", mergeProps({
|
|
48852
|
+
key: 1,
|
|
48853
|
+
href: e.to ? `${e.to}` : void 0,
|
|
48854
|
+
target: o.value ? "_blank" : "_self"
|
|
48855
|
+
}, n.$attrs, {
|
|
48856
|
+
title: e.title,
|
|
48857
|
+
"data-test-id": e.dataTestId
|
|
48858
|
+
}), [renderSlot(n.$slots, "default")], 16, _hoisted_1$29));
|
|
48859
|
+
}
|
|
48860
|
+
}), N8nLink_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
48861
|
+
name: "N8nLink",
|
|
48862
|
+
__name: "Link",
|
|
48863
|
+
props: {
|
|
48864
|
+
to: { default: void 0 },
|
|
48865
|
+
size: { default: void 0 },
|
|
48866
|
+
newWindow: { type: Boolean },
|
|
48867
|
+
bold: {
|
|
48868
|
+
type: Boolean,
|
|
48869
|
+
default: !1
|
|
48870
|
+
},
|
|
48871
|
+
underline: {
|
|
48872
|
+
type: Boolean,
|
|
48873
|
+
default: !1
|
|
48874
|
+
},
|
|
48875
|
+
theme: { default: "primary" },
|
|
48876
|
+
title: {}
|
|
48877
|
+
},
|
|
48878
|
+
setup(e) {
|
|
48879
|
+
return (n, i) => (openBlock(), createBlock(unref(N8nRoute_default), mergeProps({
|
|
48880
|
+
to: e.to,
|
|
48881
|
+
title: e.title,
|
|
48882
|
+
"new-window": e.newWindow
|
|
48883
|
+
}, n.$attrs, { class: "n8n-link" }), {
|
|
48884
|
+
default: withCtx(() => [createElementVNode("span", { class: normalizeClass(n.$style[`${e.underline ? `${e.theme}-underline` : e.theme}`]) }, [createVNode(unref(N8nText_default), {
|
|
48885
|
+
size: e.size,
|
|
48886
|
+
bold: e.bold
|
|
48887
|
+
}, {
|
|
48888
|
+
default: withCtx(() => [renderSlot(n.$slots, "default")]),
|
|
48889
|
+
_: 3
|
|
48890
|
+
}, 8, ["size", "bold"])], 2)]),
|
|
48891
|
+
_: 3
|
|
48892
|
+
}, 16, [
|
|
48893
|
+
"to",
|
|
48894
|
+
"title",
|
|
48895
|
+
"new-window"
|
|
48896
|
+
]));
|
|
48897
|
+
}
|
|
48898
|
+
}), [["__cssModules", { $style: {
|
|
48899
|
+
primary: "_primary_1dwjk_115",
|
|
48900
|
+
text: "_text_1dwjk_122",
|
|
48901
|
+
danger: "_danger_1dwjk_132",
|
|
48902
|
+
secondary: "_secondary_1dwjk_139",
|
|
48903
|
+
"primary-underline": "_primary-underline_1dwjk_146 _primary_1dwjk_115",
|
|
48904
|
+
"text-underline": "_text-underline_1dwjk_151 _text_1dwjk_122",
|
|
48905
|
+
"danger-underline": "_danger-underline_1dwjk_156 _danger_1dwjk_132",
|
|
48906
|
+
"secondary-underline": "_secondary-underline_1dwjk_161 _secondary_1dwjk_139"
|
|
48793
48907
|
} }]]), _hoisted_1$28 = ["onKeydown"], _hoisted_2$15 = ["textContent"], _hoisted_3$7 = ["textContent"], N8nFormInput_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
48794
48908
|
__name: "FormInput",
|
|
48795
48909
|
props: {
|
|
@@ -60148,7 +60262,7 @@ var VALID_SIDES = [
|
|
|
60148
60262
|
"end",
|
|
60149
60263
|
"center"
|
|
60150
60264
|
];
|
|
60151
|
-
const isSide = (e) => VALID_SIDES.includes(e), isAlign = (e) => VALID_ALIGNS.includes(e);
|
|
60265
|
+
const isSide = (e) => VALID_SIDES.includes(e), isAlign = (e) => VALID_ALIGNS.includes(e), DropdownMenuPortalTargetKey = Symbol("DropdownMenuPortalTarget");
|
|
60152
60266
|
var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
60153
60267
|
name: "N8nDropdownMenuSearch",
|
|
60154
60268
|
__name: "DropdownMenuSearch",
|
|
@@ -60228,34 +60342,34 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60228
60342
|
"update:subMenuOpen"
|
|
60229
60343
|
],
|
|
60230
60344
|
setup(e, { emit: n }) {
|
|
60231
|
-
let i = e, s = n, l = useCssModule(), d = ref(""),
|
|
60345
|
+
let i = e, s = n, l = useCssModule(), d = inject(DropdownMenuPortalTargetKey, ref(void 0)), f = ref(""), p = ref(!1), k = ref(null), $ = useMenuKeyboardNavigation({
|
|
60232
60346
|
items: toRef(() => i.children ?? []),
|
|
60233
60347
|
hasSubMenu: (e) => e.children && e.children.length > 0 || !!e.loading || !!e.searchable,
|
|
60234
60348
|
onSelect: (e, n) => {
|
|
60235
|
-
s("select", n.id),
|
|
60349
|
+
s("select", n.id), B7();
|
|
60236
60350
|
},
|
|
60237
60351
|
onCloseSubMenu: () => {
|
|
60238
|
-
|
|
60352
|
+
B7();
|
|
60239
60353
|
}
|
|
60240
|
-
}), { highlightedIndex:
|
|
60241
|
-
|
|
60242
|
-
},
|
|
60354
|
+
}), { highlightedIndex: k7 } = $, M7 = (e) => {
|
|
60355
|
+
f.value = e, s("search", e, i.id);
|
|
60356
|
+
}, N7 = (e, n) => {
|
|
60243
60357
|
s("search", e, n);
|
|
60244
|
-
},
|
|
60245
|
-
i.searchable &&
|
|
60246
|
-
},
|
|
60247
|
-
|
|
60248
|
-
},
|
|
60249
|
-
|
|
60250
|
-
},
|
|
60358
|
+
}, P7 = (e) => {
|
|
60359
|
+
i.searchable && $.handleKeydown(e);
|
|
60360
|
+
}, F7 = computed(() => i.children && i.children.length > 0), I7 = computed(() => F7.value || i.loading || i.searchable), R7 = (e) => {
|
|
60361
|
+
p.value = e, s("update:subMenuOpen", e), e && i.searchable ? ($.highlightFirst(), setTimeout(() => k.value?.focus(), SUBMENU_FOCUS_DELAY)) : $.reset(), !e && i.searchable && (f.value = "", s("search", "", i.id));
|
|
60362
|
+
}, B7 = () => {
|
|
60363
|
+
p.value = !1, s("update:subMenuOpen", !1), i.searchable && (f.value = "", s("search", "", i.id));
|
|
60364
|
+
}, V7 = computed(() => ({ class: l["item-leading"] })), H7 = computed(() => ({ class: l["item-label"] })), U7 = computed(() => ({ class: l["item-trailing"] })), W7 = (e) => {
|
|
60251
60365
|
s("select", e);
|
|
60252
|
-
},
|
|
60253
|
-
!i.disabled && !
|
|
60366
|
+
}, K7 = () => {
|
|
60367
|
+
!i.disabled && !I7.value && s("select", i.id);
|
|
60254
60368
|
};
|
|
60255
60369
|
return watch(() => i.children, () => {
|
|
60256
|
-
|
|
60370
|
+
$.reset();
|
|
60257
60371
|
}), watch(() => i.subMenuOpen, (e) => {
|
|
60258
|
-
e !== void 0 && (
|
|
60372
|
+
e !== void 0 && (p.value = e);
|
|
60259
60373
|
}, { immediate: !0 }), (n, s) => {
|
|
60260
60374
|
let _ = resolveComponent("N8nDropdownMenuItem");
|
|
60261
60375
|
return openBlock(), createElementBlock("div", {
|
|
@@ -60264,10 +60378,10 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60264
60378
|
}, [e.divided ? (openBlock(), createBlock(unref(DropdownMenuSeparator_default), {
|
|
60265
60379
|
key: 0,
|
|
60266
60380
|
class: normalizeClass(unref(l).separator)
|
|
60267
|
-
}, null, 8, ["class"])) : createCommentVNode("", !0),
|
|
60381
|
+
}, null, 8, ["class"])) : createCommentVNode("", !0), I7.value ? (openBlock(), createBlock(unref(DropdownMenuSub_default), {
|
|
60268
60382
|
key: 1,
|
|
60269
|
-
open:
|
|
60270
|
-
"onUpdate:open":
|
|
60383
|
+
open: p.value,
|
|
60384
|
+
"onUpdate:open": R7
|
|
60271
60385
|
}, {
|
|
60272
60386
|
default: withCtx(() => [createVNode(unref(DropdownMenuSubTrigger_default), {
|
|
60273
60387
|
disabled: e.disabled,
|
|
@@ -60281,7 +60395,7 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60281
60395
|
default: withCtx(() => [
|
|
60282
60396
|
renderSlot(n.$slots, "item-leading", {
|
|
60283
60397
|
item: i,
|
|
60284
|
-
ui:
|
|
60398
|
+
ui: V7.value
|
|
60285
60399
|
}, () => [e.icon?.type === "icon" ? (openBlock(), createBlock(Icon_default, {
|
|
60286
60400
|
key: 0,
|
|
60287
60401
|
icon: e.icon.value,
|
|
@@ -60298,7 +60412,7 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60298
60412
|
}, toDisplayString(e.icon.value), 3)) : createCommentVNode("", !0)]),
|
|
60299
60413
|
renderSlot(n.$slots, "item-label", {
|
|
60300
60414
|
item: i,
|
|
60301
|
-
ui:
|
|
60415
|
+
ui: H7.value
|
|
60302
60416
|
}, () => [createVNode(Text_default, {
|
|
60303
60417
|
class: normalizeClass(unref(l)["item-label"]),
|
|
60304
60418
|
size: "medium",
|
|
@@ -60315,26 +60429,26 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60315
60429
|
}, null, 8, ["class", "color"])
|
|
60316
60430
|
]),
|
|
60317
60431
|
_: 3
|
|
60318
|
-
}, 8, ["disabled", "class"]), createVNode(unref(DropdownMenuPortal_default),
|
|
60432
|
+
}, 8, ["disabled", "class"]), createVNode(unref(DropdownMenuPortal_default), normalizeProps(guardReactiveProps(unref(d) ? { to: unref(d) } : {})), {
|
|
60319
60433
|
default: withCtx(() => [createVNode(unref(DropdownMenuSubContent_default), {
|
|
60320
60434
|
ref: "subContentRef",
|
|
60321
60435
|
class: normalizeClass(unref(l)["sub-content"]),
|
|
60322
60436
|
"side-offset": 1,
|
|
60323
60437
|
"prioritize-position": !0,
|
|
60324
60438
|
sticky: "partial",
|
|
60325
|
-
onKeydown:
|
|
60439
|
+
onKeydown: P7
|
|
60326
60440
|
}, {
|
|
60327
60441
|
default: withCtx(() => [e.searchable && !e.loading ? (openBlock(), createBlock(DropdownMenuSearch_default, {
|
|
60328
60442
|
key: 0,
|
|
60329
60443
|
ref_key: "searchRef",
|
|
60330
|
-
ref:
|
|
60331
|
-
"model-value":
|
|
60444
|
+
ref: k,
|
|
60445
|
+
"model-value": f.value,
|
|
60332
60446
|
placeholder: e.searchPlaceholder ?? "Search...",
|
|
60333
|
-
"onUpdate:modelValue":
|
|
60334
|
-
"onKey:escape":
|
|
60335
|
-
"onKey:navigate": unref(
|
|
60336
|
-
"onKey:arrowLeft": unref(
|
|
60337
|
-
"onKey:enter": unref(
|
|
60447
|
+
"onUpdate:modelValue": M7,
|
|
60448
|
+
"onKey:escape": B7,
|
|
60449
|
+
"onKey:navigate": unref($).navigate,
|
|
60450
|
+
"onKey:arrowLeft": unref($).handleArrowLeft,
|
|
60451
|
+
"onKey:enter": unref($).handleEnter
|
|
60338
60452
|
}, null, 8, [
|
|
60339
60453
|
"model-value",
|
|
60340
60454
|
"placeholder",
|
|
@@ -60349,32 +60463,32 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60349
60463
|
rows: 1,
|
|
60350
60464
|
class: normalizeClass(unref(l)["loading-item"]),
|
|
60351
60465
|
variant: "p"
|
|
60352
|
-
}, null, 8, ["class"]))), 128))], 2)) :
|
|
60466
|
+
}, null, 8, ["class"]))), 128))], 2)) : F7.value ? (openBlock(), createElementBlock("div", {
|
|
60353
60467
|
key: 2,
|
|
60354
60468
|
class: normalizeClass(unref(l)["children-container"]),
|
|
60355
60469
|
"data-menu-items": "",
|
|
60356
|
-
onMouseenter: s[0] ||= (...e) => unref(
|
|
60470
|
+
onMouseenter: s[0] ||= (...e) => unref($).reset && unref($).reset(...e)
|
|
60357
60471
|
}, [(openBlock(!0), createElementBlock(Fragment, null, renderList(i.children, (i, o) => (openBlock(), createBlock(_, mergeProps({
|
|
60358
60472
|
key: i.id,
|
|
60359
60473
|
ref_for: !0
|
|
60360
60474
|
}, i, {
|
|
60361
|
-
highlighted: e.searchable && unref(
|
|
60475
|
+
highlighted: e.searchable && unref(k7) === o,
|
|
60362
60476
|
divided: i.divided && o > 0,
|
|
60363
|
-
onSelect:
|
|
60364
|
-
onSearch:
|
|
60477
|
+
onSelect: W7,
|
|
60478
|
+
onSearch: N7
|
|
60365
60479
|
}), {
|
|
60366
60480
|
"item-leading": withCtx((e) => [renderSlot(n.$slots, "item-leading", mergeProps({ ref_for: !0 }, e))]),
|
|
60367
60481
|
"item-label": withCtx((e) => [renderSlot(n.$slots, "item-label", mergeProps({ ref_for: !0 }, e))]),
|
|
60368
60482
|
"item-trailing": withCtx((e) => [renderSlot(n.$slots, "item-trailing", mergeProps({ ref_for: !0 }, e))]),
|
|
60369
60483
|
_: 3
|
|
60370
|
-
}, 16, ["highlighted", "divided"]))), 128))], 34)) : e.searchable &&
|
|
60484
|
+
}, 16, ["highlighted", "divided"]))), 128))], 34)) : e.searchable && f.value ? (openBlock(), createElementBlock("div", {
|
|
60371
60485
|
key: 3,
|
|
60372
60486
|
class: normalizeClass(unref(l)["empty-state"])
|
|
60373
60487
|
}, "No results", 2)) : createCommentVNode("", !0)]),
|
|
60374
60488
|
_: 3
|
|
60375
60489
|
}, 8, ["class"])]),
|
|
60376
60490
|
_: 3
|
|
60377
|
-
})]),
|
|
60491
|
+
}, 16)]),
|
|
60378
60492
|
_: 3
|
|
60379
60493
|
}, 8, ["open"])) : (openBlock(), createBlock(unref(DropdownMenuItem_default$1), {
|
|
60380
60494
|
key: 2,
|
|
@@ -60384,12 +60498,12 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60384
60498
|
i.class,
|
|
60385
60499
|
{ [unref(l).highlighted]: e.highlighted }
|
|
60386
60500
|
]),
|
|
60387
|
-
onSelect:
|
|
60501
|
+
onSelect: K7
|
|
60388
60502
|
}, {
|
|
60389
60503
|
default: withCtx(() => [
|
|
60390
60504
|
renderSlot(n.$slots, "item-leading", {
|
|
60391
60505
|
item: i,
|
|
60392
|
-
ui:
|
|
60506
|
+
ui: V7.value
|
|
60393
60507
|
}, () => [e.icon?.type === "icon" ? (openBlock(), createBlock(Icon_default, {
|
|
60394
60508
|
key: 0,
|
|
60395
60509
|
icon: e.icon.value,
|
|
@@ -60406,7 +60520,7 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60406
60520
|
}, toDisplayString(e.icon.value), 3)) : createCommentVNode("", !0)]),
|
|
60407
60521
|
renderSlot(n.$slots, "item-label", {
|
|
60408
60522
|
item: i,
|
|
60409
|
-
ui:
|
|
60523
|
+
ui: H7.value
|
|
60410
60524
|
}, () => [createVNode(Text_default, {
|
|
60411
60525
|
class: normalizeClass(unref(l)["item-label"]),
|
|
60412
60526
|
size: "medium",
|
|
@@ -60417,7 +60531,7 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60417
60531
|
}, 8, ["class", "color"])]),
|
|
60418
60532
|
renderSlot(n.$slots, "item-trailing", {
|
|
60419
60533
|
item: i,
|
|
60420
|
-
ui:
|
|
60534
|
+
ui: U7.value
|
|
60421
60535
|
}),
|
|
60422
60536
|
e.checked ? (openBlock(), createBlock(Icon_default, {
|
|
60423
60537
|
key: 0,
|
|
@@ -60453,6 +60567,11 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60453
60567
|
__name: "DropdownMenu",
|
|
60454
60568
|
props: {
|
|
60455
60569
|
id: {},
|
|
60570
|
+
portalTarget: {},
|
|
60571
|
+
modal: {
|
|
60572
|
+
type: Boolean,
|
|
60573
|
+
default: !0
|
|
60574
|
+
},
|
|
60456
60575
|
items: {},
|
|
60457
60576
|
modelValue: { type: Boolean },
|
|
60458
60577
|
defaultOpen: { type: Boolean },
|
|
@@ -60492,11 +60611,13 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60492
60611
|
"submenu:toggle"
|
|
60493
60612
|
],
|
|
60494
60613
|
setup(e, { expose: n, emit: i }) {
|
|
60495
|
-
let s = e, l = i, d = useSlots(), f = useCssModule()
|
|
60614
|
+
let s = e, l = i, d = useSlots(), f = useCssModule();
|
|
60615
|
+
provide(DropdownMenuPortalTargetKey, computed(() => s.portalTarget));
|
|
60616
|
+
let p = ref(s.defaultOpen ?? !1), k7 = computed(() => s.modelValue !== void 0), A7 = ref(null), M7 = ref(null), N7 = ref(""), P7 = ref(-1), F7 = useMenuKeyboardNavigation({
|
|
60496
60617
|
items: toRef(() => s.items),
|
|
60497
60618
|
hasSubMenu: (e) => e.children && e.children.length > 0 || !!e.loading || !!e.searchable,
|
|
60498
60619
|
onSelect: (e, n) => {
|
|
60499
|
-
l("select", n.id),
|
|
60620
|
+
l("select", n.id), e9();
|
|
60500
60621
|
},
|
|
60501
60622
|
onOpenSubMenu: (e) => {
|
|
60502
60623
|
P7.value = e;
|
|
@@ -60504,49 +60625,66 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60504
60625
|
onCloseSubMenu: () => {
|
|
60505
60626
|
P7.value >= 0 && (P7.value = -1);
|
|
60506
60627
|
}
|
|
60507
|
-
}), { highlightedIndex: I7 } = F7,
|
|
60628
|
+
}), { highlightedIndex: I7 } = F7, R7 = computed(() => s.modal ? k7.value ? p.value : void 0 : p.value), z7 = computed(() => {
|
|
60508
60629
|
let [e, n] = s.placement.split("-");
|
|
60509
60630
|
return {
|
|
60510
60631
|
side: isSide(e) ? e : "bottom",
|
|
60511
60632
|
align: isAlign(n) ? n : "center"
|
|
60512
60633
|
};
|
|
60513
|
-
}),
|
|
60634
|
+
}), B7 = computed(() => s.maxHeight ? {
|
|
60514
60635
|
maxHeight: typeof s.maxHeight == "number" ? `${s.maxHeight}px` : s.maxHeight,
|
|
60515
60636
|
overflowY: "auto"
|
|
60516
|
-
} : {}),
|
|
60637
|
+
} : {}), V7 = (e) => {
|
|
60517
60638
|
p.value = e, l("update:modelValue", e), e || (F7.reset(), P7.value = -1), s.searchable && (e ? nextTick(() => {
|
|
60518
60639
|
A7.value?.focus();
|
|
60519
60640
|
}) : (N7.value = "", l("search", "")));
|
|
60520
|
-
},
|
|
60641
|
+
}, H7 = useDebounceFn((e) => {
|
|
60521
60642
|
l("search", e);
|
|
60522
|
-
}, s.searchDebounce),
|
|
60523
|
-
N7.value = e, await
|
|
60524
|
-
},
|
|
60643
|
+
}, s.searchDebounce), U7 = async (e) => {
|
|
60644
|
+
N7.value = e, await H7(e);
|
|
60645
|
+
}, W7 = (e) => {
|
|
60525
60646
|
s.searchable && F7.handleKeydown(e);
|
|
60526
|
-
},
|
|
60647
|
+
}, X7 = (e, n) => {
|
|
60527
60648
|
let i = s.items[e];
|
|
60528
60649
|
i && l("submenu:toggle", i.id, n), n ? (P7.value = e, F7.reset()) : P7.value === e && (P7.value = -1, nextTick(() => {
|
|
60529
60650
|
s.searchable && A7.value ? (I7.value = e, A7.value.focus()) : ((M7.value?.$el)?.querySelectorAll("[role=\"menuitem\"]")?.[e])?.focus();
|
|
60530
60651
|
}));
|
|
60531
|
-
},
|
|
60532
|
-
l("select", e),
|
|
60533
|
-
},
|
|
60652
|
+
}, Z7 = (e) => {
|
|
60653
|
+
l("select", e), e9();
|
|
60654
|
+
}, Q7 = (e, n) => {
|
|
60534
60655
|
l("search", e, n);
|
|
60535
|
-
},
|
|
60656
|
+
}, $7 = () => {
|
|
60536
60657
|
p.value = !0, l("update:modelValue", !0);
|
|
60537
|
-
},
|
|
60658
|
+
}, e9 = () => {
|
|
60538
60659
|
p.value = !1, l("update:modelValue", !1), F7.reset(), P7.value = -1;
|
|
60539
60660
|
};
|
|
60540
60661
|
return watch(() => s.modelValue, (e) => {
|
|
60541
60662
|
e !== void 0 && (p.value = e, e || (F7.reset(), P7.value = -1));
|
|
60542
60663
|
}, { immediate: !0 }), watch(() => s.items, () => {
|
|
60543
60664
|
F7.reset();
|
|
60665
|
+
}), watch(p, (e, n, i) => {
|
|
60666
|
+
let o = s.portalTarget;
|
|
60667
|
+
if (!o || typeof o == "string" || !e) return;
|
|
60668
|
+
let l = o.ownerDocument;
|
|
60669
|
+
if (!l || l === document) return;
|
|
60670
|
+
let d, f = setTimeout(() => {
|
|
60671
|
+
d = (e) => {
|
|
60672
|
+
let n = e.target;
|
|
60673
|
+
(M7.value?.$el)?.contains(n) || n.closest?.("[role=\"menu\"]") || setTimeout(() => {
|
|
60674
|
+
p.value && e9();
|
|
60675
|
+
}, 0);
|
|
60676
|
+
}, l.addEventListener("pointerdown", d);
|
|
60677
|
+
}, 0);
|
|
60678
|
+
i(() => {
|
|
60679
|
+
clearTimeout(f), d && l.removeEventListener("pointerdown", d);
|
|
60680
|
+
});
|
|
60544
60681
|
}), n({
|
|
60545
|
-
open:
|
|
60546
|
-
close:
|
|
60682
|
+
open: $7,
|
|
60683
|
+
close: e9
|
|
60547
60684
|
}), (n, i) => (openBlock(), createBlock(unref(DropdownMenuRoot_default), {
|
|
60548
|
-
|
|
60549
|
-
|
|
60685
|
+
modal: e.modal,
|
|
60686
|
+
open: R7.value,
|
|
60687
|
+
"onUpdate:open": V7
|
|
60550
60688
|
}, {
|
|
60551
60689
|
default: withCtx(() => [d.trigger ? (openBlock(), createBlock(unref(DropdownMenuTrigger_default), {
|
|
60552
60690
|
key: 0,
|
|
@@ -60568,19 +60706,19 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60568
60706
|
class: normalizeClass(unref(f)["activator-emoji"])
|
|
60569
60707
|
}, toDisplayString(e.activatorIcon.value), 3)) : createCommentVNode("", !0)]),
|
|
60570
60708
|
_: 1
|
|
60571
|
-
}, 8, ["class", "disabled"])), (openBlock(), createBlock(resolveDynamicComponent(e.teleported ? unref(DropdownMenuPortal_default) : "template"),
|
|
60709
|
+
}, 8, ["class", "disabled"])), (openBlock(), createBlock(resolveDynamicComponent(e.teleported || e.portalTarget ? unref(DropdownMenuPortal_default) : "template"), normalizeProps(guardReactiveProps(e.portalTarget ? { to: e.portalTarget } : {})), {
|
|
60572
60710
|
default: withCtx(() => [createVNode(unref(DropdownMenuContent_default), {
|
|
60573
60711
|
id: e.id,
|
|
60574
60712
|
ref_key: "contentRef",
|
|
60575
60713
|
ref: M7,
|
|
60576
60714
|
class: normalizeClass([unref(f).content, e.extraPopperClass]),
|
|
60577
60715
|
"data-menu-content": "",
|
|
60578
|
-
side:
|
|
60579
|
-
align:
|
|
60716
|
+
side: z7.value.side,
|
|
60717
|
+
align: z7.value.align,
|
|
60580
60718
|
"side-offset": 5,
|
|
60581
|
-
style: normalizeStyle(
|
|
60719
|
+
style: normalizeStyle(B7.value),
|
|
60582
60720
|
"prioritize-position": !0,
|
|
60583
|
-
onKeydown:
|
|
60721
|
+
onKeydown: W7,
|
|
60584
60722
|
onMouseleave: unref(F7).reset
|
|
60585
60723
|
}, {
|
|
60586
60724
|
default: withCtx(() => [d.content ? renderSlot(n.$slots, "content", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [e.searchable ? (openBlock(), createBlock(DropdownMenuSearch_default, {
|
|
@@ -60589,8 +60727,8 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60589
60727
|
ref: A7,
|
|
60590
60728
|
"model-value": N7.value,
|
|
60591
60729
|
placeholder: e.searchPlaceholder,
|
|
60592
|
-
"onUpdate:modelValue":
|
|
60593
|
-
"onKey:escape":
|
|
60730
|
+
"onUpdate:modelValue": U7,
|
|
60731
|
+
"onKey:escape": e9,
|
|
60594
60732
|
"onKey:navigate": unref(F7).navigate,
|
|
60595
60733
|
"onKey:arrowRight": unref(F7).handleArrowRight,
|
|
60596
60734
|
"onKey:arrowLeft": unref(F7).handleArrowLeft,
|
|
@@ -60625,9 +60763,9 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60625
60763
|
highlighted: unref(I7) === i,
|
|
60626
60764
|
"sub-menu-open": P7.value === i,
|
|
60627
60765
|
divided: e.divided && i > 0,
|
|
60628
|
-
onSelect:
|
|
60629
|
-
onSearch:
|
|
60630
|
-
"onUpdate:subMenuOpen": (e) =>
|
|
60766
|
+
onSelect: Z7,
|
|
60767
|
+
onSearch: Q7,
|
|
60768
|
+
"onUpdate:subMenuOpen": (e) => X7(i, e)
|
|
60631
60769
|
}), createSlots({ _: 2 }, [
|
|
60632
60770
|
d["item-leading"] ? {
|
|
60633
60771
|
name: "item-leading",
|
|
@@ -60660,17 +60798,17 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60660
60798
|
"onMouseleave"
|
|
60661
60799
|
])]),
|
|
60662
60800
|
_: 3
|
|
60663
|
-
}))]),
|
|
60801
|
+
}, 16))]),
|
|
60664
60802
|
_: 3
|
|
60665
|
-
}, 8, ["open"]));
|
|
60803
|
+
}, 8, ["modal", "open"]));
|
|
60666
60804
|
}
|
|
60667
60805
|
}), [["__cssModules", { $style: {
|
|
60668
|
-
activator: "
|
|
60669
|
-
"activator-emoji": "_activator-
|
|
60670
|
-
content: "
|
|
60671
|
-
"items-container": "_items-
|
|
60672
|
-
"loading-item": "_loading-
|
|
60673
|
-
"empty-state": "_empty-
|
|
60806
|
+
activator: "_activator_kauij_1",
|
|
60807
|
+
"activator-emoji": "_activator-emoji_kauij_26",
|
|
60808
|
+
content: "_content_kauij_31",
|
|
60809
|
+
"items-container": "_items-container_kauij_44",
|
|
60810
|
+
"loading-item": "_loading-item_kauij_51",
|
|
60811
|
+
"empty-state": "_empty-state_kauij_55"
|
|
60674
60812
|
} }]]), Switch_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
60675
60813
|
inheritAttrs: !1,
|
|
60676
60814
|
__name: "Switch",
|
|
@@ -60749,4 +60887,4 @@ var _hoisted_1 = ["placeholder", "value"], DropdownMenuSearch_default = /* @__PU
|
|
|
60749
60887
|
small: "_small_13zlt_69",
|
|
60750
60888
|
large: "_large_13zlt_89"
|
|
60751
60889
|
} }]]);
|
|
60752
|
-
export { N8nActionBox_default as N8nActionBox, N8nActionDropdown_default as N8nActionDropdown, N8nActionToggle_default as N8nActionToggle, Alert_default as N8nAlert, AlertDialog_default as N8nAlertDialog, AskAssistantButton_default as N8nAskAssistantButton, AskAssistantChat_default as N8nAskAssistantChat, AskAssistantAvatar_default as N8nAssistantAvatar, AskAssistantIcon_default as N8nAssistantIcon, AskAssistantText_default as N8nAssistantText, N8nAvatar_default as N8nAvatar, N8nBadge_default as N8nBadge, N8nBlockUi_default as N8nBlockUi, N8nBreadcrumbs_default as N8nBreadcrumbs, N8nButton_default as N8nButton, N8nCallout_default as N8nCallout, CanvasCollaborationPill_default as N8nCanvasCollaborationPill, CanvasThinkingPill_default as N8nCanvasThinkingPill, N8nCard_default as N8nCard, Checkbox_default as N8nCheckbox, N8nCircleLoader_default as N8nCircleLoader, N8nCollapsiblePanel_default as N8nCollapsiblePanel, N8nColorPicker_default as N8nColorPicker, N8nCommandBar_default as N8nCommandBar, N8nDataTableServer_default as N8nDataTableServer, N8nDatatable_default as N8nDatatable, DateRangePicker_default as N8nDateRangePicker, Dialog_default as N8nDialog, DialogClose_default as N8nDialogClose, DialogContent_default as N8nDialogContent, DialogDescription_default as N8nDialogDescription, DialogFooter_default as N8nDialogFooter, DialogHeader_default as N8nDialogHeader, DialogOverlay_default as N8nDialogOverlay, DialogTitle_default as N8nDialogTitle, N8nDropdown_default as N8nDropdown, DropdownMenu_default as N8nDropdownMenu, N8nExternalLink_default as N8nExternalLink, N8nFormBox_default as N8nFormBox, N8nFormInput_default as N8nFormInput, N8nFormInputs_default as N8nFormInputs, N8nHeaderAction_default as N8nHeaderAction, N8nHeading_default as N8nHeading, N8nIcon_default as N8nIcon, N8nIconButton_default as N8nIconButton, N8nIconPicker_default as N8nIconPicker, N8nInfoAccordion_default as N8nInfoAccordion, N8nInfoTip_default as N8nInfoTip, InlineAskAssistantButton_default as N8nInlineAskAssistantButton, N8nInlineTextEdit_default as N8nInlineTextEdit, Input_default as N8nInput, N8nInputLabel_default as N8nInputLabel, N8nInputNumber_default as N8nInputNumber, InputNumber_default as N8nInputNumber2, N8nKeyboardShortcut_default as N8nKeyboardShortcut, N8nLink_default as N8nLink, N8nLoading_default as N8nLoading, Loading_default as N8nLoading2, N8nLogo_default as N8nLogo, N8nMarkdown_default as N8nMarkdown, N8nMenuItem_default as N8nMenuItem, N8nNavigationDropdown_default as N8nNavigationDropdown, N8nNodeCreatorNode_default as N8nNodeCreatorNode, N8nNodeIcon_default as N8nNodeIcon, N8nNotice_default as N8nNotice, N8nOption_default as N8nOption, Pagination_default as N8nPagination2, N8nPlugin, N8nPopover_default as N8nPopover, N8nPopover_default as N8nPopoverReka, N8nPromptInput_default as N8nPromptInput, N8nPromptInputSuggestions_default as N8nPromptInputSuggestions, N8nPulse_default as N8nPulse, N8nRadioButtons_default as N8nRadioButtons, N8nRecycleScroller_default as N8nRecycleScroller, ResizeObserver_default as N8nResizeObserver, N8nResizeWrapper_default as N8nResizeWrapper, N8nResizeableSticky_default as N8nResizeableSticky, N8nRoute_default as N8nRoute, N8nScrollArea_default as N8nScrollArea, SectionHeader_default as N8nSectionHeader, N8nSelect_default as N8nSelect, Select_default as N8nSelect2, SelectItem_default as N8nSelect2Item, N8nSelectableList_default as N8nSelectableList, N8nSendStopButton_default as N8nSendStopButton, N8nSpinner_default as N8nSpinner, N8nSticky_default as N8nSticky, SuggestedActions_default as N8nSuggestedActions, Switch_default as N8nSwitch2, TableBase_default as N8nTableBase, TableHeaderControlsButton_default as N8nTableHeaderControlsButton, N8nTabs_default as N8nTabs, N8nTag_default as N8nTag, N8nTags_default as N8nTags, N8nText_default as N8nText, N8nTooltip_default as N8nTooltip, N8nTree_default as N8nTree, N8nUserInfo_default as N8nUserInfo, N8nUserSelect_default as N8nUserSelect, N8nUserStack_default as N8nUserStack, N8nUsersList_default as N8nUsersList, TOOLTIP_DELAY_MS, adjustColorLightness, createFormEventBus, directionsCursorMaps, getContrastTextColor, getValueByPath, hasRequiredProps, isAgentSuggestionMessage, isBinary, isCodeDiffMessage, isCustomMenuItem, isCustomMessage, isEndSessionMessage, isErrorMessage, isEventBindingElementAttribute, isSessionErrorMessage, isSessionTimeoutMessage, isSummaryBlock, isTaskAbortedMessage, isTextMessage, isThinkingGroupMessage, isToolMessage, isValidHexColor, isWorkflowUpdatedMessage, locale_exports as locale, n8nHtml, n8nTruncate, removeDynamicAttributes, serializeAttr, toggleCheckbox, uid, updatedIconSet };
|
|
60890
|
+
export { N8nActionBox_default as N8nActionBox, N8nActionDropdown_default as N8nActionDropdown, N8nActionToggle_default as N8nActionToggle, Alert_default as N8nAlert, AlertDialog_default as N8nAlertDialog, AskAssistantButton_default as N8nAskAssistantButton, AskAssistantChat_default as N8nAskAssistantChat, AskAssistantAvatar_default as N8nAssistantAvatar, AskAssistantIcon_default as N8nAssistantIcon, AskAssistantText_default as N8nAssistantText, N8nAvatar_default as N8nAvatar, N8nBadge_default as N8nBadge, N8nBlockUi_default as N8nBlockUi, N8nBreadcrumbs_default as N8nBreadcrumbs, N8nButton_default as N8nButton, N8nCallout_default as N8nCallout, CanvasCollaborationPill_default as N8nCanvasCollaborationPill, CanvasThinkingPill_default as N8nCanvasThinkingPill, N8nCard_default as N8nCard, Checkbox_default as N8nCheckbox, N8nCircleLoader_default as N8nCircleLoader, N8nCollapsiblePanel_default as N8nCollapsiblePanel, N8nColorPicker_default as N8nColorPicker, N8nCommandBar_default as N8nCommandBar, N8nDataTableServer_default as N8nDataTableServer, N8nDatatable_default as N8nDatatable, DateRangePicker_default as N8nDateRangePicker, Dialog_default as N8nDialog, DialogClose_default as N8nDialogClose, DialogContent_default as N8nDialogContent, DialogDescription_default as N8nDialogDescription, DialogFooter_default as N8nDialogFooter, DialogHeader_default as N8nDialogHeader, DialogOverlay_default as N8nDialogOverlay, DialogTitle_default as N8nDialogTitle, N8nDropdown_default as N8nDropdown, DropdownMenu_default as N8nDropdownMenu, N8nExternalLink_default as N8nExternalLink, N8nFloatingWindow_default as N8nFloatingWindow, N8nFormBox_default as N8nFormBox, N8nFormInput_default as N8nFormInput, N8nFormInputs_default as N8nFormInputs, N8nHeaderAction_default as N8nHeaderAction, N8nHeading_default as N8nHeading, N8nIcon_default as N8nIcon, N8nIconButton_default as N8nIconButton, N8nIconPicker_default as N8nIconPicker, N8nInfoAccordion_default as N8nInfoAccordion, N8nInfoTip_default as N8nInfoTip, InlineAskAssistantButton_default as N8nInlineAskAssistantButton, N8nInlineTextEdit_default as N8nInlineTextEdit, Input_default as N8nInput, N8nInputLabel_default as N8nInputLabel, N8nInputNumber_default as N8nInputNumber, InputNumber_default as N8nInputNumber2, N8nKeyboardShortcut_default as N8nKeyboardShortcut, N8nLink_default as N8nLink, N8nLoading_default as N8nLoading, Loading_default as N8nLoading2, N8nLogo_default as N8nLogo, N8nMarkdown_default as N8nMarkdown, N8nMenuItem_default as N8nMenuItem, N8nNavigationDropdown_default as N8nNavigationDropdown, N8nNodeCreatorNode_default as N8nNodeCreatorNode, N8nNodeIcon_default as N8nNodeIcon, N8nNotice_default as N8nNotice, N8nOption_default as N8nOption, Pagination_default as N8nPagination2, N8nPlugin, N8nPopover_default as N8nPopover, N8nPopover_default as N8nPopoverReka, N8nPromptInput_default as N8nPromptInput, N8nPromptInputSuggestions_default as N8nPromptInputSuggestions, N8nPulse_default as N8nPulse, N8nRadioButtons_default as N8nRadioButtons, N8nRecycleScroller_default as N8nRecycleScroller, ResizeObserver_default as N8nResizeObserver, N8nResizeWrapper_default as N8nResizeWrapper, N8nResizeableSticky_default as N8nResizeableSticky, N8nRoute_default as N8nRoute, N8nScrollArea_default as N8nScrollArea, SectionHeader_default as N8nSectionHeader, N8nSelect_default as N8nSelect, Select_default as N8nSelect2, SelectItem_default as N8nSelect2Item, N8nSelectableList_default as N8nSelectableList, N8nSendStopButton_default as N8nSendStopButton, N8nSpinner_default as N8nSpinner, N8nSticky_default as N8nSticky, SuggestedActions_default as N8nSuggestedActions, Switch_default as N8nSwitch2, TableBase_default as N8nTableBase, TableHeaderControlsButton_default as N8nTableHeaderControlsButton, N8nTabs_default as N8nTabs, N8nTag_default as N8nTag, N8nTags_default as N8nTags, N8nText_default as N8nText, N8nTooltip_default as N8nTooltip, N8nTree_default as N8nTree, N8nUserInfo_default as N8nUserInfo, N8nUserSelect_default as N8nUserSelect, N8nUserStack_default as N8nUserStack, N8nUsersList_default as N8nUsersList, TOOLTIP_DELAY_MS, adjustColorLightness, createFormEventBus, directionsCursorMaps, getContrastTextColor, getValueByPath, hasRequiredProps, isAgentSuggestionMessage, isBinary, isCodeDiffMessage, isCustomMenuItem, isCustomMessage, isEndSessionMessage, isErrorMessage, isEventBindingElementAttribute, isSessionErrorMessage, isSessionTimeoutMessage, isSummaryBlock, isTaskAbortedMessage, isTextMessage, isThinkingGroupMessage, isToolMessage, isValidHexColor, isWorkflowUpdatedMessage, locale_exports as locale, n8nHtml, n8nTruncate, removeDynamicAttributes, serializeAttr, toggleCheckbox, uid, updatedIconSet };
|