@boltic/swirl 1.0.2-sit.76 → 1.0.2-sit.78
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/swirl.es.js +220 -73
- package/dist/swirl.umd.js +3 -3
- package/package.json +1 -1
package/dist/swirl.es.js
CHANGED
|
@@ -9476,7 +9476,7 @@ function efe() {
|
|
|
9476
9476
|
}
|
|
9477
9477
|
var tfe = efe();
|
|
9478
9478
|
const Ea = /* @__PURE__ */ ai(tfe);
|
|
9479
|
-
var am = /* @__PURE__ */ ((e) => (e.DRAFT = "draft", e.PUBLISHED = "published", e))(am || {}), hS = /* @__PURE__ */ ((e) => (e.SCHEDULED = "scheduled", e))(hS || {}), nt = /* @__PURE__ */ ((e) => (e.CLOUD_TRIGGER = "CloudTrigger", e.WEBHOOK = "webhook", e.FP_WEBHOOK = "fp_webhook", e.HTTP = "http", e.MCP = "mcp", e.COPILOT_WEBHOOK = "CopilotWebhook", e.SCHEDULE = "schedule", e.CALENDLY = "calendly", e.LOOP = "loop", e.PARALLEL = "parallel", e.IF = "ifActivity", e.SWITCH = "switchActivity", e.SLEEP = "sleep", e.MAPPER = "mapper", e.API = "apiActivity", e.GRAPHQL = "graphql", e.FUNCTION = "functionActivity", e.EXECUTE_CHILD_WORKFLOW = "executeChildWorkflow", e.EMAIL = "emailActivity", e.GPT = "gpt", e.RESPONSE = "response", e.MONITOR = "monitor", e.CONVERTER = "converterActivity", e.BOLTIC_STORAGE = "boltic_storage", e.BOLTIC_STORAGE_ACTIVITY = "bolticStorageActivity", e.BOLTIC_TABLE = "boltic_table", e.BOLTIC_TABLE_ACTIVITY = "bolticTableActivity", e.CLOUD_DATABASE = "CloudDatabase", e.CUSTOM_ACTIVITY = "customActivity", e.SERVERLESS = "serverless", e.APPLICATION_FDK_ACTIVITY = "applicationFdkActivity", e.PLATFORM_FDK_ACTIVITY = "platformFdkActivity", e.SLACK_ACTIVITY = "slackActivity", e.SLACK_TRIGGER = "slack_trigger", e.GMAIL_TRIGGER = "gmail_trigger", e.GMAIL_ACTIVITY = "gmailActivity", e.GOOGLE_SHEETS_READ = "googleSheetsReadActivity", e.GOOGLE_SHEETS_WRITE = "googleSheetsWriteActivity", e.GOOGLE_CALENDAR = "googleCalendarActivity", e.GOOGLE_MEET = "googleMeet", e.TEMPLATE = "template", e.LOGCONSOLE = "logConsole", e.
|
|
9479
|
+
var am = /* @__PURE__ */ ((e) => (e.DRAFT = "draft", e.PUBLISHED = "published", e))(am || {}), hS = /* @__PURE__ */ ((e) => (e.SCHEDULED = "scheduled", e))(hS || {}), nt = /* @__PURE__ */ ((e) => (e.CLOUD_TRIGGER = "CloudTrigger", e.WEBHOOK = "webhook", e.FP_WEBHOOK = "fp_webhook", e.HTTP = "http", e.MCP = "mcp", e.COPILOT_WEBHOOK = "CopilotWebhook", e.SCHEDULE = "schedule", e.CALENDLY = "calendly", e.LOOP = "loop", e.PARALLEL = "parallel", e.IF = "ifActivity", e.SWITCH = "switchActivity", e.SLEEP = "sleep", e.MAPPER = "mapper", e.API = "apiActivity", e.GRAPHQL = "graphql", e.FUNCTION = "functionActivity", e.EXECUTE_CHILD_WORKFLOW = "executeChildWorkflow", e.EMAIL = "emailActivity", e.GPT = "gpt", e.RESPONSE = "response", e.MONITOR = "monitor", e.CONVERTER = "converterActivity", e.BOLTIC_STORAGE = "boltic_storage", e.BOLTIC_STORAGE_ACTIVITY = "bolticStorageActivity", e.BOLTIC_TABLE = "boltic_table", e.BOLTIC_TABLE_ACTIVITY = "bolticTableActivity", e.CLOUD_DATABASE = "CloudDatabase", e.CUSTOM_ACTIVITY = "customActivity", e.SERVERLESS = "serverless", e.APPLICATION_FDK_ACTIVITY = "applicationFdkActivity", e.PLATFORM_FDK_ACTIVITY = "platformFdkActivity", e.SLACK_ACTIVITY = "slackActivity", e.SLACK_TRIGGER = "slack_trigger", e.GMAIL_TRIGGER = "gmail_trigger", e.GMAIL_ACTIVITY = "gmailActivity", e.GOOGLE_SHEETS_READ = "googleSheetsReadActivity", e.GOOGLE_SHEETS_WRITE = "googleSheetsWriteActivity", e.GOOGLE_CALENDAR = "googleCalendarActivity", e.GOOGLE_MEET = "googleMeet", e.TEMPLATE = "template", e.LOGCONSOLE = "logConsole", e.FYND_KONNECT = "FyndKonnect", e.FYND_ENGAGE = "FyndEngage", e.FYND_AIPIM = "FyndAIPIM", e.FYND_COMMERCE_B2B = "FyndCommerceB2B", e.FYND_TMS = "FyndTMS", e))(nt || {}), fA = /* @__PURE__ */ ((e) => (e.BATCHED = "batched", e.SEQUENTIAL = "sequential", e.PARALLEL = "parallel", e))(fA || {}), J0 = /* @__PURE__ */ ((e) => (e.TEXT = "text", e.BLOCKS = "blocks", e))(J0 || {}), Ts = /* @__PURE__ */ ((e) => (e.SEND_PUBLIC_CHANNEL_MESSAGE = "send_public_channel_message", e.SEND_PRIVATE_CHANNEL_MESSAGE = "send_private_channel_message", e.SEND_USER_MESSAGE = "send_user_message", e.SET_CHANNEL_TOPIC = "set_channel_topic", e.INVITE_USERS = "invite_users", e.FIND_BY_EMAIL = "find_by_email", e.CUSTOM = "custom", e))(Ts || {}), bc = /* @__PURE__ */ ((e) => (e.NONE = "none", e.AUTHENTICATION = "auth", e))(bc || {}), fv = /* @__PURE__ */ ((e) => (e.AUTHENTICATION = "AUTHENTICATION", e))(fv || {}), MQ = /* @__PURE__ */ ((e) => (e.SOURCE = "SOURCE", e))(MQ || {});
|
|
9480
9480
|
const MC = {
|
|
9481
9481
|
http: {
|
|
9482
9482
|
methods: "The HTTP Method to be used for triggering the Workflow",
|
|
@@ -9777,9 +9777,15 @@ const MC = {
|
|
|
9777
9777
|
bolticStorageActivity: {
|
|
9778
9778
|
event: "Select an event",
|
|
9779
9779
|
file_content: "URL, content, or Base64-encoded data for the file.",
|
|
9780
|
+
file_path: "Path of the file in Boltic Storage.",
|
|
9781
|
+
file_paths: "Enter one or more file paths. Use comma or newline to pass multiple files.",
|
|
9780
9782
|
folder_name: "The folder will be created exclusively at the root level.",
|
|
9781
9783
|
folder_path: "If left blank, the file will be saved to the root location by default",
|
|
9782
|
-
|
|
9784
|
+
is_public_permanent: "Makes the uploaded file publicly accessible through its public URL.",
|
|
9785
|
+
expire_in: "Enter minutes, If left blank, default is 60 minutes. Expiry should be between 1 minute to 10080 minutes",
|
|
9786
|
+
ttl_seconds: "Optional cache TTL, in seconds, when making a file public.",
|
|
9787
|
+
page_size: "Maximum number of files/folders to return.",
|
|
9788
|
+
next_page_token: "Leave blank for the first page. To fetch the next page, pass next_page_token from the previous List Files/Folders result."
|
|
9783
9789
|
},
|
|
9784
9790
|
monitor: {
|
|
9785
9791
|
events: "Choose monitoring event(s) to trigger your workflow.",
|
|
@@ -11891,12 +11897,32 @@ const Tfe = (e = w6, t) => {
|
|
|
11891
11897
|
{ value: 10, title: "10" }
|
|
11892
11898
|
], k6 = [
|
|
11893
11899
|
{
|
|
11894
|
-
title: "
|
|
11900
|
+
title: "Upload file",
|
|
11901
|
+
value: "upload_file"
|
|
11902
|
+
},
|
|
11903
|
+
{
|
|
11904
|
+
title: "Download file",
|
|
11905
|
+
value: "download_file"
|
|
11906
|
+
},
|
|
11907
|
+
{
|
|
11908
|
+
title: "Create folder",
|
|
11895
11909
|
value: "create_folder"
|
|
11896
11910
|
},
|
|
11897
11911
|
{
|
|
11898
|
-
title: "
|
|
11899
|
-
value: "
|
|
11912
|
+
title: "List files and folders",
|
|
11913
|
+
value: "list_files"
|
|
11914
|
+
},
|
|
11915
|
+
{
|
|
11916
|
+
title: "Make files public",
|
|
11917
|
+
value: "make_file_public"
|
|
11918
|
+
},
|
|
11919
|
+
{
|
|
11920
|
+
title: "Make files private",
|
|
11921
|
+
value: "make_file_private"
|
|
11922
|
+
},
|
|
11923
|
+
{
|
|
11924
|
+
title: "Delete files or folders",
|
|
11925
|
+
value: "delete_file"
|
|
11900
11926
|
}
|
|
11901
11927
|
], spe = [
|
|
11902
11928
|
{
|
|
@@ -12056,7 +12082,11 @@ const Tfe = (e = w6, t) => {
|
|
|
12056
12082
|
trigger: {
|
|
12057
12083
|
events: {
|
|
12058
12084
|
"storage.file.uploaded": "File Uploaded",
|
|
12059
|
-
"storage.
|
|
12085
|
+
"storage.file.deleted": "File Deleted",
|
|
12086
|
+
"storage.file.public": "File Made Public",
|
|
12087
|
+
"storage.file.private": "File Made Private",
|
|
12088
|
+
"storage.folder.created": "Folder Created",
|
|
12089
|
+
"storage.folder.deleted": "Folder Deleted"
|
|
12060
12090
|
},
|
|
12061
12091
|
default: "Select an event"
|
|
12062
12092
|
}
|
|
@@ -12354,8 +12384,13 @@ const Tfe = (e = w6, t) => {
|
|
|
12354
12384
|
bolticStorageActivity: {
|
|
12355
12385
|
integration: {
|
|
12356
12386
|
event: {
|
|
12357
|
-
|
|
12358
|
-
|
|
12387
|
+
upload_file: "Upload file",
|
|
12388
|
+
download_file: "Download file",
|
|
12389
|
+
create_folder: "Create folder",
|
|
12390
|
+
list_files: "List files and folders",
|
|
12391
|
+
make_file_public: "Make files public",
|
|
12392
|
+
make_file_private: "Make files private",
|
|
12393
|
+
delete_file: "Delete files or folders"
|
|
12359
12394
|
},
|
|
12360
12395
|
default: "Select an event"
|
|
12361
12396
|
}
|
|
@@ -97666,8 +97701,16 @@ const AU = 40, uje = 400, dje = re.forwardRef(
|
|
|
97666
97701
|
] })
|
|
97667
97702
|
] });
|
|
97668
97703
|
}), mU = {
|
|
97669
|
-
Folder: [
|
|
97670
|
-
|
|
97704
|
+
Folder: [
|
|
97705
|
+
{ name: "Created", value: "storage.folder.created" },
|
|
97706
|
+
{ name: "Deleted", value: "storage.folder.deleted" }
|
|
97707
|
+
],
|
|
97708
|
+
File: [
|
|
97709
|
+
{ name: "Uploaded", value: "storage.file.uploaded" },
|
|
97710
|
+
{ name: "Deleted", value: "storage.file.deleted" },
|
|
97711
|
+
{ name: "Made Public", value: "storage.file.public" },
|
|
97712
|
+
{ name: "Made Private", value: "storage.file.private" }
|
|
97713
|
+
]
|
|
97671
97714
|
}, yje = Nr((e, t) => {
|
|
97672
97715
|
const { viewOnly: r = !1 } = e, { setValue: n } = Wr(), { control: i } = Wr(), o = {
|
|
97673
97716
|
"storage.file.uploaded": "Workflow will be triggered when a new file is uploaded to the boltic storage.",
|
|
@@ -97722,25 +97765,41 @@ const AU = 40, uje = 400, dje = re.forwardRef(
|
|
|
97722
97765
|
file_name: "",
|
|
97723
97766
|
folder_path: "",
|
|
97724
97767
|
overwrite: !1,
|
|
97725
|
-
is_public: !1
|
|
97726
|
-
|
|
97768
|
+
is_public: !1,
|
|
97769
|
+
is_public_permanent: !1
|
|
97770
|
+
}, c = {
|
|
97771
|
+
file_paths: "",
|
|
97772
|
+
ttl_seconds: ""
|
|
97773
|
+
}, u = {
|
|
97774
|
+
file_path: ""
|
|
97775
|
+
}, f = {
|
|
97776
|
+
folder_path: "",
|
|
97777
|
+
page_size: "",
|
|
97778
|
+
next_page_token: ""
|
|
97779
|
+
}, { id: p, isLoop: h = !1, viewOnly: A = !1, type: g } = e, m = (O) => (v) => {
|
|
97727
97780
|
if (s?.event === "upload_file") {
|
|
97728
|
-
if (
|
|
97729
|
-
if (
|
|
97781
|
+
if (O === "file_name") {
|
|
97782
|
+
if (v?.trim() === "")
|
|
97730
97783
|
return "File name is required";
|
|
97731
|
-
if (
|
|
97784
|
+
if (v?.trim()?.includes("/"))
|
|
97732
97785
|
return "'/' is not allowed in file name.";
|
|
97733
97786
|
}
|
|
97734
|
-
return
|
|
97735
|
-
} else
|
|
97736
|
-
if (
|
|
97737
|
-
return "
|
|
97738
|
-
|
|
97739
|
-
|
|
97740
|
-
|
|
97787
|
+
return O === "file_content" && v?.trim() === "" ? "File content is required" : O === "expire_in" && (v < 1 || v > 10080) ? "Expiry values between 1 to 10080 are accepted." : !0;
|
|
97788
|
+
} else {
|
|
97789
|
+
if (["delete_file", "make_file_public", "make_file_private"].includes(s?.event))
|
|
97790
|
+
return O === "file_paths" && v?.trim() === "" ? "File path is required" : !0;
|
|
97791
|
+
if (s?.event === "download_file")
|
|
97792
|
+
return O === "file_path" && v?.trim() === "" ? "File path is required" : !0;
|
|
97793
|
+
if (s?.event === "create_folder") {
|
|
97794
|
+
if (v?.trim() === "")
|
|
97795
|
+
return "Folder name can not be empty";
|
|
97796
|
+
const y = /^[A-Za-z0-9 _-]*$/, b = /{{[^{}]+}}/g, x = v.replace(b, "");
|
|
97797
|
+
if (!vpe(v) && !y.test(x))
|
|
97798
|
+
return "Folder name should not contain special characters [!@#$%^&*()+{}[]:;<>,.?~/].";
|
|
97799
|
+
}
|
|
97741
97800
|
}
|
|
97742
97801
|
return !0;
|
|
97743
|
-
},
|
|
97802
|
+
}, E = () => ({
|
|
97744
97803
|
create_folder: [
|
|
97745
97804
|
{
|
|
97746
97805
|
required: !0,
|
|
@@ -97786,6 +97845,13 @@ const AU = 40, uje = 400, dje = re.forwardRef(
|
|
|
97786
97845
|
fieldName: "is_public",
|
|
97787
97846
|
placeholder: ""
|
|
97788
97847
|
},
|
|
97848
|
+
{
|
|
97849
|
+
required: !1,
|
|
97850
|
+
type: "checkbox",
|
|
97851
|
+
label: "Make file public",
|
|
97852
|
+
fieldName: "is_public_permanent",
|
|
97853
|
+
placeholder: ""
|
|
97854
|
+
},
|
|
97789
97855
|
{
|
|
97790
97856
|
required: !1,
|
|
97791
97857
|
type: "number",
|
|
@@ -97794,67 +97860,136 @@ const AU = 40, uje = 400, dje = re.forwardRef(
|
|
|
97794
97860
|
placeholder: "Enter minute(s)",
|
|
97795
97861
|
helperText: "Default is 60min"
|
|
97796
97862
|
}
|
|
97863
|
+
],
|
|
97864
|
+
download_file: [
|
|
97865
|
+
{
|
|
97866
|
+
required: !0,
|
|
97867
|
+
type: "text",
|
|
97868
|
+
label: "File Path",
|
|
97869
|
+
fieldName: "file_path",
|
|
97870
|
+
placeholder: "folder/file.csv",
|
|
97871
|
+
description: "Path of the file to download. The workflow output returns Base64 file content."
|
|
97872
|
+
}
|
|
97873
|
+
],
|
|
97874
|
+
delete_file: [
|
|
97875
|
+
{
|
|
97876
|
+
required: !0,
|
|
97877
|
+
type: "text",
|
|
97878
|
+
label: "File Path(s)",
|
|
97879
|
+
fieldName: "file_paths",
|
|
97880
|
+
placeholder: "file.csv or folder/file.csv"
|
|
97881
|
+
}
|
|
97882
|
+
],
|
|
97883
|
+
make_file_public: [
|
|
97884
|
+
{
|
|
97885
|
+
required: !0,
|
|
97886
|
+
type: "text",
|
|
97887
|
+
label: "File Path(s)",
|
|
97888
|
+
fieldName: "file_paths",
|
|
97889
|
+
placeholder: "file.csv or folder/file.csv"
|
|
97890
|
+
},
|
|
97891
|
+
{
|
|
97892
|
+
required: !1,
|
|
97893
|
+
type: "number",
|
|
97894
|
+
label: "Cache TTL seconds",
|
|
97895
|
+
fieldName: "ttl_seconds",
|
|
97896
|
+
placeholder: "300"
|
|
97897
|
+
}
|
|
97898
|
+
],
|
|
97899
|
+
make_file_private: [
|
|
97900
|
+
{
|
|
97901
|
+
required: !0,
|
|
97902
|
+
type: "text",
|
|
97903
|
+
label: "File Path(s)",
|
|
97904
|
+
fieldName: "file_paths",
|
|
97905
|
+
placeholder: "file.csv or folder/file.csv"
|
|
97906
|
+
}
|
|
97907
|
+
],
|
|
97908
|
+
list_files: [
|
|
97909
|
+
{
|
|
97910
|
+
required: !1,
|
|
97911
|
+
type: "text",
|
|
97912
|
+
label: "Folder Path or File Prefix",
|
|
97913
|
+
fieldName: "folder_path",
|
|
97914
|
+
placeholder: "reports/ or report.csv",
|
|
97915
|
+
description: "Use a trailing slash to list a folder (for example, reports/). Enter a file name or prefix to search files. Leave blank for root."
|
|
97916
|
+
},
|
|
97917
|
+
{
|
|
97918
|
+
required: !1,
|
|
97919
|
+
type: "number",
|
|
97920
|
+
label: "Page Size",
|
|
97921
|
+
fieldName: "page_size",
|
|
97922
|
+
placeholder: "100"
|
|
97923
|
+
},
|
|
97924
|
+
{
|
|
97925
|
+
required: !1,
|
|
97926
|
+
type: "text",
|
|
97927
|
+
label: "Next Page Token",
|
|
97928
|
+
fieldName: "next_page_token",
|
|
97929
|
+
placeholder: "{{listFiles1.files.next_page_token}}",
|
|
97930
|
+
description: "Leave blank for the first page. To fetch the next page, pass next_page_token from the previous List Files/Folders result."
|
|
97931
|
+
}
|
|
97797
97932
|
]
|
|
97798
|
-
}[s.event] || []).map(({ label:
|
|
97799
|
-
if (
|
|
97933
|
+
}[s.event] || []).map(({ label: y, fieldName: b, type: x, required: S, placeholder: C, description: R }) => {
|
|
97934
|
+
if (x === "text")
|
|
97800
97935
|
return /* @__PURE__ */ d.jsx(
|
|
97801
97936
|
qr,
|
|
97802
97937
|
{
|
|
97803
|
-
name: `properties.${s.event}.${
|
|
97938
|
+
name: `properties.${s.event}.${b}`,
|
|
97804
97939
|
control: i,
|
|
97805
97940
|
meta: {
|
|
97806
|
-
displayName:
|
|
97807
|
-
description: Wn(
|
|
97808
|
-
placeholder:
|
|
97941
|
+
displayName: y,
|
|
97942
|
+
description: R || Wn(g, b),
|
|
97943
|
+
placeholder: C
|
|
97809
97944
|
},
|
|
97810
97945
|
validationRules: {
|
|
97811
|
-
validate:
|
|
97946
|
+
validate: m(b)
|
|
97812
97947
|
},
|
|
97813
|
-
editorId: `${
|
|
97814
|
-
id:
|
|
97815
|
-
required:
|
|
97816
|
-
isLoop:
|
|
97817
|
-
viewOnly:
|
|
97948
|
+
editorId: `${x}-bs-activity-${b}`,
|
|
97949
|
+
id: p,
|
|
97950
|
+
required: S,
|
|
97951
|
+
isLoop: h,
|
|
97952
|
+
viewOnly: A,
|
|
97818
97953
|
showSuggestions: !0
|
|
97819
97954
|
},
|
|
97820
|
-
|
|
97955
|
+
b
|
|
97821
97956
|
);
|
|
97822
|
-
if (
|
|
97957
|
+
if (x == "number" && (s?.event !== "upload_file" || s?.upload_file?.is_public))
|
|
97823
97958
|
return /* @__PURE__ */ d.jsx(
|
|
97824
97959
|
qr,
|
|
97825
97960
|
{
|
|
97826
|
-
name: `properties.${s.event}.${
|
|
97961
|
+
name: `properties.${s.event}.${b}`,
|
|
97827
97962
|
control: i,
|
|
97828
97963
|
meta: {
|
|
97829
|
-
displayName:
|
|
97830
|
-
description: Wn(
|
|
97831
|
-
placeholder:
|
|
97964
|
+
displayName: y,
|
|
97965
|
+
description: Wn(g, b),
|
|
97966
|
+
placeholder: C
|
|
97832
97967
|
},
|
|
97833
97968
|
validationRules: {
|
|
97834
|
-
validate:
|
|
97969
|
+
validate: m(b)
|
|
97835
97970
|
},
|
|
97836
|
-
editorId: `${
|
|
97837
|
-
id:
|
|
97971
|
+
editorId: `${x}-bs-activity-${b}`,
|
|
97972
|
+
id: p,
|
|
97838
97973
|
fieldType: "number",
|
|
97839
|
-
required:
|
|
97840
|
-
isLoop:
|
|
97841
|
-
viewOnly:
|
|
97974
|
+
required: S,
|
|
97975
|
+
isLoop: h,
|
|
97976
|
+
viewOnly: A,
|
|
97842
97977
|
showSuggestions: !0
|
|
97843
97978
|
},
|
|
97844
|
-
|
|
97979
|
+
b
|
|
97845
97980
|
);
|
|
97846
|
-
if (
|
|
97981
|
+
if (x === "checkbox")
|
|
97847
97982
|
return /* @__PURE__ */ d.jsx(Be, { sx: { width: "100%" }, children: /* @__PURE__ */ d.jsx(
|
|
97848
97983
|
br,
|
|
97849
97984
|
{
|
|
97850
|
-
name: `properties.upload_file.${
|
|
97985
|
+
name: `properties.upload_file.${b}`,
|
|
97851
97986
|
control: i,
|
|
97852
97987
|
rules: {
|
|
97853
|
-
validate:
|
|
97988
|
+
validate: m(b)
|
|
97854
97989
|
},
|
|
97855
97990
|
render: ({
|
|
97856
|
-
field: { value:
|
|
97857
|
-
fieldState: { error:
|
|
97991
|
+
field: { value: _, ...I },
|
|
97992
|
+
fieldState: { error: N }
|
|
97858
97993
|
}) => /* @__PURE__ */ d.jsxs(JG, { children: [
|
|
97859
97994
|
/* @__PURE__ */ d.jsx(
|
|
97860
97995
|
ns,
|
|
@@ -97862,7 +97997,7 @@ const AU = 40, uje = 400, dje = re.forwardRef(
|
|
|
97862
97997
|
control: /* @__PURE__ */ d.jsx(
|
|
97863
97998
|
qa,
|
|
97864
97999
|
{
|
|
97865
|
-
...
|
|
98000
|
+
...I,
|
|
97866
98001
|
icon: /* @__PURE__ */ d.jsx(
|
|
97867
98002
|
Qe,
|
|
97868
98003
|
{
|
|
@@ -97880,20 +98015,20 @@ const AU = 40, uje = 400, dje = re.forwardRef(
|
|
|
97880
98015
|
sx: {
|
|
97881
98016
|
p: 0,
|
|
97882
98017
|
"& .MuiSvgIcon-root": {
|
|
97883
|
-
fontSize: (
|
|
98018
|
+
fontSize: (D) => D.typography.xlMedium.fontSize
|
|
97884
98019
|
}
|
|
97885
98020
|
},
|
|
97886
|
-
readOnly:
|
|
97887
|
-
checked:
|
|
98021
|
+
readOnly: A,
|
|
98022
|
+
checked: _
|
|
97888
98023
|
}
|
|
97889
98024
|
),
|
|
97890
|
-
label:
|
|
98025
|
+
label: y
|
|
97891
98026
|
}
|
|
97892
98027
|
),
|
|
97893
|
-
|
|
98028
|
+
N?.message && /* @__PURE__ */ d.jsx(dn, { children: N.message })
|
|
97894
98029
|
] })
|
|
97895
98030
|
}
|
|
97896
|
-
) },
|
|
98031
|
+
) }, b);
|
|
97897
98032
|
});
|
|
97898
98033
|
return /* @__PURE__ */ d.jsx(Mn, { children: /* @__PURE__ */ d.jsxs(Ce, { container: !0, gap: 1.5, children: [
|
|
97899
98034
|
/* @__PURE__ */ d.jsx(Ce, { item: !0, xs: 12, children: /* @__PURE__ */ d.jsx(
|
|
@@ -97912,28 +98047,40 @@ const AU = 40, uje = 400, dje = re.forwardRef(
|
|
|
97912
98047
|
validationRules: {
|
|
97913
98048
|
required: "Event is required"
|
|
97914
98049
|
},
|
|
97915
|
-
viewOnly:
|
|
98050
|
+
viewOnly: A,
|
|
97916
98051
|
id: "event",
|
|
97917
|
-
handleChange: (
|
|
97918
|
-
const { value:
|
|
97919
|
-
|
|
98052
|
+
handleChange: (O) => {
|
|
98053
|
+
const { value: v } = O;
|
|
98054
|
+
v == "create_folder" ? n("properties", {
|
|
97920
98055
|
...s,
|
|
97921
98056
|
create_folder: a,
|
|
97922
|
-
event:
|
|
97923
|
-
}) : n("properties", {
|
|
98057
|
+
event: v
|
|
98058
|
+
}) : v === "upload_file" ? n("properties", {
|
|
97924
98059
|
...s,
|
|
97925
98060
|
upload_file: l,
|
|
97926
|
-
event:
|
|
98061
|
+
event: v
|
|
98062
|
+
}) : v === "download_file" ? n("properties", {
|
|
98063
|
+
...s,
|
|
98064
|
+
download_file: u,
|
|
98065
|
+
event: v
|
|
98066
|
+
}) : v === "list_files" ? n("properties", {
|
|
98067
|
+
...s,
|
|
98068
|
+
list_files: f,
|
|
98069
|
+
event: v
|
|
98070
|
+
}) : n("properties", {
|
|
98071
|
+
...s,
|
|
98072
|
+
[v]: c,
|
|
98073
|
+
event: v
|
|
97927
98074
|
});
|
|
97928
98075
|
},
|
|
97929
|
-
renderValueUi: (
|
|
97930
|
-
const
|
|
97931
|
-
return
|
|
98076
|
+
renderValueUi: (O) => {
|
|
98077
|
+
const v = k6.find((y) => y.value === O);
|
|
98078
|
+
return v ? v.title : "";
|
|
97932
98079
|
}
|
|
97933
98080
|
}
|
|
97934
98081
|
) }),
|
|
97935
|
-
|
|
97936
|
-
!
|
|
98082
|
+
E(),
|
|
98083
|
+
!h && /* @__PURE__ */ d.jsx(Ce, { item: !0, xs: 12, children: /* @__PURE__ */ d.jsx(so, { viewOnly: A, type: g }) })
|
|
97937
98084
|
] }) });
|
|
97938
98085
|
}), F3 = ({
|
|
97939
98086
|
type: e = "",
|
|
@@ -181812,7 +181959,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
|
|
|
181812
181959
|
isActiveWorkflow: l,
|
|
181813
181960
|
currentSubscription: c
|
|
181814
181961
|
}) => {
|
|
181815
|
-
const u = Rr(), f = wt(), { canvasWorkflow: p, selectedActivityId: h, publishLock: A } = Yt((P) => P.canvas), g = c
|
|
181962
|
+
const u = Rr(), f = wt(), { canvasWorkflow: p, selectedActivityId: h, publishLock: A } = Yt((P) => P.canvas), g = Array.isArray(c) ? c[0] : c, m = g?.metricData?.creation?.remaining, E = g?.metricData?.execution?.remaining, O = g?.status === "EXPIRED", v = g?.status === "CANCELLED", y = m == null || m <= 0, b = E == null || E <= 0, x = O || v || y || b, S = Zt(() => s?.find((P) => P.type === Rt.TRIGGER), [s]), C = Zt(() => S ? Kg(S, s) : !1, [S, s]), R = ut(() => {
|
|
181816
181963
|
const P = ET($6(i)), L = ET(
|
|
181817
181964
|
$6({
|
|
181818
181965
|
...p,
|