@gallop.software/studio 1.2.5 → 1.2.7
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-NRYRARU4.mjs → StudioUI-TZB57JJT.mjs} +31 -11
- package/dist/StudioUI-TZB57JJT.mjs.map +1 -0
- package/dist/{StudioUI-4MNDHVMZ.js → StudioUI-XQRJTVYU.js} +31 -11
- package/dist/StudioUI-XQRJTVYU.js.map +1 -0
- package/dist/handlers/index.js +20 -16
- package/dist/handlers/index.js.map +1 -1
- package/dist/handlers/index.mjs +6 -2
- package/dist/handlers/index.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/StudioUI-4MNDHVMZ.js.map +0 -1
- package/dist/StudioUI-NRYRARU4.mjs.map +0 -1
|
@@ -3244,6 +3244,7 @@ var styles6 = {
|
|
|
3244
3244
|
width: 20px;
|
|
3245
3245
|
height: 20px;
|
|
3246
3246
|
color: #f59e0b;
|
|
3247
|
+
transform: translateY(1px);
|
|
3247
3248
|
`,
|
|
3248
3249
|
globeIcon: _react3.css`
|
|
3249
3250
|
width: 18px;
|
|
@@ -3720,6 +3721,7 @@ var styles7 = {
|
|
|
3720
3721
|
width: 18px;
|
|
3721
3722
|
height: 18px;
|
|
3722
3723
|
color: #f59e0b;
|
|
3724
|
+
transform: translateY(1px);
|
|
3723
3725
|
`,
|
|
3724
3726
|
globeIcon: _react3.css`
|
|
3725
3727
|
width: 16px;
|
|
@@ -4181,6 +4183,7 @@ var styles8 = {
|
|
|
4181
4183
|
width: 22px;
|
|
4182
4184
|
height: 22px;
|
|
4183
4185
|
color: #f59e0b;
|
|
4186
|
+
transform: translateY(1px);
|
|
4184
4187
|
`,
|
|
4185
4188
|
globeIcon: _react3.css`
|
|
4186
4189
|
width: 20px;
|
|
@@ -4747,16 +4750,24 @@ function StudioDetailView() {
|
|
|
4747
4750
|
] })
|
|
4748
4751
|
] }),
|
|
4749
4752
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: styles8.actions, children: [
|
|
4750
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4753
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4754
|
+
"button",
|
|
4755
|
+
{
|
|
4756
|
+
css: styles8.actionBtn,
|
|
4757
|
+
onClick: () => setShowRenameModal(true),
|
|
4758
|
+
disabled: focusedItem.isProtected,
|
|
4759
|
+
children: [
|
|
4760
|
+
/* @__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" }) }),
|
|
4761
|
+
"Rename"
|
|
4762
|
+
]
|
|
4763
|
+
}
|
|
4764
|
+
),
|
|
4754
4765
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4755
4766
|
"button",
|
|
4756
4767
|
{
|
|
4757
4768
|
css: styles8.actionBtn,
|
|
4758
4769
|
onClick: () => setShowMoveModal(true),
|
|
4759
|
-
disabled: moving,
|
|
4770
|
+
disabled: moving || focusedItem.isProtected,
|
|
4760
4771
|
children: [
|
|
4761
4772
|
/* @__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: "M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4" }) }),
|
|
4762
4773
|
moving ? "Moving..." : "Move"
|
|
@@ -4768,7 +4779,7 @@ function StudioDetailView() {
|
|
|
4768
4779
|
{
|
|
4769
4780
|
css: styles8.actionBtn,
|
|
4770
4781
|
onClick: handleSync,
|
|
4771
|
-
disabled: pushing || focusedItem.cdnPushed && !focusedItem.isRemote,
|
|
4782
|
+
disabled: pushing || focusedItem.isProtected || focusedItem.cdnPushed && !focusedItem.isRemote,
|
|
4772
4783
|
title: focusedItem.cdnPushed && !focusedItem.isRemote ? "Already in R2" : void 0,
|
|
4773
4784
|
children: [
|
|
4774
4785
|
/* @__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" }) }),
|
|
@@ -4781,16 +4792,25 @@ function StudioDetailView() {
|
|
|
4781
4792
|
{
|
|
4782
4793
|
css: styles8.actionBtn,
|
|
4783
4794
|
onClick: () => setShowProcessConfirm(true),
|
|
4795
|
+
disabled: focusedItem.isProtected,
|
|
4784
4796
|
children: [
|
|
4785
4797
|
/* @__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" }) }),
|
|
4786
4798
|
"Process Image"
|
|
4787
4799
|
]
|
|
4788
4800
|
}
|
|
4789
4801
|
),
|
|
4790
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4802
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4803
|
+
"button",
|
|
4804
|
+
{
|
|
4805
|
+
css: [styles8.actionBtn, styles8.actionBtnDanger],
|
|
4806
|
+
onClick: () => setShowDeleteConfirm(true),
|
|
4807
|
+
disabled: focusedItem.isProtected,
|
|
4808
|
+
children: [
|
|
4809
|
+
/* @__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" }) }),
|
|
4810
|
+
"Delete"
|
|
4811
|
+
]
|
|
4812
|
+
}
|
|
4813
|
+
)
|
|
4794
4814
|
] })
|
|
4795
4815
|
] })
|
|
4796
4816
|
] })
|
|
@@ -5760,4 +5780,4 @@ var StudioUI_default = StudioUI;
|
|
|
5760
5780
|
|
|
5761
5781
|
|
|
5762
5782
|
exports.StudioUI = StudioUI; exports.default = StudioUI_default;
|
|
5763
|
-
//# sourceMappingURL=StudioUI-
|
|
5783
|
+
//# sourceMappingURL=StudioUI-XQRJTVYU.js.map
|