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