@lumerahq/ui 0.7.6 → 0.8.0-dev.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.
- package/dist/RecordSheet-CI_6QC-a.js +38151 -0
- package/dist/{api-BrhR_Jjl.js → api-Da1IIWDG.js} +1 -1
- package/dist/{automations-XN4WPV_g.js → automations-BEBG7FqJ.js} +160 -26
- package/dist/components/agent-chat/AgentChat.d.ts +3 -0
- package/dist/components/agent-chat/AgentChat.d.ts.map +1 -0
- package/dist/components/agent-chat/index.d.ts +5 -0
- package/dist/components/agent-chat/index.d.ts.map +1 -0
- package/dist/components/agent-chat/lumera-agent-transport.d.ts +20 -0
- package/dist/components/agent-chat/lumera-agent-transport.d.ts.map +1 -0
- package/dist/components/agent-chat/types.d.ts +376 -0
- package/dist/components/agent-chat/types.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +8 -6
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/{formatters-Baj7FkeG.js → formatters-D4T821Dv.js} +2 -1
- package/dist/highlighted-body-OFNGDK62-38mi922Z.js +19 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +6 -5
- package/dist/hooks/use-agent-chat.d.ts +47 -0
- package/dist/hooks/use-agent-chat.d.ts.map +1 -0
- package/dist/index.js +51 -45
- package/dist/lib/bridge.d.ts +71 -5
- package/dist/lib/bridge.d.ts.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +29 -26
- package/dist/logo.svg +15 -0
- package/dist/mermaid-GHXKKRXX-CdpO_nzu.js +4 -0
- package/dist/ui.css +254 -2
- package/dist/use-automation-run-rhYZZhj7.js +746 -0
- package/dist/{use-sql-table-B7C06_An.js → use-sql-table-1EiZ9qCa.js} +2 -2
- package/package.json +2 -1
- package/dist/RecordSheet-BvHHP8P4.js +0 -12241
- package/dist/logo.png +0 -0
- package/dist/lumera-logo.png +0 -0
- package/dist/use-automation-run-Cecvf4Aq.js +0 -134
package/dist/index.js
CHANGED
|
@@ -1,34 +1,37 @@
|
|
|
1
|
-
import { A, a, D,
|
|
2
|
-
import { u, a as a2
|
|
3
|
-
import { u as u2 } from "./use-
|
|
4
|
-
import { B, E,
|
|
5
|
-
import { g as g2, a as
|
|
6
|
-
import { o as o2, f as f3, a as
|
|
1
|
+
import { A, a, b, D, d, e, R, c } from "./RecordSheet-CI_6QC-a.js";
|
|
2
|
+
import { u, a as a2 } from "./use-automation-run-rhYZZhj7.js";
|
|
3
|
+
import { u as u2, a as a3, b as b2, c as c2, d as d2, e as e2 } from "./use-sql-table-1EiZ9qCa.js";
|
|
4
|
+
import { B, E, e as e3, f, h, j, c as c3, k, l, m, n, g, q, r, t, u as u3, w, v, a as a4, x, i, y, z, A as A2, C, D as D2, o, p, b as b3, F, G, d as d3, s } from "./automations-BEBG7FqJ.js";
|
|
5
|
+
import { g as g2, a as a5, p as p2, b as b4, c as c4, d as d4, e as e4, f as f2, h as h2, i as i2, j as j2, k as k2, l as l2, s as s2, u as u4 } from "./api-Da1IIWDG.js";
|
|
6
|
+
import { o as o2, f as f3, a as a6, b as b5, c as c5, d as d5, e as e5, g as g3, h as h3, i as i3, j as j3, k as k3, l as l3, m as m2, n as n2, s as s3 } from "./formatters-D4T821Dv.js";
|
|
7
7
|
import { q as q2 } from "./query-client-DdOWay4_.js";
|
|
8
8
|
export {
|
|
9
|
-
A as
|
|
10
|
-
a as
|
|
9
|
+
A as AgentChat,
|
|
10
|
+
a as AutomationRunList,
|
|
11
|
+
b as AutomationRunner,
|
|
11
12
|
B as BridgeError,
|
|
12
13
|
D as DataTable,
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
d as DataTableFilters,
|
|
15
|
+
e as DataTablePagination,
|
|
15
16
|
E as EXPECTED_PARENT_ORIGIN,
|
|
16
17
|
R as RecordSheet,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
e3 as automationStatuses,
|
|
19
|
+
f as cancelAutomationRun,
|
|
20
|
+
h as cancelRun,
|
|
21
|
+
j as clearAutomationCache,
|
|
21
22
|
o2 as cn,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
l as
|
|
23
|
+
c3 as configureBridge,
|
|
24
|
+
k as createAutomationRun,
|
|
25
|
+
c as createLumeraAgentChatTransport,
|
|
26
|
+
l as createRun,
|
|
27
|
+
m as ensureAutomationRun,
|
|
28
|
+
n as ensureRun,
|
|
26
29
|
f3 as formatBoolean,
|
|
27
|
-
|
|
30
|
+
a6 as formatCellValue,
|
|
28
31
|
b5 as formatCurrency,
|
|
29
32
|
c5 as formatDate,
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
d5 as formatDateTime,
|
|
34
|
+
e5 as formatEditor,
|
|
32
35
|
g3 as formatFile,
|
|
33
36
|
h3 as formatFileSize,
|
|
34
37
|
i3 as formatJson,
|
|
@@ -38,47 +41,50 @@ export {
|
|
|
38
41
|
m2 as formatSelect,
|
|
39
42
|
n2 as formatText,
|
|
40
43
|
g as getAppProjectExternalId,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
q as getAutomationByExternalId,
|
|
45
|
+
r as getAutomationRun,
|
|
46
|
+
t as getAutomationRunFileDownloadUrl,
|
|
44
47
|
g2 as getDownloadUrl,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
u3 as getRun,
|
|
49
|
+
w as getRunFileUrl,
|
|
50
|
+
v as getRunFiles,
|
|
51
|
+
a4 as getShareableAppUrl,
|
|
52
|
+
a5 as getUploadUrl,
|
|
53
|
+
x as isActiveStatus,
|
|
51
54
|
i as isEmbedded,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
y as isTerminalStatus,
|
|
56
|
+
z as listAutomationRunFiles,
|
|
57
|
+
A2 as listRuns,
|
|
58
|
+
C as listRunsByAgent,
|
|
59
|
+
D2 as listRunsByExternalId,
|
|
57
60
|
o as onInitMessage,
|
|
58
61
|
p as parentApiRequest,
|
|
62
|
+
b3 as parentApiStream,
|
|
59
63
|
p2 as pbBulkDelete,
|
|
60
64
|
b4 as pbBulkUpdate,
|
|
61
65
|
c4 as pbCreate,
|
|
62
|
-
|
|
63
|
-
|
|
66
|
+
d4 as pbDelete,
|
|
67
|
+
e4 as pbGet,
|
|
64
68
|
f2 as pbList,
|
|
65
69
|
h2 as pbSearch,
|
|
66
70
|
i2 as pbSql,
|
|
67
71
|
j2 as pbUpdate,
|
|
68
72
|
k2 as pbUpdateRecord,
|
|
69
73
|
l2 as pbUpsert,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
F as pollAutomationRun,
|
|
75
|
+
G as pollRun,
|
|
76
|
+
d3 as postReadyMessage,
|
|
73
77
|
q2 as queryClient,
|
|
74
78
|
s2 as sendEmail,
|
|
79
|
+
s as serializeBridgeRuntimeConfig,
|
|
75
80
|
s3 as stripHtml,
|
|
76
81
|
u4 as uploadFile,
|
|
77
|
-
u as
|
|
78
|
-
u2 as
|
|
79
|
-
a2 as
|
|
82
|
+
u as useAgentChat,
|
|
83
|
+
u2 as useAutomationAgent,
|
|
84
|
+
a2 as useAutomationRun,
|
|
85
|
+
a3 as useFileUpload,
|
|
80
86
|
b2 as useLumeraUser,
|
|
81
87
|
c2 as usePbSql,
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
d2 as usePbUpdate,
|
|
89
|
+
e2 as useSqlTable
|
|
84
90
|
};
|
package/dist/lib/bridge.d.ts
CHANGED
|
@@ -8,22 +8,35 @@
|
|
|
8
8
|
* - Standalone dev mode for local development
|
|
9
9
|
*
|
|
10
10
|
* Future cleanup direction:
|
|
11
|
-
* - Prefer
|
|
11
|
+
* - Prefer runtime bridge config over build-time env injection for custom
|
|
12
|
+
* parent origins. Hosts can provide runtime config via the iframe `name`
|
|
13
|
+
* payload, and apps can extend it programmatically with `configureBridge()`.
|
|
14
|
+
* - Prefer `VITE_PARENT_ORIGINS` over `VITE_PARENT_ORIGIN` for all remaining
|
|
15
|
+
* env-based configuration.
|
|
12
16
|
* - Prefer the allowlist model (`EXPECTED_PARENT_ORIGINS`) over the singular
|
|
13
17
|
* compatibility export (`EXPECTED_PARENT_ORIGIN`).
|
|
14
|
-
* - Once all downstream apps/configs have migrated to
|
|
15
|
-
* external consumers import `EXPECTED_PARENT_ORIGIN`, we can deprecate
|
|
16
|
-
* remove:
|
|
18
|
+
* - Once all downstream apps/configs have migrated to runtime/plural config and
|
|
19
|
+
* no external consumers import `EXPECTED_PARENT_ORIGIN`, we can deprecate
|
|
20
|
+
* then remove:
|
|
17
21
|
* - `VITE_PARENT_ORIGIN`
|
|
18
22
|
* - `EXPECTED_PARENT_ORIGIN`
|
|
19
23
|
* - That removal should happen only in a deliberate breaking release after:
|
|
20
|
-
* 1. templates and docs use only `VITE_PARENT_ORIGINS`
|
|
24
|
+
* 1. templates and docs use only runtime config and/or `VITE_PARENT_ORIGINS`
|
|
21
25
|
* 2. published Lumera apps no longer depend on the singular export/env var
|
|
22
26
|
* 3. a major/minor migration note is shipped for external consumers
|
|
23
27
|
*
|
|
24
28
|
* @module bridge
|
|
25
29
|
*/
|
|
26
30
|
export declare const EXPECTED_PARENT_ORIGIN: any;
|
|
31
|
+
export type BridgeRuntimeConfig = {
|
|
32
|
+
/** Additional trusted parent origins/patterns resolved at runtime. */
|
|
33
|
+
parentOrigins?: string[];
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Serialize bridge runtime config into an iframe `name` token.
|
|
37
|
+
* Hosts can append this token to the iframe `name` before loading the app.
|
|
38
|
+
*/
|
|
39
|
+
export declare const serializeBridgeRuntimeConfig: (config: BridgeRuntimeConfig) => string;
|
|
27
40
|
/**
|
|
28
41
|
* Payload received from the parent during initialization.
|
|
29
42
|
* Contains company, user, and session information.
|
|
@@ -65,6 +78,10 @@ export type BridgeRequest = {
|
|
|
65
78
|
body?: unknown;
|
|
66
79
|
/** If true, body is base64-encoded binary data (for file uploads) */
|
|
67
80
|
isBase64?: boolean;
|
|
81
|
+
/** Multipart filename when the base64 body should be sent as a form file. */
|
|
82
|
+
fileName?: string;
|
|
83
|
+
/** Multipart field name for fileName uploads. Defaults to `file`. */
|
|
84
|
+
formFieldName?: string;
|
|
68
85
|
/** Request timeout in milliseconds (default: 15000) */
|
|
69
86
|
timeout?: number;
|
|
70
87
|
};
|
|
@@ -83,6 +100,39 @@ export type BridgeResponse = {
|
|
|
83
100
|
/** Error message if request failed */
|
|
84
101
|
error?: string;
|
|
85
102
|
};
|
|
103
|
+
/** Initial response metadata for a streaming bridge request. */
|
|
104
|
+
export type BridgeStreamOpen = {
|
|
105
|
+
id: string;
|
|
106
|
+
ok: boolean;
|
|
107
|
+
status: number;
|
|
108
|
+
headers?: Record<string, string>;
|
|
109
|
+
};
|
|
110
|
+
/** Incremental response payload sent from the parent to the iframe. */
|
|
111
|
+
export type BridgeStreamResponse = ({
|
|
112
|
+
type: 'open';
|
|
113
|
+
} & BridgeStreamOpen) | {
|
|
114
|
+
id: string;
|
|
115
|
+
type: 'chunk';
|
|
116
|
+
chunk: string;
|
|
117
|
+
} | {
|
|
118
|
+
id: string;
|
|
119
|
+
type: 'close';
|
|
120
|
+
} | {
|
|
121
|
+
id: string;
|
|
122
|
+
type: 'error';
|
|
123
|
+
status?: number;
|
|
124
|
+
error: string;
|
|
125
|
+
};
|
|
126
|
+
export interface BridgeStreamHandlers {
|
|
127
|
+
onOpen?: (response: BridgeStreamOpen) => void;
|
|
128
|
+
onChunk: (chunk: string) => void;
|
|
129
|
+
onError?: (error: BridgeError) => void;
|
|
130
|
+
onClose?: () => void;
|
|
131
|
+
}
|
|
132
|
+
export interface BridgeStream {
|
|
133
|
+
id: string;
|
|
134
|
+
close: () => void;
|
|
135
|
+
}
|
|
86
136
|
/**
|
|
87
137
|
* Custom error class for bridge-related errors.
|
|
88
138
|
*/
|
|
@@ -108,6 +158,13 @@ export declare function getAppProjectExternalId(): string | undefined;
|
|
|
108
158
|
export declare function getShareableAppUrl(options?: {
|
|
109
159
|
absolute?: boolean;
|
|
110
160
|
}): string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Extend bridge runtime config for the current page load.
|
|
163
|
+
*
|
|
164
|
+
* This is the preferred escape hatch when a host needs to add trusted parent
|
|
165
|
+
* origins at runtime without relying on build-time `import.meta.env` values.
|
|
166
|
+
*/
|
|
167
|
+
export declare const configureBridge: (config: BridgeRuntimeConfig) => void;
|
|
111
168
|
/**
|
|
112
169
|
* Check if the app is running embedded in an iframe.
|
|
113
170
|
*
|
|
@@ -167,4 +224,13 @@ export declare const onInitMessage: (listener: (payload: HostPayload | undefined
|
|
|
167
224
|
* }
|
|
168
225
|
*/
|
|
169
226
|
export declare const parentApiRequest: (request: BridgeRequest) => Promise<BridgeResponse>;
|
|
227
|
+
/**
|
|
228
|
+
* Open a streaming API request through the parent application.
|
|
229
|
+
*
|
|
230
|
+
* Unlike `parentApiRequest`, this does not buffer the response body. The parent
|
|
231
|
+
* reads the response stream and forwards text chunks to the iframe as they
|
|
232
|
+
* arrive. This is intended for SSE/NDJSON style endpoints such as Lumera agent
|
|
233
|
+
* `/live/stream`.
|
|
234
|
+
*/
|
|
235
|
+
export declare const parentApiStream: (request: BridgeRequest, handlers: BridgeStreamHandlers) => BridgeStream;
|
|
170
236
|
//# sourceMappingURL=bridge.d.ts.map
|
package/dist/lib/bridge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../src/lib/bridge.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../src/lib/bridge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;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
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @lumerahq/ui/lib
|
|
5
5
|
*/
|
|
6
|
-
export { BridgeError, type BridgeRequest, type BridgeResponse, EXPECTED_PARENT_ORIGIN, getAppProjectExternalId, getShareableAppUrl, type HostPayload, isEmbedded, onInitMessage, parentApiRequest, postReadyMessage, } from './bridge';
|
|
6
|
+
export { BridgeError, type BridgeRequest, type BridgeResponse, type BridgeRuntimeConfig, type BridgeStream, type BridgeStreamHandlers, type BridgeStreamOpen, type BridgeStreamResponse, configureBridge, EXPECTED_PARENT_ORIGIN, getAppProjectExternalId, getShareableAppUrl, type HostPayload, isEmbedded, onInitMessage, parentApiRequest, parentApiStream, postReadyMessage, serializeBridgeRuntimeConfig, } from './bridge';
|
|
7
7
|
export { type EmailSendRequest, type EmailSendResult, type FileDescriptor, getDownloadUrl, getUploadUrl, type PbBulkResult, type PbListOptions, type PbListResponse, type PbRecord, type PbSqlRequest, type PbSqlResponse, pbBulkDelete, pbBulkUpdate, pbCreate, pbDelete, pbGet, pbList, pbSearch, pbSql, pbUpdate, pbUpdateRecord, pbUpsert, sendEmail, type UploadOptions, type UploadUrlResponse, uploadFile, } from './api';
|
|
8
8
|
export { type Automation, type AutomationRun, type AutomationRunFile, type AutomationStatus, automationStatuses, type CreateRunOptions, cancelAutomationRun, cancelRun, clearAutomationCache, createAutomationRun, createRun, ensureAutomationRun, ensureRun, getAutomationByExternalId, getAutomationRun, getAutomationRunFileDownloadUrl, getRun, getRunFiles, getRunFileUrl, isActiveStatus, isTerminalStatus, type LegacyCreateRunOptions, type ListRunsOptions, listAutomationRunFiles, listRuns, listRunsByAgent, listRunsByExternalId, type PollOptions, pollAutomationRun, pollRun, } from './automations';
|
|
9
9
|
export { type ColumnType, type FileDescriptor as FormatterFileDescriptor, type FormatOptions, formatBoolean, formatCellValue, formatCurrency, formatDate, formatDateTime, formatEditor, formatFile, formatFileSize, formatJson, formatNumber, formatPercent, formatRelation, formatSelect, formatText, stripHtml, } from './formatters';
|
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAEL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAEL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EAEzB,eAAe,EAEf,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAElB,KAAK,WAAW,EAChB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAMlB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,cAAc,EAEd,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EAEnB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,YAAY,EAEZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EAER,KAAK,EACL,MAAM,EACN,QAAQ,EAER,KAAK,EACL,QAAQ,EAER,cAAc,EACd,QAAQ,EAER,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,UAAU,GACX,MAAM,OAAO,CAAC;AAMf,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,mBAAmB,EACnB,SAAS,EAET,oBAAoB,EAEpB,mBAAmB,EAEnB,SAAS,EACT,mBAAmB,EACnB,SAAS,EAET,yBAAyB,EACzB,gBAAgB,EAChB,+BAA+B,EAC/B,MAAM,EAEN,WAAW,EACX,aAAa,EACb,cAAc,EAEd,gBAAgB,EAChB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,sBAAsB,EACtB,QAAQ,EACR,eAAe,EACf,oBAAoB,EACpB,KAAK,WAAW,EAChB,iBAAiB,EACjB,OAAO,GACR,MAAM,eAAe,CAAC;AAMvB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,cAAc,IAAI,uBAAuB,EAC9C,KAAK,aAAa,EAClB,aAAa,EACb,eAAe,EACf,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACZ,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,YAAY,EACZ,UAAU,EACV,SAAS,GACV,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAM7C,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/lib/index.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { B, E,
|
|
2
|
-
import { g as g2, a as a2, p as p2, b as b2, c as c2, d as d2, e as e2, f as f2, h as h2, i as i2, j as j2, k as k2, l as l2, s as s2, u as u2 } from "../api-
|
|
3
|
-
import { o as o2, f as f3, a as a3, b as b3, c as c3, d as d3, e as e3, g as g3, h as h3, i as i3, j as j3, k as k3, l as l3, m as m2, n as n2, s as s3 } from "../formatters-
|
|
1
|
+
import { B, E, e, f, h, j, c, k, l, m, n, g, q, r, t, u, w, v, a, x, i, y, z, A, C, D, o, p, b, F, G, d, s } from "../automations-BEBG7FqJ.js";
|
|
2
|
+
import { g as g2, a as a2, p as p2, b as b2, c as c2, d as d2, e as e2, f as f2, h as h2, i as i2, j as j2, k as k2, l as l2, s as s2, u as u2 } from "../api-Da1IIWDG.js";
|
|
3
|
+
import { o as o2, f as f3, a as a3, b as b3, c as c3, d as d3, e as e3, g as g3, h as h3, i as i3, j as j3, k as k3, l as l3, m as m2, n as n2, s as s3 } from "../formatters-D4T821Dv.js";
|
|
4
4
|
import { q as q2 } from "../query-client-DdOWay4_.js";
|
|
5
5
|
export {
|
|
6
6
|
B as BridgeError,
|
|
7
7
|
E as EXPECTED_PARENT_ORIGIN,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
e as automationStatuses,
|
|
9
|
+
f as cancelAutomationRun,
|
|
10
|
+
h as cancelRun,
|
|
11
|
+
j as clearAutomationCache,
|
|
12
12
|
o2 as cn,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
c as configureBridge,
|
|
14
|
+
k as createAutomationRun,
|
|
15
|
+
l as createRun,
|
|
16
|
+
m as ensureAutomationRun,
|
|
17
|
+
n as ensureRun,
|
|
17
18
|
f3 as formatBoolean,
|
|
18
19
|
a3 as formatCellValue,
|
|
19
20
|
b3 as formatCurrency,
|
|
@@ -29,24 +30,25 @@ export {
|
|
|
29
30
|
m2 as formatSelect,
|
|
30
31
|
n2 as formatText,
|
|
31
32
|
g as getAppProjectExternalId,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
q as getAutomationByExternalId,
|
|
34
|
+
r as getAutomationRun,
|
|
35
|
+
t as getAutomationRunFileDownloadUrl,
|
|
35
36
|
g2 as getDownloadUrl,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
u as getRun,
|
|
38
|
+
w as getRunFileUrl,
|
|
39
|
+
v as getRunFiles,
|
|
39
40
|
a as getShareableAppUrl,
|
|
40
41
|
a2 as getUploadUrl,
|
|
41
|
-
|
|
42
|
+
x as isActiveStatus,
|
|
42
43
|
i as isEmbedded,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
y as isTerminalStatus,
|
|
45
|
+
z as listAutomationRunFiles,
|
|
46
|
+
A as listRuns,
|
|
47
|
+
C as listRunsByAgent,
|
|
48
|
+
D as listRunsByExternalId,
|
|
48
49
|
o as onInitMessage,
|
|
49
50
|
p as parentApiRequest,
|
|
51
|
+
b as parentApiStream,
|
|
50
52
|
p2 as pbBulkDelete,
|
|
51
53
|
b2 as pbBulkUpdate,
|
|
52
54
|
c2 as pbCreate,
|
|
@@ -58,11 +60,12 @@ export {
|
|
|
58
60
|
j2 as pbUpdate,
|
|
59
61
|
k2 as pbUpdateRecord,
|
|
60
62
|
l2 as pbUpsert,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
F as pollAutomationRun,
|
|
64
|
+
G as pollRun,
|
|
65
|
+
d as postReadyMessage,
|
|
64
66
|
q2 as queryClient,
|
|
65
67
|
s2 as sendEmail,
|
|
68
|
+
s as serializeBridgeRuntimeConfig,
|
|
66
69
|
s3 as stripHtml,
|
|
67
70
|
u2 as uploadFile
|
|
68
71
|
};
|
package/dist/logo.svg
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" role="img" aria-label="Lumera">
|
|
2
|
+
<circle cx="20" cy="20" r="8" stroke="#c85a24" stroke-width="4" fill="none" />
|
|
3
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(0 20 20)" />
|
|
4
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(30 20 20)" />
|
|
5
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(60 20 20)" />
|
|
6
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(90 20 20)" />
|
|
7
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(120 20 20)" />
|
|
8
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(150 20 20)" />
|
|
9
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(180 20 20)" />
|
|
10
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(210 20 20)" />
|
|
11
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(240 20 20)" />
|
|
12
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(270 20 20)" />
|
|
13
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(300 20 20)" />
|
|
14
|
+
<rect x="18" y="2" width="4" height="5" rx="0.5" fill="#c85a24" transform="rotate(330 20 20)" />
|
|
15
|
+
</svg>
|