@elevasis/ui 2.32.0 → 2.33.1
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.d.ts +3 -0
- package/dist/app/index.js +3 -3
- package/dist/{chunk-LLRXA7D7.js → chunk-2VYMDNJ3.js} +1 -1
- package/dist/{chunk-7KZINJLP.js → chunk-3YZRKADM.js} +4 -4
- package/dist/{chunk-MOY4VOHF.js → chunk-4AAZXKLL.js} +1 -1
- package/dist/{chunk-RQTWIXJ5.js → chunk-53436UTQ.js} +1 -1
- package/dist/{chunk-WQPX44YM.js → chunk-AV2TKVVV.js} +673 -168
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/{chunk-T35FWDAB.js → chunk-DYIDXUJS.js} +1089 -158
- package/dist/{chunk-IQHU7O5Y.js → chunk-F3MXFE72.js} +1 -1
- package/dist/{chunk-5FJJ72HU.js → chunk-FOUYP4JX.js} +1 -1
- package/dist/{chunk-QQHOKTJA.js → chunk-H6EFQP2P.js} +39 -2
- package/dist/{chunk-5J4PDX26.js → chunk-KW7ZNQD7.js} +16 -2
- package/dist/{chunk-ZQOKIGZP.js → chunk-NCEQGEW5.js} +4 -4
- package/dist/{chunk-6DWD423K.js → chunk-PIS24NIV.js} +1 -1
- package/dist/{chunk-4MFNGNHF.js → chunk-QVTIOT73.js} +2 -2
- package/dist/{chunk-GCOQ3TBG.js → chunk-SWMQTF2H.js} +2 -2
- package/dist/{chunk-4QK76KIF.js → chunk-UNVRVCXZ.js} +1 -1
- package/dist/{chunk-VRNMNB3O.js → chunk-UYRT7SPM.js} +1 -1
- package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
- package/dist/{chunk-YLQEVSOR.js → chunk-WGUEIGPC.js} +202 -54
- package/dist/{chunk-QXCDKE2O.js → chunk-WJOE76FI.js} +9 -28
- package/dist/{chunk-QTI3KC7D.js → chunk-YENKDBUU.js} +106 -43
- package/dist/components/index.d.ts +117 -4
- package/dist/components/index.js +24 -23
- package/dist/components/navigation/index.js +4 -3
- package/dist/execution/index.d.ts +8 -3
- package/dist/features/auth/index.d.ts +3 -0
- package/dist/features/clients/index.js +8 -7
- package/dist/features/crm/index.d.ts +3 -0
- package/dist/features/crm/index.js +10 -9
- package/dist/features/dashboard/index.d.ts +113 -3
- package/dist/features/dashboard/index.js +9 -8
- package/dist/features/delivery/index.d.ts +3 -0
- 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 +560 -93
- package/dist/features/operations/index.js +13 -12
- package/dist/features/settings/index.d.ts +3 -0
- package/dist/features/settings/index.js +9 -8
- package/dist/hooks/delivery/index.d.ts +3 -0
- package/dist/hooks/index.d.ts +210 -6
- package/dist/hooks/index.js +8 -7
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +205 -4
- package/dist/hooks/published.d.ts +210 -6
- package/dist/hooks/published.js +8 -7
- package/dist/index.d.ts +565 -95
- package/dist/index.js +8 -7
- package/dist/initialization/index.d.ts +3 -0
- package/dist/knowledge/index.d.ts +577 -215
- package/dist/knowledge/index.js +1180 -689
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +1 -1
- package/dist/profile/index.d.ts +3 -0
- package/dist/provider/index.d.ts +447 -73
- package/dist/provider/index.js +7 -6
- package/dist/provider/published.d.ts +447 -73
- package/dist/provider/published.js +5 -4
- package/dist/supabase/index.d.ts +6 -0
- package/dist/types/index.d.ts +208 -4
- package/dist/utils/index.d.ts +113 -3
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconShieldLock, IconActivity, IconTopologyStar3, IconApps, IconBriefcase, IconBuilding, IconBolt, IconSearch, IconChartBar, IconUsers, IconInfoCircle, IconDatabase, IconGitBranch, IconDashboard, IconBuildingStore, IconUser, IconPlug, IconBrain, IconTargetArrow, IconBook, IconLayoutGrid, IconArchive, IconSettings, IconTool, IconCalendar } from '@tabler/icons-react';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
// src/icons/registry.tsx
|
|
5
|
+
var DEFAULT_SEMANTIC_ICON_REGISTRY = {
|
|
6
|
+
// Navigation / app areas
|
|
7
|
+
dashboard: IconDashboard,
|
|
8
|
+
calendar: IconCalendar,
|
|
9
|
+
sales: IconChartBar,
|
|
10
|
+
crm: IconBuildingStore,
|
|
11
|
+
"lead-gen": IconTargetArrow,
|
|
12
|
+
projects: IconBriefcase,
|
|
13
|
+
operations: IconTool,
|
|
14
|
+
monitoring: IconChartBar,
|
|
15
|
+
knowledge: IconBrain,
|
|
16
|
+
settings: IconSettings,
|
|
17
|
+
admin: IconShieldLock,
|
|
18
|
+
archive: IconArchive,
|
|
19
|
+
business: IconBuildingStore,
|
|
20
|
+
finance: IconChartBar,
|
|
21
|
+
platform: IconLayoutGrid,
|
|
22
|
+
seo: IconSearch,
|
|
23
|
+
// Knowledge kinds
|
|
24
|
+
playbook: IconBook,
|
|
25
|
+
strategy: IconTargetArrow,
|
|
26
|
+
reference: IconFileText,
|
|
27
|
+
// Resource kinds
|
|
28
|
+
agent: IconBrain,
|
|
29
|
+
workflow: IconGitBranch,
|
|
30
|
+
integration: IconPlug,
|
|
31
|
+
database: IconDatabase,
|
|
32
|
+
user: IconUser,
|
|
33
|
+
team: IconUsers,
|
|
34
|
+
// Integration specifics
|
|
35
|
+
gmail: IconMail,
|
|
36
|
+
"google-sheets": IconDatabase,
|
|
37
|
+
attio: IconBuildingStore,
|
|
38
|
+
// Surface / UI views
|
|
39
|
+
overview: IconDashboard,
|
|
40
|
+
"command-view": IconTopologyStar3,
|
|
41
|
+
"command-queue": IconSend,
|
|
42
|
+
pipeline: IconGitBranch,
|
|
43
|
+
lists: IconFileText,
|
|
44
|
+
resources: IconDatabase,
|
|
45
|
+
// Actions
|
|
46
|
+
approve: IconCheck,
|
|
47
|
+
reject: IconX,
|
|
48
|
+
retry: IconRefresh,
|
|
49
|
+
edit: IconEdit,
|
|
50
|
+
view: IconEye,
|
|
51
|
+
launch: IconRocket,
|
|
52
|
+
message: IconMessageCircle,
|
|
53
|
+
escalate: IconAlertTriangle,
|
|
54
|
+
promote: IconArrowUp,
|
|
55
|
+
submit: IconSend,
|
|
56
|
+
email: IconMail,
|
|
57
|
+
// Status
|
|
58
|
+
success: IconCheck,
|
|
59
|
+
error: IconX,
|
|
60
|
+
warning: IconAlertTriangle,
|
|
61
|
+
info: IconInfoCircle,
|
|
62
|
+
pending: IconClock,
|
|
63
|
+
// OM / UI group icons
|
|
64
|
+
bolt: IconBolt,
|
|
65
|
+
building: IconBuilding,
|
|
66
|
+
briefcase: IconBriefcase,
|
|
67
|
+
apps: IconApps,
|
|
68
|
+
graph: IconTopologyStar3,
|
|
69
|
+
shield: IconShieldLock,
|
|
70
|
+
users: IconUsers,
|
|
71
|
+
"chart-bar": IconChartBar,
|
|
72
|
+
search: IconSearch,
|
|
73
|
+
// UI-only om.* group tokens (not in the core enum — kept for registry lookup
|
|
74
|
+
// by components that reference them directly via extendSemanticIconRegistry)
|
|
75
|
+
"om.quick-access": IconBolt,
|
|
76
|
+
"om.profile": IconBuilding,
|
|
77
|
+
"om.business-model": IconBriefcase,
|
|
78
|
+
"om.systems": IconApps,
|
|
79
|
+
"om.graph": IconTopologyStar3,
|
|
80
|
+
"om.governance-wiring": IconShieldLock,
|
|
81
|
+
// Graph node-kind fallback tokens (used internally by knowledge-tree helpers)
|
|
82
|
+
"entity.record": IconActivity,
|
|
83
|
+
"event.lifecycle": IconActivity,
|
|
84
|
+
"policy.governance": IconShieldLock,
|
|
85
|
+
// Compatibility aliases for existing command queue payloads.
|
|
86
|
+
IconCheck,
|
|
87
|
+
IconX,
|
|
88
|
+
IconRefresh,
|
|
89
|
+
IconAlertTriangle,
|
|
90
|
+
IconEdit,
|
|
91
|
+
IconEye,
|
|
92
|
+
IconRocket,
|
|
93
|
+
IconMessageCircle,
|
|
94
|
+
IconArrowUp,
|
|
95
|
+
IconClock,
|
|
96
|
+
IconFileText,
|
|
97
|
+
IconSend,
|
|
98
|
+
IconMail
|
|
99
|
+
};
|
|
100
|
+
var semanticIconRegistry = { ...DEFAULT_SEMANTIC_ICON_REGISTRY };
|
|
101
|
+
function extendSemanticIconRegistry(overrides) {
|
|
102
|
+
semanticIconRegistry = { ...semanticIconRegistry, ...overrides };
|
|
103
|
+
}
|
|
104
|
+
function getSemanticIconComponent(token, fallbackToken) {
|
|
105
|
+
const icon = resolveSemanticIconComponent(token);
|
|
106
|
+
if (icon) return icon;
|
|
107
|
+
if (fallbackToken && semanticIconRegistry[fallbackToken]) return semanticIconRegistry[fallbackToken];
|
|
108
|
+
return IconInfoCircle;
|
|
109
|
+
}
|
|
110
|
+
function resolveSemanticIconComponent(token) {
|
|
111
|
+
if (!token) return null;
|
|
112
|
+
return semanticIconRegistry[token] ?? null;
|
|
113
|
+
}
|
|
114
|
+
function SemanticIcon({
|
|
115
|
+
token,
|
|
116
|
+
fallbackToken,
|
|
117
|
+
size = 16,
|
|
118
|
+
stroke = 1.8,
|
|
119
|
+
className,
|
|
120
|
+
style,
|
|
121
|
+
"aria-hidden": ariaHidden = true
|
|
122
|
+
}) {
|
|
123
|
+
const Icon = getSemanticIconComponent(token, fallbackToken);
|
|
124
|
+
return /* @__PURE__ */ jsx(
|
|
125
|
+
"span",
|
|
126
|
+
{
|
|
127
|
+
className,
|
|
128
|
+
"aria-hidden": ariaHidden,
|
|
129
|
+
style: {
|
|
130
|
+
display: "inline-flex",
|
|
131
|
+
alignItems: "center",
|
|
132
|
+
justifyContent: "center",
|
|
133
|
+
width: size,
|
|
134
|
+
height: size,
|
|
135
|
+
minWidth: size,
|
|
136
|
+
color: "currentColor",
|
|
137
|
+
flexShrink: 0,
|
|
138
|
+
...style
|
|
139
|
+
},
|
|
140
|
+
children: /* @__PURE__ */ jsx(Icon, { size, stroke })
|
|
141
|
+
}
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export { SemanticIcon, extendSemanticIconRegistry, getSemanticIconComponent, resolveSemanticIconComponent };
|