@kizenapps/engine 0.2.2 → 0.3.0

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.
Files changed (36) hide show
  1. package/README.md +22 -6
  2. package/dist/{chunk-NACHIQYN.js → chunk-2UQPZMMK.js} +5 -5
  3. package/dist/{chunk-NACHIQYN.js.map → chunk-2UQPZMMK.js.map} +1 -1
  4. package/dist/{chunk-Z7522QNC.js → chunk-4WYP3BBB.js} +3 -3
  5. package/dist/{chunk-Z7522QNC.js.map → chunk-4WYP3BBB.js.map} +1 -1
  6. package/dist/{chunk-KYLFVA5T.js → chunk-7Q66RNNI.js} +3 -3
  7. package/dist/{chunk-KYLFVA5T.js.map → chunk-7Q66RNNI.js.map} +1 -1
  8. package/dist/{chunk-PFEFU3ID.js → chunk-K6HR2ADN.js} +3 -3
  9. package/dist/{chunk-PFEFU3ID.js.map → chunk-K6HR2ADN.js.map} +1 -1
  10. package/dist/{chunk-H5I2KPRA.js → chunk-M3NZOSQS.js} +3 -3
  11. package/dist/{chunk-H5I2KPRA.js.map → chunk-M3NZOSQS.js.map} +1 -1
  12. package/dist/{chunk-FU3KL5LA.js → chunk-OIE6XTQJ.js} +5 -5
  13. package/dist/{chunk-FU3KL5LA.js.map → chunk-OIE6XTQJ.js.map} +1 -1
  14. package/dist/{chunk-NXPBXPPT.js → chunk-SFQWEY7Q.js} +3 -3
  15. package/dist/{chunk-NXPBXPPT.js.map → chunk-SFQWEY7Q.js.map} +1 -1
  16. package/dist/{chunk-LWIAZAKH.js → chunk-U5FJH6EU.js} +4 -4
  17. package/dist/{chunk-LWIAZAKH.js.map → chunk-U5FJH6EU.js.map} +1 -1
  18. package/dist/{chunk-TFNOKBLD.js → chunk-WO3XEOOO.js} +3 -3
  19. package/dist/{chunk-TFNOKBLD.js.map → chunk-WO3XEOOO.js.map} +1 -1
  20. package/dist/communication.js +2 -2
  21. package/dist/contexts/base.js +4 -4
  22. package/dist/contexts/floatingFrame.js +5 -5
  23. package/dist/contexts/recordDetail.js +5 -5
  24. package/dist/index.js +3 -3
  25. package/dist/react.d.ts +8 -8
  26. package/dist/react.js +16 -16
  27. package/dist/react.js.map +1 -1
  28. package/dist/util.js +6 -6
  29. package/dist/vite.d.ts +3 -3
  30. package/dist/vite.js +2 -2
  31. package/dist/vite.js.map +1 -1
  32. package/dist/workers/calendarSource.worker.js +6 -6
  33. package/dist/workers/floatingFrame.worker.js +7 -7
  34. package/dist/workers/generic.worker.js +6 -6
  35. package/dist/workers/recordDetail.worker.js +7 -7
  36. package/package.json +2 -2
package/dist/util.js CHANGED
@@ -1,9 +1,9 @@
1
- import { runExpression } from './chunk-FU3KL5LA.js';
2
- export { getHash, getStableHash, isFlagEnabled } from './chunk-FU3KL5LA.js';
3
- export { emitRouteChange, findMatchingAction, getPartialLocation } from './chunk-NXPBXPPT.js';
4
- import { getAllNestedInputsFromConfig } from './chunk-PFEFU3ID.js';
5
- export { cleanConfig, getFieldFromAction } from './chunk-PFEFU3ID.js';
6
- import './chunk-KYLFVA5T.js';
1
+ import { runExpression } from './chunk-OIE6XTQJ.js';
2
+ export { getHash, getStableHash, isFlagEnabled } from './chunk-OIE6XTQJ.js';
3
+ export { emitRouteChange, findMatchingAction, getPartialLocation } from './chunk-SFQWEY7Q.js';
4
+ import { getAllNestedInputsFromConfig } from './chunk-K6HR2ADN.js';
5
+ export { cleanConfig, getFieldFromAction } from './chunk-K6HR2ADN.js';
6
+ import './chunk-7Q66RNNI.js';
7
7
  import './chunk-5WRI5ZAA.js';
