@elevasis/ui 2.18.0 → 2.19.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 (61) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.js +5 -5
  3. package/dist/charts/index.js +3 -3
  4. package/dist/chunk-3JCMO7SD.js +14 -0
  5. package/dist/{chunk-P6TC4K7I.js → chunk-46Z2VHY3.js} +4 -4
  6. package/dist/{chunk-B6FIIEFO.js → chunk-5SCVXZPM.js} +128 -117
  7. package/dist/{chunk-SQPM2QDH.js → chunk-BHR7IV72.js} +3 -2
  8. package/dist/{chunk-DDZMBNTY.js → chunk-CTTY6FUT.js} +2 -2
  9. package/dist/{chunk-P3TFNFZS.js → chunk-EUWBY43Z.js} +2 -2
  10. package/dist/{chunk-LT33DSMO.js → chunk-IBOX2M24.js} +4 -4
  11. package/dist/{chunk-WP3IYOVJ.js → chunk-JEQM67SO.js} +107 -56
  12. package/dist/{chunk-A2AZY5SF.js → chunk-LR5CRY5A.js} +1 -1
  13. package/dist/{chunk-FM6LSZ45.js → chunk-LVCJ2H2T.js} +4 -4
  14. package/dist/{chunk-GRGRBWIO.js → chunk-M7W7CGPL.js} +1 -1
  15. package/dist/{chunk-34NQLV2W.js → chunk-MJAKU2WA.js} +3 -3
  16. package/dist/{chunk-I3LQGLUC.js → chunk-Q4QJOSVS.js} +1 -1
  17. package/dist/{chunk-R73EHHPN.js → chunk-Q5HC6ENG.js} +18 -2
  18. package/dist/{chunk-VDM6DQES.js → chunk-R7OJCNL3.js} +1 -1
  19. package/dist/{chunk-6RWMRQN5.js → chunk-TIIPYB2Z.js} +1 -1
  20. package/dist/{chunk-66VY5EMV.js → chunk-TKEKYPZA.js} +5 -5
  21. package/dist/{chunk-EY322HXF.js → chunk-UU6PJ4EJ.js} +19 -6
  22. package/dist/{chunk-UA36WILN.js → chunk-Y7TDUZEH.js} +145 -211
  23. package/dist/{chunk-SS2UVUSG.js → chunk-YVAXWM3W.js} +73 -121
  24. package/dist/components/index.d.ts +218 -2808
  25. package/dist/components/index.js +25 -25
  26. package/dist/features/crm/index.d.ts +54 -53
  27. package/dist/features/crm/index.js +11 -11
  28. package/dist/features/dashboard/index.js +12 -12
  29. package/dist/features/delivery/index.d.ts +2642 -2605
  30. package/dist/features/delivery/index.js +11 -11
  31. package/dist/features/lead-gen/index.js +11 -22
  32. package/dist/features/monitoring/index.js +13 -13
  33. package/dist/features/monitoring/requests/index.d.ts +38 -27
  34. package/dist/features/monitoring/requests/index.js +212 -106
  35. package/dist/features/operations/index.d.ts +8 -26
  36. package/dist/features/operations/index.js +15 -15
  37. package/dist/features/settings/index.d.ts +36 -37
  38. package/dist/features/settings/index.js +12 -12
  39. package/dist/hooks/delivery/index.d.ts +2712 -2699
  40. package/dist/hooks/delivery/index.js +2 -2
  41. package/dist/hooks/index.d.ts +1674 -4617
  42. package/dist/hooks/index.js +10 -10
  43. package/dist/hooks/published.d.ts +1674 -4617
  44. package/dist/hooks/published.js +10 -10
  45. package/dist/index.d.ts +773 -3635
  46. package/dist/index.js +11 -11
  47. package/dist/layout/index.d.ts +14 -2
  48. package/dist/layout/index.js +1 -1
  49. package/dist/provider/index.d.ts +320 -249
  50. package/dist/provider/index.js +8 -8
  51. package/dist/provider/published.d.ts +320 -249
  52. package/dist/provider/published.js +5 -5
  53. package/dist/sse/index.d.ts +1 -6
  54. package/dist/theme/index.js +2 -2
  55. package/dist/types/index.d.ts +1604 -2489
  56. package/dist/utils/index.d.ts +32 -1
  57. package/dist/utils/index.js +1 -1
  58. package/dist/zustand/index.d.ts +4 -8
  59. package/package.json +2 -2
  60. package/dist/chunk-ADSSLKKP.js +0 -10
  61. /package/dist/{chunk-GCBWGGI6.js → chunk-OD7GWIZS.js} +0 -0
