@digitalsee-ai/rcs 2.0.3-beta → 2.0.3-beta2
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.
|
@@ -168,7 +168,11 @@ export interface FlowOutputTreeRequest {
|
|
|
168
168
|
edges?: any[];
|
|
169
169
|
}
|
|
170
170
|
export declare function apiGetFlowOutputTree(flowId: string, data: FlowOutputTreeRequest): Promise<any>;
|
|
171
|
-
export
|
|
171
|
+
export interface GlobalVariablesQuery {
|
|
172
|
+
/** 传 1 时仅返回允许流程更新的全局变量 */
|
|
173
|
+
allowFlowUpdate?: 0 | 1;
|
|
174
|
+
}
|
|
175
|
+
export declare function apiGetGlobalVariables(query?: GlobalVariablesQuery): Promise<any>;
|
|
172
176
|
/**
|
|
173
177
|
* Fetches the account model for a credential schema key.
|
|
174
178
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as v } from "react/jsx-runtime";
|
|
2
|
-
import { D as T, V as L, e as V, i as P, t as l, f as R, d as O } from "./index-
|
|
2
|
+
import { D as T, V as L, e as V, i as P, t as l, f as R, d as O } from "./index-tbqx9Tx8.mjs";
|
|
3
3
|
import { useEventEmitter as B, useReactive as W, useSize as H } from "ahooks";
|
|
4
4
|
import { FormattedMessage as $ } from "react-intl";
|
|
5
5
|
import { CloseCircleFilled as A, CheckCircleFilled as K } from "@ant-design/icons";
|
|
@@ -279,4 +279,4 @@ function $e(e) {
|
|
|
279
279
|
export {
|
|
280
280
|
$e as default
|
|
281
281
|
};
|
|
282
|
-
//# sourceMappingURL=index-
|
|
282
|
+
//# sourceMappingURL=index-WqyoKZXD.mjs.map
|
|
@@ -5484,10 +5484,14 @@ async function nN(t, e) {
|
|
|
5484
5484
|
{ flowId: t }
|
|
5485
5485
|
);
|
|
5486
5486
|
}
|
|
5487
|
-
async function Ry() {
|
|
5487
|
+
async function Ry(t = {}) {
|
|
5488
5488
|
return it("globalVariables", {
|
|
5489
5489
|
method: "GET",
|
|
5490
|
-
params: {
|
|
5490
|
+
params: {
|
|
5491
|
+
page: 1,
|
|
5492
|
+
size: 1e3,
|
|
5493
|
+
...t.allowFlowUpdate !== void 0 ? { allowFlowUpdate: t.allowFlowUpdate } : {}
|
|
5494
|
+
}
|
|
5491
5495
|
});
|
|
5492
5496
|
}
|
|
5493
5497
|
async function V0(t, e) {
|
|
@@ -9070,7 +9074,7 @@ const bd = {
|
|
|
9070
9074
|
] }, c))
|
|
9071
9075
|
}
|
|
9072
9076
|
) });
|
|
9073
|
-
}, s6 = g$(() => import("./index-
|
|
9077
|
+
}, s6 = g$(() => import("./index-WqyoKZXD.mjs")), QN = (t) => {
|
|
9074
9078
|
const e = mi({
|
|
9075
9079
|
editorVisible: !1
|
|
9076
9080
|
}), n = () => {
|
|
@@ -47747,7 +47751,13 @@ const Kne = Nt(dF, {
|
|
|
47747
47751
|
loading: d,
|
|
47748
47752
|
placeholder: t.placeholder,
|
|
47749
47753
|
showSearch: !0,
|
|
47750
|
-
|
|
47754
|
+
filterOption: (f, p) => {
|
|
47755
|
+
const v = f.trim().toLowerCase();
|
|
47756
|
+
if (!v)
|
|
47757
|
+
return !0;
|
|
47758
|
+
const b = String((p == null ? void 0 : p.label) ?? "").toLowerCase(), g = String((p == null ? void 0 : p.value) ?? "").toLowerCase();
|
|
47759
|
+
return b.includes(v) || g.includes(v);
|
|
47760
|
+
},
|
|
47751
47761
|
allowClear: !0,
|
|
47752
47762
|
disabled: e || n,
|
|
47753
47763
|
onChange: (f) => o == null ? void 0 : o(f ?? null)
|
|
@@ -51994,9 +52004,9 @@ const doe = [
|
|
|
51994
52004
|
], hoe = "[workflow:schema-render]", foe = /^\{\{([^.{}]+)\.(.+)\}\}$/, poe = async (t) => {
|
|
51995
52005
|
if (t !== hF)
|
|
51996
52006
|
return [];
|
|
51997
|
-
const e = await Ry();
|
|
51998
|
-
return ((e == null ? void 0 : e.items) ?? []).map((r) => ({
|
|
51999
|
-
label: r.display_name
|
|
52007
|
+
const e = await Ry({ allowFlowUpdate: 1 });
|
|
52008
|
+
return ((e == null ? void 0 : e.items) ?? []).filter((r) => r.allow_flow_update === 1).map((r) => ({
|
|
52009
|
+
label: r.display_name ? `${r.display_name}(${r.name})` : r.name,
|
|
52000
52010
|
value: r.name
|
|
52001
52011
|
}));
|
|
52002
52012
|
}, moe = (t) => {
|
|
@@ -71465,4 +71475,4 @@ export {
|
|
|
71465
71475
|
Fy as y,
|
|
71466
71476
|
Cwe as z
|
|
71467
71477
|
};
|
|
71468
|
-
//# sourceMappingURL=index-
|
|
71478
|
+
//# sourceMappingURL=index-tbqx9Tx8.mjs.map
|
package/dist/rcs.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as o, b as l, N as i, c as r, g as t, h as n, j as d, k as u, l as F, m as c, n as y, E as g, F as S, o as m, H as p, p as C, q as V, r as f, s as w, u as A, v as b, w as R, x as v, W as T, y as W, z as P, B as k, C as D, G as I, I as M, J as N, K as h, L as E, M as L, O, P as _, Q as x, R as B, S as G, T as U, U as j, X as q, Y as H, Z as Y, _ as z, $ as J, a0 as K, a1 as Q, a2 as X, a3 as Z, a4 as $, a5 as aa, a6 as ea, a7 as sa, a8 as oa, a9 as la, aa as ia, ab as ra, ac as ta, ad as na, ae as da, af as ua, ag as Fa, ah as ca, ai as ya } from "./index-
|
|
1
|
+
import { A as s, a as o, b as l, N as i, c as r, g as t, h as n, j as d, k as u, l as F, m as c, n as y, E as g, F as S, o as m, H as p, p as C, q as V, r as f, s as w, u as A, v as b, w as R, x as v, W as T, y as W, z as P, B as k, C as D, G as I, I as M, J as N, K as h, L as E, M as L, O, P as _, Q as x, R as B, S as G, T as U, U as j, X as q, Y as H, Z as Y, _ as z, $ as J, a0 as K, a1 as Q, a2 as X, a3 as Z, a4 as $, a5 as aa, a6 as ea, a7 as sa, a8 as oa, a9 as la, aa as ia, ab as ra, ac as ta, ad as na, ae as da, af as ua, ag as Fa, ah as ca, ai as ya } from "./index-tbqx9Tx8.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as AIFieldWrapper,
|
|
4
4
|
o as AI_FILL_VALUE,
|