@worktango/ai-assistant 0.0.104 → 0.0.106
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/README.md +41 -0
- package/dist/{Absenteeism-B7nrXU5V.mjs → Absenteeism-BSkoRzJx.mjs} +1 -1
- package/dist/{ActivityFeed-DiK783yZ.mjs → ActivityFeed-clffD7nc.mjs} +1 -1
- package/dist/{AddUser-D6lrtxJk.mjs → AddUser-Cv_IDb_b.mjs} +1 -1
- package/dist/{Admin-C-fAuOCq.mjs → Admin-DWH5k64Y.mjs} +1 -1
- package/dist/{Admin-C63eOKd3.mjs → Admin-Z7R_uaGz.mjs} +1 -1
- package/dist/{AiGeneral-CbWV1bSS.mjs → AiGeneral-D-aWPBH_.mjs} +1 -1
- package/dist/{AiScoring-CO1psNvP.mjs → AiScoring-pQjUcLAZ.mjs} +1 -1
- package/dist/{AiText-D88PCfjs.mjs → AiText-C1G7FAox.mjs} +1 -1
- package/dist/{Anniversary-CBooJOvS.mjs → Anniversary-C_P7JSo4.mjs} +1 -1
- package/dist/{Appreciation-D8MQnr6U.mjs → Appreciation-CkbkHihC.mjs} +1 -1
- package/dist/{ArrowDown-CTPL1wV1.mjs → ArrowDown-CHdEdq3B.mjs} +1 -1
- package/dist/{ArrowLeft-nurmHZjn.mjs → ArrowLeft-ay1OpzH_.mjs} +1 -1
- package/dist/{ArrowRight-Cx4McnWZ.mjs → ArrowRight-C7BFro_3.mjs} +1 -1
- package/dist/{ArrowUp-4--1704C.mjs → ArrowUp-DVLr2Wa7.mjs} +1 -1
- package/dist/{Attachment-y7I6ohDw.mjs → Attachment-CJm3iwWG.mjs} +1 -1
- package/dist/{BeQuickDontHurry-De6BsQj7.mjs → BeQuickDontHurry-CLcrpI6P.mjs} +1 -1
- package/dist/{Birthday-BWEWgl3S.mjs → Birthday-7Pt1rwYB.mjs} +1 -1
- package/dist/{BrandPromise-Hc3Q50Ih.mjs → BrandPromise-DGQTlW5f.mjs} +1 -1
- package/dist/{BrandVision-DjUI6nLJ.mjs → BrandVision-B9GWWUqX.mjs} +1 -1
- package/dist/{Calendar-EoFlH0ZF.mjs → Calendar-D2JFoIKn.mjs} +1 -1
- package/dist/{CaretDn-DBMql3lx.mjs → CaretDn-BN_BtftL.mjs} +1 -1
- package/dist/{CaretDown-CK7eiJxV.mjs → CaretDown-CWz4ZwoC.mjs} +1 -1
- package/dist/{CaretLeft-CPe95onU.mjs → CaretLeft-7BftEv9x.mjs} +1 -1
- package/dist/{CaretRight-O_giep1g.mjs → CaretRight-Hj16_R23.mjs} +1 -1
- package/dist/{CaretUp-cU6jp2ZK.mjs → CaretUp-BrDS-bvL.mjs} +1 -1
- package/dist/{ChallengeAccepted-BYzJ3Q9C.mjs → ChallengeAccepted-Zjodpasl.mjs} +1 -1
- package/dist/{CheckIn-aYlZkpK0.mjs → CheckIn-b-hbRkzU.mjs} +1 -1
- package/dist/{CheckIns-BE6O_KHx.mjs → CheckIns-BHZzHiKi.mjs} +1 -1
- package/dist/{CheckSeal-Clr4J2ns.mjs → CheckSeal-D5rssnFa.mjs} +1 -1
- package/dist/{Checkmark-B4rUiJ51.mjs → Checkmark-cScBzOku.mjs} +1 -1
- package/dist/{Clock-DCCVL9nb.mjs → Clock-EmmfgeXW.mjs} +1 -1
- package/dist/{Close-D_nhA8Pw.mjs → Close-Cx5B03-O.mjs} +1 -1
- package/dist/{CloudDownload-Cow9QPU1.mjs → CloudDownload-CLmn9uCJ.mjs} +1 -1
- package/dist/{Comment-C4IDUTGg.mjs → Comment-D_tOwfgY.mjs} +1 -1
- package/dist/{Comments-tZ53cNg9.mjs → Comments-BQgFtm5m.mjs} +1 -1
- package/dist/{Connections-eRpihRAN.mjs → Connections-wavfJfON.mjs} +1 -1
- package/dist/{Copy-BKda99M4.mjs → Copy-BFQz1TsC.mjs} +1 -1
- package/dist/{CustomQuestion-L69mNHeZ.mjs → CustomQuestion-DH9tlLq0.mjs} +1 -1
- package/dist/{CustomerSuccess-B9ou-CDu.mjs → CustomerSuccess-DDnimu6X.mjs} +1 -1
- package/dist/{DatePicker-DtxqCF1o.mjs → DatePicker-BdxkpZdw.mjs} +1 -1
- package/dist/{Dot-CvEkaFXv.mjs → Dot-ByCvMvRs.mjs} +1 -1
- package/dist/{Download-0Q7-jXa4.mjs → Download-BpI13NML.mjs} +1 -1
- package/dist/{Drag-BU9MiSak.mjs → Drag-BZZ1UEVW.mjs} +1 -1
- package/dist/{Earn-7EDddE3V.mjs → Earn-DHkCK8pH.mjs} +1 -1
- package/dist/{Email-CnoX0V8s.mjs → Email-D2fqiSaZ.mjs} +1 -1
- package/dist/{EmojiDisplay-DzmdCqBC.mjs → EmojiDisplay-COyxT50q.mjs} +2 -2
- package/dist/{EmojiPicker-DMmjh1cs.mjs → EmojiPicker-BmW_23rb.mjs} +2 -2
- package/dist/{EnpsSurvey-_teYk8QK.mjs → EnpsSurvey-kdAojUlE.mjs} +1 -1
- package/dist/{Expired-B15xbMQq.mjs → Expired-BlqSFpg0.mjs} +1 -1
- package/dist/{Eye-D322DN2z.mjs → Eye-T6khJu4n.mjs} +1 -1
- package/dist/{Feedback-iUxqogCC.mjs → Feedback-CeAY-4S8.mjs} +1 -1
- package/dist/{Feedback-BezJZycc.mjs → Feedback-DQ0auy8x.mjs} +1 -1
- package/dist/{Filter-DbRiqduu.mjs → Filter-pwb6pi2x.mjs} +1 -1
- package/dist/{Flag-DOqnEqqX.mjs → Flag-BxpswTRb.mjs} +1 -1
- package/dist/{Giphy-DINHM-kO.mjs → Giphy-3VW06GkN.mjs} +1 -1
- package/dist/{GoalCount-BlO51hl-.mjs → GoalCount-UYyh-Q_f.mjs} +1 -1
- package/dist/{GoalPercent-v-6GIrQb.mjs → GoalPercent-Cz80xDXH.mjs} +1 -1
- package/dist/{GoalTask-BzQ9B_vZ.mjs → GoalTask-BXGfvQ1i.mjs} +1 -1
- package/dist/{GoalTask-CIJtVRgT.mjs → GoalTask-ZN5Kd6dP.mjs} +1 -1
- package/dist/{Goals-CfyYHf7B.mjs → Goals-BYGavoyF.mjs} +1 -1
- package/dist/{Goals-D6ijysb9.mjs → Goals-DwHOFjx9.mjs} +1 -1
- package/dist/{Growth-zC1sMTAs.mjs → Growth-BmJ0spe8.mjs} +1 -1
- package/dist/{Hamburger-C2fsOpzI.mjs → Hamburger-DfJ95EBO.mjs} +1 -1
- package/dist/{Help-DoFeXPUY.mjs → Help-etUgO5Bb.mjs} +1 -1
- package/dist/{HighFive-w2rmiBuB.mjs → HighFive-Dp2NQlMK.mjs} +1 -1
- package/dist/{HighFive-DI3Qs7-5.mjs → HighFive-orCVH7tZ.mjs} +1 -1
- package/dist/{Home-JzzyliYD.mjs → Home-DWhEGSJW.mjs} +1 -1
- package/dist/{Home-DXBdFjfH.mjs → Home-RIcKMhx8.mjs} +1 -1
- package/dist/{HorizontalLine-CVVLEnwG.mjs → HorizontalLine-RDXOELfY.mjs} +1 -1
- package/dist/{Hourglass-aRrpeyRX.mjs → Hourglass-DFI_uktS.mjs} +1 -1
- package/dist/{Image-DouR1eDK.mjs → Image-B2lTOFQV.mjs} +1 -1
- package/dist/{ImageFile-B8lWwjnA.mjs → ImageFile-CXewA-IP.mjs} +1 -1
- package/dist/{InGoodCompany-gIRCUW1x.mjs → InGoodCompany-w8LX93U7.mjs} +1 -1
- package/dist/{Incentives-Da4hSpFl.mjs → Incentives-DbttQZw9.mjs} +1 -1
- package/dist/{Info-DBbkWS7h.mjs → Info-CDb8ZfD-.mjs} +1 -1
- package/dist/{Insights-CaIQuoe2.mjs → Insights-0kENcXoM.mjs} +1 -1
- package/dist/{Insights-OGbE0OVw.mjs → Insights-DDKxfP36.mjs} +1 -1
- package/dist/{Integrations-BFF07Qx8.mjs → Integrations-Ck_6gRmx.mjs} +1 -1
- package/dist/{KazooLogo-DHMZWNhc.mjs → KazooLogo-BF7fSs3v.mjs} +1 -1
- package/dist/{KnowYourAudience-CjVgxEtJ.mjs → KnowYourAudience-UjeVQaqo.mjs} +1 -1
- package/dist/{Launch-Ceg6HqD1.mjs → Launch-c800vmSV.mjs} +1 -1
- package/dist/{Link-CadSXJOU.mjs → Link-CuZ6BpZi.mjs} +1 -1
- package/dist/{LinkArrow-CQ6tKvHA.mjs → LinkArrow-CP0kBYoA.mjs} +1 -1
- package/dist/{Loading-86LmPZB2.mjs → Loading-DXhcnL-L.mjs} +1 -1
- package/dist/{Lock-BFKC9drr.mjs → Lock-C5NdEcGi.mjs} +1 -1
- package/dist/{Management-Clg80Y3g.mjs → Management-eqInJfMr.mjs} +1 -1
- package/dist/{MeatballMenu-DxCvDqcC.mjs → MeatballMenu-rNtUmBY4.mjs} +1 -1
- package/dist/{Messages-8IODTMhm.mjs → Messages-BfweRIM2.mjs} +1 -1
- package/dist/{Microphone-fUAb2CZy.mjs → Microphone-Co-QRg-m.mjs} +1 -1
- package/dist/{Mobile-CHGza_df.mjs → Mobile-CV-rQKzx.mjs} +1 -1
- package/dist/{Nomination-CBGOg-Ya.mjs → Nomination-DUsx-Rca.mjs} +1 -1
- package/dist/{NominationsAndAwards-DSnwb5Ji.mjs → NominationsAndAwards-D6-5edDc.mjs} +1 -1
- package/dist/{Notification-pzhYbFyq.mjs → Notification-DjVRcJwU.mjs} +1 -1
- package/dist/{Okrs-CWnis9Jm.mjs → Okrs-8txrOiJA.mjs} +1 -1
- package/dist/{Pause-eg4MGu6w.mjs → Pause-YZlKhr4I.mjs} +1 -1
- package/dist/{PeerToPeer-T3t9ORGj.mjs → PeerToPeer-DvwhOr4C.mjs} +1 -1
- package/dist/{Pencil-DVSzalCT.mjs → Pencil-s_g0aXkp.mjs} +1 -1
- package/dist/{People-C5lLp-9P.mjs → People-BqADw5ox.mjs} +1 -1
- package/dist/{PerformanceManagement-4KPzRCID.mjs → PerformanceManagement-BZw5CQe-.mjs} +1 -1
- package/dist/{Pin-Dkhewled.mjs → Pin-BQ9wiCVU.mjs} +1 -1
- package/dist/{PinnedIconAward-BIg99paq.mjs → PinnedIconAward-DMbiVZT9.mjs} +1 -1
- package/dist/{PinnedIconBrightIdea-B7SN_4Aa.mjs → PinnedIconBrightIdea-C9D4RHom.mjs} +1 -1
- package/dist/{PinnedIconBullseye-COWmblY1.mjs → PinnedIconBullseye-Cj34FSUk.mjs} +1 -1
- package/dist/{PinnedIconChampagne-CcuMLUSb.mjs → PinnedIconChampagne-B8DvX1YA.mjs} +1 -1
- package/dist/{PinnedIconCheer-DxuAyJP_.mjs → PinnedIconCheer-DG72GOoL.mjs} +1 -1
- package/dist/{PinnedIconCrown-BoUGVElu.mjs → PinnedIconCrown-C0z4Nvln.mjs} +1 -1
- package/dist/{PinnedIconDiamond-ComdHl3N.mjs → PinnedIconDiamond-DcUCHTVu.mjs} +1 -1
- package/dist/{PinnedIconHoleInOne-D9ftMNBW.mjs → PinnedIconHoleInOne-Dj55Wp6x.mjs} +1 -1
- package/dist/{PinnedIconMedal-B_7dtJT6.mjs → PinnedIconMedal-BS5EIacZ.mjs} +1 -1
- package/dist/{PinnedIconMetrics-o1acMC2W.mjs → PinnedIconMetrics-DneODiZH.mjs} +1 -1
- package/dist/{PinnedIconPin-JstGDQ6N.mjs → PinnedIconPin-BhdPp2oZ.mjs} +1 -1
- package/dist/{PinnedIconRockAndRoll-BAM0D8xJ.mjs → PinnedIconRockAndRoll-CGqaluUe.mjs} +1 -1
- package/dist/{PinnedIconRocket-BuAs---5.mjs → PinnedIconRocket-CvwKX3Aw.mjs} +1 -1
- package/dist/{PinnedIconStrength-CtTZErwe.mjs → PinnedIconStrength-CdIxjA8L.mjs} +1 -1
- package/dist/{PinnedIconTeddyBear-Dj387B0a.mjs → PinnedIconTeddyBear-C0zUi2BN.mjs} +1 -1
- package/dist/{PlatformLogo-CvbjEe4I.mjs → PlatformLogo-CtBzTGCP.mjs} +1 -1
- package/dist/{Plus-D1v3oxFZ.mjs → Plus-Cxl9W0O_.mjs} +1 -1
- package/dist/{Popper-BVyGTh5K.mjs → Popper-BfuoZXrI.mjs} +1 -1
- package/dist/{PrivateEye-DpzcjHHt.mjs → PrivateEye-DFIRfhcJ.mjs} +1 -1
- package/dist/{PrivatePushPin-B5_qgw0G.mjs → PrivatePushPin-CnYu0-0u.mjs} +1 -1
- package/dist/{Processing-BTYDw5u2.mjs → Processing-CkX-4Z3N.mjs} +1 -1
- package/dist/{Productivity-r7CC36h4.mjs → Productivity-PPAm4YUG.mjs} +1 -1
- package/dist/{ProgressCircle-BzcRi-Z0.mjs → ProgressCircle-wjRT0fKY.mjs} +1 -1
- package/dist/{PulseSurvey-DN0Azwal.mjs → PulseSurvey-1a8Uf5gm.mjs} +1 -1
- package/dist/{PushPin-C8tBs7pN.mjs → PushPin-CzOrN3QC.mjs} +1 -1
- package/dist/{QuotesLeft-CNp_NQEZ.mjs → QuotesLeft-DlyHWrKm.mjs} +1 -1
- package/dist/{QuotesRight-CgxDHCEy.mjs → QuotesRight-BBgA0YNz.mjs} +1 -1
- package/dist/{Recognition-AkY0y4GN.mjs → Recognition-DAf1nQGi.mjs} +1 -1
- package/dist/{Recognition-Dk7fdS6_.mjs → Recognition-DXC2qQnH.mjs} +1 -1
- package/dist/{Retention-Rfcu2rcG.mjs → Retention-BmC-NyTd.mjs} +1 -1
- package/dist/{Rewards-tHTdY973.mjs → Rewards-BAJLIYnI.mjs} +1 -1
- package/dist/{Rewards-D8kQnBmM.mjs → Rewards-C4T9Cl_Z.mjs} +1 -1
- package/dist/{RewardsCatalog-CgWn3hXj.mjs → RewardsCatalog-ZkCmsFJH.mjs} +1 -1
- package/dist/{Roadmap-3jzwMe6-.mjs → Roadmap-_uVLpXcn.mjs} +1 -1
- package/dist/{Search-CYnGM68g.mjs → Search-BH_VIouS.mjs} +1 -1
- package/dist/{Security-CrkRHYGI.mjs → Security-BCToeog-.mjs} +1 -1
- package/dist/{SendRecognition-Iy2jRYEe.mjs → SendRecognition-B3Epzcy-.mjs} +1 -1
- package/dist/{ShareLink-FMQR3arS.mjs → ShareLink-CHRkXyYi.mjs} +1 -1
- package/dist/{SidebarCollapse-CP9afXf9.mjs → SidebarCollapse-BvnLbUtc.mjs} +1 -1
- package/dist/{Skill-CixTbA-F.mjs → Skill-Dc35nwK1.mjs} +1 -1
- package/dist/{Skills-BjYcNsKb.mjs → Skills-DTwXmnTz.mjs} +1 -1
- package/dist/{Smiley-9PGS51R7.mjs → Smiley-D0IXLh0c.mjs} +1 -1
- package/dist/{Stop-YbNiEdtA.mjs → Stop-B20D-rl1.mjs} +1 -1
- package/dist/{Survey-B9ATycm6.mjs → Survey-C-Jsk51t.mjs} +1 -1
- package/dist/{Surveys-CIKm3yMa.mjs → Surveys-CXoYCeZD.mjs} +1 -1
- package/dist/{SyncUps-l9L1nvCc.mjs → SyncUps-CRFLvsF5.mjs} +1 -1
- package/dist/{Syncs-BGTcY9qr.mjs → Syncs-BsMg45qe.mjs} +1 -1
- package/dist/{TalentReview-B6bSDz6w.mjs → TalentReview-C2OyqAhi.mjs} +1 -1
- package/dist/{TalentReview-CnXHqqI3.mjs → TalentReview-Cycp9omP.mjs} +1 -1
- package/dist/{TalentReviewInsights-Dkubpz4o.mjs → TalentReviewInsights-J8M-i2H0.mjs} +1 -1
- package/dist/{TaskCompleted-DONu8bg5.mjs → TaskCompleted-xeJLecX9.mjs} +1 -1
- package/dist/{Team-DWbiiEXZ.mjs → Team-DG7AFOsi.mjs} +1 -1
- package/dist/{Teams-FhBWMEm7.mjs → Teams-CPP69q5q.mjs} +1 -1
- package/dist/{TextBold-Bf7xgDUo.mjs → TextBold-BJW7PywG.mjs} +1 -1
- package/dist/{TextBulletList-Bh_7gkjr.mjs → TextBulletList-DQxNdAqK.mjs} +1 -1
- package/dist/{TextInput-CEVxDK3j.mjs → TextInput-CFOtPW3q.mjs} +1 -1
- package/dist/{TextItalic-6NOMtrVP.mjs → TextItalic-OqDIbzvy.mjs} +1 -1
- package/dist/{TextNumberList-CDPlRHM6.mjs → TextNumberList-BdOiSQRW.mjs} +1 -1
- package/dist/{TextUnderline-B9Aes6rw.mjs → TextUnderline-DriAalE7.mjs} +1 -1
- package/dist/{Toggle-SJ_AB67F.mjs → Toggle-CBbWHEJc.mjs} +1 -1
- package/dist/{Translate-BT8JY939.mjs → Translate-Bx2imP3c.mjs} +1 -1
- package/dist/{Trash-C8SxeLf-.mjs → Trash-CoSTymt8.mjs} +1 -1
- package/dist/{TrendDown-3UOTpbwj.mjs → TrendDown-CL39PEr2.mjs} +1 -1
- package/dist/{TrendUp-Bx8R8Pdl.mjs → TrendUp-BN2L_LXw.mjs} +1 -1
- package/dist/{Undo-DqSedjvz.mjs → Undo-0qoDNTAn.mjs} +1 -1
- package/dist/{Unplugged-DSJ4aZQW.mjs → Unplugged-4iYZ9UBx.mjs} +1 -1
- package/dist/{UpDownCaret-BY8WfUwM.mjs → UpDownCaret-DNI9ZDEw.mjs} +1 -1
- package/dist/{VerticalLine-jLw5jA0f.mjs → VerticalLine-DIQ6Dos_.mjs} +1 -1
- package/dist/{Warning-1Upw92xz.mjs → Warning-DksHjHJs.mjs} +1 -1
- package/dist/{WarningNoOutline-Xh3QsR2w.mjs → WarningNoOutline-CLBs4lxn.mjs} +1 -1
- package/dist/{YesAnd-D2EYO_mm.mjs → YesAnd-BzX3MoHa.mjs} +1 -1
- package/dist/{emoji-ZYPRrTLh.mjs → emoji-Dl39mbAY.mjs} +1 -1
- package/dist/express.js +277 -3
- package/dist/{react-apexcharts.min-Bj-TqHLW.mjs → react-apexcharts.min-CyapRKVu.mjs} +1 -1
- package/dist/react.es.js +1 -1
- package/dist/react.umd.js +3 -3
- package/dist/{reactComponent-CUliMX-n.mjs → reactComponent-DMmMkRID.mjs} +1345 -1340
- package/express.d.ts +33 -0
- package/package.json +1 -1
- package/sharedTypes.ts +6 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as c } from "./reactComponent-
|
|
1
|
+
import { j as c } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
const t = () => /* @__PURE__ */ c.jsx("path", { d: "M23 12c0 6.075-4.925 11-11 11-6.072-0.007-10.993-4.928-11-11 0-6.075 4.925-11 11-11s11 4.925 11 11zM6.259 11.079l-0.275 0.275c-0.171 0.172-0.266 0.405-0.262 0.647s0.104 0.473 0.279 0.64l5.34 5.142c0.372 0.35 0.951 0.352 1.326 0.006l5.337-5.055c0.176-0.166 0.278-0.396 0.281-0.638s-0.092-0.475-0.264-0.645l-0.275-0.275c-0.367-0.352-0.942-0.366-1.326-0.032l-2.359 2.108c-0.376 0.336-0.684 0.198-0.684-0.306v-5.958c0-0.506-0.41-0.917-0.917-0.917h-0.917c-0.506 0-0.917 0.41-0.917 0.917v5.945c0 0.504-0.309 0.638-0.676 0.297l-2.37-2.178c-0.379-0.341-0.958-0.328-1.323 0.028z" });
|
|
3
3
|
export {
|
|
4
4
|
t as trend_down
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as c } from "./reactComponent-
|
|
1
|
+
import { j as c } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
const t = () => /* @__PURE__ */ c.jsx("path", { d: "M1 12c0-6.075 4.925-11 11-11 6.072 0.007 10.993 4.928 11 11 0 6.075-4.925 11-11 11s-11-4.925-11-11zM17.741 12.921l0.275-0.275c0.171-0.171 0.266-0.405 0.262-0.647s-0.104-0.473-0.279-0.64l-5.34-5.143c-0.372-0.35-0.951-0.352-1.326-0.006l-5.337 5.055c-0.176 0.166-0.278 0.396-0.281 0.638s0.092 0.475 0.264 0.645l0.275 0.275c0.367 0.352 0.942 0.366 1.326 0.032l2.359-2.108c0.376-0.336 0.684-0.198 0.684 0.306v5.958c0 0.506 0.41 0.917 0.917 0.917h0.917c0.506 0 0.917-0.41 0.917-0.917v-5.945c0-0.504 0.309-0.638 0.676-0.297l2.37 2.178c0.38 0.341 0.958 0.328 1.323-0.029z" });
|
|
3
3
|
export {
|
|
4
4
|
t as trend_up
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as i } from "./reactComponent-
|
|
1
|
+
import { j as i } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
function t({ className: r = "primary-foreground" }) {
|
|
3
3
|
return /* @__PURE__ */ i.jsxs("svg", { width: "196", height: "196", viewBox: "0 0 196 196", className: r, children: [
|
|
4
4
|
/* @__PURE__ */ i.jsx("circle", { cx: "98", cy: "98", r: "98", fill: "currentColor" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as C } from "./reactComponent-
|
|
1
|
+
import { j as C } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
function L({ illustrationColor: t }) {
|
|
3
3
|
return /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
4
4
|
/* @__PURE__ */ C.jsx("title", { children: "Yes and illustration" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as A, g as yt, r as _t, h as Et, i as Ct, k as he } from "./reactComponent-
|
|
1
|
+
import { _ as A, g as yt, r as _t, h as Et, i as Ct, k as he } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
import s from "react";
|
|
3
3
|
function te(i) {
|
|
4
4
|
"@babel/helpers - typeof";
|
package/dist/express.js
CHANGED
|
@@ -11225,7 +11225,9 @@ function setupAiAssistantRoutes(args) {
|
|
|
11225
11225
|
proxyRes: (proxyRes, req, res) => {
|
|
11226
11226
|
if (proxyRes.statusCode !== 200) {
|
|
11227
11227
|
const originalUrl = req.originalUrl;
|
|
11228
|
-
logger.error(
|
|
11228
|
+
logger.error(
|
|
11229
|
+
`[setupAiAssistantRoutes] Proxy error ${proxyRes.statusCode}: ${originalUrl}`
|
|
11230
|
+
);
|
|
11229
11231
|
}
|
|
11230
11232
|
if (req.headers.accept === "text/event-stream") {
|
|
11231
11233
|
res.writeHead(res.statusCode, {
|
|
@@ -11234,9 +11236,18 @@ function setupAiAssistantRoutes(args) {
|
|
|
11234
11236
|
Connection: "keep-alive"
|
|
11235
11237
|
});
|
|
11236
11238
|
}
|
|
11239
|
+
if (proxyRes.statusCode === 200 && (args.onRestEndpointSuccess || args.onGraphQLOperationSuccess)) {
|
|
11240
|
+
handleSuccessCallback({
|
|
11241
|
+
proxyRes,
|
|
11242
|
+
req,
|
|
11243
|
+
logger,
|
|
11244
|
+
onRestEndpointSuccess: args.onRestEndpointSuccess,
|
|
11245
|
+
onGraphQLOperationSuccess: args.onGraphQLOperationSuccess
|
|
11246
|
+
});
|
|
11247
|
+
}
|
|
11237
11248
|
},
|
|
11238
11249
|
error: (err, req, res) => {
|
|
11239
|
-
logger.error("Proxy error:", err);
|
|
11250
|
+
logger.error("[setupAiAssistantRoutes] Proxy error:", err);
|
|
11240
11251
|
if ("headersSent" in res && !res.headersSent) {
|
|
11241
11252
|
res.statusCode = 502;
|
|
11242
11253
|
res.write("Bad Gateway");
|
|
@@ -11245,7 +11256,10 @@ function setupAiAssistantRoutes(args) {
|
|
|
11245
11256
|
}
|
|
11246
11257
|
}
|
|
11247
11258
|
};
|
|
11248
|
-
logger.debug(
|
|
11259
|
+
logger.debug(
|
|
11260
|
+
"[setupAiAssistantRoutes] Setting up AI Assistant proxy:",
|
|
11261
|
+
proxyOptions
|
|
11262
|
+
);
|
|
11249
11263
|
const proxy = (0, import_http_proxy_middleware.createProxyMiddleware)(proxyOptions);
|
|
11250
11264
|
args.app.use(
|
|
11251
11265
|
routePath,
|
|
@@ -11257,6 +11271,266 @@ function setupAiAssistantRoutes(args) {
|
|
|
11257
11271
|
function getRequestWithNewAuthHeader(req) {
|
|
11258
11272
|
return req;
|
|
11259
11273
|
}
|
|
11274
|
+
function handleSuccessCallback(args) {
|
|
11275
|
+
const {
|
|
11276
|
+
proxyRes,
|
|
11277
|
+
req,
|
|
11278
|
+
logger,
|
|
11279
|
+
onRestEndpointSuccess,
|
|
11280
|
+
onGraphQLOperationSuccess
|
|
11281
|
+
} = args;
|
|
11282
|
+
const expressRequest = req;
|
|
11283
|
+
const targetPath = expressRequest.path || expressRequest.url || "";
|
|
11284
|
+
const requestBody = expressRequest.body;
|
|
11285
|
+
const chunks = [];
|
|
11286
|
+
proxyRes.on("data", (chunk) => {
|
|
11287
|
+
chunks.push(chunk);
|
|
11288
|
+
});
|
|
11289
|
+
proxyRes.on("end", () => {
|
|
11290
|
+
processBufferedResponse({
|
|
11291
|
+
chunks,
|
|
11292
|
+
requestBody,
|
|
11293
|
+
targetPath,
|
|
11294
|
+
expressRequest,
|
|
11295
|
+
logger,
|
|
11296
|
+
onRestEndpointSuccess,
|
|
11297
|
+
onGraphQLOperationSuccess
|
|
11298
|
+
});
|
|
11299
|
+
});
|
|
11300
|
+
}
|
|
11301
|
+
function processBufferedResponse(args) {
|
|
11302
|
+
const {
|
|
11303
|
+
chunks,
|
|
11304
|
+
requestBody,
|
|
11305
|
+
targetPath,
|
|
11306
|
+
expressRequest,
|
|
11307
|
+
logger,
|
|
11308
|
+
onRestEndpointSuccess,
|
|
11309
|
+
onGraphQLOperationSuccess
|
|
11310
|
+
} = args;
|
|
11311
|
+
try {
|
|
11312
|
+
const responseBody = Buffer.concat(chunks).toString("utf8");
|
|
11313
|
+
if (!responseBody) {
|
|
11314
|
+
return;
|
|
11315
|
+
}
|
|
11316
|
+
const parsedResponse = tryParseJSON(responseBody, logger);
|
|
11317
|
+
if (!parsedResponse) {
|
|
11318
|
+
return;
|
|
11319
|
+
}
|
|
11320
|
+
routeCallback({
|
|
11321
|
+
requestBody,
|
|
11322
|
+
parsedResponse,
|
|
11323
|
+
targetPath,
|
|
11324
|
+
expressRequest,
|
|
11325
|
+
logger,
|
|
11326
|
+
onRestEndpointSuccess,
|
|
11327
|
+
onGraphQLOperationSuccess
|
|
11328
|
+
});
|
|
11329
|
+
} catch (error) {
|
|
11330
|
+
logger.error("[setupAiAssistantRoutes] Error in success callback:", error);
|
|
11331
|
+
}
|
|
11332
|
+
}
|
|
11333
|
+
function routeCallback(args) {
|
|
11334
|
+
const {
|
|
11335
|
+
requestBody,
|
|
11336
|
+
parsedResponse,
|
|
11337
|
+
targetPath,
|
|
11338
|
+
expressRequest,
|
|
11339
|
+
logger,
|
|
11340
|
+
onRestEndpointSuccess,
|
|
11341
|
+
onGraphQLOperationSuccess
|
|
11342
|
+
} = args;
|
|
11343
|
+
const isGraphQLRequest = isGraphQLRequestBody(requestBody);
|
|
11344
|
+
if (isGraphQLRequest && onGraphQLOperationSuccess) {
|
|
11345
|
+
handleGraphQLCallback({
|
|
11346
|
+
requestBody,
|
|
11347
|
+
parsedResponse,
|
|
11348
|
+
expressRequest,
|
|
11349
|
+
onGraphQLOperationSuccess,
|
|
11350
|
+
logger
|
|
11351
|
+
});
|
|
11352
|
+
} else if (!isGraphQLRequest && onRestEndpointSuccess) {
|
|
11353
|
+
handleRestCallback({
|
|
11354
|
+
targetPath,
|
|
11355
|
+
requestBody,
|
|
11356
|
+
parsedResponse,
|
|
11357
|
+
expressRequest,
|
|
11358
|
+
onRestEndpointSuccess,
|
|
11359
|
+
logger
|
|
11360
|
+
});
|
|
11361
|
+
}
|
|
11362
|
+
}
|
|
11363
|
+
function tryParseJSON(responseBody, logger) {
|
|
11364
|
+
try {
|
|
11365
|
+
return JSON.parse(responseBody);
|
|
11366
|
+
} catch (error) {
|
|
11367
|
+
logger.debug(
|
|
11368
|
+
"[setupAiAssistantRoutes] Response is not JSON, skipping callback"
|
|
11369
|
+
);
|
|
11370
|
+
return void 0;
|
|
11371
|
+
}
|
|
11372
|
+
}
|
|
11373
|
+
function hasGraphQLFields(item) {
|
|
11374
|
+
return typeof item === "object" && item !== null && ("operationName" in item || "query" in item);
|
|
11375
|
+
}
|
|
11376
|
+
function isGraphQLRequestBody(requestBody) {
|
|
11377
|
+
if (!Array.isArray(requestBody)) {
|
|
11378
|
+
return hasGraphQLFields(requestBody);
|
|
11379
|
+
}
|
|
11380
|
+
if (requestBody.length > 0) {
|
|
11381
|
+
return hasGraphQLFields(requestBody[0]);
|
|
11382
|
+
}
|
|
11383
|
+
return false;
|
|
11384
|
+
}
|
|
11385
|
+
function handleGraphQLCallback(args) {
|
|
11386
|
+
const {
|
|
11387
|
+
requestBody,
|
|
11388
|
+
parsedResponse,
|
|
11389
|
+
expressRequest,
|
|
11390
|
+
onGraphQLOperationSuccess,
|
|
11391
|
+
logger
|
|
11392
|
+
} = args;
|
|
11393
|
+
if (Array.isArray(requestBody)) {
|
|
11394
|
+
handleBatchedGraphQLCallbacks({
|
|
11395
|
+
requestBodies: requestBody,
|
|
11396
|
+
parsedResponse,
|
|
11397
|
+
expressRequest,
|
|
11398
|
+
onGraphQLOperationSuccess,
|
|
11399
|
+
logger
|
|
11400
|
+
});
|
|
11401
|
+
return;
|
|
11402
|
+
}
|
|
11403
|
+
const operationName = extractGraphQLOperationName(requestBody, logger);
|
|
11404
|
+
if (!operationName) {
|
|
11405
|
+
return;
|
|
11406
|
+
}
|
|
11407
|
+
const callback = onGraphQLOperationSuccess[operationName];
|
|
11408
|
+
if (callback) {
|
|
11409
|
+
invokeGraphQLCallback({
|
|
11410
|
+
callback,
|
|
11411
|
+
requestBody,
|
|
11412
|
+
parsedResponse,
|
|
11413
|
+
expressRequest,
|
|
11414
|
+
operationName,
|
|
11415
|
+
logger
|
|
11416
|
+
});
|
|
11417
|
+
}
|
|
11418
|
+
}
|
|
11419
|
+
function handleBatchedGraphQLCallbacks(args) {
|
|
11420
|
+
const {
|
|
11421
|
+
requestBodies,
|
|
11422
|
+
parsedResponse,
|
|
11423
|
+
expressRequest,
|
|
11424
|
+
onGraphQLOperationSuccess,
|
|
11425
|
+
logger
|
|
11426
|
+
} = args;
|
|
11427
|
+
const responses = Array.isArray(parsedResponse) ? parsedResponse : [parsedResponse];
|
|
11428
|
+
requestBodies.forEach((requestBody, index) => {
|
|
11429
|
+
const operationName = extractGraphQLOperationName(requestBody, logger);
|
|
11430
|
+
if (!operationName) {
|
|
11431
|
+
return;
|
|
11432
|
+
}
|
|
11433
|
+
const callback = onGraphQLOperationSuccess[operationName];
|
|
11434
|
+
if (!callback) {
|
|
11435
|
+
return;
|
|
11436
|
+
}
|
|
11437
|
+
const response = responses[index] || parsedResponse;
|
|
11438
|
+
invokeGraphQLCallback({
|
|
11439
|
+
callback,
|
|
11440
|
+
requestBody,
|
|
11441
|
+
parsedResponse: response,
|
|
11442
|
+
expressRequest,
|
|
11443
|
+
operationName,
|
|
11444
|
+
logger
|
|
11445
|
+
});
|
|
11446
|
+
});
|
|
11447
|
+
}
|
|
11448
|
+
function extractGraphQLOperationName(requestBody, logger) {
|
|
11449
|
+
if (typeof requestBody !== "object" || requestBody === null) {
|
|
11450
|
+
return void 0;
|
|
11451
|
+
}
|
|
11452
|
+
const body = requestBody;
|
|
11453
|
+
if (body.operationName) {
|
|
11454
|
+
return body.operationName;
|
|
11455
|
+
}
|
|
11456
|
+
if (body.query) {
|
|
11457
|
+
const match = body.query.match(/(?:query|mutation)\s+(\w+)/);
|
|
11458
|
+
if (match) {
|
|
11459
|
+
return match[1];
|
|
11460
|
+
}
|
|
11461
|
+
}
|
|
11462
|
+
logger.debug(
|
|
11463
|
+
"[setupAiAssistantRoutes] Could not determine GraphQL operation name"
|
|
11464
|
+
);
|
|
11465
|
+
return void 0;
|
|
11466
|
+
}
|
|
11467
|
+
function invokeGraphQLCallback(args) {
|
|
11468
|
+
const {
|
|
11469
|
+
callback,
|
|
11470
|
+
requestBody,
|
|
11471
|
+
parsedResponse,
|
|
11472
|
+
expressRequest,
|
|
11473
|
+
operationName,
|
|
11474
|
+
logger
|
|
11475
|
+
} = args;
|
|
11476
|
+
const context = {
|
|
11477
|
+
request: {
|
|
11478
|
+
path: expressRequest.path || expressRequest.url || "",
|
|
11479
|
+
method: expressRequest.method || "POST",
|
|
11480
|
+
body: requestBody
|
|
11481
|
+
},
|
|
11482
|
+
response: parsedResponse
|
|
11483
|
+
};
|
|
11484
|
+
const typedCallback = callback;
|
|
11485
|
+
Promise.resolve(typedCallback(context)).catch((error) => {
|
|
11486
|
+
logger.error(
|
|
11487
|
+
`[setupAiAssistantRoutes] Error in GraphQL callback for ${operationName}:`,
|
|
11488
|
+
error
|
|
11489
|
+
);
|
|
11490
|
+
});
|
|
11491
|
+
}
|
|
11492
|
+
function handleRestCallback(args) {
|
|
11493
|
+
const {
|
|
11494
|
+
targetPath,
|
|
11495
|
+
requestBody,
|
|
11496
|
+
parsedResponse,
|
|
11497
|
+
expressRequest,
|
|
11498
|
+
onRestEndpointSuccess,
|
|
11499
|
+
logger
|
|
11500
|
+
} = args;
|
|
11501
|
+
const matchingPath = findMatchingRestEndpoint(
|
|
11502
|
+
targetPath,
|
|
11503
|
+
onRestEndpointSuccess
|
|
11504
|
+
);
|
|
11505
|
+
if (!matchingPath) {
|
|
11506
|
+
return;
|
|
11507
|
+
}
|
|
11508
|
+
const callback = onRestEndpointSuccess[matchingPath];
|
|
11509
|
+
if (callback) {
|
|
11510
|
+
const requestPath = expressRequest.path || expressRequest.url || "";
|
|
11511
|
+
const context = {
|
|
11512
|
+
request: {
|
|
11513
|
+
path: requestPath,
|
|
11514
|
+
method: expressRequest.method || "POST",
|
|
11515
|
+
body: requestBody
|
|
11516
|
+
},
|
|
11517
|
+
response: parsedResponse
|
|
11518
|
+
};
|
|
11519
|
+
const typedCallback = callback;
|
|
11520
|
+
Promise.resolve(typedCallback(context)).catch((error) => {
|
|
11521
|
+
logger.error(
|
|
11522
|
+
`[setupAiAssistantRoutes] Error in REST callback for ${matchingPath}:`,
|
|
11523
|
+
error
|
|
11524
|
+
);
|
|
11525
|
+
});
|
|
11526
|
+
}
|
|
11527
|
+
}
|
|
11528
|
+
function findMatchingRestEndpoint(targetPath, callbacks) {
|
|
11529
|
+
const match = Object.keys(callbacks).find(
|
|
11530
|
+
(path) => targetPath.includes(path)
|
|
11531
|
+
);
|
|
11532
|
+
return match;
|
|
11533
|
+
}
|
|
11260
11534
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11261
11535
|
0 && (module.exports = {
|
|
11262
11536
|
setupAiAssistantRoutes
|
package/dist/react.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, n as o, p as a, m as n, q as i, u as g, v as p, t as A, s as m } from "./reactComponent-
|
|
1
|
+
import { A as e, n as o, p as a, m as n, q as i, u as g, v as p, t as A, s as m } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as AiAssistant,
|
|
4
4
|
o as AiAssistantSettingsComponent,
|