@feedmepos/mf-hrm-portal 1.1.6-dev → 2.0.1-dev

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.
Files changed (98) hide show
  1. package/dist/AuditLogList-DZENrFVl.js +474 -0
  2. package/dist/EmployeeList-DJ-Lx4RI.js +626 -0
  3. package/dist/{main-C370wsCl.js → Main-BiTy1HOn.js} +1502 -1531
  4. package/dist/Main-Dp5EpNkO.js +86 -0
  5. package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-DuwNwJDM.js → PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js} +2 -2
  6. package/dist/PermissionSetList-_pXwG00F.js +323 -0
  7. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DrU4O0ww.js +3092 -0
  8. package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js +38 -0
  9. package/dist/RoleList-Ky-QqbsY.js +497 -0
  10. package/dist/{useSearch-C25VELOk.js → SelectFilter-NbXrJ4iH.js} +90 -101
  11. package/dist/TeamMemberList-DRrHuY31.js +973 -0
  12. package/dist/{TimesheetList-qaolOL4w.js → TimesheetList-BHHH42rb.js} +31 -29
  13. package/dist/api/audit-log/index.d.ts +14 -0
  14. package/dist/api/index.d.ts +5 -0
  15. package/dist/api/permission-assignment/index.d.ts +10 -0
  16. package/dist/api/permission-set/index.d.ts +8 -0
  17. package/dist/api/report-query/index.d.ts +5 -0
  18. package/dist/api/team/index.d.ts +2 -1
  19. package/dist/app-BA8Bg7Fs.js +3286 -0
  20. package/dist/app.js +1 -1
  21. package/dist/components/AppForm.vue.d.ts +3 -2
  22. package/dist/components/CheckboxInput.vue.d.ts +10 -4
  23. package/dist/components/CollapsibleWrapper.vue.d.ts +3 -2
  24. package/dist/components/form/SelectFilter.vue.d.ts +3 -2
  25. package/dist/components/layout/FormColumn.vue.d.ts +6 -3
  26. package/dist/components/layout/FormItem.vue.d.ts +2 -1
  27. package/dist/components/layout/FormSection.vue.d.ts +2 -1
  28. package/dist/components/layout/FullWrapper.vue.d.ts +6 -3
  29. package/dist/components/layout/PageLayout.vue.d.ts +2 -1
  30. package/dist/components/menu/BottomSheetMenu.vue.d.ts +2 -1
  31. package/dist/components/menu/BottomSheetMenuItem.vue.d.ts +6 -3
  32. package/dist/components/table/EmptyDataTemplate/index.vue.d.ts +6 -3
  33. package/dist/composables/useAppStore.d.ts +6 -6
  34. package/dist/composables/useDateRange.d.ts +1 -1
  35. package/dist/composables/useReportPermissions.d.ts +14 -0
  36. package/dist/composables/useRestaurantMap.d.ts +4 -8
  37. package/dist/composables/useSheet.d.ts +1 -1
  38. package/dist/dayjs.min-CEZE1nhx.js +282 -0
  39. package/dist/employee-pAypR6MP.js +144 -0
  40. package/dist/helpers/permission-set.d.ts +69 -0
  41. package/dist/helpers/portal-user.d.ts +8 -0
  42. package/dist/helpers/rule.d.ts +5 -4
  43. package/dist/index-C-bqkIkl.js +827 -0
  44. package/dist/index-bp5uff_3.js +10340 -0
  45. package/dist/{empty-placeholder-ey8LJtN1.js → index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js} +43 -2
  46. package/dist/{lodash-B5BTJU4_.js → lodash-D4y44Bjw.js} +326 -343
  47. package/dist/router/shared.d.ts +4 -1
  48. package/dist/stores/employee.d.ts +4 -4
  49. package/dist/stores/permission-assignment.d.ts +277 -0
  50. package/dist/stores/permission-set.d.ts +265 -0
  51. package/dist/stores/role.d.ts +4 -4
  52. package/dist/stores/team.d.ts +300 -0
  53. package/dist/stores/timesheet.d.ts +19 -19
  54. package/dist/style.css +1 -1
  55. package/dist/team-DcE1JQXZ.js +33 -0
  56. package/dist/{timesheet-Cy-jSzje.js → timesheet-DLosZfP0.js} +14 -14
  57. package/dist/tsconfig.app.tsbuildinfo +1 -1
  58. package/dist/types/audit-log.d.ts +1 -0
  59. package/dist/types/permission-assignment.d.ts +20 -0
  60. package/dist/types/permission-set.d.ts +24 -0
  61. package/dist/types/report-query.d.ts +6 -0
  62. package/dist/types/team.d.ts +13 -3
  63. package/dist/useAppStore-BMisdZ57.js +168 -0
  64. package/dist/useLoading-JdhZp_cM.js +99 -0
  65. package/dist/useReportPermissions-OjM-nHtC.js +65 -0
  66. package/dist/{useRestaurantMap-CpS9-OSq.js → useRestaurantMap-D5BNPLKh.js} +7 -7
  67. package/dist/useSearch-B6WK1LBB.js +15 -0
  68. package/dist/views/audit-log/locales/index.d.ts +295 -0
  69. package/dist/views/hr/employee/{components/EmployeeForm.vue.d.ts → EmployeeForm.vue.d.ts} +10 -7
  70. package/dist/views/team/Main.vue.d.ts +2 -0
  71. package/dist/views/team/components/BasePermission.vue.d.ts +64 -0
  72. package/dist/views/team/components/{TeamMemberConditionPermission.vue.d.ts → ConditionPermission.vue.d.ts} +14 -1
  73. package/dist/views/team/components/InheritPermissionTooltip.vue.d.ts +14 -0
  74. package/dist/views/team/components/PermissionWithTooltip.vue.d.ts +14 -0
  75. package/dist/views/team/components/PortalPermissionEditor.vue.d.ts +68 -28
  76. package/dist/views/team/components/{TeamMemberRolePermission.vue.d.ts → PosRolePermission.vue.d.ts} +14 -1
  77. package/dist/views/team/locales/index.d.ts +200 -4
  78. package/dist/views/team/{components → member}/AddMemberForm.vue.d.ts +1 -0
  79. package/dist/views/team/member/TeamMemberList.vue.d.ts +4 -0
  80. package/dist/views/team/member/TeamMemberMasterUser.vue.d.ts +55 -0
  81. package/dist/views/team/permission-set/PermissionSetForm.vue.d.ts +19 -0
  82. package/dist/views/team/permission-set/PermissionSetList.vue.d.ts +5 -0
  83. package/package.json +15 -8
  84. package/dist/EmployeeList-CP42mLpi.js +0 -605
  85. package/dist/RoleList-CsctaXlu.js +0 -492
  86. package/dist/TeamMemberList-DtXoUa5K.js +0 -1508
  87. package/dist/app-G_Dbs0OJ.js +0 -1202
  88. package/dist/employee-BTWpYxn5.js +0 -449
  89. package/dist/index-8ift6lz3.js +0 -57
  90. package/dist/rule-CM7JgjNr.js +0 -142112
  91. package/dist/types/permission.d.ts +0 -4
  92. package/dist/useAppStore-zINIo0LR.js +0 -93
  93. package/dist/useLoading-CWBRIBiy.js +0 -141
  94. package/dist/views/team/components/TeamMemberBasePermission.vue.d.ts +0 -36
  95. package/dist/views/team/components/TeamMemberMasterUser.vue.d.ts +0 -718
  96. /package/dist/views/{hr/main.vue.d.ts → audit-log/AuditLogList.vue.d.ts} +0 -0
  97. /package/dist/views/{team/TeamMemberList.vue.d.ts → hr/Main.vue.d.ts} +0 -0
  98. /package/dist/views/team/{components → member}/MemberInfo.vue.d.ts +0 -0
