@octaviaflow/core 3.1.0-beta.68 → 3.1.0-beta.70
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/chunk-64R3BAO7.js +2755 -0
- package/dist/chunk-64R3BAO7.js.map +1 -0
- package/dist/chunk-7S3CSRRV.js +5700 -0
- package/dist/chunk-7S3CSRRV.js.map +1 -0
- package/dist/chunk-KCA7V5VN.js +5752 -0
- package/dist/chunk-KCA7V5VN.js.map +1 -0
- package/dist/chunk-KQKD4Z4H.js +1682 -0
- package/dist/chunk-KQKD4Z4H.js.map +1 -0
- package/dist/chunk-PWCRELX4.js +5700 -0
- package/dist/chunk-PWCRELX4.js.map +1 -0
- package/dist/chunk-U5T63SPL.js +5695 -0
- package/dist/chunk-U5T63SPL.js.map +1 -0
- package/dist/chunk-YIPBLM3G.js +2698 -0
- package/dist/chunk-YIPBLM3G.js.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4462 -6007
- package/dist/index.js.map +1 -1
- package/dist/marketing/components/BackedBy/BackedBy.d.ts +17 -0
- package/dist/marketing/components/BackedBy/BackedBy.d.ts.map +1 -0
- package/dist/marketing/components/BetaAccessForm/BetaAccessForm.d.ts +36 -0
- package/dist/marketing/components/BetaAccessForm/BetaAccessForm.d.ts.map +1 -0
- package/dist/marketing/components/BlogGrid/BlogGrid.d.ts +32 -0
- package/dist/marketing/components/BlogGrid/BlogGrid.d.ts.map +1 -0
- package/dist/marketing/components/ContactForm/ContactForm.d.ts +31 -0
- package/dist/marketing/components/ContactForm/ContactForm.d.ts.map +1 -0
- package/dist/marketing/components/FaqSection/FaqSection.d.ts +13 -0
- package/dist/marketing/components/FaqSection/FaqSection.d.ts.map +1 -0
- package/dist/marketing/components/IntegrationsFinder/IntegrationsFinder.d.ts +32 -0
- package/dist/marketing/components/IntegrationsFinder/IntegrationsFinder.d.ts.map +1 -0
- package/dist/marketing/components/IntegrationsWall/IntegrationsWall.d.ts +5 -3
- package/dist/marketing/components/IntegrationsWall/IntegrationsWall.d.ts.map +1 -1
- package/dist/marketing/components/LiveConsole/LiveConsole.d.ts.map +1 -1
- package/dist/marketing/components/LogoMarquee/LogoMarquee.d.ts +18 -0
- package/dist/marketing/components/LogoMarquee/LogoMarquee.d.ts.map +1 -0
- package/dist/marketing/components/MarketingFooter/MarketingFooter.d.ts +6 -1
- package/dist/marketing/components/MarketingFooter/MarketingFooter.d.ts.map +1 -1
- package/dist/marketing/components/PageHero/PageHero.d.ts +12 -0
- package/dist/marketing/components/PageHero/PageHero.d.ts.map +1 -0
- package/dist/marketing/components/PricingTiers/PricingTiers.d.ts +29 -0
- package/dist/marketing/components/PricingTiers/PricingTiers.d.ts.map +1 -0
- package/dist/marketing/components/TestimonialStrip/TestimonialStrip.d.ts +24 -0
- package/dist/marketing/components/TestimonialStrip/TestimonialStrip.d.ts.map +1 -0
- package/dist/marketing/components/WorkflowShowcase/ShowcaseScene.d.ts +4 -2
- package/dist/marketing/components/WorkflowShowcase/ShowcaseScene.d.ts.map +1 -1
- package/dist/marketing/components/WorkflowShowcase/WorkflowShowcase.d.ts +9 -1
- package/dist/marketing/components/WorkflowShowcase/WorkflowShowcase.d.ts.map +1 -1
- package/dist/marketing/components/WorkflowShowcase/showcaseEngine.d.ts +3 -1
- package/dist/marketing/components/WorkflowShowcase/showcaseEngine.d.ts.map +1 -1
- package/dist/marketing/index.d.ts +10 -0
- package/dist/marketing/index.d.ts.map +1 -1
- package/dist/marketing.cjs +5568 -2972
- package/dist/marketing.cjs.map +1 -1
- package/dist/marketing.js +1650 -717
- package/dist/marketing.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/workflow/components/HttpActionPanel/HttpActionPanel.d.ts.map +1 -1
- package/dist/workflow.cjs +51 -4
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.js +51 -9
- package/dist/workflow.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpActionPanel.d.ts","sourceRoot":"","sources":["../../../../src/workflow/components/HttpActionPanel/HttpActionPanel.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,SAAS,EAAiD,MAAM,OAAO,CAAC;AAsBtF,OAAO,EAQL,KAAK,gBAAgB,EAMrB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":"HttpActionPanel.d.ts","sourceRoot":"","sources":["../../../../src/workflow/components/HttpActionPanel/HttpActionPanel.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,SAAS,EAAiD,MAAM,OAAO,CAAC;AAsBtF,OAAO,EAQL,KAAK,gBAAgB,EAMrB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAOzB,MAAM,mBAAmB,CAAC;AAoB3B,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,oBAAoB;IACnC,0EAA0E;IAC1E,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAClC,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,yDAAyD;IACzD,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA2BD,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,WAAW,EACX,kBAA0B,EAC1B,aAAa,EACb,SAAS,GACV,EAAE,oBAAoB,2CAgtCtB"}
|
package/dist/workflow.cjs
CHANGED
|
@@ -5965,6 +5965,11 @@ function TabButton({
|
|
|
5965
5965
|
const { tabProps } = (0, import_react_aria6.useTab)({ key: item.key }, state, ref);
|
|
5966
5966
|
const isSelected = state.selectedKey === item.key;
|
|
5967
5967
|
const isDisabled = state.disabledKeys.has(item.key);
|
|
5968
|
+
(0, import_react41.useEffect)(() => {
|
|
5969
|
+
if (isSelected) {
|
|
5970
|
+
ref.current?.scrollIntoView?.({ block: "nearest", inline: "nearest" });
|
|
5971
|
+
}
|
|
5972
|
+
}, [isSelected]);
|
|
5968
5973
|
const { onDrag, onDragStart, onDragEnd, onAnimationStart, ...safeTabProps } = tabProps;
|
|
5969
5974
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
5970
5975
|
import_framer_motion7.motion.div,
|
|
@@ -6538,6 +6543,7 @@ function HttpActionPanel({
|
|
|
6538
6543
|
const [curlError, setCurlError] = (0, import_react42.useState)();
|
|
6539
6544
|
const [copiedCurl, setCopiedCurl] = (0, import_react42.useState)(false);
|
|
6540
6545
|
const [copiedResult, setCopiedResult] = (0, import_react42.useState)(false);
|
|
6546
|
+
const [copiedSection, setCopiedSection] = (0, import_react42.useState)(null);
|
|
6541
6547
|
const applyCurl = () => {
|
|
6542
6548
|
const patch = parseCurl(curlText);
|
|
6543
6549
|
if (!patch) {
|
|
@@ -6586,6 +6592,28 @@ function HttpActionPanel({
|
|
|
6586
6592
|
} catch {
|
|
6587
6593
|
}
|
|
6588
6594
|
};
|
|
6595
|
+
const copySection = async (text, key) => {
|
|
6596
|
+
try {
|
|
6597
|
+
await navigator.clipboard?.writeText(text);
|
|
6598
|
+
setCopiedSection(key);
|
|
6599
|
+
setTimeout(() => setCopiedSection(null), 1600);
|
|
6600
|
+
} catch {
|
|
6601
|
+
}
|
|
6602
|
+
};
|
|
6603
|
+
const sectionCopyButton = (text, key, label) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
6604
|
+
Button,
|
|
6605
|
+
{
|
|
6606
|
+
variant: "ghost",
|
|
6607
|
+
size: "sm",
|
|
6608
|
+
"aria-label": copiedSection === key ? `${label} copied` : `Copy ${label}`,
|
|
6609
|
+
leftIcon: copiedSection === key ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons12.CheckmarkIcon, { size: "sm" }) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons12.CopyIcon, { size: "sm" }),
|
|
6610
|
+
className: cn(copiedSection === key && "ods-http-panel__copy-done"),
|
|
6611
|
+
onClick: (e) => {
|
|
6612
|
+
e.stopPropagation();
|
|
6613
|
+
void copySection(text, key);
|
|
6614
|
+
}
|
|
6615
|
+
}
|
|
6616
|
+
);
|
|
6589
6617
|
const validateUrl = (nextUrl, nextBase, hasConnection) => {
|
|
6590
6618
|
if (!nextUrl && !nextBase && !hasConnection) {
|
|
6591
6619
|
setUrlError("URL is required");
|
|
@@ -6686,7 +6714,7 @@ function HttpActionPanel({
|
|
|
6686
6714
|
KeyValueEditor,
|
|
6687
6715
|
{
|
|
6688
6716
|
pairs: toPairs(rows),
|
|
6689
|
-
onChange: (pairs) => emit({ [key]:
|
|
6717
|
+
onChange: (pairs) => emit({ [key]: pairs }),
|
|
6690
6718
|
rowToggle: true,
|
|
6691
6719
|
showDescription: true,
|
|
6692
6720
|
keyPlaceholder,
|
|
@@ -6833,7 +6861,11 @@ function HttpActionPanel({
|
|
|
6833
6861
|
KeyValueEditor,
|
|
6834
6862
|
{
|
|
6835
6863
|
pairs: toPairs(formData),
|
|
6836
|
-
onChange: (pairs) =>
|
|
6864
|
+
onChange: (pairs) => (
|
|
6865
|
+
// Raw rows — see the params/headers note; serializing here ate
|
|
6866
|
+
// the blank row that Add appends.
|
|
6867
|
+
emit({ formData: pairs, bodyType: "form-data" })
|
|
6868
|
+
),
|
|
6837
6869
|
rowToggle: true,
|
|
6838
6870
|
keyPlaceholder: "field name",
|
|
6839
6871
|
valuePlaceholder: "value or {{var}}",
|
|
@@ -7519,6 +7551,7 @@ function HttpActionPanel({
|
|
|
7519
7551
|
}
|
|
7520
7552
|
),
|
|
7521
7553
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("code", { className: "ods-http-panel__console-url", children: connectionId ? `${selectedConnection?.name ?? connectionId} \xB7 ${url || "\u2014"}` : fullUrl || "\u2014" }),
|
|
7554
|
+
sectionCopyButton(fullUrl || url, "url", "request URL"),
|
|
7522
7555
|
preview.phase === "success" && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
7523
7556
|
Button,
|
|
7524
7557
|
{
|
|
@@ -7576,7 +7609,14 @@ function HttpActionPanel({
|
|
|
7576
7609
|
{
|
|
7577
7610
|
id: "res-headers",
|
|
7578
7611
|
label: "Response headers",
|
|
7579
|
-
trailing: /* @__PURE__ */ (0, import_jsx_runtime22.
|
|
7612
|
+
trailing: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
|
|
7613
|
+
sectionCopyButton(
|
|
7614
|
+
Object.entries(preview.response.headers).map(([k, v]) => `${k}: ${v}`).join("\n"),
|
|
7615
|
+
"res-headers",
|
|
7616
|
+
"response headers"
|
|
7617
|
+
),
|
|
7618
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Badge, { size: "sm", variant: "neutral", children: Object.keys(preview.response.headers).length })
|
|
7619
|
+
] }),
|
|
7580
7620
|
content: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "ods-http-panel__res-headers", children: Object.entries(preview.response.headers).map(([k, v]) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "ods-http-panel__res-header", children: [
|
|
7581
7621
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "ods-http-panel__res-header-key", children: k }),
|
|
7582
7622
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "ods-http-panel__res-header-val", children: v })
|
|
@@ -7585,7 +7625,14 @@ function HttpActionPanel({
|
|
|
7585
7625
|
{
|
|
7586
7626
|
id: "res-body",
|
|
7587
7627
|
label: "Response body",
|
|
7588
|
-
trailing:
|
|
7628
|
+
trailing: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
|
|
7629
|
+
sectionCopyButton(
|
|
7630
|
+
typeof preview.response.body === "object" ? JSON.stringify(preview.response.body, null, 2) : String(preview.response.bodyRaw ?? preview.response.body ?? ""),
|
|
7631
|
+
"res-body",
|
|
7632
|
+
"response body"
|
|
7633
|
+
),
|
|
7634
|
+
!preview.response.ok && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Badge, { size: "sm", variant: "error", children: "Error" })
|
|
7635
|
+
] }),
|
|
7589
7636
|
content: (
|
|
7590
7637
|
// Size guard: the tree view renders recursively (no
|
|
7591
7638
|
// virtualization) — very large bodies fall back to text.
|