@sprucelabs/heartwood-view-controllers 117.2.28 → 118.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/barChart.schema.js +3 -3
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardSection.schema.js +7 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/chartDataPoint.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/{barChartDataPoint.schema.js → chartDataPoint.schema.js} +4 -4
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/chartDataSet.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/{barChartDataSet.schema.js → chartDataSet.schema.js} +7 -7
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lineGraph.schema.d.ts +3 -0
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lineGraph.schema.js +36 -0
- package/build/.spruce/schemas/schemas.types.d.ts +231 -181
- package/build/controllerMap.d.ts +3 -2
- package/build/controllerMap.js +2 -1
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChart.schema.js +3 -3
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardSection.schema.js +7 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/chartDataPoint.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/{barChartDataPoint.schema.js → chartDataPoint.schema.js} +4 -4
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/chartDataSet.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/{barChartDataSet.schema.js → chartDataSet.schema.js} +7 -7
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lineGraph.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/lineGraph.schema.js +31 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +231 -181
- package/build/esm/controllerMap.d.ts +3 -2
- package/build/esm/controllerMap.js +3 -2
- package/build/esm/index.d.ts +6 -4
- package/build/esm/index.js +6 -4
- package/build/esm/schemas/v2021_02_11/barChart.builder.d.ts +1 -0
- package/build/esm/schemas/v2021_02_11/barChart.builder.js +3 -29
- package/build/esm/schemas/v2021_02_11/cards/card.builder.d.ts +59 -0
- package/build/esm/schemas/v2021_02_11/cards/cardBody.builder.d.ts +59 -0
- package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.d.ts +59 -0
- package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.js +8 -0
- package/build/esm/schemas/v2021_02_11/chartDataSet.builder.d.ts +30 -0
- package/build/esm/schemas/v2021_02_11/chartDataSet.builder.js +30 -0
- package/build/esm/schemas/v2021_02_11/dialog.builder.d.ts +59 -0
- package/build/esm/schemas/v2021_02_11/layout.builder.d.ts +59 -0
- package/build/esm/schemas/v2021_02_11/lineGraph.builder.d.ts +53 -0
- package/build/esm/schemas/v2021_02_11/lineGraph.builder.js +26 -0
- package/build/esm/schemas/v2021_02_11/lockScreen.builder.d.ts +59 -0
- package/build/esm/schemas/v2021_02_11/skillView.builder.d.ts +59 -0
- package/build/esm/schemas/v2021_02_11/toolBelt.builder.d.ts +59 -0
- package/build/esm/tests/utilities/chartAssert.d.ts +7 -0
- package/build/esm/tests/utilities/chartAssert.js +33 -0
- package/build/esm/types/heartwood.types.d.ts +10 -3
- package/build/esm/viewControllers/charts/BarChart.vc.d.ts +9 -0
- package/build/esm/viewControllers/{BarChart.vc.js → charts/BarChart.vc.js} +2 -2
- package/build/esm/viewControllers/charts/LineGraph.vc.d.ts +9 -0
- package/build/esm/viewControllers/charts/LineGraph.vc.js +19 -0
- package/build/index.d.ts +6 -4
- package/build/index.js +15 -11
- package/build/schemas/v2021_02_11/barChart.builder.d.ts +1 -0
- package/build/schemas/v2021_02_11/barChart.builder.js +6 -29
- package/build/schemas/v2021_02_11/cards/card.builder.d.ts +59 -0
- package/build/schemas/v2021_02_11/cards/cardBody.builder.d.ts +59 -0
- package/build/schemas/v2021_02_11/cards/cardSection.builder.d.ts +59 -0
- package/build/schemas/v2021_02_11/cards/cardSection.builder.js +8 -0
- package/build/schemas/v2021_02_11/chartDataSet.builder.d.ts +30 -0
- package/build/schemas/v2021_02_11/chartDataSet.builder.js +32 -0
- package/build/schemas/v2021_02_11/dialog.builder.d.ts +59 -0
- package/build/schemas/v2021_02_11/layout.builder.d.ts +59 -0
- package/build/schemas/v2021_02_11/lineGraph.builder.d.ts +53 -0
- package/build/schemas/v2021_02_11/lineGraph.builder.js +31 -0
- package/build/schemas/v2021_02_11/lockScreen.builder.d.ts +59 -0
- package/build/schemas/v2021_02_11/skillView.builder.d.ts +59 -0
- package/build/schemas/v2021_02_11/toolBelt.builder.d.ts +59 -0
- package/build/tests/utilities/chartAssert.d.ts +7 -0
- package/build/tests/utilities/chartAssert.js +38 -0
- package/build/types/heartwood.types.d.ts +10 -3
- package/build/viewControllers/charts/BarChart.vc.d.ts +9 -0
- package/build/viewControllers/{BarChart.vc.js → charts/BarChart.vc.js} +2 -2
- package/build/viewControllers/charts/LineGraph.vc.d.ts +9 -0
- package/build/viewControllers/charts/LineGraph.vc.js +27 -0
- package/package.json +5 -5
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataPoint.schema.d.ts +0 -3
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataSet.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataPoint.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/barChartDataSet.schema.d.ts +0 -3
- package/build/esm/tests/utilities/barChartAssert.d.ts +0 -7
- package/build/esm/tests/utilities/barChartAssert.js +0 -24
- package/build/esm/viewControllers/BarChart.vc.d.ts +0 -9
- package/build/tests/utilities/barChartAssert.d.ts +0 -7
- package/build/tests/utilities/barChartAssert.js +0 -29
- package/build/viewControllers/BarChart.vc.d.ts +0 -9
package/build/controllerMap.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { PagerViewController } from '.';
|
|
1
|
+
import { LineGraphViewController, PagerViewController } from '.';
|
|
2
2
|
import LockScreenSkillViewController from './skillViewControllers/LockScreen.svc';
|
|
3
3
|
import ActiveRecordCardViewController from './viewControllers/activeRecord/ActiveRecordCard.vc';
|
|
4
4
|
import ActiveRecordListViewController from './viewControllers/activeRecord/ActiveRecordList.vc';
|
|
5
|
-
import BarChartViewController from './viewControllers/BarChart.vc';
|
|
6
5
|
import BigFormViewController from './viewControllers/BigForm.vc';
|
|
7
6
|
import ButtonBarViewController from './viewControllers/ButtonBar.vc';
|
|
8
7
|
import ButtonGroupViewController from './viewControllers/ButtonGroup.vc';
|
|
9
8
|
import CalendarViewController from './viewControllers/Calendar.vc';
|
|
10
9
|
import CalendarEventViewController from './viewControllers/CalendarEvent.vc';
|
|
11
10
|
import CardViewController from './viewControllers/card/Card.vc';
|
|
11
|
+
import BarChartViewController from './viewControllers/charts/BarChart.vc';
|
|
12
12
|
import ConfirmViewController from './viewControllers/Confirm.vc';
|
|
13
13
|
import CountdownTimerViewController from './viewControllers/countdownTimer/CountdownTimer.vc';
|
|
14
14
|
import DialogViewController from './viewControllers/Dialog.vc';
|
|
@@ -96,5 +96,6 @@ export declare const CORE_CONTROLLER_MAP: {
|
|
|
96
96
|
'polar-area': typeof PolarAreaViewController;
|
|
97
97
|
pager: typeof PagerViewController;
|
|
98
98
|
'bar-chart': typeof BarChartViewController;
|
|
99
|
+
'line-graph': typeof LineGraphViewController;
|
|
99
100
|
'lock-screen': typeof LockScreenSkillViewController;
|
|
100
101
|
};
|
package/build/controllerMap.js
CHANGED
|
@@ -8,13 +8,13 @@ const _1 = require(".");
|
|
|
8
8
|
const LockScreen_svc_1 = __importDefault(require("./skillViewControllers/LockScreen.svc"));
|
|
9
9
|
const ActiveRecordCard_vc_1 = __importDefault(require("./viewControllers/activeRecord/ActiveRecordCard.vc"));
|
|
10
10
|
const ActiveRecordList_vc_1 = __importDefault(require("./viewControllers/activeRecord/ActiveRecordList.vc"));
|
|
11
|
-
const BarChart_vc_1 = __importDefault(require("./viewControllers/BarChart.vc"));
|
|
12
11
|
const BigForm_vc_1 = __importDefault(require("./viewControllers/BigForm.vc"));
|
|
13
12
|
const ButtonBar_vc_1 = __importDefault(require("./viewControllers/ButtonBar.vc"));
|
|
14
13
|
const ButtonGroup_vc_1 = __importDefault(require("./viewControllers/ButtonGroup.vc"));
|
|
15
14
|
const Calendar_vc_1 = __importDefault(require("./viewControllers/Calendar.vc"));
|
|
16
15
|
const CalendarEvent_vc_1 = __importDefault(require("./viewControllers/CalendarEvent.vc"));
|
|
17
16
|
const Card_vc_1 = __importDefault(require("./viewControllers/card/Card.vc"));
|
|
17
|
+
const BarChart_vc_1 = __importDefault(require("./viewControllers/charts/BarChart.vc"));
|
|
18
18
|
const Confirm_vc_1 = __importDefault(require("./viewControllers/Confirm.vc"));
|
|
19
19
|
const CountdownTimer_vc_1 = __importDefault(require("./viewControllers/countdownTimer/CountdownTimer.vc"));
|
|
20
20
|
const Dialog_vc_1 = __importDefault(require("./viewControllers/Dialog.vc"));
|
|
@@ -102,5 +102,6 @@ exports.CORE_CONTROLLER_MAP = {
|
|
|
102
102
|
'polar-area': PolarAreaViewController_vc_1.default,
|
|
103
103
|
pager: _1.PagerViewController,
|
|
104
104
|
'bar-chart': BarChart_vc_1.default,
|
|
105
|
+
'line-graph': _1.LineGraphViewController,
|
|
105
106
|
'lock-screen': LockScreen_svc_1.default,
|
|
106
107
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
import
|
|
2
|
+
import chartDataSetSchema_v2021_02_11 from './chartDataSet.schema.js';
|
|
3
3
|
const barChartSchema = {
|
|
4
4
|
id: 'barChart',
|
|
5
5
|
version: 'v2021_02_11',
|
|
@@ -15,7 +15,7 @@ const barChartSchema = {
|
|
|
15
15
|
/** . */
|
|
16
16
|
'controller': {
|
|
17
17
|
type: 'raw',
|
|
18
|
-
options: { valueType: `HeartwoodTypes.
|
|
18
|
+
options: { valueType: `HeartwoodTypes.ChartViewController<HeartwoodTypes.BarChart>`, }
|
|
19
19
|
},
|
|
20
20
|
/** . */
|
|
21
21
|
'dataSets': {
|
|
@@ -23,7 +23,7 @@ const barChartSchema = {
|
|
|
23
23
|
isRequired: true,
|
|
24
24
|
isArray: true,
|
|
25
25
|
minArrayLength: 0,
|
|
26
|
-
options: { schema:
|
|
26
|
+
options: { schema: chartDataSetSchema_v2021_02_11, }
|
|
27
27
|
},
|
|
28
28
|
}
|
|
29
29
|
};
|
package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/cardSection.schema.js
CHANGED
|
@@ -17,6 +17,7 @@ import polarAreaSchema_v2021_02_11 from './polarArea.schema.js';
|
|
|
17
17
|
import feedSchema_v2021_02_11 from './feed.schema.js';
|
|
18
18
|
import pagerSchema_v2021_02_11 from './pager.schema.js';
|
|
19
19
|
import barChartSchema_v2021_02_11 from './barChart.schema.js';
|
|
20
|
+
import lineGraphSchema_v2021_02_11 from './lineGraph.schema.js';
|
|
20
21
|
import portalSchema_v2021_02_11 from './portal.schema.js';
|
|
21
22
|
const cardSectionSchema = {
|
|
22
23
|
id: 'cardSection',
|
|
@@ -185,6 +186,12 @@ const cardSectionSchema = {
|
|
|
185
186
|
type: 'schema',
|
|
186
187
|
options: { schema: barChartSchema_v2021_02_11, }
|
|
187
188
|
},
|
|
189
|
+
/** Line graph. */
|
|
190
|
+
'lineGraph': {
|
|
191
|
+
label: 'Line graph',
|
|
192
|
+
type: 'schema',
|
|
193
|
+
options: { schema: lineGraphSchema_v2021_02_11, }
|
|
194
|
+
},
|
|
188
195
|
/** Grid. */
|
|
189
196
|
'shouldRenderContentsAsGrid': {
|
|
190
197
|
label: 'Grid',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
const
|
|
3
|
-
id: '
|
|
2
|
+
const chartDataPointSchema = {
|
|
3
|
+
id: 'chartDataPoint',
|
|
4
4
|
version: 'v2021_02_11',
|
|
5
5
|
namespace: 'HeartwoodViewControllers',
|
|
6
6
|
name: '',
|
|
@@ -19,5 +19,5 @@ const barChartDataPointSchema = {
|
|
|
19
19
|
},
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
SchemaRegistry.getInstance().trackSchema(
|
|
23
|
-
export default
|
|
22
|
+
SchemaRegistry.getInstance().trackSchema(chartDataPointSchema);
|
|
23
|
+
export default chartDataPointSchema;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
id: '
|
|
2
|
+
import chartDataPointSchema_v2021_02_11 from './chartDataPoint.schema.js';
|
|
3
|
+
const chartDataSetSchema = {
|
|
4
|
+
id: 'chartDataSet',
|
|
5
5
|
version: 'v2021_02_11',
|
|
6
6
|
namespace: 'HeartwoodViewControllers',
|
|
7
|
-
name: '',
|
|
7
|
+
name: 'Chart data set',
|
|
8
8
|
moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
|
|
9
9
|
fields: {
|
|
10
10
|
/** . */
|
|
@@ -18,9 +18,9 @@ const barChartDataSetSchema = {
|
|
|
18
18
|
isRequired: true,
|
|
19
19
|
isArray: true,
|
|
20
20
|
minArrayLength: 0,
|
|
21
|
-
options: { schema:
|
|
21
|
+
options: { schema: chartDataPointSchema_v2021_02_11, }
|
|
22
22
|
},
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
SchemaRegistry.getInstance().trackSchema(
|
|
26
|
-
export default
|
|
25
|
+
SchemaRegistry.getInstance().trackSchema(chartDataSetSchema);
|
|
26
|
+
export default chartDataSetSchema;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import chartDataSetSchema_v2021_02_11 from './chartDataSet.schema.js';
|
|
3
|
+
const lineGraphSchema = {
|
|
4
|
+
id: 'lineGraph',
|
|
5
|
+
version: 'v2021_02_11',
|
|
6
|
+
namespace: 'HeartwoodViewControllers',
|
|
7
|
+
name: 'Line graph',
|
|
8
|
+
moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
|
|
9
|
+
fields: {
|
|
10
|
+
/** . */
|
|
11
|
+
'id': {
|
|
12
|
+
type: 'id',
|
|
13
|
+
options: undefined
|
|
14
|
+
},
|
|
15
|
+
/** . */
|
|
16
|
+
'controller': {
|
|
17
|
+
type: 'raw',
|
|
18
|
+
options: { valueType: `HeartwoodTypes.ChartViewController<HeartwoodTypes.LineGraph>`, }
|
|
19
|
+
},
|
|
20
|
+
/** . */
|
|
21
|
+
'dataSets': {
|
|
22
|
+
type: 'schema',
|
|
23
|
+
isRequired: true,
|
|
24
|
+
isArray: true,
|
|
25
|
+
minArrayLength: 0,
|
|
26
|
+
options: { schema: chartDataSetSchema_v2021_02_11, }
|
|
27
|
+
},
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
SchemaRegistry.getInstance().trackSchema(lineGraphSchema);
|
|
31
|
+
export default lineGraphSchema;
|