@ms-cloudpack/overlay 0.17.32 → 0.17.34
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/browser-esm/694.chunk.js +2 -0
- package/dist/browser-esm/694.chunk.js.map +1 -0
- package/dist/browser-esm/782.chunk.js +2 -0
- package/dist/browser-esm/782.chunk.js.map +1 -0
- package/dist/browser-esm/924.chunk.js +2 -0
- package/dist/browser-esm/924.chunk.js.map +1 -0
- package/dist/browser-esm/980.chunk.js +2 -0
- package/dist/browser-esm/980.chunk.js.map +1 -0
- package/dist/browser-esm/lib/constants.js +2 -7
- package/dist/browser-esm/lib/constants.js.map +1 -7
- package/dist/browser-esm/lib/index.js +3 -453
- package/dist/browser-esm/lib/index.js.LICENSE.txt +39 -0
- package/dist/browser-esm/lib/index.js.map +1 -7
- package/dist/browser-esm/runtime.js +2 -0
- package/dist/browser-esm/runtime.js.map +1 -0
- package/lib/hooks/usePageLoadTimeReporter.d.ts.map +1 -1
- package/lib/hooks/usePageLoadTimeReporter.js +6 -1
- package/lib/hooks/usePageLoadTimeReporter.js.map +1 -1
- package/lib/index.js +4 -3
- package/lib/index.js.map +1 -1
- package/package.json +13 -14
- package/dist/browser-esm/chunks/js/ErrorDialog-5IGGA35U.js +0 -74
- package/dist/browser-esm/chunks/js/ErrorDialog-5IGGA35U.js.map +0 -7
- package/dist/browser-esm/chunks/js/StatusDialog-7Q5HGOOM.js +0 -316
- package/dist/browser-esm/chunks/js/StatusDialog-7Q5HGOOM.js.map +0 -7
- package/dist/browser-esm/chunks/js/chunk-7KHMDJ6G.js +0 -63
- package/dist/browser-esm/chunks/js/chunk-7KHMDJ6G.js.map +0 -7
- package/dist/browser-esm/chunks/js/chunk-GBPQMJW6.js +0 -24
- package/dist/browser-esm/chunks/js/chunk-GBPQMJW6.js.map +0 -7
- package/dist/browser-esm/chunks/js/chunk-XOJFP5X6.js +0 -416
- package/dist/browser-esm/chunks/js/chunk-XOJFP5X6.js.map +0 -7
- package/dist/browser-esm/ori-input.json +0 -57
- package/dist/browser-esm/ori-output.json +0 -1021
- package/dist/browser-esm/result.json +0 -93
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// packages/overlay/src/components/CloudpackProvider/CloudpackProvider.tsx
|
|
2
|
-
import React, { createContext, useContext } from "react";
|
|
3
|
-
var CloudpackContext = createContext(null);
|
|
4
|
-
function CloudpackProvider({ client, children }) {
|
|
5
|
-
return /* @__PURE__ */ React.createElement(CloudpackContext.Provider, { value: client }, children);
|
|
6
|
-
}
|
|
7
|
-
var useCloudpack = () => useContext(CloudpackContext);
|
|
8
|
-
|
|
9
|
-
// packages/overlay/src/hooks/useDraggable.ts
|
|
10
|
-
import { useEffect, useState } from "react";
|
|
11
|
-
function useDraggable(options) {
|
|
12
|
-
const { enabled, containerElementRef, dragElementRef } = options;
|
|
13
|
-
const [isDragging, setIsDragging] = useState(false);
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
const moveTarget = containerElementRef?.current;
|
|
16
|
-
const dragTarget = dragElementRef?.current;
|
|
17
|
-
if (!enabled || !moveTarget || !dragTarget) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
let originalX = 0;
|
|
21
|
-
let originalY = 0;
|
|
22
|
-
let offset = { x: 0, y: 0 };
|
|
23
|
-
const onPointerMove = (event) => {
|
|
24
|
-
moveTarget.style.transform = `translate(${offset.x + event.clientX - originalX}px, ${offset.y + event.clientY - originalY}px)`;
|
|
25
|
-
};
|
|
26
|
-
const onPointerUp = (event) => {
|
|
27
|
-
setIsDragging(false);
|
|
28
|
-
offset = {
|
|
29
|
-
x: offset.x + event.clientX - originalX,
|
|
30
|
-
y: offset.y + event.clientY - originalY
|
|
31
|
-
};
|
|
32
|
-
dragTarget.releasePointerCapture(event.pointerId);
|
|
33
|
-
dragTarget.removeEventListener("pointerup", onPointerUp);
|
|
34
|
-
dragTarget.removeEventListener("pointermove", onPointerMove);
|
|
35
|
-
event.preventDefault();
|
|
36
|
-
};
|
|
37
|
-
const onPointerDown = (event) => {
|
|
38
|
-
setIsDragging(true);
|
|
39
|
-
originalX = event.clientX;
|
|
40
|
-
originalY = event.clientY;
|
|
41
|
-
dragTarget.setPointerCapture(event.pointerId);
|
|
42
|
-
dragTarget.addEventListener("pointerup", onPointerUp);
|
|
43
|
-
dragTarget.addEventListener("pointermove", onPointerMove);
|
|
44
|
-
event.preventDefault();
|
|
45
|
-
};
|
|
46
|
-
dragTarget.addEventListener("pointerdown", onPointerDown);
|
|
47
|
-
return () => {
|
|
48
|
-
dragTarget.removeEventListener("pointerdown", onPointerDown);
|
|
49
|
-
dragTarget.removeEventListener("pointermove", onPointerMove);
|
|
50
|
-
dragTarget.removeEventListener("pointerup", onPointerUp);
|
|
51
|
-
};
|
|
52
|
-
}, [enabled, containerElementRef, dragElementRef]);
|
|
53
|
-
return {
|
|
54
|
-
isDragging
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export {
|
|
59
|
-
CloudpackProvider,
|
|
60
|
-
useCloudpack,
|
|
61
|
-
useDraggable
|
|
62
|
-
};
|
|
63
|
-
//# sourceMappingURL=chunk-7KHMDJ6G.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/components/CloudpackProvider/CloudpackProvider.tsx", "../../../../src/hooks/useDraggable.ts"],
|
|
4
|
-
"sourcesContent": ["import React, { createContext, useContext } from 'react';\nimport { type CloudpackClient } from '@ms-cloudpack/api-server/browser';\n\nexport const CloudpackContext = createContext<CloudpackClient>(null as unknown as CloudpackClient);\n\nexport function CloudpackProvider({ client, children }: { client: CloudpackClient; children: React.ReactNode }) {\n return <CloudpackContext.Provider value={client}>{children}</CloudpackContext.Provider>;\n}\n\nexport const useCloudpack = () => useContext(CloudpackContext);\n", "import { type RefObject, useEffect, useState } from 'react';\n\n/**\n * Make an element draggable. Note that changing `enabled` or passing different ref objects\n * will trigger reconfiguring the event handlers, but changing `.current` will not.\n * @returns Whether the element is currently being dragged\n */\nexport function useDraggable(options: {\n /** Whether to enable dragging */\n enabled: boolean;\n /** Element that should be draggable */\n containerElementRef: RefObject<HTMLElement>;\n /** The drag handle element */\n dragElementRef: RefObject<HTMLElement>;\n}) {\n const { enabled, containerElementRef, dragElementRef } = options;\n\n const [isDragging, setIsDragging] = useState(false);\n\n useEffect(() => {\n const moveTarget = containerElementRef?.current;\n const dragTarget = dragElementRef?.current;\n\n if (!enabled || !moveTarget || !dragTarget) {\n return;\n }\n\n let originalX = 0;\n let originalY = 0;\n let offset = { x: 0, y: 0 };\n\n const onPointerMove = (event: PointerEvent) => {\n moveTarget.style.transform = `translate(${offset.x + event.clientX - originalX}px, ${\n offset.y + event.clientY - originalY\n }px)`;\n };\n\n const onPointerUp = (event: PointerEvent) => {\n setIsDragging(false);\n offset = {\n x: offset.x + event.clientX - originalX,\n y: offset.y + event.clientY - originalY,\n };\n\n dragTarget.releasePointerCapture(event.pointerId);\n dragTarget.removeEventListener('pointerup', onPointerUp);\n dragTarget.removeEventListener('pointermove', onPointerMove);\n\n event.preventDefault();\n };\n\n const onPointerDown = (event: PointerEvent) => {\n setIsDragging(true);\n originalX = event.clientX;\n originalY = event.clientY;\n dragTarget.setPointerCapture(event.pointerId);\n dragTarget.addEventListener('pointerup', onPointerUp);\n dragTarget.addEventListener('pointermove', onPointerMove);\n event.preventDefault();\n };\n\n dragTarget.addEventListener('pointerdown', onPointerDown);\n\n return () => {\n dragTarget.removeEventListener('pointerdown', onPointerDown);\n dragTarget.removeEventListener('pointermove', onPointerMove);\n dragTarget.removeEventListener('pointerup', onPointerUp);\n };\n }, [enabled, containerElementRef, dragElementRef]);\n\n return {\n isDragging,\n };\n}\n"],
|
|
5
|
-
"mappings": ";AAAA,OAAO,SAAS,eAAe,kBAAkB;AAG1C,IAAM,mBAAmB,cAA+B,IAAkC;AAE1F,SAAS,kBAAkB,EAAE,QAAQ,SAAS,GAA2D;A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iBAAW,oBAAoB,eAAe,aAAa;AAC3D,iBAAW,oBAAoB,aAAa,WAAW;AAAA,IACzD;AAAA,EACF,GAAG,CAAC,SAAS,qBAAqB,cAAc,CAAC;AAEjD,SAAO;AAAA,IACL;AAAA,EACF;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// packages/overlay/src/constants.ts
|
|
2
|
-
var elementIds = {
|
|
3
|
-
/**
|
|
4
|
-
* ID for the root element of the overlay.
|
|
5
|
-
*/
|
|
6
|
-
root: "cloudpack-overlay-root",
|
|
7
|
-
/**
|
|
8
|
-
* ID for the root element of the error dialog.
|
|
9
|
-
*/
|
|
10
|
-
errorDialogRoot: "cloudpack-overlay-error-dialog",
|
|
11
|
-
/**
|
|
12
|
-
* ID for the root element of the status dialog.
|
|
13
|
-
*/
|
|
14
|
-
statusDialogRoot: "cloudpack-overlay-status-dialog",
|
|
15
|
-
/**
|
|
16
|
-
* ID for the root element of the status badge.
|
|
17
|
-
*/
|
|
18
|
-
statusBadgeRoot: "cloudpack-overlay-status-badge"
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
elementIds
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=chunk-GBPQMJW6.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/constants.ts"],
|
|
4
|
-
"sourcesContent": ["// This file serves as a separate entry point which can be imported without rendering the overlay\n// as a side effect.\n\nexport const elementIds = {\n /**\n * ID for the root element of the overlay.\n */\n root: 'cloudpack-overlay-root',\n /**\n * ID for the root element of the error dialog.\n */\n errorDialogRoot: 'cloudpack-overlay-error-dialog',\n /**\n * ID for the root element of the status dialog.\n */\n statusDialogRoot: 'cloudpack-overlay-status-dialog',\n /**\n * ID for the root element of the status badge.\n */\n statusBadgeRoot: 'cloudpack-overlay-status-badge',\n} as const;\n"],
|
|
5
|
-
"mappings": ";AAGO,IAAM,aAAa;AAAA;AAAA;AAAA;AAAA,EAIxB,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,iBAAiB;AAAA;AAAA;AAAA;AAAA,EAIjB,kBAAkB;AAAA;AAAA;AAAA;AAAA,EAIlB,iBAAiB;AACnB;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,416 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useDraggable
|
|
3
|
-
} from "./chunk-7KHMDJ6G.js";
|
|
4
|
-
|
|
5
|
-
// packages/overlay/src/components/Button/Button.tsx
|
|
6
|
-
import React from "react";
|
|
7
|
-
|
|
8
|
-
// packages/overlay/src/components/Button/Button.module.css
|
|
9
|
-
var compiledModule = `.RpmxvThK-Buttonmodule--standardButton {
|
|
10
|
-
outline: transparent;
|
|
11
|
-
position: relative;
|
|
12
|
-
font-family: inherit;
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
border: 1px solid rgb(138, 136, 134);
|
|
17
|
-
display: inline-block;
|
|
18
|
-
text-decoration: none;
|
|
19
|
-
text-align: center;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
padding: 0px 16px;
|
|
22
|
-
border-radius: 2px;
|
|
23
|
-
min-width: 80px;
|
|
24
|
-
height: 32px;
|
|
25
|
-
background-color: rgb(255, 255, 255);
|
|
26
|
-
color: rgb(50, 49, 48);
|
|
27
|
-
user-select: none;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.RpmxvThK-Buttonmodule--standardButton:active {
|
|
31
|
-
background-color: rgb(237, 235, 233);
|
|
32
|
-
color: rgb(32, 31, 30);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.RpmxvThK-Buttonmodule--standardButton:hover {
|
|
36
|
-
background-color: rgb(243, 242, 241);
|
|
37
|
-
color: rgb(32, 31, 30);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.RpmxvThK-Buttonmodule--standardButton:focus {
|
|
41
|
-
border: 3px solid rgb(0, 0, 0);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.RpmxvThK-Buttonmodule--primaryButton {
|
|
45
|
-
outline: transparent;
|
|
46
|
-
position: relative;
|
|
47
|
-
font-family: inherit;
|
|
48
|
-
font-size: 14px;
|
|
49
|
-
font-weight: 600;
|
|
50
|
-
box-sizing: border-box;
|
|
51
|
-
border: 1px solid rgb(0, 120, 212);
|
|
52
|
-
display: inline-block;
|
|
53
|
-
text-decoration: none;
|
|
54
|
-
text-align: center;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
padding: 0px 16px;
|
|
57
|
-
border-radius: 2px;
|
|
58
|
-
min-width: 80px;
|
|
59
|
-
height: 32px;
|
|
60
|
-
background-color: rgb(0, 120, 212);
|
|
61
|
-
color: rgb(255, 255, 255);
|
|
62
|
-
user-select: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.RpmxvThK-Buttonmodule--primaryButton:active {
|
|
66
|
-
background-color: rgb(0, 90, 158);
|
|
67
|
-
border: 1px solid rgb(0, 90, 158);
|
|
68
|
-
color: rgb(255, 255, 255);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.RpmxvThK-Buttonmodule--primaryButton:hover {
|
|
72
|
-
background-color: rgb(16, 110, 190);
|
|
73
|
-
border: 1px solid rgb(16, 110, 190);
|
|
74
|
-
color: rgb(255, 255, 255);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.RpmxvThK-Buttonmodule--primaryButton:focus {
|
|
78
|
-
border: 3px solid rgb(0, 0, 0);
|
|
79
|
-
}
|
|
80
|
-
`;
|
|
81
|
-
var s = document.createElement("style");
|
|
82
|
-
s.setAttribute("data-sourceFile", "packages/overlay/src/components/Button/Button.module.css");
|
|
83
|
-
s.appendChild(document.createTextNode(compiledModule));
|
|
84
|
-
document.head.appendChild(s);
|
|
85
|
-
var primaryButton = "RpmxvThK-Buttonmodule--primaryButton";
|
|
86
|
-
var standardButton = "RpmxvThK-Buttonmodule--standardButton";
|
|
87
|
-
var Button_default = { primaryButton, standardButton };
|
|
88
|
-
|
|
89
|
-
// packages/overlay/src/components/Button/Button.tsx
|
|
90
|
-
function Button(props) {
|
|
91
|
-
const { primary, ...other } = props;
|
|
92
|
-
const className = primary ? Button_default.primaryButton : Button_default.standardButton;
|
|
93
|
-
return /* @__PURE__ */ React.createElement("button", { ...other, className, type: "button" });
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// packages/overlay/src/components/StatusDialog/TaskList.module.css
|
|
97
|
-
var compiledModule2 = `.ZnVPBoZ-TaskListmodule--root {
|
|
98
|
-
flex-grow: 1;
|
|
99
|
-
overflow: auto;
|
|
100
|
-
border-top: 1px solid #ccc;
|
|
101
|
-
box-sizing: border-box;
|
|
102
|
-
padding: 20px;
|
|
103
|
-
display: flex;
|
|
104
|
-
flex-direction: column;
|
|
105
|
-
gap: 8px;
|
|
106
|
-
}
|
|
107
|
-
`;
|
|
108
|
-
var s2 = document.createElement("style");
|
|
109
|
-
s2.setAttribute("data-sourceFile", "packages/overlay/src/components/StatusDialog/TaskList.module.css");
|
|
110
|
-
s2.appendChild(document.createTextNode(compiledModule2));
|
|
111
|
-
document.head.appendChild(s2);
|
|
112
|
-
var root = "ZnVPBoZ-TaskListmodule--root";
|
|
113
|
-
var TaskList_default = { root };
|
|
114
|
-
|
|
115
|
-
// packages/overlay/src/components/Dialog/Dialog.tsx
|
|
116
|
-
import { default as React2, useRef } from "react";
|
|
117
|
-
|
|
118
|
-
// packages/overlay/src/components/Dialog/Dialog.module.css
|
|
119
|
-
var compiledModule3 = `.XZLLsVjN-Dialogmodule--overlay {
|
|
120
|
-
background: rgba(0, 0, 0, 0.1);
|
|
121
|
-
border: 1px solid black;
|
|
122
|
-
position: fixed;
|
|
123
|
-
top: 0;
|
|
124
|
-
left: 0;
|
|
125
|
-
right: 0;
|
|
126
|
-
bottom: 0;
|
|
127
|
-
display: flex;
|
|
128
|
-
align-items: center;
|
|
129
|
-
justify-content: center;
|
|
130
|
-
z-index: 999;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@keyframes fade-in {
|
|
134
|
-
0% {
|
|
135
|
-
opacity: 0;
|
|
136
|
-
}
|
|
137
|
-
100% {
|
|
138
|
-
opacity: 1;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.XZLLsVjN-Dialogmodule--commands {
|
|
143
|
-
display: flex;
|
|
144
|
-
flex-direction: row;
|
|
145
|
-
gap: 8px;
|
|
146
|
-
align-items: center;
|
|
147
|
-
flex-shrink: 0;
|
|
148
|
-
height: 40px;
|
|
149
|
-
padding: 0 20px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.XZLLsVjN-Dialogmodule--dialog {
|
|
153
|
-
animation: fade-in 0.1s ease-in-out;
|
|
154
|
-
width: 80vw;
|
|
155
|
-
align-self: stretch;
|
|
156
|
-
margin: 20px 0;
|
|
157
|
-
background: white;
|
|
158
|
-
color: #000;
|
|
159
|
-
box-sizing: border-box;
|
|
160
|
-
display: flex;
|
|
161
|
-
flex-direction: column;
|
|
162
|
-
border-top: 4px solid rgb(0, 120, 212);
|
|
163
|
-
border-radius: 3px;
|
|
164
|
-
box-shadow:
|
|
165
|
-
rgb(0 0 0 / 22%) 0px 25.6px 57.6px 0px,
|
|
166
|
-
rgb(0 0 0 / 18%) 0px 4.8px 14.4px 0px;
|
|
167
|
-
position: relative;
|
|
168
|
-
outline: transparent solid 3px;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.XZLLsVjN-Dialogmodule--titleArea {
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: row;
|
|
174
|
-
align-items: center;
|
|
175
|
-
padding: 8px 8px 8px 20px;
|
|
176
|
-
gap: 8px;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.XZLLsVjN-Dialogmodule--closeButton {
|
|
180
|
-
display: flex;
|
|
181
|
-
align-items: center;
|
|
182
|
-
justify-content: center;
|
|
183
|
-
width: 32px;
|
|
184
|
-
height: 32px;
|
|
185
|
-
margin: 0;
|
|
186
|
-
padding: 0;
|
|
187
|
-
background: transparent;
|
|
188
|
-
border: none;
|
|
189
|
-
border-radius: 4px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.XZLLsVjN-Dialogmodule--closeButton:hover {
|
|
193
|
-
background: rgba(0, 0, 0, 0.1);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.XZLLsVjN-Dialogmodule--closeButton:active {
|
|
197
|
-
background: rgba(0, 0, 0, 0.2);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.XZLLsVjN-Dialogmodule--title {
|
|
201
|
-
flex-grow: 1;
|
|
202
|
-
font-size: 20px;
|
|
203
|
-
font-weight: 600;
|
|
204
|
-
color: rgb(0, 120, 212);
|
|
205
|
-
}
|
|
206
|
-
`;
|
|
207
|
-
var s3 = document.createElement("style");
|
|
208
|
-
s3.setAttribute("data-sourceFile", "packages/overlay/src/components/Dialog/Dialog.module.css");
|
|
209
|
-
s3.appendChild(document.createTextNode(compiledModule3));
|
|
210
|
-
document.head.appendChild(s3);
|
|
211
|
-
var closeButton = "XZLLsVjN-Dialogmodule--closeButton";
|
|
212
|
-
var commands = "XZLLsVjN-Dialogmodule--commands";
|
|
213
|
-
var dialog = "XZLLsVjN-Dialogmodule--dialog";
|
|
214
|
-
var overlay = "XZLLsVjN-Dialogmodule--overlay";
|
|
215
|
-
var title = "XZLLsVjN-Dialogmodule--title";
|
|
216
|
-
var titleArea = "XZLLsVjN-Dialogmodule--titleArea";
|
|
217
|
-
var Dialog_default = { closeButton, commands, dialog, overlay, title, titleArea };
|
|
218
|
-
|
|
219
|
-
// packages/overlay/src/images/dismiss-16-filled.inline.svg
|
|
220
|
-
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';
|
|
221
|
-
|
|
222
|
-
// packages/overlay/src/components/Dialog/Dialog.tsx
|
|
223
|
-
function Dialog({ title: title3, id, style, draggable, onClose, commands: commands3, children }) {
|
|
224
|
-
const draggableRef = useRef(null);
|
|
225
|
-
const draggableTargetRef = useRef(null);
|
|
226
|
-
const colorAccent = style === "error" ? "rgb(164, 38, 44)" : void 0;
|
|
227
|
-
const cursorDraggable = draggable ? "move" : void 0;
|
|
228
|
-
useDraggable({
|
|
229
|
-
enabled: !!draggable,
|
|
230
|
-
containerElementRef: draggableRef,
|
|
231
|
-
dragElementRef: draggableTargetRef
|
|
232
|
-
});
|
|
233
|
-
return /* @__PURE__ */ React2.createElement("div", { id, className: Dialog_default.overlay }, /* @__PURE__ */ React2.createElement("div", { ref: draggableRef, className: Dialog_default.dialog, style: { borderTopColor: colorAccent } }, /* @__PURE__ */ React2.createElement("div", { className: Dialog_default.titleArea }, /* @__PURE__ */ React2.createElement(
|
|
234
|
-
"div",
|
|
235
|
-
{
|
|
236
|
-
ref: draggableTargetRef,
|
|
237
|
-
className: Dialog_default.title,
|
|
238
|
-
style: { color: colorAccent, cursor: cursorDraggable }
|
|
239
|
-
},
|
|
240
|
-
title3
|
|
241
|
-
), onClose && /* @__PURE__ */ React2.createElement("button", { className: Dialog_default.closeButton, onClick: onClose, "aria-label": "Minimize overlay" }, /* @__PURE__ */ React2.createElement("img", { src: dismiss_16_filled_inline_default, alt: "" }))), commands3 && /* @__PURE__ */ React2.createElement("div", { className: Dialog_default.commands }, ...commands3), children));
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// packages/overlay/src/components/StatusDialog/TaskStatus.module.css
|
|
245
|
-
var compiledModule4 = `.WGSBzu-TaskStatusmodule--root {
|
|
246
|
-
border: 1px solid #ccc;
|
|
247
|
-
border-radius: 3px;
|
|
248
|
-
box-shadow: 0 0 12px -6px rgba(0, 0, 0, 0.25);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.WGSBzu-TaskStatusmodule--header {
|
|
252
|
-
display: flex;
|
|
253
|
-
gap: 8px;
|
|
254
|
-
padding: 8px 16px;
|
|
255
|
-
background: #f0f0f0;
|
|
256
|
-
align-items: center;
|
|
257
|
-
line-height: 1;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.WGSBzu-TaskStatusmodule--commands {
|
|
261
|
-
display: flex;
|
|
262
|
-
flex-direction: row;
|
|
263
|
-
gap: 8px;
|
|
264
|
-
align-items: center;
|
|
265
|
-
flex-shrink: 0;
|
|
266
|
-
height: 40px;
|
|
267
|
-
padding: 0 16px;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.WGSBzu-TaskStatusmodule--expandButton {
|
|
271
|
-
background: transparent;
|
|
272
|
-
border: none;
|
|
273
|
-
border-radius: 4px;
|
|
274
|
-
width: 32px;
|
|
275
|
-
height: 32px;
|
|
276
|
-
}
|
|
277
|
-
.WGSBzu-TaskStatusmodule--expandButton:hover {
|
|
278
|
-
background: rgba(0, 0, 0, 0.1);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.WGSBzu-TaskStatusmodule--expandButton:active {
|
|
282
|
-
background: rgba(0, 0, 0, 0.2);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.WGSBzu-TaskStatusmodule--expandIcon {
|
|
286
|
-
transition: transform 0.1s ease-in-out;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.WGSBzu-TaskStatusmodule--collapsed {
|
|
290
|
-
transform: rotate(-90deg);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.WGSBzu-TaskStatusmodule--farArea {
|
|
294
|
-
line-height: 1;
|
|
295
|
-
font-size: 13px;
|
|
296
|
-
text-align: end;
|
|
297
|
-
display: flex;
|
|
298
|
-
align-items: baseline;
|
|
299
|
-
flex-direction: row;
|
|
300
|
-
gap: 8px;
|
|
301
|
-
display: flex;
|
|
302
|
-
flex-grow: 1;
|
|
303
|
-
justify-content: end;
|
|
304
|
-
flex-direction: row;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.WGSBzu-TaskStatusmodule--title {
|
|
308
|
-
font-size: 16px;
|
|
309
|
-
font-weight: 500;
|
|
310
|
-
color: #333;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.WGSBzu-TaskStatusmodule--subTitle {
|
|
314
|
-
font-size: 13px;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.WGSBzu-TaskStatusmodule--content {
|
|
318
|
-
border-top: 1px solid #ccc;
|
|
319
|
-
background: #fafafa;
|
|
320
|
-
padding: 8px 16px;
|
|
321
|
-
display: flex;
|
|
322
|
-
flex-direction: column;
|
|
323
|
-
gap: 8px;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.WGSBzu-TaskStatusmodule--resultItems {
|
|
327
|
-
display: flex;
|
|
328
|
-
flex-direction: column;
|
|
329
|
-
gap: 8px;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.WGSBzu-TaskStatusmodule--error {
|
|
333
|
-
background: #ffe9e9;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
.WGSBzu-TaskStatusmodule--success {
|
|
337
|
-
background: #e9f9e9;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.WGSBzu-TaskStatusmodule--warning {
|
|
341
|
-
background: #fff9e9;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
.WGSBzu-TaskStatusmodule--name {
|
|
345
|
-
font-size: 12px;
|
|
346
|
-
font-weight: 600;
|
|
347
|
-
text-transform: uppercase;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.WGSBzu-TaskStatusmodule--value {
|
|
351
|
-
display: flex;
|
|
352
|
-
flex-direction: column;
|
|
353
|
-
font-size: 14px;
|
|
354
|
-
color: #333;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.WGSBzu-TaskStatusmodule--linkButton {
|
|
358
|
-
display: inline-flex;
|
|
359
|
-
align-items: flex-start;
|
|
360
|
-
text-align: start;
|
|
361
|
-
margin: 0;
|
|
362
|
-
padding: 0;
|
|
363
|
-
border: none;
|
|
364
|
-
background: inherit;
|
|
365
|
-
font-family: inherit;
|
|
366
|
-
flex-grow: 1;
|
|
367
|
-
|
|
368
|
-
font-size: 14px;
|
|
369
|
-
flex-shrink: 0;
|
|
370
|
-
text-decoration: none;
|
|
371
|
-
color: #000;
|
|
372
|
-
cursor: pointer;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.WGSBzu-TaskStatusmodule--linkButton:hover {
|
|
376
|
-
text-decoration: underline;
|
|
377
|
-
}
|
|
378
|
-
`;
|
|
379
|
-
var s4 = document.createElement("style");
|
|
380
|
-
s4.setAttribute("data-sourceFile", "packages/overlay/src/components/StatusDialog/TaskStatus.module.css");
|
|
381
|
-
s4.appendChild(document.createTextNode(compiledModule4));
|
|
382
|
-
document.head.appendChild(s4);
|
|
383
|
-
var collapsed = "WGSBzu-TaskStatusmodule--collapsed";
|
|
384
|
-
var commands2 = "WGSBzu-TaskStatusmodule--commands";
|
|
385
|
-
var content = "WGSBzu-TaskStatusmodule--content";
|
|
386
|
-
var error = "WGSBzu-TaskStatusmodule--error";
|
|
387
|
-
var expandButton = "WGSBzu-TaskStatusmodule--expandButton";
|
|
388
|
-
var expandIcon = "WGSBzu-TaskStatusmodule--expandIcon";
|
|
389
|
-
var farArea = "WGSBzu-TaskStatusmodule--farArea";
|
|
390
|
-
var header = "WGSBzu-TaskStatusmodule--header";
|
|
391
|
-
var linkButton = "WGSBzu-TaskStatusmodule--linkButton";
|
|
392
|
-
var name = "WGSBzu-TaskStatusmodule--name";
|
|
393
|
-
var resultItems = "WGSBzu-TaskStatusmodule--resultItems";
|
|
394
|
-
var root2 = "WGSBzu-TaskStatusmodule--root";
|
|
395
|
-
var subTitle = "WGSBzu-TaskStatusmodule--subTitle";
|
|
396
|
-
var success = "WGSBzu-TaskStatusmodule--success";
|
|
397
|
-
var title2 = "WGSBzu-TaskStatusmodule--title";
|
|
398
|
-
var value = "WGSBzu-TaskStatusmodule--value";
|
|
399
|
-
var warning = "WGSBzu-TaskStatusmodule--warning";
|
|
400
|
-
var TaskStatus_default = { collapsed, commands: commands2, content, error, expandButton, expandIcon, farArea, header, linkButton, name, resultItems, root: root2, subTitle, success, title: title2, value, warning };
|
|
401
|
-
|
|
402
|
-
// packages/overlay/src/images/error-24.inline.svg
|
|
403
|
-
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';
|
|
404
|
-
|
|
405
|
-
// packages/overlay/src/images/chevrondown-20.inline.svg
|
|
406
|
-
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';
|
|
407
|
-
|
|
408
|
-
export {
|
|
409
|
-
TaskStatus_default,
|
|
410
|
-
error_24_inline_default,
|
|
411
|
-
chevrondown_20_inline_default,
|
|
412
|
-
Button,
|
|
413
|
-
TaskList_default,
|
|
414
|
-
Dialog
|
|
415
|
-
};
|
|
416
|
-
//# sourceMappingURL=chunk-XOJFP5X6.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/components/Button/Button.tsx", "../../../../src/components/Button/Button.module.css", "../../../../src/components/StatusDialog/TaskList.module.css", "../../../../src/components/Dialog/Dialog.tsx", "../../../../src/components/Dialog/Dialog.module.css", "../../../../src/components/StatusDialog/TaskStatus.module.css"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport styles from './Button.module.css';\n\nexport function Button(props: React.ButtonHTMLAttributes<HTMLButtonElement> & { primary?: boolean }) {\n const { primary, ...other } = props;\n const className = primary ? styles.primaryButton : styles.standardButton;\n return <button {...other} className={className} type={'button'} />;\n}\n", "// THIS FILE IS AUTO GENERATED FROM packages/overlay/src/components/Button/Button.module.css\n\n\nlet compiledModule = `.RpmxvThK-Buttonmodule--standardButton {\\n outline: transparent;\\n position: relative;\\n font-family: inherit;\\n font-size: 14px;\\n font-weight: 600;\\n box-sizing: border-box;\\n border: 1px solid rgb(138, 136, 134);\\n display: inline-block;\\n text-decoration: none;\\n text-align: center;\\n cursor: pointer;\\n padding: 0px 16px;\\n border-radius: 2px;\\n min-width: 80px;\\n height: 32px;\\n background-color: rgb(255, 255, 255);\\n color: rgb(50, 49, 48);\\n user-select: none;\\n}\\n\\n.RpmxvThK-Buttonmodule--standardButton:active {\\n background-color: rgb(237, 235, 233);\\n color: rgb(32, 31, 30);\\n}\\n\\n.RpmxvThK-Buttonmodule--standardButton:hover {\\n background-color: rgb(243, 242, 241);\\n color: rgb(32, 31, 30);\\n}\\n\\n.RpmxvThK-Buttonmodule--standardButton:focus {\\n border: 3px solid rgb(0, 0, 0);\\n}\\n\\n.RpmxvThK-Buttonmodule--primaryButton {\\n outline: transparent;\\n position: relative;\\n font-family: inherit;\\n font-size: 14px;\\n font-weight: 600;\\n box-sizing: border-box;\\n border: 1px solid rgb(0, 120, 212);\\n display: inline-block;\\n text-decoration: none;\\n text-align: center;\\n cursor: pointer;\\n padding: 0px 16px;\\n border-radius: 2px;\\n min-width: 80px;\\n height: 32px;\\n background-color: rgb(0, 120, 212);\\n color: rgb(255, 255, 255);\\n user-select: none;\\n}\\n\\n.RpmxvThK-Buttonmodule--primaryButton:active {\\n background-color: rgb(0, 90, 158);\\n border: 1px solid rgb(0, 90, 158);\\n color: rgb(255, 255, 255);\\n}\\n\\n.RpmxvThK-Buttonmodule--primaryButton:hover {\\n background-color: rgb(16, 110, 190);\\n border: 1px solid rgb(16, 110, 190);\\n color: rgb(255, 255, 255);\\n}\\n\\n.RpmxvThK-Buttonmodule--primaryButton:focus {\\n border: 3px solid rgb(0, 0, 0);\\n}\\n`;\nconst s = document.createElement('style');\ns.setAttribute('data-sourceFile', 'packages/overlay/src/components/Button/Button.module.css');\ns.appendChild(document.createTextNode(compiledModule));\ndocument.head.appendChild(s)\nexport const primaryButton = 'RpmxvThK-Buttonmodule--primaryButton';\nexport const standardButton = 'RpmxvThK-Buttonmodule--standardButton';\nexport default {primaryButton, standardButton}\n", "// THIS FILE IS AUTO GENERATED FROM packages/overlay/src/components/StatusDialog/TaskList.module.css\n\n\nlet compiledModule = `.ZnVPBoZ-TaskListmodule--root {\\n flex-grow: 1;\\n overflow: auto;\\n border-top: 1px solid #ccc;\\n box-sizing: border-box;\\n padding: 20px;\\n display: flex;\\n flex-direction: column;\\n gap: 8px;\\n}\\n`;\nconst s = document.createElement('style');\ns.setAttribute('data-sourceFile', 'packages/overlay/src/components/StatusDialog/TaskList.module.css');\ns.appendChild(document.createTextNode(compiledModule));\ndocument.head.appendChild(s)\nexport const root = 'ZnVPBoZ-TaskListmodule--root';\nexport default {root}\n", "import { default as React, useRef } from 'react';\nimport styles from './Dialog.module.css';\nimport { useDraggable } from '../../hooks/useDraggable.js';\nimport CloseIcon from '../../images/dismiss-16-filled.inline.svg';\n\nexport interface DialogProps {\n title: string;\n id: string;\n style?: 'default' | 'error';\n draggable?: boolean;\n onClose?: () => void;\n commands?: React.ReactNode[];\n children: React.ReactNode;\n}\n\nexport function Dialog({ title, id, style, draggable, onClose, commands, children }: DialogProps) {\n const draggableRef = useRef<HTMLDivElement>(null);\n const draggableTargetRef = useRef<HTMLDivElement>(null);\n const colorAccent = style === 'error' ? 'rgb(164, 38, 44)' : undefined;\n const cursorDraggable = draggable ? 'move' : undefined;\n\n useDraggable({\n enabled: !!draggable,\n containerElementRef: draggableRef,\n dragElementRef: draggableTargetRef,\n });\n\n return (\n <div id={id} className={styles.overlay}>\n <div ref={draggableRef} className={styles.dialog} style={{ borderTopColor: colorAccent }}>\n <div className={styles.titleArea}>\n <div\n ref={draggableTargetRef}\n className={styles.title}\n style={{ color: colorAccent, cursor: cursorDraggable }}\n >\n {title}\n </div>\n {onClose && (\n <button className={styles.closeButton} onClick={onClose} aria-label=\"Minimize overlay\">\n {/* a close icon is common/universal enough that it doesn't need alt text */}\n <img src={CloseIcon} alt=\"\" />\n </button>\n )}\n </div>\n {commands && <div className={styles.commands}>{...commands}</div>}\n {children}\n </div>\n </div>\n );\n}\n", "// THIS FILE IS AUTO GENERATED FROM packages/overlay/src/components/Dialog/Dialog.module.css\n\n\nlet compiledModule = `.XZLLsVjN-Dialogmodule--overlay {\\n background: rgba(0, 0, 0, 0.1);\\n border: 1px solid black;\\n position: fixed;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n z-index: 999;\\n}\\n\\n@keyframes fade-in {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n}\\n\\n.XZLLsVjN-Dialogmodule--commands {\\n display: flex;\\n flex-direction: row;\\n gap: 8px;\\n align-items: center;\\n flex-shrink: 0;\\n height: 40px;\\n padding: 0 20px;\\n}\\n\\n.XZLLsVjN-Dialogmodule--dialog {\\n animation: fade-in 0.1s ease-in-out;\\n width: 80vw;\\n align-self: stretch;\\n margin: 20px 0;\\n background: white;\\n color: #000;\\n box-sizing: border-box;\\n display: flex;\\n flex-direction: column;\\n border-top: 4px solid rgb(0, 120, 212);\\n border-radius: 3px;\\n box-shadow:\\n rgb(0 0 0 / 22%) 0px 25.6px 57.6px 0px,\\n rgb(0 0 0 / 18%) 0px 4.8px 14.4px 0px;\\n position: relative;\\n outline: transparent solid 3px;\\n}\\n\\n.XZLLsVjN-Dialogmodule--titleArea {\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n padding: 8px 8px 8px 20px;\\n gap: 8px;\\n}\\n\\n.XZLLsVjN-Dialogmodule--closeButton {\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n width: 32px;\\n height: 32px;\\n margin: 0;\\n padding: 0;\\n background: transparent;\\n border: none;\\n border-radius: 4px;\\n}\\n\\n.XZLLsVjN-Dialogmodule--closeButton:hover {\\n background: rgba(0, 0, 0, 0.1);\\n}\\n\\n.XZLLsVjN-Dialogmodule--closeButton:active {\\n background: rgba(0, 0, 0, 0.2);\\n}\\n\\n.XZLLsVjN-Dialogmodule--title {\\n flex-grow: 1;\\n font-size: 20px;\\n font-weight: 600;\\n color: rgb(0, 120, 212);\\n}\\n`;\nconst s = document.createElement('style');\ns.setAttribute('data-sourceFile', 'packages/overlay/src/components/Dialog/Dialog.module.css');\ns.appendChild(document.createTextNode(compiledModule));\ndocument.head.appendChild(s)\nexport const closeButton = 'XZLLsVjN-Dialogmodule--closeButton';\nexport const commands = 'XZLLsVjN-Dialogmodule--commands';\nexport const dialog = 'XZLLsVjN-Dialogmodule--dialog';\nexport const overlay = 'XZLLsVjN-Dialogmodule--overlay';\nexport const title = 'XZLLsVjN-Dialogmodule--title';\nexport const titleArea = 'XZLLsVjN-Dialogmodule--titleArea';\nexport default {closeButton, commands, dialog, overlay, title, titleArea}\n", "// THIS FILE IS AUTO GENERATED FROM packages/overlay/src/components/StatusDialog/TaskStatus.module.css\n\n\nlet compiledModule = `.WGSBzu-TaskStatusmodule--root {\\n border: 1px solid #ccc;\\n border-radius: 3px;\\n box-shadow: 0 0 12px -6px rgba(0, 0, 0, 0.25);\\n}\\n\\n.WGSBzu-TaskStatusmodule--header {\\n display: flex;\\n gap: 8px;\\n padding: 8px 16px;\\n background: #f0f0f0;\\n align-items: center;\\n line-height: 1;\\n}\\n\\n.WGSBzu-TaskStatusmodule--commands {\\n display: flex;\\n flex-direction: row;\\n gap: 8px;\\n align-items: center;\\n flex-shrink: 0;\\n height: 40px;\\n padding: 0 16px;\\n}\\n\\n.WGSBzu-TaskStatusmodule--expandButton {\\n background: transparent;\\n border: none;\\n border-radius: 4px;\\n width: 32px;\\n height: 32px;\\n}\\n.WGSBzu-TaskStatusmodule--expandButton:hover {\\n background: rgba(0, 0, 0, 0.1);\\n}\\n\\n.WGSBzu-TaskStatusmodule--expandButton:active {\\n background: rgba(0, 0, 0, 0.2);\\n}\\n\\n.WGSBzu-TaskStatusmodule--expandIcon {\\n transition: transform 0.1s ease-in-out;\\n}\\n\\n.WGSBzu-TaskStatusmodule--collapsed {\\n transform: rotate(-90deg);\\n}\\n\\n.WGSBzu-TaskStatusmodule--farArea {\\n line-height: 1;\\n font-size: 13px;\\n text-align: end;\\n display: flex;\\n align-items: baseline;\\n flex-direction: row;\\n gap: 8px;\\n display: flex;\\n flex-grow: 1;\\n justify-content: end;\\n flex-direction: row;\\n}\\n\\n.WGSBzu-TaskStatusmodule--title {\\n font-size: 16px;\\n font-weight: 500;\\n color: #333;\\n}\\n\\n.WGSBzu-TaskStatusmodule--subTitle {\\n font-size: 13px;\\n}\\n\\n.WGSBzu-TaskStatusmodule--content {\\n border-top: 1px solid #ccc;\\n background: #fafafa;\\n padding: 8px 16px;\\n display: flex;\\n flex-direction: column;\\n gap: 8px;\\n}\\n\\n.WGSBzu-TaskStatusmodule--resultItems {\\n display: flex;\\n flex-direction: column;\\n gap: 8px;\\n}\\n\\n.WGSBzu-TaskStatusmodule--error {\\n background: #ffe9e9;\\n}\\n\\n.WGSBzu-TaskStatusmodule--success {\\n background: #e9f9e9;\\n}\\n\\n.WGSBzu-TaskStatusmodule--warning {\\n background: #fff9e9;\\n}\\n\\n.WGSBzu-TaskStatusmodule--name {\\n font-size: 12px;\\n font-weight: 600;\\n text-transform: uppercase;\\n}\\n\\n.WGSBzu-TaskStatusmodule--value {\\n display: flex;\\n flex-direction: column;\\n font-size: 14px;\\n color: #333;\\n}\\n\\n.WGSBzu-TaskStatusmodule--linkButton {\\n display: inline-flex;\\n align-items: flex-start;\\n text-align: start;\\n margin: 0;\\n padding: 0;\\n border: none;\\n background: inherit;\\n font-family: inherit;\\n flex-grow: 1;\\n\\n font-size: 14px;\\n flex-shrink: 0;\\n text-decoration: none;\\n color: #000;\\n cursor: pointer;\\n}\\n\\n.WGSBzu-TaskStatusmodule--linkButton:hover {\\n text-decoration: underline;\\n}\\n`;\nconst s = document.createElement('style');\ns.setAttribute('data-sourceFile', 'packages/overlay/src/components/StatusDialog/TaskStatus.module.css');\ns.appendChild(document.createTextNode(compiledModule));\ndocument.head.appendChild(s)\nexport const collapsed = 'WGSBzu-TaskStatusmodule--collapsed';\nexport const commands = 'WGSBzu-TaskStatusmodule--commands';\nexport const content = 'WGSBzu-TaskStatusmodule--content';\nexport const error = 'WGSBzu-TaskStatusmodule--error';\nexport const expandButton = 'WGSBzu-TaskStatusmodule--expandButton';\nexport const expandIcon = 'WGSBzu-TaskStatusmodule--expandIcon';\nexport const farArea = 'WGSBzu-TaskStatusmodule--farArea';\nexport const header = 'WGSBzu-TaskStatusmodule--header';\nexport const linkButton = 'WGSBzu-TaskStatusmodule--linkButton';\nexport const name = 'WGSBzu-TaskStatusmodule--name';\nexport const resultItems = 'WGSBzu-TaskStatusmodule--resultItems';\nexport const root = 'WGSBzu-TaskStatusmodule--root';\nexport const subTitle = 'WGSBzu-TaskStatusmodule--subTitle';\nexport const success = 'WGSBzu-TaskStatusmodule--success';\nexport const title = 'WGSBzu-TaskStatusmodule--title';\nexport const value = 'WGSBzu-TaskStatusmodule--value';\nexport const warning = 'WGSBzu-TaskStatusmodule--warning';\nexport default {collapsed, commands, content, error, expandButton, expandIcon, farArea, header, linkButton, name, resultItems, root, subTitle, success, title, value, warning}\n"],
|
|
5
|
-
"mappings": ";;;;;AAAA,OAAO,WAAW;;;ACGlB,IAAI,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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GA,GAAE,YAAY,SAAS,eAAeD,eAAc,CAAC;AACrD,SAAS,KAAK,YAAYC,EAAC;AACpB,IAAM,YAAY;AAClB,IAAMC,YAAW;AACjB,IAAM,UAAU;AAChB,IAAM,QAAQ;AACd,IAAM,eAAe;AACrB,IAAM,aAAa;AACnB,IAAM,UAAU;AAChB,IAAM,SAAS;AACf,IAAM,aAAa;AACnB,IAAM,OAAO;AACb,IAAM,cAAc;AACpB,IAAMC,QAAO;AACb,IAAM,WAAW;AACjB,IAAM,UAAU;AAChB,IAAMC,SAAQ;AACd,IAAM,QAAQ;AACd,IAAM,UAAU;AACvB,IAAO,qBAAQ,EAAC,WAAW,UAAAF,WAAU,SAAS,OAAO,cAAc,YAAY,SAAS,QAAQ,YAAY,MAAM,aAAa,MAAAC,OAAM,UAAU,SAAS,OAAAC,QAAO,OAAO,QAAO;",
|
|
6
|
-
"names": ["compiledModule", "s", "React", "compiledModule", "s", "title", "commands", "React", "compiledModule", "s", "commands", "root", "title"]
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"splitting": true,
|
|
3
|
-
"serviceOptions": {},
|
|
4
|
-
"buildAcknowledgeTimeoutMs": 10000,
|
|
5
|
-
"sourcemap": "linked",
|
|
6
|
-
"incremental": false,
|
|
7
|
-
"minify": false,
|
|
8
|
-
"metafile": true,
|
|
9
|
-
"write": true,
|
|
10
|
-
"absWorkingDir": "/home/runner/work/cloudpack/cloudpack",
|
|
11
|
-
"entryPoints": {
|
|
12
|
-
"./lib/index": "./packages/overlay/src/index.tsx",
|
|
13
|
-
"./lib/constants": "./packages/overlay/src/constants.ts"
|
|
14
|
-
},
|
|
15
|
-
"outdir": "/home/runner/work/cloudpack/cloudpack/packages/overlay/dist/browser-esm",
|
|
16
|
-
"packages": "external",
|
|
17
|
-
"define": {
|
|
18
|
-
"global": "window",
|
|
19
|
-
"process.env.NODE_ENV": "\"development\""
|
|
20
|
-
},
|
|
21
|
-
"loader": {
|
|
22
|
-
".aac": "dataurl",
|
|
23
|
-
".bmp": "dataurl",
|
|
24
|
-
".gif": "dataurl",
|
|
25
|
-
".jpeg": "dataurl",
|
|
26
|
-
".jpg": "dataurl",
|
|
27
|
-
".mp3": "dataurl",
|
|
28
|
-
".mp4": "dataurl",
|
|
29
|
-
".ogg": "dataurl",
|
|
30
|
-
".otf": "dataurl",
|
|
31
|
-
".png": "dataurl",
|
|
32
|
-
".svg": "dataurl",
|
|
33
|
-
".ttf": "dataurl",
|
|
34
|
-
".wav": "dataurl",
|
|
35
|
-
".webp": "dataurl",
|
|
36
|
-
".woff": "dataurl",
|
|
37
|
-
".woff2": "dataurl"
|
|
38
|
-
},
|
|
39
|
-
"plugins": [
|
|
40
|
-
{
|
|
41
|
-
"plugin": "css-modules",
|
|
42
|
-
"prefixClasses": false
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"plugin": "sass",
|
|
46
|
-
"prefixClasses": false
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"resolveExtensions": [
|
|
50
|
-
".tsx",
|
|
51
|
-
".ts",
|
|
52
|
-
".jsx",
|
|
53
|
-
".js",
|
|
54
|
-
".css",
|
|
55
|
-
".json"
|
|
56
|
-
]
|
|
57
|
-
}
|