@@ -139,6 +139,33 @@ interface ResourceDefinition {
139
139
  /** Whether this resource is archived and should be excluded from registration and deployment */
140
140
  archived?: boolean;
141
141
  }
142
+ /**
143
+ * Domain definition for Command View filtering
144
+ *
145
+ * Domains are organizational metadata for UI filtering/grouping.
146
+ * No execution impact - purely for visualization.
147
+ *
148
+ * @example
149
+ * {
150
+ * id: 'support',
151
+ * name: 'Customer Support',
152
+ * description: 'Ticket triage, knowledge base, escalations',
153
+ * color: 'green',
154
+ * icon: 'IconHeadset'
155
+ * }
156
+ */
157
+ interface DomainDefinition {
158
+ /** Unique identifier (e.g., 'support') */
159
+ id: string;
160
+ /** Display name (e.g., 'Customer Support') */
161
+ name: string;
162
+ /** Purpose description */
163
+ description: string;
164
+ /** Optional Mantine color for UI (e.g., 'blue', 'green', 'orange') */
165
+ color?: string;
166
+ /** Optional Tabler icon name (e.g., 'IconHeadset') */
167
+ icon?: string;
168
+ }
142
169
 
143
170
  /**
144
171
  * Standard Domain Definitions
@@ -166,6 +193,10 @@ declare const DOMAINS: {
166
193
  * Use this type for all domain references to ensure compile-time validation.
167
194
  */
168
195
  type ResourceDomain = (typeof DOMAINS)[keyof typeof DOMAINS];
196
+ /**
197
+ * Domain lookup map for O(1) access during serialization
198
+ */
199
+ declare const DOMAIN_MAP: Record<ResourceDomain, DomainDefinition>;
169
200
 
170
201
  /**
171
202
  * Resource Type Metadata
@@ -344,5 +375,5 @@ declare function restoreConsole(): void;
344
375
 
345
376
  declare function setupBrowserMocks(): void;
346
377
 
347
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail };
378
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DOMAIN_MAP, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail };
348
379
  export type { TablerIcon };
@@ -1,2 +1,2 @@
1
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-GCBWGGI6.js';
1
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DOMAIN_MAP, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-OD7GWIZS.js';
2
2
  export { ResourceStatusColors } from '../chunk-KRWALB24.js';
@@ -50,14 +50,10 @@ declare function resetThemeState(state: Draft<{
50
50
  }>, options?: ThemeSliceOptions): void;
51
51
  declare function createThemeSlice(set: ImmerSet$1, options?: ThemeSliceOptions): ThemeSliceState;
52
52
 
53
- // ============================================================================
54
- // API Request/Response Types (Dashboard Observability)
55
- // ============================================================================
56
-
57
- /**
58
- * Time range selector for dashboard metrics
59
- */
60
- type TimeRange = '1h' | '24h' | '7d' | '30d'
53
+ /**
54
+ * Time range selector for dashboard metrics
55
+ */
56
+ type TimeRange = '1h' | '24h' | '7d' | '30d';
61
57
 
62
58
  interface TimeRangeSliceState {
63
59
  timeRange: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "2.18.0",
3
+ "version": "2.19.0",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -206,7 +206,7 @@
206
206
  "tsup": "^8.0.0",
207
207
  "typescript": "5.9.2",
208
208
  "vite": "^7.0.0",
209
- "@repo/core": "0.8.3",
209
+ "@repo/core": "0.9.0",
210
210
  "@repo/eslint-config": "0.0.0",
211
211
  "@repo/typescript-config": "0.0.0"
212
212
  },
@@ -1,10 +0,0 @@
1
- import { useAppearance } from './chunk-QJ2KCHKX.js';
2
- import { Center } from '@mantine/core';
3
- import { jsx } from 'react/jsx-runtime';
4
-
5
- function SubshellLoader() {
6
- const { loader } = useAppearance();
7
- return /* @__PURE__ */ jsx(Center, { mih: "calc(100vh - 70px)", children: loader });
8
- }
9
-
10
- export { SubshellLoader };
File without changes