@rolatech/angular-booking 19.0.0-beta.18 → 19.1.0-beta.3
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/fesm2022/rolatech-angular-booking.mjs +41 -41
- package/fesm2022/rolatech-angular-booking.mjs.map +1 -1
- package/index.d.ts +341 -3
- package/package.json +1 -1
- package/themes/_default.scss +1 -0
- package/lib/components/booking-item/booking-item.component.d.ts +0 -8
- package/lib/components/booking-manage-resource-item/booking-manage-resource-item.component.d.ts +0 -32
- package/lib/components/booking-resource-info/booking-resource-info.component.d.ts +0 -6
- package/lib/components/booking-resource-item/booking-resource-item.component.d.ts +0 -6
- package/lib/components/booking-resource-media/booking-resource-media.component.d.ts +0 -9
- package/lib/components/booking-resource-section/booking-resource-section.component.d.ts +0 -6
- package/lib/components/booking-return-item/booking-return-item.component.d.ts +0 -5
- package/lib/components/booking-return-request/booking-return-request.component.d.ts +0 -15
- package/lib/components/index.d.ts +0 -10
- package/lib/components/period-item/period-item.component.d.ts +0 -30
- package/lib/components/session-item/session-item.component.d.ts +0 -28
- package/lib/interfaces/booking.d.ts +0 -61
- package/lib/interfaces/category.d.ts +0 -14
- package/lib/interfaces/facility.d.ts +0 -12
- package/lib/interfaces/index.d.ts +0 -7
- package/lib/interfaces/media.d.ts +0 -9
- package/lib/interfaces/partner.d.ts +0 -32
- package/lib/interfaces/resource-variant.d.ts +0 -6
- package/lib/interfaces/resource.d.ts +0 -86
- package/lib/pages/booking/booking.routes.d.ts +0 -2
- package/lib/pipes/min.pipe.d.ts +0 -7
package/index.d.ts
CHANGED
|
@@ -1,3 +1,341 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { OnInit, DoCheck } from '@angular/core';
|
|
4
|
+
import { Media as Media$1 } from '@rolatech/angular-common';
|
|
5
|
+
|
|
6
|
+
declare const bookingRoutes: Routes;
|
|
7
|
+
|
|
8
|
+
interface Category {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
media: CategoryMedia[];
|
|
12
|
+
createdAt: string;
|
|
13
|
+
originId: string;
|
|
14
|
+
children: Category;
|
|
15
|
+
parent: Category;
|
|
16
|
+
}
|
|
17
|
+
interface CategoryMedia {
|
|
18
|
+
id: string;
|
|
19
|
+
url: string;
|
|
20
|
+
alt: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
interface Facility {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
iconUrl: string;
|
|
28
|
+
media: FacilityMedia[];
|
|
29
|
+
}
|
|
30
|
+
interface FacilityMedia {
|
|
31
|
+
id: string;
|
|
32
|
+
url: string;
|
|
33
|
+
alt: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface Media {
|
|
37
|
+
id?: string;
|
|
38
|
+
url: string;
|
|
39
|
+
alt: string;
|
|
40
|
+
width?: number;
|
|
41
|
+
height?: number;
|
|
42
|
+
uuid?: string;
|
|
43
|
+
selected?: boolean;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
interface Resource {
|
|
47
|
+
id: string;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
name: number;
|
|
51
|
+
description: string;
|
|
52
|
+
status: ResourceStatus;
|
|
53
|
+
type: ResourceType;
|
|
54
|
+
price: number;
|
|
55
|
+
partnerId: string;
|
|
56
|
+
location?: ResourceLocation;
|
|
57
|
+
bookings: Booking[];
|
|
58
|
+
sessions: ResourceSession[];
|
|
59
|
+
media: Media[];
|
|
60
|
+
categories: Category[];
|
|
61
|
+
details: ResourceDetail[];
|
|
62
|
+
facilities?: Facility[];
|
|
63
|
+
periods: any;
|
|
64
|
+
}
|
|
65
|
+
declare enum ResourceStatus {
|
|
66
|
+
DRAFT,
|
|
67
|
+
AWAITING,
|
|
68
|
+
PENDING,
|
|
69
|
+
ACTIVE,
|
|
70
|
+
ACCEPTED,
|
|
71
|
+
DELETED
|
|
72
|
+
}
|
|
73
|
+
declare enum ResourceType {
|
|
74
|
+
CLASSROOM
|
|
75
|
+
}
|
|
76
|
+
interface ResourceSession {
|
|
77
|
+
id?: string;
|
|
78
|
+
name: string;
|
|
79
|
+
startDate: string;
|
|
80
|
+
endDate: string;
|
|
81
|
+
}
|
|
82
|
+
interface ResourcePeriod {
|
|
83
|
+
id?: string;
|
|
84
|
+
name: string;
|
|
85
|
+
startTime: string;
|
|
86
|
+
endTime: string;
|
|
87
|
+
}
|
|
88
|
+
interface ResourceRate {
|
|
89
|
+
userId: string;
|
|
90
|
+
rate: number;
|
|
91
|
+
}
|
|
92
|
+
interface ResourceLocation {
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
contact: string;
|
|
96
|
+
phone: string;
|
|
97
|
+
province: string;
|
|
98
|
+
city: string;
|
|
99
|
+
county: string;
|
|
100
|
+
town: string;
|
|
101
|
+
address: string;
|
|
102
|
+
detail: string;
|
|
103
|
+
latitude: string;
|
|
104
|
+
longitude: string;
|
|
105
|
+
}
|
|
106
|
+
interface ResourceDetail {
|
|
107
|
+
id: string;
|
|
108
|
+
title: string;
|
|
109
|
+
description: string;
|
|
110
|
+
content: string;
|
|
111
|
+
media: Media[];
|
|
112
|
+
isUploading?: boolean;
|
|
113
|
+
}
|
|
114
|
+
interface ResourceItem {
|
|
115
|
+
id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
capacity: number;
|
|
118
|
+
area: number;
|
|
119
|
+
contact: string;
|
|
120
|
+
phone: string;
|
|
121
|
+
notes: string;
|
|
122
|
+
facilities?: Facility[];
|
|
123
|
+
media: Media[];
|
|
124
|
+
productId?: string;
|
|
125
|
+
isUploading?: boolean;
|
|
126
|
+
}
|
|
127
|
+
declare const PeriodDate: string[];
|
|
128
|
+
|
|
129
|
+
interface Partner {
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
}
|
|
133
|
+
interface PartnerClassroom {
|
|
134
|
+
id: string;
|
|
135
|
+
name: string;
|
|
136
|
+
capacity: number;
|
|
137
|
+
area: number;
|
|
138
|
+
contact: string;
|
|
139
|
+
phone: string;
|
|
140
|
+
notes: string;
|
|
141
|
+
facilities?: Facility[];
|
|
142
|
+
media: Media[];
|
|
143
|
+
isUploading?: boolean;
|
|
144
|
+
variants: Variant[];
|
|
145
|
+
productId: string;
|
|
146
|
+
}
|
|
147
|
+
interface Variant {
|
|
148
|
+
id: string;
|
|
149
|
+
period: {
|
|
150
|
+
id: string;
|
|
151
|
+
name: string;
|
|
152
|
+
startTime: string;
|
|
153
|
+
endTime: string;
|
|
154
|
+
};
|
|
155
|
+
pricing: {
|
|
156
|
+
total: number;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
interface ResourceVariant {
|
|
161
|
+
sessionId: string;
|
|
162
|
+
periodId: string;
|
|
163
|
+
classroom: PartnerClassroom;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
interface Booking {
|
|
167
|
+
id?: string;
|
|
168
|
+
createdAt: string;
|
|
169
|
+
bookingNo?: string;
|
|
170
|
+
total: number;
|
|
171
|
+
status: BookingStatus | string;
|
|
172
|
+
userId: string;
|
|
173
|
+
partnerId: string;
|
|
174
|
+
notes: string;
|
|
175
|
+
type: ResourceType;
|
|
176
|
+
items: BookingItem[];
|
|
177
|
+
product: Resource;
|
|
178
|
+
}
|
|
179
|
+
declare enum BookingStatus {
|
|
180
|
+
CREATED,
|
|
181
|
+
PAID,
|
|
182
|
+
COMPLETED,
|
|
183
|
+
CLOSED,
|
|
184
|
+
CANCELED,
|
|
185
|
+
REFUNDED
|
|
186
|
+
}
|
|
187
|
+
declare enum BookingReturnStatus {
|
|
188
|
+
CREATED,
|
|
189
|
+
CANCELED,
|
|
190
|
+
APPROVED,
|
|
191
|
+
REJECTED,
|
|
192
|
+
PROCESSING,
|
|
193
|
+
RETURNED
|
|
194
|
+
}
|
|
195
|
+
interface BookingItem {
|
|
196
|
+
total: number;
|
|
197
|
+
variant: ResourceVariant;
|
|
198
|
+
startAt: string;
|
|
199
|
+
endAt: string;
|
|
200
|
+
status: BookingItemStatus;
|
|
201
|
+
}
|
|
202
|
+
declare enum BookingItemStatus {
|
|
203
|
+
CREATED,
|
|
204
|
+
CANCELED,
|
|
205
|
+
CLOSED,
|
|
206
|
+
RETURN_REQUESTED,
|
|
207
|
+
RETURN_APPROVED,
|
|
208
|
+
RETURN_REJECTED,
|
|
209
|
+
RETURN_PROCESSING,
|
|
210
|
+
REFUNDED
|
|
211
|
+
}
|
|
212
|
+
declare enum BookingTimelineStatus {
|
|
213
|
+
BOOKING_CREATE,
|
|
214
|
+
BOOKING_CLOSED,
|
|
215
|
+
BOOKING_CANCELED,
|
|
216
|
+
BOOKING_PAID,
|
|
217
|
+
BOOKING_REFUNDED,
|
|
218
|
+
BOOKING_COMPLETED,
|
|
219
|
+
BOOKING_RETURN_REQUESTED,
|
|
220
|
+
BOOKING_RETURN_APPROVED,
|
|
221
|
+
BOOKING_RETURN_REJECTED,
|
|
222
|
+
BOOKING_RETURN_PROCESSING,
|
|
223
|
+
BOOKING_RETURN_REFUNDED
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare class BookingManageResourceItemComponent implements OnInit {
|
|
227
|
+
isUploading: _angular_core.InputSignal<boolean | undefined>;
|
|
228
|
+
resource: _angular_core.InputSignal<ResourceItem>;
|
|
229
|
+
actions: _angular_core.InputSignal<boolean>;
|
|
230
|
+
selectMedia: _angular_core.InputSignal<any>;
|
|
231
|
+
upload: _angular_core.OutputEmitterRef<{
|
|
232
|
+
id: string;
|
|
233
|
+
data: FormData | null;
|
|
234
|
+
}>;
|
|
235
|
+
delete: _angular_core.OutputEmitterRef<ResourceItem>;
|
|
236
|
+
save: _angular_core.OutputEmitterRef<ResourceItem>;
|
|
237
|
+
deleteMedia: _angular_core.OutputEmitterRef<{
|
|
238
|
+
id: string;
|
|
239
|
+
media: Media$1;
|
|
240
|
+
}>;
|
|
241
|
+
selectedImg: Media$1 | null;
|
|
242
|
+
constructor();
|
|
243
|
+
ngOnInit(): void;
|
|
244
|
+
onUpload(id: string, data: any): void;
|
|
245
|
+
onMediaItemClick(image: Media$1): void;
|
|
246
|
+
select(item: any): void;
|
|
247
|
+
deleteImage(): void;
|
|
248
|
+
onSave(resource: ResourceItem): void;
|
|
249
|
+
onDelete(resource: ResourceItem): void;
|
|
250
|
+
onDeleteMedia(id: string, media: Media$1): void;
|
|
251
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingManageResourceItemComponent, never>;
|
|
252
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingManageResourceItemComponent, "rolatech-booking-manage-resource-item", never, { "isUploading": { "alias": "isUploading"; "required": false; "isSignal": true; }; "resource": { "alias": "resource"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "selectMedia": { "alias": "selectMedia"; "required": false; "isSignal": true; }; }, { "upload": "upload"; "delete": "delete"; "save": "save"; "deleteMedia": "deleteMedia"; }, never, never, true, never>;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
declare class BookingResourceInfoComponent {
|
|
256
|
+
resource: _angular_core.InputSignal<any>;
|
|
257
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingResourceInfoComponent, never>;
|
|
258
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingResourceInfoComponent, "rolatech-booking-resource-info", never, { "resource": { "alias": "resource"; "required": false; "isSignal": true; }; }, {}, never, ["rolatech-booking-resource-media"], true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class BookingResourceMediaComponent {
|
|
262
|
+
hasId: string;
|
|
263
|
+
hasClass: boolean;
|
|
264
|
+
media: _angular_core.InputSignal<any>;
|
|
265
|
+
mediaIndex: number;
|
|
266
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingResourceMediaComponent, never>;
|
|
267
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingResourceMediaComponent, "rolatech-booking-resource-media", never, { "media": { "alias": "media"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare class BookingResourceSectionComponent {
|
|
271
|
+
section: _angular_core.InputSignal<any>;
|
|
272
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingResourceSectionComponent, never>;
|
|
273
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingResourceSectionComponent, "rolatech-booking-resource-section", never, { "section": { "alias": "section"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
declare class BookingResourceItemComponent {
|
|
277
|
+
resource: _angular_core.InputSignal<any>;
|
|
278
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingResourceItemComponent, never>;
|
|
279
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingResourceItemComponent, "rolatech-booking-resource-item", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
declare class BookingReturnItemComponent {
|
|
283
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingReturnItemComponent, never>;
|
|
284
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingReturnItemComponent, "rolatech-booking-return-item", never, {}, {}, never, never, true, never>;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
declare class BookingReturnRequestComponent implements DoCheck {
|
|
288
|
+
items: _angular_core.InputSignal<any>;
|
|
289
|
+
allComplete: boolean;
|
|
290
|
+
total: number;
|
|
291
|
+
selectedItems: any;
|
|
292
|
+
output: _angular_core.OutputEmitterRef<any>;
|
|
293
|
+
updateAllComplete(): void;
|
|
294
|
+
someComplete(): boolean;
|
|
295
|
+
setAll(completed: boolean): void;
|
|
296
|
+
ngDoCheck(): void;
|
|
297
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingReturnRequestComponent, never>;
|
|
298
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingReturnRequestComponent, "rolatech-booking-return-request", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "output": "output"; }, never, never, true, never>;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
declare class PeriodItemComponent implements OnInit, DoCheck {
|
|
302
|
+
period: _angular_core.ModelSignal<ResourcePeriod>;
|
|
303
|
+
actions: _angular_core.InputSignal<boolean>;
|
|
304
|
+
delete: _angular_core.OutputEmitterRef<ResourcePeriod>;
|
|
305
|
+
save: _angular_core.OutputEmitterRef<ResourcePeriod>;
|
|
306
|
+
output: _angular_core.OutputEmitterRef<any>;
|
|
307
|
+
date: string[];
|
|
308
|
+
ngOnInit(): void;
|
|
309
|
+
startTimeChanged(event: any): void;
|
|
310
|
+
endTimeChanged(event: any): void;
|
|
311
|
+
onSave(period: ResourcePeriod): void;
|
|
312
|
+
onDelete(period: ResourcePeriod): void;
|
|
313
|
+
ngDoCheck(): void;
|
|
314
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PeriodItemComponent, never>;
|
|
315
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PeriodItemComponent, "rolatech-period-item", never, { "period": { "alias": "period"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, { "period": "periodChange"; "delete": "delete"; "save": "save"; "output": "output"; }, never, never, true, never>;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
declare class SessionItemComponent implements OnInit, DoCheck {
|
|
319
|
+
session: _angular_core.ModelSignal<ResourceSession>;
|
|
320
|
+
actions: _angular_core.InputSignal<boolean>;
|
|
321
|
+
delete: _angular_core.OutputEmitterRef<ResourceSession>;
|
|
322
|
+
save: _angular_core.OutputEmitterRef<ResourceSession>;
|
|
323
|
+
date: string[];
|
|
324
|
+
output: _angular_core.OutputEmitterRef<any>;
|
|
325
|
+
ngOnInit(): void;
|
|
326
|
+
onSave(session: ResourceSession): void;
|
|
327
|
+
onDelete(session: ResourceSession): void;
|
|
328
|
+
ngDoCheck(): void;
|
|
329
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SessionItemComponent, never>;
|
|
330
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SessionItemComponent, "rolatech-session-item", never, { "session": { "alias": "session"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, { "session": "sessionChange"; "delete": "delete"; "save": "save"; "output": "output"; }, never, never, true, never>;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
declare class BookingItemComponent {
|
|
334
|
+
booking: _angular_core.InputSignal<Booking>;
|
|
335
|
+
status: any;
|
|
336
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookingItemComponent, never>;
|
|
337
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookingItemComponent, "rolatech-booking-item", never, { "booking": { "alias": "booking"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export { BookingItemComponent, BookingItemStatus, BookingManageResourceItemComponent, BookingResourceInfoComponent, BookingResourceItemComponent, BookingResourceMediaComponent, BookingResourceSectionComponent, BookingReturnItemComponent, BookingReturnRequestComponent, BookingReturnStatus, BookingStatus, BookingTimelineStatus, PeriodDate, PeriodItemComponent, ResourceStatus, ResourceType, SessionItemComponent, bookingRoutes };
|
|
341
|
+
export type { Booking, BookingItem, Category, CategoryMedia, Facility, FacilityMedia, Media, Partner, PartnerClassroom, Resource, ResourceDetail, ResourceItem, ResourceLocation, ResourcePeriod, ResourceRate, ResourceSession, ResourceVariant, Variant };
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-0{left:0}.left-\[30px\]{left:30px}.right-0{right:0}.top-0{top:0}.top-\[30px\]{top:30px}.z-20{z-index:20}.z-30{z-index:30}.z-\[9999\]{z-index:9999}.-m-1{margin:-.25rem}.m-3{margin:.75rem}.m-auto{margin:auto}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-\[40px\]{margin-left:40px}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-\[6px\]{margin-top:6px}.box-border{box-sizing:border-box}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-4{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.aspect-video{aspect-ratio:16/9}.h-0{height:0}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-24{height:6rem}.h-4{height:1rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-\[190px\]{height:190px}.h-full{height:100%}.max-h-8{max-height:2rem}.max-h-\[320px\]{max-height:320px}.min-h-11{min-height:2.75rem}.min-h-\[320px\]{min-height:320px}.w-1{width:.25rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-20{width:5rem}.w-3\/5{width:60%}.w-32{width:8rem}.w-4{width:1rem}.w-4\/6{width:66.666667%}.w-80{width:20rem}.w-9{width:2.25rem}.w-\[190px\]{width:190px}.w-full{width:100%}.min-w-\[256px\]{min-width:256px}.min-w-\[320px\]{min-width:320px}.min-w-\[80\%\]{min-width:80%}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.scale-90{--tw-scale-x:.9;--tw-scale-y:.9}.scale-90,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-\[--rt-10-percent-layer\]>:not([hidden])~:not([hidden]){border-color:var(--rt-10-percent-layer)}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-dashed{border-style:dashed}.border-\[--rt-border-color\]{border-color:var(--rt-border-color)}.bg-\[--rt-10-percent-layer\]{background-color:var(--rt-10-percent-layer)}.bg-\[--rt-base-background\]{background-color:var(--rt-base-background)}.bg-\[--rt-brand-color\]{background-color:var(--rt-brand-color)}.bg-\[--rt-raised-background\]{background-color:var(--rt-raised-background)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-fixed{background-attachment:fixed}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-12{padding-bottom:3rem;padding-top:3rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pt-3{padding-top:.75rem}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-thin{font-weight:100}.italic{font-style:italic}.leading-3{line-height:.75rem}.leading-none{line-height:1}.text-\[--rt-brand-color\]{color:var(--rt-brand-color)}.text-\[--rt-text-primary\]{color:var(--rt-text-primary)}.text-\[--rt-text-secondary\]{color:var(--rt-text-secondary)}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity,1))}.text-transparent{color:transparent}.underline{text-decoration-line:underline}.opacity-30{opacity:.3}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-4{outline-width:4px}.outline-transparent{outline-color:transparent}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}html{line-height:normal}.hover\:bg-\[--rt-10-percent-layer\]:hover{background-color:var(--rt-10-percent-layer)}.hover\:bg-\[--rt-base-background\]:hover{background-color:var(--rt-base-background)}.hover\:bg-\[--rt-raised-background\]:hover{background-color:var(--rt-raised-background)}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.hover\:outline-\[--rt-raised-background\]:hover{outline-color:var(--rt-raised-background)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.group:hover .group-hover\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}@media (min-width:640px){.sm\:aspect-video{aspect-ratio:16/9}.sm\:w-1\/3{width:33.333333%}.sm\:w-1\/4{width:25%}.sm\:w-3\/4{width:75%}.sm\:min-w-\[33\%\]{min-width:33%}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:768px){.md\:visible{visibility:visible}.md\:line-clamp-2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.md\:h-auto{height:auto}.md\:w-1\/4{width:25%}.md\:min-w-\[25\%\]{min-width:25%}.md\:basis-1\/2{flex-basis:50%}.md\:flex-row{flex-direction:row}.md\:gap-10{gap:2.5rem}.md\:px-16{padding-left:4rem;padding-right:4rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:w-1\/6{width:16.666667%}}@media (min-width:1280px){.xl\:max-w-\[1024px\]{max-width:1024px}}@media (min-width:1536px){.\32xl\:max-w-\[1280px\]{max-width:1280px}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Booking } from '../../interfaces/booking';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BookingItemComponent {
|
|
4
|
-
booking: import("@angular/core").InputSignal<Booking>;
|
|
5
|
-
status: any;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingItemComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingItemComponent, "rolatech-booking-item", never, { "booking": { "alias": "booking"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
package/lib/components/booking-manage-resource-item/booking-manage-resource-item.component.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Media } from '@rolatech/angular-common';
|
|
3
|
-
import { ResourceItem } from '../../interfaces';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BookingManageResourceItemComponent implements OnInit {
|
|
6
|
-
isUploading: import("@angular/core").InputSignal<boolean | undefined>;
|
|
7
|
-
resource: import("@angular/core").InputSignal<ResourceItem>;
|
|
8
|
-
actions: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
selectMedia: import("@angular/core").InputSignal<any>;
|
|
10
|
-
upload: import("@angular/core").OutputEmitterRef<{
|
|
11
|
-
id: string;
|
|
12
|
-
data: FormData | null;
|
|
13
|
-
}>;
|
|
14
|
-
delete: import("@angular/core").OutputEmitterRef<ResourceItem>;
|
|
15
|
-
save: import("@angular/core").OutputEmitterRef<ResourceItem>;
|
|
16
|
-
deleteMedia: import("@angular/core").OutputEmitterRef<{
|
|
17
|
-
id: string;
|
|
18
|
-
media: Media;
|
|
19
|
-
}>;
|
|
20
|
-
selectedImg: Media | null;
|
|
21
|
-
constructor();
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
onUpload(id: string, data: any): void;
|
|
24
|
-
onMediaItemClick(image: Media): void;
|
|
25
|
-
select(item: any): void;
|
|
26
|
-
deleteImage(): void;
|
|
27
|
-
onSave(resource: ResourceItem): void;
|
|
28
|
-
onDelete(resource: ResourceItem): void;
|
|
29
|
-
onDeleteMedia(id: string, media: Media): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingManageResourceItemComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingManageResourceItemComponent, "rolatech-booking-manage-resource-item", never, { "isUploading": { "alias": "isUploading"; "required": false; "isSignal": true; }; "resource": { "alias": "resource"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "selectMedia": { "alias": "selectMedia"; "required": false; "isSignal": true; }; }, { "upload": "upload"; "delete": "delete"; "save": "save"; "deleteMedia": "deleteMedia"; }, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BookingResourceInfoComponent {
|
|
3
|
-
resource: import("@angular/core").InputSignal<any>;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingResourceInfoComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingResourceInfoComponent, "rolatech-booking-resource-info", never, { "resource": { "alias": "resource"; "required": false; "isSignal": true; }; }, {}, never, ["rolatech-booking-resource-media"], true, never>;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BookingResourceItemComponent {
|
|
3
|
-
resource: import("@angular/core").InputSignal<any>;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingResourceItemComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingResourceItemComponent, "rolatech-booking-resource-item", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BookingResourceMediaComponent {
|
|
3
|
-
hasId: string;
|
|
4
|
-
hasClass: boolean;
|
|
5
|
-
media: import("@angular/core").InputSignal<any>;
|
|
6
|
-
mediaIndex: number;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingResourceMediaComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingResourceMediaComponent, "rolatech-booking-resource-media", never, { "media": { "alias": "media"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BookingResourceSectionComponent {
|
|
3
|
-
section: import("@angular/core").InputSignal<any>;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingResourceSectionComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingResourceSectionComponent, "rolatech-booking-resource-section", never, { "section": { "alias": "section"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BookingReturnItemComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingReturnItemComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingReturnItemComponent, "rolatech-booking-return-item", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DoCheck } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BookingReturnRequestComponent implements DoCheck {
|
|
4
|
-
items: import("@angular/core").InputSignal<any>;
|
|
5
|
-
allComplete: boolean;
|
|
6
|
-
total: number;
|
|
7
|
-
selectedItems: any;
|
|
8
|
-
output: import("@angular/core").OutputEmitterRef<any>;
|
|
9
|
-
updateAllComplete(): void;
|
|
10
|
-
someComplete(): boolean;
|
|
11
|
-
setAll(completed: boolean): void;
|
|
12
|
-
ngDoCheck(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingReturnRequestComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookingReturnRequestComponent, "rolatech-booking-return-request", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "output": "output"; }, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { BookingManageResourceItemComponent } from './booking-manage-resource-item/booking-manage-resource-item.component';
|
|
2
|
-
export { BookingResourceInfoComponent } from './booking-resource-info/booking-resource-info.component';
|
|
3
|
-
export { BookingResourceMediaComponent } from './booking-resource-media/booking-resource-media.component';
|
|
4
|
-
export { BookingResourceSectionComponent } from './booking-resource-section/booking-resource-section.component';
|
|
5
|
-
export { BookingResourceItemComponent } from './booking-resource-item/booking-resource-item.component';
|
|
6
|
-
export { BookingReturnItemComponent } from './booking-return-item/booking-return-item.component';
|
|
7
|
-
export { BookingReturnRequestComponent } from './booking-return-request/booking-return-request.component';
|
|
8
|
-
export { PeriodItemComponent } from './period-item/period-item.component';
|
|
9
|
-
export { SessionItemComponent } from './session-item/session-item.component';
|
|
10
|
-
export { BookingItemComponent } from './booking-item/booking-item.component';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { DoCheck, OnInit } from '@angular/core';
|
|
2
|
-
import { ResourcePeriod } from '../../interfaces/resource';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const MY_FORMATS: {
|
|
5
|
-
parse: {
|
|
6
|
-
dateInput: string;
|
|
7
|
-
};
|
|
8
|
-
display: {
|
|
9
|
-
dateInput: string;
|
|
10
|
-
monthYearLabel: string;
|
|
11
|
-
dateA11yLabel: string;
|
|
12
|
-
monthYearA11yLabel: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare class PeriodItemComponent implements OnInit, DoCheck {
|
|
16
|
-
period: import("@angular/core").ModelSignal<ResourcePeriod>;
|
|
17
|
-
actions: import("@angular/core").InputSignal<boolean>;
|
|
18
|
-
delete: import("@angular/core").OutputEmitterRef<ResourcePeriod>;
|
|
19
|
-
save: import("@angular/core").OutputEmitterRef<ResourcePeriod>;
|
|
20
|
-
output: import("@angular/core").OutputEmitterRef<any>;
|
|
21
|
-
date: string[];
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
startTimeChanged(event: any): void;
|
|
24
|
-
endTimeChanged(event: any): void;
|
|
25
|
-
onSave(period: ResourcePeriod): void;
|
|
26
|
-
onDelete(period: ResourcePeriod): void;
|
|
27
|
-
ngDoCheck(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PeriodItemComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PeriodItemComponent, "rolatech-period-item", never, { "period": { "alias": "period"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, { "period": "periodChange"; "delete": "delete"; "save": "save"; "output": "output"; }, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DoCheck, OnInit } from '@angular/core';
|
|
2
|
-
import { ResourceSession } from '../../interfaces/resource';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const MY_FORMATS: {
|
|
5
|
-
parse: {
|
|
6
|
-
dateInput: string;
|
|
7
|
-
};
|
|
8
|
-
display: {
|
|
9
|
-
dateInput: string;
|
|
10
|
-
monthYearLabel: string;
|
|
11
|
-
dateA11yLabel: string;
|
|
12
|
-
monthYearA11yLabel: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare class SessionItemComponent implements OnInit, DoCheck {
|
|
16
|
-
session: import("@angular/core").ModelSignal<ResourceSession>;
|
|
17
|
-
actions: import("@angular/core").InputSignal<boolean>;
|
|
18
|
-
delete: import("@angular/core").OutputEmitterRef<ResourceSession>;
|
|
19
|
-
save: import("@angular/core").OutputEmitterRef<ResourceSession>;
|
|
20
|
-
date: string[];
|
|
21
|
-
output: import("@angular/core").OutputEmitterRef<any>;
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
onSave(session: ResourceSession): void;
|
|
24
|
-
onDelete(session: ResourceSession): void;
|
|
25
|
-
ngDoCheck(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionItemComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SessionItemComponent, "rolatech-session-item", never, { "session": { "alias": "session"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, { "session": "sessionChange"; "delete": "delete"; "save": "save"; "output": "output"; }, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Resource, ResourceType } from './resource';
|
|
2
|
-
import { ResourceVariant } from './resource-variant';
|
|
3
|
-
export interface Booking {
|
|
4
|
-
id?: string;
|
|
5
|
-
createdAt: string;
|
|
6
|
-
bookingNo?: string;
|
|
7
|
-
total: number;
|
|
8
|
-
status: BookingStatus | string;
|
|
9
|
-
userId: string;
|
|
10
|
-
partnerId: string;
|
|
11
|
-
notes: string;
|
|
12
|
-
type: ResourceType;
|
|
13
|
-
items: BookingItem[];
|
|
14
|
-
product: Resource;
|
|
15
|
-
}
|
|
16
|
-
export declare enum BookingStatus {
|
|
17
|
-
CREATED,
|
|
18
|
-
PAID,
|
|
19
|
-
COMPLETED,
|
|
20
|
-
CLOSED,
|
|
21
|
-
CANCELED,
|
|
22
|
-
REFUNDED
|
|
23
|
-
}
|
|
24
|
-
export declare enum BookingReturnStatus {
|
|
25
|
-
CREATED,
|
|
26
|
-
CANCELED,
|
|
27
|
-
APPROVED,
|
|
28
|
-
REJECTED,
|
|
29
|
-
PROCESSING,
|
|
30
|
-
RETURNED
|
|
31
|
-
}
|
|
32
|
-
export interface BookingItem {
|
|
33
|
-
total: number;
|
|
34
|
-
variant: ResourceVariant;
|
|
35
|
-
startAt: string;
|
|
36
|
-
endAt: string;
|
|
37
|
-
status: BookingItemStatus;
|
|
38
|
-
}
|
|
39
|
-
export declare enum BookingItemStatus {
|
|
40
|
-
CREATED,
|
|
41
|
-
CANCELED,
|
|
42
|
-
CLOSED,
|
|
43
|
-
RETURN_REQUESTED,
|
|
44
|
-
RETURN_APPROVED,
|
|
45
|
-
RETURN_REJECTED,
|
|
46
|
-
RETURN_PROCESSING,
|
|
47
|
-
REFUNDED
|
|
48
|
-
}
|
|
49
|
-
export declare enum BookingTimelineStatus {
|
|
50
|
-
BOOKING_CREATE,
|
|
51
|
-
BOOKING_CLOSED,
|
|
52
|
-
BOOKING_CANCELED,
|
|
53
|
-
BOOKING_PAID,
|
|
54
|
-
BOOKING_REFUNDED,
|
|
55
|
-
BOOKING_COMPLETED,
|
|
56
|
-
BOOKING_RETURN_REQUESTED,
|
|
57
|
-
BOOKING_RETURN_APPROVED,
|
|
58
|
-
BOOKING_RETURN_REJECTED,
|
|
59
|
-
BOOKING_RETURN_PROCESSING,
|
|
60
|
-
BOOKING_RETURN_REFUNDED
|
|
61
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface Category {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
media: CategoryMedia[];
|
|
5
|
-
createdAt: string;
|
|
6
|
-
originId: string;
|
|
7
|
-
children: Category;
|
|
8
|
-
parent: Category;
|
|
9
|
-
}
|
|
10
|
-
export interface CategoryMedia {
|
|
11
|
-
id: string;
|
|
12
|
-
url: string;
|
|
13
|
-
alt: string;
|
|
14
|
-
}
|