@arbidocs/blocks 0.5.151 → 0.5.153
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/{ConnectedNativeDocxComparison-JLT3VHYQ.cjs → ConnectedNativeDocxComparison-244UIHSM.cjs} +9 -9
- package/dist/{ConnectedStreamedWordArtifact-KWK6HLCZ.cjs.map → ConnectedNativeDocxComparison-244UIHSM.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-SY42ADRU.cjs → ConnectedPresentation-JUXIXKYN.cjs} +9 -8
- package/dist/ConnectedPresentation-JUXIXKYN.cjs.map +1 -0
- package/dist/{ConnectedSlidesTab-JATNBI22.cjs → ConnectedSlidesTab-JA3VB66W.cjs} +8 -7
- package/dist/ConnectedSlidesTab-JA3VB66W.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-KWK6HLCZ.cjs → ConnectedStreamedWordArtifact-V6BRZMEQ.cjs} +9 -9
- package/dist/{ConnectedNativeDocxComparison-JLT3VHYQ.cjs.map → ConnectedStreamedWordArtifact-V6BRZMEQ.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-USFBTVEL.cjs → DocumentReviewCard-5W2QQWKA.cjs} +14 -14
- package/dist/{DocumentReviewCard-USFBTVEL.cjs.map → DocumentReviewCard-5W2QQWKA.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-O4CY7GM3.cjs → FilesViewerDialog-63QUTG4L.cjs} +12 -12
- package/dist/{FilesViewerDialog-O4CY7GM3.cjs.map → FilesViewerDialog-63QUTG4L.cjs.map} +1 -1
- package/dist/{RechartsRenderer-NRLQZSSY.cjs → RechartsRenderer-NU6WUZJS.cjs} +21 -20
- package/dist/RechartsRenderer-NU6WUZJS.cjs.map +1 -0
- package/dist/{SpotlightStrip-QQ2WUI32.cjs → SpotlightStrip-HXQFPAAL.cjs} +6 -5
- package/dist/SpotlightStrip-HXQFPAAL.cjs.map +1 -0
- package/dist/agents/index.cjs +179 -179
- package/dist/{chunk-3XCYPWC5.cjs → chunk-2P7VH2SK.cjs} +3 -3
- package/dist/chunk-2P7VH2SK.cjs.map +1 -0
- package/dist/{chunk-7Q46YAX4.cjs → chunk-3CJTO6RV.cjs} +152 -199
- package/dist/chunk-3CJTO6RV.cjs.map +1 -0
- package/dist/{chunk-PJTKXKDS.cjs → chunk-4I2PCP7O.cjs} +28 -28
- package/dist/{chunk-PJTKXKDS.cjs.map → chunk-4I2PCP7O.cjs.map} +1 -1
- package/dist/{chunk-OGJCEWME.cjs → chunk-4XNP27N4.cjs} +36 -36
- package/dist/{chunk-OGJCEWME.cjs.map → chunk-4XNP27N4.cjs.map} +1 -1
- package/dist/{chunk-2SILSQNF.cjs → chunk-4ZR4O5SP.cjs} +26 -8
- package/dist/chunk-4ZR4O5SP.cjs.map +1 -0
- package/dist/{chunk-ILATBO5Z.cjs → chunk-6ZZWQ3OL.cjs} +4 -4
- package/dist/{chunk-ILATBO5Z.cjs.map → chunk-6ZZWQ3OL.cjs.map} +1 -1
- package/dist/{chunk-VH4QXK5W.cjs → chunk-AG6KAGAX.cjs} +4 -4
- package/dist/{chunk-VH4QXK5W.cjs.map → chunk-AG6KAGAX.cjs.map} +1 -1
- package/dist/{chunk-MFZW4FEW.cjs → chunk-B5BGVPQ5.cjs} +4 -4
- package/dist/{chunk-MFZW4FEW.cjs.map → chunk-B5BGVPQ5.cjs.map} +1 -1
- package/dist/{chunk-PJ6J4EMZ.cjs → chunk-CULUTYOD.cjs} +4 -4
- package/dist/{chunk-PJ6J4EMZ.cjs.map → chunk-CULUTYOD.cjs.map} +1 -1
- package/dist/{chunk-H7AI54V2.cjs → chunk-CVVQHFLR.cjs} +3 -3
- package/dist/{chunk-H7AI54V2.cjs.map → chunk-CVVQHFLR.cjs.map} +1 -1
- package/dist/{chunk-R3C3S6EH.cjs → chunk-D5DOK2AE.cjs} +58 -58
- package/dist/{chunk-R3C3S6EH.cjs.map → chunk-D5DOK2AE.cjs.map} +1 -1
- package/dist/{chunk-MH7P5FEK.cjs → chunk-FCT62ZPE.cjs} +4 -4
- package/dist/{chunk-MH7P5FEK.cjs.map → chunk-FCT62ZPE.cjs.map} +1 -1
- package/dist/{chunk-QX2LAMVE.cjs → chunk-IXTDOPSB.cjs} +4 -4
- package/dist/{chunk-QX2LAMVE.cjs.map → chunk-IXTDOPSB.cjs.map} +1 -1
- package/dist/{chunk-AKR4JN6I.cjs → chunk-JCFXS336.cjs} +3 -3
- package/dist/{chunk-AKR4JN6I.cjs.map → chunk-JCFXS336.cjs.map} +1 -1
- package/dist/{chunk-N4TOSY7B.cjs → chunk-JLNKD56X.cjs} +4 -4
- package/dist/{chunk-N4TOSY7B.cjs.map → chunk-JLNKD56X.cjs.map} +1 -1
- package/dist/{chunk-DNTSR7UV.cjs → chunk-LYKT336H.cjs} +5 -5
- package/dist/{chunk-DNTSR7UV.cjs.map → chunk-LYKT336H.cjs.map} +1 -1
- package/dist/{chunk-MGGDT6JK.cjs → chunk-MAKCWF45.cjs} +4 -4
- package/dist/{chunk-MGGDT6JK.cjs.map → chunk-MAKCWF45.cjs.map} +1 -1
- package/dist/{chunk-DGUQK5GA.cjs → chunk-TFRCNIUY.cjs} +6 -6
- package/dist/{chunk-DGUQK5GA.cjs.map → chunk-TFRCNIUY.cjs.map} +1 -1
- package/dist/chunk-UM3EWCDE.cjs +105 -0
- package/dist/chunk-UM3EWCDE.cjs.map +1 -0
- package/dist/{chunk-WPUEGDBE.cjs → chunk-WUM76MJU.cjs} +6 -6
- package/dist/{chunk-WPUEGDBE.cjs.map → chunk-WUM76MJU.cjs.map} +1 -1
- package/dist/{chunk-6WWYH66F.cjs → chunk-Z3N32LL4.cjs} +8 -8
- package/dist/{chunk-6WWYH66F.cjs.map → chunk-Z3N32LL4.cjs.map} +1 -1
- package/dist/{chunk-JMBAUHI7.cjs → chunk-ZCQXQIBA.cjs} +28 -28
- package/dist/{chunk-JMBAUHI7.cjs.map → chunk-ZCQXQIBA.cjs.map} +1 -1
- package/dist/components/MetricCard.js +1 -1
- package/dist/components/MetricCard.js.map +2 -2
- package/dist/components/gestures/GestureHandle.d.ts +21 -0
- package/dist/components/gestures/GestureHandle.js +44 -0
- package/dist/components/gestures/GestureHandle.js.map +7 -0
- package/dist/components/gestures/handles.d.ts +43 -0
- package/dist/components/gestures/handles.js +18 -0
- package/dist/components/gestures/handles.js.map +7 -0
- package/dist/components/gestures/index.d.ts +3 -0
- package/dist/components/gestures/index.js +5 -0
- package/dist/components/gestures/index.js.map +7 -0
- package/dist/components/gestures/usePointerGesture.d.ts +51 -0
- package/dist/components/gestures/usePointerGesture.js +61 -0
- package/dist/components/gestures/usePointerGesture.js.map +7 -0
- package/dist/connect/docx.cjs +12 -12
- package/dist/connect/index.cjs +651 -628
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +10 -10
- package/dist/connection/dashboards/DashboardPanel.js +6 -1
- package/dist/connection/dashboards/DashboardPanel.js.map +2 -2
- package/dist/connection/pages/BlockEditor.d.ts +0 -5
- package/dist/connection/pages/BlockEditor.js +3 -65
- package/dist/connection/pages/BlockEditor.js.map +2 -2
- package/dist/connection/pages/ConnectedPagesPage.d.ts +4 -1
- package/dist/connection/pages/ConnectedPagesPage.js +52 -71
- package/dist/connection/pages/ConnectedPagesPage.js.map +2 -2
- package/dist/connection/pages/DocumentBlocks.js +3 -3
- package/dist/connection/pages/DocumentBlocks.js.map +2 -2
- package/dist/connection/pages/DocumentsPicker.js +1 -1
- package/dist/connection/pages/DocumentsPicker.js.map +2 -2
- package/dist/connection/pages/EditablePageGrid.d.ts +31 -0
- package/dist/connection/pages/EditablePageGrid.js +200 -0
- package/dist/connection/pages/EditablePageGrid.js.map +7 -0
- package/dist/connection/pages/PageGrid.d.ts +7 -4
- package/dist/connection/pages/PageGrid.js +9 -3
- package/dist/connection/pages/PageGrid.js.map +2 -2
- package/dist/connection/pages/TableViewBlock.d.ts +5 -4
- package/dist/connection/pages/TableViewBlock.js +20 -20
- package/dist/connection/pages/TableViewBlock.js.map +2 -2
- package/dist/connection/pages/grid-layout.d.ts +38 -0
- package/dist/connection/pages/grid-layout.js +98 -0
- package/dist/connection/pages/grid-layout.js.map +7 -0
- package/dist/connection/pages/index.d.ts +2 -0
- package/dist/connection/pages/index.js +19 -1
- package/dist/connection/pages/index.js.map +2 -2
- package/dist/connection/pages/labels.d.ts +0 -2
- package/dist/connection/pages/labels.js +0 -2
- package/dist/connection/pages/labels.js.map +2 -2
- package/dist/connection/shell/experimentalNav.d.ts +8 -0
- package/dist/connection/shell/experimentalNav.js +23 -0
- package/dist/connection/shell/experimentalNav.js.map +7 -0
- package/dist/connection/storage/ConnectedStorageProjectCard.js +1 -1
- package/dist/connection/storage/ConnectedStorageProjectCard.js.map +2 -2
- package/dist/connection/storage/ConnectedWorkspaceTrash.d.ts +3 -0
- package/dist/connection/storage/ConnectedWorkspaceTrash.js +41 -17
- package/dist/connection/storage/ConnectedWorkspaceTrash.js.map +2 -2
- package/dist/dashboards/ChartRenderer.d.ts +6 -0
- package/dist/dashboards/ChartRenderer.js +7 -2
- package/dist/dashboards/ChartRenderer.js.map +2 -2
- package/dist/dashboards/PanelView.d.ts +2 -0
- package/dist/dashboards/PanelView.js +12 -2
- package/dist/dashboards/PanelView.js.map +2 -2
- package/dist/dashboards/RechartsRenderer.js +19 -18
- package/dist/dashboards/RechartsRenderer.js.map +2 -2
- package/dist/dashboards/index.cjs +16 -16
- package/dist/embed/index.cjs +13 -13
- package/dist/facts/index.cjs +1 -1
- package/dist/files/index.cjs +226 -226
- package/dist/index.cjs +338 -320
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +2 -2
- package/dist/pages/index.cjs +404 -199
- package/dist/pages/index.cjs.map +1 -1
- package/dist/presentation/StageBox.js +63 -86
- package/dist/presentation/StageBox.js.map +2 -2
- package/dist/presentation/StageItem.js +86 -117
- package/dist/presentation/StageItem.js.map +2 -2
- package/dist/site/index.cjs +5 -5
- package/dist/studio/index.cjs +13 -13
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +25 -25
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedPresentation-SY42ADRU.cjs.map +0 -1
- package/dist/ConnectedSlidesTab-JATNBI22.cjs.map +0 -1
- package/dist/RechartsRenderer-NRLQZSSY.cjs.map +0 -1
- package/dist/SpotlightStrip-QQ2WUI32.cjs.map +0 -1
- package/dist/chunk-2SILSQNF.cjs.map +0 -1
- package/dist/chunk-3XCYPWC5.cjs.map +0 -1
- package/dist/chunk-7Q46YAX4.cjs.map +0 -1
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/OpenConversationButton.tsx","../src/nav/actions.ts","../src/nav/manifest.ts"],"names":["hrefFor","useBlocksEnvironment","jsxs","ActionLink","cn","buttonVariants","jsx","MessagesSquare","createElement"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/components/OpenConversationButton.tsx","../src/nav/actions.ts","../src/nav/manifest.ts","../src/connection/shell/experimentalNav.ts"],"names":["hrefFor","useBlocksEnvironment","jsxs","ActionLink","cn","buttonVariants","jsx","MessagesSquare","createElement","Workflow","ChartColumn","useFeatureCheck"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBO,SAAS,sBAAA,CAAuB;AAAA,EACrC,cAAA;AAAA,EACA,WAAA;AAAA,EACA,SAAA;AAAA,EACA,KAAA,GAAQ,gBAAA;AAAA,EACR,SAAA;AAAA,EACA;AACF,CAAA,EAAgC;AAC9B,EAAA,MAAM,EAAE,OAAA,EAAAA,QAAAA,EAAS,gBAAA,KAAqBC,sCAAA,EAAqB;AAC3D,EAAA,IAAI,CAAC,gBAAgB,OAAO,IAAA;AAC5B,EA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AEb;AAMO,SAAS,uBAAA,GAAwC;AACtD,EAAA,MAAM,OAAOC,uBAAA,EAAgB;AAC7B,EAAA,OAAO,sBAAA,CAAuB,MAAA,CAAO,CAAC,IAAA,KAAS,CAAC,KAAK,OAAA,IAAW,IAAA,CAAK,IAAA,CAAK,OAAO,CAAC,CAAA;AACpF","file":"index.cjs","sourcesContent":["import { MessagesSquare } from 'lucide-react'\nimport { buttonVariants, cn } from '@arbidocs/react/ui'\nimport { useBlocksEnvironment } from '../provider/environment'\nimport { ActionLink } from './ActionLink'\n\nexport interface OpenConversationButtonProps {\n /** The conversation behind an AI result; none: nothing is rendered. */\n conversationId: string | null | undefined\n /** The workspace it is in, for its link. */\n workspaceId?: string | null\n /** A message to scroll to. */\n messageId?: string\n /** Default \"Open in thread\". */\n label?: string\n className?: string\n testId?: string\n}\n\n/**\n * \"Open in thread\": the full conversation behind an AI result (a brief, a translation, a draft),\n * to check its sources and follow up. A real link where the host gives one (`hrefFor`), opened with\n * `openConversation`.\n */\nexport function OpenConversationButton({\n conversationId,\n workspaceId,\n messageId,\n label = 'Open in thread',\n className,\n testId,\n}: OpenConversationButtonProps) {\n const { hrefFor, openConversation } = useBlocksEnvironment()\n if (!conversationId) return null\n return (\n <ActionLink\n href={hrefFor({ kind: 'conversation', conversationId, workspaceId, messageId })}\n onSelect={() =>\n openConversation(conversationId, {\n ...(messageId && { messageId }),\n ...(workspaceId && { workspaceId }),\n })\n }\n className={cn(buttonVariants({ variant: 'outline', size: 'sm' }), className)}\n data-testid={testId}\n >\n <MessagesSquare className=\"size-3.5\" aria-hidden />\n {label}\n </ActionLink>\n )\n}\n","import type { ArbiFeature } from '@arbidocs/react'\n\n/** Who is asking, for an action's `available` (the same gates the primary UI applies). */\nexport interface ActionContext {\n /** The open workspace; `null` outside one. */\n workspaceId: string | null\n /** The viewer is a member of the open workspace. */\n isMember: boolean\n /** The viewer's role there (`owner`, `collaborator`, `guest`); `null` when not a member. */\n role: string | null\n /** A temporary-access (external) account. */\n isTemporaryAccess: boolean\n /** Whether the account may create projects; `undefined` until known. */\n canCreateProjects: boolean | undefined\n /** Whether the account may create workspaces (in projects it owns); `undefined` until known. */\n canCreateWorkspaces?: boolean | undefined\n isFeatureOn: (feature: ArbiFeature) => boolean\n}\n\n/** A parameter-light action, supplied by a host and usable outside React. */\nexport interface ActionDefinition<Id extends string = string> {\n id: Id\n label: string\n category: string\n /**\n * An icon name, so the catalogue stays independent of a renderer. The palette draws the lucide\n * icons its catalogue names (`connection/command/icons.ts`); any other name, a generic glyph.\n */\n icon: string\n keywords?: readonly string[]\n /** Offered (in the command palette) only when it says so. Dispatch is not gated. */\n available?: (context: ActionContext) => boolean\n /** `false`: dispatch only, never listed (a second name for another row's effect). */\n listed?: boolean\n run: () => void\n}\n\n/** One catalogue for picker options, tip CTAs, palettes and validated remote dispatch. */\nexport function defineActions<Id extends string, Action extends ActionDefinition<Id>>(\n actions: Partial<Record<Id, Action>>,\n options: { scopedIds?: readonly Id[]; onUnknown?: (id: Id) => void } = {}\n) {\n const scoped = new Set<string>(options.scopedIds)\n return {\n actions,\n options: (Object.values(actions) as Action[]).map(({ id, label, category }) => ({\n value: id,\n label,\n category,\n })),\n isActionId(value: string): value is Id {\n return scoped.has(value) || Object.prototype.hasOwnProperty.call(actions, value)\n },\n run(id: Id): void {\n const action = Object.prototype.hasOwnProperty.call(actions, id) ? actions[id] : undefined\n if (action) action.run()\n else options.onUnknown?.(id)\n },\n }\n}\n","import { createElement } from 'react'\nimport type { AppNavItem, AppNavSection } from './types'\nimport type { NavItem } from '../shell/types'\n\n/**\n * A host's destinations, once: the items are also the command palette's nav contract. Resolve\n * their state and handlers for ShellSidebar or MobileTabBar without copying the catalogue.\n */\nexport function defineNavigation(sections: readonly AppNavSection[]) {\n const items = sections.flatMap((section) => section.items)\n return {\n sections,\n items,\n resolve(options: {\n beforeNavigate?: () => void\n onNavigate: (item: AppNavItem) => void\n itemProps?: (item: AppNavItem) => Partial<Omit<NavItem, 'id' | 'label' | 'onSelect'>>\n }): NavItem[] {\n return items.map((item) => ({\n id: item.id,\n label: item.label,\n icon: createElement(item.icon, { className: 'size-5' }),\n ...options.itemProps?.(item),\n onSelect: () => {\n options.beforeNavigate?.()\n options.onNavigate(item)\n },\n }))\n },\n }\n}\n","import { ChartColumn, Workflow } from 'lucide-react'\nimport { useFeatureCheck } from '@arbidocs/react'\nimport type { AppNavItem } from '../../nav/types'\n\n/** The experimental destinations, in sidebar order; each names its Settings → Experimental switch. */\nexport const EXPERIMENTAL_NAV_ITEMS: readonly AppNavItem[] = [\n { id: 'workflows', to: 'workflows', label: 'Workflows', icon: Workflow, feature: 'workflows' },\n {\n id: 'pages',\n to: 'analytics',\n label: 'Pages',\n icon: ChartColumn,\n keywords: 'pages dashboards analytics charts metrics',\n feature: 'dashboards',\n },\n]\n\n/**\n * The experimental destinations that are switched on (Workflows, Pages), for a host's sidebar:\n * a row appears only while its Settings → Experimental switch is on.\n */\nexport function useExperimentalNavItems(): AppNavItem[] {\n const isOn = useFeatureCheck()\n return EXPERIMENTAL_NAV_ITEMS.filter((item) => !item.feature || isOn(item.feature))\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -98,5 +98,6 @@ export { TestimonialGrid, type TestimonialGridProps, type TestimonialItem, } fro
|
|
|
98
98
|
export { type AppNavItem, type AppNavSection } from './nav/types';
|
|
99
99
|
export { defineActions, type ActionDefinition } from './nav/actions';
|
|
100
100
|
export { defineNavigation } from './nav/manifest';
|
|
101
|
+
export { EXPERIMENTAL_NAV_ITEMS, useExperimentalNavItems } from './connection/shell/experimentalNav';
|
|
101
102
|
export { FilterInput, DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, type FilterField, type FilterInputProps, type FilterInputLabels, type FilterInputTestIds, } from './shell/FilterInput';
|
|
102
103
|
export { calendarGridChunk, docxEditorChunk, gridChunk, KIT_CHUNK_LOADERS, prefetchViewerChunks, preloadKitChunks, } from './lazy-chunks';
|
package/dist/index.js
CHANGED
|
@@ -207,6 +207,7 @@ import {
|
|
|
207
207
|
} from "./components/TestimonialGrid.js";
|
|
208
208
|
import { defineActions } from "./nav/actions.js";
|
|
209
209
|
import { defineNavigation } from "./nav/manifest.js";
|
|
210
|
+
import { EXPERIMENTAL_NAV_ITEMS, useExperimentalNavItems } from "./connection/shell/experimentalNav.js";
|
|
210
211
|
import {
|
|
211
212
|
FilterInput,
|
|
212
213
|
DEFAULT_FILTER_FIELDS,
|
|
@@ -256,6 +257,7 @@ export {
|
|
|
256
257
|
DetailPanel,
|
|
257
258
|
DetailSection,
|
|
258
259
|
DroppableContainer,
|
|
260
|
+
EXPERIMENTAL_NAV_ITEMS,
|
|
259
261
|
EmptyState,
|
|
260
262
|
EntityChip,
|
|
261
263
|
EntityIdentityBar,
|
|
@@ -382,6 +384,7 @@ export {
|
|
|
382
384
|
useBlocksDialogs,
|
|
383
385
|
useBlocksEnvironment,
|
|
384
386
|
useDialogProps,
|
|
387
|
+
useExperimentalNavItems,
|
|
385
388
|
useHost,
|
|
386
389
|
useRequestedSettingsSection,
|
|
387
390
|
utcDay
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * @arbidocs/blocks \u2014 composable AI-native back-office blocks layered on top of\n * @arbidocs/react. A host app supplies a config (identity, nav, theme, ARBI wiring) and\n * composes capability areas (retrieval, facts, agents, workspaces, citations, collaboration),\n * the theme system, the connection layer and primitives instead of forking them.\n */\n\n// \u2500\u2500 Theme system \u2014 one token model, store factory and editor for every host \u2500\u2500\nexport {\n applyThemeVars,\n clearThemeVars,\n applyFontVars,\n clearFontVars,\n toHslTriplet,\n themeCssVars,\n themeMetaVars,\n THEME_STYLE_ID,\n type ColorToken,\n type ThemeFonts,\n type ThemeTokens,\n type ThemePreset,\n type ThemeEmitMode,\n type ApplyThemeOptions,\n} from './theme/tokens'\nexport {\n createThemeStore,\n applyStoredTheme,\n type ThemeState,\n type ThemeStoreConfig,\n type ThemeBundle,\n} from './theme/store'\nexport { ThemeEditor, type ThemeEditorProps } from './theme/ThemeEditor'\nexport { ThemePreview, type ThemePreviewProps } from './theme/ThemePreview'\nexport { DEFAULT_THEME_PREVIEW_LABELS, type ThemePreviewLabels } from './theme/previewLabels'\nexport {\n deriveColors,\n inferInputs,\n contrastIssues,\n CONTRAST_PAIRS,\n type ThemeInputs,\n type ThemeInputKey,\n type ColorScheme,\n type ContrastPair,\n type ContrastIssue,\n} from './theme/derive'\nexport { contrastRatio, ensureContrast } from './theme/color'\nexport {\n createAppearanceStore,\n type AppearanceBundle,\n type AppearanceDefaults,\n type AppearanceState,\n type AppearanceStoreConfig,\n} from './theme/appearance'\nexport { themeFromCss, type ThemeFromCss, type ThemeFromCssOptions } from './theme/fromCss'\nexport {\n FONT_PAIRINGS,\n getFontPairing,\n matchFontPairing,\n fontPackages,\n type FontPairing,\n} from './theme/fontPairings'\n\n// \u2500\u2500 Contextual tips engine (the tips are the site's content) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport * from './tips'\n\n// \u2500\u2500 Guided runs (\"Show me\", remote control): the cursor, the runner, the registry \u2500\u2500\nexport * from './guided'\n\n// \u2500\u2500 Formatting + testid helpers \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { tid } from './lib/testid'\nexport {\n formatCurrency,\n initials,\n fmtDate,\n fmtDateTime,\n daysUntil,\n hrs,\n pct,\n formatCount,\n pluralize,\n displayName,\n type CountForms,\n type DisplayNameUser,\n} from './lib/format'\n\n// \u2500\u2500 ARBI deep links \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n buildDeepLinkPath,\n buildDeepLinkUrl,\n parseDeepLinkPath,\n type DeepLinkParams,\n} from './lib/deep-link'\n// The route codec: every address of the app as a typed route, from one route table.\nexport {\n ARBI_ROUTES,\n createRouteCodec,\n hrefFor,\n isDeepLinkPath,\n parseHref,\n pathRoute,\n readArrivalParams,\n renamedPage,\n type AnyRouteDefinition,\n type ArrivalParams,\n type ArbiRoute,\n type ArbiRouteKind,\n type RouteCodec,\n type RouteDefinition,\n} from './lib/routes'\n\n// \u2500\u2500 Generic UI primitives \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n DataTable,\n type Column,\n type DataTableProps,\n type DataTableSort,\n type DataTableTestIds,\n} from './components/DataTable'\nexport {\n DataTableBlock,\n type DataTableBlockProps,\n type DataTableBlockColumn,\n} from './components/DataTableBlock'\nexport { EmptyState } from './components/EmptyState'\nexport {\n ErrorBoundary,\n DEFAULT_ERROR_BOUNDARY_LABELS,\n type ErrorBoundaryLabels,\n type ErrorBoundaryProps,\n type ErrorBoundaryFallbackProps,\n} from './components/ErrorBoundary'\nexport { LoadingIndicator, type LoadingIndicatorProps } from './components/LoadingIndicator'\nexport { DroppableContainer, type DroppableContainerProps } from './components/DroppableContainer'\nexport {\n RowNavigatorControls,\n type RowNavigatorControlsProps,\n} from './components/RowNavigatorControls'\nexport { GridRowNavigator, type GridRowNavigatorProps } from './components/GridRowNavigator'\nexport { SharedCell, type SharedCellProps, type SharedItem } from './components/SharedCell'\nexport {\n UsageMeter,\n usageMeterState,\n type UsageMeterAllowance,\n type UsageMeterState,\n} from './components/UsageMeter'\n\n// \u2500\u2500 Timeline views \u2014 calendar, Gantt, and the toggle between them \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n Timeline,\n TimelineCalendar,\n TimelineGantt,\n TimelineZoomControl,\n TIMELINE_ZOOM,\n formatSpan,\n parseIso,\n utcDay,\n dayKey,\n monthLabel,\n type TimelineItem,\n type TimelineProps,\n type TimelineViewMode,\n type TimelineCalendarProps,\n type TimelineGanttProps,\n type TimelineZoomControlProps,\n} from './timeline'\nexport { PageHeader, type PageHeaderProps } from './components/PageHeader'\nexport { SectionHeading } from './components/SectionHeading'\nexport {\n DetailPanel,\n DetailBody,\n DetailEmpty,\n DetailField,\n DetailFields,\n DetailLinkItem,\n DetailLinkList,\n DetailLoading,\n DetailSection,\n DEFAULT_DETAIL_PANEL_LABELS,\n type DetailPanelProps,\n type DetailPanelLabels,\n type DetailSectionProps,\n type DetailFieldProps,\n type DetailLinkItemProps,\n} from './components/DetailPanel'\nexport {\n CollectionDetail,\n type CollectionDetailProps,\n type CollectionDetailContext,\n} from './components/CollectionDetail'\nexport { ToneBadge, type Tone, type ToneBadgeProps } from './components/ToneBadge'\nexport { TONES, isTone } from './components/tones'\nexport { Chart, type ChartProps, type ChartSeries } from './components/Chart'\nexport { Toolbar } from './components/Toolbar'\nexport {\n EntityIdentityBar,\n IDENTITY_NAME_MAX_LENGTH,\n type EntityIdentityBarProps,\n type EntityIdentityField,\n} from './components/EntityIdentityBar'\nexport {\n MemberAvatarStack,\n type MemberAvatarStackProps,\n type StackedMember,\n} from './components/MemberAvatarStack'\nexport { MetricCard, type MetricCardProps } from './components/MetricCard'\nexport {\n EntityTooltip,\n EntityTooltipHeader,\n EntityTooltipStats,\n EntityTooltipSection,\n EntityTooltipHint,\n type EntityTooltipHeaderProps,\n type EntityTooltipStat,\n} from './components/EntityTooltip'\nexport { EntityChip, type EntityChipProps } from './components/EntityChip'\nexport { AskBar, type AskBarProps } from './components/AskBar'\nexport { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from '@arbidocs/react/ui'\n// `Shell.Root` already mounts TooltipProvider for the whole back office; these are\n// re-exported for apps that render tooltips outside the shell (marketing pages,\n// standalone surfaces).\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@arbidocs/react/ui'\n// The document tile is defined in @arbidocs/react (blocks depends on react, never the reverse),\n// but it is a general component card, so it is part of the blocks surface too.\n\n// \u2500\u2500 App-level UI areas (clean, view-model driven; see docs/design) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// Areas that need a heavy library are NOT re-exported here, so importing the root never loads\n// them: `/files`, `/facts` and `/databases` (AG Grid), `/home` and `/workspaces` (dnd-kit), `/settings` (cmdk),\n// `/connect` (React Query), `/studio` (Puck, router). Import those from their subpath.\nexport * from './chat'\nexport * from './shell'\nexport * from './auth'\nexport * from './retrieval'\nexport * from './agents'\nexport * from './citations'\nexport * from './collaboration'\nexport * from './activity'\nexport * from './tags'\n\n// \u2500\u2500 The host configuration (one `<ArbiHost config>`) and its environment \u2500\u2500\u2500\u2500\u2500\nexport { ArbiHost, useHost, type ArbiHostConfig } from './provider/host'\nexport type { WorkflowsHost, WorkflowCatalogueEntry } from './connection/workflows/support'\nexport {\n createBlocksEnvironment,\n useBlocksDialogs,\n useBlocksEnvironment,\n type BlocksEnvironment,\n type BlocksRuntimeConfig,\n type LinkTarget,\n type OpenCalendarOptions,\n type OpenConversationOptions,\n type OpenDocumentOptions,\n type OpenFilesOptions,\n type OpenMailOptions,\n type OpenNewConversationOptions,\n type OpenWordEditorOptions,\n type OpenWorkflowOptions,\n type ShareRequest,\n type UploadSource,\n} from './provider/environment'\nexport {\n requestSettingsSection,\n useRequestedSettingsSection,\n type SettingsSectionRequest,\n} from './provider/settings-section'\nexport {\n closeAllDialogs,\n closeDialog,\n getDialog,\n openDialog,\n useDialogProps,\n type BlocksDialogKind,\n type BlocksDialogProps,\n type CreateWorkspaceDialogProps,\n type UploadDialogProps,\n} from './provider/dialog-registry'\nexport {\n type ConfirmRequest,\n type ConfirmKind,\n type ChoiceRequest,\n type PromptChoice,\n} from './provider/dialogs'\nexport { BlocksTooltipProvider } from './provider/TooltipScope'\n\n// \u2500\u2500 Website building blocks (marketing / media / navigation / layout) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { BlockImage, type BlockImageProps } from './components/BlockImage'\nexport { Hero, type HeroProps, type HeroCta } from './components/Hero'\nexport {\n BlockLink,\n type BlockLinkProps,\n type BlockLinkComponent,\n type BlockLinkRenderProps,\n} from './components/blockLink'\nexport { ActionLink, type ActionLinkProps } from './components/ActionLink'\nexport {\n OpenConversationButton,\n type OpenConversationButtonProps,\n} from './components/OpenConversationButton'\nexport { FeatureGrid, type FeatureGridProps, type FeatureItem } from './components/FeatureGrid'\nexport { StatGroup, type StatGroupProps, type StatItem } from './components/StatGroup'\nexport { Testimonial, type TestimonialProps } from './components/Testimonial'\nexport { CTABanner, type CTABannerProps } from './components/CTABanner'\nexport { LogoCloud, type LogoCloudProps, type LogoItem } from './components/LogoCloud'\nexport { FAQ, type FAQProps, type FaqItem } from './components/FAQ'\nexport { RichTextBlock, type RichTextBlockProps } from './components/RichTextBlock'\nexport { Callout, type CalloutProps, type CalloutVariant } from './components/Callout'\nexport { AvatarBlock, type AvatarBlockProps } from './components/AvatarBlock'\nexport { Navbar, type NavbarProps, type NavLink } from './components/Navbar'\nexport { Footer, type FooterProps, type FooterColumn, type FooterLink } from './components/Footer'\nexport { ListBlock, type ListBlockProps, type ListItem } from './components/ListBlock'\nexport { Columns, type ColumnsProps } from './components/Columns'\nexport { Spacer, type SpacerProps } from './components/Spacer'\nexport { Container, type ContainerProps } from './components/Container'\nexport { PricingTable, type PricingTableProps, type PricingPlan } from './components/PricingTable'\nexport { Tabs, type TabsProps, type TabItem } from './components/Tabs'\nexport { Accordion, type AccordionProps, type AccordionItem } from './components/Accordion'\nexport { Gallery, type GalleryProps, type GalleryImage } from './components/Gallery'\nexport {\n VideoEmbed,\n toEmbedUrl,\n type VideoEmbedProps,\n type VideoAspect,\n} from './components/VideoEmbed'\nexport { ContactForm, type ContactFormProps, type ContactField } from './components/ContactForm'\nexport { Banner, type BannerProps, type BannerTone } from './components/Banner'\nexport { MediaText, type MediaTextProps } from './components/MediaText'\nexport { TeamGrid, type TeamGridProps, type TeamMember } from './components/TeamGrid'\nexport * from './components/editorial'\nexport { Steps, type StepsProps, type StepItem } from './components/Steps'\nexport {\n TestimonialGrid,\n type TestimonialGridProps,\n type TestimonialItem,\n} from './components/TestimonialGrid'\n\n// \u2500\u2500 Navigation contracts \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { type AppNavItem, type AppNavSection } from './nav/types'\nexport { defineActions, type ActionDefinition } from './nav/actions'\nexport { defineNavigation } from './nav/manifest'\n\nexport {\n FilterInput,\n DEFAULT_FILTER_FIELDS,\n DEFAULT_FILTER_INPUT_LABELS,\n type FilterField,\n type FilterInputProps,\n type FilterInputLabels,\n type FilterInputTestIds,\n} from './shell/FilterInput'\n\n// Heavy components in their own chunks (grid, calendar, Word editor, PDF viewer).\nexport {\n calendarGridChunk,\n docxEditorChunk,\n gridChunk,\n KIT_CHUNK_LOADERS,\n prefetchViewerChunks,\n preloadKitChunks,\n} from './lazy-chunks'\n"],
|
|
5
|
-
"mappings": ";AAQA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,mBAA0C;AACnD,SAAS,oBAA4C;AACrD,SAAS,oCAA6D;AACtE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AACP,SAAS,eAAe,sBAAsB;AAC9C;AAAA,EACE;AAAA,OAKK;AACP,SAAS,oBAAiE;AAC1E;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAGP,cAAc;AAGd,cAAc;AAGd,SAAS,WAAW;AACpB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAGP;AAAA,EACE;AAAA,OAKK;AACP;AAAA,EACE;AAAA,OAGK;AACP,SAAS,kBAAkB;AAC3B;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,wBAAoD;AAC7D,SAAS,0BAAwD;AACjE;AAAA,EACE;AAAA,OAEK;AACP,SAAS,wBAAoD;AAC7D,SAAS,kBAAyD;AAClE;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA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AC7E,SAAS,iBAAqD;AAC9D,SAAS,eAAkC;AAC3C,SAAS,cAAgC;AACzC,SAAS,iBAAsC;AAC/C,SAAS,oBAA8D;AACvE,SAAS,YAA0C;AACnD,SAAS,iBAA0D;AACnE,SAAS,eAAqD;AAC9D;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,mBAA6D;AACtE,SAAS,cAAiD;AAC1D,SAAS,iBAAsC;AAC/C,SAAS,gBAAqD;AAC9D,cAAc;AACd,SAAS,aAA6C;AACtD;AAAA,EACE;AAAA,OAGK;AAIP,SAAS,qBAA4C;AACrD,SAAS,wBAAwB;
|
|
4
|
+
"sourcesContent": ["/**\n * @arbidocs/blocks \u2014 composable AI-native back-office blocks layered on top of\n * @arbidocs/react. A host app supplies a config (identity, nav, theme, ARBI wiring) and\n * composes capability areas (retrieval, facts, agents, workspaces, citations, collaboration),\n * the theme system, the connection layer and primitives instead of forking them.\n */\n\n// \u2500\u2500 Theme system \u2014 one token model, store factory and editor for every host \u2500\u2500\nexport {\n applyThemeVars,\n clearThemeVars,\n applyFontVars,\n clearFontVars,\n toHslTriplet,\n themeCssVars,\n themeMetaVars,\n THEME_STYLE_ID,\n type ColorToken,\n type ThemeFonts,\n type ThemeTokens,\n type ThemePreset,\n type ThemeEmitMode,\n type ApplyThemeOptions,\n} from './theme/tokens'\nexport {\n createThemeStore,\n applyStoredTheme,\n type ThemeState,\n type ThemeStoreConfig,\n type ThemeBundle,\n} from './theme/store'\nexport { ThemeEditor, type ThemeEditorProps } from './theme/ThemeEditor'\nexport { ThemePreview, type ThemePreviewProps } from './theme/ThemePreview'\nexport { DEFAULT_THEME_PREVIEW_LABELS, type ThemePreviewLabels } from './theme/previewLabels'\nexport {\n deriveColors,\n inferInputs,\n contrastIssues,\n CONTRAST_PAIRS,\n type ThemeInputs,\n type ThemeInputKey,\n type ColorScheme,\n type ContrastPair,\n type ContrastIssue,\n} from './theme/derive'\nexport { contrastRatio, ensureContrast } from './theme/color'\nexport {\n createAppearanceStore,\n type AppearanceBundle,\n type AppearanceDefaults,\n type AppearanceState,\n type AppearanceStoreConfig,\n} from './theme/appearance'\nexport { themeFromCss, type ThemeFromCss, type ThemeFromCssOptions } from './theme/fromCss'\nexport {\n FONT_PAIRINGS,\n getFontPairing,\n matchFontPairing,\n fontPackages,\n type FontPairing,\n} from './theme/fontPairings'\n\n// \u2500\u2500 Contextual tips engine (the tips are the site's content) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport * from './tips'\n\n// \u2500\u2500 Guided runs (\"Show me\", remote control): the cursor, the runner, the registry \u2500\u2500\nexport * from './guided'\n\n// \u2500\u2500 Formatting + testid helpers \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { tid } from './lib/testid'\nexport {\n formatCurrency,\n initials,\n fmtDate,\n fmtDateTime,\n daysUntil,\n hrs,\n pct,\n formatCount,\n pluralize,\n displayName,\n type CountForms,\n type DisplayNameUser,\n} from './lib/format'\n\n// \u2500\u2500 ARBI deep links \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n buildDeepLinkPath,\n buildDeepLinkUrl,\n parseDeepLinkPath,\n type DeepLinkParams,\n} from './lib/deep-link'\n// The route codec: every address of the app as a typed route, from one route table.\nexport {\n ARBI_ROUTES,\n createRouteCodec,\n hrefFor,\n isDeepLinkPath,\n parseHref,\n pathRoute,\n readArrivalParams,\n renamedPage,\n type AnyRouteDefinition,\n type ArrivalParams,\n type ArbiRoute,\n type ArbiRouteKind,\n type RouteCodec,\n type RouteDefinition,\n} from './lib/routes'\n\n// \u2500\u2500 Generic UI primitives \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n DataTable,\n type Column,\n type DataTableProps,\n type DataTableSort,\n type DataTableTestIds,\n} from './components/DataTable'\nexport {\n DataTableBlock,\n type DataTableBlockProps,\n type DataTableBlockColumn,\n} from './components/DataTableBlock'\nexport { EmptyState } from './components/EmptyState'\nexport {\n ErrorBoundary,\n DEFAULT_ERROR_BOUNDARY_LABELS,\n type ErrorBoundaryLabels,\n type ErrorBoundaryProps,\n type ErrorBoundaryFallbackProps,\n} from './components/ErrorBoundary'\nexport { LoadingIndicator, type LoadingIndicatorProps } from './components/LoadingIndicator'\nexport { DroppableContainer, type DroppableContainerProps } from './components/DroppableContainer'\nexport {\n RowNavigatorControls,\n type RowNavigatorControlsProps,\n} from './components/RowNavigatorControls'\nexport { GridRowNavigator, type GridRowNavigatorProps } from './components/GridRowNavigator'\nexport { SharedCell, type SharedCellProps, type SharedItem } from './components/SharedCell'\nexport {\n UsageMeter,\n usageMeterState,\n type UsageMeterAllowance,\n type UsageMeterState,\n} from './components/UsageMeter'\n\n// \u2500\u2500 Timeline views \u2014 calendar, Gantt, and the toggle between them \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n Timeline,\n TimelineCalendar,\n TimelineGantt,\n TimelineZoomControl,\n TIMELINE_ZOOM,\n formatSpan,\n parseIso,\n utcDay,\n dayKey,\n monthLabel,\n type TimelineItem,\n type TimelineProps,\n type TimelineViewMode,\n type TimelineCalendarProps,\n type TimelineGanttProps,\n type TimelineZoomControlProps,\n} from './timeline'\nexport { PageHeader, type PageHeaderProps } from './components/PageHeader'\nexport { SectionHeading } from './components/SectionHeading'\nexport {\n DetailPanel,\n DetailBody,\n DetailEmpty,\n DetailField,\n DetailFields,\n DetailLinkItem,\n DetailLinkList,\n DetailLoading,\n DetailSection,\n DEFAULT_DETAIL_PANEL_LABELS,\n type DetailPanelProps,\n type DetailPanelLabels,\n type DetailSectionProps,\n type DetailFieldProps,\n type DetailLinkItemProps,\n} from './components/DetailPanel'\nexport {\n CollectionDetail,\n type CollectionDetailProps,\n type CollectionDetailContext,\n} from './components/CollectionDetail'\nexport { ToneBadge, type Tone, type ToneBadgeProps } from './components/ToneBadge'\nexport { TONES, isTone } from './components/tones'\nexport { Chart, type ChartProps, type ChartSeries } from './components/Chart'\nexport { Toolbar } from './components/Toolbar'\nexport {\n EntityIdentityBar,\n IDENTITY_NAME_MAX_LENGTH,\n type EntityIdentityBarProps,\n type EntityIdentityField,\n} from './components/EntityIdentityBar'\nexport {\n MemberAvatarStack,\n type MemberAvatarStackProps,\n type StackedMember,\n} from './components/MemberAvatarStack'\nexport { MetricCard, type MetricCardProps } from './components/MetricCard'\nexport {\n EntityTooltip,\n EntityTooltipHeader,\n EntityTooltipStats,\n EntityTooltipSection,\n EntityTooltipHint,\n type EntityTooltipHeaderProps,\n type EntityTooltipStat,\n} from './components/EntityTooltip'\nexport { EntityChip, type EntityChipProps } from './components/EntityChip'\nexport { AskBar, type AskBarProps } from './components/AskBar'\nexport { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from '@arbidocs/react/ui'\n// `Shell.Root` already mounts TooltipProvider for the whole back office; these are\n// re-exported for apps that render tooltips outside the shell (marketing pages,\n// standalone surfaces).\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@arbidocs/react/ui'\n// The document tile is defined in @arbidocs/react (blocks depends on react, never the reverse),\n// but it is a general component card, so it is part of the blocks surface too.\n\n// \u2500\u2500 App-level UI areas (clean, view-model driven; see docs/design) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// Areas that need a heavy library are NOT re-exported here, so importing the root never loads\n// them: `/files`, `/facts` and `/databases` (AG Grid), `/home` and `/workspaces` (dnd-kit), `/settings` (cmdk),\n// `/connect` (React Query), `/studio` (Puck, router). Import those from their subpath.\nexport * from './chat'\nexport * from './shell'\nexport * from './auth'\nexport * from './retrieval'\nexport * from './agents'\nexport * from './citations'\nexport * from './collaboration'\nexport * from './activity'\nexport * from './tags'\n\n// \u2500\u2500 The host configuration (one `<ArbiHost config>`) and its environment \u2500\u2500\u2500\u2500\u2500\nexport { ArbiHost, useHost, type ArbiHostConfig } from './provider/host'\nexport type { WorkflowsHost, WorkflowCatalogueEntry } from './connection/workflows/support'\nexport {\n createBlocksEnvironment,\n useBlocksDialogs,\n useBlocksEnvironment,\n type BlocksEnvironment,\n type BlocksRuntimeConfig,\n type LinkTarget,\n type OpenCalendarOptions,\n type OpenConversationOptions,\n type OpenDocumentOptions,\n type OpenFilesOptions,\n type OpenMailOptions,\n type OpenNewConversationOptions,\n type OpenWordEditorOptions,\n type OpenWorkflowOptions,\n type ShareRequest,\n type UploadSource,\n} from './provider/environment'\nexport {\n requestSettingsSection,\n useRequestedSettingsSection,\n type SettingsSectionRequest,\n} from './provider/settings-section'\nexport {\n closeAllDialogs,\n closeDialog,\n getDialog,\n openDialog,\n useDialogProps,\n type BlocksDialogKind,\n type BlocksDialogProps,\n type CreateWorkspaceDialogProps,\n type UploadDialogProps,\n} from './provider/dialog-registry'\nexport {\n type ConfirmRequest,\n type ConfirmKind,\n type ChoiceRequest,\n type PromptChoice,\n} from './provider/dialogs'\nexport { BlocksTooltipProvider } from './provider/TooltipScope'\n\n// \u2500\u2500 Website building blocks (marketing / media / navigation / layout) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { BlockImage, type BlockImageProps } from './components/BlockImage'\nexport { Hero, type HeroProps, type HeroCta } from './components/Hero'\nexport {\n BlockLink,\n type BlockLinkProps,\n type BlockLinkComponent,\n type BlockLinkRenderProps,\n} from './components/blockLink'\nexport { ActionLink, type ActionLinkProps } from './components/ActionLink'\nexport {\n OpenConversationButton,\n type OpenConversationButtonProps,\n} from './components/OpenConversationButton'\nexport { FeatureGrid, type FeatureGridProps, type FeatureItem } from './components/FeatureGrid'\nexport { StatGroup, type StatGroupProps, type StatItem } from './components/StatGroup'\nexport { Testimonial, type TestimonialProps } from './components/Testimonial'\nexport { CTABanner, type CTABannerProps } from './components/CTABanner'\nexport { LogoCloud, type LogoCloudProps, type LogoItem } from './components/LogoCloud'\nexport { FAQ, type FAQProps, type FaqItem } from './components/FAQ'\nexport { RichTextBlock, type RichTextBlockProps } from './components/RichTextBlock'\nexport { Callout, type CalloutProps, type CalloutVariant } from './components/Callout'\nexport { AvatarBlock, type AvatarBlockProps } from './components/AvatarBlock'\nexport { Navbar, type NavbarProps, type NavLink } from './components/Navbar'\nexport { Footer, type FooterProps, type FooterColumn, type FooterLink } from './components/Footer'\nexport { ListBlock, type ListBlockProps, type ListItem } from './components/ListBlock'\nexport { Columns, type ColumnsProps } from './components/Columns'\nexport { Spacer, type SpacerProps } from './components/Spacer'\nexport { Container, type ContainerProps } from './components/Container'\nexport { PricingTable, type PricingTableProps, type PricingPlan } from './components/PricingTable'\nexport { Tabs, type TabsProps, type TabItem } from './components/Tabs'\nexport { Accordion, type AccordionProps, type AccordionItem } from './components/Accordion'\nexport { Gallery, type GalleryProps, type GalleryImage } from './components/Gallery'\nexport {\n VideoEmbed,\n toEmbedUrl,\n type VideoEmbedProps,\n type VideoAspect,\n} from './components/VideoEmbed'\nexport { ContactForm, type ContactFormProps, type ContactField } from './components/ContactForm'\nexport { Banner, type BannerProps, type BannerTone } from './components/Banner'\nexport { MediaText, type MediaTextProps } from './components/MediaText'\nexport { TeamGrid, type TeamGridProps, type TeamMember } from './components/TeamGrid'\nexport * from './components/editorial'\nexport { Steps, type StepsProps, type StepItem } from './components/Steps'\nexport {\n TestimonialGrid,\n type TestimonialGridProps,\n type TestimonialItem,\n} from './components/TestimonialGrid'\n\n// \u2500\u2500 Navigation contracts \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { type AppNavItem, type AppNavSection } from './nav/types'\nexport { defineActions, type ActionDefinition } from './nav/actions'\nexport { defineNavigation } from './nav/manifest'\nexport { EXPERIMENTAL_NAV_ITEMS, useExperimentalNavItems } from './connection/shell/experimentalNav'\n\nexport {\n FilterInput,\n DEFAULT_FILTER_FIELDS,\n DEFAULT_FILTER_INPUT_LABELS,\n type FilterField,\n type FilterInputProps,\n type FilterInputLabels,\n type FilterInputTestIds,\n} from './shell/FilterInput'\n\n// Heavy components in their own chunks (grid, calendar, Word editor, PDF viewer).\nexport {\n calendarGridChunk,\n docxEditorChunk,\n gridChunk,\n KIT_CHUNK_LOADERS,\n prefetchViewerChunks,\n preloadKitChunks,\n} from './lazy-chunks'\n"],
|
|
5
|
+
"mappings": ";AAQA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,mBAA0C;AACnD,SAAS,oBAA4C;AACrD,SAAS,oCAA6D;AACtE;AAAA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