grist-widget-sdk 0.3.26 → 0.4.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.
- package/CHANGELOG.md +53 -0
- package/README.md +1 -1
- package/dist/app.cjs +1139 -4336
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +1 -3
- package/dist/app.d.ts +1 -3
- package/dist/app.js +9 -517
- package/dist/app.js.map +1 -1
- package/dist/chunk-4ZGVKGDF.js +204 -0
- package/dist/chunk-4ZGVKGDF.js.map +1 -0
- package/dist/{chunk-YQNMIL33.js → chunk-B5ZZNLVS.js} +528 -181
- package/dist/chunk-B5ZZNLVS.js.map +1 -0
- package/dist/chunk-O7NY46QY.js +1830 -0
- package/dist/chunk-O7NY46QY.js.map +1 -0
- package/dist/chunk-P6VTEKWO.js +618 -0
- package/dist/chunk-P6VTEKWO.js.map +1 -0
- package/dist/emulator/testing.cjs +2084 -391
- package/dist/emulator/testing.cjs.map +1 -1
- package/dist/emulator/testing.d.cts +55 -7
- package/dist/emulator/testing.d.ts +55 -7
- package/dist/emulator/testing.js +144 -19
- package/dist/emulator/testing.js.map +1 -1
- package/dist/emulator.cjs +59 -249
- package/dist/emulator.cjs.map +1 -1
- package/dist/emulator.d.cts +3 -5
- package/dist/emulator.d.ts +3 -5
- package/dist/emulator.js +5 -11
- package/dist/index.cjs +1373 -4859
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81 -260
- package/dist/index.d.ts +81 -260
- package/dist/index.js +8 -161
- package/dist/{inline-C7DkvuET.d.cts → templates-CGmRIQBV.d.cts} +89 -35
- package/dist/{inline-DpcT8tV9.d.ts → templates-Cq94qOcf.d.ts} +89 -35
- package/dist/{types-D3JxUCfL.d.cts → types-DBStn0Dk.d.cts} +2 -26
- package/dist/{types-D3JxUCfL.d.ts → types-DBStn0Dk.d.ts} +2 -26
- package/dist/use-grist-BK0eke9K.d.cts +358 -0
- package/dist/use-grist-C5DMZ3wU.d.ts +358 -0
- package/package.json +8 -37
- package/dist/advanced.cjs +0 -2799
- package/dist/advanced.cjs.map +0 -1
- package/dist/advanced.d.cts +0 -822
- package/dist/advanced.d.ts +0 -822
- package/dist/advanced.js +0 -875
- package/dist/advanced.js.map +0 -1
- package/dist/chunk-22U7WAY3.js +0 -463
- package/dist/chunk-22U7WAY3.js.map +0 -1
- package/dist/chunk-64SVRWW7.js +0 -758
- package/dist/chunk-64SVRWW7.js.map +0 -1
- package/dist/chunk-ELGVOHFD.js +0 -32
- package/dist/chunk-ELGVOHFD.js.map +0 -1
- package/dist/chunk-EPEBKXVN.js +0 -470
- package/dist/chunk-EPEBKXVN.js.map +0 -1
- package/dist/chunk-GTTD5HPO.js +0 -36
- package/dist/chunk-GTTD5HPO.js.map +0 -1
- package/dist/chunk-JASMM2YC.js +0 -243
- package/dist/chunk-JASMM2YC.js.map +0 -1
- package/dist/chunk-N3X46JW2.js +0 -37
- package/dist/chunk-N3X46JW2.js.map +0 -1
- package/dist/chunk-PDGEZ24B.js +0 -2366
- package/dist/chunk-PDGEZ24B.js.map +0 -1
- package/dist/chunk-PM3B4WYV.js +0 -12
- package/dist/chunk-PM3B4WYV.js.map +0 -1
- package/dist/chunk-REV5AUXD.js +0 -25
- package/dist/chunk-REV5AUXD.js.map +0 -1
- package/dist/chunk-TZB3OZA6.js +0 -1630
- package/dist/chunk-TZB3OZA6.js.map +0 -1
- package/dist/chunk-YQNMIL33.js.map +0 -1
- package/dist/create-grist-emulator-BCqp1BF9.d.ts +0 -81
- package/dist/create-grist-emulator-DBM8OSIR.d.cts +0 -81
- package/dist/emulator/devtools.cjs +0 -1404
- package/dist/emulator/devtools.cjs.map +0 -1
- package/dist/emulator/devtools.d.cts +0 -48
- package/dist/emulator/devtools.d.ts +0 -48
- package/dist/emulator/devtools.js +0 -508
- package/dist/emulator/devtools.js.map +0 -1
- package/dist/emulator/transports.cjs +0 -1132
- package/dist/emulator/transports.cjs.map +0 -1
- package/dist/emulator/transports.d.cts +0 -38
- package/dist/emulator/transports.d.ts +0 -38
- package/dist/emulator/transports.js +0 -12
- package/dist/emulator/transports.js.map +0 -1
- package/dist/templates-8k2LKoO-.d.cts +0 -24
- package/dist/templates-DIwi_mvI.d.ts +0 -24
- package/dist/use-grist-reads-DUMvJgV7.d.ts +0 -480
- package/dist/use-grist-reads-DpjVuI0H.d.cts +0 -480
- package/dist/use-grist-types-DdOLEJXN.d.cts +0 -499
- package/dist/use-grist-types-kwxoFeub.d.ts +0 -499
- package/dist/use-grist-widget-options-from-context-CGOlQ5Vc.d.cts +0 -43
- package/dist/use-grist-widget-options-from-context-CGOlQ5Vc.d.ts +0 -43
package/dist/emulator.d.cts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as GristReplicaDocument } from './types-DBStn0Dk.cjs';
|
|
2
2
|
import { GristReplicaTable, GristWidgetColumnMap } from './index.cjs';
|
|
3
|
-
|
|
4
|
-
export { p as presets } from './templates-
|
|
3
|
+
import { E as EmulatorColumn, a as EmulatorDocumentState } from './templates-CGmRIQBV.cjs';
|
|
4
|
+
export { C as CreateGristEmulatorOptions, b as EmulatorApiBundle, c as EmulatorEvent, d as EmulatorRowId, e as EmulatorTable, f as EmulatorTransport, G as GristEmulator, I as InlineGristGlobal, g as createGristEmulator, p as presets } from './templates-CGmRIQBV.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { b as EmulatorColumn, E as EmulatorDocumentState } from './inline-C7DkvuET.cjs';
|
|
7
|
-
export { c as EmulatorApiBundle, a as EmulatorEvent, d as EmulatorRowId, e as EmulatorTable, f as EmulatorTransport, I as InlineGristGlobal } from './inline-C7DkvuET.cjs';
|
|
8
6
|
|
|
9
7
|
declare function safeParseDocument(input: unknown): z.ZodSafeParseResult<{
|
|
10
8
|
generatedAt: string;
|
package/dist/emulator.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as GristReplicaDocument } from './types-DBStn0Dk.js';
|
|
2
2
|
import { GristReplicaTable, GristWidgetColumnMap } from './index.js';
|
|
3
|
-
|
|
4
|
-
export { p as presets } from './templates-
|
|
3
|
+
import { E as EmulatorColumn, a as EmulatorDocumentState } from './templates-Cq94qOcf.js';
|
|
4
|
+
export { C as CreateGristEmulatorOptions, b as EmulatorApiBundle, c as EmulatorEvent, d as EmulatorRowId, e as EmulatorTable, f as EmulatorTransport, G as GristEmulator, I as InlineGristGlobal, g as createGristEmulator, p as presets } from './templates-Cq94qOcf.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { b as EmulatorColumn, E as EmulatorDocumentState } from './inline-DpcT8tV9.js';
|
|
7
|
-
export { c as EmulatorApiBundle, a as EmulatorEvent, d as EmulatorRowId, e as EmulatorTable, f as EmulatorTransport, I as InlineGristGlobal } from './inline-DpcT8tV9.js';
|
|
8
6
|
|
|
9
7
|
declare function safeParseDocument(input: unknown): z.ZodSafeParseResult<{
|
|
10
8
|
generatedAt: string;
|
package/dist/emulator.js
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
+
EmulatorActionError,
|
|
2
3
|
createGristEmulator,
|
|
4
|
+
enrichEmulatorColumnMetadata,
|
|
3
5
|
parseDocument,
|
|
4
6
|
presets,
|
|
7
|
+
resolveMappings,
|
|
5
8
|
safeParseDocument
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
8
|
-
EmulatorActionError,
|
|
9
|
-
enrichEmulatorColumnMetadata
|
|
10
|
-
} from "./chunk-YQNMIL33.js";
|
|
11
|
-
import "./chunk-GTTD5HPO.js";
|
|
12
|
-
import "./chunk-ELGVOHFD.js";
|
|
13
|
-
import {
|
|
14
|
-
resolveMappings
|
|
15
|
-
} from "./chunk-PM3B4WYV.js";
|
|
16
|
-
import "./chunk-64SVRWW7.js";
|
|
9
|
+
} from "./chunk-B5ZZNLVS.js";
|
|
10
|
+
import "./chunk-4ZGVKGDF.js";
|
|
17
11
|
export {
|
|
18
12
|
EmulatorActionError,
|
|
19
13
|
createGristEmulator,
|