@flamingo-stack/openframe-frontend-core 0.0.762 → 0.0.764
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/build/export-map.json +1 -1
- package/dist/{chunk-J4P47JHM.cjs → chunk-3FC6AKEJ.cjs} +7 -7
- package/dist/{chunk-CZ3OVWUL.cjs → chunk-5AV5R5RC.cjs} +6 -6
- package/dist/{chunk-TQPQKBBL.cjs → chunk-74ALTXXC.cjs} +34 -34
- package/dist/{chunk-DZ6BYXQF.cjs → chunk-7GUWPGB4.cjs} +9 -9
- package/dist/{chunk-PE26VSWT.cjs → chunk-BIA77I6B.cjs} +8 -2
- package/dist/{chunk-3WPWUUFU.cjs → chunk-FQWBIKF4.cjs} +17 -17
- package/dist/{chunk-NSR7K57R.cjs → chunk-IDGOMHTC.cjs} +43 -43
- package/dist/{chunk-PFXR3RF3.cjs → chunk-JD7CL2I6.cjs} +4 -4
- package/dist/{chunk-N52HFJTK.cjs → chunk-JJ2S6C5U.cjs} +36 -36
- package/dist/{chunk-AXGTRPF6.cjs → chunk-L2V7K7RR.cjs} +11 -11
- package/dist/{chunk-TGVV7STM.cjs → chunk-LNGR4DXA.cjs} +10 -10
- package/dist/{chunk-QCO32MEE.cjs → chunk-NJS7FQRW.cjs} +4 -4
- package/dist/{chunk-4NGXJA3V.cjs → chunk-PERN37KO.cjs} +4 -4
- package/dist/{chunk-DYJWZIPU.cjs → chunk-RYSNH2VY.cjs} +72 -72
- package/dist/{chunk-CEJDHCFZ.cjs → chunk-T5FRANE6.cjs} +21 -21
- package/dist/{chunk-72XMAKDA.cjs → chunk-VL6IXTAI.cjs} +174 -144
- package/dist/{chunk-TWAHPTWW.cjs → chunk-XFNWHCRM.cjs} +3 -3
- package/dist/{chunk-E4LA4BEH.cjs → chunk-ZCU2PYCW.cjs} +9 -9
- package/dist/{chunk-4VAMNI27.cjs → chunk-ZG6F5A3A.cjs} +27 -27
- package/dist/{cloud-tenants-M5SIL6QZ.cjs → cloud-tenants-N5CLYDPU.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +8 -6
- package/dist/components/features/walkthrough-video.d.ts +7 -0
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +9 -1
- package/dist/components/help-center-pages/index.cjs +58 -58
- package/dist/components/index.cjs +43 -39
- package/dist/components/meeting-scheduler/index.cjs +24 -24
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +2 -2
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +3 -2
- package/dist/components/ui/index.cjs +8 -6
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/super-user-banner-view.d.ts +24 -0
- package/dist/components/ui/super-user-banner-view.d.ts.map +1 -0
- package/dist/components/ui/super-user-banner-view.js +28 -0
- package/dist/{devices-TZY7RF7M.cjs → devices-557PMFDC.cjs} +7 -7
- package/dist/{embeddable-chat-HWQSP3DY.cjs → embeddable-chat-YFUCVDMV.cjs} +69 -69
- package/dist/index.cjs +14 -10
- package/dist/{knowledge-UKC2BLQP.cjs → knowledge-4JTOUDAR.cjs} +7 -7
- package/dist/{logs-MFVTQ5NN.cjs → logs-7YWAOPZ2.cjs} +14 -14
- package/dist/{policies-BETELENB.cjs → policies-W5JEPQTA.cjs} +10 -10
- package/dist/{scripts-XDT3ZAXU.cjs → scripts-FY5IPOIM.cjs} +11 -11
- package/dist/{software-update-EW5X7R2X.cjs → software-update-5BOGZOHG.cjs} +9 -9
- package/dist/{tickets-board-4PBXPSGJ.cjs → tickets-board-DXMF7IKL.cjs} +7 -7
- package/dist/utils/date-utils.d.ts +7 -2
- package/dist/utils/date-utils.d.ts.map +1 -1
- package/dist/utils/date-utils.js +8 -3
- package/dist/utils/index.cjs +7 -2
- package/package.json +1 -1
- package/src/components/features/walkthrough-video.tsx +17 -0
- package/src/components/ui/date-picker.tsx +6 -3
- package/src/components/ui/device-card.tsx +5 -6
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/super-user-banner-view.tsx +52 -0
- package/src/utils/date-utils.ts +17 -8
|
@@ -6,7 +6,7 @@ var _chunkXCH7SPGIcjs = require('./chunk-XCH7SPGI.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkT5FRANE6cjs = require('./chunk-T5FRANE6.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -166,31 +166,31 @@ CveLink.displayName = "CveLink";
|
|
|
166
166
|
// src/components/platform/ShellTypeBadge.tsx
|
|
167
167
|
|
|
168
168
|
var shellIconMap = {
|
|
169
|
-
[
|
|
169
|
+
[_chunkT5FRANE6cjs.ShellTypeValues.POWERSHELL]: {
|
|
170
170
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
171
171
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
172
172
|
},
|
|
173
|
-
[
|
|
173
|
+
[_chunkT5FRANE6cjs.ShellTypeValues.CMD]: {
|
|
174
174
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
175
175
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
176
176
|
},
|
|
177
|
-
[
|
|
177
|
+
[_chunkT5FRANE6cjs.ShellTypeValues.BASH]: {
|
|
178
178
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
179
179
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
180
180
|
},
|
|
181
|
-
[
|
|
181
|
+
[_chunkT5FRANE6cjs.ShellTypeValues.PYTHON]: {
|
|
182
182
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
183
183
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
184
184
|
},
|
|
185
|
-
[
|
|
185
|
+
[_chunkT5FRANE6cjs.ShellTypeValues.NUSHELL]: {
|
|
186
186
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
187
187
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
188
188
|
},
|
|
189
|
-
[
|
|
189
|
+
[_chunkT5FRANE6cjs.ShellTypeValues.DENO]: {
|
|
190
190
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
191
191
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
192
192
|
},
|
|
193
|
-
[
|
|
193
|
+
[_chunkT5FRANE6cjs.ShellTypeValues.SHELL]: {
|
|
194
194
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
195
195
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
196
196
|
}
|
|
@@ -201,7 +201,7 @@ var defaultIconConfig = {
|
|
|
201
201
|
};
|
|
202
202
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
203
203
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
204
|
-
const label =
|
|
204
|
+
const label = _chunkT5FRANE6cjs.getShellLabel.call(void 0, normalizedType);
|
|
205
205
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
206
206
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
207
207
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -217,7 +217,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
217
217
|
if (!platforms || platforms.length === 0) {
|
|
218
218
|
return "All Platforms";
|
|
219
219
|
}
|
|
220
|
-
return platforms.map((platform) =>
|
|
220
|
+
return platforms.map((platform) => _chunkT5FRANE6cjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
221
221
|
}
|
|
222
222
|
function InfoCell({ label, value, avatar, className }) {
|
|
223
223
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -237,7 +237,7 @@ var ScriptInfoSection = ({
|
|
|
237
237
|
author,
|
|
238
238
|
className
|
|
239
239
|
}) => {
|
|
240
|
-
const shellLabel =
|
|
240
|
+
const shellLabel = _chunkT5FRANE6cjs.getShellLabel.call(void 0, shellType);
|
|
241
241
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
242
242
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
243
243
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -5,7 +5,7 @@ var _chunkTSJUL6IHcjs = require('./chunk-TSJUL6IH.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk3FC6AKEJcjs = require('./chunk-3FC6AKEJ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,13 +15,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkVL6IXTAIcjs = require('./chunk-VL6IXTAI.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkT5FRANE6cjs = require('./chunk-T5FRANE6.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -95,7 +95,7 @@ function PageDataSyncProvider({ children }) {
|
|
|
95
95
|
function PageDataSyncRow({ inline = false }) {
|
|
96
96
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
97
97
|
if (!context) return null;
|
|
98
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, inline });
|
|
99
99
|
}
|
|
100
100
|
function usePageDataSync(sync, loading) {
|
|
101
101
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
@@ -113,7 +113,7 @@ function usePageDataSync(sync, loading) {
|
|
|
113
113
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
114
114
|
|
|
115
115
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
116
|
-
const section =
|
|
116
|
+
const section = _chunkT5FRANE6cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
117
117
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
118
118
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
119
119
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -155,7 +155,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
155
155
|
preControls,
|
|
156
156
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
157
157
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
158
|
-
|
|
158
|
+
_chunkVL6IXTAIcjs.SearchInput,
|
|
159
159
|
{
|
|
160
160
|
showDropdown: false,
|
|
161
161
|
placeholder: search.placeholder,
|
|
@@ -165,7 +165,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
165
165
|
}
|
|
166
166
|
),
|
|
167
167
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
168
|
-
|
|
168
|
+
_chunkVL6IXTAIcjs.StatusFilterComponent,
|
|
169
169
|
{
|
|
170
170
|
selectedStatus: currentFilterValue,
|
|
171
171
|
onStatusChange: handleFilterChange,
|
|
@@ -190,7 +190,7 @@ function DevSectionPage({
|
|
|
190
190
|
shell = true
|
|
191
191
|
}) {
|
|
192
192
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
193
|
-
const section =
|
|
193
|
+
const section = _chunkT5FRANE6cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
194
194
|
const backCfg = backButton === false ? void 0 : {
|
|
195
195
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
196
196
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -212,12 +212,12 @@ function DevSectionPage({
|
|
|
212
212
|
backButton: backCfg,
|
|
213
213
|
children: [
|
|
214
214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
215
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
215
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3FC6AKEJcjs.FaqSection, { ..._chunk3FC6AKEJcjs.pageFaqProps.call(void 0, faq) })
|
|
216
216
|
]
|
|
217
217
|
}
|
|
218
218
|
)
|
|
219
219
|
);
|
|
220
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
220
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkT5FRANE6cjs = require('./chunk-T5FRANE6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk74ALTXXCcjs = require('./chunk-74ALTXXC.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -50,7 +50,7 @@ function HorizontalSectionNav({
|
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
|
|
51
51
|
brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
|
|
52
52
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
53
|
-
|
|
53
|
+
_chunk74ALTXXCcjs.ScrollShadow,
|
|
54
54
|
{
|
|
55
55
|
axis: "horizontal",
|
|
56
56
|
className: "min-w-0 flex-1",
|
|
@@ -335,7 +335,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
335
335
|
// src/components/navigation/multi-level-navigation.tsx
|
|
336
336
|
var _lucidereact = require('lucide-react');
|
|
337
337
|
|
|
338
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
338
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkT5FRANE6cjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
339
339
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
340
340
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
341
341
|
if (selectedPath === node.path) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkT5FRANE6cjs = require('./chunk-T5FRANE6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk74ALTXXCcjs = require('./chunk-74ALTXXC.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunk74ALTXXCcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkT5FRANE6cjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|