@elevasis/ui 2.32.0 → 2.33.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/app/index.js +3 -3
- package/dist/{chunk-GCOQ3TBG.js → chunk-2GMF5IRF.js} +2 -2
- package/dist/{chunk-4MFNGNHF.js → chunk-52NLZN6Z.js} +2 -2
- package/dist/{chunk-5FJJ72HU.js → chunk-AHCKOU2M.js} +1 -1
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/{chunk-5J4PDX26.js → chunk-E4T2N7P7.js} +14 -2
- package/dist/{chunk-RQTWIXJ5.js → chunk-E7C4XEWH.js} +1 -1
- package/dist/{chunk-6DWD423K.js → chunk-FFPHJBJC.js} +1 -1
- package/dist/{chunk-T35FWDAB.js → chunk-GNRMB6DC.js} +940 -156
- package/dist/{chunk-LLRXA7D7.js → chunk-IUKFNASA.js} +1 -1
- package/dist/{chunk-QTI3KC7D.js → chunk-JHT5JIJ3.js} +106 -43
- package/dist/{chunk-IQHU7O5Y.js → chunk-MHLZ4F4N.js} +1 -1
- package/dist/{chunk-VRNMNB3O.js → chunk-NOIRGGW2.js} +1 -1
- package/dist/{chunk-MOY4VOHF.js → chunk-QNOVUCSV.js} +1 -1
- package/dist/{chunk-4QK76KIF.js → chunk-TKF5S4XP.js} +1 -1
- package/dist/{chunk-ZQOKIGZP.js → chunk-UVFOURXR.js} +4 -4
- package/dist/{chunk-YLQEVSOR.js → chunk-UW7IV2Y3.js} +202 -54
- package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
- package/dist/{chunk-QQHOKTJA.js → chunk-XG57WXOL.js} +39 -2
- package/dist/{chunk-7KZINJLP.js → chunk-XOFSMJLF.js} +4 -4
- package/dist/{chunk-WQPX44YM.js → chunk-YAQ25UNM.js} +668 -168
- package/dist/{chunk-QXCDKE2O.js → chunk-ZGTDKH3P.js} +9 -28
- package/dist/components/index.d.ts +111 -2
- package/dist/components/index.js +24 -23
- package/dist/components/navigation/index.js +4 -3
- package/dist/execution/index.d.ts +5 -1
- package/dist/features/clients/index.js +8 -7
- package/dist/features/crm/index.js +10 -9
- package/dist/features/dashboard/index.d.ts +110 -1
- package/dist/features/dashboard/index.js +9 -8
- package/dist/features/delivery/index.js +9 -8
- package/dist/features/knowledge/index.js +8 -18
- package/dist/features/lead-gen/index.js +10 -9
- package/dist/features/monitoring/index.js +10 -9
- package/dist/features/monitoring/requests/index.d.ts +2 -2
- package/dist/features/monitoring/requests/index.js +8 -7
- package/dist/features/operations/index.d.ts +442 -73
- package/dist/features/operations/index.js +13 -12
- package/dist/features/settings/index.js +9 -8
- package/dist/hooks/index.d.ts +192 -3
- package/dist/hooks/index.js +8 -7
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +190 -1
- package/dist/hooks/published.d.ts +192 -3
- package/dist/hooks/published.js +8 -7
- package/dist/index.d.ts +444 -75
- package/dist/index.js +8 -7
- package/dist/knowledge/index.d.ts +490 -214
- package/dist/knowledge/index.js +1179 -687
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +1 -1
- package/dist/provider/index.d.ts +357 -72
- package/dist/provider/index.js +7 -6
- package/dist/provider/published.d.ts +357 -72
- package/dist/provider/published.js +5 -4
- package/dist/types/index.d.ts +190 -1
- package/dist/utils/index.d.ts +110 -1
- package/package.json +39 -39
- package/src/README.md +29 -29
- package/src/api/README.md +18 -18
- package/src/app/README.md +24 -24
- package/src/auth/README.md +18 -18
- package/src/components/README.md +24 -24
- package/src/execution/README.md +16 -16
- package/src/features/README.md +28 -28
- package/src/graph/README.md +16 -16
- package/src/hooks/README.md +23 -23
- package/src/initialization/README.md +19 -19
- package/src/knowledge/README.md +31 -31
- package/src/organization/README.md +18 -18
- package/src/profile/README.md +19 -19
- package/src/provider/README.md +32 -32
- package/src/router/README.md +18 -18
- package/src/sse/README.md +13 -13
- package/src/test-utils/README.md +7 -7
- package/src/theme/README.md +23 -23
- package/src/theme/presets/README.md +19 -19
- package/src/types/README.md +16 -16
- package/src/utils/README.md +18 -18
- package/src/zustand/README.md +18 -18
- package/dist/chunk-UROTM5OR.js +0 -172
- package/dist/knowledge-search-index-5KYPO746.js +0 -1479
package/src/types/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Types
|
|
2
|
-
|
|
3
|
-
The types surface re-exports the shared platform types that UI consumers need without a direct `@repo/core` dependency.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- Execution and resource types
|
|
8
|
-
- Command queue and scheduling types
|
|
9
|
-
- Monitoring, observability, and notification types
|
|
10
|
-
- Session, feature-access, and webhook types
|
|
11
|
-
- Multi-tenancy, deployment, and CRM acquisition types
|
|
12
|
-
|
|
13
|
-
## Notes
|
|
14
|
-
|
|
15
|
-
- This is a type-only bridge. It should stay aligned with the current platform contracts.
|
|
16
|
-
|
|
1
|
+
# Types
|
|
2
|
+
|
|
3
|
+
The types surface re-exports the shared platform types that UI consumers need without a direct `@repo/core` dependency.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- Execution and resource types
|
|
8
|
+
- Command queue and scheduling types
|
|
9
|
+
- Monitoring, observability, and notification types
|
|
10
|
+
- Session, feature-access, and webhook types
|
|
11
|
+
- Multi-tenancy, deployment, and CRM acquisition types
|
|
12
|
+
|
|
13
|
+
## Notes
|
|
14
|
+
|
|
15
|
+
- This is a type-only bridge. It should stay aligned with the current platform contracts.
|
|
16
|
+
|
package/src/utils/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# Utils
|
|
2
|
-
|
|
3
|
-
The utils surface groups shared date, formatting, validation, error, and resource helper functions.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- Date formatting helpers
|
|
8
|
-
- Relative time helpers
|
|
9
|
-
- Email validation
|
|
10
|
-
- Error helpers
|
|
11
|
-
- Resource icon helpers
|
|
12
|
-
- Shared constants
|
|
13
|
-
- Warning suppression helpers
|
|
14
|
-
|
|
15
|
-
## Use When
|
|
16
|
-
|
|
17
|
-
- You need lightweight shared helpers that do not belong in a feature barrel.
|
|
18
|
-
|
|
1
|
+
# Utils
|
|
2
|
+
|
|
3
|
+
The utils surface groups shared date, formatting, validation, error, and resource helper functions.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- Date formatting helpers
|
|
8
|
+
- Relative time helpers
|
|
9
|
+
- Email validation
|
|
10
|
+
- Error helpers
|
|
11
|
+
- Resource icon helpers
|
|
12
|
+
- Shared constants
|
|
13
|
+
- Warning suppression helpers
|
|
14
|
+
|
|
15
|
+
## Use When
|
|
16
|
+
|
|
17
|
+
- You need lightweight shared helpers that do not belong in a feature barrel.
|
|
18
|
+
|
package/src/zustand/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# Zustand
|
|
2
|
-
|
|
3
|
-
The Zustand surface exposes the shared slice creators used by the UI package.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- `createSSESlice`
|
|
8
|
-
- `resetSSEState`
|
|
9
|
-
- `createThemeSlice`
|
|
10
|
-
- `resetThemeState`
|
|
11
|
-
- `createTimeRangeSlice`
|
|
12
|
-
- `resetTimeRangeState`
|
|
13
|
-
- Slice state and configuration types
|
|
14
|
-
|
|
15
|
-
## Use When
|
|
16
|
-
|
|
17
|
-
- You need the shared state slices used by the UI package internals or a compatible consumer.
|
|
18
|
-
|
|
1
|
+
# Zustand
|
|
2
|
+
|
|
3
|
+
The Zustand surface exposes the shared slice creators used by the UI package.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `createSSESlice`
|
|
8
|
+
- `resetSSEState`
|
|
9
|
+
- `createThemeSlice`
|
|
10
|
+
- `resetThemeState`
|
|
11
|
+
- `createTimeRangeSlice`
|
|
12
|
+
- `resetTimeRangeState`
|
|
13
|
+
- Slice state and configuration types
|
|
14
|
+
|
|
15
|
+
## Use When
|
|
16
|
+
|
|
17
|
+
- You need the shared state slices used by the UI package internals or a compatible consumer.
|
|
18
|
+
|
package/dist/chunk-UROTM5OR.js
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconArchive, IconShieldLock, IconSettings, IconBrain, IconChartBar, IconTool, IconBriefcase, IconLayoutGrid, IconTargetArrow, IconBuildingStore, IconCalendar, IconDashboard, IconInfoCircle, IconDatabase, IconGitBranch, IconTopologyStar3, IconActivity, IconUsers, IconUser, IconPlug, IconBook, IconApps, IconBuilding, IconBolt } from '@tabler/icons-react';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
// src/icons/registry.tsx
|
|
5
|
-
var DEFAULT_SEMANTIC_ICON_REGISTRY = {
|
|
6
|
-
"om.quick-access": IconBolt,
|
|
7
|
-
"om.profile": IconBuilding,
|
|
8
|
-
"om.business-model": IconBriefcase,
|
|
9
|
-
"om.systems": IconApps,
|
|
10
|
-
"om.graph": IconTopologyStar3,
|
|
11
|
-
"om.governance-wiring": IconShieldLock,
|
|
12
|
-
"nav.dashboard": IconDashboard,
|
|
13
|
-
"nav.calendar": IconCalendar,
|
|
14
|
-
"nav.sales": IconChartBar,
|
|
15
|
-
"nav.crm": IconBuildingStore,
|
|
16
|
-
"nav.lead-gen": IconTargetArrow,
|
|
17
|
-
"nav.projects": IconBriefcase,
|
|
18
|
-
"nav.operations": IconTool,
|
|
19
|
-
"nav.monitoring": IconChartBar,
|
|
20
|
-
"nav.knowledge": IconBrain,
|
|
21
|
-
"nav.settings": IconSettings,
|
|
22
|
-
"nav.admin": IconShieldLock,
|
|
23
|
-
"nav.archive": IconArchive,
|
|
24
|
-
"feature.dashboard": IconDashboard,
|
|
25
|
-
"feature.calendar": IconCalendar,
|
|
26
|
-
"feature.business": IconBuildingStore,
|
|
27
|
-
"feature.sales": IconChartBar,
|
|
28
|
-
"feature.crm": IconBuildingStore,
|
|
29
|
-
"feature.finance": IconChartBar,
|
|
30
|
-
"feature.lead-gen": IconTargetArrow,
|
|
31
|
-
"feature.platform": IconLayoutGrid,
|
|
32
|
-
"feature.projects": IconBriefcase,
|
|
33
|
-
"feature.operations": IconTool,
|
|
34
|
-
"feature.monitoring": IconChartBar,
|
|
35
|
-
"feature.knowledge": IconBrain,
|
|
36
|
-
"feature.settings": IconSettings,
|
|
37
|
-
"feature.admin": IconShieldLock,
|
|
38
|
-
"feature.archive": IconArchive,
|
|
39
|
-
"feature.seo": IconChartBar,
|
|
40
|
-
"knowledge.playbook": IconBook,
|
|
41
|
-
"knowledge.strategy": IconTargetArrow,
|
|
42
|
-
"knowledge.reference": IconFileText,
|
|
43
|
-
"resource.agent": IconBrain,
|
|
44
|
-
"resource.workflow": IconGitBranch,
|
|
45
|
-
"resource.integration": IconPlug,
|
|
46
|
-
"resource.database": IconDatabase,
|
|
47
|
-
"resource.user": IconUser,
|
|
48
|
-
"resource.team": IconUsers,
|
|
49
|
-
"entity.record": IconDatabase,
|
|
50
|
-
"event.lifecycle": IconActivity,
|
|
51
|
-
"policy.governance": IconShieldLock,
|
|
52
|
-
"integration.gmail": IconMail,
|
|
53
|
-
"integration.google-sheets": IconDatabase,
|
|
54
|
-
"integration.attio": IconBuildingStore,
|
|
55
|
-
"surface.dashboard": IconDashboard,
|
|
56
|
-
"surface.calendar": IconCalendar,
|
|
57
|
-
"surface.overview": IconDashboard,
|
|
58
|
-
"surface.command-view": IconTopologyStar3,
|
|
59
|
-
"surface.command-queue": IconSend,
|
|
60
|
-
"surface.pipeline": IconGitBranch,
|
|
61
|
-
"surface.lists": IconFileText,
|
|
62
|
-
"surface.resources": IconDatabase,
|
|
63
|
-
"surface.settings": IconSettings,
|
|
64
|
-
"action.approve": IconCheck,
|
|
65
|
-
"action.reject": IconX,
|
|
66
|
-
"action.retry": IconRefresh,
|
|
67
|
-
"action.edit": IconEdit,
|
|
68
|
-
"action.view": IconEye,
|
|
69
|
-
"action.launch": IconRocket,
|
|
70
|
-
"action.message": IconMessageCircle,
|
|
71
|
-
"action.escalate": IconAlertTriangle,
|
|
72
|
-
"action.promote": IconArrowUp,
|
|
73
|
-
"action.submit": IconSend,
|
|
74
|
-
"action.email": IconMail,
|
|
75
|
-
"status.success": IconCheck,
|
|
76
|
-
"status.error": IconX,
|
|
77
|
-
"status.warning": IconAlertTriangle,
|
|
78
|
-
"status.pending": IconClock,
|
|
79
|
-
"status.info": IconInfoCircle,
|
|
80
|
-
// Compatibility aliases for pre-semantic template/navigation payloads.
|
|
81
|
-
dashboard: IconDashboard,
|
|
82
|
-
calendar: IconCalendar,
|
|
83
|
-
sales: IconChartBar,
|
|
84
|
-
crm: IconBuildingStore,
|
|
85
|
-
finance: IconChartBar,
|
|
86
|
-
"lead-gen": IconTargetArrow,
|
|
87
|
-
platform: IconLayoutGrid,
|
|
88
|
-
projects: IconBriefcase,
|
|
89
|
-
operations: IconTool,
|
|
90
|
-
monitoring: IconChartBar,
|
|
91
|
-
knowledge: IconBrain,
|
|
92
|
-
settings: IconSettings,
|
|
93
|
-
admin: IconShieldLock,
|
|
94
|
-
archive: IconArchive,
|
|
95
|
-
// Compatibility aliases for existing command queue payloads.
|
|
96
|
-
IconCheck,
|
|
97
|
-
IconX,
|
|
98
|
-
IconRefresh,
|
|
99
|
-
IconAlertTriangle,
|
|
100
|
-
IconEdit,
|
|
101
|
-
IconEye,
|
|
102
|
-
IconRocket,
|
|
103
|
-
IconMessageCircle,
|
|
104
|
-
IconArrowUp,
|
|
105
|
-
IconClock,
|
|
106
|
-
IconFileText,
|
|
107
|
-
IconSend,
|
|
108
|
-
IconMail
|
|
109
|
-
};
|
|
110
|
-
var FALLBACK_TOKEN_BY_KIND = {
|
|
111
|
-
knowledge: "knowledge.reference",
|
|
112
|
-
playbook: "knowledge.playbook",
|
|
113
|
-
strategy: "knowledge.strategy",
|
|
114
|
-
reference: "knowledge.reference",
|
|
115
|
-
feature: "feature.operations",
|
|
116
|
-
resource: "resource.workflow",
|
|
117
|
-
integration: "resource.integration",
|
|
118
|
-
action: "action.view",
|
|
119
|
-
entity: "entity.record",
|
|
120
|
-
event: "event.lifecycle",
|
|
121
|
-
policy: "policy.governance",
|
|
122
|
-
status: "status.info",
|
|
123
|
-
nav: "nav.dashboard",
|
|
124
|
-
unknown: "status.info"
|
|
125
|
-
};
|
|
126
|
-
var semanticIconRegistry = { ...DEFAULT_SEMANTIC_ICON_REGISTRY };
|
|
127
|
-
function extendSemanticIconRegistry(overrides) {
|
|
128
|
-
semanticIconRegistry = { ...semanticIconRegistry, ...overrides };
|
|
129
|
-
}
|
|
130
|
-
function getSemanticIconComponent(token, fallbackKind = "unknown", fallbackToken) {
|
|
131
|
-
const icon = resolveSemanticIconComponent(token);
|
|
132
|
-
if (icon) return icon;
|
|
133
|
-
if (fallbackToken && semanticIconRegistry[fallbackToken]) return semanticIconRegistry[fallbackToken];
|
|
134
|
-
return semanticIconRegistry[FALLBACK_TOKEN_BY_KIND[fallbackKind]] ?? IconInfoCircle;
|
|
135
|
-
}
|
|
136
|
-
function resolveSemanticIconComponent(token) {
|
|
137
|
-
if (!token) return null;
|
|
138
|
-
return semanticIconRegistry[token] ?? null;
|
|
139
|
-
}
|
|
140
|
-
function SemanticIcon({
|
|
141
|
-
token,
|
|
142
|
-
fallbackKind = "unknown",
|
|
143
|
-
fallbackToken,
|
|
144
|
-
size = 16,
|
|
145
|
-
stroke = 1.8,
|
|
146
|
-
className,
|
|
147
|
-
style,
|
|
148
|
-
"aria-hidden": ariaHidden = true
|
|
149
|
-
}) {
|
|
150
|
-
const Icon = getSemanticIconComponent(token, fallbackKind, fallbackToken);
|
|
151
|
-
return /* @__PURE__ */ jsx(
|
|
152
|
-
"span",
|
|
153
|
-
{
|
|
154
|
-
className,
|
|
155
|
-
"aria-hidden": ariaHidden,
|
|
156
|
-
style: {
|
|
157
|
-
display: "inline-flex",
|
|
158
|
-
alignItems: "center",
|
|
159
|
-
justifyContent: "center",
|
|
160
|
-
width: size,
|
|
161
|
-
height: size,
|
|
162
|
-
minWidth: size,
|
|
163
|
-
color: "currentColor",
|
|
164
|
-
flexShrink: 0,
|
|
165
|
-
...style
|
|
166
|
-
},
|
|
167
|
-
children: /* @__PURE__ */ jsx(Icon, { size, stroke })
|
|
168
|
-
}
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export { SemanticIcon, extendSemanticIconRegistry, getSemanticIconComponent, resolveSemanticIconComponent };
|