@sprucelabs/spruce-calendar-components 25.5.1 → 25.5.2
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/.spruce/schemas/schemas.types.d.ts +1374 -1374
- package/build/calendar/Calendar.vc.js +3 -1
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1374 -1374
- package/build/esm/calendar/Calendar.vc.js +3 -1
- package/build/esm/skillViewControllers/Root.svc.d.ts +1 -0
- package/build/esm/skillViewControllers/Root.svc.js +9 -2
- package/build/esm/tools/EventTitleTool.vc.js +3 -2
- package/build/skillViewControllers/Root.svc.d.ts +1 -0
- package/build/skillViewControllers/Root.svc.js +9 -2
- package/build/tools/EventTitleTool.vc.js +3 -2
- package/package.json +1 -1
|
@@ -240,7 +240,9 @@ class CalendarViewController extends heartwood_view_controllers_1.CalendarViewCo
|
|
|
240
240
|
return event;
|
|
241
241
|
}
|
|
242
242
|
render() {
|
|
243
|
-
|
|
243
|
+
var _a, _b;
|
|
244
|
+
const model = super.render();
|
|
245
|
+
return Object.assign(Object.assign({}, model), { onLongPressEvent: () => this.getDevice().vibrate(), onLongPressView: () => this.getDevice().vibrate(), shouldEnableSwipeNav: ((_b = (_a = model.people) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) === 1 });
|
|
244
246
|
}
|
|
245
247
|
}
|
|
246
248
|
CalendarViewController.id = 'calendar';
|