@sprucelabs/heartwood-view-controllers 121.3.21 → 122.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema.js +45 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButton.schema.js +7 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js +5 -21
- package/build/.spruce/schemas/schemas.types.d.ts +76 -28
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema.js +40 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButton.schema.js +7 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/themeProps.schema.js +5 -21
- package/build/esm/.spruce/schemas/schemas.types.d.ts +76 -28
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.js +1 -0
- package/build/esm/schemas/v2021_02_11/navigation.builder.d.ts +5 -0
- package/build/esm/schemas/v2021_02_11/navigationButton.builder.d.ts +5 -0
- package/build/esm/schemas/v2021_02_11/navigationButton.builder.js +4 -0
- package/build/esm/schemas/v2021_02_11/theme.builder.d.ts +38 -18
- package/build/esm/schemas/v2021_02_11/theme.builder.js +44 -17
- package/build/index.d.ts +1 -0
- package/build/index.js +6 -4
- package/build/schemas/v2021_02_11/navigation.builder.d.ts +5 -0
- package/build/schemas/v2021_02_11/navigationButton.builder.d.ts +5 -0
- package/build/schemas/v2021_02_11/navigationButton.builder.js +5 -0
- package/build/schemas/v2021_02_11/theme.builder.d.ts +38 -18
- package/build/schemas/v2021_02_11/theme.builder.js +44 -17
- package/package.json +6 -6
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const schema_1 = require("@sprucelabs/schema");
|
|
7
|
+
const fontSetting_schema_1 = __importDefault(require("./fontSetting.schema"));
|
|
8
|
+
const controlBarSchema = {
|
|
9
|
+
id: 'controlBar',
|
|
10
|
+
version: 'v2021_02_11',
|
|
11
|
+
namespace: 'HeartwoodViewControllers',
|
|
12
|
+
name: '',
|
|
13
|
+
moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
|
|
14
|
+
fields: {
|
|
15
|
+
/** Control bar color 1. The foreground color of the control bar. */
|
|
16
|
+
'foregroundColor': {
|
|
17
|
+
label: 'Control bar color 1',
|
|
18
|
+
type: 'text',
|
|
19
|
+
hint: 'The foreground color of the control bar.',
|
|
20
|
+
options: undefined
|
|
21
|
+
},
|
|
22
|
+
/** Control bar color 2. The background color of the control bar. */
|
|
23
|
+
'backgroundColor': {
|
|
24
|
+
label: 'Control bar color 2',
|
|
25
|
+
type: 'text',
|
|
26
|
+
hint: 'The background color of the control bar.',
|
|
27
|
+
options: undefined
|
|
28
|
+
},
|
|
29
|
+
/** Control bar font. The font used in the control bar. */
|
|
30
|
+
'font': {
|
|
31
|
+
label: 'Control bar font',
|
|
32
|
+
type: 'schema',
|
|
33
|
+
hint: 'The font used in the control bar.',
|
|
34
|
+
options: { schema: fontSetting_schema_1.default, }
|
|
35
|
+
},
|
|
36
|
+
/** Control bar size. */
|
|
37
|
+
'size': {
|
|
38
|
+
label: 'Control bar size',
|
|
39
|
+
type: 'select',
|
|
40
|
+
options: { choices: [{ "value": "medium", "label": "Standard" }, { "value": "large", "label": "Large" }], }
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
schema_1.SchemaRegistry.getInstance().trackSchema(controlBarSchema);
|
|
45
|
+
exports.default = controlBarSchema;
|
package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButton.schema.js
CHANGED
|
@@ -38,6 +38,13 @@ const navigationButtonSchema = {
|
|
|
38
38
|
type: 'schema',
|
|
39
39
|
options: { schema: routerDestination_schema_1.default, }
|
|
40
40
|
},
|
|
41
|
+
/** Is spacer. This will act as a spacer and spread buttons out evenly. */
|
|
42
|
+
'isSpacer': {
|
|
43
|
+
label: 'Is spacer',
|
|
44
|
+
type: 'boolean',
|
|
45
|
+
hint: 'This will act as a spacer and spread buttons out evenly.',
|
|
46
|
+
options: undefined
|
|
47
|
+
},
|
|
41
48
|
/** Selected. */
|
|
42
49
|
'isEnabled': {
|
|
43
50
|
label: 'Selected',
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const schema_1 = require("@sprucelabs/schema");
|
|
7
|
-
const
|
|
7
|
+
const controlBar_schema_1 = __importDefault(require("./controlBar.schema"));
|
|
8
8
|
const calendarEventColors_schema_1 = __importDefault(require("./calendarEventColors.schema"));
|
|
9
9
|
const statusIndicatorColors_schema_1 = __importDefault(require("./statusIndicatorColors.schema"));
|
|
10
10
|
const fontFamily_schema_1 = __importDefault(require("./fontFamily.schema"));
|
|
@@ -135,19 +135,10 @@ const themePropsSchema = {
|
|
|
135
135
|
hint: 'Background for buttons and menu items',
|
|
136
136
|
options: undefined
|
|
137
137
|
},
|
|
138
|
-
/**
|
|
139
|
-
'
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
hint: 'The foreground color of the control bar.',
|
|
143
|
-
options: undefined
|
|
144
|
-
},
|
|
145
|
-
/** Control bar color 2. The background color of the control bar. */
|
|
146
|
-
'controlBarColor2': {
|
|
147
|
-
label: 'Control bar color 2',
|
|
148
|
-
type: 'text',
|
|
149
|
-
hint: 'The background color of the control bar.',
|
|
150
|
-
options: undefined
|
|
138
|
+
/** . */
|
|
139
|
+
'controlBar': {
|
|
140
|
+
type: 'schema',
|
|
141
|
+
options: { schema: controlBar_schema_1.default, }
|
|
151
142
|
},
|
|
152
143
|
/** Tool belt color 2. The background color of the tool belts. */
|
|
153
144
|
'toolBeltColor2': {
|
|
@@ -156,13 +147,6 @@ const themePropsSchema = {
|
|
|
156
147
|
hint: 'The background color of the tool belts.',
|
|
157
148
|
options: undefined
|
|
158
149
|
},
|
|
159
|
-
/** Control bar font. The font used in the control bar. */
|
|
160
|
-
'controlBarFont': {
|
|
161
|
-
label: 'Control bar font',
|
|
162
|
-
type: 'schema',
|
|
163
|
-
hint: 'The font used in the control bar.',
|
|
164
|
-
options: { schema: fontSetting_schema_1.default, }
|
|
165
|
-
},
|
|
166
150
|
/** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
|
|
167
151
|
'errorColor1': {
|
|
168
152
|
label: 'Error color 1',
|
|
@@ -2076,6 +2076,66 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2076
2076
|
interface ThemeFontsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema> {
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
|
+
namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
|
|
2080
|
+
interface ControlBar {
|
|
2081
|
+
/** Control bar color 1. The foreground color of the control bar. */
|
|
2082
|
+
'foregroundColor'?: string | undefined | null;
|
|
2083
|
+
/** Control bar color 2. The background color of the control bar. */
|
|
2084
|
+
'backgroundColor'?: string | undefined | null;
|
|
2085
|
+
/** Control bar font. The font used in the control bar. */
|
|
2086
|
+
'font'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
|
|
2087
|
+
/** Control bar size. */
|
|
2088
|
+
'size'?: ("medium" | "large") | undefined | null;
|
|
2089
|
+
}
|
|
2090
|
+
interface ControlBarSchema extends SpruceSchema.Schema {
|
|
2091
|
+
id: 'controlBar';
|
|
2092
|
+
version: 'v2021_02_11';
|
|
2093
|
+
namespace: 'HeartwoodViewControllers';
|
|
2094
|
+
name: '';
|
|
2095
|
+
moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
|
|
2096
|
+
fields: {
|
|
2097
|
+
/** Control bar color 1. The foreground color of the control bar. */
|
|
2098
|
+
'foregroundColor': {
|
|
2099
|
+
label: 'Control bar color 1';
|
|
2100
|
+
type: 'text';
|
|
2101
|
+
hint: 'The foreground color of the control bar.';
|
|
2102
|
+
options: undefined;
|
|
2103
|
+
};
|
|
2104
|
+
/** Control bar color 2. The background color of the control bar. */
|
|
2105
|
+
'backgroundColor': {
|
|
2106
|
+
label: 'Control bar color 2';
|
|
2107
|
+
type: 'text';
|
|
2108
|
+
hint: 'The background color of the control bar.';
|
|
2109
|
+
options: undefined;
|
|
2110
|
+
};
|
|
2111
|
+
/** Control bar font. The font used in the control bar. */
|
|
2112
|
+
'font': {
|
|
2113
|
+
label: 'Control bar font';
|
|
2114
|
+
type: 'schema';
|
|
2115
|
+
hint: 'The font used in the control bar.';
|
|
2116
|
+
options: {
|
|
2117
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
|
|
2118
|
+
};
|
|
2119
|
+
};
|
|
2120
|
+
/** Control bar size. */
|
|
2121
|
+
'size': {
|
|
2122
|
+
label: 'Control bar size';
|
|
2123
|
+
type: 'select';
|
|
2124
|
+
options: {
|
|
2125
|
+
choices: [{
|
|
2126
|
+
"value": "medium";
|
|
2127
|
+
"label": "Standard";
|
|
2128
|
+
}, {
|
|
2129
|
+
"value": "large";
|
|
2130
|
+
"label": "Large";
|
|
2131
|
+
}];
|
|
2132
|
+
};
|
|
2133
|
+
};
|
|
2134
|
+
};
|
|
2135
|
+
}
|
|
2136
|
+
interface ControlBarEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema> {
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2079
2139
|
namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
|
|
2080
2140
|
interface StatusIndicatorColors {
|
|
2081
2141
|
/** Color 1. */
|
|
@@ -2167,14 +2227,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2167
2227
|
'color4Inverse'?: string | undefined | null;
|
|
2168
2228
|
/** Color 4 (inverse, compliment). Background for buttons and menu items */
|
|
2169
2229
|
'color4InverseCompliment'?: string | undefined | null;
|
|
2170
|
-
|
|
2171
|
-
'controlBarColor1'?: string | undefined | null;
|
|
2172
|
-
/** Control bar color 2. The background color of the control bar. */
|
|
2173
|
-
'controlBarColor2'?: string | undefined | null;
|
|
2230
|
+
'controlBar'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBar | undefined | null;
|
|
2174
2231
|
/** Tool belt color 2. The background color of the tool belts. */
|
|
2175
2232
|
'toolBeltColor2'?: string | undefined | null;
|
|
2176
|
-
/** Control bar font. The font used in the control bar. */
|
|
2177
|
-
'controlBarFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
|
|
2178
2233
|
/** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
|
|
2179
2234
|
'errorColor1'?: string | undefined | null;
|
|
2180
2235
|
/** Error color 2. The background used when rendering errors. */
|
|
@@ -2324,19 +2379,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2324
2379
|
hint: 'Background for buttons and menu items';
|
|
2325
2380
|
options: undefined;
|
|
2326
2381
|
};
|
|
2327
|
-
/**
|
|
2328
|
-
'
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
};
|
|
2334
|
-
/** Control bar color 2. The background color of the control bar. */
|
|
2335
|
-
'controlBarColor2': {
|
|
2336
|
-
label: 'Control bar color 2';
|
|
2337
|
-
type: 'text';
|
|
2338
|
-
hint: 'The background color of the control bar.';
|
|
2339
|
-
options: undefined;
|
|
2382
|
+
/** . */
|
|
2383
|
+
'controlBar': {
|
|
2384
|
+
type: 'schema';
|
|
2385
|
+
options: {
|
|
2386
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema;
|
|
2387
|
+
};
|
|
2340
2388
|
};
|
|
2341
2389
|
/** Tool belt color 2. The background color of the tool belts. */
|
|
2342
2390
|
'toolBeltColor2': {
|
|
@@ -2345,15 +2393,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2345
2393
|
hint: 'The background color of the tool belts.';
|
|
2346
2394
|
options: undefined;
|
|
2347
2395
|
};
|
|
2348
|
-
/** Control bar font. The font used in the control bar. */
|
|
2349
|
-
'controlBarFont': {
|
|
2350
|
-
label: 'Control bar font';
|
|
2351
|
-
type: 'schema';
|
|
2352
|
-
hint: 'The font used in the control bar.';
|
|
2353
|
-
options: {
|
|
2354
|
-
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
|
|
2355
|
-
};
|
|
2356
|
-
};
|
|
2357
2396
|
/** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
|
|
2358
2397
|
'errorColor1': {
|
|
2359
2398
|
label: 'Error color 1';
|
|
@@ -3416,6 +3455,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3416
3455
|
'viewPermissionContract'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReference | undefined | null;
|
|
3417
3456
|
/** Destination skill view controller. */
|
|
3418
3457
|
'destination'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination | undefined | null;
|
|
3458
|
+
/** Is spacer. This will act as a spacer and spread buttons out evenly. */
|
|
3459
|
+
'isSpacer'?: boolean | undefined | null;
|
|
3419
3460
|
/** Selected. */
|
|
3420
3461
|
'isEnabled'?: boolean | undefined | null;
|
|
3421
3462
|
/** Label. */
|
|
@@ -3873,6 +3914,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3873
3914
|
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
|
|
3874
3915
|
};
|
|
3875
3916
|
};
|
|
3917
|
+
/** Is spacer. This will act as a spacer and spread buttons out evenly. */
|
|
3918
|
+
'isSpacer': {
|
|
3919
|
+
label: 'Is spacer';
|
|
3920
|
+
type: 'boolean';
|
|
3921
|
+
hint: 'This will act as a spacer and spread buttons out evenly.';
|
|
3922
|
+
options: undefined;
|
|
3923
|
+
};
|
|
3876
3924
|
/** Selected. */
|
|
3877
3925
|
'isEnabled': {
|
|
3878
3926
|
label: 'Selected';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import fontSettingSchema_v2021_02_11 from './fontSetting.schema.js';
|
|
3
|
+
const controlBarSchema = {
|
|
4
|
+
id: 'controlBar',
|
|
5
|
+
version: 'v2021_02_11',
|
|
6
|
+
namespace: 'HeartwoodViewControllers',
|
|
7
|
+
name: '',
|
|
8
|
+
moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
|
|
9
|
+
fields: {
|
|
10
|
+
/** Control bar color 1. The foreground color of the control bar. */
|
|
11
|
+
'foregroundColor': {
|
|
12
|
+
label: 'Control bar color 1',
|
|
13
|
+
type: 'text',
|
|
14
|
+
hint: 'The foreground color of the control bar.',
|
|
15
|
+
options: undefined
|
|
16
|
+
},
|
|
17
|
+
/** Control bar color 2. The background color of the control bar. */
|
|
18
|
+
'backgroundColor': {
|
|
19
|
+
label: 'Control bar color 2',
|
|
20
|
+
type: 'text',
|
|
21
|
+
hint: 'The background color of the control bar.',
|
|
22
|
+
options: undefined
|
|
23
|
+
},
|
|
24
|
+
/** Control bar font. The font used in the control bar. */
|
|
25
|
+
'font': {
|
|
26
|
+
label: 'Control bar font',
|
|
27
|
+
type: 'schema',
|
|
28
|
+
hint: 'The font used in the control bar.',
|
|
29
|
+
options: { schema: fontSettingSchema_v2021_02_11, }
|
|
30
|
+
},
|
|
31
|
+
/** Control bar size. */
|
|
32
|
+
'size': {
|
|
33
|
+
label: 'Control bar size',
|
|
34
|
+
type: 'select',
|
|
35
|
+
options: { choices: [{ "value": "medium", "label": "Standard" }, { "value": "large", "label": "Large" }], }
|
|
36
|
+
},
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
SchemaRegistry.getInstance().trackSchema(controlBarSchema);
|
|
40
|
+
export default controlBarSchema;
|
package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButton.schema.js
CHANGED
|
@@ -33,6 +33,13 @@ const navigationButtonSchema = {
|
|
|
33
33
|
type: 'schema',
|
|
34
34
|
options: { schema: routerDestinationSchema_v2021_02_11, }
|
|
35
35
|
},
|
|
36
|
+
/** Is spacer. This will act as a spacer and spread buttons out evenly. */
|
|
37
|
+
'isSpacer': {
|
|
38
|
+
label: 'Is spacer',
|
|
39
|
+
type: 'boolean',
|
|
40
|
+
hint: 'This will act as a spacer and spread buttons out evenly.',
|
|
41
|
+
options: undefined
|
|
42
|
+
},
|
|
36
43
|
/** Selected. */
|
|
37
44
|
'isEnabled': {
|
|
38
45
|
label: 'Selected',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
import
|
|
2
|
+
import controlBarSchema_v2021_02_11 from './controlBar.schema.js';
|
|
3
3
|
import calendarEventColorsSchema_v2021_02_11 from './calendarEventColors.schema.js';
|
|
4
4
|
import statusIndicatorColorsSchema_v2021_02_11 from './statusIndicatorColors.schema.js';
|
|
5
5
|
import fontFamilySchema_v2021_02_11 from './fontFamily.schema.js';
|
|
@@ -130,19 +130,10 @@ const themePropsSchema = {
|
|
|
130
130
|
hint: 'Background for buttons and menu items',
|
|
131
131
|
options: undefined
|
|
132
132
|
},
|
|
133
|
-
/**
|
|
134
|
-
'
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
hint: 'The foreground color of the control bar.',
|
|
138
|
-
options: undefined
|
|
139
|
-
},
|
|
140
|
-
/** Control bar color 2. The background color of the control bar. */
|
|
141
|
-
'controlBarColor2': {
|
|
142
|
-
label: 'Control bar color 2',
|
|
143
|
-
type: 'text',
|
|
144
|
-
hint: 'The background color of the control bar.',
|
|
145
|
-
options: undefined
|
|
133
|
+
/** . */
|
|
134
|
+
'controlBar': {
|
|
135
|
+
type: 'schema',
|
|
136
|
+
options: { schema: controlBarSchema_v2021_02_11, }
|
|
146
137
|
},
|
|
147
138
|
/** Tool belt color 2. The background color of the tool belts. */
|
|
148
139
|
'toolBeltColor2': {
|
|
@@ -151,13 +142,6 @@ const themePropsSchema = {
|
|
|
151
142
|
hint: 'The background color of the tool belts.',
|
|
152
143
|
options: undefined
|
|
153
144
|
},
|
|
154
|
-
/** Control bar font. The font used in the control bar. */
|
|
155
|
-
'controlBarFont': {
|
|
156
|
-
label: 'Control bar font',
|
|
157
|
-
type: 'schema',
|
|
158
|
-
hint: 'The font used in the control bar.',
|
|
159
|
-
options: { schema: fontSettingSchema_v2021_02_11, }
|
|
160
|
-
},
|
|
161
145
|
/** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
|
|
162
146
|
'errorColor1': {
|
|
163
147
|
label: 'Error color 1',
|
|
@@ -2076,6 +2076,66 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2076
2076
|
interface ThemeFontsEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeFontsSchema> {
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
|
+
namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
|
|
2080
|
+
interface ControlBar {
|
|
2081
|
+
/** Control bar color 1. The foreground color of the control bar. */
|
|
2082
|
+
'foregroundColor'?: string | undefined | null;
|
|
2083
|
+
/** Control bar color 2. The background color of the control bar. */
|
|
2084
|
+
'backgroundColor'?: string | undefined | null;
|
|
2085
|
+
/** Control bar font. The font used in the control bar. */
|
|
2086
|
+
'font'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
|
|
2087
|
+
/** Control bar size. */
|
|
2088
|
+
'size'?: ("medium" | "large") | undefined | null;
|
|
2089
|
+
}
|
|
2090
|
+
interface ControlBarSchema extends SpruceSchema.Schema {
|
|
2091
|
+
id: 'controlBar';
|
|
2092
|
+
version: 'v2021_02_11';
|
|
2093
|
+
namespace: 'HeartwoodViewControllers';
|
|
2094
|
+
name: '';
|
|
2095
|
+
moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers';
|
|
2096
|
+
fields: {
|
|
2097
|
+
/** Control bar color 1. The foreground color of the control bar. */
|
|
2098
|
+
'foregroundColor': {
|
|
2099
|
+
label: 'Control bar color 1';
|
|
2100
|
+
type: 'text';
|
|
2101
|
+
hint: 'The foreground color of the control bar.';
|
|
2102
|
+
options: undefined;
|
|
2103
|
+
};
|
|
2104
|
+
/** Control bar color 2. The background color of the control bar. */
|
|
2105
|
+
'backgroundColor': {
|
|
2106
|
+
label: 'Control bar color 2';
|
|
2107
|
+
type: 'text';
|
|
2108
|
+
hint: 'The background color of the control bar.';
|
|
2109
|
+
options: undefined;
|
|
2110
|
+
};
|
|
2111
|
+
/** Control bar font. The font used in the control bar. */
|
|
2112
|
+
'font': {
|
|
2113
|
+
label: 'Control bar font';
|
|
2114
|
+
type: 'schema';
|
|
2115
|
+
hint: 'The font used in the control bar.';
|
|
2116
|
+
options: {
|
|
2117
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
|
|
2118
|
+
};
|
|
2119
|
+
};
|
|
2120
|
+
/** Control bar size. */
|
|
2121
|
+
'size': {
|
|
2122
|
+
label: 'Control bar size';
|
|
2123
|
+
type: 'select';
|
|
2124
|
+
options: {
|
|
2125
|
+
choices: [{
|
|
2126
|
+
"value": "medium";
|
|
2127
|
+
"label": "Standard";
|
|
2128
|
+
}, {
|
|
2129
|
+
"value": "large";
|
|
2130
|
+
"label": "Large";
|
|
2131
|
+
}];
|
|
2132
|
+
};
|
|
2133
|
+
};
|
|
2134
|
+
};
|
|
2135
|
+
}
|
|
2136
|
+
interface ControlBarEntity extends SchemaEntity<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema> {
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2079
2139
|
namespace SpruceSchemas.HeartwoodViewControllers.v2021_02_11 {
|
|
2080
2140
|
interface StatusIndicatorColors {
|
|
2081
2141
|
/** Color 1. */
|
|
@@ -2167,14 +2227,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2167
2227
|
'color4Inverse'?: string | undefined | null;
|
|
2168
2228
|
/** Color 4 (inverse, compliment). Background for buttons and menu items */
|
|
2169
2229
|
'color4InverseCompliment'?: string | undefined | null;
|
|
2170
|
-
|
|
2171
|
-
'controlBarColor1'?: string | undefined | null;
|
|
2172
|
-
/** Control bar color 2. The background color of the control bar. */
|
|
2173
|
-
'controlBarColor2'?: string | undefined | null;
|
|
2230
|
+
'controlBar'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBar | undefined | null;
|
|
2174
2231
|
/** Tool belt color 2. The background color of the tool belts. */
|
|
2175
2232
|
'toolBeltColor2'?: string | undefined | null;
|
|
2176
|
-
/** Control bar font. The font used in the control bar. */
|
|
2177
|
-
'controlBarFont'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSetting | undefined | null;
|
|
2178
2233
|
/** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
|
|
2179
2234
|
'errorColor1'?: string | undefined | null;
|
|
2180
2235
|
/** Error color 2. The background used when rendering errors. */
|
|
@@ -2324,19 +2379,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2324
2379
|
hint: 'Background for buttons and menu items';
|
|
2325
2380
|
options: undefined;
|
|
2326
2381
|
};
|
|
2327
|
-
/**
|
|
2328
|
-
'
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
};
|
|
2334
|
-
/** Control bar color 2. The background color of the control bar. */
|
|
2335
|
-
'controlBarColor2': {
|
|
2336
|
-
label: 'Control bar color 2';
|
|
2337
|
-
type: 'text';
|
|
2338
|
-
hint: 'The background color of the control bar.';
|
|
2339
|
-
options: undefined;
|
|
2382
|
+
/** . */
|
|
2383
|
+
'controlBar': {
|
|
2384
|
+
type: 'schema';
|
|
2385
|
+
options: {
|
|
2386
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ControlBarSchema;
|
|
2387
|
+
};
|
|
2340
2388
|
};
|
|
2341
2389
|
/** Tool belt color 2. The background color of the tool belts. */
|
|
2342
2390
|
'toolBeltColor2': {
|
|
@@ -2345,15 +2393,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2345
2393
|
hint: 'The background color of the tool belts.';
|
|
2346
2394
|
options: undefined;
|
|
2347
2395
|
};
|
|
2348
|
-
/** Control bar font. The font used in the control bar. */
|
|
2349
|
-
'controlBarFont': {
|
|
2350
|
-
label: 'Control bar font';
|
|
2351
|
-
type: 'schema';
|
|
2352
|
-
hint: 'The font used in the control bar.';
|
|
2353
|
-
options: {
|
|
2354
|
-
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FontSettingSchema;
|
|
2355
|
-
};
|
|
2356
|
-
};
|
|
2357
2396
|
/** Error color 1. Errors overlayed on a background colored with errorColor1Inverse. */
|
|
2358
2397
|
'errorColor1': {
|
|
2359
2398
|
label: 'Error color 1';
|
|
@@ -3416,6 +3455,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3416
3455
|
'viewPermissionContract'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.PermissionContractReference | undefined | null;
|
|
3417
3456
|
/** Destination skill view controller. */
|
|
3418
3457
|
'destination'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestination | undefined | null;
|
|
3458
|
+
/** Is spacer. This will act as a spacer and spread buttons out evenly. */
|
|
3459
|
+
'isSpacer'?: boolean | undefined | null;
|
|
3419
3460
|
/** Selected. */
|
|
3420
3461
|
'isEnabled'?: boolean | undefined | null;
|
|
3421
3462
|
/** Label. */
|
|
@@ -3873,6 +3914,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3873
3914
|
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.RouterDestinationSchema;
|
|
3874
3915
|
};
|
|
3875
3916
|
};
|
|
3917
|
+
/** Is spacer. This will act as a spacer and spread buttons out evenly. */
|
|
3918
|
+
'isSpacer': {
|
|
3919
|
+
label: 'Is spacer';
|
|
3920
|
+
type: 'boolean';
|
|
3921
|
+
hint: 'This will act as a spacer and spread buttons out evenly.';
|
|
3922
|
+
options: undefined;
|
|
3923
|
+
};
|
|
3876
3924
|
/** Selected. */
|
|
3877
3925
|
'isEnabled': {
|
|
3878
3926
|
label: 'Selected';
|
package/build/esm/index.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export { default as MockRtcPeerConnection } from './tests/MockRtcPeerConnection'
|
|
|
75
75
|
export { default as WebRtcConnectionImpl } from './webRtcStreaming/WebRtcConnection';
|
|
76
76
|
export * from './webRtcStreaming/WebRtcConnection';
|
|
77
77
|
export { default as calendarEventColorsSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/calendarEventColors.schema';
|
|
78
|
+
export { default as controlBarSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema';
|
|
78
79
|
export { default as bigFormSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/bigForm.schema';
|
|
79
80
|
export { default as skillViewSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/skillView.schema';
|
|
80
81
|
export { default as selectInputSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/selectInput.schema';
|
package/build/esm/index.js
CHANGED
|
@@ -74,6 +74,7 @@ export { default as MockRtcPeerConnection } from './tests/MockRtcPeerConnection.
|
|
|
74
74
|
export { default as WebRtcConnectionImpl } from './webRtcStreaming/WebRtcConnection.js';
|
|
75
75
|
export * from './webRtcStreaming/WebRtcConnection.js';
|
|
76
76
|
export { default as calendarEventColorsSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/calendarEventColors.schema.js';
|
|
77
|
+
export { default as controlBarSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema.js';
|
|
77
78
|
export { default as bigFormSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/bigForm.schema.js';
|
|
78
79
|
export { default as skillViewSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/skillView.schema.js';
|
|
79
80
|
export { default as selectInputSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/selectInput.schema.js';
|
|
@@ -21,6 +21,10 @@ export default buildSchema({
|
|
|
21
21
|
options: {
|
|
22
22
|
schema: routerDestinationBuilder,
|
|
23
23
|
},
|
|
24
|
+
}, isSpacer: {
|
|
25
|
+
type: 'boolean',
|
|
26
|
+
label: 'Is spacer',
|
|
27
|
+
hint: 'This will act as a spacer and spread buttons out evenly.',
|
|
24
28
|
} }, pickFields(buttonFields, ['isEnabled', 'label', 'onClick'])), { dropdown: {
|
|
25
29
|
type: 'schema',
|
|
26
30
|
label: 'Dropdown',
|
|
@@ -104,40 +104,60 @@ declare const _default: {
|
|
|
104
104
|
label: string;
|
|
105
105
|
hint: string;
|
|
106
106
|
};
|
|
107
|
-
|
|
108
|
-
type: "text";
|
|
109
|
-
label: string;
|
|
110
|
-
hint: string;
|
|
111
|
-
};
|
|
112
|
-
controlBarColor2: {
|
|
113
|
-
type: "text";
|
|
114
|
-
label: string;
|
|
115
|
-
hint: string;
|
|
116
|
-
};
|
|
117
|
-
toolBeltColor2: {
|
|
118
|
-
type: "text";
|
|
119
|
-
label: string;
|
|
120
|
-
hint: string;
|
|
121
|
-
};
|
|
122
|
-
controlBarFont: {
|
|
107
|
+
controlBar: {
|
|
123
108
|
type: "schema";
|
|
124
109
|
options: {
|
|
125
110
|
schema: {
|
|
126
111
|
id: string;
|
|
127
112
|
fields: {
|
|
128
|
-
|
|
113
|
+
foregroundColor: {
|
|
129
114
|
type: "text";
|
|
130
115
|
label: string;
|
|
131
116
|
hint: string;
|
|
132
117
|
};
|
|
133
|
-
|
|
118
|
+
backgroundColor: {
|
|
134
119
|
type: "text";
|
|
135
120
|
label: string;
|
|
136
121
|
hint: string;
|
|
137
122
|
};
|
|
123
|
+
font: {
|
|
124
|
+
type: "schema";
|
|
125
|
+
options: {
|
|
126
|
+
schema: {
|
|
127
|
+
id: string;
|
|
128
|
+
fields: {
|
|
129
|
+
fontFamily: {
|
|
130
|
+
type: "text";
|
|
131
|
+
label: string;
|
|
132
|
+
hint: string;
|
|
133
|
+
};
|
|
134
|
+
fontSize: {
|
|
135
|
+
type: "text";
|
|
136
|
+
label: string;
|
|
137
|
+
hint: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
label: string;
|
|
143
|
+
hint: string;
|
|
144
|
+
};
|
|
145
|
+
size: {
|
|
146
|
+
type: "select";
|
|
147
|
+
label: string;
|
|
148
|
+
options: {
|
|
149
|
+
choices: {
|
|
150
|
+
value: string;
|
|
151
|
+
label: string;
|
|
152
|
+
}[];
|
|
153
|
+
};
|
|
154
|
+
};
|
|
138
155
|
};
|
|
139
156
|
};
|
|
140
157
|
};
|
|
158
|
+
};
|
|
159
|
+
toolBeltColor2: {
|
|
160
|
+
type: "text";
|
|
141
161
|
label: string;
|
|
142
162
|
hint: string;
|
|
143
163
|
};
|
|
@@ -129,6 +129,45 @@ const fontFamilySchema = buildSchema({
|
|
|
129
129
|
},
|
|
130
130
|
},
|
|
131
131
|
});
|
|
132
|
+
const controlBarSchema = buildSchema({
|
|
133
|
+
id: 'controlBar',
|
|
134
|
+
fields: {
|
|
135
|
+
foregroundColor: {
|
|
136
|
+
type: 'text',
|
|
137
|
+
label: 'Control bar color 1',
|
|
138
|
+
hint: 'The foreground color of the control bar.',
|
|
139
|
+
},
|
|
140
|
+
backgroundColor: {
|
|
141
|
+
type: 'text',
|
|
142
|
+
label: 'Control bar color 2',
|
|
143
|
+
hint: 'The background color of the control bar.',
|
|
144
|
+
},
|
|
145
|
+
font: {
|
|
146
|
+
type: 'schema',
|
|
147
|
+
options: {
|
|
148
|
+
schema: fontSettingSchema,
|
|
149
|
+
},
|
|
150
|
+
label: 'Control bar font',
|
|
151
|
+
hint: 'The font used in the control bar.',
|
|
152
|
+
},
|
|
153
|
+
size: {
|
|
154
|
+
type: 'select',
|
|
155
|
+
label: 'Control bar size',
|
|
156
|
+
options: {
|
|
157
|
+
choices: [
|
|
158
|
+
{
|
|
159
|
+
value: 'medium',
|
|
160
|
+
label: 'Standard',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
value: 'large',
|
|
164
|
+
label: 'Large',
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
});
|
|
132
171
|
export default buildSchema({
|
|
133
172
|
id: 'theme',
|
|
134
173
|
name: 'Theme',
|
|
@@ -241,29 +280,17 @@ export default buildSchema({
|
|
|
241
280
|
label: 'Color 4 (inverse, compliment)',
|
|
242
281
|
hint: 'Background for buttons and menu items',
|
|
243
282
|
},
|
|
244
|
-
|
|
245
|
-
type: '
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
controlBarColor2: {
|
|
250
|
-
type: 'text',
|
|
251
|
-
label: 'Control bar color 2',
|
|
252
|
-
hint: 'The background color of the control bar.',
|
|
283
|
+
controlBar: {
|
|
284
|
+
type: 'schema',
|
|
285
|
+
options: {
|
|
286
|
+
schema: controlBarSchema,
|
|
287
|
+
},
|
|
253
288
|
},
|
|
254
289
|
toolBeltColor2: {
|
|
255
290
|
type: 'text',
|
|
256
291
|
label: 'Tool belt color 2',
|
|
257
292
|
hint: 'The background color of the tool belts.',
|
|
258
293
|
},
|
|
259
|
-
controlBarFont: {
|
|
260
|
-
type: 'schema',
|
|
261
|
-
options: {
|
|
262
|
-
schema: fontSettingSchema,
|
|
263
|
-
},
|
|
264
|
-
label: 'Control bar font',
|
|
265
|
-
hint: 'The font used in the control bar.',
|
|
266
|
-
},
|
|
267
294
|
errorColor1: {
|
|
268
295
|
type: 'text',
|
|
269
296
|
label: 'Error color 1',
|
package/build/index.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export { default as MockRtcPeerConnection } from './tests/MockRtcPeerConnection'
|
|
|
75
75
|
export { default as WebRtcConnectionImpl } from './webRtcStreaming/WebRtcConnection';
|
|
76
76
|
export * from './webRtcStreaming/WebRtcConnection';
|
|
77
77
|
export { default as calendarEventColorsSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/calendarEventColors.schema';
|
|
78
|
+
export { default as controlBarSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema';
|
|
78
79
|
export { default as bigFormSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/bigForm.schema';
|
|
79
80
|
export { default as skillViewSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/skillView.schema';
|
|
80
81
|
export { default as selectInputSchema } from './.spruce/schemas/heartwoodViewControllers/v2021_02_11/selectInput.schema';
|
package/build/index.js
CHANGED
|
@@ -18,10 +18,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.MockRtcPeerConnection = exports.WebRtcStreamerImpl = exports.buildSkillView = exports.buildForm = exports.buildBigForm = exports.AuthenticatorImpl = exports.PolarAreaViewController = exports.SpyViewControllerExporter = exports.lockScreenAssert = exports.MockActiveRecordCard = exports.activeRecordListAssert = exports.activeRecordCardAssert = exports.buildActiveRecordList = exports.buildActiveRecordCard = exports.AbstractInputViewController = exports.AutocompleteInputViewController = exports.AbstractCalendarEventViewController = exports.RatingsViewController = exports.ProgressViewController = exports.StatsViewController = exports.FeedViewController = exports.ActiveRecordListViewController = exports.ActiveRecordCardViewController = exports.TalkingSprucebotViewController = exports.ButtonBarViewController = exports.CalendarViewController = exports.SwipeCardViewControllerImpl = exports.SwipeViewControllerImpl = exports.WebRtcPlayerViewController = exports.PagerViewController = exports.ProgressNavigatorViewController = exports.CountdownTimerViewController = exports.FormBuilderCardViewControllerImpl = exports.LoginViewController = exports.LineGraphViewController = exports.BarChartViewController = exports.ToolBeltViewController = exports.FormViewControllerImpl = exports.ListCellViewController = exports.ListRowViewController = exports.ListViewController = exports.NavigationViewController = exports.LockScreenSkillViewController = exports.DialogViewController = exports.ConfirmViewController = exports.CardViewControllerImpl = exports.ButtonGroupViewController = exports.AbstractAppController = exports.AbstractViewController = exports.AbstractSkillViewController = void 0;
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.navigationRouteSchema = exports.routerDestinationSchema = void 0;
|
|
21
|
+
exports.themePropsSchema = exports.themeSchema = exports.cardFooterButtonSchema = exports.criticalErrorSchema = exports.sprucebotTypedMessageSentenceSchema = exports.sprucebotTypedMessageAvatarSchema = exports.selectInputChoiceSchema = exports.calendarEventColorOverrideSchema = exports.themeFontsSchema = exports.fontSettingSchema = exports.fontFamilySchema = exports.cardStylesSchema = exports.cardStyleSchema = exports.portalSchema = exports.listTextInputSchema = exports.listSelectInputSchema = exports.listCellButtonSchema = exports.dropdownButtonSchema = exports.bigFormSectionSchema = exports.textInputSchema = exports.phoneInputSchema = exports.inputSchema = exports.dropdownSchema = exports.sprucebotTypedMessageSchema = exports.talkingSprucebotSchema = exports.sprucebotAvatarSchema = exports.formBuilderImportExportObjectSchema = exports.listCellSchema = exports.listRowSchema = exports.listSchema = exports.layoutSchema = exports.cardSectionSchema = exports.cardHeaderSchema = exports.cardFooterSchema = exports.cardBodySchema = exports.cardSchema = exports.formSectionSchema = exports.formSchema = exports.textSchema = exports.lockScreenSchema = exports.dialogSchema = exports.buttonSchema = exports.lineIconSchema = exports.fancyIconSchema = exports.selectInputSchema = exports.skillViewSchema = exports.bigFormSchema = exports.controlBarSchema = exports.calendarEventColorsSchema = exports.WebRtcConnectionImpl = void 0;
|
|
22
|
+
exports.vcAssertUtil = exports.feedAssert = exports.normalizeFormSectionFieldNamesUtil = exports.ViewControllerError = exports.MockAudioController = exports.SpyDevice = exports.StubStorage = exports.ViewControllerFactory = exports.ViewControllerImporter = exports.ViewControllerExporter = exports.statusIndicatorColorsSchema = exports.statusIndicatorSchema = exports.webRtcCropPointSchema = exports.webRtcPlayerSchema = exports.pagerSchema = exports.polarAreaDataItemSchema = exports.polarAreaSchema = exports.inputButtonSchema = exports.mapPinSchema = exports.mapSchema = exports.latLngSchema = exports.formBuilderImportExportPageSchema = exports.autocompleteSuggestionSchema = exports.autocompleteInputSchema = exports.feedSchema = exports.calendarShiftSchema = exports.receiptTotalSchema = exports.receiptSectionSchema = exports.receiptLineItemSchema = exports.receiptHeaderSchema = exports.receiptSchema = exports.listDateInputSchema = exports.calendarSelectedDateSchema = exports.calendarEventSchema = exports.ratingsInputSchema = exports.listRatingsInputSchema = exports.ratingsSchema = exports.progressSchema = exports.statsStatSchema = exports.statsSchema = exports.toggleInputSchema = exports.listToggleInputSchema = exports.addressInputSchema = exports.buttonBarButtonSchema = exports.buttonBarSchema = exports.toolBeltToolSchema = exports.toolBeltSchema = exports.calendarTimeSchema = exports.calendarPersonSchema = exports.calendarSchema = void 0;
|
|
23
|
+
exports.navigationButtonDropdownSchema = exports.chartDataSetSchema = exports.chartDataPointSchema = exports.lineGraphSchema = exports.barChartSchema = exports.progressDetailsSchema = exports.progressNavigatorStepSchema = exports.progressNavigatorSchema = exports.countdownTimerSchema = exports.permissionContractReferenceSchema = exports.navigationButtonSchema = exports.navigationSchema = exports.ToolBeltStateMachine = exports.removeUniversalViewOptions = exports.buildSkillViewLayout = exports.splitCardsIntoLayouts = exports.listUtil = exports.mapInteractor = exports.mapAssert = exports.renderUtil = exports.routerTestPatcher = exports.dialogTestPatcher = exports.confirmTestPatcher = exports.calendarSeeder = exports.interactionUtil = exports.talkingSprucebotInteractor = exports.webRtcInteractor = exports.feedInteractor = exports.countdownTimerInteractor = exports.countdownTimerAssert = exports.calendarInteractor = exports.interactor = exports.normalizeScopeFromVc = exports.autocompleteInteractor = exports.chartAssert = exports.progressNavigatorAssert = exports.generateCropPointValues = exports.webRtcAssert = exports.formAssert = exports.autocompleteAssert = exports.listAssert = exports.buttonAssert = exports.deviceAssert = exports.navigationAssert = exports.toolBeltAssert = exports.toastAssert = exports.vcPluginAssert = exports.vcDurationAssert = exports.pagerAssert = exports.vcAssert = void 0;
|
|
24
|
+
exports.navigationRouteSchema = exports.routerDestinationSchema = exports.navigationDropdownButtonSchema = void 0;
|
|
25
25
|
__exportStar(require("./constants"), exports);
|
|
26
26
|
__exportStar(require("./types/heartwood.types"), exports);
|
|
27
27
|
__exportStar(require("./utilities/removeUniversalViewOptions"), exports);
|
|
@@ -150,6 +150,8 @@ Object.defineProperty(exports, "WebRtcConnectionImpl", { enumerable: true, get:
|
|
|
150
150
|
__exportStar(require("./webRtcStreaming/WebRtcConnection"), exports);
|
|
151
151
|
var calendarEventColors_schema_1 = require("./.spruce/schemas/heartwoodViewControllers/v2021_02_11/calendarEventColors.schema");
|
|
152
152
|
Object.defineProperty(exports, "calendarEventColorsSchema", { enumerable: true, get: function () { return __importDefault(calendarEventColors_schema_1).default; } });
|
|
153
|
+
var controlBar_schema_1 = require("./.spruce/schemas/heartwoodViewControllers/v2021_02_11/controlBar.schema");
|
|
154
|
+
Object.defineProperty(exports, "controlBarSchema", { enumerable: true, get: function () { return __importDefault(controlBar_schema_1).default; } });
|
|
153
155
|
var bigForm_schema_1 = require("./.spruce/schemas/heartwoodViewControllers/v2021_02_11/bigForm.schema");
|
|
154
156
|
Object.defineProperty(exports, "bigFormSchema", { enumerable: true, get: function () { return __importDefault(bigForm_schema_1).default; } });
|
|
155
157
|
var skillView_schema_1 = require("./.spruce/schemas/heartwoodViewControllers/v2021_02_11/skillView.schema");
|
|
@@ -34,6 +34,11 @@ exports.default = (0, schema_1.buildSchema)({
|
|
|
34
34
|
schema: routerDestination_builder_1.default,
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
|
+
isSpacer: {
|
|
38
|
+
type: 'boolean',
|
|
39
|
+
label: 'Is spacer',
|
|
40
|
+
hint: 'This will act as a spacer and spread buttons out evenly.',
|
|
41
|
+
},
|
|
37
42
|
...(0, schema_1.pickFields)(constants_1.buttonFields, ['isEnabled', 'label', 'onClick']),
|
|
38
43
|
dropdown: {
|
|
39
44
|
type: 'schema',
|
|
@@ -104,40 +104,60 @@ declare const _default: {
|
|
|
104
104
|
label: string;
|
|
105
105
|
hint: string;
|
|
106
106
|
};
|
|
107
|
-
|
|
108
|
-
type: "text";
|
|
109
|
-
label: string;
|
|
110
|
-
hint: string;
|
|
111
|
-
};
|
|
112
|
-
controlBarColor2: {
|
|
113
|
-
type: "text";
|
|
114
|
-
label: string;
|
|
115
|
-
hint: string;
|
|
116
|
-
};
|
|
117
|
-
toolBeltColor2: {
|
|
118
|
-
type: "text";
|
|
119
|
-
label: string;
|
|
120
|
-
hint: string;
|
|
121
|
-
};
|
|
122
|
-
controlBarFont: {
|
|
107
|
+
controlBar: {
|
|
123
108
|
type: "schema";
|
|
124
109
|
options: {
|
|
125
110
|
schema: {
|
|
126
111
|
id: string;
|
|
127
112
|
fields: {
|
|
128
|
-
|
|
113
|
+
foregroundColor: {
|
|
129
114
|
type: "text";
|
|
130
115
|
label: string;
|
|
131
116
|
hint: string;
|
|
132
117
|
};
|
|
133
|
-
|
|
118
|
+
backgroundColor: {
|
|
134
119
|
type: "text";
|
|
135
120
|
label: string;
|
|
136
121
|
hint: string;
|
|
137
122
|
};
|
|
123
|
+
font: {
|
|
124
|
+
type: "schema";
|
|
125
|
+
options: {
|
|
126
|
+
schema: {
|
|
127
|
+
id: string;
|
|
128
|
+
fields: {
|
|
129
|
+
fontFamily: {
|
|
130
|
+
type: "text";
|
|
131
|
+
label: string;
|
|
132
|
+
hint: string;
|
|
133
|
+
};
|
|
134
|
+
fontSize: {
|
|
135
|
+
type: "text";
|
|
136
|
+
label: string;
|
|
137
|
+
hint: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
label: string;
|
|
143
|
+
hint: string;
|
|
144
|
+
};
|
|
145
|
+
size: {
|
|
146
|
+
type: "select";
|
|
147
|
+
label: string;
|
|
148
|
+
options: {
|
|
149
|
+
choices: {
|
|
150
|
+
value: string;
|
|
151
|
+
label: string;
|
|
152
|
+
}[];
|
|
153
|
+
};
|
|
154
|
+
};
|
|
138
155
|
};
|
|
139
156
|
};
|
|
140
157
|
};
|
|
158
|
+
};
|
|
159
|
+
toolBeltColor2: {
|
|
160
|
+
type: "text";
|
|
141
161
|
label: string;
|
|
142
162
|
hint: string;
|
|
143
163
|
};
|
|
@@ -134,6 +134,45 @@ const fontFamilySchema = (0, schema_1.buildSchema)({
|
|
|
134
134
|
},
|
|
135
135
|
},
|
|
136
136
|
});
|
|
137
|
+
const controlBarSchema = (0, schema_1.buildSchema)({
|
|
138
|
+
id: 'controlBar',
|
|
139
|
+
fields: {
|
|
140
|
+
foregroundColor: {
|
|
141
|
+
type: 'text',
|
|
142
|
+
label: 'Control bar color 1',
|
|
143
|
+
hint: 'The foreground color of the control bar.',
|
|
144
|
+
},
|
|
145
|
+
backgroundColor: {
|
|
146
|
+
type: 'text',
|
|
147
|
+
label: 'Control bar color 2',
|
|
148
|
+
hint: 'The background color of the control bar.',
|
|
149
|
+
},
|
|
150
|
+
font: {
|
|
151
|
+
type: 'schema',
|
|
152
|
+
options: {
|
|
153
|
+
schema: fontSettingSchema,
|
|
154
|
+
},
|
|
155
|
+
label: 'Control bar font',
|
|
156
|
+
hint: 'The font used in the control bar.',
|
|
157
|
+
},
|
|
158
|
+
size: {
|
|
159
|
+
type: 'select',
|
|
160
|
+
label: 'Control bar size',
|
|
161
|
+
options: {
|
|
162
|
+
choices: [
|
|
163
|
+
{
|
|
164
|
+
value: 'medium',
|
|
165
|
+
label: 'Standard',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
value: 'large',
|
|
169
|
+
label: 'Large',
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
});
|
|
137
176
|
exports.default = (0, schema_1.buildSchema)({
|
|
138
177
|
id: 'theme',
|
|
139
178
|
name: 'Theme',
|
|
@@ -246,29 +285,17 @@ exports.default = (0, schema_1.buildSchema)({
|
|
|
246
285
|
label: 'Color 4 (inverse, compliment)',
|
|
247
286
|
hint: 'Background for buttons and menu items',
|
|
248
287
|
},
|
|
249
|
-
|
|
250
|
-
type: '
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
controlBarColor2: {
|
|
255
|
-
type: 'text',
|
|
256
|
-
label: 'Control bar color 2',
|
|
257
|
-
hint: 'The background color of the control bar.',
|
|
288
|
+
controlBar: {
|
|
289
|
+
type: 'schema',
|
|
290
|
+
options: {
|
|
291
|
+
schema: controlBarSchema,
|
|
292
|
+
},
|
|
258
293
|
},
|
|
259
294
|
toolBeltColor2: {
|
|
260
295
|
type: 'text',
|
|
261
296
|
label: 'Tool belt color 2',
|
|
262
297
|
hint: 'The background color of the tool belts.',
|
|
263
298
|
},
|
|
264
|
-
controlBarFont: {
|
|
265
|
-
type: 'schema',
|
|
266
|
-
options: {
|
|
267
|
-
schema: fontSettingSchema,
|
|
268
|
-
},
|
|
269
|
-
label: 'Control bar font',
|
|
270
|
-
hint: 'The font used in the control bar.',
|
|
271
|
-
},
|
|
272
299
|
errorColor1: {
|
|
273
300
|
type: 'text',
|
|
274
301
|
label: 'Error color 1',
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"description": "All the power of Heartwood in one, convenient package.",
|
|
16
|
-
"version": "
|
|
16
|
+
"version": "122.0.0",
|
|
17
17
|
"skill": {
|
|
18
18
|
"namespace": "HeartwoodViewControllers",
|
|
19
19
|
"commandOverrides": {
|
|
@@ -74,15 +74,15 @@
|
|
|
74
74
|
"@babel/preset-env": "^7.28.0",
|
|
75
75
|
"@babel/preset-typescript": "^7.27.1",
|
|
76
76
|
"@babel/runtime": "^7.27.6",
|
|
77
|
-
"@sprucelabs/calendar-utils": "^43.0.
|
|
77
|
+
"@sprucelabs/calendar-utils": "^43.0.41",
|
|
78
78
|
"@sprucelabs/error": "^7.0.21",
|
|
79
79
|
"@sprucelabs/globby": "^2.0.505",
|
|
80
|
-
"@sprucelabs/mercury-core-events": "^27.0.
|
|
80
|
+
"@sprucelabs/mercury-core-events": "^27.0.35",
|
|
81
81
|
"@sprucelabs/mercury-types": "^48.0.33",
|
|
82
82
|
"@sprucelabs/schema": "^32.0.32",
|
|
83
83
|
"@sprucelabs/spruce-core-schemas": "^41.0.32",
|
|
84
84
|
"@sprucelabs/spruce-event-utils": "^41.0.36",
|
|
85
|
-
"@sprucelabs/spruce-skill-utils": "^32.0.
|
|
85
|
+
"@sprucelabs/spruce-skill-utils": "^32.0.34",
|
|
86
86
|
"@sprucelabs/test-utils": "^6.0.31",
|
|
87
87
|
"babel-loader": "^10.0.0",
|
|
88
88
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@sprucelabs/esm-postbuild": "^7.0.13",
|
|
99
99
|
"@sprucelabs/jest-json-reporter": "^9.0.22",
|
|
100
|
-
"@sprucelabs/mercury-client": "^43.0.
|
|
101
|
-
"@sprucelabs/mercury-event-emitter": "^43.0.
|
|
100
|
+
"@sprucelabs/mercury-client": "^43.0.42",
|
|
101
|
+
"@sprucelabs/mercury-event-emitter": "^43.0.42",
|
|
102
102
|
"@sprucelabs/resolve-path-aliases": "^3.0.12",
|
|
103
103
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
104
104
|
"@sprucelabs/test": "^10.0.10",
|