8
8
 
9
9
  // src/util/values.ts
package/dist/vite.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- interface PluginEngineVitePlugin {
1
+ interface AppEngineVitePlugin {
2
2
  name: string;
3
3
  config: () => {
4
4
  optimizeDeps: {
@@ -6,6 +6,6 @@ interface PluginEngineVitePlugin {
6
6
  };
7
7
  };
8
8
  }
9
- declare function pluginEngine(): PluginEngineVitePlugin;
9
+ declare function appEnginePlugin(): AppEngineVitePlugin;
10
10
 
11
- export { type PluginEngineVitePlugin, pluginEngine };
11
+ export { type AppEngineVitePlugin, appEnginePlugin };
package/dist/vite.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './chunk-5WRI5ZAA.js';
2
2
 
3
3
  // src/vite.ts
4
- function pluginEngine() {
4
+ function appEnginePlugin() {
5
5
  return {
6
6
  name: "@kizenapps/engine",
7
7
  config() {
@@ -14,6 +14,6 @@ function pluginEngine() {
14
14
  };
15
15
  }
16
16
 
17
- export { pluginEngine };
17
+ export { appEnginePlugin };
18
18
  //# sourceMappingURL=vite.js.map
19
19
  //# sourceMappingURL=vite.js.map
package/dist/vite.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vite.ts"],"names":[],"mappings":";;;AAKO,SAAS,YAAA,GAAuC;AACrD,EAAA,OAAO;AAAA,IACL,IAAA,EAAM,mBAAA;AAAA,IACN,MAAA,GAAS;AACP,MAAA,OAAO;AAAA,QACL,YAAA,EAAc;AAAA,UACZ,OAAA,EAAS,CAAC,mBAAmB;AAAA;AAC/B,OACF;AAAA,IACF;AAAA,GACF;AACF","file":"vite.js","sourcesContent":["export interface PluginEngineVitePlugin {\n name: string;\n config: () => { optimizeDeps: { exclude: string[] } };\n}\n\nexport function pluginEngine(): PluginEngineVitePlugin {\n return {\n name: '@kizenapps/engine',\n config() {\n return {\n optimizeDeps: {\n exclude: ['@kizenapps/engine'],\n },\n };\n },\n };\n}\n"]}
1
+ {"version":3,"sources":["../src/vite.ts"],"names":[],"mappings":";;;AAKO,SAAS,eAAA,GAAuC;AACrD,EAAA,OAAO;AAAA,IACL,IAAA,EAAM,mBAAA;AAAA,IACN,MAAA,GAAS;AACP,MAAA,OAAO;AAAA,QACL,YAAA,EAAc;AAAA,UACZ,OAAA,EAAS,CAAC,mBAAmB;AAAA;AAC/B,OACF;AAAA,IACF;AAAA,GACF;AACF","file":"vite.js","sourcesContent":["export interface AppEngineVitePlugin {\n name: string;\n config: () => { optimizeDeps: { exclude: string[] } };\n}\n\nexport function appEnginePlugin(): AppEngineVitePlugin {\n return {\n name: '@kizenapps/engine',\n config() {\n return {\n optimizeDeps: {\n exclude: ['@kizenapps/engine'],\n },\n };\n },\n };\n}\n"]}
@@ -1,9 +1,9 @@
1
- import { WorkerPromise } from '../chunk-H5I2KPRA.js';
2
- import { getFnWithReturn } from '../chunk-NXPBXPPT.js';
3
- import { BaseWorkerContext } from '../chunk-NACHIQYN.js';
4
- import { dynamicPromptHandler, promptHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-PFEFU3ID.js';
5
- import '../chunk-TFNOKBLD.js';
6
- import { ACTIONS } from '../chunk-KYLFVA5T.js';
1
+ import { WorkerPromise } from '../chunk-M3NZOSQS.js';
2
+ import { getFnWithReturn } from '../chunk-SFQWEY7Q.js';
3
+ import { BaseWorkerContext } from '../chunk-2UQPZMMK.js';
4
+ import { dynamicPromptHandler, promptHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-K6HR2ADN.js';
5
+ import '../chunk-WO3XEOOO.js';
6
+ import { ACTIONS } from '../chunk-7Q66RNNI.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-LWIAZAKH.js';
2
- import { WorkerPromise } from '../chunk-H5I2KPRA.js';
3
- import { getFn } from '../chunk-NXPBXPPT.js';
4
- import '../chunk-NACHIQYN.js';
5
- import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-PFEFU3ID.js';
6
- import '../chunk-TFNOKBLD.js';
7
- import { ACTIONS } from '../chunk-KYLFVA5T.js';
1
+ import { FloatingFrameWorkerContext } from '../chunk-U5FJH6EU.js';
2
+ import { WorkerPromise } from '../chunk-M3NZOSQS.js';
3
+ import { getFn } from '../chunk-SFQWEY7Q.js';
4
+ import '../chunk-2UQPZMMK.js';
5
+ import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-K6HR2ADN.js';
6
+ import '../chunk-WO3XEOOO.js';
7
+ import { ACTIONS } from '../chunk-7Q66RNNI.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-H5I2KPRA.js';
2
- import { getFn } from '../chunk-NXPBXPPT.js';
3
- import { BaseWorkerContext } from '../chunk-NACHIQYN.js';
4
- import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-PFEFU3ID.js';
5
- import '../chunk-TFNOKBLD.js';
6
- import { ACTIONS } from '../chunk-KYLFVA5T.js';
1
+ import { WorkerPromise } from '../chunk-M3NZOSQS.js';
2
+ import { getFn } from '../chunk-SFQWEY7Q.js';
3
+ import { BaseWorkerContext } from '../chunk-2UQPZMMK.js';
4
+ import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-K6HR2ADN.js';
5
+ import '../chunk-WO3XEOOO.js';
6
+ import { ACTIONS } from '../chunk-7Q66RNNI.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-Z7522QNC.js';
2
- import { WorkerPromise } from '../chunk-H5I2KPRA.js';
3
- import { getFn } from '../chunk-NXPBXPPT.js';
4
- import '../chunk-NACHIQYN.js';
5
- import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-PFEFU3ID.js';
6
- import '../chunk-TFNOKBLD.js';
7
- import { ACTIONS } from '../chunk-KYLFVA5T.js';
1
+ import { RecordDetailWorkerContext } from '../chunk-4WYP3BBB.js';
2
+ import { WorkerPromise } from '../chunk-M3NZOSQS.js';
3
+ import { getFn } from '../chunk-SFQWEY7Q.js';
4
+ import '../chunk-2UQPZMMK.js';
5
+ import { openCreateRelatedRecordHandler, openCreateRecordHandler, refreshEntityHandler, dynamicPromptHandler, promptHandler, installThirdPartyScriptHandler, uploadFileHandler, postFormDataHandler, kizenRequestHandler, handleCommonResponse } from '../chunk-K6HR2ADN.js';
6
+ import '../chunk-WO3XEOOO.js';
7
+ import { ACTIONS } from '../chunk-7Q66RNNI.js';
8
8
  import '../chunk-5WRI5ZAA.js';
9
9
 
10
10
  // src/workers/recordDetail.worker.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kizenapps/engine",
3
- "version": "0.2.2",
4
- "description": "Run JavaScript plugins inside Web Workers with host ↔ worker messaging",
3
+ "version": "0.3.0",
4
+ "description": "Run JavaScript plugin apps inside Web Workers with host ↔ worker messaging",
5
5
  "license": "GPL-3.0",
6
6
  "type": "module",
7
7
  "sideEffects": false,