@flux-ui/dashboard 3.0.0-next.66 → 3.0.0-next.67
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/component/FluxDashboard.vue.d.ts +10 -21
- package/dist/component/FluxDashboardContent.vue.d.ts +7 -11
- package/dist/component/FluxDashboardHeader.vue.d.ts +9 -12
- package/dist/component/FluxDashboardMenu.vue.d.ts +11 -13
- package/dist/component/FluxDashboardNavigation.vue.d.ts +7 -15
- package/dist/component/FluxDashboardSide.vue.d.ts +11 -13
- package/dist/component/FluxDashboardTopBar.vue.d.ts +7 -11
- package/dist/index.js +22 -23
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,27 +1,16 @@
|
|
|
1
1
|
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
menu?(): VNode;
|
|
9
|
-
side?(): VNode;
|
|
10
|
-
}> & {
|
|
11
|
-
default(): VNode;
|
|
12
|
-
header?(): VNode;
|
|
13
|
-
navigation?(): VNode;
|
|
14
|
-
menu?(): VNode;
|
|
15
|
-
side?(): VNode;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
rootEl: HTMLDivElement;
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default(): VNode;
|
|
4
|
+
header?(): VNode;
|
|
5
|
+
navigation?(): VNode;
|
|
6
|
+
menu?(): VNode;
|
|
7
|
+
side?(): VNode;
|
|
19
8
|
};
|
|
20
|
-
|
|
21
|
-
declare const
|
|
22
|
-
declare const _default:
|
|
9
|
+
declare const __VLS_base: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
23
12
|
export default _default;
|
|
24
|
-
type
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
14
|
new (): {
|
|
26
15
|
$slots: S;
|
|
27
16
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: HTMLElement;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -4,20 +4,17 @@ type __VLS_Props = {
|
|
|
4
4
|
readonly icon?: FluxIconName;
|
|
5
5
|
readonly title?: string;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
refs: {};
|
|
14
|
-
rootEl: HTMLElement;
|
|
7
|
+
declare var __VLS_8: {}, __VLS_20: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
start?: (props: typeof __VLS_8) => any;
|
|
10
|
+
} & {
|
|
11
|
+
end?: (props: typeof __VLS_20) => any;
|
|
15
12
|
};
|
|
16
|
-
|
|
17
|
-
declare const
|
|
18
|
-
declare const _default:
|
|
13
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
19
16
|
export default _default;
|
|
20
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
18
|
new (): {
|
|
22
19
|
$slots: S;
|
|
23
20
|
};
|
|
@@ -4,21 +4,19 @@ type __VLS_Props = {
|
|
|
4
4
|
readonly icon?: FluxIconName;
|
|
5
5
|
readonly title?: string;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: HTMLElement;
|
|
7
|
+
declare var __VLS_7: {}, __VLS_19: {}, __VLS_21: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
'top-bar-start'?: (props: typeof __VLS_7) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'top-bar-end'?: (props: typeof __VLS_19) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_21) => any;
|
|
16
14
|
};
|
|
17
|
-
|
|
18
|
-
declare const
|
|
19
|
-
declare const _default:
|
|
15
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
20
18
|
export default _default;
|
|
21
|
-
type
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
20
|
new (): {
|
|
23
21
|
$slots: S;
|
|
24
22
|
};
|
|
@@ -3,23 +3,15 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
logoLocation?: FluxTo;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
default(): any;
|
|
10
|
-
logo?(): any;
|
|
11
|
-
}> & {
|
|
12
|
-
default(): any;
|
|
13
|
-
logo?(): any;
|
|
14
|
-
};
|
|
15
|
-
refs: {};
|
|
16
|
-
rootEl: any;
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default(): any;
|
|
8
|
+
logo?(): any;
|
|
17
9
|
};
|
|
18
|
-
|
|
19
|
-
declare const
|
|
20
|
-
declare const _default:
|
|
10
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
21
13
|
export default _default;
|
|
22
|
-
type
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
15
|
new (): {
|
|
24
16
|
$slots: S;
|
|
25
17
|
};
|
|
@@ -2,21 +2,19 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
readonly title: string;
|
|
4
4
|
};
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
refs: {};
|
|
13
|
-
rootEl: HTMLElement;
|
|
5
|
+
declare var __VLS_7: {}, __VLS_14: {}, __VLS_16: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
'top-bar-start'?: (props: typeof __VLS_7) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'top-bar-end'?: (props: typeof __VLS_14) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_16) => any;
|
|
14
12
|
};
|
|
15
|
-
|
|
16
|
-
declare const
|
|
17
|
-
declare const _default:
|
|
13
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
18
16
|
export default _default;
|
|
19
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
18
|
new (): {
|
|
21
19
|
$slots: S;
|
|
22
20
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: HTMLElement;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, customRef, defineComponent, guardReactiveProps, inject, markRaw, mergeProps, normalizeClass, normalizeProps, openBlock, provide, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, useSlots, watch, withCtx } from "vue";
|
|
2
2
|
import { DateTime } from "luxon";
|
|
3
3
|
import { FluxIcon, FluxMenuItem, FluxSpacer } from "@flux-ui/components";
|
|
4
|
-
//#region ../../node_modules/.bun/@basmilius+utils@3.
|
|
4
|
+
//#region ../../node_modules/.bun/@basmilius+utils@3.30.0/node_modules/@basmilius/utils/dist/index.mjs
|
|
5
5
|
function x$1(e) {
|
|
6
6
|
let t = {};
|
|
7
7
|
do {
|
|
@@ -3102,7 +3102,7 @@ useMode(definition$2);
|
|
|
3102
3102
|
useMode(definition$1);
|
|
3103
3103
|
useMode(definition);
|
|
3104
3104
|
//#endregion
|
|
3105
|
-
//#region ../../node_modules/.bun/@basmilius+http-client@3.
|
|
3105
|
+
//#region ../../node_modules/.bun/@basmilius+http-client@3.30.0+638c9d1214a588db/node_modules/@basmilius/http-client/dist/index.mjs
|
|
3106
3106
|
function c(e) {
|
|
3107
3107
|
return class extends e {
|
|
3108
3108
|
constructor(...e) {
|
|
@@ -3113,17 +3113,17 @@ function c(e) {
|
|
|
3113
3113
|
function ne(e, t) {
|
|
3114
3114
|
return e === t ? !0 : e === t;
|
|
3115
3115
|
}
|
|
3116
|
-
var l = Symbol(), u = Symbol(), d = Symbol(), f = Symbol(), p = Symbol(), m = Symbol(), h = Symbol(), g = Symbol(), _ = Symbol(), re = Symbol(), ie = Symbol();
|
|
3116
|
+
var l = Symbol(), u = Symbol(), d = Symbol(), f = Symbol(), p = Symbol(), m = Symbol(), h = Symbol(), g = Symbol(), _ = Symbol(), re = Symbol(), ie$1 = Symbol();
|
|
3117
3117
|
function v(e) {
|
|
3118
3118
|
return e && typeof e == `object` && !!e[p];
|
|
3119
3119
|
}
|
|
3120
3120
|
function y(e) {
|
|
3121
3121
|
if (!v(e)) throw Error(`@dto assert given object is not a class decorated with @Dto.`);
|
|
3122
3122
|
}
|
|
3123
|
-
var ae = Symbol();
|
|
3123
|
+
var ae$1 = Symbol();
|
|
3124
3124
|
function b(e, t = 0, n) {
|
|
3125
3125
|
return function(...r) {
|
|
3126
|
-
let i = e[ae] ??= /* @__PURE__ */ new WeakMap(), a = r[t], o = n === void 0 ? `self` : r[n];
|
|
3126
|
+
let i = e[ae$1] ??= /* @__PURE__ */ new WeakMap(), a = r[t], o = n === void 0 ? `self` : r[n];
|
|
3127
3127
|
if (typeof a != `object` || !a) return e.call(this, ...r);
|
|
3128
3128
|
i.has(a) || i.set(a, []);
|
|
3129
3129
|
let s = i.get(a);
|
|
@@ -3142,7 +3142,7 @@ function x(e) {
|
|
|
3142
3142
|
return y(e), e[f];
|
|
3143
3143
|
}
|
|
3144
3144
|
var S = b(function(e, t, n, r) {
|
|
3145
|
-
let i = e[ie];
|
|
3145
|
+
let i = e[ie$1];
|
|
3146
3146
|
i(e, t, n, r), e[m] && S(e[m], e[h], e[m][e[h]]);
|
|
3147
3147
|
}, 0, 1), C = b(function(e) {
|
|
3148
3148
|
y(e), e[f] && (e[f] = !1, S(e, f, !1, !0)), !(!e[u] || e[u].length === 0) && e[u].filter(x).forEach(C);
|
|
@@ -3178,26 +3178,26 @@ function ue(e, t) {
|
|
|
3178
3178
|
t[m] = void 0, t[h] = void 0;
|
|
3179
3179
|
}
|
|
3180
3180
|
}
|
|
3181
|
-
var O
|
|
3181
|
+
var O = {};
|
|
3182
3182
|
var k$2 = {
|
|
3183
3183
|
deleteProperty(e, t) {
|
|
3184
|
-
if (Reflect.deleteProperty(e, t), A
|
|
3184
|
+
if (Reflect.deleteProperty(e, t), A(e, t)) return !0;
|
|
3185
3185
|
let n = e[m];
|
|
3186
3186
|
return n && S(n, e[h], n[e[h]]), n && w(n, e[h]), !0;
|
|
3187
3187
|
},
|
|
3188
3188
|
get(e, t, n) {
|
|
3189
3189
|
if (t === _) return !0;
|
|
3190
|
-
if (A
|
|
3190
|
+
if (A(e, t)) return Reflect.get(e, t, n);
|
|
3191
3191
|
let r = e[m];
|
|
3192
3192
|
return r && le(r, e[h]), Reflect.get(e, t);
|
|
3193
3193
|
},
|
|
3194
3194
|
set(e, t, n, r) {
|
|
3195
|
-
if (A
|
|
3195
|
+
if (A(e, t)) return Reflect.set(e, t, n, r);
|
|
3196
3196
|
let i = e[m];
|
|
3197
3197
|
return i && S(i, e[h], i[e[h]]), i && w(i, e[h]), Reflect.set(e, t, n);
|
|
3198
3198
|
}
|
|
3199
3199
|
};
|
|
3200
|
-
function A
|
|
3200
|
+
function A(e, t) {
|
|
3201
3201
|
return typeof t == `symbol` || typeof e[t] == `function` || t === `length`;
|
|
3202
3202
|
}
|
|
3203
3203
|
var de = {
|
|
@@ -3222,7 +3222,7 @@ var de = {
|
|
|
3222
3222
|
let a = i.get?.call(e) ?? void 0;
|
|
3223
3223
|
return ne(n, a) ? !0 : (ue(e, a), Array.isArray(n) && !n[_] && (n = new Proxy(n, k$2)), i.set.call(e, n), E(e, t, n), w(e, t), S(e, t, n, a), !0);
|
|
3224
3224
|
}
|
|
3225
|
-
}, fe
|
|
3225
|
+
}, fe = {
|
|
3226
3226
|
get(e, t, n) {
|
|
3227
3227
|
return t === `__v_isRef` ? !1 : t === _ ? !0 : t in e ? Reflect.get(e, t, n) : Reflect.get(e.value, t);
|
|
3228
3228
|
},
|
|
@@ -3235,23 +3235,23 @@ var de = {
|
|
|
3235
3235
|
set(e, t, n, r) {
|
|
3236
3236
|
return t in e ? Reflect.set(e, t, n, r) : Reflect.set(e.value, t, n);
|
|
3237
3237
|
}
|
|
3238
|
-
}, pe
|
|
3238
|
+
}, pe = { construct(e, t, n) {
|
|
3239
3239
|
t = t.map((e) => Array.isArray(e) ? new Proxy(e, k$2) : e);
|
|
3240
3240
|
let r = customRef((r, i) => {
|
|
3241
3241
|
let a = markRaw(Reflect.construct(e, t, n));
|
|
3242
|
-
a[l] = t, a[f] = !1, a[re] = r, a[ie] = i;
|
|
3242
|
+
a[l] = t, a[f] = !1, a[re] = r, a[ie$1] = i;
|
|
3243
3243
|
let s = new Proxy(a, de);
|
|
3244
3244
|
return {
|
|
3245
3245
|
get: () => (r(), s),
|
|
3246
3246
|
set: () => void 0
|
|
3247
3247
|
};
|
|
3248
3248
|
});
|
|
3249
|
-
return new Proxy(r, fe
|
|
3249
|
+
return new Proxy(r, fe);
|
|
3250
3250
|
} };
|
|
3251
3251
|
function me() {
|
|
3252
3252
|
let e = this;
|
|
3253
3253
|
y(e);
|
|
3254
|
-
let t = O
|
|
3254
|
+
let t = O[e[p]], n = new t(...e[l]);
|
|
3255
3255
|
for (let [e, t] of Object.entries(this[d])) t.set && (n[e] = v(this[e]) ? this[e].clone() : this[e]);
|
|
3256
3256
|
return n;
|
|
3257
3257
|
}
|
|
@@ -3261,7 +3261,7 @@ function he(e) {
|
|
|
3261
3261
|
v(this[t]) && typeof e[t] == `object` ? this[t].fill(e[t]) : n && n.set && (this[t] = e[t]);
|
|
3262
3262
|
}
|
|
3263
3263
|
}
|
|
3264
|
-
function ge() {
|
|
3264
|
+
function ge$1() {
|
|
3265
3265
|
let e = {};
|
|
3266
3266
|
for (let t of this[g]) {
|
|
3267
3267
|
let n = this[t];
|
|
@@ -3272,11 +3272,11 @@ function ge() {
|
|
|
3272
3272
|
function j$1(e) {
|
|
3273
3273
|
ve(e);
|
|
3274
3274
|
let t = Object.freeze(x$1(e)), a = Object.keys(t);
|
|
3275
|
-
return K$1(e.prototype, d, t), K$1(e.prototype, p, e.name), K$1(e.prototype, g, a), K$1(e, Symbol.hasInstance, (t) => typeof t == `object` && t?.[p] === e.name), G$1(e, `clone`, me), G$1(e, `fill`, he), G$1(e, `toJSON`, ge), _e(e);
|
|
3275
|
+
return K$1(e.prototype, d, t), K$1(e.prototype, p, e.name), K$1(e.prototype, g, a), K$1(e, Symbol.hasInstance, (t) => typeof t == `object` && t?.[p] === e.name), G$1(e, `clone`, me), G$1(e, `fill`, he), G$1(e, `toJSON`, ge$1), _e$1(e);
|
|
3276
3276
|
}
|
|
3277
|
-
function _e(e) {
|
|
3278
|
-
let t = new Proxy(e, pe
|
|
3279
|
-
return O
|
|
3277
|
+
function _e$1(e) {
|
|
3278
|
+
let t = new Proxy(e, pe);
|
|
3279
|
+
return O[e.name] = t, t;
|
|
3280
3280
|
}
|
|
3281
3281
|
function ve(e) {
|
|
3282
3282
|
let t = Object.getPrototypeOf(e.prototype);
|
|
@@ -3400,10 +3400,9 @@ var X = Y = class {
|
|
|
3400
3400
|
}
|
|
3401
3401
|
};
|
|
3402
3402
|
X = Y = B([c], X);
|
|
3403
|
-
converter(`oklch`);
|
|
3404
3403
|
RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
|
|
3405
3404
|
//#endregion
|
|
3406
|
-
//#region ../internals/dist/composable-
|
|
3405
|
+
//#region ../internals/dist/composable-5ooZTjm_.js
|
|
3407
3406
|
function D(e, t, n, r = { passive: !0 }) {
|
|
3408
3407
|
watch(e, (e, i, a) => {
|
|
3409
3408
|
e && (e.addEventListener(t, n, r), a(() => e.removeEventListener(t, n)));
|