@sprucelabs/spruce-people-utils 3.1.10 → 3.1.11
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.
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
import { AbstractViewController, buildForm, } from '@sprucelabs/heartwood-view-controllers';
|
|
11
11
|
import { assertOptions, buildSchema } from '@sprucelabs/schema';
|
|
12
12
|
import { inviteCardHeaders } from './inviteCardHeaders.js';
|
|
13
|
-
|
|
13
|
+
class InvitePersonCardViewController extends AbstractViewController {
|
|
14
14
|
constructor(options) {
|
|
15
15
|
super(options);
|
|
16
16
|
this.isLoaded = false;
|
|
@@ -240,6 +240,7 @@ export default class InvitePersonCardViewController extends AbstractViewControll
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
InvitePersonCardViewController.id = 'invite-person-card';
|
|
243
|
+
export default InvitePersonCardViewController;
|
|
243
244
|
const inviteFormSchema = buildSchema({
|
|
244
245
|
id: 'inviteForm',
|
|
245
246
|
fields: {
|
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
import { AbstractViewController, } from '@sprucelabs/heartwood-view-controllers';
|
|
11
11
|
import InvitePersonCardViewController from '../inviting/InvitePersonCard.vc.js';
|
|
12
12
|
import searchPeopleToSuggestions, { renderLabel, } from './searchPeopleToSuggestions.js';
|
|
13
|
-
|
|
13
|
+
class PersonSelectInputViewController extends AbstractViewController {
|
|
14
14
|
constructor(options) {
|
|
15
15
|
super(options);
|
|
16
16
|
this.shouldIgnoreNextChange = false;
|
|
@@ -209,3 +209,4 @@ export default class PersonSelectInputViewController extends AbstractViewControl
|
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
PersonSelectInputViewController.id = 'person-select-input';
|
|
212
|
+
export default PersonSelectInputViewController;
|
|
@@ -211,8 +211,8 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
|
|
|
211
211
|
return this.swipeVc.render();
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
exports.default = InvitePersonCardViewController;
|
|
215
214
|
InvitePersonCardViewController.id = 'invite-person-card';
|
|
215
|
+
exports.default = InvitePersonCardViewController;
|
|
216
216
|
const inviteFormSchema = (0, schema_1.buildSchema)({
|
|
217
217
|
id: 'inviteForm',
|
|
218
218
|
fields: {
|
|
@@ -207,5 +207,5 @@ class PersonSelectInputViewController extends heartwood_view_controllers_1.Abstr
|
|
|
207
207
|
return this.autoCompleteVc.render();
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
exports.default = PersonSelectInputViewController;
|
|
211
210
|
PersonSelectInputViewController.id = 'person-select-input';
|
|
211
|
+
exports.default = PersonSelectInputViewController;
|