@sprucelabs/heartwood-view-controllers 111.1.38 → 111.1.40
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/heartwoodViewControllers/v2021_02_11/dropdownButton.schema.js +1 -1
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButton.schema.js +3 -3
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButtonDropdown.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButtonDropdown.schema.js +35 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema.js +121 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/permissionContractReference.schema.js +1 -1
- package/build/.spruce/schemas/schemas.types.d.ts +1546 -490
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dropdownButton.schema.js +1 -1
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButton.schema.js +3 -3
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButtonDropdown.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButtonDropdown.schema.js +30 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema.js +116 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/permissionContractReference.schema.js +1 -1
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1546 -490
- package/build/esm/index.d.ts +2 -0
- package/build/esm/index.js +2 -0
- package/build/esm/schemas/v2021_02_11/button.builder.d.ts +1 -0
- package/build/esm/schemas/v2021_02_11/cards/card.builder.d.ts +3 -0
- package/build/esm/schemas/v2021_02_11/cards/cardBody.builder.d.ts +2 -0
- package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.d.ts +2 -0
- package/build/esm/schemas/v2021_02_11/dialog.builder.d.ts +3 -0
- package/build/esm/schemas/v2021_02_11/dropdown.builder.d.ts +1 -0
- package/build/esm/schemas/v2021_02_11/dropdown.builder.js +2 -11
- package/build/esm/schemas/v2021_02_11/dropdownButton.builder.d.ts +14 -0
- package/build/esm/schemas/v2021_02_11/dropdownButton.builder.js +13 -0
- package/build/esm/schemas/v2021_02_11/layout.builder.d.ts +3 -0
- package/build/esm/schemas/v2021_02_11/map.builder.d.ts +1 -0
- package/build/esm/schemas/v2021_02_11/navigation.builder.d.ts +30 -12
- package/build/esm/schemas/v2021_02_11/navigation.builder.js +3 -58
- package/build/esm/schemas/v2021_02_11/navigationButton.builder.d.ts +511 -0
- package/build/esm/schemas/v2021_02_11/navigationButton.builder.js +56 -0
- package/build/esm/schemas/v2021_02_11/navigationDropdownButton.builder.d.ts +31 -0
- package/build/esm/schemas/v2021_02_11/navigationDropdownButton.builder.js +13 -0
- package/build/esm/schemas/v2021_02_11/permissionContractReference.builder.d.ts +13 -0
- package/build/esm/schemas/v2021_02_11/permissionContractReference.builder.js +13 -0
- package/build/esm/schemas/v2021_02_11/skillView.builder.d.ts +3 -0
- package/build/esm/schemas/v2021_02_11/toolBelt.builder.d.ts +3 -0
- package/build/esm/viewControllers/SwipeCard.vc.d.ts +1 -1
- package/build/esm/viewControllers/SwipeCard.vc.js +2 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +5 -1
- package/build/schemas/v2021_02_11/button.builder.d.ts +1 -0
- package/build/schemas/v2021_02_11/cards/card.builder.d.ts +3 -0
- package/build/schemas/v2021_02_11/cards/cardBody.builder.d.ts +2 -0
- package/build/schemas/v2021_02_11/cards/cardSection.builder.d.ts +2 -0
- package/build/schemas/v2021_02_11/dialog.builder.d.ts +3 -0
- package/build/schemas/v2021_02_11/dropdown.builder.d.ts +1 -0
- package/build/schemas/v2021_02_11/dropdown.builder.js +5 -14
- package/build/schemas/v2021_02_11/dropdownButton.builder.d.ts +14 -0
- package/build/schemas/v2021_02_11/dropdownButton.builder.js +18 -0
- package/build/schemas/v2021_02_11/layout.builder.d.ts +3 -0
- package/build/schemas/v2021_02_11/map.builder.d.ts +1 -0
- package/build/schemas/v2021_02_11/navigation.builder.d.ts +30 -12
- package/build/schemas/v2021_02_11/navigation.builder.js +2 -67
- package/build/schemas/v2021_02_11/navigationButton.builder.d.ts +511 -0
- package/build/schemas/v2021_02_11/navigationButton.builder.js +74 -0
- package/build/schemas/v2021_02_11/navigationDropdownButton.builder.d.ts +31 -0
- package/build/schemas/v2021_02_11/navigationDropdownButton.builder.js +21 -0
- package/build/schemas/v2021_02_11/permissionContractReference.builder.d.ts +13 -0
- package/build/schemas/v2021_02_11/permissionContractReference.builder.js +15 -0
- package/build/schemas/v2021_02_11/skillView.builder.d.ts +3 -0
- package/build/schemas/v2021_02_11/toolBelt.builder.d.ts +3 -0
- package/build/viewControllers/SwipeCard.vc.d.ts +1 -1
- package/build/viewControllers/SwipeCard.vc.js +2 -0
- package/package.json +1 -1
package/build/esm/index.d.ts
CHANGED
|
@@ -193,4 +193,6 @@ export { default as progressDetailsSchema } from './.spruce/schemas/heartwoodVie
|
|
|
193
193
|
export { default as barChartSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChart.schema';
|
|
194
194
|
export { default as barChartDataPointSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataPoint.schema';
|
|
195
195
|
export { default as barChartDataSetSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataSet.schema';
|
|
196
|
+
export { default as navigationButtonDropdownSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButtonDropdown.schema';
|
|
197
|
+
export { default as navigationDropdownButtonSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema';
|
|
196
198
|
export * from './toolBelts/ToolBeltStateMachine';
|
package/build/esm/index.js
CHANGED
|
@@ -192,4 +192,6 @@ export { default as progressDetailsSchema } from './.spruce/schemas/heartwoodVie
|
|
|
192
192
|
export { default as barChartSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChart.schema.js';
|
|
193
193
|
export { default as barChartDataPointSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataPoint.schema.js';
|
|
194
194
|
export { default as barChartDataSetSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataSet.schema.js';
|
|
195
|
+
export { default as navigationButtonDropdownSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButtonDropdown.schema.js';
|
|
196
|
+
export { default as navigationDropdownButtonSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationDropdownButton.schema.js';
|
|
195
197
|
export * from './toolBelts/ToolBeltStateMachine.js';
|
|
@@ -6993,6 +6993,7 @@ declare const _default: {
|
|
|
6993
6993
|
options: {
|
|
6994
6994
|
schema: {
|
|
6995
6995
|
id: string;
|
|
6996
|
+
name: string;
|
|
6996
6997
|
fields: {
|
|
6997
6998
|
onClick: {
|
|
6998
6999
|
type: "raw";
|
|
@@ -21323,6 +21324,7 @@ declare const _default: {
|
|
|
21323
21324
|
options: {
|
|
21324
21325
|
schema: {
|
|
21325
21326
|
id: string;
|
|
21327
|
+
name: string;
|
|
21326
21328
|
fields: {
|
|
21327
21329
|
onClick: {
|
|
21328
21330
|
type: "raw";
|
|
@@ -21399,6 +21401,7 @@ declare const _default: {
|
|
|
21399
21401
|
options: {
|
|
21400
21402
|
schema: {
|
|
21401
21403
|
id: string;
|
|
21404
|
+
name: string;
|
|
21402
21405
|
fields: {
|
|
21403
21406
|
onClick: {
|
|
21404
21407
|
type: "raw";
|
|
@@ -14288,6 +14288,7 @@ declare const _default: {
|
|
|
14288
14288
|
options: {
|
|
14289
14289
|
schema: {
|
|
14290
14290
|
id: string;
|
|
14291
|
+
name: string;
|
|
14291
14292
|
fields: {
|
|
14292
14293
|
onClick: {
|
|
14293
14294
|
type: "raw";
|
|
@@ -14364,6 +14365,7 @@ declare const _default: {
|
|
|
14364
14365
|
options: {
|
|
14365
14366
|
schema: {
|
|
14366
14367
|
id: string;
|
|
14368
|
+
name: string;
|
|
14367
14369
|
fields: {
|
|
14368
14370
|
onClick: {
|
|
14369
14371
|
type: "raw";
|
|
@@ -14238,6 +14238,7 @@ declare const _default: {
|
|
|
14238
14238
|
options: {
|
|
14239
14239
|
schema: {
|
|
14240
14240
|
id: string;
|
|
14241
|
+
name: string;
|
|
14241
14242
|
fields: {
|
|
14242
14243
|
onClick: {
|
|
14243
14244
|
type: "raw";
|
|
@@ -14314,6 +14315,7 @@ declare const _default: {
|
|
|
14314
14315
|
options: {
|
|
14315
14316
|
schema: {
|
|
14316
14317
|
id: string;
|
|
14318
|
+
name: string;
|
|
14317
14319
|
fields: {
|
|
14318
14320
|
onClick: {
|
|
14319
14321
|
type: "raw";
|
|
@@ -7015,6 +7015,7 @@ declare const _default: {
|
|
|
7015
7015
|
options: {
|
|
7016
7016
|
schema: {
|
|
7017
7017
|
id: string;
|
|
7018
|
+
name: string;
|
|
7018
7019
|
fields: {
|
|
7019
7020
|
onClick: {
|
|
7020
7021
|
type: "raw";
|
|
@@ -21345,6 +21346,7 @@ declare const _default: {
|
|
|
21345
21346
|
options: {
|
|
21346
21347
|
schema: {
|
|
21347
21348
|
id: string;
|
|
21349
|
+
name: string;
|
|
21348
21350
|
fields: {
|
|
21349
21351
|
onClick: {
|
|
21350
21352
|
type: "raw";
|
|
@@ -21421,6 +21423,7 @@ declare const _default: {
|
|
|
21421
21423
|
options: {
|
|
21422
21424
|
schema: {
|
|
21423
21425
|
id: string;
|
|
21426
|
+
name: string;
|
|
21424
21427
|
fields: {
|
|
21425
21428
|
onClick: {
|
|
21426
21429
|
type: "raw";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { buildSchema } from '@sprucelabs/schema';
|
|
2
|
-
import
|
|
2
|
+
import dropdownButtonBuilder from './dropdownButton.builder.js';
|
|
3
3
|
export default buildSchema({
|
|
4
4
|
id: 'dropdown',
|
|
5
5
|
name: 'Dropdown',
|
|
@@ -33,16 +33,7 @@ export default buildSchema({
|
|
|
33
33
|
type: 'schema',
|
|
34
34
|
isArray: true,
|
|
35
35
|
options: {
|
|
36
|
-
schema:
|
|
37
|
-
id: 'dropdownButton',
|
|
38
|
-
fields: Object.assign(Object.assign({}, buttonFields), { onClick: {
|
|
39
|
-
type: 'raw',
|
|
40
|
-
label: 'Click handler',
|
|
41
|
-
options: {
|
|
42
|
-
valueType: '(dropdown: HeartwoodTypes.DropdownController ) => Promise<void> | void',
|
|
43
|
-
},
|
|
44
|
-
} }),
|
|
45
|
-
},
|
|
36
|
+
schema: dropdownButtonBuilder,
|
|
46
37
|
},
|
|
47
38
|
},
|
|
48
39
|
card: {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { buildSchema } from '@sprucelabs/schema';
|
|
2
|
+
import { buttonFields } from '../../constants.js';
|
|
3
|
+
export default buildSchema({
|
|
4
|
+
id: 'dropdownButton',
|
|
5
|
+
name: 'Dropdown button',
|
|
6
|
+
fields: Object.assign(Object.assign({}, buttonFields), { onClick: {
|
|
7
|
+
type: 'raw',
|
|
8
|
+
label: 'Click handler',
|
|
9
|
+
options: {
|
|
10
|
+
valueType: '(dropdown: HeartwoodTypes.DropdownController ) => Promise<void> | void',
|
|
11
|
+
},
|
|
12
|
+
} }),
|
|
13
|
+
});
|
|
@@ -7004,6 +7004,7 @@ declare const _default: {
|
|
|
7004
7004
|
options: {
|
|
7005
7005
|
schema: {
|
|
7006
7006
|
id: string;
|
|
7007
|
+
name: string;
|
|
7007
7008
|
fields: {
|
|
7008
7009
|
onClick: {
|
|
7009
7010
|
type: "raw";
|
|
@@ -21334,6 +21335,7 @@ declare const _default: {
|
|
|
21334
21335
|
options: {
|
|
21335
21336
|
schema: {
|
|
21336
21337
|
id: string;
|
|
21338
|
+
name: string;
|
|
21337
21339
|
fields: {
|
|
21338
21340
|
onClick: {
|
|
21339
21341
|
type: "raw";
|
|
@@ -21410,6 +21412,7 @@ declare const _default: {
|
|
|
21410
21412
|
options: {
|
|
21411
21413
|
schema: {
|
|
21412
21414
|
id: string;
|
|
21415
|
+
name: string;
|
|
21413
21416
|
fields: {
|
|
21414
21417
|
onClick: {
|
|
21415
21418
|
type: "raw";
|
|
@@ -27,6 +27,7 @@ declare const _default: {
|
|
|
27
27
|
options: {
|
|
28
28
|
schema: {
|
|
29
29
|
id: string;
|
|
30
|
+
name: string;
|
|
30
31
|
fields: {
|
|
31
32
|
dropdown: {
|
|
32
33
|
type: "schema";
|
|
@@ -34,26 +35,32 @@ declare const _default: {
|
|
|
34
35
|
options: {
|
|
35
36
|
schema: {
|
|
36
37
|
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
description: string;
|
|
39
38
|
fields: {
|
|
40
|
-
position: {
|
|
41
|
-
type: "select";
|
|
42
|
-
label: string;
|
|
43
|
-
options: {
|
|
44
|
-
choices: {
|
|
45
|
-
label: string;
|
|
46
|
-
value: string;
|
|
47
|
-
}[];
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
39
|
items: {
|
|
51
40
|
type: "schema";
|
|
52
41
|
isArray: true;
|
|
53
42
|
options: {
|
|
54
43
|
schema: {
|
|
55
44
|
id: string;
|
|
45
|
+
name: string;
|
|
56
46
|
fields: {
|
|
47
|
+
viewPermissionContract: {
|
|
48
|
+
type: "schema";
|
|
49
|
+
options: {
|
|
50
|
+
schema: {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
fields: {
|
|
54
|
+
id: {
|
|
55
|
+
type: "raw";
|
|
56
|
+
options: {
|
|
57
|
+
valueType: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
57
64
|
onClick: {
|
|
58
65
|
type: "raw";
|
|
59
66
|
label: string;
|
|
@@ -65,6 +72,16 @@ declare const _default: {
|
|
|
65
72
|
};
|
|
66
73
|
};
|
|
67
74
|
};
|
|
75
|
+
position: {
|
|
76
|
+
type: "select";
|
|
77
|
+
label: string;
|
|
78
|
+
options: {
|
|
79
|
+
choices: {
|
|
80
|
+
label: string;
|
|
81
|
+
value: string;
|
|
82
|
+
}[];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
68
85
|
card: {
|
|
69
86
|
type: "raw";
|
|
70
87
|
options: {
|
|
@@ -480,6 +497,7 @@ declare const _default: {
|
|
|
480
497
|
options: {
|
|
481
498
|
schema: {
|
|
482
499
|
id: string;
|
|
500
|
+
name: string;
|
|
483
501
|
fields: {
|
|
484
502
|
id: {
|
|
485
503
|
type: "raw";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { buildSchema
|
|
2
|
-
import
|
|
3
|
-
import dropdownBuilder from './dropdown.builder.js';
|
|
1
|
+
import { buildSchema } from '@sprucelabs/schema';
|
|
2
|
+
import navigationButtonBuilder from './navigationButton.builder.js';
|
|
4
3
|
export default buildSchema({
|
|
5
4
|
id: 'navigation',
|
|
6
5
|
name: 'Navigation',
|
|
@@ -32,61 +31,7 @@ export default buildSchema({
|
|
|
32
31
|
type: 'schema',
|
|
33
32
|
isArray: true,
|
|
34
33
|
options: {
|
|
35
|
-
schema:
|
|
36
|
-
id: 'navigationButton',
|
|
37
|
-
fields: Object.assign(Object.assign({ lineIcon: Object.assign(Object.assign({}, buttonFields.lineIcon), { isRequired: true }), id: {
|
|
38
|
-
type: 'id',
|
|
39
|
-
isRequired: true,
|
|
40
|
-
}, viewPermissionContract: {
|
|
41
|
-
type: 'schema',
|
|
42
|
-
options: {
|
|
43
|
-
schema: buildSchema({
|
|
44
|
-
id: 'permissionContractReference',
|
|
45
|
-
fields: {
|
|
46
|
-
id: {
|
|
47
|
-
type: 'raw',
|
|
48
|
-
options: {
|
|
49
|
-
valueType: 'MercuryTypes.PermissionContractId',
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
}),
|
|
54
|
-
},
|
|
55
|
-
}, destination: {
|
|
56
|
-
type: 'schema',
|
|
57
|
-
label: 'Destination skill view controller',
|
|
58
|
-
options: {
|
|
59
|
-
schema: buildSchema({
|
|
60
|
-
id: 'destinationSkillViewController',
|
|
61
|
-
fields: {
|
|
62
|
-
id: {
|
|
63
|
-
type: 'raw',
|
|
64
|
-
isRequired: true,
|
|
65
|
-
options: {
|
|
66
|
-
valueType: 'HeartwoodTypes.SkillViewControllerId',
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
args: {
|
|
70
|
-
type: 'raw',
|
|
71
|
-
options: {
|
|
72
|
-
valueType: 'Record<string, any>',
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
}),
|
|
77
|
-
},
|
|
78
|
-
} }, pickFields(buttonFields, [
|
|
79
|
-
'isEnabled',
|
|
80
|
-
'label',
|
|
81
|
-
'onClick',
|
|
82
|
-
])), { dropdown: {
|
|
83
|
-
type: 'schema',
|
|
84
|
-
label: 'Dropdown',
|
|
85
|
-
options: {
|
|
86
|
-
schema: dropdownBuilder,
|
|
87
|
-
},
|
|
88
|
-
} }),
|
|
89
|
-
}),
|
|
34
|
+
schema: navigationButtonBuilder,
|
|
90
35
|
},
|
|
91
36
|
},
|
|
92
37
|
},
|