chore: Updating the spelling for runBehaviour (#40490)
## Description
Updating the spelling for `runBehaviour`
Fixes #
## Automation
/ok-to-test tags=""
### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results -->
> [!CAUTION]
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.
<!-- end of auto-generated comment: Cypress test results -->
## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
This commit is contained in:
parent
c5d2f5dc56
commit
bc2dcec672
|
|
@ -17,7 +17,7 @@ import PageList from "../../../../support/Pages/PageList";
|
||||||
|
|
||||||
interface IFunctionSettingData {
|
interface IFunctionSettingData {
|
||||||
name: string;
|
name: string;
|
||||||
runBehavior: "On page load" | "Manual";
|
runBehaviour: "On page load" | "Manual";
|
||||||
confirmBeforeExecute: boolean;
|
confirmBeforeExecute: boolean;
|
||||||
// uses the "async" keyword
|
// uses the "async" keyword
|
||||||
isMarkedAsync: boolean;
|
isMarkedAsync: boolean;
|
||||||
|
|
@ -35,31 +35,31 @@ describe(
|
||||||
const FUNCTIONS_SETTINGS_DEFAULT_DATA: IFunctionSettingData[] = [
|
const FUNCTIONS_SETTINGS_DEFAULT_DATA: IFunctionSettingData[] = [
|
||||||
{
|
{
|
||||||
name: "getId",
|
name: "getId",
|
||||||
runBehavior: "On page load",
|
runBehaviour: "On page load",
|
||||||
confirmBeforeExecute: false,
|
confirmBeforeExecute: false,
|
||||||
isMarkedAsync: true,
|
isMarkedAsync: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "zip",
|
name: "zip",
|
||||||
runBehavior: "On page load",
|
runBehaviour: "On page load",
|
||||||
confirmBeforeExecute: true,
|
confirmBeforeExecute: true,
|
||||||
isMarkedAsync: false,
|
isMarkedAsync: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "base",
|
name: "base",
|
||||||
runBehavior: "Manual",
|
runBehaviour: "Manual",
|
||||||
confirmBeforeExecute: false,
|
confirmBeforeExecute: false,
|
||||||
isMarkedAsync: true,
|
isMarkedAsync: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "assert",
|
name: "assert",
|
||||||
runBehavior: "Manual",
|
runBehaviour: "Manual",
|
||||||
confirmBeforeExecute: false,
|
confirmBeforeExecute: false,
|
||||||
isMarkedAsync: false,
|
isMarkedAsync: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "test",
|
name: "test",
|
||||||
runBehavior: "On page load",
|
runBehaviour: "On page load",
|
||||||
confirmBeforeExecute: true,
|
confirmBeforeExecute: true,
|
||||||
isMarkedAsync: true,
|
isMarkedAsync: true,
|
||||||
},
|
},
|
||||||
|
|
@ -359,7 +359,7 @@ describe(
|
||||||
// Number of functions set to run on page load and should also confirm before execute
|
// Number of functions set to run on page load and should also confirm before execute
|
||||||
onPageLoadAndConfirmExecuteFunctionsLength =
|
onPageLoadAndConfirmExecuteFunctionsLength =
|
||||||
FUNCTIONS_SETTINGS_DEFAULT_DATA.filter(
|
FUNCTIONS_SETTINGS_DEFAULT_DATA.filter(
|
||||||
(func) => func.runBehavior && func.confirmBeforeExecute,
|
(func) => func.runBehaviour && func.confirmBeforeExecute,
|
||||||
).length;
|
).length;
|
||||||
|
|
||||||
getJSObject = (data: IFunctionSettingData[]) => {
|
getJSObject = (data: IFunctionSettingData[]) => {
|
||||||
|
|
@ -404,7 +404,7 @@ describe(
|
||||||
(functionSetting) => {
|
(functionSetting) => {
|
||||||
jsEditor.EnableDisableAsyncFuncSettings(
|
jsEditor.EnableDisableAsyncFuncSettings(
|
||||||
functionSetting.name,
|
functionSetting.name,
|
||||||
functionSetting.runBehavior,
|
functionSetting.runBehaviour,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
@ -425,31 +425,31 @@ describe(
|
||||||
const FUNCTIONS_SETTINGS_RENAMED_DATA: IFunctionSettingData[] = [
|
const FUNCTIONS_SETTINGS_RENAMED_DATA: IFunctionSettingData[] = [
|
||||||
{
|
{
|
||||||
name: "newGetId",
|
name: "newGetId",
|
||||||
runBehavior: "On page load",
|
runBehaviour: "On page load",
|
||||||
confirmBeforeExecute: false,
|
confirmBeforeExecute: false,
|
||||||
isMarkedAsync: false,
|
isMarkedAsync: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "zip1",
|
name: "zip1",
|
||||||
runBehavior: "On page load",
|
runBehaviour: "On page load",
|
||||||
confirmBeforeExecute: true,
|
confirmBeforeExecute: true,
|
||||||
isMarkedAsync: true,
|
isMarkedAsync: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "base",
|
name: "base",
|
||||||
runBehavior: "Manual",
|
runBehaviour: "Manual",
|
||||||
confirmBeforeExecute: false,
|
confirmBeforeExecute: false,
|
||||||
isMarkedAsync: true,
|
isMarkedAsync: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "newAssert",
|
name: "newAssert",
|
||||||
runBehavior: "On page load",
|
runBehaviour: "On page load",
|
||||||
confirmBeforeExecute: false,
|
confirmBeforeExecute: false,
|
||||||
isMarkedAsync: false,
|
isMarkedAsync: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "test",
|
name: "test",
|
||||||
runBehavior: "On page load",
|
runBehaviour: "On page load",
|
||||||
confirmBeforeExecute: true,
|
confirmBeforeExecute: true,
|
||||||
isMarkedAsync: true,
|
isMarkedAsync: true,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2208,7 +2208,7 @@
|
||||||
"selfReferencingDataPaths": [],
|
"selfReferencingDataPaths": [],
|
||||||
"jsArguments": []
|
"jsArguments": []
|
||||||
},
|
},
|
||||||
"runBehavior": "MANUAL",
|
"runBehaviour": "MANUAL",
|
||||||
"clientSideExecution": true,
|
"clientSideExecution": true,
|
||||||
"dynamicBindingPathList": [{ "key": "body" }],
|
"dynamicBindingPathList": [{ "key": "body" }],
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
|
|
@ -2264,7 +2264,7 @@
|
||||||
"selfReferencingDataPaths": [],
|
"selfReferencingDataPaths": [],
|
||||||
"jsArguments": [{ "name": "a" }, { "name": "b" }]
|
"jsArguments": [{ "name": "a" }, { "name": "b" }]
|
||||||
},
|
},
|
||||||
"runBehavior": "MANUAL",
|
"runBehaviour": "MANUAL",
|
||||||
"dynamicBindingPathList": [{ "key": "body" }],
|
"dynamicBindingPathList": [{ "key": "body" }],
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"invalids": [],
|
"invalids": [],
|
||||||
|
|
@ -2318,7 +2318,7 @@
|
||||||
"selfReferencingDataPaths": [],
|
"selfReferencingDataPaths": [],
|
||||||
"pluginSpecifiedTemplates": [{ "value": true }]
|
"pluginSpecifiedTemplates": [{ "value": true }]
|
||||||
},
|
},
|
||||||
"runBehavior": "MANUAL",
|
"runBehaviour": "MANUAL",
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"invalids": [],
|
"invalids": [],
|
||||||
"messages": [],
|
"messages": [],
|
||||||
|
|
@ -2383,7 +2383,7 @@
|
||||||
"selfReferencingDataPaths": [],
|
"selfReferencingDataPaths": [],
|
||||||
"pluginSpecifiedTemplates": [{ "value": true }]
|
"pluginSpecifiedTemplates": [{ "value": true }]
|
||||||
},
|
},
|
||||||
"runBehavior": "MANUAL",
|
"runBehaviour": "MANUAL",
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"invalids": [],
|
"invalids": [],
|
||||||
"messages": [],
|
"messages": [],
|
||||||
|
|
@ -2447,7 +2447,7 @@
|
||||||
"selfReferencingDataPaths": [],
|
"selfReferencingDataPaths": [],
|
||||||
"pluginSpecifiedTemplates": [{ "value": true }]
|
"pluginSpecifiedTemplates": [{ "value": true }]
|
||||||
},
|
},
|
||||||
"runBehavior": "MANUAL",
|
"runBehaviour": "MANUAL",
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"invalids": [],
|
"invalids": [],
|
||||||
"messages": [],
|
"messages": [],
|
||||||
|
|
@ -2499,7 +2499,7 @@
|
||||||
"selfReferencingDataPaths": [],
|
"selfReferencingDataPaths": [],
|
||||||
"pluginSpecifiedTemplates": [{ "value": false }]
|
"pluginSpecifiedTemplates": [{ "value": false }]
|
||||||
},
|
},
|
||||||
"runBehavior": "ON_PAGE_LOAD",
|
"runBehaviour": "ON_PAGE_LOAD",
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"invalids": [],
|
"invalids": [],
|
||||||
"messages": [],
|
"messages": [],
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -104,8 +104,8 @@ export class ApiPage {
|
||||||
public moreActionsTrigger = "[data-testid='t--more-action-trigger']";
|
public moreActionsTrigger = "[data-testid='t--more-action-trigger']";
|
||||||
private apiNameInput = this.locator._activeEntityTabInput;
|
private apiNameInput = this.locator._activeEntityTabInput;
|
||||||
public pageList = ".ads-v2-sub-menu > .ads-v2-menu__menu-item";
|
public pageList = ".ads-v2-sub-menu > .ads-v2-menu__menu-item";
|
||||||
public _runBehaviorDropdown = "[data-testid='t--dropdown-runBehavior']";
|
public _runBehaviourDropdown = "[data-testid='t--dropdown-runBehaviour']";
|
||||||
public _runBehaviorOption = (runBehaviour: string) =>
|
public _runBehaviourOption = (runBehaviour: string) =>
|
||||||
`.rc-select-item-option-content [data-testid='t--label-${runBehaviour}']`;
|
`.rc-select-item-option-content [data-testid='t--label-${runBehaviour}']`;
|
||||||
|
|
||||||
CreateApi(
|
CreateApi(
|
||||||
|
|
@ -275,16 +275,14 @@ export class ApiPage {
|
||||||
this.SelectPaneTab("Headers");
|
this.SelectPaneTab("Headers");
|
||||||
}
|
}
|
||||||
|
|
||||||
ToggleOnPageLoadRun(runBehavior: "On page load" | "Manual") {
|
ToggleOnPageLoadRun(runBehaviour: "On page load" | "Manual") {
|
||||||
// Navigate to Settings tab
|
// Navigate to Settings tab
|
||||||
this.pluginActionForm.toolbar.toggleSettings();
|
this.pluginActionForm.toolbar.toggleSettings();
|
||||||
// Set runBehavior to On page load
|
// Set runBehaviour to On page load
|
||||||
this.agHelper.GetNClick(this._runBehaviorDropdown);
|
this.agHelper.GetNClick(this._runBehaviourDropdown);
|
||||||
this.agHelper.GetNClickByContains(
|
this.agHelper.GetNClickByContains(
|
||||||
this._runBehaviorOption,
|
this._runBehaviourOption(runBehaviour),
|
||||||
runBehavior,
|
runBehaviour,
|
||||||
0,
|
|
||||||
true,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -510,24 +508,24 @@ export class ApiPage {
|
||||||
this.RunAPI();
|
this.RunAPI();
|
||||||
}
|
}
|
||||||
|
|
||||||
ToggleOnPageLoadRunJsObject(runBehavior: "On page load" | "Manual") {
|
ToggleOnPageLoadRunJsObject(runBehaviour: "On page load" | "Manual") {
|
||||||
// Navigate to Settings tab
|
// Navigate to Settings tab
|
||||||
this.agHelper.GetNClick(this.settingsTriggerLocator);
|
this.agHelper.GetNClick(this.settingsTriggerLocator);
|
||||||
// Set runBehavior to On page load
|
// Set runBehaviour to On page load
|
||||||
this.agHelper.GetNClick(this._runBehaviorDropdown);
|
this.agHelper.GetNClick(this._runBehaviourDropdown);
|
||||||
this.agHelper.GetNClickByContains(
|
this.agHelper.GetNClickByContains(
|
||||||
this._runBehaviorOption(runBehavior),
|
this._runBehaviourOption(runBehaviour),
|
||||||
runBehavior,
|
runBehaviour,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public clickSettingIcon(runBehavior: "On page load" | "Manual") {
|
public clickSettingIcon(runBehaviour: "On page load" | "Manual") {
|
||||||
this.agHelper.GetNClick(this.settingsTriggerLocator);
|
this.agHelper.GetNClick(this.settingsTriggerLocator);
|
||||||
// Set runBehavior to On page load
|
// Set runBehaviour to On page load
|
||||||
this.agHelper.GetNClick(this._runBehaviorDropdown);
|
this.agHelper.GetNClick(this._runBehaviourDropdown);
|
||||||
this.agHelper.GetNClickByContains(
|
this.agHelper.GetNClickByContains(
|
||||||
this._runBehaviorOption(runBehavior),
|
this._runBehaviourOption(runBehaviour),
|
||||||
runBehavior,
|
runBehaviour,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -300,27 +300,27 @@ export class JSEditor {
|
||||||
|
|
||||||
public VerifyAsyncFuncSettings(
|
public VerifyAsyncFuncSettings(
|
||||||
funName: string,
|
funName: string,
|
||||||
runBehavior: "On page load" | "Manual",
|
runBehaviour: "On page load" | "Manual",
|
||||||
) {
|
) {
|
||||||
this.toolbar.toggleSettings();
|
this.toolbar.toggleSettings();
|
||||||
this.agHelper.GetNAssertContains(
|
this.agHelper.GetNAssertContains(
|
||||||
this.__runBehaviourSwitchStatus(funName),
|
this.__runBehaviourSwitchStatus(funName),
|
||||||
runBehavior,
|
runBehaviour,
|
||||||
);
|
);
|
||||||
this.toolbar.toggleSettings();
|
this.toolbar.toggleSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnableDisableAsyncFuncSettings(
|
public EnableDisableAsyncFuncSettings(
|
||||||
funName: string,
|
funName: string,
|
||||||
runBehavior: "On page load" | "Manual",
|
runBehaviour: "On page load" | "Manual",
|
||||||
) {
|
) {
|
||||||
// Navigate to Settings tab
|
// Navigate to Settings tab
|
||||||
this.toolbar.toggleSettings();
|
this.toolbar.toggleSettings();
|
||||||
// Set runBehavior to On page load
|
// Set runBehaviour to On page load
|
||||||
this.agHelper.GetNClick(this._runBehaviourSwitch(funName));
|
this.agHelper.GetNClick(this._runBehaviourSwitch(funName));
|
||||||
this.agHelper.GetNClickByContains(
|
this.agHelper.GetNClickByContains(
|
||||||
this._dropdownOption(runBehavior),
|
this._dropdownOption(runBehaviour),
|
||||||
runBehavior,
|
runBehaviour,
|
||||||
);
|
);
|
||||||
// Return to code tab
|
// Return to code tab
|
||||||
this.toolbar.toggleSettings();
|
this.toolbar.toggleSettings();
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import {
|
||||||
const BASE_ACTION: ApiAction = {
|
const BASE_ACTION: ApiAction = {
|
||||||
dynamicBindingPathList: [],
|
dynamicBindingPathList: [],
|
||||||
cacheResponse: "",
|
cacheResponse: "",
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
invalids: [],
|
invalids: [],
|
||||||
isValid: false,
|
isValid: false,
|
||||||
workspaceId: "",
|
workspaceId: "",
|
||||||
|
|
|
||||||
|
|
@ -352,9 +352,9 @@ export const executePageLoadActions = (
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export const setActionsRunBehavior = (
|
export const setActionsRunBehaviour = (
|
||||||
actions: Array<{
|
actions: Array<{
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
}>,
|
}>,
|
||||||
|
|
@ -365,9 +365,9 @@ export const setActionsRunBehavior = (
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export const setJSActionsRunBehavior = (
|
export const setJSActionsRunBehaviour = (
|
||||||
actions: Array<{
|
actions: Array<{
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
collectionId?: string;
|
collectionId?: string;
|
||||||
|
|
|
||||||
|
|
@ -302,12 +302,12 @@ class ActionAPI extends API {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
static async updateActionRunBehavior(
|
static async updateActionRunBehaviour(
|
||||||
actionId: string,
|
actionId: string,
|
||||||
runBehavior: ActionRunBehaviourType,
|
runBehaviour: ActionRunBehaviourType,
|
||||||
) {
|
) {
|
||||||
return API.put(ActionAPI.url + `/runBehavior/${actionId}`, undefined, {
|
return API.put(ActionAPI.url + `/runBehaviour/${actionId}`, undefined, {
|
||||||
behavior: runBehavior,
|
behaviour: runBehaviour,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ export interface SavePageResponseData {
|
||||||
dsl: Partial<DSLWidget>;
|
dsl: Partial<DSLWidget>;
|
||||||
messages: string[];
|
messages: string[];
|
||||||
actionUpdates: Array<{
|
actionUpdates: Array<{
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
collectionId?: string;
|
collectionId?: string;
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ describe("generateDataTreeJSAction", () => {
|
||||||
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
key: "body",
|
key: "body",
|
||||||
|
|
@ -91,7 +91,7 @@ describe("generateDataTreeJSAction", () => {
|
||||||
body: "() => {\n\t\t//write code here\n\t}",
|
body: "() => {\n\t\t//write code here\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -239,7 +239,7 @@ describe("generateDataTreeJSAction", () => {
|
||||||
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
key: "body",
|
key: "body",
|
||||||
|
|
@ -286,7 +286,7 @@ describe("generateDataTreeJSAction", () => {
|
||||||
body: "() => {\n\t\t//write code here\n\t}",
|
body: "() => {\n\t\t//write code here\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,7 @@ export const handlers = {
|
||||||
draftMetaState: ActionDataState,
|
draftMetaState: ActionDataState,
|
||||||
action: ReduxAction<
|
action: ReduxAction<
|
||||||
Array<{
|
Array<{
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
}>
|
}>
|
||||||
|
|
@ -325,8 +325,8 @@ export const handlers = {
|
||||||
|
|
||||||
draftMetaState.forEach((action) => {
|
draftMetaState.forEach((action) => {
|
||||||
if (action.config.id in actionUpdateSearch) {
|
if (action.config.id in actionUpdateSearch) {
|
||||||
action.config.runBehavior =
|
action.config.runBehaviour =
|
||||||
actionUpdateSearch[action.config.id].runBehavior;
|
actionUpdateSearch[action.config.id].runBehaviour;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -366,14 +366,14 @@ export const handlers = {
|
||||||
action: ReduxAction<{
|
action: ReduxAction<{
|
||||||
actionId: string;
|
actionId: string;
|
||||||
collectionId: string;
|
collectionId: string;
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
}>,
|
}>,
|
||||||
): JSCollectionDataState =>
|
): JSCollectionDataState =>
|
||||||
state.map((a) => {
|
state.map((a) => {
|
||||||
if (a.config.id === action.payload.collectionId) {
|
if (a.config.id === action.payload.collectionId) {
|
||||||
const updatedActions = a.config.actions.map((jsAction) => {
|
const updatedActions = a.config.actions.map((jsAction) => {
|
||||||
if (jsAction.id === action.payload.actionId) {
|
if (jsAction.id === action.payload.actionId) {
|
||||||
set(jsAction, `runBehavior`, action.payload.runBehavior);
|
set(jsAction, `runBehaviour`, action.payload.runBehaviour);
|
||||||
}
|
}
|
||||||
|
|
||||||
return jsAction;
|
return jsAction;
|
||||||
|
|
@ -394,7 +394,7 @@ export const handlers = {
|
||||||
state: JSCollectionDataState,
|
state: JSCollectionDataState,
|
||||||
action: ReduxAction<
|
action: ReduxAction<
|
||||||
Array<{
|
Array<{
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
collectionId: string;
|
collectionId: string;
|
||||||
|
|
@ -411,7 +411,7 @@ export const handlers = {
|
||||||
|
|
||||||
allActions.forEach((js) => {
|
allActions.forEach((js) => {
|
||||||
if (js.id in actionUpdateSearch) {
|
if (js.id in actionUpdateSearch) {
|
||||||
js.runBehavior = actionUpdateSearch[js.id].runBehavior;
|
js.runBehaviour = actionUpdateSearch[js.id].runBehaviour;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -88,8 +88,8 @@ import {
|
||||||
fetchActionsForPageError,
|
fetchActionsForPageError,
|
||||||
fetchActionsForPageSuccess,
|
fetchActionsForPageSuccess,
|
||||||
fetchActionsForView,
|
fetchActionsForView,
|
||||||
setActionsRunBehavior,
|
setActionsRunBehaviour,
|
||||||
setJSActionsRunBehavior,
|
setJSActionsRunBehaviour,
|
||||||
} from "actions/pluginActionActions";
|
} from "actions/pluginActionActions";
|
||||||
import type { UrlDataState } from "reducers/entityReducers/appReducer";
|
import type { UrlDataState } from "reducers/entityReducers/appReducer";
|
||||||
import { APP_MODE } from "entities/App";
|
import { APP_MODE } from "entities/App";
|
||||||
|
|
@ -536,7 +536,7 @@ export function* savePageSaga(action: ReduxAction<{ isRetry?: boolean }>) {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (actions && actions.length) {
|
if (actions && actions.length) {
|
||||||
yield put(setActionsRunBehavior(actions));
|
yield put(setActionsRunBehaviour(actions));
|
||||||
}
|
}
|
||||||
|
|
||||||
const jsActions = actionUpdates.filter((d) =>
|
const jsActions = actionUpdates.filter((d) =>
|
||||||
|
|
@ -544,7 +544,7 @@ export function* savePageSaga(action: ReduxAction<{ isRetry?: boolean }>) {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (jsActions && jsActions.length) {
|
if (jsActions && jsActions.length) {
|
||||||
yield put(setJSActionsRunBehavior(jsActions));
|
yield put(setJSActionsRunBehaviour(jsActions));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ const jsObject: JSCollectionData = {
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
isAsync: false,
|
isAsync: false,
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -86,7 +86,7 @@ const jsObject: JSCollectionData = {
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
isAsync: true,
|
isAsync: true,
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2307,7 +2307,7 @@ export const defaultAppState = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
runBehavior: "ON_PAGE_LOAD",
|
runBehaviour: "ON_PAGE_LOAD",
|
||||||
dynamicBindingPathList: [],
|
dynamicBindingPathList: [],
|
||||||
isValid: true,
|
isValid: true,
|
||||||
invalids: [],
|
invalids: [],
|
||||||
|
|
@ -2391,7 +2391,7 @@ export const defaultAppState = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
isValid: true,
|
isValid: true,
|
||||||
invalids: [],
|
invalids: [],
|
||||||
messages: [],
|
messages: [],
|
||||||
|
|
@ -10039,7 +10039,7 @@ export const defaultAppState = {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -10090,7 +10090,7 @@ export const defaultAppState = {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -10141,7 +10141,7 @@ export const defaultAppState = {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -10221,7 +10221,7 @@ export const defaultAppState = {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -10412,7 +10412,7 @@ export const defaultAppState = {
|
||||||
selfReferencingDataPaths: [],
|
selfReferencingDataPaths: [],
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -10462,7 +10462,7 @@ export const defaultAppState = {
|
||||||
selfReferencingDataPaths: [],
|
selfReferencingDataPaths: [],
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -10546,7 +10546,7 @@ export const defaultAppState = {
|
||||||
selfReferencingDataPaths: [],
|
selfReferencingDataPaths: [],
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -10596,7 +10596,7 @@ export const defaultAppState = {
|
||||||
selfReferencingDataPaths: [],
|
selfReferencingDataPaths: [],
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ const TEST_JS_FUNCTION = {
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
isAsync: true,
|
isAsync: true,
|
||||||
},
|
},
|
||||||
runBehavior: ActionRunBehaviour.MANUAL,
|
runBehaviour: ActionRunBehaviour.MANUAL,
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -422,7 +422,10 @@ export const getConfigInitialValues = (
|
||||||
// TODO: Fix this the next time the file is edited
|
// TODO: Fix this the next time the file is edited
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
const parseConfig = (section: any): any => {
|
const parseConfig = (section: any): any => {
|
||||||
if ("initialValue" in section && section.configProperty !== "runBehavior") {
|
if (
|
||||||
|
"initialValue" in section &&
|
||||||
|
section.configProperty !== "runBehaviour"
|
||||||
|
) {
|
||||||
if (section.controlType === "KEYVALUE_ARRAY") {
|
if (section.controlType === "KEYVALUE_ARRAY") {
|
||||||
section.initialValue.forEach(
|
section.initialValue.forEach(
|
||||||
(initialValue: string | number, index: number) => {
|
(initialValue: string | number, index: number) => {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ export default [
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: RUN_BEHAVIOR.MANUAL.label,
|
initialValue: RUN_BEHAVIOR.MANUAL.label,
|
||||||
options: RUN_BEHAVIOR_VALUES,
|
options: RUN_BEHAVIOR_VALUES,
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export default [
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: RUN_BEHAVIOR.MANUAL.label,
|
initialValue: RUN_BEHAVIOR.MANUAL.label,
|
||||||
options: RUN_BEHAVIOR_VALUES,
|
options: RUN_BEHAVIOR_VALUES,
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export default [
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: RUN_BEHAVIOR.MANUAL.label,
|
initialValue: RUN_BEHAVIOR.MANUAL.label,
|
||||||
options: RUN_BEHAVIOR_VALUES,
|
options: RUN_BEHAVIOR_VALUES,
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ const DEFAULT_ACTION: Action = {
|
||||||
id: "randomDatasource",
|
id: "randomDatasource",
|
||||||
},
|
},
|
||||||
dynamicBindingPathList: [],
|
dynamicBindingPathList: [],
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
id: "",
|
id: "",
|
||||||
baseId: "",
|
baseId: "",
|
||||||
invalids: [],
|
invalids: [],
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ export interface BaseAction {
|
||||||
pageId: string;
|
pageId: string;
|
||||||
collectionId?: string;
|
collectionId?: string;
|
||||||
pluginId: string;
|
pluginId: string;
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
dynamicBindingPathList: DynamicPath[];
|
dynamicBindingPathList: DynamicPath[];
|
||||||
isValid: boolean;
|
isValid: boolean;
|
||||||
invalids: string[];
|
invalids: string[];
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ export default class JSObjectsPaneNavigation extends PaneNavigation {
|
||||||
|
|
||||||
*getTab(propertyPath: string) {
|
*getTab(propertyPath: string) {
|
||||||
if (
|
if (
|
||||||
propertyPath.includes("runBehavior") ||
|
propertyPath.includes("runBehaviour") ||
|
||||||
propertyPath.includes("confirmBeforeExecute")
|
propertyPath.includes("confirmBeforeExecute")
|
||||||
) {
|
) {
|
||||||
return JSEditorTab.SETTINGS;
|
return JSEditorTab.SETTINGS;
|
||||||
|
|
|
||||||
|
|
@ -44,11 +44,11 @@ describe("JSFunctionSettings", () => {
|
||||||
const updatedJSActions = [
|
const updatedJSActions = [
|
||||||
{
|
{
|
||||||
...actions[0],
|
...actions[0],
|
||||||
runBehavior: ActionRunBehaviour.ON_PAGE_LOAD,
|
runBehaviour: ActionRunBehaviour.ON_PAGE_LOAD,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
...actions[1],
|
...actions[1],
|
||||||
runBehavior: ActionRunBehaviour.MANUAL,
|
runBehaviour: ActionRunBehaviour.MANUAL,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,22 +46,22 @@ interface FunctionSettingsRowProps extends Omit<Props, "actions"> {
|
||||||
}
|
}
|
||||||
|
|
||||||
const FunctionSettingRow = (props: FunctionSettingsRowProps) => {
|
const FunctionSettingRow = (props: FunctionSettingsRowProps) => {
|
||||||
const [runBehavior, setRunBehavior] = useState(props.action.runBehavior);
|
const [runBehaviour, setRunBehaviour] = useState(props.action.runBehaviour);
|
||||||
const options = RUN_BEHAVIOR_VALUES as SelectOptionProps[];
|
const options = RUN_BEHAVIOR_VALUES as SelectOptionProps[];
|
||||||
const selectedValue = options.find((opt) => opt.value === runBehavior);
|
const selectedValue = options.find((opt) => opt.value === runBehaviour);
|
||||||
|
|
||||||
const onSelectOptions = useCallback(
|
const onSelectOptions = useCallback(
|
||||||
(newRunBehavior: ActionRunBehaviourType) => {
|
(newRunBehaviour: ActionRunBehaviourType) => {
|
||||||
setRunBehavior(newRunBehavior);
|
setRunBehaviour(newRunBehaviour);
|
||||||
props.onUpdateSettings?.({
|
props.onUpdateSettings?.({
|
||||||
value: newRunBehavior,
|
value: newRunBehaviour,
|
||||||
propertyName: "runBehavior",
|
propertyName: "runBehaviour",
|
||||||
action: props.action,
|
action: props.action,
|
||||||
});
|
});
|
||||||
|
|
||||||
AnalyticsUtil.logEvent("JS_OBJECT_SETTINGS_CHANGED", {
|
AnalyticsUtil.logEvent("JS_OBJECT_SETTINGS_CHANGED", {
|
||||||
toggleSetting: "ON_PAGE_LOAD",
|
toggleSetting: "ON_PAGE_LOAD",
|
||||||
toggleValue: newRunBehavior,
|
toggleValue: newRunBehaviour,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
[props],
|
[props],
|
||||||
|
|
@ -81,7 +81,7 @@ const FunctionSettingRow = (props: FunctionSettingsRowProps) => {
|
||||||
{props.action.name}
|
{props.action.name}
|
||||||
</Text>
|
</Text>
|
||||||
<StyledSelect
|
<StyledSelect
|
||||||
data-testid={`t--dropdown-runBehavior`}
|
data-testid={`t--dropdown-runBehaviour`}
|
||||||
defaultValue={selectedValue}
|
defaultValue={selectedValue}
|
||||||
id={props.action.id}
|
id={props.action.id}
|
||||||
isDisabled={props.disabled}
|
isDisabled={props.disabled}
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ const BASE_JS_ACTION = (useLiterals = false) => {
|
||||||
pageId: "page-id",
|
pageId: "page-id",
|
||||||
collectionId: "collection-id",
|
collectionId: "collection-id",
|
||||||
pluginId: "plugin-id",
|
pluginId: "plugin-id",
|
||||||
runBehavior: ActionRunBehaviour.MANUAL,
|
runBehaviour: ActionRunBehaviour.MANUAL,
|
||||||
dynamicBindingPathList: [],
|
dynamicBindingPathList: [],
|
||||||
isValid: false,
|
isValid: false,
|
||||||
invalids: [],
|
invalids: [],
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"runBehavior": "MANUAL",
|
"runBehaviour": "MANUAL",
|
||||||
"dynamicBindingPathList": [],
|
"dynamicBindingPathList": [],
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"invalids": [],
|
"invalids": [],
|
||||||
|
|
@ -2544,7 +2544,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2590,7 +2590,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2636,7 +2636,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2688,7 +2688,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2727,7 +2727,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2773,7 +2773,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2819,7 +2819,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"runBehavior": "MANUAL",
|
"runBehaviour": "MANUAL",
|
||||||
"dynamicBindingPathList": [],
|
"dynamicBindingPathList": [],
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"invalids": [],
|
"invalids": [],
|
||||||
|
|
@ -2543,7 +2543,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2589,7 +2589,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2635,7 +2635,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2687,7 +2687,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2726,7 +2726,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2772,7 +2772,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
@ -2818,7 +2818,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -1554,15 +1554,15 @@ function triggerFileUploadInstrumentation(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Function to clear the action responses for the actions which are not runBehavior: ON_PAGE_LOAD.
|
// Function to clear the action responses for the actions which are not runBehaviour: ON_PAGE_LOAD.
|
||||||
function* clearTriggerActionResponse() {
|
function* clearTriggerActionResponse() {
|
||||||
const currentPageActions: ActionData[] = yield select(getCurrentActions);
|
const currentPageActions: ActionData[] = yield select(getCurrentActions);
|
||||||
|
|
||||||
for (const action of currentPageActions) {
|
for (const action of currentPageActions) {
|
||||||
// Clear the action response if the action has data and is not runBehavior: ON_PAGE_LOAD.
|
// Clear the action response if the action has data and is not runBehaviour: ON_PAGE_LOAD.
|
||||||
if (
|
if (
|
||||||
action.data &&
|
action.data &&
|
||||||
action.config.runBehavior !== ActionRunBehaviour.ON_PAGE_LOAD
|
action.config.runBehaviour !== ActionRunBehaviour.ON_PAGE_LOAD
|
||||||
) {
|
) {
|
||||||
yield put(clearActionResponse(action.config.id));
|
yield put(clearActionResponse(action.config.id));
|
||||||
yield put(
|
yield put(
|
||||||
|
|
|
||||||
|
|
@ -1039,12 +1039,12 @@ export function* setActionPropertySaga(
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (propertyName === "runBehavior") {
|
if (propertyName === "runBehaviour") {
|
||||||
yield put({
|
yield put({
|
||||||
type: ReduxActionTypes.UPDATE_ACTION_RUN_BEHAVIOR_INIT,
|
type: ReduxActionTypes.UPDATE_ACTION_RUN_BEHAVIOR_INIT,
|
||||||
payload: {
|
payload: {
|
||||||
actionId,
|
actionId,
|
||||||
runBehavior: value as ActionRunBehaviourType,
|
runBehaviour: value as ActionRunBehaviourType,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1061,17 +1061,17 @@ export function* setActionPropertySaga(
|
||||||
if (!skipSave) yield put(updateAction({ id: actionId }));
|
if (!skipSave) yield put(updateAction({ id: actionId }));
|
||||||
}
|
}
|
||||||
|
|
||||||
function* updateActionRunBehaviorSaga(
|
function* updateActionRunBehaviourSaga(
|
||||||
action: ReduxAction<{
|
action: ReduxAction<{
|
||||||
actionId: string;
|
actionId: string;
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
}>,
|
}>,
|
||||||
) {
|
) {
|
||||||
try {
|
try {
|
||||||
const response: ApiResponse = yield call(
|
const response: ApiResponse = yield call(
|
||||||
ActionAPI.updateActionRunBehavior,
|
ActionAPI.updateActionRunBehaviour,
|
||||||
action.payload.actionId,
|
action.payload.actionId,
|
||||||
action.payload.runBehavior,
|
action.payload.runBehaviour,
|
||||||
);
|
);
|
||||||
const isValidResponse: boolean = yield validateResponse(response);
|
const isValidResponse: boolean = yield validateResponse(response);
|
||||||
|
|
||||||
|
|
@ -1267,7 +1267,7 @@ export function* watchActionSagas() {
|
||||||
takeEvery(ReduxActionErrorTypes.COPY_ACTION_ERROR, handleMoveOrCopySaga),
|
takeEvery(ReduxActionErrorTypes.COPY_ACTION_ERROR, handleMoveOrCopySaga),
|
||||||
takeLatest(
|
takeLatest(
|
||||||
ReduxActionTypes.UPDATE_ACTION_RUN_BEHAVIOR_INIT,
|
ReduxActionTypes.UPDATE_ACTION_RUN_BEHAVIOR_INIT,
|
||||||
updateActionRunBehaviorSaga,
|
updateActionRunBehaviourSaga,
|
||||||
),
|
),
|
||||||
takeLatest(ReduxActionTypes.EXECUTE_COMMAND, executeCommandSaga),
|
takeLatest(ReduxActionTypes.EXECUTE_COMMAND, executeCommandSaga),
|
||||||
takeLatest(
|
takeLatest(
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ export const newlyCreatedActions: Action[] = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
runBehavior: "ON_PAGE_LOAD",
|
runBehaviour: "ON_PAGE_LOAD",
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
key: "body",
|
key: "body",
|
||||||
|
|
|
||||||
|
|
@ -783,13 +783,13 @@ function* setFunctionPropertySaga(
|
||||||
|
|
||||||
const actionId = action.id;
|
const actionId = action.id;
|
||||||
|
|
||||||
if (propertyName === "runBehavior") {
|
if (propertyName === "runBehaviour") {
|
||||||
yield put({
|
yield put({
|
||||||
type: ReduxActionTypes.UPDATE_FUNCTION_RUN_BEHAVIOR_INIT,
|
type: ReduxActionTypes.UPDATE_FUNCTION_RUN_BEHAVIOR_INIT,
|
||||||
payload: {
|
payload: {
|
||||||
collectionId: action.collectionId,
|
collectionId: action.collectionId,
|
||||||
actionId,
|
actionId,
|
||||||
runBehavior: value,
|
runBehaviour: value,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -847,19 +847,19 @@ function* handleUpdateJSFunctionPropertySaga(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function* updateFunctionRunBehaviorSaga(
|
function* updateFunctionRunBehaviourSaga(
|
||||||
action: ReduxAction<{
|
action: ReduxAction<{
|
||||||
collectionId: string;
|
collectionId: string;
|
||||||
actionId: string;
|
actionId: string;
|
||||||
runBehavior: ActionRunBehaviourType;
|
runBehaviour: ActionRunBehaviourType;
|
||||||
}>,
|
}>,
|
||||||
) {
|
) {
|
||||||
try {
|
try {
|
||||||
const { actionId, collectionId, runBehavior } = action.payload;
|
const { actionId, collectionId, runBehaviour } = action.payload;
|
||||||
const response: ApiResponse = yield call(
|
const response: ApiResponse = yield call(
|
||||||
ActionAPI.updateActionRunBehavior,
|
ActionAPI.updateActionRunBehaviour,
|
||||||
actionId,
|
actionId,
|
||||||
runBehavior,
|
runBehaviour,
|
||||||
);
|
);
|
||||||
const isValidResponse: boolean = yield validateResponse(response);
|
const isValidResponse: boolean = yield validateResponse(response);
|
||||||
|
|
||||||
|
|
@ -869,7 +869,7 @@ function* updateFunctionRunBehaviorSaga(
|
||||||
payload: {
|
payload: {
|
||||||
actionId: actionId,
|
actionId: actionId,
|
||||||
collectionId: collectionId,
|
collectionId: collectionId,
|
||||||
runBehavior,
|
runBehaviour,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -945,7 +945,7 @@ export default function* root() {
|
||||||
),
|
),
|
||||||
takeLatest(
|
takeLatest(
|
||||||
ReduxActionTypes.UPDATE_FUNCTION_RUN_BEHAVIOR_INIT,
|
ReduxActionTypes.UPDATE_FUNCTION_RUN_BEHAVIOR_INIT,
|
||||||
updateFunctionRunBehaviorSaga,
|
updateFunctionRunBehaviourSaga,
|
||||||
),
|
),
|
||||||
takeLatest(
|
takeLatest(
|
||||||
ReduxActionTypes.CREATE_NEW_JS_FROM_ACTION_CREATOR,
|
ReduxActionTypes.CREATE_NEW_JS_FROM_ACTION_CREATOR,
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ describe("DynamicBindingPathlist", () => {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
key: "body",
|
key: "body",
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ export const getJsActionPeekData = (
|
||||||
|
|
||||||
if (
|
if (
|
||||||
jsAction.data?.[jsChild.id] &&
|
jsAction.data?.[jsChild.id] &&
|
||||||
jsChild.runBehavior === ActionRunBehaviour.ON_PAGE_LOAD
|
jsChild.runBehaviour === ActionRunBehaviour.ON_PAGE_LOAD
|
||||||
) {
|
) {
|
||||||
// TODO: Fix this the next time the file is edited
|
// TODO: Fix this the next time the file is edited
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ const JSObject1: JSCollection = {
|
||||||
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -83,7 +83,7 @@ const JSObject1: JSCollection = {
|
||||||
body: "() => {\n\t\t//write code here\n\t}",
|
body: "() => {\n\t\t//write code here\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -151,7 +151,7 @@ const JSObject2: JSCollection = {
|
||||||
body: "() => {\n\t\t//write code here\n\t}",
|
body: "() => {\n\t\t//write code here\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -193,7 +193,7 @@ const JSObject2: JSCollection = {
|
||||||
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -277,7 +277,7 @@ const resultRenamedActions = {
|
||||||
body: "() => {\n\t\t//write code here\n\t}",
|
body: "() => {\n\t\t//write code here\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -358,7 +358,7 @@ const resultDeletedActions = {
|
||||||
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
body: "async () => {\n\t\t//use async-await or promises\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -469,7 +469,7 @@ const resultChangedBody = {
|
||||||
body: "async () => {\n\t\t//use async-await or promises\n\tconsole.log('content changed')}",
|
body: "async () => {\n\t\t//use async-await or promises\n\tconsole.log('content changed')}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -549,7 +549,7 @@ const resultChangedParameters = {
|
||||||
{ name: "b", value: undefined },
|
{ name: "b", value: undefined },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -624,7 +624,7 @@ const resultRemovedAsync = {
|
||||||
body: "() => {\n\t\t//use async-await or promises\n\t}",
|
body: "() => {\n\t\t//use async-await or promises\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -699,7 +699,7 @@ const resultAddedAsync = {
|
||||||
body: "async () => {\n\t\t//write code here\n\t}",
|
body: "async () => {\n\t\t//write code here\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -754,7 +754,7 @@ const resultAddedAction = {
|
||||||
newActions: [
|
newActions: [
|
||||||
{
|
{
|
||||||
name: "myFun3",
|
name: "myFun3",
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
pageId: "page123",
|
pageId: "page123",
|
||||||
collectionId: "1234",
|
collectionId: "1234",
|
||||||
workspaceId: "workspace123",
|
workspaceId: "workspace123",
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ export const getDifferenceInJSCollection = (
|
||||||
const obj = {
|
const obj = {
|
||||||
name: action.name,
|
name: action.name,
|
||||||
collectionId: jsAction.id,
|
collectionId: jsAction.id,
|
||||||
runBehavior: ActionRunBehaviour.MANUAL,
|
runBehaviour: ActionRunBehaviour.MANUAL,
|
||||||
pageId: jsAction.pageId,
|
pageId: jsAction.pageId,
|
||||||
workspaceId: jsAction.workspaceId,
|
workspaceId: jsAction.workspaceId,
|
||||||
actionConfiguration: {
|
actionConfiguration: {
|
||||||
|
|
@ -230,7 +230,7 @@ export const createDummyJSCollectionActions = (
|
||||||
{
|
{
|
||||||
name: "myFun1",
|
name: "myFun1",
|
||||||
workspaceId,
|
workspaceId,
|
||||||
runBehavior: ActionRunBehaviour.MANUAL,
|
runBehaviour: ActionRunBehaviour.MANUAL,
|
||||||
actionConfiguration: {
|
actionConfiguration: {
|
||||||
body: "function () {}",
|
body: "function () {}",
|
||||||
timeoutInMillisecond: 0,
|
timeoutInMillisecond: 0,
|
||||||
|
|
@ -242,7 +242,7 @@ export const createDummyJSCollectionActions = (
|
||||||
{
|
{
|
||||||
name: "myFun2",
|
name: "myFun2",
|
||||||
workspaceId,
|
workspaceId,
|
||||||
runBehavior: ActionRunBehaviour.MANUAL,
|
runBehaviour: ActionRunBehaviour.MANUAL,
|
||||||
actionConfiguration: {
|
actionConfiguration: {
|
||||||
body: "async function () {}",
|
body: "async function () {}",
|
||||||
timeoutInMillisecond: 0,
|
timeoutInMillisecond: 0,
|
||||||
|
|
@ -282,7 +282,7 @@ export const createSingleFunctionJsCollection = (
|
||||||
{
|
{
|
||||||
name: functionName,
|
name: functionName,
|
||||||
workspaceId,
|
workspaceId,
|
||||||
runBehavior: ActionRunBehaviour.MANUAL,
|
runBehaviour: ActionRunBehaviour.MANUAL,
|
||||||
actionConfiguration: {
|
actionConfiguration: {
|
||||||
body: "function () {}",
|
body: "function () {}",
|
||||||
timeoutInMillisecond: 0,
|
timeoutInMillisecond: 0,
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ export const APIFactory = Factory.Sync.makeFactory<ApiAction>({
|
||||||
datasourceConfiguration: { url: "www.mock-api.appsmith.com" },
|
datasourceConfiguration: { url: "www.mock-api.appsmith.com" },
|
||||||
},
|
},
|
||||||
dynamicBindingPathList: [],
|
dynamicBindingPathList: [],
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
invalids: [],
|
invalids: [],
|
||||||
isValid: true,
|
isValid: true,
|
||||||
jsonPathKeys: [],
|
jsonPathKeys: [],
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ export const GoogleSheetFactory = Factory.Sync.makeFactory<SaaSAction>({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
isValid: true,
|
isValid: true,
|
||||||
invalids: [],
|
invalids: [],
|
||||||
messages: [],
|
messages: [],
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ export const JSObjectFactory = Factory.Sync.makeFactory<JSCollection>({
|
||||||
body: "function (){\n\t\t//\twrite code here\n\t\t//\tthis.myVar1 = [1,2,3]\n\t}",
|
body: "function (){\n\t\t//\twrite code here\n\t\t//\tthis.myVar1 = [1,2,3]\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
@ -70,7 +70,7 @@ export const JSObjectFactory = Factory.Sync.makeFactory<JSCollection>({
|
||||||
body: "async function () {\n\t\t//\tuse async-await or promises\n\t\t//\tawait storeValue('varName', 'hello world')\n\t}",
|
body: "async function () {\n\t\t//\tuse async-await or promises\n\t\t//\tawait storeValue('varName', 'hello world')\n\t}",
|
||||||
jsArguments: [],
|
jsArguments: [],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
clientSideExecution: true,
|
clientSideExecution: true,
|
||||||
dynamicBindingPathList: [
|
dynamicBindingPathList: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ export const PostgresFactory = Factory.Sync.makeFactory<QueryAction>({
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
runBehavior: "MANUAL",
|
runBehaviour: "MANUAL",
|
||||||
dynamicBindingPathList: [],
|
dynamicBindingPathList: [],
|
||||||
isValid: true,
|
isValid: true,
|
||||||
invalids: [],
|
invalids: [],
|
||||||
|
|
|
||||||
|
|
@ -6953,7 +6953,7 @@ export default {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -7033,7 +7033,7 @@ export default {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -7113,7 +7113,7 @@ export default {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -7157,7 +7157,7 @@ export default {
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: "Run behavior",
|
label: "Run behavior",
|
||||||
configProperty: "runBehavior",
|
configProperty: "runBehaviour",
|
||||||
controlType: "DROP_DOWN",
|
controlType: "DROP_DOWN",
|
||||||
initialValue: "MANUAL",
|
initialValue: "MANUAL",
|
||||||
options: [
|
options: [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"label": "Run behavior",
|
"label": "Run behavior",
|
||||||
"configProperty": "runBehavior",
|
"configProperty": "runBehaviour",
|
||||||
"controlType": "DROP_DOWN",
|
"controlType": "DROP_DOWN",
|
||||||
"initialValue": "MANUAL",
|
"initialValue": "MANUAL",
|
||||||
"options": [
|
"options": [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user