@attraccess/plugin-rabbitmq 0.1.0-nightly.991.1 → 0.1.0
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/index.js +498 -235
- package/frontend/__federation_expose_Plugin-DeRWZl-2.js +1991 -0
- package/frontend/host-shared-placeholder-BvRk9kiK.js +0 -0
- package/frontend/remoteEntry.js +68 -2
- package/frontend/style.css +39 -36
- package/package.json +8 -5
- package/frontend/__federation_expose_Plugin-ytcRKNWl.js +0 -1001
- package/frontend/jsx-runtime-B9Qmn8k7.js +0 -42
- package/frontend/preload-helper-DxWiKyOd.js +0 -68
- package/frontend/react-D5kF5LxZ.js +0 -383
- package/frontend/rolldown-runtime-EAsCxrDo.js +0 -14
|
File without changes
|
package/frontend/remoteEntry.js
CHANGED
|
@@ -1,4 +1,70 @@
|
|
|
1
|
-
|
|
1
|
+
//#region \0vite/preload-helper.js
|
|
2
|
+
var scriptRel = "modulepreload";
|
|
3
|
+
var assetsURL = function(dep) {
|
|
4
|
+
return "/" + dep;
|
|
5
|
+
};
|
|
6
|
+
var seen$1 = {};
|
|
7
|
+
var __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
8
|
+
let promise = Promise.resolve();
|
|
9
|
+
if (deps && deps.length > 0) {
|
|
10
|
+
const links = document.getElementsByTagName("link");
|
|
11
|
+
const cspNonceMeta = document.querySelector("meta[property=csp-nonce]");
|
|
12
|
+
const cspNonce = cspNonceMeta?.nonce || cspNonceMeta?.getAttribute("nonce");
|
|
13
|
+
function allSettled(promises) {
|
|
14
|
+
return Promise.all(promises.map((p) => Promise.resolve(p).then((value) => ({
|
|
15
|
+
status: "fulfilled",
|
|
16
|
+
value
|
|
17
|
+
}), (reason) => ({
|
|
18
|
+
status: "rejected",
|
|
19
|
+
reason
|
|
20
|
+
}))));
|
|
21
|
+
}
|
|
22
|
+
function importMetaResolve(specifier) {
|
|
23
|
+
if (import.meta.resolve) return import.meta.resolve(specifier);
|
|
24
|
+
return new URL(
|
|
25
|
+
specifier,
|
|
26
|
+
/** #__KEEP__ */
|
|
27
|
+
import.meta.url
|
|
28
|
+
).href;
|
|
29
|
+
}
|
|
30
|
+
promise = allSettled(deps.map((dep) => {
|
|
31
|
+
dep = assetsURL(dep, importerUrl);
|
|
32
|
+
dep = importMetaResolve(dep);
|
|
33
|
+
if (dep in seen$1) return;
|
|
34
|
+
seen$1[dep] = true;
|
|
35
|
+
const isCss = dep.endsWith(".css");
|
|
36
|
+
for (let i = links.length - 1; i >= 0; i--) {
|
|
37
|
+
const link = links[i];
|
|
38
|
+
if (link.href === dep && (!isCss || link.rel === "stylesheet")) return;
|
|
39
|
+
}
|
|
40
|
+
const link = document.createElement("link");
|
|
41
|
+
link.rel = isCss ? "stylesheet" : scriptRel;
|
|
42
|
+
if (!isCss) link.as = "script";
|
|
43
|
+
link.crossOrigin = "";
|
|
44
|
+
link.href = dep;
|
|
45
|
+
if (cspNonce) link.setAttribute("nonce", cspNonce);
|
|
46
|
+
document.head.appendChild(link);
|
|
47
|
+
if (isCss) return new Promise((res, rej) => {
|
|
48
|
+
link.addEventListener("load", res);
|
|
49
|
+
link.addEventListener("error", () => rej(/* @__PURE__ */ new Error(`Unable to preload CSS for ${dep}`)));
|
|
50
|
+
});
|
|
51
|
+
}));
|
|
52
|
+
}
|
|
53
|
+
function handlePreloadError(err) {
|
|
54
|
+
const e = new Event("vite:preloadError", { cancelable: true });
|
|
55
|
+
e.payload = err;
|
|
56
|
+
window.dispatchEvent(e);
|
|
57
|
+
if (!e.defaultPrevented) throw err;
|
|
58
|
+
}
|
|
59
|
+
return promise.then((res) => {
|
|
60
|
+
for (const item of res || []) {
|
|
61
|
+
if (item.status !== "rejected") continue;
|
|
62
|
+
handlePreloadError(item.reason);
|
|
63
|
+
}
|
|
64
|
+
return baseModule().catch(handlePreloadError);
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
2
68
|
//#region \0virtual:__remoteEntryHelper__remoteEntry.js
|
|
3
69
|
var currentImports = {};
|
|
4
70
|
var exportSet = /* @__PURE__ */ new Set([
|
|
@@ -9,7 +75,7 @@ var exportSet = /* @__PURE__ */ new Set([
|
|
|
9
75
|
]);
|
|
10
76
|
var moduleMap = { "./plugin": () => {
|
|
11
77
|
dynamicLoadingCss(["style.css"], false, "./plugin");
|
|
12
|
-
return __federation_import("./__federation_expose_Plugin-
|
|
78
|
+
return __federation_import("./__federation_expose_Plugin-DeRWZl-2.js").then((module) => Object.keys(module).every((item) => exportSet.has(item)) ? () => module.default : () => module);
|
|
13
79
|
} };
|
|
14
80
|
var seen = {};
|
|
15
81
|
var dynamicLoadingCss = (cssFilePaths, dontAppendStylesToHead, exposeItemName) => {
|
package/frontend/style.css
CHANGED
|
@@ -10,21 +10,32 @@
|
|
|
10
10
|
|
|
11
11
|
:root, :host {
|
|
12
12
|
--rmq-spacing: .25rem;
|
|
13
|
-
--rmq-container-4xl: 56rem;
|
|
14
13
|
--rmq-text-xs: .75rem;
|
|
15
14
|
--rmq-text-xs--line-height: calc(1 / .75);
|
|
16
15
|
--rmq-text-sm: .875rem;
|
|
17
16
|
--rmq-text-sm--line-height: calc(1.25 / .875);
|
|
18
17
|
--rmq-text-base: 1rem;
|
|
19
18
|
--rmq-text-base--line-height: calc(1.5 / 1);
|
|
20
|
-
--rmq-text-
|
|
21
|
-
--rmq-text-
|
|
19
|
+
--rmq-text-lg: 1.125rem;
|
|
20
|
+
--rmq-text-lg--line-height: calc(1.75 / 1.125);
|
|
22
21
|
--rmq-font-weight-medium: 500;
|
|
23
22
|
--rmq-font-weight-semibold: 600;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
.rmq\:
|
|
27
|
-
|
|
25
|
+
.rmq\:sr-only {
|
|
26
|
+
clip-path: inset(50%);
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
border-width: 0;
|
|
29
|
+
width: 1px;
|
|
30
|
+
height: 1px;
|
|
31
|
+
margin: -1px;
|
|
32
|
+
padding: 0;
|
|
33
|
+
position: absolute;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rmq\:mt-0\.5 {
|
|
38
|
+
margin-top: calc(var(--rmq-spacing) * .5);
|
|
28
39
|
}
|
|
29
40
|
|
|
30
41
|
.rmq\:mt-2 {
|
|
@@ -39,6 +50,10 @@
|
|
|
39
50
|
display: grid;
|
|
40
51
|
}
|
|
41
52
|
|
|
53
|
+
.rmq\:h-3 {
|
|
54
|
+
height: calc(var(--rmq-spacing) * 3);
|
|
55
|
+
}
|
|
56
|
+
|
|
42
57
|
.rmq\:h-3\.5 {
|
|
43
58
|
height: calc(var(--rmq-spacing) * 3.5);
|
|
44
59
|
}
|
|
@@ -51,8 +66,8 @@
|
|
|
51
66
|
height: calc(var(--rmq-spacing) * 5);
|
|
52
67
|
}
|
|
53
68
|
|
|
54
|
-
.rmq\:
|
|
55
|
-
|
|
69
|
+
.rmq\:w-3 {
|
|
70
|
+
width: calc(var(--rmq-spacing) * 3);
|
|
56
71
|
}
|
|
57
72
|
|
|
58
73
|
.rmq\:w-3\.5 {
|
|
@@ -67,18 +82,10 @@
|
|
|
67
82
|
width: calc(var(--rmq-spacing) * 5);
|
|
68
83
|
}
|
|
69
84
|
|
|
70
|
-
.rmq\:w-6 {
|
|
71
|
-
width: calc(var(--rmq-spacing) * 6);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
85
|
.rmq\:w-full {
|
|
75
86
|
width: 100%;
|
|
76
87
|
}
|
|
77
88
|
|
|
78
|
-
.rmq\:max-w-4xl {
|
|
79
|
-
max-width: var(--rmq-container-4xl);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
89
|
.rmq\:flex-1 {
|
|
83
90
|
flex: 1;
|
|
84
91
|
}
|
|
@@ -87,6 +94,10 @@
|
|
|
87
94
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
88
95
|
}
|
|
89
96
|
|
|
97
|
+
.rmq\:grid-cols-2 {
|
|
98
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
99
|
+
}
|
|
100
|
+
|
|
90
101
|
.rmq\:flex-col {
|
|
91
102
|
flex-direction: column;
|
|
92
103
|
}
|
|
@@ -107,12 +118,12 @@
|
|
|
107
118
|
align-items: flex-end;
|
|
108
119
|
}
|
|
109
120
|
|
|
110
|
-
.rmq\:
|
|
111
|
-
|
|
121
|
+
.rmq\:items-start {
|
|
122
|
+
align-items: flex-start;
|
|
112
123
|
}
|
|
113
124
|
|
|
114
|
-
.rmq\:justify-
|
|
115
|
-
justify-content:
|
|
125
|
+
.rmq\:justify-between {
|
|
126
|
+
justify-content: space-between;
|
|
116
127
|
}
|
|
117
128
|
|
|
118
129
|
.rmq\:justify-end {
|
|
@@ -135,10 +146,6 @@
|
|
|
135
146
|
gap: calc(var(--rmq-spacing) * 4);
|
|
136
147
|
}
|
|
137
148
|
|
|
138
|
-
.rmq\:gap-6 {
|
|
139
|
-
gap: calc(var(--rmq-spacing) * 6);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
149
|
.rmq\:rounded-lg {
|
|
143
150
|
border-radius: calc(var(--radius) * 1);
|
|
144
151
|
}
|
|
@@ -152,28 +159,20 @@
|
|
|
152
159
|
padding: calc(var(--rmq-spacing) * 3);
|
|
153
160
|
}
|
|
154
161
|
|
|
155
|
-
.rmq\:p-4 {
|
|
156
|
-
padding: calc(var(--rmq-spacing) * 4);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.rmq\:p-6 {
|
|
160
|
-
padding: calc(var(--rmq-spacing) * 6);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
162
|
.rmq\:py-1\.5 {
|
|
164
163
|
padding-block: calc(var(--rmq-spacing) * 1.5);
|
|
165
164
|
}
|
|
166
165
|
|
|
167
|
-
.rmq\:text-2xl {
|
|
168
|
-
font-size: var(--rmq-text-2xl);
|
|
169
|
-
line-height: var(--tw-leading, var(--rmq-text-2xl--line-height));
|
|
170
|
-
}
|
|
171
|
-
|
|
172
166
|
.rmq\:text-base {
|
|
173
167
|
font-size: var(--rmq-text-base);
|
|
174
168
|
line-height: var(--tw-leading, var(--rmq-text-base--line-height));
|
|
175
169
|
}
|
|
176
170
|
|
|
171
|
+
.rmq\:text-lg {
|
|
172
|
+
font-size: var(--rmq-text-lg);
|
|
173
|
+
line-height: var(--tw-leading, var(--rmq-text-lg--line-height));
|
|
174
|
+
}
|
|
175
|
+
|
|
177
176
|
.rmq\:text-sm {
|
|
178
177
|
font-size: var(--rmq-text-sm);
|
|
179
178
|
line-height: var(--tw-leading, var(--rmq-text-sm--line-height));
|
|
@@ -214,6 +213,10 @@
|
|
|
214
213
|
.rmq\:md\:grid-cols-3 {
|
|
215
214
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
216
215
|
}
|
|
216
|
+
|
|
217
|
+
.rmq\:md\:grid-cols-4 {
|
|
218
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
219
|
+
}
|
|
217
220
|
}
|
|
218
221
|
|
|
219
222
|
@property --tw-border-style {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attraccess/plugin-rabbitmq",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Official Attraccess integration for RabbitMQ.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -23,12 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@attraccess/plugins-backend-sdk": "^1.9.0",
|
|
26
|
-
"@attraccess/plugins-frontend-sdk": "^1.9.0"
|
|
26
|
+
"@attraccess/plugins-frontend-sdk": "^1.9.0",
|
|
27
|
+
"@attraccess/plugins-frontend-ui": "^1.11.0-0"
|
|
27
28
|
},
|
|
28
29
|
"attraccess": {
|
|
29
30
|
"displayName": "RabbitMQ",
|
|
30
31
|
"description": "Connect Attraccess resources to RabbitMQ.",
|
|
31
|
-
"host": "^1.
|
|
32
|
+
"host": "^1.11.0-0",
|
|
32
33
|
"backend": "dist/index.js",
|
|
33
34
|
"frontend": "frontend/remoteEntry.js",
|
|
34
35
|
"styles": "frontend/style.css",
|
|
@@ -38,6 +39,8 @@
|
|
|
38
39
|
"sdk": {
|
|
39
40
|
"backend": "^1.9.0",
|
|
40
41
|
"frontend": "^1.9.0"
|
|
41
|
-
}
|
|
42
|
-
|
|
42
|
+
},
|
|
43
|
+
"publishedCommit": "f1a7ce7d2895bbe85e0fc94088a045c7768200be"
|
|
44
|
+
},
|
|
45
|
+
"gitHead": "f1a7ce7d2895bbe85e0fc94088a045c7768200be"
|
|
43
46
|
}
|