@sprucelabs/heartwood-view-controllers 119.7.1 → 119.7.2
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/esm/viewControllers/activeRecord/ActiveRecordCard.vc.d.ts +2 -2
- package/build/esm/viewControllers/activeRecord/ActiveRecordCard.vc.js +1 -0
- package/build/viewControllers/activeRecord/ActiveRecordCard.vc.d.ts +2 -2
- package/build/viewControllers/activeRecord/ActiveRecordCard.vc.js +1 -0
- package/package.json +1 -1
|
@@ -68,8 +68,8 @@ export default class ActiveRecordCardViewController extends AbstractViewControll
|
|
|
68
68
|
setSelectedRows(rows: (string | number)[]): void;
|
|
69
69
|
getRowVc(row: string | number): import("../..").ListRowViewController;
|
|
70
70
|
getValues(): import("../../types/heartwood.types").RowValues[];
|
|
71
|
-
setValue(rowId: string, name: string, value: any): Promise<void>;
|
|
72
|
-
getValue(rowId: string, name: string): any;
|
|
71
|
+
setValue(rowId: string | number, name: string, value: any): Promise<void>;
|
|
72
|
+
getValue(rowId: string | number, name: string): any;
|
|
73
73
|
getPayload(): Record<string, any> | undefined;
|
|
74
74
|
setFooter(footer: CardFooter | null): void;
|
|
75
75
|
disableFooter(): void;
|
|
@@ -471,6 +471,7 @@ class ActiveRecordCardViewController extends AbstractViewController {
|
|
|
471
471
|
enableFooter() {
|
|
472
472
|
this.cardVc.enableFooter();
|
|
473
473
|
}
|
|
474
|
+
// @deprecated - this is dangerous to use and will break when paging is enabled. Check the MockActiveCard or your ActiveRecordCard for a better solution. If one does not exist, report it here: https://docs.google.com/forms/d/e/1FAIpQLSdqNm0tkmBhzl7L8yuRpXYOWuke9CzKvbPzpUIsIYxB0zDmIQ/viewform
|
|
474
475
|
getListVc() {
|
|
475
476
|
var _a, _b;
|
|
476
477
|
const listVc = (_b = (_a = this.listVc) === null || _a === void 0 ? void 0 : _a.getListVc()) !== null && _b !== void 0 ? _b : this.listVcs[0];
|
|
@@ -68,8 +68,8 @@ export default class ActiveRecordCardViewController extends AbstractViewControll
|
|
|
68
68
|
setSelectedRows(rows: (string | number)[]): void;
|
|
69
69
|
getRowVc(row: string | number): import("../..").ListRowViewController;
|
|
70
70
|
getValues(): import("../../types/heartwood.types").RowValues[];
|
|
71
|
-
setValue(rowId: string, name: string, value: any): Promise<void>;
|
|
72
|
-
getValue(rowId: string, name: string): any;
|
|
71
|
+
setValue(rowId: string | number, name: string, value: any): Promise<void>;
|
|
72
|
+
getValue(rowId: string | number, name: string): any;
|
|
73
73
|
getPayload(): Record<string, any> | undefined;
|
|
74
74
|
setFooter(footer: CardFooter | null): void;
|
|
75
75
|
disableFooter(): void;
|
|
@@ -442,6 +442,7 @@ class ActiveRecordCardViewController extends Abstract_vc_1.default {
|
|
|
442
442
|
enableFooter() {
|
|
443
443
|
this.cardVc.enableFooter();
|
|
444
444
|
}
|
|
445
|
+
// @deprecated - this is dangerous to use and will break when paging is enabled. Check the MockActiveCard or your ActiveRecordCard for a better solution. If one does not exist, report it here: https://docs.google.com/forms/d/e/1FAIpQLSdqNm0tkmBhzl7L8yuRpXYOWuke9CzKvbPzpUIsIYxB0zDmIQ/viewform
|
|
445
446
|
getListVc() {
|
|
446
447
|
const listVc = this.listVc?.getListVc() ?? this.listVcs[0];
|
|
447
448
|
if (!listVc || this.listVcs.length > 1) {
|
package/package.json
CHANGED