@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.
- package/dist/astrlabe/index.js +108 -108
- package/dist/astrlabe/index.mjs +4 -4
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-34XRH2FX.mjs → chunk-4HP7XS5I.mjs} +4 -4
- package/dist/{chunk-34XRH2FX.mjs.map → chunk-4HP7XS5I.mjs.map} +1 -1
- package/dist/{chunk-JGK2VFCX.js → chunk-7WIWDSF6.js} +36 -36
- package/dist/{chunk-JGK2VFCX.js.map → chunk-7WIWDSF6.js.map} +1 -1
- package/dist/{chunk-UDYEUTJC.js → chunk-BEUPW5WS.js} +28 -28
- package/dist/{chunk-UDYEUTJC.js.map → chunk-BEUPW5WS.js.map} +1 -1
- package/dist/{chunk-CYAAL3BY.mjs → chunk-CTCO2YI5.mjs} +3 -3
- package/dist/{chunk-CYAAL3BY.mjs.map → chunk-CTCO2YI5.mjs.map} +1 -1
- package/dist/{chunk-NVQVZ4U4.mjs → chunk-DCBRGVD3.mjs} +3 -3
- package/dist/{chunk-NVQVZ4U4.mjs.map → chunk-DCBRGVD3.mjs.map} +1 -1
- package/dist/{chunk-CVZXZK2X.js → chunk-DWIBK7GV.js} +25 -25
- package/dist/{chunk-CVZXZK2X.js.map → chunk-DWIBK7GV.js.map} +1 -1
- package/dist/{chunk-C4AJWDFB.mjs → chunk-EIZM2EQA.mjs} +4 -4
- package/dist/{chunk-C4AJWDFB.mjs.map → chunk-EIZM2EQA.mjs.map} +1 -1
- package/dist/{chunk-BBLBSDPN.js → chunk-FIB2CFJK.js} +11 -9
- package/dist/chunk-FIB2CFJK.js.map +1 -0
- package/dist/{chunk-2OPBUVTQ.mjs → chunk-GAN7AKZ2.mjs} +3 -3
- package/dist/{chunk-2OPBUVTQ.mjs.map → chunk-GAN7AKZ2.mjs.map} +1 -1
- package/dist/{chunk-R4EKPXX3.js → chunk-GD6FHRHV.js} +6 -3
- package/dist/chunk-GD6FHRHV.js.map +1 -0
- package/dist/{chunk-DXLATMGD.mjs → chunk-IKH5IRDK.mjs} +3 -3
- package/dist/{chunk-DXLATMGD.mjs.map → chunk-IKH5IRDK.mjs.map} +1 -1
- package/dist/{chunk-TJEZL72T.mjs → chunk-IKHWYYZC.mjs} +3 -3
- package/dist/{chunk-TJEZL72T.mjs.map → chunk-IKHWYYZC.mjs.map} +1 -1
- package/dist/{chunk-FUHNEP3Y.js → chunk-IYDGO7RW.js} +135 -135
- package/dist/{chunk-FUHNEP3Y.js.map → chunk-IYDGO7RW.js.map} +1 -1
- package/dist/{chunk-CBFK4W4C.mjs → chunk-JUDQX6MP.mjs} +5 -3
- package/dist/chunk-JUDQX6MP.mjs.map +1 -0
- package/dist/{chunk-3JZGRXSG.js → chunk-KI4UPW4Z.js} +4 -4
- package/dist/{chunk-3JZGRXSG.js.map → chunk-KI4UPW4Z.js.map} +1 -1
- package/dist/{chunk-JLECJI7S.js → chunk-MFAVWJWE.js} +10 -10
- package/dist/{chunk-JLECJI7S.js.map → chunk-MFAVWJWE.js.map} +1 -1
- package/dist/{chunk-4JRMXHPU.mjs → chunk-MGZTZELL.mjs} +3 -3
- package/dist/{chunk-4JRMXHPU.mjs.map → chunk-MGZTZELL.mjs.map} +1 -1
- package/dist/{chunk-37JQVQJS.mjs → chunk-MRLEINJN.mjs} +7 -7
- package/dist/{chunk-37JQVQJS.mjs.map → chunk-MRLEINJN.mjs.map} +1 -1
- package/dist/{chunk-VZIUQE7B.mjs → chunk-N5365CGD.mjs} +3 -3
- package/dist/{chunk-VZIUQE7B.mjs.map → chunk-N5365CGD.mjs.map} +1 -1
- package/dist/{chunk-NJ6HH4QP.mjs → chunk-P7GVXI7Y.mjs} +3 -3
- package/dist/{chunk-NJ6HH4QP.mjs.map → chunk-P7GVXI7Y.mjs.map} +1 -1
- package/dist/{chunk-RWYG7QHP.js → chunk-QL2JYRBN.js} +68 -68
- package/dist/{chunk-RWYG7QHP.js.map → chunk-QL2JYRBN.js.map} +1 -1
- package/dist/{chunk-7YK4WXHO.js → chunk-R2RPRRB4.js} +55 -55
- package/dist/{chunk-7YK4WXHO.js.map → chunk-R2RPRRB4.js.map} +1 -1
- package/dist/{chunk-QF6WL7XU.js → chunk-RBB5YGWH.js} +4 -4
- package/dist/{chunk-QF6WL7XU.js.map → chunk-RBB5YGWH.js.map} +1 -1
- package/dist/{chunk-VCAVH2VM.js → chunk-SUU7XPRX.js} +34 -34
- package/dist/{chunk-VCAVH2VM.js.map → chunk-SUU7XPRX.js.map} +1 -1
- package/dist/{chunk-RZ3NDH5S.js → chunk-VDO6MDQW.js} +13 -13
- package/dist/{chunk-RZ3NDH5S.js.map → chunk-VDO6MDQW.js.map} +1 -1
- package/dist/{chunk-VDLMWOQM.js → chunk-XT76DMP5.js} +35 -35
- package/dist/{chunk-VDLMWOQM.js.map → chunk-XT76DMP5.js.map} +1 -1
- package/dist/{chunk-ZYRL3WER.mjs → chunk-YNHQ36UU.mjs} +3 -3
- package/dist/{chunk-ZYRL3WER.mjs.map → chunk-YNHQ36UU.mjs.map} +1 -1
- package/dist/{chunk-5LCWQKGQ.mjs → chunk-Z3BMHKKH.mjs} +6 -3
- package/dist/chunk-Z3BMHKKH.mjs.map +1 -0
- package/dist/{chunk-JHN2OUWG.js → chunk-ZF7RJNPD.js} +45 -45
- package/dist/{chunk-JHN2OUWG.js.map → chunk-ZF7RJNPD.js.map} +1 -1
- package/dist/{chunk-YRXDETBK.mjs → chunk-ZWLMKOHZ.mjs} +6 -6
- package/dist/{chunk-YRXDETBK.mjs.map → chunk-ZWLMKOHZ.mjs.map} +1 -1
- package/dist/index.js +665 -665
- package/dist/index.mjs +2 -2
- package/dist/platform/admin/index.js +10 -10
- package/dist/platform/admin/index.mjs +4 -4
- package/dist/platform/agents-workspace.js +7 -7
- package/dist/platform/agents-workspace.mjs +6 -6
- package/dist/platform/app-shell.js +4 -4
- package/dist/platform/app-shell.mjs +3 -3
- package/dist/platform/auth/index.js +22 -22
- package/dist/platform/auth/index.mjs +4 -4
- package/dist/platform/billing/index.js +4 -4
- package/dist/platform/billing/index.mjs +3 -3
- package/dist/platform/impersonation/index.js +4 -4
- package/dist/platform/impersonation/index.mjs +3 -3
- package/dist/platform/index.js +86 -86
- package/dist/platform/index.mjs +18 -18
- package/dist/platform/pages/index.js +416 -254
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +193 -31
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +7 -7
- package/dist/platform/settings/index.mjs +6 -6
- package/dist/platform/workflow-canvas-shell.js +5 -5
- package/dist/platform/workflow-canvas-shell.mjs +4 -4
- package/package.json +1 -1
- package/dist/astrlabe/contracts.d.mts +0 -517
- package/dist/astrlabe/contracts.d.ts +0 -517
- package/dist/astrlabe/graph-node.d.mts +0 -28
- package/dist/astrlabe/graph-node.d.ts +0 -28
- package/dist/astrlabe/index.d.mts +0 -743
- package/dist/astrlabe/index.d.ts +0 -743
- package/dist/astrlabe/utils.d.mts +0 -60
- package/dist/astrlabe/utils.d.ts +0 -60
- package/dist/astrlabe/workflow-canvas.d.mts +0 -6
- package/dist/astrlabe/workflow-canvas.d.ts +0 -6
- package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
- package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
- package/dist/billing-panel-DsHhhJqG.d.mts +0 -18
- package/dist/billing-panel-DsHhhJqG.d.ts +0 -18
- package/dist/brand/index.d.mts +0 -71
- package/dist/brand/index.d.ts +0 -71
- package/dist/chunk-5LCWQKGQ.mjs.map +0 -1
- package/dist/chunk-BBLBSDPN.js.map +0 -1
- package/dist/chunk-CBFK4W4C.mjs.map +0 -1
- package/dist/chunk-R4EKPXX3.js.map +0 -1
- package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +0 -17
- package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +0 -17
- package/dist/index-BNRGVAS5.d.mts +0 -222
- package/dist/index-BoebbJ44.d.mts +0 -49
- package/dist/index-BoebbJ44.d.ts +0 -49
- package/dist/index-CnCY-b5V.d.ts +0 -222
- package/dist/index.d.mts +0 -5310
- package/dist/index.d.ts +0 -5310
- package/dist/layout-engine-YZcVr20M.d.mts +0 -19
- package/dist/layout-engine-YZcVr20M.d.ts +0 -19
- package/dist/lib/i18n-context.d.mts +0 -36
- package/dist/lib/i18n-context.d.ts +0 -36
- package/dist/lib/router-context.d.mts +0 -35
- package/dist/lib/router-context.d.ts +0 -35
- package/dist/navigation-BiWVffAN.d.mts +0 -49
- package/dist/navigation-BiWVffAN.d.ts +0 -49
- package/dist/platform/admin/index.d.mts +0 -17
- package/dist/platform/admin/index.d.ts +0 -17
- package/dist/platform/agents-workspace.d.mts +0 -19
- package/dist/platform/agents-workspace.d.ts +0 -19
- package/dist/platform/app-shell.d.mts +0 -58
- package/dist/platform/app-shell.d.ts +0 -58
- package/dist/platform/auth/index.d.mts +0 -73
- package/dist/platform/auth/index.d.ts +0 -73
- package/dist/platform/billing/index.d.mts +0 -29
- package/dist/platform/billing/index.d.ts +0 -29
- package/dist/platform/impersonation/index.d.mts +0 -19
- package/dist/platform/impersonation/index.d.ts +0 -19
- package/dist/platform/index.d.mts +0 -188
- package/dist/platform/index.d.ts +0 -188
- package/dist/platform/pages/index.d.mts +0 -526
- package/dist/platform/pages/index.d.ts +0 -526
- package/dist/platform/rbac.d.mts +0 -42
- package/dist/platform/rbac.d.ts +0 -42
- package/dist/platform/settings/index.d.mts +0 -31
- package/dist/platform/settings/index.d.ts +0 -31
- package/dist/platform/telemetry/index.d.mts +0 -51
- package/dist/platform/telemetry/index.d.ts +0 -51
- package/dist/platform/utils/index.d.mts +0 -32
- package/dist/platform/utils/index.d.ts +0 -32
- package/dist/platform/windsock-admin-client.d.mts +0 -57
- package/dist/platform/windsock-admin-client.d.ts +0 -57
- package/dist/platform/workflow-api-client.d.mts +0 -6
- package/dist/platform/workflow-api-client.d.ts +0 -6
- package/dist/platform/workflow-canvas-shell.d.mts +0 -18
- package/dist/platform/workflow-canvas-shell.d.ts +0 -18
- package/dist/rule-form-BYJzyork.d.mts +0 -128
- package/dist/rule-form-BYJzyork.d.ts +0 -128
- package/dist/workflow-api-client-CpFl3WcG.d.mts +0 -468
- package/dist/workflow-api-client-uLICOanv.d.ts +0 -468
- package/dist/workflow-canvas--qaYKuMm.d.ts +0 -113
- package/dist/workflow-canvas-B80fmD_n.d.mts +0 -113
- package/dist/workflow-store-o17I6L6A.d.ts +0 -79
- 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 };
|
package/dist/astrlabe/utils.d.ts
DELETED
|
@@ -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,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 };
|
package/dist/brand/index.d.mts
DELETED
|
@@ -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 };
|
package/dist/brand/index.d.ts
DELETED
|
@@ -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 };
|