@sprucelabs/heartwood-view-controllers 125.0.26 → 125.0.27

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 (45) hide show
  1. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardSection.schema.js +6 -0
  2. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/listCell.schema.js +6 -0
  3. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/video.schema.d.ts +3 -0
  4. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/video.schema.js +90 -0
  5. package/build/.spruce/schemas/schemas.types.d.ts +708 -566
  6. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardSection.schema.js +6 -0
  7. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/listCell.schema.js +6 -0
  8. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/video.schema.d.ts +3 -0
  9. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/video.schema.js +88 -0
  10. package/build/esm/.spruce/schemas/schemas.types.d.ts +708 -566
  11. package/build/esm/index.d.ts +1 -0
  12. package/build/esm/index.js +1 -0
  13. package/build/esm/schemas/v2021_02_11/cards/card.builder.d.ts +345 -0
  14. package/build/esm/schemas/v2021_02_11/cards/cardBody.builder.d.ts +276 -0
  15. package/build/esm/schemas/v2021_02_11/cards/cardHeader.builder.d.ts +69 -0
  16. package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.d.ts +276 -0
  17. package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.js +7 -0
  18. package/build/esm/schemas/v2021_02_11/dialog.builder.d.ts +345 -0
  19. package/build/esm/schemas/v2021_02_11/formSection.builder.d.ts +69 -0
  20. package/build/esm/schemas/v2021_02_11/forms/bigForm.builder.d.ts +69 -0
  21. package/build/esm/schemas/v2021_02_11/forms/form.builder.d.ts +69 -0
  22. package/build/esm/schemas/v2021_02_11/list.builder.d.ts +69 -0
  23. package/build/esm/schemas/v2021_02_11/listCell.builder.d.ts +69 -0
  24. package/build/esm/schemas/v2021_02_11/listCell.builder.js +7 -0
  25. package/build/esm/schemas/v2021_02_11/toolBelt.builder.d.ts +345 -0
  26. package/build/esm/schemas/v2021_02_11/video.builder.d.ts +65 -0
  27. package/build/esm/schemas/v2021_02_11/video.builder.js +66 -0
  28. package/build/index.d.ts +1 -0
  29. package/build/index.js +6 -4
  30. package/build/schemas/v2021_02_11/cards/card.builder.d.ts +345 -0
  31. package/build/schemas/v2021_02_11/cards/cardBody.builder.d.ts +276 -0
  32. package/build/schemas/v2021_02_11/cards/cardHeader.builder.d.ts +69 -0
  33. package/build/schemas/v2021_02_11/cards/cardSection.builder.d.ts +276 -0
  34. package/build/schemas/v2021_02_11/cards/cardSection.builder.js +7 -0
  35. package/build/schemas/v2021_02_11/dialog.builder.d.ts +345 -0
  36. package/build/schemas/v2021_02_11/formSection.builder.d.ts +69 -0
  37. package/build/schemas/v2021_02_11/forms/bigForm.builder.d.ts +69 -0
  38. package/build/schemas/v2021_02_11/forms/form.builder.d.ts +69 -0
  39. package/build/schemas/v2021_02_11/list.builder.d.ts +69 -0
  40. package/build/schemas/v2021_02_11/listCell.builder.d.ts +69 -0
  41. package/build/schemas/v2021_02_11/listCell.builder.js +7 -0
  42. package/build/schemas/v2021_02_11/toolBelt.builder.d.ts +345 -0
  43. package/build/schemas/v2021_02_11/video.builder.d.ts +65 -0
  44. package/build/schemas/v2021_02_11/video.builder.js +68 -0
  45. package/package.json +1 -1
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const schema_1 = require("@sprucelabs/schema");
7
7
  const text_schema_1 = __importDefault(require("./text.schema"));
8
+ const video_schema_1 = __importDefault(require("./video.schema"));
8
9
  const form_schema_1 = __importDefault(require("./form.schema"));
9
10
  const talkingSprucebot_schema_1 = __importDefault(require("./talkingSprucebot.schema"));
10
11
  const bigForm_schema_1 = __importDefault(require("./bigForm.schema"));
@@ -82,6 +83,11 @@ const cardSectionSchema = {
82
83
  type: 'text',
83
84
  options: undefined
84
85
  },
