@feedmepos/mf-hrm-portal 0.0.1-alpha.1 → 0.0.1
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/package.json +1 -1
- package/dist/App.vue.d.ts +0 -2
- package/dist/EmployeeList-BU6n0y6w.js +0 -604
- package/dist/Entry.vue.d.ts +0 -2
- package/dist/PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js +0 -37
- package/dist/RoleList-kE8O8wyy.js +0 -492
- package/dist/TeamMemberList-BBl8auxB.js +0 -1447
- package/dist/TimesheetList-QmuwWz31.js +0 -395
- package/dist/api/employee/index.d.ts +0 -15
- package/dist/api/index.d.ts +0 -3
- package/dist/api/inventory/index.d.ts +0 -5
- package/dist/api/role/index.d.ts +0 -9
- package/dist/api/team/index.d.ts +0 -10
- package/dist/api/timesheet/index.d.ts +0 -6
- package/dist/api/user/index.d.ts +0 -6
- package/dist/app-DWSjl6MP.js +0 -1170
- package/dist/app-DXlbstZu.js +0 -2282
- package/dist/app.d.ts +0 -3
- package/dist/app.js +0 -6
- package/dist/components/AppForm.vue.d.ts +0 -45
- package/dist/components/CheckboxInput.vue.d.ts +0 -155
- package/dist/components/Navigator.vue.d.ts +0 -6
- package/dist/components/Splash.vue.d.ts +0 -2
- package/dist/composables/message.d.ts +0 -4
- package/dist/composables/restaurant.d.ts +0 -329
- package/dist/employee-C-ICOGva.js +0 -449
- package/dist/favicon.ico +0 -0
- package/dist/helpers/component.d.ts +0 -12
- package/dist/helpers/iteration.d.ts +0 -10
- package/dist/helpers/rule.d.ts +0 -28
- package/dist/helpers/utils.d.ts +0 -3
- package/dist/index-COaCoGwy.js +0 -57
- package/dist/loading-31nfQqf0.js +0 -140
- package/dist/lodash-P5mhhlxp.js +0 -3676
- package/dist/main-DlJuqlgg.js +0 -15636
- package/dist/main.d.ts +0 -1
- package/dist/restaurant-D5BNPLKh.js +0 -107
- package/dist/router/index.d.ts +0 -2
- package/dist/router/shared.d.ts +0 -10
- package/dist/rule-DjIknogy.js +0 -8229
- package/dist/search-Dh3HG-_h.js +0 -258
- package/dist/shared/api/index.d.ts +0 -3
- package/dist/shared/api/public.d.ts +0 -5
- package/dist/shared/components/button/ResponsiveFabButton.vue.d.ts +0 -3
- package/dist/shared/components/form/SelectFilter.vue.d.ts +0 -86
- package/dist/shared/components/layout/FormColumn.vue.d.ts +0 -12
- package/dist/shared/components/layout/FormItem.vue.d.ts +0 -17
- package/dist/shared/components/layout/FormSection.vue.d.ts +0 -18
- package/dist/shared/components/layout/FullWrapper.vue.d.ts +0 -9
- package/dist/shared/components/layout/HorizontalSplitter.vue.d.ts +0 -2
- package/dist/shared/components/layout/LottieAnimation.vue.d.ts +0 -39
- package/dist/shared/components/layout/PageLayout.vue.d.ts +0 -20
- package/dist/shared/components/loading/AppLoading.vue.d.ts +0 -20
- package/dist/shared/components/loading/PageLoading.vue.d.ts +0 -2
- package/dist/shared/components/loading/index.d.ts +0 -1
- package/dist/shared/components/menu/BottomSheetMenu.vue.d.ts +0 -13
- package/dist/shared/components/menu/BottomSheetMenuItem.vue.d.ts +0 -15
- package/dist/shared/components/menu/ResponsiveContextMenu.vue.d.ts +0 -13
- package/dist/shared/components/table/EmptyDataTemplate/Icon.vue.d.ts +0 -2
- package/dist/shared/components/table/EmptyDataTemplate/index.d.ts +0 -1
- package/dist/shared/components/table/EmptyDataTemplate/index.vue.d.ts +0 -18
- package/dist/shared/composable/dateRange.d.ts +0 -18
- package/dist/shared/composable/discardConfirm.d.ts +0 -1
- package/dist/shared/composable/elementPosition.d.ts +0 -17
- package/dist/shared/composable/filterSelector.d.ts +0 -12
- package/dist/shared/composable/loading.d.ts +0 -29
- package/dist/shared/composable/search.d.ts +0 -5
- package/dist/shared/composable/sheet.d.ts +0 -17
- package/dist/shared/helpers/createComponent.d.ts +0 -7
- package/dist/shared/helpers/iteration.d.ts +0 -11
- package/dist/shared/helpers/object.d.ts +0 -6
- package/dist/shared/helpers/string.d.ts +0 -12
- package/dist/shared/permission/posPermission.d.ts +0 -6
- package/dist/shared/stores/app.d.ts +0 -217
- package/dist/stores/employee.d.ts +0 -590
- package/dist/stores/role.d.ts +0 -214
- package/dist/stores/timesheet.d.ts +0 -253
- package/dist/style.css +0 -1
- package/dist/timesheet-Jwqi_LdM.js +0 -56
- package/dist/tsconfig.app.tsbuildinfo +0 -1
- package/dist/types/employee.d.ts +0 -30
- package/dist/types/permission.d.ts +0 -2
- package/dist/types/restaurant.d.ts +0 -18
- package/dist/types/role.d.ts +0 -37
- package/dist/types/team.d.ts +0 -49
- package/dist/types/timesheet.d.ts +0 -16
- package/dist/views/hr/locales/index.d.ts +0 -602
- package/dist/views/hr/views/employee/Employee.vue.d.ts +0 -2
- package/dist/views/hr/views/employee/EmployeeList.vue.d.ts +0 -38
- package/dist/views/hr/views/employee/components/EmployeeForm.vue.d.ts +0 -27
- package/dist/views/hr/views/main.vue.d.ts +0 -2
- package/dist/views/hr/views/role/RoleForm.vue.d.ts +0 -17
- package/dist/views/hr/views/role/RoleList.vue.d.ts +0 -5
- package/dist/views/hr/views/timesheet/TimesheetList.vue.d.ts +0 -2
- package/dist/views/team/locales/index.d.ts +0 -348
- package/dist/views/team/views/team/TeamMemberList.vue.d.ts +0 -2
- package/dist/views/team/views/team/components/AddMemberForm.vue.d.ts +0 -37
- package/dist/views/team/views/team/components/MemberInfo.vue.d.ts +0 -6
- package/dist/views/team/views/team/components/PortalPermissionEditor.vue.d.ts +0 -46
- package/dist/views/team/views/team/components/PortalUserSearcher.vue.d.ts +0 -40
- package/dist/views/team/views/team/components/TeamMemberBasePermission.vue.d.ts +0 -36
- package/dist/views/team/views/team/components/TeamMemberConditionPermission.vue.d.ts +0 -50
- package/dist/views/team/views/team/components/TeamMemberMasterUser.vue.d.ts +0 -710
- package/dist/views/team/views/team/components/TeamMemberRolePermission.vue.d.ts +0 -46
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type ComputedRef, type Ref } from 'vue';
|
|
2
|
-
import { type SnackbarProvider } from '@feedmepos/ui-library';
|
|
3
|
-
export interface UseLoadingReturn {
|
|
4
|
-
queue: ComputedRef<{
|
|
5
|
-
id: string;
|
|
6
|
-
isGlobal: boolean;
|
|
7
|
-
}[]>;
|
|
8
|
-
checkIsLoading: (id: string) => boolean;
|
|
9
|
-
global: <T>(fn: () => Promise<T>, config?: {
|
|
10
|
-
onSuccess?: (resp: T) => Promise<void> | void;
|
|
11
|
-
successMessage?: string;
|
|
12
|
-
}) => Promise<T>;
|
|
13
|
-
minor: <T>(fn: () => Promise<T>, config?: {
|
|
14
|
-
customId?: string | string[];
|
|
15
|
-
isLoading?: Ref<boolean>;
|
|
16
|
-
message?: string | Ref<string>;
|
|
17
|
-
caption?: string | Ref<string>;
|
|
18
|
-
icon?: string;
|
|
19
|
-
successMessage?: string;
|
|
20
|
-
successIcon?: string;
|
|
21
|
-
}) => Promise<T>;
|
|
22
|
-
custom: <T>(fn: () => Promise<T>, config?: {
|
|
23
|
-
isLoading?: Ref<boolean>;
|
|
24
|
-
successMessage?: string;
|
|
25
|
-
customId?: string | string[];
|
|
26
|
-
}) => Promise<T>;
|
|
27
|
-
}
|
|
28
|
-
declare const useLoading: (snackbar: SnackbarProvider) => UseLoadingReturn;
|
|
29
|
-
export default useLoading;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface SheetEvent {
|
|
2
|
-
(e: 'update:show', value: boolean): void;
|
|
3
|
-
(e: 'submit', value: any): void;
|
|
4
|
-
}
|
|
5
|
-
export default function useSheet(): {
|
|
6
|
-
open: <Component extends abstract new (...args: any[]) => any>({ component, props, }: {
|
|
7
|
-
component: Component;
|
|
8
|
-
props?: InstanceType<Component>["$props"] | undefined;
|
|
9
|
-
}) => {
|
|
10
|
-
instance: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}>;
|
|
13
|
-
close: () => Promise<void>;
|
|
14
|
-
onOk: (okFn: (value: any) => void) => void;
|
|
15
|
-
onCancel: (cancelFn: () => void) => void;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ComponentInternalInstance } from 'vue';
|
|
2
|
-
export declare const createComponentProgrammatically: <Component extends abstract new (...args: any) => any>(component: Component, currentInstance: ComponentInternalInstance | null, props: InstanceType<Component>["$props"]) => {
|
|
3
|
-
container: HTMLDivElement;
|
|
4
|
-
vNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>;
|
|
7
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function clone<T>(value: T, exceptKey?: string[]): T;
|
|
2
|
-
type Selector<T> = keyof T | ((item: T) => string);
|
|
3
|
-
export declare function sort<T>(arr: T[], option?: {
|
|
4
|
-
selector?: Selector<T>;
|
|
5
|
-
descending?: boolean;
|
|
6
|
-
} | undefined): T[];
|
|
7
|
-
export declare function group<T>(arr: T[], by: Selector<T>): {
|
|
8
|
-
[key: string]: T[];
|
|
9
|
-
};
|
|
10
|
-
export declare function chunk<T>(list: T[], size: number): T[][];
|
|
11
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare function randomString(length: number, config?: {
|
|
2
|
-
includeSpecialCase: boolean;
|
|
3
|
-
}): string;
|
|
4
|
-
declare const filter: {
|
|
5
|
-
alphabetOnly(word: string): string;
|
|
6
|
-
alphaNumeric(word: string): string;
|
|
7
|
-
numericOnly(word: string): string;
|
|
8
|
-
};
|
|
9
|
-
declare const validate: {
|
|
10
|
-
email(input: string): RegExpMatchArray | null;
|
|
11
|
-
};
|
|
12
|
-
export { filter, validate, randomString };
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import type { FdoPublicSetting } from '@feedmepos/core/entity';
|
|
2
|
-
export type PublicSettingApi = FdoPublicSetting & {
|
|
3
|
-
aiSettings: {
|
|
4
|
-
remy: {
|
|
5
|
-
enable: boolean;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
interface AppState {
|
|
10
|
-
loadingQueue: LoadingQueue[];
|
|
11
|
-
publicSetting: PublicSettingApi;
|
|
12
|
-
}
|
|
13
|
-
interface LoadingQueue {
|
|
14
|
-
id: string;
|
|
15
|
-
isGlobal: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare const useAppStore: import("pinia").StoreDefinition<"portal-app-store", AppState, {}, {
|
|
18
|
-
addLoadingQueues(queues: LoadingQueue[]): void;
|
|
19
|
-
clearLoadingQueue(): void;
|
|
20
|
-
resolveQueues(queueIds: string[]): void;
|
|
21
|
-
promise<F extends (...args: any[]) => any>(callback: F, isGlobal?: boolean): Promise<ReturnType<F>>;
|
|
22
|
-
getPublicSetting(): Promise<{
|
|
23
|
-
delivery: {
|
|
24
|
-
feedMe: {
|
|
25
|
-
operatingHours?: {
|
|
26
|
-
0: {
|
|
27
|
-
hours: {
|
|
28
|
-
end: string;
|
|
29
|
-
start: string;
|
|
30
|
-
}[];
|
|
31
|
-
enable: boolean;
|
|
32
|
-
};
|
|
33
|
-
2: {
|
|
34
|
-
hours: {
|
|
35
|
-
end: string;
|
|
36
|
-
start: string;
|
|
37
|
-
}[];
|
|
38
|
-
enable: boolean;
|
|
39
|
-
};
|
|
40
|
-
1: {
|
|
41
|
-
hours: {
|
|
42
|
-
end: string;
|
|
43
|
-
start: string;
|
|
44
|
-
}[];
|
|
45
|
-
enable: boolean;
|
|
46
|
-
};
|
|
47
|
-
3: {
|
|
48
|
-
hours: {
|
|
49
|
-
end: string;
|
|
50
|
-
start: string;
|
|
51
|
-
}[];
|
|
52
|
-
enable: boolean;
|
|
53
|
-
};
|
|
54
|
-
4: {
|
|
55
|
-
hours: {
|
|
56
|
-
end: string;
|
|
57
|
-
start: string;
|
|
58
|
-
}[];
|
|
59
|
-
enable: boolean;
|
|
60
|
-
};
|
|
61
|
-
5: {
|
|
62
|
-
hours: {
|
|
63
|
-
end: string;
|
|
64
|
-
start: string;
|
|
65
|
-
}[];
|
|
66
|
-
enable: boolean;
|
|
67
|
-
};
|
|
68
|
-
6: {
|
|
69
|
-
hours: {
|
|
70
|
-
end: string;
|
|
71
|
-
start: string;
|
|
72
|
-
}[];
|
|
73
|
-
enable: boolean;
|
|
74
|
-
};
|
|
75
|
-
} | null | undefined;
|
|
76
|
-
maxDistance: number;
|
|
77
|
-
enable: boolean;
|
|
78
|
-
areas: {
|
|
79
|
-
polygon: number[][];
|
|
80
|
-
}[];
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
assets: {
|
|
84
|
-
groups: {
|
|
85
|
-
key: "portal" | "pos";
|
|
86
|
-
assets: {
|
|
87
|
-
type: "image" | "lottie";
|
|
88
|
-
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
|
89
|
-
path: string;
|
|
90
|
-
files: {
|
|
91
|
-
responsive?: {
|
|
92
|
-
mobile?: string | null | undefined;
|
|
93
|
-
tablet?: string | null | undefined;
|
|
94
|
-
desktop?: string | null | undefined;
|
|
95
|
-
} | null | undefined;
|
|
96
|
-
url: string;
|
|
97
|
-
createdAt: string;
|
|
98
|
-
config: {
|
|
99
|
-
useWhen: {
|
|
100
|
-
end: string;
|
|
101
|
-
start: string;
|
|
102
|
-
};
|
|
103
|
-
recurring: boolean;
|
|
104
|
-
};
|
|
105
|
-
lastUpdate: string;
|
|
106
|
-
}[];
|
|
107
|
-
}[];
|
|
108
|
-
}[];
|
|
109
|
-
};
|
|
110
|
-
sms: {
|
|
111
|
-
firebase: boolean;
|
|
112
|
-
};
|
|
113
|
-
aiSettings: {
|
|
114
|
-
remy: {
|
|
115
|
-
enable: boolean;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
}>;
|
|
119
|
-
updatePublicSetting(setting: Partial<FdoPublicSetting>): Promise<{
|
|
120
|
-
delivery: {
|
|
121
|
-
feedMe: {
|
|
122
|
-
operatingHours?: {
|
|
123
|
-
0: {
|
|
124
|
-
hours: {
|
|
125
|
-
end: string;
|
|
126
|
-
start: string;
|
|
127
|
-
}[];
|
|
128
|
-
enable: boolean;
|
|
129
|
-
};
|
|
130
|
-
2: {
|
|
131
|
-
hours: {
|
|
132
|
-
end: string;
|
|
133
|
-
start: string;
|
|
134
|
-
}[];
|
|
135
|
-
enable: boolean;
|
|
136
|
-
};
|
|
137
|
-
1: {
|
|
138
|
-
hours: {
|
|
139
|
-
end: string;
|
|
140
|
-
start: string;
|
|
141
|
-
}[];
|
|
142
|
-
enable: boolean;
|
|
143
|
-
};
|
|
144
|
-
3: {
|
|
145
|
-
hours: {
|
|
146
|
-
end: string;
|
|
147
|
-
start: string;
|
|
148
|
-
}[];
|
|
149
|
-
enable: boolean;
|
|
150
|
-
};
|
|
151
|
-
4: {
|
|
152
|
-
hours: {
|
|
153
|
-
end: string;
|
|
154
|
-
start: string;
|
|
155
|
-
}[];
|
|
156
|
-
enable: boolean;
|
|
157
|
-
};
|
|
158
|
-
5: {
|
|
159
|
-
hours: {
|
|
160
|
-
end: string;
|
|
161
|
-
start: string;
|
|
162
|
-
}[];
|
|
163
|
-
enable: boolean;
|
|
164
|
-
};
|
|
165
|
-
6: {
|
|
166
|
-
hours: {
|
|
167
|
-
end: string;
|
|
168
|
-
start: string;
|
|
169
|
-
}[];
|
|
170
|
-
enable: boolean;
|
|
171
|
-
};
|
|
172
|
-
} | null | undefined;
|
|
173
|
-
maxDistance: number;
|
|
174
|
-
enable: boolean;
|
|
175
|
-
areas: {
|
|
176
|
-
polygon: number[][];
|
|
177
|
-
}[];
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
assets: {
|
|
181
|
-
groups: {
|
|
182
|
-
key: "portal" | "pos";
|
|
183
|
-
assets: {
|
|
184
|
-
type: "image" | "lottie";
|
|
185
|
-
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
|
186
|
-
path: string;
|
|
187
|
-
files: {
|
|
188
|
-
responsive?: {
|
|
189
|
-
mobile?: string | null | undefined;
|
|
190
|
-
tablet?: string | null | undefined;
|
|
191
|
-
desktop?: string | null | undefined;
|
|
192
|
-
} | null | undefined;
|
|
193
|
-
url: string;
|
|
194
|
-
createdAt: string;
|
|
195
|
-
config: {
|
|
196
|
-
useWhen: {
|
|
197
|
-
end: string;
|
|
198
|
-
start: string;
|
|
199
|
-
};
|
|
200
|
-
recurring: boolean;
|
|
201
|
-
};
|
|
202
|
-
lastUpdate: string;
|
|
203
|
-
}[];
|
|
204
|
-
}[];
|
|
205
|
-
}[];
|
|
206
|
-
};
|
|
207
|
-
sms: {
|
|
208
|
-
firebase: boolean;
|
|
209
|
-
};
|
|
210
|
-
aiSettings: {
|
|
211
|
-
remy: {
|
|
212
|
-
enable: boolean;
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
}>;
|
|
216
|
-
}>;
|
|
217
|
-
export {};
|