@sprucelabs/spruce-profile-utils 2.1.35 → 3.0.0
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/esm/index-module.d.ts +2 -0
- package/build/esm/index-module.js +2 -0
- package/build/esm/profile.types.d.ts +4 -0
- package/build/esm/profile.types.js +1 -0
- package/build/esm/root/ProfileCard.vc.d.ts +27 -0
- package/build/esm/root/ProfileCard.vc.js +113 -0
- package/build/esm/types-module.d.ts +5 -2
- package/build/index-module.d.ts +2 -0
- package/build/index-module.js +4 -1
- package/build/profile.types.d.ts +4 -0
- package/build/profile.types.js +2 -0
- package/build/root/ProfileCard.vc.d.ts +27 -0
- package/build/root/ProfileCard.vc.js +102 -0
- package/build/types-module.d.ts +5 -2
- package/package.json +46 -38
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SpruceSchemas } from '@sprucelabs/mercury-types';
|
|
2
|
+
export type Person = SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
3
|
+
export type PersonSchema = SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
4
|
+
export type FormForPerson = SpruceSchemas.Forms.v2021_07_02.FormForPerson;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Locale } from '@sprucelabs/calendar-utils';
|
|
2
|
+
import { AbstractViewController, Authenticator, Card, CardViewController, FormViewController, ViewControllerOptions } from '@sprucelabs/heartwood-view-controllers';
|
|
3
|
+
import { Person, PersonSchema } from '../profile.types';
|
|
4
|
+
export default class ProfileCardViewController extends AbstractViewController<Card> {
|
|
5
|
+
static id: string;
|
|
6
|
+
protected cardVc: CardViewController;
|
|
7
|
+
protected formVc: FormViewController<PersonSchema>;
|
|
8
|
+
protected person?: Person;
|
|
9
|
+
protected authenticator: Authenticator;
|
|
10
|
+
protected onSubmitHandler?: OnSubmitHandler;
|
|
11
|
+
constructor(options: ViewControllerOptions & ProfileCardViewControllerOptions);
|
|
12
|
+
private CardVc;
|
|
13
|
+
private FormVc;
|
|
14
|
+
private handleSubmit;
|
|
15
|
+
load(options: LoadOptions): Promise<void>;
|
|
16
|
+
render(): import("@sprucelabs/calendar-utils").SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
|
|
17
|
+
}
|
|
18
|
+
interface LoadOptions {
|
|
19
|
+
person: Person;
|
|
20
|
+
authenticator: Authenticator;
|
|
21
|
+
locale: Locale;
|
|
22
|
+
}
|
|
23
|
+
type OnSubmitHandler = (person?: Person) => Promise<void>;
|
|
24
|
+
export interface ProfileCardViewControllerOptions {
|
|
25
|
+
onSubmit?: OnSubmitHandler;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { sortTimezoneChoices } from '@sprucelabs/calendar-utils';
|
|
11
|
+
import { AbstractViewController, buildForm, } from '@sprucelabs/heartwood-view-controllers';
|
|
12
|
+
import { assertOptions } from '@sprucelabs/schema';
|
|
13
|
+
import { personSchema } from '@sprucelabs/spruce-core-schemas';
|
|
14
|
+
class ProfileCardViewController extends AbstractViewController {
|
|
15
|
+
constructor(options) {
|
|
16
|
+
super(options);
|
|
17
|
+
const { onSubmit } = options;
|
|
18
|
+
this.onSubmitHandler = onSubmit;
|
|
19
|
+
this.formVc = this.FormVc();
|
|
20
|
+
this.cardVc = this.CardVc();
|
|
21
|
+
}
|
|
22
|
+
CardVc() {
|
|
23
|
+
return this.Controller('card', {
|
|
24
|
+
id: 'profile',
|
|
25
|
+
header: {
|
|
26
|
+
title: 'Your profile',
|
|
27
|
+
},
|
|
28
|
+
body: {
|
|
29
|
+
isBusy: true,
|
|
30
|
+
sections: [{ form: this.formVc.render() }],
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
FormVc() {
|
|
35
|
+
var _a, _b;
|
|
36
|
+
return this.Controller('form', buildForm({
|
|
37
|
+
id: 'profile',
|
|
38
|
+
schema: personSchema,
|
|
39
|
+
shouldShowCancelButton: false,
|
|
40
|
+
onChange: () => {
|
|
41
|
+
this.formVc.enable();
|
|
42
|
+
},
|
|
43
|
+
onSubmit: this.handleSubmit.bind(this),
|
|
44
|
+
isEnabled: false,
|
|
45
|
+
values: {
|
|
46
|
+
firstName: (_a = this.person) === null || _a === void 0 ? void 0 : _a.firstName,
|
|
47
|
+
lastName: (_b = this.person) === null || _b === void 0 ? void 0 : _b.lastName,
|
|
48
|
+
timezone: 'America/Boise',
|
|
49
|
+
},
|
|
50
|
+
submitButtonLabel: 'Save changes',
|
|
51
|
+
sections: [
|
|
52
|
+
{
|
|
53
|
+
title: 'Personal info',
|
|
54
|
+
fields: ['firstName', 'lastName'],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
title: 'Location info',
|
|
58
|
+
fields: ['timezone'],
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
handleSubmit() {
|
|
64
|
+
var _a, _b, _c, _d;
|
|
65
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
try {
|
|
67
|
+
const client = yield this.connectToApi();
|
|
68
|
+
const values = this.formVc.getValues();
|
|
69
|
+
yield client.emitAndFlattenResponses('update-person::v2020_12_25', {
|
|
70
|
+
payload: Object.assign({}, values),
|
|
71
|
+
});
|
|
72
|
+
const token = (_a = this.authenticator) === null || _a === void 0 ? void 0 : _a.getSessionToken();
|
|
73
|
+
const current = (_b = this.authenticator) === null || _b === void 0 ? void 0 : _b.getPerson();
|
|
74
|
+
const updatedPerson = Object.assign(Object.assign({}, current), values);
|
|
75
|
+
(_c = this.authenticator) === null || _c === void 0 ? void 0 : _c.setSessionToken(token, updatedPerson);
|
|
76
|
+
yield this.alert({
|
|
77
|
+
title: 'Changes saved!',
|
|
78
|
+
message: 'Your profile has been updated. This is so much fun!',
|
|
79
|
+
style: 'success',
|
|
80
|
+
});
|
|
81
|
+
yield ((_d = this.onSubmitHandler) === null || _d === void 0 ? void 0 : _d.call(this, updatedPerson));
|
|
82
|
+
}
|
|
83
|
+
catch (err) {
|
|
84
|
+
yield this.alert({ message: err.message, style: 'error' });
|
|
85
|
+
}
|
|
86
|
+
this.formVc.disable();
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
load(options) {
|
|
90
|
+
var _a;
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const { person, authenticator, locale } = assertOptions(options !== null && options !== void 0 ? options : {}, [
|
|
93
|
+
'person',
|
|
94
|
+
'authenticator',
|
|
95
|
+
'locale',
|
|
96
|
+
]);
|
|
97
|
+
const sortedSchema = sortTimezoneChoices(locale, personSchema, 'timezone');
|
|
98
|
+
this.person = person;
|
|
99
|
+
this.authenticator = authenticator;
|
|
100
|
+
this.formVc.updateField('timezone', {
|
|
101
|
+
fieldDefinition: Object.assign({}, sortedSchema.fields.timezone),
|
|
102
|
+
});
|
|
103
|
+
yield this.formVc.setValues(Object.assign(Object.assign({}, options.person), { timezone: (_a = person.timezone) !== null && _a !== void 0 ? _a : locale.getZoneName() }));
|
|
104
|
+
this.formVc.disable();
|
|
105
|
+
this.cardVc.setIsBusy(false);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
render() {
|
|
109
|
+
return this.cardVc.render();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
ProfileCardViewController.id = 'profile-card';
|
|
113
|
+
export default ProfileCardViewController;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { Card, SkillViewControllerLoadOptions, ViewController } from '@sprucelabs/heartwood-view-controllers';
|
|
2
2
|
import RoleSelectCardViewController, { RoleSelectCardViewControllerOptions } from './adding/RoleSelectCard.vc';
|
|
3
|
+
import ProfileCardViewController from './root/ProfileCard.vc';
|
|
3
4
|
export { ProfileRole } from './adding/RoleSelectCard.vc';
|
|
4
5
|
export type RemoteProfileCard = ViewController<Card> & {
|
|
5
6
|
load?: (options: SkillViewControllerLoadOptions) => Promise<void> | void;
|
|
6
7
|
};
|
|
7
8
|
declare module '@sprucelabs/heartwood-view-controllers/build/types/heartwood.types' {
|
|
8
9
|
interface ViewControllerMap {
|
|
9
|
-
|
|
10
|
+
'profile.role-select-card': RoleSelectCardViewController;
|
|
11
|
+
'profile.profile-card': ProfileCardViewController;
|
|
10
12
|
}
|
|
11
13
|
interface ViewControllerOptionsMap {
|
|
12
|
-
|
|
14
|
+
'profile.role-select-card': RoleSelectCardViewControllerOptions;
|
|
15
|
+
'profile.profile-card': ConstructorParameters<typeof ProfileCardViewController>[0];
|
|
13
16
|
}
|
|
14
17
|
}
|
package/build/index-module.d.ts
CHANGED
package/build/index-module.js
CHANGED
|
@@ -17,7 +17,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.RoleSelectCardViewController = void 0;
|
|
20
|
+
exports.ProfileCardViewController = exports.RoleSelectCardViewController = void 0;
|
|
21
21
|
var RoleSelectCard_vc_1 = require("./adding/RoleSelectCard.vc");
|
|
22
22
|
Object.defineProperty(exports, "RoleSelectCardViewController", { enumerable: true, get: function () { return __importDefault(RoleSelectCard_vc_1).default; } });
|
|
23
|
+
var ProfileCard_vc_1 = require("./root/ProfileCard.vc");
|
|
24
|
+
Object.defineProperty(exports, "ProfileCardViewController", { enumerable: true, get: function () { return __importDefault(ProfileCard_vc_1).default; } });
|
|
23
25
|
__exportStar(require("./types-module"), exports);
|
|
26
|
+
__exportStar(require("./profile.types"), exports);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SpruceSchemas } from '@sprucelabs/mercury-types';
|
|
2
|
+
export type Person = SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
3
|
+
export type PersonSchema = SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
4
|
+
export type FormForPerson = SpruceSchemas.Forms.v2021_07_02.FormForPerson;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Locale } from '@sprucelabs/calendar-utils';
|
|
2
|
+
import { AbstractViewController, Authenticator, Card, CardViewController, FormViewController, ViewControllerOptions } from '@sprucelabs/heartwood-view-controllers';
|
|
3
|
+
import { Person, PersonSchema } from '../profile.types';
|
|
4
|
+
export default class ProfileCardViewController extends AbstractViewController<Card> {
|
|
5
|
+
static id: string;
|
|
6
|
+
protected cardVc: CardViewController;
|
|
7
|
+
protected formVc: FormViewController<PersonSchema>;
|
|
8
|
+
protected person?: Person;
|
|
9
|
+
protected authenticator: Authenticator;
|
|
10
|
+
protected onSubmitHandler?: OnSubmitHandler;
|
|
11
|
+
constructor(options: ViewControllerOptions & ProfileCardViewControllerOptions);
|
|
12
|
+
private CardVc;
|
|
13
|
+
private FormVc;
|
|
14
|
+
private handleSubmit;
|
|
15
|
+
load(options: LoadOptions): Promise<void>;
|
|
16
|
+
render(): import("@sprucelabs/calendar-utils").SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
|
|
17
|
+
}
|
|
18
|
+
interface LoadOptions {
|
|
19
|
+
person: Person;
|
|
20
|
+
authenticator: Authenticator;
|
|
21
|
+
locale: Locale;
|
|
22
|
+
}
|
|
23
|
+
type OnSubmitHandler = (person?: Person) => Promise<void>;
|
|
24
|
+
export interface ProfileCardViewControllerOptions {
|
|
25
|
+
onSubmit?: OnSubmitHandler;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const calendar_utils_1 = require("@sprucelabs/calendar-utils");
|
|
4
|
+
const heartwood_view_controllers_1 = require("@sprucelabs/heartwood-view-controllers");
|
|
5
|
+
const schema_1 = require("@sprucelabs/schema");
|
|
6
|
+
const spruce_core_schemas_1 = require("@sprucelabs/spruce-core-schemas");
|
|
7
|
+
class ProfileCardViewController extends heartwood_view_controllers_1.AbstractViewController {
|
|
8
|
+
constructor(options) {
|
|
9
|
+
super(options);
|
|
10
|
+
const { onSubmit } = options;
|
|
11
|
+
this.onSubmitHandler = onSubmit;
|
|
12
|
+
this.formVc = this.FormVc();
|
|
13
|
+
this.cardVc = this.CardVc();
|
|
14
|
+
}
|
|
15
|
+
CardVc() {
|
|
16
|
+
return this.Controller('card', {
|
|
17
|
+
id: 'profile',
|
|
18
|
+
header: {
|
|
19
|
+
title: 'Your profile',
|
|
20
|
+
},
|
|
21
|
+
body: {
|
|
22
|
+
isBusy: true,
|
|
23
|
+
sections: [{ form: this.formVc.render() }],
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
FormVc() {
|
|
28
|
+
var _a, _b;
|
|
29
|
+
return this.Controller('form', (0, heartwood_view_controllers_1.buildForm)({
|
|
30
|
+
id: 'profile',
|
|
31
|
+
schema: spruce_core_schemas_1.personSchema,
|
|
32
|
+
shouldShowCancelButton: false,
|
|
33
|
+
onChange: () => {
|
|
34
|
+
this.formVc.enable();
|
|
35
|
+
},
|
|
36
|
+
onSubmit: this.handleSubmit.bind(this),
|
|
37
|
+
isEnabled: false,
|
|
38
|
+
values: {
|
|
39
|
+
firstName: (_a = this.person) === null || _a === void 0 ? void 0 : _a.firstName,
|
|
40
|
+
lastName: (_b = this.person) === null || _b === void 0 ? void 0 : _b.lastName,
|
|
41
|
+
timezone: 'America/Boise',
|
|
42
|
+
},
|
|
43
|
+
submitButtonLabel: 'Save changes',
|
|
44
|
+
sections: [
|
|
45
|
+
{
|
|
46
|
+
title: 'Personal info',
|
|
47
|
+
fields: ['firstName', 'lastName'],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
title: 'Location info',
|
|
51
|
+
fields: ['timezone'],
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
}));
|
|
55
|
+
}
|
|
56
|
+
async handleSubmit() {
|
|
57
|
+
var _a, _b, _c, _d;
|
|
58
|
+
try {
|
|
59
|
+
const client = await this.connectToApi();
|
|
60
|
+
const values = this.formVc.getValues();
|
|
61
|
+
await client.emitAndFlattenResponses('update-person::v2020_12_25', {
|
|
62
|
+
payload: Object.assign({}, values),
|
|
63
|
+
});
|
|
64
|
+
const token = (_a = this.authenticator) === null || _a === void 0 ? void 0 : _a.getSessionToken();
|
|
65
|
+
const current = (_b = this.authenticator) === null || _b === void 0 ? void 0 : _b.getPerson();
|
|
66
|
+
const updatedPerson = Object.assign(Object.assign({}, current), values);
|
|
67
|
+
(_c = this.authenticator) === null || _c === void 0 ? void 0 : _c.setSessionToken(token, updatedPerson);
|
|
68
|
+
await this.alert({
|
|
69
|
+
title: 'Changes saved!',
|
|
70
|
+
message: 'Your profile has been updated. This is so much fun!',
|
|
71
|
+
style: 'success',
|
|
72
|
+
});
|
|
73
|
+
await ((_d = this.onSubmitHandler) === null || _d === void 0 ? void 0 : _d.call(this, updatedPerson));
|
|
74
|
+
}
|
|
75
|
+
catch (err) {
|
|
76
|
+
await this.alert({ message: err.message, style: 'error' });
|
|
77
|
+
}
|
|
78
|
+
this.formVc.disable();
|
|
79
|
+
}
|
|
80
|
+
async load(options) {
|
|
81
|
+
var _a;
|
|
82
|
+
const { person, authenticator, locale } = (0, schema_1.assertOptions)(options !== null && options !== void 0 ? options : {}, [
|
|
83
|
+
'person',
|
|
84
|
+
'authenticator',
|
|
85
|
+
'locale',
|
|
86
|
+
]);
|
|
87
|
+
const sortedSchema = (0, calendar_utils_1.sortTimezoneChoices)(locale, spruce_core_schemas_1.personSchema, 'timezone');
|
|
88
|
+
this.person = person;
|
|
89
|
+
this.authenticator = authenticator;
|
|
90
|
+
this.formVc.updateField('timezone', {
|
|
91
|
+
fieldDefinition: Object.assign({}, sortedSchema.fields.timezone),
|
|
92
|
+
});
|
|
93
|
+
await this.formVc.setValues(Object.assign(Object.assign({}, options.person), { timezone: (_a = person.timezone) !== null && _a !== void 0 ? _a : locale.getZoneName() }));
|
|
94
|
+
this.formVc.disable();
|
|
95
|
+
this.cardVc.setIsBusy(false);
|
|
96
|
+
}
|
|
97
|
+
render() {
|
|
98
|
+
return this.cardVc.render();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
ProfileCardViewController.id = 'profile-card';
|
|
102
|
+
exports.default = ProfileCardViewController;
|
package/build/types-module.d.ts
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { Card, SkillViewControllerLoadOptions, ViewController } from '@sprucelabs/heartwood-view-controllers';
|
|
2
2
|
import RoleSelectCardViewController, { RoleSelectCardViewControllerOptions } from './adding/RoleSelectCard.vc';
|
|
3
|
+
import ProfileCardViewController from './root/ProfileCard.vc';
|
|
3
4
|
export { ProfileRole } from './adding/RoleSelectCard.vc';
|
|
4
5
|
export type RemoteProfileCard = ViewController<Card> & {
|
|
5
6
|
load?: (options: SkillViewControllerLoadOptions) => Promise<void> | void;
|
|
6
7
|
};
|
|
7
8
|
declare module '@sprucelabs/heartwood-view-controllers/build/types/heartwood.types' {
|
|
8
9
|
interface ViewControllerMap {
|
|
9
|
-
|
|
10
|
+
'profile.role-select-card': RoleSelectCardViewController;
|
|
11
|
+
'profile.profile-card': ProfileCardViewController;
|
|
10
12
|
}
|
|
11
13
|
interface ViewControllerOptionsMap {
|
|
12
|
-
|
|
14
|
+
'profile.role-select-card': RoleSelectCardViewControllerOptions;
|
|
15
|
+
'profile.profile-card': ConstructorParameters<typeof ProfileCardViewController>[0];
|
|
13
16
|
}
|
|
14
17
|
}
|
package/package.json
CHANGED
|
@@ -1,40 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
2
|
+
"name": "@sprucelabs/spruce-profile-utils",
|
|
3
|
+
"description": "Useeful utilities",
|
|
4
|
+
"version": "3.0.0",
|
|
5
|
+
"skill": {
|
|
6
|
+
"namespace": "profile"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://github.com/sprucelabsai/spruce-profile-skill",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/sprucelabsai/spruce-profile-skill/issues"
|
|
11
|
+
},
|
|
12
|
+
"main": "./build/index-module.js",
|
|
13
|
+
"types": "./build/index-module.d.ts",
|
|
14
|
+
"module": "./build/esm/index-module.js",
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"files": [
|
|
17
|
+
"build/index-module.js",
|
|
18
|
+
"build/index-module.d.ts",
|
|
19
|
+
"build/esm/index-module.js",
|
|
20
|
+
"build/esm/index-module.d.ts",
|
|
21
|
+
"build/adding/RoleSelectCard.vc.js",
|
|
22
|
+
"build/adding/RoleSelectCard.vc.d.ts",
|
|
23
|
+
"build/esm/adding/RoleSelectCard.vc.js",
|
|
24
|
+
"build/esm/adding/RoleSelectCard.vc.d.ts",
|
|
25
|
+
"build/root/ProfileCard.vc.js",
|
|
26
|
+
"build/root/ProfileCard.vc.d.ts",
|
|
27
|
+
"build/esm/root/ProfileCard.vc.js",
|
|
28
|
+
"build/esm/root/ProfileCard.vc.d.ts",
|
|
29
|
+
"build/profile.types.js",
|
|
30
|
+
"build/profile.types.d.ts",
|
|
31
|
+
"build/esm/profile.types.js",
|
|
32
|
+
"build/esm/profile.types.d.ts",
|
|
33
|
+
"build/types-module.js",
|
|
34
|
+
"build/types-module.d.ts",
|
|
35
|
+
"build/esm/types-module.js",
|
|
36
|
+
"build/esm/types-module.d.ts"
|
|
37
|
+
],
|
|
38
|
+
"keywords": [],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"release": "npm publish"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@sprucelabs/heartwood-view-controllers": "latest"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"yarn": "1.x"
|
|
47
|
+
}
|
|
40
48
|
}
|