@sprucelabs/spruce-people-utils 8.0.93 → 8.0.95
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.
@@ -19,7 +19,7 @@ class PersonSelectInputViewController extends AbstractViewController {
|
|
19
19
|
this.organizationId = organizationId;
|
20
20
|
this.locationId = locationId;
|
21
21
|
this.shouldAllowAddAnonymous = shouldAllowAddAnonymous !== null && shouldAllowAddAnonymous !== void 0 ? shouldAllowAddAnonymous : true;
|
22
|
-
this.autoCompleteVc = this.Controller('
|
22
|
+
this.autoCompleteVc = this.Controller('autocomplete-input', Object.assign(Object.assign({}, options), { onChangeRenderedValue: this.handleOnChangeRenderedValue.bind(this), renderedValue: '', onFocus: this.handleFocusInput.bind(this) }));
|
23
23
|
this.mixinControllers({
|
24
24
|
'people.invite-person-card': InvitePersonCardViewController,
|
25
25
|
});
|
@@ -33,7 +33,7 @@ class InvitePersonCardViewController extends AbstractViewController {
|
|
33
33
|
this._handleDidAcceptInvite = this._handleDidAcceptInvite.bind(this);
|
34
34
|
}
|
35
35
|
SuccessTalkingVc() {
|
36
|
-
return this.Controller('
|
36
|
+
return this.Controller('talking-sprucebot', {
|
37
37
|
id: 'success',
|
38
38
|
avatar: {
|
39
39
|
size: 'medium',
|
@@ -48,7 +48,7 @@ class InvitePersonCardViewController extends AbstractViewController {
|
|
48
48
|
});
|
49
49
|
}
|
50
50
|
WaitingTalkingVc() {
|
51
|
-
return this.Controller('
|
51
|
+
return this.Controller('talking-sprucebot', {
|
52
52
|
id: 'wait',
|
53
53
|
avatar: {
|
54
54
|
size: 'medium',
|
@@ -69,7 +69,7 @@ class InvitePersonCardViewController extends AbstractViewController {
|
|
69
69
|
});
|
70
70
|
}
|
71
71
|
CardVc() {
|
72
|
-
return this.Controller('
|
72
|
+
return this.Controller('swipe-card', {
|
73
73
|
header: {
|
74
74
|
title: 'Invite a person!',
|
75
75
|
},
|
@@ -48,7 +48,7 @@ class PersonSelectInputViewController extends heartwood_view_controllers_1.Abstr
|
|
48
48
|
this.organizationId = organizationId;
|
49
49
|
this.locationId = locationId;
|
50
50
|
this.shouldAllowAddAnonymous = shouldAllowAddAnonymous ?? true;
|
51
|
-
this.autoCompleteVc = this.Controller('
|
51
|
+
this.autoCompleteVc = this.Controller('autocomplete-input', {
|
52
52
|
...options,
|
53
53
|
onChangeRenderedValue: this.handleOnChangeRenderedValue.bind(this),
|
54
54
|
renderedValue: '',
|
@@ -26,7 +26,7 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
|
|
26
26
|
this._handleDidAcceptInvite = this._handleDidAcceptInvite.bind(this);
|
27
27
|
}
|
28
28
|
SuccessTalkingVc() {
|
29
|
-
return this.Controller('
|
29
|
+
return this.Controller('talking-sprucebot', {
|
30
30
|
id: 'success',
|
31
31
|
avatar: {
|
32
32
|
size: 'medium',
|
@@ -41,7 +41,7 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
|
|
41
41
|
});
|
42
42
|
}
|
43
43
|
WaitingTalkingVc() {
|
44
|
-
return this.Controller('
|
44
|
+
return this.Controller('talking-sprucebot', {
|
45
45
|
id: 'wait',
|
46
46
|
avatar: {
|
47
47
|
size: 'medium',
|
@@ -62,7 +62,7 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
|
|
62
62
|
});
|
63
63
|
}
|
64
64
|
CardVc() {
|
65
|
-
return this.Controller('
|
65
|
+
return this.Controller('swipe-card', {
|
66
66
|
header: {
|
67
67
|
title: 'Invite a person!',
|
68
68
|
},
|