@flamingo-stack/openframe-frontend-core 0.0.802 → 0.0.804
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/{case-study-card-K6HYMHL6.cjs → case-study-card-MEWJNF4N.cjs} +5 -5
- package/dist/{chunk-DSIIRR3G.cjs → chunk-2NVIGBJC.cjs} +80 -80
- package/dist/{chunk-HRMLGU6A.cjs → chunk-3EPG56RK.cjs} +8 -8
- package/dist/{chunk-UYGXJ5SQ.cjs → chunk-3WNCFZGN.cjs} +2 -2
- package/dist/{chunk-2JCY5KQL.cjs → chunk-4W77VLQV.cjs} +4 -4
- package/dist/{chunk-M7E7ILE5.cjs → chunk-55TGW6BF.cjs} +6 -6
- package/dist/{chunk-E56LN23H.cjs → chunk-66ZQ7LDR.cjs} +73 -48
- package/dist/{chunk-VMQAJIQC.cjs → chunk-6JRQ57DU.cjs} +884 -895
- package/dist/{chunk-A7NRENMU.cjs → chunk-6UGNFMZB.cjs} +36 -36
- package/dist/{chunk-Y5XHMEBB.cjs → chunk-76NE67PK.cjs} +5 -5
- package/dist/{chunk-NCQJIYDN.cjs → chunk-AC5EBHAX.cjs} +28 -28
- package/dist/{chunk-OG4XH6C5.cjs → chunk-AZJYMTBS.cjs} +33 -33
- package/dist/{chunk-D3IQHAGL.cjs → chunk-BVSZTKI3.cjs} +34 -21
- package/dist/{chunk-7E4BC3AF.cjs → chunk-F2VN3UUB.cjs} +485 -513
- package/dist/{chunk-DTBIIFZG.cjs → chunk-FLW2VL5W.cjs} +21 -21
- package/dist/{chunk-FS4TVAE7.cjs → chunk-FQ4LYYBI.cjs} +52 -52
- package/dist/{chunk-VVLL37EM.cjs → chunk-GAHXURKJ.cjs} +6 -6
- package/dist/{chunk-7MV23NNT.cjs → chunk-JLKGLPDC.cjs} +109 -21
- package/dist/{chunk-3NGJ7NPT.cjs → chunk-KVJKKVB3.cjs} +7 -7
- package/dist/{chunk-52NI57KM.cjs → chunk-LZIQXGAW.cjs} +91 -88
- package/dist/{chunk-DYDS2P5G.cjs → chunk-MEDSJCEX.cjs} +4 -4
- package/dist/{chunk-FFRFKWTZ.cjs → chunk-MHH7CHNI.cjs} +17 -14
- package/dist/{chunk-CRVXQYUZ.cjs → chunk-NBLQFJ4I.cjs} +100 -99
- package/dist/{chunk-YD344MMX.cjs → chunk-NXJ3O4WO.cjs} +15 -15
- package/dist/{chunk-YBTORXFY.cjs → chunk-PRCGRDHV.cjs} +40 -25
- package/dist/{chunk-75BFVMNA.cjs → chunk-QPBP7FKI.cjs} +52 -52
- package/dist/{chunk-ZPVFFPQM.cjs → chunk-RIRIA3FO.cjs} +4 -4
- package/dist/{chunk-XR323UBY.cjs → chunk-STLJCAIZ.cjs} +6 -3
- package/dist/{chunk-6UKH22NQ.cjs → chunk-TGOJHOQR.cjs} +2 -1
- package/dist/{chunk-FAUVDMH4.cjs → chunk-THY2XVGY.cjs} +198 -164
- package/dist/{chunk-6GCXQIUU.cjs → chunk-TT64NRFU.cjs} +4 -4
- package/dist/{chunk-3W2PBWD5.cjs → chunk-TTERV57X.cjs} +4 -4
- package/dist/{chunk-A7IT7MZO.cjs → chunk-UCBR27JM.cjs} +13 -13
- package/dist/{chunk-KVGWOJCX.cjs → chunk-V3T5MDJV.cjs} +2 -2
- package/dist/{chunk-5RGGUQ4Y.cjs → chunk-VXXOUM2K.cjs} +67 -1
- package/dist/{chunk-EJVJDLYC.cjs → chunk-WSKMV2QS.cjs} +3 -3
- package/dist/{chunk-2BUSXRZ7.cjs → chunk-XXARXK62.cjs} +26 -26
- package/dist/{chunk-HATRCNXJ.cjs → chunk-XYZBN6D7.cjs} +2 -2
- package/dist/{chunk-YMPCACQX.cjs → chunk-Z6Y5X5SF.cjs} +41 -41
- package/dist/{cloud-tenants-3SWYRUXB.cjs → cloud-tenants-LRXMISV4.cjs} +19 -19
- package/dist/components/agent-mark.d.ts.map +1 -1
- package/dist/components/agent-mark.js +2 -2
- package/dist/components/case-studies/index.cjs +35 -35
- package/dist/components/chat/approval-batch-message.d.ts +3 -1
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +88 -0
- package/dist/components/chat/chat-composer.d.ts +3 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +2 -0
- package/dist/components/chat/chat-context-memory-bar.d.ts +7 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +11 -5
- package/dist/components/chat/chat-message-row.d.ts.map +1 -1
- package/dist/components/chat/chat-message-row.js +3 -2
- package/dist/components/chat/embeddable-chat.d.ts +3 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.js +2 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-card.js +6 -6
- package/dist/components/chat/entity-cards/blog-image-placeholder.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-image-placeholder.js +2 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.js +10 -9
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.js +8 -7
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +12 -1
- package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/employee-entry-card.js +3 -2
- package/dist/components/chat/entity-cards/entity-portrait-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/entity-portrait-card.js +7 -5
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.js +2 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +13 -2
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +17 -5
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +5 -4
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +3 -2
- package/dist/components/contact/index.cjs +20 -20
- package/dist/components/docs/index.cjs +23 -23
- package/dist/components/embeds/index.cjs +20 -20
- package/dist/components/embeds/markdown-image.d.ts.map +1 -1
- package/dist/components/embeds/markdown-image.js +2 -1
- package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
- package/dist/components/embeds/og-link-preview.js +17 -6
- package/dist/components/embeds/twitter-embed-client.d.ts.map +1 -1
- package/dist/components/embeds/twitter-embed-client.js +3 -2
- package/dist/components/faq/index.cjs +21 -21
- package/dist/components/features/board/ticket-card.js +5 -5
- package/dist/components/features/index.cjs +19 -19
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/media-gallery-manager.js +2 -1
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-tile.js +3 -2
- package/dist/components/features/parallax-image-showcase.d.ts.map +1 -1
- package/dist/components/features/parallax-image-showcase.js +9 -35
- package/dist/components/features/select-button.d.ts.map +1 -1
- package/dist/components/features/select-button.js +3 -2
- package/dist/components/features/video-hover-preview.d.ts +1 -1
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +2 -1
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +13 -1
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +3 -3
- package/dist/components/help-center-pages/index.cjs +121 -121
- package/dist/components/hero-image-uploader.d.ts.map +1 -1
- package/dist/components/hero-image-uploader.js +12 -1
- package/dist/components/icon-display.d.ts.map +1 -1
- package/dist/components/icon-display.js +2 -1
- package/dist/components/index.cjs +137 -91
- 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 +4 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +21 -2
- package/dist/components/media-carousel.d.ts.map +1 -1
- package/dist/components/media-carousel.js +2 -1
- package/dist/components/meeting-scheduler/index.cjs +85 -85
- package/dist/components/navigation/index.cjs +22 -22
- package/dist/components/onboarding-guides/index.cjs +22 -22
- package/dist/components/platform/ScriptInfoSection.d.ts.map +1 -1
- package/dist/components/platform/ScriptInfoSection.js +12 -1
- package/dist/components/product-demo/index.cjs +30 -30
- package/dist/components/related-content/index.cjs +11 -11
- package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
- package/dist/components/shared/media-gallery-strip.js +3 -2
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.js +13 -2
- package/dist/components/tickets/index.cjs +26 -26
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/avatar-stack.js +4 -4
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/device-card.d.ts +6 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +2 -1
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/entity-image.js +3 -2
- package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
- package/dist/components/ui/image-gallery-modal.js +2 -1
- package/dist/components/ui/image-uploader.d.ts.map +1 -1
- package/dist/components/ui/image-uploader.js +2 -1
- package/dist/components/ui/index.cjs +37 -19
- 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/markdown/base-components.d.ts.map +1 -1
- package/dist/components/ui/markdown/base-components.js +2 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +15 -12
- package/dist/components/ui/photo-wall.d.ts +7 -3
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +3 -4
- package/dist/components/ui/square-avatar.d.ts +4 -1
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.js +2 -1
- package/dist/components/user-summary-stub.d.ts +1 -1
- package/dist/components/user-summary-stub.d.ts.map +1 -1
- package/dist/components/user-summary-stub.js +16 -6
- package/dist/components/vendor-display-button.d.ts.map +1 -1
- package/dist/components/vendor-display-button.js +13 -3
- package/dist/components/vendor-icon.d.ts +7 -4
- package/dist/components/vendor-icon.d.ts.map +1 -1
- package/dist/components/vendor-icon.js +22 -71
- package/dist/{devices-MQILRW53.cjs → devices-CETR72XY.cjs} +20 -20
- package/dist/{embeddable-chat-XZDZOHFY.cjs → embeddable-chat-GHBCX2BY.cjs} +85 -84
- package/dist/hooks/index.cjs +6 -6
- package/dist/hooks/ui/use-image-edge-color.d.ts.map +1 -1
- package/dist/hooks/ui/use-image-edge-color.js +4 -3
- package/dist/image-sizes.cjs +68 -0
- package/dist/index.cjs +43 -25
- package/dist/{knowledge-WQ3ABXZC.cjs → knowledge-A2MWEF23.cjs} +20 -20
- package/dist/{logs-XRSJGB3I.cjs → logs-47JODA6C.cjs} +27 -27
- package/dist/{policies-Q67ZXAGY.cjs → policies-OPIDR6XF.cjs} +23 -23
- package/dist/{remote-session-4LYKEZSY.cjs → remote-session-IQTPEG63.cjs} +8 -8
- package/dist/{scripts-YX324R4S.cjs → scripts-4MQGJWFP.cjs} +26 -26
- package/dist/{software-update-PHMXJVAC.cjs → software-update-MQIGPBZ6.cjs} +23 -23
- package/dist/styles/image-sizes.d.ts +110 -0
- package/dist/styles/image-sizes.d.ts.map +1 -0
- package/dist/styles/image-sizes.js +66 -0
- package/dist/{tickets-board-3FBVYSXR.cjs → tickets-board-QF5JNSH2.cjs} +11 -11
- package/eslint-config/base.js +12 -0
- package/eslint-config/image-sizes.js +51 -0
- package/package.json +8 -1
- package/src/components/agent-mark.tsx +3 -4
- package/src/components/chat/approval-batch-message.tsx +109 -1
- package/src/components/chat/chat-composer.tsx +4 -0
- package/src/components/chat/chat-context-memory-bar.tsx +28 -5
- package/src/components/chat/chat-message-row.tsx +3 -2
- package/src/components/chat/embeddable-chat.tsx +4 -0
- package/src/components/chat/entity-cards/admin-content-card.tsx +2 -1
- package/src/components/chat/entity-cards/blog-card.tsx +6 -6
- package/src/components/chat/entity-cards/blog-image-placeholder.tsx +2 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +10 -9
- package/src/components/chat/entity-cards/customer-interview-card.tsx +8 -7
- package/src/components/chat/entity-cards/dispatch.tsx +9 -1
- package/src/components/chat/entity-cards/employee-entry-card.tsx +3 -2
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +7 -5
- package/src/components/chat/entity-cards/investor-update-card.tsx +2 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +10 -2
- package/src/components/chat/entity-cards/program-card.tsx +14 -5
- package/src/components/chat/entity-cards/roadmap-card.tsx +5 -4
- package/src/components/chat/mingo-info-card.tsx +3 -2
- package/src/components/embeds/markdown-image.tsx +2 -1
- package/src/components/embeds/og-link-preview.tsx +14 -6
- package/src/components/embeds/twitter-embed-client.tsx +3 -2
- package/src/components/features/board/ticket-card.tsx +7 -6
- package/src/components/features/media-gallery-manager.tsx +2 -2
- package/src/components/features/notifications/notification-tile.tsx +3 -2
- package/src/components/features/parallax-image-showcase.tsx +9 -26
- package/src/components/features/select-button.tsx +3 -2
- package/src/components/features/video-hover-preview.tsx +3 -2
- package/src/components/features/video.tsx +10 -1
- package/src/components/features/walkthrough-video.tsx +7 -10
- package/src/components/hero-image-uploader.tsx +9 -1
- package/src/components/icon-display.tsx +2 -1
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +22 -3
- package/src/components/media-carousel.tsx +2 -1
- package/src/components/platform/ScriptInfoSection.tsx +9 -1
- package/src/components/shared/media-gallery-strip.tsx +4 -2
- package/src/components/shared/product-release/product-release-card.tsx +10 -2
- package/src/components/ui/avatar-stack.tsx +6 -6
- package/src/components/ui/data-table/data-table-body.tsx +9 -0
- package/src/components/ui/device-card.tsx +7 -1
- package/src/components/ui/entity-image.tsx +3 -2
- package/src/components/ui/image-gallery-modal.tsx +2 -1
- package/src/components/ui/image-uploader.tsx +2 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/markdown/base-components.tsx +2 -1
- package/src/components/ui/page-actions.tsx +28 -14
- package/src/components/ui/photo-wall.tsx +10 -14
- package/src/components/ui/square-avatar.tsx +6 -3
- package/src/components/user-summary-stub.tsx +14 -7
- package/src/components/vendor-display-button.tsx +10 -3
- package/src/components/vendor-icon.tsx +31 -97
- package/src/hooks/ui/use-image-edge-color.ts +8 -4
- package/src/styles/image-sizes.ts +114 -0
|
@@ -14,7 +14,7 @@ var _chunkC7GIHB3Vcjs = require('./chunk-C7GIHB3V.cjs');
|
|
|
14
14
|
var _chunkHFNBMV5Mcjs = require('./chunk-HFNBMV5M.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkXYZBN6D7cjs = require('./chunk-XYZBN6D7.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
@@ -25,25 +25,28 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk4W77VLQVcjs = require('./chunk-4W77VLQV.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkTGOJHOQRcjs = require('./chunk-TGOJHOQR.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
|
|
41
|
+
var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
|
|
48
|
+
|
|
49
|
+
|
|
47
50
|
var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
|
|
48
51
|
|
|
49
52
|
|
|
@@ -71,12 +74,12 @@ function formatTicketRelativeTime(iso) {
|
|
|
71
74
|
if (diffMin < 60) return `${diffMin} min ago`;
|
|
72
75
|
const diffHours = Math.floor(diffMin / 60);
|
|
73
76
|
if (diffHours < 24) return diffHours === 1 ? "1 hour ago" : `${diffHours} hours ago`;
|
|
74
|
-
return
|
|
77
|
+
return _chunkTGOJHOQRcjs.formatDateWithTimezone.call(void 0, date, _chunkTGOJHOQRcjs.VIEWER_TIMEZONE, "numeric", { viewerLocale: true });
|
|
75
78
|
}
|
|
76
79
|
function formatTicketFullTimestamp(iso) {
|
|
77
|
-
return
|
|
80
|
+
return _chunkTGOJHOQRcjs.formatDateWithTimezone.call(void 0,
|
|
78
81
|
iso,
|
|
79
|
-
|
|
82
|
+
_chunkTGOJHOQRcjs.VIEWER_TIMEZONE,
|
|
80
83
|
{ year: "numeric", month: "2-digit", day: "2-digit", hour: "numeric", minute: "2-digit" },
|
|
81
84
|
{ viewerLocale: true }
|
|
82
85
|
);
|
|
@@ -105,7 +108,7 @@ function formatRelativeTimeFrom(timestamp, now) {
|
|
|
105
108
|
const weeks = Math.floor(diffInDays / 7);
|
|
106
109
|
return `${weeks}w ago`;
|
|
107
110
|
}
|
|
108
|
-
return
|
|
111
|
+
return _chunkTGOJHOQRcjs.formatDateWithTimezone.call(void 0, targetTime, null, {
|
|
109
112
|
month: "short",
|
|
110
113
|
day: "numeric",
|
|
111
114
|
year: targetTime.getUTCFullYear() !== now.getUTCFullYear() ? "numeric" : void 0
|
|
@@ -117,7 +120,7 @@ function formatAbsoluteDate(timestamp, options = {}) {
|
|
|
117
120
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatAbsoluteDate:", timestamp);
|
|
118
121
|
return "Invalid date";
|
|
119
122
|
}
|
|
120
|
-
return
|
|
123
|
+
return _chunkTGOJHOQRcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
121
124
|
year: "numeric",
|
|
122
125
|
month: "short",
|
|
123
126
|
day: "numeric",
|
|
@@ -130,7 +133,7 @@ function formatDateTime(timestamp, options = {}) {
|
|
|
130
133
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatDateTime:", timestamp);
|
|
131
134
|
return "Invalid date";
|
|
132
135
|
}
|
|
133
|
-
return
|
|
136
|
+
return _chunkTGOJHOQRcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
134
137
|
...ZONED_DATE_FIELDS_MEDIUM_DATETIME,
|
|
135
138
|
...options
|
|
136
139
|
});
|
|
@@ -289,13 +292,13 @@ function TicketStatusTag({
|
|
|
289
292
|
const config = getTicketStatusConfig(status);
|
|
290
293
|
const customStyle = color ? {
|
|
291
294
|
"--tag-bg": color,
|
|
292
|
-
"--tag-bg-hover":
|
|
293
|
-
"--tag-bg-active":
|
|
294
|
-
color:
|
|
295
|
+
"--tag-bg-hover": _chunk4W77VLQVcjs.deriveHoverColor.call(void 0, color),
|
|
296
|
+
"--tag-bg-active": _chunk4W77VLQVcjs.deriveActiveColor.call(void 0, color),
|
|
297
|
+
color: _chunk4W77VLQVcjs.getReadableTextColor.call(void 0, color)
|
|
295
298
|
} : void 0;
|
|
296
299
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
297
300
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
298
|
-
|
|
301
|
+
_chunkTGOJHOQRcjs.Tag,
|
|
299
302
|
{
|
|
300
303
|
loading,
|
|
301
304
|
label: _nullishCoalesce(label, () => ( config.label)),
|
|
@@ -348,7 +351,7 @@ function TicketStatusTag({
|
|
|
348
351
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
349
352
|
// The tag's variant styling, split into a label section and a separated chevron section (the common
|
|
350
353
|
// dropdown-button seam). Custom color: bg/hover/active from the CSS vars set above.
|
|
351
|
-
|
|
354
|
+
_chunkTGOJHOQRcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(variant, () => ( config.variant)) }),
|
|
352
355
|
"items-stretch justify-start gap-0 overflow-hidden p-0",
|
|
353
356
|
customColorClasses
|
|
354
357
|
),
|
|
@@ -624,7 +627,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
624
627
|
const hasExpandableBody = args.length > 0 || typeof result === "string" && result.length > 0;
|
|
625
628
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start border-b border-ods-border bg-ods-card last:border-b-0", children: [
|
|
626
629
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", onClick: onToggle, "aria-expanded": expanded, children: [
|
|
627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXYZBN6D7cjs.ToolIcon, { toolType, size: 16 }) }),
|
|
628
631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
629
632
|
"div",
|
|
630
633
|
{
|
|
@@ -650,6 +653,79 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
650
653
|
] }) }) })
|
|
651
654
|
] });
|
|
652
655
|
}
|
|
656
|
+
var ApprovalBatchLoading = _react.forwardRef.call(void 0,
|
|
657
|
+
({ className, showFooterActions, variant, ...props }, ref) => variant === "client" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "aria-hidden": true, className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", CHAT_BLOCK_CLASS, className), ...props, children: [
|
|
658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "inline-block w-3/4 align-middle" }) }),
|
|
659
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalWaitingLine, {}),
|
|
660
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
662
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
663
|
+
{
|
|
664
|
+
size: "small-legacy",
|
|
665
|
+
variant: "accent",
|
|
666
|
+
tabIndex: -1,
|
|
667
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
668
|
+
children: "Approve"
|
|
669
|
+
}
|
|
670
|
+
),
|
|
671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
672
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
673
|
+
{
|
|
674
|
+
size: "small-legacy",
|
|
675
|
+
variant: "outline",
|
|
676
|
+
tabIndex: -1,
|
|
677
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
678
|
+
children: "Reject"
|
|
679
|
+
}
|
|
680
|
+
)
|
|
681
|
+
] })
|
|
682
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
683
|
+
"div",
|
|
684
|
+
{
|
|
685
|
+
ref,
|
|
686
|
+
"aria-hidden": true,
|
|
687
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)] flex flex-col overflow-hidden", CHAT_BLOCK_FRAME_CLASS, className),
|
|
688
|
+
...props,
|
|
689
|
+
children: [
|
|
690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col items-start bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", tabIndex: -1, children: [
|
|
691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.MediaSkeleton.Icon, { size: "sm" }) }),
|
|
692
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col text-h6", children: [
|
|
693
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", className: "w-full" }),
|
|
694
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", className: "w-2/3" })
|
|
695
|
+
] }),
|
|
696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExpandChevron, { expanded: false }) })
|
|
697
|
+
] }) }),
|
|
698
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-center gap-[var(--spacing-system-xsf)] border-t border-ods-border p-[var(--spacing-system-sf)]", children: [
|
|
699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "w-full list-disc pl-5 text-ods-text-primary text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "inline-block w-3/4 align-middle" }) }) }),
|
|
700
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalWaitingLine, {}),
|
|
701
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
702
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
703
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
704
|
+
{
|
|
705
|
+
size: "small-legacy",
|
|
706
|
+
variant: "accent",
|
|
707
|
+
tabIndex: -1,
|
|
708
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
709
|
+
children: "Approve"
|
|
710
|
+
}
|
|
711
|
+
),
|
|
712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
713
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
714
|
+
{
|
|
715
|
+
size: "small-legacy",
|
|
716
|
+
variant: "outline",
|
|
717
|
+
tabIndex: -1,
|
|
718
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
719
|
+
children: "Reject"
|
|
720
|
+
}
|
|
721
|
+
)
|
|
722
|
+
] })
|
|
723
|
+
] })
|
|
724
|
+
]
|
|
725
|
+
}
|
|
726
|
+
)
|
|
727
|
+
);
|
|
728
|
+
ApprovalBatchLoading.displayName = "ApprovalBatchLoading";
|
|
653
729
|
var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
654
730
|
({
|
|
655
731
|
className,
|
|
@@ -668,6 +744,19 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
668
744
|
const [expandedId, setExpandedId] = _react.useState.call(void 0, null);
|
|
669
745
|
const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
|
|
670
746
|
const isClient = variant === "client";
|
|
747
|
+
const inLoadingScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
748
|
+
if (inLoadingScope || data === null) {
|
|
749
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
750
|
+
ApprovalBatchLoading,
|
|
751
|
+
{
|
|
752
|
+
ref,
|
|
753
|
+
className,
|
|
754
|
+
variant,
|
|
755
|
+
showFooterActions,
|
|
756
|
+
...props
|
|
757
|
+
}
|
|
758
|
+
);
|
|
759
|
+
}
|
|
671
760
|
const explanations = data.toolCalls.map((c) => _optionalChain([c, 'access', _2 => _2.toolExplanation, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()])).filter((s) => !!s);
|
|
672
761
|
const handleApprove = async () => {
|
|
673
762
|
setIsProcessing(true);
|
|
@@ -777,14 +866,13 @@ ApprovalBatchMessage.displayName = "ApprovalBatchMessage";
|
|
|
777
866
|
// src/components/agent-mark.tsx
|
|
778
867
|
|
|
779
868
|
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
const identity = _chunk2JCY5KQLcjs.useAgentIdentityIcon.call(void 0, agent);
|
|
869
|
+
function AgentMark({ agent, className = "", color = _chunk4W77VLQVcjs.AGENT_GLYPH_COLOR }) {
|
|
870
|
+
const identity = _chunk4W77VLQVcjs.useAgentIdentityIcon.call(void 0, agent);
|
|
783
871
|
if (_optionalChain([identity, 'optionalAccess', _15 => _15.url])) {
|
|
784
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUXHXLJQcjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes:
|
|
872
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUXHXLJQcjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes: _chunkVXXOUM2Kcjs.fixedImageSlot.call(void 0, "mark"), className: _chunk4W77VLQVcjs.AGENT_PICTURE_CLASS }) });
|
|
785
873
|
}
|
|
786
874
|
if (_optionalChain([identity, 'optionalAccess', _16 => _16.name])) {
|
|
787
|
-
return _react.createElement.call(void 0,
|
|
875
|
+
return _react.createElement.call(void 0, _chunkVXXOUM2Kcjs.resolveIcon.call(void 0, identity.name), {
|
|
788
876
|
className,
|
|
789
877
|
"aria-hidden": true,
|
|
790
878
|
color,
|
|
@@ -10,18 +10,18 @@ var _chunkUYHKZN5Dcjs = require('./chunk-UYHKZN5D.cjs');
|
|
|
10
10
|
var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkGAHXURKJcjs = require('./chunk-GAHXURKJ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkTGOJHOQRcjs = require('./chunk-TGOJHOQR.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkAQXKXZWBcjs = require('./chunk-AQXKXZWB.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -747,7 +747,7 @@ function SlashCommandSuggestions({
|
|
|
747
747
|
className
|
|
748
748
|
),
|
|
749
749
|
children: commands.map((cmd, idx) => {
|
|
750
|
-
const Icon =
|
|
750
|
+
const Icon = _chunkVXXOUM2Kcjs.resolveIcon.call(void 0, cmd.iconName);
|
|
751
751
|
const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
|
|
752
752
|
const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
|
|
753
753
|
const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
|
|
@@ -843,7 +843,7 @@ function buildChipEl(token, label, icon) {
|
|
|
843
843
|
span.className = "mx-0.5 inline-flex h-9 items-center select-none align-top";
|
|
844
844
|
span.innerHTML = _server.renderToStaticMarkup.call(void 0,
|
|
845
845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
846
|
-
|
|
846
|
+
_chunkTGOJHOQRcjs.Tag,
|
|
847
847
|
{
|
|
848
848
|
as: "span",
|
|
849
849
|
variant: "badge",
|
|
@@ -1231,7 +1231,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
1231
1231
|
className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
|
|
1232
1232
|
children: [
|
|
1233
1233
|
awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1234
|
-
|
|
1234
|
+
_chunkGAHXURKJcjs.AvatarStack,
|
|
1235
1235
|
{
|
|
1236
1236
|
people: awaitingTeam,
|
|
1237
1237
|
total: awaitingTeamCount,
|
|
@@ -1390,7 +1390,7 @@ ChatInput.displayName = "ChatInput";
|
|
|
1390
1390
|
|
|
1391
1391
|
// src/utils/format-date.ts
|
|
1392
1392
|
var INVALID_DATE_PLACEHOLDER = "\u2014";
|
|
1393
|
-
var render = (input, fields) =>
|
|
1393
|
+
var render = (input, fields) => _chunkTGOJHOQRcjs.formatDateWithTimezone.call(void 0, input, _chunkTGOJHOQRcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
|
|
1394
1394
|
var formatDate = (input) => render(input, { dateStyle: "short" });
|
|
1395
1395
|
var formatTime = (input) => render(input, { timeStyle: "short" });
|
|
1396
1396
|
|