@kizenapps/engine 0.0.1 → 0.1.0-3f977b1
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-QNZPDKMS.js → chunk-2K4ETMSX.js} +3 -3
- package/dist/{chunk-QNZPDKMS.js.map → chunk-2K4ETMSX.js.map} +1 -1
- package/dist/{chunk-ZCJ4C2AH.js → chunk-BQBFJBKL.js} +5 -5
- package/dist/{chunk-ZCJ4C2AH.js.map → chunk-BQBFJBKL.js.map} +1 -1
- package/dist/{chunk-PTGNZVQW.js → chunk-COKI2CIB.js} +3 -3
- package/dist/{chunk-PTGNZVQW.js.map → chunk-COKI2CIB.js.map} +1 -1
- package/dist/{chunk-4WUTKCEV.js → chunk-DCBQAV64.js} +3 -3
- package/dist/{chunk-4WUTKCEV.js.map → chunk-DCBQAV64.js.map} +1 -1
- package/dist/{chunk-YVXKVFS7.js → chunk-NXMRFUTI.js} +4 -4
- package/dist/{chunk-YVXKVFS7.js.map → chunk-NXMRFUTI.js.map} +1 -1
- package/dist/{chunk-5R2E3JMB.js → chunk-SU566DPW.js} +3 -3
- package/dist/{chunk-5R2E3JMB.js.map → chunk-SU566DPW.js.map} +1 -1
- package/dist/{chunk-J7VEJWOE.js → chunk-VRVA7ET2.js} +5 -5
- package/dist/{chunk-J7VEJWOE.js.map → chunk-VRVA7ET2.js.map} +1 -1
- package/dist/{chunk-W5NREPHI.js → chunk-VV4ZCNCG.js} +3 -3
- package/dist/{chunk-W5NREPHI.js.map → chunk-VV4ZCNCG.js.map} +1 -1
- package/dist/{chunk-WCMF222X.js → chunk-YVM3DTNT.js} +3 -3
- package/dist/{chunk-WCMF222X.js.map → chunk-YVM3DTNT.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 +3 -3
- package/dist/merge-translations.js +1 -1
- package/dist/react.js +5 -5
- package/dist/util.js +6 -6
- 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 +16 -16
|
@@ -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-NXMRFUTI.js';
|
|
2
|
+
import '../chunk-VRVA7ET2.js';
|
|
3
|
+
import '../chunk-VV4ZCNCG.js';
|
|
4
|
+
import '../chunk-DCBQAV64.js';
|
|
5
|
+
import '../chunk-2K4ETMSX.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-YVM3DTNT.js';
|
|
2
|
+
import '../chunk-VRVA7ET2.js';
|
|
3
|
+
import '../chunk-VV4ZCNCG.js';
|
|
4
|
+
import '../chunk-DCBQAV64.js';
|
|
5
|
+
import '../chunk-2K4ETMSX.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,6 +1,6 @@
|
|
|
1
|
-
export { runExpression, runObjectExpression, runOptionExpression, runScript, runStringExpression, version } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { runExpression, runObjectExpression, runOptionExpression, runScript, runStringExpression, version } from './chunk-BQBFJBKL.js';
|
|
2
|
+
import './chunk-COKI2CIB.js';
|
|
3
|
+
import './chunk-2K4ETMSX.js';
|
|
4
4
|
import './chunk-5WRI5ZAA.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -14,7 +14,7 @@ import { dirname, resolve } from 'path';
|
|
|
14
14
|
const outputPath = resolve(process.cwd(), process.argv[2] ?? 'public/locales/en/translation.json');
|
|
15
15
|
|
|
16
16
|
const require = createRequire(import.meta.url);
|
|
17
|
-
const ownLocale = require('
|
|
17
|
+
const ownLocale = require('./translation.json');
|
|
18
18
|
|
|
19
19
|
const appLocale = existsSync(outputPath) ? JSON.parse(readFileSync(outputPath, 'utf-8')) : {};
|
|
20
20
|
|
package/dist/react.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { runScript, runExpression, getStableHash, isFlagEnabled } from './chunk-
|
|
1
|
+
import { runScript, runExpression, getStableHash, isFlagEnabled } from './chunk-BQBFJBKL.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-COKI2CIB.js';
|
|
4
|
+
import { getAllNestedInputsFromConfig, getFieldFromAction } from './chunk-VV4ZCNCG.js';
|
|
5
|
+
import { runFrameScriptEventName } from './chunk-DCBQAV64.js';
|
|
6
|
+
import { QUERY_KEYS, ROUTE_CHANGE_INTERNAL_EVENT, IFRAME_PREFIX, ROUTE_CHANGE_IFRAME_EVENT } from './chunk-2K4ETMSX.js';
|
|
7
7
|
import './chunk-5WRI5ZAA.js';
|
|
8
8
|
import { useQueries, useQueryClient } from '@tanstack/react-query';
|
|
9
9
|
import { createContext, useContext, useState, useCallback, useMemo, useRef, useEffect } from 'react';
|
package/dist/util.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { runExpression } from './chunk-
|
|
2
|
-
export { getHash, getStableHash, isFlagEnabled } from './chunk-
|
|
3
|
-
export { emitRouteChange, findMatchingAction, getPartialLocation } from './chunk-
|
|
4
|
-
import { getAllNestedInputsFromConfig } from './chunk-
|
|
5
|
-
export { cleanConfig, getFieldFromAction } from './chunk-
|
|
6
|
-
import './chunk-
|
|
1
|
+
import { runExpression } from './chunk-BQBFJBKL.js';
|
|
2
|
+
export { getHash, getStableHash, isFlagEnabled } from './chunk-BQBFJBKL.js';
|
|
3
|
+
export { emitRouteChange, findMatchingAction, getPartialLocation } from './chunk-COKI2CIB.js';
|
|
4
|
+
import { getAllNestedInputsFromConfig } from './chunk-VV4ZCNCG.js';
|
|
5
|
+
export { cleanConfig, getFieldFromAction } from './chunk-VV4ZCNCG.js';
|
|
6
|
+
import './chunk-2K4ETMSX.js';
|
|
7
7
|
import './chunk-5WRI5ZAA.js';
|
|
8
8
|
|
|
9
9
|
// src/util/values.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WorkerPromise } from '../chunk-
|
|
2
|
-
import { getFnWithReturn } 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-SU566DPW.js';
|
|
2
|
+
import { getFnWithReturn } from '../chunk-COKI2CIB.js';
|
|
3
|
+
import { BaseWorkerContext } from '../chunk-VRVA7ET2.js';
|
|
4
|
+
import { dynamicPromptHandler, promptHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-VV4ZCNCG.js';
|
|
5
|
+
import '../chunk-DCBQAV64.js';
|
|
6
|
+
import { ACTIONS } from '../chunk-2K4ETMSX.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 { getFn } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import { 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-NXMRFUTI.js';
|
|
2
|
+
import { WorkerPromise } from '../chunk-SU566DPW.js';
|
|
3
|
+
import { getFn } from '../chunk-COKI2CIB.js';
|
|
4
|
+
import '../chunk-VRVA7ET2.js';
|
|
5
|
+
import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-VV4ZCNCG.js';
|
|
6
|
+
import '../chunk-DCBQAV64.js';
|
|
7
|
+
import { ACTIONS } from '../chunk-2K4ETMSX.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 { getFn } from '../chunk-
|
|
3
|
-
import { BaseWorkerContext } from '../chunk-
|
|
4
|
-
import { 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-SU566DPW.js';
|
|
2
|
+
import { getFn } from '../chunk-COKI2CIB.js';
|
|
3
|
+
import { BaseWorkerContext } from '../chunk-VRVA7ET2.js';
|
|
4
|
+
import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-VV4ZCNCG.js';
|
|
5
|
+
import '../chunk-DCBQAV64.js';
|
|
6
|
+
import { ACTIONS } from '../chunk-2K4ETMSX.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 { getFn } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import { 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-YVM3DTNT.js';
|
|
2
|
+
import { WorkerPromise } from '../chunk-SU566DPW.js';
|
|
3
|
+
import { getFn } from '../chunk-COKI2CIB.js';
|
|
4
|
+
import '../chunk-VRVA7ET2.js';
|
|
5
|
+
import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-VV4ZCNCG.js';
|
|
6
|
+
import '../chunk-DCBQAV64.js';
|
|
7
|
+
import { ACTIONS } from '../chunk-2K4ETMSX.js';
|
|
8
8
|
import '../chunk-5WRI5ZAA.js';
|
|
9
9
|
|
|
10
10
|
// src/workers/recordDetail.worker.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kizenapps/engine",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0-3f977b1",
|
|
4
4
|
"description": "Run JavaScript plugins inside Web Workers with host ↔ worker messaging",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"type": "module",
|
|
@@ -49,20 +49,6 @@
|
|
|
49
49
|
"README.md",
|
|
50
50
|
"LICENSE.md"
|
|
51
51
|
],
|
|
52
|
-
"scripts": {
|
|
53
|
-
"extract-translations": "i18next --config i18next-parser.config.cjs",
|
|
54
|
-
"build": "pnpm run extract-translations && tsup && cp locales/en/translation.json dist/translation.json && cp src/scripts/merge-translations.js dist/merge-translations.js",
|
|
55
|
-
"build:watch": "tsup --watch",
|
|
56
|
-
"typecheck": "tsc --noEmit",
|
|
57
|
-
"lint": "eslint src",
|
|
58
|
-
"lint:fix": "eslint src --fix",
|
|
59
|
-
"format": "prettier --write .",
|
|
60
|
-
"format:check": "prettier --check .",
|
|
61
|
-
"version:prerelease": "node scripts/version-prerelease.js",
|
|
62
|
-
"version:check": "node scripts/version-release.js",
|
|
63
|
-
"prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm run build",
|
|
64
|
-
"publish:prerelease": "pnpm run version:prerelease && pnpm publish --no-git-checks --access public --tag next"
|
|
65
|
-
},
|
|
66
52
|
"peerDependencies": {
|
|
67
53
|
"@tanstack/react-query": ">=5",
|
|
68
54
|
"date-fns": ">=4",
|
|
@@ -90,5 +76,19 @@
|
|
|
90
76
|
},
|
|
91
77
|
"publishConfig": {
|
|
92
78
|
"provenance": false
|
|
79
|
+
},
|
|
80
|
+
"scripts": {
|
|
81
|
+
"extract-translations": "i18next --config i18next-parser.config.cjs",
|
|
82
|
+
"build": "pnpm run extract-translations && tsup && cp locales/en/translation.json dist/translation.json && cp src/scripts/merge-translations.js dist/merge-translations.js",
|
|
83
|
+
"build:watch": "tsup --watch",
|
|
84
|
+
"typecheck": "tsc --noEmit",
|
|
85
|
+
"lint": "eslint src",
|
|
86
|
+
"lint:fix": "eslint src --fix",
|
|
87
|
+
"format": "prettier --write .",
|
|
88
|
+
"format:check": "prettier --check .",
|
|
89
|
+
"version:prerelease": "node scripts/version-prerelease.js",
|
|
90
|
+
"version:check": "node scripts/version-release.js",
|
|
91
|
+
"publish:prerelease": "pnpm run version:prerelease && pnpm publish --no-git-checks --access public --tag next",
|
|
92
|
+
"merge-translations": "node dist/merge-translations.js"
|
|
93
93
|
}
|
|
94
|
-
}
|
|
94
|
+
}
|