@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
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Facility } from './facility';
|
|
2
|
-
import { Media } from './media';
|
|
3
|
-
export interface Partner {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
}
|
|
7
|
-
export interface PartnerClassroom {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
capacity: number;
|
|
11
|
-
area: number;
|
|
12
|
-
contact: string;
|
|
13
|
-
phone: string;
|
|
14
|
-
notes: string;
|
|
15
|
-
facilities?: Facility[];
|
|
16
|
-
media: Media[];
|
|
17
|
-
isUploading?: boolean;
|
|
18
|
-
variants: Variant[];
|
|
19
|
-
productId: string;
|
|
20
|
-
}
|
|
21
|
-
export interface Variant {
|
|
22
|
-
id: string;
|
|
23
|
-
period: {
|
|
24
|
-
id: string;
|
|
25
|
-
name: string;
|
|
26
|
-
startTime: string;
|
|
27
|
-
endTime: string;
|
|
28
|
-
};
|
|
29
|
-
pricing: {
|
|
30
|
-
total: number;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Booking } from './booking';
|
|
2
|
-
import { Category } from './category';
|
|
3
|
-
import { Facility } from './facility';
|
|
4
|
-
import { Media } from './media';
|
|
5
|
-
export interface Resource {
|
|
6
|
-
id: string;
|
|
7
|
-
createdAt: string;
|
|
8
|
-
updatedAt: string;
|
|
9
|
-
name: number;
|
|
10
|
-
description: string;
|
|
11
|
-
status: ResourceStatus;
|
|
12
|
-
type: ResourceType;
|
|
13
|
-
price: number;
|
|
14
|
-
partnerId: string;
|
|
15
|
-
location?: ResourceLocation;
|
|
16
|
-
bookings: Booking[];
|
|
17
|
-
sessions: ResourceSession[];
|
|
18
|
-
media: Media[];
|
|
19
|
-
categories: Category[];
|
|
20
|
-
details: ResourceDetail[];
|
|
21
|
-
facilities?: Facility[];
|
|
22
|
-
periods: any;
|
|
23
|
-
}
|
|
24
|
-
export declare enum ResourceStatus {
|
|
25
|
-
DRAFT,
|
|
26
|
-
AWAITING,
|
|
27
|
-
PENDING,
|
|
28
|
-
ACTIVE,
|
|
29
|
-
ACCEPTED,
|
|
30
|
-
DELETED
|
|
31
|
-
}
|
|
32
|
-
export declare enum ResourceType {
|
|
33
|
-
CLASSROOM
|
|
34
|
-
}
|
|
35
|
-
export interface ResourceSession {
|
|
36
|
-
id?: string;
|
|
37
|
-
name: string;
|
|
38
|
-
startDate: string;
|
|
39
|
-
endDate: string;
|
|
40
|
-
}
|
|
41
|
-
export interface ResourcePeriod {
|
|
42
|
-
id?: string;
|
|
43
|
-
name: string;
|
|
44
|
-
startTime: string;
|
|
45
|
-
endTime: string;
|
|
46
|
-
}
|
|
47
|
-
export interface ResourceRate {
|
|
48
|
-
userId: string;
|
|
49
|
-
rate: number;
|
|
50
|
-
}
|
|
51
|
-
export interface ResourceLocation {
|
|
52
|
-
id: string;
|
|
53
|
-
name: string;
|
|
54
|
-
contact: string;
|
|
55
|
-
phone: string;
|
|
56
|
-
province: string;
|
|
57
|
-
city: string;
|
|
58
|
-
county: string;
|
|
59
|
-
town: string;
|
|
60
|
-
address: string;
|
|
61
|
-
detail: string;
|
|
62
|
-
latitude: string;
|
|
63
|
-
longitude: string;
|
|
64
|
-
}
|
|
65
|
-
export interface ResourceDetail {
|
|
66
|
-
id: string;
|
|
67
|
-
title: string;
|
|
68
|
-
description: string;
|
|
69
|
-
content: string;
|
|
70
|
-
media: Media[];
|
|
71
|
-
isUploading?: boolean;
|
|
72
|
-
}
|
|
73
|
-
export interface ResourceItem {
|
|
74
|
-
id: string;
|
|
75
|
-
name: string;
|
|
76
|
-
capacity: number;
|
|
77
|
-
area: number;
|
|
78
|
-
contact: string;
|
|
79
|
-
phone: string;
|
|
80
|
-
notes: string;
|
|
81
|
-
facilities?: Facility[];
|
|
82
|
-
media: Media[];
|
|
83
|
-
productId?: string;
|
|
84
|
-
isUploading?: boolean;
|
|
85
|
-
}
|
|
86
|
-
export declare const PeriodDate: string[];
|
package/lib/pipes/min.pipe.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MinPipe implements PipeTransform {
|
|
4
|
-
transform(variants: any[]): unknown;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MinPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MinPipe, "min", true>;
|
|
7
|
-
}
|