@sprucelabs/spruce-appointment-utils 14.0.49 → 14.0.51
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/build/addingServices/DurationCard.vc.d.ts +5 -5
- package/build/addingServices/DurationList.vc.d.ts +5 -5
- package/build/esm/addingServices/DurationCard.vc.d.ts +5 -5
- package/build/esm/addingServices/DurationList.vc.d.ts +5 -5
- package/build/esm/viewControllers/AbstractCapabilityCardViewController.js +1 -1
- package/build/viewControllers/AbstractCapabilityCardViewController.js +1 -1
- package/package.json +1 -1
|
@@ -18,12 +18,12 @@ export default class DurationCardViewController extends AbstractViewController<C
|
|
|
18
18
|
private ListVc;
|
|
19
19
|
payAttentionToMe(): void;
|
|
20
20
|
getTimeBlocks(): {
|
|
21
|
-
title?: string |
|
|
21
|
+
title?: string | undefined | null;
|
|
22
22
|
isBusy: boolean;
|
|
23
|
-
subtitle?: string |
|
|
24
|
-
rightIcons?:
|
|
25
|
-
leftIcons?:
|
|
26
|
-
durationMinutes?: number
|
|
23
|
+
subtitle?: string | undefined | null;
|
|
24
|
+
rightIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
25
|
+
leftIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
26
|
+
durationMinutes?: number;
|
|
27
27
|
id: string;
|
|
28
28
|
}[];
|
|
29
29
|
getDurationListVc(): DurationListViewController;
|
|
@@ -17,12 +17,12 @@ export default class DurationListViewController extends AbstractViewController<L
|
|
|
17
17
|
private addRow;
|
|
18
18
|
getListVc(): ListViewController;
|
|
19
19
|
getTimeBlocks(): {
|
|
20
|
-
title?: string |
|
|
20
|
+
title?: string | undefined | null;
|
|
21
21
|
isBusy: boolean;
|
|
22
|
-
subtitle?: string |
|
|
23
|
-
rightIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] |
|
|
24
|
-
leftIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] |
|
|
25
|
-
durationMinutes?: number
|
|
22
|
+
subtitle?: string | undefined | null;
|
|
23
|
+
rightIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
24
|
+
leftIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
25
|
+
durationMinutes?: number;
|
|
26
26
|
id: string;
|
|
27
27
|
}[];
|
|
28
28
|
private buildRow;
|
|
@@ -18,12 +18,12 @@ export default class DurationCardViewController extends AbstractViewController<C
|
|
|
18
18
|
private ListVc;
|
|
19
19
|
payAttentionToMe(): void;
|
|
20
20
|
getTimeBlocks(): {
|
|
21
|
-
title?: string |
|
|
21
|
+
title?: string | undefined | null;
|
|
22
22
|
isBusy: boolean;
|
|
23
|
-
subtitle?: string |
|
|
24
|
-
rightIcons?:
|
|
25
|
-
leftIcons?:
|
|
26
|
-
durationMinutes?: number
|
|
23
|
+
subtitle?: string | undefined | null;
|
|
24
|
+
rightIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
25
|
+
leftIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
26
|
+
durationMinutes?: number;
|
|
27
27
|
id: string;
|
|
28
28
|
}[];
|
|
29
29
|
getDurationListVc(): DurationListViewController;
|
|
@@ -17,12 +17,12 @@ export default class DurationListViewController extends AbstractViewController<L
|
|
|
17
17
|
private addRow;
|
|
18
18
|
getListVc(): ListViewController;
|
|
19
19
|
getTimeBlocks(): {
|
|
20
|
-
title?: string |
|
|
20
|
+
title?: string | undefined | null;
|
|
21
21
|
isBusy: boolean;
|
|
22
|
-
subtitle?: string |
|
|
23
|
-
rightIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] |
|
|
24
|
-
leftIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] |
|
|
25
|
-
durationMinutes?: number
|
|
22
|
+
subtitle?: string | undefined | null;
|
|
23
|
+
rightIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
24
|
+
leftIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
25
|
+
durationMinutes?: number;
|
|
26
26
|
id: string;
|
|
27
27
|
}[];
|
|
28
28
|
private buildRow;
|
|
@@ -156,7 +156,7 @@ export default class AbstractCapabilityCardViewController extends AbstractViewCo
|
|
|
156
156
|
.reduce(function (a, b) {
|
|
157
157
|
return a + b;
|
|
158
158
|
});
|
|
159
|
-
const r = durationUtil.
|
|
159
|
+
const r = durationUtil.renderDuration(duration * 60000);
|
|
160
160
|
return r;
|
|
161
161
|
}
|
|
162
162
|
getCardVc() {
|
|
@@ -137,7 +137,7 @@ class AbstractCapabilityCardViewController extends heartwood_view_controllers_1.
|
|
|
137
137
|
.reduce(function (a, b) {
|
|
138
138
|
return a + b;
|
|
139
139
|
});
|
|
140
|
-
const r = calendar_utils_1.durationUtil.
|
|
140
|
+
const r = calendar_utils_1.durationUtil.renderDuration(duration * 60000);
|
|
141
141
|
return r;
|
|
142
142
|
}
|
|
143
143
|
getCardVc() {
|