@worktango/ai-assistant 0.0.100 → 0.0.102
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/{Absenteeism-B5uFyBsw.mjs → Absenteeism-rVl2rdr7.mjs} +1 -1
- package/dist/{ActivityFeed-CIMHuRRz.mjs → ActivityFeed-CPxb8Sl3.mjs} +1 -1
- package/dist/{AddUser-Cuo4Nbpa.mjs → AddUser-BHk3nlcy.mjs} +1 -1
- package/dist/{Admin-B77s5j3d.mjs → Admin-Bitlcn63.mjs} +1 -1
- package/dist/{Admin-gPHNiakz.mjs → Admin-C0RCeKl_.mjs} +1 -1
- package/dist/{AiGeneral-BdYWK1Ya.mjs → AiGeneral-BUQ7LF8v.mjs} +1 -1
- package/dist/{AiScoring-BplnFQDg.mjs → AiScoring-BhE_Vme3.mjs} +1 -1
- package/dist/{AiText-DoByI_Rl.mjs → AiText-DmgZYDrd.mjs} +1 -1
- package/dist/{Anniversary-Cg3Pd4Ys.mjs → Anniversary-_FsxUZfD.mjs} +1 -1
- package/dist/{Appreciation-DiYuZi43.mjs → Appreciation-f24hxEO0.mjs} +1 -1
- package/dist/{ArrowDown-B_sUp6Mz.mjs → ArrowDown-BEcHNVs0.mjs} +1 -1
- package/dist/{ArrowLeft-DJQJ5wO9.mjs → ArrowLeft-OmnUYz11.mjs} +1 -1
- package/dist/{ArrowRight-fusQi3EU.mjs → ArrowRight-KP4GDAaF.mjs} +1 -1
- package/dist/{ArrowUp-CSvPmY_6.mjs → ArrowUp-BXjwUVfz.mjs} +1 -1
- package/dist/{Attachment-ETC5GqvX.mjs → Attachment-Wgqhkquc.mjs} +1 -1
- package/dist/{BeQuickDontHurry-Dj4zloiI.mjs → BeQuickDontHurry-pfxW2mOU.mjs} +1 -1
- package/dist/{Birthday-DxASETaT.mjs → Birthday-D-WF9LQ6.mjs} +1 -1
- package/dist/{BrandPromise-BONjxxnT.mjs → BrandPromise-Bb3pbZI0.mjs} +1 -1
- package/dist/{BrandVision-CP9FL9HY.mjs → BrandVision-BKysONbz.mjs} +1 -1
- package/dist/{Calendar-Ca-Xs7Sj.mjs → Calendar-5YfVRDOS.mjs} +1 -1
- package/dist/{CaretDn-caYZmERA.mjs → CaretDn-D9f-yNOM.mjs} +1 -1
- package/dist/{CaretDown-ZQqry_3r.mjs → CaretDown-DV4YFgEL.mjs} +1 -1
- package/dist/{CaretLeft-CGuqjqcJ.mjs → CaretLeft-CYLonOPf.mjs} +1 -1
- package/dist/{CaretRight-0DEVSv0G.mjs → CaretRight-BATTgQcY.mjs} +1 -1
- package/dist/{CaretUp-BE6DHB4M.mjs → CaretUp-skfzEzE-.mjs} +1 -1
- package/dist/{ChallengeAccepted-gmM_yRvd.mjs → ChallengeAccepted-ByfUavIv.mjs} +1 -1
- package/dist/{CheckIn-yX7_-T7O.mjs → CheckIn-BBatLw3v.mjs} +1 -1
- package/dist/{CheckIns-COIVP4ov.mjs → CheckIns-CMIpqA9i.mjs} +1 -1
- package/dist/{CheckSeal-f3kly1bK.mjs → CheckSeal-HyGcF3kH.mjs} +1 -1
- package/dist/{Checkmark-Cd5CYWzM.mjs → Checkmark-SXDOVBhC.mjs} +1 -1
- package/dist/{Clock-CJR1TbNU.mjs → Clock-bNdy8XNS.mjs} +1 -1
- package/dist/{Close-BZEcZCIc.mjs → Close-D6loZLJT.mjs} +1 -1
- package/dist/{CloudDownload-BXV7fCJP.mjs → CloudDownload-DzdcX3Rh.mjs} +1 -1
- package/dist/{Comment-Bhez6PXs.mjs → Comment-B1KchbjX.mjs} +1 -1
- package/dist/{Comments-Dt8J2ik8.mjs → Comments-C85AQx4_.mjs} +1 -1
- package/dist/{Connections-l1XNmhDW.mjs → Connections-C2Cl0X9O.mjs} +1 -1
- package/dist/{Copy-9TNpYSZt.mjs → Copy-B2XqxJf8.mjs} +1 -1
- package/dist/{CustomQuestion-BhwYeeOy.mjs → CustomQuestion-BeOvr_Fd.mjs} +1 -1
- package/dist/{CustomerSuccess-BARclpPZ.mjs → CustomerSuccess-DyKXTbfD.mjs} +1 -1
- package/dist/{DatePicker-Cghj6QA2.mjs → DatePicker-9Axr_T8V.mjs} +131 -127
- package/dist/{Dot-B2HdR3U8.mjs → Dot-Dz2tsKry.mjs} +1 -1
- package/dist/{Download-ClR6iT-H.mjs → Download-DY5qufnP.mjs} +1 -1
- package/dist/{Drag-D3-Nt7he.mjs → Drag-Exte_z2j.mjs} +1 -1
- package/dist/{Earn-C2rlopw-.mjs → Earn-B_HvHLE8.mjs} +1 -1
- package/dist/{Email-CkVSwjYI.mjs → Email-DCnDvbJh.mjs} +1 -1
- package/dist/{EmojiDisplay-CmrgxF6w.mjs → EmojiDisplay-iWC67k8G.mjs} +2 -2
- package/dist/{EmojiPicker-BwRjzcsn.mjs → EmojiPicker-Bc68yJ6L.mjs} +2 -2
- package/dist/{EnpsSurvey-PosHvyEv.mjs → EnpsSurvey-D5M1wdXx.mjs} +1 -1
- package/dist/{Expired-DgCEkXkt.mjs → Expired-2UPQju2v.mjs} +1 -1
- package/dist/{Eye-Bj2baKc-.mjs → Eye-zNgYppsa.mjs} +1 -1
- package/dist/{Feedback-BHj27Nk_.mjs → Feedback-CHAoSZ-e.mjs} +1 -1
- package/dist/{Feedback-3XHWDsV7.mjs → Feedback-CseDYuf9.mjs} +1 -1
- package/dist/{Filter-FUxlMynd.mjs → Filter-CTQqsKR1.mjs} +1 -1
- package/dist/{Flag-MvOAWA4B.mjs → Flag-CTqv71s1.mjs} +1 -1
- package/dist/Giphy-GRfkufj-.mjs +24 -0
- package/dist/{GoalCount-DHBGasWV.mjs → GoalCount-CwJK7r2G.mjs} +1 -1
- package/dist/{GoalPercent-Clz7scpr.mjs → GoalPercent-0Io8hssj.mjs} +1 -1
- package/dist/{GoalTask-C1Bjtspe.mjs → GoalTask-CMmL0o3T.mjs} +1 -1
- package/dist/{GoalTask-DKAb9W-R.mjs → GoalTask-D5DQcDed.mjs} +1 -1
- package/dist/{Goals-CamaQ3jj.mjs → Goals-CcfF7RME.mjs} +1 -1
- package/dist/{Goals-yNALCvfb.mjs → Goals-DIFhspIO.mjs} +1 -1
- package/dist/{Growth-CAJ1vwYD.mjs → Growth-D-22uIzc.mjs} +1 -1
- package/dist/{Hamburger-CwAlAnYw.mjs → Hamburger-mhbN7uE9.mjs} +1 -1
- package/dist/{Help-Cx8YZpmf.mjs → Help-qw3f3-nG.mjs} +1 -1
- package/dist/{HighFive-DajJb0K_.mjs → HighFive--lXyfgeJ.mjs} +1 -1
- package/dist/{HighFive-C8hsPDVJ.mjs → HighFive-0M-xfwMl.mjs} +1 -1
- package/dist/{Home-C3n92WXU.mjs → Home-CDQnE172.mjs} +1 -1
- package/dist/{Home-D4RQZjyG.mjs → Home-T2dXy95Z.mjs} +1 -1
- package/dist/{HorizontalLine-CPVuk9Fo.mjs → HorizontalLine-BzRZTIuL.mjs} +1 -1
- package/dist/{Hourglass-BbR6oHYB.mjs → Hourglass-BjoxlQar.mjs} +1 -1
- package/dist/{Image-BiU9x2FH.mjs → Image-BFdLcsms.mjs} +1 -1
- package/dist/{ImageFile-COSyXI6o.mjs → ImageFile-B_ic6FuQ.mjs} +1 -1
- package/dist/{InGoodCompany-BEazP-d-.mjs → InGoodCompany-BWBc6IyR.mjs} +1 -1
- package/dist/{Incentives-BQxs_I6_.mjs → Incentives-B5_4I_G2.mjs} +1 -1
- package/dist/{Info-B4CbGoMI.mjs → Info-Dya_nKuD.mjs} +1 -1
- package/dist/{Insights-qx1okLtJ.mjs → Insights-BCV9grI0.mjs} +1 -1
- package/dist/{Insights-gUwoHSzb.mjs → Insights-LFi4OsO6.mjs} +1 -1
- package/dist/{Integrations-BFs_6pBF.mjs → Integrations-CWtB9XRS.mjs} +1 -1
- package/dist/{KazooLogo-sQWVVqoO.mjs → KazooLogo-CBmSj1YI.mjs} +1 -1
- package/dist/{KnowYourAudience-D7bwwbJv.mjs → KnowYourAudience-ocj4e3J3.mjs} +1 -1
- package/dist/{Launch-C4HdDkka.mjs → Launch-CVVFODFi.mjs} +1 -1
- package/dist/{Link-B5hnZXDR.mjs → Link-dFaUWikq.mjs} +1 -1
- package/dist/{LinkArrow-Dk7hHH_q.mjs → LinkArrow-BSjYhnt4.mjs} +1 -1
- package/dist/{Loading-Cpnc_rh2.mjs → Loading-DniqlIxJ.mjs} +1 -1
- package/dist/{Lock-CebnIop8.mjs → Lock-k9M7pi-o.mjs} +1 -1
- package/dist/{Management-B3GQuGCi.mjs → Management-CHPxM9jz.mjs} +1 -1
- package/dist/{MeatballMenu-CbbHW9Oe.mjs → MeatballMenu-DcoHaLh-.mjs} +1 -1
- package/dist/{Messages-C81H9Y4k.mjs → Messages-BUucHlkw.mjs} +1 -1
- package/dist/{Microphone-DbMl9d4U.mjs → Microphone-CHy3rB6I.mjs} +1 -1
- package/dist/{Mobile-Bee-36N3.mjs → Mobile-BXfKT6xg.mjs} +1 -1
- package/dist/{Nomination-Dl2Zq33G.mjs → Nomination-DkDEBoAw.mjs} +1 -1
- package/dist/{NominationsAndAwards-BO7Z40M5.mjs → NominationsAndAwards-DrSPquBi.mjs} +1 -1
- package/dist/{Notification-DTb0T_PA.mjs → Notification-92QSAubc.mjs} +1 -1
- package/dist/{Okrs-pkqrtuz3.mjs → Okrs-DXxGDE1T.mjs} +1 -1
- package/dist/{Pause-CDE1U2Vw.mjs → Pause-Bqc0NvOO.mjs} +1 -1
- package/dist/{PeerToPeer-BJmh95_j.mjs → PeerToPeer-DdbyESo8.mjs} +1 -1
- package/dist/{Pencil-C_BzkKAF.mjs → Pencil-BPnHVuCr.mjs} +1 -1
- package/dist/{People-C0ZDoIof.mjs → People-BFIER8ka.mjs} +1 -1
- package/dist/{PerformanceManagement-B4HhVL9U.mjs → PerformanceManagement-CxnfghHG.mjs} +1 -1
- package/dist/{Pin-Bos_CbVJ.mjs → Pin-CEBVmqiu.mjs} +1 -1
- package/dist/{PinnedIconAward-CKDqcHdY.mjs → PinnedIconAward-BX-1nKBP.mjs} +1 -1
- package/dist/{PinnedIconBrightIdea-BtvnsrXt.mjs → PinnedIconBrightIdea-31AdmqJ6.mjs} +1 -1
- package/dist/{PinnedIconBullseye-HwfZQc_2.mjs → PinnedIconBullseye-BKF99wUd.mjs} +1 -1
- package/dist/{PinnedIconChampagne-Dia5M4hU.mjs → PinnedIconChampagne-Dud-BeO_.mjs} +1 -1
- package/dist/{PinnedIconCheer-BfYMemPU.mjs → PinnedIconCheer-BA4kFkti.mjs} +1 -1
- package/dist/{PinnedIconCrown-GUGGk4jm.mjs → PinnedIconCrown-BLc0s0Fc.mjs} +1 -1
- package/dist/{PinnedIconDiamond-DtqOqgZQ.mjs → PinnedIconDiamond-CF9_NERO.mjs} +1 -1
- package/dist/{PinnedIconHoleInOne-WHbWOSGc.mjs → PinnedIconHoleInOne-DEWzFQpQ.mjs} +1 -1
- package/dist/{PinnedIconMedal-D8UIOYue.mjs → PinnedIconMedal-Dc-NCBmM.mjs} +1 -1
- package/dist/{PinnedIconMetrics-XwsbZnPv.mjs → PinnedIconMetrics-BpxhPSox.mjs} +1 -1
- package/dist/{PinnedIconPin-D5JD4R6x.mjs → PinnedIconPin-BcOt1fDj.mjs} +1 -1
- package/dist/{PinnedIconRockAndRoll-E4iJ65Ar.mjs → PinnedIconRockAndRoll-DWh2a5SC.mjs} +1 -1
- package/dist/{PinnedIconRocket-Cg5jd3-k.mjs → PinnedIconRocket-D3uFhD7g.mjs} +1 -1
- package/dist/{PinnedIconStrength-DksSgYLW.mjs → PinnedIconStrength-DN7TqgYD.mjs} +1 -1
- package/dist/{PinnedIconTeddyBear-Dm-qNaJO.mjs → PinnedIconTeddyBear-Cmzfyhv1.mjs} +1 -1
- package/dist/{PlatformLogo-URpi2RPW.mjs → PlatformLogo-BdE_NUmm.mjs} +1 -1
- package/dist/{Plus-z5iCw0B0.mjs → Plus-Jn91XDAC.mjs} +1 -1
- package/dist/{Popper-B2xEgIXp.mjs → Popper-SjDumyFi.mjs} +1 -1
- package/dist/{PrivateEye-D0PYoJoT.mjs → PrivateEye-DMb7Vch7.mjs} +1 -1
- package/dist/{PrivatePushPin-CWKuQ3ds.mjs → PrivatePushPin-DOrwnn93.mjs} +1 -1
- package/dist/{Processing-C3wglHZF.mjs → Processing-BHVf3xZG.mjs} +1 -1
- package/dist/{Productivity-xit22CUf.mjs → Productivity-CK4oxf5_.mjs} +1 -1
- package/dist/{ProgressCircle-B9SlPYsU.mjs → ProgressCircle-BiKA8vsY.mjs} +1 -1
- package/dist/{PulseSurvey-B5D9UvQ5.mjs → PulseSurvey-BUxF8Tgf.mjs} +1 -1
- package/dist/{PushPin-DHDhHPEg.mjs → PushPin-CUmEf2Kx.mjs} +1 -1
- package/dist/{QuotesLeft-wJIqeAPl.mjs → QuotesLeft-C-A4aZT7.mjs} +1 -1
- package/dist/{QuotesRight-HLOPCrbn.mjs → QuotesRight-B1ZJq6RN.mjs} +1 -1
- package/dist/{Recognition-CmV7sHtD.mjs → Recognition-C9S1LWzN.mjs} +1 -1
- package/dist/{Recognition-Be3C5kZe.mjs → Recognition-DpKIPEKZ.mjs} +1 -1
- package/dist/{Retention-oNRaISWz.mjs → Retention-D5eWNUaD.mjs} +1 -1
- package/dist/{Rewards-skCPkWkf.mjs → Rewards-C6z_EHwc.mjs} +1 -1
- package/dist/{Rewards-D-tp9Yx3.mjs → Rewards-DpU4XrDw.mjs} +1 -1
- package/dist/{RewardsCatalog-C8N0Rwb7.mjs → RewardsCatalog-Dvf6V7vF.mjs} +1 -1
- package/dist/{Roadmap-CZRP4gJ2.mjs → Roadmap-CzeEws-6.mjs} +1 -1
- package/dist/{Search-Cw9vO8uN.mjs → Search-BHFc_EyL.mjs} +1 -1
- package/dist/{Security-DYyTSVbY.mjs → Security-DFXKkntt.mjs} +1 -1
- package/dist/{SendRecognition-CMqAOTTB.mjs → SendRecognition-ClmmS-cO.mjs} +1 -1
- package/dist/{ShareLink-D4_cU5BA.mjs → ShareLink-BnIfHUsH.mjs} +1 -1
- package/dist/{SidebarCollapse-C7kgR70W.mjs → SidebarCollapse-DA6JERLf.mjs} +1 -1
- package/dist/{Skill-5arFQ9YX.mjs → Skill-BfIGLLsa.mjs} +1 -1
- package/dist/{Skills-BQMj_EJS.mjs → Skills-BjTEBmvq.mjs} +1 -1
- package/dist/{Smiley-Bvfl8NuO.mjs → Smiley-C7PlZfb9.mjs} +1 -1
- package/dist/{Stop-B_40kxft.mjs → Stop-0Ilvt5s6.mjs} +1 -1
- package/dist/{Survey-DZrqTQzO.mjs → Survey-C6KSucez.mjs} +1 -1
- package/dist/{Surveys-8a5hajnS.mjs → Surveys-CY9IjlRL.mjs} +1 -1
- package/dist/{SyncUps-CCC0YPm1.mjs → SyncUps-CFAFQdZP.mjs} +1 -1
- package/dist/{Syncs-C_kTYd6D.mjs → Syncs-Do8SZHXD.mjs} +1 -1
- package/dist/{TalentReview-DN0pPm5C.mjs → TalentReview-DClMO0AZ.mjs} +1 -1
- package/dist/{TalentReview-BOSL-bzi.mjs → TalentReview-DwKO0yOP.mjs} +1 -1
- package/dist/{TalentReviewInsights-BBtFmfvf.mjs → TalentReviewInsights-D-4NFsqU.mjs} +1 -1
- package/dist/{TaskCompleted-By8owlWR.mjs → TaskCompleted-Cr-QiYMR.mjs} +1 -1
- package/dist/{Team-a2N40XOE.mjs → Team-CXlw4zC2.mjs} +1 -1
- package/dist/{Teams-AHukTKm1.mjs → Teams-3U9hA_0U.mjs} +1 -1
- package/dist/{TextBold-mNxsqW90.mjs → TextBold-Bb2qPjg1.mjs} +1 -1
- package/dist/{TextBulletList-D1YGy3xD.mjs → TextBulletList-C25-vprd.mjs} +1 -1
- package/dist/{TextInput-Bnzk2eEK.mjs → TextInput-BWO23vUr.mjs} +1 -1
- package/dist/{TextItalic-Bco-2pCX.mjs → TextItalic-CqWOybgW.mjs} +1 -1
- package/dist/{TextNumberList-DKqd90dq.mjs → TextNumberList-DEqAVCcA.mjs} +1 -1
- package/dist/{TextUnderline-BToYo4gM.mjs → TextUnderline-DgFGMXI1.mjs} +1 -1
- package/dist/{Toggle-svR8Q_AR.mjs → Toggle-C0qudbmI.mjs} +1 -1
- package/dist/{Translate-DxfYvA-B.mjs → Translate-DMp-8jNM.mjs} +1 -1
- package/dist/{Trash-Db_b4XCv.mjs → Trash-BfWg_NHF.mjs} +1 -1
- package/dist/{TrendDown-Cn9KFuhS.mjs → TrendDown-DlygaGMD.mjs} +1 -1
- package/dist/{TrendUp-3KyZx6yA.mjs → TrendUp-BCYwZrNW.mjs} +1 -1
- package/dist/{Undo-BA1cF7l0.mjs → Undo-CggM-N_l.mjs} +1 -1
- package/dist/{Unplugged-BXvSAh2A.mjs → Unplugged-DOh3y66Y.mjs} +1 -1
- package/dist/{UpDownCaret-Bpc3-OXz.mjs → UpDownCaret-BYmV53Gr.mjs} +1 -1
- package/dist/{VerticalLine-nreKK4qC.mjs → VerticalLine-3AJWBAg4.mjs} +1 -1
- package/dist/{Warning-EenOGbq3.mjs → Warning-BXZ_4RMj.mjs} +1 -1
- package/dist/{WarningNoOutline-CyP6x9Og.mjs → WarningNoOutline-iF32M3OM.mjs} +1 -1
- package/dist/{YesAnd-BV3s8Fou.mjs → YesAnd-BE3EI_aZ.mjs} +1 -1
- package/dist/ai-assistant.css +1 -1
- package/dist/{emoji-BZh2LQ3B.mjs → emoji-CCG-hXFp.mjs} +1 -1
- package/dist/express.js +1364 -411
- package/dist/{react-apexcharts.min-DAPGTkr3.mjs → react-apexcharts.min-BE2E5o41.mjs} +1 -1
- package/dist/react.es.js +1 -1
- package/dist/react.umd.js +169 -173
- package/dist/{reactComponent-DH8YSuGK.mjs → reactComponent-CigEpFeg.mjs} +15233 -15348
- package/express.js +2 -0
- package/package.json +1 -1
- package/react.js +2 -0
- package/sharedTypes.ts +5 -1
- package/dist/Giphy-BRYD67dX.mjs +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s, f as z, c as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { j as s, f as z, c as K, b as N, a as k, e as I, C as ln, I as Z } from "./reactComponent-CigEpFeg.mjs";
|
|
2
|
+
import B, { useMemo as P, useRef as J, useImperativeHandle as cn, useEffect as $, useCallback as E } from "react";
|
|
3
|
+
const pn = ["onCreate", "onDestroy"], H = [
|
|
4
4
|
"onChange",
|
|
5
5
|
"onOpen",
|
|
6
6
|
"onClose",
|
|
@@ -9,89 +9,89 @@ const ct = ["onCreate", "onDestroy"], G = [
|
|
|
9
9
|
"onReady",
|
|
10
10
|
"onValueUpdate",
|
|
11
11
|
"onDayCreate"
|
|
12
|
-
],
|
|
13
|
-
const p = u[r], e =
|
|
12
|
+
], dn = (n, u) => (H.forEach((r) => {
|
|
13
|
+
const p = u[r], e = n[r];
|
|
14
14
|
if (p) {
|
|
15
|
-
e && !Array.isArray(e) ?
|
|
15
|
+
e && !Array.isArray(e) ? n[r] = [n[r]] : n[r] || (n[r] = []);
|
|
16
16
|
const x = Array.isArray(p) ? p : [p];
|
|
17
|
-
|
|
17
|
+
n[r].length === 0 ? n[r] = x : n[r].push(...x);
|
|
18
18
|
}
|
|
19
|
-
}),
|
|
19
|
+
}), H.forEach((r) => {
|
|
20
20
|
delete u[r];
|
|
21
|
-
}),
|
|
21
|
+
}), pn.forEach((r) => {
|
|
22
22
|
delete u[r];
|
|
23
|
-
}),
|
|
24
|
-
const u =
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
}), n), fn = (n) => {
|
|
24
|
+
const u = P(() => ({ ...n }), [n]), { defaultValue: r, options: p = {}, value: e, children: x, render: C, onCreate: v, onDestroy: d } = u, m = P(() => dn(p, u), [p, u]), W = J(null), a = J(void 0);
|
|
25
|
+
cn(
|
|
26
|
+
n.ref,
|
|
27
27
|
() => ({
|
|
28
28
|
get flatpickr() {
|
|
29
29
|
return a.current;
|
|
30
30
|
}
|
|
31
31
|
}),
|
|
32
32
|
[]
|
|
33
|
-
),
|
|
33
|
+
), $(() => {
|
|
34
34
|
const l = () => {
|
|
35
35
|
var c;
|
|
36
36
|
m.onClose = m.onClose || (() => {
|
|
37
37
|
var y;
|
|
38
38
|
(y = W.current) != null && y.blur && W.current.blur();
|
|
39
39
|
}), a.current = (((c = z) == null ? void 0 : c.default) || z)(W.current, m), v == null || v(a.current);
|
|
40
|
-
},
|
|
41
|
-
|
|
40
|
+
}, h = () => {
|
|
41
|
+
d == null || d(a.current), a.current && a.current.destroy(), a.current = void 0;
|
|
42
42
|
};
|
|
43
43
|
return l(), () => {
|
|
44
|
-
|
|
44
|
+
h();
|
|
45
45
|
};
|
|
46
|
-
}, [m, v,
|
|
46
|
+
}, [m, v, d]), $(() => {
|
|
47
47
|
var l;
|
|
48
48
|
if (a.current) {
|
|
49
|
-
const
|
|
50
|
-
for (let c =
|
|
51
|
-
const y =
|
|
49
|
+
const h = Object.getOwnPropertyNames(m);
|
|
50
|
+
for (let c = h.length - 1; c >= 0; c--) {
|
|
51
|
+
const y = h[c];
|
|
52
52
|
let o = m[y];
|
|
53
|
-
(o == null ? void 0 : o.toString()) !== ((l = a.current.config[y]) == null ? void 0 : l.toString()) && (
|
|
53
|
+
(o == null ? void 0 : o.toString()) !== ((l = a.current.config[y]) == null ? void 0 : l.toString()) && (H.includes(y) && !Array.isArray(o) && (o = [o]), a.current.set(y, o));
|
|
54
54
|
}
|
|
55
55
|
e !== void 0 && e !== a.current.input.value && a.current.setDate(e, !1);
|
|
56
56
|
}
|
|
57
57
|
}, [m, e]);
|
|
58
|
-
const
|
|
58
|
+
const g = E((l) => {
|
|
59
59
|
W.current = l;
|
|
60
60
|
}, []);
|
|
61
61
|
if (C)
|
|
62
|
-
return C({ ...u, defaultValue: r, value: e },
|
|
63
|
-
const
|
|
62
|
+
return C({ ...u, defaultValue: r, value: e }, g);
|
|
63
|
+
const j = E(
|
|
64
64
|
(l) => {
|
|
65
|
-
var
|
|
66
|
-
|
|
65
|
+
var h, c;
|
|
66
|
+
n && n.onChange && (Array.isArray(n == null ? void 0 : n.onChange) ? (h = n == null ? void 0 : n.onChange) == null || h.forEach(() => [new Date(l.target.value)], (e == null ? void 0 : e.toString()) || "") : typeof n.onChange == "function" && ((c = n == null ? void 0 : n.onChange) == null || c.call(n, [new Date(l.target.value)], (e == null ? void 0 : e.toString()) || "", a.current)));
|
|
67
67
|
},
|
|
68
|
-
[
|
|
68
|
+
[n, e]
|
|
69
69
|
);
|
|
70
|
-
return p.wrap ? /* @__PURE__ */ s.jsx("div", { className: "flatpickr", ref:
|
|
70
|
+
return p.wrap ? /* @__PURE__ */ s.jsx("div", { className: "flatpickr", ref: g, children: x }) : /* @__PURE__ */ s.jsx(
|
|
71
71
|
"input",
|
|
72
72
|
{
|
|
73
|
-
onChange:
|
|
73
|
+
onChange: j,
|
|
74
74
|
...u,
|
|
75
75
|
value: e == null ? void 0 : e.toString(),
|
|
76
76
|
defaultValue: r,
|
|
77
|
-
ref:
|
|
77
|
+
ref: g
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
|
-
},
|
|
81
|
-
systemGray3:
|
|
82
|
-
inputMaxWidthSmall:
|
|
83
|
-
inputMaxWidthDefault:
|
|
84
|
-
inputMaxWidthLarge:
|
|
85
|
-
input:
|
|
86
|
-
inputWrapper:
|
|
87
|
-
inputWrapperCompact:
|
|
80
|
+
}, mn = "#949494", gn = "DatePicker-module_inputMaxWidthSmall_cRYaK", hn = "DatePicker-module_inputMaxWidthDefault_GbIO-", yn = "DatePicker-module_inputMaxWidthLarge_fZKFi", xn = "DatePicker-module_input_3VHte", Cn = "DatePicker-module_inputWrapper_aqoyL", vn = "DatePicker-module_inputWrapperCompact_-7CrL", Wn = "DatePicker-module_iconButton_19a6e", _n = "DatePicker-module_clearButton_O1D31", i = {
|
|
81
|
+
systemGray3: mn,
|
|
82
|
+
inputMaxWidthSmall: gn,
|
|
83
|
+
inputMaxWidthDefault: hn,
|
|
84
|
+
inputMaxWidthLarge: yn,
|
|
85
|
+
input: xn,
|
|
86
|
+
inputWrapper: Cn,
|
|
87
|
+
inputWrapperCompact: vn,
|
|
88
88
|
"inputWrapper--error": "DatePicker-module_inputWrapper--error_bhHqD",
|
|
89
89
|
"inputWrapper--disabled": "DatePicker-module_inputWrapper--disabled_WFJUG",
|
|
90
|
-
iconButton:
|
|
91
|
-
clearButton:
|
|
90
|
+
iconButton: Wn,
|
|
91
|
+
clearButton: _n
|
|
92
92
|
};
|
|
93
|
-
function
|
|
94
|
-
attachTo:
|
|
93
|
+
function Dn({
|
|
94
|
+
attachTo: n,
|
|
95
95
|
position: u,
|
|
96
96
|
compact: r = !1,
|
|
97
97
|
inputMaxWidth: p = "default",
|
|
@@ -99,82 +99,86 @@ function At({
|
|
|
99
99
|
disabled: x = !1,
|
|
100
100
|
error: C = null,
|
|
101
101
|
fullWidth: v = !1,
|
|
102
|
-
id:
|
|
102
|
+
id: d,
|
|
103
103
|
helperText: m = "",
|
|
104
104
|
optionalLabelText: W = "",
|
|
105
105
|
label: a,
|
|
106
|
-
mode:
|
|
107
|
-
onChange:
|
|
106
|
+
mode: g = "single",
|
|
107
|
+
onChange: j,
|
|
108
108
|
onOpen: l,
|
|
109
|
-
onClose:
|
|
109
|
+
onClose: h,
|
|
110
110
|
showClearButton: c = !1,
|
|
111
111
|
showIcon: y = !0,
|
|
112
112
|
firstSelectableDate: o,
|
|
113
113
|
lastSelectableDate: _,
|
|
114
|
-
dateFormat:
|
|
115
|
-
allowInput:
|
|
116
|
-
tooltip:
|
|
117
|
-
"data-testid":
|
|
118
|
-
flatpickrRef:
|
|
119
|
-
placeholder:
|
|
120
|
-
calendarContainerClass:
|
|
121
|
-
plugins:
|
|
114
|
+
dateFormat: F = "F j, Y",
|
|
115
|
+
allowInput: R = !0,
|
|
116
|
+
tooltip: Q,
|
|
117
|
+
"data-testid": T,
|
|
118
|
+
flatpickrRef: V,
|
|
119
|
+
placeholder: X,
|
|
120
|
+
calendarContainerClass: L,
|
|
121
|
+
plugins: O = [],
|
|
122
122
|
value: M
|
|
123
123
|
}) {
|
|
124
|
-
var
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
const
|
|
128
|
-
|
|
129
|
-
[
|
|
130
|
-
[
|
|
131
|
-
[
|
|
124
|
+
var Y, q;
|
|
125
|
+
const nn = B.useId();
|
|
126
|
+
d = K(d, `date-picker-${nn}`);
|
|
127
|
+
const f = B.useRef(null), tn = !!((q = (Y = f == null ? void 0 : f.current) == null ? void 0 : Y.input) != null && q.value), en = P(() => Array.isArray(M) ? M : typeof M == "string" ? N(M).toDate() : M, [M]), S = k(
|
|
128
|
+
k(I.input, i.input, {
|
|
129
|
+
[I["input--compact"]]: r,
|
|
130
|
+
[I["input--disabled"]]: x,
|
|
131
|
+
[I["input--error"]]: !!C
|
|
132
132
|
})
|
|
133
133
|
);
|
|
134
|
-
|
|
135
|
-
if (
|
|
136
|
-
const
|
|
137
|
-
|
|
134
|
+
B.useEffect(() => {
|
|
135
|
+
if (f.current) {
|
|
136
|
+
const t = f.current.input.nextSibling;
|
|
137
|
+
t && "id" in t && "autocomplete" in t && Object.assign(t, { id: d, autocomplete: "off" }), V && (V.current = f.current);
|
|
138
138
|
}
|
|
139
|
-
}, [
|
|
140
|
-
if (
|
|
141
|
-
const
|
|
142
|
-
|
|
139
|
+
}, [d, V]), B.useEffect(() => {
|
|
140
|
+
if (f.current) {
|
|
141
|
+
const t = f.current.input.nextSibling;
|
|
142
|
+
t && "className" in t && Object.assign(t, { className: S });
|
|
143
143
|
}
|
|
144
|
-
}, [
|
|
145
|
-
const
|
|
144
|
+
}, [S]);
|
|
145
|
+
const U = B.useMemo(() => {
|
|
146
146
|
if (!o && !_)
|
|
147
147
|
return;
|
|
148
|
-
const
|
|
148
|
+
const t = N(o), A = N(_), D = N(
|
|
149
149
|
Array.isArray(e) ? e[0] : e
|
|
150
150
|
);
|
|
151
|
-
return (
|
|
152
|
-
const
|
|
153
|
-
if (
|
|
151
|
+
return (sn) => {
|
|
152
|
+
const w = N(sn);
|
|
153
|
+
if (w.isSame(D, "day"))
|
|
154
154
|
return !1;
|
|
155
|
-
let
|
|
156
|
-
return o &&
|
|
155
|
+
let G = !0;
|
|
156
|
+
return o && w.isBefore(t, "day") && (G = !1), _ && w.isAfter(A, "day") && (G = !1), !G;
|
|
157
157
|
};
|
|
158
|
-
}, [o, _]),
|
|
159
|
-
(
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
158
|
+
}, [o, _]), rn = E(
|
|
159
|
+
(t) => {
|
|
160
|
+
if (t && "clear" in t && "close" in t && "input" in t && "calendarContainer" in t) {
|
|
161
|
+
f.current = t, L && (t.calendarContainer.className = k(
|
|
162
|
+
t.calendarContainer.className,
|
|
163
|
+
L
|
|
164
|
+
));
|
|
165
|
+
const A = K(t.input.nextSibling, null);
|
|
166
|
+
A && "id" in A && Object.assign(A, { id: d });
|
|
167
|
+
}
|
|
164
168
|
},
|
|
165
|
-
[
|
|
166
|
-
),
|
|
167
|
-
(
|
|
168
|
-
|
|
169
|
+
[L]
|
|
170
|
+
), an = E(
|
|
171
|
+
(t, A, D) => {
|
|
172
|
+
j(t), g === "range" && t.length === 2 && (D == null || D.close());
|
|
169
173
|
},
|
|
170
|
-
[
|
|
171
|
-
),
|
|
174
|
+
[j, g]
|
|
175
|
+
), on = P(() => U ? [U] : [], [o, _]), un = P(
|
|
172
176
|
() => ({
|
|
173
|
-
allowInput:
|
|
174
|
-
altFormat:
|
|
177
|
+
allowInput: R,
|
|
178
|
+
altFormat: F,
|
|
175
179
|
altInput: !0,
|
|
176
|
-
altInputClass:
|
|
177
|
-
appendTo:
|
|
180
|
+
altInputClass: S,
|
|
181
|
+
appendTo: n || void 0,
|
|
178
182
|
/**
|
|
179
183
|
* Legacy code supports HTMLDivElement here even thought Flatpickr claims to only support HtmlElement.
|
|
180
184
|
* HTMLDivElement is a subclass of HTMLElement with one additional property (align), so we can safely use it here.
|
|
@@ -182,63 +186,63 @@ function At({
|
|
|
182
186
|
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/consistent-type-assertions */
|
|
183
187
|
position: u || "auto",
|
|
184
188
|
dateFormat: "Z",
|
|
185
|
-
mode:
|
|
189
|
+
mode: g,
|
|
186
190
|
wrap: !0,
|
|
187
191
|
defaultDate: e,
|
|
188
|
-
disable:
|
|
189
|
-
plugins:
|
|
190
|
-
closeOnSelect:
|
|
192
|
+
disable: on,
|
|
193
|
+
plugins: O,
|
|
194
|
+
closeOnSelect: g !== "range"
|
|
191
195
|
}),
|
|
192
196
|
[
|
|
197
|
+
R,
|
|
193
198
|
F,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
t,
|
|
199
|
+
S,
|
|
200
|
+
n,
|
|
197
201
|
u,
|
|
198
|
-
|
|
202
|
+
g,
|
|
199
203
|
o,
|
|
200
204
|
_
|
|
201
205
|
]
|
|
202
206
|
);
|
|
203
|
-
let
|
|
207
|
+
let b;
|
|
204
208
|
switch (p) {
|
|
205
209
|
case "small":
|
|
206
|
-
|
|
210
|
+
b = i.inputMaxWidthSmall;
|
|
207
211
|
break;
|
|
208
212
|
case "large":
|
|
209
|
-
|
|
213
|
+
b = i.inputMaxWidthLarge;
|
|
210
214
|
break;
|
|
211
215
|
default:
|
|
212
|
-
|
|
216
|
+
b = i.inputMaxWidthDefault;
|
|
213
217
|
}
|
|
214
218
|
return /* @__PURE__ */ s.jsx(
|
|
215
|
-
|
|
219
|
+
ln,
|
|
216
220
|
{
|
|
217
|
-
tooltip:
|
|
218
|
-
wrapperClassNames:
|
|
219
|
-
[
|
|
221
|
+
tooltip: Q,
|
|
222
|
+
wrapperClassNames: k({
|
|
223
|
+
[b]: !v
|
|
220
224
|
}),
|
|
221
225
|
label: a,
|
|
222
226
|
helperText: m,
|
|
223
227
|
optionalLabelText: W,
|
|
224
228
|
disabled: x,
|
|
225
229
|
error: C,
|
|
226
|
-
inputId:
|
|
230
|
+
inputId: d,
|
|
227
231
|
fullWidth: v,
|
|
228
232
|
renderControl: () => /* @__PURE__ */ s.jsx(
|
|
229
|
-
|
|
233
|
+
fn,
|
|
230
234
|
{
|
|
231
|
-
options:
|
|
235
|
+
options: un,
|
|
232
236
|
onOpen: l,
|
|
233
|
-
onCreate:
|
|
234
|
-
onClose:
|
|
235
|
-
value:
|
|
236
|
-
onChange:
|
|
237
|
+
onCreate: rn,
|
|
238
|
+
onClose: h,
|
|
239
|
+
value: en,
|
|
240
|
+
onChange: an,
|
|
237
241
|
children: /* @__PURE__ */ s.jsxs(
|
|
238
242
|
"div",
|
|
239
243
|
{
|
|
240
|
-
"data-testid":
|
|
241
|
-
className:
|
|
244
|
+
"data-testid": T,
|
|
245
|
+
className: k(i.inputWrapper, {
|
|
242
246
|
[i["inputWrapper--error"]]: !!C,
|
|
243
247
|
[i["inputWrapper--disabled"]]: x,
|
|
244
248
|
[i.inputWrapperCompact]: r
|
|
@@ -251,11 +255,11 @@ function At({
|
|
|
251
255
|
"data-input": !0,
|
|
252
256
|
defaultValue: e && typeof e == "string" ? e : void 0,
|
|
253
257
|
"data-testid": "date-picker-input",
|
|
254
|
-
placeholder:
|
|
258
|
+
placeholder: X
|
|
255
259
|
}
|
|
256
260
|
),
|
|
257
261
|
y && /* @__PURE__ */ s.jsx("div", { className: i.iconButton, "data-toggle": !0, children: /* @__PURE__ */ s.jsx("div", { className: i.iconWrapper, children: /* @__PURE__ */ s.jsx(
|
|
258
|
-
|
|
262
|
+
Z,
|
|
259
263
|
{
|
|
260
264
|
icon: "calendar",
|
|
261
265
|
variant: "thin",
|
|
@@ -264,19 +268,19 @@ function At({
|
|
|
264
268
|
}
|
|
265
269
|
) }) }),
|
|
266
270
|
// istanbul ignore next - relies on the lifecycle hooks in Flatpickr, which doesn't play nicely with unit tests
|
|
267
|
-
c &&
|
|
271
|
+
c && tn && /* @__PURE__ */ s.jsx(
|
|
268
272
|
"button",
|
|
269
273
|
{
|
|
270
274
|
className: i.clearButton,
|
|
271
275
|
onClick: () => {
|
|
272
|
-
var
|
|
273
|
-
(
|
|
276
|
+
var t;
|
|
277
|
+
(t = f.current) == null || t.clear();
|
|
274
278
|
},
|
|
275
279
|
"data-testid": "data-picker-clear-button",
|
|
276
280
|
title: "Clear",
|
|
277
281
|
type: "button",
|
|
278
282
|
children: /* @__PURE__ */ s.jsx("div", { className: i.iconWrapper, children: /* @__PURE__ */ s.jsx(
|
|
279
|
-
|
|
283
|
+
Z,
|
|
280
284
|
{
|
|
281
285
|
icon: "close",
|
|
282
286
|
variant: "thin",
|
|
@@ -295,5 +299,5 @@ function At({
|
|
|
295
299
|
);
|
|
296
300
|
}
|
|
297
301
|
export {
|
|
298
|
-
|
|
302
|
+
Dn as default
|
|
299
303
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { j as t } from "./reactComponent-CigEpFeg.mjs";
|
|
2
|
+
const o = (
|
|
3
|
+
// istanbul ignore next - default value
|
|
4
|
+
({ variant: i, color: r = "#000" }) => {
|
|
5
|
+
const e = {
|
|
6
|
+
thin: void 0,
|
|
7
|
+
filled: void 0,
|
|
8
|
+
regular: /* @__PURE__ */ t.jsx(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
fill: r,
|
|
12
|
+
fillRule: "evenodd",
|
|
13
|
+
clipRule: "evenodd",
|
|
14
|
+
strokeWidth: 0.1,
|
|
15
|
+
d: "M6.2332 1.26549L5.29913 2.19144C4.88489 1.80156 4.3813 1.69597 3.99955 1.69597C3.07359 1.69597 2.47254 2.24829 2.47254 3.36106C2.47254 4.09208 2.85429 4.99366 3.99955 4.99366C4.30007 4.99366 4.77117 4.9368 5.09607 4.70125V3.97024H3.65841V2.71127H6.43626V5.23733C6.07888 5.96022 5.08794 6.3501 3.99142 6.3501C1.74152 6.3501 0.888672 4.84746 0.888672 3.36106C0.888672 1.87466 1.86336 0.347656 3.99955 0.347656C4.78742 0.347656 5.48594 0.510104 6.2332 1.26549ZM9.15987 6.19581H7.55976V0.510141H9.15987V6.19581ZM12.1189 6.19581H10.5269V0.510141H14.8887V1.85846H12.1189V2.92249H14.7181V4.23832H12.1189V6.19581Z"
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
};
|
|
19
|
+
return e[i] || e.regular;
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
o as giphy
|
|
24
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./reactComponent-
|
|
1
|
+
import { j as t } from "./reactComponent-CigEpFeg.mjs";
|
|
2
2
|
const e = ({ color: o }) => /* @__PURE__ */ t.jsxs("g", { fill: "none", strokeWidth: "1", stroke: o, children: [
|
|
3
3
|
/* @__PURE__ */ t.jsx("path", { vectorEffect: "non-scaling-stroke", d: "M3.739 8.957h18.261" }),
|
|
4
4
|
/* @__PURE__ */ t.jsx("path", { vectorEffect: "non-scaling-stroke", d: "M2 15.043h18.261" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./reactComponent-
|
|
1
|
+
import { j as t } from "./reactComponent-CigEpFeg.mjs";
|
|
2
2
|
const o = ({ color: s }) => /* @__PURE__ */ t.jsxs("g", { fill: "none", strokeWidth: "1", stroke: s, children: [
|
|
3
3
|
/* @__PURE__ */ t.jsx("path", { vectorEffect: "non-scaling-stroke", d: "M3 21l18-18" }),
|
|
4
4
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as C } from "./reactComponent-
|
|
1
|
+
import { j as C } from "./reactComponent-CigEpFeg.mjs";
|
|
2
2
|
function l({ illustrationColor: t }) {
|
|
3
3
|
return /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
4
4
|
/* @__PURE__ */ C.jsx("title", { children: "Goals illustration" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as C } from "./reactComponent-
|
|
1
|
+
import { j as C } from "./reactComponent-CigEpFeg.mjs";
|
|
2
2
|
function i({ illustrationColor: t }) {
|
|
3
3
|
return /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
4
4
|
/* @__PURE__ */ C.jsx("title", { children: "Growth illustration" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./reactComponent-
|
|
1
|
+
import { j as t } from "./reactComponent-CigEpFeg.mjs";
|
|
2
2
|
const e = ({ color: o }) => /* @__PURE__ */ t.jsxs("g", { id: "Symbols", fill: "none", stroke: o, children: [
|
|
3
3
|
/* @__PURE__ */ t.jsx("path", { vectorEffect: "non-scaling-stroke", d: "M2 17.5h20" }),
|
|
4
4
|
/* @__PURE__ */ t.jsx("path", { vectorEffect: "non-scaling-stroke", d: "M2 11.5h20" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as C } from "./reactComponent-
|
|
1
|
+
import { j as C } from "./reactComponent-CigEpFeg.mjs";
|
|
2
2
|
function e({ illustrationColor: t }) {
|
|
3
3
|
return /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
4
4
|
/* @__PURE__ */ C.jsx("title", { children: "Home illustration" }),
|