@datatechsolutions/ui 3.7.2 → 3.7.4

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 (163) hide show
  1. package/dist/astrlabe/index.js +108 -108
  2. package/dist/astrlabe/index.mjs +4 -4
  3. package/dist/astrlabe/workflow-canvas.js +4 -4
  4. package/dist/astrlabe/workflow-canvas.mjs +3 -3
  5. package/dist/{chunk-34XRH2FX.mjs → chunk-4HP7XS5I.mjs} +4 -4
  6. package/dist/{chunk-34XRH2FX.mjs.map → chunk-4HP7XS5I.mjs.map} +1 -1
  7. package/dist/{chunk-JGK2VFCX.js → chunk-7WIWDSF6.js} +36 -36
  8. package/dist/{chunk-JGK2VFCX.js.map → chunk-7WIWDSF6.js.map} +1 -1
  9. package/dist/{chunk-UDYEUTJC.js → chunk-BEUPW5WS.js} +28 -28
  10. package/dist/{chunk-UDYEUTJC.js.map → chunk-BEUPW5WS.js.map} +1 -1
  11. package/dist/{chunk-CYAAL3BY.mjs → chunk-CTCO2YI5.mjs} +3 -3
  12. package/dist/{chunk-CYAAL3BY.mjs.map → chunk-CTCO2YI5.mjs.map} +1 -1
  13. package/dist/{chunk-NVQVZ4U4.mjs → chunk-DCBRGVD3.mjs} +3 -3
  14. package/dist/{chunk-NVQVZ4U4.mjs.map → chunk-DCBRGVD3.mjs.map} +1 -1
  15. package/dist/{chunk-CVZXZK2X.js → chunk-DWIBK7GV.js} +25 -25
  16. package/dist/{chunk-CVZXZK2X.js.map → chunk-DWIBK7GV.js.map} +1 -1
  17. package/dist/{chunk-C4AJWDFB.mjs → chunk-EIZM2EQA.mjs} +4 -4
  18. package/dist/{chunk-C4AJWDFB.mjs.map → chunk-EIZM2EQA.mjs.map} +1 -1
  19. package/dist/{chunk-BBLBSDPN.js → chunk-FIB2CFJK.js} +11 -9
  20. package/dist/chunk-FIB2CFJK.js.map +1 -0
  21. package/dist/{chunk-2OPBUVTQ.mjs → chunk-GAN7AKZ2.mjs} +3 -3
  22. package/dist/{chunk-2OPBUVTQ.mjs.map → chunk-GAN7AKZ2.mjs.map} +1 -1
  23. package/dist/{chunk-R4EKPXX3.js → chunk-GD6FHRHV.js} +6 -3
  24. package/dist/chunk-GD6FHRHV.js.map +1 -0
  25. package/dist/{chunk-DXLATMGD.mjs → chunk-IKH5IRDK.mjs} +3 -3
  26. package/dist/{chunk-DXLATMGD.mjs.map → chunk-IKH5IRDK.mjs.map} +1 -1
  27. package/dist/{chunk-TJEZL72T.mjs → chunk-IKHWYYZC.mjs} +3 -3
  28. package/dist/{chunk-TJEZL72T.mjs.map → chunk-IKHWYYZC.mjs.map} +1 -1
  29. package/dist/{chunk-FUHNEP3Y.js → chunk-IYDGO7RW.js} +135 -135
  30. package/dist/{chunk-FUHNEP3Y.js.map → chunk-IYDGO7RW.js.map} +1 -1
  31. package/dist/{chunk-CBFK4W4C.mjs → chunk-JUDQX6MP.mjs} +5 -3
  32. package/dist/chunk-JUDQX6MP.mjs.map +1 -0
  33. package/dist/{chunk-3JZGRXSG.js → chunk-KI4UPW4Z.js} +4 -4
  34. package/dist/{chunk-3JZGRXSG.js.map → chunk-KI4UPW4Z.js.map} +1 -1
  35. package/dist/{chunk-JLECJI7S.js → chunk-MFAVWJWE.js} +10 -10
  36. package/dist/{chunk-JLECJI7S.js.map → chunk-MFAVWJWE.js.map} +1 -1
  37. package/dist/{chunk-4JRMXHPU.mjs → chunk-MGZTZELL.mjs} +3 -3
  38. package/dist/{chunk-4JRMXHPU.mjs.map → chunk-MGZTZELL.mjs.map} +1 -1
  39. package/dist/{chunk-37JQVQJS.mjs → chunk-MRLEINJN.mjs} +7 -7
  40. package/dist/{chunk-37JQVQJS.mjs.map → chunk-MRLEINJN.mjs.map} +1 -1
  41. package/dist/{chunk-VZIUQE7B.mjs → chunk-N5365CGD.mjs} +3 -3
  42. package/dist/{chunk-VZIUQE7B.mjs.map → chunk-N5365CGD.mjs.map} +1 -1
  43. package/dist/{chunk-NJ6HH4QP.mjs → chunk-P7GVXI7Y.mjs} +3 -3
  44. package/dist/{chunk-NJ6HH4QP.mjs.map → chunk-P7GVXI7Y.mjs.map} +1 -1
  45. package/dist/{chunk-RWYG7QHP.js → chunk-QL2JYRBN.js} +68 -68
  46. package/dist/{chunk-RWYG7QHP.js.map → chunk-QL2JYRBN.js.map} +1 -1
  47. package/dist/{chunk-7YK4WXHO.js → chunk-R2RPRRB4.js} +55 -55
  48. package/dist/{chunk-7YK4WXHO.js.map → chunk-R2RPRRB4.js.map} +1 -1
  49. package/dist/{chunk-QF6WL7XU.js → chunk-RBB5YGWH.js} +4 -4
  50. package/dist/{chunk-QF6WL7XU.js.map → chunk-RBB5YGWH.js.map} +1 -1
  51. package/dist/{chunk-VCAVH2VM.js → chunk-SUU7XPRX.js} +34 -34
  52. package/dist/{chunk-VCAVH2VM.js.map → chunk-SUU7XPRX.js.map} +1 -1
  53. package/dist/{chunk-RZ3NDH5S.js → chunk-VDO6MDQW.js} +13 -13
  54. package/dist/{chunk-RZ3NDH5S.js.map → chunk-VDO6MDQW.js.map} +1 -1
  55. package/dist/{chunk-VDLMWOQM.js → chunk-XT76DMP5.js} +35 -35
  56. package/dist/{chunk-VDLMWOQM.js.map → chunk-XT76DMP5.js.map} +1 -1
  57. package/dist/{chunk-ZYRL3WER.mjs → chunk-YNHQ36UU.mjs} +3 -3
  58. package/dist/{chunk-ZYRL3WER.mjs.map → chunk-YNHQ36UU.mjs.map} +1 -1
  59. package/dist/{chunk-5LCWQKGQ.mjs → chunk-Z3BMHKKH.mjs} +6 -3
  60. package/dist/chunk-Z3BMHKKH.mjs.map +1 -0
  61. package/dist/{chunk-JHN2OUWG.js → chunk-ZF7RJNPD.js} +45 -45
  62. package/dist/{chunk-JHN2OUWG.js.map → chunk-ZF7RJNPD.js.map} +1 -1
  63. package/dist/{chunk-YRXDETBK.mjs → chunk-ZWLMKOHZ.mjs} +6 -6
  64. package/dist/{chunk-YRXDETBK.mjs.map → chunk-ZWLMKOHZ.mjs.map} +1 -1
  65. package/dist/index.js +665 -665
  66. package/dist/index.mjs +2 -2
  67. package/dist/platform/admin/index.js +10 -10
  68. package/dist/platform/admin/index.mjs +4 -4
  69. package/dist/platform/agents-workspace.js +7 -7
  70. package/dist/platform/agents-workspace.mjs +6 -6
  71. package/dist/platform/app-shell.js +4 -4
  72. package/dist/platform/app-shell.mjs +3 -3
  73. package/dist/platform/auth/index.js +22 -22
  74. package/dist/platform/auth/index.mjs +4 -4
  75. package/dist/platform/billing/index.js +4 -4
  76. package/dist/platform/billing/index.mjs +3 -3
  77. package/dist/platform/impersonation/index.js +4 -4
  78. package/dist/platform/impersonation/index.mjs +3 -3
  79. package/dist/platform/index.js +86 -86
  80. package/dist/platform/index.mjs +18 -18
  81. package/dist/platform/pages/index.js +416 -254
  82. package/dist/platform/pages/index.js.map +1 -1
  83. package/dist/platform/pages/index.mjs +193 -31
  84. package/dist/platform/pages/index.mjs.map +1 -1
  85. package/dist/platform/settings/index.js +7 -7
  86. package/dist/platform/settings/index.mjs +6 -6
  87. package/dist/platform/workflow-canvas-shell.js +5 -5
  88. package/dist/platform/workflow-canvas-shell.mjs +4 -4
  89. package/package.json +1 -1
  90. package/dist/astrlabe/contracts.d.mts +0 -517
  91. package/dist/astrlabe/contracts.d.ts +0 -517
  92. package/dist/astrlabe/graph-node.d.mts +0 -28
  93. package/dist/astrlabe/graph-node.d.ts +0 -28
  94. package/dist/astrlabe/index.d.mts +0 -743
  95. package/dist/astrlabe/index.d.ts +0 -743
  96. package/dist/astrlabe/utils.d.mts +0 -60
  97. package/dist/astrlabe/utils.d.ts +0 -60
  98. package/dist/astrlabe/workflow-canvas.d.mts +0 -6
  99. package/dist/astrlabe/workflow-canvas.d.ts +0 -6
  100. package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
  101. package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
  102. package/dist/billing-panel-DsHhhJqG.d.mts +0 -18
  103. package/dist/billing-panel-DsHhhJqG.d.ts +0 -18
  104. package/dist/brand/index.d.mts +0 -71
  105. package/dist/brand/index.d.ts +0 -71
  106. package/dist/chunk-5LCWQKGQ.mjs.map +0 -1
  107. package/dist/chunk-BBLBSDPN.js.map +0 -1
  108. package/dist/chunk-CBFK4W4C.mjs.map +0 -1
  109. package/dist/chunk-R4EKPXX3.js.map +0 -1
  110. package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +0 -17
  111. package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +0 -17
  112. package/dist/index-BNRGVAS5.d.mts +0 -222
  113. package/dist/index-BoebbJ44.d.mts +0 -49
  114. package/dist/index-BoebbJ44.d.ts +0 -49
  115. package/dist/index-CnCY-b5V.d.ts +0 -222
  116. package/dist/index.d.mts +0 -5310
  117. package/dist/index.d.ts +0 -5310
  118. package/dist/layout-engine-YZcVr20M.d.mts +0 -19
  119. package/dist/layout-engine-YZcVr20M.d.ts +0 -19
  120. package/dist/lib/i18n-context.d.mts +0 -36
  121. package/dist/lib/i18n-context.d.ts +0 -36
  122. package/dist/lib/router-context.d.mts +0 -35
  123. package/dist/lib/router-context.d.ts +0 -35
  124. package/dist/navigation-BiWVffAN.d.mts +0 -49
  125. package/dist/navigation-BiWVffAN.d.ts +0 -49
  126. package/dist/platform/admin/index.d.mts +0 -17
  127. package/dist/platform/admin/index.d.ts +0 -17
  128. package/dist/platform/agents-workspace.d.mts +0 -19
  129. package/dist/platform/agents-workspace.d.ts +0 -19
  130. package/dist/platform/app-shell.d.mts +0 -58
  131. package/dist/platform/app-shell.d.ts +0 -58
  132. package/dist/platform/auth/index.d.mts +0 -73
  133. package/dist/platform/auth/index.d.ts +0 -73
  134. package/dist/platform/billing/index.d.mts +0 -29
  135. package/dist/platform/billing/index.d.ts +0 -29
  136. package/dist/platform/impersonation/index.d.mts +0 -19
  137. package/dist/platform/impersonation/index.d.ts +0 -19
  138. package/dist/platform/index.d.mts +0 -188
  139. package/dist/platform/index.d.ts +0 -188
  140. package/dist/platform/pages/index.d.mts +0 -526
  141. package/dist/platform/pages/index.d.ts +0 -526
  142. package/dist/platform/rbac.d.mts +0 -42
  143. package/dist/platform/rbac.d.ts +0 -42
  144. package/dist/platform/settings/index.d.mts +0 -31
  145. package/dist/platform/settings/index.d.ts +0 -31
  146. package/dist/platform/telemetry/index.d.mts +0 -51
  147. package/dist/platform/telemetry/index.d.ts +0 -51
  148. package/dist/platform/utils/index.d.mts +0 -32
  149. package/dist/platform/utils/index.d.ts +0 -32
  150. package/dist/platform/windsock-admin-client.d.mts +0 -57
  151. package/dist/platform/windsock-admin-client.d.ts +0 -57
  152. package/dist/platform/workflow-api-client.d.mts +0 -6
  153. package/dist/platform/workflow-api-client.d.ts +0 -6
  154. package/dist/platform/workflow-canvas-shell.d.mts +0 -18
  155. package/dist/platform/workflow-canvas-shell.d.ts +0 -18
  156. package/dist/rule-form-BYJzyork.d.mts +0 -128
  157. package/dist/rule-form-BYJzyork.d.ts +0 -128
  158. package/dist/workflow-api-client-CpFl3WcG.d.mts +0 -468
  159. package/dist/workflow-api-client-uLICOanv.d.ts +0 -468
  160. package/dist/workflow-canvas--qaYKuMm.d.ts +0 -113
  161. package/dist/workflow-canvas-B80fmD_n.d.mts +0 -113
  162. package/dist/workflow-store-o17I6L6A.d.ts +0 -79
  163. package/dist/workflow-store-ppVHdMZi.d.mts +0 -79
