@sidekick-coder/zenith-kit 0.4.13 → 0.4.15
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/bin/{release.js → release.ts} +33 -27
- package/bin/zenith.js +1 -2
- package/dist/client/{DashboardWidgetActionSetting-gwfuAXoe.mjs → DashboardWidgetActionSetting-CAWFyAkq.mjs} +2 -2
- package/dist/client/{Icon.vue_vue_type_script_setup_true_lang-CpR3yYZQ.mjs → Icon.vue_vue_type_script_setup_true_lang-mpkMPRLI.mjs} +1 -1
- package/dist/client/{WidgetTextRender-nyHz7cW1.mjs → WidgetTextRender-GFtACbUf.mjs} +2 -2
- package/dist/client/{index-CdaaLiV6.mjs → index-BJAQ9u3g.mjs} +1313 -1314
- package/dist/client/index.es.js +72 -73
- package/dist/client/src/client/components/ZDialogForm.vue.d.ts +4 -0
- package/dist/client/src/client/contracts/events.d.ts +5 -0
- package/dist/client/src/client/facades/emmitter.d.ts +2 -1
- package/dist/client/src/client/index.d.ts +0 -1
- package/dist/client/src/client/services/RouterService.d.ts +9 -2
- package/dist/client/src/shared/index.d.ts +1 -0
- package/dist/client/src/shared/services/ContainerService.d.ts +1 -0
- package/dist/client/src/shared/utils/definePlugin.d.ts +4 -0
- package/dist/client/styles.css +1 -1
- package/dist/components/index.es.js +11 -2
- package/dist/components/src/client/components/ZDialogForm.vue.d.ts +4 -0
- package/dist/components/src/client/contracts/events.d.ts +5 -0
- package/dist/components/src/client/facades/emmitter.d.ts +2 -1
- package/dist/components/src/client/index.d.ts +0 -1
- package/dist/components/src/client/services/RouterService.d.ts +9 -2
- package/dist/components/src/shared/index.d.ts +1 -0
- package/dist/components/src/shared/services/ContainerService.d.ts +1 -0
- package/dist/components/src/shared/utils/definePlugin.d.ts +4 -0
- package/dist/components/styles.css +1 -1
- package/dist/server/AclEntity-D7L0rf_N.d.mts +1 -1
- package/dist/server/BelongsToUserRelation-DP5mSxbJ.d.mts +1 -1
- package/dist/server/{ConfigManagerService-hVM061F2.d.mts → ConfigManagerService-DxRK1cOh.d.mts} +2 -2
- package/dist/server/{ContainerService-BoUkyiF3.mjs → ContainerService-BFr3w1gk.mjs} +2 -2
- package/dist/server/{ContainerService-Cr7YLYSC.d.mts → ContainerService-DPMmsq7H.d.mts} +2 -1
- package/dist/server/CookieMapEntity-mfxiZ5Z_.d.mts +1 -1
- package/dist/server/DatabaseGateway-BDMiL3c1.d.mts +1 -1
- package/dist/server/DatabaseRepositoryInferMixin-DgySpR7_.d.mts +1 -1
- package/dist/server/DriveS3Gateway-DzvC9KgH.d.mts +1 -1
- package/dist/server/{EmmitterService-5AMid5cB.d.mts → EmmitterService-BTP1_x12.d.mts} +2 -2
- package/dist/server/{EncryptService-mkspDyI6.d.mts → EncryptService-DAKajAiL.d.mts} +2 -2
- package/dist/server/EnvService-Bl13mo6F.mjs +2 -0
- package/dist/server/{EnvService-BobC7OC4.d.mts → EnvService-CsalS4tk.d.mts} +2 -2
- package/dist/server/{EventContract-BcuxuGtr.d.mts → EventContract-Dyu0ESpQ.d.mts} +3 -3
- package/dist/server/{ExceptionService-U3LKGhcX.d.mts → ExceptionService-MCuYf4pF.d.mts} +2 -2
- package/dist/server/{FileEntity-RmrGGflb.d.mts → FileEntity-5VpNdPzD.d.mts} +2 -2
- package/dist/server/{HttpService-zQZKW13G.d.mts → HttpService-BoTH8oLA.d.mts} +4 -4
- package/dist/server/MetadataMixin-DqBEDicp.d.mts +1 -1
- package/dist/server/ModelConfigMixin-DaA-xieD.d.mts +1 -1
- package/dist/server/ModuleEntity-llcGGoY7.d.mts +1 -1
- package/dist/server/{PageRequestContextEntity-C480yA2y.d.mts → PageRequestContextEntity-COqt4XTn.d.mts} +2 -2
- package/dist/server/RelationsMixin-khS-hIMS.d.mts +1 -1
- package/dist/server/{RouterFileBaseRoutingService-BE7AXExw.d.mts → RouterFileBaseRoutingService-Dj8Ip_7X.d.mts} +2 -2
- package/dist/server/{RouterRegisterService-ftj9ZhDy.d.mts → RouterRegisterService-jzgoljWO.d.mts} +2 -2
- package/dist/server/{RouterResourceConfigService-Djv6npYs.d.mts → RouterResourceConfigService-CbR56cTP.d.mts} +2 -2
- package/dist/server/{RouterResourceService-CWgVzF9n.d.mts → RouterResourceService-CdFL6BAZ.d.mts} +2 -2
- package/dist/server/{RouterService-508A8IEt.d.mts → RouterService-8509MFgT.d.mts} +7 -2
- package/dist/server/RouterService-VmBied34.mjs +2 -0
- package/dist/server/addSoftDeleteColumn-CfJo0Hj1.d.mts +1 -1
- package/dist/server/common-CVoUcmxL.d.mts +1 -1
- package/dist/server/{container-D2kwfrI5.d.mts → container-Dx9dYmw7.d.mts} +2 -2
- package/dist/server/contracts/EventContract.d.mts +1 -1
- package/dist/server/count-R4ZkzLv3.d.mts +1 -1
- package/dist/server/create-CA_sxzMC.d.mts +1 -1
- package/dist/server/createLoaderFactory-8APBn0kF.d.mts +1 -1
- package/dist/server/destroy-BRszXxSa.d.mts +1 -1
- package/dist/server/{encrypt-4RgpRIWa.d.mts → encrypt-GCJBo8zC.d.mts} +2 -2
- package/dist/server/entities/FileEntity.d.mts +1 -1
- package/dist/server/entities/FileMetaEntity.d.mts +1 -1
- package/dist/server/entities/PageRequestContextEntity.d.mts +1 -1
- package/dist/server/entities/PageRequestContextEntity.mjs +1 -1
- package/dist/server/{env-CITkhiaX.d.mts → env-CI2Lm8yl.d.mts} +2 -2
- package/dist/server/facades/container.d.mts +1 -1
- package/dist/server/facades/container.mjs +1 -1
- package/dist/server/facades/encrypt.d.mts +1 -1
- package/dist/server/facades/env.d.mts +1 -1
- package/dist/server/facades/env.mjs +1 -1
- package/dist/server/facades/http.d.mts +1 -1
- package/dist/server/facades/router.d.mts +1 -1
- package/dist/server/facades/router.mjs +1 -1
- package/dist/server/facades/translator.mjs +1 -1
- package/dist/server/firstOrCreate-BJiIy9ID.d.mts +1 -1
- package/dist/server/{http-CPAwj-Oj.d.mts → http-B2PKYjep.d.mts} +2 -2
- package/dist/server/index.d.mts +20 -20
- package/dist/server/index.mjs +1 -1
- package/dist/server/list-a0nJoNvU.d.mts +1 -1
- package/dist/server/paginate-D1ybToCY.d.mts +1 -1
- package/dist/server/printTable-D2fn7NUa.d.mts +1 -1
- package/dist/server/{router-CXRSsq_i.d.mts → router-Cb07oq6v.d.mts} +2 -2
- package/dist/server/services/ConfigManagerService.d.mts +1 -1
- package/dist/server/services/EmmitterService.d.mts +1 -1
- package/dist/server/services/EncryptService.d.mts +1 -1
- package/dist/server/services/EncryptService.mjs +1 -1
- package/dist/server/services/EnvService.d.mts +1 -1
- package/dist/server/services/EnvService.mjs +1 -1
- package/dist/server/services/ExceptionService.d.mts +1 -1
- package/dist/server/services/ExceptionService.mjs +1 -1
- package/dist/server/services/HttpService.d.mts +1 -1
- package/dist/server/services/HttpService.mjs +1 -1
- package/dist/server/services/RouterFileBaseRoutingService.d.mts +1 -1
- package/dist/server/services/RouterRegisterService.d.mts +1 -1
- package/dist/server/services/RouterRegisterService.mjs +1 -1
- package/dist/server/services/RouterResourceConfigService.d.mts +1 -1
- package/dist/server/services/RouterResourceService.d.mts +1 -1
- package/dist/server/services/RouterService.d.mts +2 -2
- package/dist/server/services/RouterService.mjs +1 -1
- package/dist/server/timestamp-wsiGW-0j.d.mts +1 -1
- package/dist/server/{translator-D_C2mza2.mjs → translator-y0eQdAls.mjs} +2 -2
- package/dist/shared/entities/DriveConfigEntity.d.mts +1 -1
- package/dist/shared/entities/FileEntity.d.mts +1 -1
- package/dist/shared/entities/FileMetaEntity.d.mts +1 -1
- package/dist/shared/entities/UserEntity.d.mts +1 -1
- package/dist/shared/index.d.mts +2 -1
- package/dist/shared/index.mjs +1 -1
- package/dist/shared/mixins/TimestampMixin.d.mts +1 -1
- package/dist/shared/schemas/dashboardMetaSchema.d.mts +25 -25
- package/dist/shared/schemas/dashboardSchema.d.mts +7 -7
- package/dist/shared/schemas/userSchema.d.mts +25 -25
- package/dist/shared/services/ContainerService.d.mts +2 -1
- package/dist/shared/services/ContainerService.mjs +2 -2
- package/dist/shared/services/EmmitterService.d.mts +1 -1
- package/dist/shared/services/UploadService.d.mts +1 -1
- package/dist/shared/typing-CBF7x7JF.d.mts +1 -1
- package/dist/shared/utils/definePlugin.d.mts +8 -0
- package/dist/shared/utils/definePlugin.mjs +2 -0
- package/dist/shared/utils/formatBytes.d.mts +1 -1
- package/dist/shared/utils/safeJson.d.mts +1 -1
- package/package.json +1 -1
- package/src/client/components/ZDialogForm.vue +6 -1
- package/src/client/contracts/events.ts +7 -0
- package/src/client/facades/emmitter.ts +3 -2
- package/src/client/index.ts +0 -1
- package/src/client/services/RouterService.ts +11 -2
- package/src/server/schemas/envSchema.ts +1 -1
- package/src/server/services/RouterService.ts +24 -0
- package/src/shared/index.ts +1 -0
- package/src/shared/services/ContainerService.ts +4 -0
- package/src/shared/utils/definePlugin.ts +21 -0
- package/tsconfig.server.json +1 -0
- package/dist/client/src/client/utils/autoPages.d.ts +0 -5
- package/dist/components/src/client/utils/autoPages.d.ts +0 -5
- package/dist/server/EnvService-DNXPdLnK.mjs +0 -2
- package/dist/server/RouterService-BS_1MzFI.mjs +0 -2
- package/src/client/utils/autoPages.ts +0 -12
package/dist/client/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as e, F as t, G as o, $ as r, H as
|
|
2
|
-
import { useField as
|
|
1
|
+
import { E as e, F as t, G as o, $ as r, H as i, I as u, J as d, K as c, L as h, M as n, N as g, O as l, P as b, Q as T, R as D, S as R, T as S, U as m, V as f, W as y, X as G, Y as v, Z as p, _ as F, a0 as x, y as H, a1 as W, a2 as B, a3 as C, a4 as M, a5 as k, a6 as A, a7 as L, a8 as $, a9 as O, aa as E, ab as I, ac as w, ad as P, ae as _, af as K, ag as N, ah as Q, ai as V, aj as J, s as U, ak as X, al as Y, am as Z, an as j, ao as q, ap as z, aq as aa, ar as sa, as as ea, v as ta, at as oa, au as ra, av as ia, aw as ua, ax as da, ay as ca, az as ha, aA as na, aB as ga, aC as la, aD as ba, aE as Ta, aF as Da, aG as Ra, aH as Sa, aI as ma, aJ as fa, aK as ya, n as Ga, p as va, aL as pa, aM as Fa, aN as xa, A as Ha, aO as Wa, B as Ba, aP as Ca, aQ as Ma, aR as ka, aS as Aa, aT as La, aU as $a, aV as Oa, aW as Ea, aX as Ia, aY as wa, aZ as Pa, a_ as _a, a$ as Ka, b0 as Na, b1 as Qa } from "./index-BJAQ9u3g.mjs";
|
|
2
|
+
import { useField as Ja } from "vee-validate";
|
|
3
3
|
export {
|
|
4
4
|
e as $d,
|
|
5
5
|
t as $dt,
|
|
6
6
|
o as $fetch,
|
|
7
7
|
r as $file,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
i as $t,
|
|
9
|
+
u as $toast,
|
|
10
10
|
d as AuthService,
|
|
11
11
|
c as DASHBOARD_ROW_HEIGHT,
|
|
12
12
|
h as Dashboard,
|
|
@@ -30,74 +30,73 @@ export {
|
|
|
30
30
|
W as auth,
|
|
31
31
|
B as authGuard,
|
|
32
32
|
C as auto,
|
|
33
|
-
M as
|
|
34
|
-
k as
|
|
35
|
-
A as
|
|
36
|
-
L as
|
|
37
|
-
$ as
|
|
38
|
-
O as
|
|
39
|
-
E as
|
|
40
|
-
I as
|
|
41
|
-
w as
|
|
42
|
-
P as
|
|
43
|
-
_ as
|
|
44
|
-
K as
|
|
45
|
-
N as
|
|
46
|
-
Q as
|
|
47
|
-
V as
|
|
48
|
-
J as
|
|
49
|
-
U as
|
|
50
|
-
X as
|
|
51
|
-
Y as
|
|
52
|
-
Z as
|
|
53
|
-
j as
|
|
54
|
-
q as
|
|
55
|
-
z as
|
|
56
|
-
aa as
|
|
57
|
-
sa as
|
|
58
|
-
ea as
|
|
59
|
-
ta as
|
|
60
|
-
oa as
|
|
61
|
-
ra as
|
|
62
|
-
ua as oklchToRgb,
|
|
33
|
+
M as clsx,
|
|
34
|
+
k as cn,
|
|
35
|
+
A as config,
|
|
36
|
+
L as container,
|
|
37
|
+
$ as createAuthGuard,
|
|
38
|
+
O as createGuestGuard,
|
|
39
|
+
E as createId,
|
|
40
|
+
I as createRouter,
|
|
41
|
+
w as dashboardRegistry,
|
|
42
|
+
P as defineColumns,
|
|
43
|
+
_ as defineFormFields,
|
|
44
|
+
K as defineTheme,
|
|
45
|
+
N as emmitter,
|
|
46
|
+
Q as extracRGB,
|
|
47
|
+
V as extractOKLCH,
|
|
48
|
+
J as extractRGBA,
|
|
49
|
+
U as fetcher,
|
|
50
|
+
X as getCookie,
|
|
51
|
+
Y as getDarkMode,
|
|
52
|
+
Z as getTheme,
|
|
53
|
+
j as getThemeColors,
|
|
54
|
+
q as guestGuard,
|
|
55
|
+
z as hexToRGB,
|
|
56
|
+
aa as hslToRgb,
|
|
57
|
+
sa as layout,
|
|
58
|
+
ea as lifecycle,
|
|
59
|
+
ta as logger,
|
|
60
|
+
oa as menu,
|
|
61
|
+
ra as oklchToRgb,
|
|
63
62
|
ia as parseTo,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
63
|
+
ua as provideDashboard,
|
|
64
|
+
da as provideDashboardWidget,
|
|
65
|
+
ca as rgbToHex,
|
|
66
|
+
ha as rgbToHsl,
|
|
67
|
+
na as rgbToOklch,
|
|
68
|
+
ga as rgbaToString,
|
|
69
|
+
la as route,
|
|
70
|
+
ba as router,
|
|
71
|
+
Ta as setupGuard,
|
|
72
|
+
Da as themeToCss,
|
|
73
|
+
Ra as toTypedSchema,
|
|
74
|
+
Sa as toast,
|
|
75
|
+
ma as translator,
|
|
76
|
+
fa as twMerge,
|
|
77
|
+
ya as useBreakpoints,
|
|
78
|
+
Ga as useColor,
|
|
79
|
+
va as useColorType,
|
|
80
|
+
pa as useCookie,
|
|
81
|
+
Fa as useDarkMode,
|
|
82
|
+
xa as useDashboard,
|
|
83
|
+
Ha as useDashboardWidget,
|
|
84
|
+
Wa as useFetchPagination,
|
|
85
|
+
Ja as useField,
|
|
86
|
+
Ba as useForm,
|
|
87
|
+
Ca as useHSL,
|
|
88
|
+
Ma as useHead,
|
|
89
|
+
ka as useHex,
|
|
90
|
+
Aa as useLayoutOptions,
|
|
91
|
+
La as useLoading,
|
|
92
|
+
$a as useMenu,
|
|
93
|
+
Oa as useRGB,
|
|
94
|
+
Ea as useRGBA,
|
|
95
|
+
Ia as useRoute,
|
|
96
|
+
wa as useRouteQuery,
|
|
97
|
+
Pa as useRouter,
|
|
98
|
+
_a as useSeoMeta,
|
|
99
|
+
Ka as useState,
|
|
100
|
+
Na as useValibotForm,
|
|
101
|
+
Qa as waitForServer
|
|
103
102
|
};
|
|
@@ -44,6 +44,10 @@ declare const __VLS_export: <T extends BaseSchema<any, any, any>>(__VLS_props: N
|
|
|
44
44
|
type: StringConstructor;
|
|
45
45
|
default: null;
|
|
46
46
|
};
|
|
47
|
+
contentClass: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
47
51
|
}> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((event: "submit", ...args: any[]) => void) & ((evt: "update:open", value: boolean) => void)>>> & PublicProps & (typeof globalThis extends {
|
|
48
52
|
__VLS_PROPS_FALLBACK: infer P;
|
|
49
53
|
} ? P : {});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { default as EmmitterService } from '../../shared/services/EmmitterService.ts';
|
|
2
|
-
|
|
2
|
+
import { EventContract } from '../contracts/events.ts';
|
|
3
|
+
declare const emmitter: EmmitterService<EventContract>;
|
|
3
4
|
export default emmitter;
|
|
@@ -79,7 +79,6 @@ export * from './entities/WidgetChartDefinition.ts';
|
|
|
79
79
|
export { default as WidgetChartDefinition } from './entities/WidgetChartDefinition.ts';
|
|
80
80
|
export * from './entities/WidgetTextDefinition.ts';
|
|
81
81
|
export { default as WidgetTextDefinition } from './entities/WidgetTextDefinition.ts';
|
|
82
|
-
export * from './utils/autoPages.ts';
|
|
83
82
|
export * from './utils/createId.ts';
|
|
84
83
|
export * from './utils/defineColumns.ts';
|
|
85
84
|
export * from './utils/defineFormFields.ts';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { NavigationGuard, Router as VueRouter, RouteRecordRaw } from 'vue-router';
|
|
2
|
-
import { DefineComponent } from 'vue';
|
|
3
2
|
export interface Router extends VueRouter {
|
|
4
3
|
auto: typeof auto;
|
|
5
4
|
}
|
|
@@ -10,5 +9,13 @@ export interface AutoOptions {
|
|
|
10
9
|
prefix?: string;
|
|
11
10
|
refine?: (records: RouteRecordRaw[]) => RouteRecordRaw[];
|
|
12
11
|
}
|
|
13
|
-
export
|
|
12
|
+
export interface RouterEvents {
|
|
13
|
+
'router:registered': {
|
|
14
|
+
router: Router;
|
|
15
|
+
};
|
|
16
|
+
'router:loaded': {
|
|
17
|
+
router: Router;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export declare function auto(imports: Record<string, any>, options?: AutoOptions): RouteRecordRaw[];
|
|
14
21
|
export declare function createRouter(): Router;
|
|
@@ -16,6 +16,7 @@ export * from './services/ValidatorService.ts';
|
|
|
16
16
|
export { default as ValidatorService } from './services/ValidatorService.ts';
|
|
17
17
|
export * from './utils/compose.ts';
|
|
18
18
|
export * from './utils/createId.ts';
|
|
19
|
+
export * from './utils/definePlugin.ts';
|
|
19
20
|
export * from './utils/flatten.ts';
|
|
20
21
|
export * from './utils/formatBytes.ts';
|
|
21
22
|
export * from './utils/index.ts';
|