@oneclick.dev/cms-core-modules 0.0.121 → 0.0.123
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/{ContentEditor-Dl41qaCh.js → ContentEditor-C-Wm48ai.js} +63 -59
- package/dist/{ContentEditor-u3k-uTny.mjs → ContentEditor-MDGolnIP.mjs} +27683 -27663
- package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-bZidw6RT.mjs → NewReservationDialog.vue_vue_type_script_setup_true_lang-8I_Z9cD_.mjs} +530 -530
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-BVE_uURZ.js +1 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-BdFa-xNf.mjs +3566 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-DzPOadcU.js +925 -0
- package/dist/SendPush-CgSBEex2.js +1 -0
- package/dist/SendPush-CmbjcQBL.mjs +680 -0
- package/dist/TableCalculationWidget-CkQPrVUd.js +59 -0
- package/dist/TableCalculationWidget-CrqcLGfU.mjs +254 -0
- package/dist/TableDataWidget-7qvC3Egd.js +1 -0
- package/dist/TableDataWidget-DMTSoGRO.mjs +121 -0
- package/dist/TableOverviewCard-AFq-puJs.js +1 -0
- package/dist/TableOverviewCard-Ci0d4o4w.mjs +391 -0
- package/dist/TableResultView.vue_vue_type_script_setup_true_lang-CBn-Oxl9.mjs +534 -0
- package/dist/TableResultView.vue_vue_type_script_setup_true_lang-C_Lv-SmJ.js +1 -0
- package/dist/TableRowActionCard-BhdnnPaq.mjs +266 -0
- package/dist/TableRowActionCard-IzB6tNN-.js +1 -0
- package/dist/TableView-BkwoKREo.js +4 -0
- package/dist/TableView-C4Zyp8d7.mjs +8228 -0
- package/dist/{agenda-BCKDYOeF.mjs → agenda-DWdbWUbb.mjs} +10 -9
- package/dist/agenda-r9Gl85GL.js +1 -0
- package/dist/dateRangePresets-B-l5b_wR.mjs +48 -0
- package/dist/dateRangePresets-CPWqst_x.js +1 -0
- package/dist/fuse-Deb-Iq39.mjs +1473 -0
- package/dist/fuse-_CGUd5Zq.js +1 -0
- package/dist/{index-DU3Ib10Z.mjs → index-B_qaX29C.mjs} +7 -6
- package/dist/{index-Bk3yLv_G.js → index-yHLT6gaZ.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +431 -110
- package/dist/languages-C_8yMQOH.mjs +4 -0
- package/dist/languages-Dqvk3X8G.js +1 -0
- package/dist/{orders-CElKNc1v.mjs → orders-BfTLIm7U.mjs} +10 -9
- package/dist/orders-DUa2PVoa.js +1 -0
- package/dist/reports-ChCsd1Gk.mjs +1107 -0
- package/dist/reports-DmJPm8uP.js +158 -0
- package/dist/row-item-C1dUyimV.mjs +204 -0
- package/dist/row-item-Cyo3m3MZ.js +1 -0
- package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +9 -3
- package/dist/src/appointments/components/edit/EventDialog/OrderDetailDialog.vue.d.ts +2 -0
- package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +4 -2
- package/dist/src/appointments/components/edit/dashboard/BookingsList.vue.d.ts +9 -3
- package/dist/src/appointments/pages/edit/orders.vue.d.ts +9 -3
- package/dist/src/appointments/pages/edit/reports.vue.d.ts +229 -1
- package/dist/src/push-notifications/config.d.ts +22 -0
- package/dist/src/push-notifications/index.d.ts +22 -0
- package/dist/src/push-notifications/types.d.ts +5 -0
- package/dist/src/table/chat-components/TableCalculationWidget.vue.d.ts +15 -0
- package/dist/src/table/chat-components/TableDataWidget.vue.d.ts +15 -0
- package/dist/src/table/chat-components/TableOverviewCard.vue.d.ts +61 -0
- package/dist/src/table/chat-components/TableResultView.vue.d.ts +48 -0
- package/dist/src/table/chat-components/TableRowActionCard.vue.d.ts +15 -0
- package/dist/src/table/components/filters/DialogTableFilterOptionItem.vue.d.ts +16 -0
- package/dist/src/table/components/filters/NumberComparisonFilter.vue.d.ts +12 -0
- package/dist/src/table/components/filters/NumberComparisonFilterSettings.vue.d.ts +12 -0
- package/dist/src/table/components/filters/NumberRangeFilter.vue.d.ts +12 -0
- package/dist/src/table/components/filters/NumberRangeFilterSettings.vue.d.ts +12 -0
- package/dist/src/table/components/filters/filter-utils.d.ts +14 -0
- package/dist/src/table/composables/useTableAgentTools.d.ts +33 -0
- package/dist/src/table/index.d.ts +339 -0
- package/dist/src/table/tool-sandbox.d.ts +13 -0
- package/dist/src/table/tool-utils.d.ts +11 -0
- package/dist/src/table/tools.d.ts +333 -1
- package/dist/src/table/types.d.ts +79 -0
- package/dist/tool-sandbox-DdkMLkDK.mjs +182 -0
- package/dist/tool-sandbox-DoF1PsyS.js +115 -0
- package/dist/useTableAgentTools-D5mzGf3A.js +1 -0
- package/dist/useTableAgentTools-DcN3kYRL.mjs +131 -0
- package/package.json +17 -17
- package/src/table/tools.ts +304 -1
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-BdZbcubW.js +0 -1
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-BYSeUW_V.js +0 -925
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-DwAUYR8p.mjs +0 -5021
- package/dist/SendPush-COns44j7.js +0 -1
- package/dist/SendPush-CPIOjVX4.mjs +0 -184
- package/dist/TableView-Ctnep-Qu.mjs +0 -6247
- package/dist/TableView-DJqyJL9L.js +0 -4
- package/dist/agenda-B54F8cEr.js +0 -1
- package/dist/orders-BMosTk6r.js +0 -1
- package/dist/reports-BQT_GZzU.js +0 -158
- package/dist/reports-DksZCTOw.mjs +0 -837
|
@@ -5,19 +5,21 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
5
5
|
showOrderLink?: boolean;
|
|
6
6
|
resources?: any[];
|
|
7
7
|
}> & Readonly<{
|
|
8
|
-
onConfirmed?: (() => any) | undefined;
|
|
9
8
|
onCancelled?: (() => any) | undefined;
|
|
9
|
+
onConfirmed?: (() => any) | undefined;
|
|
10
10
|
onRejected?: (() => any) | undefined;
|
|
11
11
|
onTransferred?: (() => any) | undefined;
|
|
12
12
|
onOpenOrder?: ((orderId: string) => any) | undefined;
|
|
13
|
+
onClosed?: (() => any) | undefined;
|
|
13
14
|
}>, {
|
|
14
15
|
openDialog: (order: any) => void;
|
|
15
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
-
confirmed: () => any;
|
|
17
17
|
cancelled: () => any;
|
|
18
|
+
confirmed: () => any;
|
|
18
19
|
rejected: () => any;
|
|
19
20
|
transferred: () => any;
|
|
20
21
|
openOrder: (orderId: string) => any;
|
|
22
|
+
closed: () => any;
|
|
21
23
|
}, import('vue').PublicProps, {
|
|
22
24
|
resources: any[];
|
|
23
25
|
showOrderLink: boolean;
|
|
@@ -182,11 +184,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
182
184
|
showOrderLink?: boolean;
|
|
183
185
|
resources?: any[];
|
|
184
186
|
}> & Readonly<{
|
|
185
|
-
onConfirmed?: (() => any) | undefined;
|
|
186
187
|
onCancelled?: (() => any) | undefined;
|
|
188
|
+
onConfirmed?: (() => any) | undefined;
|
|
187
189
|
onRejected?: (() => any) | undefined;
|
|
188
190
|
onTransferred?: (() => any) | undefined;
|
|
189
191
|
onOpenOrder?: ((orderId: string) => any) | undefined;
|
|
192
|
+
onClosed?: (() => any) | undefined;
|
|
190
193
|
}>, {
|
|
191
194
|
openDialog: (order: any) => void;
|
|
192
195
|
}, {}, {}, {}, {
|
|
@@ -197,10 +200,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
197
200
|
agendaData: any;
|
|
198
201
|
resources?: any[];
|
|
199
202
|
}> & Readonly<{
|
|
203
|
+
onClosed?: (() => any) | undefined;
|
|
200
204
|
onOpenReservation?: ((reservation: import('../../components/edit/EventDialog/OrderDetailDialog.vue').ReservationLine) => any) | undefined;
|
|
201
205
|
}>, {
|
|
202
206
|
openDialog: (order: import('../../components/edit/EventDialog/OrderDetailDialog.vue').OrderGroup) => void;
|
|
203
207
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
208
|
+
closed: () => any;
|
|
204
209
|
openReservation: (reservation: import('../../components/edit/EventDialog/OrderDetailDialog.vue').ReservationLine) => any;
|
|
205
210
|
}, import('vue').PublicProps, {
|
|
206
211
|
resources: any[];
|
|
@@ -215,6 +220,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
215
220
|
agendaData: any;
|
|
216
221
|
resources?: any[];
|
|
217
222
|
}> & Readonly<{
|
|
223
|
+
onClosed?: (() => any) | undefined;
|
|
218
224
|
onOpenReservation?: ((reservation: import('../../components/edit/EventDialog/OrderDetailDialog.vue').ReservationLine) => any) | undefined;
|
|
219
225
|
}>, {
|
|
220
226
|
openDialog: (order: import('../../components/edit/EventDialog/OrderDetailDialog.vue').OrderGroup) => void;
|
|
@@ -1,2 +1,230 @@
|
|
|
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
|
+
reservationDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
agendaData: any;
|
|
4
|
+
showOrderLink?: boolean;
|
|
5
|
+
resources?: any[];
|
|
6
|
+
}> & Readonly<{
|
|
7
|
+
onCancelled?: (() => any) | undefined;
|
|
8
|
+
onConfirmed?: (() => any) | undefined;
|
|
9
|
+
onRejected?: (() => any) | undefined;
|
|
10
|
+
onTransferred?: (() => any) | undefined;
|
|
11
|
+
onOpenOrder?: ((orderId: string) => any) | undefined;
|
|
12
|
+
onClosed?: (() => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
openDialog: (order: any) => void;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
cancelled: () => any;
|
|
17
|
+
confirmed: () => any;
|
|
18
|
+
rejected: () => any;
|
|
19
|
+
transferred: () => any;
|
|
20
|
+
openOrder: (orderId: string) => any;
|
|
21
|
+
closed: () => any;
|
|
22
|
+
}, import('vue').PublicProps, {
|
|
23
|
+
resources: any[];
|
|
24
|
+
showOrderLink: boolean;
|
|
25
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
26
|
+
cancelReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
27
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
openDialog: (input: any) => void;
|
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
confirm: (...args: any[]) => void;
|
|
32
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
33
|
+
P: {};
|
|
34
|
+
B: {};
|
|
35
|
+
D: {};
|
|
36
|
+
C: {};
|
|
37
|
+
M: {};
|
|
38
|
+
Defaults: {};
|
|
39
|
+
}, Readonly<{}> & Readonly<{
|
|
40
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
openDialog: (input: any) => void;
|
|
43
|
+
}, {}, {}, {}, {}> | null;
|
|
44
|
+
cancelRefundReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
45
|
+
isProcessing?: boolean;
|
|
46
|
+
hasRefundFlow?: boolean;
|
|
47
|
+
showRefundAmount?: boolean;
|
|
48
|
+
customFields?: any[];
|
|
49
|
+
}> & Readonly<{
|
|
50
|
+
onConfirm?: ((payload: {
|
|
51
|
+
amount?: number;
|
|
52
|
+
reason: string;
|
|
53
|
+
fields: Record<string, any>;
|
|
54
|
+
fieldDefinitions: any[];
|
|
55
|
+
skipMail: boolean;
|
|
56
|
+
email: string;
|
|
57
|
+
subject: string;
|
|
58
|
+
body: string;
|
|
59
|
+
}) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
openDialog: (input: any) => void;
|
|
62
|
+
closeDialog: () => void;
|
|
63
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
64
|
+
confirm: (payload: {
|
|
65
|
+
amount?: number;
|
|
66
|
+
reason: string;
|
|
67
|
+
fields: Record<string, any>;
|
|
68
|
+
fieldDefinitions: any[];
|
|
69
|
+
skipMail: boolean;
|
|
70
|
+
email: string;
|
|
71
|
+
subject: string;
|
|
72
|
+
body: string;
|
|
73
|
+
}) => any;
|
|
74
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
75
|
+
P: {};
|
|
76
|
+
B: {};
|
|
77
|
+
D: {};
|
|
78
|
+
C: {};
|
|
79
|
+
M: {};
|
|
80
|
+
Defaults: {};
|
|
81
|
+
}, Readonly<{
|
|
82
|
+
isProcessing?: boolean;
|
|
83
|
+
hasRefundFlow?: boolean;
|
|
84
|
+
showRefundAmount?: boolean;
|
|
85
|
+
customFields?: any[];
|
|
86
|
+
}> & Readonly<{
|
|
87
|
+
onConfirm?: ((payload: {
|
|
88
|
+
amount?: number;
|
|
89
|
+
reason: string;
|
|
90
|
+
fields: Record<string, any>;
|
|
91
|
+
fieldDefinitions: any[];
|
|
92
|
+
skipMail: boolean;
|
|
93
|
+
email: string;
|
|
94
|
+
subject: string;
|
|
95
|
+
body: string;
|
|
96
|
+
}) => any) | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
openDialog: (input: any) => void;
|
|
99
|
+
closeDialog: () => void;
|
|
100
|
+
}, {}, {}, {}, {}> | null;
|
|
101
|
+
approveReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
102
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
}>, {
|
|
104
|
+
openDialog: (input: any, type?: "approve" | "resend") => void;
|
|
105
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
106
|
+
confirm: (...args: any[]) => void;
|
|
107
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
108
|
+
P: {};
|
|
109
|
+
B: {};
|
|
110
|
+
D: {};
|
|
111
|
+
C: {};
|
|
112
|
+
M: {};
|
|
113
|
+
Defaults: {};
|
|
114
|
+
}, Readonly<{}> & Readonly<{
|
|
115
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
}>, {
|
|
117
|
+
openDialog: (input: any, type?: "approve" | "resend") => void;
|
|
118
|
+
}, {}, {}, {}, {}> | null;
|
|
119
|
+
rejectReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
120
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
121
|
+
}>, {
|
|
122
|
+
openDialog: (input: any) => void;
|
|
123
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
124
|
+
confirm: (...args: any[]) => void;
|
|
125
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
126
|
+
P: {};
|
|
127
|
+
B: {};
|
|
128
|
+
D: {};
|
|
129
|
+
C: {};
|
|
130
|
+
M: {};
|
|
131
|
+
Defaults: {};
|
|
132
|
+
}, Readonly<{}> & Readonly<{
|
|
133
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
}>, {
|
|
135
|
+
openDialog: (input: any) => void;
|
|
136
|
+
}, {}, {}, {}, {}> | null;
|
|
137
|
+
transferReservationDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
138
|
+
agendaData?: any;
|
|
139
|
+
}> & Readonly<{
|
|
140
|
+
onTransferred?: ((payload: {
|
|
141
|
+
orderId: string;
|
|
142
|
+
reservationId: string;
|
|
143
|
+
reservation: any;
|
|
144
|
+
order: any;
|
|
145
|
+
}) => any) | undefined;
|
|
146
|
+
}>, {
|
|
147
|
+
openDialog: (order: any) => void;
|
|
148
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
149
|
+
transferred: (payload: {
|
|
150
|
+
orderId: string;
|
|
151
|
+
reservationId: string;
|
|
152
|
+
reservation: any;
|
|
153
|
+
order: any;
|
|
154
|
+
}) => any;
|
|
155
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
156
|
+
P: {};
|
|
157
|
+
B: {};
|
|
158
|
+
D: {};
|
|
159
|
+
C: {};
|
|
160
|
+
M: {};
|
|
161
|
+
Defaults: {};
|
|
162
|
+
}, Readonly<{
|
|
163
|
+
agendaData?: any;
|
|
164
|
+
}> & Readonly<{
|
|
165
|
+
onTransferred?: ((payload: {
|
|
166
|
+
orderId: string;
|
|
167
|
+
reservationId: string;
|
|
168
|
+
reservation: any;
|
|
169
|
+
order: any;
|
|
170
|
+
}) => any) | undefined;
|
|
171
|
+
}>, {
|
|
172
|
+
openDialog: (order: any) => void;
|
|
173
|
+
}, {}, {}, {}, {}> | null;
|
|
174
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
175
|
+
P: {};
|
|
176
|
+
B: {};
|
|
177
|
+
D: {};
|
|
178
|
+
C: {};
|
|
179
|
+
M: {};
|
|
180
|
+
Defaults: {};
|
|
181
|
+
}, Readonly<{
|
|
182
|
+
agendaData: any;
|
|
183
|
+
showOrderLink?: boolean;
|
|
184
|
+
resources?: any[];
|
|
185
|
+
}> & Readonly<{
|
|
186
|
+
onCancelled?: (() => any) | undefined;
|
|
187
|
+
onConfirmed?: (() => any) | undefined;
|
|
188
|
+
onRejected?: (() => any) | undefined;
|
|
189
|
+
onTransferred?: (() => any) | undefined;
|
|
190
|
+
onOpenOrder?: ((orderId: string) => any) | undefined;
|
|
191
|
+
onClosed?: (() => any) | undefined;
|
|
192
|
+
}>, {
|
|
193
|
+
openDialog: (order: any) => void;
|
|
194
|
+
}, {}, {}, {}, {
|
|
195
|
+
resources: any[];
|
|
196
|
+
showOrderLink: boolean;
|
|
197
|
+
}> | null;
|
|
198
|
+
orderDetailDialog: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
199
|
+
agendaData: any;
|
|
200
|
+
resources?: any[];
|
|
201
|
+
}> & Readonly<{
|
|
202
|
+
onClosed?: (() => any) | undefined;
|
|
203
|
+
onOpenReservation?: ((reservation: import('../../components/edit/EventDialog/OrderDetailDialog.vue').ReservationLine) => any) | undefined;
|
|
204
|
+
}>, {
|
|
205
|
+
openDialog: (order: import('../../components/edit/EventDialog/OrderDetailDialog.vue').OrderGroup) => void;
|
|
206
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
207
|
+
closed: () => any;
|
|
208
|
+
openReservation: (reservation: import('../../components/edit/EventDialog/OrderDetailDialog.vue').ReservationLine) => any;
|
|
209
|
+
}, import('vue').PublicProps, {
|
|
210
|
+
resources: any[];
|
|
211
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
212
|
+
P: {};
|
|
213
|
+
B: {};
|
|
214
|
+
D: {};
|
|
215
|
+
C: {};
|
|
216
|
+
M: {};
|
|
217
|
+
Defaults: {};
|
|
218
|
+
}, Readonly<{
|
|
219
|
+
agendaData: any;
|
|
220
|
+
resources?: any[];
|
|
221
|
+
}> & Readonly<{
|
|
222
|
+
onClosed?: (() => any) | undefined;
|
|
223
|
+
onOpenReservation?: ((reservation: import('../../components/edit/EventDialog/OrderDetailDialog.vue').ReservationLine) => any) | undefined;
|
|
224
|
+
}>, {
|
|
225
|
+
openDialog: (order: import('../../components/edit/EventDialog/OrderDetailDialog.vue').OrderGroup) => void;
|
|
226
|
+
}, {}, {}, {}, {
|
|
227
|
+
resources: any[];
|
|
228
|
+
}> | null;
|
|
229
|
+
}, any>;
|
|
2
230
|
export default _default;
|
|
@@ -4,10 +4,32 @@ export declare const config: {
|
|
|
4
4
|
readonly label: "App Name";
|
|
5
5
|
readonly type: "input";
|
|
6
6
|
};
|
|
7
|
+
readonly supportedLanguages: {
|
|
8
|
+
readonly label: "Supported Languages";
|
|
9
|
+
readonly type: "select";
|
|
10
|
+
readonly predefinedOptions: "languages";
|
|
11
|
+
readonly multiple: true;
|
|
12
|
+
};
|
|
13
|
+
readonly defaultLanguage: {
|
|
14
|
+
readonly label: "Default Language";
|
|
15
|
+
readonly type: "select";
|
|
16
|
+
readonly predefinedOptions: "languages";
|
|
17
|
+
};
|
|
7
18
|
} & {
|
|
8
19
|
readonly appName: {
|
|
9
20
|
readonly label: "App Name";
|
|
10
21
|
readonly type: "input";
|
|
11
22
|
};
|
|
23
|
+
readonly supportedLanguages: {
|
|
24
|
+
readonly label: "Supported Languages";
|
|
25
|
+
readonly type: "select";
|
|
26
|
+
readonly predefinedOptions: "languages";
|
|
27
|
+
readonly multiple: true;
|
|
28
|
+
};
|
|
29
|
+
readonly defaultLanguage: {
|
|
30
|
+
readonly label: "Default Language";
|
|
31
|
+
readonly type: "select";
|
|
32
|
+
readonly predefinedOptions: "languages";
|
|
33
|
+
};
|
|
12
34
|
};
|
|
13
35
|
export type ConfigValues = ResolveConfig<typeof config>;
|
|
@@ -6,11 +6,33 @@ declare const _default: {
|
|
|
6
6
|
readonly label: "App Name";
|
|
7
7
|
readonly type: "input";
|
|
8
8
|
};
|
|
9
|
+
readonly supportedLanguages: {
|
|
10
|
+
readonly label: "Supported Languages";
|
|
11
|
+
readonly type: "select";
|
|
12
|
+
readonly predefinedOptions: "languages";
|
|
13
|
+
readonly multiple: true;
|
|
14
|
+
};
|
|
15
|
+
readonly defaultLanguage: {
|
|
16
|
+
readonly label: "Default Language";
|
|
17
|
+
readonly type: "select";
|
|
18
|
+
readonly predefinedOptions: "languages";
|
|
19
|
+
};
|
|
9
20
|
} & {
|
|
10
21
|
readonly appName: {
|
|
11
22
|
readonly label: "App Name";
|
|
12
23
|
readonly type: "input";
|
|
13
24
|
};
|
|
25
|
+
readonly supportedLanguages: {
|
|
26
|
+
readonly label: "Supported Languages";
|
|
27
|
+
readonly type: "select";
|
|
28
|
+
readonly predefinedOptions: "languages";
|
|
29
|
+
readonly multiple: true;
|
|
30
|
+
};
|
|
31
|
+
readonly defaultLanguage: {
|
|
32
|
+
readonly label: "Default Language";
|
|
33
|
+
readonly type: "select";
|
|
34
|
+
readonly predefinedOptions: "languages";
|
|
35
|
+
};
|
|
14
36
|
};
|
|
15
37
|
routes: {
|
|
16
38
|
path: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
projectSlug: string;
|
|
3
|
+
toolName: 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;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
projectSlug: string;
|
|
3
|
+
toolName: 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;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
interface TableColumnMetadata {
|
|
2
|
+
id?: string;
|
|
3
|
+
property: string;
|
|
4
|
+
label: string;
|
|
5
|
+
type: string;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface TableOverviewSnapshot {
|
|
9
|
+
module: {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
capabilities: Record<string, boolean>;
|
|
15
|
+
columnCount: number;
|
|
16
|
+
columns: TableColumnMetadata[];
|
|
17
|
+
dateRangeFilter: {
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
defaultPreset: string | null;
|
|
20
|
+
label: string;
|
|
21
|
+
};
|
|
22
|
+
actionCount: number;
|
|
23
|
+
actions: Array<{
|
|
24
|
+
id: string;
|
|
25
|
+
label: string;
|
|
26
|
+
}>;
|
|
27
|
+
filters: Array<{
|
|
28
|
+
id: string;
|
|
29
|
+
label: string;
|
|
30
|
+
property: string;
|
|
31
|
+
}>;
|
|
32
|
+
stats: Array<{
|
|
33
|
+
id: string;
|
|
34
|
+
label: string;
|
|
35
|
+
method: string;
|
|
36
|
+
field?: string;
|
|
37
|
+
}>;
|
|
38
|
+
totalRows: number;
|
|
39
|
+
sampleCount: number;
|
|
40
|
+
sampleRows: Record<string, any>[];
|
|
41
|
+
sampleError?: string;
|
|
42
|
+
}
|
|
43
|
+
type __VLS_Props = {
|
|
44
|
+
projectSlug: string;
|
|
45
|
+
toolName: string;
|
|
46
|
+
instanceId: string;
|
|
47
|
+
instanceName: string;
|
|
48
|
+
moduleType: string;
|
|
49
|
+
resolvedArgs: Record<string, any>;
|
|
50
|
+
status: 'pending' | 'running' | 'completed' | 'error';
|
|
51
|
+
};
|
|
52
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
53
|
+
submit: (result: TableOverviewSnapshot | {
|
|
54
|
+
error: string;
|
|
55
|
+
}) => any;
|
|
56
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
57
|
+
onSubmit?: ((result: TableOverviewSnapshot | {
|
|
58
|
+
error: string;
|
|
59
|
+
}) => any) | undefined;
|
|
60
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
61
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
interface ResultColumn {
|
|
2
|
+
id?: string;
|
|
3
|
+
property?: string;
|
|
4
|
+
key?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
rows?: Record<string, any>[];
|
|
11
|
+
columns?: ResultColumn[];
|
|
12
|
+
title?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
totalCount?: number;
|
|
15
|
+
emptyText?: string;
|
|
16
|
+
maxRows?: number;
|
|
17
|
+
maxColumns?: number;
|
|
18
|
+
currency?: string;
|
|
19
|
+
view?: 'auto' | 'table' | 'card' | 'metric';
|
|
20
|
+
};
|
|
21
|
+
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
23
|
+
slots: {
|
|
24
|
+
footer?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
|
+
title: string;
|
|
32
|
+
description: string;
|
|
33
|
+
view: "auto" | "table" | "card" | "metric";
|
|
34
|
+
columns: ResultColumn[];
|
|
35
|
+
currency: string;
|
|
36
|
+
rows: Record<string, any>[];
|
|
37
|
+
totalCount: number;
|
|
38
|
+
emptyText: string;
|
|
39
|
+
maxRows: number;
|
|
40
|
+
maxColumns: number;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
projectSlug: string;
|
|
3
|
+
toolName: 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;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
option: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
remove: (id: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
9
|
+
option: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onRemove?: ((id: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
filter: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
filter: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
form: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
form: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
filter: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
filter: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
form: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
form: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NumberComparisonFilterValue, NumberComparisonOperator, NumberComparisonTableFilter, NumberRangeFilterValue, TableFilterType } from '../../types';
|
|
2
|
+
export declare const NUMBER_COMPARISON_OPERATORS: NumberComparisonOperator[];
|
|
3
|
+
export declare const NUMBER_COMPARISON_OPERATOR_LABELS: Record<NumberComparisonOperator, string>;
|
|
4
|
+
export declare const getTableFilterType: (filter: any) => TableFilterType;
|
|
5
|
+
export declare const parseFiniteNumber: (value: unknown) => number | null;
|
|
6
|
+
export declare const positiveNumberOr: (value: unknown, fallback: number) => number;
|
|
7
|
+
export declare const clampNumber: (value: number, min: number, max: number) => number;
|
|
8
|
+
export declare const snapNumberToStep: (value: number, min: number, step: number) => number;
|
|
9
|
+
export declare const getComparisonOperators: (filter: Partial<NumberComparisonTableFilter>) => NumberComparisonOperator[];
|
|
10
|
+
export declare const getDefaultComparisonOperator: (filter: Partial<NumberComparisonTableFilter>) => NumberComparisonOperator;
|
|
11
|
+
export declare const matchesNumberRange: (rawValue: unknown, range: NumberRangeFilterValue, inclusive?: boolean) => boolean;
|
|
12
|
+
export declare const matchesNumberComparison: (rawValue: unknown, comparison: NumberComparisonFilterValue) => boolean;
|
|
13
|
+
export declare const formatFilterNumber: (value: number, locale?: string, maximumFractionDigits?: number) => string;
|
|
14
|
+
export declare const normalizeNumberLocale: (locale: unknown) => string | undefined;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface TableAgentToolProps {
|
|
2
|
+
projectSlug: string;
|
|
3
|
+
instanceId: string;
|
|
4
|
+
instanceName: string;
|
|
5
|
+
}
|
|
6
|
+
export interface TableQueryArgs {
|
|
7
|
+
startDate?: string;
|
|
8
|
+
endDate?: string;
|
|
9
|
+
dateProperty?: string;
|
|
10
|
+
useDefaultDateRange?: boolean;
|
|
11
|
+
filters?: any[];
|
|
12
|
+
sortBy?: string;
|
|
13
|
+
sortDirection?: 'asc' | 'desc';
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Shared runtime for the table module's chat tools.
|
|
17
|
+
*
|
|
18
|
+
* It deliberately addresses module storage by the component props instead of
|
|
19
|
+
* the active route: chat widgets can be mounted far away from the table page.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useTableAgentTools(props: TableAgentToolProps): {
|
|
22
|
+
loadMetadata: (options?: {
|
|
23
|
+
fresh?: boolean;
|
|
24
|
+
}) => Promise<any>;
|
|
25
|
+
loadRows: (args?: TableQueryArgs, options?: {
|
|
26
|
+
freshMetadata?: boolean;
|
|
27
|
+
}) => Promise<any>;
|
|
28
|
+
runStoredRowAction: (action: any, row: any, rowIndex: number, sourceRows: any[]) => Promise<{
|
|
29
|
+
flowResult: any;
|
|
30
|
+
effects: any[];
|
|
31
|
+
rows: any[];
|
|
32
|
+
}>;
|
|
33
|
+
};
|