@flamingo-stack/openframe-frontend-core 0.0.313 → 0.0.314-snapshot.20260624043952
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-SQQXCVZZ.cjs → chunk-2JPSWDSM.cjs} +77 -58
- package/dist/chunk-2JPSWDSM.cjs.map +1 -0
- package/dist/{chunk-SPFGSUNE.js → chunk-2MLMZAK4.js} +3 -3
- package/dist/{chunk-6FZD5KFP.js → chunk-47JZOP7Y.js} +3 -3
- package/dist/{chunk-OZYAAJHM.js → chunk-4D37W55K.js} +5 -5
- package/dist/{chunk-G56GYN7Z.cjs → chunk-5ATH263N.cjs} +4 -1
- package/dist/chunk-5ATH263N.cjs.map +1 -0
- package/dist/{chunk-YI2ACYRX.js → chunk-6W54MBU2.js} +2 -2
- package/dist/{chunk-66JU4VP2.js → chunk-7U4YFQX2.js} +27 -8
- package/dist/{chunk-66JU4VP2.js.map → chunk-7U4YFQX2.js.map} +1 -1
- package/dist/{chunk-DDLJTRF4.cjs → chunk-A2H6TFS4.cjs} +29 -29
- package/dist/{chunk-DDLJTRF4.cjs.map → chunk-A2H6TFS4.cjs.map} +1 -1
- package/dist/{chunk-YSMKPNYZ.cjs → chunk-BSAFGQVW.cjs} +7 -7
- package/dist/{chunk-YSMKPNYZ.cjs.map → chunk-BSAFGQVW.cjs.map} +1 -1
- package/dist/{chunk-JQ2EYXWR.js → chunk-E4CQ4RUG.js} +4 -1
- package/dist/chunk-E4CQ4RUG.js.map +1 -0
- package/dist/{chunk-DE2BQKQV.cjs → chunk-HATCNFQL.cjs} +12 -12
- package/dist/{chunk-DE2BQKQV.cjs.map → chunk-HATCNFQL.cjs.map} +1 -1
- package/dist/{chunk-FXTT7K3A.js → chunk-MOOV4ORG.js} +3 -3
- package/dist/{chunk-REHUG3RH.cjs → chunk-OSEKWT6X.cjs} +19 -19
- package/dist/{chunk-REHUG3RH.cjs.map → chunk-OSEKWT6X.cjs.map} +1 -1
- package/dist/{chunk-XHGE5XBH.cjs → chunk-QW6OL4NY.cjs} +5 -5
- package/dist/{chunk-XHGE5XBH.cjs.map → chunk-QW6OL4NY.cjs.map} +1 -1
- package/dist/{chunk-E6BHNYTA.js → chunk-TK6OABYF.js} +4 -4
- package/dist/{chunk-BFNTSETG.cjs → chunk-TQ7CMFSY.cjs} +14 -14
- package/dist/{chunk-BFNTSETG.cjs.map → chunk-TQ7CMFSY.cjs.map} +1 -1
- package/dist/{chunk-JQLC2FVM.js → chunk-TRSDXD23.js} +2 -2
- package/dist/{chunk-GHK2FCIM.cjs → chunk-TVNILN2F.cjs} +40 -40
- package/dist/{chunk-GHK2FCIM.cjs.map → chunk-TVNILN2F.cjs.map} +1 -1
- package/dist/{chunk-BVDHLEP2.js → chunk-VFIWQGJZ.js} +2 -2
- package/dist/{chunk-RM3M3SZ6.js → chunk-VY5YF4B7.js} +2 -2
- package/dist/{chunk-BFSKFC6S.cjs → chunk-WFHNXCI3.cjs} +38 -38
- package/dist/{chunk-BFSKFC6S.cjs.map → chunk-WFHNXCI3.cjs.map} +1 -1
- package/dist/{chunk-2ZHDP22R.cjs → chunk-ZPK5HW7B.cjs} +3 -3
- package/dist/{chunk-2ZHDP22R.cjs.map → chunk-ZPK5HW7B.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/features/push-button-selector.d.ts +1 -0
- package/dist/components/features/push-button-selector.d.ts.map +1 -1
- package/dist/components/index.cjs +190 -188
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +12 -10
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +10 -0
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +29 -29
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/help-center-list.d.ts +5 -1
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +84 -73
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +21 -10
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/tool-icon.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +5 -3
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +4 -2
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/tool.types.d.ts +1 -0
- package/dist/types/tool.types.d.ts.map +1 -1
- package/dist/utils/index.cjs +11 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +11 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/tool-utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/features/push-button-selector.tsx +21 -3
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +12 -1
- package/src/components/tickets/help-center-list.tsx +16 -4
- package/src/components/tool-icon.tsx +1 -0
- package/src/types/tool.types.ts +2 -0
- package/src/utils/tool-utils.ts +11 -0
- package/dist/chunk-G56GYN7Z.cjs.map +0 -1
- package/dist/chunk-JQ2EYXWR.js.map +0 -1
- package/dist/chunk-SQQXCVZZ.cjs.map +0 -1
- /package/dist/{chunk-SPFGSUNE.js.map → chunk-2MLMZAK4.js.map} +0 -0
- /package/dist/{chunk-6FZD5KFP.js.map → chunk-47JZOP7Y.js.map} +0 -0
- /package/dist/{chunk-OZYAAJHM.js.map → chunk-4D37W55K.js.map} +0 -0
- /package/dist/{chunk-YI2ACYRX.js.map → chunk-6W54MBU2.js.map} +0 -0
- /package/dist/{chunk-FXTT7K3A.js.map → chunk-MOOV4ORG.js.map} +0 -0
- /package/dist/{chunk-E6BHNYTA.js.map → chunk-TK6OABYF.js.map} +0 -0
- /package/dist/{chunk-JQLC2FVM.js.map → chunk-TRSDXD23.js.map} +0 -0
- /package/dist/{chunk-BVDHLEP2.js.map → chunk-VFIWQGJZ.js.map} +0 -0
- /package/dist/{chunk-RM3M3SZ6.js.map → chunk-VY5YF4B7.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
formatFileSize,
|
|
5
5
|
toGoogleSheetsEmbedUrl,
|
|
6
6
|
toGoogleSheetsOriginalUrl
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7U4YFQX2.js";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
10
|
} from "./chunk-JALO4TAZ.js";
|
|
@@ -141,4 +141,4 @@ export {
|
|
|
141
141
|
GoogleSheetsViewer,
|
|
142
142
|
FileDownloadCard
|
|
143
143
|
};
|
|
144
|
-
//# sourceMappingURL=chunk-
|
|
144
|
+
//# sourceMappingURL=chunk-6W54MBU2.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
useOgPlaceholderUrl,
|
|
26
26
|
useOnboardingState,
|
|
27
27
|
useToast
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-E4CQ4RUG.js";
|
|
29
29
|
import {
|
|
30
30
|
useChatRuntime,
|
|
31
31
|
useRequiredChatRuntime
|
|
@@ -18897,6 +18897,7 @@ function EntityImage({ src, alt, fallbackText, className }) {
|
|
|
18897
18897
|
|
|
18898
18898
|
// src/components/layout/title-block.tsx
|
|
18899
18899
|
import { jsx as jsx139, jsxs as jsxs111 } from "react/jsx-runtime";
|
|
18900
|
+
var TITLE_BLOCK_MIN_HEIGHT = "min-h-11 md:min-h-12";
|
|
18900
18901
|
function TitleBlock({
|
|
18901
18902
|
title,
|
|
18902
18903
|
subtitle,
|
|
@@ -18928,7 +18929,7 @@ function TitleBlock({
|
|
|
18928
18929
|
className
|
|
18929
18930
|
),
|
|
18930
18931
|
children: [
|
|
18931
|
-
/* @__PURE__ */ jsxs111("div", { className: "flex flex-col gap-[var(--spacing-system-xs)] flex-1 min-w-0", children: [
|
|
18932
|
+
/* @__PURE__ */ jsxs111("div", { className: cn("flex flex-col justify-center gap-[var(--spacing-system-xs)] flex-1 min-w-0", TITLE_BLOCK_MIN_HEIGHT), children: [
|
|
18932
18933
|
backButton && /* @__PURE__ */ jsx139(
|
|
18933
18934
|
BackButton,
|
|
18934
18935
|
{
|
|
@@ -19531,6 +19532,16 @@ var toolAliasMap = {
|
|
|
19531
19532
|
"openframe_client": "OPENFRAME_CLIENT",
|
|
19532
19533
|
"openframe-client": "OPENFRAME_CLIENT",
|
|
19533
19534
|
"openframeclient": "OPENFRAME_CLIENT",
|
|
19535
|
+
// OpenFrame RMM
|
|
19536
|
+
"RMM": "OPENFRAME_RMM",
|
|
19537
|
+
"rmm": "OPENFRAME_RMM",
|
|
19538
|
+
"OPENFRAME_RMM": "OPENFRAME_RMM",
|
|
19539
|
+
"OPENFRAME-RMM": "OPENFRAME_RMM",
|
|
19540
|
+
"OPENFRAMERMM": "OPENFRAME_RMM",
|
|
19541
|
+
"openframe_rmm": "OPENFRAME_RMM",
|
|
19542
|
+
"openframe-rmm": "OPENFRAME_RMM",
|
|
19543
|
+
"openframermm": "OPENFRAME_RMM",
|
|
19544
|
+
"openframe-rmm-agent": "OPENFRAME_RMM",
|
|
19534
19545
|
// OSQUERY
|
|
19535
19546
|
"OSQUERY": "OSQUERY",
|
|
19536
19547
|
// System
|
|
@@ -24853,14 +24864,14 @@ function PushButtonSelector({
|
|
|
24853
24864
|
const getSelectedOptions = () => options.filter((option) => validSelectedIds.includes(option.id));
|
|
24854
24865
|
const renderOption = (option) => {
|
|
24855
24866
|
const isSelected = validSelectedIds.includes(option.id);
|
|
24856
|
-
|
|
24867
|
+
const optionEl = /* @__PURE__ */ jsx186(
|
|
24857
24868
|
"div",
|
|
24858
24869
|
{
|
|
24859
24870
|
className: `
|
|
24860
24871
|
p-4 rounded-lg border transition-all duration-200 group
|
|
24861
|
-
${option.disabled ? "cursor-not-allowed opacity-40 bg-ods-card border-ods-border
|
|
24872
|
+
${option.disabled ? `${isSelected ? "cursor-pointer" : "cursor-not-allowed"} opacity-40 bg-ods-card border-ods-border` : isSelected ? "cursor-pointer bg-ods-bg-secondary border-ods-accent shadow-sm" : "cursor-pointer bg-ods-bg-primary border-ods-border hover:border-ods-border-hover hover:bg-ods-bg-hover"}
|
|
24862
24873
|
`,
|
|
24863
|
-
onClick: () => !option.disabled && toggleSelection(option.id),
|
|
24874
|
+
onClick: () => (!option.disabled || isSelected) && toggleSelection(option.id),
|
|
24864
24875
|
children: /* @__PURE__ */ jsxs145("div", { className: "flex items-center justify-between gap-4", children: [
|
|
24865
24876
|
/* @__PURE__ */ jsxs145("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
|
|
24866
24877
|
option.icon && /* @__PURE__ */ jsx186("div", { className: `flex-shrink-0 transition-transform duration-200 ${isSelected ? "scale-110" : "group-hover:scale-105"}`, children: option.icon }),
|
|
@@ -24877,6 +24888,13 @@ function PushButtonSelector({
|
|
|
24877
24888
|
},
|
|
24878
24889
|
option.id
|
|
24879
24890
|
);
|
|
24891
|
+
if (option.disabled && option.disabledReason) {
|
|
24892
|
+
return /* @__PURE__ */ jsxs145(Tooltip, { children: [
|
|
24893
|
+
/* @__PURE__ */ jsx186(TooltipTrigger, { asChild: true, children: optionEl }),
|
|
24894
|
+
/* @__PURE__ */ jsx186(TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
24895
|
+
] }, option.id);
|
|
24896
|
+
}
|
|
24897
|
+
return optionEl;
|
|
24880
24898
|
};
|
|
24881
24899
|
const renderOptionsContent = () => {
|
|
24882
24900
|
if (!sections || sections.length === 0) {
|
|
@@ -24910,7 +24928,7 @@ function PushButtonSelector({
|
|
|
24910
24928
|
ungroupedOptions.length > 0 && /* @__PURE__ */ jsx186("div", { className: "space-y-2", children: ungroupedOptions.map(renderOption) })
|
|
24911
24929
|
] });
|
|
24912
24930
|
};
|
|
24913
|
-
return /* @__PURE__ */ jsxs145("div", { className: `space-y-4 ${className}`, children: [
|
|
24931
|
+
return /* @__PURE__ */ jsx186(TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ jsxs145("div", { className: `space-y-4 ${className}`, children: [
|
|
24914
24932
|
title && /* @__PURE__ */ jsx186("h3", { className: "text-h5 text-ods-text-primary", children: title }),
|
|
24915
24933
|
renderOptionsContent(),
|
|
24916
24934
|
selectionSummary && validSelectedIds.length > 0 && /* @__PURE__ */ jsxs145("div", { className: "p-4 bg-ods-attention-green-success-secondary border border-ods-attention-green-success/30 rounded-lg", children: [
|
|
@@ -24934,7 +24952,7 @@ function PushButtonSelector({
|
|
|
24934
24952
|
] }),
|
|
24935
24953
|
helpText && /* @__PURE__ */ jsx186("div", { className: "text-[12px] text-ods-text-secondary font-['DM_Sans']", children: helpText }),
|
|
24936
24954
|
validSelectedIds.length === 0 && title && !optional && /* @__PURE__ */ jsx186("div", { className: "p-3 bg-ods-attention-red-error-secondary border border-ods-attention-red-error/30 rounded-lg", children: /* @__PURE__ */ jsx186("div", { className: "font-['DM_Sans'] text-[12px] text-ods-attention-red-error", children: "\u26A0\uFE0F Please select at least one option" }) })
|
|
24937
|
-
] });
|
|
24955
|
+
] }) });
|
|
24938
24956
|
}
|
|
24939
24957
|
|
|
24940
24958
|
// src/components/features/release-media-manager.tsx
|
|
@@ -48694,6 +48712,7 @@ export {
|
|
|
48694
48712
|
ContentPageContainer,
|
|
48695
48713
|
ListPageLayout,
|
|
48696
48714
|
EntityImage,
|
|
48715
|
+
TITLE_BLOCK_MIN_HEIGHT,
|
|
48697
48716
|
TitleBlock,
|
|
48698
48717
|
PageLayout,
|
|
48699
48718
|
PageShell,
|
|
@@ -49065,4 +49084,4 @@ export {
|
|
|
49065
49084
|
LogsList,
|
|
49066
49085
|
assets
|
|
49067
49086
|
};
|
|
49068
|
-
//# sourceMappingURL=chunk-
|
|
49087
|
+
//# sourceMappingURL=chunk-7U4YFQX2.js.map
|