@ms-cloudpack/overlay 0.11.2 → 0.11.3
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/CHANGELOG.json +51 -1
- package/CHANGELOG.md +11 -2
- package/dist/lib/index.js +78 -239
- package/dist/ori-output.json +2 -2
- package/lib/components/CloudpackProvider/useStatus.d.ts +1 -1
- package/lib/components/ErrorDialog/useErrorEvents.d.ts +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +6 -11
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,57 @@
|
|
|
2
2
|
"name": "@ms-cloudpack/overlay",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 31 Jan 2023 08:08:54 GMT",
|
|
6
|
+
"tag": "@ms-cloudpack/overlay_v0.11.3",
|
|
7
|
+
"version": "0.11.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "elcraig@microsoft.com",
|
|
12
|
+
"package": "@ms-cloudpack/overlay",
|
|
13
|
+
"commit": "243bfddf2ccffa5d6aa479105156b8a5de0e66c2",
|
|
14
|
+
"comment": "Don't publish test files"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"patch": [
|
|
18
|
+
{
|
|
19
|
+
"author": "beachball",
|
|
20
|
+
"package": "@ms-cloudpack/overlay",
|
|
21
|
+
"comment": "Bump @ms-cloudpack/data-bus to v0.1.1",
|
|
22
|
+
"commit": "d841a4219d236c863ef97e9b20ad1bc143e8bc84"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"author": "beachball",
|
|
26
|
+
"package": "@ms-cloudpack/overlay",
|
|
27
|
+
"comment": "Bump @ms-cloudpack/path-string-parsing to v1.0.1",
|
|
28
|
+
"commit": "d841a4219d236c863ef97e9b20ad1bc143e8bc84"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"date": "Mon, 23 Jan 2023 21:06:01 GMT",
|
|
35
|
+
"tag": "@ms-cloudpack/overlay_v0.11.2",
|
|
36
|
+
"version": "0.11.2",
|
|
37
|
+
"comments": {
|
|
38
|
+
"none": [
|
|
39
|
+
{
|
|
40
|
+
"author": "email not defined",
|
|
41
|
+
"package": "@ms-cloudpack/overlay",
|
|
42
|
+
"commit": "408c1f356be04b224c48fceff847f388278b0dee",
|
|
43
|
+
"comment": "Update devDependency @types/react to v17.0.53"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"author": "elcraig@microsoft.com",
|
|
47
|
+
"package": "@ms-cloudpack/overlay",
|
|
48
|
+
"commit": "d092bb42a995e8bab968a0fdc1f35144680b73c3",
|
|
49
|
+
"comment": "Move beachball disallowedChangeTypes setting to repo config"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"date": "Sun, 04 Dec 2022 08:11:29 GMT",
|
|
6
56
|
"tag": "@ms-cloudpack/overlay_v0.11.2",
|
|
7
57
|
"version": "0.11.2",
|
|
8
58
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @ms-cloudpack/overlay
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 31 Jan 2023 08:08:54 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.11.3
|
|
8
|
+
|
|
9
|
+
Tue, 31 Jan 2023 08:08:54 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @ms-cloudpack/data-bus to v0.1.1
|
|
14
|
+
- Bump @ms-cloudpack/path-string-parsing to v1.0.1
|
|
15
|
+
|
|
7
16
|
## 0.11.2
|
|
8
17
|
|
|
9
|
-
Sun, 04 Dec 2022 08:11:
|
|
18
|
+
Sun, 04 Dec 2022 08:11:29 GMT
|
|
10
19
|
|
|
11
20
|
### Patches
|
|
12
21
|
|
package/dist/lib/index.js
CHANGED
|
@@ -173,9 +173,7 @@ function createCloudpackClient() {
|
|
|
173
173
|
var CloudpackContext = createContext(null);
|
|
174
174
|
function CloudpackProvider({ children }) {
|
|
175
175
|
const [client] = useState(createCloudpackClient);
|
|
176
|
-
return /* @__PURE__ */ React.createElement(CloudpackContext.Provider, {
|
|
177
|
-
value: client
|
|
178
|
-
}, children);
|
|
176
|
+
return /* @__PURE__ */ React.createElement(CloudpackContext.Provider, { value: client }, children);
|
|
179
177
|
}
|
|
180
178
|
var useCloudpack = () => useContext(CloudpackContext);
|
|
181
179
|
|
|
@@ -403,28 +401,8 @@ function StatusBadge({ inline: inline2, onExpand }) {
|
|
|
403
401
|
if (!shouldRender) {
|
|
404
402
|
return null;
|
|
405
403
|
}
|
|
406
|
-
const badge2 = /* @__PURE__ */ React2.createElement("div", {
|
|
407
|
-
|
|
408
|
-
className: getStatusClassName(status, !!inline2)
|
|
409
|
-
}, !inline2 && /* @__PURE__ */ React2.createElement("div", {
|
|
410
|
-
ref: dragElementRef,
|
|
411
|
-
className: StatusBadge_module_default.gripArea
|
|
412
|
-
}, /* @__PURE__ */ React2.createElement("div", {
|
|
413
|
-
className: StatusBadge_module_default.grip
|
|
414
|
-
}), /* @__PURE__ */ React2.createElement("div", {
|
|
415
|
-
className: StatusBadge_module_default.grip
|
|
416
|
-
})), /* @__PURE__ */ React2.createElement("button", {
|
|
417
|
-
className: StatusBadge_module_default.button,
|
|
418
|
-
onClick: onExpand,
|
|
419
|
-
"aria-label": "Expand overlay"
|
|
420
|
-
}, /* @__PURE__ */ React2.createElement("div", {
|
|
421
|
-
className: StatusBadge_module_default.value
|
|
422
|
-
}, getStatusString(status))), /* @__PURE__ */ React2.createElement("div", null, getStatsString(status)));
|
|
423
|
-
return inline2 ? badge2 : /* @__PURE__ */ React2.createElement("div", {
|
|
424
|
-
className: StatusBadge_module_default.fixedOverlay
|
|
425
|
-
}, /* @__PURE__ */ React2.createElement("div", {
|
|
426
|
-
className: StatusBadge_module_default.contentSurface
|
|
427
|
-
}, badge2));
|
|
404
|
+
const badge2 = /* @__PURE__ */ React2.createElement("div", { ref: rootElementRef, className: getStatusClassName(status, !!inline2) }, !inline2 && /* @__PURE__ */ React2.createElement("div", { ref: dragElementRef, className: StatusBadge_module_default.gripArea }, /* @__PURE__ */ React2.createElement("div", { className: StatusBadge_module_default.grip }), /* @__PURE__ */ React2.createElement("div", { className: StatusBadge_module_default.grip })), /* @__PURE__ */ React2.createElement("button", { className: StatusBadge_module_default.button, onClick: onExpand, "aria-label": "Expand overlay" }, /* @__PURE__ */ React2.createElement("div", { className: StatusBadge_module_default.value }, getStatusString(status))), /* @__PURE__ */ React2.createElement("div", null, getStatsString(status)));
|
|
405
|
+
return inline2 ? badge2 : /* @__PURE__ */ React2.createElement("div", { className: StatusBadge_module_default.fixedOverlay }, /* @__PURE__ */ React2.createElement("div", { className: StatusBadge_module_default.contentSurface }, badge2));
|
|
428
406
|
}
|
|
429
407
|
function getStatusString(status) {
|
|
430
408
|
if (status.status === "pending") {
|
|
@@ -561,22 +539,7 @@ function TaskResultItem({ item, projectPath, index }) {
|
|
|
561
539
|
};
|
|
562
540
|
const filename = item.location?.file || "(path unavailable)";
|
|
563
541
|
const location = ["", item.location?.line, item.location?.column].filter(Boolean).join(":");
|
|
564
|
-
return /* @__PURE__ */ React3.createElement("div", {
|
|
565
|
-
className: TaskResultItem_module_default.root
|
|
566
|
-
}, /* @__PURE__ */ React3.createElement("div", {
|
|
567
|
-
className: TaskResultItem_module_default.statusBar
|
|
568
|
-
}), /* @__PURE__ */ React3.createElement("div", {
|
|
569
|
-
className: TaskResultItem_module_default.content
|
|
570
|
-
}, /* @__PURE__ */ React3.createElement("div", {
|
|
571
|
-
className: TaskResultItem_module_default.titleArea
|
|
572
|
-
}, /* @__PURE__ */ React3.createElement("button", {
|
|
573
|
-
onClick: openSource,
|
|
574
|
-
className: TaskResultItem_module_default.file
|
|
575
|
-
}, index, ". ", filename, location && ` (${location})`, ":")), /* @__PURE__ */ React3.createElement("div", {
|
|
576
|
-
className: TaskResultItem_module_default.text
|
|
577
|
-
}, item.text), /* @__PURE__ */ React3.createElement("pre", {
|
|
578
|
-
className: TaskResultItem_module_default.text
|
|
579
|
-
}, JSON.stringify(item, null, 2))));
|
|
542
|
+
return /* @__PURE__ */ React3.createElement("div", { className: TaskResultItem_module_default.root }, /* @__PURE__ */ React3.createElement("div", { className: TaskResultItem_module_default.statusBar }), /* @__PURE__ */ React3.createElement("div", { className: TaskResultItem_module_default.content }, /* @__PURE__ */ React3.createElement("div", { className: TaskResultItem_module_default.titleArea }, /* @__PURE__ */ React3.createElement("button", { onClick: openSource, className: TaskResultItem_module_default.file }, index, ". ", filename, location && ` (${location})`, ":")), /* @__PURE__ */ React3.createElement("div", { className: TaskResultItem_module_default.text }, item.text), /* @__PURE__ */ React3.createElement("pre", { className: TaskResultItem_module_default.text }, JSON.stringify(item, null, 2))));
|
|
580
543
|
}
|
|
581
544
|
|
|
582
545
|
// src/components/StatusDialog/TaskStatus.module.css
|
|
@@ -741,13 +704,13 @@ var TaskStatus_module_default = { collapsed, commands, content: content2, error:
|
|
|
741
704
|
import { default as cx2 } from "classnames";
|
|
742
705
|
|
|
743
706
|
// src/images/error-24.inline.svg
|
|
744
|
-
var error_24_inline_default =
|
|
707
|
+
var error_24_inline_default = 'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM15.5303 8.46967L15.4462 8.39705C15.1852 8.2034 14.827 8.20101 14.5636 8.38988L14.4697 8.46967L12 10.939L9.53033 8.46967L9.44621 8.39705C9.18522 8.2034 8.82701 8.20101 8.56362 8.38988L8.46967 8.46967L8.39705 8.55379C8.2034 8.81478 8.20101 9.17299 8.38988 9.43638L8.46967 9.53033L10.939 12L8.46967 14.4697L8.39705 14.5538C8.2034 14.8148 8.20101 15.173 8.38988 15.4364L8.46967 15.5303L8.55379 15.6029C8.81478 15.7966 9.17299 15.799 9.43638 15.6101L9.53033 15.5303L12 13.061L14.4697 15.5303L14.5538 15.6029C14.8148 15.7966 15.173 15.799 15.4364 15.6101L15.5303 15.5303L15.6029 15.4462C15.7966 15.1852 15.799 14.827 15.6101 14.5636L15.5303 14.4697L13.061 12L15.5303 9.53033L15.6029 9.44621C15.7966 9.18522 15.799 8.82701 15.6101 8.56362L15.5303 8.46967L15.4462 8.39705L15.5303 8.46967Z" fill="%23aa0000"/>%0A</svg>%0A';
|
|
745
708
|
|
|
746
709
|
// src/images/success-24.inline.svg
|
|
747
|
-
var success_24_inline_default =
|
|
710
|
+
var success_24_inline_default = 'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM15.2197 8.96967L10.75 13.4393L8.78033 11.4697C8.48744 11.1768 8.01256 11.1768 7.71967 11.4697C7.42678 11.7626 7.42678 12.2374 7.71967 12.5303L10.2197 15.0303C10.5126 15.3232 10.9874 15.3232 11.2803 15.0303L16.2803 10.0303C16.5732 9.73744 16.5732 9.26256 16.2803 8.96967C15.9874 8.67678 15.5126 8.67678 15.2197 8.96967Z" fill="%2300aa00"/>%0A</svg>%0A';
|
|
748
711
|
|
|
749
712
|
// src/images/chevrondown-20.inline.svg
|
|
750
|
-
var chevrondown_20_inline_default =
|
|
713
|
+
var chevrondown_20_inline_default = 'data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z" fill="%23212121"/>%0A</svg>%0A';
|
|
751
714
|
|
|
752
715
|
// src/components/Button/Button.tsx
|
|
753
716
|
import React4 from "react";
|
|
@@ -837,11 +800,7 @@ var Button_module_default = { primaryButton, standardButton };
|
|
|
837
800
|
function Button(props) {
|
|
838
801
|
const { primary, ...other } = props;
|
|
839
802
|
const className = primary ? Button_module_default.primaryButton : Button_module_default.standardButton;
|
|
840
|
-
return /* @__PURE__ */ React4.createElement("button", {
|
|
841
|
-
...other,
|
|
842
|
-
className,
|
|
843
|
-
type: "button"
|
|
844
|
-
});
|
|
803
|
+
return /* @__PURE__ */ React4.createElement("button", { ...other, className, type: "button" });
|
|
845
804
|
}
|
|
846
805
|
|
|
847
806
|
// src/components/StatusDialog/TaskStatus.tsx
|
|
@@ -876,76 +835,22 @@ function TaskStatus({ task }) {
|
|
|
876
835
|
const restartTask = () => {
|
|
877
836
|
cloudpack.restartTask({ id: task.id, inputPath: task.inputPath });
|
|
878
837
|
};
|
|
879
|
-
return /* @__PURE__ */ React5.createElement("div", {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
}), errors?.length > 0 && /* @__PURE__ */ React5.createElement("img", {
|
|
896
|
-
className: TaskStatus_module_default.errorIcon,
|
|
897
|
-
src: error_24_inline_default,
|
|
898
|
-
alt: "Error icon"
|
|
899
|
-
}), /* @__PURE__ */ React5.createElement("div", {
|
|
900
|
-
className: TaskStatus_module_default.title
|
|
901
|
-
}, name2), /* @__PURE__ */ React5.createElement("div", {
|
|
902
|
-
className: TaskStatus_module_default.farArea
|
|
903
|
-
}, getCompletion(task))), showContent && /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement("div", {
|
|
904
|
-
className: TaskStatus_module_default.commands
|
|
905
|
-
}, /* @__PURE__ */ React5.createElement(Button, {
|
|
906
|
-
onClick: restartTask
|
|
907
|
-
}, "Restart task")), /* @__PURE__ */ React5.createElement("div", {
|
|
908
|
-
className: TaskStatus_module_default.content
|
|
909
|
-
}, /* @__PURE__ */ React5.createElement("div", {
|
|
910
|
-
className: TaskStatus_module_default.title
|
|
911
|
-
}, "Details"), /* @__PURE__ */ React5.createElement("div", {
|
|
912
|
-
className: TaskStatus_module_default.nameValueArea
|
|
913
|
-
}, /* @__PURE__ */ React5.createElement("div", {
|
|
914
|
-
className: TaskStatus_module_default.name
|
|
915
|
-
}, "Input path"), /* @__PURE__ */ React5.createElement("div", {
|
|
916
|
-
className: TaskStatus_module_default.value
|
|
917
|
-
}, /* @__PURE__ */ React5.createElement("button", {
|
|
918
|
-
className: TaskStatus_module_default.linkButton,
|
|
919
|
-
onClick: () => open(task.inputPath)
|
|
920
|
-
}, task.inputPath), /* @__PURE__ */ React5.createElement("button", {
|
|
921
|
-
className: TaskStatus_module_default.linkButton,
|
|
922
|
-
onClick: openPackage
|
|
923
|
-
}, "(Package.json)"))), /* @__PURE__ */ React5.createElement("div", {
|
|
924
|
-
className: TaskStatus_module_default.nameValueArea
|
|
925
|
-
}, /* @__PURE__ */ React5.createElement("div", {
|
|
926
|
-
className: TaskStatus_module_default.name
|
|
927
|
-
}, "Output path"), /* @__PURE__ */ React5.createElement("button", {
|
|
928
|
-
className: TaskStatus_module_default.linkButton,
|
|
929
|
-
onClick: () => open(task.outputPath)
|
|
930
|
-
}, task.outputPath)), errors?.length > 0 && /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement("div", {
|
|
931
|
-
className: TaskStatus_module_default.title
|
|
932
|
-
}, "Errors"), /* @__PURE__ */ React5.createElement("div", {
|
|
933
|
-
className: TaskStatus_module_default.resultItems
|
|
934
|
-
}, errors.map((error3, index) => /* @__PURE__ */ React5.createElement(TaskResultItem, {
|
|
935
|
-
key: index,
|
|
936
|
-
item: error3,
|
|
937
|
-
projectPath: task.inputPath,
|
|
938
|
-
index: index + 1
|
|
939
|
-
})))), warnings?.length > 0 && /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement("div", {
|
|
940
|
-
className: TaskStatus_module_default.title
|
|
941
|
-
}, "Warnings"), /* @__PURE__ */ React5.createElement("div", {
|
|
942
|
-
className: TaskStatus_module_default.resultItems
|
|
943
|
-
}, warnings.map((warning3, index) => /* @__PURE__ */ React5.createElement(TaskResultItem, {
|
|
944
|
-
key: index,
|
|
945
|
-
item: warning3,
|
|
946
|
-
projectPath: task.inputPath,
|
|
947
|
-
index: index + 1
|
|
948
|
-
})))))));
|
|
838
|
+
return /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.root }, /* @__PURE__ */ React5.createElement("div", { className: getHeaderClassName(task) }, /* @__PURE__ */ React5.createElement(
|
|
839
|
+
"button",
|
|
840
|
+
{
|
|
841
|
+
className: TaskStatus_module_default.expandButton,
|
|
842
|
+
onClick: () => setIsOpen(!showContent),
|
|
843
|
+
"aria-label": showContent ? `Minimize ${name2}` : `Expand ${name2}`
|
|
844
|
+
},
|
|
845
|
+
/* @__PURE__ */ React5.createElement(
|
|
846
|
+
"img",
|
|
847
|
+
{
|
|
848
|
+
className: cx2(TaskStatus_module_default.expandIcon, !showContent && TaskStatus_module_default.collapsed),
|
|
849
|
+
src: chevrondown_20_inline_default,
|
|
850
|
+
alt: "Chevron down icon"
|
|
851
|
+
}
|
|
852
|
+
)
|
|
853
|
+
), errors?.length === 0 && warnings?.length === 0 && /* @__PURE__ */ React5.createElement("img", { className: TaskStatus_module_default.errorIcon, src: success_24_inline_default, alt: "Success icon" }), errors?.length > 0 && /* @__PURE__ */ React5.createElement("img", { className: TaskStatus_module_default.errorIcon, src: error_24_inline_default, alt: "Error icon" }), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.title }, name2), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.farArea }, getCompletion(task))), showContent && /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.commands }, /* @__PURE__ */ React5.createElement(Button, { onClick: restartTask }, "Restart task")), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.content }, /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.title }, "Details"), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.nameValueArea }, /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.name }, "Input path"), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.value }, /* @__PURE__ */ React5.createElement("button", { className: TaskStatus_module_default.linkButton, onClick: () => open(task.inputPath) }, task.inputPath), /* @__PURE__ */ React5.createElement("button", { className: TaskStatus_module_default.linkButton, onClick: openPackage }, "(Package.json)"))), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.nameValueArea }, /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.name }, "Output path"), /* @__PURE__ */ React5.createElement("button", { className: TaskStatus_module_default.linkButton, onClick: () => open(task.outputPath) }, task.outputPath)), errors?.length > 0 && /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.title }, "Errors"), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.resultItems }, errors.map((error3, index) => /* @__PURE__ */ React5.createElement(TaskResultItem, { key: index, item: error3, projectPath: task.inputPath, index: index + 1 })))), warnings?.length > 0 && /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.title }, "Warnings"), /* @__PURE__ */ React5.createElement("div", { className: TaskStatus_module_default.resultItems }, warnings.map((warning3, index) => /* @__PURE__ */ React5.createElement(TaskResultItem, { key: index, item: warning3, projectPath: task.inputPath, index: index + 1 })))))));
|
|
949
854
|
}
|
|
950
855
|
function getHeaderClassName(task) {
|
|
951
856
|
return cx2(TaskStatus_module_default.header, {
|
|
@@ -988,12 +893,7 @@ function TaskList({ searchFilter }) {
|
|
|
988
893
|
const details = useStatusDetails();
|
|
989
894
|
const tasks = (details.tasks || []).sort(sortTasks);
|
|
990
895
|
searchFilter = searchFilter?.toLowerCase();
|
|
991
|
-
return /* @__PURE__ */ React6.createElement("div", {
|
|
992
|
-
className: TaskList_module_default.root
|
|
993
|
-
}, tasks.filter(({ name: name2 }) => !searchFilter || name2.toLowerCase().includes(searchFilter)).map((task) => /* @__PURE__ */ React6.createElement(TaskStatus, {
|
|
994
|
-
key: task.name,
|
|
995
|
-
task
|
|
996
|
-
})));
|
|
896
|
+
return /* @__PURE__ */ React6.createElement("div", { className: TaskList_module_default.root }, tasks.filter(({ name: name2 }) => !searchFilter || name2.toLowerCase().includes(searchFilter)).map((task) => /* @__PURE__ */ React6.createElement(TaskStatus, { key: task.name, task })));
|
|
997
897
|
}
|
|
998
898
|
function sortTasks(a, b) {
|
|
999
899
|
const aStatus = a.status === "pending" ? 1 : 0;
|
|
@@ -1112,7 +1012,7 @@ var titleArea2 = "ggUoTSSSfk-DialogmodulecsstitleArea";
|
|
|
1112
1012
|
var Dialog_module_default = { closeButton, commands: commands2, dialog, overlay, title: title2, titleArea: titleArea2 };
|
|
1113
1013
|
|
|
1114
1014
|
// src/images/dismiss-16-filled.inline.svg
|
|
1115
|
-
var dismiss_16_filled_inline_default =
|
|
1015
|
+
var dismiss_16_filled_inline_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M2.39705 2.55379L2.46967 2.46967C2.73594 2.2034 3.1526 2.1792 3.44621 2.39705L3.53033 2.46967L8 6.939L12.4697 2.46967C12.7626 2.17678 13.2374 2.17678 13.5303 2.46967C13.8232 2.76256 13.8232 3.23744 13.5303 3.53033L9.061 8L13.5303 12.4697C13.7966 12.7359 13.8208 13.1526 13.6029 13.4462L13.5303 13.5303C13.2641 13.7966 12.8474 13.8208 12.5538 13.6029L12.4697 13.5303L8 9.061L3.53033 13.5303C3.23744 13.8232 2.76256 13.8232 2.46967 13.5303C2.17678 13.2374 2.17678 12.7626 2.46967 12.4697L6.939 8L2.46967 3.53033C2.2034 3.26406 2.1792 2.8474 2.39705 2.55379L2.46967 2.46967L2.39705 2.55379Z" fill="%23212121"/>%0A</svg>%0A';
|
|
1116
1016
|
|
|
1117
1017
|
// src/components/Dialog/Dialog.tsx
|
|
1118
1018
|
function Dialog({ title: title3, style, draggable, onClose, commands: commands3, children }) {
|
|
@@ -1125,28 +1025,15 @@ function Dialog({ title: title3, style, draggable, onClose, commands: commands3,
|
|
|
1125
1025
|
containerElementRef: draggableRef,
|
|
1126
1026
|
dragElementRef: draggableTargetRef
|
|
1127
1027
|
});
|
|
1128
|
-
return /* @__PURE__ */ React7.createElement("div", {
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
}, /* @__PURE__ */ React7.createElement("div", {
|
|
1137
|
-
ref: draggableTargetRef,
|
|
1138
|
-
className: Dialog_module_default.title,
|
|
1139
|
-
style: { color: colorAccent, cursor: cursorDraggable }
|
|
1140
|
-
}, title3), onClose && /* @__PURE__ */ React7.createElement("button", {
|
|
1141
|
-
className: Dialog_module_default.closeButton,
|
|
1142
|
-
onClick: onClose,
|
|
1143
|
-
"aria-label": "Minimize overlay"
|
|
1144
|
-
}, /* @__PURE__ */ React7.createElement("img", {
|
|
1145
|
-
src: dismiss_16_filled_inline_default,
|
|
1146
|
-
alt: ""
|
|
1147
|
-
}))), commands3 && /* @__PURE__ */ React7.createElement("div", {
|
|
1148
|
-
className: Dialog_module_default.commands
|
|
1149
|
-
}, ...commands3), children));
|
|
1028
|
+
return /* @__PURE__ */ React7.createElement("div", { className: Dialog_module_default.overlay }, /* @__PURE__ */ React7.createElement("div", { ref: draggableRef, className: Dialog_module_default.dialog, style: { borderTopColor: colorAccent } }, /* @__PURE__ */ React7.createElement("div", { className: Dialog_module_default.titleArea }, /* @__PURE__ */ React7.createElement(
|
|
1029
|
+
"div",
|
|
1030
|
+
{
|
|
1031
|
+
ref: draggableTargetRef,
|
|
1032
|
+
className: Dialog_module_default.title,
|
|
1033
|
+
style: { color: colorAccent, cursor: cursorDraggable }
|
|
1034
|
+
},
|
|
1035
|
+
title3
|
|
1036
|
+
), onClose && /* @__PURE__ */ React7.createElement("button", { className: Dialog_module_default.closeButton, onClick: onClose, "aria-label": "Minimize overlay" }, /* @__PURE__ */ React7.createElement("img", { src: dismiss_16_filled_inline_default, alt: "" }))), commands3 && /* @__PURE__ */ React7.createElement("div", { className: Dialog_module_default.commands }, ...commands3), children));
|
|
1150
1037
|
}
|
|
1151
1038
|
|
|
1152
1039
|
// src/components/StatusDialog/Searchbox.tsx
|
|
@@ -1182,13 +1069,7 @@ var Searchbox_module_default = { searchbox };
|
|
|
1182
1069
|
|
|
1183
1070
|
// src/components/StatusDialog/Searchbox.tsx
|
|
1184
1071
|
function Searchbox({ value: value3, onChange }) {
|
|
1185
|
-
return /* @__PURE__ */ React8.createElement(React8.Fragment, null, typeof value3 === "string" && /* @__PURE__ */ React8.createElement("input", {
|
|
1186
|
-
type: "text",
|
|
1187
|
-
placeholder: "Search",
|
|
1188
|
-
className: Searchbox_module_default.searchbox,
|
|
1189
|
-
onChange,
|
|
1190
|
-
value: value3
|
|
1191
|
-
}));
|
|
1072
|
+
return /* @__PURE__ */ React8.createElement(React8.Fragment, null, typeof value3 === "string" && /* @__PURE__ */ React8.createElement("input", { type: "text", placeholder: "Search", className: Searchbox_module_default.searchbox, onChange, value: value3 }));
|
|
1192
1073
|
}
|
|
1193
1074
|
|
|
1194
1075
|
// src/components/StatusDialog/StatusDialog.tsx
|
|
@@ -1202,23 +1083,19 @@ function StatusDialog({ onClose }) {
|
|
|
1202
1083
|
const restartAllTasks = () => {
|
|
1203
1084
|
cloudpack.restartAllTasks();
|
|
1204
1085
|
};
|
|
1205
|
-
return /* @__PURE__ */ React9.createElement(
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
onClick: restartAllTasks,
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
onChange: handleSearchChange
|
|
1219
|
-
}), /* @__PURE__ */ React9.createElement(TaskList, {
|
|
1220
|
-
searchFilter
|
|
1221
|
-
}));
|
|
1086
|
+
return /* @__PURE__ */ React9.createElement(
|
|
1087
|
+
Dialog,
|
|
1088
|
+
{
|
|
1089
|
+
title: "Task results",
|
|
1090
|
+
draggable: true,
|
|
1091
|
+
onClose,
|
|
1092
|
+
commands: [
|
|
1093
|
+
/* @__PURE__ */ React9.createElement(Button, { primary: true, onClick: restartAllTasks, key: "1" }, "Restart all tasks")
|
|
1094
|
+
]
|
|
1095
|
+
},
|
|
1096
|
+
/* @__PURE__ */ React9.createElement(Searchbox, { value: searchFilter, onChange: handleSearchChange }),
|
|
1097
|
+
/* @__PURE__ */ React9.createElement(TaskList, { searchFilter })
|
|
1098
|
+
);
|
|
1222
1099
|
}
|
|
1223
1100
|
|
|
1224
1101
|
// src/components/ErrorDialog/ErrorDialog.tsx
|
|
@@ -1237,47 +1114,22 @@ function PathError(props) {
|
|
|
1237
1114
|
const addOverride = () => {
|
|
1238
1115
|
cloudpack.addOverride({ packageName, importPath, filename });
|
|
1239
1116
|
};
|
|
1240
|
-
return /* @__PURE__ */ React10.createElement("div", {
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
}), /* @__PURE__ */ React10.createElement("div", {
|
|
1257
|
-
className: TaskStatus_module_default.title
|
|
1258
|
-
}, `${packageName}/${importPath}`)), showContent && /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement("div", {
|
|
1259
|
-
className: TaskStatus_module_default.commands
|
|
1260
|
-
}, fixable && /* @__PURE__ */ React10.createElement(Button, {
|
|
1261
|
-
onClick: addOverride
|
|
1262
|
-
}, "Add override"), /* @__PURE__ */ React10.createElement(Button, {
|
|
1263
|
-
onClick: editConfig
|
|
1264
|
-
}, "Edit config file")), /* @__PURE__ */ React10.createElement("div", {
|
|
1265
|
-
className: TaskStatus_module_default.content
|
|
1266
|
-
}, /* @__PURE__ */ React10.createElement("div", {
|
|
1267
|
-
className: TaskStatus_module_default.title
|
|
1268
|
-
}, "Details"), /* @__PURE__ */ React10.createElement("div", {
|
|
1269
|
-
className: TaskStatus_module_default.nameValueArea
|
|
1270
|
-
}, /* @__PURE__ */ React10.createElement("div", {
|
|
1271
|
-
className: TaskStatus_module_default.name
|
|
1272
|
-
}, "Problem"), /* @__PURE__ */ React10.createElement("div", {
|
|
1273
|
-
className: TaskStatus_module_default.value
|
|
1274
|
-
}, `A deep import package name: "${packageName}" was imported, but was unrecognized as an exported entry path: "${importPath}".`)), /* @__PURE__ */ React10.createElement("div", {
|
|
1275
|
-
className: TaskStatus_module_default.nameValueArea
|
|
1276
|
-
}, /* @__PURE__ */ React10.createElement("div", {
|
|
1277
|
-
className: TaskStatus_module_default.name
|
|
1278
|
-
}, "Solution"), /* @__PURE__ */ React10.createElement("div", {
|
|
1279
|
-
className: TaskStatus_module_default.value
|
|
1280
|
-
}, fixable ? `Remove the path from the import in your source. (Import from "${packageName}" rather than "${packageName}/${importPath}")` : `Import not found on package. Make sure the import path is valid.`)))));
|
|
1117
|
+
return /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.root }, /* @__PURE__ */ React10.createElement("div", { className: cx3(TaskStatus_module_default.header, TaskStatus_module_default.error) }, /* @__PURE__ */ React10.createElement(
|
|
1118
|
+
"button",
|
|
1119
|
+
{
|
|
1120
|
+
className: TaskStatus_module_default.expandButton,
|
|
1121
|
+
onClick: () => setshowContent(!showContent),
|
|
1122
|
+
"aria-label": showContent ? `Minimize ${packageName}/${importPath}` : `Expand ${packageName}/${importPath}`
|
|
1123
|
+
},
|
|
1124
|
+
/* @__PURE__ */ React10.createElement(
|
|
1125
|
+
"img",
|
|
1126
|
+
{
|
|
1127
|
+
className: cx3(TaskStatus_module_default.expandIcon, !showContent && TaskStatus_module_default.collapsed),
|
|
1128
|
+
src: chevrondown_20_inline_default,
|
|
1129
|
+
alt: "Chevron down icon"
|
|
1130
|
+
}
|
|
1131
|
+
)
|
|
1132
|
+
), /* @__PURE__ */ React10.createElement("img", { className: TaskStatus_module_default.errorIcon, src: error_24_inline_default, alt: "Error icon" }), /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.title }, `${packageName}/${importPath}`)), showContent && /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.commands }, fixable && /* @__PURE__ */ React10.createElement(Button, { onClick: addOverride }, "Add override"), /* @__PURE__ */ React10.createElement(Button, { onClick: editConfig }, "Edit config file")), /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.content }, /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.title }, "Details"), /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.nameValueArea }, /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.name }, "Problem"), /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.value }, `A deep import package name: "${packageName}" was imported, but was unrecognized as an exported entry path: "${importPath}".`)), /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.nameValueArea }, /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.name }, "Solution"), /* @__PURE__ */ React10.createElement("div", { className: TaskStatus_module_default.value }, fixable ? `Remove the path from the import in your source. (Import from "${packageName}" rather than "${packageName}/${importPath}")` : `Import not found on package. Make sure the import path is valid.`)))));
|
|
1281
1133
|
}
|
|
1282
1134
|
|
|
1283
1135
|
// src/components/ErrorDialog/ErrorDialog.tsx
|
|
@@ -1286,22 +1138,17 @@ function ErrorDialog({ unsupported }) {
|
|
|
1286
1138
|
const reload = () => {
|
|
1287
1139
|
cloudpack.restartAllTasks();
|
|
1288
1140
|
};
|
|
1289
|
-
return /* @__PURE__ */ React11.createElement(
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
onClick: reload,
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
className: TaskList_module_default.root
|
|
1301
|
-
}, unsupported.map((data, index) => /* @__PURE__ */ React11.createElement(PathError, {
|
|
1302
|
-
...data,
|
|
1303
|
-
key: index
|
|
1304
|
-
}))));
|
|
1141
|
+
return /* @__PURE__ */ React11.createElement(
|
|
1142
|
+
Dialog,
|
|
1143
|
+
{
|
|
1144
|
+
title: "Found unsupported paths in your project",
|
|
1145
|
+
style: "error",
|
|
1146
|
+
commands: [
|
|
1147
|
+
/* @__PURE__ */ React11.createElement(Button, { primary: true, onClick: reload, key: "1" }, "Restart all tasks")
|
|
1148
|
+
]
|
|
1149
|
+
},
|
|
1150
|
+
/* @__PURE__ */ React11.createElement("div", { className: TaskList_module_default.root }, unsupported.map((data, index) => /* @__PURE__ */ React11.createElement(PathError, { ...data, key: index })))
|
|
1151
|
+
);
|
|
1305
1152
|
}
|
|
1306
1153
|
|
|
1307
1154
|
// src/components/ErrorDialog/useErrorEvents.ts
|
|
@@ -1373,13 +1220,7 @@ function StatusOverlay() {
|
|
|
1373
1220
|
console.log(`Toggling minimized state to ${!isExpanded}`);
|
|
1374
1221
|
setIsExpanded(!isExpanded);
|
|
1375
1222
|
}, [isExpanded]);
|
|
1376
|
-
return unsupported.length ? /* @__PURE__ */ React12.createElement(ErrorDialog, {
|
|
1377
|
-
unsupported
|
|
1378
|
-
}) : isExpanded ? /* @__PURE__ */ React12.createElement(StatusDialog, {
|
|
1379
|
-
onClose: toggleMinimized
|
|
1380
|
-
}) : /* @__PURE__ */ React12.createElement(StatusBadge, {
|
|
1381
|
-
onExpand: toggleMinimized
|
|
1382
|
-
});
|
|
1223
|
+
return unsupported.length ? /* @__PURE__ */ React12.createElement(ErrorDialog, { unsupported }) : isExpanded ? /* @__PURE__ */ React12.createElement(StatusDialog, { onClose: toggleMinimized }) : /* @__PURE__ */ React12.createElement(StatusBadge, { onExpand: toggleMinimized });
|
|
1383
1224
|
}
|
|
1384
1225
|
|
|
1385
1226
|
// src/components/ThemeProvider/ThemeProvider.tsx
|
|
@@ -1400,9 +1241,7 @@ var ThemeProvider_module_default = { root: root4 };
|
|
|
1400
1241
|
|
|
1401
1242
|
// src/components/ThemeProvider/ThemeProvider.tsx
|
|
1402
1243
|
function ThemeProvider({ children }) {
|
|
1403
|
-
return /* @__PURE__ */ React13.createElement("div", {
|
|
1404
|
-
className: ThemeProvider_module_default.root
|
|
1405
|
-
}, children);
|
|
1244
|
+
return /* @__PURE__ */ React13.createElement("div", { className: ThemeProvider_module_default.root }, children);
|
|
1406
1245
|
}
|
|
1407
1246
|
|
|
1408
1247
|
// src/index.tsx
|
package/dist/ori-output.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "buildStatus",
|
|
3
|
-
"buildId": "
|
|
3
|
+
"buildId": "49f14578-7c67-4ac0-bc3b-aa0ca6be7532",
|
|
4
4
|
"buildStatus": "complete",
|
|
5
5
|
"internalError": null,
|
|
6
6
|
"warnings": [],
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"outputFilePaths": [
|
|
9
9
|
"/home/runner/work/cloudpack/cloudpack/packages/overlay/dist/lib/index.js"
|
|
10
10
|
],
|
|
11
|
-
"metafile": "{\n \"inputs\": {\n \"src/components/CloudpackProvider/getCookies.ts\": {\n \"bytes\": 452,\n \"imports\": []\n },\n \"src/components/CloudpackProvider/createCloudpackClient.ts\": {\n \"bytes\": 6293,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/getCookies.ts\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/CloudpackProvider/CloudpackProvider.tsx\": {\n \"bytes\": 552,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/createCloudpackClient.ts\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/hooks/useDraggable.ts\": {\n \"bytes\": 2353,\n \"imports\": []\n },\n \"src/components/StatusBadge/StatusBadge.module.css\": {\n \"bytes\": 3473,\n \"imports\": []\n },\n \"src/components/CloudpackProvider/useStatus.ts\": {\n \"bytes\": 866,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusBadge/StatusBadge.tsx\": {\n \"bytes\": 2875,\n \"imports\": [\n {\n \"path\": \"src/hooks/useDraggable.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusBadge/StatusBadge.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/useStatus.ts\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskResultItem.module.css\": {\n \"bytes\": 2067,\n \"imports\": []\n },\n \"src/components/StatusDialog/TaskResultItem.tsx\": {\n \"bytes\": 1433,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskResultItem.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskStatus.module.css\": {\n \"bytes\": 4179,\n \"imports\": []\n },\n \"src/images/error-24.inline.svg\": {\n \"bytes\": 1024,\n \"imports\": []\n },\n \"src/images/success-24.inline.svg\": {\n \"bytes\": 562,\n \"imports\": []\n },\n \"src/images/chevrondown-20.inline.svg\": {\n \"bytes\": 450,\n \"imports\": []\n },\n \"src/components/Button/Button.module.css\": {\n \"bytes\": 2263,\n \"imports\": []\n },\n \"src/components/Button/Button.tsx\": {\n \"bytes\": 360,\n \"imports\": [\n {\n \"path\": \"src/components/Button/Button.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskStatus.tsx\": {\n \"bytes\": 4795,\n \"imports\": [\n {\n \"path\": \"src/components/StatusDialog/TaskResultItem.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskStatus.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/error-24.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/success-24.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/chevrondown-20.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/CloudpackProvider/useStatusDetails.ts\": {\n \"bytes\": 858,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskList.module.css\": {\n \"bytes\": 615,\n \"imports\": []\n },\n \"src/components/StatusDialog/TaskList.tsx\": {\n \"bytes\": 1204,\n \"imports\": [\n {\n \"path\": \"src/components/StatusDialog/TaskStatus.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/useStatusDetails.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskList.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/Dialog/Dialog.module.css\": {\n \"bytes\": 2454,\n \"imports\": []\n },\n \"src/images/dismiss-16-filled.inline.svg\": {\n \"bytes\": 718,\n \"imports\": []\n },\n \"src/components/Dialog/Dialog.tsx\": {\n \"bytes\": 1710,\n \"imports\": [\n {\n \"path\": \"src/components/Dialog/Dialog.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/hooks/useDraggable.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/dismiss-16-filled.inline.svg\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/Searchbox.module.css\": {\n \"bytes\": 862,\n \"imports\": []\n },\n \"src/components/StatusDialog/Searchbox.tsx\": {\n \"bytes\": 452,\n \"imports\": [\n {\n \"path\": \"src/components/StatusDialog/Searchbox.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/StatusDialog.tsx\": {\n \"bytes\": 1134,\n \"imports\": [\n {\n \"path\": \"src/components/StatusDialog/TaskList.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Dialog/Dialog.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/Searchbox.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ErrorDialog/PathError.tsx\": {\n \"bytes\": 2731,\n \"imports\": [\n {\n \"path\": \"src/components/StatusDialog/TaskStatus.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/error-24.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/chevrondown-20.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ErrorDialog/ErrorDialog.tsx\": {\n \"bytes\": 1021,\n \"imports\": [\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ErrorDialog/PathError.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskList.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Dialog/Dialog.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ErrorDialog/useErrorEvents.ts\": {\n \"bytes\": 3264,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusOverlay/StatusOverlay.tsx\": {\n \"bytes\": 1426,\n \"imports\": [\n {\n \"path\": \"src/components/StatusBadge/StatusBadge.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/StatusDialog.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/useStatus.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ErrorDialog/ErrorDialog.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ErrorDialog/useErrorEvents.ts\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ThemeProvider/ThemeProvider.module.css\": {\n \"bytes\": 630,\n \"imports\": []\n },\n \"src/components/ThemeProvider/ThemeProvider.tsx\": {\n \"bytes\": 210,\n \"imports\": [\n {\n \"path\": \"src/components/ThemeProvider/ThemeProvider.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/index.tsx\": {\n \"bytes\": 532,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusOverlay/StatusOverlay.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ThemeProvider/ThemeProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n }\n },\n \"outputs\": {\n \"dist/lib/index.js\": {\n \"imports\": [],\n \"exports\": [],\n \"entryPoint\": \"src/index.tsx\",\n \"inputs\": {\n \"src/index.tsx\": {\n \"bytesInOutput\": 360\n },\n \"src/components/CloudpackProvider/CloudpackProvider.tsx\": {\n \"bytesInOutput\": 372\n },\n \"src/components/CloudpackProvider/getCookies.ts\": {\n \"bytesInOutput\": 317\n },\n \"src/components/CloudpackProvider/createCloudpackClient.ts\": {\n \"bytesInOutput\": 4112\n },\n \"src/components/StatusOverlay/StatusOverlay.tsx\": {\n \"bytesInOutput\": 1041\n },\n \"src/components/StatusBadge/StatusBadge.tsx\": {\n \"bytesInOutput\": 2865\n },\n \"src/hooks/useDraggable.ts\": {\n \"bytesInOutput\": 1803\n },\n \"src/components/StatusBadge/StatusBadge.module.css\": {\n \"bytesInOutput\": 3183\n },\n \"src/components/CloudpackProvider/useStatus.ts\": {\n \"bytesInOutput\": 448\n },\n \"src/components/StatusDialog/StatusDialog.tsx\": {\n \"bytesInOutput\": 876\n },\n \"src/components/StatusDialog/TaskList.tsx\": {\n \"bytesInOutput\": 898\n },\n \"src/components/StatusDialog/TaskStatus.tsx\": {\n \"bytesInOutput\": 5172\n },\n \"src/components/StatusDialog/TaskResultItem.tsx\": {\n \"bytesInOutput\": 1421\n },\n \"src/components/StatusDialog/TaskResultItem.module.css\": {\n \"bytesInOutput\": 1881\n },\n \"src/components/StatusDialog/TaskStatus.module.css\": {\n \"bytesInOutput\": 3889\n },\n \"src/images/error-24.inline.svg\": {\n \"bytesInOutput\": 1428\n },\n \"src/images/success-24.inline.svg\": {\n \"bytesInOutput\": 814\n },\n \"src/images/chevrondown-20.inline.svg\": {\n \"bytesInOutput\": 666\n },\n \"src/components/Button/Button.tsx\": {\n \"bytesInOutput\": 312\n },\n \"src/components/Button/Button.module.css\": {\n \"bytesInOutput\": 2117\n },\n \"src/components/CloudpackProvider/useStatusDetails.ts\": {\n \"bytesInOutput\": 299\n },\n \"src/components/StatusDialog/TaskList.module.css\": {\n \"bytesInOutput\": 541\n },\n \"src/components/Dialog/Dialog.tsx\": {\n \"bytesInOutput\": 1471\n },\n \"src/components/Dialog/Dialog.module.css\": {\n \"bytesInOutput\": 2292\n },\n \"src/images/dismiss-16-filled.inline.svg\": {\n \"bytesInOutput\": 1029\n },\n \"src/components/StatusDialog/Searchbox.tsx\": {\n \"bytesInOutput\": 362\n },\n \"src/components/StatusDialog/Searchbox.module.css\": {\n \"bytesInOutput\": 771\n },\n \"src/components/ErrorDialog/ErrorDialog.tsx\": {\n \"bytesInOutput\": 709\n },\n \"src/components/ErrorDialog/PathError.tsx\": {\n \"bytesInOutput\": 3043\n },\n \"src/components/ErrorDialog/useErrorEvents.ts\": {\n \"bytesInOutput\": 2092\n },\n \"src/components/ThemeProvider/ThemeProvider.tsx\": {\n \"bytesInOutput\": 191\n },\n \"src/components/ThemeProvider/ThemeProvider.module.css\": {\n \"bytesInOutput\": 561\n }\n },\n \"bytes\": 49517\n }\n }\n}\n"
|
|
11
|
+
"metafile": "{\n \"inputs\": {\n \"src/components/CloudpackProvider/getCookies.ts\": {\n \"bytes\": 452,\n \"imports\": []\n },\n \"src/components/CloudpackProvider/createCloudpackClient.ts\": {\n \"bytes\": 6293,\n \"imports\": [\n {\n \"path\": \"src/components/CloudpackProvider/getCookies.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"@ms-cloudpack/data-bus\",\n \"kind\": \"import-statement\",\n \"external\": true\n }\n ]\n },\n \"src/components/CloudpackProvider/CloudpackProvider.tsx\": {\n \"bytes\": 552,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/CloudpackProvider/createCloudpackClient.ts\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/hooks/useDraggable.ts\": {\n \"bytes\": 2353,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n }\n ]\n },\n \"src/components/StatusBadge/StatusBadge.module.css\": {\n \"bytes\": 3473,\n \"imports\": []\n },\n \"src/components/CloudpackProvider/useStatus.ts\": {\n \"bytes\": 866,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusBadge/StatusBadge.tsx\": {\n \"bytes\": 2875,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/hooks/useDraggable.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusBadge/StatusBadge.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"classnames\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/CloudpackProvider/useStatus.ts\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskResultItem.module.css\": {\n \"bytes\": 2067,\n \"imports\": []\n },\n \"src/components/StatusDialog/TaskResultItem.tsx\": {\n \"bytes\": 1433,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskResultItem.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskStatus.module.css\": {\n \"bytes\": 4179,\n \"imports\": []\n },\n \"src/images/error-24.inline.svg\": {\n \"bytes\": 1024,\n \"imports\": []\n },\n \"src/images/success-24.inline.svg\": {\n \"bytes\": 562,\n \"imports\": []\n },\n \"src/images/chevrondown-20.inline.svg\": {\n \"bytes\": 450,\n \"imports\": []\n },\n \"src/components/Button/Button.module.css\": {\n \"bytes\": 2263,\n \"imports\": []\n },\n \"src/components/Button/Button.tsx\": {\n \"bytes\": 360,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/Button/Button.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskStatus.tsx\": {\n \"bytes\": 4795,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/StatusDialog/TaskResultItem.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskStatus.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"classnames\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/images/error-24.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/success-24.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/chevrondown-20.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/CloudpackProvider/useStatusDetails.ts\": {\n \"bytes\": 858,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/TaskList.module.css\": {\n \"bytes\": 615,\n \"imports\": []\n },\n \"src/components/StatusDialog/TaskList.tsx\": {\n \"bytes\": 1204,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/StatusDialog/TaskStatus.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/useStatusDetails.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskList.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/Dialog/Dialog.module.css\": {\n \"bytes\": 2454,\n \"imports\": []\n },\n \"src/images/dismiss-16-filled.inline.svg\": {\n \"bytes\": 718,\n \"imports\": []\n },\n \"src/components/Dialog/Dialog.tsx\": {\n \"bytes\": 1710,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/Dialog/Dialog.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/hooks/useDraggable.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/dismiss-16-filled.inline.svg\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/Searchbox.module.css\": {\n \"bytes\": 862,\n \"imports\": []\n },\n \"src/components/StatusDialog/Searchbox.tsx\": {\n \"bytes\": 452,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/StatusDialog/Searchbox.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusDialog/StatusDialog.tsx\": {\n \"bytes\": 1134,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/StatusDialog/TaskList.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Dialog/Dialog.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/Searchbox.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ErrorDialog/PathError.tsx\": {\n \"bytes\": 2731,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/StatusDialog/TaskStatus.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/images/error-24.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"classnames\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/images/chevrondown-20.inline.svg\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ErrorDialog/ErrorDialog.tsx\": {\n \"bytes\": 1021,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/Button/Button.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ErrorDialog/PathError.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/TaskList.module.css\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/Dialog/Dialog.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ErrorDialog/useErrorEvents.ts\": {\n \"bytes\": 3264,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"@ms-cloudpack/path-string-parsing\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/StatusOverlay/StatusOverlay.tsx\": {\n \"bytes\": 1426,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/StatusBadge/StatusBadge.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusDialog/StatusDialog.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/CloudpackProvider/useStatus.ts\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ErrorDialog/ErrorDialog.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ErrorDialog/useErrorEvents.ts\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/components/ThemeProvider/ThemeProvider.module.css\": {\n \"bytes\": 630,\n \"imports\": []\n },\n \"src/components/ThemeProvider/ThemeProvider.tsx\": {\n \"bytes\": 210,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/ThemeProvider/ThemeProvider.module.css\",\n \"kind\": \"import-statement\"\n }\n ]\n },\n \"src/index.tsx\": {\n \"bytes\": 532,\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react-dom\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"src/components/CloudpackProvider/CloudpackProvider.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/StatusOverlay/StatusOverlay.tsx\",\n \"kind\": \"import-statement\"\n },\n {\n \"path\": \"src/components/ThemeProvider/ThemeProvider.tsx\",\n \"kind\": \"import-statement\"\n }\n ]\n }\n },\n \"outputs\": {\n \"dist/lib/index.js\": {\n \"imports\": [\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react-dom\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"@ms-cloudpack/data-bus\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"classnames\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"classnames\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"classnames\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"@ms-cloudpack/path-string-parsing\",\n \"kind\": \"import-statement\",\n \"external\": true\n },\n {\n \"path\": \"react\",\n \"kind\": \"import-statement\",\n \"external\": true\n }\n ],\n \"exports\": [],\n \"entryPoint\": \"src/index.tsx\",\n \"inputs\": {\n \"src/index.tsx\": {\n \"bytesInOutput\": 360\n },\n \"src/components/CloudpackProvider/CloudpackProvider.tsx\": {\n \"bytesInOutput\": 366\n },\n \"src/components/CloudpackProvider/getCookies.ts\": {\n \"bytesInOutput\": 317\n },\n \"src/components/CloudpackProvider/createCloudpackClient.ts\": {\n \"bytesInOutput\": 4112\n },\n \"src/components/StatusOverlay/StatusOverlay.tsx\": {\n \"bytesInOutput\": 1023\n },\n \"src/components/StatusBadge/StatusBadge.tsx\": {\n \"bytesInOutput\": 2801\n },\n \"src/hooks/useDraggable.ts\": {\n \"bytesInOutput\": 1803\n },\n \"src/components/StatusBadge/StatusBadge.module.css\": {\n \"bytesInOutput\": 3183\n },\n \"src/components/CloudpackProvider/useStatus.ts\": {\n \"bytesInOutput\": 448\n },\n \"src/components/StatusDialog/StatusDialog.tsx\": {\n \"bytesInOutput\": 864\n },\n \"src/components/StatusDialog/TaskList.tsx\": {\n \"bytesInOutput\": 882\n },\n \"src/components/StatusDialog/TaskStatus.tsx\": {\n \"bytesInOutput\": 5034\n },\n \"src/components/StatusDialog/TaskResultItem.tsx\": {\n \"bytesInOutput\": 1375\n },\n \"src/components/StatusDialog/TaskResultItem.module.css\": {\n \"bytesInOutput\": 1881\n },\n \"src/components/StatusDialog/TaskStatus.module.css\": {\n \"bytesInOutput\": 3889\n },\n \"src/images/error-24.inline.svg\": {\n \"bytesInOutput\": 1085\n },\n \"src/images/success-24.inline.svg\": {\n \"bytesInOutput\": 625\n },\n \"src/images/chevrondown-20.inline.svg\": {\n \"bytesInOutput\": 517\n },\n \"src/components/Button/Button.tsx\": {\n \"bytesInOutput\": 298\n },\n \"src/components/Button/Button.module.css\": {\n \"bytesInOutput\": 2117\n },\n \"src/components/CloudpackProvider/useStatusDetails.ts\": {\n \"bytesInOutput\": 299\n },\n \"src/components/StatusDialog/TaskList.module.css\": {\n \"bytesInOutput\": 541\n },\n \"src/components/Dialog/Dialog.tsx\": {\n \"bytesInOutput\": 1439\n },\n \"src/components/Dialog/Dialog.module.css\": {\n \"bytesInOutput\": 2292\n },\n \"src/images/dismiss-16-filled.inline.svg\": {\n \"bytesInOutput\": 788\n },\n \"src/components/StatusDialog/Searchbox.tsx\": {\n \"bytesInOutput\": 340\n },\n \"src/components/StatusDialog/Searchbox.module.css\": {\n \"bytesInOutput\": 771\n },\n \"src/components/ErrorDialog/ErrorDialog.tsx\": {\n \"bytesInOutput\": 691\n },\n \"src/components/ErrorDialog/PathError.tsx\": {\n \"bytesInOutput\": 3003\n },\n \"src/components/ErrorDialog/useErrorEvents.ts\": {\n \"bytesInOutput\": 2092\n },\n \"src/components/ThemeProvider/ThemeProvider.tsx\": {\n \"bytesInOutput\": 185\n },\n \"src/components/ThemeProvider/ThemeProvider.module.css\": {\n \"bytesInOutput\": 561\n }\n },\n \"bytes\": 48163\n }\n }\n}\n"
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CloudpackStatusType = 'unknown' | 'idle' | 'building' | 'success' | 'warning' | 'error' | 'cancelled';
|
|
2
2
|
export interface CloudpackStatus {
|
|
3
3
|
status: 'idle' | 'pending' | 'unknown';
|
|
4
4
|
remainingTasks: number;
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/overlay",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
4
4
|
"description": "The Cloudpack overlay ux.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"lint": "cloudpack-scripts lint"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ms-cloudpack/data-bus": "^0.1.
|
|
26
|
-
"@ms-cloudpack/path-string-parsing": "^1.0.
|
|
25
|
+
"@ms-cloudpack/data-bus": "^0.1.1",
|
|
26
|
+
"@ms-cloudpack/path-string-parsing": "^1.0.1",
|
|
27
27
|
"react": "^17.0.2",
|
|
28
28
|
"react-dom": "^17.0.2",
|
|
29
29
|
"classnames": "^2.3.1"
|
|
@@ -32,15 +32,10 @@
|
|
|
32
32
|
"@ms-cloudpack/eslint-config-base": "*",
|
|
33
33
|
"@ms-cloudpack/scripts": "*",
|
|
34
34
|
"@types/react-dom": "17.0.18",
|
|
35
|
-
"@types/react": "17.0.
|
|
35
|
+
"@types/react": "17.0.53"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
|
-
"
|
|
38
|
+
"lib/**/!(*.test.*)",
|
|
39
39
|
"/dist"
|
|
40
|
-
]
|
|
41
|
-
"beachball": {
|
|
42
|
-
"disallowedChangeTypes": [
|
|
43
|
-
"major"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
40
|
+
]
|
|
46
41
|
}
|