@kizenapps/engine 1.6.0 → 1.7.0-8f49177
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/{automation-ez9zQ2sv.d.ts → automation-CT00roz_.d.ts} +3 -0
- package/dist/{chunk-3RZHGFVE.js → chunk-75QZJ7JX.js} +3 -3
- package/dist/{chunk-3RZHGFVE.js.map → chunk-75QZJ7JX.js.map} +1 -1
- package/dist/{chunk-3GJVC5NN.js → chunk-AFUZ4QSH.js} +29 -18
- package/dist/chunk-AFUZ4QSH.js.map +1 -0
- package/dist/{chunk-BJBB73QA.js → chunk-B3P7HFRV.js} +3 -3
- package/dist/{chunk-BJBB73QA.js.map → chunk-B3P7HFRV.js.map} +1 -1
- package/dist/{chunk-CNSOU3UB.js → chunk-BU6CSXSC.js} +3 -3
- package/dist/{chunk-CNSOU3UB.js.map → chunk-BU6CSXSC.js.map} +1 -1
- package/dist/{chunk-OMIBO27E.js → chunk-CV4PC3KZ.js} +32 -4
- package/dist/chunk-CV4PC3KZ.js.map +1 -0
- package/dist/{chunk-UXYECVO2.js → chunk-F37NPWKF.js} +3 -3
- package/dist/{chunk-UXYECVO2.js.map → chunk-F37NPWKF.js.map} +1 -1
- package/dist/{chunk-7TTCHSPL.js → chunk-IT6UUTZ3.js} +3 -3
- package/dist/{chunk-7TTCHSPL.js.map → chunk-IT6UUTZ3.js.map} +1 -1
- package/dist/{chunk-5FZ4UC6V.js → chunk-JF2SWP4D.js} +12 -9
- package/dist/chunk-JF2SWP4D.js.map +1 -0
- package/dist/{chunk-4GEJIHMC.js → chunk-QE5GKZEO.js} +4 -4
- package/dist/{chunk-4GEJIHMC.js.map → chunk-QE5GKZEO.js.map} +1 -1
- package/dist/communication.js +2 -2
- package/dist/contexts/base.d.ts +3 -2
- package/dist/contexts/base.js +4 -4
- package/dist/contexts/floatingFrame.d.ts +1 -0
- package/dist/contexts/floatingFrame.js +5 -5
- package/dist/contexts/recordDetail.d.ts +1 -0
- package/dist/contexts/recordDetail.js +5 -5
- package/dist/frames-AOHUyPDP.d.ts +7 -0
- package/dist/{generic-CyEFBI-k.d.ts → generic-ByO9VEyd.d.ts} +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -4
- package/dist/react.d.ts +8 -7
- package/dist/react.js +22 -14
- package/dist/react.js.map +1 -1
- package/dist/types.d.ts +4 -3
- package/dist/util.d.ts +3 -2
- package/dist/util.js +6 -6
- package/dist/{values-BbMHmBFn.d.ts → values-CiQIqKu7.d.ts} +3 -2
- 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 +1 -1
- package/dist/chunk-3GJVC5NN.js.map +0 -1
- package/dist/chunk-5FZ4UC6V.js.map +0 -1
- package/dist/chunk-OMIBO27E.js.map +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { U as UnknownJSON, b as PartialUser, c as PartialTeamMember, d as PartialBusiness, e as PartialClientObject, i as PartialLocation } from './ThirdPartyScript-CvOXQBiO.js';
|
|
2
2
|
export { q as AppPlugin, s as AppPlugins, A as Args, t as AssistantConfigAction, u as AssistantField, v as AssistantLink, B as BaseAPI, w as BooleanCleanValue, x as BooleanValueStore, y as ButtonConfig, z as CleanValueStore, E as CleanValueStoreType, F as CloseModalFn, H as ConfigService, n as ConsoleBridge, J as ConsoleLogLevel, K as CreateRecordModalQueue, L as CreateRelatedRecordModalQueue, C as CurrentUser, N as CurriedCloseModalFn, O as CurriedDynamicPromptFn, Q as CurriedInstallThirdPartyScriptFn, V as CurriedKizenRequestFn, X as CurriedOpenCreateRecordFn, Y as CurriedOpenCreateRelatedRecordFn, Z as CurriedPostFormDataFn, _ as CurriedPromptFn, $ as CurriedRefreshEntityFn, a0 as CurriedShowViewInModalFn, a1 as CurriedUploadFileFn, a2 as CustomObjectCleanValue, a3 as CustomObjectValueStore, D as DataCache, a4 as DataCacheEntry, a5 as DeleteReturnValue, m as DynamicPromptConfig, a6 as DynamicPromptFn, a7 as EmployeeConfig, a8 as ErrorHandler, a9 as ErrorResponse, aa as FieldCleanValue, ab as FieldValueStore, G as GetOptions, ac as GetReturnValue, o as IncludeOption, ad as InstallThirdPartyScriptFn, I as Instance, h as InternalSessionData, ae as JSONArray, af as JSONObject, ag as JSONPrimitive, ah as JSONValue, ai as KizenConfig, aj as KizenNetworkResponse, ak as KizenProxySuccessResponse, al as KizenRequestFn, am as KizenRequestFnHandler, an as KnownArgs, ao as MatchSetupAssistantField, ap as MaybeMessageError, aq as ModalBlock, ar as ModalCancelEventSource, M as ModalConfig, as as ModalContainer, at as ModalQueue, au as ModalSize, av as NumberCleanValue, aw as NumberValueStore, ax as OnCloseModalFn, ay as OnNetworkErrorFn, az as OnShowCreateRecordModalFn, aA as OnShowCreateRelatedRecordModalFn, aB as OnShowModalFn, aC as OpenCreateRecordFn, aD as OpenCreateRelatedRecordFn, a as PartialCustomObject, P as PartialEntity, aE as PartialRelatedObject, aF as PatchReturnValue, f as PostFormDataFn, aG as PostFormDataPayload, aH as PostReturnValue, aI as Profile, aJ as PromiseMap, aK as PromiseReject, aL as PromiseResolve, aM as PromiseState, aN as PromptFn, g as PromptState, aO as PutReturnValue, aP as RefreshEntityFn, aQ as ReleaseBlockingScriptHandler, j as RequestOptions, R as RequestWithErrorsResponse, aR as SelectCleanValue, r as SelectOption, aS as SelectValueStore, aT as SetInternalSessionDataFn, aU as SetupAssistantConfig, p as SetupAssistantField, k as ShowToastOptions, aV as ShowViewInModalFn, l as ShowViewInModalOptions, S as StateChangePayload, aW as TextValueStore, aX as UnknownFunction, aY as UploadFileData, aZ as UploadFileFn, a_ as UserConfig, a$ as ValueStore, W as WorkerContextArgs, b0 as modalSize } from './ThirdPartyScript-CvOXQBiO.js';
|
|
3
|
-
import { a as CommonPluginDefinition } from './automation-
|
|
4
|
-
export { e as AuthorizeEvent, A as AutomationStepConfig, B as BaseEvent, f as CalendarDefinition, g as CalendarScriptReturnData, c as CalendarSourceConfig, h as CalendarSourceMap, i as CalendarSources, j as CloseModalRequestEvent, C as CommonExecutionPlugin, k as CommunicateEvent, l as ConsoleLogEvent, m as CopyToClipboardEvent, n as CreateFileIdFn, D as DataAdornmentConfig, o as DoneEvent, p as DynamicPromptRequestEvent, E as ErrorEvent, q as ExecuteCalendarSourceScript, r as ExecuteFloatingFrameScript, F as FloatingFrameConfig, s as FloatingFrameEmployeeConfig, t as FrameQuadrant, G as GetPendingCacheCountFn, H as HideEvent, I as IframeOutputEvent, u as InstallThirdPartyScriptRequestEvent, v as InvalidateCacheFn, K as KizenFile, M as MessageEventData, w as MinimizedConfig, O as OnClearToastsFn, x as OnConsoleLogFn, y as OnNetworkRequestFn, z as OnRunEventScriptFn, J as OnShowToastFn, L as OpenCreateRecordModalRequestEvent, N as OpenCreateRelatedRecordModalRequestEvent, P as OpenWindowEvent, Q as PerformKizenFileUploadFn, S as PostFormDataRequestEvent, U as PromptRequestEvent, V as QueryRequestEvent, W as RecipientConfig, X as RefreshEntityEvent, Y as RefreshTimelineEvent, Z as RequestableQueryMethods, R as RoutablePageConfig, b as RouteScriptConfig, _ as RunEventScriptEvent, d as RunScriptOptions, $ as SchemaValidation, a0 as SetStateEvent, a1 as ShowEvent, a2 as ShowToastEvent, a3 as ShowViewInModalRequestEvent, a4 as TerminatorContent, a5 as Terminators, T as ToolbarItemConfig, a6 as UIOutputEvent, a7 as UpdateSessionDataEvent, a8 as UploadFilePayload, a9 as UploadFileRequestEvent, aa as WindowPosition } from './automation-
|
|
3
|
+
import { a as CommonPluginDefinition } from './automation-CT00roz_.js';
|
|
4
|
+
export { e as AuthorizeEvent, A as AutomationStepConfig, B as BaseEvent, f as CalendarDefinition, g as CalendarScriptReturnData, c as CalendarSourceConfig, h as CalendarSourceMap, i as CalendarSources, j as CloseModalRequestEvent, C as CommonExecutionPlugin, k as CommunicateEvent, l as ConsoleLogEvent, m as CopyToClipboardEvent, n as CreateFileIdFn, D as DataAdornmentConfig, o as DoneEvent, p as DynamicPromptRequestEvent, E as ErrorEvent, q as ExecuteCalendarSourceScript, r as ExecuteFloatingFrameScript, F as FloatingFrameConfig, s as FloatingFrameEmployeeConfig, t as FrameQuadrant, G as GetPendingCacheCountFn, H as HideEvent, I as IframeOutputEvent, u as InstallThirdPartyScriptRequestEvent, v as InvalidateCacheFn, K as KizenFile, M as MessageEventData, w as MinimizedConfig, O as OnClearToastsFn, x as OnConsoleLogFn, y as OnNetworkRequestFn, z as OnRunEventScriptFn, J as OnShowToastFn, L as OpenCreateRecordModalRequestEvent, N as OpenCreateRelatedRecordModalRequestEvent, P as OpenWindowEvent, Q as PerformKizenFileUploadFn, S as PostFormDataRequestEvent, U as PromptRequestEvent, V as QueryRequestEvent, W as RecipientConfig, X as RefreshEntityEvent, Y as RefreshTimelineEvent, Z as RequestableQueryMethods, R as RoutablePageConfig, b as RouteScriptConfig, _ as RunEventScriptEvent, d as RunScriptOptions, $ as SchemaValidation, a0 as SetStateEvent, a1 as ShowEvent, a2 as ShowToastEvent, a3 as ShowViewInModalRequestEvent, a4 as TerminatorContent, a5 as Terminators, T as ToolbarItemConfig, a6 as UIOutputEvent, a7 as UpdateSessionDataEvent, a8 as UploadFilePayload, a9 as UploadFileRequestEvent, aa as WindowPosition } from './automation-CT00roz_.js';
|
|
5
5
|
export { H as HideConfig, S as ShowConfig } from './floatingFrames-BzaoL7cq.js';
|
|
6
|
-
export { E as ExecuteGenericScript, G as GenericPluginConfig } from './generic-
|
|
6
|
+
export { E as ExecuteGenericScript, G as GenericPluginConfig } from './generic-ByO9VEyd.js';
|
|
7
7
|
import 'react';
|
|
8
|
+
import './frames-AOHUyPDP.js';
|
|
8
9
|
|
|
9
10
|
interface ExpressionPayload {
|
|
10
11
|
expression: string;
|
package/dist/util.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { i as PartialLocation, aU as SetupAssistantConfig, a$ as ValueStore, z as CleanValueStore, t as AssistantConfigAction, u as AssistantField, b1 as KizenRequestError, U as UnknownJSON, aj as KizenNetworkResponse, ak as KizenProxySuccessResponse } from './ThirdPartyScript-CvOXQBiO.js';
|
|
2
|
-
export { G as GetParamFunction, R as RemovedHTML, f as forceQualifiedUrl, g as getDisabledValue, a as getEnabledState, b as getLinkValue, c as getPluginSafeHTML, d as getQrCodeValue, m as mergeConfig, p as pluginMapper, r as reduceEnabledResults, e as replaceConfigValues } from './values-
|
|
2
|
+
export { G as GetParamFunction, R as RemovedHTML, f as forceQualifiedUrl, g as getDisabledValue, a as getEnabledState, b as getLinkValue, c as getPluginSafeHTML, d as getQrCodeValue, m as mergeConfig, p as pluginMapper, r as reduceEnabledResults, e as replaceConfigValues } from './values-CiQIqKu7.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './
|
|
4
|
+
import './frames-AOHUyPDP.js';
|
|
5
|
+
import './automation-CT00roz_.js';
|
|
5
6
|
import './floatingFrames-BzaoL7cq.js';
|
|
6
7
|
import 'dompurify';
|
|
7
8
|
|
package/dist/util.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getHash } from './chunk-
|
|
2
|
-
export { forceQualifiedUrl, getDisabledValue, getEnabledState, getHash, getLinkValue, getPluginSafeHTML, getQrCodeValue, getStableHash, isFlagEnabled, mergeConfig, pluginMapper, reduceEnabledResults, replaceConfigValues } from './chunk-
|
|
3
|
-
export { emitRouteChange, findMatchingAction, getPartialLocation } from './chunk-
|
|
4
|
-
import { KizenRequestError, isActionMenuFieldKey, splitActionMenuFieldKey, getActionFieldKey, isActionFieldKey, cleanConfig } from './chunk-
|
|
5
|
-
export { KizenRequestError, cleanConfig, getActionContainerKey, getActionMenuFieldKey, getActionMenuHeadingKey, getFieldFromAction, isActionMenuFieldKey, splitActionFieldKey } from './chunk-
|
|
6
|
-
import './chunk-
|
|
1
|
+
import { getHash } from './chunk-AFUZ4QSH.js';
|
|
2
|
+
export { forceQualifiedUrl, getDisabledValue, getEnabledState, getHash, getLinkValue, getPluginSafeHTML, getQrCodeValue, getStableHash, isFlagEnabled, mergeConfig, pluginMapper, reduceEnabledResults, replaceConfigValues } from './chunk-AFUZ4QSH.js';
|
|
3
|
+
export { emitRouteChange, findMatchingAction, getPartialLocation } from './chunk-75QZJ7JX.js';
|
|
4
|
+
import { KizenRequestError, isActionMenuFieldKey, splitActionMenuFieldKey, getActionFieldKey, isActionFieldKey, cleanConfig } from './chunk-CV4PC3KZ.js';
|
|
5
|
+
export { KizenRequestError, cleanConfig, getActionContainerKey, getActionMenuFieldKey, getActionMenuHeadingKey, getFieldFromAction, isActionMenuFieldKey, splitActionFieldKey } from './chunk-CV4PC3KZ.js';
|
|
6
|
+
import './chunk-B3P7HFRV.js';
|
|
7
7
|
import './chunk-5WRI5ZAA.js';
|
|
8
8
|
|
|
9
9
|
// src/util/network.ts
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { o as IncludeOption, U as UnknownJSON, p as SetupAssistantField, q as AppPlugin } from './ThirdPartyScript-CvOXQBiO.js';
|
|
2
|
-
import {
|
|
2
|
+
import { B as BuildIframeURLWithProxyOptions } from './frames-AOHUyPDP.js';
|
|
3
|
+
import { F as FloatingFrameConfig, R as RoutablePageConfig, D as DataAdornmentConfig, T as ToolbarItemConfig, b as RouteScriptConfig, c as CalendarSourceConfig, A as AutomationStepConfig } from './automation-CT00roz_.js';
|
|
3
4
|
import { RemovedAttribute, RemovedElement } from 'dompurify';
|
|
4
5
|
|
|
5
6
|
type AllowedConfig = FloatingFrameConfig | RoutablePageConfig | DataAdornmentConfig | ToolbarItemConfig | RouteScriptConfig | CalendarSourceConfig | AutomationStepConfig;
|
|
@@ -22,7 +23,7 @@ type GetParamFunction = (key: IncludeOption) => string;
|
|
|
22
23
|
declare const getQrCodeValue: (value?: string, include?: IncludeOption[], getParam?: GetParamFunction) => string;
|
|
23
24
|
declare const getLinkValue: (value?: string, include?: IncludeOption[], getParam?: GetParamFunction) => string;
|
|
24
25
|
type RemovedHTML = RemovedAttribute | RemovedElement;
|
|
25
|
-
declare const getPluginSafeHTML: (html?: string) => {
|
|
26
|
+
declare const getPluginSafeHTML: (html?: string, pluginApiName?: string, options?: BuildIframeURLWithProxyOptions) => {
|
|
26
27
|
html: string;
|
|
27
28
|
error: Error | null;
|
|
28
29
|
removed: RemovedHTML[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WorkerPromise } from '../chunk-
|
|
2
|
-
import { buildCodeRunnerFunction } from '../chunk-
|
|
3
|
-
import { BaseWorkerContext } from '../chunk-
|
|
4
|
-
import { dynamicPromptHandler, promptHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import { ACTIONS } from '../chunk-
|
|
1
|
+
import { WorkerPromise } from '../chunk-F37NPWKF.js';
|
|
2
|
+
import { buildCodeRunnerFunction } from '../chunk-75QZJ7JX.js';
|
|
3
|
+
import { BaseWorkerContext } from '../chunk-JF2SWP4D.js';
|
|
4
|
+
import { dynamicPromptHandler, promptHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-CV4PC3KZ.js';
|
|
5
|
+
import '../chunk-IT6UUTZ3.js';
|
|
6
|
+
import { ACTIONS } from '../chunk-B3P7HFRV.js';
|
|
7
7
|
import '../chunk-5WRI5ZAA.js';
|
|
8
8
|
|
|
9
9
|
// src/workers/calendarSource.worker.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FloatingFrameWorkerContext } from '../chunk-
|
|
2
|
-
import { WorkerPromise } from '../chunk-
|
|
3
|
-
import { buildCodeRunnerFunction } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import { closeModalHandler, showViewInModalHandler, openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import { ACTIONS } from '../chunk-
|
|
1
|
+
import { FloatingFrameWorkerContext } from '../chunk-QE5GKZEO.js';
|
|
2
|
+
import { WorkerPromise } from '../chunk-F37NPWKF.js';
|
|
3
|
+
import { buildCodeRunnerFunction } from '../chunk-75QZJ7JX.js';
|
|
4
|
+
import '../chunk-JF2SWP4D.js';
|
|
5
|
+
import { closeModalHandler, showViewInModalHandler, openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-CV4PC3KZ.js';
|
|
6
|
+
import '../chunk-IT6UUTZ3.js';
|
|
7
|
+
import { ACTIONS } from '../chunk-B3P7HFRV.js';
|
|
8
8
|
import '../chunk-5WRI5ZAA.js';
|
|
9
9
|
|
|
10
10
|
// src/workers/floatingFrame.worker.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WorkerPromise } from '../chunk-
|
|
2
|
-
import { buildCodeRunnerFunction } from '../chunk-
|
|
3
|
-
import { BaseWorkerContext } from '../chunk-
|
|
4
|
-
import { closeModalHandler, showViewInModalHandler, openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import { ACTIONS } from '../chunk-
|
|
1
|
+
import { WorkerPromise } from '../chunk-F37NPWKF.js';
|
|
2
|
+
import { buildCodeRunnerFunction } from '../chunk-75QZJ7JX.js';
|
|
3
|
+
import { BaseWorkerContext } from '../chunk-JF2SWP4D.js';
|
|
4
|
+
import { closeModalHandler, showViewInModalHandler, openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-CV4PC3KZ.js';
|
|
5
|
+
import '../chunk-IT6UUTZ3.js';
|
|
6
|
+
import { ACTIONS } from '../chunk-B3P7HFRV.js';
|
|
7
7
|
import '../chunk-5WRI5ZAA.js';
|
|
8
8
|
|
|
9
9
|
// src/workers/generic.worker.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RecordDetailWorkerContext } from '../chunk-
|
|
2
|
-
import { WorkerPromise } from '../chunk-
|
|
3
|
-
import { buildCodeRunnerFunction } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import { closeModalHandler, showViewInModalHandler, openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import { ACTIONS } from '../chunk-
|
|
1
|
+
import { RecordDetailWorkerContext } from '../chunk-BU6CSXSC.js';
|
|
2
|
+
import { WorkerPromise } from '../chunk-F37NPWKF.js';
|
|
3
|
+
import { buildCodeRunnerFunction } from '../chunk-75QZJ7JX.js';
|
|
4
|
+
import '../chunk-JF2SWP4D.js';
|
|
5
|
+
import { closeModalHandler, showViewInModalHandler, openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-CV4PC3KZ.js';
|
|
6
|
+
import '../chunk-IT6UUTZ3.js';
|
|
7
|
+
import { ACTIONS } from '../chunk-B3P7HFRV.js';
|
|
8
8
|
import '../chunk-5WRI5ZAA.js';
|
|
9
9
|
|
|
10
10
|
// src/workers/recordDetail.worker.ts
|