@sprucelabs/heartwood-view-controllers 129.5.18 → 129.5.19

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 (29) hide show
  1. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/tree.schema.d.ts +3 -0
  2. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/tree.schema.js +49 -0
  3. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/treeNode.schema.d.ts +3 -0
  4. package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/treeNode.schema.js +50 -0
  5. package/build/.spruce/schemas/schemas.types.d.ts +1923 -1798
  6. package/build/controllerMap.d.ts +2 -0
  7. package/build/controllerMap.js +2 -0
  8. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/tree.schema.d.ts +3 -0
  9. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/tree.schema.js +44 -0
  10. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/treeNode.schema.d.ts +3 -0
  11. package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/treeNode.schema.js +48 -0
  12. package/build/esm/.spruce/schemas/schemas.types.d.ts +1923 -1798
  13. package/build/esm/controllerMap.d.ts +2 -0
  14. package/build/esm/controllerMap.js +2 -0
  15. package/build/esm/index.d.ts +4 -0
  16. package/build/esm/index.js +4 -0
  17. package/build/esm/schemas/v2021_02_11/tree.builder.d.ts +74 -0
  18. package/build/esm/schemas/v2021_02_11/tree.builder.js +74 -0
  19. package/build/esm/types/heartwood.types.d.ts +5 -0
  20. package/build/esm/viewControllers/trees/Tree.vc.d.ts +8 -0
  21. package/build/esm/viewControllers/trees/Tree.vc.js +31 -0
  22. package/build/index.d.ts +4 -0
  23. package/build/index.js +12 -5
  24. package/build/schemas/v2021_02_11/tree.builder.d.ts +74 -0
  25. package/build/schemas/v2021_02_11/tree.builder.js +76 -0
  26. package/build/types/heartwood.types.d.ts +5 -0
  27. package/build/viewControllers/trees/Tree.vc.d.ts +8 -0
  28. package/build/viewControllers/trees/Tree.vc.js +30 -0
  29. package/package.json +1 -1
@@ -823,1262 +823,184 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
823
823
  }
824
824
  }
