@webx-ui/module-audit 0.4.6 → 0.5.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/AuditHostsPage-YFRORYHZ.js +343 -0
- package/dist/AuditHostsPage-YFRORYHZ.js.map +1 -0
- package/dist/AuditIssuesPage-BjTPgAnD.js +693 -0
- package/dist/AuditIssuesPage-BjTPgAnD.js.map +1 -0
- package/dist/AuditLayout.vue_vue_type_script_setup_true_lang-C8H5jlTe.js +66 -0
- package/dist/AuditLayout.vue_vue_type_script_setup_true_lang-C8H5jlTe.js.map +1 -0
- package/dist/AuditOverviewPage-gVpdBOAY.js +432 -0
- package/dist/AuditOverviewPage-gVpdBOAY.js.map +1 -0
- package/dist/AuditPagesPage-DNgZo-K-.js +355 -0
- package/dist/AuditPagesPage-DNgZo-K-.js.map +1 -0
- package/dist/AuditRunsPage-BbWsuATw.js +375 -0
- package/dist/AuditRunsPage-BbWsuATw.js.map +1 -0
- package/dist/AuditSettingsPage-HwfdLU_s.js +88 -0
- package/dist/AuditSettingsPage-HwfdLU_s.js.map +1 -0
- package/dist/index-BFYHJYU_.js +1880 -0
- package/dist/index-BFYHJYU_.js.map +1 -0
- package/dist/index.d.ts +30 -6
- package/dist/index.js +17 -4126
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import { defineComponent as F, ref as v, onMounted as I, openBlock as l, createElementBlock as h, createBlock as p, unref as e, withCtx as t, createTextVNode as c, toDisplayString as u, Fragment as $, createVNode as d, renderList as V, createElementVNode as z, createCommentVNode as f, computed as P, watch as G } from "vue";
|
|
2
|
+
import { useAdmin as L, useTranslate as H, useErrorText as M, WxDate as J } from "@webx-ui/module-admin";
|
|
3
|
+
import { WxText as m, WxSkeleton as K, WxBadge as N, WxButton as O, WxTable as Q, WxSelect as X, toast as Y } from "@webx-ui/core";
|
|
4
|
+
import { useRouter as Z } from "vue-router";
|
|
5
|
+
import { c as j, u as R, A as E, a as U, b as ee, _ as q } from "./index-BFYHJYU_.js";
|
|
6
|
+
import { _ as se } from "./AuditLayout.vue_vue_type_script_setup_true_lang-C8H5jlTe.js";
|
|
7
|
+
const ae = { class: "wx-audit-places" }, te = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "wx-audit-places__group"
|
|
10
|
+
}, le = { class: "wx-audit-places__head" }, ne = { class: "wx-audit-places__pages" }, oe = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "wx-audit-places__group"
|
|
13
|
+
}, ie = { class: "wx-audit-places__card" }, ue = { class: "wx-audit-places__record" }, D = 5, de = /* @__PURE__ */ F({
|
|
14
|
+
__name: "AuditHostPlaces",
|
|
15
|
+
props: {
|
|
16
|
+
host: {}
|
|
17
|
+
},
|
|
18
|
+
setup(A) {
|
|
19
|
+
const W = A, B = j(L());
|
|
20
|
+
R();
|
|
21
|
+
const o = H("webx-audit"), C = M(), S = Z(), r = v(null), k = v(null), w = (i) => i != null && (i >= 400 || i === 0), _ = v(/* @__PURE__ */ new Set());
|
|
22
|
+
function x(i) {
|
|
23
|
+
return `${i.kind} ${i.url}`;
|
|
24
|
+
}
|
|
25
|
+
function b(i) {
|
|
26
|
+
return _.value.has(x(i)) ? i.places : i.places.slice(0, D);
|
|
27
|
+
}
|
|
28
|
+
function T(i) {
|
|
29
|
+
const y = new Set(_.value);
|
|
30
|
+
y.delete(x(i)) || y.add(x(i)), _.value = y;
|
|
31
|
+
}
|
|
32
|
+
return I(async () => {
|
|
33
|
+
try {
|
|
34
|
+
r.value = await B.hosts({ host: W.host });
|
|
35
|
+
} catch (i) {
|
|
36
|
+
k.value = C(i);
|
|
37
|
+
}
|
|
38
|
+
}), (i, y) => (l(), h("div", ae, [
|
|
39
|
+
k.value ? (l(), p(e(m), {
|
|
40
|
+
key: 0,
|
|
41
|
+
size: "sm",
|
|
42
|
+
tone: "danger"
|
|
43
|
+
}, {
|
|
44
|
+
default: t(() => [
|
|
45
|
+
c(u(k.value), 1)
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
})) : r.value ? (l(), h($, { key: 2 }, [
|
|
49
|
+
r.value.targets?.length ? (l(), h("section", te, [
|
|
50
|
+
d(e(m), {
|
|
51
|
+
size: "sm",
|
|
52
|
+
weight: "semibold"
|
|
53
|
+
}, {
|
|
54
|
+
default: t(() => [
|
|
55
|
+
c(u(e(o)("page.host-pages")), 1)
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}),
|
|
59
|
+
(l(!0), h($, null, V(r.value.targets, (s) => (l(), h("div", {
|
|
60
|
+
key: x(s),
|
|
61
|
+
class: "wx-audit-places__card"
|
|
62
|
+
}, [
|
|
63
|
+
z("div", le, [
|
|
64
|
+
d(e(N), {
|
|
65
|
+
type: "default",
|
|
66
|
+
size: "sm",
|
|
67
|
+
class: "wx-audit-places__fixed"
|
|
68
|
+
}, {
|
|
69
|
+
default: t(() => [
|
|
70
|
+
c(u(s.kind), 1)
|
|
71
|
+
]),
|
|
72
|
+
_: 2
|
|
73
|
+
}, 1024),
|
|
74
|
+
d(E, {
|
|
75
|
+
href: s.url,
|
|
76
|
+
strong: ""
|
|
77
|
+
}, null, 8, ["href"]),
|
|
78
|
+
s.kind === "a" && !s.mixed ? (l(), p(U, {
|
|
79
|
+
key: 0,
|
|
80
|
+
rel: s.rel,
|
|
81
|
+
target: s.target,
|
|
82
|
+
class: "wx-audit-places__fixed"
|
|
83
|
+
}, null, 8, ["rel", "target"])) : f("", !0),
|
|
84
|
+
w(s.status) ? (l(), p(ee, {
|
|
85
|
+
key: 1,
|
|
86
|
+
code: s.status,
|
|
87
|
+
class: "wx-audit-places__fixed"
|
|
88
|
+
}, null, 8, ["code"])) : f("", !0),
|
|
89
|
+
d(e(m), {
|
|
90
|
+
size: "sm",
|
|
91
|
+
tone: "muted",
|
|
92
|
+
class: "wx-audit-places__count"
|
|
93
|
+
}, {
|
|
94
|
+
default: t(() => [
|
|
95
|
+
c(u(e(o)("page.link-pages", { count: s.pages })), 1)
|
|
96
|
+
]),
|
|
97
|
+
_: 2
|
|
98
|
+
}, 1024)
|
|
99
|
+
]),
|
|
100
|
+
z("ul", ne, [
|
|
101
|
+
(l(!0), h($, null, V(b(s), (n, g) => (l(), h("li", { key: g }, [
|
|
102
|
+
d(E, {
|
|
103
|
+
href: n.page
|
|
104
|
+
}, null, 8, ["href"]),
|
|
105
|
+
n.anchor ? (l(), p(e(m), {
|
|
106
|
+
key: 0,
|
|
107
|
+
size: "sm",
|
|
108
|
+
tone: "muted",
|
|
109
|
+
class: "wx-audit-places__anchor"
|
|
110
|
+
}, {
|
|
111
|
+
default: t(() => [
|
|
112
|
+
c("«" + u(n.anchor) + "»", 1)
|
|
113
|
+
]),
|
|
114
|
+
_: 2
|
|
115
|
+
}, 1024)) : f("", !0),
|
|
116
|
+
s.kind === "a" && s.mixed ? (l(), p(U, {
|
|
117
|
+
key: 1,
|
|
118
|
+
rel: n.rel,
|
|
119
|
+
target: n.target,
|
|
120
|
+
class: "wx-audit-places__fixed"
|
|
121
|
+
}, null, 8, ["rel", "target"])) : f("", !0)
|
|
122
|
+
]))), 128))
|
|
123
|
+
]),
|
|
124
|
+
s.places.length > D ? (l(), p(e(O), {
|
|
125
|
+
key: 0,
|
|
126
|
+
size: "sm",
|
|
127
|
+
variant: "text",
|
|
128
|
+
class: "wx-audit-places__more",
|
|
129
|
+
onClick: (n) => T(s)
|
|
130
|
+
}, {
|
|
131
|
+
default: t(() => [
|
|
132
|
+
c(u(_.value.has(x(s)) ? e(o)("page.link-collapse") : e(o)("page.link-show-all")), 1)
|
|
133
|
+
]),
|
|
134
|
+
_: 2
|
|
135
|
+
}, 1032, ["onClick"])) : f("", !0)
|
|
136
|
+
]))), 128))
|
|
137
|
+
])) : f("", !0),
|
|
138
|
+
r.value.fields?.length ? (l(), h("section", oe, [
|
|
139
|
+
d(e(m), {
|
|
140
|
+
size: "sm",
|
|
141
|
+
weight: "semibold"
|
|
142
|
+
}, {
|
|
143
|
+
default: t(() => [
|
|
144
|
+
c(u(e(o)("page.host-fields")), 1)
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}),
|
|
148
|
+
z("div", ie, [
|
|
149
|
+
(l(!0), h($, null, V(r.value.fields, (s, n) => (l(), h("div", {
|
|
150
|
+
key: n,
|
|
151
|
+
class: "wx-audit-places__field"
|
|
152
|
+
}, [
|
|
153
|
+
z("div", ue, [
|
|
154
|
+
d(e(m), { size: "sm" }, {
|
|
155
|
+
default: t(() => [
|
|
156
|
+
c(u(s.record_label), 1)
|
|
157
|
+
]),
|
|
158
|
+
_: 2
|
|
159
|
+
}, 1024),
|
|
160
|
+
d(e(m), {
|
|
161
|
+
size: "sm",
|
|
162
|
+
tone: "muted"
|
|
163
|
+
}, {
|
|
164
|
+
default: t(() => [
|
|
165
|
+
c(u(s.source) + " · " + u(s.field) + u(s.locale ? ` · ${s.locale}` : ""), 1)
|
|
166
|
+
]),
|
|
167
|
+
_: 2
|
|
168
|
+
}, 1024),
|
|
169
|
+
s.published ? f("", !0) : (l(), p(e(N), {
|
|
170
|
+
key: 0,
|
|
171
|
+
size: "sm"
|
|
172
|
+
}, {
|
|
173
|
+
default: t(() => [
|
|
174
|
+
c(u(e(o)("page.unpublished")), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}))
|
|
178
|
+
]),
|
|
179
|
+
d(E, {
|
|
180
|
+
href: s.url
|
|
181
|
+
}, null, 8, ["href"]),
|
|
182
|
+
s.edit_url ? (l(), p(e(O), {
|
|
183
|
+
key: 0,
|
|
184
|
+
size: "sm",
|
|
185
|
+
variant: "text",
|
|
186
|
+
icon: "edit",
|
|
187
|
+
class: "wx-audit-places__fixed",
|
|
188
|
+
onClick: (g) => e(S).push(s.edit_url)
|
|
189
|
+
}, {
|
|
190
|
+
default: t(() => [
|
|
191
|
+
c(u(e(o)("page.open-editor")), 1)
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
}, 8, ["onClick"])) : f("", !0)
|
|
195
|
+
]))), 128))
|
|
196
|
+
])
|
|
197
|
+
])) : f("", !0)
|
|
198
|
+
], 64)) : (l(), p(e(K), {
|
|
199
|
+
key: 1,
|
|
200
|
+
rows: 2
|
|
201
|
+
}))
|
|
202
|
+
]));
|
|
203
|
+
}
|
|
204
|
+
}), ce = /* @__PURE__ */ q(de, [["__scopeId", "data-v-42fbbd09"]]), re = { class: "wx-audit-hosts__host" }, pe = /* @__PURE__ */ F({
|
|
205
|
+
__name: "AuditHostsPage",
|
|
206
|
+
props: {
|
|
207
|
+
base: {}
|
|
208
|
+
},
|
|
209
|
+
setup(A) {
|
|
210
|
+
const W = A, B = j(L());
|
|
211
|
+
R();
|
|
212
|
+
const o = H("webx-audit"), C = H("webx-admin"), S = M(), r = v(null), k = v(!1), w = v(""), _ = v(null), x = v([]), b = {
|
|
213
|
+
dev: "danger",
|
|
214
|
+
own_mirror: "warning",
|
|
215
|
+
external: "info",
|
|
216
|
+
own: "success"
|
|
217
|
+
}, T = P(() => [
|
|
218
|
+
{ key: "host", label: o("page.host"), minWidth: 220 },
|
|
219
|
+
{ key: "links", label: o("page.links"), width: 90, align: "right" },
|
|
220
|
+
{ key: "pages", label: o("page.pages"), width: 90, align: "right", hideBelow: 560 },
|
|
221
|
+
{ key: "broken", label: o("page.broken"), width: 100, align: "right", hideBelow: 640 },
|
|
222
|
+
{ key: "fields", label: o("page.fields"), width: 120, align: "right" },
|
|
223
|
+
{ key: "first_seen", label: o("page.first-seen"), minWidth: 140, hideBelow: 760 }
|
|
224
|
+
]), i = P(
|
|
225
|
+
() => Object.keys(b).map((n) => ({
|
|
226
|
+
value: n,
|
|
227
|
+
label: `${o(`page.host-${n}`)}${r.value?.classes[n] ? ` · ${r.value.classes[n]}` : ""}`
|
|
228
|
+
}))
|
|
229
|
+
);
|
|
230
|
+
function y(n) {
|
|
231
|
+
return typeof n == "string" && n in b ? n : null;
|
|
232
|
+
}
|
|
233
|
+
async function s() {
|
|
234
|
+
k.value = !0;
|
|
235
|
+
try {
|
|
236
|
+
r.value = await B.hosts({ class: _.value, search: w.value }), x.value = [];
|
|
237
|
+
} catch (n) {
|
|
238
|
+
Y.danger(S(n));
|
|
239
|
+
} finally {
|
|
240
|
+
k.value = !1;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
return G([_, w], () => {
|
|
244
|
+
s();
|
|
245
|
+
}), I(s), (n, g) => (l(), p(se, {
|
|
246
|
+
base: W.base,
|
|
247
|
+
current: "hosts"
|
|
248
|
+
}, {
|
|
249
|
+
default: t(() => [
|
|
250
|
+
d(e(Q), {
|
|
251
|
+
expanded: x.value,
|
|
252
|
+
"onUpdate:expanded": g[1] || (g[1] = (a) => x.value = a),
|
|
253
|
+
search: w.value,
|
|
254
|
+
"onUpdate:search": g[2] || (g[2] = (a) => w.value = a),
|
|
255
|
+
data: r.value?.hosts ?? [],
|
|
256
|
+
columns: T.value,
|
|
257
|
+
"row-key": "host",
|
|
258
|
+
expandable: "",
|
|
259
|
+
flush: "",
|
|
260
|
+
searchable: "",
|
|
261
|
+
"search-placeholder": e(o)("page.search-host"),
|
|
262
|
+
loading: k.value,
|
|
263
|
+
"filters-count": _.value ? 1 : 0,
|
|
264
|
+
"filters-label": e(C)("filters.title"),
|
|
265
|
+
"row-class": (a) => a.class === "dev" ? "is-stand" : void 0,
|
|
266
|
+
"empty-text": e(o)("page.hosts-empty")
|
|
267
|
+
}, {
|
|
268
|
+
filters: t(() => [
|
|
269
|
+
d(e(X), {
|
|
270
|
+
"model-value": _.value,
|
|
271
|
+
options: i.value,
|
|
272
|
+
placeholder: e(o)("page.any-class"),
|
|
273
|
+
clearable: "",
|
|
274
|
+
"onUpdate:modelValue": g[0] || (g[0] = (a) => _.value = y(a))
|
|
275
|
+
}, null, 8, ["model-value", "options", "placeholder"])
|
|
276
|
+
]),
|
|
277
|
+
"cell-host": t(({ row: a }) => [
|
|
278
|
+
z("span", re, [
|
|
279
|
+
d(e(N), {
|
|
280
|
+
type: b[a.class],
|
|
281
|
+
size: "sm"
|
|
282
|
+
}, {
|
|
283
|
+
default: t(() => [
|
|
284
|
+
c(u(e(o)(`page.host-${a.class}`)), 1)
|
|
285
|
+
]),
|
|
286
|
+
_: 2
|
|
287
|
+
}, 1032, ["type"]),
|
|
288
|
+
d(e(m), {
|
|
289
|
+
size: "sm",
|
|
290
|
+
tone: a.class === "dev" ? "danger" : void 0,
|
|
291
|
+
weight: "medium"
|
|
292
|
+
}, {
|
|
293
|
+
default: t(() => [
|
|
294
|
+
c(u(a.host), 1)
|
|
295
|
+
]),
|
|
296
|
+
_: 2
|
|
297
|
+
}, 1032, ["tone"])
|
|
298
|
+
])
|
|
299
|
+
]),
|
|
300
|
+
"cell-broken": t(({ row: a }) => [
|
|
301
|
+
d(e(m), {
|
|
302
|
+
size: "sm",
|
|
303
|
+
tone: a.broken ? "danger" : "muted"
|
|
304
|
+
}, {
|
|
305
|
+
default: t(() => [
|
|
306
|
+
c(u(a.broken), 1)
|
|
307
|
+
]),
|
|
308
|
+
_: 2
|
|
309
|
+
}, 1032, ["tone"])
|
|
310
|
+
]),
|
|
311
|
+
"cell-fields": t(({ row: a }) => [
|
|
312
|
+
d(e(m), {
|
|
313
|
+
size: "sm",
|
|
314
|
+
tone: a.fields && a.class === "dev" ? "danger" : void 0
|
|
315
|
+
}, {
|
|
316
|
+
default: t(() => [
|
|
317
|
+
c(u(a.fields), 1)
|
|
318
|
+
]),
|
|
319
|
+
_: 2
|
|
320
|
+
}, 1032, ["tone"])
|
|
321
|
+
]),
|
|
322
|
+
"cell-first_seen": t(({ row: a }) => [
|
|
323
|
+
a.first_seen ? (l(), p(e(J), {
|
|
324
|
+
key: 0,
|
|
325
|
+
value: a.first_seen
|
|
326
|
+
}, null, 8, ["value"])) : f("", !0)
|
|
327
|
+
]),
|
|
328
|
+
expanded: t(({ row: a }) => [
|
|
329
|
+
d(ce, {
|
|
330
|
+
host: a.host
|
|
331
|
+
}, null, 8, ["host"])
|
|
332
|
+
]),
|
|
333
|
+
_: 1
|
|
334
|
+
}, 8, ["expanded", "search", "data", "columns", "search-placeholder", "loading", "filters-count", "filters-label", "row-class", "empty-text"])
|
|
335
|
+
]),
|
|
336
|
+
_: 1
|
|
337
|
+
}, 8, ["base"]));
|
|
338
|
+
}
|
|
339
|
+
}), ve = /* @__PURE__ */ q(pe, [["__scopeId", "data-v-44b7e64a"]]);
|
|
340
|
+
export {
|
|
341
|
+
ve as default
|
|
342
|
+
};
|
|
343
|
+
//# sourceMappingURL=AuditHostsPage-YFRORYHZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditHostsPage-YFRORYHZ.js","sources":["../src/AuditHostPlaces.vue","../src/AuditHostsPage.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { onMounted, ref } from 'vue'\nimport { useRouter } from 'vue-router'\nimport { useAdmin, useErrorText, useTranslate } from '@webx-ui/module-admin'\nimport { WxBadge, WxButton, WxSkeleton, WxText } from '@webx-ui/core'\nimport AuditAddress from './AuditAddress.vue'\nimport AuditLinkAttrs from './AuditLinkAttrs.vue'\nimport { createAuditApi } from './api'\nimport AuditStatus from './AuditStatus.vue'\nimport { useAuditMessages } from './i18n'\nimport type { AuditHostTarget, AuditHosts } from './types'\n\n/**\n * Where one host stands, under its row on «Outgoing»: the addresses on it the pages point at, each\n * a card with the pages under it — a font or a profile link sits in the layout and is on every\n * page, so by page it would be the same line forty times — and the fields of the database that\n * hold it, with «Open in the editor». A link's `target` and `rel` sit beside its address, or\n * beside each page when the pages write it differently. Fifty of each, broken links first; a card counts all its\n * pages and lists fifty.\n */\nconst props = defineProps<{ host: string }>()\n\nconst api = createAuditApi(useAdmin())\nuseAuditMessages()\n\nconst t = useTranslate('webx-audit')\nconst message = useErrorText()\nconst router = useRouter()\n\nconst places = ref<AuditHosts | null>(null)\nconst failure = ref<string | null>(null)\n\n/** What the row's «Broken» counts: an error, or no answer at all (0). */\nconst broken = (status: number | null | undefined) =>\n status !== null && status !== undefined && (status >= 400 || status === 0)\n\n/** How many pages a card lists before «Show all». */\nconst FEW = 5\n\nconst open = ref(new Set<string>())\n\nfunction keyOf(target: AuditHostTarget): string {\n return `${target.kind} ${target.url}`\n}\n\nfunction shown(target: AuditHostTarget) {\n return open.value.has(keyOf(target)) ? target.places : target.places.slice(0, FEW)\n}\n\n/* «Show all» turns into «Collapse», so a long card folds back where it is read. */\nfunction toggle(target: AuditHostTarget): void {\n const next = new Set(open.value)\n\n if (!next.delete(keyOf(target))) next.add(keyOf(target))\n open.value = next\n}\n\nonMounted(async () => {\n try {\n places.value = await api.hosts({ host: props.host })\n } catch (error) {\n failure.value = message(error)\n }\n})\n</script>\n\n<template>\n <div class=\"wx-audit-places\">\n <wx-text v-if=\"failure\" size=\"sm\" tone=\"danger\">{{ failure }}</wx-text>\n <wx-skeleton v-else-if=\"!places\" :rows=\"2\" />\n\n <template v-else>\n <section v-if=\"places.targets?.length\" class=\"wx-audit-places__group\">\n <wx-text size=\"sm\" weight=\"semibold\">{{ t('page.host-pages') }}</wx-text>\n\n <div v-for=\"target in places.targets\" :key=\"keyOf(target)\" class=\"wx-audit-places__card\">\n <div class=\"wx-audit-places__head\">\n <wx-badge type=\"default\" size=\"sm\" class=\"wx-audit-places__fixed\">{{\n target.kind\n }}</wx-badge>\n <audit-address :href=\"target.url\" strong />\n <audit-link-attrs\n v-if=\"target.kind === 'a' && !target.mixed\"\n :rel=\"target.rel\"\n :target=\"target.target\"\n class=\"wx-audit-places__fixed\"\n />\n <audit-status\n v-if=\"broken(target.status)\"\n :code=\"target.status\"\n class=\"wx-audit-places__fixed\"\n />\n <wx-text size=\"sm\" tone=\"muted\" class=\"wx-audit-places__count\">{{\n t('page.link-pages', { count: target.pages })\n }}</wx-text>\n </div>\n\n <ul class=\"wx-audit-places__pages\">\n <li v-for=\"(place, index) in shown(target)\" :key=\"index\">\n <audit-address :href=\"place.page\" />\n <wx-text v-if=\"place.anchor\" size=\"sm\" tone=\"muted\" class=\"wx-audit-places__anchor\"\n >«{{ place.anchor }}»</wx-text\n >\n <!-- The pages differ in how they write the link: each says its own. -->\n <audit-link-attrs\n v-if=\"target.kind === 'a' && target.mixed\"\n :rel=\"place.rel\"\n :target=\"place.target\"\n class=\"wx-audit-places__fixed\"\n />\n </li>\n </ul>\n\n <wx-button\n v-if=\"target.places.length > FEW\"\n size=\"sm\"\n variant=\"text\"\n class=\"wx-audit-places__more\"\n @click=\"toggle(target)\"\n >{{\n open.has(keyOf(target)) ? t('page.link-collapse') : t('page.link-show-all')\n }}</wx-button\n >\n </div>\n </section>\n\n <section v-if=\"places.fields?.length\" class=\"wx-audit-places__group\">\n <wx-text size=\"sm\" weight=\"semibold\">{{ t('page.host-fields') }}</wx-text>\n\n <div class=\"wx-audit-places__card\">\n <div v-for=\"(field, index) in places.fields\" :key=\"index\" class=\"wx-audit-places__field\">\n <div class=\"wx-audit-places__record\">\n <wx-text size=\"sm\">{{ field.record_label }}</wx-text>\n <wx-text size=\"sm\" tone=\"muted\"\n >{{ field.source }} · {{ field.field\n }}{{ field.locale ? ` · ${field.locale}` : '' }}</wx-text\n >\n <wx-badge v-if=\"!field.published\" size=\"sm\">{{ t('page.unpublished') }}</wx-badge>\n </div>\n <audit-address :href=\"field.url\" />\n <wx-button\n v-if=\"field.edit_url\"\n size=\"sm\"\n variant=\"text\"\n icon=\"edit\"\n class=\"wx-audit-places__fixed\"\n @click=\"router.push(field.edit_url)\"\n >{{ t('page.open-editor') }}</wx-button\n >\n </div>\n </div>\n </section>\n </template>\n </div>\n</template>\n\n<style scoped>\n.wx-audit-places {\n display: flex;\n flex-direction: column;\n gap: var(--wx-space-16);\n min-width: 0;\n}\n\n.wx-audit-places__group {\n display: flex;\n flex-direction: column;\n gap: var(--wx-space-8);\n min-width: 0;\n}\n\n.wx-audit-places__card {\n min-width: 0;\n border: 1px solid var(--wx-border-default);\n border-radius: var(--wx-radius-md);\n background: var(--wx-bg-surface);\n overflow: hidden;\n}\n\n.wx-audit-places__head {\n display: flex;\n align-items: center;\n gap: var(--wx-space-8);\n min-width: 0;\n padding: var(--wx-space-8) var(--wx-space-12);\n border-bottom: 1px solid var(--wx-border-muted);\n background: var(--wx-bg-subtle);\n font-size: var(--wx-font-size-sm);\n}\n\n.wx-audit-places__fixed {\n flex-shrink: 0;\n}\n\n.wx-audit-places__count {\n flex-shrink: 0;\n margin-inline-start: auto;\n white-space: nowrap;\n}\n\n.wx-audit-places__pages {\n display: flex;\n flex-direction: column;\n gap: var(--wx-space-4);\n margin: 0;\n padding: var(--wx-space-8) var(--wx-space-12);\n list-style: none;\n font-size: var(--wx-font-size-sm);\n}\n\n.wx-audit-places__pages li {\n display: flex;\n align-items: center;\n gap: var(--wx-space-8);\n min-width: 0;\n}\n\n.wx-audit-places__anchor {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.wx-audit-places__more {\n margin: 0 var(--wx-space-12) var(--wx-space-8);\n}\n\n/* One grid for every field: the record, where its address is, the editor. */\n.wx-audit-places__field {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto;\n align-items: center;\n gap: var(--wx-space-8);\n min-width: 0;\n padding: var(--wx-space-6) var(--wx-space-12);\n border-bottom: 1px solid var(--wx-border-muted);\n font-size: var(--wx-font-size-sm);\n}\n\n.wx-audit-places__field:last-child {\n border-bottom: 0;\n}\n\n.wx-audit-places__record {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--wx-space-4) var(--wx-space-8);\n min-width: 0;\n}\n</style>\n","<script setup lang=\"ts\">\nimport { computed, onMounted, ref, watch } from 'vue'\nimport { useAdmin, useErrorText, useTranslate, WxDate } from '@webx-ui/module-admin'\nimport {\n toast,\n WxBadge,\n WxSelect,\n WxTable,\n WxText,\n type BadgeType,\n type RowKey,\n type SelectValue,\n type TableColumn,\n} from '@webx-ui/core'\nimport AuditHostPlaces from './AuditHostPlaces.vue'\nimport AuditLayout from './AuditLayout.vue'\nimport { createAuditApi } from './api'\nimport { useAuditMessages } from './i18n'\nimport type { AuditHostClass, AuditHostRow, AuditHosts } from './types'\n\n/**\n * «Outgoing» (§8): every host the site points at — in the pages of the last full run and in the\n * fields of the database — by class, development stands on top and in red. A row opens into\n * where the host stands: the pages with their anchors, the records with the field and the way to\n * the editor.\n */\nconst props = defineProps<{ base: string }>()\n\nconst api = createAuditApi(useAdmin())\nuseAuditMessages()\n\nconst t = useTranslate('webx-audit')\nconst panel = useTranslate('webx-admin')\nconst message = useErrorText()\n\nconst answer = ref<AuditHosts | null>(null)\nconst loading = ref(false)\nconst search = ref('')\nconst hostClass = ref<AuditHostClass | null>(null)\nconst expanded = ref<RowKey[]>([])\n\nconst classes: Record<AuditHostClass, BadgeType> = {\n dev: 'danger',\n own_mirror: 'warning',\n external: 'info',\n own: 'success',\n}\n\nconst columns = computed<TableColumn<AuditHostRow>[]>(() => [\n { key: 'host', label: t('page.host'), minWidth: 220 },\n { key: 'links', label: t('page.links'), width: 90, align: 'right' },\n { key: 'pages', label: t('page.pages'), width: 90, align: 'right', hideBelow: 560 },\n { key: 'broken', label: t('page.broken'), width: 100, align: 'right', hideBelow: 640 },\n { key: 'fields', label: t('page.fields'), width: 120, align: 'right' },\n { key: 'first_seen', label: t('page.first-seen'), minWidth: 140, hideBelow: 760 },\n])\n\nconst classOptions = computed(() =>\n (Object.keys(classes) as AuditHostClass[]).map((value) => ({\n value,\n label: `${t(`page.host-${value}`)}${answer.value?.classes[value] ? ` · ${answer.value.classes[value]}` : ''}`,\n })),\n)\n\nfunction pick(value: SelectValue | SelectValue[] | null | undefined): AuditHostClass | null {\n return typeof value === 'string' && value in classes ? (value as AuditHostClass) : null\n}\n\nasync function load(): Promise<void> {\n loading.value = true\n\n try {\n answer.value = await api.hosts({ class: hostClass.value, search: search.value })\n expanded.value = []\n } catch (error) {\n toast.danger(message(error))\n } finally {\n loading.value = false\n }\n}\n\nwatch([hostClass, search], () => void load())\n\nonMounted(load)\n</script>\n\n<template>\n <audit-layout :base=\"props.base\" current=\"hosts\">\n <wx-table\n v-model:expanded=\"expanded\"\n v-model:search=\"search\"\n :data=\"answer?.hosts ?? []\"\n :columns=\"columns\"\n row-key=\"host\"\n expandable\n flush\n searchable\n :search-placeholder=\"t('page.search-host')\"\n :loading=\"loading\"\n :filters-count=\"hostClass ? 1 : 0\"\n :filters-label=\"panel('filters.title')\"\n :row-class=\"(row: AuditHostRow) => (row.class === 'dev' ? 'is-stand' : undefined)\"\n :empty-text=\"t('page.hosts-empty')\"\n >\n <template #filters>\n <wx-select\n :model-value=\"hostClass\"\n :options=\"classOptions\"\n :placeholder=\"t('page.any-class')\"\n clearable\n @update:model-value=\"hostClass = pick($event)\"\n />\n </template>\n\n <template #cell-host=\"{ row }\">\n <span class=\"wx-audit-hosts__host\">\n <wx-badge :type=\"classes[row.class]\" size=\"sm\">{{\n t(`page.host-${row.class}`)\n }}</wx-badge>\n <wx-text size=\"sm\" :tone=\"row.class === 'dev' ? 'danger' : undefined\" weight=\"medium\">{{\n row.host\n }}</wx-text>\n </span>\n </template>\n <template #cell-broken=\"{ row }\">\n <wx-text size=\"sm\" :tone=\"row.broken ? 'danger' : 'muted'\">{{ row.broken }}</wx-text>\n </template>\n <template #cell-fields=\"{ row }\">\n <wx-text size=\"sm\" :tone=\"row.fields && row.class === 'dev' ? 'danger' : undefined\">{{\n row.fields\n }}</wx-text>\n </template>\n <template #cell-first_seen=\"{ row }\">\n <wx-date v-if=\"row.first_seen\" :value=\"row.first_seen\" />\n </template>\n\n <template #expanded=\"{ row }\">\n <audit-host-places :host=\"row.host\" />\n </template>\n </wx-table>\n </audit-layout>\n</template>\n\n<style scoped>\n.wx-audit-hosts__host {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--wx-space-8);\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n/* A stand is the one class that is always a mistake: a red edge, like an error in a list. */\n:deep(.is-stand > td:first-child) {\n box-shadow: inset 3px 0 0 var(--wx-color-danger);\n}\n</style>\n"],"names":["FEW","props","__props","api","createAuditApi","useAdmin","useAuditMessages","t","useTranslate","message","useErrorText","router","useRouter","places","ref","failure","broken","status","open","keyOf","target","shown","toggle","next","onMounted","error","_openBlock","_createElementBlock","_hoisted_1","_createBlock","_unref","WxText","_Fragment","_hoisted_2","_createVNode","_renderList","_createElementVNode","_hoisted_3","WxBadge","_createTextVNode","_toDisplayString","AuditAddress","AuditLinkAttrs","AuditStatus","_hoisted_4","place","index","WxButton","$event","_hoisted_5","_hoisted_6","field","_hoisted_7","WxSkeleton","panel","answer","loading","search","hostClass","expanded","classes","columns","computed","classOptions","value","pick","load","toast","watch","AuditLayout","WxTable","row","WxSelect","_cache","_withCtx","WxDate","AuditHostPlaces"],"mappings":";;;;;;;;;;;;uFAqCMA,IAAM;;;;;;AAjBZ,UAAMC,IAAQC,GAERC,IAAMC,EAAeC,GAAU;AACrC,IAAAC,EAAA;AAEA,UAAMC,IAAIC,EAAa,YAAY,GAC7BC,IAAUC,EAAA,GACVC,IAASC,EAAA,GAETC,IAASC,EAAuB,IAAI,GACpCC,IAAUD,EAAmB,IAAI,GAGjCE,IAAS,CAACC,MACdA,KAAW,SAAiCA,KAAU,OAAOA,MAAW,IAKpEC,IAAOJ,EAAI,oBAAI,KAAa;AAElC,aAASK,EAAMC,GAAiC;AAC9C,aAAO,GAAGA,EAAO,IAAI,IAAIA,EAAO,GAAG;AAAA,IACrC;AAEA,aAASC,EAAMD,GAAyB;AACtC,aAAOF,EAAK,MAAM,IAAIC,EAAMC,CAAM,CAAC,IAAIA,EAAO,SAASA,EAAO,OAAO,MAAM,GAAGpB,CAAG;AAAA,IACnF;AAGA,aAASsB,EAAOF,GAA+B;AAC7C,YAAMG,IAAO,IAAI,IAAIL,EAAK,KAAK;AAE/B,MAAKK,EAAK,OAAOJ,EAAMC,CAAM,CAAC,KAAGG,EAAK,IAAIJ,EAAMC,CAAM,CAAC,GACvDF,EAAK,QAAQK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