86
+ /** . */
87
+ 'video': {
88
+ type: 'schema',
89
+ options: { schema: video_schema_1.default, }
90
+ },
85
91
  /** Avatar. */
86
92
  'avatar': {
87
93
  label: 'Avatar',
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const schema_1 = require("@sprucelabs/schema");
7
7
  const text_schema_1 = __importDefault(require("./text.schema"));
8
+ const video_schema_1 = __importDefault(require("./video.schema"));
8
9
  const listCellButton_schema_1 = __importDefault(require("./listCellButton.schema"));
9
10
  const calendar_schema_1 = __importDefault(require("./calendar.schema"));
10
11
  const buttonBar_schema_1 = __importDefault(require("./buttonBar.schema"));
@@ -57,6 +58,11 @@ const listCellSchema = {
57
58
  type: 'text',
58
59
  options: undefined
59
60
  },
61
+ /** . */
62
+ 'video': {
63
+ type: 'schema',
64
+ options: { schema: video_schema_1.default, }
65
+ },
60
66
  /** Avatars. */
61
67
  'avatars': {
62
68
  label: 'Avatars',
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const videoSchema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.VideoSchema;
3
+ export default videoSchema;
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema_1 = require("@sprucelabs/schema");
4
+ const videoSchema = {
5
+ id: 'video',
6
+ version: 'v2021_02_11',
7
+ namespace: 'HeartwoodViewControllers',
8
+ name: 'Video',
9
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
10
+ fields: {
11
+ /** Source URL. */
12
+ 'src': {
13
+ label: 'Source URL',
14
+ type: 'text',
15
+ isRequired: true,
16
+ options: undefined
17
+ },
18
+ /** MIME type. e.g. video/mp4, video/webm */
19
+ 'type': {
20
+ label: 'MIME type',
21
+ type: 'text',
22
+ hint: 'e.g. video/mp4, video/webm',
23
+ options: undefined
24
+ },
25
+ /** Poster URL. */
26
+ 'posterUrl': {
27
+ label: 'Poster URL',
28
+ type: 'text',
29
+ options: undefined
30
+ },
31
+ /** Preload. */
32
+ 'preload': {
33
+ label: 'Preload',
34
+ type: 'select',
35
+ options: { choices: [{ "value": "none", "label": "None" }, { "value": "metadata", "label": "Metadata" }, { "value": "auto", "label": "Auto" }], }
36
+ },
37
+ /** Autoplay. */
38
+ 'shouldAutoPlay': {
39
+ label: 'Autoplay',
40
+ type: 'boolean',
41
+ options: undefined
42
+ },
43
+ /** Muted. */
44
+ 'isMuted': {
45
+ label: 'Muted',
46
+ type: 'boolean',
47
+ options: undefined
48
+ },
49
+ /** Loop video. */
50
+ 'shouldLoop': {
51
+ label: 'Loop video',
52
+ type: 'boolean',
53
+ options: undefined
54
+ },
55
+ /** Restart on buffer (non-standard). */
56
+ 'shouldRestartOnBuffer': {
57
+ label: 'Restart on buffer (non-standard)',
58
+ type: 'boolean',
59
+ options: undefined
60
+ },
61
+ /** Show controls. */
62
+ 'hasControls': {
63
+ label: 'Show controls',
64
+ type: 'boolean',
65
+ defaultValue: true,
66
+ options: undefined
67
+ },
68
+ /** Play inline. Use inline playback on mobile (playsInline) */
69
+ 'shouldPlayInline': {
70
+ label: 'Play inline',
71
+ type: 'boolean',
72
+ hint: 'Use inline playback on mobile (playsInline)',
73
+ options: undefined
74
+ },
75
+ /** Start time (s). */
76
+ 'startTime': {
77
+ label: 'Start time (s)',
78
+ type: 'number',
79
+ options: undefined
80
+ },
81
+ /** End time (s). */
82
+ 'endTime': {
83
+ label: 'End time (s)',
84
+ type: 'number',
85
+ options: undefined
86
+ },
87
+ }
88
+ };
89
+ schema_1.SchemaRegistry.getInstance().trackSchema(videoSchema);
90
+ exports.default = videoSchema;