@flamingo-stack/openframe-frontend-core 0.0.782 → 0.0.783
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/{chunk-QV4GHAWN.cjs → chunk-3PKORICR.cjs} +42 -42
- package/dist/{chunk-N7QNWHJA.cjs → chunk-62TMGBRO.cjs} +1 -1
- package/dist/{chunk-GFRKNUJZ.cjs → chunk-6NEWJ6I2.cjs} +13 -13
- package/dist/{chunk-YX7X5QQN.cjs → chunk-AFSVWR3X.cjs} +10 -10
- package/dist/{chunk-IZKEWQJN.cjs → chunk-APO7GMZQ.cjs} +2 -2
- package/dist/{chunk-I7LRZR4Q.cjs → chunk-BAJB3JF3.cjs} +3 -3
- package/dist/{chunk-JGKPEGZN.cjs → chunk-H3RHAN6B.cjs} +35 -35
- package/dist/{chunk-C5UUWXHE.cjs → chunk-KRXHRL3W.cjs} +41 -41
- package/dist/{chunk-2EXD2RSC.cjs → chunk-LGISRUGF.cjs} +2 -2
- package/dist/{chunk-VZUV2FCP.cjs → chunk-PQSTPJQQ.cjs} +2 -2
- package/dist/{chunk-C42BXIY7.cjs → chunk-RL45AU2C.cjs} +11 -11
- package/dist/{chunk-A4YUTS6Q.cjs → chunk-THOGSAFH.cjs} +78 -78
- package/dist/{chunk-MDGDL3C7.cjs → chunk-URFAMWCA.cjs} +5 -5
- package/dist/{chunk-7DKDVJMR.cjs → chunk-WHNI4QTG.cjs} +3 -3
- package/dist/{chunk-LTF6UDGO.cjs → chunk-WS7IDGEL.cjs} +4 -4
- package/dist/{chunk-VH3KQSI2.cjs → chunk-XKDJ5ISQ.cjs} +3 -3
- package/dist/{chunk-ISB7LW3D.cjs → chunk-YU23M33V.cjs} +28 -28
- package/dist/{cloud-tenants-LXKEG5N4.cjs → cloud-tenants-QYW3MPPP.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/chat/embeddable-chat.js +120 -98
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/index.cjs +58 -58
- package/dist/components/index.cjs +33 -33
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-PYJRYIQN.cjs → devices-DMMMEO2B.cjs} +4 -4
- package/dist/{embeddable-chat-7MSM62UC.cjs → embeddable-chat-OSSPL7L4.cjs} +120 -98
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-R4H2ZDX2.cjs → knowledge-XQQXVV6C.cjs} +3 -3
- package/dist/{logs-YWL6NK24.cjs → logs-BHKMDCBP.cjs} +11 -11
- package/dist/{policies-3COFYSKB.cjs → policies-5IY7QUED.cjs} +7 -7
- package/dist/{scripts-72EJDICT.cjs → scripts-ZQXRBGVK.cjs} +8 -8
- package/dist/{software-update-PPUVCLPO.cjs → software-update-RGFRYL3N.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +21 -4
|
@@ -8,7 +8,7 @@ var _chunkSTEJZPIOcjs = require('./chunk-STEJZPIO.cjs');
|
|
|
8
8
|
var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
12
12
|
require('./chunk-MKF6XX5A.cjs');
|
|
13
13
|
require('./chunk-ZFOMRALU.cjs');
|
|
14
14
|
require('./chunk-TS6TISIF.cjs');
|
|
@@ -20,7 +20,7 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
20
20
|
require('./chunk-A6P6DHEZ.cjs');
|
|
21
21
|
require('./chunk-MZ4KBSH7.cjs');
|
|
22
22
|
require('./chunk-UPQMFK5B.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-62TMGBRO.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunk7OJMOG34cjs = require('./chunk-7OJMOG34.cjs');
|
|
@@ -1905,7 +1905,7 @@ function KnowledgeScreen(_props) {
|
|
|
1905
1905
|
const cast = _chunkSTEJZPIOcjs.useProductDemoCast.call(void 0, );
|
|
1906
1906
|
const fixture = _react.useMemo.call(void 0, () => buildKnowledgeFixture(cast), [cast]);
|
|
1907
1907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1908
|
-
|
|
1908
|
+
_chunkTHOGSAFHcjs.KnowledgeBaseArticleView,
|
|
1909
1909
|
{
|
|
1910
1910
|
...fixture.article,
|
|
1911
1911
|
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OJMOG34cjs.SimpleMarkdownRenderer, { content: fixture.content, textSize: "compact" })
|
|
@@ -16,7 +16,7 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
20
20
|
require('./chunk-MKF6XX5A.cjs');
|
|
21
21
|
require('./chunk-ZFOMRALU.cjs');
|
|
22
22
|
require('./chunk-TS6TISIF.cjs');
|
|
@@ -30,7 +30,7 @@ require('./chunk-MZ4KBSH7.cjs');
|
|
|
30
30
|
require('./chunk-UPQMFK5B.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
34
34
|
require('./chunk-7OJMOG34.cjs');
|
|
35
35
|
require('./chunk-BE4OUWTA.cjs');
|
|
36
36
|
require('./chunk-WSBWP7IW.cjs');
|
|
@@ -1886,7 +1886,7 @@ function entry(logId, minutesAgo, severity, toolType, device2, summary) {
|
|
|
1886
1886
|
id: logId,
|
|
1887
1887
|
logId,
|
|
1888
1888
|
timestamp: displayTime(_chunkDKOLQPE7cjs.demoMinutesAgo.call(void 0, minutesAgo)),
|
|
1889
|
-
status: { label: severity, variant:
|
|
1889
|
+
status: { label: severity, variant: _chunkTHOGSAFHcjs.logSeverityVariant.call(void 0, severity) },
|
|
1890
1890
|
source: { name: toolType, toolType },
|
|
1891
1891
|
device: device2,
|
|
1892
1892
|
description: { title: summary }
|
|
@@ -1958,13 +1958,13 @@ var NO_FILTERS = {};
|
|
|
1958
1958
|
var ACTION_COLUMNS = ["copy", "quickView", "open"];
|
|
1959
1959
|
var BESIDE_DRAWER_HIDDEN = [...ACTION_COLUMNS, "tool", "source"];
|
|
1960
1960
|
var logHref = () => "#";
|
|
1961
|
-
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1961
|
+
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.LogCopyIconButton, {});
|
|
1962
1962
|
function LogsScreen({ compact = false }) {
|
|
1963
1963
|
const [dock, setDock] = _react.useState.call(void 0, null);
|
|
1964
1964
|
const selected = LOGS_FIXTURE_SELECTED;
|
|
1965
1965
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full bg-ods-bg", children: [
|
|
1966
1966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-clip", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1967
|
-
|
|
1967
|
+
_chunkTHOGSAFHcjs.LogsPageView,
|
|
1968
1968
|
{
|
|
1969
1969
|
showHeader: false,
|
|
1970
1970
|
className: "p-[var(--spacing-system-l)]",
|
|
@@ -1972,7 +1972,7 @@ function LogsScreen({ compact = false }) {
|
|
|
1972
1972
|
onSearchChange: noop,
|
|
1973
1973
|
onOpenFilters: noop,
|
|
1974
1974
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1975
|
-
|
|
1975
|
+
_chunkTHOGSAFHcjs.LogsTableView,
|
|
1976
1976
|
{
|
|
1977
1977
|
logs: LOGS_FIXTURE_ENTRIES,
|
|
1978
1978
|
facets: LOGS_FIXTURE_FACETS,
|
|
@@ -1986,8 +1986,8 @@ function LogsScreen({ compact = false }) {
|
|
|
1986
1986
|
)
|
|
1987
1987
|
}
|
|
1988
1988
|
) }),
|
|
1989
|
-
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setDock, className: "relative w-[calc(400px+var(--spacing-system-m))] shrink-0", children: dock && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1990
|
-
|
|
1989
|
+
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setDock, className: "relative w-[calc(400px+var(--spacing-system-m))] shrink-0", children: dock && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.AppLayoutDrawerContainerContext.Provider, { value: dock, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1990
|
+
_chunkTHOGSAFHcjs.LogDrawer,
|
|
1991
1991
|
{
|
|
1992
1992
|
docked: true,
|
|
1993
1993
|
isOpen: true,
|
|
@@ -1999,12 +1999,12 @@ function LogsScreen({ compact = false }) {
|
|
|
1999
1999
|
{ label: "Log ID", value: selected.logId },
|
|
2000
2000
|
{
|
|
2001
2001
|
label: "Source",
|
|
2002
|
-
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2002
|
+
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.ToolBadge, { toolType: _chunk62TMGBROcjs.normalizeToolTypeWithFallback.call(void 0, selected.source.toolType) })
|
|
2003
2003
|
},
|
|
2004
|
-
{ label: "Device", value:
|
|
2004
|
+
{ label: "Device", value: _chunkTHOGSAFHcjs.logSourceLabels.call(void 0, selected.device).deviceName }
|
|
2005
2005
|
],
|
|
2006
2006
|
deviceCard: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2007
|
-
|
|
2007
|
+
_chunkTHOGSAFHcjs.DeviceCard,
|
|
2008
2008
|
{
|
|
2009
2009
|
...LOGS_FIXTURE_DEVICE,
|
|
2010
2010
|
actions: {
|
|
@@ -10,7 +10,7 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
14
14
|
require('./chunk-MKF6XX5A.cjs');
|
|
15
15
|
require('./chunk-ZFOMRALU.cjs');
|
|
16
16
|
require('./chunk-TS6TISIF.cjs');
|
|
@@ -22,7 +22,7 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
22
22
|
require('./chunk-A6P6DHEZ.cjs');
|
|
23
23
|
require('./chunk-MZ4KBSH7.cjs');
|
|
24
24
|
require('./chunk-UPQMFK5B.cjs');
|
|
25
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-62TMGBRO.cjs');
|
|
26
26
|
require('./chunk-7OJMOG34.cjs');
|
|
27
27
|
require('./chunk-BE4OUWTA.cjs');
|
|
28
28
|
require('./chunk-WSBWP7IW.cjs');
|
|
@@ -1891,14 +1891,14 @@ var POLICIES = [
|
|
|
1891
1891
|
policy("policy-local-admins", "No local admins", "No everyday account is a local administrator.", false, 0)
|
|
1892
1892
|
];
|
|
1893
1893
|
var POLICIES_FIXTURE = {
|
|
1894
|
-
summary:
|
|
1894
|
+
summary: _chunkTHOGSAFHcjs.computePolicySummary.call(void 0, POLICIES),
|
|
1895
1895
|
rows: POLICIES.map((item) => ({
|
|
1896
1896
|
id: item.id,
|
|
1897
1897
|
name: item.name,
|
|
1898
1898
|
description: item.description,
|
|
1899
1899
|
critical: item.critical,
|
|
1900
1900
|
severityLabel: item.critical ? "Critical" : "Low",
|
|
1901
|
-
status:
|
|
1901
|
+
status: _chunkTHOGSAFHcjs.getPolicyTableStatus.call(void 0, item),
|
|
1902
1902
|
actions: [
|
|
1903
1903
|
{ label: "Policy Details", onClick: noop },
|
|
1904
1904
|
{ label: "Delete Policy", onClick: noop }
|
|
@@ -1912,16 +1912,16 @@ var POLICIES_FIXTURE = {
|
|
|
1912
1912
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1913
1913
|
function PoliciesScreen({ compact = false }) {
|
|
1914
1914
|
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1915
|
-
|
|
1915
|
+
_chunkTHOGSAFHcjs.PoliciesTable,
|
|
1916
1916
|
{
|
|
1917
1917
|
rows: POLICIES_FIXTURE.rows,
|
|
1918
1918
|
rowAsLink: true,
|
|
1919
|
-
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1919
|
+
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.DataTable.RowCount, {}),
|
|
1920
1920
|
emptyMessage: "No policies found."
|
|
1921
1921
|
}
|
|
1922
1922
|
);
|
|
1923
1923
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col gap-[var(--spacing-system-l)] bg-ods-bg p-[var(--spacing-system-l)]", children: [
|
|
1924
|
-
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1924
|
+
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.PolicySummaryCards, { summary: POLICIES_FIXTURE.summary, now: POLICIES_FIXTURE.now }),
|
|
1925
1925
|
table
|
|
1926
1926
|
] });
|
|
1927
1927
|
}
|
|
@@ -13,7 +13,7 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
17
17
|
require('./chunk-MKF6XX5A.cjs');
|
|
18
18
|
require('./chunk-ZFOMRALU.cjs');
|
|
19
19
|
|
|
@@ -27,7 +27,7 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
27
27
|
require('./chunk-A6P6DHEZ.cjs');
|
|
28
28
|
require('./chunk-MZ4KBSH7.cjs');
|
|
29
29
|
require('./chunk-UPQMFK5B.cjs');
|
|
30
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-62TMGBRO.cjs');
|
|
31
31
|
require('./chunk-7OJMOG34.cjs');
|
|
32
32
|
require('./chunk-BE4OUWTA.cjs');
|
|
33
33
|
require('./chunk-WSBWP7IW.cjs');
|
|
@@ -1995,8 +1995,8 @@ function buildScriptsFixture(cast) {
|
|
|
1995
1995
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1996
1996
|
var WIDE_HIDDEN_COLUMNS = ["result", "open"];
|
|
1997
1997
|
var COMPACT_COLUMNS = [
|
|
1998
|
-
{ ...
|
|
1999
|
-
|
|
1998
|
+
{ ..._chunkTHOGSAFHcjs.EXECUTION_COLUMNS.machineId, width: "flex-1 min-w-0", hideAt: void 0 },
|
|
1999
|
+
_chunkTHOGSAFHcjs.EXECUTION_COLUMNS.status
|
|
2000
2000
|
];
|
|
2001
2001
|
var COMPACT_ROWS = 4;
|
|
2002
2002
|
var TOKEN_CLASS = {
|
|
@@ -2055,7 +2055,7 @@ function ScriptCodePicture({ script }) {
|
|
|
2055
2055
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center justify-between gap-[var(--spacing-system-m)]", children: [
|
|
2056
2056
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTS6TISIFcjs.TruncateText, { variant: "h6", tone: "secondary", children: `Written by ${provenance.author} \xB7 approved by ${provenance.approver}` }),
|
|
2057
2057
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2058
|
-
|
|
2058
|
+
_chunkTHOGSAFHcjs.ScriptShellBadge,
|
|
2059
2059
|
{
|
|
2060
2060
|
value: script.shellType,
|
|
2061
2061
|
className: "shrink-0 text-ods-text-secondary text-h6",
|
|
@@ -2079,7 +2079,7 @@ function ScriptsScreen({ compact = false }) {
|
|
|
2079
2079
|
return (
|
|
2080
2080
|
// Four runs of the card's row height fill the frame; the padding is what is left round them.
|
|
2081
2081
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full overflow-hidden bg-ods-bg p-[var(--spacing-system-xsf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2082
|
-
|
|
2082
|
+
_chunkTHOGSAFHcjs.ScriptExecutionsTable,
|
|
2083
2083
|
{
|
|
2084
2084
|
rows: fixture.executions.slice(0, COMPACT_ROWS),
|
|
2085
2085
|
columns: COMPACT_COLUMNS,
|
|
@@ -2089,13 +2089,13 @@ function ScriptsScreen({ compact = false }) {
|
|
|
2089
2089
|
) })
|
|
2090
2090
|
);
|
|
2091
2091
|
}
|
|
2092
|
-
const renderOutput = (row) => row.id === fixture.openExecutionId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2092
|
+
const renderOutput = (row) => row.id === fixture.openExecutionId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.ScriptExecutionResult, { result: row.result, empty: "\u2014" }) : null;
|
|
2093
2093
|
return (
|
|
2094
2094
|
// The frame's tighter padding and no header row: the output opened under a run needs the height.
|
|
2095
2095
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full gap-[var(--spacing-system-m)] overflow-hidden bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
2096
2096
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[39%] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptCodePicture, { script: fixture.script }) }),
|
|
2097
2097
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2098
|
-
|
|
2098
|
+
_chunkTHOGSAFHcjs.ScriptExecutionsTable,
|
|
2099
2099
|
{
|
|
2100
2100
|
rows: fixture.executions,
|
|
2101
2101
|
hideColumns: WIDE_HIDDEN_COLUMNS,
|
|
@@ -15,7 +15,7 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
19
19
|
require('./chunk-MKF6XX5A.cjs');
|
|
20
20
|
require('./chunk-ZFOMRALU.cjs');
|
|
21
21
|
|
|
@@ -29,7 +29,7 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
29
29
|
require('./chunk-A6P6DHEZ.cjs');
|
|
30
30
|
require('./chunk-MZ4KBSH7.cjs');
|
|
31
31
|
require('./chunk-UPQMFK5B.cjs');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-62TMGBRO.cjs');
|
|
33
33
|
require('./chunk-7OJMOG34.cjs');
|
|
34
34
|
require('./chunk-BE4OUWTA.cjs');
|
|
35
35
|
require('./chunk-WSBWP7IW.cjs');
|
|
@@ -1922,12 +1922,12 @@ function StaticPackageField({ value }) {
|
|
|
1922
1922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1923
1923
|
_chunkTS6TISIFcjs.Autocomplete,
|
|
1924
1924
|
{
|
|
1925
|
-
label:
|
|
1925
|
+
label: _chunkTHOGSAFHcjs.PACKAGE_SEARCH_LABEL,
|
|
1926
1926
|
labelVariant: "large",
|
|
1927
1927
|
options: value ? [{ value: value.id, label: value.name, description: _nullishCoalesce(value.description, () => ( void 0)) }] : [],
|
|
1928
1928
|
value: _nullishCoalesce(_optionalChain([value, 'optionalAccess', _ => _.id]), () => ( null)),
|
|
1929
1929
|
onChange: noop,
|
|
1930
|
-
placeholder:
|
|
1930
|
+
placeholder: _chunkTHOGSAFHcjs.PACKAGE_SEARCH_PLACEHOLDER
|
|
1931
1931
|
}
|
|
1932
1932
|
);
|
|
1933
1933
|
}
|
|
@@ -1941,7 +1941,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
1941
1941
|
[fixture.devices, fixture.selectedIds]
|
|
1942
1942
|
);
|
|
1943
1943
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1944
|
-
|
|
1944
|
+
_chunkTHOGSAFHcjs.SoftwareActionForm,
|
|
1945
1945
|
{
|
|
1946
1946
|
action: fixture.action,
|
|
1947
1947
|
showHeader: false,
|
|
@@ -1953,7 +1953,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
1953
1953
|
initialValues: fixture.initialValues,
|
|
1954
1954
|
renderPackageSearch,
|
|
1955
1955
|
renderDevicePicker: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1956
|
-
|
|
1956
|
+
_chunkTHOGSAFHcjs.DeviceSelector,
|
|
1957
1957
|
{
|
|
1958
1958
|
devices: selected,
|
|
1959
1959
|
loading: false,
|
package/package.json
CHANGED
|
@@ -1983,6 +1983,8 @@ function EmbeddableChatInner({
|
|
|
1983
1983
|
// `isOpeningDialog` is false. Keyed on the dialog id being set rather than on
|
|
1984
1984
|
// any transport: `isMessagesLoading` is only ever about the ACTIVE dialog.
|
|
1985
1985
|
const isLoadingActiveDialogMessages = activeDialogId != null && isMessagesLoading;
|
|
1986
|
+
// A host block pinned above the composer (`aboveComposer`).
|
|
1987
|
+
const hasAboveComposer = aboveComposer != null && aboveComposer !== false;
|
|
1986
1988
|
const hasConversation =
|
|
1987
1989
|
hasMessages ||
|
|
1988
1990
|
isOpeningDialog ||
|
|
@@ -2923,7 +2925,17 @@ function EmbeddableChatInner({
|
|
|
2923
2925
|
/>
|
|
2924
2926
|
) : (
|
|
2925
2927
|
<>
|
|
2926
|
-
<div
|
|
2928
|
+
<div
|
|
2929
|
+
ref={galleryPanelRef}
|
|
2930
|
+
data-testid="chat-content-panel"
|
|
2931
|
+
className={cn(
|
|
2932
|
+
'flex min-h-0 flex-1 flex-col p-[var(--spacing-system-m)]',
|
|
2933
|
+
// With a host block above the composer the thread keeps room
|
|
2934
|
+
// for a line and the working status: the block gives way
|
|
2935
|
+
// instead (below), so the status never lands on it.
|
|
2936
|
+
hasAboveComposer && 'min-h-32',
|
|
2937
|
+
)}
|
|
2938
|
+
>
|
|
2927
2939
|
<div
|
|
2928
2940
|
key={contentViewKey}
|
|
2929
2941
|
className="flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0"
|
|
@@ -3123,9 +3135,14 @@ function EmbeddableChatInner({
|
|
|
3123
3135
|
|
|
3124
3136
|
{/* Host block pinned above the composer (`aboveComposer`):
|
|
3125
3137
|
the thread's own bottom padding separates them, the
|
|
3126
|
-
composer's horizontal inset is repeated so the two line up.
|
|
3127
|
-
|
|
3128
|
-
|
|
3138
|
+
composer's horizontal inset is repeated so the two line up.
|
|
3139
|
+
It may shrink: in a short panel the block (which scrolls
|
|
3140
|
+
its own content, `min-h-0`) yields height to the thread. */}
|
|
3141
|
+
{hasAboveComposer && (
|
|
3142
|
+
<div
|
|
3143
|
+
data-testid="chat-above-composer"
|
|
3144
|
+
className="flex min-h-0 shrink flex-col px-[var(--spacing-system-m)] pb-[var(--spacing-system-m)]"
|
|
3145
|
+
>
|
|
3129
3146
|
{aboveComposer}
|
|
3130
3147
|
</div>
|
|
3131
3148
|
)}
|