@flamingo-stack/openframe-frontend-core 0.0.754 → 0.0.756
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-AG4HR6Z6.cjs → chunk-2ANICXS7.cjs} +16 -16
- package/dist/{chunk-U4I3QR2A.cjs → chunk-4YL4Y3BV.cjs} +11 -11
- package/dist/{chunk-YSFOYBYC.cjs → chunk-57JA37HP.cjs} +428 -411
- package/dist/{chunk-TPJTFN7O.cjs → chunk-7KPU7RGS.cjs} +73 -73
- package/dist/{chunk-MGF3FUKD.cjs → chunk-AKK3EO37.cjs} +4 -1
- package/dist/{chunk-3GG3QAPT.cjs → chunk-AXBVN5SW.cjs} +63 -57
- package/dist/{chunk-JXACH52M.cjs → chunk-BTIYXBA2.cjs} +4 -4
- package/dist/{chunk-BLZIUELR.cjs → chunk-CYDWQYIQ.cjs} +22 -22
- package/dist/{chunk-P6F6PHVK.cjs → chunk-EFTUFJS2.cjs} +4 -4
- package/dist/{chunk-LVO7FALW.cjs → chunk-F64VMOIB.cjs} +5 -5
- package/dist/{chunk-MOEILCEX.cjs → chunk-KFUC2XF7.cjs} +7 -7
- package/dist/{chunk-GQYCVZJI.cjs → chunk-KNNJ4WLF.cjs} +4 -4
- package/dist/{chunk-BQQ3JGEO.cjs → chunk-KSU3CXKY.cjs} +3 -3
- package/dist/{chunk-YRULLK7N.cjs → chunk-LOFDIDSD.cjs} +8 -2
- package/dist/{chunk-EDSFLB7J.cjs → chunk-MBQTLZAG.cjs} +11 -11
- package/dist/{chunk-TBDVF4SN.cjs → chunk-MDXZMTCK.cjs} +38 -38
- package/dist/{chunk-FAFFWYEH.cjs → chunk-MR5KMPSE.cjs} +6 -6
- package/dist/{chunk-ZNV5FE4T.cjs → chunk-PUK27ZB6.cjs} +22 -22
- package/dist/{chunk-RTQN35EP.cjs → chunk-QKFJ6ORK.cjs} +21 -21
- package/dist/{chunk-SDF5UUTE.cjs → chunk-QTYSYEHK.cjs} +74 -74
- package/dist/{chunk-OGKV5NOP.cjs → chunk-TAEEGNFL.cjs} +42 -42
- package/dist/{chunk-DW5OKTUP.cjs → chunk-VOXDBCBV.cjs} +36 -36
- package/dist/{chunk-UNRNLSG4.cjs → chunk-VUSXDMCE.cjs} +2 -2
- package/dist/{chunk-IVAAQSOU.cjs → chunk-W5MEHJRQ.cjs} +6 -6
- package/dist/{cloud-tenants-5OTPO7FL.cjs → cloud-tenants-NOZGXQZY.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/embeddable-chat.js +11 -6
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/context-menu.d.ts +2 -2
- package/dist/components/context-menu.d.ts.map +1 -1
- package/dist/components/context-menu.js +19 -12
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/faq/index.cjs +12 -12
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/time-tracker/time-tracker-header-button.d.ts.map +1 -1
- package/dist/components/features/time-tracker/time-tracker-header-button.js +3 -1
- package/dist/components/help-center-pages/index.cjs +71 -71
- package/dist/components/index.cjs +44 -44
- package/dist/components/meeting-scheduler/index.cjs +35 -35
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/onboarding-guides/index.cjs +13 -13
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +3 -1
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +9 -4
- package/dist/components/ui/dropdown-menu.d.ts +2 -2
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +4 -1
- package/dist/components/ui/file-manager/index.cjs +6 -6
- package/dist/components/ui/index.cjs +10 -10
- package/dist/components/ui/menubar.d.ts +2 -2
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +22 -15
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.js +5 -2
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +3 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +27 -23
- package/dist/components/ui/tag-select-dropdown.d.ts.map +1 -1
- package/dist/components/ui/tag-select-dropdown.js +3 -1
- package/dist/{devices-MBGMD7BO.cjs → devices-M4KBTOTC.cjs} +11 -11
- package/dist/{embeddable-chat-CMEHSDV7.cjs → embeddable-chat-KGJVVG2V.cjs} +88 -83
- package/dist/index.cjs +14 -14
- package/dist/{knowledge-LO5RK6PM.cjs → knowledge-VVF6CJEG.cjs} +11 -11
- package/dist/{logs-QRGJSZ4G.cjs → logs-7E6HBJ55.cjs} +18 -18
- package/dist/{policies-OIQDO6F5.cjs → policies-UMZLJTBD.cjs} +14 -14
- package/dist/{remote-session-57DGC4X3.cjs → remote-session-SKNXYG6K.cjs} +7 -7
- package/dist/{scripts-XULUNPDV.cjs → scripts-XVNAEYCH.cjs} +17 -17
- package/dist/{software-update-SRF55434.cjs → software-update-U43ZFHMC.cjs} +14 -14
- package/dist/{tickets-board-EP6L3BSV.cjs → tickets-board-B2FH7Z4B.cjs} +9 -9
- package/eslint-config/base.js +7 -1
- package/eslint-config/popup-portal.js +68 -0
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +13 -6
- package/src/components/context-menu.tsx +20 -13
- package/src/components/features/time-tracker/time-tracker-header-button.tsx +3 -1
- package/src/components/popover.tsx +3 -1
- package/src/components/ui/date-picker.tsx +9 -4
- package/src/components/ui/dropdown-menu.tsx +4 -1
- package/src/components/ui/menubar.tsx +23 -16
- package/src/components/ui/modal-v2.tsx +17 -3
- package/src/components/ui/searchable-select.tsx +3 -1
- package/src/components/ui/select.tsx +28 -24
- package/src/components/ui/tag-select-dropdown.tsx +3 -1
|
@@ -12,13 +12,13 @@ var _chunkLU7TD6QScjs = require('./chunk-LU7TD6QS.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkF64VMOIBcjs = require('./chunk-F64VMOIB.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkEFTUFJS2cjs = require('./chunk-EFTUFJS2.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunk4WI2CEC2cjs = require('./chunk-4WI2CEC2.cjs');
|
|
@@ -142,9 +142,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
142
142
|
return next;
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
145
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFTUFJS2cjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkEFTUFJS2cjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
146
146
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
147
|
-
|
|
147
|
+
_chunkEFTUFJS2cjs.TooltipTrigger,
|
|
148
148
|
{
|
|
149
149
|
asChild: true,
|
|
150
150
|
onPointerDown: (e) => {
|
|
@@ -162,7 +162,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
162
162
|
children
|
|
163
163
|
}
|
|
164
164
|
),
|
|
165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFTUFJS2cjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
166
166
|
] }) });
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -177,7 +177,7 @@ function BoardColumnHeader({
|
|
|
177
177
|
}) {
|
|
178
178
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
179
179
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
180
|
-
const useStatusVariant =
|
|
180
|
+
const useStatusVariant = _chunkF64VMOIBcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
181
181
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
182
182
|
if (collapsed) {
|
|
183
183
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -193,7 +193,7 @@ function BoardColumnHeader({
|
|
|
193
193
|
}
|
|
194
194
|
),
|
|
195
195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
-
|
|
196
|
+
_chunkF64VMOIBcjs.TicketStatusTag,
|
|
197
197
|
{
|
|
198
198
|
status: tagStatus,
|
|
199
199
|
label: column.label,
|
|
@@ -206,7 +206,7 @@ function BoardColumnHeader({
|
|
|
206
206
|
}
|
|
207
207
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
208
208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
209
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64VMOIBcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
210
210
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
211
211
|
] }),
|
|
212
212
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -264,7 +264,7 @@ function tintOnDark(hex) {
|
|
|
264
264
|
|
|
265
265
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
266
266
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
267
|
-
const { innerRef, containerStyle } =
|
|
267
|
+
const { innerRef, containerStyle } = _chunkF64VMOIBcjs.useCollapsible.call(void 0, { expanded });
|
|
268
268
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
269
269
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
270
270
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -293,7 +293,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
293
293
|
}
|
|
294
294
|
),
|
|
295
295
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
296
|
-
|
|
296
|
+
_chunkF64VMOIBcjs.ApprovalBatchMessage,
|
|
297
297
|
{
|
|
298
298
|
className: "mb-0",
|
|
299
299
|
data: {
|
|
@@ -485,7 +485,7 @@ function TicketCardBody({
|
|
|
485
485
|
role: "img",
|
|
486
486
|
"aria-label": `Owned by ${ticket.agent === "fae" ? "Fae" : "Mingo"}`,
|
|
487
487
|
className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full border border-ods-border bg-ods-bg",
|
|
488
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
488
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64VMOIBcjs.AgentMark, { agent: ticket.agent, className: ticket.agent === "fae" ? "size-full" : "size-5" })
|
|
489
489
|
}
|
|
490
490
|
),
|
|
491
491
|
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _19 => _19.assignees, 'optionalAccess', _20 => _20.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
@@ -515,8 +515,8 @@ function TicketCardBody({
|
|
|
515
515
|
] })
|
|
516
516
|
] }) : null
|
|
517
517
|
] }) : null;
|
|
518
|
-
const timestampLabel = ticket.createdAt ?
|
|
519
|
-
const tooltipLabel = ticket.createdAt ?
|
|
518
|
+
const timestampLabel = ticket.createdAt ? _chunkF64VMOIBcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
519
|
+
const tooltipLabel = ticket.createdAt ? _chunkF64VMOIBcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
520
520
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
521
521
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
522
522
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -543,9 +543,9 @@ function TicketCardBody({
|
|
|
543
543
|
rightSection
|
|
544
544
|
] }),
|
|
545
545
|
_optionalChain([ticket, 'access', _21 => _21.tags, 'optionalAccess', _22 => _22.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
546
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
547
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
548
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
546
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFTUFJS2cjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkEFTUFJS2cjs.Tooltip, { children: [
|
|
547
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFTUFJS2cjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
548
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFTUFJS2cjs.TooltipContent, { children: tooltipLabel })
|
|
549
549
|
] }) }) : meta),
|
|
550
550
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
551
551
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4MGDY2AAcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -5,7 +5,7 @@ var _chunk5E6JHOGXcjs = require('./chunk-5E6JHOGX.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkKFUC2XF7cjs = require('./chunk-KFUC2XF7.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -14,13 +14,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk57JA37HPcjs = require('./chunk-57JA37HP.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkQKFJ6ORKcjs = require('./chunk-QKFJ6ORK.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -81,7 +81,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
81
81
|
var _react = require('react');
|
|
82
82
|
|
|
83
83
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
84
|
-
const section =
|
|
84
|
+
const section = _chunkQKFJ6ORKcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
85
85
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
86
86
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
87
87
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -132,7 +132,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
132
132
|
preControls,
|
|
133
133
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
134
134
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
135
|
-
|
|
135
|
+
_chunk57JA37HPcjs.SearchInput,
|
|
136
136
|
{
|
|
137
137
|
showDropdown: false,
|
|
138
138
|
placeholder: search.placeholder,
|
|
@@ -142,7 +142,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
142
142
|
}
|
|
143
143
|
),
|
|
144
144
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
145
|
-
|
|
145
|
+
_chunk57JA37HPcjs.StatusFilterComponent,
|
|
146
146
|
{
|
|
147
147
|
selectedStatus: currentFilterValue,
|
|
148
148
|
onStatusChange: handleFilterChange,
|
|
@@ -167,7 +167,7 @@ function DevSectionPage({
|
|
|
167
167
|
shell = true
|
|
168
168
|
}) {
|
|
169
169
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
170
|
-
const section =
|
|
170
|
+
const section = _chunkQKFJ6ORKcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
171
171
|
const backCfg = backButton === false ? void 0 : {
|
|
172
172
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
173
173
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -180,7 +180,7 @@ function DevSectionPage({
|
|
|
180
180
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
181
181
|
// frozen and renders title-only.)
|
|
182
182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
183
|
-
|
|
183
|
+
_chunkAXBVN5SWcjs.PageLayout,
|
|
184
184
|
{
|
|
185
185
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
186
186
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -189,12 +189,12 @@ function DevSectionPage({
|
|
|
189
189
|
backButton: backCfg,
|
|
190
190
|
children: [
|
|
191
191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
192
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
192
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKFUC2XF7cjs.FaqSection, { ..._chunkKFUC2XF7cjs.pageFaqProps.call(void 0, faq) })
|
|
193
193
|
]
|
|
194
194
|
}
|
|
195
195
|
)
|
|
196
196
|
);
|
|
197
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
197
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk57JA37HPcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
// src/components/shared/dev-section/dev-card-row.tsx
|