@kizenapps/engine 1.5.1 → 1.5.2-065350b
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/dist/{chunk-RTZBCNTI.js → chunk-KWHKLJVW.js} +3 -3
- package/dist/{chunk-RTZBCNTI.js.map → chunk-KWHKLJVW.js.map} +1 -1
- package/dist/{chunk-RTOGPAOD.js → chunk-MLEJMH2T.js} +3 -3
- package/dist/{chunk-RTOGPAOD.js.map → chunk-MLEJMH2T.js.map} +1 -1
- package/dist/{chunk-A7ZZXW7L.js → chunk-N2EE7JZP.js} +6 -6
- package/dist/{chunk-A7ZZXW7L.js.map → chunk-N2EE7JZP.js.map} +1 -1
- package/dist/{chunk-CKCBJ7OI.js → chunk-N6FXIBTB.js} +3 -3
- package/dist/{chunk-CKCBJ7OI.js.map → chunk-N6FXIBTB.js.map} +1 -1
- package/dist/{chunk-YBU2ZFAD.js → chunk-Q227EJ6P.js} +3 -3
- package/dist/{chunk-YBU2ZFAD.js.map → chunk-Q227EJ6P.js.map} +1 -1
- package/dist/{chunk-E6OJJLFL.js → chunk-QNBRMIZJ.js} +4 -4
- package/dist/{chunk-E6OJJLFL.js.map → chunk-QNBRMIZJ.js.map} +1 -1
- package/dist/{chunk-2S7R33UH.js → chunk-S66EWYBT.js} +3 -3
- package/dist/{chunk-2S7R33UH.js.map → chunk-S66EWYBT.js.map} +1 -1
- package/dist/{chunk-PLPP66QJ.js → chunk-SBGLMAOP.js} +54 -5
- package/dist/chunk-SBGLMAOP.js.map +1 -0
- package/dist/{chunk-F5BVMX7I.js → chunk-UCQWTSOW.js} +5 -5
- package/dist/{chunk-F5BVMX7I.js.map → chunk-UCQWTSOW.js.map} +1 -1
- package/dist/communication.js +2 -2
- package/dist/contexts/base.js +4 -4
- package/dist/contexts/floatingFrame.js +5 -5
- package/dist/contexts/recordDetail.js +5 -5
- package/dist/index.js +4 -4
- package/dist/react.d.ts +1 -0
- package/dist/react.js +16 -6
- package/dist/react.js.map +1 -1
- package/dist/util.d.ts +19 -1
- package/dist/util.js +47 -6
- package/dist/util.js.map +1 -1
- package/dist/workers/calendarSource.worker.js +6 -6
- package/dist/workers/floatingFrame.worker.js +7 -7
- package/dist/workers/generic.worker.js +6 -6
- package/dist/workers/recordDetail.worker.js +7 -7
- package/package.json +6 -3
- package/dist/chunk-PLPP66QJ.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { FloatingFrameWorkerContext } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
1
|
+
export { FloatingFrameWorkerContext } from '../chunk-QNBRMIZJ.js';
|
|
2
|
+
import '../chunk-UCQWTSOW.js';
|
|
3
|
+
import '../chunk-SBGLMAOP.js';
|
|
4
|
+
import '../chunk-Q227EJ6P.js';
|
|
5
|
+
import '../chunk-KWHKLJVW.js';
|
|
6
6
|
import '../chunk-5WRI5ZAA.js';
|
|
7
7
|
//# sourceMappingURL=floatingFrame.js.map
|
|
8
8
|
//# sourceMappingURL=floatingFrame.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { RecordDetailWorkerContext } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
1
|
+
export { RecordDetailWorkerContext } from '../chunk-N6FXIBTB.js';
|
|
2
|
+
import '../chunk-UCQWTSOW.js';
|
|
3
|
+
import '../chunk-SBGLMAOP.js';
|
|
4
|
+
import '../chunk-Q227EJ6P.js';
|
|
5
|
+
import '../chunk-KWHKLJVW.js';
|
|
6
6
|
import '../chunk-5WRI5ZAA.js';
|
|
7
7
|
//# sourceMappingURL=recordDetail.js.map
|
|
8
8
|
//# sourceMappingURL=recordDetail.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { modalSize, runExpression, runObjectExpression, runOptionExpression, runScript, runStringExpression, version } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { modalSize, runExpression, runObjectExpression, runOptionExpression, runScript, runStringExpression, version } from './chunk-N2EE7JZP.js';
|
|
2
|
+
import './chunk-MLEJMH2T.js';
|
|
3
|
+
import './chunk-SBGLMAOP.js';
|
|
4
|
+
import './chunk-KWHKLJVW.js';
|
|
5
5
|
import './chunk-5WRI5ZAA.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/react.d.ts
CHANGED
package/dist/react.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { runScript, getPluginSafeHTML, runExpression, getStableHash, isFlagEnabled } from './chunk-
|
|
1
|
+
import { runScript, getPluginSafeHTML, runExpression, getStableHash, isFlagEnabled } from './chunk-N2EE7JZP.js';
|
|
2
2
|
import './chunk-LGJYUPYZ.js';
|
|
3
|
-
import { generateExecutionKey } from './chunk-
|
|
4
|
-
import { getAllNestedInputsFromConfig, getFieldFromAction } from './chunk-
|
|
5
|
-
import { runFrameScriptEventName } from './chunk-
|
|
6
|
-
import { QUERY_KEYS, ROUTE_CHANGE_INTERNAL_EVENT, IFRAME_PREFIX, ROUTE_CHANGE_IFRAME_EVENT } from './chunk-
|
|
3
|
+
import { generateExecutionKey } from './chunk-MLEJMH2T.js';
|
|
4
|
+
import { getAllNestedInputsFromConfig, getActionFieldKey, getFieldFromAction, getActionMenuFieldKey } from './chunk-SBGLMAOP.js';
|
|
5
|
+
import { runFrameScriptEventName } from './chunk-Q227EJ6P.js';
|
|
6
|
+
import { QUERY_KEYS, ROUTE_CHANGE_INTERNAL_EVENT, IFRAME_PREFIX, ROUTE_CHANGE_IFRAME_EVENT } from './chunk-KWHKLJVW.js';
|
|
7
7
|
import './chunk-5WRI5ZAA.js';
|
|
8
8
|
import { QueryClient, useQueries, useQueryClient, QueryClientContext, QueryClientProvider } from '@tanstack/react-query';
|
|
9
9
|
import { createContext, useContext, useState, useCallback, useMemo, useRef, useEffect, useImperativeHandle } from 'react';
|
|
@@ -2364,10 +2364,11 @@ var SetupAssistantController = ({
|
|
|
2364
2364
|
return defaultValues;
|
|
2365
2365
|
}, [flattenedFields]);
|
|
2366
2366
|
const state = useMemo(() => {
|
|
2367
|
+
const actionTemplateMenuPartialState = {};
|
|
2367
2368
|
const actionTemplatePartialState = Object.entries(
|
|
2368
2369
|
templateAssociationsByActionApiName ?? {}
|
|
2369
2370
|
).reduce((acc, [actionApiName, associations]) => {
|
|
2370
|
-
const actionFieldKey =
|
|
2371
|
+
const actionFieldKey = getActionFieldKey(actionApiName);
|
|
2371
2372
|
const associatedObjects = associations.map((assoc) => {
|
|
2372
2373
|
return {
|
|
2373
2374
|
id: assoc.custom_object.id ?? "",
|
|
@@ -2380,11 +2381,20 @@ var SetupAssistantController = ({
|
|
|
2380
2381
|
value: associatedObjects,
|
|
2381
2382
|
config: getFieldFromAction(associations[0].browser_js_action_template)
|
|
2382
2383
|
};
|
|
2384
|
+
associations.forEach((assoc) => {
|
|
2385
|
+
if (assoc.include_perform_action && assoc.custom_object.id) {
|
|
2386
|
+
actionTemplateMenuPartialState[getActionMenuFieldKey(actionApiName, assoc.custom_object.id)] = {
|
|
2387
|
+
type: "boolean",
|
|
2388
|
+
value: true
|
|
2389
|
+
};
|
|
2390
|
+
}
|
|
2391
|
+
});
|
|
2383
2392
|
}
|
|
2384
2393
|
return acc;
|
|
2385
2394
|
}, {});
|
|
2386
2395
|
const stateValues = {
|
|
2387
2396
|
...actionTemplatePartialState,
|
|
2397
|
+
...actionTemplateMenuPartialState,
|
|
2388
2398
|
..._rawState
|
|
2389
2399
|
};
|
|
2390
2400
|
disabledKeys?.forEach((key) => {
|