@flamingo-stack/openframe-frontend-core 0.0.818 → 0.0.820
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-VGZXB3SY.cjs → chunk-2TEUAOUZ.cjs} +3 -3
- package/dist/{chunk-NWIEZUM7.cjs → chunk-42K7MLVS.cjs} +19 -19
- package/dist/{chunk-5AIOYEXW.cjs → chunk-5GUQBNQF.cjs} +47 -47
- package/dist/{chunk-JTBJB4JF.cjs → chunk-7X7PHALX.cjs} +9 -9
- package/dist/{chunk-YHPUD4PM.cjs → chunk-ADBZCDFX.cjs} +11 -11
- package/dist/{chunk-YMPPE322.cjs → chunk-BHJDQYUN.cjs} +107 -107
- package/dist/{chunk-DGAX5WG2.cjs → chunk-CJ7VHMPD.cjs} +2 -2
- package/dist/{chunk-DL4HWYIB.cjs → chunk-DLQCSJTY.cjs} +3 -3
- package/dist/{chunk-AE22KOW3.cjs → chunk-IJ3C4WL5.cjs} +53 -53
- package/dist/{chunk-BD42NMCT.cjs → chunk-JQ3JZLYS.cjs} +4 -4
- package/dist/{chunk-6QT5K5I5.cjs → chunk-L55EVW33.cjs} +6 -6
- package/dist/{chunk-5VRSUEC5.cjs → chunk-MOPDE3OA.cjs} +10 -10
- package/dist/{chunk-U2THWP25.cjs → chunk-NSN3O47K.cjs} +32 -32
- package/dist/{chunk-IQCHV7Z2.cjs → chunk-OTGYA5F7.cjs} +21 -3
- package/dist/{chunk-ZWAVMZIF.cjs → chunk-STFOH6QU.cjs} +7 -7
- package/dist/{chunk-VRXDTRIY.cjs → chunk-TVOAFYT7.cjs} +39 -39
- package/dist/{chunk-NEXMK6OP.cjs → chunk-TYDSD3FV.cjs} +4 -4
- package/dist/{chunk-4XASD2TL.cjs → chunk-YAY7Z42C.cjs} +16 -16
- package/dist/{cloud-tenants-V6EV4OGK.cjs → cloud-tenants-ENCHNOF2.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +5 -6
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/remark-strip-citations.d.ts +1 -1
- package/dist/components/chat/remark-strip-citations.d.ts.map +1 -1
- package/dist/components/chat/remark-strip-citations.js +8 -2
- package/dist/components/chat/utils/cited-sources.d.ts +9 -0
- package/dist/components/chat/utils/cited-sources.d.ts.map +1 -1
- package/dist/components/chat/utils/cited-sources.js +41 -0
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +61 -61
- package/dist/components/index.cjs +37 -37
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/{devices-6KZAJAAS.cjs → devices-HRLHG4TR.cjs} +5 -5
- package/dist/{embeddable-chat-5IHA5SUZ.cjs → embeddable-chat-ARMXVLUP.cjs} +107 -67
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-I7FDQQYJ.cjs → knowledge-S2L5ZCAU.cjs} +5 -5
- package/dist/{logs-Q7PAVJUG.cjs → logs-UYQZSFS4.cjs} +12 -12
- package/dist/{policies-C3DW5CHS.cjs → policies-SMA4MW6L.cjs} +8 -8
- package/dist/{scripts-BET663HD.cjs → scripts-TZNXTFRR.cjs} +9 -9
- package/dist/{software-update-W7ZQXEPK.cjs → software-update-YHDVBC7V.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +7 -8
- package/src/components/chat/remark-strip-citations.ts +14 -3
- package/src/components/chat/utils/cited-sources.ts +61 -0
|
@@ -6,7 +6,7 @@ var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -172,31 +172,31 @@ CveLink.displayName = "CveLink";
|
|
|
172
172
|
// src/components/platform/ShellTypeBadge.tsx
|
|
173
173
|
|
|
174
174
|
var shellIconMap = {
|
|
175
|
-
[
|
|
175
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.POWERSHELL]: {
|
|
176
176
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
177
177
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
178
178
|
},
|
|
179
|
-
[
|
|
179
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.CMD]: {
|
|
180
180
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
181
181
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
182
182
|
},
|
|
183
|
-
[
|
|
183
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.BASH]: {
|
|
184
184
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
185
185
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
186
186
|
},
|
|
187
|
-
[
|
|
187
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.PYTHON]: {
|
|
188
188
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
189
189
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
190
190
|
},
|
|
191
|
-
[
|
|
191
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.NUSHELL]: {
|
|
192
192
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
193
193
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
194
194
|
},
|
|
195
|
-
[
|
|
195
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.DENO]: {
|
|
196
196
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
197
197
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
198
198
|
},
|
|
199
|
-
[
|
|
199
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.SHELL]: {
|
|
200
200
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
201
201
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
202
202
|
}
|
|
@@ -207,7 +207,7 @@ var defaultIconConfig = {
|
|
|
207
207
|
};
|
|
208
208
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
209
209
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
210
|
-
const label =
|
|
210
|
+
const label = _chunkYAY7Z42Ccjs.getShellLabel.call(void 0, normalizedType);
|
|
211
211
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
212
212
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
213
213
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -223,7 +223,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
223
223
|
if (!platforms || platforms.length === 0) {
|
|
224
224
|
return "All Platforms";
|
|
225
225
|
}
|
|
226
|
-
return platforms.map((platform) =>
|
|
226
|
+
return platforms.map((platform) => _chunkYAY7Z42Ccjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
227
227
|
}
|
|
228
228
|
function InfoCell({ label, value, avatar, className }) {
|
|
229
229
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -253,7 +253,7 @@ var ScriptInfoSection = ({
|
|
|
253
253
|
author,
|
|
254
254
|
className
|
|
255
255
|
}) => {
|
|
256
|
-
const shellLabel =
|
|
256
|
+
const shellLabel = _chunkYAY7Z42Ccjs.getShellLabel.call(void 0, shellType);
|
|
257
257
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
258
258
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
259
259
|
/* @__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: [
|