@@ -1,718 +0,0 @@
1
- import { type PropType } from 'vue';
2
- import type { CheckboxOption } from '@/components/CheckboxInput.vue';
3
- import type { IFdtoPermissionPosUser } from '@/types/team';
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- modelValue: {
6
- type: PropType<IFdtoPermissionPosUser>;
7
- default: undefined;
8
- };
9
- fallbackName: {
10
- type: StringConstructor;
11
- required: true;
12
- };
13
- fallbackPasscode: {
14
- type: StringConstructor;
15
- default: undefined;
16
- };
17
- restaurants: {
18
- type: PropType<{
19
- channel?: string | null | undefined;
20
- customAttributes?: Record<string, any> | null | undefined;
21
- takeaway?: {
22
- catalogId?: string | null | undefined;
23
- } | null | undefined;
24
- machineId?: string | null | undefined;
25
- catalogId?: string | null | undefined;
26
- inHouseDelivery?: {
27
- taxes?: Record<string, {
28
- inclusive: boolean;
29
- taxCode: string;
30
- systemCode: string;
31
- }> | null | undefined;
32
- deliveryTime?: {
33
- time?: string[] | null | undefined;
34
- custom?: {
35
- 0: {
36
- hours: {
37
- end: string;
38
- start: string;
39
- }[];
40
- enable: boolean;
41
- };
42
- 2: {
43
- hours: {
44
- end: string;
45
- start: string;
46
- }[];
47
- enable: boolean;
48
- };
49
- 1: {
50
- hours: {
51
- end: string;
52
- start: string;
53
- }[];
54
- enable: boolean;
55
- };
56
- 3: {
57
- hours: {
58
- end: string;
59
- start: string;
60
- }[];
61
- enable: boolean;
62
- };
63
- 4: {
64
- hours: {
65
- end: string;
66
- start: string;
67
- }[];
68
- enable: boolean;
69
- };
70
- 5: {
71
- hours: {
72
- end: string;
73
- start: string;
74
- }[];
75
- enable: boolean;
76
- };
77
- 6: {
78
- hours: {
79
- end: string;
80
- start: string;
81
- }[];
82
- enable: boolean;
83
- };
84
- } | null | undefined;
85
- day: {
86
- max: number;
87
- min: number;
88
- };
89
- } | null | undefined;
90
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
91
- offlinePaymentTypes?: {
92
- name: string;
93
- instruction: string;
94
- }[] | null | undefined;
95
- autoAccept?: boolean | null | undefined;
96
- autoAcceptPaidOnly?: boolean | null | undefined;
97
- ignoreStock?: boolean | null | undefined;
98
- enable: boolean;
99
- catalogId: string | null;
100
- areas: {
101
- minPurchase?: {
102
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
103
- amount: number;
104
- precision: number;
105
- } | null | undefined;
106
- freeAfterTotal?: {
107
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
108
- amount: number;
109
- precision: number;
110
- } | null | undefined;
111
- polygon: number[][];
112
- deliveryFee: {
113
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
114
- amount: number;
115
- precision: number;
116
- };
117
- }[];
118
- term: string;
119
- } | null | undefined;
120
- pickup?: {
121
- catalogId?: string | null | undefined;
122
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
123
- offlinePaymentTypes?: {
124
- name: string;
125
- instruction: string;
126
- }[] | null | undefined;
127
- autoAccept?: boolean | null | undefined;
128
- autoAcceptPaidOnly?: boolean | null | undefined;
129
- ignoreStock?: boolean | null | undefined;
130
- pickupTime?: {
131
- day: {
132
- max: number;
133
- min: number;
134
- };
135
- } | null | undefined;
136
- pickupPointConfig?: {
137
- restaurantEnable: boolean;
138
- points: {
139
- name: string;
140
- address: string;
141
- coordinates: number[];
142
- }[];
143
- } | null | undefined;
144
- } | null | undefined;
145
- dineIn?: {
146
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
147
- offlinePaymentTypes?: {
148
- name: string;
149
- instruction: string;
150
- }[] | null | undefined;
151
- ignoreStock?: boolean | null | undefined;
152
- staticQr?: boolean | null | undefined;
153
- disableItemRemark?: boolean | null | undefined;
154
- acceptQueue?: boolean | null | undefined;
155
- anonymousOrder: boolean;
156
- } | null | undefined;
157
- driveThru?: {
158
- catalogId?: string | null | undefined;
159
- enabled: boolean;
160
- } | null | undefined;
161
- pf_business?: {
162
- internal?: boolean | null | undefined;
163
- url?: string | null | undefined;
164
- expiredAt?: string | null | undefined;
165
- agentId?: string | null | undefined;
166
- attributeSettings?: {
167
- options?: any[] | null | undefined;
168
- type: "string" | "number" | "boolean" | "date";
169
- key: string;
170
- entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse" | "inventoryPurchaseOrder";
171
- }[] | null | undefined;
172
- pf_agent?: {
173
- clickupId?: string | null | undefined;
174
- members?: {
175
- pf_user?: {
176
- email?: string | null | undefined;
177
- phoneNumber?: string | null | undefined;
178
- birthday?: string | null | undefined;
179
- gender?: "MALE" | "FEMALE" | null | undefined;
180
- addresses?: {
181
- name: string;
182
- address: string;
183
- coordinates: number[];
184
- }[] | null | undefined;
185
- photoURL?: string | null | undefined;
186
- displayName?: string | null | undefined;
187
- imported?: {
188
- raw: Record<string, any>;
189
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
190
- } | null | undefined;
191
- _id: string;
192
- } | null | undefined;
193
- role: "ADMIN";
194
- userId: string;
195
- }[] | null | undefined;
196
- code: string;
197
- name: string;
198
- _id: string;
199
- isReseller: boolean;
200
- } | null | undefined;
201
- thumbnail?: string | null | undefined;
202
- billingInfos?: {
203
- _id?: string | null | undefined;
204
- name: string;
205
- address: {
206
- coordinates?: number[] | null | undefined;
207
- line2?: string | null | undefined;
208
- state: string;
209
- country: string;
210
- line1: string;
211
- city: string;
212
- postcode: string;
213
- };
214
- email: string;
215
- companyName: string;
216
- contact: string;
217
- }[] | null | undefined;
218
- customerDisplayImages?: {
219
- url: string;
220
- restaurantIds: string[];
221
- }[] | null | undefined;
222
- name: string;
223
- _id: string;
224
- ownerId: string;
225
- restaurantQuota: number;
226
- warehouseQuota: number;
227
- menuVersion: string;
228
- } | null | undefined;
229
- features?: string[] | null | undefined;
230
- machineOtp?: string | null | undefined;
231
- machineOtpExpiredAt?: string | null | undefined;
232
- posVersion?: string | null | undefined;
233
- posHeartbeat?: string | null | undefined;
234
- posVersionHistory?: Record<string, string> | null | undefined;
235
- additionalCatalogs?: string[] | null | undefined;
236
- feedmeDelivery?: {
237
- instruction?: string | null | undefined;
238
- catalogId?: string | null | undefined;
239
- term?: string | null | undefined;
240
- autoAccept?: boolean | null | undefined;
241
- ignoreStock?: boolean | null | undefined;
242
- enable: boolean;
243
- } | null | undefined;
244
- couchDbPassword?: string | null | undefined;
245
- apiToken?: string | null | undefined;
246
- remoteSupports?: {
247
- anydeskId?: string | null | undefined;
248
- anydeskPassword?: string | null | undefined;
249
- deviceName: string;
250
- }[] | null | undefined;
251
- payoutAccount?: Record<string, any> | null | undefined;
252
- clearCount?: number | null | undefined;
253
- queueSetting?: {
254
- duration?: number | null | undefined;
255
- enableOrder: boolean;
256
- initialNumber: number;
257
- endNumber: number;
258
- currentNumber: number;
259
- autoCalledLimit: number;
260
- } | null | undefined;
261
- tableMappingSetting?: {
262
- enable?: boolean | null | undefined;
263
- showSeat?: boolean | null | undefined;
264
- mapBorderColor?: number | null | undefined;
265
- mapLineColor?: number | null | undefined;
266
- } | null | undefined;
267
- foodpandaDelivery?: any;
268
- grabfoodDelivery?: any;
269
- shopeefoodDelivery?: any;
270
- _id: string;
271
- expiredAt: string;
272
- businessId: string;
273
- profile: {
274
- code?: string | null | undefined;
275
- url?: string | null | undefined;
276
- description?: string | null | undefined;
277
- _id?: string | null | undefined;
278
- legalName?: string | null | undefined;
279
- sstRegNo?: string | null | undefined;
280
- discovery?: boolean | null | undefined;
281
- coverPhoto?: string | null | undefined;
282
- thumbnailPhoto?: string | null | undefined;
283
- photos?: string[] | null | undefined;
284
- operatingHours?: {
285
- 0: {
286
- hours: {
287
- end: string;
288
- start: string;
289
- }[];
290
- enable: boolean;
291
- };
292
- 2: {
293
- hours: {
294
- end: string;
295
- start: string;
296
- }[];
297
- enable: boolean;
298
- };
299
- 1: {
300
- hours: {
301
- end: string;
302
- start: string;
303
- }[];
304
- enable: boolean;
305
- };
306
- 3: {
307
- hours: {
308
- end: string;
309
- start: string;
310
- }[];
311
- enable: boolean;
312
- };
313
- 4: {
314
- hours: {
315
- end: string;
316
- start: string;
317
- }[];
318
- enable: boolean;
319
- };
320
- 5: {
321
- hours: {
322
- end: string;
323
- start: string;
324
- }[];
325
- enable: boolean;
326
- };
327
- 6: {
328
- hours: {
329
- end: string;
330
- start: string;
331
- }[];
332
- enable: boolean;
333
- };
334
- } | null | undefined;
335
- tags?: string[] | null | undefined;
336
- name: string;
337
- address: {
338
- coordinates?: number[] | null | undefined;
339
- line2?: string | null | undefined;
340
- state: string;
341
- country: string;
342
- line1: string;
343
- city: string;
344
- postcode: string;
345
- };
346
- email: string;
347
- phoneNo: string;
348
- regNo: string;
349
- };
350
- }[]>;
351
- required: true;
352
- };
353
- roles: {
354
- type: PropType<CheckboxOption[]>;
355
- required: true;
356
- };
357
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
358
- "update:model-value": (user: IFdtoPermissionPosUser | undefined) => any;
359
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
360
- modelValue: {
361
- type: PropType<IFdtoPermissionPosUser>;
362
- default: undefined;
363
- };
364
- fallbackName: {
365
- type: StringConstructor;
366
- required: true;
367
- };
368
- fallbackPasscode: {
369
- type: StringConstructor;
370
- default: undefined;
371
- };
372
- restaurants: {
373
- type: PropType<{
374
- channel?: string | null | undefined;
375
- customAttributes?: Record<string, any> | null | undefined;
376
- takeaway?: {
377
- catalogId?: string | null | undefined;
378
- } | null | undefined;
379
- machineId?: string | null | undefined;
380
- catalogId?: string | null | undefined;
381
- inHouseDelivery?: {
382
- taxes?: Record<string, {
383
- inclusive: boolean;
384
- taxCode: string;
385
- systemCode: string;
386
- }> | null | undefined;
387
- deliveryTime?: {
388
- time?: string[] | null | undefined;
389
- custom?: {
390
- 0: {
391
- hours: {
392
- end: string;
393
- start: string;
394
- }[];
395
- enable: boolean;
396
- };
397
- 2: {
398
- hours: {
399
- end: string;
400
- start: string;
401
- }[];
402
- enable: boolean;
403
- };
404
- 1: {
405
- hours: {
406
- end: string;
407
- start: string;
408
- }[];
409
- enable: boolean;
410
- };
411
- 3: {
412
- hours: {
413
- end: string;
414
- start: string;
415
- }[];
416
- enable: boolean;
417
- };
418
- 4: {
419
- hours: {
420
- end: string;
421
- start: string;
422
- }[];
423
- enable: boolean;
424
- };
425
- 5: {
426
- hours: {
427
- end: string;
428
- start: string;
429
- }[];
430
- enable: boolean;
431
- };
432
- 6: {
433
- hours: {
434
- end: string;
435
- start: string;
436
- }[];
437
- enable: boolean;
438
- };
439
- } | null | undefined;
440
- day: {
441
- max: number;
442
- min: number;
443
- };
444
- } | null | undefined;
445
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
446
- offlinePaymentTypes?: {
447
- name: string;
448
- instruction: string;
449
- }[] | null | undefined;
450
- autoAccept?: boolean | null | undefined;
451
- autoAcceptPaidOnly?: boolean | null | undefined;
452
- ignoreStock?: boolean | null | undefined;
453
- enable: boolean;
454
- catalogId: string | null;
455
- areas: {
456
- minPurchase?: {
457
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
458
- amount: number;
459
- precision: number;
460
- } | null | undefined;
461
- freeAfterTotal?: {
462
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
463
- amount: number;
464
- precision: number;
465
- } | null | undefined;
466
- polygon: number[][];
467
- deliveryFee: {
468
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
469
- amount: number;
470
- precision: number;
471
- };
472
- }[];
473
- term: string;
474
- } | null | undefined;
475
- pickup?: {
476
- catalogId?: string | null | undefined;
477
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
478
- offlinePaymentTypes?: {
479
- name: string;
480
- instruction: string;
481
- }[] | null | undefined;
482
- autoAccept?: boolean | null | undefined;
483
- autoAcceptPaidOnly?: boolean | null | undefined;
484
- ignoreStock?: boolean | null | undefined;
485
- pickupTime?: {
486
- day: {
487
- max: number;
488
- min: number;
489
- };
490
- } | null | undefined;
491
- pickupPointConfig?: {
492
- restaurantEnable: boolean;
493
- points: {
494
- name: string;
495
- address: string;
496
- coordinates: number[];
497
- }[];
498
- } | null | undefined;
499
- } | null | undefined;
500
- dineIn?: {
501
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
502
- offlinePaymentTypes?: {
503
- name: string;
504
- instruction: string;
505
- }[] | null | undefined;
506
- ignoreStock?: boolean | null | undefined;
507
- staticQr?: boolean | null | undefined;
508
- disableItemRemark?: boolean | null | undefined;
509
- acceptQueue?: boolean | null | undefined;
510
- anonymousOrder: boolean;
511
- } | null | undefined;
512
- driveThru?: {
513
- catalogId?: string | null | undefined;
514
- enabled: boolean;
515
- } | null | undefined;
516
- pf_business?: {
517
- internal?: boolean | null | undefined;
518
- url?: string | null | undefined;
519
- expiredAt?: string | null | undefined;
520
- agentId?: string | null | undefined;
521
- attributeSettings?: {
522
- options?: any[] | null | undefined;
523
- type: "string" | "number" | "boolean" | "date";
524
- key: string;
525
- entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse" | "inventoryPurchaseOrder";
526
- }[] | null | undefined;
527
- pf_agent?: {
528
- clickupId?: string | null | undefined;
529
- members?: {
530
- pf_user?: {
531
- email?: string | null | undefined;
532
- phoneNumber?: string | null | undefined;
533
- birthday?: string | null | undefined;
534
- gender?: "MALE" | "FEMALE" | null | undefined;
535
- addresses?: {
536
- name: string;
537
- address: string;
538
- coordinates: number[];
539
- }[] | null | undefined;
540
- photoURL?: string | null | undefined;
541
- displayName?: string | null | undefined;
542
- imported?: {
543
- raw: Record<string, any>;
544
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
545
- } | null | undefined;
546
- _id: string;
547
- } | null | undefined;
548
- role: "ADMIN";
549
- userId: string;
550
- }[] | null | undefined;
551
- code: string;
552
- name: string;
553
- _id: string;
554
- isReseller: boolean;
555
- } | null | undefined;
556
- thumbnail?: string | null | undefined;
557
- billingInfos?: {
558
- _id?: string | null | undefined;
559
- name: string;
560
- address: {
561
- coordinates?: number[] | null | undefined;
562
- line2?: string | null | undefined;
563
- state: string;
564
- country: string;
565
- line1: string;
566
- city: string;
567
- postcode: string;
568
- };
569
- email: string;
570
- companyName: string;
571
- contact: string;
572
- }[] | null | undefined;
573
- customerDisplayImages?: {
574
- url: string;
575
- restaurantIds: string[];
576
- }[] | null | undefined;
577
- name: string;
578
- _id: string;
579
- ownerId: string;
580
- restaurantQuota: number;
581
- warehouseQuota: number;
582
- menuVersion: string;
583
- } | null | undefined;
584
- features?: string[] | null | undefined;
585
- machineOtp?: string | null | undefined;
586
- machineOtpExpiredAt?: string | null | undefined;
587
- posVersion?: string | null | undefined;
588
- posHeartbeat?: string | null | undefined;
589
- posVersionHistory?: Record<string, string> | null | undefined;
590
- additionalCatalogs?: string[] | null | undefined;
591
- feedmeDelivery?: {
592
- instruction?: string | null | undefined;
593
- catalogId?: string | null | undefined;
594
- term?: string | null | undefined;
595
- autoAccept?: boolean | null | undefined;
596
- ignoreStock?: boolean | null | undefined;
597
- enable: boolean;
598
- } | null | undefined;
599
- couchDbPassword?: string | null | undefined;
600
- apiToken?: string | null | undefined;
601
- remoteSupports?: {
602
- anydeskId?: string | null | undefined;
603
- anydeskPassword?: string | null | undefined;
604
- deviceName: string;
605
- }[] | null | undefined;
606
- payoutAccount?: Record<string, any> | null | undefined;
607
- clearCount?: number | null | undefined;
608
- queueSetting?: {
609
- duration?: number | null | undefined;
610
- enableOrder: boolean;
611
- initialNumber: number;
612
- endNumber: number;
613
- currentNumber: number;
614
- autoCalledLimit: number;
615
- } | null | undefined;
616
- tableMappingSetting?: {
617
- enable?: boolean | null | undefined;
618
- showSeat?: boolean | null | undefined;
619
- mapBorderColor?: number | null | undefined;
620
- mapLineColor?: number | null | undefined;
621
- } | null | undefined;
622
- foodpandaDelivery?: any;
623
- grabfoodDelivery?: any;
624
- shopeefoodDelivery?: any;
625
- _id: string;
626
- expiredAt: string;
627
- businessId: string;
628
- profile: {
629
- code?: string | null | undefined;
630
- url?: string | null | undefined;
631
- description?: string | null | undefined;
632
- _id?: string | null | undefined;
633
- legalName?: string | null | undefined;
634
- sstRegNo?: string | null | undefined;
635
- discovery?: boolean | null | undefined;
636
- coverPhoto?: string | null | undefined;
637
- thumbnailPhoto?: string | null | undefined;
638
- photos?: string[] | null | undefined;
639
- operatingHours?: {
640
- 0: {
641
- hours: {
642
- end: string;
643
- start: string;
644
- }[];
645
- enable: boolean;
646
- };
647
- 2: {
648
- hours: {
649
- end: string;
650
- start: string;
651
- }[];
652
- enable: boolean;
653
- };
654
- 1: {
655
- hours: {
656
- end: string;
657
- start: string;
658
- }[];
659
- enable: boolean;
660
- };
661
- 3: {
662
- hours: {
663
- end: string;
664
- start: string;
665
- }[];
666
- enable: boolean;
667
- };
668
- 4: {
669
- hours: {
670
- end: string;
671
- start: string;
672
- }[];
673
- enable: boolean;
674
- };
675
- 5: {
676
- hours: {
677
- end: string;
678
- start: string;
679
- }[];
680
- enable: boolean;
681
- };
682
- 6: {
683
- hours: {
684
- end: string;
685
- start: string;
686
- }[];
687
- enable: boolean;
688
- };
689
- } | null | undefined;
690
- tags?: string[] | null | undefined;
691
- name: string;
692
- address: {
693
- coordinates?: number[] | null | undefined;
694
- line2?: string | null | undefined;
695
- state: string;
696
- country: string;
697
- line1: string;
698
- city: string;
699
- postcode: string;
700
- };
701
- email: string;
702
- phoneNo: string;
703
- regNo: string;
704
- };
705
- }[]>;
706
- required: true;
707
- };
708
- roles: {
709
- type: PropType<CheckboxOption[]>;
710
- required: true;
711
- };
712
- }>> & Readonly<{
713
- "onUpdate:model-value"?: ((user: IFdtoPermissionPosUser | undefined) => any) | undefined;
714
- }>, {
715
- modelValue: IFdtoPermissionPosUser;
716
- fallbackPasscode: string;
717
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
718
- export default _default;