@flamingo-stack/openframe-frontend-core 0.0.730 → 0.0.732
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/aicpa-soc2-logo-icon-MLDYZA5S.cjs +7 -0
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-SKDQ2SLJ.cjs → chunk-22ZK7BA3.cjs} +1345 -1127
- package/dist/{chunk-5RMCAY6Y.cjs → chunk-27TMRMOM.cjs} +6 -4
- package/dist/{chunk-P4YHBHP4.cjs → chunk-3BLBWZ6A.cjs} +7 -7
- package/dist/{chunk-2T2TH5DF.cjs → chunk-52HFGZCI.cjs} +14 -12
- package/dist/{chunk-L7Y7KDTM.cjs → chunk-5HMGK3N6.cjs} +20 -20
- package/dist/{chunk-66QTEDJL.cjs → chunk-5HSMTSHU.cjs} +28 -28
- package/dist/{chunk-WTURHKM2.cjs → chunk-6HHUU56Y.cjs} +16 -16
- package/dist/{chunk-AIW4KZQT.cjs → chunk-6KDGIOLP.cjs} +89 -89
- package/dist/{chunk-4XQXTQUK.cjs → chunk-6N5NQRQA.cjs} +8 -6
- package/dist/{chunk-5KLNEFZZ.cjs → chunk-7DUXR4HL.cjs} +3 -3
- package/dist/chunk-AEVGCB3Y.cjs +417 -0
- package/dist/{chunk-A7T3P5Q5.cjs → chunk-BDTX2OEE.cjs} +32 -32
- package/dist/{chunk-Q5GR7LKV.cjs → chunk-BS4EZZCN.cjs} +15 -15
- package/dist/{chunk-JNDR5N3T.cjs → chunk-C5NERNE6.cjs} +93 -93
- package/dist/{chunk-UHJG2BDI.cjs → chunk-CC3LINHF.cjs} +98 -50
- package/dist/{chunk-FRET5WH3.cjs → chunk-CKR42OBK.cjs} +4 -2
- package/dist/{chunk-GJPAS4RJ.cjs → chunk-CT342EJU.cjs} +6 -4
- package/dist/{chunk-PGFR4CDB.cjs → chunk-CUF3IYIB.cjs} +40 -40
- package/dist/{chunk-YHFXQ5OR.cjs → chunk-E3N24573.cjs} +9 -9
- package/dist/{chunk-24KWUFWA.cjs → chunk-G37LT2ID.cjs} +43 -39
- package/dist/{chunk-UG7Q3HQH.cjs → chunk-GID62YEN.cjs} +3 -3
- package/dist/{chunk-NDHQ7JLZ.cjs → chunk-GKHWXI25.cjs} +11 -15
- package/dist/chunk-HELVKMRG.cjs +28 -0
- package/dist/{chunk-KMMV562E.cjs → chunk-HH4BMYDX.cjs} +32 -379
- package/dist/{chunk-FGA6T2XT.cjs → chunk-I46MQ4R5.cjs} +82 -82
- package/dist/{chunk-YJXUJWHN.cjs → chunk-J7SZOZOS.cjs} +28 -26
- package/dist/{chunk-NXCV35RR.cjs → chunk-KLXHCNDC.cjs} +3 -3
- package/dist/{chunk-6KD2XUQZ.cjs → chunk-LRQITIEC.cjs} +28 -26
- package/dist/chunk-MANNIJ42.cjs +967 -0
- package/dist/{chunk-2V62Y67F.cjs → chunk-MEDDKM3A.cjs} +4 -4
- package/dist/{chunk-CLA3UGKT.cjs → chunk-MVZ6XFPK.cjs} +12 -12
- package/dist/{chunk-TI2IFCZG.cjs → chunk-N466AJGN.cjs} +17 -17
- package/dist/{chunk-TW2SES5W.cjs → chunk-NCGAP3U4.cjs} +4 -2
- package/dist/{chunk-DINGZJ37.cjs → chunk-NYY25425.cjs} +2 -2
- package/dist/{chunk-HVZBIXCZ.cjs → chunk-O2RPIGSG.cjs} +6 -4
- package/dist/{chunk-YRZB4BMZ.cjs → chunk-OI7VCXYU.cjs} +48 -50
- package/dist/{chunk-XA436AER.cjs → chunk-OJ3XU3YZ.cjs} +4 -4
- package/dist/{chunk-UYKL2AXE.cjs → chunk-OKW5OAFJ.cjs} +8 -6
- package/dist/{chunk-6NKLR5QN.cjs → chunk-PRWBVIWW.cjs} +59 -59
- package/dist/chunk-PX7FY655.cjs +114 -0
- package/dist/{chunk-CD5YBUJK.cjs → chunk-QMTC3BK3.cjs} +23 -21
- package/dist/{chunk-VQMWBQUJ.cjs → chunk-R4QMR6S4.cjs} +14 -12
- package/dist/{chunk-NB5BYOTM.cjs → chunk-RC32WBPL.cjs} +6 -4
- package/dist/{chunk-CDLDAQBA.cjs → chunk-RIXGLS5Y.cjs} +7 -7
- package/dist/{chunk-2I3XU2IB.cjs → chunk-SJRR745G.cjs} +63 -60
- package/dist/{chunk-XSPL7RXL.cjs → chunk-TLDCSTTQ.cjs} +12 -12
- package/dist/{chunk-3YHVQ34L.cjs → chunk-XOQ2UUVS.cjs} +93 -95
- package/dist/{chunk-YPM3ALIW.cjs → chunk-YGKVHSNQ.cjs} +42 -42
- package/dist/{chunk-4NFVFTD6.cjs → chunk-ZWMPAFGB.cjs} +238 -238
- package/dist/{chunk-GVTCHXW2.cjs → chunk-ZWUIRQNY.cjs} +28 -26
- package/dist/clickup-icon-3SETH2MM.cjs +7 -0
- package/dist/clickup-logo-icon-DJKBEFMR.cjs +7 -0
- package/dist/{cloud-tenants-VV6UQE7J.cjs → cloud-tenants-ILRE74JY.cjs} +36 -36
- package/dist/components/agent-identity.d.ts +8 -0
- package/dist/components/agent-identity.d.ts.map +1 -1
- package/dist/components/agent-identity.js +13 -1
- package/dist/components/case-studies/index.cjs +49 -49
- package/dist/components/chat/entity-cards/entity-portrait-card.js +1 -1
- package/dist/components/chat/index.cjs +30 -30
- package/dist/components/chat/types/entities/program-types.d.ts +1 -23
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.js +1 -9
- package/dist/components/chat/utils/icon-loading.d.ts +35 -2
- package/dist/components/chat/utils/icon-loading.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-loading.js +31 -9
- package/dist/components/contact/index.cjs +37 -37
- package/dist/components/docs/index.cjs +40 -40
- package/dist/components/embeds/index.cjs +37 -37
- package/dist/components/faq/index.cjs +37 -37
- package/dist/components/features/index.cjs +38 -36
- package/dist/components/features/video-bites-shared.cjs +8 -0
- package/dist/components/features/video-bites-shared.d.ts +25 -0
- package/dist/components/features/video-bites-shared.d.ts.map +1 -1
- package/dist/components/features/video-bites-shared.js +8 -0
- package/dist/components/help-center-pages/index.cjs +152 -152
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.js +11 -15
- package/dist/components/icons-v2-generated/icon-names.d.ts +5 -0
- package/dist/components/icons-v2-generated/icon-names.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/icon-names.js +10 -0
- package/dist/components/icons-v2-generated/index.cjs +15 -15
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.js +6 -4
- package/dist/components/index.cjs +103 -96
- package/dist/components/meeting-scheduler/index.cjs +98 -98
- package/dist/components/navigation/index.cjs +39 -39
- package/dist/components/onboarding-guides/index.cjs +39 -39
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -1
- package/dist/components/product-demo/screens/remote-desktop-picture.js +2 -1
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/shared/product-release/product-release-card.js +1 -1
- package/dist/components/tickets/index.cjs +40 -40
- package/dist/components/ui/device-wallpaper.d.ts +7 -0
- package/dist/components/ui/device-wallpaper.d.ts.map +1 -0
- package/dist/components/ui/device-wallpaper.js +5 -0
- package/dist/components/ui/feature-list.d.ts +9 -4
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/feature-list.js +26 -35
- package/dist/components/ui/index.cjs +42 -36
- package/dist/components/ui/index.d.ts +3 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -1
- package/dist/components/ui/notification-stack.d.ts +33 -0
- package/dist/components/ui/notification-stack.d.ts.map +1 -0
- package/dist/components/ui/notification-stack.js +78 -0
- package/dist/components/ui/numbered-step.d.ts +29 -0
- package/dist/components/ui/numbered-step.d.ts.map +1 -0
- package/dist/components/ui/numbered-step.js +57 -0
- package/dist/components/ui/phone-frame.d.ts +14 -9
- package/dist/components/ui/phone-frame.d.ts.map +1 -1
- package/dist/components/ui/phone-frame.js +50 -6
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.js +68 -0
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +4 -1
- package/dist/components/ui/snap-carousel.d.ts +5 -8
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +2 -27
- package/dist/components/ui/tab-navigation.d.ts +8 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +30 -20
- package/dist/{devices-X72Z4QMT.cjs → devices-A6SFNGE4.cjs} +37 -37
- package/dist/elestio-logo-grey-icon-DV7P3JLT.cjs +7 -0
- package/dist/elestio-logo-icon-34ILAIDI.cjs +7 -0
- package/dist/{embeddable-chat-TETIRLQD.cjs → embeddable-chat-BKPYNOIM.cjs} +105 -105
- package/dist/empty-vendor-icon-XZYOZ4EP.cjs +7 -0
- package/dist/eu-logo-icon-EYOX3UC7.cjs +7 -0
- package/dist/gemini-logo-icon-DNACTHIK.cjs +7 -0
- package/dist/google-gemini-icon-TZHJZ4IQ.cjs +7 -0
- package/dist/google-gemini-logo-icon-4XQVV5NN.cjs +7 -0
- package/dist/google-sheets-icon-UAAEBTR7.cjs +7 -0
- package/dist/hooks/index.cjs +9 -9
- package/dist/hooks/ui/use-autoplay.d.ts +50 -13
- package/dist/hooks/ui/use-autoplay.d.ts.map +1 -1
- package/dist/hooks/ui/use-autoplay.js +76 -13
- package/dist/hooks/ui/use-in-view.d.ts +8 -0
- package/dist/hooks/ui/use-in-view.d.ts.map +1 -1
- package/dist/hooks/ui/use-in-view.js +21 -36
- package/dist/hooks/use-agent-identities.d.ts +6 -0
- package/dist/hooks/use-agent-identities.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.d.ts +26 -9
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.js +12 -9
- package/dist/{chunk-SI24RMI5.cjs → icon-loaders-OLGJZGRP.cjs} +16 -950
- package/dist/index.cjs +72 -65
- package/dist/{knowledge-HWBSPQ7M.cjs → knowledge-5ZCVKUYV.cjs} +37 -37
- package/dist/{logs-IZ4QTHPI.cjs → logs-CL4OJASB.cjs} +44 -44
- package/dist/meshcentral-logo-grey-icon-UCRYV3IC.cjs +7 -0
- package/dist/meshcentral-logo-icon-76NSLOXF.cjs +7 -0
- package/dist/{policies-VHQR7JR5.cjs → policies-7D44ZVS5.cjs} +40 -40
- package/dist/{remote-session-IR3YCXSR.cjs → remote-session-QB3CIZRM.cjs} +24 -23
- package/dist/schemas/contact-schema.cjs +31 -11
- package/dist/schemas/contact-schema.d.ts +1 -1
- package/dist/schemas/contact-schema.d.ts.map +1 -1
- package/dist/schemas/contact-schema.js +1 -1
- package/dist/schemas/meeting-booking-schema.cjs +34 -14
- package/dist/schemas/meeting-booking-schema.d.ts +1 -1
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +1 -1
- package/dist/{software-update-QLOVC6EX.cjs → software-update-AX6TZL26.cjs} +40 -40
- package/dist/{tickets-board-YONLQB6F.cjs → tickets-board-7FAV2YWF.cjs} +27 -27
- package/dist/utils/index.cjs +2004 -1959
- package/dist/winget-logo-icon-GBS342G4.cjs +7 -0
- package/package.json +1 -1
- package/src/components/agent-identity.tsx +20 -1
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +1 -1
- package/src/components/chat/types/entities/program-types.ts +4 -30
- package/src/components/chat/utils/icon-loading.tsx +50 -9
- package/src/components/features/video-bites-shared.ts +30 -0
- package/src/components/icons-v2-generated/brand-logos/clickup-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/clickup-logo-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/brand-logos/gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-sheets-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/winget-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.tsx +92 -90
- package/src/components/icons-v2-generated/compliance-logos/eu-logo-icon.tsx +51 -52
- package/src/components/icons-v2-generated/icon-names.ts +11 -0
- package/src/components/icons-v2-generated/interface/empty-vendor-icon.tsx +7 -5
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +2 -1
- package/src/components/shared/product-release/product-release-card.tsx +1 -1
- package/src/components/ui/device-wallpaper.ts +7 -0
- package/src/components/ui/feature-list.tsx +24 -30
- package/src/components/ui/index.ts +3 -1
- package/src/components/ui/notification-stack.tsx +133 -0
- package/src/components/ui/numbered-step.tsx +81 -0
- package/src/components/ui/phone-frame.tsx +83 -19
- package/src/components/ui/phone-glyphs/lock-camera-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/lock-flashlight-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/status-bar-glyphs.tsx +45 -0
- package/src/components/ui/photo-wall.tsx +6 -0
- package/src/components/ui/snap-carousel.tsx +6 -38
- package/src/components/ui/tab-navigation.tsx +49 -21
- package/src/hooks/ui/use-autoplay.ts +144 -27
- package/src/hooks/ui/use-in-view.ts +31 -38
- package/src/hooks/use-agent-identities.ts +6 -0
- package/src/hooks/use-scenario-player.ts +44 -20
- package/src/schemas/contact-schema.ts +1 -1
- package/src/schemas/meeting-booking-schema.ts +1 -1
- package/src/styles/fonts.css +26 -0
- package/src/styles/ods-design-tokens.css +4 -2
- package/dist/aicpa-soc2-logo-icon-CJ5JRV6J.cjs +0 -7
- package/dist/chunk-73MDSN5A.cjs +0 -99
- package/dist/chunk-BE2WAMG5.cjs +0 -54
- package/dist/chunk-LCTDHLDL.cjs +0 -43
- package/dist/clickup-icon-CBBUZUVQ.cjs +0 -7
- package/dist/clickup-logo-icon-CGDKKISS.cjs +0 -7
- package/dist/components/ui/playback-toggle.d.ts +0 -24
- package/dist/components/ui/playback-toggle.d.ts.map +0 -1
- package/dist/components/ui/playback-toggle.js +0 -32
- package/dist/elestio-logo-grey-icon-Y5OFW4OO.cjs +0 -7
- package/dist/elestio-logo-icon-X7TTQAYP.cjs +0 -7
- package/dist/empty-vendor-icon-3RKCZUUR.cjs +0 -7
- package/dist/eu-logo-icon-N7QVPGG3.cjs +0 -7
- package/dist/gemini-logo-icon-QOPGATSZ.cjs +0 -7
- package/dist/google-gemini-icon-7GWWF6O6.cjs +0 -7
- package/dist/google-gemini-logo-icon-Z3GHPMVN.cjs +0 -7
- package/dist/google-sheets-icon-7MJ3LV4P.cjs +0 -7
- package/dist/meshcentral-logo-grey-icon-3VFJQMV2.cjs +0 -7
- package/dist/meshcentral-logo-icon-MDVBWMP5.cjs +0 -7
- package/dist/winget-logo-icon-XVZJ4QDM.cjs +0 -7
- package/src/components/ui/playback-toggle.tsx +0 -53
package/dist/chunk-73MDSN5A.cjs
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkSI24RMI5cjs = require('./chunk-SI24RMI5.cjs');
|
|
5
|
-
|
|
6
|
-
// src/components/tool-icon.tsx
|
|
7
|
-
var _react = require('react');
|
|
8
|
-
var TOOL_ICONS = /* @__PURE__ */ new Map();
|
|
9
|
-
function toolIcon(toolType) {
|
|
10
|
-
const known = TOOL_ICONS.get(toolType);
|
|
11
|
-
if (known !== void 0) return known;
|
|
12
|
-
const words = toolType.toLowerCase().split("_").filter(Boolean);
|
|
13
|
-
let icon = null;
|
|
14
|
-
for (let count = words.length; count >= 1 && !icon; count -= 1) {
|
|
15
|
-
icon = _chunkSI24RMI5cjs.findIcon.call(void 0, `${words.slice(0, count).join("-")}-logo-grey`);
|
|
16
|
-
}
|
|
17
|
-
TOOL_ICONS.set(toolType, icon);
|
|
18
|
-
return icon;
|
|
19
|
-
}
|
|
20
|
-
var ToolIcon = ({ toolType, size = 16, className }) => {
|
|
21
|
-
const icon = toolIcon(toolType);
|
|
22
|
-
return icon ? _react.createElement.call(void 0, icon, { size, className }) : null;
|
|
23
|
-
};
|
|
24
|
-
ToolIcon.displayName = "ToolIcon";
|
|
25
|
-
|
|
26
|
-
// src/utils/common.ts
|
|
27
|
-
var _clsx = require('clsx');
|
|
28
|
-
var _tailwindmerge = require('tailwind-merge');
|
|
29
|
-
function errorMessage(error, fallback = "Something went wrong") {
|
|
30
|
-
if (error instanceof Error && error.message) return error.message;
|
|
31
|
-
if (typeof error === "string" && error) return error;
|
|
32
|
-
if (typeof error === "object" && error !== null) {
|
|
33
|
-
const message = error.message;
|
|
34
|
-
if (typeof message === "string" && message) return message;
|
|
35
|
-
}
|
|
36
|
-
return fallback;
|
|
37
|
-
}
|
|
38
|
-
function apiErrorMessage(payload, fallback) {
|
|
39
|
-
if (typeof payload === "object" && payload !== null && "error" in payload) {
|
|
40
|
-
const { error } = payload;
|
|
41
|
-
if (typeof error === "string" && error) return error;
|
|
42
|
-
}
|
|
43
|
-
return errorMessage(payload, fallback);
|
|
44
|
-
}
|
|
45
|
-
function delay(ms) {
|
|
46
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
47
|
-
}
|
|
48
|
-
function generateRandomString(length = 8) {
|
|
49
|
-
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
50
|
-
let result = "";
|
|
51
|
-
for (let i = 0; i < length; i++) {
|
|
52
|
-
result += chars.charAt(Math.floor(Math.random() * chars.length));
|
|
53
|
-
}
|
|
54
|
-
return result;
|
|
55
|
-
}
|
|
56
|
-
function truncateString(str, maxLength, suffix = "...") {
|
|
57
|
-
if (str.length <= maxLength) return str;
|
|
58
|
-
return str.substring(0, maxLength - suffix.length) + suffix;
|
|
59
|
-
}
|
|
60
|
-
function serializeJsonLd(schema) {
|
|
61
|
-
return JSON.stringify(schema).replace(/</g, "\\u003c");
|
|
62
|
-
}
|
|
63
|
-
function deepClone(obj) {
|
|
64
|
-
return JSON.parse(JSON.stringify(obj));
|
|
65
|
-
}
|
|
66
|
-
function getSlackCommunityJoinUrl() {
|
|
67
|
-
const url = process.env.NEXT_PUBLIC_SLACK_COMMUNITY_JOIN_URL;
|
|
68
|
-
if (!url) {
|
|
69
|
-
console.warn("NEXT_PUBLIC_SLACK_COMMUNITY_JOIN_URL is not defined in environment variables");
|
|
70
|
-
return "https://join.slack.com/t/openmsp/shared_invite/zt-36bl7mx0h-3~U2nFH6nqHqoTPXMaHEHA";
|
|
71
|
-
}
|
|
72
|
-
return url;
|
|
73
|
-
}
|
|
74
|
-
function clamp(value, min, max) {
|
|
75
|
-
return Math.min(Math.max(value, min), max);
|
|
76
|
-
}
|
|
77
|
-
function pick(source, keys) {
|
|
78
|
-
const out = {};
|
|
79
|
-
for (const key of keys) {
|
|
80
|
-
if (key in source) out[key] = source[key];
|
|
81
|
-
}
|
|
82
|
-
return out;
|
|
83
|
-
}
|
|
84
|
-
var NO_CLIENT_CACHE = { staleTime: 0 };
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
exports.ToolIcon = ToolIcon; exports.errorMessage = errorMessage; exports.apiErrorMessage = apiErrorMessage; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.clamp = clamp; exports.pick = pick; exports.NO_CLIENT_CACHE = NO_CLIENT_CACHE;
|
package/dist/chunk-BE2WAMG5.cjs
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkLCTDHLDLcjs = require('./chunk-LCTDHLDL.cjs');
|
|
6
|
-
|
|
7
|
-
// src/components/agent-identity.tsx
|
|
8
|
-
var _react = require('react');
|
|
9
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
10
|
-
var AGENT_GLYPH_COLOR = "var(--color-text-primary)";
|
|
11
|
-
var AGENT_PICTURE_CLASS = "rounded-full object-cover";
|
|
12
|
-
var AgentIdentityContext = _react.createContext.call(void 0, null);
|
|
13
|
-
function Provide({ icons, children }) {
|
|
14
|
-
const bySlug = _react.useMemo.call(void 0, () => {
|
|
15
|
-
const map = /* @__PURE__ */ new Map();
|
|
16
|
-
for (const [slug, icon] of Object.entries(_nullishCoalesce(icons, () => ( {})))) if (icon) map.set(slug, icon);
|
|
17
|
-
return map;
|
|
18
|
-
}, [icons]);
|
|
19
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AgentIdentityContext.Provider, { value: bySlug, children });
|
|
20
|
-
}
|
|
21
|
-
function ProvideFromServer({
|
|
22
|
-
endpoint,
|
|
23
|
-
enabled,
|
|
24
|
-
children
|
|
25
|
-
}) {
|
|
26
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Provide, { icons: _chunkLCTDHLDLcjs.useAgentIdentities.call(void 0, endpoint, enabled), children });
|
|
27
|
-
}
|
|
28
|
-
function AgentIdentityProvider({
|
|
29
|
-
icons,
|
|
30
|
-
endpoint = _chunkLCTDHLDLcjs.AGENT_IDENTITIES_API_PATH,
|
|
31
|
-
enabled = true,
|
|
32
|
-
children
|
|
33
|
-
}) {
|
|
34
|
-
if (icons) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Provide, { icons, children });
|
|
35
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProvideFromServer, { endpoint, enabled, children });
|
|
36
|
-
}
|
|
37
|
-
function useAgentIdentityIcon(slug) {
|
|
38
|
-
const identities = _react.useContext.call(void 0, AgentIdentityContext);
|
|
39
|
-
const unprovided = !identities && Boolean(slug);
|
|
40
|
-
_react.useEffect.call(void 0, () => {
|
|
41
|
-
if (!unprovided || process.env.NODE_ENV === "production") return;
|
|
42
|
-
console.error(
|
|
43
|
-
`[AgentIdentity] the mark of "${slug}" was asked for with no <AgentIdentityProvider> above it: agents are drawn from their server identities only, so mount the provider once at the root.`
|
|
44
|
-
);
|
|
45
|
-
}, [unprovided, slug]);
|
|
46
|
-
return _optionalChain([identities, 'optionalAccess', _ => _.get, 'call', _2 => _2(_nullishCoalesce(slug, () => ( "")))]);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
exports.AGENT_GLYPH_COLOR = AGENT_GLYPH_COLOR; exports.AGENT_PICTURE_CLASS = AGENT_PICTURE_CLASS; exports.AgentIdentityProvider = AgentIdentityProvider; exports.useAgentIdentityIcon = useAgentIdentityIcon;
|
package/dist/chunk-LCTDHLDL.cjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkVOX4E6AXcjs = require('./chunk-VOX4E6AX.cjs');
|
|
6
|
-
|
|
7
|
-
// src/hooks/use-agent-identities.ts
|
|
8
|
-
var _reactquery = require('@tanstack/react-query');
|
|
9
|
-
|
|
10
|
-
// src/utils/embed-content-fetch.ts
|
|
11
|
-
var contentFetch = (input, init) => {
|
|
12
|
-
if (!_chunkVOX4E6AXcjs.hasEmbedAuthAdapter.call(void 0, )) return fetch(input, init);
|
|
13
|
-
const url = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
|
|
14
|
-
return _chunkVOX4E6AXcjs.embedAuthedFetch.call(void 0, url, init);
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
// src/hooks/use-agent-identities.ts
|
|
18
|
-
var AGENT_IDENTITIES_API_PATH = "/api/ai-agents";
|
|
19
|
-
async function fetchAgentIdentities(endpoint, signal) {
|
|
20
|
-
const response = await contentFetch(endpoint, { signal });
|
|
21
|
-
if (!response.ok) throw new Error(`agent identities read failed (${response.status})`);
|
|
22
|
-
const body = await response.json();
|
|
23
|
-
const icons = {};
|
|
24
|
-
for (const agent of _nullishCoalesce(_optionalChain([body, 'optionalAccess', _ => _.agents]), () => ( []))) if (agent.slug && agent.icon) icons[agent.slug] = agent.icon;
|
|
25
|
-
return icons;
|
|
26
|
-
}
|
|
27
|
-
function useAgentIdentities(endpoint = AGENT_IDENTITIES_API_PATH, enabled = true) {
|
|
28
|
-
const { data } = _reactquery.useQuery.call(void 0, {
|
|
29
|
-
queryKey: ["agent-identities", endpoint],
|
|
30
|
-
queryFn: ({ signal }) => fetchAgentIdentities(endpoint, signal),
|
|
31
|
-
staleTime: Infinity,
|
|
32
|
-
gcTime: Infinity,
|
|
33
|
-
retry: false,
|
|
34
|
-
enabled
|
|
35
|
-
});
|
|
36
|
-
return data;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
exports.contentFetch = contentFetch; exports.AGENT_IDENTITIES_API_PATH = AGENT_IDENTITIES_API_PATH; exports.useAgentIdentities = useAgentIdentities;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface PlaybackToggleProps {
|
|
2
|
-
paused: boolean;
|
|
3
|
-
onChange: (paused: boolean) => void;
|
|
4
|
-
/** The control's name while stopped ("Play demo"). */
|
|
5
|
-
playLabel?: string;
|
|
6
|
-
/** The control's name while moving ("Pause demo"). */
|
|
7
|
-
pauseLabel?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* THE stop/start control of anything that moves on its own (WCAG 2.2.2): one
|
|
12
|
-
* small icon button beside what it controls. A looping demo and an
|
|
13
|
-
* auto-advancing carousel show the same one, wired to `useAutoplay`'s
|
|
14
|
-
* `paused` / `setPaused`.
|
|
15
|
-
*
|
|
16
|
-
* It has to be there and easy to reach (a 32px target, a name, a focus ring),
|
|
17
|
-
* never the thing the eye lands on: no border and no surface, only a small
|
|
18
|
-
* grey glyph that takes the accent on hover and focus. The grey is the muted
|
|
19
|
-
* text token, the quietest one that still clears the 3:1 a control's glyph
|
|
20
|
-
* needs against the page (WCAG 1.4.11); the next grey down does not. The
|
|
21
|
-
* target stays 32px; it is the glyph that is small.
|
|
22
|
-
*/
|
|
23
|
-
export declare function PlaybackToggle({ paused, onChange, playLabel, pauseLabel, className, }: PlaybackToggleProps): import("react").JSX.Element;
|
|
24
|
-
//# sourceMappingURL=playback-toggle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"playback-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/playback-toggle.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,QAAQ,EACR,SAAkB,EAClB,UAAoB,EACpB,SAAS,GACV,EAAE,mBAAmB,+BAgBrB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "../../utils/cn.js";
|
|
4
|
-
import { PauseIcon } from "../icons-v2-generated/media-playback/pause-icon.js";
|
|
5
|
-
import { PlayIcon } from "../icons-v2-generated/media-playback/play-icon.js";
|
|
6
|
-
import { Button } from "./button/index.js";
|
|
7
|
-
function PlaybackToggle({
|
|
8
|
-
paused,
|
|
9
|
-
onChange,
|
|
10
|
-
playLabel = "Play",
|
|
11
|
-
pauseLabel = "Pause",
|
|
12
|
-
className
|
|
13
|
-
}) {
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
-
Button,
|
|
16
|
-
{
|
|
17
|
-
variant: "transparent",
|
|
18
|
-
size: "icon-sm",
|
|
19
|
-
className: cn(
|
|
20
|
-
"shrink-0 rounded-full border-0 text-ods-text-muted hover:text-ods-accent focus-visible:text-ods-accent [&_svg]:h-3 [&_svg]:w-3",
|
|
21
|
-
className
|
|
22
|
-
),
|
|
23
|
-
"aria-label": paused ? playLabel : pauseLabel,
|
|
24
|
-
"aria-pressed": paused,
|
|
25
|
-
onClick: () => onChange(!paused),
|
|
26
|
-
children: paused ? /* @__PURE__ */ jsx(PlayIcon, { size: 12 }) : /* @__PURE__ */ jsx(PauseIcon, { size: 12 })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
PlaybackToggle
|
|
32
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { cn } from '../../utils/cn';
|
|
4
|
-
import { PauseIcon } from '../icons-v2-generated/media-playback/pause-icon';
|
|
5
|
-
import { PlayIcon } from '../icons-v2-generated/media-playback/play-icon';
|
|
6
|
-
import { Button } from './button';
|
|
7
|
-
|
|
8
|
-
export interface PlaybackToggleProps {
|
|
9
|
-
paused: boolean;
|
|
10
|
-
onChange: (paused: boolean) => void;
|
|
11
|
-
/** The control's name while stopped ("Play demo"). */
|
|
12
|
-
playLabel?: string;
|
|
13
|
-
/** The control's name while moving ("Pause demo"). */
|
|
14
|
-
pauseLabel?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* THE stop/start control of anything that moves on its own (WCAG 2.2.2): one
|
|
20
|
-
* small icon button beside what it controls. A looping demo and an
|
|
21
|
-
* auto-advancing carousel show the same one, wired to `useAutoplay`'s
|
|
22
|
-
* `paused` / `setPaused`.
|
|
23
|
-
*
|
|
24
|
-
* It has to be there and easy to reach (a 32px target, a name, a focus ring),
|
|
25
|
-
* never the thing the eye lands on: no border and no surface, only a small
|
|
26
|
-
* grey glyph that takes the accent on hover and focus. The grey is the muted
|
|
27
|
-
* text token, the quietest one that still clears the 3:1 a control's glyph
|
|
28
|
-
* needs against the page (WCAG 1.4.11); the next grey down does not. The
|
|
29
|
-
* target stays 32px; it is the glyph that is small.
|
|
30
|
-
*/
|
|
31
|
-
export function PlaybackToggle({
|
|
32
|
-
paused,
|
|
33
|
-
onChange,
|
|
34
|
-
playLabel = 'Play',
|
|
35
|
-
pauseLabel = 'Pause',
|
|
36
|
-
className,
|
|
37
|
-
}: PlaybackToggleProps) {
|
|
38
|
-
return (
|
|
39
|
-
<Button
|
|
40
|
-
variant="transparent"
|
|
41
|
-
size="icon-sm"
|
|
42
|
-
className={cn(
|
|
43
|
-
'shrink-0 rounded-full border-0 text-ods-text-muted hover:text-ods-accent focus-visible:text-ods-accent [&_svg]:h-3 [&_svg]:w-3',
|
|
44
|
-
className,
|
|
45
|
-
)}
|
|
46
|
-
aria-label={paused ? playLabel : pauseLabel}
|
|
47
|
-
aria-pressed={paused}
|
|
48
|
-
onClick={() => onChange(!paused)}
|
|
49
|
-
>
|
|
50
|
-
{paused ? <PlayIcon size={12} /> : <PauseIcon size={12} />}
|
|
51
|
-
</Button>
|
|
52
|
-
);
|
|
53
|
-
}
|