@oneclick.dev/cms-core-modules 0.0.102 → 0.0.104
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/AgendaOpeningHoursCard-B7ROIPWw.js +1 -0
- package/dist/AgendaOpeningHoursCard-Cp4wxUeK.mjs +172 -0
- package/dist/AppointmentListTable-DZJNmTMb.mjs +177 -0
- package/dist/AppointmentListTable-Dieu9US_.js +1 -0
- package/dist/{ContentEditor-Cjqgb64R.mjs → ContentEditor-B1nfKG_5.mjs} +706 -677
- package/dist/{ContentEditor-YgOS3kxS.js → ContentEditor-DdFU8piH.js} +15 -16
- package/dist/{Create-6uT9HWar.mjs → Create-BRBh0xjM.mjs} +2 -2
- package/dist/{Create-DuZ5nZrX.js → Create-qPeQxkdl.js} +1 -1
- package/dist/{DateFormatter-2B0R-DY4.mjs → DateFormatter-Bw-87W31.mjs} +212 -227
- package/dist/DateFormatter-CYAD4GBN.js +1 -0
- package/dist/{Detail-BZ-iE9vf.js → Detail-C857g62L.js} +1 -1
- package/dist/{Detail-CJVMJDP7.mjs → Detail-CujdFApD.mjs} +2 -2
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-DWMqQvHl.mjs +76 -0
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-kpjbVSXg.js +1 -0
- package/dist/{Entries-DkRhOt95.js → Entries-BaS6H6ak.js} +1 -1
- package/dist/{Entries-dLlCrXXe.mjs → Entries-C8UJkrVC.mjs} +1 -1
- package/dist/{Find-Bd1uLqSa.mjs → Find-B24ZEhYM.mjs} +1 -1
- package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-Bc946oSc.mjs → NewReservationDialog.vue_vue_type_script_setup_true_lang-9Q7TMm4u.mjs} +37 -37
- package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-CqERfyYb.js → NewReservationDialog.vue_vue_type_script_setup_true_lang-DiNzGl-q.js} +1 -1
- package/dist/{Overview-DoOASlNz.mjs → Overview-3HWhsqaz.mjs} +2 -2
- package/dist/{Overview-37nilXzE.js → Overview-CpHhuiaV.js} +1 -1
- package/dist/{Overview-DeQQ0FY3.js → Overview-DAxCu9XC.js} +1 -1
- package/dist/{Overview-C--dq51X.mjs → Overview-D_T3K6aq.mjs} +1 -1
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-Cz_22Oce.mjs +2927 -0
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-DPPNc-Z5.js +349 -0
- package/dist/TableView-CPAw3h8g.js +4 -0
- package/dist/TableView-DXmEF6pY.mjs +6143 -0
- package/dist/agenda-BNG05SAq.js +1 -0
- package/dist/agenda-D1RxMxBS.mjs +1152 -0
- package/dist/availability-CMrRa5y2.mjs +269 -0
- package/dist/availability-Cf2YfMwM.js +1 -0
- package/dist/booking-data-DgJd0BcM.mjs +889 -0
- package/dist/booking-data-Di5GmH_8.js +1 -0
- package/dist/cms-core-modules.css +1 -1
- package/dist/{exceptions-Bp5BSvxO.js → exceptions-CI0B4xVj.js} +1 -1
- package/dist/{exceptions-C97cNZYl.mjs → exceptions-vo8SA5SE.mjs} +68 -68
- package/dist/index-BtujSJeg.js +35 -0
- package/dist/{index-CrGjxSwa.mjs → index-CrgzoTyR.mjs} +1 -1
- package/dist/{index-D2a6wEPh.js → index-DPd3waTN.js} +1 -1
- package/dist/{index-CABh6Qn6.mjs → index-DrXxXB2F.mjs} +15 -15
- package/dist/{index-B-lVEpFX.mjs → index-MYWjg0zi.mjs} +3 -3
- package/dist/index-dOdMm1pV.mjs +1105 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +196 -143
- package/dist/interpolation-DEDSLETn.mjs +128 -0
- package/dist/interpolation-DERg6Lwt.js +1 -0
- package/dist/orders-CzzcFQha.mjs +559 -0
- package/dist/orders-ETtbA4aQ.js +1 -0
- package/dist/{payment-Bosr0m3u.mjs → payment-C3ohkehF.mjs} +1 -1
- package/dist/{payment-DDnC03jb.js → payment-Dfr-Ro-a.js} +1 -1
- package/dist/{resources-BtF5RUUq.js → resources-CxeFd57z.js} +1 -1
- package/dist/{resources-B7qDBC91.mjs → resources-WI_4SO6T.mjs} +2 -2
- package/dist/server-handlers.cjs.js +1 -1
- package/dist/server-handlers.mjs +457 -387
- package/dist/src/appointments/chat-components/AgendaOpeningHoursCard.vue.d.ts +15 -0
- package/dist/src/appointments/components/edit/CustomerInformationFieldEditorDialog.vue.d.ts +17 -5
- package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +8 -3
- package/dist/src/appointments/components/edit/EventDialog/EventDialog.vue.d.ts +1 -0
- package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +6 -3
- package/dist/src/appointments/components/edit/EventTimeline.vue.d.ts +3 -0
- package/dist/src/appointments/components/edit/EventView.vue.d.ts +6 -1
- package/dist/src/appointments/components/edit/MetadataSchemaEditorDialog.vue.d.ts +12 -0
- package/dist/src/appointments/components/edit/OrderMetadataDisplay.vue.d.ts +21 -0
- package/dist/src/appointments/components/edit/dashboard/BookingsList.vue.d.ts +8 -3
- package/dist/src/appointments/index.d.ts +53 -0
- package/dist/src/appointments/pages/edit/agenda.vue.d.ts +3 -1
- package/dist/src/appointments/pages/edit/availability.vue.d.ts +1 -26
- package/dist/src/appointments/pages/edit/booking-data.vue.d.ts +65 -0
- package/dist/src/appointments/pages/edit/orders.vue.d.ts +7 -3
- package/dist/src/appointments/tools.d.ts +52 -0
- package/dist/src/appointments/types.d.ts +12 -0
- package/dist/src/table/config.d.ts +200 -0
- package/dist/src/table/get_data_flow-DEFAULT.json.d.ts +129 -0
- package/dist/src/table/index.d.ts +200 -0
- package/dist/utils-CanmrIWO.mjs +47 -0
- package/dist/utils-Yd6F5mea.js +3 -0
- package/package.json +2 -2
- package/src/appointments/tools.ts +38 -0
- package/dist/AppointmentListTable-CQ0WIXtj.js +0 -1
- package/dist/AppointmentListTable-aV_UJd6j.mjs +0 -159
- package/dist/DateFormatter-DbtOLV0L.js +0 -1
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-DXa-Xxue.mjs +0 -74
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-ozYrxb2g.js +0 -1
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-CL5kbDII.mjs +0 -2782
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-DcyyNvf6.js +0 -349
- package/dist/TableView-CIJs118q.mjs +0 -5929
- package/dist/TableView-DzZYf34i.js +0 -4
- package/dist/agenda-CCOjPiwP.mjs +0 -1133
- package/dist/agenda-CNPQfaIQ.js +0 -1
- package/dist/availability-B1D4Fyzi.mjs +0 -629
- package/dist/availability-DxrUcYbW.js +0 -1
- package/dist/index-BOnqrBfY.js +0 -35
- package/dist/index-Bj0qaL1N.mjs +0 -1091
- package/dist/interpolation-BBwG_ON6.mjs +0 -65
- package/dist/interpolation-CsOrww73.js +0 -1
- package/dist/orders-BJV5vRQr.mjs +0 -397
- package/dist/orders-C1C5IEIP.js +0 -1
- package/dist/regular-slots-Cc1jmKuC.mjs +0 -222
- package/dist/regular-slots-DBs1XVeN.js +0 -1
- package/dist/src/appointments/pages/edit/regular-slots.vue.d.ts +0 -2
- package/dist/utils-BVKy9S2J.mjs +0 -29
- package/dist/utils-D6CaKJbp.js +0 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
toolName: string;
|
|
3
|
+
projectSlug: string;
|
|
4
|
+
instanceId: string;
|
|
5
|
+
instanceName: string;
|
|
6
|
+
moduleType: string;
|
|
7
|
+
resolvedArgs: Record<string, any>;
|
|
8
|
+
status: 'pending' | 'running' | 'completed' | 'error';
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
+
submit: (result: any) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onSubmit?: ((result: any) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -1,12 +1,24 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
keysInUse: {
|
|
3
|
+
type: () => string[];
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
}>, {
|
|
2
7
|
openDialog: (field: any) => void;
|
|
3
8
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
9
|
"add-field": (fieldData: any) => any;
|
|
5
|
-
"update-field": (fieldData: any) => any;
|
|
10
|
+
"update-field": (fieldId: string, fieldData: any) => any;
|
|
6
11
|
"remove-field": (fieldId: string) => any;
|
|
7
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
13
|
+
keysInUse: {
|
|
14
|
+
type: () => string[];
|
|
15
|
+
default: () => never[];
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{
|
|
8
18
|
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
9
|
-
"onUpdate-field"?: ((fieldData: any) => any) | undefined;
|
|
19
|
+
"onUpdate-field"?: ((fieldId: string, fieldData: any) => any) | undefined;
|
|
10
20
|
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
11
|
-
}>, {
|
|
21
|
+
}>, {
|
|
22
|
+
keysInUse: string[];
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
24
|
export default _default;
|
|
@@ -14,6 +14,7 @@ interface Order {
|
|
|
14
14
|
reservationPrice?: number;
|
|
15
15
|
}
|
|
16
16
|
type __VLS_Props = {
|
|
17
|
+
agendaData: any;
|
|
17
18
|
orders: Order[];
|
|
18
19
|
filteredOrders: Order[];
|
|
19
20
|
isLoading: boolean;
|
|
@@ -27,7 +28,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
27
28
|
onRefresh?: (() => any) | undefined;
|
|
28
29
|
"onUpdate:searchQuery"?: ((value: string) => any) | undefined;
|
|
29
30
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
-
reservationDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
31
|
+
reservationDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
32
|
+
agendaData: any;
|
|
33
|
+
}> & Readonly<{
|
|
31
34
|
onConfirmed?: (() => any) | undefined;
|
|
32
35
|
onCancelled?: (() => any) | undefined;
|
|
33
36
|
onRejected?: (() => any) | undefined;
|
|
@@ -37,7 +40,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
37
40
|
confirmed: () => any;
|
|
38
41
|
cancelled: () => any;
|
|
39
42
|
rejected: () => any;
|
|
40
|
-
}, import('vue').PublicProps, {},
|
|
43
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
41
44
|
cancelReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
42
45
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
43
46
|
}>, {
|
|
@@ -111,7 +114,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
111
114
|
C: {};
|
|
112
115
|
M: {};
|
|
113
116
|
Defaults: {};
|
|
114
|
-
}, Readonly<{
|
|
117
|
+
}, Readonly<{
|
|
118
|
+
agendaData: any;
|
|
119
|
+
}> & Readonly<{
|
|
115
120
|
onConfirmed?: (() => any) | undefined;
|
|
116
121
|
onCancelled?: (() => any) | undefined;
|
|
117
122
|
onRejected?: (() => any) | undefined;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
agendaData: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
2
5
|
openDialog: (order: any) => void;
|
|
3
6
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
7
|
confirmed: () => any;
|
|
5
8
|
cancelled: () => any;
|
|
6
9
|
rejected: () => any;
|
|
7
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
11
|
onConfirmed?: (() => any) | undefined;
|
|
9
12
|
onCancelled?: (() => any) | undefined;
|
|
10
13
|
onRejected?: (() => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
15
|
cancelReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
13
16
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
14
17
|
}>, {
|
|
@@ -12,6 +12,7 @@ interface AgendaEvent {
|
|
|
12
12
|
resourceId?: string;
|
|
13
13
|
}
|
|
14
14
|
type __VLS_Props = {
|
|
15
|
+
agendaData: any;
|
|
15
16
|
date: DateValue;
|
|
16
17
|
events?: AgendaEvent[];
|
|
17
18
|
firstDay?: boolean;
|
|
@@ -22,6 +23,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
23
|
firstDay: boolean;
|
|
23
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
25
|
eventDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
26
|
+
agendaData: any;
|
|
25
27
|
resources?: Resource[];
|
|
26
28
|
}> & Readonly<{}>, {
|
|
27
29
|
openDialog: (timelineEvent: any) => Promise<void>;
|
|
@@ -35,6 +37,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
35
37
|
M: {};
|
|
36
38
|
Defaults: {};
|
|
37
39
|
}, Readonly<{
|
|
40
|
+
agendaData: any;
|
|
38
41
|
resources?: Resource[];
|
|
39
42
|
}> & Readonly<{}>, {
|
|
40
43
|
openDialog: (timelineEvent: any) => Promise<void>;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
agendaData: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
agendaData: any;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
2
7
|
scrollContainer: HTMLDivElement;
|
|
3
8
|
}, any>;
|
|
4
9
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
openDialog: (field?: any) => void;
|
|
3
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
"add-field": (fieldData: any) => any;
|
|
5
|
+
"update-field": (fieldData: any) => any;
|
|
6
|
+
"remove-field": (fieldId: string) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
9
|
+
"onUpdate-field"?: ((fieldData: any) => any) | undefined;
|
|
10
|
+
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MetadataFieldSchema } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
metadata?: Record<string, any>;
|
|
4
|
+
schema?: MetadataFieldSchema[];
|
|
5
|
+
/** Filter by display mode — pass e.g. ['highlight', 'badge'] for list views */
|
|
6
|
+
displayFilter?: string[];
|
|
7
|
+
/** Filter by scope */
|
|
8
|
+
scope?: 'order' | 'reservation';
|
|
9
|
+
/** Compact mode for list views (badges/highlights rendered inline) */
|
|
10
|
+
compact?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
13
|
+
hasContent: globalThis.ComputedRef<boolean>;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
metadata: Record<string, any>;
|
|
16
|
+
schema: MetadataFieldSchema[];
|
|
17
|
+
displayFilter: string[];
|
|
18
|
+
scope: "order" | "reservation";
|
|
19
|
+
compact: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -5,12 +5,15 @@ interface Resource {
|
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
agendaData: any;
|
|
8
9
|
activeDate: Date;
|
|
9
10
|
selectedResource?: string | null;
|
|
10
11
|
resources: Resource[];
|
|
11
12
|
};
|
|
12
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
-
reservationDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
14
|
+
reservationDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
15
|
+
agendaData: any;
|
|
16
|
+
}> & Readonly<{
|
|
14
17
|
onConfirmed?: (() => any) | undefined;
|
|
15
18
|
onCancelled?: (() => any) | undefined;
|
|
16
19
|
onRejected?: (() => any) | undefined;
|
|
@@ -20,7 +23,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
20
23
|
confirmed: () => any;
|
|
21
24
|
cancelled: () => any;
|
|
22
25
|
rejected: () => any;
|
|
23
|
-
}, import('vue').PublicProps, {},
|
|
26
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
24
27
|
cancelReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
25
28
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
26
29
|
}>, {
|
|
@@ -94,7 +97,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
94
97
|
C: {};
|
|
95
98
|
M: {};
|
|
96
99
|
Defaults: {};
|
|
97
|
-
}, Readonly<{
|
|
100
|
+
}, Readonly<{
|
|
101
|
+
agendaData: any;
|
|
102
|
+
}> & Readonly<{
|
|
98
103
|
onConfirmed?: (() => any) | undefined;
|
|
99
104
|
onCancelled?: (() => any) | undefined;
|
|
100
105
|
onRejected?: (() => any) | undefined;
|
|
@@ -87,7 +87,9 @@ declare const _default: {
|
|
|
87
87
|
description: string;
|
|
88
88
|
};
|
|
89
89
|
quantity?: undefined;
|
|
90
|
+
status?: undefined;
|
|
90
91
|
orderId?: undefined;
|
|
92
|
+
agendaId?: undefined;
|
|
91
93
|
};
|
|
92
94
|
required: string[];
|
|
93
95
|
};
|
|
@@ -104,10 +106,16 @@ declare const _default: {
|
|
|
104
106
|
description: string;
|
|
105
107
|
default: number;
|
|
106
108
|
};
|
|
109
|
+
status: {
|
|
110
|
+
type: string;
|
|
111
|
+
description: string;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
107
114
|
name?: undefined;
|
|
108
115
|
email?: undefined;
|
|
109
116
|
date?: undefined;
|
|
110
117
|
orderId?: undefined;
|
|
118
|
+
agendaId?: undefined;
|
|
111
119
|
};
|
|
112
120
|
required: string[];
|
|
113
121
|
};
|
|
@@ -127,6 +135,50 @@ declare const _default: {
|
|
|
127
135
|
email?: undefined;
|
|
128
136
|
date?: undefined;
|
|
129
137
|
quantity?: undefined;
|
|
138
|
+
status?: undefined;
|
|
139
|
+
agendaId?: undefined;
|
|
140
|
+
};
|
|
141
|
+
required: string[];
|
|
142
|
+
};
|
|
143
|
+
} | {
|
|
144
|
+
name: string;
|
|
145
|
+
description: string;
|
|
146
|
+
executionMode: string;
|
|
147
|
+
parameters: {
|
|
148
|
+
type: string;
|
|
149
|
+
properties: {
|
|
150
|
+
name?: undefined;
|
|
151
|
+
email?: undefined;
|
|
152
|
+
date?: undefined;
|
|
153
|
+
quantity?: undefined;
|
|
154
|
+
status?: undefined;
|
|
155
|
+
orderId?: undefined;
|
|
156
|
+
agendaId?: undefined;
|
|
157
|
+
};
|
|
158
|
+
required: never[];
|
|
159
|
+
};
|
|
160
|
+
chatComponent?: undefined;
|
|
161
|
+
} | {
|
|
162
|
+
name: string;
|
|
163
|
+
description: string;
|
|
164
|
+
executionMode: string;
|
|
165
|
+
chatComponent: string;
|
|
166
|
+
parameters: {
|
|
167
|
+
type: string;
|
|
168
|
+
properties: {
|
|
169
|
+
agendaId: {
|
|
170
|
+
type: string;
|
|
171
|
+
description: string;
|
|
172
|
+
};
|
|
173
|
+
date: {
|
|
174
|
+
type: string;
|
|
175
|
+
description: string;
|
|
176
|
+
};
|
|
177
|
+
name?: undefined;
|
|
178
|
+
email?: undefined;
|
|
179
|
+
quantity?: undefined;
|
|
180
|
+
status?: undefined;
|
|
181
|
+
orderId?: undefined;
|
|
130
182
|
};
|
|
131
183
|
required: string[];
|
|
132
184
|
};
|
|
@@ -135,6 +187,7 @@ declare const _default: {
|
|
|
135
187
|
AppointmentDetailsCard: () => Promise<typeof import("./chat-components/AppointmentDetailsCard.vue")>;
|
|
136
188
|
AppointmentListTable: () => Promise<typeof import("./chat-components/AppointmentListTable.vue")>;
|
|
137
189
|
AppointmentEditor: () => Promise<typeof import("./chat-components/AppointmentEditor.vue")>;
|
|
190
|
+
AgendaOpeningHoursCard: () => Promise<typeof import("./chat-components/AgendaOpeningHoursCard.vue")>;
|
|
138
191
|
};
|
|
139
192
|
};
|
|
140
193
|
export default _default;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
container: HTMLDivElement;
|
|
3
|
+
}, any>;
|
|
2
4
|
export default _default;
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
-
customerInfoFieldDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
-
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
4
|
-
"onUpdate-field"?: ((fieldData: any) => any) | undefined;
|
|
5
|
-
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
6
|
-
}>, {
|
|
7
|
-
openDialog: (field: any) => void;
|
|
8
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
-
"add-field": (fieldData: any) => any;
|
|
10
|
-
"update-field": (fieldData: any) => any;
|
|
11
|
-
"remove-field": (fieldId: string) => any;
|
|
12
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
13
|
-
P: {};
|
|
14
|
-
B: {};
|
|
15
|
-
D: {};
|
|
16
|
-
C: {};
|
|
17
|
-
M: {};
|
|
18
|
-
Defaults: {};
|
|
19
|
-
}, Readonly<{}> & Readonly<{
|
|
20
|
-
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
21
|
-
"onUpdate-field"?: ((fieldData: any) => any) | undefined;
|
|
22
|
-
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
openDialog: (field: any) => void;
|
|
25
|
-
}, {}, {}, {}, {}> | null;
|
|
26
|
-
}, any>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
2
|
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
customerInfoFieldDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
3
|
+
keysInUse: {
|
|
4
|
+
type: () => string[];
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
}>> & Readonly<{
|
|
8
|
+
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
9
|
+
"onUpdate-field"?: ((fieldId: string, fieldData: any) => any) | undefined;
|
|
10
|
+
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
openDialog: (field: any) => void;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
"add-field": (fieldData: any) => any;
|
|
15
|
+
"update-field": (fieldId: string, fieldData: any) => any;
|
|
16
|
+
"remove-field": (fieldId: string) => any;
|
|
17
|
+
}, import('vue').PublicProps, {
|
|
18
|
+
keysInUse: string[];
|
|
19
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
20
|
+
P: {};
|
|
21
|
+
B: {};
|
|
22
|
+
D: {};
|
|
23
|
+
C: {};
|
|
24
|
+
M: {};
|
|
25
|
+
Defaults: {};
|
|
26
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
27
|
+
keysInUse: {
|
|
28
|
+
type: () => string[];
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{
|
|
32
|
+
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
33
|
+
"onUpdate-field"?: ((fieldId: string, fieldData: any) => any) | undefined;
|
|
34
|
+
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
openDialog: (field: any) => void;
|
|
37
|
+
}, {}, {}, {}, {
|
|
38
|
+
keysInUse: string[];
|
|
39
|
+
}> | null;
|
|
40
|
+
metadataSchemaDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
41
|
+
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
42
|
+
"onUpdate-field"?: ((fieldData: any) => any) | undefined;
|
|
43
|
+
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
openDialog: (field?: any) => void;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
47
|
+
"add-field": (fieldData: any) => any;
|
|
48
|
+
"update-field": (fieldData: any) => any;
|
|
49
|
+
"remove-field": (fieldId: string) => any;
|
|
50
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
51
|
+
P: {};
|
|
52
|
+
B: {};
|
|
53
|
+
D: {};
|
|
54
|
+
C: {};
|
|
55
|
+
M: {};
|
|
56
|
+
Defaults: {};
|
|
57
|
+
}, Readonly<{}> & Readonly<{
|
|
58
|
+
"onAdd-field"?: ((fieldData: any) => any) | undefined;
|
|
59
|
+
"onUpdate-field"?: ((fieldData: any) => any) | undefined;
|
|
60
|
+
"onRemove-field"?: ((fieldId: string) => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
openDialog: (field?: any) => void;
|
|
63
|
+
}, {}, {}, {}, {}> | null;
|
|
64
|
+
}, any>;
|
|
65
|
+
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
-
reservationDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2
|
+
reservationDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
agendaData: any;
|
|
4
|
+
}> & Readonly<{
|
|
3
5
|
onConfirmed?: (() => any) | undefined;
|
|
4
6
|
onCancelled?: (() => any) | undefined;
|
|
5
7
|
onRejected?: (() => any) | undefined;
|
|
@@ -9,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
9
11
|
confirmed: () => any;
|
|
10
12
|
cancelled: () => any;
|
|
11
13
|
rejected: () => any;
|
|
12
|
-
}, import('vue').PublicProps, {},
|
|
14
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
13
15
|
cancelReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
14
16
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
15
17
|
}>, {
|
|
@@ -83,7 +85,9 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
83
85
|
C: {};
|
|
84
86
|
M: {};
|
|
85
87
|
Defaults: {};
|
|
86
|
-
}, Readonly<{
|
|
88
|
+
}, Readonly<{
|
|
89
|
+
agendaData: any;
|
|
90
|
+
}> & Readonly<{
|
|
87
91
|
onConfirmed?: (() => any) | undefined;
|
|
88
92
|
onCancelled?: (() => any) | undefined;
|
|
89
93
|
onRejected?: (() => any) | undefined;
|
|
@@ -19,7 +19,9 @@ export declare const tools: ({
|
|
|
19
19
|
description: string;
|
|
20
20
|
};
|
|
21
21
|
quantity?: undefined;
|
|
22
|
+
status?: undefined;
|
|
22
23
|
orderId?: undefined;
|
|
24
|
+
agendaId?: undefined;
|
|
23
25
|
};
|
|
24
26
|
required: string[];
|
|
25
27
|
};
|
|
@@ -36,10 +38,16 @@ export declare const tools: ({
|
|
|
36
38
|
description: string;
|
|
37
39
|
default: number;
|
|
38
40
|
};
|
|
41
|
+
status: {
|
|
42
|
+
type: string;
|
|
43
|
+
description: string;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
39
46
|
name?: undefined;
|
|
40
47
|
email?: undefined;
|
|
41
48
|
date?: undefined;
|
|
42
49
|
orderId?: undefined;
|
|
50
|
+
agendaId?: undefined;
|
|
43
51
|
};
|
|
44
52
|
required: string[];
|
|
45
53
|
};
|
|
@@ -59,6 +67,50 @@ export declare const tools: ({
|
|
|
59
67
|
email?: undefined;
|
|
60
68
|
date?: undefined;
|
|
61
69
|
quantity?: undefined;
|
|
70
|
+
status?: undefined;
|
|
71
|
+
agendaId?: undefined;
|
|
72
|
+
};
|
|
73
|
+
required: string[];
|
|
74
|
+
};
|
|
75
|
+
} | {
|
|
76
|
+
name: string;
|
|
77
|
+
description: string;
|
|
78
|
+
executionMode: string;
|
|
79
|
+
parameters: {
|
|
80
|
+
type: string;
|
|
81
|
+
properties: {
|
|
82
|
+
name?: undefined;
|
|
83
|
+
email?: undefined;
|
|
84
|
+
date?: undefined;
|
|
85
|
+
quantity?: undefined;
|
|
86
|
+
status?: undefined;
|
|
87
|
+
orderId?: undefined;
|
|
88
|
+
agendaId?: undefined;
|
|
89
|
+
};
|
|
90
|
+
required: never[];
|
|
91
|
+
};
|
|
92
|
+
chatComponent?: undefined;
|
|
93
|
+
} | {
|
|
94
|
+
name: string;
|
|
95
|
+
description: string;
|
|
96
|
+
executionMode: string;
|
|
97
|
+
chatComponent: string;
|
|
98
|
+
parameters: {
|
|
99
|
+
type: string;
|
|
100
|
+
properties: {
|
|
101
|
+
agendaId: {
|
|
102
|
+
type: string;
|
|
103
|
+
description: string;
|
|
104
|
+
};
|
|
105
|
+
date: {
|
|
106
|
+
type: string;
|
|
107
|
+
description: string;
|
|
108
|
+
};
|
|
109
|
+
name?: undefined;
|
|
110
|
+
email?: undefined;
|
|
111
|
+
quantity?: undefined;
|
|
112
|
+
status?: undefined;
|
|
113
|
+
orderId?: undefined;
|
|
62
114
|
};
|
|
63
115
|
required: string[];
|
|
64
116
|
};
|
|
@@ -66,3 +66,15 @@ export interface PromoType {
|
|
|
66
66
|
valuePrefix: string;
|
|
67
67
|
valueSuffix: string;
|
|
68
68
|
}
|
|
69
|
+
export type MetadataDisplay = 'highlight' | 'badge' | 'field' | 'hidden';
|
|
70
|
+
export type MetadataScope = 'order' | 'reservation';
|
|
71
|
+
export interface MetadataFieldSchema {
|
|
72
|
+
id: string;
|
|
73
|
+
key: string;
|
|
74
|
+
label: string;
|
|
75
|
+
display: MetadataDisplay;
|
|
76
|
+
scope: MetadataScope;
|
|
77
|
+
icon?: string;
|
|
78
|
+
color?: string;
|
|
79
|
+
order?: number;
|
|
80
|
+
}
|