@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.
Files changed (91) hide show
  1. package/dist/app/index.d.ts +3 -0
  2. package/dist/app/index.js +3 -3
  3. package/dist/{chunk-LLRXA7D7.js → chunk-2VYMDNJ3.js} +1 -1
  4. package/dist/{chunk-7KZINJLP.js → chunk-3YZRKADM.js} +4 -4
  5. package/dist/{chunk-MOY4VOHF.js → chunk-4AAZXKLL.js} +1 -1
  6. package/dist/{chunk-RQTWIXJ5.js → chunk-53436UTQ.js} +1 -1
  7. package/dist/{chunk-WQPX44YM.js → chunk-AV2TKVVV.js} +673 -168
  8. package/dist/chunk-CLDCYJQT.js +1 -0
  9. package/dist/chunk-DWXDNT7P.js +145 -0
  10. package/dist/{chunk-T35FWDAB.js → chunk-DYIDXUJS.js} +1089 -158
  11. package/dist/{chunk-IQHU7O5Y.js → chunk-F3MXFE72.js} +1 -1
  12. package/dist/{chunk-5FJJ72HU.js → chunk-FOUYP4JX.js} +1 -1
  13. package/dist/{chunk-QQHOKTJA.js → chunk-H6EFQP2P.js} +39 -2
  14. package/dist/{chunk-5J4PDX26.js → chunk-KW7ZNQD7.js} +16 -2
  15. package/dist/{chunk-ZQOKIGZP.js → chunk-NCEQGEW5.js} +4 -4
  16. package/dist/{chunk-6DWD423K.js → chunk-PIS24NIV.js} +1 -1
  17. package/dist/{chunk-4MFNGNHF.js → chunk-QVTIOT73.js} +2 -2
  18. package/dist/{chunk-GCOQ3TBG.js → chunk-SWMQTF2H.js} +2 -2
  19. package/dist/{chunk-4QK76KIF.js → chunk-UNVRVCXZ.js} +1 -1
  20. package/dist/{chunk-VRNMNB3O.js → chunk-UYRT7SPM.js} +1 -1
  21. package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
  22. package/dist/{chunk-YLQEVSOR.js → chunk-WGUEIGPC.js} +202 -54
  23. package/dist/{chunk-QXCDKE2O.js → chunk-WJOE76FI.js} +9 -28
  24. package/dist/{chunk-QTI3KC7D.js → chunk-YENKDBUU.js} +106 -43
  25. package/dist/components/index.d.ts +117 -4
  26. package/dist/components/index.js +24 -23
  27. package/dist/components/navigation/index.js +4 -3
  28. package/dist/execution/index.d.ts +8 -3
  29. package/dist/features/auth/index.d.ts +3 -0
  30. package/dist/features/clients/index.js +8 -7
  31. package/dist/features/crm/index.d.ts +3 -0
  32. package/dist/features/crm/index.js +10 -9
  33. package/dist/features/dashboard/index.d.ts +113 -3
  34. package/dist/features/dashboard/index.js +9 -8
  35. package/dist/features/delivery/index.d.ts +3 -0
  36. package/dist/features/delivery/index.js +9 -8
  37. package/dist/features/knowledge/index.js +8 -18
  38. package/dist/features/lead-gen/index.js +10 -9
  39. package/dist/features/monitoring/index.js +10 -9
  40. package/dist/features/monitoring/requests/index.d.ts +2 -2
  41. package/dist/features/monitoring/requests/index.js +8 -7
  42. package/dist/features/operations/index.d.ts +560 -93
  43. package/dist/features/operations/index.js +13 -12
  44. package/dist/features/settings/index.d.ts +3 -0
  45. package/dist/features/settings/index.js +9 -8
  46. package/dist/hooks/delivery/index.d.ts +3 -0
  47. package/dist/hooks/index.d.ts +210 -6
  48. package/dist/hooks/index.js +8 -7
  49. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +205 -4
  50. package/dist/hooks/published.d.ts +210 -6
  51. package/dist/hooks/published.js +8 -7
  52. package/dist/index.d.ts +565 -95
  53. package/dist/index.js +8 -7
  54. package/dist/initialization/index.d.ts +3 -0
  55. package/dist/knowledge/index.d.ts +577 -215
  56. package/dist/knowledge/index.js +1180 -689
  57. package/dist/knowledge-search-index-P7PR626V.js +1514 -0
  58. package/dist/layout/index.js +1 -1
  59. package/dist/profile/index.d.ts +3 -0
  60. package/dist/provider/index.d.ts +447 -73
  61. package/dist/provider/index.js +7 -6
  62. package/dist/provider/published.d.ts +447 -73
  63. package/dist/provider/published.js +5 -4
  64. package/dist/supabase/index.d.ts +6 -0
  65. package/dist/types/index.d.ts +208 -4
  66. package/dist/utils/index.d.ts +113 -3
  67. package/package.json +39 -39
  68. package/src/README.md +29 -29
  69. package/src/api/README.md +18 -18
  70. package/src/app/README.md +24 -24
  71. package/src/auth/README.md +18 -18
  72. package/src/components/README.md +24 -24
  73. package/src/execution/README.md +16 -16
  74. package/src/features/README.md +28 -28
  75. package/src/graph/README.md +16 -16
  76. package/src/hooks/README.md +23 -23
  77. package/src/initialization/README.md +19 -19
  78. package/src/knowledge/README.md +31 -31
  79. package/src/organization/README.md +18 -18
  80. package/src/profile/README.md +19 -19
  81. package/src/provider/README.md +32 -32
  82. package/src/router/README.md +18 -18
  83. package/src/sse/README.md +13 -13
  84. package/src/test-utils/README.md +7 -7
  85. package/src/theme/README.md +23 -23
  86. package/src/theme/presets/README.md +19 -19
  87. package/src/types/README.md +16 -16
  88. package/src/utils/README.md +18 -18
  89. package/src/zustand/README.md +18 -18
  90. package/dist/chunk-UROTM5OR.js +0 -172
  91. 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 };