@mediusinc/mng-commons 2.6.0-rc.0 → 2.6.0-rc.1
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/esm2020/lib/components/tableview/table/table.component.mjs +2 -2
- package/esm2020/lib/services/action-executor.service.mjs +16 -4
- package/fesm2015/mediusinc-mng-commons.mjs +16 -4
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +16 -4
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/services/action-executor.service.d.ts +4 -2
- package/package.json +1 -1
|
@@ -109,10 +109,11 @@ export declare class MngActionExecutorService {
|
|
|
109
109
|
* @param parameters Action parameters for activation of action instance.
|
|
110
110
|
* @param instance Optional existing action instance (if non provided, new will be created).
|
|
111
111
|
* @param previousActionInstance Optional previous action instance to link in next instance.
|
|
112
|
+
* @param runContext Marks if context should be run.
|
|
112
113
|
*
|
|
113
114
|
* @return Action instance - if non provided in parameters, the newly created will be returned.
|
|
114
115
|
*/
|
|
115
|
-
activateAction<T, S>(action: ActionDescriptor<T>, parameters: ActionParameters<T>, instance?: ActionInstance<T, S>, previousActionInstance?: ActionInstance<unknown, unknown
|
|
116
|
+
activateAction<T, S>(action: ActionDescriptor<T>, parameters: ActionParameters<T>, instance?: ActionInstance<T, S>, previousActionInstance?: ActionInstance<unknown, unknown>, runContext?: boolean): ActionInstance<T, S>;
|
|
116
117
|
/**
|
|
117
118
|
* To be called when action editor is initialized to correctly activate action.
|
|
118
119
|
* @param action Action descriptor.
|
|
@@ -153,10 +154,11 @@ export declare class MngActionExecutorService {
|
|
|
153
154
|
*
|
|
154
155
|
* @param action Action descriptor.
|
|
155
156
|
* @param parameters Action parameters for action execution to construct new route.
|
|
157
|
+
* @param runContext Marks if context should be run.
|
|
156
158
|
*
|
|
157
159
|
* @return Action instance - if non provided in parameters, the newly created will be returned.
|
|
158
160
|
*/
|
|
159
|
-
triggerAction<T, S>(action: ActionDescriptor<T>, parameters: ActionParameters<T
|
|
161
|
+
triggerAction<T, S>(action: ActionDescriptor<T>, parameters: ActionParameters<T>, runContext?: boolean): ActionInstance<T, S>;
|
|
160
162
|
/**
|
|
161
163
|
* Deactivates on route triggered action by trying to reroute back to location where action was triggered.
|
|
162
164
|
* @param instance Action instance.
|