@sprucelabs/heartwood-view-controllers 111.1.66 → 112.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/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dialog.schema.js +9 -1
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lockScreen.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lockScreen.schema.js +111 -0
- package/build/.spruce/schemas/schemas.types.d.ts +466 -294
- package/build/controllerMap.d.ts +2 -0
- package/build/controllerMap.js +2 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dialog.schema.js +9 -1
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lockScreen.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lockScreen.schema.js +106 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +466 -294
- package/build/esm/controllerMap.d.ts +2 -0
- package/build/esm/controllerMap.js +2 -0
- package/build/esm/index.d.ts +2 -0
- package/build/esm/index.js +2 -0
- package/build/esm/schemas/v2021_02_11/autocompleteInput.builder.d.ts +7 -7
- package/build/esm/schemas/v2021_02_11/dialog.builder.d.ts +9 -0
- package/build/esm/schemas/v2021_02_11/dialog.builder.js +8 -0
- package/build/esm/schemas/v2021_02_11/lockScreen.builder.d.ts +29728 -0
- package/build/esm/schemas/v2021_02_11/lockScreen.builder.js +19 -0
- package/build/esm/skillViewControllers/Abstract.svc.d.ts +7 -7
- package/build/esm/skillViewControllers/Abstract.svc.js +9 -0
- package/build/esm/skillViewControllers/LockScreen.svc.d.ts +13 -0
- package/build/esm/skillViewControllers/LockScreen.svc.js +33 -0
- package/build/esm/tests/AbstractViewControllerTest.d.ts +2 -2
- package/build/esm/tests/utilities/vcAssert.d.ts +1 -1
- package/build/esm/tests/utilities/vcAssert.js +1 -1
- package/build/esm/tests/utilities/vcAssert.utility.d.ts +1 -1
- package/build/esm/types/heartwood.types.d.ts +8 -1
- package/build/esm/utilities/removeUniversalViewOptions.d.ts +1 -1
- package/build/esm/utilities/removeUniversalViewOptions.js +1 -0
- package/build/esm/viewControllers/Confirm.vc.d.ts +7 -8
- package/build/esm/viewControllers/Confirm.vc.js +4 -1
- package/build/esm/viewControllers/Dialog.vc.d.ts +3 -5
- package/build/esm/viewControllers/ViewControllerFactory.d.ts +4 -1
- package/build/esm/viewControllers/ViewControllerFactory.js +8 -8
- package/build/index.d.ts +2 -0
- package/build/index.js +8 -4
- package/build/schemas/v2021_02_11/autocompleteInput.builder.d.ts +7 -7
- package/build/schemas/v2021_02_11/dialog.builder.d.ts +9 -0
- package/build/schemas/v2021_02_11/dialog.builder.js +9 -0
- package/build/schemas/v2021_02_11/lockScreen.builder.d.ts +29728 -0
- package/build/schemas/v2021_02_11/lockScreen.builder.js +28 -0
- package/build/skillViewControllers/Abstract.svc.d.ts +7 -7
- package/build/skillViewControllers/Abstract.svc.js +9 -0
- package/build/skillViewControllers/LockScreen.svc.d.ts +13 -0
- package/build/skillViewControllers/LockScreen.svc.js +26 -0
- package/build/tests/AbstractViewControllerTest.d.ts +2 -2
- package/build/tests/utilities/vcAssert.d.ts +1 -1
- package/build/tests/utilities/vcAssert.js +1 -1
- package/build/tests/utilities/vcAssert.utility.d.ts +1 -1
- package/build/types/heartwood.types.d.ts +8 -1
- package/build/utilities/removeUniversalViewOptions.d.ts +1 -1
- package/build/utilities/removeUniversalViewOptions.js +1 -0
- package/build/viewControllers/Confirm.vc.d.ts +7 -8
- package/build/viewControllers/Confirm.vc.js +4 -1
- package/build/viewControllers/Dialog.vc.d.ts +3 -5
- package/build/viewControllers/ViewControllerFactory.d.ts +4 -1
- package/build/viewControllers/ViewControllerFactory.js +8 -7
- package/package.json +1 -1
package/build/controllerMap.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PagerViewController } from '.';
|
|
2
|
+
import LockScreenSkillViewController from './skillViewControllers/LockScreen.svc';
|
|
2
3
|
import ActiveRecordCardViewController from './viewControllers/activeRecord/ActiveRecordCard.vc';
|
|
3
4
|
import ActiveRecordListViewController from './viewControllers/activeRecord/ActiveRecordList.vc';
|
|
4
5
|
import BarChartViewController from './viewControllers/BarChart.vc';
|
|
@@ -95,4 +96,5 @@ export declare const CORE_CONTROLLER_MAP: {
|
|
|
95
96
|
'polar-area': typeof PolarAreaViewController;
|
|
96
97
|
pager: typeof PagerViewController;
|
|
97
98
|
'bar-chart': typeof BarChartViewController;
|
|
99
|
+
'lock-screen': typeof LockScreenSkillViewController;
|
|
98
100
|
};
|
package/build/controllerMap.js
CHANGED
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.CORE_CONTROLLER_MAP = void 0;
|
|
7
7
|
const _1 = require(".");
|
|
8
|
+
const LockScreen_svc_1 = __importDefault(require("./skillViewControllers/LockScreen.svc"));
|
|
8
9
|
const ActiveRecordCard_vc_1 = __importDefault(require("./viewControllers/activeRecord/ActiveRecordCard.vc"));
|
|
9
10
|
const ActiveRecordList_vc_1 = __importDefault(require("./viewControllers/activeRecord/ActiveRecordList.vc"));
|
|
10
11
|
const BarChart_vc_1 = __importDefault(require("./viewControllers/BarChart.vc"));
|
|
@@ -101,4 +102,5 @@ exports.CORE_CONTROLLER_MAP = {
|
|
|
101
102
|
'polar-area': PolarAreaViewController_vc_1.default,
|
|
102
103
|
pager: _1.PagerViewController,
|
|
103
104
|
'bar-chart': BarChart_vc_1.default,
|
|
105
|
+
'lock-screen': LockScreen_svc_1.default,
|
|
104
106
|
};
|
|
@@ -77,10 +77,18 @@ const dialogSchema = {
|
|
|
77
77
|
type: 'raw',
|
|
78
78
|
options: { valueType: `HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card>`, }
|
|
79
79
|
},
|
|
80
|
-
/** Close callback. */
|
|
80
|
+
/** Close callback. Called when the dialog is closed */
|
|
81
81
|
'onClose': {
|
|
82
82
|
label: 'Close callback',
|
|
83
83
|
type: 'raw',
|
|
84
|
+
hint: 'Called when the dialog is closed',
|
|
85
|
+
options: { valueType: `() => Promise<void | boolean> | void | boolean`, }
|
|
86
|
+
},
|
|
87
|
+
/** Close handler. Called to actually close the dialog */
|
|
88
|
+
'closeHandler': {
|
|
89
|
+
label: 'Close handler',
|
|
90
|
+
type: 'raw',
|
|
91
|
+
hint: 'Called to actually close the dialog',
|
|
84
92
|
options: { valueType: `() => Promise<void | boolean> | void | boolean`, }
|
|
85
93
|
},
|
|
86
94
|
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import layoutSchema_v2021_02_11 from './layout.schema.js';
|
|
3
|
+
import cardSchema_v2021_02_11 from './card.schema.js';
|
|
4
|
+
const lockScreenSchema = {
|
|
5
|
+
id: 'lockScreen',
|
|
6
|
+
version: 'v2021_02_11',
|
|
7
|
+
namespace: 'HeartwoodViewControllers',
|
|
8
|
+
name: 'lock screen',
|
|
9
|
+
moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
|
|
10
|
+
fields: {
|
|
11
|
+
/** . */
|
|
12
|
+
'id': {
|
|
13
|
+
type: 'id',
|
|
14
|
+
isPrivate: true,
|
|
15
|
+
options: undefined
|
|
16
|
+
},
|
|
17
|
+
/** Controller. */
|
|
18
|
+
'controller': {
|
|
19
|
+
label: 'Controller',
|
|
20
|
+
type: 'raw',
|
|
21
|
+
options: { valueType: `HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.LockScreen>`, }
|
|
22
|
+
},
|
|
23
|
+
/** Center vertically. */
|
|
24
|
+
'shouldCenterVertically': {
|
|
25
|
+
label: 'Center vertically',
|
|
26
|
+
type: 'boolean',
|
|
27
|
+
defaultValue: false,
|
|
28
|
+
options: undefined
|
|
29
|
+
},
|
|
30
|
+
/** Full screen. */
|
|
31
|
+
'isFullScreen': {
|
|
32
|
+
label: 'Full screen',
|
|
33
|
+
type: 'boolean',
|
|
34
|
+
options: undefined
|
|
35
|
+
},
|
|
36
|
+
/** . */
|
|
37
|
+
'title': {
|
|
38
|
+
type: 'text',
|
|
39
|
+
options: undefined
|
|
40
|
+
},
|
|
41
|
+
/** . */
|
|
42
|
+
'subtitle': {
|
|
43
|
+
type: 'text',
|
|
44
|
+
options: undefined
|
|
45
|
+
},
|
|
46
|
+
/** . */
|
|
47
|
+
'description': {
|
|
48
|
+
type: 'text',
|
|
49
|
+
options: undefined
|
|
50
|
+
},
|
|
51
|
+
/** Layout. */
|
|
52
|
+
'layouts': {
|
|
53
|
+
label: 'Layout',
|
|
54
|
+
type: 'schema',
|
|
55
|
+
isArray: true,
|
|
56
|
+
options: { schema: layoutSchema_v2021_02_11, }
|
|
57
|
+
},
|
|
58
|
+
/** . */
|
|
59
|
+
'leftCards': {
|
|
60
|
+
type: 'schema',
|
|
61
|
+
isArray: true,
|
|
62
|
+
minArrayLength: 0,
|
|
63
|
+
options: { schema: cardSchema_v2021_02_11, }
|
|
64
|
+
},
|
|
65
|
+
/** . */
|
|
66
|
+
'rightCards': {
|
|
67
|
+
type: 'schema',
|
|
68
|
+
isArray: true,
|
|
69
|
+
minArrayLength: 0,
|
|
70
|
+
options: { schema: cardSchema_v2021_02_11, }
|
|
71
|
+
},
|
|
72
|
+
/** . */
|
|
73
|
+
'topCards': {
|
|
74
|
+
type: 'schema',
|
|
75
|
+
isArray: true,
|
|
76
|
+
minArrayLength: 0,
|
|
77
|
+
options: { schema: cardSchema_v2021_02_11, }
|
|
78
|
+
},
|
|
79
|
+
/** . */
|
|
80
|
+
'cards': {
|
|
81
|
+
type: 'schema',
|
|
82
|
+
isArray: true,
|
|
83
|
+
minArrayLength: 0,
|
|
84
|
+
options: { schema: cardSchema_v2021_02_11, }
|
|
85
|
+
},
|
|
86
|
+
/** . */
|
|
87
|
+
'bottomCards': {
|
|
88
|
+
type: 'schema',
|
|
89
|
+
isArray: true,
|
|
90
|
+
options: { schema: cardSchema_v2021_02_11, }
|
|
91
|
+
},
|
|
92
|
+
/** . */
|
|
93
|
+
'layout': {
|
|
94
|
+
type: 'select',
|
|
95
|
+
options: { choices: [{ "value": "big-left", "label": "Big left" }, { "value": "big-right", "label": "Big right" }, { "value": "big-top", "label": "Big top" }, { "value": "big-top-left", "label": "Big top left" }, { "value": "grid", "label": "Grid" }], }
|
|
96
|
+
},
|
|
97
|
+
/** Card controller. */
|
|
98
|
+
'skillViewController': {
|
|
99
|
+
label: 'Card controller',
|
|
100
|
+
type: 'raw',
|
|
101
|
+
options: { valueType: `HeartwoodTypes.SkillViewController`, }
|
|
102
|
+
},
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
SchemaRegistry.getInstance().trackSchema(lockScreenSchema);
|
|
106
|
+
export default lockScreenSchema;
|