@elevasis/ui 2.81.0 → 2.83.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/LICENSE +21 -0
- package/README.md +38 -0
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +68 -3710
- package/dist/app/index.js +12 -10
- package/dist/auth/index.d.ts +2 -3
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.d.ts +10 -10
- package/dist/charts/index.js +4 -4
- package/dist/{chunk-AI5OYVLR.js → chunk-2WXFPHBV.js} +1 -1
- package/dist/{chunk-7D4FKBB4.js → chunk-34YVWPW6.js} +1 -1
- package/dist/{chunk-BLYK6I4D.js → chunk-4ILZBLQY.js} +1 -1
- package/dist/{chunk-TLMNBOAG.js → chunk-6DWWZXLS.js} +5 -5
- package/dist/{chunk-LTRJZOHA.js → chunk-7D6ZLLOZ.js} +1 -1
- package/dist/chunk-BIKD5UUM.js +386 -0
- package/dist/{chunk-HDLYC63N.js → chunk-CEP5A55J.js} +1 -1
- package/dist/{chunk-JLKZUO2I.js → chunk-CUJBF3X6.js} +1 -1
- package/dist/{chunk-PNCJJE4Z.js → chunk-DRTC7LRG.js} +1 -1
- package/dist/{chunk-ROC2TFPS.js → chunk-EEONAV4R.js} +2 -2
- package/dist/{chunk-HDITVHZT.js → chunk-EHWHG6PW.js} +2 -2
- package/dist/{chunk-AKANHRQ5.js → chunk-GKTQEVSO.js} +3 -4
- package/dist/{chunk-7RS2NUC6.js → chunk-IR7HVER2.js} +1 -1
- package/dist/{chunk-3ZADOARU.js → chunk-IYY27OLF.js} +5 -5
- package/dist/{chunk-LGJASP5H.js → chunk-JCETE623.js} +1 -1
- package/dist/{chunk-42C2WVYU.js → chunk-JJCY23X3.js} +2 -2
- package/dist/{chunk-XUL4UBYJ.js → chunk-JPQNXH4X.js} +3 -3
- package/dist/{chunk-SWC54W3A.js → chunk-JXS2LDGN.js} +2 -2
- package/dist/{chunk-G6VHIXWD.js → chunk-KQ2YSAXL.js} +1 -1
- package/dist/{chunk-SOBKRB4N.js → chunk-LACAXGZK.js} +1 -1
- package/dist/{chunk-QFKOHZM3.js → chunk-LKM32PP6.js} +3 -3
- package/dist/{chunk-PJN6CMWZ.js → chunk-LKZV5TDL.js} +1 -1
- package/dist/{chunk-ILOKKA6L.js → chunk-MZXUISBI.js} +11 -12
- package/dist/{chunk-K635QVGI.js → chunk-N5O5OYLB.js} +8 -8
- package/dist/{chunk-FPRDEKFY.js → chunk-OC7TYJ75.js} +1 -1
- package/dist/{chunk-6YWBMLEM.js → chunk-PQEGQ63N.js} +8 -9
- package/dist/{chunk-52AZTFUR.js → chunk-QQ3JCEN2.js} +5 -5
- package/dist/{chunk-SHJYK2X4.js → chunk-U727JFPK.js} +3 -3
- package/dist/{chunk-DEZW7QDI.js → chunk-VFWOUD3M.js} +31 -2
- package/dist/{chunk-PSGSFPWA.js → chunk-VGHYGEPR.js} +98 -30
- package/dist/{chunk-LTKBVL7D.js → chunk-WYFNXCDJ.js} +4 -4
- package/dist/{chunk-KU7KN5VN.js → chunk-XYRMUHWN.js} +1 -1
- package/dist/{chunk-O4XUKLRY.js → chunk-YZ47UWV5.js} +1 -1
- package/dist/{chunk-5GYJ3IDO.js → chunk-YZ5Q34MK.js} +11 -6
- package/dist/{chunk-QEQXPWOK.js → chunk-ZS3BJLOJ.js} +9 -9
- package/dist/components/chat/index.d.ts +4 -5
- package/dist/components/index.d.ts +210 -198
- package/dist/components/index.js +38 -39
- package/dist/components/navigation/index.js +5 -5
- package/dist/execution/index.d.ts +2 -2
- package/dist/features/auth/index.d.ts +6 -6
- package/dist/features/auth/index.js +6 -6
- package/dist/features/clients/index.d.ts +11 -11
- package/dist/features/clients/index.js +7 -7
- package/dist/features/content/index.d.ts +36 -24
- package/dist/features/content/index.js +7 -7
- package/dist/features/crm/index.d.ts +29 -17
- package/dist/features/crm/index.js +9 -10
- package/dist/features/dashboard/index.d.ts +12 -6
- package/dist/features/dashboard/index.js +6 -6
- package/dist/features/delivery/index.d.ts +13 -13
- package/dist/features/delivery/index.js +17 -17
- package/dist/features/knowledge/index.js +4 -4
- package/dist/features/lead-gen/index.d.ts +40 -26
- package/dist/features/lead-gen/index.js +10 -11
- package/dist/features/monitoring/index.d.ts +8 -8
- package/dist/features/monitoring/index.js +8 -8
- package/dist/features/monitoring/requests/index.d.ts +10 -10
- package/dist/features/monitoring/requests/index.js +6 -6
- package/dist/features/notes/index.d.ts +7 -7
- package/dist/features/operations/index.d.ts +42 -30
- package/dist/features/operations/index.js +11 -11
- package/dist/features/public-agent-chat/index.d.ts +3 -3
- package/dist/features/right-panel-host/index.d.ts +3 -3
- package/dist/features/seo/index.d.ts +7 -7
- package/dist/features/seo/index.js +7 -7
- package/dist/features/settings/index.d.ts +13 -13
- package/dist/features/settings/index.js +7 -7
- package/dist/hooks/access/index.js +4 -4
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/published.d.ts +21 -7
- package/dist/hooks/published.js +15 -15
- package/dist/knowledge/index.d.ts +65 -37
- package/dist/knowledge/index.js +20 -7185
- package/dist/layout/index.d.ts +48 -48
- package/dist/layout/index.js +8 -8
- package/dist/organization/index.d.ts +2 -3
- package/dist/provider/ElevasisServiceContext.d.ts +1 -2
- package/dist/provider/index.d.ts +103 -3736
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.d.ts +80 -3721
- package/dist/provider/published.js +4 -4
- package/dist/router/index.d.ts +2 -3
- package/dist/test-utils/index.d.ts +4 -4
- package/dist/test-utils/index.js +3 -3
- package/dist/types/index.d.ts +6 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.js +1 -1
- package/dist/vite/index.js +2 -2
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/package.json +5 -5
- package/src/knowledge/README.md +32 -32
- package/dist/chunk-6J3SCCZ2.js +0 -200
- package/dist/chunk-75OLN23F.js +0 -231
- package/dist/knowledge-search-index-UPKXCXQP.js +0 -1539
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Elevasis
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# @elevasis/ui
|
|
2
|
+
|
|
3
|
+
React components and platform-aware hooks for building custom frontends on the Elevasis platform.
|
|
4
|
+
Published from `packages/ui` in the Elevasis monorepo, where it is named `@repo/ui`.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
pnpm add @elevasis/ui
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Peer requirements follow the monorepo's single-version policy — React 19 and Mantine 8. Check
|
|
13
|
+
`peerDependencies` in `package.json` for the authoritative ranges.
|
|
14
|
+
|
|
15
|
+
## Published surface
|
|
16
|
+
|
|
17
|
+
Roughly fifty subpaths, grouped by concern:
|
|
18
|
+
|
|
19
|
+
- **Provider and context** — `./provider`, `./provider/ui`, `./auth`, `./auth/context`, `./router`
|
|
20
|
+
- **Features** — `./features/*`, one entry per platform feature (`crm`, `knowledge`, `lead-gen`,
|
|
21
|
+
`settings`, and the rest)
|
|
22
|
+
- **Primitives** — `./components`, `./layout`, `./charts`, `./theme`, `./theme/presets`
|
|
23
|
+
- **Data and platform access** — `./hooks`, `./hooks/access`, `./api`, `./sse`, `./execution`
|
|
24
|
+
- **Build integration** — `./vite`, `./vite-plugin-knowledge`
|
|
25
|
+
- **Stylesheets** — `./components/index.css`, `./provider/index.css`, `./graph/index.css`
|
|
26
|
+
- **Testing** — `./test-utils`, `./test-utils/setup`, `./test-utils/setup-integration`
|
|
27
|
+
|
|
28
|
+
See `exports` in `package.json` for the complete list.
|
|
29
|
+
|
|
30
|
+
## A note on `API_URL`
|
|
31
|
+
|
|
32
|
+
Constants in this package resolve at the **consumer's** build, not at ours. A shared component must
|
|
33
|
+
read `apiUrl` from `useElevasisServices()` rather than importing a build-time constant, or a tenant
|
|
34
|
+
build inlines the wrong value.
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
MIT — see [LICENSE](./LICENSE).
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { QueryClientConfig, DefaultOptions, QueryClient } from '@tanstack/react-query';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -67,7 +67,7 @@ declare function useApiClientContext(): ApiClientContextValue;
|
|
|
67
67
|
* }
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
|
-
declare function ApiClientProvider({ children, getAccessToken, organizationId, getOrganizationId: getOrganizationIdProp, isOrganizationReady, onError }: ApiClientProviderProps):
|
|
70
|
+
declare function ApiClientProvider({ children, getAccessToken, organizationId, getOrganizationId: getOrganizationIdProp, isOrganizationReady, onError }: ApiClientProviderProps): react.JSX.Element;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* Hook that returns apiRequest and deferredApiRequest bound to the current
|
package/dist/api/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { createElevasisQueryClient } from '../chunk-
|
|
2
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-
|
|
1
|
+
export { createElevasisQueryClient } from '../chunk-KQ2YSAXL.js';
|
|
2
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-IR7HVER2.js';
|
|
3
3
|
import '../chunk-DD3CCMCZ.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-VFWOUD3M.js';
|
|
5
5
|
import '../chunk-6XBZPKMI.js';
|
|
6
6
|
import '../chunk-7ZUXA2NW.js';
|
|
7
7
|
import '../chunk-34B3ACOZ.js';
|