@flamingo-stack/openframe-frontend-core 0.0.768 → 0.0.769
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-PFY23KN7.cjs → chunk-3AZZFTT6.cjs} +4 -4
- package/dist/{chunk-S4QS5E5A.cjs → chunk-5HWBW7WU.cjs} +2 -2
- package/dist/{chunk-NPVYID2L.cjs → chunk-BIHMMGRP.cjs} +35 -35
- package/dist/{chunk-VADRKMLE.cjs → chunk-D45Q3WEP.cjs} +3 -3
- package/dist/{chunk-DE7U72NZ.cjs → chunk-DEJB5WHZ.cjs} +7 -7
- package/dist/{chunk-OEVNX4OR.cjs → chunk-EZTHTSWZ.cjs} +16 -16
- package/dist/{chunk-U6UIG4OP.cjs → chunk-IEPWXEA6.cjs} +12 -12
- package/dist/{chunk-STHQJNND.cjs → chunk-L5WSNX4H.cjs} +195 -182
- package/dist/{chunk-XI2CHCOD.cjs → chunk-MZLWB5AH.cjs} +1 -1
- package/dist/{chunk-57KIBZFQ.cjs → chunk-QC47HVA4.cjs} +26 -26
- package/dist/{chunk-OGHLIUF4.cjs → chunk-SV6K7ZLA.cjs} +15 -15
- package/dist/{chunk-6EEE76VU.cjs → chunk-UIXWG2IW.cjs} +16 -16
- package/dist/{chunk-2ZYCYLPL.cjs → chunk-YTPEJIAO.cjs} +3 -3
- package/dist/{cloud-tenants-I5HABFNZ.cjs → cloud-tenants-3BEIT4LX.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +13 -13
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/remote-session/remote-session-keep-modals.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-keep-modals.js +1 -1
- package/dist/components/help-center-pages/index.cjs +55 -55
- package/dist/components/index.cjs +20 -20
- package/dist/components/meeting-scheduler/index.cjs +28 -28
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +16 -3
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-OS26UG7Y.cjs → devices-ZCOK24D4.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{knowledge-JD2OFKEL.cjs → knowledge-W47QGTEK.cjs} +3 -3
- package/dist/{logs-KGKNFROP.cjs → logs-3DMPE2TM.cjs} +11 -11
- package/dist/{policies-J2XL6XQK.cjs → policies-UWHW765K.cjs} +7 -7
- package/dist/{remote-session-RHQ2K27H.cjs → remote-session-WVORQV7V.cjs} +4 -4
- package/dist/{scripts-MJONVIWL.cjs → scripts-BH7V2ZC4.cjs} +10 -10
- package/dist/{software-update-VSMTHJR4.cjs → software-update-W6AAGJ2H.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/remote-session/remote-session-keep-modals.tsx +2 -1
- package/src/components/ui/date-picker.tsx +41 -14
|
@@ -8,10 +8,10 @@ var _chunkSTEJZPIOcjs = require('./chunk-STEJZPIO.cjs');
|
|
|
8
8
|
var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
12
12
|
require('./chunk-LJT2KRE2.cjs');
|
|
13
13
|
require('./chunk-RB7VLVMD.cjs');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-MZLWB5AH.cjs');
|
|
15
15
|
require('./chunk-HQQE74RO.cjs');
|
|
16
16
|
require('./chunk-DEY6XXGO.cjs');
|
|
17
17
|
require('./chunk-XVFM6SJA.cjs');
|
|
@@ -1903,7 +1903,7 @@ function KnowledgeScreen(_props) {
|
|
|
1903
1903
|
const cast = _chunkSTEJZPIOcjs.useProductDemoCast.call(void 0, );
|
|
1904
1904
|
const fixture = _react.useMemo.call(void 0, () => buildKnowledgeFixture(cast), [cast]);
|
|
1905
1905
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1906
|
-
|
|
1906
|
+
_chunkL5WSNX4Hcjs.KnowledgeBaseArticleView,
|
|
1907
1907
|
{
|
|
1908
1908
|
...fixture.article,
|
|
1909
1909
|
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZXFOMNI5cjs.SimpleMarkdownRenderer, { content: fixture.content, textSize: "compact" })
|
|
@@ -16,10 +16,10 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
20
20
|
require('./chunk-LJT2KRE2.cjs');
|
|
21
21
|
require('./chunk-RB7VLVMD.cjs');
|
|
22
|
-
require('./chunk-
|
|
22
|
+
require('./chunk-MZLWB5AH.cjs');
|
|
23
23
|
require('./chunk-HQQE74RO.cjs');
|
|
24
24
|
require('./chunk-DEY6XXGO.cjs');
|
|
25
25
|
require('./chunk-XVFM6SJA.cjs');
|
|
@@ -1884,7 +1884,7 @@ function entry(logId, minutesAgo, severity, toolType, device2, summary) {
|
|
|
1884
1884
|
id: logId,
|
|
1885
1885
|
logId,
|
|
1886
1886
|
timestamp: displayTime(_chunkDKOLQPE7cjs.demoMinutesAgo.call(void 0, minutesAgo)),
|
|
1887
|
-
status: { label: severity, variant:
|
|
1887
|
+
status: { label: severity, variant: _chunkL5WSNX4Hcjs.logSeverityVariant.call(void 0, severity) },
|
|
1888
1888
|
source: { name: toolType, toolType },
|
|
1889
1889
|
device: device2,
|
|
1890
1890
|
description: { title: summary }
|
|
@@ -1956,13 +1956,13 @@ var NO_FILTERS = {};
|
|
|
1956
1956
|
var ACTION_COLUMNS = ["copy", "quickView", "open"];
|
|
1957
1957
|
var BESIDE_DRAWER_HIDDEN = [...ACTION_COLUMNS, "tool", "source"];
|
|
1958
1958
|
var logHref = () => "#";
|
|
1959
|
-
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1959
|
+
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.LogCopyIconButton, {});
|
|
1960
1960
|
function LogsScreen({ compact = false }) {
|
|
1961
1961
|
const [dock, setDock] = _react.useState.call(void 0, null);
|
|
1962
1962
|
const selected = LOGS_FIXTURE_SELECTED;
|
|
1963
1963
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full bg-ods-bg", children: [
|
|
1964
1964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-clip", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1965
|
-
|
|
1965
|
+
_chunkL5WSNX4Hcjs.LogsPageView,
|
|
1966
1966
|
{
|
|
1967
1967
|
showHeader: false,
|
|
1968
1968
|
className: "p-[var(--spacing-system-l)]",
|
|
@@ -1970,7 +1970,7 @@ function LogsScreen({ compact = false }) {
|
|
|
1970
1970
|
onSearchChange: noop,
|
|
1971
1971
|
onOpenFilters: noop,
|
|
1972
1972
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1973
|
-
|
|
1973
|
+
_chunkL5WSNX4Hcjs.LogsTableView,
|
|
1974
1974
|
{
|
|
1975
1975
|
logs: LOGS_FIXTURE_ENTRIES,
|
|
1976
1976
|
facets: LOGS_FIXTURE_FACETS,
|
|
@@ -1984,8 +1984,8 @@ function LogsScreen({ compact = false }) {
|
|
|
1984
1984
|
)
|
|
1985
1985
|
}
|
|
1986
1986
|
) }),
|
|
1987
|
-
!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,
|
|
1988
|
-
|
|
1987
|
+
!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, _chunkL5WSNX4Hcjs.AppLayoutDrawerContainerContext.Provider, { value: dock, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1988
|
+
_chunkL5WSNX4Hcjs.LogDrawer,
|
|
1989
1989
|
{
|
|
1990
1990
|
docked: true,
|
|
1991
1991
|
isOpen: true,
|
|
@@ -1997,12 +1997,12 @@ function LogsScreen({ compact = false }) {
|
|
|
1997
1997
|
{ label: "Log ID", value: selected.logId },
|
|
1998
1998
|
{
|
|
1999
1999
|
label: "Source",
|
|
2000
|
-
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2000
|
+
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.ToolBadge, { toolType: _chunkUBPSA3RMcjs.normalizeToolTypeWithFallback.call(void 0, selected.source.toolType) })
|
|
2001
2001
|
},
|
|
2002
|
-
{ label: "Device", value:
|
|
2002
|
+
{ label: "Device", value: _chunkL5WSNX4Hcjs.logSourceLabels.call(void 0, selected.device).deviceName }
|
|
2003
2003
|
],
|
|
2004
2004
|
deviceCard: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2005
|
-
|
|
2005
|
+
_chunkL5WSNX4Hcjs.DeviceCard,
|
|
2006
2006
|
{
|
|
2007
2007
|
...LOGS_FIXTURE_DEVICE,
|
|
2008
2008
|
actions: {
|
|
@@ -10,10 +10,10 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
14
14
|
require('./chunk-LJT2KRE2.cjs');
|
|
15
15
|
require('./chunk-RB7VLVMD.cjs');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-MZLWB5AH.cjs');
|
|
17
17
|
require('./chunk-HQQE74RO.cjs');
|
|
18
18
|
require('./chunk-DEY6XXGO.cjs');
|
|
19
19
|
require('./chunk-XVFM6SJA.cjs');
|
|
@@ -1889,14 +1889,14 @@ var POLICIES = [
|
|
|
1889
1889
|
policy("policy-local-admins", "No local admins", "No everyday account is a local administrator.", false, 0)
|
|
1890
1890
|
];
|
|
1891
1891
|
var POLICIES_FIXTURE = {
|
|
1892
|
-
summary:
|
|
1892
|
+
summary: _chunkL5WSNX4Hcjs.computePolicySummary.call(void 0, POLICIES),
|
|
1893
1893
|
rows: POLICIES.map((item) => ({
|
|
1894
1894
|
id: item.id,
|
|
1895
1895
|
name: item.name,
|
|
1896
1896
|
description: item.description,
|
|
1897
1897
|
critical: item.critical,
|
|
1898
1898
|
severityLabel: item.critical ? "Critical" : "Low",
|
|
1899
|
-
status:
|
|
1899
|
+
status: _chunkL5WSNX4Hcjs.getPolicyTableStatus.call(void 0, item),
|
|
1900
1900
|
actions: [
|
|
1901
1901
|
{ label: "Policy Details", onClick: noop },
|
|
1902
1902
|
{ label: "Delete Policy", onClick: noop }
|
|
@@ -1910,16 +1910,16 @@ var POLICIES_FIXTURE = {
|
|
|
1910
1910
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1911
1911
|
function PoliciesScreen({ compact = false }) {
|
|
1912
1912
|
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
|
-
|
|
1913
|
+
_chunkL5WSNX4Hcjs.PoliciesTable,
|
|
1914
1914
|
{
|
|
1915
1915
|
rows: POLICIES_FIXTURE.rows,
|
|
1916
1916
|
rowAsLink: true,
|
|
1917
|
-
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1917
|
+
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.DataTable.RowCount, {}),
|
|
1918
1918
|
emptyMessage: "No policies found."
|
|
1919
1919
|
}
|
|
1920
1920
|
);
|
|
1921
1921
|
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: [
|
|
1922
|
-
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1922
|
+
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.PolicySummaryCards, { summary: POLICIES_FIXTURE.summary, now: POLICIES_FIXTURE.now }),
|
|
1923
1923
|
table
|
|
1924
1924
|
] });
|
|
1925
1925
|
}
|
|
@@ -11,7 +11,7 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
15
15
|
require('./chunk-A6P6DHEZ.cjs');
|
|
16
16
|
require('./chunk-5QP3K2CE.cjs');
|
|
17
17
|
require('./chunk-LELS4XMX.cjs');
|
|
@@ -1918,7 +1918,7 @@ function TaskbarApp({ icon, active = false }) {
|
|
|
1918
1918
|
);
|
|
1919
1919
|
}
|
|
1920
1920
|
function RemoteDesktopPicture({ desktop }) {
|
|
1921
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `absolute inset-0 flex flex-col overflow-hidden ${
|
|
1921
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `absolute inset-0 flex flex-col overflow-hidden ${_chunkMZLWB5AHcjs.DEVICE_WALLPAPER_CLASS}`, children: [
|
|
1922
1922
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative min-h-0 flex-1", children: [
|
|
1923
1923
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] hidden flex-col gap-[var(--spacing-system-sf)] content-md:flex", children: [
|
|
1924
1924
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesktopShortcut, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYHH5EIOcjs.TrashIcon, { className: "h-5 w-5" }), label: "Recycle Bin" }),
|
|
@@ -1982,7 +1982,7 @@ function RemoteSessionScreen({ compact = false }) {
|
|
|
1982
1982
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col bg-ods-bg", children: [
|
|
1983
1983
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[var(--spacing-system-l)] flex-shrink-0" }),
|
|
1984
1984
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1985
|
-
|
|
1985
|
+
_chunkMZLWB5AHcjs.RemoteDesktopView,
|
|
1986
1986
|
{
|
|
1987
1987
|
...fixture.view,
|
|
1988
1988
|
onEnterFullscreen: noop,
|
|
@@ -1993,7 +1993,7 @@ function RemoteSessionScreen({ compact = false }) {
|
|
|
1993
1993
|
screen: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RemoteDesktopPicture, { desktop: fixture.desktop }),
|
|
1994
1994
|
chat: compact ? null : (
|
|
1995
1995
|
// The side column needs the room of the wide layout; a narrow frame keeps the screen alone.
|
|
1996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden min-h-0 content-md:flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden min-h-0 content-md:flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.RemoteDesktopChatPanel, { ...fixture.chat, sending: false, onSend: keepDraft, variant: "side" }) })
|
|
1997
1997
|
)
|
|
1998
1998
|
}
|
|
1999
1999
|
) })
|
|
@@ -13,12 +13,12 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
17
17
|
require('./chunk-LJT2KRE2.cjs');
|
|
18
18
|
require('./chunk-RB7VLVMD.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
22
22
|
require('./chunk-HQQE74RO.cjs');
|
|
23
23
|
require('./chunk-DEY6XXGO.cjs');
|
|
24
24
|
require('./chunk-XVFM6SJA.cjs');
|
|
@@ -1993,8 +1993,8 @@ function buildScriptsFixture(cast) {
|
|
|
1993
1993
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1994
1994
|
var WIDE_HIDDEN_COLUMNS = ["result", "open"];
|
|
1995
1995
|
var COMPACT_COLUMNS = [
|
|
1996
|
-
{ ...
|
|
1997
|
-
|
|
1996
|
+
{ ..._chunkL5WSNX4Hcjs.EXECUTION_COLUMNS.machineId, width: "flex-1 min-w-0", hideAt: void 0 },
|
|
1997
|
+
_chunkL5WSNX4Hcjs.EXECUTION_COLUMNS.status
|
|
1998
1998
|
];
|
|
1999
1999
|
var COMPACT_ROWS = 4;
|
|
2000
2000
|
var TOKEN_CLASS = {
|
|
@@ -2044,16 +2044,16 @@ function ScriptCodePicture({ script }) {
|
|
|
2044
2044
|
children: [
|
|
2045
2045
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)] border-b border-ods-border p-[var(--spacing-system-m)]", children: [
|
|
2046
2046
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center justify-between gap-[var(--spacing-system-m)]", children: [
|
|
2047
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h4", children: script.name }),
|
|
2048
2048
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)] text-ods-text-primary text-h6", children: [
|
|
2049
2049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTPKKRHUMcjs.TimerIcon, { className: "size-4 text-ods-text-secondary" }),
|
|
2050
2050
|
`${schedule.repeat} ${schedule.time} \xB7 ${schedule.deviceCount} devices`
|
|
2051
2051
|
] })
|
|
2052
2052
|
] }),
|
|
2053
2053
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center justify-between gap-[var(--spacing-system-m)]", children: [
|
|
2054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2054
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: `Written by ${provenance.author} \xB7 approved by ${provenance.approver}` }),
|
|
2055
2055
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2056
|
-
|
|
2056
|
+
_chunkL5WSNX4Hcjs.ScriptShellBadge,
|
|
2057
2057
|
{
|
|
2058
2058
|
value: script.shellType,
|
|
2059
2059
|
className: "shrink-0 text-ods-text-secondary text-h6",
|
|
@@ -2077,7 +2077,7 @@ function ScriptsScreen({ compact = false }) {
|
|
|
2077
2077
|
return (
|
|
2078
2078
|
// Four runs of the card's row height fill the frame; the padding is what is left round them.
|
|
2079
2079
|
/* @__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,
|
|
2080
|
-
|
|
2080
|
+
_chunkL5WSNX4Hcjs.ScriptExecutionsTable,
|
|
2081
2081
|
{
|
|
2082
2082
|
rows: fixture.executions.slice(0, COMPACT_ROWS),
|
|
2083
2083
|
columns: COMPACT_COLUMNS,
|
|
@@ -2087,13 +2087,13 @@ function ScriptsScreen({ compact = false }) {
|
|
|
2087
2087
|
) })
|
|
2088
2088
|
);
|
|
2089
2089
|
}
|
|
2090
|
-
const renderOutput = (row) => row.id === fixture.openExecutionId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2090
|
+
const renderOutput = (row) => row.id === fixture.openExecutionId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.ScriptExecutionResult, { result: row.result, empty: "\u2014" }) : null;
|
|
2091
2091
|
return (
|
|
2092
2092
|
// The frame's tighter padding and no header row: the output opened under a run needs the height.
|
|
2093
2093
|
/* @__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: [
|
|
2094
2094
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[39%] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptCodePicture, { script: fixture.script }) }),
|
|
2095
2095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2096
|
-
|
|
2096
|
+
_chunkL5WSNX4Hcjs.ScriptExecutionsTable,
|
|
2097
2097
|
{
|
|
2098
2098
|
rows: fixture.executions,
|
|
2099
2099
|
hideColumns: WIDE_HIDDEN_COLUMNS,
|
|
@@ -15,12 +15,12 @@ var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
19
19
|
require('./chunk-LJT2KRE2.cjs');
|
|
20
20
|
require('./chunk-RB7VLVMD.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
24
24
|
require('./chunk-HQQE74RO.cjs');
|
|
25
25
|
require('./chunk-DEY6XXGO.cjs');
|
|
26
26
|
require('./chunk-XVFM6SJA.cjs');
|
|
@@ -1918,14 +1918,14 @@ var noop = () => {
|
|
|
1918
1918
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
1919
1919
|
function StaticPackageField({ value }) {
|
|
1920
1920
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1921
|
-
|
|
1921
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
1922
1922
|
{
|
|
1923
|
-
label:
|
|
1923
|
+
label: _chunkL5WSNX4Hcjs.PACKAGE_SEARCH_LABEL,
|
|
1924
1924
|
labelVariant: "large",
|
|
1925
1925
|
options: value ? [{ value: value.id, label: value.name, description: _nullishCoalesce(value.description, () => ( void 0)) }] : [],
|
|
1926
1926
|
value: _nullishCoalesce(_optionalChain([value, 'optionalAccess', _ => _.id]), () => ( null)),
|
|
1927
1927
|
onChange: noop,
|
|
1928
|
-
placeholder:
|
|
1928
|
+
placeholder: _chunkL5WSNX4Hcjs.PACKAGE_SEARCH_PLACEHOLDER
|
|
1929
1929
|
}
|
|
1930
1930
|
);
|
|
1931
1931
|
}
|
|
@@ -1939,7 +1939,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
1939
1939
|
[fixture.devices, fixture.selectedIds]
|
|
1940
1940
|
);
|
|
1941
1941
|
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,
|
|
1942
|
-
|
|
1942
|
+
_chunkL5WSNX4Hcjs.SoftwareActionForm,
|
|
1943
1943
|
{
|
|
1944
1944
|
action: fixture.action,
|
|
1945
1945
|
showHeader: false,
|
|
@@ -1951,7 +1951,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
1951
1951
|
initialValues: fixture.initialValues,
|
|
1952
1952
|
renderPackageSearch,
|
|
1953
1953
|
renderDevicePicker: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1954
|
-
|
|
1954
|
+
_chunkL5WSNX4Hcjs.DeviceSelector,
|
|
1955
1955
|
{
|
|
1956
1956
|
devices: selected,
|
|
1957
1957
|
loading: false,
|
package/package.json
CHANGED
|
@@ -181,7 +181,8 @@ export function ReleaseKeepingModal({
|
|
|
181
181
|
<ModalV2Title>Release Keeping</ModalV2Title>
|
|
182
182
|
</ModalV2Header>
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
{/* break-words: a free-text reason ("Other") can be one long word, which ran past the modal's edge. */}
|
|
185
|
+
<div className="flex w-full flex-col gap-[var(--spacing-system-xsf)] break-words text-ods-text-primary text-h4">
|
|
185
186
|
<p>
|
|
186
187
|
Kept by {keptBy} on {keptOn} for {reason}.
|
|
187
188
|
</p>
|
|
@@ -661,6 +661,20 @@ const timeSelectTriggerStyles = cn(
|
|
|
661
661
|
'text-ods-text-primary',
|
|
662
662
|
);
|
|
663
663
|
|
|
664
|
+
// ============================================================================
|
|
665
|
+
// Popover bounds (shared by every date popover in this file)
|
|
666
|
+
// ============================================================================
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Keeps a date popover inside the window. Radix flips a popover to the other
|
|
670
|
+
* side only when it fits there whole and never shrinks it, so near the bottom
|
|
671
|
+
* of a short window (a list too short to scroll) the lower part, Apply
|
|
672
|
+
* included, ended up below the screen. The content is capped at the space
|
|
673
|
+
* Radix measures and scrolls inside instead.
|
|
674
|
+
*/
|
|
675
|
+
const DATE_POPOVER_COLLISION_PADDING = 16;
|
|
676
|
+
const datePopoverBounds = 'max-h-[var(--radix-popover-content-available-height)]';
|
|
677
|
+
|
|
664
678
|
// ============================================================================
|
|
665
679
|
// DatePicker Component
|
|
666
680
|
// ============================================================================
|
|
@@ -739,12 +753,15 @@ export function DatePicker(props: DatePickerProps) {
|
|
|
739
753
|
<Popover.Content
|
|
740
754
|
className={cn(
|
|
741
755
|
'z-[9999]',
|
|
756
|
+
datePopoverBounds,
|
|
757
|
+
'overflow-y-auto',
|
|
742
758
|
'animate-in fade-in-0 zoom-in-95',
|
|
743
759
|
'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',
|
|
744
760
|
'data-[side=bottom]:slide-in-from-top-2',
|
|
745
761
|
'data-[side=top]:slide-in-from-bottom-2',
|
|
746
762
|
)}
|
|
747
763
|
sideOffset={8}
|
|
764
|
+
collisionPadding={DATE_POPOVER_COLLISION_PADDING}
|
|
748
765
|
align="start"
|
|
749
766
|
>
|
|
750
767
|
<DatePickerCalendar
|
|
@@ -923,12 +940,15 @@ export function DatePickerInput(props: DatePickerInputProps) {
|
|
|
923
940
|
<Popover.Content
|
|
924
941
|
className={cn(
|
|
925
942
|
'z-[9999]',
|
|
943
|
+
datePopoverBounds,
|
|
944
|
+
'overflow-y-auto',
|
|
926
945
|
'animate-in fade-in-0 zoom-in-95',
|
|
927
946
|
'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',
|
|
928
947
|
'data-[side=bottom]:slide-in-from-top-2',
|
|
929
948
|
'data-[side=top]:slide-in-from-bottom-2',
|
|
930
949
|
)}
|
|
931
950
|
sideOffset={8}
|
|
951
|
+
collisionPadding={DATE_POPOVER_COLLISION_PADDING}
|
|
932
952
|
align="start"
|
|
933
953
|
>
|
|
934
954
|
<DatePickerCalendar
|
|
@@ -1150,12 +1170,15 @@ export function DatePickerInputSimple(props: DatePickerInputSimpleProps) {
|
|
|
1150
1170
|
<Popover.Content
|
|
1151
1171
|
className={cn(
|
|
1152
1172
|
'z-[9999]',
|
|
1173
|
+
datePopoverBounds,
|
|
1174
|
+
'overflow-y-auto',
|
|
1153
1175
|
'animate-in fade-in-0 zoom-in-95',
|
|
1154
1176
|
'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',
|
|
1155
1177
|
'data-[side=bottom]:slide-in-from-top-2',
|
|
1156
1178
|
'data-[side=top]:slide-in-from-bottom-2',
|
|
1157
1179
|
)}
|
|
1158
1180
|
sideOffset={8}
|
|
1181
|
+
collisionPadding={DATE_POPOVER_COLLISION_PADDING}
|
|
1159
1182
|
align="start"
|
|
1160
1183
|
>
|
|
1161
1184
|
<DatePickerCalendar
|
|
@@ -1424,6 +1447,7 @@ export function DateFilterMenu({
|
|
|
1424
1447
|
<Popover.Content
|
|
1425
1448
|
className={cn(
|
|
1426
1449
|
'z-[9999] w-80 max-w-[calc(100vw-2rem)]',
|
|
1450
|
+
datePopoverBounds,
|
|
1427
1451
|
'flex flex-col gap-4 rounded-[6px] border border-ods-border bg-ods-bg p-4',
|
|
1428
1452
|
'animate-in fade-in-0 zoom-in-95',
|
|
1429
1453
|
'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',
|
|
@@ -1431,24 +1455,27 @@ export function DateFilterMenu({
|
|
|
1431
1455
|
'data-[side=top]:slide-in-from-bottom-2',
|
|
1432
1456
|
)}
|
|
1433
1457
|
sideOffset={8}
|
|
1458
|
+
collisionPadding={DATE_POPOVER_COLLISION_PADDING}
|
|
1434
1459
|
align={align}
|
|
1435
1460
|
>
|
|
1436
|
-
{/* Sort + calendar (shared panel) */}
|
|
1437
|
-
<
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1461
|
+
{/* Sort + calendar (shared panel). Scrolls when the window is short, so the actions stay on screen. */}
|
|
1462
|
+
<div className="min-h-0 overflow-y-auto">
|
|
1463
|
+
<DateFilterPanel
|
|
1464
|
+
mode={mode}
|
|
1465
|
+
sort={draftSort}
|
|
1466
|
+
onSortChange={setDraftSort}
|
|
1467
|
+
selected={draftSelected}
|
|
1468
|
+
onSelect={setDraftSelected}
|
|
1469
|
+
fromDate={fromDate}
|
|
1470
|
+
toDate={toDate}
|
|
1471
|
+
locale={locale}
|
|
1472
|
+
ascLabel={ascLabel}
|
|
1473
|
+
descLabel={descLabel}
|
|
1474
|
+
/>
|
|
1475
|
+
</div>
|
|
1449
1476
|
|
|
1450
1477
|
{/* Actions */}
|
|
1451
|
-
<div className="flex w-full items-stretch gap-4">
|
|
1478
|
+
<div className="flex w-full shrink-0 items-stretch gap-4">
|
|
1452
1479
|
<Button type="button" variant="outline" fullWidth onClick={hasChanges ? handleReset : handleClose}>
|
|
1453
1480
|
{hasChanges ? 'Reset' : 'Close'}
|
|
1454
1481
|
</Button>
|