@sprucelabs/heartwood-view-controllers 116.0.33 → 116.0.35
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.
|
@@ -927,7 +927,11 @@ const vcAssert = {
|
|
|
927
927
|
}
|
|
928
928
|
assert.isTruthy(vc, `The view you sent me is missing a controller. It may help to check your render method to ensure you're properly returning a controller. Here are a few examples of how to do this:
|
|
929
929
|
|
|
930
|
-
1.
|
|
930
|
+
1. Render your card into the dialog:
|
|
931
|
+
|
|
932
|
+
this.renderInDialog(this.Controller('my-card', {}).render())
|
|
933
|
+
|
|
934
|
+
2. Rendering a SubView:
|
|
931
935
|
|
|
932
936
|
public render() {
|
|
933
937
|
return this.cardVc.render()
|
|
@@ -949,7 +953,11 @@ const vcAssert = {
|
|
|
949
953
|
catch (_d) {
|
|
950
954
|
assert.fail(`Expected your ${(_c = (_b = (_a = Object.getPrototypeOf(vc)) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : 'view controller'} to render a controller that is an instance of ${Class.name}, but it didn't! Make sure the view you're expecting is rendering itself as the controller (or another view controller). e.g.
|
|
951
955
|
|
|
952
|
-
1.
|
|
956
|
+
1. Render your card into the dialog:
|
|
957
|
+
|
|
958
|
+
this.renderInDialog(this.Controller('my-card', {}).render())
|
|
959
|
+
|
|
960
|
+
2. Rendering a SubView:
|
|
953
961
|
|
|
954
962
|
public render() {
|
|
955
963
|
return this.cardVc.render()
|
|
@@ -879,7 +879,11 @@ const vcAssert = {
|
|
|
879
879
|
}
|
|
880
880
|
test_utils_1.assert.isTruthy(vc, `The view you sent me is missing a controller. It may help to check your render method to ensure you're properly returning a controller. Here are a few examples of how to do this:
|
|
881
881
|
|
|
882
|
-
1.
|
|
882
|
+
1. Render your card into the dialog:
|
|
883
|
+
|
|
884
|
+
this.renderInDialog(this.Controller('my-card', {}).render())
|
|
885
|
+
|
|
886
|
+
2. Rendering a SubView:
|
|
883
887
|
|
|
884
888
|
public render() {
|
|
885
889
|
return this.cardVc.render()
|
|
@@ -902,7 +906,11 @@ const vcAssert = {
|
|
|
902
906
|
test_utils_1.assert.fail(`Expected your ${Object.getPrototypeOf(vc)?.constructor?.name ??
|
|
903
907
|
'view controller'} to render a controller that is an instance of ${Class.name}, but it didn't! Make sure the view you're expecting is rendering itself as the controller (or another view controller). e.g.
|
|
904
908
|
|
|
905
|
-
1.
|
|
909
|
+
1. Render your card into the dialog:
|
|
910
|
+
|
|
911
|
+
this.renderInDialog(this.Controller('my-card', {}).render())
|
|
912
|
+
|
|
913
|
+
2. Rendering a SubView:
|
|
906
914
|
|
|
907
915
|
public render() {
|
|
908
916
|
return this.cardVc.render()
|
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": "116.0.
|
|
16
|
+
"version": "116.0.35",
|
|
17
17
|
"skill": {
|
|
18
18
|
"namespace": "HeartwoodViewControllers",
|
|
19
19
|
"commandOverrides": {
|
|
@@ -77,16 +77,16 @@
|
|
|
77
77
|
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
78
78
|
"@babel/preset-env": "^7.26.7",
|
|
79
79
|
"@babel/preset-typescript": "^7.26.0",
|
|
80
|
-
"@sprucelabs/calendar-utils": "^42.0.
|
|
80
|
+
"@sprucelabs/calendar-utils": "^42.0.602",
|
|
81
81
|
"@sprucelabs/error": "^6.0.569",
|
|
82
82
|
"@sprucelabs/globby": "^2.0.501",
|
|
83
|
-
"@sprucelabs/mercury-core-events": "^25.1.
|
|
84
|
-
"@sprucelabs/mercury-types": "^47.2.
|
|
85
|
-
"@sprucelabs/schema": "^31.0.
|
|
86
|
-
"@sprucelabs/spruce-core-schemas": "^40.1.
|
|
87
|
-
"@sprucelabs/spruce-event-utils": "^40.2.
|
|
88
|
-
"@sprucelabs/spruce-skill-utils": "^31.2.
|
|
89
|
-
"@sprucelabs/test-utils": "^5.1.
|
|
83
|
+
"@sprucelabs/mercury-core-events": "^25.1.12",
|
|
84
|
+
"@sprucelabs/mercury-types": "^47.2.8",
|
|
85
|
+
"@sprucelabs/schema": "^31.0.26",
|
|
86
|
+
"@sprucelabs/spruce-core-schemas": "^40.1.613",
|
|
87
|
+
"@sprucelabs/spruce-event-utils": "^40.2.9",
|
|
88
|
+
"@sprucelabs/spruce-skill-utils": "^31.2.27",
|
|
89
|
+
"@sprucelabs/test-utils": "^5.1.553",
|
|
90
90
|
"@swc/core": "1.2.103",
|
|
91
91
|
"babel-loader": "^9.2.1",
|
|
92
92
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@sprucelabs/esm-postbuild": "^6.0.542",
|
|
103
103
|
"@sprucelabs/jest-json-reporter": "^8.0.570",
|
|
104
|
-
"@sprucelabs/mercury-client": "^42.0.
|
|
105
|
-
"@sprucelabs/mercury-event-emitter": "^42.0.
|
|
104
|
+
"@sprucelabs/mercury-client": "^42.0.703",
|
|
105
|
+
"@sprucelabs/mercury-event-emitter": "^42.0.703",
|
|
106
106
|
"@sprucelabs/resolve-path-aliases": "^2.0.528",
|
|
107
107
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
108
108
|
"@sprucelabs/test": "^9.0.68",
|