@elevasis/ui 2.34.0 → 2.36.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/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +37 -30
- package/dist/app/index.js +25 -23
- package/dist/charts/index.js +3 -5
- package/dist/{chunk-ND5TDV2J.js → chunk-57OZ3AEG.js} +1 -1
- package/dist/{chunk-E4WQGJNS.js → chunk-7FPLLSHN.js} +14 -1
- package/dist/{chunk-RQA2EVN3.js → chunk-AKW7KISS.js} +39 -3
- package/dist/chunk-AUDNF2Q7.js +2050 -0
- package/dist/chunk-F6EFC2MJ.js +41101 -0
- package/dist/{chunk-TYRUKGGD.js → chunk-GX6XBRRF.js} +1 -2
- package/dist/{chunk-RIAXZ6AH.js → chunk-K4UZU3TU.js} +2 -2
- package/dist/{chunk-V6SZ4ECN.js → chunk-LUYVRATI.js} +257 -6
- package/dist/{chunk-DTFKWZ7A.js → chunk-O2Q4VMRN.js} +589 -932
- package/dist/{chunk-X4WBGKJQ.js → chunk-R3VCBZDC.js} +50 -3
- package/dist/chunk-SIQ3P4OR.js +1764 -0
- package/dist/{chunk-3FV6HBXS.js → chunk-WF7CONXF.js} +23 -23
- package/dist/{chunk-3QXJK5IY.js → chunk-YYX7OPZQ.js} +1 -1
- package/dist/components/index.d.ts +74 -71
- package/dist/components/index.js +20 -2795
- package/dist/components/navigation/index.js +25 -5
- package/dist/execution/index.d.ts +11 -11
- package/dist/execution/index.js +1 -2
- package/dist/features/auth/index.d.ts +3 -0
- package/dist/features/auth/index.js +23 -2
- package/dist/features/clients/index.js +20 -26
- package/dist/features/crm/index.d.ts +3 -0
- package/dist/features/crm/index.js +20 -30
- package/dist/features/dashboard/index.d.ts +69 -69
- package/dist/features/dashboard/index.js +20 -28
- package/dist/features/delivery/index.d.ts +3 -0
- package/dist/features/delivery/index.js +20 -30
- package/dist/features/knowledge/index.js +25 -9
- package/dist/features/lead-gen/index.d.ts +295 -57
- package/dist/features/lead-gen/index.js +20 -31
- package/dist/features/monitoring/index.js +20 -30
- package/dist/features/monitoring/requests/index.js +20 -25
- package/dist/features/operations/index.d.ts +183 -183
- package/dist/features/operations/index.js +18 -37
- package/dist/features/seo/index.js +3 -4
- package/dist/features/settings/index.d.ts +3 -0
- package/dist/features/settings/index.js +20 -27
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.d.ts +3 -0
- package/dist/hooks/delivery/index.js +30 -2
- package/dist/hooks/index.d.ts +112 -99
- package/dist/hooks/index.js +20 -21
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +46 -46
- package/dist/hooks/published.d.ts +112 -99
- package/dist/hooks/published.js +20 -20
- package/dist/index.css +532 -532
- package/dist/index.d.ts +9385 -5915
- package/dist/index.js +22 -26
- package/dist/initialization/index.d.ts +3 -0
- package/dist/knowledge/index.d.ts +42 -42
- package/dist/knowledge/index.js +10 -17
- package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
- package/dist/layout/index.js +4 -10
- package/dist/organization/index.js +27 -1
- package/dist/profile/index.d.ts +3 -0
- package/dist/provider/index.d.ts +72 -39
- package/dist/provider/index.js +20 -15
- package/dist/provider/published.d.ts +40 -34
- package/dist/provider/published.js +20 -11
- package/dist/sse/index.js +26 -5
- package/dist/supabase/index.d.ts +6 -0
- package/dist/test-utils/index.js +3 -3
- package/dist/theme/index.js +2 -3
- package/dist/theme/presets/index.d.ts +28 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/typeform/index.js +1 -2049
- package/dist/types/index.d.ts +82 -79
- package/dist/utils/index.d.ts +47 -47
- package/dist/utils/index.js +1 -1
- package/dist/zustand/index.d.ts +6 -6
- package/dist/zustand/index.js +0 -3
- package/package.json +5 -5
- package/dist/chunk-3AJVNMY5.js +0 -4769
- package/dist/chunk-3MEXPLWT.js +0 -265
- package/dist/chunk-3ZMAGTWF.js +0 -18
- package/dist/chunk-4O4MII5S.js +0 -4716
- package/dist/chunk-5EYJ2GIN.js +0 -122
- package/dist/chunk-7M2VOCYN.js +0 -1
- package/dist/chunk-BPQVTIUP.js +0 -105
- package/dist/chunk-BZZCNLT6.js +0 -12
- package/dist/chunk-CLDCYJQT.js +0 -1
- package/dist/chunk-E565XMTQ.js +0 -17
- package/dist/chunk-HRWLKKWM.js +0 -758
- package/dist/chunk-IGDYWFNE.js +0 -5198
- package/dist/chunk-IIMU5YAJ.js +0 -53
- package/dist/chunk-IVGI4GDL.js +0 -1593
- package/dist/chunk-JFL3GRD4.js +0 -39
- package/dist/chunk-LAWLB6CT.js +0 -951
- package/dist/chunk-LGKLC5MG.js +0 -44
- package/dist/chunk-LRWTWOGP.js +0 -1778
- package/dist/chunk-MP3GPBPX.js +0 -1874
- package/dist/chunk-N55DVMAG.js +0 -14
- package/dist/chunk-NLBQTDOW.js +0 -12051
- package/dist/chunk-O6JXQ6UQ.js +0 -468
- package/dist/chunk-OBBQ2JCM.js +0 -68
- package/dist/chunk-PDHTXPSF.js +0 -12
- package/dist/chunk-PLP3NYPL.js +0 -356
- package/dist/chunk-R2XR4FCV.js +0 -48
- package/dist/chunk-R66W5UDG.js +0 -26
- package/dist/chunk-RYTEQBAO.js +0 -37
- package/dist/chunk-SDXSB3HN.js +0 -425
- package/dist/chunk-TKAYX2SP.js +0 -204
- package/dist/chunk-TUMSNGTX.js +0 -35
- package/dist/chunk-VNAZTCHA.js +0 -65
- package/dist/chunk-VNFR57DF.js +0 -87
- package/dist/chunk-VTXTZXAU.js +0 -539
- package/dist/chunk-W73ZABT6.js +0 -85
- package/dist/chunk-WU4FNWCW.js +0 -2281
- package/dist/chunk-XZGSCABI.js +0 -383
- package/dist/chunk-YNWZIWJL.js +0 -1863
- /package/dist/{chunk-2RJMVWFJ.js → chunk-GEFWMU26.js} +0 -0
- /package/dist/{chunk-22UVE3RA.js → chunk-HENXLGVD.js} +0 -0
package/dist/chunk-JFL3GRD4.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { usePresetsContext } from './chunk-RQA2EVN3.js';
|
|
2
|
-
import { useMemo } from 'react';
|
|
3
|
-
|
|
4
|
-
var BUILT_IN_NAMES = /* @__PURE__ */ new Set([
|
|
5
|
-
"default",
|
|
6
|
-
"tactical",
|
|
7
|
-
"regal",
|
|
8
|
-
"cyber-volt",
|
|
9
|
-
"aurora",
|
|
10
|
-
"rose-gold",
|
|
11
|
-
"midnight",
|
|
12
|
-
"titanium",
|
|
13
|
-
"obsidian",
|
|
14
|
-
"honey",
|
|
15
|
-
"abyss",
|
|
16
|
-
"canopy",
|
|
17
|
-
"slate",
|
|
18
|
-
"cyber-strike",
|
|
19
|
-
"cyber-chrome",
|
|
20
|
-
"cyber-void",
|
|
21
|
-
"quarry"
|
|
22
|
-
]);
|
|
23
|
-
function titleCase(str) {
|
|
24
|
-
return str.replace(/(^|-)(\w)/g, (_, sep, char) => (sep ? " " : "") + char.toUpperCase());
|
|
25
|
-
}
|
|
26
|
-
function useAvailablePresets() {
|
|
27
|
-
const presetsMap = usePresetsContext();
|
|
28
|
-
return useMemo(() => {
|
|
29
|
-
return Object.entries(presetsMap).map(([key, preset]) => ({
|
|
30
|
-
value: key,
|
|
31
|
-
label: preset.label ?? titleCase(key),
|
|
32
|
-
description: preset.description ?? "",
|
|
33
|
-
colors: preset.colors ?? [preset.dark.primary, preset.dark.background, preset.light.background],
|
|
34
|
-
isCustom: !BUILT_IN_NAMES.has(key)
|
|
35
|
-
}));
|
|
36
|
-
}, [presetsMap]);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { useAvailablePresets };
|