@flamingo-stack/openframe-frontend-core 0.0.725 → 0.0.727
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-F56GNKX2.js → chunk-33AFAVBF.js} +2 -2
- package/dist/{chunk-7V5KFBY2.cjs → chunk-3D2SCG2E.cjs} +16 -16
- package/dist/{chunk-B7234BE2.cjs → chunk-3N3QA47Y.cjs} +11 -11
- package/dist/{chunk-OBMWSUBK.js → chunk-3Q7ZNY4B.js} +5 -5
- package/dist/{chunk-JVHP7Y4S.js → chunk-4FQ5ZICE.js} +2 -2
- package/dist/{chunk-AI3CLDZO.cjs → chunk-AM2RHT3H.cjs} +280 -280
- package/dist/{chunk-PUADVXJD.js → chunk-AU4WWLFP.js} +1 -1
- package/dist/{chunk-RU6BTELI.cjs → chunk-BKTV3VOD.cjs} +533 -488
- package/dist/{chunk-2VOZ37BL.cjs → chunk-BMOEUIFI.cjs} +35 -35
- package/dist/{chunk-IOTAUWWF.js → chunk-C6Y22J32.js} +1 -1
- package/dist/{chunk-ZSXZE4FJ.cjs → chunk-CGL3TJ2A.cjs} +3 -3
- package/dist/{chunk-MLFS5G3V.js → chunk-CIAAU44V.js} +307 -262
- package/dist/{chunk-4ZZ4TNCY.cjs → chunk-CNBGSWLN.cjs} +9 -9
- package/dist/{chunk-AX4F35C2.js → chunk-FIKAJKPE.js} +1 -1
- package/dist/{chunk-SEVKFMKR.cjs → chunk-FLCYWEEB.cjs} +3 -3
- package/dist/{chunk-ASHRHL4W.js → chunk-GKJFSE72.js} +5 -5
- package/dist/{chunk-ASIXPRHV.js → chunk-HVMH67Z7.js} +3 -3
- package/dist/{chunk-F77J34W2.js → chunk-J274GOBJ.js} +1 -1
- package/dist/{chunk-LYQYLPPV.cjs → chunk-MAGVU2HZ.cjs} +26 -26
- package/dist/{chunk-QV4GO3GW.cjs → chunk-MGVT5RT6.cjs} +29 -56
- package/dist/{chunk-W2DXHR2R.js → chunk-N27CSEDR.js} +1 -1
- package/dist/{chunk-YPEILGVZ.cjs → chunk-N2PHC6RX.cjs} +3 -3
- package/dist/{chunk-5FVWDDX6.js → chunk-NQRFGXDG.js} +2 -2
- package/dist/{chunk-772242QR.cjs → chunk-QJVG5V46.cjs} +65 -65
- package/dist/{chunk-LR6DJY4Z.cjs → chunk-RZFTEUV4.cjs} +9 -9
- package/dist/{chunk-SE4O4HCD.cjs → chunk-U6HOC7JD.cjs} +8 -8
- package/dist/{chunk-ZZRUKEN2.js → chunk-URDJXB75.js} +3 -3
- package/dist/{chunk-MGTZ2BKY.js → chunk-VTXIY33G.js} +22 -49
- package/dist/{chunk-2SO3OJFY.cjs → chunk-WWJOQGSH.cjs} +33 -33
- package/dist/{chunk-JAKG6BY7.js → chunk-WXL5G7WC.js} +3 -3
- package/dist/{cloud-tenants-US63E2HV.js → cloud-tenants-65EUPGVC.js} +2 -2
- package/dist/{cloud-tenants-SMULXU54.cjs → cloud-tenants-PT5QPWWU.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/assistant-ask-prompts.d.ts +34 -14
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -1
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +34 -7
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -4
- package/dist/components/chat/index.js +3 -5
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/faq-ask-card.d.ts +8 -11
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +71 -71
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +35 -37
- package/dist/components/index.js +14 -16
- package/dist/components/meeting-scheduler/index.cjs +19 -19
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/product-demo/index.js +6 -6
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -5
- package/dist/components/ui/index.js +4 -6
- package/dist/{devices-JWHGWKLK.js → devices-J253LQNQ.js} +2 -2
- package/dist/{devices-6ZURNFRB.cjs → devices-ZPVLATZA.cjs} +4 -4
- package/dist/index.cjs +7 -9
- package/dist/index.js +8 -10
- package/dist/{knowledge-CY66JZ54.cjs → knowledge-3FAF5T7Q.cjs} +4 -4
- package/dist/{knowledge-TEDPLCFX.js → knowledge-IMTMYURI.js} +2 -2
- package/dist/{logs-S46THPPD.js → logs-55GOSGVE.js} +2 -2
- package/dist/{logs-MO357RE7.cjs → logs-UL7BQEXP.cjs} +11 -11
- package/dist/{policies-BUXT7DKF.js → policies-KRDF563O.js} +2 -2
- package/dist/{policies-GSH4K5YP.cjs → policies-O5F2XSCY.cjs} +7 -7
- package/dist/{software-update-YKS6KLX2.js → software-update-NXSC4OVM.js} +2 -2
- package/dist/{software-update-2ETT35NM.cjs → software-update-R2ASCRWP.cjs} +6 -6
- package/dist/utils/index.cjs +17 -18
- package/dist/utils/index.js +17 -18
- package/dist/utils/source-grouping.d.ts +15 -5
- package/dist/utils/source-grouping.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/assistant-ask-prompts.tsx +84 -39
- package/src/components/chat/entity-cards/dispatch.tsx +47 -58
- package/src/components/chat/hooks/index.ts +3 -2
- package/src/components/chat/hooks/use-ask-prompts.ts +140 -56
- package/src/components/faq/faq-ask-card.tsx +22 -67
- package/src/utils/source-grouping.ts +24 -14
- package/src/utils/source-icons.ts +16 -16
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ShellTypeBadge,
|
|
9
9
|
SoftwareInfo,
|
|
10
10
|
SoftwareSourceBadge
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FIKAJKPE.js";
|
|
12
12
|
import {
|
|
13
13
|
AppHeader,
|
|
14
14
|
AppLayout,
|
|
@@ -33,15 +33,15 @@ import {
|
|
|
33
33
|
isMegaMenu,
|
|
34
34
|
navLinkLabel,
|
|
35
35
|
siteNavHasMobileMenus
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-URDJXB75.js";
|
|
37
37
|
import {
|
|
38
38
|
MobileNavigationDropdown,
|
|
39
39
|
MultiLevelNavigation,
|
|
40
40
|
StickySectionNav,
|
|
41
41
|
useScrollSpy,
|
|
42
42
|
useSectionNavigation
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-AU4WWLFP.js";
|
|
44
|
+
import "./chunk-C6Y22J32.js";
|
|
45
45
|
import {
|
|
46
46
|
AIEnrichButton,
|
|
47
47
|
AIEnrichSection,
|
|
@@ -573,7 +573,7 @@ import {
|
|
|
573
573
|
useTrackerClock,
|
|
574
574
|
useWalkthroughVideo,
|
|
575
575
|
usersCountLabel
|
|
576
|
-
} from "./chunk-
|
|
576
|
+
} from "./chunk-N27CSEDR.js";
|
|
577
577
|
import {
|
|
578
578
|
Board,
|
|
579
579
|
BoardColumn,
|
|
@@ -1173,6 +1173,7 @@ import {
|
|
|
1173
1173
|
tokensForBalance,
|
|
1174
1174
|
upsertTrailingCompaction,
|
|
1175
1175
|
useAskPrompts,
|
|
1176
|
+
useAskSurface,
|
|
1176
1177
|
useAssistantOpen,
|
|
1177
1178
|
useCaptions,
|
|
1178
1179
|
useChat,
|
|
@@ -1196,8 +1197,6 @@ import {
|
|
|
1196
1197
|
useSSE,
|
|
1197
1198
|
useScriptedStream,
|
|
1198
1199
|
useScrollFade,
|
|
1199
|
-
useShownAskPromptIds,
|
|
1200
|
-
useShownAskPrompts,
|
|
1201
1200
|
useSlashCommandRegistry,
|
|
1202
1201
|
useSlashCommands,
|
|
1203
1202
|
useSseChatAdapter,
|
|
@@ -1210,7 +1209,7 @@ import {
|
|
|
1210
1209
|
withFirstTouchAttribution,
|
|
1211
1210
|
withWalkthroughOpenParam,
|
|
1212
1211
|
writeDismissCookie
|
|
1213
|
-
} from "./chunk-
|
|
1212
|
+
} from "./chunk-CIAAU44V.js";
|
|
1214
1213
|
import {
|
|
1215
1214
|
ApprovalBatchMessage,
|
|
1216
1215
|
ApprovalStatusTag,
|
|
@@ -3859,6 +3858,7 @@ export {
|
|
|
3859
3858
|
useApiParams,
|
|
3860
3859
|
useAppLayoutDrawerContainer,
|
|
3861
3860
|
useAskPrompts,
|
|
3861
|
+
useAskSurface,
|
|
3862
3862
|
useAssistantOpen,
|
|
3863
3863
|
useAuthedAssetSrc,
|
|
3864
3864
|
useAuthedImageSrc,
|
|
@@ -3956,8 +3956,6 @@ export {
|
|
|
3956
3956
|
useScrollToHash,
|
|
3957
3957
|
useSearch,
|
|
3958
3958
|
useSectionNavigation,
|
|
3959
|
-
useShownAskPromptIds,
|
|
3960
|
-
useShownAskPrompts,
|
|
3961
3959
|
useSlashCommandRegistry,
|
|
3962
3960
|
useSlashCommands,
|
|
3963
3961
|
useSmUp,
|
|
@@ -8,7 +8,7 @@ var _chunkII4QMH26cjs = require('./chunk-II4QMH26.cjs');
|
|
|
8
8
|
var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkAM2RHT3Hcjs = require('./chunk-AM2RHT3H.cjs');
|
|
12
12
|
require('./chunk-ABSWD4PQ.cjs');
|
|
13
13
|
require('./chunk-HQQE74RO.cjs');
|
|
14
14
|
require('./chunk-DEY6XXGO.cjs');
|
|
@@ -21,7 +21,7 @@ require('./chunk-BYUIFT7Q.cjs');
|
|
|
21
21
|
require('./chunk-LX22Y43B.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkBKTV3VODcjs = require('./chunk-BKTV3VOD.cjs');
|
|
25
25
|
require('./chunk-HP4UUBJC.cjs');
|
|
26
26
|
require('./chunk-EWPR7662.cjs');
|
|
27
27
|
require('./chunk-NJV3LIDE.cjs');
|
|
@@ -97,10 +97,10 @@ function KnowledgeScreen(_props) {
|
|
|
97
97
|
const cast = _chunkII4QMH26cjs.useProductDemoCast.call(void 0, );
|
|
98
98
|
const fixture = _react.useMemo.call(void 0, () => buildKnowledgeFixture(cast), [cast]);
|
|
99
99
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
100
|
-
|
|
100
|
+
_chunkAM2RHT3Hcjs.KnowledgeBaseArticleView,
|
|
101
101
|
{
|
|
102
102
|
...fixture.article,
|
|
103
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
103
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBKTV3VODcjs.SimpleMarkdownRenderer, { content: fixture.content, textSize: "compact" })
|
|
104
104
|
}
|
|
105
105
|
) });
|
|
106
106
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-CYUUHFXL.js";
|
|
9
9
|
import {
|
|
10
10
|
KnowledgeBaseArticleView
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N27CSEDR.js";
|
|
12
12
|
import "./chunk-KS3YLYVL.js";
|
|
13
13
|
import "./chunk-LQYXMEYF.js";
|
|
14
14
|
import "./chunk-4JPLYOS6.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-3UBWDR65.js";
|
|
|
21
21
|
import "./chunk-PLWMIU72.js";
|
|
22
22
|
import {
|
|
23
23
|
SimpleMarkdownRenderer
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CIAAU44V.js";
|
|
25
25
|
import "./chunk-5D2K7TFT.js";
|
|
26
26
|
import "./chunk-AFTRPEXO.js";
|
|
27
27
|
import "./chunk-JXJFUGJY.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
ToolBadge,
|
|
17
17
|
logSeverityVariant,
|
|
18
18
|
logSourceLabels
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N27CSEDR.js";
|
|
20
20
|
import "./chunk-KS3YLYVL.js";
|
|
21
21
|
import "./chunk-LQYXMEYF.js";
|
|
22
22
|
import "./chunk-4JPLYOS6.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-3UBWDR65.js";
|
|
|
29
29
|
import "./chunk-PLWMIU72.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeToolTypeWithFallback
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CIAAU44V.js";
|
|
33
33
|
import "./chunk-5D2K7TFT.js";
|
|
34
34
|
import "./chunk-AFTRPEXO.js";
|
|
35
35
|
import "./chunk-JXJFUGJY.js";
|
|
@@ -16,7 +16,7 @@ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkAM2RHT3Hcjs = require('./chunk-AM2RHT3H.cjs');
|
|
20
20
|
require('./chunk-ABSWD4PQ.cjs');
|
|
21
21
|
require('./chunk-HQQE74RO.cjs');
|
|
22
22
|
require('./chunk-DEY6XXGO.cjs');
|
|
@@ -29,7 +29,7 @@ require('./chunk-BYUIFT7Q.cjs');
|
|
|
29
29
|
require('./chunk-LX22Y43B.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkBKTV3VODcjs = require('./chunk-BKTV3VOD.cjs');
|
|
33
33
|
require('./chunk-HP4UUBJC.cjs');
|
|
34
34
|
require('./chunk-EWPR7662.cjs');
|
|
35
35
|
require('./chunk-NJV3LIDE.cjs');
|
|
@@ -78,7 +78,7 @@ function entry(logId, minutesAgo, severity, toolType, device2, summary) {
|
|
|
78
78
|
id: logId,
|
|
79
79
|
logId,
|
|
80
80
|
timestamp: displayTime(_chunkKHXZFLINcjs.demoMinutesAgo.call(void 0, minutesAgo)),
|
|
81
|
-
status: { label: severity, variant:
|
|
81
|
+
status: { label: severity, variant: _chunkAM2RHT3Hcjs.logSeverityVariant.call(void 0, severity) },
|
|
82
82
|
source: { name: toolType, toolType },
|
|
83
83
|
device: device2,
|
|
84
84
|
description: { title: summary }
|
|
@@ -150,13 +150,13 @@ var NO_FILTERS = {};
|
|
|
150
150
|
var ACTION_COLUMNS = ["copy", "quickView", "open"];
|
|
151
151
|
var BESIDE_DRAWER_HIDDEN = [...ACTION_COLUMNS, "tool", "source"];
|
|
152
152
|
var logHref = () => "#";
|
|
153
|
-
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
153
|
+
var copyAction = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAM2RHT3Hcjs.LogCopyIconButton, {});
|
|
154
154
|
function LogsScreen({ compact = false }) {
|
|
155
155
|
const [dock, setDock] = _react.useState.call(void 0, null);
|
|
156
156
|
const selected = LOGS_FIXTURE_SELECTED;
|
|
157
157
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full bg-ods-bg", children: [
|
|
158
158
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-clip", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
159
|
-
|
|
159
|
+
_chunkAM2RHT3Hcjs.LogsPageView,
|
|
160
160
|
{
|
|
161
161
|
showHeader: false,
|
|
162
162
|
className: "p-[var(--spacing-system-l)]",
|
|
@@ -164,7 +164,7 @@ function LogsScreen({ compact = false }) {
|
|
|
164
164
|
onSearchChange: noop,
|
|
165
165
|
onOpenFilters: noop,
|
|
166
166
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
167
|
-
|
|
167
|
+
_chunkAM2RHT3Hcjs.LogsTableView,
|
|
168
168
|
{
|
|
169
169
|
logs: LOGS_FIXTURE_ENTRIES,
|
|
170
170
|
facets: LOGS_FIXTURE_FACETS,
|
|
@@ -178,8 +178,8 @@ function LogsScreen({ compact = false }) {
|
|
|
178
178
|
)
|
|
179
179
|
}
|
|
180
180
|
) }),
|
|
181
|
-
!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,
|
|
182
|
-
|
|
181
|
+
!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, _chunkAM2RHT3Hcjs.AppLayoutDrawerContainerContext.Provider, { value: dock, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
+
_chunkAM2RHT3Hcjs.LogDrawer,
|
|
183
183
|
{
|
|
184
184
|
docked: true,
|
|
185
185
|
isOpen: true,
|
|
@@ -191,12 +191,12 @@ function LogsScreen({ compact = false }) {
|
|
|
191
191
|
{ label: "Log ID", value: selected.logId },
|
|
192
192
|
{
|
|
193
193
|
label: "Source",
|
|
194
|
-
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
194
|
+
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAM2RHT3Hcjs.ToolBadge, { toolType: _chunkBKTV3VODcjs.normalizeToolTypeWithFallback.call(void 0, selected.source.toolType) })
|
|
195
195
|
},
|
|
196
|
-
{ label: "Device", value:
|
|
196
|
+
{ label: "Device", value: _chunkAM2RHT3Hcjs.logSourceLabels.call(void 0, selected.device).deviceName }
|
|
197
197
|
],
|
|
198
198
|
deviceCard: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
199
|
-
|
|
199
|
+
_chunkAM2RHT3Hcjs.DeviceCard,
|
|
200
200
|
{
|
|
201
201
|
...LOGS_FIXTURE_DEVICE,
|
|
202
202
|
actions: {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
PolicySummaryCards,
|
|
11
11
|
computePolicySummary,
|
|
12
12
|
getPolicyTableStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N27CSEDR.js";
|
|
14
14
|
import "./chunk-KS3YLYVL.js";
|
|
15
15
|
import "./chunk-LQYXMEYF.js";
|
|
16
16
|
import "./chunk-4JPLYOS6.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-HFL2F4RM.js";
|
|
|
21
21
|
import "./chunk-YYYVS7CX.js";
|
|
22
22
|
import "./chunk-3UBWDR65.js";
|
|
23
23
|
import "./chunk-PLWMIU72.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CIAAU44V.js";
|
|
25
25
|
import "./chunk-5D2K7TFT.js";
|
|
26
26
|
import "./chunk-AFTRPEXO.js";
|
|
27
27
|
import "./chunk-JXJFUGJY.js";
|
|
@@ -10,7 +10,7 @@ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkAM2RHT3Hcjs = require('./chunk-AM2RHT3H.cjs');
|
|
14
14
|
require('./chunk-ABSWD4PQ.cjs');
|
|
15
15
|
require('./chunk-HQQE74RO.cjs');
|
|
16
16
|
require('./chunk-DEY6XXGO.cjs');
|
|
@@ -21,7 +21,7 @@ require('./chunk-MZ4KBSH7.cjs');
|
|
|
21
21
|
require('./chunk-A6P6DHEZ.cjs');
|
|
22
22
|
require('./chunk-BYUIFT7Q.cjs');
|
|
23
23
|
require('./chunk-LX22Y43B.cjs');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-BKTV3VOD.cjs');
|
|
25
25
|
require('./chunk-HP4UUBJC.cjs');
|
|
26
26
|
require('./chunk-EWPR7662.cjs');
|
|
27
27
|
require('./chunk-NJV3LIDE.cjs');
|
|
@@ -83,14 +83,14 @@ var POLICIES = [
|
|
|
83
83
|
policy("policy-local-admins", "No local admins", "No everyday account is a local administrator.", false, 0)
|
|
84
84
|
];
|
|
85
85
|
var POLICIES_FIXTURE = {
|
|
86
|
-
summary:
|
|
86
|
+
summary: _chunkAM2RHT3Hcjs.computePolicySummary.call(void 0, POLICIES),
|
|
87
87
|
rows: POLICIES.map((item) => ({
|
|
88
88
|
id: item.id,
|
|
89
89
|
name: item.name,
|
|
90
90
|
description: item.description,
|
|
91
91
|
critical: item.critical,
|
|
92
92
|
severityLabel: item.critical ? "Critical" : "Low",
|
|
93
|
-
status:
|
|
93
|
+
status: _chunkAM2RHT3Hcjs.getPolicyTableStatus.call(void 0, item),
|
|
94
94
|
actions: [
|
|
95
95
|
{ label: "Policy Details", onClick: noop },
|
|
96
96
|
{ label: "Delete Policy", onClick: noop }
|
|
@@ -104,16 +104,16 @@ var POLICIES_FIXTURE = {
|
|
|
104
104
|
var _jsxruntime = require('react/jsx-runtime');
|
|
105
105
|
function PoliciesScreen({ compact = false }) {
|
|
106
106
|
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
107
|
-
|
|
107
|
+
_chunkAM2RHT3Hcjs.PoliciesTable,
|
|
108
108
|
{
|
|
109
109
|
rows: POLICIES_FIXTURE.rows,
|
|
110
110
|
rowAsLink: true,
|
|
111
|
-
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
111
|
+
rightSlot: compact ? void 0 : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAM2RHT3Hcjs.DataTable.RowCount, {}),
|
|
112
112
|
emptyMessage: "No policies found."
|
|
113
113
|
}
|
|
114
114
|
);
|
|
115
115
|
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: [
|
|
116
|
-
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
116
|
+
!compact && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAM2RHT3Hcjs.PolicySummaryCards, { summary: POLICIES_FIXTURE.summary, now: POLICIES_FIXTURE.now }),
|
|
117
117
|
table
|
|
118
118
|
] });
|
|
119
119
|
}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
PACKAGE_SEARCH_LABEL,
|
|
16
16
|
PACKAGE_SEARCH_PLACEHOLDER,
|
|
17
17
|
SoftwareActionForm
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N27CSEDR.js";
|
|
19
19
|
import "./chunk-KS3YLYVL.js";
|
|
20
20
|
import "./chunk-LQYXMEYF.js";
|
|
21
21
|
import "./chunk-4JPLYOS6.js";
|
|
@@ -28,7 +28,7 @@ import "./chunk-HFL2F4RM.js";
|
|
|
28
28
|
import "./chunk-YYYVS7CX.js";
|
|
29
29
|
import "./chunk-3UBWDR65.js";
|
|
30
30
|
import "./chunk-PLWMIU72.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-CIAAU44V.js";
|
|
32
32
|
import "./chunk-5D2K7TFT.js";
|
|
33
33
|
import "./chunk-AFTRPEXO.js";
|
|
34
34
|
import "./chunk-JXJFUGJY.js";
|
|
@@ -15,7 +15,7 @@ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkAM2RHT3Hcjs = require('./chunk-AM2RHT3H.cjs');
|
|
19
19
|
require('./chunk-ABSWD4PQ.cjs');
|
|
20
20
|
require('./chunk-HQQE74RO.cjs');
|
|
21
21
|
require('./chunk-DEY6XXGO.cjs');
|
|
@@ -28,7 +28,7 @@ require('./chunk-MZ4KBSH7.cjs');
|
|
|
28
28
|
require('./chunk-A6P6DHEZ.cjs');
|
|
29
29
|
require('./chunk-BYUIFT7Q.cjs');
|
|
30
30
|
require('./chunk-LX22Y43B.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-BKTV3VOD.cjs');
|
|
32
32
|
require('./chunk-HP4UUBJC.cjs');
|
|
33
33
|
require('./chunk-EWPR7662.cjs');
|
|
34
34
|
require('./chunk-NJV3LIDE.cjs');
|
|
@@ -118,12 +118,12 @@ function StaticPackageField({ value }) {
|
|
|
118
118
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
119
119
|
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
120
120
|
{
|
|
121
|
-
label:
|
|
121
|
+
label: _chunkAM2RHT3Hcjs.PACKAGE_SEARCH_LABEL,
|
|
122
122
|
labelVariant: "large",
|
|
123
123
|
options: value ? [{ value: value.id, label: value.name, description: _nullishCoalesce(value.description, () => ( void 0)) }] : [],
|
|
124
124
|
value: _nullishCoalesce(_optionalChain([value, 'optionalAccess', _ => _.id]), () => ( null)),
|
|
125
125
|
onChange: noop,
|
|
126
|
-
placeholder:
|
|
126
|
+
placeholder: _chunkAM2RHT3Hcjs.PACKAGE_SEARCH_PLACEHOLDER
|
|
127
127
|
}
|
|
128
128
|
);
|
|
129
129
|
}
|
|
@@ -137,7 +137,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
137
137
|
[fixture.devices, fixture.selectedIds]
|
|
138
138
|
);
|
|
139
139
|
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,
|
|
140
|
-
|
|
140
|
+
_chunkAM2RHT3Hcjs.SoftwareActionForm,
|
|
141
141
|
{
|
|
142
142
|
action: fixture.action,
|
|
143
143
|
showHeader: false,
|
|
@@ -149,7 +149,7 @@ function SoftwareUpdateScreen({ compact = false }) {
|
|
|
149
149
|
initialValues: fixture.initialValues,
|
|
150
150
|
renderPackageSearch,
|
|
151
151
|
renderDevicePicker: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
152
|
-
|
|
152
|
+
_chunkAM2RHT3Hcjs.DeviceSelector,
|
|
153
153
|
{
|
|
154
154
|
devices: selected,
|
|
155
155
|
loading: false,
|
package/dist/utils/index.cjs
CHANGED
|
@@ -3579,11 +3579,11 @@ var SOURCE_ICON_NAMES = {
|
|
|
3579
3579
|
vendors: "package-search",
|
|
3580
3580
|
// Financials
|
|
3581
3581
|
"investor-updates": "mail",
|
|
3582
|
-
"financial-kpis": "
|
|
3583
|
-
"financial-cap-table": "
|
|
3584
|
-
"financial-pnl": "
|
|
3585
|
-
"financial-balance-sheet": "
|
|
3586
|
-
"financial-cash-flow": "
|
|
3582
|
+
"financial-kpis": "chart-bar-01-ver",
|
|
3583
|
+
"financial-cap-table": "chart-pie",
|
|
3584
|
+
"financial-pnl": "money-bill-dollar",
|
|
3585
|
+
"financial-balance-sheet": "bank",
|
|
3586
|
+
"financial-cash-flow": "coins-exchange-currency",
|
|
3587
3587
|
// ClickUp
|
|
3588
3588
|
"clickup-roadmap": "clickup",
|
|
3589
3589
|
"clickup-delivery": "clickup",
|
|
@@ -3602,22 +3602,22 @@ var SOURCE_ICON_NAMES = {
|
|
|
3602
3602
|
// Communications
|
|
3603
3603
|
"slack-messages": "slack",
|
|
3604
3604
|
// People-hub employee content
|
|
3605
|
-
"what-i-shipped": "
|
|
3606
|
-
"how-i-work": "
|
|
3607
|
-
"ai-prompts": "
|
|
3605
|
+
"what-i-shipped": "rocket-02",
|
|
3606
|
+
"how-i-work": "clipboard-list",
|
|
3607
|
+
"ai-prompts": "chat-quote",
|
|
3608
3608
|
// Product-hub internal
|
|
3609
3609
|
"design-docs": "file-text",
|
|
3610
3610
|
"openframe-tenants": "openframe",
|
|
3611
|
-
"prospect-calls": "
|
|
3611
|
+
"prospect-calls": "call",
|
|
3612
3612
|
// Code intelligence
|
|
3613
|
-
"code-rules": "check
|
|
3614
|
-
"code-graph-repos": "
|
|
3613
|
+
"code-rules": "bracket-curly-check",
|
|
3614
|
+
"code-graph-repos": "coding-branch",
|
|
3615
3615
|
"code-graph-deployments": "package",
|
|
3616
|
-
"code-graph-files": "file-
|
|
3617
|
-
"code-symbols": "
|
|
3618
|
-
"code-duplicates": "
|
|
3619
|
-
"code-impact": "
|
|
3620
|
-
"change-sets": "coding-
|
|
3616
|
+
"code-graph-files": "file-code",
|
|
3617
|
+
"code-symbols": "code-square",
|
|
3618
|
+
"code-duplicates": "copy-01",
|
|
3619
|
+
"code-impact": "coding-pull-request",
|
|
3620
|
+
"change-sets": "coding-merge"
|
|
3621
3621
|
};
|
|
3622
3622
|
function getSourceIconName(tableId) {
|
|
3623
3623
|
if (!tableId) return void 0;
|
|
@@ -3791,8 +3791,7 @@ function typeOf(source) {
|
|
|
3791
3791
|
return source.documentType || defaultDocumentTypeForTableId(source.sourceRepo) || "";
|
|
3792
3792
|
}
|
|
3793
3793
|
function joinsTableChip(source) {
|
|
3794
|
-
|
|
3795
|
-
return groupsByTable(typeOf({ ...source, sourceRepo: source.sourceRepo }));
|
|
3794
|
+
return !!source.sourceRepo;
|
|
3796
3795
|
}
|
|
3797
3796
|
function rowsOf(source) {
|
|
3798
3797
|
if (isGroupedChip(source)) return source.items ?? [];
|
package/dist/utils/index.js
CHANGED
|
@@ -3573,11 +3573,11 @@ var SOURCE_ICON_NAMES = {
|
|
|
3573
3573
|
vendors: "package-search",
|
|
3574
3574
|
// Financials
|
|
3575
3575
|
"investor-updates": "mail",
|
|
3576
|
-
"financial-kpis": "
|
|
3577
|
-
"financial-cap-table": "
|
|
3578
|
-
"financial-pnl": "
|
|
3579
|
-
"financial-balance-sheet": "
|
|
3580
|
-
"financial-cash-flow": "
|
|
3576
|
+
"financial-kpis": "chart-bar-01-ver",
|
|
3577
|
+
"financial-cap-table": "chart-pie",
|
|
3578
|
+
"financial-pnl": "money-bill-dollar",
|
|
3579
|
+
"financial-balance-sheet": "bank",
|
|
3580
|
+
"financial-cash-flow": "coins-exchange-currency",
|
|
3581
3581
|
// ClickUp
|
|
3582
3582
|
"clickup-roadmap": "clickup",
|
|
3583
3583
|
"clickup-delivery": "clickup",
|
|
@@ -3596,22 +3596,22 @@ var SOURCE_ICON_NAMES = {
|
|
|
3596
3596
|
// Communications
|
|
3597
3597
|
"slack-messages": "slack",
|
|
3598
3598
|
// People-hub employee content
|
|
3599
|
-
"what-i-shipped": "
|
|
3600
|
-
"how-i-work": "
|
|
3601
|
-
"ai-prompts": "
|
|
3599
|
+
"what-i-shipped": "rocket-02",
|
|
3600
|
+
"how-i-work": "clipboard-list",
|
|
3601
|
+
"ai-prompts": "chat-quote",
|
|
3602
3602
|
// Product-hub internal
|
|
3603
3603
|
"design-docs": "file-text",
|
|
3604
3604
|
"openframe-tenants": "openframe",
|
|
3605
|
-
"prospect-calls": "
|
|
3605
|
+
"prospect-calls": "call",
|
|
3606
3606
|
// Code intelligence
|
|
3607
|
-
"code-rules": "check
|
|
3608
|
-
"code-graph-repos": "
|
|
3607
|
+
"code-rules": "bracket-curly-check",
|
|
3608
|
+
"code-graph-repos": "coding-branch",
|
|
3609
3609
|
"code-graph-deployments": "package",
|
|
3610
|
-
"code-graph-files": "file-
|
|
3611
|
-
"code-symbols": "
|
|
3612
|
-
"code-duplicates": "
|
|
3613
|
-
"code-impact": "
|
|
3614
|
-
"change-sets": "coding-
|
|
3610
|
+
"code-graph-files": "file-code",
|
|
3611
|
+
"code-symbols": "code-square",
|
|
3612
|
+
"code-duplicates": "copy-01",
|
|
3613
|
+
"code-impact": "coding-pull-request",
|
|
3614
|
+
"change-sets": "coding-merge"
|
|
3615
3615
|
};
|
|
3616
3616
|
function getSourceIconName(tableId) {
|
|
3617
3617
|
if (!tableId) return void 0;
|
|
@@ -3785,8 +3785,7 @@ function typeOf(source) {
|
|
|
3785
3785
|
return source.documentType || defaultDocumentTypeForTableId(source.sourceRepo) || "";
|
|
3786
3786
|
}
|
|
3787
3787
|
function joinsTableChip(source) {
|
|
3788
|
-
|
|
3789
|
-
return groupsByTable(typeOf({ ...source, sourceRepo: source.sourceRepo }));
|
|
3788
|
+
return !!source.sourceRepo;
|
|
3790
3789
|
}
|
|
3791
3790
|
function rowsOf(source) {
|
|
3792
3791
|
if (isGroupedChip(source)) return source.items ?? [];
|
|
@@ -25,13 +25,22 @@ import type { ChatSource } from '../components/chat/types/message.types';
|
|
|
25
25
|
/**
|
|
26
26
|
* Doc-table documentTypes: whole documents with their own viewer (markdown =
|
|
27
27
|
* product docs, data_room_doc = data room). They carry an in-app `path`, an
|
|
28
|
-
* embedder keys `docPlatformTargets` by them, and
|
|
29
|
-
*
|
|
28
|
+
* embedder keys `docPlatformTargets` by them, and a server never folds them
|
|
29
|
+
* into one citation (`groupsByTable`); the strip still draws them as one chip
|
|
30
|
+
* per table. The hub's per-source contract test pins this list to its
|
|
30
31
|
* doc-table configs.
|
|
31
32
|
*/
|
|
32
33
|
export declare const DOC_TABLE_TYPES: readonly ["markdown", "data_room_doc"];
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
34
|
+
/**
|
|
35
|
+
* Which tables a SERVER folds into one citation: rows of a knowledge table
|
|
36
|
+
* share one number (and reach the model as one table) unless they are whole
|
|
37
|
+
* documents, which each keep their own number and are read in full. Decided by
|
|
38
|
+
* `documentType`, the one fact every producer has.
|
|
39
|
+
*
|
|
40
|
+
* This is not the strip's rule. The strip (`groupSourcesByTable`) draws ONE chip
|
|
41
|
+
* per table for every source, documents included: a document keeps its own
|
|
42
|
+
* citation number inside its table's chip.
|
|
43
|
+
*/
|
|
35
44
|
export declare function groupsByTable(documentType: string | null | undefined): boolean;
|
|
36
45
|
/** `(1 record)` / `(14 records)`: the count every grouped chip states. */
|
|
37
46
|
export declare function recordCountLabel(count: number): string;
|
|
@@ -71,7 +80,8 @@ export declare function buildGroupedSource(spec: {
|
|
|
71
80
|
* table's only source. When flat rows of the same table arrive beside it (a
|
|
72
81
|
* hub-injected chip plus MCP-cited rows in one answer), they merge into it:
|
|
73
82
|
* its rows first, its chip-level link kept, the count restated. Whole
|
|
74
|
-
* documents
|
|
83
|
+
* documents group under their table too, each row keeping its own citation
|
|
84
|
+
* number; only a row naming no table passes through as its own chip.
|
|
75
85
|
*/
|
|
76
86
|
export declare function groupSourcesByTable(sources: ChatSource[]): ChatSource[];
|
|
77
87
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-grouping.d.ts","sourceRoot":"","sources":["../../src/utils/source-grouping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAGzE
|
|
1
|
+
{"version":3,"file":"source-grouping.d.ts","sourceRoot":"","sources":["../../src/utils/source-grouping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAGzE;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,wCAAyC,CAAC;AAEtE;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE9E;AAED,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED,KAAK,WAAW,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D;2EAC2E;AAC3E,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC;AAE3C;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACvC,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,GAAG,UAAU,CAcb;AA0DD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,CAqCvE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAU/D"}
|