@vc-shell/framework 1.1.68 → 1.1.70
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/CHANGELOG.md +13 -0
- package/core/services/app-bar-mobile-buttons-service.ts +6 -2
- package/dist/core/services/app-bar-mobile-buttons-service.d.ts.map +1 -1
- package/dist/framework.js +6236 -6189
- package/dist/index.css +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarSlots.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarSlots.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useAppSlots.d.ts +28 -0
- package/dist/ui/components/organisms/vc-app/composables/useAppSlots.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts.map +1 -1
- package/dist/{vendor-date-fns-CdFbeoHV.js → vendor-date-fns-sZ1zMzTH.js} +1109 -1090
- package/dist/{vendor-floating-ui-core-DpX2jufl.js → vendor-floating-ui-core-3dy7r5mx.js} +1 -1
- package/dist/{vendor-floating-ui-dom-C4AKN5Mo.js → vendor-floating-ui-dom-DCjH_QK4.js} +6 -6
- package/dist/{vendor-floating-ui-utils-CRaCuFxS.js → vendor-floating-ui-utils-D2sT7feD.js} +15 -15
- package/dist/{vendor-floating-ui-vue-OwtolkBv.js → vendor-floating-ui-vue-BUBCqiRN.js} +12 -12
- package/dist/vendor-vuepic-vue-datepicker-Chx5s5I-.js +5116 -0
- package/package.json +5 -5
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +3 -1
- package/shared/components/generic-dropdown/generic-dropdown.vue +15 -10
- package/shared/components/notification-dropdown/notification-dropdown.vue +1 -0
- package/shared/components/sidebar/sidebar.vue +1 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +1 -1
- package/ui/components/molecules/vc-input/vc-input.vue +8 -0
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +1 -1
- package/ui/components/molecules/vc-select/vc-select.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue +5 -5
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +5 -8
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarSlots.vue +118 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +12 -8
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +3 -74
- package/ui/components/organisms/vc-app/composables/useAppSlots.ts +75 -0
- package/ui/components/organisms/vc-app/vc-app.vue +30 -42
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue +5 -1
- package/ui/components/organisms/vc-table/composables/useTableColumnResize.ts +0 -1
- package/ui/components/organisms/vc-table/composables/useTableState.ts +17 -16
- package/dist/vendor-vuepic-vue-datepicker-DkHsqyoL.js +0 -4997
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as D, g as C, a as E, c as $, b as G, d as H, f as J, h as K, i as N, r as X, j as Q, k as _, l as U, m as W } from "./vendor-floating-ui-utils-
|
|
1
|
+
import { e as D, g as C, a as E, c as $, b as G, d as H, f as J, h as K, i as N, r as X, j as Q, k as _, l as U, m as W } from "./vendor-floating-ui-utils-D2sT7feD.js";
|
|
2
2
|
function Y(o, s, f) {
|
|
3
3
|
let {
|
|
4
4
|
reference: e,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as ot, f as st, o as rt, c as ct } from "./vendor-floating-ui-core-
|
|
2
|
-
import { n as V, o as m, p as O, q as x, s as L, t as J, u as R, r as j, v as
|
|
1
|
+
import { s as ot, f as st, o as rt, c as ct } from "./vendor-floating-ui-core-3dy7r5mx.js";
|
|
2
|
+
import { n as V, o as m, p as O, q as x, s as L, t as J, u as R, r as j, v as A, w as E, x as b, y as H, z as Q, A as S, B as W, C as I, D as lt, E as Y, F as ft, G as M, H as _, I as $, J as N } from "./vendor-floating-ui-utils-D2sT7feD.js";
|
|
3
3
|
function Z(t) {
|
|
4
4
|
const e = R(t);
|
|
5
5
|
let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
|
|
@@ -31,7 +31,7 @@ function F(t) {
|
|
|
31
31
|
const ut = /* @__PURE__ */ x(0);
|
|
32
32
|
function X(t) {
|
|
33
33
|
const e = L(t);
|
|
34
|
-
return !
|
|
34
|
+
return !Q() || !e.visualViewport ? ut : {
|
|
35
35
|
x: e.visualViewport.offsetLeft,
|
|
36
36
|
y: e.visualViewport.offsetTop
|
|
37
37
|
};
|
|
@@ -122,7 +122,7 @@ function pt(t, e) {
|
|
|
122
122
|
let r = i.clientWidth, s = i.clientHeight, c = 0, l = 0;
|
|
123
123
|
if (o) {
|
|
124
124
|
r = o.width, s = o.height;
|
|
125
|
-
const f =
|
|
125
|
+
const f = Q();
|
|
126
126
|
(!f || f && e === "fixed") && (c = o.offsetLeft, l = o.offsetTop);
|
|
127
127
|
}
|
|
128
128
|
return {
|
|
@@ -173,7 +173,7 @@ function yt(t, e) {
|
|
|
173
173
|
const r = R(t).position === "fixed";
|
|
174
174
|
let s = r ? W(t) : t;
|
|
175
175
|
for (; m(s) && !I(s); ) {
|
|
176
|
-
const c = R(s), l =
|
|
176
|
+
const c = R(s), l = Y(s);
|
|
177
177
|
!l && c.position === "fixed" && (o = null), (r ? !l && !o : !l && c.position === "static" && !!o && wt.has(o.position) || $(s) && !l && et(t, s)) ? i = i.filter((u) => u !== s) : o = c, s = W(s);
|
|
178
178
|
}
|
|
179
179
|
return e.set(t, i), i;
|
|
@@ -257,7 +257,7 @@ function nt(t, e) {
|
|
|
257
257
|
let i = P(t, e);
|
|
258
258
|
for (; i && lt(i) && z(i); )
|
|
259
259
|
i = P(i, e);
|
|
260
|
-
return i && I(i) && z(i) && !
|
|
260
|
+
return i && I(i) && z(i) && !Y(i) ? n : i || ft(t) || n;
|
|
261
261
|
}
|
|
262
262
|
const Ot = async function(t) {
|
|
263
263
|
const e = this.getOffsetParent || nt, n = this.getDimensions, i = await n(t.floating);
|
|
@@ -219,16 +219,16 @@ function U(t) {
|
|
|
219
219
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
220
220
|
}
|
|
221
221
|
export {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
I,
|
|
231
|
-
J,
|
|
222
|
+
Y as A,
|
|
223
|
+
f as B,
|
|
224
|
+
N as C,
|
|
225
|
+
at as D,
|
|
226
|
+
G as E,
|
|
227
|
+
lt as F,
|
|
228
|
+
L as G,
|
|
229
|
+
m as H,
|
|
230
|
+
E as I,
|
|
231
|
+
ut as J,
|
|
232
232
|
S as K,
|
|
233
233
|
b as a,
|
|
234
234
|
u as b,
|
|
@@ -251,9 +251,9 @@ export {
|
|
|
251
251
|
c as s,
|
|
252
252
|
U as t,
|
|
253
253
|
P as u,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
254
|
+
I as v,
|
|
255
|
+
v as w,
|
|
256
|
+
A as x,
|
|
257
|
+
Z as y,
|
|
258
|
+
J as z
|
|
259
259
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { K as
|
|
3
|
-
import { computed as o, ref as c, shallowRef as
|
|
4
|
-
function
|
|
1
|
+
import { c as j } from "./vendor-floating-ui-dom-DCjH_QK4.js";
|
|
2
|
+
import { K as B, H as F } from "./vendor-floating-ui-utils-D2sT7feD.js";
|
|
3
|
+
import { computed as o, ref as c, shallowRef as H, watch as g, getCurrentScope as I, onScopeDispose as K, shallowReadonly as r, unref as k } from "vue";
|
|
4
|
+
function q(e) {
|
|
5
5
|
return e != null && typeof e == "object" && "$el" in e;
|
|
6
6
|
}
|
|
7
7
|
function b(e) {
|
|
8
|
-
if (
|
|
8
|
+
if (q(e)) {
|
|
9
9
|
const u = e.$el;
|
|
10
|
-
return
|
|
10
|
+
return B(u) && F(u) === "#comment" ? null : u;
|
|
11
11
|
}
|
|
12
12
|
return e;
|
|
13
13
|
}
|
|
14
14
|
function s(e) {
|
|
15
|
-
return typeof e == "function" ? e() :
|
|
15
|
+
return typeof e == "function" ? e() : k(e);
|
|
16
16
|
}
|
|
17
17
|
function M(e) {
|
|
18
18
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
@@ -35,7 +35,7 @@ function J(e, u, t) {
|
|
|
35
35
|
}), S = o(() => {
|
|
36
36
|
var n;
|
|
37
37
|
return (n = s(t.transform)) != null ? n : !0;
|
|
38
|
-
}), i = o(() => b(e.value)), l = o(() => b(u.value)), y = c(0), h = c(0), v = c(w.value), P = c(p.value), E =
|
|
38
|
+
}), i = o(() => b(e.value)), l = o(() => b(u.value)), y = c(0), h = c(0), v = c(w.value), P = c(p.value), E = H({}), x = c(!1), _ = o(() => {
|
|
39
39
|
const n = {
|
|
40
40
|
position: v.value,
|
|
41
41
|
left: "0",
|
|
@@ -61,7 +61,7 @@ function J(e, u, t) {
|
|
|
61
61
|
if (i.value == null || l.value == null)
|
|
62
62
|
return;
|
|
63
63
|
const n = f.value;
|
|
64
|
-
|
|
64
|
+
j(i.value, l.value, {
|
|
65
65
|
middleware: D.value,
|
|
66
66
|
placement: p.value,
|
|
67
67
|
strategy: w.value
|
|
@@ -82,16 +82,16 @@ function J(e, u, t) {
|
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function $() {
|
|
86
86
|
f.value || (x.value = !1);
|
|
87
87
|
}
|
|
88
88
|
return g([D, p, w, f], d, {
|
|
89
89
|
flush: "sync"
|
|
90
90
|
}), g([i, l], N, {
|
|
91
91
|
flush: "sync"
|
|
92
|
-
}), g(f,
|
|
92
|
+
}), g(f, $, {
|
|
93
93
|
flush: "sync"
|
|
94
|
-
}),
|
|
94
|
+
}), I() && K(O), {
|
|
95
95
|
x: r(y),
|
|
96
96
|
y: r(h),
|
|
97
97
|
strategy: r(v),
|