@flamingo-stack/openframe-frontend-core 0.0.836 → 0.0.838
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-DQ6JYOHD.cjs → chunk-2QAUQPGC.cjs} +8 -8
- package/dist/{chunk-UFF4TRZH.cjs → chunk-2X5LYDNA.cjs} +3 -3
- package/dist/{chunk-DAOVWHCN.cjs → chunk-4TUHHKLR.cjs} +47 -47
- package/dist/{chunk-LQDPAMXK.cjs → chunk-5E4YEHHO.cjs} +25 -24
- package/dist/{chunk-VMFBLMP6.cjs → chunk-64PF3UC7.cjs} +2 -2
- package/dist/{chunk-I7QIIZAI.cjs → chunk-7QNGILIY.cjs} +19 -19
- package/dist/{chunk-UQS2RI5Y.cjs → chunk-7XRFAHJF.cjs} +5 -5
- package/dist/{chunk-EQB3NSY6.cjs → chunk-B4THEQOW.cjs} +123 -145
- package/dist/{chunk-HBFYEBXN.cjs → chunk-ENK75WN4.cjs} +4 -4
- package/dist/{chunk-AZRDKZNG.cjs → chunk-JFR3OFE6.cjs} +4 -4
- package/dist/{chunk-UQ52NWTB.cjs → chunk-JI34QKPJ.cjs} +40 -40
- package/dist/{chunk-SFJXIHFR.cjs → chunk-MMPMQUQM.cjs} +11 -11
- package/dist/{chunk-4OP2VVPV.cjs → chunk-NV5AHL4G.cjs} +3 -3
- package/dist/{chunk-WAMDWVYC.cjs → chunk-S5RMRQKT.cjs} +11 -11
- package/dist/{chunk-M5PGFNJG.cjs → chunk-TMD55O5U.cjs} +53 -53
- package/dist/{chunk-VQG2A7GA.cjs → chunk-TRZEFT2N.cjs} +2 -2
- package/dist/{chunk-XXHCM2XS.cjs → chunk-U4MJ2Z4V.cjs} +39 -39
- package/dist/{chunk-IUHV55D7.cjs → chunk-V322TUBY.cjs} +9 -9
- package/dist/{chunk-D6ZSRGH2.cjs → chunk-Z7A7IZWL.cjs} +10 -5
- package/dist/{cloud-tenants-THCHEWBM.cjs → cloud-tenants-GLPDB2F5.cjs} +5 -5
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/chat/composer-sheet.d.ts +5 -3
- package/dist/components/chat/composer-sheet.d.ts.map +1 -1
- package/dist/components/chat/composer-sheet.js +7 -6
- package/dist/components/chat/embeddable-chat.js +5 -2
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -1
- package/dist/components/chat/mingo-quick-action-wall.js +11 -6
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -1
- package/dist/components/features/devices/device-selector/device-selector.js +0 -10
- package/dist/components/features/devices/device-selector/narrowing.d.ts +2 -2
- package/dist/components/features/devices/devices-filter-toolbar.d.ts +1 -2
- package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -1
- package/dist/components/features/devices/devices-filter-toolbar.js +0 -2
- package/dist/components/features/devices/devices-list.d.ts +1 -1
- package/dist/components/features/devices/devices-list.d.ts.map +1 -1
- package/dist/components/features/devices/devices-list.js +0 -9
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -1
- package/dist/components/features/devices/devices-panel-view.js +0 -1
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/help-center-pages/index.cjs +62 -62
- package/dist/components/index.cjs +38 -38
- package/dist/components/meeting-scheduler/index.cjs +30 -30
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/product-demo/index.cjs +14 -14
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/ui/index.cjs +5 -5
- package/dist/{devices-MPRDMXXU.cjs → devices-GHPW5WCO.cjs} +6 -6
- package/dist/{embeddable-chat-TRGESG7U.cjs → embeddable-chat-RBC7F4TL.cjs} +76 -73
- package/dist/index.cjs +9 -9
- package/dist/{knowledge-TFTDHYGR.cjs → knowledge-4TOSY2S5.cjs} +6 -6
- package/dist/{logs-CSSJG4F7.cjs → logs-MUODFY6N.cjs} +12 -12
- package/dist/{policies-ELFYUN5P.cjs → policies-TJHO3VLE.cjs} +9 -9
- package/dist/{scripts-37L6FIKG.cjs → scripts-X5CMYE2V.cjs} +10 -10
- package/dist/{software-update-BSA4NLHO.cjs → software-update-2UZKHTYM.cjs} +8 -8
- package/package.json +1 -1
- package/src/components/chat/composer-sheet.tsx +12 -9
- package/src/components/chat/embeddable-chat.tsx +5 -2
- package/src/components/chat/mingo-quick-action-wall.tsx +18 -7
- package/src/components/features/devices/device-selector/device-selector.tsx +1 -12
- package/src/components/features/devices/device-selector/narrowing.ts +2 -2
- package/src/components/features/devices/devices-filter-toolbar.tsx +0 -3
- package/src/components/features/devices/devices-list.tsx +1 -11
- package/src/components/features/devices/devices-panel-view.tsx +0 -1
|
@@ -8,10 +8,10 @@ var _chunkLHV2R6QUcjs = require('./chunk-LHV2R6QU.cjs');
|
|
|
8
8
|
var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkB4THEQOWcjs = require('./chunk-B4THEQOW.cjs');
|
|
12
12
|
require('./chunk-FNNDGOR3.cjs');
|
|
13
13
|
require('./chunk-SWMUW3RR.cjs');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-TRZEFT2N.cjs');
|
|
15
15
|
require('./chunk-HQQE74RO.cjs');
|
|
16
16
|
require('./chunk-DEY6XXGO.cjs');
|
|
17
17
|
require('./chunk-LWMWY3JO.cjs');
|
|
@@ -19,11 +19,11 @@ require('./chunk-APOMNC7H.cjs');
|
|
|
19
19
|
require('./chunk-24I6RFVU.cjs');
|
|
20
20
|
require('./chunk-MZ4KBSH7.cjs');
|
|
21
21
|
require('./chunk-5SZ4ILU3.cjs');
|
|
22
|
-
require('./chunk-
|
|
22
|
+
require('./chunk-5E4YEHHO.cjs');
|
|
23
23
|
require('./chunk-OT6P57ZS.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkZ7A7IZWLcjs = require('./chunk-Z7A7IZWL.cjs');
|
|
27
27
|
require('./chunk-4JHO2NVI.cjs');
|
|
28
28
|
require('./chunk-5L3UKDC6.cjs');
|
|
29
29
|
require('./chunk-YJZ7R3W5.cjs');
|
|
@@ -1908,10 +1908,10 @@ function KnowledgeScreen(_props) {
|
|
|
1908
1908
|
const cast = _chunkLHV2R6QUcjs.useProductDemoCast.call(void 0, );
|
|
1909
1909
|
const fixture = _react.useMemo.call(void 0, () => buildKnowledgeFixture(cast), [cast]);
|
|
1910
1910
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1911
|
-
|
|
1911
|
+
_chunkB4THEQOWcjs.KnowledgeBaseArticleView,
|
|
1912
1912
|
{
|
|
1913
1913
|
...fixture.article,
|
|
1914
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1914
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.SimpleMarkdownRenderer, { content: fixture.content, textSize: "compact" })
|
|
1915
1915
|
}
|
|
1916
1916
|
) });
|
|
1917
1917
|
}
|
|
@@ -15,10 +15,10 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkB4THEQOWcjs = require('./chunk-B4THEQOW.cjs');
|
|
19
19
|
require('./chunk-FNNDGOR3.cjs');
|
|
20
20
|
require('./chunk-SWMUW3RR.cjs');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-TRZEFT2N.cjs');
|
|
22
22
|
require('./chunk-HQQE74RO.cjs');
|
|
23
23
|
require('./chunk-DEY6XXGO.cjs');
|
|
24
24
|
require('./chunk-LWMWY3JO.cjs');
|
|
@@ -28,11 +28,11 @@ require('./chunk-MZ4KBSH7.cjs');
|
|
|
28
28
|
require('./chunk-5SZ4ILU3.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunk5E4YEHHOcjs = require('./chunk-5E4YEHHO.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
35
|
-
require('./chunk-
|
|
35
|
+
require('./chunk-Z7A7IZWL.cjs');
|
|
36
36
|
require('./chunk-4JHO2NVI.cjs');
|
|
37
37
|
require('./chunk-5L3UKDC6.cjs');
|
|
38
38
|
require('./chunk-YJZ7R3W5.cjs');
|
|
@@ -1890,7 +1890,7 @@ function entry(logId, minutesAgo, severity, toolType, device2, summary) {
|
|
|
1890
1890
|
id: logId,
|
|
1891
1891
|
logId,
|
|
1892
1892
|
timestamp: displayTime(_chunkFDZOE5TLcjs.demoMinutesAgo.call(void 0, minutesAgo)),
|
|
1893
|
-
status: { label: severity, variant:
|
|
1893
|
+
status: { label: severity, variant: _chunkB4THEQOWcjs.logSeverityVariant.call(void 0, severity) },
|
|
1894
1894
|
source: { name: toolType, toolType },
|
|
1895
1895
|
device: device2,
|
|
1896
1896
|
description: { title: summary }
|
|
@@ -1962,13 +1962,13 @@ var NO_FILTERS = {};
|
|
|
1962
1962
|
var ACTION_COLUMNS = ["copy", "quickView", "open"];
|
|
1963
1963
|
var BESIDE_DRAWER_HIDDEN = [...ACTION_COLUMNS, "tool", "source"];
|
|
1964
1964
|
var logHref = () => "#";
|
|
1965
|
-
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1965
|
+
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB4THEQOWcjs.LogCopyIconButton, {});
|
|
1966
1966
|
function LogsScreen({ compact = false }) {
|
|
1967
1967
|
const [dock, setDock] = _react.useState.call(void 0, null);
|
|
1968
1968
|
const selected = LOGS_FIXTURE_SELECTED;
|
|
1969
1969
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full bg-ods-bg", children: [
|
|
1970
1970
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-clip", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1971
|
-
|
|
1971
|
+
_chunkB4THEQOWcjs.LogsPageView,
|
|
1972
1972
|
{
|
|
1973
1973
|
showHeader: false,
|
|
1974
1974
|
className: "p-[var(--spacing-system-l)]",
|
|
@@ -1976,7 +1976,7 @@ function LogsScreen({ compact = false }) {
|
|
|
1976
1976
|
onSearchChange: noop,
|
|
1977
1977
|
onOpenFilters: noop,
|
|
1978
1978
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1979
|
-
|
|
1979
|
+
_chunkB4THEQOWcjs.LogsTableView,
|
|
1980
1980
|
{
|
|
1981
1981
|
logs: LOGS_FIXTURE_ENTRIES,
|
|
1982
1982
|
facets: LOGS_FIXTURE_FACETS,
|
|
@@ -1991,7 +1991,7 @@ function LogsScreen({ compact = false }) {
|
|
|
1991
1991
|
}
|
|
1992
1992
|
) }),
|
|
1993
1993
|
!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, _chunkOT6P57ZScjs.AppLayoutDrawerContainerContext.Provider, { value: dock, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1994
|
-
|
|
1994
|
+
_chunkB4THEQOWcjs.LogDrawer,
|
|
1995
1995
|
{
|
|
1996
1996
|
docked: true,
|
|
1997
1997
|
isOpen: true,
|
|
@@ -2003,12 +2003,12 @@ function LogsScreen({ compact = false }) {
|
|
|
2003
2003
|
{ label: "Log ID", value: selected.logId },
|
|
2004
2004
|
{
|
|
2005
2005
|
label: "Source",
|
|
2006
|
-
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2006
|
+
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB4THEQOWcjs.ToolBadge, { toolType: _chunk5E4YEHHOcjs.normalizeToolTypeWithFallback.call(void 0, selected.source.toolType) })
|
|
2007
2007
|
},
|
|
2008
|
-
{ label: "Device", value:
|
|
2008
|
+
{ label: "Device", value: _chunkB4THEQOWcjs.logSourceLabels.call(void 0, selected.device).deviceName }
|
|
2009
2009
|
],
|
|
2010
2010
|
deviceCard: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2011
|
-
|
|
2011
|
+
_chunkB4THEQOWcjs.DeviceCard,
|
|
2012
2012
|
{
|
|
2013
2013
|
...LOGS_FIXTURE_DEVICE,
|
|
2014
2014
|
actions: {
|
|
@@ -10,10 +10,10 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkB4THEQOWcjs = require('./chunk-B4THEQOW.cjs');
|
|
14
14
|
require('./chunk-FNNDGOR3.cjs');
|
|
15
15
|
require('./chunk-SWMUW3RR.cjs');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-TRZEFT2N.cjs');
|
|
17
17
|
require('./chunk-HQQE74RO.cjs');
|
|
18
18
|
require('./chunk-DEY6XXGO.cjs');
|
|
19
19
|
require('./chunk-LWMWY3JO.cjs');
|
|
@@ -21,9 +21,9 @@ require('./chunk-APOMNC7H.cjs');
|
|
|
21
21
|
require('./chunk-24I6RFVU.cjs');
|
|
22
22
|
require('./chunk-MZ4KBSH7.cjs');
|
|
23
23
|
require('./chunk-5SZ4ILU3.cjs');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-5E4YEHHO.cjs');
|
|
25
25
|
require('./chunk-OT6P57ZS.cjs');
|
|
26
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-Z7A7IZWL.cjs');
|
|
27
27
|
require('./chunk-4JHO2NVI.cjs');
|
|
28
28
|
require('./chunk-5L3UKDC6.cjs');
|
|
29
29
|
require('./chunk-YJZ7R3W5.cjs');
|
|
@@ -1894,14 +1894,14 @@ var POLICIES = [
|
|
|
1894
1894
|
policy("policy-local-admins", "No local admins", "No everyday account is a local administrator.", false, 0)
|
|
1895
1895
|
];
|
|
1896
1896
|
var POLICIES_FIXTURE = {
|
|
1897
|
-
summary:
|
|
1897
|
+
summary: _chunkB4THEQOWcjs.computePolicySummary.call(void 0, POLICIES),
|
|
1898
1898
|
rows: POLICIES.map((item) => ({
|
|
1899
1899
|
id: item.id,
|
|
1900
1900
|
name: item.name,
|
|
1901
1901
|
description: item.description,
|
|
1902
1902
|
critical: item.critical,
|
|
1903
1903
|
severityLabel: item.critical ? "Critical" : "Low",
|
|
1904
|
-
status:
|
|
1904
|
+
status: _chunkB4THEQOWcjs.getPolicyTableStatus.call(void 0, item),
|
|
1905
1905
|
actions: [
|
|
1906
1906
|
{ label: "Policy Details", onClick: noop },
|
|
1907
1907
|
{ label: "Delete Policy", onClick: noop }
|
|
@@ -1915,16 +1915,16 @@ var POLICIES_FIXTURE = {
|
|
|
1915
1915
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1916
1916
|
function PoliciesScreen({ compact = false }) {
|
|
1917
1917
|
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1918
|
-
|
|
1918
|
+
_chunkB4THEQOWcjs.PoliciesTable,
|
|
1919
1919
|
{
|
|
1920
1920
|
rows: POLICIES_FIXTURE.rows,
|
|
1921
1921
|
rowAsLink: true,
|
|
1922
|
-
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1922
|
+
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB4THEQOWcjs.DataTable.RowCount, {}),
|
|
1923
1923
|
emptyMessage: "No policies found."
|
|
1924
1924
|
}
|
|
1925
1925
|
);
|
|
1926
1926
|
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: [
|
|
1927
|
-
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1927
|
+
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB4THEQOWcjs.PolicySummaryCards, { summary: POLICIES_FIXTURE.summary, now: POLICIES_FIXTURE.now }),
|
|
1928
1928
|
table
|
|
1929
1929
|
] });
|
|
1930
1930
|
}
|
|
@@ -13,12 +13,12 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkB4THEQOWcjs = require('./chunk-B4THEQOW.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkFNNDGOR3cjs = require('./chunk-FNNDGOR3.cjs');
|
|
20
20
|
require('./chunk-SWMUW3RR.cjs');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-TRZEFT2N.cjs');
|
|
22
22
|
require('./chunk-HQQE74RO.cjs');
|
|
23
23
|
require('./chunk-DEY6XXGO.cjs');
|
|
24
24
|
require('./chunk-LWMWY3JO.cjs');
|
|
@@ -26,9 +26,9 @@ require('./chunk-APOMNC7H.cjs');
|
|
|
26
26
|
require('./chunk-24I6RFVU.cjs');
|
|
27
27
|
require('./chunk-MZ4KBSH7.cjs');
|
|
28
28
|
require('./chunk-5SZ4ILU3.cjs');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-5E4YEHHO.cjs');
|
|
30
30
|
require('./chunk-OT6P57ZS.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-Z7A7IZWL.cjs');
|
|
32
32
|
require('./chunk-4JHO2NVI.cjs');
|
|
33
33
|
require('./chunk-5L3UKDC6.cjs');
|
|
34
34
|
require('./chunk-YJZ7R3W5.cjs');
|
|
@@ -1998,8 +1998,8 @@ function buildScriptsFixture(cast) {
|
|
|
1998
1998
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1999
1999
|
var WIDE_HIDDEN_COLUMNS = ["result", "open"];
|
|
2000
2000
|
var COMPACT_COLUMNS = [
|
|
2001
|
-
{ ...
|
|
2002
|
-
|
|
2001
|
+
{ ..._chunkB4THEQOWcjs.EXECUTION_COLUMNS.machineId, width: "flex-1 min-w-0", hideAt: void 0 },
|
|
2002
|
+
_chunkB4THEQOWcjs.EXECUTION_COLUMNS.status
|
|
2003
2003
|
];
|
|
2004
2004
|
var COMPACT_ROWS = 4;
|
|
2005
2005
|
var TOKEN_CLASS = {
|
|
@@ -2058,7 +2058,7 @@ function ScriptCodePicture({ script }) {
|
|
|
2058
2058
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center justify-between gap-[var(--spacing-system-m)]", children: [
|
|
2059
2059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: `Written by ${provenance.author} \xB7 approved by ${provenance.approver}` }),
|
|
2060
2060
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2061
|
-
|
|
2061
|
+
_chunkB4THEQOWcjs.ScriptShellBadge,
|
|
2062
2062
|
{
|
|
2063
2063
|
value: script.shellType,
|
|
2064
2064
|
className: "shrink-0 text-ods-text-secondary text-h6",
|
|
@@ -2082,7 +2082,7 @@ function ScriptsScreen({ compact = false }) {
|
|
|
2082
2082
|
return (
|
|
2083
2083
|
// Four runs of the card's row height fill the frame; the padding is what is left round them.
|
|
2084
2084
|
/* @__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,
|
|
2085
|
-
|
|
2085
|
+
_chunkB4THEQOWcjs.ScriptExecutionsTable,
|
|
2086
2086
|
{
|
|
2087
2087
|
rows: fixture.executions.slice(0, COMPACT_ROWS),
|
|
2088
2088
|
columns: COMPACT_COLUMNS,
|
|
@@ -2092,13 +2092,13 @@ function ScriptsScreen({ compact = false }) {
|
|
|
2092
2092
|
) })
|
|
2093
2093
|
);
|
|
2094
2094
|
}
|
|
2095
|
-
const renderOutput = (row) => row.id === fixture.openExecutionId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2095
|
+
const renderOutput = (row) => row.id === fixture.openExecutionId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB4THEQOWcjs.ScriptExecutionResult, { result: row.result, empty: "\u2014" }) : null;
|
|
2096
2096
|
return (
|
|
2097
2097
|
// The frame's tighter padding and no header row: the output opened under a run needs the height.
|
|
2098
2098
|
/* @__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: [
|
|
2099
2099
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[39%] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptCodePicture, { script: fixture.script }) }),
|
|
2100
2100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2101
|
-
|
|
2101
|
+
_chunkB4THEQOWcjs.ScriptExecutionsTable,
|
|
2102
2102
|
{
|
|
2103
2103
|
rows: fixture.executions,
|
|
2104
2104
|
hideColumns: WIDE_HIDDEN_COLUMNS,
|
|
@@ -15,12 +15,12 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkB4THEQOWcjs = require('./chunk-B4THEQOW.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkFNNDGOR3cjs = require('./chunk-FNNDGOR3.cjs');
|
|
22
22
|
require('./chunk-SWMUW3RR.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-TRZEFT2N.cjs');
|
|
24
24
|
require('./chunk-HQQE74RO.cjs');
|
|
25
25
|
require('./chunk-DEY6XXGO.cjs');
|
|
26
26
|
require('./chunk-LWMWY3JO.cjs');
|
|
@@ -28,9 +28,9 @@ require('./chunk-APOMNC7H.cjs');
|
|
|
28
28
|
require('./chunk-24I6RFVU.cjs');
|
|
29
29
|
require('./chunk-MZ4KBSH7.cjs');
|
|
30
30
|
require('./chunk-5SZ4ILU3.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-5E4YEHHO.cjs');
|
|
32
32
|
require('./chunk-OT6P57ZS.cjs');
|
|
33
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-Z7A7IZWL.cjs');
|
|
34
34
|
require('./chunk-4JHO2NVI.cjs');
|
|
35
35
|
require('./chunk-5L3UKDC6.cjs');
|
|
36
36
|
require('./chunk-YJZ7R3W5.cjs');
|
|
@@ -1925,12 +1925,12 @@ function StaticPackageField({ value }) {
|
|
|
1925
1925
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1926
1926
|
_chunkFNNDGOR3cjs.Autocomplete,
|
|
1927
1927
|
{
|
|
1928
|
-
label:
|
|
1928
|
+
label: _chunkB4THEQOWcjs.PACKAGE_SEARCH_LABEL,
|
|
1929
1929
|
labelVariant: "large",
|
|
1930
1930
|
options: value ? [{ value: value.id, label: value.name, description: _nullishCoalesce(value.description, () => ( void 0)) }] : [],
|
|
1931
1931
|
value: _nullishCoalesce(_optionalChain([value, 'optionalAccess', _ => _.id]), () => ( null)),
|
|
1932
1932
|
onChange: noop,
|
|
1933
|
-
placeholder:
|
|
1933
|
+
placeholder: _chunkB4THEQOWcjs.PACKAGE_SEARCH_PLACEHOLDER
|
|
1934
1934
|
}
|
|
1935
1935
|
);
|
|
1936
1936
|
}
|
|
@@ -1944,7 +1944,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
1944
1944
|
[fixture.devices, fixture.selectedIds]
|
|
1945
1945
|
);
|
|
1946
1946
|
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,
|
|
1947
|
-
|
|
1947
|
+
_chunkB4THEQOWcjs.SoftwareActionForm,
|
|
1948
1948
|
{
|
|
1949
1949
|
action: fixture.action,
|
|
1950
1950
|
showHeader: false,
|
|
@@ -1956,7 +1956,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
1956
1956
|
initialValues: fixture.initialValues,
|
|
1957
1957
|
renderPackageSearch,
|
|
1958
1958
|
renderDevicePicker: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1959
|
-
|
|
1959
|
+
_chunkB4THEQOWcjs.DeviceSelector,
|
|
1960
1960
|
{
|
|
1961
1961
|
devices: selected,
|
|
1962
1962
|
loading: false,
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ export interface ComposerSheetProps {
|
|
|
31
31
|
onResetHeight?: () => void;
|
|
32
32
|
/** Share of the layer the sheet takes while `height` is null. Default 0.64. */
|
|
33
33
|
defaultShare?: number;
|
|
34
|
-
/** Default 320. */
|
|
34
|
+
/** Default 320; a layer too short for it lowers it, so the sheet stays inside the layer. */
|
|
35
35
|
minHeight?: number;
|
|
36
36
|
/**
|
|
37
37
|
* Whether the tab on its top edge resizes it. Default `true`. Off (a phone, where
|
|
@@ -76,8 +76,10 @@ function TabGrip() {
|
|
|
76
76
|
* The conversation sheet over a page: it rises from the docked composer, the page
|
|
77
77
|
* stays beneath under a scrim, and a tab standing on its top edge resizes it from
|
|
78
78
|
* `minHeight` to the full height of the layer (a drag, the arrow keys, Home / End; a
|
|
79
|
-
* double click asks the host for the default height).
|
|
80
|
-
*
|
|
79
|
+
* double click asks the host for the default height). The layer is its limit before
|
|
80
|
+
* `minHeight` is: a tall dock in a short window leaves less than the floor, and past the
|
|
81
|
+
* layer's top the sheet's header would run under what stands over it. Without
|
|
82
|
+
* `resizable` it has no tab and can take the whole layer. Meant for `AppLayout`'s
|
|
81
83
|
* `composerSheet` layer, whose bottom is the dock's top edge: the sheet stands above
|
|
82
84
|
* the composer as a card of its own, its header at its top border.
|
|
83
85
|
*
|
|
@@ -122,8 +124,9 @@ export function ComposerSheet({
|
|
|
122
124
|
// floor for that frame and grow from it. The tab above the sheet stays in the layer.
|
|
123
125
|
const tabHeight = resizable ? TAB_HEIGHT : 0;
|
|
124
126
|
const measured = layerHeight > 0;
|
|
125
|
-
const maxHeight = measured ? Math.max(
|
|
126
|
-
const
|
|
127
|
+
const maxHeight = measured ? Math.max(0, layerHeight - tabHeight) : Number.POSITIVE_INFINITY;
|
|
128
|
+
const floor = Math.min(minHeight, maxHeight);
|
|
129
|
+
const clamp = (next: number) => Math.round(Math.min(maxHeight, Math.max(floor, next)));
|
|
127
130
|
// Until the layer is measured the share is a percentage, so the first frame is right.
|
|
128
131
|
const resolved = height === null ? (measured ? clamp(layerHeight * defaultShare) : null) : clamp(height);
|
|
129
132
|
|
|
@@ -155,7 +158,7 @@ export function ComposerSheet({
|
|
|
155
158
|
)}
|
|
156
159
|
style={{
|
|
157
160
|
height: resolved ?? `${Math.round(defaultShare * 100)}%`,
|
|
158
|
-
minHeight,
|
|
161
|
+
minHeight: floor,
|
|
159
162
|
maxHeight: `calc(100% - ${tabHeight}px)`,
|
|
160
163
|
}}
|
|
161
164
|
>
|
|
@@ -171,9 +174,9 @@ export function ComposerSheet({
|
|
|
171
174
|
<TabFoot side="right" />
|
|
172
175
|
<PanelResizeHandle
|
|
173
176
|
side="bottom"
|
|
174
|
-
size={resolved ??
|
|
175
|
-
minSize={
|
|
176
|
-
maxSize={measured ? maxHeight : (resolved ??
|
|
177
|
+
size={resolved ?? floor}
|
|
178
|
+
minSize={floor}
|
|
179
|
+
maxSize={measured ? maxHeight : (resolved ?? floor)}
|
|
177
180
|
onSize={next => onHeightChange(clamp(next))}
|
|
178
181
|
clampSize={clamp}
|
|
179
182
|
panelRef={panelRef}
|
|
@@ -2762,8 +2762,11 @@ function EmbeddableChatInner({
|
|
|
2762
2762
|
'flex min-h-0 flex-1 flex-col p-[var(--spacing-system-m)]',
|
|
2763
2763
|
// With a host block above the composer the thread keeps room
|
|
2764
2764
|
// for a line and the working status: the block gives way
|
|
2765
|
-
// instead (below), so the status never lands on it.
|
|
2766
|
-
|
|
2765
|
+
// instead (below), so the status never lands on it. Not when
|
|
2766
|
+
// the thread is portalled out (`threadContainer`): the block
|
|
2767
|
+
// stays in the host's dock and takes no height from it, so the
|
|
2768
|
+
// floor would only push the thread's end out of its own box.
|
|
2769
|
+
hasAboveComposer && !splitMode && 'min-h-32',
|
|
2767
2770
|
)}
|
|
2768
2771
|
>
|
|
2769
2772
|
<div key={contentViewKey} className="flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0">
|
|
@@ -7,7 +7,7 @@ import { Ellipsis01Icon } from '../icons-v2-generated';
|
|
|
7
7
|
import { PageTopicLabel } from '../page-topic-label';
|
|
8
8
|
import { ActionsMenuDropdown } from '../ui/actions-menu';
|
|
9
9
|
import { Button } from '../ui/button';
|
|
10
|
-
import { LoadingItems, useLoadingScope } from '../ui/loading-scope';
|
|
10
|
+
import { LoadingItems, loadingItemProps, useLoadingScope } from '../ui/loading-scope';
|
|
11
11
|
import type { MingoQuickAction } from './mingo-welcome';
|
|
12
12
|
import {
|
|
13
13
|
QuickActionChipButton,
|
|
@@ -26,6 +26,9 @@ import { WALL_SKELETON_LABEL_CH } from './quick-action-wall';
|
|
|
26
26
|
*/
|
|
27
27
|
export const QUICK_ACTION_SET_SLOTS = 4;
|
|
28
28
|
|
|
29
|
+
/** The set loads as every one of its slots. */
|
|
30
|
+
const QUICK_ACTION_SKELETON_COUNT = QUICK_ACTION_SET_SLOTS;
|
|
31
|
+
|
|
29
32
|
export interface QuickActionSetProps {
|
|
30
33
|
/** The actions, in the order to show them (the host puts the page topic's own first). */
|
|
31
34
|
chips: ReadonlyArray<QuickActionChip>;
|
|
@@ -86,16 +89,15 @@ export function QuickActionSet({
|
|
|
86
89
|
{showTopic && <PageTopicLabel className="text-right" />}
|
|
87
90
|
<div className="grid grid-cols-1 gap-[var(--spacing-system-xs)] @[18rem]:grid-cols-2 @[48rem]:grid-cols-4">
|
|
88
91
|
{loading ? (
|
|
89
|
-
<LoadingItems count={
|
|
92
|
+
<LoadingItems count={QUICK_ACTION_SKELETON_COUNT}>
|
|
90
93
|
{i => (
|
|
91
|
-
<Slot>
|
|
94
|
+
<Slot data-loading-item>
|
|
92
95
|
<QuickActionChipButton
|
|
93
96
|
loading
|
|
94
97
|
fill
|
|
95
98
|
label=""
|
|
96
99
|
icon
|
|
97
100
|
labelCh={WALL_SKELETON_LABEL_CH[i % WALL_SKELETON_LABEL_CH.length]}
|
|
98
|
-
data-loading-item
|
|
99
101
|
/>
|
|
100
102
|
</Slot>
|
|
101
103
|
)}
|
|
@@ -103,8 +105,8 @@ export function QuickActionSet({
|
|
|
103
105
|
) : (
|
|
104
106
|
<>
|
|
105
107
|
{shown.map(chip => (
|
|
106
|
-
<Slot key={chip.id}>
|
|
107
|
-
<QuickActionChipFromData chip={chip} defaultTheme={theme} fill
|
|
108
|
+
<Slot key={chip.id} data-loading-item>
|
|
109
|
+
<QuickActionChipFromData chip={chip} defaultTheme={theme} fill />
|
|
108
110
|
</Slot>
|
|
109
111
|
))}
|
|
110
112
|
{overflows && (
|
|
@@ -146,9 +148,18 @@ export function QuickActionSet({
|
|
|
146
148
|
|
|
147
149
|
/** One cell of the set's grid: whatever it holds (a chip, its loading form, "More", or an unused slot's unseen box)
|
|
148
150
|
* fills it. */
|
|
149
|
-
function Slot({
|
|
151
|
+
function Slot({
|
|
152
|
+
unused = false,
|
|
153
|
+
children,
|
|
154
|
+
...rest
|
|
155
|
+
}: {
|
|
156
|
+
unused?: boolean;
|
|
157
|
+
children: ReactNode;
|
|
158
|
+
'data-loading-item'?: boolean;
|
|
159
|
+
}) {
|
|
150
160
|
return (
|
|
151
161
|
<div
|
|
162
|
+
{...loadingItemProps(rest)}
|
|
152
163
|
data-testid="quick-action-slot"
|
|
153
164
|
aria-hidden={unused || undefined}
|
|
154
165
|
className={cn('min-w-0', unused && 'invisible')}
|
|
@@ -277,7 +277,7 @@ export function DeviceSelector<T extends DeviceRow = DeviceRow>({
|
|
|
277
277
|
}, [disabled, server, onSelectionChange]);
|
|
278
278
|
|
|
279
279
|
// Tag chips in the search bar take "key:value" form (e.g. "env:prod").
|
|
280
|
-
//
|
|
280
|
+
// A chip without a key filters nothing (matches DevicesPanel behavior).
|
|
281
281
|
const selectedTagValues = useMemo(
|
|
282
282
|
() =>
|
|
283
283
|
selectedTags.flatMap(t => {
|
|
@@ -499,16 +499,6 @@ export function DeviceSelector<T extends DeviceRow = DeviceRow>({
|
|
|
499
499
|
setSelectedTags([]);
|
|
500
500
|
}, [setSearchTerm, setSelectedTags]);
|
|
501
501
|
|
|
502
|
-
const handleTagSubmit = useCallback(
|
|
503
|
-
(value: string) => {
|
|
504
|
-
const trimmed = value.trim();
|
|
505
|
-
if (!trimmed) return;
|
|
506
|
-
if (!selectedTags.includes(trimmed)) setSelectedTags([...selectedTags, trimmed]);
|
|
507
|
-
setSearchTerm('');
|
|
508
|
-
},
|
|
509
|
-
[selectedTags, setSelectedTags, setSearchTerm],
|
|
510
|
-
);
|
|
511
|
-
|
|
512
502
|
const columns = useMemo<ColumnDef<T>[]>(
|
|
513
503
|
() => [
|
|
514
504
|
{
|
|
@@ -810,7 +800,6 @@ export function DeviceSelector<T extends DeviceRow = DeviceRow>({
|
|
|
810
800
|
tags={tagOptions}
|
|
811
801
|
onTagRemove={handleTagRemove}
|
|
812
802
|
onClearAll={handleClearAll}
|
|
813
|
-
onSubmit={handleTagSubmit}
|
|
814
803
|
onOpenFilterModal={openTagsModal}
|
|
815
804
|
isFilterModalOpen={tagsModalOpen}
|
|
816
805
|
onCloseFilterModal={closeTagsModal}
|
|
@@ -8,8 +8,8 @@ export const EMPTY_NARROWING: DeviceSelectorNarrowing = { columnFilters: [], tag
|
|
|
8
8
|
*
|
|
9
9
|
* The component speaks in table column filters and `key:value` chips because
|
|
10
10
|
* that is what its controls produce; the owner's device fields take a
|
|
11
|
-
* `DeviceFilterInput`. A
|
|
12
|
-
*
|
|
11
|
+
* `DeviceFilterInput`. A chip without a colon carries no filter, same as the
|
|
12
|
+
* devices page.
|
|
13
13
|
*/
|
|
14
14
|
export function narrowingToFilter(narrowing: DeviceSelectorNarrowing): DeviceFilterInput {
|
|
15
15
|
const column = (id: string) => narrowing.columnFilters.find(f => f.id === id)?.value as string[] | undefined;
|
|
@@ -15,7 +15,6 @@ export interface DevicesFilterToolbarProps {
|
|
|
15
15
|
tags: TagSearchOption<string>[];
|
|
16
16
|
onTagRemove: (value: string) => void;
|
|
17
17
|
onClearAll: () => void;
|
|
18
|
-
onSubmit: (value: string) => void;
|
|
19
18
|
|
|
20
19
|
/** Open the Device Tags modal. */
|
|
21
20
|
onOpenFilterModal: () => void;
|
|
@@ -58,7 +57,6 @@ export function DevicesFilterToolbar({
|
|
|
58
57
|
tags,
|
|
59
58
|
onTagRemove,
|
|
60
59
|
onClearAll,
|
|
61
|
-
onSubmit,
|
|
62
60
|
onOpenFilterModal,
|
|
63
61
|
isFilterModalOpen,
|
|
64
62
|
onCloseFilterModal,
|
|
@@ -89,7 +87,6 @@ export function DevicesFilterToolbar({
|
|
|
89
87
|
onSearchChange={onSearchChange}
|
|
90
88
|
onTagRemove={onTagRemove}
|
|
91
89
|
onClearAll={onClearAll}
|
|
92
|
-
onSubmit={onSubmit}
|
|
93
90
|
placeholder="Search for Devices"
|
|
94
91
|
addMorePlaceholder="Add More..."
|
|
95
92
|
/>
|
|
@@ -19,7 +19,7 @@ export interface DevicesListNarrowing {
|
|
|
19
19
|
statuses: string[];
|
|
20
20
|
osTypes: string[];
|
|
21
21
|
organizationIds: string[];
|
|
22
|
-
/** Chips
|
|
22
|
+
/** Chips from the tag filter, `key:value`. A bare word from an old link stays visible and filters nothing. */
|
|
23
23
|
tags: string[];
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -262,15 +262,6 @@ export function DevicesList<T extends DeviceRow = DeviceRow>({
|
|
|
262
262
|
[patch, narrowing.tags],
|
|
263
263
|
);
|
|
264
264
|
|
|
265
|
-
const handleTagSubmit = useCallback(
|
|
266
|
-
(value: string) => {
|
|
267
|
-
const trimmed = value.trim();
|
|
268
|
-
if (!trimmed) return;
|
|
269
|
-
patch({ search: '', tags: narrowing.tags.includes(trimmed) ? narrowing.tags : [...narrowing.tags, trimmed] });
|
|
270
|
-
},
|
|
271
|
-
[patch, narrowing.tags],
|
|
272
|
-
);
|
|
273
|
-
|
|
274
265
|
const handleClearAll = useCallback(() => patch({ search: '', tags: [] }), [patch]);
|
|
275
266
|
|
|
276
267
|
const narrowed = isNarrowed(narrowing);
|
|
@@ -308,7 +299,6 @@ export function DevicesList<T extends DeviceRow = DeviceRow>({
|
|
|
308
299
|
tags={tagOptions}
|
|
309
300
|
onTagRemove={handleTagRemove}
|
|
310
301
|
onClearAll={handleClearAll}
|
|
311
|
-
onSubmit={handleTagSubmit}
|
|
312
302
|
onOpenFilterModal={openFilterModal}
|
|
313
303
|
isFilterModalOpen={filterModalOpen}
|
|
314
304
|
onCloseFilterModal={closeFilterModal}
|