@burdenoff/microfe-assethandler 2026.826.18 → 2026.827.1
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/assethandler/components/RelatedRunbooksPanel.d.ts +27 -0
- package/dist/assethandler/components/RelatedRunbooksPanel.d.ts.map +1 -0
- package/dist/assethandler/components/RelatedRunbooksPanel.js +153 -0
- package/dist/assethandler/components/RelatedRunbooksPanel.js.map +1 -0
- package/dist/assethandler/components/index.d.ts +2 -0
- package/dist/assethandler/components/index.d.ts.map +1 -1
- package/dist/assethandler/components/index.js +1 -0
- package/dist/assethandler/pages/AssetsAssetCheckInOutPage.d.ts.map +1 -1
- package/dist/assethandler/pages/AssetsAssetCheckInOutPage.js +237 -211
- package/dist/assethandler/pages/AssetsAssetCheckInOutPage.js.map +1 -1
- package/dist/assethandler/pages/AssetsAssetDetailPage.d.ts.map +1 -1
- package/dist/assethandler/pages/AssetsAssetDetailPage.js +372 -367
- package/dist/assethandler/pages/AssetsAssetDetailPage.js.map +1 -1
- package/dist/assethandler/pages/ItilIncidentDetailPage.d.ts.map +1 -1
- package/dist/assethandler/pages/ItilIncidentDetailPage.js +104 -99
- package/dist/assethandler/pages/ItilIncidentDetailPage.js.map +1 -1
- package/dist/assethandler/pages/OperationsWorkOrderDetailPage.d.ts.map +1 -1
- package/dist/assethandler/pages/OperationsWorkOrderDetailPage.js +139 -134
- package/dist/assethandler/pages/OperationsWorkOrderDetailPage.js.map +1 -1
- package/dist/assethandler/pages/SamLicensesPage.d.ts.map +1 -1
- package/dist/assethandler/pages/SamLicensesPage.js +811 -227
- package/dist/assethandler/pages/SamLicensesPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Proactive runbook recall (BOFF-5804).
|
|
3
|
+
*
|
|
4
|
+
* The knowledge base already stores the link between an article and the asset
|
|
5
|
+
* or incident it documents (`KnowledgeArticle.relatedAssetId` /
|
|
6
|
+
* `relatedIncidentId`), and the service exposes both as filters on
|
|
7
|
+
* `knowledgeArticles`. Nothing consumed them until now: a technician looking at
|
|
8
|
+
* a failing asset had no way to know a published fix already existed unless
|
|
9
|
+
* they went to the knowledge base and searched for it by hand.
|
|
10
|
+
*
|
|
11
|
+
* This panel closes that loop. It asks the service for the PUBLISHED articles
|
|
12
|
+
* linked to the record it is mounted on and shows them in place. Drafts are
|
|
13
|
+
* deliberately excluded — an unpublished runbook is not guidance yet.
|
|
14
|
+
*
|
|
15
|
+
* Nothing here is synthesised: with no linked article the panel says so rather
|
|
16
|
+
* than suggesting something unrelated.
|
|
17
|
+
*/
|
|
18
|
+
export interface RelatedRunbooksPanelProps {
|
|
19
|
+
/** Show runbooks linked to this asset. */
|
|
20
|
+
relatedAssetId?: string | null;
|
|
21
|
+
/** Show runbooks linked to this incident. */
|
|
22
|
+
relatedIncidentId?: string | null;
|
|
23
|
+
/** What the runbooks are being recalled for, e.g. "AH-0871 — HVAC Unit A3". */
|
|
24
|
+
contextLabel?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function RelatedRunbooksPanel({ relatedAssetId, relatedIncidentId, contextLabel, }: RelatedRunbooksPanelProps): import("react").JSX.Element | null;
|
|
27
|
+
//# sourceMappingURL=RelatedRunbooksPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelatedRunbooksPanel.d.ts","sourceRoot":"","sources":["../../../src/assethandler/components/RelatedRunbooksPanel.tsx"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,yBAAyB;IACxC,0CAA0C;IAC1C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,6CAA6C;IAC7C,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAqDD,wBAAgB,oBAAoB,CAAC,EACnC,cAAc,EACd,iBAAiB,EACjB,YAAY,GACb,EAAE,yBAAyB,sCAgK3B"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { useAssetHandlerNavigate as e } from "../hooks/useAssetHandlerNavigate.js";
|
|
2
|
+
import { notify as t } from "../utils/toast.js";
|
|
3
|
+
import { useMemo as n, useState as r } from "react";
|
|
4
|
+
import { BookOpen as i, ChevronDown as a, ChevronRight as o, Eye as s, LifeBuoy as c } from "lucide-react";
|
|
5
|
+
import { gql as l } from "@apollo/client";
|
|
6
|
+
import { useMutation as u, useQuery as d } from "@apollo/client/react";
|
|
7
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
8
|
+
import { Button as m, Card as h, CardContent as g, CardHeader as _, CardTitle as v } from "@burdenoff/fe-libs/ui";
|
|
9
|
+
//#region src/assethandler/components/RelatedRunbooksPanel.tsx
|
|
10
|
+
var y = l`
|
|
11
|
+
query AssetHandlerRelatedRunbooks($relatedAssetId: ID, $relatedIncidentId: ID) {
|
|
12
|
+
knowledgeArticles(
|
|
13
|
+
relatedAssetId: $relatedAssetId
|
|
14
|
+
relatedIncidentId: $relatedIncidentId
|
|
15
|
+
status: PUBLISHED
|
|
16
|
+
) {
|
|
17
|
+
id
|
|
18
|
+
title
|
|
19
|
+
summary
|
|
20
|
+
content
|
|
21
|
+
tags
|
|
22
|
+
views
|
|
23
|
+
updatedAt
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
`, b = l`
|
|
27
|
+
mutation AssetHandlerRecordRunbookView($id: ID!) {
|
|
28
|
+
recordKnowledgeArticleView(id: $id) {
|
|
29
|
+
id
|
|
30
|
+
views
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
function x(e) {
|
|
35
|
+
let t = new Date(e);
|
|
36
|
+
return Number.isNaN(t.getTime()) ? "—" : t.toLocaleDateString();
|
|
37
|
+
}
|
|
38
|
+
function S({ relatedAssetId: l, relatedIncidentId: S, contextLabel: C }) {
|
|
39
|
+
let w = e(), [T, E] = r(null), [D, O] = r([]), k = !l && !S, { data: A, loading: j, error: M } = d(y, {
|
|
40
|
+
variables: {
|
|
41
|
+
relatedAssetId: l ?? null,
|
|
42
|
+
relatedIncidentId: S ?? null
|
|
43
|
+
},
|
|
44
|
+
skip: k,
|
|
45
|
+
fetchPolicy: "cache-and-network"
|
|
46
|
+
}), [N] = u(b), P = n(() => A?.knowledgeArticles ?? [], [A?.knowledgeArticles]), F = (e) => e.views + +!!D.includes(e.id), I = (e) => {
|
|
47
|
+
if (T === e.id) {
|
|
48
|
+
E(null);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
E(e.id), !D.includes(e.id) && N({ variables: { id: e.id } }).then((t) => {
|
|
52
|
+
t.data?.recordKnowledgeArticleView && O((t) => t.includes(e.id) ? t : [...t, e.id]);
|
|
53
|
+
}).catch((e) => {
|
|
54
|
+
t.error("Could not record runbook view", e instanceof Error ? e.message : "The runbook is still available to read.");
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
if (k) return null;
|
|
58
|
+
let L = S ? "incident" : "asset";
|
|
59
|
+
return /* @__PURE__ */ p(h, { children: [/* @__PURE__ */ p(_, { children: [/* @__PURE__ */ p(v, {
|
|
60
|
+
className: "flex flex-wrap items-center gap-2 text-base",
|
|
61
|
+
children: [
|
|
62
|
+
/* @__PURE__ */ f(c, { className: "h-4 w-4" }),
|
|
63
|
+
"Runbooks for this ",
|
|
64
|
+
L,
|
|
65
|
+
P.length > 0 ? /* @__PURE__ */ p("span", {
|
|
66
|
+
className: "text-sm font-normal text-text-secondary",
|
|
67
|
+
children: [P.length, " published"]
|
|
68
|
+
}) : null
|
|
69
|
+
]
|
|
70
|
+
}), C ? /* @__PURE__ */ f("p", {
|
|
71
|
+
className: "text-xs text-text-secondary",
|
|
72
|
+
children: C
|
|
73
|
+
}) : null] }), /* @__PURE__ */ p(g, {
|
|
74
|
+
className: "space-y-3",
|
|
75
|
+
children: [
|
|
76
|
+
j && P.length === 0 ? /* @__PURE__ */ f("div", {
|
|
77
|
+
className: "space-y-2",
|
|
78
|
+
children: Array.from({ length: 2 }).map((e, t) => /* @__PURE__ */ f("div", { className: "h-14 rounded-lg bg-bg-sunken motion-safe:animate-vc-shimmer" }, t))
|
|
79
|
+
}) : null,
|
|
80
|
+
M && P.length === 0 ? /* @__PURE__ */ p("p", {
|
|
81
|
+
className: "rounded-lg border border-status-error-border bg-status-error-bg-subtle p-3 text-sm text-status-error-text",
|
|
82
|
+
children: ["Could not load linked runbooks. ", M.message]
|
|
83
|
+
}) : null,
|
|
84
|
+
!j && !M && P.length === 0 ? /* @__PURE__ */ p("p", {
|
|
85
|
+
className: "rounded-lg border border-dashed border-border-seam p-3 text-sm text-text-secondary",
|
|
86
|
+
children: [
|
|
87
|
+
"No published runbook is linked to this ",
|
|
88
|
+
L,
|
|
89
|
+
" yet. Link one from the knowledge base so the next responder finds the fix here."
|
|
90
|
+
]
|
|
91
|
+
}) : null,
|
|
92
|
+
P.length > 0 ? /* @__PURE__ */ f("ul", {
|
|
93
|
+
className: "space-y-2",
|
|
94
|
+
children: P.map((e) => {
|
|
95
|
+
let t = T === e.id;
|
|
96
|
+
return /* @__PURE__ */ p("li", {
|
|
97
|
+
className: "rounded-lg border border-border-seam",
|
|
98
|
+
children: [/* @__PURE__ */ p("button", {
|
|
99
|
+
type: "button",
|
|
100
|
+
onClick: () => I(e),
|
|
101
|
+
"aria-expanded": t,
|
|
102
|
+
className: "flex w-full items-start gap-2 p-3 text-left hover:bg-bg-sunken/50",
|
|
103
|
+
children: [f(t ? a : o, { className: "mt-0.5 h-4 w-4 shrink-0 text-text-secondary" }), /* @__PURE__ */ p("span", {
|
|
104
|
+
className: "min-w-0 flex-1",
|
|
105
|
+
children: [
|
|
106
|
+
/* @__PURE__ */ f("span", {
|
|
107
|
+
className: "block text-sm font-medium text-text-primary",
|
|
108
|
+
children: e.title
|
|
109
|
+
}),
|
|
110
|
+
e.summary ? /* @__PURE__ */ f("span", {
|
|
111
|
+
className: "mt-0.5 block text-xs text-text-secondary",
|
|
112
|
+
children: e.summary
|
|
113
|
+
}) : null,
|
|
114
|
+
/* @__PURE__ */ p("span", {
|
|
115
|
+
className: "mt-1 flex flex-wrap items-center gap-2 text-xs text-text-muted",
|
|
116
|
+
children: [
|
|
117
|
+
/* @__PURE__ */ p("span", { children: ["Updated ", x(e.updatedAt)] }),
|
|
118
|
+
/* @__PURE__ */ p("span", {
|
|
119
|
+
className: "inline-flex items-center gap-1 tabular-nums",
|
|
120
|
+
children: [/* @__PURE__ */ f(s, { className: "h-3 w-3" }), F(e).toLocaleString()]
|
|
121
|
+
}),
|
|
122
|
+
e.tags.map((e) => /* @__PURE__ */ f("span", {
|
|
123
|
+
className: "rounded-full bg-status-neutral-bg-subtle px-2 py-0.5 font-medium text-status-neutral-text",
|
|
124
|
+
children: e
|
|
125
|
+
}, e))
|
|
126
|
+
]
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
})]
|
|
130
|
+
}), t ? /* @__PURE__ */ f("div", {
|
|
131
|
+
className: "border-t border-border-seam p-3",
|
|
132
|
+
children: /* @__PURE__ */ f("p", {
|
|
133
|
+
className: "whitespace-pre-wrap text-sm leading-6 text-text-secondary",
|
|
134
|
+
children: e.content
|
|
135
|
+
})
|
|
136
|
+
}) : null]
|
|
137
|
+
}, e.id);
|
|
138
|
+
})
|
|
139
|
+
}) : null,
|
|
140
|
+
/* @__PURE__ */ p(m, {
|
|
141
|
+
variant: "outline",
|
|
142
|
+
size: "sm",
|
|
143
|
+
onClick: () => w("/advanced/knowledge-base"),
|
|
144
|
+
className: "w-full sm:w-auto",
|
|
145
|
+
children: [/* @__PURE__ */ f(i, { className: "mr-2 h-4 w-4" }), "Open knowledge base"]
|
|
146
|
+
})
|
|
147
|
+
]
|
|
148
|
+
})] });
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
151
|
+
export { S as RelatedRunbooksPanel };
|
|
152
|
+
|
|
153
|
+
//# sourceMappingURL=RelatedRunbooksPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelatedRunbooksPanel.js","names":[],"sources":["../../../src/assethandler/components/RelatedRunbooksPanel.tsx"],"sourcesContent":["import { useMemo, useState } from 'react';\nimport { gql } from '@apollo/client';\nimport { useMutation, useQuery } from '@apollo/client/react';\nimport { Button, Card, CardContent, CardHeader, CardTitle } from '@burdenoff/fe-libs/ui';\nimport { BookOpen, ChevronDown, ChevronRight, Eye, LifeBuoy } from 'lucide-react';\nimport { useAssetHandlerNavigate } from '../hooks/useAssetHandlerNavigate';\nimport { notify } from '../utils/toast';\n\n/**\n * Proactive runbook recall (BOFF-5804).\n *\n * The knowledge base already stores the link between an article and the asset\n * or incident it documents (`KnowledgeArticle.relatedAssetId` /\n * `relatedIncidentId`), and the service exposes both as filters on\n * `knowledgeArticles`. Nothing consumed them until now: a technician looking at\n * a failing asset had no way to know a published fix already existed unless\n * they went to the knowledge base and searched for it by hand.\n *\n * This panel closes that loop. It asks the service for the PUBLISHED articles\n * linked to the record it is mounted on and shows them in place. Drafts are\n * deliberately excluded — an unpublished runbook is not guidance yet.\n *\n * Nothing here is synthesised: with no linked article the panel says so rather\n * than suggesting something unrelated.\n */\nexport interface RelatedRunbooksPanelProps {\n /** Show runbooks linked to this asset. */\n relatedAssetId?: string | null;\n /** Show runbooks linked to this incident. */\n relatedIncidentId?: string | null;\n /** What the runbooks are being recalled for, e.g. \"AH-0871 — HVAC Unit A3\". */\n contextLabel?: string;\n}\n\ninterface RunbookArticle {\n id: string;\n title: string;\n summary: string | null;\n content: string;\n tags: string[];\n views: number;\n updatedAt: string;\n}\n\ninterface RelatedRunbooksResult {\n knowledgeArticles: RunbookArticle[];\n}\n\ninterface RecordViewResult {\n recordKnowledgeArticleView: { id: string; views: number };\n}\n\nconst RELATED_RUNBOOKS_QUERY = gql`\n query AssetHandlerRelatedRunbooks($relatedAssetId: ID, $relatedIncidentId: ID) {\n knowledgeArticles(\n relatedAssetId: $relatedAssetId\n relatedIncidentId: $relatedIncidentId\n status: PUBLISHED\n ) {\n id\n title\n summary\n content\n tags\n views\n updatedAt\n }\n }\n`;\n\nconst RECORD_RUNBOOK_VIEW_MUTATION = gql`\n mutation AssetHandlerRecordRunbookView($id: ID!) {\n recordKnowledgeArticleView(id: $id) {\n id\n views\n }\n }\n`;\n\nfunction formatDate(iso: string): string {\n const parsed = new Date(iso);\n if (Number.isNaN(parsed.getTime())) return '—';\n return parsed.toLocaleDateString();\n}\n\nexport function RelatedRunbooksPanel({\n relatedAssetId,\n relatedIncidentId,\n contextLabel,\n}: RelatedRunbooksPanelProps) {\n const navigate = useAssetHandlerNavigate();\n const [openId, setOpenId] = useState<string | null>(null);\n const [viewedIds, setViewedIds] = useState<string[]>([]);\n\n const skip = !relatedAssetId && !relatedIncidentId;\n\n const { data, loading, error } = useQuery<RelatedRunbooksResult>(RELATED_RUNBOOKS_QUERY, {\n variables: {\n relatedAssetId: relatedAssetId ?? null,\n relatedIncidentId: relatedIncidentId ?? null,\n },\n skip,\n fetchPolicy: 'cache-and-network',\n });\n\n const [recordView] = useMutation<RecordViewResult>(RECORD_RUNBOOK_VIEW_MUTATION);\n\n const articles = useMemo(() => data?.knowledgeArticles ?? [], [data?.knowledgeArticles]);\n\n // Views recorded during this mount, so the count the reader sees matches the\n // read they just performed without waiting for the list to refetch.\n const viewsFor = (article: RunbookArticle) =>\n article.views + (viewedIds.includes(article.id) ? 1 : 0);\n\n const toggle = (article: RunbookArticle) => {\n if (openId === article.id) {\n setOpenId(null);\n return;\n }\n setOpenId(article.id);\n if (viewedIds.includes(article.id)) return;\n void recordView({ variables: { id: article.id } })\n .then((result) => {\n if (!result.data?.recordKnowledgeArticleView) return;\n setViewedIds((current) =>\n current.includes(article.id) ? current : [...current, article.id]\n );\n })\n .catch((recordError: unknown) => {\n notify.error(\n 'Could not record runbook view',\n recordError instanceof Error\n ? recordError.message\n : 'The runbook is still available to read.'\n );\n });\n };\n\n if (skip) return null;\n\n const subject = relatedIncidentId ? 'incident' : 'asset';\n\n return (\n <Card>\n <CardHeader>\n <CardTitle className=\"flex flex-wrap items-center gap-2 text-base\">\n <LifeBuoy className=\"h-4 w-4\" />\n Runbooks for this {subject}\n {articles.length > 0 ? (\n <span className=\"text-sm font-normal text-text-secondary\">\n {articles.length} published\n </span>\n ) : null}\n </CardTitle>\n {contextLabel ? <p className=\"text-xs text-text-secondary\">{contextLabel}</p> : null}\n </CardHeader>\n <CardContent className=\"space-y-3\">\n {loading && articles.length === 0 ? (\n <div className=\"space-y-2\">\n {Array.from({ length: 2 }).map((_, i) => (\n <div\n key={i}\n className=\"h-14 rounded-lg bg-bg-sunken motion-safe:animate-vc-shimmer\"\n />\n ))}\n </div>\n ) : null}\n\n {error && articles.length === 0 ? (\n <p className=\"rounded-lg border border-status-error-border bg-status-error-bg-subtle p-3 text-sm text-status-error-text\">\n Could not load linked runbooks. {error.message}\n </p>\n ) : null}\n\n {!loading && !error && articles.length === 0 ? (\n <p className=\"rounded-lg border border-dashed border-border-seam p-3 text-sm text-text-secondary\">\n No published runbook is linked to this {subject} yet. Link one from the knowledge base\n so the next responder finds the fix here.\n </p>\n ) : null}\n\n {articles.length > 0 ? (\n <ul className=\"space-y-2\">\n {articles.map((article) => {\n const isOpen = openId === article.id;\n return (\n <li key={article.id} className=\"rounded-lg border border-border-seam\">\n <button\n type=\"button\"\n onClick={() => toggle(article)}\n aria-expanded={isOpen}\n className=\"flex w-full items-start gap-2 p-3 text-left hover:bg-bg-sunken/50\"\n >\n {isOpen ? (\n <ChevronDown className=\"mt-0.5 h-4 w-4 shrink-0 text-text-secondary\" />\n ) : (\n <ChevronRight className=\"mt-0.5 h-4 w-4 shrink-0 text-text-secondary\" />\n )}\n <span className=\"min-w-0 flex-1\">\n <span className=\"block text-sm font-medium text-text-primary\">\n {article.title}\n </span>\n {article.summary ? (\n <span className=\"mt-0.5 block text-xs text-text-secondary\">\n {article.summary}\n </span>\n ) : null}\n <span className=\"mt-1 flex flex-wrap items-center gap-2 text-xs text-text-muted\">\n <span>Updated {formatDate(article.updatedAt)}</span>\n <span className=\"inline-flex items-center gap-1 tabular-nums\">\n <Eye className=\"h-3 w-3\" />\n {viewsFor(article).toLocaleString()}\n </span>\n {article.tags.map((tag) => (\n <span\n key={tag}\n className=\"rounded-full bg-status-neutral-bg-subtle px-2 py-0.5 font-medium text-status-neutral-text\"\n >\n {tag}\n </span>\n ))}\n </span>\n </span>\n </button>\n {isOpen ? (\n <div className=\"border-t border-border-seam p-3\">\n <p className=\"whitespace-pre-wrap text-sm leading-6 text-text-secondary\">\n {article.content}\n </p>\n </div>\n ) : null}\n </li>\n );\n })}\n </ul>\n ) : null}\n\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => navigate('/advanced/knowledge-base')}\n className=\"w-full sm:w-auto\"\n >\n <BookOpen className=\"mr-2 h-4 w-4\" />\n Open knowledge base\n </Button>\n </CardContent>\n </Card>\n );\n}\n"],"mappings":";;;;;;;;;AAoDA,IAAM,IAAyB,CAAG;;;;;;;;;;;;;;;;GAkB5B,IAA+B,CAAG;;;;;;;;AASxC,SAAS,EAAW,GAAqB;CACvC,IAAM,IAAS,IAAI,KAAK,CAAG;CAE3B,OADI,OAAO,MAAM,EAAO,QAAQ,CAAC,IAAU,MACpC,EAAO,mBAAmB;AACnC;AAEA,SAAgB,EAAqB,EACnC,mBACA,sBACA,mBAC4B;CAC5B,IAAM,IAAW,EAAwB,GACnC,CAAC,GAAQ,KAAa,EAAwB,IAAI,GAClD,CAAC,GAAW,KAAgB,EAAmB,CAAC,CAAC,GAEjD,IAAO,CAAC,KAAkB,CAAC,GAE3B,EAAE,SAAM,YAAS,aAAU,EAAgC,GAAwB;EACvF,WAAW;GACT,gBAAgB,KAAkB;GAClC,mBAAmB,KAAqB;EAC1C;EACA;EACA,aAAa;CACf,CAAC,GAEK,CAAC,KAAc,EAA8B,CAA4B,GAEzE,IAAW,QAAc,GAAM,qBAAqB,CAAC,GAAG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@@ -4,6 +4,8 @@ export { CommentsPanel } from './CommentsPanel';
|
|
|
4
4
|
export type { CommentsPanelProps } from './CommentsPanel';
|
|
5
5
|
export { ActivityTimeline } from './ActivityTimeline';
|
|
6
6
|
export type { ActivityTimelineProps } from './ActivityTimeline';
|
|
7
|
+
export { RelatedRunbooksPanel } from './RelatedRunbooksPanel';
|
|
8
|
+
export type { RelatedRunbooksPanelProps } from './RelatedRunbooksPanel';
|
|
7
9
|
export { Pagination, usePagination } from './Pagination';
|
|
8
10
|
export type { PaginationProps, UsePaginationResult, UsePaginationOptions, AssetHandlerPaginationInput, } from './Pagination';
|
|
9
11
|
export { NotFoundState } from './NotFoundState';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assethandler/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACzD,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAA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AAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,cAAc,UAAU,CAAC"}
|
|
@@ -10,6 +10,7 @@ import "./charts/RadialGauge.js";
|
|
|
10
10
|
import "./charts/ProgressMeter.js";
|
|
11
11
|
import "./charts/index.js";
|
|
12
12
|
import "./ActivityTimeline.js";
|
|
13
|
+
import "./RelatedRunbooksPanel.js";
|
|
13
14
|
import "./Pagination.js";
|
|
14
15
|
import "./NotFoundState.js";
|
|
15
16
|
import "./ListEmptyState.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetsAssetCheckInOutPage.d.ts","sourceRoot":"","sources":["../../../src/assethandler/pages/AssetsAssetCheckInOutPage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AssetsAssetCheckInOutPage.d.ts","sourceRoot":"","sources":["../../../src/assethandler/pages/AssetsAssetCheckInOutPage.tsx"],"names":[],"mappings":"AAgOA,wBAAgB,yBAAyB,gCA2mBxC"}
|