sprof 1.15.0 → 1.17.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/dist/core/components/AdminGallery.vue.d.ts +3 -3
- package/dist/core/components/organisms/PUploaderImage/ImageCropper.vue.d.ts +2 -2
- package/dist/core/components/organisms/PUploaderImage/PUploaderImage.vue.d.ts +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/modules/forms/classes/Field.d.ts +1 -0
- package/dist/modules/forms/classes/Form.d.ts +1 -0
- package/dist/modules/forms/components/PFormImageInput.vue.d.ts +16 -0
- package/dist/modules/forms/components/index.d.ts +1 -0
- package/dist/modules/forms/index.d.ts +2 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/notify/NotifyStore.d.ts +54 -0
- package/dist/modules/notify/NotifyStore.test.d.ts +1 -0
- package/dist/modules/notify/components/NotifyBadge.vue.d.ts +9 -0
- package/dist/modules/notify/index.d.ts +4 -0
- package/dist/sprof.js +11810 -11556
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -18,8 +18,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
18
18
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
19
|
sort: (...args: any[]) => void;
|
|
20
20
|
remove: (...args: any[]) => void;
|
|
21
|
-
addImage: (...args: any[]) => void;
|
|
22
21
|
ratio: (...args: any[]) => void;
|
|
22
|
+
addImage: (...args: any[]) => void;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
24
|
images: {
|
|
25
25
|
type: globalThis.PropType<FileInfo[]>;
|
|
@@ -39,11 +39,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
39
39
|
}>> & Readonly<{
|
|
40
40
|
onSort?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
onAddImage?: ((...args: any[]) => any) | undefined;
|
|
43
42
|
onRatio?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
onAddImage?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
|
+
upload: boolean;
|
|
45
46
|
images: FileInfo[];
|
|
46
47
|
defaultRatio: number;
|
|
47
|
-
upload: boolean;
|
|
48
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
@@ -78,7 +78,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
78
78
|
$forceUpdate: () => void;
|
|
79
79
|
$nextTick: typeof import('vue').nextTick;
|
|
80
80
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
81
|
-
} & Readonly<{}> & Omit<Readonly<any>, "refresh" | "reset" | "rotate" | "
|
|
81
|
+
} & Readonly<{}> & Omit<Readonly<any>, "refresh" | "reset" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "move" | "flip"> & {
|
|
82
82
|
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
83
83
|
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
84
84
|
refresh: () => void;
|
|
@@ -142,7 +142,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
142
142
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
143
143
|
} & Readonly<{
|
|
144
144
|
[x: string]: any;
|
|
145
|
-
}> & Omit<Readonly<any>, "refresh" | "reset" | "rotate" | "
|
|
145
|
+
}> & Omit<Readonly<any>, "refresh" | "reset" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "move" | "flip"> & {
|
|
146
146
|
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
147
147
|
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
148
148
|
refresh: () => void;
|
|
@@ -11,12 +11,12 @@ interface Props {
|
|
|
11
11
|
}
|
|
12
12
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
crop: (...args: any[]) => void;
|
|
14
|
-
removeFile: (...args: any[]) => void;
|
|
15
14
|
"update:ratio": (...args: any[]) => void;
|
|
15
|
+
removeFile: (...args: any[]) => void;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
17
17
|
onCrop?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
onRemoveFile?: ((...args: any[]) => any) | undefined;
|
|
19
18
|
"onUpdate:ratio"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onRemoveFile?: ((...args: any[]) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
height: number;
|
|
22
22
|
ratio: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -30,6 +30,9 @@ export { AuthButtonLogin, AuthButtonRefresh, AuthButtonRegister, AuthButtonResto
|
|
|
30
30
|
export { Schedule, ScheduleDay, SchedulePlace, ScheduleSession, ScheduleSlot, } from './modules/schedule/classes/index';
|
|
31
31
|
export { default as ScheduleGridEditor } from './modules/schedule/components/ScheduleGridEditor.vue';
|
|
32
32
|
export { default as ScheduleTimeline } from './modules/schedule/components/ScheduleTimeline.vue';
|
|
33
|
+
export { default as NotifyBadge } from './modules/notify/components/NotifyBadge.vue';
|
|
34
|
+
export type { InboxItem, InboxResult } from './modules/notify/NotifyStore';
|
|
35
|
+
export { NotifyStore, useNotify } from './modules/notify/NotifyStore';
|
|
33
36
|
export type { NotifyType, ScheduleFactories, ScheduleItemKind, ScheduleLabels, SchedulePersistence, } from './modules/schedule/types/index';
|
|
34
37
|
export { defaultScheduleLabels as ScheduleDefaultLabels } from './modules/schedule/types/index';
|
|
35
38
|
export { PTable, PTableActions, PTableBadge, PTableBadges, PTableCount, PTableEdit, PTableEditableCell, PTableNumber, PTableSelect, PTableString } from './modules/table/index';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
height?: number;
|
|
3
|
+
ratio?: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
modelValue?: string;
|
|
7
|
+
} & __VLS_Props;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: string) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
height: number;
|
|
14
|
+
ratio: number;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as PFieldInput } from './PFieldInput.vue';
|
|
2
2
|
export { default as PFormBuilder } from './PFormBuilder.vue';
|
|
3
3
|
export { default as PFormFieldEditor } from './PFormFieldEditor.vue';
|
|
4
|
+
export { default as PFormImageInput } from './PFormImageInput.vue';
|
|
4
5
|
export { default as PFormRenderer } from './PFormRenderer.vue';
|
|
5
6
|
export { default as PFormSectionEditor } from './PFormSectionEditor.vue';
|
|
@@ -2,10 +2,11 @@ import { App } from 'vue';
|
|
|
2
2
|
import { default as PFieldInput } from './components/PFieldInput.vue';
|
|
3
3
|
import { default as PFormBuilder } from './components/PFormBuilder.vue';
|
|
4
4
|
import { default as PFormFieldEditor } from './components/PFormFieldEditor.vue';
|
|
5
|
+
import { default as PFormImageInput } from './components/PFormImageInput.vue';
|
|
5
6
|
import { default as PFormRenderer } from './components/PFormRenderer.vue';
|
|
6
7
|
import { default as PFormSectionEditor } from './components/PFormSectionEditor.vue';
|
|
7
8
|
export * as C from './classes/index';
|
|
8
9
|
export * as S from './store/index';
|
|
9
10
|
export * as UI from './components/index';
|
|
10
|
-
export { PFieldInput, PFormBuilder, PFormFieldEditor, PFormRenderer, PFormSectionEditor };
|
|
11
|
+
export { PFieldInput, PFormBuilder, PFormFieldEditor, PFormImageInput, PFormRenderer, PFormSectionEditor, };
|
|
11
12
|
export default function install(app: App): void;
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * as Contacts from './contacts/index';
|
|
|
2
2
|
export * as Filters from './filters/index';
|
|
3
3
|
export * as Forms from './forms/index';
|
|
4
4
|
export * as Menus from './menus/index';
|
|
5
|
+
export * as Notify from './notify/index';
|
|
5
6
|
export * as Schedule from './schedule/index';
|
|
6
7
|
export * as Table from './table/index';
|
|
7
8
|
export * as Tabs from './tabs/index';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface InboxItem {
|
|
2
|
+
id: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
group: string;
|
|
5
|
+
title: string;
|
|
6
|
+
body: string;
|
|
7
|
+
url: string;
|
|
8
|
+
event: string;
|
|
9
|
+
entity: string;
|
|
10
|
+
itemId: string;
|
|
11
|
+
readAt?: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
}
|
|
14
|
+
export interface InboxResult {
|
|
15
|
+
items: InboxItem[];
|
|
16
|
+
unread: number;
|
|
17
|
+
count: number;
|
|
18
|
+
}
|
|
19
|
+
export declare class NotifyStore {
|
|
20
|
+
items: globalThis.Ref<{
|
|
21
|
+
id: string;
|
|
22
|
+
userId: string;
|
|
23
|
+
group: string;
|
|
24
|
+
title: string;
|
|
25
|
+
body: string;
|
|
26
|
+
url: string;
|
|
27
|
+
event: string;
|
|
28
|
+
entity: string;
|
|
29
|
+
itemId: string;
|
|
30
|
+
readAt?: string | undefined;
|
|
31
|
+
createdAt: string;
|
|
32
|
+
}[], InboxItem[] | {
|
|
33
|
+
id: string;
|
|
34
|
+
userId: string;
|
|
35
|
+
group: string;
|
|
36
|
+
title: string;
|
|
37
|
+
body: string;
|
|
38
|
+
url: string;
|
|
39
|
+
event: string;
|
|
40
|
+
entity: string;
|
|
41
|
+
itemId: string;
|
|
42
|
+
readAt?: string | undefined;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
}[]>;
|
|
45
|
+
unread: globalThis.Ref<number, number>;
|
|
46
|
+
loading: globalThis.Ref<boolean, boolean>;
|
|
47
|
+
private group;
|
|
48
|
+
Use(group: string): this;
|
|
49
|
+
Load(): Promise<void>;
|
|
50
|
+
MarkRead(id: string): Promise<void>;
|
|
51
|
+
MarkAllRead(): Promise<void>;
|
|
52
|
+
private query;
|
|
53
|
+
}
|
|
54
|
+
export declare function useNotify(group?: string): NotifyStore;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
group?: string;
|
|
3
|
+
icon?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
icon: string;
|
|
7
|
+
group: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|