825
825
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
826
- interface ToastMessage {
827
- /** Content. */
828
- 'content': string;
829
- /** Style. */
830
- 'style'?: ("info" | "success" | "warning" | "critical") | undefined | null;
831
- 'destination'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination | undefined | null;
832
- /** Click handler. */
833
- 'onClick'?: (() => Promise<void> | void) | undefined | null;
834
- /** Is Sticky. */
835
- 'isSticky'?: boolean | undefined | null;
826
+ interface TreeNode {
827
+ 'id': string;
828
+ 'label': string;
829
+ 'childrenIds'?: string[] | undefined | null;
830
+ 'isSelected'?: boolean | undefined | null;
831
+ /** Delete click handler. */
832
+ 'onClickDelete'?: (() => void | Promise<void>) | undefined | null;
833
+ /** Node click handler. */
834
+ 'onClick'?: (() => void | Promise<void>) | undefined | null;
836
835
  }
837
- interface ToastMessageSchema extends SpruceSchema.Schema {
838
- id: 'toastMessage';
836
+ interface TreeNodeSchema extends SpruceSchema.Schema {
837
+ id: 'treeNode';
839
838
  version: 'v2021_02_11';
840
839
  namespace: 'HeartwoodViewControllers';
841
- name: 'Toast message';
840
+ name: '';
842
841
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
843
842
  fields: {
844
- /** Content. */
845
- 'content': {
846
- label: 'Content';
843
+ /** . */
844
+ 'id': {
845
+ type: 'id';
846
+ isRequired: true;
847
+ options: undefined;
848
+ };
849
+ /** . */
850
+ 'label': {
847
851
  type: 'text';
848
852
  isRequired: true;
849
853
  options: undefined;
850
854
  };
851
- /** Style. */
852
- 'style': {
853
- label: 'Style';
854
- type: 'select';
855
- options: {
856
- choices: [{
857
- "value": "info";
858
- "label": "info";
859
- }, {
860
- "value": "success";
861
- "label": "success";
862
- }, {
863
- "value": "warning";
864
- "label": "warning";
865
- }, {
866
- "value": "critical";
867
- "label": "critical";
868
- }];
869
- };
855
+ /** . */
856
+ 'childrenIds': {
857
+ type: 'id';
858
+ isArray: true;
859
+ minArrayLength: 0;
860
+ options: undefined;
870
861
  };
871
862
  /** . */
872
- 'destination': {
873
- type: 'schema';
863
+ 'isSelected': {
864
+ type: 'boolean';
865
+ options: undefined;
866
+ };
867
+ /** Delete click handler. */
868
+ 'onClickDelete': {
869
+ label: 'Delete click handler';
870
+ type: 'raw';
874
871
  options: {
875
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
872
+ valueType: `() => void | Promise<void>`;
876
873
  };
877
874
  };
878
- /** Click handler. */
875
+ /** Node click handler. */
879
876
  'onClick': {
880
- label: 'Click handler';
877
+ label: 'Node click handler';
881
878
  type: 'raw';
882
879
  options: {
883
- valueType: `() => Promise<void> | void`;
880
+ valueType: `() => void | Promise<void>`;
884
881
  };
885
882
  };
886
- /** Is Sticky. */
887
- 'isSticky': {
888
- label: 'Is Sticky';
889
- type: 'boolean';
890
- options: undefined;
891
- };
892
883
  };
893
884
  }
894
- interface ToastMessageEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToastMessageSchema> {
885
+ interface TreeNodeEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.TreeNodeSchema> {
895
886
  }
896
887
  }
897
888
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
898
- interface Theme {
899
- 'name': string;
900
- 'props': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeProps;
901
- }
902
- interface ThemeSchema extends SpruceSchema.Schema {
903
- id: 'theme';
889
+ interface Tree {
890
+ 'id'?: string | undefined | null;
891
+ /** Controller. */
892
+ 'controller'?: (HeartwoodTypes.ViewController<HeartwoodTypes.Tree>) | undefined | null;
893
+ /** Node click handler. */
894
+ 'onClickNode'?: ((nodeId: string) => void | Promise<void>) | undefined | null;
895
+ /** Delete node click handler. */
896
+ 'onClickDeleteNode'?: ((nodeId: string) => void | Promise<void>) | undefined | null;
897
+ 'nodes': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.TreeNode[];
898
+ }
899
+ interface TreeSchema extends SpruceSchema.Schema {
900
+ id: 'tree';
904
901
  version: 'v2021_02_11';
905
902
  namespace: 'HeartwoodViewControllers';
906
- name: 'Theme';
903
+ name: 'Tree';
907
904
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
908
905
  fields: {
909
906
  /** . */
910
- 'name': {
911
- type: 'text';
912
- isRequired: true;
913
- options: undefined;
914
- };
915
- /** . */
916
- 'props': {
917
- type: 'schema';
918
- isRequired: true;
919
- options: {
920
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemePropsSchema;
921
- };
922
- };
923
- };
924
- }
925
- interface ThemeEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema> {
926
- }
927
- }
928
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
929
- interface CardStyle {
930
- /** Card Background Color. The background color of the card. This color will show through any transparency in the header, body, or footer colors. It defaults to transparent. */
931
- 'backgroundColor'?: string | undefined | null;
932
- /** Card Body Background Color. The background color of the body of the card. */
933
- 'bodyBackgroundColor'?: string | undefined | null;
934
- /** Card Body Foreground Color. The color of the text of the body of the card. */
935
- 'bodyForegroundColor'?: string | undefined | null;
936
- /** Header Background Color. The background color of the card's header. */
937
- 'headerBackgroundColor'?: string | undefined | null;
938
- /** Header Foreground Color. The color of the text in the card's header. */
939
- 'headerForegroundColor'?: string | undefined | null;
940
- /** Footer Background Color. The background color of the card's footer. */
941
- 'footerBackgroundColor'?: string | undefined | null;
942
- /** Footer Foreground Color. The color of the text in the card's footer. */
943
- 'footerForegroundColor'?: string | undefined | null;
944
- /** Fonts. The fonts used in the card. */
945
- 'fonts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFonts | undefined | null;
946
- }
947
- interface CardStyleSchema extends SpruceSchema.Schema {
948
- id: 'cardStyle';
949
- version: 'v2021_02_11';
950
- namespace: 'HeartwoodViewControllers';
951
- name: '';
952
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
953
- fields: {
954
- /** Card Background Color. The background color of the card. This color will show through any transparency in the header, body, or footer colors. It defaults to transparent. */
955
- 'backgroundColor': {
956
- label: 'Card Background Color';
957
- type: 'text';
958
- hint: 'The background color of the card. This color will show through any transparency in the header, body, or footer colors. It defaults to transparent.';
959
- options: undefined;
960
- };
961
- /** Card Body Background Color. The background color of the body of the card. */
962
- 'bodyBackgroundColor': {
963
- label: 'Card Body Background Color';
964
- type: 'text';
965
- hint: 'The background color of the body of the card.';
966
- options: undefined;
967
- };
968
- /** Card Body Foreground Color. The color of the text of the body of the card. */
969
- 'bodyForegroundColor': {
970
- label: 'Card Body Foreground Color';
971
- type: 'text';
972
- hint: 'The color of the text of the body of the card.';
973
- options: undefined;
974
- };
975
- /** Header Background Color. The background color of the card's header. */
976
- 'headerBackgroundColor': {
977
- label: 'Header Background Color';
978
- type: 'text';
979
- hint: 'The background color of the card\'s header.';
980
- options: undefined;
981
- };
982
- /** Header Foreground Color. The color of the text in the card's header. */
983
- 'headerForegroundColor': {
984
- label: 'Header Foreground Color';
985
- type: 'text';
986
- hint: 'The color of the text in the card\'s header.';
987
- options: undefined;
988
- };
989
- /** Footer Background Color. The background color of the card's footer. */
990
- 'footerBackgroundColor': {
991
- label: 'Footer Background Color';
992
- type: 'text';
993
- hint: 'The background color of the card\'s footer.';
994
- options: undefined;
995
- };
996
- /** Footer Foreground Color. The color of the text in the card's footer. */
997
- 'footerForegroundColor': {
998
- label: 'Footer Foreground Color';
999
- type: 'text';
1000
- hint: 'The color of the text in the card\'s footer.';
907
+ 'id': {
908
+ type: 'id';
1001
909
  options: undefined;
1002
910
  };
1003
- /** Fonts. The fonts used in the card. */
1004
- 'fonts': {
1005
- label: 'Fonts';
1006
- type: 'schema';
1007
- hint: 'The fonts used in the card.';
911
+ /** Controller. */
912
+ 'controller': {
913
+ label: 'Controller';
914
+ type: 'raw';
1008
915
  options: {
1009
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema;
916
+ valueType: `HeartwoodTypes.ViewController<HeartwoodTypes.Tree>`;
1010
917
  };
1011
918
  };
1012
- };
1013
- }
1014
- interface CardStyleEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema> {
1015
- }
1016
- }
1017
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1018
- interface CardStyles {
1019
- /** Informational. */
1020
- 'informational'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyle | undefined | null;
1021
- /** Visual. */
1022
- 'visual'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyle | undefined | null;
1023
- /** Heading. */
1024
- 'heading'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyle | undefined | null;
1025
- }
1026
- interface CardStylesSchema extends SpruceSchema.Schema {
1027
- id: 'cardStyles';
1028
- version: 'v2021_02_11';
1029
- namespace: 'HeartwoodViewControllers';
1030
- name: '';
1031
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1032
- fields: {
1033
- /** Informational. */
1034
- 'informational': {
1035
- label: 'Informational';
1036
- type: 'schema';
919
+ /** Node click handler. */
920
+ 'onClickNode': {
921
+ label: 'Node click handler';
922
+ type: 'raw';
1037
923
  options: {
1038
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema;
924
+ valueType: `(nodeId: string) => void | Promise<void>`;
1039
925
  };
1040
926
  };
1041
- /** Visual. */
1042
- 'visual': {
1043
- label: 'Visual';
1044
- type: 'schema';
927
+ /** Delete node click handler. */
928
+ 'onClickDeleteNode': {
929
+ label: 'Delete node click handler';
930
+ type: 'raw';
1045
931
  options: {
1046
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema;
932
+ valueType: `(nodeId: string) => void | Promise<void>`;
1047
933
  };
1048
934
  };
1049
- /** Heading. */
1050
- 'heading': {
1051
- label: 'Heading';
935
+ /** . */
936
+ 'nodes': {
1052
937
  type: 'schema';
938
+ isRequired: true;
939
+ isArray: true;
940
+ minArrayLength: 0;
1053
941
  options: {
1054
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema;
942
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.TreeNodeSchema;
1055
943
  };
1056
944
  };
1057
945
  };
1058
946
  }
1059
- interface CardStylesEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStylesSchema> {
947
+ interface TreeEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.TreeSchema> {
1060
948
  }
1061
949
  }
1062
950
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1063
- interface FontFamily {
1064
- /** Name. What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme. */
1065
- 'name': string;
1066
- /** Source. The URL to the font file (otf, ttf, etc.). Must be publicly accessible. */
1067
- 'src': string;
951
+ interface ToolBelt {
952
+ /** Controller. */
953
+ 'controller'?: (HeartwoodTypes.ToolBeltViewController) | undefined | null;
954
+ /** Icon. */
955
+ 'lineIcon'?: ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "bookmark-filled" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "fav-heart-filled" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out") | undefined | null;
956
+ 'shouldRenderAllToolsAtOnce'?: boolean | undefined | null;
957
+ 'onCloseToolBelt'?: (HeartwoodTypes.ToolBeltCloseHandler) | undefined | null;
958
+ 'iconLabel'?: string | undefined | null;
959
+ 'renderAs'?: ("default" | "icon") | undefined | null;
960
+ /** Tools. */
961
+ 'tools': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltTool[];
1068
962
  }
1069
- interface FontFamilySchema extends SpruceSchema.Schema {
1070
- id: 'fontFamily';
963
+ interface ToolBeltSchema extends SpruceSchema.Schema {
964
+ id: 'toolBelt';
1071
965
  version: 'v2021_02_11';
1072
966
  namespace: 'HeartwoodViewControllers';
1073
- name: '';
967
+ name: 'Tool belt';
1074
968
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1075
969
  fields: {
1076
- /** Name. What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme. */
1077
- 'name': {
1078
- label: 'Name';
1079
- type: 'text';
1080
- isRequired: true;
1081
- hint: 'What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme.';
1082
- options: undefined;
1083
- };
1084
- /** Source. The URL to the font file (otf, ttf, etc.). Must be publicly accessible. */
1085
- 'src': {
1086
- label: 'Source';
1087
- type: 'text';
1088
- isRequired: true;
1089
- hint: 'The URL to the font file (otf, ttf, etc.). Must be publicly accessible.';
1090
- options: undefined;
1091
- };
1092
- };
1093
- }
1094
- interface FontFamilyEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontFamilySchema> {
1095
- }
1096
- }
1097
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1098
- interface FontSetting {
1099
- /** Font Family. The name of the font family to use. This should match the name you set in the font families section of the theme. */
1100
- 'fontFamily'?: string | undefined | null;
1101
- /** Font Size. The size of the font. e.g. "16px" or "1em". */
1102
- 'fontSize'?: string | undefined | null;
1103
- }
1104
- interface FontSettingSchema extends SpruceSchema.Schema {
1105
- id: 'fontSetting';
1106
- version: 'v2021_02_11';
1107
- namespace: 'HeartwoodViewControllers';
1108
- name: '';
1109
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1110
- fields: {
1111
- /** Font Family. The name of the font family to use. This should match the name you set in the font families section of the theme. */
1112
- 'fontFamily': {
1113
- label: 'Font Family';
1114
- type: 'text';
1115
- hint: 'The name of the font family to use. This should match the name you set in the font families section of the theme.';
1116
- options: undefined;
1117
- };
1118
- /** Font Size. The size of the font. e.g. "16px" or "1em". */
1119
- 'fontSize': {
1120
- label: 'Font Size';
1121
- type: 'text';
1122
- hint: 'The size of the font. e.g. "16px" or "1em".';
1123
- options: undefined;
1124
- };
1125
- };
1126
- }
1127
- interface FontSettingEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema> {
1128
- }
1129
- }
1130
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1131
- interface ThemeFonts {
1132
- /** Header One Font. The font used for the largest headers. */
1133
- 'headerOneFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1134
- /** Alternative Header Font. The font used for the alternative headers. These are rendered next to the header one font, but are usually smaller. */
1135
- 'altHeaderFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1136
- /** Header Two Font. The font used for the second largest headers. */
1137
- 'headerTwoFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1138
- /** Header Three Font. The font used for third largest headers. */
1139
- 'headerThreeFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1140
- /** Body Font. The font used for the body text on all cards, toolbelt, etc. */
1141
- 'bodyFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1142
- /** Footer Font. The font used for footers (but can be overriden by card footer styles). */
1143
- 'footerFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1144
- }
1145
- interface ThemeFontsSchema extends SpruceSchema.Schema {
1146
- id: 'themeFonts';
1147
- version: 'v2021_02_11';
1148
- namespace: 'HeartwoodViewControllers';
1149
- name: '';
1150
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1151
- fields: {
1152
- /** Header One Font. The font used for the largest headers. */
1153
- 'headerOneFont': {
1154
- label: 'Header One Font';
1155
- type: 'schema';
1156
- hint: 'The font used for the largest headers.';
1157
- options: {
1158
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1159
- };
1160
- };
1161
- /** Alternative Header Font. The font used for the alternative headers. These are rendered next to the header one font, but are usually smaller. */
1162
- 'altHeaderFont': {
1163
- label: 'Alternative Header Font';
1164
- type: 'schema';
1165
- hint: 'The font used for the alternative headers. These are rendered next to the header one font, but are usually smaller.';
1166
- options: {
1167
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1168
- };
1169
- };
1170
- /** Header Two Font. The font used for the second largest headers. */
1171
- 'headerTwoFont': {
1172
- label: 'Header Two Font';
1173
- type: 'schema';
1174
- hint: 'The font used for the second largest headers.';
1175
- options: {
1176
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1177
- };
1178
- };
1179
- /** Header Three Font. The font used for third largest headers. */
1180
- 'headerThreeFont': {
1181
- label: 'Header Three Font';
1182
- type: 'schema';
1183
- hint: 'The font used for third largest headers.';
1184
- options: {
1185
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1186
- };
1187
- };
1188
- /** Body Font. The font used for the body text on all cards, toolbelt, etc. */
1189
- 'bodyFont': {
1190
- label: 'Body Font';
1191
- type: 'schema';
1192
- hint: 'The font used for the body text on all cards, toolbelt, etc.';
1193
- options: {
1194
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1195
- };
1196
- };
1197
- /** Footer Font. The font used for footers (but can be overriden by card footer styles). */
1198
- 'footerFont': {
1199
- label: 'Footer Font';
1200
- type: 'schema';
1201
- hint: 'The font used for footers (but can be overriden by card footer styles).';
1202
- options: {
1203
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1204
- };
1205
- };
1206
- };
1207
- }
1208
- interface ThemeFontsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema> {
1209
- }
1210
- }
1211
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1212
- interface ControlBar {
1213
- /** Control bar color 1. The foreground color of the control bar. */
1214
- 'foregroundColor'?: string | undefined | null;
1215
- /** Control bar color 2. The background color of the control bar. */
1216
- 'backgroundColor'?: string | undefined | null;
1217
- /** Control bar font. The font used in the control bar. */
1218
- 'font'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1219
- /** Control bar style. Should the control bar span the full width of the screen or the width of the buttons and float in the center? */
1220
- 'style'?: ("standard" | "floating") | undefined | null;
1221
- /** Control bar size. */
1222
- 'size'?: ("medium" | "large") | undefined | null;
1223
- }
1224
- interface ControlBarSchema extends SpruceSchema.Schema {
1225
- id: 'controlBar';
1226
- version: 'v2021_02_11';
1227
- namespace: 'HeartwoodViewControllers';
1228
- name: '';
1229
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1230
- fields: {
1231
- /** Control bar color 1. The foreground color of the control bar. */
1232
- 'foregroundColor': {
1233
- label: 'Control bar color 1';
1234
- type: 'text';
1235
- hint: 'The foreground color of the control bar.';
1236
- options: undefined;
1237
- };
1238
- /** Control bar color 2. The background color of the control bar. */
1239
- 'backgroundColor': {
1240
- label: 'Control bar color 2';
1241
- type: 'text';
1242
- hint: 'The background color of the control bar.';
1243
- options: undefined;
1244
- };
1245
- /** Control bar font. The font used in the control bar. */
1246
- 'font': {
1247
- label: 'Control bar font';
1248
- type: 'schema';
1249
- hint: 'The font used in the control bar.';
970
+ /** Controller. */
971
+ 'controller': {
972
+ label: 'Controller';
973
+ type: 'raw';
1250
974
  options: {
1251
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
975
+ valueType: `HeartwoodTypes.ToolBeltViewController`;
1252
976
  };
1253
977
  };
1254
- /** Control bar style. Should the control bar span the full width of the screen or the width of the buttons and float in the center? */
1255
- 'style': {
1256
- label: 'Control bar style';
978
+ /** Icon. */
979
+ 'lineIcon': {
980
+ label: 'Icon';
1257
981
  type: 'select';
1258
- hint: 'Should the control bar span the full width of the screen or the width of the buttons and float in the center?';
1259
982
  options: {
1260
983
  choices: [{
1261
- "value": "standard";
1262
- "label": "Standard";
984
+ "value": "add-circle";
985
+ "label": "add-circle";
1263
986
  }, {
1264
- "value": "floating";
1265
- "label": "Floating";
1266
- }];
1267
- };
1268
- };
1269
- /** Control bar size. */
1270
- 'size': {
1271
- label: 'Control bar size';
1272
- type: 'select';
1273
- options: {
1274
- choices: [{
1275
- "value": "medium";
1276
- "label": "Standard";
987
+ "value": "add-square";
988
+ "label": "add-square";
1277
989
  }, {
1278
- "value": "large";
1279
- "label": "Large";
1280
- }];
1281
- };
1282
- };
1283
- };
1284
- }
1285
- interface ControlBarEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema> {
1286
- }
1287
- }
1288
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1289
- interface StatusIndicatorColors {
1290
- /** Color 1. */
1291
- 'color1'?: string | undefined | null;
1292
- /** Color 2. */
1293
- 'color2'?: string | undefined | null;
1294
- /** Color 3. */
1295
- 'color3'?: string | undefined | null;
1296
- /** Color 4. */
1297
- 'color4'?: string | undefined | null;
1298
- /** Color 5. */
1299
- 'color5'?: string | undefined | null;
1300
- }
1301
- interface StatusIndicatorColorsSchema extends SpruceSchema.Schema {
1302
- id: 'statusIndicatorColors';
1303
- version: 'v2021_02_11';
1304
- namespace: 'HeartwoodViewControllers';
1305
- name: 'Status indicator colors';
1306
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1307
- fields: {
1308
- /** Color 1. */
1309
- 'color1': {
1310
- label: 'Color 1';
1311
- type: 'text';
1312
- options: undefined;
1313
- };
1314
- /** Color 2. */
1315
- 'color2': {
1316
- label: 'Color 2';
1317
- type: 'text';
1318
- options: undefined;
1319
- };
1320
- /** Color 3. */
1321
- 'color3': {
1322
- label: 'Color 3';
1323
- type: 'text';
1324
- options: undefined;
1325
- };
1326
- /** Color 4. */
1327
- 'color4': {
1328
- label: 'Color 4';
1329
- type: 'text';
1330
- options: undefined;
1331
- };
1332
- /** Color 5. */
1333
- 'color5': {
1334
- label: 'Color 5';
1335
- type: 'text';
1336
- options: undefined;
1337
- };
1338
- };
1339
- }
1340
- interface StatusIndicatorColorsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.StatusIndicatorColorsSchema> {
1341
- }
1342
- }
1343
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1344
- interface ThemeProps {
1345
- /** Card corner style. */
1346
- 'borderRadius'?: ("rounded" | "square") | undefined | null;
1347
- /** Color 1. Used to color anything overlayed on the background (color1Inverse or color1InverseGradient). */
1348
- 'color1'?: string | undefined | null;
1349
- /** Color 1 (inverse). Background color of the view if color1InverseGradient is not set */
1350
- 'color1Inverse'?: string | undefined | null;
1351
- /** Color 1 Gradient (inverse). Background griedent applied to view. */
1352
- 'color1InverseGradient'?: string | undefined | null;
1353
- /** Color 2. The color of text inside of cards and lists. */
1354
- 'color2'?: string | undefined | null;
1355
- /** Color 2 (compliment). The color of headers in card bodies and lists. Defaults to color2. */
1356
- 'color2Compliment'?: string | undefined | null;
1357
- /** Color 2. The color of overlays ontop of a card. */
1358
- 'color2Transparent'?: string | undefined | null;
1359
- /** Color. Background color of cards. */
1360
- 'color2Inverse'?: string | undefined | null;
1361
- /** Color 2 (inverse with transparency). Background color used when some transparency is needed for context. */
1362
- 'color2InverseTransparent'?: string | undefined | null;
1363
- /** Color 3. Titles of cards. */
1364
- 'color3'?: string | undefined | null;
1365
- /** Color 3 (compliment). Subtitles of cards. */
1366
- 'color3Compliment'?: string | undefined | null;
1367
- /** Color 3 (inverse). Background for headers of cards. */
1368
- 'color3Inverse'?: string | undefined | null;
1369
- /** Color 4. Foreground for buttons and menu items. */
1370
- 'color4'?: string | undefined | null;
1371
- /** Color 4 (compliment). Borders for buttons and menu items. */
1372
- 'color4Compliment'?: string | undefined | null;
1373
- /** Color 4 (compliment, transparent). Lighter version of borders, outlines, and highlights */
1374
- 'color4ComplimentTransparent'?: string | undefined | null;
1375
- /** Color 4 (inverse). Background for buttons and menu items. */
1376
- 'color4Inverse'?: string | undefined | null;
1377
- /** Color 4 (inverse, compliment). Background for buttons and menu items */
1378
- 'color4InverseCompliment'?: string | undefined | null;
1379
- 'controlBar'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBar | undefined | null;
1380
- /** Tool belt color 2. The background color of the tool belts. */
1381
- 'toolBeltColor2'?: string | undefined | null;
1382
- /** Success color 1. Success messages overlayed on a background colored with successColor1Inverse. */
1383
- 'successColor1'?: string | undefined | null;
1384
- /** Success color 2. The background used when rendering success messages. */
1385
- 'successColor1Inverse'?: string | undefined | null;
1386
- /** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
1387
- 'errorColor1'?: string | undefined | null;
1388
- /** Error color 2. The background used when rendering errors. */
1389
- 'errorColor1Inverse'?: string | undefined | null;
1390
- /** Warning color 1. Warnings overlayed on a background colored with warningColor1Inverse. */
1391
- 'warningColor1'?: string | undefined | null;
1392
- /** Warning color 2. The background used when rendering tarnings. */
1393
- 'warningColor1Inverse'?: string | undefined | null;
1394
- 'calendarEvents'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CalendarEventColors | undefined | null;
1395
- /** Footer Icon Url. The url of the icon to show in the footer. Must be publicly served in some way */
1396
- 'footerIconUrl'?: string | undefined | null;
1397
- 'statusIndicators'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.StatusIndicatorColors | undefined | null;
1398
- /** Talking Sprucebot Color. The color of the talking sprucebot animation that appears when Sprucebot is speaking. */
1399
- 'talkingSprucebotColor'?: string | undefined | null;
1400
- 'fontFamilies'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontFamily[] | undefined | null;
1401
- 'fonts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFonts | undefined | null;
1402
- 'cardStyles'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyles | undefined | null;
1403
- /** Stylesheet Url. The url of the stylesheet to apply to the theme. Must be publicly served in some way and will be loaded after the core stylesheets. */
1404
- 'stylesheetUrl'?: string | undefined | null;
1405
- }
1406
- interface ThemePropsSchema extends SpruceSchema.Schema {
1407
- id: 'themeProps';
1408
- version: 'v2021_02_11';
1409
- namespace: 'HeartwoodViewControllers';
1410
- name: '';
1411
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1412
- fields: {
1413
- /** Card corner style. */
1414
- 'borderRadius': {
1415
- label: 'Card corner style';
1416
- type: 'select';
1417
- options: {
1418
- choices: [{
1419
- "value": "rounded";
1420
- "label": "Rounded";
990
+ "value": "add";
991
+ "label": "add";
1421
992
  }, {
1422
- "value": "square";
1423
- "label": "Square";
1424
- }];
1425
- };
1426
- };
1427
- /** Color 1. Used to color anything overlayed on the background (color1Inverse or color1InverseGradient). */
1428
- 'color1': {
1429
- label: 'Color 1';
1430
- type: 'text';
1431
- hint: 'Used to color anything overlayed on the background (color1Inverse or color1InverseGradient).';
1432
- options: undefined;
1433
- };
1434
- /** Color 1 (inverse). Background color of the view if color1InverseGradient is not set */
1435
- 'color1Inverse': {
1436
- label: 'Color 1 (inverse)';
1437
- type: 'text';
1438
- hint: 'Background color of the view if color1InverseGradient is not set';
1439
- options: undefined;
1440
- };
1441
- /** Color 1 Gradient (inverse). Background griedent applied to view. */
1442
- 'color1InverseGradient': {
1443
- label: 'Color 1 Gradient (inverse)';
1444
- type: 'text';
1445
- hint: 'Background griedent applied to view.';
1446
- options: undefined;
1447
- };
1448
- /** Color 2. The color of text inside of cards and lists. */
1449
- 'color2': {
1450
- label: 'Color 2';
1451
- type: 'text';
1452
- hint: 'The color of text inside of cards and lists.';
1453
- options: undefined;
1454
- };
1455
- /** Color 2 (compliment). The color of headers in card bodies and lists. Defaults to color2. */
1456
- 'color2Compliment': {
1457
- label: 'Color 2 (compliment)';
1458
- type: 'text';
1459
- hint: 'The color of headers in card bodies and lists. Defaults to color2.';
1460
- options: undefined;
1461
- };
1462
- /** Color 2. The color of overlays ontop of a card. */
1463
- 'color2Transparent': {
1464
- label: 'Color 2';
1465
- type: 'text';
1466
- hint: 'The color of overlays ontop of a card.';
1467
- options: undefined;
1468
- };
1469
- /** Color. Background color of cards. */
1470
- 'color2Inverse': {
1471
- label: 'Color';
1472
- type: 'text';
1473
- hint: 'Background color of cards.';
1474
- options: undefined;
1475
- };
1476
- /** Color 2 (inverse with transparency). Background color used when some transparency is needed for context. */
1477
- 'color2InverseTransparent': {
1478
- label: 'Color 2 (inverse with transparency)';
1479
- type: 'text';
1480
- hint: 'Background color used when some transparency is needed for context.';
1481
- options: undefined;
1482
- };
1483
- /** Color 3. Titles of cards. */
1484
- 'color3': {
1485
- label: 'Color 3';
1486
- type: 'text';
1487
- hint: 'Titles of cards.';
1488
- options: undefined;
1489
- };
1490
- /** Color 3 (compliment). Subtitles of cards. */
1491
- 'color3Compliment': {
1492
- label: 'Color 3 (compliment)';
1493
- type: 'text';
1494
- hint: 'Subtitles of cards.';
1495
- options: undefined;
1496
- };
1497
- /** Color 3 (inverse). Background for headers of cards. */
1498
- 'color3Inverse': {
1499
- label: 'Color 3 (inverse)';
1500
- type: 'text';
1501
- hint: 'Background for headers of cards.';
1502
- options: undefined;
1503
- };
1504
- /** Color 4. Foreground for buttons and menu items. */
1505
- 'color4': {
1506
- label: 'Color 4';
1507
- type: 'text';
1508
- hint: 'Foreground for buttons and menu items.';
1509
- options: undefined;
1510
- };
1511
- /** Color 4 (compliment). Borders for buttons and menu items. */
1512
- 'color4Compliment': {
1513
- label: 'Color 4 (compliment)';
1514
- type: 'text';
1515
- hint: 'Borders for buttons and menu items.';
1516
- options: undefined;
1517
- };
1518
- /** Color 4 (compliment, transparent). Lighter version of borders, outlines, and highlights */
1519
- 'color4ComplimentTransparent': {
1520
- label: 'Color 4 (compliment, transparent)';
1521
- type: 'text';
1522
- hint: 'Lighter version of borders, outlines, and highlights';
1523
- options: undefined;
1524
- };
1525
- /** Color 4 (inverse). Background for buttons and menu items. */
1526
- 'color4Inverse': {
1527
- label: 'Color 4 (inverse)';
1528
- type: 'text';
1529
- hint: 'Background for buttons and menu items.';
1530
- options: undefined;
1531
- };
1532
- /** Color 4 (inverse, compliment). Background for buttons and menu items */
1533
- 'color4InverseCompliment': {
1534
- label: 'Color 4 (inverse, compliment)';
1535
- type: 'text';
1536
- hint: 'Background for buttons and menu items';
1537
- options: undefined;
1538
- };
1539
- /** . */
1540
- 'controlBar': {
1541
- type: 'schema';
1542
- options: {
1543
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema;
1544
- };
1545
- };
1546
- /** Tool belt color 2. The background color of the tool belts. */
1547
- 'toolBeltColor2': {
1548
- label: 'Tool belt color 2';
1549
- type: 'text';
1550
- hint: 'The background color of the tool belts.';
1551
- options: undefined;
1552
- };
1553
- /** Success color 1. Success messages overlayed on a background colored with successColor1Inverse. */
1554
- 'successColor1': {
1555
- label: 'Success color 1';
1556
- type: 'text';
1557
- hint: 'Success messages overlayed on a background colored with successColor1Inverse.';
1558
- options: undefined;
1559
- };
1560
- /** Success color 2. The background used when rendering success messages. */
1561
- 'successColor1Inverse': {
1562
- label: 'Success color 2';
1563
- type: 'text';
1564
- hint: 'The background used when rendering success messages.';
1565
- options: undefined;
1566
- };
1567
- /** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
1568
- 'errorColor1': {
1569
- label: 'Error color 1';
1570
- type: 'text';
1571
- hint: 'Errors overlayed on a background colored with errorColor1Inverse.';
1572
- options: undefined;
1573
- };
1574
- /** Error color 2. The background used when rendering errors. */
1575
- 'errorColor1Inverse': {
1576
- label: 'Error color 2';
1577
- type: 'text';
1578
- hint: 'The background used when rendering errors.';
1579
- options: undefined;
1580
- };
1581
- /** Warning color 1. Warnings overlayed on a background colored with warningColor1Inverse. */
1582
- 'warningColor1': {
1583
- label: 'Warning color 1';
1584
- type: 'text';
1585
- hint: 'Warnings overlayed on a background colored with warningColor1Inverse.';
1586
- options: undefined;
1587
- };
1588
- /** Warning color 2. The background used when rendering tarnings. */
1589
- 'warningColor1Inverse': {
1590
- label: 'Warning color 2';
1591
- type: 'text';
1592
- hint: 'The background used when rendering tarnings.';
1593
- options: undefined;
1594
- };
1595
- /** . */
1596
- 'calendarEvents': {
1597
- type: 'schema';
1598
- options: {
1599
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CalendarEventColorsSchema;
1600
- };
1601
- };
1602
- /** Footer Icon Url. The url of the icon to show in the footer. Must be publicly served in some way */
1603
- 'footerIconUrl': {
1604
- label: 'Footer Icon Url';
1605
- type: 'text';
1606
- hint: 'The url of the icon to show in the footer. Must be publicly served in some way';
1607
- options: undefined;
1608
- };
1609
- /** . */
1610
- 'statusIndicators': {
1611
- type: 'schema';
1612
- options: {
1613
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.StatusIndicatorColorsSchema;
1614
- };
1615
- };
1616
- /** Talking Sprucebot Color. The color of the talking sprucebot animation that appears when Sprucebot is speaking. */
1617
- 'talkingSprucebotColor': {
1618
- label: 'Talking Sprucebot Color';
1619
- type: 'text';
1620
- hint: 'The color of the talking sprucebot animation that appears when Sprucebot is speaking.';
1621
- options: undefined;
1622
- };
1623
- /** . */
1624
- 'fontFamilies': {
1625
- type: 'schema';
1626
- isArray: true;
1627
- options: {
1628
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontFamilySchema;
1629
- };
1630
- };
1631
- /** . */
1632
- 'fonts': {
1633
- type: 'schema';
1634
- options: {
1635
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema;
1636
- };
1637
- };
1638
- /** . */
1639
- 'cardStyles': {
1640
- type: 'schema';
1641
- options: {
1642
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStylesSchema;
1643
- };
1644
- };
1645
- /** Stylesheet Url. The url of the stylesheet to apply to the theme. Must be publicly served in some way and will be loaded after the core stylesheets. */
1646
- 'stylesheetUrl': {
1647
- label: 'Stylesheet Url';
1648
- type: 'text';
1649
- hint: 'The url of the stylesheet to apply to the theme. Must be publicly served in some way and will be loaded after the core stylesheets.';
1650
- options: undefined;
1651
- };
1652
- };
1653
- }
1654
- interface ThemePropsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemePropsSchema> {
1655
- }
1656
- }
1657
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1658
- interface SprucebotTypedMessage {
1659
- /** Sentences. Sprucebot will type out these sentences one at a time preserving what is similar between each one (in bold) */
1660
- 'sentences': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageSentence[];
1661
- /** Default avatar. How should Sprucebot be rendered by default */
1662
- 'avatar'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageAvatar | undefined | null;
1663
- /** Start delay. How long should I wait before starting to type? */
1664
- 'startDelay'?: SpruceSchema.DurationFieldValue | undefined | null;
1665
- /** Loop. */
1666
- 'shouldLoop'?: boolean | undefined | null;
1667
- /** Size. */
1668
- 'size'?: ("small" | "medium" | "large") | undefined | null;
1669
- /** Playing. */
1670
- 'isPlaying'?: boolean | undefined | null;
1671
- }
1672
- interface SprucebotTypedMessageSchema extends SpruceSchema.Schema {
1673
- id: 'sprucebotTypedMessage';
1674
- version: 'v2021_02_11';
1675
- namespace: 'HeartwoodViewControllers';
1676
- name: 'Sprucebot typed message';
1677
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1678
- fields: {
1679
- /** Sentences. Sprucebot will type out these sentences one at a time preserving what is similar between each one (in bold) */
1680
- 'sentences': {
1681
- label: 'Sentences';
1682
- type: 'schema';
1683
- isRequired: true;
1684
- hint: 'Sprucebot will type out these sentences one at a time preserving what is similar between each one (in bold)';
1685
- isArray: true;
1686
- options: {
1687
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageSentenceSchema;
1688
- };
1689
- };
1690
- /** Default avatar. How should Sprucebot be rendered by default */
1691
- 'avatar': {
1692
- label: 'Default avatar';
1693
- type: 'schema';
1694
- hint: 'How should Sprucebot be rendered by default';
1695
- options: {
1696
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageAvatarSchema;
1697
- };
1698
- };
1699
- /** Start delay. How long should I wait before starting to type? */
1700
- 'startDelay': {
1701
- label: 'Start delay';
1702
- type: 'duration';
1703
- hint: 'How long should I wait before starting to type?';
1704
- defaultValue: {
1705
- "hours": 0;
1706
- "minutes": 0;
1707
- "seconds": 1;
1708
- "ms": 0;
1709
- };
1710
- options: undefined;
1711
- };
1712
- /** Loop. */
1713
- 'shouldLoop': {
1714
- label: 'Loop';
1715
- type: 'boolean';
1716
- options: undefined;
1717
- };
1718
- /** Size. */
1719
- 'size': {
1720
- label: 'Size';
1721
- type: 'select';
1722
- defaultValue: "small";
1723
- options: {
1724
- choices: [{
1725
- "value": "small";
1726
- "label": "Small";
993
+ "value": "alarm";
994
+ "label": "alarm";
1727
995
  }, {
1728
- "value": "medium";
1729
- "label": "Medium";
996
+ "value": "arrow-back";
997
+ "label": "arrow-back";
1730
998
  }, {
1731
- "value": "large";
1732
- "label": "Large";
1733
- }];
1734
- };
1735
- };
1736
- /** Playing. */
1737
- 'isPlaying': {
1738
- label: 'Playing';
1739
- type: 'boolean';
1740
- options: undefined;
1741
- };
1742
- };
1743
- }
1744
- interface SprucebotTypedMessageEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageSchema> {
1745
- }
1746
- }
1747
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1748
- interface SkillView {
1749
- 'id'?: string | undefined | null;
1750
- /** Controller. */
1751
- 'controller'?: (HeartwoodTypes.SkillViewController) | undefined | null;
1752
- /** Center vertically. */
1753
- 'shouldCenterVertically'?: boolean | undefined | null;
1754
- /** Full screen. */
1755
- 'isFullScreen'?: boolean | undefined | null;
1756
- 'title'?: string | undefined | null;
1757
- 'subtitle'?: string | undefined | null;
1758
- 'description'?: string | undefined | null;
1759
- /** Width. */
1760
- 'width'?: ("wide" | "tight" | "full") | undefined | null;
1761
- /** Layout. */
1762
- 'layouts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayout[] | undefined | null;
1763
- }
1764
- interface SkillViewSchema extends SpruceSchema.Schema {
1765
- id: 'skillView';
1766
- version: 'v2021_02_11';
1767
- namespace: 'HeartwoodViewControllers';
1768
- name: 'Skill view';
1769
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1770
- fields: {
1771
- /** . */
1772
- 'id': {
1773
- type: 'id';
1774
- isPrivate: true;
1775
- options: undefined;
1776
- };
1777
- /** Controller. */
1778
- 'controller': {
1779
- label: 'Controller';
1780
- type: 'raw';
1781
- options: {
1782
- valueType: `HeartwoodTypes.SkillViewController`;
1783
- };
1784
- };
1785
- /** Center vertically. */
1786
- 'shouldCenterVertically': {
1787
- label: 'Center vertically';
1788
- type: 'boolean';
1789
- defaultValue: false;
1790
- options: undefined;
1791
- };
1792
- /** Full screen. */
1793
- 'isFullScreen': {
1794
- label: 'Full screen';
1795
- type: 'boolean';
1796
- options: undefined;
1797
- };
1798
- /** . */
1799
- 'title': {
1800
- type: 'text';
1801
- options: undefined;
1802
- };
1803
- /** . */
1804
- 'subtitle': {
1805
- type: 'text';
1806
- options: undefined;
1807
- };
1808
- /** . */
1809
- 'description': {
1810
- type: 'text';
1811
- options: undefined;
1812
- };
1813
- /** Width. */
1814
- 'width': {
1815
- label: 'Width';
1816
- type: 'select';
1817
- defaultValue: "tight";
1818
- options: {
1819
- choices: [{
1820
- "value": "wide";
1821
- "label": "Wide";
999
+ "value": "arrow-down-circle";
1000
+ "label": "arrow-down-circle";
1822
1001
  }, {
1823
- "value": "tight";
1824
- "label": "Tight";
1825
- }, {
1826
- "value": "full";
1827
- "label": "Full width";
1828
- }];
1829
- };
1830
- };
1831
- /** Layout. */
1832
- 'layouts': {
1833
- label: 'Layout';
1834
- type: 'schema';
1835
- isArray: true;
1836
- options: {
1837
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayoutSchema;
1838
- };
1839
- };
1840
- };
1841
- }
1842
- interface SkillViewEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewSchema> {
1843
- }
1844
- }
1845
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1846
- interface SelectInput {
1847
- 'id'?: string | undefined | null;
1848
- 'name': string;
1849
- 'value'?: (any) | undefined | null;
1850
- /** . If you need the text input to render a value other than what is stored (a person's name vs. their id). */
1851
- 'renderedValue'?: (any) | undefined | null;
1852
- /** Label. */
1853
- 'label'?: string | undefined | null;
1854
- /** Hint. */
1855
- 'hint'?: string | undefined | null;
1856
- /** Required. */
1857
- 'isRequired'?: boolean | undefined | null;
1858
- 'isInteractive'?: boolean | undefined | null;
1859
- /** On change handler. */
1860
- 'onChange'?: ((value: any) => void | Promise<void | boolean> | boolean) | undefined | null;
1861
- /** On changed rendered value handler. */
1862
- 'onChangeRenderedValue'?: ((value: any) => void | Promise<void | boolean> | boolean) | undefined | null;
1863
- /** On focus handler. */
1864
- 'onFocus'?: (() => void | Promise<void>) | undefined | null;
1865
- /** On blur handler. */
1866
- 'onBlur'?: (() => void | Promise<void>) | undefined | null;
1867
- 'rightButtons'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.InputButton[] | undefined | null;
1868
- /** Placeholder. */
1869
- 'placeholder'?: string | undefined | null;
1870
- 'choices': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SelectInputChoice[];
1871
- }
1872
- interface SelectInputSchema extends SpruceSchema.Schema {
1873
- id: 'selectInput';
1874
- version: 'v2021_02_11';
1875
- namespace: 'HeartwoodViewControllers';
1876
- name: 'Select input';
1877
- importsWhenRemote: ['import * as HeartwoodTypes from \'@sprucelabs/heartwood-view-controllers\''];
1878
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1879
- fields: {
1880
- /** . */
1881
- 'id': {
1882
- type: 'id';
1883
- options: undefined;
1884
- };
1885
- /** . */
1886
- 'name': {
1887
- type: 'text';
1888
- isRequired: true;
1889
- options: undefined;
1890
- };
1891
- /** . */
1892
- 'value': {
1893
- type: 'raw';
1894
- options: {
1895
- valueType: `any`;
1896
- };
1897
- };
1898
- /** . If you need the text input to render a value other than what is stored (a person's name vs. their id). */
1899
- 'renderedValue': {
1900
- type: 'raw';
1901
- hint: 'If you need the text input to render a value other than what is stored (a person\'s name vs. their id).';
1902
- options: {
1903
- valueType: `any`;
1904
- };
1905
- };
1906
- /** Label. */
1907
- 'label': {
1908
- label: 'Label';
1909
- type: 'text';
1910
- options: undefined;
1911
- };
1912
- /** Hint. */
1913
- 'hint': {
1914
- label: 'Hint';
1915
- type: 'text';
1916
- options: undefined;
1917
- };
1918
- /** Required. */
1919
- 'isRequired': {
1920
- label: 'Required';
1921
- type: 'boolean';
1922
- options: undefined;
1923
- };
1924
- /** . */
1925
- 'isInteractive': {
1926
- type: 'boolean';
1927
- options: undefined;
1928
- };
1929
- /** On change handler. */
1930
- 'onChange': {
1931
- label: 'On change handler';
1932
- type: 'raw';
1933
- options: {
1934
- valueType: `(value: any) => void | Promise<void | boolean> | boolean`;
1935
- };
1936
- };
1937
- /** On changed rendered value handler. */
1938
- 'onChangeRenderedValue': {
1939
- label: 'On changed rendered value handler';
1940
- type: 'raw';
1941
- options: {
1942
- valueType: `(value: any) => void | Promise<void | boolean> | boolean`;
1943
- };
1944
- };
1945
- /** On focus handler. */
1946
- 'onFocus': {
1947
- label: 'On focus handler';
1948
- type: 'raw';
1949
- options: {
1950
- valueType: `() => void | Promise<void>`;
1951
- };
1952
- };
1953
- /** On blur handler. */
1954
- 'onBlur': {
1955
- label: 'On blur handler';
1956
- type: 'raw';
1957
- options: {
1958
- valueType: `() => void | Promise<void>`;
1959
- };
1960
- };
1961
- /** . */
1962
- 'rightButtons': {
1963
- type: 'schema';
1964
- isArray: true;
1965
- options: {
1966
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.InputButtonSchema;
1967
- };
1968
- };
1969
- /** Placeholder. */
1970
- 'placeholder': {
1971
- label: 'Placeholder';
1972
- type: 'text';
1973
- options: undefined;
1974
- };
1975
- /** . */
1976
- 'choices': {
1977
- type: 'schema';
1978
- isRequired: true;
1979
- isArray: true;
1980
- options: {
1981
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SelectInputChoiceSchema;
1982
- };
1983
- };
1984
- };
1985
- }
1986
- interface SelectInputEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SelectInputSchema> {
1987
- }
1988
- }
1989
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1990
- interface ProgressNavigatorStep {
1991
- 'id': string;
1992
- 'label': string;
1993
- 'isComplete'?: boolean | undefined | null;
1994
- 'hasError'?: boolean | undefined | null;
1995
- }
1996
- interface ProgressNavigatorStepSchema extends SpruceSchema.Schema {
1997
- id: 'progressNavigatorStep';
1998
- version: 'v2021_02_11';
1999
- namespace: 'HeartwoodViewControllers';
2000
- name: '';
2001
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2002
- fields: {
2003
- /** . */
2004
- 'id': {
2005
- type: 'id';
2006
- isRequired: true;
2007
- options: undefined;
2008
- };
2009
- /** . */
2010
- 'label': {
2011
- type: 'text';
2012
- isRequired: true;
2013
- options: undefined;
2014
- };
2015
- /** . */
2016
- 'isComplete': {
2017
- type: 'boolean';
2018
- options: undefined;
2019
- };
2020
- /** . */
2021
- 'hasError': {
2022
- type: 'boolean';
2023
- options: undefined;
2024
- };
2025
- };
2026
- }
2027
- interface ProgressNavigatorStepEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorStepSchema> {
2028
- }
2029
- }
2030
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2031
- interface ProgressNavigator {
2032
- 'currentStepId'?: string | undefined | null;
2033
- 'processLabel'?: string | undefined | null;
2034
- /** Line icon. */
2035
- 'lineIcon'?: ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "bookmark-filled" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "fav-heart-filled" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out") | undefined | null;
2036
- 'controller'?: (HeartwoodTypes.ViewController<HeartwoodTypes.ProgressNavigator>) | undefined | null;
2037
- 'steps': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorStep[];
2038
- }
2039
- interface ProgressNavigatorSchema extends SpruceSchema.Schema {
2040
- id: 'progressNavigator';
2041
- version: 'v2021_02_11';
2042
- namespace: 'HeartwoodViewControllers';
2043
- name: 'Progress Navigator';
2044
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2045
- fields: {
2046
- /** . */
2047
- 'currentStepId': {
2048
- type: 'id';
2049
- options: undefined;
2050
- };
2051
- /** . */
2052
- 'processLabel': {
2053
- type: 'text';
2054
- options: undefined;
2055
- };
2056
- /** Line icon. */
2057
- 'lineIcon': {
2058
- label: 'Line icon';
2059
- type: 'select';
2060
- options: {
2061
- choices: [{
2062
- "value": "add-circle";
2063
- "label": "add-circle";
2064
- }, {
2065
- "value": "add-square";
2066
- "label": "add-square";
2067
- }, {
2068
- "value": "add";
2069
- "label": "add";
2070
- }, {
2071
- "value": "alarm";
2072
- "label": "alarm";
2073
- }, {
2074
- "value": "arrow-back";
2075
- "label": "arrow-back";
2076
- }, {
2077
- "value": "arrow-down-circle";
2078
- "label": "arrow-down-circle";
2079
- }, {
2080
- "value": "arrow-down";
2081
- "label": "arrow-down";
1002
+ "value": "arrow-down";
1003
+ "label": "arrow-down";
2082
1004
  }, {
2083
1005
  "value": "arrow-next";
2084
1006
  "label": "arrow-next";
@@ -2467,192 +1389,1309 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2467
1389
  "value": "user";
2468
1390
  "label": "user";
2469
1391
  }, {
2470
- "value": "users";
2471
- "label": "users";
1392
+ "value": "users";
1393
+ "label": "users";
1394
+ }, {
1395
+ "value": "video-off";
1396
+ "label": "video-off";
1397
+ }, {
1398
+ "value": "video";
1399
+ "label": "video";
1400
+ }, {
1401
+ "value": "warning";
1402
+ "label": "warning";
1403
+ }, {
1404
+ "value": "wifi";
1405
+ "label": "wifi";
1406
+ }, {
1407
+ "value": "zoom-in";
1408
+ "label": "zoom-in";
1409
+ }, {
1410
+ "value": "zoom-out";
1411
+ "label": "zoom-out";
1412
+ }];
1413
+ };
1414
+ };
1415
+ /** . */
1416
+ 'shouldRenderAllToolsAtOnce': {
1417
+ type: 'boolean';
1418
+ options: undefined;
1419
+ };
1420
+ /** . */
1421
+ 'onCloseToolBelt': {
1422
+ type: 'raw';
1423
+ options: {
1424
+ valueType: `HeartwoodTypes.ToolBeltCloseHandler`;
1425
+ };
1426
+ };
1427
+ /** . */
1428
+ 'iconLabel': {
1429
+ type: 'text';
1430
+ options: undefined;
1431
+ };
1432
+ /** . */
1433
+ 'renderAs': {
1434
+ type: 'select';
1435
+ options: {
1436
+ choices: [{
1437
+ "value": "default";
1438
+ "label": "Default";
1439
+ }, {
1440
+ "value": "icon";
1441
+ "label": "Icon";
1442
+ }];
1443
+ };
1444
+ };
1445
+ /** Tools. */
1446
+ 'tools': {
1447
+ label: 'Tools';
1448
+ type: 'schema';
1449
+ isRequired: true;
1450
+ isArray: true;
1451
+ options: {
1452
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltToolSchema;
1453
+ };
1454
+ };
1455
+ };
1456
+ }
1457
+ interface ToolBeltEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltSchema> {
1458
+ }
1459
+ }
1460
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1461
+ interface ToastMessage {
1462
+ /** Content. */
1463
+ 'content': string;
1464
+ /** Style. */
1465
+ 'style'?: ("info" | "success" | "warning" | "critical") | undefined | null;
1466
+ 'destination'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination | undefined | null;
1467
+ /** Click handler. */
1468
+ 'onClick'?: (() => Promise<void> | void) | undefined | null;
1469
+ /** Is Sticky. */
1470
+ 'isSticky'?: boolean | undefined | null;
1471
+ }
1472
+ interface ToastMessageSchema extends SpruceSchema.Schema {
1473
+ id: 'toastMessage';
1474
+ version: 'v2021_02_11';
1475
+ namespace: 'HeartwoodViewControllers';
1476
+ name: 'Toast message';
1477
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1478
+ fields: {
1479
+ /** Content. */
1480
+ 'content': {
1481
+ label: 'Content';
1482
+ type: 'text';
1483
+ isRequired: true;
1484
+ options: undefined;
1485
+ };
1486
+ /** Style. */
1487
+ 'style': {
1488
+ label: 'Style';
1489
+ type: 'select';
1490
+ options: {
1491
+ choices: [{
1492
+ "value": "info";
1493
+ "label": "info";
1494
+ }, {
1495
+ "value": "success";
1496
+ "label": "success";
1497
+ }, {
1498
+ "value": "warning";
1499
+ "label": "warning";
1500
+ }, {
1501
+ "value": "critical";
1502
+ "label": "critical";
1503
+ }];
1504
+ };
1505
+ };
1506
+ /** . */
1507
+ 'destination': {
1508
+ type: 'schema';
1509
+ options: {
1510
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
1511
+ };
1512
+ };
1513
+ /** Click handler. */
1514
+ 'onClick': {
1515
+ label: 'Click handler';
1516
+ type: 'raw';
1517
+ options: {
1518
+ valueType: `() => Promise<void> | void`;
1519
+ };
1520
+ };
1521
+ /** Is Sticky. */
1522
+ 'isSticky': {
1523
+ label: 'Is Sticky';
1524
+ type: 'boolean';
1525
+ options: undefined;
1526
+ };
1527
+ };
1528
+ }
1529
+ interface ToastMessageEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToastMessageSchema> {
1530
+ }
1531
+ }
1532
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1533
+ interface Theme {
1534
+ 'name': string;
1535
+ 'props': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeProps;
1536
+ }
1537
+ interface ThemeSchema extends SpruceSchema.Schema {
1538
+ id: 'theme';
1539
+ version: 'v2021_02_11';
1540
+ namespace: 'HeartwoodViewControllers';
1541
+ name: 'Theme';
1542
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1543
+ fields: {
1544
+ /** . */
1545
+ 'name': {
1546
+ type: 'text';
1547
+ isRequired: true;
1548
+ options: undefined;
1549
+ };
1550
+ /** . */
1551
+ 'props': {
1552
+ type: 'schema';
1553
+ isRequired: true;
1554
+ options: {
1555
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemePropsSchema;
1556
+ };
1557
+ };
1558
+ };
1559
+ }
1560
+ interface ThemeEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema> {
1561
+ }
1562
+ }
1563
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1564
+ interface CardStyle {
1565
+ /** Card Background Color. The background color of the card. This color will show through any transparency in the header, body, or footer colors. It defaults to transparent. */
1566
+ 'backgroundColor'?: string | undefined | null;
1567
+ /** Card Body Background Color. The background color of the body of the card. */
1568
+ 'bodyBackgroundColor'?: string | undefined | null;
1569
+ /** Card Body Foreground Color. The color of the text of the body of the card. */
1570
+ 'bodyForegroundColor'?: string | undefined | null;
1571
+ /** Header Background Color. The background color of the card's header. */
1572
+ 'headerBackgroundColor'?: string | undefined | null;
1573
+ /** Header Foreground Color. The color of the text in the card's header. */
1574
+ 'headerForegroundColor'?: string | undefined | null;
1575
+ /** Footer Background Color. The background color of the card's footer. */
1576
+ 'footerBackgroundColor'?: string | undefined | null;
1577
+ /** Footer Foreground Color. The color of the text in the card's footer. */
1578
+ 'footerForegroundColor'?: string | undefined | null;
1579
+ /** Fonts. The fonts used in the card. */
1580
+ 'fonts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFonts | undefined | null;
1581
+ }
1582
+ interface CardStyleSchema extends SpruceSchema.Schema {
1583
+ id: 'cardStyle';
1584
+ version: 'v2021_02_11';
1585
+ namespace: 'HeartwoodViewControllers';
1586
+ name: '';
1587
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1588
+ fields: {
1589
+ /** Card Background Color. The background color of the card. This color will show through any transparency in the header, body, or footer colors. It defaults to transparent. */
1590
+ 'backgroundColor': {
1591
+ label: 'Card Background Color';
1592
+ type: 'text';
1593
+ hint: 'The background color of the card. This color will show through any transparency in the header, body, or footer colors. It defaults to transparent.';
1594
+ options: undefined;
1595
+ };
1596
+ /** Card Body Background Color. The background color of the body of the card. */
1597
+ 'bodyBackgroundColor': {
1598
+ label: 'Card Body Background Color';
1599
+ type: 'text';
1600
+ hint: 'The background color of the body of the card.';
1601
+ options: undefined;
1602
+ };
1603
+ /** Card Body Foreground Color. The color of the text of the body of the card. */
1604
+ 'bodyForegroundColor': {
1605
+ label: 'Card Body Foreground Color';
1606
+ type: 'text';
1607
+ hint: 'The color of the text of the body of the card.';
1608
+ options: undefined;
1609
+ };
1610
+ /** Header Background Color. The background color of the card's header. */
1611
+ 'headerBackgroundColor': {
1612
+ label: 'Header Background Color';
1613
+ type: 'text';
1614
+ hint: 'The background color of the card\'s header.';
1615
+ options: undefined;
1616
+ };
1617
+ /** Header Foreground Color. The color of the text in the card's header. */
1618
+ 'headerForegroundColor': {
1619
+ label: 'Header Foreground Color';
1620
+ type: 'text';
1621
+ hint: 'The color of the text in the card\'s header.';
1622
+ options: undefined;
1623
+ };
1624
+ /** Footer Background Color. The background color of the card's footer. */
1625
+ 'footerBackgroundColor': {
1626
+ label: 'Footer Background Color';
1627
+ type: 'text';
1628
+ hint: 'The background color of the card\'s footer.';
1629
+ options: undefined;
1630
+ };
1631
+ /** Footer Foreground Color. The color of the text in the card's footer. */
1632
+ 'footerForegroundColor': {
1633
+ label: 'Footer Foreground Color';
1634
+ type: 'text';
1635
+ hint: 'The color of the text in the card\'s footer.';
1636
+ options: undefined;
1637
+ };
1638
+ /** Fonts. The fonts used in the card. */
1639
+ 'fonts': {
1640
+ label: 'Fonts';
1641
+ type: 'schema';
1642
+ hint: 'The fonts used in the card.';
1643
+ options: {
1644
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema;
1645
+ };
1646
+ };
1647
+ };
1648
+ }
1649
+ interface CardStyleEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema> {
1650
+ }
1651
+ }
1652
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1653
+ interface CardStyles {
1654
+ /** Informational. */
1655
+ 'informational'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyle | undefined | null;
1656
+ /** Visual. */
1657
+ 'visual'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyle | undefined | null;
1658
+ /** Heading. */
1659
+ 'heading'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyle | undefined | null;
1660
+ }
1661
+ interface CardStylesSchema extends SpruceSchema.Schema {
1662
+ id: 'cardStyles';
1663
+ version: 'v2021_02_11';
1664
+ namespace: 'HeartwoodViewControllers';
1665
+ name: '';
1666
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1667
+ fields: {
1668
+ /** Informational. */
1669
+ 'informational': {
1670
+ label: 'Informational';
1671
+ type: 'schema';
1672
+ options: {
1673
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema;
1674
+ };
1675
+ };
1676
+ /** Visual. */
1677
+ 'visual': {
1678
+ label: 'Visual';
1679
+ type: 'schema';
1680
+ options: {
1681
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema;
1682
+ };
1683
+ };
1684
+ /** Heading. */
1685
+ 'heading': {
1686
+ label: 'Heading';
1687
+ type: 'schema';
1688
+ options: {
1689
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyleSchema;
1690
+ };
1691
+ };
1692
+ };
1693
+ }
1694
+ interface CardStylesEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStylesSchema> {
1695
+ }
1696
+ }
1697
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1698
+ interface FontFamily {
1699
+ /** Name. What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme. */
1700
+ 'name': string;
1701
+ /** Source. The URL to the font file (otf, ttf, etc.). Must be publicly accessible. */
1702
+ 'src': string;
1703
+ }
1704
+ interface FontFamilySchema extends SpruceSchema.Schema {
1705
+ id: 'fontFamily';
1706
+ version: 'v2021_02_11';
1707
+ namespace: 'HeartwoodViewControllers';
1708
+ name: '';
1709
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1710
+ fields: {
1711
+ /** Name. What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme. */
1712
+ 'name': {
1713
+ label: 'Name';
1714
+ type: 'text';
1715
+ isRequired: true;
1716
+ hint: 'What is the name of the font family? e.g. "Arial" or "Headers". This will be the name you can apply to different parts of the theme.';
1717
+ options: undefined;
1718
+ };
1719
+ /** Source. The URL to the font file (otf, ttf, etc.). Must be publicly accessible. */
1720
+ 'src': {
1721
+ label: 'Source';
1722
+ type: 'text';
1723
+ isRequired: true;
1724
+ hint: 'The URL to the font file (otf, ttf, etc.). Must be publicly accessible.';
1725
+ options: undefined;
1726
+ };
1727
+ };
1728
+ }
1729
+ interface FontFamilyEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontFamilySchema> {
1730
+ }
1731
+ }
1732
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1733
+ interface FontSetting {
1734
+ /** Font Family. The name of the font family to use. This should match the name you set in the font families section of the theme. */
1735
+ 'fontFamily'?: string | undefined | null;
1736
+ /** Font Size. The size of the font. e.g. "16px" or "1em". */
1737
+ 'fontSize'?: string | undefined | null;
1738
+ }
1739
+ interface FontSettingSchema extends SpruceSchema.Schema {
1740
+ id: 'fontSetting';
1741
+ version: 'v2021_02_11';
1742
+ namespace: 'HeartwoodViewControllers';
1743
+ name: '';
1744
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1745
+ fields: {
1746
+ /** Font Family. The name of the font family to use. This should match the name you set in the font families section of the theme. */
1747
+ 'fontFamily': {
1748
+ label: 'Font Family';
1749
+ type: 'text';
1750
+ hint: 'The name of the font family to use. This should match the name you set in the font families section of the theme.';
1751
+ options: undefined;
1752
+ };
1753
+ /** Font Size. The size of the font. e.g. "16px" or "1em". */
1754
+ 'fontSize': {
1755
+ label: 'Font Size';
1756
+ type: 'text';
1757
+ hint: 'The size of the font. e.g. "16px" or "1em".';
1758
+ options: undefined;
1759
+ };
1760
+ };
1761
+ }
1762
+ interface FontSettingEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema> {
1763
+ }
1764
+ }
1765
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1766
+ interface ThemeFonts {
1767
+ /** Header One Font. The font used for the largest headers. */
1768
+ 'headerOneFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1769
+ /** Alternative Header Font. The font used for the alternative headers. These are rendered next to the header one font, but are usually smaller. */
1770
+ 'altHeaderFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1771
+ /** Header Two Font. The font used for the second largest headers. */
1772
+ 'headerTwoFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1773
+ /** Header Three Font. The font used for third largest headers. */
1774
+ 'headerThreeFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1775
+ /** Body Font. The font used for the body text on all cards, toolbelt, etc. */
1776
+ 'bodyFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1777
+ /** Footer Font. The font used for footers (but can be overriden by card footer styles). */
1778
+ 'footerFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1779
+ }
1780
+ interface ThemeFontsSchema extends SpruceSchema.Schema {
1781
+ id: 'themeFonts';
1782
+ version: 'v2021_02_11';
1783
+ namespace: 'HeartwoodViewControllers';
1784
+ name: '';
1785
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1786
+ fields: {
1787
+ /** Header One Font. The font used for the largest headers. */
1788
+ 'headerOneFont': {
1789
+ label: 'Header One Font';
1790
+ type: 'schema';
1791
+ hint: 'The font used for the largest headers.';
1792
+ options: {
1793
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1794
+ };
1795
+ };
1796
+ /** Alternative Header Font. The font used for the alternative headers. These are rendered next to the header one font, but are usually smaller. */
1797
+ 'altHeaderFont': {
1798
+ label: 'Alternative Header Font';
1799
+ type: 'schema';
1800
+ hint: 'The font used for the alternative headers. These are rendered next to the header one font, but are usually smaller.';
1801
+ options: {
1802
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1803
+ };
1804
+ };
1805
+ /** Header Two Font. The font used for the second largest headers. */
1806
+ 'headerTwoFont': {
1807
+ label: 'Header Two Font';
1808
+ type: 'schema';
1809
+ hint: 'The font used for the second largest headers.';
1810
+ options: {
1811
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1812
+ };
1813
+ };
1814
+ /** Header Three Font. The font used for third largest headers. */
1815
+ 'headerThreeFont': {
1816
+ label: 'Header Three Font';
1817
+ type: 'schema';
1818
+ hint: 'The font used for third largest headers.';
1819
+ options: {
1820
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1821
+ };
1822
+ };
1823
+ /** Body Font. The font used for the body text on all cards, toolbelt, etc. */
1824
+ 'bodyFont': {
1825
+ label: 'Body Font';
1826
+ type: 'schema';
1827
+ hint: 'The font used for the body text on all cards, toolbelt, etc.';
1828
+ options: {
1829
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1830
+ };
1831
+ };
1832
+ /** Footer Font. The font used for footers (but can be overriden by card footer styles). */
1833
+ 'footerFont': {
1834
+ label: 'Footer Font';
1835
+ type: 'schema';
1836
+ hint: 'The font used for footers (but can be overriden by card footer styles).';
1837
+ options: {
1838
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1839
+ };
1840
+ };
1841
+ };
1842
+ }
1843
+ interface ThemeFontsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema> {
1844
+ }
1845
+ }
1846
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1847
+ interface ControlBar {
1848
+ /** Control bar color 1. The foreground color of the control bar. */
1849
+ 'foregroundColor'?: string | undefined | null;
1850
+ /** Control bar color 2. The background color of the control bar. */
1851
+ 'backgroundColor'?: string | undefined | null;
1852
+ /** Control bar font. The font used in the control bar. */
1853
+ 'font'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
1854
+ /** Control bar style. Should the control bar span the full width of the screen or the width of the buttons and float in the center? */
1855
+ 'style'?: ("standard" | "floating") | undefined | null;
1856
+ /** Control bar size. */
1857
+ 'size'?: ("medium" | "large") | undefined | null;
1858
+ }
1859
+ interface ControlBarSchema extends SpruceSchema.Schema {
1860
+ id: 'controlBar';
1861
+ version: 'v2021_02_11';
1862
+ namespace: 'HeartwoodViewControllers';
1863
+ name: '';
1864
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1865
+ fields: {
1866
+ /** Control bar color 1. The foreground color of the control bar. */
1867
+ 'foregroundColor': {
1868
+ label: 'Control bar color 1';
1869
+ type: 'text';
1870
+ hint: 'The foreground color of the control bar.';
1871
+ options: undefined;
1872
+ };
1873
+ /** Control bar color 2. The background color of the control bar. */
1874
+ 'backgroundColor': {
1875
+ label: 'Control bar color 2';
1876
+ type: 'text';
1877
+ hint: 'The background color of the control bar.';
1878
+ options: undefined;
1879
+ };
1880
+ /** Control bar font. The font used in the control bar. */
1881
+ 'font': {
1882
+ label: 'Control bar font';
1883
+ type: 'schema';
1884
+ hint: 'The font used in the control bar.';
1885
+ options: {
1886
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
1887
+ };
1888
+ };
1889
+ /** Control bar style. Should the control bar span the full width of the screen or the width of the buttons and float in the center? */
1890
+ 'style': {
1891
+ label: 'Control bar style';
1892
+ type: 'select';
1893
+ hint: 'Should the control bar span the full width of the screen or the width of the buttons and float in the center?';
1894
+ options: {
1895
+ choices: [{
1896
+ "value": "standard";
1897
+ "label": "Standard";
1898
+ }, {
1899
+ "value": "floating";
1900
+ "label": "Floating";
1901
+ }];
1902
+ };
1903
+ };
1904
+ /** Control bar size. */
1905
+ 'size': {
1906
+ label: 'Control bar size';
1907
+ type: 'select';
1908
+ options: {
1909
+ choices: [{
1910
+ "value": "medium";
1911
+ "label": "Standard";
2472
1912
  }, {
2473
- "value": "video-off";
2474
- "label": "video-off";
1913
+ "value": "large";
1914
+ "label": "Large";
1915
+ }];
1916
+ };
1917
+ };
1918
+ };
1919
+ }
1920
+ interface ControlBarEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema> {
1921
+ }
1922
+ }
1923
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1924
+ interface StatusIndicatorColors {
1925
+ /** Color 1. */
1926
+ 'color1'?: string | undefined | null;
1927
+ /** Color 2. */
1928
+ 'color2'?: string | undefined | null;
1929
+ /** Color 3. */
1930
+ 'color3'?: string | undefined | null;
1931
+ /** Color 4. */
1932
+ 'color4'?: string | undefined | null;
1933
+ /** Color 5. */
1934
+ 'color5'?: string | undefined | null;
1935
+ }
1936
+ interface StatusIndicatorColorsSchema extends SpruceSchema.Schema {
1937
+ id: 'statusIndicatorColors';
1938
+ version: 'v2021_02_11';
1939
+ namespace: 'HeartwoodViewControllers';
1940
+ name: 'Status indicator colors';
1941
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
1942
+ fields: {
1943
+ /** Color 1. */
1944
+ 'color1': {
1945
+ label: 'Color 1';
1946
+ type: 'text';
1947
+ options: undefined;
1948
+ };
1949
+ /** Color 2. */
1950
+ 'color2': {
1951
+ label: 'Color 2';
1952
+ type: 'text';
1953
+ options: undefined;
1954
+ };
1955
+ /** Color 3. */
1956
+ 'color3': {
1957
+ label: 'Color 3';
1958
+ type: 'text';
1959
+ options: undefined;
1960
+ };
1961
+ /** Color 4. */
1962
+ 'color4': {
1963
+ label: 'Color 4';
1964
+ type: 'text';
1965
+ options: undefined;
1966
+ };
1967
+ /** Color 5. */
1968
+ 'color5': {
1969
+ label: 'Color 5';
1970
+ type: 'text';
1971
+ options: undefined;
1972
+ };
1973
+ };
1974
+ }
1975
+ interface StatusIndicatorColorsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.StatusIndicatorColorsSchema> {
1976
+ }
1977
+ }
1978
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
1979
+ interface ThemeProps {
1980
+ /** Card corner style. */
1981
+ 'borderRadius'?: ("rounded" | "square") | undefined | null;
1982
+ /** Color 1. Used to color anything overlayed on the background (color1Inverse or color1InverseGradient). */
1983
+ 'color1'?: string | undefined | null;
1984
+ /** Color 1 (inverse). Background color of the view if color1InverseGradient is not set */
1985
+ 'color1Inverse'?: string | undefined | null;
1986
+ /** Color 1 Gradient (inverse). Background griedent applied to view. */
1987
+ 'color1InverseGradient'?: string | undefined | null;
1988
+ /** Color 2. The color of text inside of cards and lists. */
1989
+ 'color2'?: string | undefined | null;
1990
+ /** Color 2 (compliment). The color of headers in card bodies and lists. Defaults to color2. */
1991
+ 'color2Compliment'?: string | undefined | null;
1992
+ /** Color 2. The color of overlays ontop of a card. */
1993
+ 'color2Transparent'?: string | undefined | null;
1994
+ /** Color. Background color of cards. */
1995
+ 'color2Inverse'?: string | undefined | null;
1996
+ /** Color 2 (inverse with transparency). Background color used when some transparency is needed for context. */
1997
+ 'color2InverseTransparent'?: string | undefined | null;
1998
+ /** Color 3. Titles of cards. */
1999
+ 'color3'?: string | undefined | null;
2000
+ /** Color 3 (compliment). Subtitles of cards. */
2001
+ 'color3Compliment'?: string | undefined | null;
2002
+ /** Color 3 (inverse). Background for headers of cards. */
2003
+ 'color3Inverse'?: string | undefined | null;
2004
+ /** Color 4. Foreground for buttons and menu items. */
2005
+ 'color4'?: string | undefined | null;
2006
+ /** Color 4 (compliment). Borders for buttons and menu items. */
2007
+ 'color4Compliment'?: string | undefined | null;
2008
+ /** Color 4 (compliment, transparent). Lighter version of borders, outlines, and highlights */
2009
+ 'color4ComplimentTransparent'?: string | undefined | null;
2010
+ /** Color 4 (inverse). Background for buttons and menu items. */
2011
+ 'color4Inverse'?: string | undefined | null;
2012
+ /** Color 4 (inverse, compliment). Background for buttons and menu items */
2013
+ 'color4InverseCompliment'?: string | undefined | null;
2014
+ 'controlBar'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBar | undefined | null;
2015
+ /** Tool belt color 2. The background color of the tool belts. */
2016
+ 'toolBeltColor2'?: string | undefined | null;
2017
+ /** Success color 1. Success messages overlayed on a background colored with successColor1Inverse. */
2018
+ 'successColor1'?: string | undefined | null;
2019
+ /** Success color 2. The background used when rendering success messages. */
2020
+ 'successColor1Inverse'?: string | undefined | null;
2021
+ /** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
2022
+ 'errorColor1'?: string | undefined | null;
2023
+ /** Error color 2. The background used when rendering errors. */
2024
+ 'errorColor1Inverse'?: string | undefined | null;
2025
+ /** Warning color 1. Warnings overlayed on a background colored with warningColor1Inverse. */
2026
+ 'warningColor1'?: string | undefined | null;
2027
+ /** Warning color 2. The background used when rendering tarnings. */
2028
+ 'warningColor1Inverse'?: string | undefined | null;
2029
+ 'calendarEvents'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CalendarEventColors | undefined | null;
2030
+ /** Footer Icon Url. The url of the icon to show in the footer. Must be publicly served in some way */
2031
+ 'footerIconUrl'?: string | undefined | null;
2032
+ 'statusIndicators'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.StatusIndicatorColors | undefined | null;
2033
+ /** Talking Sprucebot Color. The color of the talking sprucebot animation that appears when Sprucebot is speaking. */
2034
+ 'talkingSprucebotColor'?: string | undefined | null;
2035
+ 'fontFamilies'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontFamily[] | undefined | null;
2036
+ 'fonts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFonts | undefined | null;
2037
+ 'cardStyles'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStyles | undefined | null;
2038
+ /** Stylesheet Url. The url of the stylesheet to apply to the theme. Must be publicly served in some way and will be loaded after the core stylesheets. */
2039
+ 'stylesheetUrl'?: string | undefined | null;
2040
+ }
2041
+ interface ThemePropsSchema extends SpruceSchema.Schema {
2042
+ id: 'themeProps';
2043
+ version: 'v2021_02_11';
2044
+ namespace: 'HeartwoodViewControllers';
2045
+ name: '';
2046
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2047
+ fields: {
2048
+ /** Card corner style. */
2049
+ 'borderRadius': {
2050
+ label: 'Card corner style';
2051
+ type: 'select';
2052
+ options: {
2053
+ choices: [{
2054
+ "value": "rounded";
2055
+ "label": "Rounded";
2475
2056
  }, {
2476
- "value": "video";
2477
- "label": "video";
2057
+ "value": "square";
2058
+ "label": "Square";
2059
+ }];
2060
+ };
2061
+ };
2062
+ /** Color 1. Used to color anything overlayed on the background (color1Inverse or color1InverseGradient). */
2063
+ 'color1': {
2064
+ label: 'Color 1';
2065
+ type: 'text';
2066
+ hint: 'Used to color anything overlayed on the background (color1Inverse or color1InverseGradient).';
2067
+ options: undefined;
2068
+ };
2069
+ /** Color 1 (inverse). Background color of the view if color1InverseGradient is not set */
2070
+ 'color1Inverse': {
2071
+ label: 'Color 1 (inverse)';
2072
+ type: 'text';
2073
+ hint: 'Background color of the view if color1InverseGradient is not set';
2074
+ options: undefined;
2075
+ };
2076
+ /** Color 1 Gradient (inverse). Background griedent applied to view. */
2077
+ 'color1InverseGradient': {
2078
+ label: 'Color 1 Gradient (inverse)';
2079
+ type: 'text';
2080
+ hint: 'Background griedent applied to view.';
2081
+ options: undefined;
2082
+ };
2083
+ /** Color 2. The color of text inside of cards and lists. */
2084
+ 'color2': {
2085
+ label: 'Color 2';
2086
+ type: 'text';
2087
+ hint: 'The color of text inside of cards and lists.';
2088
+ options: undefined;
2089
+ };
2090
+ /** Color 2 (compliment). The color of headers in card bodies and lists. Defaults to color2. */
2091
+ 'color2Compliment': {
2092
+ label: 'Color 2 (compliment)';
2093
+ type: 'text';
2094
+ hint: 'The color of headers in card bodies and lists. Defaults to color2.';
2095
+ options: undefined;
2096
+ };
2097
+ /** Color 2. The color of overlays ontop of a card. */
2098
+ 'color2Transparent': {
2099
+ label: 'Color 2';
2100
+ type: 'text';
2101
+ hint: 'The color of overlays ontop of a card.';
2102
+ options: undefined;
2103
+ };
2104
+ /** Color. Background color of cards. */
2105
+ 'color2Inverse': {
2106
+ label: 'Color';
2107
+ type: 'text';
2108
+ hint: 'Background color of cards.';
2109
+ options: undefined;
2110
+ };
2111
+ /** Color 2 (inverse with transparency). Background color used when some transparency is needed for context. */
2112
+ 'color2InverseTransparent': {
2113
+ label: 'Color 2 (inverse with transparency)';
2114
+ type: 'text';
2115
+ hint: 'Background color used when some transparency is needed for context.';
2116
+ options: undefined;
2117
+ };
2118
+ /** Color 3. Titles of cards. */
2119
+ 'color3': {
2120
+ label: 'Color 3';
2121
+ type: 'text';
2122
+ hint: 'Titles of cards.';
2123
+ options: undefined;
2124
+ };
2125
+ /** Color 3 (compliment). Subtitles of cards. */
2126
+ 'color3Compliment': {
2127
+ label: 'Color 3 (compliment)';
2128
+ type: 'text';
2129
+ hint: 'Subtitles of cards.';
2130
+ options: undefined;
2131
+ };
2132
+ /** Color 3 (inverse). Background for headers of cards. */
2133
+ 'color3Inverse': {
2134
+ label: 'Color 3 (inverse)';
2135
+ type: 'text';
2136
+ hint: 'Background for headers of cards.';
2137
+ options: undefined;
2138
+ };
2139
+ /** Color 4. Foreground for buttons and menu items. */
2140
+ 'color4': {
2141
+ label: 'Color 4';
2142
+ type: 'text';
2143
+ hint: 'Foreground for buttons and menu items.';
2144
+ options: undefined;
2145
+ };
2146
+ /** Color 4 (compliment). Borders for buttons and menu items. */
2147
+ 'color4Compliment': {
2148
+ label: 'Color 4 (compliment)';
2149
+ type: 'text';
2150
+ hint: 'Borders for buttons and menu items.';
2151
+ options: undefined;
2152
+ };
2153
+ /** Color 4 (compliment, transparent). Lighter version of borders, outlines, and highlights */
2154
+ 'color4ComplimentTransparent': {
2155
+ label: 'Color 4 (compliment, transparent)';
2156
+ type: 'text';
2157
+ hint: 'Lighter version of borders, outlines, and highlights';
2158
+ options: undefined;
2159
+ };
2160
+ /** Color 4 (inverse). Background for buttons and menu items. */
2161
+ 'color4Inverse': {
2162
+ label: 'Color 4 (inverse)';
2163
+ type: 'text';
2164
+ hint: 'Background for buttons and menu items.';
2165
+ options: undefined;
2166
+ };
2167
+ /** Color 4 (inverse, compliment). Background for buttons and menu items */
2168
+ 'color4InverseCompliment': {
2169
+ label: 'Color 4 (inverse, compliment)';
2170
+ type: 'text';
2171
+ hint: 'Background for buttons and menu items';
2172
+ options: undefined;
2173
+ };
2174
+ /** . */
2175
+ 'controlBar': {
2176
+ type: 'schema';
2177
+ options: {
2178
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema;
2179
+ };
2180
+ };
2181
+ /** Tool belt color 2. The background color of the tool belts. */
2182
+ 'toolBeltColor2': {
2183
+ label: 'Tool belt color 2';
2184
+ type: 'text';
2185
+ hint: 'The background color of the tool belts.';
2186
+ options: undefined;
2187
+ };
2188
+ /** Success color 1. Success messages overlayed on a background colored with successColor1Inverse. */
2189
+ 'successColor1': {
2190
+ label: 'Success color 1';
2191
+ type: 'text';
2192
+ hint: 'Success messages overlayed on a background colored with successColor1Inverse.';
2193
+ options: undefined;
2194
+ };
2195
+ /** Success color 2. The background used when rendering success messages. */
2196
+ 'successColor1Inverse': {
2197
+ label: 'Success color 2';
2198
+ type: 'text';
2199
+ hint: 'The background used when rendering success messages.';
2200
+ options: undefined;
2201
+ };
2202
+ /** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
2203
+ 'errorColor1': {
2204
+ label: 'Error color 1';
2205
+ type: 'text';
2206
+ hint: 'Errors overlayed on a background colored with errorColor1Inverse.';
2207
+ options: undefined;
2208
+ };
2209
+ /** Error color 2. The background used when rendering errors. */
2210
+ 'errorColor1Inverse': {
2211
+ label: 'Error color 2';
2212
+ type: 'text';
2213
+ hint: 'The background used when rendering errors.';
2214
+ options: undefined;
2215
+ };
2216
+ /** Warning color 1. Warnings overlayed on a background colored with warningColor1Inverse. */
2217
+ 'warningColor1': {
2218
+ label: 'Warning color 1';
2219
+ type: 'text';
2220
+ hint: 'Warnings overlayed on a background colored with warningColor1Inverse.';
2221
+ options: undefined;
2222
+ };
2223
+ /** Warning color 2. The background used when rendering tarnings. */
2224
+ 'warningColor1Inverse': {
2225
+ label: 'Warning color 2';
2226
+ type: 'text';
2227
+ hint: 'The background used when rendering tarnings.';
2228
+ options: undefined;
2229
+ };
2230
+ /** . */
2231
+ 'calendarEvents': {
2232
+ type: 'schema';
2233
+ options: {
2234
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CalendarEventColorsSchema;
2235
+ };
2236
+ };
2237
+ /** Footer Icon Url. The url of the icon to show in the footer. Must be publicly served in some way */
2238
+ 'footerIconUrl': {
2239
+ label: 'Footer Icon Url';
2240
+ type: 'text';
2241
+ hint: 'The url of the icon to show in the footer. Must be publicly served in some way';
2242
+ options: undefined;
2243
+ };
2244
+ /** . */
2245
+ 'statusIndicators': {
2246
+ type: 'schema';
2247
+ options: {
2248
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.StatusIndicatorColorsSchema;
2249
+ };
2250
+ };
2251
+ /** Talking Sprucebot Color. The color of the talking sprucebot animation that appears when Sprucebot is speaking. */
2252
+ 'talkingSprucebotColor': {
2253
+ label: 'Talking Sprucebot Color';
2254
+ type: 'text';
2255
+ hint: 'The color of the talking sprucebot animation that appears when Sprucebot is speaking.';
2256
+ options: undefined;
2257
+ };
2258
+ /** . */
2259
+ 'fontFamilies': {
2260
+ type: 'schema';
2261
+ isArray: true;
2262
+ options: {
2263
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontFamilySchema;
2264
+ };
2265
+ };
2266
+ /** . */
2267
+ 'fonts': {
2268
+ type: 'schema';
2269
+ options: {
2270
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema;
2271
+ };
2272
+ };
2273
+ /** . */
2274
+ 'cardStyles': {
2275
+ type: 'schema';
2276
+ options: {
2277
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardStylesSchema;
2278
+ };
2279
+ };
2280
+ /** Stylesheet Url. The url of the stylesheet to apply to the theme. Must be publicly served in some way and will be loaded after the core stylesheets. */
2281
+ 'stylesheetUrl': {
2282
+ label: 'Stylesheet Url';
2283
+ type: 'text';
2284
+ hint: 'The url of the stylesheet to apply to the theme. Must be publicly served in some way and will be loaded after the core stylesheets.';
2285
+ options: undefined;
2286
+ };
2287
+ };
2288
+ }
2289
+ interface ThemePropsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemePropsSchema> {
2290
+ }
2291
+ }
2292
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2293
+ interface SprucebotTypedMessage {
2294
+ /** Sentences. Sprucebot will type out these sentences one at a time preserving what is similar between each one (in bold) */
2295
+ 'sentences': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageSentence[];
2296
+ /** Default avatar. How should Sprucebot be rendered by default */
2297
+ 'avatar'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageAvatar | undefined | null;
2298
+ /** Start delay. How long should I wait before starting to type? */
2299
+ 'startDelay'?: SpruceSchema.DurationFieldValue | undefined | null;
2300
+ /** Loop. */
2301
+ 'shouldLoop'?: boolean | undefined | null;
2302
+ /** Size. */
2303
+ 'size'?: ("small" | "medium" | "large") | undefined | null;
2304
+ /** Playing. */
2305
+ 'isPlaying'?: boolean | undefined | null;
2306
+ }
2307
+ interface SprucebotTypedMessageSchema extends SpruceSchema.Schema {
2308
+ id: 'sprucebotTypedMessage';
2309
+ version: 'v2021_02_11';
2310
+ namespace: 'HeartwoodViewControllers';
2311
+ name: 'Sprucebot typed message';
2312
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2313
+ fields: {
2314
+ /** Sentences. Sprucebot will type out these sentences one at a time preserving what is similar between each one (in bold) */
2315
+ 'sentences': {
2316
+ label: 'Sentences';
2317
+ type: 'schema';
2318
+ isRequired: true;
2319
+ hint: 'Sprucebot will type out these sentences one at a time preserving what is similar between each one (in bold)';
2320
+ isArray: true;
2321
+ options: {
2322
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageSentenceSchema;
2323
+ };
2324
+ };
2325
+ /** Default avatar. How should Sprucebot be rendered by default */
2326
+ 'avatar': {
2327
+ label: 'Default avatar';
2328
+ type: 'schema';
2329
+ hint: 'How should Sprucebot be rendered by default';
2330
+ options: {
2331
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageAvatarSchema;
2332
+ };
2333
+ };
2334
+ /** Start delay. How long should I wait before starting to type? */
2335
+ 'startDelay': {
2336
+ label: 'Start delay';
2337
+ type: 'duration';
2338
+ hint: 'How long should I wait before starting to type?';
2339
+ defaultValue: {
2340
+ "hours": 0;
2341
+ "minutes": 0;
2342
+ "seconds": 1;
2343
+ "ms": 0;
2344
+ };
2345
+ options: undefined;
2346
+ };
2347
+ /** Loop. */
2348
+ 'shouldLoop': {
2349
+ label: 'Loop';
2350
+ type: 'boolean';
2351
+ options: undefined;
2352
+ };
2353
+ /** Size. */
2354
+ 'size': {
2355
+ label: 'Size';
2356
+ type: 'select';
2357
+ defaultValue: "small";
2358
+ options: {
2359
+ choices: [{
2360
+ "value": "small";
2361
+ "label": "Small";
2478
2362
  }, {
2479
- "value": "warning";
2480
- "label": "warning";
2363
+ "value": "medium";
2364
+ "label": "Medium";
2481
2365
  }, {
2482
- "value": "wifi";
2483
- "label": "wifi";
2366
+ "value": "large";
2367
+ "label": "Large";
2368
+ }];
2369
+ };
2370
+ };
2371
+ /** Playing. */
2372
+ 'isPlaying': {
2373
+ label: 'Playing';
2374
+ type: 'boolean';
2375
+ options: undefined;
2376
+ };
2377
+ };
2378
+ }
2379
+ interface SprucebotTypedMessageEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SprucebotTypedMessageSchema> {
2380
+ }
2381
+ }
2382
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2383
+ interface SkillView {
2384
+ 'id'?: string | undefined | null;
2385
+ /** Controller. */
2386
+ 'controller'?: (HeartwoodTypes.SkillViewController) | undefined | null;
2387
+ /** Center vertically. */
2388
+ 'shouldCenterVertically'?: boolean | undefined | null;
2389
+ /** Full screen. */
2390
+ 'isFullScreen'?: boolean | undefined | null;
2391
+ 'title'?: string | undefined | null;
2392
+ 'subtitle'?: string | undefined | null;
2393
+ 'description'?: string | undefined | null;
2394
+ /** Width. */
2395
+ 'width'?: ("wide" | "tight" | "full") | undefined | null;
2396
+ /** Layout. */
2397
+ 'layouts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayout[] | undefined | null;
2398
+ }
2399
+ interface SkillViewSchema extends SpruceSchema.Schema {
2400
+ id: 'skillView';
2401
+ version: 'v2021_02_11';
2402
+ namespace: 'HeartwoodViewControllers';
2403
+ name: 'Skill view';
2404
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2405
+ fields: {
2406
+ /** . */
2407
+ 'id': {
2408
+ type: 'id';
2409
+ isPrivate: true;
2410
+ options: undefined;
2411
+ };
2412
+ /** Controller. */
2413
+ 'controller': {
2414
+ label: 'Controller';
2415
+ type: 'raw';
2416
+ options: {
2417
+ valueType: `HeartwoodTypes.SkillViewController`;
2418
+ };
2419
+ };
2420
+ /** Center vertically. */
2421
+ 'shouldCenterVertically': {
2422
+ label: 'Center vertically';
2423
+ type: 'boolean';
2424
+ defaultValue: false;
2425
+ options: undefined;
2426
+ };
2427
+ /** Full screen. */
2428
+ 'isFullScreen': {
2429
+ label: 'Full screen';
2430
+ type: 'boolean';
2431
+ options: undefined;
2432
+ };
2433
+ /** . */
2434
+ 'title': {
2435
+ type: 'text';
2436
+ options: undefined;
2437
+ };
2438
+ /** . */
2439
+ 'subtitle': {
2440
+ type: 'text';
2441
+ options: undefined;
2442
+ };
2443
+ /** . */
2444
+ 'description': {
2445
+ type: 'text';
2446
+ options: undefined;
2447
+ };
2448
+ /** Width. */
2449
+ 'width': {
2450
+ label: 'Width';
2451
+ type: 'select';
2452
+ defaultValue: "tight";
2453
+ options: {
2454
+ choices: [{
2455
+ "value": "wide";
2456
+ "label": "Wide";
2484
2457
  }, {
2485
- "value": "zoom-in";
2486
- "label": "zoom-in";
2458
+ "value": "tight";
2459
+ "label": "Tight";
2487
2460
  }, {
2488
- "value": "zoom-out";
2489
- "label": "zoom-out";
2461
+ "value": "full";
2462
+ "label": "Full width";
2490
2463
  }];
2491
2464
  };
2492
2465
  };
2466
+ /** Layout. */
2467
+ 'layouts': {
2468
+ label: 'Layout';
2469
+ type: 'schema';
2470
+ isArray: true;
2471
+ options: {
2472
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayoutSchema;
2473
+ };
2474
+ };
2475
+ };
2476
+ }
2477
+ interface SkillViewEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewSchema> {
2478
+ }
2479
+ }
2480
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2481
+ interface SelectInput {
2482
+ 'id'?: string | undefined | null;
2483
+ 'name': string;
2484
+ 'value'?: (any) | undefined | null;
2485
+ /** . If you need the text input to render a value other than what is stored (a person's name vs. their id). */
2486
+ 'renderedValue'?: (any) | undefined | null;
2487
+ /** Label. */
2488
+ 'label'?: string | undefined | null;
2489
+ /** Hint. */
2490
+ 'hint'?: string | undefined | null;
2491
+ /** Required. */
2492
+ 'isRequired'?: boolean | undefined | null;
2493
+ 'isInteractive'?: boolean | undefined | null;
2494
+ /** On change handler. */
2495
+ 'onChange'?: ((value: any) => void | Promise<void | boolean> | boolean) | undefined | null;
2496
+ /** On changed rendered value handler. */
2497
+ 'onChangeRenderedValue'?: ((value: any) => void | Promise<void | boolean> | boolean) | undefined | null;
2498
+ /** On focus handler. */
2499
+ 'onFocus'?: (() => void | Promise<void>) | undefined | null;
2500
+ /** On blur handler. */
2501
+ 'onBlur'?: (() => void | Promise<void>) | undefined | null;
2502
+ 'rightButtons'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.InputButton[] | undefined | null;
2503
+ /** Placeholder. */
2504
+ 'placeholder'?: string | undefined | null;
2505
+ 'choices': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SelectInputChoice[];
2506
+ }
2507
+ interface SelectInputSchema extends SpruceSchema.Schema {
2508
+ id: 'selectInput';
2509
+ version: 'v2021_02_11';
2510
+ namespace: 'HeartwoodViewControllers';
2511
+ name: 'Select input';
2512
+ importsWhenRemote: ['import * as HeartwoodTypes from \'@sprucelabs/heartwood-view-controllers\''];
2513
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2514
+ fields: {
2515
+ /** . */
2516
+ 'id': {
2517
+ type: 'id';
2518
+ options: undefined;
2519
+ };
2520
+ /** . */
2521
+ 'name': {
2522
+ type: 'text';
2523
+ isRequired: true;
2524
+ options: undefined;
2525
+ };
2493
2526
  /** . */
2494
- 'controller': {
2527
+ 'value': {
2495
2528
  type: 'raw';
2496
2529
  options: {
2497
- valueType: `HeartwoodTypes.ViewController<HeartwoodTypes.ProgressNavigator>`;
2530
+ valueType: `any`;
2531
+ };
2532
+ };
2533
+ /** . If you need the text input to render a value other than what is stored (a person's name vs. their id). */
2534
+ 'renderedValue': {
2535
+ type: 'raw';
2536
+ hint: 'If you need the text input to render a value other than what is stored (a person\'s name vs. their id).';
2537
+ options: {
2538
+ valueType: `any`;
2498
2539
  };
2499
2540
  };
2541
+ /** Label. */
2542
+ 'label': {
2543
+ label: 'Label';
2544
+ type: 'text';
2545
+ options: undefined;
2546
+ };
2547
+ /** Hint. */
2548
+ 'hint': {
2549
+ label: 'Hint';
2550
+ type: 'text';
2551
+ options: undefined;
2552
+ };
2553
+ /** Required. */
2554
+ 'isRequired': {
2555
+ label: 'Required';
2556
+ type: 'boolean';
2557
+ options: undefined;
2558
+ };
2500
2559
  /** . */
2501
- 'steps': {
2502
- type: 'schema';
2503
- isRequired: true;
2504
- isArray: true;
2560
+ 'isInteractive': {
2561
+ type: 'boolean';
2562
+ options: undefined;
2563
+ };
2564
+ /** On change handler. */
2565
+ 'onChange': {
2566
+ label: 'On change handler';
2567
+ type: 'raw';
2505
2568
  options: {
2506
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorStepSchema;
2569
+ valueType: `(value: any) => void | Promise<void | boolean> | boolean`;
2507
2570
  };
2508
2571
  };
2509
- };
2510
- }
2511
- interface ProgressNavigatorEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorSchema> {
2512
- }
2513
- }
2514
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2515
- interface NavigationButtonDropdown {
2516
- /** Position. */
2517
- 'position'?: ("top" | "right" | "bottom" | "left") | undefined | null;
2518
- 'items'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationDropdownButton[] | undefined | null;
2519
- 'card'?: (HeartwoodTypes.Card) | undefined | null;
2520
- }
2521
- interface NavigationButtonDropdownSchema extends SpruceSchema.Schema {
2522
- id: 'navigationButtonDropdown';
2523
- version: 'v2021_02_11';
2524
- namespace: 'HeartwoodViewControllers';
2525
- name: '';
2526
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2527
- fields: {
2528
- /** Position. */
2529
- 'position': {
2530
- label: 'Position';
2531
- type: 'select';
2572
+ /** On changed rendered value handler. */
2573
+ 'onChangeRenderedValue': {
2574
+ label: 'On changed rendered value handler';
2575
+ type: 'raw';
2532
2576
  options: {
2533
- choices: [{
2534
- "label": "Top";
2535
- "value": "top";
2536
- }, {
2537
- "label": "Right";
2538
- "value": "right";
2539
- }, {
2540
- "label": "Bottom";
2541
- "value": "bottom";
2542
- }, {
2543
- "label": "Left";
2544
- "value": "left";
2545
- }];
2577
+ valueType: `(value: any) => void | Promise<void | boolean> | boolean`;
2546
2578
  };
2547
2579
  };
2548
- /** . */
2549
- 'items': {
2550
- type: 'schema';
2551
- isArray: true;
2580
+ /** On focus handler. */
2581
+ 'onFocus': {
2582
+ label: 'On focus handler';
2583
+ type: 'raw';
2552
2584
  options: {
2553
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationDropdownButtonSchema;
2585
+ valueType: `() => void | Promise<void>`;
2554
2586
  };
2555
2587
  };
2556
- /** . */
2557
- 'card': {
2588
+ /** On blur handler. */
2589
+ 'onBlur': {
2590
+ label: 'On blur handler';
2558
2591
  type: 'raw';
2559
2592
  options: {
2560
- valueType: `HeartwoodTypes.Card`;
2593
+ valueType: `() => void | Promise<void>`;
2561
2594
  };
2562
2595
  };
2563
- };
2564
- }
2565
- interface NavigationButtonDropdownEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdownSchema> {
2566
- }
2567
- }
2568
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2569
- interface RouterDestination {
2570
- 'id': (HeartwoodTypes.SkillViewControllerId);
2571
- 'args'?: (Record<string, any>) | undefined | null;
2572
- }
2573
- interface RouterDestinationSchema extends SpruceSchema.Schema {
2574
- id: 'routerDestination';
2575
- version: 'v2021_02_11';
2576
- namespace: 'HeartwoodViewControllers';
2577
- name: 'router destination';
2578
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2579
- fields: {
2580
2596
  /** . */
2581
- 'id': {
2582
- type: 'raw';
2583
- isRequired: true;
2597
+ 'rightButtons': {
2598
+ type: 'schema';
2599
+ isArray: true;
2584
2600
  options: {
2585
- valueType: `HeartwoodTypes.SkillViewControllerId`;
2601
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.InputButtonSchema;
2586
2602
  };
2587
2603
  };
2604
+ /** Placeholder. */
2605
+ 'placeholder': {
2606
+ label: 'Placeholder';
2607
+ type: 'text';
2608
+ options: undefined;
2609
+ };
2588
2610
  /** . */
2589
- 'args': {
2590
- type: 'raw';
2611
+ 'choices': {
2612
+ type: 'schema';
2613
+ isRequired: true;
2614
+ isArray: true;
2591
2615
  options: {
2592
- valueType: `Record<string, any>`;
2616
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SelectInputChoiceSchema;
2593
2617
  };
2594
2618
  };
2595
2619
  };
2596
2620
  }
2597
- interface RouterDestinationEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema> {
2621
+ interface SelectInputEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SelectInputSchema> {
2598
2622
  }
2599
2623
  }
2600
2624
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2601
- interface PermissionContractReference {
2602
- 'id'?: (MercuryTypes.PermissionContractId) | undefined | null;
2625
+ interface ProgressNavigatorStep {
2626
+ 'id': string;
2627
+ 'label': string;
2628
+ 'isComplete'?: boolean | undefined | null;
2629
+ 'hasError'?: boolean | undefined | null;
2603
2630
  }
2604
- interface PermissionContractReferenceSchema extends SpruceSchema.Schema {
2605
- id: 'permissionContractReference';
2631
+ interface ProgressNavigatorStepSchema extends SpruceSchema.Schema {
2632
+ id: 'progressNavigatorStep';
2606
2633
  version: 'v2021_02_11';
2607
2634
  namespace: 'HeartwoodViewControllers';
2608
- name: 'Permission contract reference';
2635
+ name: '';
2609
2636
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2610
2637
  fields: {
2611
2638
  /** . */
2612
2639
  'id': {
2613
- type: 'raw';
2614
- options: {
2615
- valueType: `MercuryTypes.PermissionContractId`;
2616
- };
2640
+ type: 'id';
2641
+ isRequired: true;
2642
+ options: undefined;
2643
+ };
2644
+ /** . */
2645
+ 'label': {
2646
+ type: 'text';
2647
+ isRequired: true;
2648
+ options: undefined;
2649
+ };
2650
+ /** . */
2651
+ 'isComplete': {
2652
+ type: 'boolean';
2653
+ options: undefined;
2654
+ };
2655
+ /** . */
2656
+ 'hasError': {
2657
+ type: 'boolean';
2658
+ options: undefined;
2617
2659
  };
2618
2660
  };
2619
2661
  }
2620
- interface PermissionContractReferenceEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema> {
2662
+ interface ProgressNavigatorStepEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorStepSchema> {
2621
2663
  }
2622
2664
  }
2623
2665
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
2624
- interface NavigationButton {
2666
+ interface ProgressNavigator {
2667
+ 'currentStepId'?: string | undefined | null;
2668
+ 'processLabel'?: string | undefined | null;
2625
2669
  /** Line icon. */
2626
- 'lineIcon': ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "bookmark-filled" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "fav-heart-filled" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out");
2627
- 'id': string;
2628
- 'viewPermissionContract'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReference | undefined | null;
2629
- /** Destination skill view controller. */
2630
- 'destination'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination | undefined | null;
2631
- /** Selected. */
2632
- 'isEnabled'?: boolean | undefined | null;
2633
- /** Label. */
2634
- 'label'?: string | undefined | null;
2635
- /** Click handler. */
2636
- 'onClick'?: (() => Promise<any> | any) | undefined | null;
2637
- /** Image. */
2638
- 'image'?: string | undefined | null;
2639
- /** Avatar. */
2640
- 'avatar'?: string | undefined | null;
2641
- /** Dropdown. */
2642
- 'dropdown'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdown | undefined | null;
2670
+ 'lineIcon'?: ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "bookmark-filled" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "fav-heart-filled" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out") | undefined | null;
2671
+ 'controller'?: (HeartwoodTypes.ViewController<HeartwoodTypes.ProgressNavigator>) | undefined | null;
2672
+ 'steps': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorStep[];
2643
2673
  }
2644
- interface NavigationButtonSchema extends SpruceSchema.Schema {
2645
- id: 'navigationButton';
2674
+ interface ProgressNavigatorSchema extends SpruceSchema.Schema {
2675
+ id: 'progressNavigator';
2646
2676
  version: 'v2021_02_11';
2647
2677
  namespace: 'HeartwoodViewControllers';
2648
- name: 'Navigation button';
2678
+ name: 'Progress Navigator';
2649
2679
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
2650
2680
  fields: {
2681
+ /** . */
2682
+ 'currentStepId': {
2683
+ type: 'id';
2684
+ options: undefined;
2685
+ };
2686
+ /** . */
2687
+ 'processLabel': {
2688
+ type: 'text';
2689
+ options: undefined;
2690
+ };
2651
2691
  /** Line icon. */
2652
2692
  'lineIcon': {
2653
2693
  label: 'Line icon';
2654
2694
  type: 'select';
2655
- isRequired: true;
2656
2695
  options: {
2657
2696
  choices: [{
2658
2697
  "value": "add-circle";
@@ -3087,70 +3126,79 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3087
3126
  };
3088
3127
  };
3089
3128
  /** . */
3090
- 'id': {
3091
- type: 'id';
3092
- isRequired: true;
3093
- options: undefined;
3129
+ 'controller': {
3130
+ type: 'raw';
3131
+ options: {
3132
+ valueType: `HeartwoodTypes.ViewController<HeartwoodTypes.ProgressNavigator>`;
3133
+ };
3094
3134
  };
3095
3135
  /** . */
3096
- 'viewPermissionContract': {
3136
+ 'steps': {
3097
3137
  type: 'schema';
3138
+ isRequired: true;
3139
+ isArray: true;
3098
3140
  options: {
3099
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema;
3141
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorStepSchema;
3100
3142
  };
3101
3143
  };
3102
- /** Destination skill view controller. */
3103
- 'destination': {
3104
- label: 'Destination skill view controller';
3105
- type: 'schema';
3144
+ };
3145
+ }
3146
+ interface ProgressNavigatorEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ProgressNavigatorSchema> {
3147
+ }
3148
+ }
3149
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
3150
+ interface RouterDestination {
3151
+ 'id': (HeartwoodTypes.SkillViewControllerId);
3152
+ 'args'?: (Record<string, any>) | undefined | null;
3153
+ }
3154
+ interface RouterDestinationSchema extends SpruceSchema.Schema {
3155
+ id: 'routerDestination';
3156
+ version: 'v2021_02_11';
3157
+ namespace: 'HeartwoodViewControllers';
3158
+ name: 'router destination';
3159
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
3160
+ fields: {
3161
+ /** . */
3162
+ 'id': {
3163
+ type: 'raw';
3164
+ isRequired: true;
3106
3165
  options: {
3107
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
3166
+ valueType: `HeartwoodTypes.SkillViewControllerId`;
3108
3167
  };
3109
3168
  };
3110
- /** Selected. */
3111
- 'isEnabled': {
3112
- label: 'Selected';
3113
- type: 'boolean';
3114
- defaultValue: true;
3115
- options: undefined;
3116
- };
3117
- /** Label. */
3118
- 'label': {
3119
- label: 'Label';
3120
- type: 'text';
3121
- options: undefined;
3122
- };
3123
- /** Click handler. */
3124
- 'onClick': {
3125
- label: 'Click handler';
3169
+ /** . */
3170
+ 'args': {
3126
3171
  type: 'raw';
3127
3172
  options: {
3128
- valueType: `() => Promise<any> | any`;
3173
+ valueType: `Record<string, any>`;
3129
3174
  };
3130
3175
  };
3131
- /** Image. */
3132
- 'image': {
3133
- label: 'Image';
3134
- type: 'text';
3135
- options: undefined;
3136
- };
3137
- /** Avatar. */
3138
- 'avatar': {
3139
- label: 'Avatar';
3140
- type: 'text';
3141
- options: undefined;
3142
- };
3143
- /** Dropdown. */
3144
- 'dropdown': {
3145
- label: 'Dropdown';
3146
- type: 'schema';
3176
+ };
3177
+ }
3178
+ interface RouterDestinationEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema> {
3179
+ }
3180
+ }
3181
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
3182
+ interface PermissionContractReference {
3183
+ 'id'?: (MercuryTypes.PermissionContractId) | undefined | null;
3184
+ }
3185
+ interface PermissionContractReferenceSchema extends SpruceSchema.Schema {
3186
+ id: 'permissionContractReference';
3187
+ version: 'v2021_02_11';
3188
+ namespace: 'HeartwoodViewControllers';
3189
+ name: 'Permission contract reference';
3190
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
3191
+ fields: {
3192
+ /** . */
3193
+ 'id': {
3194
+ type: 'raw';
3147
3195
  options: {
3148
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdownSchema;
3196
+ valueType: `MercuryTypes.PermissionContractId`;
3149
3197
  };
3150
3198
  };
3151
3199
  };
3152
3200
  }
3153
- interface NavigationButtonEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonSchema> {
3201
+ interface PermissionContractReferenceEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema> {
3154
3202
  }
3155
3203
  }
3156
3204
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
@@ -4172,443 +4220,142 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4172
4220
  choices: [{
4173
4221
  "value": "left";
4174
4222
  "label": "Left";
4175
- }, {
4176
- "value": "bottom";
4177
- "label": "Bottom";
4178
- }, {
4179
- "value": "right";
4180
- "label": "Right";
4181
- }];
4182
- };
4183
- };
4184
- /** Click handler. */
4185
- 'onClick': {
4186
- label: 'Click handler';
4187
- type: 'raw';
4188
- options: {
4189
- valueType: `(dropdown: HeartwoodTypes.DropdownController ) => Promise<void> | void`;
4190
- };
4191
- };
4192
- /** Style. */
4193
- 'style': {
4194
- label: 'Style';
4195
- type: 'select';
4196
- options: {
4197
- choices: [{
4198
- "value": "button";
4199
- "label": "Button";
4200
- }, {
4201
- "value": "link";
4202
- "label": "Link";
4203
- }];
4204
- };
4205
- };
4206
- /** . */
4207
- 'viewPermissionContract': {
4208
- type: 'schema';
4209
- options: {
4210
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema;
4211
- };
4212
- };
4213
- /** Destination skill view controller. */
4214
- 'destination': {
4215
- label: 'Destination skill view controller';
4216
- type: 'schema';
4217
- options: {
4218
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
4219
- };
4220
- };
4221
- };
4222
- }
4223
- interface NavigationDropdownButtonEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationDropdownButtonSchema> {
4224
- }
4225
- }
4226
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4227
- interface NavigationRoute {
4228
- 'viewPermissionContract'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReference | undefined | null;
4229
- 'destination': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination;
4230
- }
4231
- interface NavigationRouteSchema extends SpruceSchema.Schema {
4232
- id: 'navigationRoute';
4233
- version: 'v2021_02_11';
4234
- namespace: 'HeartwoodViewControllers';
4235
- name: '';
4236
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4237
- fields: {
4238
- /** . */
4239
- 'viewPermissionContract': {
4240
- type: 'schema';
4241
- options: {
4242
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema;
4243
- };
4244
- };
4245
- /** . */
4246
- 'destination': {
4247
- type: 'schema';
4248
- isRequired: true;
4249
- options: {
4250
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
4251
- };
4252
- };
4253
- };
4254
- }
4255
- interface NavigationRouteEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationRouteSchema> {
4256
- }
4257
- }
4258
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4259
- interface Navigation {
4260
- /** Render button labels. Should the button labels be rendered? */
4261
- 'shouldRenderButtonLabels'?: boolean | undefined | null;
4262
- /** Is visible. Should the navigation be visible? Defaults to true. */
4263
- 'isVisible'?: boolean | undefined | null;
4264
- /** Controller. */
4265
- 'controller'?: (HeartwoodTypes.ViewController<HeartwoodTypes.Navigation>) | undefined | null;
4266
- 'buttons'?: (HeartwoodTypes.NavigationItem)[] | undefined | null;
4267
- /** Set refresh permissions handler. The handler you pass here will be called when the navigation asks to refresh permissions. */
4268
- 'setRefreshPermissionsHandler': ((cb: HeartwoodTypes.RefreshNavigationPermissionsHandler) => void);
4269
- 'additionalValidRoutes'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationRoute[] | undefined | null;
4270
- }
4271
- interface NavigationSchema extends SpruceSchema.Schema {
4272
- id: 'navigation';
4273
- version: 'v2021_02_11';
4274
- namespace: 'HeartwoodViewControllers';
4275
- name: 'Navigation';
4276
- importsWhenRemote: ['import * as MercuryTypes from \'@sprucelabs/mercury-types\''];
4277
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4278
- fields: {
4279
- /** Render button labels. Should the button labels be rendered? */
4280
- 'shouldRenderButtonLabels': {
4281
- label: 'Render button labels';
4282
- type: 'boolean';
4283
- hint: 'Should the button labels be rendered?';
4284
- options: undefined;
4285
- };
4286
- /** Is visible. Should the navigation be visible? Defaults to true. */
4287
- 'isVisible': {
4288
- label: 'Is visible';
4289
- type: 'boolean';
4290
- hint: 'Should the navigation be visible? Defaults to true.';
4291
- options: undefined;
4292
- };
4293
- /** Controller. */
4294
- 'controller': {
4295
- label: 'Controller';
4296
- type: 'raw';
4297
- options: {
4298
- valueType: `HeartwoodTypes.ViewController<HeartwoodTypes.Navigation>`;
4299
- };
4300
- };
4301
- /** . */
4302
- 'buttons': {
4303
- type: 'raw';
4304
- isArray: true;
4305
- options: {
4306
- valueType: `HeartwoodTypes.NavigationItem`;
4307
- };
4308
- };
4309
- /** Set refresh permissions handler. The handler you pass here will be called when the navigation asks to refresh permissions. */
4310
- 'setRefreshPermissionsHandler': {
4311
- label: 'Set refresh permissions handler';
4312
- type: 'raw';
4313
- isRequired: true;
4314
- hint: 'The handler you pass here will be called when the navigation asks to refresh permissions.';
4315
- options: {
4316
- valueType: `(cb: HeartwoodTypes.RefreshNavigationPermissionsHandler) => void`;
4317
- };
4318
- };
4319
- /** . */
4320
- 'additionalValidRoutes': {
4321
- type: 'schema';
4322
- isArray: true;
4323
- minArrayLength: 0;
4324
- options: {
4325
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationRouteSchema;
4326
- };
4327
- };
4328
- };
4329
- }
4330
- interface NavigationEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationSchema> {
4331
- }
4332
- }
4333
- namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4334
- interface LockScreen {
4335
- 'id'?: string | undefined | null;
4336
- /** Controller. */
4337
- 'controller'?: (HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.LockScreen>) | undefined | null;
4338
- /** Center vertically. */
4339
- 'shouldCenterVertically'?: boolean | undefined | null;
4340
- /** Full screen. */
4341
- 'isFullScreen'?: boolean | undefined | null;
4342
- 'title'?: string | undefined | null;
4343
- 'subtitle'?: string | undefined | null;
4344
- 'description'?: string | undefined | null;
4345
- /** Width. */
4346
- 'width'?: ("wide" | "tight" | "full") | undefined | null;
4347
- /** Layout. */
4348
- 'layouts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayout[] | undefined | null;
4349
- /** Card controller. */
4350
- 'skillViewController'?: (HeartwoodTypes.SkillViewController) | undefined | null;
4351
- }
4352
- interface LockScreenSchema extends SpruceSchema.Schema {
4353
- id: 'lockScreen';
4354
- version: 'v2021_02_11';
4355
- namespace: 'HeartwoodViewControllers';
4356
- name: 'lock screen';
4357
- moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4358
- fields: {
4359
- /** . */
4360
- 'id': {
4361
- type: 'id';
4362
- isPrivate: true;
4363
- options: undefined;
4223
+ }, {
4224
+ "value": "bottom";
4225
+ "label": "Bottom";
4226
+ }, {
4227
+ "value": "right";
4228
+ "label": "Right";
4229
+ }];
4230
+ };
4364
4231
  };
4365
- /** Controller. */
4366
- 'controller': {
4367
- label: 'Controller';
4232
+ /** Click handler. */
4233
+ 'onClick': {
4234
+ label: 'Click handler';
4368
4235
  type: 'raw';
4369
4236
  options: {
4370
- valueType: `HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.LockScreen>`;
4237
+ valueType: `(dropdown: HeartwoodTypes.DropdownController ) => Promise<void> | void`;
4371
4238
  };
4372
4239
  };
4373
- /** Center vertically. */
4374
- 'shouldCenterVertically': {
4375
- label: 'Center vertically';
4376
- type: 'boolean';
4377
- defaultValue: false;
4378
- options: undefined;
4379
- };
4380
- /** Full screen. */
4381
- 'isFullScreen': {
4382
- label: 'Full screen';
4383
- type: 'boolean';
4384
- options: undefined;
4385
- };
4386
- /** . */
4387
- 'title': {
4388
- type: 'text';
4389
- options: undefined;
4390
- };
4391
- /** . */
4392
- 'subtitle': {
4393
- type: 'text';
4394
- options: undefined;
4395
- };
4396
- /** . */
4397
- 'description': {
4398
- type: 'text';
4399
- options: undefined;
4400
- };
4401
- /** Width. */
4402
- 'width': {
4403
- label: 'Width';
4240
+ /** Style. */
4241
+ 'style': {
4242
+ label: 'Style';
4404
4243
  type: 'select';
4405
- defaultValue: "tight";
4406
4244
  options: {
4407
4245
  choices: [{
4408
- "value": "wide";
4409
- "label": "Wide";
4410
- }, {
4411
- "value": "tight";
4412
- "label": "Tight";
4246
+ "value": "button";
4247
+ "label": "Button";
4413
4248
  }, {
4414
- "value": "full";
4415
- "label": "Full width";
4249
+ "value": "link";
4250
+ "label": "Link";
4416
4251
  }];
4417
4252
  };
4418
4253
  };
4419
- /** Layout. */
4420
- 'layouts': {
4421
- label: 'Layout';
4254
+ /** . */
4255
+ 'viewPermissionContract': {
4422
4256
  type: 'schema';
4423
- isArray: true;
4424
4257
  options: {
4425
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayoutSchema;
4258
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema;
4426
4259
  };
4427
4260
  };
4428
- /** Card controller. */
4429
- 'skillViewController': {
4430
- label: 'Card controller';
4431
- type: 'raw';
4261
+ /** Destination skill view controller. */
4262
+ 'destination': {
4263
+ label: 'Destination skill view controller';
4264
+ type: 'schema';
4432
4265
  options: {
4433
- valueType: `HeartwoodTypes.SkillViewController`;
4266
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
4434
4267
  };
4435
4268
  };
4436
4269
  };
4437
4270
  }
4438
- interface LockScreenEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.LockScreenSchema> {
4271
+ interface NavigationDropdownButtonEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationDropdownButtonSchema> {
4439
4272
  }
4440
4273
  }
4441
4274
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4442
- interface Card {
4443
- 'id'?: string | undefined | null;
4444
- 'className'?: string | undefined | null;
4445
- /** Controller. */
4446
- 'controller'?: (HeartwoodTypes.CardViewController) | undefined | null;
4447
- /** Header. */
4448
- 'header'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardHeader | undefined | null;
4449
- /** Critical error. */
4450
- 'criticalError'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CriticalError | undefined | null;
4451
- /** Fade in. */
4452
- 'shouldFadeIn'?: boolean | undefined | null;
4453
- /** Style. */
4454
- 'style'?: ("standard" | "informational" | "visual" | "heading") | undefined | null;
4455
- /** Background image. The URL of an image to use as the background of the card. */
4456
- 'backgroundImage'?: string | undefined | null;
4457
- /** Background image size. */
4458
- 'backgroundImageSize'?: ("cover" | "contain") | undefined | null;
4459
- /** Click handler. */
4460
- 'onClick'?: (() => Promise<any> | any) | undefined | null;
4461
- /** Body. Card bodies are comprised of sections. You will want at least 1 to get started. */
4462
- 'body'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardBody | undefined | null;
4463
- /** Footer. */
4464
- 'footer'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardFooter | undefined | null;
4275
+ interface NavigationButtonDropdown {
4276
+ /** Position. */
4277
+ 'position'?: ("top" | "right" | "bottom" | "left") | undefined | null;
4278
+ 'items'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationDropdownButton[] | undefined | null;
4279
+ 'card'?: (HeartwoodTypes.Card) | undefined | null;
4465
4280
  }
4466
- interface CardSchema extends SpruceSchema.Schema {
4467
- id: 'card';
4281
+ interface NavigationButtonDropdownSchema extends SpruceSchema.Schema {
4282
+ id: 'navigationButtonDropdown';
4468
4283
  version: 'v2021_02_11';
4469
4284
  namespace: 'HeartwoodViewControllers';
4470
- name: 'Card';
4285
+ name: '';
4471
4286
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4472
4287
  fields: {
4473
- /** . */
4474
- 'id': {
4475
- type: 'id';
4476
- options: undefined;
4477
- };
4478
- /** . */
4479
- 'className': {
4480
- type: 'text';
4481
- isPrivate: true;
4482
- options: undefined;
4483
- };
4484
- /** Controller. */
4485
- 'controller': {
4486
- label: 'Controller';
4487
- type: 'raw';
4488
- options: {
4489
- valueType: `HeartwoodTypes.CardViewController`;
4490
- };
4491
- };
4492
- /** Header. */
4493
- 'header': {
4494
- label: 'Header';
4495
- type: 'schema';
4496
- options: {
4497
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardHeaderSchema;
4498
- };
4499
- };
4500
- /** Critical error. */
4501
- 'criticalError': {
4502
- label: 'Critical error';
4503
- type: 'schema';
4504
- options: {
4505
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CriticalErrorSchema;
4506
- };
4507
- };
4508
- /** Fade in. */
4509
- 'shouldFadeIn': {
4510
- label: 'Fade in';
4511
- type: 'boolean';
4512
- defaultValue: true;
4513
- options: undefined;
4514
- };
4515
- /** Style. */
4516
- 'style': {
4517
- label: 'Style';
4288
+ /** Position. */
4289
+ 'position': {
4290
+ label: 'Position';
4518
4291
  type: 'select';
4519
4292
  options: {
4520
4293
  choices: [{
4521
- "value": "standard";
4522
- "label": "Standard";
4523
- }, {
4524
- "value": "informational";
4525
- "label": "Informational";
4294
+ "label": "Top";
4295
+ "value": "top";
4526
4296
  }, {
4527
- "value": "visual";
4528
- "label": "Visual";
4297
+ "label": "Right";
4298
+ "value": "right";
4529
4299
  }, {
4530
- "value": "heading";
4531
- "label": "Heading";
4532
- }];
4533
- };
4534
- };
4535
- /** Background image. The URL of an image to use as the background of the card. */
4536
- 'backgroundImage': {
4537
- label: 'Background image';
4538
- type: 'text';
4539
- hint: 'The URL of an image to use as the background of the card.';
4540
- options: undefined;
4541
- };
4542
- /** Background image size. */
4543
- 'backgroundImageSize': {
4544
- label: 'Background image size';
4545
- type: 'select';
4546
- options: {
4547
- choices: [{
4548
- "value": "cover";
4549
- "label": "Cover";
4300
+ "label": "Bottom";
4301
+ "value": "bottom";
4550
4302
  }, {
4551
- "value": "contain";
4552
- "label": "Contain";
4303
+ "label": "Left";
4304
+ "value": "left";
4553
4305
  }];
4554
4306
  };
4555
4307
  };
4556
- /** Click handler. */
4557
- 'onClick': {
4558
- label: 'Click handler';
4559
- type: 'raw';
4560
- options: {
4561
- valueType: `() => Promise<any> | any`;
4562
- };
4563
- };
4564
- /** Body. Card bodies are comprised of sections. You will want at least 1 to get started. */
4565
- 'body': {
4566
- label: 'Body';
4308
+ /** . */
4309
+ 'items': {
4567
4310
  type: 'schema';
4568
- hint: 'Card bodies are comprised of sections. You will want at least 1 to get started.';
4311
+ isArray: true;
4569
4312
  options: {
4570
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardBodySchema;
4313
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationDropdownButtonSchema;
4571
4314
  };
4572
4315
  };
4573
- /** Footer. */
4574
- 'footer': {
4575
- label: 'Footer';
4576
- type: 'schema';
4316
+ /** . */
4317
+ 'card': {
4318
+ type: 'raw';
4577
4319
  options: {
4578
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardFooterSchema;
4320
+ valueType: `HeartwoodTypes.Card`;
4579
4321
  };
4580
4322
  };
4581
4323
  };
4582
4324
  }
4583
- interface CardEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardSchema> {
4325
+ interface NavigationButtonDropdownEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdownSchema> {
4584
4326
  }
4585
4327
  }
4586
4328
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4587
- interface ToolBeltTool {
4588
- /** Id. */
4589
- 'id': string;
4590
- /** Icon. */
4329
+ interface NavigationButton {
4330
+ /** Line icon. */
4591
4331
  'lineIcon': ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "bookmark-filled" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "fav-heart-filled" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out");
4592
- /** Card. */
4593
- 'card': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
4332
+ 'id': string;
4333
+ 'viewPermissionContract'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReference | undefined | null;
4334
+ /** Destination skill view controller. */
4335
+ 'destination'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination | undefined | null;
4336
+ /** Selected. */
4337
+ 'isEnabled'?: boolean | undefined | null;
4338
+ /** Label. */
4339
+ 'label'?: string | undefined | null;
4340
+ /** Click handler. */
4341
+ 'onClick'?: (() => Promise<any> | any) | undefined | null;
4342
+ /** Image. */
4343
+ 'image'?: string | undefined | null;
4344
+ /** Avatar. */
4345
+ 'avatar'?: string | undefined | null;
4346
+ /** Dropdown. */
4347
+ 'dropdown'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdown | undefined | null;
4594
4348
  }
4595
- interface ToolBeltToolSchema extends SpruceSchema.Schema {
4596
- id: 'toolBeltTool';
4349
+ interface NavigationButtonSchema extends SpruceSchema.Schema {
4350
+ id: 'navigationButton';
4597
4351
  version: 'v2021_02_11';
4598
4352
  namespace: 'HeartwoodViewControllers';
4599
- name: '';
4353
+ name: 'Navigation button';
4600
4354
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4601
4355
  fields: {
4602
- /** Id. */
4603
- 'id': {
4604
- label: 'Id';
4605
- type: 'id';
4606
- isRequired: true;
4607
- options: undefined;
4608
- };
4609
- /** Icon. */
4356
+ /** Line icon. */
4610
4357
  'lineIcon': {
4611
- label: 'Icon';
4358
+ label: 'Line icon';
4612
4359
  type: 'select';
4613
4360
  isRequired: true;
4614
4361
  options: {
@@ -5036,60 +4783,469 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5036
4783
  "value": "wifi";
5037
4784
  "label": "wifi";
5038
4785
  }, {
5039
- "value": "zoom-in";
5040
- "label": "zoom-in";
4786
+ "value": "zoom-in";
4787
+ "label": "zoom-in";
4788
+ }, {
4789
+ "value": "zoom-out";
4790
+ "label": "zoom-out";
4791
+ }];
4792
+ };
4793
+ };
4794
+ /** . */
4795
+ 'id': {
4796
+ type: 'id';
4797
+ isRequired: true;
4798
+ options: undefined;
4799
+ };
4800
+ /** . */
4801
+ 'viewPermissionContract': {
4802
+ type: 'schema';
4803
+ options: {
4804
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema;
4805
+ };
4806
+ };
4807
+ /** Destination skill view controller. */
4808
+ 'destination': {
4809
+ label: 'Destination skill view controller';
4810
+ type: 'schema';
4811
+ options: {
4812
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
4813
+ };
4814
+ };
4815
+ /** Selected. */
4816
+ 'isEnabled': {
4817
+ label: 'Selected';
4818
+ type: 'boolean';
4819
+ defaultValue: true;
4820
+ options: undefined;
4821
+ };
4822
+ /** Label. */
4823
+ 'label': {
4824
+ label: 'Label';
4825
+ type: 'text';
4826
+ options: undefined;
4827
+ };
4828
+ /** Click handler. */
4829
+ 'onClick': {
4830
+ label: 'Click handler';
4831
+ type: 'raw';
4832
+ options: {
4833
+ valueType: `() => Promise<any> | any`;
4834
+ };
4835
+ };
4836
+ /** Image. */
4837
+ 'image': {
4838
+ label: 'Image';
4839
+ type: 'text';
4840
+ options: undefined;
4841
+ };
4842
+ /** Avatar. */
4843
+ 'avatar': {
4844
+ label: 'Avatar';
4845
+ type: 'text';
4846
+ options: undefined;
4847
+ };
4848
+ /** Dropdown. */
4849
+ 'dropdown': {
4850
+ label: 'Dropdown';
4851
+ type: 'schema';
4852
+ options: {
4853
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdownSchema;
4854
+ };
4855
+ };
4856
+ };
4857
+ }
4858
+ interface NavigationButtonEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonSchema> {
4859
+ }
4860
+ }
4861
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4862
+ interface NavigationRoute {
4863
+ 'viewPermissionContract'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReference | undefined | null;
4864
+ 'destination': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination;
4865
+ }
4866
+ interface NavigationRouteSchema extends SpruceSchema.Schema {
4867
+ id: 'navigationRoute';
4868
+ version: 'v2021_02_11';
4869
+ namespace: 'HeartwoodViewControllers';
4870
+ name: '';
4871
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4872
+ fields: {
4873
+ /** . */
4874
+ 'viewPermissionContract': {
4875
+ type: 'schema';
4876
+ options: {
4877
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReferenceSchema;
4878
+ };
4879
+ };
4880
+ /** . */
4881
+ 'destination': {
4882
+ type: 'schema';
4883
+ isRequired: true;
4884
+ options: {
4885
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
4886
+ };
4887
+ };
4888
+ };
4889
+ }
4890
+ interface NavigationRouteEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationRouteSchema> {
4891
+ }
4892
+ }
4893
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4894
+ interface Navigation {
4895
+ /** Render button labels. Should the button labels be rendered? */
4896
+ 'shouldRenderButtonLabels'?: boolean | undefined | null;
4897
+ /** Is visible. Should the navigation be visible? Defaults to true. */
4898
+ 'isVisible'?: boolean | undefined | null;
4899
+ /** Controller. */
4900
+ 'controller'?: (HeartwoodTypes.ViewController<HeartwoodTypes.Navigation>) | undefined | null;
4901
+ 'buttons'?: (HeartwoodTypes.NavigationItem)[] | undefined | null;
4902
+ /** Set refresh permissions handler. The handler you pass here will be called when the navigation asks to refresh permissions. */
4903
+ 'setRefreshPermissionsHandler': ((cb: HeartwoodTypes.RefreshNavigationPermissionsHandler) => void);
4904
+ 'additionalValidRoutes'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationRoute[] | undefined | null;
4905
+ }
4906
+ interface NavigationSchema extends SpruceSchema.Schema {
4907
+ id: 'navigation';
4908
+ version: 'v2021_02_11';
4909
+ namespace: 'HeartwoodViewControllers';
4910
+ name: 'Navigation';
4911
+ importsWhenRemote: ['import * as MercuryTypes from \'@sprucelabs/mercury-types\''];
4912
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4913
+ fields: {
4914
+ /** Render button labels. Should the button labels be rendered? */
4915
+ 'shouldRenderButtonLabels': {
4916
+ label: 'Render button labels';
4917
+ type: 'boolean';
4918
+ hint: 'Should the button labels be rendered?';
4919
+ options: undefined;
4920
+ };
4921
+ /** Is visible. Should the navigation be visible? Defaults to true. */
4922
+ 'isVisible': {
4923
+ label: 'Is visible';
4924
+ type: 'boolean';
4925
+ hint: 'Should the navigation be visible? Defaults to true.';
4926
+ options: undefined;
4927
+ };
4928
+ /** Controller. */
4929
+ 'controller': {
4930
+ label: 'Controller';
4931
+ type: 'raw';
4932
+ options: {
4933
+ valueType: `HeartwoodTypes.ViewController<HeartwoodTypes.Navigation>`;
4934
+ };
4935
+ };
4936
+ /** . */
4937
+ 'buttons': {
4938
+ type: 'raw';
4939
+ isArray: true;
4940
+ options: {
4941
+ valueType: `HeartwoodTypes.NavigationItem`;
4942
+ };
4943
+ };
4944
+ /** Set refresh permissions handler. The handler you pass here will be called when the navigation asks to refresh permissions. */
4945
+ 'setRefreshPermissionsHandler': {
4946
+ label: 'Set refresh permissions handler';
4947
+ type: 'raw';
4948
+ isRequired: true;
4949
+ hint: 'The handler you pass here will be called when the navigation asks to refresh permissions.';
4950
+ options: {
4951
+ valueType: `(cb: HeartwoodTypes.RefreshNavigationPermissionsHandler) => void`;
4952
+ };
4953
+ };
4954
+ /** . */
4955
+ 'additionalValidRoutes': {
4956
+ type: 'schema';
4957
+ isArray: true;
4958
+ minArrayLength: 0;
4959
+ options: {
4960
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationRouteSchema;
4961
+ };
4962
+ };
4963
+ };
4964
+ }
4965
+ interface NavigationEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationSchema> {
4966
+ }
4967
+ }
4968
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
4969
+ interface LockScreen {
4970
+ 'id'?: string | undefined | null;
4971
+ /** Controller. */
4972
+ 'controller'?: (HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.LockScreen>) | undefined | null;
4973
+ /** Center vertically. */
4974
+ 'shouldCenterVertically'?: boolean | undefined | null;
4975
+ /** Full screen. */
4976
+ 'isFullScreen'?: boolean | undefined | null;
4977
+ 'title'?: string | undefined | null;
4978
+ 'subtitle'?: string | undefined | null;
4979
+ 'description'?: string | undefined | null;
4980
+ /** Width. */
4981
+ 'width'?: ("wide" | "tight" | "full") | undefined | null;
4982
+ /** Layout. */
4983
+ 'layouts'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayout[] | undefined | null;
4984
+ /** Card controller. */
4985
+ 'skillViewController'?: (HeartwoodTypes.SkillViewController) | undefined | null;
4986
+ }
4987
+ interface LockScreenSchema extends SpruceSchema.Schema {
4988
+ id: 'lockScreen';
4989
+ version: 'v2021_02_11';
4990
+ namespace: 'HeartwoodViewControllers';
4991
+ name: 'lock screen';
4992
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
4993
+ fields: {
4994
+ /** . */
4995
+ 'id': {
4996
+ type: 'id';
4997
+ isPrivate: true;
4998
+ options: undefined;
4999
+ };
5000
+ /** Controller. */
5001
+ 'controller': {
5002
+ label: 'Controller';
5003
+ type: 'raw';
5004
+ options: {
5005
+ valueType: `HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.LockScreen>`;
5006
+ };
5007
+ };
5008
+ /** Center vertically. */
5009
+ 'shouldCenterVertically': {
5010
+ label: 'Center vertically';
5011
+ type: 'boolean';
5012
+ defaultValue: false;
5013
+ options: undefined;
5014
+ };
5015
+ /** Full screen. */
5016
+ 'isFullScreen': {
5017
+ label: 'Full screen';
5018
+ type: 'boolean';
5019
+ options: undefined;
5020
+ };
5021
+ /** . */
5022
+ 'title': {
5023
+ type: 'text';
5024
+ options: undefined;
5025
+ };
5026
+ /** . */
5027
+ 'subtitle': {
5028
+ type: 'text';
5029
+ options: undefined;
5030
+ };
5031
+ /** . */
5032
+ 'description': {
5033
+ type: 'text';
5034
+ options: undefined;
5035
+ };
5036
+ /** Width. */
5037
+ 'width': {
5038
+ label: 'Width';
5039
+ type: 'select';
5040
+ defaultValue: "tight";
5041
+ options: {
5042
+ choices: [{
5043
+ "value": "wide";
5044
+ "label": "Wide";
5045
+ }, {
5046
+ "value": "tight";
5047
+ "label": "Tight";
5041
5048
  }, {
5042
- "value": "zoom-out";
5043
- "label": "zoom-out";
5049
+ "value": "full";
5050
+ "label": "Full width";
5044
5051
  }];
5045
5052
  };
5046
5053
  };
5047
- /** Card. */
5048
- 'card': {
5049
- label: 'Card';
5054
+ /** Layout. */
5055
+ 'layouts': {
5056
+ label: 'Layout';
5050
5057
  type: 'schema';
5051
- isRequired: true;
5058
+ isArray: true;
5052
5059
  options: {
5053
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardSchema;
5060
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.SkillViewLayoutSchema;
5061
+ };
5062
+ };
5063
+ /** Card controller. */
5064
+ 'skillViewController': {
5065
+ label: 'Card controller';
5066
+ type: 'raw';
5067
+ options: {
5068
+ valueType: `HeartwoodTypes.SkillViewController`;
5054
5069
  };
5055
5070
  };
5056
5071
  };
5057
5072
  }
5058
- interface ToolBeltToolEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltToolSchema> {
5073
+ interface LockScreenEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.LockScreenSchema> {
5059
5074
  }
5060
5075
  }
5061
5076
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
5062
- interface ToolBelt {
5077
+ interface Card {
5078
+ 'id'?: string | undefined | null;
5079
+ 'className'?: string | undefined | null;
5063
5080
  /** Controller. */
5064
- 'controller'?: (HeartwoodTypes.ToolBeltViewController) | undefined | null;
5065
- /** Icon. */
5066
- 'lineIcon'?: ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "bookmark-filled" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "fav-heart-filled" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out") | undefined | null;
5067
- 'shouldRenderAllToolsAtOnce'?: boolean | undefined | null;
5068
- 'onCloseToolBelt'?: (HeartwoodTypes.ToolBeltCloseHandler) | undefined | null;
5069
- 'iconLabel'?: string | undefined | null;
5070
- 'renderAs'?: ("default" | "icon") | undefined | null;
5071
- /** Tools. */
5072
- 'tools': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltTool[];
5081
+ 'controller'?: (HeartwoodTypes.CardViewController) | undefined | null;
5082
+ /** Header. */
5083
+ 'header'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardHeader | undefined | null;
5084
+ /** Critical error. */
5085
+ 'criticalError'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CriticalError | undefined | null;
5086
+ /** Fade in. */
5087
+ 'shouldFadeIn'?: boolean | undefined | null;
5088
+ /** Style. */
5089
+ 'style'?: ("standard" | "informational" | "visual" | "heading") | undefined | null;
5090
+ /** Background image. The URL of an image to use as the background of the card. */
5091
+ 'backgroundImage'?: string | undefined | null;
5092
+ /** Background image size. */
5093
+ 'backgroundImageSize'?: ("cover" | "contain") | undefined | null;
5094
+ /** Click handler. */
5095
+ 'onClick'?: (() => Promise<any> | any) | undefined | null;
5096
+ /** Body. Card bodies are comprised of sections. You will want at least 1 to get started. */
5097
+ 'body'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardBody | undefined | null;
5098
+ /** Footer. */
5099
+ 'footer'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardFooter | undefined | null;
5073
5100
  }
5074
- interface ToolBeltSchema extends SpruceSchema.Schema {
5075
- id: 'toolBelt';
5101
+ interface CardSchema extends SpruceSchema.Schema {
5102
+ id: 'card';
5076
5103
  version: 'v2021_02_11';
5077
5104
  namespace: 'HeartwoodViewControllers';
5078
- name: 'Tool belt';
5105
+ name: 'Card';
5079
5106
  moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
5080
5107
  fields: {
5108
+ /** . */
5109
+ 'id': {
5110
+ type: 'id';
5111
+ options: undefined;
5112
+ };
5113
+ /** . */
5114
+ 'className': {
5115
+ type: 'text';
5116
+ isPrivate: true;
5117
+ options: undefined;
5118
+ };
5081
5119
  /** Controller. */
5082
5120
  'controller': {
5083
5121
  label: 'Controller';
5084
5122
  type: 'raw';
5085
5123
  options: {
5086
- valueType: `HeartwoodTypes.ToolBeltViewController`;
5124
+ valueType: `HeartwoodTypes.CardViewController`;
5125
+ };
5126
+ };
5127
+ /** Header. */
5128
+ 'header': {
5129
+ label: 'Header';
5130
+ type: 'schema';
5131
+ options: {
5132
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardHeaderSchema;
5133
+ };
5134
+ };
5135
+ /** Critical error. */
5136
+ 'criticalError': {
5137
+ label: 'Critical error';
5138
+ type: 'schema';
5139
+ options: {
5140
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CriticalErrorSchema;
5141
+ };
5142
+ };
5143
+ /** Fade in. */
5144
+ 'shouldFadeIn': {
5145
+ label: 'Fade in';
5146
+ type: 'boolean';
5147
+ defaultValue: true;
5148
+ options: undefined;
5149
+ };
5150
+ /** Style. */
5151
+ 'style': {
5152
+ label: 'Style';
5153
+ type: 'select';
5154
+ options: {
5155
+ choices: [{
5156
+ "value": "standard";
5157
+ "label": "Standard";
5158
+ }, {
5159
+ "value": "informational";
5160
+ "label": "Informational";
5161
+ }, {
5162
+ "value": "visual";
5163
+ "label": "Visual";
5164
+ }, {
5165
+ "value": "heading";
5166
+ "label": "Heading";
5167
+ }];
5168
+ };
5169
+ };
5170
+ /** Background image. The URL of an image to use as the background of the card. */
5171
+ 'backgroundImage': {
5172
+ label: 'Background image';
5173
+ type: 'text';
5174
+ hint: 'The URL of an image to use as the background of the card.';
5175
+ options: undefined;
5176
+ };
5177
+ /** Background image size. */
5178
+ 'backgroundImageSize': {
5179
+ label: 'Background image size';
5180
+ type: 'select';
5181
+ options: {
5182
+ choices: [{
5183
+ "value": "cover";
5184
+ "label": "Cover";
5185
+ }, {
5186
+ "value": "contain";
5187
+ "label": "Contain";
5188
+ }];
5189
+ };
5190
+ };
5191
+ /** Click handler. */
5192
+ 'onClick': {
5193
+ label: 'Click handler';
5194
+ type: 'raw';
5195
+ options: {
5196
+ valueType: `() => Promise<any> | any`;
5197
+ };
5198
+ };
5199
+ /** Body. Card bodies are comprised of sections. You will want at least 1 to get started. */
5200
+ 'body': {
5201
+ label: 'Body';
5202
+ type: 'schema';
5203
+ hint: 'Card bodies are comprised of sections. You will want at least 1 to get started.';
5204
+ options: {
5205
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardBodySchema;
5206
+ };
5207
+ };
5208
+ /** Footer. */
5209
+ 'footer': {
5210
+ label: 'Footer';
5211
+ type: 'schema';
5212
+ options: {
5213
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardFooterSchema;
5087
5214
  };
5088
5215
  };
5216
+ };
5217
+ }
5218
+ interface CardEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardSchema> {
5219
+ }
5220
+ }
5221
+ namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
5222
+ interface ToolBeltTool {
5223
+ /** Id. */
5224
+ 'id': string;
5225
+ /** Icon. */
5226
+ 'lineIcon': ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "bookmark-filled" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "fav-heart-filled" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out");
5227
+ /** Card. */
5228
+ 'card': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
5229
+ }
5230
+ interface ToolBeltToolSchema extends SpruceSchema.Schema {
5231
+ id: 'toolBeltTool';
5232
+ version: 'v2021_02_11';
5233
+ namespace: 'HeartwoodViewControllers';
5234
+ name: '';
5235
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
5236
+ fields: {
5237
+ /** Id. */
5238
+ 'id': {
5239
+ label: 'Id';
5240
+ type: 'id';
5241
+ isRequired: true;
5242
+ options: undefined;
5243
+ };
5089
5244
  /** Icon. */
5090
5245
  'lineIcon': {
5091
5246
  label: 'Icon';
5092
5247
  type: 'select';
5248
+ isRequired: true;
5093
5249
  options: {
5094
5250
  choices: [{
5095
5251
  "value": "add-circle";
@@ -5523,49 +5679,18 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5523
5679
  }];
5524
5680
  };
5525
5681
  };
5526
- /** . */
5527
- 'shouldRenderAllToolsAtOnce': {
5528
- type: 'boolean';
5529
- options: undefined;
5530
- };
5531
- /** . */
5532
- 'onCloseToolBelt': {
5533
- type: 'raw';
5534
- options: {
5535
- valueType: `HeartwoodTypes.ToolBeltCloseHandler`;
5536
- };
5537
- };
5538
- /** . */
5539
- 'iconLabel': {
5540
- type: 'text';
5541
- options: undefined;
5542
- };
5543
- /** . */
5544
- 'renderAs': {
5545
- type: 'select';
5546
- options: {
5547
- choices: [{
5548
- "value": "default";
5549
- "label": "Default";
5550
- }, {
5551
- "value": "icon";
5552
- "label": "Icon";
5553
- }];
5554
- };
5555
- };
5556
- /** Tools. */
5557
- 'tools': {
5558
- label: 'Tools';
5682
+ /** Card. */
5683
+ 'card': {
5684
+ label: 'Card';
5559
5685
  type: 'schema';
5560
5686
  isRequired: true;
5561
- isArray: true;
5562
5687
  options: {
5563
- schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltToolSchema;
5688
+ schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.CardSchema;
5564
5689
  };
5565
5690
  };
5566
5691
  };
5567
5692
  }
5568
- interface ToolBeltEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltSchema> {
5693
+ interface ToolBeltToolEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltToolSchema> {
5569
5694
  }
5570
5695
  }
5571
5696
  namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {