@robosystems/core 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/auth-components/AppSwitcher.js +2 -3
- package/components/EntitySelector.js +1 -1
- package/components/RepositoryGuard.js +1 -1
- package/components/console/ConsoleContent.js +1 -1
- package/components/report-chat/ReportChat.d.ts +13 -0
- package/components/report-chat/ReportChat.js +1 -1
- package/components/repositories/ActiveSubscriptions.js +1 -1
- package/components/repositories/BrowseRepositories.js +1 -1
- package/components/search/SearchBar.js +1 -1
- package/components/search/SearchContent.js +1 -1
- package/components/search/SearchHitCard.js +1 -1
- package/components/search/SearchPagination.js +1 -1
- package/hooks/use-toast.d.ts +1 -1
- package/hooks/use-toast.js +2 -2
- package/library/components/ElementBrowser.js +1 -1
- package/library/components/ElementDetail.js +1 -1
- package/library/components/LibraryHierarchy.js +1 -1
- package/library/components/TaxonomySidebar.js +1 -1
- package/package.json +2 -2
- package/styles/forms.css +478 -0
- package/styles/palette.css +265 -0
- package/theme/flowbite-theme.d.ts +638 -638
- package/theme/flowbite-theme.js +16 -21
- package/ui/Alert.d.ts +66 -0
- package/ui/Alert.js +24 -0
- package/ui/Badge.d.ts +50 -0
- package/ui/Badge.js +21 -0
- package/ui/Breadcrumb.d.ts +10 -0
- package/ui/Breadcrumb.js +31 -0
- package/ui/Button.d.ts +76 -0
- package/ui/Button.js +26 -0
- package/ui/Card.d.ts +32 -0
- package/ui/Card.js +26 -0
- package/ui/Checkbox.d.ts +33 -0
- package/ui/Checkbox.js +21 -0
- package/ui/Dropdown.d.ts +67 -0
- package/ui/Dropdown.js +134 -0
- package/ui/FileInput.d.ts +23 -0
- package/ui/FileInput.js +21 -0
- package/ui/Floating.d.ts +96 -0
- package/ui/Floating.js +92 -0
- package/ui/HelperText.d.ts +19 -0
- package/ui/HelperText.js +21 -0
- package/ui/Label.d.ts +21 -0
- package/ui/Label.js +21 -0
- package/ui/Modal.d.ts +85 -0
- package/ui/Modal.js +73 -0
- package/ui/Navbar.d.ts +14 -0
- package/ui/Navbar.js +35 -0
- package/ui/Progress.d.ts +40 -0
- package/ui/Progress.js +26 -0
- package/ui/Radio.d.ts +31 -0
- package/ui/Radio.js +21 -0
- package/ui/Select.d.ts +49 -0
- package/ui/Select.js +21 -0
- package/ui/Sidebar.d.ts +114 -0
- package/ui/Sidebar.js +76 -0
- package/ui/Spinner.d.ts +60 -0
- package/ui/Spinner.js +22 -0
- package/ui/Table.d.ts +23 -0
- package/ui/Table.js +57 -0
- package/ui/Tabs.d.ts +78 -0
- package/ui/Tabs.js +64 -0
- package/ui/TextInput.d.ts +58 -0
- package/ui/TextInput.js +21 -0
- package/ui/Textarea.d.ts +22 -0
- package/ui/Textarea.js +21 -0
- package/ui/ThemeModeScript.d.ts +21 -0
- package/ui/ThemeModeScript.js +74 -0
- package/ui/Toast.d.ts +24 -0
- package/ui/Toast.js +58 -0
- package/ui/ToggleSwitch.d.ts +54 -0
- package/ui/ToggleSwitch.js +26 -0
- package/ui/Tooltip.d.ts +3 -0
- package/ui/Tooltip.js +19 -0
- package/ui/cn.d.ts +6 -0
- package/ui/cn.js +19 -0
- package/ui/icons.d.ts +8 -0
- package/ui/icons.js +22 -0
- package/ui/index.d.ts +37 -0
- package/ui/index.js +36 -0
- package/ui/merge-theme.d.ts +15 -0
- package/ui/merge-theme.js +26 -0
- package/ui/theme-defaults.d.ts +821 -0
- package/ui/theme-defaults.js +824 -0
- package/ui/theme-mode.d.ts +15 -0
- package/ui/theme-mode.js +92 -0
- package/ui/types.d.ts +6 -0
- package/ui/types.js +1 -0
- package/ui-components/ConfirmModal.js +1 -1
- package/ui-components/StatCard.js +1 -1
- package/ui-components/api-keys/ApiKeyDisplay.d.ts +0 -1
- package/ui-components/api-keys/ApiKeyDisplay.js +3 -3
- package/ui-components/api-keys/CreateApiKeyModal.d.ts +0 -1
- package/ui-components/api-keys/CreateApiKeyModal.js +4 -4
- package/ui-components/api-keys/SecureApiKeyField.js +1 -1
- package/ui-components/chat/ChatInputArea.js +1 -1
- package/ui-components/chat/ChatMessage.js +1 -1
- package/ui-components/chat/DeepResearchToggle.js +1 -1
- package/ui-components/forms/CategoryInput.js +1 -1
- package/ui-components/forms/SettingsCard.d.ts +0 -1
- package/ui-components/forms/SettingsCard.js +3 -3
- package/ui-components/forms/SettingsFormField.d.ts +0 -1
- package/ui-components/forms/SettingsFormField.js +3 -3
- package/ui-components/forms/StatusAlert.d.ts +0 -1
- package/ui-components/forms/StatusAlert.js +3 -3
- package/ui-components/forms/TagInput.d.ts +1 -1
- package/ui-components/forms/TagInput.js +1 -1
- package/ui-components/layout/CoreNavbar.js +7 -8
- package/ui-components/layout/CoreSidebar.js +12 -13
- package/ui-components/layout/ThemeToggle.js +1 -1
- package/ui-components/settings/GeneralInformationCard.d.ts +0 -1
- package/ui-components/settings/GeneralInformationCard.js +3 -3
- package/ui-components/settings/PasswordInformationCard.d.ts +0 -1
- package/ui-components/settings/PasswordInformationCard.js +4 -4
- package/ui-components/settings/SettingsPageHeader.js +1 -1
- package/ui-components/support/SupportModal.js +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Shared React core for the RoboSystems ecosystem apps — authentication, platfor
|
|
|
10
10
|
- **Authentication** — sign-in/sign-up forms, `AuthProvider`/`AuthGuard`, JWT and SSO token handling
|
|
11
11
|
- **Contexts** — graph, entity, organization, service-offerings, and sidebar state
|
|
12
12
|
- **Task monitoring** — SSE-based operation monitoring with a polling fallback for long-running jobs
|
|
13
|
-
- **UI components** — layout, chat, forms, settings, API keys, and the shared
|
|
13
|
+
- **UI components** — layout, chat, forms, settings, API keys, and the shared Tailwind theme and the owned UI primitives (`@robosystems/core/ui`)
|
|
14
14
|
- **Hooks & utilities** — user, limits, toast, and media-query hooks plus cookie persistence helpers
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
@@ -19,7 +19,7 @@ Shared React core for the RoboSystems ecosystem apps — authentication, platfor
|
|
|
19
19
|
npm install @robosystems/core
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
`react`, `react-dom`, `next`, `
|
|
22
|
+
`react`, `react-dom`, `next`, `react-icons`, and `@robosystems/client` are peer dependencies provided by the consuming app. See [CLAUDE.md](CLAUDE.md) for app wiring (Tailwind content scan, vitest inlining), packaging notes, and the release flow.
|
|
23
23
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { Dropdown, DropdownItem } from 'flowbite-react';
|
|
4
3
|
import { HiViewGrid } from 'react-icons/hi';
|
|
5
4
|
import { useSSO } from '../auth-core/sso';
|
|
6
5
|
import { useToast } from '../hooks/use-toast';
|
|
7
|
-
import {
|
|
6
|
+
import { Dropdown, DropdownItem } from '../ui';
|
|
8
7
|
import { LogoBadge } from '../ui-components/Logo';
|
|
9
8
|
export function AppSwitcher({ apiUrl, currentApp, className = '', }) {
|
|
10
9
|
const { navigateToApp, getAvailableApps } = useSSO(apiUrl);
|
|
@@ -24,5 +23,5 @@ export function AppSwitcher({ apiUrl, currentApp, className = '', }) {
|
|
|
24
23
|
if (availableApps.length === 0) {
|
|
25
24
|
return null;
|
|
26
25
|
}
|
|
27
|
-
return (_jsxs(_Fragment, { children: [_jsx(ToastContainer, {}), _jsx("div", { className: className, children: _jsx(Dropdown, {
|
|
26
|
+
return (_jsxs(_Fragment, { children: [_jsx(ToastContainer, {}), _jsx("div", { className: className, children: _jsx(Dropdown, { className: "z-50! w-64", arrowIcon: false, inline: true, label: _jsx("span", { className: "inline-flex h-10 w-10 items-center justify-center rounded-lg text-sm text-gray-500 hover:bg-zinc-100 focus:ring-2 focus:ring-gray-200 focus:outline-hidden dark:text-gray-400 dark:hover:bg-zinc-700 dark:focus:ring-gray-600", children: _jsx(HiViewGrid, { className: "h-5 w-5" }) }), children: availableApps.map((app) => (_jsxs(DropdownItem, { onClick: () => handleAppClick(app), className: "flex w-full items-center space-x-3 p-3", children: [_jsx(LogoBadge, { app: app.name, animate: "once", className: "h-8 w-8" }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("p", { className: "text-left text-sm font-medium text-gray-900 dark:text-white", children: app.displayName }), _jsx("p", { className: "truncate text-left text-xs text-gray-500 dark:text-gray-400", children: app.description })] })] }, app.name))) }) })] }));
|
|
28
27
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { Dropdown, DropdownItem, Spinner } from 'flowbite-react';
|
|
4
3
|
import { useRouter } from 'next/navigation';
|
|
5
4
|
import { useCallback, useState } from 'react';
|
|
6
5
|
import { HiChevronDown } from 'react-icons/hi';
|
|
7
6
|
import { useApiError, useToast } from '../hooks';
|
|
7
|
+
import { Dropdown, DropdownItem, Spinner } from '../ui';
|
|
8
8
|
export function EntitySelector({ entities, currentEntity, onEntityChange, title, placeholder = 'Select item', emptyStateMessage = 'No items available', emptyStateAction, filter, groupBy, isLoading = false, isChanging = false, className = '', triggerClassName = '', defaultIcon: DefaultIcon, additionalActions = [], }) {
|
|
9
9
|
const router = useRouter();
|
|
10
10
|
const { handleApiError } = useApiError();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Alert, Button, Card } from 'flowbite-react';
|
|
4
3
|
import { useRouter } from 'next/navigation';
|
|
5
4
|
import { useEffect } from 'react';
|
|
6
5
|
import { HiInformationCircle } from 'react-icons/hi';
|
|
7
6
|
import { useGraphContext } from '../contexts/graph-context';
|
|
7
|
+
import { Alert, Button, Card } from '../ui';
|
|
8
8
|
/**
|
|
9
9
|
* Guard component that prevents access to pages that don't work with repositories.
|
|
10
10
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as SDK from '@robosystems/client';
|
|
4
|
-
import { Card } from 'flowbite-react';
|
|
5
4
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
5
|
import { HiTerminal } from 'react-icons/hi';
|
|
6
|
+
import { Card } from '../../ui';
|
|
7
7
|
import { useGraphContext } from '../../contexts';
|
|
8
8
|
import { useStreamingQuery } from '../../hooks';
|
|
9
9
|
import { emitGraphWrites, readGraphWrites, } from '../../lib/graph-writes';
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ask about this report — a collapsible chat card that sends questions to the
|
|
3
|
+
* RoboSystems operator on one graph, anchored on the report the host page
|
|
4
|
+
* has on screen. No key to enter: the call is the account's own, through the
|
|
5
|
+
* SDK's operator client (the same one the Console uses), and it spends the
|
|
6
|
+
* account's credits, which each answer shows.
|
|
7
|
+
*
|
|
8
|
+
* The host decides the anchor. RoboInvestor passes a filer and a filing on
|
|
9
|
+
* the SEC graph; RoboLedger passes an entity and a report on its own graph.
|
|
10
|
+
* Both hand the same shape: a note the operator reads ahead of every
|
|
11
|
+
* question, and a `focus` object with the same identifiers for an operator
|
|
12
|
+
* release that reads `context` directly.
|
|
13
|
+
*/
|
|
1
14
|
import { type ReactNode } from 'react';
|
|
2
15
|
export interface ReportChatProps {
|
|
3
16
|
/** The graph the operator runs on. */
|
|
@@ -13,11 +13,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
13
13
|
* question, and a `focus` object with the same identifiers for an operator
|
|
14
14
|
* release that reads `context` directly.
|
|
15
15
|
*/
|
|
16
|
-
import { Spinner } from 'flowbite-react';
|
|
17
16
|
import { useCallback, useRef, useState } from 'react';
|
|
18
17
|
import { HiChevronDown, HiChevronRight, HiSparkles } from 'react-icons/hi';
|
|
19
18
|
import ReactMarkdown from 'react-markdown';
|
|
20
19
|
import remarkGfm from 'remark-gfm';
|
|
20
|
+
import { Spinner } from '../../ui';
|
|
21
21
|
import { anchoredMessage, errorDetail } from './anchor';
|
|
22
22
|
const MARKDOWN_CLASS = 'text-sm leading-relaxed text-zinc-800 dark:text-zinc-200 [&_a]:text-primary-600 dark:[&_a]:text-primary-400 [&_a]:underline [&_code]:rounded [&_code]:bg-zinc-100 [&_code]:px-1 dark:[&_code]:bg-zinc-800 [&_h1]:mt-3 [&_h1]:text-base [&_h1]:font-semibold [&_h2]:mt-3 [&_h2]:text-base [&_h2]:font-semibold [&_h3]:mt-2 [&_h3]:font-semibold [&_li]:my-0.5 [&_ol]:list-decimal [&_ol]:pl-5 [&_p]:my-2 [&_strong]:font-semibold [&_table]:my-2 [&_table]:text-xs [&_td]:px-2 [&_td]:py-1 [&_th]:px-2 [&_th]:py-1 [&_th]:text-left [&_ul]:list-disc [&_ul]:pl-5';
|
|
23
23
|
export function ReportChat({ graphId, anchorNote, focus, title = 'Ask about this report', hint, intro, examples = [], placeholder = 'Ask…', available = true, unavailable, defaultOpen = false, mode = 'standard', }) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import * as SDK from '@robosystems/client';
|
|
4
|
-
import { Badge, Button, Card, Spinner } from 'flowbite-react';
|
|
5
4
|
import { useCallback, useEffect, useState } from 'react';
|
|
6
5
|
import { GoRepo } from 'react-icons/go';
|
|
7
6
|
import { HiBookOpen, HiCheckCircle, HiCloudDownload, HiCreditCard, HiGlobeAlt, HiLightningBolt, HiSwitchHorizontal, HiTerminal, HiXCircle, } from 'react-icons/hi';
|
|
@@ -11,6 +10,7 @@ import { useServiceOfferings } from '../../contexts/service-offerings-context';
|
|
|
11
10
|
import { useToast } from '../../hooks/use-toast';
|
|
12
11
|
import { useUser } from '../../hooks/use-user';
|
|
13
12
|
import { unwrapSdk } from '../../lib/sdk-errors';
|
|
13
|
+
import { Badge, Button, Card, Spinner } from '../../ui';
|
|
14
14
|
export function ActiveSubscriptions({ onOpenConsole, onOpenUsage, onGettingStarted, onBackups, onBilling, onBrowse, onCancel, emptyState, }) {
|
|
15
15
|
const [userSubscriptions, setUserSubscriptions] = useState([]);
|
|
16
16
|
const [loading, setLoading] = useState(true);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import * as SDK from '@robosystems/client';
|
|
4
|
-
import { Alert, Badge, Button, Card, Modal, ModalBody, ModalFooter, ModalHeader, Spinner, } from 'flowbite-react';
|
|
5
4
|
import { useCallback, useEffect, useState } from 'react';
|
|
6
5
|
import { GoRepo } from 'react-icons/go';
|
|
7
6
|
import { HiArrowDown, HiArrowUp, HiCheckCircle, HiDatabase, HiGlobeAlt, HiInformationCircle, } from 'react-icons/hi';
|
|
@@ -12,6 +11,7 @@ import { useToast } from '../../hooks/use-toast';
|
|
|
12
11
|
import { useUser } from '../../hooks/use-user';
|
|
13
12
|
import { unwrapSdk } from '../../lib/sdk-errors';
|
|
14
13
|
import { useRepositorySubscription } from '../../task-monitoring/operationHooks';
|
|
14
|
+
import { Alert, Badge, Button, Card, Modal, ModalBody, ModalFooter, ModalHeader, Spinner, } from '../../ui';
|
|
15
15
|
export function BrowseRepositories({ onSubscribed, onViewSubscriptions, showHeader = true, showInfoCard = true, }) {
|
|
16
16
|
const [userSubscriptions, setUserSubscriptions] = useState([]);
|
|
17
17
|
const [loading, setLoading] = useState(true);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button, Spinner, TextInput } from 'flowbite-react';
|
|
4
3
|
import { HiSearch, HiX } from 'react-icons/hi';
|
|
4
|
+
import { Button, Spinner, TextInput } from '../../ui';
|
|
5
5
|
/**
|
|
6
6
|
* The standard search input row: query field + submit button + optional
|
|
7
7
|
* clear button. Shared by the document Search page and the memory Recall
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as SDK from '@robosystems/client';
|
|
4
|
-
import { Alert, Card, Select, Spinner, TextInput, ToggleSwitch, } from 'flowbite-react';
|
|
5
4
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
5
|
import { HiChevronDown, HiChevronUp, HiSearch } from 'react-icons/hi';
|
|
6
|
+
import { Alert, Card, Select, Spinner, TextInput, ToggleSwitch } from '../../ui';
|
|
7
7
|
import { useIsRepository } from '../../components/RepositoryGuard';
|
|
8
8
|
import { useGraphContext } from '../../contexts';
|
|
9
9
|
import { MarkdownProse } from '../../ui-components/MarkdownProse';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Badge, Card } from 'flowbite-react';
|
|
4
3
|
import { HiChevronDown, HiChevronUp } from 'react-icons/hi';
|
|
4
|
+
import { Badge, Card } from '../../ui';
|
|
5
5
|
/**
|
|
6
6
|
* The standard scored-search-result card: title row, badge row (score,
|
|
7
7
|
* source type, entity, form, fiscal year, tags), snippet, and an optional
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button } from '
|
|
3
|
+
import { Button } from '../../ui';
|
|
4
4
|
/**
|
|
5
5
|
* Previous / "Page X of Y" / Next pagination for offset-based search
|
|
6
6
|
* results. Renders nothing when everything fits on one page.
|
package/hooks/use-toast.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare function resetToastsForTests(): void;
|
|
|
9
9
|
/** Renders the shared toasts, but only in the first mounted container. */
|
|
10
10
|
declare function SharedToastContainer(): import("react").JSX.Element;
|
|
11
11
|
/**
|
|
12
|
-
* Toast notifications on
|
|
12
|
+
* Toast notifications on the owned Toast primitive, shared across the app.
|
|
13
13
|
*
|
|
14
14
|
* Every call raises into one store, and the first mounted `ToastContainer`
|
|
15
15
|
* renders it, so a component can raise a toast without rendering a
|
package/hooks/use-toast.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Toast, ToastToggle } from 'flowbite-react';
|
|
4
3
|
import { useCallback, useEffect, useId, useSyncExternalStore } from 'react';
|
|
5
4
|
import { HiCheckCircle, HiExclamation, HiInformationCircle, } from 'react-icons/hi';
|
|
5
|
+
import { Toast, ToastToggle } from '../ui';
|
|
6
6
|
let toasts = [];
|
|
7
7
|
let hosts = [];
|
|
8
8
|
const listeners = new Set();
|
|
@@ -83,7 +83,7 @@ function SharedToastContainer() {
|
|
|
83
83
|
}) }));
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* Toast notifications on
|
|
86
|
+
* Toast notifications on the owned Toast primitive, shared across the app.
|
|
87
87
|
*
|
|
88
88
|
* Every call raises into one store, and the first mounted `ToastContainer`
|
|
89
89
|
* renders it, so a component can raise a toast without rendering a
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Alert, Badge, Button, Card, Select, Spinner, TextInput, } from 'flowbite-react';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
5
4
|
import { HiInformationCircle, HiSearch } from 'react-icons/hi';
|
|
5
|
+
import { Alert, Badge, Button, Card, Select, Spinner, TextInput, } from '../../ui';
|
|
6
6
|
import { classificationColor } from '../colors';
|
|
7
7
|
import { ClassificationPicker } from './ClassificationPicker';
|
|
8
8
|
const PAGE_SIZE = 50;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Alert, Badge, Card, Spinner } from 'flowbite-react';
|
|
4
3
|
import { useEffect, useMemo, useState } from 'react';
|
|
5
4
|
import { HiExternalLink, HiInformationCircle } from 'react-icons/hi';
|
|
5
|
+
import { Alert, Badge, Card, Spinner } from '../../ui';
|
|
6
6
|
import { arcTypeColor, classificationColor } from '../colors';
|
|
7
7
|
const LABEL_ROLE_ORDER = [
|
|
8
8
|
'standard',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { clients } from '@robosystems/client/clients';
|
|
4
|
-
import { Alert, Badge, Card, Select, Spinner } from 'flowbite-react';
|
|
5
4
|
import { useEffect, useMemo, useState } from 'react';
|
|
6
5
|
import { HiChevronDown, HiChevronRight, HiInformationCircle, } from 'react-icons/hi';
|
|
6
|
+
import { Alert, Badge, Card, Select, Spinner } from '../../ui';
|
|
7
7
|
import { classificationColor } from '../colors';
|
|
8
8
|
/**
|
|
9
9
|
* Arc types the hierarchy view can walk, with the taxonomy-standard suffix
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Badge, Card } from '
|
|
3
|
+
import { Badge, Card } from '../../ui';
|
|
4
4
|
const SECTION_ORDER = ['reporting', 'chart_of_accounts', 'schedule', 'mapping'];
|
|
5
5
|
const SECTION_LABELS = {
|
|
6
6
|
reporting: 'Reporting',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robosystems/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Shared RoboSystems frontend core library (auth, contexts, task monitoring, UI components) for the RoboSystems Next.js apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"node": ">=22.0.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"@floating-ui/react": "^0.27.20",
|
|
25
26
|
"react-markdown": "^10",
|
|
26
27
|
"remark-gfm": "^4.0.1",
|
|
27
28
|
"tailwind-merge": "^3"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"@robosystems/client": ">=2.34 <3",
|
|
31
|
-
"flowbite-react": "^0.12.5",
|
|
32
32
|
"next": ">=15 <17",
|
|
33
33
|
"react": ">=18 <20",
|
|
34
34
|
"react-dom": ">=18 <20",
|