@arbidocs/react 0.5.153 → 0.5.154
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/artifacts/index.cjs +34 -34
- package/dist/calls/livekit/index.cjs +44 -44
- package/dist/{chunk-HISGJISX.cjs → chunk-5LKTSVTE.cjs} +6 -6
- package/dist/{chunk-HISGJISX.cjs.map → chunk-5LKTSVTE.cjs.map} +1 -1
- package/dist/{chunk-DBWW6DXJ.cjs → chunk-6RRKO4ZK.cjs} +5 -5
- package/dist/{chunk-DBWW6DXJ.cjs.map → chunk-6RRKO4ZK.cjs.map} +1 -1
- package/dist/{chunk-NJWQPNGD.cjs → chunk-H2TP7JWR.cjs} +6 -6
- package/dist/{chunk-NJWQPNGD.cjs.map → chunk-H2TP7JWR.cjs.map} +1 -1
- package/dist/{chunk-DQODLWFX.cjs → chunk-KULS4YWP.cjs} +3 -3
- package/dist/{chunk-DQODLWFX.cjs.map → chunk-KULS4YWP.cjs.map} +1 -1
- package/dist/{chunk-BUMLF3MS.cjs → chunk-ZBCTLPO5.cjs} +5 -5
- package/dist/{chunk-BUMLF3MS.cjs.map → chunk-ZBCTLPO5.cjs.map} +1 -1
- package/dist/{chunk-WWGUGZZN.cjs → chunk-ZELH6W5C.cjs} +27 -27
- package/dist/{chunk-WWGUGZZN.cjs.map → chunk-ZELH6W5C.cjs.map} +1 -1
- package/dist/datasets/index.js +5 -1
- package/dist/datasets/index.js.map +2 -2
- package/dist/datasets/pages.js +70 -7
- package/dist/datasets/pages.js.map +2 -2
- package/dist/document-tools/core.cjs +101 -101
- package/dist/document-tools/index.cjs +103 -103
- package/dist/index.cjs +1635 -1572
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +61 -5
- package/dist/shell/index.cjs +40 -40
- package/dist/ui/index.cjs +13 -13
- package/dist/viewers/index.cjs +9 -9
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/datasets/pages.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Pages: the open workspace's layouts of live blocks (charts, metrics, text and table views), kept\n * on the server (`arbi.pages`, `/v1/pages`) under the workspace key. A page is its creator's until\n * shared. Sharing is one-way: a shared page is every member's to read and every editor's to edit,\n * and only a workspace owner deletes it. A shared page never shows a private view (the server\n * refuses: `PagePrivateContentError`).\n *\n * A page is a 12-column grid: each block has a place and a size (`layout`). Chart and metric blocks\n * carry an Analytics panel's config (source, chart); a table block carries only the view it shows.\n * Dashboards saved before pages come back as private pages (`legacy`), opened with the user's key;\n * saving one places it in the open workspace.\n */\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'\nimport type { Page, PageSpecWire } from '@arbidocs/sdk/browser'\nimport { useArbi } from '../useArbi'\nimport { arbiQueryKeys } from '../query-keys'\nimport type { ChartSpec, DashboardSpec, DataSourceRef, PanelSpec } from './types'\n\n/**\n * The transient view through which a host asks for a chart of a database (\"Chart this\"): set it to\n * `{ id, name, workspaceId }` and open the pages, which start a new page on that database and clear it.\n */\nexport const ANALYTICS_CHART_VIEW = 'analytics.chartDatabase'\n\n/** A database to chart. */\nexport interface AnalyticsChartRequest {\n id: string\n name: string\n /** The database's workspace, so the new blocks read it from anywhere. */\n workspaceId?: string\n}\n\n/** The columns of a page's grid. */\nexport const PAGE_GRID_COLUMNS = 12\n\nexport type PageBlockKind = 'chart' | 'metric' | 'text' | 'table' | 'document' | 'gallery'\n\n/** Where a block sits: column `x` (0\u201311) and row `y`, `w` columns wide and `h` rows high. */\nexport interface BlockLayout {\n x: number\n y: number\n w: number\n h: number\n}\n\n/** A chart or metric block: what an Analytics panel shows. */\nexport interface PanelBlockConfig {\n title: string\n description?: string\n source: DataSourceRef\n chart: ChartSpec\n}\n\ninterface BlockBase {\n id: string\n layout: BlockLayout\n}\n\nexport type PageBlock =\n | (BlockBase & { kind: 'chart'; config: PanelBlockConfig })\n | (BlockBase & { kind: 'metric'; config: PanelBlockConfig })\n | (BlockBase & { kind: 'text'; config: { text: string } })\n /** A saved table view, nothing else: its columns, filters and sort are the view's. */\n | (BlockBase & { kind: 'table'; config: { view: string } })\n /** One document (a PDF, a Word file, an image, a generated report), read-only. */\n | (BlockBase & { kind: 'document'; config: { document: string } })\n /** Documents shown one at a time, in this order, with previous / next and thumbnails. */\n | (BlockBase & { kind: 'gallery'; config: { documents: string[] } })\n\n/** A page: a titled grid of blocks. Plain JSON (`version` for later migrations). */\nexport interface PageSpec {\n version: 1\n title: string\n description?: string\n blocks: PageBlock[]\n}\n\n/** A page as read. */\nexport interface SavedPage {\n id: string\n /** `null`: a dashboard from before pages, not yet saved into a workspace. */\n workspaceId: string | null\n shared: boolean\n spec: PageSpec\n /** The views its table blocks show (the server's record). */\n viewIds: string[]\n /** The documents its document and gallery blocks show (the server's record). */\n documentIds: string[]\n createdBy: string | null\n updatedAt: string\n /** A dashboard from before pages (sealed to the user): saving it places it in this workspace. */\n legacy: boolean\n /** It could not be opened (sealed under another key, or damaged): it can only be deleted. */\n unreadable: boolean\n}\n\n/** A new block's height in rows, by kind. */\nexport const DEFAULT_BLOCK_HEIGHT: Record<PageBlockKind, number> = {\n metric: 2,\n text: 2,\n chart: 4,\n table: 6,\n document: 8,\n gallery: 8,\n}\n\nconst isObject = (v: unknown): v is Record<string, unknown> =>\n typeof v === 'object' && v !== null && !Array.isArray(v)\n\nconst clamp = (n: unknown, lo: number, hi: number, fallback: number) =>\n typeof n === 'number' && Number.isFinite(n) ? Math.min(hi, Math.max(lo, Math.round(n))) : fallback\n\n/**\n * Place blocks in order, left to right in rows: a block goes beside the last one when it fits in\n * the 12 columns, else below everything placed so far. Each keeps its size.\n */\nexport function packBlocks<B extends { layout: BlockLayout }>(blocks: readonly B[]): B[] {\n let x = 0\n let rowTop = 0\n let bottom = 0\n return blocks.map((b) => {\n const w = clamp(b.layout.w, 1, PAGE_GRID_COLUMNS, PAGE_GRID_COLUMNS)\n const h = clamp(b.layout.h, 1, 100, 4)\n if (x + w > PAGE_GRID_COLUMNS) {\n x = 0\n rowTop = bottom\n }\n const layout = { x, y: rowTop, w, h }\n x += w\n bottom = Math.max(bottom, rowTop + h)\n return { ...b, layout }\n })\n}\n\n/** A chart or metric block of an Analytics panel. */\nexport function blockOfPanel(panel: PanelSpec, h?: number): PageBlock {\n const kind = panel.chart.type === 'metric' ? 'metric' : 'chart'\n return {\n id: panel.id,\n kind,\n layout: { x: 0, y: 0, w: panel.width ?? PAGE_GRID_COLUMNS, h: h ?? DEFAULT_BLOCK_HEIGHT[kind] },\n config: {\n title: panel.title,\n ...(panel.description ? { description: panel.description } : {}),\n source: panel.source,\n chart: panel.chart,\n },\n }\n}\n\n/** The Analytics panel a chart or metric block draws. */\nexport function panelOfBlock(block: Extract<PageBlock, { kind: 'chart' | 'metric' }>): PanelSpec {\n return {\n id: block.id,\n title: block.config.title,\n ...(block.config.description ? { description: block.config.description } : {}),\n source: block.config.source,\n chart: block.config.chart,\n width: block.layout.w,\n }\n}\n\n/** A dashboard (a template, or one saved before pages) as a page: its panels as blocks, in order. */\nexport function pageFromDashboard(dashboard: DashboardSpec): PageSpec {\n return {\n version: 1,\n title: dashboard.title,\n ...(dashboard.description ? { description: dashboard.description } : {}),\n blocks: packBlocks(dashboard.panels.map((p) => blockOfPanel(p))),\n }\n}\n\nfunction isPanelConfig(v: unknown): v is PanelBlockConfig {\n return (\n isObject(v) &&\n typeof v.title === 'string' &&\n isObject(v.source) &&\n typeof v.source.id === 'string' &&\n isObject(v.chart) &&\n typeof v.chart.type === 'string'\n )\n}\n\nfunction blockOf(v: unknown): PageBlock | null {\n if (!isObject(v) || typeof v.id !== 'string' || !isObject(v.config)) return null\n const l = isObject(v.layout) ? v.layout : {}\n const layout = {\n x: clamp(l.x, 0, PAGE_GRID_COLUMNS - 1, 0),\n y: clamp(l.y, 0, 10_000, 0),\n w: clamp(l.w, 1, PAGE_GRID_COLUMNS, PAGE_GRID_COLUMNS),\n h: clamp(l.h, 1, 100, 4),\n }\n const config = v.config\n switch (v.kind) {\n case 'chart':\n case 'metric':\n return isPanelConfig(config) ? { id: v.id, kind: v.kind, layout, config } : null\n case 'text':\n return { id: v.id, kind: 'text', layout, config: { text: String(config.text ?? '') } }\n case 'table':\n return typeof config.view === 'string'\n ? { id: v.id, kind: 'table', layout, config: { view: config.view } }\n : null\n case 'document':\n return typeof config.document === 'string'\n ? { id: v.id, kind: 'document', layout, config: { document: config.document } }\n : null\n case 'gallery': {\n const documents = Array.isArray(config.documents)\n ? config.documents.filter((d): d is string => typeof d === 'string')\n : []\n return documents.length ? { id: v.id, kind: 'gallery', layout, config: { documents } } : null\n }\n default:\n return null\n }\n}\n\n/** A stored spec, checked: `null` when it is not a page (malformed blocks are dropped). */\nexport function parsePageSpec(value: unknown): PageSpec | null {\n if (!isObject(value) || value.version !== 1 || typeof value.title !== 'string') return null\n return {\n version: 1,\n title: value.title,\n ...(typeof value.description === 'string' && value.description\n ? { description: value.description }\n : {}),\n blocks: (Array.isArray(value.blocks) ? value.blocks : [])\n .map(blockOf)\n .filter((b): b is PageBlock => b !== null),\n }\n}\n\n/** A dashboard spec saved before pages (its JSON), checked. */\nfunction parseDashboardJson(json: string | null): DashboardSpec | null {\n if (json === null) return null\n let parsed: unknown\n try {\n parsed = JSON.parse(json)\n } catch {\n return null\n }\n if (!isObject(parsed) || typeof parsed.title !== 'string') return null\n const panels = (Array.isArray(parsed.panels) ? parsed.panels : []).filter(\n (p): p is PanelSpec =>\n isObject(p) &&\n typeof p.id === 'string' &&\n typeof p.title === 'string' &&\n isPanelConfig({ ...p, title: p.title })\n )\n return {\n version: 1,\n title: parsed.title,\n ...(typeof parsed.description === 'string' ? { description: parsed.description } : {}),\n panels,\n }\n}\n\nconst EMPTY: PageSpec = { version: 1, title: '', blocks: [] }\n\n/** A page as the hooks give it. */\nexport function savedPageOf(page: Page): SavedPage {\n const legacy = page.workspaceId === null\n const dashboard = legacy ? parseDashboardJson(page.legacyJson) : null\n const spec = legacy\n ? dashboard && pageFromDashboard(dashboard)\n : parsePageSpec(page.spec as unknown)\n return {\n id: page.id,\n workspaceId: page.workspaceId,\n shared: page.shared,\n spec: spec ?? EMPTY,\n viewIds: page.viewIds,\n documentIds: page.documentIds,\n createdBy: page.createdBy,\n updatedAt: page.updatedAt,\n legacy,\n unreadable: page.unreadable || spec === null,\n }\n}\n\n/** The open workspace's id, or '' with none open. */\nfunction openWorkspaceId(arbi: ReturnType<typeof useArbi>): string {\n return arbi.hasWorkspace ? arbi.getWorkspaceId() : ''\n}\n\n/** The open workspace's pages the user can see (shared ones and their own), oldest first. */\nexport function usePages() {\n const arbi = useArbi()\n const workspaceId = openWorkspaceId(arbi)\n return useQuery({\n queryKey: arbiQueryKeys.pages(workspaceId),\n queryFn: () =>\n arbi.readInWorkspace(workspaceId, async () => (await arbi.pages.list()).map(savedPageOf)),\n enabled: !!workspaceId && arbi.isLoggedIn,\n staleTime: 1000 * 30,\n })\n}\n\nfunction usePageCache() {\n const arbi = useArbi()\n const queryClient = useQueryClient()\n const key = arbiQueryKeys.pages(openWorkspaceId(arbi))\n return {\n put: (page: SavedPage) =>\n queryClient.setQueryData<SavedPage[]>(key, (old = []) =>\n old.some((p) => p.id === page.id)\n ? old.map((p) => (p.id === page.id ? page : p))\n : [...old, page]\n ),\n drop: (id: string) =>\n queryClient.setQueryData<SavedPage[]>(key, (old = []) => old.filter((p) => p.id !== id)),\n }\n}\n\n/** Save a page: new without `id` (private unless `shared`), else its spec replaced. */\nexport function useSavePage() {\n const arbi = useArbi()\n const cache = usePageCache()\n return useMutation({\n mutationFn: async ({ id, spec, shared }: { id?: string; spec: PageSpec; shared?: boolean }) =>\n savedPageOf(\n id\n ? await arbi.pages.update(id, spec as unknown as PageSpecWire)\n : await arbi.pages.create({ spec: spec as unknown as PageSpecWire, shared })\n ),\n onSuccess: cache.put,\n })\n}\n\n/** Share a page with the workspace. One-way: a shared page stays shared (only an owner deletes it). */\nexport function useSharePage() {\n const arbi = useArbi()\n const cache = usePageCache()\n return useMutation({\n mutationFn: async (id: string) => savedPageOf(await arbi.pages.share(id)),\n onSuccess: cache.put,\n })\n}\n\nexport function useDeletePage() {\n const arbi = useArbi()\n const cache = usePageCache()\n return useMutation({\n mutationFn: (id: string) => arbi.pages.remove(id),\n onSuccess: (_void, id) => cache.drop(id),\n })\n}\n"],
|
|
5
|
-
"mappings": "AAYA,SAAS,aAAa,UAAU,sBAAsB;
|
|
4
|
+
"sourcesContent": ["/**\n * Pages: the open workspace's layouts of live blocks (charts, metrics, text and table views), kept\n * on the server (`arbi.pages`, `/v1/pages`) under the workspace key. A page is its creator's until\n * shared. Sharing is one-way: a shared page is every member's to read and every editor's to edit,\n * and only a workspace owner deletes it. A shared page never shows a private view (the server\n * refuses: `PagePrivateContentError`).\n *\n * A page is a 12-column grid: each block has a place and a size (`layout`). Chart and metric blocks\n * carry an Analytics panel's config (source, chart); a table block carries only the view it shows.\n * Dashboards saved before pages come back as private pages (`legacy`), opened with the user's key;\n * saving one places it in the open workspace.\n */\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'\nimport type {\n AgendaBlockConfig,\n CarouselBlockConfig,\n ListBlockConfig,\n Page,\n PageSpecWire,\n StartBlockConfig,\n} from '@arbidocs/sdk/browser'\nimport { useArbi } from '../useArbi'\nimport { arbiQueryKeys } from '../query-keys'\nimport type { ChartSpec, DashboardSpec, DataSourceRef, PanelSpec } from './types'\n\n/**\n * The transient view through which a host asks for a chart of a database (\"Chart this\"): set it to\n * `{ id, name, workspaceId }` and open the pages, which start a new page on that database and clear it.\n */\nexport const ANALYTICS_CHART_VIEW = 'analytics.chartDatabase'\n\n/** A database to chart. */\nexport interface AnalyticsChartRequest {\n id: string\n name: string\n /** The database's workspace, so the new blocks read it from anywhere. */\n workspaceId?: string\n}\n\n/** The columns of a page's grid. */\nexport const PAGE_GRID_COLUMNS = 12\n\nexport type PageBlockKind =\n | 'chart'\n | 'metric'\n | 'text'\n | 'table'\n | 'document'\n | 'gallery'\n | 'list'\n | 'carousel'\n | 'agenda'\n | 'start'\n\n/**\n * The live kinds: the workspace home's sections as blocks. They name no item: each viewer sees\n * their own visible items of the block's source, so a shared page of them shows nobody anything new.\n */\nexport const LIVE_BLOCK_KINDS = ['list', 'carousel', 'agenda', 'start'] as const\n\nexport type { AgendaBlockConfig, CarouselBlockConfig, ListBlockConfig, StartBlockConfig }\n\n/** Where a block sits: column `x` (0\u201311) and row `y`, `w` columns wide and `h` rows high. */\nexport interface BlockLayout {\n x: number\n y: number\n w: number\n h: number\n}\n\n/** A chart or metric block: what an Analytics panel shows. */\nexport interface PanelBlockConfig {\n title: string\n description?: string\n source: DataSourceRef\n chart: ChartSpec\n}\n\ninterface BlockBase {\n id: string\n layout: BlockLayout\n}\n\nexport type PageBlock =\n | (BlockBase & { kind: 'chart'; config: PanelBlockConfig })\n | (BlockBase & { kind: 'metric'; config: PanelBlockConfig })\n | (BlockBase & { kind: 'text'; config: { text: string } })\n /** A saved table view, nothing else: its columns, filters and sort are the view's. */\n | (BlockBase & { kind: 'table'; config: { view: string } })\n /** One document (a PDF, a Word file, an image, a generated report), read-only. */\n | (BlockBase & { kind: 'document'; config: { document: string } })\n /** Documents shown one at a time, in this order, with previous / next and thumbnails. */\n | (BlockBase & { kind: 'gallery'; config: { documents: string[] } })\n /** The viewer's latest files, threads or facts, each row opening its item. */\n | (BlockBase & { kind: 'list'; config: ListBlockConfig })\n /** The viewer's skills (each opens its launcher) or workflows (each opens it), as cards. */\n | (BlockBase & { kind: 'carousel'; config: CarouselBlockConfig })\n /** The viewer's next calendar events. */\n | (BlockBase & { kind: 'agenda'; config: AgendaBlockConfig })\n /** The workspace home's Start band: what the viewer can start, and adding files. */\n | (BlockBase & { kind: 'start'; config: StartBlockConfig })\n\n/** One of the live blocks. */\nexport type LiveBlock = Extract<PageBlock, { kind: (typeof LIVE_BLOCK_KINDS)[number] }>\n\n/** A page: a titled grid of blocks. Plain JSON (`version` for later migrations). */\nexport interface PageSpec {\n version: 1\n title: string\n description?: string\n blocks: PageBlock[]\n}\n\n/** A page as read. */\nexport interface SavedPage {\n id: string\n /** `null`: a dashboard from before pages, not yet saved into a workspace. */\n workspaceId: string | null\n shared: boolean\n spec: PageSpec\n /** The views its table blocks show (the server's record). */\n viewIds: string[]\n /** The documents its document and gallery blocks show (the server's record). */\n documentIds: string[]\n createdBy: string | null\n updatedAt: string\n /** A dashboard from before pages (sealed to the user): saving it places it in this workspace. */\n legacy: boolean\n /** It could not be opened (sealed under another key, or damaged): it can only be deleted. */\n unreadable: boolean\n}\n\n/**\n * A new block's height in rows, by kind: whole slots of the page's grid (a slot is 3 rows tall\n * and 3 columns wide): a metric or a text one slot, the rest two.\n */\nexport const DEFAULT_BLOCK_HEIGHT: Record<PageBlockKind, number> = {\n metric: 3,\n text: 3,\n chart: 6,\n table: 6,\n document: 6,\n gallery: 6,\n list: 6,\n carousel: 3,\n agenda: 6,\n start: 3,\n}\n\n/** The bounds of the live blocks' configs (the server's, `src/models/page.py`). */\nexport const LIVE_BLOCK_LIMITS = {\n listRows: { min: 1, max: 25, default: 5 },\n carouselItems: { min: 1, max: 50, default: 12 },\n agendaDays: { min: 1, max: 31, default: 7 },\n agendaEvents: { min: 1, max: 50, default: 8 },\n} as const\n\nconst LIST_SOURCES: ReadonlyArray<ListBlockConfig['source']> = [\n 'documents',\n 'conversations',\n 'facts',\n]\nconst FACTS_GROUPS: ReadonlyArray<NonNullable<ListBlockConfig['facts']>> = [\n 'upcoming_and_newest',\n 'upcoming',\n 'newest',\n]\nconst CAROUSEL_SOURCES: ReadonlyArray<CarouselBlockConfig['source']> = ['skills', 'workflows']\n\nconst oneOf = <T extends string>(options: ReadonlyArray<T>, v: unknown): T | undefined =>\n options.find((o) => o === v)\n\nconst bounded = (v: unknown, b: { min: number; max: number; default: number }) =>\n clamp(v, b.min, b.max, b.default)\n\nconst isObject = (v: unknown): v is Record<string, unknown> =>\n typeof v === 'object' && v !== null && !Array.isArray(v)\n\nconst clamp = (n: unknown, lo: number, hi: number, fallback: number) =>\n typeof n === 'number' && Number.isFinite(n) ? Math.min(hi, Math.max(lo, Math.round(n))) : fallback\n\n/**\n * Place blocks in order, left to right in rows: a block goes beside the last one when it fits in\n * the 12 columns, else below everything placed so far. Each keeps its size.\n */\nexport function packBlocks<B extends { layout: BlockLayout }>(blocks: readonly B[]): B[] {\n let x = 0\n let rowTop = 0\n let bottom = 0\n return blocks.map((b) => {\n const w = clamp(b.layout.w, 1, PAGE_GRID_COLUMNS, PAGE_GRID_COLUMNS)\n const h = clamp(b.layout.h, 1, 100, 4)\n if (x + w > PAGE_GRID_COLUMNS) {\n x = 0\n rowTop = bottom\n }\n const layout = { x, y: rowTop, w, h }\n x += w\n bottom = Math.max(bottom, rowTop + h)\n return { ...b, layout }\n })\n}\n\n/** A chart or metric block of an Analytics panel. */\nexport function blockOfPanel(panel: PanelSpec, h?: number): PageBlock {\n const kind = panel.chart.type === 'metric' ? 'metric' : 'chart'\n return {\n id: panel.id,\n kind,\n layout: { x: 0, y: 0, w: panel.width ?? PAGE_GRID_COLUMNS, h: h ?? DEFAULT_BLOCK_HEIGHT[kind] },\n config: {\n title: panel.title,\n ...(panel.description ? { description: panel.description } : {}),\n source: panel.source,\n chart: panel.chart,\n },\n }\n}\n\n/** The Analytics panel a chart or metric block draws. */\nexport function panelOfBlock(block: Extract<PageBlock, { kind: 'chart' | 'metric' }>): PanelSpec {\n return {\n id: block.id,\n title: block.config.title,\n ...(block.config.description ? { description: block.config.description } : {}),\n source: block.config.source,\n chart: block.config.chart,\n width: block.layout.w,\n }\n}\n\n/** A dashboard (a template, or one saved before pages) as a page: its panels as blocks, in order. */\nexport function pageFromDashboard(dashboard: DashboardSpec): PageSpec {\n return {\n version: 1,\n title: dashboard.title,\n ...(dashboard.description ? { description: dashboard.description } : {}),\n blocks: packBlocks(dashboard.panels.map((p) => blockOfPanel(p))),\n }\n}\n\nfunction isPanelConfig(v: unknown): v is PanelBlockConfig {\n return (\n isObject(v) &&\n typeof v.title === 'string' &&\n isObject(v.source) &&\n typeof v.source.id === 'string' &&\n isObject(v.chart) &&\n typeof v.chart.type === 'string'\n )\n}\n\nfunction blockOf(v: unknown): PageBlock | null {\n if (!isObject(v) || typeof v.id !== 'string') return null\n // An agenda or a Start block may carry no config (the server's defaults); every other kind has one.\n if (!isObject(v.config) && v.kind !== 'agenda' && v.kind !== 'start') return null\n const l = isObject(v.layout) ? v.layout : {}\n const layout = {\n x: clamp(l.x, 0, PAGE_GRID_COLUMNS - 1, 0),\n y: clamp(l.y, 0, 10_000, 0),\n w: clamp(l.w, 1, PAGE_GRID_COLUMNS, PAGE_GRID_COLUMNS),\n h: clamp(l.h, 1, 100, 4),\n }\n const config = isObject(v.config) ? v.config : {}\n switch (v.kind) {\n case 'chart':\n case 'metric':\n return isPanelConfig(config) ? { id: v.id, kind: v.kind, layout, config } : null\n case 'text':\n return { id: v.id, kind: 'text', layout, config: { text: String(config.text ?? '') } }\n case 'table':\n return typeof config.view === 'string'\n ? { id: v.id, kind: 'table', layout, config: { view: config.view } }\n : null\n case 'document':\n return typeof config.document === 'string'\n ? { id: v.id, kind: 'document', layout, config: { document: config.document } }\n : null\n case 'gallery': {\n const documents = Array.isArray(config.documents)\n ? config.documents.filter((d): d is string => typeof d === 'string')\n : []\n return documents.length ? { id: v.id, kind: 'gallery', layout, config: { documents } } : null\n }\n case 'list': {\n const source = oneOf(LIST_SOURCES, config.source)\n if (!source) return null\n const facts = source === 'facts' ? oneOf(FACTS_GROUPS, config.facts) : undefined\n return {\n id: v.id,\n kind: 'list',\n layout,\n config: {\n source,\n limit: bounded(config.limit, LIVE_BLOCK_LIMITS.listRows),\n ...(facts ? { facts } : {}),\n },\n }\n }\n case 'carousel': {\n const source = oneOf(CAROUSEL_SOURCES, config.source)\n return source\n ? {\n id: v.id,\n kind: 'carousel',\n layout,\n config: { source, limit: bounded(config.limit, LIVE_BLOCK_LIMITS.carouselItems) },\n }\n : null\n }\n case 'agenda':\n return {\n id: v.id,\n kind: 'agenda',\n layout,\n config: {\n days: bounded(config.days, LIVE_BLOCK_LIMITS.agendaDays),\n limit: bounded(config.limit, LIVE_BLOCK_LIMITS.agendaEvents),\n },\n }\n case 'start':\n return { id: v.id, kind: 'start', layout, config: {} }\n default:\n return null\n }\n}\n\n/** A stored spec, checked: `null` when it is not a page (malformed blocks are dropped). */\nexport function parsePageSpec(value: unknown): PageSpec | null {\n if (!isObject(value) || value.version !== 1 || typeof value.title !== 'string') return null\n return {\n version: 1,\n title: value.title,\n ...(typeof value.description === 'string' && value.description\n ? { description: value.description }\n : {}),\n blocks: (Array.isArray(value.blocks) ? value.blocks : [])\n .map(blockOf)\n .filter((b): b is PageBlock => b !== null),\n }\n}\n\n/** A dashboard spec saved before pages (its JSON), checked. */\nfunction parseDashboardJson(json: string | null): DashboardSpec | null {\n if (json === null) return null\n let parsed: unknown\n try {\n parsed = JSON.parse(json)\n } catch {\n return null\n }\n if (!isObject(parsed) || typeof parsed.title !== 'string') return null\n const panels = (Array.isArray(parsed.panels) ? parsed.panels : []).filter(\n (p): p is PanelSpec =>\n isObject(p) &&\n typeof p.id === 'string' &&\n typeof p.title === 'string' &&\n isPanelConfig({ ...p, title: p.title })\n )\n return {\n version: 1,\n title: parsed.title,\n ...(typeof parsed.description === 'string' ? { description: parsed.description } : {}),\n panels,\n }\n}\n\nconst EMPTY: PageSpec = { version: 1, title: '', blocks: [] }\n\n/** A page as the hooks give it. */\nexport function savedPageOf(page: Page): SavedPage {\n const legacy = page.workspaceId === null\n const dashboard = legacy ? parseDashboardJson(page.legacyJson) : null\n const spec = legacy\n ? dashboard && pageFromDashboard(dashboard)\n : parsePageSpec(page.spec as unknown)\n return {\n id: page.id,\n workspaceId: page.workspaceId,\n shared: page.shared,\n spec: spec ?? EMPTY,\n viewIds: page.viewIds,\n documentIds: page.documentIds,\n createdBy: page.createdBy,\n updatedAt: page.updatedAt,\n legacy,\n unreadable: page.unreadable || spec === null,\n }\n}\n\n/** The open workspace's id, or '' with none open. */\nfunction openWorkspaceId(arbi: ReturnType<typeof useArbi>): string {\n return arbi.hasWorkspace ? arbi.getWorkspaceId() : ''\n}\n\n/** The open workspace's pages the user can see (shared ones and their own), oldest first. */\nexport function usePages() {\n const arbi = useArbi()\n const workspaceId = openWorkspaceId(arbi)\n return useQuery({\n queryKey: arbiQueryKeys.pages(workspaceId),\n queryFn: () =>\n arbi.readInWorkspace(workspaceId, async () => (await arbi.pages.list()).map(savedPageOf)),\n enabled: !!workspaceId && arbi.isLoggedIn,\n staleTime: 1000 * 30,\n })\n}\n\nfunction usePageCache() {\n const arbi = useArbi()\n const queryClient = useQueryClient()\n const key = arbiQueryKeys.pages(openWorkspaceId(arbi))\n return {\n put: (page: SavedPage) =>\n queryClient.setQueryData<SavedPage[]>(key, (old = []) =>\n old.some((p) => p.id === page.id)\n ? old.map((p) => (p.id === page.id ? page : p))\n : [...old, page]\n ),\n drop: (id: string) =>\n queryClient.setQueryData<SavedPage[]>(key, (old = []) => old.filter((p) => p.id !== id)),\n }\n}\n\n/** Save a page: new without `id` (private unless `shared`), else its spec replaced. */\nexport function useSavePage() {\n const arbi = useArbi()\n const cache = usePageCache()\n return useMutation({\n mutationFn: async ({ id, spec, shared }: { id?: string; spec: PageSpec; shared?: boolean }) =>\n savedPageOf(\n id\n ? await arbi.pages.update(id, spec as unknown as PageSpecWire)\n : await arbi.pages.create({ spec: spec as unknown as PageSpecWire, shared })\n ),\n onSuccess: cache.put,\n })\n}\n\n/** Share a page with the workspace. One-way: a shared page stays shared (only an owner deletes it). */\nexport function useSharePage() {\n const arbi = useArbi()\n const cache = usePageCache()\n return useMutation({\n mutationFn: async (id: string) => savedPageOf(await arbi.pages.share(id)),\n onSuccess: cache.put,\n })\n}\n\nexport function useDeletePage() {\n const arbi = useArbi()\n const cache = usePageCache()\n return useMutation({\n mutationFn: (id: string) => arbi.pages.remove(id),\n onSuccess: (_void, id) => cache.drop(id),\n })\n}\n"],
|
|
5
|
+
"mappings": "AAYA,SAAS,aAAa,UAA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A,IACnB;AAAA,IACF,MAAM,CAAC,OACL,YAAY,aAA0B,KAAK,CAAC,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC;AAAA,EAC3F;AACF;AAGO,SAAS,cAAc;AAC5B,QAAM,OAAO,QAAQ;AACrB,QAAM,QAAQ,aAAa;AAC3B,SAAO,YAAY;AAAA,IACjB,YAAY,OAAO,EAAE,IAAI,MAAM,OAAO,MACpC;AAAA,MACE,KACI,MAAM,KAAK,MAAM,OAAO,IAAI,IAA+B,IAC3D,MAAM,KAAK,MAAM,OAAO,EAAE,MAAuC,OAAO,CAAC;AAAA,IAC/E;AAAA,IACF,WAAW,MAAM;AAAA,EACnB,CAAC;AACH;AAGO,SAAS,eAAe;AAC7B,QAAM,OAAO,QAAQ;AACrB,QAAM,QAAQ,aAAa;AAC3B,SAAO,YAAY;AAAA,IACjB,YAAY,OAAO,OAAe,YAAY,MAAM,KAAK,MAAM,MAAM,EAAE,CAAC;AAAA,IACxE,WAAW,MAAM;AAAA,EACnB,CAAC;AACH;AAEO,SAAS,gBAAgB;AAC9B,QAAM,OAAO,QAAQ;AACrB,QAAM,QAAQ,aAAa;AAC3B,SAAO,YAAY;AAAA,IACjB,YAAY,CAAC,OAAe,KAAK,MAAM,OAAO,EAAE;AAAA,IAChD,WAAW,CAAC,OAAO,OAAO,MAAM,KAAK,EAAE;AAAA,EACzC,CAAC;AACH;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,402 +1,402 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkZELH6W5C_cjs = require('../chunk-ZELH6W5C.cjs');
|
|
4
|
+
var chunkH2TP7JWR_cjs = require('../chunk-H2TP7JWR.cjs');
|
|
5
5
|
require('../chunk-SUZORMAB.cjs');
|
|
6
6
|
require('../chunk-2IJP73ZG.cjs');
|
|
7
|
-
require('../chunk-WYZJLZ67.cjs');
|
|
8
7
|
var chunk5ZNO77YB_cjs = require('../chunk-5ZNO77YB.cjs');
|
|
8
|
+
require('../chunk-KULS4YWP.cjs');
|
|
9
|
+
require('../chunk-VOFNX4P6.cjs');
|
|
10
|
+
require('../chunk-WYZJLZ67.cjs');
|
|
9
11
|
require('../chunk-HJDR5HEO.cjs');
|
|
10
|
-
require('../chunk-DQODLWFX.cjs');
|
|
11
12
|
require('../chunk-5NOZDH3F.cjs');
|
|
12
13
|
require('../chunk-S6A6FSG7.cjs');
|
|
13
|
-
require('../chunk-VOFNX4P6.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "DEFAULT_FIELD_SIZE", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkZELH6W5C_cjs.DEFAULT_FIELD_SIZE; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "FIELD_TYPE_LABELS", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkZELH6W5C_cjs.FIELD_TYPE_LABELS; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "INFORMAL_SIGNATURE_NOTE", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkZELH6W5C_cjs.INFORMAL_SIGNATURE_NOTE; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "LEGACY_LAYER_PREFIX", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkZELH6W5C_cjs.LEGACY_LAYER_PREFIX; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "MARK_FIELD_TYPES", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkZELH6W5C_cjs.MARK_FIELD_TYPES; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "MAX_MERGE_ATTEMPTS", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkZELH6W5C_cjs.MAX_MERGE_ATTEMPTS; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "MarkupStoreError", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkZELH6W5C_cjs.MarkupStoreError; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "SIGNATURE_FIELD_TYPES", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkZELH6W5C_cjs.SIGNATURE_FIELD_TYPES; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "SIGNED_UNCHANGED", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkZELH6W5C_cjs.SIGNED_UNCHANGED; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SIGNER_PROGRESS_LABELS", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkZELH6W5C_cjs.SIGNER_PROGRESS_LABELS; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "SignatureVerificationError", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkZELH6W5C_cjs.SignatureVerificationError; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "VERIFY_PATH", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkZELH6W5C_cjs.VERIFY_PATH; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "addToMarkup", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkZELH6W5C_cjs.addToMarkup; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "canAnnotate", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkZELH6W5C_cjs.canAnnotate; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "copyOpenThreads", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkZELH6W5C_cjs.copyOpenThreads; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "createMarkupStore", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkZELH6W5C_cjs.createMarkupStore; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "deleteSavedSignature", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkZELH6W5C_cjs.deleteSavedSignature; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "fetchDocumentSignatureRequests", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkZELH6W5C_cjs.fetchDocumentSignatureRequests; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "fetchSavedSignature", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkZELH6W5C_cjs.fetchSavedSignature; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "fetchSignatureVerification", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkZELH6W5C_cjs.fetchSignatureVerification; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "fieldsFromSuggestions", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkZELH6W5C_cjs.fieldsFromSuggestions; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "fieldsInSigningOrder", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkZELH6W5C_cjs.fieldsInSigningOrder; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "forgetLegacyLayer", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkZELH6W5C_cjs.forgetLegacyLayer; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "frozenCopyName", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkZELH6W5C_cjs.frozenCopyName; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "initialsOf", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkZELH6W5C_cjs.initialsOf; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "inviteSigners", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkZELH6W5C_cjs.inviteSigners; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "isEmailSigner", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkZELH6W5C_cjs.isEmailSigner; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "isSignatureReference", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkZELH6W5C_cjs.isSignatureReference; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "marksByVersion", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkZELH6W5C_cjs.marksByVersion; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "matchSignedCopy", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkZELH6W5C_cjs.matchSignedCopy; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "migrateLegacyLayer", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkZELH6W5C_cjs.migrateLegacyLayer; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "newFieldId", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkZELH6W5C_cjs.newFieldId; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "openThreadsOf", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkZELH6W5C_cjs.openThreadsOf; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "pngBytes", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkZELH6W5C_cjs.pngBytes; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "pngSize", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkZELH6W5C_cjs.pngSize; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "readLegacyLayer", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkZELH6W5C_cjs.readLegacyLayer; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "redactionLogName", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkZELH6W5C_cjs.redactionLogName; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "saveSignatureRequest", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkZELH6W5C_cjs.saveSignatureRequest; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "sendBlocker", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkZELH6W5C_cjs.sendBlocker; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "signSignatureRequest", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkZELH6W5C_cjs.signSignatureRequest; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "signatureFieldSuggestions", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkZELH6W5C_cjs.signatureFieldSuggestions; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "splitSuggestions", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkZELH6W5C_cjs.splitSuggestions; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "storeSavedSignature", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkZELH6W5C_cjs.storeSavedSignature; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "suggestSignatureFields", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkZELH6W5C_cjs.suggestSignatureFields; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "uploadFrozenCopy", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkZELH6W5C_cjs.uploadFrozenCopy; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "useDeclineSignatureRequest", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkZELH6W5C_cjs.useDeclineSignatureRequest; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "useDeleteSavedSignature", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkZELH6W5C_cjs.useDeleteSavedSignature; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "useDocumentBytes", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkZELH6W5C_cjs.useDocumentBytes; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "useDocumentMarkup", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkZELH6W5C_cjs.useDocumentMarkup; }
|
|
212
212
|
});
|
|
213
213
|
Object.defineProperty(exports, "useDocumentSignatureRequests", {
|
|
214
214
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkZELH6W5C_cjs.useDocumentSignatureRequests; }
|
|
216
216
|
});
|
|
217
217
|
Object.defineProperty(exports, "useInviteSigners", {
|
|
218
218
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkZELH6W5C_cjs.useInviteSigners; }
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(exports, "useIsOnline", {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkZELH6W5C_cjs.useIsOnline; }
|
|
224
224
|
});
|
|
225
225
|
Object.defineProperty(exports, "useSaveSignatureRequest", {
|
|
226
226
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkZELH6W5C_cjs.useSaveSignatureRequest; }
|
|
228
228
|
});
|
|
229
229
|
Object.defineProperty(exports, "useSavedSignature", {
|
|
230
230
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkZELH6W5C_cjs.useSavedSignature; }
|
|
232
232
|
});
|
|
233
233
|
Object.defineProperty(exports, "useSignSignatureRequest", {
|
|
234
234
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkZELH6W5C_cjs.useSignSignatureRequest; }
|
|
236
236
|
});
|
|
237
237
|
Object.defineProperty(exports, "useSignatureVerification", {
|
|
238
238
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkZELH6W5C_cjs.useSignatureVerification; }
|
|
240
240
|
});
|
|
241
241
|
Object.defineProperty(exports, "useSignerCandidates", {
|
|
242
242
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkZELH6W5C_cjs.useSignerCandidates; }
|
|
244
244
|
});
|
|
245
245
|
Object.defineProperty(exports, "useStoreSavedSignature", {
|
|
246
246
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkZELH6W5C_cjs.useStoreSavedSignature; }
|
|
248
248
|
});
|
|
249
249
|
Object.defineProperty(exports, "useVoidSignatureRequest", {
|
|
250
250
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
251
|
+
get: function () { return chunkZELH6W5C_cjs.useVoidSignatureRequest; }
|
|
252
252
|
});
|
|
253
253
|
Object.defineProperty(exports, "versionsWithMarkup", {
|
|
254
254
|
enumerable: true,
|
|
255
|
-
get: function () { return
|
|
255
|
+
get: function () { return chunkZELH6W5C_cjs.versionsWithMarkup; }
|
|
256
256
|
});
|
|
257
257
|
Object.defineProperty(exports, "DocumentFetchError", {
|
|
258
258
|
enumerable: true,
|
|
259
|
-
get: function () { return
|
|
259
|
+
get: function () { return chunkH2TP7JWR_cjs.DocumentFetchError; }
|
|
260
260
|
});
|
|
261
261
|
Object.defineProperty(exports, "DocumentToolsProvider", {
|
|
262
262
|
enumerable: true,
|
|
263
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkH2TP7JWR_cjs.DocumentToolsProvider; }
|
|
264
264
|
});
|
|
265
265
|
Object.defineProperty(exports, "MarkupDownloadError", {
|
|
266
266
|
enumerable: true,
|
|
267
|
-
get: function () { return
|
|
267
|
+
get: function () { return chunkH2TP7JWR_cjs.MarkupDownloadError; }
|
|
268
268
|
});
|
|
269
269
|
Object.defineProperty(exports, "SIGNED_LOCKED_REASON", {
|
|
270
270
|
enumerable: true,
|
|
271
|
-
get: function () { return
|
|
271
|
+
get: function () { return chunkH2TP7JWR_cjs.SIGNED_LOCKED_REASON; }
|
|
272
272
|
});
|
|
273
273
|
Object.defineProperty(exports, "SigningError", {
|
|
274
274
|
enumerable: true,
|
|
275
|
-
get: function () { return
|
|
275
|
+
get: function () { return chunkH2TP7JWR_cjs.SigningError; }
|
|
276
276
|
});
|
|
277
277
|
Object.defineProperty(exports, "certificateLink", {
|
|
278
278
|
enumerable: true,
|
|
279
|
-
get: function () { return
|
|
279
|
+
get: function () { return chunkH2TP7JWR_cjs.certificateLink; }
|
|
280
280
|
});
|
|
281
281
|
Object.defineProperty(exports, "clientUpload", {
|
|
282
282
|
enumerable: true,
|
|
283
|
-
get: function () { return
|
|
283
|
+
get: function () { return chunkH2TP7JWR_cjs.clientUpload; }
|
|
284
284
|
});
|
|
285
285
|
Object.defineProperty(exports, "contentDispositionFileName", {
|
|
286
286
|
enumerable: true,
|
|
287
|
-
get: function () { return
|
|
287
|
+
get: function () { return chunkH2TP7JWR_cjs.contentDispositionFileName; }
|
|
288
288
|
});
|
|
289
289
|
Object.defineProperty(exports, "createFileShare", {
|
|
290
290
|
enumerable: true,
|
|
291
|
-
get: function () { return
|
|
291
|
+
get: function () { return chunkH2TP7JWR_cjs.createFileShare; }
|
|
292
292
|
});
|
|
293
293
|
Object.defineProperty(exports, "currentHasMarkup", {
|
|
294
294
|
enumerable: true,
|
|
295
|
-
get: function () { return
|
|
295
|
+
get: function () { return chunkH2TP7JWR_cjs.currentHasMarkup; }
|
|
296
296
|
});
|
|
297
297
|
Object.defineProperty(exports, "defaultCertificateUrl", {
|
|
298
298
|
enumerable: true,
|
|
299
|
-
get: function () { return
|
|
299
|
+
get: function () { return chunkH2TP7JWR_cjs.defaultCertificateUrl; }
|
|
300
300
|
});
|
|
301
301
|
Object.defineProperty(exports, "downloadBlob", {
|
|
302
302
|
enumerable: true,
|
|
303
|
-
get: function () { return
|
|
303
|
+
get: function () { return chunkH2TP7JWR_cjs.downloadBlob; }
|
|
304
304
|
});
|
|
305
305
|
Object.defineProperty(exports, "fetchDocumentFile", {
|
|
306
306
|
enumerable: true,
|
|
307
|
-
get: function () { return
|
|
307
|
+
get: function () { return chunkH2TP7JWR_cjs.fetchDocumentFile; }
|
|
308
308
|
});
|
|
309
309
|
Object.defineProperty(exports, "fetchDocumentPdf", {
|
|
310
310
|
enumerable: true,
|
|
311
|
-
get: function () { return
|
|
311
|
+
get: function () { return chunkH2TP7JWR_cjs.fetchDocumentPdf; }
|
|
312
312
|
});
|
|
313
313
|
Object.defineProperty(exports, "fetchDocumentSignatures", {
|
|
314
314
|
enumerable: true,
|
|
315
|
-
get: function () { return
|
|
315
|
+
get: function () { return chunkH2TP7JWR_cjs.fetchDocumentSignatures; }
|
|
316
316
|
});
|
|
317
317
|
Object.defineProperty(exports, "fetchMarkupPdf", {
|
|
318
318
|
enumerable: true,
|
|
319
|
-
get: function () { return
|
|
319
|
+
get: function () { return chunkH2TP7JWR_cjs.fetchMarkupPdf; }
|
|
320
320
|
});
|
|
321
321
|
Object.defineProperty(exports, "fileShareBytes", {
|
|
322
322
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
323
|
+
get: function () { return chunkH2TP7JWR_cjs.fileShareBytes; }
|
|
324
324
|
});
|
|
325
325
|
Object.defineProperty(exports, "fileShareSigningRequest", {
|
|
326
326
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
327
|
+
get: function () { return chunkH2TP7JWR_cjs.fileShareSigningRequest; }
|
|
328
328
|
});
|
|
329
329
|
Object.defineProperty(exports, "getFileShare", {
|
|
330
330
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
331
|
+
get: function () { return chunkH2TP7JWR_cjs.getFileShare; }
|
|
332
332
|
});
|
|
333
333
|
Object.defineProperty(exports, "intentText", {
|
|
334
334
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
335
|
+
get: function () { return chunkH2TP7JWR_cjs.intentText; }
|
|
336
336
|
});
|
|
337
337
|
Object.defineProperty(exports, "isLegibleSignatureBox", {
|
|
338
338
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
339
|
+
get: function () { return chunkH2TP7JWR_cjs.isLegibleSignatureBox; }
|
|
340
340
|
});
|
|
341
341
|
Object.defineProperty(exports, "isSignedVersion", {
|
|
342
342
|
enumerable: true,
|
|
343
|
-
get: function () { return
|
|
343
|
+
get: function () { return chunkH2TP7JWR_cjs.isSignedVersion; }
|
|
344
344
|
});
|
|
345
345
|
Object.defineProperty(exports, "publishFileShare", {
|
|
346
346
|
enumerable: true,
|
|
347
|
-
get: function () { return
|
|
347
|
+
get: function () { return chunkH2TP7JWR_cjs.publishFileShare; }
|
|
348
348
|
});
|
|
349
349
|
Object.defineProperty(exports, "sha256Hex", {
|
|
350
350
|
enumerable: true,
|
|
351
|
-
get: function () { return
|
|
351
|
+
get: function () { return chunkH2TP7JWR_cjs.sha256Hex; }
|
|
352
352
|
});
|
|
353
353
|
Object.defineProperty(exports, "signDocument", {
|
|
354
354
|
enumerable: true,
|
|
355
|
-
get: function () { return
|
|
355
|
+
get: function () { return chunkH2TP7JWR_cjs.signDocument; }
|
|
356
356
|
});
|
|
357
357
|
Object.defineProperty(exports, "signFileShare", {
|
|
358
358
|
enumerable: true,
|
|
359
|
-
get: function () { return
|
|
359
|
+
get: function () { return chunkH2TP7JWR_cjs.signFileShare; }
|
|
360
360
|
});
|
|
361
361
|
Object.defineProperty(exports, "toAppearance", {
|
|
362
362
|
enumerable: true,
|
|
363
|
-
get: function () { return
|
|
363
|
+
get: function () { return chunkH2TP7JWR_cjs.toAppearance; }
|
|
364
364
|
});
|
|
365
365
|
Object.defineProperty(exports, "uploadQueryString", {
|
|
366
366
|
enumerable: true,
|
|
367
|
-
get: function () { return
|
|
367
|
+
get: function () { return chunkH2TP7JWR_cjs.uploadQueryString; }
|
|
368
368
|
});
|
|
369
369
|
Object.defineProperty(exports, "useDocumentSignatures", {
|
|
370
370
|
enumerable: true,
|
|
371
|
-
get: function () { return
|
|
371
|
+
get: function () { return chunkH2TP7JWR_cjs.useDocumentSignatures; }
|
|
372
372
|
});
|
|
373
373
|
Object.defineProperty(exports, "useDocumentTools", {
|
|
374
374
|
enumerable: true,
|
|
375
|
-
get: function () { return
|
|
375
|
+
get: function () { return chunkH2TP7JWR_cjs.useDocumentTools; }
|
|
376
376
|
});
|
|
377
377
|
Object.defineProperty(exports, "useFileShare", {
|
|
378
378
|
enumerable: true,
|
|
379
|
-
get: function () { return
|
|
379
|
+
get: function () { return chunkH2TP7JWR_cjs.useFileShare; }
|
|
380
380
|
});
|
|
381
381
|
Object.defineProperty(exports, "useFileSharePdf", {
|
|
382
382
|
enumerable: true,
|
|
383
|
-
get: function () { return
|
|
383
|
+
get: function () { return chunkH2TP7JWR_cjs.useFileSharePdf; }
|
|
384
384
|
});
|
|
385
385
|
Object.defineProperty(exports, "useFileShares", {
|
|
386
386
|
enumerable: true,
|
|
387
|
-
get: function () { return
|
|
387
|
+
get: function () { return chunkH2TP7JWR_cjs.useFileShares; }
|
|
388
388
|
});
|
|
389
389
|
Object.defineProperty(exports, "useOptionalDocumentTools", {
|
|
390
390
|
enumerable: true,
|
|
391
|
-
get: function () { return
|
|
391
|
+
get: function () { return chunkH2TP7JWR_cjs.useOptionalDocumentTools; }
|
|
392
392
|
});
|
|
393
393
|
Object.defineProperty(exports, "useRefreshFileShares", {
|
|
394
394
|
enumerable: true,
|
|
395
|
-
get: function () { return
|
|
395
|
+
get: function () { return chunkH2TP7JWR_cjs.useRefreshFileShares; }
|
|
396
396
|
});
|
|
397
397
|
Object.defineProperty(exports, "useSignDocument", {
|
|
398
398
|
enumerable: true,
|
|
399
|
-
get: function () { return
|
|
399
|
+
get: function () { return chunkH2TP7JWR_cjs.useSignDocument; }
|
|
400
400
|
});
|
|
401
401
|
Object.defineProperty(exports, "documentBytesKey", {
|
|
402
402
|
enumerable: true,
|