@@ -1,60 +0,0 @@
1
- import { WorkflowNodeType, LogicNodeConfig, WorkflowNode, WorkflowEdge, WorkflowGraph } from './contracts.mjs';
2
- export { L as LayoutDirection, a as applyDagreLayout } from '../layout-engine-YZcVr20M.mjs';
3
- import '@xyflow/react';
4
-
5
- /**
6
- * Logic Node Default Configs
7
- * ==========================
8
- * Factory function to create default configs for each logic node type.
9
- */
10
-
11
- declare function createDefaultLogicNodeConfig(nodeType: WorkflowNodeType): LogicNodeConfig | null;
12
-
13
- /**
14
- * Workflow Validator
15
- * =================
16
- * Localizes validation output inside the UI package while keeping issue codes
17
- * stable enough for future contract tests against the backend validator.
18
- */
19
-
20
- type SupportedLocale = 'en' | 'pt-BR' | 'es' | 'fr' | 'de' | 'it';
21
- type ValidationParams = Record<string, string | number | undefined>;
22
- type ValidationLocale = SupportedLocale | string;
23
- type ValidationIssueCode = 'graph.noAgents' | 'graph.missingSource' | 'graph.missingTarget' | 'graph.orphanNode' | 'graph.toolToNonAgent' | 'graph.ruleNoAgent' | 'graph.cycleDetected' | 'graph.multipleStartNodes' | 'graph.multipleEndNodes' | 'graph.startHasIncoming' | 'graph.endHasOutgoing' | 'graph.iterationNoOutgoing' | 'node.required' | 'node.requiredWhenLanguageSet' | 'node.codeShapeRequired' | 'node.mustBeArray' | 'node.mustBeReferenceArray' | 'node.mustBeNonEmptyReferenceArray' | 'node.assignmentNeedsSourceOrValue' | 'node.invalidAggregationMode' | 'node.invalidListOperation' | 'node.invalidLogicalOperator' | 'node.mustBeNumber' | 'node.invalidHttpMethod' | 'node.providerIdentityRequired' | 'node.inputOrInstructionsRequired' | 'node.invalidExtractionMode' | 'node.s3WriteSourceOrBodyRequired' | 'node.unknownType';
24
- type ValidationIssue = {
25
- code: ValidationIssueCode;
26
- message: string;
27
- params?: ValidationParams;
28
- };
29
- type NodeValidationIssue = ValidationIssue & {
30
- nodeId: string;
31
- nodeType: string;
32
- field?: string;
33
- };
34
- type ValidationResult = {
35
- valid: boolean;
36
- errors: string[];
37
- issues: ValidationIssue[];
38
- nodeIssues: NodeValidationIssue[];
39
- };
40
- type ValidationOptions = {
41
- locale?: ValidationLocale;
42
- };
43
- declare function validateNodeConfig(node: WorkflowNode, options?: ValidationOptions): NodeValidationIssue[];
44
- declare function validateGraphNodeConfigs(graph: WorkflowGraph, options?: ValidationOptions): NodeValidationIssue[];
45
- declare function validateWorkflowGraph(graph: WorkflowGraph, options?: ValidationOptions): ValidationResult;
46
- declare function topologicalSortAgents(agentNodes: WorkflowNode[], edges: WorkflowEdge[], nodeMap: Map<string, WorkflowNode>): WorkflowNode[];
47
-
48
- /**
49
- * Agent ELO Tier
50
- * ==============
51
- * Derives difficulty tier from agent ELO rating.
52
- * Used in node palette, agent flow node, and agent modal.
53
- */
54
- type AgentTier = {
55
- key: 'beginner' | 'intermediate' | 'advanced' | 'expert';
56
- pillColor: string;
57
- };
58
- declare function getAgentTier(elo: number | undefined): AgentTier;
59
-
60
- export { type AgentTier, type NodeValidationIssue, type ValidationResult, createDefaultLogicNodeConfig, getAgentTier, topologicalSortAgents, validateGraphNodeConfigs, validateNodeConfig, validateWorkflowGraph };
@@ -1,60 +0,0 @@
1
- import { WorkflowNodeType, LogicNodeConfig, WorkflowNode, WorkflowEdge, WorkflowGraph } from './contracts.js';
2
- export { L as LayoutDirection, a as applyDagreLayout } from '../layout-engine-YZcVr20M.js';
3
- import '@xyflow/react';
4
-
5
- /**
6
- * Logic Node Default Configs
7
- * ==========================
8
- * Factory function to create default configs for each logic node type.
9
- */
10
-
11
- declare function createDefaultLogicNodeConfig(nodeType: WorkflowNodeType): LogicNodeConfig | null;
12
-
13
- /**
14
- * Workflow Validator
15
- * =================
16
- * Localizes validation output inside the UI package while keeping issue codes
17
- * stable enough for future contract tests against the backend validator.
18
- */
19
-
20
- type SupportedLocale = 'en' | 'pt-BR' | 'es' | 'fr' | 'de' | 'it';
21
- type ValidationParams = Record<string, string | number | undefined>;
22
- type ValidationLocale = SupportedLocale | string;
23
- type ValidationIssueCode = 'graph.noAgents' | 'graph.missingSource' | 'graph.missingTarget' | 'graph.orphanNode' | 'graph.toolToNonAgent' | 'graph.ruleNoAgent' | 'graph.cycleDetected' | 'graph.multipleStartNodes' | 'graph.multipleEndNodes' | 'graph.startHasIncoming' | 'graph.endHasOutgoing' | 'graph.iterationNoOutgoing' | 'node.required' | 'node.requiredWhenLanguageSet' | 'node.codeShapeRequired' | 'node.mustBeArray' | 'node.mustBeReferenceArray' | 'node.mustBeNonEmptyReferenceArray' | 'node.assignmentNeedsSourceOrValue' | 'node.invalidAggregationMode' | 'node.invalidListOperation' | 'node.invalidLogicalOperator' | 'node.mustBeNumber' | 'node.invalidHttpMethod' | 'node.providerIdentityRequired' | 'node.inputOrInstructionsRequired' | 'node.invalidExtractionMode' | 'node.s3WriteSourceOrBodyRequired' | 'node.unknownType';
24
- type ValidationIssue = {
25
- code: ValidationIssueCode;
26
- message: string;
27
- params?: ValidationParams;
28
- };
29
- type NodeValidationIssue = ValidationIssue & {
30
- nodeId: string;
31
- nodeType: string;
32
- field?: string;
33
- };
34
- type ValidationResult = {
35
- valid: boolean;
36
- errors: string[];
37
- issues: ValidationIssue[];
38
- nodeIssues: NodeValidationIssue[];
39
- };
40
- type ValidationOptions = {
41
- locale?: ValidationLocale;
42
- };
43
- declare function validateNodeConfig(node: WorkflowNode, options?: ValidationOptions): NodeValidationIssue[];
44
- declare function validateGraphNodeConfigs(graph: WorkflowGraph, options?: ValidationOptions): NodeValidationIssue[];
45
- declare function validateWorkflowGraph(graph: WorkflowGraph, options?: ValidationOptions): ValidationResult;
46
- declare function topologicalSortAgents(agentNodes: WorkflowNode[], edges: WorkflowEdge[], nodeMap: Map<string, WorkflowNode>): WorkflowNode[];
47
-
48
- /**
49
- * Agent ELO Tier
50
- * ==============
51
- * Derives difficulty tier from agent ELO rating.
52
- * Used in node palette, agent flow node, and agent modal.
53
- */
54
- type AgentTier = {
55
- key: 'beginner' | 'intermediate' | 'advanced' | 'expert';
56
- pillColor: string;
57
- };
58
- declare function getAgentTier(elo: number | undefined): AgentTier;
59
-
60
- export { type AgentTier, type NodeValidationIssue, type ValidationResult, createDefaultLogicNodeConfig, getAgentTier, topologicalSortAgents, validateGraphNodeConfigs, validateNodeConfig, validateWorkflowGraph };
@@ -1,6 +0,0 @@
1
- import 'react/jsx-runtime';
2
- import 'react';
3
- export { a as Workspace, W as WorkspaceProps } from '../workflow-canvas-B80fmD_n.mjs';
4
- import './contracts.mjs';
5
- import '../index-BNRGVAS5.mjs';
6
- import '@xyflow/react';
@@ -1,6 +0,0 @@
1
- import 'react/jsx-runtime';
2
- import 'react';
3
- export { a as Workspace, W as WorkspaceProps } from '../workflow-canvas--qaYKuMm.js';
4
- import './contracts.js';
5
- import '../index-CnCY-b5V.js';
6
- import '@xyflow/react';
@@ -1,10 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { WorkflowGraph } from './contracts.mjs';
3
-
4
- type WorkflowPreviewCanvasProps = {
5
- graph: WorkflowGraph;
6
- className?: string;
7
- };
8
- declare function WorkflowPreviewCanvas({ graph, className }: WorkflowPreviewCanvasProps): react_jsx_runtime.JSX.Element;
9
-
10
- export { WorkflowPreviewCanvas, type WorkflowPreviewCanvasProps };
@@ -1,10 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { WorkflowGraph } from './contracts.js';
3
-
4
- type WorkflowPreviewCanvasProps = {
5
- graph: WorkflowGraph;
6
- className?: string;
7
- };
8
- declare function WorkflowPreviewCanvas({ graph, className }: WorkflowPreviewCanvasProps): react_jsx_runtime.JSX.Element;
9
-
10
- export { WorkflowPreviewCanvas, type WorkflowPreviewCanvasProps };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface BillingPanelProps {
4
- /**
5
- * Which billing interval to prefer when starting checkout. Defaults to
6
- * `'monthly'`. Surface a toggle in the host app if both matter.
7
- */
8
- defaultBillingInterval?: 'monthly' | 'yearly';
9
- /**
10
- * Called after the portal/checkout URL is resolved. Defaults to
11
- * `window.location.assign(url)`. Override to open in a new tab, use a
12
- * router, etc.
13
- */
14
- onRedirect?: (url: string) => void;
15
- }
16
- declare function BillingPanel({ defaultBillingInterval, onRedirect, }: BillingPanelProps): react_jsx_runtime.JSX.Element;
17
-
18
- export { BillingPanel as B, type BillingPanelProps as a };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface BillingPanelProps {
4
- /**
5
- * Which billing interval to prefer when starting checkout. Defaults to
6
- * `'monthly'`. Surface a toggle in the host app if both matter.
7
- */
8
- defaultBillingInterval?: 'monthly' | 'yearly';
9
- /**
10
- * Called after the portal/checkout URL is resolved. Defaults to
11
- * `window.location.assign(url)`. Override to open in a new tab, use a
12
- * router, etc.
13
- */
14
- onRedirect?: (url: string) => void;
15
- }
16
- declare function BillingPanel({ defaultBillingInterval, onRedirect, }: BillingPanelProps): react_jsx_runtime.JSX.Element;
17
-
18
- export { BillingPanel as B, type BillingPanelProps as a };
@@ -1,71 +0,0 @@
1
- /**
2
- * Brand — centralized app themes, icons, and logos
3
- * =================================================
4
- * Single source of truth for all app branding across the platform.
5
- *
6
- * Logo SVGs live in src/brand/logos/ and are published as-is.
7
- * Vite apps can import them directly:
8
- * import astrlabeIcon from '@datatechsolutions/ui/src/brand/logos/astrlabe-icon.svg'
9
- * Or use the APP_LOGOS/APP_THEMES which re-export them (works in Vite).
10
- */
11
- interface AppTheme {
12
- text: string;
13
- textLight: string;
14
- badgeBg: string;
15
- badgeText: string;
16
- ring: string;
17
- border: string;
18
- borderGlow: string;
19
- surfaceBg: string;
20
- dot: string;
21
- tileGradient: string;
22
- tileShadow: string;
23
- gradient: string;
24
- }
25
- declare const APP_THEMES: {
26
- readonly astrlabe: {
27
- readonly text: "text-violet-400";
28
- readonly textLight: "text-violet-300";
29
- readonly badgeBg: "bg-violet-500/10";
30
- readonly badgeText: "text-violet-300";
31
- readonly ring: "ring-violet-500/30";
32
- readonly border: "border-violet-500/30";
33
- readonly borderGlow: "border-violet-500/20";
34
- readonly surfaceBg: "bg-violet-500/[0.06]";
35
- readonly dot: "bg-violet-400";
36
- readonly tileGradient: "from-violet-600/80 to-purple-600/80";
37
- readonly tileShadow: "shadow-violet-500/20";
38
- readonly gradient: "from-violet-400 to-purple-400";
39
- };
40
- readonly windsock: {
41
- readonly text: "text-emerald-400";
42
- readonly textLight: "text-emerald-300";
43
- readonly badgeBg: "bg-emerald-500/10";
44
- readonly badgeText: "text-emerald-300";
45
- readonly ring: "ring-emerald-500/30";
46
- readonly border: "border-emerald-500/30";
47
- readonly borderGlow: "border-emerald-500/20";
48
- readonly surfaceBg: "bg-emerald-500/[0.06]";
49
- readonly dot: "bg-emerald-400";
50
- readonly tileGradient: "from-emerald-600/80 to-teal-600/80";
51
- readonly tileShadow: "shadow-emerald-500/20";
52
- readonly gradient: "from-emerald-400 to-teal-400";
53
- };
54
- readonly fakhir: {
55
- readonly text: "text-red-400";
56
- readonly textLight: "text-red-300";
57
- readonly badgeBg: "bg-red-500/10";
58
- readonly badgeText: "text-red-300";
59
- readonly ring: "ring-red-500/30";
60
- readonly border: "border-red-500/30";
61
- readonly borderGlow: "border-red-500/20";
62
- readonly surfaceBg: "bg-red-500/[0.06]";
63
- readonly dot: "bg-red-400";
64
- readonly tileGradient: "from-red-600/80 to-rose-600/80";
65
- readonly tileShadow: "shadow-red-500/20";
66
- readonly gradient: "from-red-400 to-rose-400";
67
- };
68
- };
69
- type AppId = keyof typeof APP_THEMES;
70
-
71
- export { APP_THEMES, type AppId, type AppTheme };
@@ -1,71 +0,0 @@
1
- /**
2
- * Brand — centralized app themes, icons, and logos
3
- * =================================================
4
- * Single source of truth for all app branding across the platform.
5
- *
6
- * Logo SVGs live in src/brand/logos/ and are published as-is.
7
- * Vite apps can import them directly:
8
- * import astrlabeIcon from '@datatechsolutions/ui/src/brand/logos/astrlabe-icon.svg'
9
- * Or use the APP_LOGOS/APP_THEMES which re-export them (works in Vite).
10
- */
11
- interface AppTheme {
12
- text: string;
13
- textLight: string;
14
- badgeBg: string;
15
- badgeText: string;
16
- ring: string;
17
- border: string;
18
- borderGlow: string;
19
- surfaceBg: string;
20
- dot: string;
21
- tileGradient: string;
22
- tileShadow: string;
23
- gradient: string;
24
- }
25
- declare const APP_THEMES: {
26
- readonly astrlabe: {
27
- readonly text: "text-violet-400";
28
- readonly textLight: "text-violet-300";
29
- readonly badgeBg: "bg-violet-500/10";
30
- readonly badgeText: "text-violet-300";
31
- readonly ring: "ring-violet-500/30";
32
- readonly border: "border-violet-500/30";
33
- readonly borderGlow: "border-violet-500/20";
34
- readonly surfaceBg: "bg-violet-500/[0.06]";
35
- readonly dot: "bg-violet-400";
36
- readonly tileGradient: "from-violet-600/80 to-purple-600/80";
37
- readonly tileShadow: "shadow-violet-500/20";
38
- readonly gradient: "from-violet-400 to-purple-400";
39
- };
40
- readonly windsock: {
41
- readonly text: "text-emerald-400";
42
- readonly textLight: "text-emerald-300";
43
- readonly badgeBg: "bg-emerald-500/10";
44
- readonly badgeText: "text-emerald-300";
45
- readonly ring: "ring-emerald-500/30";
46
- readonly border: "border-emerald-500/30";
47
- readonly borderGlow: "border-emerald-500/20";
48
- readonly surfaceBg: "bg-emerald-500/[0.06]";
49
- readonly dot: "bg-emerald-400";
50
- readonly tileGradient: "from-emerald-600/80 to-teal-600/80";
51
- readonly tileShadow: "shadow-emerald-500/20";
52
- readonly gradient: "from-emerald-400 to-teal-400";
53
- };
54
- readonly fakhir: {
55
- readonly text: "text-red-400";
56
- readonly textLight: "text-red-300";
57
- readonly badgeBg: "bg-red-500/10";
58
- readonly badgeText: "text-red-300";
59
- readonly ring: "ring-red-500/30";
60
- readonly border: "border-red-500/30";
61
- readonly borderGlow: "border-red-500/20";
62
- readonly surfaceBg: "bg-red-500/[0.06]";
63
- readonly dot: "bg-red-400";
64
- readonly tileGradient: "from-red-600/80 to-rose-600/80";
65
- readonly tileShadow: "shadow-red-500/20";
66
- readonly gradient: "from-red-400 to-rose-400";
67
- };
68
- };
69
- type AppId = keyof typeof APP_THEMES;
70
-
71
- export { APP_THEMES, type AppId, type AppTheme };