@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.
Files changed (82) hide show
  1. package/dist/app/index.js +3 -3
  2. package/dist/{chunk-GCOQ3TBG.js → chunk-2GMF5IRF.js} +2 -2
  3. package/dist/{chunk-4MFNGNHF.js → chunk-52NLZN6Z.js} +2 -2
  4. package/dist/{chunk-5FJJ72HU.js → chunk-AHCKOU2M.js} +1 -1
  5. package/dist/chunk-CLDCYJQT.js +1 -0
  6. package/dist/chunk-DWXDNT7P.js +145 -0
  7. package/dist/{chunk-5J4PDX26.js → chunk-E4T2N7P7.js} +14 -2
  8. package/dist/{chunk-RQTWIXJ5.js → chunk-E7C4XEWH.js} +1 -1
  9. package/dist/{chunk-6DWD423K.js → chunk-FFPHJBJC.js} +1 -1
  10. package/dist/{chunk-T35FWDAB.js → chunk-GNRMB6DC.js} +940 -156
  11. package/dist/{chunk-LLRXA7D7.js → chunk-IUKFNASA.js} +1 -1
  12. package/dist/{chunk-QTI3KC7D.js → chunk-JHT5JIJ3.js} +106 -43
  13. package/dist/{chunk-IQHU7O5Y.js → chunk-MHLZ4F4N.js} +1 -1
  14. package/dist/{chunk-VRNMNB3O.js → chunk-NOIRGGW2.js} +1 -1
  15. package/dist/{chunk-MOY4VOHF.js → chunk-QNOVUCSV.js} +1 -1
  16. package/dist/{chunk-4QK76KIF.js → chunk-TKF5S4XP.js} +1 -1
  17. package/dist/{chunk-ZQOKIGZP.js → chunk-UVFOURXR.js} +4 -4
  18. package/dist/{chunk-YLQEVSOR.js → chunk-UW7IV2Y3.js} +202 -54
  19. package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
  20. package/dist/{chunk-QQHOKTJA.js → chunk-XG57WXOL.js} +39 -2
  21. package/dist/{chunk-7KZINJLP.js → chunk-XOFSMJLF.js} +4 -4
  22. package/dist/{chunk-WQPX44YM.js → chunk-YAQ25UNM.js} +668 -168
  23. package/dist/{chunk-QXCDKE2O.js → chunk-ZGTDKH3P.js} +9 -28
  24. package/dist/components/index.d.ts +111 -2
  25. package/dist/components/index.js +24 -23
  26. package/dist/components/navigation/index.js +4 -3
  27. package/dist/execution/index.d.ts +5 -1
  28. package/dist/features/clients/index.js +8 -7
  29. package/dist/features/crm/index.js +10 -9
  30. package/dist/features/dashboard/index.d.ts +110 -1
  31. package/dist/features/dashboard/index.js +9 -8
  32. package/dist/features/delivery/index.js +9 -8
  33. package/dist/features/knowledge/index.js +8 -18
  34. package/dist/features/lead-gen/index.js +10 -9
  35. package/dist/features/monitoring/index.js +10 -9
  36. package/dist/features/monitoring/requests/index.d.ts +2 -2
  37. package/dist/features/monitoring/requests/index.js +8 -7
  38. package/dist/features/operations/index.d.ts +442 -73
  39. package/dist/features/operations/index.js +13 -12
  40. package/dist/features/settings/index.js +9 -8
  41. package/dist/hooks/index.d.ts +192 -3
  42. package/dist/hooks/index.js +8 -7
  43. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +190 -1
  44. package/dist/hooks/published.d.ts +192 -3
  45. package/dist/hooks/published.js +8 -7
  46. package/dist/index.d.ts +444 -75
  47. package/dist/index.js +8 -7
  48. package/dist/knowledge/index.d.ts +490 -214
  49. package/dist/knowledge/index.js +1179 -687
  50. package/dist/knowledge-search-index-P7PR626V.js +1514 -0
  51. package/dist/layout/index.js +1 -1
  52. package/dist/provider/index.d.ts +357 -72
  53. package/dist/provider/index.js +7 -6
  54. package/dist/provider/published.d.ts +357 -72
  55. package/dist/provider/published.js +5 -4
  56. package/dist/types/index.d.ts +190 -1
  57. package/dist/utils/index.d.ts +110 -1
  58. package/package.json +39 -39
  59. package/src/README.md +29 -29
  60. package/src/api/README.md +18 -18
  61. package/src/app/README.md +24 -24
  62. package/src/auth/README.md +18 -18
  63. package/src/components/README.md +24 -24
  64. package/src/execution/README.md +16 -16
  65. package/src/features/README.md +28 -28
  66. package/src/graph/README.md +16 -16
  67. package/src/hooks/README.md +23 -23
  68. package/src/initialization/README.md +19 -19
  69. package/src/knowledge/README.md +31 -31
  70. package/src/organization/README.md +18 -18
  71. package/src/profile/README.md +19 -19
  72. package/src/provider/README.md +32 -32
  73. package/src/router/README.md +18 -18
  74. package/src/sse/README.md +13 -13
  75. package/src/test-utils/README.md +7 -7
  76. package/src/theme/README.md +23 -23
  77. package/src/theme/presets/README.md +19 -19
  78. package/src/types/README.md +16 -16
  79. package/src/utils/README.md +18 -18
  80. package/src/zustand/README.md +18 -18
  81. package/dist/chunk-UROTM5OR.js +0 -172
  82. package/dist/knowledge-search-index-5KYPO746.js +0 -1479
@@ -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
+
@@ -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
+
@@ -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
+
@@ -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 };