@gallop.software/studio 0.1.102 → 0.1.104
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/{StudioUI-EQUC2SLZ.js → StudioUI-TFACV5Y5.js} +50 -10
- package/dist/{StudioUI-Q6GGHBEH.mjs.map → StudioUI-TFACV5Y5.js.map} +1 -1
- package/dist/{StudioUI-Q6GGHBEH.mjs → StudioUI-Y23NQPGC.mjs} +50 -10
- package/dist/StudioUI-Y23NQPGC.mjs.map +1 -0
- package/dist/{chunk-STROEKU2.js → chunk-LEOQKJCL.js} +1 -1
- package/dist/chunk-LEOQKJCL.js.map +1 -0
- package/dist/{chunk-CIJTQ7TB.mjs → chunk-RDNC5ABF.mjs} +1 -1
- package/dist/chunk-RDNC5ABF.mjs.map +1 -0
- package/dist/handlers/index.js +28 -20
- package/dist/handlers/index.js.map +1 -1
- package/dist/handlers/index.mjs +11 -3
- package/dist/handlers/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/StudioUI-EQUC2SLZ.js.map +0 -1
- package/dist/chunk-CIJTQ7TB.mjs.map +0 -1
- package/dist/chunk-STROEKU2.js.map +0 -1
|
@@ -4005,6 +4005,26 @@ var styles8 = {
|
|
|
4005
4005
|
height: 20px;
|
|
4006
4006
|
color: ${_chunkUFCWGUAGjs.colors.textSecondary};
|
|
4007
4007
|
`,
|
|
4008
|
+
statusIcon: _react3.css`
|
|
4009
|
+
display: flex;
|
|
4010
|
+
align-items: center;
|
|
4011
|
+
justify-content: center;
|
|
4012
|
+
padding: 8px;
|
|
4013
|
+
background: ${_chunkUFCWGUAGjs.colors.surface};
|
|
4014
|
+
border: 1px solid ${_chunkUFCWGUAGjs.colors.border};
|
|
4015
|
+
border-radius: 8px;
|
|
4016
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
|
|
4017
|
+
`,
|
|
4018
|
+
cloudIcon: _react3.css`
|
|
4019
|
+
width: 20px;
|
|
4020
|
+
height: 20px;
|
|
4021
|
+
color: #f59e0b;
|
|
4022
|
+
`,
|
|
4023
|
+
globeIcon: _react3.css`
|
|
4024
|
+
width: 20px;
|
|
4025
|
+
height: 20px;
|
|
4026
|
+
color: #ef4444;
|
|
4027
|
+
`,
|
|
4008
4028
|
tooltip: _react3.css`
|
|
4009
4029
|
position: absolute;
|
|
4010
4030
|
right: 100%;
|
|
@@ -4446,6 +4466,8 @@ function StudioDetailView() {
|
|
|
4446
4466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { css: styles8.overlay, onClick: handleClose, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: styles8.container, onClick: (e) => e.stopPropagation(), children: [
|
|
4447
4467
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: styles8.main, children: [
|
|
4448
4468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: styles8.headerButtons, children: [
|
|
4469
|
+
focusedItem.cdnPushed && !focusedItem.isRemote && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: styles8.statusIcon, title: "Pushed to CDN", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { css: styles8.cloudIcon, fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z" }) }) }),
|
|
4470
|
+
focusedItem.isRemote && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: styles8.statusIcon, title: "Remote image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { css: styles8.globeIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" }) }) }),
|
|
4449
4471
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "button", { css: styles8.copyBtn, onClick: handleCopyPath, title: "Copy file path", children: [
|
|
4450
4472
|
showCopied && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: styles8.tooltip, children: "Copied!" }),
|
|
4451
4473
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { css: styles8.copyIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" }) })
|
|
@@ -4480,7 +4502,7 @@ function StudioDetailView() {
|
|
|
4480
4502
|
] }),
|
|
4481
4503
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: styles8.infoRow, children: [
|
|
4482
4504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: styles8.infoLabel, children: "CDN Status" }),
|
|
4483
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: styles8.infoValue, children: focusedItem.cdnPushed ? "
|
|
4505
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: styles8.infoValue, children: focusedItem.cdnPushed ? focusedItem.isRemote ? "Remote" : "Pushed" : "Local" })
|
|
4484
4506
|
] }),
|
|
4485
4507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: styles8.infoRow, children: [
|
|
4486
4508
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: styles8.infoLabel, children: "URL" }),
|
|
@@ -4502,14 +4524,32 @@ function StudioDetailView() {
|
|
|
4502
4524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" }) }),
|
|
4503
4525
|
"Rename"
|
|
4504
4526
|
] }),
|
|
4505
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4527
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4528
|
+
"button",
|
|
4529
|
+
{
|
|
4530
|
+
css: styles8.actionBtn,
|
|
4531
|
+
onClick: handleSync,
|
|
4532
|
+
disabled: pushing || focusedItem.cdnPushed,
|
|
4533
|
+
title: focusedItem.cdnPushed ? "Already in cloud" : void 0,
|
|
4534
|
+
children: [
|
|
4535
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" }) }),
|
|
4536
|
+
pushing ? "Pushing..." : "Push to CDN"
|
|
4537
|
+
]
|
|
4538
|
+
}
|
|
4539
|
+
),
|
|
4540
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4541
|
+
"button",
|
|
4542
|
+
{
|
|
4543
|
+
css: styles8.actionBtn,
|
|
4544
|
+
onClick: () => setShowProcessConfirm(true),
|
|
4545
|
+
disabled: focusedItem.isRemote,
|
|
4546
|
+
title: focusedItem.isRemote ? "Cannot process remote images" : void 0,
|
|
4547
|
+
children: [
|
|
4548
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" }) }),
|
|
4549
|
+
"Process Image"
|
|
4550
|
+
]
|
|
4551
|
+
}
|
|
4552
|
+
),
|
|
4513
4553
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "button", { css: [styles8.actionBtn, styles8.actionBtnDanger], onClick: () => setShowDeleteConfirm(true), children: [
|
|
4514
4554
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { css: styles8.actionIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" }) }),
|
|
4515
4555
|
"Delete"
|
|
@@ -5483,4 +5523,4 @@ var StudioUI_default = StudioUI;
|
|
|
5483
5523
|
|
|
5484
5524
|
|
|
5485
5525
|
exports.StudioUI = StudioUI; exports.default = StudioUI_default;
|
|
5486
|
-
//# sourceMappingURL=StudioUI-
|
|
5526
|
+
//# sourceMappingURL=StudioUI-TFACV5Y5.js.map
|