@vc-shell/framework 2.2.0-pr259.8bff59b → 2.2.0-pr261.333ed7f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-agent/index.js +3 -3
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CaaJs50g.js +1162 -0
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CaaJs50g.js.map +1 -0
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CMiP0Wb2.js} +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CMiP0Wb2.js.map} +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-DmHoLXKj.js → VcScheduler.vue_vue_type_script_setup_true_lang-De4Zl55K.js} +6974 -6671
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-De4Zl55K.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js → VcScheduler.vue_vue_type_style_index_0_lang-BhVdbaHJ.js} +176 -176
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js.map → VcScheduler.vue_vue_type_style_index_0_lang-BhVdbaHJ.js.map} +1 -1
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-rP8wKB3g.js} +2 -2
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-rP8wKB3g.js.map} +1 -1
- package/dist/chunks/{index-CvSe3hjU.js → index-Cu6xEItF.js} +2 -2
- package/dist/chunks/{index-CvSe3hjU.js.map → index-Cu6xEItF.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-components-BW7i7Uhb.js → vendor-vueuse-components-CoR2FSn3.js} +1 -1
- package/dist/chunks/{vendor-vueuse-components-BW7i7Uhb.js.map → vendor-vueuse-components-CoR2FSn3.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-core-BYWoPpF_.js → vendor-vueuse-core-BFa9je5E.js} +83 -82
- package/dist/chunks/{vendor-vueuse-core-BYWoPpF_.js.map → vendor-vueuse-core-BFa9je5E.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-shared-BlCOXw5g.js → vendor-vueuse-shared-kZH3-Km1.js} +2 -2
- package/dist/chunks/{vendor-vueuse-shared-BlCOXw5g.js.map → vendor-vueuse-shared-kZH3-Km1.js.map} +1 -1
- package/dist/core/blade-navigation/types/index.d.ts +8 -0
- package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/core/composables/index.d.ts +1 -0
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useKeyboardShortcuts/format.d.ts +11 -0
- package/dist/core/composables/useKeyboardShortcuts/format.d.ts.map +1 -0
- package/dist/core/composables/useKeyboardShortcuts/hotkey.d.ts +14 -0
- package/dist/core/composables/useKeyboardShortcuts/hotkey.d.ts.map +1 -0
- package/dist/core/composables/useKeyboardShortcuts/index.d.ts +23 -0
- package/dist/core/composables/useKeyboardShortcuts/index.d.ts.map +1 -0
- package/dist/core/composables/useKeyboardShortcuts/match.d.ts +14 -0
- package/dist/core/composables/useKeyboardShortcuts/match.d.ts.map +1 -0
- package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +12 -0
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +217 -208
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/locales/de.js +4 -1
- package/dist/locales/en.js +4 -1
- package/dist/locales/en.json +4 -1
- package/dist/locales/types.d.ts +3 -0
- package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/shortcut-dispatch.d.ts +22 -0
- package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/shortcut-dispatch.d.ts.map +1 -0
- package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
- package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
- package/dist/test-helpers.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts +11 -0
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.d.ts +2 -0
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/index.js +3 -3
- package/package.json +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js +0 -1124
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-DmHoLXKj.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { mergeProps as oe, reactive as We, ref as S, computed as $, inject as W, provide as bt, getCurrentScope as Yt, onScopeDispose as Xt, getCurrentInstance as Fe, onErrorCaptured as Zt, nextTick as me, defineComponent as J, watch as ee, unref as i, openBlock as g, createElementBlock as h, normalizeClass as j, createBlock as q, createCommentVNode as w, renderSlot as B, toValue as ue, useId as ht, onBeforeUnmount as ze, createElementVNode as L, toDisplayString as N, Fragment as Ie, renderList as _e, normalizeStyle as Se,
|
|
2
|
-
import { c as de, ac as en, p as tn, m as nn, j as on, I as an, l as ln, k as rn, B as $t, a as sn, D as un, _ as H, w as cn, T as Ot, K as dn, q as fn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { mergeProps as oe, reactive as We, ref as S, computed as $, inject as W, provide as bt, getCurrentScope as Yt, onScopeDispose as Xt, getCurrentInstance as Fe, onErrorCaptured as Zt, nextTick as me, defineComponent as J, watch as ee, unref as i, openBlock as g, createElementBlock as h, normalizeClass as j, createBlock as q, createCommentVNode as w, renderSlot as B, toValue as ue, useId as ht, onBeforeUnmount as ze, createElementVNode as L, toDisplayString as N, Fragment as Ie, renderList as _e, normalizeStyle as Se, withKeys as _, Teleport as kt, createVNode as T, Transition as we, withCtx as C, resolveDynamicComponent as It, withModifiers as Q, watchEffect as He, shallowReactive as Je, markRaw as Ye, createSlots as pe, createTextVNode as te, withDirectives as et, vModelText as Qt, useAttrs as St, vModelDynamic as _t, onMounted as tt, onUnmounted as wt, normalizeProps as Le, guardReactiveProps as xe } from "vue";
|
|
2
|
+
import { c as de, ac as en, p as tn, m as nn, j as on, I as an, l as ln, k as rn, B as $t, a as sn, D as un, _ as H, w as cn, T as Ot, K as dn, q as fn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CMiP0Wb2.js";
|
|
3
3
|
import { defineRule as $e } from "vee-validate";
|
|
4
4
|
import { a as ft } from "./vendor-vee-validate-rules-4oWUZPpG.js";
|
|
5
5
|
import { a as Et, s as gn, c as vn, b as je, e as Re } from "./vendor-lodash-es-D2n90GJy.js";
|
|
6
6
|
import { X as pn } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
|
|
7
|
-
import {
|
|
7
|
+
import { d as Ct, e as mn, f as yn, g as bn } from "./vendor-vueuse-core-BFa9je5E.js";
|
|
8
8
|
import { c as hn, u as nt } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
9
|
-
import { j as kn } from "./vendor-vueuse-shared-
|
|
9
|
+
import { j as kn } from "./vendor-vueuse-shared-kZH3-Km1.js";
|
|
10
10
|
import { k as In } from "./vendor-tiptap-core-CZbeo7XQ.js";
|
|
11
11
|
import "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
|
|
12
12
|
import { C as Sn, u as wn } from "./vendor-vue-currency-input-CckB4kjx.js";
|
|
13
13
|
import { u as Bt, a as $n } from "./vendor-floating-ui-vue-sCrhit51.js";
|
|
14
14
|
import { f as ot, s as at, o as De, b as Lt } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
15
|
-
import { v as On } from "./vendor-vueuse-components-
|
|
15
|
+
import { v as On } from "./vendor-vueuse-components-CoR2FSn3.js";
|
|
16
16
|
import { p as En } from "./vendor-dompurify-DpIUMBYC.js";
|
|
17
17
|
import { q as Cn } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
|
|
18
18
|
const ye = hn({
|
|
@@ -925,7 +925,90 @@ function At(e = {}) {
|
|
|
925
925
|
})
|
|
926
926
|
};
|
|
927
927
|
}
|
|
928
|
-
const
|
|
928
|
+
const rt = Oe({
|
|
929
|
+
name: "toolbar-service",
|
|
930
|
+
getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
|
|
931
|
+
registerIntoService: (e, t) => e.registerToolbarItem(t.toolbarItem, t.bladeId)
|
|
932
|
+
});
|
|
933
|
+
function _l(e, t) {
|
|
934
|
+
const n = t.toLowerCase();
|
|
935
|
+
rt.preregister({
|
|
936
|
+
bladeId: n,
|
|
937
|
+
toolbarItem: e
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
function Vt() {
|
|
941
|
+
const e = Rt({
|
|
942
|
+
createRegistration: (u, s) => ({ bladeId: u, toolbarItem: s }),
|
|
943
|
+
getRegistrationBladeId: (u) => u.bladeId,
|
|
944
|
+
getRegistrationItemId: (u) => u.toolbarItem.id
|
|
945
|
+
}), t = (u, s) => {
|
|
946
|
+
e.register(u, s);
|
|
947
|
+
}, n = (u, s) => {
|
|
948
|
+
e.unregister(u, s);
|
|
949
|
+
}, o = (u) => {
|
|
950
|
+
const s = u ? u.toLowerCase() : "", f = e.get(s), m = e.get("*"), v = [...f], d = new Set(v.map((c) => c.id));
|
|
951
|
+
return m.forEach((c) => {
|
|
952
|
+
d.has(c.id) || v.push(c);
|
|
953
|
+
}), [...v];
|
|
954
|
+
}, l = (u) => {
|
|
955
|
+
e.clear(u);
|
|
956
|
+
}, r = ({
|
|
957
|
+
id: u,
|
|
958
|
+
bladeId: s,
|
|
959
|
+
toolbarItem: f
|
|
960
|
+
}) => {
|
|
961
|
+
e.update(u, s, f);
|
|
962
|
+
}, a = {
|
|
963
|
+
registerToolbarItem: t,
|
|
964
|
+
unregisterToolbarItem: n,
|
|
965
|
+
getToolbarItems: o,
|
|
966
|
+
clearBladeToolbarItems: l,
|
|
967
|
+
registeredToolbarItems: e.registrations,
|
|
968
|
+
isToolbarItemRegistered: (u) => e.isRegistered(u),
|
|
969
|
+
updateToolbarItem: r
|
|
970
|
+
};
|
|
971
|
+
return rt.replayInto(a), a;
|
|
972
|
+
}
|
|
973
|
+
const fo = "fallback-blade-id";
|
|
974
|
+
let Ge = null;
|
|
975
|
+
const go = Pe({
|
|
976
|
+
key: Ot,
|
|
977
|
+
create: Vt,
|
|
978
|
+
bus: rt,
|
|
979
|
+
name: "ToolbarService"
|
|
980
|
+
});
|
|
981
|
+
function ei() {
|
|
982
|
+
return go.provide();
|
|
983
|
+
}
|
|
984
|
+
function ti(e = {}) {
|
|
985
|
+
const { autoCleanup: t = !0 } = e, n = W(Ot, null);
|
|
986
|
+
!n && !Ge && (Ge = Vt());
|
|
987
|
+
const o = n || Ge;
|
|
988
|
+
if (!o)
|
|
989
|
+
throw new Error("Toolbar service is not available");
|
|
990
|
+
const l = W($t, void 0), r = $(() => l?.value?.id ?? fo), a = (c) => c ?? r.value, u = (c, y) => {
|
|
991
|
+
o.registerToolbarItem(c, a(y));
|
|
992
|
+
}, s = (c, y) => {
|
|
993
|
+
o.unregisterToolbarItem(c, a(y));
|
|
994
|
+
}, f = (c, y, b) => {
|
|
995
|
+
o.updateToolbarItem({ id: c, bladeId: a(b), toolbarItem: y });
|
|
996
|
+
}, m = (c) => o.getToolbarItems(a(c)), v = (c) => {
|
|
997
|
+
o.clearBladeToolbarItems(a(c));
|
|
998
|
+
};
|
|
999
|
+
return Fe() && t && ze(() => {
|
|
1000
|
+
v();
|
|
1001
|
+
}), {
|
|
1002
|
+
registerToolbarItem: u,
|
|
1003
|
+
unregisterToolbarItem: s,
|
|
1004
|
+
updateToolbarItem: f,
|
|
1005
|
+
getToolbarItems: m,
|
|
1006
|
+
clearBladeToolbarItems: v,
|
|
1007
|
+
isToolbarItemRegistered: o.isToolbarItemRegistered,
|
|
1008
|
+
registeredToolbarItems: o.registeredToolbarItems
|
|
1009
|
+
};
|
|
1010
|
+
}
|
|
1011
|
+
const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo = { class: "tw-sr-only" }, ae = /* @__PURE__ */ J({
|
|
929
1012
|
__name: "vc-skeleton",
|
|
930
1013
|
props: {
|
|
931
1014
|
variant: { default: "text" },
|
|
@@ -953,7 +1036,7 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
953
1036
|
"aria-busy": "true",
|
|
954
1037
|
"aria-label": e.ariaLabel
|
|
955
1038
|
}, [
|
|
956
|
-
L("span",
|
|
1039
|
+
L("span", po, N(e.ariaLabel), 1),
|
|
957
1040
|
(g(!0), h(Ie, null, _e(e.rows, (a) => (g(), h("div", {
|
|
958
1041
|
key: a,
|
|
959
1042
|
class: "vc-skeleton__row",
|
|
@@ -962,7 +1045,7 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
962
1045
|
}),
|
|
963
1046
|
"aria-hidden": "true"
|
|
964
1047
|
}, null, 4))), 128))
|
|
965
|
-
], 10,
|
|
1048
|
+
], 10, vo)) : (g(), h("div", {
|
|
966
1049
|
key: 1,
|
|
967
1050
|
class: j(["vc-skeleton__shape", [`vc-skeleton__shape--${e.variant}`, { "tw-animate-pulse": e.animated }]]),
|
|
968
1051
|
style: Se({
|
|
@@ -973,71 +1056,10 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
973
1056
|
"aria-busy": "true",
|
|
974
1057
|
"aria-label": e.ariaLabel
|
|
975
1058
|
}, [
|
|
976
|
-
L("span",
|
|
977
|
-
], 14,
|
|
978
|
-
}
|
|
979
|
-
}), _l = /* @__PURE__ */ J({
|
|
980
|
-
__name: "vc-container",
|
|
981
|
-
props: {
|
|
982
|
-
shadow: { type: Boolean },
|
|
983
|
-
noPadding: { type: Boolean },
|
|
984
|
-
ariaLabel: {}
|
|
985
|
-
},
|
|
986
|
-
emits: ["scroll"],
|
|
987
|
-
setup(e, { expose: t, emit: n }) {
|
|
988
|
-
const o = n, l = S(), r = S(!1), a = () => {
|
|
989
|
-
l.value && l.value.scroll(0, 0);
|
|
990
|
-
};
|
|
991
|
-
function u(s) {
|
|
992
|
-
o("scroll", s);
|
|
993
|
-
}
|
|
994
|
-
return Ct(l, () => {
|
|
995
|
-
r.value = !!(l.value && l.value.clientHeight < l.value.scrollHeight);
|
|
996
|
-
}), t({
|
|
997
|
-
scrollTop: a,
|
|
998
|
-
component: l
|
|
999
|
-
}), (s, f) => (g(), q(kt(e.ariaLabel ? "section" : "div"), {
|
|
1000
|
-
class: j([
|
|
1001
|
-
"vc-container",
|
|
1002
|
-
{
|
|
1003
|
-
"vc-container--shadow": e.shadow && r.value,
|
|
1004
|
-
"vc-container--nopadding": e.noPadding
|
|
1005
|
-
}
|
|
1006
|
-
]),
|
|
1007
|
-
"aria-label": e.ariaLabel
|
|
1008
|
-
}, {
|
|
1009
|
-
default: C(() => [
|
|
1010
|
-
L("div", {
|
|
1011
|
-
ref_key: "component",
|
|
1012
|
-
ref: l,
|
|
1013
|
-
class: "vc-container__inner",
|
|
1014
|
-
tabindex: "0",
|
|
1015
|
-
onScroll: u
|
|
1016
|
-
}, [
|
|
1017
|
-
B(s.$slots, "default")
|
|
1018
|
-
], 544)
|
|
1019
|
-
]),
|
|
1020
|
-
_: 3
|
|
1021
|
-
}, 8, ["class", "aria-label"]));
|
|
1022
|
-
}
|
|
1023
|
-
}), mo = ["id", "role"], yo = /* @__PURE__ */ J({
|
|
1024
|
-
__name: "vc-hint",
|
|
1025
|
-
props: {
|
|
1026
|
-
id: {},
|
|
1027
|
-
error: { type: Boolean }
|
|
1028
|
-
},
|
|
1029
|
-
setup(e) {
|
|
1030
|
-
return (t, n) => (g(), h("div", {
|
|
1031
|
-
id: e.id,
|
|
1032
|
-
class: j(["vc-hint", {
|
|
1033
|
-
"vc-hint--error": e.error
|
|
1034
|
-
}]),
|
|
1035
|
-
role: e.error ? "alert" : void 0
|
|
1036
|
-
}, [
|
|
1037
|
-
B(t.$slots, "default")
|
|
1038
|
-
], 10, mo));
|
|
1059
|
+
L("span", yo, N(e.ariaLabel), 1)
|
|
1060
|
+
], 14, mo));
|
|
1039
1061
|
}
|
|
1040
|
-
}),
|
|
1062
|
+
}), bo = ["aria-describedby"], ho = /* @__PURE__ */ J({
|
|
1041
1063
|
__name: "vc-tooltip",
|
|
1042
1064
|
props: {
|
|
1043
1065
|
placement: { default: "bottom" },
|
|
@@ -1109,7 +1131,7 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
1109
1131
|
}, [
|
|
1110
1132
|
B(F.$slots, "default")
|
|
1111
1133
|
], 8, bo),
|
|
1112
|
-
(g(), q(
|
|
1134
|
+
(g(), q(kt, { to: i(f) }, [
|
|
1113
1135
|
T(we, { name: "vc-tooltip-fade" }, {
|
|
1114
1136
|
default: C(() => [
|
|
1115
1137
|
o.value && !e.disabled && F.$slots.tooltip ? (g(), h("div", {
|
|
@@ -1140,14 +1162,75 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
1140
1162
|
], 8, ["to"]))
|
|
1141
1163
|
], 544));
|
|
1142
1164
|
}
|
|
1143
|
-
}),
|
|
1165
|
+
}), ni = /* @__PURE__ */ J({
|
|
1166
|
+
__name: "vc-container",
|
|
1167
|
+
props: {
|
|
1168
|
+
shadow: { type: Boolean },
|
|
1169
|
+
noPadding: { type: Boolean },
|
|
1170
|
+
ariaLabel: {}
|
|
1171
|
+
},
|
|
1172
|
+
emits: ["scroll"],
|
|
1173
|
+
setup(e, { expose: t, emit: n }) {
|
|
1174
|
+
const o = n, l = S(), r = S(!1), a = () => {
|
|
1175
|
+
l.value && l.value.scroll(0, 0);
|
|
1176
|
+
};
|
|
1177
|
+
function u(s) {
|
|
1178
|
+
o("scroll", s);
|
|
1179
|
+
}
|
|
1180
|
+
return Ct(l, () => {
|
|
1181
|
+
r.value = !!(l.value && l.value.clientHeight < l.value.scrollHeight);
|
|
1182
|
+
}), t({
|
|
1183
|
+
scrollTop: a,
|
|
1184
|
+
component: l
|
|
1185
|
+
}), (s, f) => (g(), q(It(e.ariaLabel ? "section" : "div"), {
|
|
1186
|
+
class: j([
|
|
1187
|
+
"vc-container",
|
|
1188
|
+
{
|
|
1189
|
+
"vc-container--shadow": e.shadow && r.value,
|
|
1190
|
+
"vc-container--nopadding": e.noPadding
|
|
1191
|
+
}
|
|
1192
|
+
]),
|
|
1193
|
+
"aria-label": e.ariaLabel
|
|
1194
|
+
}, {
|
|
1195
|
+
default: C(() => [
|
|
1196
|
+
L("div", {
|
|
1197
|
+
ref_key: "component",
|
|
1198
|
+
ref: l,
|
|
1199
|
+
class: "vc-container__inner",
|
|
1200
|
+
tabindex: "0",
|
|
1201
|
+
onScroll: u
|
|
1202
|
+
}, [
|
|
1203
|
+
B(s.$slots, "default")
|
|
1204
|
+
], 544)
|
|
1205
|
+
]),
|
|
1206
|
+
_: 3
|
|
1207
|
+
}, 8, ["class", "aria-label"]));
|
|
1208
|
+
}
|
|
1209
|
+
}), ko = ["id", "role"], Io = /* @__PURE__ */ J({
|
|
1210
|
+
__name: "vc-hint",
|
|
1211
|
+
props: {
|
|
1212
|
+
id: {},
|
|
1213
|
+
error: { type: Boolean }
|
|
1214
|
+
},
|
|
1215
|
+
setup(e) {
|
|
1216
|
+
return (t, n) => (g(), h("div", {
|
|
1217
|
+
id: e.id,
|
|
1218
|
+
class: j(["vc-hint", {
|
|
1219
|
+
"vc-hint--error": e.error
|
|
1220
|
+
}]),
|
|
1221
|
+
role: e.error ? "alert" : void 0
|
|
1222
|
+
}, [
|
|
1223
|
+
B(t.$slots, "default")
|
|
1224
|
+
], 10, ko));
|
|
1225
|
+
}
|
|
1226
|
+
}), ce = Io, So = { class: "vc-label__text" }, wo = { class: "vc-label__content" }, $o = {
|
|
1144
1227
|
key: 0,
|
|
1145
1228
|
class: "vc-label__required",
|
|
1146
1229
|
"aria-hidden": "true"
|
|
1147
|
-
},
|
|
1230
|
+
}, Oo = {
|
|
1148
1231
|
key: 0,
|
|
1149
1232
|
class: "vc-label__tooltip"
|
|
1150
|
-
},
|
|
1233
|
+
}, Eo = {
|
|
1151
1234
|
key: 1,
|
|
1152
1235
|
class: "vc-label__language"
|
|
1153
1236
|
}, Ke = /* @__PURE__ */ J({
|
|
@@ -1161,20 +1244,20 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
1161
1244
|
htmlFor: {}
|
|
1162
1245
|
},
|
|
1163
1246
|
setup(e) {
|
|
1164
|
-
return (t, n) => (g(), q(
|
|
1247
|
+
return (t, n) => (g(), q(It(e.htmlFor ? "label" : "div"), {
|
|
1165
1248
|
class: j(["vc-label", {
|
|
1166
1249
|
"vc-label--error": e.error
|
|
1167
1250
|
}]),
|
|
1168
1251
|
for: e.htmlFor || void 0
|
|
1169
1252
|
}, {
|
|
1170
1253
|
default: C(() => [
|
|
1171
|
-
L("div",
|
|
1172
|
-
L("span",
|
|
1254
|
+
L("div", So, [
|
|
1255
|
+
L("span", wo, [
|
|
1173
1256
|
B(t.$slots, "default")
|
|
1174
1257
|
]),
|
|
1175
|
-
e.required ? (g(), h("span",
|
|
1258
|
+
e.required ? (g(), h("span", $o, "*")) : w("", !0)
|
|
1176
1259
|
]),
|
|
1177
|
-
t.$slots.tooltip ? (g(), h("span",
|
|
1260
|
+
t.$slots.tooltip ? (g(), h("span", Oo, [
|
|
1178
1261
|
T(i(ho), { placement: "top-start" }, {
|
|
1179
1262
|
tooltip: C(() => [
|
|
1180
1263
|
B(t.$slots, "tooltip")
|
|
@@ -1189,12 +1272,12 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
1189
1272
|
_: 3
|
|
1190
1273
|
})
|
|
1191
1274
|
])) : w("", !0),
|
|
1192
|
-
e.multilanguage ? (g(), h("div",
|
|
1275
|
+
e.multilanguage ? (g(), h("div", Eo, N(e.currentLanguage), 1)) : w("", !0)
|
|
1193
1276
|
]),
|
|
1194
1277
|
_: 3
|
|
1195
1278
|
}, 8, ["class", "for"]));
|
|
1196
1279
|
}
|
|
1197
|
-
}),
|
|
1280
|
+
}), Co = ["aria-label"], pt = 40, Bo = /* @__PURE__ */ J({
|
|
1198
1281
|
__name: "vc-scrollable-container",
|
|
1199
1282
|
props: {
|
|
1200
1283
|
speed: { default: void 0 }
|
|
@@ -1261,92 +1344,9 @@ const fo = ["aria-label"], go = { class: "tw-sr-only" }, vo = ["aria-label"], po
|
|
|
1261
1344
|
})
|
|
1262
1345
|
])
|
|
1263
1346
|
], 34)
|
|
1264
|
-
], 8,
|
|
1347
|
+
], 8, Co));
|
|
1265
1348
|
}
|
|
1266
|
-
}),
|
|
1267
|
-
name: "toolbar-service",
|
|
1268
|
-
getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
|
|
1269
|
-
registerIntoService: (e, t) => e.registerToolbarItem(t.toolbarItem, t.bladeId)
|
|
1270
|
-
});
|
|
1271
|
-
function ei(e, t) {
|
|
1272
|
-
const n = t.toLowerCase();
|
|
1273
|
-
rt.preregister({
|
|
1274
|
-
bladeId: n,
|
|
1275
|
-
toolbarItem: e
|
|
1276
|
-
});
|
|
1277
|
-
}
|
|
1278
|
-
function Vt() {
|
|
1279
|
-
const e = Rt({
|
|
1280
|
-
createRegistration: (u, s) => ({ bladeId: u, toolbarItem: s }),
|
|
1281
|
-
getRegistrationBladeId: (u) => u.bladeId,
|
|
1282
|
-
getRegistrationItemId: (u) => u.toolbarItem.id
|
|
1283
|
-
}), t = (u, s) => {
|
|
1284
|
-
e.register(u, s);
|
|
1285
|
-
}, n = (u, s) => {
|
|
1286
|
-
e.unregister(u, s);
|
|
1287
|
-
}, o = (u) => {
|
|
1288
|
-
const s = u ? u.toLowerCase() : "", f = e.get(s), m = e.get("*"), v = [...f], d = new Set(v.map((c) => c.id));
|
|
1289
|
-
return m.forEach((c) => {
|
|
1290
|
-
d.has(c.id) || v.push(c);
|
|
1291
|
-
}), [...v];
|
|
1292
|
-
}, l = (u) => {
|
|
1293
|
-
e.clear(u);
|
|
1294
|
-
}, r = ({
|
|
1295
|
-
id: u,
|
|
1296
|
-
bladeId: s,
|
|
1297
|
-
toolbarItem: f
|
|
1298
|
-
}) => {
|
|
1299
|
-
e.update(u, s, f);
|
|
1300
|
-
}, a = {
|
|
1301
|
-
registerToolbarItem: t,
|
|
1302
|
-
unregisterToolbarItem: n,
|
|
1303
|
-
getToolbarItems: o,
|
|
1304
|
-
clearBladeToolbarItems: l,
|
|
1305
|
-
registeredToolbarItems: e.registrations,
|
|
1306
|
-
isToolbarItemRegistered: (u) => e.isRegistered(u),
|
|
1307
|
-
updateToolbarItem: r
|
|
1308
|
-
};
|
|
1309
|
-
return rt.replayInto(a), a;
|
|
1310
|
-
}
|
|
1311
|
-
const Co = "fallback-blade-id";
|
|
1312
|
-
let Ge = null;
|
|
1313
|
-
const Bo = Pe({
|
|
1314
|
-
key: Ot,
|
|
1315
|
-
create: Vt,
|
|
1316
|
-
bus: rt,
|
|
1317
|
-
name: "ToolbarService"
|
|
1318
|
-
});
|
|
1319
|
-
function ti() {
|
|
1320
|
-
return Bo.provide();
|
|
1321
|
-
}
|
|
1322
|
-
function ni(e = {}) {
|
|
1323
|
-
const { autoCleanup: t = !0 } = e, n = W(Ot, null);
|
|
1324
|
-
!n && !Ge && (Ge = Vt());
|
|
1325
|
-
const o = n || Ge;
|
|
1326
|
-
if (!o)
|
|
1327
|
-
throw new Error("Toolbar service is not available");
|
|
1328
|
-
const l = W($t, void 0), r = $(() => l?.value?.id ?? Co), a = (c) => c ?? r.value, u = (c, y) => {
|
|
1329
|
-
o.registerToolbarItem(c, a(y));
|
|
1330
|
-
}, s = (c, y) => {
|
|
1331
|
-
o.unregisterToolbarItem(c, a(y));
|
|
1332
|
-
}, f = (c, y, b) => {
|
|
1333
|
-
o.updateToolbarItem({ id: c, bladeId: a(b), toolbarItem: y });
|
|
1334
|
-
}, m = (c) => o.getToolbarItems(a(c)), v = (c) => {
|
|
1335
|
-
o.clearBladeToolbarItems(a(c));
|
|
1336
|
-
};
|
|
1337
|
-
return Fe() && t && ze(() => {
|
|
1338
|
-
v();
|
|
1339
|
-
}), {
|
|
1340
|
-
registerToolbarItem: u,
|
|
1341
|
-
unregisterToolbarItem: s,
|
|
1342
|
-
updateToolbarItem: f,
|
|
1343
|
-
getToolbarItems: m,
|
|
1344
|
-
clearBladeToolbarItems: v,
|
|
1345
|
-
isToolbarItemRegistered: o.isToolbarItemRegistered,
|
|
1346
|
-
registeredToolbarItems: o.registeredToolbarItems
|
|
1347
|
-
};
|
|
1348
|
-
}
|
|
1349
|
-
const st = /* @__PURE__ */ new Map();
|
|
1349
|
+
}), st = /* @__PURE__ */ new Map();
|
|
1350
1350
|
function Lo(e) {
|
|
1351
1351
|
return e?.map((t) => t.toLowerCase());
|
|
1352
1352
|
}
|
|
@@ -3178,7 +3178,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
|
|
|
3178
3178
|
searchInputRef: s,
|
|
3179
3179
|
viewportRef: v,
|
|
3180
3180
|
loadMoreRef: m
|
|
3181
|
-
}), (c, y) => (g(), q(
|
|
3181
|
+
}), (c, y) => (g(), q(kt, { to: i(a) }, [
|
|
3182
3182
|
T(we, { name: "select-dropdown" }, {
|
|
3183
3183
|
default: C(() => [
|
|
3184
3184
|
e.isOpened ? et((g(), h("div", {
|
|
@@ -3209,7 +3209,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
|
|
|
3209
3209
|
}, ["stop"]), ["enter"]))
|
|
3210
3210
|
]
|
|
3211
3211
|
}, null, 40, el)) : w("", !0),
|
|
3212
|
-
T(i(
|
|
3212
|
+
T(i(Bo), {
|
|
3213
3213
|
ref_key: "scrollContainerRef",
|
|
3214
3214
|
ref: f,
|
|
3215
3215
|
class: "vc-select__scroll-container"
|
|
@@ -4146,7 +4146,7 @@ export {
|
|
|
4146
4146
|
eo as P,
|
|
4147
4147
|
zl as Q,
|
|
4148
4148
|
he as R,
|
|
4149
|
-
|
|
4149
|
+
fo as S,
|
|
4150
4150
|
ie as T,
|
|
4151
4151
|
Pl as U,
|
|
4152
4152
|
ce as V,
|
|
@@ -4180,10 +4180,10 @@ export {
|
|
|
4180
4180
|
si as ae,
|
|
4181
4181
|
Yl as af,
|
|
4182
4182
|
gi as ag,
|
|
4183
|
-
|
|
4183
|
+
ei as ah,
|
|
4184
4184
|
ri as ai,
|
|
4185
4185
|
oi as aj,
|
|
4186
|
-
|
|
4186
|
+
_l as ak,
|
|
4187
4187
|
ai as al,
|
|
4188
4188
|
Hl as am,
|
|
4189
4189
|
Wl as an,
|
|
@@ -4191,7 +4191,7 @@ export {
|
|
|
4191
4191
|
no as ap,
|
|
4192
4192
|
Xl as aq,
|
|
4193
4193
|
vi as ar,
|
|
4194
|
-
|
|
4194
|
+
ti as as,
|
|
4195
4195
|
ql as at,
|
|
4196
4196
|
Ql as au,
|
|
4197
4197
|
Ft as av,
|
|
@@ -4205,7 +4205,7 @@ export {
|
|
|
4205
4205
|
mi as e,
|
|
4206
4206
|
vl as f,
|
|
4207
4207
|
Ke as g,
|
|
4208
|
-
|
|
4208
|
+
Bo as h,
|
|
4209
4209
|
cl as i,
|
|
4210
4210
|
ae as j,
|
|
4211
4211
|
ho as k,
|
|
@@ -4219,7 +4219,7 @@ export {
|
|
|
4219
4219
|
wi as s,
|
|
4220
4220
|
ui as t,
|
|
4221
4221
|
bi as u,
|
|
4222
|
-
|
|
4222
|
+
ni as v,
|
|
4223
4223
|
An as w,
|
|
4224
4224
|
lt as x,
|
|
4225
4225
|
re as y,
|