@singularsystems/neo-core 0.10.74 → 0.10.75
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.
|
@@ -46,6 +46,10 @@ export interface IButtonOptions {
|
|
|
46
46
|
* Adds a pulse animation to the button.
|
|
47
47
|
*/
|
|
48
48
|
pulse?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Set a custom variant for when a standard variant is not provided.
|
|
51
|
+
*/
|
|
52
|
+
customVariant?: string;
|
|
49
53
|
}
|
|
50
54
|
export interface IButtonDropDownItem {
|
|
51
55
|
/** Menu item text or component */
|
|
@@ -82,7 +82,7 @@ export interface IPageManager {
|
|
|
82
82
|
/**
|
|
83
83
|
* Refresh the data only if the page manager has initialised.
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
invalidateData(taskRunner?: ITaskRunner): Promise<void>;
|
|
86
86
|
/**
|
|
87
87
|
* Refresh the data by calling the api endpoint with the current criteria.
|
|
88
88
|
* This will not reset the page index, and will not update the total record count, therefore should only be called if your criteria has not changed since the last full fetch using refreshData().
|
|
@@ -135,7 +135,7 @@ export declare class PageManager<TCriteria extends ValueObject, TModel extends I
|
|
|
135
135
|
/**
|
|
136
136
|
* Refresh the data only if the page manager has initialised.
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
invalidateData(taskRunner?: ITaskRunner): Promise<void>;
|
|
139
139
|
/**
|
|
140
140
|
* Refresh the data by calling the api endpoint with the current criteria.
|
|
141
141
|
* This will not reset the page index, and will not update the total record count, therefore should only be called if your criteria has not changed since the last full fetch using refreshData().
|
|
@@ -169,7 +169,7 @@ var PageManager = /** @class */ (function (_super) {
|
|
|
169
169
|
/**
|
|
170
170
|
* Refresh the data only if the page manager has initialised.
|
|
171
171
|
*/
|
|
172
|
-
PageManager.prototype.
|
|
172
|
+
PageManager.prototype.invalidateData = function (taskRunner) {
|
|
173
173
|
return __awaiter(this, void 0, void 0, function () {
|
|
174
174
|
return __generator(this, function (_a) {
|
|
175
175
|
switch (_a.label) {
|